[2026-07-07 00:00:00] local.INFO: TCP Data received {"connection_id":125881,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:00:00] local.INFO: Processing buffer {"connection_id":125881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:00:00] local.INFO: IMEI packet received {"connection_id":125881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":125881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:00:00] local.INFO: TCP Data received {"connection_id":125882,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125882,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:00:00] local.INFO: Processing buffer {"connection_id":125882,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:00:00] local.INFO: IMEI packet received {"connection_id":125882,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 00:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":125882,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:00:06] local.INFO: TCP Data received {"connection_id":125881,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:00:06] local.INFO: Processing buffer {"connection_id":125881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:00:06] local.INFO: IMEI packet received {"connection_id":125881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":125881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:00:07] local.INFO: TCP Data received {"connection_id":125881,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f38b002d8012cfd450007020a58000b008b29..."} 
[2026-07-07 00:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38b002d8012cfd450007020a58000b008b29..."} 
[2026-07-07 00:00:07] local.INFO: Processing buffer {"connection_id":125881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38b002d8012cfd450007020a58000b008b29..."} 
[2026-07-07 00:00:07] local.INFO: Packet analysis {"connection_id":125881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38b0"} 
[2026-07-07 00:00:07] local.INFO: Extracted packet for processing {"connection_id":125881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38b0"} 
[2026-07-07 00:00:07] local.INFO: GPS Element Parsed {"raw_longitude":754795776,"raw_latitude":117574232,"longitude_deg":75.4795776,"latitude_deg":11.7574232,"altitude":11,"angle":139,"satellites":41,"speed":28,"hex_longitude":"2cfd4500","hex_latitude":"07020a58","is_valid_coordinates":true} 
[2026-07-07 00:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456540796160001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339762656489504768,"note":"Value kept but may cause issues"} 
[2026-07-07 00:00:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-197595403551584256,"note":"Value kept but may cause issues"} 
[2026-07-07 00:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783362487000,"timestamp_ms":1783362487000,"timestamp_seconds":1783362487,"priority":1,"record_length":96,"hex_timestamp":"0000019f38b002d8"} 
[2026-07-07 00:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 00:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456540796160001,"66":27234,"223":206,"94":10240,"24":28,"16":339762656489504768,"44":-197595403551584256},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,94,24,16,44]} 
[2026-07-07 00:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456540796160001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:00:07] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-07-07 00:00:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 00:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339762656489504768,"km_value":339762656489504.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:00:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-197595403551584256,"description":"Unknown IO ID 44"} 
[2026-07-07 00:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456540796160001,"power":27234,"unknown_223":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_44":-197595403551584256}} 
[2026-07-07 00:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":125881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:00:07] local.INFO: GPS data processed {"connection_id":125881,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:00:07] local.INFO: Acknowledgment sent {"connection_id":125881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:00:38] local.INFO: TCP Data received {"connection_id":125881,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f38b1a4d0012cfe5c0007011598000c00ac2b..."} 
[2026-07-07 00:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38b1a4d0012cfe5c0007011598000c00ac2b..."} 
[2026-07-07 00:00:38] local.INFO: Processing buffer {"connection_id":125881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38b1a4d0012cfe5c0007011598000c00ac2b..."} 
[2026-07-07 00:00:38] local.INFO: Packet analysis {"connection_id":125881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38b1"} 
[2026-07-07 00:00:38] local.INFO: Extracted packet for processing {"connection_id":125881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38b1"} 
[2026-07-07 00:00:38] local.INFO: GPS Element Parsed {"raw_longitude":754867200,"raw_latitude":117511576,"longitude_deg":75.48672,"latitude_deg":11.7511576,"altitude":12,"angle":172,"satellites":43,"speed":13,"hex_longitude":"2cfe5c00","hex_latitude":"07011598","is_valid_coordinates":true} 
[2026-07-07 00:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456540821248001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339767299349151744,"note":"Value kept but may cause issues"} 
[2026-07-07 00:00:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-123919328412426240,"note":"Value kept but may cause issues"} 
[2026-07-07 00:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783362594000,"timestamp_ms":1783362594000,"timestamp_seconds":1783362594,"priority":1,"record_length":96,"hex_timestamp":"0000019f38b1a4d0"} 
[2026-07-07 00:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00: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-07-07 00:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-07 00:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456540821248001,"66":27343,"86":206,"94":10240,"24":13,"16":339767299349151744,"44":-123919328412426240},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,94,24,16,44]} 
[2026-07-07 00:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456540821248001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:00:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 00:00:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 00:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339767299349151744,"km_value":339767299349151.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:00:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-123919328412426240,"description":"Unknown IO ID 44"} 
[2026-07-07 00:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456540821248001,"power":27343,"unknown_86":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_44":-123919328412426240}} 
[2026-07-07 00:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":125881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:00:38] local.INFO: GPS data processed {"connection_id":125881,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:00:38] local.INFO: Acknowledgment sent {"connection_id":125881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:00:59] local.INFO: TCP Data received {"connection_id":124637,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:00:59] local.INFO: Processing buffer {"connection_id":124637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:00:59] local.INFO: IMEI packet received {"connection_id":124637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":124637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:01:00] local.INFO: TCP Data received {"connection_id":124637,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:01:00] local.INFO: Processing buffer {"connection_id":124637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:01:00] local.INFO: IMEI packet received {"connection_id":124637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":124637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:01:05] local.INFO: TCP Data received {"connection_id":124637,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:01:05] local.INFO: Processing buffer {"connection_id":124637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:01:05] local.INFO: IMEI packet received {"connection_id":124637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":124637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:01:06] local.INFO: TCP Data received {"connection_id":124637,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f38b1a8b8012cfe5c0007011468000c00c12d..."} 
[2026-07-07 00:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38b1a8b8012cfe5c0007011468000c00c12d..."} 
[2026-07-07 00:01:06] local.INFO: Processing buffer {"connection_id":124637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38b1a8b8012cfe5c0007011468000c00c12d..."} 
[2026-07-07 00:01:06] local.INFO: Packet analysis {"connection_id":124637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38b1"} 
[2026-07-07 00:01:06] local.INFO: Extracted packet for processing {"connection_id":124637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38b1"} 
[2026-07-07 00:01:06] local.INFO: GPS Element Parsed {"raw_longitude":754867200,"raw_latitude":117511272,"longitude_deg":75.48672,"latitude_deg":11.7511272,"altitude":12,"angle":193,"satellites":45,"speed":12,"hex_longitude":"2cfe5c00","hex_latitude":"07011468","is_valid_coordinates":true} 
[2026-07-07 00:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456540824064001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339767316529020928,"note":"Value kept but may cause issues"} 
[2026-07-07 00:01:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-118219460135512064,"note":"Value kept but may cause issues"} 
[2026-07-07 00:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783362595000,"timestamp_ms":1783362595000,"timestamp_seconds":1783362595,"priority":1,"record_length":96,"hex_timestamp":"0000019f38b1a8b8"} 
[2026-07-07 00:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 00:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456540824064001,"66":27463,"86":206,"94":10240,"24":12,"16":339767316529020928,"44":-118219460135512064},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,94,24,16,44]} 
[2026-07-07 00:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456540824064001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:01:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 00:01:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 00:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339767316529020928,"km_value":339767316529020.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:01:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-118219460135512064,"description":"Unknown IO ID 44"} 
[2026-07-07 00:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456540824064001,"power":27463,"unknown_86":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_44":-118219460135512064}} 
[2026-07-07 00:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":124637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:01:06] local.INFO: GPS data processed {"connection_id":124637,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:01:06] local.INFO: Acknowledgment sent {"connection_id":124637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:01:37] local.INFO: TCP Data received {"connection_id":124637,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f38b1aca0012cfe5b4007011350000b00d02b..."} 
[2026-07-07 00:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38b1aca0012cfe5b4007011350000b00d02b..."} 
[2026-07-07 00:01:37] local.INFO: Processing buffer {"connection_id":124637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38b1aca0012cfe5b4007011350000b00d02b..."} 
[2026-07-07 00:01:37] local.INFO: Packet analysis {"connection_id":124637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38b1"} 
[2026-07-07 00:01:37] local.INFO: Extracted packet for processing {"connection_id":124637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38b1"} 
[2026-07-07 00:01:37] local.INFO: GPS Element Parsed {"raw_longitude":754867008,"raw_latitude":117510992,"longitude_deg":75.4867008,"latitude_deg":11.7510992,"altitude":11,"angle":208,"satellites":43,"speed":11,"hex_longitude":"2cfe5b40","hex_latitude":"07011350","is_valid_coordinates":true} 
[2026-07-07 00:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456540824320001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339767329413922816,"note":"Value kept but may cause issues"} 
[2026-07-07 00:01:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-118219460135589888,"note":"Value kept but may cause issues"} 
[2026-07-07 00:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783362596000,"timestamp_ms":1783362596000,"timestamp_seconds":1783362596,"priority":1,"record_length":96,"hex_timestamp":"0000019f38b1aca0"} 
[2026-07-07 00:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 00:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456540824320001,"66":27463,"86":206,"94":10240,"24":11,"16":339767329413922816,"44":-118219460135589888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,94,24,16,44]} 
[2026-07-07 00:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456540824320001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:01:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 00:01:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 00:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339767329413922816,"km_value":339767329413922.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:01:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-118219460135589888,"description":"Unknown IO ID 44"} 
[2026-07-07 00:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456540824320001,"power":27463,"unknown_86":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_44":-118219460135589888}} 
[2026-07-07 00:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":124637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:01:37] local.INFO: GPS data processed {"connection_id":124637,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:01:37] local.INFO: Acknowledgment sent {"connection_id":124637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:02:09] local.INFO: TCP Data received {"connection_id":125884,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:02:09] local.INFO: Processing buffer {"connection_id":125884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:02:09] local.INFO: IMEI packet received {"connection_id":125884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":125884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:02:19] local.INFO: TCP Data received {"connection_id":125884,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:02:19] local.INFO: Processing buffer {"connection_id":125884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:02:19] local.INFO: IMEI packet received {"connection_id":125884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":125884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:02:20] local.INFO: TCP Data received {"connection_id":125884,"ip":"42.106.6.34","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 00:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125884,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 00:02:20] local.INFO: Processing buffer {"connection_id":125884,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 00:02:20] local.INFO: IMEI packet received {"connection_id":125884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":125884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:05:30] local.INFO: TCP Data received {"connection_id":125885,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:05:30] local.INFO: Processing buffer {"connection_id":125885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:05:30] local.INFO: IMEI packet received {"connection_id":125885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 00:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":125885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:06:00] local.INFO: TCP Data received {"connection_id":124638,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:06:00] local.INFO: Processing buffer {"connection_id":124638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:06:00] local.INFO: IMEI packet received {"connection_id":124638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 00:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":124638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:07:21] local.INFO: TCP Data received {"connection_id":123990,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:07:21] local.INFO: Processing buffer {"connection_id":123990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:07:21] local.INFO: IMEI packet received {"connection_id":123990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":123990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:07:21] local.INFO: TCP Data received {"connection_id":123990,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f38b6e490012d01574006fe62700007007a25..."} 
[2026-07-07 00:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38b6e490012d01574006fe62700007007a25..."} 
[2026-07-07 00:07:21] local.INFO: Processing buffer {"connection_id":123990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38b6e490012d01574006fe62700007007a25..."} 
[2026-07-07 00:07:21] local.INFO: Packet analysis {"connection_id":123990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38b6"} 
[2026-07-07 00:07:21] local.INFO: Extracted packet for processing {"connection_id":123990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38b6"} 
[2026-07-07 00:07:21] local.INFO: GPS Element Parsed {"raw_longitude":755062592,"raw_latitude":117334640,"longitude_deg":75.5062592,"latitude_deg":11.733464,"altitude":7,"angle":122,"satellites":37,"speed":45,"hex_longitude":"2d015740","hex_latitude":"06fe6270","is_valid_coordinates":true} 
[2026-07-07 00:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456540909824001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339781219338158080,"note":"Value kept but may cause issues"} 
[2026-07-07 00:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":87538747796105216,"note":"Value kept but may cause issues"} 
[2026-07-07 00:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783362938000,"timestamp_ms":1783362938000,"timestamp_seconds":1783362938,"priority":1,"record_length":96,"hex_timestamp":"0000019f38b6e490"} 
[2026-07-07 00:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:07: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-07-07 00:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 00:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456540909824001,"66":27310,"47":206,"94":11008,"24":45,"16":339781219338158080,"45":87538747796105216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,94,24,16,45]} 
[2026-07-07 00:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456540909824001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:07:21] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-07 00:07:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339781219338158080,"km_value":339781219338158.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":87538747796105216,"description":"Unknown IO ID 45"} 
[2026-07-07 00:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456540909824001,"power":27310,"unknown_47":206,"unknown_94":11008,"ignition":45,"odometer":null,"unknown_45":87538747796105216}} 
[2026-07-07 00:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":123990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:07:21] local.INFO: GPS data processed {"connection_id":123990,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:07:21] local.INFO: Acknowledgment sent {"connection_id":123990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:08:00] local.INFO: TCP Data received {"connection_id":125887,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:08:00] local.INFO: Processing buffer {"connection_id":125887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:08:00] local.INFO: IMEI packet received {"connection_id":125887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":125887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:08:01] local.INFO: TCP Data received {"connection_id":125887,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:08:01] local.INFO: Processing buffer {"connection_id":125887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:08:01] local.INFO: IMEI packet received {"connection_id":125887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":125887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:08:06] local.INFO: TCP Data received {"connection_id":125887,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:08:06] local.INFO: Processing buffer {"connection_id":125887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:08:06] local.INFO: IMEI packet received {"connection_id":125887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":125887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:08:09] local.INFO: TCP Data received {"connection_id":125887,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f38b805a0012d02364006fd5e800008009d2e..."} 
[2026-07-07 00:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38b805a0012d02364006fd5e800008009d2e..."} 
[2026-07-07 00:08:09] local.INFO: Processing buffer {"connection_id":125887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38b805a0012d02364006fd5e800008009d2e..."} 
[2026-07-07 00:08:09] local.INFO: Packet analysis {"connection_id":125887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38b8"} 
[2026-07-07 00:08:09] local.INFO: Extracted packet for processing {"connection_id":125887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38b8"} 
[2026-07-07 00:08:09] local.INFO: GPS Element Parsed {"raw_longitude":755119680,"raw_latitude":117268096,"longitude_deg":75.511968,"latitude_deg":11.7268096,"altitude":8,"angle":157,"satellites":46,"speed":54,"hex_longitude":"2d023640","hex_latitude":"06fd5e80","is_valid_coordinates":true} 
[2026-07-07 00:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456540929280001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339785591614865408,"note":"Value kept but may cause issues"} 
[2026-07-07 00:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":155303848422950912,"note":"Value kept but may cause issues"} 
[2026-07-07 00:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783363012000,"timestamp_ms":1783363012000,"timestamp_seconds":1783363012,"priority":1,"record_length":96,"hex_timestamp":"0000019f38b805a0"} 
[2026-07-07 00:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:08: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-07-07 00: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":229,"data_length":795,"current_offset":136} 
[2026-07-07 00:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456540929280001,"66":27321,"131":206,"94":11008,"24":54,"16":339785591614865408,"45":155303848422950912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-07-07 00:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456540929280001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:08:09] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-07 00:08:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339785591614865408,"km_value":339785591614865.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":155303848422950912,"description":"Unknown IO ID 45"} 
[2026-07-07 00:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456540929280001,"power":27321,"unknown_131":206,"unknown_94":11008,"ignition":54,"odometer":null,"unknown_45":155303848422950912}} 
[2026-07-07 00:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":125887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:08:10] local.INFO: GPS data processed {"connection_id":125887,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:08:10] local.INFO: Acknowledgment sent {"connection_id":125887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:08:41] local.INFO: TCP Data received {"connection_id":125887,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f38b820f8012d02464006fd3b30000700982f..."} 
[2026-07-07 00:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38b820f8012d02464006fd3b30000700982f..."} 
[2026-07-07 00:08:41] local.INFO: Processing buffer {"connection_id":125887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38b820f8012d02464006fd3b30000700982f..."} 
[2026-07-07 00:08:41] local.INFO: Packet analysis {"connection_id":125887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38b8"} 
[2026-07-07 00:08:41] local.INFO: Extracted packet for processing {"connection_id":125887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38b8"} 
[2026-07-07 00:08:41] local.INFO: GPS Element Parsed {"raw_longitude":755123776,"raw_latitude":117259056,"longitude_deg":75.5123776,"latitude_deg":11.7259056,"altitude":7,"angle":152,"satellites":47,"speed":57,"hex_longitude":"2d024640","hex_latitude":"06fd3b30","is_valid_coordinates":true} 
[2026-07-07 00:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456540931072001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339786068356235264,"note":"Value kept but may cause issues"} 
[2026-07-07 00:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":159385235583041536,"note":"Value kept but may cause issues"} 
[2026-07-07 00:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783363019000,"timestamp_ms":1783363019000,"timestamp_seconds":1783363019,"priority":1,"record_length":96,"hex_timestamp":"0000019f38b820f8"} 
[2026-07-07 00:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:08: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-07-07 00: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":185,"data_length":795,"current_offset":136} 
[2026-07-07 00:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456540931072001,"66":27332,"131":206,"94":11008,"24":57,"16":339786068356235264,"45":159385235583041536},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-07-07 00:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456540931072001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:08:41] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-07 00:08:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339786068356235264,"km_value":339786068356235.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":159385235583041536,"description":"Unknown IO ID 45"} 
[2026-07-07 00:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456540931072001,"power":27332,"unknown_131":206,"unknown_94":11008,"ignition":57,"odometer":null,"unknown_45":159385235583041536}} 
[2026-07-07 00:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":125887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:08:41] local.INFO: GPS data processed {"connection_id":125887,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:08:41] local.INFO: Acknowledgment sent {"connection_id":125887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:09:02] local.INFO: TCP Data received {"connection_id":125888,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:09:02] local.INFO: Processing buffer {"connection_id":125888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:09:02] local.INFO: IMEI packet received {"connection_id":125888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":125888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:09:02] local.INFO: TCP Data received {"connection_id":125888,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:09:02] local.INFO: Processing buffer {"connection_id":125888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:09:02] local.INFO: IMEI packet received {"connection_id":125888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":125888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:09:06] local.INFO: TCP Data received {"connection_id":125888,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:09:06] local.INFO: Processing buffer {"connection_id":125888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:09:06] local.INFO: IMEI packet received {"connection_id":125888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":125888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:09:06] local.INFO: TCP Data received {"connection_id":125888,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f38b945f0012d03354006fc6878000c007a30..."} 
[2026-07-07 00:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38b945f0012d03354006fc6878000c007a30..."} 
[2026-07-07 00:09:06] local.INFO: Processing buffer {"connection_id":125888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38b945f0012d03354006fc6878000c007a30..."} 
[2026-07-07 00:09:06] local.INFO: Packet analysis {"connection_id":125888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38b9"} 
[2026-07-07 00:09:06] local.INFO: Extracted packet for processing {"connection_id":125888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38b9"} 
[2026-07-07 00:09:06] local.INFO: GPS Element Parsed {"raw_longitude":755184960,"raw_latitude":117205112,"longitude_deg":75.518496,"latitude_deg":11.7205112,"altitude":12,"angle":122,"satellites":48,"speed":47,"hex_longitude":"2d033540","hex_latitude":"06fc6878","is_valid_coordinates":true} 
[2026-07-07 00:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456540952064001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339790127100329984,"note":"Value kept but may cause issues"} 
[2026-07-07 00:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":231161354628134912,"note":"Value kept but may cause issues"} 
[2026-07-07 00:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783363094000,"timestamp_ms":1783363094000,"timestamp_seconds":1783363094,"priority":1,"record_length":96,"hex_timestamp":"0000019f38b945f0"} 
[2026-07-07 00:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 00:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456540952064001,"66":27300,"97":206,"94":11008,"24":47,"16":339790127100329984,"45":231161354628134912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,94,24,16,45]} 
[2026-07-07 00:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456540952064001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:09:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 00:09:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339790127100329984,"km_value":339790127100330.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":231161354628134912,"description":"Unknown IO ID 45"} 
[2026-07-07 00:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456540952064001,"power":27300,"unknown_97":206,"unknown_94":11008,"ignition":47,"odometer":null,"unknown_45":231161354628134912}} 
[2026-07-07 00:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":125888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:09:06] local.INFO: GPS data processed {"connection_id":125888,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:09:06] local.INFO: Acknowledgment sent {"connection_id":125888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:09:37] local.INFO: TCP Data received {"connection_id":125888,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f38b951a8012d033f8006fc5f08000b00892f..."} 
[2026-07-07 00:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38b951a8012d033f8006fc5f08000b00892f..."} 
[2026-07-07 00:09:37] local.INFO: Processing buffer {"connection_id":125888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38b951a8012d033f8006fc5f08000b00892f..."} 
[2026-07-07 00:09:37] local.INFO: Packet analysis {"connection_id":125888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38b9"} 
[2026-07-07 00:09:37] local.INFO: Extracted packet for processing {"connection_id":125888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38b9"} 
[2026-07-07 00:09:37] local.INFO: GPS Element Parsed {"raw_longitude":755187584,"raw_latitude":117202696,"longitude_deg":75.5187584,"latitude_deg":11.7202696,"altitude":11,"angle":137,"satellites":47,"speed":47,"hex_longitude":"2d033f80","hex_latitude":"06fc5f08","is_valid_coordinates":true} 
[2026-07-07 00:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456540952064001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339790298899021824,"note":"Value kept but may cause issues"} 
[2026-07-07 00:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":231161354628134912,"note":"Value kept but may cause issues"} 
[2026-07-07 00:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783363097000,"timestamp_ms":1783363097000,"timestamp_seconds":1783363097,"priority":1,"record_length":96,"hex_timestamp":"0000019f38b951a8"} 
[2026-07-07 00:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:09: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-07-07 00:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 00:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456540952064001,"66":27267,"97":206,"94":11008,"24":47,"16":339790298899021824,"45":231161354628134912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,94,24,16,45]} 
[2026-07-07 00:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456540952064001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 00:09:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339790298899021824,"km_value":339790298899021.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":231161354628134912,"description":"Unknown IO ID 45"} 
[2026-07-07 00:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456540952064001,"power":27267,"unknown_97":206,"unknown_94":11008,"ignition":47,"odometer":null,"unknown_45":231161354628134912}} 
[2026-07-07 00:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":125888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:09:37] local.INFO: GPS data processed {"connection_id":125888,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:09:37] local.INFO: Acknowledgment sent {"connection_id":125888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:10:00] local.INFO: TCP Data received {"connection_id":123991,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:10:00] local.INFO: Processing buffer {"connection_id":123991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:10:00] local.INFO: IMEI packet received {"connection_id":123991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":123991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:10:06] local.INFO: TCP Data received {"connection_id":123991,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:10:06] local.INFO: Processing buffer {"connection_id":123991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:10:06] local.INFO: IMEI packet received {"connection_id":123991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":123991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:10:07] local.INFO: TCP Data received {"connection_id":123991,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f38b96d00012d03564006fc4300000a008e2e..."} 
[2026-07-07 00:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38b96d00012d03564006fc4300000a008e2e..."} 
[2026-07-07 00:10:07] local.INFO: Processing buffer {"connection_id":123991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38b96d00012d03564006fc4300000a008e2e..."} 
[2026-07-07 00:10:07] local.INFO: Packet analysis {"connection_id":123991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38b9"} 
[2026-07-07 00:10:07] local.INFO: Extracted packet for processing {"connection_id":123991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38b9"} 
[2026-07-07 00:10:07] local.INFO: GPS Element Parsed {"raw_longitude":755193408,"raw_latitude":117195520,"longitude_deg":75.5193408,"latitude_deg":11.719552,"altitude":10,"angle":142,"satellites":46,"speed":56,"hex_longitude":"2d035640","hex_latitude":"06fc4300","is_valid_coordinates":true} 
[2026-07-07 00:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456540952832001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339790745575620608,"note":"Value kept but may cause issues"} 
[2026-07-07 00:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":234046473138800640,"note":"Value kept but may cause issues"} 
[2026-07-07 00:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783363104000,"timestamp_ms":1783363104000,"timestamp_seconds":1783363104,"priority":1,"record_length":96,"hex_timestamp":"0000019f38b96d00"} 
[2026-07-07 00:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 00:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":123991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":123991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":123991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456540952832001,"66":27343,"97":206,"94":11008,"24":56,"16":339790745575620608,"45":234046473138800640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,94,24,16,45]} 
[2026-07-07 00:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456540952832001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:10:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 00:10:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339790745575620608,"km_value":339790745575620.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":234046473138800640,"description":"Unknown IO ID 45"} 
[2026-07-07 00:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456540952832001,"power":27343,"unknown_97":206,"unknown_94":11008,"ignition":56,"odometer":null,"unknown_45":234046473138800640}} 
[2026-07-07 00:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":123991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:10:07] local.INFO: GPS data processed {"connection_id":123991,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:10:07] local.INFO: Acknowledgment sent {"connection_id":123991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:10:38] local.INFO: TCP Data received {"connection_id":123991,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f38babcf0012d041b0006fb5f10001d008829..."} 
[2026-07-07 00:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38babcf0012d041b0006fb5f10001d008829..."} 
[2026-07-07 00:10:38] local.INFO: Processing buffer {"connection_id":123991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38babcf0012d041b0006fb5f10001d008829..."} 
[2026-07-07 00:10:38] local.INFO: Packet analysis {"connection_id":123991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38ba"} 
[2026-07-07 00:10:38] local.INFO: Extracted packet for processing {"connection_id":123991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38ba"} 
[2026-07-07 00:10:38] local.INFO: GPS Element Parsed {"raw_longitude":755243776,"raw_latitude":117137168,"longitude_deg":75.5243776,"latitude_deg":11.7137168,"altitude":29,"angle":136,"satellites":41,"speed":41,"hex_longitude":"2d041b00","hex_latitude":"06fb5f10","is_valid_coordinates":true} 
[2026-07-07 00:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456540973568001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339794679765663744,"note":"Value kept but may cause issues"} 
[2026-07-07 00:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":288230406140956672,"note":"Value kept but may cause issues"} 
[2026-07-07 00:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783363190000,"timestamp_ms":1783363190000,"timestamp_seconds":1783363190,"priority":1,"record_length":96,"hex_timestamp":"0000019f38babcf0"} 
[2026-07-07 00:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 00:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":123991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":123991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":123991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456540973568001,"66":27463,"139":206,"94":11008,"24":41,"16":339794679765663744,"45":288230406140956672},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-07-07 00:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456540973568001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:10:38] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-07 00:10:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339794679765663744,"km_value":339794679765663.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":288230406140956672,"description":"Unknown IO ID 45"} 
[2026-07-07 00:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456540973568001,"power":27463,"unknown_139":206,"unknown_94":11008,"ignition":41,"odometer":null,"unknown_45":288230406140956672}} 
[2026-07-07 00:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":123991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:10:38] local.INFO: GPS data processed {"connection_id":123991,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:10:38] local.INFO: Acknowledgment sent {"connection_id":123991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:11:06] local.INFO: TCP Data received {"connection_id":125890,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:11:06] local.INFO: Processing buffer {"connection_id":125890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:11:06] local.INFO: IMEI packet received {"connection_id":125890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":125890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:11:07] local.INFO: TCP Data received {"connection_id":125890,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:11:07] local.INFO: Processing buffer {"connection_id":125890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:11:07] local.INFO: IMEI packet received {"connection_id":125890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":125890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:11:09] local.INFO: TCP Data received {"connection_id":125890,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f38bacc90012d0426c006fb5518001d007b2a..."} 
[2026-07-07 00:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38bacc90012d0426c006fb5518001d007b2a..."} 
[2026-07-07 00:11:09] local.INFO: Processing buffer {"connection_id":125890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38bacc90012d0426c006fb5518001d007b2a..."} 
[2026-07-07 00:11:09] local.INFO: Packet analysis {"connection_id":125890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38ba"} 
[2026-07-07 00:11:09] local.INFO: Extracted packet for processing {"connection_id":125890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38ba"} 
[2026-07-07 00:11:09] local.INFO: GPS Element Parsed {"raw_longitude":755246784,"raw_latitude":117134616,"longitude_deg":75.5246784,"latitude_deg":11.7134616,"altitude":29,"angle":123,"satellites":42,"speed":35,"hex_longitude":"2d0426c0","hex_latitude":"06fb5518","is_valid_coordinates":true} 
[2026-07-07 00:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456540976640001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339794868744224768,"note":"Value kept but may cause issues"} 
[2026-07-07 00:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":295830230510014464,"note":"Value kept but may cause issues"} 
[2026-07-07 00:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783363194000,"timestamp_ms":1783363194000,"timestamp_seconds":1783363194,"priority":1,"record_length":96,"hex_timestamp":"0000019f38bacc90"} 
[2026-07-07 00:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:11: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-07-07 00: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 00:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456540976640001,"66":27365,"139":206,"94":11008,"24":35,"16":339794868744224768,"45":295830230510014464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-07-07 00:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456540976640001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:11:09] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-07 00:11:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339794868744224768,"km_value":339794868744224.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":295830230510014464,"description":"Unknown IO ID 45"} 
[2026-07-07 00:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456540976640001,"power":27365,"unknown_139":206,"unknown_94":11008,"ignition":35,"odometer":null,"unknown_45":295830230510014464}} 
[2026-07-07 00:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":125890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:11:09] local.INFO: GPS data processed {"connection_id":125890,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:11:09] local.INFO: Acknowledgment sent {"connection_id":125890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:11:12] local.INFO: TCP Data received {"connection_id":125890,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f38bad848012d042fc006fb50d0001e006f2b..."} 
[2026-07-07 00:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38bad848012d042fc006fb50d0001e006f2b..."} 
[2026-07-07 00:11:12] local.INFO: Processing buffer {"connection_id":125890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38bad848012d042fc006fb50d0001e006f2b..."} 
[2026-07-07 00:11:12] local.INFO: Packet analysis {"connection_id":125890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38ba"} 
[2026-07-07 00:11:12] local.INFO: Extracted packet for processing {"connection_id":125890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38ba"} 
[2026-07-07 00:11:12] local.INFO: GPS Element Parsed {"raw_longitude":755249088,"raw_latitude":117133520,"longitude_deg":75.5249088,"latitude_deg":11.713352,"altitude":30,"angle":111,"satellites":43,"speed":33,"hex_longitude":"2d042fc0","hex_latitude":"06fb50d0","is_valid_coordinates":true} 
[2026-07-07 00:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456540977664001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339794989003309056,"note":"Value kept but may cause issues"} 
[2026-07-07 00:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":299137561485711360,"note":"Value kept but may cause issues"} 
[2026-07-07 00:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783363197000,"timestamp_ms":1783363197000,"timestamp_seconds":1783363197,"priority":1,"record_length":96,"hex_timestamp":"0000019f38bad848"} 
[2026-07-07 00:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:11: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-07-07 00:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 00:11: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-07-07 00:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456540977664001,"66":27463,"139":206,"94":11008,"24":33,"16":339794989003309056,"45":299137561485711360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-07-07 00:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456540977664001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:11:12] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-07 00:11:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339794989003309056,"km_value":339794989003309.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":299137561485711360,"description":"Unknown IO ID 45"} 
[2026-07-07 00:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456540977664001,"power":27463,"unknown_139":206,"unknown_94":11008,"ignition":33,"odometer":null,"unknown_45":299137561485711360}} 
[2026-07-07 00:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":125890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:11:12] local.INFO: GPS data processed {"connection_id":125890,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:11:12] local.INFO: Acknowledgment sent {"connection_id":125890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:11:15] local.INFO: TCP Data received {"connection_id":125889,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:11:15] local.INFO: Processing buffer {"connection_id":125889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:11:15] local.INFO: IMEI packet received {"connection_id":125889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 00:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":125889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:11:43] local.INFO: TCP Data received {"connection_id":125890,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f38bbab38012d04b80006faa3c00016009129..."} 
[2026-07-07 00:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38bbab38012d04b80006faa3c00016009129..."} 
[2026-07-07 00:11:43] local.INFO: Processing buffer {"connection_id":125890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38bbab38012d04b80006faa3c00016009129..."} 
[2026-07-07 00:11:43] local.INFO: Packet analysis {"connection_id":125890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38bb"} 
[2026-07-07 00:11:43] local.INFO: Extracted packet for processing {"connection_id":125890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38bb"} 
[2026-07-07 00:11:43] local.INFO: GPS Element Parsed {"raw_longitude":755283968,"raw_latitude":117089216,"longitude_deg":75.5283968,"latitude_deg":11.7089216,"altitude":22,"angle":145,"satellites":41,"speed":30,"hex_longitude":"2d04b800","hex_latitude":"06faa3c0","is_valid_coordinates":true} 
[2026-07-07 00:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456540992256001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339797913876037632,"note":"Value kept but may cause issues"} 
[2026-07-07 00:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":340021801841311744,"note":"Value kept but may cause issues"} 
[2026-07-07 00:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783363251000,"timestamp_ms":1783363251000,"timestamp_seconds":1783363251,"priority":1,"record_length":96,"hex_timestamp":"0000019f38bbab38"} 
[2026-07-07 00:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:11: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-07-07 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 00:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456540992256001,"66":27267,"219":206,"94":11008,"24":30,"16":339797913876037632,"45":340021801841311744},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 00:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456540992256001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:11:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 00:11:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339797913876037632,"km_value":339797913876037.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":340021801841311744,"description":"Unknown IO ID 45"} 
[2026-07-07 00:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456540992256001,"power":27267,"unknown_219":206,"unknown_94":11008,"ignition":30,"odometer":null,"unknown_45":340021801841311744}} 
[2026-07-07 00:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":125890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:11:43] local.INFO: GPS data processed {"connection_id":125890,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:11:43] local.INFO: Acknowledgment sent {"connection_id":125890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:12:00] local.INFO: TCP Data received {"connection_id":125891,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:12:00] local.INFO: Processing buffer {"connection_id":125891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:12:00] local.INFO: IMEI packet received {"connection_id":125891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 00:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":125891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:12:01] local.INFO: TCP Data received {"connection_id":124640,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:12:01] local.INFO: Processing buffer {"connection_id":124640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:12:01] local.INFO: IMEI packet received {"connection_id":124640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":124640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:12:31] local.INFO: TCP Data received {"connection_id":124640,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:12:31] local.INFO: Processing buffer {"connection_id":124640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:12:31] local.INFO: IMEI packet received {"connection_id":124640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":124640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:12:58] local.INFO: TCP Data received {"connection_id":124641,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:12:58] local.INFO: Processing buffer {"connection_id":124641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:12:58] local.INFO: IMEI packet received {"connection_id":124641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":124641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:12:59] local.INFO: TCP Data received {"connection_id":124641,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:12:59] local.INFO: Processing buffer {"connection_id":124641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:12:59] local.INFO: IMEI packet received {"connection_id":124641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":124641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:17:16] local.INFO: TCP Data received {"connection_id":125897,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:17:16] local.INFO: Processing buffer {"connection_id":125897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:17:16] local.INFO: IMEI packet received {"connection_id":125897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 00:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":125897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:17:58] local.INFO: TCP Data received {"connection_id":125898,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:17:58] local.INFO: Processing buffer {"connection_id":125898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:17:58] local.INFO: IMEI packet received {"connection_id":125898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 00:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":125898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:18:05] local.INFO: TCP Data received {"connection_id":124643,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:18:05] local.INFO: Processing buffer {"connection_id":124643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:18:05] local.INFO: IMEI packet received {"connection_id":124643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":124643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:18:11] local.INFO: TCP Data received {"connection_id":124643,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:18:11] local.INFO: Processing buffer {"connection_id":124643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:18:11] local.INFO: IMEI packet received {"connection_id":124643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":124643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:18:11] local.INFO: TCP Data received {"connection_id":124643,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f38bda708012d05bf4006f9f7b8001200a22f..."} 
[2026-07-07 00:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38bda708012d05bf4006f9f7b8001200a22f..."} 
[2026-07-07 00:18:11] local.INFO: Processing buffer {"connection_id":124643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38bda708012d05bf4006f9f7b8001200a22f..."} 
[2026-07-07 00:18:11] local.INFO: Packet analysis {"connection_id":124643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38bd"} 
[2026-07-07 00:18:11] local.INFO: Extracted packet for processing {"connection_id":124643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38bd"} 
[2026-07-07 00:18:11] local.INFO: GPS Element Parsed {"raw_longitude":755351360,"raw_latitude":117045176,"longitude_deg":75.535136,"latitude_deg":11.7045176,"altitude":18,"angle":162,"satellites":47,"speed":13,"hex_longitude":"2d05bf40","hex_latitude":"06f9f7b8","is_valid_coordinates":true} 
[2026-07-07 00:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541021696001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339802320512483328,"note":"Value kept but may cause issues"} 
[2026-07-07 00:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414612670660147200,"note":"Value kept but may cause issues"} 
[2026-07-07 00:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783363381000,"timestamp_ms":1783363381000,"timestamp_seconds":1783363381,"priority":1,"record_length":96,"hex_timestamp":"0000019f38bda708"} 
[2026-07-07 00:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 00:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541021696001,"66":27267,"219":206,"94":11008,"24":13,"16":339802320512483328,"45":414612670660147200},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 00:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541021696001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:18:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 00:18:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339802320512483328,"km_value":339802320512483.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":414612670660147200,"description":"Unknown IO ID 45"} 
[2026-07-07 00:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541021696001,"power":27267,"unknown_219":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":414612670660147200}} 
[2026-07-07 00:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":124643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:18:11] local.INFO: GPS data processed {"connection_id":124643,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:18:11] local.INFO: Acknowledgment sent {"connection_id":124643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:18:42] local.INFO: TCP Data received {"connection_id":124643,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f38bdaed8012d05c04006f9f5500012008e2f..."} 
[2026-07-07 00:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38bdaed8012d05c04006f9f5500012008e2f..."} 
[2026-07-07 00:18:42] local.INFO: Processing buffer {"connection_id":124643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38bdaed8012d05c04006f9f5500012008e2f..."} 
[2026-07-07 00:18:42] local.INFO: Packet analysis {"connection_id":124643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38bd"} 
[2026-07-07 00:18:42] local.INFO: Extracted packet for processing {"connection_id":124643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38bd"} 
[2026-07-07 00:18:42] local.INFO: GPS Element Parsed {"raw_longitude":755351616,"raw_latitude":117044560,"longitude_deg":75.5351616,"latitude_deg":11.704456,"altitude":18,"angle":142,"satellites":47,"speed":13,"hex_longitude":"2d05c040","hex_latitude":"06f9f550","is_valid_coordinates":true} 
[2026-07-07 00:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541025536001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339802350577254400,"note":"Value kept but may cause issues"} 
[2026-07-07 00:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414120089449117696,"note":"Value kept but may cause issues"} 
[2026-07-07 00:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783363383000,"timestamp_ms":1783363383000,"timestamp_seconds":1783363383,"priority":1,"record_length":96,"hex_timestamp":"0000019f38bdaed8"} 
[2026-07-07 00:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:18: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-07-07 00:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 00:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541025536001,"66":27604,"219":206,"94":11008,"24":13,"16":339802350577254400,"45":414120089449117696},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 00:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541025536001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:18:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 00:18:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339802350577254400,"km_value":339802350577254.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":414120089449117696,"description":"Unknown IO ID 45"} 
[2026-07-07 00:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541025536001,"power":27604,"unknown_219":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":414120089449117696}} 
[2026-07-07 00:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":124643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:18:42] local.INFO: GPS data processed {"connection_id":124643,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:18:42] local.INFO: Acknowledgment sent {"connection_id":124643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:19:06] local.INFO: TCP Data received {"connection_id":125899,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:19:06] local.INFO: Processing buffer {"connection_id":125899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:19:06] local.INFO: IMEI packet received {"connection_id":125899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":125899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:19:11] local.INFO: TCP Data received {"connection_id":125899,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:19:11] local.INFO: Processing buffer {"connection_id":125899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:19:11] local.INFO: IMEI packet received {"connection_id":125899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":125899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:19:12] local.INFO: TCP Data received {"connection_id":125899,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f38bdb2c0012d05c14006f9f4580013008230..."} 
[2026-07-07 00:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38bdb2c0012d05c14006f9f4580013008230..."} 
[2026-07-07 00:19:12] local.INFO: Processing buffer {"connection_id":125899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38bdb2c0012d05c14006f9f4580013008230..."} 
[2026-07-07 00:19:12] local.INFO: Packet analysis {"connection_id":125899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38bd"} 
[2026-07-07 00:19:12] local.INFO: Extracted packet for processing {"connection_id":125899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38bd"} 
[2026-07-07 00:19:12] local.INFO: GPS Element Parsed {"raw_longitude":755351872,"raw_latitude":117044312,"longitude_deg":75.5351872,"latitude_deg":11.7044312,"altitude":19,"angle":130,"satellites":48,"speed":12,"hex_longitude":"2d05c140","hex_latitude":"06f9f458","is_valid_coordinates":true} 
[2026-07-07 00:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541026048001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339802367757123584,"note":"Value kept but may cause issues"} 
[2026-07-07 00:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414401564425670656,"note":"Value kept but may cause issues"} 
[2026-07-07 00:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783363384000,"timestamp_ms":1783363384000,"timestamp_seconds":1783363384,"priority":1,"record_length":96,"hex_timestamp":"0000019f38bdb2c0"} 
[2026-07-07 00:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:19: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-07-07 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 00:19:12] 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-07-07 00:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541026048001,"66":27745,"219":206,"94":11008,"24":12,"16":339802367757123584,"45":414401564425670656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 00:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541026048001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:19:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 00:19:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339802367757123584,"km_value":339802367757123.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":414401564425670656,"description":"Unknown IO ID 45"} 
[2026-07-07 00:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541026048001,"power":27745,"unknown_219":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":414401564425670656}} 
[2026-07-07 00:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":125899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:19:12] local.INFO: GPS data processed {"connection_id":125899,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:19:12] local.INFO: Acknowledgment sent {"connection_id":125899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:19:16] local.INFO: TCP Data received {"connection_id":125899,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f38bdb6a8012d05c24006f9f3b00012007530..."} 
[2026-07-07 00:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38bdb6a8012d05c24006f9f3b00012007530..."} 
[2026-07-07 00:19:16] local.INFO: Processing buffer {"connection_id":125899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38bdb6a8012d05c24006f9f3b00012007530..."} 
[2026-07-07 00:19:16] local.INFO: Packet analysis {"connection_id":125899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38bd"} 
[2026-07-07 00:19:16] local.INFO: Extracted packet for processing {"connection_id":125899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38bd"} 
[2026-07-07 00:19:16] local.INFO: GPS Element Parsed {"raw_longitude":755352128,"raw_latitude":117044144,"longitude_deg":75.5352128,"latitude_deg":11.7044144,"altitude":18,"angle":117,"satellites":48,"speed":12,"hex_longitude":"2d05c240","hex_latitude":"06f9f3b0","is_valid_coordinates":true} 
[2026-07-07 00:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541026304001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339802380642025472,"note":"Value kept but may cause issues"} 
[2026-07-07 00:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414683039402317824,"note":"Value kept but may cause issues"} 
[2026-07-07 00:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783363385000,"timestamp_ms":1783363385000,"timestamp_seconds":1783363385,"priority":1,"record_length":96,"hex_timestamp":"0000019f38bdb6a8"} 
[2026-07-07 00:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:19: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-07-07 00: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 00:19: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-07-07 00:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541026304001,"66":27745,"219":206,"94":11008,"24":12,"16":339802380642025472,"45":414683039402317824},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 00:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541026304001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:19:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 00:19:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339802380642025472,"km_value":339802380642025.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":414683039402317824,"description":"Unknown IO ID 45"} 
[2026-07-07 00:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541026304001,"power":27745,"unknown_219":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":414683039402317824}} 
[2026-07-07 00:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":125899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:19:16] local.INFO: GPS data processed {"connection_id":125899,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:19:16] local.INFO: Acknowledgment sent {"connection_id":125899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:20:01] local.INFO: TCP Data received {"connection_id":124645,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:20:01] local.INFO: Processing buffer {"connection_id":124645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:20:01] local.INFO: IMEI packet received {"connection_id":124645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":124645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:20:06] local.INFO: TCP Data received {"connection_id":124645,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:20:06] local.INFO: Processing buffer {"connection_id":124645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:20:06] local.INFO: IMEI packet received {"connection_id":124645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":124645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:20:07] local.INFO: TCP Data received {"connection_id":124645,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f38bdc260012d05c50006f9f258001200692f..."} 
[2026-07-07 00:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38bdc260012d05c50006f9f258001200692f..."} 
[2026-07-07 00:20:07] local.INFO: Processing buffer {"connection_id":124645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38bdc260012d05c50006f9f258001200692f..."} 
[2026-07-07 00:20:07] local.INFO: Packet analysis {"connection_id":124645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38bd"} 
[2026-07-07 00:20:07] local.INFO: Extracted packet for processing {"connection_id":124645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38bd"} 
[2026-07-07 00:20:07] local.INFO: GPS Element Parsed {"raw_longitude":755352832,"raw_latitude":117043800,"longitude_deg":75.5352832,"latitude_deg":11.70438,"altitude":18,"angle":105,"satellites":47,"speed":9,"hex_longitude":"2d05c500","hex_latitude":"06f9f258","is_valid_coordinates":true} 
[2026-07-07 00:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541026560001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339802423591698432,"note":"Value kept but may cause issues"} 
[2026-07-07 00:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414964514378985472,"note":"Value kept but may cause issues"} 
[2026-07-07 00:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783363388000,"timestamp_ms":1783363388000,"timestamp_seconds":1783363388,"priority":1,"record_length":96,"hex_timestamp":"0000019f38bdc260"} 
[2026-07-07 00:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 00:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541026560001,"66":27267,"219":206,"94":11008,"24":9,"16":339802423591698432,"45":414964514378985472},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 00:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541026560001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:20:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 00:20:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339802423591698432,"km_value":339802423591698.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":414964514378985472,"description":"Unknown IO ID 45"} 
[2026-07-07 00:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541026560001,"power":27267,"unknown_219":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":414964514378985472}} 
[2026-07-07 00:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":124645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:20:07] local.INFO: GPS data processed {"connection_id":124645,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:20:07] local.INFO: Acknowledgment sent {"connection_id":124645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:20:39] local.INFO: TCP Data received {"connection_id":124645,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f38bdd5e8012d05c7c006f9f218001300652c..."} 
[2026-07-07 00:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38bdd5e8012d05c7c006f9f218001300652c..."} 
[2026-07-07 00:20:39] local.INFO: Processing buffer {"connection_id":124645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38bdd5e8012d05c7c006f9f218001300652c..."} 
[2026-07-07 00:20:39] local.INFO: Packet analysis {"connection_id":124645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38bd"} 
[2026-07-07 00:20:39] local.INFO: Extracted packet for processing {"connection_id":124645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38bd"} 
[2026-07-07 00:20:39] local.INFO: GPS Element Parsed {"raw_longitude":755353536,"raw_latitude":117043736,"longitude_deg":75.5353536,"latitude_deg":11.7043736,"altitude":19,"angle":101,"satellites":44,"speed":0,"hex_longitude":"2d05c7c0","hex_latitude":"06f9f218","is_valid_coordinates":true} 
[2026-07-07 00:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541027328001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339802457951436800,"note":"Value kept but may cause issues"} 
[2026-07-07 00:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415738570564851712,"note":"Value kept but may cause issues"} 
[2026-07-07 00:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783363393000,"timestamp_ms":1783363393000,"timestamp_seconds":1783363393,"priority":1,"record_length":96,"hex_timestamp":"0000019f38bdd5e8"} 
[2026-07-07 00:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:20: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-07-07 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 00:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00: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-07-07 00:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541027328001,"66":27789,"219":206,"94":11008,"24":0,"16":339802457951436800,"45":415738570564851712},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 00:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541027328001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:20:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 00:20:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339802457951436800,"km_value":339802457951436.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":415738570564851712,"description":"Unknown IO ID 45"} 
[2026-07-07 00:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541027328001,"power":27789,"unknown_219":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":415738570564851712}} 
[2026-07-07 00:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":124645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:20:39] local.INFO: GPS data processed {"connection_id":124645,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:20:39] local.INFO: Acknowledgment sent {"connection_id":124645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:21:00] local.INFO: TCP Data received {"connection_id":125902,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:21:00] local.INFO: Processing buffer {"connection_id":125902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:21:00] local.INFO: IMEI packet received {"connection_id":125902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":125902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:21:05] local.INFO: TCP Data received {"connection_id":125902,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:21:05] local.INFO: Processing buffer {"connection_id":125902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:21:05] local.INFO: IMEI packet received {"connection_id":125902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":125902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:21:06] local.INFO: TCP Data received {"connection_id":125902,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f38c14ca0012d05c24006f9f2200007006527..."} 
[2026-07-07 00:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38c14ca0012d05c24006f9f2200007006527..."} 
[2026-07-07 00:21:06] local.INFO: Processing buffer {"connection_id":125902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38c14ca0012d05c24006f9f2200007006527..."} 
[2026-07-07 00:21:06] local.INFO: Packet analysis {"connection_id":125902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38c1"} 
[2026-07-07 00:21:06] local.INFO: Extracted packet for processing {"connection_id":125902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38c1"} 
[2026-07-07 00:21:06] local.INFO: GPS Element Parsed {"raw_longitude":755352128,"raw_latitude":117043744,"longitude_deg":75.5352128,"latitude_deg":11.7043744,"altitude":7,"angle":101,"satellites":39,"speed":0,"hex_longitude":"2d05c240","hex_latitude":"06f9f220","is_valid_coordinates":true} 
[2026-07-07 00:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541028608001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339802457951436800,"note":"Value kept but may cause issues"} 
[2026-07-07 00:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":416512626750789632,"note":"Value kept but may cause issues"} 
[2026-07-07 00:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783363620000,"timestamp_ms":1783363620000,"timestamp_seconds":1783363620,"priority":1,"record_length":96,"hex_timestamp":"0000019f38c14ca0"} 
[2026-07-07 00:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 00:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-07 00:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541028608001,"66":25734,"138":206,"94":11008,"24":0,"16":339802457951436800,"45":416512626750789632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-07-07 00:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541028608001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:21:06] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-07 00:21:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339802457951436800,"km_value":339802457951436.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":416512626750789632,"description":"Unknown IO ID 45"} 
[2026-07-07 00:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541028608001,"power":25734,"unknown_138":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":416512626750789632}} 
[2026-07-07 00:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":125902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:21:06] local.INFO: GPS data processed {"connection_id":125902,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:21:06] local.INFO: Acknowledgment sent {"connection_id":125902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:21:21] local.INFO: TCP Data received {"connection_id":123995,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-07 00:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123995,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-07 00:21:21] local.INFO: Processing buffer {"connection_id":123995,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-07 00:21:21] local.INFO: Packet analysis {"connection_id":123995,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-07 00:21:21] local.INFO: Extracted packet for processing {"connection_id":123995,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-07 00:21:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 00:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-07-07 00:21:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-07-07 00:21:21] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-07-07 00:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-07-07 00:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-07-07 00:21:21] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123995,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-07-07 00:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123995,"device_imei":null,"avl_records_count":1} 
[2026-07-07 00:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123995,"device_imei":null,"avl_records_count":1} 
[2026-07-07 00:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":123995,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-07 00:21:21] local.INFO: GPS data processed {"connection_id":123995,"processed":0,"errors":0,"total":1} 
[2026-07-07 00:21:21] local.INFO: Acknowledgment sent {"connection_id":123995,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:22:00] local.INFO: TCP Data received {"connection_id":123997,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:22:00] local.INFO: Processing buffer {"connection_id":123997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:22:00] local.INFO: IMEI packet received {"connection_id":123997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":123997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:22:02] local.INFO: TCP Data received {"connection_id":125902,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f38c15c40012d05c0c006f9f500000700af27..."} 
[2026-07-07 00:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38c15c40012d05c0c006f9f500000700af27..."} 
[2026-07-07 00:22:02] local.INFO: Processing buffer {"connection_id":125902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38c15c40012d05c0c006f9f500000700af27..."} 
[2026-07-07 00:22:02] local.INFO: Packet analysis {"connection_id":125902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38c1"} 
[2026-07-07 00:22:02] local.INFO: Extracted packet for processing {"connection_id":125902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38c1"} 
[2026-07-07 00:22:02] local.INFO: GPS Element Parsed {"raw_longitude":755351744,"raw_latitude":117044480,"longitude_deg":75.5351744,"latitude_deg":11.704448,"altitude":7,"angle":175,"satellites":39,"speed":0,"hex_longitude":"2d05c0c0","hex_latitude":"06f9f500","is_valid_coordinates":true} 
[2026-07-07 00:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541086720001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339802457951436800,"note":"Value kept but may cause issues"} 
[2026-07-07 00:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414964514378883072,"note":"Value kept but may cause issues"} 
[2026-07-07 00:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783363624000,"timestamp_ms":1783363624000,"timestamp_seconds":1783363624,"priority":1,"record_length":96,"hex_timestamp":"0000019f38c15c40"} 
[2026-07-07 00:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-07 00:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541086720001,"66":25495,"138":206,"94":11008,"24":0,"16":339802457951436800,"45":414964514378883072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-07-07 00:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541086720001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:22:02] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-07 00:22:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339802457951436800,"km_value":339802457951436.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":414964514378883072,"description":"Unknown IO ID 45"} 
[2026-07-07 00:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541086720001,"power":25495,"unknown_138":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":414964514378883072}} 
[2026-07-07 00:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":125902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:22:02] local.INFO: GPS data processed {"connection_id":125902,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:22:02] local.INFO: Acknowledgment sent {"connection_id":125902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:22:07] local.INFO: TCP Data received {"connection_id":123997,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:22:07] local.INFO: Processing buffer {"connection_id":123997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:22:07] local.INFO: IMEI packet received {"connection_id":123997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":123997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:22:08] local.INFO: TCP Data received {"connection_id":123997,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f38c167f8012d05c0c006f9f500000700af28..."} 
[2026-07-07 00:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38c167f8012d05c0c006f9f500000700af28..."} 
[2026-07-07 00:22:08] local.INFO: Processing buffer {"connection_id":123997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38c167f8012d05c0c006f9f500000700af28..."} 
[2026-07-07 00:22:08] local.INFO: Packet analysis {"connection_id":123997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38c1"} 
[2026-07-07 00:22:08] local.INFO: Extracted packet for processing {"connection_id":123997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38c1"} 
[2026-07-07 00:22:08] local.INFO: GPS Element Parsed {"raw_longitude":755351744,"raw_latitude":117044480,"longitude_deg":75.5351744,"latitude_deg":11.704448,"altitude":7,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d05c0c0","hex_latitude":"06f9f500","is_valid_coordinates":true} 
[2026-07-07 00:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541087744001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339802457951436800,"note":"Value kept but may cause issues"} 
[2026-07-07 00:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414542301914005504,"note":"Value kept but may cause issues"} 
[2026-07-07 00:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783363627000,"timestamp_ms":1783363627000,"timestamp_seconds":1783363627,"priority":1,"record_length":96,"hex_timestamp":"0000019f38c167f8"} 
[2026-07-07 00:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:22: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-07-07 00:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 00:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00: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-07-07 00:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":123997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":123997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":123997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541087744001,"66":25462,"138":206,"94":11008,"24":0,"16":339802457951436800,"45":414542301914005504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-07-07 00:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541087744001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:22:08] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-07 00:22:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339802457951436800,"km_value":339802457951436.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":414542301914005504,"description":"Unknown IO ID 45"} 
[2026-07-07 00:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541087744001,"power":25462,"unknown_138":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":414542301914005504}} 
[2026-07-07 00:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":123997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:22:08] local.INFO: GPS data processed {"connection_id":123997,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:22:08] local.INFO: Acknowledgment sent {"connection_id":123997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:22:40] local.INFO: TCP Data received {"connection_id":123997,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f38c167f8012d05c0c006f9f500000700af28..."} 
[2026-07-07 00:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38c167f8012d05c0c006f9f500000700af28..."} 
[2026-07-07 00:22:40] local.INFO: Processing buffer {"connection_id":123997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38c167f8012d05c0c006f9f500000700af28..."} 
[2026-07-07 00:22:40] local.INFO: Packet analysis {"connection_id":123997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38c1"} 
[2026-07-07 00:22:40] local.INFO: Extracted packet for processing {"connection_id":123997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38c1"} 
[2026-07-07 00:22:40] local.INFO: GPS Element Parsed {"raw_longitude":755351744,"raw_latitude":117044480,"longitude_deg":75.5351744,"latitude_deg":11.704448,"altitude":7,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d05c0c0","hex_latitude":"06f9f500","is_valid_coordinates":true} 
[2026-07-07 00:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541087744001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339802457951436800,"note":"Value kept but may cause issues"} 
[2026-07-07 00:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414542301914005504,"note":"Value kept but may cause issues"} 
[2026-07-07 00:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783363627000,"timestamp_ms":1783363627000,"timestamp_seconds":1783363627,"priority":1,"record_length":96,"hex_timestamp":"0000019f38c167f8"} 
[2026-07-07 00:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00: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-07-07 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 00:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":123997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":123997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":123997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541087744001,"66":25462,"138":206,"94":11008,"24":0,"16":339802457951436800,"45":414542301914005504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-07-07 00:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541087744001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:22:40] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-07 00:22:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339802457951436800,"km_value":339802457951436.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":414542301914005504,"description":"Unknown IO ID 45"} 
[2026-07-07 00:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541087744001,"power":25462,"unknown_138":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":414542301914005504}} 
[2026-07-07 00:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":123997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:22:40] local.INFO: GPS data processed {"connection_id":123997,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:22:40] local.INFO: Acknowledgment sent {"connection_id":123997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:23:06] local.INFO: TCP Data received {"connection_id":125904,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:23:06] local.INFO: Processing buffer {"connection_id":125904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:23:06] local.INFO: IMEI packet received {"connection_id":125904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 00:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":125904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:23:06] local.INFO: TCP Data received {"connection_id":125903,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:23:06] local.INFO: Processing buffer {"connection_id":125903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:23:06] local.INFO: IMEI packet received {"connection_id":125903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":125903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:23:11] local.INFO: TCP Data received {"connection_id":125903,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:23:11] local.INFO: Processing buffer {"connection_id":125903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:23:11] local.INFO: IMEI packet received {"connection_id":125903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":125903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:23:11] local.INFO: TCP Data received {"connection_id":125903,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38c603a8012d05c04006f9f518000700af2d..."} 
[2026-07-07 00:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38c603a8012d05c04006f9f518000700af2d..."} 
[2026-07-07 00:23:11] local.INFO: Processing buffer {"connection_id":125903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38c603a8012d05c04006f9f518000700af2d..."} 
[2026-07-07 00:23:11] local.INFO: Packet analysis {"connection_id":125903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38c6"} 
[2026-07-07 00:23:11] local.INFO: Extracted packet for processing {"connection_id":125903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38c6"} 
[2026-07-07 00:23:11] local.INFO: GPS Element Parsed {"raw_longitude":755351616,"raw_latitude":117044504,"longitude_deg":75.5351616,"latitude_deg":11.7044504,"altitude":7,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d05c040","hex_latitude":"06f9f518","is_valid_coordinates":true} 
[2026-07-07 00:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541088512001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339802457951436800,"note":"Value kept but may cause issues"} 
[2026-07-07 00:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414542301914005504,"note":"Value kept but may cause issues"} 
[2026-07-07 00:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783363929000,"timestamp_ms":1783363929000,"timestamp_seconds":1783363929,"priority":1,"record_length":96,"hex_timestamp":"0000019f38c603a8"} 
[2026-07-07 00:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 00:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 00:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541088512001,"66":25375,"138":206,"94":11008,"24":0,"16":339802457951436800,"45":414542301914005504},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-07-07 00:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541088512001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:23:11] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-07 00:23:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339802457951436800,"km_value":339802457951436.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":414542301914005504,"description":"Unknown IO ID 45"} 
[2026-07-07 00:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541088512001,"power":25375,"unknown_138":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":414542301914005504}} 
[2026-07-07 00:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":125903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:23:11] local.INFO: GPS data processed {"connection_id":125903,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:23:11] local.INFO: Acknowledgment sent {"connection_id":125903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:23:16] local.INFO: TCP Data received {"connection_id":125903,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38c62ab8012d05c04006f9f518000700af2c..."} 
[2026-07-07 00:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38c62ab8012d05c04006f9f518000700af2c..."} 
[2026-07-07 00:23:16] local.INFO: Processing buffer {"connection_id":125903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38c62ab8012d05c04006f9f518000700af2c..."} 
[2026-07-07 00:23:16] local.INFO: Packet analysis {"connection_id":125903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38c6"} 
[2026-07-07 00:23:16] local.INFO: Extracted packet for processing {"connection_id":125903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38c6"} 
[2026-07-07 00:23:16] local.INFO: GPS Element Parsed {"raw_longitude":755351616,"raw_latitude":117044504,"longitude_deg":75.5351616,"latitude_deg":11.7044504,"altitude":7,"angle":175,"satellites":44,"speed":0,"hex_longitude":"2d05c040","hex_latitude":"06f9f518","is_valid_coordinates":true} 
[2026-07-07 00:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541165824001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339802457951436800,"note":"Value kept but may cause issues"} 
[2026-07-07 00:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414401564425656320,"note":"Value kept but may cause issues"} 
[2026-07-07 00:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783363939000,"timestamp_ms":1783363939000,"timestamp_seconds":1783363939,"priority":1,"record_length":96,"hex_timestamp":"0000019f38c62ab8"} 
[2026-07-07 00:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-07 00:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00: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-07-07 00:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541165824001,"66":25375,"138":206,"94":11008,"24":0,"16":339802457951436800,"45":414401564425656320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-07-07 00:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541165824001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:23:16] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-07 00:23:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 00:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339802457951436800,"km_value":339802457951436.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":414401564425656320,"description":"Unknown IO ID 45"} 
[2026-07-07 00:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541165824001,"power":25375,"unknown_138":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":414401564425656320}} 
[2026-07-07 00:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":125903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:23:16] local.INFO: GPS data processed {"connection_id":125903,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:23:16] local.INFO: Acknowledgment sent {"connection_id":125903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:24:00] local.INFO: TCP Data received {"connection_id":123998,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:24:00] local.INFO: Processing buffer {"connection_id":123998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:24:00] local.INFO: IMEI packet received {"connection_id":123998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":123998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:24:01] local.INFO: TCP Data received {"connection_id":123998,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:24:01] local.INFO: Processing buffer {"connection_id":123998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:24:01] local.INFO: IMEI packet received {"connection_id":123998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":123998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:24:03] local.INFO: TCP Data received {"connection_id":123998,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:24:03] local.INFO: Processing buffer {"connection_id":123998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:24:03] local.INFO: IMEI packet received {"connection_id":123998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":123998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:24:04] local.INFO: TCP Data received {"connection_id":123998,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:24:04] local.INFO: Processing buffer {"connection_id":123998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:24:04] local.INFO: IMEI packet received {"connection_id":123998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":123998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:28:20] local.INFO: TCP Data received {"connection_id":125906,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:28:20] local.INFO: Processing buffer {"connection_id":125906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:28:20] local.INFO: IMEI packet received {"connection_id":125906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 00:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":125906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:29:05] local.INFO: TCP Data received {"connection_id":123999,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:29:05] local.INFO: Processing buffer {"connection_id":123999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:29:05] local.INFO: IMEI packet received {"connection_id":123999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 00:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":123999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:29:06] local.INFO: TCP Data received {"connection_id":123901,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:29:06] local.INFO: Processing buffer {"connection_id":123901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:29:06] local.INFO: IMEI packet received {"connection_id":123901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":123901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:29:07] local.INFO: TCP Data received {"connection_id":123901,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38cb2040012d07320006f71d480013008e2d..."} 
[2026-07-07 00:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38cb2040012d07320006f71d480013008e2d..."} 
[2026-07-07 00:29:07] local.INFO: Processing buffer {"connection_id":123901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38cb2040012d07320006f71d480013008e2d..."} 
[2026-07-07 00:29:07] local.INFO: Packet analysis {"connection_id":123901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38cb"} 
[2026-07-07 00:29:07] local.INFO: Extracted packet for processing {"connection_id":123901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38cb"} 
[2026-07-07 00:29:07] local.INFO: GPS Element Parsed {"raw_longitude":755446272,"raw_latitude":116858184,"longitude_deg":75.5446272,"latitude_deg":11.6858184,"altitude":19,"angle":142,"satellites":45,"speed":43,"hex_longitude":"2d073200","hex_latitude":"06f71d48","is_valid_coordinates":true} 
[2026-07-07 00: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-07-07 00:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541249536001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339813311333793792,"note":"Value kept but may cause issues"} 
[2026-07-07 00:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":512425225019250688,"note":"Value kept but may cause issues"} 
[2026-07-07 00:29:07] 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-07-07 00:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783364264000,"timestamp_ms":1783364264000,"timestamp_seconds":1783364264,"priority":1,"record_length":96,"hex_timestamp":"0000019f38cb2040"} 
[2026-07-07 00:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-07 00:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00: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-07-07 00:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":123901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":123901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":123901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541249536001,"66":27365,"42":206,"80":6400,"24":43,"16":339813311333793792,"45":512425225019250688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-07-07 00:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541249536001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:29:07] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-07 00:29:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339813311333793792,"km_value":339813311333793.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":512425225019250688,"description":"Unknown IO ID 45"} 
[2026-07-07 00:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541249536001,"power":27365,"unknown_42":206,"unknown_80":6400,"ignition":43,"odometer":null,"unknown_45":512425225019250688}} 
[2026-07-07 00:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":123901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:29:07] local.INFO: GPS data processed {"connection_id":123901,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:29:07] local.INFO: Acknowledgment sent {"connection_id":123901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:29:39] local.INFO: TCP Data received {"connection_id":123901,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38cb4750012d07484006f700d8001300892d..."} 
[2026-07-07 00:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38cb4750012d07484006f700d8001300892d..."} 
[2026-07-07 00:29:39] local.INFO: Processing buffer {"connection_id":123901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38cb4750012d07484006f700d8001300892d..."} 
[2026-07-07 00:29:39] local.INFO: Packet analysis {"connection_id":123901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38cb"} 
[2026-07-07 00:29:39] local.INFO: Extracted packet for processing {"connection_id":123901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38cb"} 
[2026-07-07 00:29:39] local.INFO: GPS Element Parsed {"raw_longitude":755451968,"raw_latitude":116850904,"longitude_deg":75.5451968,"latitude_deg":11.6850904,"altitude":19,"angle":137,"satellites":45,"speed":30,"hex_longitude":"2d074840","hex_latitude":"06f700d8","is_valid_coordinates":true} 
[2026-07-07 00: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-07-07 00:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541251584001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339813753715425280,"note":"Value kept but may cause issues"} 
[2026-07-07 00:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":518476937016723456,"note":"Value kept but may cause issues"} 
[2026-07-07 00:29:39] 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-07-07 00:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783364274000,"timestamp_ms":1783364274000,"timestamp_seconds":1783364274,"priority":1,"record_length":96,"hex_timestamp":"0000019f38cb4750"} 
[2026-07-07 00:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:29: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-07-07 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 00:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00: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-07-07 00:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":123901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":123901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":123901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541251584001,"66":27397,"42":206,"80":6400,"24":30,"16":339813753715425280,"45":518476937016723456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-07-07 00:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541251584001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:29:39] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-07 00:29:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339813753715425280,"km_value":339813753715425.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":518476937016723456,"description":"Unknown IO ID 45"} 
[2026-07-07 00:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541251584001,"power":27397,"unknown_42":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":518476937016723456}} 
[2026-07-07 00:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":123901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:29:39] local.INFO: GPS data processed {"connection_id":123901,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:29:39] local.INFO: Acknowledgment sent {"connection_id":123901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:30:00] local.INFO: TCP Data received {"connection_id":124000,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:30:00] local.INFO: Processing buffer {"connection_id":124000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:30:00] local.INFO: IMEI packet received {"connection_id":124000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":124000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:30:10] local.INFO: TCP Data received {"connection_id":124000,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:30:10] local.INFO: Processing buffer {"connection_id":124000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:30:10] local.INFO: IMEI packet received {"connection_id":124000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":124000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:30:12] local.INFO: TCP Data received {"connection_id":124000,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:30:12] local.INFO: Processing buffer {"connection_id":124000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:30:12] local.INFO: IMEI packet received {"connection_id":124000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":124000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:30:16] local.INFO: TCP Data received {"connection_id":124000,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:30:16] local.INFO: Processing buffer {"connection_id":124000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:30:16] local.INFO: IMEI packet received {"connection_id":124000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":124000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:30:17] local.INFO: TCP Data received {"connection_id":124000,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38cb6e60012d075b4006f6ebe80011006e2c..."} 
[2026-07-07 00:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38cb6e60012d075b4006f6ebe80011006e2c..."} 
[2026-07-07 00:30:17] local.INFO: Processing buffer {"connection_id":124000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38cb6e60012d075b4006f6ebe80011006e2c..."} 
[2026-07-07 00:30:17] local.INFO: Packet analysis {"connection_id":124000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38cb"} 
[2026-07-07 00:30:17] local.INFO: Extracted packet for processing {"connection_id":124000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38cb"} 
[2026-07-07 00:30:17] local.INFO: GPS Element Parsed {"raw_longitude":755456832,"raw_latitude":116845544,"longitude_deg":75.5456832,"latitude_deg":11.6845544,"altitude":17,"angle":110,"satellites":44,"speed":14,"hex_longitude":"2d075b40","hex_latitude":"06f6ebe8","is_valid_coordinates":true} 
[2026-07-07 00: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-07-07 00:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541254144001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339814105902743552,"note":"Value kept but may cause issues"} 
[2026-07-07 00:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":524739755246671872,"note":"Value kept but may cause issues"} 
[2026-07-07 00:30:17] 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-07-07 00:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783364284000,"timestamp_ms":1783364284000,"timestamp_seconds":1783364284,"priority":1,"record_length":96,"hex_timestamp":"0000019f38cb6e60"} 
[2026-07-07 00:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 00:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00: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-07-07 00:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541254144001,"66":27365,"42":206,"80":6400,"24":14,"16":339814105902743552,"45":524739755246671872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-07-07 00:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541254144001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:30:17] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-07 00:30:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339814105902743552,"km_value":339814105902743.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":524739755246671872,"description":"Unknown IO ID 45"} 
[2026-07-07 00:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541254144001,"power":27365,"unknown_42":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":524739755246671872}} 
[2026-07-07 00:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":124000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:30:17] local.INFO: GPS data processed {"connection_id":124000,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:30:17] local.INFO: Acknowledgment sent {"connection_id":124000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:31:06] local.INFO: TCP Data received {"connection_id":124002,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:31:06] local.INFO: Processing buffer {"connection_id":124002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:31:06] local.INFO: IMEI packet received {"connection_id":124002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":124002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:31:11] local.INFO: TCP Data received {"connection_id":124002,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:31:11] local.INFO: Processing buffer {"connection_id":124002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:31:11] local.INFO: IMEI packet received {"connection_id":124002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":124002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:31:12] local.INFO: TCP Data received {"connection_id":124002,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38cce948012d08068006f62aa0000d008830..."} 
[2026-07-07 00:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38cce948012d08068006f62aa0000d008830..."} 
[2026-07-07 00:31:12] local.INFO: Processing buffer {"connection_id":124002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38cce948012d08068006f62aa0000d008830..."} 
[2026-07-07 00:31:12] local.INFO: Packet analysis {"connection_id":124002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38cc"} 
[2026-07-07 00:31:12] local.INFO: Extracted packet for processing {"connection_id":124002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38cc"} 
[2026-07-07 00:31:12] local.INFO: GPS Element Parsed {"raw_longitude":755500672,"raw_latitude":116796064,"longitude_deg":75.5500672,"latitude_deg":11.6796064,"altitude":13,"angle":136,"satellites":48,"speed":5,"hex_longitude":"2d080680","hex_latitude":"06f62aa0","is_valid_coordinates":true} 
[2026-07-07 00:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541276160001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339817348603052032,"note":"Value kept but may cause issues"} 
[2026-07-07 00:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":573294188716533760,"note":"Value kept but may cause issues"} 
[2026-07-07 00:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783364381000,"timestamp_ms":1783364381000,"timestamp_seconds":1783364381,"priority":1,"record_length":96,"hex_timestamp":"0000019f38cce948"} 
[2026-07-07 00:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:31: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-07-07 00:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 00:31: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-07-07 00:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541276160001,"66":27321,"13":206,"80":6400,"24":5,"16":339817348603052032,"45":573294188716533760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,80,24,16,45]} 
[2026-07-07 00:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541276160001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:31:12] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-07 00:31:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339817348603052032,"km_value":339817348603052.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":573294188716533760,"description":"Unknown IO ID 45"} 
[2026-07-07 00:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541276160001,"power":27321,"unknown_13":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":573294188716533760}} 
[2026-07-07 00:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":124002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:31:12] local.INFO: GPS data processed {"connection_id":124002,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:31:12] local.INFO: Acknowledgment sent {"connection_id":124002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:31:43] local.INFO: TCP Data received {"connection_id":124002,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38cd3b50012d08154006f619c8000e008a2e..."} 
[2026-07-07 00:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38cd3b50012d08154006f619c8000e008a2e..."} 
[2026-07-07 00:31:43] local.INFO: Processing buffer {"connection_id":124002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38cd3b50012d08154006f619c8000e008a2e..."} 
[2026-07-07 00:31:43] local.INFO: Packet analysis {"connection_id":124002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38cd"} 
[2026-07-07 00:31:43] local.INFO: Extracted packet for processing {"connection_id":124002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38cd"} 
[2026-07-07 00:31:43] local.INFO: GPS Element Parsed {"raw_longitude":755504448,"raw_latitude":116791752,"longitude_deg":75.5504448,"latitude_deg":11.6791752,"altitude":14,"angle":138,"satellites":46,"speed":9,"hex_longitude":"2d081540","hex_latitude":"06f619c8","is_valid_coordinates":true} 
[2026-07-07 00:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541281536001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339817627775926272,"note":"Value kept but may cause issues"} 
[2026-07-07 00:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":578290369551835136,"note":"Value kept but may cause issues"} 
[2026-07-07 00:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783364402000,"timestamp_ms":1783364402000,"timestamp_seconds":1783364402,"priority":1,"record_length":96,"hex_timestamp":"0000019f38cd3b50"} 
[2026-07-07 00:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:31: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-07-07 00:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 00:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541281536001,"66":27397,"13":206,"80":6400,"24":9,"16":339817627775926272,"45":578290369551835136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,80,24,16,45]} 
[2026-07-07 00:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541281536001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:31:43] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-07 00:31:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339817627775926272,"km_value":339817627775926.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":578290369551835136,"description":"Unknown IO ID 45"} 
[2026-07-07 00:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541281536001,"power":27397,"unknown_13":206,"unknown_80":6400,"ignition":9,"odometer":null,"unknown_45":578290369551835136}} 
[2026-07-07 00:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":124002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:31:43] local.INFO: GPS data processed {"connection_id":124002,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:31:43] local.INFO: Acknowledgment sent {"connection_id":124002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:32:01] local.INFO: TCP Data received {"connection_id":123902,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:32:01] local.INFO: Processing buffer {"connection_id":123902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:32:01] local.INFO: IMEI packet received {"connection_id":123902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":123902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:32:04] local.INFO: TCP Data received {"connection_id":123902,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:32:04] local.INFO: Processing buffer {"connection_id":123902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:32:04] local.INFO: IMEI packet received {"connection_id":123902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":123902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:32:05] local.INFO: TCP Data received {"connection_id":123902,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38cd6260012d081b8006f61280000d00972f..."} 
[2026-07-07 00:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38cd6260012d081b8006f61280000d00972f..."} 
[2026-07-07 00:32:05] local.INFO: Processing buffer {"connection_id":123902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38cd6260012d081b8006f61280000d00972f..."} 
[2026-07-07 00:32:05] local.INFO: Packet analysis {"connection_id":123902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38cd"} 
[2026-07-07 00:32:05] local.INFO: Extracted packet for processing {"connection_id":123902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38cd"} 
[2026-07-07 00:32:05] local.INFO: GPS Element Parsed {"raw_longitude":755506048,"raw_latitude":116789888,"longitude_deg":75.5506048,"latitude_deg":11.6789888,"altitude":13,"angle":151,"satellites":47,"speed":9,"hex_longitude":"2d081b80","hex_latitude":"06f61280","is_valid_coordinates":true} 
[2026-07-07 00:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541286912001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339817748035010560,"note":"Value kept but may cause issues"} 
[2026-07-07 00:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":582442125457213440,"note":"Value kept but may cause issues"} 
[2026-07-07 00:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783364412000,"timestamp_ms":1783364412000,"timestamp_seconds":1783364412,"priority":1,"record_length":96,"hex_timestamp":"0000019f38cd6260"} 
[2026-07-07 00:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 00:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":123902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":123902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":123902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541286912001,"66":27376,"13":206,"80":6400,"24":9,"16":339817748035010560,"45":582442125457213440},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,80,24,16,45]} 
[2026-07-07 00:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541286912001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:32:05] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-07 00:32:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339817748035010560,"km_value":339817748035010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":582442125457213440,"description":"Unknown IO ID 45"} 
[2026-07-07 00:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541286912001,"power":27376,"unknown_13":206,"unknown_80":6400,"ignition":9,"odometer":null,"unknown_45":582442125457213440}} 
[2026-07-07 00:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":123902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:32:05] local.INFO: GPS data processed {"connection_id":123902,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:32:05] local.INFO: Acknowledgment sent {"connection_id":123902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:32:40] local.INFO: TCP Data received {"connection_id":123902,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38cd8588012d08204006f60998000d008c2f..."} 
[2026-07-07 00:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38cd8588012d08204006f60998000d008c2f..."} 
[2026-07-07 00:32:40] local.INFO: Processing buffer {"connection_id":123902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38cd8588012d08204006f60998000d008c2f..."} 
[2026-07-07 00:32:40] local.INFO: Packet analysis {"connection_id":123902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38cd"} 
[2026-07-07 00:32:40] local.INFO: Extracted packet for processing {"connection_id":123902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38cd"} 
[2026-07-07 00:32:40] local.INFO: GPS Element Parsed {"raw_longitude":755507264,"raw_latitude":116787608,"longitude_deg":75.5507264,"latitude_deg":11.6787608,"altitude":13,"angle":140,"satellites":47,"speed":15,"hex_longitude":"2d082040","hex_latitude":"06f60998","is_valid_coordinates":true} 
[2026-07-07 00:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541289472001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339817872589062144,"note":"Value kept but may cause issues"} 
[2026-07-07 00:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":584201344061177856,"note":"Value kept but may cause issues"} 
[2026-07-07 00:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783364421000,"timestamp_ms":1783364421000,"timestamp_seconds":1783364421,"priority":1,"record_length":96,"hex_timestamp":"0000019f38cd8588"} 
[2026-07-07 00:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:32: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-07-07 00:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 00:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":123902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":123902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":123902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541289472001,"66":27332,"13":206,"80":6400,"24":15,"16":339817872589062144,"45":584201344061177856},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,80,24,16,45]} 
[2026-07-07 00:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541289472001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:32:40] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-07 00:32:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339817872589062144,"km_value":339817872589062.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":584201344061177856,"description":"Unknown IO ID 45"} 
[2026-07-07 00:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541289472001,"power":27332,"unknown_13":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":584201344061177856}} 
[2026-07-07 00:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":123902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:32:40] local.INFO: GPS data processed {"connection_id":123902,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:32:40] local.INFO: Acknowledgment sent {"connection_id":123902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:33:06] local.INFO: TCP Data received {"connection_id":123904,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:33:06] local.INFO: Processing buffer {"connection_id":123904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:33:06] local.INFO: IMEI packet received {"connection_id":123904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":123904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:33:10] local.INFO: TCP Data received {"connection_id":123904,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:33:10] local.INFO: Processing buffer {"connection_id":123904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:33:10] local.INFO: IMEI packet received {"connection_id":123904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":123904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:33:11] local.INFO: TCP Data received {"connection_id":123904,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38cf17e0012d08f30006f4fbf8000d006e2d..."} 
[2026-07-07 00:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38cf17e0012d08f30006f4fbf8000d006e2d..."} 
[2026-07-07 00:33:11] local.INFO: Processing buffer {"connection_id":123904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38cf17e0012d08f30006f4fbf8000d006e2d..."} 
[2026-07-07 00:33:11] local.INFO: Packet analysis {"connection_id":123904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38cf"} 
[2026-07-07 00:33:11] local.INFO: Extracted packet for processing {"connection_id":123904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38cf"} 
[2026-07-07 00:33:11] local.INFO: GPS Element Parsed {"raw_longitude":755561216,"raw_latitude":116718584,"longitude_deg":75.5561216,"latitude_deg":11.6718584,"altitude":13,"angle":110,"satellites":45,"speed":25,"hex_longitude":"2d08f300","hex_latitude":"06f4fbf8","is_valid_coordinates":true} 
[2026-07-07 00:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541316352001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339822116016750592,"note":"Value kept but may cause issues"} 
[2026-07-07 00:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":640003758176659456,"note":"Value kept but may cause issues"} 
[2026-07-07 00:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783364524000,"timestamp_ms":1783364524000,"timestamp_seconds":1783364524,"priority":1,"record_length":96,"hex_timestamp":"0000019f38cf17e0"} 
[2026-07-07 00:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:33: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-07-07 00: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":185,"data_length":795,"current_offset":136} 
[2026-07-07 00:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541316352001,"66":26539,"12":206,"80":6400,"24":25,"16":339822116016750592,"45":640003758176659456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-07-07 00:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541316352001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:33:11] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-07 00:33:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339822116016750592,"km_value":339822116016750.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":640003758176659456,"description":"Unknown IO ID 45"} 
[2026-07-07 00:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541316352001,"power":26539,"unknown_12":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":640003758176659456}} 
[2026-07-07 00:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":123904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:33:11] local.INFO: GPS data processed {"connection_id":123904,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:33:11] local.INFO: Acknowledgment sent {"connection_id":123904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:33:43] local.INFO: TCP Data received {"connection_id":123904,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38cf2780012d08fbc006f4f780000d00862d..."} 
[2026-07-07 00:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38cf2780012d08fbc006f4f780000d00862d..."} 
[2026-07-07 00:33:43] local.INFO: Processing buffer {"connection_id":123904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38cf2780012d08fbc006f4f780000d00862d..."} 
[2026-07-07 00:33:43] local.INFO: Packet analysis {"connection_id":123904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38cf"} 
[2026-07-07 00:33:43] local.INFO: Extracted packet for processing {"connection_id":123904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38cf"} 
[2026-07-07 00:33:43] local.INFO: GPS Element Parsed {"raw_longitude":755563456,"raw_latitude":116717440,"longitude_deg":75.5563456,"latitude_deg":11.671744,"altitude":13,"angle":134,"satellites":45,"speed":25,"hex_longitude":"2d08fbc0","hex_latitude":"06f4f780","is_valid_coordinates":true} 
[2026-07-07 00:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541318144001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339822236275834880,"note":"Value kept but may cause issues"} 
[2026-07-07 00:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644859201524070400,"note":"Value kept but may cause issues"} 
[2026-07-07 00:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783364528000,"timestamp_ms":1783364528000,"timestamp_seconds":1783364528,"priority":1,"record_length":96,"hex_timestamp":"0000019f38cf2780"} 
[2026-07-07 00:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-07-07 00:33:43] 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-07-07 00:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541318144001,"66":27332,"12":206,"80":6400,"24":25,"16":339822236275834880,"45":644859201524070400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-07-07 00:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541318144001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:33:43] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-07 00:33:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339822236275834880,"km_value":339822236275834.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":644859201524070400,"description":"Unknown IO ID 45"} 
[2026-07-07 00:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541318144001,"power":27332,"unknown_12":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":644859201524070400}} 
[2026-07-07 00:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":123904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:33:43] local.INFO: GPS data processed {"connection_id":123904,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:33:43] local.INFO: Acknowledgment sent {"connection_id":123904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:34:00] local.INFO: TCP Data received {"connection_id":125908,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:34:00] local.INFO: Processing buffer {"connection_id":125908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:34:00] local.INFO: IMEI packet received {"connection_id":125908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":125908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:34:04] local.INFO: TCP Data received {"connection_id":125908,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:34:04] local.INFO: Processing buffer {"connection_id":125908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:34:04] local.INFO: IMEI packet received {"connection_id":125908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":125908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:34:05] local.INFO: TCP Data received {"connection_id":125908,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:34:05] local.INFO: Processing buffer {"connection_id":125908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:34:05] local.INFO: IMEI packet received {"connection_id":125908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":125908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:34:06] local.INFO: TCP Data received {"connection_id":125908,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38cf5e30012d09168006f4d818000c008e2e..."} 
[2026-07-07 00:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38cf5e30012d09168006f4d818000c008e2e..."} 
[2026-07-07 00:34:06] local.INFO: Processing buffer {"connection_id":125908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38cf5e30012d09168006f4d818000c008e2e..."} 
[2026-07-07 00:34:06] local.INFO: Packet analysis {"connection_id":125908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38cf"} 
[2026-07-07 00:34:06] local.INFO: Extracted packet for processing {"connection_id":125908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38cf"} 
[2026-07-07 00:34:06] local.INFO: GPS Element Parsed {"raw_longitude":755570304,"raw_latitude":116709400,"longitude_deg":75.5570304,"latitude_deg":11.67094,"altitude":12,"angle":142,"satellites":46,"speed":36,"hex_longitude":"2d091680","hex_latitude":"06f4d818","is_valid_coordinates":true} 
[2026-07-07 00:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541319168001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339822743081975808,"note":"Value kept but may cause issues"} 
[2026-07-07 00:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":647322107569995776,"note":"Value kept but may cause issues"} 
[2026-07-07 00:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783364542000,"timestamp_ms":1783364542000,"timestamp_seconds":1783364542,"priority":1,"record_length":96,"hex_timestamp":"0000019f38cf5e30"} 
[2026-07-07 00:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 00:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541319168001,"66":27310,"12":206,"80":6400,"24":36,"16":339822743081975808,"45":647322107569995776},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-07-07 00:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541319168001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:34:06] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-07 00:34:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339822743081975808,"km_value":339822743081975.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":647322107569995776,"description":"Unknown IO ID 45"} 
[2026-07-07 00:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541319168001,"power":27310,"unknown_12":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":647322107569995776}} 
[2026-07-07 00:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":125908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:34:06] local.INFO: GPS data processed {"connection_id":125908,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:34:06] local.INFO: Acknowledgment sent {"connection_id":125908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:34:26] local.INFO: TCP Data received {"connection_id":124003,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:34:26] local.INFO: Processing buffer {"connection_id":124003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:34:26] local.INFO: IMEI packet received {"connection_id":124003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 00:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":124003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:34:37] local.INFO: TCP Data received {"connection_id":125908,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38cf8540012d092d8006f4b8a8000c00902c..."} 
[2026-07-07 00:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38cf8540012d092d8006f4b8a8000c00902c..."} 
[2026-07-07 00:34:37] local.INFO: Processing buffer {"connection_id":125908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38cf8540012d092d8006f4b8a8000c00902c..."} 
[2026-07-07 00:34:37] local.INFO: Packet analysis {"connection_id":125908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38cf"} 
[2026-07-07 00:34:37] local.INFO: Extracted packet for processing {"connection_id":125908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38cf"} 
[2026-07-07 00:34:37] local.INFO: GPS Element Parsed {"raw_longitude":755576192,"raw_latitude":116701352,"longitude_deg":75.5576192,"latitude_deg":11.6701352,"altitude":12,"angle":144,"satellites":44,"speed":42,"hex_longitude":"2d092d80","hex_latitude":"06f4b8a8","is_valid_coordinates":true} 
[2026-07-07 00:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541322752001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339823224118312960,"note":"Value kept but may cause issues"} 
[2026-07-07 00:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":654851563194947584,"note":"Value kept but may cause issues"} 
[2026-07-07 00:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783364552000,"timestamp_ms":1783364552000,"timestamp_seconds":1783364552,"priority":1,"record_length":96,"hex_timestamp":"0000019f38cf8540"} 
[2026-07-07 00:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-07 00:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541322752001,"66":27332,"12":206,"80":6400,"24":42,"16":339823224118312960,"45":654851563194947584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-07-07 00:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541322752001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:34:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-07 00:34:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339823224118312960,"km_value":339823224118312.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":654851563194947584,"description":"Unknown IO ID 45"} 
[2026-07-07 00:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541322752001,"power":27332,"unknown_12":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":654851563194947584}} 
[2026-07-07 00:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":125908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:34:37] local.INFO: GPS data processed {"connection_id":125908,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:34:37] local.INFO: Acknowledgment sent {"connection_id":125908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:35:00] local.INFO: TCP Data received {"connection_id":123905,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:35:00] local.INFO: Processing buffer {"connection_id":123905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:35:00] local.INFO: IMEI packet received {"connection_id":123905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 00:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":123905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:35:06] local.INFO: TCP Data received {"connection_id":124004,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:35:06] local.INFO: Processing buffer {"connection_id":124004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:35:06] local.INFO: IMEI packet received {"connection_id":124004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":124004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:35:06] local.INFO: TCP Data received {"connection_id":124004,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:35:06] local.INFO: Processing buffer {"connection_id":124004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:35:06] local.INFO: IMEI packet received {"connection_id":124004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":124004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:35:11] local.INFO: TCP Data received {"connection_id":124004,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:35:11] local.INFO: Processing buffer {"connection_id":124004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:35:11] local.INFO: IMEI packet received {"connection_id":124004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":124004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:35:12] local.INFO: TCP Data received {"connection_id":124004,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38d10028012d09a0c006f33b10001800a62d..."} 
[2026-07-07 00:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38d10028012d09a0c006f33b10001800a62d..."} 
[2026-07-07 00:35:12] local.INFO: Processing buffer {"connection_id":124004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38d10028012d09a0c006f33b10001800a62d..."} 
[2026-07-07 00:35:12] local.INFO: Packet analysis {"connection_id":124004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38d1"} 
[2026-07-07 00:35:12] local.INFO: Extracted packet for processing {"connection_id":124004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38d1"} 
[2026-07-07 00:35:12] local.INFO: GPS Element Parsed {"raw_longitude":755605696,"raw_latitude":116603664,"longitude_deg":75.5605696,"latitude_deg":11.6603664,"altitude":24,"angle":166,"satellites":45,"speed":36,"hex_longitude":"2d09a0c0","hex_latitude":"06f33b10","is_valid_coordinates":true} 
[2026-07-07 00:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541347584001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339828219165278208,"note":"Value kept but may cause issues"} 
[2026-07-07 00:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":692498841305335808,"note":"Value kept but may cause issues"} 
[2026-07-07 00:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783364649000,"timestamp_ms":1783364649000,"timestamp_seconds":1783364649,"priority":1,"record_length":96,"hex_timestamp":"0000019f38d10028"} 
[2026-07-07 00:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:35: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-07-07 00:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 00:35: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-07-07 00:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541347584001,"66":27397,"82":206,"80":6400,"24":36,"16":339828219165278208,"45":692498841305335808},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-07-07 00:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541347584001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:35:12] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-07 00:35:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339828219165278208,"km_value":339828219165278.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":692498841305335808,"description":"Unknown IO ID 45"} 
[2026-07-07 00:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541347584001,"power":27397,"unknown_82":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":692498841305335808}} 
[2026-07-07 00:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":124004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:35:12] local.INFO: GPS data processed {"connection_id":124004,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:35:12] local.INFO: Acknowledgment sent {"connection_id":124004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:35:16] local.INFO: TCP Data received {"connection_id":124004,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38d12738012d09a74006f318d0001700ad2c..."} 
[2026-07-07 00:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38d12738012d09a74006f318d0001700ad2c..."} 
[2026-07-07 00:35:16] local.INFO: Processing buffer {"connection_id":124004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38d12738012d09a74006f318d0001700ad2c..."} 
[2026-07-07 00:35:16] local.INFO: Packet analysis {"connection_id":124004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38d1"} 
[2026-07-07 00:35:16] local.INFO: Extracted packet for processing {"connection_id":124004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38d1"} 
[2026-07-07 00:35:16] local.INFO: GPS Element Parsed {"raw_longitude":755607360,"raw_latitude":116594896,"longitude_deg":75.560736,"latitude_deg":11.6594896,"altitude":23,"angle":173,"satellites":44,"speed":38,"hex_longitude":"2d09a740","hex_latitude":"06f318d0","is_valid_coordinates":true} 
[2026-07-07 00:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541350144001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339828652956975104,"note":"Value kept but may cause issues"} 
[2026-07-07 00:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":693765478698127360,"note":"Value kept but may cause issues"} 
[2026-07-07 00:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783364659000,"timestamp_ms":1783364659000,"timestamp_seconds":1783364659,"priority":1,"record_length":96,"hex_timestamp":"0000019f38d12738"} 
[2026-07-07 00:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 00:35: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-07-07 00:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541350144001,"66":27593,"82":206,"80":6400,"24":38,"16":339828652956975104,"45":693765478698127360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-07-07 00:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541350144001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:35:16] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-07 00:35:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339828652956975104,"km_value":339828652956975.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":693765478698127360,"description":"Unknown IO ID 45"} 
[2026-07-07 00:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541350144001,"power":27593,"unknown_82":206,"unknown_80":6400,"ignition":38,"odometer":null,"unknown_45":693765478698127360}} 
[2026-07-07 00:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":124004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:35:16] local.INFO: GPS data processed {"connection_id":124004,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:35:16] local.INFO: Acknowledgment sent {"connection_id":124004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:36:01] local.INFO: TCP Data received {"connection_id":124654,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:36:01] local.INFO: Processing buffer {"connection_id":124654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:36:01] local.INFO: IMEI packet received {"connection_id":124654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":124654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:36:06] local.INFO: TCP Data received {"connection_id":124654,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:36:06] local.INFO: Processing buffer {"connection_id":124654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:36:06] local.INFO: IMEI packet received {"connection_id":124654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":124654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:36:08] local.INFO: TCP Data received {"connection_id":124654,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38d14a60012d09aa8006f2f4d0001500b02d..."} 
[2026-07-07 00:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38d14a60012d09aa8006f2f4d0001500b02d..."} 
[2026-07-07 00:36:08] local.INFO: Processing buffer {"connection_id":124654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38d14a60012d09aa8006f2f4d0001500b02d..."} 
[2026-07-07 00:36:08] local.INFO: Packet analysis {"connection_id":124654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38d1"} 
[2026-07-07 00:36:08] local.INFO: Extracted packet for processing {"connection_id":124654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38d1"} 
[2026-07-07 00:36:08] local.INFO: GPS Element Parsed {"raw_longitude":755608192,"raw_latitude":116585680,"longitude_deg":75.5608192,"latitude_deg":11.658568,"altitude":21,"angle":176,"satellites":45,"speed":42,"hex_longitude":"2d09aa80","hex_latitude":"06f2f4d0","is_valid_coordinates":true} 
[2026-07-07 00:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541352704001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339829099633573888,"note":"Value kept but may cause issues"} 
[2026-07-07 00:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":695595066044502016,"note":"Value kept but may cause issues"} 
[2026-07-07 00:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783364668000,"timestamp_ms":1783364668000,"timestamp_seconds":1783364668,"priority":1,"record_length":96,"hex_timestamp":"0000019f38d14a60"} 
[2026-07-07 00:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:36: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-07-07 00: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 00:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541352704001,"66":27517,"82":206,"80":6400,"24":42,"16":339829099633573888,"45":695595066044502016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-07-07 00:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541352704001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:36:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-07 00:36:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339829099633573888,"km_value":339829099633573.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":695595066044502016,"description":"Unknown IO ID 45"} 
[2026-07-07 00:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541352704001,"power":27517,"unknown_82":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":695595066044502016}} 
[2026-07-07 00:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":124654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:36:08] local.INFO: GPS data processed {"connection_id":124654,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:36:08] local.INFO: Acknowledgment sent {"connection_id":124654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:36:44] local.INFO: TCP Data received {"connection_id":124654,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38d17558012d09ad8006f2cff8001200ad2e..."} 
[2026-07-07 00:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38d17558012d09ad8006f2cff8001200ad2e..."} 
[2026-07-07 00:36:44] local.INFO: Processing buffer {"connection_id":124654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38d17558012d09ad8006f2cff8001200ad2e..."} 
[2026-07-07 00:36:44] local.INFO: Packet analysis {"connection_id":124654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38d1"} 
[2026-07-07 00:36:44] local.INFO: Extracted packet for processing {"connection_id":124654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38d1"} 
[2026-07-07 00:36:44] local.INFO: GPS Element Parsed {"raw_longitude":755608960,"raw_latitude":116576248,"longitude_deg":75.560896,"latitude_deg":11.6576248,"altitude":18,"angle":173,"satellites":46,"speed":26,"hex_longitude":"2d09ad80","hex_latitude":"06f2cff8","is_valid_coordinates":true} 
[2026-07-07 00: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-07-07 00:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541355008001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339829559195074560,"note":"Value kept but may cause issues"} 
[2026-07-07 00:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":696509859716452352,"note":"Value kept but may cause issues"} 
[2026-07-07 00:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783364679000,"timestamp_ms":1783364679000,"timestamp_seconds":1783364679,"priority":1,"record_length":96,"hex_timestamp":"0000019f38d17558"} 
[2026-07-07 00:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:36: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-07-07 00: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 00:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00: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-07-07 00:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541355008001,"66":27343,"82":206,"80":6400,"24":26,"16":339829559195074560,"45":696509859716452352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-07-07 00:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541355008001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:36:44] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-07 00:36:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339829559195074560,"km_value":339829559195074.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":696509859716452352,"description":"Unknown IO ID 45"} 
[2026-07-07 00:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541355008001,"power":27343,"unknown_82":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":696509859716452352}} 
[2026-07-07 00:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":124654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:36:44] local.INFO: GPS data processed {"connection_id":124654,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:36:44] local.INFO: Acknowledgment sent {"connection_id":124654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:37:00] local.INFO: TCP Data received {"connection_id":123906,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:37:00] local.INFO: Processing buffer {"connection_id":123906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:37:00] local.INFO: IMEI packet received {"connection_id":123906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":123906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:37:06] local.INFO: TCP Data received {"connection_id":123906,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:37:06] local.INFO: Processing buffer {"connection_id":123906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:37:06] local.INFO: IMEI packet received {"connection_id":123906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":123906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:37:07] local.INFO: TCP Data received {"connection_id":123906,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38d19880012d09b18006f2bc48001100a22f..."} 
[2026-07-07 00:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38d19880012d09b18006f2bc48001100a22f..."} 
[2026-07-07 00:37:07] local.INFO: Processing buffer {"connection_id":123906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38d19880012d09b18006f2bc48001100a22f..."} 
[2026-07-07 00:37:07] local.INFO: Packet analysis {"connection_id":123906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38d1"} 
[2026-07-07 00:37:07] local.INFO: Extracted packet for processing {"connection_id":123906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38d1"} 
[2026-07-07 00:37:07] local.INFO: GPS Element Parsed {"raw_longitude":755609984,"raw_latitude":116571208,"longitude_deg":75.5609984,"latitude_deg":11.6571208,"altitude":17,"angle":162,"satellites":47,"speed":18,"hex_longitude":"2d09b180","hex_latitude":"06f2bc48","is_valid_coordinates":true} 
[2026-07-07 00:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541357824001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339829808303177728,"note":"Value kept but may cause issues"} 
[2026-07-07 00:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":697354284644169728,"note":"Value kept but may cause issues"} 
[2026-07-07 00:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783364688000,"timestamp_ms":1783364688000,"timestamp_seconds":1783364688,"priority":1,"record_length":96,"hex_timestamp":"0000019f38d19880"} 
[2026-07-07 00:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 00:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":123906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":123906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":123906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541357824001,"66":27463,"82":206,"80":6400,"24":18,"16":339829808303177728,"45":697354284644169728},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-07-07 00:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541357824001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:37:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-07 00:37:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339829808303177728,"km_value":339829808303177.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":697354284644169728,"description":"Unknown IO ID 45"} 
[2026-07-07 00:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541357824001,"power":27463,"unknown_82":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":697354284644169728}} 
[2026-07-07 00:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":123906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:37:07] local.INFO: GPS data processed {"connection_id":123906,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:37:07] local.INFO: Acknowledgment sent {"connection_id":123906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:37:37] local.INFO: TCP Data received {"connection_id":123906,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38d1b3d8012d09b48006f2b110000f00af2f..."} 
[2026-07-07 00:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38d1b3d8012d09b48006f2b110000f00af2f..."} 
[2026-07-07 00:37:37] local.INFO: Processing buffer {"connection_id":123906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38d1b3d8012d09b48006f2b110000f00af2f..."} 
[2026-07-07 00:37:37] local.INFO: Packet analysis {"connection_id":123906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38d1"} 
[2026-07-07 00:37:37] local.INFO: Extracted packet for processing {"connection_id":123906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38d1"} 
[2026-07-07 00:37:37] local.INFO: GPS Element Parsed {"raw_longitude":755610752,"raw_latitude":116568336,"longitude_deg":75.5610752,"latitude_deg":11.6568336,"altitude":15,"angle":175,"satellites":47,"speed":20,"hex_longitude":"2d09b480","hex_latitude":"06f2b110","is_valid_coordinates":true} 
[2026-07-07 00:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541360128001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339829954332065792,"note":"Value kept but may cause issues"} 
[2026-07-07 00:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":698480184549722112,"note":"Value kept but may cause issues"} 
[2026-07-07 00:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783364695000,"timestamp_ms":1783364695000,"timestamp_seconds":1783364695,"priority":1,"record_length":96,"hex_timestamp":"0000019f38d1b3d8"} 
[2026-07-07 00:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:37: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-07-07 00: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 00:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":123906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":123906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":123906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541360128001,"66":27397,"82":206,"80":6400,"24":20,"16":339829954332065792,"45":698480184549722112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-07-07 00:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541360128001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:37:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-07 00:37:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339829954332065792,"km_value":339829954332065.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":698480184549722112,"description":"Unknown IO ID 45"} 
[2026-07-07 00:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541360128001,"power":27397,"unknown_82":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":698480184549722112}} 
[2026-07-07 00:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":123906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:37:37] local.INFO: GPS data processed {"connection_id":123906,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:37:37] local.INFO: Acknowledgment sent {"connection_id":123906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:38:00] local.INFO: TCP Data received {"connection_id":123907,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:38:00] local.INFO: Processing buffer {"connection_id":123907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:38:00] local.INFO: IMEI packet received {"connection_id":123907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":123907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:38:06] local.INFO: TCP Data received {"connection_id":123907,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:38:06] local.INFO: Processing buffer {"connection_id":123907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:38:06] local.INFO: IMEI packet received {"connection_id":123907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":123907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:38:48] local.INFO: TCP Data received {"connection_id":123907,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:38:48] local.INFO: Processing buffer {"connection_id":123907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:38:48] local.INFO: IMEI packet received {"connection_id":123907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":123907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:39:04] local.INFO: TCP Data received {"connection_id":123909,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:39:04] local.INFO: Processing buffer {"connection_id":123909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:39:04] local.INFO: IMEI packet received {"connection_id":123909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":123909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:40:21] local.INFO: TCP Data received {"connection_id":125911,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:40:21] local.INFO: Processing buffer {"connection_id":125911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:40:21] local.INFO: IMEI packet received {"connection_id":125911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 00:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":125911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:41:00] local.INFO: TCP Data received {"connection_id":124655,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:41:00] local.INFO: Processing buffer {"connection_id":124655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:41:00] local.INFO: IMEI packet received {"connection_id":124655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 00:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":124655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:44:05] local.INFO: TCP Data received {"connection_id":124009,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:44:05] local.INFO: Processing buffer {"connection_id":124009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:44:05] local.INFO: IMEI packet received {"connection_id":124009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":124009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:44:06] local.INFO: TCP Data received {"connection_id":124009,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38d92230012d0c004006ee64a00015007730..."} 
[2026-07-07 00:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38d92230012d0c004006ee64a00015007730..."} 
[2026-07-07 00:44:06] local.INFO: Processing buffer {"connection_id":124009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38d92230012d0c004006ee64a00015007730..."} 
[2026-07-07 00:44:06] local.INFO: Packet analysis {"connection_id":124009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38d9"} 
[2026-07-07 00:44:06] local.INFO: Extracted packet for processing {"connection_id":124009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38d9"} 
[2026-07-07 00:44:06] local.INFO: GPS Element Parsed {"raw_longitude":755761216,"raw_latitude":116286624,"longitude_deg":75.5761216,"latitude_deg":11.6286624,"altitude":21,"angle":119,"satellites":48,"speed":23,"hex_longitude":"2d0c0040","hex_latitude":"06ee64a0","is_valid_coordinates":true} 
[2026-07-07 00:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541486080001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339846026099687424,"note":"Value kept but may cause issues"} 
[2026-07-07 00:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863635627062061056,"note":"Value kept but may cause issues"} 
[2026-07-07 00:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783365182000,"timestamp_ms":1783365182000,"timestamp_seconds":1783365182,"priority":1,"record_length":96,"hex_timestamp":"0000019f38d92230"} 
[2026-07-07 00:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:44: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-07-07 00:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 00:44: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-07-07 00:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541486080001,"66":27267,"157":206,"80":6400,"24":23,"16":339846026099687424,"45":863635627062061056},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-07-07 00:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541486080001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:44:06] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 00:44:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339846026099687424,"km_value":339846026099687.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":863635627062061056,"description":"Unknown IO ID 45"} 
[2026-07-07 00:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541486080001,"power":27267,"unknown_157":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":863635627062061056}} 
[2026-07-07 00:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":124009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:44:06] local.INFO: GPS data processed {"connection_id":124009,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:44:06] local.INFO: Acknowledgment sent {"connection_id":124009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:44:37] local.INFO: TCP Data received {"connection_id":124009,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38d92a00012d0c048006ee63100015006731..."} 
[2026-07-07 00:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38d92a00012d0c048006ee63100015006731..."} 
[2026-07-07 00:44:37] local.INFO: Processing buffer {"connection_id":124009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38d92a00012d0c048006ee63100015006731..."} 
[2026-07-07 00:44:37] local.INFO: Packet analysis {"connection_id":124009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38d9"} 
[2026-07-07 00:44:37] local.INFO: Extracted packet for processing {"connection_id":124009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38d9"} 
[2026-07-07 00:44:37] local.INFO: GPS Element Parsed {"raw_longitude":755762304,"raw_latitude":116286224,"longitude_deg":75.5762304,"latitude_deg":11.6286224,"altitude":21,"angle":103,"satellites":49,"speed":22,"hex_longitude":"2d0c0480","hex_latitude":"06ee6310","is_valid_coordinates":true} 
[2026-07-07 00:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541486592001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339846081934262272,"note":"Value kept but may cause issues"} 
[2026-07-07 00:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":864761526968688640,"note":"Value kept but may cause issues"} 
[2026-07-07 00:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783365184000,"timestamp_ms":1783365184000,"timestamp_seconds":1783365184,"priority":1,"record_length":96,"hex_timestamp":"0000019f38d92a00"} 
[2026-07-07 00:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:44: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-07-07 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 00:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541486592001,"66":27300,"157":206,"80":6400,"24":22,"16":339846081934262272,"45":864761526968688640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-07-07 00:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541486592001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:44:37] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 00:44:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339846081934262272,"km_value":339846081934262.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":864761526968688640,"description":"Unknown IO ID 45"} 
[2026-07-07 00:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541486592001,"power":27300,"unknown_157":206,"unknown_80":6400,"ignition":22,"odometer":null,"unknown_45":864761526968688640}} 
[2026-07-07 00:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":124009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:44:37] local.INFO: GPS data processed {"connection_id":124009,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:44:37] local.INFO: Acknowledgment sent {"connection_id":124009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:45:00] local.INFO: TCP Data received {"connection_id":125913,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:45:00] local.INFO: Processing buffer {"connection_id":125913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:45:00] local.INFO: IMEI packet received {"connection_id":125913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":125913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:45:06] local.INFO: TCP Data received {"connection_id":125913,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:45:06] local.INFO: Processing buffer {"connection_id":125913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:45:06] local.INFO: IMEI packet received {"connection_id":125913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":125913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:45:07] local.INFO: TCP Data received {"connection_id":125913,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38d931d0012d0c08c006ee61c80015007430..."} 
[2026-07-07 00:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38d931d0012d0c08c006ee61c80015007430..."} 
[2026-07-07 00:45:07] local.INFO: Processing buffer {"connection_id":125913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38d931d0012d0c08c006ee61c80015007430..."} 
[2026-07-07 00:45:07] local.INFO: Packet analysis {"connection_id":125913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38d9"} 
[2026-07-07 00:45:07] local.INFO: Extracted packet for processing {"connection_id":125913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38d9"} 
[2026-07-07 00:45:07] local.INFO: GPS Element Parsed {"raw_longitude":755763392,"raw_latitude":116285896,"longitude_deg":75.5763392,"latitude_deg":11.6285896,"altitude":21,"angle":116,"satellites":48,"speed":18,"hex_longitude":"2d0c08c0","hex_latitude":"06ee61c8","is_valid_coordinates":true} 
[2026-07-07 00:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541487104001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339846133473869824,"note":"Value kept but may cause issues"} 
[2026-07-07 00:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865957795619606528,"note":"Value kept but may cause issues"} 
[2026-07-07 00:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783365186000,"timestamp_ms":1783365186000,"timestamp_seconds":1783365186,"priority":1,"record_length":96,"hex_timestamp":"0000019f38d931d0"} 
[2026-07-07 00:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 00:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541487104001,"66":27343,"157":206,"80":6400,"24":18,"16":339846133473869824,"45":865957795619606528},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-07-07 00:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541487104001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:45:07] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 00:45:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339846133473869824,"km_value":339846133473869.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":865957795619606528,"description":"Unknown IO ID 45"} 
[2026-07-07 00:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541487104001,"power":27343,"unknown_157":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":865957795619606528}} 
[2026-07-07 00:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":125913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:45:07] local.INFO: GPS data processed {"connection_id":125913,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:45:07] local.INFO: Acknowledgment sent {"connection_id":125913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:45:39] local.INFO: TCP Data received {"connection_id":125913,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38d935b8012d0c0a4006ee60c80016007f2f..."} 
[2026-07-07 00:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38d935b8012d0c0a4006ee60c80016007f2f..."} 
[2026-07-07 00:45:39] local.INFO: Processing buffer {"connection_id":125913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38d935b8012d0c0a4006ee60c80016007f2f..."} 
[2026-07-07 00:45:39] local.INFO: Packet analysis {"connection_id":125913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38d9"} 
[2026-07-07 00:45:39] local.INFO: Extracted packet for processing {"connection_id":125913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38d9"} 
[2026-07-07 00:45:39] local.INFO: GPS Element Parsed {"raw_longitude":755763776,"raw_latitude":116285640,"longitude_deg":75.5763776,"latitude_deg":11.628564,"altitude":22,"angle":127,"satellites":47,"speed":17,"hex_longitude":"2d0c0a40","hex_latitude":"06ee60c8","is_valid_coordinates":true} 
[2026-07-07 00:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541487616001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339846159243673600,"note":"Value kept but may cause issues"} 
[2026-07-07 00:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867154064270542848,"note":"Value kept but may cause issues"} 
[2026-07-07 00:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783365187000,"timestamp_ms":1783365187000,"timestamp_seconds":1783365187,"priority":1,"record_length":96,"hex_timestamp":"0000019f38d935b8"} 
[2026-07-07 00:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:45: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-07-07 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 00:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541487616001,"66":27321,"157":206,"80":6400,"24":17,"16":339846159243673600,"45":867154064270542848},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-07-07 00:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541487616001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:45:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 00:45:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339846159243673600,"km_value":339846159243673.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":867154064270542848,"description":"Unknown IO ID 45"} 
[2026-07-07 00:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541487616001,"power":27321,"unknown_157":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":867154064270542848}} 
[2026-07-07 00:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":125913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:45:39] local.INFO: GPS data processed {"connection_id":125913,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:45:39] local.INFO: Acknowledgment sent {"connection_id":125913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:46:00] local.INFO: TCP Data received {"connection_id":125914,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:46:00] local.INFO: Processing buffer {"connection_id":125914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:46:00] local.INFO: IMEI packet received {"connection_id":125914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":125914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:46:06] local.INFO: TCP Data received {"connection_id":125914,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:46:06] local.INFO: Processing buffer {"connection_id":125914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:46:06] local.INFO: IMEI packet received {"connection_id":125914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":125914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:46:08] local.INFO: TCP Data received {"connection_id":125914,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38d93d88012d0c0cc006ee5e380016009330..."} 
[2026-07-07 00:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38d93d88012d0c0cc006ee5e380016009330..."} 
[2026-07-07 00:46:08] local.INFO: Processing buffer {"connection_id":125914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38d93d88012d0c0cc006ee5e380016009330..."} 
[2026-07-07 00:46:08] local.INFO: Packet analysis {"connection_id":125914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38d9"} 
[2026-07-07 00:46:08] local.INFO: Extracted packet for processing {"connection_id":125914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38d9"} 
[2026-07-07 00:46:08] local.INFO: GPS Element Parsed {"raw_longitude":755764416,"raw_latitude":116284984,"longitude_deg":75.5764416,"latitude_deg":11.6284984,"altitude":22,"angle":147,"satellites":48,"speed":18,"hex_longitude":"2d0c0cc0","hex_latitude":"06ee5e38","is_valid_coordinates":true} 
[2026-07-07 00:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541487872001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339846202193346560,"note":"Value kept but may cause issues"} 
[2026-07-07 00:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867576276735543296,"note":"Value kept but may cause issues"} 
[2026-07-07 00:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783365189000,"timestamp_ms":1783365189000,"timestamp_seconds":1783365189,"priority":1,"record_length":96,"hex_timestamp":"0000019f38d93d88"} 
[2026-07-07 00:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:46: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-07-07 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 00:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00: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-07-07 00:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541487872001,"66":27234,"157":206,"80":6400,"24":18,"16":339846202193346560,"45":867576276735543296},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-07-07 00:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541487872001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:46:08] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 00:46:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339846202193346560,"km_value":339846202193346.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":867576276735543296,"description":"Unknown IO ID 45"} 
[2026-07-07 00:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541487872001,"power":27234,"unknown_157":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":867576276735543296}} 
[2026-07-07 00:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":125914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:46:08] local.INFO: GPS data processed {"connection_id":125914,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:46:08] local.INFO: Acknowledgment sent {"connection_id":125914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:46:25] local.INFO: TCP Data received {"connection_id":124010,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:46:25] local.INFO: Processing buffer {"connection_id":124010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:46:25] local.INFO: IMEI packet received {"connection_id":124010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 00:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":124010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:46:39] local.INFO: TCP Data received {"connection_id":125914,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38dbae88012d0c584006ed0588000d00db2f..."} 
[2026-07-07 00:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38dbae88012d0c584006ed0588000d00db2f..."} 
[2026-07-07 00:46:39] local.INFO: Processing buffer {"connection_id":125914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38dbae88012d0c584006ed0588000d00db2f..."} 
[2026-07-07 00:46:39] local.INFO: Packet analysis {"connection_id":125914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38db"} 
[2026-07-07 00:46:39] local.INFO: Extracted packet for processing {"connection_id":125914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38db"} 
[2026-07-07 00:46:39] local.INFO: GPS Element Parsed {"raw_longitude":755783744,"raw_latitude":116196744,"longitude_deg":75.5783744,"latitude_deg":11.6196744,"altitude":13,"angle":219,"satellites":47,"speed":14,"hex_longitude":"2d0c5840","hex_latitude":"06ed0588","is_valid_coordinates":true} 
[2026-07-07 00:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541529088001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339850780628484096,"note":"Value kept but may cause issues"} 
[2026-07-07 00:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889742431128829952,"note":"Value kept but may cause issues"} 
[2026-07-07 00:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783365349000,"timestamp_ms":1783365349000,"timestamp_seconds":1783365349,"priority":1,"record_length":96,"hex_timestamp":"0000019f38dbae88"} 
[2026-07-07 00:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:46: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-07-07 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 00:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541529088001,"66":27343,"49":206,"80":6400,"24":14,"16":339850780628484096,"45":889742431128829952},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-07 00:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541529088001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:46:39] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 00:46:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339850780628484096,"km_value":339850780628484.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":889742431128829952,"description":"Unknown IO ID 45"} 
[2026-07-07 00:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541529088001,"power":27343,"unknown_49":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":889742431128829952}} 
[2026-07-07 00:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":125914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:46:39] local.INFO: GPS data processed {"connection_id":125914,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:46:39] local.INFO: Acknowledgment sent {"connection_id":125914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:47:05] local.INFO: TCP Data received {"connection_id":123913,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:47:05] local.INFO: Processing buffer {"connection_id":123913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:47:05] local.INFO: IMEI packet received {"connection_id":123913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 00:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":123913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:47:06] local.INFO: TCP Data received {"connection_id":123912,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:47:06] local.INFO: Processing buffer {"connection_id":123912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:47:06] local.INFO: IMEI packet received {"connection_id":123912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":123912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:47:11] local.INFO: TCP Data received {"connection_id":123912,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:47:11] local.INFO: Processing buffer {"connection_id":123912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:47:11] local.INFO: IMEI packet received {"connection_id":123912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":123912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:47:11] local.INFO: TCP Data received {"connection_id":123912,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38dbb658012d0c564006ed03f0000d00ef2f..."} 
[2026-07-07 00:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38dbb658012d0c564006ed03f0000d00ef2f..."} 
[2026-07-07 00:47:11] local.INFO: Processing buffer {"connection_id":123912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38dbb658012d0c564006ed03f0000d00ef2f..."} 
[2026-07-07 00:47:11] local.INFO: Packet analysis {"connection_id":123912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38db"} 
[2026-07-07 00:47:11] local.INFO: Extracted packet for processing {"connection_id":123912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38db"} 
[2026-07-07 00:47:11] local.INFO: GPS Element Parsed {"raw_longitude":755783232,"raw_latitude":116196336,"longitude_deg":75.5783232,"latitude_deg":11.6196336,"altitude":13,"angle":239,"satellites":47,"speed":10,"hex_longitude":"2d0c5640","hex_latitude":"06ed03f0","is_valid_coordinates":true} 
[2026-07-07 00:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541529344001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339850814988222464,"note":"Value kept but may cause issues"} 
[2026-07-07 00:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889531324896217088,"note":"Value kept but may cause issues"} 
[2026-07-07 00:47: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-07-07 00:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783365351000,"timestamp_ms":1783365351000,"timestamp_seconds":1783365351,"priority":1,"record_length":96,"hex_timestamp":"0000019f38dbb658"} 
[2026-07-07 00:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 00:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541529344001,"66":27137,"49":206,"80":6400,"24":10,"16":339850814988222464,"45":889531324896217088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-07 00:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541529344001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:47:11] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 00:47:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339850814988222464,"km_value":339850814988222.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":889531324896217088,"description":"Unknown IO ID 45"} 
[2026-07-07 00:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541529344001,"power":27137,"unknown_49":206,"unknown_80":6400,"ignition":10,"odometer":null,"unknown_45":889531324896217088}} 
[2026-07-07 00:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":123912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:47:11] local.INFO: GPS data processed {"connection_id":123912,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:47:11] local.INFO: Acknowledgment sent {"connection_id":123912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:47:16] local.INFO: TCP Data received {"connection_id":123912,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38dbd598012d0c518006ed0110000e00e130..."} 
[2026-07-07 00:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38dbd598012d0c518006ed0110000e00e130..."} 
[2026-07-07 00:47:16] local.INFO: Processing buffer {"connection_id":123912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38dbd598012d0c518006ed0110000e00e130..."} 
[2026-07-07 00:47:16] local.INFO: Packet analysis {"connection_id":123912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38db"} 
[2026-07-07 00:47:16] local.INFO: Extracted packet for processing {"connection_id":123912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38db"} 
[2026-07-07 00:47:16] local.INFO: GPS Element Parsed {"raw_longitude":755782016,"raw_latitude":116195600,"longitude_deg":75.5782016,"latitude_deg":11.61956,"altitude":14,"angle":225,"satellites":48,"speed":8,"hex_longitude":"2d0c5180","hex_latitude":"06ed0110","is_valid_coordinates":true} 
[2026-07-07 00:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541529856001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339850879412731904,"note":"Value kept but may cause issues"} 
[2026-07-07 00:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888968374942691328,"note":"Value kept but may cause issues"} 
[2026-07-07 00:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783365359000,"timestamp_ms":1783365359000,"timestamp_seconds":1783365359,"priority":1,"record_length":96,"hex_timestamp":"0000019f38dbd598"} 
[2026-07-07 00:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-07-07 00:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541529856001,"66":27245,"49":206,"80":6400,"24":8,"16":339850879412731904,"45":888968374942691328},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-07 00:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541529856001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:47:16] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 00:47:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339850879412731904,"km_value":339850879412731.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":888968374942691328,"description":"Unknown IO ID 45"} 
[2026-07-07 00:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541529856001,"power":27245,"unknown_49":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":888968374942691328}} 
[2026-07-07 00:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":123912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:47:16] local.INFO: GPS data processed {"connection_id":123912,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:47:16] local.INFO: Acknowledgment sent {"connection_id":123912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:48:01] local.INFO: TCP Data received {"connection_id":125915,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:48:01] local.INFO: Processing buffer {"connection_id":125915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:48:01] local.INFO: IMEI packet received {"connection_id":125915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":125915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:48:03] local.INFO: TCP Data received {"connection_id":125915,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:48:03] local.INFO: Processing buffer {"connection_id":125915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:48:03] local.INFO: IMEI packet received {"connection_id":125915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":125915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:48:05] local.INFO: TCP Data received {"connection_id":125915,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:48:05] local.INFO: Processing buffer {"connection_id":125915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:48:05] local.INFO: IMEI packet received {"connection_id":125915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":125915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:48:11] local.INFO: TCP Data received {"connection_id":125915,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:48:11] local.INFO: Processing buffer {"connection_id":125915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:48:11] local.INFO: IMEI packet received {"connection_id":125915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":125915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:48:15] local.INFO: TCP Data received {"connection_id":125915,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38dbdd68012d0c504006ecffb0000e00d330..."} 
[2026-07-07 00:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38dbdd68012d0c504006ecffb0000e00d330..."} 
[2026-07-07 00:48:15] local.INFO: Processing buffer {"connection_id":125915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38dbdd68012d0c504006ecffb0000e00d330..."} 
[2026-07-07 00:48:15] local.INFO: Packet analysis {"connection_id":125915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38db"} 
[2026-07-07 00:48:15] local.INFO: Extracted packet for processing {"connection_id":125915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38db"} 
[2026-07-07 00:48:15] local.INFO: GPS Element Parsed {"raw_longitude":755781696,"raw_latitude":116195248,"longitude_deg":75.5781696,"latitude_deg":11.6195248,"altitude":14,"angle":211,"satellites":48,"speed":9,"hex_longitude":"2d0c5040","hex_latitude":"06ecffb0","is_valid_coordinates":true} 
[2026-07-07 00:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541531904001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339850905182535680,"note":"Value kept but may cause issues"} 
[2026-07-07 00:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887631368803127296,"note":"Value kept but may cause issues"} 
[2026-07-07 00:48: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-07-07 00:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783365361000,"timestamp_ms":1783365361000,"timestamp_seconds":1783365361,"priority":1,"record_length":96,"hex_timestamp":"0000019f38dbdd68"} 
[2026-07-07 00:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:48: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-07-07 00:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 00:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541531904001,"66":27332,"49":206,"80":6400,"24":9,"16":339850905182535680,"45":887631368803127296},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-07 00:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541531904001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:48:15] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 00:48:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339850905182535680,"km_value":339850905182535.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":887631368803127296,"description":"Unknown IO ID 45"} 
[2026-07-07 00:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541531904001,"power":27332,"unknown_49":206,"unknown_80":6400,"ignition":9,"odometer":null,"unknown_45":887631368803127296}} 
[2026-07-07 00:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":125915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:48:15] local.INFO: GPS data processed {"connection_id":125915,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:48:15] local.INFO: Acknowledgment sent {"connection_id":125915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:49:00] local.INFO: TCP Data received {"connection_id":125916,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:49:00] local.INFO: Processing buffer {"connection_id":125916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:49:00] local.INFO: IMEI packet received {"connection_id":125916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":125916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:49:04] local.INFO: TCP Data received {"connection_id":125916,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:49:04] local.INFO: Processing buffer {"connection_id":125916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:49:04] local.INFO: IMEI packet received {"connection_id":125916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":125916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:49:05] local.INFO: TCP Data received {"connection_id":125916,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:49:05] local.INFO: Processing buffer {"connection_id":125916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:49:05] local.INFO: IMEI packet received {"connection_id":125916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":125916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:49:07] local.INFO: TCP Data received {"connection_id":125916,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38ddaa58012d0c4a0006ec55a0001800a132..."} 
[2026-07-07 00:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38ddaa58012d0c4a0006ec55a0001800a132..."} 
[2026-07-07 00:49:07] local.INFO: Processing buffer {"connection_id":125916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38ddaa58012d0c4a0006ec55a0001800a132..."} 
[2026-07-07 00:49:07] local.INFO: Packet analysis {"connection_id":125916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38dd"} 
[2026-07-07 00:49:07] local.INFO: Extracted packet for processing {"connection_id":125916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38dd"} 
[2026-07-07 00:49:07] local.INFO: GPS Element Parsed {"raw_longitude":755780096,"raw_latitude":116151712,"longitude_deg":75.5780096,"latitude_deg":11.6151712,"altitude":24,"angle":161,"satellites":50,"speed":25,"hex_longitude":"2d0c4a00","hex_latitude":"06ec55a0","is_valid_coordinates":true} 
[2026-07-07 00:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541559808001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339853048371216384,"note":"Value kept but may cause issues"} 
[2026-07-07 00:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884112931584376832,"note":"Value kept but may cause issues"} 
[2026-07-07 00:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783365479000,"timestamp_ms":1783365479000,"timestamp_seconds":1783365479,"priority":1,"record_length":96,"hex_timestamp":"0000019f38ddaa58"} 
[2026-07-07 00:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 00:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541559808001,"66":27484,"50":206,"80":6400,"24":25,"16":339853048371216384,"45":884112931584376832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-07-07 00:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541559808001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:49:07] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-07 00:49:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339853048371216384,"km_value":339853048371216.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":884112931584376832,"description":"Unknown IO ID 45"} 
[2026-07-07 00:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541559808001,"power":27484,"unknown_50":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":884112931584376832}} 
[2026-07-07 00:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":125916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:49:07] local.INFO: GPS data processed {"connection_id":125916,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:49:07] local.INFO: Acknowledgment sent {"connection_id":125916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:49:11] local.INFO: TCP Data received {"connection_id":125916,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38dde108012d0c598006ec34580017009d31..."} 
[2026-07-07 00:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38dde108012d0c598006ec34580017009d31..."} 
[2026-07-07 00:49:11] local.INFO: Processing buffer {"connection_id":125916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38dde108012d0c598006ec34580017009d31..."} 
[2026-07-07 00:49:11] local.INFO: Packet analysis {"connection_id":125916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38dd"} 
[2026-07-07 00:49:11] local.INFO: Extracted packet for processing {"connection_id":125916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38dd"} 
[2026-07-07 00:49:11] local.INFO: GPS Element Parsed {"raw_longitude":755784064,"raw_latitude":116143192,"longitude_deg":75.5784064,"latitude_deg":11.6143192,"altitude":23,"angle":157,"satellites":49,"speed":23,"hex_longitude":"2d0c5980","hex_latitude":"06ec3458","is_valid_coordinates":true} 
[2026-07-07 00:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541562624001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339853503637749760,"note":"Value kept but may cause issues"} 
[2026-07-07 00:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885520306466562048,"note":"Value kept but may cause issues"} 
[2026-07-07 00:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783365493000,"timestamp_ms":1783365493000,"timestamp_seconds":1783365493,"priority":1,"record_length":96,"hex_timestamp":"0000019f38dde108"} 
[2026-07-07 00:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00: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":92,"data_length":795,"current_offset":136} 
[2026-07-07 00:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541562624001,"66":27397,"50":206,"80":6400,"24":23,"16":339853503637749760,"45":885520306466562048},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-07-07 00:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541562624001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:49:11] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-07 00:49:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339853503637749760,"km_value":339853503637749.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":885520306466562048,"description":"Unknown IO ID 45"} 
[2026-07-07 00:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541562624001,"power":27397,"unknown_50":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":885520306466562048}} 
[2026-07-07 00:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":125916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:49:11] local.INFO: GPS data processed {"connection_id":125916,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:49:11] local.INFO: Acknowledgment sent {"connection_id":125916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:49:42] local.INFO: TCP Data received {"connection_id":125916,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38de0fe8012d0c640006ec1550001500a831..."} 
[2026-07-07 00:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38de0fe8012d0c640006ec1550001500a831..."} 
[2026-07-07 00:49:42] local.INFO: Processing buffer {"connection_id":125916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38de0fe8012d0c640006ec1550001500a831..."} 
[2026-07-07 00:49:42] local.INFO: Packet analysis {"connection_id":125916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38de"} 
[2026-07-07 00:49:42] local.INFO: Extracted packet for processing {"connection_id":125916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38de"} 
[2026-07-07 00:49:42] local.INFO: GPS Element Parsed {"raw_longitude":755786752,"raw_latitude":116135248,"longitude_deg":75.5786752,"latitude_deg":11.6135248,"altitude":21,"angle":168,"satellites":49,"speed":36,"hex_longitude":"2d0c6400","hex_latitude":"06ec1550","is_valid_coordinates":true} 
[2026-07-07 00:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541566208001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339853911659642880,"note":"Value kept but may cause issues"} 
[2026-07-07 00:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889883168603396096,"note":"Value kept but may cause issues"} 
[2026-07-07 00:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783365505000,"timestamp_ms":1783365505000,"timestamp_seconds":1783365505,"priority":1,"record_length":96,"hex_timestamp":"0000019f38de0fe8"} 
[2026-07-07 00:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:49: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-07-07 00: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":5,"data_length":795,"current_offset":136} 
[2026-07-07 00:49: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-07-07 00:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541566208001,"66":27343,"50":206,"80":6400,"24":36,"16":339853911659642880,"45":889883168603396096},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-07-07 00:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541566208001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:49:42] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-07 00:49:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339853911659642880,"km_value":339853911659642.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":889883168603396096,"description":"Unknown IO ID 45"} 
[2026-07-07 00:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541566208001,"power":27343,"unknown_50":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":889883168603396096}} 
[2026-07-07 00:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":125916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:49:42] local.INFO: GPS data processed {"connection_id":125916,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:49:42] local.INFO: Acknowledgment sent {"connection_id":125916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:50:00] local.INFO: TCP Data received {"connection_id":124659,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:50:00] local.INFO: Processing buffer {"connection_id":124659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:50:00] local.INFO: IMEI packet received {"connection_id":124659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":124659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:50:06] local.INFO: TCP Data received {"connection_id":124659,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:50:06] local.INFO: Processing buffer {"connection_id":124659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:50:06] local.INFO: IMEI packet received {"connection_id":124659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":124659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:50:07] local.INFO: TCP Data received {"connection_id":124659,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38de3310012d0c684006ebf220001100af30..."} 
[2026-07-07 00:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38de3310012d0c684006ebf220001100af30..."} 
[2026-07-07 00:50:07] local.INFO: Processing buffer {"connection_id":124659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38de3310012d0c684006ebf220001100af30..."} 
[2026-07-07 00:50:07] local.INFO: Packet analysis {"connection_id":124659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38de"} 
[2026-07-07 00:50:07] local.INFO: Extracted packet for processing {"connection_id":124659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38de"} 
[2026-07-07 00:50:07] local.INFO: GPS Element Parsed {"raw_longitude":755787840,"raw_latitude":116126240,"longitude_deg":75.578784,"latitude_deg":11.612624,"altitude":17,"angle":175,"satellites":48,"speed":41,"hex_longitude":"2d0c6840","hex_latitude":"06ebf220","is_valid_coordinates":true} 
[2026-07-07 00:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541569280001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339854349746307072,"note":"Value kept but may cause issues"} 
[2026-07-07 00:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892838655856824320,"note":"Value kept but may cause issues"} 
[2026-07-07 00:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783365514000,"timestamp_ms":1783365514000,"timestamp_seconds":1783365514,"priority":1,"record_length":96,"hex_timestamp":"0000019f38de3310"} 
[2026-07-07 00:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:50: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-07-07 00:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 00:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541569280001,"66":27180,"50":206,"80":6400,"24":41,"16":339854349746307072,"45":892838655856824320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-07-07 00:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541569280001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:50:07] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-07 00:50:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339854349746307072,"km_value":339854349746307.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":892838655856824320,"description":"Unknown IO ID 45"} 
[2026-07-07 00:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541569280001,"power":27180,"unknown_50":206,"unknown_80":6400,"ignition":41,"odometer":null,"unknown_45":892838655856824320}} 
[2026-07-07 00:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":124659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:50:07] local.INFO: GPS data processed {"connection_id":124659,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:50:07] local.INFO: Acknowledgment sent {"connection_id":124659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:50:38] local.INFO: TCP Data received {"connection_id":124659,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38df6b90012d0c91c006eb7598001800c42f..."} 
[2026-07-07 00:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38df6b90012d0c91c006eb7598001800c42f..."} 
[2026-07-07 00:50:38] local.INFO: Processing buffer {"connection_id":124659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38df6b90012d0c91c006eb7598001800c42f..."} 
[2026-07-07 00:50:38] local.INFO: Packet analysis {"connection_id":124659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38df"} 
[2026-07-07 00:50:38] local.INFO: Extracted packet for processing {"connection_id":124659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38df"} 
[2026-07-07 00:50:38] local.INFO: GPS Element Parsed {"raw_longitude":755798464,"raw_latitude":116094360,"longitude_deg":75.5798464,"latitude_deg":11.609436,"altitude":24,"angle":196,"satellites":47,"speed":5,"hex_longitude":"2d0c91c0","hex_latitude":"06eb7598","is_valid_coordinates":true} 
[2026-07-07 00:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541591552001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339856467165184000,"note":"Value kept but may cause issues"} 
[2026-07-07 00:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905997611007641600,"note":"Value kept but may cause issues"} 
[2026-07-07 00:50:38] 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-07-07 00:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783365594000,"timestamp_ms":1783365594000,"timestamp_seconds":1783365594,"priority":1,"record_length":96,"hex_timestamp":"0000019f38df6b90"} 
[2026-07-07 00:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:50: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-07-07 00:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 00:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541591552001,"66":27343,"238":206,"80":6400,"24":5,"16":339856467165184000,"45":905997611007641600},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-07-07 00:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541591552001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:50:38] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-07 00:50:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339856467165184000,"km_value":339856467165184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":905997611007641600,"description":"Unknown IO ID 45"} 
[2026-07-07 00:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541591552001,"power":27343,"unknown_238":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":905997611007641600}} 
[2026-07-07 00:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":124659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:50:38] local.INFO: GPS data processed {"connection_id":124659,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:50:38] local.INFO: Acknowledgment sent {"connection_id":124659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:51:03] local.INFO: TCP Data received {"connection_id":125917,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:51:03] local.INFO: Processing buffer {"connection_id":125917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:51:03] local.INFO: IMEI packet received {"connection_id":125917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":125917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:51:05] local.INFO: TCP Data received {"connection_id":125917,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:51:05] local.INFO: Processing buffer {"connection_id":125917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:51:05] local.INFO: IMEI packet received {"connection_id":125917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":125917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:51:11] local.INFO: TCP Data received {"connection_id":125917,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:51:11] local.INFO: Processing buffer {"connection_id":125917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:51:11] local.INFO: IMEI packet received {"connection_id":125917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":125917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:51:13] local.INFO: TCP Data received {"connection_id":125917,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38df7360012d0c918006eb7398001800ac2f..."} 
[2026-07-07 00:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38df7360012d0c918006eb7398001800ac2f..."} 
[2026-07-07 00:51:13] local.INFO: Processing buffer {"connection_id":125917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38df7360012d0c918006eb7398001800ac2f..."} 
[2026-07-07 00:51:13] local.INFO: Packet analysis {"connection_id":125917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38df"} 
[2026-07-07 00:51:13] local.INFO: Extracted packet for processing {"connection_id":125917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38df"} 
[2026-07-07 00:51:13] local.INFO: GPS Element Parsed {"raw_longitude":755798400,"raw_latitude":116093848,"longitude_deg":75.57984,"latitude_deg":11.6093848,"altitude":24,"angle":172,"satellites":47,"speed":13,"hex_longitude":"2d0c9180","hex_latitude":"06eb7398","is_valid_coordinates":true} 
[2026-07-07 00:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541592064001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339856492934987776,"note":"Value kept but may cause issues"} 
[2026-07-07 00:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905716136030869504,"note":"Value kept but may cause issues"} 
[2026-07-07 00:51:13] 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-07-07 00:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783365596000,"timestamp_ms":1783365596000,"timestamp_seconds":1783365596,"priority":1,"record_length":96,"hex_timestamp":"0000019f38df7360"} 
[2026-07-07 00:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00: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-07-07 00: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":207,"data_length":795,"current_offset":136} 
[2026-07-07 00:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541592064001,"66":27343,"238":206,"80":6400,"24":13,"16":339856492934987776,"45":905716136030869504},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-07-07 00:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541592064001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:51:13] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-07 00:51:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339856492934987776,"km_value":339856492934987.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":905716136030869504,"description":"Unknown IO ID 45"} 
[2026-07-07 00:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541592064001,"power":27343,"unknown_238":206,"unknown_80":6400,"ignition":13,"odometer":null,"unknown_45":905716136030869504}} 
[2026-07-07 00:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":125917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:51:13] local.INFO: GPS data processed {"connection_id":125917,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:51:13] local.INFO: Acknowledgment sent {"connection_id":125917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:51:14] local.INFO: TCP Data received {"connection_id":125917,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38df7b30012d0c928006eb70980017009b30..."} 
[2026-07-07 00:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38df7b30012d0c928006eb70980017009b30..."} 
[2026-07-07 00:51:14] local.INFO: Processing buffer {"connection_id":125917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38df7b30012d0c928006eb70980017009b30..."} 
[2026-07-07 00:51:14] local.INFO: Packet analysis {"connection_id":125917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38df"} 
[2026-07-07 00:51:14] local.INFO: Extracted packet for processing {"connection_id":125917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38df"} 
[2026-07-07 00:51:14] local.INFO: GPS Element Parsed {"raw_longitude":755798656,"raw_latitude":116093080,"longitude_deg":75.5798656,"latitude_deg":11.609308,"altitude":23,"angle":155,"satellites":48,"speed":17,"hex_longitude":"2d0c9280","hex_latitude":"06eb7098","is_valid_coordinates":true} 
[2026-07-07 00:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541592576001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339856531589693440,"note":"Value kept but may cause issues"} 
[2026-07-07 00:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905645767286560768,"note":"Value kept but may cause issues"} 
[2026-07-07 00:51:14] 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-07-07 00:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783365598000,"timestamp_ms":1783365598000,"timestamp_seconds":1783365598,"priority":1,"record_length":96,"hex_timestamp":"0000019f38df7b30"} 
[2026-07-07 00:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00: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-07-07 00: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":207,"data_length":795,"current_offset":136} 
[2026-07-07 00:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:51: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-07-07 00:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541592576001,"66":27343,"238":206,"80":6400,"24":17,"16":339856531589693440,"45":905645767286560768},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-07-07 00:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541592576001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:51:14] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-07 00:51:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339856531589693440,"km_value":339856531589693.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":905645767286560768,"description":"Unknown IO ID 45"} 
[2026-07-07 00:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541592576001,"power":27343,"unknown_238":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":905645767286560768}} 
[2026-07-07 00:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":125917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:51:14] local.INFO: GPS data processed {"connection_id":125917,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:51:14] local.INFO: Acknowledgment sent {"connection_id":125917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:51:45] local.INFO: TCP Data received {"connection_id":125917,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38dfa240012d0ca24006eb54f00012008f2f..."} 
[2026-07-07 00:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38dfa240012d0ca24006eb54f00012008f2f..."} 
[2026-07-07 00:51:45] local.INFO: Processing buffer {"connection_id":125917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38dfa240012d0ca24006eb54f00012008f2f..."} 
[2026-07-07 00:51:45] local.INFO: Packet analysis {"connection_id":125917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38df"} 
[2026-07-07 00:51:45] local.INFO: Extracted packet for processing {"connection_id":125917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38df"} 
[2026-07-07 00:51:45] local.INFO: GPS Element Parsed {"raw_longitude":755802688,"raw_latitude":116086000,"longitude_deg":75.5802688,"latitude_deg":11.6086,"altitude":18,"angle":143,"satellites":47,"speed":44,"hex_longitude":"2d0ca240","hex_latitude":"06eb54f0","is_valid_coordinates":true} 
[2026-07-07 00:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541593088001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339856926726684672,"note":"Value kept but may cause issues"} 
[2026-07-07 00:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905927242263074816,"note":"Value kept but may cause issues"} 
[2026-07-07 00:51:45] 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-07-07 00:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783365608000,"timestamp_ms":1783365608000,"timestamp_seconds":1783365608,"priority":1,"record_length":96,"hex_timestamp":"0000019f38dfa240"} 
[2026-07-07 00:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00: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-07-07 00:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 00:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":125917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":125917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":125917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:51: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-07-07 00:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541593088001,"66":27343,"238":206,"80":6400,"24":44,"16":339856926726684672,"45":905927242263074816},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-07-07 00:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541593088001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:51:45] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-07 00:51:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339856926726684672,"km_value":339856926726684.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":905927242263074816,"description":"Unknown IO ID 45"} 
[2026-07-07 00:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541593088001,"power":27343,"unknown_238":206,"unknown_80":6400,"ignition":44,"odometer":null,"unknown_45":905927242263074816}} 
[2026-07-07 00:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":125917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:51:45] local.INFO: GPS data processed {"connection_id":125917,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:51:45] local.INFO: Acknowledgment sent {"connection_id":125917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:52:01] local.INFO: TCP Data received {"connection_id":124012,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:52:01] local.INFO: Processing buffer {"connection_id":124012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:52:01] local.INFO: IMEI packet received {"connection_id":124012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":124012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:52:06] local.INFO: TCP Data received {"connection_id":124012,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:52:06] local.INFO: Processing buffer {"connection_id":124012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:52:06] local.INFO: IMEI packet received {"connection_id":124012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":124012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:52:09] local.INFO: TCP Data received {"connection_id":124012,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38dfc180012d0cb94006eb3650000e008e2b..."} 
[2026-07-07 00:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38dfc180012d0cb94006eb3650000e008e2b..."} 
[2026-07-07 00:52:09] local.INFO: Processing buffer {"connection_id":124012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38dfc180012d0cb94006eb3650000e008e2b..."} 
[2026-07-07 00:52:09] local.INFO: Packet analysis {"connection_id":124012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38df"} 
[2026-07-07 00:52:09] local.INFO: Extracted packet for processing {"connection_id":124012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38df"} 
[2026-07-07 00:52:09] local.INFO: GPS Element Parsed {"raw_longitude":755808576,"raw_latitude":116078160,"longitude_deg":75.5808576,"latitude_deg":11.607816,"altitude":14,"angle":142,"satellites":43,"speed":49,"hex_longitude":"2d0cb940","hex_latitude":"06eb3650","is_valid_coordinates":true} 
[2026-07-07 00:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541595648001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339857394878119936,"note":"Value kept but may cause issues"} 
[2026-07-07 00:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910360473144455168,"note":"Value kept but may cause issues"} 
[2026-07-07 00:52:09] 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-07-07 00:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783365616000,"timestamp_ms":1783365616000,"timestamp_seconds":1783365616,"priority":1,"record_length":96,"hex_timestamp":"0000019f38dfc180"} 
[2026-07-07 00:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 00:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541595648001,"66":27365,"236":206,"80":6400,"24":49,"16":339857394878119936,"45":910360473144455168},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-07-07 00:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541595648001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:52:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-07 00:52:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339857394878119936,"km_value":339857394878119.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":910360473144455168,"description":"Unknown IO ID 45"} 
[2026-07-07 00:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541595648001,"power":27365,"unknown_236":206,"unknown_80":6400,"ignition":49,"odometer":null,"unknown_45":910360473144455168}} 
[2026-07-07 00:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":124012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:52:09] local.INFO: GPS data processed {"connection_id":124012,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:52:09] local.INFO: Acknowledgment sent {"connection_id":124012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:52:14] local.INFO: TCP Data received {"connection_id":124012,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38dfe0c0012d0ccfc006eb1910000e008f2b..."} 
[2026-07-07 00:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38dfe0c0012d0ccfc006eb1910000e008f2b..."} 
[2026-07-07 00:52:14] local.INFO: Processing buffer {"connection_id":124012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38dfe0c0012d0ccfc006eb1910000e008f2b..."} 
[2026-07-07 00:52:14] local.INFO: Packet analysis {"connection_id":124012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38df"} 
[2026-07-07 00:52:14] local.INFO: Extracted packet for processing {"connection_id":124012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38df"} 
[2026-07-07 00:52:14] local.INFO: GPS Element Parsed {"raw_longitude":755814336,"raw_latitude":116070672,"longitude_deg":75.5814336,"latitude_deg":11.6070672,"altitude":14,"angle":143,"satellites":43,"speed":45,"hex_longitude":"2d0ccfc0","hex_latitude":"06eb1910","is_valid_coordinates":true} 
[2026-07-07 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-07-07 00:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541597696001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339857854439620608,"note":"Value kept but may cause issues"} 
[2026-07-07 00:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916834397606793216,"note":"Value kept but may cause issues"} 
[2026-07-07 00:52:14] 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-07-07 00:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783365624000,"timestamp_ms":1783365624000,"timestamp_seconds":1783365624,"priority":1,"record_length":96,"hex_timestamp":"0000019f38dfe0c0"} 
[2026-07-07 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-07-07 00: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-07-07 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 00:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 00:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:52: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-07-07 00:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541597696001,"66":27343,"236":206,"80":6400,"24":45,"16":339857854439620608,"45":916834397606793216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-07-07 00:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541597696001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:52:14] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-07 00:52:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339857854439620608,"km_value":339857854439620.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":916834397606793216,"description":"Unknown IO ID 45"} 
[2026-07-07 00:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541597696001,"power":27343,"unknown_236":206,"unknown_80":6400,"ignition":45,"odometer":null,"unknown_45":916834397606793216}} 
[2026-07-07 00:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":124012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:52:14] local.INFO: GPS data processed {"connection_id":124012,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:52:14] local.INFO: Acknowledgment sent {"connection_id":124012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:52:30] local.INFO: TCP Data received {"connection_id":124661,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:52:30] local.INFO: Processing buffer {"connection_id":124661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:52:30] local.INFO: IMEI packet received {"connection_id":124661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 00:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":124661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:53:00] local.INFO: TCP Data received {"connection_id":124663,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:53:00] local.INFO: Processing buffer {"connection_id":124663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:53:00] local.INFO: IMEI packet received {"connection_id":124663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 00:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":124663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:53:01] local.INFO: TCP Data received {"connection_id":124662,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:53:01] local.INFO: Processing buffer {"connection_id":124662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:53:01] local.INFO: IMEI packet received {"connection_id":124662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":124662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:53:01] local.INFO: TCP Data received {"connection_id":124662,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:53:01] local.INFO: Processing buffer {"connection_id":124662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:53:01] local.INFO: IMEI packet received {"connection_id":124662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":124662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:53:05] local.INFO: TCP Data received {"connection_id":124662,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:53:05] local.INFO: Processing buffer {"connection_id":124662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:53:05] local.INFO: IMEI packet received {"connection_id":124662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":124662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:53:07] local.INFO: TCP Data received {"connection_id":124662,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e16378012d0d620006ea0838001100bd2e..."} 
[2026-07-07 00:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e16378012d0d620006ea0838001100bd2e..."} 
[2026-07-07 00:53:07] local.INFO: Processing buffer {"connection_id":124662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e16378012d0d620006ea0838001100bd2e..."} 
[2026-07-07 00:53:07] local.INFO: Packet analysis {"connection_id":124662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e1"} 
[2026-07-07 00:53:07] local.INFO: Extracted packet for processing {"connection_id":124662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e1"} 
[2026-07-07 00:53:07] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000824,"longitude_deg":75.5851776,"latitude_deg":11.6000824,"altitude":17,"angle":189,"satellites":46,"speed":33,"hex_longitude":"2d0d6200","hex_latitude":"06ea0838","is_valid_coordinates":true} 
[2026-07-07 00:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541624064001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339861947543453696,"note":"Value kept but may cause issues"} 
[2026-07-07 00:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964403668652064768,"note":"Value kept but may cause issues"} 
[2026-07-07 00:53:07] 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-07-07 00:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783365723000,"timestamp_ms":1783365723000,"timestamp_seconds":1783365723,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e16378"} 
[2026-07-07 00:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 00:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541624064001,"66":27365,"250":206,"80":6400,"24":33,"16":339861947543453696,"45":964403668652064768},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-07-07 00:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541624064001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:53:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 00:53:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339861947543453696,"km_value":339861947543453.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":964403668652064768,"description":"Unknown IO ID 45"} 
[2026-07-07 00:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541624064001,"power":27365,"unknown_250":206,"unknown_80":6400,"ignition":33,"odometer":null,"unknown_45":964403668652064768}} 
[2026-07-07 00:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":124662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:53:07] local.INFO: GPS data processed {"connection_id":124662,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:53:07] local.INFO: Acknowledgment sent {"connection_id":124662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:53:11] local.INFO: TCP Data received {"connection_id":124662,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e16f30012d0d614006e9ffa8001200a930..."} 
[2026-07-07 00:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e16f30012d0d614006e9ffa8001200a930..."} 
[2026-07-07 00:53:11] local.INFO: Processing buffer {"connection_id":124662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e16f30012d0d614006e9ffa8001200a930..."} 
[2026-07-07 00:53:11] local.INFO: Packet analysis {"connection_id":124662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e1"} 
[2026-07-07 00:53:11] local.INFO: Extracted packet for processing {"connection_id":124662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e1"} 
[2026-07-07 00:53:11] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":115998632,"longitude_deg":75.5851584,"latitude_deg":11.5998632,"altitude":18,"angle":169,"satellites":48,"speed":26,"hex_longitude":"2d0d6140","hex_latitude":"06e9ffa8","is_valid_coordinates":true} 
[2026-07-07 00:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541625088001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339862054917636096,"note":"Value kept but may cause issues"} 
[2026-07-07 00:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906918400,"note":"Value kept but may cause issues"} 
[2026-07-07 00:53:11] 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-07-07 00:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783365726000,"timestamp_ms":1783365726000,"timestamp_seconds":1783365726,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e16f30"} 
[2026-07-07 00:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:53: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-07-07 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 00:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541625088001,"66":27376,"250":206,"80":6400,"24":26,"16":339862054917636096,"45":964333299906918400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-07-07 00:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541625088001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:53:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 00:53:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339862054917636096,"km_value":339862054917636.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906918400,"description":"Unknown IO ID 45"} 
[2026-07-07 00:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541625088001,"power":27376,"unknown_250":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":964333299906918400}} 
[2026-07-07 00:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":124662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:53:11] local.INFO: GPS data processed {"connection_id":124662,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:53:11] local.INFO: Acknowledgment sent {"connection_id":124662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:53:42] local.INFO: TCP Data received {"connection_id":124662,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e17318012d0d624006e9fd68001300972f..."} 
[2026-07-07 00:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e17318012d0d624006e9fd68001300972f..."} 
[2026-07-07 00:53:42] local.INFO: Processing buffer {"connection_id":124662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e17318012d0d624006e9fd68001300972f..."} 
[2026-07-07 00:53:42] local.INFO: Packet analysis {"connection_id":124662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e1"} 
[2026-07-07 00:53:42] local.INFO: Extracted packet for processing {"connection_id":124662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e1"} 
[2026-07-07 00:53:42] local.INFO: GPS Element Parsed {"raw_longitude":755851840,"raw_latitude":115998056,"longitude_deg":75.585184,"latitude_deg":11.5998056,"altitude":19,"angle":151,"satellites":47,"speed":24,"hex_longitude":"2d0d6240","hex_latitude":"06e9fd68","is_valid_coordinates":true} 
[2026-07-07 00:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541625856001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339862084982407168,"note":"Value kept but may cause issues"} 
[2026-07-07 00:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193673824256,"note":"Value kept but may cause issues"} 
[2026-07-07 00:53:42] 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-07-07 00:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783365727000,"timestamp_ms":1783365727000,"timestamp_seconds":1783365727,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e17318"} 
[2026-07-07 00:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:53: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-07-07 00:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 00:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541625856001,"66":27267,"250":206,"80":6400,"24":24,"16":339862084982407168,"45":964122193673824256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-07-07 00:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541625856001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:53:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 00:53:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339862084982407168,"km_value":339862084982407.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193673824256,"description":"Unknown IO ID 45"} 
[2026-07-07 00:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541625856001,"power":27267,"unknown_250":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":964122193673824256}} 
[2026-07-07 00:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":124662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:53:42] local.INFO: GPS data processed {"connection_id":124662,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:53:42] local.INFO: Acknowledgment sent {"connection_id":124662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:54:00] local.INFO: TCP Data received {"connection_id":124013,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:54:00] local.INFO: Processing buffer {"connection_id":124013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:54:00] local.INFO: IMEI packet received {"connection_id":124013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":124013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:54:05] local.INFO: TCP Data received {"connection_id":124013,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:54:05] local.INFO: Processing buffer {"connection_id":124013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:54:05] local.INFO: IMEI packet received {"connection_id":124013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":124013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:54:07] local.INFO: TCP Data received {"connection_id":124013,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e17700012d0d63c006e9fbc0001300842d..."} 
[2026-07-07 00:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e17700012d0d63c006e9fbc0001300842d..."} 
[2026-07-07 00:54:07] local.INFO: Processing buffer {"connection_id":124013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e17700012d0d63c006e9fbc0001300842d..."} 
[2026-07-07 00:54:07] local.INFO: Packet analysis {"connection_id":124013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e1"} 
[2026-07-07 00:54:07] local.INFO: Extracted packet for processing {"connection_id":124013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e1"} 
[2026-07-07 00:54:07] local.INFO: GPS Element Parsed {"raw_longitude":755852224,"raw_latitude":115997632,"longitude_deg":75.5852224,"latitude_deg":11.5997632,"altitude":19,"angle":132,"satellites":45,"speed":22,"hex_longitude":"2d0d63c0","hex_latitude":"06e9fbc0","is_valid_coordinates":true} 
[2026-07-07 00:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541626112001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339862110752210944,"note":"Value kept but may cause issues"} 
[2026-07-07 00:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964403668650387456,"note":"Value kept but may cause issues"} 
[2026-07-07 00:54:07] 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-07-07 00:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783365728000,"timestamp_ms":1783365728000,"timestamp_seconds":1783365728,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e17700"} 
[2026-07-07 00:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 00:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541626112001,"66":27267,"250":206,"80":6400,"24":22,"16":339862110752210944,"45":964403668650387456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-07-07 00:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541626112001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:54:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 00:54:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339862110752210944,"km_value":339862110752210.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":964403668650387456,"description":"Unknown IO ID 45"} 
[2026-07-07 00:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541626112001,"power":27267,"unknown_250":206,"unknown_80":6400,"ignition":22,"odometer":null,"unknown_45":964403668650387456}} 
[2026-07-07 00:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":124013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:54:07] local.INFO: GPS data processed {"connection_id":124013,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:54:07] local.INFO: Acknowledgment sent {"connection_id":124013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:54:39] local.INFO: TCP Data received {"connection_id":124013,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e2e248012d0e29c006e953f0001500932e..."} 
[2026-07-07 00:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e2e248012d0e29c006e953f0001500932e..."} 
[2026-07-07 00:54:39] local.INFO: Processing buffer {"connection_id":124013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e2e248012d0e29c006e953f0001500932e..."} 
[2026-07-07 00:54:39] local.INFO: Packet analysis {"connection_id":124013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e2"} 
[2026-07-07 00:54:39] local.INFO: Extracted packet for processing {"connection_id":124013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e2"} 
[2026-07-07 00:54:39] local.INFO: GPS Element Parsed {"raw_longitude":755902912,"raw_latitude":115954672,"longitude_deg":75.5902912,"latitude_deg":11.5954672,"altitude":21,"angle":147,"satellites":46,"speed":36,"hex_longitude":"2d0e29c0","hex_latitude":"06e953f0","is_valid_coordinates":true} 
[2026-07-07 00: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-07-07 00:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541649152001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339865336272650240,"note":"Value kept but may cause issues"} 
[2026-07-07 00:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1017602439238275072,"note":"Value kept but may cause issues"} 
[2026-07-07 00:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783365821000,"timestamp_ms":1783365821000,"timestamp_seconds":1783365821,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e2e248"} 
[2026-07-07 00:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:54: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-07-07 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 00:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00: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-07-07 00:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541649152001,"66":27376,"242":206,"80":6400,"24":36,"16":339865336272650240,"45":1017602439238275072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,80,24,16,45]} 
[2026-07-07 00:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541649152001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:54:39] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-07 00:54:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339865336272650240,"km_value":339865336272650.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1017602439238275072,"description":"Unknown IO ID 45"} 
[2026-07-07 00:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541649152001,"power":27376,"unknown_242":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":1017602439238275072}} 
[2026-07-07 00:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":124013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:54:39] local.INFO: GPS data processed {"connection_id":124013,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:54:39] local.INFO: Acknowledgment sent {"connection_id":124013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:55:00] local.INFO: TCP Data received {"connection_id":125918,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:55:00] local.INFO: Processing buffer {"connection_id":125918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:55:00] local.INFO: IMEI packet received {"connection_id":125918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":125918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:55:01] local.INFO: TCP Data received {"connection_id":125918,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:55:01] local.INFO: Processing buffer {"connection_id":125918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:55:01] local.INFO: IMEI packet received {"connection_id":125918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":125918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:55:04] local.INFO: TCP Data received {"connection_id":125918,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:55:04] local.INFO: Processing buffer {"connection_id":125918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:55:04] local.INFO: IMEI packet received {"connection_id":125918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":125918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:55:05] local.INFO: TCP Data received {"connection_id":125918,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e2ea18012d0e2cc006e94d48001400a22e..."} 
[2026-07-07 00:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e2ea18012d0e2cc006e94d48001400a22e..."} 
[2026-07-07 00:55:05] local.INFO: Processing buffer {"connection_id":125918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e2ea18012d0e2cc006e94d48001400a22e..."} 
[2026-07-07 00:55:05] local.INFO: Packet analysis {"connection_id":125918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e2"} 
[2026-07-07 00:55:05] local.INFO: Extracted packet for processing {"connection_id":125918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e2"} 
[2026-07-07 00:55:05] local.INFO: GPS Element Parsed {"raw_longitude":755903680,"raw_latitude":115952968,"longitude_deg":75.590368,"latitude_deg":11.5952968,"altitude":20,"angle":162,"satellites":46,"speed":37,"hex_longitude":"2d0e2cc0","hex_latitude":"06e94d48","is_valid_coordinates":true} 
[2026-07-07 00:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541650176001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339865426466963456,"note":"Value kept but may cause issues"} 
[2026-07-07 00:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020557926493057024,"note":"Value kept but may cause issues"} 
[2026-07-07 00:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783365823000,"timestamp_ms":1783365823000,"timestamp_seconds":1783365823,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e2ea18"} 
[2026-07-07 00:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 00:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541650176001,"66":27397,"242":206,"80":6400,"24":37,"16":339865426466963456,"45":1020557926493057024},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,80,24,16,45]} 
[2026-07-07 00:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541650176001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:55:05] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-07 00:55:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339865426466963456,"km_value":339865426466963.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020557926493057024,"description":"Unknown IO ID 45"} 
[2026-07-07 00:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541650176001,"power":27397,"unknown_242":206,"unknown_80":6400,"ignition":37,"odometer":null,"unknown_45":1020557926493057024}} 
[2026-07-07 00:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":125918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:55:05] local.INFO: GPS data processed {"connection_id":125918,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:55:05] local.INFO: Acknowledgment sent {"connection_id":125918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:55:37] local.INFO: TCP Data received {"connection_id":125918,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e30d40012d0e370006e92b98001600a32c..."} 
[2026-07-07 00:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e30d40012d0e370006e92b98001600a32c..."} 
[2026-07-07 00:55:37] local.INFO: Processing buffer {"connection_id":125918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e30d40012d0e370006e92b98001600a32c..."} 
[2026-07-07 00:55:37] local.INFO: Packet analysis {"connection_id":125918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e3"} 
[2026-07-07 00:55:37] local.INFO: Extracted packet for processing {"connection_id":125918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e3"} 
[2026-07-07 00:55:37] local.INFO: GPS Element Parsed {"raw_longitude":755906304,"raw_latitude":115944344,"longitude_deg":75.5906304,"latitude_deg":11.5944344,"altitude":22,"angle":163,"satellites":44,"speed":37,"hex_longitude":"2d0e3700","hex_latitude":"06e92b98","is_valid_coordinates":true} 
[2026-07-07 00:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541650688001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339865860258660352,"note":"Value kept but may cause issues"} 
[2026-07-07 00:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021402351422752768,"note":"Value kept but may cause issues"} 
[2026-07-07 00:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783365832000,"timestamp_ms":1783365832000,"timestamp_seconds":1783365832,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e30d40"} 
[2026-07-07 00:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:55: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-07-07 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 00:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541650688001,"66":27397,"242":206,"80":6400,"24":37,"16":339865860258660352,"45":1021402351422752768},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,80,24,16,45]} 
[2026-07-07 00:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541650688001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:55:37] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-07 00:55:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339865860258660352,"km_value":339865860258660.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021402351422752768,"description":"Unknown IO ID 45"} 
[2026-07-07 00:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541650688001,"power":27397,"unknown_242":206,"unknown_80":6400,"ignition":37,"odometer":null,"unknown_45":1021402351422752768}} 
[2026-07-07 00:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":125918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:55:37] local.INFO: GPS data processed {"connection_id":125918,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:55:37] local.INFO: Acknowledgment sent {"connection_id":125918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:56:00] local.INFO: TCP Data received {"connection_id":124666,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:56:00] local.INFO: Processing buffer {"connection_id":124666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:56:00] local.INFO: IMEI packet received {"connection_id":124666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":124666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:56:05] local.INFO: TCP Data received {"connection_id":124666,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:56:05] local.INFO: Processing buffer {"connection_id":124666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:56:05] local.INFO: IMEI packet received {"connection_id":124666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":124666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:56:06] local.INFO: TCP Data received {"connection_id":124666,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e33450012d0e3f8006e90990001b00a42e..."} 
[2026-07-07 00:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e33450012d0e3f8006e90990001b00a42e..."} 
[2026-07-07 00:56:06] local.INFO: Processing buffer {"connection_id":124666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e33450012d0e3f8006e90990001b00a42e..."} 
[2026-07-07 00:56:06] local.INFO: Packet analysis {"connection_id":124666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e3"} 
[2026-07-07 00:56:06] local.INFO: Extracted packet for processing {"connection_id":124666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e3"} 
[2026-07-07 00:56:06] local.INFO: GPS Element Parsed {"raw_longitude":755908480,"raw_latitude":115935632,"longitude_deg":75.590848,"latitude_deg":11.5935632,"altitude":27,"angle":164,"satellites":46,"speed":33,"hex_longitude":"2d0e3f80","hex_latitude":"06e90990","is_valid_coordinates":true} 
[2026-07-07 00:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541652992001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339866298345324544,"note":"Value kept but may cause issues"} 
[2026-07-07 00:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1024287469931829248,"note":"Value kept but may cause issues"} 
[2026-07-07 00:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783365842000,"timestamp_ms":1783365842000,"timestamp_seconds":1783365842,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e33450"} 
[2026-07-07 00:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 00:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541652992001,"66":27213,"240":206,"80":6400,"24":33,"16":339866298345324544,"45":1024287469931829248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-07-07 00:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541652992001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:56:06] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-07 00:56:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339866298345324544,"km_value":339866298345324.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1024287469931829248,"description":"Unknown IO ID 45"} 
[2026-07-07 00:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541652992001,"power":27213,"unknown_240":206,"unknown_80":6400,"ignition":33,"odometer":null,"unknown_45":1024287469931829248}} 
[2026-07-07 00:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":124666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:56:06] local.INFO: GPS data processed {"connection_id":124666,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:56:06] local.INFO: Acknowledgment sent {"connection_id":124666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:56:38] local.INFO: TCP Data received {"connection_id":124666,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e4ca90012d0e898006e7ad500009009730..."} 
[2026-07-07 00:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e4ca90012d0e898006e7ad500009009730..."} 
[2026-07-07 00:56:38] local.INFO: Processing buffer {"connection_id":124666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e4ca90012d0e898006e7ad500009009730..."} 
[2026-07-07 00:56:38] local.INFO: Packet analysis {"connection_id":124666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e4"} 
[2026-07-07 00:56:38] local.INFO: Extracted packet for processing {"connection_id":124666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e4"} 
[2026-07-07 00:56:38] local.INFO: GPS Element Parsed {"raw_longitude":755927424,"raw_latitude":115846480,"longitude_deg":75.5927424,"latitude_deg":11.584648,"altitude":9,"angle":151,"satellites":48,"speed":35,"hex_longitude":"2d0e8980","hex_latitude":"06e7ad50","is_valid_coordinates":true} 
[2026-07-07 00:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541679872001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339870735046541312,"note":"Value kept but may cause issues"} 
[2026-07-07 00:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1045609199394492416,"note":"Value kept but may cause issues"} 
[2026-07-07 00:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783365946000,"timestamp_ms":1783365946000,"timestamp_seconds":1783365946,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e4ca90"} 
[2026-07-07 00:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:56: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-07-07 00:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 00:56: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-07-07 00:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541679872001,"66":27300,"177":206,"80":6400,"24":35,"16":339870735046541312,"45":1045609199394492416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-07 00:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541679872001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:56:38] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 00:56:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339870735046541312,"km_value":339870735046541.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1045609199394492416,"description":"Unknown IO ID 45"} 
[2026-07-07 00:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541679872001,"power":27300,"unknown_177":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":1045609199394492416}} 
[2026-07-07 00:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":124666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:56:38] local.INFO: GPS data processed {"connection_id":124666,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:56:38] local.INFO: Acknowledgment sent {"connection_id":124666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:57:15] local.INFO: TCP Data received {"connection_id":124014,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:57:15] local.INFO: Processing buffer {"connection_id":124014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:57:15] local.INFO: IMEI packet received {"connection_id":124014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":124014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:57:21] local.INFO: TCP Data received {"connection_id":124014,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:57:21] local.INFO: Processing buffer {"connection_id":124014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:57:21] local.INFO: IMEI packet received {"connection_id":124014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":124014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:57:22] local.INFO: TCP Data received {"connection_id":124014,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e4e200012d0e954006e79cf80008008c2f..."} 
[2026-07-07 00:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e4e200012d0e954006e79cf80008008c2f..."} 
[2026-07-07 00:57:22] local.INFO: Processing buffer {"connection_id":124014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e4e200012d0e954006e79cf80008008c2f..."} 
[2026-07-07 00:57:22] local.INFO: Packet analysis {"connection_id":124014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e4"} 
[2026-07-07 00:57:22] local.INFO: Extracted packet for processing {"connection_id":124014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e4"} 
[2026-07-07 00:57:22] local.INFO: GPS Element Parsed {"raw_longitude":755930432,"raw_latitude":115842296,"longitude_deg":75.5930432,"latitude_deg":11.5842296,"altitude":8,"angle":140,"satellites":47,"speed":35,"hex_longitude":"2d0e9540","hex_latitude":"06e79cf8","is_valid_coordinates":true} 
[2026-07-07 00: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-07-07 00:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541682176001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339870984154644480,"note":"Value kept but may cause issues"} 
[2026-07-07 00:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1047509155485405184,"note":"Value kept but may cause issues"} 
[2026-07-07 00:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783365952000,"timestamp_ms":1783365952000,"timestamp_seconds":1783365952,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e4e200"} 
[2026-07-07 00:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 00:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00: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-07-07 00:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:57: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-07-07 00:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541682176001,"66":27343,"177":206,"80":6400,"24":35,"16":339870984154644480,"45":1047509155485405184},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-07 00:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541682176001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:57:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 00:57:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339870984154644480,"km_value":339870984154644.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1047509155485405184,"description":"Unknown IO ID 45"} 
[2026-07-07 00:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541682176001,"power":27343,"unknown_177":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":1047509155485405184}} 
[2026-07-07 00:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":124014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:57:22] local.INFO: GPS data processed {"connection_id":124014,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:57:22] local.INFO: Acknowledgment sent {"connection_id":124014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:58:00] local.INFO: TCP Data received {"connection_id":124667,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:58:00] local.INFO: Processing buffer {"connection_id":124667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:58:00] local.INFO: IMEI packet received {"connection_id":124667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":124667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:58:06] local.INFO: TCP Data received {"connection_id":124667,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:58:06] local.INFO: Processing buffer {"connection_id":124667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:58:06] local.INFO: IMEI packet received {"connection_id":124667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":124667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:58:07] local.INFO: TCP Data received {"connection_id":124667,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e4f970012d0ea4c006e78de00008007d30..."} 
[2026-07-07 00:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e4f970012d0ea4c006e78de00008007d30..."} 
[2026-07-07 00:58:07] local.INFO: Processing buffer {"connection_id":124667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e4f970012d0ea4c006e78de00008007d30..."} 
[2026-07-07 00:58:07] local.INFO: Packet analysis {"connection_id":124667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e4"} 
[2026-07-07 00:58:07] local.INFO: Extracted packet for processing {"connection_id":124667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e4"} 
[2026-07-07 00:58:07] local.INFO: GPS Element Parsed {"raw_longitude":755934400,"raw_latitude":115838432,"longitude_deg":75.59344,"latitude_deg":11.5838432,"altitude":8,"angle":125,"satellites":48,"speed":34,"hex_longitude":"2d0ea4c0","hex_latitude":"06e78de0","is_valid_coordinates":true} 
[2026-07-07 00:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541683712001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339871250442616832,"note":"Value kept but may cause issues"} 
[2026-07-07 00:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1050816486460684288,"note":"Value kept but may cause issues"} 
[2026-07-07 00:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783365958000,"timestamp_ms":1783365958000,"timestamp_seconds":1783365958,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e4f970"} 
[2026-07-07 00:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 00:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541683712001,"66":27245,"177":206,"80":6400,"24":34,"16":339871250442616832,"45":1050816486460684288},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-07 00:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541683712001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:58:07] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 00:58:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339871250442616832,"km_value":339871250442616.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1050816486460684288,"description":"Unknown IO ID 45"} 
[2026-07-07 00:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541683712001,"power":27245,"unknown_177":206,"unknown_80":6400,"ignition":34,"odometer":null,"unknown_45":1050816486460684288}} 
[2026-07-07 00:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":124667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:58:07] local.INFO: GPS data processed {"connection_id":124667,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:58:07] local.INFO: Acknowledgment sent {"connection_id":124667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:58:25] local.INFO: TCP Data received {"connection_id":124668,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:58:25] local.INFO: Processing buffer {"connection_id":124668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:58:25] local.INFO: IMEI packet received {"connection_id":124668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 00:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":124668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:58:39] local.INFO: TCP Data received {"connection_id":124667,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e518b0012d0eb94006e780100008008930..."} 
[2026-07-07 00:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e518b0012d0eb94006e780100008008930..."} 
[2026-07-07 00:58:39] local.INFO: Processing buffer {"connection_id":124667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e518b0012d0eb94006e780100008008930..."} 
[2026-07-07 00:58:39] local.INFO: Packet analysis {"connection_id":124667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e5"} 
[2026-07-07 00:58:39] local.INFO: Extracted packet for processing {"connection_id":124667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e5"} 
[2026-07-07 00:58:39] local.INFO: GPS Element Parsed {"raw_longitude":755939648,"raw_latitude":115834896,"longitude_deg":75.5939648,"latitude_deg":11.5834896,"altitude":8,"angle":137,"satellites":48,"speed":30,"hex_longitude":"2d0eb940","hex_latitude":"06e78010","is_valid_coordinates":true} 
[2026-07-07 00: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-07-07 00:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541685248001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339871551090327552,"note":"Value kept but may cause issues"} 
[2026-07-07 00:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1055179348598710272,"note":"Value kept but may cause issues"} 
[2026-07-07 00:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783365966000,"timestamp_ms":1783365966000,"timestamp_seconds":1783365966,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e518b0"} 
[2026-07-07 00:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 00:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00: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-07-07 00:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541685248001,"66":27213,"177":206,"80":6400,"24":30,"16":339871551090327552,"45":1055179348598710272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-07 00:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541685248001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:58:39] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 00:58:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339871551090327552,"km_value":339871551090327.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1055179348598710272,"description":"Unknown IO ID 45"} 
[2026-07-07 00:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541685248001,"power":27213,"unknown_177":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":1055179348598710272}} 
[2026-07-07 00:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":124667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:58:39] local.INFO: GPS data processed {"connection_id":124667,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:58:39] local.INFO: Acknowledgment sent {"connection_id":124667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:59:00] local.INFO: TCP Data received {"connection_id":123916,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:59:00] local.INFO: Processing buffer {"connection_id":123916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:59:00] local.INFO: IMEI packet received {"connection_id":123916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 00:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":123916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:59:00] local.INFO: TCP Data received {"connection_id":123917,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:59:00] local.INFO: Processing buffer {"connection_id":123917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 00:59:00] local.INFO: IMEI packet received {"connection_id":123917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 00:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":123917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 00:59:01] local.INFO: TCP Data received {"connection_id":123916,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:59:01] local.INFO: Processing buffer {"connection_id":123916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:59:01] local.INFO: IMEI packet received {"connection_id":123916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":123916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:59:05] local.INFO: TCP Data received {"connection_id":123916,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:59:05] local.INFO: Processing buffer {"connection_id":123916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 00:59:05] local.INFO: IMEI packet received {"connection_id":123916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 00:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":123916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 00:59:06] local.INFO: TCP Data received {"connection_id":123916,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e6e988012d0fbc4006e6b2300006007e30..."} 
[2026-07-07 00:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e6e988012d0fbc4006e6b2300006007e30..."} 
[2026-07-07 00:59:06] local.INFO: Processing buffer {"connection_id":123916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e6e988012d0fbc4006e6b2300006007e30..."} 
[2026-07-07 00:59:06] local.INFO: Packet analysis {"connection_id":123916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e6"} 
[2026-07-07 00:59:06] local.INFO: Extracted packet for processing {"connection_id":123916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e6"} 
[2026-07-07 00:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756005952,"raw_latitude":115782192,"longitude_deg":75.6005952,"latitude_deg":11.5782192,"altitude":6,"angle":126,"satellites":48,"speed":24,"hex_longitude":"2d0fbc40","hex_latitude":"06e6b230","is_valid_coordinates":true} 
[2026-07-07 00:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541716224001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339875652784095232,"note":"Value kept but may cause issues"} 
[2026-07-07 00:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1129559111180621824,"note":"Value kept but may cause issues"} 
[2026-07-07 00:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783366085000,"timestamp_ms":1783366085000,"timestamp_seconds":1783366085,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e6e988"} 
[2026-07-07 00:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 00:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 00:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":123916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":123916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":123916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541716224001,"66":27300,"73":206,"80":6400,"24":24,"16":339875652784095232,"45":1129559111180621824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-07-07 00:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541716224001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:59:06] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-07 00:59:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339875652784095232,"km_value":339875652784095.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1129559111180621824,"description":"Unknown IO ID 45"} 
[2026-07-07 00:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541716224001,"power":27300,"unknown_73":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":1129559111180621824}} 
[2026-07-07 00:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":123916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:59:06] local.INFO: GPS data processed {"connection_id":123916,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:59:06] local.INFO: Acknowledgment sent {"connection_id":123916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 00:59:38] local.INFO: TCP Data received {"connection_id":123916,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e700f8012d0fca4006e6a9a80007007330..."} 
[2026-07-07 00:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e700f8012d0fca4006e6a9a80007007330..."} 
[2026-07-07 00:59:38] local.INFO: Processing buffer {"connection_id":123916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e700f8012d0fca4006e6a9a80007007330..."} 
[2026-07-07 00:59:38] local.INFO: Packet analysis {"connection_id":123916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e7"} 
[2026-07-07 00:59:38] local.INFO: Extracted packet for processing {"connection_id":123916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e7"} 
[2026-07-07 00:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756009536,"raw_latitude":115780008,"longitude_deg":75.6009536,"latitude_deg":11.5780008,"altitude":7,"angle":115,"satellites":48,"speed":29,"hex_longitude":"2d0fca40","hex_latitude":"06e6a9a8","is_valid_coordinates":true} 
[2026-07-07 00:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 00:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541717760001,"note":"Value kept but may cause issues"} 
[2026-07-07 00:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339875854647558144,"note":"Value kept but may cause issues"} 
[2026-07-07 00:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1133851604574941184,"note":"Value kept but may cause issues"} 
[2026-07-07 00:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 00:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783366091000,"timestamp_ms":1783366091000,"timestamp_seconds":1783366091,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e700f8"} 
[2026-07-07 00:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 00:59: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-07-07 00:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 00:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 00:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 00:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 00:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 00:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":123916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 00:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":123916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":123916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 00:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 00:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 00:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 00:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541717760001,"66":27321,"73":206,"80":6400,"24":29,"16":339875854647558144,"45":1133851604574941184},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-07-07 00:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 00:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 00:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541717760001,"description":"Unknown IO ID 0"} 
[2026-07-07 00:59:38] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-07 00:59:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 00:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339875854647558144,"km_value":339875854647558.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 00:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1133851604574941184,"description":"Unknown IO ID 45"} 
[2026-07-07 00:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541717760001,"power":27321,"unknown_73":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":1133851604574941184}} 
[2026-07-07 00:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":123916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 00:59:38] local.INFO: GPS data processed {"connection_id":123916,"processed":1,"errors":0,"total":1} 
[2026-07-07 00:59:38] local.INFO: Acknowledgment sent {"connection_id":123916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:00:01] local.INFO: TCP Data received {"connection_id":124016,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:00:01] local.INFO: Processing buffer {"connection_id":124016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:00:01] local.INFO: IMEI packet received {"connection_id":124016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":124016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:00:25] local.INFO: TCP Data received {"connection_id":124016,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:00:25] local.INFO: Processing buffer {"connection_id":124016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:00:25] local.INFO: IMEI packet received {"connection_id":124016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":124016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:00:27] local.INFO: TCP Data received {"connection_id":124016,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e72bf0012d0feac006e69a48000a007530..."} 
[2026-07-07 01:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e72bf0012d0feac006e69a48000a007530..."} 
[2026-07-07 01:00:27] local.INFO: Processing buffer {"connection_id":124016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e72bf0012d0feac006e69a48000a007530..."} 
[2026-07-07 01:00:27] local.INFO: Packet analysis {"connection_id":124016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e7"} 
[2026-07-07 01:00:27] local.INFO: Extracted packet for processing {"connection_id":124016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e7"} 
[2026-07-07 01:00:27] local.INFO: GPS Element Parsed {"raw_longitude":756017856,"raw_latitude":115776072,"longitude_deg":75.6017856,"latitude_deg":11.5776072,"altitude":10,"angle":117,"satellites":48,"speed":35,"hex_longitude":"2d0feac0","hex_latitude":"06e69a48","is_valid_coordinates":true} 
[2026-07-07 01:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541719296001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339876292734222336,"note":"Value kept but may cause issues"} 
[2026-07-07 01:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1137792254248331264,"note":"Value kept but may cause issues"} 
[2026-07-07 01:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783366102000,"timestamp_ms":1783366102000,"timestamp_seconds":1783366102,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e72bf0"} 
[2026-07-07 01:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 01:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541719296001,"66":27093,"246":206,"80":6400,"24":35,"16":339876292734222336,"45":1137792254248331264},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-07-07 01:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541719296001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:00:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-07 01:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339876292734222336,"km_value":339876292734222.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1137792254248331264,"description":"Unknown IO ID 45"} 
[2026-07-07 01:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541719296001,"power":27093,"main_input_voltage":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":1137792254248331264}} 
[2026-07-07 01:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":124016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:00:27] local.INFO: GPS data processed {"connection_id":124016,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:00:27] local.INFO: Acknowledgment sent {"connection_id":124016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:01:00] local.INFO: TCP Data received {"connection_id":124017,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:01:00] local.INFO: Processing buffer {"connection_id":124017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:01:00] local.INFO: IMEI packet received {"connection_id":124017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":124017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:01:05] local.INFO: TCP Data received {"connection_id":124017,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:01:05] local.INFO: Processing buffer {"connection_id":124017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:01:05] local.INFO: IMEI packet received {"connection_id":124017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":124017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:01:05] local.INFO: TCP Data received {"connection_id":124017,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:01:05] local.INFO: Processing buffer {"connection_id":124017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:01:05] local.INFO: IMEI packet received {"connection_id":124017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":124017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:01:07] local.INFO: TCP Data received {"connection_id":124017,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e88f68012d10cf4006e52db8001000ab30..."} 
[2026-07-07 01:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e88f68012d10cf4006e52db8001000ab30..."} 
[2026-07-07 01:01:07] local.INFO: Processing buffer {"connection_id":124017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e88f68012d10cf4006e52db8001000ab30..."} 
[2026-07-07 01:01:07] local.INFO: Packet analysis {"connection_id":124017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e8"} 
[2026-07-07 01:01:07] local.INFO: Extracted packet for processing {"connection_id":124017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e8"} 
[2026-07-07 01:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756076352,"raw_latitude":115682744,"longitude_deg":75.6076352,"latitude_deg":11.5682744,"altitude":16,"angle":171,"satellites":48,"speed":48,"hex_longitude":"2d10cf40","hex_latitude":"06e52db8","is_valid_coordinates":true} 
[2026-07-07 01:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541743360001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339881932026281984,"note":"Value kept but may cause issues"} 
[2026-07-07 01:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748170729472,"note":"Value kept but may cause issues"} 
[2026-07-07 01:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783366193000,"timestamp_ms":1783366193000,"timestamp_seconds":1783366193,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e88f68"} 
[2026-07-07 01:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 01:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541743360001,"66":27289,"110":206,"81":20480,"24":48,"16":339881932026281984,"45":1210975748170729472},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-07-07 01:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541743360001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:01:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 01:01:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339881932026281984,"km_value":339881932026282.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748170729472,"description":"Unknown IO ID 45"} 
[2026-07-07 01:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541743360001,"power":27289,"unknown_110":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":1210975748170729472}} 
[2026-07-07 01:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":124017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:01:07] local.INFO: GPS data processed {"connection_id":124017,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:01:07] local.INFO: Acknowledgment sent {"connection_id":124017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:01:11] local.INFO: TCP Data received {"connection_id":124017,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e8a6d8012d10d60006e51188000f00a030..."} 
[2026-07-07 01:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e8a6d8012d10d60006e51188000f00a030..."} 
[2026-07-07 01:01:11] local.INFO: Processing buffer {"connection_id":124017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e8a6d8012d10d60006e51188000f00a030..."} 
[2026-07-07 01:01:11] local.INFO: Packet analysis {"connection_id":124017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e8"} 
[2026-07-07 01:01:11] local.INFO: Extracted packet for processing {"connection_id":124017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e8"} 
[2026-07-07 01:01:11] local.INFO: GPS Element Parsed {"raw_longitude":756078080,"raw_latitude":115675528,"longitude_deg":75.607808,"latitude_deg":11.5675528,"altitude":15,"angle":160,"satellites":48,"speed":49,"hex_longitude":"2d10d600","hex_latitude":"06e51188","is_valid_coordinates":true} 
[2026-07-07 01:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541745408001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339882292803534848,"note":"Value kept but may cause issues"} 
[2026-07-07 01:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1211257223144912896,"note":"Value kept but may cause issues"} 
[2026-07-07 01:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783366199000,"timestamp_ms":1783366199000,"timestamp_seconds":1783366199,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e8a6d8"} 
[2026-07-07 01:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:01: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-07-07 01:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-07 01:01:11] 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-07-07 01:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541745408001,"66":27245,"110":206,"81":20480,"24":49,"16":339882292803534848,"45":1211257223144912896},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-07-07 01:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541745408001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:01:11] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 01:01:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339882292803534848,"km_value":339882292803534.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1211257223144912896,"description":"Unknown IO ID 45"} 
[2026-07-07 01:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541745408001,"power":27245,"unknown_110":206,"unknown_81":20480,"ignition":49,"odometer":null,"unknown_45":1211257223144912896}} 
[2026-07-07 01:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":124017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:01:11] local.INFO: GPS data processed {"connection_id":124017,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:01:11] local.INFO: Acknowledgment sent {"connection_id":124017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:01:42] local.INFO: TCP Data received {"connection_id":124017,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e8be48012d10e2c006e4f790000e00942f..."} 
[2026-07-07 01:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e8be48012d10e2c006e4f790000e00942f..."} 
[2026-07-07 01:01:42] local.INFO: Processing buffer {"connection_id":124017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e8be48012d10e2c006e4f790000e00942f..."} 
[2026-07-07 01:01:42] local.INFO: Packet analysis {"connection_id":124017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e8"} 
[2026-07-07 01:01:42] local.INFO: Extracted packet for processing {"connection_id":124017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e8"} 
[2026-07-07 01:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756081344,"raw_latitude":115668880,"longitude_deg":75.6081344,"latitude_deg":11.566888,"altitude":14,"angle":148,"satellites":47,"speed":50,"hex_longitude":"2d10e2c0","hex_latitude":"06e4f790","is_valid_coordinates":true} 
[2026-07-07 01:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541746944001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339882649285820416,"note":"Value kept but may cause issues"} 
[2026-07-07 01:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1213157179235862528,"note":"Value kept but may cause issues"} 
[2026-07-07 01:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783366205000,"timestamp_ms":1783366205000,"timestamp_seconds":1783366205,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e8be48"} 
[2026-07-07 01:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01: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-07-07 01: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":109,"data_length":795,"current_offset":136} 
[2026-07-07 01:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541746944001,"66":27365,"112":206,"81":20480,"24":50,"16":339882649285820416,"45":1213157179235862528},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-07-07 01:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541746944001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:01:42] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 01:01:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339882649285820416,"km_value":339882649285820.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1213157179235862528,"description":"Unknown IO ID 45"} 
[2026-07-07 01:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541746944001,"power":27365,"unknown_112":206,"unknown_81":20480,"ignition":50,"odometer":null,"unknown_45":1213157179235862528}} 
[2026-07-07 01:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":124017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:01:42] local.INFO: GPS data processed {"connection_id":124017,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:01:42] local.INFO: Acknowledgment sent {"connection_id":124017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:02:06] local.INFO: TCP Data received {"connection_id":123918,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:02:06] local.INFO: Processing buffer {"connection_id":123918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:02:06] local.INFO: IMEI packet received {"connection_id":123918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":123918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:02:11] local.INFO: TCP Data received {"connection_id":123918,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:02:11] local.INFO: Processing buffer {"connection_id":123918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:02:11] local.INFO: IMEI packet received {"connection_id":123918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":123918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:02:12] local.INFO: TCP Data received {"connection_id":123918,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e8d9a0012d10f68006e4d7e8000d00952e..."} 
[2026-07-07 01:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e8d9a0012d10f68006e4d7e8000d00952e..."} 
[2026-07-07 01:02:12] local.INFO: Processing buffer {"connection_id":123918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e8d9a0012d10f68006e4d7e8000d00952e..."} 
[2026-07-07 01:02:12] local.INFO: Packet analysis {"connection_id":123918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e8"} 
[2026-07-07 01:02:12] local.INFO: Extracted packet for processing {"connection_id":123918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e8"} 
[2026-07-07 01:02:12] local.INFO: GPS Element Parsed {"raw_longitude":756086400,"raw_latitude":115660776,"longitude_deg":75.60864,"latitude_deg":11.5660776,"altitude":13,"angle":149,"satellites":46,"speed":57,"hex_longitude":"2d10f680","hex_latitude":"06e4d7e8","is_valid_coordinates":true} 
[2026-07-07 01:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541748480001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339883113142288384,"note":"Value kept but may cause issues"} 
[2026-07-07 01:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1216745985187221504,"note":"Value kept but may cause issues"} 
[2026-07-07 01:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783366212000,"timestamp_ms":1783366212000,"timestamp_seconds":1783366212,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e8d9a0"} 
[2026-07-07 01:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01: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-07-07 01:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 01: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-07-07 01:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541748480001,"66":27321,"112":206,"81":20480,"24":57,"16":339883113142288384,"45":1216745985187221504},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-07-07 01:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541748480001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:02:12] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 01:02:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339883113142288384,"km_value":339883113142288.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1216745985187221504,"description":"Unknown IO ID 45"} 
[2026-07-07 01:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541748480001,"power":27321,"unknown_112":206,"unknown_81":20480,"ignition":57,"odometer":null,"unknown_45":1216745985187221504}} 
[2026-07-07 01:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":123918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:02:12] local.INFO: GPS data processed {"connection_id":123918,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:02:12] local.INFO: Acknowledgment sent {"connection_id":123918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:02:13] local.INFO: TCP Data received {"connection_id":123918,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e8f4f8012d11098006e4b488000e009c2d..."} 
[2026-07-07 01:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e8f4f8012d11098006e4b488000e009c2d..."} 
[2026-07-07 01:02:13] local.INFO: Processing buffer {"connection_id":123918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e8f4f8012d11098006e4b488000e009c2d..."} 
[2026-07-07 01:02:13] local.INFO: Packet analysis {"connection_id":123918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e8"} 
[2026-07-07 01:02:13] local.INFO: Extracted packet for processing {"connection_id":123918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e8"} 
[2026-07-07 01:02:13] local.INFO: GPS Element Parsed {"raw_longitude":756091264,"raw_latitude":115651720,"longitude_deg":75.6091264,"latitude_deg":11.565172,"altitude":14,"angle":156,"satellites":45,"speed":57,"hex_longitude":"2d110980","hex_latitude":"06e4b488","is_valid_coordinates":true} 
[2026-07-07 01: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-07-07 01:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541750272001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339883607063527424,"note":"Value kept but may cause issues"} 
[2026-07-07 01:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1222305115975182336,"note":"Value kept but may cause issues"} 
[2026-07-07 01:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783366219000,"timestamp_ms":1783366219000,"timestamp_seconds":1783366219,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e8f4f8"} 
[2026-07-07 01:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01: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-07-07 01:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 01:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01: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-07-07 01:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":123918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":123918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":123918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541750272001,"66":27267,"112":206,"81":20480,"24":57,"16":339883607063527424,"45":1222305115975182336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-07-07 01:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541750272001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:02:13] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 01:02:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339883607063527424,"km_value":339883607063527.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1222305115975182336,"description":"Unknown IO ID 45"} 
[2026-07-07 01:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541750272001,"power":27267,"unknown_112":206,"unknown_81":20480,"ignition":57,"odometer":null,"unknown_45":1222305115975182336}} 
[2026-07-07 01:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":123918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:02:13] local.INFO: GPS data processed {"connection_id":123918,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:02:13] local.INFO: Acknowledgment sent {"connection_id":123918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:02:45] local.INFO: TCP Data received {"connection_id":123918,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38e91050012d1116c006e48ef0000d00a030..."} 
[2026-07-07 01:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38e91050012d1116c006e48ef0000d00a030..."} 
[2026-07-07 01:02:45] local.INFO: Processing buffer {"connection_id":123918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38e91050012d1116c006e48ef0000d00a030..."} 
[2026-07-07 01:02:45] local.INFO: Packet analysis {"connection_id":123918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38e9"} 
[2026-07-07 01:02:45] local.INFO: Extracted packet for processing {"connection_id":123918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38e9"} 
[2026-07-07 01:02:45] local.INFO: GPS Element Parsed {"raw_longitude":756094656,"raw_latitude":115642096,"longitude_deg":75.6094656,"latitude_deg":11.5642096,"altitude":13,"angle":160,"satellites":48,"speed":58,"hex_longitude":"2d1116c0","hex_latitude":"06e48ef0","is_valid_coordinates":true} 
[2026-07-07 01:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541752064001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339884100984766464,"note":"Value kept but may cause issues"} 
[2026-07-07 01:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1227653140530366464,"note":"Value kept but may cause issues"} 
[2026-07-07 01:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783366226000,"timestamp_ms":1783366226000,"timestamp_seconds":1783366226,"priority":1,"record_length":96,"hex_timestamp":"0000019f38e91050"} 
[2026-07-07 01:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 01:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":123918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":123918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":123918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:02: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-07-07 01:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541752064001,"66":27376,"112":206,"81":20480,"24":58,"16":339884100984766464,"45":1227653140530366464},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-07-07 01:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541752064001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:02:45] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 01:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339884100984766464,"km_value":339884100984766.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1227653140530366464,"description":"Unknown IO ID 45"} 
[2026-07-07 01:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541752064001,"power":27376,"unknown_112":206,"unknown_81":20480,"ignition":58,"odometer":null,"unknown_45":1227653140530366464}} 
[2026-07-07 01:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":123918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:02:45] local.INFO: GPS data processed {"connection_id":123918,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:02:45] local.INFO: Acknowledgment sent {"connection_id":123918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:03:00] local.INFO: TCP Data received {"connection_id":125922,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:03:00] local.INFO: Processing buffer {"connection_id":125922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:03:00] local.INFO: IMEI packet received {"connection_id":125922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":125922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:03:01] local.INFO: TCP Data received {"connection_id":125922,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:03:01] local.INFO: Processing buffer {"connection_id":125922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:03:01] local.INFO: IMEI packet received {"connection_id":125922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":125922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:03:12] local.INFO: TCP Data received {"connection_id":125922,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:03:12] local.INFO: Processing buffer {"connection_id":125922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:03:12] local.INFO: IMEI packet received {"connection_id":125922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":125922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:03:13] local.INFO: TCP Data received {"connection_id":125922,"ip":"42.106.6.26","data_length":1348,"data_hex":"000000000000030f8e0a0000019f38ea6810012d1168c006e33968001400a730..."} 
[2026-07-07 01:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125922,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f38ea6810012d1168c006e33968001400a730..."} 
[2026-07-07 01:03:13] local.INFO: Processing buffer {"connection_id":125922,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f38ea6810012d1168c006e33968001400a730..."} 
[2026-07-07 01:03:13] local.INFO: Packet analysis {"connection_id":125922,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f38ea"} 
[2026-07-07 01:03:13] local.INFO: Extracted packet for processing {"connection_id":125922,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f38ea"} 
[2026-07-07 01:03:13] local.INFO: GPS Element Parsed {"raw_longitude":756115648,"raw_latitude":115554664,"longitude_deg":75.6115648,"latitude_deg":11.5554664,"altitude":20,"angle":167,"satellites":48,"speed":35,"hex_longitude":"2d1168c0","hex_latitude":"06e33968","is_valid_coordinates":true} 
[2026-07-07 01: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-07-07 01:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541773568001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339888511916179456,"note":"Value kept but may cause issues"} 
[2026-07-07 01:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1252704413435029504,"note":"Value kept but may cause issues"} 
[2026-07-07 01:03: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-07-07 01:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783366314000,"timestamp_ms":1783366314000,"timestamp_seconds":1783366314,"priority":1,"record_length":96,"hex_timestamp":"0000019f38ea6810"} 
[2026-07-07 01:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:03: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-07-07 01: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-07 01:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01: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-07-07 01:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541773568001,"66":27267,"111":206,"81":20480,"24":35,"16":339888511916179456,"45":1252704413435029504},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-07-07 01:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541773568001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:03:13] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-07 01:03:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339888511916179456,"km_value":339888511916179.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1252704413435029504,"description":"Unknown IO ID 45"} 
[2026-07-07 01:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541773568001,"power":27267,"unknown_111":206,"unknown_81":20480,"ignition":35,"odometer":null,"unknown_45":1252704413435029504}} 
[2026-07-07 01:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":125922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:03:13] local.INFO: GPS data processed {"connection_id":125922,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:03:13] local.INFO: Acknowledgment sent {"connection_id":125922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:03:13] local.INFO: Packet analysis {"connection_id":125922,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f38ea"} 
[2026-07-07 01:03:13] local.INFO: Incomplete packet, waiting for more data {"connection_id":125922,"needed":795,"available":553} 
[2026-07-07 01:03:15] local.INFO: TCP Data received {"connection_id":125922,"ip":"42.106.6.26","data_length":1037,"data_hex":"0000000000019f38e979c8012d114d8006e412f8000900a73000330000000a00..."} 
[2026-07-07 01:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125922,"packet_length":1037,"packet_hex":"0000000000019f38e979c8012d114d8006e412f8000900a73000330000000a00..."} 
[2026-07-07 01:03:15] local.INFO: Processing buffer {"connection_id":125922,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f38eaa690012d11718006e315b8001100a231..."} 
[2026-07-07 01:03:15] local.INFO: Packet analysis {"connection_id":125922,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f38ea"} 
[2026-07-07 01:03:15] local.INFO: Extracted packet for processing {"connection_id":125922,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38ea"} 
[2026-07-07 01:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756117888,"raw_latitude":115545528,"longitude_deg":75.6117888,"latitude_deg":11.5545528,"altitude":17,"angle":162,"satellites":49,"speed":25,"hex_longitude":"2d117180","hex_latitude":"06e315b8","is_valid_coordinates":true} 
[2026-07-07 01:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541776384001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339888967182712832,"note":"Value kept but may cause issues"} 
[2026-07-07 01:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1254463632037210112,"note":"Value kept but may cause issues"} 
[2026-07-07 01:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783366330000,"timestamp_ms":1783366330000,"timestamp_seconds":1783366330,"priority":1,"record_length":96,"hex_timestamp":"0000019f38eaa690"} 
[2026-07-07 01:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:03: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-07-07 01: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":131,"data_length":795,"current_offset":136} 
[2026-07-07 01:03: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-07-07 01:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541776384001,"66":27213,"111":206,"81":20480,"24":25,"16":339888967182712832,"45":1254463632037210112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-07-07 01:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541776384001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:03:15] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-07 01:03:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339888967182712832,"km_value":339888967182712.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1254463632037210112,"description":"Unknown IO ID 45"} 
[2026-07-07 01:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541776384001,"power":27213,"unknown_111":206,"unknown_81":20480,"ignition":25,"odometer":null,"unknown_45":1254463632037210112}} 
[2026-07-07 01:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":125922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:03:15] local.INFO: GPS data processed {"connection_id":125922,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:03:15] local.INFO: Acknowledgment sent {"connection_id":125922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:03:15] local.INFO: Packet analysis {"connection_id":125922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38ea"} 
[2026-07-07 01:03:15] local.INFO: Extracted packet for processing {"connection_id":125922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38ea"} 
[2026-07-07 01:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756120960,"raw_latitude":115536416,"longitude_deg":75.612096,"latitude_deg":11.5536416,"altitude":15,"angle":159,"satellites":47,"speed":38,"hex_longitude":"2d117d80","hex_latitude":"06e2f220","is_valid_coordinates":true} 
[2026-07-07 01:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541780480001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339889435334148096,"note":"Value kept but may cause issues"} 
[2026-07-07 01:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1256926538081089536,"note":"Value kept but may cause issues"} 
[2026-07-07 01:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783366342000,"timestamp_ms":1783366342000,"timestamp_seconds":1783366342,"priority":1,"record_length":96,"hex_timestamp":"0000019f38ead570"} 
[2026-07-07 01:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01: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-07-07 01: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":77,"data_length":795,"current_offset":136} 
[2026-07-07 01:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541780480001,"66":27300,"111":206,"81":20480,"24":38,"16":339889435334148096,"45":1256926538081089536},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-07-07 01:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541780480001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:03:15] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-07 01:03:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339889435334148096,"km_value":339889435334148.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1256926538081089536,"description":"Unknown IO ID 45"} 
[2026-07-07 01:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541780480001,"power":27300,"unknown_111":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1256926538081089536}} 
[2026-07-07 01:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":125922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:03:15] local.INFO: GPS data processed {"connection_id":125922,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:03:15] local.INFO: Acknowledgment sent {"connection_id":125922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:04:09] local.INFO: TCP Data received {"connection_id":124019,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:04:09] local.INFO: Processing buffer {"connection_id":124019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:04:09] local.INFO: IMEI packet received {"connection_id":124019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":124019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:04:10] local.INFO: TCP Data received {"connection_id":124019,"ip":"42.106.6.26","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 01:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124019,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 01:04:10] local.INFO: Processing buffer {"connection_id":124019,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 01:04:10] local.INFO: IMEI packet received {"connection_id":124019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":124019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:04:24] local.INFO: TCP Data received {"connection_id":125923,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:04:24] local.INFO: Processing buffer {"connection_id":125923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:04:24] local.INFO: IMEI packet received {"connection_id":125923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 01:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":125923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:06:05] local.INFO: TCP Data received {"connection_id":124671,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:06:05] local.INFO: Processing buffer {"connection_id":124671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:06:05] local.INFO: IMEI packet received {"connection_id":124671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 01:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":124671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:09:10] local.INFO: TCP Data received {"connection_id":125926,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:09:10] local.INFO: Processing buffer {"connection_id":125926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:09:10] local.INFO: IMEI packet received {"connection_id":125926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":125926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:09:12] local.INFO: TCP Data received {"connection_id":125926,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38ef80c0012d12988006dd6fc8001000972e..."} 
[2026-07-07 01:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38ef80c0012d12988006dd6fc8001000972e..."} 
[2026-07-07 01:09:12] local.INFO: Processing buffer {"connection_id":125926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38ef80c0012d12988006dd6fc8001000972e..."} 
[2026-07-07 01:09:12] local.INFO: Packet analysis {"connection_id":125926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38ef"} 
[2026-07-07 01:09:12] local.INFO: Extracted packet for processing {"connection_id":125926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38ef"} 
[2026-07-07 01:09:12] local.INFO: GPS Element Parsed {"raw_longitude":756193408,"raw_latitude":115175368,"longitude_deg":75.6193408,"latitude_deg":11.5175368,"altitude":16,"angle":151,"satellites":46,"speed":54,"hex_longitude":"2d129880","hex_latitude":"06dd6fc8","is_valid_coordinates":true} 
[2026-07-07 01:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541860096001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339907448426987520,"note":"Value kept but may cause issues"} 
[2026-07-07 01:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1334684000304838656,"note":"Value kept but may cause issues"} 
[2026-07-07 01:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783366648000,"timestamp_ms":1783366648000,"timestamp_seconds":1783366648,"priority":1,"record_length":96,"hex_timestamp":"0000019f38ef80c0"} 
[2026-07-07 01:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:09: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-07-07 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 01:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541860096001,"66":27517,"67":206,"81":20480,"24":54,"16":339907448426987520,"45":1334684000304838656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-07-07 01:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541860096001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:09:12] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-07 01:09:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339907448426987520,"km_value":339907448426987.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1334684000304838656,"description":"Unknown IO ID 45"} 
[2026-07-07 01:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541860096001,"power":27517,"unknown_67":206,"unknown_81":20480,"ignition":54,"odometer":null,"unknown_45":1334684000304838656}} 
[2026-07-07 01:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":125926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:09:12] local.INFO: GPS data processed {"connection_id":125926,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:09:12] local.INFO: Acknowledgment sent {"connection_id":125926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:09:43] local.INFO: TCP Data received {"connection_id":125926,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f0b558012d13608006dbe450000c009e2f..."} 
[2026-07-07 01:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f0b558012d13608006dbe450000c009e2f..."} 
[2026-07-07 01:09:43] local.INFO: Processing buffer {"connection_id":125926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f0b558012d13608006dbe450000c009e2f..."} 
[2026-07-07 01:09:43] local.INFO: Packet analysis {"connection_id":125926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f0"} 
[2026-07-07 01:09:43] local.INFO: Extracted packet for processing {"connection_id":125926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f0"} 
[2026-07-07 01:09:43] local.INFO: GPS Element Parsed {"raw_longitude":756244608,"raw_latitude":115074128,"longitude_deg":75.6244608,"latitude_deg":11.5074128,"altitude":12,"angle":158,"satellites":47,"speed":51,"hex_longitude":"2d136080","hex_latitude":"06dbe450","is_valid_coordinates":true} 
[2026-07-07 01:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541880320001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339912941690159104,"note":"Value kept but may cause issues"} 
[2026-07-07 01:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1392175264272101376,"note":"Value kept but may cause issues"} 
[2026-07-07 01:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783366727000,"timestamp_ms":1783366727000,"timestamp_seconds":1783366727,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f0b558"} 
[2026-07-07 01:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01: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":229,"data_length":795,"current_offset":136} 
[2026-07-07 01:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541880320001,"66":27332,"152":206,"81":20480,"24":51,"16":339912941690159104,"45":1392175264272101376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-07-07 01:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541880320001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:09:43] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-07 01:09:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339912941690159104,"km_value":339912941690159.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1392175264272101376,"description":"Unknown IO ID 45"} 
[2026-07-07 01:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541880320001,"power":27332,"unknown_152":206,"unknown_81":20480,"ignition":51,"odometer":null,"unknown_45":1392175264272101376}} 
[2026-07-07 01:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":125926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:09:43] local.INFO: GPS data processed {"connection_id":125926,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:09:43] local.INFO: Acknowledgment sent {"connection_id":125926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:10:00] local.INFO: TCP Data received {"connection_id":123920,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:10:00] local.INFO: Processing buffer {"connection_id":123920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:10:00] local.INFO: IMEI packet received {"connection_id":123920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":123920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:10:04] local.INFO: TCP Data received {"connection_id":123920,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:10:04] local.INFO: Processing buffer {"connection_id":123920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:10:04] local.INFO: IMEI packet received {"connection_id":123920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":123920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:10:05] local.INFO: TCP Data received {"connection_id":123920,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f0d498012d136c4006dbbf30000e00a42f..."} 
[2026-07-07 01:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f0d498012d136c4006dbbf30000e00a42f..."} 
[2026-07-07 01:10:05] local.INFO: Processing buffer {"connection_id":123920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f0d498012d136c4006dbbf30000e00a42f..."} 
[2026-07-07 01:10:05] local.INFO: Packet analysis {"connection_id":123920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f0"} 
[2026-07-07 01:10:05] local.INFO: Extracted packet for processing {"connection_id":123920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f0"} 
[2026-07-07 01:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756247616,"raw_latitude":115064624,"longitude_deg":75.6247616,"latitude_deg":11.5064624,"altitude":14,"angle":164,"satellites":47,"speed":50,"hex_longitude":"2d136c40","hex_latitude":"06dbbf30","is_valid_coordinates":true} 
[2026-07-07 01:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541882112001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339913422726496256,"note":"Value kept but may cause issues"} 
[2026-07-07 01:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1396256651432185856,"note":"Value kept but may cause issues"} 
[2026-07-07 01:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783366735000,"timestamp_ms":1783366735000,"timestamp_seconds":1783366735,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f0d498"} 
[2026-07-07 01:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 01:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":123920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":123920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":123920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541882112001,"66":27365,"152":206,"81":20480,"24":50,"16":339913422726496256,"45":1396256651432185856},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-07-07 01:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541882112001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:10:05] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-07 01:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339913422726496256,"km_value":339913422726496.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1396256651432185856,"description":"Unknown IO ID 45"} 
[2026-07-07 01:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541882112001,"power":27365,"unknown_152":206,"unknown_81":20480,"ignition":50,"odometer":null,"unknown_45":1396256651432185856}} 
[2026-07-07 01:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":123920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:10:05] local.INFO: GPS data processed {"connection_id":123920,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:10:05] local.INFO: Acknowledgment sent {"connection_id":123920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:10:36] local.INFO: TCP Data received {"connection_id":123920,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f0eff0012d13768006db9d88000b00a030..."} 
[2026-07-07 01:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f0eff0012d13768006db9d88000b00a030..."} 
[2026-07-07 01:10:36] local.INFO: Processing buffer {"connection_id":123920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f0eff0012d13768006db9d88000b00a030..."} 
[2026-07-07 01:10:36] local.INFO: Packet analysis {"connection_id":123920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f0"} 
[2026-07-07 01:10:36] local.INFO: Extracted packet for processing {"connection_id":123920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f0"} 
[2026-07-07 01:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756250240,"raw_latitude":115056008,"longitude_deg":75.625024,"latitude_deg":11.5056008,"altitude":11,"angle":160,"satellites":48,"speed":50,"hex_longitude":"2d137680","hex_latitude":"06db9d88","is_valid_coordinates":true} 
[2026-07-07 01:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541884160001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339913856518193152,"note":"Value kept but may cause issues"} 
[2026-07-07 01:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1399563982406103040,"note":"Value kept but may cause issues"} 
[2026-07-07 01:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783366742000,"timestamp_ms":1783366742000,"timestamp_seconds":1783366742,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f0eff0"} 
[2026-07-07 01:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:10: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-07-07 01:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 01:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":123920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":123920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":123920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541884160001,"66":27343,"152":206,"81":20480,"24":50,"16":339913856518193152,"45":1399563982406103040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-07-07 01:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541884160001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:10:36] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-07 01:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339913856518193152,"km_value":339913856518193.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1399563982406103040,"description":"Unknown IO ID 45"} 
[2026-07-07 01:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541884160001,"power":27343,"unknown_152":206,"unknown_81":20480,"ignition":50,"odometer":null,"unknown_45":1399563982406103040}} 
[2026-07-07 01:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":123920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:10:36] local.INFO: GPS data processed {"connection_id":123920,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:10:36] local.INFO: Acknowledgment sent {"connection_id":123920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:11:00] local.INFO: TCP Data received {"connection_id":124023,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:11:00] local.INFO: Processing buffer {"connection_id":124023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:11:00] local.INFO: IMEI packet received {"connection_id":124023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":124023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:11:05] local.INFO: TCP Data received {"connection_id":124023,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:11:05] local.INFO: Processing buffer {"connection_id":124023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:11:05] local.INFO: IMEI packet received {"connection_id":124023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":124023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:11:07] local.INFO: TCP Data received {"connection_id":124023,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f10b48012d13830006db8108000a00952f..."} 
[2026-07-07 01:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f10b48012d13830006db8108000a00952f..."} 
[2026-07-07 01:11:07] local.INFO: Processing buffer {"connection_id":124023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f10b48012d13830006db8108000a00952f..."} 
[2026-07-07 01:11:07] local.INFO: Packet analysis {"connection_id":124023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f1"} 
[2026-07-07 01:11:07] local.INFO: Extracted packet for processing {"connection_id":124023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f1"} 
[2026-07-07 01:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756253440,"raw_latitude":115048712,"longitude_deg":75.625344,"latitude_deg":11.5048712,"altitude":10,"angle":149,"satellites":47,"speed":36,"hex_longitude":"2d138300","hex_latitude":"06db8108","is_valid_coordinates":true} 
[2026-07-07 01:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541885952001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339914243065249792,"note":"Value kept but may cause issues"} 
[2026-07-07 01:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1402449100915181568,"note":"Value kept but may cause issues"} 
[2026-07-07 01:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783366749000,"timestamp_ms":1783366749000,"timestamp_seconds":1783366749,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f10b48"} 
[2026-07-07 01:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 01:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541885952001,"66":27332,"152":206,"81":20480,"24":36,"16":339914243065249792,"45":1402449100915181568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-07-07 01:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541885952001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:11:07] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-07 01:11:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339914243065249792,"km_value":339914243065249.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1402449100915181568,"description":"Unknown IO ID 45"} 
[2026-07-07 01:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541885952001,"power":27332,"unknown_152":206,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":1402449100915181568}} 
[2026-07-07 01:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":124023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:11:07] local.INFO: GPS data processed {"connection_id":124023,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:11:07] local.INFO: Acknowledgment sent {"connection_id":124023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:11:35] local.INFO: TCP Data received {"connection_id":124022,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:11:35] local.INFO: Processing buffer {"connection_id":124022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:11:35] local.INFO: IMEI packet received {"connection_id":124022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 01:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":124022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:11:39] local.INFO: TCP Data received {"connection_id":124023,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f149c8012d1393c006db6208000b009c30..."} 
[2026-07-07 01:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f149c8012d1393c006db6208000b009c30..."} 
[2026-07-07 01:11:39] local.INFO: Processing buffer {"connection_id":124023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f149c8012d1393c006db6208000b009c30..."} 
[2026-07-07 01:11:39] local.INFO: Packet analysis {"connection_id":124023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f1"} 
[2026-07-07 01:11:39] local.INFO: Extracted packet for processing {"connection_id":124023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f1"} 
[2026-07-07 01:11:39] local.INFO: GPS Element Parsed {"raw_longitude":756257728,"raw_latitude":115040776,"longitude_deg":75.6257728,"latitude_deg":11.5040776,"altitude":11,"angle":156,"satellites":48,"speed":25,"hex_longitude":"2d1393c0","hex_latitude":"06db6208","is_valid_coordinates":true} 
[2026-07-07 01:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541887744001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339914681151913984,"note":"Value kept but may cause issues"} 
[2026-07-07 01:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1405967538122196992,"note":"Value kept but may cause issues"} 
[2026-07-07 01:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783366765000,"timestamp_ms":1783366765000,"timestamp_seconds":1783366765,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f149c8"} 
[2026-07-07 01:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01: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-07-07 01:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 01:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541887744001,"66":27245,"152":206,"81":20480,"24":25,"16":339914681151913984,"45":1405967538122196992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-07-07 01:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541887744001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:11:39] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-07 01:11:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339914681151913984,"km_value":339914681151914.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1405967538122196992,"description":"Unknown IO ID 45"} 
[2026-07-07 01:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541887744001,"power":27245,"unknown_152":206,"unknown_81":20480,"ignition":25,"odometer":null,"unknown_45":1405967538122196992}} 
[2026-07-07 01:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":124023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:11:39] local.INFO: GPS data processed {"connection_id":124023,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:11:39] local.INFO: Acknowledgment sent {"connection_id":124023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:12:00] local.INFO: TCP Data received {"connection_id":124675,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:12:00] local.INFO: Processing buffer {"connection_id":124675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:12:00] local.INFO: IMEI packet received {"connection_id":124675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":124675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:12:00] local.INFO: TCP Data received {"connection_id":124674,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:12:00] local.INFO: Processing buffer {"connection_id":124674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:12:00] local.INFO: IMEI packet received {"connection_id":124674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 01:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":124674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:12:05] local.INFO: TCP Data received {"connection_id":124675,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:12:05] local.INFO: Processing buffer {"connection_id":124675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:12:05] local.INFO: IMEI packet received {"connection_id":124675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":124675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:12:06] local.INFO: TCP Data received {"connection_id":124675,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f28248012d13d2c006da2838000900b12f..."} 
[2026-07-07 01:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f28248012d13d2c006da2838000900b12f..."} 
[2026-07-07 01:12:06] local.INFO: Processing buffer {"connection_id":124675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f28248012d13d2c006da2838000900b12f..."} 
[2026-07-07 01:12:06] local.INFO: Packet analysis {"connection_id":124675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f2"} 
[2026-07-07 01:12:06] local.INFO: Extracted packet for processing {"connection_id":124675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f2"} 
[2026-07-07 01:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756273856,"raw_latitude":114960440,"longitude_deg":75.6273856,"latitude_deg":11.496044,"altitude":9,"angle":177,"satellites":47,"speed":18,"hex_longitude":"2d13d2c0","hex_latitude":"06da2838","is_valid_coordinates":true} 
[2026-07-07 01:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541909248001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339918696946335744,"note":"Value kept but may cause issues"} 
[2026-07-07 01:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1427992955029532672,"note":"Value kept but may cause issues"} 
[2026-07-07 01:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783366845000,"timestamp_ms":1783366845000,"timestamp_seconds":1783366845,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f28248"} 
[2026-07-07 01:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 01:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541909248001,"66":27343,"88":206,"81":20480,"24":18,"16":339918696946335744,"45":1427992955029532672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-07-07 01:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541909248001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:12:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-07 01:12:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339918696946335744,"km_value":339918696946335.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1427992955029532672,"description":"Unknown IO ID 45"} 
[2026-07-07 01:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541909248001,"power":27343,"unknown_88":206,"unknown_81":20480,"ignition":18,"odometer":null,"unknown_45":1427992955029532672}} 
[2026-07-07 01:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":124675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:12:06] local.INFO: GPS data processed {"connection_id":124675,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:12:06] local.INFO: Acknowledgment sent {"connection_id":124675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:12:38] local.INFO: TCP Data received {"connection_id":124675,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f2d450012d13d40006da0b58000a00b32e..."} 
[2026-07-07 01:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f2d450012d13d40006da0b58000a00b32e..."} 
[2026-07-07 01:12:38] local.INFO: Processing buffer {"connection_id":124675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f2d450012d13d40006da0b58000a00b32e..."} 
[2026-07-07 01:12:38] local.INFO: Packet analysis {"connection_id":124675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f2"} 
[2026-07-07 01:12:38] local.INFO: Extracted packet for processing {"connection_id":124675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f2"} 
[2026-07-07 01:12:38] local.INFO: GPS Element Parsed {"raw_longitude":756274176,"raw_latitude":114953048,"longitude_deg":75.6274176,"latitude_deg":11.4953048,"altitude":10,"angle":179,"satellites":46,"speed":22,"hex_longitude":"2d13d400","hex_latitude":"06da0b58","is_valid_coordinates":true} 
[2026-07-07 01:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541912320001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339919057723588608,"note":"Value kept but may cause issues"} 
[2026-07-07 01:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1428415167492274176,"note":"Value kept but may cause issues"} 
[2026-07-07 01:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783366866000,"timestamp_ms":1783366866000,"timestamp_seconds":1783366866,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f2d450"} 
[2026-07-07 01:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:12: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-07-07 01:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 01:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541912320001,"66":27463,"88":206,"81":20480,"24":22,"16":339919057723588608,"45":1428415167492274176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-07-07 01:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541912320001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:12:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-07 01:12:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339919057723588608,"km_value":339919057723588.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1428415167492274176,"description":"Unknown IO ID 45"} 
[2026-07-07 01:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541912320001,"power":27463,"unknown_88":206,"unknown_81":20480,"ignition":22,"odometer":null,"unknown_45":1428415167492274176}} 
[2026-07-07 01:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":124675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:12:38] local.INFO: GPS data processed {"connection_id":124675,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:12:38] local.INFO: Acknowledgment sent {"connection_id":124675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:13:00] local.INFO: TCP Data received {"connection_id":123921,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:13:00] local.INFO: Processing buffer {"connection_id":123921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:13:00] local.INFO: IMEI packet received {"connection_id":123921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":123921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:13:06] local.INFO: TCP Data received {"connection_id":123921,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:13:06] local.INFO: Processing buffer {"connection_id":123921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:13:06] local.INFO: IMEI packet received {"connection_id":123921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":123921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:13:07] local.INFO: TCP Data received {"connection_id":123921,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f30718012d13d68006d9e7b0000c00af30..."} 
[2026-07-07 01:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f30718012d13d68006d9e7b0000c00af30..."} 
[2026-07-07 01:13:07] local.INFO: Processing buffer {"connection_id":123921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f30718012d13d68006d9e7b0000c00af30..."} 
[2026-07-07 01:13:07] local.INFO: Packet analysis {"connection_id":123921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f3"} 
[2026-07-07 01:13:07] local.INFO: Extracted packet for processing {"connection_id":123921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f3"} 
[2026-07-07 01:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756274816,"raw_latitude":114943920,"longitude_deg":75.6274816,"latitude_deg":11.494392,"altitude":12,"angle":175,"satellites":48,"speed":31,"hex_longitude":"2d13d680","hex_latitude":"06d9e7b0","is_valid_coordinates":true} 
[2026-07-07 01:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541917696001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339919500105220096,"note":"Value kept but may cause issues"} 
[2026-07-07 01:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1428767011211270144,"note":"Value kept but may cause issues"} 
[2026-07-07 01:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783366879000,"timestamp_ms":1783366879000,"timestamp_seconds":1783366879,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f30718"} 
[2026-07-07 01:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 01:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":123921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":123921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":123921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541917696001,"66":27484,"88":206,"81":20480,"24":31,"16":339919500105220096,"45":1428767011211270144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-07-07 01:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541917696001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:13:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-07 01:13:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339919500105220096,"km_value":339919500105220.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1428767011211270144,"description":"Unknown IO ID 45"} 
[2026-07-07 01:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541917696001,"power":27484,"unknown_88":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":1428767011211270144}} 
[2026-07-07 01:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":123921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:13:07] local.INFO: GPS data processed {"connection_id":123921,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:13:07] local.INFO: Acknowledgment sent {"connection_id":123921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:13:38] local.INFO: TCP Data received {"connection_id":123921,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f33210012d13d80006d9c240000b00b42e..."} 
[2026-07-07 01:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f33210012d13d80006d9c240000b00b42e..."} 
[2026-07-07 01:13:38] local.INFO: Processing buffer {"connection_id":123921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f33210012d13d80006d9c240000b00b42e..."} 
[2026-07-07 01:13:38] local.INFO: Packet analysis {"connection_id":123921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f3"} 
[2026-07-07 01:13:38] local.INFO: Extracted packet for processing {"connection_id":123921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f3"} 
[2026-07-07 01:13:38] local.INFO: GPS Element Parsed {"raw_longitude":756275200,"raw_latitude":114934336,"longitude_deg":75.62752,"latitude_deg":11.4934336,"altitude":11,"angle":180,"satellites":46,"speed":34,"hex_longitude":"2d13d800","hex_latitude":"06d9c240","is_valid_coordinates":true} 
[2026-07-07 01: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-07-07 01:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541921024001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339919963961688064,"note":"Value kept but may cause issues"} 
[2026-07-07 01:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1429470698650710016,"note":"Value kept but may cause issues"} 
[2026-07-07 01:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783366890000,"timestamp_ms":1783366890000,"timestamp_seconds":1783366890,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f33210"} 
[2026-07-07 01:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:13: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-07-07 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 01:13: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-07-07 01: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-07-07 01:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":123921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":123921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":123921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541921024001,"66":27397,"88":206,"81":20480,"24":34,"16":339919963961688064,"45":1429470698650710016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-07-07 01:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541921024001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:13:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-07 01:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339919963961688064,"km_value":339919963961688.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1429470698650710016,"description":"Unknown IO ID 45"} 
[2026-07-07 01:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541921024001,"power":27397,"unknown_88":206,"unknown_81":20480,"ignition":34,"odometer":null,"unknown_45":1429470698650710016}} 
[2026-07-07 01:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":123921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:13:38] local.INFO: GPS data processed {"connection_id":123921,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:13:38] local.INFO: Acknowledgment sent {"connection_id":123921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:14:00] local.INFO: TCP Data received {"connection_id":124024,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:14:00] local.INFO: Processing buffer {"connection_id":124024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:14:00] local.INFO: IMEI packet received {"connection_id":124024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":124024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:14:06] local.INFO: TCP Data received {"connection_id":124024,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:14:06] local.INFO: Processing buffer {"connection_id":124024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:14:06] local.INFO: IMEI packet received {"connection_id":124024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":124024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:14:07] local.INFO: TCP Data received {"connection_id":124024,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f360f0012d13d60006d99cf8000b00b730..."} 
[2026-07-07 01:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f360f0012d13d60006d99cf8000b00b730..."} 
[2026-07-07 01:14:07] local.INFO: Processing buffer {"connection_id":124024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f360f0012d13d60006d99cf8000b00b730..."} 
[2026-07-07 01:14:07] local.INFO: Packet analysis {"connection_id":124024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f3"} 
[2026-07-07 01:14:07] local.INFO: Extracted packet for processing {"connection_id":124024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f3"} 
[2026-07-07 01:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756274688,"raw_latitude":114924792,"longitude_deg":75.6274688,"latitude_deg":11.4924792,"altitude":11,"angle":183,"satellites":48,"speed":29,"hex_longitude":"2d13d600","hex_latitude":"06d99cf8","is_valid_coordinates":true} 
[2026-07-07 01:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541923840001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339920427818156032,"note":"Value kept but may cause issues"} 
[2026-07-07 01:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1429892911113322496,"note":"Value kept but may cause issues"} 
[2026-07-07 01:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783366902000,"timestamp_ms":1783366902000,"timestamp_seconds":1783366902,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f360f0"} 
[2026-07-07 01:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 01:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541923840001,"66":27321,"184":206,"81":20480,"24":29,"16":339920427818156032,"45":1429892911113322496},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-07-07 01:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541923840001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:14:07] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-07 01:14:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339920427818156032,"km_value":339920427818156.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1429892911113322496,"description":"Unknown IO ID 45"} 
[2026-07-07 01:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541923840001,"power":27321,"unknown_184":206,"unknown_81":20480,"ignition":29,"odometer":null,"unknown_45":1429892911113322496}} 
[2026-07-07 01:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":124024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:14:07] local.INFO: GPS data processed {"connection_id":124024,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:14:07] local.INFO: Acknowledgment sent {"connection_id":124024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:14:38] local.INFO: TCP Data received {"connection_id":124024,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f38be8012d13d4c006d97978000b00b42f..."} 
[2026-07-07 01:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f38be8012d13d4c006d97978000b00b42f..."} 
[2026-07-07 01:14:38] local.INFO: Processing buffer {"connection_id":124024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f38be8012d13d4c006d97978000b00b42f..."} 
[2026-07-07 01:14:38] local.INFO: Packet analysis {"connection_id":124024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f3"} 
[2026-07-07 01:14:38] local.INFO: Extracted packet for processing {"connection_id":124024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f3"} 
[2026-07-07 01:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756274368,"raw_latitude":114915704,"longitude_deg":75.6274368,"latitude_deg":11.4915704,"altitude":11,"angle":180,"satellites":47,"speed":35,"hex_longitude":"2d13d4c0","hex_latitude":"06d97978","is_valid_coordinates":true} 
[2026-07-07 01:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541926912001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339920870199787520,"note":"Value kept but may cause issues"} 
[2026-07-07 01:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1429329961157457920,"note":"Value kept but may cause issues"} 
[2026-07-07 01:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783366913000,"timestamp_ms":1783366913000,"timestamp_seconds":1783366913,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f38be8"} 
[2026-07-07 01:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:14: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-07-07 01:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 01:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541926912001,"66":27376,"184":206,"81":20480,"24":35,"16":339920870199787520,"45":1429329961157457920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-07-07 01:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541926912001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:14:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-07 01:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339920870199787520,"km_value":339920870199787.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1429329961157457920,"description":"Unknown IO ID 45"} 
[2026-07-07 01:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541926912001,"power":27376,"unknown_184":206,"unknown_81":20480,"ignition":35,"odometer":null,"unknown_45":1429329961157457920}} 
[2026-07-07 01:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":124024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:14:38] local.INFO: GPS data processed {"connection_id":124024,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:14:38] local.INFO: Acknowledgment sent {"connection_id":124024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:15:03] local.INFO: TCP Data received {"connection_id":124678,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:15:03] local.INFO: Processing buffer {"connection_id":124678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:15:03] local.INFO: IMEI packet received {"connection_id":124678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":124678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:15:06] local.INFO: TCP Data received {"connection_id":124678,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:15:06] local.INFO: Processing buffer {"connection_id":124678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:15:06] local.INFO: IMEI packet received {"connection_id":124678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":124678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:15:10] local.INFO: TCP Data received {"connection_id":124678,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:15:10] local.INFO: Processing buffer {"connection_id":124678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:15:10] local.INFO: IMEI packet received {"connection_id":124678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":124678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:15:11] local.INFO: TCP Data received {"connection_id":124678,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f56490012d14630006d84650000f008e2f..."} 
[2026-07-07 01:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f56490012d14630006d84650000f008e2f..."} 
[2026-07-07 01:15:11] local.INFO: Processing buffer {"connection_id":124678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f56490012d14630006d84650000f008e2f..."} 
[2026-07-07 01:15:11] local.INFO: Packet analysis {"connection_id":124678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f5"} 
[2026-07-07 01:15:11] local.INFO: Extracted packet for processing {"connection_id":124678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f5"} 
[2026-07-07 01:15:11] local.INFO: GPS Element Parsed {"raw_longitude":756310784,"raw_latitude":114837072,"longitude_deg":75.6310784,"latitude_deg":11.4837072,"altitude":15,"angle":142,"satellites":47,"speed":37,"hex_longitude":"2d146300","hex_latitude":"06d84650","is_valid_coordinates":true} 
[2026-07-07 01:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541960704001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339925105037541376,"note":"Value kept but may cause issues"} 
[2026-07-07 01:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1469017932851204096,"note":"Value kept but may cause issues"} 
[2026-07-07 01:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783367034000,"timestamp_ms":1783367034000,"timestamp_seconds":1783367034,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f56490"} 
[2026-07-07 01:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:15: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-07-07 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 01:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541960704001,"66":27365,"183":206,"81":20480,"24":37,"16":339925105037541376,"45":1469017932851204096},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-07-07 01:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541960704001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:15:11] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-07 01:15:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339925105037541376,"km_value":339925105037541.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1469017932851204096,"description":"Unknown IO ID 45"} 
[2026-07-07 01:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541960704001,"power":27365,"unknown_183":206,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":1469017932851204096}} 
[2026-07-07 01:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":124678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:15:11] local.INFO: GPS data processed {"connection_id":124678,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:15:11] local.INFO: Acknowledgment sent {"connection_id":124678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:15:13] local.INFO: TCP Data received {"connection_id":124678,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f58ba0012d147cc006d829b0000e00872f..."} 
[2026-07-07 01:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f58ba0012d147cc006d829b0000e00872f..."} 
[2026-07-07 01:15:13] local.INFO: Processing buffer {"connection_id":124678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f58ba0012d147cc006d829b0000e00872f..."} 
[2026-07-07 01:15:13] local.INFO: Packet analysis {"connection_id":124678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f5"} 
[2026-07-07 01:15:13] local.INFO: Extracted packet for processing {"connection_id":124678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f5"} 
[2026-07-07 01:15:13] local.INFO: GPS Element Parsed {"raw_longitude":756317376,"raw_latitude":114829744,"longitude_deg":75.6317376,"latitude_deg":11.4829744,"altitude":14,"angle":135,"satellites":47,"speed":39,"hex_longitude":"2d147cc0","hex_latitude":"06d829b0","is_valid_coordinates":true} 
[2026-07-07 01:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541960704001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339925577483943936,"note":"Value kept but may cause issues"} 
[2026-07-07 01:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1469017932851204096,"note":"Value kept but may cause issues"} 
[2026-07-07 01:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783367044000,"timestamp_ms":1783367044000,"timestamp_seconds":1783367044,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f58ba0"} 
[2026-07-07 01:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:15: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-07-07 01:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 01:15: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-07-07 01:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541960704001,"66":27234,"183":206,"81":20480,"24":39,"16":339925577483943936,"45":1469017932851204096},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-07-07 01:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541960704001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:15:13] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-07 01:15:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339925577483943936,"km_value":339925577483943.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1469017932851204096,"description":"Unknown IO ID 45"} 
[2026-07-07 01:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541960704001,"power":27234,"unknown_183":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1469017932851204096}} 
[2026-07-07 01:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":124678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:15:13] local.INFO: GPS data processed {"connection_id":124678,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:15:13] local.INFO: Acknowledgment sent {"connection_id":124678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:15:45] local.INFO: TCP Data received {"connection_id":124678,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f5b2b0012d14974006d80e78000e008730..."} 
[2026-07-07 01:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f5b2b0012d14974006d80e78000e008730..."} 
[2026-07-07 01:15:45] local.INFO: Processing buffer {"connection_id":124678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f5b2b0012d14974006d80e78000e008730..."} 
[2026-07-07 01:15:45] local.INFO: Packet analysis {"connection_id":124678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f5"} 
[2026-07-07 01:15:45] local.INFO: Extracted packet for processing {"connection_id":124678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f5"} 
[2026-07-07 01:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756324160,"raw_latitude":114822776,"longitude_deg":75.632416,"latitude_deg":11.4822776,"altitude":14,"angle":135,"satellites":48,"speed":37,"hex_longitude":"2d149740","hex_latitude":"06d80e78","is_valid_coordinates":true} 
[2026-07-07 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-07-07 01:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541963264001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339926041340411904,"note":"Value kept but may cause issues"} 
[2026-07-07 01:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1476265913499627520,"note":"Value kept but may cause issues"} 
[2026-07-07 01:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783367054000,"timestamp_ms":1783367054000,"timestamp_seconds":1783367054,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f5b2b0"} 
[2026-07-07 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-07-07 01: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-07-07 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 01:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 01:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:15: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-07-07 01:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541963264001,"66":27300,"183":206,"81":20480,"24":37,"16":339926041340411904,"45":1476265913499627520},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-07-07 01:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541963264001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:15:45] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-07 01:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339926041340411904,"km_value":339926041340411.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1476265913499627520,"description":"Unknown IO ID 45"} 
[2026-07-07 01:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541963264001,"power":27300,"unknown_183":206,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":1476265913499627520}} 
[2026-07-07 01:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":124678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:15:45] local.INFO: GPS data processed {"connection_id":124678,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:15:45] local.INFO: Acknowledgment sent {"connection_id":124678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:16:01] local.INFO: TCP Data received {"connection_id":125928,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:16:01] local.INFO: Processing buffer {"connection_id":125928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:16:01] local.INFO: IMEI packet received {"connection_id":125928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":125928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:16:02] local.INFO: TCP Data received {"connection_id":125928,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:16:02] local.INFO: Processing buffer {"connection_id":125928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:16:02] local.INFO: IMEI packet received {"connection_id":125928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":125928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:16:06] local.INFO: TCP Data received {"connection_id":125928,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:16:06] local.INFO: Processing buffer {"connection_id":125928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:16:06] local.INFO: IMEI packet received {"connection_id":125928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":125928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:16:07] local.INFO: TCP Data received {"connection_id":125928,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f5d9c0012d14b1c006d7f3e0000d00872f..."} 
[2026-07-07 01:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f5d9c0012d14b1c006d7f3e0000d00872f..."} 
[2026-07-07 01:16:07] local.INFO: Processing buffer {"connection_id":125928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f5d9c0012d14b1c006d7f3e0000d00872f..."} 
[2026-07-07 01:16:07] local.INFO: Packet analysis {"connection_id":125928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f5"} 
[2026-07-07 01:16:07] local.INFO: Extracted packet for processing {"connection_id":125928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f5"} 
[2026-07-07 01:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756330944,"raw_latitude":114815968,"longitude_deg":75.6330944,"latitude_deg":11.4815968,"altitude":13,"angle":135,"satellites":47,"speed":40,"hex_longitude":"2d14b1c0","hex_latitude":"06d7f3e0","is_valid_coordinates":true} 
[2026-07-07 01:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541965824001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339926505196879872,"note":"Value kept but may cause issues"} 
[2026-07-07 01:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1483725000380676096,"note":"Value kept but may cause issues"} 
[2026-07-07 01:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783367064000,"timestamp_ms":1783367064000,"timestamp_seconds":1783367064,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f5d9c0"} 
[2026-07-07 01:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 01:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541965824001,"66":27343,"183":206,"81":20480,"24":40,"16":339926505196879872,"45":1483725000380676096},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-07-07 01:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541965824001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:16:07] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-07 01:16:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339926505196879872,"km_value":339926505196879.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1483725000380676096,"description":"Unknown IO ID 45"} 
[2026-07-07 01:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541965824001,"power":27343,"unknown_183":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1483725000380676096}} 
[2026-07-07 01:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":125928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:16:07] local.INFO: GPS data processed {"connection_id":125928,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:16:07] local.INFO: Acknowledgment sent {"connection_id":125928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:16:11] local.INFO: TCP Data received {"connection_id":125928,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f5fce8012d14cb8006d7d968000e00872e..."} 
[2026-07-07 01:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f5fce8012d14cb8006d7d968000e00872e..."} 
[2026-07-07 01:16:11] local.INFO: Processing buffer {"connection_id":125928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f5fce8012d14cb8006d7d968000e00872e..."} 
[2026-07-07 01:16:11] local.INFO: Packet analysis {"connection_id":125928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f5"} 
[2026-07-07 01:16:11] local.INFO: Extracted packet for processing {"connection_id":125928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f5"} 
[2026-07-07 01:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756337536,"raw_latitude":114809192,"longitude_deg":75.6337536,"latitude_deg":11.4809192,"altitude":14,"angle":135,"satellites":46,"speed":41,"hex_longitude":"2d14cb80","hex_latitude":"06d7d968","is_valid_coordinates":true} 
[2026-07-07 01:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541968384001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339926956168445952,"note":"Value kept but may cause issues"} 
[2026-07-07 01:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1491184087261765632,"note":"Value kept but may cause issues"} 
[2026-07-07 01:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783367073000,"timestamp_ms":1783367073000,"timestamp_seconds":1783367073,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f5fce8"} 
[2026-07-07 01:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:16: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-07-07 01:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 01:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541968384001,"66":27310,"183":206,"81":20480,"24":41,"16":339926956168445952,"45":1491184087261765632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-07-07 01:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541968384001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:16:11] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-07 01:16:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339926956168445952,"km_value":339926956168445.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1491184087261765632,"description":"Unknown IO ID 45"} 
[2026-07-07 01:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541968384001,"power":27310,"unknown_183":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1491184087261765632}} 
[2026-07-07 01:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":125928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:16:11] local.INFO: GPS data processed {"connection_id":125928,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:16:11] local.INFO: Acknowledgment sent {"connection_id":125928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:16:42] local.INFO: TCP Data received {"connection_id":125928,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f62010012d14e6c006d7bdc0000d00882f..."} 
[2026-07-07 01:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f62010012d14e6c006d7bdc0000d00882f..."} 
[2026-07-07 01:16:42] local.INFO: Processing buffer {"connection_id":125928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f62010012d14e6c006d7bdc0000d00882f..."} 
[2026-07-07 01:16:42] local.INFO: Packet analysis {"connection_id":125928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f6"} 
[2026-07-07 01:16:42] local.INFO: Extracted packet for processing {"connection_id":125928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f6"} 
[2026-07-07 01:16:42] local.INFO: GPS Element Parsed {"raw_longitude":756344512,"raw_latitude":114802112,"longitude_deg":75.6344512,"latitude_deg":11.4802112,"altitude":13,"angle":136,"satellites":47,"speed":45,"hex_longitude":"2d14e6c0","hex_latitude":"06d7bdc0","is_valid_coordinates":true} 
[2026-07-07 01:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541970688001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339927437204783104,"note":"Value kept but may cause issues"} 
[2026-07-07 01:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1498432067910330368,"note":"Value kept but may cause issues"} 
[2026-07-07 01:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783367082000,"timestamp_ms":1783367082000,"timestamp_seconds":1783367082,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f62010"} 
[2026-07-07 01:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-07 01:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541970688001,"66":27397,"46":206,"81":20480,"24":45,"16":339927437204783104,"45":1498432067910330368},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541970688001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:16:42] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339927437204783104,"km_value":339927437204783.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1498432067910330368,"description":"Unknown IO ID 45"} 
[2026-07-07 01:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541970688001,"power":27397,"unknown_46":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":1498432067910330368}} 
[2026-07-07 01:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":125928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:16:42] local.INFO: GPS data processed {"connection_id":125928,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:16:42] local.INFO: Acknowledgment sent {"connection_id":125928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:17:01] local.INFO: TCP Data received {"connection_id":123922,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:17:01] local.INFO: Processing buffer {"connection_id":123922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:17:01] local.INFO: IMEI packet received {"connection_id":123922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":123922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:17:01] local.INFO: TCP Data received {"connection_id":123922,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:17:01] local.INFO: Processing buffer {"connection_id":123922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:17:01] local.INFO: IMEI packet received {"connection_id":123922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":123922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:17:06] local.INFO: TCP Data received {"connection_id":123922,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:17:06] local.INFO: Processing buffer {"connection_id":123922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:17:06] local.INFO: IMEI packet received {"connection_id":123922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":123922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:17:07] local.INFO: TCP Data received {"connection_id":123922,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f63f50012d15008006d7a318000c00892f..."} 
[2026-07-07 01:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f63f50012d15008006d7a318000c00892f..."} 
[2026-07-07 01:17:07] local.INFO: Processing buffer {"connection_id":123922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f63f50012d15008006d7a318000c00892f..."} 
[2026-07-07 01:17:07] local.INFO: Packet analysis {"connection_id":123922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f6"} 
[2026-07-07 01:17:07] local.INFO: Extracted packet for processing {"connection_id":123922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f6"} 
[2026-07-07 01:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756351104,"raw_latitude":114795288,"longitude_deg":75.6351104,"latitude_deg":11.4795288,"altitude":12,"angle":137,"satellites":47,"speed":47,"hex_longitude":"2d150080","hex_latitude":"06d7a318","is_valid_coordinates":true} 
[2026-07-07 01:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541972992001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339927892471316480,"note":"Value kept but may cause issues"} 
[2026-07-07 01:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1506102261023883264,"note":"Value kept but may cause issues"} 
[2026-07-07 01:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783367090000,"timestamp_ms":1783367090000,"timestamp_seconds":1783367090,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f63f50"} 
[2026-07-07 01:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 01:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":123922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":123922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":123922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541972992001,"66":27321,"46":206,"81":20480,"24":47,"16":339927892471316480,"45":1506102261023883264},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541972992001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:17:07] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:17:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339927892471316480,"km_value":339927892471316.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1506102261023883264,"description":"Unknown IO ID 45"} 
[2026-07-07 01:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541972992001,"power":27321,"unknown_46":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1506102261023883264}} 
[2026-07-07 01:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":123922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:17:07] local.INFO: GPS data processed {"connection_id":123922,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:17:07] local.INFO: Acknowledgment sent {"connection_id":123922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:17:21] local.INFO: TCP Data received {"connection_id":124025,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:17:21] local.INFO: Processing buffer {"connection_id":124025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:17:21] local.INFO: IMEI packet received {"connection_id":124025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 01:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":124025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:17:38] local.INFO: TCP Data received {"connection_id":123922,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f65e90012d15198006d788b8000d008930..."} 
[2026-07-07 01:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f65e90012d15198006d788b8000d008930..."} 
[2026-07-07 01:17:38] local.INFO: Processing buffer {"connection_id":123922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f65e90012d15198006d788b8000d008930..."} 
[2026-07-07 01:17:38] local.INFO: Packet analysis {"connection_id":123922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f6"} 
[2026-07-07 01:17:38] local.INFO: Extracted packet for processing {"connection_id":123922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f6"} 
[2026-07-07 01:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756357504,"raw_latitude":114788536,"longitude_deg":75.6357504,"latitude_deg":11.4788536,"altitude":13,"angle":137,"satellites":48,"speed":45,"hex_longitude":"2d151980","hex_latitude":"06d788b8","is_valid_coordinates":true} 
[2026-07-07 01:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541975040001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339928339147915264,"note":"Value kept but may cause issues"} 
[2026-07-07 01:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1513350241672435712,"note":"Value kept but may cause issues"} 
[2026-07-07 01:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783367098000,"timestamp_ms":1783367098000,"timestamp_seconds":1783367098,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f65e90"} 
[2026-07-07 01:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:17: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-07-07 01:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 01:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":123922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":123922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":123922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541975040001,"66":27332,"46":206,"81":20480,"24":45,"16":339928339147915264,"45":1513350241672435712},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541975040001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:17:38] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339928339147915264,"km_value":339928339147915.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1513350241672435712,"description":"Unknown IO ID 45"} 
[2026-07-07 01:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541975040001,"power":27332,"unknown_46":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":1513350241672435712}} 
[2026-07-07 01:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":123922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:17:38] local.INFO: GPS data processed {"connection_id":123922,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:17:38] local.INFO: Acknowledgment sent {"connection_id":123922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:18:00] local.INFO: TCP Data received {"connection_id":124679,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:18:00] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:18:00] local.INFO: IMEI packet received {"connection_id":124679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":124679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:18:04] local.INFO: TCP Data received {"connection_id":124679,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:18:04] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:18:04] local.INFO: IMEI packet received {"connection_id":124679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":124679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:18:05] local.INFO: TCP Data received {"connection_id":124679,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:18:05] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:18:05] local.INFO: IMEI packet received {"connection_id":124679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":124679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:18:06] local.INFO: TCP Data received {"connection_id":124679,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f67dd0012d15320006d76f68000d00872f..."} 
[2026-07-07 01:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f67dd0012d15320006d76f68000d00872f..."} 
[2026-07-07 01:18:06] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f67dd0012d15320006d76f68000d00872f..."} 
[2026-07-07 01:18:06] local.INFO: Packet analysis {"connection_id":124679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f6"} 
[2026-07-07 01:18:06] local.INFO: Extracted packet for processing {"connection_id":124679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f6"} 
[2026-07-07 01:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756363776,"raw_latitude":114782056,"longitude_deg":75.6363776,"latitude_deg":11.4782056,"altitude":13,"angle":135,"satellites":47,"speed":41,"hex_longitude":"2d153200","hex_latitude":"06d76f68","is_valid_coordinates":true} 
[2026-07-07 01:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541977088001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339928772939612160,"note":"Value kept but may cause issues"} 
[2026-07-07 01:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1520387116088473600,"note":"Value kept but may cause issues"} 
[2026-07-07 01:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783367106000,"timestamp_ms":1783367106000,"timestamp_seconds":1783367106,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f67dd0"} 
[2026-07-07 01:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 01:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541977088001,"66":27006,"46":206,"81":20480,"24":41,"16":339928772939612160,"45":1520387116088473600},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541977088001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:18:06] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:18:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339928772939612160,"km_value":339928772939612.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1520387116088473600,"description":"Unknown IO ID 45"} 
[2026-07-07 01:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541977088001,"power":27006,"unknown_46":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1520387116088473600}} 
[2026-07-07 01:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":124679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:18:06] local.INFO: GPS data processed {"connection_id":124679,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:18:06] local.INFO: Acknowledgment sent {"connection_id":124679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:18:11] local.INFO: TCP Data received {"connection_id":124679,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f6a0f8012d154c4006d752c0000c00892f..."} 
[2026-07-07 01:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f6a0f8012d154c4006d752c0000c00892f..."} 
[2026-07-07 01:18:11] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f6a0f8012d154c4006d752c0000c00892f..."} 
[2026-07-07 01:18:11] local.INFO: Packet analysis {"connection_id":124679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f6"} 
[2026-07-07 01:18:11] local.INFO: Extracted packet for processing {"connection_id":124679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f6"} 
[2026-07-07 01:18:11] local.INFO: GPS Element Parsed {"raw_longitude":756370496,"raw_latitude":114774720,"longitude_deg":75.6370496,"latitude_deg":11.477472,"altitude":12,"angle":137,"satellites":47,"speed":46,"hex_longitude":"2d154c40","hex_latitude":"06d752c0","is_valid_coordinates":true} 
[2026-07-07 01:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541979136001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339929249680982016,"note":"Value kept but may cause issues"} 
[2026-07-07 01:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1527283253016225792,"note":"Value kept but may cause issues"} 
[2026-07-07 01:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783367115000,"timestamp_ms":1783367115000,"timestamp_seconds":1783367115,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f6a0f8"} 
[2026-07-07 01:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-07 01:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1857,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541979136001,"66":27365,"46":206,"81":20480,"24":46,"16":339929249680982016,"45":1527283253016225792},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541979136001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:18:11] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:18:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339929249680982016,"km_value":339929249680982.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1527283253016225792,"description":"Unknown IO ID 45"} 
[2026-07-07 01:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541979136001,"power":27365,"unknown_46":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1527283253016225792}} 
[2026-07-07 01:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":124679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:18:11] local.INFO: GPS data processed {"connection_id":124679,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:18:11] local.INFO: Acknowledgment sent {"connection_id":124679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:18:12] local.INFO: TCP Data received {"connection_id":124680,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:18:12] local.INFO: Processing buffer {"connection_id":124680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:18:12] local.INFO: IMEI packet received {"connection_id":124680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 01:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":124680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:18:42] local.INFO: TCP Data received {"connection_id":124679,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f6c038012d1565c006d737b8000d00892f..."} 
[2026-07-07 01:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f6c038012d1565c006d737b8000d00892f..."} 
[2026-07-07 01:18:42] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f6c038012d1565c006d737b8000d00892f..."} 
[2026-07-07 01:18:42] local.INFO: Packet analysis {"connection_id":124679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f6"} 
[2026-07-07 01:18:42] local.INFO: Extracted packet for processing {"connection_id":124679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f6"} 
[2026-07-07 01:18:42] local.INFO: GPS Element Parsed {"raw_longitude":756377024,"raw_latitude":114767800,"longitude_deg":75.6377024,"latitude_deg":11.47678,"altitude":13,"angle":137,"satellites":47,"speed":48,"hex_longitude":"2d1565c0","hex_latitude":"06d737b8","is_valid_coordinates":true} 
[2026-07-07 01:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541981440001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339929704947515392,"note":"Value kept but may cause issues"} 
[2026-07-07 01:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1534671971153002496,"note":"Value kept but may cause issues"} 
[2026-07-07 01:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783367123000,"timestamp_ms":1783367123000,"timestamp_seconds":1783367123,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f6c038"} 
[2026-07-07 01:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:18: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-07-07 01:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 01:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541981440001,"66":27321,"46":206,"81":20480,"24":48,"16":339929704947515392,"45":1534671971153002496},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541981440001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:18:42] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:18:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339929704947515392,"km_value":339929704947515.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1534671971153002496,"description":"Unknown IO ID 45"} 
[2026-07-07 01:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541981440001,"power":27321,"unknown_46":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":1534671971153002496}} 
[2026-07-07 01:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":124679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:18:42] local.INFO: GPS data processed {"connection_id":124679,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:18:42] local.INFO: Acknowledgment sent {"connection_id":124679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:19:00] local.INFO: TCP Data received {"connection_id":124681,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:19:00] local.INFO: Processing buffer {"connection_id":124681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:19:00] local.INFO: IMEI packet received {"connection_id":124681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":124681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:19:05] local.INFO: TCP Data received {"connection_id":124681,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:19:06] local.INFO: Processing buffer {"connection_id":124681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:19:06] local.INFO: IMEI packet received {"connection_id":124681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":124681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:19:06] local.INFO: TCP Data received {"connection_id":124681,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f6df78012d15800006d71cc8000e00852b..."} 
[2026-07-07 01:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f6df78012d15800006d71cc8000e00852b..."} 
[2026-07-07 01:19:06] local.INFO: Processing buffer {"connection_id":124681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f6df78012d15800006d71cc8000e00852b..."} 
[2026-07-07 01:19:06] local.INFO: Packet analysis {"connection_id":124681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f6"} 
[2026-07-07 01:19:06] local.INFO: Extracted packet for processing {"connection_id":124681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f6"} 
[2026-07-07 01:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756383744,"raw_latitude":114760904,"longitude_deg":75.6383744,"latitude_deg":11.4760904,"altitude":14,"angle":133,"satellites":43,"speed":45,"hex_longitude":"2d158000","hex_latitude":"06d71cc8","is_valid_coordinates":true} 
[2026-07-07 01:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541983488001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339930168803983360,"note":"Value kept but may cause issues"} 
[2026-07-07 01:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1541849583057352704,"note":"Value kept but may cause issues"} 
[2026-07-07 01:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783367131000,"timestamp_ms":1783367131000,"timestamp_seconds":1783367131,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f6df78"} 
[2026-07-07 01:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 01:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541983488001,"66":27310,"46":206,"81":20480,"24":45,"16":339930168803983360,"45":1541849583057352704},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541983488001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:19:06] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:19:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339930168803983360,"km_value":339930168803983.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1541849583057352704,"description":"Unknown IO ID 45"} 
[2026-07-07 01:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541983488001,"power":27310,"unknown_46":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":1541849583057352704}} 
[2026-07-07 01:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":124681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:19:06] local.INFO: GPS data processed {"connection_id":124681,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:19:06] local.INFO: Acknowledgment sent {"connection_id":124681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:19:38] local.INFO: TCP Data received {"connection_id":124681,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f702a0012d159d4006d70408000e00802a..."} 
[2026-07-07 01:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f702a0012d159d4006d70408000e00802a..."} 
[2026-07-07 01:19:38] local.INFO: Processing buffer {"connection_id":124681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f702a0012d159d4006d70408000e00802a..."} 
[2026-07-07 01:19:38] local.INFO: Packet analysis {"connection_id":124681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f7"} 
[2026-07-07 01:19:38] local.INFO: Extracted packet for processing {"connection_id":124681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f7"} 
[2026-07-07 01:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756391232,"raw_latitude":114754568,"longitude_deg":75.6391232,"latitude_deg":11.4754568,"altitude":14,"angle":128,"satellites":42,"speed":37,"hex_longitude":"2d159d40","hex_latitude":"06d70408","is_valid_coordinates":true} 
[2026-07-07 01:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541985536001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339930636955418624,"note":"Value kept but may cause issues"} 
[2026-07-07 01:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1549238301194242048,"note":"Value kept but may cause issues"} 
[2026-07-07 01:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783367140000,"timestamp_ms":1783367140000,"timestamp_seconds":1783367140,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f702a0"} 
[2026-07-07 01:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:19: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-07-07 01:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-07 01:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541985536001,"66":27115,"46":206,"81":20480,"24":37,"16":339930636955418624,"45":1549238301194242048},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541985536001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:19:38] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339930636955418624,"km_value":339930636955418.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1549238301194242048,"description":"Unknown IO ID 45"} 
[2026-07-07 01:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541985536001,"power":27115,"unknown_46":206,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":1549238301194242048}} 
[2026-07-07 01:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":124681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:19:38] local.INFO: GPS data processed {"connection_id":124681,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:19:38] local.INFO: Acknowledgment sent {"connection_id":124681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:20:06] local.INFO: TCP Data received {"connection_id":124027,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:20:06] local.INFO: Processing buffer {"connection_id":124027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:20:06] local.INFO: IMEI packet received {"connection_id":124027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":124027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:20:10] local.INFO: TCP Data received {"connection_id":124027,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:20:10] local.INFO: Processing buffer {"connection_id":124027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:20:10] local.INFO: IMEI packet received {"connection_id":124027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":124027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:20:11] local.INFO: TCP Data received {"connection_id":124027,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f754a8012d15ae0006d6f9a8001000842e..."} 
[2026-07-07 01:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f754a8012d15ae0006d6f9a8001000842e..."} 
[2026-07-07 01:20:11] local.INFO: Processing buffer {"connection_id":124027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f754a8012d15ae0006d6f9a8001000842e..."} 
[2026-07-07 01:20:11] local.INFO: Packet analysis {"connection_id":124027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f7"} 
[2026-07-07 01:20:11] local.INFO: Extracted packet for processing {"connection_id":124027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f7"} 
[2026-07-07 01:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756395520,"raw_latitude":114751912,"longitude_deg":75.639552,"latitude_deg":11.4751912,"altitude":16,"angle":132,"satellites":46,"speed":0,"hex_longitude":"2d15ae00","hex_latitude":"06d6f9a8","is_valid_coordinates":true} 
[2026-07-07 01:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541987840001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339930881768554496,"note":"Value kept but may cause issues"} 
[2026-07-07 01:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1557471444261406720,"note":"Value kept but may cause issues"} 
[2026-07-07 01:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783367161000,"timestamp_ms":1783367161000,"timestamp_seconds":1783367161,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f754a8"} 
[2026-07-07 01:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-07-07 01:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541987840001,"66":27213,"46":206,"81":20480,"24":0,"16":339930881768554496,"45":1557471444261406720},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541987840001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:20:11] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:20:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339930881768554496,"km_value":339930881768554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1557471444261406720,"description":"Unknown IO ID 45"} 
[2026-07-07 01:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541987840001,"power":27213,"unknown_46":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1557471444261406720}} 
[2026-07-07 01:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":124027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:20:11] local.INFO: GPS data processed {"connection_id":124027,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:20:11] local.INFO: Acknowledgment sent {"connection_id":124027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:20:12] local.INFO: TCP Data received {"connection_id":124027,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f7a6b0012d15ae0006d6f9a8001000842c..."} 
[2026-07-07 01:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f7a6b0012d15ae0006d6f9a8001000842c..."} 
[2026-07-07 01:20:12] local.INFO: Processing buffer {"connection_id":124027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f7a6b0012d15ae0006d6f9a8001000842c..."} 
[2026-07-07 01:20:12] local.INFO: Packet analysis {"connection_id":124027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f7"} 
[2026-07-07 01:20:12] local.INFO: Extracted packet for processing {"connection_id":124027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f7"} 
[2026-07-07 01:20:12] local.INFO: GPS Element Parsed {"raw_longitude":756395520,"raw_latitude":114751912,"longitude_deg":75.639552,"latitude_deg":11.4751912,"altitude":16,"angle":132,"satellites":44,"speed":0,"hex_longitude":"2d15ae00","hex_latitude":"06d6f9a8","is_valid_coordinates":true} 
[2026-07-07 01: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-07-07 01:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541993216001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339930881768554496,"note":"Value kept but may cause issues"} 
[2026-07-07 01:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562186150120630272,"note":"Value kept but may cause issues"} 
[2026-07-07 01:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783367182000,"timestamp_ms":1783367182000,"timestamp_seconds":1783367182,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f7a6b0"} 
[2026-07-07 01:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:20: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-07-07 01: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 01:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01: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-07-07 01:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541993216001,"66":27376,"46":206,"81":20480,"24":0,"16":339930881768554496,"45":1562186150120630272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541993216001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:20:12] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:20:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339930881768554496,"km_value":339930881768554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562186150120630272,"description":"Unknown IO ID 45"} 
[2026-07-07 01:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541993216001,"power":27376,"unknown_46":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1562186150120630272}} 
[2026-07-07 01:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":124027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:20:12] local.INFO: GPS data processed {"connection_id":124027,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:20:12] local.INFO: Acknowledgment sent {"connection_id":124027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:20:44] local.INFO: TCP Data received {"connection_id":124027,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f7f8b8012d15ae0006d6f9a8001000842a..."} 
[2026-07-07 01:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f7f8b8012d15ae0006d6f9a8001000842a..."} 
[2026-07-07 01:20:44] local.INFO: Processing buffer {"connection_id":124027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f7f8b8012d15ae0006d6f9a8001000842a..."} 
[2026-07-07 01:20:44] local.INFO: Packet analysis {"connection_id":124027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f7"} 
[2026-07-07 01:20:44] local.INFO: Extracted packet for processing {"connection_id":124027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f7"} 
[2026-07-07 01:20:44] local.INFO: GPS Element Parsed {"raw_longitude":756395520,"raw_latitude":114751912,"longitude_deg":75.639552,"latitude_deg":11.4751912,"altitude":16,"angle":132,"satellites":42,"speed":0,"hex_longitude":"2d15ae00","hex_latitude":"06d6f9a8","is_valid_coordinates":true} 
[2026-07-07 01:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456541998592001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339930881768554496,"note":"Value kept but may cause issues"} 
[2026-07-07 01:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562186150120630272,"note":"Value kept but may cause issues"} 
[2026-07-07 01:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783367203000,"timestamp_ms":1783367203000,"timestamp_seconds":1783367203,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f7f8b8"} 
[2026-07-07 01:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01: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-07-07 01: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":240,"data_length":795,"current_offset":136} 
[2026-07-07 01:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456541998592001,"66":27267,"46":206,"81":20480,"24":0,"16":339930881768554496,"45":1562186150120630272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456541998592001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:20:44] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339930881768554496,"km_value":339930881768554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562186150120630272,"description":"Unknown IO ID 45"} 
[2026-07-07 01:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456541998592001,"power":27267,"unknown_46":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1562186150120630272}} 
[2026-07-07 01:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":124027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:20:44] local.INFO: GPS data processed {"connection_id":124027,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:20:44] local.INFO: Acknowledgment sent {"connection_id":124027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:21:01] local.INFO: TCP Data received {"connection_id":124028,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:21:01] local.INFO: Processing buffer {"connection_id":124028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:21:01] local.INFO: IMEI packet received {"connection_id":124028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":124028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:21:06] local.INFO: TCP Data received {"connection_id":124028,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:21:06] local.INFO: Processing buffer {"connection_id":124028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:21:06] local.INFO: IMEI packet received {"connection_id":124028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":124028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:21:07] local.INFO: TCP Data received {"connection_id":124028,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f84ac0012d15ae0006d6f9a8001000842f..."} 
[2026-07-07 01:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f84ac0012d15ae0006d6f9a8001000842f..."} 
[2026-07-07 01:21:07] local.INFO: Processing buffer {"connection_id":124028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f84ac0012d15ae0006d6f9a8001000842f..."} 
[2026-07-07 01:21:07] local.INFO: Packet analysis {"connection_id":124028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f8"} 
[2026-07-07 01:21:07] local.INFO: Extracted packet for processing {"connection_id":124028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f8"} 
[2026-07-07 01:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756395520,"raw_latitude":114751912,"longitude_deg":75.639552,"latitude_deg":11.4751912,"altitude":16,"angle":132,"satellites":47,"speed":0,"hex_longitude":"2d15ae00","hex_latitude":"06d6f9a8","is_valid_coordinates":true} 
[2026-07-07 01:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542003968001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339930881768554496,"note":"Value kept but may cause issues"} 
[2026-07-07 01:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562186150120630272,"note":"Value kept but may cause issues"} 
[2026-07-07 01:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783367224000,"timestamp_ms":1783367224000,"timestamp_seconds":1783367224,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f84ac0"} 
[2026-07-07 01:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 01:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542003968001,"66":27343,"46":206,"81":20480,"24":0,"16":339930881768554496,"45":1562186150120630272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542003968001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:21:07] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:21:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339930881768554496,"km_value":339930881768554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562186150120630272,"description":"Unknown IO ID 45"} 
[2026-07-07 01:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542003968001,"power":27343,"unknown_46":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1562186150120630272}} 
[2026-07-07 01:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":124028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:21:07] local.INFO: GPS data processed {"connection_id":124028,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:21:07] local.INFO: Acknowledgment sent {"connection_id":124028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:21:11] local.INFO: TCP Data received {"connection_id":124028,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f89cc8012d15ae0006d6f9a8001000842d..."} 
[2026-07-07 01:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f89cc8012d15ae0006d6f9a8001000842d..."} 
[2026-07-07 01:21:11] local.INFO: Processing buffer {"connection_id":124028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f89cc8012d15ae0006d6f9a8001000842d..."} 
[2026-07-07 01:21:11] local.INFO: Packet analysis {"connection_id":124028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f8"} 
[2026-07-07 01:21:11] local.INFO: Extracted packet for processing {"connection_id":124028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f8"} 
[2026-07-07 01:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756395520,"raw_latitude":114751912,"longitude_deg":75.639552,"latitude_deg":11.4751912,"altitude":16,"angle":132,"satellites":45,"speed":0,"hex_longitude":"2d15ae00","hex_latitude":"06d6f9a8","is_valid_coordinates":true} 
[2026-07-07 01:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542009344001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339930881768554496,"note":"Value kept but may cause issues"} 
[2026-07-07 01:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562186150120630272,"note":"Value kept but may cause issues"} 
[2026-07-07 01:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783367245000,"timestamp_ms":1783367245000,"timestamp_seconds":1783367245,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f89cc8"} 
[2026-07-07 01:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 01:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542009344001,"66":27169,"46":206,"81":20480,"24":0,"16":339930881768554496,"45":1562186150120630272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542009344001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:21:11] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:21:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339930881768554496,"km_value":339930881768554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562186150120630272,"description":"Unknown IO ID 45"} 
[2026-07-07 01:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542009344001,"power":27169,"unknown_46":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1562186150120630272}} 
[2026-07-07 01:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":124028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:21:11] local.INFO: GPS data processed {"connection_id":124028,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:21:11] local.INFO: Acknowledgment sent {"connection_id":124028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:21:42] local.INFO: TCP Data received {"connection_id":124028,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f8eed0012d15ae0006d6f9a8001000842f..."} 
[2026-07-07 01:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f8eed0012d15ae0006d6f9a8001000842f..."} 
[2026-07-07 01:21:42] local.INFO: Processing buffer {"connection_id":124028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f8eed0012d15ae0006d6f9a8001000842f..."} 
[2026-07-07 01:21:42] local.INFO: Packet analysis {"connection_id":124028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f8"} 
[2026-07-07 01:21:42] local.INFO: Extracted packet for processing {"connection_id":124028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f8"} 
[2026-07-07 01:21:42] local.INFO: GPS Element Parsed {"raw_longitude":756395520,"raw_latitude":114751912,"longitude_deg":75.639552,"latitude_deg":11.4751912,"altitude":16,"angle":132,"satellites":47,"speed":0,"hex_longitude":"2d15ae00","hex_latitude":"06d6f9a8","is_valid_coordinates":true} 
[2026-07-07 01:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542014720001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339930881768554496,"note":"Value kept but may cause issues"} 
[2026-07-07 01:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562186150120630272,"note":"Value kept but may cause issues"} 
[2026-07-07 01:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783367266000,"timestamp_ms":1783367266000,"timestamp_seconds":1783367266,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f8eed0"} 
[2026-07-07 01:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:21: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-07-07 01:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 01:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542014720001,"66":27213,"46":206,"81":20480,"24":0,"16":339930881768554496,"45":1562186150120630272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542014720001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:21:42] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339930881768554496,"km_value":339930881768554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562186150120630272,"description":"Unknown IO ID 45"} 
[2026-07-07 01:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542014720001,"power":27213,"unknown_46":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1562186150120630272}} 
[2026-07-07 01:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":124028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:21:42] local.INFO: GPS data processed {"connection_id":124028,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:21:42] local.INFO: Acknowledgment sent {"connection_id":124028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:22:01] local.INFO: TCP Data received {"connection_id":124682,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:22:01] local.INFO: Processing buffer {"connection_id":124682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:22:01] local.INFO: IMEI packet received {"connection_id":124682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":124682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:22:05] local.INFO: TCP Data received {"connection_id":124682,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:22:05] local.INFO: Processing buffer {"connection_id":124682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:22:05] local.INFO: IMEI packet received {"connection_id":124682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":124682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:22:07] local.INFO: TCP Data received {"connection_id":124682,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f940d8012d15ae0006d6f9a8001000842d..."} 
[2026-07-07 01:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f940d8012d15ae0006d6f9a8001000842d..."} 
[2026-07-07 01:22:07] local.INFO: Processing buffer {"connection_id":124682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f940d8012d15ae0006d6f9a8001000842d..."} 
[2026-07-07 01:22:07] local.INFO: Packet analysis {"connection_id":124682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f9"} 
[2026-07-07 01:22:07] local.INFO: Extracted packet for processing {"connection_id":124682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f9"} 
[2026-07-07 01:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756395520,"raw_latitude":114751912,"longitude_deg":75.639552,"latitude_deg":11.4751912,"altitude":16,"angle":132,"satellites":45,"speed":0,"hex_longitude":"2d15ae00","hex_latitude":"06d6f9a8","is_valid_coordinates":true} 
[2026-07-07 01:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542020096001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339930881768554496,"note":"Value kept but may cause issues"} 
[2026-07-07 01:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562186150120630272,"note":"Value kept but may cause issues"} 
[2026-07-07 01:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783367287000,"timestamp_ms":1783367287000,"timestamp_seconds":1783367287,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f940d8"} 
[2026-07-07 01:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 01:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542020096001,"66":27245,"46":206,"81":20480,"24":0,"16":339930881768554496,"45":1562186150120630272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542020096001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:22:07] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:22:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339930881768554496,"km_value":339930881768554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562186150120630272,"description":"Unknown IO ID 45"} 
[2026-07-07 01:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542020096001,"power":27245,"unknown_46":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1562186150120630272}} 
[2026-07-07 01:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":124682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:22:07] local.INFO: GPS data processed {"connection_id":124682,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:22:07] local.INFO: Acknowledgment sent {"connection_id":124682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:22:38] local.INFO: TCP Data received {"connection_id":124682,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f992e0012d15ae0006d6f9a8001000842f..."} 
[2026-07-07 01:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f992e0012d15ae0006d6f9a8001000842f..."} 
[2026-07-07 01:22:38] local.INFO: Processing buffer {"connection_id":124682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f992e0012d15ae0006d6f9a8001000842f..."} 
[2026-07-07 01:22:38] local.INFO: Packet analysis {"connection_id":124682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f9"} 
[2026-07-07 01:22:38] local.INFO: Extracted packet for processing {"connection_id":124682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f9"} 
[2026-07-07 01:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756395520,"raw_latitude":114751912,"longitude_deg":75.639552,"latitude_deg":11.4751912,"altitude":16,"angle":132,"satellites":47,"speed":0,"hex_longitude":"2d15ae00","hex_latitude":"06d6f9a8","is_valid_coordinates":true} 
[2026-07-07 01:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542025472001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339930881768554496,"note":"Value kept but may cause issues"} 
[2026-07-07 01:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562186150120630272,"note":"Value kept but may cause issues"} 
[2026-07-07 01:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783367308000,"timestamp_ms":1783367308000,"timestamp_seconds":1783367308,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f992e0"} 
[2026-07-07 01:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:22: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-07-07 01:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 01:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542025472001,"66":27213,"46":206,"81":20480,"24":0,"16":339930881768554496,"45":1562186150120630272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542025472001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:22:38] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339930881768554496,"km_value":339930881768554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562186150120630272,"description":"Unknown IO ID 45"} 
[2026-07-07 01:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542025472001,"power":27213,"unknown_46":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1562186150120630272}} 
[2026-07-07 01:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":124682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:22:38] local.INFO: GPS data processed {"connection_id":124682,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:22:38] local.INFO: Acknowledgment sent {"connection_id":124682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:23:00] local.INFO: TCP Data received {"connection_id":125932,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:23:00] local.INFO: Processing buffer {"connection_id":125932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:23:00] local.INFO: IMEI packet received {"connection_id":125932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":125932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:23:06] local.INFO: TCP Data received {"connection_id":125932,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:23:06] local.INFO: Processing buffer {"connection_id":125932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:23:06] local.INFO: IMEI packet received {"connection_id":125932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":125932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:23:07] local.INFO: TCP Data received {"connection_id":125932,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38f9e4e8012d15ae0006d6f9a8001000842c..."} 
[2026-07-07 01:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38f9e4e8012d15ae0006d6f9a8001000842c..."} 
[2026-07-07 01:23:07] local.INFO: Processing buffer {"connection_id":125932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38f9e4e8012d15ae0006d6f9a8001000842c..."} 
[2026-07-07 01:23:07] local.INFO: Packet analysis {"connection_id":125932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38f9"} 
[2026-07-07 01:23:07] local.INFO: Extracted packet for processing {"connection_id":125932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38f9"} 
[2026-07-07 01:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756395520,"raw_latitude":114751912,"longitude_deg":75.639552,"latitude_deg":11.4751912,"altitude":16,"angle":132,"satellites":44,"speed":0,"hex_longitude":"2d15ae00","hex_latitude":"06d6f9a8","is_valid_coordinates":true} 
[2026-07-07 01:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542030848001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339930881768554496,"note":"Value kept but may cause issues"} 
[2026-07-07 01:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562186150120630272,"note":"Value kept but may cause issues"} 
[2026-07-07 01:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783367329000,"timestamp_ms":1783367329000,"timestamp_seconds":1783367329,"priority":1,"record_length":96,"hex_timestamp":"0000019f38f9e4e8"} 
[2026-07-07 01:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 01:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542030848001,"66":27071,"46":206,"81":20480,"24":0,"16":339930881768554496,"45":1562186150120630272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542030848001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:23:07] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:23:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339930881768554496,"km_value":339930881768554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562186150120630272,"description":"Unknown IO ID 45"} 
[2026-07-07 01:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542030848001,"power":27071,"unknown_46":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1562186150120630272}} 
[2026-07-07 01:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":125932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:23:07] local.INFO: GPS data processed {"connection_id":125932,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:23:07] local.INFO: Acknowledgment sent {"connection_id":125932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:23:39] local.INFO: TCP Data received {"connection_id":125932,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38fa36f0012d15ae0006d6f9a8001000842c..."} 
[2026-07-07 01:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38fa36f0012d15ae0006d6f9a8001000842c..."} 
[2026-07-07 01:23:39] local.INFO: Processing buffer {"connection_id":125932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38fa36f0012d15ae0006d6f9a8001000842c..."} 
[2026-07-07 01:23:39] local.INFO: Packet analysis {"connection_id":125932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38fa"} 
[2026-07-07 01:23:39] local.INFO: Extracted packet for processing {"connection_id":125932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38fa"} 
[2026-07-07 01:23:39] local.INFO: GPS Element Parsed {"raw_longitude":756395520,"raw_latitude":114751912,"longitude_deg":75.639552,"latitude_deg":11.4751912,"altitude":16,"angle":132,"satellites":44,"speed":0,"hex_longitude":"2d15ae00","hex_latitude":"06d6f9a8","is_valid_coordinates":true} 
[2026-07-07 01: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-07-07 01:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542036224001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339930881768554496,"note":"Value kept but may cause issues"} 
[2026-07-07 01:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562186150120630272,"note":"Value kept but may cause issues"} 
[2026-07-07 01:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783367350000,"timestamp_ms":1783367350000,"timestamp_seconds":1783367350,"priority":1,"record_length":96,"hex_timestamp":"0000019f38fa36f0"} 
[2026-07-07 01:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:23: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-07-07 01: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-07-07 01:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01: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-07-07 01:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542036224001,"66":27267,"46":206,"81":20480,"24":0,"16":339930881768554496,"45":1562186150120630272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542036224001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:23:39] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:23:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339930881768554496,"km_value":339930881768554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562186150120630272,"description":"Unknown IO ID 45"} 
[2026-07-07 01:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542036224001,"power":27267,"unknown_46":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1562186150120630272}} 
[2026-07-07 01:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":125932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:23:39] local.INFO: GPS data processed {"connection_id":125932,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:23:39] local.INFO: Acknowledgment sent {"connection_id":125932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:23:41] local.INFO: TCP Data received {"connection_id":123924,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:23:41] local.INFO: Processing buffer {"connection_id":123924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:23:41] local.INFO: IMEI packet received {"connection_id":123924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 01:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":123924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:24:00] local.INFO: TCP Data received {"connection_id":124683,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:24:00] local.INFO: Processing buffer {"connection_id":124683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:24:00] local.INFO: IMEI packet received {"connection_id":124683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":124683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:24:01] local.INFO: TCP Data received {"connection_id":124683,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:24:01] local.INFO: Processing buffer {"connection_id":124683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:24:01] local.INFO: IMEI packet received {"connection_id":124683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":124683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:24:02] local.INFO: TCP Data received {"connection_id":123925,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:24:02] local.INFO: Processing buffer {"connection_id":123925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:24:02] local.INFO: IMEI packet received {"connection_id":123925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 01:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":123925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:24:06] local.INFO: TCP Data received {"connection_id":124683,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:24:06] local.INFO: Processing buffer {"connection_id":124683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:24:06] local.INFO: IMEI packet received {"connection_id":124683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":124683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:24:07] local.INFO: TCP Data received {"connection_id":124683,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38fa88f8012d15ae0006d6f9a8001000842d..."} 
[2026-07-07 01:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38fa88f8012d15ae0006d6f9a8001000842d..."} 
[2026-07-07 01:24:07] local.INFO: Processing buffer {"connection_id":124683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38fa88f8012d15ae0006d6f9a8001000842d..."} 
[2026-07-07 01:24:07] local.INFO: Packet analysis {"connection_id":124683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38fa"} 
[2026-07-07 01:24:07] local.INFO: Extracted packet for processing {"connection_id":124683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38fa"} 
[2026-07-07 01:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756395520,"raw_latitude":114751912,"longitude_deg":75.639552,"latitude_deg":11.4751912,"altitude":16,"angle":132,"satellites":45,"speed":0,"hex_longitude":"2d15ae00","hex_latitude":"06d6f9a8","is_valid_coordinates":true} 
[2026-07-07 01:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542041600001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339930881768554496,"note":"Value kept but may cause issues"} 
[2026-07-07 01:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562186150120630272,"note":"Value kept but may cause issues"} 
[2026-07-07 01:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783367371000,"timestamp_ms":1783367371000,"timestamp_seconds":1783367371,"priority":1,"record_length":96,"hex_timestamp":"0000019f38fa88f8"} 
[2026-07-07 01:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 01:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542041600001,"66":27213,"46":206,"81":20480,"24":0,"16":339930881768554496,"45":1562186150120630272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542041600001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:24:07] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:24:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339930881768554496,"km_value":339930881768554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562186150120630272,"description":"Unknown IO ID 45"} 
[2026-07-07 01:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542041600001,"power":27213,"unknown_46":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1562186150120630272}} 
[2026-07-07 01:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":124683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:24:07] local.INFO: GPS data processed {"connection_id":124683,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:24:07] local.INFO: Acknowledgment sent {"connection_id":124683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:24:38] local.INFO: TCP Data received {"connection_id":124683,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38fe6158012d15ae0006d6f9a8001000842c..."} 
[2026-07-07 01:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38fe6158012d15ae0006d6f9a8001000842c..."} 
[2026-07-07 01:24:38] local.INFO: Processing buffer {"connection_id":124683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38fe6158012d15ae0006d6f9a8001000842c..."} 
[2026-07-07 01:24:38] local.INFO: Packet analysis {"connection_id":124683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38fe"} 
[2026-07-07 01:24:38] local.INFO: Extracted packet for processing {"connection_id":124683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38fe"} 
[2026-07-07 01:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756395520,"raw_latitude":114751912,"longitude_deg":75.639552,"latitude_deg":11.4751912,"altitude":16,"angle":132,"satellites":44,"speed":0,"hex_longitude":"2d15ae00","hex_latitude":"06d6f9a8","is_valid_coordinates":true} 
[2026-07-07 01:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542106112001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339930881768554496,"note":"Value kept but may cause issues"} 
[2026-07-07 01:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562186150120630272,"note":"Value kept but may cause issues"} 
[2026-07-07 01:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783367623000,"timestamp_ms":1783367623000,"timestamp_seconds":1783367623,"priority":1,"record_length":96,"hex_timestamp":"0000019f38fe6158"} 
[2026-07-07 01:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 01:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542106112001,"66":27343,"46":206,"81":20480,"24":0,"16":339930881768554496,"45":1562186150120630272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542106112001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:24:38] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339930881768554496,"km_value":339930881768554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562186150120630272,"description":"Unknown IO ID 45"} 
[2026-07-07 01:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542106112001,"power":27343,"unknown_46":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1562186150120630272}} 
[2026-07-07 01:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":124683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:24:38] local.INFO: GPS data processed {"connection_id":124683,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:24:38] local.INFO: Acknowledgment sent {"connection_id":124683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:25:00] local.INFO: TCP Data received {"connection_id":123927,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:25:00] local.INFO: Processing buffer {"connection_id":123927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:25:00] local.INFO: IMEI packet received {"connection_id":123927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":123927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:25:04] local.INFO: TCP Data received {"connection_id":123927,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:25:04] local.INFO: Processing buffer {"connection_id":123927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:25:04] local.INFO: IMEI packet received {"connection_id":123927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":123927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:25:05] local.INFO: TCP Data received {"connection_id":123927,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:25:05] local.INFO: Processing buffer {"connection_id":123927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:25:05] local.INFO: IMEI packet received {"connection_id":123927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":123927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:25:06] local.INFO: TCP Data received {"connection_id":123927,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38fe9808012d15b0c006d6f810001c00c42f..."} 
[2026-07-07 01:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38fe9808012d15b0c006d6f810001c00c42f..."} 
[2026-07-07 01:25:06] local.INFO: Processing buffer {"connection_id":123927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38fe9808012d15b0c006d6f810001c00c42f..."} 
[2026-07-07 01:25:06] local.INFO: Packet analysis {"connection_id":123927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38fe"} 
[2026-07-07 01:25:06] local.INFO: Extracted packet for processing {"connection_id":123927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38fe"} 
[2026-07-07 01:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756396224,"raw_latitude":114751504,"longitude_deg":75.6396224,"latitude_deg":11.4751504,"altitude":28,"angle":196,"satellites":47,"speed":2,"hex_longitude":"2d15b0c0","hex_latitude":"06d6f810","is_valid_coordinates":true} 
[2026-07-07 01:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542111488001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339930924718227456,"note":"Value kept but may cause issues"} 
[2026-07-07 01:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562186150120630272,"note":"Value kept but may cause issues"} 
[2026-07-07 01:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783367637000,"timestamp_ms":1783367637000,"timestamp_seconds":1783367637,"priority":1,"record_length":96,"hex_timestamp":"0000019f38fe9808"} 
[2026-07-07 01:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:25: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-07-07 01:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 01:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":123927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":123927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":123927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542111488001,"66":27332,"46":206,"81":20480,"24":2,"16":339930924718227456,"45":1562186150120630272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542111488001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:25:06] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:25:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339930924718227456,"km_value":339930924718227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562186150120630272,"description":"Unknown IO ID 45"} 
[2026-07-07 01:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542111488001,"power":27332,"unknown_46":206,"unknown_81":20480,"ignition":2,"odometer":null,"unknown_45":1562186150120630272}} 
[2026-07-07 01:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":123927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:25:06] local.INFO: GPS data processed {"connection_id":123927,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:25:06] local.INFO: Acknowledgment sent {"connection_id":123927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:25:11] local.INFO: TCP Data received {"connection_id":123927,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38fe9fd8012d15b00006d6f6b0001b00d02e..."} 
[2026-07-07 01:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38fe9fd8012d15b00006d6f6b0001b00d02e..."} 
[2026-07-07 01:25:11] local.INFO: Processing buffer {"connection_id":123927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38fe9fd8012d15b00006d6f6b0001b00d02e..."} 
[2026-07-07 01:25:11] local.INFO: Packet analysis {"connection_id":123927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38fe"} 
[2026-07-07 01:25:11] local.INFO: Extracted packet for processing {"connection_id":123927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38fe"} 
[2026-07-07 01:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756396032,"raw_latitude":114751152,"longitude_deg":75.6396032,"latitude_deg":11.4751152,"altitude":27,"angle":208,"satellites":46,"speed":6,"hex_longitude":"2d15b000","hex_latitude":"06d6f6b0","is_valid_coordinates":true} 
[2026-07-07 01:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542115072001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339930946193063936,"note":"Value kept but may cause issues"} 
[2026-07-07 01:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562960206306480128,"note":"Value kept but may cause issues"} 
[2026-07-07 01:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783367639000,"timestamp_ms":1783367639000,"timestamp_seconds":1783367639,"priority":1,"record_length":96,"hex_timestamp":"0000019f38fe9fd8"} 
[2026-07-07 01:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:25: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-07-07 01: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 01:25: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-07-07 01:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542115072001,"66":27267,"46":206,"81":20480,"24":6,"16":339930946193063936,"45":1562960206306480128},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542115072001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:25:11] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:25:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339930946193063936,"km_value":339930946193063.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562960206306480128,"description":"Unknown IO ID 45"} 
[2026-07-07 01:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542115072001,"power":27267,"unknown_46":206,"unknown_81":20480,"ignition":6,"odometer":null,"unknown_45":1562960206306480128}} 
[2026-07-07 01:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":123927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:25:11] local.INFO: GPS data processed {"connection_id":123927,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:25:11] local.INFO: Acknowledgment sent {"connection_id":123927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:25:42] local.INFO: TCP Data received {"connection_id":123927,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38feaf78012d15aec006d6f500001b00e22a..."} 
[2026-07-07 01:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38feaf78012d15aec006d6f500001b00e22a..."} 
[2026-07-07 01:25:42] local.INFO: Processing buffer {"connection_id":123927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38feaf78012d15aec006d6f500001b00e22a..."} 
[2026-07-07 01:25:42] local.INFO: Packet analysis {"connection_id":123927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38fe"} 
[2026-07-07 01:25:42] local.INFO: Extracted packet for processing {"connection_id":123927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38fe"} 
[2026-07-07 01:25:42] local.INFO: GPS Element Parsed {"raw_longitude":756395712,"raw_latitude":114750720,"longitude_deg":75.6395712,"latitude_deg":11.475072,"altitude":27,"angle":226,"satellites":42,"speed":1,"hex_longitude":"2d15aec0","hex_latitude":"06d6f500","is_valid_coordinates":true} 
[2026-07-07 01:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542115584001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339930971962867712,"note":"Value kept but may cause issues"} 
[2026-07-07 01:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562749100073857024,"note":"Value kept but may cause issues"} 
[2026-07-07 01:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783367643000,"timestamp_ms":1783367643000,"timestamp_seconds":1783367643,"priority":1,"record_length":96,"hex_timestamp":"0000019f38feaf78"} 
[2026-07-07 01:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:25: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-07-07 01:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 01:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542115584001,"66":27484,"46":206,"81":20480,"24":1,"16":339930971962867712,"45":1562749100073857024},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-07 01:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542115584001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:25:42] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-07 01:25:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339930971962867712,"km_value":339930971962867.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562749100073857024,"description":"Unknown IO ID 45"} 
[2026-07-07 01:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542115584001,"power":27484,"unknown_46":206,"unknown_81":20480,"ignition":1,"odometer":null,"unknown_45":1562749100073857024}} 
[2026-07-07 01:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":123927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:25:42] local.INFO: GPS data processed {"connection_id":123927,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:25:42] local.INFO: Acknowledgment sent {"connection_id":123927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:26:00] local.INFO: TCP Data received {"connection_id":123928,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:26:00] local.INFO: Processing buffer {"connection_id":123928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:26:00] local.INFO: IMEI packet received {"connection_id":123928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":123928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:26:05] local.INFO: TCP Data received {"connection_id":123928,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:26:05] local.INFO: Processing buffer {"connection_id":123928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:26:05] local.INFO: IMEI packet received {"connection_id":123928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":123928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:26:06] local.INFO: TCP Data received {"connection_id":123928,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38ff8e20012d15bb0006d6c898001000822f..."} 
[2026-07-07 01:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38ff8e20012d15bb0006d6c898001000822f..."} 
[2026-07-07 01:26:06] local.INFO: Processing buffer {"connection_id":123928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38ff8e20012d15bb0006d6c898001000822f..."} 
[2026-07-07 01:26:06] local.INFO: Packet analysis {"connection_id":123928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38ff"} 
[2026-07-07 01:26:06] local.INFO: Extracted packet for processing {"connection_id":123928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38ff"} 
[2026-07-07 01:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756398848,"raw_latitude":114739352,"longitude_deg":75.6398848,"latitude_deg":11.4739352,"altitude":16,"angle":130,"satellites":47,"speed":20,"hex_longitude":"2d15bb00","hex_latitude":"06d6c898","is_valid_coordinates":true} 
[2026-07-07 01:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542130432001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339931586143191040,"note":"Value kept but may cause issues"} 
[2026-07-07 01:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1564930531140599808,"note":"Value kept but may cause issues"} 
[2026-07-07 01:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783367700000,"timestamp_ms":1783367700000,"timestamp_seconds":1783367700,"priority":1,"record_length":96,"hex_timestamp":"0000019f38ff8e20"} 
[2026-07-07 01:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 01:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":123928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":123928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":123928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542130432001,"66":27397,"44":206,"81":20480,"24":20,"16":339931586143191040,"45":1564930531140599808},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-07-07 01:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542130432001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:26:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-07 01:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339931586143191040,"km_value":339931586143191.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1564930531140599808,"description":"Unknown IO ID 45"} 
[2026-07-07 01:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542130432001,"power":27397,"unknown_44":206,"unknown_81":20480,"ignition":20,"odometer":null,"unknown_45":1564930531140599808}} 
[2026-07-07 01:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":123928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:26:06] local.INFO: GPS data processed {"connection_id":123928,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:26:06] local.INFO: Acknowledgment sent {"connection_id":123928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:26:38] local.INFO: TCP Data received {"connection_id":123928,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38ffa590012d15c58006d6c198001000772d..."} 
[2026-07-07 01:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38ffa590012d15c58006d6c198001000772d..."} 
[2026-07-07 01:26:38] local.INFO: Processing buffer {"connection_id":123928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38ffa590012d15c58006d6c198001000772d..."} 
[2026-07-07 01:26:38] local.INFO: Packet analysis {"connection_id":123928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38ff"} 
[2026-07-07 01:26:38] local.INFO: Extracted packet for processing {"connection_id":123928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38ff"} 
[2026-07-07 01:26:38] local.INFO: GPS Element Parsed {"raw_longitude":756401536,"raw_latitude":114737560,"longitude_deg":75.6401536,"latitude_deg":11.473756,"altitude":16,"angle":119,"satellites":45,"speed":21,"hex_longitude":"2d15c580","hex_latitude":"06d6c198","is_valid_coordinates":true} 
[2026-07-07 01:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542131200001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339931740762013696,"note":"Value kept but may cause issues"} 
[2026-07-07 01:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1565845324814653440,"note":"Value kept but may cause issues"} 
[2026-07-07 01:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783367706000,"timestamp_ms":1783367706000,"timestamp_seconds":1783367706,"priority":1,"record_length":96,"hex_timestamp":"0000019f38ffa590"} 
[2026-07-07 01:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:26: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-07-07 01:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 01:26: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-07-07 01:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":123928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":123928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":123928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542131200001,"66":27332,"44":206,"81":20480,"24":21,"16":339931740762013696,"45":1565845324814653440},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-07-07 01:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542131200001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:26:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-07 01:26:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339931740762013696,"km_value":339931740762013.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1565845324814653440,"description":"Unknown IO ID 45"} 
[2026-07-07 01:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542131200001,"power":27332,"unknown_44":206,"unknown_81":20480,"ignition":21,"odometer":null,"unknown_45":1565845324814653440}} 
[2026-07-07 01:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":123928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:26:38] local.INFO: GPS data processed {"connection_id":123928,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:26:38] local.INFO: Acknowledgment sent {"connection_id":123928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:27:01] local.INFO: TCP Data received {"connection_id":125934,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:27:01] local.INFO: Processing buffer {"connection_id":125934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:27:01] local.INFO: IMEI packet received {"connection_id":125934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":125934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:27:06] local.INFO: TCP Data received {"connection_id":125934,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:27:06] local.INFO: Processing buffer {"connection_id":125934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:27:06] local.INFO: IMEI packet received {"connection_id":125934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":125934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:27:11] local.INFO: TCP Data received {"connection_id":125934,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:27:11] local.INFO: Processing buffer {"connection_id":125934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:27:11] local.INFO: IMEI packet received {"connection_id":125934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":125934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:27:12] local.INFO: TCP Data received {"connection_id":125934,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f38ffe028012d15e48006d6b0c0001100752d..."} 
[2026-07-07 01:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f38ffe028012d15e48006d6b0c0001100752d..."} 
[2026-07-07 01:27:12] local.INFO: Processing buffer {"connection_id":125934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f38ffe028012d15e48006d6b0c0001100752d..."} 
[2026-07-07 01:27:12] local.INFO: Packet analysis {"connection_id":125934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f38ff"} 
[2026-07-07 01:27:12] local.INFO: Extracted packet for processing {"connection_id":125934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f38ff"} 
[2026-07-07 01:27:12] local.INFO: GPS Element Parsed {"raw_longitude":756409472,"raw_latitude":114733248,"longitude_deg":75.6409472,"latitude_deg":11.4733248,"altitude":17,"angle":117,"satellites":45,"speed":23,"hex_longitude":"2d15e480","hex_latitude":"06d6b0c0","is_valid_coordinates":true} 
[2026-07-07 01:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542132736001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339932174553710592,"note":"Value kept but may cause issues"} 
[2026-07-07 01:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1568800812069656576,"note":"Value kept but may cause issues"} 
[2026-07-07 01:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783367721000,"timestamp_ms":1783367721000,"timestamp_seconds":1783367721,"priority":1,"record_length":96,"hex_timestamp":"0000019f38ffe028"} 
[2026-07-07 01:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:27: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-07-07 01:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 01:27: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-07-07 01:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542132736001,"66":27397,"44":206,"81":20480,"24":23,"16":339932174553710592,"45":1568800812069656576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-07-07 01:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542132736001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:27:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-07 01:27:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339932174553710592,"km_value":339932174553710.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1568800812069656576,"description":"Unknown IO ID 45"} 
[2026-07-07 01:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542132736001,"power":27397,"unknown_44":206,"unknown_81":20480,"ignition":23,"odometer":null,"unknown_45":1568800812069656576}} 
[2026-07-07 01:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":125934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:27:12] local.INFO: GPS data processed {"connection_id":125934,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:27:12] local.INFO: Acknowledgment sent {"connection_id":125934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:27:15] local.INFO: TCP Data received {"connection_id":125934,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f39001ac0012d16040006d69fe00013007630..."} 
[2026-07-07 01:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39001ac0012d16040006d69fe00013007630..."} 
[2026-07-07 01:27:15] local.INFO: Processing buffer {"connection_id":125934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39001ac0012d16040006d69fe00013007630..."} 
[2026-07-07 01:27:15] local.INFO: Packet analysis {"connection_id":125934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3900"} 
[2026-07-07 01:27:15] local.INFO: Extracted packet for processing {"connection_id":125934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3900"} 
[2026-07-07 01:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756417536,"raw_latitude":114728928,"longitude_deg":75.6417536,"latitude_deg":11.4728928,"altitude":19,"angle":118,"satellites":48,"speed":24,"hex_longitude":"2d160400","hex_latitude":"06d69fe0","is_valid_coordinates":true} 
[2026-07-07 01:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542136576001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339932608345407488,"note":"Value kept but may cause issues"} 
[2026-07-07 01:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1577526536346583040,"note":"Value kept but may cause issues"} 
[2026-07-07 01:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783367736000,"timestamp_ms":1783367736000,"timestamp_seconds":1783367736,"priority":1,"record_length":96,"hex_timestamp":"0000019f39001ac0"} 
[2026-07-07 01:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:27: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-07-07 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 01:27: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-07-07 01:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542136576001,"66":27332,"44":206,"81":20480,"24":24,"16":339932608345407488,"45":1577526536346583040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-07-07 01:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542136576001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:27:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-07 01:27:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339932608345407488,"km_value":339932608345407.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1577526536346583040,"description":"Unknown IO ID 45"} 
[2026-07-07 01:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542136576001,"power":27332,"unknown_44":206,"unknown_81":20480,"ignition":24,"odometer":null,"unknown_45":1577526536346583040}} 
[2026-07-07 01:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":125934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:27:15] local.INFO: GPS data processed {"connection_id":125934,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:27:15] local.INFO: Acknowledgment sent {"connection_id":125934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:28:00] local.INFO: TCP Data received {"connection_id":124029,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:28:00] local.INFO: Processing buffer {"connection_id":124029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:28:00] local.INFO: IMEI packet received {"connection_id":124029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":124029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:28:01] local.INFO: TCP Data received {"connection_id":124029,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:28:01] local.INFO: Processing buffer {"connection_id":124029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:28:01] local.INFO: IMEI packet received {"connection_id":124029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":124029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:28:05] local.INFO: TCP Data received {"connection_id":124029,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:28:05] local.INFO: Processing buffer {"connection_id":124029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:28:05] local.INFO: IMEI packet received {"connection_id":124029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":124029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:28:07] local.INFO: TCP Data received {"connection_id":124029,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f39016e98012d17360006d652480007006a2c..."} 
[2026-07-07 01:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39016e98012d17360006d652480007006a2c..."} 
[2026-07-07 01:28:07] local.INFO: Processing buffer {"connection_id":124029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39016e98012d17360006d652480007006a2c..."} 
[2026-07-07 01:28:07] local.INFO: Packet analysis {"connection_id":124029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3901"} 
[2026-07-07 01:28:07] local.INFO: Extracted packet for processing {"connection_id":124029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3901"} 
[2026-07-07 01:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756495872,"raw_latitude":114709064,"longitude_deg":75.6495872,"latitude_deg":11.4709064,"altitude":7,"angle":106,"satellites":44,"speed":46,"hex_longitude":"2d173600","hex_latitude":"06d65248","is_valid_coordinates":true} 
[2026-07-07 01:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542160896001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339936546830417920,"note":"Value kept but may cause issues"} 
[2026-07-07 01:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1662391241819334656,"note":"Value kept but may cause issues"} 
[2026-07-07 01:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783367823000,"timestamp_ms":1783367823000,"timestamp_seconds":1783367823,"priority":1,"record_length":96,"hex_timestamp":"0000019f39016e98"} 
[2026-07-07 01:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 01:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01: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-07-07 01:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542160896001,"66":27365,"160":206,"81":20480,"24":46,"16":339936546830417920,"45":1662391241819334656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-07-07 01:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542160896001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:28:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-07 01:28:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339936546830417920,"km_value":339936546830417.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1662391241819334656,"description":"Unknown IO ID 45"} 
[2026-07-07 01:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542160896001,"power":27365,"unknown_160":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1662391241819334656}} 
[2026-07-07 01:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":124029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:28:07] local.INFO: GPS data processed {"connection_id":124029,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:28:07] local.INFO: Acknowledgment sent {"connection_id":124029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:28:10] local.INFO: TCP Data received {"connection_id":124029,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f39019990012d175a4006d648c80008006928..."} 
[2026-07-07 01:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39019990012d175a4006d648c80008006928..."} 
[2026-07-07 01:28:10] local.INFO: Processing buffer {"connection_id":124029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39019990012d175a4006d648c80008006928..."} 
[2026-07-07 01:28:10] local.INFO: Packet analysis {"connection_id":124029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3901"} 
[2026-07-07 01:28:10] local.INFO: Extracted packet for processing {"connection_id":124029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3901"} 
[2026-07-07 01:28:10] local.INFO: GPS Element Parsed {"raw_longitude":756505152,"raw_latitude":114706632,"longitude_deg":75.6505152,"latitude_deg":11.4706632,"altitude":8,"angle":105,"satellites":40,"speed":36,"hex_longitude":"2d175a40","hex_latitude":"06d648c8","is_valid_coordinates":true} 
[2026-07-07 01:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542162688001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339937002096951296,"note":"Value kept but may cause issues"} 
[2026-07-07 01:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1672524340980238336,"note":"Value kept but may cause issues"} 
[2026-07-07 01:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783367834000,"timestamp_ms":1783367834000,"timestamp_seconds":1783367834,"priority":1,"record_length":96,"hex_timestamp":"0000019f39019990"} 
[2026-07-07 01:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:28: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-07-07 01: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":229,"data_length":795,"current_offset":136} 
[2026-07-07 01:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542162688001,"66":27376,"160":206,"81":20480,"24":36,"16":339937002096951296,"45":1672524340980238336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-07-07 01:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542162688001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:28:10] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-07 01:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339937002096951296,"km_value":339937002096951.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1672524340980238336,"description":"Unknown IO ID 45"} 
[2026-07-07 01:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542162688001,"power":27376,"unknown_160":206,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":1672524340980238336}} 
[2026-07-07 01:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":124029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:28:10] local.INFO: GPS data processed {"connection_id":124029,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:28:10] local.INFO: Acknowledgment sent {"connection_id":124029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:28:41] local.INFO: TCP Data received {"connection_id":124029,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3901bcb8012d177d8006d63f28000700662b..."} 
[2026-07-07 01:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3901bcb8012d177d8006d63f28000700662b..."} 
[2026-07-07 01:28:41] local.INFO: Processing buffer {"connection_id":124029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3901bcb8012d177d8006d63f28000700662b..."} 
[2026-07-07 01:28:41] local.INFO: Packet analysis {"connection_id":124029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3901"} 
[2026-07-07 01:28:41] local.INFO: Extracted packet for processing {"connection_id":124029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3901"} 
[2026-07-07 01:28:41] local.INFO: GPS Element Parsed {"raw_longitude":756514176,"raw_latitude":114704168,"longitude_deg":75.6514176,"latitude_deg":11.4704168,"altitude":7,"angle":102,"satellites":43,"speed":44,"hex_longitude":"2d177d80","hex_latitude":"06d63f28","is_valid_coordinates":true} 
[2026-07-07 01:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542165504001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339937448773550080,"note":"Value kept but may cause issues"} 
[2026-07-07 01:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1682727808885377024,"note":"Value kept but may cause issues"} 
[2026-07-07 01:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783367843000,"timestamp_ms":1783367843000,"timestamp_seconds":1783367843,"priority":1,"record_length":96,"hex_timestamp":"0000019f3901bcb8"} 
[2026-07-07 01:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01: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-07-07 01: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":240,"data_length":795,"current_offset":136} 
[2026-07-07 01:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542165504001,"66":27332,"160":206,"81":20480,"24":44,"16":339937448773550080,"45":1682727808885377024},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-07-07 01:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542165504001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:28:41] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-07 01:28:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339937448773550080,"km_value":339937448773550.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1682727808885377024,"description":"Unknown IO ID 45"} 
[2026-07-07 01:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542165504001,"power":27332,"unknown_160":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":1682727808885377024}} 
[2026-07-07 01:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":124029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:28:41] local.INFO: GPS data processed {"connection_id":124029,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:28:41] local.INFO: Acknowledgment sent {"connection_id":124029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:29:01] local.INFO: TCP Data received {"connection_id":123929,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:29:01] local.INFO: Processing buffer {"connection_id":123929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:29:01] local.INFO: IMEI packet received {"connection_id":123929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":123929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:29:01] local.INFO: TCP Data received {"connection_id":123929,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:29:01] local.INFO: Processing buffer {"connection_id":123929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:29:01] local.INFO: IMEI packet received {"connection_id":123929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":123929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:29:06] local.INFO: TCP Data received {"connection_id":123929,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:29:06] local.INFO: Processing buffer {"connection_id":123929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:29:06] local.INFO: IMEI packet received {"connection_id":123929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":123929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:29:08] local.INFO: TCP Data received {"connection_id":123929,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3901dbf8012d17a1c006d63718000600672c..."} 
[2026-07-07 01:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3901dbf8012d17a1c006d63718000600672c..."} 
[2026-07-07 01:29:08] local.INFO: Processing buffer {"connection_id":123929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3901dbf8012d17a1c006d63718000600672c..."} 
[2026-07-07 01:29:08] local.INFO: Packet analysis {"connection_id":123929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3901"} 
[2026-07-07 01:29:08] local.INFO: Extracted packet for processing {"connection_id":123929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3901"} 
[2026-07-07 01:29:08] local.INFO: GPS Element Parsed {"raw_longitude":756523456,"raw_latitude":114702104,"longitude_deg":75.6523456,"latitude_deg":11.4702104,"altitude":6,"angle":103,"satellites":44,"speed":48,"hex_longitude":"2d17a1c0","hex_latitude":"06d63718","is_valid_coordinates":true} 
[2026-07-07 01:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542167808001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339937899745116160,"note":"Value kept but may cause issues"} 
[2026-07-07 01:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1692649801813796864,"note":"Value kept but may cause issues"} 
[2026-07-07 01:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783367851000,"timestamp_ms":1783367851000,"timestamp_seconds":1783367851,"priority":1,"record_length":96,"hex_timestamp":"0000019f3901dbf8"} 
[2026-07-07 01:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:29: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-07-07 01:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 01:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":123929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":123929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":123929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542167808001,"66":27300,"160":206,"81":20480,"24":48,"16":339937899745116160,"45":1692649801813796864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-07-07 01:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542167808001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:29:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-07 01:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339937899745116160,"km_value":339937899745116.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1692649801813796864,"description":"Unknown IO ID 45"} 
[2026-07-07 01:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542167808001,"power":27300,"unknown_160":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":1692649801813796864}} 
[2026-07-07 01:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":123929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:29:08] local.INFO: GPS data processed {"connection_id":123929,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:29:08] local.INFO: Acknowledgment sent {"connection_id":123929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:29:42] local.INFO: TCP Data received {"connection_id":125935,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:29:42] local.INFO: Processing buffer {"connection_id":125935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:29:42] local.INFO: IMEI packet received {"connection_id":125935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 01:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":125935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:29:50] local.INFO: TCP Data received {"connection_id":123929,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3902f920012d19120006d5ec080009006b2b..."} 
[2026-07-07 01:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3902f920012d19120006d5ec080009006b2b..."} 
[2026-07-07 01:29:50] local.INFO: Processing buffer {"connection_id":123929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3902f920012d19120006d5ec080009006b2b..."} 
[2026-07-07 01:29:50] local.INFO: Packet analysis {"connection_id":123929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3902"} 
[2026-07-07 01:29:50] local.INFO: Extracted packet for processing {"connection_id":123929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3902"} 
[2026-07-07 01:29:50] local.INFO: GPS Element Parsed {"raw_longitude":756617728,"raw_latitude":114682888,"longitude_deg":75.6617728,"latitude_deg":11.4682888,"altitude":9,"angle":107,"satellites":43,"speed":50,"hex_longitude":"2d191200","hex_latitude":"06d5ec08","is_valid_coordinates":true} 
[2026-07-07 01:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542186496001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339942607029272576,"note":"Value kept but may cause issues"} 
[2026-07-07 01:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795880749517742080,"note":"Value kept but may cause issues"} 
[2026-07-07 01:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783367924000,"timestamp_ms":1783367924000,"timestamp_seconds":1783367924,"priority":1,"record_length":96,"hex_timestamp":"0000019f3902f920"} 
[2026-07-07 01:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 01:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":123929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":123929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":123929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542186496001,"66":27332,"159":206,"81":20480,"24":50,"16":339942607029272576,"45":1795880749517742080},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-07-07 01:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542186496001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:29:50] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-07 01:29:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339942607029272576,"km_value":339942607029272.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795880749517742080,"description":"Unknown IO ID 45"} 
[2026-07-07 01:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542186496001,"power":27332,"unknown_159":206,"unknown_81":20480,"ignition":50,"odometer":null,"unknown_45":1795880749517742080}} 
[2026-07-07 01:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":123929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:29:50] local.INFO: GPS data processed {"connection_id":123929,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:29:50] local.INFO: Acknowledgment sent {"connection_id":123929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:30:02] local.INFO: TCP Data received {"connection_id":124030,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:30:02] local.INFO: Processing buffer {"connection_id":124030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:30:02] local.INFO: IMEI packet received {"connection_id":124030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":124030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:30:03] local.INFO: TCP Data received {"connection_id":124030,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:30:03] local.INFO: Processing buffer {"connection_id":124030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:30:03] local.INFO: IMEI packet received {"connection_id":124030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":124030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:30:05] local.INFO: TCP Data received {"connection_id":125936,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:30:05] local.INFO: Processing buffer {"connection_id":125936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:30:05] local.INFO: IMEI packet received {"connection_id":125936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 01:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":125936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:30:06] local.INFO: TCP Data received {"connection_id":124030,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:30:06] local.INFO: Processing buffer {"connection_id":124030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:30:06] local.INFO: IMEI packet received {"connection_id":124030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":124030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:30:09] local.INFO: TCP Data received {"connection_id":124030,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f39031860012d19384006d5e248000900642d..."} 
[2026-07-07 01:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39031860012d19384006d5e248000900642d..."} 
[2026-07-07 01:30:09] local.INFO: Processing buffer {"connection_id":124030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39031860012d19384006d5e248000900642d..."} 
[2026-07-07 01:30:09] local.INFO: Packet analysis {"connection_id":124030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3903"} 
[2026-07-07 01:30:09] local.INFO: Extracted packet for processing {"connection_id":124030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3903"} 
[2026-07-07 01:30:09] local.INFO: GPS Element Parsed {"raw_longitude":756627520,"raw_latitude":114680392,"longitude_deg":75.662752,"latitude_deg":11.4680392,"altitude":9,"angle":100,"satellites":45,"speed":49,"hex_longitude":"2d193840","hex_latitude":"06d5e248","is_valid_coordinates":true} 
[2026-07-07 01:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542188544001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339943083770642432,"note":"Value kept but may cause issues"} 
[2026-07-07 01:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806506429887809536,"note":"Value kept but may cause issues"} 
[2026-07-07 01:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783367932000,"timestamp_ms":1783367932000,"timestamp_seconds":1783367932,"priority":1,"record_length":96,"hex_timestamp":"0000019f39031860"} 
[2026-07-07 01:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:30: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-07-07 01: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 01:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542188544001,"66":27332,"159":206,"81":20480,"24":49,"16":339943083770642432,"45":1806506429887809536},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-07-07 01:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542188544001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:30:09] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-07 01:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339943083770642432,"km_value":339943083770642.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806506429887809536,"description":"Unknown IO ID 45"} 
[2026-07-07 01:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542188544001,"power":27332,"unknown_159":206,"unknown_81":20480,"ignition":49,"odometer":null,"unknown_45":1806506429887809536}} 
[2026-07-07 01:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":124030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:30:09] local.INFO: GPS data processed {"connection_id":124030,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:30:09] local.INFO: Acknowledgment sent {"connection_id":124030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:30:11] local.INFO: TCP Data received {"connection_id":124030,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f390337a0012d195dc006d5db10000800642c..."} 
[2026-07-07 01:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f390337a0012d195dc006d5db10000800642c..."} 
[2026-07-07 01:30:11] local.INFO: Processing buffer {"connection_id":124030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f390337a0012d195dc006d5db10000800642c..."} 
[2026-07-07 01:30:11] local.INFO: Packet analysis {"connection_id":124030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3903"} 
[2026-07-07 01:30:11] local.INFO: Extracted packet for processing {"connection_id":124030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3903"} 
[2026-07-07 01:30:11] local.INFO: GPS Element Parsed {"raw_longitude":756637120,"raw_latitude":114678544,"longitude_deg":75.663712,"latitude_deg":11.4678544,"altitude":8,"angle":100,"satellites":44,"speed":47,"hex_longitude":"2d195dc0","hex_latitude":"06d5db10","is_valid_coordinates":true} 
[2026-07-07 01:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542190592001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339943551922077696,"note":"Value kept but may cause issues"} 
[2026-07-07 01:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817272847746353152,"note":"Value kept but may cause issues"} 
[2026-07-07 01:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783367940000,"timestamp_ms":1783367940000,"timestamp_seconds":1783367940,"priority":1,"record_length":96,"hex_timestamp":"0000019f390337a0"} 
[2026-07-07 01:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01: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-07-07 01:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 01:30: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-07-07 01:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542190592001,"66":27343,"159":206,"81":20480,"24":47,"16":339943551922077696,"45":1817272847746353152},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-07-07 01:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542190592001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:30:11] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-07 01:30:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339943551922077696,"km_value":339943551922077.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817272847746353152,"description":"Unknown IO ID 45"} 
[2026-07-07 01:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542190592001,"power":27343,"unknown_159":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1817272847746353152}} 
[2026-07-07 01:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":124030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:30:11] local.INFO: GPS data processed {"connection_id":124030,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:30:11] local.INFO: Acknowledgment sent {"connection_id":124030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:30:42] local.INFO: TCP Data received {"connection_id":124030,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f390352f8012d197ec006d5d370000900702b..."} 
[2026-07-07 01:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f390352f8012d197ec006d5d370000900702b..."} 
[2026-07-07 01:30:42] local.INFO: Processing buffer {"connection_id":124030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f390352f8012d197ec006d5d370000900702b..."} 
[2026-07-07 01:30:42] local.INFO: Packet analysis {"connection_id":124030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3903"} 
[2026-07-07 01:30:42] local.INFO: Extracted packet for processing {"connection_id":124030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3903"} 
[2026-07-07 01:30:42] local.INFO: GPS Element Parsed {"raw_longitude":756645568,"raw_latitude":114676592,"longitude_deg":75.6645568,"latitude_deg":11.4676592,"altitude":9,"angle":112,"satellites":43,"speed":46,"hex_longitude":"2d197ec0","hex_latitude":"06d5d370","is_valid_coordinates":true} 
[2026-07-07 01:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542192640001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339943964238938112,"note":"Value kept but may cause issues"} 
[2026-07-07 01:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827828159372529664,"note":"Value kept but may cause issues"} 
[2026-07-07 01:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783367947000,"timestamp_ms":1783367947000,"timestamp_seconds":1783367947,"priority":1,"record_length":96,"hex_timestamp":"0000019f390352f8"} 
[2026-07-07 01:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:30: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-07-07 01:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 01: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-07-07 01:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542192640001,"66":27321,"159":206,"81":20480,"24":46,"16":339943964238938112,"45":1827828159372529664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-07-07 01:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542192640001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:30:42] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-07 01:30:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339943964238938112,"km_value":339943964238938.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827828159372529664,"description":"Unknown IO ID 45"} 
[2026-07-07 01:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542192640001,"power":27321,"unknown_159":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1827828159372529664}} 
[2026-07-07 01:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":124030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:30:42] local.INFO: GPS data processed {"connection_id":124030,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:30:42] local.INFO: Acknowledgment sent {"connection_id":124030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:31:00] local.INFO: TCP Data received {"connection_id":124687,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:31:00] local.INFO: Processing buffer {"connection_id":124687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:31:00] local.INFO: IMEI packet received {"connection_id":124687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":124687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:31:05] local.INFO: TCP Data received {"connection_id":124687,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:31:05] local.INFO: Processing buffer {"connection_id":124687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:31:05] local.INFO: IMEI packet received {"connection_id":124687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":124687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:31:06] local.INFO: TCP Data received {"connection_id":124687,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f39037238012d199f4006d5c2d8000900742a..."} 
[2026-07-07 01:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39037238012d199f4006d5c2d8000900742a..."} 
[2026-07-07 01:31:06] local.INFO: Processing buffer {"connection_id":124687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39037238012d199f4006d5c2d8000900742a..."} 
[2026-07-07 01:31:06] local.INFO: Packet analysis {"connection_id":124687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3903"} 
[2026-07-07 01:31:06] local.INFO: Extracted packet for processing {"connection_id":124687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3903"} 
[2026-07-07 01:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756653888,"raw_latitude":114672344,"longitude_deg":75.6653888,"latitude_deg":11.4672344,"altitude":9,"angle":116,"satellites":42,"speed":42,"hex_longitude":"2d199f40","hex_latitude":"06d5c2d8","is_valid_coordinates":true} 
[2026-07-07 01:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542194432001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339944410915536896,"note":"Value kept but may cause issues"} 
[2026-07-07 01:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837116833603481600,"note":"Value kept but may cause issues"} 
[2026-07-07 01:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783367955000,"timestamp_ms":1783367955000,"timestamp_seconds":1783367955,"priority":1,"record_length":96,"hex_timestamp":"0000019f39037238"} 
[2026-07-07 01:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:31: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-07-07 01:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 01:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542194432001,"66":27245,"159":206,"81":20480,"24":42,"16":339944410915536896,"45":1837116833603481600},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-07-07 01:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542194432001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:31:06] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-07 01:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339944410915536896,"km_value":339944410915536.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837116833603481600,"description":"Unknown IO ID 45"} 
[2026-07-07 01:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542194432001,"power":27245,"unknown_159":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":1837116833603481600}} 
[2026-07-07 01:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":124687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:31:06] local.INFO: GPS data processed {"connection_id":124687,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:31:06] local.INFO: Acknowledgment sent {"connection_id":124687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:31:54] local.INFO: TCP Data received {"connection_id":124687,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3904aea0012d1ae70006d50770000700772c..."} 
[2026-07-07 01:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3904aea0012d1ae70006d50770000700772c..."} 
[2026-07-07 01:31:54] local.INFO: Processing buffer {"connection_id":124687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3904aea0012d1ae70006d50770000700772c..."} 
[2026-07-07 01:31:54] local.INFO: Packet analysis {"connection_id":124687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3904"} 
[2026-07-07 01:31:54] local.INFO: Extracted packet for processing {"connection_id":124687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3904"} 
[2026-07-07 01:31:54] local.INFO: GPS Element Parsed {"raw_longitude":756737792,"raw_latitude":114624368,"longitude_deg":75.6737792,"latitude_deg":11.4624368,"altitude":7,"angle":119,"satellites":44,"speed":33,"hex_longitude":"2d1ae700","hex_latitude":"06d50770","is_valid_coordinates":true} 
[2026-07-07 01:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542214656001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339949036595314688,"note":"Value kept but may cause issues"} 
[2026-07-07 01:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929159150975670272,"note":"Value kept but may cause issues"} 
[2026-07-07 01:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783368036000,"timestamp_ms":1783368036000,"timestamp_seconds":1783368036,"priority":1,"record_length":96,"hex_timestamp":"0000019f3904aea0"} 
[2026-07-07 01:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 01:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":124687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":124687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":124687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542214656001,"66":27343,"244":206,"81":20480,"24":33,"16":339949036595314688,"45":1929159150975670272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-07-07 01:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542214656001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:31:54] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-07 01:31:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339949036595314688,"km_value":339949036595314.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929159150975670272,"description":"Unknown IO ID 45"} 
[2026-07-07 01:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542214656001,"power":27343,"unknown_244":206,"unknown_81":20480,"ignition":33,"odometer":null,"unknown_45":1929159150975670272}} 
[2026-07-07 01:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":124687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:31:54] local.INFO: GPS data processed {"connection_id":124687,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:31:54] local.INFO: Acknowledgment sent {"connection_id":124687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:32:00] local.INFO: TCP Data received {"connection_id":125937,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:32:00] local.INFO: Processing buffer {"connection_id":125937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:32:00] local.INFO: IMEI packet received {"connection_id":125937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":125937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:32:01] local.INFO: TCP Data received {"connection_id":125937,"ip":"42.106.6.26","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 01:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125937,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 01:32:01] local.INFO: Processing buffer {"connection_id":125937,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 01:32:01] local.INFO: IMEI packet received {"connection_id":125937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":125937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:32:05] local.INFO: TCP Data received {"connection_id":125937,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:32:05] local.INFO: Processing buffer {"connection_id":125937,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 01:32:05] local.INFO: IMEI packet received {"connection_id":125937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":125937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:32:07] local.INFO: TCP Data received {"connection_id":125937,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3904d5b0012d1b060006d4f510000700772e..."} 
[2026-07-07 01:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3904d5b0012d1b060006d4f510000700772e..."} 
[2026-07-07 01:32:07] local.INFO: Processing buffer {"connection_id":125937,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f39..."} 
[2026-07-07 01:32:07] local.INFO: IMEI packet received {"connection_id":125937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":125937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:32:10] local.INFO: TCP Data received {"connection_id":125937,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f390500a8012d1b268006d4e460000900702c..."} 
[2026-07-07 01:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f390500a8012d1b268006d4e460000900702c..."} 
[2026-07-07 01:32:10] local.INFO: Processing buffer {"connection_id":125937,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3904d5b0012d1b060006d4f510000700772e..."} 
[2026-07-07 01:32:10] local.INFO: Packet analysis {"connection_id":125937,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3904"} 
[2026-07-07 01:32:10] local.INFO: Extracted packet for processing {"connection_id":125937,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3904"} 
[2026-07-07 01:32:10] local.INFO: GPS Element Parsed {"raw_longitude":756745728,"raw_latitude":114619664,"longitude_deg":75.6745728,"latitude_deg":11.4619664,"altitude":7,"angle":119,"satellites":46,"speed":35,"hex_longitude":"2d1b0600","hex_latitude":"06d4f510","is_valid_coordinates":true} 
[2026-07-07 01:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542217216001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339949478976946176,"note":"Value kept but may cause issues"} 
[2026-07-07 01:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938518193950126080,"note":"Value kept but may cause issues"} 
[2026-07-07 01:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783368046000,"timestamp_ms":1783368046000,"timestamp_seconds":1783368046,"priority":1,"record_length":96,"hex_timestamp":"0000019f3904d5b0"} 
[2026-07-07 01:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:32: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-07-07 01: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-07-07 01: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-07-07 01:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542217216001,"66":27343,"244":206,"81":20480,"24":35,"16":339949478976946176,"45":1938518193950126080},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-07-07 01:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542217216001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:32:10] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-07 01:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339949478976946176,"km_value":339949478976946.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938518193950126080,"description":"Unknown IO ID 45"} 
[2026-07-07 01:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542217216001,"power":27343,"unknown_244":206,"unknown_81":20480,"ignition":35,"odometer":null,"unknown_45":1938518193950126080}} 
[2026-07-07 01:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":125937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:32:10] local.INFO: GPS data processed {"connection_id":125937,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:32:10] local.INFO: Acknowledgment sent {"connection_id":125937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:32:10] local.INFO: Packet analysis {"connection_id":125937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3905"} 
[2026-07-07 01:32:10] local.INFO: Extracted packet for processing {"connection_id":125937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3905"} 
[2026-07-07 01:32:10] local.INFO: GPS Element Parsed {"raw_longitude":756754048,"raw_latitude":114615392,"longitude_deg":75.6754048,"latitude_deg":11.4615392,"altitude":9,"angle":112,"satellites":44,"speed":33,"hex_longitude":"2d1b2680","hex_latitude":"06d4e460","is_valid_coordinates":true} 
[2026-07-07 01:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542219776001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339949925653544960,"note":"Value kept but may cause issues"} 
[2026-07-07 01:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1947243918226952192,"note":"Value kept but may cause issues"} 
[2026-07-07 01:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783368057000,"timestamp_ms":1783368057000,"timestamp_seconds":1783368057,"priority":1,"record_length":96,"hex_timestamp":"0000019f390500a8"} 
[2026-07-07 01:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:32: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-07-07 01: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-07-07 01: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-07-07 01:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542219776001,"66":27365,"100":206,"81":20480,"24":33,"16":339949925653544960,"45":1947243918226952192},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,81,24,16,45]} 
[2026-07-07 01:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542219776001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:32:10] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-07 01:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339949925653544960,"km_value":339949925653544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1947243918226952192,"description":"Unknown IO ID 45"} 
[2026-07-07 01:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542219776001,"power":27365,"unknown_100":206,"unknown_81":20480,"ignition":33,"odometer":null,"unknown_45":1947243918226952192}} 
[2026-07-07 01:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":125937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:32:10] local.INFO: GPS data processed {"connection_id":125937,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:32:10] local.INFO: Acknowledgment sent {"connection_id":125937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:32:42] local.INFO: TCP Data received {"connection_id":125937,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f390527b8012d1b480006d4d8e0000c006a2e..."} 
[2026-07-07 01:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f390527b8012d1b480006d4d8e0000c006a2e..."} 
[2026-07-07 01:32:42] local.INFO: Processing buffer {"connection_id":125937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f390527b8012d1b480006d4d8e0000c006a2e..."} 
[2026-07-07 01:32:42] local.INFO: Packet analysis {"connection_id":125937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3905"} 
[2026-07-07 01:32:42] local.INFO: Extracted packet for processing {"connection_id":125937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3905"} 
[2026-07-07 01:32:42] local.INFO: GPS Element Parsed {"raw_longitude":756762624,"raw_latitude":114612448,"longitude_deg":75.6762624,"latitude_deg":11.4612448,"altitude":12,"angle":106,"satellites":46,"speed":39,"hex_longitude":"2d1b4800","hex_latitude":"06d4d8e0","is_valid_coordinates":true} 
[2026-07-07 01:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542222592001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339950355150274560,"note":"Value kept but may cause issues"} 
[2026-07-07 01:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956391854968954880,"note":"Value kept but may cause issues"} 
[2026-07-07 01:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783368067000,"timestamp_ms":1783368067000,"timestamp_seconds":1783368067,"priority":1,"record_length":96,"hex_timestamp":"0000019f390527b8"} 
[2026-07-07 01:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01: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-07-07 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 01:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542222592001,"66":27267,"244":206,"81":20480,"24":39,"16":339950355150274560,"45":1956391854968954880},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-07-07 01:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542222592001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:32:42] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-07 01:32:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339950355150274560,"km_value":339950355150274.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956391854968954880,"description":"Unknown IO ID 45"} 
[2026-07-07 01:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542222592001,"power":27267,"unknown_244":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1956391854968954880}} 
[2026-07-07 01:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":125937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:32:42] local.INFO: GPS data processed {"connection_id":125937,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:32:42] local.INFO: Acknowledgment sent {"connection_id":125937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:33:01] local.INFO: TCP Data received {"connection_id":124689,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:33:01] local.INFO: Processing buffer {"connection_id":124689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:33:01] local.INFO: IMEI packet received {"connection_id":124689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":124689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:33:01] local.INFO: TCP Data received {"connection_id":124689,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:33:01] local.INFO: Processing buffer {"connection_id":124689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:33:01] local.INFO: IMEI packet received {"connection_id":124689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":124689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:33:05] local.INFO: TCP Data received {"connection_id":124689,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:33:05] local.INFO: Processing buffer {"connection_id":124689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:33:05] local.INFO: IMEI packet received {"connection_id":124689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":124689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:33:06] local.INFO: TCP Data received {"connection_id":124689,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f39053f28012d1b5ec006d4d050000e00792d..."} 
[2026-07-07 01:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39053f28012d1b5ec006d4d050000e00792d..."} 
[2026-07-07 01:33:06] local.INFO: Processing buffer {"connection_id":124689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39053f28012d1b5ec006d4d050000e00792d..."} 
[2026-07-07 01:33:06] local.INFO: Packet analysis {"connection_id":124689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3905"} 
[2026-07-07 01:33:06] local.INFO: Extracted packet for processing {"connection_id":124689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3905"} 
[2026-07-07 01:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756768448,"raw_latitude":114610256,"longitude_deg":75.6768448,"latitude_deg":11.4610256,"altitude":14,"angle":121,"satellites":45,"speed":42,"hex_longitude":"2d1b5ec0","hex_latitude":"06d4d050","is_valid_coordinates":true} 
[2026-07-07 01:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542225152001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339950651503017984,"note":"Value kept but may cause issues"} 
[2026-07-07 01:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965821266688008192,"note":"Value kept but may cause issues"} 
[2026-07-07 01:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783368073000,"timestamp_ms":1783368073000,"timestamp_seconds":1783368073,"priority":1,"record_length":96,"hex_timestamp":"0000019f39053f28"} 
[2026-07-07 01:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 01:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542225152001,"66":27267,"244":206,"81":20480,"24":42,"16":339950651503017984,"45":1965821266688008192},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-07-07 01:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542225152001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:33:06] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-07 01:33:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339950651503017984,"km_value":339950651503018.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965821266688008192,"description":"Unknown IO ID 45"} 
[2026-07-07 01:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542225152001,"power":27267,"unknown_244":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":1965821266688008192}} 
[2026-07-07 01:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":124689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:33:06] local.INFO: GPS data processed {"connection_id":124689,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:33:06] local.INFO: Acknowledgment sent {"connection_id":124689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:33:10] local.INFO: TCP Data received {"connection_id":124689,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f39056250012d1b7d8006d4bc88000c006d2a..."} 
[2026-07-07 01:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39056250012d1b7d8006d4bc88000c006d2a..."} 
[2026-07-07 01:33:10] local.INFO: Processing buffer {"connection_id":124689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39056250012d1b7d8006d4bc88000c006d2a..."} 
[2026-07-07 01:33:10] local.INFO: Packet analysis {"connection_id":124689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3905"} 
[2026-07-07 01:33:10] local.INFO: Extracted packet for processing {"connection_id":124689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3905"} 
[2026-07-07 01:33:10] local.INFO: GPS Element Parsed {"raw_longitude":756776320,"raw_latitude":114605192,"longitude_deg":75.677632,"latitude_deg":11.4605192,"altitude":12,"angle":109,"satellites":42,"speed":38,"hex_longitude":"2d1b7d80","hex_latitude":"06d4bc88","is_valid_coordinates":true} 
[2026-07-07 01:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542226688001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339951102474584064,"note":"Value kept but may cause issues"} 
[2026-07-07 01:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972224822407614464,"note":"Value kept but may cause issues"} 
[2026-07-07 01:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783368082000,"timestamp_ms":1783368082000,"timestamp_seconds":1783368082,"priority":1,"record_length":96,"hex_timestamp":"0000019f39056250"} 
[2026-07-07 01:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01: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-07-07 01: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":131,"data_length":795,"current_offset":136} 
[2026-07-07 01:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542226688001,"66":27234,"244":206,"81":20480,"24":38,"16":339951102474584064,"45":1972224822407614464},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-07-07 01:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542226688001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:33:10] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-07 01:33:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339951102474584064,"km_value":339951102474584.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972224822407614464,"description":"Unknown IO ID 45"} 
[2026-07-07 01:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542226688001,"power":27234,"unknown_244":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1972224822407614464}} 
[2026-07-07 01:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":124689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:33:10] local.INFO: GPS data processed {"connection_id":124689,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:33:10] local.INFO: Acknowledgment sent {"connection_id":124689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:33:41] local.INFO: TCP Data received {"connection_id":124689,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3906c9b0012d1c7f0006d3fbd8000a008b2e..."} 
[2026-07-07 01:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3906c9b0012d1c7f0006d3fbd8000a008b2e..."} 
[2026-07-07 01:33:41] local.INFO: Processing buffer {"connection_id":124689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3906c9b0012d1c7f0006d3fbd8000a008b2e..."} 
[2026-07-07 01:33:41] local.INFO: Packet analysis {"connection_id":124689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3906"} 
[2026-07-07 01:33:41] local.INFO: Extracted packet for processing {"connection_id":124689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3906"} 
[2026-07-07 01:33:41] local.INFO: GPS Element Parsed {"raw_longitude":756842240,"raw_latitude":114555864,"longitude_deg":75.684224,"latitude_deg":11.4555864,"altitude":10,"angle":139,"satellites":46,"speed":40,"hex_longitude":"2d1c7f00","hex_latitude":"06d3fbd8","is_valid_coordinates":true} 
[2026-07-07 01:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542251520001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339955152628744192,"note":"Value kept but may cause issues"} 
[2026-07-07 01:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2049982284710617088,"note":"Value kept but may cause issues"} 
[2026-07-07 01:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783368174000,"timestamp_ms":1783368174000,"timestamp_seconds":1783368174,"priority":1,"record_length":96,"hex_timestamp":"0000019f3906c9b0"} 
[2026-07-07 01:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01: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-07-07 01: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":131,"data_length":795,"current_offset":136} 
[2026-07-07 01:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542251520001,"66":27267,"82":206,"81":20480,"24":40,"16":339955152628744192,"45":2049982284710617088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-07-07 01:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542251520001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:33:41] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-07 01:33:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339955152628744192,"km_value":339955152628744.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2049982284710617088,"description":"Unknown IO ID 45"} 
[2026-07-07 01:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542251520001,"power":27267,"unknown_82":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":2049982284710617088}} 
[2026-07-07 01:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":124689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:33:41] local.INFO: GPS data processed {"connection_id":124689,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:33:41] local.INFO: Acknowledgment sent {"connection_id":124689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:34:01] local.INFO: TCP Data received {"connection_id":125938,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:34:01] local.INFO: Processing buffer {"connection_id":125938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:34:01] local.INFO: IMEI packet received {"connection_id":125938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":125938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:34:01] local.INFO: TCP Data received {"connection_id":125938,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:34:01] local.INFO: Processing buffer {"connection_id":125938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:34:01] local.INFO: IMEI packet received {"connection_id":125938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":125938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:34:05] local.INFO: TCP Data received {"connection_id":125938,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:34:05] local.INFO: Processing buffer {"connection_id":125938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:34:05] local.INFO: IMEI packet received {"connection_id":125938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":125938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:34:07] local.INFO: TCP Data received {"connection_id":125938,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3906d180012d1c838006d3f540000a00992d..."} 
[2026-07-07 01:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3906d180012d1c838006d3f540000a00992d..."} 
[2026-07-07 01:34:07] local.INFO: Processing buffer {"connection_id":125938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3906d180012d1c838006d3f540000a00992d..."} 
[2026-07-07 01:34:07] local.INFO: Packet analysis {"connection_id":125938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3906"} 
[2026-07-07 01:34:07] local.INFO: Extracted packet for processing {"connection_id":125938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3906"} 
[2026-07-07 01:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756843392,"raw_latitude":114554176,"longitude_deg":75.6843392,"latitude_deg":11.4554176,"altitude":10,"angle":153,"satellites":45,"speed":39,"hex_longitude":"2d1c8380","hex_latitude":"06d3f540","is_valid_coordinates":true} 
[2026-07-07 01:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542252544001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339955251412992000,"note":"Value kept but may cause issues"} 
[2026-07-07 01:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2053359984430536704,"note":"Value kept but may cause issues"} 
[2026-07-07 01:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783368176000,"timestamp_ms":1783368176000,"timestamp_seconds":1783368176,"priority":1,"record_length":96,"hex_timestamp":"0000019f3906d180"} 
[2026-07-07 01:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 01:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542252544001,"66":27234,"82":206,"81":20480,"24":39,"16":339955251412992000,"45":2053359984430536704},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-07-07 01:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542252544001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:34:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-07 01:34:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339955251412992000,"km_value":339955251412992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2053359984430536704,"description":"Unknown IO ID 45"} 
[2026-07-07 01:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542252544001,"power":27234,"unknown_82":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":2053359984430536704}} 
[2026-07-07 01:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":125938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:34:07] local.INFO: GPS data processed {"connection_id":125938,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:34:07] local.INFO: Acknowledgment sent {"connection_id":125938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:34:38] local.INFO: TCP Data received {"connection_id":125938,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3906d950012d1c860006d3ed88000a00a72c..."} 
[2026-07-07 01:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3906d950012d1c860006d3ed88000a00a72c..."} 
[2026-07-07 01:34:38] local.INFO: Processing buffer {"connection_id":125938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3906d950012d1c860006d3ed88000a00a72c..."} 
[2026-07-07 01:34:38] local.INFO: Packet analysis {"connection_id":125938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3906"} 
[2026-07-07 01:34:38] local.INFO: Extracted packet for processing {"connection_id":125938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3906"} 
[2026-07-07 01:34:38] local.INFO: GPS Element Parsed {"raw_longitude":756844032,"raw_latitude":114552200,"longitude_deg":75.6844032,"latitude_deg":11.45522,"altitude":10,"angle":167,"satellites":44,"speed":41,"hex_longitude":"2d1c8600","hex_latitude":"06d3ed88","is_valid_coordinates":true} 
[2026-07-07 01:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542253056001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339955350197239808,"note":"Value kept but may cause issues"} 
[2026-07-07 01:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2054626621825302528,"note":"Value kept but may cause issues"} 
[2026-07-07 01:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783368178000,"timestamp_ms":1783368178000,"timestamp_seconds":1783368178,"priority":1,"record_length":96,"hex_timestamp":"0000019f3906d950"} 
[2026-07-07 01:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:34: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-07-07 01:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 01:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542253056001,"66":27397,"82":206,"81":20480,"24":41,"16":339955350197239808,"45":2054626621825302528},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-07-07 01:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542253056001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:34:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-07 01:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339955350197239808,"km_value":339955350197239.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2054626621825302528,"description":"Unknown IO ID 45"} 
[2026-07-07 01:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542253056001,"power":27397,"unknown_82":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":2054626621825302528}} 
[2026-07-07 01:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":125938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:34:38] local.INFO: GPS data processed {"connection_id":125938,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:34:38] local.INFO: Acknowledgment sent {"connection_id":125938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:35:00] local.INFO: TCP Data received {"connection_id":123931,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:35:00] local.INFO: Processing buffer {"connection_id":123931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:35:00] local.INFO: IMEI packet received {"connection_id":123931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":123931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:35:02] local.INFO: TCP Data received {"connection_id":123931,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:35:02] local.INFO: Processing buffer {"connection_id":123931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:35:02] local.INFO: IMEI packet received {"connection_id":123931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":123931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:35:05] local.INFO: TCP Data received {"connection_id":123931,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:35:05] local.INFO: Processing buffer {"connection_id":123931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:35:05] local.INFO: IMEI packet received {"connection_id":123931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":123931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:35:06] local.INFO: TCP Data received {"connection_id":123931,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3906ecd8012d1c8b4006d3d9c8000c009a2c..."} 
[2026-07-07 01:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3906ecd8012d1c8b4006d3d9c8000c009a2c..."} 
[2026-07-07 01:35:06] local.INFO: Processing buffer {"connection_id":123931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3906ecd8012d1c8b4006d3d9c8000c009a2c..."} 
[2026-07-07 01:35:06] local.INFO: Packet analysis {"connection_id":123931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3906"} 
[2026-07-07 01:35:06] local.INFO: Extracted packet for processing {"connection_id":123931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3906"} 
[2026-07-07 01:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756845376,"raw_latitude":114547144,"longitude_deg":75.6845376,"latitude_deg":11.4547144,"altitude":12,"angle":154,"satellites":44,"speed":40,"hex_longitude":"2d1c8b40","hex_latitude":"06d3d9c8","is_valid_coordinates":true} 
[2026-07-07 01: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-07-07 01:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542253568001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339955603600310272,"note":"Value kept but may cause issues"} 
[2026-07-07 01:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2055330309266573312,"note":"Value kept but may cause issues"} 
[2026-07-07 01:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783368183000,"timestamp_ms":1783368183000,"timestamp_seconds":1783368183,"priority":1,"record_length":96,"hex_timestamp":"0000019f3906ecd8"} 
[2026-07-07 01:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 01:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":123931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":123931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":123931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542253568001,"66":27376,"82":206,"81":20480,"24":40,"16":339955603600310272,"45":2055330309266573312},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-07-07 01:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542253568001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:35:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-07 01:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339955603600310272,"km_value":339955603600310.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2055330309266573312,"description":"Unknown IO ID 45"} 
[2026-07-07 01:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542253568001,"power":27376,"unknown_82":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":2055330309266573312}} 
[2026-07-07 01:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":123931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:35:06] local.INFO: GPS data processed {"connection_id":123931,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:35:06] local.INFO: Acknowledgment sent {"connection_id":123931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:35:31] local.INFO: TCP Data received {"connection_id":123930,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:35:31] local.INFO: Processing buffer {"connection_id":123930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:35:31] local.INFO: IMEI packet received {"connection_id":123930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 01:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":123930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:35:38] local.INFO: TCP Data received {"connection_id":123931,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f39085050012d1d398006d2c870000f00932c..."} 
[2026-07-07 01:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39085050012d1d398006d2c870000f00932c..."} 
[2026-07-07 01:35:38] local.INFO: Processing buffer {"connection_id":123931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39085050012d1d398006d2c870000f00932c..."} 
[2026-07-07 01:35:38] local.INFO: Packet analysis {"connection_id":123931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3908"} 
[2026-07-07 01:35:38] local.INFO: Extracted packet for processing {"connection_id":123931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3908"} 
[2026-07-07 01:35:38] local.INFO: GPS Element Parsed {"raw_longitude":756889984,"raw_latitude":114477168,"longitude_deg":75.6889984,"latitude_deg":11.4477168,"altitude":15,"angle":147,"satellites":44,"speed":36,"hex_longitude":"2d1d3980","hex_latitude":"06d2c870","is_valid_coordinates":true} 
[2026-07-07 01:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542277632001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339959640869568512,"note":"Value kept but may cause issues"} 
[2026-07-07 01:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2105010642637230080,"note":"Value kept but may cause issues"} 
[2026-07-07 01:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783368274000,"timestamp_ms":1783368274000,"timestamp_seconds":1783368274,"priority":1,"record_length":96,"hex_timestamp":"0000019f39085050"} 
[2026-07-07 01:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-07-07 01:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":123931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":123931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":123931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542277632001,"66":27234,"18":206,"81":20480,"24":36,"16":339959640869568512,"45":2105010642637230080},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-07-07 01:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542277632001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:35:38] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-07 01:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339959640869568512,"km_value":339959640869568.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2105010642637230080,"description":"Unknown IO ID 45"} 
[2026-07-07 01:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542277632001,"power":27234,"unknown_18":206,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":2105010642637230080}} 
[2026-07-07 01:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":123931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:35:38] local.INFO: GPS data processed {"connection_id":123931,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:35:38] local.INFO: Acknowledgment sent {"connection_id":123931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:36:00] local.INFO: TCP Data received {"connection_id":124690,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:36:00] local.INFO: Processing buffer {"connection_id":124690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:36:00] local.INFO: IMEI packet received {"connection_id":124690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 01:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":124690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:36:00] local.INFO: TCP Data received {"connection_id":123932,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:36:01] local.INFO: Processing buffer {"connection_id":123932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:36:01] local.INFO: IMEI packet received {"connection_id":123932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":123932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:36:05] local.INFO: TCP Data received {"connection_id":123932,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:36:05] local.INFO: Processing buffer {"connection_id":123932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:36:05] local.INFO: IMEI packet received {"connection_id":123932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":123932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:36:06] local.INFO: TCP Data received {"connection_id":123932,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f39087760012d1d4d4006d2a850000f00972c..."} 
[2026-07-07 01:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39087760012d1d4d4006d2a850000f00972c..."} 
[2026-07-07 01:36:06] local.INFO: Processing buffer {"connection_id":123932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39087760012d1d4d4006d2a850000f00972c..."} 
[2026-07-07 01:36:06] local.INFO: Packet analysis {"connection_id":123932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3908"} 
[2026-07-07 01:36:06] local.INFO: Extracted packet for processing {"connection_id":123932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3908"} 
[2026-07-07 01:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756895040,"raw_latitude":114468944,"longitude_deg":75.689504,"latitude_deg":11.4468944,"altitude":15,"angle":151,"satellites":44,"speed":41,"hex_longitude":"2d1d4d40","hex_latitude":"06d2a850","is_valid_coordinates":true} 
[2026-07-07 01:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542278144001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339960109021003776,"note":"Value kept but may cause issues"} 
[2026-07-07 01:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2105855067566927872,"note":"Value kept but may cause issues"} 
[2026-07-07 01:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783368284000,"timestamp_ms":1783368284000,"timestamp_seconds":1783368284,"priority":1,"record_length":96,"hex_timestamp":"0000019f39087760"} 
[2026-07-07 01:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 01:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":123932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":123932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":123932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542278144001,"66":27343,"18":206,"81":20480,"24":41,"16":339960109021003776,"45":2105855067566927872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-07-07 01:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542278144001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:36:06] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-07 01:36:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339960109021003776,"km_value":339960109021003.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2105855067566927872,"description":"Unknown IO ID 45"} 
[2026-07-07 01:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542278144001,"power":27343,"unknown_18":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":2105855067566927872}} 
[2026-07-07 01:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":123932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:36:06] local.INFO: GPS data processed {"connection_id":123932,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:36:06] local.INFO: Acknowledgment sent {"connection_id":123932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:36:37] local.INFO: TCP Data received {"connection_id":123932,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f390896a0012d1d5c8006d28858000c009b2b..."} 
[2026-07-07 01:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f390896a0012d1d5c8006d28858000c009b2b..."} 
[2026-07-07 01:36:37] local.INFO: Processing buffer {"connection_id":123932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f390896a0012d1d5c8006d28858000c009b2b..."} 
[2026-07-07 01:36:37] local.INFO: Packet analysis {"connection_id":123932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3908"} 
[2026-07-07 01:36:37] local.INFO: Extracted packet for processing {"connection_id":123932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3908"} 
[2026-07-07 01:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756898944,"raw_latitude":114460760,"longitude_deg":75.6898944,"latitude_deg":11.446076,"altitude":12,"angle":155,"satellites":43,"speed":48,"hex_longitude":"2d1d5c80","hex_latitude":"06d28858","is_valid_coordinates":true} 
[2026-07-07 01:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542280704001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339960547107667968,"note":"Value kept but may cause issues"} 
[2026-07-07 01:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2111414198354857984,"note":"Value kept but may cause issues"} 
[2026-07-07 01:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783368292000,"timestamp_ms":1783368292000,"timestamp_seconds":1783368292,"priority":1,"record_length":96,"hex_timestamp":"0000019f390896a0"} 
[2026-07-07 01:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:36: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-07-07 01:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 01:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":123932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":123932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":123932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542280704001,"66":27463,"18":206,"81":20480,"24":48,"16":339960547107667968,"45":2111414198354857984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-07-07 01:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542280704001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:36:37] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-07 01:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339960547107667968,"km_value":339960547107667.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2111414198354857984,"description":"Unknown IO ID 45"} 
[2026-07-07 01:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542280704001,"power":27463,"unknown_18":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":2111414198354857984}} 
[2026-07-07 01:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":123932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:36:37] local.INFO: GPS data processed {"connection_id":123932,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:36:37] local.INFO: Acknowledgment sent {"connection_id":123932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:37:00] local.INFO: TCP Data received {"connection_id":125939,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:37:00] local.INFO: Processing buffer {"connection_id":125939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:37:00] local.INFO: IMEI packet received {"connection_id":125939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":125939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:37:05] local.INFO: TCP Data received {"connection_id":125939,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:37:05] local.INFO: Processing buffer {"connection_id":125939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:37:05] local.INFO: IMEI packet received {"connection_id":125939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":125939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:37:06] local.INFO: TCP Data received {"connection_id":125939,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3908b5e0012d1d6f8006d265d0000d00942b..."} 
[2026-07-07 01:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3908b5e0012d1d6f8006d265d0000d00942b..."} 
[2026-07-07 01:37:06] local.INFO: Processing buffer {"connection_id":125939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3908b5e0012d1d6f8006d265d0000d00942b..."} 
[2026-07-07 01:37:06] local.INFO: Packet analysis {"connection_id":125939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3908"} 
[2026-07-07 01:37:06] local.INFO: Extracted packet for processing {"connection_id":125939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3908"} 
[2026-07-07 01:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756903808,"raw_latitude":114451920,"longitude_deg":75.6903808,"latitude_deg":11.445192,"altitude":13,"angle":148,"satellites":43,"speed":50,"hex_longitude":"2d1d6f80","hex_latitude":"06d265d0","is_valid_coordinates":true} 
[2026-07-07 01:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542282752001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339961036733939712,"note":"Value kept but may cause issues"} 
[2026-07-07 01:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2115706691747600384,"note":"Value kept but may cause issues"} 
[2026-07-07 01:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783368300000,"timestamp_ms":1783368300000,"timestamp_seconds":1783368300,"priority":1,"record_length":96,"hex_timestamp":"0000019f3908b5e0"} 
[2026-07-07 01:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 01:37: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-07-07 01:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542282752001,"66":27463,"18":206,"81":20480,"24":50,"16":339961036733939712,"45":2115706691747600384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-07-07 01:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542282752001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:37:06] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-07 01:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-07 01:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339961036733939712,"km_value":339961036733939.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2115706691747600384,"description":"Unknown IO ID 45"} 
[2026-07-07 01:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542282752001,"power":27463,"unknown_18":206,"unknown_81":20480,"ignition":50,"odometer":null,"unknown_45":2115706691747600384}} 
[2026-07-07 01:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":125939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:37:06] local.INFO: GPS data processed {"connection_id":125939,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:37:06] local.INFO: Acknowledgment sent {"connection_id":125939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:37:38] local.INFO: TCP Data received {"connection_id":125939,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f390a30c8012d1e540006d13cc8001000902b..."} 
[2026-07-07 01:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f390a30c8012d1e540006d13cc8001000902b..."} 
[2026-07-07 01:37:38] local.INFO: Processing buffer {"connection_id":125939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f390a30c8012d1e540006d13cc8001000902b..."} 
[2026-07-07 01:37:38] local.INFO: Packet analysis {"connection_id":125939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f390a"} 
[2026-07-07 01:37:38] local.INFO: Extracted packet for processing {"connection_id":125939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f390a"} 
[2026-07-07 01:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756962304,"raw_latitude":114375880,"longitude_deg":75.6962304,"latitude_deg":11.437588,"altitude":16,"angle":144,"satellites":43,"speed":46,"hex_longitude":"2d1e5400","hex_latitude":"06d13cc8","is_valid_coordinates":true} 
[2026-07-07 01:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542307584001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339965709658357760,"note":"Value kept but may cause issues"} 
[2026-07-07 01:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2179671880185286656,"note":"Value kept but may cause issues"} 
[2026-07-07 01:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783368397000,"timestamp_ms":1783368397000,"timestamp_seconds":1783368397,"priority":1,"record_length":96,"hex_timestamp":"0000019f390a30c8"} 
[2026-07-07 01:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 01:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542307584001,"66":27343,"153":206,"81":22528,"24":46,"16":339965709658357760,"45":2179671880185286656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-07-07 01:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542307584001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:37:38] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 01:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-07 01:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339965709658357760,"km_value":339965709658357.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2179671880185286656,"description":"Unknown IO ID 45"} 
[2026-07-07 01:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542307584001,"power":27343,"unknown_153":206,"unknown_81":22528,"ignition":46,"odometer":null,"unknown_45":2179671880185286656}} 
[2026-07-07 01:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":125939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:37:38] local.INFO: GPS data processed {"connection_id":125939,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:37:38] local.INFO: Acknowledgment sent {"connection_id":125939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:38:00] local.INFO: TCP Data received {"connection_id":124692,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:38:00] local.INFO: Processing buffer {"connection_id":124692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:38:00] local.INFO: IMEI packet received {"connection_id":124692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":124692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:38:05] local.INFO: TCP Data received {"connection_id":124692,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:38:05] local.INFO: Processing buffer {"connection_id":124692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:38:05] local.INFO: IMEI packet received {"connection_id":124692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":124692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:38:06] local.INFO: TCP Data received {"connection_id":124692,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f390a5008012d1e69c006d11dd8001000902c..."} 
[2026-07-07 01:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f390a5008012d1e69c006d11dd8001000902c..."} 
[2026-07-07 01:38:06] local.INFO: Processing buffer {"connection_id":124692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f390a5008012d1e69c006d11dd8001000902c..."} 
[2026-07-07 01:38:06] local.INFO: Packet analysis {"connection_id":124692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f390a"} 
[2026-07-07 01:38:06] local.INFO: Extracted packet for processing {"connection_id":124692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f390a"} 
[2026-07-07 01:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756967872,"raw_latitude":114367960,"longitude_deg":75.6967872,"latitude_deg":11.436796,"altitude":16,"angle":144,"satellites":44,"speed":49,"hex_longitude":"2d1e69c0","hex_latitude":"06d11dd8","is_valid_coordinates":true} 
[2026-07-07 01:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542309632001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339966177809793024,"note":"Value kept but may cause issues"} 
[2026-07-07 01:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2185371748461758464,"note":"Value kept but may cause issues"} 
[2026-07-07 01:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783368405000,"timestamp_ms":1783368405000,"timestamp_seconds":1783368405,"priority":1,"record_length":96,"hex_timestamp":"0000019f390a5008"} 
[2026-07-07 01:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 01:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542309632001,"66":27321,"153":206,"81":22528,"24":49,"16":339966177809793024,"45":2185371748461758464},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-07-07 01:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542309632001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:38:06] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 01:38:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-07 01:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339966177809793024,"km_value":339966177809793.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2185371748461758464,"description":"Unknown IO ID 45"} 
[2026-07-07 01:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542309632001,"power":27321,"unknown_153":206,"unknown_81":22528,"ignition":49,"odometer":null,"unknown_45":2185371748461758464}} 
[2026-07-07 01:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":124692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:38:06] local.INFO: GPS data processed {"connection_id":124692,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:38:06] local.INFO: Acknowledgment sent {"connection_id":124692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:38:37] local.INFO: TCP Data received {"connection_id":124692,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f390a6b60012d1e7ec006d10178001000922d..."} 
[2026-07-07 01:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f390a6b60012d1e7ec006d10178001000922d..."} 
[2026-07-07 01:38:37] local.INFO: Processing buffer {"connection_id":124692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f390a6b60012d1e7ec006d10178001000922d..."} 
[2026-07-07 01:38:37] local.INFO: Packet analysis {"connection_id":124692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f390a"} 
[2026-07-07 01:38:37] local.INFO: Extracted packet for processing {"connection_id":124692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f390a"} 
[2026-07-07 01:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756973248,"raw_latitude":114360696,"longitude_deg":75.6973248,"latitude_deg":11.4360696,"altitude":16,"angle":146,"satellites":45,"speed":52,"hex_longitude":"2d1e7ec0","hex_latitude":"06d10178","is_valid_coordinates":true} 
[2026-07-07 01:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542311680001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339966611601489920,"note":"Value kept but may cause issues"} 
[2026-07-07 01:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2191493829203187712,"note":"Value kept but may cause issues"} 
[2026-07-07 01:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783368412000,"timestamp_ms":1783368412000,"timestamp_seconds":1783368412,"priority":1,"record_length":96,"hex_timestamp":"0000019f390a6b60"} 
[2026-07-07 01:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 01:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542311680001,"66":27267,"153":206,"81":22528,"24":52,"16":339966611601489920,"45":2191493829203187712},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-07-07 01:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542311680001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:38:37] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 01:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-07 01:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339966611601489920,"km_value":339966611601489.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2191493829203187712,"description":"Unknown IO ID 45"} 
[2026-07-07 01:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542311680001,"power":27267,"unknown_153":206,"unknown_81":22528,"ignition":52,"odometer":null,"unknown_45":2191493829203187712}} 
[2026-07-07 01:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":124692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:38:37] local.INFO: GPS data processed {"connection_id":124692,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:38:37] local.INFO: Acknowledgment sent {"connection_id":124692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:39:14] local.INFO: TCP Data received {"connection_id":123933,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:39:14] local.INFO: Processing buffer {"connection_id":123933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:39:14] local.INFO: IMEI packet received {"connection_id":123933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":123933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:39:21] local.INFO: TCP Data received {"connection_id":123933,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:39:21] local.INFO: Processing buffer {"connection_id":123933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:39:21] local.INFO: IMEI packet received {"connection_id":123933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":123933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:39:21] local.INFO: TCP Data received {"connection_id":123933,"ip":"42.106.6.26","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 01:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123933,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 01:39:21] local.INFO: Processing buffer {"connection_id":123933,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 01:39:21] local.INFO: IMEI packet received {"connection_id":123933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":123933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:41:15] local.INFO: TCP Data received {"connection_id":125942,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:41:15] local.INFO: Processing buffer {"connection_id":125942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:41:15] local.INFO: IMEI packet received {"connection_id":125942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 01:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":125942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:42:00] local.INFO: TCP Data received {"connection_id":124034,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:42:00] local.INFO: Processing buffer {"connection_id":124034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:42:00] local.INFO: IMEI packet received {"connection_id":124034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 01:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":124034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:44:25] local.INFO: TCP Data received {"connection_id":123936,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:44:25] local.INFO: Processing buffer {"connection_id":123936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:44:25] local.INFO: IMEI packet received {"connection_id":123936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":123936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:44:27] local.INFO: TCP Data received {"connection_id":123936,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f390f8be0012d211ac006cdcc20000b00922b..."} 
[2026-07-07 01:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f390f8be0012d211ac006cdcc20000b00922b..."} 
[2026-07-07 01:44:27] local.INFO: Processing buffer {"connection_id":123936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f390f8be0012d211ac006cdcc20000b00922b..."} 
[2026-07-07 01:44:27] local.INFO: Packet analysis {"connection_id":123936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f390f"} 
[2026-07-07 01:44:27] local.INFO: Extracted packet for processing {"connection_id":123936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f390f"} 
[2026-07-07 01:44:27] local.INFO: GPS Element Parsed {"raw_longitude":757144256,"raw_latitude":114150432,"longitude_deg":75.7144256,"latitude_deg":11.4150432,"altitude":11,"angle":146,"satellites":43,"speed":22,"hex_longitude":"2d211ac0","hex_latitude":"06cdcc20","is_valid_coordinates":true} 
[2026-07-07 01:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542398464001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339980355496837120,"note":"Value kept but may cause issues"} 
[2026-07-07 01:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2384585663171510272,"note":"Value kept but may cause issues"} 
[2026-07-07 01:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783368748000,"timestamp_ms":1783368748000,"timestamp_seconds":1783368748,"priority":1,"record_length":96,"hex_timestamp":"0000019f390f8be0"} 
[2026-07-07 01:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 01:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":123936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":123936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":123936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542398464001,"66":27343,"169":206,"81":22528,"24":22,"16":339980355496837120,"45":2384585663171510272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,81,24,16,45]} 
[2026-07-07 01:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542398464001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:44:27] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 01:44:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-07 01:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339980355496837120,"km_value":339980355496837.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2384585663171510272,"description":"Unknown IO ID 45"} 
[2026-07-07 01:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542398464001,"power":27343,"unknown_169":206,"unknown_81":22528,"ignition":22,"odometer":null,"unknown_45":2384585663171510272}} 
[2026-07-07 01:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":123936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:44:27] local.INFO: GPS data processed {"connection_id":123936,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:44:27] local.INFO: Acknowledgment sent {"connection_id":123936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:45:00] local.INFO: TCP Data received {"connection_id":124036,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:45:00] local.INFO: Processing buffer {"connection_id":124036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:45:00] local.INFO: IMEI packet received {"connection_id":124036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":124036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:45:01] local.INFO: TCP Data received {"connection_id":124036,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:45:01] local.INFO: Processing buffer {"connection_id":124036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:45:01] local.INFO: IMEI packet received {"connection_id":124036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":124036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:45:05] local.INFO: TCP Data received {"connection_id":124036,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:45:05] local.INFO: Processing buffer {"connection_id":124036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:45:05] local.INFO: IMEI packet received {"connection_id":124036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":124036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:45:07] local.INFO: TCP Data received {"connection_id":124036,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3910c460012d21d2c006cc8c380007009b2d..."} 
[2026-07-07 01:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3910c460012d21d2c006cc8c380007009b2d..."} 
[2026-07-07 01:45:07] local.INFO: Processing buffer {"connection_id":124036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3910c460012d21d2c006cc8c380007009b2d..."} 
[2026-07-07 01:45:07] local.INFO: Packet analysis {"connection_id":124036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3910"} 
[2026-07-07 01:45:07] local.INFO: Extracted packet for processing {"connection_id":124036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3910"} 
[2026-07-07 01:45:07] local.INFO: GPS Element Parsed {"raw_longitude":757191360,"raw_latitude":114068536,"longitude_deg":75.719136,"latitude_deg":11.4068536,"altitude":7,"angle":155,"satellites":45,"speed":56,"hex_longitude":"2d21d2c0","hex_latitude":"06cc8c38","is_valid_coordinates":true} 
[2026-07-07 01:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542418432001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339985032716222464,"note":"Value kept but may cause issues"} 
[2026-07-07 01:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2434265996541585408,"note":"Value kept but may cause issues"} 
[2026-07-07 01:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783368828000,"timestamp_ms":1783368828000,"timestamp_seconds":1783368828,"priority":1,"record_length":96,"hex_timestamp":"0000019f3910c460"} 
[2026-07-07 01:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 01:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542418432001,"66":27267,"179":206,"81":22528,"24":56,"16":339985032716222464,"45":2434265996541585408},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-07-07 01:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542418432001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:45:07] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-07 01:45:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-07 01:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339985032716222464,"km_value":339985032716222.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2434265996541585408,"description":"Unknown IO ID 45"} 
[2026-07-07 01:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542418432001,"power":27267,"unknown_179":206,"unknown_81":22528,"ignition":56,"odometer":null,"unknown_45":2434265996541585408}} 
[2026-07-07 01:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":124036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:45:07] local.INFO: GPS data processed {"connection_id":124036,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:45:07] local.INFO: Acknowledgment sent {"connection_id":124036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:45:39] local.INFO: TCP Data received {"connection_id":124036,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3910dfb8012d21e48006cc6ab8000700972e..."} 
[2026-07-07 01:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3910dfb8012d21e48006cc6ab8000700972e..."} 
[2026-07-07 01:45:39] local.INFO: Processing buffer {"connection_id":124036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3910dfb8012d21e48006cc6ab8000700972e..."} 
[2026-07-07 01:45:39] local.INFO: Packet analysis {"connection_id":124036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3910"} 
[2026-07-07 01:45:39] local.INFO: Extracted packet for processing {"connection_id":124036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3910"} 
[2026-07-07 01:45:39] local.INFO: GPS Element Parsed {"raw_longitude":757195904,"raw_latitude":114059960,"longitude_deg":75.7195904,"latitude_deg":11.405996,"altitude":7,"angle":151,"satellites":46,"speed":54,"hex_longitude":"2d21e480","hex_latitude":"06cc6ab8","is_valid_coordinates":true} 
[2026-07-07 01:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542419968001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339985500867657728,"note":"Value kept but may cause issues"} 
[2026-07-07 01:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2437221483794937856,"note":"Value kept but may cause issues"} 
[2026-07-07 01:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783368835000,"timestamp_ms":1783368835000,"timestamp_seconds":1783368835,"priority":1,"record_length":96,"hex_timestamp":"0000019f3910dfb8"} 
[2026-07-07 01:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:45: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-07-07 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 01:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542419968001,"66":27332,"179":206,"81":22528,"24":54,"16":339985500867657728,"45":2437221483794937856},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-07-07 01:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542419968001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:45:39] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-07 01:45:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-07 01:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339985500867657728,"km_value":339985500867657.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2437221483794937856,"description":"Unknown IO ID 45"} 
[2026-07-07 01:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542419968001,"power":27332,"unknown_179":206,"unknown_81":22528,"ignition":54,"odometer":null,"unknown_45":2437221483794937856}} 
[2026-07-07 01:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":124036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:45:39] local.INFO: GPS data processed {"connection_id":124036,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:45:39] local.INFO: Acknowledgment sent {"connection_id":124036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:46:05] local.INFO: TCP Data received {"connection_id":125944,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:46:05] local.INFO: Processing buffer {"connection_id":125944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:46:05] local.INFO: IMEI packet received {"connection_id":125944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":125944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:46:06] local.INFO: TCP Data received {"connection_id":125944,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:46:06] local.INFO: Processing buffer {"connection_id":125944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:46:06] local.INFO: IMEI packet received {"connection_id":125944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":125944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:46:07] local.INFO: TCP Data received {"connection_id":125944,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3911d1e8012d22b08006cb61a0000b00942c..."} 
[2026-07-07 01:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3911d1e8012d22b08006cb61a0000b00942c..."} 
[2026-07-07 01:46:07] local.INFO: Processing buffer {"connection_id":125944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3911d1e8012d22b08006cb61a0000b00942c..."} 
[2026-07-07 01:46:07] local.INFO: Packet analysis {"connection_id":125944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3911"} 
[2026-07-07 01:46:07] local.INFO: Extracted packet for processing {"connection_id":125944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3911"} 
[2026-07-07 01:46:07] local.INFO: GPS Element Parsed {"raw_longitude":757248128,"raw_latitude":113992096,"longitude_deg":75.7248128,"latitude_deg":11.3992096,"altitude":11,"angle":148,"satellites":44,"speed":59,"hex_longitude":"2d22b080","hex_latitude":"06cb61a0","is_valid_coordinates":true} 
[2026-07-07 01:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542436096001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339989675575869440,"note":"Value kept but may cause issues"} 
[2026-07-07 01:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2494431272793776128,"note":"Value kept but may cause issues"} 
[2026-07-07 01:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783368897000,"timestamp_ms":1783368897000,"timestamp_seconds":1783368897,"priority":1,"record_length":96,"hex_timestamp":"0000019f3911d1e8"} 
[2026-07-07 01:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-07 01:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542436096001,"66":27332,"171":206,"81":22528,"24":59,"16":339989675575869440,"45":2494431272793776128},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,81,24,16,45]} 
[2026-07-07 01:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542436096001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:46:07] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-07 01:46:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-07 01:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339989675575869440,"km_value":339989675575869.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2494431272793776128,"description":"Unknown IO ID 45"} 
[2026-07-07 01:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542436096001,"power":27332,"unknown_171":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2494431272793776128}} 
[2026-07-07 01:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":125944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:46:07] local.INFO: GPS data processed {"connection_id":125944,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:46:07] local.INFO: Acknowledgment sent {"connection_id":125944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:46:11] local.INFO: TCP Data received {"connection_id":125944,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3911ed40012d22c54006cb3ee0000c00972c..."} 
[2026-07-07 01:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3911ed40012d22c54006cb3ee0000c00972c..."} 
[2026-07-07 01:46:11] local.INFO: Processing buffer {"connection_id":125944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3911ed40012d22c54006cb3ee0000c00972c..."} 
[2026-07-07 01:46:11] local.INFO: Packet analysis {"connection_id":125944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3911"} 
[2026-07-07 01:46:11] local.INFO: Extracted packet for processing {"connection_id":125944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3911"} 
[2026-07-07 01:46:11] local.INFO: GPS Element Parsed {"raw_longitude":757253440,"raw_latitude":113983200,"longitude_deg":75.725344,"latitude_deg":11.39832,"altitude":12,"angle":151,"satellites":44,"speed":58,"hex_longitude":"2d22c540","hex_latitude":"06cb3ee0","is_valid_coordinates":true} 
[2026-07-07 01:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542437632001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339990173792075776,"note":"Value kept but may cause issues"} 
[2026-07-07 01:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2499638559860957184,"note":"Value kept but may cause issues"} 
[2026-07-07 01:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783368904000,"timestamp_ms":1783368904000,"timestamp_seconds":1783368904,"priority":1,"record_length":96,"hex_timestamp":"0000019f3911ed40"} 
[2026-07-07 01:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:46: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-07-07 01:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 01:46: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-07-07 01:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542437632001,"66":27343,"171":206,"81":22528,"24":58,"16":339990173792075776,"45":2499638559860957184},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,81,24,16,45]} 
[2026-07-07 01:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542437632001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:46:11] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-07 01:46:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-07 01:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339990173792075776,"km_value":339990173792075.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2499638559860957184,"description":"Unknown IO ID 45"} 
[2026-07-07 01:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542437632001,"power":27343,"unknown_171":206,"unknown_81":22528,"ignition":58,"odometer":null,"unknown_45":2499638559860957184}} 
[2026-07-07 01:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":125944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:46:11] local.INFO: GPS data processed {"connection_id":125944,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:46:11] local.INFO: Acknowledgment sent {"connection_id":125944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:46:43] local.INFO: TCP Data received {"connection_id":125944,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f39120898012d22d44006cb1b68000d00a22c..."} 
[2026-07-07 01:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39120898012d22d44006cb1b68000d00a22c..."} 
[2026-07-07 01:46:43] local.INFO: Processing buffer {"connection_id":125944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39120898012d22d44006cb1b68000d00a22c..."} 
[2026-07-07 01:46:43] local.INFO: Packet analysis {"connection_id":125944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3912"} 
[2026-07-07 01:46:43] local.INFO: Extracted packet for processing {"connection_id":125944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3912"} 
[2026-07-07 01:46:43] local.INFO: GPS Element Parsed {"raw_longitude":757257280,"raw_latitude":113974120,"longitude_deg":75.725728,"latitude_deg":11.397412,"altitude":13,"angle":162,"satellites":44,"speed":53,"hex_longitude":"2d22d440","hex_latitude":"06cb1b68","is_valid_coordinates":true} 
[2026-07-07 01: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-07-07 01:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542439424001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339990654828412928,"note":"Value kept but may cause issues"} 
[2026-07-07 01:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2505479165625425920,"note":"Value kept but may cause issues"} 
[2026-07-07 01:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783368911000,"timestamp_ms":1783368911000,"timestamp_seconds":1783368911,"priority":1,"record_length":96,"hex_timestamp":"0000019f39120898"} 
[2026-07-07 01:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:46: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-07-07 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 01:46: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-07-07 01: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-07-07 01:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542439424001,"66":27332,"171":206,"81":22528,"24":53,"16":339990654828412928,"45":2505479165625425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,81,24,16,45]} 
[2026-07-07 01:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542439424001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:46:43] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-07 01:46:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-07 01:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339990654828412928,"km_value":339990654828412.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2505479165625425920,"description":"Unknown IO ID 45"} 
[2026-07-07 01:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542439424001,"power":27332,"unknown_171":206,"unknown_81":22528,"ignition":53,"odometer":null,"unknown_45":2505479165625425920}} 
[2026-07-07 01:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":125944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:46:43] local.INFO: GPS data processed {"connection_id":125944,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:46:43] local.INFO: Acknowledgment sent {"connection_id":125944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:47:00] local.INFO: TCP Data received {"connection_id":124697,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:47:00] local.INFO: Processing buffer {"connection_id":124697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:47:00] local.INFO: IMEI packet received {"connection_id":124697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":124697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:47:02] local.INFO: TCP Data received {"connection_id":124697,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:47:02] local.INFO: Processing buffer {"connection_id":124697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:47:02] local.INFO: IMEI packet received {"connection_id":124697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":124697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:47:05] local.INFO: TCP Data received {"connection_id":124697,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:47:05] local.INFO: Processing buffer {"connection_id":124697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:47:05] local.INFO: IMEI packet received {"connection_id":124697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":124697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:47:07] local.INFO: TCP Data received {"connection_id":124697,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f391227d8012d22dec006caf660000e00a42d..."} 
[2026-07-07 01:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f391227d8012d22dec006caf660000e00a42d..."} 
[2026-07-07 01:47:07] local.INFO: Processing buffer {"connection_id":124697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f391227d8012d22dec006caf660000e00a42d..."} 
[2026-07-07 01:47:07] local.INFO: Packet analysis {"connection_id":124697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3912"} 
[2026-07-07 01:47:07] local.INFO: Extracted packet for processing {"connection_id":124697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3912"} 
[2026-07-07 01:47:07] local.INFO: GPS Element Parsed {"raw_longitude":757259968,"raw_latitude":113964640,"longitude_deg":75.7259968,"latitude_deg":11.396464,"altitude":14,"angle":164,"satellites":45,"speed":44,"hex_longitude":"2d22dec0","hex_latitude":"06caf660","is_valid_coordinates":true} 
[2026-07-07 01:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542441216001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339991131569782784,"note":"Value kept but may cause issues"} 
[2026-07-07 01:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2509701290273761280,"note":"Value kept but may cause issues"} 
[2026-07-07 01:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783368919000,"timestamp_ms":1783368919000,"timestamp_seconds":1783368919,"priority":1,"record_length":96,"hex_timestamp":"0000019f391227d8"} 
[2026-07-07 01:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 01:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542441216001,"66":27343,"171":206,"81":22528,"24":44,"16":339991131569782784,"45":2509701290273761280},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,81,24,16,45]} 
[2026-07-07 01:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542441216001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:47:07] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-07 01:47:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-07 01:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339991131569782784,"km_value":339991131569782.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2509701290273761280,"description":"Unknown IO ID 45"} 
[2026-07-07 01:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542441216001,"power":27343,"unknown_171":206,"unknown_81":22528,"ignition":44,"odometer":null,"unknown_45":2509701290273761280}} 
[2026-07-07 01:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":124697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:47:07] local.INFO: GPS data processed {"connection_id":124697,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:47:07] local.INFO: Acknowledgment sent {"connection_id":124697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:47:07] local.INFO: TCP Data received {"connection_id":124697,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f39124b00012d22e84006cad390001000a32c..."} 
[2026-07-07 01:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39124b00012d22e84006cad390001000a32c..."} 
[2026-07-07 01:47:07] local.INFO: Processing buffer {"connection_id":124697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39124b00012d22e84006cad390001000a32c..."} 
[2026-07-07 01:47:07] local.INFO: Packet analysis {"connection_id":124697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3912"} 
[2026-07-07 01:47:07] local.INFO: Extracted packet for processing {"connection_id":124697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3912"} 
[2026-07-07 01:47:07] local.INFO: GPS Element Parsed {"raw_longitude":757262400,"raw_latitude":113955728,"longitude_deg":75.72624,"latitude_deg":11.3955728,"altitude":16,"angle":163,"satellites":44,"speed":39,"hex_longitude":"2d22e840","hex_latitude":"06cad390","is_valid_coordinates":true} 
[2026-07-07 01:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542443264001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339991578246381568,"note":"Value kept but may cause issues"} 
[2026-07-07 01:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2512656777526796288,"note":"Value kept but may cause issues"} 
[2026-07-07 01:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783368928000,"timestamp_ms":1783368928000,"timestamp_seconds":1783368928,"priority":1,"record_length":96,"hex_timestamp":"0000019f39124b00"} 
[2026-07-07 01:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 01:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542443264001,"66":27376,"171":206,"81":22528,"24":39,"16":339991578246381568,"45":2512656777526796288},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,81,24,16,45]} 
[2026-07-07 01:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542443264001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:47:07] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-07 01:47:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-07 01:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339991578246381568,"km_value":339991578246381.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2512656777526796288,"description":"Unknown IO ID 45"} 
[2026-07-07 01:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542443264001,"power":27376,"unknown_171":206,"unknown_81":22528,"ignition":39,"odometer":null,"unknown_45":2512656777526796288}} 
[2026-07-07 01:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":124697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:47:07] local.INFO: GPS data processed {"connection_id":124697,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:47:07] local.INFO: Acknowledgment sent {"connection_id":124697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:47:30] local.INFO: TCP Data received {"connection_id":124698,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:47:30] local.INFO: Processing buffer {"connection_id":124698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:47:30] local.INFO: IMEI packet received {"connection_id":124698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 01:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":124698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:47:40] local.INFO: TCP Data received {"connection_id":124697,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f391373e0012d24124006c9d758000c009f2c..."} 
[2026-07-07 01:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f391373e0012d24124006c9d758000c009f2c..."} 
[2026-07-07 01:47:40] local.INFO: Processing buffer {"connection_id":124697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f391373e0012d24124006c9d758000c009f2c..."} 
[2026-07-07 01:47:40] local.INFO: Packet analysis {"connection_id":124697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3913"} 
[2026-07-07 01:47:40] local.INFO: Extracted packet for processing {"connection_id":124697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3913"} 
[2026-07-07 01:47:40] local.INFO: GPS Element Parsed {"raw_longitude":757338688,"raw_latitude":113891160,"longitude_deg":75.7338688,"latitude_deg":11.389116,"altitude":12,"angle":159,"satellites":44,"speed":59,"hex_longitude":"2d241240","hex_latitude":"06c9d758","is_valid_coordinates":true} 
[2026-07-07 01:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542465024001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2599210332846512128,"note":"Value kept but may cause issues"} 
[2026-07-07 01:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339996667782627328,"note":"Value kept but may cause issues"} 
[2026-07-07 01:47:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 01:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783369004000,"timestamp_ms":1783369004000,"timestamp_seconds":1783369004,"priority":1,"record_length":96,"hex_timestamp":"0000019f391373e0"} 
[2026-07-07 01:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:47: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-07-07 01:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 01:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542465024001,"66":27343,"45":2599210332846512128,"81":22528,"24":59,"16":339996667782627328},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-07-07 01:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542465024001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2599210332846512128,"description":"Unknown IO ID 45"} 
[2026-07-07 01:47:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-07 01:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339996667782627328,"km_value":339996667782627.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:47:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456542465024001,"power":27343,"unknown_45":2599210332846512128,"unknown_81":22528,"ignition":59,"odometer":null}} 
[2026-07-07 01:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":124697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:47:40] local.INFO: GPS data processed {"connection_id":124697,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:47:40] local.INFO: Acknowledgment sent {"connection_id":124697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:48:00] local.INFO: TCP Data received {"connection_id":124699,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:48:00] local.INFO: Processing buffer {"connection_id":124699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:48:00] local.INFO: IMEI packet received {"connection_id":124699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 01:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":124699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:48:00] local.INFO: TCP Data received {"connection_id":124037,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:48:00] local.INFO: Processing buffer {"connection_id":124037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:48:00] local.INFO: IMEI packet received {"connection_id":124037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":124037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:48:05] local.INFO: TCP Data received {"connection_id":124037,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:48:05] local.INFO: Processing buffer {"connection_id":124037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:48:05] local.INFO: IMEI packet received {"connection_id":124037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":124037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:48:06] local.INFO: TCP Data received {"connection_id":124037,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f39138b50012d241e8006c9b690000c00a12d..."} 
[2026-07-07 01:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39138b50012d241e8006c9b690000c00a12d..."} 
[2026-07-07 01:48:06] local.INFO: Processing buffer {"connection_id":124037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39138b50012d241e8006c9b690000c00a12d..."} 
[2026-07-07 01:48:06] local.INFO: Packet analysis {"connection_id":124037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3913"} 
[2026-07-07 01:48:06] local.INFO: Extracted packet for processing {"connection_id":124037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3913"} 
[2026-07-07 01:48:06] local.INFO: GPS Element Parsed {"raw_longitude":757341824,"raw_latitude":113882768,"longitude_deg":75.7341824,"latitude_deg":11.3882768,"altitude":12,"angle":161,"satellites":45,"speed":58,"hex_longitude":"2d241e80","hex_latitude":"06c9b690","is_valid_coordinates":true} 
[2026-07-07 01:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542465024001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2599210332846512128,"note":"Value kept but may cause issues"} 
[2026-07-07 01:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339997101574324224,"note":"Value kept but may cause issues"} 
[2026-07-07 01:48:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 01:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783369010000,"timestamp_ms":1783369010000,"timestamp_seconds":1783369010,"priority":1,"record_length":96,"hex_timestamp":"0000019f39138b50"} 
[2026-07-07 01:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 01:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542465024001,"66":27267,"45":2599210332846512128,"81":22528,"24":58,"16":339997101574324224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-07-07 01:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542465024001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2599210332846512128,"description":"Unknown IO ID 45"} 
[2026-07-07 01:48:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-07 01:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339997101574324224,"km_value":339997101574324.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:48:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456542465024001,"power":27267,"unknown_45":2599210332846512128,"unknown_81":22528,"ignition":58,"odometer":null}} 
[2026-07-07 01:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":124037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:48:06] local.INFO: GPS data processed {"connection_id":124037,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:48:06] local.INFO: Acknowledgment sent {"connection_id":124037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:48:38] local.INFO: TCP Data received {"connection_id":124037,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3913a6a8012d242b8006c990f8000b00a22c..."} 
[2026-07-07 01:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3913a6a8012d242b8006c990f8000b00a22c..."} 
[2026-07-07 01:48:38] local.INFO: Processing buffer {"connection_id":124037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3913a6a8012d242b8006c990f8000b00a22c..."} 
[2026-07-07 01:48:38] local.INFO: Packet analysis {"connection_id":124037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3913"} 
[2026-07-07 01:48:38] local.INFO: Extracted packet for processing {"connection_id":124037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3913"} 
[2026-07-07 01:48:38] local.INFO: GPS Element Parsed {"raw_longitude":757345152,"raw_latitude":113873144,"longitude_deg":75.7345152,"latitude_deg":11.3873144,"altitude":11,"angle":162,"satellites":44,"speed":57,"hex_longitude":"2d242b80","hex_latitude":"06c990f8","is_valid_coordinates":true} 
[2026-07-07 01:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542466560001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2602658401309069312,"note":"Value kept but may cause issues"} 
[2026-07-07 01:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339997595495563264,"note":"Value kept but may cause issues"} 
[2026-07-07 01:48:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 01:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783369017000,"timestamp_ms":1783369017000,"timestamp_seconds":1783369017,"priority":1,"record_length":96,"hex_timestamp":"0000019f3913a6a8"} 
[2026-07-07 01:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:48: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-07-07 01:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 01:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542466560001,"66":27365,"45":2602658401309069312,"81":22528,"24":57,"16":339997595495563264},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-07-07 01:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542466560001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2602658401309069312,"description":"Unknown IO ID 45"} 
[2026-07-07 01:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-07 01:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339997595495563264,"km_value":339997595495563.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:48:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456542466560001,"power":27365,"unknown_45":2602658401309069312,"unknown_81":22528,"ignition":57,"odometer":null}} 
[2026-07-07 01:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":124037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:48:38] local.INFO: GPS data processed {"connection_id":124037,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:48:38] local.INFO: Acknowledgment sent {"connection_id":124037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:49:01] local.INFO: TCP Data received {"connection_id":124700,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:49:01] local.INFO: Processing buffer {"connection_id":124700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:49:01] local.INFO: IMEI packet received {"connection_id":124700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":124700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:49:04] local.INFO: TCP Data received {"connection_id":124700,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:49:04] local.INFO: Processing buffer {"connection_id":124700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:49:04] local.INFO: IMEI packet received {"connection_id":124700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":124700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:49:05] local.INFO: TCP Data received {"connection_id":124700,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3914cba0012d24c30006c84818000800a22d..."} 
[2026-07-07 01:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3914cba0012d24c30006c84818000800a22d..."} 
[2026-07-07 01:49:05] local.INFO: Processing buffer {"connection_id":124700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3914cba0012d24c30006c84818000800a22d..."} 
[2026-07-07 01:49:05] local.INFO: Packet analysis {"connection_id":124700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3914"} 
[2026-07-07 01:49:05] local.INFO: Extracted packet for processing {"connection_id":124700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3914"} 
[2026-07-07 01:49:05] local.INFO: GPS Element Parsed {"raw_longitude":757383936,"raw_latitude":113788952,"longitude_deg":75.7383936,"latitude_deg":11.3788952,"altitude":8,"angle":162,"satellites":45,"speed":60,"hex_longitude":"2d24c300","hex_latitude":"06c84818","is_valid_coordinates":true} 
[2026-07-07 01:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542486016001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340002143865929728,"note":"Value kept but may cause issues"} 
[2026-07-07 01:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2645653703979843584,"note":"Value kept but may cause issues"} 
[2026-07-07 01:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783369092000,"timestamp_ms":1783369092000,"timestamp_seconds":1783369092,"priority":1,"record_length":96,"hex_timestamp":"0000019f3914cba0"} 
[2026-07-07 01:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 01:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542486016001,"66":27343,"79":206,"81":22528,"24":60,"16":340002143865929728,"45":2645653703979843584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-07-07 01:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542486016001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:49:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-07-07 01:49:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-07 01:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340002143865929728,"km_value":340002143865929.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2645653703979843584,"description":"Unknown IO ID 45"} 
[2026-07-07 01:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542486016001,"power":27343,"unknown_79":206,"unknown_81":22528,"ignition":60,"odometer":null,"unknown_45":2645653703979843584}} 
[2026-07-07 01:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":124700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:49:05] local.INFO: GPS data processed {"connection_id":124700,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:49:05] local.INFO: Acknowledgment sent {"connection_id":124700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:49:36] local.INFO: TCP Data received {"connection_id":124700,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3914e310012d24ce8006c82690000800a22d..."} 
[2026-07-07 01:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3914e310012d24ce8006c82690000800a22d..."} 
[2026-07-07 01:49:36] local.INFO: Processing buffer {"connection_id":124700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3914e310012d24ce8006c82690000800a22d..."} 
[2026-07-07 01:49:36] local.INFO: Packet analysis {"connection_id":124700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3914"} 
[2026-07-07 01:49:36] local.INFO: Extracted packet for processing {"connection_id":124700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3914"} 
[2026-07-07 01:49:36] local.INFO: GPS Element Parsed {"raw_longitude":757386880,"raw_latitude":113780368,"longitude_deg":75.738688,"latitude_deg":11.3780368,"altitude":8,"angle":162,"satellites":45,"speed":59,"hex_longitude":"2d24ce80","hex_latitude":"06c82690","is_valid_coordinates":true} 
[2026-07-07 01: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-07-07 01:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542487552001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340002581952593920,"note":"Value kept but may cause issues"} 
[2026-07-07 01:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2648961034953955328,"note":"Value kept but may cause issues"} 
[2026-07-07 01:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783369098000,"timestamp_ms":1783369098000,"timestamp_seconds":1783369098,"priority":1,"record_length":96,"hex_timestamp":"0000019f3914e310"} 
[2026-07-07 01:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:49: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-07-07 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 01:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01: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-07-07 01:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542487552001,"66":27397,"78":206,"81":22528,"24":59,"16":340002581952593920,"45":2648961034953955328},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-07-07 01:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542487552001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:49:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-07 01:49:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-07 01:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340002581952593920,"km_value":340002581952593.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2648961034953955328,"description":"Unknown IO ID 45"} 
[2026-07-07 01:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542487552001,"power":27397,"unknown_78":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2648961034953955328}} 
[2026-07-07 01:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":124700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:49:36] local.INFO: GPS data processed {"connection_id":124700,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:49:36] local.INFO: Acknowledgment sent {"connection_id":124700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:50:00] local.INFO: TCP Data received {"connection_id":123938,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:50:00] local.INFO: Processing buffer {"connection_id":123938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:50:00] local.INFO: IMEI packet received {"connection_id":123938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":123938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:50:05] local.INFO: TCP Data received {"connection_id":123938,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:50:05] local.INFO: Processing buffer {"connection_id":123938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:50:05] local.INFO: IMEI packet received {"connection_id":123938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":123938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:50:11] local.INFO: TCP Data received {"connection_id":123938,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3914fe68012d24db0006c80158000900a12d..."} 
[2026-07-07 01:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3914fe68012d24db0006c80158000900a12d..."} 
[2026-07-07 01:50:11] local.INFO: Processing buffer {"connection_id":123938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3914fe68012d24db0006c80158000900a12d..."} 
[2026-07-07 01:50:11] local.INFO: Packet analysis {"connection_id":123938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3914"} 
[2026-07-07 01:50:11] local.INFO: Extracted packet for processing {"connection_id":123938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3914"} 
[2026-07-07 01:50:11] local.INFO: GPS Element Parsed {"raw_longitude":757390080,"raw_latitude":113770840,"longitude_deg":75.739008,"latitude_deg":11.377084,"altitude":9,"angle":161,"satellites":45,"speed":54,"hex_longitude":"2d24db00","hex_latitude":"06c80158","is_valid_coordinates":true} 
[2026-07-07 01:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542489088001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340003067283898368,"note":"Value kept but may cause issues"} 
[2026-07-07 01:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2652197997183930368,"note":"Value kept but may cause issues"} 
[2026-07-07 01:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783369105000,"timestamp_ms":1783369105000,"timestamp_seconds":1783369105,"priority":1,"record_length":96,"hex_timestamp":"0000019f3914fe68"} 
[2026-07-07 01:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 01:50: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-07-07 01:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542489088001,"66":27343,"78":206,"81":22528,"24":54,"16":340003067283898368,"45":2652197997183930368},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-07-07 01:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542489088001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:50:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-07 01:50:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-07 01:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340003067283898368,"km_value":340003067283898.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2652197997183930368,"description":"Unknown IO ID 45"} 
[2026-07-07 01:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542489088001,"power":27343,"unknown_78":206,"unknown_81":22528,"ignition":54,"odometer":null,"unknown_45":2652197997183930368}} 
[2026-07-07 01:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":123938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:50:11] local.INFO: GPS data processed {"connection_id":123938,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:50:11] local.INFO: Acknowledgment sent {"connection_id":123938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:50:41] local.INFO: TCP Data received {"connection_id":123938,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f39151da8012d24e64006c7dca8000c00a52d..."} 
[2026-07-07 01:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39151da8012d24e64006c7dca8000c00a52d..."} 
[2026-07-07 01:50:41] local.INFO: Processing buffer {"connection_id":123938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39151da8012d24e64006c7dca8000c00a52d..."} 
[2026-07-07 01:50:41] local.INFO: Packet analysis {"connection_id":123938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3915"} 
[2026-07-07 01:50:41] local.INFO: Extracted packet for processing {"connection_id":123938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3915"} 
[2026-07-07 01:50:41] local.INFO: GPS Element Parsed {"raw_longitude":757392960,"raw_latitude":113761448,"longitude_deg":75.739296,"latitude_deg":11.3761448,"altitude":12,"angle":165,"satellites":45,"speed":43,"hex_longitude":"2d24e640","hex_latitude":"06c7dca8","is_valid_coordinates":true} 
[2026-07-07 01:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542490880001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340003544025268224,"note":"Value kept but may cause issues"} 
[2026-07-07 01:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2655716434390374400,"note":"Value kept but may cause issues"} 
[2026-07-07 01:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783369113000,"timestamp_ms":1783369113000,"timestamp_seconds":1783369113,"priority":1,"record_length":96,"hex_timestamp":"0000019f39151da8"} 
[2026-07-07 01:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:50: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-07-07 01: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-07-07 01: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-07-07 01:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542490880001,"66":27332,"78":206,"81":22528,"24":43,"16":340003544025268224,"45":2655716434390374400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-07-07 01:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542490880001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:50:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-07 01:50:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-07 01:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340003544025268224,"km_value":340003544025268.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2655716434390374400,"description":"Unknown IO ID 45"} 
[2026-07-07 01:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542490880001,"power":27332,"unknown_78":206,"unknown_81":22528,"ignition":43,"odometer":null,"unknown_45":2655716434390374400}} 
[2026-07-07 01:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":123938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:50:41] local.INFO: GPS data processed {"connection_id":123938,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:50:41] local.INFO: Acknowledgment sent {"connection_id":123938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:51:03] local.INFO: TCP Data received {"connection_id":124039,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:51:03] local.INFO: Processing buffer {"connection_id":124039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:51:03] local.INFO: IMEI packet received {"connection_id":124039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":124039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:51:03] local.INFO: TCP Data received {"connection_id":124040,"ip":"185.242.226.71","data_length":208,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-07 01:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124040,"packet_length":208,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-07 01:51:03] local.INFO: Processing buffer {"connection_id":124040,"buffer_length":208,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-07 01:51:03] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":124040,"buffer_length":208,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-07-07 01:51:06] local.INFO: TCP Data received {"connection_id":124039,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:51:06] local.INFO: Processing buffer {"connection_id":124039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:51:06] local.INFO: IMEI packet received {"connection_id":124039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":124039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:51:09] local.INFO: TCP Data received {"connection_id":124039,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:51:09] local.INFO: Processing buffer {"connection_id":124039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:51:09] local.INFO: IMEI packet received {"connection_id":124039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":124039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:51:10] local.INFO: TCP Data received {"connection_id":124039,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f39167568012d25708006c669e8000c00972c..."} 
[2026-07-07 01:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39167568012d25708006c669e8000c00972c..."} 
[2026-07-07 01:51:10] local.INFO: Processing buffer {"connection_id":124039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39167568012d25708006c669e8000c00972c..."} 
[2026-07-07 01:51:10] local.INFO: Packet analysis {"connection_id":124039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3916"} 
[2026-07-07 01:51:10] local.INFO: Extracted packet for processing {"connection_id":124039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3916"} 
[2026-07-07 01:51:10] local.INFO: GPS Element Parsed {"raw_longitude":757428352,"raw_latitude":113666536,"longitude_deg":75.7428352,"latitude_deg":11.3666536,"altitude":12,"angle":151,"satellites":44,"speed":54,"hex_longitude":"2d257080","hex_latitude":"06c669e8","is_valid_coordinates":true} 
[2026-07-07 01:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542513664001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340008513302429696,"note":"Value kept but may cause issues"} 
[2026-07-07 01:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2692448918826668032,"note":"Value kept but may cause issues"} 
[2026-07-07 01:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783369201000,"timestamp_ms":1783369201000,"timestamp_seconds":1783369201,"priority":1,"record_length":96,"hex_timestamp":"0000019f39167568"} 
[2026-07-07 01:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01: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-07-07 01:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 01:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542513664001,"66":27213,"85":206,"81":20992,"24":54,"16":340008513302429696,"45":2692448918826668032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-07-07 01:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542513664001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-07 01:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 01:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340008513302429696,"km_value":340008513302429.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2692448918826668032,"description":"Unknown IO ID 45"} 
[2026-07-07 01:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542513664001,"power":27213,"unknown_85":206,"unknown_81":20992,"ignition":54,"odometer":null,"unknown_45":2692448918826668032}} 
[2026-07-07 01:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":124039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:51:10] local.INFO: GPS data processed {"connection_id":124039,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:51:10] local.INFO: Acknowledgment sent {"connection_id":124039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:51:45] local.INFO: TCP Data received {"connection_id":124039,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f391690c0012d25820006c649e8000c00972c..."} 
[2026-07-07 01:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f391690c0012d25820006c649e8000c00972c..."} 
[2026-07-07 01:51:45] local.INFO: Processing buffer {"connection_id":124039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f391690c0012d25820006c649e8000c00972c..."} 
[2026-07-07 01:51:45] local.INFO: Packet analysis {"connection_id":124039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3916"} 
[2026-07-07 01:51:45] local.INFO: Extracted packet for processing {"connection_id":124039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3916"} 
[2026-07-07 01:51:45] local.INFO: GPS Element Parsed {"raw_longitude":757432832,"raw_latitude":113658344,"longitude_deg":75.7432832,"latitude_deg":11.3658344,"altitude":12,"angle":151,"satellites":44,"speed":51,"hex_longitude":"2d258200","hex_latitude":"06c649e8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 01:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542515456001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340008964273995776,"note":"Value kept but may cause issues"} 
[2026-07-07 01:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2697796943381915648,"note":"Value kept but may cause issues"} 
[2026-07-07 01:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783369208000,"timestamp_ms":1783369208000,"timestamp_seconds":1783369208,"priority":1,"record_length":96,"hex_timestamp":"0000019f391690c0"} 
[2026-07-07 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-07-07 01:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 01:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 01:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:51: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-07-07 01:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542515456001,"66":27332,"85":206,"81":20992,"24":51,"16":340008964273995776,"45":2697796943381915648},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-07-07 01:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542515456001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:51:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-07 01:51:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 01:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340008964273995776,"km_value":340008964273995.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2697796943381915648,"description":"Unknown IO ID 45"} 
[2026-07-07 01:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542515456001,"power":27332,"unknown_85":206,"unknown_81":20992,"ignition":51,"odometer":null,"unknown_45":2697796943381915648}} 
[2026-07-07 01:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":124039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:51:45] local.INFO: GPS data processed {"connection_id":124039,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:51:45] local.INFO: Acknowledgment sent {"connection_id":124039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:52:05] local.INFO: TCP Data received {"connection_id":124041,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:52:05] local.INFO: Processing buffer {"connection_id":124041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:52:05] local.INFO: IMEI packet received {"connection_id":124041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":124041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:52:06] local.INFO: TCP Data received {"connection_id":124041,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:52:06] local.INFO: Processing buffer {"connection_id":124041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:52:06] local.INFO: IMEI packet received {"connection_id":124041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":124041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:52:10] local.INFO: TCP Data received {"connection_id":124041,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:52:10] local.INFO: Processing buffer {"connection_id":124041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:52:10] local.INFO: IMEI packet received {"connection_id":124041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":124041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:52:11] local.INFO: TCP Data received {"connection_id":124041,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3916b000012d25950006c627f0000d00952d..."} 
[2026-07-07 01:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3916b000012d25950006c627f0000d00952d..."} 
[2026-07-07 01:52:11] local.INFO: Processing buffer {"connection_id":124041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3916b000012d25950006c627f0000d00952d..."} 
[2026-07-07 01:52:11] local.INFO: Packet analysis {"connection_id":124041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3916"} 
[2026-07-07 01:52:11] local.INFO: Extracted packet for processing {"connection_id":124041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3916"} 
[2026-07-07 01:52:11] local.INFO: GPS Element Parsed {"raw_longitude":757437696,"raw_latitude":113649648,"longitude_deg":75.7437696,"latitude_deg":11.3649648,"altitude":13,"angle":149,"satellites":45,"speed":48,"hex_longitude":"2d259500","hex_latitude":"06c627f0","is_valid_coordinates":true} 
[2026-07-07 01:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542517248001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340009441015365632,"note":"Value kept but may cause issues"} 
[2026-07-07 01:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2702722755472254976,"note":"Value kept but may cause issues"} 
[2026-07-07 01:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783369216000,"timestamp_ms":1783369216000,"timestamp_seconds":1783369216,"priority":1,"record_length":96,"hex_timestamp":"0000019f3916b000"} 
[2026-07-07 01:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:52: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-07-07 01:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 01:52: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-07-07 01:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542517248001,"66":27332,"85":206,"81":20992,"24":48,"16":340009441015365632,"45":2702722755472254976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-07-07 01:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542517248001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-07 01:52:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 01:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340009441015365632,"km_value":340009441015365.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2702722755472254976,"description":"Unknown IO ID 45"} 
[2026-07-07 01:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542517248001,"power":27332,"unknown_85":206,"unknown_81":20992,"ignition":48,"odometer":null,"unknown_45":2702722755472254976}} 
[2026-07-07 01:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":124041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:52:11] local.INFO: GPS data processed {"connection_id":124041,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:52:11] local.INFO: Acknowledgment sent {"connection_id":124041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:52:42] local.INFO: TCP Data received {"connection_id":124041,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f39181b48012d26a74006c4d2d8000a008b2c..."} 
[2026-07-07 01:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39181b48012d26a74006c4d2d8000a008b2c..."} 
[2026-07-07 01:52:42] local.INFO: Processing buffer {"connection_id":124041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39181b48012d26a74006c4d2d8000a008b2c..."} 
[2026-07-07 01:52:42] local.INFO: Packet analysis {"connection_id":124041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3918"} 
[2026-07-07 01:52:42] local.INFO: Extracted packet for processing {"connection_id":124041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3918"} 
[2026-07-07 01:52:42] local.INFO: GPS Element Parsed {"raw_longitude":757507904,"raw_latitude":113562328,"longitude_deg":75.7507904,"latitude_deg":11.3562328,"altitude":10,"angle":139,"satellites":44,"speed":54,"hex_longitude":"2d26a740","hex_latitude":"06c4d2d8","is_valid_coordinates":true} 
[2026-07-07 01:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542541312001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340014848379191296,"note":"Value kept but may cause issues"} 
[2026-07-07 01:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2778439524184645632,"note":"Value kept but may cause issues"} 
[2026-07-07 01:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783369309000,"timestamp_ms":1783369309000,"timestamp_seconds":1783369309,"priority":1,"record_length":96,"hex_timestamp":"0000019f39181b48"} 
[2026-07-07 01:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:52: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-07-07 01:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 01:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542541312001,"66":27397,"231":206,"81":20992,"24":54,"16":340014848379191296,"45":2778439524184645632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-07-07 01:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542541312001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:52:42] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-07 01:52:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 01:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340014848379191296,"km_value":340014848379191.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2778439524184645632,"description":"Unknown IO ID 45"} 
[2026-07-07 01:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542541312001,"power":27397,"unknown_231":206,"unknown_81":20992,"ignition":54,"odometer":null,"unknown_45":2778439524184645632}} 
[2026-07-07 01:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":124041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:52:42] local.INFO: GPS data processed {"connection_id":124041,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:52:42] local.INFO: Acknowledgment sent {"connection_id":124041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:53:15] local.INFO: TCP Data received {"connection_id":123939,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:53:15] local.INFO: Processing buffer {"connection_id":123939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:53:15] local.INFO: IMEI packet received {"connection_id":123939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":123939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:53:16] local.INFO: TCP Data received {"connection_id":123939,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:53:16] local.INFO: Processing buffer {"connection_id":123939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:53:16] local.INFO: IMEI packet received {"connection_id":123939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":123939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:53:20] local.INFO: TCP Data received {"connection_id":123939,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:53:20] local.INFO: Processing buffer {"connection_id":123939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:53:20] local.INFO: IMEI packet received {"connection_id":123939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":123939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:53:21] local.INFO: TCP Data received {"connection_id":123939,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f391836a0012d26bfc006c4b5d0000a008e2d..."} 
[2026-07-07 01:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f391836a0012d26bfc006c4b5d0000a008e2d..."} 
[2026-07-07 01:53:21] local.INFO: Processing buffer {"connection_id":123939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f391836a0012d26bfc006c4b5d0000a008e2d..."} 
[2026-07-07 01:53:21] local.INFO: Packet analysis {"connection_id":123939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3918"} 
[2026-07-07 01:53:21] local.INFO: Extracted packet for processing {"connection_id":123939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3918"} 
[2026-07-07 01:53:21] local.INFO: GPS Element Parsed {"raw_longitude":757514176,"raw_latitude":113554896,"longitude_deg":75.7514176,"latitude_deg":11.3554896,"altitude":10,"angle":142,"satellites":45,"speed":55,"hex_longitude":"2d26bfc0","hex_latitude":"06c4b5d0","is_valid_coordinates":true} 
[2026-07-07 01:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542543104001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340015316530626560,"note":"Value kept but may cause issues"} 
[2026-07-07 01:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2785265292368074752,"note":"Value kept but may cause issues"} 
[2026-07-07 01:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783369316000,"timestamp_ms":1783369316000,"timestamp_seconds":1783369316,"priority":1,"record_length":96,"hex_timestamp":"0000019f391836a0"} 
[2026-07-07 01:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 01:53: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-07-07 01:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542543104001,"66":27463,"231":206,"81":20992,"24":55,"16":340015316530626560,"45":2785265292368074752},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-07-07 01:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542543104001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:53:21] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-07 01:53:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 01:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340015316530626560,"km_value":340015316530626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2785265292368074752,"description":"Unknown IO ID 45"} 
[2026-07-07 01:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542543104001,"power":27463,"unknown_231":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":2785265292368074752}} 
[2026-07-07 01:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":123939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:53:21] local.INFO: GPS data processed {"connection_id":123939,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:53:21] local.INFO: Acknowledgment sent {"connection_id":123939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:53:31] local.INFO: TCP Data received {"connection_id":125948,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:53:31] local.INFO: Processing buffer {"connection_id":125948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:53:31] local.INFO: IMEI packet received {"connection_id":125948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 01:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":125948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:53:59] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:53:59] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:53:59] local.INFO: IMEI packet received {"connection_id":125949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":125949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:54:00] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:54:00] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:54:00] local.INFO: IMEI packet received {"connection_id":125949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":125949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:54:00] local.INFO: TCP Data received {"connection_id":124702,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:54:00] local.INFO: Processing buffer {"connection_id":124702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:54:00] local.INFO: IMEI packet received {"connection_id":124702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 01:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":124702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:54:05] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:54:05] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:54:05] local.INFO: IMEI packet received {"connection_id":125949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":125949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:54:06] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f391851f8012d26d5c006c495c0000a00952c..."} 
[2026-07-07 01:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f391851f8012d26d5c006c495c0000a00952c..."} 
[2026-07-07 01:54:06] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f391851f8012d26d5c006c495c0000a00952c..."} 
[2026-07-07 01:54:06] local.INFO: Packet analysis {"connection_id":125949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3918"} 
[2026-07-07 01:54:06] local.INFO: Extracted packet for processing {"connection_id":125949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3918"} 
[2026-07-07 01:54:06] local.INFO: GPS Element Parsed {"raw_longitude":757519808,"raw_latitude":113546688,"longitude_deg":75.7519808,"latitude_deg":11.3546688,"altitude":10,"angle":149,"satellites":44,"speed":56,"hex_longitude":"2d26d5c0","hex_latitude":"06c495c0","is_valid_coordinates":true} 
[2026-07-07 01:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542544896001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340015797566963712,"note":"Value kept but may cause issues"} 
[2026-07-07 01:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2792161429295583232,"note":"Value kept but may cause issues"} 
[2026-07-07 01:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783369323000,"timestamp_ms":1783369323000,"timestamp_seconds":1783369323,"priority":1,"record_length":96,"hex_timestamp":"0000019f391851f8"} 
[2026-07-07 01:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:54: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-07-07 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 01:54: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-07-07 01:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542544896001,"66":27463,"231":206,"81":20992,"24":56,"16":340015797566963712,"45":2792161429295583232},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-07-07 01:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542544896001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:54:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-07 01:54:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 01:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340015797566963712,"km_value":340015797566963.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2792161429295583232,"description":"Unknown IO ID 45"} 
[2026-07-07 01:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542544896001,"power":27463,"unknown_231":206,"unknown_81":20992,"ignition":56,"odometer":null,"unknown_45":2792161429295583232}} 
[2026-07-07 01:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":125949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:54:06] local.INFO: GPS data processed {"connection_id":125949,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:54:06] local.INFO: Acknowledgment sent {"connection_id":125949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:54:37] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3919d0c8012d27b98006c2b070000f009a2d..."} 
[2026-07-07 01:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3919d0c8012d27b98006c2b070000f009a2d..."} 
[2026-07-07 01:54:37] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3919d0c8012d27b98006c2b070000f009a2d..."} 
[2026-07-07 01:54:37] local.INFO: Packet analysis {"connection_id":125949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3919"} 
[2026-07-07 01:54:37] local.INFO: Extracted packet for processing {"connection_id":125949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3919"} 
[2026-07-07 01:54:37] local.INFO: GPS Element Parsed {"raw_longitude":757578112,"raw_latitude":113422448,"longitude_deg":75.7578112,"latitude_deg":11.3422448,"altitude":15,"angle":154,"satellites":45,"speed":54,"hex_longitude":"2d27b980","hex_latitude":"06c2b070","is_valid_coordinates":true} 
[2026-07-07 01:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542569984001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340022428996468736,"note":"Value kept but may cause issues"} 
[2026-07-07 01:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2857885836325902336,"note":"Value kept but may cause issues"} 
[2026-07-07 01:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783369421000,"timestamp_ms":1783369421000,"timestamp_seconds":1783369421,"priority":1,"record_length":96,"hex_timestamp":"0000019f3919d0c8"} 
[2026-07-07 01:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:54: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-07-07 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 01:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542569984001,"66":27376,"181":206,"81":20992,"24":54,"16":340022428996468736,"45":2857885836325902336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-07-07 01:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542569984001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:54:37] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-07-07 01:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 01:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340022428996468736,"km_value":340022428996468.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2857885836325902336,"description":"Unknown IO ID 45"} 
[2026-07-07 01:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542569984001,"power":27376,"unknown_181":206,"unknown_81":20992,"ignition":54,"odometer":null,"unknown_45":2857885836325902336}} 
[2026-07-07 01:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":125949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:54:37] local.INFO: GPS data processed {"connection_id":125949,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:54:37] local.INFO: Acknowledgment sent {"connection_id":125949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:55:07] local.INFO: TCP Data received {"connection_id":124042,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:55:07] local.INFO: Processing buffer {"connection_id":124042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:55:07] local.INFO: IMEI packet received {"connection_id":124042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":124042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:55:07] local.INFO: TCP Data received {"connection_id":124042,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:55:07] local.INFO: Processing buffer {"connection_id":124042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:55:07] local.INFO: IMEI packet received {"connection_id":124042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":124042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:55:10] local.INFO: TCP Data received {"connection_id":124042,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:55:10] local.INFO: Processing buffer {"connection_id":124042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:55:10] local.INFO: IMEI packet received {"connection_id":124042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":124042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:55:11] local.INFO: TCP Data received {"connection_id":124042,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3919f008012d27c78006c28e68000e00a12c..."} 
[2026-07-07 01:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3919f008012d27c78006c28e68000e00a12c..."} 
[2026-07-07 01:55:11] local.INFO: Processing buffer {"connection_id":124042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3919f008012d27c78006c28e68000e00a12c..."} 
[2026-07-07 01:55:11] local.INFO: Packet analysis {"connection_id":124042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3919"} 
[2026-07-07 01:55:11] local.INFO: Extracted packet for processing {"connection_id":124042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3919"} 
[2026-07-07 01:55:11] local.INFO: GPS Element Parsed {"raw_longitude":757581696,"raw_latitude":113413736,"longitude_deg":75.7581696,"latitude_deg":11.3413736,"altitude":14,"angle":161,"satellites":44,"speed":42,"hex_longitude":"2d27c780","hex_latitude":"06c28e68","is_valid_coordinates":true} 
[2026-07-07 01:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542571776001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340022884263002112,"note":"Value kept but may cause issues"} 
[2026-07-07 01:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2862459804695162880,"note":"Value kept but may cause issues"} 
[2026-07-07 01:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783369429000,"timestamp_ms":1783369429000,"timestamp_seconds":1783369429,"priority":1,"record_length":96,"hex_timestamp":"0000019f3919f008"} 
[2026-07-07 01:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:55: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-07-07 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 01:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542571776001,"66":27397,"181":206,"81":20992,"24":42,"16":340022884263002112,"45":2862459804695162880},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-07-07 01:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542571776001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:55:11] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-07-07 01:55:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 01:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340022884263002112,"km_value":340022884263002.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2862459804695162880,"description":"Unknown IO ID 45"} 
[2026-07-07 01:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542571776001,"power":27397,"unknown_181":206,"unknown_81":20992,"ignition":42,"odometer":null,"unknown_45":2862459804695162880}} 
[2026-07-07 01:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":124042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:55:11] local.INFO: GPS data processed {"connection_id":124042,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:55:11] local.INFO: Acknowledgment sent {"connection_id":124042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:55:11] local.INFO: TCP Data received {"connection_id":124042,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f391a1330012d27d68006c26ca0000d009b2c..."} 
[2026-07-07 01:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f391a1330012d27d68006c26ca0000d009b2c..."} 
[2026-07-07 01:55:11] local.INFO: Processing buffer {"connection_id":124042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f391a1330012d27d68006c26ca0000d009b2c..."} 
[2026-07-07 01:55:11] local.INFO: Packet analysis {"connection_id":124042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f391a"} 
[2026-07-07 01:55:11] local.INFO: Extracted packet for processing {"connection_id":124042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f391a"} 
[2026-07-07 01:55:11] local.INFO: GPS Element Parsed {"raw_longitude":757585536,"raw_latitude":113405088,"longitude_deg":75.7585536,"latitude_deg":11.3405088,"altitude":13,"angle":155,"satellites":44,"speed":42,"hex_longitude":"2d27d680","hex_latitude":"06c26ca0","is_valid_coordinates":true} 
[2026-07-07 01:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542573824001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340023339529535488,"note":"Value kept but may cause issues"} 
[2026-07-07 01:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2866400454366881792,"note":"Value kept but may cause issues"} 
[2026-07-07 01:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783369438000,"timestamp_ms":1783369438000,"timestamp_seconds":1783369438,"priority":1,"record_length":96,"hex_timestamp":"0000019f391a1330"} 
[2026-07-07 01:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:55: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-07-07 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 01:55: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-07-07 01:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542573824001,"66":27343,"181":206,"81":20992,"24":42,"16":340023339529535488,"45":2866400454366881792},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-07-07 01:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542573824001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:55:11] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-07-07 01:55:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 01:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340023339529535488,"km_value":340023339529535.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2866400454366881792,"description":"Unknown IO ID 45"} 
[2026-07-07 01:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542573824001,"power":27343,"unknown_181":206,"unknown_81":20992,"ignition":42,"odometer":null,"unknown_45":2866400454366881792}} 
[2026-07-07 01:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":124042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:55:11] local.INFO: GPS data processed {"connection_id":124042,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:55:11] local.INFO: Acknowledgment sent {"connection_id":124042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:55:16] local.INFO: TCP Data received {"connection_id":124042,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f391a3270012d27e54006c24ce8000d009b2d..."} 
[2026-07-07 01:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f391a3270012d27e54006c24ce8000d009b2d..."} 
[2026-07-07 01:55:16] local.INFO: Processing buffer {"connection_id":124042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f391a3270012d27e54006c24ce8000d009b2d..."} 
[2026-07-07 01:55:16] local.INFO: Packet analysis {"connection_id":124042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f391a"} 
[2026-07-07 01:55:16] local.INFO: Extracted packet for processing {"connection_id":124042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f391a"} 
[2026-07-07 01:55:16] local.INFO: GPS Element Parsed {"raw_longitude":757589312,"raw_latitude":113396968,"longitude_deg":75.7589312,"latitude_deg":11.3396968,"altitude":13,"angle":155,"satellites":45,"speed":46,"hex_longitude":"2d27e540","hex_latitude":"06c24ce8","is_valid_coordinates":true} 
[2026-07-07 01:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542576128001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340023773321232384,"note":"Value kept but may cause issues"} 
[2026-07-07 01:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2870622579015327744,"note":"Value kept but may cause issues"} 
[2026-07-07 01:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783369446000,"timestamp_ms":1783369446000,"timestamp_seconds":1783369446,"priority":1,"record_length":96,"hex_timestamp":"0000019f391a3270"} 
[2026-07-07 01:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 01:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542576128001,"66":27484,"181":206,"81":20992,"24":46,"16":340023773321232384,"45":2870622579015327744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-07-07 01:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542576128001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:55:16] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-07-07 01:55:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 01:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340023773321232384,"km_value":340023773321232.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2870622579015327744,"description":"Unknown IO ID 45"} 
[2026-07-07 01:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542576128001,"power":27484,"unknown_181":206,"unknown_81":20992,"ignition":46,"odometer":null,"unknown_45":2870622579015327744}} 
[2026-07-07 01:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":124042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:55:16] local.INFO: GPS data processed {"connection_id":124042,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:55:16] local.INFO: Acknowledgment sent {"connection_id":124042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:56:00] local.INFO: TCP Data received {"connection_id":123940,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:56:00] local.INFO: Processing buffer {"connection_id":123940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:56:00] local.INFO: IMEI packet received {"connection_id":123940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":123940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:56:03] local.INFO: TCP Data received {"connection_id":123940,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:56:03] local.INFO: Processing buffer {"connection_id":123940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:56:03] local.INFO: IMEI packet received {"connection_id":123940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":123940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:56:04] local.INFO: TCP Data received {"connection_id":123940,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f391a51b0012d27f60006c22b68000c00972e..."} 
[2026-07-07 01:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f391a51b0012d27f60006c22b68000c00972e..."} 
[2026-07-07 01:56:04] local.INFO: Processing buffer {"connection_id":123940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f391a51b0012d27f60006c22b68000c00972e..."} 
[2026-07-07 01:56:04] local.INFO: Packet analysis {"connection_id":123940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f391a"} 
[2026-07-07 01:56:04] local.INFO: Extracted packet for processing {"connection_id":123940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f391a"} 
[2026-07-07 01:56:04] local.INFO: GPS Element Parsed {"raw_longitude":757593600,"raw_latitude":113388392,"longitude_deg":75.75936,"latitude_deg":11.3388392,"altitude":12,"angle":151,"satellites":46,"speed":47,"hex_longitude":"2d27f600","hex_latitude":"06c22b68","is_valid_coordinates":true} 
[2026-07-07 01:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542578176001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340024237177700352,"note":"Value kept but may cause issues"} 
[2026-07-07 01:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2874774334919731200,"note":"Value kept but may cause issues"} 
[2026-07-07 01:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783369454000,"timestamp_ms":1783369454000,"timestamp_seconds":1783369454,"priority":1,"record_length":96,"hex_timestamp":"0000019f391a51b0"} 
[2026-07-07 01:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 01:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":123940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":123940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":123940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542578176001,"66":27267,"181":206,"81":20992,"24":47,"16":340024237177700352,"45":2874774334919731200},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-07-07 01:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542578176001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:56:04] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-07-07 01:56:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 01:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340024237177700352,"km_value":340024237177700.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2874774334919731200,"description":"Unknown IO ID 45"} 
[2026-07-07 01:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542578176001,"power":27267,"unknown_181":206,"unknown_81":20992,"ignition":47,"odometer":null,"unknown_45":2874774334919731200}} 
[2026-07-07 01:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":123940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:56:04] local.INFO: GPS data processed {"connection_id":123940,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:56:04] local.INFO: Acknowledgment sent {"connection_id":123940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:56:35] local.INFO: TCP Data received {"connection_id":123940,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f391b99d0012d29038006c10d80000f00872e..."} 
[2026-07-07 01:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f391b99d0012d29038006c10d80000f00872e..."} 
[2026-07-07 01:56:35] local.INFO: Processing buffer {"connection_id":123940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f391b99d0012d29038006c10d80000f00872e..."} 
[2026-07-07 01:56:35] local.INFO: Packet analysis {"connection_id":123940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f391b"} 
[2026-07-07 01:56:35] local.INFO: Extracted packet for processing {"connection_id":123940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f391b"} 
[2026-07-07 01:56:35] local.INFO: GPS Element Parsed {"raw_longitude":757662592,"raw_latitude":113315200,"longitude_deg":75.7662592,"latitude_deg":11.33152,"altitude":15,"angle":135,"satellites":46,"speed":53,"hex_longitude":"2d290380","hex_latitude":"06c10d80","is_valid_coordinates":true} 
[2026-07-07 01: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-07-07 01:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542599936001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340029073310875648,"note":"Value kept but may cause issues"} 
[2026-07-07 01:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2947887460101167104,"note":"Value kept but may cause issues"} 
[2026-07-07 01:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783369538000,"timestamp_ms":1783369538000,"timestamp_seconds":1783369538,"priority":1,"record_length":96,"hex_timestamp":"0000019f391b99d0"} 
[2026-07-07 01:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 01:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01: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-07-07 01:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":123940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":123940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":123940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542599936001,"66":27365,"33":206,"81":20992,"24":53,"16":340029073310875648,"45":2947887460101167104},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,81,24,16,45]} 
[2026-07-07 01:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542599936001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:56:35] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-07 01:56:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 01:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340029073310875648,"km_value":340029073310875.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2947887460101167104,"description":"Unknown IO ID 45"} 
[2026-07-07 01:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542599936001,"power":27365,"unknown_33":206,"unknown_81":20992,"ignition":53,"odometer":null,"unknown_45":2947887460101167104}} 
[2026-07-07 01:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":123940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:56:35] local.INFO: GPS data processed {"connection_id":123940,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:56:35] local.INFO: Acknowledgment sent {"connection_id":123940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:56:59] local.INFO: TCP Data received {"connection_id":124703,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:56:59] local.INFO: Processing buffer {"connection_id":124703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:56:59] local.INFO: IMEI packet received {"connection_id":124703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":124703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:57:00] local.INFO: TCP Data received {"connection_id":124703,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:57:00] local.INFO: Processing buffer {"connection_id":124703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:57:00] local.INFO: IMEI packet received {"connection_id":124703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":124703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:57:05] local.INFO: TCP Data received {"connection_id":124703,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:57:05] local.INFO: Processing buffer {"connection_id":124703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:57:05] local.INFO: IMEI packet received {"connection_id":124703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":124703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:57:06] local.INFO: TCP Data received {"connection_id":124703,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f391bb528012d291d0006c0f358000e00882f..."} 
[2026-07-07 01:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f391bb528012d291d0006c0f358000e00882f..."} 
[2026-07-07 01:57:06] local.INFO: Processing buffer {"connection_id":124703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f391bb528012d291d0006c0f358000e00882f..."} 
[2026-07-07 01:57:06] local.INFO: Packet analysis {"connection_id":124703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f391b"} 
[2026-07-07 01:57:06] local.INFO: Extracted packet for processing {"connection_id":124703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f391b"} 
[2026-07-07 01:57:06] local.INFO: GPS Element Parsed {"raw_longitude":757669120,"raw_latitude":113308504,"longitude_deg":75.766912,"latitude_deg":11.3308504,"altitude":14,"angle":136,"satellites":47,"speed":52,"hex_longitude":"2d291d00","hex_latitude":"06c0f358","is_valid_coordinates":true} 
[2026-07-07 01:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542601728001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340029524282441728,"note":"Value kept but may cause issues"} 
[2026-07-07 01:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2955346546982223872,"note":"Value kept but may cause issues"} 
[2026-07-07 01:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783369545000,"timestamp_ms":1783369545000,"timestamp_seconds":1783369545,"priority":1,"record_length":96,"hex_timestamp":"0000019f391bb528"} 
[2026-07-07 01:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 01:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542601728001,"66":27397,"33":206,"81":20992,"24":52,"16":340029524282441728,"45":2955346546982223872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,81,24,16,45]} 
[2026-07-07 01:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542601728001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:57:06] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-07 01:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 01:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340029524282441728,"km_value":340029524282441.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2955346546982223872,"description":"Unknown IO ID 45"} 
[2026-07-07 01:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542601728001,"power":27397,"unknown_33":206,"unknown_81":20992,"ignition":52,"odometer":null,"unknown_45":2955346546982223872}} 
[2026-07-07 01:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":124703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:57:07] local.INFO: GPS data processed {"connection_id":124703,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:57:07] local.INFO: Acknowledgment sent {"connection_id":124703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:57:38] local.INFO: TCP Data received {"connection_id":124703,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f391bd080012d2935c006c0d9a0000c00882f..."} 
[2026-07-07 01:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f391bd080012d2935c006c0d9a0000c00882f..."} 
[2026-07-07 01:57:38] local.INFO: Processing buffer {"connection_id":124703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f391bd080012d2935c006c0d9a0000c00882f..."} 
[2026-07-07 01:57:38] local.INFO: Packet analysis {"connection_id":124703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f391b"} 
[2026-07-07 01:57:38] local.INFO: Extracted packet for processing {"connection_id":124703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f391b"} 
[2026-07-07 01:57:38] local.INFO: GPS Element Parsed {"raw_longitude":757675456,"raw_latitude":113301920,"longitude_deg":75.7675456,"latitude_deg":11.330192,"altitude":12,"angle":136,"satellites":47,"speed":52,"hex_longitude":"2d2935c0","hex_latitude":"06c0d9a0","is_valid_coordinates":true} 
[2026-07-07 01:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542603520001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340029962369105920,"note":"Value kept but may cause issues"} 
[2026-07-07 01:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2962524158886631424,"note":"Value kept but may cause issues"} 
[2026-07-07 01:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783369552000,"timestamp_ms":1783369552000,"timestamp_seconds":1783369552,"priority":1,"record_length":96,"hex_timestamp":"0000019f391bd080"} 
[2026-07-07 01:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:57: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-07-07 01:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 01:57: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-07-07 01:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542603520001,"66":27343,"33":206,"81":20992,"24":52,"16":340029962369105920,"45":2962524158886631424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,81,24,16,45]} 
[2026-07-07 01:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542603520001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:57:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-07 01:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 01:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340029962369105920,"km_value":340029962369105.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2962524158886631424,"description":"Unknown IO ID 45"} 
[2026-07-07 01:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542603520001,"power":27343,"unknown_33":206,"unknown_81":20992,"ignition":52,"odometer":null,"unknown_45":2962524158886631424}} 
[2026-07-07 01:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":124703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:57:38] local.INFO: GPS data processed {"connection_id":124703,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:57:38] local.INFO: Acknowledgment sent {"connection_id":124703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:58:01] local.INFO: TCP Data received {"connection_id":124043,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:58:01] local.INFO: Processing buffer {"connection_id":124043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:58:01] local.INFO: IMEI packet received {"connection_id":124043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":124043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:58:10] local.INFO: TCP Data received {"connection_id":124043,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:58:10] local.INFO: Processing buffer {"connection_id":124043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:58:10] local.INFO: IMEI packet received {"connection_id":124043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":124043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:58:11] local.INFO: TCP Data received {"connection_id":124043,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f391d0130012d2a3a8006bfa270000f008e2f..."} 
[2026-07-07 01:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f391d0130012d2a3a8006bfa270000f008e2f..."} 
[2026-07-07 01:58:11] local.INFO: Processing buffer {"connection_id":124043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f391d0130012d2a3a8006bfa270000f008e2f..."} 
[2026-07-07 01:58:11] local.INFO: Packet analysis {"connection_id":124043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f391d"} 
[2026-07-07 01:58:11] local.INFO: Extracted packet for processing {"connection_id":124043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f391d"} 
[2026-07-07 01:58:11] local.INFO: GPS Element Parsed {"raw_longitude":757742208,"raw_latitude":113222256,"longitude_deg":75.7742208,"latitude_deg":11.3222256,"altitude":15,"angle":142,"satellites":47,"speed":53,"hex_longitude":"2d2a3a80","hex_latitude":"06bfa270","is_valid_coordinates":true} 
[2026-07-07 01:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542623488001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340034987480842240,"note":"Value kept but may cause issues"} 
[2026-07-07 01:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3036692815229677568,"note":"Value kept but may cause issues"} 
[2026-07-07 01:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783369630000,"timestamp_ms":1783369630000,"timestamp_seconds":1783369630,"priority":1,"record_length":96,"hex_timestamp":"0000019f391d0130"} 
[2026-07-07 01:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 01:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542623488001,"66":27376,"73":206,"81":20992,"24":53,"16":340034987480842240,"45":3036692815229677568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-07-07 01:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542623488001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:58:11] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-07 01:58:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 01:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340034987480842240,"km_value":340034987480842.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3036692815229677568,"description":"Unknown IO ID 45"} 
[2026-07-07 01:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542623488001,"power":27376,"unknown_73":206,"unknown_81":20992,"ignition":53,"odometer":null,"unknown_45":3036692815229677568}} 
[2026-07-07 01:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":124043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:58:11] local.INFO: GPS data processed {"connection_id":124043,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:58:11] local.INFO: Acknowledgment sent {"connection_id":124043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:58:13] local.INFO: TCP Data received {"connection_id":124043,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f391d1c88012d2a518006bf84a8000e008e2f..."} 
[2026-07-07 01:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f391d1c88012d2a518006bf84a8000e008e2f..."} 
[2026-07-07 01:58:13] local.INFO: Processing buffer {"connection_id":124043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f391d1c88012d2a518006bf84a8000e008e2f..."} 
[2026-07-07 01:58:13] local.INFO: Packet analysis {"connection_id":124043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f391d"} 
[2026-07-07 01:58:13] local.INFO: Extracted packet for processing {"connection_id":124043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f391d"} 
[2026-07-07 01:58:13] local.INFO: GPS Element Parsed {"raw_longitude":757748096,"raw_latitude":113214632,"longitude_deg":75.7748096,"latitude_deg":11.3214632,"altitude":14,"angle":142,"satellites":47,"speed":55,"hex_longitude":"2d2a5180","hex_latitude":"06bf84a8","is_valid_coordinates":true} 
[2026-07-07 01:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542625280001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340035451337310208,"note":"Value kept but may cause issues"} 
[2026-07-07 01:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3042885264715444224,"note":"Value kept but may cause issues"} 
[2026-07-07 01:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783369637000,"timestamp_ms":1783369637000,"timestamp_seconds":1783369637,"priority":1,"record_length":96,"hex_timestamp":"0000019f391d1c88"} 
[2026-07-07 01:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:58: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-07-07 01:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 01:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542625280001,"66":27343,"73":206,"81":20992,"24":55,"16":340035451337310208,"45":3042885264715444224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-07-07 01:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542625280001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:58:13] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-07 01:58:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 01:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340035451337310208,"km_value":340035451337310.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3042885264715444224,"description":"Unknown IO ID 45"} 
[2026-07-07 01:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542625280001,"power":27343,"unknown_73":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":3042885264715444224}} 
[2026-07-07 01:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":124043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:58:13] local.INFO: GPS data processed {"connection_id":124043,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:58:13] local.INFO: Acknowledgment sent {"connection_id":124043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:58:44] local.INFO: TCP Data received {"connection_id":124043,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f391d37e0012d2a698006bf65c0000e008e2e..."} 
[2026-07-07 01:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f391d37e0012d2a698006bf65c0000e008e2e..."} 
[2026-07-07 01:58:44] local.INFO: Processing buffer {"connection_id":124043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f391d37e0012d2a698006bf65c0000e008e2e..."} 
[2026-07-07 01:58:44] local.INFO: Packet analysis {"connection_id":124043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f391d"} 
[2026-07-07 01:58:44] local.INFO: Extracted packet for processing {"connection_id":124043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f391d"} 
[2026-07-07 01:58:44] local.INFO: GPS Element Parsed {"raw_longitude":757754240,"raw_latitude":113206720,"longitude_deg":75.775424,"latitude_deg":11.320672,"altitude":14,"angle":142,"satellites":46,"speed":58,"hex_longitude":"2d2a6980","hex_latitude":"06bf65c0","is_valid_coordinates":true} 
[2026-07-07 01:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542627072001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340035932373647360,"note":"Value kept but may cause issues"} 
[2026-07-07 01:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3049359189177837568,"note":"Value kept but may cause issues"} 
[2026-07-07 01:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783369644000,"timestamp_ms":1783369644000,"timestamp_seconds":1783369644,"priority":1,"record_length":96,"hex_timestamp":"0000019f391d37e0"} 
[2026-07-07 01:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 01:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542627072001,"66":27397,"73":206,"81":20992,"24":58,"16":340035932373647360,"45":3049359189177837568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-07-07 01:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542627072001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:58:44] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-07 01:58:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 01:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340035932373647360,"km_value":340035932373647.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3049359189177837568,"description":"Unknown IO ID 45"} 
[2026-07-07 01:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542627072001,"power":27397,"unknown_73":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":3049359189177837568}} 
[2026-07-07 01:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":124043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:58:44] local.INFO: GPS data processed {"connection_id":124043,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:58:44] local.INFO: Acknowledgment sent {"connection_id":124043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:59:00] local.INFO: TCP Data received {"connection_id":123942,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:59:00] local.INFO: Processing buffer {"connection_id":123942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:59:00] local.INFO: IMEI packet received {"connection_id":123942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 01:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":123942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 01:59:01] local.INFO: TCP Data received {"connection_id":123942,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:59:01] local.INFO: Processing buffer {"connection_id":123942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:59:01] local.INFO: IMEI packet received {"connection_id":123942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":123942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:59:05] local.INFO: TCP Data received {"connection_id":123942,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:59:05] local.INFO: Processing buffer {"connection_id":123942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 01:59:05] local.INFO: IMEI packet received {"connection_id":123942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 01:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":123942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 01:59:07] local.INFO: TCP Data received {"connection_id":123942,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f391d4f50012d2a7ec006bf49f8000d008f2d..."} 
[2026-07-07 01:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f391d4f50012d2a7ec006bf49f8000d008f2d..."} 
[2026-07-07 01:59:07] local.INFO: Processing buffer {"connection_id":123942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f391d4f50012d2a7ec006bf49f8000d008f2d..."} 
[2026-07-07 01:59:07] local.INFO: Packet analysis {"connection_id":123942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f391d"} 
[2026-07-07 01:59:07] local.INFO: Extracted packet for processing {"connection_id":123942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f391d"} 
[2026-07-07 01:59:07] local.INFO: GPS Element Parsed {"raw_longitude":757759680,"raw_latitude":113199608,"longitude_deg":75.775968,"latitude_deg":11.3199608,"altitude":13,"angle":143,"satellites":45,"speed":59,"hex_longitude":"2d2a7ec0","hex_latitude":"06bf49f8","is_valid_coordinates":true} 
[2026-07-07 01:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542628864001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340036361870376960,"note":"Value kept but may cause issues"} 
[2026-07-07 01:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3056114588616867840,"note":"Value kept but may cause issues"} 
[2026-07-07 01:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783369650000,"timestamp_ms":1783369650000,"timestamp_seconds":1783369650,"priority":1,"record_length":96,"hex_timestamp":"0000019f391d4f50"} 
[2026-07-07 01:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 01:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 01: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-07-07 01:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":123942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":123942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":123942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542628864001,"66":27343,"73":206,"81":20992,"24":59,"16":340036361870376960,"45":3056114588616867840},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-07-07 01:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542628864001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:59:07] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-07 01:59:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 01:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340036361870376960,"km_value":340036361870376.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3056114588616867840,"description":"Unknown IO ID 45"} 
[2026-07-07 01:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542628864001,"power":27343,"unknown_73":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":3056114588616867840}} 
[2026-07-07 01:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":123942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:59:07] local.INFO: GPS data processed {"connection_id":123942,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:59:07] local.INFO: Acknowledgment sent {"connection_id":123942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:59:39] local.INFO: TCP Data received {"connection_id":123942,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f391e6890012d2b840006be06580009008c2c..."} 
[2026-07-07 01:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f391e6890012d2b840006be06580009008c2c..."} 
[2026-07-07 01:59:39] local.INFO: Processing buffer {"connection_id":123942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f391e6890012d2b840006be06580009008c2c..."} 
[2026-07-07 01:59:39] local.INFO: Packet analysis {"connection_id":123942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f391e"} 
[2026-07-07 01:59:39] local.INFO: Extracted packet for processing {"connection_id":123942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f391e"} 
[2026-07-07 01:59:39] local.INFO: GPS Element Parsed {"raw_longitude":757826560,"raw_latitude":113116760,"longitude_deg":75.782656,"latitude_deg":11.311676,"altitude":9,"angle":140,"satellites":44,"speed":59,"hex_longitude":"2d2b8400","hex_latitude":"06be0658","is_valid_coordinates":true} 
[2026-07-07 01:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 01:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542647296001,"note":"Value kept but may cause issues"} 
[2026-07-07 01:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340041485766361088,"note":"Value kept but may cause issues"} 
[2026-07-07 01:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3129227713796222976,"note":"Value kept but may cause issues"} 
[2026-07-07 01:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 01:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783369722000,"timestamp_ms":1783369722000,"timestamp_seconds":1783369722,"priority":1,"record_length":96,"hex_timestamp":"0000019f391e6890"} 
[2026-07-07 01:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 01: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-07-07 01:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 01:59: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-07-07 01:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 01:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 01:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 01:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":123942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 01:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":123942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":123942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 01:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 01:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 01:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 01:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542647296001,"66":27343,"125":206,"81":20992,"24":59,"16":340041485766361088,"45":3129227713796222976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,81,24,16,45]} 
[2026-07-07 01:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 01:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 01:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542647296001,"description":"Unknown IO ID 0"} 
[2026-07-07 01:59:39] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-07 01:59:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 01:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340041485766361088,"km_value":340041485766361.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 01:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3129227713796222976,"description":"Unknown IO ID 45"} 
[2026-07-07 01:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542647296001,"power":27343,"unknown_125":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":3129227713796222976}} 
[2026-07-07 01:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":123942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 01:59:39] local.INFO: GPS data processed {"connection_id":123942,"processed":1,"errors":0,"total":1} 
[2026-07-07 01:59:39] local.INFO: Acknowledgment sent {"connection_id":123942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 01:59:45] local.INFO: TCP Data received {"connection_id":124705,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:59:45] local.INFO: Processing buffer {"connection_id":124705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 01:59:45] local.INFO: IMEI packet received {"connection_id":124705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 01:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":124705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:00:00] local.INFO: TCP Data received {"connection_id":124044,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:00:00] local.INFO: Processing buffer {"connection_id":124044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:00:00] local.INFO: IMEI packet received {"connection_id":124044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":124044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:00:03] local.INFO: TCP Data received {"connection_id":124044,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:00:03] local.INFO: Processing buffer {"connection_id":124044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:00:03] local.INFO: IMEI packet received {"connection_id":124044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":124044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:00:05] local.INFO: TCP Data received {"connection_id":124044,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:00:05] local.INFO: Processing buffer {"connection_id":124044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:00:05] local.INFO: IMEI packet received {"connection_id":124044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":124044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:00:05] local.INFO: TCP Data received {"connection_id":124045,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:00:05] local.INFO: Processing buffer {"connection_id":124045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:00:05] local.INFO: IMEI packet received {"connection_id":124045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 02:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":124045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:00:06] local.INFO: TCP Data received {"connection_id":124044,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f391e83e8012d2b9e4006bde810000b00862e..."} 
[2026-07-07 02:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f391e83e8012d2b9e4006bde810000b00862e..."} 
[2026-07-07 02:00:06] local.INFO: Processing buffer {"connection_id":124044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f391e83e8012d2b9e4006bde810000b00862e..."} 
[2026-07-07 02:00:06] local.INFO: Packet analysis {"connection_id":124044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f391e"} 
[2026-07-07 02:00:06] local.INFO: Extracted packet for processing {"connection_id":124044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f391e"} 
[2026-07-07 02:00:06] local.INFO: GPS Element Parsed {"raw_longitude":757833280,"raw_latitude":113109008,"longitude_deg":75.783328,"latitude_deg":11.3109008,"altitude":11,"angle":134,"satellites":46,"speed":55,"hex_longitude":"2d2b9e40","hex_latitude":"06bde810","is_valid_coordinates":true} 
[2026-07-07 02:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542648832001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340041979687600128,"note":"Value kept but may cause issues"} 
[2026-07-07 02:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3135631269514598400,"note":"Value kept but may cause issues"} 
[2026-07-07 02:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783369729000,"timestamp_ms":1783369729000,"timestamp_seconds":1783369729,"priority":1,"record_length":96,"hex_timestamp":"0000019f391e83e8"} 
[2026-07-07 02:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:00: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-07-07 02:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 02:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542648832001,"66":27300,"125":206,"81":20992,"24":55,"16":340041979687600128,"45":3135631269514598400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,81,24,16,45]} 
[2026-07-07 02:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542648832001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:00:06] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-07 02:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 02:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340041979687600128,"km_value":340041979687600.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3135631269514598400,"description":"Unknown IO ID 45"} 
[2026-07-07 02:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542648832001,"power":27300,"unknown_125":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":3135631269514598400}} 
[2026-07-07 02:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":124044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:00:06] local.INFO: GPS data processed {"connection_id":124044,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:00:06] local.INFO: Acknowledgment sent {"connection_id":124044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:00:37] local.INFO: TCP Data received {"connection_id":124044,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f391e9f40012d2bb94006bdcf38000e00842f..."} 
[2026-07-07 02:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f391e9f40012d2bb94006bdcf38000e00842f..."} 
[2026-07-07 02:00:37] local.INFO: Processing buffer {"connection_id":124044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f391e9f40012d2bb94006bdcf38000e00842f..."} 
[2026-07-07 02:00:37] local.INFO: Packet analysis {"connection_id":124044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f391e"} 
[2026-07-07 02:00:37] local.INFO: Extracted packet for processing {"connection_id":124044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f391e"} 
[2026-07-07 02:00:37] local.INFO: GPS Element Parsed {"raw_longitude":757840192,"raw_latitude":113102648,"longitude_deg":75.7840192,"latitude_deg":11.3102648,"altitude":14,"angle":132,"satellites":47,"speed":51,"hex_longitude":"2d2bb940","hex_latitude":"06bdcf38","is_valid_coordinates":true} 
[2026-07-07 02:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542650624001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340042430659166208,"note":"Value kept but may cause issues"} 
[2026-07-07 02:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3143019987651268608,"note":"Value kept but may cause issues"} 
[2026-07-07 02:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783369736000,"timestamp_ms":1783369736000,"timestamp_seconds":1783369736,"priority":1,"record_length":96,"hex_timestamp":"0000019f391e9f40"} 
[2026-07-07 02:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 02:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542650624001,"66":27376,"124":206,"81":20992,"24":51,"16":340042430659166208,"45":3143019987651268608},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-07-07 02:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542650624001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:00:37] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-07 02:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-07 02:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340042430659166208,"km_value":340042430659166.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3143019987651268608,"description":"Unknown IO ID 45"} 
[2026-07-07 02:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542650624001,"power":27376,"unknown_124":206,"unknown_81":20992,"ignition":51,"odometer":null,"unknown_45":3143019987651268608}} 
[2026-07-07 02:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":124044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:00:37] local.INFO: GPS data processed {"connection_id":124044,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:00:37] local.INFO: Acknowledgment sent {"connection_id":124044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:01:01] local.INFO: TCP Data received {"connection_id":124707,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:01:01] local.INFO: Processing buffer {"connection_id":124707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:01:01] local.INFO: IMEI packet received {"connection_id":124707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":124707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:01:06] local.INFO: TCP Data received {"connection_id":124707,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:01:06] local.INFO: Processing buffer {"connection_id":124707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:01:06] local.INFO: IMEI packet received {"connection_id":124707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":124707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:01:55] local.INFO: TCP Data received {"connection_id":124707,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:01:55] local.INFO: Processing buffer {"connection_id":124707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:01:55] local.INFO: IMEI packet received {"connection_id":124707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":124707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:02:30] local.INFO: TCP Data received {"connection_id":124708,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:02:30] local.INFO: Processing buffer {"connection_id":124708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:02:30] local.INFO: IMEI packet received {"connection_id":124708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":124708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:02:31] local.INFO: TCP Data received {"connection_id":124708,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:02:31] local.INFO: Processing buffer {"connection_id":124708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:02:31] local.INFO: IMEI packet received {"connection_id":124708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":124708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:02:35] local.INFO: TCP Data received {"connection_id":124708,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:02:35] local.INFO: Processing buffer {"connection_id":124708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:02:35] local.INFO: IMEI packet received {"connection_id":124708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":124708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:02:36] local.INFO: TCP Data received {"connection_id":124708,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3920e160012d2dce8006bb5a600010009c2d..."} 
[2026-07-07 02:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3920e160012d2dce8006bb5a600010009c2d..."} 
[2026-07-07 02:02:36] local.INFO: Processing buffer {"connection_id":124708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3920e160012d2dce8006bb5a600010009c2d..."} 
[2026-07-07 02:02:36] local.INFO: Packet analysis {"connection_id":124708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3920"} 
[2026-07-07 02:02:36] local.INFO: Extracted packet for processing {"connection_id":124708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3920"} 
[2026-07-07 02:02:36] local.INFO: GPS Element Parsed {"raw_longitude":757976704,"raw_latitude":112941664,"longitude_deg":75.7976704,"latitude_deg":11.2941664,"altitude":16,"angle":156,"satellites":45,"speed":53,"hex_longitude":"2d2dce80","hex_latitude":"06bb5a60","is_valid_coordinates":true} 
[2026-07-07 02:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542688512001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340052644091396096,"note":"Value kept but may cause issues"} 
[2026-07-07 02:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3296494218662084608,"note":"Value kept but may cause issues"} 
[2026-07-07 02:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783369884000,"timestamp_ms":1783369884000,"timestamp_seconds":1783369884,"priority":1,"record_length":96,"hex_timestamp":"0000019f3920e160"} 
[2026-07-07 02:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 02:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542688512001,"66":27321,"79":206,"81":21760,"24":53,"16":340052644091396096,"45":3296494218662084608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-07-07 02:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542688512001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:02:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-07-07 02:02:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-07-07 02:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340052644091396096,"km_value":340052644091396.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3296494218662084608,"description":"Unknown IO ID 45"} 
[2026-07-07 02:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542688512001,"power":27321,"unknown_79":206,"unknown_81":21760,"ignition":53,"odometer":null,"unknown_45":3296494218662084608}} 
[2026-07-07 02:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":124708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:02:36] local.INFO: GPS data processed {"connection_id":124708,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:02:36] local.INFO: Acknowledgment sent {"connection_id":124708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:03:01] local.INFO: TCP Data received {"connection_id":124710,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:03:01] local.INFO: Processing buffer {"connection_id":124710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:03:01] local.INFO: IMEI packet received {"connection_id":124710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":124710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:03:05] local.INFO: TCP Data received {"connection_id":124710,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:03:05] local.INFO: Processing buffer {"connection_id":124710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:03:05] local.INFO: IMEI packet received {"connection_id":124710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":124710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:03:09] local.INFO: TCP Data received {"connection_id":124710,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:03:09] local.INFO: Processing buffer {"connection_id":124710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:03:09] local.INFO: IMEI packet received {"connection_id":124710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":124710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:03:11] local.INFO: TCP Data received {"connection_id":124710,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3920fcb8012d2dde0006bb38700011009b2c..."} 
[2026-07-07 02:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3920fcb8012d2dde0006bb38700011009b2c..."} 
[2026-07-07 02:03:11] local.INFO: Processing buffer {"connection_id":124710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3920fcb8012d2dde0006bb38700011009b2c..."} 
[2026-07-07 02:03:11] local.INFO: Packet analysis {"connection_id":124710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3920"} 
[2026-07-07 02:03:11] local.INFO: Extracted packet for processing {"connection_id":124710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3920"} 
[2026-07-07 02:03:11] local.INFO: GPS Element Parsed {"raw_longitude":757980672,"raw_latitude":112932976,"longitude_deg":75.7980672,"latitude_deg":11.2932976,"altitude":17,"angle":155,"satellites":44,"speed":54,"hex_longitude":"2d2dde00","hex_latitude":"06bb3870","is_valid_coordinates":true} 
[2026-07-07 02:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542690304001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340053103652896768,"note":"Value kept but may cause issues"} 
[2026-07-07 02:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3300716343310573568,"note":"Value kept but may cause issues"} 
[2026-07-07 02:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783369891000,"timestamp_ms":1783369891000,"timestamp_seconds":1783369891,"priority":1,"record_length":96,"hex_timestamp":"0000019f3920fcb8"} 
[2026-07-07 02:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:03: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-07-07 02:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 02:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542690304001,"66":27397,"79":206,"81":21760,"24":54,"16":340053103652896768,"45":3300716343310573568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-07-07 02:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542690304001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:03:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-07-07 02:03:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-07-07 02:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340053103652896768,"km_value":340053103652896.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3300716343310573568,"description":"Unknown IO ID 45"} 
[2026-07-07 02:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542690304001,"power":27397,"unknown_79":206,"unknown_81":21760,"ignition":54,"odometer":null,"unknown_45":3300716343310573568}} 
[2026-07-07 02:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":124710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:03:11] local.INFO: GPS data processed {"connection_id":124710,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:03:11] local.INFO: Acknowledgment sent {"connection_id":124710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:03:42] local.INFO: TCP Data received {"connection_id":124710,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f39211810012d2dee0006bb16800012009a2c..."} 
[2026-07-07 02:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39211810012d2dee0006bb16800012009a2c..."} 
[2026-07-07 02:03:42] local.INFO: Processing buffer {"connection_id":124710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39211810012d2dee0006bb16800012009a2c..."} 
[2026-07-07 02:03:42] local.INFO: Packet analysis {"connection_id":124710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3921"} 
[2026-07-07 02:03:42] local.INFO: Extracted packet for processing {"connection_id":124710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3921"} 
[2026-07-07 02:03:42] local.INFO: GPS Element Parsed {"raw_longitude":757984768,"raw_latitude":112924288,"longitude_deg":75.7984768,"latitude_deg":11.2924288,"altitude":18,"angle":154,"satellites":44,"speed":54,"hex_longitude":"2d2dee00","hex_latitude":"06bb1680","is_valid_coordinates":true} 
[2026-07-07 02:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542692096001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340053567509364736,"note":"Value kept but may cause issues"} 
[2026-07-07 02:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3305079205447364608,"note":"Value kept but may cause issues"} 
[2026-07-07 02:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783369898000,"timestamp_ms":1783369898000,"timestamp_seconds":1783369898,"priority":1,"record_length":96,"hex_timestamp":"0000019f39211810"} 
[2026-07-07 02:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:03: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-07-07 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 02:03: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-07-07 02:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542692096001,"66":27343,"78":206,"81":21760,"24":54,"16":340053567509364736,"45":3305079205447364608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-07-07 02:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542692096001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:03:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-07 02:03:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-07-07 02:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340053567509364736,"km_value":340053567509364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3305079205447364608,"description":"Unknown IO ID 45"} 
[2026-07-07 02:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542692096001,"power":27343,"unknown_78":206,"unknown_81":21760,"ignition":54,"odometer":null,"unknown_45":3305079205447364608}} 
[2026-07-07 02:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":124710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:03:42] local.INFO: GPS data processed {"connection_id":124710,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:03:42] local.INFO: Acknowledgment sent {"connection_id":124710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:04:00] local.INFO: TCP Data received {"connection_id":123943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:04:00] local.INFO: Processing buffer {"connection_id":123943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:04:00] local.INFO: IMEI packet received {"connection_id":123943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":123943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:04:03] local.INFO: TCP Data received {"connection_id":123943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:04:03] local.INFO: Processing buffer {"connection_id":123943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:04:03] local.INFO: IMEI packet received {"connection_id":123943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":123943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:04:04] local.INFO: TCP Data received {"connection_id":123943,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f39225860012d2e9c0006b9a1d8001700982a..."} 
[2026-07-07 02:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39225860012d2e9c0006b9a1d8001700982a..."} 
[2026-07-07 02:04:04] local.INFO: Processing buffer {"connection_id":123943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39225860012d2e9c0006b9a1d8001700982a..."} 
[2026-07-07 02:04:04] local.INFO: Packet analysis {"connection_id":123943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3922"} 
[2026-07-07 02:04:04] local.INFO: Extracted packet for processing {"connection_id":123943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3922"} 
[2026-07-07 02:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758029312,"raw_latitude":112828888,"longitude_deg":75.8029312,"latitude_deg":11.2828888,"altitude":23,"angle":152,"satellites":42,"speed":59,"hex_longitude":"2d2e9c00","hex_latitude":"06b9a1d8","is_valid_coordinates":true} 
[2026-07-07 02:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542713344001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340058661340577792,"note":"Value kept but may cause issues"} 
[2026-07-07 02:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3353704007649472512,"note":"Value kept but may cause issues"} 
[2026-07-07 02:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783369980000,"timestamp_ms":1783369980000,"timestamp_seconds":1783369980,"priority":1,"record_length":96,"hex_timestamp":"0000019f39225860"} 
[2026-07-07 02:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 02:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":123943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":123943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":123943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542713344001,"66":27310,"230":206,"81":23552,"24":59,"16":340058661340577792,"45":3353704007649472512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-07-07 02:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542713344001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:04:04] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 02:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340058661340577792,"km_value":340058661340577.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3353704007649472512,"description":"Unknown IO ID 45"} 
[2026-07-07 02:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542713344001,"power":27310,"unknown_230":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3353704007649472512}} 
[2026-07-07 02:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":123943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:04:04] local.INFO: GPS data processed {"connection_id":123943,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:04:04] local.INFO: Acknowledgment sent {"connection_id":123943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:04:35] local.INFO: TCP Data received {"connection_id":123943,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f39226fd0012d2eabc006b981600014009a2b..."} 
[2026-07-07 02:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39226fd0012d2eabc006b981600014009a2b..."} 
[2026-07-07 02:04:35] local.INFO: Processing buffer {"connection_id":123943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39226fd0012d2eabc006b981600014009a2b..."} 
[2026-07-07 02:04:35] local.INFO: Packet analysis {"connection_id":123943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3922"} 
[2026-07-07 02:04:35] local.INFO: Extracted packet for processing {"connection_id":123943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3922"} 
[2026-07-07 02:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758033344,"raw_latitude":112820576,"longitude_deg":75.8033344,"latitude_deg":11.2820576,"altitude":20,"angle":154,"satellites":43,"speed":62,"hex_longitude":"2d2eabc0","hex_latitude":"06b98160","is_valid_coordinates":true} 
[2026-07-07 02:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542714880001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340059108017176576,"note":"Value kept but may cause issues"} 
[2026-07-07 02:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3358559450995742720,"note":"Value kept but may cause issues"} 
[2026-07-07 02:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783369986000,"timestamp_ms":1783369986000,"timestamp_seconds":1783369986,"priority":1,"record_length":96,"hex_timestamp":"0000019f39226fd0"} 
[2026-07-07 02:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-07 02:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":123943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":123943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":123943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542714880001,"66":27376,"230":206,"81":23552,"24":62,"16":340059108017176576,"45":3358559450995742720},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-07-07 02:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542714880001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:04:35] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 02:04:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340059108017176576,"km_value":340059108017176.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3358559450995742720,"description":"Unknown IO ID 45"} 
[2026-07-07 02:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542714880001,"power":27376,"unknown_230":206,"unknown_81":23552,"ignition":62,"odometer":null,"unknown_45":3358559450995742720}} 
[2026-07-07 02:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":123943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:04:35] local.INFO: GPS data processed {"connection_id":123943,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:04:35] local.INFO: Acknowledgment sent {"connection_id":123943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:05:00] local.INFO: TCP Data received {"connection_id":124046,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:05:00] local.INFO: Processing buffer {"connection_id":124046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:05:00] local.INFO: IMEI packet received {"connection_id":124046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":124046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:05:01] local.INFO: TCP Data received {"connection_id":124046,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:05:01] local.INFO: Processing buffer {"connection_id":124046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:05:01] local.INFO: IMEI packet received {"connection_id":124046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":124046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:05:05] local.INFO: TCP Data received {"connection_id":124046,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:05:05] local.INFO: Processing buffer {"connection_id":124046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:05:05] local.INFO: IMEI packet received {"connection_id":124046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":124046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:05:06] local.INFO: TCP Data received {"connection_id":124046,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f39228740012d2ebc8006b96000001100982c..."} 
[2026-07-07 02:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39228740012d2ebc8006b96000001100982c..."} 
[2026-07-07 02:05:06] local.INFO: Processing buffer {"connection_id":124046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39228740012d2ebc8006b96000001100982c..."} 
[2026-07-07 02:05:06] local.INFO: Packet analysis {"connection_id":124046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3922"} 
[2026-07-07 02:05:06] local.INFO: Extracted packet for processing {"connection_id":124046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3922"} 
[2026-07-07 02:05:06] local.INFO: GPS Element Parsed {"raw_longitude":758037632,"raw_latitude":112812032,"longitude_deg":75.8037632,"latitude_deg":11.2812032,"altitude":17,"angle":152,"satellites":44,"speed":64,"hex_longitude":"2d2ebc80","hex_latitude":"06b96000","is_valid_coordinates":true} 
[2026-07-07 02:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542716416001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340059571873644544,"note":"Value kept but may cause issues"} 
[2026-07-07 02:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3362992681876807680,"note":"Value kept but may cause issues"} 
[2026-07-07 02:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783369992000,"timestamp_ms":1783369992000,"timestamp_seconds":1783369992,"priority":1,"record_length":96,"hex_timestamp":"0000019f39228740"} 
[2026-07-07 02:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 02:05: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-07-07 02:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542716416001,"66":27213,"230":206,"81":23552,"24":64,"16":340059571873644544,"45":3362992681876807680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-07-07 02:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542716416001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:05:06] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 02:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340059571873644544,"km_value":340059571873644.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3362992681876807680,"description":"Unknown IO ID 45"} 
[2026-07-07 02:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542716416001,"power":27213,"unknown_230":206,"unknown_81":23552,"ignition":64,"odometer":null,"unknown_45":3362992681876807680}} 
[2026-07-07 02:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":124046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:05:06] local.INFO: GPS data processed {"connection_id":124046,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:05:06] local.INFO: Acknowledgment sent {"connection_id":124046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:05:09] local.INFO: TCP Data received {"connection_id":124046,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f39229eb0012d2ecf8006b93e60000d00962c..."} 
[2026-07-07 02:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39229eb0012d2ecf8006b93e60000d00962c..."} 
[2026-07-07 02:05:09] local.INFO: Processing buffer {"connection_id":124046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39229eb0012d2ecf8006b93e60000d00962c..."} 
[2026-07-07 02:05:09] local.INFO: Packet analysis {"connection_id":124046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3922"} 
[2026-07-07 02:05:09] local.INFO: Extracted packet for processing {"connection_id":124046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3922"} 
[2026-07-07 02:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758042496,"raw_latitude":112803424,"longitude_deg":75.8042496,"latitude_deg":11.2803424,"altitude":13,"angle":150,"satellites":44,"speed":66,"hex_longitude":"2d2ecf80","hex_latitude":"06b93e60","is_valid_coordinates":true} 
[2026-07-07 02:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542717952001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340060048615014400,"note":"Value kept but may cause issues"} 
[2026-07-07 02:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3367707387734523904,"note":"Value kept but may cause issues"} 
[2026-07-07 02:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783369998000,"timestamp_ms":1783369998000,"timestamp_seconds":1783369998,"priority":1,"record_length":96,"hex_timestamp":"0000019f39229eb0"} 
[2026-07-07 02:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02: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-07-07 02:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 02:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542717952001,"66":27376,"230":206,"81":23552,"24":66,"16":340060048615014400,"45":3367707387734523904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-07-07 02:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542717952001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:05:09] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 02:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340060048615014400,"km_value":340060048615014.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3367707387734523904,"description":"Unknown IO ID 45"} 
[2026-07-07 02:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542717952001,"power":27376,"unknown_230":206,"unknown_81":23552,"ignition":66,"odometer":null,"unknown_45":3367707387734523904}} 
[2026-07-07 02:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":124046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:05:09] local.INFO: GPS data processed {"connection_id":124046,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:05:09] local.INFO: Acknowledgment sent {"connection_id":124046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:05:33] local.INFO: TCP Data received {"connection_id":124711,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:05:33] local.INFO: Processing buffer {"connection_id":124711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:05:33] local.INFO: IMEI packet received {"connection_id":124711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 02:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":124711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:05:40] local.INFO: TCP Data received {"connection_id":124046,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3923eea0012d2faf8006b787b0000900a22e..."} 
[2026-07-07 02:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3923eea0012d2faf8006b787b0000900a22e..."} 
[2026-07-07 02:05:40] local.INFO: Processing buffer {"connection_id":124046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3923eea0012d2faf8006b787b0000900a22e..."} 
[2026-07-07 02:05:40] local.INFO: Packet analysis {"connection_id":124046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3923"} 
[2026-07-07 02:05:40] local.INFO: Extracted packet for processing {"connection_id":124046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3923"} 
[2026-07-07 02:05:40] local.INFO: GPS Element Parsed {"raw_longitude":758099840,"raw_latitude":112691120,"longitude_deg":75.809984,"latitude_deg":11.269112,"altitude":9,"angle":162,"satellites":46,"speed":58,"hex_longitude":"2d2faf80","hex_latitude":"06b787b0","is_valid_coordinates":true} 
[2026-07-07 02:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542739712001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340066151763542016,"note":"Value kept but may cause issues"} 
[2026-07-07 02:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3432587369837862912,"note":"Value kept but may cause issues"} 
[2026-07-07 02:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783370084000,"timestamp_ms":1783370084000,"timestamp_seconds":1783370084,"priority":1,"record_length":96,"hex_timestamp":"0000019f3923eea0"} 
[2026-07-07 02:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:05: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-07-07 02:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 02:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542739712001,"66":27332,"128":206,"81":23552,"24":58,"16":340066151763542016,"45":3432587369837862912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,81,24,16,45]} 
[2026-07-07 02:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542739712001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:05:40] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-07-07 02:05:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340066151763542016,"km_value":340066151763542.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3432587369837862912,"description":"Unknown IO ID 45"} 
[2026-07-07 02:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542739712001,"power":27332,"unknown_128":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3432587369837862912}} 
[2026-07-07 02:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":124046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:05:40] local.INFO: GPS data processed {"connection_id":124046,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:05:40] local.INFO: Acknowledgment sent {"connection_id":124046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:06:00] local.INFO: TCP Data received {"connection_id":124712,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:06:00] local.INFO: Processing buffer {"connection_id":124712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:06:00] local.INFO: IMEI packet received {"connection_id":124712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":124712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:06:01] local.INFO: TCP Data received {"connection_id":124712,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:06:01] local.INFO: Processing buffer {"connection_id":124712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:06:01] local.INFO: IMEI packet received {"connection_id":124712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":124712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:06:02] local.INFO: TCP Data received {"connection_id":124712,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:06:02] local.INFO: Processing buffer {"connection_id":124712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:06:02] local.INFO: IMEI packet received {"connection_id":124712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":124712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:06:05] local.INFO: TCP Data received {"connection_id":124712,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:06:05] local.INFO: Processing buffer {"connection_id":124712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:06:05] local.INFO: IMEI packet received {"connection_id":124712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":124712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:06:06] local.INFO: TCP Data received {"connection_id":124712,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f39240610012d2fb8c006b765d8000a00a62c..."} 
[2026-07-07 02:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39240610012d2fb8c006b765d8000a00a62c..."} 
[2026-07-07 02:06:06] local.INFO: Processing buffer {"connection_id":124712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39240610012d2fb8c006b765d8000a00a62c..."} 
[2026-07-07 02:06:06] local.INFO: Packet analysis {"connection_id":124712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3924"} 
[2026-07-07 02:06:06] local.INFO: Extracted packet for processing {"connection_id":124712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3924"} 
[2026-07-07 02:06:06] local.INFO: GPS Element Parsed {"raw_longitude":758102208,"raw_latitude":112682456,"longitude_deg":75.8102208,"latitude_deg":11.2682456,"altitude":10,"angle":166,"satellites":44,"speed":60,"hex_longitude":"2d2fb8c0","hex_latitude":"06b765d8","is_valid_coordinates":true} 
[2026-07-07 02:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542741504001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340066589850206208,"note":"Value kept but may cause issues"} 
[2026-07-07 02:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3436105807044259840,"note":"Value kept but may cause issues"} 
[2026-07-07 02:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783370090000,"timestamp_ms":1783370090000,"timestamp_seconds":1783370090,"priority":1,"record_length":96,"hex_timestamp":"0000019f39240610"} 
[2026-07-07 02:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 02:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542741504001,"66":27223,"128":206,"81":23552,"24":60,"16":340066589850206208,"45":3436105807044259840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,81,24,16,45]} 
[2026-07-07 02:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542741504001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:06:06] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-07-07 02:06:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340066589850206208,"km_value":340066589850206.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3436105807044259840,"description":"Unknown IO ID 45"} 
[2026-07-07 02:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542741504001,"power":27223,"unknown_128":206,"unknown_81":23552,"ignition":60,"odometer":null,"unknown_45":3436105807044259840}} 
[2026-07-07 02:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":124712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:06:06] local.INFO: GPS data processed {"connection_id":124712,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:06:06] local.INFO: Acknowledgment sent {"connection_id":124712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:06:07] local.INFO: TCP Data received {"connection_id":124713,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124713,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:06:07] local.INFO: Processing buffer {"connection_id":124713,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:06:07] local.INFO: IMEI packet received {"connection_id":124713,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 02:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":124713,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:06:37] local.INFO: TCP Data received {"connection_id":124712,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3924cd48012d30688006b6ad30000b00632d..."} 
[2026-07-07 02:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3924cd48012d30688006b6ad30000b00632d..."} 
[2026-07-07 02:06:37] local.INFO: Processing buffer {"connection_id":124712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3924cd48012d30688006b6ad30000b00632d..."} 
[2026-07-07 02:06:37] local.INFO: Packet analysis {"connection_id":124712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3924"} 
[2026-07-07 02:06:37] local.INFO: Extracted packet for processing {"connection_id":124712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3924"} 
[2026-07-07 02:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758147200,"raw_latitude":112635184,"longitude_deg":75.81472,"latitude_deg":11.2635184,"altitude":11,"angle":99,"satellites":45,"speed":63,"hex_longitude":"2d306880","hex_latitude":"06b6ad30","is_valid_coordinates":true} 
[2026-07-07 02:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542754560001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340070038708944896,"note":"Value kept but may cause issues"} 
[2026-07-07 02:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3477693734839400448,"note":"Value kept but may cause issues"} 
[2026-07-07 02:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783370141000,"timestamp_ms":1783370141000,"timestamp_seconds":1783370141,"priority":1,"record_length":96,"hex_timestamp":"0000019f3924cd48"} 
[2026-07-07 02:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:06: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-07-07 02:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 02:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542754560001,"66":27332,"201":206,"81":23552,"24":63,"16":340070038708944896,"45":3477693734839400448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-07-07 02:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542754560001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:06:37] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 02:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340070038708944896,"km_value":340070038708944.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3477693734839400448,"description":"Unknown IO ID 45"} 
[2026-07-07 02:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542754560001,"power":27332,"unknown_201":206,"unknown_81":23552,"ignition":63,"odometer":null,"unknown_45":3477693734839400448}} 
[2026-07-07 02:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":124712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:06:37] local.INFO: GPS data processed {"connection_id":124712,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:06:37] local.INFO: Acknowledgment sent {"connection_id":124712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:07:15] local.INFO: TCP Data received {"connection_id":124714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:07:15] local.INFO: Processing buffer {"connection_id":124714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:07:15] local.INFO: IMEI packet received {"connection_id":124714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":124714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:07:21] local.INFO: TCP Data received {"connection_id":124714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:07:21] local.INFO: Processing buffer {"connection_id":124714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:07:21] local.INFO: IMEI packet received {"connection_id":124714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":124714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:07:22] local.INFO: TCP Data received {"connection_id":124714,"ip":"42.106.6.14","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f39..."} 
[2026-07-07 02:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124714,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f39..."} 
[2026-07-07 02:07:22] local.INFO: Processing buffer {"connection_id":124714,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f39..."} 
[2026-07-07 02:07:22] local.INFO: IMEI packet received {"connection_id":124714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":124714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:07:23] local.INFO: TCP Data received {"connection_id":124714,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f39250010012d30b34006b69fa0000b006530..."} 
[2026-07-07 02:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39250010012d30b34006b69fa0000b006530..."} 
[2026-07-07 02:07:23] local.INFO: Processing buffer {"connection_id":124714,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3924e4b8012d308c8006b6a6d8000a00642f..."} 
[2026-07-07 02:07:23] local.INFO: Packet analysis {"connection_id":124714,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3924"} 
[2026-07-07 02:07:23] local.INFO: Extracted packet for processing {"connection_id":124714,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3924"} 
[2026-07-07 02:07:23] local.INFO: GPS Element Parsed {"raw_longitude":758156416,"raw_latitude":112633560,"longitude_deg":75.8156416,"latitude_deg":11.263356,"altitude":10,"angle":100,"satellites":47,"speed":59,"hex_longitude":"2d308c80","hex_latitude":"06b6a6d8","is_valid_coordinates":true} 
[2026-07-07 02:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542756096001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340070485385543680,"note":"Value kept but may cause issues"} 
[2026-07-07 02:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3488178677721411584,"note":"Value kept but may cause issues"} 
[2026-07-07 02:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783370147000,"timestamp_ms":1783370147000,"timestamp_seconds":1783370147,"priority":1,"record_length":96,"hex_timestamp":"0000019f3924e4b8"} 
[2026-07-07 02:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 02:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":124714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":124714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":124714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542756096001,"66":27213,"201":206,"81":23552,"24":59,"16":340070485385543680,"45":3488178677721411584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-07-07 02:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542756096001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:07:23] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 02:07:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340070485385543680,"km_value":340070485385543.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3488178677721411584,"description":"Unknown IO ID 45"} 
[2026-07-07 02:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542756096001,"power":27213,"unknown_201":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3488178677721411584}} 
[2026-07-07 02:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":124714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:07:23] local.INFO: GPS data processed {"connection_id":124714,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:07:23] local.INFO: Acknowledgment sent {"connection_id":124714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:07:23] local.INFO: Packet analysis {"connection_id":124714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3925"} 
[2026-07-07 02:07:23] local.INFO: Extracted packet for processing {"connection_id":124714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3925"} 
[2026-07-07 02:07:23] local.INFO: GPS Element Parsed {"raw_longitude":758166336,"raw_latitude":112631712,"longitude_deg":75.8166336,"latitude_deg":11.2631712,"altitude":11,"angle":101,"satellites":48,"speed":54,"hex_longitude":"2d30b340","hex_latitude":"06b69fa0","is_valid_coordinates":true} 
[2026-07-07 02:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542757632001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340070966421880832,"note":"Value kept but may cause issues"} 
[2026-07-07 02:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3498311776882579456,"note":"Value kept but may cause issues"} 
[2026-07-07 02:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783370154000,"timestamp_ms":1783370154000,"timestamp_seconds":1783370154,"priority":1,"record_length":96,"hex_timestamp":"0000019f39250010"} 
[2026-07-07 02:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 02:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":124714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":124714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":124714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542757632001,"66":27300,"201":206,"81":23552,"24":54,"16":340070966421880832,"45":3498311776882579456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-07-07 02:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542757632001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:07:23] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 02:07:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340070966421880832,"km_value":340070966421880.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3498311776882579456,"description":"Unknown IO ID 45"} 
[2026-07-07 02:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542757632001,"power":27300,"unknown_201":206,"unknown_81":23552,"ignition":54,"odometer":null,"unknown_45":3498311776882579456}} 
[2026-07-07 02:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":124714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:07:23] local.INFO: GPS data processed {"connection_id":124714,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:07:23] local.INFO: Acknowledgment sent {"connection_id":124714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:07:31] local.INFO: TCP Data received {"connection_id":124714,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f39251b68012d30d94006b69770000c00692f..."} 
[2026-07-07 02:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39251b68012d30d94006b69770000c00692f..."} 
[2026-07-07 02:07:31] local.INFO: Processing buffer {"connection_id":124714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39251b68012d30d94006b69770000c00692f..."} 
[2026-07-07 02:07:31] local.INFO: Packet analysis {"connection_id":124714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3925"} 
[2026-07-07 02:07:31] local.INFO: Extracted packet for processing {"connection_id":124714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3925"} 
[2026-07-07 02:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758176064,"raw_latitude":112629616,"longitude_deg":75.8176064,"latitude_deg":11.2629616,"altitude":12,"angle":105,"satellites":47,"speed":55,"hex_longitude":"2d30d940","hex_latitude":"06b69770","is_valid_coordinates":true} 
[2026-07-07 02:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542759424001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:07:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-07 02:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340071434573316096,"note":"Value kept but may cause issues"} 
[2026-07-07 02:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3509218932229644288,"note":"Value kept but may cause issues"} 
[2026-07-07 02:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-07 02:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783370161000,"timestamp_ms":1783370161000,"timestamp_seconds":1783370161,"priority":1,"record_length":96,"hex_timestamp":"0000019f39251b68"} 
[2026-07-07 02:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:07: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-07-07 02:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 02:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":124714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":124714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":124714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542759424001,"66":27213,"200":0,"81":23552,"24":55,"16":340071434573316096,"45":3509218932229644288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-07-07 02:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542759424001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:07:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340071434573316096,"km_value":340071434573316.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3509218932229644288,"description":"Unknown IO ID 45"} 
[2026-07-07 02:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542759424001,"power":27213,"gsm_signal":0,"unknown_81":23552,"ignition":55,"odometer":null,"unknown_45":3509218932229644288}} 
[2026-07-07 02:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":124714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:07:31] local.INFO: GPS data processed {"connection_id":124714,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:07:31] local.INFO: Acknowledgment sent {"connection_id":124714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:08:00] local.INFO: TCP Data received {"connection_id":123944,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:08:00] local.INFO: Processing buffer {"connection_id":123944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:08:00] local.INFO: IMEI packet received {"connection_id":123944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":123944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:08:01] local.INFO: TCP Data received {"connection_id":123944,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:08:01] local.INFO: Processing buffer {"connection_id":123944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:08:01] local.INFO: IMEI packet received {"connection_id":123944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":123944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:08:05] local.INFO: TCP Data received {"connection_id":123944,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:08:05] local.INFO: Processing buffer {"connection_id":123944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:08:05] local.INFO: IMEI packet received {"connection_id":123944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":123944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:08:06] local.INFO: TCP Data received {"connection_id":123944,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f392628f0012d31c68006b58038000b008d2e..."} 
[2026-07-07 02:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f392628f0012d31c68006b58038000b008d2e..."} 
[2026-07-07 02:08:06] local.INFO: Processing buffer {"connection_id":123944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f392628f0012d31c68006b58038000b008d2e..."} 
[2026-07-07 02:08:06] local.INFO: Packet analysis {"connection_id":123944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3926"} 
[2026-07-07 02:08:06] local.INFO: Extracted packet for processing {"connection_id":123944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3926"} 
[2026-07-07 02:08:06] local.INFO: GPS Element Parsed {"raw_longitude":758236800,"raw_latitude":112558136,"longitude_deg":75.82368,"latitude_deg":11.2558136,"altitude":11,"angle":141,"satellites":46,"speed":63,"hex_longitude":"2d31c680","hex_latitude":"06b58038","is_valid_coordinates":true} 
[2026-07-07 02:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542777344001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340076055958126592,"note":"Value kept but may cause issues"} 
[2026-07-07 02:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3580220995088058368,"note":"Value kept but may cause issues"} 
[2026-07-07 02:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783370230000,"timestamp_ms":1783370230000,"timestamp_seconds":1783370230,"priority":1,"record_length":96,"hex_timestamp":"0000019f392628f0"} 
[2026-07-07 02:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:08: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-07-07 02:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 02:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":123944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":123944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":123944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542777344001,"66":27213,"170":206,"81":23552,"24":63,"16":340076055958126592,"45":3580220995088058368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-07-07 02:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542777344001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:08:06] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-07 02:08:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340076055958126592,"km_value":340076055958126.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3580220995088058368,"description":"Unknown IO ID 45"} 
[2026-07-07 02:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542777344001,"power":27213,"unknown_170":206,"unknown_81":23552,"ignition":63,"odometer":null,"unknown_45":3580220995088058368}} 
[2026-07-07 02:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":123944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:08:06] local.INFO: GPS data processed {"connection_id":123944,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:08:06] local.INFO: Acknowledgment sent {"connection_id":123944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:08:38] local.INFO: TCP Data received {"connection_id":123944,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f39264060012d31df8006b56518000a00872e..."} 
[2026-07-07 02:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39264060012d31df8006b56518000a00872e..."} 
[2026-07-07 02:08:38] local.INFO: Processing buffer {"connection_id":123944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39264060012d31df8006b56518000a00872e..."} 
[2026-07-07 02:08:38] local.INFO: Packet analysis {"connection_id":123944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3926"} 
[2026-07-07 02:08:38] local.INFO: Extracted packet for processing {"connection_id":123944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3926"} 
[2026-07-07 02:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758243200,"raw_latitude":112551192,"longitude_deg":75.82432,"latitude_deg":11.2551192,"altitude":10,"angle":135,"satellites":46,"speed":61,"hex_longitude":"2d31df80","hex_latitude":"06b56518","is_valid_coordinates":true} 
[2026-07-07 02:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542778880001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340076511224659968,"note":"Value kept but may cause issues"} 
[2026-07-07 02:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3586694919550416896,"note":"Value kept but may cause issues"} 
[2026-07-07 02:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783370236000,"timestamp_ms":1783370236000,"timestamp_seconds":1783370236,"priority":1,"record_length":96,"hex_timestamp":"0000019f39264060"} 
[2026-07-07 02:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:08: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-07-07 02:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 02:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":123944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":123944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":123944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542778880001,"66":27332,"170":206,"81":23552,"24":61,"16":340076511224659968,"45":3586694919550416896},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-07-07 02:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542778880001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:08:38] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-07 02:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340076511224659968,"km_value":340076511224659.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3586694919550416896,"description":"Unknown IO ID 45"} 
[2026-07-07 02:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542778880001,"power":27332,"unknown_170":206,"unknown_81":23552,"ignition":61,"odometer":null,"unknown_45":3586694919550416896}} 
[2026-07-07 02:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":123944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:08:38] local.INFO: GPS data processed {"connection_id":123944,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:08:38] local.INFO: Acknowledgment sent {"connection_id":123944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:09:05] local.INFO: TCP Data received {"connection_id":124049,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:09:05] local.INFO: Processing buffer {"connection_id":124049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:09:05] local.INFO: IMEI packet received {"connection_id":124049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":124049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:09:06] local.INFO: TCP Data received {"connection_id":124049,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:09:06] local.INFO: Processing buffer {"connection_id":124049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:09:06] local.INFO: IMEI packet received {"connection_id":124049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":124049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:09:08] local.INFO: TCP Data received {"connection_id":124049,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f392657d0012d31f90006b54ce0000a00822e..."} 
[2026-07-07 02:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f392657d0012d31f90006b54ce0000a00822e..."} 
[2026-07-07 02:09:08] local.INFO: Processing buffer {"connection_id":124049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f392657d0012d31f90006b54ce0000a00822e..."} 
[2026-07-07 02:09:08] local.INFO: Packet analysis {"connection_id":124049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3926"} 
[2026-07-07 02:09:08] local.INFO: Extracted packet for processing {"connection_id":124049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3926"} 
[2026-07-07 02:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758249728,"raw_latitude":112544992,"longitude_deg":75.8249728,"latitude_deg":11.2544992,"altitude":10,"angle":130,"satellites":46,"speed":58,"hex_longitude":"2d31f900","hex_latitude":"06b54ce0","is_valid_coordinates":true} 
[2026-07-07 02:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542780416001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340076945016356864,"note":"Value kept but may cause issues"} 
[2026-07-07 02:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3593731793966405632,"note":"Value kept but may cause issues"} 
[2026-07-07 02:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783370242000,"timestamp_ms":1783370242000,"timestamp_seconds":1783370242,"priority":1,"record_length":96,"hex_timestamp":"0000019f392657d0"} 
[2026-07-07 02:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:09: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-07-07 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 02:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542780416001,"66":27213,"170":206,"81":23552,"24":58,"16":340076945016356864,"45":3593731793966405632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-07-07 02:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542780416001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:09:08] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-07 02:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340076945016356864,"km_value":340076945016356.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3593731793966405632,"description":"Unknown IO ID 45"} 
[2026-07-07 02:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542780416001,"power":27213,"unknown_170":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3593731793966405632}} 
[2026-07-07 02:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":124049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:09:08] local.INFO: GPS data processed {"connection_id":124049,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:09:08] local.INFO: Acknowledgment sent {"connection_id":124049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:09:39] local.INFO: TCP Data received {"connection_id":124049,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3927a3d8012d3382c006b47528000f008730..."} 
[2026-07-07 02:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3927a3d8012d3382c006b47528000f008730..."} 
[2026-07-07 02:09:40] local.INFO: Processing buffer {"connection_id":124049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3927a3d8012d3382c006b47528000f008730..."} 
[2026-07-07 02:09:40] local.INFO: Packet analysis {"connection_id":124049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3927"} 
[2026-07-07 02:09:40] local.INFO: Extracted packet for processing {"connection_id":124049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3927"} 
[2026-07-07 02:09:40] local.INFO: GPS Element Parsed {"raw_longitude":758350528,"raw_latitude":112489768,"longitude_deg":75.8350528,"latitude_deg":11.2489768,"altitude":15,"angle":135,"satellites":48,"speed":58,"hex_longitude":"2d3382c0","hex_latitude":"06b47528","is_valid_coordinates":true} 
[2026-07-07 02:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542803712001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340082459754364928,"note":"Value kept but may cause issues"} 
[2026-07-07 02:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3711740177936623616,"note":"Value kept but may cause issues"} 
[2026-07-07 02:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783370327000,"timestamp_ms":1783370327000,"timestamp_seconds":1783370327,"priority":1,"record_length":96,"hex_timestamp":"0000019f3927a3d8"} 
[2026-07-07 02:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02: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-07-07 02: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":77,"data_length":795,"current_offset":136} 
[2026-07-07 02:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542803712001,"66":27213,"254":206,"81":23552,"24":58,"16":340082459754364928,"45":3711740177936623616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,81,24,16,45]} 
[2026-07-07 02:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542803712001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:09:40] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-07 02:09:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340082459754364928,"km_value":340082459754364.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3711740177936623616,"description":"Unknown IO ID 45"} 
[2026-07-07 02:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542803712001,"power":27213,"unknown_254":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3711740177936623616}} 
[2026-07-07 02:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":124049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:09:40] local.INFO: GPS data processed {"connection_id":124049,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:09:40] local.INFO: Acknowledgment sent {"connection_id":124049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:10:03] local.INFO: TCP Data received {"connection_id":124716,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:10:03] local.INFO: Processing buffer {"connection_id":124716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:10:03] local.INFO: IMEI packet received {"connection_id":124716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":124716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:10:05] local.INFO: TCP Data received {"connection_id":124716,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:10:05] local.INFO: Processing buffer {"connection_id":124716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:10:05] local.INFO: IMEI packet received {"connection_id":124716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":124716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:10:09] local.INFO: TCP Data received {"connection_id":124716,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:10:09] local.INFO: Processing buffer {"connection_id":124716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:10:09] local.INFO: IMEI packet received {"connection_id":124716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":124716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:10:11] local.INFO: TCP Data received {"connection_id":124716,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3927bb48012d33984006b45ad8000f00932e..."} 
[2026-07-07 02:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3927bb48012d33984006b45ad8000f00932e..."} 
[2026-07-07 02:10:11] local.INFO: Processing buffer {"connection_id":124716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3927bb48012d33984006b45ad8000f00932e..."} 
[2026-07-07 02:10:11] local.INFO: Packet analysis {"connection_id":124716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3927"} 
[2026-07-07 02:10:11] local.INFO: Extracted packet for processing {"connection_id":124716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3927"} 
[2026-07-07 02:10:11] local.INFO: GPS Element Parsed {"raw_longitude":758356032,"raw_latitude":112483032,"longitude_deg":75.8356032,"latitude_deg":11.2483032,"altitude":15,"angle":147,"satellites":46,"speed":55,"hex_longitude":"2d339840","hex_latitude":"06b45ad8","is_valid_coordinates":true} 
[2026-07-07 02:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542803712001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340082876366192640,"note":"Value kept but may cause issues"} 
[2026-07-07 02:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3711740177936623616,"note":"Value kept but may cause issues"} 
[2026-07-07 02:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783370333000,"timestamp_ms":1783370333000,"timestamp_seconds":1783370333,"priority":1,"record_length":96,"hex_timestamp":"0000019f3927bb48"} 
[2026-07-07 02:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02: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-07-07 02:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 02:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542803712001,"66":27213,"254":206,"81":23552,"24":55,"16":340082876366192640,"45":3711740177936623616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,81,24,16,45]} 
[2026-07-07 02:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542803712001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:10:11] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-07 02:10:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340082876366192640,"km_value":340082876366192.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3711740177936623616,"description":"Unknown IO ID 45"} 
[2026-07-07 02:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542803712001,"power":27213,"unknown_254":206,"unknown_81":23552,"ignition":55,"odometer":null,"unknown_45":3711740177936623616}} 
[2026-07-07 02:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":124716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:10:11] local.INFO: GPS data processed {"connection_id":124716,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:10:11] local.INFO: Acknowledgment sent {"connection_id":124716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:10:14] local.INFO: TCP Data received {"connection_id":124716,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3927d6a0012d33ab0006b439a8001100982b..."} 
[2026-07-07 02:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3927d6a0012d33ab0006b439a8001100982b..."} 
[2026-07-07 02:10:14] local.INFO: Processing buffer {"connection_id":124716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3927d6a0012d33ab0006b439a8001100982b..."} 
[2026-07-07 02:10:14] local.INFO: Packet analysis {"connection_id":124716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3927"} 
[2026-07-07 02:10:14] local.INFO: Extracted packet for processing {"connection_id":124716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3927"} 
[2026-07-07 02:10:14] local.INFO: GPS Element Parsed {"raw_longitude":758360832,"raw_latitude":112474536,"longitude_deg":75.8360832,"latitude_deg":11.2474536,"altitude":17,"angle":152,"satellites":43,"speed":52,"hex_longitude":"2d33ab00","hex_latitude":"06b439a8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 02:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542805248001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340083348812595200,"note":"Value kept but may cause issues"} 
[2026-07-07 02:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3717791889934178304,"note":"Value kept but may cause issues"} 
[2026-07-07 02:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783370340000,"timestamp_ms":1783370340000,"timestamp_seconds":1783370340,"priority":1,"record_length":96,"hex_timestamp":"0000019f3927d6a0"} 
[2026-07-07 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-07-07 02:10: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-07-07 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 02:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 02:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542805248001,"66":27321,"254":206,"81":23552,"24":52,"16":340083348812595200,"45":3717791889934178304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,81,24,16,45]} 
[2026-07-07 02:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542805248001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:10:14] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-07 02:10:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340083348812595200,"km_value":340083348812595.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3717791889934178304,"description":"Unknown IO ID 45"} 
[2026-07-07 02:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542805248001,"power":27321,"unknown_254":206,"unknown_81":23552,"ignition":52,"odometer":null,"unknown_45":3717791889934178304}} 
[2026-07-07 02:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":124716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:10:14] local.INFO: GPS data processed {"connection_id":124716,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:10:14] local.INFO: Acknowledgment sent {"connection_id":124716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:10:46] local.INFO: TCP Data received {"connection_id":124716,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3927ee10012d33b74006b41ea8001400a32b..."} 
[2026-07-07 02:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3927ee10012d33b74006b41ea8001400a32b..."} 
[2026-07-07 02:10:46] local.INFO: Processing buffer {"connection_id":124716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3927ee10012d33b74006b41ea8001400a32b..."} 
[2026-07-07 02:10:46] local.INFO: Packet analysis {"connection_id":124716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3927"} 
[2026-07-07 02:10:46] local.INFO: Extracted packet for processing {"connection_id":124716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3927"} 
[2026-07-07 02:10:46] local.INFO: GPS Element Parsed {"raw_longitude":758363968,"raw_latitude":112467624,"longitude_deg":75.8363968,"latitude_deg":11.2467624,"altitude":20,"angle":163,"satellites":43,"speed":48,"hex_longitude":"2d33b740","hex_latitude":"06b41ea8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 02:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542807040001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340083713884815360,"note":"Value kept but may cause issues"} 
[2026-07-07 02:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3723069545745328128,"note":"Value kept but may cause issues"} 
[2026-07-07 02:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783370346000,"timestamp_ms":1783370346000,"timestamp_seconds":1783370346,"priority":1,"record_length":96,"hex_timestamp":"0000019f3927ee10"} 
[2026-07-07 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-07-07 02:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 02:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 02:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542807040001,"66":27376,"254":206,"81":23552,"24":48,"16":340083713884815360,"45":3723069545745328128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,81,24,16,45]} 
[2026-07-07 02:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542807040001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:10:46] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-07 02:10:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340083713884815360,"km_value":340083713884815.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3723069545745328128,"description":"Unknown IO ID 45"} 
[2026-07-07 02:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542807040001,"power":27376,"unknown_254":206,"unknown_81":23552,"ignition":48,"odometer":null,"unknown_45":3723069545745328128}} 
[2026-07-07 02:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":124716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:10:46] local.INFO: GPS data processed {"connection_id":124716,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:10:46] local.INFO: Acknowledgment sent {"connection_id":124716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:11:00] local.INFO: TCP Data received {"connection_id":123945,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:11:00] local.INFO: Processing buffer {"connection_id":123945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:11:00] local.INFO: IMEI packet received {"connection_id":123945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":123945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:11:05] local.INFO: TCP Data received {"connection_id":123945,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:11:05] local.INFO: Processing buffer {"connection_id":123945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:11:05] local.INFO: IMEI packet received {"connection_id":123945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":123945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:11:06] local.INFO: TCP Data received {"connection_id":123945,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39280198012d33bb4006b40738001500b02d..."} 
[2026-07-07 02:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39280198012d33bb4006b40738001500b02d..."} 
[2026-07-07 02:11:06] local.INFO: Processing buffer {"connection_id":123945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39280198012d33bb4006b40738001500b02d..."} 
[2026-07-07 02:11:06] local.INFO: Packet analysis {"connection_id":123945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3928"} 
[2026-07-07 02:11:06] local.INFO: Extracted packet for processing {"connection_id":123945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3928"} 
[2026-07-07 02:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758364992,"raw_latitude":112461624,"longitude_deg":75.8364992,"latitude_deg":11.2461624,"altitude":21,"angle":176,"satellites":45,"speed":49,"hex_longitude":"2d33bb40","hex_latitude":"06b40738","is_valid_coordinates":true} 
[2026-07-07 02:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542808576001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340084010237558784,"note":"Value kept but may cause issues"} 
[2026-07-07 02:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3726517614208264192,"note":"Value kept but may cause issues"} 
[2026-07-07 02:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783370351000,"timestamp_ms":1783370351000,"timestamp_seconds":1783370351,"priority":1,"record_length":96,"hex_timestamp":"0000019f39280198"} 
[2026-07-07 02:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 02:11: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-07-07 02:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":123945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":123945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":123945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542808576001,"66":27245,"254":206,"81":23552,"24":49,"16":340084010237558784,"45":3726517614208264192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,81,24,16,45]} 
[2026-07-07 02:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542808576001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:11:06] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-07 02:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340084010237558784,"km_value":340084010237558.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3726517614208264192,"description":"Unknown IO ID 45"} 
[2026-07-07 02:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542808576001,"power":27245,"unknown_254":206,"unknown_81":23552,"ignition":49,"odometer":null,"unknown_45":3726517614208264192}} 
[2026-07-07 02:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":123945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:11:06] local.INFO: GPS data processed {"connection_id":123945,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:11:06] local.INFO: Acknowledgment sent {"connection_id":123945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:11:38] local.INFO: TCP Data received {"connection_id":123945,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39296128012d34434006b2ef100010007c2f..."} 
[2026-07-07 02:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39296128012d34434006b2ef100010007c2f..."} 
[2026-07-07 02:11:38] local.INFO: Processing buffer {"connection_id":123945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39296128012d34434006b2ef100010007c2f..."} 
[2026-07-07 02:11:38] local.INFO: Packet analysis {"connection_id":123945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3929"} 
[2026-07-07 02:11:38] local.INFO: Extracted packet for processing {"connection_id":123945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3929"} 
[2026-07-07 02:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758399808,"raw_latitude":112389904,"longitude_deg":75.8399808,"latitude_deg":11.2389904,"altitude":16,"angle":124,"satellites":47,"speed":33,"hex_longitude":"2d344340","hex_latitude":"06b2ef10","is_valid_coordinates":true} 
[2026-07-07 02:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542829568001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340088219305508864,"note":"Value kept but may cause issues"} 
[2026-07-07 02:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3757972442837235712,"note":"Value kept but may cause issues"} 
[2026-07-07 02:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783370441000,"timestamp_ms":1783370441000,"timestamp_seconds":1783370441,"priority":1,"record_length":96,"hex_timestamp":"0000019f39296128"} 
[2026-07-07 02:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:11: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-07-07 02:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 02:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":123945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":123945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":123945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542829568001,"66":27463,"225":206,"81":23552,"24":33,"16":340088219305508864,"45":3757972442837235712},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-07-07 02:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542829568001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:11:38] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-07 02:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340088219305508864,"km_value":340088219305508.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3757972442837235712,"description":"Unknown IO ID 45"} 
[2026-07-07 02:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542829568001,"power":27463,"unknown_225":206,"unknown_81":23552,"ignition":33,"odometer":null,"unknown_45":3757972442837235712}} 
[2026-07-07 02:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":123945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:11:38] local.INFO: GPS data processed {"connection_id":123945,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:11:38] local.INFO: Acknowledgment sent {"connection_id":123945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:12:00] local.INFO: TCP Data received {"connection_id":124051,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124051,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:12:00] local.INFO: Processing buffer {"connection_id":124051,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:12:00] local.INFO: IMEI packet received {"connection_id":124051,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 02:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":124051,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:12:00] local.INFO: TCP Data received {"connection_id":124050,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:12:00] local.INFO: Processing buffer {"connection_id":124050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:12:00] local.INFO: IMEI packet received {"connection_id":124050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":124050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:12:01] local.INFO: TCP Data received {"connection_id":124050,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:12:01] local.INFO: Processing buffer {"connection_id":124050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:12:01] local.INFO: IMEI packet received {"connection_id":124050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":124050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:12:05] local.INFO: TCP Data received {"connection_id":124050,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:12:05] local.INFO: Processing buffer {"connection_id":124050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:12:05] local.INFO: IMEI packet received {"connection_id":124050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":124050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:12:06] local.INFO: TCP Data received {"connection_id":124050,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39296128012d34434006b2ef100010007c2f..."} 
[2026-07-07 02:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39296128012d34434006b2ef100010007c2f..."} 
[2026-07-07 02:12:06] local.INFO: Processing buffer {"connection_id":124050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39296128012d34434006b2ef100010007c2f..."} 
[2026-07-07 02:12:06] local.INFO: Packet analysis {"connection_id":124050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3929"} 
[2026-07-07 02:12:06] local.INFO: Extracted packet for processing {"connection_id":124050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3929"} 
[2026-07-07 02:12:06] local.INFO: GPS Element Parsed {"raw_longitude":758399808,"raw_latitude":112389904,"longitude_deg":75.8399808,"latitude_deg":11.2389904,"altitude":16,"angle":124,"satellites":47,"speed":33,"hex_longitude":"2d344340","hex_latitude":"06b2ef10","is_valid_coordinates":true} 
[2026-07-07 02:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542832896001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340088219305508864,"note":"Value kept but may cause issues"} 
[2026-07-07 02:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3765924110927859712,"note":"Value kept but may cause issues"} 
[2026-07-07 02:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783370441000,"timestamp_ms":1783370441000,"timestamp_seconds":1783370441,"priority":1,"record_length":96,"hex_timestamp":"0000019f39296128"} 
[2026-07-07 02:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 02:12: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-07-07 02:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542832896001,"66":27463,"225":206,"81":23552,"24":33,"16":340088219305508864,"45":3765924110927859712},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-07-07 02:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542832896001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:12:06] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-07 02:12:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340088219305508864,"km_value":340088219305508.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3765924110927859712,"description":"Unknown IO ID 45"} 
[2026-07-07 02:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542832896001,"power":27463,"unknown_225":206,"unknown_81":23552,"ignition":33,"odometer":null,"unknown_45":3765924110927859712}} 
[2026-07-07 02:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":124050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:12:06] local.INFO: GPS data processed {"connection_id":124050,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:12:06] local.INFO: Acknowledgment sent {"connection_id":124050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:12:11] local.INFO: TCP Data received {"connection_id":124050,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39298c20012d34634006b2da00000e007930..."} 
[2026-07-07 02:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39298c20012d34634006b2da00000e007930..."} 
[2026-07-07 02:12:11] local.INFO: Processing buffer {"connection_id":124050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39298c20012d34634006b2da00000e007930..."} 
[2026-07-07 02:12:11] local.INFO: Packet analysis {"connection_id":124050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3929"} 
[2026-07-07 02:12:11] local.INFO: Extracted packet for processing {"connection_id":124050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3929"} 
[2026-07-07 02:12:11] local.INFO: GPS Element Parsed {"raw_longitude":758408000,"raw_latitude":112384512,"longitude_deg":75.8408,"latitude_deg":11.2384512,"altitude":14,"angle":121,"satellites":48,"speed":39,"hex_longitude":"2d346340","hex_latitude":"06b2da00","is_valid_coordinates":true} 
[2026-07-07 02:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542832896001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340088687456944128,"note":"Value kept but may cause issues"} 
[2026-07-07 02:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3765924110927859712,"note":"Value kept but may cause issues"} 
[2026-07-07 02:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783370452000,"timestamp_ms":1783370452000,"timestamp_seconds":1783370452,"priority":1,"record_length":96,"hex_timestamp":"0000019f39298c20"} 
[2026-07-07 02:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:12: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-07-07 02:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 02:12: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-07-07 02:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542832896001,"66":27321,"225":206,"81":23552,"24":39,"16":340088687456944128,"45":3765924110927859712},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-07-07 02:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542832896001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:12:11] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-07 02:12:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340088687456944128,"km_value":340088687456944.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3765924110927859712,"description":"Unknown IO ID 45"} 
[2026-07-07 02:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542832896001,"power":27321,"unknown_225":206,"unknown_81":23552,"ignition":39,"odometer":null,"unknown_45":3765924110927859712}} 
[2026-07-07 02:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":124050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:12:11] local.INFO: GPS data processed {"connection_id":124050,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:12:11] local.INFO: Acknowledgment sent {"connection_id":124050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:12:42] local.INFO: TCP Data received {"connection_id":124050,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3929af48012d3484c006b2c5f0000b007b2f..."} 
[2026-07-07 02:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3929af48012d3484c006b2c5f0000b007b2f..."} 
[2026-07-07 02:12:42] local.INFO: Processing buffer {"connection_id":124050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3929af48012d3484c006b2c5f0000b007b2f..."} 
[2026-07-07 02:12:42] local.INFO: Packet analysis {"connection_id":124050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3929"} 
[2026-07-07 02:12:42] local.INFO: Extracted packet for processing {"connection_id":124050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3929"} 
[2026-07-07 02:12:42] local.INFO: GPS Element Parsed {"raw_longitude":758416576,"raw_latitude":112379376,"longitude_deg":75.8416576,"latitude_deg":11.2379376,"altitude":11,"angle":123,"satellites":47,"speed":47,"hex_longitude":"2d3484c0","hex_latitude":"06b2c5f0","is_valid_coordinates":true} 
[2026-07-07 02:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542835712001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340089164198313984,"note":"Value kept but may cause issues"} 
[2026-07-07 02:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3774931310181220352,"note":"Value kept but may cause issues"} 
[2026-07-07 02:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783370461000,"timestamp_ms":1783370461000,"timestamp_seconds":1783370461,"priority":1,"record_length":96,"hex_timestamp":"0000019f3929af48"} 
[2026-07-07 02:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:12: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-07-07 02:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 02:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542835712001,"66":27082,"225":206,"81":23552,"24":47,"16":340089164198313984,"45":3774931310181220352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-07-07 02:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542835712001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:12:42] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-07 02:12:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340089164198313984,"km_value":340089164198314.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3774931310181220352,"description":"Unknown IO ID 45"} 
[2026-07-07 02:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542835712001,"power":27082,"unknown_225":206,"unknown_81":23552,"ignition":47,"odometer":null,"unknown_45":3774931310181220352}} 
[2026-07-07 02:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":124050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:12:42] local.INFO: GPS data processed {"connection_id":124050,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:12:42] local.INFO: Acknowledgment sent {"connection_id":124050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:12:58] local.INFO: TCP Data received {"connection_id":125955,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:12:58] local.INFO: Processing buffer {"connection_id":125955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:12:58] local.INFO: IMEI packet received {"connection_id":125955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":125955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:13:01] local.INFO: TCP Data received {"connection_id":125955,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:13:01] local.INFO: Processing buffer {"connection_id":125955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:13:01] local.INFO: IMEI packet received {"connection_id":125955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":125955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:13:06] local.INFO: TCP Data received {"connection_id":125955,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:13:06] local.INFO: Processing buffer {"connection_id":125955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:13:06] local.INFO: IMEI packet received {"connection_id":125955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":125955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:13:08] local.INFO: TCP Data received {"connection_id":125955,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3929ce88012d34a48006b2af70000a007f30..."} 
[2026-07-07 02:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3929ce88012d34a48006b2af70000a007f30..."} 
[2026-07-07 02:13:08] local.INFO: Processing buffer {"connection_id":125955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3929ce88012d34a48006b2af70000a007f30..."} 
[2026-07-07 02:13:08] local.INFO: Packet analysis {"connection_id":125955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3929"} 
[2026-07-07 02:13:08] local.INFO: Extracted packet for processing {"connection_id":125955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3929"} 
[2026-07-07 02:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758424704,"raw_latitude":112373616,"longitude_deg":75.8424704,"latitude_deg":11.2373616,"altitude":10,"angle":127,"satellites":48,"speed":47,"hex_longitude":"2d34a480","hex_latitude":"06b2af70","is_valid_coordinates":true} 
[2026-07-07 02:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542838016001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340089640939683840,"note":"Value kept but may cause issues"} 
[2026-07-07 02:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3784360721899712512,"note":"Value kept but may cause issues"} 
[2026-07-07 02:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783370469000,"timestamp_ms":1783370469000,"timestamp_seconds":1783370469,"priority":1,"record_length":96,"hex_timestamp":"0000019f3929ce88"} 
[2026-07-07 02:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:13: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-07-07 02:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-07 02:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542838016001,"66":27213,"225":206,"81":23552,"24":47,"16":340089640939683840,"45":3784360721899712512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-07-07 02:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542838016001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:13:08] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-07 02:13:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340089640939683840,"km_value":340089640939683.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3784360721899712512,"description":"Unknown IO ID 45"} 
[2026-07-07 02:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542838016001,"power":27213,"unknown_225":206,"unknown_81":23552,"ignition":47,"odometer":null,"unknown_45":3784360721899712512}} 
[2026-07-07 02:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":125955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:13:08] local.INFO: GPS data processed {"connection_id":125955,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:13:08] local.INFO: Acknowledgment sent {"connection_id":125955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:13:44] local.INFO: TCP Data received {"connection_id":125955,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f392b5910012d35fa4006b1cb40001100882f..."} 
[2026-07-07 02:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f392b5910012d35fa4006b1cb40001100882f..."} 
[2026-07-07 02:13:44] local.INFO: Processing buffer {"connection_id":125955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f392b5910012d35fa4006b1cb40001100882f..."} 
[2026-07-07 02:13:44] local.INFO: Packet analysis {"connection_id":125955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f392b"} 
[2026-07-07 02:13:44] local.INFO: Extracted packet for processing {"connection_id":125955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f392b"} 
[2026-07-07 02:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758512192,"raw_latitude":112315200,"longitude_deg":75.8512192,"latitude_deg":11.23152,"altitude":17,"angle":136,"satellites":47,"speed":45,"hex_longitude":"2d35fa40","hex_latitude":"06b1cb40","is_valid_coordinates":true} 
[2026-07-07 02:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542863872001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340094687526256640,"note":"Value kept but may cause issues"} 
[2026-07-07 02:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3881610326338369536,"note":"Value kept but may cause issues"} 
[2026-07-07 02:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783370570000,"timestamp_ms":1783370570000,"timestamp_seconds":1783370570,"priority":1,"record_length":96,"hex_timestamp":"0000019f392b5910"} 
[2026-07-07 02:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:13: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-07-07 02: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":77,"data_length":795,"current_offset":136} 
[2026-07-07 02:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":125955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":125955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":125955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542863872001,"66":27332,"222":206,"81":23552,"24":45,"16":340094687526256640,"45":3881610326338369536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,81,24,16,45]} 
[2026-07-07 02:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542863872001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:13:44] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-07-07 02:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340094687526256640,"km_value":340094687526256.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3881610326338369536,"description":"Unknown IO ID 45"} 
[2026-07-07 02:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542863872001,"power":27332,"unknown_222":206,"unknown_81":23552,"ignition":45,"odometer":null,"unknown_45":3881610326338369536}} 
[2026-07-07 02:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":125955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:13:44] local.INFO: GPS data processed {"connection_id":125955,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:13:44] local.INFO: Acknowledgment sent {"connection_id":125955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:14:00] local.INFO: TCP Data received {"connection_id":124053,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:14:00] local.INFO: Processing buffer {"connection_id":124053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:14:00] local.INFO: IMEI packet received {"connection_id":124053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":124053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:14:01] local.INFO: TCP Data received {"connection_id":124053,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:14:01] local.INFO: Processing buffer {"connection_id":124053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:14:01] local.INFO: IMEI packet received {"connection_id":124053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":124053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:14:05] local.INFO: TCP Data received {"connection_id":124053,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:14:05] local.INFO: Processing buffer {"connection_id":124053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:14:05] local.INFO: IMEI packet received {"connection_id":124053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":124053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:14:07] local.INFO: TCP Data received {"connection_id":124053,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f392b5910012d35fa4006b1cb40001100882f..."} 
[2026-07-07 02:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f392b5910012d35fa4006b1cb40001100882f..."} 
[2026-07-07 02:14:07] local.INFO: Processing buffer {"connection_id":124053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f392b5910012d35fa4006b1cb40001100882f..."} 
[2026-07-07 02:14:07] local.INFO: Packet analysis {"connection_id":124053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f392b"} 
[2026-07-07 02:14:07] local.INFO: Extracted packet for processing {"connection_id":124053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f392b"} 
[2026-07-07 02:14:07] local.INFO: GPS Element Parsed {"raw_longitude":758512192,"raw_latitude":112315200,"longitude_deg":75.8512192,"latitude_deg":11.23152,"altitude":17,"angle":136,"satellites":47,"speed":45,"hex_longitude":"2d35fa40","hex_latitude":"06b1cb40","is_valid_coordinates":true} 
[2026-07-07 02:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542865920001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340094687526256640,"note":"Value kept but may cause issues"} 
[2026-07-07 02:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3889491625684713472,"note":"Value kept but may cause issues"} 
[2026-07-07 02:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783370570000,"timestamp_ms":1783370570000,"timestamp_seconds":1783370570,"priority":1,"record_length":96,"hex_timestamp":"0000019f392b5910"} 
[2026-07-07 02:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 02:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542865920001,"66":27332,"222":206,"81":23552,"24":45,"16":340094687526256640,"45":3889491625684713472},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,81,24,16,45]} 
[2026-07-07 02:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542865920001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:14:07] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-07-07 02:14:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340094687526256640,"km_value":340094687526256.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3889491625684713472,"description":"Unknown IO ID 45"} 
[2026-07-07 02:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542865920001,"power":27332,"unknown_222":206,"unknown_81":23552,"ignition":45,"odometer":null,"unknown_45":3889491625684713472}} 
[2026-07-07 02:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":124053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:14:07] local.INFO: GPS data processed {"connection_id":124053,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:14:07] local.INFO: Acknowledgment sent {"connection_id":124053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:14:38] local.INFO: TCP Data received {"connection_id":124053,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f392b7080012d360ac006b1b560001200942f..."} 
[2026-07-07 02:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f392b7080012d360ac006b1b560001200942f..."} 
[2026-07-07 02:14:38] local.INFO: Processing buffer {"connection_id":124053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f392b7080012d360ac006b1b560001200942f..."} 
[2026-07-07 02:14:38] local.INFO: Packet analysis {"connection_id":124053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f392b"} 
[2026-07-07 02:14:38] local.INFO: Extracted packet for processing {"connection_id":124053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f392b"} 
[2026-07-07 02:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758516416,"raw_latitude":112309600,"longitude_deg":75.8516416,"latitude_deg":11.23096,"altitude":18,"angle":148,"satellites":47,"speed":46,"hex_longitude":"2d360ac0","hex_latitude":"06b1b560","is_valid_coordinates":true} 
[2026-07-07 02:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542865920001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340095022533705728,"note":"Value kept but may cause issues"} 
[2026-07-07 02:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3889491625684713472,"note":"Value kept but may cause issues"} 
[2026-07-07 02:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783370576000,"timestamp_ms":1783370576000,"timestamp_seconds":1783370576,"priority":1,"record_length":96,"hex_timestamp":"0000019f392b7080"} 
[2026-07-07 02:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:14: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-07-07 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 02:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542865920001,"66":27397,"222":206,"81":23552,"24":46,"16":340095022533705728,"45":3889491625684713472},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,81,24,16,45]} 
[2026-07-07 02:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542865920001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:14:38] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-07-07 02:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340095022533705728,"km_value":340095022533705.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3889491625684713472,"description":"Unknown IO ID 45"} 
[2026-07-07 02:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542865920001,"power":27397,"unknown_222":206,"unknown_81":23552,"ignition":46,"odometer":null,"unknown_45":3889491625684713472}} 
[2026-07-07 02:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":124053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:14:38] local.INFO: GPS data processed {"connection_id":124053,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:14:38] local.INFO: Acknowledgment sent {"connection_id":124053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:15:34] local.INFO: TCP Data received {"connection_id":123947,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:15:34] local.INFO: Processing buffer {"connection_id":123947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:15:34] local.INFO: IMEI packet received {"connection_id":123947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":123947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:15:35] local.INFO: TCP Data received {"connection_id":123947,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:15:35] local.INFO: Processing buffer {"connection_id":123947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:15:35] local.INFO: IMEI packet received {"connection_id":123947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":123947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:15:40] local.INFO: TCP Data received {"connection_id":123947,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:15:40] local.INFO: Processing buffer {"connection_id":123947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:15:40] local.INFO: IMEI packet received {"connection_id":123947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":123947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:15:42] local.INFO: TCP Data received {"connection_id":123947,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f392c85d8012d36ab0006b03fa8000b009c2f..."} 
[2026-07-07 02:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f392c85d8012d36ab0006b03fa8000b009c2f..."} 
[2026-07-07 02:15:42] local.INFO: Processing buffer {"connection_id":123947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f392c85d8012d36ab0006b03fa8000b009c2f..."} 
[2026-07-07 02:15:42] local.INFO: Packet analysis {"connection_id":123947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f392c"} 
[2026-07-07 02:15:42] local.INFO: Extracted packet for processing {"connection_id":123947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f392c"} 
[2026-07-07 02:15:42] local.INFO: GPS Element Parsed {"raw_longitude":758557440,"raw_latitude":112213928,"longitude_deg":75.855744,"latitude_deg":11.2213928,"altitude":11,"angle":156,"satellites":47,"speed":54,"hex_longitude":"2d36ab00","hex_latitude":"06b03fa8","is_valid_coordinates":true} 
[2026-07-07 02:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542883840001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340100060530343936,"note":"Value kept but may cause issues"} 
[2026-07-07 02:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3934879465655730176,"note":"Value kept but may cause issues"} 
[2026-07-07 02:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783370647000,"timestamp_ms":1783370647000,"timestamp_seconds":1783370647,"priority":1,"record_length":96,"hex_timestamp":"0000019f392c85d8"} 
[2026-07-07 02:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:15: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-07-07 02: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":5,"data_length":795,"current_offset":136} 
[2026-07-07 02:15: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-07-07 02:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542883840001,"66":27484,"85":206,"81":23552,"24":54,"16":340100060530343936,"45":3934879465655730176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-07-07 02:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542883840001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:15:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-07 02:15:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340100060530343936,"km_value":340100060530343.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3934879465655730176,"description":"Unknown IO ID 45"} 
[2026-07-07 02:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542883840001,"power":27484,"unknown_85":206,"unknown_81":23552,"ignition":54,"odometer":null,"unknown_45":3934879465655730176}} 
[2026-07-07 02:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":123947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:15:42] local.INFO: GPS data processed {"connection_id":123947,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:15:42] local.INFO: Acknowledgment sent {"connection_id":123947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:16:05] local.INFO: TCP Data received {"connection_id":124054,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:16:05] local.INFO: Processing buffer {"connection_id":124054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:16:05] local.INFO: IMEI packet received {"connection_id":124054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":124054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:16:06] local.INFO: TCP Data received {"connection_id":124054,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:16:06] local.INFO: Processing buffer {"connection_id":124054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:16:06] local.INFO: IMEI packet received {"connection_id":124054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":124054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:16:10] local.INFO: TCP Data received {"connection_id":124054,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:16:10] local.INFO: Processing buffer {"connection_id":124054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:16:10] local.INFO: IMEI packet received {"connection_id":124054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":124054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:16:12] local.INFO: TCP Data received {"connection_id":124054,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f392ca130012d36ba8006b01db8000c009b2f..."} 
[2026-07-07 02:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f392ca130012d36ba8006b01db8000c009b2f..."} 
[2026-07-07 02:16:12] local.INFO: Processing buffer {"connection_id":124054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f392ca130012d36ba8006b01db8000c009b2f..."} 
[2026-07-07 02:16:12] local.INFO: Packet analysis {"connection_id":124054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f392c"} 
[2026-07-07 02:16:12] local.INFO: Extracted packet for processing {"connection_id":124054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f392c"} 
[2026-07-07 02:16:12] local.INFO: GPS Element Parsed {"raw_longitude":758561408,"raw_latitude":112205240,"longitude_deg":75.8561408,"latitude_deg":11.220524,"altitude":12,"angle":155,"satellites":47,"speed":54,"hex_longitude":"2d36ba80","hex_latitude":"06b01db8","is_valid_coordinates":true} 
[2026-07-07 02: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-07-07 02:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542885632001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340100520091844608,"note":"Value kept but may cause issues"} 
[2026-07-07 02:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3939242327792396288,"note":"Value kept but may cause issues"} 
[2026-07-07 02:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783370654000,"timestamp_ms":1783370654000,"timestamp_seconds":1783370654,"priority":1,"record_length":96,"hex_timestamp":"0000019f392ca130"} 
[2026-07-07 02:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:16: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-07-07 02: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 02:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02: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-07-07 02:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542885632001,"66":27310,"85":206,"81":23552,"24":54,"16":340100520091844608,"45":3939242327792396288},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-07-07 02:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542885632001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:16:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-07 02:16:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-07 02:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340100520091844608,"km_value":340100520091844.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3939242327792396288,"description":"Unknown IO ID 45"} 
[2026-07-07 02:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542885632001,"power":27310,"unknown_85":206,"unknown_81":23552,"ignition":54,"odometer":null,"unknown_45":3939242327792396288}} 
[2026-07-07 02:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":124054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:16:12] local.INFO: GPS data processed {"connection_id":124054,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:16:12] local.INFO: Acknowledgment sent {"connection_id":124054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:16:46] local.INFO: TCP Data received {"connection_id":124054,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f392e0890012d37b5c006ae4a30000b00922f..."} 
[2026-07-07 02:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f392e0890012d37b5c006ae4a30000b00922f..."} 
[2026-07-07 02:16:46] local.INFO: Processing buffer {"connection_id":124054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f392e0890012d37b5c006ae4a30000b00922f..."} 
[2026-07-07 02:16:46] local.INFO: Packet analysis {"connection_id":124054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f392e"} 
[2026-07-07 02:16:46] local.INFO: Extracted packet for processing {"connection_id":124054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f392e"} 
[2026-07-07 02:16:46] local.INFO: GPS Element Parsed {"raw_longitude":758625728,"raw_latitude":112085552,"longitude_deg":75.8625728,"latitude_deg":11.2085552,"altitude":11,"angle":146,"satellites":47,"speed":54,"hex_longitude":"2d37b5c0","hex_latitude":"06ae4a30","is_valid_coordinates":true} 
[2026-07-07 02:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542909184001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340107095686774784,"note":"Value kept but may cause issues"} 
[2026-07-07 02:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4008274065800007680,"note":"Value kept but may cause issues"} 
[2026-07-07 02:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783370746000,"timestamp_ms":1783370746000,"timestamp_seconds":1783370746,"priority":1,"record_length":96,"hex_timestamp":"0000019f392e0890"} 
[2026-07-07 02:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 02:16: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-07-07 02:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542909184001,"66":27463,"6":206,"81":49664,"24":54,"16":340107095686774784,"45":4008274065800007680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-07-07 02:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542909184001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:16:46] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-07 02:16:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340107095686774784,"km_value":340107095686774.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4008274065800007680,"description":"Unknown IO ID 45"} 
[2026-07-07 02:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542909184001,"power":27463,"unknown_6":206,"unknown_81":49664,"ignition":54,"odometer":null,"unknown_45":4008274065800007680}} 
[2026-07-07 02:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":124054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:16:46] local.INFO: GPS data processed {"connection_id":124054,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:16:46] local.INFO: Acknowledgment sent {"connection_id":124054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:17:05] local.INFO: TCP Data received {"connection_id":125960,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:17:05] local.INFO: Processing buffer {"connection_id":125960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:17:05] local.INFO: IMEI packet received {"connection_id":125960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":125960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:17:09] local.INFO: TCP Data received {"connection_id":125960,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:17:09] local.INFO: Processing buffer {"connection_id":125960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:17:09] local.INFO: IMEI packet received {"connection_id":125960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":125960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:17:10] local.INFO: TCP Data received {"connection_id":125960,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f392e23e8012d37c88006ae2c00000c00952f..."} 
[2026-07-07 02:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f392e23e8012d37c88006ae2c00000c00952f..."} 
[2026-07-07 02:17:10] local.INFO: Processing buffer {"connection_id":125960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f392e23e8012d37c88006ae2c00000c00952f..."} 
[2026-07-07 02:17:10] local.INFO: Packet analysis {"connection_id":125960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f392e"} 
[2026-07-07 02:17:10] local.INFO: Extracted packet for processing {"connection_id":125960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f392e"} 
[2026-07-07 02:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758630528,"raw_latitude":112077824,"longitude_deg":75.8630528,"latitude_deg":11.2077824,"altitude":12,"angle":149,"satellites":47,"speed":48,"hex_longitude":"2d37c880","hex_latitude":"06ae2c00","is_valid_coordinates":true} 
[2026-07-07 02:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542910976001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340107533773438976,"note":"Value kept but may cause issues"} 
[2026-07-07 02:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4014325777797099520,"note":"Value kept but may cause issues"} 
[2026-07-07 02:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783370753000,"timestamp_ms":1783370753000,"timestamp_seconds":1783370753,"priority":1,"record_length":96,"hex_timestamp":"0000019f392e23e8"} 
[2026-07-07 02:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:17: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-07-07 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 02:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542910976001,"66":27343,"6":206,"81":49664,"24":48,"16":340107533773438976,"45":4014325777797099520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-07-07 02:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542910976001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:17:10] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-07 02:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340107533773438976,"km_value":340107533773439.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4014325777797099520,"description":"Unknown IO ID 45"} 
[2026-07-07 02:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542910976001,"power":27343,"unknown_6":206,"unknown_81":49664,"ignition":48,"odometer":null,"unknown_45":4014325777797099520}} 
[2026-07-07 02:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":125960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:17:10] local.INFO: GPS data processed {"connection_id":125960,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:17:10] local.INFO: Acknowledgment sent {"connection_id":125960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:17:14] local.INFO: TCP Data received {"connection_id":125960,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f392e4710012d37d94006ae0d28000d009e2f..."} 
[2026-07-07 02:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f392e4710012d37d94006ae0d28000d009e2f..."} 
[2026-07-07 02:17:14] local.INFO: Processing buffer {"connection_id":125960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f392e4710012d37d94006ae0d28000d009e2f..."} 
[2026-07-07 02:17:14] local.INFO: Packet analysis {"connection_id":125960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f392e"} 
[2026-07-07 02:17:14] local.INFO: Extracted packet for processing {"connection_id":125960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f392e"} 
[2026-07-07 02:17:14] local.INFO: GPS Element Parsed {"raw_longitude":758634816,"raw_latitude":112069928,"longitude_deg":75.8634816,"latitude_deg":11.2069928,"altitude":13,"angle":158,"satellites":47,"speed":34,"hex_longitude":"2d37d940","hex_latitude":"06ae0d28","is_valid_coordinates":true} 
[2026-07-07 02:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542912768001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340107971860103168,"note":"Value kept but may cause issues"} 
[2026-07-07 02:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4019603433608445952,"note":"Value kept but may cause issues"} 
[2026-07-07 02:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783370762000,"timestamp_ms":1783370762000,"timestamp_seconds":1783370762,"priority":1,"record_length":96,"hex_timestamp":"0000019f392e4710"} 
[2026-07-07 02:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:17: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-07-07 02:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 02:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542912768001,"66":27343,"6":206,"81":49664,"24":34,"16":340107971860103168,"45":4019603433608445952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-07-07 02:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542912768001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:17:14] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-07 02:17:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340107971860103168,"km_value":340107971860103.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4019603433608445952,"description":"Unknown IO ID 45"} 
[2026-07-07 02:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542912768001,"power":27343,"unknown_6":206,"unknown_81":49664,"ignition":34,"odometer":null,"unknown_45":4019603433608445952}} 
[2026-07-07 02:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":125960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:17:14] local.INFO: GPS data processed {"connection_id":125960,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:17:14] local.INFO: Acknowledgment sent {"connection_id":125960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:17:21] local.INFO: TCP Data received {"connection_id":125959,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:17:21] local.INFO: Processing buffer {"connection_id":125959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:17:21] local.INFO: IMEI packet received {"connection_id":125959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 02:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":125959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:17:44] local.INFO: TCP Data received {"connection_id":125960,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f392e52c8012d37de4006ae03d0000d00932f..."} 
[2026-07-07 02:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f392e52c8012d37de4006ae03d0000d00932f..."} 
[2026-07-07 02:17:44] local.INFO: Processing buffer {"connection_id":125960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f392e52c8012d37de4006ae03d0000d00932f..."} 
[2026-07-07 02:17:44] local.INFO: Packet analysis {"connection_id":125960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f392e"} 
[2026-07-07 02:17:44] local.INFO: Extracted packet for processing {"connection_id":125960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f392e"} 
[2026-07-07 02:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758636096,"raw_latitude":112067536,"longitude_deg":75.8636096,"latitude_deg":11.2067536,"altitude":13,"angle":147,"satellites":47,"speed":37,"hex_longitude":"2d37de40","hex_latitude":"06ae03d0","is_valid_coordinates":true} 
[2026-07-07 02: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-07-07 02:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542915072001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340108100709122048,"note":"Value kept but may cause issues"} 
[2026-07-07 02:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4024318139466328064,"note":"Value kept but may cause issues"} 
[2026-07-07 02:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783370765000,"timestamp_ms":1783370765000,"timestamp_seconds":1783370765,"priority":1,"record_length":96,"hex_timestamp":"0000019f392e52c8"} 
[2026-07-07 02:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02: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":207,"data_length":795,"current_offset":136} 
[2026-07-07 02:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02: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-07-07 02:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":125960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":125960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":125960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542915072001,"66":27343,"6":206,"81":49664,"24":37,"16":340108100709122048,"45":4024318139466328064},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-07-07 02:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542915072001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:17:44] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-07 02:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340108100709122048,"km_value":340108100709122.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4024318139466328064,"description":"Unknown IO ID 45"} 
[2026-07-07 02:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542915072001,"power":27343,"unknown_6":206,"unknown_81":49664,"ignition":37,"odometer":null,"unknown_45":4024318139466328064}} 
[2026-07-07 02:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":125960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:17:44] local.INFO: GPS data processed {"connection_id":125960,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:17:44] local.INFO: Acknowledgment sent {"connection_id":125960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:18:00] local.INFO: TCP Data received {"connection_id":124717,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:18:00] local.INFO: Processing buffer {"connection_id":124717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:18:00] local.INFO: IMEI packet received {"connection_id":124717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 02:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":124717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:18:05] local.INFO: TCP Data received {"connection_id":123948,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:18:05] local.INFO: Processing buffer {"connection_id":123948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:18:05] local.INFO: IMEI packet received {"connection_id":123948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":123948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:18:06] local.INFO: TCP Data received {"connection_id":123948,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:18:06] local.INFO: Processing buffer {"connection_id":123948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:18:06] local.INFO: IMEI packet received {"connection_id":123948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":123948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:18:10] local.INFO: TCP Data received {"connection_id":123948,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:18:10] local.INFO: Processing buffer {"connection_id":123948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:18:10] local.INFO: IMEI packet received {"connection_id":123948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":123948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:18:11] local.INFO: TCP Data received {"connection_id":123948,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f392e75f0012d37f18006ade560000c00942f..."} 
[2026-07-07 02:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f392e75f0012d37f18006ade560000c00942f..."} 
[2026-07-07 02:18:11] local.INFO: Processing buffer {"connection_id":123948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f392e75f0012d37f18006ade560000c00942f..."} 
[2026-07-07 02:18:11] local.INFO: Packet analysis {"connection_id":123948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f392e"} 
[2026-07-07 02:18:11] local.INFO: Extracted packet for processing {"connection_id":123948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f392e"} 
[2026-07-07 02:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758641024,"raw_latitude":112059744,"longitude_deg":75.8641024,"latitude_deg":11.2059744,"altitude":12,"angle":148,"satellites":47,"speed":43,"hex_longitude":"2d37f180","hex_latitude":"06ade560","is_valid_coordinates":true} 
[2026-07-07 02:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542915840001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340108547385720832,"note":"Value kept but may cause issues"} 
[2026-07-07 02:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4025725514349268992,"note":"Value kept but may cause issues"} 
[2026-07-07 02:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783370774000,"timestamp_ms":1783370774000,"timestamp_seconds":1783370774,"priority":1,"record_length":96,"hex_timestamp":"0000019f392e75f0"} 
[2026-07-07 02:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 02:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542915840001,"66":27321,"6":206,"81":49664,"24":43,"16":340108547385720832,"45":4025725514349268992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-07-07 02:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542915840001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:18:11] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-07 02:18:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340108547385720832,"km_value":340108547385720.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4025725514349268992,"description":"Unknown IO ID 45"} 
[2026-07-07 02:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542915840001,"power":27321,"unknown_6":206,"unknown_81":49664,"ignition":43,"odometer":null,"unknown_45":4025725514349268992}} 
[2026-07-07 02:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":123948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:18:11] local.INFO: GPS data processed {"connection_id":123948,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:18:11] local.INFO: Acknowledgment sent {"connection_id":123948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:18:12] local.INFO: TCP Data received {"connection_id":123948,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f392e9530012d3804c006adc780000c00932f..."} 
[2026-07-07 02:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f392e9530012d3804c006adc780000c00932f..."} 
[2026-07-07 02:18:12] local.INFO: Processing buffer {"connection_id":123948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f392e9530012d3804c006adc780000c00932f..."} 
[2026-07-07 02:18:12] local.INFO: Packet analysis {"connection_id":123948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f392e"} 
[2026-07-07 02:18:12] local.INFO: Extracted packet for processing {"connection_id":123948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f392e"} 
[2026-07-07 02:18:12] local.INFO: GPS Element Parsed {"raw_longitude":758645952,"raw_latitude":112052096,"longitude_deg":75.8645952,"latitude_deg":11.2052096,"altitude":12,"angle":147,"satellites":47,"speed":46,"hex_longitude":"2d3804c0","hex_latitude":"06adc780","is_valid_coordinates":true} 
[2026-07-07 02:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542918144001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340108985472385024,"note":"Value kept but may cause issues"} 
[2026-07-07 02:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4031143907648954368,"note":"Value kept but may cause issues"} 
[2026-07-07 02:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783370782000,"timestamp_ms":1783370782000,"timestamp_seconds":1783370782,"priority":1,"record_length":96,"hex_timestamp":"0000019f392e9530"} 
[2026-07-07 02:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:18: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-07-07 02:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 02:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542918144001,"66":27463,"185":206,"81":49664,"24":46,"16":340108985472385024,"45":4031143907648954368},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-07-07 02:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542918144001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:18:12] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-07 02:18:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340108985472385024,"km_value":340108985472385.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4031143907648954368,"description":"Unknown IO ID 45"} 
[2026-07-07 02:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542918144001,"power":27463,"unknown_185":206,"unknown_81":49664,"ignition":46,"odometer":null,"unknown_45":4031143907648954368}} 
[2026-07-07 02:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":123948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:18:12] local.INFO: GPS data processed {"connection_id":123948,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:18:12] local.INFO: Acknowledgment sent {"connection_id":123948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:18:15] local.INFO: TCP Data received {"connection_id":123948,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f392eb470012d38190006ada780000b00932e..."} 
[2026-07-07 02:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f392eb470012d38190006ada780000b00932e..."} 
[2026-07-07 02:18:15] local.INFO: Processing buffer {"connection_id":123948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f392eb470012d38190006ada780000b00932e..."} 
[2026-07-07 02:18:15] local.INFO: Packet analysis {"connection_id":123948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f392e"} 
[2026-07-07 02:18:15] local.INFO: Extracted packet for processing {"connection_id":123948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f392e"} 
[2026-07-07 02:18:15] local.INFO: GPS Element Parsed {"raw_longitude":758651136,"raw_latitude":112043904,"longitude_deg":75.8651136,"latitude_deg":11.2043904,"altitude":11,"angle":147,"satellites":46,"speed":47,"hex_longitude":"2d381900","hex_latitude":"06ada780","is_valid_coordinates":true} 
[2026-07-07 02:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542920192001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340109453623820288,"note":"Value kept but may cause issues"} 
[2026-07-07 02:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4036562300948676608,"note":"Value kept but may cause issues"} 
[2026-07-07 02:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783370790000,"timestamp_ms":1783370790000,"timestamp_seconds":1783370790,"priority":1,"record_length":96,"hex_timestamp":"0000019f392eb470"} 
[2026-07-07 02:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:18: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-07-07 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 02:18: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-07-07 02:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542920192001,"66":27213,"185":206,"81":49664,"24":47,"16":340109453623820288,"45":4036562300948676608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-07-07 02:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542920192001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:18:15] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-07 02:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340109453623820288,"km_value":340109453623820.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4036562300948676608,"description":"Unknown IO ID 45"} 
[2026-07-07 02:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542920192001,"power":27213,"unknown_185":206,"unknown_81":49664,"ignition":47,"odometer":null,"unknown_45":4036562300948676608}} 
[2026-07-07 02:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":123948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:18:15] local.INFO: GPS data processed {"connection_id":123948,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:18:15] local.INFO: Acknowledgment sent {"connection_id":123948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:18:57] local.INFO: TCP Data received {"connection_id":123949,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:18:57] local.INFO: Processing buffer {"connection_id":123949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:18:57] local.INFO: IMEI packet received {"connection_id":123949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":123949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:19:00] local.INFO: TCP Data received {"connection_id":123949,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:19:00] local.INFO: Processing buffer {"connection_id":123949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:19:00] local.INFO: IMEI packet received {"connection_id":123949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":123949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:19:03] local.INFO: TCP Data received {"connection_id":123949,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:19:03] local.INFO: Processing buffer {"connection_id":123949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:19:03] local.INFO: IMEI packet received {"connection_id":123949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":123949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:19:05] local.INFO: TCP Data received {"connection_id":123949,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f392ff4c0012d389e4006ac26a8000700a52f..."} 
[2026-07-07 02:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f392ff4c0012d389e4006ac26a8000700a52f..."} 
[2026-07-07 02:19:05] local.INFO: Processing buffer {"connection_id":123949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f392ff4c0012d389e4006ac26a8000700a52f..."} 
[2026-07-07 02:19:05] local.INFO: Packet analysis {"connection_id":123949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f392f"} 
[2026-07-07 02:19:05] local.INFO: Extracted packet for processing {"connection_id":123949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f392f"} 
[2026-07-07 02:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758685248,"raw_latitude":111945384,"longitude_deg":75.8685248,"latitude_deg":11.1945384,"altitude":7,"angle":165,"satellites":47,"speed":56,"hex_longitude":"2d389e40","hex_latitude":"06ac26a8","is_valid_coordinates":true} 
[2026-07-07 02:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542941440001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340114538865098752,"note":"Value kept but may cause issues"} 
[2026-07-07 02:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4076953960081870848,"note":"Value kept but may cause issues"} 
[2026-07-07 02:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783370872000,"timestamp_ms":1783370872000,"timestamp_seconds":1783370872,"priority":1,"record_length":96,"hex_timestamp":"0000019f392ff4c0"} 
[2026-07-07 02:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 02:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":123949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":123949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":123949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542941440001,"66":27376,"164":206,"81":23296,"24":56,"16":340114538865098752,"45":4076953960081870848},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,81,24,16,45]} 
[2026-07-07 02:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542941440001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:19:05] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-07 02:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-07 02:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340114538865098752,"km_value":340114538865098.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4076953960081870848,"description":"Unknown IO ID 45"} 
[2026-07-07 02:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542941440001,"power":27376,"unknown_164":206,"unknown_81":23296,"ignition":56,"odometer":null,"unknown_45":4076953960081870848}} 
[2026-07-07 02:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":123949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:19:05] local.INFO: GPS data processed {"connection_id":123949,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:19:05] local.INFO: Acknowledgment sent {"connection_id":123949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:19:35] local.INFO: TCP Data received {"connection_id":123949,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39301018012d38a80006ac0208000700a52e..."} 
[2026-07-07 02:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39301018012d38a80006ac0208000700a52e..."} 
[2026-07-07 02:19:35] local.INFO: Processing buffer {"connection_id":123949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39301018012d38a80006ac0208000700a52e..."} 
[2026-07-07 02:19:35] local.INFO: Packet analysis {"connection_id":123949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3930"} 
[2026-07-07 02:19:35] local.INFO: Extracted packet for processing {"connection_id":123949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3930"} 
[2026-07-07 02:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758687744,"raw_latitude":111936008,"longitude_deg":75.8687744,"latitude_deg":11.1936008,"altitude":7,"angle":165,"satellites":46,"speed":54,"hex_longitude":"2d38a800","hex_latitude":"06ac0208","is_valid_coordinates":true} 
[2026-07-07 02:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542943232001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340115011311501312,"note":"Value kept but may cause issues"} 
[2026-07-07 02:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4079768709846444032,"note":"Value kept but may cause issues"} 
[2026-07-07 02:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783370879000,"timestamp_ms":1783370879000,"timestamp_seconds":1783370879,"priority":1,"record_length":96,"hex_timestamp":"0000019f39301018"} 
[2026-07-07 02:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 02:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":123949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":123949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":123949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542943232001,"66":27343,"164":206,"81":23296,"24":54,"16":340115011311501312,"45":4079768709846444032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,81,24,16,45]} 
[2026-07-07 02:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542943232001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:19:35] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-07 02:19:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-07 02:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340115011311501312,"km_value":340115011311501.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4079768709846444032,"description":"Unknown IO ID 45"} 
[2026-07-07 02:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542943232001,"power":27343,"unknown_164":206,"unknown_81":23296,"ignition":54,"odometer":null,"unknown_45":4079768709846444032}} 
[2026-07-07 02:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":123949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:19:35] local.INFO: GPS data processed {"connection_id":123949,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:19:35] local.INFO: Acknowledgment sent {"connection_id":123949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:20:35] local.INFO: TCP Data received {"connection_id":124055,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:20:35] local.INFO: Processing buffer {"connection_id":124055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:20:35] local.INFO: IMEI packet received {"connection_id":124055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":124055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:20:37] local.INFO: TCP Data received {"connection_id":124055,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:20:37] local.INFO: Processing buffer {"connection_id":124055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:20:37] local.INFO: IMEI packet received {"connection_id":124055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":124055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:20:40] local.INFO: TCP Data received {"connection_id":124055,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:20:40] local.INFO: Processing buffer {"connection_id":124055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:20:40] local.INFO: IMEI packet received {"connection_id":124055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":124055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:20:42] local.INFO: TCP Data received {"connection_id":124055,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393119b8012d390d4006aa8680000800a530..."} 
[2026-07-07 02:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393119b8012d390d4006aa8680000800a530..."} 
[2026-07-07 02:20:42] local.INFO: Processing buffer {"connection_id":124055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f393119b8012d390d4006aa8680000800a530..."} 
[2026-07-07 02:20:42] local.INFO: Packet analysis {"connection_id":124055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3931"} 
[2026-07-07 02:20:42] local.INFO: Extracted packet for processing {"connection_id":124055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3931"} 
[2026-07-07 02:20:42] local.INFO: GPS Element Parsed {"raw_longitude":758713664,"raw_latitude":111838848,"longitude_deg":75.8713664,"latitude_deg":11.1838848,"altitude":8,"angle":165,"satellites":48,"speed":58,"hex_longitude":"2d390d40","hex_latitude":"06aa8680","is_valid_coordinates":true} 
[2026-07-07 02:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542960896001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340119877509447680,"note":"Value kept but may cause issues"} 
[2026-07-07 02:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4108408788701671424,"note":"Value kept but may cause issues"} 
[2026-07-07 02:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783370947000,"timestamp_ms":1783370947000,"timestamp_seconds":1783370947,"priority":1,"record_length":96,"hex_timestamp":"0000019f393119b8"} 
[2026-07-07 02:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:20: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-07-07 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 02:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542960896001,"66":27267,"44":206,"81":23296,"24":58,"16":340119877509447680,"45":4108408788701671424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-07-07 02:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542960896001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:20:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-07 02:20:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-07 02:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340119877509447680,"km_value":340119877509447.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4108408788701671424,"description":"Unknown IO ID 45"} 
[2026-07-07 02:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542960896001,"power":27267,"unknown_44":206,"unknown_81":23296,"ignition":58,"odometer":null,"unknown_45":4108408788701671424}} 
[2026-07-07 02:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":124055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:20:42] local.INFO: GPS data processed {"connection_id":124055,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:20:42] local.INFO: Acknowledgment sent {"connection_id":124055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:20:43] local.INFO: TCP Data received {"connection_id":124055,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39313128012d39168006aa64f8000800a530..."} 
[2026-07-07 02:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39313128012d39168006aa64f8000800a530..."} 
[2026-07-07 02:20:43] local.INFO: Processing buffer {"connection_id":124055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39313128012d39168006aa64f8000800a530..."} 
[2026-07-07 02:20:43] local.INFO: Packet analysis {"connection_id":124055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3931"} 
[2026-07-07 02:20:43] local.INFO: Extracted packet for processing {"connection_id":124055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3931"} 
[2026-07-07 02:20:43] local.INFO: GPS Element Parsed {"raw_longitude":758716032,"raw_latitude":111830264,"longitude_deg":75.8716032,"latitude_deg":11.1830264,"altitude":8,"angle":165,"satellites":48,"speed":59,"hex_longitude":"2d391680","hex_latitude":"06aa64f8","is_valid_coordinates":true} 
[2026-07-07 02: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-07-07 02:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542962432001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340120311301144576,"note":"Value kept but may cause issues"} 
[2026-07-07 02:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4111012432234053632,"note":"Value kept but may cause issues"} 
[2026-07-07 02:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783370953000,"timestamp_ms":1783370953000,"timestamp_seconds":1783370953,"priority":1,"record_length":96,"hex_timestamp":"0000019f39313128"} 
[2026-07-07 02:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:20: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-07-07 02: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":131,"data_length":795,"current_offset":136} 
[2026-07-07 02:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02: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-07-07 02:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542962432001,"66":27332,"44":206,"81":23296,"24":59,"16":340120311301144576,"45":4111012432234053632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-07-07 02:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542962432001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:20:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-07 02:20:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-07 02:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340120311301144576,"km_value":340120311301144.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4111012432234053632,"description":"Unknown IO ID 45"} 
[2026-07-07 02:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542962432001,"power":27332,"unknown_44":206,"unknown_81":23296,"ignition":59,"odometer":null,"unknown_45":4111012432234053632}} 
[2026-07-07 02:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":124055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:20:43] local.INFO: GPS data processed {"connection_id":124055,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:20:43] local.INFO: Acknowledgment sent {"connection_id":124055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:21:11] local.INFO: TCP Data received {"connection_id":123951,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:21:11] local.INFO: Processing buffer {"connection_id":123951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:21:11] local.INFO: IMEI packet received {"connection_id":123951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":123951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:21:15] local.INFO: TCP Data received {"connection_id":123951,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:21:15] local.INFO: Processing buffer {"connection_id":123951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:21:15] local.INFO: IMEI packet received {"connection_id":123951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":123951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:21:18] local.INFO: TCP Data received {"connection_id":123951,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39314898012d391f8006aa4368000800a530..."} 
[2026-07-07 02:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39314898012d391f8006aa4368000800a530..."} 
[2026-07-07 02:21:18] local.INFO: Processing buffer {"connection_id":123951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39314898012d391f8006aa4368000800a530..."} 
[2026-07-07 02:21:18] local.INFO: Packet analysis {"connection_id":123951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3931"} 
[2026-07-07 02:21:18] local.INFO: Extracted packet for processing {"connection_id":123951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3931"} 
[2026-07-07 02:21:18] local.INFO: GPS Element Parsed {"raw_longitude":758718336,"raw_latitude":111821672,"longitude_deg":75.8718336,"latitude_deg":11.1821672,"altitude":8,"angle":165,"satellites":48,"speed":59,"hex_longitude":"2d391f80","hex_latitude":"06aa4368","is_valid_coordinates":true} 
[2026-07-07 02: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-07-07 02:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542963968001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340120740797874176,"note":"Value kept but may cause issues"} 
[2026-07-07 02:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4113616075766429696,"note":"Value kept but may cause issues"} 
[2026-07-07 02:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783370959000,"timestamp_ms":1783370959000,"timestamp_seconds":1783370959,"priority":1,"record_length":96,"hex_timestamp":"0000019f39314898"} 
[2026-07-07 02:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02: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":196,"data_length":795,"current_offset":136} 
[2026-07-07 02:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02: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-07-07 02:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":123951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":123951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":123951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:21: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-07-07 02:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542963968001,"66":27397,"44":206,"81":23296,"24":59,"16":340120740797874176,"45":4113616075766429696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-07-07 02:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542963968001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:21:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-07 02:21:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-07 02:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340120740797874176,"km_value":340120740797874.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4113616075766429696,"description":"Unknown IO ID 45"} 
[2026-07-07 02:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542963968001,"power":27397,"unknown_44":206,"unknown_81":23296,"ignition":59,"odometer":null,"unknown_45":4113616075766429696}} 
[2026-07-07 02:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":123951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:21:18] local.INFO: GPS data processed {"connection_id":123951,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:21:18] local.INFO: Acknowledgment sent {"connection_id":123951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:22:05] local.INFO: TCP Data received {"connection_id":125963,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:22:05] local.INFO: Processing buffer {"connection_id":125963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:22:05] local.INFO: IMEI packet received {"connection_id":125963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":125963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:22:06] local.INFO: TCP Data received {"connection_id":125963,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:22:06] local.INFO: Processing buffer {"connection_id":125963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:22:06] local.INFO: IMEI packet received {"connection_id":125963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":125963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:22:10] local.INFO: TCP Data received {"connection_id":125963,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:22:10] local.INFO: Processing buffer {"connection_id":125963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:22:10] local.INFO: IMEI packet received {"connection_id":125963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":125963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:22:11] local.INFO: TCP Data received {"connection_id":125963,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3932b3e0012d39a58006a853e0000b00a52e..."} 
[2026-07-07 02:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3932b3e0012d39a58006a853e0000b00a52e..."} 
[2026-07-07 02:22:11] local.INFO: Processing buffer {"connection_id":125963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3932b3e0012d39a58006a853e0000b00a52e..."} 
[2026-07-07 02:22:11] local.INFO: Packet analysis {"connection_id":125963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3932"} 
[2026-07-07 02:22:11] local.INFO: Extracted packet for processing {"connection_id":125963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3932"} 
[2026-07-07 02:22:11] local.INFO: GPS Element Parsed {"raw_longitude":758752640,"raw_latitude":111694816,"longitude_deg":75.875264,"latitude_deg":11.1694816,"altitude":11,"angle":165,"satellites":46,"speed":53,"hex_longitude":"2d39a580","hex_latitude":"06a853e0","is_valid_coordinates":true} 
[2026-07-07 02:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542987520001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340127101644439552,"note":"Value kept but may cause issues"} 
[2026-07-07 02:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4151122616380807168,"note":"Value kept but may cause issues"} 
[2026-07-07 02:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783371052000,"timestamp_ms":1783371052000,"timestamp_seconds":1783371052,"priority":1,"record_length":96,"hex_timestamp":"0000019f3932b3e0"} 
[2026-07-07 02:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:22: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-07-07 02:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 02:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542987520001,"66":27343,"238":206,"81":49664,"24":53,"16":340127101644439552,"45":4151122616380807168},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-07-07 02:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542987520001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:22:11] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-07 02:22:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340127101644439552,"km_value":340127101644439.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4151122616380807168,"description":"Unknown IO ID 45"} 
[2026-07-07 02:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542987520001,"power":27343,"unknown_238":206,"unknown_81":49664,"ignition":53,"odometer":null,"unknown_45":4151122616380807168}} 
[2026-07-07 02:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":125963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:22:11] local.INFO: GPS data processed {"connection_id":125963,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:22:11] local.INFO: Acknowledgment sent {"connection_id":125963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:22:14] local.INFO: TCP Data received {"connection_id":125963,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3932cf38012d39af8006a830b8000d00a52c..."} 
[2026-07-07 02:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3932cf38012d39af8006a830b8000d00a52c..."} 
[2026-07-07 02:22:14] local.INFO: Processing buffer {"connection_id":125963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3932cf38012d39af8006a830b8000d00a52c..."} 
[2026-07-07 02:22:14] local.INFO: Packet analysis {"connection_id":125963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3932"} 
[2026-07-07 02:22:14] local.INFO: Extracted packet for processing {"connection_id":125963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3932"} 
[2026-07-07 02:22:14] local.INFO: GPS Element Parsed {"raw_longitude":758755200,"raw_latitude":111685816,"longitude_deg":75.87552,"latitude_deg":11.1685816,"altitude":13,"angle":165,"satellites":44,"speed":52,"hex_longitude":"2d39af80","hex_latitude":"06a830b8","is_valid_coordinates":true} 
[2026-07-07 02:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542989312001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340127556910972928,"note":"Value kept but may cause issues"} 
[2026-07-07 02:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4153866997401378816,"note":"Value kept but may cause issues"} 
[2026-07-07 02:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783371059000,"timestamp_ms":1783371059000,"timestamp_seconds":1783371059,"priority":1,"record_length":96,"hex_timestamp":"0000019f3932cf38"} 
[2026-07-07 02:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02: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-07-07 02:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 02:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542989312001,"66":27343,"238":206,"81":49664,"24":52,"16":340127556910972928,"45":4153866997401378816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-07-07 02:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542989312001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:22:14] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-07 02:22:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340127556910972928,"km_value":340127556910972.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4153866997401378816,"description":"Unknown IO ID 45"} 
[2026-07-07 02:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542989312001,"power":27343,"unknown_238":206,"unknown_81":49664,"ignition":52,"odometer":null,"unknown_45":4153866997401378816}} 
[2026-07-07 02:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":125963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:22:14] local.INFO: GPS data processed {"connection_id":125963,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:22:14] local.INFO: Acknowledgment sent {"connection_id":125963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:22:45] local.INFO: TCP Data received {"connection_id":125963,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3932ea90012d39b90006a80e00000f00a32c..."} 
[2026-07-07 02:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3932ea90012d39b90006a80e00000f00a32c..."} 
[2026-07-07 02:22:45] local.INFO: Processing buffer {"connection_id":125963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3932ea90012d39b90006a80e00000f00a32c..."} 
[2026-07-07 02:22:45] local.INFO: Packet analysis {"connection_id":125963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3932"} 
[2026-07-07 02:22:45] local.INFO: Extracted packet for processing {"connection_id":125963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3932"} 
[2026-07-07 02:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758757632,"raw_latitude":111676928,"longitude_deg":75.8757632,"latitude_deg":11.1676928,"altitude":15,"angle":163,"satellites":44,"speed":52,"hex_longitude":"2d39b900","hex_latitude":"06a80e00","is_valid_coordinates":true} 
[2026-07-07 02:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542991104001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340128003587571712,"note":"Value kept but may cause issues"} 
[2026-07-07 02:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4156681747166181376,"note":"Value kept but may cause issues"} 
[2026-07-07 02:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783371066000,"timestamp_ms":1783371066000,"timestamp_seconds":1783371066,"priority":1,"record_length":96,"hex_timestamp":"0000019f3932ea90"} 
[2026-07-07 02:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02: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-07-07 02:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 02:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":125963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":125963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":125963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:22: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-07-07 02:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542991104001,"66":27321,"238":206,"81":49664,"24":52,"16":340128003587571712,"45":4156681747166181376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-07-07 02:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542991104001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:22:45] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-07 02:22:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340128003587571712,"km_value":340128003587571.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4156681747166181376,"description":"Unknown IO ID 45"} 
[2026-07-07 02:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542991104001,"power":27321,"unknown_238":206,"unknown_81":49664,"ignition":52,"odometer":null,"unknown_45":4156681747166181376}} 
[2026-07-07 02:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":125963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:22:45] local.INFO: GPS data processed {"connection_id":125963,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:22:45] local.INFO: Acknowledgment sent {"connection_id":125963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:23:02] local.INFO: TCP Data received {"connection_id":124056,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:23:02] local.INFO: Processing buffer {"connection_id":124056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:23:02] local.INFO: IMEI packet received {"connection_id":124056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":124056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:23:02] local.INFO: TCP Data received {"connection_id":124056,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:23:02] local.INFO: Processing buffer {"connection_id":124056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:23:02] local.INFO: IMEI packet received {"connection_id":124056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":124056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:23:05] local.INFO: TCP Data received {"connection_id":124056,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:23:05] local.INFO: Processing buffer {"connection_id":124056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:23:05] local.INFO: IMEI packet received {"connection_id":124056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":124056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:23:06] local.INFO: TCP Data received {"connection_id":124056,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393305e8012d39c3c006a7ec60001100a02c..."} 
[2026-07-07 02:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393305e8012d39c3c006a7ec60001100a02c..."} 
[2026-07-07 02:23:06] local.INFO: Processing buffer {"connection_id":124056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f393305e8012d39c3c006a7ec60001100a02c..."} 
[2026-07-07 02:23:06] local.INFO: Packet analysis {"connection_id":124056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3933"} 
[2026-07-07 02:23:06] local.INFO: Extracted packet for processing {"connection_id":124056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3933"} 
[2026-07-07 02:23:06] local.INFO: GPS Element Parsed {"raw_longitude":758760384,"raw_latitude":111668320,"longitude_deg":75.8760384,"latitude_deg":11.166832,"altitude":17,"angle":160,"satellites":44,"speed":51,"hex_longitude":"2d39c3c0","hex_latitude":"06a7ec60","is_valid_coordinates":true} 
[2026-07-07 02:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542992896001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340128441674235904,"note":"Value kept but may cause issues"} 
[2026-07-07 02:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4159355759442657280,"note":"Value kept but may cause issues"} 
[2026-07-07 02:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783371073000,"timestamp_ms":1783371073000,"timestamp_seconds":1783371073,"priority":1,"record_length":96,"hex_timestamp":"0000019f393305e8"} 
[2026-07-07 02:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 02:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542992896001,"66":27234,"238":206,"81":49664,"24":51,"16":340128441674235904,"45":4159355759442657280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-07-07 02:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542992896001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:23:06] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-07 02:23:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340128441674235904,"km_value":340128441674235.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4159355759442657280,"description":"Unknown IO ID 45"} 
[2026-07-07 02:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542992896001,"power":27234,"unknown_238":206,"unknown_81":49664,"ignition":51,"odometer":null,"unknown_45":4159355759442657280}} 
[2026-07-07 02:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":124056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:23:06] local.INFO: GPS data processed {"connection_id":124056,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:23:06] local.INFO: Acknowledgment sent {"connection_id":124056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:23:11] local.INFO: TCP Data received {"connection_id":124056,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39332140012d39cf4006a7cba00013009f2d..."} 
[2026-07-07 02:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39332140012d39cf4006a7cba00013009f2d..."} 
[2026-07-07 02:23:11] local.INFO: Processing buffer {"connection_id":124056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39332140012d39cf4006a7cba00013009f2d..."} 
[2026-07-07 02:23:11] local.INFO: Packet analysis {"connection_id":124056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3933"} 
[2026-07-07 02:23:11] local.INFO: Extracted packet for processing {"connection_id":124056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3933"} 
[2026-07-07 02:23:11] local.INFO: GPS Element Parsed {"raw_longitude":758763328,"raw_latitude":111659936,"longitude_deg":75.8763328,"latitude_deg":11.1659936,"altitude":19,"angle":159,"satellites":45,"speed":50,"hex_longitude":"2d39cf40","hex_latitude":"06a7cba0","is_valid_coordinates":true} 
[2026-07-07 02:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456542994688001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340128871170965504,"note":"Value kept but may cause issues"} 
[2026-07-07 02:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4162381615440093184,"note":"Value kept but may cause issues"} 
[2026-07-07 02:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783371080000,"timestamp_ms":1783371080000,"timestamp_seconds":1783371080,"priority":1,"record_length":96,"hex_timestamp":"0000019f39332140"} 
[2026-07-07 02:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:23: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-07-07 02:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 02:23: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-07-07 02:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456542994688001,"66":27365,"102":206,"81":49664,"24":50,"16":340128871170965504,"45":4162381615440093184},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-07-07 02:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456542994688001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:23:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-07 02:23:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340128871170965504,"km_value":340128871170965.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4162381615440093184,"description":"Unknown IO ID 45"} 
[2026-07-07 02:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456542994688001,"power":27365,"unknown_102":206,"unknown_81":49664,"ignition":50,"odometer":null,"unknown_45":4162381615440093184}} 
[2026-07-07 02:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":124056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:23:11] local.INFO: GPS data processed {"connection_id":124056,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:23:11] local.INFO: Acknowledgment sent {"connection_id":124056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:23:27] local.INFO: TCP Data received {"connection_id":124057,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:23:27] local.INFO: Processing buffer {"connection_id":124057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:23:27] local.INFO: IMEI packet received {"connection_id":124057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 02:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":124057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:23:43] local.INFO: TCP Data received {"connection_id":124056,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39344250012d3ac8c006a73d800027006530..."} 
[2026-07-07 02:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39344250012d3ac8c006a73d800027006530..."} 
[2026-07-07 02:23:43] local.INFO: Processing buffer {"connection_id":124056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39344250012d3ac8c006a73d800027006530..."} 
[2026-07-07 02:23:43] local.INFO: Packet analysis {"connection_id":124056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3934"} 
[2026-07-07 02:23:43] local.INFO: Extracted packet for processing {"connection_id":124056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3934"} 
[2026-07-07 02:23:43] local.INFO: GPS Element Parsed {"raw_longitude":758827200,"raw_latitude":111623552,"longitude_deg":75.88272,"latitude_deg":11.1623552,"altitude":39,"angle":101,"satellites":48,"speed":34,"hex_longitude":"2d3ac8c0","hex_latitude":"06a73d80","is_valid_coordinates":true} 
[2026-07-07 02:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543012608001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340132723756630016,"note":"Value kept but may cause issues"} 
[2026-07-07 02:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4225291272723941376,"note":"Value kept but may cause issues"} 
[2026-07-07 02:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783371154000,"timestamp_ms":1783371154000,"timestamp_seconds":1783371154,"priority":1,"record_length":96,"hex_timestamp":"0000019f39344250"} 
[2026-07-07 02:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02: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-07-07 02:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 02:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543012608001,"66":27234,"101":206,"81":49664,"24":34,"16":340132723756630016,"45":4225291272723941376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-07-07 02:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543012608001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:23:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 02:23:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340132723756630016,"km_value":340132723756630.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4225291272723941376,"description":"Unknown IO ID 45"} 
[2026-07-07 02:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543012608001,"power":27234,"unknown_101":206,"unknown_81":49664,"ignition":34,"odometer":null,"unknown_45":4225291272723941376}} 
[2026-07-07 02:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":124056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:23:43] local.INFO: GPS data processed {"connection_id":124056,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:23:43] local.INFO: Acknowledgment sent {"connection_id":124056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:24:00] local.INFO: TCP Data received {"connection_id":124719,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:24:00] local.INFO: Processing buffer {"connection_id":124719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:24:00] local.INFO: IMEI packet received {"connection_id":124719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":124719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:24:05] local.INFO: TCP Data received {"connection_id":124719,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:24:05] local.INFO: Processing buffer {"connection_id":124719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:24:05] local.INFO: IMEI packet received {"connection_id":124719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":124719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:24:07] local.INFO: TCP Data received {"connection_id":124719,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39346d48012d3aed8006a73640002c006431..."} 
[2026-07-07 02:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39346d48012d3aed8006a73640002c006431..."} 
[2026-07-07 02:24:07] local.INFO: Processing buffer {"connection_id":124719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39346d48012d3aed8006a73640002c006431..."} 
[2026-07-07 02:24:07] local.INFO: Packet analysis {"connection_id":124719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3934"} 
[2026-07-07 02:24:07] local.INFO: Extracted packet for processing {"connection_id":124719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3934"} 
[2026-07-07 02:24:07] local.INFO: GPS Element Parsed {"raw_longitude":758836608,"raw_latitude":111621696,"longitude_deg":75.8836608,"latitude_deg":11.1621696,"altitude":44,"angle":100,"satellites":49,"speed":34,"hex_longitude":"2d3aed80","hex_latitude":"06a73640","is_valid_coordinates":true} 
[2026-07-07 02:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543015424001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340133179023163392,"note":"Value kept but may cause issues"} 
[2026-07-07 02:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4235846584350113792,"note":"Value kept but may cause issues"} 
[2026-07-07 02:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783371165000,"timestamp_ms":1783371165000,"timestamp_seconds":1783371165,"priority":1,"record_length":96,"hex_timestamp":"0000019f39346d48"} 
[2026-07-07 02:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 02:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543015424001,"66":27376,"101":206,"81":49664,"24":34,"16":340133179023163392,"45":4235846584350113792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-07-07 02:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543015424001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:24:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 02:24:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340133179023163392,"km_value":340133179023163.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4235846584350113792,"description":"Unknown IO ID 45"} 
[2026-07-07 02:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543015424001,"power":27376,"unknown_101":206,"unknown_81":49664,"ignition":34,"odometer":null,"unknown_45":4235846584350113792}} 
[2026-07-07 02:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":124719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:24:07] local.INFO: GPS data processed {"connection_id":124719,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:24:07] local.INFO: Acknowledgment sent {"connection_id":124719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:24:08] local.INFO: TCP Data received {"connection_id":124720,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:24:08] local.INFO: Processing buffer {"connection_id":124720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:24:08] local.INFO: IMEI packet received {"connection_id":124720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 02:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":124720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:24:44] local.INFO: TCP Data received {"connection_id":124719,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39349840012d3b120006a72fa8003000642f..."} 
[2026-07-07 02:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39349840012d3b120006a72fa8003000642f..."} 
[2026-07-07 02:24:44] local.INFO: Processing buffer {"connection_id":124719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39349840012d3b120006a72fa8003000642f..."} 
[2026-07-07 02:24:44] local.INFO: Packet analysis {"connection_id":124719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3934"} 
[2026-07-07 02:24:44] local.INFO: Extracted packet for processing {"connection_id":124719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3934"} 
[2026-07-07 02:24:44] local.INFO: GPS Element Parsed {"raw_longitude":758845952,"raw_latitude":111620008,"longitude_deg":75.8845952,"latitude_deg":11.1620008,"altitude":48,"angle":100,"satellites":47,"speed":34,"hex_longitude":"2d3b1200","hex_latitude":"06a72fa8","is_valid_coordinates":true} 
[2026-07-07 02: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-07-07 02:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543018240001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340133629994729472,"note":"Value kept but may cause issues"} 
[2026-07-07 02:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4246190789743755264,"note":"Value kept but may cause issues"} 
[2026-07-07 02:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783371176000,"timestamp_ms":1783371176000,"timestamp_seconds":1783371176,"priority":1,"record_length":96,"hex_timestamp":"0000019f39349840"} 
[2026-07-07 02:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 02:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02: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-07-07 02:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543018240001,"66":27365,"101":206,"81":49664,"24":34,"16":340133629994729472,"45":4246190789743755264},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-07-07 02:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543018240001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:24:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 02:24:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340133629994729472,"km_value":340133629994729.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4246190789743755264,"description":"Unknown IO ID 45"} 
[2026-07-07 02:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543018240001,"power":27365,"unknown_101":206,"unknown_81":49664,"ignition":34,"odometer":null,"unknown_45":4246190789743755264}} 
[2026-07-07 02:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":124719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:24:44] local.INFO: GPS data processed {"connection_id":124719,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:24:44] local.INFO: Acknowledgment sent {"connection_id":124719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:25:00] local.INFO: TCP Data received {"connection_id":125964,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:25:00] local.INFO: Processing buffer {"connection_id":125964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:25:00] local.INFO: IMEI packet received {"connection_id":125964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":125964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:25:02] local.INFO: TCP Data received {"connection_id":125964,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:25:02] local.INFO: Processing buffer {"connection_id":125964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:25:02] local.INFO: IMEI packet received {"connection_id":125964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":125964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:25:05] local.INFO: TCP Data received {"connection_id":125964,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:25:05] local.INFO: Processing buffer {"connection_id":125964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:25:05] local.INFO: IMEI packet received {"connection_id":125964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":125964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:25:07] local.INFO: TCP Data received {"connection_id":125964,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3934c338012d3b374006a728900034006431..."} 
[2026-07-07 02:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3934c338012d3b374006a728900034006431..."} 
[2026-07-07 02:25:07] local.INFO: Processing buffer {"connection_id":125964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3934c338012d3b374006a728900034006431..."} 
[2026-07-07 02:25:07] local.INFO: Packet analysis {"connection_id":125964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3934"} 
[2026-07-07 02:25:07] local.INFO: Extracted packet for processing {"connection_id":125964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3934"} 
[2026-07-07 02:25:07] local.INFO: GPS Element Parsed {"raw_longitude":758855488,"raw_latitude":111618192,"longitude_deg":75.8855488,"latitude_deg":11.1618192,"altitude":52,"angle":100,"satellites":49,"speed":35,"hex_longitude":"2d3b3740","hex_latitude":"06a72890","is_valid_coordinates":true} 
[2026-07-07 02: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-07-07 02:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543021056001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340134093851197440,"note":"Value kept but may cause issues"} 
[2026-07-07 02:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4256464626393262080,"note":"Value kept but may cause issues"} 
[2026-07-07 02:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783371187000,"timestamp_ms":1783371187000,"timestamp_seconds":1783371187,"priority":1,"record_length":96,"hex_timestamp":"0000019f3934c338"} 
[2026-07-07 02:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 02:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02: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-07-07 02:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543021056001,"66":27310,"41":206,"81":49664,"24":35,"16":340134093851197440,"45":4256464626393262080},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,81,24,16,45]} 
[2026-07-07 02:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543021056001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:25:07] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-07 02:25:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340134093851197440,"km_value":340134093851197.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4256464626393262080,"description":"Unknown IO ID 45"} 
[2026-07-07 02:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543021056001,"power":27310,"unknown_41":206,"unknown_81":49664,"ignition":35,"odometer":null,"unknown_45":4256464626393262080}} 
[2026-07-07 02:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":125964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:25:07] local.INFO: GPS data processed {"connection_id":125964,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:25:07] local.INFO: Acknowledgment sent {"connection_id":125964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:25:39] local.INFO: TCP Data received {"connection_id":125964,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39363268012d3c19c006a62e080049008f2e..."} 
[2026-07-07 02:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39363268012d3c19c006a62e080049008f2e..."} 
[2026-07-07 02:25:39] local.INFO: Processing buffer {"connection_id":125964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39363268012d3c19c006a62e080049008f2e..."} 
[2026-07-07 02:25:39] local.INFO: Packet analysis {"connection_id":125964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3936"} 
[2026-07-07 02:25:39] local.INFO: Extracted packet for processing {"connection_id":125964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3936"} 
[2026-07-07 02:25:39] local.INFO: GPS Element Parsed {"raw_longitude":758913472,"raw_latitude":111554056,"longitude_deg":75.8913472,"latitude_deg":11.1554056,"altitude":73,"angle":143,"satellites":46,"speed":43,"hex_longitude":"2d3c19c0","hex_latitude":"06a62e08","is_valid_coordinates":true} 
[2026-07-07 02: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-07-07 02:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543045632001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340138500487643136,"note":"Value kept but may cause issues"} 
[2026-07-07 02:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4324722308230692864,"note":"Value kept but may cause issues"} 
[2026-07-07 02:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783371281000,"timestamp_ms":1783371281000,"timestamp_seconds":1783371281,"priority":1,"record_length":96,"hex_timestamp":"0000019f39363268"} 
[2026-07-07 02:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:25: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-07-07 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 02:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02: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-07-07 02:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543045632001,"66":27517,"40":206,"81":49664,"24":43,"16":340138500487643136,"45":4324722308230692864},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-07-07 02:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543045632001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:25:39] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-07 02:25:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340138500487643136,"km_value":340138500487643.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4324722308230692864,"description":"Unknown IO ID 45"} 
[2026-07-07 02:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543045632001,"power":27517,"unknown_40":206,"unknown_81":49664,"ignition":43,"odometer":null,"unknown_45":4324722308230692864}} 
[2026-07-07 02:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":125964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:25:39] local.INFO: GPS data processed {"connection_id":125964,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:25:39] local.INFO: Acknowledgment sent {"connection_id":125964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:26:05] local.INFO: TCP Data received {"connection_id":124721,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:26:05] local.INFO: Processing buffer {"connection_id":124721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:26:05] local.INFO: IMEI packet received {"connection_id":124721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":124721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:26:07] local.INFO: TCP Data received {"connection_id":124721,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:26:07] local.INFO: Processing buffer {"connection_id":124721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:26:07] local.INFO: IMEI packet received {"connection_id":124721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":124721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:26:09] local.INFO: TCP Data received {"connection_id":124721,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393651a8012d3c2f8006a612a0004b008d2c..."} 
[2026-07-07 02:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393651a8012d3c2f8006a612a0004b008d2c..."} 
[2026-07-07 02:26:09] local.INFO: Processing buffer {"connection_id":124721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f393651a8012d3c2f8006a612a0004b008d2c..."} 
[2026-07-07 02:26:09] local.INFO: Packet analysis {"connection_id":124721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3936"} 
[2026-07-07 02:26:09] local.INFO: Extracted packet for processing {"connection_id":124721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3936"} 
[2026-07-07 02:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758919040,"raw_latitude":111547040,"longitude_deg":75.891904,"latitude_deg":11.154704,"altitude":75,"angle":141,"satellites":44,"speed":45,"hex_longitude":"2d3c2f80","hex_latitude":"06a612a0","is_valid_coordinates":true} 
[2026-07-07 02:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543047936001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340138934279340032,"note":"Value kept but may cause issues"} 
[2026-07-07 02:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4330703651483813888,"note":"Value kept but may cause issues"} 
[2026-07-07 02:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783371289000,"timestamp_ms":1783371289000,"timestamp_seconds":1783371289,"priority":1,"record_length":96,"hex_timestamp":"0000019f393651a8"} 
[2026-07-07 02:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:26: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-07-07 02: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 02:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543047936001,"66":27267,"40":206,"81":49664,"24":45,"16":340138934279340032,"45":4330703651483813888},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-07-07 02:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543047936001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:26:09] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-07 02:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340138934279340032,"km_value":340138934279340.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4330703651483813888,"description":"Unknown IO ID 45"} 
[2026-07-07 02:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543047936001,"power":27267,"unknown_40":206,"unknown_81":49664,"ignition":45,"odometer":null,"unknown_45":4330703651483813888}} 
[2026-07-07 02:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":124721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:26:09] local.INFO: GPS data processed {"connection_id":124721,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:26:09] local.INFO: Acknowledgment sent {"connection_id":124721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:26:10] local.INFO: TCP Data received {"connection_id":124721,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393670e8012d3c468006a5f5f8004c008d2b..."} 
[2026-07-07 02:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393670e8012d3c468006a5f5f8004c008d2b..."} 
[2026-07-07 02:26:10] local.INFO: Processing buffer {"connection_id":124721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f393670e8012d3c468006a5f5f8004c008d2b..."} 
[2026-07-07 02:26:10] local.INFO: Packet analysis {"connection_id":124721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3936"} 
[2026-07-07 02:26:10] local.INFO: Extracted packet for processing {"connection_id":124721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3936"} 
[2026-07-07 02:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758924928,"raw_latitude":111539704,"longitude_deg":75.8924928,"latitude_deg":11.1539704,"altitude":76,"angle":141,"satellites":43,"speed":48,"hex_longitude":"2d3c4680","hex_latitude":"06a5f5f8","is_valid_coordinates":true} 
[2026-07-07 02:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543049984001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340139385250906112,"note":"Value kept but may cause issues"} 
[2026-07-07 02:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4336825732225474560,"note":"Value kept but may cause issues"} 
[2026-07-07 02:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783371297000,"timestamp_ms":1783371297000,"timestamp_seconds":1783371297,"priority":1,"record_length":96,"hex_timestamp":"0000019f393670e8"} 
[2026-07-07 02:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:26: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-07-07 02: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":131,"data_length":795,"current_offset":136} 
[2026-07-07 02:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543049984001,"66":27245,"235":206,"81":49664,"24":48,"16":340139385250906112,"45":4336825732225474560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,81,24,16,45]} 
[2026-07-07 02:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543049984001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:26:10] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-07 02:26:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340139385250906112,"km_value":340139385250906.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4336825732225474560,"description":"Unknown IO ID 45"} 
[2026-07-07 02:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543049984001,"power":27245,"unknown_235":206,"unknown_81":49664,"ignition":48,"odometer":null,"unknown_45":4336825732225474560}} 
[2026-07-07 02:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":124721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:26:10] local.INFO: GPS data processed {"connection_id":124721,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:26:10] local.INFO: Acknowledgment sent {"connection_id":124721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:26:42] local.INFO: TCP Data received {"connection_id":124721,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39368c40012d3c5d4006a5da50004d008d2d..."} 
[2026-07-07 02:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39368c40012d3c5d4006a5da50004d008d2d..."} 
[2026-07-07 02:26:42] local.INFO: Processing buffer {"connection_id":124721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39368c40012d3c5d4006a5da50004d008d2d..."} 
[2026-07-07 02:26:42] local.INFO: Packet analysis {"connection_id":124721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3936"} 
[2026-07-07 02:26:42] local.INFO: Extracted packet for processing {"connection_id":124721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3936"} 
[2026-07-07 02:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758930752,"raw_latitude":111532624,"longitude_deg":75.8930752,"latitude_deg":11.1532624,"altitude":77,"angle":141,"satellites":45,"speed":54,"hex_longitude":"2d3c5d40","hex_latitude":"06a5da50","is_valid_coordinates":true} 
[2026-07-07 02:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543052032001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340139823337570304,"note":"Value kept but may cause issues"} 
[2026-07-07 02:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4343299656687941632,"note":"Value kept but may cause issues"} 
[2026-07-07 02:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783371304000,"timestamp_ms":1783371304000,"timestamp_seconds":1783371304,"priority":1,"record_length":96,"hex_timestamp":"0000019f39368c40"} 
[2026-07-07 02:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:26: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-07-07 02:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 02:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543052032001,"66":27300,"235":206,"81":49664,"24":54,"16":340139823337570304,"45":4343299656687941632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,81,24,16,45]} 
[2026-07-07 02:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543052032001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:26:42] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-07 02:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340139823337570304,"km_value":340139823337570.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4343299656687941632,"description":"Unknown IO ID 45"} 
[2026-07-07 02:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543052032001,"power":27300,"unknown_235":206,"unknown_81":49664,"ignition":54,"odometer":null,"unknown_45":4343299656687941632}} 
[2026-07-07 02:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":124721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:26:42] local.INFO: GPS data processed {"connection_id":124721,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:26:42] local.INFO: Acknowledgment sent {"connection_id":124721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:27:13] local.INFO: TCP Data received {"connection_id":123952,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:27:13] local.INFO: Processing buffer {"connection_id":123952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:27:13] local.INFO: IMEI packet received {"connection_id":123952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":123952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:27:15] local.INFO: TCP Data received {"connection_id":123952,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:27:15] local.INFO: Processing buffer {"connection_id":123952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:27:15] local.INFO: IMEI packet received {"connection_id":123952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":123952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:27:17] local.INFO: TCP Data received {"connection_id":123952,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:27:17] local.INFO: Processing buffer {"connection_id":123952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:27:17] local.INFO: IMEI packet received {"connection_id":123952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":123952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:27:20] local.INFO: TCP Data received {"connection_id":123952,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:27:20] local.INFO: Processing buffer {"connection_id":123952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:27:20] local.INFO: IMEI packet received {"connection_id":123952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":123952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:27:22] local.INFO: TCP Data received {"connection_id":123952,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39376700012d3cc24006a48050003300cf30..."} 
[2026-07-07 02:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39376700012d3cc24006a48050003300cf30..."} 
[2026-07-07 02:27:22] local.INFO: Processing buffer {"connection_id":123952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39376700012d3cc24006a48050003300cf30..."} 
[2026-07-07 02:27:22] local.INFO: Packet analysis {"connection_id":123952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3937"} 
[2026-07-07 02:27:22] local.INFO: Extracted packet for processing {"connection_id":123952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3937"} 
[2026-07-07 02:27:22] local.INFO: GPS Element Parsed {"raw_longitude":758956608,"raw_latitude":111444048,"longitude_deg":75.8956608,"latitude_deg":11.1444048,"altitude":51,"angle":207,"satellites":48,"speed":63,"hex_longitude":"2d3cc240","hex_latitude":"06a48050","is_valid_coordinates":true} 
[2026-07-07 02:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543067136001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340144500556955648,"note":"Value kept but may cause issues"} 
[2026-07-07 02:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4380876566055909376,"note":"Value kept but may cause issues"} 
[2026-07-07 02:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783371360000,"timestamp_ms":1783371360000,"timestamp_seconds":1783371360,"priority":1,"record_length":96,"hex_timestamp":"0000019f39376700"} 
[2026-07-07 02:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 02:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":123952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":123952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":123952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543067136001,"66":27321,"133":206,"81":49664,"24":63,"16":340144500556955648,"45":4380876566055909376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-07-07 02:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543067136001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:27:22] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-07 02:27:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340144500556955648,"km_value":340144500556955.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4380876566055909376,"description":"Unknown IO ID 45"} 
[2026-07-07 02:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543067136001,"power":27321,"unknown_133":206,"unknown_81":49664,"ignition":63,"odometer":null,"unknown_45":4380876566055909376}} 
[2026-07-07 02:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":123952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:27:22] local.INFO: GPS data processed {"connection_id":123952,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:27:22] local.INFO: Acknowledgment sent {"connection_id":123952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:27:24] local.INFO: TCP Data received {"connection_id":123952,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39377e70012d3cb04006a461f8003600d12f..."} 
[2026-07-07 02:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39377e70012d3cb04006a461f8003600d12f..."} 
[2026-07-07 02:27:24] local.INFO: Processing buffer {"connection_id":123952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39377e70012d3cb04006a461f8003600d12f..."} 
[2026-07-07 02:27:24] local.INFO: Packet analysis {"connection_id":123952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3937"} 
[2026-07-07 02:27:24] local.INFO: Extracted packet for processing {"connection_id":123952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3937"} 
[2026-07-07 02:27:24] local.INFO: GPS Element Parsed {"raw_longitude":758952000,"raw_latitude":111436280,"longitude_deg":75.8952,"latitude_deg":11.143628,"altitude":54,"angle":209,"satellites":47,"speed":54,"hex_longitude":"2d3cb040","hex_latitude":"06a461f8","is_valid_coordinates":true} 
[2026-07-07 02:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543068160001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340144938643619840,"note":"Value kept but may cause issues"} 
[2026-07-07 02:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4378132185031397376,"note":"Value kept but may cause issues"} 
[2026-07-07 02:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783371366000,"timestamp_ms":1783371366000,"timestamp_seconds":1783371366,"priority":1,"record_length":96,"hex_timestamp":"0000019f39377e70"} 
[2026-07-07 02:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:27: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-07-07 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 02:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":123952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":123952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":123952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543068160001,"66":27376,"133":206,"81":49664,"24":54,"16":340144938643619840,"45":4378132185031397376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-07-07 02:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543068160001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:27:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-07 02:27:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340144938643619840,"km_value":340144938643619.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4378132185031397376,"description":"Unknown IO ID 45"} 
[2026-07-07 02:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543068160001,"power":27376,"unknown_133":206,"unknown_81":49664,"ignition":54,"odometer":null,"unknown_45":4378132185031397376}} 
[2026-07-07 02:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":123952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:27:24] local.INFO: GPS data processed {"connection_id":123952,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:27:24] local.INFO: Acknowledgment sent {"connection_id":123952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:28:01] local.INFO: TCP Data received {"connection_id":123953,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:28:01] local.INFO: Processing buffer {"connection_id":123953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:28:01] local.INFO: IMEI packet received {"connection_id":123953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":123953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:28:05] local.INFO: TCP Data received {"connection_id":123953,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:28:05] local.INFO: Processing buffer {"connection_id":123953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:28:05] local.INFO: IMEI packet received {"connection_id":123953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":123953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:28:06] local.INFO: TCP Data received {"connection_id":123953,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393795e0012d3ca48006a446f0003800c52e..."} 
[2026-07-07 02:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393795e0012d3ca48006a446f0003800c52e..."} 
[2026-07-07 02:28:06] local.INFO: Processing buffer {"connection_id":123953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f393795e0012d3ca48006a446f0003800c52e..."} 
[2026-07-07 02:28:06] local.INFO: Packet analysis {"connection_id":123953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3937"} 
[2026-07-07 02:28:06] local.INFO: Extracted packet for processing {"connection_id":123953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3937"} 
[2026-07-07 02:28:06] local.INFO: GPS Element Parsed {"raw_longitude":758948992,"raw_latitude":111429360,"longitude_deg":75.8948992,"latitude_deg":11.142936,"altitude":56,"angle":197,"satellites":46,"speed":47,"hex_longitude":"2d3ca480","hex_latitude":"06a446f0","is_valid_coordinates":true} 
[2026-07-07 02:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543069696001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340145303715840000,"note":"Value kept but may cause issues"} 
[2026-07-07 02:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4373065635448616960,"note":"Value kept but may cause issues"} 
[2026-07-07 02:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783371372000,"timestamp_ms":1783371372000,"timestamp_seconds":1783371372,"priority":1,"record_length":96,"hex_timestamp":"0000019f393795e0"} 
[2026-07-07 02:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 02:28: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-07-07 02:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":123953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":123953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":123953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543069696001,"66":27376,"133":206,"81":49664,"24":47,"16":340145303715840000,"45":4373065635448616960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-07-07 02:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543069696001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:28:06] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-07 02:28:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-07 02:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340145303715840000,"km_value":340145303715840,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4373065635448616960,"description":"Unknown IO ID 45"} 
[2026-07-07 02:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543069696001,"power":27376,"unknown_133":206,"unknown_81":49664,"ignition":47,"odometer":null,"unknown_45":4373065635448616960}} 
[2026-07-07 02:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":123953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:28:06] local.INFO: GPS data processed {"connection_id":123953,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:28:06] local.INFO: Acknowledgment sent {"connection_id":123953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:28:48] local.INFO: TCP Data received {"connection_id":123953,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3938f958012d3c864006a29a20004c00a62d..."} 
[2026-07-07 02:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3938f958012d3c864006a29a20004c00a62d..."} 
[2026-07-07 02:28:48] local.INFO: Processing buffer {"connection_id":123953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3938f958012d3c864006a29a20004c00a62d..."} 
[2026-07-07 02:28:48] local.INFO: Packet analysis {"connection_id":123953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3938"} 
[2026-07-07 02:28:48] local.INFO: Extracted packet for processing {"connection_id":123953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3938"} 
[2026-07-07 02:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758941248,"raw_latitude":111319584,"longitude_deg":75.8941248,"latitude_deg":11.1319584,"altitude":76,"angle":166,"satellites":45,"speed":46,"hex_longitude":"2d3c8640","hex_latitude":"06a29a20","is_valid_coordinates":true} 
[2026-07-07 02:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543092480001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340150663835025408,"note":"Value kept but may cause issues"} 
[2026-07-07 02:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4359554836538984448,"note":"Value kept but may cause issues"} 
[2026-07-07 02:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783371463000,"timestamp_ms":1783371463000,"timestamp_seconds":1783371463,"priority":1,"record_length":96,"hex_timestamp":"0000019f3938f958"} 
[2026-07-07 02:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02: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-07-07 02: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 02:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":123953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":123953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":123953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:28: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-07-07 02:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543092480001,"66":27539,"221":206,"81":47616,"24":46,"16":340150663835025408,"45":4359554836538984448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-07-07 02:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543092480001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:28:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 02:28:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340150663835025408,"km_value":340150663835025.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4359554836538984448,"description":"Unknown IO ID 45"} 
[2026-07-07 02:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543092480001,"power":27539,"unknown_221":206,"unknown_81":47616,"ignition":46,"odometer":null,"unknown_45":4359554836538984448}} 
[2026-07-07 02:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":123953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:28:48] local.INFO: GPS data processed {"connection_id":123953,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:28:48] local.INFO: Acknowledgment sent {"connection_id":123953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:29:10] local.INFO: TCP Data received {"connection_id":125968,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:29:10] local.INFO: Processing buffer {"connection_id":125968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:29:10] local.INFO: IMEI packet received {"connection_id":125968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":125968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:29:13] local.INFO: TCP Data received {"connection_id":125968,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:29:13] local.INFO: Processing buffer {"connection_id":125968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:29:13] local.INFO: IMEI packet received {"connection_id":125968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":125968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:29:15] local.INFO: TCP Data received {"connection_id":125968,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:29:15] local.INFO: Processing buffer {"connection_id":125968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:29:15] local.INFO: IMEI packet received {"connection_id":125968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":125968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:29:25] local.INFO: TCP Data received {"connection_id":125967,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:29:25] local.INFO: Processing buffer {"connection_id":125967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:29:25] local.INFO: IMEI packet received {"connection_id":125967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 02:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":125967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:29:28] local.INFO: TCP Data received {"connection_id":125968,"ip":"42.106.6.16","data_length":1348,"data_hex":"000000000000030f8e0a0000019f39391898012d3c90c006a27580004e00a320..."} 
[2026-07-07 02:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125968,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f39391898012d3c90c006a27580004e00a320..."} 
[2026-07-07 02:29:28] local.INFO: Processing buffer {"connection_id":125968,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f39391898012d3c90c006a27580004e00a320..."} 
[2026-07-07 02:29:28] local.INFO: Packet analysis {"connection_id":125968,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f3939"} 
[2026-07-07 02:29:28] local.INFO: Extracted packet for processing {"connection_id":125968,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f3939"} 
[2026-07-07 02:29:28] local.INFO: GPS Element Parsed {"raw_longitude":758943936,"raw_latitude":111310208,"longitude_deg":75.8943936,"latitude_deg":11.1310208,"altitude":78,"angle":163,"satellites":32,"speed":51,"hex_longitude":"2d3c90c0","hex_latitude":"06a27580","is_valid_coordinates":true} 
[2026-07-07 02:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543094528001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340151136281427968,"note":"Value kept but may cause issues"} 
[2026-07-07 02:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4361243686396895232,"note":"Value kept but may cause issues"} 
[2026-07-07 02:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783371471000,"timestamp_ms":1783371471000,"timestamp_seconds":1783371471,"priority":1,"record_length":96,"hex_timestamp":"0000019f39391898"} 
[2026-07-07 02:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:29: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-07-07 02:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 02:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543094528001,"66":27571,"221":206,"81":47616,"24":51,"16":340151136281427968,"45":4361243686396895232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-07-07 02:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543094528001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:29:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 02:29:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340151136281427968,"km_value":340151136281427.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4361243686396895232,"description":"Unknown IO ID 45"} 
[2026-07-07 02:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543094528001,"power":27571,"unknown_221":206,"unknown_81":47616,"ignition":51,"odometer":null,"unknown_45":4361243686396895232}} 
[2026-07-07 02:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":125968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:29:28] local.INFO: GPS data processed {"connection_id":125968,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:29:28] local.INFO: Acknowledgment sent {"connection_id":125968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:29:28] local.INFO: Packet analysis {"connection_id":125968,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f3939"} 
[2026-07-07 02:29:28] local.INFO: Incomplete packet, waiting for more data {"connection_id":125968,"needed":795,"available":553} 
[2026-07-07 02:29:30] local.INFO: TCP Data received {"connection_id":125968,"ip":"42.106.6.16","data_length":1037,"data_hex":"0000000000019f39388040012d3c8d0006a32bc8004400bc3000360000000a00..."} 
[2026-07-07 02:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125968,"packet_length":1037,"packet_hex":"0000000000019f39388040012d3c8d0006a32bc8004400bc3000360000000a00..."} 
[2026-07-07 02:29:30] local.INFO: Processing buffer {"connection_id":125968,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f393933f0012d3c9b0006a253a8004e00a426..."} 
[2026-07-07 02:29:30] local.INFO: Packet analysis {"connection_id":125968,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3939"} 
[2026-07-07 02:29:30] local.INFO: Extracted packet for processing {"connection_id":125968,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3939"} 
[2026-07-07 02:29:30] local.INFO: GPS Element Parsed {"raw_longitude":758946560,"raw_latitude":111301544,"longitude_deg":75.894656,"latitude_deg":11.1301544,"altitude":78,"angle":164,"satellites":38,"speed":53,"hex_longitude":"2d3c9b00","hex_latitude":"06a253a8","is_valid_coordinates":true} 
[2026-07-07 02:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543096576001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340151574368092160,"note":"Value kept but may cause issues"} 
[2026-07-07 02:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364199173649956864,"note":"Value kept but may cause issues"} 
[2026-07-07 02:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783371478000,"timestamp_ms":1783371478000,"timestamp_seconds":1783371478,"priority":1,"record_length":96,"hex_timestamp":"0000019f393933f0"} 
[2026-07-07 02:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 02:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543096576001,"66":27397,"221":206,"81":47616,"24":53,"16":340151574368092160,"45":4364199173649956864},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-07-07 02:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543096576001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:29:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 02:29:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340151574368092160,"km_value":340151574368092.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364199173649956864,"description":"Unknown IO ID 45"} 
[2026-07-07 02:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543096576001,"power":27397,"unknown_221":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4364199173649956864}} 
[2026-07-07 02:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":125968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:29:30] local.INFO: GPS data processed {"connection_id":125968,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:29:30] local.INFO: Acknowledgment sent {"connection_id":125968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:29:30] local.INFO: Packet analysis {"connection_id":125968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3939"} 
[2026-07-07 02:29:30] local.INFO: Extracted packet for processing {"connection_id":125968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3939"} 
[2026-07-07 02:29:30] local.INFO: GPS Element Parsed {"raw_longitude":758948416,"raw_latitude":111292248,"longitude_deg":75.8948416,"latitude_deg":11.1292248,"altitude":78,"angle":172,"satellites":42,"speed":54,"hex_longitude":"2d3ca240","hex_latitude":"06a22f58","is_valid_coordinates":true} 
[2026-07-07 02:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543098368001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340152033929592832,"note":"Value kept but may cause issues"} 
[2026-07-07 02:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367084292159023104,"note":"Value kept but may cause issues"} 
[2026-07-07 02:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783371485000,"timestamp_ms":1783371485000,"timestamp_seconds":1783371485,"priority":1,"record_length":96,"hex_timestamp":"0000019f39394f48"} 
[2026-07-07 02:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 02:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543098368001,"66":27484,"221":206,"81":47616,"24":54,"16":340152033929592832,"45":4367084292159023104},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-07-07 02:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543098368001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:29:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 02:29:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340152033929592832,"km_value":340152033929592.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367084292159023104,"description":"Unknown IO ID 45"} 
[2026-07-07 02:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543098368001,"power":27484,"unknown_221":206,"unknown_81":47616,"ignition":54,"odometer":null,"unknown_45":4367084292159023104}} 
[2026-07-07 02:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":125968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:29:30] local.INFO: GPS data processed {"connection_id":125968,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:29:30] local.INFO: Acknowledgment sent {"connection_id":125968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:30:00] local.INFO: TCP Data received {"connection_id":123954,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:30:00] local.INFO: Processing buffer {"connection_id":123954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:30:00] local.INFO: IMEI packet received {"connection_id":123954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":123954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:30:02] local.INFO: TCP Data received {"connection_id":123954,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:30:02] local.INFO: Processing buffer {"connection_id":123954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:30:02] local.INFO: IMEI packet received {"connection_id":123954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":123954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:30:05] local.INFO: TCP Data received {"connection_id":123954,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:30:05] local.INFO: Processing buffer {"connection_id":123954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:30:05] local.INFO: IMEI packet received {"connection_id":123954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":123954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:30:05] local.INFO: TCP Data received {"connection_id":124059,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:30:05] local.INFO: Processing buffer {"connection_id":124059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:30:05] local.INFO: IMEI packet received {"connection_id":124059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 02:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":124059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:30:07] local.INFO: TCP Data received {"connection_id":123954,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393a31d8012d3c730006a0b700002800c532..."} 
[2026-07-07 02:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393a31d8012d3c730006a0b700002800c532..."} 
[2026-07-07 02:30:07] local.INFO: Processing buffer {"connection_id":123954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f393a31d8012d3c730006a0b700002800c532..."} 
[2026-07-07 02:30:07] local.INFO: Packet analysis {"connection_id":123954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f393a"} 
[2026-07-07 02:30:07] local.INFO: Extracted packet for processing {"connection_id":123954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f393a"} 
[2026-07-07 02:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758936320,"raw_latitude":111195904,"longitude_deg":75.893632,"latitude_deg":11.1195904,"altitude":40,"angle":197,"satellites":50,"speed":79,"hex_longitude":"2d3c7300","hex_latitude":"06a0b700","is_valid_coordinates":true} 
[2026-07-07 02:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543113728001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340156805638258688,"note":"Value kept but may cause issues"} 
[2026-07-07 02:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4359343730274881536,"note":"Value kept but may cause issues"} 
[2026-07-07 02:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783371543000,"timestamp_ms":1783371543000,"timestamp_seconds":1783371543,"priority":1,"record_length":96,"hex_timestamp":"0000019f393a31d8"} 
[2026-07-07 02:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-07-07 02:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":123954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":123954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":123954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543113728001,"66":27332,"107":206,"81":47616,"24":79,"16":340156805638258688,"45":4359343730274881536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-07-07 02:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543113728001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:30:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-07 02:30:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340156805638258688,"km_value":340156805638258.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4359343730274881536,"description":"Unknown IO ID 45"} 
[2026-07-07 02:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543113728001,"power":27332,"unknown_107":206,"unknown_81":47616,"ignition":79,"odometer":null,"unknown_45":4359343730274881536}} 
[2026-07-07 02:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":123954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:30:07] local.INFO: GPS data processed {"connection_id":123954,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:30:07] local.INFO: Acknowledgment sent {"connection_id":123954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:30:11] local.INFO: TCP Data received {"connection_id":123954,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393a4560012d3c67c006a09298002800c533..."} 
[2026-07-07 02:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393a4560012d3c67c006a09298002800c533..."} 
[2026-07-07 02:30:11] local.INFO: Processing buffer {"connection_id":123954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f393a4560012d3c67c006a09298002800c533..."} 
[2026-07-07 02:30:11] local.INFO: Packet analysis {"connection_id":123954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f393a"} 
[2026-07-07 02:30:11] local.INFO: Extracted packet for processing {"connection_id":123954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f393a"} 
[2026-07-07 02:30:11] local.INFO: GPS Element Parsed {"raw_longitude":758933440,"raw_latitude":111186584,"longitude_deg":75.893344,"latitude_deg":11.1186584,"altitude":40,"angle":197,"satellites":51,"speed":75,"hex_longitude":"2d3c67c0","hex_latitude":"06a09298","is_valid_coordinates":true} 
[2026-07-07 02:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543115008001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340157278084661248,"note":"Value kept but may cause issues"} 
[2026-07-07 02:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4355825293063553024,"note":"Value kept but may cause issues"} 
[2026-07-07 02:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783371548000,"timestamp_ms":1783371548000,"timestamp_seconds":1783371548,"priority":1,"record_length":96,"hex_timestamp":"0000019f393a4560"} 
[2026-07-07 02:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02: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-07-07 02:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 02:30: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-07-07 02:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543115008001,"66":27267,"107":206,"81":47616,"24":75,"16":340157278084661248,"45":4355825293063553024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-07-07 02:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543115008001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:30:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-07 02:30:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340157278084661248,"km_value":340157278084661.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4355825293063553024,"description":"Unknown IO ID 45"} 
[2026-07-07 02:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543115008001,"power":27267,"unknown_107":206,"unknown_81":47616,"ignition":75,"odometer":null,"unknown_45":4355825293063553024}} 
[2026-07-07 02:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":123954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:30:12] local.INFO: GPS data processed {"connection_id":123954,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:30:12] local.INFO: Acknowledgment sent {"connection_id":123954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:30:43] local.INFO: TCP Data received {"connection_id":123954,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393a58e8012d3c5c0006a07160002b00ca31..."} 
[2026-07-07 02:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393a58e8012d3c5c0006a07160002b00ca31..."} 
[2026-07-07 02:30:43] local.INFO: Processing buffer {"connection_id":123954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f393a58e8012d3c5c0006a07160002b00ca31..."} 
[2026-07-07 02:30:43] local.INFO: Packet analysis {"connection_id":123954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f393a"} 
[2026-07-07 02:30:43] local.INFO: Extracted packet for processing {"connection_id":123954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f393a"} 
[2026-07-07 02:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758930432,"raw_latitude":111178080,"longitude_deg":75.8930432,"latitude_deg":11.117808,"altitude":43,"angle":202,"satellites":49,"speed":67,"hex_longitude":"2d3c5c00","hex_latitude":"06a07160","is_valid_coordinates":true} 
[2026-07-07 02: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-07-07 02:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543116288001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340157716171325440,"note":"Value kept but may cause issues"} 
[2026-07-07 02:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4352658699573172224,"note":"Value kept but may cause issues"} 
[2026-07-07 02:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783371553000,"timestamp_ms":1783371553000,"timestamp_seconds":1783371553,"priority":1,"record_length":96,"hex_timestamp":"0000019f393a58e8"} 
[2026-07-07 02:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:30: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-07-07 02: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":131,"data_length":795,"current_offset":136} 
[2026-07-07 02:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02: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-07-07 02:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543116288001,"66":27332,"107":206,"81":47616,"24":67,"16":340157716171325440,"45":4352658699573172224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-07-07 02:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543116288001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:30:43] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-07 02:30:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340157716171325440,"km_value":340157716171325.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4352658699573172224,"description":"Unknown IO ID 45"} 
[2026-07-07 02:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543116288001,"power":27332,"unknown_107":206,"unknown_81":47616,"ignition":67,"odometer":null,"unknown_45":4352658699573172224}} 
[2026-07-07 02:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":123954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:30:43] local.INFO: GPS data processed {"connection_id":123954,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:30:43] local.INFO: Acknowledgment sent {"connection_id":123954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:31:00] local.INFO: TCP Data received {"connection_id":124060,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:31:00] local.INFO: Processing buffer {"connection_id":124060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:31:00] local.INFO: IMEI packet received {"connection_id":124060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":124060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:31:05] local.INFO: TCP Data received {"connection_id":124060,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:31:05] local.INFO: Processing buffer {"connection_id":124060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:31:05] local.INFO: IMEI packet received {"connection_id":124060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":124060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:31:06] local.INFO: TCP Data received {"connection_id":124060,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393a6888012d3c4fc006a05b60002d00d533..."} 
[2026-07-07 02:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393a6888012d3c4fc006a05b60002d00d533..."} 
[2026-07-07 02:31:06] local.INFO: Processing buffer {"connection_id":124060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f393a6888012d3c4fc006a05b60002d00d533..."} 
[2026-07-07 02:31:06] local.INFO: Packet analysis {"connection_id":124060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f393a"} 
[2026-07-07 02:31:06] local.INFO: Extracted packet for processing {"connection_id":124060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f393a"} 
[2026-07-07 02:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758927296,"raw_latitude":111172448,"longitude_deg":75.8927296,"latitude_deg":11.1172448,"altitude":45,"angle":213,"satellites":51,"speed":61,"hex_longitude":"2d3c4fc0","hex_latitude":"06a05b60","is_valid_coordinates":true} 
[2026-07-07 02:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543117568001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340158025408970752,"note":"Value kept but may cause issues"} 
[2026-07-07 02:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4349351368594644992,"note":"Value kept but may cause issues"} 
[2026-07-07 02:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783371557000,"timestamp_ms":1783371557000,"timestamp_seconds":1783371557,"priority":1,"record_length":96,"hex_timestamp":"0000019f393a6888"} 
[2026-07-07 02:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 02:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543117568001,"66":27321,"107":206,"81":47616,"24":61,"16":340158025408970752,"45":4349351368594644992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-07-07 02:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543117568001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:31:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-07 02:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340158025408970752,"km_value":340158025408970.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4349351368594644992,"description":"Unknown IO ID 45"} 
[2026-07-07 02:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543117568001,"power":27321,"unknown_107":206,"unknown_81":47616,"ignition":61,"odometer":null,"unknown_45":4349351368594644992}} 
[2026-07-07 02:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":124060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:31:06] local.INFO: GPS data processed {"connection_id":124060,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:31:06] local.INFO: Acknowledgment sent {"connection_id":124060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:31:43] local.INFO: TCP Data received {"connection_id":124060,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393a83e0012d3c388006a03cc0003100d828..."} 
[2026-07-07 02:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393a83e0012d3c388006a03cc0003100d828..."} 
[2026-07-07 02:31:43] local.INFO: Processing buffer {"connection_id":124060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f393a83e0012d3c388006a03cc0003100d828..."} 
[2026-07-07 02:31:43] local.INFO: Packet analysis {"connection_id":124060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f393a"} 
[2026-07-07 02:31:43] local.INFO: Extracted packet for processing {"connection_id":124060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f393a"} 
[2026-07-07 02:31:43] local.INFO: GPS Element Parsed {"raw_longitude":758921344,"raw_latitude":111164608,"longitude_deg":75.8921344,"latitude_deg":11.1164608,"altitude":49,"angle":216,"satellites":40,"speed":50,"hex_longitude":"2d3c3880","hex_latitude":"06a03cc0","is_valid_coordinates":true} 
[2026-07-07 02:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543118592001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340158502150340608,"note":"Value kept but may cause issues"} 
[2026-07-07 02:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4345903300128497664,"note":"Value kept but may cause issues"} 
[2026-07-07 02:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783371564000,"timestamp_ms":1783371564000,"timestamp_seconds":1783371564,"priority":1,"record_length":96,"hex_timestamp":"0000019f393a83e0"} 
[2026-07-07 02:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 02:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543118592001,"66":27321,"107":206,"81":47616,"24":50,"16":340158502150340608,"45":4345903300128497664},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-07-07 02:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543118592001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:31:43] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-07 02:31:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340158502150340608,"km_value":340158502150340.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4345903300128497664,"description":"Unknown IO ID 45"} 
[2026-07-07 02:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543118592001,"power":27321,"unknown_107":206,"unknown_81":47616,"ignition":50,"odometer":null,"unknown_45":4345903300128497664}} 
[2026-07-07 02:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":124060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:31:43] local.INFO: GPS data processed {"connection_id":124060,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:31:43] local.INFO: Acknowledgment sent {"connection_id":124060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:32:00] local.INFO: TCP Data received {"connection_id":124061,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:32:00] local.INFO: Processing buffer {"connection_id":124061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:32:00] local.INFO: IMEI packet received {"connection_id":124061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":124061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:32:05] local.INFO: TCP Data received {"connection_id":124061,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:32:05] local.INFO: Processing buffer {"connection_id":124061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:32:05] local.INFO: IMEI packet received {"connection_id":124061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":124061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:32:06] local.INFO: TCP Data received {"connection_id":124061,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393bef28012d3c0380069ec8080040009b32..."} 
[2026-07-07 02:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393bef28012d3c0380069ec8080040009b32..."} 
[2026-07-07 02:32:06] local.INFO: Processing buffer {"connection_id":124061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f393bef28012d3c0380069ec8080040009b32..."} 
[2026-07-07 02:32:06] local.INFO: Packet analysis {"connection_id":124061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f393b"} 
[2026-07-07 02:32:06] local.INFO: Extracted packet for processing {"connection_id":124061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f393b"} 
[2026-07-07 02:32:06] local.INFO: GPS Element Parsed {"raw_longitude":758907776,"raw_latitude":111069192,"longitude_deg":75.8907776,"latitude_deg":11.1069192,"altitude":64,"angle":155,"satellites":50,"speed":61,"hex_longitude":"2d3c0380","hex_latitude":"069ec808","is_valid_coordinates":true} 
[2026-07-07 02:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543142656001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340163376938221568,"note":"Value kept but may cause issues"} 
[2026-07-07 02:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4320781658432798720,"note":"Value kept but may cause issues"} 
[2026-07-07 02:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783371657000,"timestamp_ms":1783371657000,"timestamp_seconds":1783371657,"priority":1,"record_length":96,"hex_timestamp":"0000019f393bef28"} 
[2026-07-07 02:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:32: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-07-07 02:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 02:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543142656001,"66":27267,"223":206,"81":47616,"24":61,"16":340163376938221568,"45":4320781658432798720},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,81,24,16,45]} 
[2026-07-07 02:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543142656001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:32:06] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-07-07 02:32:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340163376938221568,"km_value":340163376938221.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4320781658432798720,"description":"Unknown IO ID 45"} 
[2026-07-07 02:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543142656001,"power":27267,"unknown_223":206,"unknown_81":47616,"ignition":61,"odometer":null,"unknown_45":4320781658432798720}} 
[2026-07-07 02:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":124061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:32:06] local.INFO: GPS data processed {"connection_id":124061,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:32:06] local.INFO: Acknowledgment sent {"connection_id":124061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:32:43] local.INFO: TCP Data received {"connection_id":124061,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393c0698012d3c1400069ea738003e009831..."} 
[2026-07-07 02:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393c0698012d3c1400069ea738003e009831..."} 
[2026-07-07 02:32:43] local.INFO: Processing buffer {"connection_id":124061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f393c0698012d3c1400069ea738003e009831..."} 
[2026-07-07 02:32:43] local.INFO: Packet analysis {"connection_id":124061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f393c"} 
[2026-07-07 02:32:43] local.INFO: Extracted packet for processing {"connection_id":124061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f393c"} 
[2026-07-07 02:32:43] local.INFO: GPS Element Parsed {"raw_longitude":758912000,"raw_latitude":111060792,"longitude_deg":75.8912,"latitude_deg":11.1060792,"altitude":62,"angle":152,"satellites":49,"speed":62,"hex_longitude":"2d3c1400","hex_latitude":"069ea738","is_valid_coordinates":true} 
[2026-07-07 02:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543144192001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340163832204754944,"note":"Value kept but may cause issues"} 
[2026-07-07 02:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4324440833127876608,"note":"Value kept but may cause issues"} 
[2026-07-07 02:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783371663000,"timestamp_ms":1783371663000,"timestamp_seconds":1783371663,"priority":1,"record_length":96,"hex_timestamp":"0000019f393c0698"} 
[2026-07-07 02:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:32: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-07-07 02:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 02:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543144192001,"66":27234,"223":206,"81":47616,"24":62,"16":340163832204754944,"45":4324440833127876608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,81,24,16,45]} 
[2026-07-07 02:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543144192001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:32:43] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-07-07 02:32:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340163832204754944,"km_value":340163832204754.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4324440833127876608,"description":"Unknown IO ID 45"} 
[2026-07-07 02:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543144192001,"power":27234,"unknown_223":206,"unknown_81":47616,"ignition":62,"odometer":null,"unknown_45":4324440833127876608}} 
[2026-07-07 02:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":124061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:32:43] local.INFO: GPS data processed {"connection_id":124061,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:32:43] local.INFO: Acknowledgment sent {"connection_id":124061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:33:05] local.INFO: TCP Data received {"connection_id":125969,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:33:05] local.INFO: Processing buffer {"connection_id":125969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:33:05] local.INFO: IMEI packet received {"connection_id":125969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":125969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:33:09] local.INFO: TCP Data received {"connection_id":125969,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:33:09] local.INFO: Processing buffer {"connection_id":125969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:33:09] local.INFO: IMEI packet received {"connection_id":125969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":125969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:33:14] local.INFO: TCP Data received {"connection_id":125969,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393cf0f8012d3ce8c0069d84180031008f33..."} 
[2026-07-07 02:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393cf0f8012d3ce8c0069d84180031008f33..."} 
[2026-07-07 02:33:14] local.INFO: Processing buffer {"connection_id":125969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f393cf0f8012d3ce8c0069d84180031008f33..."} 
[2026-07-07 02:33:14] local.INFO: Packet analysis {"connection_id":125969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f393c"} 
[2026-07-07 02:33:14] local.INFO: Extracted packet for processing {"connection_id":125969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f393c"} 
[2026-07-07 02:33:14] local.INFO: GPS Element Parsed {"raw_longitude":758966464,"raw_latitude":110986264,"longitude_deg":75.8966464,"latitude_deg":11.0986264,"altitude":49,"angle":143,"satellites":51,"speed":56,"hex_longitude":"2d3ce8c0","hex_latitude":"069d8418","is_valid_coordinates":true} 
[2026-07-07 02: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-07-07 02:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543159552001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340168350510350336,"note":"Value kept but may cause issues"} 
[2026-07-07 02:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4381791359613083648,"note":"Value kept but may cause issues"} 
[2026-07-07 02:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783371723000,"timestamp_ms":1783371723000,"timestamp_seconds":1783371723,"priority":1,"record_length":96,"hex_timestamp":"0000019f393cf0f8"} 
[2026-07-07 02:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02: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-07-07 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 02:33: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-07-07 02: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-07-07 02:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543159552001,"66":27267,"145":206,"81":47616,"24":56,"16":340168350510350336,"45":4381791359613083648},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,81,24,16,45]} 
[2026-07-07 02:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543159552001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:33:14] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-07 02:33:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340168350510350336,"km_value":340168350510350.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4381791359613083648,"description":"Unknown IO ID 45"} 
[2026-07-07 02:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543159552001,"power":27267,"unknown_145":206,"unknown_81":47616,"ignition":56,"odometer":null,"unknown_45":4381791359613083648}} 
[2026-07-07 02:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":125969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:33:14] local.INFO: GPS data processed {"connection_id":125969,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:33:14] local.INFO: Acknowledgment sent {"connection_id":125969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:33:15] local.INFO: TCP Data received {"connection_id":125969,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393cf0f8012d3ce8c0069d84180031008f33..."} 
[2026-07-07 02:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393cf0f8012d3ce8c0069d84180031008f33..."} 
[2026-07-07 02:33:15] local.INFO: Processing buffer {"connection_id":125969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f393cf0f8012d3ce8c0069d84180031008f33..."} 
[2026-07-07 02:33:15] local.INFO: Packet analysis {"connection_id":125969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f393c"} 
[2026-07-07 02:33:15] local.INFO: Extracted packet for processing {"connection_id":125969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f393c"} 
[2026-07-07 02:33:15] local.INFO: GPS Element Parsed {"raw_longitude":758966464,"raw_latitude":110986264,"longitude_deg":75.8966464,"latitude_deg":11.0986264,"altitude":49,"angle":143,"satellites":51,"speed":56,"hex_longitude":"2d3ce8c0","hex_latitude":"069d8418","is_valid_coordinates":true} 
[2026-07-07 02:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543161088001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340168350510350336,"note":"Value kept but may cause issues"} 
[2026-07-07 02:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4388968971517564928,"note":"Value kept but may cause issues"} 
[2026-07-07 02:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783371723000,"timestamp_ms":1783371723000,"timestamp_seconds":1783371723,"priority":1,"record_length":96,"hex_timestamp":"0000019f393cf0f8"} 
[2026-07-07 02:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:33: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-07-07 02:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 02:33: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-07-07 02:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543161088001,"66":27267,"145":206,"81":47616,"24":56,"16":340168350510350336,"45":4388968971517564928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,81,24,16,45]} 
[2026-07-07 02:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543161088001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:33:15] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-07 02:33:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340168350510350336,"km_value":340168350510350.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4388968971517564928,"description":"Unknown IO ID 45"} 
[2026-07-07 02:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543161088001,"power":27267,"unknown_145":206,"unknown_81":47616,"ignition":56,"odometer":null,"unknown_45":4388968971517564928}} 
[2026-07-07 02:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":125969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:33:15] local.INFO: GPS data processed {"connection_id":125969,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:33:15] local.INFO: Acknowledgment sent {"connection_id":125969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:34:00] local.INFO: TCP Data received {"connection_id":124725,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:34:00] local.INFO: Processing buffer {"connection_id":124725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:34:00] local.INFO: IMEI packet received {"connection_id":124725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":124725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:34:04] local.INFO: TCP Data received {"connection_id":124725,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:34:04] local.INFO: Processing buffer {"connection_id":124725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:34:04] local.INFO: IMEI packet received {"connection_id":124725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":124725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:34:05] local.INFO: TCP Data received {"connection_id":124725,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:34:05] local.INFO: Processing buffer {"connection_id":124725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:34:05] local.INFO: IMEI packet received {"connection_id":124725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":124725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:34:06] local.INFO: TCP Data received {"connection_id":124725,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393e0268012d3d6940069c2390002600a333..."} 
[2026-07-07 02:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393e0268012d3d6940069c2390002600a333..."} 
[2026-07-07 02:34:06] local.INFO: Processing buffer {"connection_id":124725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f393e0268012d3d6940069c2390002600a333..."} 
[2026-07-07 02:34:06] local.INFO: Packet analysis {"connection_id":124725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f393e"} 
[2026-07-07 02:34:06] local.INFO: Extracted packet for processing {"connection_id":124725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f393e"} 
[2026-07-07 02:34:06] local.INFO: GPS Element Parsed {"raw_longitude":758999360,"raw_latitude":110896016,"longitude_deg":75.899936,"latitude_deg":11.0896016,"altitude":38,"angle":163,"satellites":51,"speed":65,"hex_longitude":"2d3d6940","hex_latitude":"069c2390","is_valid_coordinates":true} 
[2026-07-07 02:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543177472001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340173036319670272,"note":"Value kept but may cause issues"} 
[2026-07-07 02:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4422112650004574208,"note":"Value kept but may cause issues"} 
[2026-07-07 02:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783371793000,"timestamp_ms":1783371793000,"timestamp_seconds":1783371793,"priority":1,"record_length":96,"hex_timestamp":"0000019f393e0268"} 
[2026-07-07 02:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 02:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543177472001,"66":27180,"223":206,"81":47616,"24":65,"16":340173036319670272,"45":4422112650004574208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,81,24,16,45]} 
[2026-07-07 02:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543177472001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:34:06] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-07-07 02:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340173036319670272,"km_value":340173036319670.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4422112650004574208,"description":"Unknown IO ID 45"} 
[2026-07-07 02:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543177472001,"power":27180,"unknown_223":206,"unknown_81":47616,"ignition":65,"odometer":null,"unknown_45":4422112650004574208}} 
[2026-07-07 02:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":124725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:34:06] local.INFO: GPS data processed {"connection_id":124725,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:34:06] local.INFO: Acknowledgment sent {"connection_id":124725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:34:11] local.INFO: TCP Data received {"connection_id":124725,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393e19d8012d3d7440069bfe68002500a333..."} 
[2026-07-07 02:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393e19d8012d3d7440069bfe68002500a333..."} 
[2026-07-07 02:34:11] local.INFO: Processing buffer {"connection_id":124725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f393e19d8012d3d7440069bfe68002500a333..."} 
[2026-07-07 02:34:11] local.INFO: Packet analysis {"connection_id":124725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f393e"} 
[2026-07-07 02:34:11] local.INFO: Extracted packet for processing {"connection_id":124725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f393e"} 
[2026-07-07 02:34:11] local.INFO: GPS Element Parsed {"raw_longitude":759002176,"raw_latitude":110886504,"longitude_deg":75.9002176,"latitude_deg":11.0886504,"altitude":37,"angle":163,"satellites":51,"speed":64,"hex_longitude":"2d3d7440","hex_latitude":"069bfe68","is_valid_coordinates":true} 
[2026-07-07 02:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543179008001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340173513061040128,"note":"Value kept but may cause issues"} 
[2026-07-07 02:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4425138506001780736,"note":"Value kept but may cause issues"} 
[2026-07-07 02:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783371799000,"timestamp_ms":1783371799000,"timestamp_seconds":1783371799,"priority":1,"record_length":96,"hex_timestamp":"0000019f393e19d8"} 
[2026-07-07 02:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:34: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-07-07 02: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-07 02:34: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-07-07 02:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543179008001,"66":27397,"223":206,"81":47616,"24":64,"16":340173513061040128,"45":4425138506001780736},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,81,24,16,45]} 
[2026-07-07 02:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543179008001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:34:11] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-07-07 02:34:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340173513061040128,"km_value":340173513061040.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4425138506001780736,"description":"Unknown IO ID 45"} 
[2026-07-07 02:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543179008001,"power":27397,"unknown_223":206,"unknown_81":47616,"ignition":64,"odometer":null,"unknown_45":4425138506001780736}} 
[2026-07-07 02:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":124725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:34:11] local.INFO: GPS data processed {"connection_id":124725,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:34:11] local.INFO: Acknowledgment sent {"connection_id":124725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:34:42] local.INFO: TCP Data received {"connection_id":124725,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393e3148012d3d7e40069bdb48002600a433..."} 
[2026-07-07 02:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393e3148012d3d7e40069bdb48002600a433..."} 
[2026-07-07 02:34:42] local.INFO: Processing buffer {"connection_id":124725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f393e3148012d3d7e40069bdb48002600a433..."} 
[2026-07-07 02:34:42] local.INFO: Packet analysis {"connection_id":124725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f393e"} 
[2026-07-07 02:34:42] local.INFO: Extracted packet for processing {"connection_id":124725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f393e"} 
[2026-07-07 02:34:42] local.INFO: GPS Element Parsed {"raw_longitude":759004736,"raw_latitude":110877512,"longitude_deg":75.9004736,"latitude_deg":11.0877512,"altitude":38,"angle":164,"satellites":51,"speed":59,"hex_longitude":"2d3d7e40","hex_latitude":"069bdb48","is_valid_coordinates":true} 
[2026-07-07 02:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543180544001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340173968327573504,"note":"Value kept but may cause issues"} 
[2026-07-07 02:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4428234730743162880,"note":"Value kept but may cause issues"} 
[2026-07-07 02:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783371805000,"timestamp_ms":1783371805000,"timestamp_seconds":1783371805,"priority":1,"record_length":96,"hex_timestamp":"0000019f393e3148"} 
[2026-07-07 02:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:34: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-07-07 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 02:34: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-07-07 02:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543180544001,"66":27343,"225":206,"81":47616,"24":59,"16":340173968327573504,"45":4428234730743162880},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-07-07 02:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543180544001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:34:42] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-07 02:34:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340173968327573504,"km_value":340173968327573.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4428234730743162880,"description":"Unknown IO ID 45"} 
[2026-07-07 02:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543180544001,"power":27343,"unknown_225":206,"unknown_81":47616,"ignition":59,"odometer":null,"unknown_45":4428234730743162880}} 
[2026-07-07 02:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":124725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:34:42] local.INFO: GPS data processed {"connection_id":124725,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:34:42] local.INFO: Acknowledgment sent {"connection_id":124725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:35:00] local.INFO: TCP Data received {"connection_id":124063,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:35:00] local.INFO: Processing buffer {"connection_id":124063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:35:00] local.INFO: IMEI packet received {"connection_id":124063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":124063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:35:03] local.INFO: TCP Data received {"connection_id":124063,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:35:03] local.INFO: Processing buffer {"connection_id":124063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:35:03] local.INFO: IMEI packet received {"connection_id":124063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":124063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:35:05] local.INFO: TCP Data received {"connection_id":124063,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:35:05] local.INFO: Processing buffer {"connection_id":124063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:35:05] local.INFO: IMEI packet received {"connection_id":124063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":124063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:35:07] local.INFO: TCP Data received {"connection_id":124063,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393e4ca0012d3d8940069bb5b0002700a333..."} 
[2026-07-07 02:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393e4ca0012d3d8940069bb5b0002700a333..."} 
[2026-07-07 02:35:07] local.INFO: Processing buffer {"connection_id":124063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f393e4ca0012d3d8940069bb5b0002700a333..."} 
[2026-07-07 02:35:07] local.INFO: Packet analysis {"connection_id":124063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f393e"} 
[2026-07-07 02:35:07] local.INFO: Extracted packet for processing {"connection_id":124063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f393e"} 
[2026-07-07 02:35:07] local.INFO: GPS Element Parsed {"raw_longitude":759007552,"raw_latitude":110867888,"longitude_deg":75.9007552,"latitude_deg":11.0867888,"altitude":39,"angle":163,"satellites":51,"speed":54,"hex_longitude":"2d3d8940","hex_latitude":"069bb5b0","is_valid_coordinates":true} 
[2026-07-07 02: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-07-07 02:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543182080001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340174453658877952,"note":"Value kept but may cause issues"} 
[2026-07-07 02:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4431049480507967488,"note":"Value kept but may cause issues"} 
[2026-07-07 02:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783371812000,"timestamp_ms":1783371812000,"timestamp_seconds":1783371812,"priority":1,"record_length":96,"hex_timestamp":"0000019f393e4ca0"} 
[2026-07-07 02:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 02:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543182080001,"66":27321,"225":206,"81":47616,"24":54,"16":340174453658877952,"45":4431049480507967488},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-07-07 02:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543182080001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:35:07] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-07 02:35:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340174453658877952,"km_value":340174453658877.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4431049480507967488,"description":"Unknown IO ID 45"} 
[2026-07-07 02:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543182080001,"power":27321,"unknown_225":206,"unknown_81":47616,"ignition":54,"odometer":null,"unknown_45":4431049480507967488}} 
[2026-07-07 02:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":124063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:35:07] local.INFO: GPS data processed {"connection_id":124063,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:35:07] local.INFO: Acknowledgment sent {"connection_id":124063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:35:33] local.INFO: TCP Data received {"connection_id":124064,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:35:33] local.INFO: Processing buffer {"connection_id":124064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:35:33] local.INFO: IMEI packet received {"connection_id":124064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 02:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":124064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:35:46] local.INFO: TCP Data received {"connection_id":124063,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393e67f8012d3d9240069b9270002800a932..."} 
[2026-07-07 02:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393e67f8012d3d9240069b9270002800a932..."} 
[2026-07-07 02:35:46] local.INFO: Processing buffer {"connection_id":124063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f393e67f8012d3d9240069b9270002800a932..."} 
[2026-07-07 02:35:46] local.INFO: Packet analysis {"connection_id":124063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f393e"} 
[2026-07-07 02:35:46] local.INFO: Extracted packet for processing {"connection_id":124063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f393e"} 
[2026-07-07 02:35:46] local.INFO: GPS Element Parsed {"raw_longitude":759009856,"raw_latitude":110858864,"longitude_deg":75.9009856,"latitude_deg":11.0858864,"altitude":40,"angle":169,"satellites":50,"speed":51,"hex_longitude":"2d3d9240","hex_latitude":"069b9270","is_valid_coordinates":true} 
[2026-07-07 02:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543183872001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340174904630444032,"note":"Value kept but may cause issues"} 
[2026-07-07 02:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4434145705249320960,"note":"Value kept but may cause issues"} 
[2026-07-07 02:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783371819000,"timestamp_ms":1783371819000,"timestamp_seconds":1783371819,"priority":1,"record_length":96,"hex_timestamp":"0000019f393e67f8"} 
[2026-07-07 02:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 02:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543183872001,"66":27332,"225":206,"81":47616,"24":51,"16":340174904630444032,"45":4434145705249320960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-07-07 02:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543183872001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:35:46] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-07 02:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340174904630444032,"km_value":340174904630444.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4434145705249320960,"description":"Unknown IO ID 45"} 
[2026-07-07 02:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543183872001,"power":27332,"unknown_225":206,"unknown_81":47616,"ignition":51,"odometer":null,"unknown_45":4434145705249320960}} 
[2026-07-07 02:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":124063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:35:46] local.INFO: GPS data processed {"connection_id":124063,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:35:46] local.INFO: Acknowledgment sent {"connection_id":124063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:36:00] local.INFO: TCP Data received {"connection_id":124726,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:36:00] local.INFO: Processing buffer {"connection_id":124726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:36:00] local.INFO: IMEI packet received {"connection_id":124726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 02:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":124726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:36:01] local.INFO: TCP Data received {"connection_id":125970,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:36:01] local.INFO: Processing buffer {"connection_id":125970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:36:01] local.INFO: IMEI packet received {"connection_id":125970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":125970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:36:29] local.INFO: TCP Data received {"connection_id":125970,"ip":"42.106.6.16","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 02:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125970,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 02:36:29] local.INFO: Processing buffer {"connection_id":125970,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 02:36:29] local.INFO: IMEI packet received {"connection_id":125970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":125970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:36:29] local.INFO: TCP Data received {"connection_id":125970,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393f90d8012d3deb40069a0598001800b330..."} 
[2026-07-07 02:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393f90d8012d3deb40069a0598001800b330..."} 
[2026-07-07 02:36:29] local.INFO: Processing buffer {"connection_id":125970,"buffer_length":829,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 02:36:29] local.INFO: IMEI packet received {"connection_id":125970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":125970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:36:30] local.INFO: TCP Data received {"connection_id":125970,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393fa848012d3deb400699dc78001600b431..."} 
[2026-07-07 02:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393fa848012d3deb400699dc78001600b431..."} 
[2026-07-07 02:36:30] local.INFO: Processing buffer {"connection_id":125970,"buffer_length":1607,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f39..."} 
[2026-07-07 02:36:30] local.INFO: IMEI packet received {"connection_id":125970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":125970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:36:31] local.INFO: TCP Data received {"connection_id":125970,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393fbfb8012d3deb400699b468001600b430..."} 
[2026-07-07 02:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393fbfb8012d3deb400699b468001600b430..."} 
[2026-07-07 02:36:31] local.INFO: Processing buffer {"connection_id":125970,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019f393f90d8012d3deb40069a0598001800b330..."} 
[2026-07-07 02:36:31] local.INFO: Packet analysis {"connection_id":125970,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019f393f"} 
[2026-07-07 02:36:31] local.INFO: Extracted packet for processing {"connection_id":125970,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f393f"} 
[2026-07-07 02:36:31] local.INFO: GPS Element Parsed {"raw_longitude":759032640,"raw_latitude":110757272,"longitude_deg":75.903264,"latitude_deg":11.0757272,"altitude":24,"angle":179,"satellites":48,"speed":69,"hex_longitude":"2d3deb40","hex_latitude":"069a0598","is_valid_coordinates":true} 
[2026-07-07 02:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543203584001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340180011346558976,"note":"Value kept but may cause issues"} 
[2026-07-07 02:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4461730252941285376,"note":"Value kept but may cause issues"} 
[2026-07-07 02:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783371895000,"timestamp_ms":1783371895000,"timestamp_seconds":1783371895,"priority":1,"record_length":96,"hex_timestamp":"0000019f393f90d8"} 
[2026-07-07 02:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:36: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-07-07 02:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 02:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543203584001,"66":27517,"147":206,"81":47616,"24":69,"16":340180011346558976,"45":4461730252941285376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,81,24,16,45]} 
[2026-07-07 02:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543203584001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:36:31] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 02:36:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340180011346558976,"km_value":340180011346559.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4461730252941285376,"description":"Unknown IO ID 45"} 
[2026-07-07 02:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543203584001,"power":27517,"unknown_147":206,"unknown_81":47616,"ignition":69,"odometer":null,"unknown_45":4461730252941285376}} 
[2026-07-07 02:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":125970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:36:31] local.INFO: GPS data processed {"connection_id":125970,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:36:31] local.INFO: Acknowledgment sent {"connection_id":125970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:36:31] local.INFO: Packet analysis {"connection_id":125970,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f393f"} 
[2026-07-07 02:36:31] local.INFO: Extracted packet for processing {"connection_id":125970,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f393f"} 
[2026-07-07 02:36:31] local.INFO: GPS Element Parsed {"raw_longitude":759032640,"raw_latitude":110746744,"longitude_deg":75.903264,"latitude_deg":11.0746744,"altitude":22,"angle":180,"satellites":49,"speed":69,"hex_longitude":"2d3deb40","hex_latitude":"0699dc78","is_valid_coordinates":true} 
[2026-07-07 02:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543205120001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340180522447667200,"note":"Value kept but may cause issues"} 
[2026-07-07 02:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4461730252938647552,"note":"Value kept but may cause issues"} 
[2026-07-07 02:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783371901000,"timestamp_ms":1783371901000,"timestamp_seconds":1783371901,"priority":1,"record_length":96,"hex_timestamp":"0000019f393fa848"} 
[2026-07-07 02:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:36: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-07-07 02:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 02:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543205120001,"66":27550,"147":206,"81":47616,"24":69,"16":340180522447667200,"45":4461730252938647552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,81,24,16,45]} 
[2026-07-07 02:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543205120001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:36:31] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 02:36:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340180522447667200,"km_value":340180522447667.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4461730252938647552,"description":"Unknown IO ID 45"} 
[2026-07-07 02:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543205120001,"power":27550,"unknown_147":206,"unknown_81":47616,"ignition":69,"odometer":null,"unknown_45":4461730252938647552}} 
[2026-07-07 02:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":125970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:36:31] local.INFO: GPS data processed {"connection_id":125970,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:36:31] local.INFO: Acknowledgment sent {"connection_id":125970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:36:31] local.INFO: Packet analysis {"connection_id":125970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f393f"} 
[2026-07-07 02:36:31] local.INFO: Extracted packet for processing {"connection_id":125970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f393f"} 
[2026-07-07 02:36:31] local.INFO: GPS Element Parsed {"raw_longitude":759032640,"raw_latitude":110736488,"longitude_deg":75.903264,"latitude_deg":11.0736488,"altitude":22,"angle":180,"satellites":48,"speed":67,"hex_longitude":"2d3deb40","hex_latitude":"0699b468","is_valid_coordinates":true} 
[2026-07-07 02:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543206656001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340181020663873536,"note":"Value kept but may cause issues"} 
[2026-07-07 02:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4461730252935952384,"note":"Value kept but may cause issues"} 
[2026-07-07 02:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783371907000,"timestamp_ms":1783371907000,"timestamp_seconds":1783371907,"priority":1,"record_length":96,"hex_timestamp":"0000019f393fbfb8"} 
[2026-07-07 02:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:36: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-07-07 02:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-07 02:36:31] 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-07-07 02:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543206656001,"66":27365,"147":206,"81":47616,"24":67,"16":340181020663873536,"45":4461730252935952384},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,81,24,16,45]} 
[2026-07-07 02:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543206656001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:36:31] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 02:36:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340181020663873536,"km_value":340181020663873.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4461730252935952384,"description":"Unknown IO ID 45"} 
[2026-07-07 02:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543206656001,"power":27365,"unknown_147":206,"unknown_81":47616,"ignition":67,"odometer":null,"unknown_45":4461730252935952384}} 
[2026-07-07 02:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":125970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:36:31] local.INFO: GPS data processed {"connection_id":125970,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:36:31] local.INFO: Acknowledgment sent {"connection_id":125970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:36:32] local.INFO: TCP Data received {"connection_id":125970,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f393fd728012d3dee0006998da0001400a731..."} 
[2026-07-07 02:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f393fd728012d3dee0006998da0001400a731..."} 
[2026-07-07 02:36:32] local.INFO: Processing buffer {"connection_id":125970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f393fd728012d3dee0006998da0001400a731..."} 
[2026-07-07 02:36:32] local.INFO: Packet analysis {"connection_id":125970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f393f"} 
[2026-07-07 02:36:32] local.INFO: Extracted packet for processing {"connection_id":125970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f393f"} 
[2026-07-07 02:36:32] local.INFO: GPS Element Parsed {"raw_longitude":759033344,"raw_latitude":110726560,"longitude_deg":75.9033344,"latitude_deg":11.072656,"altitude":20,"angle":167,"satellites":49,"speed":65,"hex_longitude":"2d3dee00","hex_latitude":"06998da0","is_valid_coordinates":true} 
[2026-07-07 02:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543208192001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340181501700210688,"note":"Value kept but may cause issues"} 
[2026-07-07 02:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4461730252933326848,"note":"Value kept but may cause issues"} 
[2026-07-07 02:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783371913000,"timestamp_ms":1783371913000,"timestamp_seconds":1783371913,"priority":1,"record_length":96,"hex_timestamp":"0000019f393fd728"} 
[2026-07-07 02:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 02:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543208192001,"66":27343,"242":206,"81":47616,"24":65,"16":340181501700210688,"45":4461730252933326848},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,81,24,16,45]} 
[2026-07-07 02:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543208192001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:36:32] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-07 02:36:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340181501700210688,"km_value":340181501700210.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4461730252933326848,"description":"Unknown IO ID 45"} 
[2026-07-07 02:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543208192001,"power":27343,"unknown_242":206,"unknown_81":47616,"ignition":65,"odometer":null,"unknown_45":4461730252933326848}} 
[2026-07-07 02:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":125970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:36:32] local.INFO: GPS data processed {"connection_id":125970,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:36:32] local.INFO: Acknowledgment sent {"connection_id":125970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:36:57] local.INFO: TCP Data received {"connection_id":124065,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:36:57] local.INFO: Processing buffer {"connection_id":124065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:36:57] local.INFO: IMEI packet received {"connection_id":124065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":124065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:36:58] local.INFO: TCP Data received {"connection_id":124065,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:36:58] local.INFO: Processing buffer {"connection_id":124065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:36:58] local.INFO: IMEI packet received {"connection_id":124065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":124065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:37:00] local.INFO: TCP Data received {"connection_id":124065,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:37:00] local.INFO: Processing buffer {"connection_id":124065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:37:00] local.INFO: IMEI packet received {"connection_id":124065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":124065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:37:06] local.INFO: TCP Data received {"connection_id":124065,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:37:06] local.INFO: Processing buffer {"connection_id":124065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:37:06] local.INFO: IMEI packet received {"connection_id":124065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":124065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:37:07] local.INFO: TCP Data received {"connection_id":124065,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3940b9b8012d3f1300069925f00015005833..."} 
[2026-07-07 02:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3940b9b8012d3f1300069925f00015005833..."} 
[2026-07-07 02:37:07] local.INFO: Processing buffer {"connection_id":124065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3940b9b8012d3f1300069925f00015005833..."} 
[2026-07-07 02:37:07] local.INFO: Packet analysis {"connection_id":124065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3940"} 
[2026-07-07 02:37:07] local.INFO: Extracted packet for processing {"connection_id":124065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3940"} 
[2026-07-07 02:37:07] local.INFO: GPS Element Parsed {"raw_longitude":759108352,"raw_latitude":110700016,"longitude_deg":75.9108352,"latitude_deg":11.0700016,"altitude":21,"angle":88,"satellites":51,"speed":46,"hex_longitude":"2d3f1300","hex_latitude":"069925f0","is_valid_coordinates":true} 
[2026-07-07 02:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543222528001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340185534674501632,"note":"Value kept but may cause issues"} 
[2026-07-07 02:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4534561903148060672,"note":"Value kept but may cause issues"} 
[2026-07-07 02:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783371971000,"timestamp_ms":1783371971000,"timestamp_seconds":1783371971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3940b9b8"} 
[2026-07-07 02:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 02:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543222528001,"66":27376,"232":206,"81":47616,"24":46,"16":340185534674501632,"45":4534561903148060672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-07-07 02:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543222528001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:37:07] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-07 02:37:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340185534674501632,"km_value":340185534674501.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4534561903148060672,"description":"Unknown IO ID 45"} 
[2026-07-07 02:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543222528001,"power":27376,"unknown_232":206,"unknown_81":47616,"ignition":46,"odometer":null,"unknown_45":4534561903148060672}} 
[2026-07-07 02:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":124065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:37:07] local.INFO: GPS data processed {"connection_id":124065,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:37:07] local.INFO: Acknowledgment sent {"connection_id":124065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:37:37] local.INFO: TCP Data received {"connection_id":124065,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3940d8f8012d3f374006992ab80016004c32..."} 
[2026-07-07 02:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3940d8f8012d3f374006992ab80016004c32..."} 
[2026-07-07 02:37:37] local.INFO: Processing buffer {"connection_id":124065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3940d8f8012d3f374006992ab80016004c32..."} 
[2026-07-07 02:37:37] local.INFO: Packet analysis {"connection_id":124065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3940"} 
[2026-07-07 02:37:37] local.INFO: Extracted packet for processing {"connection_id":124065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3940"} 
[2026-07-07 02:37:37] local.INFO: GPS Element Parsed {"raw_longitude":759117632,"raw_latitude":110701240,"longitude_deg":75.9117632,"latitude_deg":11.070124,"altitude":22,"angle":76,"satellites":50,"speed":46,"hex_longitude":"2d3f3740","hex_latitude":"06992ab8","is_valid_coordinates":true} 
[2026-07-07 02:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543224576001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340185981351100416,"note":"Value kept but may cause issues"} 
[2026-07-07 02:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4544976477286166528,"note":"Value kept but may cause issues"} 
[2026-07-07 02:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783371979000,"timestamp_ms":1783371979000,"timestamp_seconds":1783371979,"priority":1,"record_length":96,"hex_timestamp":"0000019f3940d8f8"} 
[2026-07-07 02:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:37: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-07-07 02:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 02:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543224576001,"66":27397,"232":206,"81":47616,"24":46,"16":340185981351100416,"45":4544976477286166528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-07-07 02:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543224576001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:37:37] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-07 02:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340185981351100416,"km_value":340185981351100.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4544976477286166528,"description":"Unknown IO ID 45"} 
[2026-07-07 02:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543224576001,"power":27397,"unknown_232":206,"unknown_81":47616,"ignition":46,"odometer":null,"unknown_45":4544976477286166528}} 
[2026-07-07 02:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":124065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:37:37] local.INFO: GPS data processed {"connection_id":124065,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:37:37] local.INFO: Acknowledgment sent {"connection_id":124065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:38:01] local.INFO: TCP Data received {"connection_id":124728,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:38:01] local.INFO: Processing buffer {"connection_id":124728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:38:01] local.INFO: IMEI packet received {"connection_id":124728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":124728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:38:05] local.INFO: TCP Data received {"connection_id":124728,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:38:05] local.INFO: Processing buffer {"connection_id":124728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:38:05] local.INFO: IMEI packet received {"connection_id":124728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":124728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:38:06] local.INFO: TCP Data received {"connection_id":124728,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3940d8f8012d3f374006992ab80016004c32..."} 
[2026-07-07 02:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3940d8f8012d3f374006992ab80016004c32..."} 
[2026-07-07 02:38:06] local.INFO: Processing buffer {"connection_id":124728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3940d8f8012d3f374006992ab80016004c32..."} 
[2026-07-07 02:38:06] local.INFO: Packet analysis {"connection_id":124728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3940"} 
[2026-07-07 02:38:06] local.INFO: Extracted packet for processing {"connection_id":124728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3940"} 
[2026-07-07 02:38:06] local.INFO: GPS Element Parsed {"raw_longitude":759117632,"raw_latitude":110701240,"longitude_deg":75.9117632,"latitude_deg":11.070124,"altitude":22,"angle":76,"satellites":50,"speed":46,"hex_longitude":"2d3f3740","hex_latitude":"06992ab8","is_valid_coordinates":true} 
[2026-07-07 02:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543226624001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340185981351100416,"note":"Value kept but may cause issues"} 
[2026-07-07 02:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4555179945192241152,"note":"Value kept but may cause issues"} 
[2026-07-07 02:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783371979000,"timestamp_ms":1783371979000,"timestamp_seconds":1783371979,"priority":1,"record_length":96,"hex_timestamp":"0000019f3940d8f8"} 
[2026-07-07 02:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 02:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543226624001,"66":27397,"232":206,"81":47616,"24":46,"16":340185981351100416,"45":4555179945192241152},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-07-07 02:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543226624001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:38:06] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-07 02:38:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340185981351100416,"km_value":340185981351100.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4555179945192241152,"description":"Unknown IO ID 45"} 
[2026-07-07 02:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543226624001,"power":27397,"unknown_232":206,"unknown_81":47616,"ignition":46,"odometer":null,"unknown_45":4555179945192241152}} 
[2026-07-07 02:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":124728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:38:06] local.INFO: GPS data processed {"connection_id":124728,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:38:06] local.INFO: Acknowledgment sent {"connection_id":124728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:38:37] local.INFO: TCP Data received {"connection_id":124728,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39420d90012d40898006990950001d008132..."} 
[2026-07-07 02:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39420d90012d40898006990950001d008132..."} 
[2026-07-07 02:38:37] local.INFO: Processing buffer {"connection_id":124728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39420d90012d40898006990950001d008132..."} 
[2026-07-07 02:38:37] local.INFO: Packet analysis {"connection_id":124728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3942"} 
[2026-07-07 02:38:37] local.INFO: Extracted packet for processing {"connection_id":124728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3942"} 
[2026-07-07 02:38:37] local.INFO: GPS Element Parsed {"raw_longitude":759204224,"raw_latitude":110692688,"longitude_deg":75.9204224,"latitude_deg":11.0692688,"altitude":29,"angle":129,"satellites":50,"speed":35,"hex_longitude":"2d408980","hex_latitude":"06990950","is_valid_coordinates":true} 
[2026-07-07 02:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543244288001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340190521131532288,"note":"Value kept but may cause issues"} 
[2026-07-07 02:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4642296450483519488,"note":"Value kept but may cause issues"} 
[2026-07-07 02:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783372058000,"timestamp_ms":1783372058000,"timestamp_seconds":1783372058,"priority":1,"record_length":96,"hex_timestamp":"0000019f39420d90"} 
[2026-07-07 02:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 02:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543244288001,"66":27006,"73":206,"81":47616,"24":35,"16":340190521131532288,"45":4642296450483519488},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-07-07 02:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543244288001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:38:37] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-07 02:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340190521131532288,"km_value":340190521131532.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4642296450483519488,"description":"Unknown IO ID 45"} 
[2026-07-07 02:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543244288001,"power":27006,"unknown_73":206,"unknown_81":47616,"ignition":35,"odometer":null,"unknown_45":4642296450483519488}} 
[2026-07-07 02:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":124728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:38:37] local.INFO: GPS data processed {"connection_id":124728,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:38:37] local.INFO: Acknowledgment sent {"connection_id":124728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:39:00] local.INFO: TCP Data received {"connection_id":125973,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:39:00] local.INFO: Processing buffer {"connection_id":125973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:39:00] local.INFO: IMEI packet received {"connection_id":125973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":125973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:39:03] local.INFO: TCP Data received {"connection_id":125973,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:39:03] local.INFO: Processing buffer {"connection_id":125973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:39:03] local.INFO: IMEI packet received {"connection_id":125973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":125973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:39:07] local.INFO: TCP Data received {"connection_id":125973,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:39:07] local.INFO: Processing buffer {"connection_id":125973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:39:07] local.INFO: IMEI packet received {"connection_id":125973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":125973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:39:08] local.INFO: TCP Data received {"connection_id":125973,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f394234a0012d40a5c00698f3580020007f32..."} 
[2026-07-07 02:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f394234a0012d40a5c00698f3580020007f32..."} 
[2026-07-07 02:39:08] local.INFO: Processing buffer {"connection_id":125973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f394234a0012d40a5c00698f3580020007f32..."} 
[2026-07-07 02:39:08] local.INFO: Packet analysis {"connection_id":125973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3942"} 
[2026-07-07 02:39:08] local.INFO: Extracted packet for processing {"connection_id":125973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3942"} 
[2026-07-07 02:39:08] local.INFO: GPS Element Parsed {"raw_longitude":759211456,"raw_latitude":110687064,"longitude_deg":75.9211456,"latitude_deg":11.0687064,"altitude":32,"angle":127,"satellites":50,"speed":37,"hex_longitude":"2d40a5c0","hex_latitude":"0698f358","is_valid_coordinates":true} 
[2026-07-07 02:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543246848001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340190959218196480,"note":"Value kept but may cause issues"} 
[2026-07-07 02:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4650388856062431232,"note":"Value kept but may cause issues"} 
[2026-07-07 02:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783372068000,"timestamp_ms":1783372068000,"timestamp_seconds":1783372068,"priority":1,"record_length":96,"hex_timestamp":"0000019f394234a0"} 
[2026-07-07 02:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:39: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-07-07 02: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":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-07 02:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1857,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543246848001,"66":27332,"72":206,"81":47616,"24":37,"16":340190959218196480,"45":4650388856062431232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,81,24,16,45]} 
[2026-07-07 02:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543246848001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:39:08] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-07 02:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340190959218196480,"km_value":340190959218196.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4650388856062431232,"description":"Unknown IO ID 45"} 
[2026-07-07 02:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543246848001,"power":27332,"unknown_72":206,"unknown_81":47616,"ignition":37,"odometer":null,"unknown_45":4650388856062431232}} 
[2026-07-07 02:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":125973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:39:08] local.INFO: GPS data processed {"connection_id":125973,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:39:08] local.INFO: Acknowledgment sent {"connection_id":125973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:39:10] local.INFO: TCP Data received {"connection_id":125973,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39425bb0012d40c4c00698dd980022007b31..."} 
[2026-07-07 02:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39425bb0012d40c4c00698dd980022007b31..."} 
[2026-07-07 02:39:10] local.INFO: Processing buffer {"connection_id":125973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39425bb0012d40c4c00698dd980022007b31..."} 
[2026-07-07 02:39:10] local.INFO: Packet analysis {"connection_id":125973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3942"} 
[2026-07-07 02:39:10] local.INFO: Extracted packet for processing {"connection_id":125973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3942"} 
[2026-07-07 02:39:10] local.INFO: GPS Element Parsed {"raw_longitude":759219392,"raw_latitude":110681496,"longitude_deg":75.9219392,"latitude_deg":11.0681496,"altitude":34,"angle":123,"satellites":49,"speed":39,"hex_longitude":"2d40c4c0","hex_latitude":"0698dd98","is_valid_coordinates":true} 
[2026-07-07 02:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543249408001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340191423074664448,"note":"Value kept but may cause issues"} 
[2026-07-07 02:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4658340524153067520,"note":"Value kept but may cause issues"} 
[2026-07-07 02:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783372078000,"timestamp_ms":1783372078000,"timestamp_seconds":1783372078,"priority":1,"record_length":96,"hex_timestamp":"0000019f39425bb0"} 
[2026-07-07 02:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:39: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-07-07 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 02:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543249408001,"66":27321,"72":206,"81":47616,"24":39,"16":340191423074664448,"45":4658340524153067520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,81,24,16,45]} 
[2026-07-07 02:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543249408001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:39:10] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-07 02:39:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340191423074664448,"km_value":340191423074664.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4658340524153067520,"description":"Unknown IO ID 45"} 
[2026-07-07 02:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543249408001,"power":27321,"unknown_72":206,"unknown_81":47616,"ignition":39,"odometer":null,"unknown_45":4658340524153067520}} 
[2026-07-07 02:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":125973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:39:10] local.INFO: GPS data processed {"connection_id":125973,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:39:10] local.INFO: Acknowledgment sent {"connection_id":125973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:39:41] local.INFO: TCP Data received {"connection_id":125973,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39427ed8012d40e4400698c9500022007b32..."} 
[2026-07-07 02:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39427ed8012d40e4400698c9500022007b32..."} 
[2026-07-07 02:39:41] local.INFO: Processing buffer {"connection_id":125973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39427ed8012d40e4400698c9500022007b32..."} 
[2026-07-07 02:39:41] local.INFO: Packet analysis {"connection_id":125973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3942"} 
[2026-07-07 02:39:41] local.INFO: Extracted packet for processing {"connection_id":125973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3942"} 
[2026-07-07 02:39:41] local.INFO: GPS Element Parsed {"raw_longitude":759227456,"raw_latitude":110676304,"longitude_deg":75.9227456,"latitude_deg":11.0676304,"altitude":34,"angle":123,"satellites":50,"speed":44,"hex_longitude":"2d40e440","hex_latitude":"0698c950","is_valid_coordinates":true} 
[2026-07-07 02:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543251968001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340191882636165120,"note":"Value kept but may cause issues"} 
[2026-07-07 02:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4667066248429672448,"note":"Value kept but may cause issues"} 
[2026-07-07 02:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783372087000,"timestamp_ms":1783372087000,"timestamp_seconds":1783372087,"priority":1,"record_length":96,"hex_timestamp":"0000019f39427ed8"} 
[2026-07-07 02:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:39: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-07-07 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 02:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543251968001,"66":27484,"71":206,"81":47616,"24":44,"16":340191882636165120,"45":4667066248429672448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-07-07 02:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543251968001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:39:41] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 02:39:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340191882636165120,"km_value":340191882636165.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4667066248429672448,"description":"Unknown IO ID 45"} 
[2026-07-07 02:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543251968001,"power":27484,"unknown_71":206,"unknown_81":47616,"ignition":44,"odometer":null,"unknown_45":4667066248429672448}} 
[2026-07-07 02:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":125973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:39:42] local.INFO: GPS data processed {"connection_id":125973,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:39:42] local.INFO: Acknowledgment sent {"connection_id":125973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:40:05] local.INFO: TCP Data received {"connection_id":123957,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:40:05] local.INFO: Processing buffer {"connection_id":123957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:40:05] local.INFO: IMEI packet received {"connection_id":123957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":123957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:40:06] local.INFO: TCP Data received {"connection_id":123957,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:40:06] local.INFO: Processing buffer {"connection_id":123957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:40:06] local.INFO: IMEI packet received {"connection_id":123957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":123957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:40:10] local.INFO: TCP Data received {"connection_id":123957,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:40:10] local.INFO: Processing buffer {"connection_id":123957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:40:10] local.INFO: IMEI packet received {"connection_id":123957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":123957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:40:12] local.INFO: TCP Data received {"connection_id":123957,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3942a200012d4104000698b5000024007b31..."} 
[2026-07-07 02:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3942a200012d4104000698b5000024007b31..."} 
[2026-07-07 02:40:12] local.INFO: Processing buffer {"connection_id":123957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3942a200012d4104000698b5000024007b31..."} 
[2026-07-07 02:40:12] local.INFO: Packet analysis {"connection_id":123957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3942"} 
[2026-07-07 02:40:12] local.INFO: Extracted packet for processing {"connection_id":123957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3942"} 
[2026-07-07 02:40:12] local.INFO: GPS Element Parsed {"raw_longitude":759235584,"raw_latitude":110671104,"longitude_deg":75.9235584,"latitude_deg":11.0671104,"altitude":36,"angle":123,"satellites":49,"speed":41,"hex_longitude":"2d410400","hex_latitude":"0698b500","is_valid_coordinates":true} 
[2026-07-07 02:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543254272001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340192346492633088,"note":"Value kept but may cause issues"} 
[2026-07-07 02:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4675932710194728960,"note":"Value kept but may cause issues"} 
[2026-07-07 02:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783372096000,"timestamp_ms":1783372096000,"timestamp_seconds":1783372096,"priority":1,"record_length":96,"hex_timestamp":"0000019f3942a200"} 
[2026-07-07 02:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:40: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-07-07 02:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 02:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543254272001,"66":27397,"71":206,"81":47616,"24":41,"16":340192346492633088,"45":4675932710194728960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-07-07 02:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543254272001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:40:12] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 02:40:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340192346492633088,"km_value":340192346492633.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4675932710194728960,"description":"Unknown IO ID 45"} 
[2026-07-07 02:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543254272001,"power":27397,"unknown_71":206,"unknown_81":47616,"ignition":41,"odometer":null,"unknown_45":4675932710194728960}} 
[2026-07-07 02:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":123957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:40:12] local.INFO: GPS data processed {"connection_id":123957,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:40:12] local.INFO: Acknowledgment sent {"connection_id":123957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:40:16] local.INFO: TCP Data received {"connection_id":123957,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3942c528012d4124000698a0a80023007b30..."} 
[2026-07-07 02:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3942c528012d4124000698a0a80023007b30..."} 
[2026-07-07 02:40:16] local.INFO: Processing buffer {"connection_id":123957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3942c528012d4124000698a0a80023007b30..."} 
[2026-07-07 02:40:16] local.INFO: Packet analysis {"connection_id":123957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3942"} 
[2026-07-07 02:40:16] local.INFO: Extracted packet for processing {"connection_id":123957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3942"} 
[2026-07-07 02:40:16] local.INFO: GPS Element Parsed {"raw_longitude":759243776,"raw_latitude":110665896,"longitude_deg":75.9243776,"latitude_deg":11.0665896,"altitude":35,"angle":123,"satellites":48,"speed":45,"hex_longitude":"2d412400","hex_latitude":"0698a0a8","is_valid_coordinates":true} 
[2026-07-07 02:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543256576001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340192806054133760,"note":"Value kept but may cause issues"} 
[2026-07-07 02:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4684869540703961088,"note":"Value kept but may cause issues"} 
[2026-07-07 02:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783372105000,"timestamp_ms":1783372105000,"timestamp_seconds":1783372105,"priority":1,"record_length":96,"hex_timestamp":"0000019f3942c528"} 
[2026-07-07 02:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:40: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-07-07 02:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 02:40: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-07-07 02:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543256576001,"66":27397,"71":206,"81":47616,"24":45,"16":340192806054133760,"45":4684869540703961088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-07-07 02:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543256576001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:40:16] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 02:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-07 02:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340192806054133760,"km_value":340192806054133.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4684869540703961088,"description":"Unknown IO ID 45"} 
[2026-07-07 02:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543256576001,"power":27397,"unknown_71":206,"unknown_81":47616,"ignition":45,"odometer":null,"unknown_45":4684869540703961088}} 
[2026-07-07 02:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":123957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:40:16] local.INFO: GPS data processed {"connection_id":123957,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:40:16] local.INFO: Acknowledgment sent {"connection_id":123957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:41:00] local.INFO: TCP Data received {"connection_id":124066,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:41:00] local.INFO: Processing buffer {"connection_id":124066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:41:00] local.INFO: IMEI packet received {"connection_id":124066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":124066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:41:16] local.INFO: TCP Data received {"connection_id":124066,"ip":"42.106.6.16","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 02:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124066,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 02:41:16] local.INFO: Processing buffer {"connection_id":124066,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 02:41:16] local.INFO: IMEI packet received {"connection_id":124066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":124066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:41:33] local.INFO: TCP Data received {"connection_id":124067,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:41:33] local.INFO: Processing buffer {"connection_id":124067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:41:33] local.INFO: IMEI packet received {"connection_id":124067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 02:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":124067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:42:00] local.INFO: TCP Data received {"connection_id":125974,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:42:00] local.INFO: Processing buffer {"connection_id":125974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:42:00] local.INFO: IMEI packet received {"connection_id":125974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 02:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":125974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:46:21] local.INFO: TCP Data received {"connection_id":124731,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:46:21] local.INFO: Processing buffer {"connection_id":124731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:46:21] local.INFO: IMEI packet received {"connection_id":124731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":124731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:46:22] local.INFO: TCP Data received {"connection_id":124731,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3948e778012d445d800692a3800028007030..."} 
[2026-07-07 02:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3948e778012d445d800692a3800028007030..."} 
[2026-07-07 02:46:22] local.INFO: Processing buffer {"connection_id":124731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3948e778012d445d800692a3800028007030..."} 
[2026-07-07 02:46:22] local.INFO: Packet analysis {"connection_id":124731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3948"} 
[2026-07-07 02:46:22] local.INFO: Extracted packet for processing {"connection_id":124731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3948"} 
[2026-07-07 02:46:22] local.INFO: GPS Element Parsed {"raw_longitude":759455104,"raw_latitude":110273408,"longitude_deg":75.9455104,"latitude_deg":11.0273408,"altitude":40,"angle":112,"satellites":48,"speed":52,"hex_longitude":"2d445d80","hex_latitude":"0692a380","is_valid_coordinates":true} 
[2026-07-07 02:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543360000001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340217351792230400,"note":"Value kept but may cause issues"} 
[2026-07-07 02:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4916312340203386880,"note":"Value kept but may cause issues"} 
[2026-07-07 02:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783372507000,"timestamp_ms":1783372507000,"timestamp_seconds":1783372507,"priority":1,"record_length":96,"hex_timestamp":"0000019f3948e778"} 
[2026-07-07 02:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 02:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543360000001,"66":27332,"255":206,"86":48896,"24":52,"16":340217351792230400,"45":4916312340203386880},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,86,24,16,45]} 
[2026-07-07 02:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543360000001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:46:22] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-07 02:46:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340217351792230400,"km_value":340217351792230.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4916312340203386880,"description":"Unknown IO ID 45"} 
[2026-07-07 02:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543360000001,"power":27332,"unknown_255":206,"unknown_86":48896,"ignition":52,"odometer":null,"unknown_45":4916312340203386880}} 
[2026-07-07 02:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":124731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:46:22] local.INFO: GPS data processed {"connection_id":124731,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:46:22] local.INFO: Acknowledgment sent {"connection_id":124731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:47:00] local.INFO: TCP Data received {"connection_id":124071,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:47:00] local.INFO: Processing buffer {"connection_id":124071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:47:00] local.INFO: IMEI packet received {"connection_id":124071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":124071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:47:07] local.INFO: TCP Data received {"connection_id":124071,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:47:07] local.INFO: Processing buffer {"connection_id":124071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:47:07] local.INFO: IMEI packet received {"connection_id":124071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":124071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:47:08] local.INFO: TCP Data received {"connection_id":124071,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f394906b8012d4480c0069292c00029007a31..."} 
[2026-07-07 02:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f394906b8012d4480c0069292c00029007a31..."} 
[2026-07-07 02:47:08] local.INFO: Processing buffer {"connection_id":124071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f394906b8012d4480c0069292c00029007a31..."} 
[2026-07-07 02:47:08] local.INFO: Packet analysis {"connection_id":124071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3949"} 
[2026-07-07 02:47:08] local.INFO: Extracted packet for processing {"connection_id":124071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3949"} 
[2026-07-07 02:47:08] local.INFO: GPS Element Parsed {"raw_longitude":759464128,"raw_latitude":110269120,"longitude_deg":75.9464128,"latitude_deg":11.026912,"altitude":41,"angle":122,"satellites":49,"speed":46,"hex_longitude":"2d4480c0","hex_latitude":"069292c0","is_valid_coordinates":true} 
[2026-07-07 02:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543361792001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340217828533600256,"note":"Value kept but may cause issues"} 
[2026-07-07 02:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4926234333131538432,"note":"Value kept but may cause issues"} 
[2026-07-07 02:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783372515000,"timestamp_ms":1783372515000,"timestamp_seconds":1783372515,"priority":1,"record_length":96,"hex_timestamp":"0000019f394906b8"} 
[2026-07-07 02:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02: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-07-07 02: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":196,"data_length":795,"current_offset":136} 
[2026-07-07 02:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543361792001,"66":27321,"255":206,"86":48896,"24":46,"16":340217828533600256,"45":4926234333131538432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,86,24,16,45]} 
[2026-07-07 02:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543361792001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:47:08] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-07 02:47:08] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340217828533600256,"km_value":340217828533600.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4926234333131538432,"description":"Unknown IO ID 45"} 
[2026-07-07 02:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543361792001,"power":27321,"unknown_255":206,"unknown_86":48896,"ignition":46,"odometer":null,"unknown_45":4926234333131538432}} 
[2026-07-07 02:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":124071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:47:08] local.INFO: GPS data processed {"connection_id":124071,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:47:08] local.INFO: Acknowledgment sent {"connection_id":124071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:47:11] local.INFO: TCP Data received {"connection_id":124071,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39491e28012d449580069281f80029008731..."} 
[2026-07-07 02:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39491e28012d449580069281f80029008731..."} 
[2026-07-07 02:47:11] local.INFO: Processing buffer {"connection_id":124071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39491e28012d449580069281f80029008731..."} 
[2026-07-07 02:47:11] local.INFO: Packet analysis {"connection_id":124071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3949"} 
[2026-07-07 02:47:11] local.INFO: Extracted packet for processing {"connection_id":124071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3949"} 
[2026-07-07 02:47:11] local.INFO: GPS Element Parsed {"raw_longitude":759469440,"raw_latitude":110264824,"longitude_deg":75.946944,"latitude_deg":11.0264824,"altitude":41,"angle":135,"satellites":49,"speed":43,"hex_longitude":"2d449580","hex_latitude":"069281f8","is_valid_coordinates":true} 
[2026-07-07 02:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543363840001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340218159246082048,"note":"Value kept but may cause issues"} 
[2026-07-07 02:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4936156326059491328,"note":"Value kept but may cause issues"} 
[2026-07-07 02:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783372521000,"timestamp_ms":1783372521000,"timestamp_seconds":1783372521,"priority":1,"record_length":96,"hex_timestamp":"0000019f39491e28"} 
[2026-07-07 02:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 02:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543363840001,"66":27321,"255":206,"86":48896,"24":43,"16":340218159246082048,"45":4936156326059491328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,86,24,16,45]} 
[2026-07-07 02:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543363840001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:47:11] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-07 02:47:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340218159246082048,"km_value":340218159246082.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4936156326059491328,"description":"Unknown IO ID 45"} 
[2026-07-07 02:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543363840001,"power":27321,"unknown_255":206,"unknown_86":48896,"ignition":43,"odometer":null,"unknown_45":4936156326059491328}} 
[2026-07-07 02:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":124071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:47:11] local.INFO: GPS data processed {"connection_id":124071,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:47:11] local.INFO: Acknowledgment sent {"connection_id":124071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:47:25] local.INFO: TCP Data received {"connection_id":125975,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:47:25] local.INFO: Processing buffer {"connection_id":125975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:47:25] local.INFO: IMEI packet received {"connection_id":125975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 02:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":125975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:47:42] local.INFO: TCP Data received {"connection_id":124071,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f394a6648012d44e34006912e500039009631..."} 
[2026-07-07 02:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f394a6648012d44e34006912e500039009631..."} 
[2026-07-07 02:47:42] local.INFO: Processing buffer {"connection_id":124071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f394a6648012d44e34006912e500039009631..."} 
[2026-07-07 02:47:42] local.INFO: Packet analysis {"connection_id":124071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f394a"} 
[2026-07-07 02:47:42] local.INFO: Extracted packet for processing {"connection_id":124071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f394a"} 
[2026-07-07 02:47:42] local.INFO: GPS Element Parsed {"raw_longitude":759489344,"raw_latitude":110177872,"longitude_deg":75.9489344,"latitude_deg":11.0177872,"altitude":57,"angle":150,"satellites":49,"speed":41,"hex_longitude":"2d44e340","hex_latitude":"06912e50","is_valid_coordinates":true} 
[2026-07-07 02:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543384576001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340222561587560448,"note":"Value kept but may cause issues"} 
[2026-07-07 02:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4959307642872672256,"note":"Value kept but may cause issues"} 
[2026-07-07 02:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783372605000,"timestamp_ms":1783372605000,"timestamp_seconds":1783372605,"priority":1,"record_length":96,"hex_timestamp":"0000019f394a6648"} 
[2026-07-07 02:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:47: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-07-07 02:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 02:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543384576001,"66":27397,"171":206,"86":48896,"24":41,"16":340222561587560448,"45":4959307642872672256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-07-07 02:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543384576001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:47:42] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-07 02:47:42] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340222561587560448,"km_value":340222561587560.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4959307642872672256,"description":"Unknown IO ID 45"} 
[2026-07-07 02:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543384576001,"power":27397,"unknown_171":206,"unknown_86":48896,"ignition":41,"odometer":null,"unknown_45":4959307642872672256}} 
[2026-07-07 02:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":124071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:47:42] local.INFO: GPS data processed {"connection_id":124071,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:47:42] local.INFO: Acknowledgment sent {"connection_id":124071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:48:00] local.INFO: TCP Data received {"connection_id":123960,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:48:00] local.INFO: Processing buffer {"connection_id":123960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:48:00] local.INFO: IMEI packet received {"connection_id":123960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 02:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":123960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:48:00] local.INFO: TCP Data received {"connection_id":124733,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:48:00] local.INFO: Processing buffer {"connection_id":124733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:48:00] local.INFO: IMEI packet received {"connection_id":124733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":124733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:48:02] local.INFO: TCP Data received {"connection_id":124733,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:48:02] local.INFO: Processing buffer {"connection_id":124733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:48:02] local.INFO: IMEI packet received {"connection_id":124733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":124733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:48:05] local.INFO: TCP Data received {"connection_id":124733,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:48:05] local.INFO: Processing buffer {"connection_id":124733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:48:05] local.INFO: IMEI packet received {"connection_id":124733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":124733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:48:06] local.INFO: TCP Data received {"connection_id":124733,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f394a8970012d44f60006910dd8003a009631..."} 
[2026-07-07 02:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f394a8970012d44f60006910dd8003a009631..."} 
[2026-07-07 02:48:06] local.INFO: Processing buffer {"connection_id":124733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f394a8970012d44f60006910dd8003a009631..."} 
[2026-07-07 02:48:06] local.INFO: Packet analysis {"connection_id":124733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f394a"} 
[2026-07-07 02:48:06] local.INFO: Extracted packet for processing {"connection_id":124733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f394a"} 
[2026-07-07 02:48:06] local.INFO: GPS Element Parsed {"raw_longitude":759494144,"raw_latitude":110169560,"longitude_deg":75.9494144,"latitude_deg":11.016956,"altitude":58,"angle":150,"satellites":49,"speed":43,"hex_longitude":"2d44f600","hex_latitude":"06910dd8","is_valid_coordinates":true} 
[2026-07-07 02:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543386880001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340223025444028416,"note":"Value kept but may cause issues"} 
[2026-07-07 02:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4963881611242131456,"note":"Value kept but may cause issues"} 
[2026-07-07 02:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783372614000,"timestamp_ms":1783372614000,"timestamp_seconds":1783372614,"priority":1,"record_length":96,"hex_timestamp":"0000019f394a8970"} 
[2026-07-07 02:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 02:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543386880001,"66":27397,"171":206,"86":48896,"24":43,"16":340223025444028416,"45":4963881611242131456},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-07-07 02:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543386880001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:48:06] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-07 02:48:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340223025444028416,"km_value":340223025444028.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4963881611242131456,"description":"Unknown IO ID 45"} 
[2026-07-07 02:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543386880001,"power":27397,"unknown_171":206,"unknown_86":48896,"ignition":43,"odometer":null,"unknown_45":4963881611242131456}} 
[2026-07-07 02:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":124733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:48:06] local.INFO: GPS data processed {"connection_id":124733,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:48:06] local.INFO: Acknowledgment sent {"connection_id":124733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:48:39] local.INFO: TCP Data received {"connection_id":124733,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f394aa8b0012d4508800690eeb8003a009531..."} 
[2026-07-07 02:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f394aa8b0012d4508800690eeb8003a009531..."} 
[2026-07-07 02:48:39] local.INFO: Processing buffer {"connection_id":124733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f394aa8b0012d4508800690eeb8003a009531..."} 
[2026-07-07 02:48:39] local.INFO: Packet analysis {"connection_id":124733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f394a"} 
[2026-07-07 02:48:39] local.INFO: Extracted packet for processing {"connection_id":124733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f394a"} 
[2026-07-07 02:48:39] local.INFO: GPS Element Parsed {"raw_longitude":759498880,"raw_latitude":110161592,"longitude_deg":75.949888,"latitude_deg":11.0161592,"altitude":58,"angle":149,"satellites":49,"speed":48,"hex_longitude":"2d450880","hex_latitude":"0690eeb8","is_valid_coordinates":true} 
[2026-07-07 02: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-07-07 02:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543389184001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340223472120627200,"note":"Value kept but may cause issues"} 
[2026-07-07 02:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4969159267053328384,"note":"Value kept but may cause issues"} 
[2026-07-07 02:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783372622000,"timestamp_ms":1783372622000,"timestamp_seconds":1783372622,"priority":1,"record_length":96,"hex_timestamp":"0000019f394aa8b0"} 
[2026-07-07 02:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:48: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-07-07 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 02:48: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-07-07 02: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-07-07 02:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543389184001,"66":27321,"171":206,"86":48896,"24":48,"16":340223472120627200,"45":4969159267053328384},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-07-07 02:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543389184001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:48:39] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-07 02:48:39] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340223472120627200,"km_value":340223472120627.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4969159267053328384,"description":"Unknown IO ID 45"} 
[2026-07-07 02:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543389184001,"power":27321,"unknown_171":206,"unknown_86":48896,"ignition":48,"odometer":null,"unknown_45":4969159267053328384}} 
[2026-07-07 02:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":124733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:48:39] local.INFO: GPS data processed {"connection_id":124733,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:48:39] local.INFO: Acknowledgment sent {"connection_id":124733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:49:00] local.INFO: TCP Data received {"connection_id":123962,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:49:00] local.INFO: Processing buffer {"connection_id":123962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:49:00] local.INFO: IMEI packet received {"connection_id":123962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":123962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:49:01] local.INFO: TCP Data received {"connection_id":123962,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:49:01] local.INFO: Processing buffer {"connection_id":123962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:49:01] local.INFO: IMEI packet received {"connection_id":123962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":123962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:49:05] local.INFO: TCP Data received {"connection_id":123962,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:49:05] local.INFO: Processing buffer {"connection_id":123962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:49:05] local.INFO: IMEI packet received {"connection_id":123962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":123962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:49:06] local.INFO: TCP Data received {"connection_id":123962,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f394ac7f0012d451c800690cc80003a009530..."} 
[2026-07-07 02:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f394ac7f0012d451c800690cc80003a009530..."} 
[2026-07-07 02:49:06] local.INFO: Processing buffer {"connection_id":123962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f394ac7f0012d451c800690cc80003a009530..."} 
[2026-07-07 02:49:06] local.INFO: Packet analysis {"connection_id":123962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f394a"} 
[2026-07-07 02:49:06] local.INFO: Extracted packet for processing {"connection_id":123962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f394a"} 
[2026-07-07 02:49:06] local.INFO: GPS Element Parsed {"raw_longitude":759504000,"raw_latitude":110152832,"longitude_deg":75.9504,"latitude_deg":11.0152832,"altitude":58,"angle":149,"satellites":48,"speed":52,"hex_longitude":"2d451c80","hex_latitude":"0690cc80","is_valid_coordinates":true} 
[2026-07-07 02:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543391232001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340223961746898944,"note":"Value kept but may cause issues"} 
[2026-07-07 02:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4974366554120435712,"note":"Value kept but may cause issues"} 
[2026-07-07 02:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783372630000,"timestamp_ms":1783372630000,"timestamp_seconds":1783372630,"priority":1,"record_length":96,"hex_timestamp":"0000019f394ac7f0"} 
[2026-07-07 02:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 02:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":123962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":123962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":123962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543391232001,"66":27343,"171":206,"86":48896,"24":52,"16":340223961746898944,"45":4974366554120435712},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-07-07 02:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543391232001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:49:06] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-07 02:49:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340223961746898944,"km_value":340223961746898.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4974366554120435712,"description":"Unknown IO ID 45"} 
[2026-07-07 02:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543391232001,"power":27343,"unknown_171":206,"unknown_86":48896,"ignition":52,"odometer":null,"unknown_45":4974366554120435712}} 
[2026-07-07 02:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":123962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:49:06] local.INFO: GPS data processed {"connection_id":123962,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:49:06] local.INFO: Acknowledgment sent {"connection_id":123962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:49:37] local.INFO: TCP Data received {"connection_id":123962,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f394c3ef0012d462580068f41a0004300a430..."} 
[2026-07-07 02:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f394c3ef0012d462580068f41a0004300a430..."} 
[2026-07-07 02:49:37] local.INFO: Processing buffer {"connection_id":123962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f394c3ef0012d462580068f41a0004300a430..."} 
[2026-07-07 02:49:37] local.INFO: Packet analysis {"connection_id":123962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f394c"} 
[2026-07-07 02:49:37] local.INFO: Extracted packet for processing {"connection_id":123962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f394c"} 
[2026-07-07 02:49:37] local.INFO: GPS Element Parsed {"raw_longitude":759571840,"raw_latitude":110051744,"longitude_deg":75.957184,"latitude_deg":11.0051744,"altitude":67,"angle":164,"satellites":48,"speed":56,"hex_longitude":"2d462580","hex_latitude":"068f41a0","is_valid_coordinates":true} 
[2026-07-07 02:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543416064001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340229944636342272,"note":"Value kept but may cause issues"} 
[2026-07-07 02:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5051701803945949184,"note":"Value kept but may cause issues"} 
[2026-07-07 02:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783372726000,"timestamp_ms":1783372726000,"timestamp_seconds":1783372726,"priority":1,"record_length":96,"hex_timestamp":"0000019f394c3ef0"} 
[2026-07-07 02:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:49: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-07-07 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 02:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":123962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":123962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":123962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543416064001,"66":27343,"48":206,"86":48896,"24":56,"16":340229944636342272,"45":5051701803945949184},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-07-07 02:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543416064001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:49:37] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-07 02:49:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340229944636342272,"km_value":340229944636342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5051701803945949184,"description":"Unknown IO ID 45"} 
[2026-07-07 02:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543416064001,"power":27343,"unknown_48":206,"unknown_86":48896,"ignition":56,"odometer":null,"unknown_45":5051701803945949184}} 
[2026-07-07 02:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":123962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:49:37] local.INFO: GPS data processed {"connection_id":123962,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:49:37] local.INFO: Acknowledgment sent {"connection_id":123962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:50:05] local.INFO: TCP Data received {"connection_id":124734,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:50:05] local.INFO: Processing buffer {"connection_id":124734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:50:05] local.INFO: IMEI packet received {"connection_id":124734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":124734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:50:10] local.INFO: TCP Data received {"connection_id":124734,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:50:10] local.INFO: Processing buffer {"connection_id":124734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:50:10] local.INFO: IMEI packet received {"connection_id":124734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":124734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:50:12] local.INFO: TCP Data received {"connection_id":124734,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f394c5660012d462f00068f2000004200a42f..."} 
[2026-07-07 02:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f394c5660012d462f00068f2000004200a42f..."} 
[2026-07-07 02:50:12] local.INFO: Processing buffer {"connection_id":124734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f394c5660012d462f00068f2000004200a42f..."} 
[2026-07-07 02:50:12] local.INFO: Packet analysis {"connection_id":124734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f394c"} 
[2026-07-07 02:50:12] local.INFO: Extracted packet for processing {"connection_id":124734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f394c"} 
[2026-07-07 02:50:12] local.INFO: GPS Element Parsed {"raw_longitude":759574272,"raw_latitude":110043136,"longitude_deg":75.9574272,"latitude_deg":11.0043136,"altitude":66,"angle":164,"satellites":47,"speed":60,"hex_longitude":"2d462f00","hex_latitude":"068f2000","is_valid_coordinates":true} 
[2026-07-07 02: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-07-07 02:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543417856001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340230378428039168,"note":"Value kept but may cause issues"} 
[2026-07-07 02:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5054586922454851584,"note":"Value kept but may cause issues"} 
[2026-07-07 02:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783372732000,"timestamp_ms":1783372732000,"timestamp_seconds":1783372732,"priority":1,"record_length":96,"hex_timestamp":"0000019f394c5660"} 
[2026-07-07 02:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:50: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-07-07 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 02:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02: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-07-07 02:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543417856001,"66":27321,"48":206,"86":48896,"24":60,"16":340230378428039168,"45":5054586922454851584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-07-07 02:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543417856001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:50:12] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-07 02:50:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340230378428039168,"km_value":340230378428039.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5054586922454851584,"description":"Unknown IO ID 45"} 
[2026-07-07 02:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543417856001,"power":27321,"unknown_48":206,"unknown_86":48896,"ignition":60,"odometer":null,"unknown_45":5054586922454851584}} 
[2026-07-07 02:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":124734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:50:12] local.INFO: GPS data processed {"connection_id":124734,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:50:12] local.INFO: Acknowledgment sent {"connection_id":124734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:50:51] local.INFO: TCP Data received {"connection_id":124734,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f394c6dd0012d463840068efe40004100a52f..."} 
[2026-07-07 02:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f394c6dd0012d463840068efe40004100a52f..."} 
[2026-07-07 02:50:51] local.INFO: Processing buffer {"connection_id":124734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f394c6dd0012d463840068efe40004100a52f..."} 
[2026-07-07 02:50:51] local.INFO: Packet analysis {"connection_id":124734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f394c"} 
[2026-07-07 02:50:51] local.INFO: Extracted packet for processing {"connection_id":124734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f394c"} 
[2026-07-07 02:50:51] local.INFO: GPS Element Parsed {"raw_longitude":759576640,"raw_latitude":110034496,"longitude_deg":75.957664,"latitude_deg":11.0034496,"altitude":65,"angle":165,"satellites":47,"speed":57,"hex_longitude":"2d463840","hex_latitude":"068efe40","is_valid_coordinates":true} 
[2026-07-07 02:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543419392001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340230812219736064,"note":"Value kept but may cause issues"} 
[2026-07-07 02:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5057260934731399168,"note":"Value kept but may cause issues"} 
[2026-07-07 02:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783372738000,"timestamp_ms":1783372738000,"timestamp_seconds":1783372738,"priority":1,"record_length":96,"hex_timestamp":"0000019f394c6dd0"} 
[2026-07-07 02:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 02:50: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-07-07 02:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":124734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":124734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":124734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543419392001,"66":27343,"48":206,"86":48896,"24":57,"16":340230812219736064,"45":5057260934731399168},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-07-07 02:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543419392001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:50:51] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-07 02:50:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340230812219736064,"km_value":340230812219736.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5057260934731399168,"description":"Unknown IO ID 45"} 
[2026-07-07 02:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543419392001,"power":27343,"unknown_48":206,"unknown_86":48896,"ignition":57,"odometer":null,"unknown_45":5057260934731399168}} 
[2026-07-07 02:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":124734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:50:51] local.INFO: GPS data processed {"connection_id":124734,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:50:51] local.INFO: Acknowledgment sent {"connection_id":124734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:51:00] local.INFO: TCP Data received {"connection_id":124735,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:51:00] local.INFO: Processing buffer {"connection_id":124735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:51:00] local.INFO: IMEI packet received {"connection_id":124735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":124735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:51:08] local.INFO: TCP Data received {"connection_id":124735,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:51:08] local.INFO: Processing buffer {"connection_id":124735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:51:08] local.INFO: IMEI packet received {"connection_id":124735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":124735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:51:09] local.INFO: TCP Data received {"connection_id":124735,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f394c8928012d463ec0068ed9a8004300ac2f..."} 
[2026-07-07 02:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f394c8928012d463ec0068ed9a8004300ac2f..."} 
[2026-07-07 02:51:09] local.INFO: Processing buffer {"connection_id":124735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f394c8928012d463ec0068ed9a8004300ac2f..."} 
[2026-07-07 02:51:09] local.INFO: Packet analysis {"connection_id":124735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f394c"} 
[2026-07-07 02:51:09] local.INFO: Extracted packet for processing {"connection_id":124735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f394c"} 
[2026-07-07 02:51:09] local.INFO: GPS Element Parsed {"raw_longitude":759578304,"raw_latitude":110025128,"longitude_deg":75.9578304,"latitude_deg":11.0025128,"altitude":67,"angle":172,"satellites":47,"speed":50,"hex_longitude":"2d463ec0","hex_latitude":"068ed9a8","is_valid_coordinates":true} 
[2026-07-07 02:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543420928001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340231271781236736,"note":"Value kept but may cause issues"} 
[2026-07-07 02:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5059864578263760896,"note":"Value kept but may cause issues"} 
[2026-07-07 02:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783372745000,"timestamp_ms":1783372745000,"timestamp_seconds":1783372745,"priority":1,"record_length":96,"hex_timestamp":"0000019f394c8928"} 
[2026-07-07 02:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:51: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-07-07 02:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 02:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543420928001,"66":27397,"48":206,"86":48896,"24":50,"16":340231271781236736,"45":5059864578263760896},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-07-07 02:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543420928001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:51:09] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-07 02:51:09] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340231271781236736,"km_value":340231271781236.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5059864578263760896,"description":"Unknown IO ID 45"} 
[2026-07-07 02:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543420928001,"power":27397,"unknown_48":206,"unknown_86":48896,"ignition":50,"odometer":null,"unknown_45":5059864578263760896}} 
[2026-07-07 02:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":124735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:51:09] local.INFO: GPS data processed {"connection_id":124735,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:51:09] local.INFO: Acknowledgment sent {"connection_id":124735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:51:45] local.INFO: TCP Data received {"connection_id":124735,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f394e1b80012d471f80068dd210005200592a..."} 
[2026-07-07 02:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f394e1b80012d471f80068dd210005200592a..."} 
[2026-07-07 02:51:45] local.INFO: Processing buffer {"connection_id":124735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f394e1b80012d471f80068dd210005200592a..."} 
[2026-07-07 02:51:45] local.INFO: Packet analysis {"connection_id":124735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f394e"} 
[2026-07-07 02:51:45] local.INFO: Extracted packet for processing {"connection_id":124735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f394e"} 
[2026-07-07 02:51:45] local.INFO: GPS Element Parsed {"raw_longitude":759635840,"raw_latitude":109957648,"longitude_deg":75.963584,"latitude_deg":10.9957648,"altitude":82,"angle":89,"satellites":42,"speed":65,"hex_longitude":"2d471f80","hex_latitude":"068dd210","is_valid_coordinates":true} 
[2026-07-07 02:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543449088001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340236223878529024,"note":"Value kept but may cause issues"} 
[2026-07-07 02:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5124955666608427008,"note":"Value kept but may cause issues"} 
[2026-07-07 02:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783372848000,"timestamp_ms":1783372848000,"timestamp_seconds":1783372848,"priority":1,"record_length":96,"hex_timestamp":"0000019f394e1b80"} 
[2026-07-07 02:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02: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-07-07 02: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":240,"data_length":795,"current_offset":136} 
[2026-07-07 02:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:51: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-07-07 02:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543449088001,"66":27376,"62":206,"86":48896,"24":65,"16":340236223878529024,"45":5124955666608427008},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-07-07 02:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543449088001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:51:45] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-07 02:51:45] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340236223878529024,"km_value":340236223878529.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5124955666608427008,"description":"Unknown IO ID 45"} 
[2026-07-07 02:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543449088001,"power":27376,"unknown_62":206,"unknown_86":48896,"ignition":65,"odometer":null,"unknown_45":5124955666608427008}} 
[2026-07-07 02:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":124735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:51:45] local.INFO: GPS data processed {"connection_id":124735,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:51:45] local.INFO: Acknowledgment sent {"connection_id":124735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:52:01] local.INFO: TCP Data received {"connection_id":125977,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:52:01] local.INFO: Processing buffer {"connection_id":125977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:52:01] local.INFO: IMEI packet received {"connection_id":125977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":125977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:52:09] local.INFO: TCP Data received {"connection_id":125977,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:52:09] local.INFO: Processing buffer {"connection_id":125977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:52:09] local.INFO: IMEI packet received {"connection_id":125977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":125977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:52:09] local.INFO: TCP Data received {"connection_id":125977,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 02:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125977,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 02:52:09] local.INFO: Processing buffer {"connection_id":125977,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 02:52:09] local.INFO: IMEI packet received {"connection_id":125977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":125977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:52:15] local.INFO: TCP Data received {"connection_id":125977,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f394e2f08012d474100068dd5f8004d004d2b..."} 
[2026-07-07 02:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f394e2f08012d474100068dd5f8004d004d2b..."} 
[2026-07-07 02:52:15] local.INFO: Processing buffer {"connection_id":125977,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f39..."} 
[2026-07-07 02:52:15] local.INFO: IMEI packet received {"connection_id":125977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":125977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:52:20] local.INFO: TCP Data received {"connection_id":125977,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f394e4290012d476300068ddf980049004929..."} 
[2026-07-07 02:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f394e4290012d476300068ddf980049004929..."} 
[2026-07-07 02:52:20] local.INFO: Processing buffer {"connection_id":125977,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f394e2f08012d474100068dd5f8004d004d2b..."} 
[2026-07-07 02:52:20] local.INFO: Packet analysis {"connection_id":125977,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f394e"} 
[2026-07-07 02:52:20] local.INFO: Extracted packet for processing {"connection_id":125977,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f394e"} 
[2026-07-07 02:52:20] local.INFO: GPS Element Parsed {"raw_longitude":759644416,"raw_latitude":109958648,"longitude_deg":75.9644416,"latitude_deg":10.9958648,"altitude":77,"angle":77,"satellites":43,"speed":68,"hex_longitude":"2d474100","hex_latitude":"068dd5f8","is_valid_coordinates":true} 
[2026-07-07 02:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543449088001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340236631900422144,"note":"Value kept but may cause issues"} 
[2026-07-07 02:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5124955666608427008,"note":"Value kept but may cause issues"} 
[2026-07-07 02:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783372853000,"timestamp_ms":1783372853000,"timestamp_seconds":1783372853,"priority":1,"record_length":96,"hex_timestamp":"0000019f394e2f08"} 
[2026-07-07 02:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:52: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-07-07 02:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 02:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":125977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":125977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":125977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543449088001,"66":27376,"62":206,"86":48896,"24":68,"16":340236631900422144,"45":5124955666608427008},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-07-07 02:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543449088001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:52:20] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-07 02:52:20] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340236631900422144,"km_value":340236631900422.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5124955666608427008,"description":"Unknown IO ID 45"} 
[2026-07-07 02:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543449088001,"power":27376,"unknown_62":206,"unknown_86":48896,"ignition":68,"odometer":null,"unknown_45":5124955666608427008}} 
[2026-07-07 02:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":125977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:52:20] local.INFO: GPS data processed {"connection_id":125977,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:52:20] local.INFO: Acknowledgment sent {"connection_id":125977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:52:20] local.INFO: Packet analysis {"connection_id":125977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f394e"} 
[2026-07-07 02:52:20] local.INFO: Extracted packet for processing {"connection_id":125977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f394e"} 
[2026-07-07 02:52:20] local.INFO: GPS Element Parsed {"raw_longitude":759653120,"raw_latitude":109961112,"longitude_deg":75.965312,"latitude_deg":10.9961112,"altitude":73,"angle":73,"satellites":41,"speed":73,"hex_longitude":"2d476300","hex_latitude":"068ddf98","is_valid_coordinates":true} 
[2026-07-07 02:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543450368001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340237065692119040,"note":"Value kept but may cause issues"} 
[2026-07-07 02:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5134385078328489984,"note":"Value kept but may cause issues"} 
[2026-07-07 02:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783372858000,"timestamp_ms":1783372858000,"timestamp_seconds":1783372858,"priority":1,"record_length":96,"hex_timestamp":"0000019f394e4290"} 
[2026-07-07 02:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:52: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-07-07 02:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 02:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":125977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":125977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":125977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543450368001,"66":27571,"62":206,"86":48896,"24":73,"16":340237065692119040,"45":5134385078328489984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-07-07 02:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543450368001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:52:20] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-07 02:52:20] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340237065692119040,"km_value":340237065692119.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5134385078328489984,"description":"Unknown IO ID 45"} 
[2026-07-07 02:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543450368001,"power":27571,"unknown_62":206,"unknown_86":48896,"ignition":73,"odometer":null,"unknown_45":5134385078328489984}} 
[2026-07-07 02:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":125977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:52:20] local.INFO: GPS data processed {"connection_id":125977,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:52:20] local.INFO: Acknowledgment sent {"connection_id":125977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:52:45] local.INFO: TCP Data received {"connection_id":125977,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f394e5618012d478640068dea600045004827..."} 
[2026-07-07 02:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f394e5618012d478640068dea600045004827..."} 
[2026-07-07 02:52:45] local.INFO: Processing buffer {"connection_id":125977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f394e5618012d478640068dea600045004827..."} 
[2026-07-07 02:52:45] local.INFO: Packet analysis {"connection_id":125977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f394e"} 
[2026-07-07 02:52:45] local.INFO: Extracted packet for processing {"connection_id":125977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f394e"} 
[2026-07-07 02:52:45] local.INFO: GPS Element Parsed {"raw_longitude":759662144,"raw_latitude":109963872,"longitude_deg":75.9662144,"latitude_deg":10.9963872,"altitude":69,"angle":72,"satellites":39,"speed":76,"hex_longitude":"2d478640","hex_latitude":"068dea60","is_valid_coordinates":true} 
[2026-07-07 02: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-07-07 02:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543451648001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340237516663685120,"note":"Value kept but may cause issues"} 
[2026-07-07 02:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5143955227537283072,"note":"Value kept but may cause issues"} 
[2026-07-07 02:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783372863000,"timestamp_ms":1783372863000,"timestamp_seconds":1783372863,"priority":1,"record_length":96,"hex_timestamp":"0000019f394e5618"} 
[2026-07-07 02:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02: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-07-07 02: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 02:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02: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-07-07 02:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":125977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":125977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":125977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:52: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-07-07 02:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543451648001,"66":27484,"62":206,"86":48896,"24":76,"16":340237516663685120,"45":5143955227537283072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-07-07 02:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543451648001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:52:45] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-07 02:52:45] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340237516663685120,"km_value":340237516663685.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5143955227537283072,"description":"Unknown IO ID 45"} 
[2026-07-07 02:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543451648001,"power":27484,"unknown_62":206,"unknown_86":48896,"ignition":76,"odometer":null,"unknown_45":5143955227537283072}} 
[2026-07-07 02:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":125977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:52:45] local.INFO: GPS data processed {"connection_id":125977,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:52:45] local.INFO: Acknowledgment sent {"connection_id":125977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:53:05] local.INFO: TCP Data received {"connection_id":125979,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:53:05] local.INFO: Processing buffer {"connection_id":125979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:53:05] local.INFO: IMEI packet received {"connection_id":125979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":125979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:53:06] local.INFO: TCP Data received {"connection_id":125979,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:53:06] local.INFO: Processing buffer {"connection_id":125979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:53:06] local.INFO: IMEI packet received {"connection_id":125979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":125979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:53:10] local.INFO: TCP Data received {"connection_id":125979,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:53:10] local.INFO: Processing buffer {"connection_id":125979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:53:10] local.INFO: IMEI packet received {"connection_id":125979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":125979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:53:11] local.INFO: TCP Data received {"connection_id":125979,"ip":"42.106.6.16","data_length":822,"data_hex":"000000000000032a8e0a0000019f394f3c90002d491500068cf0280011009e2f..."} 
[2026-07-07 02:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125979,"packet_length":822,"packet_hex":"000000000000032a8e0a0000019f394f3c90002d491500068cf0280011009e2f..."} 
[2026-07-07 02:53:11] local.INFO: Processing buffer {"connection_id":125979,"buffer_length":822,"buffer_hex":"000000000000032a8e0a0000019f394f3c90002d491500068cf0280011009e2f..."} 
[2026-07-07 02:53:11] local.INFO: Packet analysis {"connection_id":125979,"data_field_length":810,"total_packet_length":822,"buffer_length":822,"packet_hex_start":"000000000000032a8e0a0000019f394f"} 
[2026-07-07 02:53:11] local.INFO: Extracted packet for processing {"connection_id":125979,"packet_length":822,"remaining_buffer_length":0,"packet_hex_start":"000000000000032a8e0a0000019f394f"} 
[2026-07-07 02:53:11] local.INFO: GPS Element Parsed {"raw_longitude":759764224,"raw_latitude":109899816,"longitude_deg":75.9764224,"latitude_deg":10.9899816,"altitude":17,"angle":158,"satellites":47,"speed":95,"hex_longitude":"2d491500","hex_latitude":"068cf028","is_valid_coordinates":true} 
[2026-07-07 02:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":255,"n1_one_byte":0,"n2_two_byte":11,"n4_four_byte":0,"n8_eight_byte":5,"data_length":822,"current_offset":40} 
[2026-07-07 02:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543467520000,"note":"Value kept but may cause issues"} 
[2026-07-07 02:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":44523625499393792,"note":"Value kept but may cause issues"} 
[2026-07-07 02:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5264145042578204672,"note":"Value kept but may cause issues"} 
[2026-07-07 02:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":84,"final_offset":118,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783372922000,"timestamp_ms":1783372922000,"timestamp_seconds":1783372922,"priority":0,"record_length":108,"hex_timestamp":"0000019f394f3c90"} 
[2026-07-07 02:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":108,"new_offset":118} 
[2026-07-07 02:53:11] local.INFO: GPS Element Parsed {"raw_longitude":16736768,"raw_latitude":4026597445,"longitude_deg":1.6736768,"latitude_deg":-26.8369851,"altitude":256,"angle":1024,"satellites":66,"speed":27484,"hex_longitude":"00ff6200","hex_latitude":"f0010045","is_valid_coordinates":true} 
[2026-07-07 02:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":205,"n1_one_byte":210,"n2_two_byte":82,"n4_four_byte":0,"n8_eight_byte":206,"data_length":822,"current_offset":148} 
[2026-07-07 02:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":148,"expected_size":2520,"max_length":822,"available_bytes":674,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":142,"data_length":822,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":118,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543467520000,"66":27484,"82":206,"86":48896,"24":95,"16":44523625499393792,"45":5264145042578204672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-07 02:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543467520000,"description":"Unknown IO ID 0"} 
[2026-07-07 02:53:11] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-07 02:53:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":44523625499393792,"km_value":44523625499393.79,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5264145042578204672,"description":"Unknown IO ID 45"} 
[2026-07-07 02:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543467520000,"power":27484,"unknown_82":206,"unknown_86":48896,"ignition":95,"odometer":null,"unknown_45":5264145042578204672}} 
[2026-07-07 02:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":125979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:53:11] local.INFO: GPS data processed {"connection_id":125979,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:53:11] local.INFO: Acknowledgment sent {"connection_id":125979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:53:25] local.INFO: TCP Data received {"connection_id":123963,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:53:25] local.INFO: Processing buffer {"connection_id":123963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:53:25] local.INFO: IMEI packet received {"connection_id":123963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 02:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":123963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:53:44] local.INFO: TCP Data received {"connection_id":125979,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f394ff040012d4a1c00068c02c8000d008b2f..."} 
[2026-07-07 02:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f394ff040012d4a1c00068c02c8000d008b2f..."} 
[2026-07-07 02:53:44] local.INFO: Processing buffer {"connection_id":125979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f394ff040012d4a1c00068c02c8000d008b2f..."} 
[2026-07-07 02:53:44] local.INFO: Packet analysis {"connection_id":125979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f394f"} 
[2026-07-07 02:53:44] local.INFO: Extracted packet for processing {"connection_id":125979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f394f"} 
[2026-07-07 02:53:44] local.INFO: GPS Element Parsed {"raw_longitude":759831552,"raw_latitude":109839048,"longitude_deg":75.9831552,"latitude_deg":10.9839048,"altitude":13,"angle":139,"satellites":47,"speed":69,"hex_longitude":"2d4a1c00","hex_latitude":"068c02c8","is_valid_coordinates":true} 
[2026-07-07 02: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-07-07 02:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543479808001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340248683578654720,"note":"Value kept but may cause issues"} 
[2026-07-07 02:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5340143286273361920,"note":"Value kept but may cause issues"} 
[2026-07-07 02:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783372968000,"timestamp_ms":1783372968000,"timestamp_seconds":1783372968,"priority":1,"record_length":96,"hex_timestamp":"0000019f394ff040"} 
[2026-07-07 02:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:53: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-07-07 02: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":196,"data_length":795,"current_offset":136} 
[2026-07-07 02:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02: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-07-07 02:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":125979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":125979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":125979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543479808001,"66":27332,"189":206,"86":48896,"24":69,"16":340248683578654720,"45":5340143286273361920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-07-07 02:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543479808001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:53:44] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-07 02:53:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340248683578654720,"km_value":340248683578654.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5340143286273361920,"description":"Unknown IO ID 45"} 
[2026-07-07 02:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543479808001,"power":27332,"unknown_189":206,"unknown_86":48896,"ignition":69,"odometer":null,"unknown_45":5340143286273361920}} 
[2026-07-07 02:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":125979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:53:44] local.INFO: GPS data processed {"connection_id":125979,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:53:44] local.INFO: Acknowledgment sent {"connection_id":125979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:54:04] local.INFO: TCP Data received {"connection_id":124074,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:54:04] local.INFO: Processing buffer {"connection_id":124074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:54:04] local.INFO: IMEI packet received {"connection_id":124074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 02:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":124074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:54:05] local.INFO: TCP Data received {"connection_id":124736,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:54:05] local.INFO: Processing buffer {"connection_id":124736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:54:05] local.INFO: IMEI packet received {"connection_id":124736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":124736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:54:08] local.INFO: TCP Data received {"connection_id":124736,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:54:08] local.INFO: Processing buffer {"connection_id":124736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:54:08] local.INFO: IMEI packet received {"connection_id":124736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":124736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:54:08] local.INFO: TCP Data received {"connection_id":124736,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f395007b0012d4a3300068be290000e00952f..."} 
[2026-07-07 02:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395007b0012d4a3300068be290000e00952f..."} 
[2026-07-07 02:54:08] local.INFO: Processing buffer {"connection_id":124736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395007b0012d4a3300068be290000e00952f..."} 
[2026-07-07 02:54:08] local.INFO: Packet analysis {"connection_id":124736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3950"} 
[2026-07-07 02:54:08] local.INFO: Extracted packet for processing {"connection_id":124736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3950"} 
[2026-07-07 02:54:08] local.INFO: GPS Element Parsed {"raw_longitude":759837440,"raw_latitude":109830800,"longitude_deg":75.983744,"latitude_deg":10.98308,"altitude":14,"angle":149,"satellites":47,"speed":64,"hex_longitude":"2d4a3300","hex_latitude":"068be290","is_valid_coordinates":true} 
[2026-07-07 02: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-07-07 02:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543479808001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340249173204926464,"note":"Value kept but may cause issues"} 
[2026-07-07 02:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5340143286273361920,"note":"Value kept but may cause issues"} 
[2026-07-07 02:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783372974000,"timestamp_ms":1783372974000,"timestamp_seconds":1783372974,"priority":1,"record_length":96,"hex_timestamp":"0000019f395007b0"} 
[2026-07-07 02:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:54: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-07-07 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 02:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02: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-07-07 02:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543479808001,"66":27463,"189":206,"86":48896,"24":64,"16":340249173204926464,"45":5340143286273361920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-07-07 02:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543479808001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:54:08] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-07 02:54:08] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340249173204926464,"km_value":340249173204926.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5340143286273361920,"description":"Unknown IO ID 45"} 
[2026-07-07 02:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543479808001,"power":27463,"unknown_189":206,"unknown_86":48896,"ignition":64,"odometer":null,"unknown_45":5340143286273361920}} 
[2026-07-07 02:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":124736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:54:08] local.INFO: GPS data processed {"connection_id":124736,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:54:08] local.INFO: Acknowledgment sent {"connection_id":124736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:54:40] local.INFO: TCP Data received {"connection_id":124736,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39501f20012d4a4580068bc318000f00962d..."} 
[2026-07-07 02:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39501f20012d4a4580068bc318000f00962d..."} 
[2026-07-07 02:54:40] local.INFO: Processing buffer {"connection_id":124736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39501f20012d4a4580068bc318000f00962d..."} 
[2026-07-07 02:54:40] local.INFO: Packet analysis {"connection_id":124736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3950"} 
[2026-07-07 02:54:40] local.INFO: Extracted packet for processing {"connection_id":124736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3950"} 
[2026-07-07 02:54:40] local.INFO: GPS Element Parsed {"raw_longitude":759842176,"raw_latitude":109822744,"longitude_deg":75.9842176,"latitude_deg":10.9822744,"altitude":15,"angle":150,"satellites":45,"speed":59,"hex_longitude":"2d4a4580","hex_latitude":"068bc318","is_valid_coordinates":true} 
[2026-07-07 02:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543481344001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340249624176492544,"note":"Value kept but may cause issues"} 
[2026-07-07 02:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5346617210735595520,"note":"Value kept but may cause issues"} 
[2026-07-07 02:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783372980000,"timestamp_ms":1783372980000,"timestamp_seconds":1783372980,"priority":1,"record_length":96,"hex_timestamp":"0000019f39501f20"} 
[2026-07-07 02:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:54: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-07-07 02:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 02:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543481344001,"66":27463,"189":206,"86":48896,"24":59,"16":340249624176492544,"45":5346617210735595520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-07-07 02:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543481344001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:54:40] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-07 02:54:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340249624176492544,"km_value":340249624176492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5346617210735595520,"description":"Unknown IO ID 45"} 
[2026-07-07 02:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543481344001,"power":27463,"unknown_189":206,"unknown_86":48896,"ignition":59,"odometer":null,"unknown_45":5346617210735595520}} 
[2026-07-07 02:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":124736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:54:40] local.INFO: GPS data processed {"connection_id":124736,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:54:40] local.INFO: Acknowledgment sent {"connection_id":124736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:55:00] local.INFO: TCP Data received {"connection_id":125980,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:55:00] local.INFO: Processing buffer {"connection_id":125980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:55:00] local.INFO: IMEI packet received {"connection_id":125980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":125980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:55:05] local.INFO: TCP Data received {"connection_id":125980,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:55:05] local.INFO: Processing buffer {"connection_id":125980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:55:05] local.INFO: IMEI packet received {"connection_id":125980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":125980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:55:06] local.INFO: TCP Data received {"connection_id":125980,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f395101b0012d4b30c0068b2bb8001b00632d..."} 
[2026-07-07 02:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395101b0012d4b30c0068b2bb8001b00632d..."} 
[2026-07-07 02:55:06] local.INFO: Processing buffer {"connection_id":125980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395101b0012d4b30c0068b2bb8001b00632d..."} 
[2026-07-07 02:55:06] local.INFO: Packet analysis {"connection_id":125980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3951"} 
[2026-07-07 02:55:06] local.INFO: Extracted packet for processing {"connection_id":125980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3951"} 
[2026-07-07 02:55:06] local.INFO: GPS Element Parsed {"raw_longitude":759902400,"raw_latitude":109783992,"longitude_deg":75.99024,"latitude_deg":10.9783992,"altitude":27,"angle":99,"satellites":45,"speed":42,"hex_longitude":"2d4b30c0","hex_latitude":"068b2bb8","is_valid_coordinates":true} 
[2026-07-07 02:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543495680001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340253279193661440,"note":"Value kept but may cause issues"} 
[2026-07-07 02:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5407908386902730752,"note":"Value kept but may cause issues"} 
[2026-07-07 02:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783373038000,"timestamp_ms":1783373038000,"timestamp_seconds":1783373038,"priority":1,"record_length":96,"hex_timestamp":"0000019f395101b0"} 
[2026-07-07 02:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 02:55: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-07-07 02:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543495680001,"66":27463,"189":206,"86":48896,"24":42,"16":340253279193661440,"45":5407908386902730752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-07-07 02:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543495680001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:55:06] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-07 02:55:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340253279193661440,"km_value":340253279193661.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5407908386902730752,"description":"Unknown IO ID 45"} 
[2026-07-07 02:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543495680001,"power":27463,"unknown_189":206,"unknown_86":48896,"ignition":42,"odometer":null,"unknown_45":5407908386902730752}} 
[2026-07-07 02:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":125980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:55:06] local.INFO: GPS data processed {"connection_id":125980,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:55:06] local.INFO: Acknowledgment sent {"connection_id":125980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:55:37] local.INFO: TCP Data received {"connection_id":125980,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f395128c0012d4b5680068b25b8001e00632e..."} 
[2026-07-07 02:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395128c0012d4b5680068b25b8001e00632e..."} 
[2026-07-07 02:55:37] local.INFO: Processing buffer {"connection_id":125980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395128c0012d4b5680068b25b8001e00632e..."} 
[2026-07-07 02:55:37] local.INFO: Packet analysis {"connection_id":125980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3951"} 
[2026-07-07 02:55:37] local.INFO: Extracted packet for processing {"connection_id":125980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3951"} 
[2026-07-07 02:55:37] local.INFO: GPS Element Parsed {"raw_longitude":759912064,"raw_latitude":109782456,"longitude_deg":75.9912064,"latitude_deg":10.9782456,"altitude":30,"angle":99,"satellites":46,"speed":36,"hex_longitude":"2d4b5680","hex_latitude":"068b25b8","is_valid_coordinates":true} 
[2026-07-07 02:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543497728001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340253743050129408,"note":"Value kept but may cause issues"} 
[2026-07-07 02:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5418041486063941632,"note":"Value kept but may cause issues"} 
[2026-07-07 02:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783373048000,"timestamp_ms":1783373048000,"timestamp_seconds":1783373048,"priority":1,"record_length":96,"hex_timestamp":"0000019f395128c0"} 
[2026-07-07 02:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 02:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543497728001,"66":27365,"189":206,"86":48896,"24":36,"16":340253743050129408,"45":5418041486063941632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-07-07 02:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543497728001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:55:37] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-07 02:55:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340253743050129408,"km_value":340253743050129.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5418041486063941632,"description":"Unknown IO ID 45"} 
[2026-07-07 02:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543497728001,"power":27365,"unknown_189":206,"unknown_86":48896,"ignition":36,"odometer":null,"unknown_45":5418041486063941632}} 
[2026-07-07 02:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":125980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:55:37] local.INFO: GPS data processed {"connection_id":125980,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:55:37] local.INFO: Acknowledgment sent {"connection_id":125980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:56:00] local.INFO: TCP Data received {"connection_id":124737,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:56:00] local.INFO: Processing buffer {"connection_id":124737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:56:00] local.INFO: IMEI packet received {"connection_id":124737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":124737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:56:05] local.INFO: TCP Data received {"connection_id":124737,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:56:05] local.INFO: Processing buffer {"connection_id":124737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:56:05] local.INFO: IMEI packet received {"connection_id":124737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":124737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:56:06] local.INFO: TCP Data received {"connection_id":124737,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39514fd0012d4b7980068b2148002200642f..."} 
[2026-07-07 02:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39514fd0012d4b7980068b2148002200642f..."} 
[2026-07-07 02:56:06] local.INFO: Processing buffer {"connection_id":124737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39514fd0012d4b7980068b2148002200642f..."} 
[2026-07-07 02:56:06] local.INFO: Packet analysis {"connection_id":124737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3951"} 
[2026-07-07 02:56:06] local.INFO: Extracted packet for processing {"connection_id":124737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3951"} 
[2026-07-07 02:56:06] local.INFO: GPS Element Parsed {"raw_longitude":759921024,"raw_latitude":109781320,"longitude_deg":75.9921024,"latitude_deg":10.978132,"altitude":34,"angle":100,"satellites":47,"speed":34,"hex_longitude":"2d4b7980","hex_latitude":"068b2148","is_valid_coordinates":true} 
[2026-07-07 02:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543500288001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340254176841826304,"note":"Value kept but may cause issues"} 
[2026-07-07 02:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5428667166434375680,"note":"Value kept but may cause issues"} 
[2026-07-07 02:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783373058000,"timestamp_ms":1783373058000,"timestamp_seconds":1783373058,"priority":1,"record_length":96,"hex_timestamp":"0000019f39514fd0"} 
[2026-07-07 02:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 02:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543500288001,"66":27463,"189":206,"86":48896,"24":34,"16":340254176841826304,"45":5428667166434375680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-07-07 02:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543500288001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:56:06] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-07 02:56:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340254176841826304,"km_value":340254176841826.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5428667166434375680,"description":"Unknown IO ID 45"} 
[2026-07-07 02:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543500288001,"power":27463,"unknown_189":206,"unknown_86":48896,"ignition":34,"odometer":null,"unknown_45":5428667166434375680}} 
[2026-07-07 02:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":124737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:56:06] local.INFO: GPS data processed {"connection_id":124737,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:56:06] local.INFO: Acknowledgment sent {"connection_id":124737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:56:37] local.INFO: TCP Data received {"connection_id":124737,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39517ac8012d4b9d00068b1bc0002600632f..."} 
[2026-07-07 02:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39517ac8012d4b9d00068b1bc0002600632f..."} 
[2026-07-07 02:56:37] local.INFO: Processing buffer {"connection_id":124737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39517ac8012d4b9d00068b1bc0002600632f..."} 
[2026-07-07 02:56:37] local.INFO: Packet analysis {"connection_id":124737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3951"} 
[2026-07-07 02:56:37] local.INFO: Extracted packet for processing {"connection_id":124737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3951"} 
[2026-07-07 02:56:37] local.INFO: GPS Element Parsed {"raw_longitude":759930112,"raw_latitude":109779904,"longitude_deg":75.9930112,"latitude_deg":10.9779904,"altitude":38,"angle":99,"satellites":47,"speed":31,"hex_longitude":"2d4b9d00","hex_latitude":"068b1bc0","is_valid_coordinates":true} 
[2026-07-07 02:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543502848001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340254610633523200,"note":"Value kept but may cause issues"} 
[2026-07-07 02:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5438518790618957824,"note":"Value kept but may cause issues"} 
[2026-07-07 02:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783373069000,"timestamp_ms":1783373069000,"timestamp_seconds":1783373069,"priority":1,"record_length":96,"hex_timestamp":"0000019f39517ac8"} 
[2026-07-07 02:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:56: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-07-07 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 02:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543502848001,"66":27343,"187":206,"86":48896,"24":31,"16":340254610633523200,"45":5438518790618957824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-07-07 02:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543502848001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:56:37] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-07 02:56:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340254610633523200,"km_value":340254610633523.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5438518790618957824,"description":"Unknown IO ID 45"} 
[2026-07-07 02:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543502848001,"power":27343,"unknown_187":206,"unknown_86":48896,"ignition":31,"odometer":null,"unknown_45":5438518790618957824}} 
[2026-07-07 02:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":124737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:56:37] local.INFO: GPS data processed {"connection_id":124737,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:56:37] local.INFO: Acknowledgment sent {"connection_id":124737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:57:00] local.INFO: TCP Data received {"connection_id":124077,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:57:00] local.INFO: Processing buffer {"connection_id":124077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:57:00] local.INFO: IMEI packet received {"connection_id":124077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":124077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:57:05] local.INFO: TCP Data received {"connection_id":124077,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:57:05] local.INFO: Processing buffer {"connection_id":124077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:57:05] local.INFO: IMEI packet received {"connection_id":124077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":124077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:57:06] local.INFO: TCP Data received {"connection_id":124077,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3951a9a8012d4bc0c0068b1620002a00632e..."} 
[2026-07-07 02:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3951a9a8012d4bc0c0068b1620002a00632e..."} 
[2026-07-07 02:57:06] local.INFO: Processing buffer {"connection_id":124077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3951a9a8012d4bc0c0068b1620002a00632e..."} 
[2026-07-07 02:57:06] local.INFO: Packet analysis {"connection_id":124077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3951"} 
[2026-07-07 02:57:06] local.INFO: Extracted packet for processing {"connection_id":124077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3951"} 
[2026-07-07 02:57:06] local.INFO: GPS Element Parsed {"raw_longitude":759939264,"raw_latitude":109778464,"longitude_deg":75.9939264,"latitude_deg":10.9778464,"altitude":42,"angle":99,"satellites":46,"speed":28,"hex_longitude":"2d4bc0c0","hex_latitude":"068b1620","is_valid_coordinates":true} 
[2026-07-07 02:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543505664001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340255053015154688,"note":"Value kept but may cause issues"} 
[2026-07-07 02:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5448511152291823616,"note":"Value kept but may cause issues"} 
[2026-07-07 02:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783373081000,"timestamp_ms":1783373081000,"timestamp_seconds":1783373081,"priority":1,"record_length":96,"hex_timestamp":"0000019f3951a9a8"} 
[2026-07-07 02:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:57: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-07-07 02:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 02:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543505664001,"66":27365,"187":206,"86":48896,"24":28,"16":340255053015154688,"45":5448511152291823616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-07-07 02:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543505664001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:57:06] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-07 02:57:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340255053015154688,"km_value":340255053015154.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5448511152291823616,"description":"Unknown IO ID 45"} 
[2026-07-07 02:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543505664001,"power":27365,"unknown_187":206,"unknown_86":48896,"ignition":28,"odometer":null,"unknown_45":5448511152291823616}} 
[2026-07-07 02:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":124077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:57:06] local.INFO: GPS data processed {"connection_id":124077,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:57:06] local.INFO: Acknowledgment sent {"connection_id":124077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:57:37] local.INFO: TCP Data received {"connection_id":124077,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3951dc70012d4be400068b1070002e00632d..."} 
[2026-07-07 02:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3951dc70012d4be400068b1070002e00632d..."} 
[2026-07-07 02:57:37] local.INFO: Processing buffer {"connection_id":124077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3951dc70012d4be400068b1070002e00632d..."} 
[2026-07-07 02:57:37] local.INFO: Packet analysis {"connection_id":124077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3951"} 
[2026-07-07 02:57:37] local.INFO: Extracted packet for processing {"connection_id":124077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3951"} 
[2026-07-07 02:57:37] local.INFO: GPS Element Parsed {"raw_longitude":759948288,"raw_latitude":109777008,"longitude_deg":75.9948288,"latitude_deg":10.9777008,"altitude":46,"angle":99,"satellites":45,"speed":26,"hex_longitude":"2d4be400","hex_latitude":"068b1070","is_valid_coordinates":true} 
[2026-07-07 02:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543508736001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340255486806851584,"note":"Value kept but may cause issues"} 
[2026-07-07 02:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5458573882708860928,"note":"Value kept but may cause issues"} 
[2026-07-07 02:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783373094000,"timestamp_ms":1783373094000,"timestamp_seconds":1783373094,"priority":1,"record_length":96,"hex_timestamp":"0000019f3951dc70"} 
[2026-07-07 02:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:57: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-07-07 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 02:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543508736001,"66":27463,"187":206,"86":48896,"24":26,"16":340255486806851584,"45":5458573882708860928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-07-07 02:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543508736001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:57:37] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-07 02:57:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340255486806851584,"km_value":340255486806851.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5458573882708860928,"description":"Unknown IO ID 45"} 
[2026-07-07 02:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543508736001,"power":27463,"unknown_187":206,"unknown_86":48896,"ignition":26,"odometer":null,"unknown_45":5458573882708860928}} 
[2026-07-07 02:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":124077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:57:37] local.INFO: GPS data processed {"connection_id":124077,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:57:37] local.INFO: Acknowledgment sent {"connection_id":124077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:58:00] local.INFO: TCP Data received {"connection_id":125982,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:58:00] local.INFO: Processing buffer {"connection_id":125982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:58:00] local.INFO: IMEI packet received {"connection_id":125982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":125982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:58:05] local.INFO: TCP Data received {"connection_id":125982,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:58:05] local.INFO: Processing buffer {"connection_id":125982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:58:05] local.INFO: IMEI packet received {"connection_id":125982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":125982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:58:06] local.INFO: TCP Data received {"connection_id":125982,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39521708012d4c0900068b0a88003100622c..."} 
[2026-07-07 02:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39521708012d4c0900068b0a88003100622c..."} 
[2026-07-07 02:58:06] local.INFO: Processing buffer {"connection_id":125982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39521708012d4c0900068b0a88003100622c..."} 
[2026-07-07 02:58:06] local.INFO: Packet analysis {"connection_id":125982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3952"} 
[2026-07-07 02:58:06] local.INFO: Extracted packet for processing {"connection_id":125982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3952"} 
[2026-07-07 02:58:06] local.INFO: GPS Element Parsed {"raw_longitude":759957760,"raw_latitude":109775496,"longitude_deg":75.995776,"latitude_deg":10.9775496,"altitude":49,"angle":98,"satellites":44,"speed":23,"hex_longitude":"2d4c0900","hex_latitude":"068b0a88","is_valid_coordinates":true} 
[2026-07-07 02:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543512064001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340255942073384960,"note":"Value kept but may cause issues"} 
[2026-07-07 02:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5468495875637538816,"note":"Value kept but may cause issues"} 
[2026-07-07 02:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783373109000,"timestamp_ms":1783373109000,"timestamp_seconds":1783373109,"priority":1,"record_length":96,"hex_timestamp":"0000019f39521708"} 
[2026-07-07 02:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 02:58: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-07-07 02:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543512064001,"66":27397,"187":206,"86":48896,"24":23,"16":340255942073384960,"45":5468495875637538816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-07-07 02:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543512064001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:58:06] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-07 02:58:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340255942073384960,"km_value":340255942073384.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5468495875637538816,"description":"Unknown IO ID 45"} 
[2026-07-07 02:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543512064001,"power":27397,"unknown_187":206,"unknown_86":48896,"ignition":23,"odometer":null,"unknown_45":5468495875637538816}} 
[2026-07-07 02:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":125982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:58:06] local.INFO: GPS data processed {"connection_id":125982,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:58:06] local.INFO: Acknowledgment sent {"connection_id":125982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:58:38] local.INFO: TCP Data received {"connection_id":125982,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39525d58012d4c2cc0068b04b0003600632d..."} 
[2026-07-07 02:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39525d58012d4c2cc0068b04b0003600632d..."} 
[2026-07-07 02:58:38] local.INFO: Processing buffer {"connection_id":125982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39525d58012d4c2cc0068b04b0003600632d..."} 
[2026-07-07 02:58:38] local.INFO: Packet analysis {"connection_id":125982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3952"} 
[2026-07-07 02:58:38] local.INFO: Extracted packet for processing {"connection_id":125982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3952"} 
[2026-07-07 02:58:38] local.INFO: GPS Element Parsed {"raw_longitude":759966912,"raw_latitude":109774000,"longitude_deg":75.9966912,"latitude_deg":10.9774,"altitude":54,"angle":99,"satellites":45,"speed":21,"hex_longitude":"2d4c2cc0","hex_latitude":"068b04b0","is_valid_coordinates":true} 
[2026-07-07 02: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-07-07 02:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543515904001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340256384455016448,"note":"Value kept but may cause issues"} 
[2026-07-07 02:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5478910449775446016,"note":"Value kept but may cause issues"} 
[2026-07-07 02:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783373127000,"timestamp_ms":1783373127000,"timestamp_seconds":1783373127,"priority":1,"record_length":96,"hex_timestamp":"0000019f39525d58"} 
[2026-07-07 02:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:58: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-07-07 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 02:58: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-07-07 02: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-07-07 02:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543515904001,"66":27376,"187":206,"86":48896,"24":21,"16":340256384455016448,"45":5478910449775446016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-07-07 02:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543515904001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:58:38] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-07 02:58:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340256384455016448,"km_value":340256384455016.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5478910449775446016,"description":"Unknown IO ID 45"} 
[2026-07-07 02:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543515904001,"power":27376,"unknown_187":206,"unknown_86":48896,"ignition":21,"odometer":null,"unknown_45":5478910449775446016}} 
[2026-07-07 02:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":125982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:58:38] local.INFO: GPS data processed {"connection_id":125982,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:58:38] local.INFO: Acknowledgment sent {"connection_id":125982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:59:00] local.INFO: TCP Data received {"connection_id":124078,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:59:00] local.INFO: Processing buffer {"connection_id":124078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 02:59:00] local.INFO: IMEI packet received {"connection_id":124078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 02:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":124078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 02:59:13] local.INFO: TCP Data received {"connection_id":124078,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 02:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124078,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 02:59:13] local.INFO: Processing buffer {"connection_id":124078,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 02:59:13] local.INFO: IMEI packet received {"connection_id":124078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":124078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:59:14] local.INFO: TCP Data received {"connection_id":124078,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f395297f0012d4c4fc0068afeb0003b00632e..."} 
[2026-07-07 02:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395297f0012d4c4fc0068afeb0003b00632e..."} 
[2026-07-07 02:59:14] local.INFO: Processing buffer {"connection_id":124078,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f39..."} 
[2026-07-07 02:59:14] local.INFO: IMEI packet received {"connection_id":124078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 02:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":124078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 02:59:15] local.INFO: TCP Data received {"connection_id":124078,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3952d288012d4c74c0068af8b0003f00642d..."} 
[2026-07-07 02:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3952d288012d4c74c0068af8b0003f00642d..."} 
[2026-07-07 02:59:15] local.INFO: Processing buffer {"connection_id":124078,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f395297f0012d4c4fc0068afeb0003b00632e..."} 
[2026-07-07 02:59:15] local.INFO: Packet analysis {"connection_id":124078,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3952"} 
[2026-07-07 02:59:15] local.INFO: Extracted packet for processing {"connection_id":124078,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3952"} 
[2026-07-07 02:59:15] local.INFO: GPS Element Parsed {"raw_longitude":759975872,"raw_latitude":109772464,"longitude_deg":75.9975872,"latitude_deg":10.9772464,"altitude":59,"angle":99,"satellites":46,"speed":24,"hex_longitude":"2d4c4fc0","hex_latitude":"068afeb0","is_valid_coordinates":true} 
[2026-07-07 02:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543520512001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340256822541680640,"note":"Value kept but may cause issues"} 
[2026-07-07 02:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5488973180192468992,"note":"Value kept but may cause issues"} 
[2026-07-07 02:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783373142000,"timestamp_ms":1783373142000,"timestamp_seconds":1783373142,"priority":1,"record_length":96,"hex_timestamp":"0000019f395297f0"} 
[2026-07-07 02:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:59: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-07-07 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 02:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543520512001,"66":27376,"187":206,"86":48896,"24":24,"16":340256822541680640,"45":5488973180192468992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-07-07 02:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543520512001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:59:15] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-07 02:59:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340256822541680640,"km_value":340256822541680.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5488973180192468992,"description":"Unknown IO ID 45"} 
[2026-07-07 02:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543520512001,"power":27376,"unknown_187":206,"unknown_86":48896,"ignition":24,"odometer":null,"unknown_45":5488973180192468992}} 
[2026-07-07 02:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":124078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:59:15] local.INFO: GPS data processed {"connection_id":124078,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:59:15] local.INFO: Acknowledgment sent {"connection_id":124078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:59:15] local.INFO: Packet analysis {"connection_id":124078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3952"} 
[2026-07-07 02:59:15] local.INFO: Extracted packet for processing {"connection_id":124078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3952"} 
[2026-07-07 02:59:15] local.INFO: GPS Element Parsed {"raw_longitude":759985344,"raw_latitude":109770928,"longitude_deg":75.9985344,"latitude_deg":10.9770928,"altitude":63,"angle":100,"satellites":45,"speed":25,"hex_longitude":"2d4c74c0","hex_latitude":"068af8b0","is_valid_coordinates":true} 
[2026-07-07 02:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543524352001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340257277808214016,"note":"Value kept but may cause issues"} 
[2026-07-07 02:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5498824804376948736,"note":"Value kept but may cause issues"} 
[2026-07-07 02:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783373157000,"timestamp_ms":1783373157000,"timestamp_seconds":1783373157,"priority":1,"record_length":96,"hex_timestamp":"0000019f3952d288"} 
[2026-07-07 02:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:59: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-07-07 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 02:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 02:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543524352001,"66":27397,"187":206,"86":48896,"24":25,"16":340257277808214016,"45":5498824804376948736},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-07-07 02:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543524352001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:59:15] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-07 02:59:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340257277808214016,"km_value":340257277808214.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5498824804376948736,"description":"Unknown IO ID 45"} 
[2026-07-07 02:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543524352001,"power":27397,"unknown_187":206,"unknown_86":48896,"ignition":25,"odometer":null,"unknown_45":5498824804376948736}} 
[2026-07-07 02:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":124078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:59:15] local.INFO: GPS data processed {"connection_id":124078,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:59:15] local.INFO: Acknowledgment sent {"connection_id":124078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:59:16] local.INFO: TCP Data received {"connection_id":124078,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39530d20012d4c9980068af240004200632a..."} 
[2026-07-07 02:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39530d20012d4c9980068af240004200632a..."} 
[2026-07-07 02:59:16] local.INFO: Processing buffer {"connection_id":124078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39530d20012d4c9980068af240004200632a..."} 
[2026-07-07 02:59:16] local.INFO: Packet analysis {"connection_id":124078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3953"} 
[2026-07-07 02:59:16] local.INFO: Extracted packet for processing {"connection_id":124078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3953"} 
[2026-07-07 02:59:16] local.INFO: GPS Element Parsed {"raw_longitude":759994752,"raw_latitude":109769280,"longitude_deg":75.9994752,"latitude_deg":10.976928,"altitude":66,"angle":99,"satellites":42,"speed":24,"hex_longitude":"2d4c9980","hex_latitude":"068af240","is_valid_coordinates":true} 
[2026-07-07 02:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 02:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543528192001,"note":"Value kept but may cause issues"} 
[2026-07-07 02:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340257728779780096,"note":"Value kept but may cause issues"} 
[2026-07-07 02:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5509239378514849792,"note":"Value kept but may cause issues"} 
[2026-07-07 02:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 02:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783373172000,"timestamp_ms":1783373172000,"timestamp_seconds":1783373172,"priority":1,"record_length":96,"hex_timestamp":"0000019f39530d20"} 
[2026-07-07 02:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 02:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 02:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 02:59: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-07-07 02:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 02:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 02:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 02:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 02:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 02:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 02:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 02:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 02:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543528192001,"66":27365,"187":206,"86":48896,"24":24,"16":340257728779780096,"45":5509239378514849792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-07-07 02:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 02:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 02:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543528192001,"description":"Unknown IO ID 0"} 
[2026-07-07 02:59:16] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-07 02:59:16] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 02:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340257728779780096,"km_value":340257728779780.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 02:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5509239378514849792,"description":"Unknown IO ID 45"} 
[2026-07-07 02:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543528192001,"power":27365,"unknown_187":206,"unknown_86":48896,"ignition":24,"odometer":null,"unknown_45":5509239378514849792}} 
[2026-07-07 02:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":124078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 02:59:16] local.INFO: GPS data processed {"connection_id":124078,"processed":1,"errors":0,"total":1} 
[2026-07-07 02:59:16] local.INFO: Acknowledgment sent {"connection_id":124078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 02:59:35] local.INFO: TCP Data received {"connection_id":123965,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:59:35] local.INFO: Processing buffer {"connection_id":123965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 02:59:35] local.INFO: IMEI packet received {"connection_id":123965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 02:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":123965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:00:00] local.INFO: TCP Data received {"connection_id":125983,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:00:00] local.INFO: Processing buffer {"connection_id":125983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:00:00] local.INFO: IMEI packet received {"connection_id":125983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":125983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:00:05] local.INFO: TCP Data received {"connection_id":125983,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:00:05] local.INFO: Processing buffer {"connection_id":125983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:00:05] local.INFO: IMEI packet received {"connection_id":125983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":125983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:00:05] local.INFO: TCP Data received {"connection_id":124079,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:00:05] local.INFO: Processing buffer {"connection_id":124079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:00:05] local.INFO: IMEI packet received {"connection_id":124079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 03:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":124079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:00:06] local.INFO: TCP Data received {"connection_id":125983,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39557268012d4e0640068a5650006d009c26..."} 
[2026-07-07 03:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39557268012d4e0640068a5650006d009c26..."} 
[2026-07-07 03:00:06] local.INFO: Processing buffer {"connection_id":125983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39557268012d4e0640068a5650006d009c26..."} 
[2026-07-07 03:00:06] local.INFO: Packet analysis {"connection_id":125983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3955"} 
[2026-07-07 03:00:06] local.INFO: Extracted packet for processing {"connection_id":125983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3955"} 
[2026-07-07 03:00:06] local.INFO: GPS Element Parsed {"raw_longitude":760088128,"raw_latitude":109729360,"longitude_deg":76.0088128,"latitude_deg":10.972936,"altitude":109,"angle":156,"satellites":38,"speed":41,"hex_longitude":"2d4e0640","hex_latitude":"068a5650","is_valid_coordinates":true} 
[2026-07-07 03:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543570432001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340262809726091264,"note":"Value kept but may cause issues"} 
[2026-07-07 03:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5618381300725327872,"note":"Value kept but may cause issues"} 
[2026-07-07 03:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783373329000,"timestamp_ms":1783373329000,"timestamp_seconds":1783373329,"priority":1,"record_length":96,"hex_timestamp":"0000019f39557268"} 
[2026-07-07 03:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 03:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543570432001,"66":27321,"121":206,"86":48896,"24":41,"16":340262809726091264,"45":5618381300725327872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,86,24,16,45]} 
[2026-07-07 03:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543570432001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:00:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 03:00:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 03:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340262809726091264,"km_value":340262809726091.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5618381300725327872,"description":"Unknown IO ID 45"} 
[2026-07-07 03:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543570432001,"power":27321,"unknown_121":206,"unknown_86":48896,"ignition":41,"odometer":null,"unknown_45":5618381300725327872}} 
[2026-07-07 03:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":125983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:00:06] local.INFO: GPS data processed {"connection_id":125983,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:00:06] local.INFO: Acknowledgment sent {"connection_id":125983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:00:37] local.INFO: TCP Data received {"connection_id":125983,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f395589d8012d4e0dc0068a3ee0006e00a82c..."} 
[2026-07-07 03:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395589d8012d4e0dc0068a3ee0006e00a82c..."} 
[2026-07-07 03:00:37] local.INFO: Processing buffer {"connection_id":125983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395589d8012d4e0dc0068a3ee0006e00a82c..."} 
[2026-07-07 03:00:37] local.INFO: Packet analysis {"connection_id":125983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3955"} 
[2026-07-07 03:00:37] local.INFO: Extracted packet for processing {"connection_id":125983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3955"} 
[2026-07-07 03:00:37] local.INFO: GPS Element Parsed {"raw_longitude":760090048,"raw_latitude":109723360,"longitude_deg":76.0090048,"latitude_deg":10.972336,"altitude":110,"angle":168,"satellites":44,"speed":42,"hex_longitude":"2d4e0dc0","hex_latitude":"068a3ee0","is_valid_coordinates":true} 
[2026-07-07 03:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543572224001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340263114668769280,"note":"Value kept but may cause issues"} 
[2026-07-07 03:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5622251581653536768,"note":"Value kept but may cause issues"} 
[2026-07-07 03:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783373335000,"timestamp_ms":1783373335000,"timestamp_seconds":1783373335,"priority":1,"record_length":96,"hex_timestamp":"0000019f395589d8"} 
[2026-07-07 03:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:00: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-07-07 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 03:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543572224001,"66":27267,"121":206,"86":48896,"24":42,"16":340263114668769280,"45":5622251581653536768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,86,24,16,45]} 
[2026-07-07 03:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543572224001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:00:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 03:00:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 03:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340263114668769280,"km_value":340263114668769.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5622251581653536768,"description":"Unknown IO ID 45"} 
[2026-07-07 03:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543572224001,"power":27267,"unknown_121":206,"unknown_86":48896,"ignition":42,"odometer":null,"unknown_45":5622251581653536768}} 
[2026-07-07 03:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":125983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:00:37] local.INFO: GPS data processed {"connection_id":125983,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:00:37] local.INFO: Acknowledgment sent {"connection_id":125983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:01:00] local.INFO: TCP Data received {"connection_id":123966,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:01:00] local.INFO: Processing buffer {"connection_id":123966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:01:00] local.INFO: IMEI packet received {"connection_id":123966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":123966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:01:04] local.INFO: TCP Data received {"connection_id":123966,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:01:04] local.INFO: Processing buffer {"connection_id":123966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:01:04] local.INFO: IMEI packet received {"connection_id":123966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":123966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:01:05] local.INFO: TCP Data received {"connection_id":123966,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:01:05] local.INFO: Processing buffer {"connection_id":123966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:01:05] local.INFO: IMEI packet received {"connection_id":123966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":123966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:01:06] local.INFO: TCP Data received {"connection_id":123966,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f395683d8012d4df1000688bfb0004f00ac2e..."} 
[2026-07-07 03:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395683d8012d4df1000688bfb0004f00ac2e..."} 
[2026-07-07 03:01:06] local.INFO: Processing buffer {"connection_id":123966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395683d8012d4df1000688bfb0004f00ac2e..."} 
[2026-07-07 03:01:06] local.INFO: Packet analysis {"connection_id":123966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3956"} 
[2026-07-07 03:01:06] local.INFO: Extracted packet for processing {"connection_id":123966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3956"} 
[2026-07-07 03:01:06] local.INFO: GPS Element Parsed {"raw_longitude":760082688,"raw_latitude":109625264,"longitude_deg":76.0082688,"latitude_deg":10.9625264,"altitude":79,"angle":172,"satellites":46,"speed":74,"hex_longitude":"2d4df100","hex_latitude":"0688bfb0","is_valid_coordinates":true} 
[2026-07-07 03:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543588864001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340267937917042688,"note":"Value kept but may cause issues"} 
[2026-07-07 03:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5615144338467295232,"note":"Value kept but may cause issues"} 
[2026-07-07 03:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783373399000,"timestamp_ms":1783373399000,"timestamp_seconds":1783373399,"priority":1,"record_length":96,"hex_timestamp":"0000019f395683d8"} 
[2026-07-07 03:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 03:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":123966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":123966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":123966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543588864001,"66":27484,"237":206,"86":48896,"24":74,"16":340267937917042688,"45":5615144338467295232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-07-07 03:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543588864001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:01:06] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-07 03:01:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 03:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340267937917042688,"km_value":340267937917042.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5615144338467295232,"description":"Unknown IO ID 45"} 
[2026-07-07 03:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543588864001,"power":27484,"unknown_237":206,"unknown_86":48896,"ignition":74,"odometer":null,"unknown_45":5615144338467295232}} 
[2026-07-07 03:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":123966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:01:06] local.INFO: GPS data processed {"connection_id":123966,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:01:06] local.INFO: Acknowledgment sent {"connection_id":123966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:01:36] local.INFO: TCP Data received {"connection_id":123966,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39569760012d4df54006889b70004d00ae2f..."} 
[2026-07-07 03:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39569760012d4df54006889b70004d00ae2f..."} 
[2026-07-07 03:01:36] local.INFO: Processing buffer {"connection_id":123966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39569760012d4df54006889b70004d00ae2f..."} 
[2026-07-07 03:01:36] local.INFO: Packet analysis {"connection_id":123966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3956"} 
[2026-07-07 03:01:36] local.INFO: Extracted packet for processing {"connection_id":123966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3956"} 
[2026-07-07 03:01:36] local.INFO: GPS Element Parsed {"raw_longitude":760083776,"raw_latitude":109615984,"longitude_deg":76.0083776,"latitude_deg":10.9615984,"altitude":77,"angle":174,"satellites":47,"speed":74,"hex_longitude":"2d4df540","hex_latitude":"06889b70","is_valid_coordinates":true} 
[2026-07-07 03:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543590144001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340268393183576064,"note":"Value kept but may cause issues"} 
[2026-07-07 03:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5616270238371786752,"note":"Value kept but may cause issues"} 
[2026-07-07 03:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783373404000,"timestamp_ms":1783373404000,"timestamp_seconds":1783373404,"priority":1,"record_length":96,"hex_timestamp":"0000019f39569760"} 
[2026-07-07 03:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:01: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-07-07 03:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 03:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":123966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":123966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":123966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543590144001,"66":27321,"237":206,"86":48896,"24":74,"16":340268393183576064,"45":5616270238371786752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-07-07 03:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543590144001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:01:36] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-07 03:01:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 03:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340268393183576064,"km_value":340268393183576.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5616270238371786752,"description":"Unknown IO ID 45"} 
[2026-07-07 03:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543590144001,"power":27321,"unknown_237":206,"unknown_86":48896,"ignition":74,"odometer":null,"unknown_45":5616270238371786752}} 
[2026-07-07 03:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":123966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:01:36] local.INFO: GPS data processed {"connection_id":123966,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:01:36] local.INFO: Acknowledgment sent {"connection_id":123966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:02:03] local.INFO: TCP Data received {"connection_id":124739,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:02:03] local.INFO: Processing buffer {"connection_id":124739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:02:03] local.INFO: IMEI packet received {"connection_id":124739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":124739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:02:05] local.INFO: TCP Data received {"connection_id":124739,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:02:05] local.INFO: Processing buffer {"connection_id":124739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:02:05] local.INFO: IMEI packet received {"connection_id":124739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":124739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:02:10] local.INFO: TCP Data received {"connection_id":124739,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:02:10] local.INFO: Processing buffer {"connection_id":124739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:02:10] local.INFO: IMEI packet received {"connection_id":124739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":124739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:02:11] local.INFO: TCP Data received {"connection_id":124739,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3956aae8012d4df68006887708004c00b62e..."} 
[2026-07-07 03:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3956aae8012d4df68006887708004c00b62e..."} 
[2026-07-07 03:02:11] local.INFO: Processing buffer {"connection_id":124739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3956aae8012d4df68006887708004c00b62e..."} 
[2026-07-07 03:02:11] local.INFO: Packet analysis {"connection_id":124739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3956"} 
[2026-07-07 03:02:11] local.INFO: Extracted packet for processing {"connection_id":124739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3956"} 
[2026-07-07 03:02:11] local.INFO: GPS Element Parsed {"raw_longitude":760084096,"raw_latitude":109606664,"longitude_deg":76.0084096,"latitude_deg":10.9606664,"altitude":76,"angle":182,"satellites":46,"speed":73,"hex_longitude":"2d4df680","hex_latitude":"06887708","is_valid_coordinates":true} 
[2026-07-07 03:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543591424001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340268844155142144,"note":"Value kept but may cause issues"} 
[2026-07-07 03:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5617466507020431360,"note":"Value kept but may cause issues"} 
[2026-07-07 03:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783373409000,"timestamp_ms":1783373409000,"timestamp_seconds":1783373409,"priority":1,"record_length":96,"hex_timestamp":"0000019f3956aae8"} 
[2026-07-07 03:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:02: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-07-07 03:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 03:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543591424001,"66":27321,"237":206,"86":48896,"24":73,"16":340268844155142144,"45":5617466507020431360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-07-07 03:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543591424001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:02:11] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-07 03:02:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 03:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340268844155142144,"km_value":340268844155142.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5617466507020431360,"description":"Unknown IO ID 45"} 
[2026-07-07 03:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543591424001,"power":27321,"unknown_237":206,"unknown_86":48896,"ignition":73,"odometer":null,"unknown_45":5617466507020431360}} 
[2026-07-07 03:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":124739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:02:11] local.INFO: GPS data processed {"connection_id":124739,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:02:11] local.INFO: Acknowledgment sent {"connection_id":124739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:02:13] local.INFO: TCP Data received {"connection_id":124739,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3956be70012d4df34006885388004c00bd2d..."} 
[2026-07-07 03:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3956be70012d4df34006885388004c00bd2d..."} 
[2026-07-07 03:02:13] local.INFO: Processing buffer {"connection_id":124739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3956be70012d4df34006885388004c00bd2d..."} 
[2026-07-07 03:02:13] local.INFO: Packet analysis {"connection_id":124739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3956"} 
[2026-07-07 03:02:13] local.INFO: Extracted packet for processing {"connection_id":124739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3956"} 
[2026-07-07 03:02:13] local.INFO: GPS Element Parsed {"raw_longitude":760083264,"raw_latitude":109597576,"longitude_deg":76.0083264,"latitude_deg":10.9597576,"altitude":76,"angle":189,"satellites":45,"speed":70,"hex_longitude":"2d4df340","hex_latitude":"06885388","is_valid_coordinates":true} 
[2026-07-07 03: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-07-07 03:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543592704001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340269286536773632,"note":"Value kept but may cause issues"} 
[2026-07-07 03:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5617818350738933760,"note":"Value kept but may cause issues"} 
[2026-07-07 03:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783373414000,"timestamp_ms":1783373414000,"timestamp_seconds":1783373414,"priority":1,"record_length":96,"hex_timestamp":"0000019f3956be70"} 
[2026-07-07 03:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03: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-07-07 03:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 03:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03: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-07-07 03:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543592704001,"66":27397,"237":206,"86":48896,"24":70,"16":340269286536773632,"45":5617818350738933760},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-07-07 03:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543592704001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:02:13] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-07 03:02:13] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 03:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340269286536773632,"km_value":340269286536773.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5617818350738933760,"description":"Unknown IO ID 45"} 
[2026-07-07 03:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543592704001,"power":27397,"unknown_237":206,"unknown_86":48896,"ignition":70,"odometer":null,"unknown_45":5617818350738933760}} 
[2026-07-07 03:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":124739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:02:13] local.INFO: GPS data processed {"connection_id":124739,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:02:13] local.INFO: Acknowledgment sent {"connection_id":124739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:02:44] local.INFO: TCP Data received {"connection_id":124739,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3956d5e0012d4dea4006882c48004d00c22c..."} 
[2026-07-07 03:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3956d5e0012d4dea4006882c48004d00c22c..."} 
[2026-07-07 03:02:44] local.INFO: Processing buffer {"connection_id":124739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3956d5e0012d4dea4006882c48004d00c22c..."} 
[2026-07-07 03:02:44] local.INFO: Packet analysis {"connection_id":124739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3956"} 
[2026-07-07 03:02:44] local.INFO: Extracted packet for processing {"connection_id":124739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3956"} 
[2026-07-07 03:02:44] local.INFO: GPS Element Parsed {"raw_longitude":760080960,"raw_latitude":109587528,"longitude_deg":76.008096,"latitude_deg":10.9587528,"altitude":77,"angle":194,"satellites":44,"speed":65,"hex_longitude":"2d4dea40","hex_latitude":"06882c48","is_valid_coordinates":true} 
[2026-07-07 03:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543593984001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340269784752979968,"note":"Value kept but may cause issues"} 
[2026-07-07 03:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5616903557062297600,"note":"Value kept but may cause issues"} 
[2026-07-07 03:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783373420000,"timestamp_ms":1783373420000,"timestamp_seconds":1783373420,"priority":1,"record_length":96,"hex_timestamp":"0000019f3956d5e0"} 
[2026-07-07 03:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:02: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-07-07 03:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 03:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543593984001,"66":27332,"237":206,"86":48896,"24":65,"16":340269784752979968,"45":5616903557062297600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-07-07 03:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543593984001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:02:44] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-07 03:02:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 03:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340269784752979968,"km_value":340269784752979.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5616903557062297600,"description":"Unknown IO ID 45"} 
[2026-07-07 03:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543593984001,"power":27332,"unknown_237":206,"unknown_86":48896,"ignition":65,"odometer":null,"unknown_45":5616903557062297600}} 
[2026-07-07 03:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":124739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:02:44] local.INFO: GPS data processed {"connection_id":124739,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:02:44] local.INFO: Acknowledgment sent {"connection_id":124739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:02:58] local.INFO: TCP Data received {"connection_id":124740,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:02:58] local.INFO: Processing buffer {"connection_id":124740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:02:58] local.INFO: IMEI packet received {"connection_id":124740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":124740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:02:58] local.INFO: TCP Data received {"connection_id":124740,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:02:58] local.INFO: Processing buffer {"connection_id":124740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:02:58] local.INFO: IMEI packet received {"connection_id":124740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":124740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:03:00] local.INFO: TCP Data received {"connection_id":124740,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:03:00] local.INFO: Processing buffer {"connection_id":124740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:03:00] local.INFO: IMEI packet received {"connection_id":124740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":124740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:03:05] local.INFO: TCP Data received {"connection_id":124740,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:03:05] local.INFO: Processing buffer {"connection_id":124740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:03:05] local.INFO: IMEI packet received {"connection_id":124740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":124740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:03:06] local.INFO: TCP Data received {"connection_id":124740,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f39587bc0012d4d80c00686a6d8007200c829..."} 
[2026-07-07 03:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39587bc0012d4d80c00686a6d8007200c829..."} 
[2026-07-07 03:03:06] local.INFO: Processing buffer {"connection_id":124740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39587bc0012d4d80c00686a6d8007200c829..."} 
[2026-07-07 03:03:06] local.INFO: Packet analysis {"connection_id":124740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3958"} 
[2026-07-07 03:03:06] local.INFO: Extracted packet for processing {"connection_id":124740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3958"} 
[2026-07-07 03:03:06] local.INFO: GPS Element Parsed {"raw_longitude":760053952,"raw_latitude":109487832,"longitude_deg":76.0053952,"latitude_deg":10.9487832,"altitude":114,"angle":200,"satellites":41,"speed":32,"hex_longitude":"2d4d80c0","hex_latitude":"0686a6d8","is_valid_coordinates":true} 
[2026-07-07 03:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543620352001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340274788389879808,"note":"Value kept but may cause issues"} 
[2026-07-07 03:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5587630159458551808,"note":"Value kept but may cause issues"} 
[2026-07-07 03:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783373528000,"timestamp_ms":1783373528000,"timestamp_seconds":1783373528,"priority":1,"record_length":96,"hex_timestamp":"0000019f39587bc0"} 
[2026-07-07 03:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 03:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543620352001,"66":27376,"239":206,"86":48896,"24":32,"16":340274788389879808,"45":5587630159458551808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,86,24,16,45]} 
[2026-07-07 03:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543620352001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:03:06] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-07 03:03:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 03:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340274788389879808,"km_value":340274788389879.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5587630159458551808,"description":"Unknown IO ID 45"} 
[2026-07-07 03:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543620352001,"power":27376,"unknown_239":206,"unknown_86":48896,"ignition":32,"odometer":null,"unknown_45":5587630159458551808}} 
[2026-07-07 03:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":124740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:03:06] local.INFO: GPS data processed {"connection_id":124740,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:03:06] local.INFO: Acknowledgment sent {"connection_id":124740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:03:37] local.INFO: TCP Data received {"connection_id":124740,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3958aaa0012d4d6fc0068685d0007500d42b..."} 
[2026-07-07 03:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3958aaa0012d4d6fc0068685d0007500d42b..."} 
[2026-07-07 03:03:37] local.INFO: Processing buffer {"connection_id":124740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3958aaa0012d4d6fc0068685d0007500d42b..."} 
[2026-07-07 03:03:37] local.INFO: Packet analysis {"connection_id":124740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3958"} 
[2026-07-07 03:03:37] local.INFO: Extracted packet for processing {"connection_id":124740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3958"} 
[2026-07-07 03:03:37] local.INFO: GPS Element Parsed {"raw_longitude":760049600,"raw_latitude":109479376,"longitude_deg":76.00496,"latitude_deg":10.9479376,"altitude":117,"angle":212,"satellites":43,"speed":30,"hex_longitude":"2d4d6fc0","hex_latitude":"068685d0","is_valid_coordinates":true} 
[2026-07-07 03:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543623168001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340275252246347776,"note":"Value kept but may cause issues"} 
[2026-07-07 03:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5584674672200833024,"note":"Value kept but may cause issues"} 
[2026-07-07 03:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783373540000,"timestamp_ms":1783373540000,"timestamp_seconds":1783373540,"priority":1,"record_length":96,"hex_timestamp":"0000019f3958aaa0"} 
[2026-07-07 03:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03: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-07-07 03:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 03:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543623168001,"66":27463,"239":206,"86":48896,"24":30,"16":340275252246347776,"45":5584674672200833024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,86,24,16,45]} 
[2026-07-07 03:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543623168001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:03:37] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-07 03:03:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 03:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340275252246347776,"km_value":340275252246347.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5584674672200833024,"description":"Unknown IO ID 45"} 
[2026-07-07 03:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543623168001,"power":27463,"unknown_239":206,"unknown_86":48896,"ignition":30,"odometer":null,"unknown_45":5584674672200833024}} 
[2026-07-07 03:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":124740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:03:37] local.INFO: GPS data processed {"connection_id":124740,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:03:37] local.INFO: Acknowledgment sent {"connection_id":124740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:04:00] local.INFO: TCP Data received {"connection_id":123967,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:04:00] local.INFO: Processing buffer {"connection_id":123967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:04:00] local.INFO: IMEI packet received {"connection_id":123967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":123967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:04:05] local.INFO: TCP Data received {"connection_id":123967,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:04:05] local.INFO: Processing buffer {"connection_id":123967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:04:05] local.INFO: IMEI packet received {"connection_id":123967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":123967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:04:17] local.INFO: TCP Data received {"connection_id":123967,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3958aaa0012d4d6fc0068685d0007500d42b..."} 
[2026-07-07 03:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3958aaa0012d4d6fc0068685d0007500d42b..."} 
[2026-07-07 03:04:17] local.INFO: Processing buffer {"connection_id":123967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3958aaa0012d4d6fc0068685d0007500d42b..."} 
[2026-07-07 03:04:17] local.INFO: Packet analysis {"connection_id":123967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3958"} 
[2026-07-07 03:04:17] local.INFO: Extracted packet for processing {"connection_id":123967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3958"} 
[2026-07-07 03:04:17] local.INFO: GPS Element Parsed {"raw_longitude":760049600,"raw_latitude":109479376,"longitude_deg":76.00496,"latitude_deg":10.9479376,"altitude":117,"angle":212,"satellites":43,"speed":30,"hex_longitude":"2d4d6fc0","hex_latitude":"068685d0","is_valid_coordinates":true} 
[2026-07-07 03: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-07-07 03:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543626240001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340275252246347776,"note":"Value kept but may cause issues"} 
[2026-07-07 03:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5579889597594587136,"note":"Value kept but may cause issues"} 
[2026-07-07 03:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783373540000,"timestamp_ms":1783373540000,"timestamp_seconds":1783373540,"priority":1,"record_length":96,"hex_timestamp":"0000019f3958aaa0"} 
[2026-07-07 03:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03: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-07-07 03: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-07-07 03: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-07-07 03:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":123967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":123967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":123967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543626240001,"66":27463,"239":206,"86":48896,"24":30,"16":340275252246347776,"45":5579889597594587136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,86,24,16,45]} 
[2026-07-07 03:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543626240001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:04:17] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-07 03:04:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-07 03:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340275252246347776,"km_value":340275252246347.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5579889597594587136,"description":"Unknown IO ID 45"} 
[2026-07-07 03:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543626240001,"power":27463,"unknown_239":206,"unknown_86":48896,"ignition":30,"odometer":null,"unknown_45":5579889597594587136}} 
[2026-07-07 03:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":123967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:04:17] local.INFO: GPS data processed {"connection_id":123967,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:04:17] local.INFO: Acknowledgment sent {"connection_id":123967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:05:00] local.INFO: TCP Data received {"connection_id":123968,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:05:00] local.INFO: Processing buffer {"connection_id":123968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:05:00] local.INFO: IMEI packet received {"connection_id":123968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":123968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:05:03] local.INFO: TCP Data received {"connection_id":123968,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:05:03] local.INFO: Processing buffer {"connection_id":123968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:05:03] local.INFO: IMEI packet received {"connection_id":123968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":123968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:05:05] local.INFO: TCP Data received {"connection_id":123968,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:05:05] local.INFO: Processing buffer {"connection_id":123968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:05:05] local.INFO: IMEI packet received {"connection_id":123968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":123968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:05:06] local.INFO: TCP Data received {"connection_id":123968,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f395a21a0012d4cbf4006857588006d00a530..."} 
[2026-07-07 03:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395a21a0012d4cbf4006857588006d00a530..."} 
[2026-07-07 03:05:06] local.INFO: Processing buffer {"connection_id":123968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395a21a0012d4cbf4006857588006d00a530..."} 
[2026-07-07 03:05:06] local.INFO: Packet analysis {"connection_id":123968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f395a"} 
[2026-07-07 03:05:06] local.INFO: Extracted packet for processing {"connection_id":123968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f395a"} 
[2026-07-07 03:05:06] local.INFO: GPS Element Parsed {"raw_longitude":760004416,"raw_latitude":109409672,"longitude_deg":76.0004416,"latitude_deg":10.9409672,"altitude":109,"angle":165,"satellites":48,"speed":56,"hex_longitude":"2d4cbf40","hex_latitude":"06857588","is_valid_coordinates":true} 
[2026-07-07 03:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543650048001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340279379709919232,"note":"Value kept but may cause issues"} 
[2026-07-07 03:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5529435208002418688,"note":"Value kept but may cause issues"} 
[2026-07-07 03:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783373636000,"timestamp_ms":1783373636000,"timestamp_seconds":1783373636,"priority":1,"record_length":96,"hex_timestamp":"0000019f395a21a0"} 
[2026-07-07 03:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 03:05: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-07-07 03:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":123968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":123968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":123968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543650048001,"66":27343,"103":206,"80":60928,"24":56,"16":340279379709919232,"45":5529435208002418688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-07-07 03:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543650048001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:05:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-07 03:05:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340279379709919232,"km_value":340279379709919.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5529435208002418688,"description":"Unknown IO ID 45"} 
[2026-07-07 03:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543650048001,"power":27343,"unknown_103":206,"unknown_80":60928,"ignition":56,"odometer":null,"unknown_45":5529435208002418688}} 
[2026-07-07 03:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":123968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:05:06] local.INFO: GPS data processed {"connection_id":123968,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:05:06] local.INFO: Acknowledgment sent {"connection_id":123968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:05:12] local.INFO: TCP Data received {"connection_id":123968,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f395a3cf8012d4cce80068551c0006a009a2e..."} 
[2026-07-07 03:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395a3cf8012d4cce80068551c0006a009a2e..."} 
[2026-07-07 03:05:12] local.INFO: Processing buffer {"connection_id":123968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395a3cf8012d4cce80068551c0006a009a2e..."} 
[2026-07-07 03:05:12] local.INFO: Packet analysis {"connection_id":123968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f395a"} 
[2026-07-07 03:05:12] local.INFO: Extracted packet for processing {"connection_id":123968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f395a"} 
[2026-07-07 03:05:12] local.INFO: GPS Element Parsed {"raw_longitude":760008320,"raw_latitude":109400512,"longitude_deg":76.000832,"latitude_deg":10.9400512,"altitude":106,"angle":154,"satellites":46,"speed":56,"hex_longitude":"2d4cce80","hex_latitude":"068551c0","is_valid_coordinates":true} 
[2026-07-07 03:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543650816001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340279865041223680,"note":"Value kept but may cause issues"} 
[2026-07-07 03:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5530209264187312128,"note":"Value kept but may cause issues"} 
[2026-07-07 03:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783373643000,"timestamp_ms":1783373643000,"timestamp_seconds":1783373643,"priority":1,"record_length":96,"hex_timestamp":"0000019f395a3cf8"} 
[2026-07-07 03:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:05: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-07-07 03:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 03:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543650816001,"66":27397,"103":206,"80":60928,"24":56,"16":340279865041223680,"45":5530209264187312128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-07-07 03:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543650816001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:05:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-07 03:05:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340279865041223680,"km_value":340279865041223.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5530209264187312128,"description":"Unknown IO ID 45"} 
[2026-07-07 03:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543650816001,"power":27397,"unknown_103":206,"unknown_80":60928,"ignition":56,"odometer":null,"unknown_45":5530209264187312128}} 
[2026-07-07 03:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":123968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:05:12] local.INFO: GPS data processed {"connection_id":123968,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:05:12] local.INFO: Acknowledgment sent {"connection_id":123968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:05:43] local.INFO: TCP Data received {"connection_id":123968,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f395a5850012d4cde8006852fb8006a009a2f..."} 
[2026-07-07 03:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395a5850012d4cde8006852fb8006a009a2f..."} 
[2026-07-07 03:05:43] local.INFO: Processing buffer {"connection_id":123968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395a5850012d4cde8006852fb8006a009a2f..."} 
[2026-07-07 03:05:43] local.INFO: Packet analysis {"connection_id":123968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f395a"} 
[2026-07-07 03:05:43] local.INFO: Extracted packet for processing {"connection_id":123968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f395a"} 
[2026-07-07 03:05:43] local.INFO: GPS Element Parsed {"raw_longitude":760012416,"raw_latitude":109391800,"longitude_deg":76.0012416,"latitude_deg":10.93918,"altitude":106,"angle":154,"satellites":47,"speed":52,"hex_longitude":"2d4cde80","hex_latitude":"06852fb8","is_valid_coordinates":true} 
[2026-07-07 03:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543652608001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340280328897691648,"note":"Value kept but may cause issues"} 
[2026-07-07 03:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5534501757579804672,"note":"Value kept but may cause issues"} 
[2026-07-07 03:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783373650000,"timestamp_ms":1783373650000,"timestamp_seconds":1783373650,"priority":1,"record_length":96,"hex_timestamp":"0000019f395a5850"} 
[2026-07-07 03:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03: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-07-07 03:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 03:05: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-07-07 03:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543652608001,"66":27376,"183":206,"80":60928,"24":52,"16":340280328897691648,"45":5534501757579804672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,80,24,16,45]} 
[2026-07-07 03:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543652608001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:05:43] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-07 03:05:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340280328897691648,"km_value":340280328897691.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5534501757579804672,"description":"Unknown IO ID 45"} 
[2026-07-07 03:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543652608001,"power":27376,"unknown_183":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":5534501757579804672}} 
[2026-07-07 03:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":123968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:05:43] local.INFO: GPS data processed {"connection_id":123968,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:05:43] local.INFO: Acknowledgment sent {"connection_id":123968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:06:13] local.INFO: TCP Data received {"connection_id":124741,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:06:13] local.INFO: Processing buffer {"connection_id":124741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:06:13] local.INFO: IMEI packet received {"connection_id":124741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 03:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":124741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:06:16] local.INFO: TCP Data received {"connection_id":123969,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:06:16] local.INFO: Processing buffer {"connection_id":123969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:06:16] local.INFO: IMEI packet received {"connection_id":123969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":123969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:06:18] local.INFO: TCP Data received {"connection_id":123969,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:06:18] local.INFO: Processing buffer {"connection_id":123969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:06:18] local.INFO: IMEI packet received {"connection_id":123969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":123969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:06:19] local.INFO: TCP Data received {"connection_id":123969,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f395a73a8012d4cedc006851080006a009a30..."} 
[2026-07-07 03:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395a73a8012d4cedc006851080006a009a30..."} 
[2026-07-07 03:06:19] local.INFO: Processing buffer {"connection_id":123969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395a73a8012d4cedc006851080006a009a30..."} 
[2026-07-07 03:06:19] local.INFO: Packet analysis {"connection_id":123969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f395a"} 
[2026-07-07 03:06:19] local.INFO: Extracted packet for processing {"connection_id":123969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f395a"} 
[2026-07-07 03:06:19] local.INFO: GPS Element Parsed {"raw_longitude":760016320,"raw_latitude":109383808,"longitude_deg":76.001632,"latitude_deg":10.9383808,"altitude":106,"angle":154,"satellites":48,"speed":48,"hex_longitude":"2d4cedc0","hex_latitude":"06851080","is_valid_coordinates":true} 
[2026-07-07 03:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543654400001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340280758394421248,"note":"Value kept but may cause issues"} 
[2026-07-07 03:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539005357204944896,"note":"Value kept but may cause issues"} 
[2026-07-07 03:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783373657000,"timestamp_ms":1783373657000,"timestamp_seconds":1783373657,"priority":1,"record_length":96,"hex_timestamp":"0000019f395a73a8"} 
[2026-07-07 03:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 03:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":123969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":123969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":123969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543654400001,"66":27321,"183":206,"80":60928,"24":48,"16":340280758394421248,"45":5539005357204944896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,80,24,16,45]} 
[2026-07-07 03:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543654400001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:06:19] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-07 03:06:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340280758394421248,"km_value":340280758394421.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539005357204944896,"description":"Unknown IO ID 45"} 
[2026-07-07 03:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543654400001,"power":27321,"unknown_183":206,"unknown_80":60928,"ignition":48,"odometer":null,"unknown_45":5539005357204944896}} 
[2026-07-07 03:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":123969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:06:20] local.INFO: GPS data processed {"connection_id":123969,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:06:20] local.INFO: Acknowledgment sent {"connection_id":123969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:06:23] local.INFO: TCP Data received {"connection_id":123969,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f395a92e8012d4cfe400684f0f0006c009630..."} 
[2026-07-07 03:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395a92e8012d4cfe400684f0f0006c009630..."} 
[2026-07-07 03:06:23] local.INFO: Processing buffer {"connection_id":123969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395a92e8012d4cfe400684f0f0006c009630..."} 
[2026-07-07 03:06:23] local.INFO: Packet analysis {"connection_id":123969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f395a"} 
[2026-07-07 03:06:23] local.INFO: Extracted packet for processing {"connection_id":123969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f395a"} 
[2026-07-07 03:06:23] local.INFO: GPS Element Parsed {"raw_longitude":760020544,"raw_latitude":109375728,"longitude_deg":76.0020544,"latitude_deg":10.9375728,"altitude":108,"angle":150,"satellites":48,"speed":43,"hex_longitude":"2d4cfe40","hex_latitude":"0684f0f0","is_valid_coordinates":true} 
[2026-07-07 03: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-07-07 03:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543656192001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340281200776052736,"note":"Value kept but may cause issues"} 
[2026-07-07 03:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5543297850597736448,"note":"Value kept but may cause issues"} 
[2026-07-07 03:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783373665000,"timestamp_ms":1783373665000,"timestamp_seconds":1783373665,"priority":1,"record_length":96,"hex_timestamp":"0000019f395a92e8"} 
[2026-07-07 03:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 03:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03: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-07-07 03:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":123969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":123969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":123969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543656192001,"66":27441,"183":206,"80":60928,"24":43,"16":340281200776052736,"45":5543297850597736448},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,80,24,16,45]} 
[2026-07-07 03:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543656192001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:06:23] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-07 03:06:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340281200776052736,"km_value":340281200776052.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5543297850597736448,"description":"Unknown IO ID 45"} 
[2026-07-07 03:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543656192001,"power":27441,"unknown_183":206,"unknown_80":60928,"ignition":43,"odometer":null,"unknown_45":5543297850597736448}} 
[2026-07-07 03:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":123969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:06:23] local.INFO: GPS data processed {"connection_id":123969,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:06:23] local.INFO: Acknowledgment sent {"connection_id":123969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:07:11] local.INFO: TCP Data received {"connection_id":124082,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:07:11] local.INFO: Processing buffer {"connection_id":124082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:07:11] local.INFO: IMEI packet received {"connection_id":124082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":124082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:07:12] local.INFO: TCP Data received {"connection_id":124082,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:07:12] local.INFO: Processing buffer {"connection_id":124082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:07:12] local.INFO: IMEI packet received {"connection_id":124082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":124082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:07:14] local.INFO: TCP Data received {"connection_id":124082,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f395c1988012d4e3b4006844540007400872e..."} 
[2026-07-07 03:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395c1988012d4e3b4006844540007400872e..."} 
[2026-07-07 03:07:14] local.INFO: Processing buffer {"connection_id":124082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395c1988012d4e3b4006844540007400872e..."} 
[2026-07-07 03:07:14] local.INFO: Packet analysis {"connection_id":124082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f395c"} 
[2026-07-07 03:07:14] local.INFO: Extracted packet for processing {"connection_id":124082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f395c"} 
[2026-07-07 03:07:14] local.INFO: GPS Element Parsed {"raw_longitude":760101696,"raw_latitude":109331776,"longitude_deg":76.0101696,"latitude_deg":10.9331776,"altitude":116,"angle":135,"satellites":46,"speed":49,"hex_longitude":"2d4e3b40","hex_latitude":"06844540","is_valid_coordinates":true} 
[2026-07-07 03: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-07-07 03:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543681792001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340285792096092160,"note":"Value kept but may cause issues"} 
[2026-07-07 03:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5629006980994326528,"note":"Value kept but may cause issues"} 
[2026-07-07 03:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783373765000,"timestamp_ms":1783373765000,"timestamp_seconds":1783373765,"priority":1,"record_length":96,"hex_timestamp":"0000019f395c1988"} 
[2026-07-07 03:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:07: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-07-07 03: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-07-07 03: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-07-07 03: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-07-07 03:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543681792001,"66":27245,"217":206,"80":60928,"24":49,"16":340285792096092160,"45":5629006980994326528},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,80,24,16,45]} 
[2026-07-07 03:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543681792001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:07:14] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-07 03:07:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340285792096092160,"km_value":340285792096092.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5629006980994326528,"description":"Unknown IO ID 45"} 
[2026-07-07 03:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543681792001,"power":27245,"unknown_217":206,"unknown_80":60928,"ignition":49,"odometer":null,"unknown_45":5629006980994326528}} 
[2026-07-07 03:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":124082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:07:14] local.INFO: GPS data processed {"connection_id":124082,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:07:14] local.INFO: Acknowledgment sent {"connection_id":124082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:07:14] local.INFO: TCP Data received {"connection_id":124082,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f395c1988012d4e3b4006844540007400872e..."} 
[2026-07-07 03:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395c1988012d4e3b4006844540007400872e..."} 
[2026-07-07 03:07:14] local.INFO: Processing buffer {"connection_id":124082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395c1988012d4e3b4006844540007400872e..."} 
[2026-07-07 03:07:14] local.INFO: Packet analysis {"connection_id":124082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f395c"} 
[2026-07-07 03:07:14] local.INFO: Extracted packet for processing {"connection_id":124082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f395c"} 
[2026-07-07 03:07:14] local.INFO: GPS Element Parsed {"raw_longitude":760101696,"raw_latitude":109331776,"longitude_deg":76.0101696,"latitude_deg":10.9331776,"altitude":116,"angle":135,"satellites":46,"speed":49,"hex_longitude":"2d4e3b40","hex_latitude":"06844540","is_valid_coordinates":true} 
[2026-07-07 03: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-07-07 03:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543683840001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340285792096092160,"note":"Value kept but may cause issues"} 
[2026-07-07 03:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5637169755317420032,"note":"Value kept but may cause issues"} 
[2026-07-07 03:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783373765000,"timestamp_ms":1783373765000,"timestamp_seconds":1783373765,"priority":1,"record_length":96,"hex_timestamp":"0000019f395c1988"} 
[2026-07-07 03:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:07: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-07-07 03: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":109,"data_length":795,"current_offset":136} 
[2026-07-07 03:07: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-07-07 03: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-07-07 03:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543683840001,"66":27245,"217":206,"80":60928,"24":49,"16":340285792096092160,"45":5637169755317420032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,80,24,16,45]} 
[2026-07-07 03:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543683840001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:07:14] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-07 03:07:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340285792096092160,"km_value":340285792096092.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5637169755317420032,"description":"Unknown IO ID 45"} 
[2026-07-07 03:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543683840001,"power":27245,"unknown_217":206,"unknown_80":60928,"ignition":49,"odometer":null,"unknown_45":5637169755317420032}} 
[2026-07-07 03:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":124082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:07:14] local.INFO: GPS data processed {"connection_id":124082,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:07:14] local.INFO: Acknowledgment sent {"connection_id":124082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:08:00] local.INFO: TCP Data received {"connection_id":124083,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:08:00] local.INFO: Processing buffer {"connection_id":124083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:08:00] local.INFO: IMEI packet received {"connection_id":124083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":124083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:08:02] local.INFO: TCP Data received {"connection_id":124083,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:08:02] local.INFO: Processing buffer {"connection_id":124083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:08:02] local.INFO: IMEI packet received {"connection_id":124083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":124083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:08:05] local.INFO: TCP Data received {"connection_id":124083,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:08:05] local.INFO: Processing buffer {"connection_id":124083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:08:05] local.INFO: IMEI packet received {"connection_id":124083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":124083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:08:07] local.INFO: TCP Data received {"connection_id":124083,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f395c34e0012d4e5240068429b80073008f31..."} 
[2026-07-07 03:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395c34e0012d4e5240068429b80073008f31..."} 
[2026-07-07 03:08:07] local.INFO: Processing buffer {"connection_id":124083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395c34e0012d4e5240068429b80073008f31..."} 
[2026-07-07 03:08:07] local.INFO: Packet analysis {"connection_id":124083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f395c"} 
[2026-07-07 03:08:07] local.INFO: Extracted packet for processing {"connection_id":124083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f395c"} 
[2026-07-07 03:08:07] local.INFO: GPS Element Parsed {"raw_longitude":760107584,"raw_latitude":109324728,"longitude_deg":76.0107584,"latitude_deg":10.9324728,"altitude":115,"angle":143,"satellites":49,"speed":53,"hex_longitude":"2d4e5240","hex_latitude":"068429b8","is_valid_coordinates":true} 
[2026-07-07 03:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543683840001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340286230182756352,"note":"Value kept but may cause issues"} 
[2026-07-07 03:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5637169755317420032,"note":"Value kept but may cause issues"} 
[2026-07-07 03:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783373772000,"timestamp_ms":1783373772000,"timestamp_seconds":1783373772,"priority":1,"record_length":96,"hex_timestamp":"0000019f395c34e0"} 
[2026-07-07 03:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 03:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543683840001,"66":27245,"217":206,"80":60928,"24":53,"16":340286230182756352,"45":5637169755317420032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,80,24,16,45]} 
[2026-07-07 03:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543683840001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:08:07] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-07 03:08:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340286230182756352,"km_value":340286230182756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5637169755317420032,"description":"Unknown IO ID 45"} 
[2026-07-07 03:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543683840001,"power":27245,"unknown_217":206,"unknown_80":60928,"ignition":53,"odometer":null,"unknown_45":5637169755317420032}} 
[2026-07-07 03:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":124083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:08:07] local.INFO: GPS data processed {"connection_id":124083,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:08:07] local.INFO: Acknowledgment sent {"connection_id":124083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:08:39] local.INFO: TCP Data received {"connection_id":124083,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f395c5038012d4e68c006840b100070009030..."} 
[2026-07-07 03:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395c5038012d4e68c006840b100070009030..."} 
[2026-07-07 03:08:39] local.INFO: Processing buffer {"connection_id":124083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395c5038012d4e68c006840b100070009030..."} 
[2026-07-07 03:08:39] local.INFO: Packet analysis {"connection_id":124083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f395c"} 
[2026-07-07 03:08:39] local.INFO: Extracted packet for processing {"connection_id":124083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f395c"} 
[2026-07-07 03:08:39] local.INFO: GPS Element Parsed {"raw_longitude":760113344,"raw_latitude":109316880,"longitude_deg":76.0113344,"latitude_deg":10.931688,"altitude":112,"angle":144,"satellites":48,"speed":56,"hex_longitude":"2d4e68c0","hex_latitude":"06840b10","is_valid_coordinates":true} 
[2026-07-07 03:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543685632001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340286702629158912,"note":"Value kept but may cause issues"} 
[2026-07-07 03:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5643643679779960832,"note":"Value kept but may cause issues"} 
[2026-07-07 03:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783373779000,"timestamp_ms":1783373779000,"timestamp_seconds":1783373779,"priority":1,"record_length":96,"hex_timestamp":"0000019f395c5038"} 
[2026-07-07 03:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:08: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-07-07 03:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 03:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543685632001,"66":27300,"217":206,"80":60928,"24":56,"16":340286702629158912,"45":5643643679779960832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,80,24,16,45]} 
[2026-07-07 03:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543685632001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:08:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-07 03:08:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340286702629158912,"km_value":340286702629158.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5643643679779960832,"description":"Unknown IO ID 45"} 
[2026-07-07 03:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543685632001,"power":27300,"unknown_217":206,"unknown_80":60928,"ignition":56,"odometer":null,"unknown_45":5643643679779960832}} 
[2026-07-07 03:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":124083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:08:39] local.INFO: GPS data processed {"connection_id":124083,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:08:39] local.INFO: Acknowledgment sent {"connection_id":124083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:09:00] local.INFO: TCP Data received {"connection_id":125989,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:09:00] local.INFO: Processing buffer {"connection_id":125989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:09:00] local.INFO: IMEI packet received {"connection_id":125989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":125989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:09:05] local.INFO: TCP Data received {"connection_id":125989,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:09:05] local.INFO: Processing buffer {"connection_id":125989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:09:05] local.INFO: IMEI packet received {"connection_id":125989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":125989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:09:06] local.INFO: TCP Data received {"connection_id":125989,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f395dbf68012d4f93800683b570007f00632f..."} 
[2026-07-07 03:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395dbf68012d4f93800683b570007f00632f..."} 
[2026-07-07 03:09:06] local.INFO: Processing buffer {"connection_id":125989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395dbf68012d4f93800683b570007f00632f..."} 
[2026-07-07 03:09:06] local.INFO: Packet analysis {"connection_id":125989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f395d"} 
[2026-07-07 03:09:06] local.INFO: Extracted packet for processing {"connection_id":125989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f395d"} 
[2026-07-07 03:09:06] local.INFO: GPS Element Parsed {"raw_longitude":760189824,"raw_latitude":109294960,"longitude_deg":76.0189824,"latitude_deg":10.929496,"altitude":127,"angle":99,"satellites":47,"speed":25,"hex_longitude":"2d4f9380","hex_latitude":"0683b570","is_valid_coordinates":true} 
[2026-07-07 03:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543707648001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340290619639332864,"note":"Value kept but may cause issues"} 
[2026-07-07 03:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5723582573158508544,"note":"Value kept but may cause issues"} 
[2026-07-07 03:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783373873000,"timestamp_ms":1783373873000,"timestamp_seconds":1783373873,"priority":1,"record_length":96,"hex_timestamp":"0000019f395dbf68"} 
[2026-07-07 03:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:09: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-07-07 03:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 03:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543707648001,"66":27234,"49":206,"80":60928,"24":25,"16":340290619639332864,"45":5723582573158508544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-07 03:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543707648001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:09:06] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 03:09:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340290619639332864,"km_value":340290619639332.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5723582573158508544,"description":"Unknown IO ID 45"} 
[2026-07-07 03:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543707648001,"power":27234,"unknown_49":206,"unknown_80":60928,"ignition":25,"odometer":null,"unknown_45":5723582573158508544}} 
[2026-07-07 03:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":125989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:09:06] local.INFO: GPS data processed {"connection_id":125989,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:09:06] local.INFO: Acknowledgment sent {"connection_id":125989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:09:38] local.INFO: TCP Data received {"connection_id":125989,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f395df618012d4fb8800683af980081006331..."} 
[2026-07-07 03:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395df618012d4fb8800683af980081006331..."} 
[2026-07-07 03:09:38] local.INFO: Processing buffer {"connection_id":125989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395df618012d4fb8800683af980081006331..."} 
[2026-07-07 03:09:38] local.INFO: Packet analysis {"connection_id":125989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f395d"} 
[2026-07-07 03:09:38] local.INFO: Extracted packet for processing {"connection_id":125989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f395d"} 
[2026-07-07 03:09:38] local.INFO: GPS Element Parsed {"raw_longitude":760199296,"raw_latitude":109293464,"longitude_deg":76.0199296,"latitude_deg":10.9293464,"altitude":129,"angle":99,"satellites":49,"speed":28,"hex_longitude":"2d4fb880","hex_latitude":"0683af98","is_valid_coordinates":true} 
[2026-07-07 03:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543711488001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340291074905866240,"note":"Value kept but may cause issues"} 
[2026-07-07 03:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5734067516040638464,"note":"Value kept but may cause issues"} 
[2026-07-07 03:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783373887000,"timestamp_ms":1783373887000,"timestamp_seconds":1783373887,"priority":1,"record_length":96,"hex_timestamp":"0000019f395df618"} 
[2026-07-07 03:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03: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-07-07 03:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 03:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543711488001,"66":27310,"49":206,"80":60928,"24":28,"16":340291074905866240,"45":5734067516040638464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-07 03:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543711488001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:09:38] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 03:09:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340291074905866240,"km_value":340291074905866.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5734067516040638464,"description":"Unknown IO ID 45"} 
[2026-07-07 03:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543711488001,"power":27310,"unknown_49":206,"unknown_80":60928,"ignition":28,"odometer":null,"unknown_45":5734067516040638464}} 
[2026-07-07 03:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":125989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:09:38] local.INFO: GPS data processed {"connection_id":125989,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:09:38] local.INFO: Acknowledgment sent {"connection_id":125989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:10:04] local.INFO: TCP Data received {"connection_id":124742,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:10:04] local.INFO: Processing buffer {"connection_id":124742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:10:04] local.INFO: IMEI packet received {"connection_id":124742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":124742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:10:05] local.INFO: TCP Data received {"connection_id":124742,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:10:05] local.INFO: Processing buffer {"connection_id":124742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:10:05] local.INFO: IMEI packet received {"connection_id":124742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":124742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:10:20] local.INFO: TCP Data received {"connection_id":124742,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:10:20] local.INFO: Processing buffer {"connection_id":124742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:10:20] local.INFO: IMEI packet received {"connection_id":124742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":124742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:10:21] local.INFO: TCP Data received {"connection_id":124742,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f395e28e0012d4fde000683a9f8008500612e..."} 
[2026-07-07 03:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395e28e0012d4fde000683a9f8008500612e..."} 
[2026-07-07 03:10:21] local.INFO: Processing buffer {"connection_id":124742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395e28e0012d4fde000683a9f8008500612e..."} 
[2026-07-07 03:10:21] local.INFO: Packet analysis {"connection_id":124742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f395e"} 
[2026-07-07 03:10:21] local.INFO: Extracted packet for processing {"connection_id":124742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f395e"} 
[2026-07-07 03:10:21] local.INFO: GPS Element Parsed {"raw_longitude":760208896,"raw_latitude":109292024,"longitude_deg":76.0208896,"latitude_deg":10.9292024,"altitude":133,"angle":97,"satellites":46,"speed":29,"hex_longitude":"2d4fde00","hex_latitude":"0683a9f8","is_valid_coordinates":true} 
[2026-07-07 03: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-07-07 03:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543715072001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340291538762334208,"note":"Value kept but may cause issues"} 
[2026-07-07 03:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5744482090178549760,"note":"Value kept but may cause issues"} 
[2026-07-07 03:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783373900000,"timestamp_ms":1783373900000,"timestamp_seconds":1783373900,"priority":1,"record_length":96,"hex_timestamp":"0000019f395e28e0"} 
[2026-07-07 03:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:10: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-07-07 03:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-07 03:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03: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-07-07 03:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543715072001,"66":27267,"49":206,"80":60928,"24":29,"16":340291538762334208,"45":5744482090178549760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-07 03:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543715072001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:10:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 03:10:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340291538762334208,"km_value":340291538762334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5744482090178549760,"description":"Unknown IO ID 45"} 
[2026-07-07 03:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543715072001,"power":27267,"unknown_49":206,"unknown_80":60928,"ignition":29,"odometer":null,"unknown_45":5744482090178549760}} 
[2026-07-07 03:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":124742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:10:21] local.INFO: GPS data processed {"connection_id":124742,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:10:21] local.INFO: Acknowledgment sent {"connection_id":124742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:10:22] local.INFO: TCP Data received {"connection_id":124742,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f395e5f90012d5002400683a4a8008800632d..."} 
[2026-07-07 03:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395e5f90012d5002400683a4a8008800632d..."} 
[2026-07-07 03:10:22] local.INFO: Processing buffer {"connection_id":124742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395e5f90012d5002400683a4a8008800632d..."} 
[2026-07-07 03:10:22] local.INFO: Packet analysis {"connection_id":124742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f395e"} 
[2026-07-07 03:10:22] local.INFO: Extracted packet for processing {"connection_id":124742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f395e"} 
[2026-07-07 03:10:22] local.INFO: GPS Element Parsed {"raw_longitude":760218176,"raw_latitude":109290664,"longitude_deg":76.0218176,"latitude_deg":10.9290664,"altitude":136,"angle":99,"satellites":45,"speed":25,"hex_longitude":"2d500240","hex_latitude":"0683a4a8","is_valid_coordinates":true} 
[2026-07-07 03:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543718400001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340291985438932992,"note":"Value kept but may cause issues"} 
[2026-07-07 03:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5755037401804830720,"note":"Value kept but may cause issues"} 
[2026-07-07 03:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783373914000,"timestamp_ms":1783373914000,"timestamp_seconds":1783373914,"priority":1,"record_length":96,"hex_timestamp":"0000019f395e5f90"} 
[2026-07-07 03:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 03:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543718400001,"66":27300,"49":206,"80":60928,"24":25,"16":340291985438932992,"45":5755037401804830720},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-07 03:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543718400001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:10:22] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 03:10:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340291985438932992,"km_value":340291985438933.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5755037401804830720,"description":"Unknown IO ID 45"} 
[2026-07-07 03:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543718400001,"power":27300,"unknown_49":206,"unknown_80":60928,"ignition":25,"odometer":null,"unknown_45":5755037401804830720}} 
[2026-07-07 03:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":124742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:10:22] local.INFO: GPS data processed {"connection_id":124742,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:10:22] local.INFO: Acknowledgment sent {"connection_id":124742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:11:00] local.INFO: TCP Data received {"connection_id":123972,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:11:00] local.INFO: Processing buffer {"connection_id":123972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:11:00] local.INFO: IMEI packet received {"connection_id":123972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":123972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:11:05] local.INFO: TCP Data received {"connection_id":123972,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:11:05] local.INFO: Processing buffer {"connection_id":123972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:11:05] local.INFO: IMEI packet received {"connection_id":123972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":123972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:11:07] local.INFO: TCP Data received {"connection_id":123972,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f395e9640012d50270006839f60008a006130..."} 
[2026-07-07 03:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395e9640012d50270006839f60008a006130..."} 
[2026-07-07 03:11:07] local.INFO: Processing buffer {"connection_id":123972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395e9640012d50270006839f60008a006130..."} 
[2026-07-07 03:11:07] local.INFO: Packet analysis {"connection_id":123972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f395e"} 
[2026-07-07 03:11:07] local.INFO: Extracted packet for processing {"connection_id":123972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f395e"} 
[2026-07-07 03:11:07] local.INFO: GPS Element Parsed {"raw_longitude":760227584,"raw_latitude":109289312,"longitude_deg":76.0227584,"latitude_deg":10.9289312,"altitude":138,"angle":97,"satellites":48,"speed":28,"hex_longitude":"2d502700","hex_latitude":"06839f60","is_valid_coordinates":true} 
[2026-07-07 03:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543721984001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340292436410499072,"note":"Value kept but may cause issues"} 
[2026-07-07 03:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5765240869710243840,"note":"Value kept but may cause issues"} 
[2026-07-07 03:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783373928000,"timestamp_ms":1783373928000,"timestamp_seconds":1783373928,"priority":1,"record_length":96,"hex_timestamp":"0000019f395e9640"} 
[2026-07-07 03:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 03:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":123972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":123972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":123972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543721984001,"66":27300,"49":206,"80":60928,"24":28,"16":340292436410499072,"45":5765240869710243840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-07 03:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543721984001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:11:07] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 03:11:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340292436410499072,"km_value":340292436410499.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5765240869710243840,"description":"Unknown IO ID 45"} 
[2026-07-07 03:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543721984001,"power":27300,"unknown_49":206,"unknown_80":60928,"ignition":28,"odometer":null,"unknown_45":5765240869710243840}} 
[2026-07-07 03:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":123972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:11:07] local.INFO: GPS data processed {"connection_id":123972,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:11:07] local.INFO: Acknowledgment sent {"connection_id":123972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:11:38] local.INFO: TCP Data received {"connection_id":123972,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f395ec520012d504a80068399f0008c006131..."} 
[2026-07-07 03:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395ec520012d504a80068399f0008c006131..."} 
[2026-07-07 03:11:38] local.INFO: Processing buffer {"connection_id":123972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395ec520012d504a80068399f0008c006131..."} 
[2026-07-07 03:11:38] local.INFO: Packet analysis {"connection_id":123972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f395e"} 
[2026-07-07 03:11:38] local.INFO: Extracted packet for processing {"connection_id":123972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f395e"} 
[2026-07-07 03:11:38] local.INFO: GPS Element Parsed {"raw_longitude":760236672,"raw_latitude":109287920,"longitude_deg":76.0236672,"latitude_deg":10.928792,"altitude":140,"angle":97,"satellites":49,"speed":31,"hex_longitude":"2d504a80","hex_latitude":"068399f0","is_valid_coordinates":true} 
[2026-07-07 03:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543725568001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340292874497163264,"note":"Value kept but may cause issues"} 
[2026-07-07 03:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5775585075104014336,"note":"Value kept but may cause issues"} 
[2026-07-07 03:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783373940000,"timestamp_ms":1783373940000,"timestamp_seconds":1783373940,"priority":1,"record_length":96,"hex_timestamp":"0000019f395ec520"} 
[2026-07-07 03:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 03:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":123972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":123972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":123972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543725568001,"66":27365,"49":206,"80":60928,"24":31,"16":340292874497163264,"45":5775585075104014336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-07 03:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543725568001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:11:38] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 03:11:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340292874497163264,"km_value":340292874497163.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5775585075104014336,"description":"Unknown IO ID 45"} 
[2026-07-07 03:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543725568001,"power":27365,"unknown_49":206,"unknown_80":60928,"ignition":31,"odometer":null,"unknown_45":5775585075104014336}} 
[2026-07-07 03:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":123972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:11:38] local.INFO: GPS data processed {"connection_id":123972,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:11:38] local.INFO: Acknowledgment sent {"connection_id":123972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:11:40] local.INFO: TCP Data received {"connection_id":123971,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123971,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:11:40] local.INFO: Processing buffer {"connection_id":123971,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:11:40] local.INFO: IMEI packet received {"connection_id":123971,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 03:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":123971,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:12:00] local.INFO: TCP Data received {"connection_id":124085,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:12:00] local.INFO: TCP Data received {"connection_id":124743,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:12:00] local.INFO: Processing buffer {"connection_id":124085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:12:00] local.INFO: IMEI packet received {"connection_id":124085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":124085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:12:00] local.INFO: Processing buffer {"connection_id":124743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:12:00] local.INFO: IMEI packet received {"connection_id":124743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 03:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":124743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:12:05] local.INFO: TCP Data received {"connection_id":124085,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:12:05] local.INFO: Processing buffer {"connection_id":124085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:12:05] local.INFO: IMEI packet received {"connection_id":124085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":124085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:12:06] local.INFO: TCP Data received {"connection_id":124085,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f395ef400012d506e00068394d8008c006130..."} 
[2026-07-07 03:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f395ef400012d506e00068394d8008c006130..."} 
[2026-07-07 03:12:06] local.INFO: Processing buffer {"connection_id":124085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f395ef400012d506e00068394d8008c006130..."} 
[2026-07-07 03:12:06] local.INFO: Packet analysis {"connection_id":124085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f395e"} 
[2026-07-07 03:12:06] local.INFO: Extracted packet for processing {"connection_id":124085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f395e"} 
[2026-07-07 03:12:06] local.INFO: GPS Element Parsed {"raw_longitude":760245760,"raw_latitude":109286616,"longitude_deg":76.024576,"latitude_deg":10.9286616,"altitude":140,"angle":97,"satellites":48,"speed":29,"hex_longitude":"2d506e00","hex_latitude":"068394d8","is_valid_coordinates":true} 
[2026-07-07 03:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543728640001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340293312583827456,"note":"Value kept but may cause issues"} 
[2026-07-07 03:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5785577436776886272,"note":"Value kept but may cause issues"} 
[2026-07-07 03:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783373952000,"timestamp_ms":1783373952000,"timestamp_seconds":1783373952,"priority":1,"record_length":96,"hex_timestamp":"0000019f395ef400"} 
[2026-07-07 03:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 03:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543728640001,"66":27300,"48":206,"80":60928,"24":29,"16":340293312583827456,"45":5785577436776886272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-07-07 03:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543728640001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:12:06] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-07 03:12:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340293312583827456,"km_value":340293312583827.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5785577436776886272,"description":"Unknown IO ID 45"} 
[2026-07-07 03:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543728640001,"power":27300,"unknown_48":206,"unknown_80":60928,"ignition":29,"odometer":null,"unknown_45":5785577436776886272}} 
[2026-07-07 03:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":124085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:12:06] local.INFO: GPS data processed {"connection_id":124085,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:12:06] local.INFO: Acknowledgment sent {"connection_id":124085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:12:38] local.INFO: TCP Data received {"connection_id":124085,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f39613df0012d51b6000682c4600087008129..."} 
[2026-07-07 03:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39613df0012d51b6000682c4600087008129..."} 
[2026-07-07 03:12:38] local.INFO: Processing buffer {"connection_id":124085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39613df0012d51b6000682c4600087008129..."} 
[2026-07-07 03:12:38] local.INFO: Packet analysis {"connection_id":124085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3961"} 
[2026-07-07 03:12:38] local.INFO: Extracted packet for processing {"connection_id":124085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3961"} 
[2026-07-07 03:12:38] local.INFO: GPS Element Parsed {"raw_longitude":760329728,"raw_latitude":109233248,"longitude_deg":76.0329728,"latitude_deg":10.9233248,"altitude":135,"angle":129,"satellites":41,"speed":52,"hex_longitude":"2d51b600","hex_latitude":"0682c460","is_valid_coordinates":true} 
[2026-07-07 03:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543768320001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340298260386152448,"note":"Value kept but may cause issues"} 
[2026-07-07 03:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5880434503915886592,"note":"Value kept but may cause issues"} 
[2026-07-07 03:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783374102000,"timestamp_ms":1783374102000,"timestamp_seconds":1783374102,"priority":1,"record_length":96,"hex_timestamp":"0000019f39613df0"} 
[2026-07-07 03:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 03:12: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-07-07 03:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543768320001,"66":27463,"153":206,"80":60928,"24":52,"16":340298260386152448,"45":5880434503915886592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-07-07 03:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543768320001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:12:38] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 03:12:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340298260386152448,"km_value":340298260386152.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5880434503915886592,"description":"Unknown IO ID 45"} 
[2026-07-07 03:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543768320001,"power":27463,"unknown_153":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":5880434503915886592}} 
[2026-07-07 03:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":124085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:12:38] local.INFO: GPS data processed {"connection_id":124085,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:12:38] local.INFO: Acknowledgment sent {"connection_id":124085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:13:03] local.INFO: TCP Data received {"connection_id":125990,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:13:03] local.INFO: Processing buffer {"connection_id":125990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:13:03] local.INFO: IMEI packet received {"connection_id":125990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":125990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:13:05] local.INFO: TCP Data received {"connection_id":125990,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:13:05] local.INFO: Processing buffer {"connection_id":125990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:13:05] local.INFO: IMEI packet received {"connection_id":125990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":125990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:13:10] local.INFO: TCP Data received {"connection_id":125990,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:13:10] local.INFO: Processing buffer {"connection_id":125990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:13:10] local.INFO: IMEI packet received {"connection_id":125990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":125990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:13:10] local.INFO: TCP Data received {"connection_id":125990,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f39615948012d51d3000682ae900084007c27..."} 
[2026-07-07 03:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39615948012d51d3000682ae900084007c27..."} 
[2026-07-07 03:13:11] local.INFO: Processing buffer {"connection_id":125990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39615948012d51d3000682ae900084007c27..."} 
[2026-07-07 03:13:11] local.INFO: Packet analysis {"connection_id":125990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3961"} 
[2026-07-07 03:13:11] local.INFO: Extracted packet for processing {"connection_id":125990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3961"} 
[2026-07-07 03:13:11] local.INFO: GPS Element Parsed {"raw_longitude":760337152,"raw_latitude":109227664,"longitude_deg":76.0337152,"latitude_deg":10.9227664,"altitude":132,"angle":124,"satellites":39,"speed":53,"hex_longitude":"2d51d300","hex_latitude":"0682ae90","is_valid_coordinates":true} 
[2026-07-07 03:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543770112001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340298707062751232,"note":"Value kept but may cause issues"} 
[2026-07-07 03:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5887893590797213696,"note":"Value kept but may cause issues"} 
[2026-07-07 03:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783374109000,"timestamp_ms":1783374109000,"timestamp_seconds":1783374109,"priority":1,"record_length":96,"hex_timestamp":"0000019f39615948"} 
[2026-07-07 03:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03: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-07-07 03:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 03:13: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-07-07 03:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543770112001,"66":27267,"153":206,"80":60928,"24":53,"16":340298707062751232,"45":5887893590797213696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-07-07 03:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543770112001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:13:11] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 03:13:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340298707062751232,"km_value":340298707062751.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5887893590797213696,"description":"Unknown IO ID 45"} 
[2026-07-07 03:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543770112001,"power":27267,"unknown_153":206,"unknown_80":60928,"ignition":53,"odometer":null,"unknown_45":5887893590797213696}} 
[2026-07-07 03:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":125990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:13:11] local.INFO: GPS data processed {"connection_id":125990,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:13:11] local.INFO: Acknowledgment sent {"connection_id":125990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:13:12] local.INFO: TCP Data received {"connection_id":125990,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f396174a0012d51f28006829ae8008200792a..."} 
[2026-07-07 03:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f396174a0012d51f28006829ae8008200792a..."} 
[2026-07-07 03:13:12] local.INFO: Processing buffer {"connection_id":125990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f396174a0012d51f28006829ae8008200792a..."} 
[2026-07-07 03:13:12] local.INFO: Packet analysis {"connection_id":125990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3961"} 
[2026-07-07 03:13:12] local.INFO: Extracted packet for processing {"connection_id":125990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3961"} 
[2026-07-07 03:13:12] local.INFO: GPS Element Parsed {"raw_longitude":760345216,"raw_latitude":109222632,"longitude_deg":76.0345216,"latitude_deg":10.9222632,"altitude":130,"angle":121,"satellites":42,"speed":54,"hex_longitude":"2d51f280","hex_latitude":"06829ae8","is_valid_coordinates":true} 
[2026-07-07 03: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-07-07 03:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543771904001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340299162329284608,"note":"Value kept but may cause issues"} 
[2026-07-07 03:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5896056365120393216,"note":"Value kept but may cause issues"} 
[2026-07-07 03:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783374116000,"timestamp_ms":1783374116000,"timestamp_seconds":1783374116,"priority":1,"record_length":96,"hex_timestamp":"0000019f396174a0"} 
[2026-07-07 03:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:13: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-07-07 03:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 03:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03: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-07-07 03:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543771904001,"66":27332,"63":206,"80":60928,"24":54,"16":340299162329284608,"45":5896056365120393216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,80,24,16,45]} 
[2026-07-07 03:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543771904001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:13:12] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 03:13:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340299162329284608,"km_value":340299162329284.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5896056365120393216,"description":"Unknown IO ID 45"} 
[2026-07-07 03:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543771904001,"power":27332,"unknown_63":206,"unknown_80":60928,"ignition":54,"odometer":null,"unknown_45":5896056365120393216}} 
[2026-07-07 03:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":125990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:13:12] local.INFO: GPS data processed {"connection_id":125990,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:13:12] local.INFO: Acknowledgment sent {"connection_id":125990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:13:44] local.INFO: TCP Data received {"connection_id":125990,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f39618ff8012d52130006828730008000782b..."} 
[2026-07-07 03:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39618ff8012d52130006828730008000782b..."} 
[2026-07-07 03:13:44] local.INFO: Processing buffer {"connection_id":125990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39618ff8012d52130006828730008000782b..."} 
[2026-07-07 03:13:44] local.INFO: Packet analysis {"connection_id":125990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3961"} 
[2026-07-07 03:13:44] local.INFO: Extracted packet for processing {"connection_id":125990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3961"} 
[2026-07-07 03:13:44] local.INFO: GPS Element Parsed {"raw_longitude":760353536,"raw_latitude":109217584,"longitude_deg":76.0353536,"latitude_deg":10.9217584,"altitude":128,"angle":120,"satellites":43,"speed":55,"hex_longitude":"2d521300","hex_latitude":"06828730","is_valid_coordinates":true} 
[2026-07-07 03:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543773696001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340299626185752576,"note":"Value kept but may cause issues"} 
[2026-07-07 03:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5904922826885490688,"note":"Value kept but may cause issues"} 
[2026-07-07 03:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783374123000,"timestamp_ms":1783374123000,"timestamp_seconds":1783374123,"priority":1,"record_length":96,"hex_timestamp":"0000019f39618ff8"} 
[2026-07-07 03:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03: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-07-07 03: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":196,"data_length":795,"current_offset":136} 
[2026-07-07 03:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":125990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":125990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":125990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543773696001,"66":27397,"61":206,"80":60928,"24":55,"16":340299626185752576,"45":5904922826885490688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,80,24,16,45]} 
[2026-07-07 03:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543773696001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:13:44] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-07 03:13:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340299626185752576,"km_value":340299626185752.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5904922826885490688,"description":"Unknown IO ID 45"} 
[2026-07-07 03:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543773696001,"power":27397,"unknown_61":206,"unknown_80":60928,"ignition":55,"odometer":null,"unknown_45":5904922826885490688}} 
[2026-07-07 03:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":125990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:13:44] local.INFO: GPS data processed {"connection_id":125990,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:13:44] local.INFO: Acknowledgment sent {"connection_id":125990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:14:14] local.INFO: TCP Data received {"connection_id":125991,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:14:14] local.INFO: Processing buffer {"connection_id":125991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:14:14] local.INFO: IMEI packet received {"connection_id":125991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":125991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:14:15] local.INFO: TCP Data received {"connection_id":125991,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 03:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125991,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 03:14:15] local.INFO: Processing buffer {"connection_id":125991,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 03:14:15] local.INFO: IMEI packet received {"connection_id":125991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":125991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:14:21] local.INFO: TCP Data received {"connection_id":125991,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3961ab50012d52340006827348007e007a2b..."} 
[2026-07-07 03:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3961ab50012d52340006827348007e007a2b..."} 
[2026-07-07 03:14:21] local.INFO: Processing buffer {"connection_id":125991,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f39..."} 
[2026-07-07 03:14:21] local.INFO: IMEI packet received {"connection_id":125991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":125991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:14:24] local.INFO: TCP Data received {"connection_id":125991,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3961c6a8012d52538006825e28007e007d2d..."} 
[2026-07-07 03:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3961c6a8012d52538006825e28007e007d2d..."} 
[2026-07-07 03:14:24] local.INFO: Processing buffer {"connection_id":125991,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3961ab50012d52340006827348007e007a2b..."} 
[2026-07-07 03:14:24] local.INFO: Packet analysis {"connection_id":125991,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3961"} 
[2026-07-07 03:14:24] local.INFO: Extracted packet for processing {"connection_id":125991,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3961"} 
[2026-07-07 03:14:24] local.INFO: GPS Element Parsed {"raw_longitude":760361984,"raw_latitude":109212488,"longitude_deg":76.0361984,"latitude_deg":10.9212488,"altitude":126,"angle":122,"satellites":43,"speed":55,"hex_longitude":"2d523400","hex_latitude":"06827348","is_valid_coordinates":true} 
[2026-07-07 03:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543775488001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340300098632155136,"note":"Value kept but may cause issues"} 
[2026-07-07 03:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5914070763627294720,"note":"Value kept but may cause issues"} 
[2026-07-07 03:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783374130000,"timestamp_ms":1783374130000,"timestamp_seconds":1783374130,"priority":1,"record_length":96,"hex_timestamp":"0000019f3961ab50"} 
[2026-07-07 03:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 03:14: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-07-07 03:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543775488001,"66":27484,"61":206,"80":60928,"24":55,"16":340300098632155136,"45":5914070763627294720},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,80,24,16,45]} 
[2026-07-07 03:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543775488001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:14:24] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-07 03:14:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340300098632155136,"km_value":340300098632155.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5914070763627294720,"description":"Unknown IO ID 45"} 
[2026-07-07 03:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543775488001,"power":27484,"unknown_61":206,"unknown_80":60928,"ignition":55,"odometer":null,"unknown_45":5914070763627294720}} 
[2026-07-07 03:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":125991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:14:24] local.INFO: GPS data processed {"connection_id":125991,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:14:24] local.INFO: Acknowledgment sent {"connection_id":125991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:14:24] local.INFO: Packet analysis {"connection_id":125991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3961"} 
[2026-07-07 03:14:24] local.INFO: Extracted packet for processing {"connection_id":125991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3961"} 
[2026-07-07 03:14:24] local.INFO: GPS Element Parsed {"raw_longitude":760370048,"raw_latitude":109207080,"longitude_deg":76.0370048,"latitude_deg":10.920708,"altitude":126,"angle":125,"satellites":45,"speed":52,"hex_longitude":"2d525380","hex_latitude":"06825e28","is_valid_coordinates":true} 
[2026-07-07 03:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543777280001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340300562488623104,"note":"Value kept but may cause issues"} 
[2026-07-07 03:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5923359437857441792,"note":"Value kept but may cause issues"} 
[2026-07-07 03:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783374137000,"timestamp_ms":1783374137000,"timestamp_seconds":1783374137,"priority":1,"record_length":96,"hex_timestamp":"0000019f3961c6a8"} 
[2026-07-07 03:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 03:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543777280001,"66":27343,"61":206,"80":60928,"24":52,"16":340300562488623104,"45":5923359437857441792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,80,24,16,45]} 
[2026-07-07 03:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543777280001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:14:24] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-07 03:14:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340300562488623104,"km_value":340300562488623.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5923359437857441792,"description":"Unknown IO ID 45"} 
[2026-07-07 03:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543777280001,"power":27343,"unknown_61":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":5923359437857441792}} 
[2026-07-07 03:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":125991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:14:24] local.INFO: GPS data processed {"connection_id":125991,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:14:24] local.INFO: Acknowledgment sent {"connection_id":125991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:14:25] local.INFO: TCP Data received {"connection_id":125991,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3961e5e8012d527280068246f8008000812d..."} 
[2026-07-07 03:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3961e5e8012d527280068246f8008000812d..."} 
[2026-07-07 03:14:25] local.INFO: Processing buffer {"connection_id":125991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3961e5e8012d527280068246f8008000812d..."} 
[2026-07-07 03:14:25] local.INFO: Packet analysis {"connection_id":125991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3961"} 
[2026-07-07 03:14:25] local.INFO: Extracted packet for processing {"connection_id":125991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3961"} 
[2026-07-07 03:14:25] local.INFO: GPS Element Parsed {"raw_longitude":760377984,"raw_latitude":109201144,"longitude_deg":76.0377984,"latitude_deg":10.9201144,"altitude":128,"angle":129,"satellites":45,"speed":44,"hex_longitude":"2d527280","hex_latitude":"068246f8","is_valid_coordinates":true} 
[2026-07-07 03:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543779072001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340301039229992960,"note":"Value kept but may cause issues"} 
[2026-07-07 03:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5932225899622443008,"note":"Value kept but may cause issues"} 
[2026-07-07 03:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783374145000,"timestamp_ms":1783374145000,"timestamp_seconds":1783374145,"priority":1,"record_length":96,"hex_timestamp":"0000019f3961e5e8"} 
[2026-07-07 03:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 03:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543779072001,"66":27365,"61":206,"80":60928,"24":44,"16":340301039229992960,"45":5932225899622443008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,80,24,16,45]} 
[2026-07-07 03:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543779072001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:14:25] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-07 03:14:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340301039229992960,"km_value":340301039229992.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5932225899622443008,"description":"Unknown IO ID 45"} 
[2026-07-07 03:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543779072001,"power":27365,"unknown_61":206,"unknown_80":60928,"ignition":44,"odometer":null,"unknown_45":5932225899622443008}} 
[2026-07-07 03:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":125991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:14:25] local.INFO: GPS data processed {"connection_id":125991,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:14:25] local.INFO: Acknowledgment sent {"connection_id":125991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:15:05] local.INFO: TCP Data received {"connection_id":124087,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:15:05] local.INFO: Processing buffer {"connection_id":124087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:15:05] local.INFO: IMEI packet received {"connection_id":124087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":124087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:15:06] local.INFO: TCP Data received {"connection_id":124087,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:15:06] local.INFO: Processing buffer {"connection_id":124087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:15:06] local.INFO: IMEI packet received {"connection_id":124087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":124087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:15:10] local.INFO: TCP Data received {"connection_id":124087,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:15:10] local.INFO: Processing buffer {"connection_id":124087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:15:10] local.INFO: IMEI packet received {"connection_id":124087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":124087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:15:11] local.INFO: TCP Data received {"connection_id":124087,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f39635ce8012d539ec006813458007700852c..."} 
[2026-07-07 03:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39635ce8012d539ec006813458007700852c..."} 
[2026-07-07 03:15:11] local.INFO: Processing buffer {"connection_id":124087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39635ce8012d539ec006813458007700852c..."} 
[2026-07-07 03:15:11] local.INFO: Packet analysis {"connection_id":124087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3963"} 
[2026-07-07 03:15:11] local.INFO: Extracted packet for processing {"connection_id":124087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3963"} 
[2026-07-07 03:15:11] local.INFO: GPS Element Parsed {"raw_longitude":760454848,"raw_latitude":109130840,"longitude_deg":76.0454848,"latitude_deg":10.913084,"altitude":119,"angle":133,"satellites":44,"speed":57,"hex_longitude":"2d539ec0","hex_latitude":"06813458","is_valid_coordinates":true} 
[2026-07-07 03:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543803904001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340306038571925504,"note":"Value kept but may cause issues"} 
[2026-07-07 03:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6017442448803809280,"note":"Value kept but may cause issues"} 
[2026-07-07 03:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783374241000,"timestamp_ms":1783374241000,"timestamp_seconds":1783374241,"priority":1,"record_length":96,"hex_timestamp":"0000019f39635ce8"} 
[2026-07-07 03:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:15: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-07-07 03:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 03:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543803904001,"66":27343,"115":206,"80":60928,"24":57,"16":340306038571925504,"45":6017442448803809280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,80,24,16,45]} 
[2026-07-07 03:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543803904001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:15:11] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 03:15:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340306038571925504,"km_value":340306038571925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6017442448803809280,"description":"Unknown IO ID 45"} 
[2026-07-07 03:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543803904001,"power":27343,"unknown_115":206,"unknown_80":60928,"ignition":57,"odometer":null,"unknown_45":6017442448803809280}} 
[2026-07-07 03:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":124087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:15:11] local.INFO: GPS data processed {"connection_id":124087,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:15:11] local.INFO: Acknowledgment sent {"connection_id":124087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:15:41] local.INFO: TCP Data received {"connection_id":124087,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f39637840012d53bb8006811908007200852b..."} 
[2026-07-07 03:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39637840012d53bb8006811908007200852b..."} 
[2026-07-07 03:15:41] local.INFO: Processing buffer {"connection_id":124087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39637840012d53bb8006811908007200852b..."} 
[2026-07-07 03:15:41] local.INFO: Packet analysis {"connection_id":124087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3963"} 
[2026-07-07 03:15:41] local.INFO: Extracted packet for processing {"connection_id":124087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3963"} 
[2026-07-07 03:15:41] local.INFO: GPS Element Parsed {"raw_longitude":760462208,"raw_latitude":109123848,"longitude_deg":76.0462208,"latitude_deg":10.9123848,"altitude":114,"angle":133,"satellites":43,"speed":57,"hex_longitude":"2d53bb80","hex_latitude":"06811908","is_valid_coordinates":true} 
[2026-07-07 03:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543805696001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340306528198197248,"note":"Value kept but may cause issues"} 
[2026-07-07 03:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6025464485638330368,"note":"Value kept but may cause issues"} 
[2026-07-07 03:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783374248000,"timestamp_ms":1783374248000,"timestamp_seconds":1783374248,"priority":1,"record_length":96,"hex_timestamp":"0000019f39637840"} 
[2026-07-07 03:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 03:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543805696001,"66":27332,"115":206,"80":60928,"24":57,"16":340306528198197248,"45":6025464485638330368},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,80,24,16,45]} 
[2026-07-07 03:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543805696001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:15:41] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 03:15:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340306528198197248,"km_value":340306528198197.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6025464485638330368,"description":"Unknown IO ID 45"} 
[2026-07-07 03:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543805696001,"power":27332,"unknown_115":206,"unknown_80":60928,"ignition":57,"odometer":null,"unknown_45":6025464485638330368}} 
[2026-07-07 03:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":124087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:15:41] local.INFO: GPS data processed {"connection_id":124087,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:15:41] local.INFO: Acknowledgment sent {"connection_id":124087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:15:59] local.INFO: TCP Data received {"connection_id":123973,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:15:59] local.INFO: Processing buffer {"connection_id":123973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:15:59] local.INFO: IMEI packet received {"connection_id":123973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":123973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:16:00] local.INFO: TCP Data received {"connection_id":123973,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:16:00] local.INFO: Processing buffer {"connection_id":123973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:16:00] local.INFO: IMEI packet received {"connection_id":123973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":123973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:16:04] local.INFO: TCP Data received {"connection_id":123973,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:16:04] local.INFO: Processing buffer {"connection_id":123973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:16:04] local.INFO: IMEI packet received {"connection_id":123973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":123973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:16:05] local.INFO: TCP Data received {"connection_id":123973,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f39647df8012d54bc8006800fe0004200972e..."} 
[2026-07-07 03:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39647df8012d54bc8006800fe0004200972e..."} 
[2026-07-07 03:16:05] local.INFO: Processing buffer {"connection_id":123973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39647df8012d54bc8006800fe0004200972e..."} 
[2026-07-07 03:16:05] local.INFO: Packet analysis {"connection_id":123973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3964"} 
[2026-07-07 03:16:05] local.INFO: Extracted packet for processing {"connection_id":123973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3964"} 
[2026-07-07 03:16:05] local.INFO: GPS Element Parsed {"raw_longitude":760528000,"raw_latitude":109055968,"longitude_deg":76.0528,"latitude_deg":10.9055968,"altitude":66,"angle":151,"satellites":46,"speed":68,"hex_longitude":"2d54bc80","hex_latitude":"06800fe0","is_valid_coordinates":true} 
[2026-07-07 03:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543823104001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340311132403138560,"note":"Value kept but may cause issues"} 
[2026-07-07 03:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6100618304403142656,"note":"Value kept but may cause issues"} 
[2026-07-07 03:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783374315000,"timestamp_ms":1783374315000,"timestamp_seconds":1783374315,"priority":1,"record_length":96,"hex_timestamp":"0000019f39647df8"} 
[2026-07-07 03:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 03:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":123973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":123973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":123973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543823104001,"66":27463,"229":206,"80":60928,"24":68,"16":340311132403138560,"45":6100618304403142656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-07-07 03:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543823104001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:16:05] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-07 03:16:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340311132403138560,"km_value":340311132403138.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6100618304403142656,"description":"Unknown IO ID 45"} 
[2026-07-07 03:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543823104001,"power":27463,"unknown_229":206,"unknown_80":60928,"ignition":68,"odometer":null,"unknown_45":6100618304403142656}} 
[2026-07-07 03:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":123973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:16:05] local.INFO: GPS data processed {"connection_id":123973,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:16:05] local.INFO: Acknowledgment sent {"connection_id":123973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:16:38] local.INFO: TCP Data received {"connection_id":123973,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f39649568012d54d000067fec10003d00972e..."} 
[2026-07-07 03:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39649568012d54d000067fec10003d00972e..."} 
[2026-07-07 03:16:38] local.INFO: Processing buffer {"connection_id":123973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39649568012d54d000067fec10003d00972e..."} 
[2026-07-07 03:16:38] local.INFO: Packet analysis {"connection_id":123973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3964"} 
[2026-07-07 03:16:38] local.INFO: Extracted packet for processing {"connection_id":123973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3964"} 
[2026-07-07 03:16:38] local.INFO: GPS Element Parsed {"raw_longitude":760532992,"raw_latitude":109046800,"longitude_deg":76.0532992,"latitude_deg":10.90468,"altitude":61,"angle":151,"satellites":46,"speed":70,"hex_longitude":"2d54d000","hex_latitude":"067fec10","is_valid_coordinates":true} 
[2026-07-07 03:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543824640001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340311634914312192,"note":"Value kept but may cause issues"} 
[2026-07-07 03:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6105895960214233088,"note":"Value kept but may cause issues"} 
[2026-07-07 03:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783374321000,"timestamp_ms":1783374321000,"timestamp_seconds":1783374321,"priority":1,"record_length":96,"hex_timestamp":"0000019f39649568"} 
[2026-07-07 03:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:16: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-07-07 03:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 03:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":123973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":123973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":123973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543824640001,"66":27484,"229":206,"80":60928,"24":70,"16":340311634914312192,"45":6105895960214233088},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-07-07 03:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543824640001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:16:38] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-07 03:16:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340311634914312192,"km_value":340311634914312.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6105895960214233088,"description":"Unknown IO ID 45"} 
[2026-07-07 03:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543824640001,"power":27484,"unknown_229":206,"unknown_80":60928,"ignition":70,"odometer":null,"unknown_45":6105895960214233088}} 
[2026-07-07 03:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":123973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:16:38] local.INFO: GPS data processed {"connection_id":123973,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:16:38] local.INFO: Acknowledgment sent {"connection_id":123973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:17:00] local.INFO: TCP Data received {"connection_id":123974,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:17:00] local.INFO: Processing buffer {"connection_id":123974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:17:00] local.INFO: IMEI packet received {"connection_id":123974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":123974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:17:01] local.INFO: TCP Data received {"connection_id":123974,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:17:01] local.INFO: Processing buffer {"connection_id":123974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:17:01] local.INFO: IMEI packet received {"connection_id":123974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":123974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:17:10] local.INFO: TCP Data received {"connection_id":123974,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:17:10] local.INFO: Processing buffer {"connection_id":123974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:17:10] local.INFO: IMEI packet received {"connection_id":123974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":123974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:17:11] local.INFO: TCP Data received {"connection_id":123974,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3964a8f0012d54e100067fcd60003900972d..."} 
[2026-07-07 03:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3964a8f0012d54e100067fcd60003900972d..."} 
[2026-07-07 03:17:11] local.INFO: Processing buffer {"connection_id":123974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3964a8f0012d54e100067fcd60003900972d..."} 
[2026-07-07 03:17:11] local.INFO: Packet analysis {"connection_id":123974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3964"} 
[2026-07-07 03:17:11] local.INFO: Extracted packet for processing {"connection_id":123974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3964"} 
[2026-07-07 03:17:11] local.INFO: GPS Element Parsed {"raw_longitude":760537344,"raw_latitude":109038944,"longitude_deg":76.0537344,"latitude_deg":10.9038944,"altitude":57,"angle":151,"satellites":45,"speed":71,"hex_longitude":"2d54e100","hex_latitude":"067fcd60","is_valid_coordinates":true} 
[2026-07-07 03:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543826176001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340312068706009088,"note":"Value kept but may cause issues"} 
[2026-07-07 03:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6111384722257743872,"note":"Value kept but may cause issues"} 
[2026-07-07 03:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783374326000,"timestamp_ms":1783374326000,"timestamp_seconds":1783374326,"priority":1,"record_length":96,"hex_timestamp":"0000019f3964a8f0"} 
[2026-07-07 03:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:17: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-07-07 03:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 03:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543826176001,"66":27539,"229":206,"80":60928,"24":71,"16":340312068706009088,"45":6111384722257743872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-07-07 03:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543826176001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:17:11] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-07 03:17:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340312068706009088,"km_value":340312068706009.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6111384722257743872,"description":"Unknown IO ID 45"} 
[2026-07-07 03:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543826176001,"power":27539,"unknown_229":206,"unknown_80":60928,"ignition":71,"odometer":null,"unknown_45":6111384722257743872}} 
[2026-07-07 03:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":123974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:17:11] local.INFO: GPS data processed {"connection_id":123974,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:17:11] local.INFO: Acknowledgment sent {"connection_id":123974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:17:25] local.INFO: TCP Data received {"connection_id":125993,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:17:25] local.INFO: Processing buffer {"connection_id":125993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:17:25] local.INFO: IMEI packet received {"connection_id":125993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 03:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":125993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:17:46] local.INFO: TCP Data received {"connection_id":123974,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3965e558012d55a840067dde480014009a2e..."} 
[2026-07-07 03:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3965e558012d55a840067dde480014009a2e..."} 
[2026-07-07 03:17:46] local.INFO: Processing buffer {"connection_id":123974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3965e558012d55a840067dde480014009a2e..."} 
[2026-07-07 03:17:46] local.INFO: Packet analysis {"connection_id":123974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3965"} 
[2026-07-07 03:17:46] local.INFO: Extracted packet for processing {"connection_id":123974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3965"} 
[2026-07-07 03:17:46] local.INFO: GPS Element Parsed {"raw_longitude":760588352,"raw_latitude":108912200,"longitude_deg":76.0588352,"latitude_deg":10.89122,"altitude":20,"angle":154,"satellites":46,"speed":64,"hex_longitude":"2d55a840","hex_latitude":"067dde48","is_valid_coordinates":true} 
[2026-07-07 03: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-07-07 03:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543846656001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340318725905317888,"note":"Value kept but may cause issues"} 
[2026-07-07 03:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6167750086311852032,"note":"Value kept but may cause issues"} 
[2026-07-07 03:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783374407000,"timestamp_ms":1783374407000,"timestamp_seconds":1783374407,"priority":1,"record_length":96,"hex_timestamp":"0000019f3965e558"} 
[2026-07-07 03:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 03:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03: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-07-07 03:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":123974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":123974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":123974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543846656001,"66":27397,"109":206,"80":60928,"24":64,"16":340318725905317888,"45":6167750086311852032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 03:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543846656001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:17:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 03:17:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340318725905317888,"km_value":340318725905317.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":6167750086311852032,"description":"Unknown IO ID 45"} 
[2026-07-07 03:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543846656001,"power":27397,"unknown_109":206,"unknown_80":60928,"ignition":64,"odometer":null,"unknown_45":6167750086311852032}} 
[2026-07-07 03:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":123974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:17:46] local.INFO: GPS data processed {"connection_id":123974,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:17:46] local.INFO: Acknowledgment sent {"connection_id":123974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:18:00] local.INFO: TCP Data received {"connection_id":123975,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:18:00] local.INFO: Processing buffer {"connection_id":123975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:18:00] local.INFO: IMEI packet received {"connection_id":123975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 03:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":123975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:18:05] local.INFO: TCP Data received {"connection_id":125994,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:18:05] local.INFO: Processing buffer {"connection_id":125994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:18:05] local.INFO: IMEI packet received {"connection_id":125994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":125994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:18:10] local.INFO: TCP Data received {"connection_id":125994,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:18:10] local.INFO: Processing buffer {"connection_id":125994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:18:10] local.INFO: IMEI packet received {"connection_id":125994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":125994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:18:12] local.INFO: TCP Data received {"connection_id":125994,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3965fcc8012d55ba00067dbd18001300962e..."} 
[2026-07-07 03:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3965fcc8012d55ba00067dbd18001300962e..."} 
[2026-07-07 03:18:12] local.INFO: Processing buffer {"connection_id":125994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3965fcc8012d55ba00067dbd18001300962e..."} 
[2026-07-07 03:18:12] local.INFO: Packet analysis {"connection_id":125994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3965"} 
[2026-07-07 03:18:12] local.INFO: Extracted packet for processing {"connection_id":125994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3965"} 
[2026-07-07 03:18:12] local.INFO: GPS Element Parsed {"raw_longitude":760592896,"raw_latitude":108903704,"longitude_deg":76.0592896,"latitude_deg":10.8903704,"altitude":19,"angle":150,"satellites":46,"speed":62,"hex_longitude":"2d55ba00","hex_latitude":"067dbd18","is_valid_coordinates":true} 
[2026-07-07 03:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543848192001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340319189761785856,"note":"Value kept but may cause issues"} 
[2026-07-07 03:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6172253685936965632,"note":"Value kept but may cause issues"} 
[2026-07-07 03:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783374413000,"timestamp_ms":1783374413000,"timestamp_seconds":1783374413,"priority":1,"record_length":96,"hex_timestamp":"0000019f3965fcc8"} 
[2026-07-07 03:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:18: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-07-07 03:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 03:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543848192001,"66":27365,"109":206,"80":60928,"24":62,"16":340319189761785856,"45":6172253685936965632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 03:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543848192001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:18:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 03:18:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340319189761785856,"km_value":340319189761785.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6172253685936965632,"description":"Unknown IO ID 45"} 
[2026-07-07 03:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543848192001,"power":27365,"unknown_109":206,"unknown_80":60928,"ignition":62,"odometer":null,"unknown_45":6172253685936965632}} 
[2026-07-07 03:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":125994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:18:12] local.INFO: GPS data processed {"connection_id":125994,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:18:12] local.INFO: Acknowledgment sent {"connection_id":125994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:18:13] local.INFO: TCP Data received {"connection_id":125994,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f39661438012d55cd80067d9dd8001200922e..."} 
[2026-07-07 03:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39661438012d55cd80067d9dd8001200922e..."} 
[2026-07-07 03:18:13] local.INFO: Processing buffer {"connection_id":125994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39661438012d55cd80067d9dd8001200922e..."} 
[2026-07-07 03:18:13] local.INFO: Packet analysis {"connection_id":125994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3966"} 
[2026-07-07 03:18:13] local.INFO: Extracted packet for processing {"connection_id":125994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3966"} 
[2026-07-07 03:18:13] local.INFO: GPS Element Parsed {"raw_longitude":760597888,"raw_latitude":108895704,"longitude_deg":76.0597888,"latitude_deg":10.8895704,"altitude":18,"angle":146,"satellites":46,"speed":59,"hex_longitude":"2d55cd80","hex_latitude":"067d9dd8","is_valid_coordinates":true} 
[2026-07-07 03: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-07-07 03:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543849728001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340319649323286528,"note":"Value kept but may cause issues"} 
[2026-07-07 03:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6177249866771404800,"note":"Value kept but may cause issues"} 
[2026-07-07 03:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783374419000,"timestamp_ms":1783374419000,"timestamp_seconds":1783374419,"priority":1,"record_length":96,"hex_timestamp":"0000019f39661438"} 
[2026-07-07 03:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:18: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-07-07 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 03:18: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-07-07 03: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-07-07 03:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543849728001,"66":26658,"109":206,"80":60928,"24":59,"16":340319649323286528,"45":6177249866771404800},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 03:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543849728001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:18:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 03:18:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340319649323286528,"km_value":340319649323286.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6177249866771404800,"description":"Unknown IO ID 45"} 
[2026-07-07 03:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543849728001,"power":26658,"unknown_109":206,"unknown_80":60928,"ignition":59,"odometer":null,"unknown_45":6177249866771404800}} 
[2026-07-07 03:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":125994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:18:13] local.INFO: GPS data processed {"connection_id":125994,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:18:13] local.INFO: Acknowledgment sent {"connection_id":125994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:18:44] local.INFO: TCP Data received {"connection_id":125994,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f39662f90012d55e440067d7f080011008c2f..."} 
[2026-07-07 03:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39662f90012d55e440067d7f080011008c2f..."} 
[2026-07-07 03:18:44] local.INFO: Processing buffer {"connection_id":125994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39662f90012d55e440067d7f080011008c2f..."} 
[2026-07-07 03:18:44] local.INFO: Packet analysis {"connection_id":125994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3966"} 
[2026-07-07 03:18:44] local.INFO: Extracted packet for processing {"connection_id":125994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3966"} 
[2026-07-07 03:18:44] local.INFO: GPS Element Parsed {"raw_longitude":760603712,"raw_latitude":108887816,"longitude_deg":76.0603712,"latitude_deg":10.8887816,"altitude":17,"angle":140,"satellites":47,"speed":53,"hex_longitude":"2d55e440","hex_latitude":"067d7f08","is_valid_coordinates":true} 
[2026-07-07 03:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543851264001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340320117474721792,"note":"Value kept but may cause issues"} 
[2026-07-07 03:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6182738628815214592,"note":"Value kept but may cause issues"} 
[2026-07-07 03:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783374426000,"timestamp_ms":1783374426000,"timestamp_seconds":1783374426,"priority":1,"record_length":96,"hex_timestamp":"0000019f39662f90"} 
[2026-07-07 03:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-07-07 03:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":125994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":125994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":125994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543851264001,"66":27463,"109":206,"80":60928,"24":53,"16":340320117474721792,"45":6182738628815214592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 03:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543851264001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:18:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 03:18:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340320117474721792,"km_value":340320117474721.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":6182738628815214592,"description":"Unknown IO ID 45"} 
[2026-07-07 03:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543851264001,"power":27463,"unknown_109":206,"unknown_80":60928,"ignition":53,"odometer":null,"unknown_45":6182738628815214592}} 
[2026-07-07 03:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":125994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:18:44] local.INFO: GPS data processed {"connection_id":125994,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:18:44] local.INFO: Acknowledgment sent {"connection_id":125994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:19:05] local.INFO: TCP Data received {"connection_id":124088,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:19:05] local.INFO: Processing buffer {"connection_id":124088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:19:05] local.INFO: IMEI packet received {"connection_id":124088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":124088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:19:09] local.INFO: TCP Data received {"connection_id":124088,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:19:09] local.INFO: Processing buffer {"connection_id":124088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:19:09] local.INFO: IMEI packet received {"connection_id":124088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":124088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:19:10] local.INFO: TCP Data received {"connection_id":124088,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f39664ae8012d55fc00067d63d8000f008a2f..."} 
[2026-07-07 03:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39664ae8012d55fc00067d63d8000f008a2f..."} 
[2026-07-07 03:19:10] local.INFO: Processing buffer {"connection_id":124088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39664ae8012d55fc00067d63d8000f008a2f..."} 
[2026-07-07 03:19:10] local.INFO: Packet analysis {"connection_id":124088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3966"} 
[2026-07-07 03:19:10] local.INFO: Extracted packet for processing {"connection_id":124088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3966"} 
[2026-07-07 03:19:10] local.INFO: GPS Element Parsed {"raw_longitude":760609792,"raw_latitude":108880856,"longitude_deg":76.0609792,"latitude_deg":10.8880856,"altitude":15,"angle":138,"satellites":47,"speed":48,"hex_longitude":"2d55fc00","hex_latitude":"067d63d8","is_valid_coordinates":true} 
[2026-07-07 03:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543853056001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340320564151320576,"note":"Value kept but may cause issues"} 
[2026-07-07 03:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6189142184533362688,"note":"Value kept but may cause issues"} 
[2026-07-07 03:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783374433000,"timestamp_ms":1783374433000,"timestamp_seconds":1783374433,"priority":1,"record_length":96,"hex_timestamp":"0000019f39664ae8"} 
[2026-07-07 03:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:19: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-07-07 03: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":71,"data_length":795,"current_offset":136} 
[2026-07-07 03:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543853056001,"66":27397,"109":206,"80":60928,"24":48,"16":340320564151320576,"45":6189142184533362688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 03:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543853056001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:19:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 03:19:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340320564151320576,"km_value":340320564151320.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6189142184533362688,"description":"Unknown IO ID 45"} 
[2026-07-07 03:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543853056001,"power":27397,"unknown_109":206,"unknown_80":60928,"ignition":48,"odometer":null,"unknown_45":6189142184533362688}} 
[2026-07-07 03:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":124088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:19:11] local.INFO: GPS data processed {"connection_id":124088,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:19:11] local.INFO: Acknowledgment sent {"connection_id":124088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:19:12] local.INFO: TCP Data received {"connection_id":124088,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f39666e10012d561680067d48c0001100872e..."} 
[2026-07-07 03:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39666e10012d561680067d48c0001100872e..."} 
[2026-07-07 03:19:12] local.INFO: Processing buffer {"connection_id":124088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39666e10012d561680067d48c0001100872e..."} 
[2026-07-07 03:19:12] local.INFO: Packet analysis {"connection_id":124088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3966"} 
[2026-07-07 03:19:12] local.INFO: Extracted packet for processing {"connection_id":124088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3966"} 
[2026-07-07 03:19:12] local.INFO: GPS Element Parsed {"raw_longitude":760616576,"raw_latitude":108873920,"longitude_deg":76.0616576,"latitude_deg":10.887392,"altitude":17,"angle":135,"satellites":46,"speed":38,"hex_longitude":"2d561680","hex_latitude":"067d48c0","is_valid_coordinates":true} 
[2026-07-07 03:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543854848001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340321032302755840,"note":"Value kept but may cause issues"} 
[2026-07-07 03:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6195827215228459008,"note":"Value kept but may cause issues"} 
[2026-07-07 03:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783374442000,"timestamp_ms":1783374442000,"timestamp_seconds":1783374442,"priority":1,"record_length":96,"hex_timestamp":"0000019f39666e10"} 
[2026-07-07 03:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:19: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-07-07 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 03:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543854848001,"66":27397,"109":206,"80":60928,"24":38,"16":340321032302755840,"45":6195827215228459008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 03:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543854848001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:19:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 03:19:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340321032302755840,"km_value":340321032302755.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6195827215228459008,"description":"Unknown IO ID 45"} 
[2026-07-07 03:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543854848001,"power":27397,"unknown_109":206,"unknown_80":60928,"ignition":38,"odometer":null,"unknown_45":6195827215228459008}} 
[2026-07-07 03:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":124088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:19:12] local.INFO: GPS data processed {"connection_id":124088,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:19:12] local.INFO: Acknowledgment sent {"connection_id":124088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:19:46] local.INFO: TCP Data received {"connection_id":124088,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f39669908012d563140067d2ea0001200852f..."} 
[2026-07-07 03:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39669908012d563140067d2ea0001200852f..."} 
[2026-07-07 03:19:46] local.INFO: Processing buffer {"connection_id":124088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39669908012d563140067d2ea0001200852f..."} 
[2026-07-07 03:19:46] local.INFO: Packet analysis {"connection_id":124088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3966"} 
[2026-07-07 03:19:46] local.INFO: Extracted packet for processing {"connection_id":124088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3966"} 
[2026-07-07 03:19:46] local.INFO: GPS Element Parsed {"raw_longitude":760623424,"raw_latitude":108867232,"longitude_deg":76.0623424,"latitude_deg":10.8867232,"altitude":18,"angle":133,"satellites":47,"speed":32,"hex_longitude":"2d563140","hex_latitude":"067d2ea0","is_valid_coordinates":true} 
[2026-07-07 03: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-07-07 03:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543857152001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340321487569289216,"note":"Value kept but may cause issues"} 
[2026-07-07 03:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6203286302109515776,"note":"Value kept but may cause issues"} 
[2026-07-07 03:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783374453000,"timestamp_ms":1783374453000,"timestamp_seconds":1783374453,"priority":1,"record_length":96,"hex_timestamp":"0000019f39669908"} 
[2026-07-07 03:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 03:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03: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-07-07 03:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543857152001,"66":27321,"109":206,"80":60928,"24":32,"16":340321487569289216,"45":6203286302109515776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 03:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543857152001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:19:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 03:19:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340321487569289216,"km_value":340321487569289.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":6203286302109515776,"description":"Unknown IO ID 45"} 
[2026-07-07 03:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543857152001,"power":27321,"unknown_109":206,"unknown_80":60928,"ignition":32,"odometer":null,"unknown_45":6203286302109515776}} 
[2026-07-07 03:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":124088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:19:46] local.INFO: GPS data processed {"connection_id":124088,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:19:46] local.INFO: Acknowledgment sent {"connection_id":124088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:20:00] local.INFO: TCP Data received {"connection_id":125995,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:20:00] local.INFO: Processing buffer {"connection_id":125995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:20:00] local.INFO: IMEI packet received {"connection_id":125995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":125995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:20:06] local.INFO: TCP Data received {"connection_id":125995,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:20:06] local.INFO: Processing buffer {"connection_id":125995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:20:06] local.INFO: IMEI packet received {"connection_id":125995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":125995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:20:07] local.INFO: TCP Data received {"connection_id":125995,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f39683330012d571a80067c01c8001b00aa2c..."} 
[2026-07-07 03:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39683330012d571a80067c01c8001b00aa2c..."} 
[2026-07-07 03:20:07] local.INFO: Processing buffer {"connection_id":125995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39683330012d571a80067c01c8001b00aa2c..."} 
[2026-07-07 03:20:07] local.INFO: Packet analysis {"connection_id":125995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3968"} 
[2026-07-07 03:20:07] local.INFO: Extracted packet for processing {"connection_id":125995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3968"} 
[2026-07-07 03:20:07] local.INFO: GPS Element Parsed {"raw_longitude":760683136,"raw_latitude":108790216,"longitude_deg":76.0683136,"latitude_deg":10.8790216,"altitude":27,"angle":170,"satellites":44,"speed":46,"hex_longitude":"2d571a80","hex_latitude":"067c01c8","is_valid_coordinates":true} 
[2026-07-07 03:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543884800001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340326297932660736,"note":"Value kept but may cause issues"} 
[2026-07-07 03:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6274992052407379968,"note":"Value kept but may cause issues"} 
[2026-07-07 03:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783374558000,"timestamp_ms":1783374558000,"timestamp_seconds":1783374558,"priority":1,"record_length":96,"hex_timestamp":"0000019f39683330"} 
[2026-07-07 03:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 03:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543884800001,"66":27365,"248":206,"80":60928,"24":46,"16":340326297932660736,"45":6274992052407379968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,80,24,16,45]} 
[2026-07-07 03:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543884800001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:20:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340326297932660736,"km_value":340326297932660.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6274992052407379968,"description":"Unknown IO ID 45"} 
[2026-07-07 03:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543884800001,"power":27365,"tamper_alert":206,"unknown_80":60928,"ignition":46,"odometer":null,"unknown_45":6274992052407379968}} 
[2026-07-07 03:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":125995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:20:07] local.INFO: GPS data processed {"connection_id":125995,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:20:07] local.INFO: Acknowledgment sent {"connection_id":125995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:20:38] local.INFO: TCP Data received {"connection_id":125995,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f39685270012d571dc0067bdc20001b00b72c..."} 
[2026-07-07 03:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39685270012d571dc0067bdc20001b00b72c..."} 
[2026-07-07 03:20:38] local.INFO: Processing buffer {"connection_id":125995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39685270012d571dc0067bdc20001b00b72c..."} 
[2026-07-07 03:20:38] local.INFO: Packet analysis {"connection_id":125995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3968"} 
[2026-07-07 03:20:38] local.INFO: Extracted packet for processing {"connection_id":125995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3968"} 
[2026-07-07 03:20:38] local.INFO: GPS Element Parsed {"raw_longitude":760683968,"raw_latitude":108780576,"longitude_deg":76.0683968,"latitude_deg":10.8780576,"altitude":27,"angle":183,"satellites":44,"speed":50,"hex_longitude":"2d571dc0","hex_latitude":"067bdc20","is_valid_coordinates":true} 
[2026-07-07 03:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543886848001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340326770379063296,"note":"Value kept but may cause issues"} 
[2026-07-07 03:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6276469796032858112,"note":"Value kept but may cause issues"} 
[2026-07-07 03:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783374566000,"timestamp_ms":1783374566000,"timestamp_seconds":1783374566,"priority":1,"record_length":96,"hex_timestamp":"0000019f39685270"} 
[2026-07-07 03:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:20: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-07-07 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 03:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543886848001,"66":27245,"248":206,"80":60928,"24":50,"16":340326770379063296,"45":6276469796032858112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,80,24,16,45]} 
[2026-07-07 03:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543886848001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:20:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340326770379063296,"km_value":340326770379063.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6276469796032858112,"description":"Unknown IO ID 45"} 
[2026-07-07 03:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543886848001,"power":27245,"tamper_alert":206,"unknown_80":60928,"ignition":50,"odometer":null,"unknown_45":6276469796032858112}} 
[2026-07-07 03:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":125995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:20:38] local.INFO: GPS data processed {"connection_id":125995,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:20:38] local.INFO: Acknowledgment sent {"connection_id":125995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:21:00] local.INFO: TCP Data received {"connection_id":125997,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:21:00] local.INFO: Processing buffer {"connection_id":125997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:21:00] local.INFO: IMEI packet received {"connection_id":125997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":125997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:21:02] local.INFO: TCP Data received {"connection_id":125997,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:21:02] local.INFO: Processing buffer {"connection_id":125997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:21:02] local.INFO: IMEI packet received {"connection_id":125997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":125997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:21:07] local.INFO: TCP Data received {"connection_id":125997,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:21:07] local.INFO: Processing buffer {"connection_id":125997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:21:07] local.INFO: IMEI packet received {"connection_id":125997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":125997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:21:09] local.INFO: TCP Data received {"connection_id":125997,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f39685270012d571dc0067bdc20001b00b72c..."} 
[2026-07-07 03:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39685270012d571dc0067bdc20001b00b72c..."} 
[2026-07-07 03:21:09] local.INFO: Processing buffer {"connection_id":125997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39685270012d571dc0067bdc20001b00b72c..."} 
[2026-07-07 03:21:09] local.INFO: Packet analysis {"connection_id":125997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3968"} 
[2026-07-07 03:21:09] local.INFO: Extracted packet for processing {"connection_id":125997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3968"} 
[2026-07-07 03:21:09] local.INFO: GPS Element Parsed {"raw_longitude":760683968,"raw_latitude":108780576,"longitude_deg":76.0683968,"latitude_deg":10.8780576,"altitude":27,"angle":183,"satellites":44,"speed":50,"hex_longitude":"2d571dc0","hex_latitude":"067bdc20","is_valid_coordinates":true} 
[2026-07-07 03:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543888896001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340326770379063296,"note":"Value kept but may cause issues"} 
[2026-07-07 03:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6277384589704699904,"note":"Value kept but may cause issues"} 
[2026-07-07 03:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783374566000,"timestamp_ms":1783374566000,"timestamp_seconds":1783374566,"priority":1,"record_length":96,"hex_timestamp":"0000019f39685270"} 
[2026-07-07 03:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:21: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-07-07 03:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 03:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543888896001,"66":27245,"248":206,"80":60928,"24":50,"16":340326770379063296,"45":6277384589704699904},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,80,24,16,45]} 
[2026-07-07 03:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543888896001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:21:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340326770379063296,"km_value":340326770379063.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6277384589704699904,"description":"Unknown IO ID 45"} 
[2026-07-07 03:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543888896001,"power":27245,"tamper_alert":206,"unknown_80":60928,"ignition":50,"odometer":null,"unknown_45":6277384589704699904}} 
[2026-07-07 03:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":125997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:21:09] local.INFO: GPS data processed {"connection_id":125997,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:21:09] local.INFO: Acknowledgment sent {"connection_id":125997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:21:41] local.INFO: TCP Data received {"connection_id":125997,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3969aa30012d55a2c0067b04a0001e00f028..."} 
[2026-07-07 03:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3969aa30012d55a2c0067b04a0001e00f028..."} 
[2026-07-07 03:21:41] local.INFO: Processing buffer {"connection_id":125997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3969aa30012d55a2c0067b04a0001e00f028..."} 
[2026-07-07 03:21:41] local.INFO: Packet analysis {"connection_id":125997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3969"} 
[2026-07-07 03:21:41] local.INFO: Extracted packet for processing {"connection_id":125997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3969"} 
[2026-07-07 03:21:41] local.INFO: GPS Element Parsed {"raw_longitude":760586944,"raw_latitude":108725408,"longitude_deg":76.0586944,"latitude_deg":10.8725408,"altitude":30,"angle":240,"satellites":40,"speed":46,"hex_longitude":"2d55a2c0","hex_latitude":"067b04a0","is_valid_coordinates":true} 
[2026-07-07 03:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543909376001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340332371016417280,"note":"Value kept but may cause issues"} 
[2026-07-07 03:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6180134985237993472,"note":"Value kept but may cause issues"} 
[2026-07-07 03:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783374654000,"timestamp_ms":1783374654000,"timestamp_seconds":1783374654,"priority":1,"record_length":96,"hex_timestamp":"0000019f3969aa30"} 
[2026-07-07 03:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:21: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-07-07 03:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 03:21: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-07-07 03:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543909376001,"66":27332,"249":206,"80":60928,"24":46,"16":340332371016417280,"45":6180134985237993472},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,80,24,16,45]} 
[2026-07-07 03:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543909376001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:21:41] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-07 03:21:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340332371016417280,"km_value":340332371016417.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6180134985237993472,"description":"Unknown IO ID 45"} 
[2026-07-07 03:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543909376001,"power":27332,"unknown_249":206,"unknown_80":60928,"ignition":46,"odometer":null,"unknown_45":6180134985237993472}} 
[2026-07-07 03:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":125997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:21:41] local.INFO: GPS data processed {"connection_id":125997,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:21:41] local.INFO: Acknowledgment sent {"connection_id":125997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:22:00] local.INFO: TCP Data received {"connection_id":124746,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:22:00] local.INFO: Processing buffer {"connection_id":124746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:22:00] local.INFO: IMEI packet received {"connection_id":124746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":124746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:22:06] local.INFO: TCP Data received {"connection_id":124746,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:22:06] local.INFO: Processing buffer {"connection_id":124746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:22:06] local.INFO: IMEI packet received {"connection_id":124746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":124746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:22:06] local.INFO: TCP Data received {"connection_id":124746,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3969aa30012d55a2c0067b04a0001e00f028..."} 
[2026-07-07 03:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3969aa30012d55a2c0067b04a0001e00f028..."} 
[2026-07-07 03:22:06] local.INFO: Processing buffer {"connection_id":124746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3969aa30012d55a2c0067b04a0001e00f028..."} 
[2026-07-07 03:22:06] local.INFO: Packet analysis {"connection_id":124746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3969"} 
[2026-07-07 03:22:06] local.INFO: Extracted packet for processing {"connection_id":124746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3969"} 
[2026-07-07 03:22:06] local.INFO: GPS Element Parsed {"raw_longitude":760586944,"raw_latitude":108725408,"longitude_deg":76.0586944,"latitude_deg":10.8725408,"altitude":30,"angle":240,"satellites":40,"speed":46,"hex_longitude":"2d55a2c0","hex_latitude":"067b04a0","is_valid_coordinates":true} 
[2026-07-07 03:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543911424001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340332371016417280,"note":"Value kept but may cause issues"} 
[2026-07-07 03:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6170705573517238272,"note":"Value kept but may cause issues"} 
[2026-07-07 03:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783374654000,"timestamp_ms":1783374654000,"timestamp_seconds":1783374654,"priority":1,"record_length":96,"hex_timestamp":"0000019f3969aa30"} 
[2026-07-07 03:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 03:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543911424001,"66":27332,"249":206,"80":60928,"24":46,"16":340332371016417280,"45":6170705573517238272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,80,24,16,45]} 
[2026-07-07 03:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543911424001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:22:06] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-07 03:22:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340332371016417280,"km_value":340332371016417.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6170705573517238272,"description":"Unknown IO ID 45"} 
[2026-07-07 03:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543911424001,"power":27332,"unknown_249":206,"unknown_80":60928,"ignition":46,"odometer":null,"unknown_45":6170705573517238272}} 
[2026-07-07 03:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":124746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:22:07] local.INFO: GPS data processed {"connection_id":124746,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:22:07] local.INFO: Acknowledgment sent {"connection_id":124746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:22:37] local.INFO: TCP Data received {"connection_id":124746,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3969c970012d558400067af1a0002100ed2b..."} 
[2026-07-07 03:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3969c970012d558400067af1a0002100ed2b..."} 
[2026-07-07 03:22:37] local.INFO: Processing buffer {"connection_id":124746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3969c970012d558400067af1a0002100ed2b..."} 
[2026-07-07 03:22:37] local.INFO: Packet analysis {"connection_id":124746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3969"} 
[2026-07-07 03:22:37] local.INFO: Extracted packet for processing {"connection_id":124746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3969"} 
[2026-07-07 03:22:37] local.INFO: GPS Element Parsed {"raw_longitude":760579072,"raw_latitude":108720544,"longitude_deg":76.0579072,"latitude_deg":10.8720544,"altitude":33,"angle":237,"satellites":43,"speed":45,"hex_longitude":"2d558400","hex_latitude":"067af1a0","is_valid_coordinates":true} 
[2026-07-07 03:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543911424001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340332813398048768,"note":"Value kept but may cause issues"} 
[2026-07-07 03:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6170705573517238272,"note":"Value kept but may cause issues"} 
[2026-07-07 03:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783374662000,"timestamp_ms":1783374662000,"timestamp_seconds":1783374662,"priority":1,"record_length":96,"hex_timestamp":"0000019f3969c970"} 
[2026-07-07 03:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 03:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543911424001,"66":27267,"249":206,"80":60928,"24":45,"16":340332813398048768,"45":6170705573517238272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,80,24,16,45]} 
[2026-07-07 03:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543911424001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:22:37] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-07 03:22:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340332813398048768,"km_value":340332813398048.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6170705573517238272,"description":"Unknown IO ID 45"} 
[2026-07-07 03:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543911424001,"power":27267,"unknown_249":206,"unknown_80":60928,"ignition":45,"odometer":null,"unknown_45":6170705573517238272}} 
[2026-07-07 03:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":124746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:22:37] local.INFO: GPS data processed {"connection_id":124746,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:22:37] local.INFO: Acknowledgment sent {"connection_id":124746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:23:06] local.INFO: TCP Data received {"connection_id":124091,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:23:06] local.INFO: Processing buffer {"connection_id":124091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:23:06] local.INFO: IMEI packet received {"connection_id":124091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":124091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:23:09] local.INFO: TCP Data received {"connection_id":124091,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:23:09] local.INFO: Processing buffer {"connection_id":124091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:23:09] local.INFO: IMEI packet received {"connection_id":124091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":124091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:23:11] local.INFO: TCP Data received {"connection_id":124091,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3969e8b0012d556680067addd8002400eb2a..."} 
[2026-07-07 03:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3969e8b0012d556680067addd8002400eb2a..."} 
[2026-07-07 03:23:11] local.INFO: Processing buffer {"connection_id":124091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3969e8b0012d556680067addd8002400eb2a..."} 
[2026-07-07 03:23:11] local.INFO: Packet analysis {"connection_id":124091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3969"} 
[2026-07-07 03:23:11] local.INFO: Extracted packet for processing {"connection_id":124091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3969"} 
[2026-07-07 03:23:11] local.INFO: GPS Element Parsed {"raw_longitude":760571520,"raw_latitude":108715480,"longitude_deg":76.057152,"latitude_deg":10.871548,"altitude":36,"angle":235,"satellites":42,"speed":44,"hex_longitude":"2d556680","hex_latitude":"067addd8","is_valid_coordinates":true} 
[2026-07-07 03:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543913472001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340333247189745664,"note":"Value kept but may cause issues"} 
[2026-07-07 03:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6162050217982140416,"note":"Value kept but may cause issues"} 
[2026-07-07 03:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783374670000,"timestamp_ms":1783374670000,"timestamp_seconds":1783374670,"priority":1,"record_length":96,"hex_timestamp":"0000019f3969e8b0"} 
[2026-07-07 03:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:23: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-07-07 03:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 03:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543913472001,"66":27365,"249":206,"80":60928,"24":44,"16":340333247189745664,"45":6162050217982140416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,80,24,16,45]} 
[2026-07-07 03:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543913472001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:23:11] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-07 03:23:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340333247189745664,"km_value":340333247189745.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6162050217982140416,"description":"Unknown IO ID 45"} 
[2026-07-07 03:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543913472001,"power":27365,"unknown_249":206,"unknown_80":60928,"ignition":44,"odometer":null,"unknown_45":6162050217982140416}} 
[2026-07-07 03:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":124091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:23:11] local.INFO: GPS data processed {"connection_id":124091,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:23:11] local.INFO: Acknowledgment sent {"connection_id":124091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:23:13] local.INFO: TCP Data received {"connection_id":124091,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f396a0bd8012d554740067ac908002700eb2c..."} 
[2026-07-07 03:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f396a0bd8012d554740067ac908002700eb2c..."} 
[2026-07-07 03:23:13] local.INFO: Processing buffer {"connection_id":124091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f396a0bd8012d554740067ac908002700eb2c..."} 
[2026-07-07 03:23:13] local.INFO: Packet analysis {"connection_id":124091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f396a"} 
[2026-07-07 03:23:13] local.INFO: Extracted packet for processing {"connection_id":124091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f396a"} 
[2026-07-07 03:23:13] local.INFO: GPS Element Parsed {"raw_longitude":760563520,"raw_latitude":108710152,"longitude_deg":76.056352,"latitude_deg":10.8710152,"altitude":39,"angle":235,"satellites":44,"speed":39,"hex_longitude":"2d554740","hex_latitude":"067ac908","is_valid_coordinates":true} 
[2026-07-07 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-07-07 03:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543915520001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340333706751246336,"note":"Value kept but may cause issues"} 
[2026-07-07 03:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6153746706167879680,"note":"Value kept but may cause issues"} 
[2026-07-07 03:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783374679000,"timestamp_ms":1783374679000,"timestamp_seconds":1783374679,"priority":1,"record_length":96,"hex_timestamp":"0000019f396a0bd8"} 
[2026-07-07 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-07-07 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-07-07 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 03:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 03:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543915520001,"66":27310,"249":206,"80":60928,"24":39,"16":340333706751246336,"45":6153746706167879680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,80,24,16,45]} 
[2026-07-07 03:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543915520001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:23:13] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-07 03:23:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340333706751246336,"km_value":340333706751246.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6153746706167879680,"description":"Unknown IO ID 45"} 
[2026-07-07 03:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543915520001,"power":27310,"unknown_249":206,"unknown_80":60928,"ignition":39,"odometer":null,"unknown_45":6153746706167879680}} 
[2026-07-07 03:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":124091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:23:13] local.INFO: GPS data processed {"connection_id":124091,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:23:13] local.INFO: Acknowledgment sent {"connection_id":124091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:23:25] local.INFO: TCP Data received {"connection_id":123977,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:23:25] local.INFO: Processing buffer {"connection_id":123977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:23:25] local.INFO: IMEI packet received {"connection_id":123977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 03:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":123977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:23:45] local.INFO: TCP Data received {"connection_id":124091,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f396a36d0012d552800067ab438002b00ec2c..."} 
[2026-07-07 03:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f396a36d0012d552800067ab438002b00ec2c..."} 
[2026-07-07 03:23:45] local.INFO: Processing buffer {"connection_id":124091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f396a36d0012d552800067ab438002b00ec2c..."} 
[2026-07-07 03:23:45] local.INFO: Packet analysis {"connection_id":124091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f396a"} 
[2026-07-07 03:23:45] local.INFO: Extracted packet for processing {"connection_id":124091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f396a"} 
[2026-07-07 03:23:45] local.INFO: GPS Element Parsed {"raw_longitude":760555520,"raw_latitude":108704824,"longitude_deg":76.055552,"latitude_deg":10.8704824,"altitude":43,"angle":236,"satellites":44,"speed":31,"hex_longitude":"2d552800","hex_latitude":"067ab438","is_valid_coordinates":true} 
[2026-07-07 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-07-07 03:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543917824001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340334166312747008,"note":"Value kept but may cause issues"} 
[2026-07-07 03:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6144950613144307712,"note":"Value kept but may cause issues"} 
[2026-07-07 03:23: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-07-07 03:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783374690000,"timestamp_ms":1783374690000,"timestamp_seconds":1783374690,"priority":1,"record_length":96,"hex_timestamp":"0000019f396a36d0"} 
[2026-07-07 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-07-07 03:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":174,"data_length":795,"current_offset":136} 
[2026-07-07 03:23: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-07-07 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-07-07 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-07-07 03:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543917824001,"66":27332,"250":206,"80":60928,"24":31,"16":340334166312747008,"45":6144950613144307712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-07-07 03:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543917824001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:23:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 03:23:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340334166312747008,"km_value":340334166312747.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":6144950613144307712,"description":"Unknown IO ID 45"} 
[2026-07-07 03:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543917824001,"power":27332,"unknown_250":206,"unknown_80":60928,"ignition":31,"odometer":null,"unknown_45":6144950613144307712}} 
[2026-07-07 03:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":124091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:23:45] local.INFO: GPS data processed {"connection_id":124091,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:23:45] local.INFO: Acknowledgment sent {"connection_id":124091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:24:00] local.INFO: TCP Data received {"connection_id":124747,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:24:00] local.INFO: Processing buffer {"connection_id":124747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:24:00] local.INFO: IMEI packet received {"connection_id":124747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":124747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:24:05] local.INFO: TCP Data received {"connection_id":124747,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:24:05] local.INFO: Processing buffer {"connection_id":124747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:24:05] local.INFO: IMEI packet received {"connection_id":124747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":124747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:24:05] local.INFO: TCP Data received {"connection_id":123978,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:24:05] local.INFO: Processing buffer {"connection_id":123978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:24:05] local.INFO: IMEI packet received {"connection_id":123978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 03:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":123978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:24:07] local.INFO: TCP Data received {"connection_id":124747,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f396a6998012d5509c0067aa010003000eb2c..."} 
[2026-07-07 03:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f396a6998012d5509c0067aa010003000eb2c..."} 
[2026-07-07 03:24:07] local.INFO: Processing buffer {"connection_id":124747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f396a6998012d5509c0067aa010003000eb2c..."} 
[2026-07-07 03:24:07] local.INFO: Packet analysis {"connection_id":124747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f396a"} 
[2026-07-07 03:24:07] local.INFO: Extracted packet for processing {"connection_id":124747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f396a"} 
[2026-07-07 03:24:07] local.INFO: GPS Element Parsed {"raw_longitude":760547776,"raw_latitude":108699664,"longitude_deg":76.0547776,"latitude_deg":10.8699664,"altitude":48,"angle":235,"satellites":44,"speed":25,"hex_longitude":"2d5509c0","hex_latitude":"067aa010","is_valid_coordinates":true} 
[2026-07-07 03:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543920640001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340334612989345792,"note":"Value kept but may cause issues"} 
[2026-07-07 03:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6136154520120735744,"note":"Value kept but may cause issues"} 
[2026-07-07 03:24:07] 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-07-07 03:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783374703000,"timestamp_ms":1783374703000,"timestamp_seconds":1783374703,"priority":1,"record_length":96,"hex_timestamp":"0000019f396a6998"} 
[2026-07-07 03:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 03:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543920640001,"66":27332,"250":206,"80":60928,"24":25,"16":340334612989345792,"45":6136154520120735744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-07-07 03:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543920640001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:24:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 03:24:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340334612989345792,"km_value":340334612989345.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6136154520120735744,"description":"Unknown IO ID 45"} 
[2026-07-07 03:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543920640001,"power":27332,"unknown_250":206,"unknown_80":60928,"ignition":25,"odometer":null,"unknown_45":6136154520120735744}} 
[2026-07-07 03:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":124747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:24:07] local.INFO: GPS data processed {"connection_id":124747,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:24:07] local.INFO: Acknowledgment sent {"connection_id":124747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:24:11] local.INFO: TCP Data received {"connection_id":124747,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f396aa818012d54ec00067a8c30003500ec29..."} 
[2026-07-07 03:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f396aa818012d54ec00067a8c30003500ec29..."} 
[2026-07-07 03:24:11] local.INFO: Processing buffer {"connection_id":124747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f396aa818012d54ec00067a8c30003500ec29..."} 
[2026-07-07 03:24:11] local.INFO: Packet analysis {"connection_id":124747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f396a"} 
[2026-07-07 03:24:11] local.INFO: Extracted packet for processing {"connection_id":124747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f396a"} 
[2026-07-07 03:24:11] local.INFO: GPS Element Parsed {"raw_longitude":760540160,"raw_latitude":108694576,"longitude_deg":76.054016,"latitude_deg":10.8694576,"altitude":53,"angle":236,"satellites":41,"speed":22,"hex_longitude":"2d54ec00","hex_latitude":"067a8c30","is_valid_coordinates":true} 
[2026-07-07 03:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543923968001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340335051076009984,"note":"Value kept but may cause issues"} 
[2026-07-07 03:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6127639902073917440,"note":"Value kept but may cause issues"} 
[2026-07-07 03:24:11] 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-07-07 03:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783374719000,"timestamp_ms":1783374719000,"timestamp_seconds":1783374719,"priority":1,"record_length":96,"hex_timestamp":"0000019f396aa818"} 
[2026-07-07 03:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:24: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-07-07 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 03:24: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-07-07 03:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543923968001,"66":27365,"250":206,"80":60928,"24":22,"16":340335051076009984,"45":6127639902073917440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-07-07 03:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543923968001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:24:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 03:24:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340335051076009984,"km_value":340335051076010.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6127639902073917440,"description":"Unknown IO ID 45"} 
[2026-07-07 03:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543923968001,"power":27365,"unknown_250":206,"unknown_80":60928,"ignition":22,"odometer":null,"unknown_45":6127639902073917440}} 
[2026-07-07 03:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":124747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:24:11] local.INFO: GPS data processed {"connection_id":124747,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:24:11] local.INFO: Acknowledgment sent {"connection_id":124747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:24:46] local.INFO: TCP Data received {"connection_id":124747,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f396ae698012d54cd80067a77e0003a00ea2a..."} 
[2026-07-07 03:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f396ae698012d54cd80067a77e0003a00ea2a..."} 
[2026-07-07 03:24:46] local.INFO: Processing buffer {"connection_id":124747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f396ae698012d54cd80067a77e0003a00ea2a..."} 
[2026-07-07 03:24:46] local.INFO: Packet analysis {"connection_id":124747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f396a"} 
[2026-07-07 03:24:46] local.INFO: Extracted packet for processing {"connection_id":124747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f396a"} 
[2026-07-07 03:24:46] local.INFO: GPS Element Parsed {"raw_longitude":760532352,"raw_latitude":108689376,"longitude_deg":76.0532352,"latitude_deg":10.8689376,"altitude":58,"angle":234,"satellites":42,"speed":23,"hex_longitude":"2d54cd80","hex_latitude":"067a77e0","is_valid_coordinates":true} 
[2026-07-07 03: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-07-07 03:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543928064001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340335502047576064,"note":"Value kept but may cause issues"} 
[2026-07-07 03:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6119266021515472896,"note":"Value kept but may cause issues"} 
[2026-07-07 03:24:46] 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-07-07 03:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783374735000,"timestamp_ms":1783374735000,"timestamp_seconds":1783374735,"priority":1,"record_length":96,"hex_timestamp":"0000019f396ae698"} 
[2026-07-07 03:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03: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":229,"data_length":795,"current_offset":136} 
[2026-07-07 03:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03: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-07-07 03:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543928064001,"66":27267,"250":206,"80":60928,"24":23,"16":340335502047576064,"45":6119266021515472896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-07-07 03:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543928064001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:24:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 03:24:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340335502047576064,"km_value":340335502047576.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":6119266021515472896,"description":"Unknown IO ID 45"} 
[2026-07-07 03:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543928064001,"power":27267,"unknown_250":206,"unknown_80":60928,"ignition":23,"odometer":null,"unknown_45":6119266021515472896}} 
[2026-07-07 03:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":124747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:24:46] local.INFO: GPS data processed {"connection_id":124747,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:24:46] local.INFO: Acknowledgment sent {"connection_id":124747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:25:02] local.INFO: TCP Data received {"connection_id":124092,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:25:02] local.INFO: Processing buffer {"connection_id":124092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:25:02] local.INFO: IMEI packet received {"connection_id":124092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":124092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:25:02] local.INFO: TCP Data received {"connection_id":124092,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:25:02] local.INFO: Processing buffer {"connection_id":124092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:25:02] local.INFO: IMEI packet received {"connection_id":124092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":124092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:25:05] local.INFO: TCP Data received {"connection_id":124092,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:25:05] local.INFO: Processing buffer {"connection_id":124092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:25:05] local.INFO: IMEI packet received {"connection_id":124092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":124092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:25:07] local.INFO: TCP Data received {"connection_id":124092,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f396b2518012d54af80067a64c0003f00ee29..."} 
[2026-07-07 03:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f396b2518012d54af80067a64c0003f00ee29..."} 
[2026-07-07 03:25:07] local.INFO: Processing buffer {"connection_id":124092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f396b2518012d54af80067a64c0003f00ee29..."} 
[2026-07-07 03:25:07] local.INFO: Packet analysis {"connection_id":124092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f396b"} 
[2026-07-07 03:25:07] local.INFO: Extracted packet for processing {"connection_id":124092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f396b"} 
[2026-07-07 03:25:07] local.INFO: GPS Element Parsed {"raw_longitude":760524672,"raw_latitude":108684480,"longitude_deg":76.0524672,"latitude_deg":10.868448,"altitude":63,"angle":238,"satellites":41,"speed":23,"hex_longitude":"2d54af80","hex_latitude":"067a64c0","is_valid_coordinates":true} 
[2026-07-07 03: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-07-07 03:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543932160001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340335935839272960,"note":"Value kept but may cause issues"} 
[2026-07-07 03:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6110681034724466688,"note":"Value kept but may cause issues"} 
[2026-07-07 03:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783374751000,"timestamp_ms":1783374751000,"timestamp_seconds":1783374751,"priority":1,"record_length":96,"hex_timestamp":"0000019f396b2518"} 
[2026-07-07 03:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 03:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03: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-07-07 03:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543932160001,"66":27321,"155":206,"80":60928,"24":23,"16":340335935839272960,"45":6110681034724466688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-07-07 03:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543932160001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:25:07] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-07 03:25:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340335935839272960,"km_value":340335935839272.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6110681034724466688,"description":"Unknown IO ID 45"} 
[2026-07-07 03:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543932160001,"power":27321,"unknown_155":206,"unknown_80":60928,"ignition":23,"odometer":null,"unknown_45":6110681034724466688}} 
[2026-07-07 03:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":124092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:25:07] local.INFO: GPS data processed {"connection_id":124092,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:25:07] local.INFO: Acknowledgment sent {"connection_id":124092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:25:11] local.INFO: TCP Data received {"connection_id":124092,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f396b53f8012d5494c0067a5898004200fa27..."} 
[2026-07-07 03:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f396b53f8012d5494c0067a5898004200fa27..."} 
[2026-07-07 03:25:11] local.INFO: Processing buffer {"connection_id":124092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f396b53f8012d5494c0067a5898004200fa27..."} 
[2026-07-07 03:25:11] local.INFO: Packet analysis {"connection_id":124092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f396b"} 
[2026-07-07 03:25:11] local.INFO: Extracted packet for processing {"connection_id":124092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f396b"} 
[2026-07-07 03:25:11] local.INFO: GPS Element Parsed {"raw_longitude":760517824,"raw_latitude":108681368,"longitude_deg":76.0517824,"latitude_deg":10.8681368,"altitude":66,"angle":250,"satellites":39,"speed":25,"hex_longitude":"2d5494c0","hex_latitude":"067a5898","is_valid_coordinates":true} 
[2026-07-07 03:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543936256001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340336296616525824,"note":"Value kept but may cause issues"} 
[2026-07-07 03:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6102236785421893632,"note":"Value kept but may cause issues"} 
[2026-07-07 03:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783374763000,"timestamp_ms":1783374763000,"timestamp_seconds":1783374763,"priority":1,"record_length":96,"hex_timestamp":"0000019f396b53f8"} 
[2026-07-07 03:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:25: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-07-07 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 03:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543936256001,"66":27300,"155":206,"80":60928,"24":25,"16":340336296616525824,"45":6102236785421893632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-07-07 03:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543936256001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:25:11] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-07 03:25:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340336296616525824,"km_value":340336296616525.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6102236785421893632,"description":"Unknown IO ID 45"} 
[2026-07-07 03:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543936256001,"power":27300,"unknown_155":206,"unknown_80":60928,"ignition":25,"odometer":null,"unknown_45":6102236785421893632}} 
[2026-07-07 03:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":124092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:25:11] local.INFO: GPS data processed {"connection_id":124092,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:25:11] local.INFO: Acknowledgment sent {"connection_id":124092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:25:42] local.INFO: TCP Data received {"connection_id":124092,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f396b8e90012d547280067a50300046010424..."} 
[2026-07-07 03:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f396b8e90012d547280067a50300046010424..."} 
[2026-07-07 03:25:42] local.INFO: Processing buffer {"connection_id":124092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f396b8e90012d547280067a50300046010424..."} 
[2026-07-07 03:25:42] local.INFO: Packet analysis {"connection_id":124092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f396b"} 
[2026-07-07 03:25:42] local.INFO: Extracted packet for processing {"connection_id":124092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f396b"} 
[2026-07-07 03:25:42] local.INFO: GPS Element Parsed {"raw_longitude":760509056,"raw_latitude":108679216,"longitude_deg":76.0509056,"latitude_deg":10.8679216,"altitude":70,"angle":260,"satellites":36,"speed":19,"hex_longitude":"2d547280","hex_latitude":"067a5030","is_valid_coordinates":true} 
[2026-07-07 03:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543939328001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340336730408222720,"note":"Value kept but may cause issues"} 
[2026-07-07 03:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6094707329794086912,"note":"Value kept but may cause issues"} 
[2026-07-07 03:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783374778000,"timestamp_ms":1783374778000,"timestamp_seconds":1783374778,"priority":1,"record_length":96,"hex_timestamp":"0000019f396b8e90"} 
[2026-07-07 03:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 03:25: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-07-07 03:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543939328001,"66":27300,"155":206,"80":60928,"24":19,"16":340336730408222720,"45":6094707329794086912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-07-07 03:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543939328001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:25:42] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-07 03:25:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340336730408222720,"km_value":340336730408222.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6094707329794086912,"description":"Unknown IO ID 45"} 
[2026-07-07 03:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543939328001,"power":27300,"unknown_155":206,"unknown_80":60928,"ignition":19,"odometer":null,"unknown_45":6094707329794086912}} 
[2026-07-07 03:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":124092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:25:42] local.INFO: GPS data processed {"connection_id":124092,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:25:42] local.INFO: Acknowledgment sent {"connection_id":124092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:26:01] local.INFO: TCP Data received {"connection_id":125999,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:26:01] local.INFO: Processing buffer {"connection_id":125999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:26:01] local.INFO: IMEI packet received {"connection_id":125999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":125999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:26:05] local.INFO: TCP Data received {"connection_id":125999,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:26:05] local.INFO: Processing buffer {"connection_id":125999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:26:05] local.INFO: IMEI packet received {"connection_id":125999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":125999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:26:06] local.INFO: TCP Data received {"connection_id":125999,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f396d76d8012d530ec0067a3cf8005700e42b..."} 
[2026-07-07 03:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f396d76d8012d530ec0067a3cf8005700e42b..."} 
[2026-07-07 03:26:06] local.INFO: Processing buffer {"connection_id":125999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f396d76d8012d530ec0067a3cf8005700e42b..."} 
[2026-07-07 03:26:06] local.INFO: Packet analysis {"connection_id":125999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f396d"} 
[2026-07-07 03:26:06] local.INFO: Extracted packet for processing {"connection_id":125999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f396d"} 
[2026-07-07 03:26:06] local.INFO: GPS Element Parsed {"raw_longitude":760417984,"raw_latitude":108674296,"longitude_deg":76.0417984,"latitude_deg":10.8674296,"altitude":87,"angle":228,"satellites":43,"speed":42,"hex_longitude":"2d530ec0","hex_latitude":"067a3cf8","is_valid_coordinates":true} 
[2026-07-07 03:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543973632001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340341149929570304,"note":"Value kept but may cause issues"} 
[2026-07-07 03:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5990843063386949632,"note":"Value kept but may cause issues"} 
[2026-07-07 03:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783374903000,"timestamp_ms":1783374903000,"timestamp_seconds":1783374903,"priority":1,"record_length":96,"hex_timestamp":"0000019f396d76d8"} 
[2026-07-07 03:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:26: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-07-07 03:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 03:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543973632001,"66":27300,"51":206,"80":60928,"24":42,"16":340341149929570304,"45":5990843063386949632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,80,24,16,45]} 
[2026-07-07 03:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543973632001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:26:06] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-07 03:26:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340341149929570304,"km_value":340341149929570.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5990843063386949632,"description":"Unknown IO ID 45"} 
[2026-07-07 03:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543973632001,"power":27300,"unknown_51":206,"unknown_80":60928,"ignition":42,"odometer":null,"unknown_45":5990843063386949632}} 
[2026-07-07 03:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":125999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:26:06] local.INFO: GPS data processed {"connection_id":125999,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:26:06] local.INFO: Acknowledgment sent {"connection_id":125999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:26:40] local.INFO: TCP Data received {"connection_id":125999,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f396d9618012d52f4c0067a2460005500e229..."} 
[2026-07-07 03:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f396d9618012d52f4c0067a2460005500e229..."} 
[2026-07-07 03:26:40] local.INFO: Processing buffer {"connection_id":125999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f396d9618012d52f4c0067a2460005500e229..."} 
[2026-07-07 03:26:40] local.INFO: Packet analysis {"connection_id":125999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f396d"} 
[2026-07-07 03:26:40] local.INFO: Extracted packet for processing {"connection_id":125999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f396d"} 
[2026-07-07 03:26:40] local.INFO: GPS Element Parsed {"raw_longitude":760411328,"raw_latitude":108668000,"longitude_deg":76.0411328,"latitude_deg":10.8668,"altitude":85,"angle":226,"satellites":41,"speed":47,"hex_longitude":"2d52f4c0","hex_latitude":"067a2460","is_valid_coordinates":true} 
[2026-07-07 03:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543975168001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340341592311201792,"note":"Value kept but may cause issues"} 
[2026-07-07 03:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5984932088875120640,"note":"Value kept but may cause issues"} 
[2026-07-07 03:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783374911000,"timestamp_ms":1783374911000,"timestamp_seconds":1783374911,"priority":1,"record_length":96,"hex_timestamp":"0000019f396d9618"} 
[2026-07-07 03:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:26: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-07-07 03:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 03:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543975168001,"66":27234,"51":206,"80":60928,"24":47,"16":340341592311201792,"45":5984932088875120640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,80,24,16,45]} 
[2026-07-07 03:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543975168001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:26:40] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-07 03:26:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340341592311201792,"km_value":340341592311201.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5984932088875120640,"description":"Unknown IO ID 45"} 
[2026-07-07 03:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543975168001,"power":27234,"unknown_51":206,"unknown_80":60928,"ignition":47,"odometer":null,"unknown_45":5984932088875120640}} 
[2026-07-07 03:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":125999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:26:40] local.INFO: GPS data processed {"connection_id":125999,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:26:40] local.INFO: Acknowledgment sent {"connection_id":125999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:27:04] local.INFO: TCP Data received {"connection_id":124749,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:27:04] local.INFO: Processing buffer {"connection_id":124749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:27:04] local.INFO: IMEI packet received {"connection_id":124749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":124749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:27:05] local.INFO: TCP Data received {"connection_id":124749,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:27:05] local.INFO: Processing buffer {"connection_id":124749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:27:05] local.INFO: IMEI packet received {"connection_id":124749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":124749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:27:10] local.INFO: TCP Data received {"connection_id":124749,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:27:10] local.INFO: Processing buffer {"connection_id":124749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:27:10] local.INFO: IMEI packet received {"connection_id":124749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":124749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:27:11] local.INFO: TCP Data received {"connection_id":124749,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f396db558012d52d900067a0ae0005500e22a..."} 
[2026-07-07 03:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f396db558012d52d900067a0ae0005500e22a..."} 
[2026-07-07 03:27:11] local.INFO: Processing buffer {"connection_id":124749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f396db558012d52d900067a0ae0005500e22a..."} 
[2026-07-07 03:27:11] local.INFO: Packet analysis {"connection_id":124749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f396d"} 
[2026-07-07 03:27:11] local.INFO: Extracted packet for processing {"connection_id":124749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f396d"} 
[2026-07-07 03:27:11] local.INFO: GPS Element Parsed {"raw_longitude":760404224,"raw_latitude":108661472,"longitude_deg":76.0404224,"latitude_deg":10.8661472,"altitude":85,"angle":226,"satellites":42,"speed":47,"hex_longitude":"2d52d900","hex_latitude":"067a0ae0","is_valid_coordinates":true} 
[2026-07-07 03:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543977216001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340342051872702464,"note":"Value kept but may cause issues"} 
[2026-07-07 03:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5977613739479031808,"note":"Value kept but may cause issues"} 
[2026-07-07 03:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783374919000,"timestamp_ms":1783374919000,"timestamp_seconds":1783374919,"priority":1,"record_length":96,"hex_timestamp":"0000019f396db558"} 
[2026-07-07 03:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:27: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-07-07 03:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 03:27: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-07-07 03:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543977216001,"66":27397,"51":206,"80":60928,"24":47,"16":340342051872702464,"45":5977613739479031808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,80,24,16,45]} 
[2026-07-07 03:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543977216001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:27:11] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-07 03:27:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340342051872702464,"km_value":340342051872702.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5977613739479031808,"description":"Unknown IO ID 45"} 
[2026-07-07 03:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543977216001,"power":27397,"unknown_51":206,"unknown_80":60928,"ignition":47,"odometer":null,"unknown_45":5977613739479031808}} 
[2026-07-07 03:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":124749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:27:11] local.INFO: GPS data processed {"connection_id":124749,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:27:11] local.INFO: Acknowledgment sent {"connection_id":124749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:27:13] local.INFO: TCP Data received {"connection_id":124749,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f396dd498012d52bdc00679f0d8005300e02d..."} 
[2026-07-07 03:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f396dd498012d52bdc00679f0d8005300e02d..."} 
[2026-07-07 03:27:13] local.INFO: Processing buffer {"connection_id":124749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f396dd498012d52bdc00679f0d8005300e02d..."} 
[2026-07-07 03:27:13] local.INFO: Packet analysis {"connection_id":124749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f396d"} 
[2026-07-07 03:27:13] local.INFO: Extracted packet for processing {"connection_id":124749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f396d"} 
[2026-07-07 03:27:13] local.INFO: GPS Element Parsed {"raw_longitude":760397248,"raw_latitude":108654808,"longitude_deg":76.0397248,"latitude_deg":10.8654808,"altitude":83,"angle":224,"satellites":45,"speed":47,"hex_longitude":"2d52bdc0","hex_latitude":"0679f0d8","is_valid_coordinates":true} 
[2026-07-07 03:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543979264001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340342515729170432,"note":"Value kept but may cause issues"} 
[2026-07-07 03:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5969802808873639936,"note":"Value kept but may cause issues"} 
[2026-07-07 03:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783374927000,"timestamp_ms":1783374927000,"timestamp_seconds":1783374927,"priority":1,"record_length":96,"hex_timestamp":"0000019f396dd498"} 
[2026-07-07 03:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:27: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-07-07 03:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 03:27: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-07-07 03:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543979264001,"66":27397,"51":206,"80":60928,"24":47,"16":340342515729170432,"45":5969802808873639936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,80,24,16,45]} 
[2026-07-07 03:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543979264001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:27:13] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-07 03:27:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340342515729170432,"km_value":340342515729170.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5969802808873639936,"description":"Unknown IO ID 45"} 
[2026-07-07 03:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543979264001,"power":27397,"unknown_51":206,"unknown_80":60928,"ignition":47,"odometer":null,"unknown_45":5969802808873639936}} 
[2026-07-07 03:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":124749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:27:13] local.INFO: GPS data processed {"connection_id":124749,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:27:13] local.INFO: Acknowledgment sent {"connection_id":124749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:27:58] local.INFO: TCP Data received {"connection_id":124749,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f396df3d8012d52a6800679d520005400d72d..."} 
[2026-07-07 03:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f396df3d8012d52a6800679d520005400d72d..."} 
[2026-07-07 03:27:58] local.INFO: Processing buffer {"connection_id":124749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f396df3d8012d52a6800679d520005400d72d..."} 
[2026-07-07 03:27:58] local.INFO: Packet analysis {"connection_id":124749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f396d"} 
[2026-07-07 03:27:58] local.INFO: Extracted packet for processing {"connection_id":124749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f396d"} 
[2026-07-07 03:27:58] local.INFO: GPS Element Parsed {"raw_longitude":760391296,"raw_latitude":108647712,"longitude_deg":76.0391296,"latitude_deg":10.8647712,"altitude":84,"angle":215,"satellites":45,"speed":43,"hex_longitude":"2d52a680","hex_latitude":"0679d520","is_valid_coordinates":true} 
[2026-07-07 03:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456543981312001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340342962405769216,"note":"Value kept but may cause issues"} 
[2026-07-07 03:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5962132615756568576,"note":"Value kept but may cause issues"} 
[2026-07-07 03:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783374935000,"timestamp_ms":1783374935000,"timestamp_seconds":1783374935,"priority":1,"record_length":96,"hex_timestamp":"0000019f396df3d8"} 
[2026-07-07 03:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 03:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":124749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":124749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":124749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456543981312001,"66":27267,"51":206,"80":60928,"24":43,"16":340342962405769216,"45":5962132615756568576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,80,24,16,45]} 
[2026-07-07 03:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456543981312001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:27:58] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-07 03:27:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-07 03:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340342962405769216,"km_value":340342962405769.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5962132615756568576,"description":"Unknown IO ID 45"} 
[2026-07-07 03:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456543981312001,"power":27267,"unknown_51":206,"unknown_80":60928,"ignition":43,"odometer":null,"unknown_45":5962132615756568576}} 
[2026-07-07 03:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":124749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:27:58] local.INFO: GPS data processed {"connection_id":124749,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:27:58] local.INFO: Acknowledgment sent {"connection_id":124749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:28:00] local.INFO: TCP Data received {"connection_id":124094,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:28:00] local.INFO: Processing buffer {"connection_id":124094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:28:00] local.INFO: IMEI packet received {"connection_id":124094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":124094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:29:00] local.INFO: TCP Data received {"connection_id":126001,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:29:00] local.INFO: Processing buffer {"connection_id":126001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:29:00] local.INFO: IMEI packet received {"connection_id":126001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":126001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:29:06] local.INFO: TCP Data received {"connection_id":126001,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:29:06] local.INFO: Processing buffer {"connection_id":126001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:29:06] local.INFO: IMEI packet received {"connection_id":126001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":126001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:29:08] local.INFO: TCP Data received {"connection_id":126001,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f396f7a78012d52418006785540004300ba29..."} 
[2026-07-07 03:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f396f7a78012d52418006785540004300ba29..."} 
[2026-07-07 03:29:08] local.INFO: Processing buffer {"connection_id":126001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f396f7a78012d52418006785540004300ba29..."} 
[2026-07-07 03:29:08] local.INFO: Packet analysis {"connection_id":126001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f396f"} 
[2026-07-07 03:29:08] local.INFO: Extracted packet for processing {"connection_id":126001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f396f"} 
[2026-07-07 03:29:08] local.INFO: GPS Element Parsed {"raw_longitude":760365440,"raw_latitude":108549440,"longitude_deg":76.036544,"latitude_deg":10.854944,"altitude":67,"angle":186,"satellites":41,"speed":50,"hex_longitude":"2d524180","hex_latitude":"06785540","is_valid_coordinates":true} 
[2026-07-07 03:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544006912001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340347923092996096,"note":"Value kept but may cause issues"} 
[2026-07-07 03:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5928425987271043072,"note":"Value kept but may cause issues"} 
[2026-07-07 03:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783375035000,"timestamp_ms":1783375035000,"timestamp_seconds":1783375035,"priority":1,"record_length":96,"hex_timestamp":"0000019f396f7a78"} 
[2026-07-07 03:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:29: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-07-07 03: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 03:29: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-07-07 03: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-07-07 03:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544006912001,"66":27365,"18":206,"80":60160,"24":50,"16":340347923092996096,"45":5928425987271043072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-07-07 03:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544006912001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:29:08] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-07 03:29:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340347923092996096,"km_value":340347923092996.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5928425987271043072,"description":"Unknown IO ID 45"} 
[2026-07-07 03:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544006912001,"power":27365,"unknown_18":206,"unknown_80":60160,"ignition":50,"odometer":null,"unknown_45":5928425987271043072}} 
[2026-07-07 03:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":126001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:29:08] local.INFO: GPS data processed {"connection_id":126001,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:29:08] local.INFO: Acknowledgment sent {"connection_id":126001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:29:40] local.INFO: TCP Data received {"connection_id":123979,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:29:40] local.INFO: Processing buffer {"connection_id":123979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:29:40] local.INFO: IMEI packet received {"connection_id":123979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 03:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":123979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:29:43] local.INFO: TCP Data received {"connection_id":126001,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3970ca68012d5179c006770020001300c92c..."} 
[2026-07-07 03:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3970ca68012d5179c006770020001300c92c..."} 
[2026-07-07 03:29:43] local.INFO: Processing buffer {"connection_id":126001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3970ca68012d5179c006770020001300c92c..."} 
[2026-07-07 03:29:43] local.INFO: Packet analysis {"connection_id":126001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3970"} 
[2026-07-07 03:29:43] local.INFO: Extracted packet for processing {"connection_id":126001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3970"} 
[2026-07-07 03:29:43] local.INFO: GPS Element Parsed {"raw_longitude":760314304,"raw_latitude":108462112,"longitude_deg":76.0314304,"latitude_deg":10.8462112,"altitude":19,"angle":201,"satellites":44,"speed":50,"hex_longitude":"2d5179c0","hex_latitude":"06770020","is_valid_coordinates":true} 
[2026-07-07 03:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544029184001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340352965384601600,"note":"Value kept but may cause issues"} 
[2026-07-07 03:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5875016110417481728,"note":"Value kept but may cause issues"} 
[2026-07-07 03:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783375121000,"timestamp_ms":1783375121000,"timestamp_seconds":1783375121,"priority":1,"record_length":96,"hex_timestamp":"0000019f3970ca68"} 
[2026-07-07 03:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03: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-07-07 03: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":131,"data_length":795,"current_offset":136} 
[2026-07-07 03:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":126001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":126001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":126001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544029184001,"66":27234,"146":206,"80":60160,"24":50,"16":340352965384601600,"45":5875016110417481728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-07-07 03:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544029184001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:29:43] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-07 03:29:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340352965384601600,"km_value":340352965384601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5875016110417481728,"description":"Unknown IO ID 45"} 
[2026-07-07 03:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544029184001,"power":27234,"unknown_146":206,"unknown_80":60160,"ignition":50,"odometer":null,"unknown_45":5875016110417481728}} 
[2026-07-07 03:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":126001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:29:43] local.INFO: GPS data processed {"connection_id":126001,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:29:43] local.INFO: Acknowledgment sent {"connection_id":126001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:30:00] local.INFO: TCP Data received {"connection_id":124750,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:30:00] local.INFO: Processing buffer {"connection_id":124750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:30:00] local.INFO: IMEI packet received {"connection_id":124750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":124750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:30:01] local.INFO: TCP Data received {"connection_id":123980,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:30:01] local.INFO: Processing buffer {"connection_id":123980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:30:01] local.INFO: IMEI packet received {"connection_id":123980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 03:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":123980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:30:01] local.INFO: TCP Data received {"connection_id":124750,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:30:01] local.INFO: Processing buffer {"connection_id":124750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:30:01] local.INFO: IMEI packet received {"connection_id":124750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":124750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:30:05] local.INFO: TCP Data received {"connection_id":124750,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:30:05] local.INFO: Processing buffer {"connection_id":124750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:30:05] local.INFO: IMEI packet received {"connection_id":124750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":124750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:30:06] local.INFO: TCP Data received {"connection_id":124750,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3970e9a8012d516cc00676dfb8001100c82c..."} 
[2026-07-07 03:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3970e9a8012d516cc00676dfb8001100c82c..."} 
[2026-07-07 03:30:06] local.INFO: Processing buffer {"connection_id":124750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3970e9a8012d516cc00676dfb8001100c82c..."} 
[2026-07-07 03:30:06] local.INFO: Packet analysis {"connection_id":124750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3970"} 
[2026-07-07 03:30:06] local.INFO: Extracted packet for processing {"connection_id":124750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3970"} 
[2026-07-07 03:30:06] local.INFO: GPS Element Parsed {"raw_longitude":760310976,"raw_latitude":108453816,"longitude_deg":76.0310976,"latitude_deg":10.8453816,"altitude":17,"angle":200,"satellites":44,"speed":39,"hex_longitude":"2d516cc0","hex_latitude":"0676dfb8","is_valid_coordinates":true} 
[2026-07-07 03:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544030976001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340353399176298496,"note":"Value kept but may cause issues"} 
[2026-07-07 03:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5870934723252985856,"note":"Value kept but may cause issues"} 
[2026-07-07 03:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783375129000,"timestamp_ms":1783375129000,"timestamp_seconds":1783375129,"priority":1,"record_length":96,"hex_timestamp":"0000019f3970e9a8"} 
[2026-07-07 03:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 03:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544030976001,"66":27463,"146":206,"80":60160,"24":39,"16":340353399176298496,"45":5870934723252985856},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-07-07 03:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544030976001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:30:06] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-07 03:30:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340353399176298496,"km_value":340353399176298.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5870934723252985856,"description":"Unknown IO ID 45"} 
[2026-07-07 03:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544030976001,"power":27463,"unknown_146":206,"unknown_80":60160,"ignition":39,"odometer":null,"unknown_45":5870934723252985856}} 
[2026-07-07 03:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":124750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:30:06] local.INFO: GPS data processed {"connection_id":124750,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:30:06] local.INFO: Acknowledgment sent {"connection_id":124750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:30:37] local.INFO: TCP Data received {"connection_id":124750,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f397110b8012d5161000676bcf8001000ca2c..."} 
[2026-07-07 03:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f397110b8012d5161000676bcf8001000ca2c..."} 
[2026-07-07 03:30:37] local.INFO: Processing buffer {"connection_id":124750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f397110b8012d5161000676bcf8001000ca2c..."} 
[2026-07-07 03:30:37] local.INFO: Packet analysis {"connection_id":124750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3971"} 
[2026-07-07 03:30:37] local.INFO: Extracted packet for processing {"connection_id":124750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3971"} 
[2026-07-07 03:30:37] local.INFO: GPS Element Parsed {"raw_longitude":760307968,"raw_latitude":108444920,"longitude_deg":76.0307968,"latitude_deg":10.844492,"altitude":16,"angle":202,"satellites":44,"speed":35,"hex_longitude":"2d516100","hex_latitude":"0676bcf8","is_valid_coordinates":true} 
[2026-07-07 03:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544033024001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340353854442831872,"note":"Value kept but may cause issues"} 
[2026-07-07 03:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5867275548553623552,"note":"Value kept but may cause issues"} 
[2026-07-07 03:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783375139000,"timestamp_ms":1783375139000,"timestamp_seconds":1783375139,"priority":1,"record_length":96,"hex_timestamp":"0000019f397110b8"} 
[2026-07-07 03:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:30: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-07-07 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 03:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544033024001,"66":27213,"146":206,"80":60160,"24":35,"16":340353854442831872,"45":5867275548553623552},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-07-07 03:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544033024001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:30:37] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-07 03:30:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340353854442831872,"km_value":340353854442831.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5867275548553623552,"description":"Unknown IO ID 45"} 
[2026-07-07 03:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544033024001,"power":27213,"unknown_146":206,"unknown_80":60160,"ignition":35,"odometer":null,"unknown_45":5867275548553623552}} 
[2026-07-07 03:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":124750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:30:37] local.INFO: GPS data processed {"connection_id":124750,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:30:37] local.INFO: Acknowledgment sent {"connection_id":124750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:31:00] local.INFO: TCP Data received {"connection_id":126002,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:31:00] local.INFO: Processing buffer {"connection_id":126002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:31:00] local.INFO: IMEI packet received {"connection_id":126002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":126002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:31:05] local.INFO: TCP Data received {"connection_id":126002,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:31:05] local.INFO: Processing buffer {"connection_id":126002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:31:05] local.INFO: IMEI packet received {"connection_id":126002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":126002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:31:06] local.INFO: TCP Data received {"connection_id":126002,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f39713bb0012d51538006769c08000e00ca2b..."} 
[2026-07-07 03:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39713bb0012d51538006769c08000e00ca2b..."} 
[2026-07-07 03:31:06] local.INFO: Processing buffer {"connection_id":126002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39713bb0012d51538006769c08000e00ca2b..."} 
[2026-07-07 03:31:06] local.INFO: Packet analysis {"connection_id":126002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3971"} 
[2026-07-07 03:31:06] local.INFO: Extracted packet for processing {"connection_id":126002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3971"} 
[2026-07-07 03:31:06] local.INFO: GPS Element Parsed {"raw_longitude":760304512,"raw_latitude":108436488,"longitude_deg":76.0304512,"latitude_deg":10.8436488,"altitude":14,"angle":202,"satellites":43,"speed":31,"hex_longitude":"2d515380","hex_latitude":"06769c08","is_valid_coordinates":true} 
[2026-07-07 03:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544035584001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340354296824463360,"note":"Value kept but may cause issues"} 
[2026-07-07 03:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5863968217574995968,"note":"Value kept but may cause issues"} 
[2026-07-07 03:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783375150000,"timestamp_ms":1783375150000,"timestamp_seconds":1783375150,"priority":1,"record_length":96,"hex_timestamp":"0000019f39713bb0"} 
[2026-07-07 03:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:31: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-07-07 03:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 03:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544035584001,"66":27267,"146":206,"80":60160,"24":31,"16":340354296824463360,"45":5863968217574995968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-07-07 03:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544035584001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:31:06] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-07 03:31:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340354296824463360,"km_value":340354296824463.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5863968217574995968,"description":"Unknown IO ID 45"} 
[2026-07-07 03:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544035584001,"power":27267,"unknown_146":206,"unknown_80":60160,"ignition":31,"odometer":null,"unknown_45":5863968217574995968}} 
[2026-07-07 03:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":126002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:31:06] local.INFO: GPS data processed {"connection_id":126002,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:31:06] local.INFO: Acknowledgment sent {"connection_id":126002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:31:37] local.INFO: TCP Data received {"connection_id":126002,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f39716e78012d5145c006767b18000b00ca2c..."} 
[2026-07-07 03:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39716e78012d5145c006767b18000b00ca2c..."} 
[2026-07-07 03:31:37] local.INFO: Processing buffer {"connection_id":126002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39716e78012d5145c006767b18000b00ca2c..."} 
[2026-07-07 03:31:37] local.INFO: Packet analysis {"connection_id":126002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3971"} 
[2026-07-07 03:31:37] local.INFO: Extracted packet for processing {"connection_id":126002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3971"} 
[2026-07-07 03:31:37] local.INFO: GPS Element Parsed {"raw_longitude":760300992,"raw_latitude":108428056,"longitude_deg":76.0300992,"latitude_deg":10.8428056,"altitude":11,"angle":202,"satellites":44,"speed":20,"hex_longitude":"2d5145c0","hex_latitude":"06767b18","is_valid_coordinates":true} 
[2026-07-07 03:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544038400001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340354739206094848,"note":"Value kept but may cause issues"} 
[2026-07-07 03:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5860168305387243520,"note":"Value kept but may cause issues"} 
[2026-07-07 03:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783375163000,"timestamp_ms":1783375163000,"timestamp_seconds":1783375163,"priority":1,"record_length":96,"hex_timestamp":"0000019f39716e78"} 
[2026-07-07 03:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:31: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-07-07 03:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 03:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544038400001,"66":27267,"146":206,"80":60160,"24":20,"16":340354739206094848,"45":5860168305387243520},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-07-07 03:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544038400001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:31:37] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-07 03:31:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340354739206094848,"km_value":340354739206094.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5860168305387243520,"description":"Unknown IO ID 45"} 
[2026-07-07 03:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544038400001,"power":27267,"unknown_146":206,"unknown_80":60160,"ignition":20,"odometer":null,"unknown_45":5860168305387243520}} 
[2026-07-07 03:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":126002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:31:37] local.INFO: GPS data processed {"connection_id":126002,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:31:37] local.INFO: Acknowledgment sent {"connection_id":126002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:32:05] local.INFO: TCP Data received {"connection_id":123981,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:32:05] local.INFO: Processing buffer {"connection_id":123981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:32:05] local.INFO: IMEI packet received {"connection_id":123981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":123981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:32:10] local.INFO: TCP Data received {"connection_id":123981,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:32:10] local.INFO: Processing buffer {"connection_id":123981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:32:10] local.INFO: IMEI packet received {"connection_id":123981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":123981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:32:11] local.INFO: TCP Data received {"connection_id":123981,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3971acf8012d513b4006766540000e00d02b..."} 
[2026-07-07 03:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3971acf8012d513b4006766540000e00d02b..."} 
[2026-07-07 03:32:11] local.INFO: Processing buffer {"connection_id":123981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3971acf8012d513b4006766540000e00d02b..."} 
[2026-07-07 03:32:11] local.INFO: Packet analysis {"connection_id":123981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3971"} 
[2026-07-07 03:32:11] local.INFO: Extracted packet for processing {"connection_id":123981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3971"} 
[2026-07-07 03:32:11] local.INFO: GPS Element Parsed {"raw_longitude":760298304,"raw_latitude":108422464,"longitude_deg":76.0298304,"latitude_deg":10.8422464,"altitude":14,"angle":208,"satellites":43,"speed":20,"hex_longitude":"2d513b40","hex_latitude":"06766540","is_valid_coordinates":true} 
[2026-07-07 03:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544041728001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340355039853805568,"note":"Value kept but may cause issues"} 
[2026-07-07 03:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5856298024455313408,"note":"Value kept but may cause issues"} 
[2026-07-07 03:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783375179000,"timestamp_ms":1783375179000,"timestamp_seconds":1783375179,"priority":1,"record_length":96,"hex_timestamp":"0000019f3971acf8"} 
[2026-07-07 03:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:32: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-07-07 03:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 03:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544041728001,"66":27876,"146":206,"80":60160,"24":20,"16":340355039853805568,"45":5856298024455313408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-07-07 03:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544041728001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:32:11] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-07 03:32:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340355039853805568,"km_value":340355039853805.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5856298024455313408,"description":"Unknown IO ID 45"} 
[2026-07-07 03:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544041728001,"power":27876,"unknown_146":206,"unknown_80":60160,"ignition":20,"odometer":null,"unknown_45":5856298024455313408}} 
[2026-07-07 03:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":123981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:32:11] local.INFO: GPS data processed {"connection_id":123981,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:32:11] local.INFO: Acknowledgment sent {"connection_id":123981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:32:15] local.INFO: TCP Data received {"connection_id":123981,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3971acf8012d513b4006766540000e00d02b..."} 
[2026-07-07 03:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3971acf8012d513b4006766540000e00d02b..."} 
[2026-07-07 03:32:15] local.INFO: Processing buffer {"connection_id":123981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3971acf8012d513b4006766540000e00d02b..."} 
[2026-07-07 03:32:15] local.INFO: Packet analysis {"connection_id":123981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3971"} 
[2026-07-07 03:32:15] local.INFO: Extracted packet for processing {"connection_id":123981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3971"} 
[2026-07-07 03:32:15] local.INFO: GPS Element Parsed {"raw_longitude":760298304,"raw_latitude":108422464,"longitude_deg":76.0298304,"latitude_deg":10.8422464,"altitude":14,"angle":208,"satellites":43,"speed":20,"hex_longitude":"2d513b40","hex_latitude":"06766540","is_valid_coordinates":true} 
[2026-07-07 03:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544041728001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340355039853805568,"note":"Value kept but may cause issues"} 
[2026-07-07 03:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5856298024455313408,"note":"Value kept but may cause issues"} 
[2026-07-07 03:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783375179000,"timestamp_ms":1783375179000,"timestamp_seconds":1783375179,"priority":1,"record_length":96,"hex_timestamp":"0000019f3971acf8"} 
[2026-07-07 03:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:32: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-07-07 03: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":131,"data_length":795,"current_offset":136} 
[2026-07-07 03:32: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-07-07 03:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544041728001,"66":27876,"146":206,"80":60160,"24":20,"16":340355039853805568,"45":5856298024455313408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-07-07 03:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544041728001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:32:15] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-07 03:32:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340355039853805568,"km_value":340355039853805.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5856298024455313408,"description":"Unknown IO ID 45"} 
[2026-07-07 03:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544041728001,"power":27876,"unknown_146":206,"unknown_80":60160,"ignition":20,"odometer":null,"unknown_45":5856298024455313408}} 
[2026-07-07 03:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":123981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:32:15] local.INFO: GPS data processed {"connection_id":123981,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:32:15] local.INFO: Acknowledgment sent {"connection_id":123981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:33:00] local.INFO: TCP Data received {"connection_id":126003,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:33:00] local.INFO: Processing buffer {"connection_id":126003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:33:00] local.INFO: IMEI packet received {"connection_id":126003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":126003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:33:06] local.INFO: TCP Data received {"connection_id":126003,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:33:06] local.INFO: Processing buffer {"connection_id":126003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:33:06] local.INFO: IMEI packet received {"connection_id":126003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":126003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:33:07] local.INFO: TCP Data received {"connection_id":126003,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3971acf8012d513b4006766540000e00d02b..."} 
[2026-07-07 03:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3971acf8012d513b4006766540000e00d02b..."} 
[2026-07-07 03:33:07] local.INFO: Processing buffer {"connection_id":126003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3971acf8012d513b4006766540000e00d02b..."} 
[2026-07-07 03:33:07] local.INFO: Packet analysis {"connection_id":126003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3971"} 
[2026-07-07 03:33:07] local.INFO: Extracted packet for processing {"connection_id":126003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3971"} 
[2026-07-07 03:33:07] local.INFO: GPS Element Parsed {"raw_longitude":760298304,"raw_latitude":108422464,"longitude_deg":76.0298304,"latitude_deg":10.8422464,"altitude":14,"angle":208,"satellites":43,"speed":20,"hex_longitude":"2d513b40","hex_latitude":"06766540","is_valid_coordinates":true} 
[2026-07-07 03:33: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-07-07 03:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544041728001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340355039853805568,"note":"Value kept but may cause issues"} 
[2026-07-07 03:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5856298024455313408,"note":"Value kept but may cause issues"} 
[2026-07-07 03:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783375179000,"timestamp_ms":1783375179000,"timestamp_seconds":1783375179,"priority":1,"record_length":96,"hex_timestamp":"0000019f3971acf8"} 
[2026-07-07 03:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 03:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03: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-07-07 03:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544041728001,"66":27876,"146":206,"80":60160,"24":20,"16":340355039853805568,"45":5856298024455313408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-07-07 03:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544041728001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:33:07] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-07 03:33:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340355039853805568,"km_value":340355039853805.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5856298024455313408,"description":"Unknown IO ID 45"} 
[2026-07-07 03:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544041728001,"power":27876,"unknown_146":206,"unknown_80":60160,"ignition":20,"odometer":null,"unknown_45":5856298024455313408}} 
[2026-07-07 03:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":126003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:33:07] local.INFO: GPS data processed {"connection_id":126003,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:33:07] local.INFO: Acknowledgment sent {"connection_id":126003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:33:37] local.INFO: TCP Data received {"connection_id":126003,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f39747000012d512a4006764b80000f00d129..."} 
[2026-07-07 03:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39747000012d512a4006764b80000f00d129..."} 
[2026-07-07 03:33:37] local.INFO: Processing buffer {"connection_id":126003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39747000012d512a4006764b80000f00d129..."} 
[2026-07-07 03:33:37] local.INFO: Packet analysis {"connection_id":126003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3974"} 
[2026-07-07 03:33:37] local.INFO: Extracted packet for processing {"connection_id":126003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3974"} 
[2026-07-07 03:33:37] local.INFO: GPS Element Parsed {"raw_longitude":760293952,"raw_latitude":108415872,"longitude_deg":76.0293952,"latitude_deg":10.8415872,"altitude":15,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d512a40","hex_latitude":"06764b80","is_valid_coordinates":true} 
[2026-07-07 03:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544045824001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340355039853805568,"note":"Value kept but may cause issues"} 
[2026-07-07 03:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5853342537198419968,"note":"Value kept but may cause issues"} 
[2026-07-07 03:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783375360000,"timestamp_ms":1783375360000,"timestamp_seconds":1783375360,"priority":1,"record_length":96,"hex_timestamp":"0000019f39747000"} 
[2026-07-07 03:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 03:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 03:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544045824001,"66":25908,"146":206,"80":60160,"24":0,"16":340355039853805568,"45":5853342537198419968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-07-07 03:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544045824001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:33:37] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-07 03:33:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340355039853805568,"km_value":340355039853805.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5853342537198419968,"description":"Unknown IO ID 45"} 
[2026-07-07 03:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544045824001,"power":25908,"unknown_146":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5853342537198419968}} 
[2026-07-07 03:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":126003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:33:37] local.INFO: GPS data processed {"connection_id":126003,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:33:37] local.INFO: Acknowledgment sent {"connection_id":126003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:34:00] local.INFO: TCP Data received {"connection_id":124095,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:34:00] local.INFO: Processing buffer {"connection_id":124095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:34:00] local.INFO: IMEI packet received {"connection_id":124095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":124095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:34:03] local.INFO: TCP Data received {"connection_id":124095,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:34:03] local.INFO: Processing buffer {"connection_id":124095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:34:03] local.INFO: IMEI packet received {"connection_id":124095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":124095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:34:05] local.INFO: TCP Data received {"connection_id":124095,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:34:05] local.INFO: Processing buffer {"connection_id":124095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:34:05] local.INFO: IMEI packet received {"connection_id":124095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":124095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:34:06] local.INFO: TCP Data received {"connection_id":124095,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f39747bb8012d51298006764738000f00e32a..."} 
[2026-07-07 03:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39747bb8012d51298006764738000f00e32a..."} 
[2026-07-07 03:34:06] local.INFO: Processing buffer {"connection_id":124095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39747bb8012d51298006764738000f00e32a..."} 
[2026-07-07 03:34:06] local.INFO: Packet analysis {"connection_id":124095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3974"} 
[2026-07-07 03:34:06] local.INFO: Extracted packet for processing {"connection_id":124095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3974"} 
[2026-07-07 03:34:06] local.INFO: GPS Element Parsed {"raw_longitude":760293760,"raw_latitude":108414776,"longitude_deg":76.029376,"latitude_deg":10.8414776,"altitude":15,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d512980","hex_latitude":"06764738","is_valid_coordinates":true} 
[2026-07-07 03:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544092160001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340355039853805568,"note":"Value kept but may cause issues"} 
[2026-07-07 03:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5848557462592651264,"note":"Value kept but may cause issues"} 
[2026-07-07 03:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783375363000,"timestamp_ms":1783375363000,"timestamp_seconds":1783375363,"priority":1,"record_length":96,"hex_timestamp":"0000019f39747bb8"} 
[2026-07-07 03:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:34: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-07-07 03:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-07 03:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544092160001,"66":25680,"146":206,"80":60160,"24":0,"16":340355039853805568,"45":5848557462592651264},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-07-07 03:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544092160001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:34:06] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-07 03:34:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340355039853805568,"km_value":340355039853805.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5848557462592651264,"description":"Unknown IO ID 45"} 
[2026-07-07 03:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544092160001,"power":25680,"unknown_146":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5848557462592651264}} 
[2026-07-07 03:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":124095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:34:06] local.INFO: GPS data processed {"connection_id":124095,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:34:06] local.INFO: Acknowledgment sent {"connection_id":124095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:34:10] local.INFO: TCP Data received {"connection_id":124095,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3974cdc0012d51298006764738000f00e32c..."} 
[2026-07-07 03:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3974cdc0012d51298006764738000f00e32c..."} 
[2026-07-07 03:34:11] local.INFO: Processing buffer {"connection_id":124095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3974cdc0012d51298006764738000f00e32c..."} 
[2026-07-07 03:34:11] local.INFO: Packet analysis {"connection_id":124095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3974"} 
[2026-07-07 03:34:11] local.INFO: Extracted packet for processing {"connection_id":124095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3974"} 
[2026-07-07 03:34:11] local.INFO: GPS Element Parsed {"raw_longitude":760293760,"raw_latitude":108414776,"longitude_deg":76.029376,"latitude_deg":10.8414776,"altitude":15,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d512980","hex_latitude":"06764738","is_valid_coordinates":true} 
[2026-07-07 03:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544092928001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340355039853805568,"note":"Value kept but may cause issues"} 
[2026-07-07 03:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5848346356359837696,"note":"Value kept but may cause issues"} 
[2026-07-07 03:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783375384000,"timestamp_ms":1783375384000,"timestamp_seconds":1783375384,"priority":1,"record_length":96,"hex_timestamp":"0000019f3974cdc0"} 
[2026-07-07 03:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:34: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-07-07 03:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 03:34: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-07-07 03:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544092928001,"66":27300,"146":206,"80":60160,"24":0,"16":340355039853805568,"45":5848346356359837696},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-07-07 03:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544092928001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:34:11] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-07 03:34:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340355039853805568,"km_value":340355039853805.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5848346356359837696,"description":"Unknown IO ID 45"} 
[2026-07-07 03:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544092928001,"power":27300,"unknown_146":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5848346356359837696}} 
[2026-07-07 03:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":124095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:34:11] local.INFO: GPS data processed {"connection_id":124095,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:34:11] local.INFO: Acknowledgment sent {"connection_id":124095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:34:42] local.INFO: TCP Data received {"connection_id":124095,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f39751fc8012d51298006764738000f00e32a..."} 
[2026-07-07 03:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39751fc8012d51298006764738000f00e32a..."} 
[2026-07-07 03:34:42] local.INFO: Processing buffer {"connection_id":124095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39751fc8012d51298006764738000f00e32a..."} 
[2026-07-07 03:34:42] local.INFO: Packet analysis {"connection_id":124095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3975"} 
[2026-07-07 03:34:42] local.INFO: Extracted packet for processing {"connection_id":124095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3975"} 
[2026-07-07 03:34:42] local.INFO: GPS Element Parsed {"raw_longitude":760293760,"raw_latitude":108414776,"longitude_deg":76.029376,"latitude_deg":10.8414776,"altitude":15,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d512980","hex_latitude":"06764738","is_valid_coordinates":true} 
[2026-07-07 03:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544098304001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340355039853805568,"note":"Value kept but may cause issues"} 
[2026-07-07 03:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5848346356359837696,"note":"Value kept but may cause issues"} 
[2026-07-07 03:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783375405000,"timestamp_ms":1783375405000,"timestamp_seconds":1783375405,"priority":1,"record_length":96,"hex_timestamp":"0000019f39751fc8"} 
[2026-07-07 03:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03: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-07-07 03: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 03:34: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-07-07 03:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544098304001,"66":27343,"146":206,"80":60160,"24":0,"16":340355039853805568,"45":5848346356359837696},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-07-07 03:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544098304001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:34:42] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-07 03:34:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340355039853805568,"km_value":340355039853805.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5848346356359837696,"description":"Unknown IO ID 45"} 
[2026-07-07 03:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544098304001,"power":27343,"unknown_146":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5848346356359837696}} 
[2026-07-07 03:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":124095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:34:42] local.INFO: GPS data processed {"connection_id":124095,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:34:42] local.INFO: Acknowledgment sent {"connection_id":124095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:35:02] local.INFO: TCP Data received {"connection_id":124097,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:35:02] local.INFO: Processing buffer {"connection_id":124097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:35:02] local.INFO: IMEI packet received {"connection_id":124097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":124097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:35:05] local.INFO: TCP Data received {"connection_id":124097,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:35:05] local.INFO: Processing buffer {"connection_id":124097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:35:05] local.INFO: IMEI packet received {"connection_id":124097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":124097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:35:10] local.INFO: TCP Data received {"connection_id":124097,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:35:10] local.INFO: Processing buffer {"connection_id":124097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:35:10] local.INFO: IMEI packet received {"connection_id":124097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":124097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:35:13] local.INFO: TCP Data received {"connection_id":124097,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f397571d0012d511a8006763c60001600e42e..."} 
[2026-07-07 03:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f397571d0012d511a8006763c60001600e42e..."} 
[2026-07-07 03:35:13] local.INFO: Processing buffer {"connection_id":124097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f397571d0012d511a8006763c60001600e42e..."} 
[2026-07-07 03:35:13] local.INFO: Packet analysis {"connection_id":124097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3975"} 
[2026-07-07 03:35:13] local.INFO: Extracted packet for processing {"connection_id":124097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3975"} 
[2026-07-07 03:35:13] local.INFO: GPS Element Parsed {"raw_longitude":760289920,"raw_latitude":108412000,"longitude_deg":76.028992,"latitude_deg":10.8412,"altitude":22,"angle":228,"satellites":46,"speed":17,"hex_longitude":"2d511a80","hex_latitude":"06763c60","is_valid_coordinates":true} 
[2026-07-07 03:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544103680001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340355267487072256,"note":"Value kept but may cause issues"} 
[2026-07-07 03:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5848346356359837696,"note":"Value kept but may cause issues"} 
[2026-07-07 03:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783375426000,"timestamp_ms":1783375426000,"timestamp_seconds":1783375426,"priority":1,"record_length":96,"hex_timestamp":"0000019f397571d0"} 
[2026-07-07 03:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:35: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-07-07 03:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 03:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:35: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-07-07 03:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544103680001,"66":27463,"146":206,"80":60160,"24":17,"16":340355267487072256,"45":5848346356359837696},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-07-07 03:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544103680001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:35:13] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-07 03:35:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340355267487072256,"km_value":340355267487072.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5848346356359837696,"description":"Unknown IO ID 45"} 
[2026-07-07 03:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544103680001,"power":27463,"unknown_146":206,"unknown_80":60160,"ignition":17,"odometer":null,"unknown_45":5848346356359837696}} 
[2026-07-07 03:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":124097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:35:13] local.INFO: GPS data processed {"connection_id":124097,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:35:13] local.INFO: Acknowledgment sent {"connection_id":124097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:35:14] local.INFO: TCP Data received {"connection_id":124097,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f397598e0012d510ac006762fc8001600ef2f..."} 
[2026-07-07 03:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f397598e0012d510ac006762fc8001600ef2f..."} 
[2026-07-07 03:35:14] local.INFO: Processing buffer {"connection_id":124097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f397598e0012d510ac006762fc8001600ef2f..."} 
[2026-07-07 03:35:14] local.INFO: Packet analysis {"connection_id":124097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3975"} 
[2026-07-07 03:35:14] local.INFO: Extracted packet for processing {"connection_id":124097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3975"} 
[2026-07-07 03:35:14] local.INFO: GPS Element Parsed {"raw_longitude":760285888,"raw_latitude":108408776,"longitude_deg":76.0285888,"latitude_deg":10.8408776,"altitude":22,"angle":239,"satellites":47,"speed":24,"hex_longitude":"2d510ac0","hex_latitude":"06762fc8","is_valid_coordinates":true} 
[2026-07-07 03:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544109056001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340355516595175424,"note":"Value kept but may cause issues"} 
[2026-07-07 03:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5844124231708467200,"note":"Value kept but may cause issues"} 
[2026-07-07 03:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783375436000,"timestamp_ms":1783375436000,"timestamp_seconds":1783375436,"priority":1,"record_length":96,"hex_timestamp":"0000019f397598e0"} 
[2026-07-07 03:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:35: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-07-07 03:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 03:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544109056001,"66":27376,"167":206,"80":60160,"24":24,"16":340355516595175424,"45":5844124231708467200},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-07-07 03:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544109056001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:35:14] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 03:35:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340355516595175424,"km_value":340355516595175.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5844124231708467200,"description":"Unknown IO ID 45"} 
[2026-07-07 03:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544109056001,"power":27376,"unknown_167":206,"unknown_80":60160,"ignition":24,"odometer":null,"unknown_45":5844124231708467200}} 
[2026-07-07 03:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":124097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:35:14] local.INFO: GPS data processed {"connection_id":124097,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:35:14] local.INFO: Acknowledgment sent {"connection_id":124097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:35:29] local.INFO: TCP Data received {"connection_id":124096,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:35:29] local.INFO: Processing buffer {"connection_id":124096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:35:29] local.INFO: IMEI packet received {"connection_id":124096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 03:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":124096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:36:05] local.INFO: TCP Data received {"connection_id":126005,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:36:05] local.INFO: Processing buffer {"connection_id":126005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:36:05] local.INFO: IMEI packet received {"connection_id":126005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 03:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":126005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:36:40] local.INFO: TCP Data received {"connection_id":126006,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:36:40] local.INFO: Processing buffer {"connection_id":126006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:36:40] local.INFO: IMEI packet received {"connection_id":126006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":126006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:37:04] local.INFO: TCP Data received {"connection_id":124753,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:37:04] local.INFO: Processing buffer {"connection_id":124753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:37:04] local.INFO: IMEI packet received {"connection_id":124753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":124753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:37:05] local.INFO: TCP Data received {"connection_id":124753,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:37:05] local.INFO: Processing buffer {"connection_id":124753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:37:05] local.INFO: IMEI packet received {"connection_id":124753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":124753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:37:19] local.INFO: TCP Data received {"connection_id":124753,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:37:19] local.INFO: Processing buffer {"connection_id":124753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:37:19] local.INFO: IMEI packet received {"connection_id":124753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":124753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:37:21] local.INFO: TCP Data received {"connection_id":124753,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3976d930012d4ff8c006761ca0000f00d02a..."} 
[2026-07-07 03:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3976d930012d4ff8c006761ca0000f00d02a..."} 
[2026-07-07 03:37:21] local.INFO: Processing buffer {"connection_id":124753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3976d930012d4ff8c006761ca0000f00d02a..."} 
[2026-07-07 03:37:21] local.INFO: Packet analysis {"connection_id":124753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3976"} 
[2026-07-07 03:37:21] local.INFO: Extracted packet for processing {"connection_id":124753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3976"} 
[2026-07-07 03:37:21] local.INFO: GPS Element Parsed {"raw_longitude":760215744,"raw_latitude":108403872,"longitude_deg":76.0215744,"latitude_deg":10.8403872,"altitude":15,"angle":208,"satellites":42,"speed":18,"hex_longitude":"2d4ff8c0","hex_latitude":"06761ca0","is_valid_coordinates":true} 
[2026-07-07 03: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-07-07 03:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544132352001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340358918209273856,"note":"Value kept but may cause issues"} 
[2026-07-07 03:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5762848332181286912,"note":"Value kept but may cause issues"} 
[2026-07-07 03:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783375518000,"timestamp_ms":1783375518000,"timestamp_seconds":1783375518,"priority":1,"record_length":96,"hex_timestamp":"0000019f3976d930"} 
[2026-07-07 03:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 03:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03: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-07-07 03:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544132352001,"66":27376,"167":206,"80":60160,"24":18,"16":340358918209273856,"45":5762848332181286912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-07-07 03:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544132352001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:37:21] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 03:37:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340358918209273856,"km_value":340358918209273.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5762848332181286912,"description":"Unknown IO ID 45"} 
[2026-07-07 03:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544132352001,"power":27376,"unknown_167":206,"unknown_80":60160,"ignition":18,"odometer":null,"unknown_45":5762848332181286912}} 
[2026-07-07 03:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":124753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:37:21] local.INFO: GPS data processed {"connection_id":124753,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:37:21] local.INFO: Acknowledgment sent {"connection_id":124753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:37:59] local.INFO: TCP Data received {"connection_id":124098,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:37:59] local.INFO: Processing buffer {"connection_id":124098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:37:59] local.INFO: IMEI packet received {"connection_id":124098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":124098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:38:01] local.INFO: TCP Data received {"connection_id":124098,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:38:01] local.INFO: Processing buffer {"connection_id":124098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:38:01] local.INFO: IMEI packet received {"connection_id":124098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":124098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:38:02] local.INFO: TCP Data received {"connection_id":124098,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:38:02] local.INFO: Processing buffer {"connection_id":124098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:38:02] local.INFO: IMEI packet received {"connection_id":124098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":124098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:38:05] local.INFO: TCP Data received {"connection_id":124098,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:38:05] local.INFO: Processing buffer {"connection_id":124098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:38:05] local.INFO: IMEI packet received {"connection_id":124098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":124098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:38:07] local.INFO: TCP Data received {"connection_id":124098,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f397834d8012d4f8e80067596c8002500f32b..."} 
[2026-07-07 03:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f397834d8012d4f8e80067596c8002500f32b..."} 
[2026-07-07 03:38:07] local.INFO: Processing buffer {"connection_id":124098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f397834d8012d4f8e80067596c8002500f32b..."} 
[2026-07-07 03:38:07] local.INFO: Packet analysis {"connection_id":124098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3978"} 
[2026-07-07 03:38:07] local.INFO: Extracted packet for processing {"connection_id":124098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3978"} 
[2026-07-07 03:38:07] local.INFO: GPS Element Parsed {"raw_longitude":760188544,"raw_latitude":108369608,"longitude_deg":76.0188544,"latitude_deg":10.8369608,"altitude":37,"angle":243,"satellites":43,"speed":26,"hex_longitude":"2d4f8e80","hex_latitude":"067596c8","is_valid_coordinates":true} 
[2026-07-07 03:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544153600001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340361267556384768,"note":"Value kept but may cause issues"} 
[2026-07-07 03:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5736882265571465216,"note":"Value kept but may cause issues"} 
[2026-07-07 03:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783375607000,"timestamp_ms":1783375607000,"timestamp_seconds":1783375607,"priority":1,"record_length":96,"hex_timestamp":"0000019f397834d8"} 
[2026-07-07 03:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 03:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544153600001,"66":27213,"233":206,"80":60160,"24":26,"16":340361267556384768,"45":5736882265571465216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,80,24,16,45]} 
[2026-07-07 03:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544153600001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:38:07] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-07 03:38:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340361267556384768,"km_value":340361267556384.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5736882265571465216,"description":"Unknown IO ID 45"} 
[2026-07-07 03:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544153600001,"power":27213,"unknown_233":206,"unknown_80":60160,"ignition":26,"odometer":null,"unknown_45":5736882265571465216}} 
[2026-07-07 03:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":124098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:38:07] local.INFO: GPS data processed {"connection_id":124098,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:38:07] local.INFO: Acknowledgment sent {"connection_id":124098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:38:39] local.INFO: TCP Data received {"connection_id":124098,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f397863b8012d4f700006758878002700e12a..."} 
[2026-07-07 03:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f397863b8012d4f700006758878002700e12a..."} 
[2026-07-07 03:38:39] local.INFO: Processing buffer {"connection_id":124098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f397863b8012d4f700006758878002700e12a..."} 
[2026-07-07 03:38:39] local.INFO: Packet analysis {"connection_id":124098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3978"} 
[2026-07-07 03:38:39] local.INFO: Extracted packet for processing {"connection_id":124098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3978"} 
[2026-07-07 03:38:39] local.INFO: GPS Element Parsed {"raw_longitude":760180736,"raw_latitude":108365944,"longitude_deg":76.0180736,"latitude_deg":10.8365944,"altitude":39,"angle":225,"satellites":42,"speed":25,"hex_longitude":"2d4f7000","hex_latitude":"06758878","is_valid_coordinates":true} 
[2026-07-07 03: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-07-07 03:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544155392001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340361679873245184,"note":"Value kept but may cause issues"} 
[2026-07-07 03:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5732660140920195072,"note":"Value kept but may cause issues"} 
[2026-07-07 03:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783375619000,"timestamp_ms":1783375619000,"timestamp_seconds":1783375619,"priority":1,"record_length":96,"hex_timestamp":"0000019f397863b8"} 
[2026-07-07 03:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:38: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-07-07 03: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 03:38: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-07-07 03: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-07-07 03:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544155392001,"66":27484,"233":206,"80":60160,"24":25,"16":340361679873245184,"45":5732660140920195072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,80,24,16,45]} 
[2026-07-07 03:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544155392001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:38:39] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-07 03:38:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340361679873245184,"km_value":340361679873245.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5732660140920195072,"description":"Unknown IO ID 45"} 
[2026-07-07 03:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544155392001,"power":27484,"unknown_233":206,"unknown_80":60160,"ignition":25,"odometer":null,"unknown_45":5732660140920195072}} 
[2026-07-07 03:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":124098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:38:39] local.INFO: GPS data processed {"connection_id":124098,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:38:39] local.INFO: Acknowledgment sent {"connection_id":124098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:39:03] local.INFO: TCP Data received {"connection_id":124754,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:39:03] local.INFO: Processing buffer {"connection_id":124754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:39:03] local.INFO: IMEI packet received {"connection_id":124754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":124754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:39:05] local.INFO: TCP Data received {"connection_id":124754,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:39:05] local.INFO: Processing buffer {"connection_id":124754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:39:05] local.INFO: IMEI packet received {"connection_id":124754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":124754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:39:05] local.INFO: TCP Data received {"connection_id":124754,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:39:05] local.INFO: Processing buffer {"connection_id":124754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:39:05] local.INFO: IMEI packet received {"connection_id":124754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":124754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:39:07] local.INFO: TCP Data received {"connection_id":124754,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:39:07] local.INFO: Processing buffer {"connection_id":124754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:39:07] local.INFO: IMEI packet received {"connection_id":124754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":124754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:39:08] local.INFO: TCP Data received {"connection_id":124754,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f39794648012d4fa9400674d1f0001f00952b..."} 
[2026-07-07 03:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39794648012d4fa9400674d1f0001f00952b..."} 
[2026-07-07 03:39:08] local.INFO: Processing buffer {"connection_id":124754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39794648012d4fa9400674d1f0001f00952b..."} 
[2026-07-07 03:39:08] local.INFO: Packet analysis {"connection_id":124754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3979"} 
[2026-07-07 03:39:08] local.INFO: Extracted packet for processing {"connection_id":124754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3979"} 
[2026-07-07 03:39:08] local.INFO: GPS Element Parsed {"raw_longitude":760195392,"raw_latitude":108319216,"longitude_deg":76.0195392,"latitude_deg":10.8319216,"altitude":31,"angle":149,"satellites":43,"speed":44,"hex_longitude":"2d4fa940","hex_latitude":"0674d1f0","is_valid_coordinates":true} 
[2026-07-07 03:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544171264001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340364540321464320,"note":"Value kept but may cause issues"} 
[2026-07-07 03:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5734348990769647616,"note":"Value kept but may cause issues"} 
[2026-07-07 03:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783375677000,"timestamp_ms":1783375677000,"timestamp_seconds":1783375677,"priority":1,"record_length":96,"hex_timestamp":"0000019f39794648"} 
[2026-07-07 03:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:39: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-07-07 03:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 03:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544171264001,"66":27343,"159":206,"80":60160,"24":44,"16":340364540321464320,"45":5734348990769647616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,80,24,16,45]} 
[2026-07-07 03:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544171264001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:39:08] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-07 03:39:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340364540321464320,"km_value":340364540321464.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5734348990769647616,"description":"Unknown IO ID 45"} 
[2026-07-07 03:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544171264001,"power":27343,"unknown_159":206,"unknown_80":60160,"ignition":44,"odometer":null,"unknown_45":5734348990769647616}} 
[2026-07-07 03:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":124754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:39:08] local.INFO: GPS data processed {"connection_id":124754,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:39:08] local.INFO: Acknowledgment sent {"connection_id":124754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:39:40] local.INFO: TCP Data received {"connection_id":124754,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f397a1168012d4fcb4006746748002700d52b..."} 
[2026-07-07 03:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f397a1168012d4fcb4006746748002700d52b..."} 
[2026-07-07 03:39:40] local.INFO: Processing buffer {"connection_id":124754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f397a1168012d4fcb4006746748002700d52b..."} 
[2026-07-07 03:39:40] local.INFO: Packet analysis {"connection_id":124754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f397a"} 
[2026-07-07 03:39:40] local.INFO: Extracted packet for processing {"connection_id":124754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f397a"} 
[2026-07-07 03:39:40] local.INFO: GPS Element Parsed {"raw_longitude":760204096,"raw_latitude":108291912,"longitude_deg":76.0204096,"latitude_deg":10.8291912,"altitude":39,"angle":213,"satellites":43,"speed":36,"hex_longitude":"2d4fcb40","hex_latitude":"06746748","is_valid_coordinates":true} 
[2026-07-07 03:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544185856001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340366631970537472,"note":"Value kept but may cause issues"} 
[2026-07-07 03:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5751589333084624896,"note":"Value kept but may cause issues"} 
[2026-07-07 03:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783375729000,"timestamp_ms":1783375729000,"timestamp_seconds":1783375729,"priority":1,"record_length":96,"hex_timestamp":"0000019f397a1168"} 
[2026-07-07 03:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 03:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:39: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-07-07 03:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544185856001,"66":27234,"161":206,"80":60160,"24":36,"16":340366631970537472,"45":5751589333084624896},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,80,24,16,45]} 
[2026-07-07 03:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544185856001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:39:40] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-07 03:39:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340366631970537472,"km_value":340366631970537.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5751589333084624896,"description":"Unknown IO ID 45"} 
[2026-07-07 03:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544185856001,"power":27234,"unknown_161":206,"unknown_80":60160,"ignition":36,"odometer":null,"unknown_45":5751589333084624896}} 
[2026-07-07 03:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":124754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:39:40] local.INFO: GPS data processed {"connection_id":124754,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:39:40] local.INFO: Acknowledgment sent {"connection_id":124754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:39:59] local.INFO: TCP Data received {"connection_id":124755,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:39:59] local.INFO: Processing buffer {"connection_id":124755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:39:59] local.INFO: IMEI packet received {"connection_id":124755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":124755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:40:00] local.INFO: TCP Data received {"connection_id":124755,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:40:00] local.INFO: Processing buffer {"connection_id":124755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:40:00] local.INFO: IMEI packet received {"connection_id":124755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":124755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:40:02] local.INFO: TCP Data received {"connection_id":124755,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:40:02] local.INFO: Processing buffer {"connection_id":124755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:40:02] local.INFO: IMEI packet received {"connection_id":124755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":124755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:40:03] local.INFO: TCP Data received {"connection_id":124755,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f397a3490012d4fb78006744d68002800e22a..."} 
[2026-07-07 03:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f397a3490012d4fb78006744d68002800e22a..."} 
[2026-07-07 03:40:03] local.INFO: Processing buffer {"connection_id":124755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f397a3490012d4fb78006744d68002800e22a..."} 
[2026-07-07 03:40:03] local.INFO: Packet analysis {"connection_id":124755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f397a"} 
[2026-07-07 03:40:03] local.INFO: Extracted packet for processing {"connection_id":124755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f397a"} 
[2026-07-07 03:40:03] local.INFO: GPS Element Parsed {"raw_longitude":760199040,"raw_latitude":108285288,"longitude_deg":76.019904,"latitude_deg":10.8285288,"altitude":40,"angle":226,"satellites":42,"speed":37,"hex_longitude":"2d4fb780","hex_latitude":"06744d68","is_valid_coordinates":true} 
[2026-07-07 03:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544186624001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340367035697463296,"note":"Value kept but may cause issues"} 
[2026-07-07 03:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5749759745735477248,"note":"Value kept but may cause issues"} 
[2026-07-07 03:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783375738000,"timestamp_ms":1783375738000,"timestamp_seconds":1783375738,"priority":1,"record_length":96,"hex_timestamp":"0000019f397a3490"} 
[2026-07-07 03:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:40: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-07-07 03:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 03:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544186624001,"66":27267,"161":206,"80":60160,"24":37,"16":340367035697463296,"45":5749759745735477248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,80,24,16,45]} 
[2026-07-07 03:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544186624001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:40:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-07 03:40:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340367035697463296,"km_value":340367035697463.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5749759745735477248,"description":"Unknown IO ID 45"} 
[2026-07-07 03:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544186624001,"power":27267,"unknown_161":206,"unknown_80":60160,"ignition":37,"odometer":null,"unknown_45":5749759745735477248}} 
[2026-07-07 03:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":124755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:40:03] local.INFO: GPS data processed {"connection_id":124755,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:40:03] local.INFO: Acknowledgment sent {"connection_id":124755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:40:33] local.INFO: TCP Data received {"connection_id":124755,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f397adc88012d4f3e400673f040001d00af2a..."} 
[2026-07-07 03:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f397adc88012d4f3e400673f040001d00af2a..."} 
[2026-07-07 03:40:33] local.INFO: Processing buffer {"connection_id":124755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f397adc88012d4f3e400673f040001d00af2a..."} 
[2026-07-07 03:40:33] local.INFO: Packet analysis {"connection_id":124755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f397a"} 
[2026-07-07 03:40:33] local.INFO: Extracted packet for processing {"connection_id":124755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f397a"} 
[2026-07-07 03:40:33] local.INFO: GPS Element Parsed {"raw_longitude":760168000,"raw_latitude":108261440,"longitude_deg":76.0168,"latitude_deg":10.826144,"altitude":29,"angle":175,"satellites":42,"speed":56,"hex_longitude":"2d4f3e40","hex_latitude":"0673f040","is_valid_coordinates":true} 
[2026-07-07 03:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544199168001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340369174591176704,"note":"Value kept but may cause issues"} 
[2026-07-07 03:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5710142142756677632,"note":"Value kept but may cause issues"} 
[2026-07-07 03:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783375781000,"timestamp_ms":1783375781000,"timestamp_seconds":1783375781,"priority":1,"record_length":96,"hex_timestamp":"0000019f397adc88"} 
[2026-07-07 03:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 03:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544199168001,"66":27463,"233":206,"80":60160,"24":56,"16":340369174591176704,"45":5710142142756677632},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,80,24,16,45]} 
[2026-07-07 03:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544199168001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:40:33] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-07 03:40:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340369174591176704,"km_value":340369174591176.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5710142142756677632,"description":"Unknown IO ID 45"} 
[2026-07-07 03:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544199168001,"power":27463,"unknown_233":206,"unknown_80":60160,"ignition":56,"odometer":null,"unknown_45":5710142142756677632}} 
[2026-07-07 03:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":124755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:40:34] local.INFO: GPS data processed {"connection_id":124755,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:40:34] local.INFO: Acknowledgment sent {"connection_id":124755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:41:14] local.INFO: TCP Data received {"connection_id":124099,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:41:14] local.INFO: Processing buffer {"connection_id":124099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:41:14] local.INFO: IMEI packet received {"connection_id":124099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":124099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:41:21] local.INFO: TCP Data received {"connection_id":124099,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:41:21] local.INFO: Processing buffer {"connection_id":124099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:41:21] local.INFO: IMEI packet received {"connection_id":124099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":124099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:41:27] local.INFO: TCP Data received {"connection_id":124099,"ip":"42.106.6.27","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 03:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124099,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 03:41:27] local.INFO: Processing buffer {"connection_id":124099,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 03:41:27] local.INFO: IMEI packet received {"connection_id":124099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":124099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:41:30] local.INFO: TCP Data received {"connection_id":124099,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f397af3f8012d4f43400673cd90001800ac2c..."} 
[2026-07-07 03:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f397af3f8012d4f43400673cd90001800ac2c..."} 
[2026-07-07 03:41:30] local.INFO: Processing buffer {"connection_id":124099,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f39..."} 
[2026-07-07 03:41:30] local.INFO: IMEI packet received {"connection_id":124099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":124099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:41:31] local.INFO: TCP Data received {"connection_id":124099,"ip":"42.106.6.27","data_length":1348,"data_hex":"000000000000030f8e0a0000019f397b0b68012d4f49800673a8f8001500a429..."} 
[2026-07-07 03:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124099,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f397b0b68012d4f49800673a8f8001500a429..."} 
[2026-07-07 03:41:31] local.INFO: Processing buffer {"connection_id":124099,"buffer_length":2143,"buffer_hex":"000000000000030f8e0a0000019f397af3f8012d4f43400673cd90001800ac2c..."} 
[2026-07-07 03:41:31] local.INFO: Packet analysis {"connection_id":124099,"data_field_length":783,"total_packet_length":795,"buffer_length":2143,"packet_hex_start":"000000000000030f8e0a0000019f397a"} 
[2026-07-07 03:41:31] local.INFO: Extracted packet for processing {"connection_id":124099,"packet_length":795,"remaining_buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f397a"} 
[2026-07-07 03:41:31] local.INFO: GPS Element Parsed {"raw_longitude":760169280,"raw_latitude":108252560,"longitude_deg":76.016928,"latitude_deg":10.825256,"altitude":24,"angle":172,"satellites":44,"speed":62,"hex_longitude":"2d4f4340","hex_latitude":"0673cd90","is_valid_coordinates":true} 
[2026-07-07 03:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544199936001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340369608382873600,"note":"Value kept but may cause issues"} 
[2026-07-07 03:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5710071774011473920,"note":"Value kept but may cause issues"} 
[2026-07-07 03:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783375787000,"timestamp_ms":1783375787000,"timestamp_seconds":1783375787,"priority":1,"record_length":96,"hex_timestamp":"0000019f397af3f8"} 
[2026-07-07 03:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:41: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-07-07 03:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 03:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":124099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":124099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":124099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544199936001,"66":27463,"233":206,"80":60160,"24":62,"16":340369608382873600,"45":5710071774011473920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,80,24,16,45]} 
[2026-07-07 03:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544199936001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:41:31] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-07 03:41:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340369608382873600,"km_value":340369608382873.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5710071774011473920,"description":"Unknown IO ID 45"} 
[2026-07-07 03:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544199936001,"power":27463,"unknown_233":206,"unknown_80":60160,"ignition":62,"odometer":null,"unknown_45":5710071774011473920}} 
[2026-07-07 03:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":124099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:41:31] local.INFO: GPS data processed {"connection_id":124099,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:41:31] local.INFO: Acknowledgment sent {"connection_id":124099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:41:31] local.INFO: Packet analysis {"connection_id":124099,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f397b"} 
[2026-07-07 03:41:31] local.INFO: Extracted packet for processing {"connection_id":124099,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f397b"} 
[2026-07-07 03:41:31] local.INFO: GPS Element Parsed {"raw_longitude":760170880,"raw_latitude":108243192,"longitude_deg":76.017088,"latitude_deg":10.8243192,"altitude":21,"angle":164,"satellites":41,"speed":62,"hex_longitude":"2d4f4980","hex_latitude":"0673a8f8","is_valid_coordinates":true} 
[2026-07-07 03:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544201472001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340370072239341568,"note":"Value kept but may cause issues"} 
[2026-07-07 03:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5711479148892753920,"note":"Value kept but may cause issues"} 
[2026-07-07 03:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783375793000,"timestamp_ms":1783375793000,"timestamp_seconds":1783375793,"priority":1,"record_length":96,"hex_timestamp":"0000019f397b0b68"} 
[2026-07-07 03:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:41: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-07-07 03:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 03:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":124099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":124099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":124099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544201472001,"66":27571,"234":206,"80":60160,"24":62,"16":340370072239341568,"45":5711479148892753920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,80,24,16,45]} 
[2026-07-07 03:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544201472001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:41:31] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-07 03:41:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340370072239341568,"km_value":340370072239341.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5711479148892753920,"description":"Unknown IO ID 45"} 
[2026-07-07 03:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544201472001,"power":27571,"unknown_234":206,"unknown_80":60160,"ignition":62,"odometer":null,"unknown_45":5711479148892753920}} 
[2026-07-07 03:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":124099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:41:31] local.INFO: GPS data processed {"connection_id":124099,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:41:31] local.INFO: Acknowledgment sent {"connection_id":124099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:41:31] local.INFO: Packet analysis {"connection_id":124099,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f397b"} 
[2026-07-07 03:41:31] local.INFO: Incomplete packet, waiting for more data {"connection_id":124099,"needed":795,"available":553} 
[2026-07-07 03:41:33] local.INFO: TCP Data received {"connection_id":124099,"ip":"42.106.6.27","data_length":1037,"data_hex":"0000000000019f397a9a20012d4f5a40067431c0002500e42700280000000a00..."} 
[2026-07-07 03:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124099,"packet_length":1037,"packet_hex":"0000000000019f397a9a20012d4f5a40067431c0002500e42700280000000a00..."} 
[2026-07-07 03:41:33] local.INFO: Processing buffer {"connection_id":124099,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f397b22d8012d4f5580067388500018009e2c..."} 
[2026-07-07 03:41:33] local.INFO: Packet analysis {"connection_id":124099,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f397b"} 
[2026-07-07 03:41:33] local.INFO: Extracted packet for processing {"connection_id":124099,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f397b"} 
[2026-07-07 03:41:33] local.INFO: GPS Element Parsed {"raw_longitude":760173952,"raw_latitude":108234832,"longitude_deg":76.0173952,"latitude_deg":10.8234832,"altitude":24,"angle":158,"satellites":44,"speed":51,"hex_longitude":"2d4f5580","hex_latitude":"06738850","is_valid_coordinates":true} 
[2026-07-07 03:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544203008001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340370501736071168,"note":"Value kept but may cause issues"} 
[2026-07-07 03:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5713238367494797312,"note":"Value kept but may cause issues"} 
[2026-07-07 03:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783375799000,"timestamp_ms":1783375799000,"timestamp_seconds":1783375799,"priority":1,"record_length":96,"hex_timestamp":"0000019f397b22d8"} 
[2026-07-07 03:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 03:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544203008001,"66":27343,"234":206,"80":60160,"24":51,"16":340370501736071168,"45":5713238367494797312},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,80,24,16,45]} 
[2026-07-07 03:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544203008001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:41:33] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-07 03:41:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340370501736071168,"km_value":340370501736071.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5713238367494797312,"description":"Unknown IO ID 45"} 
[2026-07-07 03:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544203008001,"power":27343,"unknown_234":206,"unknown_80":60160,"ignition":51,"odometer":null,"unknown_45":5713238367494797312}} 
[2026-07-07 03:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":124099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:41:33] local.INFO: GPS data processed {"connection_id":124099,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:41:33] local.INFO: Acknowledgment sent {"connection_id":124099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:41:33] local.INFO: Packet analysis {"connection_id":124099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f397b"} 
[2026-07-07 03:41:33] local.INFO: Extracted packet for processing {"connection_id":124099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f397b"} 
[2026-07-07 03:41:33] local.INFO: GPS Element Parsed {"raw_longitude":760178432,"raw_latitude":108226856,"longitude_deg":76.0178432,"latitude_deg":10.8226856,"altitude":28,"angle":149,"satellites":43,"speed":41,"hex_longitude":"2d4f6700","hex_latitude":"06736928","is_valid_coordinates":true} 
[2026-07-07 03:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544204544001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340370944117702656,"note":"Value kept but may cause issues"} 
[2026-07-07 03:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5716616067213185024,"note":"Value kept but may cause issues"} 
[2026-07-07 03:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783375807000,"timestamp_ms":1783375807000,"timestamp_seconds":1783375807,"priority":1,"record_length":96,"hex_timestamp":"0000019f397b4218"} 
[2026-07-07 03:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 03:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544204544001,"66":27180,"234":206,"80":60160,"24":41,"16":340370944117702656,"45":5716616067213185024},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,80,24,16,45]} 
[2026-07-07 03:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544204544001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:41:33] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-07 03:41:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340370944117702656,"km_value":340370944117702.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5716616067213185024,"description":"Unknown IO ID 45"} 
[2026-07-07 03:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544204544001,"power":27180,"unknown_234":206,"unknown_80":60160,"ignition":41,"odometer":null,"unknown_45":5716616067213185024}} 
[2026-07-07 03:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":124099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:41:33] local.INFO: GPS data processed {"connection_id":124099,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:41:33] local.INFO: Acknowledgment sent {"connection_id":124099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:42:00] local.INFO: TCP Data received {"connection_id":126009,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:42:00] local.INFO: Processing buffer {"connection_id":126009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:42:00] local.INFO: IMEI packet received {"connection_id":126009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 03:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":126009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:42:00] local.INFO: TCP Data received {"connection_id":123985,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:42:00] local.INFO: Processing buffer {"connection_id":123985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:42:00] local.INFO: IMEI packet received {"connection_id":123985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":123985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:42:01] local.INFO: TCP Data received {"connection_id":123985,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:42:01] local.INFO: Processing buffer {"connection_id":123985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:42:01] local.INFO: IMEI packet received {"connection_id":123985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":123985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:42:05] local.INFO: TCP Data received {"connection_id":123985,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:42:05] local.INFO: Processing buffer {"connection_id":123985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:42:05] local.INFO: IMEI packet received {"connection_id":123985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":123985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:42:08] local.INFO: TCP Data received {"connection_id":123985,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f397c24a8012d4f7200067283c8000e00f529..."} 
[2026-07-07 03:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f397c24a8012d4f7200067283c8000e00f529..."} 
[2026-07-07 03:42:08] local.INFO: Processing buffer {"connection_id":123985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f397c24a8012d4f7200067283c8000e00f529..."} 
[2026-07-07 03:42:08] local.INFO: Packet analysis {"connection_id":123985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f397c"} 
[2026-07-07 03:42:08] local.INFO: Extracted packet for processing {"connection_id":123985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f397c"} 
[2026-07-07 03:42:08] local.INFO: GPS Element Parsed {"raw_longitude":760181248,"raw_latitude":108168136,"longitude_deg":76.0181248,"latitude_deg":10.8168136,"altitude":14,"angle":245,"satellites":41,"speed":55,"hex_longitude":"2d4f7200","hex_latitude":"067283c8","is_valid_coordinates":true} 
[2026-07-07 03:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544220672001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340374122393501696,"note":"Value kept but may cause issues"} 
[2026-07-07 03:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5728578753706885120,"note":"Value kept but may cause issues"} 
[2026-07-07 03:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783375865000,"timestamp_ms":1783375865000,"timestamp_seconds":1783375865,"priority":1,"record_length":96,"hex_timestamp":"0000019f397c24a8"} 
[2026-07-07 03:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 03:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":123985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":123985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":123985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544220672001,"66":27376,"143":206,"80":60160,"24":55,"16":340374122393501696,"45":5728578753706885120},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,80,24,16,45]} 
[2026-07-07 03:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544220672001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:42:08] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-07 03:42:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340374122393501696,"km_value":340374122393501.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5728578753706885120,"description":"Unknown IO ID 45"} 
[2026-07-07 03:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544220672001,"power":27376,"unknown_143":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5728578753706885120}} 
[2026-07-07 03:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":123985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:42:08] local.INFO: GPS data processed {"connection_id":123985,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:42:08] local.INFO: Acknowledgment sent {"connection_id":123985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:42:43] local.INFO: TCP Data received {"connection_id":123985,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f397c4000012d4f4b40067278a0000c00ff28..."} 
[2026-07-07 03:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f397c4000012d4f4b40067278a0000c00ff28..."} 
[2026-07-07 03:42:43] local.INFO: Processing buffer {"connection_id":123985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f397c4000012d4f4b40067278a0000c00ff28..."} 
[2026-07-07 03:42:43] local.INFO: Packet analysis {"connection_id":123985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f397c"} 
[2026-07-07 03:42:43] local.INFO: Extracted packet for processing {"connection_id":123985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f397c"} 
[2026-07-07 03:42:43] local.INFO: GPS Element Parsed {"raw_longitude":760171328,"raw_latitude":108165280,"longitude_deg":76.0171328,"latitude_deg":10.816528,"altitude":12,"angle":255,"satellites":40,"speed":58,"hex_longitude":"2d4f4b40","hex_latitude":"067278a0","is_valid_coordinates":true} 
[2026-07-07 03:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544221440001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340374616314740736,"note":"Value kept but may cause issues"} 
[2026-07-07 03:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5724638104032364544,"note":"Value kept but may cause issues"} 
[2026-07-07 03:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783375872000,"timestamp_ms":1783375872000,"timestamp_seconds":1783375872,"priority":1,"record_length":96,"hex_timestamp":"0000019f397c4000"} 
[2026-07-07 03:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:42: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-07-07 03:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 03:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544221440001,"66":27484,"143":206,"80":60160,"24":58,"16":340374616314740736,"45":5724638104032364544},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,80,24,16,45]} 
[2026-07-07 03:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544221440001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:42:43] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-07 03:42:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340374616314740736,"km_value":340374616314740.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5724638104032364544,"description":"Unknown IO ID 45"} 
[2026-07-07 03:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544221440001,"power":27484,"unknown_143":206,"unknown_80":60160,"ignition":58,"odometer":null,"unknown_45":5724638104032364544}} 
[2026-07-07 03:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":123985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:42:43] local.INFO: GPS data processed {"connection_id":123985,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:42:43] local.INFO: Acknowledgment sent {"connection_id":123985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:43:00] local.INFO: TCP Data received {"connection_id":126010,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:43:00] local.INFO: Processing buffer {"connection_id":126010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:43:00] local.INFO: IMEI packet received {"connection_id":126010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":126010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:43:02] local.INFO: TCP Data received {"connection_id":126010,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:43:02] local.INFO: Processing buffer {"connection_id":126010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:43:02] local.INFO: IMEI packet received {"connection_id":126010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":126010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:43:05] local.INFO: TCP Data received {"connection_id":126010,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:43:05] local.INFO: Processing buffer {"connection_id":126010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:43:05] local.INFO: IMEI packet received {"connection_id":126010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":126010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:43:07] local.INFO: TCP Data received {"connection_id":126010,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f397c5b58012d4f268006726e18000c00f726..."} 
[2026-07-07 03:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f397c5b58012d4f268006726e18000c00f726..."} 
[2026-07-07 03:43:07] local.INFO: Processing buffer {"connection_id":126010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f397c5b58012d4f268006726e18000c00f726..."} 
[2026-07-07 03:43:07] local.INFO: Packet analysis {"connection_id":126010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f397c"} 
[2026-07-07 03:43:07] local.INFO: Extracted packet for processing {"connection_id":126010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f397c"} 
[2026-07-07 03:43:07] local.INFO: GPS Element Parsed {"raw_longitude":760161920,"raw_latitude":108162584,"longitude_deg":76.016192,"latitude_deg":10.8162584,"altitude":12,"angle":247,"satellites":38,"speed":50,"hex_longitude":"2d4f2680","hex_latitude":"06726e18","is_valid_coordinates":true} 
[2026-07-07 03:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544223232001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340375084466176000,"note":"Value kept but may cause issues"} 
[2026-07-07 03:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5713730948684095488,"note":"Value kept but may cause issues"} 
[2026-07-07 03:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783375879000,"timestamp_ms":1783375879000,"timestamp_seconds":1783375879,"priority":1,"record_length":96,"hex_timestamp":"0000019f397c5b58"} 
[2026-07-07 03:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 03:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544223232001,"66":27365,"143":206,"80":60160,"24":50,"16":340375084466176000,"45":5713730948684095488},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,80,24,16,45]} 
[2026-07-07 03:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544223232001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:43:07] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-07 03:43:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340375084466176000,"km_value":340375084466176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5713730948684095488,"description":"Unknown IO ID 45"} 
[2026-07-07 03:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544223232001,"power":27365,"unknown_143":206,"unknown_80":60160,"ignition":50,"odometer":null,"unknown_45":5713730948684095488}} 
[2026-07-07 03:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":126010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:43:07] local.INFO: GPS data processed {"connection_id":126010,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:43:07] local.INFO: Acknowledgment sent {"connection_id":126010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:43:39] local.INFO: TCP Data received {"connection_id":126010,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f397dc6a0012d4e140006718908000800e827..."} 
[2026-07-07 03:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f397dc6a0012d4e140006718908000800e827..."} 
[2026-07-07 03:43:39] local.INFO: Processing buffer {"connection_id":126010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f397dc6a0012d4e140006718908000800e827..."} 
[2026-07-07 03:43:39] local.INFO: Packet analysis {"connection_id":126010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f397d"} 
[2026-07-07 03:43:39] local.INFO: Extracted packet for processing {"connection_id":126010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f397d"} 
[2026-07-07 03:43:39] local.INFO: GPS Element Parsed {"raw_longitude":760091648,"raw_latitude":108103944,"longitude_deg":76.0091648,"latitude_deg":10.8103944,"altitude":8,"angle":232,"satellites":39,"speed":47,"hex_longitude":"2d4e1400","hex_latitude":"06718908","is_valid_coordinates":true} 
[2026-07-07 03:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544246784001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340379538347261952,"note":"Value kept but may cause issues"} 
[2026-07-07 03:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5635480905144086528,"note":"Value kept but may cause issues"} 
[2026-07-07 03:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783375972000,"timestamp_ms":1783375972000,"timestamp_seconds":1783375972,"priority":1,"record_length":96,"hex_timestamp":"0000019f397dc6a0"} 
[2026-07-07 03:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03: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-07-07 03:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 03:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03: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-07-07 03:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544246784001,"66":27343,"145":206,"80":60160,"24":47,"16":340379538347261952,"45":5635480905144086528},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,80,24,16,45]} 
[2026-07-07 03:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544246784001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:43:39] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-07 03:43:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340379538347261952,"km_value":340379538347261.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5635480905144086528,"description":"Unknown IO ID 45"} 
[2026-07-07 03:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544246784001,"power":27343,"unknown_145":206,"unknown_80":60160,"ignition":47,"odometer":null,"unknown_45":5635480905144086528}} 
[2026-07-07 03:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":126010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:43:39] local.INFO: GPS data processed {"connection_id":126010,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:43:39] local.INFO: Acknowledgment sent {"connection_id":126010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:44:05] local.INFO: TCP Data received {"connection_id":124100,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:44:05] local.INFO: Processing buffer {"connection_id":124100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:44:05] local.INFO: IMEI packet received {"connection_id":124100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":124100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:44:07] local.INFO: TCP Data received {"connection_id":124100,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:44:07] local.INFO: Processing buffer {"connection_id":124100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:44:07] local.INFO: IMEI packet received {"connection_id":124100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":124100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:44:09] local.INFO: TCP Data received {"connection_id":124100,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f397dd258012d4e0a0006717ff8000900db29..."} 
[2026-07-07 03:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f397dd258012d4e0a0006717ff8000900db29..."} 
[2026-07-07 03:44:09] local.INFO: Processing buffer {"connection_id":124100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f397dd258012d4e0a0006717ff8000900db29..."} 
[2026-07-07 03:44:09] local.INFO: Packet analysis {"connection_id":124100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f397d"} 
[2026-07-07 03:44:09] local.INFO: Extracted packet for processing {"connection_id":124100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f397d"} 
[2026-07-07 03:44:09] local.INFO: GPS Element Parsed {"raw_longitude":760089088,"raw_latitude":108101624,"longitude_deg":76.0089088,"latitude_deg":10.8101624,"altitude":9,"angle":219,"satellites":41,"speed":42,"hex_longitude":"2d4e0a00","hex_latitude":"06717ff8","is_valid_coordinates":true} 
[2026-07-07 03:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544248832001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340379701556019200,"note":"Value kept but may cause issues"} 
[2026-07-07 03:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5626121862167201792,"note":"Value kept but may cause issues"} 
[2026-07-07 03:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783375975000,"timestamp_ms":1783375975000,"timestamp_seconds":1783375975,"priority":1,"record_length":96,"hex_timestamp":"0000019f397dd258"} 
[2026-07-07 03:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:44: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-07-07 03:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 03:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544248832001,"66":27332,"145":206,"80":60160,"24":42,"16":340379701556019200,"45":5626121862167201792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,80,24,16,45]} 
[2026-07-07 03:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544248832001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:44:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-07 03:44:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340379701556019200,"km_value":340379701556019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5626121862167201792,"description":"Unknown IO ID 45"} 
[2026-07-07 03:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544248832001,"power":27332,"unknown_145":206,"unknown_80":60160,"ignition":42,"odometer":null,"unknown_45":5626121862167201792}} 
[2026-07-07 03:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":124100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:44:09] local.INFO: GPS data processed {"connection_id":124100,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:44:09] local.INFO: Acknowledgment sent {"connection_id":124100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:44:10] local.INFO: TCP Data received {"connection_id":124100,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f397de5e0012d4e000006717040000a00cf29..."} 
[2026-07-07 03:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f397de5e0012d4e000006717040000a00cf29..."} 
[2026-07-07 03:44:10] local.INFO: Processing buffer {"connection_id":124100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f397de5e0012d4e000006717040000a00cf29..."} 
[2026-07-07 03:44:10] local.INFO: Packet analysis {"connection_id":124100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f397d"} 
[2026-07-07 03:44:10] local.INFO: Extracted packet for processing {"connection_id":124100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f397d"} 
[2026-07-07 03:44:10] local.INFO: GPS Element Parsed {"raw_longitude":760086528,"raw_latitude":108097600,"longitude_deg":76.0086528,"latitude_deg":10.80976,"altitude":10,"angle":207,"satellites":41,"speed":34,"hex_longitude":"2d4e0000","hex_latitude":"06717040","is_valid_coordinates":true} 
[2026-07-07 03:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544249600001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340379933484253184,"note":"Value kept but may cause issues"} 
[2026-07-07 03:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5623307112399501312,"note":"Value kept but may cause issues"} 
[2026-07-07 03:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783375980000,"timestamp_ms":1783375980000,"timestamp_seconds":1783375980,"priority":1,"record_length":96,"hex_timestamp":"0000019f397de5e0"} 
[2026-07-07 03:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 03:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544249600001,"66":27300,"145":206,"80":60160,"24":34,"16":340379933484253184,"45":5623307112399501312},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,80,24,16,45]} 
[2026-07-07 03:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544249600001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:44:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-07 03:44:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340379933484253184,"km_value":340379933484253.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5623307112399501312,"description":"Unknown IO ID 45"} 
[2026-07-07 03:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544249600001,"power":27300,"unknown_145":206,"unknown_80":60160,"ignition":34,"odometer":null,"unknown_45":5623307112399501312}} 
[2026-07-07 03:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":124100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:44:10] local.INFO: GPS data processed {"connection_id":124100,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:44:10] local.INFO: Acknowledgment sent {"connection_id":124100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:44:43] local.INFO: TCP Data received {"connection_id":124100,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f397e18a8012d4defc006714ed0001000cd2b..."} 
[2026-07-07 03:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f397e18a8012d4defc006714ed0001000cd2b..."} 
[2026-07-07 03:44:43] local.INFO: Processing buffer {"connection_id":124100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f397e18a8012d4defc006714ed0001000cd2b..."} 
[2026-07-07 03:44:43] local.INFO: Packet analysis {"connection_id":124100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f397e"} 
[2026-07-07 03:44:43] local.INFO: Extracted packet for processing {"connection_id":124100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f397e"} 
[2026-07-07 03:44:43] local.INFO: GPS Element Parsed {"raw_longitude":760082368,"raw_latitude":108089040,"longitude_deg":76.0082368,"latitude_deg":10.808904,"altitude":16,"angle":205,"satellites":43,"speed":27,"hex_longitude":"2d4defc0","hex_latitude":"06714ed0","is_valid_coordinates":true} 
[2026-07-07 03:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544250880001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340380393045753856,"note":"Value kept but may cause issues"} 
[2026-07-07 03:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5620492362631364608,"note":"Value kept but may cause issues"} 
[2026-07-07 03:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783375993000,"timestamp_ms":1783375993000,"timestamp_seconds":1783375993,"priority":1,"record_length":96,"hex_timestamp":"0000019f397e18a8"} 
[2026-07-07 03:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03: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-07-07 03:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 03:44: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-07-07 03:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544250880001,"66":27376,"145":206,"80":60160,"24":27,"16":340380393045753856,"45":5620492362631364608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,80,24,16,45]} 
[2026-07-07 03:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544250880001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:44:43] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-07 03:44:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340380393045753856,"km_value":340380393045753.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5620492362631364608,"description":"Unknown IO ID 45"} 
[2026-07-07 03:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544250880001,"power":27376,"unknown_145":206,"unknown_80":60160,"ignition":27,"odometer":null,"unknown_45":5620492362631364608}} 
[2026-07-07 03:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":124100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:44:43] local.INFO: GPS data processed {"connection_id":124100,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:44:43] local.INFO: Acknowledgment sent {"connection_id":124100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:44:57] local.INFO: TCP Data received {"connection_id":123986,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:44:57] local.INFO: Processing buffer {"connection_id":123986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:44:57] local.INFO: IMEI packet received {"connection_id":123986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":123986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:45:00] local.INFO: TCP Data received {"connection_id":123986,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:45:00] local.INFO: Processing buffer {"connection_id":123986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:45:00] local.INFO: IMEI packet received {"connection_id":123986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":123986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:45:06] local.INFO: TCP Data received {"connection_id":123986,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:45:06] local.INFO: Processing buffer {"connection_id":123986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:45:06] local.INFO: IMEI packet received {"connection_id":123986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":123986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:45:11] local.INFO: TCP Data received {"connection_id":123986,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f397e5340012d4de04006712d98001400c827..."} 
[2026-07-07 03:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f397e5340012d4de04006712d98001400c827..."} 
[2026-07-07 03:45:11] local.INFO: Processing buffer {"connection_id":123986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f397e5340012d4de04006712d98001400c827..."} 
[2026-07-07 03:45:11] local.INFO: Packet analysis {"connection_id":123986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f397e"} 
[2026-07-07 03:45:11] local.INFO: Extracted packet for processing {"connection_id":123986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f397e"} 
[2026-07-07 03:45:11] local.INFO: GPS Element Parsed {"raw_longitude":760078400,"raw_latitude":108080536,"longitude_deg":76.00784,"latitude_deg":10.8080536,"altitude":20,"angle":200,"satellites":39,"speed":24,"hex_longitude":"2d4de040","hex_latitude":"06712d98","is_valid_coordinates":true} 
[2026-07-07 03:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544254208001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340380848312287232,"note":"Value kept but may cause issues"} 
[2026-07-07 03:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5615918394257625088,"note":"Value kept but may cause issues"} 
[2026-07-07 03:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783376008000,"timestamp_ms":1783376008000,"timestamp_seconds":1783376008,"priority":1,"record_length":96,"hex_timestamp":"0000019f397e5340"} 
[2026-07-07 03:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 03:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544254208001,"66":27365,"11":206,"80":60160,"24":24,"16":340380848312287232,"45":5615918394257625088},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-07 03:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544254208001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:45:11] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-07 03:45:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340380848312287232,"km_value":340380848312287.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5615918394257625088,"description":"Unknown IO ID 45"} 
[2026-07-07 03:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544254208001,"power":27365,"unknown_11":206,"unknown_80":60160,"ignition":24,"odometer":null,"unknown_45":5615918394257625088}} 
[2026-07-07 03:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":123986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:45:11] local.INFO: GPS data processed {"connection_id":123986,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:45:11] local.INFO: Acknowledgment sent {"connection_id":123986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:45:12] local.INFO: TCP Data received {"connection_id":123986,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f397e62e0012d4dddc0067123e0001400bd28..."} 
[2026-07-07 03:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f397e62e0012d4dddc0067123e0001400bd28..."} 
[2026-07-07 03:45:12] local.INFO: Processing buffer {"connection_id":123986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f397e62e0012d4dddc0067123e0001400bd28..."} 
[2026-07-07 03:45:12] local.INFO: Packet analysis {"connection_id":123986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f397e"} 
[2026-07-07 03:45:12] local.INFO: Extracted packet for processing {"connection_id":123986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f397e"} 
[2026-07-07 03:45:12] local.INFO: GPS Element Parsed {"raw_longitude":760077760,"raw_latitude":108078048,"longitude_deg":76.007776,"latitude_deg":10.8078048,"altitude":20,"angle":189,"satellites":40,"speed":27,"hex_longitude":"2d4dddc0","hex_latitude":"067123e0","is_valid_coordinates":true} 
[2026-07-07 03:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544258048001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340380972866338816,"note":"Value kept but may cause issues"} 
[2026-07-07 03:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5611555532116432896,"note":"Value kept but may cause issues"} 
[2026-07-07 03:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783376012000,"timestamp_ms":1783376012000,"timestamp_seconds":1783376012,"priority":1,"record_length":96,"hex_timestamp":"0000019f397e62e0"} 
[2026-07-07 03:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03: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-07-07 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 03:45: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-07-07 03:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:45: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-07-07 03:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544258048001,"66":27310,"11":206,"80":60160,"24":27,"16":340380972866338816,"45":5611555532116432896},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-07 03:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544258048001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:45:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-07 03:45:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340380972866338816,"km_value":340380972866338.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5611555532116432896,"description":"Unknown IO ID 45"} 
[2026-07-07 03:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544258048001,"power":27310,"unknown_11":206,"unknown_80":60160,"ignition":27,"odometer":null,"unknown_45":5611555532116432896}} 
[2026-07-07 03:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":123986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:45:12] local.INFO: GPS data processed {"connection_id":123986,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:45:12] local.INFO: Acknowledgment sent {"connection_id":123986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:45:43] local.INFO: TCP Data received {"connection_id":123986,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f397e7668012d4ddd80067114e0001400b127..."} 
[2026-07-07 03:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f397e7668012d4ddd80067114e0001400b127..."} 
[2026-07-07 03:45:43] local.INFO: Processing buffer {"connection_id":123986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f397e7668012d4ddd80067114e0001400b127..."} 
[2026-07-07 03:45:43] local.INFO: Packet analysis {"connection_id":123986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f397e"} 
[2026-07-07 03:45:43] local.INFO: Extracted packet for processing {"connection_id":123986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f397e"} 
[2026-07-07 03:45:43] local.INFO: GPS Element Parsed {"raw_longitude":760077696,"raw_latitude":108074208,"longitude_deg":76.0077696,"latitude_deg":10.8074208,"altitude":20,"angle":177,"satellites":39,"speed":34,"hex_longitude":"2d4ddd80","hex_latitude":"067114e0","is_valid_coordinates":true} 
[2026-07-07 03:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544259072001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340381157549932544,"note":"Value kept but may cause issues"} 
[2026-07-07 03:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5610851844674019328,"note":"Value kept but may cause issues"} 
[2026-07-07 03:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783376017000,"timestamp_ms":1783376017000,"timestamp_seconds":1783376017,"priority":1,"record_length":96,"hex_timestamp":"0000019f397e7668"} 
[2026-07-07 03:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:45: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-07-07 03:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-07 03:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544259072001,"66":27397,"11":206,"80":60160,"24":34,"16":340381157549932544,"45":5610851844674019328},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-07 03:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544259072001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:45:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-07 03:45:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340381157549932544,"km_value":340381157549932.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5610851844674019328,"description":"Unknown IO ID 45"} 
[2026-07-07 03:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544259072001,"power":27397,"unknown_11":206,"unknown_80":60160,"ignition":34,"odometer":null,"unknown_45":5610851844674019328}} 
[2026-07-07 03:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":123986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:45:43] local.INFO: GPS data processed {"connection_id":123986,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:45:43] local.INFO: Acknowledgment sent {"connection_id":123986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:45:59] local.INFO: TCP Data received {"connection_id":126012,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:45:59] local.INFO: Processing buffer {"connection_id":126012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:45:59] local.INFO: IMEI packet received {"connection_id":126012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":126012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:46:08] local.INFO: TCP Data received {"connection_id":126012,"ip":"42.106.6.27","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 03:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126012,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 03:46:08] local.INFO: Processing buffer {"connection_id":126012,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 03:46:08] local.INFO: IMEI packet received {"connection_id":126012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":126012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:47:40] local.INFO: TCP Data received {"connection_id":126014,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:47:40] local.INFO: Processing buffer {"connection_id":126014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:47:40] local.INFO: IMEI packet received {"connection_id":126014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 03:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":126014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:48:00] local.INFO: TCP Data received {"connection_id":123988,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:48:00] local.INFO: Processing buffer {"connection_id":123988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:48:00] local.INFO: IMEI packet received {"connection_id":123988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 03:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":123988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:51:10] local.INFO: TCP Data received {"connection_id":126016,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:51:10] local.INFO: Processing buffer {"connection_id":126016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:51:10] local.INFO: IMEI packet received {"connection_id":126016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":126016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:51:11] local.INFO: TCP Data received {"connection_id":126016,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3983ae58012d4e1f00066cc4600020009b29..."} 
[2026-07-07 03:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3983ae58012d4e1f00066cc4600020009b29..."} 
[2026-07-07 03:51:11] local.INFO: Processing buffer {"connection_id":126016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3983ae58012d4e1f00066cc4600020009b29..."} 
[2026-07-07 03:51:11] local.INFO: Packet analysis {"connection_id":126016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3983"} 
[2026-07-07 03:51:11] local.INFO: Extracted packet for processing {"connection_id":126016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3983"} 
[2026-07-07 03:51:11] local.INFO: GPS Element Parsed {"raw_longitude":760094464,"raw_latitude":107791456,"longitude_deg":76.0094464,"latitude_deg":10.7791456,"altitude":32,"angle":155,"satellites":41,"speed":27,"hex_longitude":"2d4e1f00","hex_latitude":"066cc460","is_valid_coordinates":true} 
[2026-07-07 03:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544345088001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340395580050112512,"note":"Value kept but may cause issues"} 
[2026-07-07 03:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5624221905996500992,"note":"Value kept but may cause issues"} 
[2026-07-07 03:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783376359000,"timestamp_ms":1783376359000,"timestamp_seconds":1783376359,"priority":1,"record_length":96,"hex_timestamp":"0000019f3983ae58"} 
[2026-07-07 03:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03: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-07-07 03:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 03:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544345088001,"66":27234,"217":206,"80":60160,"24":27,"16":340395580050112512,"45":5624221905996500992},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,80,24,16,45]} 
[2026-07-07 03:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544345088001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:51:11] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-07 03:51:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340395580050112512,"km_value":340395580050112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5624221905996500992,"description":"Unknown IO ID 45"} 
[2026-07-07 03:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544345088001,"power":27234,"unknown_217":206,"unknown_80":60160,"ignition":27,"odometer":null,"unknown_45":5624221905996500992}} 
[2026-07-07 03:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":126016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:51:11] local.INFO: GPS data processed {"connection_id":126016,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:51:11] local.INFO: Acknowledgment sent {"connection_id":126016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:51:42] local.INFO: TCP Data received {"connection_id":126016,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3983e120012d4e2ec0066ca278002000992a..."} 
[2026-07-07 03:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3983e120012d4e2ec0066ca278002000992a..."} 
[2026-07-07 03:51:42] local.INFO: Processing buffer {"connection_id":126016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3983e120012d4e2ec0066ca278002000992a..."} 
[2026-07-07 03:51:42] local.INFO: Packet analysis {"connection_id":126016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3983"} 
[2026-07-07 03:51:42] local.INFO: Extracted packet for processing {"connection_id":126016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3983"} 
[2026-07-07 03:51:42] local.INFO: GPS Element Parsed {"raw_longitude":760098496,"raw_latitude":107782776,"longitude_deg":76.0098496,"latitude_deg":10.7782776,"altitude":32,"angle":153,"satellites":42,"speed":32,"hex_longitude":"2d4e2ec0","hex_latitude":"066ca278","is_valid_coordinates":true} 
[2026-07-07 03:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544347904001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340396043906580480,"note":"Value kept but may cause issues"} 
[2026-07-07 03:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5629218086831022080,"note":"Value kept but may cause issues"} 
[2026-07-07 03:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783376372000,"timestamp_ms":1783376372000,"timestamp_seconds":1783376372,"priority":1,"record_length":96,"hex_timestamp":"0000019f3983e120"} 
[2026-07-07 03:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03: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-07-07 03: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":98,"data_length":795,"current_offset":136} 
[2026-07-07 03:51: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-07-07 03:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544347904001,"66":27332,"1":206,"80":60160,"24":32,"16":340396043906580480,"45":5629218086831022080},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 03:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544347904001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:51:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340396043906580480,"km_value":340396043906580.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5629218086831022080,"description":"Unknown IO ID 45"} 
[2026-07-07 03:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544347904001,"power":27332,"imei":206,"unknown_80":60160,"ignition":32,"odometer":null,"unknown_45":5629218086831022080}} 
[2026-07-07 03:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":126016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:51:42] local.INFO: GPS data processed {"connection_id":126016,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:51:42] local.INFO: Acknowledgment sent {"connection_id":126016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:52:00] local.INFO: TCP Data received {"connection_id":124102,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:52:00] local.INFO: Processing buffer {"connection_id":124102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:52:00] local.INFO: IMEI packet received {"connection_id":124102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":124102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:52:05] local.INFO: TCP Data received {"connection_id":124102,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:52:05] local.INFO: Processing buffer {"connection_id":124102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:52:05] local.INFO: IMEI packet received {"connection_id":124102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":124102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:53:00] local.INFO: TCP Data received {"connection_id":124762,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:53:00] local.INFO: Processing buffer {"connection_id":124762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:53:00] local.INFO: IMEI packet received {"connection_id":124762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":124762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:53:05] local.INFO: TCP Data received {"connection_id":124762,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:53:05] local.INFO: Processing buffer {"connection_id":124762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:53:05] local.INFO: IMEI packet received {"connection_id":124762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":124762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:53:06] local.INFO: TCP Data received {"connection_id":124762,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f39844a98012d4e6480066c47a0001000a12b..."} 
[2026-07-07 03:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39844a98012d4e6480066c47a0001000a12b..."} 
[2026-07-07 03:53:06] local.INFO: Processing buffer {"connection_id":124762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39844a98012d4e6480066c47a0001000a12b..."} 
[2026-07-07 03:53:06] local.INFO: Packet analysis {"connection_id":124762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3984"} 
[2026-07-07 03:53:06] local.INFO: Extracted packet for processing {"connection_id":124762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3984"} 
[2026-07-07 03:53:06] local.INFO: GPS Element Parsed {"raw_longitude":760112256,"raw_latitude":107759520,"longitude_deg":76.0112256,"latitude_deg":10.775952,"altitude":16,"angle":161,"satellites":43,"speed":44,"hex_longitude":"2d4e6480","hex_latitude":"066c47a0","is_valid_coordinates":true} 
[2026-07-07 03:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544356352001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340397349576638464,"note":"Value kept but may cause issues"} 
[2026-07-07 03:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5644276998078656512,"note":"Value kept but may cause issues"} 
[2026-07-07 03:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783376399000,"timestamp_ms":1783376399000,"timestamp_seconds":1783376399,"priority":1,"record_length":96,"hex_timestamp":"0000019f39844a98"} 
[2026-07-07 03:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 03:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544356352001,"66":27376,"1":206,"80":60160,"24":44,"16":340397349576638464,"45":5644276998078656512},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 03:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544356352001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:53:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340397349576638464,"km_value":340397349576638.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5644276998078656512,"description":"Unknown IO ID 45"} 
[2026-07-07 03:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544356352001,"power":27376,"imei":206,"unknown_80":60160,"ignition":44,"odometer":null,"unknown_45":5644276998078656512}} 
[2026-07-07 03:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":124762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:53:06] local.INFO: GPS data processed {"connection_id":124762,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:53:06] local.INFO: Acknowledgment sent {"connection_id":124762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:53:20] local.INFO: TCP Data received {"connection_id":124763,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:53:20] local.INFO: Processing buffer {"connection_id":124763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:53:20] local.INFO: IMEI packet received {"connection_id":124763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 03:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":124763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:53:37] local.INFO: TCP Data received {"connection_id":124762,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f39845650012d4e6700066c3ac8000f00ad2b..."} 
[2026-07-07 03:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39845650012d4e6700066c3ac8000f00ad2b..."} 
[2026-07-07 03:53:37] local.INFO: Processing buffer {"connection_id":124762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39845650012d4e6700066c3ac8000f00ad2b..."} 
[2026-07-07 03:53:37] local.INFO: Packet analysis {"connection_id":124762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3984"} 
[2026-07-07 03:53:37] local.INFO: Extracted packet for processing {"connection_id":124762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3984"} 
[2026-07-07 03:53:37] local.INFO: GPS Element Parsed {"raw_longitude":760112896,"raw_latitude":107756232,"longitude_deg":76.0112896,"latitude_deg":10.7756232,"altitude":15,"angle":173,"satellites":43,"speed":45,"hex_longitude":"2d4e6700","hex_latitude":"066c3ac8","is_valid_coordinates":true} 
[2026-07-07 03:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544358144001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340397512785395712,"note":"Value kept but may cause issues"} 
[2026-07-07 03:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5648780597704237056,"note":"Value kept but may cause issues"} 
[2026-07-07 03:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783376402000,"timestamp_ms":1783376402000,"timestamp_seconds":1783376402,"priority":1,"record_length":96,"hex_timestamp":"0000019f39845650"} 
[2026-07-07 03:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:53: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-07-07 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 03:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544358144001,"66":27484,"1":206,"80":60160,"24":45,"16":340397512785395712,"45":5648780597704237056},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 03:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544358144001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:53:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340397512785395712,"km_value":340397512785395.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5648780597704237056,"description":"Unknown IO ID 45"} 
[2026-07-07 03:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544358144001,"power":27484,"imei":206,"unknown_80":60160,"ignition":45,"odometer":null,"unknown_45":5648780597704237056}} 
[2026-07-07 03:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":124762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:53:37] local.INFO: GPS data processed {"connection_id":124762,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:53:37] local.INFO: Acknowledgment sent {"connection_id":124762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:54:00] local.INFO: TCP Data received {"connection_id":123989,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:54:00] local.INFO: Processing buffer {"connection_id":123989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:54:00] local.INFO: IMEI packet received {"connection_id":123989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 03:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":123989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:54:00] local.INFO: TCP Data received {"connection_id":123990,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:54:00] local.INFO: Processing buffer {"connection_id":123990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:54:00] local.INFO: IMEI packet received {"connection_id":123990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":123990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:54:05] local.INFO: TCP Data received {"connection_id":123990,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:54:05] local.INFO: Processing buffer {"connection_id":123990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:54:05] local.INFO: IMEI packet received {"connection_id":123990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":123990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:54:06] local.INFO: TCP Data received {"connection_id":123990,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f39847590012d4e6a40066c16a8001100af28..."} 
[2026-07-07 03:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39847590012d4e6a40066c16a8001100af28..."} 
[2026-07-07 03:54:06] local.INFO: Processing buffer {"connection_id":123990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39847590012d4e6a40066c16a8001100af28..."} 
[2026-07-07 03:54:06] local.INFO: Packet analysis {"connection_id":123990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3984"} 
[2026-07-07 03:54:06] local.INFO: Extracted packet for processing {"connection_id":123990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3984"} 
[2026-07-07 03:54:06] local.INFO: GPS Element Parsed {"raw_longitude":760113728,"raw_latitude":107746984,"longitude_deg":76.0113728,"latitude_deg":10.7746984,"altitude":17,"angle":175,"satellites":40,"speed":44,"hex_longitude":"2d4e6a40","hex_latitude":"066c16a8","is_valid_coordinates":true} 
[2026-07-07 03:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544358912001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340397963756961792,"note":"Value kept but may cause issues"} 
[2026-07-07 03:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5649484285145171968,"note":"Value kept but may cause issues"} 
[2026-07-07 03:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783376410000,"timestamp_ms":1783376410000,"timestamp_seconds":1783376410,"priority":1,"record_length":96,"hex_timestamp":"0000019f39847590"} 
[2026-07-07 03:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:54: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-07-07 03: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 03:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":123990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":123990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":123990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544358912001,"66":27321,"1":206,"80":60160,"24":44,"16":340397963756961792,"45":5649484285145171968},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 03:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544358912001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:54:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340397963756961792,"km_value":340397963756961.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5649484285145171968,"description":"Unknown IO ID 45"} 
[2026-07-07 03:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544358912001,"power":27321,"imei":206,"unknown_80":60160,"ignition":44,"odometer":null,"unknown_45":5649484285145171968}} 
[2026-07-07 03:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":123990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:54:06] local.INFO: GPS data processed {"connection_id":123990,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:54:06] local.INFO: Acknowledgment sent {"connection_id":123990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:54:39] local.INFO: TCP Data received {"connection_id":123990,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f398490e8012d4e6dc0066bf9d8001400a428..."} 
[2026-07-07 03:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f398490e8012d4e6dc0066bf9d8001400a428..."} 
[2026-07-07 03:54:39] local.INFO: Processing buffer {"connection_id":123990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f398490e8012d4e6dc0066bf9d8001400a428..."} 
[2026-07-07 03:54:39] local.INFO: Packet analysis {"connection_id":123990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3984"} 
[2026-07-07 03:54:39] local.INFO: Extracted packet for processing {"connection_id":123990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3984"} 
[2026-07-07 03:54:39] local.INFO: GPS Element Parsed {"raw_longitude":760114624,"raw_latitude":107739608,"longitude_deg":76.0114624,"latitude_deg":10.7739608,"altitude":20,"angle":164,"satellites":40,"speed":39,"hex_longitude":"2d4e6dc0","hex_latitude":"066bf9d8","is_valid_coordinates":true} 
[2026-07-07 03: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-07-07 03:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544360960001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340398324534214656,"note":"Value kept but may cause issues"} 
[2026-07-07 03:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5650399078817114112,"note":"Value kept but may cause issues"} 
[2026-07-07 03:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783376417000,"timestamp_ms":1783376417000,"timestamp_seconds":1783376417,"priority":1,"record_length":96,"hex_timestamp":"0000019f398490e8"} 
[2026-07-07 03:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:54: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-07-07 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 03:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03: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-07-07 03:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":123990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":123990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":123990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544360960001,"66":27767,"1":206,"80":60160,"24":39,"16":340398324534214656,"45":5650399078817114112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 03:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544360960001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:54:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340398324534214656,"km_value":340398324534214.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5650399078817114112,"description":"Unknown IO ID 45"} 
[2026-07-07 03:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544360960001,"power":27767,"imei":206,"unknown_80":60160,"ignition":39,"odometer":null,"unknown_45":5650399078817114112}} 
[2026-07-07 03:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":123990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:54:39] local.INFO: GPS data processed {"connection_id":123990,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:54:39] local.INFO: Acknowledgment sent {"connection_id":123990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:54:44] local.INFO: TCP Data received {"connection_id":124102,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f39840c18012d4e40c0066c80a0001700952a..."} 
[2026-07-07 03:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39840c18012d4e40c0066c80a0001700952a..."} 
[2026-07-07 03:54:44] local.INFO: Processing buffer {"connection_id":124102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39840c18012d4e40c0066c80a0001700952a..."} 
[2026-07-07 03:54:44] local.INFO: Packet analysis {"connection_id":124102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3984"} 
[2026-07-07 03:54:44] local.INFO: Extracted packet for processing {"connection_id":124102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3984"} 
[2026-07-07 03:54:44] local.INFO: GPS Element Parsed {"raw_longitude":760103104,"raw_latitude":107774112,"longitude_deg":76.0103104,"latitude_deg":10.7774112,"altitude":23,"angle":149,"satellites":42,"speed":38,"hex_longitude":"2d4e40c0","hex_latitude":"066c80a0","is_valid_coordinates":true} 
[2026-07-07 03: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-07-07 03:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544351232001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340396516352983040,"note":"Value kept but may cause issues"} 
[2026-07-07 03:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5633651317711992832,"note":"Value kept but may cause issues"} 
[2026-07-07 03:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783376383000,"timestamp_ms":1783376383000,"timestamp_seconds":1783376383,"priority":1,"record_length":96,"hex_timestamp":"0000019f39840c18"} 
[2026-07-07 03:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:54: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-07-07 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 03:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03: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-07-07 03:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544351232001,"66":27332,"1":206,"80":60160,"24":38,"16":340396516352983040,"45":5633651317711992832},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 03:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544351232001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:54:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340396516352983040,"km_value":340396516352983.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5633651317711992832,"description":"Unknown IO ID 45"} 
[2026-07-07 03:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544351232001,"power":27332,"imei":206,"unknown_80":60160,"ignition":38,"odometer":null,"unknown_45":5633651317711992832}} 
[2026-07-07 03:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":124102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:54:44] local.INFO: GPS data processed {"connection_id":124102,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:54:44] local.INFO: Acknowledgment sent {"connection_id":124102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:55:00] local.INFO: TCP Data received {"connection_id":124765,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:55:00] local.INFO: Processing buffer {"connection_id":124765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:55:00] local.INFO: IMEI packet received {"connection_id":124765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":124765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:55:05] local.INFO: TCP Data received {"connection_id":124765,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:55:05] local.INFO: Processing buffer {"connection_id":124765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:55:05] local.INFO: IMEI packet received {"connection_id":124765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":124765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:55:06] local.INFO: TCP Data received {"connection_id":124765,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f398498b8012d4e7080066bf3000015009729..."} 
[2026-07-07 03:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f398498b8012d4e7080066bf3000015009729..."} 
[2026-07-07 03:55:06] local.INFO: Processing buffer {"connection_id":124765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f398498b8012d4e7080066bf3000015009729..."} 
[2026-07-07 03:55:06] local.INFO: Packet analysis {"connection_id":124765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3984"} 
[2026-07-07 03:55:06] local.INFO: Extracted packet for processing {"connection_id":124765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3984"} 
[2026-07-07 03:55:06] local.INFO: GPS Element Parsed {"raw_longitude":760115328,"raw_latitude":107737856,"longitude_deg":76.0115328,"latitude_deg":10.7737856,"altitude":21,"angle":151,"satellites":41,"speed":37,"hex_longitude":"2d4e7080","hex_latitude":"066bf300","is_valid_coordinates":true} 
[2026-07-07 03:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544362752001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340398419023495168,"note":"Value kept but may cause issues"} 
[2026-07-07 03:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5651384241233713152,"note":"Value kept but may cause issues"} 
[2026-07-07 03:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783376419000,"timestamp_ms":1783376419000,"timestamp_seconds":1783376419,"priority":1,"record_length":96,"hex_timestamp":"0000019f398498b8"} 
[2026-07-07 03:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 03:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544362752001,"66":27767,"1":206,"80":60160,"24":37,"16":340398419023495168,"45":5651384241233713152},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 03:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544362752001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:55:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340398419023495168,"km_value":340398419023495.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5651384241233713152,"description":"Unknown IO ID 45"} 
[2026-07-07 03:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544362752001,"power":27767,"imei":206,"unknown_80":60160,"ignition":37,"odometer":null,"unknown_45":5651384241233713152}} 
[2026-07-07 03:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":124765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:55:06] local.INFO: GPS data processed {"connection_id":124765,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:55:06] local.INFO: Acknowledgment sent {"connection_id":124765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:55:37] local.INFO: TCP Data received {"connection_id":124765,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3984a470012d4e76c0066bea980015008728..."} 
[2026-07-07 03:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3984a470012d4e76c0066bea980015008728..."} 
[2026-07-07 03:55:37] local.INFO: Processing buffer {"connection_id":124765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3984a470012d4e76c0066bea980015008728..."} 
[2026-07-07 03:55:37] local.INFO: Packet analysis {"connection_id":124765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3984"} 
[2026-07-07 03:55:37] local.INFO: Extracted packet for processing {"connection_id":124765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3984"} 
[2026-07-07 03:55:37] local.INFO: GPS Element Parsed {"raw_longitude":760116928,"raw_latitude":107735704,"longitude_deg":76.0116928,"latitude_deg":10.7735704,"altitude":21,"angle":135,"satellites":40,"speed":34,"hex_longitude":"2d4e76c0","hex_latitude":"066bea98","is_valid_coordinates":true} 
[2026-07-07 03:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544363264001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340398547872514048,"note":"Value kept but may cause issues"} 
[2026-07-07 03:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5652158297419218944,"note":"Value kept but may cause issues"} 
[2026-07-07 03:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783376422000,"timestamp_ms":1783376422000,"timestamp_seconds":1783376422,"priority":1,"record_length":96,"hex_timestamp":"0000019f3984a470"} 
[2026-07-07 03:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 03:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544363264001,"66":27767,"1":206,"80":60160,"24":34,"16":340398547872514048,"45":5652158297419218944},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 03:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544363264001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:55:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340398547872514048,"km_value":340398547872514.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5652158297419218944,"description":"Unknown IO ID 45"} 
[2026-07-07 03:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544363264001,"power":27767,"imei":206,"unknown_80":60160,"ignition":34,"odometer":null,"unknown_45":5652158297419218944}} 
[2026-07-07 03:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":124765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:55:37] local.INFO: GPS data processed {"connection_id":124765,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:55:37] local.INFO: Acknowledgment sent {"connection_id":124765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:56:05] local.INFO: TCP Data received {"connection_id":124766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:56:05] local.INFO: Processing buffer {"connection_id":124766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:56:05] local.INFO: IMEI packet received {"connection_id":124766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":124766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:56:06] local.INFO: TCP Data received {"connection_id":124766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:56:06] local.INFO: Processing buffer {"connection_id":124766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:56:06] local.INFO: IMEI packet received {"connection_id":124766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":124766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:56:07] local.INFO: TCP Data received {"connection_id":124766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3984a470012d4e76c0066bea980015008728..."} 
[2026-07-07 03:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3984a470012d4e76c0066bea980015008728..."} 
[2026-07-07 03:56:07] local.INFO: Processing buffer {"connection_id":124766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3984a470012d4e76c0066bea980015008728..."} 
[2026-07-07 03:56:07] local.INFO: Packet analysis {"connection_id":124766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3984"} 
[2026-07-07 03:56:07] local.INFO: Extracted packet for processing {"connection_id":124766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3984"} 
[2026-07-07 03:56:07] local.INFO: GPS Element Parsed {"raw_longitude":760116928,"raw_latitude":107735704,"longitude_deg":76.0116928,"latitude_deg":10.7735704,"altitude":21,"angle":135,"satellites":40,"speed":34,"hex_longitude":"2d4e76c0","hex_latitude":"066bea98","is_valid_coordinates":true} 
[2026-07-07 03:56: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-07-07 03:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544364032001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340398547872514048,"note":"Value kept but may cause issues"} 
[2026-07-07 03:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5653917516023109632,"note":"Value kept but may cause issues"} 
[2026-07-07 03:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783376422000,"timestamp_ms":1783376422000,"timestamp_seconds":1783376422,"priority":1,"record_length":96,"hex_timestamp":"0000019f3984a470"} 
[2026-07-07 03:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 03:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544364032001,"66":27767,"1":206,"80":60160,"24":34,"16":340398547872514048,"45":5653917516023109632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 03:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544364032001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:56:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340398547872514048,"km_value":340398547872514.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5653917516023109632,"description":"Unknown IO ID 45"} 
[2026-07-07 03:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544364032001,"power":27767,"imei":206,"unknown_80":60160,"ignition":34,"odometer":null,"unknown_45":5653917516023109632}} 
[2026-07-07 03:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":124766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:56:07] local.INFO: GPS data processed {"connection_id":124766,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:56:07] local.INFO: Acknowledgment sent {"connection_id":124766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:56:10] local.INFO: TCP Data received {"connection_id":124766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3984b410012d4e80c0066be2480017007b27..."} 
[2026-07-07 03:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3984b410012d4e80c0066be2480017007b27..."} 
[2026-07-07 03:56:10] local.INFO: Processing buffer {"connection_id":124766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3984b410012d4e80c0066be2480017007b27..."} 
[2026-07-07 03:56:10] local.INFO: Packet analysis {"connection_id":124766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3984"} 
[2026-07-07 03:56:10] local.INFO: Extracted packet for processing {"connection_id":124766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3984"} 
[2026-07-07 03:56:10] local.INFO: GPS Element Parsed {"raw_longitude":760119488,"raw_latitude":107733576,"longitude_deg":76.0119488,"latitude_deg":10.7733576,"altitude":23,"angle":123,"satellites":39,"speed":31,"hex_longitude":"2d4e80c0","hex_latitude":"066be248","is_valid_coordinates":true} 
[2026-07-07 03:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544364032001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340398547872514048,"note":"Value kept but may cause issues"} 
[2026-07-07 03:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5653917516023109632,"note":"Value kept but may cause issues"} 
[2026-07-07 03:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783376426000,"timestamp_ms":1783376426000,"timestamp_seconds":1783376426,"priority":1,"record_length":96,"hex_timestamp":"0000019f3984b410"} 
[2026-07-07 03:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 03:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 03:56: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-07-07 03:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544364032001,"66":26963,"1":206,"80":60160,"24":31,"16":340398547872514048,"45":5653917516023109632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 03:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544364032001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:56:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340398547872514048,"km_value":340398547872514.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5653917516023109632,"description":"Unknown IO ID 45"} 
[2026-07-07 03:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544364032001,"power":26963,"imei":206,"unknown_80":60160,"ignition":31,"odometer":null,"unknown_45":5653917516023109632}} 
[2026-07-07 03:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":124766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:56:10] local.INFO: GPS data processed {"connection_id":124766,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:56:10] local.INFO: Acknowledgment sent {"connection_id":124766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:56:41] local.INFO: TCP Data received {"connection_id":124766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f39894fc0012d4e9b00066bdc50001300732c..."} 
[2026-07-07 03:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39894fc0012d4e9b00066bdc50001300732c..."} 
[2026-07-07 03:56:41] local.INFO: Processing buffer {"connection_id":124766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39894fc0012d4e9b00066bdc50001300732c..."} 
[2026-07-07 03:56:41] local.INFO: Packet analysis {"connection_id":124766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3989"} 
[2026-07-07 03:56:41] local.INFO: Extracted packet for processing {"connection_id":124766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3989"} 
[2026-07-07 03:56:41] local.INFO: GPS Element Parsed {"raw_longitude":760126208,"raw_latitude":107732048,"longitude_deg":76.0126208,"latitude_deg":10.7732048,"altitude":19,"angle":115,"satellites":44,"speed":0,"hex_longitude":"2d4e9b00","hex_latitude":"066bdc50","is_valid_coordinates":true} 
[2026-07-07 03:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544365056001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340398547872514048,"note":"Value kept but may cause issues"} 
[2026-07-07 03:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5656732265789671424,"note":"Value kept but may cause issues"} 
[2026-07-07 03:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783376728000,"timestamp_ms":1783376728000,"timestamp_seconds":1783376728,"priority":1,"record_length":96,"hex_timestamp":"0000019f39894fc0"} 
[2026-07-07 03:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 03: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-07-07 03:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544365056001,"66":25495,"1":206,"80":60160,"24":0,"16":340398547872514048,"45":5656732265789671424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 03:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544365056001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:56:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340398547872514048,"km_value":340398547872514.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5656732265789671424,"description":"Unknown IO ID 45"} 
[2026-07-07 03:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544365056001,"power":25495,"imei":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5656732265789671424}} 
[2026-07-07 03:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":124766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:56:41] local.INFO: GPS data processed {"connection_id":124766,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:56:41] local.INFO: Acknowledgment sent {"connection_id":124766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:57:00] local.INFO: TCP Data received {"connection_id":124767,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:57:00] local.INFO: Processing buffer {"connection_id":124767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:57:00] local.INFO: IMEI packet received {"connection_id":124767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":124767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:57:05] local.INFO: TCP Data received {"connection_id":124767,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:57:05] local.INFO: Processing buffer {"connection_id":124767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:57:05] local.INFO: IMEI packet received {"connection_id":124767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":124767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:57:06] local.INFO: TCP Data received {"connection_id":124767,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f39894fc0012d4e9b00066bdc50001300732c..."} 
[2026-07-07 03:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39894fc0012d4e9b00066bdc50001300732c..."} 
[2026-07-07 03:57:06] local.INFO: Processing buffer {"connection_id":124767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39894fc0012d4e9b00066bdc50001300732c..."} 
[2026-07-07 03:57:06] local.INFO: Packet analysis {"connection_id":124767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3989"} 
[2026-07-07 03:57:06] local.INFO: Extracted packet for processing {"connection_id":124767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3989"} 
[2026-07-07 03:57:06] local.INFO: GPS Element Parsed {"raw_longitude":760126208,"raw_latitude":107732048,"longitude_deg":76.0126208,"latitude_deg":10.7732048,"altitude":19,"angle":115,"satellites":44,"speed":0,"hex_longitude":"2d4e9b00","hex_latitude":"066bdc50","is_valid_coordinates":true} 
[2026-07-07 03:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544365056001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340398547872514048,"note":"Value kept but may cause issues"} 
[2026-07-07 03:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5656732265789671424,"note":"Value kept but may cause issues"} 
[2026-07-07 03:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783376728000,"timestamp_ms":1783376728000,"timestamp_seconds":1783376728,"priority":1,"record_length":96,"hex_timestamp":"0000019f39894fc0"} 
[2026-07-07 03:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 03:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-07-07 03:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544365056001,"66":25495,"1":206,"80":60160,"24":0,"16":340398547872514048,"45":5656732265789671424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 03:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544365056001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:57:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340398547872514048,"km_value":340398547872514.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5656732265789671424,"description":"Unknown IO ID 45"} 
[2026-07-07 03:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544365056001,"power":25495,"imei":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5656732265789671424}} 
[2026-07-07 03:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":124767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:57:06] local.INFO: GPS data processed {"connection_id":124767,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:57:06] local.INFO: Acknowledgment sent {"connection_id":124767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:57:37] local.INFO: TCP Data received {"connection_id":124767,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f39894fc0012d4e9b00066bdc50001300732c..."} 
[2026-07-07 03:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39894fc0012d4e9b00066bdc50001300732c..."} 
[2026-07-07 03:57:37] local.INFO: Processing buffer {"connection_id":124767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39894fc0012d4e9b00066bdc50001300732c..."} 
[2026-07-07 03:57:37] local.INFO: Packet analysis {"connection_id":124767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3989"} 
[2026-07-07 03:57:37] local.INFO: Extracted packet for processing {"connection_id":124767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3989"} 
[2026-07-07 03:57:37] local.INFO: GPS Element Parsed {"raw_longitude":760126208,"raw_latitude":107732048,"longitude_deg":76.0126208,"latitude_deg":10.7732048,"altitude":19,"angle":115,"satellites":44,"speed":0,"hex_longitude":"2d4e9b00","hex_latitude":"066bdc50","is_valid_coordinates":true} 
[2026-07-07 03:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544365056001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340398547872514048,"note":"Value kept but may cause issues"} 
[2026-07-07 03:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5656732265789671424,"note":"Value kept but may cause issues"} 
[2026-07-07 03:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783376728000,"timestamp_ms":1783376728000,"timestamp_seconds":1783376728,"priority":1,"record_length":96,"hex_timestamp":"0000019f39894fc0"} 
[2026-07-07 03:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 03: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-07-07 03:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544365056001,"66":25495,"1":206,"80":60160,"24":0,"16":340398547872514048,"45":5656732265789671424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 03:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544365056001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:57:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340398547872514048,"km_value":340398547872514.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5656732265789671424,"description":"Unknown IO ID 45"} 
[2026-07-07 03:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544365056001,"power":25495,"imei":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5656732265789671424}} 
[2026-07-07 03:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":124767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:57:37] local.INFO: GPS data processed {"connection_id":124767,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:57:37] local.INFO: Acknowledgment sent {"connection_id":124767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:58:00] local.INFO: TCP Data received {"connection_id":124768,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:58:00] local.INFO: Processing buffer {"connection_id":124768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:58:00] local.INFO: IMEI packet received {"connection_id":124768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":124768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:58:05] local.INFO: TCP Data received {"connection_id":124768,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:58:05] local.INFO: Processing buffer {"connection_id":124768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:58:05] local.INFO: IMEI packet received {"connection_id":124768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":124768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:58:06] local.INFO: TCP Data received {"connection_id":124768,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39894fc0012d4e9b00066bdc50001300732c..."} 
[2026-07-07 03:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39894fc0012d4e9b00066bdc50001300732c..."} 
[2026-07-07 03:58:06] local.INFO: Processing buffer {"connection_id":124768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39894fc0012d4e9b00066bdc50001300732c..."} 
[2026-07-07 03:58:06] local.INFO: Packet analysis {"connection_id":124768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3989"} 
[2026-07-07 03:58:06] local.INFO: Extracted packet for processing {"connection_id":124768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3989"} 
[2026-07-07 03:58:06] local.INFO: GPS Element Parsed {"raw_longitude":760126208,"raw_latitude":107732048,"longitude_deg":76.0126208,"latitude_deg":10.7732048,"altitude":19,"angle":115,"satellites":44,"speed":0,"hex_longitude":"2d4e9b00","hex_latitude":"066bdc50","is_valid_coordinates":true} 
[2026-07-07 03:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544365056001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340398547872514048,"note":"Value kept but may cause issues"} 
[2026-07-07 03:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5656732265789671424,"note":"Value kept but may cause issues"} 
[2026-07-07 03:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783376728000,"timestamp_ms":1783376728000,"timestamp_seconds":1783376728,"priority":1,"record_length":96,"hex_timestamp":"0000019f39894fc0"} 
[2026-07-07 03:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 03:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-07-07 03:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544365056001,"66":25495,"1":206,"80":60160,"24":0,"16":340398547872514048,"45":5656732265789671424},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 03:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544365056001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:58:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340398547872514048,"km_value":340398547872514.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5656732265789671424,"description":"Unknown IO ID 45"} 
[2026-07-07 03:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544365056001,"power":25495,"imei":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5656732265789671424}} 
[2026-07-07 03:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":124768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:58:06] local.INFO: GPS data processed {"connection_id":124768,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:58:06] local.INFO: Acknowledgment sent {"connection_id":124768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:58:37] local.INFO: TCP Data received {"connection_id":124768,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f398b3808012d4e9b00066bdc50001300732c..."} 
[2026-07-07 03:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f398b3808012d4e9b00066bdc50001300732c..."} 
[2026-07-07 03:58:37] local.INFO: Processing buffer {"connection_id":124768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f398b3808012d4e9b00066bdc50001300732c..."} 
[2026-07-07 03:58:37] local.INFO: Packet analysis {"connection_id":124768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f398b"} 
[2026-07-07 03:58:37] local.INFO: Extracted packet for processing {"connection_id":124768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f398b"} 
[2026-07-07 03:58:37] local.INFO: GPS Element Parsed {"raw_longitude":760126208,"raw_latitude":107732048,"longitude_deg":76.0126208,"latitude_deg":10.7732048,"altitude":19,"angle":115,"satellites":44,"speed":0,"hex_longitude":"2d4e9b00","hex_latitude":"066bdc50","is_valid_coordinates":true} 
[2026-07-07 03:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544442368001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340398547872514048,"note":"Value kept but may cause issues"} 
[2026-07-07 03:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5664120983927934976,"note":"Value kept but may cause issues"} 
[2026-07-07 03:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783376853000,"timestamp_ms":1783376853000,"timestamp_seconds":1783376853,"priority":1,"record_length":96,"hex_timestamp":"0000019f398b3808"} 
[2026-07-07 03:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 03:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 03:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:58: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-07-07 03:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544442368001,"66":25321,"1":206,"80":60160,"24":0,"16":340398547872514048,"45":5664120983927934976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 03:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544442368001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:58:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340398547872514048,"km_value":340398547872514.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5664120983927934976,"description":"Unknown IO ID 45"} 
[2026-07-07 03:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544442368001,"power":25321,"imei":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5664120983927934976}} 
[2026-07-07 03:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":124768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:58:37] local.INFO: GPS data processed {"connection_id":124768,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:58:37] local.INFO: Acknowledgment sent {"connection_id":124768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:58:58] local.INFO: TCP Data received {"connection_id":126019,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:58:58] local.INFO: Processing buffer {"connection_id":126019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:58:58] local.INFO: IMEI packet received {"connection_id":126019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 03:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":126019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:59:00] local.INFO: TCP Data received {"connection_id":126019,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:59:00] local.INFO: Processing buffer {"connection_id":126019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:59:00] local.INFO: IMEI packet received {"connection_id":126019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":126019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:59:05] local.INFO: TCP Data received {"connection_id":126019,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:59:05] local.INFO: Processing buffer {"connection_id":126019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 03:59:05] local.INFO: IMEI packet received {"connection_id":126019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 03:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":126019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 03:59:06] local.INFO: TCP Data received {"connection_id":126019,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f398b4b90012d4e9f00066bdc60001300532b..."} 
[2026-07-07 03:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f398b4b90012d4e9f00066bdc60001300532b..."} 
[2026-07-07 03:59:06] local.INFO: Processing buffer {"connection_id":126019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f398b4b90012d4e9f00066bdc60001300532b..."} 
[2026-07-07 03:59:06] local.INFO: Packet analysis {"connection_id":126019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f398b"} 
[2026-07-07 03:59:06] local.INFO: Extracted packet for processing {"connection_id":126019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f398b"} 
[2026-07-07 03:59:06] local.INFO: GPS Element Parsed {"raw_longitude":760127232,"raw_latitude":107732064,"longitude_deg":76.0127232,"latitude_deg":10.7732064,"altitude":19,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d4e9f00","hex_latitude":"066bdc60","is_valid_coordinates":true} 
[2026-07-07 03:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544474368001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340398547872514048,"note":"Value kept but may cause issues"} 
[2026-07-07 03:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5664120983927934976,"note":"Value kept but may cause issues"} 
[2026-07-07 03:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783376858000,"timestamp_ms":1783376858000,"timestamp_seconds":1783376858,"priority":1,"record_length":96,"hex_timestamp":"0000019f398b4b90"} 
[2026-07-07 03:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 03:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 03:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 03:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544474368001,"66":25093,"1":206,"80":60160,"24":0,"16":340398547872514048,"45":5664120983927934976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 03:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544474368001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:59:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340398547872514048,"km_value":340398547872514.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5664120983927934976,"description":"Unknown IO ID 45"} 
[2026-07-07 03:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544474368001,"power":25093,"imei":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5664120983927934976}} 
[2026-07-07 03:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":126019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:59:06] local.INFO: GPS data processed {"connection_id":126019,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:59:06] local.INFO: Acknowledgment sent {"connection_id":126019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 03:59:15] local.INFO: TCP Data received {"connection_id":126020,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:59:15] local.INFO: Processing buffer {"connection_id":126020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 03:59:15] local.INFO: IMEI packet received {"connection_id":126020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 03:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":126020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 03:59:37] local.INFO: TCP Data received {"connection_id":126019,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f398b9d98012d4e9f00066bdc60001300532c..."} 
[2026-07-07 03:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f398b9d98012d4e9f00066bdc60001300532c..."} 
[2026-07-07 03:59:37] local.INFO: Processing buffer {"connection_id":126019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f398b9d98012d4e9f00066bdc60001300532c..."} 
[2026-07-07 03:59:37] local.INFO: Packet analysis {"connection_id":126019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f398b"} 
[2026-07-07 03:59:37] local.INFO: Extracted packet for processing {"connection_id":126019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f398b"} 
[2026-07-07 03:59:37] local.INFO: GPS Element Parsed {"raw_longitude":760127232,"raw_latitude":107732064,"longitude_deg":76.0127232,"latitude_deg":10.7732064,"altitude":19,"angle":83,"satellites":44,"speed":0,"hex_longitude":"2d4e9f00","hex_latitude":"066bdc60","is_valid_coordinates":true} 
[2026-07-07 03:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 03:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544475648001,"note":"Value kept but may cause issues"} 
[2026-07-07 03:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340398547872514048,"note":"Value kept but may cause issues"} 
[2026-07-07 03:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5665246883834781696,"note":"Value kept but may cause issues"} 
[2026-07-07 03:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 03:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783376879000,"timestamp_ms":1783376879000,"timestamp_seconds":1783376879,"priority":1,"record_length":96,"hex_timestamp":"0000019f398b9d98"} 
[2026-07-07 03:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 03:59: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-07-07 03: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 03:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 03:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 03:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 03:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 03:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 03:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 03:59: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-07-07 03:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 03:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 03:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544475648001,"66":26941,"1":206,"80":60160,"24":0,"16":340398547872514048,"45":5665246883834781696},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 03:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 03:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 03:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544475648001,"description":"Unknown IO ID 0"} 
[2026-07-07 03:59:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 03:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340398547872514048,"km_value":340398547872514.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 03:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5665246883834781696,"description":"Unknown IO ID 45"} 
[2026-07-07 03:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544475648001,"power":26941,"imei":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5665246883834781696}} 
[2026-07-07 03:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":126019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 03:59:37] local.INFO: GPS data processed {"connection_id":126019,"processed":1,"errors":0,"total":1} 
[2026-07-07 03:59:37] local.INFO: Acknowledgment sent {"connection_id":126019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:00:05] local.INFO: TCP Data received {"connection_id":124769,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:00:05] local.INFO: Processing buffer {"connection_id":124769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:00:05] local.INFO: IMEI packet received {"connection_id":124769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 04:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":124769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:00:14] local.INFO: TCP Data received {"connection_id":124770,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:00:14] local.INFO: Processing buffer {"connection_id":124770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:00:14] local.INFO: IMEI packet received {"connection_id":124770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":124770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:00:15] local.INFO: TCP Data received {"connection_id":124770,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:00:15] local.INFO: Processing buffer {"connection_id":124770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:00:15] local.INFO: IMEI packet received {"connection_id":124770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":124770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:00:20] local.INFO: TCP Data received {"connection_id":124770,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:00:20] local.INFO: Processing buffer {"connection_id":124770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:00:20] local.INFO: IMEI packet received {"connection_id":124770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":124770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:00:21] local.INFO: TCP Data received {"connection_id":124770,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f398befa0012d4e9f00066bdc60001300532a..."} 
[2026-07-07 04:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f398befa0012d4e9f00066bdc60001300532a..."} 
[2026-07-07 04:00:21] local.INFO: Processing buffer {"connection_id":124770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f398befa0012d4e9f00066bdc60001300532a..."} 
[2026-07-07 04:00:21] local.INFO: Packet analysis {"connection_id":124770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f398b"} 
[2026-07-07 04:00:21] local.INFO: Extracted packet for processing {"connection_id":124770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f398b"} 
[2026-07-07 04:00:21] local.INFO: GPS Element Parsed {"raw_longitude":760127232,"raw_latitude":107732064,"longitude_deg":76.0127232,"latitude_deg":10.7732064,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d4e9f00","hex_latitude":"066bdc60","is_valid_coordinates":true} 
[2026-07-07 04:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544481024001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340398547872514048,"note":"Value kept but may cause issues"} 
[2026-07-07 04:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5665246883834781696,"note":"Value kept but may cause issues"} 
[2026-07-07 04:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783376900000,"timestamp_ms":1783376900000,"timestamp_seconds":1783376900,"priority":1,"record_length":96,"hex_timestamp":"0000019f398befa0"} 
[2026-07-07 04:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-07-07 04:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1272,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:00: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-07-07 04:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544481024001,"66":27104,"1":206,"80":60160,"24":0,"16":340398547872514048,"45":5665246883834781696},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 04:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544481024001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:00:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-07 04:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340398547872514048,"km_value":340398547872514.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5665246883834781696,"description":"Unknown IO ID 45"} 
[2026-07-07 04:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544481024001,"power":27104,"imei":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5665246883834781696}} 
[2026-07-07 04:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":124770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:00:21] local.INFO: GPS data processed {"connection_id":124770,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:00:21] local.INFO: Acknowledgment sent {"connection_id":124770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:01:00] local.INFO: TCP Data received {"connection_id":126021,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:01:00] local.INFO: Processing buffer {"connection_id":126021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:01:00] local.INFO: IMEI packet received {"connection_id":126021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":126021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:01:01] local.INFO: TCP Data received {"connection_id":126021,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:01:01] local.INFO: Processing buffer {"connection_id":126021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:01:01] local.INFO: IMEI packet received {"connection_id":126021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":126021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:01:05] local.INFO: TCP Data received {"connection_id":126021,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:01:05] local.INFO: Processing buffer {"connection_id":126021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:01:05] local.INFO: IMEI packet received {"connection_id":126021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":126021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:01:08] local.INFO: TCP Data received {"connection_id":126021,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f398d37c0012d4efc80066b47b8001000b329..."} 
[2026-07-07 04:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f398d37c0012d4efc80066b47b8001000b329..."} 
[2026-07-07 04:01:08] local.INFO: Processing buffer {"connection_id":126021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f398d37c0012d4efc80066b47b8001000b329..."} 
[2026-07-07 04:01:08] local.INFO: Packet analysis {"connection_id":126021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f398d"} 
[2026-07-07 04:01:08] local.INFO: Extracted packet for processing {"connection_id":126021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f398d"} 
[2026-07-07 04:01:08] local.INFO: GPS Element Parsed {"raw_longitude":760151168,"raw_latitude":107694008,"longitude_deg":76.0151168,"latitude_deg":10.7694008,"altitude":16,"angle":179,"satellites":41,"speed":43,"hex_longitude":"2d4efc80","hex_latitude":"066b47b8","is_valid_coordinates":true} 
[2026-07-07 04:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544505856001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340400961644134400,"note":"Value kept but may cause issues"} 
[2026-07-07 04:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5691916637870741504,"note":"Value kept but may cause issues"} 
[2026-07-07 04:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783376984000,"timestamp_ms":1783376984000,"timestamp_seconds":1783376984,"priority":1,"record_length":96,"hex_timestamp":"0000019f398d37c0"} 
[2026-07-07 04:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:01: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-07-07 04: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 04:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:01: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-07-07 04:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544505856001,"66":27321,"151":206,"80":60416,"24":43,"16":340400961644134400,"45":5691916637870741504},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,80,24,16,45]} 
[2026-07-07 04:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544505856001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:01:08] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-07 04:01:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340400961644134400,"km_value":340400961644134.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5691916637870741504,"description":"Unknown IO ID 45"} 
[2026-07-07 04:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544505856001,"power":27321,"unknown_151":206,"unknown_80":60416,"ignition":43,"odometer":null,"unknown_45":5691916637870741504}} 
[2026-07-07 04:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":126021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:01:08] local.INFO: GPS data processed {"connection_id":126021,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:01:08] local.INFO: Acknowledgment sent {"connection_id":126021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:01:41] local.INFO: TCP Data received {"connection_id":126021,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f398d5ae8012d4efa80066b2418001200bb29..."} 
[2026-07-07 04:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f398d5ae8012d4efa80066b2418001200bb29..."} 
[2026-07-07 04:01:41] local.INFO: Processing buffer {"connection_id":126021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f398d5ae8012d4efa80066b2418001200bb29..."} 
[2026-07-07 04:01:41] local.INFO: Packet analysis {"connection_id":126021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f398d"} 
[2026-07-07 04:01:41] local.INFO: Extracted packet for processing {"connection_id":126021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f398d"} 
[2026-07-07 04:01:41] local.INFO: GPS Element Parsed {"raw_longitude":760150656,"raw_latitude":107684888,"longitude_deg":76.0150656,"latitude_deg":10.7684888,"altitude":18,"angle":187,"satellites":41,"speed":37,"hex_longitude":"2d4efa80","hex_latitude":"066b2418","is_valid_coordinates":true} 
[2026-07-07 04:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544507904001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340401404025765888,"note":"Value kept but may cause issues"} 
[2026-07-07 04:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5691564794147485696,"note":"Value kept but may cause issues"} 
[2026-07-07 04:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783376993000,"timestamp_ms":1783376993000,"timestamp_seconds":1783376993,"priority":1,"record_length":96,"hex_timestamp":"0000019f398d5ae8"} 
[2026-07-07 04:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04: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-07-07 04: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":185,"data_length":795,"current_offset":136} 
[2026-07-07 04:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544507904001,"66":27626,"151":206,"80":60416,"24":37,"16":340401404025765888,"45":5691564794147485696},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,80,24,16,45]} 
[2026-07-07 04:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544507904001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:01:41] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-07 04:01:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340401404025765888,"km_value":340401404025765.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5691564794147485696,"description":"Unknown IO ID 45"} 
[2026-07-07 04:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544507904001,"power":27626,"unknown_151":206,"unknown_80":60416,"ignition":37,"odometer":null,"unknown_45":5691564794147485696}} 
[2026-07-07 04:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":126021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:01:41] local.INFO: GPS data processed {"connection_id":126021,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:01:41] local.INFO: Acknowledgment sent {"connection_id":126021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:02:00] local.INFO: TCP Data received {"connection_id":124107,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:02:00] local.INFO: Processing buffer {"connection_id":124107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:02:00] local.INFO: IMEI packet received {"connection_id":124107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":124107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:02:01] local.INFO: TCP Data received {"connection_id":124107,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:02:01] local.INFO: Processing buffer {"connection_id":124107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:02:01] local.INFO: IMEI packet received {"connection_id":124107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":124107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:02:05] local.INFO: TCP Data received {"connection_id":124107,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:02:05] local.INFO: Processing buffer {"connection_id":124107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:02:05] local.INFO: IMEI packet received {"connection_id":124107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":124107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:02:10] local.INFO: TCP Data received {"connection_id":124107,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f398e9f20012d4ef5000669da000009009d2b..."} 
[2026-07-07 04:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f398e9f20012d4ef5000669da000009009d2b..."} 
[2026-07-07 04:02:10] local.INFO: Processing buffer {"connection_id":124107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f398e9f20012d4ef5000669da000009009d2b..."} 
[2026-07-07 04:02:10] local.INFO: Packet analysis {"connection_id":124107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f398e"} 
[2026-07-07 04:02:10] local.INFO: Extracted packet for processing {"connection_id":124107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f398e"} 
[2026-07-07 04:02:10] local.INFO: GPS Element Parsed {"raw_longitude":760149248,"raw_latitude":107600384,"longitude_deg":76.0149248,"latitude_deg":10.7600384,"altitude":9,"angle":157,"satellites":43,"speed":37,"hex_longitude":"2d4ef500","hex_latitude":"0669da00","is_valid_coordinates":true} 
[2026-07-07 04:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544528896001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340405591618879488,"note":"Value kept but may cause issues"} 
[2026-07-07 04:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5685653819614908416,"note":"Value kept but may cause issues"} 
[2026-07-07 04:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783377076000,"timestamp_ms":1783377076000,"timestamp_seconds":1783377076,"priority":1,"record_length":96,"hex_timestamp":"0000019f398e9f20"} 
[2026-07-07 04:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:02: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-07-07 04:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 04:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544528896001,"66":27321,"1":206,"80":60416,"24":37,"16":340405591618879488,"45":5685653819614908416},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 04:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544528896001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:02:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340405591618879488,"km_value":340405591618879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5685653819614908416,"description":"Unknown IO ID 45"} 
[2026-07-07 04:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544528896001,"power":27321,"imei":206,"unknown_80":60416,"ignition":37,"odometer":null,"unknown_45":5685653819614908416}} 
[2026-07-07 04:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":124107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:02:10] local.INFO: GPS data processed {"connection_id":124107,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:02:10] local.INFO: Acknowledgment sent {"connection_id":124107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:02:41] local.INFO: TCP Data received {"connection_id":124107,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f398eaec0012d4efc000669ccd80009008f2b..."} 
[2026-07-07 04:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f398eaec0012d4efc000669ccd80009008f2b..."} 
[2026-07-07 04:02:41] local.INFO: Processing buffer {"connection_id":124107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f398eaec0012d4efc000669ccd80009008f2b..."} 
[2026-07-07 04:02:41] local.INFO: Packet analysis {"connection_id":124107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f398e"} 
[2026-07-07 04:02:41] local.INFO: Extracted packet for processing {"connection_id":124107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f398e"} 
[2026-07-07 04:02:41] local.INFO: GPS Element Parsed {"raw_longitude":760151040,"raw_latitude":107597016,"longitude_deg":76.015104,"latitude_deg":10.7597016,"altitude":9,"angle":143,"satellites":43,"speed":38,"hex_longitude":"2d4efc00","hex_latitude":"0669ccd8","is_valid_coordinates":true} 
[2026-07-07 04:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544531456001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340405776302473216,"note":"Value kept but may cause issues"} 
[2026-07-07 04:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5689453731798188032,"note":"Value kept but may cause issues"} 
[2026-07-07 04:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783377080000,"timestamp_ms":1783377080000,"timestamp_seconds":1783377080,"priority":1,"record_length":96,"hex_timestamp":"0000019f398eaec0"} 
[2026-07-07 04:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:02: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-07-07 04:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 04:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544531456001,"66":27343,"1":206,"80":60416,"24":38,"16":340405776302473216,"45":5689453731798188032},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 04:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544531456001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:02:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340405776302473216,"km_value":340405776302473.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5689453731798188032,"description":"Unknown IO ID 45"} 
[2026-07-07 04:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544531456001,"power":27343,"imei":206,"unknown_80":60416,"ignition":38,"odometer":null,"unknown_45":5689453731798188032}} 
[2026-07-07 04:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":124107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:02:41] local.INFO: GPS data processed {"connection_id":124107,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:02:41] local.INFO: Acknowledgment sent {"connection_id":124107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:03:00] local.INFO: TCP Data received {"connection_id":123992,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:03:00] local.INFO: Processing buffer {"connection_id":123992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:03:00] local.INFO: IMEI packet received {"connection_id":123992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":123992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:03:05] local.INFO: TCP Data received {"connection_id":123992,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:03:05] local.INFO: Processing buffer {"connection_id":123992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:03:05] local.INFO: IMEI packet received {"connection_id":123992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":123992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:03:08] local.INFO: TCP Data received {"connection_id":123992,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:03:08] local.INFO: Processing buffer {"connection_id":123992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:03:08] local.INFO: IMEI packet received {"connection_id":123992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":123992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:03:13] local.INFO: TCP Data received {"connection_id":123992,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f398eba78012d4f04400669c438000800832b..."} 
[2026-07-07 04:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f398eba78012d4f04400669c438000800832b..."} 
[2026-07-07 04:03:13] local.INFO: Processing buffer {"connection_id":123992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f398eba78012d4f04400669c438000800832b..."} 
[2026-07-07 04:03:13] local.INFO: Packet analysis {"connection_id":123992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f398e"} 
[2026-07-07 04:03:13] local.INFO: Extracted packet for processing {"connection_id":123992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f398e"} 
[2026-07-07 04:03:13] local.INFO: GPS Element Parsed {"raw_longitude":760153152,"raw_latitude":107594808,"longitude_deg":76.0153152,"latitude_deg":10.7594808,"altitude":8,"angle":131,"satellites":43,"speed":42,"hex_longitude":"2d4f0440","hex_latitude":"0669c438","is_valid_coordinates":true} 
[2026-07-07 04: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-07-07 04:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544532480001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340405922331361280,"note":"Value kept but may cause issues"} 
[2026-07-07 04:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5691424056634300416,"note":"Value kept but may cause issues"} 
[2026-07-07 04:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783377083000,"timestamp_ms":1783377083000,"timestamp_seconds":1783377083,"priority":1,"record_length":96,"hex_timestamp":"0000019f398eba78"} 
[2026-07-07 04:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:03: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-07-07 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 04:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04: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-07-07 04:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":123992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":123992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":123992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04: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-07-07 04:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544532480001,"66":27484,"1":206,"80":60416,"24":42,"16":340405922331361280,"45":5691424056634300416},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 04:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544532480001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:03:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340405922331361280,"km_value":340405922331361.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5691424056634300416,"description":"Unknown IO ID 45"} 
[2026-07-07 04:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544532480001,"power":27484,"imei":206,"unknown_80":60416,"ignition":42,"odometer":null,"unknown_45":5691424056634300416}} 
[2026-07-07 04:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":123992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:03:13] local.INFO: GPS data processed {"connection_id":123992,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:03:13] local.INFO: Acknowledgment sent {"connection_id":123992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:03:14] local.INFO: TCP Data received {"connection_id":123992,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f398eca18012d4f13c00669b9d0000600772b..."} 
[2026-07-07 04:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f398eca18012d4f13c00669b9d0000600772b..."} 
[2026-07-07 04:03:14] local.INFO: Processing buffer {"connection_id":123992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f398eca18012d4f13c00669b9d0000600772b..."} 
[2026-07-07 04:03:14] local.INFO: Packet analysis {"connection_id":123992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f398e"} 
[2026-07-07 04:03:14] local.INFO: Extracted packet for processing {"connection_id":123992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f398e"} 
[2026-07-07 04:03:14] local.INFO: GPS Element Parsed {"raw_longitude":760157120,"raw_latitude":107592144,"longitude_deg":76.015712,"latitude_deg":10.7592144,"altitude":6,"angle":119,"satellites":43,"speed":50,"hex_longitude":"2d4f13c0","hex_latitude":"0669b9d0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 04:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544533248001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340406154259595264,"note":"Value kept but may cause issues"} 
[2026-07-07 04:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5693746225191598080,"note":"Value kept but may cause issues"} 
[2026-07-07 04:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783377087000,"timestamp_ms":1783377087000,"timestamp_seconds":1783377087,"priority":1,"record_length":96,"hex_timestamp":"0000019f398eca18"} 
[2026-07-07 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-07-07 04: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-07-07 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":92,"data_length":795,"current_offset":136} 
[2026-07-07 04:03: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-07-07 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-07-07 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-07-07 04:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":123992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":123992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":123992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:03: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-07-07 04:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544533248001,"66":27397,"1":206,"80":60416,"24":50,"16":340406154259595264,"45":5693746225191598080},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 04:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544533248001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:03:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340406154259595264,"km_value":340406154259595.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5693746225191598080,"description":"Unknown IO ID 45"} 
[2026-07-07 04:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544533248001,"power":27397,"imei":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":5693746225191598080}} 
[2026-07-07 04:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":123992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:03:14] local.INFO: GPS data processed {"connection_id":123992,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:03:14] local.INFO: Acknowledgment sent {"connection_id":123992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:03:48] local.INFO: TCP Data received {"connection_id":123992,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39900a68012d4fe9400668c938000900a72b..."} 
[2026-07-07 04:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39900a68012d4fe9400668c938000900a72b..."} 
[2026-07-07 04:03:48] local.INFO: Processing buffer {"connection_id":123992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39900a68012d4fe9400668c938000900a72b..."} 
[2026-07-07 04:03:48] local.INFO: Packet analysis {"connection_id":123992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3990"} 
[2026-07-07 04:03:48] local.INFO: Extracted packet for processing {"connection_id":123992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3990"} 
[2026-07-07 04:03:48] local.INFO: GPS Element Parsed {"raw_longitude":760211776,"raw_latitude":107530552,"longitude_deg":76.0211776,"latitude_deg":10.7530552,"altitude":9,"angle":167,"satellites":43,"speed":46,"hex_longitude":"2d4fe940","hex_latitude":"0668c938","is_valid_coordinates":true} 
[2026-07-07 04: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-07-07 04:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544552960001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340410487881596928,"note":"Value kept but may cause issues"} 
[2026-07-07 04:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5755107770100441088,"note":"Value kept but may cause issues"} 
[2026-07-07 04:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783377169000,"timestamp_ms":1783377169000,"timestamp_seconds":1783377169,"priority":1,"record_length":96,"hex_timestamp":"0000019f39900a68"} 
[2026-07-07 04:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:03: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-07-07 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 04:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04: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-07-07 04:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":123992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":123992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":123992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:03: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-07-07 04:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544552960001,"66":27397,"2":206,"80":60416,"24":46,"16":340410487881596928,"45":5755107770100441088},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-07-07 04:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544552960001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:03:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340410487881596928,"km_value":340410487881596.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5755107770100441088,"description":"Unknown IO ID 45"} 
[2026-07-07 04:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544552960001,"power":27397,"power_alt":206,"unknown_80":60416,"ignition":46,"odometer":null,"unknown_45":5755107770100441088}} 
[2026-07-07 04:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":123992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:03:48] local.INFO: GPS data processed {"connection_id":123992,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:03:48] local.INFO: Acknowledgment sent {"connection_id":123992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:03:57] local.INFO: TCP Data received {"connection_id":123993,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:03:57] local.INFO: Processing buffer {"connection_id":123993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:03:57] local.INFO: IMEI packet received {"connection_id":123993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":123993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:04:00] local.INFO: TCP Data received {"connection_id":123993,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:04:00] local.INFO: Processing buffer {"connection_id":123993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:04:00] local.INFO: IMEI packet received {"connection_id":123993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":123993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:04:05] local.INFO: TCP Data received {"connection_id":123993,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:04:05] local.INFO: Processing buffer {"connection_id":123993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:04:05] local.INFO: IMEI packet received {"connection_id":123993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":123993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:04:06] local.INFO: TCP Data received {"connection_id":123993,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f399029a8012d4ff1400668a2b8000900a829..."} 
[2026-07-07 04:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f399029a8012d4ff1400668a2b8000900a829..."} 
[2026-07-07 04:04:06] local.INFO: Processing buffer {"connection_id":123993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f399029a8012d4ff1400668a2b8000900a829..."} 
[2026-07-07 04:04:06] local.INFO: Packet analysis {"connection_id":123993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3990"} 
[2026-07-07 04:04:06] local.INFO: Extracted packet for processing {"connection_id":123993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3990"} 
[2026-07-07 04:04:06] local.INFO: GPS Element Parsed {"raw_longitude":760213824,"raw_latitude":107520696,"longitude_deg":76.0213824,"latitude_deg":10.7520696,"altitude":9,"angle":168,"satellites":41,"speed":51,"hex_longitude":"2d4ff140","hex_latitude":"0668a2b8","is_valid_coordinates":true} 
[2026-07-07 04:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544555264001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340410973212901376,"note":"Value kept but may cause issues"} 
[2026-07-07 04:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5758203994841888768,"note":"Value kept but may cause issues"} 
[2026-07-07 04:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783377177000,"timestamp_ms":1783377177000,"timestamp_seconds":1783377177,"priority":1,"record_length":96,"hex_timestamp":"0000019f399029a8"} 
[2026-07-07 04:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 04:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":123993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":123993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":123993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544555264001,"66":27484,"2":206,"80":60416,"24":51,"16":340410973212901376,"45":5758203994841888768},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-07-07 04:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544555264001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:04:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340410973212901376,"km_value":340410973212901.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5758203994841888768,"description":"Unknown IO ID 45"} 
[2026-07-07 04:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544555264001,"power":27484,"power_alt":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":5758203994841888768}} 
[2026-07-07 04:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":123993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:04:06] local.INFO: GPS data processed {"connection_id":123993,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:04:06] local.INFO: Acknowledgment sent {"connection_id":123993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:04:38] local.INFO: TCP Data received {"connection_id":123993,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39904500012d4ff8c0066880a0000900a22b..."} 
[2026-07-07 04:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39904500012d4ff8c0066880a0000900a22b..."} 
[2026-07-07 04:04:38] local.INFO: Processing buffer {"connection_id":123993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39904500012d4ff8c0066880a0000900a22b..."} 
[2026-07-07 04:04:38] local.INFO: Packet analysis {"connection_id":123993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3990"} 
[2026-07-07 04:04:38] local.INFO: Extracted packet for processing {"connection_id":123993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3990"} 
[2026-07-07 04:04:38] local.INFO: GPS Element Parsed {"raw_longitude":760215744,"raw_latitude":107511968,"longitude_deg":76.0215744,"latitude_deg":10.7511968,"altitude":9,"angle":162,"satellites":43,"speed":50,"hex_longitude":"2d4ff8c0","hex_latitude":"066880a0","is_valid_coordinates":true} 
[2026-07-07 04:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544557312001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340411407004598272,"note":"Value kept but may cause issues"} 
[2026-07-07 04:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5760455794653050880,"note":"Value kept but may cause issues"} 
[2026-07-07 04:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783377184000,"timestamp_ms":1783377184000,"timestamp_seconds":1783377184,"priority":1,"record_length":96,"hex_timestamp":"0000019f39904500"} 
[2026-07-07 04:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04: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-07-07 04: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 04:04: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-07-07 04:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":123993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":123993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":123993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:04: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-07-07 04:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544557312001,"66":27517,"2":206,"80":60416,"24":50,"16":340411407004598272,"45":5760455794653050880},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-07-07 04:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544557312001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:04:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340411407004598272,"km_value":340411407004598.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5760455794653050880,"description":"Unknown IO ID 45"} 
[2026-07-07 04:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544557312001,"power":27517,"power_alt":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":5760455794653050880}} 
[2026-07-07 04:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":123993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:04:38] local.INFO: GPS data processed {"connection_id":123993,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:04:38] local.INFO: Acknowledgment sent {"connection_id":123993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:05:00] local.INFO: TCP Data received {"connection_id":124109,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:05:00] local.INFO: Processing buffer {"connection_id":124109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:05:00] local.INFO: IMEI packet received {"connection_id":124109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":124109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:05:01] local.INFO: TCP Data received {"connection_id":124109,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:05:01] local.INFO: Processing buffer {"connection_id":124109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:05:01] local.INFO: IMEI packet received {"connection_id":124109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":124109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:05:05] local.INFO: TCP Data received {"connection_id":124109,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:05:05] local.INFO: Processing buffer {"connection_id":124109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:05:05] local.INFO: IMEI packet received {"connection_id":124109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":124109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:05:06] local.INFO: TCP Data received {"connection_id":124109,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f399050b8012d4ffec006687348000900972b..."} 
[2026-07-07 04:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f399050b8012d4ffec006687348000900972b..."} 
[2026-07-07 04:05:06] local.INFO: Processing buffer {"connection_id":124109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f399050b8012d4ffec006687348000900972b..."} 
[2026-07-07 04:05:06] local.INFO: Packet analysis {"connection_id":124109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3990"} 
[2026-07-07 04:05:06] local.INFO: Extracted packet for processing {"connection_id":124109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3990"} 
[2026-07-07 04:05:06] local.INFO: GPS Element Parsed {"raw_longitude":760217280,"raw_latitude":107508552,"longitude_deg":76.021728,"latitude_deg":10.7508552,"altitude":9,"angle":151,"satellites":43,"speed":48,"hex_longitude":"2d4ffec0","hex_latitude":"06687348","is_valid_coordinates":true} 
[2026-07-07 04:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544559104001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340411591688192000,"note":"Value kept but may cause issues"} 
[2026-07-07 04:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5762566856976146432,"note":"Value kept but may cause issues"} 
[2026-07-07 04:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783377187000,"timestamp_ms":1783377187000,"timestamp_seconds":1783377187,"priority":1,"record_length":96,"hex_timestamp":"0000019f399050b8"} 
[2026-07-07 04:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 04:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544559104001,"66":27517,"79":206,"80":60416,"24":48,"16":340411591688192000,"45":5762566856976146432},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,80,24,16,45]} 
[2026-07-07 04:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544559104001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:05:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-07-07 04:05:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340411591688192000,"km_value":340411591688192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5762566856976146432,"description":"Unknown IO ID 45"} 
[2026-07-07 04:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544559104001,"power":27517,"unknown_79":206,"unknown_80":60416,"ignition":48,"odometer":null,"unknown_45":5762566856976146432}} 
[2026-07-07 04:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":124109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:05:06] local.INFO: GPS data processed {"connection_id":124109,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:05:06] local.INFO: Acknowledgment sent {"connection_id":124109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:05:10] local.INFO: TCP Data received {"connection_id":124773,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:05:10] local.INFO: Processing buffer {"connection_id":124773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:05:10] local.INFO: IMEI packet received {"connection_id":124773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 04:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":124773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:05:37] local.INFO: TCP Data received {"connection_id":124109,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3991b430012d51140006676288001000aa2a..."} 
[2026-07-07 04:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3991b430012d51140006676288001000aa2a..."} 
[2026-07-07 04:05:37] local.INFO: Processing buffer {"connection_id":124109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3991b430012d51140006676288001000aa2a..."} 
[2026-07-07 04:05:37] local.INFO: Packet analysis {"connection_id":124109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3991"} 
[2026-07-07 04:05:37] local.INFO: Extracted packet for processing {"connection_id":124109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3991"} 
[2026-07-07 04:05:37] local.INFO: GPS Element Parsed {"raw_longitude":760288256,"raw_latitude":107438728,"longitude_deg":76.0288256,"latitude_deg":10.7438728,"altitude":16,"angle":170,"satellites":42,"speed":48,"hex_longitude":"2d511400","hex_latitude":"06676288","is_valid_coordinates":true} 
[2026-07-07 04:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544581376001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340416483655942144,"note":"Value kept but may cause issues"} 
[2026-07-07 04:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5840113213043435520,"note":"Value kept but may cause issues"} 
[2026-07-07 04:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783377278000,"timestamp_ms":1783377278000,"timestamp_seconds":1783377278,"priority":1,"record_length":96,"hex_timestamp":"0000019f3991b430"} 
[2026-07-07 04:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04: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-07-07 04:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 04:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:05: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-07-07 04:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544581376001,"66":27365,"78":206,"80":60416,"24":48,"16":340416483655942144,"45":5840113213043435520},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,80,24,16,45]} 
[2026-07-07 04:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544581376001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:05:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-07 04:05:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340416483655942144,"km_value":340416483655942.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5840113213043435520,"description":"Unknown IO ID 45"} 
[2026-07-07 04:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544581376001,"power":27365,"unknown_78":206,"unknown_80":60416,"ignition":48,"odometer":null,"unknown_45":5840113213043435520}} 
[2026-07-07 04:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":124109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:05:37] local.INFO: GPS data processed {"connection_id":124109,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:05:37] local.INFO: Acknowledgment sent {"connection_id":124109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:06:00] local.INFO: TCP Data received {"connection_id":124775,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:06:00] local.INFO: Processing buffer {"connection_id":124775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:06:00] local.INFO: IMEI packet received {"connection_id":124775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":124775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:06:09] local.INFO: TCP Data received {"connection_id":124775,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:06:09] local.INFO: Processing buffer {"connection_id":124775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:06:09] local.INFO: IMEI packet received {"connection_id":124775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":124775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:06:15] local.INFO: TCP Data received {"connection_id":124775,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3991d370012d511a4006673c08001200aa29..."} 
[2026-07-07 04:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3991d370012d511a4006673c08001200aa29..."} 
[2026-07-07 04:06:15] local.INFO: Processing buffer {"connection_id":124775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3991d370012d511a4006673c08001200aa29..."} 
[2026-07-07 04:06:15] local.INFO: Packet analysis {"connection_id":124775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3991"} 
[2026-07-07 04:06:15] local.INFO: Extracted packet for processing {"connection_id":124775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3991"} 
[2026-07-07 04:06:15] local.INFO: GPS Element Parsed {"raw_longitude":760289856,"raw_latitude":107428872,"longitude_deg":76.0289856,"latitude_deg":10.7428872,"altitude":18,"angle":170,"satellites":41,"speed":48,"hex_longitude":"2d511a40","hex_latitude":"06673c08","is_valid_coordinates":true} 
[2026-07-07 04:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544583168001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340416968987246592,"note":"Value kept but may cause issues"} 
[2026-07-07 04:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5842294644110690304,"note":"Value kept but may cause issues"} 
[2026-07-07 04:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783377286000,"timestamp_ms":1783377286000,"timestamp_seconds":1783377286,"priority":1,"record_length":96,"hex_timestamp":"0000019f3991d370"} 
[2026-07-07 04:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04: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-07-07 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 04:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04: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-07-07 04:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544583168001,"66":27343,"78":206,"80":60416,"24":48,"16":340416968987246592,"45":5842294644110690304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,80,24,16,45]} 
[2026-07-07 04:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544583168001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:06:15] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-07 04:06:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340416968987246592,"km_value":340416968987246.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5842294644110690304,"description":"Unknown IO ID 45"} 
[2026-07-07 04:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544583168001,"power":27343,"unknown_78":206,"unknown_80":60416,"ignition":48,"odometer":null,"unknown_45":5842294644110690304}} 
[2026-07-07 04:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":124775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:06:15] local.INFO: GPS data processed {"connection_id":124775,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:06:15] local.INFO: Acknowledgment sent {"connection_id":124775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:07:00] local.INFO: TCP Data received {"connection_id":124111,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:07:00] local.INFO: Processing buffer {"connection_id":124111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:07:00] local.INFO: IMEI packet received {"connection_id":124111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":124111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:07:01] local.INFO: TCP Data received {"connection_id":124111,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:07:01] local.INFO: Processing buffer {"connection_id":124111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:07:01] local.INFO: IMEI packet received {"connection_id":124111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":124111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:07:05] local.INFO: TCP Data received {"connection_id":124111,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:07:05] local.INFO: Processing buffer {"connection_id":124111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:07:05] local.INFO: IMEI packet received {"connection_id":124111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":124111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:07:06] local.INFO: TCP Data received {"connection_id":124111,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39930808012d51260006660908000e00902b..."} 
[2026-07-07 04:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39930808012d51260006660908000e00902b..."} 
[2026-07-07 04:07:06] local.INFO: Processing buffer {"connection_id":124111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39930808012d51260006660908000e00902b..."} 
[2026-07-07 04:07:06] local.INFO: Packet analysis {"connection_id":124111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3993"} 
[2026-07-07 04:07:06] local.INFO: Extracted packet for processing {"connection_id":124111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3993"} 
[2026-07-07 04:07:06] local.INFO: GPS Element Parsed {"raw_longitude":760292864,"raw_latitude":107350280,"longitude_deg":76.0292864,"latitude_deg":10.735028,"altitude":14,"angle":144,"satellites":43,"speed":46,"hex_longitude":"2d512600","hex_latitude":"06660908","is_valid_coordinates":true} 
[2026-07-07 04:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544604672001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340420860227616768,"note":"Value kept but may cause issues"} 
[2026-07-07 04:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5845390868832647168,"note":"Value kept but may cause issues"} 
[2026-07-07 04:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783377365000,"timestamp_ms":1783377365000,"timestamp_seconds":1783377365,"priority":1,"record_length":96,"hex_timestamp":"0000019f39930808"} 
[2026-07-07 04:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:07: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-07-07 04:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 04:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544604672001,"66":27517,"174":206,"80":60416,"24":46,"16":340420860227616768,"45":5845390868832647168},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-07-07 04:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544604672001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:07:06] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-07 04:07:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340420860227616768,"km_value":340420860227616.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5845390868832647168,"description":"Unknown IO ID 45"} 
[2026-07-07 04:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544604672001,"power":27517,"unknown_174":206,"unknown_80":60416,"ignition":46,"odometer":null,"unknown_45":5845390868832647168}} 
[2026-07-07 04:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":124111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:07:06] local.INFO: GPS data processed {"connection_id":124111,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:07:06] local.INFO: Acknowledgment sent {"connection_id":124111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:07:38] local.INFO: TCP Data received {"connection_id":124111,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39931b90012d5136400665f8a8000c00822b..."} 
[2026-07-07 04:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39931b90012d5136400665f8a8000c00822b..."} 
[2026-07-07 04:07:38] local.INFO: Processing buffer {"connection_id":124111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39931b90012d5136400665f8a8000c00822b..."} 
[2026-07-07 04:07:38] local.INFO: Packet analysis {"connection_id":124111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3993"} 
[2026-07-07 04:07:38] local.INFO: Extracted packet for processing {"connection_id":124111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3993"} 
[2026-07-07 04:07:38] local.INFO: GPS Element Parsed {"raw_longitude":760297024,"raw_latitude":107346088,"longitude_deg":76.0297024,"latitude_deg":10.7346088,"altitude":12,"angle":130,"satellites":43,"speed":45,"hex_longitude":"2d513640","hex_latitude":"0665f8a8","is_valid_coordinates":true} 
[2026-07-07 04: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-07-07 04:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544605440001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340421143695458304,"note":"Value kept but may cause issues"} 
[2026-07-07 04:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5847361193668839424,"note":"Value kept but may cause issues"} 
[2026-07-07 04:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783377370000,"timestamp_ms":1783377370000,"timestamp_seconds":1783377370,"priority":1,"record_length":96,"hex_timestamp":"0000019f39931b90"} 
[2026-07-07 04:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 04:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04: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-07-07 04:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:07: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-07-07 04:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544605440001,"66":27484,"174":206,"80":60416,"24":45,"16":340421143695458304,"45":5847361193668839424},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-07-07 04:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544605440001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:07:38] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-07 04:07:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340421143695458304,"km_value":340421143695458.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5847361193668839424,"description":"Unknown IO ID 45"} 
[2026-07-07 04:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544605440001,"power":27484,"unknown_174":206,"unknown_80":60416,"ignition":45,"odometer":null,"unknown_45":5847361193668839424}} 
[2026-07-07 04:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":124111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:07:38] local.INFO: GPS data processed {"connection_id":124111,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:07:38] local.INFO: Acknowledgment sent {"connection_id":124111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:08:00] local.INFO: TCP Data received {"connection_id":126022,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:08:00] local.INFO: Processing buffer {"connection_id":126022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:08:00] local.INFO: IMEI packet received {"connection_id":126022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":126022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:08:03] local.INFO: TCP Data received {"connection_id":126022,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:08:03] local.INFO: Processing buffer {"connection_id":126022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:08:03] local.INFO: IMEI packet received {"connection_id":126022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":126022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:08:05] local.INFO: TCP Data received {"connection_id":126022,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:08:05] local.INFO: Processing buffer {"connection_id":126022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:08:05] local.INFO: IMEI packet received {"connection_id":126022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":126022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:08:07] local.INFO: TCP Data received {"connection_id":126022,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39932b30012d5144c00665eee0000a00752b..."} 
[2026-07-07 04:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39932b30012d5144c00665eee0000a00752b..."} 
[2026-07-07 04:08:07] local.INFO: Processing buffer {"connection_id":126022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39932b30012d5144c00665eee0000a00752b..."} 
[2026-07-07 04:08:07] local.INFO: Packet analysis {"connection_id":126022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3993"} 
[2026-07-07 04:08:07] local.INFO: Extracted packet for processing {"connection_id":126022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3993"} 
[2026-07-07 04:08:07] local.INFO: GPS Element Parsed {"raw_longitude":760300736,"raw_latitude":107343584,"longitude_deg":76.0300736,"latitude_deg":10.7343584,"altitude":10,"angle":117,"satellites":43,"speed":45,"hex_longitude":"2d5144c0","hex_latitude":"0665eee0","is_valid_coordinates":true} 
[2026-07-07 04:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544606720001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340421358443823104,"note":"Value kept but may cause issues"} 
[2026-07-07 04:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5851935162039314432,"note":"Value kept but may cause issues"} 
[2026-07-07 04:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783377374000,"timestamp_ms":1783377374000,"timestamp_seconds":1783377374,"priority":1,"record_length":96,"hex_timestamp":"0000019f39932b30"} 
[2026-07-07 04:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 04:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:08: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-07-07 04:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544606720001,"66":27604,"174":206,"80":60416,"24":45,"16":340421358443823104,"45":5851935162039314432},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-07-07 04:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544606720001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:08:07] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-07 04:08:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340421358443823104,"km_value":340421358443823.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5851935162039314432,"description":"Unknown IO ID 45"} 
[2026-07-07 04:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544606720001,"power":27604,"unknown_174":206,"unknown_80":60416,"ignition":45,"odometer":null,"unknown_45":5851935162039314432}} 
[2026-07-07 04:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":126022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:08:07] local.INFO: GPS data processed {"connection_id":126022,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:08:07] local.INFO: Acknowledgment sent {"connection_id":126022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:08:38] local.INFO: TCP Data received {"connection_id":126022,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39933eb8012d515a800665e6b8000700672a..."} 
[2026-07-07 04:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39933eb8012d515a800665e6b8000700672a..."} 
[2026-07-07 04:08:38] local.INFO: Processing buffer {"connection_id":126022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39933eb8012d515a800665e6b8000700672a..."} 
[2026-07-07 04:08:38] local.INFO: Packet analysis {"connection_id":126022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3993"} 
[2026-07-07 04:08:38] local.INFO: Extracted packet for processing {"connection_id":126022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3993"} 
[2026-07-07 04:08:38] local.INFO: GPS Element Parsed {"raw_longitude":760306304,"raw_latitude":107341496,"longitude_deg":76.0306304,"latitude_deg":10.7341496,"altitude":7,"angle":103,"satellites":42,"speed":47,"hex_longitude":"2d515a80","hex_latitude":"0665e6b8","is_valid_coordinates":true} 
[2026-07-07 04:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544607744001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340421646206631936,"note":"Value kept but may cause issues"} 
[2026-07-07 04:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5856016549200977920,"note":"Value kept but may cause issues"} 
[2026-07-07 04:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783377379000,"timestamp_ms":1783377379000,"timestamp_seconds":1783377379,"priority":1,"record_length":96,"hex_timestamp":"0000019f39933eb8"} 
[2026-07-07 04:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:08: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-07-07 04:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 04:08:38] 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-07-07 04:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:08: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-07-07 04:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544607744001,"66":27571,"174":206,"80":60416,"24":47,"16":340421646206631936,"45":5856016549200977920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-07-07 04:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544607744001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:08:38] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-07 04:08:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340421646206631936,"km_value":340421646206631.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5856016549200977920,"description":"Unknown IO ID 45"} 
[2026-07-07 04:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544607744001,"power":27571,"unknown_174":206,"unknown_80":60416,"ignition":47,"odometer":null,"unknown_45":5856016549200977920}} 
[2026-07-07 04:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":126022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:08:38] local.INFO: GPS data processed {"connection_id":126022,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:08:38] local.INFO: Acknowledgment sent {"connection_id":126022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:09:01] local.INFO: TCP Data received {"connection_id":124777,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:09:01] local.INFO: Processing buffer {"connection_id":124777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:09:01] local.INFO: IMEI packet received {"connection_id":124777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":124777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:09:06] local.INFO: TCP Data received {"connection_id":124777,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:09:06] local.INFO: Processing buffer {"connection_id":124777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:09:06] local.INFO: IMEI packet received {"connection_id":124777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":124777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:09:10] local.INFO: TCP Data received {"connection_id":124777,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:09:10] local.INFO: Processing buffer {"connection_id":124777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:09:10] local.INFO: IMEI packet received {"connection_id":124777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":124777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:09:11] local.INFO: TCP Data received {"connection_id":124777,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3994b1d0012d52be800665ab18000600622a..."} 
[2026-07-07 04:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3994b1d0012d52be800665ab18000600622a..."} 
[2026-07-07 04:09:11] local.INFO: Processing buffer {"connection_id":124777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3994b1d0012d52be800665ab18000600622a..."} 
[2026-07-07 04:09:11] local.INFO: Packet analysis {"connection_id":124777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3994"} 
[2026-07-07 04:09:11] local.INFO: Extracted packet for processing {"connection_id":124777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3994"} 
[2026-07-07 04:09:11] local.INFO: GPS Element Parsed {"raw_longitude":760397440,"raw_latitude":107326232,"longitude_deg":76.039744,"latitude_deg":10.7326232,"altitude":6,"angle":98,"satellites":42,"speed":31,"hex_longitude":"2d52be80","hex_latitude":"0665ab18","is_valid_coordinates":true} 
[2026-07-07 04:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544629760001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340426087202816000,"note":"Value kept but may cause issues"} 
[2026-07-07 04:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5952069884999589888,"note":"Value kept but may cause issues"} 
[2026-07-07 04:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783377474000,"timestamp_ms":1783377474000,"timestamp_seconds":1783377474,"priority":1,"record_length":96,"hex_timestamp":"0000019f3994b1d0"} 
[2026-07-07 04:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:09: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-07-07 04:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 04:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544629760001,"66":27463,"153":206,"80":60416,"24":31,"16":340426087202816000,"45":5952069884999589888},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-07-07 04:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544629760001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:09:11] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 04:09:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340426087202816000,"km_value":340426087202816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5952069884999589888,"description":"Unknown IO ID 45"} 
[2026-07-07 04:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544629760001,"power":27463,"unknown_153":206,"unknown_80":60416,"ignition":31,"odometer":null,"unknown_45":5952069884999589888}} 
[2026-07-07 04:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":124777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:09:11] local.INFO: GPS data processed {"connection_id":124777,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:09:11] local.INFO: Acknowledgment sent {"connection_id":124777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:09:13] local.INFO: TCP Data received {"connection_id":124777,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3994dcc8012d52e4c00665a6300005005e2b..."} 
[2026-07-07 04:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3994dcc8012d52e4c00665a6300005005e2b..."} 
[2026-07-07 04:09:13] local.INFO: Processing buffer {"connection_id":124777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3994dcc8012d52e4c00665a6300005005e2b..."} 
[2026-07-07 04:09:13] local.INFO: Packet analysis {"connection_id":124777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3994"} 
[2026-07-07 04:09:13] local.INFO: Extracted packet for processing {"connection_id":124777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3994"} 
[2026-07-07 04:09:13] local.INFO: GPS Element Parsed {"raw_longitude":760407232,"raw_latitude":107324976,"longitude_deg":76.0407232,"latitude_deg":10.7324976,"altitude":5,"angle":94,"satellites":43,"speed":38,"hex_longitude":"2d52e4c0","hex_latitude":"0665a630","is_valid_coordinates":true} 
[2026-07-07 04:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544633344001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340426559649218560,"note":"Value kept but may cause issues"} 
[2026-07-07 04:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5962343721648986112,"note":"Value kept but may cause issues"} 
[2026-07-07 04:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783377485000,"timestamp_ms":1783377485000,"timestamp_seconds":1783377485,"priority":1,"record_length":96,"hex_timestamp":"0000019f3994dcc8"} 
[2026-07-07 04:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:09: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-07-07 04: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":71,"data_length":795,"current_offset":136} 
[2026-07-07 04:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:09: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-07-07 04:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544633344001,"66":27365,"153":206,"80":60416,"24":38,"16":340426559649218560,"45":5962343721648986112},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-07-07 04:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544633344001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:09:13] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 04:09:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340426559649218560,"km_value":340426559649218.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5962343721648986112,"description":"Unknown IO ID 45"} 
[2026-07-07 04:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544633344001,"power":27365,"unknown_153":206,"unknown_80":60416,"ignition":38,"odometer":null,"unknown_45":5962343721648986112}} 
[2026-07-07 04:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":124777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:09:13] local.INFO: GPS data processed {"connection_id":124777,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:09:13] local.INFO: Acknowledgment sent {"connection_id":124777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:09:45] local.INFO: TCP Data received {"connection_id":124777,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3994fff0012d5308800665a4c0000400592a..."} 
[2026-07-07 04:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3994fff0012d5308800665a4c0000400592a..."} 
[2026-07-07 04:09:45] local.INFO: Processing buffer {"connection_id":124777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3994fff0012d5308800665a4c0000400592a..."} 
[2026-07-07 04:09:45] local.INFO: Packet analysis {"connection_id":124777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3994"} 
[2026-07-07 04:09:45] local.INFO: Extracted packet for processing {"connection_id":124777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3994"} 
[2026-07-07 04:09:45] local.INFO: GPS Element Parsed {"raw_longitude":760416384,"raw_latitude":107324608,"longitude_deg":76.0416384,"latitude_deg":10.7324608,"altitude":4,"angle":89,"satellites":42,"speed":42,"hex_longitude":"2d530880","hex_latitude":"0665a4c0","is_valid_coordinates":true} 
[2026-07-07 04: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-07-07 04:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544636160001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340426993440915456,"note":"Value kept but may cause issues"} 
[2026-07-07 04:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5973110139507847168,"note":"Value kept but may cause issues"} 
[2026-07-07 04:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783377494000,"timestamp_ms":1783377494000,"timestamp_seconds":1783377494,"priority":1,"record_length":96,"hex_timestamp":"0000019f3994fff0"} 
[2026-07-07 04:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":229,"data_length":795,"current_offset":136} 
[2026-07-07 04:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04: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-07-07 04:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:09: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-07-07 04:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544636160001,"66":27397,"153":206,"80":60416,"24":42,"16":340426993440915456,"45":5973110139507847168},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-07-07 04:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544636160001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:09:45] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 04:09:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340426993440915456,"km_value":340426993440915.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5973110139507847168,"description":"Unknown IO ID 45"} 
[2026-07-07 04:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544636160001,"power":27397,"unknown_153":206,"unknown_80":60416,"ignition":42,"odometer":null,"unknown_45":5973110139507847168}} 
[2026-07-07 04:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":124777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:09:45] local.INFO: GPS data processed {"connection_id":124777,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:09:45] local.INFO: Acknowledgment sent {"connection_id":124777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:10:00] local.INFO: TCP Data received {"connection_id":126023,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:10:00] local.INFO: Processing buffer {"connection_id":126023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:10:00] local.INFO: IMEI packet received {"connection_id":126023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":126023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:10:02] local.INFO: TCP Data received {"connection_id":126023,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:10:02] local.INFO: Processing buffer {"connection_id":126023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:10:02] local.INFO: IMEI packet received {"connection_id":126023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":126023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:10:03] local.INFO: TCP Data received {"connection_id":126023,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39952318012d532ec00665a8000005005229..."} 
[2026-07-07 04:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39952318012d532ec00665a8000005005229..."} 
[2026-07-07 04:10:03] local.INFO: Processing buffer {"connection_id":126023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39952318012d532ec00665a8000005005229..."} 
[2026-07-07 04:10:03] local.INFO: Packet analysis {"connection_id":126023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3995"} 
[2026-07-07 04:10:03] local.INFO: Extracted packet for processing {"connection_id":126023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3995"} 
[2026-07-07 04:10:03] local.INFO: GPS Element Parsed {"raw_longitude":760426176,"raw_latitude":107325440,"longitude_deg":76.0426176,"latitude_deg":10.732544,"altitude":5,"angle":82,"satellites":41,"speed":42,"hex_longitude":"2d532ec0","hex_latitude":"0665a800","is_valid_coordinates":true} 
[2026-07-07 04:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544638464001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340427461592350720,"note":"Value kept but may cause issues"} 
[2026-07-07 04:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5983172869925158912,"note":"Value kept but may cause issues"} 
[2026-07-07 04:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783377503000,"timestamp_ms":1783377503000,"timestamp_seconds":1783377503,"priority":1,"record_length":96,"hex_timestamp":"0000019f39952318"} 
[2026-07-07 04:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 04:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544638464001,"66":27332,"153":206,"80":60416,"24":42,"16":340427461592350720,"45":5983172869925158912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-07-07 04:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544638464001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:10:03] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 04:10:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340427461592350720,"km_value":340427461592350.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5983172869925158912,"description":"Unknown IO ID 45"} 
[2026-07-07 04:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544638464001,"power":27332,"unknown_153":206,"unknown_80":60416,"ignition":42,"odometer":null,"unknown_45":5983172869925158912}} 
[2026-07-07 04:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":126023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:10:03] local.INFO: GPS data processed {"connection_id":126023,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:10:03] local.INFO: Acknowledgment sent {"connection_id":126023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:10:34] local.INFO: TCP Data received {"connection_id":126023,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39954640012d5352800665af280007004a2a..."} 
[2026-07-07 04:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39954640012d5352800665af280007004a2a..."} 
[2026-07-07 04:10:34] local.INFO: Processing buffer {"connection_id":126023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39954640012d5352800665af280007004a2a..."} 
[2026-07-07 04:10:34] local.INFO: Packet analysis {"connection_id":126023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3995"} 
[2026-07-07 04:10:34] local.INFO: Extracted packet for processing {"connection_id":126023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3995"} 
[2026-07-07 04:10:34] local.INFO: GPS Element Parsed {"raw_longitude":760435328,"raw_latitude":107327272,"longitude_deg":76.0435328,"latitude_deg":10.7327272,"altitude":7,"angle":74,"satellites":42,"speed":40,"hex_longitude":"2d535280","hex_latitude":"0665af28","is_valid_coordinates":true} 
[2026-07-07 04:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544640768001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340427908268949504,"note":"Value kept but may cause issues"} 
[2026-07-07 04:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993939287784554496,"note":"Value kept but may cause issues"} 
[2026-07-07 04:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783377512000,"timestamp_ms":1783377512000,"timestamp_seconds":1783377512,"priority":1,"record_length":96,"hex_timestamp":"0000019f39954640"} 
[2026-07-07 04:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:10: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-07-07 04:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 04:10: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-07-07 04:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544640768001,"66":27463,"153":206,"80":60416,"24":40,"16":340427908268949504,"45":5993939287784554496},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-07-07 04:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544640768001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:10:34] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 04:10:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340427908268949504,"km_value":340427908268949.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993939287784554496,"description":"Unknown IO ID 45"} 
[2026-07-07 04:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544640768001,"power":27463,"unknown_153":206,"unknown_80":60416,"ignition":40,"odometer":null,"unknown_45":5993939287784554496}} 
[2026-07-07 04:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":126023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:10:34] local.INFO: GPS data processed {"connection_id":126023,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:10:34] local.INFO: Acknowledgment sent {"connection_id":126023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:10:41] local.INFO: TCP Data received {"connection_id":123995,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:10:41] local.INFO: Processing buffer {"connection_id":123995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:10:41] local.INFO: IMEI packet received {"connection_id":123995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 04:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":123995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:11:00] local.INFO: TCP Data received {"connection_id":124778,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:11:00] local.INFO: Processing buffer {"connection_id":124778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:11:00] local.INFO: IMEI packet received {"connection_id":124778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":124778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:11:02] local.INFO: TCP Data received {"connection_id":124779,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:11:02] local.INFO: Processing buffer {"connection_id":124779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:11:02] local.INFO: IMEI packet received {"connection_id":124779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 04:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":124779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:11:02] local.INFO: TCP Data received {"connection_id":124778,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:11:02] local.INFO: Processing buffer {"connection_id":124778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:11:02] local.INFO: IMEI packet received {"connection_id":124778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":124778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:11:04] local.INFO: TCP Data received {"connection_id":124778,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3996b570012d5472000665fc58000a00702a..."} 
[2026-07-07 04:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3996b570012d5472000665fc58000a00702a..."} 
[2026-07-07 04:11:04] local.INFO: Processing buffer {"connection_id":124778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3996b570012d5472000665fc58000a00702a..."} 
[2026-07-07 04:11:04] local.INFO: Packet analysis {"connection_id":124778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3996"} 
[2026-07-07 04:11:04] local.INFO: Extracted packet for processing {"connection_id":124778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3996"} 
[2026-07-07 04:11:04] local.INFO: GPS Element Parsed {"raw_longitude":760508928,"raw_latitude":107347032,"longitude_deg":76.0508928,"latitude_deg":10.7347032,"altitude":10,"angle":112,"satellites":42,"speed":30,"hex_longitude":"2d547200","hex_latitude":"0665fc58","is_valid_coordinates":true} 
[2026-07-07 04:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544665344001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340431640595529728,"note":"Value kept but may cause issues"} 
[2026-07-07 04:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6079366943222147072,"note":"Value kept but may cause issues"} 
[2026-07-07 04:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783377606000,"timestamp_ms":1783377606000,"timestamp_seconds":1783377606,"priority":1,"record_length":96,"hex_timestamp":"0000019f3996b570"} 
[2026-07-07 04:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 04:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544665344001,"66":27365,"191":206,"80":60416,"24":30,"16":340431640595529728,"45":6079366943222147072},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,80,24,16,45]} 
[2026-07-07 04:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544665344001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:11:04] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-07-07 04:11:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340431640595529728,"km_value":340431640595529.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6079366943222147072,"description":"Unknown IO ID 45"} 
[2026-07-07 04:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544665344001,"power":27365,"unknown_191":206,"unknown_80":60416,"ignition":30,"odometer":null,"unknown_45":6079366943222147072}} 
[2026-07-07 04:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":124778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:11:04] local.INFO: GPS data processed {"connection_id":124778,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:11:04] local.INFO: Acknowledgment sent {"connection_id":124778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:11:35] local.INFO: TCP Data received {"connection_id":124778,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3996c8f8012d547f800665f4f8000b007c2a..."} 
[2026-07-07 04:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3996c8f8012d547f800665f4f8000b007c2a..."} 
[2026-07-07 04:11:35] local.INFO: Processing buffer {"connection_id":124778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3996c8f8012d547f800665f4f8000b007c2a..."} 
[2026-07-07 04:11:35] local.INFO: Packet analysis {"connection_id":124778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3996"} 
[2026-07-07 04:11:35] local.INFO: Extracted packet for processing {"connection_id":124778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3996"} 
[2026-07-07 04:11:35] local.INFO: GPS Element Parsed {"raw_longitude":760512384,"raw_latitude":107345144,"longitude_deg":76.0512384,"latitude_deg":10.7345144,"altitude":11,"angle":124,"satellites":42,"speed":31,"hex_longitude":"2d547f80","hex_latitude":"0665f4f8","is_valid_coordinates":true} 
[2026-07-07 04: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-07-07 04:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544667136001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340431829574090752,"note":"Value kept but may cause issues"} 
[2026-07-07 04:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6084926074011801600,"note":"Value kept but may cause issues"} 
[2026-07-07 04:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783377611000,"timestamp_ms":1783377611000,"timestamp_seconds":1783377611,"priority":1,"record_length":96,"hex_timestamp":"0000019f3996c8f8"} 
[2026-07-07 04:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 04:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04: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-07-07 04:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544667136001,"66":27245,"191":206,"80":60416,"24":31,"16":340431829574090752,"45":6084926074011801600},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,80,24,16,45]} 
[2026-07-07 04:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544667136001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:11:35] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-07-07 04:11:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340431829574090752,"km_value":340431829574090.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6084926074011801600,"description":"Unknown IO ID 45"} 
[2026-07-07 04:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544667136001,"power":27245,"unknown_191":206,"unknown_80":60416,"ignition":31,"odometer":null,"unknown_45":6084926074011801600}} 
[2026-07-07 04:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":124778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:11:35] local.INFO: GPS data processed {"connection_id":124778,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:11:35] local.INFO: Acknowledgment sent {"connection_id":124778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:12:00] local.INFO: TCP Data received {"connection_id":123996,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:12:00] local.INFO: Processing buffer {"connection_id":123996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:12:00] local.INFO: IMEI packet received {"connection_id":123996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":123996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:12:03] local.INFO: TCP Data received {"connection_id":123996,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:12:03] local.INFO: Processing buffer {"connection_id":123996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:12:03] local.INFO: IMEI packet received {"connection_id":123996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":123996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:12:05] local.INFO: TCP Data received {"connection_id":123996,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:12:05] local.INFO: Processing buffer {"connection_id":123996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:12:05] local.INFO: IMEI packet received {"connection_id":123996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":123996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:12:05] local.INFO: TCP Data received {"connection_id":123996,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3996e450012d5490000665e728000d008729..."} 
[2026-07-07 04:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3996e450012d5490000665e728000d008729..."} 
[2026-07-07 04:12:05] local.INFO: Processing buffer {"connection_id":123996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3996e450012d5490000665e728000d008729..."} 
[2026-07-07 04:12:05] local.INFO: Packet analysis {"connection_id":123996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3996"} 
[2026-07-07 04:12:05] local.INFO: Extracted packet for processing {"connection_id":123996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3996"} 
[2026-07-07 04:12:05] local.INFO: GPS Element Parsed {"raw_longitude":760516608,"raw_latitude":107341608,"longitude_deg":76.0516608,"latitude_deg":10.7341608,"altitude":13,"angle":135,"satellites":41,"speed":30,"hex_longitude":"2d549000","hex_latitude":"0665e728","is_valid_coordinates":true} 
[2026-07-07 04:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544668416001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340432091567095808,"note":"Value kept but may cause issues"} 
[2026-07-07 04:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6088725986196912128,"note":"Value kept but may cause issues"} 
[2026-07-07 04:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783377618000,"timestamp_ms":1783377618000,"timestamp_seconds":1783377618,"priority":1,"record_length":96,"hex_timestamp":"0000019f3996e450"} 
[2026-07-07 04:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 04:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":123996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":123996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":123996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544668416001,"66":27332,"194":206,"80":60416,"24":30,"16":340432091567095808,"45":6088725986196912128},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-07-07 04:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544668416001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:12:05] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-07 04:12:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340432091567095808,"km_value":340432091567095.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6088725986196912128,"description":"Unknown IO ID 45"} 
[2026-07-07 04:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544668416001,"power":27332,"unknown_194":206,"unknown_80":60416,"ignition":30,"odometer":null,"unknown_45":6088725986196912128}} 
[2026-07-07 04:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":123996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:12:05] local.INFO: GPS data processed {"connection_id":123996,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:12:05] local.INFO: Acknowledgment sent {"connection_id":123996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:12:07] local.INFO: TCP Data received {"connection_id":123996,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3996fbc0012d549a400665d958000e009529..."} 
[2026-07-07 04:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3996fbc0012d549a400665d958000e009529..."} 
[2026-07-07 04:12:07] local.INFO: Processing buffer {"connection_id":123996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3996fbc0012d549a400665d958000e009529..."} 
[2026-07-07 04:12:07] local.INFO: Packet analysis {"connection_id":123996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3996"} 
[2026-07-07 04:12:07] local.INFO: Extracted packet for processing {"connection_id":123996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3996"} 
[2026-07-07 04:12:07] local.INFO: GPS Element Parsed {"raw_longitude":760519232,"raw_latitude":107338072,"longitude_deg":76.0519232,"latitude_deg":10.7338072,"altitude":14,"angle":149,"satellites":41,"speed":30,"hex_longitude":"2d549a40","hex_latitude":"0665d958","is_valid_coordinates":true} 
[2026-07-07 04:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544670208001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340432306315460608,"note":"Value kept but may cause issues"} 
[2026-07-07 04:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6093370323311732736,"note":"Value kept but may cause issues"} 
[2026-07-07 04:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783377624000,"timestamp_ms":1783377624000,"timestamp_seconds":1783377624,"priority":1,"record_length":96,"hex_timestamp":"0000019f3996fbc0"} 
[2026-07-07 04:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 04:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":123996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":123996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":123996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:12: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-07-07 04:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544670208001,"66":27484,"194":206,"80":60416,"24":30,"16":340432306315460608,"45":6093370323311732736},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-07-07 04:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544670208001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:12:07] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-07 04:12:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340432306315460608,"km_value":340432306315460.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6093370323311732736,"description":"Unknown IO ID 45"} 
[2026-07-07 04:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544670208001,"power":27484,"unknown_194":206,"unknown_80":60416,"ignition":30,"odometer":null,"unknown_45":6093370323311732736}} 
[2026-07-07 04:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":123996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:12:07] local.INFO: GPS data processed {"connection_id":123996,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:12:07] local.INFO: Acknowledgment sent {"connection_id":123996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:12:38] local.INFO: TCP Data received {"connection_id":123996,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39972aa0012d54ab400665b750000f009b2a..."} 
[2026-07-07 04:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39972aa0012d54ab400665b750000f009b2a..."} 
[2026-07-07 04:12:38] local.INFO: Processing buffer {"connection_id":123996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39972aa0012d54ab400665b750000f009b2a..."} 
[2026-07-07 04:12:38] local.INFO: Packet analysis {"connection_id":123996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3997"} 
[2026-07-07 04:12:38] local.INFO: Extracted packet for processing {"connection_id":123996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3997"} 
[2026-07-07 04:12:38] local.INFO: GPS Element Parsed {"raw_longitude":760523584,"raw_latitude":107329360,"longitude_deg":76.0523584,"latitude_deg":10.732936,"altitude":15,"angle":155,"satellites":42,"speed":37,"hex_longitude":"2d54ab40","hex_latitude":"0665b750","is_valid_coordinates":true} 
[2026-07-07 04:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544671744001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340432778761863168,"note":"Value kept but may cause issues"} 
[2026-07-07 04:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6096255441822111744,"note":"Value kept but may cause issues"} 
[2026-07-07 04:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783377636000,"timestamp_ms":1783377636000,"timestamp_seconds":1783377636,"priority":1,"record_length":96,"hex_timestamp":"0000019f39972aa0"} 
[2026-07-07 04:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:12: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-07-07 04:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 04:12: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-07-07 04:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":123996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":123996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":123996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:12: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-07-07 04:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544671744001,"66":27571,"192":206,"80":60416,"24":37,"16":340432778761863168,"45":6096255441822111744},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,80,24,16,45]} 
[2026-07-07 04:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544671744001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:12:38] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-07 04:12:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340432778761863168,"km_value":340432778761863.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6096255441822111744,"description":"Unknown IO ID 45"} 
[2026-07-07 04:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544671744001,"power":27571,"unknown_192":206,"unknown_80":60416,"ignition":37,"odometer":null,"unknown_45":6096255441822111744}} 
[2026-07-07 04:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":123996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:12:38] local.INFO: GPS data processed {"connection_id":123996,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:12:38] local.INFO: Acknowledgment sent {"connection_id":123996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:13:00] local.INFO: TCP Data received {"connection_id":123997,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:13:00] local.INFO: Processing buffer {"connection_id":123997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:13:00] local.INFO: IMEI packet received {"connection_id":123997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":123997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:13:04] local.INFO: TCP Data received {"connection_id":123997,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:13:04] local.INFO: Processing buffer {"connection_id":123997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:13:04] local.INFO: IMEI packet received {"connection_id":123997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":123997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:13:05] local.INFO: TCP Data received {"connection_id":123997,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39988260012d553b8006646140001500902a..."} 
[2026-07-07 04:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39988260012d553b8006646140001500902a..."} 
[2026-07-07 04:13:05] local.INFO: Processing buffer {"connection_id":123997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39988260012d553b8006646140001500902a..."} 
[2026-07-07 04:13:05] local.INFO: Packet analysis {"connection_id":123997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3998"} 
[2026-07-07 04:13:05] local.INFO: Extracted packet for processing {"connection_id":123997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3998"} 
[2026-07-07 04:13:05] local.INFO: GPS Element Parsed {"raw_longitude":760560512,"raw_latitude":107241792,"longitude_deg":76.0560512,"latitude_deg":10.7241792,"altitude":21,"angle":144,"satellites":42,"speed":43,"hex_longitude":"2d553b80","hex_latitude":"06646140","is_valid_coordinates":true} 
[2026-07-07 04:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544694784001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340437460276215808,"note":"Value kept but may cause issues"} 
[2026-07-07 04:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6135239726073899008,"note":"Value kept but may cause issues"} 
[2026-07-07 04:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783377724000,"timestamp_ms":1783377724000,"timestamp_seconds":1783377724,"priority":1,"record_length":96,"hex_timestamp":"0000019f39988260"} 
[2026-07-07 04:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 04:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":123997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":123997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":123997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544694784001,"66":27571,"202":206,"80":60416,"24":43,"16":340437460276215808,"45":6135239726073899008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,80,24,16,45]} 
[2026-07-07 04:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544694784001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:13:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340437460276215808,"km_value":340437460276215.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6135239726073899008,"description":"Unknown IO ID 45"} 
[2026-07-07 04:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544694784001,"power":27571,"mcc":206,"unknown_80":60416,"ignition":43,"odometer":null,"unknown_45":6135239726073899008}} 
[2026-07-07 04:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":123997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:13:05] local.INFO: GPS data processed {"connection_id":123997,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:13:05] local.INFO: Acknowledgment sent {"connection_id":123997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:13:36] local.INFO: TCP Data received {"connection_id":123997,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3998a1a0012d555240066443900012008c27..."} 
[2026-07-07 04:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3998a1a0012d555240066443900012008c27..."} 
[2026-07-07 04:13:36] local.INFO: Processing buffer {"connection_id":123997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3998a1a0012d555240066443900012008c27..."} 
[2026-07-07 04:13:36] local.INFO: Packet analysis {"connection_id":123997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3998"} 
[2026-07-07 04:13:36] local.INFO: Extracted packet for processing {"connection_id":123997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3998"} 
[2026-07-07 04:13:36] local.INFO: GPS Element Parsed {"raw_longitude":760566336,"raw_latitude":107234192,"longitude_deg":76.0566336,"latitude_deg":10.7234192,"altitude":18,"angle":140,"satellites":39,"speed":50,"hex_longitude":"2d555240","hex_latitude":"06644390","is_valid_coordinates":true} 
[2026-07-07 04:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544697344001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340437924132683776,"note":"Value kept but may cause issues"} 
[2026-07-07 04:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6141643281792057344,"note":"Value kept but may cause issues"} 
[2026-07-07 04:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783377732000,"timestamp_ms":1783377732000,"timestamp_seconds":1783377732,"priority":1,"record_length":96,"hex_timestamp":"0000019f3998a1a0"} 
[2026-07-07 04:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 04:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":123997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":123997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":123997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544697344001,"66":27245,"202":206,"80":60416,"24":50,"16":340437924132683776,"45":6141643281792057344},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,80,24,16,45]} 
[2026-07-07 04:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544697344001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:13:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340437924132683776,"km_value":340437924132683.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6141643281792057344,"description":"Unknown IO ID 45"} 
[2026-07-07 04:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544697344001,"power":27245,"mcc":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":6141643281792057344}} 
[2026-07-07 04:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":123997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:13:36] local.INFO: GPS data processed {"connection_id":123997,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:13:36] local.INFO: Acknowledgment sent {"connection_id":123997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:14:00] local.INFO: TCP Data received {"connection_id":124113,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:14:00] local.INFO: Processing buffer {"connection_id":124113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:14:00] local.INFO: IMEI packet received {"connection_id":124113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":124113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:14:01] local.INFO: TCP Data received {"connection_id":124113,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:14:01] local.INFO: Processing buffer {"connection_id":124113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:14:01] local.INFO: IMEI packet received {"connection_id":124113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":124113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:14:04] local.INFO: TCP Data received {"connection_id":124113,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:14:04] local.INFO: Processing buffer {"connection_id":124113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:14:04] local.INFO: IMEI packet received {"connection_id":124113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":124113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:14:05] local.INFO: TCP Data received {"connection_id":124113,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3998bcf8012d556940066428d80012008a28..."} 
[2026-07-07 04:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3998bcf8012d556940066428d80012008a28..."} 
[2026-07-07 04:14:05] local.INFO: Processing buffer {"connection_id":124113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3998bcf8012d556940066428d80012008a28..."} 
[2026-07-07 04:14:05] local.INFO: Packet analysis {"connection_id":124113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3998"} 
[2026-07-07 04:14:05] local.INFO: Extracted packet for processing {"connection_id":124113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3998"} 
[2026-07-07 04:14:05] local.INFO: GPS Element Parsed {"raw_longitude":760572224,"raw_latitude":107227352,"longitude_deg":76.0572224,"latitude_deg":10.7227352,"altitude":18,"angle":138,"satellites":40,"speed":50,"hex_longitude":"2d556940","hex_latitude":"066428d8","is_valid_coordinates":true} 
[2026-07-07 04:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544699392001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340438357924380672,"note":"Value kept but may cause issues"} 
[2026-07-07 04:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6148046837510279168,"note":"Value kept but may cause issues"} 
[2026-07-07 04:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783377739000,"timestamp_ms":1783377739000,"timestamp_seconds":1783377739,"priority":1,"record_length":96,"hex_timestamp":"0000019f3998bcf8"} 
[2026-07-07 04:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 04:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544699392001,"66":27245,"202":206,"80":60416,"24":50,"16":340438357924380672,"45":6148046837510279168},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,80,24,16,45]} 
[2026-07-07 04:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544699392001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:14:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-07 04:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340438357924380672,"km_value":340438357924380.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6148046837510279168,"description":"Unknown IO ID 45"} 
[2026-07-07 04:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544699392001,"power":27245,"mcc":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":6148046837510279168}} 
[2026-07-07 04:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":124113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:14:05] local.INFO: GPS data processed {"connection_id":124113,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:14:05] local.INFO: Acknowledgment sent {"connection_id":124113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:14:36] local.INFO: TCP Data received {"connection_id":124113,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3999e5d8012d56a40006637240000a005829..."} 
[2026-07-07 04:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3999e5d8012d56a40006637240000a005829..."} 
[2026-07-07 04:14:36] local.INFO: Processing buffer {"connection_id":124113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3999e5d8012d56a40006637240000a005829..."} 
[2026-07-07 04:14:36] local.INFO: Packet analysis {"connection_id":124113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3999"} 
[2026-07-07 04:14:36] local.INFO: Extracted packet for processing {"connection_id":124113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3999"} 
[2026-07-07 04:14:36] local.INFO: GPS Element Parsed {"raw_longitude":760652800,"raw_latitude":107180608,"longitude_deg":76.06528,"latitude_deg":10.7180608,"altitude":10,"angle":88,"satellites":41,"speed":43,"hex_longitude":"2d56a400","hex_latitude":"06637240","is_valid_coordinates":true} 
[2026-07-07 04:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544718336001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340442927769583616,"note":"Value kept but may cause issues"} 
[2026-07-07 04:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6231926380556294144,"note":"Value kept but may cause issues"} 
[2026-07-07 04:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783377815000,"timestamp_ms":1783377815000,"timestamp_seconds":1783377815,"priority":1,"record_length":96,"hex_timestamp":"0000019f3999e5d8"} 
[2026-07-07 04:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 04:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544718336001,"66":27332,"11":206,"78":63744,"24":43,"16":340442927769583616,"45":6231926380556294144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-07-07 04:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544718336001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:14:36] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-07 04:14:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-07-07 04:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340442927769583616,"km_value":340442927769583.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6231926380556294144,"description":"Unknown IO ID 45"} 
[2026-07-07 04:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544718336001,"power":27332,"unknown_11":206,"unknown_78":63744,"ignition":43,"odometer":null,"unknown_45":6231926380556294144}} 
[2026-07-07 04:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":124113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:14:36] local.INFO: GPS data processed {"connection_id":124113,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:14:36] local.INFO: Acknowledgment sent {"connection_id":124113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:15:00] local.INFO: TCP Data received {"connection_id":123999,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:15:00] local.INFO: Processing buffer {"connection_id":123999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:15:00] local.INFO: IMEI packet received {"connection_id":123999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":123999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:15:05] local.INFO: TCP Data received {"connection_id":123999,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:15:05] local.INFO: Processing buffer {"connection_id":123999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:15:05] local.INFO: IMEI packet received {"connection_id":123999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":123999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:15:06] local.INFO: TCP Data received {"connection_id":123999,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f399a0900012d56ca40066375c0000b005028..."} 
[2026-07-07 04:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f399a0900012d56ca40066375c0000b005028..."} 
[2026-07-07 04:15:06] local.INFO: Processing buffer {"connection_id":123999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f399a0900012d56ca40066375c0000b005028..."} 
[2026-07-07 04:15:06] local.INFO: Packet analysis {"connection_id":123999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f399a"} 
[2026-07-07 04:15:06] local.INFO: Extracted packet for processing {"connection_id":123999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f399a"} 
[2026-07-07 04:15:06] local.INFO: GPS Element Parsed {"raw_longitude":760662592,"raw_latitude":107181504,"longitude_deg":76.0662592,"latitude_deg":10.7181504,"altitude":11,"angle":80,"satellites":40,"speed":42,"hex_longitude":"2d56ca40","hex_latitude":"066375c0","is_valid_coordinates":true} 
[2026-07-07 04:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544720640001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340443400215986176,"note":"Value kept but may cause issues"} 
[2026-07-07 04:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6243115010880585728,"note":"Value kept but may cause issues"} 
[2026-07-07 04:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783377824000,"timestamp_ms":1783377824000,"timestamp_seconds":1783377824,"priority":1,"record_length":96,"hex_timestamp":"0000019f399a0900"} 
[2026-07-07 04:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 04:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":123999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":123999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":123999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544720640001,"66":27267,"11":206,"78":63744,"24":42,"16":340443400215986176,"45":6243115010880585728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-07-07 04:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544720640001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:15:06] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-07 04:15:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-07-07 04:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340443400215986176,"km_value":340443400215986.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6243115010880585728,"description":"Unknown IO ID 45"} 
[2026-07-07 04:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544720640001,"power":27267,"unknown_11":206,"unknown_78":63744,"ignition":42,"odometer":null,"unknown_45":6243115010880585728}} 
[2026-07-07 04:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":123999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:15:06] local.INFO: GPS data processed {"connection_id":123999,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:15:06] local.INFO: Acknowledgment sent {"connection_id":123999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:15:39] local.INFO: TCP Data received {"connection_id":123999,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f399a2c28012d56ed4006637dc0000e004e27..."} 
[2026-07-07 04:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f399a2c28012d56ed4006637dc0000e004e27..."} 
[2026-07-07 04:15:39] local.INFO: Processing buffer {"connection_id":123999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f399a2c28012d56ed4006637dc0000e004e27..."} 
[2026-07-07 04:15:39] local.INFO: Packet analysis {"connection_id":123999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f399a"} 
[2026-07-07 04:15:39] local.INFO: Extracted packet for processing {"connection_id":123999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f399a"} 
[2026-07-07 04:15:39] local.INFO: GPS Element Parsed {"raw_longitude":760671552,"raw_latitude":107183552,"longitude_deg":76.0671552,"latitude_deg":10.7183552,"altitude":14,"angle":78,"satellites":39,"speed":37,"hex_longitude":"2d56ed40","hex_latitude":"06637dc0","is_valid_coordinates":true} 
[2026-07-07 04:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544722944001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340443834007683072,"note":"Value kept but may cause issues"} 
[2026-07-07 04:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6253881428739997696,"note":"Value kept but may cause issues"} 
[2026-07-07 04:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783377833000,"timestamp_ms":1783377833000,"timestamp_seconds":1783377833,"priority":1,"record_length":96,"hex_timestamp":"0000019f399a2c28"} 
[2026-07-07 04:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:15: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-07-07 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 04:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":123999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":123999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":123999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:15: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-07-07 04:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544722944001,"66":27365,"11":206,"78":63744,"24":37,"16":340443834007683072,"45":6253881428739997696},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-07-07 04:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544722944001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:15:39] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-07 04:15:39] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-07-07 04:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340443834007683072,"km_value":340443834007683.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6253881428739997696,"description":"Unknown IO ID 45"} 
[2026-07-07 04:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544722944001,"power":27365,"unknown_11":206,"unknown_78":63744,"ignition":37,"odometer":null,"unknown_45":6253881428739997696}} 
[2026-07-07 04:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":123999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:15:39] local.INFO: GPS data processed {"connection_id":123999,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:15:39] local.INFO: Acknowledgment sent {"connection_id":123999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:16:01] local.INFO: TCP Data received {"connection_id":124000,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:16:01] local.INFO: Processing buffer {"connection_id":124000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:16:01] local.INFO: IMEI packet received {"connection_id":124000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":124000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:16:05] local.INFO: TCP Data received {"connection_id":124000,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:16:05] local.INFO: Processing buffer {"connection_id":124000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:16:05] local.INFO: IMEI packet received {"connection_id":124000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":124000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:16:08] local.INFO: TCP Data received {"connection_id":124000,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:16:08] local.INFO: Processing buffer {"connection_id":124000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:16:08] local.INFO: IMEI packet received {"connection_id":124000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":124000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:16:09] local.INFO: TCP Data received {"connection_id":124000,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f399a5720012d571280066387a80010004a25..."} 
[2026-07-07 04:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f399a5720012d571280066387a80010004a25..."} 
[2026-07-07 04:16:09] local.INFO: Processing buffer {"connection_id":124000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f399a5720012d571280066387a80010004a25..."} 
[2026-07-07 04:16:09] local.INFO: Packet analysis {"connection_id":124000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f399a"} 
[2026-07-07 04:16:09] local.INFO: Extracted packet for processing {"connection_id":124000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f399a"} 
[2026-07-07 04:16:09] local.INFO: GPS Element Parsed {"raw_longitude":760681088,"raw_latitude":107186088,"longitude_deg":76.0681088,"latitude_deg":10.7186088,"altitude":16,"angle":74,"satellites":37,"speed":34,"hex_longitude":"2d571280","hex_latitude":"066387a8","is_valid_coordinates":true} 
[2026-07-07 04:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544725248001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340444306454085632,"note":"Value kept but may cause issues"} 
[2026-07-07 04:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6263733052925394944,"note":"Value kept but may cause issues"} 
[2026-07-07 04:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783377844000,"timestamp_ms":1783377844000,"timestamp_seconds":1783377844,"priority":1,"record_length":96,"hex_timestamp":"0000019f399a5720"} 
[2026-07-07 04:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:16: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-07-07 04:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 04:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544725248001,"66":27365,"11":206,"78":63744,"24":34,"16":340444306454085632,"45":6263733052925394944},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-07-07 04:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544725248001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:16:09] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-07 04:16:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-07-07 04:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340444306454085632,"km_value":340444306454085.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6263733052925394944,"description":"Unknown IO ID 45"} 
[2026-07-07 04:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544725248001,"power":27365,"unknown_11":206,"unknown_78":63744,"ignition":34,"odometer":null,"unknown_45":6263733052925394944}} 
[2026-07-07 04:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":124000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:16:09] local.INFO: GPS data processed {"connection_id":124000,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:16:09] local.INFO: Acknowledgment sent {"connection_id":124000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:16:15] local.INFO: TCP Data received {"connection_id":124001,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:16:15] local.INFO: Processing buffer {"connection_id":124001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:16:15] local.INFO: IMEI packet received {"connection_id":124001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 04:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":124001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:16:41] local.INFO: TCP Data received {"connection_id":124000,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f399be590012d58cec00663ad380012006b27..."} 
[2026-07-07 04:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f399be590012d58cec00663ad380012006b27..."} 
[2026-07-07 04:16:41] local.INFO: Processing buffer {"connection_id":124000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f399be590012d58cec00663ad380012006b27..."} 
[2026-07-07 04:16:41] local.INFO: Packet analysis {"connection_id":124000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f399b"} 
[2026-07-07 04:16:41] local.INFO: Extracted packet for processing {"connection_id":124000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f399b"} 
[2026-07-07 04:16:41] local.INFO: GPS Element Parsed {"raw_longitude":760794816,"raw_latitude":107195704,"longitude_deg":76.0794816,"latitude_deg":10.7195704,"altitude":18,"angle":107,"satellites":39,"speed":48,"hex_longitude":"2d58cec0","hex_latitude":"0663ad38","is_valid_coordinates":true} 
[2026-07-07 04:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544752896001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340449786832355328,"note":"Value kept but may cause issues"} 
[2026-07-07 04:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6392578223518140416,"note":"Value kept but may cause issues"} 
[2026-07-07 04:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783377946000,"timestamp_ms":1783377946000,"timestamp_seconds":1783377946,"priority":1,"record_length":96,"hex_timestamp":"0000019f399be590"} 
[2026-07-07 04:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04: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-07-07 04:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 04:16: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-07-07 04:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04: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-07-07 04:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544752896001,"66":27463,"167":206,"78":63744,"24":48,"16":340449786832355328,"45":6392578223518140416},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,78,24,16,45]} 
[2026-07-07 04:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544752896001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:16:41] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 04:16:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-07-07 04:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340449786832355328,"km_value":340449786832355.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6392578223518140416,"description":"Unknown IO ID 45"} 
[2026-07-07 04:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544752896001,"power":27463,"unknown_167":206,"unknown_78":63744,"ignition":48,"odometer":null,"unknown_45":6392578223518140416}} 
[2026-07-07 04:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":124000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:16:41] local.INFO: GPS data processed {"connection_id":124000,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:16:41] local.INFO: Acknowledgment sent {"connection_id":124000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:16:58] local.INFO: TCP Data received {"connection_id":124782,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:16:58] local.INFO: Processing buffer {"connection_id":124782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:16:58] local.INFO: IMEI packet received {"connection_id":124782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":124782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:17:00] local.INFO: TCP Data received {"connection_id":124782,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:17:00] local.INFO: Processing buffer {"connection_id":124782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:17:00] local.INFO: IMEI packet received {"connection_id":124782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":124782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:17:00] local.INFO: TCP Data received {"connection_id":124114,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:17:00] local.INFO: Processing buffer {"connection_id":124114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:17:00] local.INFO: IMEI packet received {"connection_id":124114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 04:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":124114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:17:05] local.INFO: TCP Data received {"connection_id":124782,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:17:05] local.INFO: Processing buffer {"connection_id":124782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:17:05] local.INFO: IMEI packet received {"connection_id":124782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":124782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:17:06] local.INFO: TCP Data received {"connection_id":124114,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:17:06] local.INFO: Processing buffer {"connection_id":124114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:17:06] local.INFO: IMEI packet received {"connection_id":124114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 04:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":124114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:17:06] local.INFO: TCP Data received {"connection_id":124782,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f399bfd00012d58e8400663a2100012007628..."} 
[2026-07-07 04:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f399bfd00012d58e8400663a2100012007628..."} 
[2026-07-07 04:17:06] local.INFO: Processing buffer {"connection_id":124782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f399bfd00012d58e8400663a2100012007628..."} 
[2026-07-07 04:17:06] local.INFO: Packet analysis {"connection_id":124782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f399b"} 
[2026-07-07 04:17:06] local.INFO: Extracted packet for processing {"connection_id":124782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f399b"} 
[2026-07-07 04:17:06] local.INFO: GPS Element Parsed {"raw_longitude":760801344,"raw_latitude":107192848,"longitude_deg":76.0801344,"latitude_deg":10.7192848,"altitude":18,"angle":118,"satellites":40,"speed":44,"hex_longitude":"2d58e840","hex_latitude":"0663a210","is_valid_coordinates":true} 
[2026-07-07 04:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544754176001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340450126134771712,"note":"Value kept but may cause issues"} 
[2026-07-07 04:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6399263254214686720,"note":"Value kept but may cause issues"} 
[2026-07-07 04:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783377952000,"timestamp_ms":1783377952000,"timestamp_seconds":1783377952,"priority":1,"record_length":96,"hex_timestamp":"0000019f399bfd00"} 
[2026-07-07 04:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:17: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-07-07 04: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 04:17: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-07-07 04:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544754176001,"66":27343,"167":206,"78":63744,"24":44,"16":340450126134771712,"45":6399263254214686720},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,78,24,16,45]} 
[2026-07-07 04:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544754176001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:17:06] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 04:17:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-07-07 04:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340450126134771712,"km_value":340450126134771.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6399263254214686720,"description":"Unknown IO ID 45"} 
[2026-07-07 04:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544754176001,"power":27343,"unknown_167":206,"unknown_78":63744,"ignition":44,"odometer":null,"unknown_45":6399263254214686720}} 
[2026-07-07 04:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":124782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:17:06] local.INFO: GPS data processed {"connection_id":124782,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:17:06] local.INFO: Acknowledgment sent {"connection_id":124782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:17:08] local.INFO: TCP Data received {"connection_id":124114,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f399ab0f8012d515fc0064c6b300003009726..."} 
[2026-07-07 04:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f399ab0f8012d515fc0064c6b300003009726..."} 
[2026-07-07 04:17:08] local.INFO: Processing buffer {"connection_id":124114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f399ab0f8012d515fc0064c6b300003009726..."} 
[2026-07-07 04:17:08] local.INFO: Packet analysis {"connection_id":124114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f399a"} 
[2026-07-07 04:17:08] local.INFO: Extracted packet for processing {"connection_id":124114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f399a"} 
[2026-07-07 04:17:08] local.INFO: GPS Element Parsed {"raw_longitude":760307648,"raw_latitude":105671472,"longitude_deg":76.0307648,"latitude_deg":10.5671472,"altitude":3,"angle":151,"satellites":38,"speed":0,"hex_longitude":"2d515fc0","hex_latitude":"064c6b30","is_valid_coordinates":true} 
[2026-07-07 04: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-07-07 04:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544728576001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132036481614086144,"note":"Value kept but may cause issues"} 
[2026-07-07 04:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5852075899102924800,"note":"Value kept but may cause issues"} 
[2026-07-07 04:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783377867000,"timestamp_ms":1783377867000,"timestamp_seconds":1783377867,"priority":1,"record_length":96,"hex_timestamp":"0000019f399ab0f8"} 
[2026-07-07 04:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:17: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-07-07 04: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 04:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 04:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 04:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 04:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 04:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544728576001,"66":27984,"49":206,"78":62464,"24":0,"16":132036481614086144,"45":5852075899102924800},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-07 04:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 04:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 04:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544728576001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:17:08] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 04:17:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132036481614086144,"km_value":132036481614086.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5852075899102924800,"description":"Unknown IO ID 45"} 
[2026-07-07 04:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544728576001,"power":27984,"unknown_49":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5852075899102924800}} 
[2026-07-07 04:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":124114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443663,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:17:08] local.INFO: GPS data processed {"connection_id":124114,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:17:08] local.INFO: Acknowledgment sent {"connection_id":124114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:17:38] local.INFO: TCP Data received {"connection_id":124782,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f399c2028012d5907c006638f58001500782a..."} 
[2026-07-07 04:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f399c2028012d5907c006638f58001500782a..."} 
[2026-07-07 04:17:38] local.INFO: Processing buffer {"connection_id":124782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f399c2028012d5907c006638f58001500782a..."} 
[2026-07-07 04:17:38] local.INFO: Packet analysis {"connection_id":124782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f399c"} 
[2026-07-07 04:17:38] local.INFO: Extracted packet for processing {"connection_id":124782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f399c"} 
[2026-07-07 04:17:38] local.INFO: GPS Element Parsed {"raw_longitude":760809408,"raw_latitude":107188056,"longitude_deg":76.0809408,"latitude_deg":10.7188056,"altitude":21,"angle":120,"satellites":42,"speed":39,"hex_longitude":"2d5907c0","hex_latitude":"06638f58","is_valid_coordinates":true} 
[2026-07-07 04: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-07-07 04:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544755712001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340450572811370496,"note":"Value kept but may cause issues"} 
[2026-07-07 04:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6406440866120077312,"note":"Value kept but may cause issues"} 
[2026-07-07 04:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783377961000,"timestamp_ms":1783377961000,"timestamp_seconds":1783377961,"priority":1,"record_length":96,"hex_timestamp":"0000019f399c2028"} 
[2026-07-07 04:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:17: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-07-07 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 04:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04: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-07-07 04:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:17: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-07-07 04:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544755712001,"66":27463,"167":206,"78":63744,"24":39,"16":340450572811370496,"45":6406440866120077312},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,78,24,16,45]} 
[2026-07-07 04:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544755712001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:17:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 04:17:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-07-07 04:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340450572811370496,"km_value":340450572811370.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6406440866120077312,"description":"Unknown IO ID 45"} 
[2026-07-07 04:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544755712001,"power":27463,"unknown_167":206,"unknown_78":63744,"ignition":39,"odometer":null,"unknown_45":6406440866120077312}} 
[2026-07-07 04:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":124782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:17:38] local.INFO: GPS data processed {"connection_id":124782,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:17:38] local.INFO: Acknowledgment sent {"connection_id":124782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:17:50] local.INFO: TCP Data received {"connection_id":124002,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:17:50] local.INFO: Processing buffer {"connection_id":124002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:17:50] local.INFO: IMEI packet received {"connection_id":124002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 04:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":124002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:18:00] local.INFO: TCP Data received {"connection_id":126025,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:18:00] local.INFO: Processing buffer {"connection_id":126025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:18:00] local.INFO: IMEI packet received {"connection_id":126025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":126025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:18:04] local.INFO: TCP Data received {"connection_id":126025,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:18:04] local.INFO: Processing buffer {"connection_id":126025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:18:04] local.INFO: IMEI packet received {"connection_id":126025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":126025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:18:05] local.INFO: TCP Data received {"connection_id":126025,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f399d3580012d5a0a800662b7380012009928..."} 
[2026-07-07 04:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f399d3580012d5a0a800662b7380012009928..."} 
[2026-07-07 04:18:05] local.INFO: Processing buffer {"connection_id":126025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f399d3580012d5a0a800662b7380012009928..."} 
[2026-07-07 04:18:05] local.INFO: Packet analysis {"connection_id":126025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f399d"} 
[2026-07-07 04:18:05] local.INFO: Extracted packet for processing {"connection_id":126025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f399d"} 
[2026-07-07 04:18:05] local.INFO: GPS Element Parsed {"raw_longitude":760875648,"raw_latitude":107132728,"longitude_deg":76.0875648,"latitude_deg":10.7132728,"altitude":18,"angle":153,"satellites":40,"speed":59,"hex_longitude":"2d5a0a80","hex_latitude":"0662b738","is_valid_coordinates":true} 
[2026-07-07 04:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544776192001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340454747519582208,"note":"Value kept but may cause issues"} 
[2026-07-07 04:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6488138978094954496,"note":"Value kept but may cause issues"} 
[2026-07-07 04:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783378032000,"timestamp_ms":1783378032000,"timestamp_seconds":1783378032,"priority":1,"record_length":96,"hex_timestamp":"0000019f399d3580"} 
[2026-07-07 04:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 04:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544776192001,"66":27213,"189":206,"78":63744,"24":59,"16":340454747519582208,"45":6488138978094954496},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,78,24,16,45]} 
[2026-07-07 04:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544776192001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:18:05] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-07 04:18:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-07-07 04:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340454747519582208,"km_value":340454747519582.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6488138978094954496,"description":"Unknown IO ID 45"} 
[2026-07-07 04:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544776192001,"power":27213,"unknown_189":206,"unknown_78":63744,"ignition":59,"odometer":null,"unknown_45":6488138978094954496}} 
[2026-07-07 04:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":126025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:18:05] local.INFO: GPS data processed {"connection_id":126025,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:18:05] local.INFO: Acknowledgment sent {"connection_id":126025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:18:36] local.INFO: TCP Data received {"connection_id":126025,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f399d50d8012d5a18c006629258001300a026..."} 
[2026-07-07 04:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f399d50d8012d5a18c006629258001300a026..."} 
[2026-07-07 04:18:36] local.INFO: Processing buffer {"connection_id":126025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f399d50d8012d5a18c006629258001300a026..."} 
[2026-07-07 04:18:36] local.INFO: Packet analysis {"connection_id":126025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f399d"} 
[2026-07-07 04:18:36] local.INFO: Extracted packet for processing {"connection_id":126025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f399d"} 
[2026-07-07 04:18:36] local.INFO: GPS Element Parsed {"raw_longitude":760879296,"raw_latitude":107123288,"longitude_deg":76.0879296,"latitude_deg":10.7123288,"altitude":19,"angle":160,"satellites":38,"speed":55,"hex_longitude":"2d5a18c0","hex_latitude":"06629258","is_valid_coordinates":true} 
[2026-07-07 04:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544776192001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340455241440821248,"note":"Value kept but may cause issues"} 
[2026-07-07 04:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6488138978094954496,"note":"Value kept but may cause issues"} 
[2026-07-07 04:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783378039000,"timestamp_ms":1783378039000,"timestamp_seconds":1783378039,"priority":1,"record_length":96,"hex_timestamp":"0000019f399d50d8"} 
[2026-07-07 04:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:18: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-07-07 04:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 04:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544776192001,"66":27343,"189":206,"78":63744,"24":55,"16":340455241440821248,"45":6488138978094954496},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,78,24,16,45]} 
[2026-07-07 04:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544776192001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:18:36] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-07 04:18:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-07-07 04:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340455241440821248,"km_value":340455241440821.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6488138978094954496,"description":"Unknown IO ID 45"} 
[2026-07-07 04:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544776192001,"power":27343,"unknown_189":206,"unknown_78":63744,"ignition":55,"odometer":null,"unknown_45":6488138978094954496}} 
[2026-07-07 04:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":126025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:18:36] local.INFO: GPS data processed {"connection_id":126025,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:18:36] local.INFO: Acknowledgment sent {"connection_id":126025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:19:00] local.INFO: TCP Data received {"connection_id":124003,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:19:00] local.INFO: Processing buffer {"connection_id":124003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:19:00] local.INFO: IMEI packet received {"connection_id":124003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":124003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:19:02] local.INFO: TCP Data received {"connection_id":124003,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:19:02] local.INFO: Processing buffer {"connection_id":124003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:19:02] local.INFO: IMEI packet received {"connection_id":124003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":124003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:19:05] local.INFO: TCP Data received {"connection_id":124003,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:19:05] local.INFO: Processing buffer {"connection_id":124003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:19:05] local.INFO: IMEI packet received {"connection_id":124003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":124003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:19:09] local.INFO: TCP Data received {"connection_id":124003,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f399d6c30012d5a24c006626fa8001300a126..."} 
[2026-07-07 04:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f399d6c30012d5a24c006626fa8001300a126..."} 
[2026-07-07 04:19:09] local.INFO: Processing buffer {"connection_id":124003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f399d6c30012d5a24c006626fa8001300a126..."} 
[2026-07-07 04:19:09] local.INFO: Packet analysis {"connection_id":124003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f399d"} 
[2026-07-07 04:19:09] local.INFO: Extracted packet for processing {"connection_id":124003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f399d"} 
[2026-07-07 04:19:09] local.INFO: GPS Element Parsed {"raw_longitude":760882368,"raw_latitude":107114408,"longitude_deg":76.0882368,"latitude_deg":10.7114408,"altitude":19,"angle":161,"satellites":38,"speed":51,"hex_longitude":"2d5a24c0","hex_latitude":"06626fa8","is_valid_coordinates":true} 
[2026-07-07 04:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544777984001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340455692412387328,"note":"Value kept but may cause issues"} 
[2026-07-07 04:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6492149996510664704,"note":"Value kept but may cause issues"} 
[2026-07-07 04:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783378046000,"timestamp_ms":1783378046000,"timestamp_seconds":1783378046,"priority":1,"record_length":96,"hex_timestamp":"0000019f399d6c30"} 
[2026-07-07 04:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:19: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-07-07 04:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 04:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544777984001,"66":27321,"189":206,"78":63744,"24":51,"16":340455692412387328,"45":6492149996510664704},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,78,24,16,45]} 
[2026-07-07 04:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544777984001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:19:09] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-07 04:19:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-07-07 04:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340455692412387328,"km_value":340455692412387.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6492149996510664704,"description":"Unknown IO ID 45"} 
[2026-07-07 04:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544777984001,"power":27321,"unknown_189":206,"unknown_78":63744,"ignition":51,"odometer":null,"unknown_45":6492149996510664704}} 
[2026-07-07 04:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":124003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:19:09] local.INFO: GPS data processed {"connection_id":124003,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:19:09] local.INFO: Acknowledgment sent {"connection_id":124003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:19:40] local.INFO: TCP Data received {"connection_id":124003,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f399d8b70012d5a318006624a98001400a125..."} 
[2026-07-07 04:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f399d8b70012d5a318006624a98001400a125..."} 
[2026-07-07 04:19:40] local.INFO: Processing buffer {"connection_id":124003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f399d8b70012d5a318006624a98001400a125..."} 
[2026-07-07 04:19:40] local.INFO: Packet analysis {"connection_id":124003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f399d"} 
[2026-07-07 04:19:40] local.INFO: Extracted packet for processing {"connection_id":124003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f399d"} 
[2026-07-07 04:19:40] local.INFO: GPS Element Parsed {"raw_longitude":760885632,"raw_latitude":107104920,"longitude_deg":76.0885632,"latitude_deg":10.710492,"altitude":20,"angle":161,"satellites":37,"speed":48,"hex_longitude":"2d5a3180","hex_latitude":"06624a98","is_valid_coordinates":true} 
[2026-07-07 04:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544779776001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340456182038659072,"note":"Value kept but may cause issues"} 
[2026-07-07 04:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6495527696228919296,"note":"Value kept but may cause issues"} 
[2026-07-07 04:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783378054000,"timestamp_ms":1783378054000,"timestamp_seconds":1783378054,"priority":1,"record_length":96,"hex_timestamp":"0000019f399d8b70"} 
[2026-07-07 04:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:19: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-07-07 04:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 04:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544779776001,"66":27321,"189":206,"78":63744,"24":48,"16":340456182038659072,"45":6495527696228919296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,78,24,16,45]} 
[2026-07-07 04:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544779776001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:19:40] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-07 04:19:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-07-07 04:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340456182038659072,"km_value":340456182038659.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6495527696228919296,"description":"Unknown IO ID 45"} 
[2026-07-07 04:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544779776001,"power":27321,"unknown_189":206,"unknown_78":63744,"ignition":48,"odometer":null,"unknown_45":6495527696228919296}} 
[2026-07-07 04:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":124003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:19:40] local.INFO: GPS data processed {"connection_id":124003,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:19:40] local.INFO: Acknowledgment sent {"connection_id":124003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:20:00] local.INFO: TCP Data received {"connection_id":124115,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:20:00] local.INFO: Processing buffer {"connection_id":124115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:20:00] local.INFO: IMEI packet received {"connection_id":124115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":124115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:20:01] local.INFO: TCP Data received {"connection_id":124115,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:20:01] local.INFO: Processing buffer {"connection_id":124115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:20:01] local.INFO: IMEI packet received {"connection_id":124115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":124115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:20:05] local.INFO: TCP Data received {"connection_id":124115,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:20:05] local.INFO: Processing buffer {"connection_id":124115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:20:05] local.INFO: IMEI packet received {"connection_id":124115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":124115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:20:07] local.INFO: TCP Data received {"connection_id":124115,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f399ecbc0012d5a61c0066101880016009428..."} 
[2026-07-07 04:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f399ecbc0012d5a61c0066101880016009428..."} 
[2026-07-07 04:20:07] local.INFO: Processing buffer {"connection_id":124115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f399ecbc0012d5a61c0066101880016009428..."} 
[2026-07-07 04:20:07] local.INFO: Packet analysis {"connection_id":124115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f399e"} 
[2026-07-07 04:20:07] local.INFO: Extracted packet for processing {"connection_id":124115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f399e"} 
[2026-07-07 04:20:07] local.INFO: GPS Element Parsed {"raw_longitude":760897984,"raw_latitude":107020680,"longitude_deg":76.0897984,"latitude_deg":10.702068,"altitude":22,"angle":148,"satellites":40,"speed":52,"hex_longitude":"2d5a61c0","hex_latitude":"06610188","is_valid_coordinates":true} 
[2026-07-07 04:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544802048001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340460339567001600,"note":"Value kept but may cause issues"} 
[2026-07-07 04:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6510868082436569088,"note":"Value kept but may cause issues"} 
[2026-07-07 04:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783378136000,"timestamp_ms":1783378136000,"timestamp_seconds":1783378136,"priority":1,"record_length":96,"hex_timestamp":"0000019f399ecbc0"} 
[2026-07-07 04:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 04:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:20: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-07-07 04:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544802048001,"66":27365,"61":206,"78":63744,"24":52,"16":340460339567001600,"45":6510868082436569088},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-07-07 04:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544802048001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:20:07] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-07 04:20:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-07-07 04:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340460339567001600,"km_value":340460339567001.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6510868082436569088,"description":"Unknown IO ID 45"} 
[2026-07-07 04:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544802048001,"power":27365,"unknown_61":206,"unknown_78":63744,"ignition":52,"odometer":null,"unknown_45":6510868082436569088}} 
[2026-07-07 04:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":124115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:20:07] local.INFO: GPS data processed {"connection_id":124115,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:20:07] local.INFO: Acknowledgment sent {"connection_id":124115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:20:39] local.INFO: TCP Data received {"connection_id":124115,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f399eeb00012d5a79c00660e3700019008a28..."} 
[2026-07-07 04:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f399eeb00012d5a79c00660e3700019008a28..."} 
[2026-07-07 04:20:39] local.INFO: Processing buffer {"connection_id":124115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f399eeb00012d5a79c00660e3700019008a28..."} 
[2026-07-07 04:20:39] local.INFO: Packet analysis {"connection_id":124115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f399e"} 
[2026-07-07 04:20:39] local.INFO: Extracted packet for processing {"connection_id":124115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f399e"} 
[2026-07-07 04:20:39] local.INFO: GPS Element Parsed {"raw_longitude":760904128,"raw_latitude":107012976,"longitude_deg":76.0904128,"latitude_deg":10.7012976,"altitude":25,"angle":138,"satellites":40,"speed":45,"hex_longitude":"2d5a79c0","hex_latitude":"0660e370","is_valid_coordinates":true} 
[2026-07-07 04: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-07-07 04:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544802816001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340460816308371456,"note":"Value kept but may cause issues"} 
[2026-07-07 04:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6512697669784274944,"note":"Value kept but may cause issues"} 
[2026-07-07 04:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783378144000,"timestamp_ms":1783378144000,"timestamp_seconds":1783378144,"priority":1,"record_length":96,"hex_timestamp":"0000019f399eeb00"} 
[2026-07-07 04:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:20: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-07-07 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 04:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04: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-07-07 04:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:20: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-07-07 04:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544802816001,"66":27332,"61":206,"78":63744,"24":45,"16":340460816308371456,"45":6512697669784274944},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-07-07 04:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544802816001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:20:39] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-07 04:20:39] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-07-07 04:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340460816308371456,"km_value":340460816308371.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6512697669784274944,"description":"Unknown IO ID 45"} 
[2026-07-07 04:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544802816001,"power":27332,"unknown_61":206,"unknown_78":63744,"ignition":45,"odometer":null,"unknown_45":6512697669784274944}} 
[2026-07-07 04:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":124115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:20:39] local.INFO: GPS data processed {"connection_id":124115,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:20:39] local.INFO: Acknowledgment sent {"connection_id":124115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:21:05] local.INFO: TCP Data received {"connection_id":124784,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:21:05] local.INFO: Processing buffer {"connection_id":124784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:21:05] local.INFO: IMEI packet received {"connection_id":124784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":124784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:21:08] local.INFO: TCP Data received {"connection_id":124784,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:21:08] local.INFO: Processing buffer {"connection_id":124784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:21:08] local.INFO: IMEI packet received {"connection_id":124784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":124784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:21:09] local.INFO: TCP Data received {"connection_id":124784,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f399f0e28012d5a91c00660c6e0001a009029..."} 
[2026-07-07 04:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f399f0e28012d5a91c00660c6e0001a009029..."} 
[2026-07-07 04:21:09] local.INFO: Processing buffer {"connection_id":124784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f399f0e28012d5a91c00660c6e0001a009029..."} 
[2026-07-07 04:21:09] local.INFO: Packet analysis {"connection_id":124784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f399f"} 
[2026-07-07 04:21:09] local.INFO: Extracted packet for processing {"connection_id":124784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f399f"} 
[2026-07-07 04:21:09] local.INFO: GPS Element Parsed {"raw_longitude":760910272,"raw_latitude":107005664,"longitude_deg":76.0910272,"latitude_deg":10.7005664,"altitude":26,"angle":144,"satellites":41,"speed":39,"hex_longitude":"2d5a91c0","hex_latitude":"0660c6e0","is_valid_coordinates":true} 
[2026-07-07 04:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544804864001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340461275869872128,"note":"Value kept but may cause issues"} 
[2026-07-07 04:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6519453069223358464,"note":"Value kept but may cause issues"} 
[2026-07-07 04:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783378153000,"timestamp_ms":1783378153000,"timestamp_seconds":1783378153,"priority":1,"record_length":96,"hex_timestamp":"0000019f399f0e28"} 
[2026-07-07 04:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:21: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-07-07 04:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 04:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544804864001,"66":27321,"59":206,"78":63744,"24":39,"16":340461275869872128,"45":6519453069223358464},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,78,24,16,45]} 
[2026-07-07 04:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544804864001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:21:09] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-07 04:21:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-07-07 04:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340461275869872128,"km_value":340461275869872.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6519453069223358464,"description":"Unknown IO ID 45"} 
[2026-07-07 04:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544804864001,"power":27321,"unknown_59":206,"unknown_78":63744,"ignition":39,"odometer":null,"unknown_45":6519453069223358464}} 
[2026-07-07 04:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":124784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:21:09] local.INFO: GPS data processed {"connection_id":124784,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:21:09] local.INFO: Acknowledgment sent {"connection_id":124784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:21:41] local.INFO: TCP Data received {"connection_id":124784,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f399f3538012d5aa4800660a5f8001f009a27..."} 
[2026-07-07 04:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f399f3538012d5aa4800660a5f8001f009a27..."} 
[2026-07-07 04:21:41] local.INFO: Processing buffer {"connection_id":124784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f399f3538012d5aa4800660a5f8001f009a27..."} 
[2026-07-07 04:21:41] local.INFO: Packet analysis {"connection_id":124784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f399f"} 
[2026-07-07 04:21:41] local.INFO: Extracted packet for processing {"connection_id":124784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f399f"} 
[2026-07-07 04:21:41] local.INFO: GPS Element Parsed {"raw_longitude":760915072,"raw_latitude":106997240,"longitude_deg":76.0915072,"latitude_deg":10.699724,"altitude":31,"angle":154,"satellites":39,"speed":36,"hex_longitude":"2d5aa480","hex_latitude":"0660a5f8","is_valid_coordinates":true} 
[2026-07-07 04:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544807168001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340461744021307392,"note":"Value kept but may cause issues"} 
[2026-07-07 04:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6526208468662542336,"note":"Value kept but may cause issues"} 
[2026-07-07 04:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783378163000,"timestamp_ms":1783378163000,"timestamp_seconds":1783378163,"priority":1,"record_length":96,"hex_timestamp":"0000019f399f3538"} 
[2026-07-07 04:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:21: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-07-07 04:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 04:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544807168001,"66":26723,"59":206,"78":63744,"24":36,"16":340461744021307392,"45":6526208468662542336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,78,24,16,45]} 
[2026-07-07 04:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544807168001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:21:41] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-07 04:21:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-07-07 04:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340461744021307392,"km_value":340461744021307.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6526208468662542336,"description":"Unknown IO ID 45"} 
[2026-07-07 04:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544807168001,"power":26723,"unknown_59":206,"unknown_78":63744,"ignition":36,"odometer":null,"unknown_45":6526208468662542336}} 
[2026-07-07 04:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":124784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:21:41] local.INFO: GPS data processed {"connection_id":124784,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:21:41] local.INFO: Acknowledgment sent {"connection_id":124784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:22:00] local.INFO: TCP Data received {"connection_id":124116,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:22:00] local.INFO: Processing buffer {"connection_id":124116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:22:00] local.INFO: IMEI packet received {"connection_id":124116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":124116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:22:04] local.INFO: TCP Data received {"connection_id":124116,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:22:04] local.INFO: Processing buffer {"connection_id":124116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:22:04] local.INFO: IMEI packet received {"connection_id":124116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":124116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:22:33] local.INFO: TCP Data received {"connection_id":124116,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a0b020012d5a6fc0065f1d58001700cd28..."} 
[2026-07-07 04:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a0b020012d5a6fc0065f1d58001700cd28..."} 
[2026-07-07 04:22:33] local.INFO: Processing buffer {"connection_id":124116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a0b020012d5a6fc0065f1d58001700cd28..."} 
[2026-07-07 04:22:33] local.INFO: Packet analysis {"connection_id":124116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a0"} 
[2026-07-07 04:22:33] local.INFO: Extracted packet for processing {"connection_id":124116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a0"} 
[2026-07-07 04:22:33] local.INFO: GPS Element Parsed {"raw_longitude":760901568,"raw_latitude":106896728,"longitude_deg":76.0901568,"latitude_deg":10.6896728,"altitude":23,"angle":205,"satellites":40,"speed":44,"hex_longitude":"2d5a6fc0","hex_latitude":"065f1d58","is_valid_coordinates":true} 
[2026-07-07 04:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544832512001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340466790607880192,"note":"Value kept but may cause issues"} 
[2026-07-07 04:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6521001181567801344,"note":"Value kept but may cause issues"} 
[2026-07-07 04:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783378260000,"timestamp_ms":1783378260000,"timestamp_seconds":1783378260,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a0b020"} 
[2026-07-07 04:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 04:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544832512001,"66":27463,"205":206,"78":63744,"24":44,"16":340466790607880192,"45":6521001181567801344},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,78,24,16,45]} 
[2026-07-07 04:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544832512001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:22:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-07-07 04:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340466790607880192,"km_value":340466790607880.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6521001181567801344,"description":"Unknown IO ID 45"} 
[2026-07-07 04:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544832512001,"power":27463,"cell_id":206,"unknown_78":63744,"ignition":44,"odometer":null,"unknown_45":6521001181567801344}} 
[2026-07-07 04:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":124116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:22:33] local.INFO: GPS data processed {"connection_id":124116,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:22:33] local.INFO: Acknowledgment sent {"connection_id":124116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:23:00] local.INFO: TCP Data received {"connection_id":124118,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:23:00] local.INFO: Processing buffer {"connection_id":124118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:23:00] local.INFO: IMEI packet received {"connection_id":124118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":124118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:23:01] local.INFO: TCP Data received {"connection_id":124118,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:23:01] local.INFO: Processing buffer {"connection_id":124118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:23:01] local.INFO: IMEI packet received {"connection_id":124118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":124118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:23:05] local.INFO: TCP Data received {"connection_id":124118,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:23:05] local.INFO: Processing buffer {"connection_id":124118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:23:05] local.INFO: IMEI packet received {"connection_id":124118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":124118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:23:06] local.INFO: TCP Data received {"connection_id":124118,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a1a250012d59d800065e0a60000d00d425..."} 
[2026-07-07 04:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a1a250012d59d800065e0a60000d00d425..."} 
[2026-07-07 04:23:06] local.INFO: Processing buffer {"connection_id":124118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a1a250012d59d800065e0a60000d00d425..."} 
[2026-07-07 04:23:06] local.INFO: Packet analysis {"connection_id":124118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a1"} 
[2026-07-07 04:23:06] local.INFO: Extracted packet for processing {"connection_id":124118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a1"} 
[2026-07-07 04:23:06] local.INFO: GPS Element Parsed {"raw_longitude":760862720,"raw_latitude":106826336,"longitude_deg":76.086272,"latitude_deg":10.6826336,"altitude":13,"angle":212,"satellites":37,"speed":55,"hex_longitude":"2d59d800","hex_latitude":"065e0a60","is_valid_coordinates":true} 
[2026-07-07 04:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544848640001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340470686143217664,"note":"Value kept but may cause issues"} 
[2026-07-07 04:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6479624359973079040,"note":"Value kept but may cause issues"} 
[2026-07-07 04:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783378322000,"timestamp_ms":1783378322000,"timestamp_seconds":1783378322,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a1a250"} 
[2026-07-07 04:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 04:23: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-07-07 04:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544848640001,"66":27332,"207":206,"78":63744,"24":55,"16":340470686143217664,"45":6479624359973079040},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,78,24,16,45]} 
[2026-07-07 04:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544848640001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:23:06] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 04:23:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-07-07 04:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340470686143217664,"km_value":340470686143217.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6479624359973079040,"description":"Unknown IO ID 45"} 
[2026-07-07 04:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544848640001,"power":27332,"unknown_207":206,"unknown_78":63744,"ignition":55,"odometer":null,"unknown_45":6479624359973079040}} 
[2026-07-07 04:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":124118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:23:06] local.INFO: GPS data processed {"connection_id":124118,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:23:06] local.INFO: Acknowledgment sent {"connection_id":124118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:23:25] local.INFO: TCP Data received {"connection_id":124117,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:23:25] local.INFO: Processing buffer {"connection_id":124117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:23:25] local.INFO: IMEI packet received {"connection_id":124117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 04:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":124117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:23:40] local.INFO: TCP Data received {"connection_id":124118,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a1bda8012d59c280065de9b8000d00d526..."} 
[2026-07-07 04:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a1bda8012d59c280065de9b8000d00d526..."} 
[2026-07-07 04:23:40] local.INFO: Processing buffer {"connection_id":124118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a1bda8012d59c280065de9b8000d00d526..."} 
[2026-07-07 04:23:40] local.INFO: Packet analysis {"connection_id":124118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a1"} 
[2026-07-07 04:23:40] local.INFO: Extracted packet for processing {"connection_id":124118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a1"} 
[2026-07-07 04:23:40] local.INFO: GPS Element Parsed {"raw_longitude":760857216,"raw_latitude":106817976,"longitude_deg":76.0857216,"latitude_deg":10.6817976,"altitude":13,"angle":213,"satellites":38,"speed":57,"hex_longitude":"2d59c280","hex_latitude":"065de9b8","is_valid_coordinates":true} 
[2026-07-07 04:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544850432001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340471167179554816,"note":"Value kept but may cause issues"} 
[2026-07-07 04:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6473924491692630016,"note":"Value kept but may cause issues"} 
[2026-07-07 04:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783378329000,"timestamp_ms":1783378329000,"timestamp_seconds":1783378329,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a1bda8"} 
[2026-07-07 04:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 04:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544850432001,"66":27343,"207":206,"78":63744,"24":57,"16":340471167179554816,"45":6473924491692630016},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,78,24,16,45]} 
[2026-07-07 04:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544850432001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:23:40] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 04:23:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-07-07 04:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340471167179554816,"km_value":340471167179554.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6473924491692630016,"description":"Unknown IO ID 45"} 
[2026-07-07 04:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544850432001,"power":27343,"unknown_207":206,"unknown_78":63744,"ignition":57,"odometer":null,"unknown_45":6473924491692630016}} 
[2026-07-07 04:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":124118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:23:40] local.INFO: GPS data processed {"connection_id":124118,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:23:40] local.INFO: Acknowledgment sent {"connection_id":124118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:24:00] local.INFO: TCP Data received {"connection_id":126028,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:24:00] local.INFO: Processing buffer {"connection_id":126028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:24:00] local.INFO: IMEI packet received {"connection_id":126028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 04:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":126028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:24:03] local.INFO: TCP Data received {"connection_id":124119,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:24:03] local.INFO: Processing buffer {"connection_id":124119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:24:03] local.INFO: IMEI packet received {"connection_id":124119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":124119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:24:05] local.INFO: TCP Data received {"connection_id":124119,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:24:05] local.INFO: Processing buffer {"connection_id":124119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:24:05] local.INFO: IMEI packet received {"connection_id":124119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":124119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:24:10] local.INFO: TCP Data received {"connection_id":124119,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:24:10] local.INFO: Processing buffer {"connection_id":124119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:24:10] local.INFO: IMEI packet received {"connection_id":124119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":124119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:24:11] local.INFO: TCP Data received {"connection_id":124119,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a1d900012d59ad40065dc7f0000d00d425..."} 
[2026-07-07 04:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a1d900012d59ad40065dc7f0000d00d425..."} 
[2026-07-07 04:24:11] local.INFO: Processing buffer {"connection_id":124119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a1d900012d59ad40065dc7f0000d00d425..."} 
[2026-07-07 04:24:11] local.INFO: Packet analysis {"connection_id":124119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a1"} 
[2026-07-07 04:24:11] local.INFO: Extracted packet for processing {"connection_id":124119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a1"} 
[2026-07-07 04:24:11] local.INFO: GPS Element Parsed {"raw_longitude":760851776,"raw_latitude":106809328,"longitude_deg":76.0851776,"latitude_deg":10.6809328,"altitude":13,"angle":212,"satellites":37,"speed":57,"hex_longitude":"2d59ad40","hex_latitude":"065dc7f0","is_valid_coordinates":true} 
[2026-07-07 04:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544852224001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340471661100793856,"note":"Value kept but may cause issues"} 
[2026-07-07 04:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6467872779691210752,"note":"Value kept but may cause issues"} 
[2026-07-07 04:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783378336000,"timestamp_ms":1783378336000,"timestamp_seconds":1783378336,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a1d900"} 
[2026-07-07 04:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:24: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-07-07 04:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 04:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04: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-07-07 04:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544852224001,"66":27397,"207":206,"78":63744,"24":57,"16":340471661100793856,"45":6467872779691210752},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,78,24,16,45]} 
[2026-07-07 04:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544852224001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:24:11] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 04:24:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-07-07 04:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340471661100793856,"km_value":340471661100793.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6467872779691210752,"description":"Unknown IO ID 45"} 
[2026-07-07 04:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544852224001,"power":27397,"unknown_207":206,"unknown_78":63744,"ignition":57,"odometer":null,"unknown_45":6467872779691210752}} 
[2026-07-07 04:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":124119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:24:11] local.INFO: GPS data processed {"connection_id":124119,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:24:11] local.INFO: Acknowledgment sent {"connection_id":124119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:24:12] local.INFO: TCP Data received {"connection_id":124119,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a1f458012d5997c0065da788000c00d626..."} 
[2026-07-07 04:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a1f458012d5997c0065da788000c00d626..."} 
[2026-07-07 04:24:12] local.INFO: Processing buffer {"connection_id":124119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a1f458012d5997c0065da788000c00d626..."} 
[2026-07-07 04:24:12] local.INFO: Packet analysis {"connection_id":124119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a1"} 
[2026-07-07 04:24:12] local.INFO: Extracted packet for processing {"connection_id":124119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a1"} 
[2026-07-07 04:24:12] local.INFO: GPS Element Parsed {"raw_longitude":760846272,"raw_latitude":106801032,"longitude_deg":76.0846272,"latitude_deg":10.6801032,"altitude":12,"angle":214,"satellites":38,"speed":55,"hex_longitude":"2d5997c0","hex_latitude":"065da788","is_valid_coordinates":true} 
[2026-07-07 04:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544854016001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340472142137131008,"note":"Value kept but may cause issues"} 
[2026-07-07 04:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6461891436433895424,"note":"Value kept but may cause issues"} 
[2026-07-07 04:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783378343000,"timestamp_ms":1783378343000,"timestamp_seconds":1783378343,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a1f458"} 
[2026-07-07 04:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:24: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-07-07 04: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 04:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544854016001,"66":27245,"207":206,"78":63744,"24":55,"16":340472142137131008,"45":6461891436433895424},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,78,24,16,45]} 
[2026-07-07 04:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544854016001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:24:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 04:24:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-07-07 04:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340472142137131008,"km_value":340472142137131.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6461891436433895424,"description":"Unknown IO ID 45"} 
[2026-07-07 04:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544854016001,"power":27245,"unknown_207":206,"unknown_78":63744,"ignition":55,"odometer":null,"unknown_45":6461891436433895424}} 
[2026-07-07 04:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":124119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:24:12] local.INFO: GPS data processed {"connection_id":124119,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:24:12] local.INFO: Acknowledgment sent {"connection_id":124119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:24:43] local.INFO: TCP Data received {"connection_id":124119,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a34060012d58abc0065c5bc0000900d429..."} 
[2026-07-07 04:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a34060012d58abc0065c5bc0000900d429..."} 
[2026-07-07 04:24:43] local.INFO: Processing buffer {"connection_id":124119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a34060012d58abc0065c5bc0000900d429..."} 
[2026-07-07 04:24:43] local.INFO: Packet analysis {"connection_id":124119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a3"} 
[2026-07-07 04:24:43] local.INFO: Extracted packet for processing {"connection_id":124119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a3"} 
[2026-07-07 04:24:43] local.INFO: GPS Element Parsed {"raw_longitude":760785856,"raw_latitude":106716096,"longitude_deg":76.0785856,"latitude_deg":10.6716096,"altitude":9,"angle":212,"satellites":41,"speed":45,"hex_longitude":"2d58abc0","hex_latitude":"065c5bc0","is_valid_coordinates":true} 
[2026-07-07 04:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544875520001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340477175838801920,"note":"Value kept but may cause issues"} 
[2026-07-07 04:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6394900391954911232,"note":"Value kept but may cause issues"} 
[2026-07-07 04:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783378428000,"timestamp_ms":1783378428000,"timestamp_seconds":1783378428,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a34060"} 
[2026-07-07 04:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 04:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544875520001,"66":27321,"144":206,"78":62464,"24":45,"16":340477175838801920,"45":6394900391954911232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-07-07 04:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544875520001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:24:43] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-07-07 04:24:43] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340477175838801920,"km_value":340477175838801.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6394900391954911232,"description":"Unknown IO ID 45"} 
[2026-07-07 04:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544875520001,"power":27321,"unknown_144":206,"unknown_78":62464,"ignition":45,"odometer":null,"unknown_45":6394900391954911232}} 
[2026-07-07 04:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":124119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:24:43] local.INFO: GPS data processed {"connection_id":124119,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:24:43] local.INFO: Acknowledgment sent {"connection_id":124119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:25:00] local.INFO: TCP Data received {"connection_id":124005,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:25:00] local.INFO: Processing buffer {"connection_id":124005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:25:00] local.INFO: IMEI packet received {"connection_id":124005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":124005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:25:02] local.INFO: TCP Data received {"connection_id":124005,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:25:02] local.INFO: Processing buffer {"connection_id":124005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:25:02] local.INFO: IMEI packet received {"connection_id":124005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":124005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:25:03] local.INFO: TCP Data received {"connection_id":124005,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a35fa0012d589800065c3bc0000900d12a..."} 
[2026-07-07 04:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a35fa0012d589800065c3bc0000900d12a..."} 
[2026-07-07 04:25:03] local.INFO: Processing buffer {"connection_id":124005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a35fa0012d589800065c3bc0000900d12a..."} 
[2026-07-07 04:25:03] local.INFO: Packet analysis {"connection_id":124005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a3"} 
[2026-07-07 04:25:03] local.INFO: Extracted packet for processing {"connection_id":124005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a3"} 
[2026-07-07 04:25:03] local.INFO: GPS Element Parsed {"raw_longitude":760780800,"raw_latitude":106707904,"longitude_deg":76.07808,"latitude_deg":10.6707904,"altitude":9,"angle":209,"satellites":42,"speed":49,"hex_longitude":"2d589800","hex_latitude":"065c3bc0","is_valid_coordinates":true} 
[2026-07-07 04:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544877568001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340477639695269888,"note":"Value kept but may cause issues"} 
[2026-07-07 04:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6389411629907034112,"note":"Value kept but may cause issues"} 
[2026-07-07 04:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783378436000,"timestamp_ms":1783378436000,"timestamp_seconds":1783378436,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a35fa0"} 
[2026-07-07 04:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:25: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-07-07 04:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 04:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544877568001,"66":27365,"144":206,"78":62464,"24":49,"16":340477639695269888,"45":6389411629907034112},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-07-07 04:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544877568001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:25:03] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-07-07 04:25:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340477639695269888,"km_value":340477639695269.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6389411629907034112,"description":"Unknown IO ID 45"} 
[2026-07-07 04:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544877568001,"power":27365,"unknown_144":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":6389411629907034112}} 
[2026-07-07 04:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":124005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:25:03] local.INFO: GPS data processed {"connection_id":124005,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:25:03] local.INFO: Acknowledgment sent {"connection_id":124005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:25:07] local.INFO: TCP Data received {"connection_id":124005,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a37af8012d588780065c1c70000800ce2a..."} 
[2026-07-07 04:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a37af8012d588780065c1c70000800ce2a..."} 
[2026-07-07 04:25:07] local.INFO: Processing buffer {"connection_id":124005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a37af8012d588780065c1c70000800ce2a..."} 
[2026-07-07 04:25:07] local.INFO: Packet analysis {"connection_id":124005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a3"} 
[2026-07-07 04:25:07] local.INFO: Extracted packet for processing {"connection_id":124005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a3"} 
[2026-07-07 04:25:07] local.INFO: GPS Element Parsed {"raw_longitude":760776576,"raw_latitude":106699888,"longitude_deg":76.0776576,"latitude_deg":10.6699888,"altitude":8,"angle":206,"satellites":42,"speed":52,"hex_longitude":"2d588780","hex_latitude":"065c1c70","is_valid_coordinates":true} 
[2026-07-07 04: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-07-07 04:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544879616001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340478077781934080,"note":"Value kept but may cause issues"} 
[2026-07-07 04:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6383852499114901504,"note":"Value kept but may cause issues"} 
[2026-07-07 04:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783378443000,"timestamp_ms":1783378443000,"timestamp_seconds":1783378443,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a37af8"} 
[2026-07-07 04:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 04:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04: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-07-07 04:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:25: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-07-07 04:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544879616001,"66":27484,"144":206,"78":62464,"24":52,"16":340478077781934080,"45":6383852499114901504},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-07-07 04:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544879616001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:25:07] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-07-07 04:25:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340478077781934080,"km_value":340478077781934.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6383852499114901504,"description":"Unknown IO ID 45"} 
[2026-07-07 04:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544879616001,"power":27484,"unknown_144":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":6383852499114901504}} 
[2026-07-07 04:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":124005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:25:07] local.INFO: GPS data processed {"connection_id":124005,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:25:07] local.INFO: Acknowledgment sent {"connection_id":124005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:25:38] local.INFO: TCP Data received {"connection_id":124005,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a39650012d587600065bfbc0000700cf29..."} 
[2026-07-07 04:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a39650012d587600065bfbc0000700cf29..."} 
[2026-07-07 04:25:38] local.INFO: Processing buffer {"connection_id":124005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a39650012d587600065bfbc0000700cf29..."} 
[2026-07-07 04:25:38] local.INFO: Packet analysis {"connection_id":124005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a3"} 
[2026-07-07 04:25:38] local.INFO: Extracted packet for processing {"connection_id":124005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a3"} 
[2026-07-07 04:25:38] local.INFO: GPS Element Parsed {"raw_longitude":760772096,"raw_latitude":106691520,"longitude_deg":76.0772096,"latitude_deg":10.669152,"altitude":7,"angle":207,"satellites":41,"speed":55,"hex_longitude":"2d587600","hex_latitude":"065bfbc0","is_valid_coordinates":true} 
[2026-07-07 04:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544881408001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340478533048467456,"note":"Value kept but may cause issues"} 
[2026-07-07 04:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6379208161997123584,"note":"Value kept but may cause issues"} 
[2026-07-07 04:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783378450000,"timestamp_ms":1783378450000,"timestamp_seconds":1783378450,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a39650"} 
[2026-07-07 04:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:25: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-07-07 04: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 04:25: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-07-07 04:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:25: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-07-07 04:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544881408001,"66":27234,"144":206,"78":62464,"24":55,"16":340478533048467456,"45":6379208161997123584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-07-07 04:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544881408001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:25:38] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-07-07 04:25:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340478533048467456,"km_value":340478533048467.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6379208161997123584,"description":"Unknown IO ID 45"} 
[2026-07-07 04:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544881408001,"power":27234,"unknown_144":206,"unknown_78":62464,"ignition":55,"odometer":null,"unknown_45":6379208161997123584}} 
[2026-07-07 04:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":124005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:25:38] local.INFO: GPS data processed {"connection_id":124005,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:25:38] local.INFO: Acknowledgment sent {"connection_id":124005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:26:05] local.INFO: TCP Data received {"connection_id":126029,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:26:05] local.INFO: Processing buffer {"connection_id":126029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:26:05] local.INFO: IMEI packet received {"connection_id":126029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":126029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:26:08] local.INFO: TCP Data received {"connection_id":126029,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:26:08] local.INFO: Processing buffer {"connection_id":126029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:26:08] local.INFO: IMEI packet received {"connection_id":126029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":126029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:26:10] local.INFO: TCP Data received {"connection_id":126029,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:26:10] local.INFO: Processing buffer {"connection_id":126029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:26:10] local.INFO: IMEI packet received {"connection_id":126029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":126029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:26:11] local.INFO: TCP Data received {"connection_id":126029,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a3b1a8012d586340065bd9c0000700cf29..."} 
[2026-07-07 04:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a3b1a8012d586340065bd9c0000700cf29..."} 
[2026-07-07 04:26:11] local.INFO: Processing buffer {"connection_id":126029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a3b1a8012d586340065bd9c0000700cf29..."} 
[2026-07-07 04:26:11] local.INFO: Packet analysis {"connection_id":126029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a3"} 
[2026-07-07 04:26:11] local.INFO: Extracted packet for processing {"connection_id":126029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a3"} 
[2026-07-07 04:26:11] local.INFO: GPS Element Parsed {"raw_longitude":760767296,"raw_latitude":106682816,"longitude_deg":76.0767296,"latitude_deg":10.6682816,"altitude":7,"angle":207,"satellites":41,"speed":56,"hex_longitude":"2d586340","hex_latitude":"065bd9c0","is_valid_coordinates":true} 
[2026-07-07 04:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544883200001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340479014084804608,"note":"Value kept but may cause issues"} 
[2026-07-07 04:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6374282349902544896,"note":"Value kept but may cause issues"} 
[2026-07-07 04:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783378457000,"timestamp_ms":1783378457000,"timestamp_seconds":1783378457,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a3b1a8"} 
[2026-07-07 04:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 04:26: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-07-07 04:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544883200001,"66":27213,"144":206,"78":62464,"24":56,"16":340479014084804608,"45":6374282349902544896},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-07-07 04:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544883200001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:26:11] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-07-07 04:26:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340479014084804608,"km_value":340479014084804.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6374282349902544896,"description":"Unknown IO ID 45"} 
[2026-07-07 04:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544883200001,"power":27213,"unknown_144":206,"unknown_78":62464,"ignition":56,"odometer":null,"unknown_45":6374282349902544896}} 
[2026-07-07 04:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":126029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:26:11] local.INFO: GPS data processed {"connection_id":126029,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:26:11] local.INFO: Acknowledgment sent {"connection_id":126029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:26:15] local.INFO: TCP Data received {"connection_id":126029,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a3cd00012d584ec0065bb700000700d12a..."} 
[2026-07-07 04:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a3cd00012d584ec0065bb700000700d12a..."} 
[2026-07-07 04:26:15] local.INFO: Processing buffer {"connection_id":126029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a3cd00012d584ec0065bb700000700d12a..."} 
[2026-07-07 04:26:15] local.INFO: Packet analysis {"connection_id":126029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a3"} 
[2026-07-07 04:26:15] local.INFO: Extracted packet for processing {"connection_id":126029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a3"} 
[2026-07-07 04:26:15] local.INFO: GPS Element Parsed {"raw_longitude":760762048,"raw_latitude":106673920,"longitude_deg":76.0762048,"latitude_deg":10.667392,"altitude":7,"angle":209,"satellites":42,"speed":58,"hex_longitude":"2d584ec0","hex_latitude":"065bb700","is_valid_coordinates":true} 
[2026-07-07 04:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544884992001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340479512301010944,"note":"Value kept but may cause issues"} 
[2026-07-07 04:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6369004694086991872,"note":"Value kept but may cause issues"} 
[2026-07-07 04:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783378464000,"timestamp_ms":1783378464000,"timestamp_seconds":1783378464,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a3cd00"} 
[2026-07-07 04:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:26: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-07-07 04: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":77,"data_length":795,"current_offset":136} 
[2026-07-07 04:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544884992001,"66":27463,"144":206,"78":62464,"24":58,"16":340479512301010944,"45":6369004694086991872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-07-07 04:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544884992001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:26:15] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-07-07 04:26:15] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340479512301010944,"km_value":340479512301010.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6369004694086991872,"description":"Unknown IO ID 45"} 
[2026-07-07 04:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544884992001,"power":27463,"unknown_144":206,"unknown_78":62464,"ignition":58,"odometer":null,"unknown_45":6369004694086991872}} 
[2026-07-07 04:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":126029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:26:15] local.INFO: GPS data processed {"connection_id":126029,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:26:15] local.INFO: Acknowledgment sent {"connection_id":126029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:27:06] local.INFO: TCP Data received {"connection_id":126032,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:27:06] local.INFO: Processing buffer {"connection_id":126032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:27:06] local.INFO: IMEI packet received {"connection_id":126032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":126032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:27:10] local.INFO: TCP Data received {"connection_id":126032,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:27:10] local.INFO: Processing buffer {"connection_id":126032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:27:10] local.INFO: IMEI packet received {"connection_id":126032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":126032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:27:12] local.INFO: TCP Data received {"connection_id":126032,"ip":"42.106.6.39","data_length":93,"data_hex":"00000000000000518e010000019f39a52c90012d576c40065a3bb0001200d227..."} 
[2026-07-07 04:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126032,"packet_length":93,"packet_hex":"00000000000000518e010000019f39a52c90012d576c40065a3bb0001200d227..."} 
[2026-07-07 04:27:12] local.INFO: Processing buffer {"connection_id":126032,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f39a52c90012d576c40065a3bb0001200d227..."} 
[2026-07-07 04:27:12] local.INFO: Packet analysis {"connection_id":126032,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f39a5"} 
[2026-07-07 04:27:12] local.INFO: Extracted packet for processing {"connection_id":126032,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f39a5"} 
[2026-07-07 04:27:12] local.INFO: GPS Element Parsed {"raw_longitude":760704064,"raw_latitude":106576816,"longitude_deg":76.0704064,"latitude_deg":10.6576816,"altitude":18,"angle":210,"satellites":39,"speed":38,"hex_longitude":"2d576c40","hex_latitude":"065a3bb0","is_valid_coordinates":true} 
[2026-07-07 04: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":93,"current_offset":40} 
[2026-07-07 04:27: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-07-07 04:27: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-07-07 04:27:12] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:27:12] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 04:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126032,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-07 04:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126032,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-07 04:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126032,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-07 04:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 04:27:12] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 04:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":126032,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 04:27:12] local.ERROR: GPS data processing failed {"connection_id":126032,"error":"No valid data to process"} 
[2026-07-07 04:27:12] local.INFO: Acknowledgment sent {"connection_id":126032,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 04:27:43] local.INFO: TCP Data received {"connection_id":126032,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a55788012d575c40065a1a60001700c727..."} 
[2026-07-07 04:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a55788012d575c40065a1a60001700c727..."} 
[2026-07-07 04:27:43] local.INFO: Processing buffer {"connection_id":126032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a55788012d575c40065a1a60001700c727..."} 
[2026-07-07 04:27:43] local.INFO: Packet analysis {"connection_id":126032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a5"} 
[2026-07-07 04:27:43] local.INFO: Extracted packet for processing {"connection_id":126032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a5"} 
[2026-07-07 04:27:43] local.INFO: GPS Element Parsed {"raw_longitude":760699968,"raw_latitude":106568288,"longitude_deg":76.0699968,"latitude_deg":10.6568288,"altitude":23,"angle":199,"satellites":39,"speed":28,"hex_longitude":"2d575c40","hex_latitude":"065a1a60","is_valid_coordinates":true} 
[2026-07-07 04:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544909824001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340485430765944832,"note":"Value kept but may cause issues"} 
[2026-07-07 04:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6299480374812323840,"note":"Value kept but may cause issues"} 
[2026-07-07 04:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783378565000,"timestamp_ms":1783378565000,"timestamp_seconds":1783378565,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a55788"} 
[2026-07-07 04:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:27: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-07-07 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 04:27: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-07-07 04:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":126032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":126032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":126032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544909824001,"66":27267,"145":206,"78":62464,"24":28,"16":340485430765944832,"45":6299480374812323840},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-07-07 04:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544909824001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:27:43] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-07 04:27:43] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340485430765944832,"km_value":340485430765944.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6299480374812323840,"description":"Unknown IO ID 45"} 
[2026-07-07 04:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544909824001,"power":27267,"unknown_145":206,"unknown_78":62464,"ignition":28,"odometer":null,"unknown_45":6299480374812323840}} 
[2026-07-07 04:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":126032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:27:43] local.INFO: GPS data processed {"connection_id":126032,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:27:43] local.INFO: Acknowledgment sent {"connection_id":126032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:28:00] local.INFO: TCP Data received {"connection_id":124007,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:28:00] local.INFO: Processing buffer {"connection_id":124007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:28:00] local.INFO: IMEI packet received {"connection_id":124007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":124007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:28:01] local.INFO: TCP Data received {"connection_id":124007,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:28:01] local.INFO: Processing buffer {"connection_id":124007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:28:01] local.INFO: IMEI packet received {"connection_id":124007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":124007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:28:03] local.INFO: TCP Data received {"connection_id":124007,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:28:03] local.INFO: Processing buffer {"connection_id":124007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:28:03] local.INFO: IMEI packet received {"connection_id":124007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":124007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:28:06] local.INFO: TCP Data received {"connection_id":124007,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:28:06] local.INFO: Processing buffer {"connection_id":124007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:28:06] local.INFO: IMEI packet received {"connection_id":124007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":124007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:28:21] local.INFO: TCP Data received {"connection_id":124007,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a55788012d575c40065a1a60001700c727..."} 
[2026-07-07 04:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a55788012d575c40065a1a60001700c727..."} 
[2026-07-07 04:28:21] local.INFO: Processing buffer {"connection_id":124007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a55788012d575c40065a1a60001700c727..."} 
[2026-07-07 04:28:21] local.INFO: Packet analysis {"connection_id":124007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a5"} 
[2026-07-07 04:28:21] local.INFO: Extracted packet for processing {"connection_id":124007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a5"} 
[2026-07-07 04:28:21] local.INFO: GPS Element Parsed {"raw_longitude":760699968,"raw_latitude":106568288,"longitude_deg":76.0699968,"latitude_deg":10.6568288,"altitude":23,"angle":199,"satellites":39,"speed":28,"hex_longitude":"2d575c40","hex_latitude":"065a1a60","is_valid_coordinates":true} 
[2026-07-07 04:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544912640001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340485430765944832,"note":"Value kept but may cause issues"} 
[2026-07-07 04:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6294976775182770176,"note":"Value kept but may cause issues"} 
[2026-07-07 04:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783378565000,"timestamp_ms":1783378565000,"timestamp_seconds":1783378565,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a55788"} 
[2026-07-07 04:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:28: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-07-07 04:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 04:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:28: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-07-07 04:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544912640001,"66":27267,"145":206,"78":62464,"24":28,"16":340485430765944832,"45":6294976775182770176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-07-07 04:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544912640001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:28:21] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-07 04:28:21] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340485430765944832,"km_value":340485430765944.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6294976775182770176,"description":"Unknown IO ID 45"} 
[2026-07-07 04:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544912640001,"power":27267,"unknown_145":206,"unknown_78":62464,"ignition":28,"odometer":null,"unknown_45":6294976775182770176}} 
[2026-07-07 04:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":124007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:28:21] local.INFO: GPS data processed {"connection_id":124007,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:28:21] local.INFO: Acknowledgment sent {"connection_id":124007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:28:23] local.INFO: TCP Data received {"connection_id":124007,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a59608012d5752800659f838001c00bf29..."} 
[2026-07-07 04:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a59608012d5752800659f838001c00bf29..."} 
[2026-07-07 04:28:23] local.INFO: Processing buffer {"connection_id":124007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a59608012d5752800659f838001c00bf29..."} 
[2026-07-07 04:28:23] local.INFO: Packet analysis {"connection_id":124007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a5"} 
[2026-07-07 04:28:23] local.INFO: Extracted packet for processing {"connection_id":124007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a5"} 
[2026-07-07 04:28:23] local.INFO: GPS Element Parsed {"raw_longitude":760697472,"raw_latitude":106559544,"longitude_deg":76.0697472,"latitude_deg":10.6559544,"altitude":28,"angle":191,"satellites":41,"speed":20,"hex_longitude":"2d575280","hex_latitude":"0659f838","is_valid_coordinates":true} 
[2026-07-07 04:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544912640001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340485873147576320,"note":"Value kept but may cause issues"} 
[2026-07-07 04:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6294976775182770176,"note":"Value kept but may cause issues"} 
[2026-07-07 04:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783378581000,"timestamp_ms":1783378581000,"timestamp_seconds":1783378581,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a59608"} 
[2026-07-07 04:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 04:28: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-07-07 04:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":124007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":124007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":124007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544912640001,"66":27234,"12":206,"78":62464,"24":20,"16":340485873147576320,"45":6294976775182770176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,78,24,16,45]} 
[2026-07-07 04:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544912640001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:28:23] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-07 04:28:23] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340485873147576320,"km_value":340485873147576.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6294976775182770176,"description":"Unknown IO ID 45"} 
[2026-07-07 04:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544912640001,"power":27234,"unknown_12":206,"unknown_78":62464,"ignition":20,"odometer":null,"unknown_45":6294976775182770176}} 
[2026-07-07 04:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":124007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:28:23] local.INFO: GPS data processed {"connection_id":124007,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:28:23] local.INFO: Acknowledgment sent {"connection_id":124007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:29:03] local.INFO: TCP Data received {"connection_id":126034,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:29:03] local.INFO: Processing buffer {"connection_id":126034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:29:03] local.INFO: IMEI packet received {"connection_id":126034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":126034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:29:05] local.INFO: TCP Data received {"connection_id":126034,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:29:05] local.INFO: Processing buffer {"connection_id":126034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:29:05] local.INFO: IMEI packet received {"connection_id":126034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":126034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:29:10] local.INFO: TCP Data received {"connection_id":126034,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:29:10] local.INFO: Processing buffer {"connection_id":126034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:29:10] local.INFO: IMEI packet received {"connection_id":126034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":126034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:29:11] local.INFO: TCP Data received {"connection_id":126034,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a72090012d5786000658f878001e00882a..."} 
[2026-07-07 04:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a72090012d5786000658f878001e00882a..."} 
[2026-07-07 04:29:11] local.INFO: Processing buffer {"connection_id":126034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a72090012d5786000658f878001e00882a..."} 
[2026-07-07 04:29:11] local.INFO: Packet analysis {"connection_id":126034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a7"} 
[2026-07-07 04:29:11] local.INFO: Extracted packet for processing {"connection_id":126034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a7"} 
[2026-07-07 04:29:11] local.INFO: GPS Element Parsed {"raw_longitude":760710656,"raw_latitude":106494072,"longitude_deg":76.0710656,"latitude_deg":10.6494072,"altitude":30,"angle":136,"satellites":42,"speed":26,"hex_longitude":"2d578600","hex_latitude":"0658f878","is_valid_coordinates":true} 
[2026-07-07 04:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544938752001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340489437970432000,"note":"Value kept but may cause issues"} 
[2026-07-07 04:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6298635949862504448,"note":"Value kept but may cause issues"} 
[2026-07-07 04:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783378682000,"timestamp_ms":1783378682000,"timestamp_seconds":1783378682,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a72090"} 
[2026-07-07 04:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":77,"data_length":795,"current_offset":136} 
[2026-07-07 04:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04: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-07-07 04:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544938752001,"66":27365,"17":206,"78":62464,"24":26,"16":340489437970432000,"45":6298635949862504448},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,78,24,16,45]} 
[2026-07-07 04:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544938752001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:29:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340489437970432000,"km_value":340489437970432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6298635949862504448,"description":"Unknown IO ID 45"} 
[2026-07-07 04:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544938752001,"power":27365,"axis_x":206,"unknown_78":62464,"ignition":26,"odometer":null,"unknown_45":6298635949862504448}} 
[2026-07-07 04:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":126034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:29:11] local.INFO: GPS data processed {"connection_id":126034,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:29:11] local.INFO: Acknowledgment sent {"connection_id":126034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:29:15] local.INFO: TCP Data received {"connection_id":126034,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a73418012d578e800658edd80020009429..."} 
[2026-07-07 04:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a73418012d578e800658edd80020009429..."} 
[2026-07-07 04:29:15] local.INFO: Processing buffer {"connection_id":126034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a73418012d578e800658edd80020009429..."} 
[2026-07-07 04:29:15] local.INFO: Packet analysis {"connection_id":126034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a7"} 
[2026-07-07 04:29:15] local.INFO: Extracted packet for processing {"connection_id":126034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a7"} 
[2026-07-07 04:29:15] local.INFO: GPS Element Parsed {"raw_longitude":760712832,"raw_latitude":106491352,"longitude_deg":76.0712832,"latitude_deg":10.6491352,"altitude":32,"angle":148,"satellites":41,"speed":26,"hex_longitude":"2d578e80","hex_latitude":"0658edd8","is_valid_coordinates":true} 
[2026-07-07 04:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544942592001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340489605474156544,"note":"Value kept but may cause issues"} 
[2026-07-07 04:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6306728355441440768,"note":"Value kept but may cause issues"} 
[2026-07-07 04:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783378687000,"timestamp_ms":1783378687000,"timestamp_seconds":1783378687,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a73418"} 
[2026-07-07 04:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:29: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-07-07 04: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":229,"data_length":795,"current_offset":136} 
[2026-07-07 04:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544942592001,"66":27484,"17":206,"78":62464,"24":26,"16":340489605474156544,"45":6306728355441440768},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,78,24,16,45]} 
[2026-07-07 04:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544942592001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:29:15] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340489605474156544,"km_value":340489605474156.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6306728355441440768,"description":"Unknown IO ID 45"} 
[2026-07-07 04:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544942592001,"power":27484,"axis_x":206,"unknown_78":62464,"ignition":26,"odometer":null,"unknown_45":6306728355441440768}} 
[2026-07-07 04:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":126034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:29:15] local.INFO: GPS data processed {"connection_id":126034,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:29:15] local.INFO: Acknowledgment sent {"connection_id":126034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:29:25] local.INFO: TCP Data received {"connection_id":126033,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:29:25] local.INFO: Processing buffer {"connection_id":126033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:29:25] local.INFO: IMEI packet received {"connection_id":126033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 04:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":126033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:30:00] local.INFO: TCP Data received {"connection_id":126035,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:30:00] local.INFO: Processing buffer {"connection_id":126035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:30:00] local.INFO: IMEI packet received {"connection_id":126035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":126035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:30:00] local.INFO: TCP Data received {"connection_id":124120,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:30:00] local.INFO: Processing buffer {"connection_id":124120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:30:00] local.INFO: IMEI packet received {"connection_id":124120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 04:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":124120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:30:03] local.INFO: TCP Data received {"connection_id":126035,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:30:03] local.INFO: Processing buffer {"connection_id":126035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:30:03] local.INFO: IMEI packet received {"connection_id":126035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":126035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:30:04] local.INFO: TCP Data received {"connection_id":126035,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a75b28012d579d400658ce60001c009c29..."} 
[2026-07-07 04:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a75b28012d579d400658ce60001c009c29..."} 
[2026-07-07 04:30:04] local.INFO: Processing buffer {"connection_id":126035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a75b28012d579d400658ce60001c009c29..."} 
[2026-07-07 04:30:04] local.INFO: Packet analysis {"connection_id":126035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a7"} 
[2026-07-07 04:30:04] local.INFO: Extracted packet for processing {"connection_id":126035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a7"} 
[2026-07-07 04:30:04] local.INFO: GPS Element Parsed {"raw_longitude":760716608,"raw_latitude":106483296,"longitude_deg":76.0716608,"latitude_deg":10.6483296,"altitude":28,"angle":156,"satellites":41,"speed":44,"hex_longitude":"2d579d40","hex_latitude":"0658ce60","is_valid_coordinates":true} 
[2026-07-07 04:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544943872001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340490034970886144,"note":"Value kept but may cause issues"} 
[2026-07-07 04:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6309120892742785024,"note":"Value kept but may cause issues"} 
[2026-07-07 04:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783378697000,"timestamp_ms":1783378697000,"timestamp_seconds":1783378697,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a75b28"} 
[2026-07-07 04:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 04:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544943872001,"66":27343,"17":206,"78":62464,"24":44,"16":340490034970886144,"45":6309120892742785024},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,78,24,16,45]} 
[2026-07-07 04:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544943872001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:30:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340490034970886144,"km_value":340490034970886.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6309120892742785024,"description":"Unknown IO ID 45"} 
[2026-07-07 04:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544943872001,"power":27343,"axis_x":206,"unknown_78":62464,"ignition":44,"odometer":null,"unknown_45":6309120892742785024}} 
[2026-07-07 04:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":126035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:30:04] local.INFO: GPS data processed {"connection_id":126035,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:30:04] local.INFO: Acknowledgment sent {"connection_id":126035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:30:35] local.INFO: TCP Data received {"connection_id":126035,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a77a68012d57acc00658aba0001b009a29..."} 
[2026-07-07 04:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a77a68012d57acc00658aba0001b009a29..."} 
[2026-07-07 04:30:35] local.INFO: Processing buffer {"connection_id":126035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a77a68012d57acc00658aba0001b009a29..."} 
[2026-07-07 04:30:35] local.INFO: Packet analysis {"connection_id":126035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a7"} 
[2026-07-07 04:30:35] local.INFO: Extracted packet for processing {"connection_id":126035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a7"} 
[2026-07-07 04:30:35] local.INFO: GPS Element Parsed {"raw_longitude":760720576,"raw_latitude":106474400,"longitude_deg":76.0720576,"latitude_deg":10.64744,"altitude":27,"angle":154,"satellites":41,"speed":49,"hex_longitude":"2d57acc0","hex_latitude":"0658aba0","is_valid_coordinates":true} 
[2026-07-07 04:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544946432001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340490507417288704,"note":"Value kept but may cause issues"} 
[2026-07-07 04:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6313272648647204864,"note":"Value kept but may cause issues"} 
[2026-07-07 04:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783378705000,"timestamp_ms":1783378705000,"timestamp_seconds":1783378705,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a77a68"} 
[2026-07-07 04:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 04:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544946432001,"66":27593,"17":206,"78":62464,"24":49,"16":340490507417288704,"45":6313272648647204864},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,78,24,16,45]} 
[2026-07-07 04:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544946432001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:30:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340490507417288704,"km_value":340490507417288.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6313272648647204864,"description":"Unknown IO ID 45"} 
[2026-07-07 04:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544946432001,"power":27593,"axis_x":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":6313272648647204864}} 
[2026-07-07 04:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":126035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:30:35] local.INFO: GPS data processed {"connection_id":126035,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:30:35] local.INFO: Acknowledgment sent {"connection_id":126035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:31:00] local.INFO: TCP Data received {"connection_id":124121,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:31:00] local.INFO: Processing buffer {"connection_id":124121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:31:00] local.INFO: IMEI packet received {"connection_id":124121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":124121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:31:01] local.INFO: TCP Data received {"connection_id":124121,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:31:01] local.INFO: Processing buffer {"connection_id":124121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:31:01] local.INFO: IMEI packet received {"connection_id":124121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":124121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:31:05] local.INFO: TCP Data received {"connection_id":124121,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:31:05] local.INFO: Processing buffer {"connection_id":124121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:31:05] local.INFO: IMEI packet received {"connection_id":124121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":124121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:31:06] local.INFO: TCP Data received {"connection_id":124121,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a8e5b0012d58818006577860001c008f25..."} 
[2026-07-07 04:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a8e5b0012d58818006577860001c008f25..."} 
[2026-07-07 04:31:06] local.INFO: Processing buffer {"connection_id":124121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a8e5b0012d58818006577860001c008f25..."} 
[2026-07-07 04:31:06] local.INFO: Packet analysis {"connection_id":124121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a8"} 
[2026-07-07 04:31:06] local.INFO: Extracted packet for processing {"connection_id":124121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a8"} 
[2026-07-07 04:31:06] local.INFO: GPS Element Parsed {"raw_longitude":760775040,"raw_latitude":106395744,"longitude_deg":76.077504,"latitude_deg":10.6395744,"altitude":28,"angle":143,"satellites":37,"speed":46,"hex_longitude":"2d588180","hex_latitude":"06577860","is_valid_coordinates":true} 
[2026-07-07 04:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544970240001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340495206111510528,"note":"Value kept but may cause issues"} 
[2026-07-07 04:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6370904650108102656,"note":"Value kept but may cause issues"} 
[2026-07-07 04:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783378798000,"timestamp_ms":1783378798000,"timestamp_seconds":1783378798,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a8e5b0"} 
[2026-07-07 04:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:31: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-07-07 04:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 04:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544970240001,"66":27376,"73":206,"78":62464,"24":46,"16":340495206111510528,"45":6370904650108102656},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,78,24,16,45]} 
[2026-07-07 04:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544970240001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:31:06] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-07 04:31:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340495206111510528,"km_value":340495206111510.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6370904650108102656,"description":"Unknown IO ID 45"} 
[2026-07-07 04:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544970240001,"power":27376,"unknown_73":206,"unknown_78":62464,"ignition":46,"odometer":null,"unknown_45":6370904650108102656}} 
[2026-07-07 04:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":124121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:31:06] local.INFO: GPS data processed {"connection_id":124121,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:31:06] local.INFO: Acknowledgment sent {"connection_id":124121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:31:37] local.INFO: TCP Data received {"connection_id":124121,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a904f0012d58958006575b90001c009125..."} 
[2026-07-07 04:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a904f0012d58958006575b90001c009125..."} 
[2026-07-07 04:31:37] local.INFO: Processing buffer {"connection_id":124121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a904f0012d58958006575b90001c009125..."} 
[2026-07-07 04:31:37] local.INFO: Packet analysis {"connection_id":124121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a9"} 
[2026-07-07 04:31:37] local.INFO: Extracted packet for processing {"connection_id":124121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a9"} 
[2026-07-07 04:31:37] local.INFO: GPS Element Parsed {"raw_longitude":760780160,"raw_latitude":106388368,"longitude_deg":76.078016,"latitude_deg":10.6388368,"altitude":28,"angle":145,"satellites":37,"speed":45,"hex_longitude":"2d589580","hex_latitude":"06575b90","is_valid_coordinates":true} 
[2026-07-07 04:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544972288001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340495635608240128,"note":"Value kept but may cause issues"} 
[2026-07-07 04:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6377519312058998784,"note":"Value kept but may cause issues"} 
[2026-07-07 04:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783378806000,"timestamp_ms":1783378806000,"timestamp_seconds":1783378806,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a904f0"} 
[2026-07-07 04:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:31: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-07-07 04:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 04:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:31: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-07-07 04:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544972288001,"66":27267,"73":206,"78":62464,"24":45,"16":340495635608240128,"45":6377519312058998784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,78,24,16,45]} 
[2026-07-07 04:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544972288001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:31:37] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-07 04:31:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340495635608240128,"km_value":340495635608240.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6377519312058998784,"description":"Unknown IO ID 45"} 
[2026-07-07 04:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544972288001,"power":27267,"unknown_73":206,"unknown_78":62464,"ignition":45,"odometer":null,"unknown_45":6377519312058998784}} 
[2026-07-07 04:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":124121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:31:37] local.INFO: GPS data processed {"connection_id":124121,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:31:37] local.INFO: Acknowledgment sent {"connection_id":124121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:32:01] local.INFO: TCP Data received {"connection_id":124786,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:32:01] local.INFO: Processing buffer {"connection_id":124786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:32:01] local.INFO: IMEI packet received {"connection_id":124786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":124786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:32:05] local.INFO: TCP Data received {"connection_id":124786,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:32:05] local.INFO: Processing buffer {"connection_id":124786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:32:05] local.INFO: IMEI packet received {"connection_id":124786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":124786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:32:07] local.INFO: TCP Data received {"connection_id":124786,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a92430012d58a98006573dd8001d009125..."} 
[2026-07-07 04:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a92430012d58a98006573dd8001d009125..."} 
[2026-07-07 04:32:07] local.INFO: Processing buffer {"connection_id":124786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a92430012d58a98006573dd8001d009125..."} 
[2026-07-07 04:32:07] local.INFO: Packet analysis {"connection_id":124786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a9"} 
[2026-07-07 04:32:07] local.INFO: Extracted packet for processing {"connection_id":124786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a9"} 
[2026-07-07 04:32:07] local.INFO: GPS Element Parsed {"raw_longitude":760785280,"raw_latitude":106380760,"longitude_deg":76.078528,"latitude_deg":10.638076,"altitude":29,"angle":145,"satellites":37,"speed":42,"hex_longitude":"2d58a980","hex_latitude":"06573dd8","is_valid_coordinates":true} 
[2026-07-07 04: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-07-07 04:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544974336001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340496077989871616,"note":"Value kept but may cause issues"} 
[2026-07-07 04:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6383148811591323648,"note":"Value kept but may cause issues"} 
[2026-07-07 04:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783378814000,"timestamp_ms":1783378814000,"timestamp_seconds":1783378814,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a92430"} 
[2026-07-07 04:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 04:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04: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-07-07 04:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:32: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-07-07 04:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544974336001,"66":27571,"73":206,"78":62464,"24":42,"16":340496077989871616,"45":6383148811591323648},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,78,24,16,45]} 
[2026-07-07 04:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544974336001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:32:07] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-07 04:32:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340496077989871616,"km_value":340496077989871.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6383148811591323648,"description":"Unknown IO ID 45"} 
[2026-07-07 04:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544974336001,"power":27571,"unknown_73":206,"unknown_78":62464,"ignition":42,"odometer":null,"unknown_45":6383148811591323648}} 
[2026-07-07 04:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":124786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:32:07] local.INFO: GPS data processed {"connection_id":124786,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:32:07] local.INFO: Acknowledgment sent {"connection_id":124786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:32:38] local.INFO: TCP Data received {"connection_id":124786,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39a94370012d58be0006572090001a008d25..."} 
[2026-07-07 04:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39a94370012d58be0006572090001a008d25..."} 
[2026-07-07 04:32:38] local.INFO: Processing buffer {"connection_id":124786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39a94370012d58be0006572090001a008d25..."} 
[2026-07-07 04:32:38] local.INFO: Packet analysis {"connection_id":124786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39a9"} 
[2026-07-07 04:32:38] local.INFO: Extracted packet for processing {"connection_id":124786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39a9"} 
[2026-07-07 04:32:38] local.INFO: GPS Element Parsed {"raw_longitude":760790528,"raw_latitude":106373264,"longitude_deg":76.0790528,"latitude_deg":10.6373264,"altitude":26,"angle":141,"satellites":37,"speed":48,"hex_longitude":"2d58be00","hex_latitude":"06572090","is_valid_coordinates":true} 
[2026-07-07 04:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456544976384001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340496520371503104,"note":"Value kept but may cause issues"} 
[2026-07-07 04:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6388778311123589120,"note":"Value kept but may cause issues"} 
[2026-07-07 04:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783378822000,"timestamp_ms":1783378822000,"timestamp_seconds":1783378822,"priority":1,"record_length":96,"hex_timestamp":"0000019f39a94370"} 
[2026-07-07 04:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:32: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-07-07 04:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 04:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:32: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-07-07 04:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456544976384001,"66":27267,"73":206,"78":62464,"24":48,"16":340496520371503104,"45":6388778311123589120},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,78,24,16,45]} 
[2026-07-07 04:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456544976384001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:32:38] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-07 04:32:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340496520371503104,"km_value":340496520371503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6388778311123589120,"description":"Unknown IO ID 45"} 
[2026-07-07 04:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456544976384001,"power":27267,"unknown_73":206,"unknown_78":62464,"ignition":48,"odometer":null,"unknown_45":6388778311123589120}} 
[2026-07-07 04:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":124786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:32:38] local.INFO: GPS data processed {"connection_id":124786,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:32:38] local.INFO: Acknowledgment sent {"connection_id":124786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:33:00] local.INFO: TCP Data received {"connection_id":124010,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:33:00] local.INFO: Processing buffer {"connection_id":124010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:33:00] local.INFO: IMEI packet received {"connection_id":124010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":124010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:33:03] local.INFO: TCP Data received {"connection_id":124010,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:33:03] local.INFO: Processing buffer {"connection_id":124010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:33:03] local.INFO: IMEI packet received {"connection_id":124010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":124010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:33:05] local.INFO: TCP Data received {"connection_id":124010,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:33:05] local.INFO: Processing buffer {"connection_id":124010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:33:05] local.INFO: IMEI packet received {"connection_id":124010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":124010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:33:08] local.INFO: TCP Data received {"connection_id":124010,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39aab688012d5a0e0006563cb00013007528..."} 
[2026-07-07 04:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39aab688012d5a0e0006563cb00013007528..."} 
[2026-07-07 04:33:08] local.INFO: Processing buffer {"connection_id":124010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39aab688012d5a0e0006563cb00013007528..."} 
[2026-07-07 04:33:08] local.INFO: Packet analysis {"connection_id":124010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39aa"} 
[2026-07-07 04:33:08] local.INFO: Extracted packet for processing {"connection_id":124010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39aa"} 
[2026-07-07 04:33:08] local.INFO: GPS Element Parsed {"raw_longitude":760876544,"raw_latitude":106314928,"longitude_deg":76.0876544,"latitude_deg":10.6314928,"altitude":19,"angle":117,"satellites":40,"speed":39,"hex_longitude":"2d5a0e00","hex_latitude":"06563cb0","is_valid_coordinates":true} 
[2026-07-07 04:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545000448001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340501511123501056,"note":"Value kept but may cause issues"} 
[2026-07-07 04:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6480116941050501120,"note":"Value kept but may cause issues"} 
[2026-07-07 04:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783378917000,"timestamp_ms":1783378917000,"timestamp_seconds":1783378917,"priority":1,"record_length":96,"hex_timestamp":"0000019f39aab688"} 
[2026-07-07 04:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:33: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-07-07 04:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 04:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:33: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-07-07 04:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545000448001,"66":27376,"21":206,"78":62464,"24":39,"16":340501511123501056,"45":6480116941050501120},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,78,24,16,45]} 
[2026-07-07 04:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545000448001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:33:08] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-07 04:33:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340501511123501056,"km_value":340501511123501.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6480116941050501120,"description":"Unknown IO ID 45"} 
[2026-07-07 04:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545000448001,"power":27376,"unknown_21":206,"unknown_78":62464,"ignition":39,"odometer":null,"unknown_45":6480116941050501120}} 
[2026-07-07 04:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":124010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:33:08] local.INFO: GPS data processed {"connection_id":124010,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:33:08] local.INFO: Acknowledgment sent {"connection_id":124010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:33:13] local.INFO: TCP Data received {"connection_id":124010,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39aad9b0012d5a2e0006562c800018007326..."} 
[2026-07-07 04:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39aad9b0012d5a2e0006562c800018007326..."} 
[2026-07-07 04:33:13] local.INFO: Processing buffer {"connection_id":124010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39aad9b0012d5a2e0006562c800018007326..."} 
[2026-07-07 04:33:13] local.INFO: Packet analysis {"connection_id":124010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39aa"} 
[2026-07-07 04:33:13] local.INFO: Extracted packet for processing {"connection_id":124010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39aa"} 
[2026-07-07 04:33:13] local.INFO: GPS Element Parsed {"raw_longitude":760884736,"raw_latitude":106310784,"longitude_deg":76.0884736,"latitude_deg":10.6310784,"altitude":24,"angle":115,"satellites":38,"speed":39,"hex_longitude":"2d5a2e00","hex_latitude":"06562c80","is_valid_coordinates":true} 
[2026-07-07 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-07-07 04:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545002752001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340501949210165248,"note":"Value kept but may cause issues"} 
[2026-07-07 04:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6489124140304084992,"note":"Value kept but may cause issues"} 
[2026-07-07 04:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783378926000,"timestamp_ms":1783378926000,"timestamp_seconds":1783378926,"priority":1,"record_length":96,"hex_timestamp":"0000019f39aad9b0"} 
[2026-07-07 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-07-07 04:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 04:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 04:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:33: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-07-07 04:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545002752001,"66":27604,"21":206,"78":62464,"24":39,"16":340501949210165248,"45":6489124140304084992},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,78,24,16,45]} 
[2026-07-07 04:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545002752001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:33:13] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-07 04:33:13] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340501949210165248,"km_value":340501949210165.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6489124140304084992,"description":"Unknown IO ID 45"} 
[2026-07-07 04:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545002752001,"power":27604,"unknown_21":206,"unknown_78":62464,"ignition":39,"odometer":null,"unknown_45":6489124140304084992}} 
[2026-07-07 04:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":124010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:33:13] local.INFO: GPS data processed {"connection_id":124010,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:33:13] local.INFO: Acknowledgment sent {"connection_id":124010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:33:48] local.INFO: TCP Data received {"connection_id":124010,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ab00c0012d5a504006561bf00019007427..."} 
[2026-07-07 04:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ab00c0012d5a504006561bf00019007427..."} 
[2026-07-07 04:33:48] local.INFO: Processing buffer {"connection_id":124010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ab00c0012d5a504006561bf00019007427..."} 
[2026-07-07 04:33:48] local.INFO: Packet analysis {"connection_id":124010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ab"} 
[2026-07-07 04:33:48] local.INFO: Extracted packet for processing {"connection_id":124010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ab"} 
[2026-07-07 04:33:48] local.INFO: GPS Element Parsed {"raw_longitude":760893504,"raw_latitude":106306544,"longitude_deg":76.0893504,"latitude_deg":10.6306544,"altitude":25,"angle":116,"satellites":39,"speed":37,"hex_longitude":"2d5a5040","hex_latitude":"06561bf0","is_valid_coordinates":true} 
[2026-07-07 04: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-07-07 04:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545005056001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340502413066633216,"note":"Value kept but may cause issues"} 
[2026-07-07 04:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6498131339557765120,"note":"Value kept but may cause issues"} 
[2026-07-07 04:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783378936000,"timestamp_ms":1783378936000,"timestamp_seconds":1783378936,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ab00c0"} 
[2026-07-07 04:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 04:33:48] 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-07-07 04: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-07-07 04:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":124010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":124010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":124010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:33: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-07-07 04:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545005056001,"66":27463,"21":206,"78":62464,"24":37,"16":340502413066633216,"45":6498131339557765120},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,78,24,16,45]} 
[2026-07-07 04:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545005056001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:33:48] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-07 04:33:48] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340502413066633216,"km_value":340502413066633.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6498131339557765120,"description":"Unknown IO ID 45"} 
[2026-07-07 04:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545005056001,"power":27463,"unknown_21":206,"unknown_78":62464,"ignition":37,"odometer":null,"unknown_45":6498131339557765120}} 
[2026-07-07 04:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":124010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:33:48] local.INFO: GPS data processed {"connection_id":124010,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:33:48] local.INFO: Acknowledgment sent {"connection_id":124010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:34:03] local.INFO: TCP Data received {"connection_id":124788,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:34:03] local.INFO: Processing buffer {"connection_id":124788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:34:03] local.INFO: IMEI packet received {"connection_id":124788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":124788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:34:05] local.INFO: TCP Data received {"connection_id":124788,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:34:05] local.INFO: Processing buffer {"connection_id":124788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:34:05] local.INFO: IMEI packet received {"connection_id":124788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":124788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:34:10] local.INFO: TCP Data received {"connection_id":124788,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:34:10] local.INFO: Processing buffer {"connection_id":124788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:34:10] local.INFO: IMEI packet received {"connection_id":124788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":124788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:34:18] local.INFO: TCP Data received {"connection_id":124788,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ab23e8012d5a704006560ca00018007227..."} 
[2026-07-07 04:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ab23e8012d5a704006560ca00018007227..."} 
[2026-07-07 04:34:18] local.INFO: Processing buffer {"connection_id":124788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ab23e8012d5a704006560ca00018007227..."} 
[2026-07-07 04:34:18] local.INFO: Packet analysis {"connection_id":124788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ab"} 
[2026-07-07 04:34:18] local.INFO: Extracted packet for processing {"connection_id":124788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ab"} 
[2026-07-07 04:34:18] local.INFO: GPS Element Parsed {"raw_longitude":760901696,"raw_latitude":106302624,"longitude_deg":76.0901696,"latitude_deg":10.6302624,"altitude":24,"angle":114,"satellites":39,"speed":41,"hex_longitude":"2d5a7040","hex_latitude":"06560ca0","is_valid_coordinates":true} 
[2026-07-07 04:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545007616001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340502851153297408,"note":"Value kept but may cause issues"} 
[2026-07-07 04:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6507771857509019648,"note":"Value kept but may cause issues"} 
[2026-07-07 04:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783378945000,"timestamp_ms":1783378945000,"timestamp_seconds":1783378945,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ab23e8"} 
[2026-07-07 04:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 04:34: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-07-07 04:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:34: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-07-07 04:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545007616001,"66":27571,"21":206,"78":62464,"24":41,"16":340502851153297408,"45":6507771857509019648},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,78,24,16,45]} 
[2026-07-07 04:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545007616001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:34:18] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-07 04:34:18] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340502851153297408,"km_value":340502851153297.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6507771857509019648,"description":"Unknown IO ID 45"} 
[2026-07-07 04:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545007616001,"power":27571,"unknown_21":206,"unknown_78":62464,"ignition":41,"odometer":null,"unknown_45":6507771857509019648}} 
[2026-07-07 04:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":124788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:34:18] local.INFO: GPS data processed {"connection_id":124788,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:34:18] local.INFO: Acknowledgment sent {"connection_id":124788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:35:31] local.INFO: TCP Data received {"connection_id":124012,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:35:31] local.INFO: Processing buffer {"connection_id":124012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:35:31] local.INFO: IMEI packet received {"connection_id":124012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":124012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:35:35] local.INFO: TCP Data received {"connection_id":124012,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:35:35] local.INFO: Processing buffer {"connection_id":124012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:35:35] local.INFO: IMEI packet received {"connection_id":124012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":124012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:35:39] local.INFO: TCP Data received {"connection_id":124011,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:35:39] local.INFO: Processing buffer {"connection_id":124011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:35:39] local.INFO: IMEI packet received {"connection_id":124011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 04:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":124011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:35:40] local.INFO: TCP Data received {"connection_id":124012,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:35:40] local.INFO: Processing buffer {"connection_id":124012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:35:40] local.INFO: IMEI packet received {"connection_id":124012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":124012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:35:41] local.INFO: TCP Data received {"connection_id":124012,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ac7f90012d5be080065549c8000b006b27..."} 
[2026-07-07 04:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ac7f90012d5be080065549c8000b006b27..."} 
[2026-07-07 04:35:41] local.INFO: Processing buffer {"connection_id":124012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ac7f90012d5be080065549c8000b006b27..."} 
[2026-07-07 04:35:41] local.INFO: Packet analysis {"connection_id":124012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ac"} 
[2026-07-07 04:35:41] local.INFO: Extracted packet for processing {"connection_id":124012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ac"} 
[2026-07-07 04:35:41] local.INFO: GPS Element Parsed {"raw_longitude":760995968,"raw_latitude":106252744,"longitude_deg":76.0995968,"latitude_deg":10.6252744,"altitude":11,"angle":107,"satellites":39,"speed":54,"hex_longitude":"2d5be080","hex_latitude":"065549c8","is_valid_coordinates":true} 
[2026-07-07 04:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545030912001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340507957869412352,"note":"Value kept but may cause issues"} 
[2026-07-07 04:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6610510223995639808,"note":"Value kept but may cause issues"} 
[2026-07-07 04:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783379034000,"timestamp_ms":1783379034000,"timestamp_seconds":1783379034,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ac7f90"} 
[2026-07-07 04:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 04:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545030912001,"66":27484,"20":206,"78":62464,"24":54,"16":340507957869412352,"45":6610510223995639808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,78,24,16,45]} 
[2026-07-07 04:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545030912001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:35:41] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-07-07 04:35:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340507957869412352,"km_value":340507957869412.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6610510223995639808,"description":"Unknown IO ID 45"} 
[2026-07-07 04:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545030912001,"power":27484,"unknown_20":206,"unknown_78":62464,"ignition":54,"odometer":null,"unknown_45":6610510223995639808}} 
[2026-07-07 04:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":124012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:35:41] local.INFO: GPS data processed {"connection_id":124012,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:35:41] local.INFO: Acknowledgment sent {"connection_id":124012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:35:42] local.INFO: TCP Data received {"connection_id":124012,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ac8b48012d5bf000065546d8000b006027..."} 
[2026-07-07 04:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ac8b48012d5bf000065546d8000b006027..."} 
[2026-07-07 04:35:42] local.INFO: Processing buffer {"connection_id":124012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ac8b48012d5bf000065546d8000b006027..."} 
[2026-07-07 04:35:42] local.INFO: Packet analysis {"connection_id":124012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ac"} 
[2026-07-07 04:35:42] local.INFO: Extracted packet for processing {"connection_id":124012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ac"} 
[2026-07-07 04:35:42] local.INFO: GPS Element Parsed {"raw_longitude":760999936,"raw_latitude":106251992,"longitude_deg":76.0999936,"latitude_deg":10.6251992,"altitude":11,"angle":96,"satellites":39,"speed":50,"hex_longitude":"2d5bf000","hex_latitude":"065546d8","is_valid_coordinates":true} 
[2026-07-07 04:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545032704001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340508151142940672,"note":"Value kept but may cause issues"} 
[2026-07-07 04:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6620432216923686912,"note":"Value kept but may cause issues"} 
[2026-07-07 04:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783379037000,"timestamp_ms":1783379037000,"timestamp_seconds":1783379037,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ac8b48"} 
[2026-07-07 04:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:35: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-07-07 04:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 04:35: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-07-07 04:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545032704001,"66":27593,"20":206,"78":62464,"24":50,"16":340508151142940672,"45":6620432216923686912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,78,24,16,45]} 
[2026-07-07 04:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545032704001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:35:42] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-07-07 04:35:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-07 04:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340508151142940672,"km_value":340508151142940.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6620432216923686912,"description":"Unknown IO ID 45"} 
[2026-07-07 04:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545032704001,"power":27593,"unknown_20":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":6620432216923686912}} 
[2026-07-07 04:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":124012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:35:42] local.INFO: GPS data processed {"connection_id":124012,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:35:42] local.INFO: Acknowledgment sent {"connection_id":124012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:36:00] local.INFO: TCP Data received {"connection_id":126036,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126036,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:36:00] local.INFO: Processing buffer {"connection_id":126036,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:36:00] local.INFO: IMEI packet received {"connection_id":126036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 04:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":126036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:36:02] local.INFO: TCP Data received {"connection_id":126037,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:36:02] local.INFO: Processing buffer {"connection_id":126037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:36:02] local.INFO: IMEI packet received {"connection_id":126037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":126037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:36:05] local.INFO: TCP Data received {"connection_id":126037,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:36:05] local.INFO: Processing buffer {"connection_id":126037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:36:05] local.INFO: IMEI packet received {"connection_id":126037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":126037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:36:10] local.INFO: TCP Data received {"connection_id":126037,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:36:10] local.INFO: Processing buffer {"connection_id":126037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:36:10] local.INFO: IMEI packet received {"connection_id":126037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":126037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:36:11] local.INFO: TCP Data received {"connection_id":126037,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39acaa88012d5c134006554618000d006127..."} 
[2026-07-07 04:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39acaa88012d5c134006554618000d006127..."} 
[2026-07-07 04:36:11] local.INFO: Processing buffer {"connection_id":126037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39acaa88012d5c134006554618000d006127..."} 
[2026-07-07 04:36:11] local.INFO: Packet analysis {"connection_id":126037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ac"} 
[2026-07-07 04:36:11] local.INFO: Extracted packet for processing {"connection_id":126037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ac"} 
[2026-07-07 04:36:11] local.INFO: GPS Element Parsed {"raw_longitude":761008960,"raw_latitude":106251800,"longitude_deg":76.100896,"latitude_deg":10.62518,"altitude":13,"angle":97,"satellites":39,"speed":39,"hex_longitude":"2d5c1340","hex_latitude":"06554618","is_valid_coordinates":true} 
[2026-07-07 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-07-07 04:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545033472001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340508584934637568,"note":"Value kept but may cause issues"} 
[2026-07-07 04:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6624795079062509568,"note":"Value kept but may cause issues"} 
[2026-07-07 04:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783379045000,"timestamp_ms":1783379045000,"timestamp_seconds":1783379045,"priority":1,"record_length":96,"hex_timestamp":"0000019f39acaa88"} 
[2026-07-07 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-07-07 04:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 04:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 04:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04: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-07-07 04:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545033472001,"66":27604,"215":206,"78":41216,"24":39,"16":340508584934637568,"45":6624795079062509568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,78,24,16,45]} 
[2026-07-07 04:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545033472001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:36:11] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-07 04:36:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340508584934637568,"km_value":340508584934637.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6624795079062509568,"description":"Unknown IO ID 45"} 
[2026-07-07 04:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545033472001,"power":27604,"unknown_215":206,"unknown_78":41216,"ignition":39,"odometer":null,"unknown_45":6624795079062509568}} 
[2026-07-07 04:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":126037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:36:11] local.INFO: GPS data processed {"connection_id":126037,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:36:11] local.INFO: Acknowledgment sent {"connection_id":126037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:36:42] local.INFO: TCP Data received {"connection_id":126037,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ae2958012d5d77000654db980009007626..."} 
[2026-07-07 04:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ae2958012d5d77000654db980009007626..."} 
[2026-07-07 04:36:42] local.INFO: Processing buffer {"connection_id":126037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ae2958012d5d77000654db980009007626..."} 
[2026-07-07 04:36:42] local.INFO: Packet analysis {"connection_id":126037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ae"} 
[2026-07-07 04:36:42] local.INFO: Extracted packet for processing {"connection_id":126037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ae"} 
[2026-07-07 04:36:42] local.INFO: GPS Element Parsed {"raw_longitude":761100032,"raw_latitude":106224536,"longitude_deg":76.1100032,"latitude_deg":10.6224536,"altitude":9,"angle":118,"satellites":38,"speed":41,"hex_longitude":"2d5d7700","hex_latitude":"0654db98","is_valid_coordinates":true} 
[2026-07-07 04:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545058048001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340513219204349952,"note":"Value kept but may cause issues"} 
[2026-07-07 04:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6725281645742249984,"note":"Value kept but may cause issues"} 
[2026-07-07 04:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783379143000,"timestamp_ms":1783379143000,"timestamp_seconds":1783379143,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ae2958"} 
[2026-07-07 04:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04: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-07-07 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 04:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545058048001,"66":27343,"123":206,"78":41216,"24":41,"16":340513219204349952,"45":6725281645742249984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,78,24,16,45]} 
[2026-07-07 04:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545058048001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:36:42] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-07 04:36:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340513219204349952,"km_value":340513219204349.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6725281645742249984,"description":"Unknown IO ID 45"} 
[2026-07-07 04:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545058048001,"power":27343,"unknown_123":206,"unknown_78":41216,"ignition":41,"odometer":null,"unknown_45":6725281645742249984}} 
[2026-07-07 04:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":126037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:36:42] local.INFO: GPS data processed {"connection_id":126037,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:36:42] local.INFO: Acknowledgment sent {"connection_id":126037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:37:00] local.INFO: TCP Data received {"connection_id":126038,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:37:00] local.INFO: Processing buffer {"connection_id":126038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:37:00] local.INFO: IMEI packet received {"connection_id":126038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":126038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:37:04] local.INFO: TCP Data received {"connection_id":126038,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:37:04] local.INFO: Processing buffer {"connection_id":126038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:37:04] local.INFO: IMEI packet received {"connection_id":126038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":126038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:37:05] local.INFO: TCP Data received {"connection_id":126038,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ae4c80012d5d98400654c7600008007a29..."} 
[2026-07-07 04:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ae4c80012d5d98400654c7600008007a29..."} 
[2026-07-07 04:37:05] local.INFO: Processing buffer {"connection_id":126038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ae4c80012d5d98400654c7600008007a29..."} 
[2026-07-07 04:37:05] local.INFO: Packet analysis {"connection_id":126038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ae"} 
[2026-07-07 04:37:05] local.INFO: Extracted packet for processing {"connection_id":126038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ae"} 
[2026-07-07 04:37:05] local.INFO: GPS Element Parsed {"raw_longitude":761108544,"raw_latitude":106219360,"longitude_deg":76.1108544,"latitude_deg":10.621936,"altitude":8,"angle":122,"satellites":41,"speed":45,"hex_longitude":"2d5d9840","hex_latitude":"0654c760","is_valid_coordinates":true} 
[2026-07-07 04:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545060608001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340513700240687104,"note":"Value kept but may cause issues"} 
[2026-07-07 04:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6734851794949347328,"note":"Value kept but may cause issues"} 
[2026-07-07 04:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783379152000,"timestamp_ms":1783379152000,"timestamp_seconds":1783379152,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ae4c80"} 
[2026-07-07 04:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 04:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545060608001,"66":27365,"123":206,"78":41216,"24":45,"16":340513700240687104,"45":6734851794949347328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,78,24,16,45]} 
[2026-07-07 04:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545060608001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:37:05] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-07 04:37:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340513700240687104,"km_value":340513700240687.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6734851794949347328,"description":"Unknown IO ID 45"} 
[2026-07-07 04:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545060608001,"power":27365,"unknown_123":206,"unknown_78":41216,"ignition":45,"odometer":null,"unknown_45":6734851794949347328}} 
[2026-07-07 04:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":126038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:37:05] local.INFO: GPS data processed {"connection_id":126038,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:37:05] local.INFO: Acknowledgment sent {"connection_id":126038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:37:36] local.INFO: TCP Data received {"connection_id":126038,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ae6fa8012d5db7800654b0f80008008327..."} 
[2026-07-07 04:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ae6fa8012d5db7800654b0f80008008327..."} 
[2026-07-07 04:37:36] local.INFO: Processing buffer {"connection_id":126038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ae6fa8012d5db7800654b0f80008008327..."} 
[2026-07-07 04:37:36] local.INFO: Packet analysis {"connection_id":126038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ae"} 
[2026-07-07 04:37:36] local.INFO: Extracted packet for processing {"connection_id":126038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ae"} 
[2026-07-07 04:37:36] local.INFO: GPS Element Parsed {"raw_longitude":761116544,"raw_latitude":106213624,"longitude_deg":76.1116544,"latitude_deg":10.6213624,"altitude":8,"angle":131,"satellites":39,"speed":42,"hex_longitude":"2d5db780","hex_latitude":"0654b0f8","is_valid_coordinates":true} 
[2026-07-07 04:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545062912001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340514172687089664,"note":"Value kept but may cause issues"} 
[2026-07-07 04:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6744210837923651584,"note":"Value kept but may cause issues"} 
[2026-07-07 04:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783379161000,"timestamp_ms":1783379161000,"timestamp_seconds":1783379161,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ae6fa8"} 
[2026-07-07 04:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 04:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545062912001,"66":27484,"123":206,"78":41216,"24":42,"16":340514172687089664,"45":6744210837923651584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,78,24,16,45]} 
[2026-07-07 04:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545062912001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:37:36] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-07 04:37:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340514172687089664,"km_value":340514172687089.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6744210837923651584,"description":"Unknown IO ID 45"} 
[2026-07-07 04:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545062912001,"power":27484,"unknown_123":206,"unknown_78":41216,"ignition":42,"odometer":null,"unknown_45":6744210837923651584}} 
[2026-07-07 04:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":126038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:37:36] local.INFO: GPS data processed {"connection_id":126038,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:37:36] local.INFO: Acknowledgment sent {"connection_id":126038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:38:00] local.INFO: TCP Data received {"connection_id":124013,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:38:00] local.INFO: Processing buffer {"connection_id":124013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:38:00] local.INFO: IMEI packet received {"connection_id":124013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":124013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:38:01] local.INFO: TCP Data received {"connection_id":124013,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:38:01] local.INFO: Processing buffer {"connection_id":124013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:38:01] local.INFO: IMEI packet received {"connection_id":124013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":124013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:38:05] local.INFO: TCP Data received {"connection_id":124013,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:38:05] local.INFO: Processing buffer {"connection_id":124013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:38:05] local.INFO: IMEI packet received {"connection_id":124013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":124013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:38:06] local.INFO: TCP Data received {"connection_id":124013,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ae92d0012d5dd400065496600009008529..."} 
[2026-07-07 04:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ae92d0012d5dd400065496600009008529..."} 
[2026-07-07 04:38:06] local.INFO: Processing buffer {"connection_id":124013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ae92d0012d5dd400065496600009008529..."} 
[2026-07-07 04:38:06] local.INFO: Packet analysis {"connection_id":124013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ae"} 
[2026-07-07 04:38:06] local.INFO: Extracted packet for processing {"connection_id":124013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ae"} 
[2026-07-07 04:38:06] local.INFO: GPS Element Parsed {"raw_longitude":761123840,"raw_latitude":106206816,"longitude_deg":76.112384,"latitude_deg":10.6206816,"altitude":9,"angle":133,"satellites":41,"speed":45,"hex_longitude":"2d5dd400","hex_latitude":"06549660","is_valid_coordinates":true} 
[2026-07-07 04:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545065216001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340514649428459520,"note":"Value kept but may cause issues"} 
[2026-07-07 04:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6753006930944391168,"note":"Value kept but may cause issues"} 
[2026-07-07 04:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783379170000,"timestamp_ms":1783379170000,"timestamp_seconds":1783379170,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ae92d0"} 
[2026-07-07 04:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 04:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545065216001,"66":27376,"123":206,"78":41216,"24":45,"16":340514649428459520,"45":6753006930944391168},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,78,24,16,45]} 
[2026-07-07 04:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545065216001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:38:06] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-07 04:38:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340514649428459520,"km_value":340514649428459.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6753006930944391168,"description":"Unknown IO ID 45"} 
[2026-07-07 04:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545065216001,"power":27376,"unknown_123":206,"unknown_78":41216,"ignition":45,"odometer":null,"unknown_45":6753006930944391168}} 
[2026-07-07 04:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":124013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:38:06] local.INFO: GPS data processed {"connection_id":124013,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:38:06] local.INFO: Acknowledgment sent {"connection_id":124013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:38:37] local.INFO: TCP Data received {"connection_id":124013,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39aeb210012d5def0006547ea8000a007f28..."} 
[2026-07-07 04:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39aeb210012d5def0006547ea8000a007f28..."} 
[2026-07-07 04:38:37] local.INFO: Processing buffer {"connection_id":124013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39aeb210012d5def0006547ea8000a007f28..."} 
[2026-07-07 04:38:37] local.INFO: Packet analysis {"connection_id":124013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ae"} 
[2026-07-07 04:38:37] local.INFO: Extracted packet for processing {"connection_id":124013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ae"} 
[2026-07-07 04:38:37] local.INFO: GPS Element Parsed {"raw_longitude":761130752,"raw_latitude":106200744,"longitude_deg":76.1130752,"latitude_deg":10.6200744,"altitude":10,"angle":127,"satellites":40,"speed":47,"hex_longitude":"2d5def00","hex_latitude":"06547ea8","is_valid_coordinates":true} 
[2026-07-07 04:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545067520001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340515091810091008,"note":"Value kept but may cause issues"} 
[2026-07-07 04:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6761028967778902016,"note":"Value kept but may cause issues"} 
[2026-07-07 04:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783379178000,"timestamp_ms":1783379178000,"timestamp_seconds":1783379178,"priority":1,"record_length":96,"hex_timestamp":"0000019f39aeb210"} 
[2026-07-07 04:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:38: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-07-07 04:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 04:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:38: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-07-07 04:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545067520001,"66":27300,"123":206,"78":41216,"24":47,"16":340515091810091008,"45":6761028967778902016},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,78,24,16,45]} 
[2026-07-07 04:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545067520001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:38:37] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-07 04:38:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340515091810091008,"km_value":340515091810091.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6761028967778902016,"description":"Unknown IO ID 45"} 
[2026-07-07 04:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545067520001,"power":27300,"unknown_123":206,"unknown_78":41216,"ignition":47,"odometer":null,"unknown_45":6761028967778902016}} 
[2026-07-07 04:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":124013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:38:37] local.INFO: GPS data processed {"connection_id":124013,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:38:37] local.INFO: Acknowledgment sent {"connection_id":124013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:39:00] local.INFO: TCP Data received {"connection_id":124015,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:39:00] local.INFO: Processing buffer {"connection_id":124015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:39:00] local.INFO: IMEI packet received {"connection_id":124015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":124015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:39:00] local.INFO: TCP Data received {"connection_id":124015,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:39:00] local.INFO: Processing buffer {"connection_id":124015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:39:00] local.INFO: IMEI packet received {"connection_id":124015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":124015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:39:05] local.INFO: TCP Data received {"connection_id":124015,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:39:05] local.INFO: Processing buffer {"connection_id":124015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:39:05] local.INFO: IMEI packet received {"connection_id":124015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":124015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:39:07] local.INFO: TCP Data received {"connection_id":124015,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b02910012d5f4ac0065437f00014006929..."} 
[2026-07-07 04:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b02910012d5f4ac0065437f00014006929..."} 
[2026-07-07 04:39:07] local.INFO: Processing buffer {"connection_id":124015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b02910012d5f4ac0065437f00014006929..."} 
[2026-07-07 04:39:07] local.INFO: Packet analysis {"connection_id":124015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b0"} 
[2026-07-07 04:39:07] local.INFO: Extracted packet for processing {"connection_id":124015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b0"} 
[2026-07-07 04:39:07] local.INFO: GPS Element Parsed {"raw_longitude":761219776,"raw_latitude":106182640,"longitude_deg":76.1219776,"latitude_deg":10.618264,"altitude":20,"angle":105,"satellites":41,"speed":37,"hex_longitude":"2d5f4ac0","hex_latitude":"065437f0","is_valid_coordinates":true} 
[2026-07-07 04:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545091840001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340519481266667520,"note":"Value kept but may cause issues"} 
[2026-07-07 04:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6858700784691408896,"note":"Value kept but may cause issues"} 
[2026-07-07 04:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783379274000,"timestamp_ms":1783379274000,"timestamp_seconds":1783379274,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b02910"} 
[2026-07-07 04:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 04:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:39: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-07-07 04:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545091840001,"66":27365,"122":206,"78":41216,"24":37,"16":340519481266667520,"45":6858700784691408896},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,78,24,16,45]} 
[2026-07-07 04:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545091840001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:39:07] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 04:39:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340519481266667520,"km_value":340519481266667.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6858700784691408896,"description":"Unknown IO ID 45"} 
[2026-07-07 04:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545091840001,"power":27365,"unknown_122":206,"unknown_78":41216,"ignition":37,"odometer":null,"unknown_45":6858700784691408896}} 
[2026-07-07 04:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":124015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:39:08] local.INFO: GPS data processed {"connection_id":124015,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:39:08] local.INFO: Acknowledgment sent {"connection_id":124015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:39:39] local.INFO: TCP Data received {"connection_id":124015,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b04c38012d5f6e0006542ac00011006e26..."} 
[2026-07-07 04:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b04c38012d5f6e0006542ac00011006e26..."} 
[2026-07-07 04:39:39] local.INFO: Processing buffer {"connection_id":124015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b04c38012d5f6e0006542ac00011006e26..."} 
[2026-07-07 04:39:39] local.INFO: Packet analysis {"connection_id":124015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b0"} 
[2026-07-07 04:39:39] local.INFO: Extracted packet for processing {"connection_id":124015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b0"} 
[2026-07-07 04:39:39] local.INFO: GPS Element Parsed {"raw_longitude":761228800,"raw_latitude":106179264,"longitude_deg":76.12288,"latitude_deg":10.6179264,"altitude":17,"angle":110,"satellites":38,"speed":43,"hex_longitude":"2d5f6e00","hex_latitude":"06542ac0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 04:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545094144001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340519940828168192,"note":"Value kept but may cause issues"} 
[2026-07-07 04:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6866511715295031296,"note":"Value kept but may cause issues"} 
[2026-07-07 04:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783379283000,"timestamp_ms":1783379283000,"timestamp_seconds":1783379283,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b04c38"} 
[2026-07-07 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-07-07 04:39: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-07-07 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 04:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 04:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:39: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-07-07 04:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545094144001,"66":27365,"122":206,"78":41216,"24":43,"16":340519940828168192,"45":6866511715295031296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,78,24,16,45]} 
[2026-07-07 04:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545094144001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:39:39] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 04:39:39] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340519940828168192,"km_value":340519940828168.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6866511715295031296,"description":"Unknown IO ID 45"} 
[2026-07-07 04:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545094144001,"power":27365,"unknown_122":206,"unknown_78":41216,"ignition":43,"odometer":null,"unknown_45":6866511715295031296}} 
[2026-07-07 04:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":124015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:39:39] local.INFO: GPS data processed {"connection_id":124015,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:39:39] local.INFO: Acknowledgment sent {"connection_id":124015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:40:02] local.INFO: TCP Data received {"connection_id":124123,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:40:02] local.INFO: Processing buffer {"connection_id":124123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:40:02] local.INFO: IMEI packet received {"connection_id":124123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":124123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:40:05] local.INFO: TCP Data received {"connection_id":124123,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:40:05] local.INFO: Processing buffer {"connection_id":124123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:40:05] local.INFO: IMEI packet received {"connection_id":124123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":124123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:40:10] local.INFO: TCP Data received {"connection_id":124123,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:40:10] local.INFO: Processing buffer {"connection_id":124123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:40:10] local.INFO: IMEI packet received {"connection_id":124123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":124123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:40:15] local.INFO: TCP Data received {"connection_id":124123,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b06f60012d5f8f4006541d88000f006d25..."} 
[2026-07-07 04:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b06f60012d5f8f4006541d88000f006d25..."} 
[2026-07-07 04:40:15] local.INFO: Processing buffer {"connection_id":124123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b06f60012d5f8f4006541d88000f006d25..."} 
[2026-07-07 04:40:15] local.INFO: Packet analysis {"connection_id":124123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b0"} 
[2026-07-07 04:40:15] local.INFO: Extracted packet for processing {"connection_id":124123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b0"} 
[2026-07-07 04:40:15] local.INFO: GPS Element Parsed {"raw_longitude":761237312,"raw_latitude":106175880,"longitude_deg":76.1237312,"latitude_deg":10.617588,"altitude":15,"angle":109,"satellites":37,"speed":39,"hex_longitude":"2d5f8f40","hex_latitude":"06541d88","is_valid_coordinates":true} 
[2026-07-07 04:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545096448001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340520383209799680,"note":"Value kept but may cause issues"} 
[2026-07-07 04:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6876433708223217664,"note":"Value kept but may cause issues"} 
[2026-07-07 04:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783379292000,"timestamp_ms":1783379292000,"timestamp_seconds":1783379292,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b06f60"} 
[2026-07-07 04:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 04:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545096448001,"66":27463,"122":206,"78":41216,"24":39,"16":340520383209799680,"45":6876433708223217664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,78,24,16,45]} 
[2026-07-07 04:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545096448001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:40:15] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 04:40:15] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340520383209799680,"km_value":340520383209799.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6876433708223217664,"description":"Unknown IO ID 45"} 
[2026-07-07 04:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545096448001,"power":27463,"unknown_122":206,"unknown_78":41216,"ignition":39,"odometer":null,"unknown_45":6876433708223217664}} 
[2026-07-07 04:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":124123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:40:15] local.INFO: GPS data processed {"connection_id":124123,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:40:15] local.INFO: Acknowledgment sent {"connection_id":124123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:40:15] local.INFO: TCP Data received {"connection_id":124123,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b09670012d5fb20006541038000e006e28..."} 
[2026-07-07 04:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b09670012d5fb20006541038000e006e28..."} 
[2026-07-07 04:40:15] local.INFO: Processing buffer {"connection_id":124123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b09670012d5fb20006541038000e006e28..."} 
[2026-07-07 04:40:15] local.INFO: Packet analysis {"connection_id":124123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b0"} 
[2026-07-07 04:40:15] local.INFO: Extracted packet for processing {"connection_id":124123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b0"} 
[2026-07-07 04:40:15] local.INFO: GPS Element Parsed {"raw_longitude":761246208,"raw_latitude":106172472,"longitude_deg":76.1246208,"latitude_deg":10.6172472,"altitude":14,"angle":110,"satellites":40,"speed":33,"hex_longitude":"2d5fb200","hex_latitude":"06541038","is_valid_coordinates":true} 
[2026-07-07 04:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545098752001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340520834181365760,"note":"Value kept but may cause issues"} 
[2026-07-07 04:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6885792751197980672,"note":"Value kept but may cause issues"} 
[2026-07-07 04:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783379302000,"timestamp_ms":1783379302000,"timestamp_seconds":1783379302,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b09670"} 
[2026-07-07 04:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:40: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-07-07 04: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":71,"data_length":795,"current_offset":136} 
[2026-07-07 04:40: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-07-07 04:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545098752001,"66":27343,"122":206,"78":41216,"24":33,"16":340520834181365760,"45":6885792751197980672},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,78,24,16,45]} 
[2026-07-07 04:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545098752001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:40:15] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 04:40:15] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340520834181365760,"km_value":340520834181365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6885792751197980672,"description":"Unknown IO ID 45"} 
[2026-07-07 04:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545098752001,"power":27343,"unknown_122":206,"unknown_78":41216,"ignition":33,"odometer":null,"unknown_45":6885792751197980672}} 
[2026-07-07 04:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":124123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:40:15] local.INFO: GPS data processed {"connection_id":124123,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:40:15] local.INFO: Acknowledgment sent {"connection_id":124123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:41:00] local.INFO: TCP Data received {"connection_id":124124,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:41:00] local.INFO: Processing buffer {"connection_id":124124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:41:00] local.INFO: IMEI packet received {"connection_id":124124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":124124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:41:01] local.INFO: TCP Data received {"connection_id":124124,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:41:01] local.INFO: Processing buffer {"connection_id":124124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:41:01] local.INFO: IMEI packet received {"connection_id":124124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":124124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:41:05] local.INFO: TCP Data received {"connection_id":124124,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:41:05] local.INFO: Processing buffer {"connection_id":124124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:41:05] local.INFO: IMEI packet received {"connection_id":124124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":124124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:41:10] local.INFO: TCP Data received {"connection_id":124124,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b0c550012d5fd30006540328000d007227..."} 
[2026-07-07 04:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b0c550012d5fd30006540328000d007227..."} 
[2026-07-07 04:41:10] local.INFO: Processing buffer {"connection_id":124124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b0c550012d5fd30006540328000d007227..."} 
[2026-07-07 04:41:10] local.INFO: Packet analysis {"connection_id":124124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b0"} 
[2026-07-07 04:41:10] local.INFO: Extracted packet for processing {"connection_id":124124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b0"} 
[2026-07-07 04:41:10] local.INFO: GPS Element Parsed {"raw_longitude":761254656,"raw_latitude":106169128,"longitude_deg":76.1254656,"latitude_deg":10.6169128,"altitude":13,"angle":114,"satellites":39,"speed":29,"hex_longitude":"2d5fd300","hex_latitude":"06540328","is_valid_coordinates":true} 
[2026-07-07 04:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545101312001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340521267973062656,"note":"Value kept but may cause issues"} 
[2026-07-07 04:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6895574006637803520,"note":"Value kept but may cause issues"} 
[2026-07-07 04:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783379314000,"timestamp_ms":1783379314000,"timestamp_seconds":1783379314,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b0c550"} 
[2026-07-07 04:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":207,"data_length":795,"current_offset":136} 
[2026-07-07 04:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545101312001,"66":27267,"122":206,"78":41216,"24":29,"16":340521267973062656,"45":6895574006637803520},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,78,24,16,45]} 
[2026-07-07 04:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545101312001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:41:10] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 04:41:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340521267973062656,"km_value":340521267973062.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6895574006637803520,"description":"Unknown IO ID 45"} 
[2026-07-07 04:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545101312001,"power":27267,"unknown_122":206,"unknown_78":41216,"ignition":29,"odometer":null,"unknown_45":6895574006637803520}} 
[2026-07-07 04:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":124124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:41:10] local.INFO: GPS data processed {"connection_id":124124,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:41:10] local.INFO: Acknowledgment sent {"connection_id":124124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:41:42] local.INFO: TCP Data received {"connection_id":124124,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b28a70012d614e8006531cf0000c00802a..."} 
[2026-07-07 04:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b28a70012d614e8006531cf0000c00802a..."} 
[2026-07-07 04:41:42] local.INFO: Processing buffer {"connection_id":124124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b28a70012d614e8006531cf0000c00802a..."} 
[2026-07-07 04:41:42] local.INFO: Packet analysis {"connection_id":124124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b2"} 
[2026-07-07 04:41:42] local.INFO: Extracted packet for processing {"connection_id":124124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b2"} 
[2026-07-07 04:41:42] local.INFO: GPS Element Parsed {"raw_longitude":761351808,"raw_latitude":106110192,"longitude_deg":76.1351808,"latitude_deg":10.6110192,"altitude":12,"angle":128,"satellites":42,"speed":46,"hex_longitude":"2d614e80","hex_latitude":"06531cf0","is_valid_coordinates":true} 
[2026-07-07 04:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545132032001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340526731171463168,"note":"Value kept but may cause issues"} 
[2026-07-07 04:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7003308553959428096,"note":"Value kept but may cause issues"} 
[2026-07-07 04:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783379430000,"timestamp_ms":1783379430000,"timestamp_seconds":1783379430,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b28a70"} 
[2026-07-07 04:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 04:41:42] 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-07-07 04:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545132032001,"66":27593,"101":206,"78":41216,"24":46,"16":340526731171463168,"45":7003308553959428096},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,78,24,16,45]} 
[2026-07-07 04:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545132032001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:41:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 04:41:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340526731171463168,"km_value":340526731171463.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7003308553959428096,"description":"Unknown IO ID 45"} 
[2026-07-07 04:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545132032001,"power":27593,"unknown_101":206,"unknown_78":41216,"ignition":46,"odometer":null,"unknown_45":7003308553959428096}} 
[2026-07-07 04:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":124124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:41:42] local.INFO: GPS data processed {"connection_id":124124,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:41:42] local.INFO: Acknowledgment sent {"connection_id":124124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:41:53] local.INFO: TCP Data received {"connection_id":126039,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:41:53] local.INFO: Processing buffer {"connection_id":126039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:41:53] local.INFO: IMEI packet received {"connection_id":126039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 04:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":126039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:42:01] local.INFO: TCP Data received {"connection_id":124791,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:42:01] local.INFO: Processing buffer {"connection_id":124791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:42:01] local.INFO: IMEI packet received {"connection_id":124791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":124791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:42:05] local.INFO: TCP Data received {"connection_id":124791,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:42:05] local.INFO: Processing buffer {"connection_id":124791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:42:05] local.INFO: IMEI packet received {"connection_id":124791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":124791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:42:07] local.INFO: TCP Data received {"connection_id":124791,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b2ad98012d616b00065306e80012008129..."} 
[2026-07-07 04:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b2ad98012d616b00065306e80012008129..."} 
[2026-07-07 04:42:07] local.INFO: Processing buffer {"connection_id":124791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b2ad98012d616b00065306e80012008129..."} 
[2026-07-07 04:42:07] local.INFO: Packet analysis {"connection_id":124791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b2"} 
[2026-07-07 04:42:07] local.INFO: Extracted packet for processing {"connection_id":124791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b2"} 
[2026-07-07 04:42:07] local.INFO: GPS Element Parsed {"raw_longitude":761359104,"raw_latitude":106104552,"longitude_deg":76.1359104,"latitude_deg":10.6104552,"altitude":18,"angle":129,"satellites":41,"speed":34,"hex_longitude":"2d616b00","hex_latitude":"065306e8","is_valid_coordinates":true} 
[2026-07-07 04:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545134080001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340527173553094656,"note":"Value kept but may cause issues"} 
[2026-07-07 04:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7011682434515005440,"note":"Value kept but may cause issues"} 
[2026-07-07 04:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783379439000,"timestamp_ms":1783379439000,"timestamp_seconds":1783379439,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b2ad98"} 
[2026-07-07 04:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 04:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:42: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-07-07 04:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545134080001,"66":27343,"101":206,"78":41216,"24":34,"16":340527173553094656,"45":7011682434515005440},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,78,24,16,45]} 
[2026-07-07 04:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545134080001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:42:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 04:42:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340527173553094656,"km_value":340527173553094.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7011682434515005440,"description":"Unknown IO ID 45"} 
[2026-07-07 04:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545134080001,"power":27343,"unknown_101":206,"unknown_78":41216,"ignition":34,"odometer":null,"unknown_45":7011682434515005440}} 
[2026-07-07 04:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":124791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:42:07] local.INFO: GPS data processed {"connection_id":124791,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:42:07] local.INFO: Acknowledgment sent {"connection_id":124791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:42:37] local.INFO: TCP Data received {"connection_id":124791,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b2e060012d6187000652f0f00018008028..."} 
[2026-07-07 04:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b2e060012d6187000652f0f00018008028..."} 
[2026-07-07 04:42:37] local.INFO: Processing buffer {"connection_id":124791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b2e060012d6187000652f0f00018008028..."} 
[2026-07-07 04:42:37] local.INFO: Packet analysis {"connection_id":124791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b2"} 
[2026-07-07 04:42:37] local.INFO: Extracted packet for processing {"connection_id":124791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b2"} 
[2026-07-07 04:42:37] local.INFO: GPS Element Parsed {"raw_longitude":761366272,"raw_latitude":106098928,"longitude_deg":76.1366272,"latitude_deg":10.6098928,"altitude":24,"angle":128,"satellites":40,"speed":23,"hex_longitude":"2d618700","hex_latitude":"0652f0f0","is_valid_coordinates":true} 
[2026-07-07 04:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545136384001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340527611639758848,"note":"Value kept but may cause issues"} 
[2026-07-07 04:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7019704471349815296,"note":"Value kept but may cause issues"} 
[2026-07-07 04:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783379452000,"timestamp_ms":1783379452000,"timestamp_seconds":1783379452,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b2e060"} 
[2026-07-07 04:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:42: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-07-07 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 04:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:42: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-07-07 04:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545136384001,"66":27571,"101":206,"78":41216,"24":23,"16":340527611639758848,"45":7019704471349815296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,78,24,16,45]} 
[2026-07-07 04:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545136384001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:42:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 04:42:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340527611639758848,"km_value":340527611639758.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7019704471349815296,"description":"Unknown IO ID 45"} 
[2026-07-07 04:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545136384001,"power":27571,"unknown_101":206,"unknown_78":41216,"ignition":23,"odometer":null,"unknown_45":7019704471349815296}} 
[2026-07-07 04:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":124791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:42:38] local.INFO: GPS data processed {"connection_id":124791,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:42:38] local.INFO: Acknowledgment sent {"connection_id":124791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:42:55] local.INFO: TCP Data received {"connection_id":124792,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:42:55] local.INFO: Processing buffer {"connection_id":124792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:42:55] local.INFO: IMEI packet received {"connection_id":124792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 04:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":124792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:43:00] local.INFO: TCP Data received {"connection_id":124793,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:43:00] local.INFO: Processing buffer {"connection_id":124793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:43:00] local.INFO: IMEI packet received {"connection_id":124793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":124793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:43:05] local.INFO: TCP Data received {"connection_id":124793,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:43:05] local.INFO: Processing buffer {"connection_id":124793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:43:05] local.INFO: IMEI packet received {"connection_id":124793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":124793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:43:06] local.INFO: TCP Data received {"connection_id":124793,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b322c8012d61a5800652db08001d007f29..."} 
[2026-07-07 04:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b322c8012d61a5800652db08001d007f29..."} 
[2026-07-07 04:43:06] local.INFO: Processing buffer {"connection_id":124793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b322c8012d61a5800652db08001d007f29..."} 
[2026-07-07 04:43:06] local.INFO: Packet analysis {"connection_id":124793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b3"} 
[2026-07-07 04:43:06] local.INFO: Extracted packet for processing {"connection_id":124793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b3"} 
[2026-07-07 04:43:06] local.INFO: GPS Element Parsed {"raw_longitude":761374080,"raw_latitude":106093320,"longitude_deg":76.137408,"latitude_deg":10.609332,"altitude":29,"angle":127,"satellites":41,"speed":27,"hex_longitude":"2d61a580","hex_latitude":"0652db08","is_valid_coordinates":true} 
[2026-07-07 04:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545139712001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340528071201259520,"note":"Value kept but may cause issues"} 
[2026-07-07 04:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7027585770696273920,"note":"Value kept but may cause issues"} 
[2026-07-07 04:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783379469000,"timestamp_ms":1783379469000,"timestamp_seconds":1783379469,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b322c8"} 
[2026-07-07 04:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 04:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545139712001,"66":27300,"15":206,"78":41216,"24":27,"16":340528071201259520,"45":7027585770696273920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,78,24,16,45]} 
[2026-07-07 04:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545139712001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:43:06] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 04:43:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340528071201259520,"km_value":340528071201259.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7027585770696273920,"description":"Unknown IO ID 45"} 
[2026-07-07 04:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545139712001,"power":27300,"unknown_15":206,"unknown_78":41216,"ignition":27,"odometer":null,"unknown_45":7027585770696273920}} 
[2026-07-07 04:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":124793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:43:06] local.INFO: GPS data processed {"connection_id":124793,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:43:06] local.INFO: Acknowledgment sent {"connection_id":124793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:43:38] local.INFO: TCP Data received {"connection_id":124793,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b34dc0012d61c4000652c480001b007d28..."} 
[2026-07-07 04:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b34dc0012d61c4000652c480001b007d28..."} 
[2026-07-07 04:43:38] local.INFO: Processing buffer {"connection_id":124793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b34dc0012d61c4000652c480001b007d28..."} 
[2026-07-07 04:43:38] local.INFO: Packet analysis {"connection_id":124793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b3"} 
[2026-07-07 04:43:38] local.INFO: Extracted packet for processing {"connection_id":124793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b3"} 
[2026-07-07 04:43:38] local.INFO: GPS Element Parsed {"raw_longitude":761381888,"raw_latitude":106087552,"longitude_deg":76.1381888,"latitude_deg":10.6087552,"altitude":27,"angle":125,"satellites":40,"speed":39,"hex_longitude":"2d61c400","hex_latitude":"0652c480","is_valid_coordinates":true} 
[2026-07-07 04:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545144064001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340528539352694784,"note":"Value kept but may cause issues"} 
[2026-07-07 04:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7036170757484513280,"note":"Value kept but may cause issues"} 
[2026-07-07 04:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783379480000,"timestamp_ms":1783379480000,"timestamp_seconds":1783379480,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b34dc0"} 
[2026-07-07 04:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:43: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-07-07 04:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 04:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:43: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-07-07 04:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545144064001,"66":27234,"15":206,"78":41216,"24":39,"16":340528539352694784,"45":7036170757484513280},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,78,24,16,45]} 
[2026-07-07 04:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545144064001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:43:38] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 04:43:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340528539352694784,"km_value":340528539352694.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7036170757484513280,"description":"Unknown IO ID 45"} 
[2026-07-07 04:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545144064001,"power":27234,"unknown_15":206,"unknown_78":41216,"ignition":39,"odometer":null,"unknown_45":7036170757484513280}} 
[2026-07-07 04:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":124793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:43:38] local.INFO: GPS data processed {"connection_id":124793,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:43:38] local.INFO: Acknowledgment sent {"connection_id":124793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:44:05] local.INFO: TCP Data received {"connection_id":124125,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:44:05] local.INFO: Processing buffer {"connection_id":124125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:44:05] local.INFO: IMEI packet received {"connection_id":124125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":124125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:44:06] local.INFO: TCP Data received {"connection_id":124125,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:44:06] local.INFO: Processing buffer {"connection_id":124125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:44:06] local.INFO: IMEI packet received {"connection_id":124125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":124125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:44:10] local.INFO: TCP Data received {"connection_id":124125,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:44:10] local.INFO: Processing buffer {"connection_id":124125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:44:10] local.INFO: IMEI packet received {"connection_id":124125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":124125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:44:12] local.INFO: TCP Data received {"connection_id":124125,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b4c4c0012d62f8000651b7b80012008d29..."} 
[2026-07-07 04:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b4c4c0012d62f8000651b7b80012008d29..."} 
[2026-07-07 04:44:12] local.INFO: Processing buffer {"connection_id":124125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b4c4c0012d62f8000651b7b80012008d29..."} 
[2026-07-07 04:44:12] local.INFO: Packet analysis {"connection_id":124125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b4"} 
[2026-07-07 04:44:12] local.INFO: Extracted packet for processing {"connection_id":124125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b4"} 
[2026-07-07 04:44:12] local.INFO: GPS Element Parsed {"raw_longitude":761460736,"raw_latitude":106018744,"longitude_deg":76.1460736,"latitude_deg":10.6018744,"altitude":18,"angle":141,"satellites":41,"speed":35,"hex_longitude":"2d62f800","hex_latitude":"0651b7b8","is_valid_coordinates":true} 
[2026-07-07 04:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545168640001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340533577349332992,"note":"Value kept but may cause issues"} 
[2026-07-07 04:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7124694637642860544,"note":"Value kept but may cause issues"} 
[2026-07-07 04:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783379576000,"timestamp_ms":1783379576000,"timestamp_seconds":1783379576,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b4c4c0"} 
[2026-07-07 04:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:44: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-07-07 04: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 04:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545168640001,"66":27615,"13":206,"78":41216,"24":35,"16":340533577349332992,"45":7124694637642860544},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-07-07 04:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545168640001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:44:12] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-07 04:44:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340533577349332992,"km_value":340533577349333.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7124694637642860544,"description":"Unknown IO ID 45"} 
[2026-07-07 04:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545168640001,"power":27615,"unknown_13":206,"unknown_78":41216,"ignition":35,"odometer":null,"unknown_45":7124694637642860544}} 
[2026-07-07 04:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":124125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:44:12] local.INFO: GPS data processed {"connection_id":124125,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:44:12] local.INFO: Acknowledgment sent {"connection_id":124125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:44:43] local.INFO: TCP Data received {"connection_id":124125,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b4f3a0012d630e0006519c080011008b28..."} 
[2026-07-07 04:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b4f3a0012d630e0006519c080011008b28..."} 
[2026-07-07 04:44:43] local.INFO: Processing buffer {"connection_id":124125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b4f3a0012d630e0006519c080011008b28..."} 
[2026-07-07 04:44:43] local.INFO: Packet analysis {"connection_id":124125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b4"} 
[2026-07-07 04:44:43] local.INFO: Extracted packet for processing {"connection_id":124125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b4"} 
[2026-07-07 04:44:43] local.INFO: GPS Element Parsed {"raw_longitude":761466368,"raw_latitude":106011656,"longitude_deg":76.1466368,"latitude_deg":10.6011656,"altitude":17,"angle":139,"satellites":40,"speed":33,"hex_longitude":"2d630e00","hex_latitude":"06519c08","is_valid_coordinates":true} 
[2026-07-07 04:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545171456001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340534015435997184,"note":"Value kept but may cause issues"} 
[2026-07-07 04:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7131450037081978880,"note":"Value kept but may cause issues"} 
[2026-07-07 04:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783379588000,"timestamp_ms":1783379588000,"timestamp_seconds":1783379588,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b4f3a0"} 
[2026-07-07 04:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04: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-07-07 04: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 04:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545171456001,"66":27604,"13":206,"78":41216,"24":33,"16":340534015435997184,"45":7131450037081978880},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-07-07 04:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545171456001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:44:43] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-07 04:44:43] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340534015435997184,"km_value":340534015435997.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":7131450037081978880,"description":"Unknown IO ID 45"} 
[2026-07-07 04:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545171456001,"power":27604,"unknown_13":206,"unknown_78":41216,"ignition":33,"odometer":null,"unknown_45":7131450037081978880}} 
[2026-07-07 04:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":124125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:44:43] local.INFO: GPS data processed {"connection_id":124125,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:44:43] local.INFO: Acknowledgment sent {"connection_id":124125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:45:00] local.INFO: TCP Data received {"connection_id":124017,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:45:00] local.INFO: Processing buffer {"connection_id":124017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:45:00] local.INFO: IMEI packet received {"connection_id":124017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":124017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:45:05] local.INFO: TCP Data received {"connection_id":124017,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:45:05] local.INFO: Processing buffer {"connection_id":124017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:45:05] local.INFO: IMEI packet received {"connection_id":124017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":124017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:45:06] local.INFO: TCP Data received {"connection_id":124017,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b51ab0012d63240006518078000f00902a..."} 
[2026-07-07 04:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b51ab0012d63240006518078000f00902a..."} 
[2026-07-07 04:45:06] local.INFO: Processing buffer {"connection_id":124017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b51ab0012d63240006518078000f00902a..."} 
[2026-07-07 04:45:06] local.INFO: Packet analysis {"connection_id":124017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b5"} 
[2026-07-07 04:45:06] local.INFO: Extracted packet for processing {"connection_id":124017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b5"} 
[2026-07-07 04:45:06] local.INFO: GPS Element Parsed {"raw_longitude":761472000,"raw_latitude":106004600,"longitude_deg":76.1472,"latitude_deg":10.60046,"altitude":15,"angle":144,"satellites":42,"speed":37,"hex_longitude":"2d632400","hex_latitude":"06518078","is_valid_coordinates":true} 
[2026-07-07 04:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545174528001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340534449227694080,"note":"Value kept but may cause issues"} 
[2026-07-07 04:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7137642486567798784,"note":"Value kept but may cause issues"} 
[2026-07-07 04:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783379598000,"timestamp_ms":1783379598000,"timestamp_seconds":1783379598,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b51ab0"} 
[2026-07-07 04:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:45: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-07-07 04: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 04:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545174528001,"66":27539,"13":206,"78":41216,"24":37,"16":340534449227694080,"45":7137642486567798784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-07-07 04:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545174528001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:45:06] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-07 04:45:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340534449227694080,"km_value":340534449227694.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7137642486567798784,"description":"Unknown IO ID 45"} 
[2026-07-07 04:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545174528001,"power":27539,"unknown_13":206,"unknown_78":41216,"ignition":37,"odometer":null,"unknown_45":7137642486567798784}} 
[2026-07-07 04:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":124017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:45:06] local.INFO: GPS data processed {"connection_id":124017,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:45:06] local.INFO: Acknowledgment sent {"connection_id":124017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:45:38] local.INFO: TCP Data received {"connection_id":124017,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b541c0012d633740065162c8000e00932a..."} 
[2026-07-07 04:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b541c0012d633740065162c8000e00932a..."} 
[2026-07-07 04:45:38] local.INFO: Processing buffer {"connection_id":124017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b541c0012d633740065162c8000e00932a..."} 
[2026-07-07 04:45:38] local.INFO: Packet analysis {"connection_id":124017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b5"} 
[2026-07-07 04:45:38] local.INFO: Extracted packet for processing {"connection_id":124017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b5"} 
[2026-07-07 04:45:38] local.INFO: GPS Element Parsed {"raw_longitude":761476928,"raw_latitude":105997000,"longitude_deg":76.1476928,"latitude_deg":10.5997,"altitude":14,"angle":147,"satellites":42,"speed":29,"hex_longitude":"2d633740","hex_latitude":"065162c8","is_valid_coordinates":true} 
[2026-07-07 04: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-07-07 04:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545177088001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340534887314358272,"note":"Value kept but may cause issues"} 
[2026-07-07 04:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7143834936053626880,"note":"Value kept but may cause issues"} 
[2026-07-07 04:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783379608000,"timestamp_ms":1783379608000,"timestamp_seconds":1783379608,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b541c0"} 
[2026-07-07 04:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:45: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-07-07 04: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 04:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04: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-07-07 04:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:45: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-07-07 04:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545177088001,"66":27463,"51":206,"78":41216,"24":29,"16":340534887314358272,"45":7143834936053626880},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,78,24,16,45]} 
[2026-07-07 04:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545177088001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:45:38] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-07 04:45:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340534887314358272,"km_value":340534887314358.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7143834936053626880,"description":"Unknown IO ID 45"} 
[2026-07-07 04:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545177088001,"power":27463,"unknown_51":206,"unknown_78":41216,"ignition":29,"odometer":null,"unknown_45":7143834936053626880}} 
[2026-07-07 04:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":124017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:45:38] local.INFO: GPS data processed {"connection_id":124017,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:45:38] local.INFO: Acknowledgment sent {"connection_id":124017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:46:05] local.INFO: TCP Data received {"connection_id":124018,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:46:05] local.INFO: Processing buffer {"connection_id":124018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:46:05] local.INFO: IMEI packet received {"connection_id":124018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":124018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:46:10] local.INFO: TCP Data received {"connection_id":124018,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:46:10] local.INFO: Processing buffer {"connection_id":124018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:46:10] local.INFO: IMEI packet received {"connection_id":124018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":124018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:46:11] local.INFO: TCP Data received {"connection_id":124018,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b57c58012d63498006514458000b009429..."} 
[2026-07-07 04:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b57c58012d63498006514458000b009429..."} 
[2026-07-07 04:46:11] local.INFO: Processing buffer {"connection_id":124018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b57c58012d63498006514458000b009429..."} 
[2026-07-07 04:46:11] local.INFO: Packet analysis {"connection_id":124018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b5"} 
[2026-07-07 04:46:11] local.INFO: Extracted packet for processing {"connection_id":124018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b5"} 
[2026-07-07 04:46:11] local.INFO: GPS Element Parsed {"raw_longitude":761481600,"raw_latitude":105989208,"longitude_deg":76.14816,"latitude_deg":10.5989208,"altitude":11,"angle":148,"satellites":41,"speed":27,"hex_longitude":"2d634980","hex_latitude":"06514458","is_valid_coordinates":true} 
[2026-07-07 04:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545179648001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340535325401022464,"note":"Value kept but may cause issues"} 
[2026-07-07 04:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7149253329353361408,"note":"Value kept but may cause issues"} 
[2026-07-07 04:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783379623000,"timestamp_ms":1783379623000,"timestamp_seconds":1783379623,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b57c58"} 
[2026-07-07 04:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04: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-07-07 04: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-07-07 04: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-07-07 04:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545179648001,"66":27615,"51":206,"78":41216,"24":27,"16":340535325401022464,"45":7149253329353361408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,78,24,16,45]} 
[2026-07-07 04:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545179648001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:46:11] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-07 04:46:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340535325401022464,"km_value":340535325401022.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7149253329353361408,"description":"Unknown IO ID 45"} 
[2026-07-07 04:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545179648001,"power":27615,"unknown_51":206,"unknown_78":41216,"ignition":27,"odometer":null,"unknown_45":7149253329353361408}} 
[2026-07-07 04:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":124018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:46:11] local.INFO: GPS data processed {"connection_id":124018,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:46:11] local.INFO: Acknowledgment sent {"connection_id":124018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:46:12] local.INFO: TCP Data received {"connection_id":124018,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b5ab38012d635c00065126080009009429..."} 
[2026-07-07 04:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b5ab38012d635c00065126080009009429..."} 
[2026-07-07 04:46:12] local.INFO: Processing buffer {"connection_id":124018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b5ab38012d635c00065126080009009429..."} 
[2026-07-07 04:46:12] local.INFO: Packet analysis {"connection_id":124018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b5"} 
[2026-07-07 04:46:12] local.INFO: Extracted packet for processing {"connection_id":124018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b5"} 
[2026-07-07 04:46:12] local.INFO: GPS Element Parsed {"raw_longitude":761486336,"raw_latitude":105981448,"longitude_deg":76.1486336,"latitude_deg":10.5981448,"altitude":9,"angle":148,"satellites":41,"speed":32,"hex_longitude":"2d635c00","hex_latitude":"06512608","is_valid_coordinates":true} 
[2026-07-07 04: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-07-07 04:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545183488001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340535767782653952,"note":"Value kept but may cause issues"} 
[2026-07-07 04:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7154390247676336128,"note":"Value kept but may cause issues"} 
[2026-07-07 04:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783379635000,"timestamp_ms":1783379635000,"timestamp_seconds":1783379635,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b5ab38"} 
[2026-07-07 04:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04: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-07-07 04: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 04:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04: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-07-07 04:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545183488001,"66":27517,"51":206,"78":41216,"24":32,"16":340535767782653952,"45":7154390247676336128},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,78,24,16,45]} 
[2026-07-07 04:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545183488001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:46:12] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-07 04:46:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340535767782653952,"km_value":340535767782653.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7154390247676336128,"description":"Unknown IO ID 45"} 
[2026-07-07 04:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545183488001,"power":27517,"unknown_51":206,"unknown_78":41216,"ignition":32,"odometer":null,"unknown_45":7154390247676336128}} 
[2026-07-07 04:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":124018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:46:12] local.INFO: GPS data processed {"connection_id":124018,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:46:12] local.INFO: Acknowledgment sent {"connection_id":124018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:46:43] local.INFO: TCP Data received {"connection_id":124018,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b5d248012d636ec006510818000900902b..."} 
[2026-07-07 04:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b5d248012d636ec006510818000900902b..."} 
[2026-07-07 04:46:43] local.INFO: Processing buffer {"connection_id":124018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b5d248012d636ec006510818000900902b..."} 
[2026-07-07 04:46:43] local.INFO: Packet analysis {"connection_id":124018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b5"} 
[2026-07-07 04:46:43] local.INFO: Extracted packet for processing {"connection_id":124018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b5"} 
[2026-07-07 04:46:43] local.INFO: GPS Element Parsed {"raw_longitude":761491136,"raw_latitude":105973784,"longitude_deg":76.1491136,"latitude_deg":10.5973784,"altitude":9,"angle":144,"satellites":43,"speed":37,"hex_longitude":"2d636ec0","hex_latitude":"06510818","is_valid_coordinates":true} 
[2026-07-07 04: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-07-07 04:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545186560001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340536201574350848,"note":"Value kept but may cause issues"} 
[2026-07-07 04:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7159597534743496704,"note":"Value kept but may cause issues"} 
[2026-07-07 04:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783379645000,"timestamp_ms":1783379645000,"timestamp_seconds":1783379645,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b5d248"} 
[2026-07-07 04:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 04:46:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04: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-07-07 04:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545186560001,"66":27463,"51":206,"78":41216,"24":37,"16":340536201574350848,"45":7159597534743496704},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,78,24,16,45]} 
[2026-07-07 04:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545186560001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:46:43] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-07 04:46:43] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340536201574350848,"km_value":340536201574350.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":7159597534743496704,"description":"Unknown IO ID 45"} 
[2026-07-07 04:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545186560001,"power":27463,"unknown_51":206,"unknown_78":41216,"ignition":37,"odometer":null,"unknown_45":7159597534743496704}} 
[2026-07-07 04:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":124018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:46:43] local.INFO: GPS data processed {"connection_id":124018,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:46:43] local.INFO: Acknowledgment sent {"connection_id":124018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:47:00] local.INFO: TCP Data received {"connection_id":124126,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:47:00] local.INFO: Processing buffer {"connection_id":124126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:47:00] local.INFO: IMEI packet received {"connection_id":124126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":124126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:47:03] local.INFO: TCP Data received {"connection_id":124126,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:47:03] local.INFO: Processing buffer {"connection_id":124126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:47:03] local.INFO: IMEI packet received {"connection_id":124126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":124126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:47:04] local.INFO: TCP Data received {"connection_id":124126,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b787c8012d64728006500818000e008729..."} 
[2026-07-07 04:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b787c8012d64728006500818000e008729..."} 
[2026-07-07 04:47:04] local.INFO: Processing buffer {"connection_id":124126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b787c8012d64728006500818000e008729..."} 
[2026-07-07 04:47:04] local.INFO: Packet analysis {"connection_id":124126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b7"} 
[2026-07-07 04:47:04] local.INFO: Extracted packet for processing {"connection_id":124126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b7"} 
[2026-07-07 04:47:04] local.INFO: GPS Element Parsed {"raw_longitude":761557632,"raw_latitude":105908248,"longitude_deg":76.1557632,"latitude_deg":10.5908248,"altitude":14,"angle":135,"satellites":41,"speed":40,"hex_longitude":"2d647280","hex_latitude":"06500818","is_valid_coordinates":true} 
[2026-07-07 04:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545215232001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340540711290011648,"note":"Value kept but may cause issues"} 
[2026-07-07 04:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7230740335090022400,"note":"Value kept but may cause issues"} 
[2026-07-07 04:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783379757000,"timestamp_ms":1783379757000,"timestamp_seconds":1783379757,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b787c8"} 
[2026-07-07 04:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 04:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545215232001,"66":27484,"14":206,"78":41216,"24":40,"16":340540711290011648,"45":7230740335090022400},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-07-07 04:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545215232001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:47:04] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 04:47:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340540711290011648,"km_value":340540711290011.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7230740335090022400,"description":"Unknown IO ID 45"} 
[2026-07-07 04:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545215232001,"power":27484,"unknown_14":206,"unknown_78":41216,"ignition":40,"odometer":null,"unknown_45":7230740335090022400}} 
[2026-07-07 04:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":124126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:47:04] local.INFO: GPS data processed {"connection_id":124126,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:47:04] local.INFO: Acknowledgment sent {"connection_id":124126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:47:35] local.INFO: TCP Data received {"connection_id":124126,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b7aed8012d648c40064fed38000b008b29..."} 
[2026-07-07 04:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b7aed8012d648c40064fed38000b008b29..."} 
[2026-07-07 04:47:35] local.INFO: Processing buffer {"connection_id":124126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b7aed8012d648c40064fed38000b008b29..."} 
[2026-07-07 04:47:35] local.INFO: Packet analysis {"connection_id":124126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b7"} 
[2026-07-07 04:47:35] local.INFO: Extracted packet for processing {"connection_id":124126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b7"} 
[2026-07-07 04:47:35] local.INFO: GPS Element Parsed {"raw_longitude":761564224,"raw_latitude":105901368,"longitude_deg":76.1564224,"latitude_deg":10.5901368,"altitude":11,"angle":139,"satellites":41,"speed":31,"hex_longitude":"2d648c40","hex_latitude":"064fed38","is_valid_coordinates":true} 
[2026-07-07 04:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545217792001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340541170851512320,"note":"Value kept but may cause issues"} 
[2026-07-07 04:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7237988315738675200,"note":"Value kept but may cause issues"} 
[2026-07-07 04:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783379767000,"timestamp_ms":1783379767000,"timestamp_seconds":1783379767,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b7aed8"} 
[2026-07-07 04:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:47: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-07-07 04:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 04:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545217792001,"66":27300,"14":206,"78":41216,"24":31,"16":340541170851512320,"45":7237988315738675200},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-07-07 04:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545217792001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:47:35] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 04:47:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340541170851512320,"km_value":340541170851512.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7237988315738675200,"description":"Unknown IO ID 45"} 
[2026-07-07 04:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545217792001,"power":27300,"unknown_14":206,"unknown_78":41216,"ignition":31,"odometer":null,"unknown_45":7237988315738675200}} 
[2026-07-07 04:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":124126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:47:35] local.INFO: GPS data processed {"connection_id":124126,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:47:35] local.INFO: Acknowledgment sent {"connection_id":124126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:47:58] local.INFO: TCP Data received {"connection_id":124795,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:47:58] local.INFO: Processing buffer {"connection_id":124795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:47:58] local.INFO: IMEI packet received {"connection_id":124795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":124795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:48:00] local.INFO: TCP Data received {"connection_id":124795,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:48:00] local.INFO: Processing buffer {"connection_id":124795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:48:00] local.INFO: IMEI packet received {"connection_id":124795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":124795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:48:05] local.INFO: TCP Data received {"connection_id":124795,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:48:05] local.INFO: Processing buffer {"connection_id":124795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:48:05] local.INFO: IMEI packet received {"connection_id":124795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":124795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:48:06] local.INFO: TCP Data received {"connection_id":124795,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b7f528012d64a440064fd1e8000a008a29..."} 
[2026-07-07 04:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b7f528012d64a440064fd1e8000a008a29..."} 
[2026-07-07 04:48:06] local.INFO: Processing buffer {"connection_id":124795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b7f528012d64a440064fd1e8000a008a29..."} 
[2026-07-07 04:48:06] local.INFO: Packet analysis {"connection_id":124795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b7"} 
[2026-07-07 04:48:06] local.INFO: Extracted packet for processing {"connection_id":124795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b7"} 
[2026-07-07 04:48:06] local.INFO: GPS Element Parsed {"raw_longitude":761570368,"raw_latitude":105894376,"longitude_deg":76.1570368,"latitude_deg":10.5894376,"altitude":10,"angle":138,"satellites":41,"speed":24,"hex_longitude":"2d64a440","hex_latitude":"064fd1e8","is_valid_coordinates":true} 
[2026-07-07 04:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545220352001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340541617528111104,"note":"Value kept but may cause issues"} 
[2026-07-07 04:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7245236296387213312,"note":"Value kept but may cause issues"} 
[2026-07-07 04:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783379785000,"timestamp_ms":1783379785000,"timestamp_seconds":1783379785,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b7f528"} 
[2026-07-07 04:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:48: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-07-07 04:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 04:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545220352001,"66":27213,"14":206,"78":41216,"24":24,"16":340541617528111104,"45":7245236296387213312},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-07-07 04:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545220352001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:48:06] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 04:48:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340541617528111104,"km_value":340541617528111.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7245236296387213312,"description":"Unknown IO ID 45"} 
[2026-07-07 04:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545220352001,"power":27213,"unknown_14":206,"unknown_78":41216,"ignition":24,"odometer":null,"unknown_45":7245236296387213312}} 
[2026-07-07 04:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":124795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:48:06] local.INFO: GPS data processed {"connection_id":124795,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:48:06] local.INFO: Acknowledgment sent {"connection_id":124795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:48:15] local.INFO: TCP Data received {"connection_id":124127,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:48:15] local.INFO: Processing buffer {"connection_id":124127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:48:15] local.INFO: IMEI packet received {"connection_id":124127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 04:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":124127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:48:37] local.INFO: TCP Data received {"connection_id":124795,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b82bd8012d64bb80064fb568000c00912a..."} 
[2026-07-07 04:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b82bd8012d64bb80064fb568000c00912a..."} 
[2026-07-07 04:48:37] local.INFO: Processing buffer {"connection_id":124795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b82bd8012d64bb80064fb568000c00912a..."} 
[2026-07-07 04:48:37] local.INFO: Packet analysis {"connection_id":124795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b8"} 
[2026-07-07 04:48:37] local.INFO: Extracted packet for processing {"connection_id":124795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b8"} 
[2026-07-07 04:48:37] local.INFO: GPS Element Parsed {"raw_longitude":761576320,"raw_latitude":105887080,"longitude_deg":76.157632,"latitude_deg":10.588708,"altitude":12,"angle":145,"satellites":42,"speed":28,"hex_longitude":"2d64bb80","hex_latitude":"064fb568","is_valid_coordinates":true} 
[2026-07-07 04:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545224960001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340542072794644480,"note":"Value kept but may cause issues"} 
[2026-07-07 04:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7251991695826479104,"note":"Value kept but may cause issues"} 
[2026-07-07 04:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783379799000,"timestamp_ms":1783379799000,"timestamp_seconds":1783379799,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b82bd8"} 
[2026-07-07 04:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:48: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-07-07 04: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 04:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:48: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-07-07 04:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545224960001,"66":27104,"14":206,"78":41216,"24":28,"16":340542072794644480,"45":7251991695826479104},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-07-07 04:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545224960001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:48:37] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 04:48:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340542072794644480,"km_value":340542072794644.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7251991695826479104,"description":"Unknown IO ID 45"} 
[2026-07-07 04:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545224960001,"power":27104,"unknown_14":206,"unknown_78":41216,"ignition":28,"odometer":null,"unknown_45":7251991695826479104}} 
[2026-07-07 04:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":124795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:48:37] local.INFO: GPS data processed {"connection_id":124795,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:48:37] local.INFO: Acknowledgment sent {"connection_id":124795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:49:00] local.INFO: TCP Data received {"connection_id":126044,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:49:00] local.INFO: Processing buffer {"connection_id":126044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:49:00] local.INFO: IMEI packet received {"connection_id":126044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":126044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:49:01] local.INFO: TCP Data received {"connection_id":126044,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:49:01] local.INFO: Processing buffer {"connection_id":126044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:49:01] local.INFO: IMEI packet received {"connection_id":126044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":126044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:49:05] local.INFO: TCP Data received {"connection_id":126044,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:49:05] local.INFO: Processing buffer {"connection_id":126044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:49:05] local.INFO: IMEI packet received {"connection_id":126044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":126044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:49:16] local.INFO: TCP Data received {"connection_id":126044,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b84730012d64c580064fa330000a009c29..."} 
[2026-07-07 04:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b84730012d64c580064fa330000a009c29..."} 
[2026-07-07 04:49:16] local.INFO: Processing buffer {"connection_id":126044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b84730012d64c580064fa330000a009c29..."} 
[2026-07-07 04:49:16] local.INFO: Packet analysis {"connection_id":126044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b8"} 
[2026-07-07 04:49:16] local.INFO: Extracted packet for processing {"connection_id":126044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b8"} 
[2026-07-07 04:49:16] local.INFO: GPS Element Parsed {"raw_longitude":761578880,"raw_latitude":105882416,"longitude_deg":76.157888,"latitude_deg":10.5882416,"altitude":10,"angle":156,"satellites":41,"speed":32,"hex_longitude":"2d64c580","hex_latitude":"064fa330","is_valid_coordinates":true} 
[2026-07-07 04:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545228544001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340542330492682240,"note":"Value kept but may cause issues"} 
[2026-07-07 04:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7258535989033134080,"note":"Value kept but may cause issues"} 
[2026-07-07 04:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783379806000,"timestamp_ms":1783379806000,"timestamp_seconds":1783379806,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b84730"} 
[2026-07-07 04:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 04:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04: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-07-07 04:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545228544001,"66":27397,"14":206,"78":41216,"24":32,"16":340542330492682240,"45":7258535989033134080},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-07-07 04:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545228544001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:49:16] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 04:49:16] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-07-07 04:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340542330492682240,"km_value":340542330492682.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":7258535989033134080,"description":"Unknown IO ID 45"} 
[2026-07-07 04:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545228544001,"power":27397,"unknown_14":206,"unknown_78":41216,"ignition":32,"odometer":null,"unknown_45":7258535989033134080}} 
[2026-07-07 04:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":126044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:49:16] local.INFO: GPS data processed {"connection_id":126044,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:49:16] local.INFO: Acknowledgment sent {"connection_id":126044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:50:00] local.INFO: TCP Data received {"connection_id":124128,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:50:00] local.INFO: Processing buffer {"connection_id":124128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:50:00] local.INFO: IMEI packet received {"connection_id":124128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":124128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:50:05] local.INFO: TCP Data received {"connection_id":124128,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:50:05] local.INFO: Processing buffer {"connection_id":124128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:50:05] local.INFO: IMEI packet received {"connection_id":124128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":124128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:50:06] local.INFO: TCP Data received {"connection_id":124128,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39b9f0f8012d654c40064e2ec8000b00a428..."} 
[2026-07-07 04:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39b9f0f8012d654c40064e2ec8000b00a428..."} 
[2026-07-07 04:50:06] local.INFO: Processing buffer {"connection_id":124128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39b9f0f8012d654c40064e2ec8000b00a428..."} 
[2026-07-07 04:50:06] local.INFO: Packet analysis {"connection_id":124128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39b9"} 
[2026-07-07 04:50:06] local.INFO: Extracted packet for processing {"connection_id":124128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39b9"} 
[2026-07-07 04:50:06] local.INFO: GPS Element Parsed {"raw_longitude":761613376,"raw_latitude":105787080,"longitude_deg":76.1613376,"latitude_deg":10.578708,"altitude":11,"angle":164,"satellites":40,"speed":31,"hex_longitude":"2d654c40","hex_latitude":"064e2ec8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 04:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545255168001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340547243935268864,"note":"Value kept but may cause issues"} 
[2026-07-07 04:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7296675848354027520,"note":"Value kept but may cause issues"} 
[2026-07-07 04:50: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-07-07 04:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783379915000,"timestamp_ms":1783379915000,"timestamp_seconds":1783379915,"priority":1,"record_length":96,"hex_timestamp":"0000019f39b9f0f8"} 
[2026-07-07 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-07-07 04:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":98,"data_length":795,"current_offset":136} 
[2026-07-07 04:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 04:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545255168001,"66":27397,"79":19712,"24":31,"16":340547243935268864,"45":7296675848354027520},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-07-07 04:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545255168001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:50:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340547243935268864,"km_value":340547243935268.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7296675848354027520,"description":"Unknown IO ID 45"} 
[2026-07-07 04:50:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456545255168001,"power":27397,"unknown_79":19712,"ignition":31,"odometer":null,"unknown_45":7296675848354027520}} 
[2026-07-07 04:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":124128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:50:06] local.INFO: GPS data processed {"connection_id":124128,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:50:06] local.INFO: Acknowledgment sent {"connection_id":124128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:50:37] local.INFO: TCP Data received {"connection_id":124128,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ba23c0012d6555c0064e0b50000900a429..."} 
[2026-07-07 04:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ba23c0012d6555c0064e0b50000900a429..."} 
[2026-07-07 04:50:37] local.INFO: Processing buffer {"connection_id":124128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ba23c0012d6555c0064e0b50000900a429..."} 
[2026-07-07 04:50:37] local.INFO: Packet analysis {"connection_id":124128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ba"} 
[2026-07-07 04:50:37] local.INFO: Extracted packet for processing {"connection_id":124128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ba"} 
[2026-07-07 04:50:37] local.INFO: GPS Element Parsed {"raw_longitude":761615808,"raw_latitude":105778000,"longitude_deg":76.1615808,"latitude_deg":10.5778,"altitude":9,"angle":164,"satellites":41,"speed":28,"hex_longitude":"2d6555c0","hex_latitude":"064e0b50","is_valid_coordinates":true} 
[2026-07-07 04:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545258240001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340547699201802240,"note":"Value kept but may cause issues"} 
[2026-07-07 04:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7299279491886401536,"note":"Value kept but may cause issues"} 
[2026-07-07 04:50:37] 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-07-07 04:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783379928000,"timestamp_ms":1783379928000,"timestamp_seconds":1783379928,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ba23c0"} 
[2026-07-07 04:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 04:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:50: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-07-07 04:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545258240001,"66":27463,"79":19712,"24":28,"16":340547699201802240,"45":7299279491886401536},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-07-07 04:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545258240001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:50:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340547699201802240,"km_value":340547699201802.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7299279491886401536,"description":"Unknown IO ID 45"} 
[2026-07-07 04:50:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456545258240001,"power":27463,"unknown_79":19712,"ignition":28,"odometer":null,"unknown_45":7299279491886401536}} 
[2026-07-07 04:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":124128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:50:37] local.INFO: GPS data processed {"connection_id":124128,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:50:37] local.INFO: Acknowledgment sent {"connection_id":124128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:51:00] local.INFO: TCP Data received {"connection_id":124796,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:51:00] local.INFO: Processing buffer {"connection_id":124796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:51:00] local.INFO: IMEI packet received {"connection_id":124796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":124796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:51:03] local.INFO: TCP Data received {"connection_id":124796,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:51:03] local.INFO: Processing buffer {"connection_id":124796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:51:03] local.INFO: IMEI packet received {"connection_id":124796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":124796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:51:04] local.INFO: TCP Data received {"connection_id":124796,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ba5688012d656000064de830000a00a329..."} 
[2026-07-07 04:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ba5688012d656000064de830000a00a329..."} 
[2026-07-07 04:51:04] local.INFO: Processing buffer {"connection_id":124796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ba5688012d656000064de830000a00a329..."} 
[2026-07-07 04:51:04] local.INFO: Packet analysis {"connection_id":124796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ba"} 
[2026-07-07 04:51:04] local.INFO: Extracted packet for processing {"connection_id":124796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ba"} 
[2026-07-07 04:51:04] local.INFO: GPS Element Parsed {"raw_longitude":761618432,"raw_latitude":105769008,"longitude_deg":76.1618432,"latitude_deg":10.5769008,"altitude":10,"angle":163,"satellites":41,"speed":23,"hex_longitude":"2d656000","hex_latitude":"064de830","is_valid_coordinates":true} 
[2026-07-07 04:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545261568001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340548150173368320,"note":"Value kept but may cause issues"} 
[2026-07-07 04:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7301953504162828288,"note":"Value kept but may cause issues"} 
[2026-07-07 04:51:04] 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-07-07 04:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783379941000,"timestamp_ms":1783379941000,"timestamp_seconds":1783379941,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ba5688"} 
[2026-07-07 04:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 04:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545261568001,"66":27441,"79":19712,"24":23,"16":340548150173368320,"45":7301953504162828288},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-07-07 04:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545261568001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:51:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340548150173368320,"km_value":340548150173368.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7301953504162828288,"description":"Unknown IO ID 45"} 
[2026-07-07 04:51:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456545261568001,"power":27441,"unknown_79":19712,"ignition":23,"odometer":null,"unknown_45":7301953504162828288}} 
[2026-07-07 04:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":124796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:51:04] local.INFO: GPS data processed {"connection_id":124796,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:51:04] local.INFO: Acknowledgment sent {"connection_id":124796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:51:38] local.INFO: TCP Data received {"connection_id":124796,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ba98f0012d656880064dc4d0000b00a72a..."} 
[2026-07-07 04:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ba98f0012d656880064dc4d0000b00a72a..."} 
[2026-07-07 04:51:38] local.INFO: Processing buffer {"connection_id":124796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ba98f0012d656880064dc4d0000b00a72a..."} 
[2026-07-07 04:51:38] local.INFO: Packet analysis {"connection_id":124796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ba"} 
[2026-07-07 04:51:38] local.INFO: Extracted packet for processing {"connection_id":124796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ba"} 
[2026-07-07 04:51:38] local.INFO: GPS Element Parsed {"raw_longitude":761620608,"raw_latitude":105759952,"longitude_deg":76.1620608,"latitude_deg":10.5759952,"altitude":11,"angle":167,"satellites":42,"speed":25,"hex_longitude":"2d656880","hex_latitude":"064dc4d0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 04:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545264896001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340548605439901696,"note":"Value kept but may cause issues"} 
[2026-07-07 04:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7304838622671810560,"note":"Value kept but may cause issues"} 
[2026-07-07 04:51:38] 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-07-07 04:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783379958000,"timestamp_ms":1783379958000,"timestamp_seconds":1783379958,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ba98f0"} 
[2026-07-07 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-07-07 04:51: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-07-07 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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-07-07 04:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 04:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:51: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-07-07 04:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545264896001,"66":27484,"79":19712,"24":25,"16":340548605439901696,"45":7304838622671810560},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-07-07 04:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545264896001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:51:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340548605439901696,"km_value":340548605439901.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7304838622671810560,"description":"Unknown IO ID 45"} 
[2026-07-07 04:51:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456545264896001,"power":27484,"unknown_79":19712,"ignition":25,"odometer":null,"unknown_45":7304838622671810560}} 
[2026-07-07 04:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":124796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:51:38] local.INFO: GPS data processed {"connection_id":124796,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:51:38] local.INFO: Acknowledgment sent {"connection_id":124796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:52:00] local.INFO: TCP Data received {"connection_id":124129,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:52:00] local.INFO: Processing buffer {"connection_id":124129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:52:00] local.INFO: IMEI packet received {"connection_id":124129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":124129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:52:05] local.INFO: TCP Data received {"connection_id":124129,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:52:05] local.INFO: Processing buffer {"connection_id":124129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:52:05] local.INFO: IMEI packet received {"connection_id":124129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":124129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:52:06] local.INFO: TCP Data received {"connection_id":124129,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39bacfa0012d6570c0064da278000f00a927..."} 
[2026-07-07 04:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39bacfa0012d6570c0064da278000f00a927..."} 
[2026-07-07 04:52:06] local.INFO: Processing buffer {"connection_id":124129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39bacfa0012d6570c0064da278000f00a927..."} 
[2026-07-07 04:52:06] local.INFO: Packet analysis {"connection_id":124129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ba"} 
[2026-07-07 04:52:06] local.INFO: Extracted packet for processing {"connection_id":124129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ba"} 
[2026-07-07 04:52:06] local.INFO: GPS Element Parsed {"raw_longitude":761622720,"raw_latitude":105751160,"longitude_deg":76.162272,"latitude_deg":10.575116,"altitude":15,"angle":169,"satellites":39,"speed":26,"hex_longitude":"2d6570c0","hex_latitude":"064da278","is_valid_coordinates":true} 
[2026-07-07 04:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545269248001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340549039231598592,"note":"Value kept but may cause issues"} 
[2026-07-07 04:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7307231159971532800,"note":"Value kept but may cause issues"} 
[2026-07-07 04:52: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-07-07 04:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783379972000,"timestamp_ms":1783379972000,"timestamp_seconds":1783379972,"priority":1,"record_length":96,"hex_timestamp":"0000019f39bacfa0"} 
[2026-07-07 04:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 04:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545269248001,"66":27213,"79":19712,"24":26,"16":340549039231598592,"45":7307231159971532800},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-07-07 04:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545269248001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:52:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340549039231598592,"km_value":340549039231598.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7307231159971532800,"description":"Unknown IO ID 45"} 
[2026-07-07 04:52:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456545269248001,"power":27213,"unknown_79":19712,"ignition":26,"odometer":null,"unknown_45":7307231159971532800}} 
[2026-07-07 04:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":124129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:52:06] local.INFO: GPS data processed {"connection_id":124129,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:52:06] local.INFO: Acknowledgment sent {"connection_id":124129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:52:37] local.INFO: TCP Data received {"connection_id":124129,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39bb0650012d657880064d7fd8001100a829..."} 
[2026-07-07 04:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39bb0650012d657880064d7fd8001100a829..."} 
[2026-07-07 04:52:37] local.INFO: Processing buffer {"connection_id":124129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39bb0650012d657880064d7fd8001100a829..."} 
[2026-07-07 04:52:37] local.INFO: Packet analysis {"connection_id":124129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39bb"} 
[2026-07-07 04:52:37] local.INFO: Extracted packet for processing {"connection_id":124129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39bb"} 
[2026-07-07 04:52:37] local.INFO: GPS Element Parsed {"raw_longitude":761624704,"raw_latitude":105742296,"longitude_deg":76.1624704,"latitude_deg":10.5742296,"altitude":17,"angle":168,"satellites":41,"speed":26,"hex_longitude":"2d657880","hex_latitude":"064d7fd8","is_valid_coordinates":true} 
[2026-07-07 04:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545272832001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340549481613230080,"note":"Value kept but may cause issues"} 
[2026-07-07 04:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7309553328527144960,"note":"Value kept but may cause issues"} 
[2026-07-07 04:52:37] 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-07-07 04:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783379986000,"timestamp_ms":1783379986000,"timestamp_seconds":1783379986,"priority":1,"record_length":96,"hex_timestamp":"0000019f39bb0650"} 
[2026-07-07 04:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 04:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:52: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-07-07 04:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545272832001,"66":27321,"79":19712,"24":26,"16":340549481613230080,"45":7309553328527144960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-07-07 04:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545272832001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:52:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340549481613230080,"km_value":340549481613230.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7309553328527144960,"description":"Unknown IO ID 45"} 
[2026-07-07 04:52:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456545272832001,"power":27321,"unknown_79":19712,"ignition":26,"odometer":null,"unknown_45":7309553328527144960}} 
[2026-07-07 04:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":124129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:52:37] local.INFO: GPS data processed {"connection_id":124129,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:52:37] local.INFO: Acknowledgment sent {"connection_id":124129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:53:01] local.INFO: TCP Data received {"connection_id":124020,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:53:01] local.INFO: Processing buffer {"connection_id":124020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:53:01] local.INFO: IMEI packet received {"connection_id":124020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":124020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:53:05] local.INFO: TCP Data received {"connection_id":124020,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:53:05] local.INFO: Processing buffer {"connection_id":124020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:53:05] local.INFO: IMEI packet received {"connection_id":124020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":124020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:53:10] local.INFO: TCP Data received {"connection_id":124020,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:53:10] local.INFO: Processing buffer {"connection_id":124020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:53:10] local.INFO: IMEI packet received {"connection_id":124020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":124020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:53:12] local.INFO: TCP Data received {"connection_id":124020,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39bb3918012d6580c0064d5db8001100a629..."} 
[2026-07-07 04:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39bb3918012d6580c0064d5db8001100a629..."} 
[2026-07-07 04:53:12] local.INFO: Processing buffer {"connection_id":124020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39bb3918012d6580c0064d5db8001100a629..."} 
[2026-07-07 04:53:12] local.INFO: Packet analysis {"connection_id":124020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39bb"} 
[2026-07-07 04:53:12] local.INFO: Extracted packet for processing {"connection_id":124020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39bb"} 
[2026-07-07 04:53:12] local.INFO: GPS Element Parsed {"raw_longitude":761626816,"raw_latitude":105733560,"longitude_deg":76.1626816,"latitude_deg":10.573356,"altitude":17,"angle":166,"satellites":41,"speed":26,"hex_longitude":"2d6580c0","hex_latitude":"064d5db8","is_valid_coordinates":true} 
[2026-07-07 04:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545276416001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340549919699894272,"note":"Value kept but may cause issues"} 
[2026-07-07 04:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7311734759594383360,"note":"Value kept but may cause issues"} 
[2026-07-07 04:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783379999000,"timestamp_ms":1783379999000,"timestamp_seconds":1783379999,"priority":1,"record_length":96,"hex_timestamp":"0000019f39bb3918"} 
[2026-07-07 04:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 04:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545276416001,"66":27332,"69":206,"79":19712,"24":26,"16":340549919699894272,"45":7311734759594383360},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,79,24,16,45]} 
[2026-07-07 04:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545276416001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:53:12] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-07 04:53:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340549919699894272,"km_value":340549919699894.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7311734759594383360,"description":"Unknown IO ID 45"} 
[2026-07-07 04:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545276416001,"power":27332,"unknown_69":206,"unknown_79":19712,"ignition":26,"odometer":null,"unknown_45":7311734759594383360}} 
[2026-07-07 04:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":124020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:53:12] local.INFO: GPS data processed {"connection_id":124020,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:53:12] local.INFO: Acknowledgment sent {"connection_id":124020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:53:15] local.INFO: TCP Data received {"connection_id":124020,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39bb6fc8012d658980064d3948001200a629..."} 
[2026-07-07 04:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39bb6fc8012d658980064d3948001200a629..."} 
[2026-07-07 04:53:15] local.INFO: Processing buffer {"connection_id":124020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39bb6fc8012d658980064d3948001200a629..."} 
[2026-07-07 04:53:15] local.INFO: Packet analysis {"connection_id":124020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39bb"} 
[2026-07-07 04:53:15] local.INFO: Extracted packet for processing {"connection_id":124020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39bb"} 
[2026-07-07 04:53:15] local.INFO: GPS Element Parsed {"raw_longitude":761629056,"raw_latitude":105724232,"longitude_deg":76.1629056,"latitude_deg":10.5724232,"altitude":18,"angle":166,"satellites":41,"speed":30,"hex_longitude":"2d658980","hex_latitude":"064d3948","is_valid_coordinates":true} 
[2026-07-07 04:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545279744001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340550383556362240,"note":"Value kept but may cause issues"} 
[2026-07-07 04:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7314056928150009856,"note":"Value kept but may cause issues"} 
[2026-07-07 04:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783380013000,"timestamp_ms":1783380013000,"timestamp_seconds":1783380013,"priority":1,"record_length":96,"hex_timestamp":"0000019f39bb6fc8"} 
[2026-07-07 04:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:53: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-07-07 04:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 04:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545279744001,"66":27463,"69":206,"79":19712,"24":30,"16":340550383556362240,"45":7314056928150009856},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,79,24,16,45]} 
[2026-07-07 04:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545279744001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:53:15] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-07 04:53:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340550383556362240,"km_value":340550383556362.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7314056928150009856,"description":"Unknown IO ID 45"} 
[2026-07-07 04:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545279744001,"power":27463,"unknown_69":206,"unknown_79":19712,"ignition":30,"odometer":null,"unknown_45":7314056928150009856}} 
[2026-07-07 04:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":124020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:53:15] local.INFO: GPS data processed {"connection_id":124020,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:53:15] local.INFO: Acknowledgment sent {"connection_id":124020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:53:40] local.INFO: TCP Data received {"connection_id":126046,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126046,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:53:40] local.INFO: Processing buffer {"connection_id":126046,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:53:40] local.INFO: IMEI packet received {"connection_id":126046,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 04:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":126046,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:54:00] local.INFO: TCP Data received {"connection_id":124798,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:54:00] local.INFO: Processing buffer {"connection_id":124798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 04:54:00] local.INFO: IMEI packet received {"connection_id":124798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 04:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":124798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:54:00] local.INFO: TCP Data received {"connection_id":124021,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:54:00] local.INFO: Processing buffer {"connection_id":124021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:54:00] local.INFO: IMEI packet received {"connection_id":124021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":124021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:54:01] local.INFO: TCP Data received {"connection_id":124021,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:54:01] local.INFO: Processing buffer {"connection_id":124021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:54:01] local.INFO: IMEI packet received {"connection_id":124021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":124021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:54:02] local.INFO: TCP Data received {"connection_id":124021,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39bda630012d664780064bdf980014008e28..."} 
[2026-07-07 04:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39bda630012d664780064bdf980014008e28..."} 
[2026-07-07 04:54:02] local.INFO: Processing buffer {"connection_id":124021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39bda630012d664780064bdf980014008e28..."} 
[2026-07-07 04:54:02] local.INFO: Packet analysis {"connection_id":124021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39bd"} 
[2026-07-07 04:54:02] local.INFO: Extracted packet for processing {"connection_id":124021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39bd"} 
[2026-07-07 04:54:02] local.INFO: GPS Element Parsed {"raw_longitude":761677696,"raw_latitude":105635736,"longitude_deg":76.1677696,"latitude_deg":10.5635736,"altitude":20,"angle":142,"satellites":40,"speed":25,"hex_longitude":"2d664780","hex_latitude":"064bdf98","is_valid_coordinates":true} 
[2026-07-07 04:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545316608001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340555309883850752,"note":"Value kept but may cause issues"} 
[2026-07-07 04:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7363737261516232704,"note":"Value kept but may cause issues"} 
[2026-07-07 04:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783380158000,"timestamp_ms":1783380158000,"timestamp_seconds":1783380158,"priority":1,"record_length":96,"hex_timestamp":"0000019f39bda630"} 
[2026-07-07 04:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 04:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545316608001,"66":27517,"51":206,"79":19712,"24":25,"16":340555309883850752,"45":7363737261516232704},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-07-07 04:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545316608001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:54:02] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-07 04:54:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340555309883850752,"km_value":340555309883850.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7363737261516232704,"description":"Unknown IO ID 45"} 
[2026-07-07 04:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545316608001,"power":27517,"unknown_51":206,"unknown_79":19712,"ignition":25,"odometer":null,"unknown_45":7363737261516232704}} 
[2026-07-07 04:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":124021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:54:02] local.INFO: GPS data processed {"connection_id":124021,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:54:02] local.INFO: Acknowledgment sent {"connection_id":124021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:54:07] local.INFO: TCP Data received {"connection_id":124021,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39bde4b0012d665e40064bc248001a008f27..."} 
[2026-07-07 04:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39bde4b0012d665e40064bc248001a008f27..."} 
[2026-07-07 04:54:07] local.INFO: Processing buffer {"connection_id":124021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39bde4b0012d665e40064bc248001a008f27..."} 
[2026-07-07 04:54:07] local.INFO: Packet analysis {"connection_id":124021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39bd"} 
[2026-07-07 04:54:07] local.INFO: Extracted packet for processing {"connection_id":124021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39bd"} 
[2026-07-07 04:54:07] local.INFO: GPS Element Parsed {"raw_longitude":761683520,"raw_latitude":105628232,"longitude_deg":76.168352,"latitude_deg":10.5628232,"altitude":26,"angle":143,"satellites":39,"speed":23,"hex_longitude":"2d665e40","hex_latitude":"064bc248","is_valid_coordinates":true} 
[2026-07-07 04:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545320448001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340555769445351424,"note":"Value kept but may cause issues"} 
[2026-07-07 04:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7370000079746209792,"note":"Value kept but may cause issues"} 
[2026-07-07 04:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783380174000,"timestamp_ms":1783380174000,"timestamp_seconds":1783380174,"priority":1,"record_length":96,"hex_timestamp":"0000019f39bde4b0"} 
[2026-07-07 04:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 04:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:54: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-07-07 04:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545320448001,"66":27593,"51":206,"79":19712,"24":23,"16":340555769445351424,"45":7370000079746209792},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-07-07 04:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545320448001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:54:07] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-07 04:54:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340555769445351424,"km_value":340555769445351.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7370000079746209792,"description":"Unknown IO ID 45"} 
[2026-07-07 04:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545320448001,"power":27593,"unknown_51":206,"unknown_79":19712,"ignition":23,"odometer":null,"unknown_45":7370000079746209792}} 
[2026-07-07 04:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":124021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:54:07] local.INFO: GPS data processed {"connection_id":124021,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:54:07] local.INFO: Acknowledgment sent {"connection_id":124021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:54:38] local.INFO: TCP Data received {"connection_id":124021,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39be1390012d667300064ba630001b008e28..."} 
[2026-07-07 04:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39be1390012d667300064ba630001b008e28..."} 
[2026-07-07 04:54:38] local.INFO: Processing buffer {"connection_id":124021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39be1390012d667300064ba630001b008e28..."} 
[2026-07-07 04:54:38] local.INFO: Packet analysis {"connection_id":124021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39be"} 
[2026-07-07 04:54:38] local.INFO: Extracted packet for processing {"connection_id":124021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39be"} 
[2026-07-07 04:54:38] local.INFO: GPS Element Parsed {"raw_longitude":761688832,"raw_latitude":105621040,"longitude_deg":76.1688832,"latitude_deg":10.562104,"altitude":27,"angle":142,"satellites":40,"speed":38,"hex_longitude":"2d667300","hex_latitude":"064ba630","is_valid_coordinates":true} 
[2026-07-07 04:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545324544001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340556198942081024,"note":"Value kept but may cause issues"} 
[2026-07-07 04:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7376403635464456192,"note":"Value kept but may cause issues"} 
[2026-07-07 04:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783380186000,"timestamp_ms":1783380186000,"timestamp_seconds":1783380186,"priority":1,"record_length":96,"hex_timestamp":"0000019f39be1390"} 
[2026-07-07 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-07-07 04:54: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-07-07 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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 04:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 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-07-07 04:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:54: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-07-07 04:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545324544001,"66":27571,"50":206,"79":19712,"24":38,"16":340556198942081024,"45":7376403635464456192},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,79,24,16,45]} 
[2026-07-07 04:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545324544001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:54:38] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-07 04:54:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340556198942081024,"km_value":340556198942081.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7376403635464456192,"description":"Unknown IO ID 45"} 
[2026-07-07 04:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545324544001,"power":27571,"unknown_50":206,"unknown_79":19712,"ignition":38,"odometer":null,"unknown_45":7376403635464456192}} 
[2026-07-07 04:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":124021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:54:38] local.INFO: GPS data processed {"connection_id":124021,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:54:38] local.INFO: Acknowledgment sent {"connection_id":124021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:55:00] local.INFO: TCP Data received {"connection_id":124022,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:55:00] local.INFO: Processing buffer {"connection_id":124022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:55:00] local.INFO: IMEI packet received {"connection_id":124022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":124022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:55:02] local.INFO: TCP Data received {"connection_id":124022,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:55:02] local.INFO: Processing buffer {"connection_id":124022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:55:02] local.INFO: IMEI packet received {"connection_id":124022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":124022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:55:05] local.INFO: TCP Data received {"connection_id":124022,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39be36b8012d6689c0064b87d0001a009024..."} 
[2026-07-07 04:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39be36b8012d6689c0064b87d0001a009024..."} 
[2026-07-07 04:55:05] local.INFO: Processing buffer {"connection_id":124022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39be36b8012d6689c0064b87d0001a009024..."} 
[2026-07-07 04:55:05] local.INFO: Packet analysis {"connection_id":124022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39be"} 
[2026-07-07 04:55:05] local.INFO: Extracted packet for processing {"connection_id":124022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39be"} 
[2026-07-07 04:55:05] local.INFO: GPS Element Parsed {"raw_longitude":761694656,"raw_latitude":105613264,"longitude_deg":76.1694656,"latitude_deg":10.5613264,"altitude":26,"angle":144,"satellites":36,"speed":46,"hex_longitude":"2d6689c0","hex_latitude":"064b87d0","is_valid_coordinates":true} 
[2026-07-07 04:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545327616001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340556667093516288,"note":"Value kept but may cause issues"} 
[2026-07-07 04:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7382244241229361152,"note":"Value kept but may cause issues"} 
[2026-07-07 04:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783380195000,"timestamp_ms":1783380195000,"timestamp_seconds":1783380195,"priority":1,"record_length":96,"hex_timestamp":"0000019f39be36b8"} 
[2026-07-07 04:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 04:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545327616001,"66":27517,"50":206,"79":19712,"24":46,"16":340556667093516288,"45":7382244241229361152},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,79,24,16,45]} 
[2026-07-07 04:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545327616001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:55:05] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-07 04:55:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340556667093516288,"km_value":340556667093516.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7382244241229361152,"description":"Unknown IO ID 45"} 
[2026-07-07 04:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545327616001,"power":27517,"unknown_50":206,"unknown_79":19712,"ignition":46,"odometer":null,"unknown_45":7382244241229361152}} 
[2026-07-07 04:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":124022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:55:05] local.INFO: GPS data processed {"connection_id":124022,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:55:05] local.INFO: Acknowledgment sent {"connection_id":124022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:55:14] local.INFO: TCP Data received {"connection_id":124022,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39be55f8012d66a100064b6870001a008d20..."} 
[2026-07-07 04:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39be55f8012d66a100064b6870001a008d20..."} 
[2026-07-07 04:55:14] local.INFO: Processing buffer {"connection_id":124022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39be55f8012d66a100064b6870001a008d20..."} 
[2026-07-07 04:55:14] local.INFO: Packet analysis {"connection_id":124022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39be"} 
[2026-07-07 04:55:14] local.INFO: Extracted packet for processing {"connection_id":124022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39be"} 
[2026-07-07 04:55:14] local.INFO: GPS Element Parsed {"raw_longitude":761700608,"raw_latitude":105605232,"longitude_deg":76.1700608,"latitude_deg":10.5605232,"altitude":26,"angle":141,"satellites":32,"speed":50,"hex_longitude":"2d66a100","hex_latitude":"064b6870","is_valid_coordinates":true} 
[2026-07-07 04: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-07-07 04:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545329920001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340557148129853440,"note":"Value kept but may cause issues"} 
[2026-07-07 04:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7388647796947537920,"note":"Value kept but may cause issues"} 
[2026-07-07 04:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783380203000,"timestamp_ms":1783380203000,"timestamp_seconds":1783380203,"priority":1,"record_length":96,"hex_timestamp":"0000019f39be55f8"} 
[2026-07-07 04:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:55: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-07-07 04: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 04:55: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-07-07 04: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-07-07 04:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:55: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-07-07 04:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545329920001,"66":27484,"50":206,"79":19712,"24":50,"16":340557148129853440,"45":7388647796947537920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,79,24,16,45]} 
[2026-07-07 04:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545329920001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:55:14] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-07 04:55:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340557148129853440,"km_value":340557148129853.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":7388647796947537920,"description":"Unknown IO ID 45"} 
[2026-07-07 04:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545329920001,"power":27484,"unknown_50":206,"unknown_79":19712,"ignition":50,"odometer":null,"unknown_45":7388647796947537920}} 
[2026-07-07 04:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":124022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:55:15] local.INFO: GPS data processed {"connection_id":124022,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:55:15] local.INFO: Acknowledgment sent {"connection_id":124022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:56:00] local.INFO: TCP Data received {"connection_id":124799,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:56:00] local.INFO: Processing buffer {"connection_id":124799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:56:00] local.INFO: IMEI packet received {"connection_id":124799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":124799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:56:00] local.INFO: TCP Data received {"connection_id":124799,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:56:00] local.INFO: Processing buffer {"connection_id":124799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:56:00] local.INFO: IMEI packet received {"connection_id":124799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":124799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:56:05] local.INFO: TCP Data received {"connection_id":124799,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:56:05] local.INFO: Processing buffer {"connection_id":124799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:56:05] local.INFO: IMEI packet received {"connection_id":124799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":124799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:56:06] local.INFO: TCP Data received {"connection_id":124799,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39bfc910012d6745c00649ff10001000ac27..."} 
[2026-07-07 04:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39bfc910012d6745c00649ff10001000ac27..."} 
[2026-07-07 04:56:06] local.INFO: Processing buffer {"connection_id":124799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39bfc910012d6745c00649ff10001000ac27..."} 
[2026-07-07 04:56:06] local.INFO: Packet analysis {"connection_id":124799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39bf"} 
[2026-07-07 04:56:06] local.INFO: Extracted packet for processing {"connection_id":124799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39bf"} 
[2026-07-07 04:56:06] local.INFO: GPS Element Parsed {"raw_longitude":761742784,"raw_latitude":105512720,"longitude_deg":76.1742784,"latitude_deg":10.551272,"altitude":16,"angle":172,"satellites":39,"speed":50,"hex_longitude":"2d6745c0","hex_latitude":"0649ff10","is_valid_coordinates":true} 
[2026-07-07 04:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545354496001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340562190421458944,"note":"Value kept but may cause issues"} 
[2026-07-07 04:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7440157717662189568,"note":"Value kept but may cause issues"} 
[2026-07-07 04:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783380298000,"timestamp_ms":1783380298000,"timestamp_seconds":1783380298,"priority":1,"record_length":96,"hex_timestamp":"0000019f39bfc910"} 
[2026-07-07 04:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 04:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545354496001,"66":27539,"76":206,"79":19712,"24":50,"16":340562190421458944,"45":7440157717662189568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,79,24,16,45]} 
[2026-07-07 04:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545354496001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:56:06] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-07 04:56:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340562190421458944,"km_value":340562190421458.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7440157717662189568,"description":"Unknown IO ID 45"} 
[2026-07-07 04:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545354496001,"power":27539,"unknown_76":206,"unknown_79":19712,"ignition":50,"odometer":null,"unknown_45":7440157717662189568}} 
[2026-07-07 04:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":124799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:56:06] local.INFO: GPS data processed {"connection_id":124799,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:56:06] local.INFO: Acknowledgment sent {"connection_id":124799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:56:37] local.INFO: TCP Data received {"connection_id":124799,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39bfe850012d674ec00649d9580010009f26..."} 
[2026-07-07 04:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39bfe850012d674ec00649d9580010009f26..."} 
[2026-07-07 04:56:37] local.INFO: Processing buffer {"connection_id":124799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39bfe850012d674ec00649d9580010009f26..."} 
[2026-07-07 04:56:37] local.INFO: Packet analysis {"connection_id":124799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39bf"} 
[2026-07-07 04:56:37] local.INFO: Extracted packet for processing {"connection_id":124799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39bf"} 
[2026-07-07 04:56:37] local.INFO: GPS Element Parsed {"raw_longitude":761745088,"raw_latitude":105503064,"longitude_deg":76.1745088,"latitude_deg":10.5503064,"altitude":16,"angle":159,"satellites":38,"speed":48,"hex_longitude":"2d674ec0","hex_latitude":"0649d958","is_valid_coordinates":true} 
[2026-07-07 04:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545356288001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340562671457796096,"note":"Value kept but may cause issues"} 
[2026-07-07 04:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7441565092543401984,"note":"Value kept but may cause issues"} 
[2026-07-07 04:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783380306000,"timestamp_ms":1783380306000,"timestamp_seconds":1783380306,"priority":1,"record_length":96,"hex_timestamp":"0000019f39bfe850"} 
[2026-07-07 04:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 04:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545356288001,"66":27539,"76":206,"79":19712,"24":48,"16":340562671457796096,"45":7441565092543401984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,79,24,16,45]} 
[2026-07-07 04:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545356288001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:56:37] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-07 04:56:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340562671457796096,"km_value":340562671457796.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7441565092543401984,"description":"Unknown IO ID 45"} 
[2026-07-07 04:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545356288001,"power":27539,"unknown_76":206,"unknown_79":19712,"ignition":48,"odometer":null,"unknown_45":7441565092543401984}} 
[2026-07-07 04:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":124799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:56:37] local.INFO: GPS data processed {"connection_id":124799,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:56:37] local.INFO: Acknowledgment sent {"connection_id":124799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:57:00] local.INFO: TCP Data received {"connection_id":124024,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:57:00] local.INFO: Processing buffer {"connection_id":124024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:57:00] local.INFO: IMEI packet received {"connection_id":124024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":124024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:57:04] local.INFO: TCP Data received {"connection_id":124024,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:57:04] local.INFO: Processing buffer {"connection_id":124024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:57:04] local.INFO: IMEI packet received {"connection_id":124024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":124024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:57:05] local.INFO: TCP Data received {"connection_id":124024,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39bfe850012d674ec00649d9580010009f26..."} 
[2026-07-07 04:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39bfe850012d674ec00649d9580010009f26..."} 
[2026-07-07 04:57:05] local.INFO: Processing buffer {"connection_id":124024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39bfe850012d674ec00649d9580010009f26..."} 
[2026-07-07 04:57:05] local.INFO: Packet analysis {"connection_id":124024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39bf"} 
[2026-07-07 04:57:05] local.INFO: Extracted packet for processing {"connection_id":124024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39bf"} 
[2026-07-07 04:57:05] local.INFO: GPS Element Parsed {"raw_longitude":761745088,"raw_latitude":105503064,"longitude_deg":76.1745088,"latitude_deg":10.5503064,"altitude":16,"angle":159,"satellites":38,"speed":48,"hex_longitude":"2d674ec0","hex_latitude":"0649d958","is_valid_coordinates":true} 
[2026-07-07 04:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545358336001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340562671457796096,"note":"Value kept but may cause issues"} 
[2026-07-07 04:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7444098367331325952,"note":"Value kept but may cause issues"} 
[2026-07-07 04:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783380306000,"timestamp_ms":1783380306000,"timestamp_seconds":1783380306,"priority":1,"record_length":96,"hex_timestamp":"0000019f39bfe850"} 
[2026-07-07 04:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 04: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 04:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545358336001,"66":27539,"76":206,"79":19712,"24":48,"16":340562671457796096,"45":7444098367331325952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,79,24,16,45]} 
[2026-07-07 04:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545358336001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:57:05] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-07 04:57:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340562671457796096,"km_value":340562671457796.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7444098367331325952,"description":"Unknown IO ID 45"} 
[2026-07-07 04:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545358336001,"power":27539,"unknown_76":206,"unknown_79":19712,"ignition":48,"odometer":null,"unknown_45":7444098367331325952}} 
[2026-07-07 04:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":124024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:57:05] local.INFO: GPS data processed {"connection_id":124024,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:57:05] local.INFO: Acknowledgment sent {"connection_id":124024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:57:36] local.INFO: TCP Data received {"connection_id":124024,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c00790012d675e000649b870000f009926..."} 
[2026-07-07 04:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c00790012d675e000649b870000f009926..."} 
[2026-07-07 04:57:36] local.INFO: Processing buffer {"connection_id":124024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c00790012d675e000649b870000f009926..."} 
[2026-07-07 04:57:36] local.INFO: Packet analysis {"connection_id":124024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c0"} 
[2026-07-07 04:57:36] local.INFO: Extracted packet for processing {"connection_id":124024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c0"} 
[2026-07-07 04:57:36] local.INFO: GPS Element Parsed {"raw_longitude":761748992,"raw_latitude":105494640,"longitude_deg":76.1748992,"latitude_deg":10.549464,"altitude":15,"angle":153,"satellites":38,"speed":43,"hex_longitude":"2d675e00","hex_latitude":"0649b870","is_valid_coordinates":true} 
[2026-07-07 04:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545358336001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340563118134394880,"note":"Value kept but may cause issues"} 
[2026-07-07 04:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7444098367331325952,"note":"Value kept but may cause issues"} 
[2026-07-07 04:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783380314000,"timestamp_ms":1783380314000,"timestamp_seconds":1783380314,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c00790"} 
[2026-07-07 04:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:57: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-07-07 04:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 04:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545358336001,"66":27539,"76":206,"79":19712,"24":43,"16":340563118134394880,"45":7444098367331325952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,79,24,16,45]} 
[2026-07-07 04:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545358336001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:57:36] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-07 04:57:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340563118134394880,"km_value":340563118134394.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7444098367331325952,"description":"Unknown IO ID 45"} 
[2026-07-07 04:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545358336001,"power":27539,"unknown_76":206,"unknown_79":19712,"ignition":43,"odometer":null,"unknown_45":7444098367331325952}} 
[2026-07-07 04:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":124024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:57:36] local.INFO: GPS data processed {"connection_id":124024,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:57:36] local.INFO: Acknowledgment sent {"connection_id":124024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:58:05] local.INFO: TCP Data received {"connection_id":126047,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:58:05] local.INFO: Processing buffer {"connection_id":126047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:58:05] local.INFO: IMEI packet received {"connection_id":126047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":126047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:58:05] local.INFO: TCP Data received {"connection_id":126047,"ip":"42.106.6.39","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 04:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126047,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 04:58:05] local.INFO: Processing buffer {"connection_id":126047,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 04:58:05] local.INFO: IMEI packet received {"connection_id":126047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":126047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:58:06] local.INFO: TCP Data received {"connection_id":126047,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c1a1b8012d68ae000648d4780005007328..."} 
[2026-07-07 04:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c1a1b8012d68ae000648d4780005007328..."} 
[2026-07-07 04:58:06] local.INFO: Processing buffer {"connection_id":126047,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f39..."} 
[2026-07-07 04:58:06] local.INFO: IMEI packet received {"connection_id":126047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":126047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:58:10] local.INFO: TCP Data received {"connection_id":126047,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c1ccb0012d68d0c00648c5a80005006f29..."} 
[2026-07-07 04:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c1ccb0012d68d0c00648c5a80005006f29..."} 
[2026-07-07 04:58:10] local.INFO: Processing buffer {"connection_id":126047,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f39c1a1b8012d68ae000648d4780005007328..."} 
[2026-07-07 04:58:10] local.INFO: Packet analysis {"connection_id":126047,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f39c1"} 
[2026-07-07 04:58:10] local.INFO: Extracted packet for processing {"connection_id":126047,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c1"} 
[2026-07-07 04:58:10] local.INFO: GPS Element Parsed {"raw_longitude":761835008,"raw_latitude":105436280,"longitude_deg":76.1835008,"latitude_deg":10.543628,"altitude":5,"angle":115,"satellites":40,"speed":34,"hex_longitude":"2d68ae00","hex_latitude":"0648d478","is_valid_coordinates":true} 
[2026-07-07 04:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545384448001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340568169015934976,"note":"Value kept but may cause issues"} 
[2026-07-07 04:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7534029622374260736,"note":"Value kept but may cause issues"} 
[2026-07-07 04:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783380419000,"timestamp_ms":1783380419000,"timestamp_seconds":1783380419,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c1a1b8"} 
[2026-07-07 04:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:58: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-07-07 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 04:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04: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-07-07 04:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545384448001,"66":27484,"212":206,"79":19712,"24":34,"16":340568169015934976,"45":7534029622374260736},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,79,24,16,45]} 
[2026-07-07 04:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545384448001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:58:10] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-07-07 04:58:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340568169015934976,"km_value":340568169015935.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7534029622374260736,"description":"Unknown IO ID 45"} 
[2026-07-07 04:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545384448001,"power":27484,"unknown_212":206,"unknown_79":19712,"ignition":34,"odometer":null,"unknown_45":7534029622374260736}} 
[2026-07-07 04:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":126047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:58:10] local.INFO: GPS data processed {"connection_id":126047,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:58:10] local.INFO: Acknowledgment sent {"connection_id":126047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:58:10] local.INFO: Packet analysis {"connection_id":126047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c1"} 
[2026-07-07 04:58:10] local.INFO: Extracted packet for processing {"connection_id":126047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c1"} 
[2026-07-07 04:58:10] local.INFO: GPS Element Parsed {"raw_longitude":761843904,"raw_latitude":105432488,"longitude_deg":76.1843904,"latitude_deg":10.5432488,"altitude":5,"angle":111,"satellites":41,"speed":31,"hex_longitude":"2d68d0c0","hex_latitude":"0648c5a8","is_valid_coordinates":true} 
[2026-07-07 04:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545387264001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340568628577435648,"note":"Value kept but may cause issues"} 
[2026-07-07 04:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7542966452883847168,"note":"Value kept but may cause issues"} 
[2026-07-07 04:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783380430000,"timestamp_ms":1783380430000,"timestamp_seconds":1783380430,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c1ccb0"} 
[2026-07-07 04:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:58: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-07-07 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 04:58: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-07-07 04:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04: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-07-07 04:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545387264001,"66":27604,"212":206,"79":19712,"24":31,"16":340568628577435648,"45":7542966452883847168},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,79,24,16,45]} 
[2026-07-07 04:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545387264001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:58:10] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-07-07 04:58:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340568628577435648,"km_value":340568628577435.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7542966452883847168,"description":"Unknown IO ID 45"} 
[2026-07-07 04:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545387264001,"power":27604,"unknown_212":206,"unknown_79":19712,"ignition":31,"odometer":null,"unknown_45":7542966452883847168}} 
[2026-07-07 04:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":126047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:58:10] local.INFO: GPS data processed {"connection_id":126047,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:58:10] local.INFO: Acknowledgment sent {"connection_id":126047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:58:42] local.INFO: TCP Data received {"connection_id":126047,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c1f7a8012d68f1000648b7a00005006f28..."} 
[2026-07-07 04:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c1f7a8012d68f1000648b7a00005006f28..."} 
[2026-07-07 04:58:42] local.INFO: Processing buffer {"connection_id":126047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c1f7a8012d68f1000648b7a00005006f28..."} 
[2026-07-07 04:58:42] local.INFO: Packet analysis {"connection_id":126047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c1"} 
[2026-07-07 04:58:42] local.INFO: Extracted packet for processing {"connection_id":126047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c1"} 
[2026-07-07 04:58:42] local.INFO: GPS Element Parsed {"raw_longitude":761852160,"raw_latitude":105428896,"longitude_deg":76.185216,"latitude_deg":10.5428896,"altitude":5,"angle":111,"satellites":40,"speed":36,"hex_longitude":"2d68f100","hex_latitude":"0648b7a0","is_valid_coordinates":true} 
[2026-07-07 04:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545390080001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340569062369132544,"note":"Value kept but may cause issues"} 
[2026-07-07 04:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7552747708323571712,"note":"Value kept but may cause issues"} 
[2026-07-07 04:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783380441000,"timestamp_ms":1783380441000,"timestamp_seconds":1783380441,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c1f7a8"} 
[2026-07-07 04:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:58: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-07-07 04:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 04:58:42] 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-07-07 04:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04: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-07-07 04:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545390080001,"66":26832,"212":206,"79":19712,"24":36,"16":340569062369132544,"45":7552747708323571712},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,79,24,16,45]} 
[2026-07-07 04:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545390080001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:58:42] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-07-07 04:58:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340569062369132544,"km_value":340569062369132.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7552747708323571712,"description":"Unknown IO ID 45"} 
[2026-07-07 04:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545390080001,"power":26832,"unknown_212":206,"unknown_79":19712,"ignition":36,"odometer":null,"unknown_45":7552747708323571712}} 
[2026-07-07 04:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":126047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:58:42] local.INFO: GPS data processed {"connection_id":126047,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:58:42] local.INFO: Acknowledgment sent {"connection_id":126047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:59:00] local.INFO: TCP Data received {"connection_id":124026,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:59:00] local.INFO: Processing buffer {"connection_id":124026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:59:00] local.INFO: IMEI packet received {"connection_id":124026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 04:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":124026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 04:59:05] local.INFO: TCP Data received {"connection_id":124026,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:59:05] local.INFO: Processing buffer {"connection_id":124026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 04:59:05] local.INFO: IMEI packet received {"connection_id":124026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 04:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":124026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 04:59:06] local.INFO: TCP Data received {"connection_id":124026,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c21eb8012d6914400648a9880005007027..."} 
[2026-07-07 04:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c21eb8012d6914400648a9880005007027..."} 
[2026-07-07 04:59:06] local.INFO: Processing buffer {"connection_id":124026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c21eb8012d6914400648a9880005007027..."} 
[2026-07-07 04:59:06] local.INFO: Packet analysis {"connection_id":124026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c2"} 
[2026-07-07 04:59:06] local.INFO: Extracted packet for processing {"connection_id":124026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c2"} 
[2026-07-07 04:59:06] local.INFO: GPS Element Parsed {"raw_longitude":761861184,"raw_latitude":105425288,"longitude_deg":76.1861184,"latitude_deg":10.5425288,"altitude":5,"angle":112,"satellites":39,"speed":38,"hex_longitude":"2d691440","hex_latitude":"0648a988","is_valid_coordinates":true} 
[2026-07-07 04:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545392896001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340569521930633216,"note":"Value kept but may cause issues"} 
[2026-07-07 04:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7561825276321570816,"note":"Value kept but may cause issues"} 
[2026-07-07 04:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783380451000,"timestamp_ms":1783380451000,"timestamp_seconds":1783380451,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c21eb8"} 
[2026-07-07 04:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:59: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-07-07 04: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-07-07 04:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 04:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545392896001,"66":27571,"212":206,"79":19712,"24":38,"16":340569521930633216,"45":7561825276321570816},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,79,24,16,45]} 
[2026-07-07 04:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545392896001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:59:06] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-07-07 04:59:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":19712,"description":"Unknown IO ID 79"} 
[2026-07-07 04:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340569521930633216,"km_value":340569521930633.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7561825276321570816,"description":"Unknown IO ID 45"} 
[2026-07-07 04:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545392896001,"power":27571,"unknown_212":206,"unknown_79":19712,"ignition":38,"odometer":null,"unknown_45":7561825276321570816}} 
[2026-07-07 04:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":124026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:59:06] local.INFO: GPS data processed {"connection_id":124026,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:59:06] local.INFO: Acknowledgment sent {"connection_id":124026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 04:59:37] local.INFO: TCP Data received {"connection_id":124026,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c245c8012d6935c006489b580005007028..."} 
[2026-07-07 04:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c245c8012d6935c006489b580005007028..."} 
[2026-07-07 04:59:37] local.INFO: Processing buffer {"connection_id":124026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c245c8012d6935c006489b580005007028..."} 
[2026-07-07 04:59:37] local.INFO: Packet analysis {"connection_id":124026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c2"} 
[2026-07-07 04:59:37] local.INFO: Extracted packet for processing {"connection_id":124026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c2"} 
[2026-07-07 04:59:37] local.INFO: GPS Element Parsed {"raw_longitude":761869760,"raw_latitude":105421656,"longitude_deg":76.186976,"latitude_deg":10.5421656,"altitude":5,"angle":112,"satellites":40,"speed":36,"hex_longitude":"2d6935c0","hex_latitude":"06489b58","is_valid_coordinates":true} 
[2026-07-07 04:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 04:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545395456001,"note":"Value kept but may cause issues"} 
[2026-07-07 04:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340569968607232000,"note":"Value kept but may cause issues"} 
[2026-07-07 04:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7571747269249697792,"note":"Value kept but may cause issues"} 
[2026-07-07 04:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 04:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783380461000,"timestamp_ms":1783380461000,"timestamp_seconds":1783380461,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c245c8"} 
[2026-07-07 04:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 04:59: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-07-07 04: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 04:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 04:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 04:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 04:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 04:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 04:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 04:59: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-07-07 04:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 04:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 04:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545395456001,"66":27604,"230":206,"79":46592,"24":36,"16":340569968607232000,"45":7571747269249697792},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,79,24,16,45]} 
[2026-07-07 04:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 04:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 04:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545395456001,"description":"Unknown IO ID 0"} 
[2026-07-07 04:59:37] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 04:59:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 04:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340569968607232000,"km_value":340569968607232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 04:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7571747269249697792,"description":"Unknown IO ID 45"} 
[2026-07-07 04:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545395456001,"power":27604,"unknown_230":206,"unknown_79":46592,"ignition":36,"odometer":null,"unknown_45":7571747269249697792}} 
[2026-07-07 04:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":124026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 04:59:37] local.INFO: GPS data processed {"connection_id":124026,"processed":1,"errors":0,"total":1} 
[2026-07-07 04:59:37] local.INFO: Acknowledgment sent {"connection_id":124026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:00:00] local.INFO: TCP Data received {"connection_id":124801,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:00:00] local.INFO: Processing buffer {"connection_id":124801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:00:00] local.INFO: IMEI packet received {"connection_id":124801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":124801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:00:05] local.INFO: TCP Data received {"connection_id":124801,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:00:05] local.INFO: Processing buffer {"connection_id":124801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:00:05] local.INFO: IMEI packet received {"connection_id":124801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":124801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:00:06] local.INFO: TCP Data received {"connection_id":124801,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c26cd8012d6958c006488c800006007129..."} 
[2026-07-07 05:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c26cd8012d6958c006488c800006007129..."} 
[2026-07-07 05:00:06] local.INFO: Processing buffer {"connection_id":124801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c26cd8012d6958c006488c800006007129..."} 
[2026-07-07 05:00:06] local.INFO: Packet analysis {"connection_id":124801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c2"} 
[2026-07-07 05:00:06] local.INFO: Extracted packet for processing {"connection_id":124801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c2"} 
[2026-07-07 05:00:06] local.INFO: GPS Element Parsed {"raw_longitude":761878720,"raw_latitude":105417856,"longitude_deg":76.187872,"latitude_deg":10.5417856,"altitude":6,"angle":113,"satellites":41,"speed":40,"hex_longitude":"2d6958c0","hex_latitude":"06488c80","is_valid_coordinates":true} 
[2026-07-07 05:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545398016001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340570436758667264,"note":"Value kept but may cause issues"} 
[2026-07-07 05:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7581176680968574976,"note":"Value kept but may cause issues"} 
[2026-07-07 05:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 05:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783380471000,"timestamp_ms":1783380471000,"timestamp_seconds":1783380471,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c26cd8"} 
[2026-07-07 05:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:00: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-07-07 05:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 05:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545398016001,"66":27376,"230":206,"79":46592,"24":40,"16":340570436758667264,"45":7581176680968574976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,79,24,16,45]} 
[2026-07-07 05:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545398016001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:00:06] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 05:00:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 05:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340570436758667264,"km_value":340570436758667.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7581176680968574976,"description":"Unknown IO ID 45"} 
[2026-07-07 05:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545398016001,"power":27376,"unknown_230":206,"unknown_79":46592,"ignition":40,"odometer":null,"unknown_45":7581176680968574976}} 
[2026-07-07 05:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":124801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:00:06] local.INFO: GPS data processed {"connection_id":124801,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:00:06] local.INFO: Acknowledgment sent {"connection_id":124801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:00:10] local.INFO: TCP Data received {"connection_id":124131,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:00:10] local.INFO: Processing buffer {"connection_id":124131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:00:10] local.INFO: IMEI packet received {"connection_id":124131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 05:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":124131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:00:37] local.INFO: TCP Data received {"connection_id":124801,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c29000012d69790006487e700006007128..."} 
[2026-07-07 05:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c29000012d69790006487e700006007128..."} 
[2026-07-07 05:00:37] local.INFO: Processing buffer {"connection_id":124801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c29000012d69790006487e700006007128..."} 
[2026-07-07 05:00:37] local.INFO: Packet analysis {"connection_id":124801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c2"} 
[2026-07-07 05:00:37] local.INFO: Extracted packet for processing {"connection_id":124801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c2"} 
[2026-07-07 05:00:37] local.INFO: GPS Element Parsed {"raw_longitude":761886976,"raw_latitude":105414256,"longitude_deg":76.1886976,"latitude_deg":10.5414256,"altitude":6,"angle":113,"satellites":40,"speed":39,"hex_longitude":"2d697900","hex_latitude":"06487e70","is_valid_coordinates":true} 
[2026-07-07 05:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545400576001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340570866255396864,"note":"Value kept but may cause issues"} 
[2026-07-07 05:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7591028305152475136,"note":"Value kept but may cause issues"} 
[2026-07-07 05:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 05:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783380480000,"timestamp_ms":1783380480000,"timestamp_seconds":1783380480,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c29000"} 
[2026-07-07 05:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:00: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-07-07 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 05:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:00: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-07-07 05:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545400576001,"66":27517,"230":206,"79":46592,"24":39,"16":340570866255396864,"45":7591028305152475136},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,79,24,16,45]} 
[2026-07-07 05:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545400576001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:00:37] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 05:00:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 05:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340570866255396864,"km_value":340570866255396.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7591028305152475136,"description":"Unknown IO ID 45"} 
[2026-07-07 05:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545400576001,"power":27517,"unknown_230":206,"unknown_79":46592,"ignition":39,"odometer":null,"unknown_45":7591028305152475136}} 
[2026-07-07 05:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":124801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:00:37] local.INFO: GPS data processed {"connection_id":124801,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:00:37] local.INFO: Acknowledgment sent {"connection_id":124801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:01:05] local.INFO: TCP Data received {"connection_id":124028,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:01:05] local.INFO: Processing buffer {"connection_id":124028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:01:05] local.INFO: IMEI packet received {"connection_id":124028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":124028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:01:10] local.INFO: TCP Data received {"connection_id":124028,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:01:10] local.INFO: Processing buffer {"connection_id":124028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:01:10] local.INFO: IMEI packet received {"connection_id":124028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":124028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:01:12] local.INFO: TCP Data received {"connection_id":124028,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c2b328012d6999c0064871300006007029..."} 
[2026-07-07 05:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c2b328012d6999c0064871300006007029..."} 
[2026-07-07 05:01:12] local.INFO: Processing buffer {"connection_id":124028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c2b328012d6999c0064871300006007029..."} 
[2026-07-07 05:01:12] local.INFO: Packet analysis {"connection_id":124028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c2"} 
[2026-07-07 05:01:12] local.INFO: Extracted packet for processing {"connection_id":124028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c2"} 
[2026-07-07 05:01:12] local.INFO: GPS Element Parsed {"raw_longitude":761895360,"raw_latitude":105410864,"longitude_deg":76.189536,"latitude_deg":10.5410864,"altitude":6,"angle":112,"satellites":41,"speed":40,"hex_longitude":"2d6999c0","hex_latitude":"06487130","is_valid_coordinates":true} 
[2026-07-07 05:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545402880001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340571295752126464,"note":"Value kept but may cause issues"} 
[2026-07-07 05:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7600105873150472192,"note":"Value kept but may cause issues"} 
[2026-07-07 05:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 05:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783380489000,"timestamp_ms":1783380489000,"timestamp_seconds":1783380489,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c2b328"} 
[2026-07-07 05:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:01: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-07-07 05: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 05:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545402880001,"66":27484,"230":206,"79":46592,"24":40,"16":340571295752126464,"45":7600105873150472192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,79,24,16,45]} 
[2026-07-07 05:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545402880001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:01:12] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 05:01:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 05:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340571295752126464,"km_value":340571295752126.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7600105873150472192,"description":"Unknown IO ID 45"} 
[2026-07-07 05:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545402880001,"power":27484,"unknown_230":206,"unknown_79":46592,"ignition":40,"odometer":null,"unknown_45":7600105873150472192}} 
[2026-07-07 05:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":124028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:01:12] local.INFO: GPS data processed {"connection_id":124028,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:01:12] local.INFO: Acknowledgment sent {"connection_id":124028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:01:15] local.INFO: TCP Data received {"connection_id":124028,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c2d650012d69ba80064863380006007329..."} 
[2026-07-07 05:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c2d650012d69ba80064863380006007329..."} 
[2026-07-07 05:01:15] local.INFO: Processing buffer {"connection_id":124028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c2d650012d69ba80064863380006007329..."} 
[2026-07-07 05:01:15] local.INFO: Packet analysis {"connection_id":124028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c2"} 
[2026-07-07 05:01:15] local.INFO: Extracted packet for processing {"connection_id":124028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c2"} 
[2026-07-07 05:01:15] local.INFO: GPS Element Parsed {"raw_longitude":761903744,"raw_latitude":105407288,"longitude_deg":76.1903744,"latitude_deg":10.5407288,"altitude":6,"angle":115,"satellites":41,"speed":37,"hex_longitude":"2d69ba80","hex_latitude":"06486338","is_valid_coordinates":true} 
[2026-07-07 05:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545405184001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340571733838790656,"note":"Value kept but may cause issues"} 
[2026-07-07 05:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7609324178636877824,"note":"Value kept but may cause issues"} 
[2026-07-07 05:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 05:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783380498000,"timestamp_ms":1783380498000,"timestamp_seconds":1783380498,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c2d650"} 
[2026-07-07 05:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:01: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-07-07 05: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 05:01: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-07-07 05:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545405184001,"66":27843,"230":206,"79":46592,"24":37,"16":340571733838790656,"45":7609324178636877824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,79,24,16,45]} 
[2026-07-07 05:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545405184001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:01:15] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 05:01:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 05:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340571733838790656,"km_value":340571733838790.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7609324178636877824,"description":"Unknown IO ID 45"} 
[2026-07-07 05:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545405184001,"power":27843,"unknown_230":206,"unknown_79":46592,"ignition":37,"odometer":null,"unknown_45":7609324178636877824}} 
[2026-07-07 05:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":124028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:01:15] local.INFO: GPS data processed {"connection_id":124028,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:01:15] local.INFO: Acknowledgment sent {"connection_id":124028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:02:00] local.INFO: TCP Data received {"connection_id":124802,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:02:00] local.INFO: Processing buffer {"connection_id":124802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:02:00] local.INFO: IMEI packet received {"connection_id":124802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":124802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:02:05] local.INFO: TCP Data received {"connection_id":124802,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:02:05] local.INFO: Processing buffer {"connection_id":124802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:02:05] local.INFO: IMEI packet received {"connection_id":124802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":124802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:02:06] local.INFO: TCP Data received {"connection_id":124802,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c2f590012d69d640064859000005007028..."} 
[2026-07-07 05:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c2f590012d69d640064859000005007028..."} 
[2026-07-07 05:02:06] local.INFO: Processing buffer {"connection_id":124802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c2f590012d69d640064859000005007028..."} 
[2026-07-07 05:02:06] local.INFO: Packet analysis {"connection_id":124802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c2"} 
[2026-07-07 05:02:06] local.INFO: Extracted packet for processing {"connection_id":124802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c2"} 
[2026-07-07 05:02:06] local.INFO: GPS Element Parsed {"raw_longitude":761910848,"raw_latitude":105404672,"longitude_deg":76.1910848,"latitude_deg":10.5404672,"altitude":5,"angle":112,"satellites":40,"speed":34,"hex_longitude":"2d69d640","hex_latitude":"06485900","is_valid_coordinates":true} 
[2026-07-07 05:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545407488001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340572094616043520,"note":"Value kept but may cause issues"} 
[2026-07-07 05:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7618542484123236352,"note":"Value kept but may cause issues"} 
[2026-07-07 05:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 05:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783380506000,"timestamp_ms":1783380506000,"timestamp_seconds":1783380506,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c2f590"} 
[2026-07-07 05:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:02: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-07-07 05:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 05:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545407488001,"66":27691,"230":206,"79":46592,"24":34,"16":340572094616043520,"45":7618542484123236352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,79,24,16,45]} 
[2026-07-07 05:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545407488001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:02:06] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 05:02:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 05:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340572094616043520,"km_value":340572094616043.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7618542484123236352,"description":"Unknown IO ID 45"} 
[2026-07-07 05:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545407488001,"power":27691,"unknown_230":206,"unknown_79":46592,"ignition":34,"odometer":null,"unknown_45":7618542484123236352}} 
[2026-07-07 05:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":124802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:02:06] local.INFO: GPS data processed {"connection_id":124802,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:02:06] local.INFO: Acknowledgment sent {"connection_id":124802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:02:37] local.INFO: TCP Data received {"connection_id":124802,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c2f590012d69d640064859000005007028..."} 
[2026-07-07 05:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c2f590012d69d640064859000005007028..."} 
[2026-07-07 05:02:37] local.INFO: Processing buffer {"connection_id":124802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c2f590012d69d640064859000005007028..."} 
[2026-07-07 05:02:37] local.INFO: Packet analysis {"connection_id":124802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c2"} 
[2026-07-07 05:02:37] local.INFO: Extracted packet for processing {"connection_id":124802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c2"} 
[2026-07-07 05:02:37] local.INFO: GPS Element Parsed {"raw_longitude":761910848,"raw_latitude":105404672,"longitude_deg":76.1910848,"latitude_deg":10.5404672,"altitude":5,"angle":112,"satellites":40,"speed":34,"hex_longitude":"2d69d640","hex_latitude":"06485900","is_valid_coordinates":true} 
[2026-07-07 05:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545407488001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340572094616043520,"note":"Value kept but may cause issues"} 
[2026-07-07 05:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7618542484123236352,"note":"Value kept but may cause issues"} 
[2026-07-07 05:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 05:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783380506000,"timestamp_ms":1783380506000,"timestamp_seconds":1783380506,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c2f590"} 
[2026-07-07 05:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:02: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-07-07 05: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 05:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545407488001,"66":27691,"230":206,"79":46592,"24":34,"16":340572094616043520,"45":7618542484123236352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,79,24,16,45]} 
[2026-07-07 05:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545407488001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:02:37] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 05:02:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 05:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340572094616043520,"km_value":340572094616043.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7618542484123236352,"description":"Unknown IO ID 45"} 
[2026-07-07 05:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545407488001,"power":27691,"unknown_230":206,"unknown_79":46592,"ignition":34,"odometer":null,"unknown_45":7618542484123236352}} 
[2026-07-07 05:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":124802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:02:37] local.INFO: GPS data processed {"connection_id":124802,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:02:37] local.INFO: Acknowledgment sent {"connection_id":124802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:03:00] local.INFO: TCP Data received {"connection_id":124029,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:03:00] local.INFO: Processing buffer {"connection_id":124029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:03:00] local.INFO: IMEI packet received {"connection_id":124029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":124029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:03:05] local.INFO: TCP Data received {"connection_id":124029,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:03:05] local.INFO: Processing buffer {"connection_id":124029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:03:05] local.INFO: IMEI packet received {"connection_id":124029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":124029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:03:06] local.INFO: TCP Data received {"connection_id":124029,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c2f590012d69d640064859000005007028..."} 
[2026-07-07 05:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c2f590012d69d640064859000005007028..."} 
[2026-07-07 05:03:06] local.INFO: Processing buffer {"connection_id":124029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c2f590012d69d640064859000005007028..."} 
[2026-07-07 05:03:06] local.INFO: Packet analysis {"connection_id":124029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c2"} 
[2026-07-07 05:03:06] local.INFO: Extracted packet for processing {"connection_id":124029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c2"} 
[2026-07-07 05:03:06] local.INFO: GPS Element Parsed {"raw_longitude":761910848,"raw_latitude":105404672,"longitude_deg":76.1910848,"latitude_deg":10.5404672,"altitude":5,"angle":112,"satellites":40,"speed":34,"hex_longitude":"2d69d640","hex_latitude":"06485900","is_valid_coordinates":true} 
[2026-07-07 05:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545407488001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340572094616043520,"note":"Value kept but may cause issues"} 
[2026-07-07 05:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7618542484123236352,"note":"Value kept but may cause issues"} 
[2026-07-07 05:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 05:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783380506000,"timestamp_ms":1783380506000,"timestamp_seconds":1783380506,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c2f590"} 
[2026-07-07 05:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 05:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 05:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545407488001,"66":27691,"230":206,"79":46592,"24":34,"16":340572094616043520,"45":7618542484123236352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,79,24,16,45]} 
[2026-07-07 05:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545407488001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:03:06] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 05:03:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 05:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340572094616043520,"km_value":340572094616043.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7618542484123236352,"description":"Unknown IO ID 45"} 
[2026-07-07 05:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545407488001,"power":27691,"unknown_230":206,"unknown_79":46592,"ignition":34,"odometer":null,"unknown_45":7618542484123236352}} 
[2026-07-07 05:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":124029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:03:06] local.INFO: GPS data processed {"connection_id":124029,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:03:06] local.INFO: Acknowledgment sent {"connection_id":124029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:03:37] local.INFO: TCP Data received {"connection_id":124029,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c2f590012d69d640064859000005007028..."} 
[2026-07-07 05:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c2f590012d69d640064859000005007028..."} 
[2026-07-07 05:03:37] local.INFO: Processing buffer {"connection_id":124029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c2f590012d69d640064859000005007028..."} 
[2026-07-07 05:03:37] local.INFO: Packet analysis {"connection_id":124029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c2"} 
[2026-07-07 05:03:37] local.INFO: Extracted packet for processing {"connection_id":124029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c2"} 
[2026-07-07 05:03:37] local.INFO: GPS Element Parsed {"raw_longitude":761910848,"raw_latitude":105404672,"longitude_deg":76.1910848,"latitude_deg":10.5404672,"altitude":5,"angle":112,"satellites":40,"speed":34,"hex_longitude":"2d69d640","hex_latitude":"06485900","is_valid_coordinates":true} 
[2026-07-07 05:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545407488001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340572094616043520,"note":"Value kept but may cause issues"} 
[2026-07-07 05:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7618542484123236352,"note":"Value kept but may cause issues"} 
[2026-07-07 05:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 05:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783380506000,"timestamp_ms":1783380506000,"timestamp_seconds":1783380506,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c2f590"} 
[2026-07-07 05:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 05:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 05:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545407488001,"66":27691,"230":206,"79":46592,"24":34,"16":340572094616043520,"45":7618542484123236352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,79,24,16,45]} 
[2026-07-07 05:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545407488001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:03:37] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 05:03:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 05:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340572094616043520,"km_value":340572094616043.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7618542484123236352,"description":"Unknown IO ID 45"} 
[2026-07-07 05:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545407488001,"power":27691,"unknown_230":206,"unknown_79":46592,"ignition":34,"odometer":null,"unknown_45":7618542484123236352}} 
[2026-07-07 05:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":124029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:03:37] local.INFO: GPS data processed {"connection_id":124029,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:03:37] local.INFO: Acknowledgment sent {"connection_id":124029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:04:00] local.INFO: TCP Data received {"connection_id":124133,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:04:00] local.INFO: Processing buffer {"connection_id":124133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:04:00] local.INFO: IMEI packet received {"connection_id":124133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":124133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:04:05] local.INFO: TCP Data received {"connection_id":124133,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:04:05] local.INFO: Processing buffer {"connection_id":124133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:04:05] local.INFO: IMEI packet received {"connection_id":124133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":124133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:04:06] local.INFO: TCP Data received {"connection_id":124133,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c73f38012d69fbc006484a480004006f28..."} 
[2026-07-07 05:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c73f38012d69fbc006484a480004006f28..."} 
[2026-07-07 05:04:06] local.INFO: Processing buffer {"connection_id":124133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c73f38012d69fbc006484a480004006f28..."} 
[2026-07-07 05:04:06] local.INFO: Packet analysis {"connection_id":124133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c7"} 
[2026-07-07 05:04:06] local.INFO: Extracted packet for processing {"connection_id":124133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c7"} 
[2026-07-07 05:04:06] local.INFO: GPS Element Parsed {"raw_longitude":761920448,"raw_latitude":105400904,"longitude_deg":76.1920448,"latitude_deg":10.5400904,"altitude":4,"angle":111,"satellites":40,"speed":0,"hex_longitude":"2d69fbc0","hex_latitude":"06484a48","is_valid_coordinates":true} 
[2026-07-07 05:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545409536001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340572094616043520,"note":"Value kept but may cause issues"} 
[2026-07-07 05:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7626353414726287360,"note":"Value kept but may cause issues"} 
[2026-07-07 05:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 05:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783380787000,"timestamp_ms":1783380787000,"timestamp_seconds":1783380787,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c73f38"} 
[2026-07-07 05:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-07 05:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545409536001,"66":25549,"230":206,"79":46592,"24":0,"16":340572094616043520,"45":7626353414726287360},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,79,24,16,45]} 
[2026-07-07 05:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545409536001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:04:06] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 05:04:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 05:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340572094616043520,"km_value":340572094616043.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7626353414726287360,"description":"Unknown IO ID 45"} 
[2026-07-07 05:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545409536001,"power":25549,"unknown_230":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":7626353414726287360}} 
[2026-07-07 05:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":124133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:04:06] local.INFO: GPS data processed {"connection_id":124133,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:04:06] local.INFO: Acknowledgment sent {"connection_id":124133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:04:37] local.INFO: TCP Data received {"connection_id":124133,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c7a4c8012d6a0280064847b80004007129..."} 
[2026-07-07 05:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c7a4c8012d6a0280064847b80004007129..."} 
[2026-07-07 05:04:37] local.INFO: Processing buffer {"connection_id":124133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c7a4c8012d6a0280064847b80004007129..."} 
[2026-07-07 05:04:37] local.INFO: Packet analysis {"connection_id":124133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c7"} 
[2026-07-07 05:04:37] local.INFO: Extracted packet for processing {"connection_id":124133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c7"} 
[2026-07-07 05:04:37] local.INFO: GPS Element Parsed {"raw_longitude":761922176,"raw_latitude":105400248,"longitude_deg":76.1922176,"latitude_deg":10.5400248,"altitude":4,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2d6a0280","hex_latitude":"064847b8","is_valid_coordinates":true} 
[2026-07-07 05:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545481472001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340572094616043520,"note":"Value kept but may cause issues"} 
[2026-07-07 05:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7636908726351972352,"note":"Value kept but may cause issues"} 
[2026-07-07 05:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 05:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783380813000,"timestamp_ms":1783380813000,"timestamp_seconds":1783380813,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c7a4c8"} 
[2026-07-07 05:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:04: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-07-07 05:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 05:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545481472001,"66":27397,"230":206,"79":46592,"24":0,"16":340572094616043520,"45":7636908726351972352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,79,24,16,45]} 
[2026-07-07 05:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545481472001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:04:37] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 05:04:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 05:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340572094616043520,"km_value":340572094616043.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7636908726351972352,"description":"Unknown IO ID 45"} 
[2026-07-07 05:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545481472001,"power":27397,"unknown_230":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":7636908726351972352}} 
[2026-07-07 05:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":124133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:04:37] local.INFO: GPS data processed {"connection_id":124133,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:04:37] local.INFO: Acknowledgment sent {"connection_id":124133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:05:05] local.INFO: TCP Data received {"connection_id":124135,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:05:05] local.INFO: Processing buffer {"connection_id":124135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:05:05] local.INFO: IMEI packet received {"connection_id":124135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":124135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:05:10] local.INFO: TCP Data received {"connection_id":124135,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:05:10] local.INFO: Processing buffer {"connection_id":124135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:05:10] local.INFO: IMEI packet received {"connection_id":124135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":124135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:05:11] local.INFO: TCP Data received {"connection_id":124135,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c7f6d0012d6a0280064847b80004007129..."} 
[2026-07-07 05:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c7f6d0012d6a0280064847b80004007129..."} 
[2026-07-07 05:05:11] local.INFO: Processing buffer {"connection_id":124135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c7f6d0012d6a0280064847b80004007129..."} 
[2026-07-07 05:05:11] local.INFO: Packet analysis {"connection_id":124135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c7"} 
[2026-07-07 05:05:11] local.INFO: Extracted packet for processing {"connection_id":124135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c7"} 
[2026-07-07 05:05:11] local.INFO: GPS Element Parsed {"raw_longitude":761922176,"raw_latitude":105400248,"longitude_deg":76.1922176,"latitude_deg":10.5400248,"altitude":4,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2d6a0280","hex_latitude":"064847b8","is_valid_coordinates":true} 
[2026-07-07 05:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545488128001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340572094616043520,"note":"Value kept but may cause issues"} 
[2026-07-07 05:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7638808682444601344,"note":"Value kept but may cause issues"} 
[2026-07-07 05:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 05:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783380834000,"timestamp_ms":1783380834000,"timestamp_seconds":1783380834,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c7f6d0"} 
[2026-07-07 05:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:05: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-07-07 05: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":5,"data_length":795,"current_offset":136} 
[2026-07-07 05:05: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-07-07 05:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545488128001,"66":27332,"230":206,"79":46592,"24":0,"16":340572094616043520,"45":7638808682444601344},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,79,24,16,45]} 
[2026-07-07 05:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545488128001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:05:11] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 05:05:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 05:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340572094616043520,"km_value":340572094616043.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7638808682444601344,"description":"Unknown IO ID 45"} 
[2026-07-07 05:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545488128001,"power":27332,"unknown_230":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":7638808682444601344}} 
[2026-07-07 05:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":124135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:05:11] local.INFO: GPS data processed {"connection_id":124135,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:05:11] local.INFO: Acknowledgment sent {"connection_id":124135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:05:12] local.INFO: TCP Data received {"connection_id":124135,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c80a58012d6a0340064846d0000900922a..."} 
[2026-07-07 05:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c80a58012d6a0340064846d0000900922a..."} 
[2026-07-07 05:05:12] local.INFO: Processing buffer {"connection_id":124135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c80a58012d6a0340064846d0000900922a..."} 
[2026-07-07 05:05:12] local.INFO: Packet analysis {"connection_id":124135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c8"} 
[2026-07-07 05:05:12] local.INFO: Extracted packet for processing {"connection_id":124135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c8"} 
[2026-07-07 05:05:12] local.INFO: GPS Element Parsed {"raw_longitude":761922368,"raw_latitude":105400016,"longitude_deg":76.1922368,"latitude_deg":10.5400016,"altitude":9,"angle":146,"satellites":42,"speed":2,"hex_longitude":"2d6a0340","hex_latitude":"064846d0","is_valid_coordinates":true} 
[2026-07-07 05:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545493504001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340572111795912704,"note":"Value kept but may cause issues"} 
[2026-07-07 05:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7638808682444601344,"note":"Value kept but may cause issues"} 
[2026-07-07 05:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 05:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783380839000,"timestamp_ms":1783380839000,"timestamp_seconds":1783380839,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c80a58"} 
[2026-07-07 05:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:05: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-07-07 05: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 05:05: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-07-07 05:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545493504001,"66":27365,"230":206,"79":46592,"24":2,"16":340572111795912704,"45":7638808682444601344},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,79,24,16,45]} 
[2026-07-07 05:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545493504001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:05:12] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 05:05:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 05:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340572111795912704,"km_value":340572111795912.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7638808682444601344,"description":"Unknown IO ID 45"} 
[2026-07-07 05:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545493504001,"power":27365,"unknown_230":206,"unknown_79":46592,"ignition":2,"odometer":null,"unknown_45":7638808682444601344}} 
[2026-07-07 05:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":124135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:05:12] local.INFO: GPS data processed {"connection_id":124135,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:05:12] local.INFO: Acknowledgment sent {"connection_id":124135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:05:33] local.INFO: TCP Data received {"connection_id":124030,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:05:33] local.INFO: Processing buffer {"connection_id":124030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:05:33] local.INFO: IMEI packet received {"connection_id":124030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 05:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":124030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:05:43] local.INFO: TCP Data received {"connection_id":124135,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c81228012d6a0400064845f00009009e2a..."} 
[2026-07-07 05:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c81228012d6a0400064845f00009009e2a..."} 
[2026-07-07 05:05:43] local.INFO: Processing buffer {"connection_id":124135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c81228012d6a0400064845f00009009e2a..."} 
[2026-07-07 05:05:43] local.INFO: Packet analysis {"connection_id":124135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c8"} 
[2026-07-07 05:05:43] local.INFO: Extracted packet for processing {"connection_id":124135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c8"} 
[2026-07-07 05:05:43] local.INFO: GPS Element Parsed {"raw_longitude":761922560,"raw_latitude":105399792,"longitude_deg":76.192256,"latitude_deg":10.5399792,"altitude":9,"angle":158,"satellites":42,"speed":5,"hex_longitude":"2d6a0400","hex_latitude":"064845f0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 05:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545494784001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340572124680814592,"note":"Value kept but may cause issues"} 
[2026-07-07 05:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7639019788677074944,"note":"Value kept but may cause issues"} 
[2026-07-07 05:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 05:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783380841000,"timestamp_ms":1783380841000,"timestamp_seconds":1783380841,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c81228"} 
[2026-07-07 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-07-07 05:05: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-07-07 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":229,"data_length":795,"current_offset":136} 
[2026-07-07 05:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 05:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545494784001,"66":27365,"230":206,"79":46592,"24":5,"16":340572124680814592,"45":7639019788677074944},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,79,24,16,45]} 
[2026-07-07 05:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545494784001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:05:43] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 05:05:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 05:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340572124680814592,"km_value":340572124680814.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":7639019788677074944,"description":"Unknown IO ID 45"} 
[2026-07-07 05:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545494784001,"power":27365,"unknown_230":206,"unknown_79":46592,"ignition":5,"odometer":null,"unknown_45":7639019788677074944}} 
[2026-07-07 05:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":124135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:05:43] local.INFO: GPS data processed {"connection_id":124135,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:05:43] local.INFO: Acknowledgment sent {"connection_id":124135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:06:00] local.INFO: TCP Data received {"connection_id":124031,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:06:00] local.INFO: Processing buffer {"connection_id":124031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:06:00] local.INFO: IMEI packet received {"connection_id":124031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 05:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":124031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:06:15] local.INFO: TCP Data received {"connection_id":124032,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:06:15] local.INFO: Processing buffer {"connection_id":124032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:06:15] local.INFO: IMEI packet received {"connection_id":124032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":124032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:06:15] local.INFO: TCP Data received {"connection_id":124032,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:06:15] local.INFO: Processing buffer {"connection_id":124032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:06:15] local.INFO: IMEI packet received {"connection_id":124032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":124032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:06:18] local.INFO: TCP Data received {"connection_id":124032,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:06:18] local.INFO: Processing buffer {"connection_id":124032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:06:18] local.INFO: IMEI packet received {"connection_id":124032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":124032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:06:19] local.INFO: TCP Data received {"connection_id":124032,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c96600012d6b2e800647b4f8000b008329..."} 
[2026-07-07 05:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c96600012d6b2e800647b4f8000b008329..."} 
[2026-07-07 05:06:19] local.INFO: Processing buffer {"connection_id":124032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c96600012d6b2e800647b4f8000b008329..."} 
[2026-07-07 05:06:19] local.INFO: Packet analysis {"connection_id":124032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c9"} 
[2026-07-07 05:06:19] local.INFO: Extracted packet for processing {"connection_id":124032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c9"} 
[2026-07-07 05:06:19] local.INFO: GPS Element Parsed {"raw_longitude":761998976,"raw_latitude":105362680,"longitude_deg":76.1998976,"latitude_deg":10.536268,"altitude":11,"angle":131,"satellites":41,"speed":44,"hex_longitude":"2d6b2e80","hex_latitude":"0647b4f8","is_valid_coordinates":true} 
[2026-07-07 05:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545515520001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340576209194713088,"note":"Value kept but may cause issues"} 
[2026-07-07 05:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7715651351078543360,"note":"Value kept but may cause issues"} 
[2026-07-07 05:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 05:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783380928000,"timestamp_ms":1783380928000,"timestamp_seconds":1783380928,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c96600"} 
[2026-07-07 05:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05: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-07-07 05: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":5,"data_length":795,"current_offset":136} 
[2026-07-07 05:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545515520001,"66":27397,"229":206,"79":46592,"24":44,"16":340576209194713088,"45":7715651351078543360},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-07-07 05:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545515520001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:06:19] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-07 05:06:19] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 05:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340576209194713088,"km_value":340576209194713.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":7715651351078543360,"description":"Unknown IO ID 45"} 
[2026-07-07 05:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545515520001,"power":27397,"unknown_229":206,"unknown_79":46592,"ignition":44,"odometer":null,"unknown_45":7715651351078543360}} 
[2026-07-07 05:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":124032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:06:19] local.INFO: GPS data processed {"connection_id":124032,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:06:19] local.INFO: Acknowledgment sent {"connection_id":124032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:06:20] local.INFO: TCP Data received {"connection_id":124032,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c98928012d6b4b0006479ca0000e007e26..."} 
[2026-07-07 05:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c98928012d6b4b0006479ca0000e007e26..."} 
[2026-07-07 05:06:20] local.INFO: Processing buffer {"connection_id":124032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c98928012d6b4b0006479ca0000e007e26..."} 
[2026-07-07 05:06:20] local.INFO: Packet analysis {"connection_id":124032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c9"} 
[2026-07-07 05:06:20] local.INFO: Extracted packet for processing {"connection_id":124032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c9"} 
[2026-07-07 05:06:20] local.INFO: GPS Element Parsed {"raw_longitude":762006272,"raw_latitude":105356448,"longitude_deg":76.2006272,"latitude_deg":10.5356448,"altitude":14,"angle":126,"satellites":38,"speed":40,"hex_longitude":"2d6b4b00","hex_latitude":"06479ca0","is_valid_coordinates":true} 
[2026-07-07 05:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545517568001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340576668756213760,"note":"Value kept but may cause issues"} 
[2026-07-07 05:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7723251175448180736,"note":"Value kept but may cause issues"} 
[2026-07-07 05:06:20] 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-07-07 05:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783380937000,"timestamp_ms":1783380937000,"timestamp_seconds":1783380937,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c98928"} 
[2026-07-07 05:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:06: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-07-07 05:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 05:06: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-07-07 05:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:06: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-07-07 05:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545517568001,"66":27343,"142":206,"79":20480,"24":40,"16":340576668756213760,"45":7723251175448180736},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,79,24,16,45]} 
[2026-07-07 05:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545517568001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:06:20] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-07 05:06:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340576668756213760,"km_value":340576668756213.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7723251175448180736,"description":"Unknown IO ID 45"} 
[2026-07-07 05:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545517568001,"power":27343,"unknown_142":206,"unknown_79":20480,"ignition":40,"odometer":null,"unknown_45":7723251175448180736}} 
[2026-07-07 05:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":124032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:06:20] local.INFO: GPS data processed {"connection_id":124032,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:06:20] local.INFO: Acknowledgment sent {"connection_id":124032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:07:00] local.INFO: TCP Data received {"connection_id":124804,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:07:00] local.INFO: Processing buffer {"connection_id":124804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:07:00] local.INFO: IMEI packet received {"connection_id":124804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":124804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:07:00] local.INFO: TCP Data received {"connection_id":124804,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:07:00] local.INFO: Processing buffer {"connection_id":124804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:07:00] local.INFO: IMEI packet received {"connection_id":124804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":124804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:07:05] local.INFO: TCP Data received {"connection_id":124804,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:07:05] local.INFO: Processing buffer {"connection_id":124804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:07:05] local.INFO: IMEI packet received {"connection_id":124804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":124804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:07:06] local.INFO: TCP Data received {"connection_id":124804,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c994e0012d6b5500064796b8000e007227..."} 
[2026-07-07 05:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c994e0012d6b5500064796b8000e007227..."} 
[2026-07-07 05:07:06] local.INFO: Processing buffer {"connection_id":124804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c994e0012d6b5500064796b8000e007227..."} 
[2026-07-07 05:07:06] local.INFO: Packet analysis {"connection_id":124804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c9"} 
[2026-07-07 05:07:06] local.INFO: Extracted packet for processing {"connection_id":124804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c9"} 
[2026-07-07 05:07:06] local.INFO: GPS Element Parsed {"raw_longitude":762008832,"raw_latitude":105354936,"longitude_deg":76.2008832,"latitude_deg":10.5354936,"altitude":14,"angle":114,"satellites":39,"speed":38,"hex_longitude":"2d6b5500","hex_latitude":"064796b8","is_valid_coordinates":true} 
[2026-07-07 05:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545519872001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340576810490134528,"note":"Value kept but may cause issues"} 
[2026-07-07 05:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7731273212282839040,"note":"Value kept but may cause issues"} 
[2026-07-07 05:07:06] 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-07-07 05:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783380940000,"timestamp_ms":1783380940000,"timestamp_seconds":1783380940,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c994e0"} 
[2026-07-07 05:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:07: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-07-07 05:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 05:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545519872001,"66":27321,"142":206,"79":20480,"24":38,"16":340576810490134528,"45":7731273212282839040},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,79,24,16,45]} 
[2026-07-07 05:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545519872001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:07:06] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-07 05:07:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340576810490134528,"km_value":340576810490134.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7731273212282839040,"description":"Unknown IO ID 45"} 
[2026-07-07 05:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545519872001,"power":27321,"unknown_142":206,"unknown_79":20480,"ignition":38,"odometer":null,"unknown_45":7731273212282839040}} 
[2026-07-07 05:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":124804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:07:06] local.INFO: GPS data processed {"connection_id":124804,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:07:06] local.INFO: Acknowledgment sent {"connection_id":124804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:07:37] local.INFO: TCP Data received {"connection_id":124804,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c9b420012d6b6d0006478b900012008726..."} 
[2026-07-07 05:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c9b420012d6b6d0006478b900012008726..."} 
[2026-07-07 05:07:37] local.INFO: Processing buffer {"connection_id":124804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c9b420012d6b6d0006478b900012008726..."} 
[2026-07-07 05:07:37] local.INFO: Packet analysis {"connection_id":124804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c9"} 
[2026-07-07 05:07:37] local.INFO: Extracted packet for processing {"connection_id":124804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c9"} 
[2026-07-07 05:07:37] local.INFO: GPS Element Parsed {"raw_longitude":762014976,"raw_latitude":105352080,"longitude_deg":76.2014976,"latitude_deg":10.535208,"altitude":18,"angle":135,"satellites":38,"speed":27,"hex_longitude":"2d6b6d00","hex_latitude":"06478b90","is_valid_coordinates":true} 
[2026-07-07 05:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545520640001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340577141202616320,"note":"Value kept but may cause issues"} 
[2026-07-07 05:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7734087962049558528,"note":"Value kept but may cause issues"} 
[2026-07-07 05:07:37] 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-07-07 05:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783380948000,"timestamp_ms":1783380948000,"timestamp_seconds":1783380948,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c9b420"} 
[2026-07-07 05:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:07: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-07-07 05:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 05:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545520640001,"66":27245,"142":206,"79":20480,"24":27,"16":340577141202616320,"45":7734087962049558528},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,79,24,16,45]} 
[2026-07-07 05:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545520640001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:07:37] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-07 05:07:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340577141202616320,"km_value":340577141202616.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7734087962049558528,"description":"Unknown IO ID 45"} 
[2026-07-07 05:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545520640001,"power":27245,"unknown_142":206,"unknown_79":20480,"ignition":27,"odometer":null,"unknown_45":7734087962049558528}} 
[2026-07-07 05:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":124804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:07:37] local.INFO: GPS data processed {"connection_id":124804,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:07:37] local.INFO: Acknowledgment sent {"connection_id":124804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:08:00] local.INFO: TCP Data received {"connection_id":124136,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:08:00] local.INFO: Processing buffer {"connection_id":124136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:08:00] local.INFO: IMEI packet received {"connection_id":124136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":124136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:08:05] local.INFO: TCP Data received {"connection_id":124136,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:08:05] local.INFO: Processing buffer {"connection_id":124136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:08:05] local.INFO: IMEI packet received {"connection_id":124136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":124136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:08:06] local.INFO: TCP Data received {"connection_id":124136,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39c9b808012d6b6e80064789880011009425..."} 
[2026-07-07 05:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39c9b808012d6b6e80064789880011009425..."} 
[2026-07-07 05:08:06] local.INFO: Processing buffer {"connection_id":124136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39c9b808012d6b6e80064789880011009425..."} 
[2026-07-07 05:08:06] local.INFO: Packet analysis {"connection_id":124136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39c9"} 
[2026-07-07 05:08:06] local.INFO: Extracted packet for processing {"connection_id":124136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39c9"} 
[2026-07-07 05:08:06] local.INFO: GPS Element Parsed {"raw_longitude":762015360,"raw_latitude":105351560,"longitude_deg":76.201536,"latitude_deg":10.535156,"altitude":17,"angle":148,"satellites":37,"speed":23,"hex_longitude":"2d6b6e80","hex_latitude":"06478988","is_valid_coordinates":true} 
[2026-07-07 05:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545522688001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340577171267387392,"note":"Value kept but may cause issues"} 
[2026-07-07 05:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7740843361489883136,"note":"Value kept but may cause issues"} 
[2026-07-07 05:08:06] 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-07-07 05:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783380949000,"timestamp_ms":1783380949000,"timestamp_seconds":1783380949,"priority":1,"record_length":96,"hex_timestamp":"0000019f39c9b808"} 
[2026-07-07 05:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 05:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 05:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545522688001,"66":27310,"142":206,"79":20480,"24":23,"16":340577171267387392,"45":7740843361489883136},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,79,24,16,45]} 
[2026-07-07 05:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545522688001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:08:06] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-07 05:08:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340577171267387392,"km_value":340577171267387.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7740843361489883136,"description":"Unknown IO ID 45"} 
[2026-07-07 05:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545522688001,"power":27310,"unknown_142":206,"unknown_79":20480,"ignition":23,"odometer":null,"unknown_45":7740843361489883136}} 
[2026-07-07 05:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":124136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:08:06] local.INFO: GPS data processed {"connection_id":124136,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:08:06] local.INFO: Acknowledgment sent {"connection_id":124136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:08:37] local.INFO: TCP Data received {"connection_id":124136,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39cb3ac0012d6b90c006461780001100a22a..."} 
[2026-07-07 05:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39cb3ac0012d6b90c006461780001100a22a..."} 
[2026-07-07 05:08:37] local.INFO: Processing buffer {"connection_id":124136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39cb3ac0012d6b90c006461780001100a22a..."} 
[2026-07-07 05:08:37] local.INFO: Packet analysis {"connection_id":124136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39cb"} 
[2026-07-07 05:08:37] local.INFO: Extracted packet for processing {"connection_id":124136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39cb"} 
[2026-07-07 05:08:37] local.INFO: GPS Element Parsed {"raw_longitude":762024128,"raw_latitude":105256832,"longitude_deg":76.2024128,"latitude_deg":10.5256832,"altitude":17,"angle":162,"satellites":42,"speed":21,"hex_longitude":"2d6b90c0","hex_latitude":"06461780","is_valid_coordinates":true} 
[2026-07-07 05:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545545216001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340581792652197888,"note":"Value kept but may cause issues"} 
[2026-07-07 05:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7748513554583179264,"note":"Value kept but may cause issues"} 
[2026-07-07 05:08:37] 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-07-07 05:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783381048000,"timestamp_ms":1783381048000,"timestamp_seconds":1783381048,"priority":1,"record_length":96,"hex_timestamp":"0000019f39cb3ac0"} 
[2026-07-07 05:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05: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-07-07 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 05:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545545216001,"66":27365,"100":206,"79":20480,"24":21,"16":340581792652197888,"45":7748513554583179264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,79,24,16,45]} 
[2026-07-07 05:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545545216001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:08:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-07 05:08:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340581792652197888,"km_value":340581792652197.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7748513554583179264,"description":"Unknown IO ID 45"} 
[2026-07-07 05:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545545216001,"power":27365,"unknown_100":206,"unknown_79":20480,"ignition":21,"odometer":null,"unknown_45":7748513554583179264}} 
[2026-07-07 05:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":124136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:08:37] local.INFO: GPS data processed {"connection_id":124136,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:08:37] local.INFO: Acknowledgment sent {"connection_id":124136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:09:00] local.INFO: TCP Data received {"connection_id":126051,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:09:00] local.INFO: Processing buffer {"connection_id":126051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:09:00] local.INFO: IMEI packet received {"connection_id":126051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":126051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:09:05] local.INFO: TCP Data received {"connection_id":126051,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:09:05] local.INFO: Processing buffer {"connection_id":126051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:09:05] local.INFO: IMEI packet received {"connection_id":126051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":126051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:09:06] local.INFO: TCP Data received {"connection_id":126051,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39cb6d88012d6b9c400645f6b00014009d28..."} 
[2026-07-07 05:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39cb6d88012d6b9c400645f6b00014009d28..."} 
[2026-07-07 05:09:06] local.INFO: Processing buffer {"connection_id":126051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39cb6d88012d6b9c400645f6b00014009d28..."} 
[2026-07-07 05:09:06] local.INFO: Packet analysis {"connection_id":126051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39cb"} 
[2026-07-07 05:09:06] local.INFO: Extracted packet for processing {"connection_id":126051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39cb"} 
[2026-07-07 05:09:06] local.INFO: GPS Element Parsed {"raw_longitude":762027072,"raw_latitude":105248432,"longitude_deg":76.2027072,"latitude_deg":10.5248432,"altitude":20,"angle":157,"satellites":40,"speed":31,"hex_longitude":"2d6b9c40","hex_latitude":"0645f6b0","is_valid_coordinates":true} 
[2026-07-07 05:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545548288001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340582222148927488,"note":"Value kept but may cause issues"} 
[2026-07-07 05:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7750906091882905600,"note":"Value kept but may cause issues"} 
[2026-07-07 05:09:06] 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-07-07 05:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783381061000,"timestamp_ms":1783381061000,"timestamp_seconds":1783381061,"priority":1,"record_length":96,"hex_timestamp":"0000019f39cb6d88"} 
[2026-07-07 05:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 05:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 05:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545548288001,"66":27365,"100":206,"79":20480,"24":31,"16":340582222148927488,"45":7750906091882905600},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,79,24,16,45]} 
[2026-07-07 05:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545548288001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:09:06] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-07 05:09:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340582222148927488,"km_value":340582222148927.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7750906091882905600,"description":"Unknown IO ID 45"} 
[2026-07-07 05:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545548288001,"power":27365,"unknown_100":206,"unknown_79":20480,"ignition":31,"odometer":null,"unknown_45":7750906091882905600}} 
[2026-07-07 05:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":126051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:09:06] local.INFO: GPS data processed {"connection_id":126051,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:09:06] local.INFO: Acknowledgment sent {"connection_id":126051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:09:39] local.INFO: TCP Data received {"connection_id":126051,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39cb9880012d6badc00645d5f80016009425..."} 
[2026-07-07 05:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39cb9880012d6badc00645d5f80016009425..."} 
[2026-07-07 05:09:39] local.INFO: Processing buffer {"connection_id":126051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39cb9880012d6badc00645d5f80016009425..."} 
[2026-07-07 05:09:39] local.INFO: Packet analysis {"connection_id":126051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39cb"} 
[2026-07-07 05:09:39] local.INFO: Extracted packet for processing {"connection_id":126051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39cb"} 
[2026-07-07 05:09:39] local.INFO: GPS Element Parsed {"raw_longitude":762031552,"raw_latitude":105240056,"longitude_deg":76.2031552,"latitude_deg":10.5240056,"altitude":22,"angle":148,"satellites":37,"speed":36,"hex_longitude":"2d6badc0","hex_latitude":"0645d5f8","is_valid_coordinates":true} 
[2026-07-07 05: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-07-07 05:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545551616001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340582681710428160,"note":"Value kept but may cause issues"} 
[2026-07-07 05:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7754143054112927744,"note":"Value kept but may cause issues"} 
[2026-07-07 05:09:39] 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-07-07 05:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783381072000,"timestamp_ms":1783381072000,"timestamp_seconds":1783381072,"priority":1,"record_length":96,"hex_timestamp":"0000019f39cb9880"} 
[2026-07-07 05:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:09: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-07-07 05: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 05:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05: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-07-07 05:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545551616001,"66":27267,"100":206,"79":20480,"24":36,"16":340582681710428160,"45":7754143054112927744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,79,24,16,45]} 
[2026-07-07 05:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545551616001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:09:39] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-07 05:09:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340582681710428160,"km_value":340582681710428.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7754143054112927744,"description":"Unknown IO ID 45"} 
[2026-07-07 05:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545551616001,"power":27267,"unknown_100":206,"unknown_79":20480,"ignition":36,"odometer":null,"unknown_45":7754143054112927744}} 
[2026-07-07 05:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":126051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:09:39] local.INFO: GPS data processed {"connection_id":126051,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:09:39] local.INFO: Acknowledgment sent {"connection_id":126051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:10:00] local.INFO: TCP Data received {"connection_id":124805,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:10:00] local.INFO: Processing buffer {"connection_id":124805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:10:00] local.INFO: IMEI packet received {"connection_id":124805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":124805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:10:00] local.INFO: TCP Data received {"connection_id":124805,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:10:00] local.INFO: Processing buffer {"connection_id":124805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:10:00] local.INFO: IMEI packet received {"connection_id":124805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":124805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:10:01] local.INFO: TCP Data received {"connection_id":124805,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:10:01] local.INFO: Processing buffer {"connection_id":124805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:10:01] local.INFO: IMEI packet received {"connection_id":124805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":124805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:10:03] local.INFO: TCP Data received {"connection_id":124805,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:10:03] local.INFO: Processing buffer {"connection_id":124805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:10:03] local.INFO: IMEI packet received {"connection_id":124805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":124805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:11:33] local.INFO: TCP Data received {"connection_id":124139,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:11:33] local.INFO: Processing buffer {"connection_id":124139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:11:33] local.INFO: IMEI packet received {"connection_id":124139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 05:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":124139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:12:00] local.INFO: TCP Data received {"connection_id":126052,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126052,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:12:00] local.INFO: Processing buffer {"connection_id":126052,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:12:00] local.INFO: IMEI packet received {"connection_id":126052,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 05:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":126052,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:15:05] local.INFO: TCP Data received {"connection_id":124142,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:15:05] local.INFO: Processing buffer {"connection_id":124142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:15:05] local.INFO: IMEI packet received {"connection_id":124142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":124142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:15:10] local.INFO: TCP Data received {"connection_id":124142,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:15:10] local.INFO: Processing buffer {"connection_id":124142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:15:10] local.INFO: IMEI packet received {"connection_id":124142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":124142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:15:11] local.INFO: TCP Data received {"connection_id":124142,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d066f8012d6dacc006444f800006006128..."} 
[2026-07-07 05:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d066f8012d6dacc006444f800006006128..."} 
[2026-07-07 05:15:11] local.INFO: Processing buffer {"connection_id":124142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d066f8012d6dacc006444f800006006128..."} 
[2026-07-07 05:15:11] local.INFO: Packet analysis {"connection_id":124142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d0"} 
[2026-07-07 05:15:11] local.INFO: Extracted packet for processing {"connection_id":124142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d0"} 
[2026-07-07 05:15:11] local.INFO: GPS Element Parsed {"raw_longitude":762162368,"raw_latitude":105140096,"longitude_deg":76.2162368,"latitude_deg":10.5140096,"altitude":6,"angle":97,"satellites":40,"speed":28,"hex_longitude":"2d6dacc0","hex_latitude":"06444f80","is_valid_coordinates":true} 
[2026-07-07 05:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545634560001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340593041171546112,"note":"Value kept but may cause issues"} 
[2026-07-07 05:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7901424835649134592,"note":"Value kept but may cause issues"} 
[2026-07-07 05:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 05:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783381387000,"timestamp_ms":1783381387000,"timestamp_seconds":1783381387,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d066f8"} 
[2026-07-07 05:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05: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-07-07 05:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 05:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545634560001,"66":27343,"233":206,"79":20480,"24":28,"16":340593041171546112,"45":7901424835649134592},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,79,24,16,45]} 
[2026-07-07 05:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545634560001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:15:11] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-07 05:15:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340593041171546112,"km_value":340593041171546.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7901424835649134592,"description":"Unknown IO ID 45"} 
[2026-07-07 05:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545634560001,"power":27343,"unknown_233":206,"unknown_79":20480,"ignition":28,"odometer":null,"unknown_45":7901424835649134592}} 
[2026-07-07 05:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":124142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:15:11] local.INFO: GPS data processed {"connection_id":124142,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:15:11] local.INFO: Acknowledgment sent {"connection_id":124142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:15:43] local.INFO: TCP Data received {"connection_id":124142,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d20508012d6e7a80064462e0000f001729..."} 
[2026-07-07 05:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d20508012d6e7a80064462e0000f001729..."} 
[2026-07-07 05:15:43] local.INFO: Processing buffer {"connection_id":124142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d20508012d6e7a80064462e0000f001729..."} 
[2026-07-07 05:15:43] local.INFO: Packet analysis {"connection_id":124142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d2"} 
[2026-07-07 05:15:43] local.INFO: Extracted packet for processing {"connection_id":124142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d2"} 
[2026-07-07 05:15:43] local.INFO: GPS Element Parsed {"raw_longitude":762215040,"raw_latitude":105145056,"longitude_deg":76.221504,"latitude_deg":10.5145056,"altitude":15,"angle":23,"satellites":41,"speed":15,"hex_longitude":"2d6e7a80","hex_latitude":"064462e0","is_valid_coordinates":true} 
[2026-07-07 05:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545661952001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340595600972054528,"note":"Value kept but may cause issues"} 
[2026-07-07 05:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7960534580759470080,"note":"Value kept but may cause issues"} 
[2026-07-07 05:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 05:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783381493000,"timestamp_ms":1783381493000,"timestamp_seconds":1783381493,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d20508"} 
[2026-07-07 05:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05: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-07-07 05: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 05:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545661952001,"66":27539,"198":206,"79":20480,"24":15,"16":340595600972054528,"45":7960534580759470080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,79,24,16,45]} 
[2026-07-07 05:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545661952001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:15:43] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 05:15:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340595600972054528,"km_value":340595600972054.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":7960534580759470080,"description":"Unknown IO ID 45"} 
[2026-07-07 05:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545661952001,"power":27539,"unknown_198":206,"unknown_79":20480,"ignition":15,"odometer":null,"unknown_45":7960534580759470080}} 
[2026-07-07 05:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":124142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:15:43] local.INFO: GPS data processed {"connection_id":124142,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:15:43] local.INFO: Acknowledgment sent {"connection_id":124142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:16:00] local.INFO: TCP Data received {"connection_id":126057,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:16:00] local.INFO: Processing buffer {"connection_id":126057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:16:00] local.INFO: IMEI packet received {"connection_id":126057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":126057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:16:03] local.INFO: TCP Data received {"connection_id":126057,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:16:03] local.INFO: Processing buffer {"connection_id":126057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:16:03] local.INFO: IMEI packet received {"connection_id":126057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":126057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:16:05] local.INFO: TCP Data received {"connection_id":126057,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:16:05] local.INFO: Processing buffer {"connection_id":126057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:16:05] local.INFO: IMEI packet received {"connection_id":126057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":126057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:16:05] local.INFO: TCP Data received {"connection_id":126057,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d208f0012d6e7ac006446458000f000628..."} 
[2026-07-07 05:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d208f0012d6e7ac006446458000f000628..."} 
[2026-07-07 05:16:05] local.INFO: Processing buffer {"connection_id":126057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d208f0012d6e7ac006446458000f000628..."} 
[2026-07-07 05:16:05] local.INFO: Packet analysis {"connection_id":126057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d2"} 
[2026-07-07 05:16:05] local.INFO: Extracted packet for processing {"connection_id":126057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d2"} 
[2026-07-07 05:16:05] local.INFO: GPS Element Parsed {"raw_longitude":762215104,"raw_latitude":105145432,"longitude_deg":76.2215104,"latitude_deg":10.5145432,"altitude":15,"angle":6,"satellites":40,"speed":15,"hex_longitude":"2d6e7ac0","hex_latitude":"06446458","is_valid_coordinates":true} 
[2026-07-07 05:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545662208001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340595622446891008,"note":"Value kept but may cause issues"} 
[2026-07-07 05:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7960816055736262656,"note":"Value kept but may cause issues"} 
[2026-07-07 05:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 05:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783381494000,"timestamp_ms":1783381494000,"timestamp_seconds":1783381494,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d208f0"} 
[2026-07-07 05:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 05: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 05:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545662208001,"66":27539,"198":206,"79":20480,"24":15,"16":340595622446891008,"45":7960816055736262656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,79,24,16,45]} 
[2026-07-07 05:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545662208001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:16:05] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 05:16:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340595622446891008,"km_value":340595622446891.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7960816055736262656,"description":"Unknown IO ID 45"} 
[2026-07-07 05:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545662208001,"power":27539,"unknown_198":206,"unknown_79":20480,"ignition":15,"odometer":null,"unknown_45":7960816055736262656}} 
[2026-07-07 05:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":126057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:16:05] local.INFO: GPS data processed {"connection_id":126057,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:16:05] local.INFO: Acknowledgment sent {"connection_id":126057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:16:10] local.INFO: TCP Data received {"connection_id":126057,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d20cd8012d6e7ac0064465e8000f016229..."} 
[2026-07-07 05:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d20cd8012d6e7ac0064465e8000f016229..."} 
[2026-07-07 05:16:10] local.INFO: Processing buffer {"connection_id":126057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d20cd8012d6e7ac0064465e8000f016229..."} 
[2026-07-07 05:16:10] local.INFO: Packet analysis {"connection_id":126057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d2"} 
[2026-07-07 05:16:10] local.INFO: Extracted packet for processing {"connection_id":126057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d2"} 
[2026-07-07 05:16:10] local.INFO: GPS Element Parsed {"raw_longitude":762215104,"raw_latitude":105145832,"longitude_deg":76.2215104,"latitude_deg":10.5145832,"altitude":15,"angle":354,"satellites":41,"speed":16,"hex_longitude":"2d6e7ac0","hex_latitude":"064465e8","is_valid_coordinates":true} 
[2026-07-07 05:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545662464001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340595639626760192,"note":"Value kept but may cause issues"} 
[2026-07-07 05:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7960886424480536576,"note":"Value kept but may cause issues"} 
[2026-07-07 05:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 05:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783381495000,"timestamp_ms":1783381495000,"timestamp_seconds":1783381495,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d20cd8"} 
[2026-07-07 05:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:16: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-07-07 05:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 05:16: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-07-07 05:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545662464001,"66":27365,"198":206,"79":20480,"24":16,"16":340595639626760192,"45":7960886424480536576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,79,24,16,45]} 
[2026-07-07 05:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545662464001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:16:10] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 05:16:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340595639626760192,"km_value":340595639626760.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7960886424480536576,"description":"Unknown IO ID 45"} 
[2026-07-07 05:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545662464001,"power":27365,"unknown_198":206,"unknown_79":20480,"ignition":16,"odometer":null,"unknown_45":7960886424480536576}} 
[2026-07-07 05:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":126057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:16:10] local.INFO: GPS data processed {"connection_id":126057,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:16:10] local.INFO: Acknowledgment sent {"connection_id":126057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:16:41] local.INFO: TCP Data received {"connection_id":126057,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d30ac0012d6eda0006448cc8000c009c29..."} 
[2026-07-07 05:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d30ac0012d6eda0006448cc8000c009c29..."} 
[2026-07-07 05:16:41] local.INFO: Processing buffer {"connection_id":126057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d30ac0012d6eda0006448cc8000c009c29..."} 
[2026-07-07 05:16:41] local.INFO: Packet analysis {"connection_id":126057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:16:41] local.INFO: Extracted packet for processing {"connection_id":126057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:16:41] local.INFO: GPS Element Parsed {"raw_longitude":762239488,"raw_latitude":105155784,"longitude_deg":76.2239488,"latitude_deg":10.5155784,"altitude":12,"angle":156,"satellites":41,"speed":9,"hex_longitude":"2d6eda00","hex_latitude":"06448cc8","is_valid_coordinates":true} 
[2026-07-07 05:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545678848001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597336138842112,"note":"Value kept but may cause issues"} 
[2026-07-07 05:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7987485809782484992,"note":"Value kept but may cause issues"} 
[2026-07-07 05:16:41] 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-07-07 05:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783381560000,"timestamp_ms":1783381560000,"timestamp_seconds":1783381560,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d30ac0"} 
[2026-07-07 05:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:16: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-07-07 05: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":212,"data_length":795,"current_offset":136} 
[2026-07-07 05:16: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-07-07 05:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545678848001,"66":27332,"86":206,"79":20480,"24":9,"16":340597336138842112,"45":7987485809782484992},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545678848001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:16:41] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:16:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597336138842112,"km_value":340597336138842.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7987485809782484992,"description":"Unknown IO ID 45"} 
[2026-07-07 05:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545678848001,"power":27332,"unknown_86":206,"unknown_79":20480,"ignition":9,"odometer":null,"unknown_45":7987485809782484992}} 
[2026-07-07 05:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":126057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:16:41] local.INFO: GPS data processed {"connection_id":126057,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:16:41] local.INFO: Acknowledgment sent {"connection_id":126057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:17:00] local.INFO: TCP Data received {"connection_id":124143,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:17:00] local.INFO: Processing buffer {"connection_id":124143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:17:00] local.INFO: IMEI packet received {"connection_id":124143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":124143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:17:05] local.INFO: TCP Data received {"connection_id":124143,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:17:05] local.INFO: Processing buffer {"connection_id":124143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:17:05] local.INFO: IMEI packet received {"connection_id":124143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":124143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:17:20] local.INFO: TCP Data received {"connection_id":126058,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126058,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:17:20] local.INFO: Processing buffer {"connection_id":126058,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:17:20] local.INFO: IMEI packet received {"connection_id":126058,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 05:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":126058,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:17:44] local.INFO: TCP Data received {"connection_id":124143,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d30ea8012d6eda8006448c08000c008a29..."} 
[2026-07-07 05:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d30ea8012d6eda8006448c08000c008a29..."} 
[2026-07-07 05:17:44] local.INFO: Processing buffer {"connection_id":124143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d30ea8012d6eda8006448c08000c008a29..."} 
[2026-07-07 05:17:44] local.INFO: Packet analysis {"connection_id":124143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:17:44] local.INFO: Extracted packet for processing {"connection_id":124143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:17:44] local.INFO: GPS Element Parsed {"raw_longitude":762239616,"raw_latitude":105155592,"longitude_deg":76.2239616,"latitude_deg":10.5155592,"altitude":12,"angle":138,"satellites":41,"speed":9,"hex_longitude":"2d6eda80","hex_latitude":"06448c08","is_valid_coordinates":true} 
[2026-07-07 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-07-07 05:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545679360001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597344728776704,"note":"Value kept but may cause issues"} 
[2026-07-07 05:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7987696916014876672,"note":"Value kept but may cause issues"} 
[2026-07-07 05:17:44] 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-07-07 05:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783381561000,"timestamp_ms":1783381561000,"timestamp_seconds":1783381561,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d30ea8"} 
[2026-07-07 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-07-07 05:17: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-07-07 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":196,"data_length":795,"current_offset":136} 
[2026-07-07 05:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 05:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545679360001,"66":27908,"86":206,"79":20480,"24":9,"16":340597344728776704,"45":7987696916014876672},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545679360001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:17:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:17:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597344728776704,"km_value":340597344728776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":7987696916014876672,"description":"Unknown IO ID 45"} 
[2026-07-07 05:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545679360001,"power":27908,"unknown_86":206,"unknown_79":20480,"ignition":9,"odometer":null,"unknown_45":7987696916014876672}} 
[2026-07-07 05:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":124143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:17:44] local.INFO: GPS data processed {"connection_id":124143,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:17:44] local.INFO: Acknowledgment sent {"connection_id":124143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:17:45] local.INFO: TCP Data received {"connection_id":124143,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d31290012d6edb0006448b70000c007a29..."} 
[2026-07-07 05:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d31290012d6edb0006448b70000c007a29..."} 
[2026-07-07 05:17:45] local.INFO: Processing buffer {"connection_id":124143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d31290012d6edb0006448b70000c007a29..."} 
[2026-07-07 05:17:45] local.INFO: Packet analysis {"connection_id":124143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:17:45] local.INFO: Extracted packet for processing {"connection_id":124143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:17:45] local.INFO: GPS Element Parsed {"raw_longitude":762239744,"raw_latitude":105155440,"longitude_deg":76.2239744,"latitude_deg":10.515544,"altitude":12,"angle":122,"satellites":41,"speed":9,"hex_longitude":"2d6edb00","hex_latitude":"06448b70","is_valid_coordinates":true} 
[2026-07-07 05:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545679616001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597357613678592,"note":"Value kept but may cause issues"} 
[2026-07-07 05:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7987837653503182848,"note":"Value kept but may cause issues"} 
[2026-07-07 05:17:45] 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-07-07 05:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783381562000,"timestamp_ms":1783381562000,"timestamp_seconds":1783381562,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d31290"} 
[2026-07-07 05:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05: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-07-07 05: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 05:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545679616001,"66":27908,"86":206,"79":20480,"24":9,"16":340597357613678592,"45":7987837653503182848},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545679616001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:17:45] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:17:45] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597357613678592,"km_value":340597357613678.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":7987837653503182848,"description":"Unknown IO ID 45"} 
[2026-07-07 05:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545679616001,"power":27908,"unknown_86":206,"unknown_79":20480,"ignition":9,"odometer":null,"unknown_45":7987837653503182848}} 
[2026-07-07 05:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":124143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:17:45] local.INFO: GPS data processed {"connection_id":124143,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:17:45] local.INFO: Acknowledgment sent {"connection_id":124143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:18:00] local.INFO: TCP Data received {"connection_id":124035,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:18:00] local.INFO: Processing buffer {"connection_id":124035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:18:00] local.INFO: IMEI packet received {"connection_id":124035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 05:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":124035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:18:05] local.INFO: TCP Data received {"connection_id":124036,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:18:05] local.INFO: Processing buffer {"connection_id":124036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:18:05] local.INFO: IMEI packet received {"connection_id":124036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":124036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:18:10] local.INFO: TCP Data received {"connection_id":124036,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:18:10] local.INFO: Processing buffer {"connection_id":124036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:18:10] local.INFO: IMEI packet received {"connection_id":124036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":124036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:18:11] local.INFO: TCP Data received {"connection_id":124036,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d31678012d6edc0006448b38000c005b29..."} 
[2026-07-07 05:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d31678012d6edc0006448b38000c005b29..."} 
[2026-07-07 05:18:11] local.INFO: Processing buffer {"connection_id":124036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d31678012d6edc0006448b38000c005b29..."} 
[2026-07-07 05:18:11] local.INFO: Packet analysis {"connection_id":124036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:18:11] local.INFO: Extracted packet for processing {"connection_id":124036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:18:11] local.INFO: GPS Element Parsed {"raw_longitude":762240000,"raw_latitude":105155384,"longitude_deg":76.224,"latitude_deg":10.5155384,"altitude":12,"angle":91,"satellites":41,"speed":9,"hex_longitude":"2d6edc00","hex_latitude":"06448b38","is_valid_coordinates":true} 
[2026-07-07 05:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545679872001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597370498580480,"note":"Value kept but may cause issues"} 
[2026-07-07 05:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7987978390991499264,"note":"Value kept but may cause issues"} 
[2026-07-07 05:18:11] 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-07-07 05:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783381563000,"timestamp_ms":1783381563000,"timestamp_seconds":1783381563,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d31678"} 
[2026-07-07 05:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:18: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-07-07 05:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 05:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545679872001,"66":27876,"86":206,"79":20480,"24":9,"16":340597370498580480,"45":7987978390991499264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545679872001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:18:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:18:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597370498580480,"km_value":340597370498580.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7987978390991499264,"description":"Unknown IO ID 45"} 
[2026-07-07 05:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545679872001,"power":27876,"unknown_86":206,"unknown_79":20480,"ignition":9,"odometer":null,"unknown_45":7987978390991499264}} 
[2026-07-07 05:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":124036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:18:11] local.INFO: GPS data processed {"connection_id":124036,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:18:11] local.INFO: Acknowledgment sent {"connection_id":124036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:18:16] local.INFO: TCP Data received {"connection_id":124036,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d31a60012d6edd4006448b48000d004629..."} 
[2026-07-07 05:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d31a60012d6edd4006448b48000d004629..."} 
[2026-07-07 05:18:16] local.INFO: Processing buffer {"connection_id":124036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d31a60012d6edd4006448b48000d004629..."} 
[2026-07-07 05:18:16] local.INFO: Packet analysis {"connection_id":124036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:18:16] local.INFO: Extracted packet for processing {"connection_id":124036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:18:16] local.INFO: GPS Element Parsed {"raw_longitude":762240320,"raw_latitude":105155400,"longitude_deg":76.224032,"latitude_deg":10.51554,"altitude":13,"angle":70,"satellites":41,"speed":10,"hex_longitude":"2d6edd40","hex_latitude":"06448b48","is_valid_coordinates":true} 
[2026-07-07 05:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545680128001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597383383482368,"note":"Value kept but may cause issues"} 
[2026-07-07 05:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7988259865968195584,"note":"Value kept but may cause issues"} 
[2026-07-07 05:18:16] 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-07-07 05:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783381564000,"timestamp_ms":1783381564000,"timestamp_seconds":1783381564,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d31a60"} 
[2026-07-07 05:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:18: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-07-07 05: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 05:18: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-07-07 05:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545680128001,"66":27876,"86":206,"79":20480,"24":10,"16":340597383383482368,"45":7988259865968195584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545680128001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:18:16] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:18:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597383383482368,"km_value":340597383383482.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":7988259865968195584,"description":"Unknown IO ID 45"} 
[2026-07-07 05:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545680128001,"power":27876,"unknown_86":206,"unknown_79":20480,"ignition":10,"odometer":null,"unknown_45":7988259865968195584}} 
[2026-07-07 05:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":124036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:18:16] local.INFO: GPS data processed {"connection_id":124036,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:18:16] local.INFO: Acknowledgment sent {"connection_id":124036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:19:00] local.INFO: TCP Data received {"connection_id":126059,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:19:00] local.INFO: Processing buffer {"connection_id":126059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:19:00] local.INFO: IMEI packet received {"connection_id":126059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":126059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:19:05] local.INFO: TCP Data received {"connection_id":126059,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:19:05] local.INFO: Processing buffer {"connection_id":126059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:19:05] local.INFO: IMEI packet received {"connection_id":126059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":126059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:19:05] local.INFO: TCP Data received {"connection_id":126059,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d34d28012d6eea8006449150000e004627..."} 
[2026-07-07 05:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d34d28012d6eea8006449150000e004627..."} 
[2026-07-07 05:19:05] local.INFO: Processing buffer {"connection_id":126059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d34d28012d6eea8006449150000e004627..."} 
[2026-07-07 05:19:05] local.INFO: Packet analysis {"connection_id":126059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:19:05] local.INFO: Extracted packet for processing {"connection_id":126059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:19:05] local.INFO: GPS Element Parsed {"raw_longitude":762243712,"raw_latitude":105156944,"longitude_deg":76.2243712,"latitude_deg":10.5156944,"altitude":14,"angle":70,"satellites":39,"speed":14,"hex_longitude":"2d6eea80","hex_latitude":"06449150","is_valid_coordinates":true} 
[2026-07-07 05:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545680384001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7988611709689088000,"note":"Value kept but may cause issues"} 
[2026-07-07 05:19:05] 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-07-07 05:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783381577000,"timestamp_ms":1783381577000,"timestamp_seconds":1783381577,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d34d28"} 
[2026-07-07 05:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 05:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 05:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545680384001,"66":27930,"86":206,"79":20480,"24":14,"16":340597563772108800,"45":7988611709689088000},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545680384001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:19:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:19:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7988611709689088000,"description":"Unknown IO ID 45"} 
[2026-07-07 05:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545680384001,"power":27930,"unknown_86":206,"unknown_79":20480,"ignition":14,"odometer":null,"unknown_45":7988611709689088000}} 
[2026-07-07 05:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":126059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:19:05] local.INFO: GPS data processed {"connection_id":126059,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:19:05] local.INFO: Acknowledgment sent {"connection_id":126059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:19:37] local.INFO: TCP Data received {"connection_id":126059,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d34d28012d6eea8006449150000e004627..."} 
[2026-07-07 05:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d34d28012d6eea8006449150000e004627..."} 
[2026-07-07 05:19:37] local.INFO: Processing buffer {"connection_id":126059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d34d28012d6eea8006449150000e004627..."} 
[2026-07-07 05:19:37] local.INFO: Packet analysis {"connection_id":126059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:19:37] local.INFO: Extracted packet for processing {"connection_id":126059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:19:37] local.INFO: GPS Element Parsed {"raw_longitude":762243712,"raw_latitude":105156944,"longitude_deg":76.2243712,"latitude_deg":10.5156944,"altitude":14,"angle":70,"satellites":39,"speed":14,"hex_longitude":"2d6eea80","hex_latitude":"06449150","is_valid_coordinates":true} 
[2026-07-07 05:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545680384001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7988611709689088000,"note":"Value kept but may cause issues"} 
[2026-07-07 05:19:37] 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-07-07 05:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783381577000,"timestamp_ms":1783381577000,"timestamp_seconds":1783381577,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d34d28"} 
[2026-07-07 05:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 05:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 05:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545680384001,"66":27930,"86":206,"79":20480,"24":14,"16":340597563772108800,"45":7988611709689088000},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545680384001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:19:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:19:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7988611709689088000,"description":"Unknown IO ID 45"} 
[2026-07-07 05:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545680384001,"power":27930,"unknown_86":206,"unknown_79":20480,"ignition":14,"odometer":null,"unknown_45":7988611709689088000}} 
[2026-07-07 05:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":126059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:19:37] local.INFO: GPS data processed {"connection_id":126059,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:19:37] local.INFO: Acknowledgment sent {"connection_id":126059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:20:00] local.INFO: TCP Data received {"connection_id":124807,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:20:00] local.INFO: Processing buffer {"connection_id":124807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:20:00] local.INFO: IMEI packet received {"connection_id":124807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":124807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:20:05] local.INFO: TCP Data received {"connection_id":124807,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:20:05] local.INFO: Processing buffer {"connection_id":124807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:20:05] local.INFO: IMEI packet received {"connection_id":124807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":124807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:20:08] local.INFO: TCP Data received {"connection_id":124807,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d34d28012d6eea8006449150000e004627..."} 
[2026-07-07 05:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d34d28012d6eea8006449150000e004627..."} 
[2026-07-07 05:20:08] local.INFO: Processing buffer {"connection_id":124807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d34d28012d6eea8006449150000e004627..."} 
[2026-07-07 05:20:08] local.INFO: Packet analysis {"connection_id":124807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:20:08] local.INFO: Extracted packet for processing {"connection_id":124807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:20:08] local.INFO: GPS Element Parsed {"raw_longitude":762243712,"raw_latitude":105156944,"longitude_deg":76.2243712,"latitude_deg":10.5156944,"altitude":14,"angle":70,"satellites":39,"speed":14,"hex_longitude":"2d6eea80","hex_latitude":"06449150","is_valid_coordinates":true} 
[2026-07-07 05:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545680384001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7988611709689088000,"note":"Value kept but may cause issues"} 
[2026-07-07 05:20:08] 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-07-07 05:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783381577000,"timestamp_ms":1783381577000,"timestamp_seconds":1783381577,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d34d28"} 
[2026-07-07 05:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:20: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-07-07 05: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 05:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545680384001,"66":27930,"86":206,"79":20480,"24":14,"16":340597563772108800,"45":7988611709689088000},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545680384001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:20:08] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:20:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7988611709689088000,"description":"Unknown IO ID 45"} 
[2026-07-07 05:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545680384001,"power":27930,"unknown_86":206,"unknown_79":20480,"ignition":14,"odometer":null,"unknown_45":7988611709689088000}} 
[2026-07-07 05:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":124807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:20:08] local.INFO: GPS data processed {"connection_id":124807,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:20:08] local.INFO: Acknowledgment sent {"connection_id":124807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:20:42] local.INFO: TCP Data received {"connection_id":124807,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d34d28012d6eea8006449150000e004627..."} 
[2026-07-07 05:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d34d28012d6eea8006449150000e004627..."} 
[2026-07-07 05:20:42] local.INFO: Processing buffer {"connection_id":124807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d34d28012d6eea8006449150000e004627..."} 
[2026-07-07 05:20:42] local.INFO: Packet analysis {"connection_id":124807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:20:42] local.INFO: Extracted packet for processing {"connection_id":124807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:20:42] local.INFO: GPS Element Parsed {"raw_longitude":762243712,"raw_latitude":105156944,"longitude_deg":76.2243712,"latitude_deg":10.5156944,"altitude":14,"angle":70,"satellites":39,"speed":14,"hex_longitude":"2d6eea80","hex_latitude":"06449150","is_valid_coordinates":true} 
[2026-07-07 05:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545680384001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7988611709689088000,"note":"Value kept but may cause issues"} 
[2026-07-07 05:20:42] 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-07-07 05:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783381577000,"timestamp_ms":1783381577000,"timestamp_seconds":1783381577,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d34d28"} 
[2026-07-07 05:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:20: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-07-07 05:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 05:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545680384001,"66":27930,"86":206,"79":20480,"24":14,"16":340597563772108800,"45":7988611709689088000},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545680384001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:20:42] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:20:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7988611709689088000,"description":"Unknown IO ID 45"} 
[2026-07-07 05:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545680384001,"power":27930,"unknown_86":206,"unknown_79":20480,"ignition":14,"odometer":null,"unknown_45":7988611709689088000}} 
[2026-07-07 05:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":124807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:20:42] local.INFO: GPS data processed {"connection_id":124807,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:20:42] local.INFO: Acknowledgment sent {"connection_id":124807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:21:00] local.INFO: TCP Data received {"connection_id":124146,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:21:00] local.INFO: Processing buffer {"connection_id":124146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:21:00] local.INFO: IMEI packet received {"connection_id":124146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":124146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:21:05] local.INFO: TCP Data received {"connection_id":124146,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:21:05] local.INFO: Processing buffer {"connection_id":124146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:21:05] local.INFO: IMEI packet received {"connection_id":124146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":124146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:21:06] local.INFO: TCP Data received {"connection_id":124146,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d34d28012d6eea8006449150000e004627..."} 
[2026-07-07 05:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d34d28012d6eea8006449150000e004627..."} 
[2026-07-07 05:21:06] local.INFO: Processing buffer {"connection_id":124146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d34d28012d6eea8006449150000e004627..."} 
[2026-07-07 05:21:06] local.INFO: Packet analysis {"connection_id":124146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:21:06] local.INFO: Extracted packet for processing {"connection_id":124146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:21:06] local.INFO: GPS Element Parsed {"raw_longitude":762243712,"raw_latitude":105156944,"longitude_deg":76.2243712,"latitude_deg":10.5156944,"altitude":14,"angle":70,"satellites":39,"speed":14,"hex_longitude":"2d6eea80","hex_latitude":"06449150","is_valid_coordinates":true} 
[2026-07-07 05:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545680384001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7988611709689088000,"note":"Value kept but may cause issues"} 
[2026-07-07 05:21:06] 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-07-07 05:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783381577000,"timestamp_ms":1783381577000,"timestamp_seconds":1783381577,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d34d28"} 
[2026-07-07 05:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 05:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 05:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545680384001,"66":27930,"86":206,"79":20480,"24":14,"16":340597563772108800,"45":7988611709689088000},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545680384001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:21:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:21:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7988611709689088000,"description":"Unknown IO ID 45"} 
[2026-07-07 05:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545680384001,"power":27930,"unknown_86":206,"unknown_79":20480,"ignition":14,"odometer":null,"unknown_45":7988611709689088000}} 
[2026-07-07 05:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":124146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:21:06] local.INFO: GPS data processed {"connection_id":124146,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:21:06] local.INFO: Acknowledgment sent {"connection_id":124146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:21:38] local.INFO: TCP Data received {"connection_id":124146,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d34d28012d6eea8006449150000e004627..."} 
[2026-07-07 05:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d34d28012d6eea8006449150000e004627..."} 
[2026-07-07 05:21:38] local.INFO: Processing buffer {"connection_id":124146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d34d28012d6eea8006449150000e004627..."} 
[2026-07-07 05:21:38] local.INFO: Packet analysis {"connection_id":124146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:21:38] local.INFO: Extracted packet for processing {"connection_id":124146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d3"} 
[2026-07-07 05:21:38] local.INFO: GPS Element Parsed {"raw_longitude":762243712,"raw_latitude":105156944,"longitude_deg":76.2243712,"latitude_deg":10.5156944,"altitude":14,"angle":70,"satellites":39,"speed":14,"hex_longitude":"2d6eea80","hex_latitude":"06449150","is_valid_coordinates":true} 
[2026-07-07 05:21: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-07-07 05:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545680384001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7988611709689088000,"note":"Value kept but may cause issues"} 
[2026-07-07 05:21:38] 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-07-07 05:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783381577000,"timestamp_ms":1783381577000,"timestamp_seconds":1783381577,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d34d28"} 
[2026-07-07 05:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:21: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-07-07 05:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 05:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545680384001,"66":27930,"86":206,"79":20480,"24":14,"16":340597563772108800,"45":7988611709689088000},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545680384001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:21:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:21:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7988611709689088000,"description":"Unknown IO ID 45"} 
[2026-07-07 05:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545680384001,"power":27930,"unknown_86":206,"unknown_79":20480,"ignition":14,"odometer":null,"unknown_45":7988611709689088000}} 
[2026-07-07 05:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":124146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:21:38] local.INFO: GPS data processed {"connection_id":124146,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:21:38] local.INFO: Acknowledgment sent {"connection_id":124146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:22:00] local.INFO: TCP Data received {"connection_id":124808,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:22:00] local.INFO: Processing buffer {"connection_id":124808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:22:00] local.INFO: IMEI packet received {"connection_id":124808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":124808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:22:01] local.INFO: TCP Data received {"connection_id":124808,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:22:01] local.INFO: Processing buffer {"connection_id":124808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:22:01] local.INFO: IMEI packet received {"connection_id":124808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":124808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:22:05] local.INFO: TCP Data received {"connection_id":124808,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:22:05] local.INFO: Processing buffer {"connection_id":124808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:22:05] local.INFO: IMEI packet received {"connection_id":124808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":124808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:22:06] local.INFO: TCP Data received {"connection_id":124808,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:22:06] local.INFO: Processing buffer {"connection_id":124808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:22:06] local.INFO: Packet analysis {"connection_id":124808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d7"} 
[2026-07-07 05:22:06] local.INFO: Extracted packet for processing {"connection_id":124808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d7"} 
[2026-07-07 05:22:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545683712001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7992341253130899456,"note":"Value kept but may cause issues"} 
[2026-07-07 05:22:06] 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-07-07 05:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783381883000,"timestamp_ms":1783381883000,"timestamp_seconds":1783381883,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d7f878"} 
[2026-07-07 05:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 05:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545683712001,"66":26267,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7992341253130899456},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545683712001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:22:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:22:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7992341253130899456,"description":"Unknown IO ID 45"} 
[2026-07-07 05:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545683712001,"power":26267,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7992341253130899456}} 
[2026-07-07 05:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":124808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:22:06] local.INFO: GPS data processed {"connection_id":124808,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:22:06] local.INFO: Acknowledgment sent {"connection_id":124808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:22:38] local.INFO: TCP Data received {"connection_id":124808,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:22:38] local.INFO: Processing buffer {"connection_id":124808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:22:38] local.INFO: Packet analysis {"connection_id":124808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d7"} 
[2026-07-07 05:22:38] local.INFO: Extracted packet for processing {"connection_id":124808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d7"} 
[2026-07-07 05:22:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 05:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545683712001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7992341253130899456,"note":"Value kept but may cause issues"} 
[2026-07-07 05:22:38] 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-07-07 05:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783381883000,"timestamp_ms":1783381883000,"timestamp_seconds":1783381883,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d7f878"} 
[2026-07-07 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-07-07 05:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 05:22: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-07-07 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-07-07 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-07-07 05:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545683712001,"66":26267,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7992341253130899456},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545683712001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:22:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:22:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7992341253130899456,"description":"Unknown IO ID 45"} 
[2026-07-07 05:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545683712001,"power":26267,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7992341253130899456}} 
[2026-07-07 05:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":124808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:22:38] local.INFO: GPS data processed {"connection_id":124808,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:22:38] local.INFO: Acknowledgment sent {"connection_id":124808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:23:00] local.INFO: TCP Data received {"connection_id":124147,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:23:00] local.INFO: Processing buffer {"connection_id":124147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:23:00] local.INFO: IMEI packet received {"connection_id":124147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":124147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:23:05] local.INFO: TCP Data received {"connection_id":124147,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:23:05] local.INFO: Processing buffer {"connection_id":124147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:23:05] local.INFO: IMEI packet received {"connection_id":124147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":124147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:23:05] local.INFO: TCP Data received {"connection_id":124147,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:23:05] local.INFO: Processing buffer {"connection_id":124147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:23:05] local.INFO: Packet analysis {"connection_id":124147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d7"} 
[2026-07-07 05:23:05] local.INFO: Extracted packet for processing {"connection_id":124147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d7"} 
[2026-07-07 05:23:05] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545683712001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7992341253130899456,"note":"Value kept but may cause issues"} 
[2026-07-07 05:23:05] 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-07-07 05:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783381883000,"timestamp_ms":1783381883000,"timestamp_seconds":1783381883,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d7f878"} 
[2026-07-07 05:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 05:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545683712001,"66":26267,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7992341253130899456},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545683712001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:23:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:23:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7992341253130899456,"description":"Unknown IO ID 45"} 
[2026-07-07 05:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545683712001,"power":26267,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7992341253130899456}} 
[2026-07-07 05:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":124147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:23:05] local.INFO: GPS data processed {"connection_id":124147,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:23:05] local.INFO: Acknowledgment sent {"connection_id":124147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:23:16] local.INFO: TCP Data received {"connection_id":124148,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:23:16] local.INFO: Processing buffer {"connection_id":124148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:23:16] local.INFO: IMEI packet received {"connection_id":124148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 05:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":124148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:23:37] local.INFO: TCP Data received {"connection_id":124147,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:23:37] local.INFO: Processing buffer {"connection_id":124147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:23:37] local.INFO: Packet analysis {"connection_id":124147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d7"} 
[2026-07-07 05:23:37] local.INFO: Extracted packet for processing {"connection_id":124147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d7"} 
[2026-07-07 05:23:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545683712001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7992341253130899456,"note":"Value kept but may cause issues"} 
[2026-07-07 05:23:37] 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-07-07 05:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783381883000,"timestamp_ms":1783381883000,"timestamp_seconds":1783381883,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d7f878"} 
[2026-07-07 05:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 05:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545683712001,"66":26267,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7992341253130899456},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545683712001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:23:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:23:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7992341253130899456,"description":"Unknown IO ID 45"} 
[2026-07-07 05:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545683712001,"power":26267,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7992341253130899456}} 
[2026-07-07 05:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":124147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:23:37] local.INFO: GPS data processed {"connection_id":124147,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:23:37] local.INFO: Acknowledgment sent {"connection_id":124147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:24:00] local.INFO: TCP Data received {"connection_id":124809,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:24:00] local.INFO: Processing buffer {"connection_id":124809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:24:00] local.INFO: IMEI packet received {"connection_id":124809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 05:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":124809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:24:00] local.INFO: TCP Data received {"connection_id":124149,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:24:00] local.INFO: Processing buffer {"connection_id":124149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:24:00] local.INFO: IMEI packet received {"connection_id":124149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":124149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:24:05] local.INFO: TCP Data received {"connection_id":124149,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:24:05] local.INFO: Processing buffer {"connection_id":124149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:24:05] local.INFO: IMEI packet received {"connection_id":124149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":124149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:24:06] local.INFO: TCP Data received {"connection_id":124149,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:24:06] local.INFO: Processing buffer {"connection_id":124149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:24:06] local.INFO: Packet analysis {"connection_id":124149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d7"} 
[2026-07-07 05:24:06] local.INFO: Extracted packet for processing {"connection_id":124149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d7"} 
[2026-07-07 05:24:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545683712001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7992341253130899456,"note":"Value kept but may cause issues"} 
[2026-07-07 05:24:06] 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-07-07 05:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783381883000,"timestamp_ms":1783381883000,"timestamp_seconds":1783381883,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d7f878"} 
[2026-07-07 05:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 05:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545683712001,"66":26267,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7992341253130899456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545683712001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:24:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:24:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7992341253130899456,"description":"Unknown IO ID 45"} 
[2026-07-07 05:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545683712001,"power":26267,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7992341253130899456}} 
[2026-07-07 05:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":124149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:24:06] local.INFO: GPS data processed {"connection_id":124149,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:24:06] local.INFO: Acknowledgment sent {"connection_id":124149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:24:38] local.INFO: TCP Data received {"connection_id":124149,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:24:38] local.INFO: Processing buffer {"connection_id":124149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:24:38] local.INFO: Packet analysis {"connection_id":124149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d7"} 
[2026-07-07 05:24:38] local.INFO: Extracted packet for processing {"connection_id":124149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d7"} 
[2026-07-07 05:24:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545683712001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7992341253130899456,"note":"Value kept but may cause issues"} 
[2026-07-07 05:24:38] 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-07-07 05:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783381883000,"timestamp_ms":1783381883000,"timestamp_seconds":1783381883,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d7f878"} 
[2026-07-07 05:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 05:24: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-07-07 05:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545683712001,"66":26267,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7992341253130899456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545683712001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:24:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:24:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7992341253130899456,"description":"Unknown IO ID 45"} 
[2026-07-07 05:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545683712001,"power":26267,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7992341253130899456}} 
[2026-07-07 05:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":124149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:24:38] local.INFO: GPS data processed {"connection_id":124149,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:24:38] local.INFO: Acknowledgment sent {"connection_id":124149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:25:00] local.INFO: TCP Data received {"connection_id":124038,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:25:00] local.INFO: Processing buffer {"connection_id":124038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:25:00] local.INFO: IMEI packet received {"connection_id":124038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":124038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:25:05] local.INFO: TCP Data received {"connection_id":124038,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:25:05] local.INFO: Processing buffer {"connection_id":124038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:25:05] local.INFO: IMEI packet received {"connection_id":124038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":124038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:25:06] local.INFO: TCP Data received {"connection_id":124038,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:25:06] local.INFO: Processing buffer {"connection_id":124038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:25:06] local.INFO: Packet analysis {"connection_id":124038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d7"} 
[2026-07-07 05:25:06] local.INFO: Extracted packet for processing {"connection_id":124038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d7"} 
[2026-07-07 05:25:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545683712001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7992341253130899456,"note":"Value kept but may cause issues"} 
[2026-07-07 05:25:06] 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-07-07 05:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783381883000,"timestamp_ms":1783381883000,"timestamp_seconds":1783381883,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d7f878"} 
[2026-07-07 05:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 05:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545683712001,"66":26267,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7992341253130899456},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545683712001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:25:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:25:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7992341253130899456,"description":"Unknown IO ID 45"} 
[2026-07-07 05:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545683712001,"power":26267,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7992341253130899456}} 
[2026-07-07 05:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":124038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:25:06] local.INFO: GPS data processed {"connection_id":124038,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:25:06] local.INFO: Acknowledgment sent {"connection_id":124038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:25:38] local.INFO: TCP Data received {"connection_id":124038,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:25:38] local.INFO: Processing buffer {"connection_id":124038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:25:38] local.INFO: Packet analysis {"connection_id":124038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d7"} 
[2026-07-07 05:25:38] local.INFO: Extracted packet for processing {"connection_id":124038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d7"} 
[2026-07-07 05:25:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545683712001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7992341253130899456,"note":"Value kept but may cause issues"} 
[2026-07-07 05:25:38] 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-07-07 05:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783381883000,"timestamp_ms":1783381883000,"timestamp_seconds":1783381883,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d7f878"} 
[2026-07-07 05:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 05:25: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-07-07 05:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545683712001,"66":26267,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7992341253130899456},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545683712001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:25:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:25:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7992341253130899456,"description":"Unknown IO ID 45"} 
[2026-07-07 05:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545683712001,"power":26267,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7992341253130899456}} 
[2026-07-07 05:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":124038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:25:38] local.INFO: GPS data processed {"connection_id":124038,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:25:38] local.INFO: Acknowledgment sent {"connection_id":124038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:26:00] local.INFO: TCP Data received {"connection_id":124810,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:26:00] local.INFO: Processing buffer {"connection_id":124810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:26:00] local.INFO: IMEI packet received {"connection_id":124810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":124810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:26:05] local.INFO: TCP Data received {"connection_id":124810,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:26:05] local.INFO: Processing buffer {"connection_id":124810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:26:05] local.INFO: IMEI packet received {"connection_id":124810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":124810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:26:06] local.INFO: TCP Data received {"connection_id":124810,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:26:06] local.INFO: Processing buffer {"connection_id":124810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:26:06] local.INFO: Packet analysis {"connection_id":124810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d7"} 
[2026-07-07 05:26:06] local.INFO: Extracted packet for processing {"connection_id":124810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d7"} 
[2026-07-07 05:26:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545683712001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7992341253130899456,"note":"Value kept but may cause issues"} 
[2026-07-07 05:26:06] 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-07-07 05:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783381883000,"timestamp_ms":1783381883000,"timestamp_seconds":1783381883,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d7f878"} 
[2026-07-07 05:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 05:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545683712001,"66":26267,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7992341253130899456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545683712001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:26:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:26:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7992341253130899456,"description":"Unknown IO ID 45"} 
[2026-07-07 05:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545683712001,"power":26267,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7992341253130899456}} 
[2026-07-07 05:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":124810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:26:06] local.INFO: GPS data processed {"connection_id":124810,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:26:06] local.INFO: Acknowledgment sent {"connection_id":124810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:26:38] local.INFO: TCP Data received {"connection_id":124810,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:26:38] local.INFO: Processing buffer {"connection_id":124810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39d7f878012d6efe80064499f8000f004629..."} 
[2026-07-07 05:26:38] local.INFO: Packet analysis {"connection_id":124810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39d7"} 
[2026-07-07 05:26:38] local.INFO: Extracted packet for processing {"connection_id":124810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39d7"} 
[2026-07-07 05:26:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545683712001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7992341253130899456,"note":"Value kept but may cause issues"} 
[2026-07-07 05:26:38] 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-07-07 05:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783381883000,"timestamp_ms":1783381883000,"timestamp_seconds":1783381883,"priority":1,"record_length":96,"hex_timestamp":"0000019f39d7f878"} 
[2026-07-07 05:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 05:26: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-07-07 05:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545683712001,"66":26267,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7992341253130899456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545683712001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:26:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:26:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7992341253130899456,"description":"Unknown IO ID 45"} 
[2026-07-07 05:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545683712001,"power":26267,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7992341253130899456}} 
[2026-07-07 05:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":124810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:26:38] local.INFO: GPS data processed {"connection_id":124810,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:26:38] local.INFO: Acknowledgment sent {"connection_id":124810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:27:02] local.INFO: TCP Data received {"connection_id":126062,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:27:02] local.INFO: Processing buffer {"connection_id":126062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:27:02] local.INFO: IMEI packet received {"connection_id":126062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":126062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:27:03] local.INFO: TCP Data received {"connection_id":126062,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:27:03] local.INFO: Processing buffer {"connection_id":126062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:27:03] local.INFO: IMEI packet received {"connection_id":126062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":126062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:27:05] local.INFO: TCP Data received {"connection_id":126062,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:27:05] local.INFO: Processing buffer {"connection_id":126062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:27:05] local.INFO: IMEI packet received {"connection_id":126062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":126062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:27:05] local.INFO: TCP Data received {"connection_id":126062,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:27:05] local.INFO: Processing buffer {"connection_id":126062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:27:05] local.INFO: Packet analysis {"connection_id":126062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39dc"} 
[2026-07-07 05:27:05] local.INFO: Extracted packet for processing {"connection_id":126062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39dc"} 
[2026-07-07 05:27:05] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545762048001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:27:05] 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-07-07 05:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783382184000,"timestamp_ms":1783382184000,"timestamp_seconds":1783382184,"priority":1,"record_length":96,"hex_timestamp":"0000019f39dc9040"} 
[2026-07-07 05:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-07 05:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545762048001,"66":26082,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545762048001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:27:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:27:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545762048001,"power":26082,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":126062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:27:05] local.INFO: GPS data processed {"connection_id":126062,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:27:05] local.INFO: Acknowledgment sent {"connection_id":126062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:27:37] local.INFO: TCP Data received {"connection_id":126062,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:27:37] local.INFO: Processing buffer {"connection_id":126062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:27:37] local.INFO: Packet analysis {"connection_id":126062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39dc"} 
[2026-07-07 05:27:37] local.INFO: Extracted packet for processing {"connection_id":126062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39dc"} 
[2026-07-07 05:27:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545762048001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:27:37] 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-07-07 05:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783382184000,"timestamp_ms":1783382184000,"timestamp_seconds":1783382184,"priority":1,"record_length":96,"hex_timestamp":"0000019f39dc9040"} 
[2026-07-07 05:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-07 05:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545762048001,"66":26082,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545762048001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:27:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:27:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545762048001,"power":26082,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":126062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:27:37] local.INFO: GPS data processed {"connection_id":126062,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:27:37] local.INFO: Acknowledgment sent {"connection_id":126062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:28:00] local.INFO: TCP Data received {"connection_id":124813,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:28:00] local.INFO: Processing buffer {"connection_id":124813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:28:00] local.INFO: IMEI packet received {"connection_id":124813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":124813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:28:05] local.INFO: TCP Data received {"connection_id":124813,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:28:05] local.INFO: Processing buffer {"connection_id":124813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:28:05] local.INFO: IMEI packet received {"connection_id":124813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":124813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:28:06] local.INFO: TCP Data received {"connection_id":124813,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:28:06] local.INFO: Processing buffer {"connection_id":124813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:28:06] local.INFO: Packet analysis {"connection_id":124813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39dc"} 
[2026-07-07 05:28:06] local.INFO: Extracted packet for processing {"connection_id":124813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39dc"} 
[2026-07-07 05:28:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545762048001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:28:06] 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-07-07 05:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783382184000,"timestamp_ms":1783382184000,"timestamp_seconds":1783382184,"priority":1,"record_length":96,"hex_timestamp":"0000019f39dc9040"} 
[2026-07-07 05:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-07 05:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545762048001,"66":26082,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545762048001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:28:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:28:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545762048001,"power":26082,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":124813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:28:06] local.INFO: GPS data processed {"connection_id":124813,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:28:06] local.INFO: Acknowledgment sent {"connection_id":124813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:28:38] local.INFO: TCP Data received {"connection_id":124813,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:28:38] local.INFO: Processing buffer {"connection_id":124813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:28:38] local.INFO: Packet analysis {"connection_id":124813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39dc"} 
[2026-07-07 05:28:38] local.INFO: Extracted packet for processing {"connection_id":124813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39dc"} 
[2026-07-07 05:28:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 05:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545762048001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:28:38] 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-07-07 05:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783382184000,"timestamp_ms":1783382184000,"timestamp_seconds":1783382184,"priority":1,"record_length":96,"hex_timestamp":"0000019f39dc9040"} 
[2026-07-07 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-07-07 05:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-07 05:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 05:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545762048001,"66":26082,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545762048001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:28:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:28:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545762048001,"power":26082,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":124813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:28:38] local.INFO: GPS data processed {"connection_id":124813,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:28:38] local.INFO: Acknowledgment sent {"connection_id":124813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:29:00] local.INFO: TCP Data received {"connection_id":126063,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:29:00] local.INFO: Processing buffer {"connection_id":126063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:29:00] local.INFO: IMEI packet received {"connection_id":126063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":126063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:29:05] local.INFO: TCP Data received {"connection_id":126063,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:29:05] local.INFO: Processing buffer {"connection_id":126063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:29:05] local.INFO: IMEI packet received {"connection_id":126063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":126063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:29:06] local.INFO: TCP Data received {"connection_id":126063,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:29:06] local.INFO: Processing buffer {"connection_id":126063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:29:06] local.INFO: Packet analysis {"connection_id":126063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39dc"} 
[2026-07-07 05:29:06] local.INFO: Extracted packet for processing {"connection_id":126063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39dc"} 
[2026-07-07 05:29:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545762048001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:29:06] 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-07-07 05:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783382184000,"timestamp_ms":1783382184000,"timestamp_seconds":1783382184,"priority":1,"record_length":96,"hex_timestamp":"0000019f39dc9040"} 
[2026-07-07 05:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-07 05:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545762048001,"66":26082,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545762048001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:29:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:29:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545762048001,"power":26082,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":126063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:29:06] local.INFO: GPS data processed {"connection_id":126063,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:29:06] local.INFO: Acknowledgment sent {"connection_id":126063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:29:07] local.INFO: TCP Data received {"connection_id":124039,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:29:07] local.INFO: Processing buffer {"connection_id":124039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:29:07] local.INFO: IMEI packet received {"connection_id":124039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 05:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":124039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:29:37] local.INFO: TCP Data received {"connection_id":126063,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:29:37] local.INFO: Processing buffer {"connection_id":126063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:29:37] local.INFO: Packet analysis {"connection_id":126063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39dc"} 
[2026-07-07 05:29:37] local.INFO: Extracted packet for processing {"connection_id":126063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39dc"} 
[2026-07-07 05:29:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545762048001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:29:37] 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-07-07 05:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783382184000,"timestamp_ms":1783382184000,"timestamp_seconds":1783382184,"priority":1,"record_length":96,"hex_timestamp":"0000019f39dc9040"} 
[2026-07-07 05:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-07 05:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545762048001,"66":26082,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545762048001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:29:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:29:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545762048001,"power":26082,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":126063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:29:37] local.INFO: GPS data processed {"connection_id":126063,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:29:37] local.INFO: Acknowledgment sent {"connection_id":126063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:30:00] local.INFO: TCP Data received {"connection_id":124815,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:30:00] local.INFO: Processing buffer {"connection_id":124815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:30:00] local.INFO: IMEI packet received {"connection_id":124815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":124815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:30:05] local.INFO: TCP Data received {"connection_id":124815,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:30:05] local.INFO: Processing buffer {"connection_id":124815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:30:05] local.INFO: IMEI packet received {"connection_id":124815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":124815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:30:06] local.INFO: TCP Data received {"connection_id":124815,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:30:06] local.INFO: Processing buffer {"connection_id":124815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:30:06] local.INFO: Packet analysis {"connection_id":124815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39dc"} 
[2026-07-07 05:30:06] local.INFO: Extracted packet for processing {"connection_id":124815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39dc"} 
[2026-07-07 05:30:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545762048001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:30:06] 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-07-07 05:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783382184000,"timestamp_ms":1783382184000,"timestamp_seconds":1783382184,"priority":1,"record_length":96,"hex_timestamp":"0000019f39dc9040"} 
[2026-07-07 05:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-07 05:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545762048001,"66":26082,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545762048001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:30:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:30:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545762048001,"power":26082,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":124815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:30:06] local.INFO: GPS data processed {"connection_id":124815,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:30:06] local.INFO: Acknowledgment sent {"connection_id":124815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:30:37] local.INFO: TCP Data received {"connection_id":124815,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:30:37] local.INFO: Processing buffer {"connection_id":124815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:30:37] local.INFO: Packet analysis {"connection_id":124815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39dc"} 
[2026-07-07 05:30:37] local.INFO: Extracted packet for processing {"connection_id":124815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39dc"} 
[2026-07-07 05:30:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545762048001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:30:37] 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-07-07 05:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783382184000,"timestamp_ms":1783382184000,"timestamp_seconds":1783382184,"priority":1,"record_length":96,"hex_timestamp":"0000019f39dc9040"} 
[2026-07-07 05:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-07 05:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545762048001,"66":26082,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545762048001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:30:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:30:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545762048001,"power":26082,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":124815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:30:37] local.INFO: GPS data processed {"connection_id":124815,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:30:37] local.INFO: Acknowledgment sent {"connection_id":124815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:31:00] local.INFO: TCP Data received {"connection_id":126064,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:31:00] local.INFO: Processing buffer {"connection_id":126064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:31:00] local.INFO: IMEI packet received {"connection_id":126064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":126064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:31:05] local.INFO: TCP Data received {"connection_id":126064,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:31:05] local.INFO: Processing buffer {"connection_id":126064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:31:05] local.INFO: IMEI packet received {"connection_id":126064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":126064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:31:06] local.INFO: TCP Data received {"connection_id":126064,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:31:06] local.INFO: Processing buffer {"connection_id":126064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:31:06] local.INFO: Packet analysis {"connection_id":126064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39dc"} 
[2026-07-07 05:31:06] local.INFO: Extracted packet for processing {"connection_id":126064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39dc"} 
[2026-07-07 05:31:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545762048001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:31:06] 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-07-07 05:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783382184000,"timestamp_ms":1783382184000,"timestamp_seconds":1783382184,"priority":1,"record_length":96,"hex_timestamp":"0000019f39dc9040"} 
[2026-07-07 05:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-07 05:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545762048001,"66":26082,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545762048001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:31:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:31:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545762048001,"power":26082,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":126064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:31:06] local.INFO: GPS data processed {"connection_id":126064,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:31:06] local.INFO: Acknowledgment sent {"connection_id":126064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:31:38] local.INFO: TCP Data received {"connection_id":126064,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:31:38] local.INFO: Processing buffer {"connection_id":126064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39dc9040012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:31:38] local.INFO: Packet analysis {"connection_id":126064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39dc"} 
[2026-07-07 05:31:38] local.INFO: Extracted packet for processing {"connection_id":126064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39dc"} 
[2026-07-07 05:31:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545762048001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:31:38] 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-07-07 05:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783382184000,"timestamp_ms":1783382184000,"timestamp_seconds":1783382184,"priority":1,"record_length":96,"hex_timestamp":"0000019f39dc9040"} 
[2026-07-07 05:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-07 05:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545762048001,"66":26082,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545762048001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:31:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:31:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545762048001,"power":26082,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":126064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:31:38] local.INFO: GPS data processed {"connection_id":126064,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:31:38] local.INFO: Acknowledgment sent {"connection_id":126064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:32:00] local.INFO: TCP Data received {"connection_id":124041,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:32:00] local.INFO: Processing buffer {"connection_id":124041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:32:00] local.INFO: IMEI packet received {"connection_id":124041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":124041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:32:03] local.INFO: TCP Data received {"connection_id":124041,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:32:03] local.INFO: Processing buffer {"connection_id":124041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:32:03] local.INFO: IMEI packet received {"connection_id":124041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":124041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:32:05] local.INFO: TCP Data received {"connection_id":124041,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:32:05] local.INFO: Processing buffer {"connection_id":124041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:32:05] local.INFO: IMEI packet received {"connection_id":124041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":124041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:32:06] local.INFO: TCP Data received {"connection_id":124041,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:32:06] local.INFO: Processing buffer {"connection_id":124041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:32:06] local.INFO: Packet analysis {"connection_id":124041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:32:06] local.INFO: Extracted packet for processing {"connection_id":124041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:32:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545839104001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:32:06] 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-07-07 05:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783382485000,"timestamp_ms":1783382485000,"timestamp_seconds":1783382485,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e12808"} 
[2026-07-07 05:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-07 05:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545839104001,"66":25897,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545839104001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:32:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:32:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545839104001,"power":25897,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":124041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:32:06] local.INFO: GPS data processed {"connection_id":124041,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:32:06] local.INFO: Acknowledgment sent {"connection_id":124041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:32:11] local.INFO: TCP Data received {"connection_id":124041,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:32:11] local.INFO: Processing buffer {"connection_id":124041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:32:11] local.INFO: Packet analysis {"connection_id":124041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:32:11] local.INFO: Extracted packet for processing {"connection_id":124041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:32:11] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545839104001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:32:11] 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-07-07 05:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783382485000,"timestamp_ms":1783382485000,"timestamp_seconds":1783382485,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e12808"} 
[2026-07-07 05:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:32: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-07-07 05: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":226,"data_length":795,"current_offset":136} 
[2026-07-07 05:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545839104001,"66":25897,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545839104001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:32:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:32:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545839104001,"power":25897,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":124041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:32:11] local.INFO: GPS data processed {"connection_id":124041,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:32:11] local.INFO: Acknowledgment sent {"connection_id":124041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:32:42] local.INFO: TCP Data received {"connection_id":124041,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:32:42] local.INFO: Processing buffer {"connection_id":124041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:32:42] local.INFO: Packet analysis {"connection_id":124041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:32:42] local.INFO: Extracted packet for processing {"connection_id":124041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:32:42] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545839104001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:32:42] 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-07-07 05:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783382485000,"timestamp_ms":1783382485000,"timestamp_seconds":1783382485,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e12808"} 
[2026-07-07 05:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-07 05:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545839104001,"66":25897,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545839104001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:32:42] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:32:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545839104001,"power":25897,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":124041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:32:42] local.INFO: GPS data processed {"connection_id":124041,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:32:42] local.INFO: Acknowledgment sent {"connection_id":124041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:33:00] local.INFO: TCP Data received {"connection_id":124816,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:33:00] local.INFO: Processing buffer {"connection_id":124816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:33:00] local.INFO: IMEI packet received {"connection_id":124816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":124816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:33:05] local.INFO: TCP Data received {"connection_id":124816,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:33:05] local.INFO: Processing buffer {"connection_id":124816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:33:05] local.INFO: IMEI packet received {"connection_id":124816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":124816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:33:06] local.INFO: TCP Data received {"connection_id":124816,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:33:06] local.INFO: Processing buffer {"connection_id":124816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:33:06] local.INFO: Packet analysis {"connection_id":124816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:33:06] local.INFO: Extracted packet for processing {"connection_id":124816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:33:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545839104001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:33:06] 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-07-07 05:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783382485000,"timestamp_ms":1783382485000,"timestamp_seconds":1783382485,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e12808"} 
[2026-07-07 05:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-07 05:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545839104001,"66":25897,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545839104001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:33:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:33:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545839104001,"power":25897,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":124816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:33:06] local.INFO: GPS data processed {"connection_id":124816,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:33:06] local.INFO: Acknowledgment sent {"connection_id":124816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:33:37] local.INFO: TCP Data received {"connection_id":124816,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:33:37] local.INFO: Processing buffer {"connection_id":124816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:33:37] local.INFO: Packet analysis {"connection_id":124816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:33:37] local.INFO: Extracted packet for processing {"connection_id":124816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:33:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545839104001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:33:37] 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-07-07 05:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783382485000,"timestamp_ms":1783382485000,"timestamp_seconds":1783382485,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e12808"} 
[2026-07-07 05:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-07 05:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545839104001,"66":25897,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545839104001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:33:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:33:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545839104001,"power":25897,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":124816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:33:37] local.INFO: GPS data processed {"connection_id":124816,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:33:37] local.INFO: Acknowledgment sent {"connection_id":124816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:34:00] local.INFO: TCP Data received {"connection_id":124817,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:34:00] local.INFO: Processing buffer {"connection_id":124817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:34:00] local.INFO: IMEI packet received {"connection_id":124817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":124817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:34:05] local.INFO: TCP Data received {"connection_id":124817,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:34:05] local.INFO: Processing buffer {"connection_id":124817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:34:05] local.INFO: IMEI packet received {"connection_id":124817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":124817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:34:06] local.INFO: TCP Data received {"connection_id":124817,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:34:06] local.INFO: Processing buffer {"connection_id":124817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:34:06] local.INFO: Packet analysis {"connection_id":124817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:34:06] local.INFO: Extracted packet for processing {"connection_id":124817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:34:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545839104001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:34:06] 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-07-07 05:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783382485000,"timestamp_ms":1783382485000,"timestamp_seconds":1783382485,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e12808"} 
[2026-07-07 05:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-07 05:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545839104001,"66":25897,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545839104001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:34:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:34:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545839104001,"power":25897,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":124817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:34:06] local.INFO: GPS data processed {"connection_id":124817,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:34:06] local.INFO: Acknowledgment sent {"connection_id":124817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:34:25] local.INFO: TCP Data received {"connection_id":124818,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:34:25] local.INFO: Processing buffer {"connection_id":124818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:34:25] local.INFO: IMEI packet received {"connection_id":124818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 05:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":124818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:34:37] local.INFO: TCP Data received {"connection_id":124817,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:34:37] local.INFO: Processing buffer {"connection_id":124817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:34:37] local.INFO: Packet analysis {"connection_id":124817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:34:37] local.INFO: Extracted packet for processing {"connection_id":124817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:34:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545839104001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:34:37] 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-07-07 05:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783382485000,"timestamp_ms":1783382485000,"timestamp_seconds":1783382485,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e12808"} 
[2026-07-07 05:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-07 05:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545839104001,"66":25897,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545839104001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:34:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:34:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545839104001,"power":25897,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":124817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:34:37] local.INFO: GPS data processed {"connection_id":124817,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:34:37] local.INFO: Acknowledgment sent {"connection_id":124817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:35:00] local.INFO: TCP Data received {"connection_id":126066,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:35:00] local.INFO: Processing buffer {"connection_id":126066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:35:00] local.INFO: IMEI packet received {"connection_id":126066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":126066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:35:05] local.INFO: TCP Data received {"connection_id":126066,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:35:05] local.INFO: Processing buffer {"connection_id":126066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:35:05] local.INFO: IMEI packet received {"connection_id":126066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":126066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:35:05] local.INFO: TCP Data received {"connection_id":124042,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:35:05] local.INFO: Processing buffer {"connection_id":124042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:35:05] local.INFO: IMEI packet received {"connection_id":124042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 05:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":124042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:35:06] local.INFO: TCP Data received {"connection_id":126066,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:35:06] local.INFO: Processing buffer {"connection_id":126066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:35:06] local.INFO: Packet analysis {"connection_id":126066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:35:06] local.INFO: Extracted packet for processing {"connection_id":126066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:35:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 05:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545839104001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:35:06] 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-07-07 05:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783382485000,"timestamp_ms":1783382485000,"timestamp_seconds":1783382485,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e12808"} 
[2026-07-07 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-07-07 05:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-07 05:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 05:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545839104001,"66":25897,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545839104001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:35:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:35:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545839104001,"power":25897,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":126066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:35:06] local.INFO: GPS data processed {"connection_id":126066,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:35:06] local.INFO: Acknowledgment sent {"connection_id":126066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:35:38] local.INFO: TCP Data received {"connection_id":126066,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:35:38] local.INFO: Processing buffer {"connection_id":126066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:35:38] local.INFO: Packet analysis {"connection_id":126066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:35:38] local.INFO: Extracted packet for processing {"connection_id":126066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:35:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545839104001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:35:38] 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-07-07 05:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783382485000,"timestamp_ms":1783382485000,"timestamp_seconds":1783382485,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e12808"} 
[2026-07-07 05:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-07 05:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545839104001,"66":25897,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545839104001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:35:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:35:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545839104001,"power":25897,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":126066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:35:38] local.INFO: GPS data processed {"connection_id":126066,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:35:38] local.INFO: Acknowledgment sent {"connection_id":126066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:36:00] local.INFO: TCP Data received {"connection_id":124820,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:36:00] local.INFO: Processing buffer {"connection_id":124820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:36:00] local.INFO: IMEI packet received {"connection_id":124820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":124820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:36:05] local.INFO: TCP Data received {"connection_id":124820,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:36:05] local.INFO: Processing buffer {"connection_id":124820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:36:05] local.INFO: IMEI packet received {"connection_id":124820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":124820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:36:06] local.INFO: TCP Data received {"connection_id":124820,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:36:06] local.INFO: Processing buffer {"connection_id":124820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:36:06] local.INFO: Packet analysis {"connection_id":124820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:36:06] local.INFO: Extracted packet for processing {"connection_id":124820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:36:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545839104001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:36:06] 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-07-07 05:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783382485000,"timestamp_ms":1783382485000,"timestamp_seconds":1783382485,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e12808"} 
[2026-07-07 05:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-07 05:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545839104001,"66":25897,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545839104001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:36:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:36:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545839104001,"power":25897,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":124820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:36:06] local.INFO: GPS data processed {"connection_id":124820,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:36:06] local.INFO: Acknowledgment sent {"connection_id":124820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:36:38] local.INFO: TCP Data received {"connection_id":124820,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:36:38] local.INFO: Processing buffer {"connection_id":124820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e12808012d6efe80064499f8000f004629..."} 
[2026-07-07 05:36:38] local.INFO: Packet analysis {"connection_id":124820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:36:38] local.INFO: Extracted packet for processing {"connection_id":124820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e1"} 
[2026-07-07 05:36:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545839104001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:36:38] 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-07-07 05:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783382485000,"timestamp_ms":1783382485000,"timestamp_seconds":1783382485,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e12808"} 
[2026-07-07 05:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-07 05:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545839104001,"66":25897,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545839104001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:36:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:36:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545839104001,"power":25897,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":124820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:36:38] local.INFO: GPS data processed {"connection_id":124820,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:36:38] local.INFO: Acknowledgment sent {"connection_id":124820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:37:00] local.INFO: TCP Data received {"connection_id":124821,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:37:00] local.INFO: Processing buffer {"connection_id":124821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:37:00] local.INFO: IMEI packet received {"connection_id":124821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":124821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:37:04] local.INFO: TCP Data received {"connection_id":124821,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:37:04] local.INFO: Processing buffer {"connection_id":124821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:37:04] local.INFO: IMEI packet received {"connection_id":124821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":124821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:37:05] local.INFO: TCP Data received {"connection_id":124821,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:37:05] local.INFO: Processing buffer {"connection_id":124821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:37:05] local.INFO: IMEI packet received {"connection_id":124821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":124821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:37:06] local.INFO: TCP Data received {"connection_id":124821,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:37:06] local.INFO: Processing buffer {"connection_id":124821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:37:06] local.INFO: Packet analysis {"connection_id":124821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:37:06] local.INFO: Extracted packet for processing {"connection_id":124821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:37:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545916160001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:37:06] 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-07-07 05:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783382786000,"timestamp_ms":1783382786000,"timestamp_seconds":1783382786,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e5bfd0"} 
[2026-07-07 05:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-07 05:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545916160001,"66":25875,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545916160001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:37:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:37:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545916160001,"power":25875,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":124821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:37:06] local.INFO: GPS data processed {"connection_id":124821,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:37:06] local.INFO: Acknowledgment sent {"connection_id":124821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:37:10] local.INFO: TCP Data received {"connection_id":124821,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:37:10] local.INFO: Processing buffer {"connection_id":124821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:37:10] local.INFO: Packet analysis {"connection_id":124821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:37:10] local.INFO: Extracted packet for processing {"connection_id":124821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:37:10] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545916160001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:37:10] 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-07-07 05:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783382786000,"timestamp_ms":1783382786000,"timestamp_seconds":1783382786,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e5bfd0"} 
[2026-07-07 05:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-07 05:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545916160001,"66":25875,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545916160001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:37:10] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:37:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545916160001,"power":25875,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":124821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:37:10] local.INFO: GPS data processed {"connection_id":124821,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:37:10] local.INFO: Acknowledgment sent {"connection_id":124821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:37:42] local.INFO: TCP Data received {"connection_id":124821,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:37:42] local.INFO: Processing buffer {"connection_id":124821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:37:42] local.INFO: Packet analysis {"connection_id":124821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:37:42] local.INFO: Extracted packet for processing {"connection_id":124821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:37:42] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545916160001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:37:42] 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-07-07 05:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783382786000,"timestamp_ms":1783382786000,"timestamp_seconds":1783382786,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e5bfd0"} 
[2026-07-07 05:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-07 05:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545916160001,"66":25875,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545916160001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:37:42] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:37:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545916160001,"power":25875,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":124821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:37:42] local.INFO: GPS data processed {"connection_id":124821,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:37:42] local.INFO: Acknowledgment sent {"connection_id":124821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:38:00] local.INFO: TCP Data received {"connection_id":126067,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:38:00] local.INFO: Processing buffer {"connection_id":126067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:38:00] local.INFO: IMEI packet received {"connection_id":126067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":126067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:38:05] local.INFO: TCP Data received {"connection_id":126067,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:38:05] local.INFO: Processing buffer {"connection_id":126067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:38:05] local.INFO: IMEI packet received {"connection_id":126067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":126067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:38:06] local.INFO: TCP Data received {"connection_id":126067,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:38:06] local.INFO: Processing buffer {"connection_id":126067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:38:06] local.INFO: Packet analysis {"connection_id":126067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:38:06] local.INFO: Extracted packet for processing {"connection_id":126067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:38:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545916160001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:38:06] 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-07-07 05:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783382786000,"timestamp_ms":1783382786000,"timestamp_seconds":1783382786,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e5bfd0"} 
[2026-07-07 05:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-07 05:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545916160001,"66":25875,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545916160001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:38:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:38:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545916160001,"power":25875,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":126067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:38:06] local.INFO: GPS data processed {"connection_id":126067,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:38:06] local.INFO: Acknowledgment sent {"connection_id":126067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:38:37] local.INFO: TCP Data received {"connection_id":126067,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:38:37] local.INFO: Processing buffer {"connection_id":126067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:38:37] local.INFO: Packet analysis {"connection_id":126067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:38:37] local.INFO: Extracted packet for processing {"connection_id":126067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:38:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545916160001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:38:37] 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-07-07 05:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783382786000,"timestamp_ms":1783382786000,"timestamp_seconds":1783382786,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e5bfd0"} 
[2026-07-07 05:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-07 05:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545916160001,"66":25875,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545916160001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:38:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:38:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545916160001,"power":25875,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":126067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:38:38] local.INFO: GPS data processed {"connection_id":126067,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:38:38] local.INFO: Acknowledgment sent {"connection_id":126067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:39:00] local.INFO: TCP Data received {"connection_id":124155,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:39:00] local.INFO: Processing buffer {"connection_id":124155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:39:00] local.INFO: IMEI packet received {"connection_id":124155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":124155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:39:05] local.INFO: TCP Data received {"connection_id":124155,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:39:05] local.INFO: Processing buffer {"connection_id":124155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:39:05] local.INFO: IMEI packet received {"connection_id":124155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":124155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:39:06] local.INFO: TCP Data received {"connection_id":124155,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:39:06] local.INFO: Processing buffer {"connection_id":124155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:39:06] local.INFO: Packet analysis {"connection_id":124155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:39:06] local.INFO: Extracted packet for processing {"connection_id":124155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:39:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545916160001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:39:06] 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-07-07 05:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783382786000,"timestamp_ms":1783382786000,"timestamp_seconds":1783382786,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e5bfd0"} 
[2026-07-07 05:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-07 05:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545916160001,"66":25875,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545916160001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:39:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:39:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545916160001,"power":25875,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":124155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:39:06] local.INFO: GPS data processed {"connection_id":124155,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:39:06] local.INFO: Acknowledgment sent {"connection_id":124155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:39:51] local.INFO: TCP Data received {"connection_id":124155,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:39:51] local.INFO: Processing buffer {"connection_id":124155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:39:51] local.INFO: Packet analysis {"connection_id":124155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:39:51] local.INFO: Extracted packet for processing {"connection_id":124155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:39:51] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545916160001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:39:51] 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-07-07 05:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783382786000,"timestamp_ms":1783382786000,"timestamp_seconds":1783382786,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e5bfd0"} 
[2026-07-07 05:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-07 05:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":124155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":124155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":124155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545916160001,"66":25875,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545916160001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:39:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:39:51] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545916160001,"power":25875,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":124155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:39:51] local.INFO: GPS data processed {"connection_id":124155,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:39:51] local.INFO: Acknowledgment sent {"connection_id":124155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:40:00] local.INFO: TCP Data received {"connection_id":124157,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:40:00] local.INFO: Processing buffer {"connection_id":124157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:40:00] local.INFO: IMEI packet received {"connection_id":124157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":124157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:40:05] local.INFO: TCP Data received {"connection_id":124157,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:40:05] local.INFO: Processing buffer {"connection_id":124157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:40:05] local.INFO: IMEI packet received {"connection_id":124157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":124157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:40:06] local.INFO: TCP Data received {"connection_id":124157,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:40:06] local.INFO: Processing buffer {"connection_id":124157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:40:06] local.INFO: Packet analysis {"connection_id":124157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:40:06] local.INFO: Extracted packet for processing {"connection_id":124157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:40:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545916160001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:40:06] 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-07-07 05:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783382786000,"timestamp_ms":1783382786000,"timestamp_seconds":1783382786,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e5bfd0"} 
[2026-07-07 05:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-07 05:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545916160001,"66":25875,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545916160001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:40:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:40:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545916160001,"power":25875,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":124157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:40:06] local.INFO: GPS data processed {"connection_id":124157,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:40:06] local.INFO: Acknowledgment sent {"connection_id":124157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:40:20] local.INFO: TCP Data received {"connection_id":124822,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:40:20] local.INFO: Processing buffer {"connection_id":124822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:40:20] local.INFO: IMEI packet received {"connection_id":124822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 05:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":124822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:40:38] local.INFO: TCP Data received {"connection_id":124157,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:40:38] local.INFO: Processing buffer {"connection_id":124157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:40:38] local.INFO: Packet analysis {"connection_id":124157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:40:38] local.INFO: Extracted packet for processing {"connection_id":124157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:40:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545916160001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:40:38] 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-07-07 05:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783382786000,"timestamp_ms":1783382786000,"timestamp_seconds":1783382786,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e5bfd0"} 
[2026-07-07 05:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-07 05:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545916160001,"66":25875,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545916160001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:40:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:40:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545916160001,"power":25875,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":124157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:40:38] local.INFO: GPS data processed {"connection_id":124157,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:40:38] local.INFO: Acknowledgment sent {"connection_id":124157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:41:00] local.INFO: TCP Data received {"connection_id":126068,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:41:00] local.INFO: Processing buffer {"connection_id":126068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:41:00] local.INFO: IMEI packet received {"connection_id":126068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":126068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:41:00] local.INFO: TCP Data received {"connection_id":124043,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:41:00] local.INFO: Processing buffer {"connection_id":124043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:41:00] local.INFO: IMEI packet received {"connection_id":124043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 05:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":124043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:41:05] local.INFO: TCP Data received {"connection_id":126068,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:41:05] local.INFO: Processing buffer {"connection_id":126068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:41:05] local.INFO: IMEI packet received {"connection_id":126068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":126068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:41:06] local.INFO: TCP Data received {"connection_id":126068,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:41:06] local.INFO: Processing buffer {"connection_id":126068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:41:06] local.INFO: Packet analysis {"connection_id":126068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:41:06] local.INFO: Extracted packet for processing {"connection_id":126068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:41:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 05:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545916160001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:41:06] 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-07-07 05:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783382786000,"timestamp_ms":1783382786000,"timestamp_seconds":1783382786,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e5bfd0"} 
[2026-07-07 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-07-07 05:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-07 05:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 05:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545916160001,"66":25875,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545916160001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:41:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:41:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545916160001,"power":25875,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":126068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:41:06] local.INFO: GPS data processed {"connection_id":126068,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:41:06] local.INFO: Acknowledgment sent {"connection_id":126068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:41:38] local.INFO: TCP Data received {"connection_id":126068,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:41:38] local.INFO: Processing buffer {"connection_id":126068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39e5bfd0012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:41:38] local.INFO: Packet analysis {"connection_id":126068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:41:38] local.INFO: Extracted packet for processing {"connection_id":126068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39e5"} 
[2026-07-07 05:41:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 05:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545916160001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:41:38] 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-07-07 05:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783382786000,"timestamp_ms":1783382786000,"timestamp_seconds":1783382786,"priority":1,"record_length":96,"hex_timestamp":"0000019f39e5bfd0"} 
[2026-07-07 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-07-07 05:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-07 05:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 05:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545916160001,"66":25875,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545916160001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:41:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:41:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545916160001,"power":25875,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":126068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:41:38] local.INFO: GPS data processed {"connection_id":126068,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:41:38] local.INFO: Acknowledgment sent {"connection_id":126068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:42:00] local.INFO: TCP Data received {"connection_id":124044,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:42:00] local.INFO: Processing buffer {"connection_id":124044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:42:00] local.INFO: IMEI packet received {"connection_id":124044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":124044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:42:05] local.INFO: TCP Data received {"connection_id":124044,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:42:05] local.INFO: Processing buffer {"connection_id":124044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:42:05] local.INFO: IMEI packet received {"connection_id":124044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":124044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:42:06] local.INFO: TCP Data received {"connection_id":124044,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:42:06] local.INFO: Processing buffer {"connection_id":124044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:42:06] local.INFO: Packet analysis {"connection_id":124044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:42:06] local.INFO: Extracted packet for processing {"connection_id":124044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:42:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545993216001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:42:06] 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-07-07 05:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783383087000,"timestamp_ms":1783383087000,"timestamp_seconds":1783383087,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ea5798"} 
[2026-07-07 05:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 05:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545993216001,"66":25843,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545993216001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:42:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:42:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545993216001,"power":25843,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":124044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:42:06] local.INFO: GPS data processed {"connection_id":124044,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:42:06] local.INFO: Acknowledgment sent {"connection_id":124044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:42:37] local.INFO: TCP Data received {"connection_id":124044,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:42:37] local.INFO: Processing buffer {"connection_id":124044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:42:37] local.INFO: Packet analysis {"connection_id":124044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:42:37] local.INFO: Extracted packet for processing {"connection_id":124044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:42:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545993216001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:42:37] 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-07-07 05:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783383087000,"timestamp_ms":1783383087000,"timestamp_seconds":1783383087,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ea5798"} 
[2026-07-07 05:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 05:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545993216001,"66":25843,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545993216001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:42:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:42:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545993216001,"power":25843,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":124044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:42:37] local.INFO: GPS data processed {"connection_id":124044,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:42:37] local.INFO: Acknowledgment sent {"connection_id":124044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:43:00] local.INFO: TCP Data received {"connection_id":124823,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:43:00] local.INFO: Processing buffer {"connection_id":124823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:43:00] local.INFO: IMEI packet received {"connection_id":124823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":124823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:43:05] local.INFO: TCP Data received {"connection_id":124823,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:43:05] local.INFO: Processing buffer {"connection_id":124823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:43:05] local.INFO: IMEI packet received {"connection_id":124823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":124823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:43:06] local.INFO: TCP Data received {"connection_id":124823,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:43:06] local.INFO: Processing buffer {"connection_id":124823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:43:06] local.INFO: Packet analysis {"connection_id":124823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:43:06] local.INFO: Extracted packet for processing {"connection_id":124823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:43:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545993216001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:43:06] 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-07-07 05:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783383087000,"timestamp_ms":1783383087000,"timestamp_seconds":1783383087,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ea5798"} 
[2026-07-07 05:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 05:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545993216001,"66":25843,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545993216001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:43:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:43:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545993216001,"power":25843,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":124823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:43:06] local.INFO: GPS data processed {"connection_id":124823,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:43:06] local.INFO: Acknowledgment sent {"connection_id":124823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:43:38] local.INFO: TCP Data received {"connection_id":124823,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:43:38] local.INFO: Processing buffer {"connection_id":124823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:43:38] local.INFO: Packet analysis {"connection_id":124823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:43:38] local.INFO: Extracted packet for processing {"connection_id":124823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:43:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545993216001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:43:38] 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-07-07 05:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783383087000,"timestamp_ms":1783383087000,"timestamp_seconds":1783383087,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ea5798"} 
[2026-07-07 05:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 05:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545993216001,"66":25843,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545993216001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:43:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:43:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545993216001,"power":25843,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":124823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:43:38] local.INFO: GPS data processed {"connection_id":124823,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:43:38] local.INFO: Acknowledgment sent {"connection_id":124823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:44:00] local.INFO: TCP Data received {"connection_id":124824,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:44:00] local.INFO: Processing buffer {"connection_id":124824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:44:00] local.INFO: IMEI packet received {"connection_id":124824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":124824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:44:05] local.INFO: TCP Data received {"connection_id":124824,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:44:05] local.INFO: Processing buffer {"connection_id":124824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:44:05] local.INFO: IMEI packet received {"connection_id":124824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":124824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:44:06] local.INFO: TCP Data received {"connection_id":124824,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:44:06] local.INFO: Processing buffer {"connection_id":124824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:44:06] local.INFO: Packet analysis {"connection_id":124824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:44:06] local.INFO: Extracted packet for processing {"connection_id":124824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:44:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545993216001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:44:06] 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-07-07 05:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783383087000,"timestamp_ms":1783383087000,"timestamp_seconds":1783383087,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ea5798"} 
[2026-07-07 05:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 05:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545993216001,"66":25843,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545993216001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:44:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:44:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545993216001,"power":25843,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":124824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:44:06] local.INFO: GPS data processed {"connection_id":124824,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:44:06] local.INFO: Acknowledgment sent {"connection_id":124824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:44:37] local.INFO: TCP Data received {"connection_id":124824,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:44:37] local.INFO: Processing buffer {"connection_id":124824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:44:37] local.INFO: Packet analysis {"connection_id":124824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:44:37] local.INFO: Extracted packet for processing {"connection_id":124824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:44:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545993216001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:44:37] 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-07-07 05:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783383087000,"timestamp_ms":1783383087000,"timestamp_seconds":1783383087,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ea5798"} 
[2026-07-07 05:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 05:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545993216001,"66":25843,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545993216001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:44:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:44:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545993216001,"power":25843,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":124824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:44:37] local.INFO: GPS data processed {"connection_id":124824,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:44:37] local.INFO: Acknowledgment sent {"connection_id":124824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:45:00] local.INFO: TCP Data received {"connection_id":124045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:45:00] local.INFO: Processing buffer {"connection_id":124045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:45:00] local.INFO: IMEI packet received {"connection_id":124045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":124045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:45:05] local.INFO: TCP Data received {"connection_id":124045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:45:05] local.INFO: Processing buffer {"connection_id":124045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:45:05] local.INFO: IMEI packet received {"connection_id":124045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":124045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:45:06] local.INFO: TCP Data received {"connection_id":124045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:45:06] local.INFO: Processing buffer {"connection_id":124045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:45:06] local.INFO: Packet analysis {"connection_id":124045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:45:06] local.INFO: Extracted packet for processing {"connection_id":124045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:45:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545993216001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:45:06] 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-07-07 05:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783383087000,"timestamp_ms":1783383087000,"timestamp_seconds":1783383087,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ea5798"} 
[2026-07-07 05:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 05:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545993216001,"66":25843,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545993216001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:45:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:45:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545993216001,"power":25843,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":124045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:45:06] local.INFO: GPS data processed {"connection_id":124045,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:45:06] local.INFO: Acknowledgment sent {"connection_id":124045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:45:40] local.INFO: TCP Data received {"connection_id":124045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:45:40] local.INFO: Processing buffer {"connection_id":124045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:45:40] local.INFO: Packet analysis {"connection_id":124045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:45:40] local.INFO: Extracted packet for processing {"connection_id":124045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:45:40] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545993216001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:45:40] 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-07-07 05:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783383087000,"timestamp_ms":1783383087000,"timestamp_seconds":1783383087,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ea5798"} 
[2026-07-07 05:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 05:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545993216001,"66":25843,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545993216001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:45:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:45:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545993216001,"power":25843,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":124045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:45:40] local.INFO: GPS data processed {"connection_id":124045,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:45:40] local.INFO: Acknowledgment sent {"connection_id":124045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:46:00] local.INFO: TCP Data received {"connection_id":126071,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:46:00] local.INFO: Processing buffer {"connection_id":126071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:46:00] local.INFO: IMEI packet received {"connection_id":126071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":126071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:46:05] local.INFO: TCP Data received {"connection_id":126071,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:46:05] local.INFO: Processing buffer {"connection_id":126071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:46:05] local.INFO: IMEI packet received {"connection_id":126071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":126071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:46:06] local.INFO: TCP Data received {"connection_id":126071,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:46:06] local.INFO: Processing buffer {"connection_id":126071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:46:06] local.INFO: Packet analysis {"connection_id":126071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:46:06] local.INFO: Extracted packet for processing {"connection_id":126071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:46:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545993216001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:46:06] 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-07-07 05:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783383087000,"timestamp_ms":1783383087000,"timestamp_seconds":1783383087,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ea5798"} 
[2026-07-07 05:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 05:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545993216001,"66":25843,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545993216001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:46:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:46:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545993216001,"power":25843,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":126071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:46:06] local.INFO: GPS data processed {"connection_id":126071,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:46:06] local.INFO: Acknowledgment sent {"connection_id":126071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:46:24] local.INFO: TCP Data received {"connection_id":124826,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:46:24] local.INFO: Processing buffer {"connection_id":124826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:46:24] local.INFO: IMEI packet received {"connection_id":124826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 05:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":124826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:46:37] local.INFO: TCP Data received {"connection_id":126071,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:46:37] local.INFO: Processing buffer {"connection_id":126071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:46:37] local.INFO: Packet analysis {"connection_id":126071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:46:37] local.INFO: Extracted packet for processing {"connection_id":126071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:46:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545993216001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:46:37] 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-07-07 05:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783383087000,"timestamp_ms":1783383087000,"timestamp_seconds":1783383087,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ea5798"} 
[2026-07-07 05:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 05:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545993216001,"66":25843,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545993216001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:46:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:46:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545993216001,"power":25843,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":126071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:46:37] local.INFO: GPS data processed {"connection_id":126071,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:46:37] local.INFO: Acknowledgment sent {"connection_id":126071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:47:00] local.INFO: TCP Data received {"connection_id":124828,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:47:00] local.INFO: Processing buffer {"connection_id":124828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:47:00] local.INFO: IMEI packet received {"connection_id":124828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":124828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:47:01] local.INFO: TCP Data received {"connection_id":124827,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:47:01] local.INFO: Processing buffer {"connection_id":124827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:47:01] local.INFO: IMEI packet received {"connection_id":124827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 05:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":124827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:47:05] local.INFO: TCP Data received {"connection_id":124828,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:47:05] local.INFO: Processing buffer {"connection_id":124828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:47:05] local.INFO: IMEI packet received {"connection_id":124828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":124828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:47:06] local.INFO: TCP Data received {"connection_id":124828,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:47:06] local.INFO: Processing buffer {"connection_id":124828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39ea5798012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:47:06] local.INFO: Packet analysis {"connection_id":124828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:47:06] local.INFO: Extracted packet for processing {"connection_id":124828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ea"} 
[2026-07-07 05:47:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456545993216001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:47:06] 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-07-07 05:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783383087000,"timestamp_ms":1783383087000,"timestamp_seconds":1783383087,"priority":1,"record_length":96,"hex_timestamp":"0000019f39ea5798"} 
[2026-07-07 05:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 05:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456545993216001,"66":25843,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456545993216001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:47:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:47:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456545993216001,"power":25843,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":124828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:47:06] local.INFO: GPS data processed {"connection_id":124828,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:47:06] local.INFO: Acknowledgment sent {"connection_id":124828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:47:37] local.INFO: TCP Data received {"connection_id":124828,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:47:37] local.INFO: Processing buffer {"connection_id":124828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:47:37] local.INFO: Packet analysis {"connection_id":124828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ee"} 
[2026-07-07 05:47:37] local.INFO: Extracted packet for processing {"connection_id":124828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ee"} 
[2026-07-07 05:47:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546070272001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:47:37] 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-07-07 05:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783383388000,"timestamp_ms":1783383388000,"timestamp_seconds":1783383388,"priority":1,"record_length":96,"hex_timestamp":"0000019f39eeef60"} 
[2026-07-07 05:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-07 05:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546070272001,"66":25778,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546070272001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:47:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:47:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546070272001,"power":25778,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":124828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:47:37] local.INFO: GPS data processed {"connection_id":124828,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:47:37] local.INFO: Acknowledgment sent {"connection_id":124828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:48:00] local.INFO: TCP Data received {"connection_id":126072,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:48:00] local.INFO: Processing buffer {"connection_id":126072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:48:00] local.INFO: IMEI packet received {"connection_id":126072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":126072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:48:05] local.INFO: TCP Data received {"connection_id":126072,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:48:05] local.INFO: Processing buffer {"connection_id":126072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:48:05] local.INFO: IMEI packet received {"connection_id":126072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":126072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:48:06] local.INFO: TCP Data received {"connection_id":126072,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:48:06] local.INFO: Processing buffer {"connection_id":126072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:48:06] local.INFO: Packet analysis {"connection_id":126072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ee"} 
[2026-07-07 05:48:06] local.INFO: Extracted packet for processing {"connection_id":126072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ee"} 
[2026-07-07 05:48:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546070272001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:48:06] 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-07-07 05:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783383388000,"timestamp_ms":1783383388000,"timestamp_seconds":1783383388,"priority":1,"record_length":96,"hex_timestamp":"0000019f39eeef60"} 
[2026-07-07 05:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-07 05:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546070272001,"66":25778,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546070272001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:48:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:48:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546070272001,"power":25778,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":126072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:48:06] local.INFO: GPS data processed {"connection_id":126072,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:48:06] local.INFO: Acknowledgment sent {"connection_id":126072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:48:38] local.INFO: TCP Data received {"connection_id":126072,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:48:38] local.INFO: Processing buffer {"connection_id":126072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:48:38] local.INFO: Packet analysis {"connection_id":126072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ee"} 
[2026-07-07 05:48:38] local.INFO: Extracted packet for processing {"connection_id":126072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ee"} 
[2026-07-07 05:48:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546070272001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:48:38] 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-07-07 05:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783383388000,"timestamp_ms":1783383388000,"timestamp_seconds":1783383388,"priority":1,"record_length":96,"hex_timestamp":"0000019f39eeef60"} 
[2026-07-07 05:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-07 05:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546070272001,"66":25778,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546070272001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:48:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:48:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546070272001,"power":25778,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":126072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:48:38] local.INFO: GPS data processed {"connection_id":126072,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:48:38] local.INFO: Acknowledgment sent {"connection_id":126072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:49:00] local.INFO: TCP Data received {"connection_id":124829,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:49:00] local.INFO: Processing buffer {"connection_id":124829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:49:00] local.INFO: IMEI packet received {"connection_id":124829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":124829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:49:05] local.INFO: TCP Data received {"connection_id":124829,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:49:05] local.INFO: Processing buffer {"connection_id":124829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:49:05] local.INFO: IMEI packet received {"connection_id":124829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":124829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:49:10] local.INFO: TCP Data received {"connection_id":124829,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:49:10] local.INFO: Processing buffer {"connection_id":124829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:49:10] local.INFO: Packet analysis {"connection_id":124829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ee"} 
[2026-07-07 05:49:10] local.INFO: Extracted packet for processing {"connection_id":124829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ee"} 
[2026-07-07 05:49:10] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546070272001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:49:10] 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-07-07 05:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783383388000,"timestamp_ms":1783383388000,"timestamp_seconds":1783383388,"priority":1,"record_length":96,"hex_timestamp":"0000019f39eeef60"} 
[2026-07-07 05:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05: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":243,"data_length":795,"current_offset":136} 
[2026-07-07 05:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546070272001,"66":25778,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546070272001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:49:10] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:49:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546070272001,"power":25778,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":124829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:49:10] local.INFO: GPS data processed {"connection_id":124829,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:49:10] local.INFO: Acknowledgment sent {"connection_id":124829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:49:42] local.INFO: TCP Data received {"connection_id":124829,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:49:42] local.INFO: Processing buffer {"connection_id":124829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:49:42] local.INFO: Packet analysis {"connection_id":124829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ee"} 
[2026-07-07 05:49:42] local.INFO: Extracted packet for processing {"connection_id":124829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ee"} 
[2026-07-07 05:49:42] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546070272001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:49:42] 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-07-07 05:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783383388000,"timestamp_ms":1783383388000,"timestamp_seconds":1783383388,"priority":1,"record_length":96,"hex_timestamp":"0000019f39eeef60"} 
[2026-07-07 05:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:49: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-07-07 05: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":243,"data_length":795,"current_offset":136} 
[2026-07-07 05:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546070272001,"66":25778,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546070272001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:49:42] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:49:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546070272001,"power":25778,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":124829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:49:42] local.INFO: GPS data processed {"connection_id":124829,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:49:42] local.INFO: Acknowledgment sent {"connection_id":124829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:50:00] local.INFO: TCP Data received {"connection_id":126073,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:50:00] local.INFO: Processing buffer {"connection_id":126073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:50:00] local.INFO: IMEI packet received {"connection_id":126073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":126073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:50:05] local.INFO: TCP Data received {"connection_id":126073,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:50:05] local.INFO: Processing buffer {"connection_id":126073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:50:05] local.INFO: IMEI packet received {"connection_id":126073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":126073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:50:06] local.INFO: TCP Data received {"connection_id":126073,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:50:06] local.INFO: Processing buffer {"connection_id":126073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:50:06] local.INFO: Packet analysis {"connection_id":126073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ee"} 
[2026-07-07 05:50:06] local.INFO: Extracted packet for processing {"connection_id":126073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ee"} 
[2026-07-07 05:50:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546070272001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:50:06] 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-07-07 05:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783383388000,"timestamp_ms":1783383388000,"timestamp_seconds":1783383388,"priority":1,"record_length":96,"hex_timestamp":"0000019f39eeef60"} 
[2026-07-07 05:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-07 05:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546070272001,"66":25778,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546070272001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:50:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:50:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546070272001,"power":25778,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":126073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:50:06] local.INFO: GPS data processed {"connection_id":126073,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:50:06] local.INFO: Acknowledgment sent {"connection_id":126073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:50:38] local.INFO: TCP Data received {"connection_id":126073,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:50:38] local.INFO: Processing buffer {"connection_id":126073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:50:38] local.INFO: Packet analysis {"connection_id":126073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ee"} 
[2026-07-07 05:50:38] local.INFO: Extracted packet for processing {"connection_id":126073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ee"} 
[2026-07-07 05:50:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546070272001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:50:38] 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-07-07 05:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783383388000,"timestamp_ms":1783383388000,"timestamp_seconds":1783383388,"priority":1,"record_length":96,"hex_timestamp":"0000019f39eeef60"} 
[2026-07-07 05:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-07 05:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546070272001,"66":25778,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546070272001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:50:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:50:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546070272001,"power":25778,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":126073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:50:38] local.INFO: GPS data processed {"connection_id":126073,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:50:38] local.INFO: Acknowledgment sent {"connection_id":126073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:51:00] local.INFO: TCP Data received {"connection_id":124162,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:51:00] local.INFO: Processing buffer {"connection_id":124162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:51:00] local.INFO: IMEI packet received {"connection_id":124162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":124162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:51:05] local.INFO: TCP Data received {"connection_id":124162,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:51:05] local.INFO: Processing buffer {"connection_id":124162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:51:05] local.INFO: IMEI packet received {"connection_id":124162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":124162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:51:06] local.INFO: TCP Data received {"connection_id":124162,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:51:06] local.INFO: Processing buffer {"connection_id":124162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:51:06] local.INFO: Packet analysis {"connection_id":124162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ee"} 
[2026-07-07 05:51:06] local.INFO: Extracted packet for processing {"connection_id":124162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ee"} 
[2026-07-07 05:51:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546070272001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:51:06] 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-07-07 05:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783383388000,"timestamp_ms":1783383388000,"timestamp_seconds":1783383388,"priority":1,"record_length":96,"hex_timestamp":"0000019f39eeef60"} 
[2026-07-07 05:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-07 05:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546070272001,"66":25778,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546070272001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:51:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:51:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546070272001,"power":25778,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":124162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:51:06] local.INFO: GPS data processed {"connection_id":124162,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:51:06] local.INFO: Acknowledgment sent {"connection_id":124162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:51:38] local.INFO: TCP Data received {"connection_id":124162,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:51:38] local.INFO: Processing buffer {"connection_id":124162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39eeef60012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:51:38] local.INFO: Packet analysis {"connection_id":124162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39ee"} 
[2026-07-07 05:51:38] local.INFO: Extracted packet for processing {"connection_id":124162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39ee"} 
[2026-07-07 05:51:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05: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-07-07 05:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546070272001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:51:38] 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-07-07 05:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783383388000,"timestamp_ms":1783383388000,"timestamp_seconds":1783383388,"priority":1,"record_length":96,"hex_timestamp":"0000019f39eeef60"} 
[2026-07-07 05:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-07 05:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05: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-07-07 05:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546070272001,"66":25778,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546070272001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:51:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:51:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546070272001,"power":25778,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":124162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:51:38] local.INFO: GPS data processed {"connection_id":124162,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:51:38] local.INFO: Acknowledgment sent {"connection_id":124162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:52:05] local.INFO: TCP Data received {"connection_id":124048,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:52:05] local.INFO: Processing buffer {"connection_id":124048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:52:05] local.INFO: IMEI packet received {"connection_id":124048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":124048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:52:07] local.INFO: TCP Data received {"connection_id":124048,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:52:07] local.INFO: Processing buffer {"connection_id":124048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:52:07] local.INFO: IMEI packet received {"connection_id":124048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":124048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:52:08] local.INFO: TCP Data received {"connection_id":124048,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:52:08] local.INFO: Processing buffer {"connection_id":124048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:52:08] local.INFO: Packet analysis {"connection_id":124048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:52:08] local.INFO: Extracted packet for processing {"connection_id":124048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:52:08] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546147328001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:52:08] 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-07-07 05:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783383689000,"timestamp_ms":1783383689000,"timestamp_seconds":1783383689,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f38728"} 
[2026-07-07 05:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 05:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546147328001,"66":25680,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546147328001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:52:08] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:52:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546147328001,"power":25680,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":124048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:52:08] local.INFO: GPS data processed {"connection_id":124048,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:52:08] local.INFO: Acknowledgment sent {"connection_id":124048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:52:10] local.INFO: TCP Data received {"connection_id":124048,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:52:10] local.INFO: Processing buffer {"connection_id":124048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:52:10] local.INFO: Packet analysis {"connection_id":124048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:52:10] local.INFO: Extracted packet for processing {"connection_id":124048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:52:10] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546147328001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:52:10] 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-07-07 05:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783383689000,"timestamp_ms":1783383689000,"timestamp_seconds":1783383689,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f38728"} 
[2026-07-07 05:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 05:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546147328001,"66":25680,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546147328001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:52:10] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:52:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546147328001,"power":25680,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":124048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:52:10] local.INFO: GPS data processed {"connection_id":124048,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:52:10] local.INFO: Acknowledgment sent {"connection_id":124048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:52:15] local.INFO: TCP Data received {"connection_id":124163,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:52:15] local.INFO: Processing buffer {"connection_id":124163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:52:15] local.INFO: IMEI packet received {"connection_id":124163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 05:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":124163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:52:41] local.INFO: TCP Data received {"connection_id":124048,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:52:41] local.INFO: Processing buffer {"connection_id":124048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:52:41] local.INFO: Packet analysis {"connection_id":124048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:52:41] local.INFO: Extracted packet for processing {"connection_id":124048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:52:41] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546147328001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:52:41] 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-07-07 05:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783383689000,"timestamp_ms":1783383689000,"timestamp_seconds":1783383689,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f38728"} 
[2026-07-07 05:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05: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":178,"data_length":795,"current_offset":136} 
[2026-07-07 05:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546147328001,"66":25680,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546147328001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:52:41] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:52:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546147328001,"power":25680,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":124048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:52:41] local.INFO: GPS data processed {"connection_id":124048,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:52:41] local.INFO: Acknowledgment sent {"connection_id":124048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:53:00] local.INFO: TCP Data received {"connection_id":124832,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:53:00] local.INFO: Processing buffer {"connection_id":124832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:53:00] local.INFO: IMEI packet received {"connection_id":124832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 05:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":124832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:53:00] local.INFO: TCP Data received {"connection_id":124831,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:53:00] local.INFO: Processing buffer {"connection_id":124831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:53:00] local.INFO: IMEI packet received {"connection_id":124831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":124831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:53:05] local.INFO: TCP Data received {"connection_id":124831,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:53:05] local.INFO: Processing buffer {"connection_id":124831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:53:05] local.INFO: IMEI packet received {"connection_id":124831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":124831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:53:06] local.INFO: TCP Data received {"connection_id":124831,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:53:06] local.INFO: Processing buffer {"connection_id":124831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:53:06] local.INFO: Packet analysis {"connection_id":124831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:53:06] local.INFO: Extracted packet for processing {"connection_id":124831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:53:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546147328001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:53:06] 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-07-07 05:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783383689000,"timestamp_ms":1783383689000,"timestamp_seconds":1783383689,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f38728"} 
[2026-07-07 05:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 05:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546147328001,"66":25680,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546147328001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:53:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:53:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546147328001,"power":25680,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":124831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:53:06] local.INFO: GPS data processed {"connection_id":124831,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:53:06] local.INFO: Acknowledgment sent {"connection_id":124831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:53:37] local.INFO: TCP Data received {"connection_id":124831,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:53:37] local.INFO: Processing buffer {"connection_id":124831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:53:37] local.INFO: Packet analysis {"connection_id":124831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:53:37] local.INFO: Extracted packet for processing {"connection_id":124831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:53:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546147328001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:53:37] 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-07-07 05:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783383689000,"timestamp_ms":1783383689000,"timestamp_seconds":1783383689,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f38728"} 
[2026-07-07 05:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 05:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546147328001,"66":25680,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546147328001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:53:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:53:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546147328001,"power":25680,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":124831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:53:37] local.INFO: GPS data processed {"connection_id":124831,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:53:37] local.INFO: Acknowledgment sent {"connection_id":124831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:54:00] local.INFO: TCP Data received {"connection_id":126075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:54:00] local.INFO: Processing buffer {"connection_id":126075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:54:00] local.INFO: IMEI packet received {"connection_id":126075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":126075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:54:05] local.INFO: TCP Data received {"connection_id":126075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:54:05] local.INFO: Processing buffer {"connection_id":126075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:54:05] local.INFO: IMEI packet received {"connection_id":126075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":126075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:54:06] local.INFO: TCP Data received {"connection_id":126075,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:54:06] local.INFO: Processing buffer {"connection_id":126075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:54:06] local.INFO: Packet analysis {"connection_id":126075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:54:06] local.INFO: Extracted packet for processing {"connection_id":126075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:54:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546147328001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:54:06] 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-07-07 05:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783383689000,"timestamp_ms":1783383689000,"timestamp_seconds":1783383689,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f38728"} 
[2026-07-07 05:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 05:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546147328001,"66":25680,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546147328001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:54:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:54:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546147328001,"power":25680,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":126075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:54:06] local.INFO: GPS data processed {"connection_id":126075,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:54:06] local.INFO: Acknowledgment sent {"connection_id":126075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:54:37] local.INFO: TCP Data received {"connection_id":126075,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:54:37] local.INFO: Processing buffer {"connection_id":126075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:54:37] local.INFO: Packet analysis {"connection_id":126075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:54:37] local.INFO: Extracted packet for processing {"connection_id":126075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:54:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546147328001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:54:37] 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-07-07 05:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783383689000,"timestamp_ms":1783383689000,"timestamp_seconds":1783383689,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f38728"} 
[2026-07-07 05:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 05:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546147328001,"66":25680,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546147328001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:54:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:54:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546147328001,"power":25680,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":126075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:54:37] local.INFO: GPS data processed {"connection_id":126075,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:54:37] local.INFO: Acknowledgment sent {"connection_id":126075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:55:00] local.INFO: TCP Data received {"connection_id":124164,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:55:00] local.INFO: Processing buffer {"connection_id":124164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:55:00] local.INFO: IMEI packet received {"connection_id":124164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":124164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:55:05] local.INFO: TCP Data received {"connection_id":124164,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:55:05] local.INFO: Processing buffer {"connection_id":124164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:55:05] local.INFO: IMEI packet received {"connection_id":124164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":124164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:55:06] local.INFO: TCP Data received {"connection_id":124164,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:55:06] local.INFO: Processing buffer {"connection_id":124164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:55:06] local.INFO: Packet analysis {"connection_id":124164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:55:06] local.INFO: Extracted packet for processing {"connection_id":124164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:55:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546147328001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:55:06] 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-07-07 05:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783383689000,"timestamp_ms":1783383689000,"timestamp_seconds":1783383689,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f38728"} 
[2026-07-07 05:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 05:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546147328001,"66":25680,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546147328001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:55:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:55:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546147328001,"power":25680,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":124164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:55:06] local.INFO: GPS data processed {"connection_id":124164,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:55:06] local.INFO: Acknowledgment sent {"connection_id":124164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:55:38] local.INFO: TCP Data received {"connection_id":124164,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:55:38] local.INFO: Processing buffer {"connection_id":124164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:55:38] local.INFO: Packet analysis {"connection_id":124164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:55:38] local.INFO: Extracted packet for processing {"connection_id":124164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:55:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546147328001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:55:38] 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-07-07 05:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783383689000,"timestamp_ms":1783383689000,"timestamp_seconds":1783383689,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f38728"} 
[2026-07-07 05:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 05:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546147328001,"66":25680,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546147328001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:55:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:55:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546147328001,"power":25680,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":124164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:55:38] local.INFO: GPS data processed {"connection_id":124164,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:55:38] local.INFO: Acknowledgment sent {"connection_id":124164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:56:00] local.INFO: TCP Data received {"connection_id":124050,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:56:00] local.INFO: Processing buffer {"connection_id":124050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:56:00] local.INFO: IMEI packet received {"connection_id":124050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":124050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:56:05] local.INFO: TCP Data received {"connection_id":124050,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:56:05] local.INFO: Processing buffer {"connection_id":124050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:56:05] local.INFO: IMEI packet received {"connection_id":124050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":124050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:56:06] local.INFO: TCP Data received {"connection_id":124050,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:56:06] local.INFO: Processing buffer {"connection_id":124050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:56:06] local.INFO: Packet analysis {"connection_id":124050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:56:06] local.INFO: Extracted packet for processing {"connection_id":124050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:56:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546147328001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:56:06] 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-07-07 05:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783383689000,"timestamp_ms":1783383689000,"timestamp_seconds":1783383689,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f38728"} 
[2026-07-07 05:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 05:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546147328001,"66":25680,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546147328001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:56:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:56:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546147328001,"power":25680,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":124050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:56:06] local.INFO: GPS data processed {"connection_id":124050,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:56:06] local.INFO: Acknowledgment sent {"connection_id":124050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:56:37] local.INFO: TCP Data received {"connection_id":124050,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:56:37] local.INFO: Processing buffer {"connection_id":124050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f38728012d6efe80064499f8000f00462a..."} 
[2026-07-07 05:56:37] local.INFO: Packet analysis {"connection_id":124050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:56:37] local.INFO: Extracted packet for processing {"connection_id":124050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f3"} 
[2026-07-07 05:56:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546147328001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:56:37] 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-07-07 05:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783383689000,"timestamp_ms":1783383689000,"timestamp_seconds":1783383689,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f38728"} 
[2026-07-07 05:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 05:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546147328001,"66":25680,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546147328001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:56:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:56:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546147328001,"power":25680,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":124050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:56:37] local.INFO: GPS data processed {"connection_id":124050,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:56:37] local.INFO: Acknowledgment sent {"connection_id":124050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:57:05] local.INFO: TCP Data received {"connection_id":124835,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:57:05] local.INFO: Processing buffer {"connection_id":124835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:57:05] local.INFO: IMEI packet received {"connection_id":124835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":124835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:57:08] local.INFO: TCP Data received {"connection_id":124835,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:57:08] local.INFO: Processing buffer {"connection_id":124835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:57:08] local.INFO: IMEI packet received {"connection_id":124835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":124835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:57:08] local.INFO: TCP Data received {"connection_id":124835,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:57:08] local.INFO: Processing buffer {"connection_id":124835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:57:08] local.INFO: Packet analysis {"connection_id":124835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 05:57:08] local.INFO: Extracted packet for processing {"connection_id":124835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 05:57:08] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546224384001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:57:08] 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-07-07 05:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783383990000,"timestamp_ms":1783383990000,"timestamp_seconds":1783383990,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f81ef0"} 
[2026-07-07 05:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 05:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546224384001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546224384001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:57:08] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:57:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546224384001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":124835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:57:08] local.INFO: GPS data processed {"connection_id":124835,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:57:08] local.INFO: Acknowledgment sent {"connection_id":124835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:57:10] local.INFO: TCP Data received {"connection_id":124835,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:57:10] local.INFO: Processing buffer {"connection_id":124835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:57:10] local.INFO: Packet analysis {"connection_id":124835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 05:57:10] local.INFO: Extracted packet for processing {"connection_id":124835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 05:57:10] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546224384001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:57:10] 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-07-07 05:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783383990000,"timestamp_ms":1783383990000,"timestamp_seconds":1783383990,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f81ef0"} 
[2026-07-07 05:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 05:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546224384001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546224384001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:57:10] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:57:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546224384001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":124835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:57:10] local.INFO: GPS data processed {"connection_id":124835,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:57:10] local.INFO: Acknowledgment sent {"connection_id":124835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:57:41] local.INFO: TCP Data received {"connection_id":124835,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:57:41] local.INFO: Processing buffer {"connection_id":124835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:57:41] local.INFO: Packet analysis {"connection_id":124835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 05:57:41] local.INFO: Extracted packet for processing {"connection_id":124835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 05:57:41] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546224384001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:57:41] 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-07-07 05:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783383990000,"timestamp_ms":1783383990000,"timestamp_seconds":1783383990,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f81ef0"} 
[2026-07-07 05:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 05:57: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-07-07 05:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546224384001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546224384001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:57:41] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:57:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546224384001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":124835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:57:41] local.INFO: GPS data processed {"connection_id":124835,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:57:41] local.INFO: Acknowledgment sent {"connection_id":124835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:58:00] local.INFO: TCP Data received {"connection_id":124836,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:58:00] local.INFO: Processing buffer {"connection_id":124836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:58:00] local.INFO: IMEI packet received {"connection_id":124836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":124836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:58:05] local.INFO: TCP Data received {"connection_id":124836,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:58:05] local.INFO: Processing buffer {"connection_id":124836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:58:05] local.INFO: IMEI packet received {"connection_id":124836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":124836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:58:06] local.INFO: TCP Data received {"connection_id":124836,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:58:06] local.INFO: Processing buffer {"connection_id":124836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:58:06] local.INFO: Packet analysis {"connection_id":124836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 05:58:06] local.INFO: Extracted packet for processing {"connection_id":124836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 05:58:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546224384001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:58:06] 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-07-07 05:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783383990000,"timestamp_ms":1783383990000,"timestamp_seconds":1783383990,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f81ef0"} 
[2026-07-07 05:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 05:58: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-07-07 05:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546224384001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546224384001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:58:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:58:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546224384001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":124836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:58:06] local.INFO: GPS data processed {"connection_id":124836,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:58:06] local.INFO: Acknowledgment sent {"connection_id":124836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:58:23] local.INFO: TCP Data received {"connection_id":124837,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:58:23] local.INFO: Processing buffer {"connection_id":124837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:58:23] local.INFO: IMEI packet received {"connection_id":124837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 05:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":124837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:58:37] local.INFO: TCP Data received {"connection_id":124836,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:58:37] local.INFO: Processing buffer {"connection_id":124836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:58:37] local.INFO: Packet analysis {"connection_id":124836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 05:58:37] local.INFO: Extracted packet for processing {"connection_id":124836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 05:58:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546224384001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:58:37] 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-07-07 05:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783383990000,"timestamp_ms":1783383990000,"timestamp_seconds":1783383990,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f81ef0"} 
[2026-07-07 05:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 05:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546224384001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546224384001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:58:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:58:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546224384001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":124836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:58:37] local.INFO: GPS data processed {"connection_id":124836,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:58:37] local.INFO: Acknowledgment sent {"connection_id":124836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:59:00] local.INFO: TCP Data received {"connection_id":124051,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:59:00] local.INFO: Processing buffer {"connection_id":124051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:59:00] local.INFO: IMEI packet received {"connection_id":124051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 05:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":124051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:59:05] local.INFO: TCP Data received {"connection_id":124052,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124052,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:59:05] local.INFO: Processing buffer {"connection_id":124052,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 05:59:05] local.INFO: IMEI packet received {"connection_id":124052,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 05:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":124052,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 05:59:05] local.INFO: TCP Data received {"connection_id":124051,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:59:05] local.INFO: Processing buffer {"connection_id":124051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 05:59:05] local.INFO: IMEI packet received {"connection_id":124051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 05:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":124051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 05:59:06] local.INFO: TCP Data received {"connection_id":124051,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:59:06] local.INFO: Processing buffer {"connection_id":124051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:59:06] local.INFO: Packet analysis {"connection_id":124051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 05:59:06] local.INFO: Extracted packet for processing {"connection_id":124051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 05:59:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546224384001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:59:06] 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-07-07 05:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783383990000,"timestamp_ms":1783383990000,"timestamp_seconds":1783383990,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f81ef0"} 
[2026-07-07 05:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 05:59: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-07-07 05:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546224384001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546224384001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:59:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:59:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546224384001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":124051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:59:06] local.INFO: GPS data processed {"connection_id":124051,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:59:06] local.INFO: Acknowledgment sent {"connection_id":124051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:59:37] local.INFO: TCP Data received {"connection_id":124051,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:59:37] local.INFO: Processing buffer {"connection_id":124051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 05:59:37] local.INFO: Packet analysis {"connection_id":124051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 05:59:37] local.INFO: Extracted packet for processing {"connection_id":124051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 05:59:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 05:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 05:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546224384001,"note":"Value kept but may cause issues"} 
[2026-07-07 05:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 05:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 05:59:37] 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-07-07 05:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783383990000,"timestamp_ms":1783383990000,"timestamp_seconds":1783383990,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f81ef0"} 
[2026-07-07 05:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 05:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 05:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 05:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 05:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 05:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 05:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 05:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 05:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 05:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 05:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 05:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 05:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546224384001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 05:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 05:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 05:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546224384001,"description":"Unknown IO ID 0"} 
[2026-07-07 05:59:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 05:59:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 05:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 05:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 05:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546224384001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 05:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":124051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 05:59:37] local.INFO: GPS data processed {"connection_id":124051,"processed":1,"errors":0,"total":1} 
[2026-07-07 05:59:37] local.INFO: Acknowledgment sent {"connection_id":124051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 05:59:59] local.INFO: TCP Data received {"connection_id":124165,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:00:00] local.INFO: Processing buffer {"connection_id":124165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:00:00] local.INFO: IMEI packet received {"connection_id":124165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":124165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:00:05] local.INFO: TCP Data received {"connection_id":124165,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:00:05] local.INFO: Processing buffer {"connection_id":124165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:00:05] local.INFO: IMEI packet received {"connection_id":124165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":124165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:00:06] local.INFO: TCP Data received {"connection_id":124165,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:00:06] local.INFO: Processing buffer {"connection_id":124165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:00:06] local.INFO: Packet analysis {"connection_id":124165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 06:00:06] local.INFO: Extracted packet for processing {"connection_id":124165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 06:00:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546224384001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:00:06] 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-07-07 06:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783383990000,"timestamp_ms":1783383990000,"timestamp_seconds":1783383990,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f81ef0"} 
[2026-07-07 06:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 06:00: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-07-07 06:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546224384001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546224384001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:00:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:00:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546224384001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":124165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:00:06] local.INFO: GPS data processed {"connection_id":124165,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:00:06] local.INFO: Acknowledgment sent {"connection_id":124165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:00:37] local.INFO: TCP Data received {"connection_id":124165,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:00:37] local.INFO: Processing buffer {"connection_id":124165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:00:37] local.INFO: Packet analysis {"connection_id":124165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 06:00:37] local.INFO: Extracted packet for processing {"connection_id":124165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 06:00:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546224384001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:00:37] 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-07-07 06:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783383990000,"timestamp_ms":1783383990000,"timestamp_seconds":1783383990,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f81ef0"} 
[2026-07-07 06:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 06:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546224384001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546224384001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:00:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:00:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546224384001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":124165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:00:37] local.INFO: GPS data processed {"connection_id":124165,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:00:37] local.INFO: Acknowledgment sent {"connection_id":124165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:01:00] local.INFO: TCP Data received {"connection_id":124053,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:01:00] local.INFO: Processing buffer {"connection_id":124053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:01:00] local.INFO: IMEI packet received {"connection_id":124053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":124053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:01:05] local.INFO: TCP Data received {"connection_id":124053,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:01:05] local.INFO: Processing buffer {"connection_id":124053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:01:05] local.INFO: IMEI packet received {"connection_id":124053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":124053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:01:10] local.INFO: TCP Data received {"connection_id":124053,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:01:10] local.INFO: Processing buffer {"connection_id":124053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:01:10] local.INFO: Packet analysis {"connection_id":124053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 06:01:10] local.INFO: Extracted packet for processing {"connection_id":124053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 06:01:10] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546224384001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:01:10] 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-07-07 06:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783383990000,"timestamp_ms":1783383990000,"timestamp_seconds":1783383990,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f81ef0"} 
[2026-07-07 06:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06: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":80,"data_length":795,"current_offset":136} 
[2026-07-07 06:01: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-07-07 06:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546224384001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546224384001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:01:10] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:01:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546224384001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":124053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:01:10] local.INFO: GPS data processed {"connection_id":124053,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:01:10] local.INFO: Acknowledgment sent {"connection_id":124053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:01:41] local.INFO: TCP Data received {"connection_id":124053,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:01:41] local.INFO: Processing buffer {"connection_id":124053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:01:41] local.INFO: Packet analysis {"connection_id":124053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 06:01:41] local.INFO: Extracted packet for processing {"connection_id":124053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 06:01:41] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546224384001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:01:41] 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-07-07 06:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783383990000,"timestamp_ms":1783383990000,"timestamp_seconds":1783383990,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f81ef0"} 
[2026-07-07 06:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06: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":80,"data_length":795,"current_offset":136} 
[2026-07-07 06:01: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-07-07 06:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546224384001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546224384001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:01:41] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:01:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546224384001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":124053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:01:41] local.INFO: GPS data processed {"connection_id":124053,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:01:41] local.INFO: Acknowledgment sent {"connection_id":124053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:02:00] local.INFO: TCP Data received {"connection_id":126079,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:02:00] local.INFO: Processing buffer {"connection_id":126079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:02:00] local.INFO: IMEI packet received {"connection_id":126079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":126079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:02:05] local.INFO: TCP Data received {"connection_id":126079,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:02:05] local.INFO: Processing buffer {"connection_id":126079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:02:05] local.INFO: IMEI packet received {"connection_id":126079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":126079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:02:06] local.INFO: TCP Data received {"connection_id":126079,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:02:06] local.INFO: Processing buffer {"connection_id":126079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39f81ef0012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:02:06] local.INFO: Packet analysis {"connection_id":126079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 06:02:06] local.INFO: Extracted packet for processing {"connection_id":126079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39f8"} 
[2026-07-07 06:02:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546224384001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:02:06] 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-07-07 06:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783383990000,"timestamp_ms":1783383990000,"timestamp_seconds":1783383990,"priority":1,"record_length":96,"hex_timestamp":"0000019f39f81ef0"} 
[2026-07-07 06:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 06:02: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-07-07 06:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546224384001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546224384001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:02:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:02:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546224384001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":126079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:02:06] local.INFO: GPS data processed {"connection_id":126079,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:02:06] local.INFO: Acknowledgment sent {"connection_id":126079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:02:37] local.INFO: TCP Data received {"connection_id":126079,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:02:37] local.INFO: Processing buffer {"connection_id":126079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:02:37] local.INFO: Packet analysis {"connection_id":126079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39fc"} 
[2026-07-07 06:02:37] local.INFO: Extracted packet for processing {"connection_id":126079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39fc"} 
[2026-07-07 06:02:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546301440001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:02:37] 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-07-07 06:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783384291000,"timestamp_ms":1783384291000,"timestamp_seconds":1783384291,"priority":1,"record_length":96,"hex_timestamp":"0000019f39fcb6b8"} 
[2026-07-07 06:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546301440001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546301440001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:02:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:02:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546301440001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":126079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:02:37] local.INFO: GPS data processed {"connection_id":126079,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:02:37] local.INFO: Acknowledgment sent {"connection_id":126079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:03:00] local.INFO: TCP Data received {"connection_id":124166,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:03:00] local.INFO: Processing buffer {"connection_id":124166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:03:00] local.INFO: IMEI packet received {"connection_id":124166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":124166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:03:05] local.INFO: TCP Data received {"connection_id":124166,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:03:05] local.INFO: Processing buffer {"connection_id":124166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:03:05] local.INFO: IMEI packet received {"connection_id":124166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":124166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:03:06] local.INFO: TCP Data received {"connection_id":124166,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:03:06] local.INFO: Processing buffer {"connection_id":124166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:03:06] local.INFO: Packet analysis {"connection_id":124166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39fc"} 
[2026-07-07 06:03:06] local.INFO: Extracted packet for processing {"connection_id":124166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39fc"} 
[2026-07-07 06:03:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546301440001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:03:06] 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-07-07 06:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783384291000,"timestamp_ms":1783384291000,"timestamp_seconds":1783384291,"priority":1,"record_length":96,"hex_timestamp":"0000019f39fcb6b8"} 
[2026-07-07 06:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:03: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-07-07 06:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546301440001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546301440001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:03:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:03:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546301440001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":124166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:03:06] local.INFO: GPS data processed {"connection_id":124166,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:03:06] local.INFO: Acknowledgment sent {"connection_id":124166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:03:37] local.INFO: TCP Data received {"connection_id":124166,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:03:37] local.INFO: Processing buffer {"connection_id":124166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:03:37] local.INFO: Packet analysis {"connection_id":124166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39fc"} 
[2026-07-07 06:03:37] local.INFO: Extracted packet for processing {"connection_id":124166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39fc"} 
[2026-07-07 06:03:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546301440001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:03:37] 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-07-07 06:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783384291000,"timestamp_ms":1783384291000,"timestamp_seconds":1783384291,"priority":1,"record_length":96,"hex_timestamp":"0000019f39fcb6b8"} 
[2026-07-07 06:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546301440001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546301440001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:03:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:03:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546301440001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":124166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:03:37] local.INFO: GPS data processed {"connection_id":124166,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:03:37] local.INFO: Acknowledgment sent {"connection_id":124166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:04:00] local.INFO: TCP Data received {"connection_id":126080,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:04:00] local.INFO: Processing buffer {"connection_id":126080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:04:00] local.INFO: IMEI packet received {"connection_id":126080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":126080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:04:05] local.INFO: TCP Data received {"connection_id":126080,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:04:05] local.INFO: Processing buffer {"connection_id":126080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:04:05] local.INFO: IMEI packet received {"connection_id":126080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":126080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:04:06] local.INFO: TCP Data received {"connection_id":126080,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:04:06] local.INFO: Processing buffer {"connection_id":126080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:04:06] local.INFO: Packet analysis {"connection_id":126080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39fc"} 
[2026-07-07 06:04:06] local.INFO: Extracted packet for processing {"connection_id":126080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39fc"} 
[2026-07-07 06:04:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546301440001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:04:06] 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-07-07 06:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783384291000,"timestamp_ms":1783384291000,"timestamp_seconds":1783384291,"priority":1,"record_length":96,"hex_timestamp":"0000019f39fcb6b8"} 
[2026-07-07 06:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546301440001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546301440001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:04:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:04:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546301440001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":126080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:04:06] local.INFO: GPS data processed {"connection_id":126080,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:04:06] local.INFO: Acknowledgment sent {"connection_id":126080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:04:20] local.INFO: TCP Data received {"connection_id":126081,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:04:20] local.INFO: Processing buffer {"connection_id":126081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:04:20] local.INFO: IMEI packet received {"connection_id":126081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 06:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":126081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:04:22] local.INFO: TCP Data received {"connection_id":126081,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:04:22] local.INFO: Processing buffer {"connection_id":126081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:04:22] local.INFO: IMEI packet received {"connection_id":126081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 06:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":126081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:04:37] local.INFO: TCP Data received {"connection_id":126080,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:04:37] local.INFO: Processing buffer {"connection_id":126080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:04:37] local.INFO: Packet analysis {"connection_id":126080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39fc"} 
[2026-07-07 06:04:37] local.INFO: Extracted packet for processing {"connection_id":126080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39fc"} 
[2026-07-07 06:04:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546301440001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:04:37] 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-07-07 06:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783384291000,"timestamp_ms":1783384291000,"timestamp_seconds":1783384291,"priority":1,"record_length":96,"hex_timestamp":"0000019f39fcb6b8"} 
[2026-07-07 06:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546301440001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546301440001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:04:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:04:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546301440001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":126080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:04:37] local.INFO: GPS data processed {"connection_id":126080,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:04:37] local.INFO: Acknowledgment sent {"connection_id":126080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:05:05] local.INFO: TCP Data received {"connection_id":124056,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:05:05] local.INFO: Processing buffer {"connection_id":124056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:05:05] local.INFO: IMEI packet received {"connection_id":124056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":124056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:05:10] local.INFO: TCP Data received {"connection_id":124056,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:05:10] local.INFO: Processing buffer {"connection_id":124056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:05:10] local.INFO: IMEI packet received {"connection_id":124056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":124056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:05:11] local.INFO: TCP Data received {"connection_id":124056,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:05:11] local.INFO: Processing buffer {"connection_id":124056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:05:11] local.INFO: Packet analysis {"connection_id":124056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39fc"} 
[2026-07-07 06:05:11] local.INFO: Extracted packet for processing {"connection_id":124056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39fc"} 
[2026-07-07 06:05:11] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546301440001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:05:11] 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-07-07 06:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783384291000,"timestamp_ms":1783384291000,"timestamp_seconds":1783384291,"priority":1,"record_length":96,"hex_timestamp":"0000019f39fcb6b8"} 
[2026-07-07 06:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:05: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-07-07 06:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06: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-07-07 06:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546301440001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546301440001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:05:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:05:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546301440001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":124056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:05:11] local.INFO: GPS data processed {"connection_id":124056,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:05:11] local.INFO: Acknowledgment sent {"connection_id":124056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:05:15] local.INFO: TCP Data received {"connection_id":124056,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:05:15] local.INFO: Processing buffer {"connection_id":124056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:05:15] local.INFO: Packet analysis {"connection_id":124056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39fc"} 
[2026-07-07 06:05:15] local.INFO: Extracted packet for processing {"connection_id":124056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39fc"} 
[2026-07-07 06:05:15] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546301440001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:05:15] 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-07-07 06:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783384291000,"timestamp_ms":1783384291000,"timestamp_seconds":1783384291,"priority":1,"record_length":96,"hex_timestamp":"0000019f39fcb6b8"} 
[2026-07-07 06:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06: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-07-07 06: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":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546301440001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546301440001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:05:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:05:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546301440001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":124056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:05:15] local.INFO: GPS data processed {"connection_id":124056,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:05:15] local.INFO: Acknowledgment sent {"connection_id":124056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:06:00] local.INFO: TCP Data received {"connection_id":124057,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:06:00] local.INFO: Processing buffer {"connection_id":124057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:06:00] local.INFO: IMEI packet received {"connection_id":124057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":124057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:06:05] local.INFO: TCP Data received {"connection_id":124057,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:06:05] local.INFO: Processing buffer {"connection_id":124057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:06:05] local.INFO: IMEI packet received {"connection_id":124057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":124057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:06:06] local.INFO: TCP Data received {"connection_id":124057,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:06:06] local.INFO: Processing buffer {"connection_id":124057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:06:06] local.INFO: Packet analysis {"connection_id":124057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39fc"} 
[2026-07-07 06:06:06] local.INFO: Extracted packet for processing {"connection_id":124057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39fc"} 
[2026-07-07 06:06:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546301440001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:06:06] 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-07-07 06:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783384291000,"timestamp_ms":1783384291000,"timestamp_seconds":1783384291,"priority":1,"record_length":96,"hex_timestamp":"0000019f39fcb6b8"} 
[2026-07-07 06:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546301440001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546301440001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:06:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:06:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546301440001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":124057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:06:06] local.INFO: GPS data processed {"connection_id":124057,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:06:06] local.INFO: Acknowledgment sent {"connection_id":124057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:06:37] local.INFO: TCP Data received {"connection_id":124057,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:06:37] local.INFO: Processing buffer {"connection_id":124057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:06:37] local.INFO: Packet analysis {"connection_id":124057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39fc"} 
[2026-07-07 06:06:37] local.INFO: Extracted packet for processing {"connection_id":124057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39fc"} 
[2026-07-07 06:06:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546301440001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:06:37] 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-07-07 06:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783384291000,"timestamp_ms":1783384291000,"timestamp_seconds":1783384291,"priority":1,"record_length":96,"hex_timestamp":"0000019f39fcb6b8"} 
[2026-07-07 06:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546301440001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546301440001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:06:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:06:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546301440001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":124057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:06:37] local.INFO: GPS data processed {"connection_id":124057,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:06:37] local.INFO: Acknowledgment sent {"connection_id":124057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:07:00] local.INFO: TCP Data received {"connection_id":124168,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:07:00] local.INFO: Processing buffer {"connection_id":124168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:07:00] local.INFO: IMEI packet received {"connection_id":124168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":124168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:07:05] local.INFO: TCP Data received {"connection_id":124168,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:07:05] local.INFO: Processing buffer {"connection_id":124168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:07:05] local.INFO: IMEI packet received {"connection_id":124168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":124168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:07:07] local.INFO: TCP Data received {"connection_id":124168,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:07:07] local.INFO: Processing buffer {"connection_id":124168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f39fcb6b8012d6efe80064499f8000f004629..."} 
[2026-07-07 06:07:07] local.INFO: Packet analysis {"connection_id":124168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f39fc"} 
[2026-07-07 06:07:07] local.INFO: Extracted packet for processing {"connection_id":124168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f39fc"} 
[2026-07-07 06:07:07] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06: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-07-07 06:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546301440001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:07:07] 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-07-07 06:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783384291000,"timestamp_ms":1783384291000,"timestamp_seconds":1783384291,"priority":1,"record_length":96,"hex_timestamp":"0000019f39fcb6b8"} 
[2026-07-07 06:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06: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-07-07 06:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546301440001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546301440001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:07:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:07:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546301440001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":124168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:07:07] local.INFO: GPS data processed {"connection_id":124168,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:07:07] local.INFO: Acknowledgment sent {"connection_id":124168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:07:39] local.INFO: TCP Data received {"connection_id":124168,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:07:39] local.INFO: Processing buffer {"connection_id":124168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:07:39] local.INFO: Packet analysis {"connection_id":124168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a01"} 
[2026-07-07 06:07:39] local.INFO: Extracted packet for processing {"connection_id":124168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a01"} 
[2026-07-07 06:07:39] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06: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-07-07 06:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546378496001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:07:39] 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-07-07 06:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783384592000,"timestamp_ms":1783384592000,"timestamp_seconds":1783384592,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a014e80"} 
[2026-07-07 06:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06: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-07-07 06:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546378496001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546378496001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:07:39] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:07:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546378496001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":124168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:07:39] local.INFO: GPS data processed {"connection_id":124168,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:07:39] local.INFO: Acknowledgment sent {"connection_id":124168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:08:00] local.INFO: TCP Data received {"connection_id":124839,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:08:00] local.INFO: Processing buffer {"connection_id":124839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:08:00] local.INFO: IMEI packet received {"connection_id":124839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":124839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:08:05] local.INFO: TCP Data received {"connection_id":124839,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:08:05] local.INFO: Processing buffer {"connection_id":124839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:08:05] local.INFO: IMEI packet received {"connection_id":124839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":124839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:08:06] local.INFO: TCP Data received {"connection_id":124839,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:08:06] local.INFO: Processing buffer {"connection_id":124839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:08:06] local.INFO: Packet analysis {"connection_id":124839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a01"} 
[2026-07-07 06:08:06] local.INFO: Extracted packet for processing {"connection_id":124839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a01"} 
[2026-07-07 06:08:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546378496001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:08:06] 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-07-07 06:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783384592000,"timestamp_ms":1783384592000,"timestamp_seconds":1783384592,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a014e80"} 
[2026-07-07 06:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546378496001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546378496001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:08:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:08:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546378496001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":124839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:08:06] local.INFO: GPS data processed {"connection_id":124839,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:08:06] local.INFO: Acknowledgment sent {"connection_id":124839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:08:37] local.INFO: TCP Data received {"connection_id":124839,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:08:38] local.INFO: Processing buffer {"connection_id":124839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:08:38] local.INFO: Packet analysis {"connection_id":124839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a01"} 
[2026-07-07 06:08:38] local.INFO: Extracted packet for processing {"connection_id":124839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a01"} 
[2026-07-07 06:08:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546378496001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:08:38] 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-07-07 06:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783384592000,"timestamp_ms":1783384592000,"timestamp_seconds":1783384592,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a014e80"} 
[2026-07-07 06:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546378496001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546378496001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:08:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:08:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546378496001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":124839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:08:38] local.INFO: GPS data processed {"connection_id":124839,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:08:38] local.INFO: Acknowledgment sent {"connection_id":124839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:09:05] local.INFO: TCP Data received {"connection_id":124840,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:09:05] local.INFO: Processing buffer {"connection_id":124840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:09:05] local.INFO: IMEI packet received {"connection_id":124840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":124840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:09:10] local.INFO: TCP Data received {"connection_id":124840,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:09:10] local.INFO: Processing buffer {"connection_id":124840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:09:10] local.INFO: IMEI packet received {"connection_id":124840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":124840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:09:11] local.INFO: TCP Data received {"connection_id":124840,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:09:11] local.INFO: Processing buffer {"connection_id":124840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:09:11] local.INFO: Packet analysis {"connection_id":124840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a01"} 
[2026-07-07 06:09:11] local.INFO: Extracted packet for processing {"connection_id":124840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a01"} 
[2026-07-07 06:09:11] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546378496001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:09:11] 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-07-07 06:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783384592000,"timestamp_ms":1783384592000,"timestamp_seconds":1783384592,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a014e80"} 
[2026-07-07 06:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:09: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-07-07 06:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:09: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-07-07 06:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546378496001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546378496001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:09:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:09:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546378496001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":124840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:09:11] local.INFO: GPS data processed {"connection_id":124840,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:09:11] local.INFO: Acknowledgment sent {"connection_id":124840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:09:15] local.INFO: TCP Data received {"connection_id":124840,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:09:15] local.INFO: Processing buffer {"connection_id":124840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:09:15] local.INFO: Packet analysis {"connection_id":124840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a01"} 
[2026-07-07 06:09:15] local.INFO: Extracted packet for processing {"connection_id":124840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a01"} 
[2026-07-07 06:09:15] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546378496001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:09:15] 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-07-07 06:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783384592000,"timestamp_ms":1783384592000,"timestamp_seconds":1783384592,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a014e80"} 
[2026-07-07 06:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06: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-07-07 06: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-07-07 06:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546378496001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546378496001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:09:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:09:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546378496001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":124840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:09:15] local.INFO: GPS data processed {"connection_id":124840,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:09:15] local.INFO: Acknowledgment sent {"connection_id":124840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:09:40] local.INFO: TCP Data received {"connection_id":126083,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:09:40] local.INFO: Processing buffer {"connection_id":126083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:09:40] local.INFO: IMEI packet received {"connection_id":126083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 06:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":126083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:10:00] local.INFO: TCP Data received {"connection_id":124059,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:10:00] local.INFO: Processing buffer {"connection_id":124059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:10:00] local.INFO: IMEI packet received {"connection_id":124059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":124059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:10:05] local.INFO: TCP Data received {"connection_id":124059,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:10:05] local.INFO: Processing buffer {"connection_id":124059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:10:05] local.INFO: IMEI packet received {"connection_id":124059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":124059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:10:05] local.INFO: TCP Data received {"connection_id":124841,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:10:05] local.INFO: Processing buffer {"connection_id":124841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:10:05] local.INFO: IMEI packet received {"connection_id":124841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 06:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":124841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:10:06] local.INFO: TCP Data received {"connection_id":124059,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:10:06] local.INFO: Processing buffer {"connection_id":124059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:10:06] local.INFO: Packet analysis {"connection_id":124059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a01"} 
[2026-07-07 06:10:06] local.INFO: Extracted packet for processing {"connection_id":124059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a01"} 
[2026-07-07 06:10:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546378496001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:10:06] 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-07-07 06:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783384592000,"timestamp_ms":1783384592000,"timestamp_seconds":1783384592,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a014e80"} 
[2026-07-07 06:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546378496001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546378496001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:10:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:10:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546378496001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":124059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:10:06] local.INFO: GPS data processed {"connection_id":124059,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:10:06] local.INFO: Acknowledgment sent {"connection_id":124059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:10:37] local.INFO: TCP Data received {"connection_id":124059,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:10:37] local.INFO: Processing buffer {"connection_id":124059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:10:37] local.INFO: Packet analysis {"connection_id":124059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a01"} 
[2026-07-07 06:10:37] local.INFO: Extracted packet for processing {"connection_id":124059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a01"} 
[2026-07-07 06:10:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546378496001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:10:37] 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-07-07 06:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783384592000,"timestamp_ms":1783384592000,"timestamp_seconds":1783384592,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a014e80"} 
[2026-07-07 06:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546378496001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546378496001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:10:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:10:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546378496001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":124059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:10:37] local.INFO: GPS data processed {"connection_id":124059,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:10:37] local.INFO: Acknowledgment sent {"connection_id":124059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:11:00] local.INFO: TCP Data received {"connection_id":124060,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:11:00] local.INFO: Processing buffer {"connection_id":124060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:11:00] local.INFO: IMEI packet received {"connection_id":124060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":124060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:11:05] local.INFO: TCP Data received {"connection_id":124060,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:11:05] local.INFO: Processing buffer {"connection_id":124060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:11:05] local.INFO: IMEI packet received {"connection_id":124060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":124060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:11:06] local.INFO: TCP Data received {"connection_id":124060,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:11:06] local.INFO: Processing buffer {"connection_id":124060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:11:06] local.INFO: Packet analysis {"connection_id":124060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a01"} 
[2026-07-07 06:11:06] local.INFO: Extracted packet for processing {"connection_id":124060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a01"} 
[2026-07-07 06:11:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546378496001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:11:06] 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-07-07 06:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783384592000,"timestamp_ms":1783384592000,"timestamp_seconds":1783384592,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a014e80"} 
[2026-07-07 06:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546378496001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546378496001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:11:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:11:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546378496001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":124060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:11:06] local.INFO: GPS data processed {"connection_id":124060,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:11:06] local.INFO: Acknowledgment sent {"connection_id":124060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:11:37] local.INFO: TCP Data received {"connection_id":124060,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:11:37] local.INFO: Processing buffer {"connection_id":124060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:11:37] local.INFO: Packet analysis {"connection_id":124060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a01"} 
[2026-07-07 06:11:37] local.INFO: Extracted packet for processing {"connection_id":124060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a01"} 
[2026-07-07 06:11:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546378496001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:11:37] 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-07-07 06:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783384592000,"timestamp_ms":1783384592000,"timestamp_seconds":1783384592,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a014e80"} 
[2026-07-07 06:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546378496001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546378496001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:11:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:11:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546378496001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":124060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:11:37] local.INFO: GPS data processed {"connection_id":124060,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:11:37] local.INFO: Acknowledgment sent {"connection_id":124060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:12:00] local.INFO: TCP Data received {"connection_id":124842,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:12:00] local.INFO: Processing buffer {"connection_id":124842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:12:00] local.INFO: IMEI packet received {"connection_id":124842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":124842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:12:05] local.INFO: TCP Data received {"connection_id":124842,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:12:05] local.INFO: Processing buffer {"connection_id":124842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:12:05] local.INFO: IMEI packet received {"connection_id":124842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":124842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:12:06] local.INFO: TCP Data received {"connection_id":124842,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:12:06] local.INFO: Processing buffer {"connection_id":124842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a014e80012d6efe80064499f8000f004628..."} 
[2026-07-07 06:12:06] local.INFO: Packet analysis {"connection_id":124842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a01"} 
[2026-07-07 06:12:06] local.INFO: Extracted packet for processing {"connection_id":124842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a01"} 
[2026-07-07 06:12:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546378496001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:12:06] 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-07-07 06:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783384592000,"timestamp_ms":1783384592000,"timestamp_seconds":1783384592,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a014e80"} 
[2026-07-07 06:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546378496001,"66":25702,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546378496001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:12:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:12:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546378496001,"power":25702,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":124842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:12:06] local.INFO: GPS data processed {"connection_id":124842,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:12:06] local.INFO: Acknowledgment sent {"connection_id":124842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:12:37] local.INFO: TCP Data received {"connection_id":124842,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:12:37] local.INFO: Processing buffer {"connection_id":124842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:12:37] local.INFO: Packet analysis {"connection_id":124842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a05"} 
[2026-07-07 06:12:37] local.INFO: Extracted packet for processing {"connection_id":124842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a05"} 
[2026-07-07 06:12:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546455552001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:12:37] 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-07-07 06:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783384893000,"timestamp_ms":1783384893000,"timestamp_seconds":1783384893,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a05e648"} 
[2026-07-07 06:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546455552001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546455552001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:12:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:12:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546455552001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":124842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:12:37] local.INFO: GPS data processed {"connection_id":124842,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:12:37] local.INFO: Acknowledgment sent {"connection_id":124842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:13:05] local.INFO: TCP Data received {"connection_id":126085,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:13:05] local.INFO: Processing buffer {"connection_id":126085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:13:05] local.INFO: IMEI packet received {"connection_id":126085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":126085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:13:10] local.INFO: TCP Data received {"connection_id":126085,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:13:10] local.INFO: Processing buffer {"connection_id":126085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:13:10] local.INFO: IMEI packet received {"connection_id":126085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":126085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:13:11] local.INFO: TCP Data received {"connection_id":126085,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:13:11] local.INFO: Processing buffer {"connection_id":126085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:13:11] local.INFO: Packet analysis {"connection_id":126085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a05"} 
[2026-07-07 06:13:11] local.INFO: Extracted packet for processing {"connection_id":126085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a05"} 
[2026-07-07 06:13:11] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546455552001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:13:11] 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-07-07 06:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783384893000,"timestamp_ms":1783384893000,"timestamp_seconds":1783384893,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a05e648"} 
[2026-07-07 06:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06: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-07-07 06:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546455552001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546455552001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:13:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:13:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546455552001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":126085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:13:11] local.INFO: GPS data processed {"connection_id":126085,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:13:11] local.INFO: Acknowledgment sent {"connection_id":126085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:13:16] local.INFO: TCP Data received {"connection_id":126085,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:13:16] local.INFO: Processing buffer {"connection_id":126085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:13:16] local.INFO: Packet analysis {"connection_id":126085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a05"} 
[2026-07-07 06:13:16] local.INFO: Extracted packet for processing {"connection_id":126085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a05"} 
[2026-07-07 06:13:16] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546455552001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:13:16] 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-07-07 06:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783384893000,"timestamp_ms":1783384893000,"timestamp_seconds":1783384893,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a05e648"} 
[2026-07-07 06:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:13: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-07-07 06:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546455552001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546455552001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:13:16] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:13:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546455552001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":126085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:13:16] local.INFO: GPS data processed {"connection_id":126085,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:13:16] local.INFO: Acknowledgment sent {"connection_id":126085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:14:00] local.INFO: TCP Data received {"connection_id":124170,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:14:00] local.INFO: Processing buffer {"connection_id":124170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:14:00] local.INFO: IMEI packet received {"connection_id":124170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":124170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:14:03] local.INFO: TCP Data received {"connection_id":126086,"ip":"160.119.71.136","data_length":986,"data_hex":"504f5354202f20485454502f312e310d0a486f73743a2033372e32372e39322e..."} 
[2026-07-07 06:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126086,"packet_length":986,"packet_hex":"504f5354202f20485454502f312e310d0a486f73743a2033372e32372e39322e..."} 
[2026-07-07 06:14:03] local.INFO: Processing buffer {"connection_id":126086,"buffer_length":986,"buffer_hex":"504f5354202f20485454502f312e310d0a486f73743a2033372e32372e39322e..."} 
[2026-07-07 06:14:03] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":126086,"buffer_length":986,"first_bytes_hex":"504f5354202f20485454502f312e310d"} 
[2026-07-07 06:14:05] local.INFO: TCP Data received {"connection_id":124170,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:14:05] local.INFO: Processing buffer {"connection_id":124170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:14:05] local.INFO: IMEI packet received {"connection_id":124170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":124170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:14:06] local.INFO: TCP Data received {"connection_id":124170,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:14:06] local.INFO: Processing buffer {"connection_id":124170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:14:06] local.INFO: Packet analysis {"connection_id":124170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a05"} 
[2026-07-07 06:14:06] local.INFO: Extracted packet for processing {"connection_id":124170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a05"} 
[2026-07-07 06:14:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546455552001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:14:06] 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-07-07 06:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783384893000,"timestamp_ms":1783384893000,"timestamp_seconds":1783384893,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a05e648"} 
[2026-07-07 06:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546455552001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546455552001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:14:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:14:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546455552001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":124170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:14:06] local.INFO: GPS data processed {"connection_id":124170,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:14:06] local.INFO: Acknowledgment sent {"connection_id":124170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:14:17] local.INFO: TCP Data received {"connection_id":124064,"ip":"160.119.71.136","data_length":966,"data_hex":"504f5354202f5f6e65787420485454502f312e310d0a486f73743a2033372e32..."} 
[2026-07-07 06:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124064,"packet_length":966,"packet_hex":"504f5354202f5f6e65787420485454502f312e310d0a486f73743a2033372e32..."} 
[2026-07-07 06:14:17] local.INFO: Processing buffer {"connection_id":124064,"buffer_length":966,"buffer_hex":"504f5354202f5f6e65787420485454502f312e310d0a486f73743a2033372e32..."} 
[2026-07-07 06:14:17] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":124064,"buffer_length":966,"first_bytes_hex":"504f5354202f5f6e6578742048545450"} 
[2026-07-07 06:14:29] local.INFO: TCP Data received {"connection_id":124065,"ip":"160.119.71.136","data_length":953,"data_hex":"504f5354202f61706920485454502f312e310d0a486f73743a2033372e32372e..."} 
[2026-07-07 06:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124065,"packet_length":953,"packet_hex":"504f5354202f61706920485454502f312e310d0a486f73743a2033372e32372e..."} 
[2026-07-07 06:14:29] local.INFO: Processing buffer {"connection_id":124065,"buffer_length":953,"buffer_hex":"504f5354202f61706920485454502f312e310d0a486f73743a2033372e32372e..."} 
[2026-07-07 06:14:29] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":124065,"buffer_length":953,"first_bytes_hex":"504f5354202f61706920485454502f31"} 
[2026-07-07 06:14:37] local.INFO: TCP Data received {"connection_id":124170,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:14:37] local.INFO: Processing buffer {"connection_id":124170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:14:37] local.INFO: Packet analysis {"connection_id":124170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a05"} 
[2026-07-07 06:14:37] local.INFO: Extracted packet for processing {"connection_id":124170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a05"} 
[2026-07-07 06:14:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546455552001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:14:37] 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-07-07 06:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783384893000,"timestamp_ms":1783384893000,"timestamp_seconds":1783384893,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a05e648"} 
[2026-07-07 06:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546455552001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546455552001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:14:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:14:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546455552001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":124170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:14:37] local.INFO: GPS data processed {"connection_id":124170,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:14:37] local.INFO: Acknowledgment sent {"connection_id":124170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:14:41] local.INFO: TCP Data received {"connection_id":124843,"ip":"160.119.71.136","data_length":947,"data_hex":"504f5354202f5f6e6578742f73657276657220485454502f312e310d0a486f73..."} 
[2026-07-07 06:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124843,"packet_length":947,"packet_hex":"504f5354202f5f6e6578742f73657276657220485454502f312e310d0a486f73..."} 
[2026-07-07 06:14:41] local.INFO: Processing buffer {"connection_id":124843,"buffer_length":947,"buffer_hex":"504f5354202f5f6e6578742f73657276657220485454502f312e310d0a486f73..."} 
[2026-07-07 06:14:41] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":124843,"buffer_length":947,"first_bytes_hex":"504f5354202f5f6e6578742f73657276"} 
[2026-07-07 06:14:53] local.INFO: TCP Data received {"connection_id":126088,"ip":"160.119.71.136","data_length":946,"data_hex":"504f5354202f61707020485454502f312e310d0a486f73743a2033372e32372e..."} 
[2026-07-07 06:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126088,"packet_length":946,"packet_hex":"504f5354202f61707020485454502f312e310d0a486f73743a2033372e32372e..."} 
[2026-07-07 06:14:53] local.INFO: Processing buffer {"connection_id":126088,"buffer_length":946,"buffer_hex":"504f5354202f61707020485454502f312e310d0a486f73743a2033372e32372e..."} 
[2026-07-07 06:14:53] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":126088,"buffer_length":946,"first_bytes_hex":"504f5354202f61707020485454502f31"} 
[2026-07-07 06:15:00] local.INFO: TCP Data received {"connection_id":126089,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:15:00] local.INFO: Processing buffer {"connection_id":126089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:15:00] local.INFO: IMEI packet received {"connection_id":126089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":126089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:15:05] local.INFO: TCP Data received {"connection_id":124066,"ip":"160.119.71.136","data_length":986,"data_hex":"504f5354202f6170692f726f75746520485454502f312e310d0a486f73743a20..."} 
[2026-07-07 06:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124066,"packet_length":986,"packet_hex":"504f5354202f6170692f726f75746520485454502f312e310d0a486f73743a20..."} 
[2026-07-07 06:15:05] local.INFO: Processing buffer {"connection_id":124066,"buffer_length":986,"buffer_hex":"504f5354202f6170692f726f75746520485454502f312e310d0a486f73743a20..."} 
[2026-07-07 06:15:05] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":124066,"buffer_length":986,"first_bytes_hex":"504f5354202f6170692f726f75746520"} 
[2026-07-07 06:15:05] local.INFO: TCP Data received {"connection_id":126089,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:15:05] local.INFO: Processing buffer {"connection_id":126089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:15:05] local.INFO: IMEI packet received {"connection_id":126089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":126089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:15:06] local.INFO: TCP Data received {"connection_id":126089,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:15:06] local.INFO: Processing buffer {"connection_id":126089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:15:06] local.INFO: Packet analysis {"connection_id":126089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a05"} 
[2026-07-07 06:15:06] local.INFO: Extracted packet for processing {"connection_id":126089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a05"} 
[2026-07-07 06:15:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546455552001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:15:06] 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-07-07 06:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783384893000,"timestamp_ms":1783384893000,"timestamp_seconds":1783384893,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a05e648"} 
[2026-07-07 06:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546455552001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546455552001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:15:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:15:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546455552001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":126089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:15:06] local.INFO: GPS data processed {"connection_id":126089,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:15:06] local.INFO: Acknowledgment sent {"connection_id":126089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:15:38] local.INFO: TCP Data received {"connection_id":126089,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:15:38] local.INFO: Processing buffer {"connection_id":126089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:15:38] local.INFO: Packet analysis {"connection_id":126089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a05"} 
[2026-07-07 06:15:38] local.INFO: Extracted packet for processing {"connection_id":126089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a05"} 
[2026-07-07 06:15:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 06:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546455552001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:15:38] 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-07-07 06:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783384893000,"timestamp_ms":1783384893000,"timestamp_seconds":1783384893,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a05e648"} 
[2026-07-07 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-07-07 06:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 06:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546455552001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546455552001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:15:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:15:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546455552001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":126089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:15:38] local.INFO: GPS data processed {"connection_id":126089,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:15:38] local.INFO: Acknowledgment sent {"connection_id":126089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:16:00] local.INFO: TCP Data received {"connection_id":124844,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:16:00] local.INFO: Processing buffer {"connection_id":124844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:16:00] local.INFO: IMEI packet received {"connection_id":124844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":124844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:16:05] local.INFO: TCP Data received {"connection_id":124844,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:16:05] local.INFO: Processing buffer {"connection_id":124844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:16:05] local.INFO: IMEI packet received {"connection_id":124844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":124844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:16:06] local.INFO: TCP Data received {"connection_id":124844,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:16:06] local.INFO: Processing buffer {"connection_id":124844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:16:06] local.INFO: Packet analysis {"connection_id":124844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a05"} 
[2026-07-07 06:16:06] local.INFO: Extracted packet for processing {"connection_id":124844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a05"} 
[2026-07-07 06:16:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546455552001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:16:06] 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-07-07 06:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783384893000,"timestamp_ms":1783384893000,"timestamp_seconds":1783384893,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a05e648"} 
[2026-07-07 06:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546455552001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546455552001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:16:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:16:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546455552001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":124844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:16:06] local.INFO: GPS data processed {"connection_id":124844,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:16:06] local.INFO: Acknowledgment sent {"connection_id":124844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:16:15] local.INFO: TCP Data received {"connection_id":124845,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124845,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:16:15] local.INFO: Processing buffer {"connection_id":124845,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:16:15] local.INFO: IMEI packet received {"connection_id":124845,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 06:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":124845,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:16:37] local.INFO: TCP Data received {"connection_id":124844,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:16:37] local.INFO: Processing buffer {"connection_id":124844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:16:37] local.INFO: Packet analysis {"connection_id":124844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a05"} 
[2026-07-07 06:16:37] local.INFO: Extracted packet for processing {"connection_id":124844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a05"} 
[2026-07-07 06:16:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546455552001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:16:37] 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-07-07 06:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783384893000,"timestamp_ms":1783384893000,"timestamp_seconds":1783384893,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a05e648"} 
[2026-07-07 06:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546455552001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546455552001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:16:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:16:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546455552001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":124844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:16:37] local.INFO: GPS data processed {"connection_id":124844,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:16:37] local.INFO: Acknowledgment sent {"connection_id":124844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:16:59] local.INFO: TCP Data received {"connection_id":126090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:17:00] local.INFO: Processing buffer {"connection_id":126090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:17:00] local.INFO: IMEI packet received {"connection_id":126090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":126090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:17:05] local.INFO: TCP Data received {"connection_id":126090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:17:05] local.INFO: Processing buffer {"connection_id":126090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:17:05] local.INFO: IMEI packet received {"connection_id":126090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":126090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:17:06] local.INFO: TCP Data received {"connection_id":126090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:17:06] local.INFO: Processing buffer {"connection_id":126090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a05e648012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:17:06] local.INFO: Packet analysis {"connection_id":126090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a05"} 
[2026-07-07 06:17:06] local.INFO: Extracted packet for processing {"connection_id":126090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a05"} 
[2026-07-07 06:17:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546455552001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:17:06] 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-07-07 06:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783384893000,"timestamp_ms":1783384893000,"timestamp_seconds":1783384893,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a05e648"} 
[2026-07-07 06:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 06:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546455552001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546455552001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:17:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:17:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546455552001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":126090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:17:06] local.INFO: GPS data processed {"connection_id":126090,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:17:06] local.INFO: Acknowledgment sent {"connection_id":126090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:18:20] local.INFO: TCP Data received {"connection_id":126091,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:18:20] local.INFO: Processing buffer {"connection_id":126091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:18:20] local.INFO: IMEI packet received {"connection_id":126091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":126091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:18:25] local.INFO: TCP Data received {"connection_id":126091,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:18:25] local.INFO: Processing buffer {"connection_id":126091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:18:25] local.INFO: IMEI packet received {"connection_id":126091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":126091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:18:30] local.INFO: TCP Data received {"connection_id":126091,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:18:30] local.INFO: Processing buffer {"connection_id":126091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:18:30] local.INFO: IMEI packet received {"connection_id":126091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":126091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:18:31] local.INFO: TCP Data received {"connection_id":126091,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:18:31] local.INFO: Processing buffer {"connection_id":126091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:18:31] local.INFO: Packet analysis {"connection_id":126091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:18:31] local.INFO: Extracted packet for processing {"connection_id":126091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:18:31] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546532608001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:18:31] 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-07-07 06:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783385194000,"timestamp_ms":1783385194000,"timestamp_seconds":1783385194,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0a7e10"} 
[2026-07-07 06:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546532608001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546532608001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:18:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:18:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546532608001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":126091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:18:31] local.INFO: GPS data processed {"connection_id":126091,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:18:31] local.INFO: Acknowledgment sent {"connection_id":126091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:18:35] local.INFO: TCP Data received {"connection_id":126091,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:18:35] local.INFO: Processing buffer {"connection_id":126091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:18:35] local.INFO: Packet analysis {"connection_id":126091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:18:35] local.INFO: Extracted packet for processing {"connection_id":126091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:18:35] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546532608001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:18:35] 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-07-07 06:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783385194000,"timestamp_ms":1783385194000,"timestamp_seconds":1783385194,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0a7e10"} 
[2026-07-07 06:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546532608001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546532608001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:18:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:18:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546532608001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":126091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:18:35] local.INFO: GPS data processed {"connection_id":126091,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:18:35] local.INFO: Acknowledgment sent {"connection_id":126091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:19:00] local.INFO: TCP Data received {"connection_id":124846,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:19:00] local.INFO: Processing buffer {"connection_id":124846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:19:00] local.INFO: IMEI packet received {"connection_id":124846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":124846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:19:08] local.INFO: TCP Data received {"connection_id":124846,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:19:08] local.INFO: Processing buffer {"connection_id":124846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:19:08] local.INFO: IMEI packet received {"connection_id":124846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":124846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:19:12] local.INFO: TCP Data received {"connection_id":124846,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:19:12] local.INFO: Processing buffer {"connection_id":124846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:19:12] local.INFO: Packet analysis {"connection_id":124846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:19:12] local.INFO: Extracted packet for processing {"connection_id":124846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:19:12] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546532608001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:19:12] 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-07-07 06:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783385194000,"timestamp_ms":1783385194000,"timestamp_seconds":1783385194,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0a7e10"} 
[2026-07-07 06:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:19: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-07-07 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546532608001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546532608001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:19:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:19:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546532608001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":124846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:19:12] local.INFO: GPS data processed {"connection_id":124846,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:19:12] local.INFO: Acknowledgment sent {"connection_id":124846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:19:44] local.INFO: TCP Data received {"connection_id":124846,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:19:44] local.INFO: Processing buffer {"connection_id":124846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:19:44] local.INFO: Packet analysis {"connection_id":124846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:19:44] local.INFO: Extracted packet for processing {"connection_id":124846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:19:44] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 06:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546532608001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:19:44] 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-07-07 06:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783385194000,"timestamp_ms":1783385194000,"timestamp_seconds":1783385194,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0a7e10"} 
[2026-07-07 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-07-07 06:19: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-07-07 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:19: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-07-07 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-07-07 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-07-07 06:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:19: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-07-07 06:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546532608001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546532608001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:19:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:19:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546532608001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":124846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:19:44] local.INFO: GPS data processed {"connection_id":124846,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:19:44] local.INFO: Acknowledgment sent {"connection_id":124846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:20:00] local.INFO: TCP Data received {"connection_id":124069,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:20:00] local.INFO: Processing buffer {"connection_id":124069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:20:00] local.INFO: IMEI packet received {"connection_id":124069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":124069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:20:05] local.INFO: TCP Data received {"connection_id":124069,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:20:05] local.INFO: Processing buffer {"connection_id":124069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:20:05] local.INFO: IMEI packet received {"connection_id":124069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":124069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:20:06] local.INFO: TCP Data received {"connection_id":124069,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:20:06] local.INFO: Processing buffer {"connection_id":124069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:20:06] local.INFO: Packet analysis {"connection_id":124069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:20:06] local.INFO: Extracted packet for processing {"connection_id":124069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:20:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546532608001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:20:06] 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-07-07 06:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783385194000,"timestamp_ms":1783385194000,"timestamp_seconds":1783385194,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0a7e10"} 
[2026-07-07 06:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546532608001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546532608001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:20:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:20:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546532608001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":124069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:20:06] local.INFO: GPS data processed {"connection_id":124069,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:20:06] local.INFO: Acknowledgment sent {"connection_id":124069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:20:37] local.INFO: TCP Data received {"connection_id":124069,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:20:38] local.INFO: Processing buffer {"connection_id":124069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:20:38] local.INFO: Packet analysis {"connection_id":124069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:20:38] local.INFO: Extracted packet for processing {"connection_id":124069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:20:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 06:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546532608001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:20:38] 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-07-07 06:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783385194000,"timestamp_ms":1783385194000,"timestamp_seconds":1783385194,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0a7e10"} 
[2026-07-07 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-07-07 06:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 06:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546532608001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546532608001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:20:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:20:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546532608001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":124069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:20:38] local.INFO: GPS data processed {"connection_id":124069,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:20:38] local.INFO: Acknowledgment sent {"connection_id":124069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:21:00] local.INFO: TCP Data received {"connection_id":124847,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:21:00] local.INFO: Processing buffer {"connection_id":124847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:21:00] local.INFO: IMEI packet received {"connection_id":124847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":124847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:21:05] local.INFO: TCP Data received {"connection_id":124847,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:21:05] local.INFO: Processing buffer {"connection_id":124847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:21:05] local.INFO: IMEI packet received {"connection_id":124847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":124847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:21:06] local.INFO: TCP Data received {"connection_id":124847,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:21:06] local.INFO: Processing buffer {"connection_id":124847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:21:06] local.INFO: Packet analysis {"connection_id":124847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:21:06] local.INFO: Extracted packet for processing {"connection_id":124847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:21:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546532608001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:21:06] 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-07-07 06:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783385194000,"timestamp_ms":1783385194000,"timestamp_seconds":1783385194,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0a7e10"} 
[2026-07-07 06:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546532608001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546532608001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:21:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:21:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546532608001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":124847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:21:06] local.INFO: GPS data processed {"connection_id":124847,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:21:06] local.INFO: Acknowledgment sent {"connection_id":124847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:21:37] local.INFO: TCP Data received {"connection_id":124847,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:21:37] local.INFO: Processing buffer {"connection_id":124847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:21:37] local.INFO: Packet analysis {"connection_id":124847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:21:37] local.INFO: Extracted packet for processing {"connection_id":124847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:21:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 06:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546532608001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:21:37] 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-07-07 06:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783385194000,"timestamp_ms":1783385194000,"timestamp_seconds":1783385194,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0a7e10"} 
[2026-07-07 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-07-07 06:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 06:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546532608001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546532608001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:21:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:21:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546532608001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":124847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:21:37] local.INFO: GPS data processed {"connection_id":124847,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:21:37] local.INFO: Acknowledgment sent {"connection_id":124847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:21:40] local.INFO: TCP Data received {"connection_id":126092,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126092,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:21:40] local.INFO: Processing buffer {"connection_id":126092,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:21:40] local.INFO: IMEI packet received {"connection_id":126092,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 06:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":126092,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:21:59] local.INFO: TCP Data received {"connection_id":126093,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:21:59] local.INFO: Processing buffer {"connection_id":126093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:21:59] local.INFO: IMEI packet received {"connection_id":126093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":126093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:22:04] local.INFO: TCP Data received {"connection_id":124848,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:22:04] local.INFO: Processing buffer {"connection_id":124848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:22:04] local.INFO: IMEI packet received {"connection_id":124848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 06:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":124848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:22:05] local.INFO: TCP Data received {"connection_id":126093,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:22:05] local.INFO: Processing buffer {"connection_id":126093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:22:05] local.INFO: IMEI packet received {"connection_id":126093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":126093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:22:06] local.INFO: TCP Data received {"connection_id":126093,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:22:06] local.INFO: Processing buffer {"connection_id":126093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:22:06] local.INFO: Packet analysis {"connection_id":126093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:22:06] local.INFO: Extracted packet for processing {"connection_id":126093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:22:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546532608001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:22:06] 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-07-07 06:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783385194000,"timestamp_ms":1783385194000,"timestamp_seconds":1783385194,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0a7e10"} 
[2026-07-07 06:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:22: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-07-07 06:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546532608001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546532608001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:22:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:22:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546532608001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":126093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:22:06] local.INFO: GPS data processed {"connection_id":126093,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:22:06] local.INFO: Acknowledgment sent {"connection_id":126093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:22:37] local.INFO: TCP Data received {"connection_id":126093,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:22:37] local.INFO: Processing buffer {"connection_id":126093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:22:37] local.INFO: Packet analysis {"connection_id":126093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:22:37] local.INFO: Extracted packet for processing {"connection_id":126093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:22:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546532608001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:22:37] 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-07-07 06:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783385194000,"timestamp_ms":1783385194000,"timestamp_seconds":1783385194,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0a7e10"} 
[2026-07-07 06:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546532608001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546532608001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:22:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:22:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546532608001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":126093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:22:37] local.INFO: GPS data processed {"connection_id":126093,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:22:37] local.INFO: Acknowledgment sent {"connection_id":126093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:22:59] local.INFO: TCP Data received {"connection_id":124070,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:22:59] local.INFO: Processing buffer {"connection_id":124070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:22:59] local.INFO: IMEI packet received {"connection_id":124070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":124070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:23:05] local.INFO: TCP Data received {"connection_id":124070,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:23:05] local.INFO: Processing buffer {"connection_id":124070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:23:05] local.INFO: IMEI packet received {"connection_id":124070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":124070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:23:06] local.INFO: TCP Data received {"connection_id":124070,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:23:06] local.INFO: Processing buffer {"connection_id":124070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0a7e10012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:23:06] local.INFO: Packet analysis {"connection_id":124070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:23:06] local.INFO: Extracted packet for processing {"connection_id":124070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0a"} 
[2026-07-07 06:23:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546532608001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:23:06] 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-07-07 06:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783385194000,"timestamp_ms":1783385194000,"timestamp_seconds":1783385194,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0a7e10"} 
[2026-07-07 06:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546532608001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546532608001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:23:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:23:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546532608001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":124070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:23:06] local.INFO: GPS data processed {"connection_id":124070,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:23:06] local.INFO: Acknowledgment sent {"connection_id":124070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:23:37] local.INFO: TCP Data received {"connection_id":124070,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:23:37] local.INFO: Processing buffer {"connection_id":124070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:23:37] local.INFO: Packet analysis {"connection_id":124070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0f"} 
[2026-07-07 06:23:37] local.INFO: Extracted packet for processing {"connection_id":124070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0f"} 
[2026-07-07 06:23:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546609664001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:23:37] 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-07-07 06:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783385548000,"timestamp_ms":1783385548000,"timestamp_seconds":1783385548,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0fe4e0"} 
[2026-07-07 06:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546609664001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546609664001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:23:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:23:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546609664001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":124070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:23:37] local.INFO: GPS data processed {"connection_id":124070,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:23:37] local.INFO: Acknowledgment sent {"connection_id":124070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:24:00] local.INFO: TCP Data received {"connection_id":124850,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:24:00] local.INFO: Processing buffer {"connection_id":124850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:24:00] local.INFO: IMEI packet received {"connection_id":124850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":124850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:24:05] local.INFO: TCP Data received {"connection_id":124850,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:24:05] local.INFO: Processing buffer {"connection_id":124850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:24:05] local.INFO: IMEI packet received {"connection_id":124850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":124850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:24:06] local.INFO: TCP Data received {"connection_id":124850,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:24:06] local.INFO: Processing buffer {"connection_id":124850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:24:06] local.INFO: Packet analysis {"connection_id":124850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0f"} 
[2026-07-07 06:24:06] local.INFO: Extracted packet for processing {"connection_id":124850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0f"} 
[2026-07-07 06:24:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546609664001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:24:06] 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-07-07 06:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783385548000,"timestamp_ms":1783385548000,"timestamp_seconds":1783385548,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0fe4e0"} 
[2026-07-07 06:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546609664001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546609664001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:24:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:24:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546609664001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":124850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:24:06] local.INFO: GPS data processed {"connection_id":124850,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:24:06] local.INFO: Acknowledgment sent {"connection_id":124850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:24:37] local.INFO: TCP Data received {"connection_id":124850,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:24:37] local.INFO: Processing buffer {"connection_id":124850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:24:37] local.INFO: Packet analysis {"connection_id":124850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0f"} 
[2026-07-07 06:24:37] local.INFO: Extracted packet for processing {"connection_id":124850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0f"} 
[2026-07-07 06:24:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546609664001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:24:37] 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-07-07 06:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783385548000,"timestamp_ms":1783385548000,"timestamp_seconds":1783385548,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0fe4e0"} 
[2026-07-07 06:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546609664001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546609664001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:24:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:24:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546609664001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":124850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:24:37] local.INFO: GPS data processed {"connection_id":124850,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:24:37] local.INFO: Acknowledgment sent {"connection_id":124850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:25:00] local.INFO: TCP Data received {"connection_id":124173,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:25:00] local.INFO: Processing buffer {"connection_id":124173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:25:00] local.INFO: IMEI packet received {"connection_id":124173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":124173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:25:05] local.INFO: TCP Data received {"connection_id":124173,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:25:05] local.INFO: Processing buffer {"connection_id":124173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:25:05] local.INFO: IMEI packet received {"connection_id":124173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":124173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:25:06] local.INFO: TCP Data received {"connection_id":124173,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:25:06] local.INFO: Processing buffer {"connection_id":124173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:25:06] local.INFO: Packet analysis {"connection_id":124173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0f"} 
[2026-07-07 06:25:06] local.INFO: Extracted packet for processing {"connection_id":124173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0f"} 
[2026-07-07 06:25:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546609664001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:25:06] 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-07-07 06:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783385548000,"timestamp_ms":1783385548000,"timestamp_seconds":1783385548,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0fe4e0"} 
[2026-07-07 06:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546609664001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546609664001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:25:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:25:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546609664001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":124173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:25:06] local.INFO: GPS data processed {"connection_id":124173,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:25:06] local.INFO: Acknowledgment sent {"connection_id":124173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:25:37] local.INFO: TCP Data received {"connection_id":124173,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:25:37] local.INFO: Processing buffer {"connection_id":124173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:25:37] local.INFO: Packet analysis {"connection_id":124173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0f"} 
[2026-07-07 06:25:37] local.INFO: Extracted packet for processing {"connection_id":124173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0f"} 
[2026-07-07 06:25:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546609664001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:25:37] 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-07-07 06:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783385548000,"timestamp_ms":1783385548000,"timestamp_seconds":1783385548,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0fe4e0"} 
[2026-07-07 06:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546609664001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546609664001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:25:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:25:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546609664001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":124173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:25:37] local.INFO: GPS data processed {"connection_id":124173,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:25:37] local.INFO: Acknowledgment sent {"connection_id":124173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:26:00] local.INFO: TCP Data received {"connection_id":124073,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:26:00] local.INFO: Processing buffer {"connection_id":124073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:26:00] local.INFO: IMEI packet received {"connection_id":124073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":124073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:26:07] local.INFO: TCP Data received {"connection_id":124073,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:26:07] local.INFO: Processing buffer {"connection_id":124073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:26:07] local.INFO: IMEI packet received {"connection_id":124073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":124073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:26:08] local.INFO: TCP Data received {"connection_id":124073,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:26:08] local.INFO: Processing buffer {"connection_id":124073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:26:08] local.INFO: Packet analysis {"connection_id":124073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0f"} 
[2026-07-07 06:26:08] local.INFO: Extracted packet for processing {"connection_id":124073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0f"} 
[2026-07-07 06:26:08] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06: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-07-07 06:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546609664001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:26:08] 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-07-07 06:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783385548000,"timestamp_ms":1783385548000,"timestamp_seconds":1783385548,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0fe4e0"} 
[2026-07-07 06:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546609664001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546609664001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:26:08] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:26:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546609664001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":124073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:26:08] local.INFO: GPS data processed {"connection_id":124073,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:26:08] local.INFO: Acknowledgment sent {"connection_id":124073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:26:40] local.INFO: TCP Data received {"connection_id":124073,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:26:40] local.INFO: Processing buffer {"connection_id":124073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:26:40] local.INFO: Packet analysis {"connection_id":124073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0f"} 
[2026-07-07 06:26:40] local.INFO: Extracted packet for processing {"connection_id":124073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0f"} 
[2026-07-07 06:26:40] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546609664001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:26:40] 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-07-07 06:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783385548000,"timestamp_ms":1783385548000,"timestamp_seconds":1783385548,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0fe4e0"} 
[2026-07-07 06:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:26: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-07-07 06:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546609664001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546609664001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:26:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:26:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546609664001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":124073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:26:40] local.INFO: GPS data processed {"connection_id":124073,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:26:40] local.INFO: Acknowledgment sent {"connection_id":124073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:26:59] local.INFO: TCP Data received {"connection_id":124851,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:26:59] local.INFO: Processing buffer {"connection_id":124851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:26:59] local.INFO: IMEI packet received {"connection_id":124851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":124851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:27:05] local.INFO: TCP Data received {"connection_id":124851,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:27:05] local.INFO: Processing buffer {"connection_id":124851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:27:05] local.INFO: IMEI packet received {"connection_id":124851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":124851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:27:06] local.INFO: TCP Data received {"connection_id":124851,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:27:06] local.INFO: Processing buffer {"connection_id":124851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:27:06] local.INFO: Packet analysis {"connection_id":124851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0f"} 
[2026-07-07 06:27:06] local.INFO: Extracted packet for processing {"connection_id":124851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0f"} 
[2026-07-07 06:27:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546609664001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:27:06] 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-07-07 06:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783385548000,"timestamp_ms":1783385548000,"timestamp_seconds":1783385548,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0fe4e0"} 
[2026-07-07 06:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546609664001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546609664001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:27:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:27:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546609664001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":124851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:27:06] local.INFO: GPS data processed {"connection_id":124851,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:27:06] local.INFO: Acknowledgment sent {"connection_id":124851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:27:20] local.INFO: TCP Data received {"connection_id":126095,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:27:20] local.INFO: Processing buffer {"connection_id":126095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:27:20] local.INFO: IMEI packet received {"connection_id":126095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 06:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":126095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:27:37] local.INFO: TCP Data received {"connection_id":124851,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:27:37] local.INFO: Processing buffer {"connection_id":124851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:27:37] local.INFO: Packet analysis {"connection_id":124851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0f"} 
[2026-07-07 06:27:37] local.INFO: Extracted packet for processing {"connection_id":124851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0f"} 
[2026-07-07 06:27:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546609664001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:27:37] 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-07-07 06:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783385548000,"timestamp_ms":1783385548000,"timestamp_seconds":1783385548,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0fe4e0"} 
[2026-07-07 06:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546609664001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546609664001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:27:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:27:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546609664001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":124851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:27:37] local.INFO: GPS data processed {"connection_id":124851,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:27:37] local.INFO: Acknowledgment sent {"connection_id":124851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:27:59] local.INFO: TCP Data received {"connection_id":124175,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:27:59] local.INFO: Processing buffer {"connection_id":124175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:27:59] local.INFO: IMEI packet received {"connection_id":124175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":124175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:28:00] local.INFO: TCP Data received {"connection_id":124174,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124174,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:28:00] local.INFO: Processing buffer {"connection_id":124174,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:28:00] local.INFO: IMEI packet received {"connection_id":124174,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 06:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":124174,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:28:05] local.INFO: TCP Data received {"connection_id":124175,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:28:05] local.INFO: Processing buffer {"connection_id":124175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:28:05] local.INFO: IMEI packet received {"connection_id":124175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":124175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:28:06] local.INFO: TCP Data received {"connection_id":124175,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:28:06] local.INFO: Processing buffer {"connection_id":124175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a0fe4e0012d6efe80064499f8000f004628..."} 
[2026-07-07 06:28:06] local.INFO: Packet analysis {"connection_id":124175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a0f"} 
[2026-07-07 06:28:06] local.INFO: Extracted packet for processing {"connection_id":124175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a0f"} 
[2026-07-07 06:28:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546609664001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:28:06] 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-07-07 06:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783385548000,"timestamp_ms":1783385548000,"timestamp_seconds":1783385548,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a0fe4e0"} 
[2026-07-07 06:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546609664001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546609664001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:28:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:28:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546609664001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":124175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:28:06] local.INFO: GPS data processed {"connection_id":124175,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:28:06] local.INFO: Acknowledgment sent {"connection_id":124175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:28:37] local.INFO: TCP Data received {"connection_id":124175,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:28:37] local.INFO: Processing buffer {"connection_id":124175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:28:37] local.INFO: Packet analysis {"connection_id":124175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a14"} 
[2026-07-07 06:28:37] local.INFO: Extracted packet for processing {"connection_id":124175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a14"} 
[2026-07-07 06:28:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546700288001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:28:37] 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-07-07 06:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783385849000,"timestamp_ms":1783385849000,"timestamp_seconds":1783385849,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a147ca8"} 
[2026-07-07 06:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546700288001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546700288001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:28:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:28:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546700288001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":124175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:28:37] local.INFO: GPS data processed {"connection_id":124175,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:28:37] local.INFO: Acknowledgment sent {"connection_id":124175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:29:00] local.INFO: TCP Data received {"connection_id":124852,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:29:00] local.INFO: Processing buffer {"connection_id":124852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:29:00] local.INFO: IMEI packet received {"connection_id":124852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":124852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:29:05] local.INFO: TCP Data received {"connection_id":124852,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:29:05] local.INFO: Processing buffer {"connection_id":124852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:29:05] local.INFO: IMEI packet received {"connection_id":124852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":124852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:29:06] local.INFO: TCP Data received {"connection_id":124852,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:29:06] local.INFO: Processing buffer {"connection_id":124852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:29:06] local.INFO: Packet analysis {"connection_id":124852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a14"} 
[2026-07-07 06:29:06] local.INFO: Extracted packet for processing {"connection_id":124852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a14"} 
[2026-07-07 06:29:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546700288001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:29:06] 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-07-07 06:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783385849000,"timestamp_ms":1783385849000,"timestamp_seconds":1783385849,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a147ca8"} 
[2026-07-07 06:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546700288001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546700288001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:29:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:29:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546700288001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":124852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:29:06] local.INFO: GPS data processed {"connection_id":124852,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:29:06] local.INFO: Acknowledgment sent {"connection_id":124852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:29:37] local.INFO: TCP Data received {"connection_id":124852,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:29:37] local.INFO: Processing buffer {"connection_id":124852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:29:37] local.INFO: Packet analysis {"connection_id":124852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a14"} 
[2026-07-07 06:29:37] local.INFO: Extracted packet for processing {"connection_id":124852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a14"} 
[2026-07-07 06:29:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546700288001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:29:37] 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-07-07 06:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783385849000,"timestamp_ms":1783385849000,"timestamp_seconds":1783385849,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a147ca8"} 
[2026-07-07 06:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546700288001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546700288001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:29:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:29:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546700288001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":124852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:29:37] local.INFO: GPS data processed {"connection_id":124852,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:29:37] local.INFO: Acknowledgment sent {"connection_id":124852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:30:00] local.INFO: TCP Data received {"connection_id":124177,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:30:00] local.INFO: Processing buffer {"connection_id":124177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:30:00] local.INFO: IMEI packet received {"connection_id":124177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":124177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:30:05] local.INFO: TCP Data received {"connection_id":124177,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:30:05] local.INFO: Processing buffer {"connection_id":124177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:30:05] local.INFO: IMEI packet received {"connection_id":124177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":124177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:30:06] local.INFO: TCP Data received {"connection_id":124177,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:30:06] local.INFO: Processing buffer {"connection_id":124177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:30:06] local.INFO: Packet analysis {"connection_id":124177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a14"} 
[2026-07-07 06:30:06] local.INFO: Extracted packet for processing {"connection_id":124177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a14"} 
[2026-07-07 06:30:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546700288001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:30:06] 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-07-07 06:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783385849000,"timestamp_ms":1783385849000,"timestamp_seconds":1783385849,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a147ca8"} 
[2026-07-07 06:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546700288001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546700288001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:30:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:30:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546700288001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":124177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:30:06] local.INFO: GPS data processed {"connection_id":124177,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:30:06] local.INFO: Acknowledgment sent {"connection_id":124177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:30:38] local.INFO: TCP Data received {"connection_id":124177,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:30:38] local.INFO: Processing buffer {"connection_id":124177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:30:38] local.INFO: Packet analysis {"connection_id":124177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a14"} 
[2026-07-07 06:30:38] local.INFO: Extracted packet for processing {"connection_id":124177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a14"} 
[2026-07-07 06:30:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546700288001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:30:38] 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-07-07 06:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783385849000,"timestamp_ms":1783385849000,"timestamp_seconds":1783385849,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a147ca8"} 
[2026-07-07 06:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546700288001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546700288001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:30:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:30:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546700288001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":124177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:30:38] local.INFO: GPS data processed {"connection_id":124177,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:30:38] local.INFO: Acknowledgment sent {"connection_id":124177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:30:59] local.INFO: TCP Data received {"connection_id":124178,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:30:59] local.INFO: Processing buffer {"connection_id":124178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:30:59] local.INFO: IMEI packet received {"connection_id":124178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":124178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:31:05] local.INFO: TCP Data received {"connection_id":124178,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:31:05] local.INFO: Processing buffer {"connection_id":124178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:31:05] local.INFO: IMEI packet received {"connection_id":124178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":124178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:31:51] local.INFO: TCP Data received {"connection_id":124178,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:31:51] local.INFO: Processing buffer {"connection_id":124178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:31:51] local.INFO: Packet analysis {"connection_id":124178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a14"} 
[2026-07-07 06:31:51] local.INFO: Extracted packet for processing {"connection_id":124178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a14"} 
[2026-07-07 06:31:51] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546700288001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:31:51] 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-07-07 06:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783385849000,"timestamp_ms":1783385849000,"timestamp_seconds":1783385849,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a147ca8"} 
[2026-07-07 06:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:31: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-07-07 06:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":124178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":124178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":124178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546700288001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546700288001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:31:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:31:51] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546700288001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":124178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:31:51] local.INFO: GPS data processed {"connection_id":124178,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:31:51] local.INFO: Acknowledgment sent {"connection_id":124178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:31:59] local.INFO: TCP Data received {"connection_id":124853,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:31:59] local.INFO: Processing buffer {"connection_id":124853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:31:59] local.INFO: IMEI packet received {"connection_id":124853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":124853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:32:05] local.INFO: TCP Data received {"connection_id":124853,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:32:05] local.INFO: Processing buffer {"connection_id":124853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:32:05] local.INFO: IMEI packet received {"connection_id":124853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":124853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:32:06] local.INFO: TCP Data received {"connection_id":124853,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:32:06] local.INFO: Processing buffer {"connection_id":124853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:32:06] local.INFO: Packet analysis {"connection_id":124853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a14"} 
[2026-07-07 06:32:06] local.INFO: Extracted packet for processing {"connection_id":124853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a14"} 
[2026-07-07 06:32:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546700288001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:32:06] 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-07-07 06:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783385849000,"timestamp_ms":1783385849000,"timestamp_seconds":1783385849,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a147ca8"} 
[2026-07-07 06:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546700288001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546700288001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:32:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:32:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546700288001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":124853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:32:06] local.INFO: GPS data processed {"connection_id":124853,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:32:06] local.INFO: Acknowledgment sent {"connection_id":124853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:32:42] local.INFO: TCP Data received {"connection_id":124853,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:32:42] local.INFO: Processing buffer {"connection_id":124853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a147ca8012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:32:42] local.INFO: Packet analysis {"connection_id":124853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a14"} 
[2026-07-07 06:32:42] local.INFO: Extracted packet for processing {"connection_id":124853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a14"} 
[2026-07-07 06:32:42] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546700288001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:32:42] 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-07-07 06:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783385849000,"timestamp_ms":1783385849000,"timestamp_seconds":1783385849,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a147ca8"} 
[2026-07-07 06:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:32: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-07-07 06:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546700288001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546700288001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:32:42] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:32:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546700288001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":124853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:32:42] local.INFO: GPS data processed {"connection_id":124853,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:32:42] local.INFO: Acknowledgment sent {"connection_id":124853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:33:07] local.INFO: TCP Data received {"connection_id":124074,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:33:07] local.INFO: Processing buffer {"connection_id":124074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:33:07] local.INFO: IMEI packet received {"connection_id":124074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":124074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:33:08] local.INFO: TCP Data received {"connection_id":124074,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:33:08] local.INFO: Processing buffer {"connection_id":124074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:33:08] local.INFO: IMEI packet received {"connection_id":124074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":124074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:33:09] local.INFO: TCP Data received {"connection_id":124074,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:33:09] local.INFO: Processing buffer {"connection_id":124074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:33:09] local.INFO: Packet analysis {"connection_id":124074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a19"} 
[2026-07-07 06:33:09] local.INFO: Extracted packet for processing {"connection_id":124074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a19"} 
[2026-07-07 06:33:09] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546777344001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:33: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-07-07 06:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783386150000,"timestamp_ms":1783386150000,"timestamp_seconds":1783386150,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a191470"} 
[2026-07-07 06:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 06:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546777344001,"66":25604,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546777344001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:33:09] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:33:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546777344001,"power":25604,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":124074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:33:09] local.INFO: GPS data processed {"connection_id":124074,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:33:09] local.INFO: Acknowledgment sent {"connection_id":124074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:33:10] local.INFO: TCP Data received {"connection_id":124074,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:33:10] local.INFO: Processing buffer {"connection_id":124074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:33:10] local.INFO: Packet analysis {"connection_id":124074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a19"} 
[2026-07-07 06:33:10] local.INFO: Extracted packet for processing {"connection_id":124074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a19"} 
[2026-07-07 06:33:10] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546777344001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:33:10] 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-07-07 06:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783386150000,"timestamp_ms":1783386150000,"timestamp_seconds":1783386150,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a191470"} 
[2026-07-07 06:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 06:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546777344001,"66":25604,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546777344001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:33:10] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:33:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546777344001,"power":25604,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":124074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:33:10] local.INFO: GPS data processed {"connection_id":124074,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:33:10] local.INFO: Acknowledgment sent {"connection_id":124074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:33:30] local.INFO: TCP Data received {"connection_id":126097,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:33:30] local.INFO: Processing buffer {"connection_id":126097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:33:30] local.INFO: IMEI packet received {"connection_id":126097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 06:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":126097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:33:41] local.INFO: TCP Data received {"connection_id":124074,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:33:41] local.INFO: Processing buffer {"connection_id":124074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:33:41] local.INFO: Packet analysis {"connection_id":124074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a19"} 
[2026-07-07 06:33:41] local.INFO: Extracted packet for processing {"connection_id":124074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a19"} 
[2026-07-07 06:33:41] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546777344001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:33:41] 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-07-07 06:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783386150000,"timestamp_ms":1783386150000,"timestamp_seconds":1783386150,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a191470"} 
[2026-07-07 06:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06: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-07-07 06: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-07-07 06:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546777344001,"66":25604,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546777344001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:33:41] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:33:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546777344001,"power":25604,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":124074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:33:41] local.INFO: GPS data processed {"connection_id":124074,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:33:41] local.INFO: Acknowledgment sent {"connection_id":124074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:33:59] local.INFO: TCP Data received {"connection_id":124180,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124180,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:33:59] local.INFO: Processing buffer {"connection_id":124180,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:33:59] local.INFO: IMEI packet received {"connection_id":124180,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 06:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":124180,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:34:00] local.INFO: TCP Data received {"connection_id":124855,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:34:00] local.INFO: Processing buffer {"connection_id":124855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:34:00] local.INFO: IMEI packet received {"connection_id":124855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":124855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:34:05] local.INFO: TCP Data received {"connection_id":124855,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:34:05] local.INFO: Processing buffer {"connection_id":124855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:34:05] local.INFO: IMEI packet received {"connection_id":124855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":124855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:34:15] local.INFO: TCP Data received {"connection_id":124855,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:34:15] local.INFO: Processing buffer {"connection_id":124855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:34:15] local.INFO: Packet analysis {"connection_id":124855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a19"} 
[2026-07-07 06:34:15] local.INFO: Extracted packet for processing {"connection_id":124855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a19"} 
[2026-07-07 06:34:15] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 06:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546777344001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:34:15] 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-07-07 06:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783386150000,"timestamp_ms":1783386150000,"timestamp_seconds":1783386150,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a191470"} 
[2026-07-07 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-07-07 06:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 06:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 06:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546777344001,"66":25604,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546777344001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:34:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:34:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546777344001,"power":25604,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":124855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:34:15] local.INFO: GPS data processed {"connection_id":124855,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:34:15] local.INFO: Acknowledgment sent {"connection_id":124855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:34:59] local.INFO: TCP Data received {"connection_id":124856,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:34:59] local.INFO: Processing buffer {"connection_id":124856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:34:59] local.INFO: IMEI packet received {"connection_id":124856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":124856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:35:05] local.INFO: TCP Data received {"connection_id":124856,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:35:05] local.INFO: Processing buffer {"connection_id":124856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:35:05] local.INFO: IMEI packet received {"connection_id":124856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":124856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:35:06] local.INFO: TCP Data received {"connection_id":124856,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:35:06] local.INFO: Processing buffer {"connection_id":124856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:35:06] local.INFO: Packet analysis {"connection_id":124856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a19"} 
[2026-07-07 06:35:06] local.INFO: Extracted packet for processing {"connection_id":124856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a19"} 
[2026-07-07 06:35:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546777344001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:35:06] 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-07-07 06:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783386150000,"timestamp_ms":1783386150000,"timestamp_seconds":1783386150,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a191470"} 
[2026-07-07 06:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 06:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546777344001,"66":25604,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546777344001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:35:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:35:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546777344001,"power":25604,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":124856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:35:06] local.INFO: GPS data processed {"connection_id":124856,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:35:06] local.INFO: Acknowledgment sent {"connection_id":124856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:35:37] local.INFO: TCP Data received {"connection_id":124856,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:35:37] local.INFO: Processing buffer {"connection_id":124856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:35:37] local.INFO: Packet analysis {"connection_id":124856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a19"} 
[2026-07-07 06:35:37] local.INFO: Extracted packet for processing {"connection_id":124856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a19"} 
[2026-07-07 06:35:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546777344001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:35:37] 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-07-07 06:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783386150000,"timestamp_ms":1783386150000,"timestamp_seconds":1783386150,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a191470"} 
[2026-07-07 06:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 06:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546777344001,"66":25604,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546777344001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:35:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:35:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546777344001,"power":25604,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":124856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:35:37] local.INFO: GPS data processed {"connection_id":124856,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:35:37] local.INFO: Acknowledgment sent {"connection_id":124856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:35:59] local.INFO: TCP Data received {"connection_id":124182,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:35:59] local.INFO: Processing buffer {"connection_id":124182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:35:59] local.INFO: IMEI packet received {"connection_id":124182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":124182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:36:05] local.INFO: TCP Data received {"connection_id":124182,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:36:05] local.INFO: Processing buffer {"connection_id":124182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:36:05] local.INFO: IMEI packet received {"connection_id":124182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":124182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:36:06] local.INFO: TCP Data received {"connection_id":124182,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:36:06] local.INFO: Processing buffer {"connection_id":124182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:36:06] local.INFO: Packet analysis {"connection_id":124182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a19"} 
[2026-07-07 06:36:06] local.INFO: Extracted packet for processing {"connection_id":124182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a19"} 
[2026-07-07 06:36:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546777344001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:36:06] 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-07-07 06:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783386150000,"timestamp_ms":1783386150000,"timestamp_seconds":1783386150,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a191470"} 
[2026-07-07 06:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 06:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546777344001,"66":25604,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546777344001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:36:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:36:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546777344001,"power":25604,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":124182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:36:06] local.INFO: GPS data processed {"connection_id":124182,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:36:06] local.INFO: Acknowledgment sent {"connection_id":124182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:36:37] local.INFO: TCP Data received {"connection_id":124182,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:36:37] local.INFO: Processing buffer {"connection_id":124182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:36:37] local.INFO: Packet analysis {"connection_id":124182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a19"} 
[2026-07-07 06:36:37] local.INFO: Extracted packet for processing {"connection_id":124182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a19"} 
[2026-07-07 06:36:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546777344001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:36:37] 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-07-07 06:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783386150000,"timestamp_ms":1783386150000,"timestamp_seconds":1783386150,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a191470"} 
[2026-07-07 06:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 06:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546777344001,"66":25604,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546777344001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:36:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:36:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546777344001,"power":25604,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":124182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:36:37] local.INFO: GPS data processed {"connection_id":124182,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:36:37] local.INFO: Acknowledgment sent {"connection_id":124182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:36:59] local.INFO: TCP Data received {"connection_id":124184,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:36:59] local.INFO: Processing buffer {"connection_id":124184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:36:59] local.INFO: IMEI packet received {"connection_id":124184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":124184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:37:05] local.INFO: TCP Data received {"connection_id":124184,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:37:05] local.INFO: Processing buffer {"connection_id":124184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:37:05] local.INFO: IMEI packet received {"connection_id":124184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":124184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:37:06] local.INFO: TCP Data received {"connection_id":124184,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:37:06] local.INFO: Processing buffer {"connection_id":124184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:37:06] local.INFO: Packet analysis {"connection_id":124184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a19"} 
[2026-07-07 06:37:06] local.INFO: Extracted packet for processing {"connection_id":124184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a19"} 
[2026-07-07 06:37:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546777344001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:37:06] 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-07-07 06:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783386150000,"timestamp_ms":1783386150000,"timestamp_seconds":1783386150,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a191470"} 
[2026-07-07 06:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 06:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06: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-07-07 06:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546777344001,"66":25604,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546777344001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:37:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:37:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546777344001,"power":25604,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":124184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:37:06] local.INFO: GPS data processed {"connection_id":124184,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:37:06] local.INFO: Acknowledgment sent {"connection_id":124184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:37:37] local.INFO: TCP Data received {"connection_id":124184,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:37:37] local.INFO: Processing buffer {"connection_id":124184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a191470012d6efe80064499f8000f004629..."} 
[2026-07-07 06:37:37] local.INFO: Packet analysis {"connection_id":124184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a19"} 
[2026-07-07 06:37:37] local.INFO: Extracted packet for processing {"connection_id":124184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a19"} 
[2026-07-07 06:37:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546777344001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:37:37] 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-07-07 06:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783386150000,"timestamp_ms":1783386150000,"timestamp_seconds":1783386150,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a191470"} 
[2026-07-07 06:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 06:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546777344001,"66":25604,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546777344001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:37:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:37:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546777344001,"power":25604,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":124184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:37:38] local.INFO: GPS data processed {"connection_id":124184,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:37:38] local.INFO: Acknowledgment sent {"connection_id":124184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:38:05] local.INFO: TCP Data received {"connection_id":124185,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:38:05] local.INFO: Processing buffer {"connection_id":124185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:38:05] local.INFO: IMEI packet received {"connection_id":124185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":124185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:38:09] local.INFO: TCP Data received {"connection_id":124185,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:38:09] local.INFO: Processing buffer {"connection_id":124185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:38:09] local.INFO: IMEI packet received {"connection_id":124185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":124185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:38:10] local.INFO: TCP Data received {"connection_id":124185,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:38:10] local.INFO: Processing buffer {"connection_id":124185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:38:10] local.INFO: Packet analysis {"connection_id":124185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:38:10] local.INFO: Extracted packet for processing {"connection_id":124185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:38:10] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546854400001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:38:10] 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-07-07 06:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783386451000,"timestamp_ms":1783386451000,"timestamp_seconds":1783386451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a1dac38"} 
[2026-07-07 06:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 06:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546854400001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546854400001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:38:10] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:38:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546854400001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":124185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:38:10] local.INFO: GPS data processed {"connection_id":124185,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:38:10] local.INFO: Acknowledgment sent {"connection_id":124185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:38:11] local.INFO: TCP Data received {"connection_id":124185,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:38:11] local.INFO: Processing buffer {"connection_id":124185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:38:11] local.INFO: Packet analysis {"connection_id":124185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:38:11] local.INFO: Extracted packet for processing {"connection_id":124185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:38:11] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546854400001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:38:11] 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-07-07 06:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783386451000,"timestamp_ms":1783386451000,"timestamp_seconds":1783386451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a1dac38"} 
[2026-07-07 06:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 06:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546854400001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546854400001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:38:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:38:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546854400001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":124185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:38:11] local.INFO: GPS data processed {"connection_id":124185,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:38:11] local.INFO: Acknowledgment sent {"connection_id":124185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:38:43] local.INFO: TCP Data received {"connection_id":124185,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:38:43] local.INFO: Processing buffer {"connection_id":124185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:38:43] local.INFO: Packet analysis {"connection_id":124185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:38:43] local.INFO: Extracted packet for processing {"connection_id":124185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:38:43] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 06:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546854400001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:38:43] 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-07-07 06:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783386451000,"timestamp_ms":1783386451000,"timestamp_seconds":1783386451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a1dac38"} 
[2026-07-07 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-07-07 06:38: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-07-07 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 06:38: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-07-07 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-07-07 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-07-07 06:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546854400001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546854400001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:38:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:38:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546854400001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":124185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:38:43] local.INFO: GPS data processed {"connection_id":124185,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:38:43] local.INFO: Acknowledgment sent {"connection_id":124185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:38:59] local.INFO: TCP Data received {"connection_id":126100,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:38:59] local.INFO: Processing buffer {"connection_id":126100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:38:59] local.INFO: IMEI packet received {"connection_id":126100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":126100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:39:05] local.INFO: TCP Data received {"connection_id":126100,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:39:05] local.INFO: Processing buffer {"connection_id":126100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:39:05] local.INFO: IMEI packet received {"connection_id":126100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":126100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:39:06] local.INFO: TCP Data received {"connection_id":126100,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:39:06] local.INFO: Processing buffer {"connection_id":126100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:39:06] local.INFO: Packet analysis {"connection_id":126100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:39:06] local.INFO: Extracted packet for processing {"connection_id":126100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:39:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546854400001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:39:06] 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-07-07 06:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783386451000,"timestamp_ms":1783386451000,"timestamp_seconds":1783386451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a1dac38"} 
[2026-07-07 06:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 06:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546854400001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546854400001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:39:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:39:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546854400001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":126100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:39:06] local.INFO: GPS data processed {"connection_id":126100,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:39:06] local.INFO: Acknowledgment sent {"connection_id":126100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:39:15] local.INFO: TCP Data received {"connection_id":124857,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:39:15] local.INFO: Processing buffer {"connection_id":124857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:39:15] local.INFO: IMEI packet received {"connection_id":124857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 06:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":124857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:39:37] local.INFO: TCP Data received {"connection_id":126100,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:39:37] local.INFO: Processing buffer {"connection_id":126100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:39:37] local.INFO: Packet analysis {"connection_id":126100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:39:37] local.INFO: Extracted packet for processing {"connection_id":126100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:39:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546854400001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:39:37] 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-07-07 06:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783386451000,"timestamp_ms":1783386451000,"timestamp_seconds":1783386451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a1dac38"} 
[2026-07-07 06:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 06:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546854400001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546854400001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:39:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:39:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546854400001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":126100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:39:37] local.INFO: GPS data processed {"connection_id":126100,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:39:37] local.INFO: Acknowledgment sent {"connection_id":126100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:39:59] local.INFO: TCP Data received {"connection_id":124858,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:39:59] local.INFO: Processing buffer {"connection_id":124858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:39:59] local.INFO: IMEI packet received {"connection_id":124858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 06:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":124858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:40:00] local.INFO: TCP Data received {"connection_id":126101,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:40:00] local.INFO: Processing buffer {"connection_id":126101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:40:00] local.INFO: IMEI packet received {"connection_id":126101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":126101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:40:05] local.INFO: TCP Data received {"connection_id":126101,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:40:05] local.INFO: Processing buffer {"connection_id":126101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:40:05] local.INFO: IMEI packet received {"connection_id":126101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":126101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:40:06] local.INFO: TCP Data received {"connection_id":126101,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:40:06] local.INFO: Processing buffer {"connection_id":126101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:40:06] local.INFO: Packet analysis {"connection_id":126101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:40:06] local.INFO: Extracted packet for processing {"connection_id":126101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:40:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546854400001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:40:06] 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-07-07 06:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783386451000,"timestamp_ms":1783386451000,"timestamp_seconds":1783386451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a1dac38"} 
[2026-07-07 06:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 06:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546854400001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546854400001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:40:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:40:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546854400001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":126101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:40:06] local.INFO: GPS data processed {"connection_id":126101,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:40:06] local.INFO: Acknowledgment sent {"connection_id":126101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:40:37] local.INFO: TCP Data received {"connection_id":126101,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:40:37] local.INFO: Processing buffer {"connection_id":126101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:40:37] local.INFO: Packet analysis {"connection_id":126101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:40:37] local.INFO: Extracted packet for processing {"connection_id":126101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:40:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546854400001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:40:37] 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-07-07 06:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783386451000,"timestamp_ms":1783386451000,"timestamp_seconds":1783386451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a1dac38"} 
[2026-07-07 06:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 06:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546854400001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546854400001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:40:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:40:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546854400001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":126101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:40:37] local.INFO: GPS data processed {"connection_id":126101,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:40:37] local.INFO: Acknowledgment sent {"connection_id":126101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:40:59] local.INFO: TCP Data received {"connection_id":124186,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:40:59] local.INFO: Processing buffer {"connection_id":124186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:40:59] local.INFO: IMEI packet received {"connection_id":124186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":124186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:41:05] local.INFO: TCP Data received {"connection_id":124186,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:41:05] local.INFO: Processing buffer {"connection_id":124186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:41:05] local.INFO: IMEI packet received {"connection_id":124186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":124186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:41:06] local.INFO: TCP Data received {"connection_id":124186,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:41:06] local.INFO: Processing buffer {"connection_id":124186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:41:06] local.INFO: Packet analysis {"connection_id":124186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:41:06] local.INFO: Extracted packet for processing {"connection_id":124186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:41:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546854400001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:41:06] 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-07-07 06:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783386451000,"timestamp_ms":1783386451000,"timestamp_seconds":1783386451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a1dac38"} 
[2026-07-07 06:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 06:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546854400001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546854400001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:41:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:41:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546854400001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":124186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:41:06] local.INFO: GPS data processed {"connection_id":124186,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:41:06] local.INFO: Acknowledgment sent {"connection_id":124186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:41:38] local.INFO: TCP Data received {"connection_id":124186,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:41:38] local.INFO: Processing buffer {"connection_id":124186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:41:38] local.INFO: Packet analysis {"connection_id":124186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:41:38] local.INFO: Extracted packet for processing {"connection_id":124186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:41:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546854400001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:41:38] 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-07-07 06:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783386451000,"timestamp_ms":1783386451000,"timestamp_seconds":1783386451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a1dac38"} 
[2026-07-07 06:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 06:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546854400001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546854400001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:41:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:41:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546854400001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":124186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:41:38] local.INFO: GPS data processed {"connection_id":124186,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:41:38] local.INFO: Acknowledgment sent {"connection_id":124186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:42:05] local.INFO: TCP Data received {"connection_id":124187,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:42:05] local.INFO: Processing buffer {"connection_id":124187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:42:05] local.INFO: IMEI packet received {"connection_id":124187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":124187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:42:10] local.INFO: TCP Data received {"connection_id":124187,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:42:10] local.INFO: Processing buffer {"connection_id":124187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:42:10] local.INFO: IMEI packet received {"connection_id":124187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":124187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:42:11] local.INFO: TCP Data received {"connection_id":124187,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:42:11] local.INFO: Processing buffer {"connection_id":124187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:42:11] local.INFO: Packet analysis {"connection_id":124187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:42:11] local.INFO: Extracted packet for processing {"connection_id":124187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:42:11] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546854400001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:42:11] 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-07-07 06:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783386451000,"timestamp_ms":1783386451000,"timestamp_seconds":1783386451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a1dac38"} 
[2026-07-07 06:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 06:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546854400001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546854400001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:42:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:42:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546854400001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":124187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:42:11] local.INFO: GPS data processed {"connection_id":124187,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:42:11] local.INFO: Acknowledgment sent {"connection_id":124187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:42:15] local.INFO: TCP Data received {"connection_id":124187,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:42:15] local.INFO: Processing buffer {"connection_id":124187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:42:15] local.INFO: Packet analysis {"connection_id":124187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:42:15] local.INFO: Extracted packet for processing {"connection_id":124187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:42:15] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546854400001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:42:15] 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-07-07 06:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783386451000,"timestamp_ms":1783386451000,"timestamp_seconds":1783386451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a1dac38"} 
[2026-07-07 06:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 06:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546854400001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546854400001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:42:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:42:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546854400001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":124187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:42:15] local.INFO: GPS data processed {"connection_id":124187,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:42:15] local.INFO: Acknowledgment sent {"connection_id":124187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:43:00] local.INFO: TCP Data received {"connection_id":124189,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:43:00] local.INFO: Processing buffer {"connection_id":124189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:43:00] local.INFO: IMEI packet received {"connection_id":124189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":124189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:43:05] local.INFO: TCP Data received {"connection_id":124189,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:43:05] local.INFO: Processing buffer {"connection_id":124189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:43:05] local.INFO: IMEI packet received {"connection_id":124189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":124189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:43:06] local.INFO: TCP Data received {"connection_id":124189,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:43:06] local.INFO: Processing buffer {"connection_id":124189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a1dac38012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:43:06] local.INFO: Packet analysis {"connection_id":124189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:43:06] local.INFO: Extracted packet for processing {"connection_id":124189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a1d"} 
[2026-07-07 06:43:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546854400001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:43:06] 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-07-07 06:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783386451000,"timestamp_ms":1783386451000,"timestamp_seconds":1783386451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a1dac38"} 
[2026-07-07 06:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 06:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546854400001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546854400001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:43:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:43:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546854400001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":124189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:43:06] local.INFO: GPS data processed {"connection_id":124189,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:43:06] local.INFO: Acknowledgment sent {"connection_id":124189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:43:37] local.INFO: TCP Data received {"connection_id":124189,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:43:37] local.INFO: Processing buffer {"connection_id":124189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:43:37] local.INFO: Packet analysis {"connection_id":124189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:43:37] local.INFO: Extracted packet for processing {"connection_id":124189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:43:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546931456001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:43:37] 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-07-07 06:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783386752000,"timestamp_ms":1783386752000,"timestamp_seconds":1783386752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a224400"} 
[2026-07-07 06:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546931456001,"66":25593,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546931456001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:43:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:43:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546931456001,"power":25593,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":124189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:43:37] local.INFO: GPS data processed {"connection_id":124189,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:43:37] local.INFO: Acknowledgment sent {"connection_id":124189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:44:07] local.INFO: TCP Data received {"connection_id":126103,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:44:07] local.INFO: Processing buffer {"connection_id":126103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:44:07] local.INFO: IMEI packet received {"connection_id":126103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":126103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:44:08] local.INFO: TCP Data received {"connection_id":126103,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:44:08] local.INFO: Processing buffer {"connection_id":126103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:44:08] local.INFO: IMEI packet received {"connection_id":126103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":126103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:44:09] local.INFO: TCP Data received {"connection_id":126103,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:44:09] local.INFO: Processing buffer {"connection_id":126103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:44:09] local.INFO: Packet analysis {"connection_id":126103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:44:09] local.INFO: Extracted packet for processing {"connection_id":126103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:44:09] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546931456001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:44: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-07-07 06:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783386752000,"timestamp_ms":1783386752000,"timestamp_seconds":1783386752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a224400"} 
[2026-07-07 06:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546931456001,"66":25593,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546931456001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:44:09] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:44:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546931456001,"power":25593,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":126103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:44:09] local.INFO: GPS data processed {"connection_id":126103,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:44:09] local.INFO: Acknowledgment sent {"connection_id":126103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:44:10] local.INFO: TCP Data received {"connection_id":126103,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:44:10] local.INFO: Processing buffer {"connection_id":126103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:44:10] local.INFO: Packet analysis {"connection_id":126103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:44:10] local.INFO: Extracted packet for processing {"connection_id":126103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:44:10] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546931456001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:44:10] 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-07-07 06:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783386752000,"timestamp_ms":1783386752000,"timestamp_seconds":1783386752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a224400"} 
[2026-07-07 06:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06: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":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546931456001,"66":25593,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546931456001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:44:10] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:44:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546931456001,"power":25593,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":126103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:44:10] local.INFO: GPS data processed {"connection_id":126103,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:44:10] local.INFO: Acknowledgment sent {"connection_id":126103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:44:42] local.INFO: TCP Data received {"connection_id":126103,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:44:42] local.INFO: Processing buffer {"connection_id":126103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:44:42] local.INFO: Packet analysis {"connection_id":126103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:44:42] local.INFO: Extracted packet for processing {"connection_id":126103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:44:42] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546931456001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:44:42] 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-07-07 06:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783386752000,"timestamp_ms":1783386752000,"timestamp_seconds":1783386752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a224400"} 
[2026-07-07 06:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:44: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-07-07 06:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546931456001,"66":25593,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546931456001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:44:42] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:44:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546931456001,"power":25593,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":126103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:44:42] local.INFO: GPS data processed {"connection_id":126103,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:44:42] local.INFO: Acknowledgment sent {"connection_id":126103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:44:59] local.INFO: TCP Data received {"connection_id":126104,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:44:59] local.INFO: Processing buffer {"connection_id":126104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:44:59] local.INFO: IMEI packet received {"connection_id":126104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":126104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:45:05] local.INFO: TCP Data received {"connection_id":126104,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:45:05] local.INFO: Processing buffer {"connection_id":126104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:45:05] local.INFO: IMEI packet received {"connection_id":126104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":126104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:45:06] local.INFO: TCP Data received {"connection_id":126104,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:45:06] local.INFO: Processing buffer {"connection_id":126104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:45:06] local.INFO: Packet analysis {"connection_id":126104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:45:06] local.INFO: Extracted packet for processing {"connection_id":126104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:45:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546931456001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:45:06] 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-07-07 06:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783386752000,"timestamp_ms":1783386752000,"timestamp_seconds":1783386752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a224400"} 
[2026-07-07 06:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546931456001,"66":25593,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546931456001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:45:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:45:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546931456001,"power":25593,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":126104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:45:06] local.INFO: GPS data processed {"connection_id":126104,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:45:06] local.INFO: Acknowledgment sent {"connection_id":126104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:45:30] local.INFO: TCP Data received {"connection_id":124859,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:45:30] local.INFO: Processing buffer {"connection_id":124859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:45:30] local.INFO: IMEI packet received {"connection_id":124859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 06:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":124859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:45:37] local.INFO: TCP Data received {"connection_id":126104,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:45:37] local.INFO: Processing buffer {"connection_id":126104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:45:37] local.INFO: Packet analysis {"connection_id":126104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:45:37] local.INFO: Extracted packet for processing {"connection_id":126104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:45:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546931456001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:45:37] 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-07-07 06:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783386752000,"timestamp_ms":1783386752000,"timestamp_seconds":1783386752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a224400"} 
[2026-07-07 06:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546931456001,"66":25593,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546931456001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:45:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:45:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546931456001,"power":25593,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":126104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:45:37] local.INFO: GPS data processed {"connection_id":126104,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:45:37] local.INFO: Acknowledgment sent {"connection_id":126104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:45:59] local.INFO: TCP Data received {"connection_id":124078,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:45:59] local.INFO: Processing buffer {"connection_id":124078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:45:59] local.INFO: IMEI packet received {"connection_id":124078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 06:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":124078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:46:05] local.INFO: TCP Data received {"connection_id":124190,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:46:05] local.INFO: Processing buffer {"connection_id":124190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:46:05] local.INFO: IMEI packet received {"connection_id":124190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":124190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:46:10] local.INFO: TCP Data received {"connection_id":124190,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:46:10] local.INFO: Processing buffer {"connection_id":124190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:46:10] local.INFO: IMEI packet received {"connection_id":124190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":124190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:46:11] local.INFO: TCP Data received {"connection_id":124190,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:46:11] local.INFO: Processing buffer {"connection_id":124190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:46:11] local.INFO: Packet analysis {"connection_id":124190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:46:11] local.INFO: Extracted packet for processing {"connection_id":124190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:46:11] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546931456001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:46:11] 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-07-07 06:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783386752000,"timestamp_ms":1783386752000,"timestamp_seconds":1783386752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a224400"} 
[2026-07-07 06:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:46: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-07-07 06:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:46: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-07-07 06:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546931456001,"66":25593,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546931456001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:46:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:46:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546931456001,"power":25593,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":124190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:46:11] local.INFO: GPS data processed {"connection_id":124190,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:46:11] local.INFO: Acknowledgment sent {"connection_id":124190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:46:15] local.INFO: TCP Data received {"connection_id":124190,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:46:15] local.INFO: Processing buffer {"connection_id":124190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:46:15] local.INFO: Packet analysis {"connection_id":124190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:46:15] local.INFO: Extracted packet for processing {"connection_id":124190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:46:15] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546931456001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:46:15] 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-07-07 06:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783386752000,"timestamp_ms":1783386752000,"timestamp_seconds":1783386752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a224400"} 
[2026-07-07 06:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546931456001,"66":25593,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546931456001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:46:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:46:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546931456001,"power":25593,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":124190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:46:15] local.INFO: GPS data processed {"connection_id":124190,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:46:15] local.INFO: Acknowledgment sent {"connection_id":124190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:47:00] local.INFO: TCP Data received {"connection_id":124191,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:47:00] local.INFO: Processing buffer {"connection_id":124191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:47:00] local.INFO: IMEI packet received {"connection_id":124191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":124191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:47:05] local.INFO: TCP Data received {"connection_id":124191,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:47:05] local.INFO: Processing buffer {"connection_id":124191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:47:05] local.INFO: IMEI packet received {"connection_id":124191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":124191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:47:06] local.INFO: TCP Data received {"connection_id":124191,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:47:06] local.INFO: Processing buffer {"connection_id":124191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:47:06] local.INFO: Packet analysis {"connection_id":124191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:47:06] local.INFO: Extracted packet for processing {"connection_id":124191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:47:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546931456001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:47:06] 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-07-07 06:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783386752000,"timestamp_ms":1783386752000,"timestamp_seconds":1783386752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a224400"} 
[2026-07-07 06:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546931456001,"66":25593,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546931456001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:47:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:47:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546931456001,"power":25593,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":124191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:47:06] local.INFO: GPS data processed {"connection_id":124191,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:47:06] local.INFO: Acknowledgment sent {"connection_id":124191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:47:37] local.INFO: TCP Data received {"connection_id":124191,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:47:37] local.INFO: Processing buffer {"connection_id":124191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:47:37] local.INFO: Packet analysis {"connection_id":124191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:47:37] local.INFO: Extracted packet for processing {"connection_id":124191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:47:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546931456001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:47:37] 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-07-07 06:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783386752000,"timestamp_ms":1783386752000,"timestamp_seconds":1783386752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a224400"} 
[2026-07-07 06:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546931456001,"66":25593,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546931456001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:47:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:47:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546931456001,"power":25593,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":124191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:47:37] local.INFO: GPS data processed {"connection_id":124191,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:47:37] local.INFO: Acknowledgment sent {"connection_id":124191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:48:00] local.INFO: TCP Data received {"connection_id":124080,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:48:00] local.INFO: Processing buffer {"connection_id":124080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:48:00] local.INFO: IMEI packet received {"connection_id":124080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":124080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:48:05] local.INFO: TCP Data received {"connection_id":124080,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:48:05] local.INFO: Processing buffer {"connection_id":124080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:48:05] local.INFO: IMEI packet received {"connection_id":124080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":124080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:48:06] local.INFO: TCP Data received {"connection_id":124080,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:48:06] local.INFO: Processing buffer {"connection_id":124080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a224400012d6efe80064499f8000f004627..."} 
[2026-07-07 06:48:06] local.INFO: Packet analysis {"connection_id":124080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:48:06] local.INFO: Extracted packet for processing {"connection_id":124080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a22"} 
[2026-07-07 06:48:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456546931456001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:48:06] 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-07-07 06:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783386752000,"timestamp_ms":1783386752000,"timestamp_seconds":1783386752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a224400"} 
[2026-07-07 06:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456546931456001,"66":25593,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456546931456001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:48:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:48:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456546931456001,"power":25593,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":124080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:48:06] local.INFO: GPS data processed {"connection_id":124080,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:48:06] local.INFO: Acknowledgment sent {"connection_id":124080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:48:37] local.INFO: TCP Data received {"connection_id":124080,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:48:37] local.INFO: Processing buffer {"connection_id":124080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:48:37] local.INFO: Packet analysis {"connection_id":124080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a26"} 
[2026-07-07 06:48:37] local.INFO: Extracted packet for processing {"connection_id":124080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a26"} 
[2026-07-07 06:48:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547008512001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:48:37] 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-07-07 06:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783387053000,"timestamp_ms":1783387053000,"timestamp_seconds":1783387053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a26dbc8"} 
[2026-07-07 06:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-07 06:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547008512001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547008512001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:48:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:48:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547008512001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":124080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:48:37] local.INFO: GPS data processed {"connection_id":124080,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:48:37] local.INFO: Acknowledgment sent {"connection_id":124080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:48:59] local.INFO: TCP Data received {"connection_id":124081,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:48:59] local.INFO: Processing buffer {"connection_id":124081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:48:59] local.INFO: IMEI packet received {"connection_id":124081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":124081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:49:05] local.INFO: TCP Data received {"connection_id":124081,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:49:05] local.INFO: Processing buffer {"connection_id":124081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:49:05] local.INFO: IMEI packet received {"connection_id":124081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":124081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:49:06] local.INFO: TCP Data received {"connection_id":124081,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:49:06] local.INFO: Processing buffer {"connection_id":124081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:49:06] local.INFO: Packet analysis {"connection_id":124081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a26"} 
[2026-07-07 06:49:06] local.INFO: Extracted packet for processing {"connection_id":124081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a26"} 
[2026-07-07 06:49:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547008512001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:49:06] 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-07-07 06:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783387053000,"timestamp_ms":1783387053000,"timestamp_seconds":1783387053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a26dbc8"} 
[2026-07-07 06:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-07 06:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547008512001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547008512001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:49:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:49:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547008512001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":124081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:49:06] local.INFO: GPS data processed {"connection_id":124081,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:49:06] local.INFO: Acknowledgment sent {"connection_id":124081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:49:37] local.INFO: TCP Data received {"connection_id":124081,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:49:37] local.INFO: Processing buffer {"connection_id":124081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:49:37] local.INFO: Packet analysis {"connection_id":124081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a26"} 
[2026-07-07 06:49:37] local.INFO: Extracted packet for processing {"connection_id":124081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a26"} 
[2026-07-07 06:49:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547008512001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:49:37] 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-07-07 06:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783387053000,"timestamp_ms":1783387053000,"timestamp_seconds":1783387053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a26dbc8"} 
[2026-07-07 06:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-07 06:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547008512001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547008512001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:49:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:49:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547008512001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":124081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:49:37] local.INFO: GPS data processed {"connection_id":124081,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:49:37] local.INFO: Acknowledgment sent {"connection_id":124081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:50:05] local.INFO: TCP Data received {"connection_id":126105,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:50:05] local.INFO: Processing buffer {"connection_id":126105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:50:05] local.INFO: IMEI packet received {"connection_id":126105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":126105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:50:10] local.INFO: TCP Data received {"connection_id":126105,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:50:10] local.INFO: Processing buffer {"connection_id":126105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:50:10] local.INFO: IMEI packet received {"connection_id":126105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":126105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:50:11] local.INFO: TCP Data received {"connection_id":126105,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:50:11] local.INFO: Processing buffer {"connection_id":126105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:50:11] local.INFO: Packet analysis {"connection_id":126105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a26"} 
[2026-07-07 06:50:11] local.INFO: Extracted packet for processing {"connection_id":126105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a26"} 
[2026-07-07 06:50:11] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547008512001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:50:11] 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-07-07 06:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783387053000,"timestamp_ms":1783387053000,"timestamp_seconds":1783387053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a26dbc8"} 
[2026-07-07 06:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-07 06:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547008512001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547008512001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:50:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:50:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547008512001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":126105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:50:11] local.INFO: GPS data processed {"connection_id":126105,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:50:11] local.INFO: Acknowledgment sent {"connection_id":126105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:50:15] local.INFO: TCP Data received {"connection_id":126105,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:50:15] local.INFO: Processing buffer {"connection_id":126105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:50:15] local.INFO: Packet analysis {"connection_id":126105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a26"} 
[2026-07-07 06:50:15] local.INFO: Extracted packet for processing {"connection_id":126105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a26"} 
[2026-07-07 06:50:15] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547008512001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:50:15] 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-07-07 06:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783387053000,"timestamp_ms":1783387053000,"timestamp_seconds":1783387053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a26dbc8"} 
[2026-07-07 06:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-07 06:50:15] 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-07-07 06:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547008512001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547008512001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:50:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:50:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547008512001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":126105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:50:15] local.INFO: GPS data processed {"connection_id":126105,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:50:15] local.INFO: Acknowledgment sent {"connection_id":126105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:51:00] local.INFO: TCP Data received {"connection_id":124193,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:51:00] local.INFO: Processing buffer {"connection_id":124193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:51:00] local.INFO: IMEI packet received {"connection_id":124193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":124193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:51:05] local.INFO: TCP Data received {"connection_id":124193,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:51:05] local.INFO: Processing buffer {"connection_id":124193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:51:05] local.INFO: IMEI packet received {"connection_id":124193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":124193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:51:06] local.INFO: TCP Data received {"connection_id":124193,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:51:06] local.INFO: Processing buffer {"connection_id":124193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:51:06] local.INFO: Packet analysis {"connection_id":124193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a26"} 
[2026-07-07 06:51:06] local.INFO: Extracted packet for processing {"connection_id":124193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a26"} 
[2026-07-07 06:51:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547008512001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:51:06] 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-07-07 06:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783387053000,"timestamp_ms":1783387053000,"timestamp_seconds":1783387053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a26dbc8"} 
[2026-07-07 06:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-07 06:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547008512001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547008512001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:51:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:51:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547008512001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":124193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:51:06] local.INFO: GPS data processed {"connection_id":124193,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:51:06] local.INFO: Acknowledgment sent {"connection_id":124193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:51:34] local.INFO: TCP Data received {"connection_id":124861,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:51:34] local.INFO: Processing buffer {"connection_id":124861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:51:34] local.INFO: IMEI packet received {"connection_id":124861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 06:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":124861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:51:37] local.INFO: TCP Data received {"connection_id":124193,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:51:37] local.INFO: Processing buffer {"connection_id":124193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:51:37] local.INFO: Packet analysis {"connection_id":124193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a26"} 
[2026-07-07 06:51:37] local.INFO: Extracted packet for processing {"connection_id":124193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a26"} 
[2026-07-07 06:51:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547008512001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:51:37] 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-07-07 06:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783387053000,"timestamp_ms":1783387053000,"timestamp_seconds":1783387053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a26dbc8"} 
[2026-07-07 06:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-07 06:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547008512001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547008512001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:51:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:51:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547008512001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":124193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:51:37] local.INFO: GPS data processed {"connection_id":124193,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:51:37] local.INFO: Acknowledgment sent {"connection_id":124193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:52:00] local.INFO: TCP Data received {"connection_id":124082,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:52:00] local.INFO: Processing buffer {"connection_id":124082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:52:00] local.INFO: IMEI packet received {"connection_id":124082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":124082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:52:03] local.INFO: TCP Data received {"connection_id":124083,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:52:03] local.INFO: Processing buffer {"connection_id":124083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:52:03] local.INFO: IMEI packet received {"connection_id":124083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 06:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":124083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:52:05] local.INFO: TCP Data received {"connection_id":124082,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:52:05] local.INFO: Processing buffer {"connection_id":124082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:52:05] local.INFO: IMEI packet received {"connection_id":124082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":124082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:52:06] local.INFO: TCP Data received {"connection_id":124082,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:52:06] local.INFO: Processing buffer {"connection_id":124082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:52:06] local.INFO: Packet analysis {"connection_id":124082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a26"} 
[2026-07-07 06:52:06] local.INFO: Extracted packet for processing {"connection_id":124082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a26"} 
[2026-07-07 06:52:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547008512001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:52:06] 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-07-07 06:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783387053000,"timestamp_ms":1783387053000,"timestamp_seconds":1783387053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a26dbc8"} 
[2026-07-07 06:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-07 06:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547008512001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547008512001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:52:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:52:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547008512001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":124082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:52:06] local.INFO: GPS data processed {"connection_id":124082,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:52:06] local.INFO: Acknowledgment sent {"connection_id":124082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:52:37] local.INFO: TCP Data received {"connection_id":124082,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:52:37] local.INFO: Processing buffer {"connection_id":124082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:52:37] local.INFO: Packet analysis {"connection_id":124082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a26"} 
[2026-07-07 06:52:37] local.INFO: Extracted packet for processing {"connection_id":124082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a26"} 
[2026-07-07 06:52:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547008512001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:52:37] 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-07-07 06:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783387053000,"timestamp_ms":1783387053000,"timestamp_seconds":1783387053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a26dbc8"} 
[2026-07-07 06:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-07 06:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547008512001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547008512001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:52:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:52:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547008512001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":124082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:52:37] local.INFO: GPS data processed {"connection_id":124082,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:52:37] local.INFO: Acknowledgment sent {"connection_id":124082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:53:00] local.INFO: TCP Data received {"connection_id":124084,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:53:00] local.INFO: Processing buffer {"connection_id":124084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:53:00] local.INFO: IMEI packet received {"connection_id":124084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":124084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:53:05] local.INFO: TCP Data received {"connection_id":124084,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:53:05] local.INFO: Processing buffer {"connection_id":124084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:53:05] local.INFO: IMEI packet received {"connection_id":124084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":124084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:53:06] local.INFO: TCP Data received {"connection_id":124084,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:53:06] local.INFO: Processing buffer {"connection_id":124084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a26dbc8012d6efe80064499f8000f00462a..."} 
[2026-07-07 06:53:06] local.INFO: Packet analysis {"connection_id":124084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a26"} 
[2026-07-07 06:53:06] local.INFO: Extracted packet for processing {"connection_id":124084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a26"} 
[2026-07-07 06:53:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":42,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547008512001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:53:06] 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-07-07 06:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783387053000,"timestamp_ms":1783387053000,"timestamp_seconds":1783387053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a26dbc8"} 
[2026-07-07 06:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-07 06:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547008512001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547008512001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:53:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:53:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547008512001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":124084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:53:06] local.INFO: GPS data processed {"connection_id":124084,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:53:06] local.INFO: Acknowledgment sent {"connection_id":124084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:53:16] local.INFO: TCP Data received {"connection_id":124085,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 06:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 06:53:16] local.INFO: Processing buffer {"connection_id":124085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 06:53:16] local.INFO: IMEI packet received {"connection_id":124085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 06:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":124085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:53:17] local.INFO: TCP Data received {"connection_id":124085,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 06:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 06:53:17] local.INFO: Processing buffer {"connection_id":124085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 06:53:17] local.INFO: IMEI packet received {"connection_id":124085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 06:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":124085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:53:21] local.INFO: TCP Data received {"connection_id":124085,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 06:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 06:53:21] local.INFO: Processing buffer {"connection_id":124085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 06:53:21] local.INFO: IMEI packet received {"connection_id":124085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 06:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":124085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:53:22] local.INFO: TCP Data received {"connection_id":124085,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-07 06:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124085,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-07 06:53:22] local.INFO: Processing buffer {"connection_id":124085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-07 06:53:22] local.INFO: Packet analysis {"connection_id":124085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-07 06:53:22] local.INFO: Extracted packet for processing {"connection_id":124085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-07 06:53:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 06:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103093616129343488,"note":"Value kept but may cause issues"} 
[2026-07-07 06:53:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 06:53:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 06:53:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 06:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124085,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124085,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-07 06:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124085,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-07 06:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 06:53:22] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 06:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":124085,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 06:53:22] local.ERROR: GPS data processing failed {"connection_id":124085,"error":"No valid data to process"} 
[2026-07-07 06:53:22] local.INFO: Acknowledgment sent {"connection_id":124085,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 06:53:37] local.INFO: TCP Data received {"connection_id":124084,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:53:37] local.INFO: Processing buffer {"connection_id":124084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:53:37] local.INFO: Packet analysis {"connection_id":124084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a2b"} 
[2026-07-07 06:53:37] local.INFO: Extracted packet for processing {"connection_id":124084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a2b"} 
[2026-07-07 06:53:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547085568001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:53:37] 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-07-07 06:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783387354000,"timestamp_ms":1783387354000,"timestamp_seconds":1783387354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a2b7390"} 
[2026-07-07 06:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547085568001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547085568001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:53:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:53:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547085568001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":124084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:53:37] local.INFO: GPS data processed {"connection_id":124084,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:53:37] local.INFO: Acknowledgment sent {"connection_id":124084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:53:53] local.INFO: TCP Data received {"connection_id":124085,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a2c2740012d7e360005d34d80000300000c..."} 
[2026-07-07 06:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a2c2740012d7e360005d34d80000300000c..."} 
[2026-07-07 06:53:53] local.INFO: Processing buffer {"connection_id":124085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a2c2740012d7e360005d34d80000300000c..."} 
[2026-07-07 06:53:53] local.INFO: Packet analysis {"connection_id":124085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a2c"} 
[2026-07-07 06:53:53] local.INFO: Extracted packet for processing {"connection_id":124085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a2c"} 
[2026-07-07 06:53:53] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734016,"longitude_deg":76.324608,"latitude_deg":9.7734016,"altitude":3,"angle":0,"satellites":12,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34d80","is_valid_coordinates":true} 
[2026-07-07 06:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103093616129343488,"note":"Value kept but may cause issues"} 
[2026-07-07 06:53:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 06:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783387400000,"timestamp_ms":1783387400000,"timestamp_seconds":1783387400,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a2c2740"} 
[2026-07-07 06:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 06: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":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 06:53:53] 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-07-07 06: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-07-07 06:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":124085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":124085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":124085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:53:53] 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-07-07 06:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 06:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 06:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":11634,"81":206,"85":15104,"24":0,"16":103093616129343488},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16]} 
[2026-07-07 06:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 06:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 06:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-07 06:53:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-07 06:53:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 06:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103093616129343488,"km_value":103093616129343.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:53:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":11634,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-07 06:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":124085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:53:53] local.INFO: GPS data processed {"connection_id":124085,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:53:53] local.INFO: Acknowledgment sent {"connection_id":124085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:53:59] local.INFO: TCP Data received {"connection_id":124862,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:53:59] local.INFO: Processing buffer {"connection_id":124862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:53:59] local.INFO: IMEI packet received {"connection_id":124862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":124862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:54:05] local.INFO: TCP Data received {"connection_id":124862,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:54:05] local.INFO: Processing buffer {"connection_id":124862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:54:05] local.INFO: IMEI packet received {"connection_id":124862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":124862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:54:06] local.INFO: TCP Data received {"connection_id":124862,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:54:06] local.INFO: Processing buffer {"connection_id":124862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:54:06] local.INFO: Packet analysis {"connection_id":124862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a2b"} 
[2026-07-07 06:54:06] local.INFO: Extracted packet for processing {"connection_id":124862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a2b"} 
[2026-07-07 06:54:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547085568001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:54:06] 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-07-07 06:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783387354000,"timestamp_ms":1783387354000,"timestamp_seconds":1783387354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a2b7390"} 
[2026-07-07 06:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547085568001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547085568001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:54:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:54:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547085568001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":124862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:54:06] local.INFO: GPS data processed {"connection_id":124862,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:54:06] local.INFO: Acknowledgment sent {"connection_id":124862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:54:24] local.INFO: TCP Data received {"connection_id":124085,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a2d0200012d7e444005d357000004005d0c..."} 
[2026-07-07 06:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a2d0200012d7e444005d357000004005d0c..."} 
[2026-07-07 06:54:24] local.INFO: Processing buffer {"connection_id":124085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a2d0200012d7e444005d357000004005d0c..."} 
[2026-07-07 06:54:24] local.INFO: Packet analysis {"connection_id":124085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a2d"} 
[2026-07-07 06:54:24] local.INFO: Extracted packet for processing {"connection_id":124085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a2d"} 
[2026-07-07 06:54:24] local.INFO: GPS Element Parsed {"raw_longitude":763249728,"raw_latitude":97736448,"longitude_deg":76.3249728,"latitude_deg":9.7736448,"altitude":4,"angle":93,"satellites":12,"speed":12,"hex_longitude":"2d7e4440","hex_latitude":"05d35700","is_valid_coordinates":true} 
[2026-07-07 06:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547187456001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103094058510974976,"note":"Value kept but may cause issues"} 
[2026-07-07 06:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096708322355615744,"note":"Value kept but may cause issues"} 
[2026-07-07 06:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 06:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783387456000,"timestamp_ms":1783387456000,"timestamp_seconds":1783387456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a2d0200"} 
[2026-07-07 06:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 06:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-07 06:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":124085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":124085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":124085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:54:24] 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-07-07 06:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 06:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 06:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547187456001,"66":13363,"109":206,"85":15104,"24":12,"16":103094058510974976,"45":9096708322355615744},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 06:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 06:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 06:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547187456001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:54:24] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 06:54:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 06:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103094058510974976,"km_value":103094058510974.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096708322355615744,"description":"Unknown IO ID 45"} 
[2026-07-07 06:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547187456001,"power":13363,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9096708322355615744}} 
[2026-07-07 06:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":124085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:54:24] local.INFO: GPS data processed {"connection_id":124085,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:54:24] local.INFO: Acknowledgment sent {"connection_id":124085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:54:37] local.INFO: TCP Data received {"connection_id":124862,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:54:37] local.INFO: Processing buffer {"connection_id":124862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:54:37] local.INFO: Packet analysis {"connection_id":124862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a2b"} 
[2026-07-07 06:54:37] local.INFO: Extracted packet for processing {"connection_id":124862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a2b"} 
[2026-07-07 06:54:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547085568001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:54:37] 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-07-07 06:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783387354000,"timestamp_ms":1783387354000,"timestamp_seconds":1783387354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a2b7390"} 
[2026-07-07 06:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547085568001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547085568001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:54:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:54:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547085568001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":124862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:54:37] local.INFO: GPS data processed {"connection_id":124862,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:54:37] local.INFO: Acknowledgment sent {"connection_id":124862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:54:55] local.INFO: TCP Data received {"connection_id":124085,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a2d09d0012d7e474005d35788000400510c..."} 
[2026-07-07 06:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a2d09d0012d7e474005d35788000400510c..."} 
[2026-07-07 06:54:55] local.INFO: Processing buffer {"connection_id":124085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a2d09d0012d7e474005d35788000400510c..."} 
[2026-07-07 06:54:55] local.INFO: Packet analysis {"connection_id":124085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a2d"} 
[2026-07-07 06:54:55] local.INFO: Extracted packet for processing {"connection_id":124085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a2d"} 
[2026-07-07 06:54:55] local.INFO: GPS Element Parsed {"raw_longitude":763250496,"raw_latitude":97736584,"longitude_deg":76.3250496,"latitude_deg":9.7736584,"altitude":4,"angle":81,"satellites":12,"speed":14,"hex_longitude":"2d7e4740","hex_latitude":"05d35788","is_valid_coordinates":true} 
[2026-07-07 06:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547188736001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103094092870713344,"note":"Value kept but may cause issues"} 
[2026-07-07 06:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098467540959952896,"note":"Value kept but may cause issues"} 
[2026-07-07 06:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 06:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783387458000,"timestamp_ms":1783387458000,"timestamp_seconds":1783387458,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a2d09d0"} 
[2026-07-07 06:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 06:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 06:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":124085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":124085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":124085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:54:55] 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-07-07 06:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 06:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 06:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547188736001,"66":13363,"109":206,"85":15104,"24":14,"16":103094092870713344,"45":9098467540959952896},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 06:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 06:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 06:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547188736001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:54:55] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 06:54:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 06:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103094092870713344,"km_value":103094092870713.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098467540959952896,"description":"Unknown IO ID 45"} 
[2026-07-07 06:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547188736001,"power":13363,"unknown_109":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9098467540959952896}} 
[2026-07-07 06:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":124085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:54:55] local.INFO: GPS data processed {"connection_id":124085,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:54:55] local.INFO: Acknowledgment sent {"connection_id":124085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:55:05] local.INFO: TCP Data received {"connection_id":124195,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:55:05] local.INFO: Processing buffer {"connection_id":124195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:55:05] local.INFO: IMEI packet received {"connection_id":124195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":124195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:55:10] local.INFO: TCP Data received {"connection_id":124195,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:55:10] local.INFO: Processing buffer {"connection_id":124195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:55:10] local.INFO: IMEI packet received {"connection_id":124195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":124195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:55:11] local.INFO: TCP Data received {"connection_id":124195,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:55:11] local.INFO: Processing buffer {"connection_id":124195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:55:11] local.INFO: Packet analysis {"connection_id":124195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a2b"} 
[2026-07-07 06:55:11] local.INFO: Extracted packet for processing {"connection_id":124195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a2b"} 
[2026-07-07 06:55:11] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547085568001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:55:11] 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-07-07 06:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783387354000,"timestamp_ms":1783387354000,"timestamp_seconds":1783387354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a2b7390"} 
[2026-07-07 06:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:55: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-07-07 06:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547085568001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547085568001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:55:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:55:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547085568001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":124195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:55:11] local.INFO: GPS data processed {"connection_id":124195,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:55:11] local.INFO: Acknowledgment sent {"connection_id":124195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:55:15] local.INFO: TCP Data received {"connection_id":124195,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:55:15] local.INFO: Processing buffer {"connection_id":124195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:55:15] local.INFO: Packet analysis {"connection_id":124195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a2b"} 
[2026-07-07 06:55:15] local.INFO: Extracted packet for processing {"connection_id":124195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a2b"} 
[2026-07-07 06:55:15] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547085568001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:55:15] 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-07-07 06:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783387354000,"timestamp_ms":1783387354000,"timestamp_seconds":1783387354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a2b7390"} 
[2026-07-07 06:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547085568001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547085568001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:55:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:55:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547085568001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":124195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:55:16] local.INFO: GPS data processed {"connection_id":124195,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:55:16] local.INFO: Acknowledgment sent {"connection_id":124195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:55:27] local.INFO: TCP Data received {"connection_id":124085,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a2dd8d8012d7e67c005d30400000500770d..."} 
[2026-07-07 06:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a2dd8d8012d7e67c005d30400000500770d..."} 
[2026-07-07 06:55:27] local.INFO: Processing buffer {"connection_id":124085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a2dd8d8012d7e67c005d30400000500770d..."} 
[2026-07-07 06:55:27] local.INFO: Packet analysis {"connection_id":124085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a2d"} 
[2026-07-07 06:55:27] local.INFO: Extracted packet for processing {"connection_id":124085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a2d"} 
[2026-07-07 06:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763258816,"raw_latitude":97715200,"longitude_deg":76.3258816,"latitude_deg":9.77152,"altitude":5,"angle":119,"satellites":13,"speed":6,"hex_longitude":"2d7e67c0","hex_latitude":"05d30400","is_valid_coordinates":true} 
[2026-07-07 06:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547199744001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103095359886065664,"note":"Value kept but may cause issues"} 
[2026-07-07 06:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107474740210558976,"note":"Value kept but may cause issues"} 
[2026-07-07 06:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 06:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783387511000,"timestamp_ms":1783387511000,"timestamp_seconds":1783387511,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a2dd8d8"} 
[2026-07-07 06:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 06:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 06:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:55:27] 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-07-07 06:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 06:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 06:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547199744001,"66":13613,"109":206,"85":15104,"24":6,"16":103095359886065664,"45":9107474740210558976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 06:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 06:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 06:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547199744001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:55:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 06:55:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 06:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103095359886065664,"km_value":103095359886065.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107474740210558976,"description":"Unknown IO ID 45"} 
[2026-07-07 06:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547199744001,"power":13613,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9107474740210558976}} 
[2026-07-07 06:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":124085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:55:27] local.INFO: GPS data processed {"connection_id":124085,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:55:27] local.INFO: Acknowledgment sent {"connection_id":124085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:55:58] local.INFO: TCP Data received {"connection_id":124085,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a2de0a8012d7e694005d303880004005d0d..."} 
[2026-07-07 06:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a2de0a8012d7e694005d303880004005d0d..."} 
[2026-07-07 06:55:58] local.INFO: Processing buffer {"connection_id":124085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a2de0a8012d7e694005d303880004005d0d..."} 
[2026-07-07 06:55:58] local.INFO: Packet analysis {"connection_id":124085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a2d"} 
[2026-07-07 06:55:58] local.INFO: Extracted packet for processing {"connection_id":124085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a2d"} 
[2026-07-07 06:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763259200,"raw_latitude":97715080,"longitude_deg":76.32592,"latitude_deg":9.771508,"altitude":4,"angle":93,"satellites":13,"speed":8,"hex_longitude":"2d7e6940","hex_latitude":"05d30388","is_valid_coordinates":true} 
[2026-07-07 06:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547202816001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103095381360902144,"note":"Value kept but may cause issues"} 
[2026-07-07 06:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108459902627741696,"note":"Value kept but may cause issues"} 
[2026-07-07 06:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 06:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783387513000,"timestamp_ms":1783387513000,"timestamp_seconds":1783387513,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a2de0a8"} 
[2026-07-07 06:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:55:58] 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-07-07 06:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-07-07 06:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":124085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":124085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":124085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:55:58] 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-07-07 06:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 06:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 06:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547202816001,"66":13580,"109":206,"85":15104,"24":8,"16":103095381360902144,"45":9108459902627741696},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 06:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 06:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 06:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547202816001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:55:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 06:55:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 06:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103095381360902144,"km_value":103095381360902.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108459902627741696,"description":"Unknown IO ID 45"} 
[2026-07-07 06:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547202816001,"power":13580,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9108459902627741696}} 
[2026-07-07 06:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":124085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:55:58] local.INFO: GPS data processed {"connection_id":124085,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:55:58] local.INFO: Acknowledgment sent {"connection_id":124085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:56:00] local.INFO: TCP Data received {"connection_id":124864,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:56:00] local.INFO: Processing buffer {"connection_id":124864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:56:00] local.INFO: IMEI packet received {"connection_id":124864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":124864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:56:05] local.INFO: TCP Data received {"connection_id":124864,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:56:05] local.INFO: Processing buffer {"connection_id":124864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:56:05] local.INFO: IMEI packet received {"connection_id":124864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":124864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:56:06] local.INFO: TCP Data received {"connection_id":124864,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:56:06] local.INFO: Processing buffer {"connection_id":124864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:56:06] local.INFO: Packet analysis {"connection_id":124864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a2b"} 
[2026-07-07 06:56:06] local.INFO: Extracted packet for processing {"connection_id":124864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a2b"} 
[2026-07-07 06:56:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547085568001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:56:06] 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-07-07 06:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783387354000,"timestamp_ms":1783387354000,"timestamp_seconds":1783387354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a2b7390"} 
[2026-07-07 06:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547085568001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547085568001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:56:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:56:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547085568001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":124864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:56:06] local.INFO: GPS data processed {"connection_id":124864,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:56:06] local.INFO: Acknowledgment sent {"connection_id":124864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:56:29] local.INFO: TCP Data received {"connection_id":124085,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a2de490012d7e6a4005d303b00004004f0d..."} 
[2026-07-07 06:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a2de490012d7e6a4005d303b00004004f0d..."} 
[2026-07-07 06:56:29] local.INFO: Processing buffer {"connection_id":124085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a2de490012d7e6a4005d303b00004004f0d..."} 
[2026-07-07 06:56:29] local.INFO: Packet analysis {"connection_id":124085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a2d"} 
[2026-07-07 06:56:29] local.INFO: Extracted packet for processing {"connection_id":124085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a2d"} 
[2026-07-07 06:56:29] local.INFO: GPS Element Parsed {"raw_longitude":763259456,"raw_latitude":97715120,"longitude_deg":76.3259456,"latitude_deg":9.771512,"altitude":4,"angle":79,"satellites":13,"speed":9,"hex_longitude":"2d7e6a40","hex_latitude":"05d303b0","is_valid_coordinates":true} 
[2026-07-07 06:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547203328001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103095394245804032,"note":"Value kept but may cause issues"} 
[2026-07-07 06:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108882115092776960,"note":"Value kept but may cause issues"} 
[2026-07-07 06:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 06:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783387514000,"timestamp_ms":1783387514000,"timestamp_seconds":1783387514,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a2de490"} 
[2026-07-07 06:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:56:29] 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-07-07 06:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-07 06:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751607363,"note":"Value kept but may cause issues"} 
[2026-07-07 06:56:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 06:56:29] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635210275769709,"note":"Value kept but may cause issues"} 
[2026-07-07 06:56:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545325568,"note":"Value kept but may cause issues"} 
[2026-07-07 06:56:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7945417368472125440,"note":"Value kept but may cause issues"} 
[2026-07-07 06:56:29] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 06:56:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-07 06:56:29] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-07 06:56:29] local.WARNING: Large IO value detected {"io_id":126,"raw_value":6557247462645956611,"note":"Value kept but may cause issues"} 
[2026-07-07 06:56:29] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3026193217168028075,"note":"Value kept but may cause issues"} 
[2026-07-07 06:56:29] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755459570729201,"note":"Value kept but may cause issues"} 
[2026-07-07 06:56:29] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,109,85,24,241,157,16,68,159,216,45,192,4,5,13,10,66,169,64,23,6,12,111,128,1,240,110,227,58,211,113,205,18,76,94,239,53,2,3,15,126,52,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-07 06:56:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288332686568194048,"timestamp_seconds":288332686568194.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 06:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":124085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":124085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":124085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:56:29] 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-07-07 06:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 06:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 06:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547203328001,"66":13580,"109":206,"85":15104,"24":9,"16":103095394245804032,"45":9108882115092776960},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 06:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 06:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 06:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547203328001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:56:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 06:56:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 06:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103095394245804032,"km_value":103095394245804.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108882115092776960,"description":"Unknown IO ID 45"} 
[2026-07-07 06:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547203328001,"power":13580,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9108882115092776960}} 
[2026-07-07 06:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":124085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:56:29] local.INFO: GPS data processed {"connection_id":124085,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:56:29] local.INFO: Acknowledgment sent {"connection_id":124085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:56:37] local.INFO: TCP Data received {"connection_id":124864,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:56:37] local.INFO: Processing buffer {"connection_id":124864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:56:37] local.INFO: Packet analysis {"connection_id":124864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a2b"} 
[2026-07-07 06:56:37] local.INFO: Extracted packet for processing {"connection_id":124864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a2b"} 
[2026-07-07 06:56:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547085568001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:56:37] 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-07-07 06:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783387354000,"timestamp_ms":1783387354000,"timestamp_seconds":1783387354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a2b7390"} 
[2026-07-07 06:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547085568001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547085568001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:56:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:56:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547085568001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":124864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:56:37] local.INFO: GPS data processed {"connection_id":124864,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:56:37] local.INFO: Acknowledgment sent {"connection_id":124864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:57:00] local.INFO: TCP Data received {"connection_id":124196,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:57:00] local.INFO: Processing buffer {"connection_id":124196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:57:00] local.INFO: IMEI packet received {"connection_id":124196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":124196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:57:01] local.INFO: TCP Data received {"connection_id":124085,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a2e2ec8012d7e88c005d30ae0000400400d..."} 
[2026-07-07 06:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a2e2ec8012d7e88c005d30ae0000400400d..."} 
[2026-07-07 06:57:01] local.INFO: Processing buffer {"connection_id":124085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a2e2ec8012d7e88c005d30ae0000400400d..."} 
[2026-07-07 06:57:01] local.INFO: Packet analysis {"connection_id":124085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a2e"} 
[2026-07-07 06:57:01] local.INFO: Extracted packet for processing {"connection_id":124085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a2e"} 
[2026-07-07 06:57:01] local.INFO: GPS Element Parsed {"raw_longitude":763267264,"raw_latitude":97716960,"longitude_deg":76.3267264,"latitude_deg":9.771696,"altitude":4,"angle":64,"satellites":13,"speed":21,"hex_longitude":"2d7e88c0","hex_latitude":"05d30ae0","is_valid_coordinates":true} 
[2026-07-07 06:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547203584001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103095780792860672,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9109163590069497856,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 06:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783387533000,"timestamp_ms":1783387533000,"timestamp_seconds":1783387533,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a2e2ec8"} 
[2026-07-07 06:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:57:01] 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-07-07 06:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-07 06:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751607363,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:01] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549752173,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545241600,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7945422866030264320,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:01] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-07 06:57:01] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3221607246,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:01] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:01] local.WARNING: Large IO value detected {"io_id":126,"raw_value":6719377049198264323,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:01] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-6917303295216136619,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:01] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:01] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,109,85,24,241,157,16,68,159,224,45,64,3,4,13,10,66,216,192,5,169,1,240,237,227,58,211,113,205,26,80,94,104,12,239,53,2,110,126,52,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-07 06:57:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288317293405470720,"timestamp_seconds":288317293405470.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 06:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:57:01] 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-07-07 06:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 06:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 06:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547203584001,"66":13472,"109":206,"85":15104,"24":21,"16":103095780792860672,"45":9109163590069497856},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 06:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 06:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 06:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547203584001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:57:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 06:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 06:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103095780792860672,"km_value":103095780792860.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9109163590069497856,"description":"Unknown IO ID 45"} 
[2026-07-07 06:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547203584001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9109163590069497856}} 
[2026-07-07 06:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":124085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:57:01] local.INFO: GPS data processed {"connection_id":124085,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:57:01] local.INFO: Acknowledgment sent {"connection_id":124085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:57:05] local.INFO: TCP Data received {"connection_id":124196,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:57:05] local.INFO: Processing buffer {"connection_id":124196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:57:05] local.INFO: IMEI packet received {"connection_id":124196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":124196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:57:06] local.INFO: TCP Data received {"connection_id":124196,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:57:06] local.INFO: Processing buffer {"connection_id":124196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:57:06] local.INFO: Packet analysis {"connection_id":124196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a2b"} 
[2026-07-07 06:57:06] local.INFO: Extracted packet for processing {"connection_id":124196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a2b"} 
[2026-07-07 06:57:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547085568001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:06] 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-07-07 06:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783387354000,"timestamp_ms":1783387354000,"timestamp_seconds":1783387354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a2b7390"} 
[2026-07-07 06:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:57: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-07-07 06:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547085568001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547085568001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:57:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:57:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547085568001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":124196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:57:06] local.INFO: GPS data processed {"connection_id":124196,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:57:06] local.INFO: Acknowledgment sent {"connection_id":124196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:57:20] local.INFO: TCP Data received {"connection_id":124086,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:57:20] local.INFO: Processing buffer {"connection_id":124086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:57:20] local.INFO: IMEI packet received {"connection_id":124086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 06:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":124086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:57:35] local.INFO: TCP Data received {"connection_id":124085,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a2fc8f0012d7f3e4005d37b38000000300e..."} 
[2026-07-07 06:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a2fc8f0012d7f3e4005d37b38000000300e..."} 
[2026-07-07 06:57:35] local.INFO: Processing buffer {"connection_id":124085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a2fc8f0012d7f3e4005d37b38000000300e..."} 
[2026-07-07 06:57:35] local.INFO: Packet analysis {"connection_id":124085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a2f"} 
[2026-07-07 06:57:35] local.INFO: Extracted packet for processing {"connection_id":124085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a2f"} 
[2026-07-07 06:57:35] local.INFO: GPS Element Parsed {"raw_longitude":763313728,"raw_latitude":97745720,"longitude_deg":76.3313728,"latitude_deg":9.774572,"altitude":0,"angle":48,"satellites":14,"speed":44,"hex_longitude":"2d7f3e40","hex_latitude":"05d37b38","is_valid_coordinates":true} 
[2026-07-07 06:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547233536001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103098563931668480,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164403054255228928,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 06:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783387638000,"timestamp_ms":1783387638000,"timestamp_seconds":1783387638,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a2fc8f0"} 
[2026-07-07 06:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 06:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-07 06:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:57:35] 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-07-07 06:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 06:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 06:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547233536001,"66":13678,"109":206,"85":15104,"24":44,"16":103098563931668480,"45":9164403054255228928},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 06:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 06:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 06:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547233536001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:57:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 06:57:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 06:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103098563931668480,"km_value":103098563931668.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164403054255228928,"description":"Unknown IO ID 45"} 
[2026-07-07 06:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547233536001,"power":13678,"unknown_109":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9164403054255228928}} 
[2026-07-07 06:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":124085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:57:35] local.INFO: GPS data processed {"connection_id":124085,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:57:35] local.INFO: Acknowledgment sent {"connection_id":124085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:57:37] local.INFO: TCP Data received {"connection_id":124196,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:57:37] local.INFO: Processing buffer {"connection_id":124196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:57:37] local.INFO: Packet analysis {"connection_id":124196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a2b"} 
[2026-07-07 06:57:37] local.INFO: Extracted packet for processing {"connection_id":124196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a2b"} 
[2026-07-07 06:57:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547085568001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:57:37] 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-07-07 06:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783387354000,"timestamp_ms":1783387354000,"timestamp_seconds":1783387354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a2b7390"} 
[2026-07-07 06:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:57: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-07-07 06:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547085568001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547085568001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:57:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:57:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547085568001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":124196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:57:37] local.INFO: GPS data processed {"connection_id":124196,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:57:37] local.INFO: Acknowledgment sent {"connection_id":124196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:57:56] local.INFO: TCP Data received {"connection_id":124866,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 06:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 06:57:56] local.INFO: Processing buffer {"connection_id":124866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 06:57:56] local.INFO: IMEI packet received {"connection_id":124866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 06:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":124866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:58:00] local.INFO: TCP Data received {"connection_id":124197,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:58:00] local.INFO: Processing buffer {"connection_id":124197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:58:00] local.INFO: IMEI packet received {"connection_id":124197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":124197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:58:01] local.INFO: TCP Data received {"connection_id":124866,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 06:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 06:58:01] local.INFO: Processing buffer {"connection_id":124866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 06:58:01] local.INFO: IMEI packet received {"connection_id":124866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 06:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":124866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:58:03] local.INFO: TCP Data received {"connection_id":124866,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a2fe060012d7f558005d38bc00000003c0e..."} 
[2026-07-07 06:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a2fe060012d7f558005d38bc00000003c0e..."} 
[2026-07-07 06:58:03] local.INFO: Processing buffer {"connection_id":124866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a2fe060012d7f558005d38bc00000003c0e..."} 
[2026-07-07 06:58:03] local.INFO: Packet analysis {"connection_id":124866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a2f"} 
[2026-07-07 06:58:03] local.INFO: Extracted packet for processing {"connection_id":124866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a2f"} 
[2026-07-07 06:58:03] local.INFO: GPS Element Parsed {"raw_longitude":763319680,"raw_latitude":97749952,"longitude_deg":76.331968,"latitude_deg":9.7749952,"altitude":0,"angle":60,"satellites":14,"speed":49,"hex_longitude":"2d7f5580","hex_latitude":"05d38bc0","is_valid_coordinates":true} 
[2026-07-07 06:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547235328001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103098911824019456,"note":"Value kept but may cause issues"} 
[2026-07-07 06:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168836285139990528,"note":"Value kept but may cause issues"} 
[2026-07-07 06:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 06:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783387644000,"timestamp_ms":1783387644000,"timestamp_seconds":1783387644,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a2fe060"} 
[2026-07-07 06:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 06:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-07 06:58: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-07-07 06:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:58:03] 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-07-07 06:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 06:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 06:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547235328001,"66":13939,"109":206,"85":15104,"24":49,"16":103098911824019456,"45":9168836285139990528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 06:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 06:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 06:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547235328001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:58:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 06:58:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 06:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103098911824019456,"km_value":103098911824019.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168836285139990528,"description":"Unknown IO ID 45"} 
[2026-07-07 06:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547235328001,"power":13939,"unknown_109":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9168836285139990528}} 
[2026-07-07 06:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":124866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:58:03] local.INFO: GPS data processed {"connection_id":124866,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:58:03] local.INFO: Acknowledgment sent {"connection_id":124866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:58:05] local.INFO: TCP Data received {"connection_id":124867,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:58:05] local.INFO: Processing buffer {"connection_id":124867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 06:58:05] local.INFO: IMEI packet received {"connection_id":124867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 06:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":124867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:58:05] local.INFO: TCP Data received {"connection_id":124197,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:58:05] local.INFO: Processing buffer {"connection_id":124197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:58:05] local.INFO: IMEI packet received {"connection_id":124197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 06:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":124197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 06:58:06] local.INFO: TCP Data received {"connection_id":124197,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:58:06] local.INFO: Processing buffer {"connection_id":124197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a2b7390012d6efe80064499f8000f00462b..."} 
[2026-07-07 06:58:06] local.INFO: Packet analysis {"connection_id":124197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a2b"} 
[2026-07-07 06:58:06] local.INFO: Extracted packet for processing {"connection_id":124197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a2b"} 
[2026-07-07 06:58:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547085568001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:58:06] 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-07-07 06:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783387354000,"timestamp_ms":1783387354000,"timestamp_seconds":1783387354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a2b7390"} 
[2026-07-07 06:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547085568001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547085568001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:58:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:58:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547085568001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":124197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:58:06] local.INFO: GPS data processed {"connection_id":124197,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:58:06] local.INFO: Acknowledgment sent {"connection_id":124197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:58:37] local.INFO: TCP Data received {"connection_id":124197,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 06:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 06:58:37] local.INFO: Processing buffer {"connection_id":124197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 06:58:37] local.INFO: Packet analysis {"connection_id":124197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 06:58:37] local.INFO: Extracted packet for processing {"connection_id":124197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 06:58:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547162624001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:58:37] 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-07-07 06:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783387655000,"timestamp_ms":1783387655000,"timestamp_seconds":1783387655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a300b58"} 
[2026-07-07 06:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547162624001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547162624001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:58:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:58:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547162624001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":124197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:58:37] local.INFO: GPS data processed {"connection_id":124197,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:58:37] local.INFO: Acknowledgment sent {"connection_id":124197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:58:40] local.INFO: TCP Data received {"connection_id":124866,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a2fec18012d7f630005d39100000200490f..."} 
[2026-07-07 06:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a2fec18012d7f630005d39100000200490f..."} 
[2026-07-07 06:58:40] local.INFO: Processing buffer {"connection_id":124866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a2fec18012d7f630005d39100000200490f..."} 
[2026-07-07 06:58:40] local.INFO: Packet analysis {"connection_id":124866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a2f"} 
[2026-07-07 06:58:40] local.INFO: Extracted packet for processing {"connection_id":124866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a2f"} 
[2026-07-07 06:58:40] local.INFO: GPS Element Parsed {"raw_longitude":763323136,"raw_latitude":97751296,"longitude_deg":76.3323136,"latitude_deg":9.7751296,"altitude":2,"angle":73,"satellites":15,"speed":46,"hex_longitude":"2d7f6300","hex_latitude":"05d39100","is_valid_coordinates":true} 
[2026-07-07 06:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547236864001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103099087917678592,"note":"Value kept but may cause issues"} 
[2026-07-07 06:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9175380578349596672,"note":"Value kept but may cause issues"} 
[2026-07-07 06:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 06:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783387647000,"timestamp_ms":1783387647000,"timestamp_seconds":1783387647,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a2fec18"} 
[2026-07-07 06:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 06: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-07-07 06:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:58: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-07-07 06:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 06:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 06:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547236864001,"66":13102,"109":206,"85":15104,"24":46,"16":103099087917678592,"45":9175380578349596672},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 06:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 06:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 06:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547236864001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:58:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 06:58:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 06:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103099087917678592,"km_value":103099087917678.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9175380578349596672,"description":"Unknown IO ID 45"} 
[2026-07-07 06:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547236864001,"power":13102,"unknown_109":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9175380578349596672}} 
[2026-07-07 06:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":124866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:58:40] local.INFO: GPS data processed {"connection_id":124866,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:58:40] local.INFO: Acknowledgment sent {"connection_id":124866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:59:05] local.INFO: TCP Data received {"connection_id":124868,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:59:05] local.INFO: Processing buffer {"connection_id":124868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 06:59:05] local.INFO: IMEI packet received {"connection_id":124868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 06:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":124868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 06:59:06] local.INFO: TCP Data received {"connection_id":124868,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 06:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 06:59:06] local.INFO: Processing buffer {"connection_id":124868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 06:59:06] local.INFO: Packet analysis {"connection_id":124868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 06:59:06] local.INFO: Extracted packet for processing {"connection_id":124868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 06:59:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547162624001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:06] 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-07-07 06:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783387655000,"timestamp_ms":1783387655000,"timestamp_seconds":1783387655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a300b58"} 
[2026-07-07 06:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547162624001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547162624001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:59:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:59:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547162624001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":124868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:59:06] local.INFO: GPS data processed {"connection_id":124868,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:59:06] local.INFO: Acknowledgment sent {"connection_id":124868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:59:12] local.INFO: TCP Data received {"connection_id":124866,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a313c08012d80440005d384a80009007d17..."} 
[2026-07-07 06:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a313c08012d80440005d384a80009007d17..."} 
[2026-07-07 06:59:12] local.INFO: Processing buffer {"connection_id":124866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a313c08012d80440005d384a80009007d17..."} 
[2026-07-07 06:59:12] local.INFO: Packet analysis {"connection_id":124866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a31"} 
[2026-07-07 06:59:12] local.INFO: Extracted packet for processing {"connection_id":124866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a31"} 
[2026-07-07 06:59:12] local.INFO: GPS Element Parsed {"raw_longitude":763380736,"raw_latitude":97748136,"longitude_deg":76.3380736,"latitude_deg":9.7748136,"altitude":9,"angle":125,"satellites":23,"speed":10,"hex_longitude":"2d804400","hex_latitude":"05d384a8","is_valid_coordinates":true} 
[2026-07-07 06:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547258880001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103101978430668800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204935400856530944,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 06:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783387733000,"timestamp_ms":1783387733000,"timestamp_seconds":1783387733,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a313c08"} 
[2026-07-07 06:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 06: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-07 06:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751607369,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:12] local.WARNING: Large IO value detected {"io_id":74,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2151333893,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7947249154844000256,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:12] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2515009543,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:12] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132237677,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-07 06:59:12] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3221607318,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:12] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:12] local.WARNING: Large IO value detected {"io_id":128,"raw_value":360294376539684872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:12] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-1873271712561181099,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:12] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755506815369457,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:12] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,167,85,24,241,157,16,74,159,40,45,64,138,8,10,66,192,146,7,109,20,1,240,82,227,58,211,4,113,205,13,56,239,54,2,110,5,37,128,53,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-07 06:59:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576613687499948032,"timestamp_seconds":576613687499948.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 06:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 06:59: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-07-07 06:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 06:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 06:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547258880001,"66":13450,"167":206,"85":15104,"24":10,"16":103101978430668800,"45":-9204935400856530944},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-07 06:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 06:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 06:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547258880001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:59:12] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 06:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 06:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103101978430668800,"km_value":103101978430668.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204935400856530944,"description":"Unknown IO ID 45"} 
[2026-07-07 06:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547258880001,"power":13450,"unknown_167":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9204935400856530944}} 
[2026-07-07 06:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":124866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:59:12] local.INFO: GPS data processed {"connection_id":124866,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:59:12] local.INFO: Acknowledgment sent {"connection_id":124866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:59:37] local.INFO: TCP Data received {"connection_id":124868,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 06:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 06:59:37] local.INFO: Processing buffer {"connection_id":124868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 06:59:37] local.INFO: Packet analysis {"connection_id":124868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 06:59:37] local.INFO: Extracted packet for processing {"connection_id":124868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 06:59:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 06:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 06:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547162624001,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 06:59:37] 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-07-07 06:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783387655000,"timestamp_ms":1783387655000,"timestamp_seconds":1783387655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a300b58"} 
[2026-07-07 06:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 06:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 06:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 06:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 06:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 06:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 06:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 06:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 06:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 06:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 06:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 06:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 06:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547162624001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 06:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 06:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 06:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547162624001,"description":"Unknown IO ID 0"} 
[2026-07-07 06:59:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 06:59:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 06:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 06:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 06:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547162624001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 06:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":124868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 06:59:37] local.INFO: GPS data processed {"connection_id":124868,"processed":1,"errors":0,"total":1} 
[2026-07-07 06:59:37] local.INFO: Acknowledgment sent {"connection_id":124868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 06:59:56] local.INFO: TCP Data received {"connection_id":124869,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 06:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 06:59:56] local.INFO: Processing buffer {"connection_id":124869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 06:59:56] local.INFO: IMEI packet received {"connection_id":124869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 06:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":124869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:00:00] local.INFO: TCP Data received {"connection_id":124870,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:00:00] local.INFO: Processing buffer {"connection_id":124870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:00:00] local.INFO: IMEI packet received {"connection_id":124870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":124870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:00:01] local.INFO: TCP Data received {"connection_id":124869,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:00:01] local.INFO: Processing buffer {"connection_id":124869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:00:01] local.INFO: IMEI packet received {"connection_id":124869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":124869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:00:02] local.INFO: TCP Data received {"connection_id":124869,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3147c0012d8046c005d382e00009006c18..."} 
[2026-07-07 07:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3147c0012d8046c005d382e00009006c18..."} 
[2026-07-07 07:00:02] local.INFO: Processing buffer {"connection_id":124869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3147c0012d8046c005d382e00009006c18..."} 
[2026-07-07 07:00:02] local.INFO: Packet analysis {"connection_id":124869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a31"} 
[2026-07-07 07:00:02] local.INFO: Extracted packet for processing {"connection_id":124869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a31"} 
[2026-07-07 07:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763381440,"raw_latitude":97747680,"longitude_deg":76.338144,"latitude_deg":9.774768,"altitude":9,"angle":108,"satellites":24,"speed":10,"hex_longitude":"2d8046c0","hex_latitude":"05d382e0","is_valid_coordinates":true} 
[2026-07-07 07:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547259648001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103102021380341760,"note":"Value kept but may cause issues"} 
[2026-07-07 07:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204231713414928384,"note":"Value kept but may cause issues"} 
[2026-07-07 07:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783387736000,"timestamp_ms":1783387736000,"timestamp_seconds":1783387736,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3147c0"} 
[2026-07-07 07:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-07 07:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:00:02] 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-07-07 07:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547259648001,"66":13624,"167":206,"85":15104,"24":10,"16":103102021380341760,"45":-9204231713414928384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-07 07:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547259648001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:00:02] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 07:00:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103102021380341760,"km_value":103102021380341.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204231713414928384,"description":"Unknown IO ID 45"} 
[2026-07-07 07:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547259648001,"power":13624,"unknown_167":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9204231713414928384}} 
[2026-07-07 07:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":124869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:00:02] local.INFO: GPS data processed {"connection_id":124869,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:00:02] local.INFO: Acknowledgment sent {"connection_id":124869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:00:05] local.INFO: TCP Data received {"connection_id":124870,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:00:05] local.INFO: Processing buffer {"connection_id":124870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:00:05] local.INFO: IMEI packet received {"connection_id":124870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":124870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:00:06] local.INFO: TCP Data received {"connection_id":124870,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:00:06] local.INFO: Processing buffer {"connection_id":124870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:00:06] local.INFO: Packet analysis {"connection_id":124870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 07:00:06] local.INFO: Extracted packet for processing {"connection_id":124870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 07:00:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547162624001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:00:06] 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-07-07 07:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783387655000,"timestamp_ms":1783387655000,"timestamp_seconds":1783387655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a300b58"} 
[2026-07-07 07:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 07:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547162624001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547162624001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:00:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:00:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547162624001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":124870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:00:06] local.INFO: GPS data processed {"connection_id":124870,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:00:06] local.INFO: Acknowledgment sent {"connection_id":124870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:00:10] local.INFO: TCP Data received {"connection_id":124870,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:00:10] local.INFO: Processing buffer {"connection_id":124870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:00:10] local.INFO: Packet analysis {"connection_id":124870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 07:00:10] local.INFO: Extracted packet for processing {"connection_id":124870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 07:00:10] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547162624001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:00:10] 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-07-07 07:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783387655000,"timestamp_ms":1783387655000,"timestamp_seconds":1783387655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a300b58"} 
[2026-07-07 07:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 07:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547162624001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547162624001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:00:10] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:00:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547162624001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":124870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:00:10] local.INFO: GPS data processed {"connection_id":124870,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:00:10] local.INFO: Acknowledgment sent {"connection_id":124870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:00:33] local.INFO: TCP Data received {"connection_id":124869,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3297b0012d80a60005d2fa40000700a618..."} 
[2026-07-07 07:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3297b0012d80a60005d2fa40000700a618..."} 
[2026-07-07 07:00:33] local.INFO: Processing buffer {"connection_id":124869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3297b0012d80a60005d2fa40000700a618..."} 
[2026-07-07 07:00:33] local.INFO: Packet analysis {"connection_id":124869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a32"} 
[2026-07-07 07:00:33] local.INFO: Extracted packet for processing {"connection_id":124869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a32"} 
[2026-07-07 07:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763405824,"raw_latitude":97712704,"longitude_deg":76.3405824,"latitude_deg":9.7712704,"altitude":7,"angle":166,"satellites":24,"speed":23,"hex_longitude":"2d80a600","hex_latitude":"05d2fa40","is_valid_coordinates":true} 
[2026-07-07 07:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547281152001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103104774454378496,"note":"Value kept but may cause issues"} 
[2026-07-07 07:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176717534449582080,"note":"Value kept but may cause issues"} 
[2026-07-07 07:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783387822000,"timestamp_ms":1783387822000,"timestamp_seconds":1783387822,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3297b0"} 
[2026-07-07 07:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-07-07 07:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:00:33] 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-07-07 07:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547281152001,"66":13928,"208":206,"85":15104,"24":23,"16":103104774454378496,"45":-9176717534449582080},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-07 07:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547281152001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:00:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-07 07:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103104774454378496,"km_value":103104774454378.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176717534449582080,"description":"Unknown IO ID 45"} 
[2026-07-07 07:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547281152001,"power":13928,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9176717534449582080}} 
[2026-07-07 07:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":124869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:00:33] local.INFO: GPS data processed {"connection_id":124869,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:00:33] local.INFO: Acknowledgment sent {"connection_id":124869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:00:41] local.INFO: TCP Data received {"connection_id":124870,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:00:41] local.INFO: Processing buffer {"connection_id":124870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:00:41] local.INFO: Packet analysis {"connection_id":124870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 07:00:41] local.INFO: Extracted packet for processing {"connection_id":124870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 07:00:41] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547162624001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:00:41] 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-07-07 07:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783387655000,"timestamp_ms":1783387655000,"timestamp_seconds":1783387655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a300b58"} 
[2026-07-07 07:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 07:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547162624001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547162624001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:00:41] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:00:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547162624001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":124870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:00:41] local.INFO: GPS data processed {"connection_id":124870,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:00:41] local.INFO: Acknowledgment sent {"connection_id":124870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:00:56] local.INFO: TCP Data received {"connection_id":124871,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:00:56] local.INFO: Processing buffer {"connection_id":124871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:00:56] local.INFO: IMEI packet received {"connection_id":124871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":124871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:00:58] local.INFO: TCP Data received {"connection_id":124871,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:00:58] local.INFO: Processing buffer {"connection_id":124871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:00:58] local.INFO: IMEI packet received {"connection_id":124871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":124871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:00:59] local.INFO: TCP Data received {"connection_id":124871,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:00:59] local.INFO: Processing buffer {"connection_id":124871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:00:59] local.INFO: IMEI packet received {"connection_id":124871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":124871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:01:00] local.INFO: TCP Data received {"connection_id":124872,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:01:00] local.INFO: Processing buffer {"connection_id":124872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:01:00] local.INFO: IMEI packet received {"connection_id":124872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":124872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:01:00] local.INFO: TCP Data received {"connection_id":124871,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:01:00] local.INFO: Processing buffer {"connection_id":124871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:01:00] local.INFO: IMEI packet received {"connection_id":124871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":124871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:01:05] local.INFO: TCP Data received {"connection_id":124872,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:01:05] local.INFO: Processing buffer {"connection_id":124872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:01:05] local.INFO: IMEI packet received {"connection_id":124872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":124872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:01:06] local.INFO: TCP Data received {"connection_id":124872,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:01:06] local.INFO: Processing buffer {"connection_id":124872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:01:06] local.INFO: Packet analysis {"connection_id":124872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 07:01:06] local.INFO: Extracted packet for processing {"connection_id":124872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 07:01:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547162624001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:01:06] 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-07-07 07:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783387655000,"timestamp_ms":1783387655000,"timestamp_seconds":1783387655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a300b58"} 
[2026-07-07 07:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 07:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547162624001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547162624001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:01:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:01:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547162624001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":124872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:01:06] local.INFO: GPS data processed {"connection_id":124872,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:01:06] local.INFO: Acknowledgment sent {"connection_id":124872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:01:37] local.INFO: TCP Data received {"connection_id":124872,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:01:37] local.INFO: Processing buffer {"connection_id":124872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:01:37] local.INFO: Packet analysis {"connection_id":124872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 07:01:37] local.INFO: Extracted packet for processing {"connection_id":124872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 07:01:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547162624001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:01:37] 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-07-07 07:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783387655000,"timestamp_ms":1783387655000,"timestamp_seconds":1783387655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a300b58"} 
[2026-07-07 07:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 07:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547162624001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547162624001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:01:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:01:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547162624001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":124872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:01:37] local.INFO: GPS data processed {"connection_id":124872,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:01:37] local.INFO: Acknowledgment sent {"connection_id":124872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:01:59] local.INFO: TCP Data received {"connection_id":124089,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:01:59] local.INFO: Processing buffer {"connection_id":124089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:01:59] local.INFO: IMEI packet received {"connection_id":124089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":124089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:02:05] local.INFO: TCP Data received {"connection_id":124089,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:02:05] local.INFO: Processing buffer {"connection_id":124089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:02:05] local.INFO: IMEI packet received {"connection_id":124089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":124089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:02:06] local.INFO: TCP Data received {"connection_id":124089,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:02:06] local.INFO: Processing buffer {"connection_id":124089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:02:06] local.INFO: Packet analysis {"connection_id":124089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 07:02:06] local.INFO: Extracted packet for processing {"connection_id":124089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 07:02:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547162624001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:02:06] 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-07-07 07:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783387655000,"timestamp_ms":1783387655000,"timestamp_seconds":1783387655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a300b58"} 
[2026-07-07 07:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 07:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547162624001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547162624001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:02:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:02:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547162624001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":124089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:02:06] local.INFO: GPS data processed {"connection_id":124089,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:02:06] local.INFO: Acknowledgment sent {"connection_id":124089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:02:37] local.INFO: TCP Data received {"connection_id":124089,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:02:37] local.INFO: Processing buffer {"connection_id":124089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:02:37] local.INFO: Packet analysis {"connection_id":124089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 07:02:37] local.INFO: Extracted packet for processing {"connection_id":124089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 07:02:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547162624001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:02:37] 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-07-07 07:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783387655000,"timestamp_ms":1783387655000,"timestamp_seconds":1783387655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a300b58"} 
[2026-07-07 07:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 07:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547162624001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547162624001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:02:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:02:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547162624001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":124089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:02:37] local.INFO: GPS data processed {"connection_id":124089,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:02:37] local.INFO: Acknowledgment sent {"connection_id":124089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:02:59] local.INFO: TCP Data received {"connection_id":124198,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:02:59] local.INFO: Processing buffer {"connection_id":124198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:02:59] local.INFO: IMEI packet received {"connection_id":124198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":124198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:03:05] local.INFO: TCP Data received {"connection_id":124198,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:03:05] local.INFO: Processing buffer {"connection_id":124198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:03:05] local.INFO: IMEI packet received {"connection_id":124198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":124198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:03:06] local.INFO: TCP Data received {"connection_id":124198,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:03:06] local.INFO: Processing buffer {"connection_id":124198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a300b58012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:03:06] local.INFO: Packet analysis {"connection_id":124198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 07:03:06] local.INFO: Extracted packet for processing {"connection_id":124198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a30"} 
[2026-07-07 07:03:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547162624001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:03:06] 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-07-07 07:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783387655000,"timestamp_ms":1783387655000,"timestamp_seconds":1783387655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a300b58"} 
[2026-07-07 07:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 07:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547162624001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547162624001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:03:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:03:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547162624001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":124198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:03:06] local.INFO: GPS data processed {"connection_id":124198,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:03:06] local.INFO: Acknowledgment sent {"connection_id":124198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:03:25] local.INFO: TCP Data received {"connection_id":124873,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:03:25] local.INFO: Processing buffer {"connection_id":124873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:03:25] local.INFO: IMEI packet received {"connection_id":124873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 07:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":124873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:03:37] local.INFO: TCP Data received {"connection_id":124198,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:03:37] local.INFO: Processing buffer {"connection_id":124198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:03:37] local.INFO: Packet analysis {"connection_id":124198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:03:37] local.INFO: Extracted packet for processing {"connection_id":124198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:03:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547239680001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:03:37] 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-07-07 07:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783387956000,"timestamp_ms":1783387956000,"timestamp_seconds":1783387956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a34a320"} 
[2026-07-07 07:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547239680001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547239680001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:03:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:03:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547239680001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":124198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:03:37] local.INFO: GPS data processed {"connection_id":124198,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:03:37] local.INFO: Acknowledgment sent {"connection_id":124198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:04:00] local.INFO: TCP Data received {"connection_id":124874,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:04:00] local.INFO: Processing buffer {"connection_id":124874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:04:00] local.INFO: IMEI packet received {"connection_id":124874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":124874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:04:01] local.INFO: TCP Data received {"connection_id":124875,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:04:01] local.INFO: Processing buffer {"connection_id":124875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:04:01] local.INFO: IMEI packet received {"connection_id":124875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 07:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":124875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:04:05] local.INFO: TCP Data received {"connection_id":124874,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:04:05] local.INFO: Processing buffer {"connection_id":124874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:04:05] local.INFO: IMEI packet received {"connection_id":124874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":124874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:04:06] local.INFO: TCP Data received {"connection_id":124874,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:04:06] local.INFO: Processing buffer {"connection_id":124874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:04:06] local.INFO: Packet analysis {"connection_id":124874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:04:06] local.INFO: Extracted packet for processing {"connection_id":124874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:04:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547239680001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:04:06] 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-07-07 07:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783387956000,"timestamp_ms":1783387956000,"timestamp_seconds":1783387956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a34a320"} 
[2026-07-07 07:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547239680001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547239680001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:04:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:04:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547239680001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":124874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:04:06] local.INFO: GPS data processed {"connection_id":124874,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:04:06] local.INFO: Acknowledgment sent {"connection_id":124874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:04:10] local.INFO: TCP Data received {"connection_id":124874,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:04:10] local.INFO: Processing buffer {"connection_id":124874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:04:10] local.INFO: Packet analysis {"connection_id":124874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:04:10] local.INFO: Extracted packet for processing {"connection_id":124874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:04:10] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547239680001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:04:10] 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-07-07 07:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783387956000,"timestamp_ms":1783387956000,"timestamp_seconds":1783387956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a34a320"} 
[2026-07-07 07:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547239680001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547239680001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:04:10] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:04:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547239680001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":124874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:04:10] local.INFO: GPS data processed {"connection_id":124874,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:04:10] local.INFO: Acknowledgment sent {"connection_id":124874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:04:42] local.INFO: TCP Data received {"connection_id":124874,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:04:42] local.INFO: Processing buffer {"connection_id":124874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:04:42] local.INFO: Packet analysis {"connection_id":124874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:04:42] local.INFO: Extracted packet for processing {"connection_id":124874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:04:42] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547239680001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:04:42] 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-07-07 07:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783387956000,"timestamp_ms":1783387956000,"timestamp_seconds":1783387956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a34a320"} 
[2026-07-07 07:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07: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":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:04: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-07-07 07:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547239680001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547239680001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:04:42] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:04:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547239680001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":124874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:04:42] local.INFO: GPS data processed {"connection_id":124874,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:04:42] local.INFO: Acknowledgment sent {"connection_id":124874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:05:00] local.INFO: TCP Data received {"connection_id":124876,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:05:00] local.INFO: Processing buffer {"connection_id":124876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:05:00] local.INFO: IMEI packet received {"connection_id":124876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":124876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:05:05] local.INFO: TCP Data received {"connection_id":124876,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:05:05] local.INFO: Processing buffer {"connection_id":124876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:05:05] local.INFO: IMEI packet received {"connection_id":124876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":124876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:05:06] local.INFO: TCP Data received {"connection_id":124876,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:05:06] local.INFO: Processing buffer {"connection_id":124876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:05:06] local.INFO: Packet analysis {"connection_id":124876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:05:06] local.INFO: Extracted packet for processing {"connection_id":124876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:05:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547239680001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:05:06] 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-07-07 07:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783387956000,"timestamp_ms":1783387956000,"timestamp_seconds":1783387956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a34a320"} 
[2026-07-07 07:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547239680001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547239680001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:05:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:05:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547239680001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":124876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:05:06] local.INFO: GPS data processed {"connection_id":124876,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:05:06] local.INFO: Acknowledgment sent {"connection_id":124876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:05:37] local.INFO: TCP Data received {"connection_id":124876,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:05:37] local.INFO: Processing buffer {"connection_id":124876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:05:37] local.INFO: Packet analysis {"connection_id":124876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:05:37] local.INFO: Extracted packet for processing {"connection_id":124876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:05:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547239680001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:05:37] 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-07-07 07:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783387956000,"timestamp_ms":1783387956000,"timestamp_seconds":1783387956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a34a320"} 
[2026-07-07 07:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547239680001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547239680001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:05:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:05:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547239680001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":124876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:05:37] local.INFO: GPS data processed {"connection_id":124876,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:05:37] local.INFO: Acknowledgment sent {"connection_id":124876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:06:00] local.INFO: TCP Data received {"connection_id":124201,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:06:00] local.INFO: Processing buffer {"connection_id":124201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:06:00] local.INFO: IMEI packet received {"connection_id":124201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":124201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:06:01] local.INFO: TCP Data received {"connection_id":124200,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:06:01] local.INFO: Processing buffer {"connection_id":124200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:06:01] local.INFO: IMEI packet received {"connection_id":124200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":124200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:06:02] local.INFO: TCP Data received {"connection_id":124200,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a36f0f8012d81610005d18310000400791b..."} 
[2026-07-07 07:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a36f0f8012d81610005d18310000400791b..."} 
[2026-07-07 07:06:02] local.INFO: Processing buffer {"connection_id":124200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a36f0f8012d81610005d18310000400791b..."} 
[2026-07-07 07:06:02] local.INFO: Packet analysis {"connection_id":124200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a36"} 
[2026-07-07 07:06:02] local.INFO: Extracted packet for processing {"connection_id":124200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a36"} 
[2026-07-07 07:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763453696,"raw_latitude":97616656,"longitude_deg":76.3453696,"latitude_deg":9.7616656,"altitude":4,"angle":121,"satellites":27,"speed":0,"hex_longitude":"2d816100","hex_latitude":"05d18310","is_valid_coordinates":true} 
[2026-07-07 07:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547350016001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103111345754341376,"note":"Value kept but may cause issues"} 
[2026-07-07 07:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9124011345086050304,"note":"Value kept but may cause issues"} 
[2026-07-07 07:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783388107000,"timestamp_ms":1783388107000,"timestamp_seconds":1783388107,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a36f0f8"} 
[2026-07-07 07:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-07-07 07:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:06:02] 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-07-07 07:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547350016001,"66":13678,"208":206,"85":15104,"24":0,"16":103111345754341376,"45":-9124011345086050304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-07 07:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547350016001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:06:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-07 07:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103111345754341376,"km_value":103111345754341.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9124011345086050304,"description":"Unknown IO ID 45"} 
[2026-07-07 07:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547350016001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9124011345086050304}} 
[2026-07-07 07:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":124200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:06:02] local.INFO: GPS data processed {"connection_id":124200,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:06:02] local.INFO: Acknowledgment sent {"connection_id":124200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:06:05] local.INFO: TCP Data received {"connection_id":124201,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:06:05] local.INFO: Processing buffer {"connection_id":124201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:06:05] local.INFO: IMEI packet received {"connection_id":124201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":124201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:06:06] local.INFO: TCP Data received {"connection_id":124201,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:06:06] local.INFO: Processing buffer {"connection_id":124201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:06:06] local.INFO: Packet analysis {"connection_id":124201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:06:06] local.INFO: Extracted packet for processing {"connection_id":124201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:06:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547239680001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:06:06] 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-07-07 07:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783387956000,"timestamp_ms":1783387956000,"timestamp_seconds":1783387956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a34a320"} 
[2026-07-07 07:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547239680001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547239680001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:06:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:06:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547239680001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":124201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:06:06] local.INFO: GPS data processed {"connection_id":124201,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:06:06] local.INFO: Acknowledgment sent {"connection_id":124201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:06:33] local.INFO: TCP Data received {"connection_id":124200,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a374300012d81610005d18310000400791a..."} 
[2026-07-07 07:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a374300012d81610005d18310000400791a..."} 
[2026-07-07 07:06:33] local.INFO: Processing buffer {"connection_id":124200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a374300012d81610005d18310000400791a..."} 
[2026-07-07 07:06:33] local.INFO: Packet analysis {"connection_id":124200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a37"} 
[2026-07-07 07:06:33] local.INFO: Extracted packet for processing {"connection_id":124200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a37"} 
[2026-07-07 07:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763453696,"raw_latitude":97616656,"longitude_deg":76.3453696,"latitude_deg":9.7616656,"altitude":4,"angle":121,"satellites":26,"speed":0,"hex_longitude":"2d816100","hex_latitude":"05d18310","is_valid_coordinates":true} 
[2026-07-07 07: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-07-07 07:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547355392001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103111345754341376,"note":"Value kept but may cause issues"} 
[2026-07-07 07:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9124011345086050304,"note":"Value kept but may cause issues"} 
[2026-07-07 07:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783388128000,"timestamp_ms":1783388128000,"timestamp_seconds":1783388128,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a374300"} 
[2026-07-07 07:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-07 07:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07: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-07-07 07:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:06:33] 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-07-07 07:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547355392001,"66":13798,"208":206,"85":15104,"24":0,"16":103111345754341376,"45":-9124011345086050304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-07 07:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547355392001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:06:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-07 07:06:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103111345754341376,"km_value":103111345754341.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9124011345086050304,"description":"Unknown IO ID 45"} 
[2026-07-07 07:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547355392001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9124011345086050304}} 
[2026-07-07 07:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":124200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:06:33] local.INFO: GPS data processed {"connection_id":124200,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:06:33] local.INFO: Acknowledgment sent {"connection_id":124200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:06:37] local.INFO: TCP Data received {"connection_id":124201,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:06:37] local.INFO: Processing buffer {"connection_id":124201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:06:37] local.INFO: Packet analysis {"connection_id":124201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:06:37] local.INFO: Extracted packet for processing {"connection_id":124201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:06:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547239680001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:06:37] 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-07-07 07:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783387956000,"timestamp_ms":1783387956000,"timestamp_seconds":1783387956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a34a320"} 
[2026-07-07 07:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547239680001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547239680001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:06:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:06:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547239680001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":124201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:06:37] local.INFO: GPS data processed {"connection_id":124201,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:06:37] local.INFO: Acknowledgment sent {"connection_id":124201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:06:54] local.INFO: TCP Data received {"connection_id":124092,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:06:54] local.INFO: Processing buffer {"connection_id":124092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:06:54] local.INFO: IMEI packet received {"connection_id":124092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":124092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:06:56] local.INFO: TCP Data received {"connection_id":124092,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:06:56] local.INFO: Processing buffer {"connection_id":124092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:06:56] local.INFO: IMEI packet received {"connection_id":124092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":124092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:06:59] local.INFO: TCP Data received {"connection_id":124202,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:06:59] local.INFO: Processing buffer {"connection_id":124202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:06:59] local.INFO: IMEI packet received {"connection_id":124202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":124202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:07:01] local.INFO: TCP Data received {"connection_id":124092,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:07:01] local.INFO: Processing buffer {"connection_id":124092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:07:01] local.INFO: IMEI packet received {"connection_id":124092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":124092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:07:02] local.INFO: TCP Data received {"connection_id":124092,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a379508012d81610005d18310000400791b..."} 
[2026-07-07 07:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a379508012d81610005d18310000400791b..."} 
[2026-07-07 07:07:02] local.INFO: Processing buffer {"connection_id":124092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a379508012d81610005d18310000400791b..."} 
[2026-07-07 07:07:02] local.INFO: Packet analysis {"connection_id":124092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a37"} 
[2026-07-07 07:07:02] local.INFO: Extracted packet for processing {"connection_id":124092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a37"} 
[2026-07-07 07:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763453696,"raw_latitude":97616656,"longitude_deg":76.3453696,"latitude_deg":9.7616656,"altitude":4,"angle":121,"satellites":27,"speed":0,"hex_longitude":"2d816100","hex_latitude":"05d18310","is_valid_coordinates":true} 
[2026-07-07 07:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547360768001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103111345754341376,"note":"Value kept but may cause issues"} 
[2026-07-07 07:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9124011345086050304,"note":"Value kept but may cause issues"} 
[2026-07-07 07:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783388149000,"timestamp_ms":1783388149000,"timestamp_seconds":1783388149,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a379508"} 
[2026-07-07 07:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-07 07:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:07:02] 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-07-07 07:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547360768001,"66":13689,"208":206,"85":15104,"24":0,"16":103111345754341376,"45":-9124011345086050304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-07 07:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547360768001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:07:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-07 07:07:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103111345754341376,"km_value":103111345754341.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9124011345086050304,"description":"Unknown IO ID 45"} 
[2026-07-07 07:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547360768001,"power":13689,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9124011345086050304}} 
[2026-07-07 07:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":124092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:07:02] local.INFO: GPS data processed {"connection_id":124092,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:07:02] local.INFO: Acknowledgment sent {"connection_id":124092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:07:05] local.INFO: TCP Data received {"connection_id":124202,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:07:05] local.INFO: Processing buffer {"connection_id":124202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:07:05] local.INFO: IMEI packet received {"connection_id":124202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":124202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:07:06] local.INFO: TCP Data received {"connection_id":124202,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:07:06] local.INFO: Processing buffer {"connection_id":124202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:07:06] local.INFO: Packet analysis {"connection_id":124202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:07:06] local.INFO: Extracted packet for processing {"connection_id":124202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:07:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547239680001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:07:06] 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-07-07 07:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783387956000,"timestamp_ms":1783387956000,"timestamp_seconds":1783387956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a34a320"} 
[2026-07-07 07:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547239680001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547239680001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:07:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:07:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547239680001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":124202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:07:06] local.INFO: GPS data processed {"connection_id":124202,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:07:06] local.INFO: Acknowledgment sent {"connection_id":124202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:07:33] local.INFO: TCP Data received {"connection_id":124092,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a37e710012d81610005d18310000400791e..."} 
[2026-07-07 07:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a37e710012d81610005d18310000400791e..."} 
[2026-07-07 07:07:33] local.INFO: Processing buffer {"connection_id":124092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a37e710012d81610005d18310000400791e..."} 
[2026-07-07 07:07:33] local.INFO: Packet analysis {"connection_id":124092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a37"} 
[2026-07-07 07:07:33] local.INFO: Extracted packet for processing {"connection_id":124092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a37"} 
[2026-07-07 07:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763453696,"raw_latitude":97616656,"longitude_deg":76.3453696,"latitude_deg":9.7616656,"altitude":4,"angle":121,"satellites":30,"speed":0,"hex_longitude":"2d816100","hex_latitude":"05d18310","is_valid_coordinates":true} 
[2026-07-07 07:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547366144001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103111345754341376,"note":"Value kept but may cause issues"} 
[2026-07-07 07:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9124011345086050304,"note":"Value kept but may cause issues"} 
[2026-07-07 07:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783388170000,"timestamp_ms":1783388170000,"timestamp_seconds":1783388170,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a37e710"} 
[2026-07-07 07:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-07-07 07:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07: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-07-07 07:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:07:33] 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-07-07 07:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547366144001,"66":13820,"208":206,"85":15104,"24":0,"16":103111345754341376,"45":-9124011345086050304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-07 07:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547366144001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:07:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-07 07:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103111345754341376,"km_value":103111345754341.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9124011345086050304,"description":"Unknown IO ID 45"} 
[2026-07-07 07:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547366144001,"power":13820,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9124011345086050304}} 
[2026-07-07 07:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":124092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:07:33] local.INFO: GPS data processed {"connection_id":124092,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:07:33] local.INFO: Acknowledgment sent {"connection_id":124092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:07:38] local.INFO: TCP Data received {"connection_id":124202,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:07:38] local.INFO: Processing buffer {"connection_id":124202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:07:38] local.INFO: Packet analysis {"connection_id":124202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:07:38] local.INFO: Extracted packet for processing {"connection_id":124202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:07:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547239680001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:07:38] 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-07-07 07:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783387956000,"timestamp_ms":1783387956000,"timestamp_seconds":1783387956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a34a320"} 
[2026-07-07 07:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547239680001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547239680001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:07:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:07:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547239680001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":124202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:07:38] local.INFO: GPS data processed {"connection_id":124202,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:07:38] local.INFO: Acknowledgment sent {"connection_id":124202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:07:57] local.INFO: TCP Data received {"connection_id":124093,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124093,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:07:57] local.INFO: Processing buffer {"connection_id":124093,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:07:57] local.INFO: IMEI packet received {"connection_id":124093,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":124093,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:07:59] local.INFO: TCP Data received {"connection_id":124093,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124093,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:07:59] local.INFO: Processing buffer {"connection_id":124093,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:07:59] local.INFO: IMEI packet received {"connection_id":124093,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":124093,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:07:59] local.INFO: TCP Data received {"connection_id":124877,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:07:59] local.INFO: Processing buffer {"connection_id":124877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:07:59] local.INFO: IMEI packet received {"connection_id":124877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":124877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:08:01] local.INFO: TCP Data received {"connection_id":124093,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124093,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:08:01] local.INFO: Processing buffer {"connection_id":124093,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:08:01] local.INFO: IMEI packet received {"connection_id":124093,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":124093,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:08:02] local.INFO: TCP Data received {"connection_id":124093,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a383918012d81610005d18310000400791f..."} 
[2026-07-07 07:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a383918012d81610005d18310000400791f..."} 
[2026-07-07 07:08:02] local.INFO: Processing buffer {"connection_id":124093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a383918012d81610005d18310000400791f..."} 
[2026-07-07 07:08:02] local.INFO: Packet analysis {"connection_id":124093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a38"} 
[2026-07-07 07:08:02] local.INFO: Extracted packet for processing {"connection_id":124093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a38"} 
[2026-07-07 07:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763453696,"raw_latitude":97616656,"longitude_deg":76.3453696,"latitude_deg":9.7616656,"altitude":4,"angle":121,"satellites":31,"speed":0,"hex_longitude":"2d816100","hex_latitude":"05d18310","is_valid_coordinates":true} 
[2026-07-07 07:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547371520001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103111345754341376,"note":"Value kept but may cause issues"} 
[2026-07-07 07:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9124011345086050304,"note":"Value kept but may cause issues"} 
[2026-07-07 07:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783388191000,"timestamp_ms":1783388191000,"timestamp_seconds":1783388191,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a383918"} 
[2026-07-07 07:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-07 07:08:02] 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-07-07 07:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:08:02] 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-07-07 07:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547371520001,"66":13798,"208":206,"85":15104,"24":0,"16":103111345754341376,"45":-9124011345086050304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-07 07:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547371520001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:08:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-07 07:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103111345754341376,"km_value":103111345754341.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9124011345086050304,"description":"Unknown IO ID 45"} 
[2026-07-07 07:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547371520001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9124011345086050304}} 
[2026-07-07 07:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":124093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:08:02] local.INFO: GPS data processed {"connection_id":124093,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:08:02] local.INFO: Acknowledgment sent {"connection_id":124093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:08:02] local.INFO: TCP Data received {"connection_id":124093,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a388b20012d81610005d18310000400791e..."} 
[2026-07-07 07:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a388b20012d81610005d18310000400791e..."} 
[2026-07-07 07:08:02] local.INFO: Processing buffer {"connection_id":124093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a388b20012d81610005d18310000400791e..."} 
[2026-07-07 07:08:02] local.INFO: Packet analysis {"connection_id":124093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a38"} 
[2026-07-07 07:08:02] local.INFO: Extracted packet for processing {"connection_id":124093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a38"} 
[2026-07-07 07:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763453696,"raw_latitude":97616656,"longitude_deg":76.3453696,"latitude_deg":9.7616656,"altitude":4,"angle":121,"satellites":30,"speed":0,"hex_longitude":"2d816100","hex_latitude":"05d18310","is_valid_coordinates":true} 
[2026-07-07 07:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547376896001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103111345754341376,"note":"Value kept but may cause issues"} 
[2026-07-07 07:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9124011345086050304,"note":"Value kept but may cause issues"} 
[2026-07-07 07:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783388212000,"timestamp_ms":1783388212000,"timestamp_seconds":1783388212,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a388b20"} 
[2026-07-07 07:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-07 07:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:08:02] 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-07-07 07:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547376896001,"66":13319,"208":206,"85":15104,"24":0,"16":103111345754341376,"45":-9124011345086050304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-07 07:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547376896001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:08:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-07 07:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103111345754341376,"km_value":103111345754341.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9124011345086050304,"description":"Unknown IO ID 45"} 
[2026-07-07 07:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547376896001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9124011345086050304}} 
[2026-07-07 07:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":124093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:08:02] local.INFO: GPS data processed {"connection_id":124093,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:08:02] local.INFO: Acknowledgment sent {"connection_id":124093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:08:05] local.INFO: TCP Data received {"connection_id":124877,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:08:05] local.INFO: Processing buffer {"connection_id":124877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:08:05] local.INFO: IMEI packet received {"connection_id":124877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":124877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:08:06] local.INFO: TCP Data received {"connection_id":124877,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:08:06] local.INFO: Processing buffer {"connection_id":124877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a34a320012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:08:06] local.INFO: Packet analysis {"connection_id":124877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:08:06] local.INFO: Extracted packet for processing {"connection_id":124877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a34"} 
[2026-07-07 07:08:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547239680001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:08:06] 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-07-07 07:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783387956000,"timestamp_ms":1783387956000,"timestamp_seconds":1783387956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a34a320"} 
[2026-07-07 07:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547239680001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547239680001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:08:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:08:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547239680001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":124877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:08:06] local.INFO: GPS data processed {"connection_id":124877,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:08:06] local.INFO: Acknowledgment sent {"connection_id":124877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:08:34] local.INFO: TCP Data received {"connection_id":124093,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a39bbd0012d818f0005d185380006006920..."} 
[2026-07-07 07:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a39bbd0012d818f0005d185380006006920..."} 
[2026-07-07 07:08:34] local.INFO: Processing buffer {"connection_id":124093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a39bbd0012d818f0005d185380006006920..."} 
[2026-07-07 07:08:34] local.INFO: Packet analysis {"connection_id":124093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:08:34] local.INFO: Extracted packet for processing {"connection_id":124093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:08:34] local.INFO: GPS Element Parsed {"raw_longitude":763465472,"raw_latitude":97617208,"longitude_deg":76.3465472,"latitude_deg":9.7617208,"altitude":6,"angle":105,"satellites":32,"speed":31,"hex_longitude":"2d818f00","hex_latitude":"05d18538","is_valid_coordinates":true} 
[2026-07-07 07:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547401728001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103111938459828224,"note":"Value kept but may cause issues"} 
[2026-07-07 07:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9112611608528996352,"note":"Value kept but may cause issues"} 
[2026-07-07 07:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783388290000,"timestamp_ms":1783388290000,"timestamp_seconds":1783388290,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a39bbd0"} 
[2026-07-07 07:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-07 07:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:08:34] 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-07-07 07:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547401728001,"66":13472,"208":206,"85":15104,"24":31,"16":103111938459828224,"45":-9112611608528996352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-07 07:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547401728001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:08:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-07 07:08:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103111938459828224,"km_value":103111938459828.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9112611608528996352,"description":"Unknown IO ID 45"} 
[2026-07-07 07:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547401728001,"power":13472,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9112611608528996352}} 
[2026-07-07 07:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":124093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:08:34] local.INFO: GPS data processed {"connection_id":124093,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:08:34] local.INFO: Acknowledgment sent {"connection_id":124093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:08:37] local.INFO: TCP Data received {"connection_id":124877,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:08:37] local.INFO: Processing buffer {"connection_id":124877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:08:37] local.INFO: Packet analysis {"connection_id":124877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:08:37] local.INFO: Extracted packet for processing {"connection_id":124877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:08:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547316736001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:08:37] 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-07-07 07:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783388257000,"timestamp_ms":1783388257000,"timestamp_seconds":1783388257,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a393ae8"} 
[2026-07-07 07:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 07:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547316736001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547316736001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:08:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:08:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547316736001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":124877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:08:37] local.INFO: GPS data processed {"connection_id":124877,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:08:37] local.INFO: Acknowledgment sent {"connection_id":124877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:09:00] local.INFO: TCP Data received {"connection_id":124095,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:09:00] local.INFO: Processing buffer {"connection_id":124095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:09:00] local.INFO: IMEI packet received {"connection_id":124095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":124095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:09:00] local.INFO: TCP Data received {"connection_id":126116,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:09:00] local.INFO: Processing buffer {"connection_id":126116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:09:00] local.INFO: IMEI packet received {"connection_id":126116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":126116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:09:01] local.INFO: TCP Data received {"connection_id":126116,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:09:01] local.INFO: Processing buffer {"connection_id":126116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:09:01] local.INFO: IMEI packet received {"connection_id":126116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":126116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:09:02] local.INFO: TCP Data received {"connection_id":126116,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:09:02] local.INFO: Processing buffer {"connection_id":126116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:09:02] local.INFO: IMEI packet received {"connection_id":126116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":126116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:09:02] local.INFO: TCP Data received {"connection_id":126116,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a39c788012d81994005d184380005005d20..."} 
[2026-07-07 07:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a39c788012d81994005d184380005005d20..."} 
[2026-07-07 07:09:02] local.INFO: Processing buffer {"connection_id":126116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a39c788012d81994005d184380005005d20..."} 
[2026-07-07 07:09:02] local.INFO: Packet analysis {"connection_id":126116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:09:02] local.INFO: Extracted packet for processing {"connection_id":126116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763468096,"raw_latitude":97616952,"longitude_deg":76.3468096,"latitude_deg":9.7616952,"altitude":5,"angle":93,"satellites":32,"speed":34,"hex_longitude":"2d819940","hex_latitude":"05d18438","is_valid_coordinates":true} 
[2026-07-07 07:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547402240001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103112063013879808,"note":"Value kept but may cause issues"} 
[2026-07-07 07:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9111063496157218816,"note":"Value kept but may cause issues"} 
[2026-07-07 07:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783388293000,"timestamp_ms":1783388293000,"timestamp_seconds":1783388293,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a39c788"} 
[2026-07-07 07:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-07 07:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:09:02] 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-07-07 07:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547402240001,"66":13472,"208":206,"85":15104,"24":34,"16":103112063013879808,"45":-9111063496157218816},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-07 07:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547402240001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:09:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-07 07:09:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103112063013879808,"km_value":103112063013879.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9111063496157218816,"description":"Unknown IO ID 45"} 
[2026-07-07 07:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547402240001,"power":13472,"unknown_208":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9111063496157218816}} 
[2026-07-07 07:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":126116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:09:02] local.INFO: GPS data processed {"connection_id":126116,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:09:02] local.INFO: Acknowledgment sent {"connection_id":126116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:09:05] local.INFO: TCP Data received {"connection_id":124095,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:09:05] local.INFO: Processing buffer {"connection_id":124095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:09:05] local.INFO: IMEI packet received {"connection_id":124095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":124095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:09:06] local.INFO: TCP Data received {"connection_id":124095,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:09:06] local.INFO: Processing buffer {"connection_id":124095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:09:06] local.INFO: Packet analysis {"connection_id":124095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:09:06] local.INFO: Extracted packet for processing {"connection_id":124095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:09:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547316736001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:09:06] 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-07-07 07:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783388257000,"timestamp_ms":1783388257000,"timestamp_seconds":1783388257,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a393ae8"} 
[2026-07-07 07:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 07:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547316736001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547316736001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:09:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:09:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547316736001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":124095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:09:06] local.INFO: GPS data processed {"connection_id":124095,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:09:06] local.INFO: Acknowledgment sent {"connection_id":124095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:09:31] local.INFO: TCP Data received {"connection_id":124094,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:09:31] local.INFO: Processing buffer {"connection_id":124094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:09:31] local.INFO: IMEI packet received {"connection_id":124094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 07:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":124094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:09:33] local.INFO: TCP Data received {"connection_id":126116,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a39ee98012d81bd8005d184080004005b20..."} 
[2026-07-07 07:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a39ee98012d81bd8005d184080004005b20..."} 
[2026-07-07 07:09:33] local.INFO: Processing buffer {"connection_id":126116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a39ee98012d81bd8005d184080004005b20..."} 
[2026-07-07 07:09:33] local.INFO: Packet analysis {"connection_id":126116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:09:33] local.INFO: Extracted packet for processing {"connection_id":126116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763477376,"raw_latitude":97616904,"longitude_deg":76.3477376,"latitude_deg":9.7616904,"altitude":4,"angle":91,"satellites":32,"speed":26,"hex_longitude":"2d81bd80","hex_latitude":"05d18408","is_valid_coordinates":true} 
[2026-07-07 07: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-07-07 07:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547403008001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103112505395511296,"note":"Value kept but may cause issues"} 
[2026-07-07 07:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9108178377646000128,"note":"Value kept but may cause issues"} 
[2026-07-07 07:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783388303000,"timestamp_ms":1783388303000,"timestamp_seconds":1783388303,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a39ee98"} 
[2026-07-07 07:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-07 07:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07: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-07-07 07:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:09:33] 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-07-07 07:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547403008001,"66":12885,"208":206,"85":15104,"24":26,"16":103112505395511296,"45":-9108178377646000128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-07 07:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547403008001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:09:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-07 07:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103112505395511296,"km_value":103112505395511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9108178377646000128,"description":"Unknown IO ID 45"} 
[2026-07-07 07:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547403008001,"power":12885,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9108178377646000128}} 
[2026-07-07 07:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":126116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:09:33] local.INFO: GPS data processed {"connection_id":126116,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:09:33] local.INFO: Acknowledgment sent {"connection_id":126116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:09:37] local.INFO: TCP Data received {"connection_id":124095,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:09:37] local.INFO: Processing buffer {"connection_id":124095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:09:37] local.INFO: Packet analysis {"connection_id":124095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:09:37] local.INFO: Extracted packet for processing {"connection_id":124095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:09:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547316736001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:09:37] 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-07-07 07:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783388257000,"timestamp_ms":1783388257000,"timestamp_seconds":1783388257,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a393ae8"} 
[2026-07-07 07:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 07:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547316736001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547316736001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:09:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:09:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547316736001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":124095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:09:37] local.INFO: GPS data processed {"connection_id":124095,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:09:37] local.INFO: Acknowledgment sent {"connection_id":124095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:09:54] local.INFO: TCP Data received {"connection_id":124878,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:09:54] local.INFO: Processing buffer {"connection_id":124878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:09:54] local.INFO: IMEI packet received {"connection_id":124878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":124878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:09:56] local.INFO: TCP Data received {"connection_id":124878,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:09:56] local.INFO: Processing buffer {"connection_id":124878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:09:56] local.INFO: IMEI packet received {"connection_id":124878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":124878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:09:59] local.INFO: TCP Data received {"connection_id":124878,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:09:59] local.INFO: Processing buffer {"connection_id":124878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:09:59] local.INFO: IMEI packet received {"connection_id":124878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":124878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:09:59] local.INFO: TCP Data received {"connection_id":124203,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:09:59] local.INFO: Processing buffer {"connection_id":124203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:09:59] local.INFO: IMEI packet received {"connection_id":124203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 07:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":124203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:10:00] local.INFO: TCP Data received {"connection_id":124879,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:10:00] local.INFO: Processing buffer {"connection_id":124879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:10:00] local.INFO: IMEI packet received {"connection_id":124879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":124879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:10:05] local.INFO: TCP Data received {"connection_id":124879,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:10:05] local.INFO: Processing buffer {"connection_id":124879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:10:05] local.INFO: IMEI packet received {"connection_id":124879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":124879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:10:06] local.INFO: TCP Data received {"connection_id":124879,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:10:06] local.INFO: Processing buffer {"connection_id":124879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:10:06] local.INFO: Packet analysis {"connection_id":124879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:10:06] local.INFO: Extracted packet for processing {"connection_id":124879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:10:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547316736001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:10:06] 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-07-07 07:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783388257000,"timestamp_ms":1783388257000,"timestamp_seconds":1783388257,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a393ae8"} 
[2026-07-07 07:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 07:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547316736001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547316736001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:10:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:10:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547316736001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":124879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:10:06] local.INFO: GPS data processed {"connection_id":124879,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:10:06] local.INFO: Acknowledgment sent {"connection_id":124879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:10:37] local.INFO: TCP Data received {"connection_id":124879,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:10:37] local.INFO: Processing buffer {"connection_id":124879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:10:37] local.INFO: Packet analysis {"connection_id":124879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:10:37] local.INFO: Extracted packet for processing {"connection_id":124879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:10:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547316736001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:10:37] 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-07-07 07:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783388257000,"timestamp_ms":1783388257000,"timestamp_seconds":1783388257,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a393ae8"} 
[2026-07-07 07:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 07:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547316736001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547316736001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:10:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:10:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547316736001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":124879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:10:37] local.INFO: GPS data processed {"connection_id":124879,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:10:37] local.INFO: Acknowledgment sent {"connection_id":124879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:10:53] local.INFO: TCP Data received {"connection_id":124878,"ip":"42.106.6.31","data_length":888,"data_hex":"000000000000030f8e0a0000019f3a3ae4b0012d82708005d16658000a005621..."} 
[2026-07-07 07:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124878,"packet_length":888,"packet_hex":"000000000000030f8e0a0000019f3a3ae4b0012d82708005d16658000a005621..."} 
[2026-07-07 07:10:53] local.INFO: Processing buffer {"connection_id":124878,"buffer_length":888,"buffer_hex":"000000000000030f8e0a0000019f3a3ae4b0012d82708005d16658000a005621..."} 
[2026-07-07 07:10:53] local.INFO: Packet analysis {"connection_id":124878,"data_field_length":783,"total_packet_length":795,"buffer_length":888,"packet_hex_start":"000000000000030f8e0a0000019f3a3a"} 
[2026-07-07 07:10:53] local.INFO: Extracted packet for processing {"connection_id":124878,"packet_length":795,"remaining_buffer_length":93,"packet_hex_start":"000000000000030f8e0a0000019f3a3a"} 
[2026-07-07 07:10:53] local.INFO: GPS Element Parsed {"raw_longitude":763523200,"raw_latitude":97609304,"longitude_deg":76.35232,"latitude_deg":9.7609304,"altitude":10,"angle":86,"satellites":33,"speed":39,"hex_longitude":"2d827080","hex_latitude":"05d16658","is_valid_coordinates":true} 
[2026-07-07 07:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547419392001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103114777433210880,"note":"Value kept but may cause issues"} 
[2026-07-07 07:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9057864725560999936,"note":"Value kept but may cause issues"} 
[2026-07-07 07:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783388366000,"timestamp_ms":1783388366000,"timestamp_seconds":1783388366,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3ae4b0"} 
[2026-07-07 07:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 07:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":124878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":124878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":124878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:10:53] 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-07-07 07:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547419392001,"66":13602,"64":206,"85":15104,"24":39,"16":103114777433210880,"45":-9057864725560999936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-07 07:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547419392001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:10:53] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-07 07:10:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103114777433210880,"km_value":103114777433210.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9057864725560999936,"description":"Unknown IO ID 45"} 
[2026-07-07 07:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547419392001,"power":13602,"unknown_64":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9057864725560999936}} 
[2026-07-07 07:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":124878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:10:53] local.INFO: GPS data processed {"connection_id":124878,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:10:53] local.INFO: Acknowledgment sent {"connection_id":124878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:10:53] local.INFO: Packet analysis {"connection_id":124878,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f3a3b"} 
[2026-07-07 07:10:53] local.INFO: Extracted packet for processing {"connection_id":124878,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f3a3b"} 
[2026-07-07 07:10:53] local.INFO: GPS Element Parsed {"raw_longitude":763573056,"raw_latitude":97604112,"longitude_deg":76.3573056,"latitude_deg":9.7604112,"altitude":12,"angle":122,"satellites":33,"speed":13,"hex_longitude":"2d833340","hex_latitude":"05d15210","is_valid_coordinates":true} 
[2026-07-07 07:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-07 07:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:10:53] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:10:53] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 07:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":124878,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-07 07:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":124878,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-07 07:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":124878,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-07 07:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 07:10:53] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 07:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":124878,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 07:10:53] local.ERROR: GPS data processing failed {"connection_id":124878,"error":"No valid data to process"} 
[2026-07-07 07:10:53] local.INFO: Acknowledgment sent {"connection_id":124878,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 07:10:56] local.INFO: TCP Data received {"connection_id":126117,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:10:56] local.INFO: Processing buffer {"connection_id":126117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:10:56] local.INFO: IMEI packet received {"connection_id":126117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":126117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:10:59] local.INFO: TCP Data received {"connection_id":126117,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:10:59] local.INFO: Processing buffer {"connection_id":126117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:10:59] local.INFO: IMEI packet received {"connection_id":126117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":126117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:10:59] local.INFO: TCP Data received {"connection_id":126117,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3bd6e0012d83344005d15070000c00a021..."} 
[2026-07-07 07:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3bd6e0012d83344005d15070000c00a021..."} 
[2026-07-07 07:10:59] local.INFO: Processing buffer {"connection_id":126117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3bd6e0012d83344005d15070000c00a021..."} 
[2026-07-07 07:10:59] local.INFO: Packet analysis {"connection_id":126117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3b"} 
[2026-07-07 07:10:59] local.INFO: Extracted packet for processing {"connection_id":126117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3b"} 
[2026-07-07 07:10:59] local.INFO: GPS Element Parsed {"raw_longitude":763573312,"raw_latitude":97603696,"longitude_deg":76.3573312,"latitude_deg":9.7603696,"altitude":12,"angle":160,"satellites":33,"speed":7,"hex_longitude":"2d833440","hex_latitude":"05d15070","is_valid_coordinates":true} 
[2026-07-07 07:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547437312001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103117268514242560,"note":"Value kept but may cause issues"} 
[2026-07-07 07:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965440512,"note":"Value kept but may cause issues"} 
[2026-07-07 07:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783388428000,"timestamp_ms":1783388428000,"timestamp_seconds":1783388428,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3bd6e0"} 
[2026-07-07 07:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-07 07:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":126117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":126117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":126117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547437312001,"66":13374,"64":206,"85":15104,"24":7,"16":103117268514242560,"45":-8992562530965440512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-07 07:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547437312001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:10:59] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-07 07:10:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103117268514242560,"km_value":103117268514242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965440512,"description":"Unknown IO ID 45"} 
[2026-07-07 07:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547437312001,"power":13374,"unknown_64":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-8992562530965440512}} 
[2026-07-07 07:10:59] local.INFO: TCP Data received {"connection_id":124880,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:10:59] local.INFO: Processing buffer {"connection_id":124880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:10:59] local.INFO: IMEI packet received {"connection_id":124880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":124880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":126117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:10:59] local.INFO: GPS data processed {"connection_id":126117,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:10:59] local.INFO: Acknowledgment sent {"connection_id":126117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:11:05] local.INFO: TCP Data received {"connection_id":124880,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:11:05] local.INFO: Processing buffer {"connection_id":124880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:11:05] local.INFO: IMEI packet received {"connection_id":124880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":124880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:11:06] local.INFO: TCP Data received {"connection_id":124880,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:11:06] local.INFO: Processing buffer {"connection_id":124880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:11:06] local.INFO: Packet analysis {"connection_id":124880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:11:06] local.INFO: Extracted packet for processing {"connection_id":124880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:11:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547316736001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:11:06] 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-07-07 07:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783388257000,"timestamp_ms":1783388257000,"timestamp_seconds":1783388257,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a393ae8"} 
[2026-07-07 07:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 07:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547316736001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547316736001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:11:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:11:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547316736001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":124880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:11:06] local.INFO: GPS data processed {"connection_id":124880,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:11:06] local.INFO: Acknowledgment sent {"connection_id":124880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:11:30] local.INFO: TCP Data received {"connection_id":126117,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3bf238012d83340005d15168000b016320..."} 
[2026-07-07 07:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3bf238012d83340005d15168000b016320..."} 
[2026-07-07 07:11:30] local.INFO: Processing buffer {"connection_id":126117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3bf238012d83340005d15168000b016320..."} 
[2026-07-07 07:11:30] local.INFO: Packet analysis {"connection_id":126117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3b"} 
[2026-07-07 07:11:30] local.INFO: Extracted packet for processing {"connection_id":126117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3b"} 
[2026-07-07 07:11:30] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97603944,"longitude_deg":76.3573248,"latitude_deg":9.7603944,"altitude":11,"angle":355,"satellites":32,"speed":7,"hex_longitude":"2d833400","hex_latitude":"05d15168","is_valid_coordinates":true} 
[2026-07-07 07:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547437568001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103117289989079040,"note":"Value kept but may cause issues"} 
[2026-07-07 07:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992492162221314048,"note":"Value kept but may cause issues"} 
[2026-07-07 07:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783388435000,"timestamp_ms":1783388435000,"timestamp_seconds":1783388435,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3bf238"} 
[2026-07-07 07:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-07 07:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":126117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":126117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":126117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547437568001,"66":13319,"64":206,"85":15104,"24":7,"16":103117289989079040,"45":-8992492162221314048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-07 07:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547437568001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:11:30] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-07 07:11:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103117289989079040,"km_value":103117289989079.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992492162221314048,"description":"Unknown IO ID 45"} 
[2026-07-07 07:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547437568001,"power":13319,"unknown_64":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-8992492162221314048}} 
[2026-07-07 07:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":126117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:11:31] local.INFO: GPS data processed {"connection_id":126117,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:11:31] local.INFO: Acknowledgment sent {"connection_id":126117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:11:37] local.INFO: TCP Data received {"connection_id":124880,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:11:37] local.INFO: Processing buffer {"connection_id":124880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:11:37] local.INFO: Packet analysis {"connection_id":124880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:11:37] local.INFO: Extracted packet for processing {"connection_id":124880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:11:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547316736001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:11:37] 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-07-07 07:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783388257000,"timestamp_ms":1783388257000,"timestamp_seconds":1783388257,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a393ae8"} 
[2026-07-07 07:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 07:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547316736001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547316736001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:11:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:11:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547316736001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":124880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:11:37] local.INFO: GPS data processed {"connection_id":124880,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:11:37] local.INFO: Acknowledgment sent {"connection_id":124880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:11:56] local.INFO: TCP Data received {"connection_id":126119,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:11:56] local.INFO: Processing buffer {"connection_id":126119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:11:56] local.INFO: IMEI packet received {"connection_id":126119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":126119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:11:59] local.INFO: TCP Data received {"connection_id":126121,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:11:59] local.INFO: Processing buffer {"connection_id":126121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:11:59] local.INFO: IMEI packet received {"connection_id":126121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":126121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:12:01] local.INFO: TCP Data received {"connection_id":126119,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:12:01] local.INFO: Processing buffer {"connection_id":126119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:12:01] local.INFO: IMEI packet received {"connection_id":126119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":126119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:12:01] local.INFO: TCP Data received {"connection_id":126119,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3bf620012d83340005d15218000b000520..."} 
[2026-07-07 07:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3bf620012d83340005d15218000b000520..."} 
[2026-07-07 07:12:01] local.INFO: Processing buffer {"connection_id":126119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3bf620012d83340005d15218000b000520..."} 
[2026-07-07 07:12:01] local.INFO: Packet analysis {"connection_id":126119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3b"} 
[2026-07-07 07:12:01] local.INFO: Extracted packet for processing {"connection_id":126119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3b"} 
[2026-07-07 07:12:01] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97604120,"longitude_deg":76.3573248,"latitude_deg":9.760412,"altitude":11,"angle":5,"satellites":32,"speed":7,"hex_longitude":"2d833400","hex_latitude":"05d15218","is_valid_coordinates":true} 
[2026-07-07 07:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547439360001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103117298579013632,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965428224,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783388436000,"timestamp_ms":1783388436000,"timestamp_seconds":1783388436,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3bf620"} 
[2026-07-07 07:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 07:12:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:01] local.WARNING: Large IO value detected {"io_id":88,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201108485,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:01] local.WARNING: Large IO value detected {"io_id":209,"raw_value":6449154717940588544,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-07-07 07:12:01] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2684431747,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:01] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040078,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3512074240,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:01] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57788407024080187,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:01] local.WARNING: Large IO value detected {"io_id":59,"raw_value":9009452349535207429,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:01] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,64,85,24,241,157,16,88,159,214,45,80,12,33,10,66,210,81,207,1,240,187,227,58,209,4,113,205,14,183,37,224,239,51,2,110,5,13,49,94,59],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-07-07 07:12:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793023998484480000,"timestamp_seconds":793023998484480,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 07:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:12:01] 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-07-07 07:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547439360001,"66":13319,"64":206,"85":15104,"24":7,"16":103117298579013632,"45":-8992562530965428224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-07 07:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547439360001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:12:01] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-07 07:12:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103117298579013632,"km_value":103117298579013.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965428224,"description":"Unknown IO ID 45"} 
[2026-07-07 07:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547439360001,"power":13319,"unknown_64":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-8992562530965428224}} 
[2026-07-07 07:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":126119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:12:01] local.INFO: GPS data processed {"connection_id":126119,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:12:01] local.INFO: Acknowledgment sent {"connection_id":126119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:12:05] local.INFO: TCP Data received {"connection_id":126121,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:12:05] local.INFO: Processing buffer {"connection_id":126121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:12:05] local.INFO: IMEI packet received {"connection_id":126121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":126121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:12:10] local.INFO: TCP Data received {"connection_id":126121,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:12:10] local.INFO: Processing buffer {"connection_id":126121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:12:10] local.INFO: Packet analysis {"connection_id":126121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:12:10] local.INFO: Extracted packet for processing {"connection_id":126121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:12:10] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547316736001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:10] 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-07-07 07:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783388257000,"timestamp_ms":1783388257000,"timestamp_seconds":1783388257,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a393ae8"} 
[2026-07-07 07:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 07:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547316736001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547316736001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:12:10] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:12:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547316736001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":126121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:12:10] local.INFO: GPS data processed {"connection_id":126121,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:12:10] local.INFO: Acknowledgment sent {"connection_id":126121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:12:32] local.INFO: TCP Data received {"connection_id":126119,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3c4828012d83344005d15378000c000d1f..."} 
[2026-07-07 07:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3c4828012d83344005d15378000c000d1f..."} 
[2026-07-07 07:12:32] local.INFO: Processing buffer {"connection_id":126119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3c4828012d83344005d15378000c000d1f..."} 
[2026-07-07 07:12:32] local.INFO: Packet analysis {"connection_id":126119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3c"} 
[2026-07-07 07:12:32] local.INFO: Extracted packet for processing {"connection_id":126119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3c"} 
[2026-07-07 07:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763573312,"raw_latitude":97604472,"longitude_deg":76.3573312,"latitude_deg":9.7604472,"altitude":12,"angle":13,"satellites":31,"speed":0,"hex_longitude":"2d833440","hex_latitude":"05d15378","is_valid_coordinates":true} 
[2026-07-07 07:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547439616001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103117315758882816,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965383168,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783388457000,"timestamp_ms":1783388457000,"timestamp_seconds":1783388457,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3c4828"} 
[2026-07-07 07:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 07:12:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:32] local.WARNING: Large IO value detected {"io_id":88,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201174021,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:32] local.WARNING: Large IO value detected {"io_id":209,"raw_value":6196953143102480128,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-07-07 07:12:32] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":671165827,"corrected_to":0} 
[2026-07-07 07:12:32] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391950,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511934976,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:32] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57788407024080187,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:32] local.WARNING: Large IO value detected {"io_id":59,"raw_value":-7466966887197360123,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:32] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,64,85,24,241,157,16,88,159,242,45,81,11,32,10,66,214,80,12,33,210,1,240,62,227,58,209,4,113,205,13,203,50,160,239,51,2,110,5,38,220,59],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0},{"io_id":203,"original":671165827,"validated":0}]} 
[2026-07-07 07:12:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792639169414758400,"timestamp_seconds":792639169414758.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 07:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:12:32] 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-07-07 07:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547439616001,"66":13189,"64":206,"85":15104,"24":0,"16":103117315758882816,"45":-8992562530965383168},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-07 07:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547439616001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:12:32] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-07 07:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103117315758882816,"km_value":103117315758882.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965383168,"description":"Unknown IO ID 45"} 
[2026-07-07 07:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547439616001,"power":13189,"unknown_64":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992562530965383168}} 
[2026-07-07 07:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":126119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:12:32] local.INFO: GPS data processed {"connection_id":126119,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:12:32] local.INFO: Acknowledgment sent {"connection_id":126119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:12:41] local.INFO: TCP Data received {"connection_id":126121,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:12:41] local.INFO: Processing buffer {"connection_id":126121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:12:41] local.INFO: Packet analysis {"connection_id":126121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:12:41] local.INFO: Extracted packet for processing {"connection_id":126121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:12:41] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547316736001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:12:41] 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-07-07 07:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783388257000,"timestamp_ms":1783388257000,"timestamp_seconds":1783388257,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a393ae8"} 
[2026-07-07 07:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 07:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547316736001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547316736001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:12:41] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:12:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547316736001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":126121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:12:41] local.INFO: GPS data processed {"connection_id":126121,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:12:41] local.INFO: Acknowledgment sent {"connection_id":126121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:12:55] local.INFO: TCP Data received {"connection_id":126122,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:12:55] local.INFO: Processing buffer {"connection_id":126122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:12:55] local.INFO: IMEI packet received {"connection_id":126122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":126122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:12:56] local.INFO: TCP Data received {"connection_id":126122,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:12:56] local.INFO: Processing buffer {"connection_id":126122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:12:56] local.INFO: IMEI packet received {"connection_id":126122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":126122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:12:59] local.INFO: TCP Data received {"connection_id":124204,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:12:59] local.INFO: Processing buffer {"connection_id":124204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:12:59] local.INFO: IMEI packet received {"connection_id":124204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":124204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:13:00] local.INFO: TCP Data received {"connection_id":126122,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:13:00] local.INFO: Processing buffer {"connection_id":126122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:13:00] local.INFO: IMEI packet received {"connection_id":126122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":126122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:13:01] local.INFO: TCP Data received {"connection_id":126122,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3dcec8012d83054005d15580000e011121..."} 
[2026-07-07 07:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3dcec8012d83054005d15580000e011121..."} 
[2026-07-07 07:13:01] local.INFO: Processing buffer {"connection_id":126122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3dcec8012d83054005d15580000e011121..."} 
[2026-07-07 07:13:01] local.INFO: Packet analysis {"connection_id":126122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:13:01] local.INFO: Extracted packet for processing {"connection_id":126122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763561280,"raw_latitude":97604992,"longitude_deg":76.356128,"latitude_deg":9.7604992,"altitude":14,"angle":273,"satellites":33,"speed":42,"hex_longitude":"2d830540","hex_latitude":"05d15580","is_valid_coordinates":true} 
[2026-07-07 07:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547467776001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103117934234173440,"note":"Value kept but may cause issues"} 
[2026-07-07 07:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8995588386964965376,"note":"Value kept but may cause issues"} 
[2026-07-07 07:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783388557000,"timestamp_ms":1783388557000,"timestamp_seconds":1783388557,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3dcec8"} 
[2026-07-07 07:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:13: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":122,"data_length":795,"current_offset":136} 
[2026-07-07 07:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:13:01] 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-07-07 07:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547467776001,"66":13374,"64":206,"85":15104,"24":42,"16":103117934234173440,"45":-8995588386964965376},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-07 07:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547467776001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:13:01] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-07 07:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103117934234173440,"km_value":103117934234173.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8995588386964965376,"description":"Unknown IO ID 45"} 
[2026-07-07 07:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547467776001,"power":13374,"unknown_64":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-8995588386964965376}} 
[2026-07-07 07:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":126122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:13:01] local.INFO: GPS data processed {"connection_id":126122,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:13:01] local.INFO: Acknowledgment sent {"connection_id":126122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:13:05] local.INFO: TCP Data received {"connection_id":124204,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:13:05] local.INFO: Processing buffer {"connection_id":124204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:13:05] local.INFO: IMEI packet received {"connection_id":124204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":124204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:13:06] local.INFO: TCP Data received {"connection_id":124204,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:13:06] local.INFO: Processing buffer {"connection_id":124204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a393ae8012d6efe80064499f8000f004629..."} 
[2026-07-07 07:13:06] local.INFO: Packet analysis {"connection_id":124204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:13:06] local.INFO: Extracted packet for processing {"connection_id":124204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a39"} 
[2026-07-07 07:13:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547316736001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:13:06] 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-07-07 07:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783388257000,"timestamp_ms":1783388257000,"timestamp_seconds":1783388257,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a393ae8"} 
[2026-07-07 07:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 07:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547316736001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547316736001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:13:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:13:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547316736001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":124204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:13:06] local.INFO: GPS data processed {"connection_id":124204,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:13:06] local.INFO: Acknowledgment sent {"connection_id":124204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:13:32] local.INFO: TCP Data received {"connection_id":126122,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3dee08012d82df8005d15830000d011522..."} 
[2026-07-07 07:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3dee08012d82df8005d15830000d011522..."} 
[2026-07-07 07:13:32] local.INFO: Processing buffer {"connection_id":126122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3dee08012d82df8005d15830000d011522..."} 
[2026-07-07 07:13:32] local.INFO: Packet analysis {"connection_id":126122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:13:32] local.INFO: Extracted packet for processing {"connection_id":126122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763551616,"raw_latitude":97605680,"longitude_deg":76.3551616,"latitude_deg":9.760568,"altitude":13,"angle":277,"satellites":34,"speed":48,"hex_longitude":"2d82df80","hex_latitude":"05d15830","is_valid_coordinates":true} 
[2026-07-07 07:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547470592001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103118393795674112,"note":"Value kept but may cause issues"} 
[2026-07-07 07:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9005721486126383104,"note":"Value kept but may cause issues"} 
[2026-07-07 07:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783388565000,"timestamp_ms":1783388565000,"timestamp_seconds":1783388565,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3dee08"} 
[2026-07-07 07:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-07 07:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:13:32] 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-07-07 07:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547470592001,"66":13363,"64":206,"85":15104,"24":48,"16":103118393795674112,"45":-9005721486126383104},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-07 07:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547470592001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:13:32] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-07 07:13:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103118393795674112,"km_value":103118393795674.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9005721486126383104,"description":"Unknown IO ID 45"} 
[2026-07-07 07:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547470592001,"power":13363,"unknown_64":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9005721486126383104}} 
[2026-07-07 07:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":126122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:13:32] local.INFO: GPS data processed {"connection_id":126122,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:13:32] local.INFO: Acknowledgment sent {"connection_id":126122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:13:37] local.INFO: TCP Data received {"connection_id":124204,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:13:37] local.INFO: Processing buffer {"connection_id":124204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:13:37] local.INFO: Packet analysis {"connection_id":124204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:13:37] local.INFO: Extracted packet for processing {"connection_id":124204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:13:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":45,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547393792001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:13:37] 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-07-07 07:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783388558000,"timestamp_ms":1783388558000,"timestamp_seconds":1783388558,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3dd2b0"} 
[2026-07-07 07:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547393792001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547393792001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:13:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:13:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547393792001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":124204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:13:37] local.INFO: GPS data processed {"connection_id":124204,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:13:37] local.INFO: Acknowledgment sent {"connection_id":124204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:13:56] local.INFO: TCP Data received {"connection_id":124096,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:13:56] local.INFO: Processing buffer {"connection_id":124096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:13:56] local.INFO: IMEI packet received {"connection_id":124096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":124096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:14:00] local.INFO: TCP Data received {"connection_id":124882,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:14:00] local.INFO: Processing buffer {"connection_id":124882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:14:00] local.INFO: IMEI packet received {"connection_id":124882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":124882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:14:01] local.INFO: TCP Data received {"connection_id":124096,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:14:01] local.INFO: Processing buffer {"connection_id":124096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:14:01] local.INFO: IMEI packet received {"connection_id":124096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":124096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:14:02] local.INFO: TCP Data received {"connection_id":124096,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3e0d48012d82b88005d15f000009011921..."} 
[2026-07-07 07:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3e0d48012d82b88005d15f000009011921..."} 
[2026-07-07 07:14:02] local.INFO: Processing buffer {"connection_id":124096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3e0d48012d82b88005d15f000009011921..."} 
[2026-07-07 07:14:02] local.INFO: Packet analysis {"connection_id":124096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3e"} 
[2026-07-07 07:14:02] local.INFO: Extracted packet for processing {"connection_id":124096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3e"} 
[2026-07-07 07:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763541632,"raw_latitude":97607424,"longitude_deg":76.3541632,"latitude_deg":9.7607424,"altitude":9,"angle":281,"satellites":33,"speed":50,"hex_longitude":"2d82b880","hex_latitude":"05d15f00","is_valid_coordinates":true} 
[2026-07-07 07:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547472640001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103118879126978560,"note":"Value kept but may cause issues"} 
[2026-07-07 07:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9016347166497034240,"note":"Value kept but may cause issues"} 
[2026-07-07 07:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783388573000,"timestamp_ms":1783388573000,"timestamp_seconds":1783388573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3e0d48"} 
[2026-07-07 07:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 07:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:14:02] 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-07-07 07:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547472640001,"66":13102,"64":206,"85":15104,"24":50,"16":103118879126978560,"45":-9016347166497034240},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-07 07:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547472640001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:14:02] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-07 07:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103118879126978560,"km_value":103118879126978.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9016347166497034240,"description":"Unknown IO ID 45"} 
[2026-07-07 07:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547472640001,"power":13102,"unknown_64":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":-9016347166497034240}} 
[2026-07-07 07:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":124096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:14:02] local.INFO: GPS data processed {"connection_id":124096,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:14:02] local.INFO: Acknowledgment sent {"connection_id":124096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:14:05] local.INFO: TCP Data received {"connection_id":124882,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:14:05] local.INFO: Processing buffer {"connection_id":124882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:14:05] local.INFO: IMEI packet received {"connection_id":124882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":124882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:14:06] local.INFO: TCP Data received {"connection_id":124882,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:14:06] local.INFO: Processing buffer {"connection_id":124882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:14:06] local.INFO: Packet analysis {"connection_id":124882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:14:06] local.INFO: Extracted packet for processing {"connection_id":124882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:14:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":45,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547393792001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:14:06] 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-07-07 07:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783388558000,"timestamp_ms":1783388558000,"timestamp_seconds":1783388558,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3dd2b0"} 
[2026-07-07 07:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547393792001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547393792001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:14:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:14:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547393792001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":124882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:14:06] local.INFO: GPS data processed {"connection_id":124882,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:14:06] local.INFO: Acknowledgment sent {"connection_id":124882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:14:33] local.INFO: TCP Data received {"connection_id":124096,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3e20d0012d82a30005d16180000a010d21..."} 
[2026-07-07 07:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3e20d0012d82a30005d16180000a010d21..."} 
[2026-07-07 07:14:33] local.INFO: Processing buffer {"connection_id":124096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3e20d0012d82a30005d16180000a010d21..."} 
[2026-07-07 07:14:33] local.INFO: Packet analysis {"connection_id":124096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3e"} 
[2026-07-07 07:14:33] local.INFO: Extracted packet for processing {"connection_id":124096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3e"} 
[2026-07-07 07:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763536128,"raw_latitude":97608064,"longitude_deg":76.3536128,"latitude_deg":9.7608064,"altitude":10,"angle":269,"satellites":33,"speed":35,"hex_longitude":"2d82a300","hex_latitude":"05d16180","is_valid_coordinates":true} 
[2026-07-07 07:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547474688001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103119145414950912,"note":"Value kept but may cause issues"} 
[2026-07-07 07:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027324690588303360,"note":"Value kept but may cause issues"} 
[2026-07-07 07:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783388578000,"timestamp_ms":1783388578000,"timestamp_seconds":1783388578,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3e20d0"} 
[2026-07-07 07:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:14: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-07-07 07:14: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":46,"data_length":795,"current_offset":136} 
[2026-07-07 07:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:14:33] 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-07-07 07:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547474688001,"66":12765,"64":206,"85":15104,"24":35,"16":103119145414950912,"45":-9027324690588303360},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-07 07:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547474688001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:14:33] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-07 07:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103119145414950912,"km_value":103119145414950.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027324690588303360,"description":"Unknown IO ID 45"} 
[2026-07-07 07:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547474688001,"power":12765,"unknown_64":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9027324690588303360}} 
[2026-07-07 07:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":124096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:14:33] local.INFO: GPS data processed {"connection_id":124096,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:14:33] local.INFO: Acknowledgment sent {"connection_id":124096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:14:37] local.INFO: TCP Data received {"connection_id":124882,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:14:37] local.INFO: Processing buffer {"connection_id":124882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:14:37] local.INFO: Packet analysis {"connection_id":124882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:14:37] local.INFO: Extracted packet for processing {"connection_id":124882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:14:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":45,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547393792001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:14:37] 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-07-07 07:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783388558000,"timestamp_ms":1783388558000,"timestamp_seconds":1783388558,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3dd2b0"} 
[2026-07-07 07:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547393792001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547393792001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:14:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:14:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547393792001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":124882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:14:37] local.INFO: GPS data processed {"connection_id":124882,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:14:37] local.INFO: Acknowledgment sent {"connection_id":124882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:14:56] local.INFO: TCP Data received {"connection_id":124098,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:14:56] local.INFO: Processing buffer {"connection_id":124098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:14:56] local.INFO: IMEI packet received {"connection_id":124098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":124098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:15:00] local.INFO: TCP Data received {"connection_id":124205,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:15:00] local.INFO: Processing buffer {"connection_id":124205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:15:00] local.INFO: IMEI packet received {"connection_id":124205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":124205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:15:01] local.INFO: TCP Data received {"connection_id":124098,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:15:01] local.INFO: Processing buffer {"connection_id":124098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:15:01] local.INFO: IMEI packet received {"connection_id":124098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":124098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:15:02] local.INFO: TCP Data received {"connection_id":124098,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3e43f8012d82968005d16188000b012921..."} 
[2026-07-07 07:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3e43f8012d82968005d16188000b012921..."} 
[2026-07-07 07:15:02] local.INFO: Processing buffer {"connection_id":124098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3e43f8012d82968005d16188000b012921..."} 
[2026-07-07 07:15:02] local.INFO: Packet analysis {"connection_id":124098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3e"} 
[2026-07-07 07:15:02] local.INFO: Extracted packet for processing {"connection_id":124098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3e"} 
[2026-07-07 07:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763532928,"raw_latitude":97608072,"longitude_deg":76.3532928,"latitude_deg":9.7608072,"altitude":11,"angle":297,"satellites":33,"speed":7,"hex_longitude":"2d829680","hex_latitude":"05d16188","is_valid_coordinates":true} 
[2026-07-07 07:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547475968001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103119300033773568,"note":"Value kept but may cause issues"} 
[2026-07-07 07:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033376402587418624,"note":"Value kept but may cause issues"} 
[2026-07-07 07:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783388587000,"timestamp_ms":1783388587000,"timestamp_seconds":1783388587,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3e43f8"} 
[2026-07-07 07:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 07:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:15:02] 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-07-07 07:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547475968001,"66":13135,"64":206,"85":15104,"24":7,"16":103119300033773568,"45":-9033376402587418624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-07 07:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547475968001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:15:02] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-07 07:15:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103119300033773568,"km_value":103119300033773.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033376402587418624,"description":"Unknown IO ID 45"} 
[2026-07-07 07:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547475968001,"power":13135,"unknown_64":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9033376402587418624}} 
[2026-07-07 07:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":124098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:15:02] local.INFO: GPS data processed {"connection_id":124098,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:15:02] local.INFO: Acknowledgment sent {"connection_id":124098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:15:05] local.INFO: TCP Data received {"connection_id":124205,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:15:05] local.INFO: Processing buffer {"connection_id":124205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:15:05] local.INFO: IMEI packet received {"connection_id":124205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":124205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:15:06] local.INFO: TCP Data received {"connection_id":124205,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:15:06] local.INFO: Processing buffer {"connection_id":124205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:15:06] local.INFO: Packet analysis {"connection_id":124205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:15:06] local.INFO: Extracted packet for processing {"connection_id":124205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:15:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":45,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547393792001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:15:06] 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-07-07 07:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783388558000,"timestamp_ms":1783388558000,"timestamp_seconds":1783388558,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3dd2b0"} 
[2026-07-07 07:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547393792001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547393792001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:15:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:15:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547393792001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":124205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:15:06] local.INFO: GPS data processed {"connection_id":124205,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:15:06] local.INFO: Acknowledgment sent {"connection_id":124205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:15:25] local.INFO: TCP Data received {"connection_id":124099,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:15:25] local.INFO: Processing buffer {"connection_id":124099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:15:25] local.INFO: IMEI packet received {"connection_id":124099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 07:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":124099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:15:33] local.INFO: TCP Data received {"connection_id":124098,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3e47e0012d82960005d16200000b014021..."} 
[2026-07-07 07:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3e47e0012d82960005d16200000b014021..."} 
[2026-07-07 07:15:33] local.INFO: Processing buffer {"connection_id":124098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3e47e0012d82960005d16200000b014021..."} 
[2026-07-07 07:15:33] local.INFO: Packet analysis {"connection_id":124098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3e"} 
[2026-07-07 07:15:33] local.INFO: Extracted packet for processing {"connection_id":124098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3e"} 
[2026-07-07 07:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763532800,"raw_latitude":97608192,"longitude_deg":76.35328,"latitude_deg":9.7608192,"altitude":11,"angle":320,"satellites":33,"speed":9,"hex_longitude":"2d829600","hex_latitude":"05d16200","is_valid_coordinates":true} 
[2026-07-07 07: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-07-07 07:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547478272001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103119308623708160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036894839796299776,"note":"Value kept but may cause issues"} 
[2026-07-07 07:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783388588000,"timestamp_ms":1783388588000,"timestamp_seconds":1783388588,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3e47e0"} 
[2026-07-07 07:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:15: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-07-07 07:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 07:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07: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-07-07 07:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:15:33] 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-07-07 07:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547478272001,"66":13243,"64":206,"85":15104,"24":9,"16":103119308623708160,"45":-9036894839796299776},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-07 07:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547478272001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:15:33] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-07 07:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103119308623708160,"km_value":103119308623708.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036894839796299776,"description":"Unknown IO ID 45"} 
[2026-07-07 07:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547478272001,"power":13243,"unknown_64":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9036894839796299776}} 
[2026-07-07 07:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":124098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444052,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:15:33] local.INFO: GPS data processed {"connection_id":124098,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:15:33] local.INFO: Acknowledgment sent {"connection_id":124098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:15:37] local.INFO: TCP Data received {"connection_id":124205,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:15:37] local.INFO: Processing buffer {"connection_id":124205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:15:37] local.INFO: Packet analysis {"connection_id":124205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:15:37] local.INFO: Extracted packet for processing {"connection_id":124205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:15:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":45,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547393792001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:15:37] 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-07-07 07:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783388558000,"timestamp_ms":1783388558000,"timestamp_seconds":1783388558,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3dd2b0"} 
[2026-07-07 07:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547393792001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547393792001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:15:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:15:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547393792001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":124205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:15:37] local.INFO: GPS data processed {"connection_id":124205,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:15:37] local.INFO: Acknowledgment sent {"connection_id":124205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:15:56] local.INFO: TCP Data received {"connection_id":124206,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:15:56] local.INFO: Processing buffer {"connection_id":124206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:15:56] local.INFO: IMEI packet received {"connection_id":124206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":124206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:15:59] local.INFO: TCP Data received {"connection_id":124206,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:15:59] local.INFO: Processing buffer {"connection_id":124206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:15:59] local.INFO: IMEI packet received {"connection_id":124206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":124206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:15:59] local.INFO: TCP Data received {"connection_id":126123,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:15:59] local.INFO: Processing buffer {"connection_id":126123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:15:59] local.INFO: IMEI packet received {"connection_id":126123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":126123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:16:01] local.INFO: TCP Data received {"connection_id":124206,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:16:01] local.INFO: Processing buffer {"connection_id":124206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:16:01] local.INFO: IMEI packet received {"connection_id":124206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":124206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:16:01] local.INFO: TCP Data received {"connection_id":124206,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a407290012d82954005d22a58000a000123..."} 
[2026-07-07 07:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a407290012d82954005d22a58000a000123..."} 
[2026-07-07 07:16:01] local.INFO: Processing buffer {"connection_id":124206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a407290012d82954005d22a58000a000123..."} 
[2026-07-07 07:16:01] local.INFO: Packet analysis {"connection_id":124206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a40"} 
[2026-07-07 07:16:01] local.INFO: Extracted packet for processing {"connection_id":124206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a40"} 
[2026-07-07 07:16:01] local.INFO: GPS Element Parsed {"raw_longitude":763532608,"raw_latitude":97659480,"longitude_deg":76.3532608,"latitude_deg":9.765948,"altitude":10,"angle":1,"satellites":35,"speed":30,"hex_longitude":"2d829540","hex_latitude":"05d22a58","is_valid_coordinates":true} 
[2026-07-07 07:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547511552001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103121803999707136,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037035577273896960,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783388730000,"timestamp_ms":1783388730000,"timestamp_seconds":1783388730,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a407290"} 
[2026-07-07 07:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:16: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":24,"data_length":795,"current_offset":136} 
[2026-07-07 07:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:16:01] 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-07-07 07:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547511552001,"66":13059,"63":206,"85":15104,"24":30,"16":103121803999707136,"45":-9037035577273896960},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-07 07:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547511552001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:16:01] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 07:16:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103121803999707136,"km_value":103121803999707.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037035577273896960,"description":"Unknown IO ID 45"} 
[2026-07-07 07:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547511552001,"power":13059,"unknown_63":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9037035577273896960}} 
[2026-07-07 07:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":124206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:16:02] local.INFO: GPS data processed {"connection_id":124206,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:16:02] local.INFO: Acknowledgment sent {"connection_id":124206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:16:05] local.INFO: TCP Data received {"connection_id":126124,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:16:05] local.INFO: Processing buffer {"connection_id":126124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:16:05] local.INFO: IMEI packet received {"connection_id":126124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 07:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":126124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:16:07] local.INFO: TCP Data received {"connection_id":126123,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:16:07] local.INFO: Processing buffer {"connection_id":126123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:16:07] local.INFO: IMEI packet received {"connection_id":126123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":126123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:16:08] local.INFO: TCP Data received {"connection_id":126123,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:16:08] local.INFO: Processing buffer {"connection_id":126123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:16:08] local.INFO: Packet analysis {"connection_id":126123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:16:08] local.INFO: Extracted packet for processing {"connection_id":126123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:16:08] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":45,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547393792001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:08] 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-07-07 07:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783388558000,"timestamp_ms":1783388558000,"timestamp_seconds":1783388558,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3dd2b0"} 
[2026-07-07 07:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:16: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-07-07 07:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547393792001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547393792001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:16:08] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:16:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547393792001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":126123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:16:08] local.INFO: GPS data processed {"connection_id":126123,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:16:08] local.INFO: Acknowledgment sent {"connection_id":126123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:16:33] local.INFO: TCP Data received {"connection_id":124206,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a40a558012d8296c005d24e18000a016523..."} 
[2026-07-07 07:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a40a558012d8296c005d24e18000a016523..."} 
[2026-07-07 07:16:33] local.INFO: Processing buffer {"connection_id":124206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a40a558012d8296c005d24e18000a016523..."} 
[2026-07-07 07:16:33] local.INFO: Packet analysis {"connection_id":124206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a40"} 
[2026-07-07 07:16:33] local.INFO: Extracted packet for processing {"connection_id":124206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a40"} 
[2026-07-07 07:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763532992,"raw_latitude":97668632,"longitude_deg":76.3532992,"latitude_deg":9.7668632,"altitude":10,"angle":357,"satellites":35,"speed":27,"hex_longitude":"2d8296c0","hex_latitude":"05d24e18","is_valid_coordinates":true} 
[2026-07-07 07:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547514880001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103122250676305920,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037246683504027648,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783388743000,"timestamp_ms":1783388743000,"timestamp_seconds":1783388743,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a40a558"} 
[2026-07-07 07:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 07:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311886,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:33] local.WARNING: Large IO value detected {"io_id":63,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190917637,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3517612032,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:33] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:33] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3368026121,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312751822,"corrected_to":0} 
[2026-07-07 07:16:33] local.WARNING: Large IO value detected {"io_id":22,"raw_value":3892391298,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:33] local.WARNING: Large IO value detected {"io_id":149,"raw_value":3221606838,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:33] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407118,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,63,85,24,241,157,16,92,159,45,5,9,35,10,66,13,192,226,7,34,91,186,1,240,227,58,209,4,113,205,22,149,248,239,52,2,110],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1312751822,"validated":0}]} 
[2026-07-07 07:16:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720577190216728576,"timestamp_seconds":720577190216728.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 07:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:16:33] 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-07-07 07:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547514880001,"66":13276,"63":206,"85":15104,"24":27,"16":103122250676305920,"45":-9037246683504027648},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-07 07:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547514880001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:16:33] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 07:16:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103122250676305920,"km_value":103122250676305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037246683504027648,"description":"Unknown IO ID 45"} 
[2026-07-07 07:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547514880001,"power":13276,"unknown_63":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9037246683504027648}} 
[2026-07-07 07:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":124206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:16:33] local.INFO: GPS data processed {"connection_id":124206,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:16:33] local.INFO: Acknowledgment sent {"connection_id":124206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:16:40] local.INFO: TCP Data received {"connection_id":126123,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:16:40] local.INFO: Processing buffer {"connection_id":126123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:16:40] local.INFO: Packet analysis {"connection_id":126123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:16:40] local.INFO: Extracted packet for processing {"connection_id":126123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:16:40] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":45,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547393792001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:16:40] 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-07-07 07:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783388558000,"timestamp_ms":1783388558000,"timestamp_seconds":1783388558,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3dd2b0"} 
[2026-07-07 07:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547393792001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547393792001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:16:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:16:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547393792001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":126123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:16:40] local.INFO: GPS data processed {"connection_id":126123,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:16:40] local.INFO: Acknowledgment sent {"connection_id":126123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:16:59] local.INFO: TCP Data received {"connection_id":124883,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:16:59] local.INFO: Processing buffer {"connection_id":124883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:16:59] local.INFO: IMEI packet received {"connection_id":124883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":124883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:17:02] local.INFO: TCP Data received {"connection_id":124100,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:17:02] local.INFO: Processing buffer {"connection_id":124100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:17:02] local.INFO: IMEI packet received {"connection_id":124100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":124100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:17:03] local.INFO: TCP Data received {"connection_id":124100,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:17:03] local.INFO: Processing buffer {"connection_id":124100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:17:03] local.INFO: IMEI packet received {"connection_id":124100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":124100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:17:04] local.INFO: TCP Data received {"connection_id":124100,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a40dc08012d8292c005d270d0000a016223..."} 
[2026-07-07 07:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a40dc08012d8292c005d270d0000a016223..."} 
[2026-07-07 07:17:04] local.INFO: Processing buffer {"connection_id":124100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a40dc08012d8292c005d270d0000a016223..."} 
[2026-07-07 07:17:04] local.INFO: Packet analysis {"connection_id":124100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a40"} 
[2026-07-07 07:17:04] local.INFO: Extracted packet for processing {"connection_id":124100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a40"} 
[2026-07-07 07:17:04] local.INFO: GPS Element Parsed {"raw_longitude":763531968,"raw_latitude":97677520,"longitude_deg":76.3531968,"latitude_deg":9.767752,"altitude":10,"angle":354,"satellites":35,"speed":25,"hex_longitude":"2d8292c0","hex_latitude":"05d270d0","is_valid_coordinates":true} 
[2026-07-07 07:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547518208001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103122684468002816,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036824471036618752,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783388757000,"timestamp_ms":1783388757000,"timestamp_seconds":1783388757,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a40dc08"} 
[2026-07-07 07:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 07:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:17:04] 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-07-07 07:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547518208001,"66":13059,"63":206,"85":15104,"24":25,"16":103122684468002816,"45":-9036824471036618752},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-07 07:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547518208001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:17:04] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 07:17:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103122684468002816,"km_value":103122684468002.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036824471036618752,"description":"Unknown IO ID 45"} 
[2026-07-07 07:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547518208001,"power":13059,"unknown_63":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9036824471036618752}} 
[2026-07-07 07:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":124100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:17:04] local.INFO: GPS data processed {"connection_id":124100,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:17:04] local.INFO: Acknowledgment sent {"connection_id":124100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:17:05] local.INFO: TCP Data received {"connection_id":124883,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:17:05] local.INFO: Processing buffer {"connection_id":124883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:17:05] local.INFO: IMEI packet received {"connection_id":124883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":124883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:17:06] local.INFO: TCP Data received {"connection_id":124883,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:17:06] local.INFO: Processing buffer {"connection_id":124883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:17:06] local.INFO: Packet analysis {"connection_id":124883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:17:06] local.INFO: Extracted packet for processing {"connection_id":124883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:17:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":45,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547393792001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:06] 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-07-07 07:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783388558000,"timestamp_ms":1783388558000,"timestamp_seconds":1783388558,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3dd2b0"} 
[2026-07-07 07:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547393792001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547393792001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:17:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:17:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547393792001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":124883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:17:06] local.INFO: GPS data processed {"connection_id":124883,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:17:06] local.INFO: Acknowledgment sent {"connection_id":124883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:17:06] local.INFO: TCP Data received {"connection_id":124100,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4112b8012d828fc005d294e0000b016023..."} 
[2026-07-07 07:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4112b8012d828fc005d294e0000b016023..."} 
[2026-07-07 07:17:06] local.INFO: Processing buffer {"connection_id":124100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4112b8012d828fc005d294e0000b016023..."} 
[2026-07-07 07:17:06] local.INFO: Packet analysis {"connection_id":124100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a41"} 
[2026-07-07 07:17:06] local.INFO: Extracted packet for processing {"connection_id":124100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a41"} 
[2026-07-07 07:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763531200,"raw_latitude":97686752,"longitude_deg":76.35312,"latitude_deg":9.7686752,"altitude":11,"angle":352,"satellites":35,"speed":26,"hex_longitude":"2d828fc0","hex_latitude":"05d294e0","is_valid_coordinates":true} 
[2026-07-07 07:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547521792001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103123135439568896,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037950370941186048,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783388771000,"timestamp_ms":1783388771000,"timestamp_seconds":1783388771,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4112b8"} 
[2026-07-07 07:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 07:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303164103380302,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:06] local.WARNING: Large IO value detected {"io_id":63,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190917637,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:06] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3797942279,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312751822,"corrected_to":0} 
[2026-07-07 07:17:06] local.WARNING: Large IO value detected {"io_id":186,"raw_value":4160826754,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:06] local.WARNING: Large IO value detected {"io_id":150,"raw_value":3221606856,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3519594496,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,63,85,24,241,157,16,93,159,165,45,192,78,10,35,66,114,64,42,92,1,240,227,58,209,4,113,205,29,186,150,33,239,52,2,110,5,9],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1312751822,"validated":0}]} 
[2026-07-07 07:17:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720965317821005824,"timestamp_seconds":720965317821005.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 07:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:17:06] 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-07-07 07:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547521792001,"66":13222,"63":206,"85":15104,"24":26,"16":103123135439568896,"45":-9037950370941186048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-07 07:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547521792001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:17:06] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 07:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103123135439568896,"km_value":103123135439568.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037950370941186048,"description":"Unknown IO ID 45"} 
[2026-07-07 07:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547521792001,"power":13222,"unknown_63":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9037950370941186048}} 
[2026-07-07 07:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":124100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:17:06] local.INFO: GPS data processed {"connection_id":124100,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:17:06] local.INFO: Acknowledgment sent {"connection_id":124100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:17:37] local.INFO: TCP Data received {"connection_id":124883,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:17:37] local.INFO: Processing buffer {"connection_id":124883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:17:37] local.INFO: Packet analysis {"connection_id":124883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:17:37] local.INFO: Extracted packet for processing {"connection_id":124883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:17:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":45,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547393792001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:37] 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-07-07 07:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783388558000,"timestamp_ms":1783388558000,"timestamp_seconds":1783388558,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3dd2b0"} 
[2026-07-07 07:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547393792001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547393792001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:17:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:17:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547393792001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":124883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:17:37] local.INFO: GPS data processed {"connection_id":124883,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:17:37] local.INFO: Acknowledgment sent {"connection_id":124883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:17:40] local.INFO: TCP Data received {"connection_id":124100,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a412a28012d828e8005d2a4100009000623..."} 
[2026-07-07 07:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a412a28012d828e8005d2a4100009000623..."} 
[2026-07-07 07:17:40] local.INFO: Processing buffer {"connection_id":124100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a412a28012d828e8005d2a4100009000623..."} 
[2026-07-07 07:17:40] local.INFO: Packet analysis {"connection_id":124100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a41"} 
[2026-07-07 07:17:40] local.INFO: Extracted packet for processing {"connection_id":124100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a41"} 
[2026-07-07 07:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763530880,"raw_latitude":97690640,"longitude_deg":76.353088,"latitude_deg":9.769064,"altitude":9,"angle":6,"satellites":35,"speed":25,"hex_longitude":"2d828e80","hex_latitude":"05d2a410","is_valid_coordinates":true} 
[2026-07-07 07:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547525376001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103123324418129920,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038794795868954624,"note":"Value kept but may cause issues"} 
[2026-07-07 07:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783388777000,"timestamp_ms":1783388777000,"timestamp_seconds":1783388777,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a412a28"} 
[2026-07-07 07:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 07:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:17: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-07-07 07:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547525376001,"66":13015,"63":206,"85":15104,"24":25,"16":103123324418129920,"45":-9038794795868954624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-07 07:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547525376001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:17:40] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 07:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103123324418129920,"km_value":103123324418129.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038794795868954624,"description":"Unknown IO ID 45"} 
[2026-07-07 07:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547525376001,"power":13015,"unknown_63":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9038794795868954624}} 
[2026-07-07 07:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":124100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:17:40] local.INFO: GPS data processed {"connection_id":124100,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:17:40] local.INFO: Acknowledgment sent {"connection_id":124100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:17:55] local.INFO: TCP Data received {"connection_id":126125,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:17:55] local.INFO: Processing buffer {"connection_id":126125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:17:55] local.INFO: IMEI packet received {"connection_id":126125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":126125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:17:56] local.INFO: TCP Data received {"connection_id":126125,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:17:56] local.INFO: Processing buffer {"connection_id":126125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:17:56] local.INFO: IMEI packet received {"connection_id":126125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":126125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:18:01] local.INFO: TCP Data received {"connection_id":126125,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:18:01] local.INFO: Processing buffer {"connection_id":126125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:18:01] local.INFO: IMEI packet received {"connection_id":126125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":126125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:18:02] local.INFO: TCP Data received {"connection_id":126125,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a414580012d82900005d2b4c00009016223..."} 
[2026-07-07 07:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a414580012d82900005d2b4c00009016223..."} 
[2026-07-07 07:18:02] local.INFO: Processing buffer {"connection_id":126125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a414580012d82900005d2b4c00009016223..."} 
[2026-07-07 07:18:02] local.INFO: Packet analysis {"connection_id":126125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a41"} 
[2026-07-07 07:18:02] local.INFO: Extracted packet for processing {"connection_id":126125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a41"} 
[2026-07-07 07:18:02] local.INFO: GPS Element Parsed {"raw_longitude":763531264,"raw_latitude":97694912,"longitude_deg":76.3531264,"latitude_deg":9.7694912,"altitude":9,"angle":354,"satellites":35,"speed":24,"hex_longitude":"2d829000","hex_latitude":"05d2b4c0","is_valid_coordinates":true} 
[2026-07-07 07:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547526912001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103123534871527424,"note":"Value kept but may cause issues"} 
[2026-07-07 07:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039146639588847616,"note":"Value kept but may cause issues"} 
[2026-07-07 07:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783388784000,"timestamp_ms":1783388784000,"timestamp_seconds":1783388784,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a414580"} 
[2026-07-07 07:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 07:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:18:02] 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-07-07 07:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547526912001,"66":13461,"63":206,"85":15104,"24":24,"16":103123534871527424,"45":-9039146639588847616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-07 07:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547526912001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:18:02] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 07:18:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103123534871527424,"km_value":103123534871527.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039146639588847616,"description":"Unknown IO ID 45"} 
[2026-07-07 07:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547526912001,"power":13461,"unknown_63":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9039146639588847616}} 
[2026-07-07 07:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":126125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:18:02] local.INFO: GPS data processed {"connection_id":126125,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:18:02] local.INFO: Acknowledgment sent {"connection_id":126125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:18:05] local.INFO: TCP Data received {"connection_id":124208,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:18:05] local.INFO: Processing buffer {"connection_id":124208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:18:05] local.INFO: IMEI packet received {"connection_id":124208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":124208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:18:10] local.INFO: TCP Data received {"connection_id":124208,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:18:10] local.INFO: Processing buffer {"connection_id":124208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:18:10] local.INFO: IMEI packet received {"connection_id":124208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":124208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:18:13] local.INFO: TCP Data received {"connection_id":124208,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:18:13] local.INFO: Processing buffer {"connection_id":124208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:18:13] local.INFO: Packet analysis {"connection_id":124208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:18:13] local.INFO: Extracted packet for processing {"connection_id":124208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:18:13] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":45,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07: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-07-07 07:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547393792001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:18:13] 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-07-07 07:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783388558000,"timestamp_ms":1783388558000,"timestamp_seconds":1783388558,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3dd2b0"} 
[2026-07-07 07:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:18: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-07-07 07: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-07-07 07:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547393792001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547393792001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:18:13] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:18:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547393792001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":124208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:18:14] local.INFO: GPS data processed {"connection_id":124208,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:18:14] local.INFO: Acknowledgment sent {"connection_id":124208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:18:18] local.INFO: TCP Data received {"connection_id":124208,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:18:18] local.INFO: Processing buffer {"connection_id":124208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a3dd2b0012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:18:18] local.INFO: Packet analysis {"connection_id":124208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:18:18] local.INFO: Extracted packet for processing {"connection_id":124208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a3d"} 
[2026-07-07 07:18:18] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":45,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547393792001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:18:18] 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-07-07 07:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783388558000,"timestamp_ms":1783388558000,"timestamp_seconds":1783388558,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a3dd2b0"} 
[2026-07-07 07:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:18: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-07-07 07:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547393792001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547393792001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:18:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:18:18] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547393792001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":124208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:18:18] local.INFO: GPS data processed {"connection_id":124208,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:18:18] local.INFO: Acknowledgment sent {"connection_id":124208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:18:34] local.INFO: TCP Data received {"connection_id":126125,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a417c30012d828a4005d2d898000b016123..."} 
[2026-07-07 07:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a417c30012d828a4005d2d898000b016123..."} 
[2026-07-07 07:18:34] local.INFO: Processing buffer {"connection_id":126125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a417c30012d828a4005d2d898000b016123..."} 
[2026-07-07 07:18:34] local.INFO: Packet analysis {"connection_id":126125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a41"} 
[2026-07-07 07:18:34] local.INFO: Extracted packet for processing {"connection_id":126125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a41"} 
[2026-07-07 07:18:34] local.INFO: GPS Element Parsed {"raw_longitude":763529792,"raw_latitude":97704088,"longitude_deg":76.3529792,"latitude_deg":9.7704088,"altitude":11,"angle":353,"satellites":35,"speed":26,"hex_longitude":"2d828a40","hex_latitude":"05d2d898","is_valid_coordinates":true} 
[2026-07-07 07:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547528704001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103123985843093504,"note":"Value kept but may cause issues"} 
[2026-07-07 07:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038724427122688000,"note":"Value kept but may cause issues"} 
[2026-07-07 07:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783388798000,"timestamp_ms":1783388798000,"timestamp_seconds":1783388798,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a417c30"} 
[2026-07-07 07:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-07-07 07:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:18:34] 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-07-07 07:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547528704001,"66":13319,"63":206,"85":15104,"24":26,"16":103123985843093504,"45":-9038724427122688000},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-07 07:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547528704001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:18:34] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 07:18:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103123985843093504,"km_value":103123985843093.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038724427122688000,"description":"Unknown IO ID 45"} 
[2026-07-07 07:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547528704001,"power":13319,"unknown_63":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9038724427122688000}} 
[2026-07-07 07:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":126125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:18:34] local.INFO: GPS data processed {"connection_id":126125,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:18:34] local.INFO: Acknowledgment sent {"connection_id":126125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:18:54] local.INFO: TCP Data received {"connection_id":126126,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:18:54] local.INFO: Processing buffer {"connection_id":126126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:18:54] local.INFO: IMEI packet received {"connection_id":126126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":126126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:18:56] local.INFO: TCP Data received {"connection_id":126126,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:18:56] local.INFO: Processing buffer {"connection_id":126126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:18:56] local.INFO: IMEI packet received {"connection_id":126126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":126126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:18:58] local.INFO: TCP Data received {"connection_id":126126,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:18:58] local.INFO: Processing buffer {"connection_id":126126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:18:58] local.INFO: IMEI packet received {"connection_id":126126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":126126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:18:59] local.INFO: TCP Data received {"connection_id":126126,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:18:59] local.INFO: Processing buffer {"connection_id":126126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:18:59] local.INFO: IMEI packet received {"connection_id":126126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":126126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:18:59] local.INFO: TCP Data received {"connection_id":124885,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:19:00] local.INFO: Processing buffer {"connection_id":124885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:19:00] local.INFO: IMEI packet received {"connection_id":124885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":124885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:19:00] local.INFO: TCP Data received {"connection_id":126126,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a434920012d81c7c005d34570000b013022..."} 
[2026-07-07 07:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a434920012d81c7c005d34570000b013022..."} 
[2026-07-07 07:19:00] local.INFO: Processing buffer {"connection_id":126126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a434920012d81c7c005d34570000b013022..."} 
[2026-07-07 07:19:00] local.INFO: Packet analysis {"connection_id":126126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a43"} 
[2026-07-07 07:19:00] local.INFO: Extracted packet for processing {"connection_id":126126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a43"} 
[2026-07-07 07:19:00] local.INFO: GPS Element Parsed {"raw_longitude":763480000,"raw_latitude":97731952,"longitude_deg":76.348,"latitude_deg":9.7731952,"altitude":11,"angle":304,"satellites":34,"speed":10,"hex_longitude":"2d81c7c0","hex_latitude":"05d34570","is_valid_coordinates":true} 
[2026-07-07 07:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547562240001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103127679514968064,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9094808316222834688,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783388916000,"timestamp_ms":1783388916000,"timestamp_seconds":1783388916,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a434920"} 
[2026-07-07 07:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:19: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-07-07 07:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 07:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:19:00] 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-07-07 07:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547562240001,"66":13048,"207":206,"85":15104,"24":10,"16":103127679514968064,"45":-9094808316222834688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-07 07:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547562240001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:19:00] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 07:19:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103127679514968064,"km_value":103127679514968.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9094808316222834688,"description":"Unknown IO ID 45"} 
[2026-07-07 07:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547562240001,"power":13048,"unknown_207":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9094808316222834688}} 
[2026-07-07 07:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":126126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:19:00] local.INFO: GPS data processed {"connection_id":126126,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:19:00] local.INFO: Acknowledgment sent {"connection_id":126126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:19:00] local.INFO: TCP Data received {"connection_id":126126,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a434d08012d81c6c005d34640000b014522..."} 
[2026-07-07 07:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a434d08012d81c6c005d34640000b014522..."} 
[2026-07-07 07:19:00] local.INFO: Processing buffer {"connection_id":126126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a434d08012d81c6c005d34640000b014522..."} 
[2026-07-07 07:19:00] local.INFO: Packet analysis {"connection_id":126126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a43"} 
[2026-07-07 07:19:00] local.INFO: Extracted packet for processing {"connection_id":126126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a43"} 
[2026-07-07 07:19:00] local.INFO: GPS Element Parsed {"raw_longitude":763479744,"raw_latitude":97732160,"longitude_deg":76.3479744,"latitude_deg":9.773216,"altitude":11,"angle":325,"satellites":34,"speed":11,"hex_longitude":"2d81c6c0","hex_latitude":"05d34640","is_valid_coordinates":true} 
[2026-07-07 07:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547562496001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103127696694837248,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9095089791199514624,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783388917000,"timestamp_ms":1783388917000,"timestamp_seconds":1783388917,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a434d08"} 
[2026-07-07 07:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:19: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-07-07 07:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 07:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:19:00] 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-07-07 07:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547562496001,"66":13254,"207":206,"85":15104,"24":11,"16":103127696694837248,"45":-9095089791199514624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-07 07:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547562496001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:19:00] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 07:19:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103127696694837248,"km_value":103127696694837.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9095089791199514624,"description":"Unknown IO ID 45"} 
[2026-07-07 07:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547562496001,"power":13254,"unknown_207":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9095089791199514624}} 
[2026-07-07 07:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":126126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:19:01] local.INFO: GPS data processed {"connection_id":126126,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:19:01] local.INFO: Acknowledgment sent {"connection_id":126126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:19:05] local.INFO: TCP Data received {"connection_id":124885,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:19:05] local.INFO: Processing buffer {"connection_id":124885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:19:05] local.INFO: IMEI packet received {"connection_id":124885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":124885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:19:06] local.INFO: TCP Data received {"connection_id":124885,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:19:06] local.INFO: Processing buffer {"connection_id":124885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:19:06] local.INFO: Packet analysis {"connection_id":124885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a42"} 
[2026-07-07 07:19:06] local.INFO: Extracted packet for processing {"connection_id":124885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a42"} 
[2026-07-07 07:19:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547470848001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:06] 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-07-07 07:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783388859000,"timestamp_ms":1783388859000,"timestamp_seconds":1783388859,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a426a78"} 
[2026-07-07 07:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547470848001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547470848001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:19:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:19:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547470848001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":124885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:19:06] local.INFO: GPS data processed {"connection_id":124885,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:19:06] local.INFO: Acknowledgment sent {"connection_id":124885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:19:32] local.INFO: TCP Data received {"connection_id":126126,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a43d5c0012d81ac4005d3a2280005016522..."} 
[2026-07-07 07:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a43d5c0012d81ac4005d3a2280005016522..."} 
[2026-07-07 07:19:32] local.INFO: Processing buffer {"connection_id":126126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a43d5c0012d81ac4005d3a2280005016522..."} 
[2026-07-07 07:19:32] local.INFO: Packet analysis {"connection_id":126126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a43"} 
[2026-07-07 07:19:32] local.INFO: Extracted packet for processing {"connection_id":126126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a43"} 
[2026-07-07 07:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763472960,"raw_latitude":97755688,"longitude_deg":76.347296,"latitude_deg":9.7755688,"altitude":5,"angle":357,"satellites":34,"speed":41,"hex_longitude":"2d81ac40","hex_latitude":"05d3a228","is_valid_coordinates":true} 
[2026-07-07 07:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547569920001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103128950825287680,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101563715659423744,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783388952000,"timestamp_ms":1783388952000,"timestamp_seconds":1783388952,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a43d5c0"} 
[2026-07-07 07:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 07:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:32] local.WARNING: Large IO value detected {"io_id":98,"raw_value":3539992576,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2176483333,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:32] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505173241233408,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:32] local.WARNING: Large IO value detected {"io_id":58,"raw_value":4870431895827103808,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:32] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8633119896885723160,"corrected_to":0} 
[2026-07-07 07:19:32] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:32] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070455,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3207979105530064095,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:32] local.WARNING: Large IO value detected {"io_id":52,"raw_value":1297262607140441685,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:32] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755485340532977,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:32] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195147776,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84866638213927790,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:32] local.WARNING: Large IO value detected {"io_id":120,"raw_value":2816279345899008,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:32] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,207,85,24,241,157,16,98,159,178,45,192,131,6,34,10,66,174,64,129,170,1,240,173,227,58,211,4,113,205,23,189,224,239,51,2,110,5,7,20,52,59,184,69,160,120],"length":625,"final_offset":755,"validated_count":46,"validation_warnings":[{"io_id":205,"original":8633119896885723160,"validated":0}]} 
[2026-07-07 07:19:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360666348220448768,"timestamp_seconds":360666348220448.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 07:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:19:32] 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-07-07 07:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547569920001,"66":13243,"207":206,"85":15104,"24":41,"16":103128950825287680,"45":-9101563715659423744},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-07 07:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547569920001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:19:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 07:19:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103128950825287680,"km_value":103128950825287.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101563715659423744,"description":"Unknown IO ID 45"} 
[2026-07-07 07:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547569920001,"power":13243,"unknown_207":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9101563715659423744}} 
[2026-07-07 07:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":126126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:19:32] local.INFO: GPS data processed {"connection_id":126126,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:19:32] local.INFO: Acknowledgment sent {"connection_id":126126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:19:37] local.INFO: TCP Data received {"connection_id":124885,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:19:37] local.INFO: Processing buffer {"connection_id":124885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:19:37] local.INFO: Packet analysis {"connection_id":124885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a42"} 
[2026-07-07 07:19:37] local.INFO: Extracted packet for processing {"connection_id":124885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a42"} 
[2026-07-07 07:19:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547470848001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:19:37] 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-07-07 07:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783388859000,"timestamp_ms":1783388859000,"timestamp_seconds":1783388859,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a426a78"} 
[2026-07-07 07:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547470848001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547470848001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:19:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:19:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547470848001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":124885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:19:37] local.INFO: GPS data processed {"connection_id":124885,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:19:37] local.INFO: Acknowledgment sent {"connection_id":124885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:19:59] local.INFO: TCP Data received {"connection_id":124210,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:19:59] local.INFO: Processing buffer {"connection_id":124210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:19:59] local.INFO: IMEI packet received {"connection_id":124210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":124210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:20:00] local.INFO: TCP Data received {"connection_id":124212,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:20:00] local.INFO: Processing buffer {"connection_id":124212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:20:00] local.INFO: IMEI packet received {"connection_id":124212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":124212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:20:01] local.INFO: TCP Data received {"connection_id":124212,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:20:01] local.INFO: Processing buffer {"connection_id":124212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:20:01] local.INFO: IMEI packet received {"connection_id":124212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":124212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:20:05] local.INFO: TCP Data received {"connection_id":124210,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:20:05] local.INFO: Processing buffer {"connection_id":124210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:20:05] local.INFO: IMEI packet received {"connection_id":124210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":124210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:20:06] local.INFO: TCP Data received {"connection_id":124212,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:20:06] local.INFO: Processing buffer {"connection_id":124212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:20:06] local.INFO: IMEI packet received {"connection_id":124212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":124212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:20:08] local.INFO: TCP Data received {"connection_id":124210,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:20:08] local.INFO: Processing buffer {"connection_id":124210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:20:08] local.INFO: Packet analysis {"connection_id":124210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a42"} 
[2026-07-07 07:20:08] local.INFO: Extracted packet for processing {"connection_id":124210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a42"} 
[2026-07-07 07:20:08] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07: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-07-07 07:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547470848001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:20:08] 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-07-07 07:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783388859000,"timestamp_ms":1783388859000,"timestamp_seconds":1783388859,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a426a78"} 
[2026-07-07 07:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547470848001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547470848001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:20:08] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:20:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547470848001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":124210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:20:08] local.INFO: GPS data processed {"connection_id":124210,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:20:08] local.INFO: Acknowledgment sent {"connection_id":124210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:20:12] local.INFO: TCP Data received {"connection_id":124212,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a43f500012d81aa4005d3c6200005015b22..."} 
[2026-07-07 07:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a43f500012d81aa4005d3c6200005015b22..."} 
[2026-07-07 07:20:12] local.INFO: Processing buffer {"connection_id":124212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a43f500012d81aa4005d3c6200005015b22..."} 
[2026-07-07 07:20:12] local.INFO: Packet analysis {"connection_id":124212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a43"} 
[2026-07-07 07:20:12] local.INFO: Extracted packet for processing {"connection_id":124212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a43"} 
[2026-07-07 07:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763472448,"raw_latitude":97764896,"longitude_deg":76.3472448,"latitude_deg":9.7764896,"altitude":5,"angle":347,"satellites":34,"speed":49,"hex_longitude":"2d81aa40","hex_latitude":"05d3c620","is_valid_coordinates":true} 
[2026-07-07 07: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-07-07 07:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547571712001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103129397501886464,"note":"Value kept but may cause issues"} 
[2026-07-07 07:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9102830353052981248,"note":"Value kept but may cause issues"} 
[2026-07-07 07:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783388960000,"timestamp_ms":1783388960000,"timestamp_seconds":1783388960,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a43f500"} 
[2026-07-07 07:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 07:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07: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-07-07 07:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:20: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-07-07 07:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547571712001,"66":13254,"207":206,"85":15104,"24":49,"16":103129397501886464,"45":-9102830353052981248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-07 07:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547571712001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:20:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 07:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103129397501886464,"km_value":103129397501886.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9102830353052981248,"description":"Unknown IO ID 45"} 
[2026-07-07 07:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547571712001,"power":13254,"unknown_207":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-9102830353052981248}} 
[2026-07-07 07:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":124212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:20:12] local.INFO: GPS data processed {"connection_id":124212,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:20:12] local.INFO: Acknowledgment sent {"connection_id":124212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:20:49] local.INFO: TCP Data received {"connection_id":124210,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:20:49] local.INFO: Processing buffer {"connection_id":124210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:20:49] local.INFO: Packet analysis {"connection_id":124210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a42"} 
[2026-07-07 07:20:49] local.INFO: Extracted packet for processing {"connection_id":124210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a42"} 
[2026-07-07 07:20:49] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547470848001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:20:49] 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-07-07 07:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783388859000,"timestamp_ms":1783388859000,"timestamp_seconds":1783388859,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a426a78"} 
[2026-07-07 07:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:20: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-07-07 07:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":124210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":124210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":124210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547470848001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547470848001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:20:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:20:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547470848001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":124210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:20:49] local.INFO: GPS data processed {"connection_id":124210,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:20:49] local.INFO: Acknowledgment sent {"connection_id":124210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:20:55] local.INFO: TCP Data received {"connection_id":124101,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:20:55] local.INFO: Processing buffer {"connection_id":124101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:20:55] local.INFO: IMEI packet received {"connection_id":124101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":124101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:20:59] local.INFO: TCP Data received {"connection_id":124887,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:20:59] local.INFO: Processing buffer {"connection_id":124887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:20:59] local.INFO: IMEI packet received {"connection_id":124887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":124887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:21:05] local.INFO: TCP Data received {"connection_id":124887,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:21:05] local.INFO: Processing buffer {"connection_id":124887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:21:05] local.INFO: IMEI packet received {"connection_id":124887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":124887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:21:06] local.INFO: TCP Data received {"connection_id":124887,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:21:06] local.INFO: Processing buffer {"connection_id":124887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:21:06] local.INFO: Packet analysis {"connection_id":124887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a42"} 
[2026-07-07 07:21:06] local.INFO: Extracted packet for processing {"connection_id":124887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a42"} 
[2026-07-07 07:21:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547470848001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:21:06] 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-07-07 07:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783388859000,"timestamp_ms":1783388859000,"timestamp_seconds":1783388859,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a426a78"} 
[2026-07-07 07:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547470848001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547470848001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:21:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:21:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547470848001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":124887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:21:06] local.INFO: GPS data processed {"connection_id":124887,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:21:06] local.INFO: Acknowledgment sent {"connection_id":124887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:21:10] local.INFO: TCP Data received {"connection_id":124101,"ip":"42.106.6.31","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 07:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124101,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 07:21:10] local.INFO: Processing buffer {"connection_id":124101,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 07:21:10] local.INFO: IMEI packet received {"connection_id":124101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":124101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:21:34] local.INFO: TCP Data received {"connection_id":124886,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:21:34] local.INFO: Processing buffer {"connection_id":124886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:21:34] local.INFO: IMEI packet received {"connection_id":124886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 07:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":124886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:21:38] local.INFO: TCP Data received {"connection_id":124887,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:21:38] local.INFO: Processing buffer {"connection_id":124887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:21:38] local.INFO: Packet analysis {"connection_id":124887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a42"} 
[2026-07-07 07:21:38] local.INFO: Extracted packet for processing {"connection_id":124887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a42"} 
[2026-07-07 07:21:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547470848001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:21:38] 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-07-07 07:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783388859000,"timestamp_ms":1783388859000,"timestamp_seconds":1783388859,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a426a78"} 
[2026-07-07 07:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547470848001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547470848001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:21:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:21:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547470848001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":124887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:21:38] local.INFO: GPS data processed {"connection_id":124887,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:21:38] local.INFO: Acknowledgment sent {"connection_id":124887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:21:59] local.INFO: TCP Data received {"connection_id":124214,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:21:59] local.INFO: Processing buffer {"connection_id":124214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:21:59] local.INFO: IMEI packet received {"connection_id":124214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":124214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:22:00] local.INFO: TCP Data received {"connection_id":126127,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:22:00] local.INFO: Processing buffer {"connection_id":126127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:22:00] local.INFO: IMEI packet received {"connection_id":126127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 07:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":126127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:22:05] local.INFO: TCP Data received {"connection_id":124214,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:22:05] local.INFO: Processing buffer {"connection_id":124214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:22:05] local.INFO: IMEI packet received {"connection_id":124214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":124214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:22:06] local.INFO: TCP Data received {"connection_id":124214,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:22:06] local.INFO: Processing buffer {"connection_id":124214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:22:06] local.INFO: Packet analysis {"connection_id":124214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a42"} 
[2026-07-07 07:22:06] local.INFO: Extracted packet for processing {"connection_id":124214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a42"} 
[2026-07-07 07:22:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547470848001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:22:06] 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-07-07 07:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783388859000,"timestamp_ms":1783388859000,"timestamp_seconds":1783388859,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a426a78"} 
[2026-07-07 07:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547470848001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547470848001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:22:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:22:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547470848001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":124214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:22:06] local.INFO: GPS data processed {"connection_id":124214,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:22:06] local.INFO: Acknowledgment sent {"connection_id":124214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:22:38] local.INFO: TCP Data received {"connection_id":124214,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:22:38] local.INFO: Processing buffer {"connection_id":124214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:22:38] local.INFO: Packet analysis {"connection_id":124214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a42"} 
[2026-07-07 07:22:38] local.INFO: Extracted packet for processing {"connection_id":124214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a42"} 
[2026-07-07 07:22:38] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07: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-07-07 07:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547470848001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:22:38] 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-07-07 07:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783388859000,"timestamp_ms":1783388859000,"timestamp_seconds":1783388859,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a426a78"} 
[2026-07-07 07:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07: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-07-07 07:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547470848001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547470848001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:22:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:22:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547470848001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":124214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:22:38] local.INFO: GPS data processed {"connection_id":124214,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:22:38] local.INFO: Acknowledgment sent {"connection_id":124214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:23:05] local.INFO: TCP Data received {"connection_id":124103,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:23:05] local.INFO: Processing buffer {"connection_id":124103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:23:05] local.INFO: IMEI packet received {"connection_id":124103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":124103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:23:10] local.INFO: TCP Data received {"connection_id":124103,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:23:10] local.INFO: Processing buffer {"connection_id":124103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:23:10] local.INFO: IMEI packet received {"connection_id":124103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":124103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:23:11] local.INFO: TCP Data received {"connection_id":124103,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:23:11] local.INFO: Processing buffer {"connection_id":124103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:23:11] local.INFO: Packet analysis {"connection_id":124103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a42"} 
[2026-07-07 07:23:11] local.INFO: Extracted packet for processing {"connection_id":124103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a42"} 
[2026-07-07 07:23:11] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547470848001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:23:11] 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-07-07 07:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783388859000,"timestamp_ms":1783388859000,"timestamp_seconds":1783388859,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a426a78"} 
[2026-07-07 07:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547470848001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547470848001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:23:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:23:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547470848001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":124103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:23:11] local.INFO: GPS data processed {"connection_id":124103,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:23:11] local.INFO: Acknowledgment sent {"connection_id":124103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:23:15] local.INFO: TCP Data received {"connection_id":124103,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:23:15] local.INFO: Processing buffer {"connection_id":124103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a426a78012d6efe80064499f8000f00462c..."} 
[2026-07-07 07:23:15] local.INFO: Packet analysis {"connection_id":124103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a42"} 
[2026-07-07 07:23:15] local.INFO: Extracted packet for processing {"connection_id":124103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a42"} 
[2026-07-07 07:23:15] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547470848001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:23:15] 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-07-07 07:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783388859000,"timestamp_ms":1783388859000,"timestamp_seconds":1783388859,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a426a78"} 
[2026-07-07 07:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07: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":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07: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-07-07 07:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547470848001,"66":25615,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547470848001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:23:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:23:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547470848001,"power":25615,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":124103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:23:15] local.INFO: GPS data processed {"connection_id":124103,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:23:15] local.INFO: Acknowledgment sent {"connection_id":124103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:24:02] local.INFO: TCP Data received {"connection_id":126130,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:24:02] local.INFO: Processing buffer {"connection_id":126130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:24:02] local.INFO: IMEI packet received {"connection_id":126130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":126130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:24:07] local.INFO: TCP Data received {"connection_id":126130,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:24:07] local.INFO: Processing buffer {"connection_id":126130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:24:07] local.INFO: IMEI packet received {"connection_id":126130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":126130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:24:08] local.INFO: TCP Data received {"connection_id":126130,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:24:08] local.INFO: Processing buffer {"connection_id":126130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:24:08] local.INFO: Packet analysis {"connection_id":126130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a47"} 
[2026-07-07 07:24:08] local.INFO: Extracted packet for processing {"connection_id":126130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a47"} 
[2026-07-07 07:24:08] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":47,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07: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-07-07 07:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547547904001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:24:08] 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-07-07 07:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783389160000,"timestamp_ms":1783389160000,"timestamp_seconds":1783389160,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a470240"} 
[2026-07-07 07:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 07:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07: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-07-07 07:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547547904001,"66":25604,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547547904001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:24:08] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:24:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547547904001,"power":25604,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":126130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:24:08] local.INFO: GPS data processed {"connection_id":126130,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:24:08] local.INFO: Acknowledgment sent {"connection_id":126130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:24:10] local.INFO: TCP Data received {"connection_id":126130,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:24:10] local.INFO: Processing buffer {"connection_id":126130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:24:10] local.INFO: Packet analysis {"connection_id":126130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a47"} 
[2026-07-07 07:24:10] local.INFO: Extracted packet for processing {"connection_id":126130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a47"} 
[2026-07-07 07:24:10] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":47,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547547904001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:24:10] 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-07-07 07:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783389160000,"timestamp_ms":1783389160000,"timestamp_seconds":1783389160,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a470240"} 
[2026-07-07 07:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 07:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547547904001,"66":25604,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547547904001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:24:10] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:24:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547547904001,"power":25604,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":126130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:24:10] local.INFO: GPS data processed {"connection_id":126130,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:24:10] local.INFO: Acknowledgment sent {"connection_id":126130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:24:59] local.INFO: TCP Data received {"connection_id":124890,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:24:59] local.INFO: Processing buffer {"connection_id":124890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:24:59] local.INFO: IMEI packet received {"connection_id":124890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":124890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:25:05] local.INFO: TCP Data received {"connection_id":124890,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:25:05] local.INFO: Processing buffer {"connection_id":124890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:25:05] local.INFO: IMEI packet received {"connection_id":124890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":124890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:25:06] local.INFO: TCP Data received {"connection_id":124890,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:25:06] local.INFO: Processing buffer {"connection_id":124890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:25:06] local.INFO: Packet analysis {"connection_id":124890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a47"} 
[2026-07-07 07:25:06] local.INFO: Extracted packet for processing {"connection_id":124890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a47"} 
[2026-07-07 07:25:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":47,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547547904001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:25:06] 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-07-07 07:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783389160000,"timestamp_ms":1783389160000,"timestamp_seconds":1783389160,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a470240"} 
[2026-07-07 07:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 07:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547547904001,"66":25604,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547547904001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:25:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:25:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547547904001,"power":25604,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":124890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:25:06] local.INFO: GPS data processed {"connection_id":124890,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:25:06] local.INFO: Acknowledgment sent {"connection_id":124890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:25:09] local.INFO: TCP Data received {"connection_id":126130,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:25:09] local.INFO: Processing buffer {"connection_id":126130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:25:09] local.INFO: Packet analysis {"connection_id":126130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a47"} 
[2026-07-07 07:25:09] local.INFO: Extracted packet for processing {"connection_id":126130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a47"} 
[2026-07-07 07:25:09] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":47,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547547904001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:25: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-07-07 07:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783389160000,"timestamp_ms":1783389160000,"timestamp_seconds":1783389160,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a470240"} 
[2026-07-07 07:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 07:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547547904001,"66":25604,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547547904001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:25:09] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:25:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547547904001,"power":25604,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":126130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:25:09] local.INFO: GPS data processed {"connection_id":126130,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:25:09] local.INFO: Acknowledgment sent {"connection_id":126130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:25:37] local.INFO: TCP Data received {"connection_id":124890,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:25:37] local.INFO: Processing buffer {"connection_id":124890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:25:37] local.INFO: Packet analysis {"connection_id":124890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a47"} 
[2026-07-07 07:25:37] local.INFO: Extracted packet for processing {"connection_id":124890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a47"} 
[2026-07-07 07:25:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":47,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547547904001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:25:37] 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-07-07 07:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783389160000,"timestamp_ms":1783389160000,"timestamp_seconds":1783389160,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a470240"} 
[2026-07-07 07:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 07:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547547904001,"66":25604,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547547904001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:25:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:25:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547547904001,"power":25604,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":124890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:25:37] local.INFO: GPS data processed {"connection_id":124890,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:25:37] local.INFO: Acknowledgment sent {"connection_id":124890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:25:59] local.INFO: TCP Data received {"connection_id":124104,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:25:59] local.INFO: Processing buffer {"connection_id":124104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:25:59] local.INFO: IMEI packet received {"connection_id":124104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":124104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:26:05] local.INFO: TCP Data received {"connection_id":124104,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:26:05] local.INFO: Processing buffer {"connection_id":124104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:26:05] local.INFO: IMEI packet received {"connection_id":124104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":124104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:26:06] local.INFO: TCP Data received {"connection_id":124104,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:26:06] local.INFO: Processing buffer {"connection_id":124104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:26:06] local.INFO: Packet analysis {"connection_id":124104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a47"} 
[2026-07-07 07:26:06] local.INFO: Extracted packet for processing {"connection_id":124104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a47"} 
[2026-07-07 07:26:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":47,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547547904001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:26:06] 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-07-07 07:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783389160000,"timestamp_ms":1783389160000,"timestamp_seconds":1783389160,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a470240"} 
[2026-07-07 07:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 07:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547547904001,"66":25604,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547547904001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:26:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:26:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547547904001,"power":25604,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":124104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:26:06] local.INFO: GPS data processed {"connection_id":124104,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:26:06] local.INFO: Acknowledgment sent {"connection_id":124104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:26:11] local.INFO: TCP Data received {"connection_id":126131,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:26:11] local.INFO: Processing buffer {"connection_id":126131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:26:11] local.INFO: IMEI packet received {"connection_id":126131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":126131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:26:12] local.INFO: TCP Data received {"connection_id":126131,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a492138012d82ce0005d678c80002000921..."} 
[2026-07-07 07:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a492138012d82ce0005d678c80002000921..."} 
[2026-07-07 07:26:12] local.INFO: Processing buffer {"connection_id":126131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a492138012d82ce0005d678c80002000921..."} 
[2026-07-07 07:26:12] local.INFO: Packet analysis {"connection_id":126131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a49"} 
[2026-07-07 07:26:12] local.INFO: Extracted packet for processing {"connection_id":126131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a49"} 
[2026-07-07 07:26:12] local.INFO: GPS Element Parsed {"raw_longitude":763547136,"raw_latitude":97941704,"longitude_deg":76.3547136,"latitude_deg":9.7941704,"altitude":2,"angle":9,"satellites":33,"speed":31,"hex_longitude":"2d82ce00","hex_latitude":"05d678c8","is_valid_coordinates":true} 
[2026-07-07 07: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-07-07 07:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547658240001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103141264496525312,"note":"Value kept but may cause issues"} 
[2026-07-07 07:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9024439571993583616,"note":"Value kept but may cause issues"} 
[2026-07-07 07:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783389299000,"timestamp_ms":1783389299000,"timestamp_seconds":1783389299,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a492138"} 
[2026-07-07 07:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:26: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-07-07 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 07:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07: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-07-07 07:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:26: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-07-07 07:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547658240001,"66":13059,"18":206,"85":15104,"24":31,"16":103141264496525312,"45":-9024439571993583616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-07 07:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547658240001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:26:12] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-07 07:26:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103141264496525312,"km_value":103141264496525.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9024439571993583616,"description":"Unknown IO ID 45"} 
[2026-07-07 07:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547658240001,"power":13059,"unknown_18":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9024439571993583616}} 
[2026-07-07 07:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":126131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:26:12] local.INFO: GPS data processed {"connection_id":126131,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:26:12] local.INFO: Acknowledgment sent {"connection_id":126131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:26:37] local.INFO: TCP Data received {"connection_id":124104,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:26:37] local.INFO: Processing buffer {"connection_id":124104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:26:37] local.INFO: Packet analysis {"connection_id":124104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a47"} 
[2026-07-07 07:26:37] local.INFO: Extracted packet for processing {"connection_id":124104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a47"} 
[2026-07-07 07:26:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":47,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547547904001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:26:37] 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-07-07 07:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783389160000,"timestamp_ms":1783389160000,"timestamp_seconds":1783389160,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a470240"} 
[2026-07-07 07:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 07:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547547904001,"66":25604,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547547904001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:26:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:26:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547547904001,"power":25604,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":124104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:26:38] local.INFO: GPS data processed {"connection_id":124104,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:26:38] local.INFO: Acknowledgment sent {"connection_id":124104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:26:56] local.INFO: TCP Data received {"connection_id":124216,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:26:56] local.INFO: Processing buffer {"connection_id":124216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:26:56] local.INFO: IMEI packet received {"connection_id":124216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":124216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:26:56] local.INFO: TCP Data received {"connection_id":124216,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:26:56] local.INFO: Processing buffer {"connection_id":124216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:26:56] local.INFO: IMEI packet received {"connection_id":124216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":124216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:27:01] local.INFO: TCP Data received {"connection_id":124216,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:27:01] local.INFO: Processing buffer {"connection_id":124216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:27:01] local.INFO: IMEI packet received {"connection_id":124216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":124216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:27:01] local.INFO: TCP Data received {"connection_id":124216,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4934c0012d82cf8005d682a00004016621..."} 
[2026-07-07 07:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4934c0012d82cf8005d682a00004016621..."} 
[2026-07-07 07:27:01] local.INFO: Processing buffer {"connection_id":124216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4934c0012d82cf8005d682a00004016621..."} 
[2026-07-07 07:27:01] local.INFO: Packet analysis {"connection_id":124216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a49"} 
[2026-07-07 07:27:01] local.INFO: Extracted packet for processing {"connection_id":124216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a49"} 
[2026-07-07 07:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763547520,"raw_latitude":97944224,"longitude_deg":76.354752,"latitude_deg":9.7944224,"altitude":4,"angle":358,"satellites":33,"speed":15,"hex_longitude":"2d82cf80","hex_latitude":"05d682a0","is_valid_coordinates":true} 
[2026-07-07 07:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547660544001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103141389050576896,"note":"Value kept but may cause issues"} 
[2026-07-07 07:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021272978503448576,"note":"Value kept but may cause issues"} 
[2026-07-07 07:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783389304000,"timestamp_ms":1783389304000,"timestamp_seconds":1783389304,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4934c0"} 
[2026-07-07 07:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 07:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166653517160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:27:01] local.WARNING: Large IO value detected {"io_id":18,"raw_value":58077557095399438,"note":"Value kept but may cause issues"} 
[2026-07-07 07:27:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 07:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2192703493,"note":"Value kept but may cause issues"} 
[2026-07-07 07:27:01] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040104,"note":"Value kept but may cause issues"} 
[2026-07-07 07:27:01] local.WARNING: Large IO value detected {"io_id":109,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-07-07 07:27:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-07-07 07:27:01] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2147866137,"note":"Value kept but may cause issues"} 
[2026-07-07 07:27:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3591927808,"note":"Value kept but may cause issues"} 
[2026-07-07 07:27:01] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,18,85,24,241,157,16,110,159,254,45,192,88,2,30,10,66,211,128,51,32,109,207,1,240,133,227,58,214,4,113,205,27,160,167,224,34,239,5,3,14],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-07-07 07:27:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144125225416458240,"timestamp_seconds":144125225416458.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 07:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:27:01] 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-07-07 07:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547660544001,"66":12809,"18":206,"85":15104,"24":15,"16":103141389050576896,"45":-9021272978503448576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-07 07:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547660544001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:27:01] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-07 07:27:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103141389050576896,"km_value":103141389050576.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021272978503448576,"description":"Unknown IO ID 45"} 
[2026-07-07 07:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547660544001,"power":12809,"unknown_18":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9021272978503448576}} 
[2026-07-07 07:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":124216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:27:01] local.INFO: GPS data processed {"connection_id":124216,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:27:01] local.INFO: Acknowledgment sent {"connection_id":124216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:27:05] local.INFO: TCP Data received {"connection_id":126132,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:27:05] local.INFO: Processing buffer {"connection_id":126132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:27:05] local.INFO: IMEI packet received {"connection_id":126132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":126132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:27:10] local.INFO: TCP Data received {"connection_id":126132,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:27:10] local.INFO: Processing buffer {"connection_id":126132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:27:10] local.INFO: IMEI packet received {"connection_id":126132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":126132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:27:11] local.INFO: TCP Data received {"connection_id":126132,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:27:11] local.INFO: Processing buffer {"connection_id":126132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:27:11] local.INFO: Packet analysis {"connection_id":126132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a47"} 
[2026-07-07 07:27:11] local.INFO: Extracted packet for processing {"connection_id":126132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a47"} 
[2026-07-07 07:27:11] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":47,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547547904001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:27:11] 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-07-07 07:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783389160000,"timestamp_ms":1783389160000,"timestamp_seconds":1783389160,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a470240"} 
[2026-07-07 07:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:27: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-07-07 07:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 07:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547547904001,"66":25604,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547547904001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:27:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:27:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547547904001,"power":25604,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":126132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:27:11] local.INFO: GPS data processed {"connection_id":126132,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:27:11] local.INFO: Acknowledgment sent {"connection_id":126132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:27:15] local.INFO: TCP Data received {"connection_id":126132,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:27:15] local.INFO: Processing buffer {"connection_id":126132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:27:15] local.INFO: Packet analysis {"connection_id":126132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a47"} 
[2026-07-07 07:27:15] local.INFO: Extracted packet for processing {"connection_id":126132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a47"} 
[2026-07-07 07:27:15] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":47,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 07:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547547904001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:27:15] 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-07-07 07:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783389160000,"timestamp_ms":1783389160000,"timestamp_seconds":1783389160,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a470240"} 
[2026-07-07 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-07-07 07:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 07:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 07:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547547904001,"66":25604,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547547904001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:27:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:27:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547547904001,"power":25604,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":126132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:27:15] local.INFO: GPS data processed {"connection_id":126132,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:27:15] local.INFO: Acknowledgment sent {"connection_id":126132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:27:30] local.INFO: TCP Data received {"connection_id":124892,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:27:30] local.INFO: Processing buffer {"connection_id":124892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:27:30] local.INFO: IMEI packet received {"connection_id":124892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 07:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":124892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:27:32] local.INFO: TCP Data received {"connection_id":124216,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4b20f0012d82b8c005d6eeb00006015f25..."} 
[2026-07-07 07:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4b20f0012d82b8c005d6eeb00006015f25..."} 
[2026-07-07 07:27:32] local.INFO: Processing buffer {"connection_id":124216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4b20f0012d82b8c005d6eeb00006015f25..."} 
[2026-07-07 07:27:32] local.INFO: Packet analysis {"connection_id":124216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4b"} 
[2026-07-07 07:27:32] local.INFO: Extracted packet for processing {"connection_id":124216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4b"} 
[2026-07-07 07:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763541696,"raw_latitude":97971888,"longitude_deg":76.3541696,"latitude_deg":9.7971888,"altitude":6,"angle":351,"satellites":37,"speed":31,"hex_longitude":"2d82b8c0","hex_latitude":"05d6eeb0","is_valid_coordinates":true} 
[2026-07-07 07: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-07-07 07:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547693312001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103142879404228608,"note":"Value kept but may cause issues"} 
[2026-07-07 07:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027113584262989824,"note":"Value kept but may cause issues"} 
[2026-07-07 07:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783389430000,"timestamp_ms":1783389430000,"timestamp_seconds":1783389430,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4b20f0"} 
[2026-07-07 07:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-07 07:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07: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-07-07 07:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:27:32] 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-07-07 07:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547693312001,"66":13298,"156":206,"85":15104,"24":31,"16":103142879404228608,"45":-9027113584262989824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-07 07:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547693312001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:27:32] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 07:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103142879404228608,"km_value":103142879404228.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027113584262989824,"description":"Unknown IO ID 45"} 
[2026-07-07 07:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547693312001,"power":13298,"unknown_156":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9027113584262989824}} 
[2026-07-07 07:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":124216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:27:32] local.INFO: GPS data processed {"connection_id":124216,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:27:32] local.INFO: Acknowledgment sent {"connection_id":124216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:28:00] local.INFO: TCP Data received {"connection_id":124105,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:28:00] local.INFO: Processing buffer {"connection_id":124105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:28:00] local.INFO: IMEI packet received {"connection_id":124105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":124105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:28:01] local.INFO: TCP Data received {"connection_id":126133,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:28:01] local.INFO: Processing buffer {"connection_id":126133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:28:01] local.INFO: IMEI packet received {"connection_id":126133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":126133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:28:05] local.INFO: TCP Data received {"connection_id":124105,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:28:05] local.INFO: Processing buffer {"connection_id":124105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:28:05] local.INFO: IMEI packet received {"connection_id":124105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":124105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:28:05] local.INFO: TCP Data received {"connection_id":124217,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:28:05] local.INFO: Processing buffer {"connection_id":124217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:28:05] local.INFO: IMEI packet received {"connection_id":124217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 07:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":124217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:28:05] local.INFO: TCP Data received {"connection_id":124105,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:28:05] local.INFO: Processing buffer {"connection_id":124105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a470240012d6efe80064499f8000f00462f..."} 
[2026-07-07 07:28:05] local.INFO: Packet analysis {"connection_id":124105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a47"} 
[2026-07-07 07:28:05] local.INFO: Extracted packet for processing {"connection_id":124105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a47"} 
[2026-07-07 07:28:05] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":47,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547547904001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:28:05] 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-07-07 07:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783389160000,"timestamp_ms":1783389160000,"timestamp_seconds":1783389160,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a470240"} 
[2026-07-07 07:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 07:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547547904001,"66":25604,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547547904001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:28:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:28:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547547904001,"power":25604,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":124105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:28:06] local.INFO: GPS data processed {"connection_id":124105,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:28:06] local.INFO: Acknowledgment sent {"connection_id":124105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:28:06] local.INFO: TCP Data received {"connection_id":126133,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:28:06] local.INFO: Processing buffer {"connection_id":126133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:28:06] local.INFO: IMEI packet received {"connection_id":126133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":126133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:28:07] local.INFO: TCP Data received {"connection_id":126133,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4b4be8012d82b34005d712100006015e25..."} 
[2026-07-07 07:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4b4be8012d82b34005d712100006015e25..."} 
[2026-07-07 07:28:07] local.INFO: Processing buffer {"connection_id":126133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4b4be8012d82b34005d712100006015e25..."} 
[2026-07-07 07:28:07] local.INFO: Packet analysis {"connection_id":126133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4b"} 
[2026-07-07 07:28:07] local.INFO: Extracted packet for processing {"connection_id":126133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4b"} 
[2026-07-07 07:28:07] local.INFO: GPS Element Parsed {"raw_longitude":763540288,"raw_latitude":97980944,"longitude_deg":76.3540288,"latitude_deg":9.7980944,"altitude":6,"angle":350,"satellites":37,"speed":38,"hex_longitude":"2d82b340","hex_latitude":"05d71210","is_valid_coordinates":true} 
[2026-07-07 07:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547694080001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103143326080827392,"note":"Value kept but may cause issues"} 
[2026-07-07 07:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027254321750822912,"note":"Value kept but may cause issues"} 
[2026-07-07 07:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783389441000,"timestamp_ms":1783389441000,"timestamp_seconds":1783389441,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4b4be8"} 
[2026-07-07 07:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-07 07:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07: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-07-07 07:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:28:07] 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-07-07 07:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547694080001,"66":13319,"156":206,"85":15104,"24":38,"16":103143326080827392,"45":-9027254321750822912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-07 07:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547694080001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:28:07] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 07:28:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103143326080827392,"km_value":103143326080827.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027254321750822912,"description":"Unknown IO ID 45"} 
[2026-07-07 07:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547694080001,"power":13319,"unknown_156":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9027254321750822912}} 
[2026-07-07 07:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":126133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:28:07] local.INFO: GPS data processed {"connection_id":126133,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:28:07] local.INFO: Acknowledgment sent {"connection_id":126133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:28:11] local.INFO: TCP Data received {"connection_id":126133,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4b6f10012d82ad8005d734e00007016025..."} 
[2026-07-07 07:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4b6f10012d82ad8005d734e00007016025..."} 
[2026-07-07 07:28:11] local.INFO: Processing buffer {"connection_id":126133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4b6f10012d82ad8005d734e00007016025..."} 
[2026-07-07 07:28:11] local.INFO: Packet analysis {"connection_id":126133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4b"} 
[2026-07-07 07:28:11] local.INFO: Extracted packet for processing {"connection_id":126133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4b"} 
[2026-07-07 07:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763538816,"raw_latitude":97989856,"longitude_deg":76.3538816,"latitude_deg":9.7989856,"altitude":7,"angle":352,"satellites":37,"speed":41,"hex_longitude":"2d82ad80","hex_latitude":"05d734e0","is_valid_coordinates":true} 
[2026-07-07 07:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547696896001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103143764167491584,"note":"Value kept but may cause issues"} 
[2026-07-07 07:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9028802434120413184,"note":"Value kept but may cause issues"} 
[2026-07-07 07:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783389450000,"timestamp_ms":1783389450000,"timestamp_seconds":1783389450,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4b6f10"} 
[2026-07-07 07:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 07:28:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 07:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2193080325,"note":"Value kept but may cause issues"} 
[2026-07-07 07:28:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3600349184,"note":"Value kept but may cause issues"} 
[2026-07-07 07:28:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-07 07:28:11] local.WARNING: Large IO value detected {"io_id":214,"raw_value":-7660622931776101120,"note":"Value kept but may cause issues"} 
[2026-07-07 07:28:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795241678,"corrected_to":0} 
[2026-07-07 07:28:11] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3221608090,"note":"Value kept but may cause issues"} 
[2026-07-07 07:28:11] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57885559184315707,"note":"Value kept but may cause issues"} 
[2026-07-07 07:28:11] local.WARNING: Large IO value detected {"io_id":74,"raw_value":4213118746383564805,"note":"Value kept but may cause issues"} 
[2026-07-07 07:28:11] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,156,85,24,241,157,16,112,159,32,45,192,238,6,37,10,66,111,21,64,230,5,226,1,240,116,227,58,214,4,113,205,152,184,48,239,52,2,110,7,74],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2795241678,"validated":0}]} 
[2026-07-07 07:28:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432730552213569536,"timestamp_seconds":432730552213569.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 07:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:28: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-07-07 07:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547696896001,"66":13254,"156":206,"85":15104,"24":41,"16":103143764167491584,"45":-9028802434120413184},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-07 07:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547696896001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:28:11] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 07:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103143764167491584,"km_value":103143764167491.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9028802434120413184,"description":"Unknown IO ID 45"} 
[2026-07-07 07:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547696896001,"power":13254,"unknown_156":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9028802434120413184}} 
[2026-07-07 07:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":126133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:28:12] local.INFO: GPS data processed {"connection_id":126133,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:28:12] local.INFO: Acknowledgment sent {"connection_id":126133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:28:37] local.INFO: TCP Data received {"connection_id":124105,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4b9a08012d6efe80064499f8000f00462e..."} 
[2026-07-07 07:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4b9a08012d6efe80064499f8000f00462e..."} 
[2026-07-07 07:28:37] local.INFO: Processing buffer {"connection_id":124105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4b9a08012d6efe80064499f8000f00462e..."} 
[2026-07-07 07:28:37] local.INFO: Packet analysis {"connection_id":124105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4b"} 
[2026-07-07 07:28:37] local.INFO: Extracted packet for processing {"connection_id":124105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4b"} 
[2026-07-07 07:28:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":46,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547624960001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:28:37] 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-07-07 07:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783389461000,"timestamp_ms":1783389461000,"timestamp_seconds":1783389461,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4b9a08"} 
[2026-07-07 07:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 07:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547624960001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547624960001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:28:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:28:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547624960001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":124105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:28:37] local.INFO: GPS data processed {"connection_id":124105,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:28:37] local.INFO: Acknowledgment sent {"connection_id":124105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:28:56] local.INFO: TCP Data received {"connection_id":124893,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:28:56] local.INFO: Processing buffer {"connection_id":124893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:28:56] local.INFO: IMEI packet received {"connection_id":124893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":124893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:28:59] local.INFO: TCP Data received {"connection_id":124106,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:28:59] local.INFO: Processing buffer {"connection_id":124106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:28:59] local.INFO: IMEI packet received {"connection_id":124106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":124106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:29:01] local.INFO: TCP Data received {"connection_id":124893,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:29:01] local.INFO: Processing buffer {"connection_id":124893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:29:01] local.INFO: IMEI packet received {"connection_id":124893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":124893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:29:02] local.INFO: TCP Data received {"connection_id":124893,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4bc118012d82a94005d74f780009016025..."} 
[2026-07-07 07:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4bc118012d82a94005d74f780009016025..."} 
[2026-07-07 07:29:02] local.INFO: Processing buffer {"connection_id":124893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4bc118012d82a94005d74f780009016025..."} 
[2026-07-07 07:29:02] local.INFO: Packet analysis {"connection_id":124893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4b"} 
[2026-07-07 07:29:02] local.INFO: Extracted packet for processing {"connection_id":124893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4b"} 
[2026-07-07 07:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763537728,"raw_latitude":97996664,"longitude_deg":76.3537728,"latitude_deg":9.7996664,"altitude":9,"angle":352,"satellites":37,"speed":0,"hex_longitude":"2d82a940","hex_latitude":"05d74f78","is_valid_coordinates":true} 
[2026-07-07 07:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547699200001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103144116354809856,"note":"Value kept but may cause issues"} 
[2026-07-07 07:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9030420915234217984,"note":"Value kept but may cause issues"} 
[2026-07-07 07:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783389471000,"timestamp_ms":1783389471000,"timestamp_seconds":1783389471,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4bc118"} 
[2026-07-07 07:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-07 07:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:29:02] 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-07-07 07:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547699200001,"66":12917,"156":206,"85":15104,"24":0,"16":103144116354809856,"45":-9030420915234217984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-07 07:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547699200001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:29:02] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 07:29:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103144116354809856,"km_value":103144116354809.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9030420915234217984,"description":"Unknown IO ID 45"} 
[2026-07-07 07:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547699200001,"power":12917,"unknown_156":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9030420915234217984}} 
[2026-07-07 07:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":124893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:29:02] local.INFO: GPS data processed {"connection_id":124893,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:29:02] local.INFO: Acknowledgment sent {"connection_id":124893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:29:05] local.INFO: TCP Data received {"connection_id":124106,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:29:05] local.INFO: Processing buffer {"connection_id":124106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:29:05] local.INFO: IMEI packet received {"connection_id":124106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":124106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:29:06] local.INFO: TCP Data received {"connection_id":124106,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4b9a08012d6efe80064499f8000f00462e..."} 
[2026-07-07 07:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4b9a08012d6efe80064499f8000f00462e..."} 
[2026-07-07 07:29:06] local.INFO: Processing buffer {"connection_id":124106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4b9a08012d6efe80064499f8000f00462e..."} 
[2026-07-07 07:29:06] local.INFO: Packet analysis {"connection_id":124106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4b"} 
[2026-07-07 07:29:06] local.INFO: Extracted packet for processing {"connection_id":124106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4b"} 
[2026-07-07 07:29:06] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":46,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547624960001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:29:06] 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-07-07 07:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783389461000,"timestamp_ms":1783389461000,"timestamp_seconds":1783389461,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4b9a08"} 
[2026-07-07 07:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 07:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547624960001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547624960001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:29:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:29:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547624960001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":124106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:29:06] local.INFO: GPS data processed {"connection_id":124106,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:29:06] local.INFO: Acknowledgment sent {"connection_id":124106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:29:33] local.INFO: TCP Data received {"connection_id":124893,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4c1320012d82a5c005d773b0000a016224..."} 
[2026-07-07 07:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4c1320012d82a5c005d773b0000a016224..."} 
[2026-07-07 07:29:33] local.INFO: Processing buffer {"connection_id":124893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4c1320012d82a5c005d773b0000a016224..."} 
[2026-07-07 07:29:33] local.INFO: Packet analysis {"connection_id":124893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4c"} 
[2026-07-07 07:29:33] local.INFO: Extracted packet for processing {"connection_id":124893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4c"} 
[2026-07-07 07:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763536832,"raw_latitude":98005936,"longitude_deg":76.3536832,"latitude_deg":9.8005936,"altitude":10,"angle":354,"satellites":36,"speed":32,"hex_longitude":"2d82a5c0","hex_latitude":"05d773b0","is_valid_coordinates":true} 
[2026-07-07 07:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547704576001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103144567326375936,"note":"Value kept but may cause issues"} 
[2026-07-07 07:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031617183883495424,"note":"Value kept but may cause issues"} 
[2026-07-07 07:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783389492000,"timestamp_ms":1783389492000,"timestamp_seconds":1783389492,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4c1320"} 
[2026-07-07 07:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:29: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":117,"data_length":795,"current_offset":136} 
[2026-07-07 07:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:29:33] 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-07-07 07:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547704576001,"66":13428,"155":206,"85":15104,"24":32,"16":103144567326375936,"45":-9031617183883495424},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-07 07:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547704576001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:29:33] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-07 07:29:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103144567326375936,"km_value":103144567326375.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031617183883495424,"description":"Unknown IO ID 45"} 
[2026-07-07 07:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547704576001,"power":13428,"unknown_155":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9031617183883495424}} 
[2026-07-07 07:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":124893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:29:33] local.INFO: GPS data processed {"connection_id":124893,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:29:33] local.INFO: Acknowledgment sent {"connection_id":124893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:29:37] local.INFO: TCP Data received {"connection_id":124106,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4b9a08012d6efe80064499f8000f00462e..."} 
[2026-07-07 07:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4b9a08012d6efe80064499f8000f00462e..."} 
[2026-07-07 07:29:37] local.INFO: Processing buffer {"connection_id":124106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4b9a08012d6efe80064499f8000f00462e..."} 
[2026-07-07 07:29:37] local.INFO: Packet analysis {"connection_id":124106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4b"} 
[2026-07-07 07:29:37] local.INFO: Extracted packet for processing {"connection_id":124106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4b"} 
[2026-07-07 07:29:37] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":46,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547624960001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:29:37] 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-07-07 07:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783389461000,"timestamp_ms":1783389461000,"timestamp_seconds":1783389461,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4b9a08"} 
[2026-07-07 07:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 07:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547624960001,"66":25647,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547624960001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:29:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:29:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547624960001,"power":25647,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":124106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:29:37] local.INFO: GPS data processed {"connection_id":124106,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:29:37] local.INFO: Acknowledgment sent {"connection_id":124106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:29:56] local.INFO: TCP Data received {"connection_id":124219,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:29:56] local.INFO: Processing buffer {"connection_id":124219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:29:56] local.INFO: IMEI packet received {"connection_id":124219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":124219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:30:01] local.INFO: TCP Data received {"connection_id":124221,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:30:01] local.INFO: Processing buffer {"connection_id":124221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:30:01] local.INFO: IMEI packet received {"connection_id":124221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":124221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:30:01] local.INFO: TCP Data received {"connection_id":124219,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:30:01] local.INFO: Processing buffer {"connection_id":124219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:30:01] local.INFO: IMEI packet received {"connection_id":124219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":124219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:30:01] local.INFO: TCP Data received {"connection_id":124219,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4c3a30012d82a38005d797680009016425..."} 
[2026-07-07 07:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4c3a30012d82a38005d797680009016425..."} 
[2026-07-07 07:30:01] local.INFO: Processing buffer {"connection_id":124219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4c3a30012d82a38005d797680009016425..."} 
[2026-07-07 07:30:01] local.INFO: Packet analysis {"connection_id":124219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4c"} 
[2026-07-07 07:30:01] local.INFO: Extracted packet for processing {"connection_id":124219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4c"} 
[2026-07-07 07:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763536256,"raw_latitude":98015080,"longitude_deg":76.3536256,"latitude_deg":9.801508,"altitude":9,"angle":356,"satellites":37,"speed":38,"hex_longitude":"2d82a380","hex_latitude":"05d79768","is_valid_coordinates":true} 
[2026-07-07 07:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547709952001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103145014002974720,"note":"Value kept but may cause issues"} 
[2026-07-07 07:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032602346299609088,"note":"Value kept but may cause issues"} 
[2026-07-07 07:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783389502000,"timestamp_ms":1783389502000,"timestamp_seconds":1783389502,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4c3a30"} 
[2026-07-07 07:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-07 07:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:30:01] 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-07-07 07:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547709952001,"66":13428,"155":206,"85":15104,"24":38,"16":103145014002974720,"45":-9032602346299609088},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-07 07:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547709952001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:30:01] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-07 07:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103145014002974720,"km_value":103145014002974.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032602346299609088,"description":"Unknown IO ID 45"} 
[2026-07-07 07:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547709952001,"power":13428,"unknown_155":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9032602346299609088}} 
[2026-07-07 07:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":124219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:30:01] local.INFO: GPS data processed {"connection_id":124219,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:30:01] local.INFO: Acknowledgment sent {"connection_id":124219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:30:05] local.INFO: TCP Data received {"connection_id":124221,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:30:05] local.INFO: Processing buffer {"connection_id":124221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:30:05] local.INFO: IMEI packet received {"connection_id":124221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":124221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:30:10] local.INFO: TCP Data received {"connection_id":124221,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:30:10] local.INFO: Processing buffer {"connection_id":124221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:30:10] local.INFO: IMEI packet received {"connection_id":124221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":124221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:30:12] local.INFO: TCP Data received {"connection_id":124221,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4ccab8012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4ccab8012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:30:12] local.INFO: Processing buffer {"connection_id":124221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4ccab8012d6efe80064499f8000f00462d..."} 
[2026-07-07 07:30:12] local.INFO: Packet analysis {"connection_id":124221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4c"} 
[2026-07-07 07:30:12] local.INFO: Extracted packet for processing {"connection_id":124221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4c"} 
[2026-07-07 07:30:12] local.INFO: GPS Element Parsed {"raw_longitude":762248832,"raw_latitude":105159160,"longitude_deg":76.2248832,"latitude_deg":10.515916,"altitude":15,"angle":70,"satellites":45,"speed":0,"hex_longitude":"2d6efe80","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:30: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-07-07 07:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547702016001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:30:12] 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-07-07 07:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783389539000,"timestamp_ms":1783389539000,"timestamp_seconds":1783389539,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4ccab8"} 
[2026-07-07 07:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 07:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:30: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-07-07 07:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547702016001,"66":25625,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547702016001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:30:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:30:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547702016001,"power":25625,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":124221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:30:12] local.INFO: GPS data processed {"connection_id":124221,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:30:12] local.INFO: Acknowledgment sent {"connection_id":124221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:30:15] local.INFO: TCP Data received {"connection_id":124221,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4d2878012d6f004006449ad0000f003d2d..."} 
[2026-07-07 07:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4d2878012d6f004006449ad0000f003d2d..."} 
[2026-07-07 07:30:15] local.INFO: Processing buffer {"connection_id":124221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4d2878012d6f004006449ad0000f003d2d..."} 
[2026-07-07 07:30:15] local.INFO: Packet analysis {"connection_id":124221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:30:15] local.INFO: Extracted packet for processing {"connection_id":124221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:30:15] local.INFO: GPS Element Parsed {"raw_longitude":762249280,"raw_latitude":105159376,"longitude_deg":76.224928,"latitude_deg":10.5159376,"altitude":15,"angle":61,"satellites":45,"speed":0,"hex_longitude":"2d6f0040","hex_latitude":"06449ad0","is_valid_coordinates":true} 
[2026-07-07 07:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547721984001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997970752665679872,"note":"Value kept but may cause issues"} 
[2026-07-07 07:30:15] 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-07-07 07:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783389563000,"timestamp_ms":1783389563000,"timestamp_seconds":1783389563,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4d2878"} 
[2026-07-07 07:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:30: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-07-07 07:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 07:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07: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-07-07 07:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547721984001,"66":27745,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7997970752665679872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547721984001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:30:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:30:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997970752665679872,"description":"Unknown IO ID 45"} 
[2026-07-07 07:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547721984001,"power":27745,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997970752665679872}} 
[2026-07-07 07:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":124221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:30:15] local.INFO: GPS data processed {"connection_id":124221,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:30:15] local.INFO: Acknowledgment sent {"connection_id":124221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:30:33] local.INFO: TCP Data received {"connection_id":124219,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4c5d58012d82a10005d7ba100009016324..."} 
[2026-07-07 07:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4c5d58012d82a10005d7ba100009016324..."} 
[2026-07-07 07:30:33] local.INFO: Processing buffer {"connection_id":124219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4c5d58012d82a10005d7ba100009016324..."} 
[2026-07-07 07:30:33] local.INFO: Packet analysis {"connection_id":124219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4c"} 
[2026-07-07 07:30:33] local.INFO: Extracted packet for processing {"connection_id":124219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4c"} 
[2026-07-07 07:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763535616,"raw_latitude":98023952,"longitude_deg":76.3535616,"latitude_deg":9.8023952,"altitude":9,"angle":355,"satellites":36,"speed":39,"hex_longitude":"2d82a100","hex_latitude":"05d7ba10","is_valid_coordinates":true} 
[2026-07-07 07:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547712512001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103145443499704320,"note":"Value kept but may cause issues"} 
[2026-07-07 07:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033235664994867200,"note":"Value kept but may cause issues"} 
[2026-07-07 07:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783389511000,"timestamp_ms":1783389511000,"timestamp_seconds":1783389511,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4c5d58"} 
[2026-07-07 07:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-07 07:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:30:33] 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-07-07 07:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547712512001,"66":13493,"155":206,"85":15104,"24":39,"16":103145443499704320,"45":-9033235664994867200},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-07 07:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547712512001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:30:33] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-07 07:30:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103145443499704320,"km_value":103145443499704.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033235664994867200,"description":"Unknown IO ID 45"} 
[2026-07-07 07:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547712512001,"power":13493,"unknown_155":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9033235664994867200}} 
[2026-07-07 07:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":124219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:30:33] local.INFO: GPS data processed {"connection_id":124219,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:30:33] local.INFO: Acknowledgment sent {"connection_id":124219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:30:56] local.INFO: TCP Data received {"connection_id":124894,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:30:56] local.INFO: Processing buffer {"connection_id":124894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:30:56] local.INFO: IMEI packet received {"connection_id":124894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":124894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:30:58] local.INFO: TCP Data received {"connection_id":124894,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:30:58] local.INFO: Processing buffer {"connection_id":124894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:30:58] local.INFO: IMEI packet received {"connection_id":124894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":124894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:31:00] local.INFO: TCP Data received {"connection_id":124895,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:31:00] local.INFO: Processing buffer {"connection_id":124895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:31:00] local.INFO: IMEI packet received {"connection_id":124895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":124895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:31:01] local.INFO: TCP Data received {"connection_id":124894,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:31:01] local.INFO: Processing buffer {"connection_id":124894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:31:01] local.INFO: IMEI packet received {"connection_id":124894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":124894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:31:02] local.INFO: TCP Data received {"connection_id":124894,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4e3600012d827ec005d90d50000a015f25..."} 
[2026-07-07 07:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4e3600012d827ec005d90d50000a015f25..."} 
[2026-07-07 07:31:02] local.INFO: Processing buffer {"connection_id":124894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4e3600012d827ec005d90d50000a015f25..."} 
[2026-07-07 07:31:02] local.INFO: Packet analysis {"connection_id":124894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4e"} 
[2026-07-07 07:31:02] local.INFO: Extracted packet for processing {"connection_id":124894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4e"} 
[2026-07-07 07:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763526848,"raw_latitude":98110800,"longitude_deg":76.3526848,"latitude_deg":9.81108,"altitude":10,"angle":351,"satellites":37,"speed":46,"hex_longitude":"2d827ec0","hex_latitude":"05d90d50","is_valid_coordinates":true} 
[2026-07-07 07:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547743744001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103149708402229248,"note":"Value kept but may cause issues"} 
[2026-07-07 07:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042524339204239360,"note":"Value kept but may cause issues"} 
[2026-07-07 07:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783389632000,"timestamp_ms":1783389632000,"timestamp_seconds":1783389632,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4e3600"} 
[2026-07-07 07:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:31: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-07-07 07:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-07 07:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:31:02] 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-07-07 07:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547743744001,"66":13080,"47":206,"85":15104,"24":46,"16":103149708402229248,"45":-9042524339204239360},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-07 07:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547743744001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:31:02] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-07 07:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103149708402229248,"km_value":103149708402229.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042524339204239360,"description":"Unknown IO ID 45"} 
[2026-07-07 07:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547743744001,"power":13080,"unknown_47":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9042524339204239360}} 
[2026-07-07 07:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":124894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:31:02] local.INFO: GPS data processed {"connection_id":124894,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:31:02] local.INFO: Acknowledgment sent {"connection_id":124894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:31:05] local.INFO: TCP Data received {"connection_id":124895,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:31:05] local.INFO: Processing buffer {"connection_id":124895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:31:05] local.INFO: IMEI packet received {"connection_id":124895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":124895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:31:06] local.INFO: TCP Data received {"connection_id":124895,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4d7a80012d6f004006449ad0000f003d2e..."} 
[2026-07-07 07:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4d7a80012d6f004006449ad0000f003d2e..."} 
[2026-07-07 07:31:06] local.INFO: Processing buffer {"connection_id":124895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4d7a80012d6f004006449ad0000f003d2e..."} 
[2026-07-07 07:31:06] local.INFO: Packet analysis {"connection_id":124895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:31:06] local.INFO: Extracted packet for processing {"connection_id":124895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:31:06] local.INFO: GPS Element Parsed {"raw_longitude":762249280,"raw_latitude":105159376,"longitude_deg":76.224928,"latitude_deg":10.5159376,"altitude":15,"angle":61,"satellites":46,"speed":0,"hex_longitude":"2d6f0040","hex_latitude":"06449ad0","is_valid_coordinates":true} 
[2026-07-07 07:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547728128001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597563772108800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998463333874978816,"note":"Value kept but may cause issues"} 
[2026-07-07 07:31:06] 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-07-07 07:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783389584000,"timestamp_ms":1783389584000,"timestamp_seconds":1783389584,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4d7a80"} 
[2026-07-07 07:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:31: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-07-07 07:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 07:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547728128001,"66":27832,"86":206,"79":20480,"24":0,"16":340597563772108800,"45":7998463333874978816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547728128001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:31:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:31:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597563772108800,"km_value":340597563772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998463333874978816,"description":"Unknown IO ID 45"} 
[2026-07-07 07:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547728128001,"power":27832,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7998463333874978816}} 
[2026-07-07 07:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":124895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:31:06] local.INFO: GPS data processed {"connection_id":124895,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:31:06] local.INFO: Acknowledgment sent {"connection_id":124895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:31:33] local.INFO: TCP Data received {"connection_id":124894,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4e5540012d82748005d932500009015325..."} 
[2026-07-07 07:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4e5540012d82748005d932500009015325..."} 
[2026-07-07 07:31:33] local.INFO: Processing buffer {"connection_id":124894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4e5540012d82748005d932500009015325..."} 
[2026-07-07 07:31:33] local.INFO: Packet analysis {"connection_id":124894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4e"} 
[2026-07-07 07:31:33] local.INFO: Extracted packet for processing {"connection_id":124894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4e"} 
[2026-07-07 07:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763524224,"raw_latitude":98120272,"longitude_deg":76.3524224,"latitude_deg":9.8120272,"altitude":9,"angle":339,"satellites":37,"speed":47,"hex_longitude":"2d827480","hex_latitude":"05d93250","is_valid_coordinates":true} 
[2026-07-07 07: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-07-07 07:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547745792001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103150185143599104,"note":"Value kept but may cause issues"} 
[2026-07-07 07:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043579870364479488,"note":"Value kept but may cause issues"} 
[2026-07-07 07:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783389640000,"timestamp_ms":1783389640000,"timestamp_seconds":1783389640,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4e5540"} 
[2026-07-07 07:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-07 07:31: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-07-07 07: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-07-07 07:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:31:33] 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-07-07 07:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547745792001,"66":13374,"47":206,"85":15104,"24":47,"16":103150185143599104,"45":-9043579870364479488},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-07 07:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547745792001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:31:33] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-07 07:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103150185143599104,"km_value":103150185143599.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043579870364479488,"description":"Unknown IO ID 45"} 
[2026-07-07 07:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547745792001,"power":13374,"unknown_47":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9043579870364479488}} 
[2026-07-07 07:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":124894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:31:33] local.INFO: GPS data processed {"connection_id":124894,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:31:33] local.INFO: Acknowledgment sent {"connection_id":124894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:31:37] local.INFO: TCP Data received {"connection_id":124895,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4da190012d6f0000064499b0001100f52e..."} 
[2026-07-07 07:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4da190012d6f0000064499b0001100f52e..."} 
[2026-07-07 07:31:37] local.INFO: Processing buffer {"connection_id":124895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4da190012d6f0000064499b0001100f52e..."} 
[2026-07-07 07:31:37] local.INFO: Packet analysis {"connection_id":124895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:31:37] local.INFO: Extracted packet for processing {"connection_id":124895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:31:37] local.INFO: GPS Element Parsed {"raw_longitude":762249216,"raw_latitude":105159088,"longitude_deg":76.2249216,"latitude_deg":10.5159088,"altitude":17,"angle":245,"satellites":46,"speed":2,"hex_longitude":"2d6f0000","hex_latitude":"064499b0","is_valid_coordinates":true} 
[2026-07-07 07:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547733504001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597576657010688,"note":"Value kept but may cause issues"} 
[2026-07-07 07:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998463333874978816,"note":"Value kept but may cause issues"} 
[2026-07-07 07:31:37] 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-07-07 07:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783389594000,"timestamp_ms":1783389594000,"timestamp_seconds":1783389594,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4da190"} 
[2026-07-07 07:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:31: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-07-07 07: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 07:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547733504001,"66":28017,"86":206,"79":20480,"24":2,"16":340597576657010688,"45":7998463333874978816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547733504001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:31:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:31:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597576657010688,"km_value":340597576657010.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998463333874978816,"description":"Unknown IO ID 45"} 
[2026-07-07 07:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547733504001,"power":28017,"unknown_86":206,"unknown_79":20480,"ignition":2,"odometer":null,"unknown_45":7998463333874978816}} 
[2026-07-07 07:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":124895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:31:37] local.INFO: GPS data processed {"connection_id":124895,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:31:37] local.INFO: Acknowledgment sent {"connection_id":124895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:32:00] local.INFO: TCP Data received {"connection_id":124107,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:32:00] local.INFO: Processing buffer {"connection_id":124107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:32:00] local.INFO: IMEI packet received {"connection_id":124107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":124107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:32:05] local.INFO: TCP Data received {"connection_id":124107,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:32:05] local.INFO: Processing buffer {"connection_id":124107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:32:05] local.INFO: IMEI packet received {"connection_id":124107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":124107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:32:05] local.INFO: TCP Data received {"connection_id":124107,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4dcc88012d6eff8006449940001200442b..."} 
[2026-07-07 07:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4dcc88012d6eff8006449940001200442b..."} 
[2026-07-07 07:32:05] local.INFO: Processing buffer {"connection_id":124107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4dcc88012d6eff8006449940001200442b..."} 
[2026-07-07 07:32:05] local.INFO: Packet analysis {"connection_id":124107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:32:05] local.INFO: Extracted packet for processing {"connection_id":124107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:32:05] local.INFO: GPS Element Parsed {"raw_longitude":762249088,"raw_latitude":105158976,"longitude_deg":76.2249088,"latitude_deg":10.5158976,"altitude":18,"angle":68,"satellites":43,"speed":4,"hex_longitude":"2d6eff80","hex_latitude":"06449940","is_valid_coordinates":true} 
[2026-07-07 07:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547736064001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597611016749056,"note":"Value kept but may cause issues"} 
[2026-07-07 07:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998392965130727424,"note":"Value kept but may cause issues"} 
[2026-07-07 07:32:05] 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-07-07 07:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783389605000,"timestamp_ms":1783389605000,"timestamp_seconds":1783389605,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4dcc88"} 
[2026-07-07 07:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-07 07:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547736064001,"66":27843,"86":206,"79":20480,"24":4,"16":340597611016749056,"45":7998392965130727424},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547736064001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:32:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:32:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597611016749056,"km_value":340597611016749.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998392965130727424,"description":"Unknown IO ID 45"} 
[2026-07-07 07:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547736064001,"power":27843,"unknown_86":206,"unknown_79":20480,"ignition":4,"odometer":null,"unknown_45":7998392965130727424}} 
[2026-07-07 07:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":124107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:32:05] local.INFO: GPS data processed {"connection_id":124107,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:32:05] local.INFO: Acknowledgment sent {"connection_id":124107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:32:16] local.INFO: TCP Data received {"connection_id":126134,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:32:16] local.INFO: Processing buffer {"connection_id":126134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:32:16] local.INFO: IMEI packet received {"connection_id":126134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":126134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:32:17] local.INFO: TCP Data received {"connection_id":126134,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:32:17] local.INFO: Processing buffer {"connection_id":126134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:32:17] local.INFO: IMEI packet received {"connection_id":126134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":126134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:32:18] local.INFO: TCP Data received {"connection_id":126134,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4e5540012d82748005d932500009015325..."} 
[2026-07-07 07:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4e5540012d82748005d932500009015325..."} 
[2026-07-07 07:32:18] local.INFO: Processing buffer {"connection_id":126134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4e5540012d82748005d932500009015325..."} 
[2026-07-07 07:32:18] local.INFO: Packet analysis {"connection_id":126134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4e"} 
[2026-07-07 07:32:18] local.INFO: Extracted packet for processing {"connection_id":126134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4e"} 
[2026-07-07 07:32:18] local.INFO: GPS Element Parsed {"raw_longitude":763524224,"raw_latitude":98120272,"longitude_deg":76.3524224,"latitude_deg":9.8120272,"altitude":9,"angle":339,"satellites":37,"speed":47,"hex_longitude":"2d827480","hex_latitude":"05d93250","is_valid_coordinates":true} 
[2026-07-07 07: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-07-07 07:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547747840001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103150185143599104,"note":"Value kept but may cause issues"} 
[2026-07-07 07:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9046464988873338880,"note":"Value kept but may cause issues"} 
[2026-07-07 07:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783389640000,"timestamp_ms":1783389640000,"timestamp_seconds":1783389640,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4e5540"} 
[2026-07-07 07:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-07 07:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07: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-07-07 07:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":126134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":126134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":126134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:32:18] 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-07-07 07:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547747840001,"66":13374,"47":206,"85":15104,"24":47,"16":103150185143599104,"45":-9046464988873338880},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-07 07:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547747840001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:32:18] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-07 07:32:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103150185143599104,"km_value":103150185143599.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9046464988873338880,"description":"Unknown IO ID 45"} 
[2026-07-07 07:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547747840001,"power":13374,"unknown_47":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9046464988873338880}} 
[2026-07-07 07:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":126134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:32:18] local.INFO: GPS data processed {"connection_id":126134,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:32:18] local.INFO: Acknowledgment sent {"connection_id":126134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:32:19] local.INFO: TCP Data received {"connection_id":126134,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4e7480012d82660005d957000008015225..."} 
[2026-07-07 07:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4e7480012d82660005d957000008015225..."} 
[2026-07-07 07:32:19] local.INFO: Processing buffer {"connection_id":126134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4e7480012d82660005d957000008015225..."} 
[2026-07-07 07:32:19] local.INFO: Packet analysis {"connection_id":126134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4e"} 
[2026-07-07 07:32:19] local.INFO: Extracted packet for processing {"connection_id":126134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4e"} 
[2026-07-07 07:32:19] local.INFO: GPS Element Parsed {"raw_longitude":763520512,"raw_latitude":98129664,"longitude_deg":76.3520512,"latitude_deg":9.8129664,"altitude":8,"angle":338,"satellites":37,"speed":50,"hex_longitude":"2d826600","hex_latitude":"05d95700","is_valid_coordinates":true} 
[2026-07-07 07:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547747840001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103150674769870848,"note":"Value kept but may cause issues"} 
[2026-07-07 07:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9046464988873338880,"note":"Value kept but may cause issues"} 
[2026-07-07 07:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783389648000,"timestamp_ms":1783389648000,"timestamp_seconds":1783389648,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4e7480"} 
[2026-07-07 07:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-07 07:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":126134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":126134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":126134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:32:19] 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-07-07 07:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547747840001,"66":13352,"49":206,"85":15104,"24":50,"16":103150674769870848,"45":-9046464988873338880},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-07 07:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547747840001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:32:19] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 07:32:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103150674769870848,"km_value":103150674769870.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9046464988873338880,"description":"Unknown IO ID 45"} 
[2026-07-07 07:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547747840001,"power":13352,"unknown_49":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":-9046464988873338880}} 
[2026-07-07 07:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":126134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:32:19] local.INFO: GPS data processed {"connection_id":126134,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:32:19] local.INFO: Acknowledgment sent {"connection_id":126134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:32:37] local.INFO: TCP Data received {"connection_id":124107,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4ddc28012d6f0100064499f8001200612d..."} 
[2026-07-07 07:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4ddc28012d6f0100064499f8001200612d..."} 
[2026-07-07 07:32:37] local.INFO: Processing buffer {"connection_id":124107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4ddc28012d6f0100064499f8001200612d..."} 
[2026-07-07 07:32:37] local.INFO: Packet analysis {"connection_id":124107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:32:37] local.INFO: Extracted packet for processing {"connection_id":124107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:32:37] local.INFO: GPS Element Parsed {"raw_longitude":762249472,"raw_latitude":105159160,"longitude_deg":76.2249472,"latitude_deg":10.515916,"altitude":18,"angle":97,"satellites":45,"speed":0,"hex_longitude":"2d6f0100","hex_latitude":"064499f8","is_valid_coordinates":true} 
[2026-07-07 07:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547738880001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998252227642343424,"note":"Value kept but may cause issues"} 
[2026-07-07 07:32:37] 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-07-07 07:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783389609000,"timestamp_ms":1783389609000,"timestamp_seconds":1783389609,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4ddc28"} 
[2026-07-07 07:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 07:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547738880001,"66":27865,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7998252227642343424},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547738880001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:32:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:32:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998252227642343424,"description":"Unknown IO ID 45"} 
[2026-07-07 07:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547738880001,"power":27865,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7998252227642343424}} 
[2026-07-07 07:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":124107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:32:37] local.INFO: GPS data processed {"connection_id":124107,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:32:37] local.INFO: Acknowledgment sent {"connection_id":124107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:32:54] local.INFO: TCP Data received {"connection_id":124896,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:32:54] local.INFO: Processing buffer {"connection_id":124896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:32:54] local.INFO: IMEI packet received {"connection_id":124896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":124896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:32:57] local.INFO: TCP Data received {"connection_id":124896,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:32:57] local.INFO: Processing buffer {"connection_id":124896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:32:57] local.INFO: IMEI packet received {"connection_id":124896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":124896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:32:57] local.INFO: TCP Data received {"connection_id":124896,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:32:57] local.INFO: Processing buffer {"connection_id":124896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:32:57] local.INFO: IMEI packet received {"connection_id":124896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":124896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:33:00] local.INFO: TCP Data received {"connection_id":124897,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:33:00] local.INFO: Processing buffer {"connection_id":124897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:33:00] local.INFO: IMEI packet received {"connection_id":124897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":124897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:33:01] local.INFO: TCP Data received {"connection_id":124896,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:33:01] local.INFO: Processing buffer {"connection_id":124896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:33:01] local.INFO: IMEI packet received {"connection_id":124896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":124896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:33:02] local.INFO: TCP Data received {"connection_id":124896,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4fd7f8012d82128005da8e780007010225..."} 
[2026-07-07 07:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4fd7f8012d82128005da8e780007010225..."} 
[2026-07-07 07:33:02] local.INFO: Processing buffer {"connection_id":124896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4fd7f8012d82128005da8e780007010225..."} 
[2026-07-07 07:33:02] local.INFO: Packet analysis {"connection_id":124896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4f"} 
[2026-07-07 07:33:02] local.INFO: Extracted packet for processing {"connection_id":124896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4f"} 
[2026-07-07 07:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763499136,"raw_latitude":98209400,"longitude_deg":76.3499136,"latitude_deg":9.82094,"altitude":7,"angle":258,"satellites":37,"speed":29,"hex_longitude":"2d821280","hex_latitude":"05da8e78","is_valid_coordinates":true} 
[2026-07-07 07:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547772928001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103154780758605824,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9073205111637979136,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783389739000,"timestamp_ms":1783389739000,"timestamp_seconds":1783389739,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4fd7f8"} 
[2026-07-07 07:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:33: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-07-07 07:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 07:33:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:02] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2617245696,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2182889477,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":22529,"corrected_to":0} 
[2026-07-07 07:33:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:02] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2594073419748156416,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-07-07 07:33:02] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2147867243,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3662168064,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:02] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57886285033788731,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:02] local.WARNING: Large IO value detected {"io_id":79,"raw_value":7680890459450425349,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:02] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,71,85,24,241,157,16,122,159,208,45,64,143,7,37,10,66,204,128,142,200,1,240,116,227,58,218,4,113,205,165,42,176,239,49,69,2,110,5,9,220,79],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":200,"original":22529,"validated":0},{"io_id":205,"original":2806448334,"validated":0}]} 
[2026-07-07 07:33:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504699085808795648,"timestamp_seconds":504699085808795.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 07:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:33:02] 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-07-07 07:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547772928001,"66":13319,"71":206,"85":15104,"24":29,"16":103154780758605824,"45":-9073205111637979136},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-07 07:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547772928001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:33:02] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 07:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103154780758605824,"km_value":103154780758605.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9073205111637979136,"description":"Unknown IO ID 45"} 
[2026-07-07 07:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547772928001,"power":13319,"unknown_71":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9073205111637979136}} 
[2026-07-07 07:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":124896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:33:02] local.INFO: GPS data processed {"connection_id":124896,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:33:02] local.INFO: Acknowledgment sent {"connection_id":124896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:33:05] local.INFO: TCP Data received {"connection_id":124897,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:33:05] local.INFO: Processing buffer {"connection_id":124897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:33:05] local.INFO: IMEI packet received {"connection_id":124897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":124897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:33:05] local.INFO: TCP Data received {"connection_id":124896,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4ffb20012d81f08005da8420000600fe25..."} 
[2026-07-07 07:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4ffb20012d81f08005da8420000600fe25..."} 
[2026-07-07 07:33:05] local.INFO: Processing buffer {"connection_id":124896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4ffb20012d81f08005da8420000600fe25..."} 
[2026-07-07 07:33:05] local.INFO: Packet analysis {"connection_id":124896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4f"} 
[2026-07-07 07:33:05] local.INFO: Extracted packet for processing {"connection_id":124896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4f"} 
[2026-07-07 07:33:05] local.INFO: GPS Element Parsed {"raw_longitude":763490432,"raw_latitude":98206752,"longitude_deg":76.3490432,"latitude_deg":9.8206752,"altitude":6,"angle":254,"satellites":37,"speed":42,"hex_longitude":"2d81f080","hex_latitude":"05da8420","is_valid_coordinates":true} 
[2026-07-07 07:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547773184001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103155214550302720,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9074049536568166400,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783389748000,"timestamp_ms":1783389748000,"timestamp_seconds":1783389748,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4ffb20"} 
[2026-07-07 07:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 07:33:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:05] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2182889477,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:05] local.WARNING: Large IO value detected {"io_id":218,"raw_value":5206161207917880576,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-07-07 07:33:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1476472194,"corrected_to":0} 
[2026-07-07 07:33:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3664490496,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:05] local.WARNING: Large IO value detected {"io_id":221,"raw_value":57886285033788731,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:05] local.WARNING: Large IO value detected {"io_id":79,"raw_value":-8514053800574271483,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:05] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,71,85,24,241,157,16,122,159,212,45,128,143,7,37,10,66,208,64,204,1,240,116,227,58,218,4,113,205,200,28,160,239,52,2,110,5,9,56,221,79],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2806448334,"validated":0},{"io_id":200,"original":1476472194,"validated":0}]} 
[2026-07-07 07:33:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504686991181152256,"timestamp_seconds":504686991181152.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 07:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:33:05] 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-07-07 07:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547773184001,"66":13319,"71":206,"85":15104,"24":42,"16":103155214550302720,"45":-9074049536568166400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-07 07:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547773184001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:33:05] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 07:33:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103155214550302720,"km_value":103155214550302.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9074049536568166400,"description":"Unknown IO ID 45"} 
[2026-07-07 07:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547773184001,"power":13319,"unknown_71":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9074049536568166400}} 
[2026-07-07 07:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":124896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:33:05] local.INFO: GPS data processed {"connection_id":124896,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:33:05] local.INFO: Acknowledgment sent {"connection_id":124896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:33:06] local.INFO: TCP Data received {"connection_id":124897,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4defb0012d6f0140064499e0001200612e..."} 
[2026-07-07 07:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4defb0012d6f0140064499e0001200612e..."} 
[2026-07-07 07:33:06] local.INFO: Processing buffer {"connection_id":124897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4defb0012d6f0140064499e0001200612e..."} 
[2026-07-07 07:33:06] local.INFO: Packet analysis {"connection_id":124897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:33:06] local.INFO: Extracted packet for processing {"connection_id":124897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:33:06] local.INFO: GPS Element Parsed {"raw_longitude":762249536,"raw_latitude":105159136,"longitude_deg":76.2249536,"latitude_deg":10.5159136,"altitude":18,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d6f0140","hex_latitude":"064499e0","is_valid_coordinates":true} 
[2026-07-07 07:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547739904001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998674440107456512,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:06] 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-07-07 07:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783389614000,"timestamp_ms":1783389614000,"timestamp_seconds":1783389614,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4defb0"} 
[2026-07-07 07:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 07:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547739904001,"66":27745,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7998674440107456512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547739904001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:33:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:33:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998674440107456512,"description":"Unknown IO ID 45"} 
[2026-07-07 07:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547739904001,"power":27745,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7998674440107456512}} 
[2026-07-07 07:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":124897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:33:06] local.INFO: GPS data processed {"connection_id":124897,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:33:06] local.INFO: Acknowledgment sent {"connection_id":124897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:33:20] local.INFO: TCP Data received {"connection_id":124898,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:33:20] local.INFO: Processing buffer {"connection_id":124898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:33:20] local.INFO: IMEI packet received {"connection_id":124898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 07:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":124898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:33:37] local.INFO: TCP Data received {"connection_id":124896,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a50ddb0012d814b4005dad7e80005015f25..."} 
[2026-07-07 07:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a50ddb0012d814b4005dad7e80005015f25..."} 
[2026-07-07 07:33:37] local.INFO: Processing buffer {"connection_id":124896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a50ddb0012d814b4005dad7e80005015f25..."} 
[2026-07-07 07:33:37] local.INFO: Packet analysis {"connection_id":124896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a50"} 
[2026-07-07 07:33:37] local.INFO: Extracted packet for processing {"connection_id":124896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a50"} 
[2026-07-07 07:33:37] local.INFO: GPS Element Parsed {"raw_longitude":763448128,"raw_latitude":98228200,"longitude_deg":76.3448128,"latitude_deg":9.82282,"altitude":5,"angle":351,"satellites":37,"speed":45,"hex_longitude":"2d814b40","hex_latitude":"05dad7e8","is_valid_coordinates":true} 
[2026-07-07 07:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547790336001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103158079293489152,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9130133425672951808,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783389806000,"timestamp_ms":1783389806000,"timestamp_seconds":1783389806,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a50ddb0"} 
[2026-07-07 07:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 07:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:33:37] 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-07-07 07:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547790336001,"66":13363,"71":206,"85":15104,"24":45,"16":103158079293489152,"45":-9130133425672951808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-07 07:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547790336001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:33:37] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 07:33:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103158079293489152,"km_value":103158079293489.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9130133425672951808,"description":"Unknown IO ID 45"} 
[2026-07-07 07:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547790336001,"power":13363,"unknown_71":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9130133425672951808}} 
[2026-07-07 07:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":124896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:33:37] local.INFO: GPS data processed {"connection_id":124896,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:33:37] local.INFO: Acknowledgment sent {"connection_id":124896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:33:37] local.INFO: TCP Data received {"connection_id":124897,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4defb0012d6f0140064499e0001200612e..."} 
[2026-07-07 07:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4defb0012d6f0140064499e0001200612e..."} 
[2026-07-07 07:33:37] local.INFO: Processing buffer {"connection_id":124897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4defb0012d6f0140064499e0001200612e..."} 
[2026-07-07 07:33:37] local.INFO: Packet analysis {"connection_id":124897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:33:37] local.INFO: Extracted packet for processing {"connection_id":124897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:33:37] local.INFO: GPS Element Parsed {"raw_longitude":762249536,"raw_latitude":105159136,"longitude_deg":76.2249536,"latitude_deg":10.5159136,"altitude":18,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d6f0140","hex_latitude":"064499e0","is_valid_coordinates":true} 
[2026-07-07 07:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547739904001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998674440107456512,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:37] 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-07-07 07:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783389614000,"timestamp_ms":1783389614000,"timestamp_seconds":1783389614,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4defb0"} 
[2026-07-07 07:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 07:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547739904001,"66":27745,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7998674440107456512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547739904001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:33:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:33:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998674440107456512,"description":"Unknown IO ID 45"} 
[2026-07-07 07:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547739904001,"power":27745,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7998674440107456512}} 
[2026-07-07 07:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":124897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:33:37] local.INFO: GPS data processed {"connection_id":124897,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:33:37] local.INFO: Acknowledgment sent {"connection_id":124897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:33:56] local.INFO: TCP Data received {"connection_id":124109,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:33:56] local.INFO: Processing buffer {"connection_id":124109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:33:56] local.INFO: IMEI packet received {"connection_id":124109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":124109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:33:58] local.INFO: TCP Data received {"connection_id":124109,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:33:58] local.INFO: Processing buffer {"connection_id":124109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:33:58] local.INFO: IMEI packet received {"connection_id":124109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":124109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:33:59] local.INFO: TCP Data received {"connection_id":124109,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a50f520012d81468005daf0880006015325..."} 
[2026-07-07 07:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a50f520012d81468005daf0880006015325..."} 
[2026-07-07 07:33:59] local.INFO: Processing buffer {"connection_id":124109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a50f520012d81468005daf0880006015325..."} 
[2026-07-07 07:33:59] local.INFO: Packet analysis {"connection_id":124109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a50"} 
[2026-07-07 07:33:59] local.INFO: Extracted packet for processing {"connection_id":124109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a50"} 
[2026-07-07 07:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763446912,"raw_latitude":98234504,"longitude_deg":76.3446912,"latitude_deg":9.8234504,"altitude":6,"angle":339,"satellites":37,"speed":37,"hex_longitude":"2d814680","hex_latitude":"05daf088","is_valid_coordinates":true} 
[2026-07-07 07:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547790336001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103158388531134464,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9130133425672951808,"note":"Value kept but may cause issues"} 
[2026-07-07 07:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783389812000,"timestamp_ms":1783389812000,"timestamp_seconds":1783389812,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a50f520"} 
[2026-07-07 07:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 07:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":124109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":124109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":124109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547790336001,"66":13406,"71":206,"85":15104,"24":37,"16":103158388531134464,"45":-9130133425672951808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-07 07:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547790336001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:33:59] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 07:33:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103158388531134464,"km_value":103158388531134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9130133425672951808,"description":"Unknown IO ID 45"} 
[2026-07-07 07:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547790336001,"power":13406,"unknown_71":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9130133425672951808}} 
[2026-07-07 07:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":124109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:33:59] local.INFO: GPS data processed {"connection_id":124109,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:33:59] local.INFO: Acknowledgment sent {"connection_id":124109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:33:59] local.INFO: TCP Data received {"connection_id":124900,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:33:59] local.INFO: Processing buffer {"connection_id":124900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:33:59] local.INFO: IMEI packet received {"connection_id":124900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":124900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:34:00] local.INFO: TCP Data received {"connection_id":124899,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:34:00] local.INFO: Processing buffer {"connection_id":124899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:34:00] local.INFO: IMEI packet received {"connection_id":124899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 07:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":124899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:34:05] local.INFO: TCP Data received {"connection_id":124900,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:34:05] local.INFO: Processing buffer {"connection_id":124900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:34:05] local.INFO: IMEI packet received {"connection_id":124900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":124900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:34:05] local.INFO: TCP Data received {"connection_id":124900,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4defb0012d6f0140064499e0001200612e..."} 
[2026-07-07 07:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4defb0012d6f0140064499e0001200612e..."} 
[2026-07-07 07:34:05] local.INFO: Processing buffer {"connection_id":124900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4defb0012d6f0140064499e0001200612e..."} 
[2026-07-07 07:34:05] local.INFO: Packet analysis {"connection_id":124900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:34:05] local.INFO: Extracted packet for processing {"connection_id":124900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:34:05] local.INFO: GPS Element Parsed {"raw_longitude":762249536,"raw_latitude":105159136,"longitude_deg":76.2249536,"latitude_deg":10.5159136,"altitude":18,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d6f0140","hex_latitude":"064499e0","is_valid_coordinates":true} 
[2026-07-07 07:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547739904001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998674440107456512,"note":"Value kept but may cause issues"} 
[2026-07-07 07:34:05] 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-07-07 07:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783389614000,"timestamp_ms":1783389614000,"timestamp_seconds":1783389614,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4defb0"} 
[2026-07-07 07:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 07:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547739904001,"66":27745,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7998674440107456512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547739904001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:34:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:34:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998674440107456512,"description":"Unknown IO ID 45"} 
[2026-07-07 07:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547739904001,"power":27745,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7998674440107456512}} 
[2026-07-07 07:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":124900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:34:05] local.INFO: GPS data processed {"connection_id":124900,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:34:05] local.INFO: Acknowledgment sent {"connection_id":124900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:34:30] local.INFO: TCP Data received {"connection_id":124109,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a50fcf0012d81428005daf6680007014025..."} 
[2026-07-07 07:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a50fcf0012d81428005daf6680007014025..."} 
[2026-07-07 07:34:30] local.INFO: Processing buffer {"connection_id":124109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a50fcf0012d81428005daf6680007014025..."} 
[2026-07-07 07:34:30] local.INFO: Packet analysis {"connection_id":124109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a50"} 
[2026-07-07 07:34:30] local.INFO: Extracted packet for processing {"connection_id":124109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a50"} 
[2026-07-07 07:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763445888,"raw_latitude":98236008,"longitude_deg":76.3445888,"latitude_deg":9.8236008,"altitude":7,"angle":320,"satellites":37,"speed":34,"hex_longitude":"2d814280","hex_latitude":"05daf668","is_valid_coordinates":true} 
[2026-07-07 07:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547791872001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103158478725447680,"note":"Value kept but may cause issues"} 
[2026-07-07 07:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9131470431810713600,"note":"Value kept but may cause issues"} 
[2026-07-07 07:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783389814000,"timestamp_ms":1783389814000,"timestamp_seconds":1783389814,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a50fcf0"} 
[2026-07-07 07:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-07 07:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547791872001,"66":13254,"71":206,"85":15104,"24":34,"16":103158478725447680,"45":-9131470431810713600},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-07 07:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547791872001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:34:30] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 07:34:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103158478725447680,"km_value":103158478725447.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9131470431810713600,"description":"Unknown IO ID 45"} 
[2026-07-07 07:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547791872001,"power":13254,"unknown_71":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9131470431810713600}} 
[2026-07-07 07:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":124109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:34:30] local.INFO: GPS data processed {"connection_id":124109,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:34:30] local.INFO: Acknowledgment sent {"connection_id":124109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:34:38] local.INFO: TCP Data received {"connection_id":124900,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4defb0012d6f0140064499e0001200612e..."} 
[2026-07-07 07:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4defb0012d6f0140064499e0001200612e..."} 
[2026-07-07 07:34:38] local.INFO: Processing buffer {"connection_id":124900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4defb0012d6f0140064499e0001200612e..."} 
[2026-07-07 07:34:38] local.INFO: Packet analysis {"connection_id":124900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:34:38] local.INFO: Extracted packet for processing {"connection_id":124900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:34:38] local.INFO: GPS Element Parsed {"raw_longitude":762249536,"raw_latitude":105159136,"longitude_deg":76.2249536,"latitude_deg":10.5159136,"altitude":18,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d6f0140","hex_latitude":"064499e0","is_valid_coordinates":true} 
[2026-07-07 07:34: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-07-07 07:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547739904001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998674440107456512,"note":"Value kept but may cause issues"} 
[2026-07-07 07:34:38] 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-07-07 07:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783389614000,"timestamp_ms":1783389614000,"timestamp_seconds":1783389614,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4defb0"} 
[2026-07-07 07:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07: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-07-07 07:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 07:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547739904001,"66":27745,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7998674440107456512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547739904001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:34:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:34:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998674440107456512,"description":"Unknown IO ID 45"} 
[2026-07-07 07:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547739904001,"power":27745,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7998674440107456512}} 
[2026-07-07 07:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":124900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:34:38] local.INFO: GPS data processed {"connection_id":124900,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:34:38] local.INFO: Acknowledgment sent {"connection_id":124900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:34:56] local.INFO: TCP Data received {"connection_id":126135,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:34:56] local.INFO: Processing buffer {"connection_id":126135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:34:56] local.INFO: IMEI packet received {"connection_id":126135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":126135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:34:59] local.INFO: TCP Data received {"connection_id":126135,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:34:59] local.INFO: Processing buffer {"connection_id":126135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:34:59] local.INFO: IMEI packet received {"connection_id":126135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":126135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:34:59] local.INFO: TCP Data received {"connection_id":124223,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:34:59] local.INFO: Processing buffer {"connection_id":124223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:34:59] local.INFO: IMEI packet received {"connection_id":124223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":124223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:35:00] local.INFO: TCP Data received {"connection_id":126135,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a51e750012d80c04005dbdea00005014f25..."} 
[2026-07-07 07:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a51e750012d80c04005dbdea00005014f25..."} 
[2026-07-07 07:35:00] local.INFO: Processing buffer {"connection_id":126135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a51e750012d80c04005dbdea00005014f25..."} 
[2026-07-07 07:35:00] local.INFO: Packet analysis {"connection_id":126135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a51"} 
[2026-07-07 07:35:00] local.INFO: Extracted packet for processing {"connection_id":126135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a51"} 
[2026-07-07 07:35:00] local.INFO: GPS Element Parsed {"raw_longitude":763412544,"raw_latitude":98295456,"longitude_deg":76.3412544,"latitude_deg":9.8295456,"altitude":5,"angle":335,"satellites":37,"speed":51,"hex_longitude":"2d80c040","hex_latitude":"05dbdea0","is_valid_coordinates":true} 
[2026-07-07 07:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547805952001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103161794440200192,"note":"Value kept but may cause issues"} 
[2026-07-07 07:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9164614110304874496,"note":"Value kept but may cause issues"} 
[2026-07-07 07:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783389874000,"timestamp_ms":1783389874000,"timestamp_seconds":1783389874,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a51e750"} 
[2026-07-07 07:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-07 07:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:35:00] 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-07-07 07:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547805952001,"66":13319,"154":206,"85":15104,"24":51,"16":103161794440200192,"45":-9164614110304874496},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-07 07:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547805952001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:35:00] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-07 07:35:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103161794440200192,"km_value":103161794440200.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9164614110304874496,"description":"Unknown IO ID 45"} 
[2026-07-07 07:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547805952001,"power":13319,"unknown_154":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":-9164614110304874496}} 
[2026-07-07 07:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":126135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:35:00] local.INFO: GPS data processed {"connection_id":126135,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:35:00] local.INFO: Acknowledgment sent {"connection_id":126135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:35:05] local.INFO: TCP Data received {"connection_id":124223,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:35:05] local.INFO: Processing buffer {"connection_id":124223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:35:05] local.INFO: IMEI packet received {"connection_id":124223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":124223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:35:06] local.INFO: TCP Data received {"connection_id":124223,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4defb0012d6f0140064499e0001200612e..."} 
[2026-07-07 07:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4defb0012d6f0140064499e0001200612e..."} 
[2026-07-07 07:35:06] local.INFO: Processing buffer {"connection_id":124223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4defb0012d6f0140064499e0001200612e..."} 
[2026-07-07 07:35:06] local.INFO: Packet analysis {"connection_id":124223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:35:06] local.INFO: Extracted packet for processing {"connection_id":124223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:35:06] local.INFO: GPS Element Parsed {"raw_longitude":762249536,"raw_latitude":105159136,"longitude_deg":76.2249536,"latitude_deg":10.5159136,"altitude":18,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d6f0140","hex_latitude":"064499e0","is_valid_coordinates":true} 
[2026-07-07 07:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547739904001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998674440107456512,"note":"Value kept but may cause issues"} 
[2026-07-07 07:35:06] 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-07-07 07:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783389614000,"timestamp_ms":1783389614000,"timestamp_seconds":1783389614,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4defb0"} 
[2026-07-07 07:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:35: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-07-07 07:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 07:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547739904001,"66":27745,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7998674440107456512},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547739904001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:35:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:35:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998674440107456512,"description":"Unknown IO ID 45"} 
[2026-07-07 07:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547739904001,"power":27745,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7998674440107456512}} 
[2026-07-07 07:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":124223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:35:06] local.INFO: GPS data processed {"connection_id":124223,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:35:06] local.INFO: Acknowledgment sent {"connection_id":124223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:35:31] local.INFO: TCP Data received {"connection_id":126135,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5202a8012d80b24005dbfeb80006015125..."} 
[2026-07-07 07:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5202a8012d80b24005dbfeb80006015125..."} 
[2026-07-07 07:35:31] local.INFO: Processing buffer {"connection_id":126135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5202a8012d80b24005dbfeb80006015125..."} 
[2026-07-07 07:35:31] local.INFO: Packet analysis {"connection_id":126135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:35:31] local.INFO: Extracted packet for processing {"connection_id":126135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:35:31] local.INFO: GPS Element Parsed {"raw_longitude":763408960,"raw_latitude":98303672,"longitude_deg":76.340896,"latitude_deg":9.8303672,"altitude":6,"angle":337,"satellites":37,"speed":50,"hex_longitude":"2d80b240","hex_latitude":"05dbfeb8","is_valid_coordinates":true} 
[2026-07-07 07:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547807744001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103162228231897088,"note":"Value kept but may cause issues"} 
[2026-07-07 07:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9169258447418515456,"note":"Value kept but may cause issues"} 
[2026-07-07 07:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783389881000,"timestamp_ms":1783389881000,"timestamp_seconds":1783389881,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5202a8"} 
[2026-07-07 07:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 07:35:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 07:35:31] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":63489,"corrected_to":0} 
[2026-07-07 07:35:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3678115840,"note":"Value kept but may cause issues"} 
[2026-07-07 07:35:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-07 07:35:31] local.WARNING: Large IO value detected {"io_id":219,"raw_value":1977080262207218688,"note":"Value kept but may cause issues"} 
[2026-07-07 07:35:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2828665038,"corrected_to":0} 
[2026-07-07 07:35:31] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57887745322669371,"note":"Value kept but may cause issues"} 
[2026-07-07 07:35:31] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3157024633739231237,"note":"Value kept but may cause issues"} 
[2026-07-07 07:35:31] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,154,85,24,241,157,16,129,159,203,45,192,190,5,37,10,66,128,176,161,1,240,7,227,58,219,4,113,205,49,114,64,239,52,2,110,6,29,81],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":203,"original":63489,"validated":0},{"io_id":205,"original":2828665038,"validated":0}]} 
[2026-07-07 07:35:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360656465502076928,"timestamp_seconds":360656465502076.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 07:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:35:31] 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-07-07 07:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547807744001,"66":13428,"154":206,"85":15104,"24":50,"16":103162228231897088,"45":-9169258447418515456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-07 07:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547807744001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:35:31] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-07 07:35:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103162228231897088,"km_value":103162228231897.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9169258447418515456,"description":"Unknown IO ID 45"} 
[2026-07-07 07:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547807744001,"power":13428,"unknown_154":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":-9169258447418515456}} 
[2026-07-07 07:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":126135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:35:31] local.INFO: GPS data processed {"connection_id":126135,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:35:31] local.INFO: Acknowledgment sent {"connection_id":126135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:35:37] local.INFO: TCP Data received {"connection_id":124223,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a4defb0012d6f0140064499e0001200612e..."} 
[2026-07-07 07:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a4defb0012d6f0140064499e0001200612e..."} 
[2026-07-07 07:35:37] local.INFO: Processing buffer {"connection_id":124223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a4defb0012d6f0140064499e0001200612e..."} 
[2026-07-07 07:35:37] local.INFO: Packet analysis {"connection_id":124223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:35:37] local.INFO: Extracted packet for processing {"connection_id":124223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a4d"} 
[2026-07-07 07:35:37] local.INFO: GPS Element Parsed {"raw_longitude":762249536,"raw_latitude":105159136,"longitude_deg":76.2249536,"latitude_deg":10.5159136,"altitude":18,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2d6f0140","hex_latitude":"064499e0","is_valid_coordinates":true} 
[2026-07-07 07:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547739904001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998674440107456512,"note":"Value kept but may cause issues"} 
[2026-07-07 07:35:37] 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-07-07 07:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783389614000,"timestamp_ms":1783389614000,"timestamp_seconds":1783389614,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a4defb0"} 
[2026-07-07 07:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 07:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547739904001,"66":27745,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7998674440107456512},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547739904001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:35:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:35:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998674440107456512,"description":"Unknown IO ID 45"} 
[2026-07-07 07:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547739904001,"power":27745,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7998674440107456512}} 
[2026-07-07 07:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":124223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:35:37] local.INFO: GPS data processed {"connection_id":124223,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:35:37] local.INFO: Acknowledgment sent {"connection_id":124223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:35:55] local.INFO: TCP Data received {"connection_id":124111,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:35:55] local.INFO: Processing buffer {"connection_id":124111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:35:55] local.INFO: IMEI packet received {"connection_id":124111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":124111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:35:56] local.INFO: TCP Data received {"connection_id":124111,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:35:56] local.INFO: Processing buffer {"connection_id":124111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:35:56] local.INFO: IMEI packet received {"connection_id":124111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":124111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:36:01] local.INFO: TCP Data received {"connection_id":124111,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:36:01] local.INFO: Processing buffer {"connection_id":124111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:36:01] local.INFO: IMEI packet received {"connection_id":124111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":124111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:36:02] local.INFO: TCP Data received {"connection_id":124111,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5221e8012d80a2c005dc21d00007014f25..."} 
[2026-07-07 07:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5221e8012d80a2c005dc21d00007014f25..."} 
[2026-07-07 07:36:02] local.INFO: Processing buffer {"connection_id":124111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5221e8012d80a2c005dc21d00007014f25..."} 
[2026-07-07 07:36:02] local.INFO: Packet analysis {"connection_id":124111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:36:02] local.INFO: Extracted packet for processing {"connection_id":124111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763404992,"raw_latitude":98312656,"longitude_deg":76.3404992,"latitude_deg":9.8312656,"altitude":7,"angle":335,"satellites":37,"speed":46,"hex_longitude":"2d80a2c0","hex_latitude":"05dc21d0","is_valid_coordinates":true} 
[2026-07-07 07:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547809536001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103162704973266944,"note":"Value kept but may cause issues"} 
[2026-07-07 07:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173199097090361344,"note":"Value kept but may cause issues"} 
[2026-07-07 07:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783389889000,"timestamp_ms":1783389889000,"timestamp_seconds":1783389889,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5221e8"} 
[2026-07-07 07:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-07 07:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:36:02] 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-07-07 07:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547809536001,"66":13363,"154":206,"85":15104,"24":46,"16":103162704973266944,"45":-9173199097090361344},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-07 07:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547809536001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:36:02] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-07 07:36:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103162704973266944,"km_value":103162704973266.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173199097090361344,"description":"Unknown IO ID 45"} 
[2026-07-07 07:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547809536001,"power":13363,"unknown_154":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9173199097090361344}} 
[2026-07-07 07:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":124111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:36:02] local.INFO: GPS data processed {"connection_id":124111,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:36:02] local.INFO: Acknowledgment sent {"connection_id":124111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:36:05] local.INFO: TCP Data received {"connection_id":124902,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:36:05] local.INFO: Processing buffer {"connection_id":124902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:36:05] local.INFO: IMEI packet received {"connection_id":124902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":124902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:36:09] local.INFO: TCP Data received {"connection_id":124902,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:36:09] local.INFO: Processing buffer {"connection_id":124902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:36:09] local.INFO: IMEI packet received {"connection_id":124902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":124902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:36:11] local.INFO: TCP Data received {"connection_id":124902,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:36:11] local.INFO: Processing buffer {"connection_id":124902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:36:11] local.INFO: Packet analysis {"connection_id":124902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:36:11] local.INFO: Extracted packet for processing {"connection_id":124902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:36:11] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 07:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547741184001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998744808851628032,"note":"Value kept but may cause issues"} 
[2026-07-07 07:36:11] 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-07-07 07:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783389918000,"timestamp_ms":1783389918000,"timestamp_seconds":1783389918,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a529330"} 
[2026-07-07 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-07-07 07:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 07:36: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-07-07 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-07-07 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-07-07 07:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547741184001,"66":26158,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7998744808851628032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547741184001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:36:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:36:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998744808851628032,"description":"Unknown IO ID 45"} 
[2026-07-07 07:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547741184001,"power":26158,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7998744808851628032}} 
[2026-07-07 07:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":124902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:36:11] local.INFO: GPS data processed {"connection_id":124902,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:36:11] local.INFO: Acknowledgment sent {"connection_id":124902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:36:15] local.INFO: TCP Data received {"connection_id":124902,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:36:15] local.INFO: Processing buffer {"connection_id":124902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:36:15] local.INFO: Packet analysis {"connection_id":124902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:36:15] local.INFO: Extracted packet for processing {"connection_id":124902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:36:15] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547741184001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998744808851628032,"note":"Value kept but may cause issues"} 
[2026-07-07 07:36:15] 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-07-07 07:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783389918000,"timestamp_ms":1783389918000,"timestamp_seconds":1783389918,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a529330"} 
[2026-07-07 07:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07: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":97,"data_length":795,"current_offset":136} 
[2026-07-07 07:36: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-07-07 07:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547741184001,"66":26158,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7998744808851628032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547741184001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:36:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:36:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998744808851628032,"description":"Unknown IO ID 45"} 
[2026-07-07 07:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547741184001,"power":26158,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7998744808851628032}} 
[2026-07-07 07:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":124902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:36:15] local.INFO: GPS data processed {"connection_id":124902,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:36:15] local.INFO: Acknowledgment sent {"connection_id":124902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:36:33] local.INFO: TCP Data received {"connection_id":124111,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a524128012d80960005dc45900008014d24..."} 
[2026-07-07 07:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a524128012d80960005dc45900008014d24..."} 
[2026-07-07 07:36:33] local.INFO: Processing buffer {"connection_id":124111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a524128012d80960005dc45900008014d24..."} 
[2026-07-07 07:36:33] local.INFO: Packet analysis {"connection_id":124111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:36:33] local.INFO: Extracted packet for processing {"connection_id":124111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763401728,"raw_latitude":98321808,"longitude_deg":76.3401728,"latitude_deg":9.8321808,"altitude":8,"angle":333,"satellites":36,"speed":53,"hex_longitude":"2d809600","hex_latitude":"05dc4590","is_valid_coordinates":true} 
[2026-07-07 07:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547811584001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103163177419669504,"note":"Value kept but may cause issues"} 
[2026-07-07 07:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177561959227076608,"note":"Value kept but may cause issues"} 
[2026-07-07 07:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783389897000,"timestamp_ms":1783389897000,"timestamp_seconds":1783389897,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a524128"} 
[2026-07-07 07:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 07:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:36:33] 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-07-07 07:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547811584001,"66":13243,"154":206,"85":15104,"24":53,"16":103163177419669504,"45":-9177561959227076608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-07 07:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547811584001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:36:33] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-07 07:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103163177419669504,"km_value":103163177419669.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177561959227076608,"description":"Unknown IO ID 45"} 
[2026-07-07 07:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547811584001,"power":13243,"unknown_154":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":-9177561959227076608}} 
[2026-07-07 07:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":124111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:36:33] local.INFO: GPS data processed {"connection_id":124111,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:36:33] local.INFO: Acknowledgment sent {"connection_id":124111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:36:56] local.INFO: TCP Data received {"connection_id":124112,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:36:56] local.INFO: Processing buffer {"connection_id":124112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:36:56] local.INFO: IMEI packet received {"connection_id":124112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":124112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:37:00] local.INFO: TCP Data received {"connection_id":124224,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:37:00] local.INFO: Processing buffer {"connection_id":124224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:37:00] local.INFO: IMEI packet received {"connection_id":124224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":124224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:37:00] local.INFO: TCP Data received {"connection_id":124112,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:37:00] local.INFO: Processing buffer {"connection_id":124112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:37:00] local.INFO: IMEI packet received {"connection_id":124112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":124112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:37:01] local.INFO: TCP Data received {"connection_id":124112,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a525c80012d80834005dc67f80006015224..."} 
[2026-07-07 07:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a525c80012d80834005dc67f80006015224..."} 
[2026-07-07 07:37:01] local.INFO: Processing buffer {"connection_id":124112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a525c80012d80834005dc67f80006015224..."} 
[2026-07-07 07:37:01] local.INFO: Packet analysis {"connection_id":124112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:37:01] local.INFO: Extracted packet for processing {"connection_id":124112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763396928,"raw_latitude":98330616,"longitude_deg":76.3396928,"latitude_deg":9.8330616,"altitude":6,"angle":338,"satellites":36,"speed":59,"hex_longitude":"2d808340","hex_latitude":"05dc67f8","is_valid_coordinates":true} 
[2026-07-07 07:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547813632001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103163662750973952,"note":"Value kept but may cause issues"} 
[2026-07-07 07:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9181150765177794560,"note":"Value kept but may cause issues"} 
[2026-07-07 07:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783389904000,"timestamp_ms":1783389904000,"timestamp_seconds":1783389904,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a525c80"} 
[2026-07-07 07:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 07:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:37:01] 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-07-07 07:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547813632001,"66":13189,"154":206,"85":15104,"24":59,"16":103163662750973952,"45":-9181150765177794560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-07 07:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547813632001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:37:01] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-07 07:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103163662750973952,"km_value":103163662750973.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9181150765177794560,"description":"Unknown IO ID 45"} 
[2026-07-07 07:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547813632001,"power":13189,"unknown_154":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":-9181150765177794560}} 
[2026-07-07 07:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":124112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:37:01] local.INFO: GPS data processed {"connection_id":124112,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:37:01] local.INFO: Acknowledgment sent {"connection_id":124112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:37:05] local.INFO: TCP Data received {"connection_id":124224,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:37:05] local.INFO: Processing buffer {"connection_id":124224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:37:05] local.INFO: IMEI packet received {"connection_id":124224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":124224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:37:05] local.INFO: TCP Data received {"connection_id":124224,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:37:05] local.INFO: Processing buffer {"connection_id":124224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:37:05] local.INFO: Packet analysis {"connection_id":124224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:37:05] local.INFO: Extracted packet for processing {"connection_id":124224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:37:05] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547741184001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998744808851628032,"note":"Value kept but may cause issues"} 
[2026-07-07 07:37:05] 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-07-07 07:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783389918000,"timestamp_ms":1783389918000,"timestamp_seconds":1783389918,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a529330"} 
[2026-07-07 07:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 07:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547741184001,"66":26158,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7998744808851628032},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547741184001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:37:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:37:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998744808851628032,"description":"Unknown IO ID 45"} 
[2026-07-07 07:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547741184001,"power":26158,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7998744808851628032}} 
[2026-07-07 07:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":124224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:37:05] local.INFO: GPS data processed {"connection_id":124224,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:37:05] local.INFO: Acknowledgment sent {"connection_id":124224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:37:36] local.INFO: TCP Data received {"connection_id":124112,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a546bd8012d7fbb4005dc81e8000800fd25..."} 
[2026-07-07 07:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a546bd8012d7fbb4005dc81e8000800fd25..."} 
[2026-07-07 07:37:36] local.INFO: Processing buffer {"connection_id":124112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a546bd8012d7fbb4005dc81e8000800fd25..."} 
[2026-07-07 07:37:36] local.INFO: Packet analysis {"connection_id":124112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a54"} 
[2026-07-07 07:37:36] local.INFO: Extracted packet for processing {"connection_id":124112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a54"} 
[2026-07-07 07:37:36] local.INFO: GPS Element Parsed {"raw_longitude":763345728,"raw_latitude":98337256,"longitude_deg":76.3345728,"latitude_deg":9.8337256,"altitude":8,"angle":253,"satellites":37,"speed":30,"hex_longitude":"2d7fbb40","hex_latitude":"05dc81e8","is_valid_coordinates":true} 
[2026-07-07 07:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547847168001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103166690702917632,"note":"Value kept but may cause issues"} 
[2026-07-07 07:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9213661175333152768,"note":"Value kept but may cause issues"} 
[2026-07-07 07:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783390039000,"timestamp_ms":1783390039000,"timestamp_seconds":1783390039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a546bd8"} 
[2026-07-07 07:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:37: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-07-07 07:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-07 07:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:37:36] 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-07-07 07:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547847168001,"66":13243,"251":206,"85":15104,"24":30,"16":103166690702917632,"45":9213661175333152768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-07 07:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547847168001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:37:36] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-07 07:37:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103166690702917632,"km_value":103166690702917.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9213661175333152768,"description":"Unknown IO ID 45"} 
[2026-07-07 07:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547847168001,"power":13243,"unknown_251":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9213661175333152768}} 
[2026-07-07 07:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":124112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:37:36] local.INFO: GPS data processed {"connection_id":124112,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:37:36] local.INFO: Acknowledgment sent {"connection_id":124112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:37:41] local.INFO: TCP Data received {"connection_id":124224,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:37:41] local.INFO: Processing buffer {"connection_id":124224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:37:41] local.INFO: Packet analysis {"connection_id":124224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:37:41] local.INFO: Extracted packet for processing {"connection_id":124224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:37:41] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547741184001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998744808851628032,"note":"Value kept but may cause issues"} 
[2026-07-07 07:37:41] 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-07-07 07:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783389918000,"timestamp_ms":1783389918000,"timestamp_seconds":1783389918,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a529330"} 
[2026-07-07 07:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 07:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547741184001,"66":26158,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7998744808851628032},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547741184001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:37:41] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:37:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998744808851628032,"description":"Unknown IO ID 45"} 
[2026-07-07 07:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547741184001,"power":26158,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7998744808851628032}} 
[2026-07-07 07:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":124224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:37:41] local.INFO: GPS data processed {"connection_id":124224,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:37:41] local.INFO: Acknowledgment sent {"connection_id":124224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:37:59] local.INFO: TCP Data received {"connection_id":124113,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:37:59] local.INFO: Processing buffer {"connection_id":124113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:37:59] local.INFO: IMEI packet received {"connection_id":124113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":124113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:38:05] local.INFO: TCP Data received {"connection_id":124113,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:38:05] local.INFO: Processing buffer {"connection_id":124113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:38:05] local.INFO: IMEI packet received {"connection_id":124113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":124113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:38:06] local.INFO: TCP Data received {"connection_id":124113,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:38:06] local.INFO: Processing buffer {"connection_id":124113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:38:06] local.INFO: Packet analysis {"connection_id":124113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:38:06] local.INFO: Extracted packet for processing {"connection_id":124113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:38:06] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547741184001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998744808851628032,"note":"Value kept but may cause issues"} 
[2026-07-07 07:38:06] 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-07-07 07:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783389918000,"timestamp_ms":1783389918000,"timestamp_seconds":1783389918,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a529330"} 
[2026-07-07 07:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 07:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547741184001,"66":26158,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7998744808851628032},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547741184001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:38:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:38:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998744808851628032,"description":"Unknown IO ID 45"} 
[2026-07-07 07:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547741184001,"power":26158,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7998744808851628032}} 
[2026-07-07 07:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":124113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:38:06] local.INFO: GPS data processed {"connection_id":124113,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:38:06] local.INFO: Acknowledgment sent {"connection_id":124113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:38:37] local.INFO: TCP Data received {"connection_id":124113,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:38:37] local.INFO: Processing buffer {"connection_id":124113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:38:37] local.INFO: Packet analysis {"connection_id":124113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:38:37] local.INFO: Extracted packet for processing {"connection_id":124113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:38:37] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547741184001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998744808851628032,"note":"Value kept but may cause issues"} 
[2026-07-07 07:38:37] 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-07-07 07:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783389918000,"timestamp_ms":1783389918000,"timestamp_seconds":1783389918,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a529330"} 
[2026-07-07 07:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 07:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547741184001,"66":26158,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7998744808851628032},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547741184001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:38:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:38:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998744808851628032,"description":"Unknown IO ID 45"} 
[2026-07-07 07:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547741184001,"power":26158,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7998744808851628032}} 
[2026-07-07 07:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":124113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:38:37] local.INFO: GPS data processed {"connection_id":124113,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:38:37] local.INFO: Acknowledgment sent {"connection_id":124113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:38:46] local.INFO: TCP Data received {"connection_id":124903,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:38:46] local.INFO: Processing buffer {"connection_id":124903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:38:46] local.INFO: IMEI packet received {"connection_id":124903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":124903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:38:47] local.INFO: TCP Data received {"connection_id":124903,"ip":"42.106.6.31","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 07:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124903,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 07:38:47] local.INFO: Processing buffer {"connection_id":124903,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 07:38:47] local.INFO: IMEI packet received {"connection_id":124903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":124903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:38:59] local.INFO: TCP Data received {"connection_id":124225,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:38:59] local.INFO: Processing buffer {"connection_id":124225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:38:59] local.INFO: IMEI packet received {"connection_id":124225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":124225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:39:02] local.INFO: TCP Data received {"connection_id":126139,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:39:02] local.INFO: Processing buffer {"connection_id":126139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:39:02] local.INFO: IMEI packet received {"connection_id":126139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":126139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:39:05] local.INFO: TCP Data received {"connection_id":124225,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:39:05] local.INFO: Processing buffer {"connection_id":124225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:39:05] local.INFO: IMEI packet received {"connection_id":124225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":124225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:39:06] local.INFO: TCP Data received {"connection_id":124225,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:39:06] local.INFO: Processing buffer {"connection_id":124225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:39:06] local.INFO: Packet analysis {"connection_id":124225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:39:06] local.INFO: Extracted packet for processing {"connection_id":124225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:39:06] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547741184001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998744808851628032,"note":"Value kept but may cause issues"} 
[2026-07-07 07:39:06] 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-07-07 07:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783389918000,"timestamp_ms":1783389918000,"timestamp_seconds":1783389918,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a529330"} 
[2026-07-07 07:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 07:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547741184001,"66":26158,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7998744808851628032},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547741184001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:39:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:39:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998744808851628032,"description":"Unknown IO ID 45"} 
[2026-07-07 07:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547741184001,"power":26158,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7998744808851628032}} 
[2026-07-07 07:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":124225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:39:06] local.INFO: GPS data processed {"connection_id":124225,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:39:06] local.INFO: Acknowledgment sent {"connection_id":124225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:39:15] local.INFO: TCP Data received {"connection_id":126138,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:39:15] local.INFO: Processing buffer {"connection_id":126138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:39:15] local.INFO: IMEI packet received {"connection_id":126138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 07:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":126138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:39:37] local.INFO: TCP Data received {"connection_id":124225,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:39:37] local.INFO: Processing buffer {"connection_id":124225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:39:37] local.INFO: Packet analysis {"connection_id":124225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:39:37] local.INFO: Extracted packet for processing {"connection_id":124225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:39:37] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547741184001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998744808851628032,"note":"Value kept but may cause issues"} 
[2026-07-07 07:39:37] 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-07-07 07:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783389918000,"timestamp_ms":1783389918000,"timestamp_seconds":1783389918,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a529330"} 
[2026-07-07 07:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 07:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547741184001,"66":26158,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7998744808851628032},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547741184001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:39:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:39:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998744808851628032,"description":"Unknown IO ID 45"} 
[2026-07-07 07:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547741184001,"power":26158,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7998744808851628032}} 
[2026-07-07 07:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":124225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:39:37] local.INFO: GPS data processed {"connection_id":124225,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:39:37] local.INFO: Acknowledgment sent {"connection_id":124225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:40:00] local.INFO: TCP Data received {"connection_id":126141,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:40:00] local.INFO: Processing buffer {"connection_id":126141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:40:00] local.INFO: IMEI packet received {"connection_id":126141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 07:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":126141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:40:05] local.INFO: TCP Data received {"connection_id":124114,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:40:05] local.INFO: Processing buffer {"connection_id":124114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:40:05] local.INFO: IMEI packet received {"connection_id":124114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":124114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:40:10] local.INFO: TCP Data received {"connection_id":124114,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:40:10] local.INFO: Processing buffer {"connection_id":124114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:40:10] local.INFO: IMEI packet received {"connection_id":124114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":124114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:40:11] local.INFO: TCP Data received {"connection_id":124114,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:40:11] local.INFO: Processing buffer {"connection_id":124114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:40:11] local.INFO: Packet analysis {"connection_id":124114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:40:11] local.INFO: Extracted packet for processing {"connection_id":124114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:40:11] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 07:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547741184001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998744808851628032,"note":"Value kept but may cause issues"} 
[2026-07-07 07:40:11] 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-07-07 07:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783389918000,"timestamp_ms":1783389918000,"timestamp_seconds":1783389918,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a529330"} 
[2026-07-07 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-07-07 07:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 07:40: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-07-07 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-07-07 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-07-07 07:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547741184001,"66":26158,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7998744808851628032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547741184001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:40:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:40:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998744808851628032,"description":"Unknown IO ID 45"} 
[2026-07-07 07:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547741184001,"power":26158,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7998744808851628032}} 
[2026-07-07 07:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":124114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:40:11] local.INFO: GPS data processed {"connection_id":124114,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:40:11] local.INFO: Acknowledgment sent {"connection_id":124114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:40:15] local.INFO: TCP Data received {"connection_id":124114,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:40:15] local.INFO: Processing buffer {"connection_id":124114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a529330012d6efd00064498d80012006128..."} 
[2026-07-07 07:40:15] local.INFO: Packet analysis {"connection_id":124114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:40:15] local.INFO: Extracted packet for processing {"connection_id":124114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a52"} 
[2026-07-07 07:40:15] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":40,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547741184001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7998744808851628032,"note":"Value kept but may cause issues"} 
[2026-07-07 07:40:15] 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-07-07 07:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783389918000,"timestamp_ms":1783389918000,"timestamp_seconds":1783389918,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a529330"} 
[2026-07-07 07:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07: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":97,"data_length":795,"current_offset":136} 
[2026-07-07 07:40: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-07-07 07:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07: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-07-07 07:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547741184001,"66":26158,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7998744808851628032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547741184001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:40:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:40:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7998744808851628032,"description":"Unknown IO ID 45"} 
[2026-07-07 07:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547741184001,"power":26158,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7998744808851628032}} 
[2026-07-07 07:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":124114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:40:15] local.INFO: GPS data processed {"connection_id":124114,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:40:15] local.INFO: Acknowledgment sent {"connection_id":124114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:40:56] local.INFO: TCP Data received {"connection_id":124904,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:40:56] local.INFO: Processing buffer {"connection_id":124904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:40:56] local.INFO: IMEI packet received {"connection_id":124904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":124904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:41:00] local.INFO: TCP Data received {"connection_id":124904,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:41:00] local.INFO: Processing buffer {"connection_id":124904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:41:00] local.INFO: IMEI packet received {"connection_id":124904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":124904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:41:05] local.INFO: TCP Data received {"connection_id":124904,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:41:05] local.INFO: Processing buffer {"connection_id":124904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:41:05] local.INFO: IMEI packet received {"connection_id":124904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":124904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:41:06] local.INFO: TCP Data received {"connection_id":124904,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:41:06] local.INFO: Processing buffer {"connection_id":124904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:41:06] local.INFO: Packet analysis {"connection_id":124904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a57"} 
[2026-07-07 07:41:06] local.INFO: Extracted packet for processing {"connection_id":124904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a57"} 
[2026-07-07 07:41:06] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547819008001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783390219000,"timestamp_ms":1783390219000,"timestamp_seconds":1783390219,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a572af8"} 
[2026-07-07 07:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 07:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547819008001,"66":25919,"43":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,79,24,16,45]} 
[2026-07-07 07:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547819008001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:41:06] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:41:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547819008001,"power":25919,"unknown_43":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":124904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:41:06] local.INFO: GPS data processed {"connection_id":124904,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:41:06] local.INFO: Acknowledgment sent {"connection_id":124904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:41:37] local.INFO: TCP Data received {"connection_id":124904,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:41:37] local.INFO: Processing buffer {"connection_id":124904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:41:37] local.INFO: Packet analysis {"connection_id":124904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a57"} 
[2026-07-07 07:41:37] local.INFO: Extracted packet for processing {"connection_id":124904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a57"} 
[2026-07-07 07:41:37] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547819008001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783390219000,"timestamp_ms":1783390219000,"timestamp_seconds":1783390219,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a572af8"} 
[2026-07-07 07:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 07:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547819008001,"66":25919,"43":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,79,24,16,45]} 
[2026-07-07 07:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547819008001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:41:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:41:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547819008001,"power":25919,"unknown_43":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":124904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:41:37] local.INFO: GPS data processed {"connection_id":124904,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:41:37] local.INFO: Acknowledgment sent {"connection_id":124904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:41:59] local.INFO: TCP Data received {"connection_id":124116,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:41:59] local.INFO: Processing buffer {"connection_id":124116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:41:59] local.INFO: IMEI packet received {"connection_id":124116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":124116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:42:05] local.INFO: TCP Data received {"connection_id":124116,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:42:05] local.INFO: Processing buffer {"connection_id":124116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:42:05] local.INFO: IMEI packet received {"connection_id":124116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":124116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:42:05] local.INFO: TCP Data received {"connection_id":124116,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:42:05] local.INFO: Processing buffer {"connection_id":124116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:42:05] local.INFO: Packet analysis {"connection_id":124116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a57"} 
[2026-07-07 07:42:05] local.INFO: Extracted packet for processing {"connection_id":124116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a57"} 
[2026-07-07 07:42:05] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547819008001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783390219000,"timestamp_ms":1783390219000,"timestamp_seconds":1783390219,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a572af8"} 
[2026-07-07 07:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 07:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547819008001,"66":25919,"43":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,79,24,16,45]} 
[2026-07-07 07:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547819008001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:42:05] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:42:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547819008001,"power":25919,"unknown_43":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":124116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:42:05] local.INFO: GPS data processed {"connection_id":124116,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:42:05] local.INFO: Acknowledgment sent {"connection_id":124116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:42:37] local.INFO: TCP Data received {"connection_id":124116,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:42:37] local.INFO: Processing buffer {"connection_id":124116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:42:37] local.INFO: Packet analysis {"connection_id":124116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a57"} 
[2026-07-07 07:42:37] local.INFO: Extracted packet for processing {"connection_id":124116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a57"} 
[2026-07-07 07:42:37] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547819008001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783390219000,"timestamp_ms":1783390219000,"timestamp_seconds":1783390219,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a572af8"} 
[2026-07-07 07:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 07:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547819008001,"66":25919,"43":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,79,24,16,45]} 
[2026-07-07 07:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547819008001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:42:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:42:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547819008001,"power":25919,"unknown_43":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":124116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:42:37] local.INFO: GPS data processed {"connection_id":124116,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:42:37] local.INFO: Acknowledgment sent {"connection_id":124116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:42:59] local.INFO: TCP Data received {"connection_id":124118,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:42:59] local.INFO: Processing buffer {"connection_id":124118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:42:59] local.INFO: IMEI packet received {"connection_id":124118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":124118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:43:05] local.INFO: TCP Data received {"connection_id":124118,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:43:05] local.INFO: Processing buffer {"connection_id":124118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:43:05] local.INFO: IMEI packet received {"connection_id":124118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":124118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:43:06] local.INFO: TCP Data received {"connection_id":124118,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:43:06] local.INFO: Processing buffer {"connection_id":124118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:43:06] local.INFO: Packet analysis {"connection_id":124118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a57"} 
[2026-07-07 07:43:06] local.INFO: Extracted packet for processing {"connection_id":124118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a57"} 
[2026-07-07 07:43:06] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547819008001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783390219000,"timestamp_ms":1783390219000,"timestamp_seconds":1783390219,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a572af8"} 
[2026-07-07 07:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 07:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547819008001,"66":25919,"43":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,79,24,16,45]} 
[2026-07-07 07:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547819008001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:43:06] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:43:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547819008001,"power":25919,"unknown_43":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":124118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:43:06] local.INFO: GPS data processed {"connection_id":124118,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:43:06] local.INFO: Acknowledgment sent {"connection_id":124118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:43:38] local.INFO: TCP Data received {"connection_id":124118,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:43:38] local.INFO: Processing buffer {"connection_id":124118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:43:38] local.INFO: Packet analysis {"connection_id":124118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a57"} 
[2026-07-07 07:43:38] local.INFO: Extracted packet for processing {"connection_id":124118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a57"} 
[2026-07-07 07:43:38] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547819008001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783390219000,"timestamp_ms":1783390219000,"timestamp_seconds":1783390219,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a572af8"} 
[2026-07-07 07:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 07:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547819008001,"66":25919,"43":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,79,24,16,45]} 
[2026-07-07 07:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547819008001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:43:38] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:43:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547819008001,"power":25919,"unknown_43":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":124118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:43:38] local.INFO: GPS data processed {"connection_id":124118,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:43:38] local.INFO: Acknowledgment sent {"connection_id":124118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:43:59] local.INFO: TCP Data received {"connection_id":124228,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:43:59] local.INFO: Processing buffer {"connection_id":124228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:43:59] local.INFO: IMEI packet received {"connection_id":124228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":124228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:44:02] local.INFO: TCP Data received {"connection_id":124905,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:44:02] local.INFO: Processing buffer {"connection_id":124905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:44:02] local.INFO: IMEI packet received {"connection_id":124905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":124905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:44:03] local.INFO: TCP Data received {"connection_id":124905,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a59b750012d7ee28005de7b180009015126..."} 
[2026-07-07 07:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a59b750012d7ee28005de7b180009015126..."} 
[2026-07-07 07:44:03] local.INFO: Processing buffer {"connection_id":124905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a59b750012d7ee28005de7b180009015126..."} 
[2026-07-07 07:44:03] local.INFO: Packet analysis {"connection_id":124905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a59"} 
[2026-07-07 07:44:03] local.INFO: Extracted packet for processing {"connection_id":124905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a59"} 
[2026-07-07 07:44:03] local.INFO: GPS Element Parsed {"raw_longitude":763290240,"raw_latitude":98466584,"longitude_deg":76.329024,"latitude_deg":9.8466584,"altitude":9,"angle":337,"satellites":38,"speed":40,"hex_longitude":"2d7ee280","hex_latitude":"05de7b18","is_valid_coordinates":true} 
[2026-07-07 07:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547936512001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103175907702734848,"note":"Value kept but may cause issues"} 
[2026-07-07 07:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9146459024673804288,"note":"Value kept but may cause issues"} 
[2026-07-07 07:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783390386000,"timestamp_ms":1783390386000,"timestamp_seconds":1783390386,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a59b750"} 
[2026-07-07 07:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 07:44:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 07:44:03] local.WARNING: Large IO value detected {"io_id":140,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-07-07 07:44:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-07-07 07:44:03] local.WARNING: Large IO value detected {"io_id":222,"raw_value":594475189486822912,"note":"Value kept but may cause issues"} 
[2026-07-07 07:44:03] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902511014,"note":"Value kept but may cause issues"} 
[2026-07-07 07:44:03] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2358509568,"note":"Value kept but may cause issues"} 
[2026-07-07 07:44:03] local.WARNING: Large IO value detected {"io_id":173,"raw_value":57885769637713211,"note":"Value kept but may cause issues"} 
[2026-07-07 07:44:03] local.WARNING: Large IO value detected {"io_id":88,"raw_value":-4523864530777112571,"note":"Value kept but may cause issues"} 
[2026-07-07 07:44:03] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,85,24,241,157,16,141,159,113,45,128,55,12,36,10,66,50,20,11,38,205,140,224,192,1,240,248,227,58,222,4,5,201,9,239,48,2,110,173,88],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[]} 
[2026-07-07 07:44:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793009726310318080,"timestamp_seconds":793009726310318.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 07:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:44:03] 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-07-07 07:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547936512001,"66":13374,"101":206,"85":15104,"24":40,"16":103175907702734848,"45":9146459024673804288},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-07-07 07:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547936512001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:44:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 07:44:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103175907702734848,"km_value":103175907702734.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9146459024673804288,"description":"Unknown IO ID 45"} 
[2026-07-07 07:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547936512001,"power":13374,"unknown_101":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9146459024673804288}} 
[2026-07-07 07:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":124905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:44:03] local.INFO: GPS data processed {"connection_id":124905,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:44:03] local.INFO: Acknowledgment sent {"connection_id":124905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:44:05] local.INFO: TCP Data received {"connection_id":124228,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:44:05] local.INFO: Processing buffer {"connection_id":124228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:44:05] local.INFO: IMEI packet received {"connection_id":124228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":124228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:44:06] local.INFO: TCP Data received {"connection_id":124228,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:44:06] local.INFO: Processing buffer {"connection_id":124228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:44:06] local.INFO: Packet analysis {"connection_id":124228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a57"} 
[2026-07-07 07:44:06] local.INFO: Extracted packet for processing {"connection_id":124228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a57"} 
[2026-07-07 07:44:06] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547819008001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783390219000,"timestamp_ms":1783390219000,"timestamp_seconds":1783390219,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a572af8"} 
[2026-07-07 07:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 07:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547819008001,"66":25919,"43":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,79,24,16,45]} 
[2026-07-07 07:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547819008001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:44:06] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:44:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547819008001,"power":25919,"unknown_43":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":124228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:44:06] local.INFO: GPS data processed {"connection_id":124228,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:44:06] local.INFO: Acknowledgment sent {"connection_id":124228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:44:35] local.INFO: TCP Data received {"connection_id":124905,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a59da78012d7ed58005de9cf80008015925..."} 
[2026-07-07 07:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a59da78012d7ed58005de9cf80008015925..."} 
[2026-07-07 07:44:35] local.INFO: Processing buffer {"connection_id":124905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a59da78012d7ed58005de9cf80008015925..."} 
[2026-07-07 07:44:35] local.INFO: Packet analysis {"connection_id":124905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a59"} 
[2026-07-07 07:44:35] local.INFO: Extracted packet for processing {"connection_id":124905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a59"} 
[2026-07-07 07:44:35] local.INFO: GPS Element Parsed {"raw_longitude":763286912,"raw_latitude":98475256,"longitude_deg":76.3286912,"latitude_deg":9.8475256,"altitude":8,"angle":345,"satellites":37,"speed":43,"hex_longitude":"2d7ed580","hex_latitude":"05de9cf8","is_valid_coordinates":true} 
[2026-07-07 07:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547938816001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103176358674300928,"note":"Value kept but may cause issues"} 
[2026-07-07 07:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143010956211329024,"note":"Value kept but may cause issues"} 
[2026-07-07 07:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783390395000,"timestamp_ms":1783390395000,"timestamp_seconds":1783390395,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a59da78"} 
[2026-07-07 07:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-07 07:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:44:35] 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-07-07 07:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547938816001,"66":13276,"101":206,"85":15104,"24":43,"16":103176358674300928,"45":9143010956211329024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-07-07 07:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547938816001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:44:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 07:44:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103176358674300928,"km_value":103176358674300.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143010956211329024,"description":"Unknown IO ID 45"} 
[2026-07-07 07:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547938816001,"power":13276,"unknown_101":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9143010956211329024}} 
[2026-07-07 07:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":124905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:44:35] local.INFO: GPS data processed {"connection_id":124905,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:44:35] local.INFO: Acknowledgment sent {"connection_id":124905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:44:42] local.INFO: TCP Data received {"connection_id":124228,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:44:42] local.INFO: Processing buffer {"connection_id":124228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:44:42] local.INFO: Packet analysis {"connection_id":124228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a57"} 
[2026-07-07 07:44:42] local.INFO: Extracted packet for processing {"connection_id":124228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a57"} 
[2026-07-07 07:44:42] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547819008001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783390219000,"timestamp_ms":1783390219000,"timestamp_seconds":1783390219,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a572af8"} 
[2026-07-07 07:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:44: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-07-07 07: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 07:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547819008001,"66":25919,"43":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,79,24,16,45]} 
[2026-07-07 07:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547819008001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:44:42] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:44:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547819008001,"power":25919,"unknown_43":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":124228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:44:42] local.INFO: GPS data processed {"connection_id":124228,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:44:42] local.INFO: Acknowledgment sent {"connection_id":124228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:44:58] local.INFO: TCP Data received {"connection_id":124229,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:44:58] local.INFO: Processing buffer {"connection_id":124229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:44:58] local.INFO: IMEI packet received {"connection_id":124229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":124229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:45:01] local.INFO: TCP Data received {"connection_id":124229,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:45:01] local.INFO: Processing buffer {"connection_id":124229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:45:01] local.INFO: IMEI packet received {"connection_id":124229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":124229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:45:05] local.INFO: TCP Data received {"connection_id":126144,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:45:05] local.INFO: Processing buffer {"connection_id":126144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:45:05] local.INFO: IMEI packet received {"connection_id":126144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":126144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:45:06] local.INFO: TCP Data received {"connection_id":124229,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:45:06] local.INFO: Processing buffer {"connection_id":124229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:45:06] local.INFO: IMEI packet received {"connection_id":124229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":124229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:45:07] local.INFO: TCP Data received {"connection_id":124229,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a59f5d0012d7ed00005debad80009016524..."} 
[2026-07-07 07:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a59f5d0012d7ed00005debad80009016524..."} 
[2026-07-07 07:45:07] local.INFO: Processing buffer {"connection_id":124229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a59f5d0012d7ed00005debad80009016524..."} 
[2026-07-07 07:45:07] local.INFO: Packet analysis {"connection_id":124229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a59"} 
[2026-07-07 07:45:07] local.INFO: Extracted packet for processing {"connection_id":124229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a59"} 
[2026-07-07 07:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763285504,"raw_latitude":98482904,"longitude_deg":76.3285504,"latitude_deg":9.8482904,"altitude":9,"angle":357,"satellites":36,"speed":44,"hex_longitude":"2d7ed000","hex_latitude":"05debad8","is_valid_coordinates":true} 
[2026-07-07 07: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-07-07 07:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547941120001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103176736631422976,"note":"Value kept but may cause issues"} 
[2026-07-07 07:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9139351781516310528,"note":"Value kept but may cause issues"} 
[2026-07-07 07:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783390402000,"timestamp_ms":1783390402000,"timestamp_seconds":1783390402,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a59f5d0"} 
[2026-07-07 07:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07: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-07-07 07: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":220,"data_length":795,"current_offset":136} 
[2026-07-07 07:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07: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-07-07 07:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:45:07] 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-07-07 07:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547941120001,"66":13048,"205":206,"85":15104,"24":44,"16":103176736631422976,"45":9139351781516310528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-07 07:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547941120001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:45:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103176736631422976,"km_value":103176736631422.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9139351781516310528,"description":"Unknown IO ID 45"} 
[2026-07-07 07:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547941120001,"power":13048,"cell_id":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9139351781516310528}} 
[2026-07-07 07:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":124229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:45:07] local.INFO: GPS data processed {"connection_id":124229,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:45:07] local.INFO: Acknowledgment sent {"connection_id":124229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:45:09] local.INFO: TCP Data received {"connection_id":126144,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:45:09] local.INFO: Processing buffer {"connection_id":126144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:45:09] local.INFO: IMEI packet received {"connection_id":126144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":126144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:45:10] local.INFO: TCP Data received {"connection_id":124229,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5a18f8012d7ecd0005dee0200009016025..."} 
[2026-07-07 07:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5a18f8012d7ecd0005dee0200009016025..."} 
[2026-07-07 07:45:10] local.INFO: Processing buffer {"connection_id":124229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5a18f8012d7ecd0005dee0200009016025..."} 
[2026-07-07 07:45:10] local.INFO: Packet analysis {"connection_id":124229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5a"} 
[2026-07-07 07:45:10] local.INFO: Extracted packet for processing {"connection_id":124229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5a"} 
[2026-07-07 07:45:10] local.INFO: GPS Element Parsed {"raw_longitude":763284736,"raw_latitude":98492448,"longitude_deg":76.3284736,"latitude_deg":9.8492448,"altitude":9,"angle":352,"satellites":37,"speed":39,"hex_longitude":"2d7ecd00","hex_latitude":"05dee020","is_valid_coordinates":true} 
[2026-07-07 07:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547942912001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103177200487890944,"note":"Value kept but may cause issues"} 
[2026-07-07 07:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137803669146359808,"note":"Value kept but may cause issues"} 
[2026-07-07 07:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783390411000,"timestamp_ms":1783390411000,"timestamp_seconds":1783390411,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5a18f8"} 
[2026-07-07 07:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 07:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:45:10] 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-07-07 07:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547942912001,"66":13102,"205":206,"85":15104,"24":39,"16":103177200487890944,"45":9137803669146359808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-07 07:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547942912001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103177200487890944,"km_value":103177200487890.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137803669146359808,"description":"Unknown IO ID 45"} 
[2026-07-07 07:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547942912001,"power":13102,"cell_id":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9137803669146359808}} 
[2026-07-07 07:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":124229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:45:10] local.INFO: GPS data processed {"connection_id":124229,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:45:10] local.INFO: Acknowledgment sent {"connection_id":124229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:45:11] local.INFO: TCP Data received {"connection_id":126144,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:45:11] local.INFO: Processing buffer {"connection_id":126144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:45:11] local.INFO: Packet analysis {"connection_id":126144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a57"} 
[2026-07-07 07:45:11] local.INFO: Extracted packet for processing {"connection_id":126144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a57"} 
[2026-07-07 07:45:11] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547819008001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783390219000,"timestamp_ms":1783390219000,"timestamp_seconds":1783390219,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a572af8"} 
[2026-07-07 07:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 07:45: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-07-07 07:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547819008001,"66":25919,"43":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,79,24,16,45]} 
[2026-07-07 07:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547819008001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:45:11] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:45:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547819008001,"power":25919,"unknown_43":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":126144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:45:11] local.INFO: GPS data processed {"connection_id":126144,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:45:11] local.INFO: Acknowledgment sent {"connection_id":126144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:45:15] local.INFO: TCP Data received {"connection_id":126144,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:45:15] local.INFO: Processing buffer {"connection_id":126144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a572af8012d6efd00064498d80012006127..."} 
[2026-07-07 07:45:15] local.INFO: Packet analysis {"connection_id":126144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a57"} 
[2026-07-07 07:45:15] local.INFO: Extracted packet for processing {"connection_id":126144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a57"} 
[2026-07-07 07:45:15] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547819008001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783390219000,"timestamp_ms":1783390219000,"timestamp_seconds":1783390219,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a572af8"} 
[2026-07-07 07:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07: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-07-07 07: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 07:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547819008001,"66":25919,"43":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,79,24,16,45]} 
[2026-07-07 07:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547819008001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:45:15] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:45:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547819008001,"power":25919,"unknown_43":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":126144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:45:15] local.INFO: GPS data processed {"connection_id":126144,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:45:15] local.INFO: Acknowledgment sent {"connection_id":126144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:45:25] local.INFO: TCP Data received {"connection_id":124907,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:45:25] local.INFO: Processing buffer {"connection_id":124907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:45:25] local.INFO: IMEI packet received {"connection_id":124907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 07:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":124907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:45:41] local.INFO: TCP Data received {"connection_id":124229,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5bca90012d7e3fc005e04a480008015e21..."} 
[2026-07-07 07:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5bca90012d7e3fc005e04a480008015e21..."} 
[2026-07-07 07:45:41] local.INFO: Processing buffer {"connection_id":124229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5bca90012d7e3fc005e04a480008015e21..."} 
[2026-07-07 07:45:41] local.INFO: Packet analysis {"connection_id":124229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:45:41] local.INFO: Extracted packet for processing {"connection_id":124229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:45:41] local.INFO: GPS Element Parsed {"raw_longitude":763248576,"raw_latitude":98585160,"longitude_deg":76.3248576,"latitude_deg":9.858516,"altitude":8,"angle":350,"satellites":33,"speed":40,"hex_longitude":"2d7e3fc0","hex_latitude":"05e04a48","is_valid_coordinates":true} 
[2026-07-07 07:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547972096001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103182075275771904,"note":"Value kept but may cause issues"} 
[2026-07-07 07:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099382334849968128,"note":"Value kept but may cause issues"} 
[2026-07-07 07:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783390522000,"timestamp_ms":1783390522000,"timestamp_seconds":1783390522,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5bca90"} 
[2026-07-07 07:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 07:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:45:41] 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-07-07 07:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547972096001,"66":12972,"207":206,"85":15104,"24":40,"16":103182075275771904,"45":9099382334849968128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-07 07:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547972096001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:45:41] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 07:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103182075275771904,"km_value":103182075275771.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099382334849968128,"description":"Unknown IO ID 45"} 
[2026-07-07 07:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547972096001,"power":12972,"unknown_207":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9099382334849968128}} 
[2026-07-07 07:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":124229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:45:41] local.INFO: GPS data processed {"connection_id":124229,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:45:41] local.INFO: Acknowledgment sent {"connection_id":124229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:45:55] local.INFO: TCP Data received {"connection_id":126145,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:45:55] local.INFO: Processing buffer {"connection_id":126145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:45:55] local.INFO: IMEI packet received {"connection_id":126145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":126145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:45:56] local.INFO: TCP Data received {"connection_id":126145,"ip":"42.106.6.31","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 07:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126145,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 07:45:56] local.INFO: Processing buffer {"connection_id":126145,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 07:45:56] local.INFO: IMEI packet received {"connection_id":126145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":126145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:45:57] local.INFO: TCP Data received {"connection_id":126146,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:45:57] local.INFO: Processing buffer {"connection_id":126146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:45:57] local.INFO: IMEI packet received {"connection_id":126146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":126146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:45:58] local.INFO: TCP Data received {"connection_id":126145,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:45:58] local.INFO: Processing buffer {"connection_id":126145,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 07:45:58] local.INFO: IMEI packet received {"connection_id":126145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":126145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:45:59] local.INFO: TCP Data received {"connection_id":126145,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5bfd58012d7e3dc005e06e380008016521..."} 
[2026-07-07 07:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5bfd58012d7e3dc005e06e380008016521..."} 
[2026-07-07 07:45:59] local.INFO: Processing buffer {"connection_id":126145,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f3a..."} 
[2026-07-07 07:45:59] local.INFO: IMEI packet received {"connection_id":126145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":126145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:45:59] local.INFO: TCP Data received {"connection_id":126146,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:45:59] local.INFO: Processing buffer {"connection_id":126146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:45:59] local.INFO: IMEI packet received {"connection_id":126146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":126146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:45:59] local.INFO: TCP Data received {"connection_id":124908,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:45:59] local.INFO: Processing buffer {"connection_id":124908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:45:59] local.INFO: IMEI packet received {"connection_id":124908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 07:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":124908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:46:01] local.INFO: TCP Data received {"connection_id":126145,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5c0910012d7e3c0005e078c0000801571e..."} 
[2026-07-07 07:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5c0910012d7e3c0005e078c0000801571e..."} 
[2026-07-07 07:46:01] local.INFO: Processing buffer {"connection_id":126145,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3a5bfd58012d7e3dc005e06e380008016521..."} 
[2026-07-07 07:46:01] local.INFO: Packet analysis {"connection_id":126145,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:46:01] local.INFO: Extracted packet for processing {"connection_id":126145,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:46:01] local.INFO: GPS Element Parsed {"raw_longitude":763248064,"raw_latitude":98594360,"longitude_deg":76.3248064,"latitude_deg":9.859436,"altitude":8,"angle":357,"satellites":33,"speed":32,"hex_longitude":"2d7e3dc0","hex_latitude":"05e06e38","is_valid_coordinates":true} 
[2026-07-07 07:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547973632001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103182526247337984,"note":"Value kept but may cause issues"} 
[2026-07-07 07:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097200903782025216,"note":"Value kept but may cause issues"} 
[2026-07-07 07:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783390535000,"timestamp_ms":1783390535000,"timestamp_seconds":1783390535,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5bfd58"} 
[2026-07-07 07:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-07 07:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:46:01] 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-07-07 07:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547973632001,"66":13048,"207":206,"85":15104,"24":32,"16":103182526247337984,"45":9097200903782025216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-07 07:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547973632001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:46:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 07:46:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103182526247337984,"km_value":103182526247337.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097200903782025216,"description":"Unknown IO ID 45"} 
[2026-07-07 07:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547973632001,"power":13048,"unknown_207":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9097200903782025216}} 
[2026-07-07 07:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":126145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:46:01] local.INFO: GPS data processed {"connection_id":126145,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:46:01] local.INFO: Acknowledgment sent {"connection_id":126145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:46:01] local.INFO: Packet analysis {"connection_id":126145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5c"} 
[2026-07-07 07:46:01] local.INFO: Extracted packet for processing {"connection_id":126145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5c"} 
[2026-07-07 07:46:01] local.INFO: GPS Element Parsed {"raw_longitude":763247616,"raw_latitude":98597056,"longitude_deg":76.3247616,"latitude_deg":9.8597056,"altitude":8,"angle":343,"satellites":30,"speed":39,"hex_longitude":"2d7e3c00","hex_latitude":"05e078c0","is_valid_coordinates":true} 
[2026-07-07 07:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547976960001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103182659391324160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096637953830959104,"note":"Value kept but may cause issues"} 
[2026-07-07 07:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783390538000,"timestamp_ms":1783390538000,"timestamp_seconds":1783390538,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5c0910"} 
[2026-07-07 07:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 07:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:46:01] 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-07-07 07:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547976960001,"66":13135,"207":206,"85":15104,"24":39,"16":103182659391324160,"45":9096637953830959104},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-07 07:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547976960001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:46:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 07:46:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103182659391324160,"km_value":103182659391324.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096637953830959104,"description":"Unknown IO ID 45"} 
[2026-07-07 07:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547976960001,"power":13135,"unknown_207":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9096637953830959104}} 
[2026-07-07 07:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":126145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:46:01] local.INFO: GPS data processed {"connection_id":126145,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:46:01] local.INFO: Acknowledgment sent {"connection_id":126145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:46:05] local.INFO: TCP Data received {"connection_id":126146,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:46:05] local.INFO: Processing buffer {"connection_id":126146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:46:05] local.INFO: IMEI packet received {"connection_id":126146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":126146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:46:06] local.INFO: TCP Data received {"connection_id":126146,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:46:06] local.INFO: Processing buffer {"connection_id":126146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:46:06] local.INFO: Packet analysis {"connection_id":126146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:46:06] local.INFO: Extracted packet for processing {"connection_id":126146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:46:06] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547896064001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:46:06] 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-07-07 07:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783390520000,"timestamp_ms":1783390520000,"timestamp_seconds":1783390520,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5bc2c0"} 
[2026-07-07 07:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 07:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547896064001,"66":25778,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547896064001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:46:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:46:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547896064001,"power":25778,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":126146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:46:06] local.INFO: GPS data processed {"connection_id":126146,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:46:06] local.INFO: Acknowledgment sent {"connection_id":126146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:46:33] local.INFO: TCP Data received {"connection_id":126145,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5c3020012d7e330005e09d580007015f21..."} 
[2026-07-07 07:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5c3020012d7e330005e09d580007015f21..."} 
[2026-07-07 07:46:33] local.INFO: Processing buffer {"connection_id":126145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5c3020012d7e330005e09d580007015f21..."} 
[2026-07-07 07:46:33] local.INFO: Packet analysis {"connection_id":126145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5c"} 
[2026-07-07 07:46:33] local.INFO: Extracted packet for processing {"connection_id":126145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5c"} 
[2026-07-07 07:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763245312,"raw_latitude":98606424,"longitude_deg":76.3245312,"latitude_deg":9.8606424,"altitude":7,"angle":351,"satellites":33,"speed":36,"hex_longitude":"2d7e3300","hex_latitude":"05e09d58","is_valid_coordinates":true} 
[2026-07-07 07:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547977728001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103183127542759424,"note":"Value kept but may cause issues"} 
[2026-07-07 07:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096145372622405632,"note":"Value kept but may cause issues"} 
[2026-07-07 07:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783390548000,"timestamp_ms":1783390548000,"timestamp_seconds":1783390548,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5c3020"} 
[2026-07-07 07:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 07:46: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-07-07 07:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:46:33] 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-07-07 07:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547977728001,"66":12993,"207":206,"85":15104,"24":36,"16":103183127542759424,"45":9096145372622405632},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-07 07:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547977728001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:46:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 07:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103183127542759424,"km_value":103183127542759.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096145372622405632,"description":"Unknown IO ID 45"} 
[2026-07-07 07:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547977728001,"power":12993,"unknown_207":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9096145372622405632}} 
[2026-07-07 07:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":126145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:46:33] local.INFO: GPS data processed {"connection_id":126145,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:46:33] local.INFO: Acknowledgment sent {"connection_id":126145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:46:38] local.INFO: TCP Data received {"connection_id":126146,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:46:38] local.INFO: Processing buffer {"connection_id":126146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:46:38] local.INFO: Packet analysis {"connection_id":126146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:46:38] local.INFO: Extracted packet for processing {"connection_id":126146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:46:38] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547896064001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:46:38] 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-07-07 07:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783390520000,"timestamp_ms":1783390520000,"timestamp_seconds":1783390520,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5bc2c0"} 
[2026-07-07 07:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 07:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547896064001,"66":25778,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547896064001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:46:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:46:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547896064001,"power":25778,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":126146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:46:38] local.INFO: GPS data processed {"connection_id":126146,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:46:38] local.INFO: Acknowledgment sent {"connection_id":126146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:46:56] local.INFO: TCP Data received {"connection_id":124119,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:46:56] local.INFO: Processing buffer {"connection_id":124119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:46:56] local.INFO: IMEI packet received {"connection_id":124119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":124119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:46:59] local.INFO: TCP Data received {"connection_id":124230,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:46:59] local.INFO: Processing buffer {"connection_id":124230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:46:59] local.INFO: IMEI packet received {"connection_id":124230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":124230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:47:01] local.INFO: TCP Data received {"connection_id":124119,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:47:01] local.INFO: Processing buffer {"connection_id":124119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:47:01] local.INFO: IMEI packet received {"connection_id":124119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":124119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:47:01] local.INFO: TCP Data received {"connection_id":124119,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5cfb40012d7e1f0005e129e00007000121..."} 
[2026-07-07 07:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5cfb40012d7e1f0005e129e00007000121..."} 
[2026-07-07 07:47:01] local.INFO: Processing buffer {"connection_id":124119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5cfb40012d7e1f0005e129e00007000121..."} 
[2026-07-07 07:47:01] local.INFO: Packet analysis {"connection_id":124119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5c"} 
[2026-07-07 07:47:01] local.INFO: Extracted packet for processing {"connection_id":124119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5c"} 
[2026-07-07 07:47:01] local.INFO: GPS Element Parsed {"raw_longitude":763240192,"raw_latitude":98642400,"longitude_deg":76.3240192,"latitude_deg":9.86424,"altitude":7,"angle":1,"satellites":33,"speed":37,"hex_longitude":"2d7e1f00","hex_latitude":"05e129e0","is_valid_coordinates":true} 
[2026-07-07 07:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547993088001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103185111817650176,"note":"Value kept but may cause issues"} 
[2026-07-07 07:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087771492076404736,"note":"Value kept but may cause issues"} 
[2026-07-07 07:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783390600000,"timestamp_ms":1783390600000,"timestamp_seconds":1783390600,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5cfb40"} 
[2026-07-07 07:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:47: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":35,"data_length":795,"current_offset":136} 
[2026-07-07 07:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:47:01] 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-07-07 07:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547993088001,"66":12200,"60":206,"85":15104,"24":37,"16":103185111817650176,"45":9087771492076404736},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-07 07:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547993088001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:47:01] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-07 07:47:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103185111817650176,"km_value":103185111817650.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087771492076404736,"description":"Unknown IO ID 45"} 
[2026-07-07 07:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547993088001,"power":12200,"unknown_60":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9087771492076404736}} 
[2026-07-07 07:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":124119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:47:01] local.INFO: GPS data processed {"connection_id":124119,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:47:01] local.INFO: Acknowledgment sent {"connection_id":124119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:47:05] local.INFO: TCP Data received {"connection_id":124230,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:47:05] local.INFO: Processing buffer {"connection_id":124230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:47:05] local.INFO: IMEI packet received {"connection_id":124230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":124230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:47:06] local.INFO: TCP Data received {"connection_id":124230,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:47:06] local.INFO: Processing buffer {"connection_id":124230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:47:06] local.INFO: Packet analysis {"connection_id":124230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:47:06] local.INFO: Extracted packet for processing {"connection_id":124230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:47:06] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547896064001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:47:06] 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-07-07 07:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783390520000,"timestamp_ms":1783390520000,"timestamp_seconds":1783390520,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5bc2c0"} 
[2026-07-07 07:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 07:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547896064001,"66":25778,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547896064001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:47:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:47:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547896064001,"power":25778,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":124230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:47:06] local.INFO: GPS data processed {"connection_id":124230,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:47:06] local.INFO: Acknowledgment sent {"connection_id":124230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:47:33] local.INFO: TCP Data received {"connection_id":124119,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5d1e68012d7e1bc005e14cb00008015f20..."} 
[2026-07-07 07:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5d1e68012d7e1bc005e14cb00008015f20..."} 
[2026-07-07 07:47:33] local.INFO: Processing buffer {"connection_id":124119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5d1e68012d7e1bc005e14cb00008015f20..."} 
[2026-07-07 07:47:33] local.INFO: Packet analysis {"connection_id":124119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5d"} 
[2026-07-07 07:47:33] local.INFO: Extracted packet for processing {"connection_id":124119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5d"} 
[2026-07-07 07:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763239360,"raw_latitude":98651312,"longitude_deg":76.323936,"latitude_deg":9.8651312,"altitude":8,"angle":351,"satellites":32,"speed":41,"hex_longitude":"2d7e1bc0","hex_latitude":"05e14cb0","is_valid_coordinates":true} 
[2026-07-07 07:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547993600001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103185545609347072,"note":"Value kept but may cause issues"} 
[2026-07-07 07:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087982598309404672,"note":"Value kept but may cause issues"} 
[2026-07-07 07:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783390609000,"timestamp_ms":1783390609000,"timestamp_seconds":1783390609,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5d1e68"} 
[2026-07-07 07:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-07 07:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:47:33] 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-07-07 07:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547993600001,"66":12950,"60":206,"85":15104,"24":41,"16":103185545609347072,"45":9087982598309404672},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-07 07:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547993600001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:47:33] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-07 07:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103185545609347072,"km_value":103185545609347.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087982598309404672,"description":"Unknown IO ID 45"} 
[2026-07-07 07:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547993600001,"power":12950,"unknown_60":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9087982598309404672}} 
[2026-07-07 07:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":124119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:47:33] local.INFO: GPS data processed {"connection_id":124119,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:47:33] local.INFO: Acknowledgment sent {"connection_id":124119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:47:37] local.INFO: TCP Data received {"connection_id":124230,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:47:37] local.INFO: Processing buffer {"connection_id":124230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:47:37] local.INFO: Packet analysis {"connection_id":124230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:47:37] local.INFO: Extracted packet for processing {"connection_id":124230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:47:37] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547896064001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:47:37] 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-07-07 07:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783390520000,"timestamp_ms":1783390520000,"timestamp_seconds":1783390520,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5bc2c0"} 
[2026-07-07 07:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 07:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547896064001,"66":25778,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547896064001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:47:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:47:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547896064001,"power":25778,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":124230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:47:37] local.INFO: GPS data processed {"connection_id":124230,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:47:37] local.INFO: Acknowledgment sent {"connection_id":124230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:47:56] local.INFO: TCP Data received {"connection_id":126147,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:47:56] local.INFO: Processing buffer {"connection_id":126147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:47:56] local.INFO: IMEI packet received {"connection_id":126147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":126147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:47:59] local.INFO: TCP Data received {"connection_id":124231,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:47:59] local.INFO: Processing buffer {"connection_id":124231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:47:59] local.INFO: IMEI packet received {"connection_id":124231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":124231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:48:01] local.INFO: TCP Data received {"connection_id":126147,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:48:01] local.INFO: Processing buffer {"connection_id":126147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:48:01] local.INFO: IMEI packet received {"connection_id":126147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":126147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:48:02] local.INFO: TCP Data received {"connection_id":126147,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5dddd0012d7e298005e20cb00007013b21..."} 
[2026-07-07 07:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5dddd0012d7e298005e20cb00007013b21..."} 
[2026-07-07 07:48:02] local.INFO: Processing buffer {"connection_id":126147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5dddd0012d7e298005e20cb00007013b21..."} 
[2026-07-07 07:48:02] local.INFO: Packet analysis {"connection_id":126147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5d"} 
[2026-07-07 07:48:02] local.INFO: Extracted packet for processing {"connection_id":126147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5d"} 
[2026-07-07 07:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763242880,"raw_latitude":98700464,"longitude_deg":76.324288,"latitude_deg":9.8700464,"altitude":7,"angle":315,"satellites":33,"speed":23,"hex_longitude":"2d7e2980","hex_latitude":"05e20cb0","is_valid_coordinates":true} 
[2026-07-07 07: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-07-07 07:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548008192001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103187989445738496,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091360298044690432,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783390658000,"timestamp_ms":1783390658000,"timestamp_seconds":1783390658,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5dddd0"} 
[2026-07-07 07:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 07:48:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:02] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147869109,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:02] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-7403917753037151744,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805727438,"corrected_to":0} 
[2026-07-07 07:48:02] local.WARNING: Large IO value detected {"io_id":131,"raw_value":4160826750,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:02] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2548629504,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3786278912,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:02] local.WARNING: Large IO value detected {"io_id":237,"raw_value":57886246379083067,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:02] local.WARNING: Large IO value detected {"io_id":93,"raw_value":7539027071118966789,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:02] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,60,85,24,241,157,16,152,159,214,45,192,9,7,33,10,66,182,128,236,8,34,151,1,240,215,227,58,225,4,113,205,42,131,48,239,50,2,110,5,41,237,93],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2805727438,"validated":0}]} 
[2026-07-07 07:48:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504766138838024192,"timestamp_seconds":504766138838024.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 07:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:48:02] 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-07-07 07:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548008192001,"66":13319,"60":206,"85":15104,"24":23,"16":103187989445738496,"45":9091360298044690432},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-07 07:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548008192001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:48:02] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-07 07:48:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103187989445738496,"km_value":103187989445738.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091360298044690432,"description":"Unknown IO ID 45"} 
[2026-07-07 07:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548008192001,"power":13319,"unknown_60":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9091360298044690432}} 
[2026-07-07 07:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":126147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:48:02] local.INFO: GPS data processed {"connection_id":126147,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:48:02] local.INFO: Acknowledgment sent {"connection_id":126147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:48:05] local.INFO: TCP Data received {"connection_id":124231,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:48:05] local.INFO: Processing buffer {"connection_id":124231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:48:05] local.INFO: IMEI packet received {"connection_id":124231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":124231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:48:06] local.INFO: TCP Data received {"connection_id":124231,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:48:06] local.INFO: Processing buffer {"connection_id":124231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:48:06] local.INFO: Packet analysis {"connection_id":124231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:48:06] local.INFO: Extracted packet for processing {"connection_id":124231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:48:06] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547896064001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:06] 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-07-07 07:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783390520000,"timestamp_ms":1783390520000,"timestamp_seconds":1783390520,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5bc2c0"} 
[2026-07-07 07:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 07:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547896064001,"66":25778,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547896064001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:48:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:48:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547896064001,"power":25778,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":124231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:48:06] local.INFO: GPS data processed {"connection_id":124231,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:48:06] local.INFO: Acknowledgment sent {"connection_id":124231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:48:33] local.INFO: TCP Data received {"connection_id":126147,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5de1b8012d7e278005e20e000007012c22..."} 
[2026-07-07 07:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5de1b8012d7e278005e20e000007012c22..."} 
[2026-07-07 07:48:33] local.INFO: Processing buffer {"connection_id":126147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5de1b8012d7e278005e20e000007012c22..."} 
[2026-07-07 07:48:33] local.INFO: Packet analysis {"connection_id":126147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5d"} 
[2026-07-07 07:48:33] local.INFO: Extracted packet for processing {"connection_id":126147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5d"} 
[2026-07-07 07:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763242368,"raw_latitude":98700800,"longitude_deg":76.3242368,"latitude_deg":9.87008,"altitude":7,"angle":300,"satellites":34,"speed":24,"hex_longitude":"2d7e2780","hex_latitude":"05e20e00","is_valid_coordinates":true} 
[2026-07-07 07: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-07-07 07:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548008448001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103188019510509568,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090938085579730944,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783390659000,"timestamp_ms":1783390659000,"timestamp_seconds":1783390659,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5de1b8"} 
[2026-07-07 07:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 07:48:33] local.WARNING: Large IO value detected {"io_id":85,"raw_value":57886246379083067,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:33] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2399141888,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:33] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-5906470881230118400,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805727438,"corrected_to":0} 
[2026-07-07 07:48:33] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2952867198,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:33] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3221610943,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:33] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505959,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:33] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2550857728,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3786747904,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:33] local.WARNING: Large IO value detected {"io_id":93,"raw_value":8946401954672492549,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:33] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,60,85,24,241,157,16,152,159,217,45,11,7,33,10,66,214,192,9,182,128,1,240,35,227,58,225,4,113,205,43,143,39,112,34,239,50,2,110,5,41,93],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2805727438,"validated":0}]} 
[2026-07-07 07:48:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504749646163673088,"timestamp_seconds":504749646163673.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 07:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:48:33] 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-07-07 07:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548008448001,"66":13319,"60":206,"85":15104,"24":24,"16":103188019510509568,"45":9090938085579730944},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-07 07:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548008448001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:48:33] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-07 07:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103188019510509568,"km_value":103188019510509.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090938085579730944,"description":"Unknown IO ID 45"} 
[2026-07-07 07:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548008448001,"power":13319,"unknown_60":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9090938085579730944}} 
[2026-07-07 07:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":126147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:48:33] local.INFO: GPS data processed {"connection_id":126147,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:48:33] local.INFO: Acknowledgment sent {"connection_id":126147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:48:37] local.INFO: TCP Data received {"connection_id":124231,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:48:37] local.INFO: Processing buffer {"connection_id":124231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:48:37] local.INFO: Packet analysis {"connection_id":124231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:48:37] local.INFO: Extracted packet for processing {"connection_id":124231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:48:37] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547896064001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:48:37] 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-07-07 07:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783390520000,"timestamp_ms":1783390520000,"timestamp_seconds":1783390520,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5bc2c0"} 
[2026-07-07 07:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 07:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547896064001,"66":25778,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547896064001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:48:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:48:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547896064001,"power":25778,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":124231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:48:37] local.INFO: GPS data processed {"connection_id":124231,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:48:37] local.INFO: Acknowledgment sent {"connection_id":124231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:48:54] local.INFO: TCP Data received {"connection_id":124910,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:48:54] local.INFO: Processing buffer {"connection_id":124910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:48:54] local.INFO: IMEI packet received {"connection_id":124910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":124910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:48:56] local.INFO: TCP Data received {"connection_id":124910,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:48:56] local.INFO: Processing buffer {"connection_id":124910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:48:56] local.INFO: IMEI packet received {"connection_id":124910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":124910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:49:01] local.INFO: TCP Data received {"connection_id":124910,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:49:01] local.INFO: Processing buffer {"connection_id":124910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:49:01] local.INFO: IMEI packet received {"connection_id":124910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":124910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:49:02] local.INFO: TCP Data received {"connection_id":124910,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5de5a0012d7e24c005e20ea80007011c22..."} 
[2026-07-07 07:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5de5a0012d7e24c005e20ea80007011c22..."} 
[2026-07-07 07:49:02] local.INFO: Processing buffer {"connection_id":124910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5de5a0012d7e24c005e20ea80007011c22..."} 
[2026-07-07 07:49:02] local.INFO: Packet analysis {"connection_id":124910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5d"} 
[2026-07-07 07:49:02] local.INFO: Extracted packet for processing {"connection_id":124910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5d"} 
[2026-07-07 07:49:02] local.INFO: GPS Element Parsed {"raw_longitude":763241664,"raw_latitude":98700968,"longitude_deg":76.3241664,"latitude_deg":9.8700968,"altitude":7,"angle":284,"satellites":34,"speed":26,"hex_longitude":"2d7e24c0","hex_latitude":"05e20ea8","is_valid_coordinates":true} 
[2026-07-07 07:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548008704001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103188053870247936,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090375135626395648,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783390660000,"timestamp_ms":1783390660000,"timestamp_seconds":1783390660,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5de5a0"} 
[2026-07-07 07:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 07:49:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:02] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:02] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-5390808723895279104,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805727438,"corrected_to":0} 
[2026-07-07 07:49:02] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2147560830,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:02] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3221610951,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:02] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154087,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:02] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2552430592,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3787419648,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:02] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57886246379083067,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:02] local.WARNING: Large IO value detected {"io_id":93,"raw_value":-8937392165615468539,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:02] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,60,85,24,241,157,16,152,159,221,45,128,12,7,33,10,66,217,11,214,192,1,240,227,58,225,4,113,205,46,151,41,120,34,239,50,2,110,5,42,182,93],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2805727438,"validated":0}]} 
[2026-07-07 07:49:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504733157784289280,"timestamp_seconds":504733157784289.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 07:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:49:02] 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-07-07 07:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548008704001,"66":12722,"60":206,"85":15104,"24":26,"16":103188053870247936,"45":9090375135626395648},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-07 07:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548008704001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:49:02] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-07 07:49:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103188053870247936,"km_value":103188053870247.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090375135626395648,"description":"Unknown IO ID 45"} 
[2026-07-07 07:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548008704001,"power":12722,"unknown_60":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9090375135626395648}} 
[2026-07-07 07:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":124910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:49:02] local.INFO: GPS data processed {"connection_id":124910,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:49:02] local.INFO: Acknowledgment sent {"connection_id":124910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:49:05] local.INFO: TCP Data received {"connection_id":124912,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:49:05] local.INFO: Processing buffer {"connection_id":124912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:49:05] local.INFO: IMEI packet received {"connection_id":124912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":124912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:49:09] local.INFO: TCP Data received {"connection_id":124912,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:49:09] local.INFO: Processing buffer {"connection_id":124912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:49:09] local.INFO: IMEI packet received {"connection_id":124912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":124912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:49:11] local.INFO: TCP Data received {"connection_id":124912,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:49:11] local.INFO: Processing buffer {"connection_id":124912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:49:11] local.INFO: Packet analysis {"connection_id":124912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:49:11] local.INFO: Extracted packet for processing {"connection_id":124912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:49:11] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547896064001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:11] 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-07-07 07:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783390520000,"timestamp_ms":1783390520000,"timestamp_seconds":1783390520,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5bc2c0"} 
[2026-07-07 07:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:49: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-07-07 07:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 07:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07: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-07-07 07:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547896064001,"66":25778,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547896064001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:49:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:49:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547896064001,"power":25778,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":124912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:49:11] local.INFO: GPS data processed {"connection_id":124912,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:49:11] local.INFO: Acknowledgment sent {"connection_id":124912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:49:15] local.INFO: TCP Data received {"connection_id":124912,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:49:15] local.INFO: Processing buffer {"connection_id":124912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:49:15] local.INFO: Packet analysis {"connection_id":124912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:49:15] local.INFO: Extracted packet for processing {"connection_id":124912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:49:15] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547896064001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:15] 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-07-07 07:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783390520000,"timestamp_ms":1783390520000,"timestamp_seconds":1783390520,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5bc2c0"} 
[2026-07-07 07:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 07:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07: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-07-07 07:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547896064001,"66":25778,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547896064001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:49:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:49:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547896064001,"power":25778,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":124912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:49:15] local.INFO: GPS data processed {"connection_id":124912,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:49:15] local.INFO: Acknowledgment sent {"connection_id":124912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:49:33] local.INFO: TCP Data received {"connection_id":124910,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5e37a8012d7e0f0005e210b00005011222..."} 
[2026-07-07 07:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5e37a8012d7e0f0005e210b00005011222..."} 
[2026-07-07 07:49:33] local.INFO: Processing buffer {"connection_id":124910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5e37a8012d7e0f0005e210b00005011222..."} 
[2026-07-07 07:49:33] local.INFO: Packet analysis {"connection_id":124910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5e"} 
[2026-07-07 07:49:33] local.INFO: Extracted packet for processing {"connection_id":124910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5e"} 
[2026-07-07 07:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763236096,"raw_latitude":98701488,"longitude_deg":76.3236096,"latitude_deg":9.8701488,"altitude":5,"angle":274,"satellites":34,"speed":3,"hex_longitude":"2d7e0f00","hex_latitude":"05e210b0","is_valid_coordinates":true} 
[2026-07-07 07:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548008960001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103188324453187584,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089601079440484352,"note":"Value kept but may cause issues"} 
[2026-07-07 07:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783390681000,"timestamp_ms":1783390681000,"timestamp_seconds":1783390681,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5e37a8"} 
[2026-07-07 07:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:49: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":178,"data_length":795,"current_offset":136} 
[2026-07-07 07:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:49:33] 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-07-07 07:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548008960001,"66":13102,"61":206,"85":15104,"24":3,"16":103188324453187584,"45":9089601079440484352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-07 07:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548008960001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:49:33] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-07 07:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103188324453187584,"km_value":103188324453187.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089601079440484352,"description":"Unknown IO ID 45"} 
[2026-07-07 07:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548008960001,"power":13102,"unknown_61":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9089601079440484352}} 
[2026-07-07 07:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":124910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:49:33] local.INFO: GPS data processed {"connection_id":124910,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:49:33] local.INFO: Acknowledgment sent {"connection_id":124910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:49:56] local.INFO: TCP Data received {"connection_id":124913,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:49:56] local.INFO: Processing buffer {"connection_id":124913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:49:56] local.INFO: IMEI packet received {"connection_id":124913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":124913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:50:00] local.INFO: TCP Data received {"connection_id":124914,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:50:00] local.INFO: Processing buffer {"connection_id":124914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:50:00] local.INFO: IMEI packet received {"connection_id":124914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":124914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:50:01] local.INFO: TCP Data received {"connection_id":124913,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:50:01] local.INFO: Processing buffer {"connection_id":124913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:50:01] local.INFO: IMEI packet received {"connection_id":124913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":124913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:50:02] local.INFO: TCP Data received {"connection_id":124913,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5f7410012d7d05c005e20bc0000a011224..."} 
[2026-07-07 07:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5f7410012d7d05c005e20bc0000a011224..."} 
[2026-07-07 07:50:02] local.INFO: Processing buffer {"connection_id":124913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5f7410012d7d05c005e20bc0000a011224..."} 
[2026-07-07 07:50:02] local.INFO: Packet analysis {"connection_id":124913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5f"} 
[2026-07-07 07:50:02] local.INFO: Extracted packet for processing {"connection_id":124913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5f"} 
[2026-07-07 07:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763168192,"raw_latitude":98700224,"longitude_deg":76.3168192,"latitude_deg":9.8700224,"altitude":10,"angle":274,"satellites":36,"speed":25,"hex_longitude":"2d7d05c0","hex_latitude":"05e20bc0","is_valid_coordinates":true} 
[2026-07-07 07:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548032256001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103191635872972800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018739754053193728,"note":"Value kept but may cause issues"} 
[2026-07-07 07:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783390762000,"timestamp_ms":1783390762000,"timestamp_seconds":1783390762,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5f7410"} 
[2026-07-07 07:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 07:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:50:02] 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-07-07 07:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548032256001,"66":13015,"61":206,"85":15104,"24":25,"16":103191635872972800,"45":9018739754053193728},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-07 07:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548032256001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:50:02] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-07 07:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103191635872972800,"km_value":103191635872972.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018739754053193728,"description":"Unknown IO ID 45"} 
[2026-07-07 07:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548032256001,"power":13015,"unknown_61":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9018739754053193728}} 
[2026-07-07 07:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":124913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:50:02] local.INFO: GPS data processed {"connection_id":124913,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:50:02] local.INFO: Acknowledgment sent {"connection_id":124913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:50:05] local.INFO: TCP Data received {"connection_id":124914,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:50:05] local.INFO: Processing buffer {"connection_id":124914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:50:05] local.INFO: IMEI packet received {"connection_id":124914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":124914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:50:06] local.INFO: TCP Data received {"connection_id":124914,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:50:06] local.INFO: Processing buffer {"connection_id":124914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:50:06] local.INFO: Packet analysis {"connection_id":124914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:50:06] local.INFO: Extracted packet for processing {"connection_id":124914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:50:06] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547896064001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:50:06] 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-07-07 07:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783390520000,"timestamp_ms":1783390520000,"timestamp_seconds":1783390520,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5bc2c0"} 
[2026-07-07 07:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 07:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547896064001,"66":25778,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547896064001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:50:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:50:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547896064001,"power":25778,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":124914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:50:06] local.INFO: GPS data processed {"connection_id":124914,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:50:06] local.INFO: Acknowledgment sent {"connection_id":124914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:50:33] local.INFO: TCP Data received {"connection_id":124913,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5fa2f0012d7cef4005e20c400008010624..."} 
[2026-07-07 07:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5fa2f0012d7cef4005e20c400008010624..."} 
[2026-07-07 07:50:33] local.INFO: Processing buffer {"connection_id":124913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5fa2f0012d7cef4005e20c400008010624..."} 
[2026-07-07 07:50:33] local.INFO: Packet analysis {"connection_id":124913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5f"} 
[2026-07-07 07:50:33] local.INFO: Extracted packet for processing {"connection_id":124913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5f"} 
[2026-07-07 07:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763162432,"raw_latitude":98700352,"longitude_deg":76.3162432,"latitude_deg":9.8700352,"altitude":8,"angle":262,"satellites":36,"speed":28,"hex_longitude":"2d7cef40","hex_latitude":"05e20c40","is_valid_coordinates":true} 
[2026-07-07 07: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-07-07 07:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548035072001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103191910750879744,"note":"Value kept but may cause issues"} 
[2026-07-07 07:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008817761124335616,"note":"Value kept but may cause issues"} 
[2026-07-07 07:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783390774000,"timestamp_ms":1783390774000,"timestamp_seconds":1783390774,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5fa2f0"} 
[2026-07-07 07:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 07:50: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-07-07 07: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-07-07 07:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:50:33] 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-07-07 07:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548035072001,"66":13048,"61":206,"85":15104,"24":28,"16":103191910750879744,"45":9008817761124335616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-07 07:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548035072001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:50:33] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-07 07:50:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103191910750879744,"km_value":103191910750879.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008817761124335616,"description":"Unknown IO ID 45"} 
[2026-07-07 07:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548035072001,"power":13048,"unknown_61":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9008817761124335616}} 
[2026-07-07 07:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":124913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:50:33] local.INFO: GPS data processed {"connection_id":124913,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:50:33] local.INFO: Acknowledgment sent {"connection_id":124913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:50:37] local.INFO: TCP Data received {"connection_id":124914,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:50:37] local.INFO: Processing buffer {"connection_id":124914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a5bc2c0012d6efd00064498d80012006126..."} 
[2026-07-07 07:50:37] local.INFO: Packet analysis {"connection_id":124914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:50:37] local.INFO: Extracted packet for processing {"connection_id":124914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a5b"} 
[2026-07-07 07:50:37] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547896064001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:50:37] 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-07-07 07:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783390520000,"timestamp_ms":1783390520000,"timestamp_seconds":1783390520,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a5bc2c0"} 
[2026-07-07 07:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 07:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547896064001,"66":25778,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547896064001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:50:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:50:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547896064001,"power":25778,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":124914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:50:37] local.INFO: GPS data processed {"connection_id":124914,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:50:37] local.INFO: Acknowledgment sent {"connection_id":124914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:50:56] local.INFO: TCP Data received {"connection_id":124121,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:50:56] local.INFO: Processing buffer {"connection_id":124121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:50:56] local.INFO: IMEI packet received {"connection_id":124121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":124121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:50:58] local.INFO: TCP Data received {"connection_id":124915,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:50:58] local.INFO: Processing buffer {"connection_id":124915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:50:58] local.INFO: IMEI packet received {"connection_id":124915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":124915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:50:59] local.INFO: TCP Data received {"connection_id":124915,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:50:59] local.INFO: Processing buffer {"connection_id":124915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:50:59] local.INFO: IMEI packet received {"connection_id":124915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":124915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:51:01] local.INFO: TCP Data received {"connection_id":124121,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:51:01] local.INFO: Processing buffer {"connection_id":124121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:51:01] local.INFO: IMEI packet received {"connection_id":124121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":124121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:51:02] local.INFO: TCP Data received {"connection_id":124121,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a607db0012d7c540005e1fcf8000900d820..."} 
[2026-07-07 07:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a607db0012d7c540005e1fcf8000900d820..."} 
[2026-07-07 07:51:02] local.INFO: Processing buffer {"connection_id":124121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a607db0012d7c540005e1fcf8000900d820..."} 
[2026-07-07 07:51:02] local.INFO: Packet analysis {"connection_id":124121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a60"} 
[2026-07-07 07:51:02] local.INFO: Extracted packet for processing {"connection_id":124121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a60"} 
[2026-07-07 07:51:02] local.INFO: GPS Element Parsed {"raw_longitude":763122688,"raw_latitude":98696440,"longitude_deg":76.3122688,"latitude_deg":9.869644,"altitude":9,"angle":216,"satellites":32,"speed":28,"hex_longitude":"2d7c5400","hex_latitude":"05e1fcf8","is_valid_coordinates":true} 
[2026-07-07 07:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548051456001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103193976630149120,"note":"Value kept but may cause issues"} 
[2026-07-07 07:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960404065129822208,"note":"Value kept but may cause issues"} 
[2026-07-07 07:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783390830000,"timestamp_ms":1783390830000,"timestamp_seconds":1783390830,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a607db0"} 
[2026-07-07 07:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 07:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:51:02] 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-07-07 07:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548051456001,"66":13059,"169":206,"85":15104,"24":28,"16":103193976630149120,"45":8960404065129822208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 07:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548051456001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:51:02] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 07:51:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103193976630149120,"km_value":103193976630149.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960404065129822208,"description":"Unknown IO ID 45"} 
[2026-07-07 07:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548051456001,"power":13059,"unknown_169":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8960404065129822208}} 
[2026-07-07 07:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":124121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:51:02] local.INFO: GPS data processed {"connection_id":124121,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:51:02] local.INFO: Acknowledgment sent {"connection_id":124121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:51:05] local.INFO: TCP Data received {"connection_id":124915,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:51:05] local.INFO: Processing buffer {"connection_id":124915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:51:05] local.INFO: IMEI packet received {"connection_id":124915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":124915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:51:06] local.INFO: TCP Data received {"connection_id":124915,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:51:06] local.INFO: Processing buffer {"connection_id":124915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:51:06] local.INFO: Packet analysis {"connection_id":124915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a60"} 
[2026-07-07 07:51:06] local.INFO: Extracted packet for processing {"connection_id":124915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a60"} 
[2026-07-07 07:51:06] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547973120001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783390821000,"timestamp_ms":1783390821000,"timestamp_seconds":1783390821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a605a88"} 
[2026-07-07 07:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 07:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547973120001,"66":25745,"43":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,79,24,16,45]} 
[2026-07-07 07:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547973120001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:51:06] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:51:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547973120001,"power":25745,"unknown_43":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":124915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:51:06] local.INFO: GPS data processed {"connection_id":124915,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:51:06] local.INFO: Acknowledgment sent {"connection_id":124915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:51:25] local.INFO: TCP Data received {"connection_id":124916,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:51:25] local.INFO: Processing buffer {"connection_id":124916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:51:25] local.INFO: IMEI packet received {"connection_id":124916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 07:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":124916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:51:34] local.INFO: TCP Data received {"connection_id":124121,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6150a0012d7bd5c005e1dce80006010722..."} 
[2026-07-07 07:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6150a0012d7bd5c005e1dce80006010722..."} 
[2026-07-07 07:51:34] local.INFO: Processing buffer {"connection_id":124121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6150a0012d7bd5c005e1dce80006010722..."} 
[2026-07-07 07:51:34] local.INFO: Packet analysis {"connection_id":124121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a61"} 
[2026-07-07 07:51:34] local.INFO: Extracted packet for processing {"connection_id":124121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a61"} 
[2026-07-07 07:51:34] local.INFO: GPS Element Parsed {"raw_longitude":763090368,"raw_latitude":98688232,"longitude_deg":76.3090368,"latitude_deg":9.8688232,"altitude":6,"angle":263,"satellites":34,"speed":21,"hex_longitude":"2d7bd5c0","hex_latitude":"05e1dce8","is_valid_coordinates":true} 
[2026-07-07 07:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548064000001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103195716091904000,"note":"Value kept but may cause issues"} 
[2026-07-07 07:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928597392758566912,"note":"Value kept but may cause issues"} 
[2026-07-07 07:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783390884000,"timestamp_ms":1783390884000,"timestamp_seconds":1783390884,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6150a0"} 
[2026-07-07 07:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-07 07:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:51:34] 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-07-07 07:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548064000001,"66":13222,"43":206,"85":15104,"24":21,"16":103195716091904000,"45":8928597392758566912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-07 07:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548064000001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:51:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:51:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103195716091904000,"km_value":103195716091904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928597392758566912,"description":"Unknown IO ID 45"} 
[2026-07-07 07:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548064000001,"power":13222,"unknown_43":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8928597392758566912}} 
[2026-07-07 07:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":124121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:51:34] local.INFO: GPS data processed {"connection_id":124121,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:51:34] local.INFO: Acknowledgment sent {"connection_id":124121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:51:37] local.INFO: TCP Data received {"connection_id":124915,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:51:37] local.INFO: Processing buffer {"connection_id":124915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:51:37] local.INFO: Packet analysis {"connection_id":124915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a60"} 
[2026-07-07 07:51:37] local.INFO: Extracted packet for processing {"connection_id":124915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a60"} 
[2026-07-07 07:51:37] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547973120001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783390821000,"timestamp_ms":1783390821000,"timestamp_seconds":1783390821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a605a88"} 
[2026-07-07 07:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 07:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547973120001,"66":25745,"43":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,79,24,16,45]} 
[2026-07-07 07:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547973120001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:51:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:51:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547973120001,"power":25745,"unknown_43":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":124915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:51:37] local.INFO: GPS data processed {"connection_id":124915,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:51:37] local.INFO: Acknowledgment sent {"connection_id":124915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:51:56] local.INFO: TCP Data received {"connection_id":124233,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:51:56] local.INFO: Processing buffer {"connection_id":124233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:51:56] local.INFO: IMEI packet received {"connection_id":124233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":124233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:51:59] local.INFO: TCP Data received {"connection_id":124234,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:51:59] local.INFO: Processing buffer {"connection_id":124234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:51:59] local.INFO: IMEI packet received {"connection_id":124234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":124234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:52:01] local.INFO: TCP Data received {"connection_id":124233,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:52:01] local.INFO: Processing buffer {"connection_id":124233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:52:01] local.INFO: IMEI packet received {"connection_id":124233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":124233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:52:05] local.INFO: TCP Data received {"connection_id":124234,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:52:05] local.INFO: Processing buffer {"connection_id":124234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:52:05] local.INFO: IMEI packet received {"connection_id":124234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":124234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:52:05] local.INFO: TCP Data received {"connection_id":126148,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:52:05] local.INFO: Processing buffer {"connection_id":126148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:52:05] local.INFO: IMEI packet received {"connection_id":126148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 07:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":126148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:52:06] local.INFO: TCP Data received {"connection_id":124234,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:52:06] local.INFO: Processing buffer {"connection_id":124234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:52:06] local.INFO: Packet analysis {"connection_id":124234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a60"} 
[2026-07-07 07:52:06] local.INFO: Extracted packet for processing {"connection_id":124234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a60"} 
[2026-07-07 07:52:06] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547973120001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783390821000,"timestamp_ms":1783390821000,"timestamp_seconds":1783390821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a605a88"} 
[2026-07-07 07:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 07:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547973120001,"66":25745,"43":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,79,24,16,45]} 
[2026-07-07 07:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547973120001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:52:06] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:52:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547973120001,"power":25745,"unknown_43":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":124234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:52:06] local.INFO: GPS data processed {"connection_id":124234,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:52:06] local.INFO: Acknowledgment sent {"connection_id":124234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:52:07] local.INFO: TCP Data received {"connection_id":124233,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a615870012d7bd18005e1dbb8000700f223..."} 
[2026-07-07 07:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a615870012d7bd18005e1dbb8000700f223..."} 
[2026-07-07 07:52:07] local.INFO: Processing buffer {"connection_id":124233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a615870012d7bd18005e1dbb8000700f223..."} 
[2026-07-07 07:52:07] local.INFO: Packet analysis {"connection_id":124233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a61"} 
[2026-07-07 07:52:07] local.INFO: Extracted packet for processing {"connection_id":124233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a61"} 
[2026-07-07 07:52:07] local.INFO: GPS Element Parsed {"raw_longitude":763089280,"raw_latitude":98687928,"longitude_deg":76.308928,"latitude_deg":9.8687928,"altitude":7,"angle":242,"satellites":35,"speed":21,"hex_longitude":"2d7bd180","hex_latitude":"05e1dbb8","is_valid_coordinates":true} 
[2026-07-07 07:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548066304001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103195771926478848,"note":"Value kept but may cause issues"} 
[2026-07-07 07:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923249368201226240,"note":"Value kept but may cause issues"} 
[2026-07-07 07:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783390886000,"timestamp_ms":1783390886000,"timestamp_seconds":1783390886,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a615870"} 
[2026-07-07 07:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 07:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:52:07] 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-07-07 07:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548066304001,"66":13135,"43":206,"85":15104,"24":21,"16":103195771926478848,"45":8923249368201226240},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-07 07:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548066304001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:52:07] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:52:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103195771926478848,"km_value":103195771926478.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923249368201226240,"description":"Unknown IO ID 45"} 
[2026-07-07 07:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548066304001,"power":13135,"unknown_43":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8923249368201226240}} 
[2026-07-07 07:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":124233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:52:07] local.INFO: GPS data processed {"connection_id":124233,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:52:07] local.INFO: Acknowledgment sent {"connection_id":124233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:52:37] local.INFO: TCP Data received {"connection_id":124234,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:52:37] local.INFO: Processing buffer {"connection_id":124234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:52:37] local.INFO: Packet analysis {"connection_id":124234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a60"} 
[2026-07-07 07:52:37] local.INFO: Extracted packet for processing {"connection_id":124234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a60"} 
[2026-07-07 07:52:37] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547973120001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783390821000,"timestamp_ms":1783390821000,"timestamp_seconds":1783390821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a605a88"} 
[2026-07-07 07:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 07:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547973120001,"66":25745,"43":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,79,24,16,45]} 
[2026-07-07 07:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547973120001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:52:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:52:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547973120001,"power":25745,"unknown_43":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":124234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:52:37] local.INFO: GPS data processed {"connection_id":124234,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:52:37] local.INFO: Acknowledgment sent {"connection_id":124234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:52:38] local.INFO: TCP Data received {"connection_id":124233,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a616040012d7bce0005e1d910000700e524..."} 
[2026-07-07 07:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a616040012d7bce0005e1d910000700e524..."} 
[2026-07-07 07:52:38] local.INFO: Processing buffer {"connection_id":124233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a616040012d7bce0005e1d910000700e524..."} 
[2026-07-07 07:52:38] local.INFO: Packet analysis {"connection_id":124233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a61"} 
[2026-07-07 07:52:38] local.INFO: Extracted packet for processing {"connection_id":124233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a61"} 
[2026-07-07 07:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763088384,"raw_latitude":98687248,"longitude_deg":76.3088384,"latitude_deg":9.8687248,"altitude":7,"angle":229,"satellites":36,"speed":23,"hex_longitude":"2d7bce00","hex_latitude":"05e1d910","is_valid_coordinates":true} 
[2026-07-07 07:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548066816001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103195827761053696,"note":"Value kept but may cause issues"} 
[2026-07-07 07:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922053099550128128,"note":"Value kept but may cause issues"} 
[2026-07-07 07:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783390888000,"timestamp_ms":1783390888000,"timestamp_seconds":1783390888,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a616040"} 
[2026-07-07 07:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 07:52: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-07-07 07:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:52:38] 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-07-07 07:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548066816001,"66":12917,"43":206,"85":15104,"24":23,"16":103195827761053696,"45":8922053099550128128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-07 07:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548066816001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:52:38] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:52:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103195827761053696,"km_value":103195827761053.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922053099550128128,"description":"Unknown IO ID 45"} 
[2026-07-07 07:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548066816001,"power":12917,"unknown_43":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8922053099550128128}} 
[2026-07-07 07:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":124233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:52:38] local.INFO: GPS data processed {"connection_id":124233,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:52:38] local.INFO: Acknowledgment sent {"connection_id":124233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:53:01] local.INFO: TCP Data received {"connection_id":124122,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:53:01] local.INFO: Processing buffer {"connection_id":124122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:53:01] local.INFO: IMEI packet received {"connection_id":124122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":124122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:53:02] local.INFO: TCP Data received {"connection_id":124122,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:53:02] local.INFO: Processing buffer {"connection_id":124122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:53:02] local.INFO: IMEI packet received {"connection_id":124122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":124122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:53:02] local.INFO: TCP Data received {"connection_id":124122,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a618f20012d7bb10005e1c120000900ed23..."} 
[2026-07-07 07:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a618f20012d7bb10005e1c120000900ed23..."} 
[2026-07-07 07:53:02] local.INFO: Processing buffer {"connection_id":124122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a618f20012d7bb10005e1c120000900ed23..."} 
[2026-07-07 07:53:02] local.INFO: Packet analysis {"connection_id":124122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a61"} 
[2026-07-07 07:53:02] local.INFO: Extracted packet for processing {"connection_id":124122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a61"} 
[2026-07-07 07:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763080960,"raw_latitude":98681120,"longitude_deg":76.308096,"latitude_deg":9.868112,"altitude":9,"angle":237,"satellites":35,"speed":28,"hex_longitude":"2d7bb100","hex_latitude":"05e1c120","is_valid_coordinates":true} 
[2026-07-07 07:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548067328001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921067937131466752,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103196287322554368,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 07:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783390900000,"timestamp_ms":1783390900000,"timestamp_seconds":1783390900,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a618f20"} 
[2026-07-07 07:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 07:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:53:02] 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-07-07 07:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548067328001,"66":12885,"45":8921067937131466752,"85":15104,"24":28,"16":103196287322554368},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-07 07:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548067328001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921067937131466752,"description":"Unknown IO ID 45"} 
[2026-07-07 07:53:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103196287322554368,"km_value":103196287322554.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:53:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456548067328001,"power":12885,"unknown_45":8921067937131466752,"unknown_85":15104,"ignition":28,"odometer":null}} 
[2026-07-07 07:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":124122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:53:02] local.INFO: GPS data processed {"connection_id":124122,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:53:02] local.INFO: Acknowledgment sent {"connection_id":124122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:53:04] local.INFO: TCP Data received {"connection_id":124122,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6196f0012d7bac4005e1bee8000900fa23..."} 
[2026-07-07 07:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6196f0012d7bac4005e1bee8000900fa23..."} 
[2026-07-07 07:53:04] local.INFO: Processing buffer {"connection_id":124122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6196f0012d7bac4005e1bee8000900fa23..."} 
[2026-07-07 07:53:04] local.INFO: Packet analysis {"connection_id":124122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a61"} 
[2026-07-07 07:53:04] local.INFO: Extracted packet for processing {"connection_id":124122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a61"} 
[2026-07-07 07:53:04] local.INFO: GPS Element Parsed {"raw_longitude":763079744,"raw_latitude":98680552,"longitude_deg":76.3079744,"latitude_deg":9.8680552,"altitude":9,"angle":250,"satellites":35,"speed":25,"hex_longitude":"2d7bac40","hex_latitude":"05e1bee8","is_valid_coordinates":true} 
[2026-07-07 07:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548070400001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912905162805288960,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103196351747063808,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 07:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783390902000,"timestamp_ms":1783390902000,"timestamp_seconds":1783390902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6196f0"} 
[2026-07-07 07:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-07 07:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:53:04] 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-07-07 07:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548070400001,"66":12885,"45":8912905162805288960,"85":15104,"24":25,"16":103196351747063808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-07 07:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548070400001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912905162805288960,"description":"Unknown IO ID 45"} 
[2026-07-07 07:53:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103196351747063808,"km_value":103196351747063.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:53:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456548070400001,"power":12885,"unknown_45":8912905162805288960,"unknown_85":15104,"ignition":25,"odometer":null}} 
[2026-07-07 07:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":124122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:53:04] local.INFO: GPS data processed {"connection_id":124122,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:53:04] local.INFO: Acknowledgment sent {"connection_id":124122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:53:05] local.INFO: TCP Data received {"connection_id":124917,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:53:05] local.INFO: Processing buffer {"connection_id":124917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:53:05] local.INFO: IMEI packet received {"connection_id":124917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":124917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:53:09] local.INFO: TCP Data received {"connection_id":124917,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:53:09] local.INFO: Processing buffer {"connection_id":124917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:53:09] local.INFO: IMEI packet received {"connection_id":124917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":124917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:53:11] local.INFO: TCP Data received {"connection_id":124917,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:53:11] local.INFO: Processing buffer {"connection_id":124917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:53:11] local.INFO: Packet analysis {"connection_id":124917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a60"} 
[2026-07-07 07:53:11] local.INFO: Extracted packet for processing {"connection_id":124917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a60"} 
[2026-07-07 07:53:11] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547973120001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783390821000,"timestamp_ms":1783390821000,"timestamp_seconds":1783390821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a605a88"} 
[2026-07-07 07:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 07:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547973120001,"66":25745,"43":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,79,24,16,45]} 
[2026-07-07 07:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547973120001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:53:11] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:53:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547973120001,"power":25745,"unknown_43":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":124917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:53:11] local.INFO: GPS data processed {"connection_id":124917,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:53:11] local.INFO: Acknowledgment sent {"connection_id":124917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:53:15] local.INFO: TCP Data received {"connection_id":124917,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:53:15] local.INFO: Processing buffer {"connection_id":124917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:53:15] local.INFO: Packet analysis {"connection_id":124917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a60"} 
[2026-07-07 07:53:15] local.INFO: Extracted packet for processing {"connection_id":124917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a60"} 
[2026-07-07 07:53:15] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547973120001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783390821000,"timestamp_ms":1783390821000,"timestamp_seconds":1783390821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a605a88"} 
[2026-07-07 07:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:53: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-07-07 07: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 07:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547973120001,"66":25745,"43":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,79,24,16,45]} 
[2026-07-07 07:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547973120001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:53:15] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:53:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547973120001,"power":25745,"unknown_43":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":124917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:53:15] local.INFO: GPS data processed {"connection_id":124917,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:53:15] local.INFO: Acknowledgment sent {"connection_id":124917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:53:35] local.INFO: TCP Data received {"connection_id":124122,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a62f680012d7b450005e1ad08000900f323..."} 
[2026-07-07 07:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a62f680012d7b450005e1ad08000900f323..."} 
[2026-07-07 07:53:35] local.INFO: Processing buffer {"connection_id":124122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a62f680012d7b450005e1ad08000900f323..."} 
[2026-07-07 07:53:35] local.INFO: Packet analysis {"connection_id":124122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a62"} 
[2026-07-07 07:53:35] local.INFO: Extracted packet for processing {"connection_id":124122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a62"} 
[2026-07-07 07:53:35] local.INFO: GPS Element Parsed {"raw_longitude":763053312,"raw_latitude":98675976,"longitude_deg":76.3053312,"latitude_deg":9.8675976,"altitude":9,"angle":243,"satellites":35,"speed":2,"hex_longitude":"2d7b4500","hex_latitude":"05e1ad08","is_valid_coordinates":true} 
[2026-07-07 07:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548093440001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103197648827187200,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882576234063409152,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783390992000,"timestamp_ms":1783390992000,"timestamp_seconds":1783390992,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a62f680"} 
[2026-07-07 07:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 07:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547559,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:35] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399445,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:35] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2902458368,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:35] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2928672779,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-07-07 07:53:35] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154087,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:35] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2710241280,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3786569728,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:35] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,169,85,24,241,157,16,161,159,211,45,128,173,10,35,66,207,192,34,199,64,1,240,227,58,225,4,113,205,98,83,112,239,50,2,110,5,11,21],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-07-07 07:53:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648799971642114048,"timestamp_seconds":648799971642114.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 07:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:53:35] 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-07-07 07:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548093440001,"66":12819,"169":206,"85":15104,"24":2,"16":103197648827187200,"45":8882576234063409152},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 07:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548093440001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:53:35] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 07:53:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103197648827187200,"km_value":103197648827187.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882576234063409152,"description":"Unknown IO ID 45"} 
[2026-07-07 07:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548093440001,"power":12819,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8882576234063409152}} 
[2026-07-07 07:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":124122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:53:35] local.INFO: GPS data processed {"connection_id":124122,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:53:35] local.INFO: Acknowledgment sent {"connection_id":124122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:53:53] local.INFO: TCP Data received {"connection_id":124124,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:53:53] local.INFO: Processing buffer {"connection_id":124124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:53:53] local.INFO: IMEI packet received {"connection_id":124124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":124124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:53:55] local.INFO: TCP Data received {"connection_id":124124,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:53:55] local.INFO: Processing buffer {"connection_id":124124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:53:55] local.INFO: IMEI packet received {"connection_id":124124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":124124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:53:56] local.INFO: TCP Data received {"connection_id":124124,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:53:56] local.INFO: Processing buffer {"connection_id":124124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:53:56] local.INFO: IMEI packet received {"connection_id":124124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":124124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:53:57] local.INFO: TCP Data received {"connection_id":124124,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:53:57] local.INFO: Processing buffer {"connection_id":124124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:53:57] local.INFO: IMEI packet received {"connection_id":124124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":124124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:53:58] local.INFO: TCP Data received {"connection_id":124124,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6319a8012d7b42c005e1ac700008010221..."} 
[2026-07-07 07:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6319a8012d7b42c005e1ac700008010221..."} 
[2026-07-07 07:53:58] local.INFO: Processing buffer {"connection_id":124124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6319a8012d7b42c005e1ac700008010221..."} 
[2026-07-07 07:53:58] local.INFO: Packet analysis {"connection_id":124124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a63"} 
[2026-07-07 07:53:58] local.INFO: Extracted packet for processing {"connection_id":124124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a63"} 
[2026-07-07 07:53:58] local.INFO: GPS Element Parsed {"raw_longitude":763052736,"raw_latitude":98675824,"longitude_deg":76.3052736,"latitude_deg":9.8675824,"altitude":8,"angle":258,"satellites":33,"speed":2,"hex_longitude":"2d7b42c0","hex_latitude":"05e1ac70","is_valid_coordinates":true} 
[2026-07-07 07:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548093952001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103197678891958272,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882505865319221248,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783391001000,"timestamp_ms":1783391001000,"timestamp_seconds":1783391001,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6319a8"} 
[2026-07-07 07:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 07:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:58] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2919235584,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":84859725464068532,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:58] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505174293938176,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:58] local.WARNING: Large IO value detected {"io_id":58,"raw_value":7083748802539773056,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:58] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2912944138,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:58] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6269274568389886208,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6365555712118292456,"corrected_to":0} 
[2026-07-07 07:53:58] local.WARNING: Large IO value detected {"io_id":74,"raw_value":3221610926,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:58] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182212529750272,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:58] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2711945216,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2183550927741318108,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:58] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-2954135235576410539,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:58] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:58] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195120128,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:58] local.WARNING: Large IO value detected {"io_id":120,"raw_value":2815867029034240,"note":"Value kept but may cause issues"} 
[2026-07-07 07:53:58] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,169,85,24,241,157,16,161,159,238,45,64,173,9,35,10,66,211,128,207,192,1,240,42,227,58,225,4,113,205,176,74,144,34,239,51,2,110,5,11,50,59,139,69,120],"length":625,"final_offset":755,"validated_count":45,"validation_warnings":[{"io_id":205,"original":-6365555712118292456,"validated":0}]} 
[2026-07-07 07:53:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648785677990887424,"timestamp_seconds":648785677990887.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 07:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":124124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":124124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":124124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:53:58] 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-07-07 07:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548093952001,"66":13189,"169":206,"85":15104,"24":2,"16":103197678891958272,"45":8882505865319221248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 07:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548093952001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:53:58] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 07:53:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103197678891958272,"km_value":103197678891958.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882505865319221248,"description":"Unknown IO ID 45"} 
[2026-07-07 07:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548093952001,"power":13189,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8882505865319221248}} 
[2026-07-07 07:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":124124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:53:58] local.INFO: GPS data processed {"connection_id":124124,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:53:58] local.INFO: Acknowledgment sent {"connection_id":124124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:54:00] local.INFO: TCP Data received {"connection_id":126149,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:54:00] local.INFO: Processing buffer {"connection_id":126149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:54:00] local.INFO: IMEI packet received {"connection_id":126149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":126149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:54:05] local.INFO: TCP Data received {"connection_id":126149,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:54:05] local.INFO: Processing buffer {"connection_id":126149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:54:05] local.INFO: IMEI packet received {"connection_id":126149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":126149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:54:06] local.INFO: TCP Data received {"connection_id":126149,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:54:06] local.INFO: Processing buffer {"connection_id":126149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:54:06] local.INFO: Packet analysis {"connection_id":126149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a60"} 
[2026-07-07 07:54:06] local.INFO: Extracted packet for processing {"connection_id":126149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a60"} 
[2026-07-07 07:54:06] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547973120001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783390821000,"timestamp_ms":1783390821000,"timestamp_seconds":1783390821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a605a88"} 
[2026-07-07 07:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 07:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547973120001,"66":25745,"43":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,79,24,16,45]} 
[2026-07-07 07:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547973120001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:54:06] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:54:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547973120001,"power":25745,"unknown_43":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":126149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:54:06] local.INFO: GPS data processed {"connection_id":126149,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:54:06] local.INFO: Acknowledgment sent {"connection_id":126149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:54:29] local.INFO: TCP Data received {"connection_id":124124,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a639e78012d7b3c0005e1b5b0000401641f..."} 
[2026-07-07 07:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a639e78012d7b3c0005e1b5b0000401641f..."} 
[2026-07-07 07:54:29] local.INFO: Processing buffer {"connection_id":124124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a639e78012d7b3c0005e1b5b0000401641f..."} 
[2026-07-07 07:54:29] local.INFO: Packet analysis {"connection_id":124124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a63"} 
[2026-07-07 07:54:29] local.INFO: Extracted packet for processing {"connection_id":124124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a63"} 
[2026-07-07 07:54:29] local.INFO: GPS Element Parsed {"raw_longitude":763051008,"raw_latitude":98678192,"longitude_deg":76.3051008,"latitude_deg":9.8678192,"altitude":4,"angle":356,"satellites":31,"speed":17,"hex_longitude":"2d7b3c00","hex_latitude":"05e1b5b0","is_valid_coordinates":true} 
[2026-07-07 07:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548104448001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103197833510780928,"note":"Value kept but may cause issues"} 
[2026-07-07 07:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880183696761722880,"note":"Value kept but may cause issues"} 
[2026-07-07 07:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783391035000,"timestamp_ms":1783391035000,"timestamp_seconds":1783391035,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a639e78"} 
[2026-07-07 07:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-07 07:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":124124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":124124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":124124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:54:29] 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-07-07 07:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548104448001,"66":13189,"169":206,"85":15104,"24":17,"16":103197833510780928,"45":8880183696761722880},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 07:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548104448001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:54:29] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 07:54:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103197833510780928,"km_value":103197833510780.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880183696761722880,"description":"Unknown IO ID 45"} 
[2026-07-07 07:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548104448001,"power":13189,"unknown_169":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8880183696761722880}} 
[2026-07-07 07:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":124124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:54:30] local.INFO: GPS data processed {"connection_id":124124,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:54:30] local.INFO: Acknowledgment sent {"connection_id":124124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:54:37] local.INFO: TCP Data received {"connection_id":126149,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:54:37] local.INFO: Processing buffer {"connection_id":126149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a605a88012d6efd00064498d80012006126..."} 
[2026-07-07 07:54:37] local.INFO: Packet analysis {"connection_id":126149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a60"} 
[2026-07-07 07:54:37] local.INFO: Extracted packet for processing {"connection_id":126149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a60"} 
[2026-07-07 07:54:37] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456547973120001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783390821000,"timestamp_ms":1783390821000,"timestamp_seconds":1783390821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a605a88"} 
[2026-07-07 07:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 07:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456547973120001,"66":25745,"43":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,79,24,16,45]} 
[2026-07-07 07:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456547973120001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:54:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:54:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456547973120001,"power":25745,"unknown_43":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":126149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:54:37] local.INFO: GPS data processed {"connection_id":126149,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:54:37] local.INFO: Acknowledgment sent {"connection_id":126149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:54:56] local.INFO: TCP Data received {"connection_id":124236,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:54:56] local.INFO: Processing buffer {"connection_id":124236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:54:56] local.INFO: IMEI packet received {"connection_id":124236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":124236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:54:59] local.INFO: TCP Data received {"connection_id":124236,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:54:59] local.INFO: Processing buffer {"connection_id":124236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:54:59] local.INFO: IMEI packet received {"connection_id":124236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":124236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:54:59] local.INFO: TCP Data received {"connection_id":124125,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:54:59] local.INFO: Processing buffer {"connection_id":124125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:54:59] local.INFO: IMEI packet received {"connection_id":124125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":124125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:55:00] local.INFO: TCP Data received {"connection_id":124236,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a63c970012d7b374005e1d8c00002016318..."} 
[2026-07-07 07:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a63c970012d7b374005e1d8c00002016318..."} 
[2026-07-07 07:55:00] local.INFO: Processing buffer {"connection_id":124236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a63c970012d7b374005e1d8c00002016318..."} 
[2026-07-07 07:55:00] local.INFO: Packet analysis {"connection_id":124236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a63"} 
[2026-07-07 07:55:00] local.INFO: Extracted packet for processing {"connection_id":124236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a63"} 
[2026-07-07 07:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763049792,"raw_latitude":98687168,"longitude_deg":76.3049792,"latitude_deg":9.8687168,"altitude":2,"angle":355,"satellites":24,"speed":39,"hex_longitude":"2d7b3740","hex_latitude":"05e1d8c0","is_valid_coordinates":true} 
[2026-07-07 07:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548104960001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103198271597445120,"note":"Value kept but may cause issues"} 
[2026-07-07 07:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879972590529392640,"note":"Value kept but may cause issues"} 
[2026-07-07 07:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783391046000,"timestamp_ms":1783391046000,"timestamp_seconds":1783391046,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a63c970"} 
[2026-07-07 07:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:55: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-07-07 07:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 07:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:55:00] 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-07-07 07:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548104960001,"66":13243,"169":206,"85":15104,"24":39,"16":103198271597445120,"45":8879972590529392640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 07:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548104960001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:55:00] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 07:55:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103198271597445120,"km_value":103198271597445.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879972590529392640,"description":"Unknown IO ID 45"} 
[2026-07-07 07:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548104960001,"power":13243,"unknown_169":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8879972590529392640}} 
[2026-07-07 07:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":124236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:55:00] local.INFO: GPS data processed {"connection_id":124236,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:55:00] local.INFO: Acknowledgment sent {"connection_id":124236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:55:05] local.INFO: TCP Data received {"connection_id":124125,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:55:05] local.INFO: Processing buffer {"connection_id":124125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:55:05] local.INFO: IMEI packet received {"connection_id":124125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":124125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:55:06] local.INFO: TCP Data received {"connection_id":124125,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a63e0e0012d6efd00064498d80012006126..."} 
[2026-07-07 07:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a63e0e0012d6efd00064498d80012006126..."} 
[2026-07-07 07:55:06] local.INFO: Processing buffer {"connection_id":124125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a63e0e0012d6efd00064498d80012006126..."} 
[2026-07-07 07:55:06] local.INFO: Packet analysis {"connection_id":124125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a63"} 
[2026-07-07 07:55:06] local.INFO: Extracted packet for processing {"connection_id":124125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a63"} 
[2026-07-07 07:55:06] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158872,"longitude_deg":76.2248448,"latitude_deg":10.5158872,"altitude":18,"angle":97,"satellites":38,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064498d8","is_valid_coordinates":true} 
[2026-07-07 07:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548050176001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783391052000,"timestamp_ms":1783391052000,"timestamp_seconds":1783391052,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a63e0e0"} 
[2026-07-07 07:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 07:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-07 07:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548050176001,"66":25702,"43":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,79,24,16,45]} 
[2026-07-07 07:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548050176001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:55:06] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:55:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548050176001,"power":25702,"unknown_43":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":124125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:55:06] local.INFO: GPS data processed {"connection_id":124125,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:55:06] local.INFO: Acknowledgment sent {"connection_id":124125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:55:31] local.INFO: TCP Data received {"connection_id":124236,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a63f080012d7b32c005e1fbf80000015e13..."} 
[2026-07-07 07:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a63f080012d7b32c005e1fbf80000015e13..."} 
[2026-07-07 07:55:31] local.INFO: Processing buffer {"connection_id":124236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a63f080012d7b32c005e1fbf80000015e13..."} 
[2026-07-07 07:55:31] local.INFO: Packet analysis {"connection_id":124236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a63"} 
[2026-07-07 07:55:31] local.INFO: Extracted packet for processing {"connection_id":124236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a63"} 
[2026-07-07 07:55:31] local.INFO: GPS Element Parsed {"raw_longitude":763048640,"raw_latitude":98696184,"longitude_deg":76.304864,"latitude_deg":9.8696184,"altitude":0,"angle":350,"satellites":19,"speed":25,"hex_longitude":"2d7b32c0","hex_latitude":"05e1fbf8","is_valid_coordinates":true} 
[2026-07-07 07:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548107776001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103198713979076608,"note":"Value kept but may cause issues"} 
[2026-07-07 07:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878635584392314880,"note":"Value kept but may cause issues"} 
[2026-07-07 07:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783391056000,"timestamp_ms":1783391056000,"timestamp_seconds":1783391056,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a63f080"} 
[2026-07-07 07:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 07:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":124236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":124236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":124236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:55:31] 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-07-07 07:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548107776001,"66":13037,"169":206,"85":15104,"24":25,"16":103198713979076608,"45":8878635584392314880},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 07:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548107776001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:55:31] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 07:55:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103198713979076608,"km_value":103198713979076.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878635584392314880,"description":"Unknown IO ID 45"} 
[2026-07-07 07:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548107776001,"power":13037,"unknown_169":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8878635584392314880}} 
[2026-07-07 07:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":124236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:55:31] local.INFO: GPS data processed {"connection_id":124236,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:55:31] local.INFO: Acknowledgment sent {"connection_id":124236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:55:37] local.INFO: TCP Data received {"connection_id":124125,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a63f850012d6efd00064497d8001200ad27..."} 
[2026-07-07 07:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a63f850012d6efd00064497d8001200ad27..."} 
[2026-07-07 07:55:37] local.INFO: Processing buffer {"connection_id":124125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a63f850012d6efd00064497d8001200ad27..."} 
[2026-07-07 07:55:37] local.INFO: Packet analysis {"connection_id":124125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a63"} 
[2026-07-07 07:55:37] local.INFO: Extracted packet for processing {"connection_id":124125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a63"} 
[2026-07-07 07:55:37] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158616,"longitude_deg":76.2248448,"latitude_deg":10.5158616,"altitude":18,"angle":173,"satellites":39,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064497d8","is_valid_coordinates":true} 
[2026-07-07 07:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548109312001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200540160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783391058000,"timestamp_ms":1783391058000,"timestamp_seconds":1783391058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a63f850"} 
[2026-07-07 07:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:55: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-07-07 07:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 07:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548109312001,"66":27517,"43":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200540160},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,79,24,16,45]} 
[2026-07-07 07:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548109312001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:55:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 07:55:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200540160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548109312001,"power":27517,"unknown_43":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200540160}} 
[2026-07-07 07:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":124125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:55:37] local.INFO: GPS data processed {"connection_id":124125,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:55:37] local.INFO: Acknowledgment sent {"connection_id":124125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:55:56] local.INFO: TCP Data received {"connection_id":124918,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:55:56] local.INFO: Processing buffer {"connection_id":124918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:55:56] local.INFO: IMEI packet received {"connection_id":124918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":124918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:56:01] local.INFO: TCP Data received {"connection_id":124918,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:56:01] local.INFO: Processing buffer {"connection_id":124918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:56:01] local.INFO: IMEI packet received {"connection_id":124918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":124918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:56:02] local.INFO: TCP Data received {"connection_id":124918,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a642b18012d7b2dc005e21e80000001611f..."} 
[2026-07-07 07:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a642b18012d7b2dc005e21e80000001611f..."} 
[2026-07-07 07:56:02] local.INFO: Processing buffer {"connection_id":124918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a642b18012d7b2dc005e21e80000001611f..."} 
[2026-07-07 07:56:02] local.INFO: Packet analysis {"connection_id":124918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a64"} 
[2026-07-07 07:56:02] local.INFO: Extracted packet for processing {"connection_id":124918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a64"} 
[2026-07-07 07:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763047360,"raw_latitude":98705024,"longitude_deg":76.304736,"latitude_deg":9.8705024,"altitude":0,"angle":353,"satellites":31,"speed":28,"hex_longitude":"2d7b2dc0","hex_latitude":"05e21e80","is_valid_coordinates":true} 
[2026-07-07 07:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548110336001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103199147770773504,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877368946999425024,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783391071000,"timestamp_ms":1783391071000,"timestamp_seconds":1783391071,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a642b18"} 
[2026-07-07 07:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 07:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:56:02] 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-07-07 07:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548110336001,"66":13319,"169":206,"85":15104,"24":28,"16":103199147770773504,"45":8877368946999425024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 07:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548110336001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:56:02] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 07:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103199147770773504,"km_value":103199147770773.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877368946999425024,"description":"Unknown IO ID 45"} 
[2026-07-07 07:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548110336001,"power":13319,"unknown_169":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8877368946999425024}} 
[2026-07-07 07:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":124918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:56:02] local.INFO: GPS data processed {"connection_id":124918,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:56:02] local.INFO: Acknowledgment sent {"connection_id":124918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:56:03] local.INFO: TCP Data received {"connection_id":124126,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:56:03] local.INFO: Processing buffer {"connection_id":124126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:56:03] local.INFO: IMEI packet received {"connection_id":124126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":124126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:56:07] local.INFO: TCP Data received {"connection_id":124126,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:56:07] local.INFO: Processing buffer {"connection_id":124126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:56:07] local.INFO: IMEI packet received {"connection_id":124126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":124126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:56:10] local.INFO: TCP Data received {"connection_id":124126,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:56:10] local.INFO: Processing buffer {"connection_id":124126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:56:10] local.INFO: IMEI packet received {"connection_id":124126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":124126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:56:12] local.INFO: TCP Data received {"connection_id":124126,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a644a58012d6efd00064497d8001200ad28..."} 
[2026-07-07 07:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a644a58012d6efd00064497d8001200ad28..."} 
[2026-07-07 07:56:12] local.INFO: Processing buffer {"connection_id":124126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a644a58012d6efd00064497d8001200ad28..."} 
[2026-07-07 07:56:12] local.INFO: Packet analysis {"connection_id":124126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a64"} 
[2026-07-07 07:56:12] local.INFO: Extracted packet for processing {"connection_id":124126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a64"} 
[2026-07-07 07:56:12] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158616,"longitude_deg":76.2248448,"latitude_deg":10.5158616,"altitude":18,"angle":173,"satellites":40,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064497d8","is_valid_coordinates":true} 
[2026-07-07 07: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-07-07 07:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548110848001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200474624,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:12] 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-07-07 07:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783391079000,"timestamp_ms":1783391079000,"timestamp_seconds":1783391079,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a644a58"} 
[2026-07-07 07:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:56: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-07-07 07: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 07:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07: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-07-07 07:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548110848001,"66":27843,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200474624},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548110848001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:56:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:56:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200474624,"description":"Unknown IO ID 45"} 
[2026-07-07 07:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548110848001,"power":27843,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200474624}} 
[2026-07-07 07:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":124126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:56:12] local.INFO: GPS data processed {"connection_id":124126,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:56:12] local.INFO: Acknowledgment sent {"connection_id":124126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:56:29] local.INFO: TCP Data received {"connection_id":124126,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a649c60012d6efd00064497d8001200ad27..."} 
[2026-07-07 07:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a649c60012d6efd00064497d8001200ad27..."} 
[2026-07-07 07:56:29] local.INFO: Processing buffer {"connection_id":124126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a649c60012d6efd00064497d8001200ad27..."} 
[2026-07-07 07:56:29] local.INFO: Packet analysis {"connection_id":124126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a64"} 
[2026-07-07 07:56:29] local.INFO: Extracted packet for processing {"connection_id":124126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a64"} 
[2026-07-07 07:56:29] local.INFO: GPS Element Parsed {"raw_longitude":762248448,"raw_latitude":105158616,"longitude_deg":76.2248448,"latitude_deg":10.5158616,"altitude":18,"angle":173,"satellites":39,"speed":0,"hex_longitude":"2d6efd00","hex_latitude":"064497d8","is_valid_coordinates":true} 
[2026-07-07 07:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548116224001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340597632491585536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7997548540200474624,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:29] 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-07-07 07:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783391100000,"timestamp_ms":1783391100000,"timestamp_seconds":1783391100,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a649c60"} 
[2026-07-07 07:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 07:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":124126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":124126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":124126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548116224001,"66":27767,"86":206,"79":20480,"24":0,"16":340597632491585536,"45":7997548540200474624},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548116224001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:56:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:56:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340597632491585536,"km_value":340597632491585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7997548540200474624,"description":"Unknown IO ID 45"} 
[2026-07-07 07:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548116224001,"power":27767,"unknown_86":206,"unknown_79":20480,"ignition":0,"odometer":null,"unknown_45":7997548540200474624}} 
[2026-07-07 07:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":124126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:56:29] local.INFO: GPS data processed {"connection_id":124126,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:56:29] local.INFO: Acknowledgment sent {"connection_id":124126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:56:35] local.INFO: TCP Data received {"connection_id":124918,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a645de0012d7b298005e241580003016021..."} 
[2026-07-07 07:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a645de0012d7b298005e241580003016021..."} 
[2026-07-07 07:56:35] local.INFO: Processing buffer {"connection_id":124918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a645de0012d7b298005e241580003016021..."} 
[2026-07-07 07:56:35] local.INFO: Packet analysis {"connection_id":124918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a64"} 
[2026-07-07 07:56:35] local.INFO: Extracted packet for processing {"connection_id":124918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a64"} 
[2026-07-07 07:56:35] local.INFO: GPS Element Parsed {"raw_longitude":763046272,"raw_latitude":98713944,"longitude_deg":76.3046272,"latitude_deg":9.8713944,"altitude":3,"angle":352,"satellites":33,"speed":27,"hex_longitude":"2d7b2980","hex_latitude":"05e24158","is_valid_coordinates":true} 
[2026-07-07 07: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-07-07 07:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548114176001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103199585857437696,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875961572118134784,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783391084000,"timestamp_ms":1783391084000,"timestamp_seconds":1783391084,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a645de0"} 
[2026-07-07 07:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 07:56:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:35] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:35] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-5782621900047900160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-07-07 07:56:35] local.WARNING: Large IO value detected {"io_id":142,"raw_value":3623955835,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:35] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3221610928,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:35] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2714828800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:35] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57886714530518331,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:35] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-8998190760633319419,"note":"Value kept but may cause issues"} 
[2026-07-07 07:56:35] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,169,85,24,241,157,16,163,159,240,45,192,251,19,10,66,162,201,64,216,2,158,1,133,227,161,58,225,4,113,205,11,142,62,224,32,239,51,110,5,29,99],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-07-07 07:56:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":388260750426112,"timestamp_seconds":388260750426.112,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 07:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:56:35] 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-07-07 07:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548114176001,"66":13222,"169":206,"85":15104,"24":27,"16":103199585857437696,"45":8875961572118134784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 07:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548114176001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:56:35] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 07:56:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103199585857437696,"km_value":103199585857437.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875961572118134784,"description":"Unknown IO ID 45"} 
[2026-07-07 07:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548114176001,"power":13222,"unknown_169":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8875961572118134784}} 
[2026-07-07 07:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":124918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:56:35] local.INFO: GPS data processed {"connection_id":124918,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:56:35] local.INFO: Acknowledgment sent {"connection_id":124918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:56:56] local.INFO: TCP Data received {"connection_id":124127,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:56:56] local.INFO: Processing buffer {"connection_id":124127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:56:56] local.INFO: IMEI packet received {"connection_id":124127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":124127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:56:57] local.INFO: TCP Data received {"connection_id":124127,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:56:57] local.INFO: Processing buffer {"connection_id":124127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:56:57] local.INFO: IMEI packet received {"connection_id":124127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":124127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:57:00] local.INFO: TCP Data received {"connection_id":124920,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:57:00] local.INFO: Processing buffer {"connection_id":124920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:57:00] local.INFO: IMEI packet received {"connection_id":124920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":124920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:57:01] local.INFO: TCP Data received {"connection_id":124127,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:57:01] local.INFO: Processing buffer {"connection_id":124127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:57:01] local.INFO: IMEI packet received {"connection_id":124127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":124127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:57:02] local.INFO: TCP Data received {"connection_id":124127,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6490a8012d7b240005e26610000401631b..."} 
[2026-07-07 07:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6490a8012d7b240005e26610000401631b..."} 
[2026-07-07 07:57:02] local.INFO: Processing buffer {"connection_id":124127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6490a8012d7b240005e26610000401631b..."} 
[2026-07-07 07:57:02] local.INFO: Packet analysis {"connection_id":124127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a64"} 
[2026-07-07 07:57:02] local.INFO: Extracted packet for processing {"connection_id":124127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a64"} 
[2026-07-07 07:57:02] local.INFO: GPS Element Parsed {"raw_longitude":763044864,"raw_latitude":98723344,"longitude_deg":76.3044864,"latitude_deg":9.8723344,"altitude":4,"angle":355,"satellites":27,"speed":29,"hex_longitude":"2d7b2400","hex_latitude":"05e26610","is_valid_coordinates":true} 
[2026-07-07 07: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-07-07 07:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548117504001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103200045418938368,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874765303469398016,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783391097000,"timestamp_ms":1783391097000,"timestamp_seconds":1783391097,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6490a8"} 
[2026-07-07 07:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 07:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07: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-07-07 07:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:57:02] 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-07-07 07:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548117504001,"66":12722,"169":206,"85":15104,"24":29,"16":103200045418938368,"45":8874765303469398016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 07:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548117504001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:57:02] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 07:57:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103200045418938368,"km_value":103200045418938.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874765303469398016,"description":"Unknown IO ID 45"} 
[2026-07-07 07:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548117504001,"power":12722,"unknown_169":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8874765303469398016}} 
[2026-07-07 07:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":124127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:57:02] local.INFO: GPS data processed {"connection_id":124127,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:57:02] local.INFO: Acknowledgment sent {"connection_id":124127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:57:05] local.INFO: TCP Data received {"connection_id":124920,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:57:05] local.INFO: Processing buffer {"connection_id":124920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:57:05] local.INFO: IMEI packet received {"connection_id":124920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":124920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:57:06] local.INFO: TCP Data received {"connection_id":124920,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a655fb0012d6ed50006449be80013012f2c..."} 
[2026-07-07 07:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a655fb0012d6ed50006449be80013012f2c..."} 
[2026-07-07 07:57:06] local.INFO: Processing buffer {"connection_id":124920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a655fb0012d6ed50006449be80013012f2c..."} 
[2026-07-07 07:57:06] local.INFO: Packet analysis {"connection_id":124920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a65"} 
[2026-07-07 07:57:06] local.INFO: Extracted packet for processing {"connection_id":124920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a65"} 
[2026-07-07 07:57:06] local.INFO: GPS Element Parsed {"raw_longitude":762238208,"raw_latitude":105159656,"longitude_deg":76.2238208,"latitude_deg":10.5159656,"altitude":19,"angle":303,"satellites":44,"speed":10,"hex_longitude":"2d6ed500","hex_latitude":"06449be8","is_valid_coordinates":true} 
[2026-07-07 07:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548134144001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340598272441712640,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7986500647364806656,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:06] 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-07-07 07:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783391150000,"timestamp_ms":1783391150000,"timestamp_seconds":1783391150,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a655fb0"} 
[2026-07-07 07:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 07:57: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-07-07 07:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548134144001,"66":27865,"86":206,"79":20480,"24":10,"16":340598272441712640,"45":7986500647364806656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548134144001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:57:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:57:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340598272441712640,"km_value":340598272441712.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7986500647364806656,"description":"Unknown IO ID 45"} 
[2026-07-07 07:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548134144001,"power":27865,"unknown_86":206,"unknown_79":20480,"ignition":10,"odometer":null,"unknown_45":7986500647364806656}} 
[2026-07-07 07:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":124920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:57:06] local.INFO: GPS data processed {"connection_id":124920,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:57:06] local.INFO: Acknowledgment sent {"connection_id":124920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:57:07] local.INFO: TCP Data received {"connection_id":124920,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a656398012d6ed40006449c600013011b2c..."} 
[2026-07-07 07:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a656398012d6ed40006449c600013011b2c..."} 
[2026-07-07 07:57:07] local.INFO: Processing buffer {"connection_id":124920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a656398012d6ed40006449c600013011b2c..."} 
[2026-07-07 07:57:07] local.INFO: Packet analysis {"connection_id":124920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a65"} 
[2026-07-07 07:57:07] local.INFO: Extracted packet for processing {"connection_id":124920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a65"} 
[2026-07-07 07:57:07] local.INFO: GPS Element Parsed {"raw_longitude":762237952,"raw_latitude":105159776,"longitude_deg":76.2237952,"latitude_deg":10.5159776,"altitude":19,"angle":283,"satellites":44,"speed":12,"hex_longitude":"2d6ed400","hex_latitude":"06449c60","is_valid_coordinates":true} 
[2026-07-07 07:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548134400001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340598289621581824,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7986289541132314624,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:07] 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-07-07 07:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783391151000,"timestamp_ms":1783391151000,"timestamp_seconds":1783391151,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a656398"} 
[2026-07-07 07:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 07:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548134400001,"66":27865,"86":206,"79":20480,"24":12,"16":340598289621581824,"45":7986289541132314624},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 07:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548134400001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:57:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 07:57:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340598289621581824,"km_value":340598289621581.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7986289541132314624,"description":"Unknown IO ID 45"} 
[2026-07-07 07:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548134400001,"power":27865,"unknown_86":206,"unknown_79":20480,"ignition":12,"odometer":null,"unknown_45":7986289541132314624}} 
[2026-07-07 07:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":124920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:57:07] local.INFO: GPS data processed {"connection_id":124920,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:57:07] local.INFO: Acknowledgment sent {"connection_id":124920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:57:20] local.INFO: TCP Data received {"connection_id":124921,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:57:20] local.INFO: Processing buffer {"connection_id":124921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:57:20] local.INFO: IMEI packet received {"connection_id":124921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 07:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":124921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:57:33] local.INFO: TCP Data received {"connection_id":124127,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a66a7d0012d7ada8005e3d8d0000b015d24..."} 
[2026-07-07 07:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a66a7d0012d7ada8005e3d8d0000b015d24..."} 
[2026-07-07 07:57:33] local.INFO: Processing buffer {"connection_id":124127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a66a7d0012d7ada8005e3d8d0000b015d24..."} 
[2026-07-07 07:57:33] local.INFO: Packet analysis {"connection_id":124127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a66"} 
[2026-07-07 07:57:33] local.INFO: Extracted packet for processing {"connection_id":124127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a66"} 
[2026-07-07 07:57:33] local.INFO: GPS Element Parsed {"raw_longitude":763026048,"raw_latitude":98818256,"longitude_deg":76.3026048,"latitude_deg":9.8818256,"altitude":11,"angle":349,"satellites":36,"speed":27,"hex_longitude":"2d7ada80","hex_latitude":"05e3d8d0","is_valid_coordinates":true} 
[2026-07-07 07:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548151040001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103204765587996672,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855273161356539904,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783391234000,"timestamp_ms":1783391234000,"timestamp_seconds":1783391234,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a66a7d0"} 
[2026-07-07 07:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 07:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162274663846,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:33] local.WARNING: Large IO value detected {"io_id":166,"raw_value":2365587456,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-07 07:57:33] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3221302651,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:33] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2790522880,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:33] local.WARNING: Large IO value detected {"io_id":96,"raw_value":58077557095399459,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:33] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,97,85,24,241,157,16,167,159,38,45,64,146,9,36,10,66,212,128,112,7,33,166,192,1,240,133,227,58,4,113,205,25,134,80,239,49,2,110,5,35,96],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-07 07:57:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720953227488395264,"timestamp_seconds":720953227488395.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 07:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:57:33] 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-07-07 07:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548151040001,"66":13319,"97":206,"85":15104,"24":27,"16":103204765587996672,"45":8855273161356539904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 07:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548151040001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:57:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 07:57:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103204765587996672,"km_value":103204765587996.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855273161356539904,"description":"Unknown IO ID 45"} 
[2026-07-07 07:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548151040001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8855273161356539904}} 
[2026-07-07 07:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":124127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:57:33] local.INFO: GPS data processed {"connection_id":124127,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:57:33] local.INFO: Acknowledgment sent {"connection_id":124127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:57:38] local.INFO: TCP Data received {"connection_id":124920,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6651e0012d6e7800064460d0001200ee2d..."} 
[2026-07-07 07:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6651e0012d6e7800064460d0001200ee2d..."} 
[2026-07-07 07:57:38] local.INFO: Processing buffer {"connection_id":124920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6651e0012d6e7800064460d0001200ee2d..."} 
[2026-07-07 07:57:38] local.INFO: Packet analysis {"connection_id":124920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a66"} 
[2026-07-07 07:57:38] local.INFO: Extracted packet for processing {"connection_id":124920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a66"} 
[2026-07-07 07:57:38] local.INFO: GPS Element Parsed {"raw_longitude":762214400,"raw_latitude":105144528,"longitude_deg":76.22144,"latitude_deg":10.5144528,"altitude":18,"angle":238,"satellites":45,"speed":16,"hex_longitude":"2d6e7800","hex_latitude":"064460d0","is_valid_coordinates":true} 
[2026-07-07 07: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-07-07 07:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548150016001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340599848694710272,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7960464212015308800,"note":"Value kept but may cause issues"} 
[2026-07-07 07:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783391212000,"timestamp_ms":1783391212000,"timestamp_seconds":1783391212,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6651e0"} 
[2026-07-07 07:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 07:57: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-07-07 07: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-07-07 07:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548150016001,"66":27767,"232":206,"79":20480,"24":16,"16":340599848694710272,"45":7960464212015308800},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,79,24,16,45]} 
[2026-07-07 07:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548150016001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:57:38] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-07 07:57:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340599848694710272,"km_value":340599848694710.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7960464212015308800,"description":"Unknown IO ID 45"} 
[2026-07-07 07:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548150016001,"power":27767,"unknown_232":206,"unknown_79":20480,"ignition":16,"odometer":null,"unknown_45":7960464212015308800}} 
[2026-07-07 07:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":124920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:57:38] local.INFO: GPS data processed {"connection_id":124920,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:57:38] local.INFO: Acknowledgment sent {"connection_id":124920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:57:59] local.INFO: TCP Data received {"connection_id":124923,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:57:59] local.INFO: Processing buffer {"connection_id":124923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:57:59] local.INFO: IMEI packet received {"connection_id":124923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":124923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:57:59] local.INFO: TCP Data received {"connection_id":124924,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:57:59] local.INFO: Processing buffer {"connection_id":124924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 07:57:59] local.INFO: IMEI packet received {"connection_id":124924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 07:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":124924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:57:59] local.INFO: TCP Data received {"connection_id":124922,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:57:59] local.INFO: Processing buffer {"connection_id":124922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:57:59] local.INFO: IMEI packet received {"connection_id":124922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":124922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:58:01] local.INFO: TCP Data received {"connection_id":124923,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:58:01] local.INFO: Processing buffer {"connection_id":124923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:58:01] local.INFO: IMEI packet received {"connection_id":124923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":124923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:58:05] local.INFO: TCP Data received {"connection_id":124922,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:58:05] local.INFO: Processing buffer {"connection_id":124922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:58:05] local.INFO: IMEI packet received {"connection_id":124922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":124922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:58:05] local.INFO: TCP Data received {"connection_id":124922,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6655c8012d6e764006446000001300fa2f..."} 
[2026-07-07 07:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6655c8012d6e764006446000001300fa2f..."} 
[2026-07-07 07:58:05] local.INFO: Processing buffer {"connection_id":124922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6655c8012d6e764006446000001300fa2f..."} 
[2026-07-07 07:58:05] local.INFO: Packet analysis {"connection_id":124922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a66"} 
[2026-07-07 07:58:05] local.INFO: Extracted packet for processing {"connection_id":124922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a66"} 
[2026-07-07 07:58:05] local.INFO: GPS Element Parsed {"raw_longitude":762213952,"raw_latitude":105144320,"longitude_deg":76.2213952,"latitude_deg":10.514432,"altitude":19,"angle":250,"satellites":47,"speed":18,"hex_longitude":"2d6e7640","hex_latitude":"06446000","is_valid_coordinates":true} 
[2026-07-07 07:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548150272001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340599874464514048,"note":"Value kept but may cause issues"} 
[2026-07-07 07:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7960112368294350848,"note":"Value kept but may cause issues"} 
[2026-07-07 07:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783391213000,"timestamp_ms":1783391213000,"timestamp_seconds":1783391213,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6655c8"} 
[2026-07-07 07:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 07:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548150272001,"66":27767,"232":206,"79":20480,"24":18,"16":340599874464514048,"45":7960112368294350848},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,79,24,16,45]} 
[2026-07-07 07:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548150272001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:58:05] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-07 07:58:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340599874464514048,"km_value":340599874464514.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7960112368294350848,"description":"Unknown IO ID 45"} 
[2026-07-07 07:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548150272001,"power":27767,"unknown_232":206,"unknown_79":20480,"ignition":18,"odometer":null,"unknown_45":7960112368294350848}} 
[2026-07-07 07:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":124922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:58:05] local.INFO: GPS data processed {"connection_id":124922,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:58:05] local.INFO: Acknowledgment sent {"connection_id":124922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:58:15] local.INFO: TCP Data received {"connection_id":124923,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:58:15] local.INFO: Processing buffer {"connection_id":124923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:58:15] local.INFO: IMEI packet received {"connection_id":124923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":124923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:58:17] local.INFO: TCP Data received {"connection_id":124923,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a66d2c8012d7ad24005e3fd80000b015b23..."} 
[2026-07-07 07:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a66d2c8012d7ad24005e3fd80000b015b23..."} 
[2026-07-07 07:58:17] local.INFO: Processing buffer {"connection_id":124923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a66d2c8012d7ad24005e3fd80000b015b23..."} 
[2026-07-07 07:58:17] local.INFO: Packet analysis {"connection_id":124923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a66"} 
[2026-07-07 07:58:17] local.INFO: Extracted packet for processing {"connection_id":124923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a66"} 
[2026-07-07 07:58:17] local.INFO: GPS Element Parsed {"raw_longitude":763023936,"raw_latitude":98827648,"longitude_deg":76.3023936,"latitude_deg":9.8827648,"altitude":11,"angle":347,"satellites":35,"speed":41,"hex_longitude":"2d7ad240","hex_latitude":"05e3fd80","is_valid_coordinates":true} 
[2026-07-07 07:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548155904001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103205233739431936,"note":"Value kept but may cause issues"} 
[2026-07-07 07:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852528780335960064,"note":"Value kept but may cause issues"} 
[2026-07-07 07:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783391245000,"timestamp_ms":1783391245000,"timestamp_seconds":1783391245,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a66d2c8"} 
[2026-07-07 07:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 07:58:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 07:58:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-07-07 07:58:17] local.WARNING: Large IO value detected {"io_id":227,"raw_value":1907274463689248256,"note":"Value kept but may cause issues"} 
[2026-07-07 07:58:17] local.WARNING: Large IO value detected {"io_id":166,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-07-07 07:58:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-07 07:58:17] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070502,"note":"Value kept but may cause issues"} 
[2026-07-07 07:58:17] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2793209856,"note":"Value kept but may cause issues"} 
[2026-07-07 07:58:17] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3812315136,"note":"Value kept but may cause issues"} 
[2026-07-07 07:58:17] local.WARNING: Large IO value detected {"io_id":101,"raw_value":5487637440800423941,"note":"Value kept but may cause issues"} 
[2026-07-07 07:58:17] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,97,85,24,241,157,16,168,159,93,45,64,180,10,36,66,167,38,146,9,212,128,1,240,3,227,166,58,4,113,205,28,158,7,120,18,239,51,2,110,5,6,23,101],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-07 07:58:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793017418595893248,"timestamp_seconds":793017418595893.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 07:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:58:17] 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-07-07 07:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548155904001,"66":12917,"97":206,"85":15104,"24":41,"16":103205233739431936,"45":8852528780335960064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 07:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548155904001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:58:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 07:58:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103205233739431936,"km_value":103205233739431.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852528780335960064,"description":"Unknown IO ID 45"} 
[2026-07-07 07:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548155904001,"power":12917,"unknown_97":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8852528780335960064}} 
[2026-07-07 07:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":124923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:58:17] local.INFO: GPS data processed {"connection_id":124923,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:58:17] local.INFO: Acknowledgment sent {"connection_id":124923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:58:36] local.INFO: TCP Data received {"connection_id":124922,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a671d00012d6e4280064439f8001000832d..."} 
[2026-07-07 07:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a671d00012d6e4280064439f8001000832d..."} 
[2026-07-07 07:58:36] local.INFO: Processing buffer {"connection_id":124922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a671d00012d6e4280064439f8001000832d..."} 
[2026-07-07 07:58:36] local.INFO: Packet analysis {"connection_id":124922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a67"} 
[2026-07-07 07:58:36] local.INFO: Extracted packet for processing {"connection_id":124922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a67"} 
[2026-07-07 07:58:36] local.INFO: GPS Element Parsed {"raw_longitude":762200704,"raw_latitude":105134584,"longitude_deg":76.2200704,"latitude_deg":10.5134584,"altitude":16,"angle":131,"satellites":45,"speed":15,"hex_longitude":"2d6e4280","hex_latitude":"064439f8","is_valid_coordinates":true} 
[2026-07-07 07:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548163328001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340600793587515392,"note":"Value kept but may cause issues"} 
[2026-07-07 07:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7944771982061148160,"note":"Value kept but may cause issues"} 
[2026-07-07 07:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783391264000,"timestamp_ms":1783391264000,"timestamp_seconds":1783391264,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a671d00"} 
[2026-07-07 07:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:58: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-07-07 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 07:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548163328001,"66":27865,"232":206,"79":20480,"24":15,"16":340600793587515392,"45":7944771982061148160},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,79,24,16,45]} 
[2026-07-07 07:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548163328001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:58:36] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-07 07:58:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340600793587515392,"km_value":340600793587515.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7944771982061148160,"description":"Unknown IO ID 45"} 
[2026-07-07 07:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548163328001,"power":27865,"unknown_232":206,"unknown_79":20480,"ignition":15,"odometer":null,"unknown_45":7944771982061148160}} 
[2026-07-07 07:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":124922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:58:36] local.INFO: GPS data processed {"connection_id":124922,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:58:36] local.INFO: Acknowledgment sent {"connection_id":124922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:58:56] local.INFO: TCP Data received {"connection_id":124128,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124128,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:58:56] local.INFO: Processing buffer {"connection_id":124128,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:58:56] local.INFO: IMEI packet received {"connection_id":124128,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":124128,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:58:59] local.INFO: TCP Data received {"connection_id":126150,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:58:59] local.INFO: Processing buffer {"connection_id":126150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:58:59] local.INFO: IMEI packet received {"connection_id":126150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 07:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":126150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:59:01] local.INFO: TCP Data received {"connection_id":124128,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124128,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:59:01] local.INFO: Processing buffer {"connection_id":124128,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:59:01] local.INFO: IMEI packet received {"connection_id":124128,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":124128,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:59:02] local.INFO: TCP Data received {"connection_id":124128,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a66e650012d7acc8005e40fc8000b014922..."} 
[2026-07-07 07:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a66e650012d7acc8005e40fc8000b014922..."} 
[2026-07-07 07:59:02] local.INFO: Processing buffer {"connection_id":124128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a66e650012d7acc8005e40fc8000b014922..."} 
[2026-07-07 07:59:02] local.INFO: Packet analysis {"connection_id":124128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a66"} 
[2026-07-07 07:59:02] local.INFO: Extracted packet for processing {"connection_id":124128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a66"} 
[2026-07-07 07:59:02] local.INFO: GPS Element Parsed {"raw_longitude":763022464,"raw_latitude":98832328,"longitude_deg":76.3022464,"latitude_deg":9.8832328,"altitude":11,"angle":329,"satellites":34,"speed":37,"hex_longitude":"2d7acc80","hex_latitude":"05e40fc8","is_valid_coordinates":true} 
[2026-07-07 07:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548158720001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103205469962633216,"note":"Value kept but may cause issues"} 
[2026-07-07 07:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850206611780501504,"note":"Value kept but may cause issues"} 
[2026-07-07 07:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783391250000,"timestamp_ms":1783391250000,"timestamp_seconds":1783391250,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a66e650"} 
[2026-07-07 07:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 07:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 07:59:02] 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-07-07 07:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 07:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 07:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548158720001,"66":12852,"97":206,"85":15104,"24":37,"16":103205469962633216,"45":8850206611780501504},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 07:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 07:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 07:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548158720001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:59:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 07:59:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 07:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103205469962633216,"km_value":103205469962633.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850206611780501504,"description":"Unknown IO ID 45"} 
[2026-07-07 07:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548158720001,"power":12852,"unknown_97":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8850206611780501504}} 
[2026-07-07 07:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":124128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:59:03] local.INFO: GPS data processed {"connection_id":124128,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:59:03] local.INFO: Acknowledgment sent {"connection_id":124128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:59:03] local.INFO: TCP Data received {"connection_id":126150,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:59:03] local.INFO: Processing buffer {"connection_id":126150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 07:59:03] local.INFO: IMEI packet received {"connection_id":126150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 07:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":126150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 07:59:04] local.INFO: TCP Data received {"connection_id":126150,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a673088012d6e49c006443248000e008e2b..."} 
[2026-07-07 07:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a673088012d6e49c006443248000e008e2b..."} 
[2026-07-07 07:59:04] local.INFO: Processing buffer {"connection_id":126150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a673088012d6e49c006443248000e008e2b..."} 
[2026-07-07 07:59:04] local.INFO: Packet analysis {"connection_id":126150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a67"} 
[2026-07-07 07:59:04] local.INFO: Extracted packet for processing {"connection_id":126150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a67"} 
[2026-07-07 07:59:04] local.INFO: GPS Element Parsed {"raw_longitude":762202560,"raw_latitude":105132616,"longitude_deg":76.220256,"latitude_deg":10.5132616,"altitude":14,"angle":142,"satellites":43,"speed":26,"hex_longitude":"2d6e49c0","hex_latitude":"06443248","is_valid_coordinates":true} 
[2026-07-07 07:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548163584001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340600922436534272,"note":"Value kept but may cause issues"} 
[2026-07-07 07:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7945053457037785088,"note":"Value kept but may cause issues"} 
[2026-07-07 07:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783391269000,"timestamp_ms":1783391269000,"timestamp_seconds":1783391269,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a673088"} 
[2026-07-07 07:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 07:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548163584001,"66":27876,"232":206,"79":20480,"24":26,"16":340600922436534272,"45":7945053457037785088},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,79,24,16,45]} 
[2026-07-07 07:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548163584001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:59:04] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-07 07:59:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":20480,"description":"Unknown IO ID 79"} 
[2026-07-07 07:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340600922436534272,"km_value":340600922436534.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7945053457037785088,"description":"Unknown IO ID 45"} 
[2026-07-07 07:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548163584001,"power":27876,"unknown_232":206,"unknown_79":20480,"ignition":26,"odometer":null,"unknown_45":7945053457037785088}} 
[2026-07-07 07:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":126150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:59:04] local.INFO: GPS data processed {"connection_id":126150,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:59:04] local.INFO: Acknowledgment sent {"connection_id":126150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:59:36] local.INFO: TCP Data received {"connection_id":126150,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a674be0012d6e55c006441da8000b00992d..."} 
[2026-07-07 07:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a674be0012d6e55c006441da8000b00992d..."} 
[2026-07-07 07:59:36] local.INFO: Processing buffer {"connection_id":126150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a674be0012d6e55c006441da8000b00992d..."} 
[2026-07-07 07:59:36] local.INFO: Packet analysis {"connection_id":126150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a67"} 
[2026-07-07 07:59:36] local.INFO: Extracted packet for processing {"connection_id":126150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a67"} 
[2026-07-07 07:59:36] local.INFO: GPS Element Parsed {"raw_longitude":762205632,"raw_latitude":105127336,"longitude_deg":76.2205632,"latitude_deg":10.5127336,"altitude":11,"angle":153,"satellites":45,"speed":38,"hex_longitude":"2d6e55c0","hex_latitude":"06441da8","is_valid_coordinates":true} 
[2026-07-07 07:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 07:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548164864001,"note":"Value kept but may cause issues"} 
[2026-07-07 07:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340601218789277696,"note":"Value kept but may cause issues"} 
[2026-07-07 07:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7947094150618433536,"note":"Value kept but may cause issues"} 
[2026-07-07 07:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 07:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783391276000,"timestamp_ms":1783391276000,"timestamp_seconds":1783391276,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a674be0"} 
[2026-07-07 07:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 07:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 07:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 07:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 07:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 07:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 07:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 07:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 07:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 07:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 07:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 07:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 07:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548164864001,"66":27843,"108":206,"79":20736,"24":38,"16":340601218789277696,"45":7947094150618433536},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,79,24,16,45]} 
[2026-07-07 07:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 07:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 07:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548164864001,"description":"Unknown IO ID 0"} 
[2026-07-07 07:59:36] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-07 07:59:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 07:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340601218789277696,"km_value":340601218789277.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 07:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7947094150618433536,"description":"Unknown IO ID 45"} 
[2026-07-07 07:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548164864001,"power":27843,"unknown_108":206,"unknown_79":20736,"ignition":38,"odometer":null,"unknown_45":7947094150618433536}} 
[2026-07-07 07:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":126150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 07:59:36] local.INFO: GPS data processed {"connection_id":126150,"processed":1,"errors":0,"total":1} 
[2026-07-07 07:59:36] local.INFO: Acknowledgment sent {"connection_id":126150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 07:59:56] local.INFO: TCP Data received {"connection_id":126151,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:59:56] local.INFO: Processing buffer {"connection_id":126151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:59:56] local.INFO: IMEI packet received {"connection_id":126151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 07:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":126151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 07:59:59] local.INFO: TCP Data received {"connection_id":126151,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:59:59] local.INFO: Processing buffer {"connection_id":126151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 07:59:59] local.INFO: IMEI packet received {"connection_id":126151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 07:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":126151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:00:00] local.INFO: TCP Data received {"connection_id":124131,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:00:00] local.INFO: Processing buffer {"connection_id":124131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:00:00] local.INFO: IMEI packet received {"connection_id":124131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":124131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:00:00] local.INFO: TCP Data received {"connection_id":124131,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:00:00] local.INFO: Processing buffer {"connection_id":124131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:00:00] local.INFO: IMEI packet received {"connection_id":124131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":124131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:00:01] local.INFO: TCP Data received {"connection_id":126151,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:00:01] local.INFO: Processing buffer {"connection_id":126151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:00:01] local.INFO: IMEI packet received {"connection_id":126151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":126151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:00:04] local.INFO: TCP Data received {"connection_id":126151,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a68d280012d7a348005e45a78000b010224..."} 
[2026-07-07 08:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a68d280012d7a348005e45a78000b010224..."} 
[2026-07-07 08:00:04] local.INFO: Processing buffer {"connection_id":126151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a68d280012d7a348005e45a78000b010224..."} 
[2026-07-07 08:00:04] local.INFO: Packet analysis {"connection_id":126151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a68"} 
[2026-07-07 08:00:04] local.INFO: Extracted packet for processing {"connection_id":126151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a68"} 
[2026-07-07 08:00:04] local.INFO: GPS Element Parsed {"raw_longitude":762983552,"raw_latitude":98851448,"longitude_deg":76.2983552,"latitude_deg":9.8851448,"altitude":11,"angle":258,"satellites":36,"speed":12,"hex_longitude":"2d7a3480","hex_latitude":"05e45a78","is_valid_coordinates":true} 
[2026-07-07 08:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548190464001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103207784950005760,"note":"Value kept but may cause issues"} 
[2026-07-07 08:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808055734024335360,"note":"Value kept but may cause issues"} 
[2026-07-07 08:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783391376000,"timestamp_ms":1783391376000,"timestamp_seconds":1783391376,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a68d280"} 
[2026-07-07 08:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:00: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-07-07 08:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 08:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:00:04] 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-07-07 08:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548190464001,"66":13189,"97":206,"85":15104,"24":12,"16":103207784950005760,"45":8808055734024335360},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548190464001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:00:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:00:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103207784950005760,"km_value":103207784950005.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808055734024335360,"description":"Unknown IO ID 45"} 
[2026-07-07 08:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548190464001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8808055734024335360}} 
[2026-07-07 08:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":126151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:00:04] local.INFO: GPS data processed {"connection_id":126151,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:00:04] local.INFO: Acknowledgment sent {"connection_id":126151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:00:05] local.INFO: TCP Data received {"connection_id":124131,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:00:05] local.INFO: Processing buffer {"connection_id":124131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:00:05] local.INFO: IMEI packet received {"connection_id":124131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":124131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:00:06] local.INFO: TCP Data received {"connection_id":124131,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6776d8012d6e64c00643fb88000900a02c..."} 
[2026-07-07 08:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6776d8012d6e64c00643fb88000900a02c..."} 
[2026-07-07 08:00:06] local.INFO: Processing buffer {"connection_id":124131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6776d8012d6e64c00643fb88000900a02c..."} 
[2026-07-07 08:00:06] local.INFO: Packet analysis {"connection_id":124131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a67"} 
[2026-07-07 08:00:06] local.INFO: Extracted packet for processing {"connection_id":124131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a67"} 
[2026-07-07 08:00:06] local.INFO: GPS Element Parsed {"raw_longitude":762209472,"raw_latitude":105118600,"longitude_deg":76.2209472,"latitude_deg":10.51186,"altitude":9,"angle":160,"satellites":44,"speed":33,"hex_longitude":"2d6e64c0","hex_latitude":"0643fb88","is_valid_coordinates":true} 
[2026-07-07 08:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548166656001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340601682645745664,"note":"Value kept but may cause issues"} 
[2026-07-07 08:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7950471850337609728,"note":"Value kept but may cause issues"} 
[2026-07-07 08:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783391287000,"timestamp_ms":1783391287000,"timestamp_seconds":1783391287,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6776d8"} 
[2026-07-07 08:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:00: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-07-07 08:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 08:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548166656001,"66":27843,"108":206,"79":20736,"24":33,"16":340601682645745664,"45":7950471850337609728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,79,24,16,45]} 
[2026-07-07 08:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548166656001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:00:06] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-07 08:00:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340601682645745664,"km_value":340601682645745.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7950471850337609728,"description":"Unknown IO ID 45"} 
[2026-07-07 08:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548166656001,"power":27843,"unknown_108":206,"unknown_79":20736,"ignition":33,"odometer":null,"unknown_45":7950471850337609728}} 
[2026-07-07 08:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":124131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:00:06] local.INFO: GPS data processed {"connection_id":124131,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:00:06] local.INFO: Acknowledgment sent {"connection_id":124131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:00:06] local.INFO: TCP Data received {"connection_id":126151,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a68e9f0012d7a2ec005e45a30000c011325..."} 
[2026-07-07 08:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a68e9f0012d7a2ec005e45a30000c011325..."} 
[2026-07-07 08:00:06] local.INFO: Processing buffer {"connection_id":126151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a68e9f0012d7a2ec005e45a30000c011325..."} 
[2026-07-07 08:00:06] local.INFO: Packet analysis {"connection_id":126151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a68"} 
[2026-07-07 08:00:06] local.INFO: Extracted packet for processing {"connection_id":126151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a68"} 
[2026-07-07 08:00:06] local.INFO: GPS Element Parsed {"raw_longitude":762982080,"raw_latitude":98851376,"longitude_deg":76.298208,"latitude_deg":9.8851376,"altitude":12,"angle":275,"satellites":37,"speed":6,"hex_longitude":"2d7a2ec0","hex_latitude":"05e45a30","is_valid_coordinates":true} 
[2026-07-07 08:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548192256001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103207857964449792,"note":"Value kept but may cause issues"} 
[2026-07-07 08:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805803934210488320,"note":"Value kept but may cause issues"} 
[2026-07-07 08:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783391382000,"timestamp_ms":1783391382000,"timestamp_seconds":1783391382,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a68e9f0"} 
[2026-07-07 08:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:00: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-07-07 08:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 08:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:00:06] 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-07-07 08:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548192256001,"66":12287,"97":206,"85":15104,"24":6,"16":103207857964449792,"45":8805803934210488320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548192256001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:00:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103207857964449792,"km_value":103207857964449.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805803934210488320,"description":"Unknown IO ID 45"} 
[2026-07-07 08:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548192256001,"power":12287,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8805803934210488320}} 
[2026-07-07 08:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":126151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:00:06] local.INFO: GPS data processed {"connection_id":126151,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:00:06] local.INFO: Acknowledgment sent {"connection_id":126151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:00:37] local.INFO: TCP Data received {"connection_id":124131,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a679de8012d6e73400643d9c80008009929..."} 
[2026-07-07 08:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a679de8012d6e73400643d9c80008009929..."} 
[2026-07-07 08:00:37] local.INFO: Processing buffer {"connection_id":124131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a679de8012d6e73400643d9c80008009929..."} 
[2026-07-07 08:00:37] local.INFO: Packet analysis {"connection_id":124131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a67"} 
[2026-07-07 08:00:37] local.INFO: Extracted packet for processing {"connection_id":124131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a67"} 
[2026-07-07 08:00:37] local.INFO: GPS Element Parsed {"raw_longitude":762213184,"raw_latitude":105109960,"longitude_deg":76.2213184,"latitude_deg":10.510996,"altitude":8,"angle":153,"satellites":41,"speed":39,"hex_longitude":"2d6e7340","hex_latitude":"0643d9c8","is_valid_coordinates":true} 
[2026-07-07 08:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548169472001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340602137912279040,"note":"Value kept but may cause issues"} 
[2026-07-07 08:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7954693974986033152,"note":"Value kept but may cause issues"} 
[2026-07-07 08:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783391297000,"timestamp_ms":1783391297000,"timestamp_seconds":1783391297,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a679de8"} 
[2026-07-07 08:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 08:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548169472001,"66":27789,"108":206,"79":20736,"24":39,"16":340602137912279040,"45":7954693974986033152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,79,24,16,45]} 
[2026-07-07 08:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548169472001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:00:37] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-07 08:00:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340602137912279040,"km_value":340602137912279.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7954693974986033152,"description":"Unknown IO ID 45"} 
[2026-07-07 08:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548169472001,"power":27789,"unknown_108":206,"unknown_79":20736,"ignition":39,"odometer":null,"unknown_45":7954693974986033152}} 
[2026-07-07 08:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":124131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:00:37] local.INFO: GPS data processed {"connection_id":124131,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:00:37] local.INFO: Acknowledgment sent {"connection_id":124131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:00:50] local.INFO: TCP Data received {"connection_id":126151,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a68edd8012d7a2e4005e45a70000d012625..."} 
[2026-07-07 08:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a68edd8012d7a2e4005e45a70000d012625..."} 
[2026-07-07 08:00:50] local.INFO: Processing buffer {"connection_id":126151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a68edd8012d7a2e4005e45a70000d012625..."} 
[2026-07-07 08:00:50] local.INFO: Packet analysis {"connection_id":126151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a68"} 
[2026-07-07 08:00:50] local.INFO: Extracted packet for processing {"connection_id":126151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a68"} 
[2026-07-07 08:00:50] local.INFO: GPS Element Parsed {"raw_longitude":762981952,"raw_latitude":98851440,"longitude_deg":76.2981952,"latitude_deg":9.885144,"altitude":13,"angle":294,"satellites":37,"speed":6,"hex_longitude":"2d7a2e40","hex_latitude":"05e45a70","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548193792001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103207862259417088,"note":"Value kept but may cause issues"} 
[2026-07-07 08:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804185453094383616,"note":"Value kept but may cause issues"} 
[2026-07-07 08:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783391383000,"timestamp_ms":1783391383000,"timestamp_seconds":1783391383,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a68edd8"} 
[2026-07-07 08:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-07 08:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:00:50] 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-07-07 08:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548193792001,"66":12287,"97":206,"85":15104,"24":6,"16":103207862259417088,"45":8804185453094383616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548193792001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:00:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:00:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103207862259417088,"km_value":103207862259417.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804185453094383616,"description":"Unknown IO ID 45"} 
[2026-07-07 08:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548193792001,"power":12287,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8804185453094383616}} 
[2026-07-07 08:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":126151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:00:50] local.INFO: GPS data processed {"connection_id":126151,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:00:50] local.INFO: Acknowledgment sent {"connection_id":126151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:00:59] local.INFO: TCP Data received {"connection_id":124239,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:00:59] local.INFO: Processing buffer {"connection_id":124239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:00:59] local.INFO: IMEI packet received {"connection_id":124239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":124239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:01:01] local.INFO: TCP Data received {"connection_id":126152,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:01:01] local.INFO: Processing buffer {"connection_id":126152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:01:01] local.INFO: IMEI packet received {"connection_id":126152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":126152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:01:02] local.INFO: TCP Data received {"connection_id":126152,"ip":"42.106.6.31","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 08:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126152,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 08:01:02] local.INFO: Processing buffer {"connection_id":126152,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 08:01:02] local.INFO: IMEI packet received {"connection_id":126152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":126152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:01:03] local.INFO: TCP Data received {"connection_id":124239,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:01:03] local.INFO: Processing buffer {"connection_id":124239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:01:03] local.INFO: IMEI packet received {"connection_id":124239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":124239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:01:04] local.INFO: TCP Data received {"connection_id":126152,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:01:04] local.INFO: Processing buffer {"connection_id":126152,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 08:01:04] local.INFO: IMEI packet received {"connection_id":126152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":126152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:01:04] local.INFO: TCP Data received {"connection_id":124239,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:01:04] local.INFO: Processing buffer {"connection_id":124239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:01:04] local.INFO: IMEI packet received {"connection_id":124239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":124239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:01:05] local.INFO: TCP Data received {"connection_id":124239,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a67bd28012d6e83800643bf30000a008e28..."} 
[2026-07-07 08:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a67bd28012d6e83800643bf30000a008e28..."} 
[2026-07-07 08:01:05] local.INFO: Processing buffer {"connection_id":124239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a67bd28012d6e83800643bf30000a008e28..."} 
[2026-07-07 08:01:05] local.INFO: Packet analysis {"connection_id":124239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a67"} 
[2026-07-07 08:01:05] local.INFO: Extracted packet for processing {"connection_id":124239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a67"} 
[2026-07-07 08:01:05] local.INFO: GPS Element Parsed {"raw_longitude":762217344,"raw_latitude":105103152,"longitude_deg":76.2217344,"latitude_deg":10.5103152,"altitude":10,"angle":142,"satellites":40,"speed":36,"hex_longitude":"2d6e8380","hex_latitude":"0643bf30","is_valid_coordinates":true} 
[2026-07-07 08:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548172032001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340602520164368384,"note":"Value kept but may cause issues"} 
[2026-07-07 08:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7958775362146125824,"note":"Value kept but may cause issues"} 
[2026-07-07 08:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783391305000,"timestamp_ms":1783391305000,"timestamp_seconds":1783391305,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a67bd28"} 
[2026-07-07 08:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-07 08:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548172032001,"66":27832,"108":206,"79":20736,"24":36,"16":340602520164368384,"45":7958775362146125824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,79,24,16,45]} 
[2026-07-07 08:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548172032001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:01:05] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-07 08:01:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340602520164368384,"km_value":340602520164368.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7958775362146125824,"description":"Unknown IO ID 45"} 
[2026-07-07 08:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548172032001,"power":27832,"unknown_108":206,"unknown_79":20736,"ignition":36,"odometer":null,"unknown_45":7958775362146125824}} 
[2026-07-07 08:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":124239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:01:05] local.INFO: GPS data processed {"connection_id":124239,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:01:05] local.INFO: Acknowledgment sent {"connection_id":124239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:01:10] local.INFO: TCP Data received {"connection_id":124239,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a67ec08012d6e9c800643a5200010008726..."} 
[2026-07-07 08:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a67ec08012d6e9c800643a5200010008726..."} 
[2026-07-07 08:01:10] local.INFO: Processing buffer {"connection_id":124239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a67ec08012d6e9c800643a5200010008726..."} 
[2026-07-07 08:01:10] local.INFO: Packet analysis {"connection_id":124239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a67"} 
[2026-07-07 08:01:10] local.INFO: Extracted packet for processing {"connection_id":124239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a67"} 
[2026-07-07 08:01:10] local.INFO: GPS Element Parsed {"raw_longitude":762223744,"raw_latitude":105096480,"longitude_deg":76.2223744,"latitude_deg":10.509648,"altitude":16,"angle":135,"satellites":38,"speed":25,"hex_longitude":"2d6e9c80","hex_latitude":"0643a520","is_valid_coordinates":true} 
[2026-07-07 08:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548174080001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340602966840967168,"note":"Value kept but may cause issues"} 
[2026-07-07 08:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7963349330515931136,"note":"Value kept but may cause issues"} 
[2026-07-07 08:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783391317000,"timestamp_ms":1783391317000,"timestamp_seconds":1783391317,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a67ec08"} 
[2026-07-07 08:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:01: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-07-07 08: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":184,"data_length":795,"current_offset":136} 
[2026-07-07 08:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548174080001,"66":27800,"108":206,"79":20736,"24":25,"16":340602966840967168,"45":7963349330515931136},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,79,24,16,45]} 
[2026-07-07 08:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548174080001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:01:10] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-07 08:01:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340602966840967168,"km_value":340602966840967.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7963349330515931136,"description":"Unknown IO ID 45"} 
[2026-07-07 08:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548174080001,"power":27800,"unknown_108":206,"unknown_79":20736,"ignition":25,"odometer":null,"unknown_45":7963349330515931136}} 
[2026-07-07 08:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":124239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:01:10] local.INFO: GPS data processed {"connection_id":124239,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:01:10] local.INFO: Acknowledgment sent {"connection_id":124239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:01:21] local.INFO: TCP Data received {"connection_id":126152,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a68f5a8012d7a2d0005e45b08000d013d25..."} 
[2026-07-07 08:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a68f5a8012d7a2d0005e45b08000d013d25..."} 
[2026-07-07 08:01:21] local.INFO: Processing buffer {"connection_id":126152,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f3a..."} 
[2026-07-07 08:01:21] local.INFO: IMEI packet received {"connection_id":126152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":126152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:01:42] local.INFO: TCP Data received {"connection_id":126152,"ip":"42.106.6.31","data_length":1340,"data_hex":"000000000000030f8e0a0000019f3a692488012d7a2d4005e45a68000e008d25..."} 
[2026-07-07 08:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126152,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019f3a692488012d7a2d4005e45a68000e008d25..."} 
[2026-07-07 08:01:42] local.INFO: Processing buffer {"connection_id":126152,"buffer_length":2135,"buffer_hex":"000000000000030f8e0a0000019f3a68f5a8012d7a2d0005e45b08000d013d25..."} 
[2026-07-07 08:01:42] local.INFO: Packet analysis {"connection_id":126152,"data_field_length":783,"total_packet_length":795,"buffer_length":2135,"packet_hex_start":"000000000000030f8e0a0000019f3a68"} 
[2026-07-07 08:01:42] local.INFO: Extracted packet for processing {"connection_id":126152,"packet_length":795,"remaining_buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019f3a68"} 
[2026-07-07 08:01:42] local.INFO: GPS Element Parsed {"raw_longitude":762981632,"raw_latitude":98851592,"longitude_deg":76.2981632,"latitude_deg":9.8851592,"altitude":13,"angle":317,"satellites":37,"speed":6,"hex_longitude":"2d7a2d00","hex_latitude":"05e45b08","is_valid_coordinates":true} 
[2026-07-07 08:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548194048001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103207879439286272,"note":"Value kept but may cause issues"} 
[2026-07-07 08:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804044715606044672,"note":"Value kept but may cause issues"} 
[2026-07-07 08:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783391385000,"timestamp_ms":1783391385000,"timestamp_seconds":1783391385,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a68f5a8"} 
[2026-07-07 08:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-07 08:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:01:42] 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-07-07 08:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548194048001,"66":12504,"97":206,"85":15104,"24":6,"16":103207879439286272,"45":8804044715606044672},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548194048001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:01:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103207879439286272,"km_value":103207879439286.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804044715606044672,"description":"Unknown IO ID 45"} 
[2026-07-07 08:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548194048001,"power":12504,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8804044715606044672}} 
[2026-07-07 08:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":126152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:01:42] local.INFO: GPS data processed {"connection_id":126152,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:01:42] local.INFO: Acknowledgment sent {"connection_id":126152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:01:42] local.INFO: Packet analysis {"connection_id":126152,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019f3a69"} 
[2026-07-07 08:01:42] local.INFO: Extracted packet for processing {"connection_id":126152,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019f3a69"} 
[2026-07-07 08:01:42] local.INFO: GPS Element Parsed {"raw_longitude":762981696,"raw_latitude":98851432,"longitude_deg":76.2981696,"latitude_deg":9.8851432,"altitude":14,"angle":141,"satellites":37,"speed":2,"hex_longitude":"2d7a2d40","hex_latitude":"05e45a68","is_valid_coordinates":true} 
[2026-07-07 08:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548194560001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103207909504057344,"note":"Value kept but may cause issues"} 
[2026-07-07 08:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803692871885195264,"note":"Value kept but may cause issues"} 
[2026-07-07 08:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783391397000,"timestamp_ms":1783391397000,"timestamp_seconds":1783391397,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a692488"} 
[2026-07-07 08:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 08:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:01:42] 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-07-07 08:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548194560001,"66":13254,"97":206,"85":15104,"24":2,"16":103207909504057344,"45":8803692871885195264},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548194560001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:01:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103207909504057344,"km_value":103207909504057.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803692871885195264,"description":"Unknown IO ID 45"} 
[2026-07-07 08:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548194560001,"power":13254,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8803692871885195264}} 
[2026-07-07 08:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":126152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:01:42] local.INFO: GPS data processed {"connection_id":126152,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:01:42] local.INFO: Acknowledgment sent {"connection_id":126152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:01:42] local.INFO: Packet analysis {"connection_id":126152,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019f3a6a"} 
[2026-07-07 08:01:42] local.INFO: Incomplete packet, waiting for more data {"connection_id":126152,"needed":795,"available":545} 
[2026-07-07 08:01:42] local.INFO: TCP Data received {"connection_id":126152,"ip":"42.106.6.31","data_length":250,"data_hex":"e30010016eab58000000000000019f3a6966f0012d7a2f8005e45a38000f0046..."} 
[2026-07-07 08:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126152,"packet_length":250,"packet_hex":"e30010016eab58000000000000019f3a6966f0012d7a2f8005e45a38000f0046..."} 
[2026-07-07 08:01:42] local.INFO: Processing buffer {"connection_id":126152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6a2e28012d7a6b4005e46608001b008325..."} 
[2026-07-07 08:01:42] local.INFO: Packet analysis {"connection_id":126152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6a"} 
[2026-07-07 08:01:42] local.INFO: Extracted packet for processing {"connection_id":126152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6a"} 
[2026-07-07 08:01:42] local.INFO: GPS Element Parsed {"raw_longitude":762997568,"raw_latitude":98854408,"longitude_deg":76.2997568,"latitude_deg":9.8854408,"altitude":27,"angle":131,"satellites":37,"speed":23,"hex_longitude":"2d7a6b40","hex_latitude":"05e46608","is_valid_coordinates":true} 
[2026-07-07 08:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548214272001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103208764202549248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819666576814561280,"note":"Value kept but may cause issues"} 
[2026-07-07 08:01: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-07-07 08:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783391465000,"timestamp_ms":1783391465000,"timestamp_seconds":1783391465,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6a2e28"} 
[2026-07-07 08:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 08:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:01:42] 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-07-07 08:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548214272001,"66":12863,"157":206,"87":12288,"24":23,"16":103208764202549248,"45":8819666576814561280},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 08:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548214272001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:01:42] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 08:01:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-07 08:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103208764202549248,"km_value":103208764202549.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819666576814561280,"description":"Unknown IO ID 45"} 
[2026-07-07 08:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548214272001,"power":12863,"unknown_157":206,"unknown_87":12288,"ignition":23,"odometer":null,"unknown_45":8819666576814561280}} 
[2026-07-07 08:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":126152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:01:42] local.INFO: GPS data processed {"connection_id":126152,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:01:42] local.INFO: Acknowledgment sent {"connection_id":126152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:01:52] local.INFO: TCP Data received {"connection_id":124239,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a69e3f0012d6f644006421cf0000f00942d..."} 
[2026-07-07 08:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a69e3f0012d6f644006421cf0000f00942d..."} 
[2026-07-07 08:01:52] local.INFO: Processing buffer {"connection_id":124239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a69e3f0012d6f644006421cf0000f00942d..."} 
[2026-07-07 08:01:52] local.INFO: Packet analysis {"connection_id":124239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a69"} 
[2026-07-07 08:01:52] local.INFO: Extracted packet for processing {"connection_id":124239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a69"} 
[2026-07-07 08:01:52] local.INFO: GPS Element Parsed {"raw_longitude":762274880,"raw_latitude":104996080,"longitude_deg":76.227488,"latitude_deg":10.499608,"altitude":15,"angle":148,"satellites":45,"speed":52,"hex_longitude":"2d6f6440","hex_latitude":"06421cf0","is_valid_coordinates":true} 
[2026-07-07 08:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548209152001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340608451514204160,"note":"Value kept but may cause issues"} 
[2026-07-07 08:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8024429400435884032,"note":"Value kept but may cause issues"} 
[2026-07-07 08:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783391446000,"timestamp_ms":1783391446000,"timestamp_seconds":1783391446,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a69e3f0"} 
[2026-07-07 08:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 08:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548209152001,"66":27800,"93":206,"79":20736,"24":52,"16":340608451514204160,"45":8024429400435884032},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-07-07 08:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548209152001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:01:52] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-07 08:01:52] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340608451514204160,"km_value":340608451514204.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8024429400435884032,"description":"Unknown IO ID 45"} 
[2026-07-07 08:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548209152001,"power":27800,"unknown_93":206,"unknown_79":20736,"ignition":52,"odometer":null,"unknown_45":8024429400435884032}} 
[2026-07-07 08:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":124239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:01:52] local.INFO: GPS data processed {"connection_id":124239,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:01:52] local.INFO: Acknowledgment sent {"connection_id":124239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:01:56] local.INFO: TCP Data received {"connection_id":124925,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:01:56] local.INFO: Processing buffer {"connection_id":124925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:01:56] local.INFO: IMEI packet received {"connection_id":124925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":124925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:01:59] local.INFO: TCP Data received {"connection_id":124925,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:01:59] local.INFO: Processing buffer {"connection_id":124925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:01:59] local.INFO: IMEI packet received {"connection_id":124925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":124925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:02:00] local.INFO: TCP Data received {"connection_id":124925,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6a5538012d7a880005e44f980017008023..."} 
[2026-07-07 08:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6a5538012d7a880005e44f980017008023..."} 
[2026-07-07 08:02:00] local.INFO: Processing buffer {"connection_id":124925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6a5538012d7a880005e44f980017008023..."} 
[2026-07-07 08:02:00] local.INFO: Packet analysis {"connection_id":124925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6a"} 
[2026-07-07 08:02:00] local.INFO: Extracted packet for processing {"connection_id":124925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6a"} 
[2026-07-07 08:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763004928,"raw_latitude":98848664,"longitude_deg":76.3004928,"latitude_deg":9.8848664,"altitude":23,"angle":128,"satellites":35,"speed":38,"hex_longitude":"2d7a8800","hex_latitude":"05e44f98","is_valid_coordinates":true} 
[2026-07-07 08:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548215040001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103209215174115328,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821214689186154496,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783391475000,"timestamp_ms":1783391475000,"timestamp_seconds":1783391475,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6a5538"} 
[2026-07-07 08:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 08:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:02:00] 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-07-07 08:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548215040001,"66":12809,"157":206,"87":12288,"24":38,"16":103209215174115328,"45":8821214689186154496},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 08:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548215040001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:02:00] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 08:02:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-07 08:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103209215174115328,"km_value":103209215174115.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821214689186154496,"description":"Unknown IO ID 45"} 
[2026-07-07 08:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548215040001,"power":12809,"unknown_157":206,"unknown_87":12288,"ignition":38,"odometer":null,"unknown_45":8821214689186154496}} 
[2026-07-07 08:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":124925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:02:00] local.INFO: GPS data processed {"connection_id":124925,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:02:00] local.INFO: Acknowledgment sent {"connection_id":124925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:02:04] local.INFO: TCP Data received {"connection_id":124927,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:02:04] local.INFO: Processing buffer {"connection_id":124927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:02:04] local.INFO: IMEI packet received {"connection_id":124927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":124927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:02:10] local.INFO: TCP Data received {"connection_id":124927,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:02:10] local.INFO: Processing buffer {"connection_id":124927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:02:10] local.INFO: IMEI packet received {"connection_id":124927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":124927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:02:11] local.INFO: TCP Data received {"connection_id":124927,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a69ff48012d6f79800641fe28000e00902b..."} 
[2026-07-07 08:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a69ff48012d6f79800641fe28000e00902b..."} 
[2026-07-07 08:02:11] local.INFO: Processing buffer {"connection_id":124927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a69ff48012d6f79800641fe28000e00902b..."} 
[2026-07-07 08:02:11] local.INFO: Packet analysis {"connection_id":124927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a69"} 
[2026-07-07 08:02:11] local.INFO: Extracted packet for processing {"connection_id":124927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a69"} 
[2026-07-07 08:02:11] local.INFO: GPS Element Parsed {"raw_longitude":762280320,"raw_latitude":104988200,"longitude_deg":76.228032,"latitude_deg":10.49882,"altitude":14,"angle":144,"satellites":43,"speed":54,"hex_longitude":"2d6f7980","hex_latitude":"0641fe28","is_valid_coordinates":true} 
[2026-07-07 08:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548210176001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340608915370672128,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8026610831504240640,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:11] 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-07-07 08:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783391453000,"timestamp_ms":1783391453000,"timestamp_seconds":1783391453,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a69ff48"} 
[2026-07-07 08:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 08:02: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-07-07 08:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548210176001,"66":27995,"91":206,"79":20736,"24":54,"16":340608915370672128,"45":8026610831504240640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-07 08:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548210176001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:02:11] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-07 08:02:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340608915370672128,"km_value":340608915370672.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8026610831504240640,"description":"Unknown IO ID 45"} 
[2026-07-07 08:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548210176001,"power":27995,"unknown_91":206,"unknown_79":20736,"ignition":54,"odometer":null,"unknown_45":8026610831504240640}} 
[2026-07-07 08:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":124927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:02:11] local.INFO: GPS data processed {"connection_id":124927,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:02:11] local.INFO: Acknowledgment sent {"connection_id":124927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:02:31] local.INFO: TCP Data received {"connection_id":124925,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6a7c48012d7aa4c005e438800014008324..."} 
[2026-07-07 08:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6a7c48012d7aa4c005e438800014008324..."} 
[2026-07-07 08:02:31] local.INFO: Processing buffer {"connection_id":124925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6a7c48012d7aa4c005e438800014008324..."} 
[2026-07-07 08:02:31] local.INFO: Packet analysis {"connection_id":124925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6a"} 
[2026-07-07 08:02:31] local.INFO: Extracted packet for processing {"connection_id":124925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6a"} 
[2026-07-07 08:02:31] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":98842752,"longitude_deg":76.3012288,"latitude_deg":9.8842752,"altitude":20,"angle":131,"satellites":36,"speed":30,"hex_longitude":"2d7aa4c0","hex_latitude":"05e43880","is_valid_coordinates":true} 
[2026-07-07 08:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548217600001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103209670440648704,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8829307094765115392,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783391485000,"timestamp_ms":1783391485000,"timestamp_seconds":1783391485,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6a7c48"} 
[2026-07-07 08:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-07 08:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":936748722660836352,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:31] local.WARNING: Large IO value detected {"io_id":171,"raw_value":3087007744,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:31] local.WARNING: Large IO value detected {"io_id":58,"raw_value":7610414872244405376,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":916259022,"corrected_to":0} 
[2026-07-07 08:02:31] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2013343098,"corrected_to":0} 
[2026-07-07 08:02:31] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2147869803,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:31] local.WARNING: Large IO value detected {"io_id":47,"raw_value":5044257697130663509,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:31] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2880569344,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1990599831105547996,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:31] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755481045565681,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:31] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,157,87,24,241,16,172,159,46,45,64,102,27,37,10,66,171,34,192,106,26,128,1,240,80,227,58,228,4,113,205,3,247,97,168,239,47,2,110,5,18,19,59,98],"length":535,"final_offset":665,"validated_count":44,"validation_warnings":[{"io_id":205,"original":916259022,"validated":0},{"io_id":247,"original":2013343098,"validated":0}]} 
[2026-07-07 08:02:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1657465550687043584,"timestamp_seconds":1657465550687043.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":124925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":124925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":124925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:02:31] 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-07-07 08:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548217600001,"66":12809,"97":206,"85":15104,"24":30,"16":103209670440648704,"45":8829307094765115392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548217600001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:02:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:02:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103209670440648704,"km_value":103209670440648.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8829307094765115392,"description":"Unknown IO ID 45"} 
[2026-07-07 08:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548217600001,"power":12809,"unknown_97":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8829307094765115392}} 
[2026-07-07 08:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":124925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:02:31] local.INFO: GPS data processed {"connection_id":124925,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:02:31] local.INFO: Acknowledgment sent {"connection_id":124925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:02:44] local.INFO: TCP Data received {"connection_id":124927,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6a1aa0012d6f8fc00641e0c8000e008d2e..."} 
[2026-07-07 08:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6a1aa0012d6f8fc00641e0c8000e008d2e..."} 
[2026-07-07 08:02:44] local.INFO: Processing buffer {"connection_id":124927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6a1aa0012d6f8fc00641e0c8000e008d2e..."} 
[2026-07-07 08:02:44] local.INFO: Packet analysis {"connection_id":124927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6a"} 
[2026-07-07 08:02:44] local.INFO: Extracted packet for processing {"connection_id":124927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6a"} 
[2026-07-07 08:02:44] local.INFO: GPS Element Parsed {"raw_longitude":762286016,"raw_latitude":104980680,"longitude_deg":76.2286016,"latitude_deg":10.498068,"altitude":14,"angle":141,"satellites":46,"speed":51,"hex_longitude":"2d6f8fc0","hex_latitude":"0641e0c8","is_valid_coordinates":true} 
[2026-07-07 08:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548211968001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340609366342238208,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8032592174757324800,"note":"Value kept but may cause issues"} 
[2026-07-07 08:02:44] 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-07-07 08:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783391460000,"timestamp_ms":1783391460000,"timestamp_seconds":1783391460,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6a1aa0"} 
[2026-07-07 08:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 08:02: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-07-07 08:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548211968001,"66":27984,"91":206,"79":20736,"24":51,"16":340609366342238208,"45":8032592174757324800},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-07 08:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548211968001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:02:44] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-07 08:02:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340609366342238208,"km_value":340609366342238.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8032592174757324800,"description":"Unknown IO ID 45"} 
[2026-07-07 08:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548211968001,"power":27984,"unknown_91":206,"unknown_79":20736,"ignition":51,"odometer":null,"unknown_45":8032592174757324800}} 
[2026-07-07 08:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":124927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:02:44] local.INFO: GPS data processed {"connection_id":124927,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:02:44] local.INFO: Acknowledgment sent {"connection_id":124927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:02:56] local.INFO: TCP Data received {"connection_id":126153,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:02:56] local.INFO: Processing buffer {"connection_id":126153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:02:56] local.INFO: IMEI packet received {"connection_id":126153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":126153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:03:01] local.INFO: TCP Data received {"connection_id":126153,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:03:01] local.INFO: Processing buffer {"connection_id":126153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:03:01] local.INFO: IMEI packet received {"connection_id":126153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":126153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:03:01] local.INFO: TCP Data received {"connection_id":124240,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:03:01] local.INFO: Processing buffer {"connection_id":124240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:03:01] local.INFO: IMEI packet received {"connection_id":124240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":124240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:03:02] local.INFO: TCP Data received {"connection_id":126153,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6aa740012d7ac00005e41fc80012008722..."} 
[2026-07-07 08:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6aa740012d7ac00005e41fc80012008722..."} 
[2026-07-07 08:03:02] local.INFO: Processing buffer {"connection_id":126153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6aa740012d7ac00005e41fc80012008722..."} 
[2026-07-07 08:03:02] local.INFO: Packet analysis {"connection_id":126153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6a"} 
[2026-07-07 08:03:02] local.INFO: Extracted packet for processing {"connection_id":126153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6a"} 
[2026-07-07 08:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763019264,"raw_latitude":98836424,"longitude_deg":76.3019264,"latitude_deg":9.8836424,"altitude":18,"angle":135,"satellites":34,"speed":32,"hex_longitude":"2d7ac000","hex_latitude":"05e41fc8","is_valid_coordinates":true} 
[2026-07-07 08:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548220160001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103210121412214784,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399500344033280,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783391496000,"timestamp_ms":1783391496000,"timestamp_seconds":1783391496,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6aa740"} 
[2026-07-07 08:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-07 08:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1369094286888403968,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:02] local.WARNING: Large IO value detected {"io_id":171,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:02] local.WARNING: Large IO value detected {"io_id":58,"raw_value":7612613895499958208,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":916259022,"corrected_to":0} 
[2026-07-07 08:03:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1990265579553929691,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:02] local.WARNING: Large IO value detected {"io_id":22,"raw_value":3087084922,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:02] local.WARNING: Large IO value detected {"io_id":98,"raw_value":3221611627,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:02] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718518,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:02] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2880765952,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:02] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-7133476175308861865,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:02] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:02] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,97,85,24,241,157,16,172,159,45,79,23,35,10,66,87,46,64,102,27,37,171,34,192,1,240,117,227,58,228,4,113,205,5,22,98,216,239,49,2,110,28,47,48,178],"length":535,"final_offset":665,"validated_count":45,"validation_warnings":[{"io_id":205,"original":916259022,"validated":0}]} 
[2026-07-07 08:03:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441296071402586112,"timestamp_seconds":1441296071402586.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:03:02] 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-07-07 08:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548220160001,"66":13102,"97":206,"85":15104,"24":32,"16":103210121412214784,"45":8837399500344033280},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548220160001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:03:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:03:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103210121412214784,"km_value":103210121412214.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399500344033280,"description":"Unknown IO ID 45"} 
[2026-07-07 08:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548220160001,"power":13102,"unknown_97":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8837399500344033280}} 
[2026-07-07 08:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":126153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:03:02] local.INFO: GPS data processed {"connection_id":126153,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:03:02] local.INFO: Acknowledgment sent {"connection_id":126153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:03:05] local.INFO: TCP Data received {"connection_id":124240,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:03:05] local.INFO: Processing buffer {"connection_id":124240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:03:05] local.INFO: IMEI packet received {"connection_id":124240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":124240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:03:05] local.INFO: TCP Data received {"connection_id":124240,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:03:05] local.INFO: Processing buffer {"connection_id":124240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:03:05] local.INFO: IMEI packet received {"connection_id":124240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":124240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:03:09] local.INFO: TCP Data received {"connection_id":124240,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:03:09] local.INFO: Processing buffer {"connection_id":124240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:03:09] local.INFO: IMEI packet received {"connection_id":124240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":124240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:03:11] local.INFO: TCP Data received {"connection_id":124240,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6a39e0012d6fa9000641c288000f008c2e..."} 
[2026-07-07 08:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6a39e0012d6fa9000641c288000f008c2e..."} 
[2026-07-07 08:03:11] local.INFO: Processing buffer {"connection_id":124240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6a39e0012d6fa9000641c288000f008c2e..."} 
[2026-07-07 08:03:11] local.INFO: Packet analysis {"connection_id":124240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6a"} 
[2026-07-07 08:03:11] local.INFO: Extracted packet for processing {"connection_id":124240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6a"} 
[2026-07-07 08:03:11] local.INFO: GPS Element Parsed {"raw_longitude":762292480,"raw_latitude":104972936,"longitude_deg":76.229248,"latitude_deg":10.4972936,"altitude":15,"angle":140,"satellites":46,"speed":49,"hex_longitude":"2d6fa900","hex_latitude":"0641c288","is_valid_coordinates":true} 
[2026-07-07 08:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548213760001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340609851673542656,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8038854992987211776,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:11] 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-07-07 08:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783391468000,"timestamp_ms":1783391468000,"timestamp_seconds":1783391468,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6a39e0"} 
[2026-07-07 08:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 08:03: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-07-07 08:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548213760001,"66":27930,"91":206,"79":20736,"24":49,"16":340609851673542656,"45":8038854992987211776},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-07 08:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548213760001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:03:11] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-07 08:03:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340609851673542656,"km_value":340609851673542.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8038854992987211776,"description":"Unknown IO ID 45"} 
[2026-07-07 08:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548213760001,"power":27930,"unknown_91":206,"unknown_79":20736,"ignition":49,"odometer":null,"unknown_45":8038854992987211776}} 
[2026-07-07 08:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":124240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:03:11] local.INFO: GPS data processed {"connection_id":124240,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:03:11] local.INFO: Acknowledgment sent {"connection_id":124240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:03:25] local.INFO: TCP Data received {"connection_id":124132,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:03:25] local.INFO: Processing buffer {"connection_id":124132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:03:25] local.INFO: IMEI packet received {"connection_id":124132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 08:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":124132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:03:33] local.INFO: TCP Data received {"connection_id":126153,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6ac298012d7ace0005e410480011009525..."} 
[2026-07-07 08:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6ac298012d7ace0005e410480011009525..."} 
[2026-07-07 08:03:33] local.INFO: Processing buffer {"connection_id":126153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6ac298012d7ace0005e410480011009525..."} 
[2026-07-07 08:03:33] local.INFO: Packet analysis {"connection_id":126153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6a"} 
[2026-07-07 08:03:33] local.INFO: Extracted packet for processing {"connection_id":126153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6a"} 
[2026-07-07 08:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763022848,"raw_latitude":98832456,"longitude_deg":76.3022848,"latitude_deg":9.8832456,"altitude":17,"angle":149,"satellites":37,"speed":28,"hex_longitude":"2d7ace00","hex_latitude":"05e41048","is_valid_coordinates":true} 
[2026-07-07 08:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548222976001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103210379110252544,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8845069693457778688,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783391503000,"timestamp_ms":1783391503000,"timestamp_seconds":1783391503,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6ac298"} 
[2026-07-07 08:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:03: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-07-07 08:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 08:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:03:33] 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-07-07 08:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548222976001,"66":13178,"97":206,"85":15104,"24":28,"16":103210379110252544,"45":8845069693457778688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548222976001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:03:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103210379110252544,"km_value":103210379110252.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8845069693457778688,"description":"Unknown IO ID 45"} 
[2026-07-07 08:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548222976001,"power":13178,"unknown_97":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8845069693457778688}} 
[2026-07-07 08:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":126153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:03:33] local.INFO: GPS data processed {"connection_id":126153,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:03:33] local.INFO: Acknowledgment sent {"connection_id":126153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:03:43] local.INFO: TCP Data received {"connection_id":124240,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6b9970012d705300064093780007006c2e..."} 
[2026-07-07 08:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6b9970012d705300064093780007006c2e..."} 
[2026-07-07 08:03:43] local.INFO: Processing buffer {"connection_id":124240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6b9970012d705300064093780007006c2e..."} 
[2026-07-07 08:03:43] local.INFO: Packet analysis {"connection_id":124240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6b"} 
[2026-07-07 08:03:43] local.INFO: Extracted packet for processing {"connection_id":124240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6b"} 
[2026-07-07 08:03:43] local.INFO: GPS Element Parsed {"raw_longitude":762336000,"raw_latitude":104895352,"longitude_deg":76.2336,"latitude_deg":10.4895352,"altitude":7,"angle":108,"satellites":46,"speed":31,"hex_longitude":"2d705300","hex_latitude":"06409378","is_valid_coordinates":true} 
[2026-07-07 08:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548238592001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340614211065348096,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8092968557238075392,"note":"Value kept but may cause issues"} 
[2026-07-07 08:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783391558000,"timestamp_ms":1783391558000,"timestamp_seconds":1783391558,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6b9970"} 
[2026-07-07 08:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:03: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-07-07 08: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 08:03: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-07-07 08:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548238592001,"66":27745,"101":206,"79":20736,"24":31,"16":340614211065348096,"45":8092968557238075392},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,79,24,16,45]} 
[2026-07-07 08:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548238592001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:03:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 08:03:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340614211065348096,"km_value":340614211065348.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8092968557238075392,"description":"Unknown IO ID 45"} 
[2026-07-07 08:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548238592001,"power":27745,"unknown_101":206,"unknown_79":20736,"ignition":31,"odometer":null,"unknown_45":8092968557238075392}} 
[2026-07-07 08:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":124240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:03:43] local.INFO: GPS data processed {"connection_id":124240,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:03:43] local.INFO: Acknowledgment sent {"connection_id":124240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:03:56] local.INFO: TCP Data received {"connection_id":124928,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:03:56] local.INFO: Processing buffer {"connection_id":124928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:03:56] local.INFO: IMEI packet received {"connection_id":124928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":124928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:03:59] local.INFO: TCP Data received {"connection_id":126155,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:03:59] local.INFO: Processing buffer {"connection_id":126155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:03:59] local.INFO: IMEI packet received {"connection_id":126155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":126155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:04:00] local.INFO: TCP Data received {"connection_id":126154,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:04:00] local.INFO: Processing buffer {"connection_id":126154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:04:00] local.INFO: IMEI packet received {"connection_id":126154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 08:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":126154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:04:01] local.INFO: TCP Data received {"connection_id":124928,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:04:01] local.INFO: Processing buffer {"connection_id":124928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:04:01] local.INFO: IMEI packet received {"connection_id":124928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":124928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:04:02] local.INFO: TCP Data received {"connection_id":124928,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6aca68012d7ad04005e40ab8001000a125..."} 
[2026-07-07 08:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6aca68012d7ad04005e40ab8001000a125..."} 
[2026-07-07 08:04:02] local.INFO: Processing buffer {"connection_id":124928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6aca68012d7ad04005e40ab8001000a125..."} 
[2026-07-07 08:04:02] local.INFO: Packet analysis {"connection_id":124928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6a"} 
[2026-07-07 08:04:02] local.INFO: Extracted packet for processing {"connection_id":124928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6a"} 
[2026-07-07 08:04:02] local.INFO: GPS Element Parsed {"raw_longitude":763023424,"raw_latitude":98831032,"longitude_deg":76.3023424,"latitude_deg":9.8831032,"altitude":16,"angle":161,"satellites":37,"speed":31,"hex_longitude":"2d7ad040","hex_latitude":"05e40ab8","is_valid_coordinates":true} 
[2026-07-07 08:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548224768001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103210456419663872,"note":"Value kept but may cause issues"} 
[2026-07-07 08:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849010343130712064,"note":"Value kept but may cause issues"} 
[2026-07-07 08:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783391505000,"timestamp_ms":1783391505000,"timestamp_seconds":1783391505,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6aca68"} 
[2026-07-07 08:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 08:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:04:02] 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-07-07 08:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548224768001,"66":13178,"97":206,"85":15104,"24":31,"16":103210456419663872,"45":8849010343130712064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548224768001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:04:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:04:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103210456419663872,"km_value":103210456419663.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849010343130712064,"description":"Unknown IO ID 45"} 
[2026-07-07 08:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548224768001,"power":13178,"unknown_97":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8849010343130712064}} 
[2026-07-07 08:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":124928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:04:02] local.INFO: GPS data processed {"connection_id":124928,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:04:02] local.INFO: Acknowledgment sent {"connection_id":124928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:04:04] local.INFO: TCP Data received {"connection_id":126155,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:04:04] local.INFO: Processing buffer {"connection_id":126155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:04:04] local.INFO: IMEI packet received {"connection_id":126155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":126155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:04:06] local.INFO: TCP Data received {"connection_id":126155,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6ba140012d705880064092800008005c2f..."} 
[2026-07-07 08:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6ba140012d705880064092800008005c2f..."} 
[2026-07-07 08:04:06] local.INFO: Processing buffer {"connection_id":126155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6ba140012d705880064092800008005c2f..."} 
[2026-07-07 08:04:06] local.INFO: Packet analysis {"connection_id":126155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6b"} 
[2026-07-07 08:04:06] local.INFO: Extracted packet for processing {"connection_id":126155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6b"} 
[2026-07-07 08:04:06] local.INFO: GPS Element Parsed {"raw_longitude":762337408,"raw_latitude":104895104,"longitude_deg":76.2337408,"latitude_deg":10.4895104,"altitude":8,"angle":92,"satellites":47,"speed":28,"hex_longitude":"2d705880","hex_latitude":"06409280","is_valid_coordinates":true} 
[2026-07-07 08:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548238848001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340614284079792128,"note":"Value kept but may cause issues"} 
[2026-07-07 08:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8093812982168123392,"note":"Value kept but may cause issues"} 
[2026-07-07 08:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783391560000,"timestamp_ms":1783391560000,"timestamp_seconds":1783391560,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6ba140"} 
[2026-07-07 08:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 08:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548238848001,"66":27832,"101":206,"79":20736,"24":28,"16":340614284079792128,"45":8093812982168123392},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,79,24,16,45]} 
[2026-07-07 08:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548238848001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:04:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 08:04:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340614284079792128,"km_value":340614284079792.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8093812982168123392,"description":"Unknown IO ID 45"} 
[2026-07-07 08:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548238848001,"power":27832,"unknown_101":206,"unknown_79":20736,"ignition":28,"odometer":null,"unknown_45":8093812982168123392}} 
[2026-07-07 08:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":126155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:04:06] local.INFO: GPS data processed {"connection_id":126155,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:04:06] local.INFO: Acknowledgment sent {"connection_id":126155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:04:08] local.INFO: TCP Data received {"connection_id":126155,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6bef60012d707c4006409140000d005a2e..."} 
[2026-07-07 08:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6bef60012d707c4006409140000d005a2e..."} 
[2026-07-07 08:04:08] local.INFO: Processing buffer {"connection_id":126155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6bef60012d707c4006409140000d005a2e..."} 
[2026-07-07 08:04:08] local.INFO: Packet analysis {"connection_id":126155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6b"} 
[2026-07-07 08:04:08] local.INFO: Extracted packet for processing {"connection_id":126155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6b"} 
[2026-07-07 08:04:08] local.INFO: GPS Element Parsed {"raw_longitude":762346560,"raw_latitude":104894784,"longitude_deg":76.234656,"latitude_deg":10.4894784,"altitude":13,"angle":90,"satellites":46,"speed":25,"hex_longitude":"2d707c40","hex_latitude":"06409140","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548239360001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340614717871489024,"note":"Value kept but may cause issues"} 
[2026-07-07 08:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8095361094539968512,"note":"Value kept but may cause issues"} 
[2026-07-07 08:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783391580000,"timestamp_ms":1783391580000,"timestamp_seconds":1783391580,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6bef60"} 
[2026-07-07 08:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:04: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-07-07 08: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 08:04: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-07-07 08: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-07-07 08:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548239360001,"66":27974,"101":206,"79":20736,"24":25,"16":340614717871489024,"45":8095361094539968512},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,79,24,16,45]} 
[2026-07-07 08:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548239360001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:04:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 08:04:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340614717871489024,"km_value":340614717871489.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8095361094539968512,"description":"Unknown IO ID 45"} 
[2026-07-07 08:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548239360001,"power":27974,"unknown_101":206,"unknown_79":20736,"ignition":25,"odometer":null,"unknown_45":8095361094539968512}} 
[2026-07-07 08:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":126155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:04:08] local.INFO: GPS data processed {"connection_id":126155,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:04:08] local.INFO: Acknowledgment sent {"connection_id":126155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:04:33] local.INFO: TCP Data received {"connection_id":124928,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6af948012d7ad80005e3e7e8000e00a726..."} 
[2026-07-07 08:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6af948012d7ad80005e3e7e8000e00a726..."} 
[2026-07-07 08:04:33] local.INFO: Processing buffer {"connection_id":124928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6af948012d7ad80005e3e7e8000e00a726..."} 
[2026-07-07 08:04:33] local.INFO: Packet analysis {"connection_id":124928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6a"} 
[2026-07-07 08:04:33] local.INFO: Extracted packet for processing {"connection_id":124928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6a"} 
[2026-07-07 08:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763025408,"raw_latitude":98822120,"longitude_deg":76.3025408,"latitude_deg":9.882212,"altitude":14,"angle":167,"satellites":38,"speed":24,"hex_longitude":"2d7ad800","hex_latitude":"05e3e7e8","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548225280001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103210898801295360,"note":"Value kept but may cause issues"} 
[2026-07-07 08:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849643661827946496,"note":"Value kept but may cause issues"} 
[2026-07-07 08:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783391517000,"timestamp_ms":1783391517000,"timestamp_seconds":1783391517,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6af948"} 
[2026-07-07 08:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:04: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-07-07 08: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 08:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:04:33] 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-07-07 08:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548225280001,"66":13319,"97":206,"85":15104,"24":24,"16":103210898801295360,"45":8849643661827946496},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548225280001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:04:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103210898801295360,"km_value":103210898801295.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849643661827946496,"description":"Unknown IO ID 45"} 
[2026-07-07 08:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548225280001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8849643661827946496}} 
[2026-07-07 08:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":124928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:04:33] local.INFO: GPS data processed {"connection_id":124928,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:04:33] local.INFO: Acknowledgment sent {"connection_id":124928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:04:41] local.INFO: TCP Data received {"connection_id":126155,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6c0ab8012d708f4006408f08000d00672c..."} 
[2026-07-07 08:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6c0ab8012d708f4006408f08000d00672c..."} 
[2026-07-07 08:04:41] local.INFO: Processing buffer {"connection_id":126155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6c0ab8012d708f4006408f08000d00672c..."} 
[2026-07-07 08:04:41] local.INFO: Packet analysis {"connection_id":126155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6c"} 
[2026-07-07 08:04:41] local.INFO: Extracted packet for processing {"connection_id":126155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6c"} 
[2026-07-07 08:04:41] local.INFO: GPS Element Parsed {"raw_longitude":762351424,"raw_latitude":104894216,"longitude_deg":76.2351424,"latitude_deg":10.4894216,"altitude":13,"angle":103,"satellites":44,"speed":29,"hex_longitude":"2d708f40","hex_latitude":"06408f08","is_valid_coordinates":true} 
[2026-07-07 08:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548244480001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340614954094690304,"note":"Value kept but may cause issues"} 
[2026-07-07 08:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8105423824957292544,"note":"Value kept but may cause issues"} 
[2026-07-07 08:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783391587000,"timestamp_ms":1783391587000,"timestamp_seconds":1783391587,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6c0ab8"} 
[2026-07-07 08:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:04: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-07-07 08:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 08:04: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-07-07 08:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08: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-07-07 08:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548244480001,"66":27865,"101":206,"79":20736,"24":29,"16":340614954094690304,"45":8105423824957292544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,79,24,16,45]} 
[2026-07-07 08:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548244480001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:04:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 08:04:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340614954094690304,"km_value":340614954094690.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8105423824957292544,"description":"Unknown IO ID 45"} 
[2026-07-07 08:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548244480001,"power":27865,"unknown_101":206,"unknown_79":20736,"ignition":29,"odometer":null,"unknown_45":8105423824957292544}} 
[2026-07-07 08:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":126155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:04:41] local.INFO: GPS data processed {"connection_id":126155,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:04:41] local.INFO: Acknowledgment sent {"connection_id":126155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:04:56] local.INFO: TCP Data received {"connection_id":124133,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:04:56] local.INFO: Processing buffer {"connection_id":124133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:04:56] local.INFO: IMEI packet received {"connection_id":124133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":124133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:05:01] local.INFO: TCP Data received {"connection_id":124133,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:05:01] local.INFO: Processing buffer {"connection_id":124133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:05:01] local.INFO: IMEI packet received {"connection_id":124133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":124133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:05:02] local.INFO: TCP Data received {"connection_id":124133,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6b33e0012d7ae14005e3c548000a00a423..."} 
[2026-07-07 08:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6b33e0012d7ae14005e3c548000a00a423..."} 
[2026-07-07 08:05:02] local.INFO: Processing buffer {"connection_id":124133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6b33e0012d7ae14005e3c548000a00a423..."} 
[2026-07-07 08:05:02] local.INFO: Packet analysis {"connection_id":124133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6b"} 
[2026-07-07 08:05:02] local.INFO: Extracted packet for processing {"connection_id":124133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6b"} 
[2026-07-07 08:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763027776,"raw_latitude":98813256,"longitude_deg":76.3027776,"latitude_deg":9.8813256,"altitude":10,"angle":164,"satellites":35,"speed":22,"hex_longitude":"2d7ae140","hex_latitude":"05e3c548","is_valid_coordinates":true} 
[2026-07-07 08:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548228352001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103211341182926848,"note":"Value kept but may cause issues"} 
[2026-07-07 08:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851825092895172608,"note":"Value kept but may cause issues"} 
[2026-07-07 08:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783391532000,"timestamp_ms":1783391532000,"timestamp_seconds":1783391532,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6b33e0"} 
[2026-07-07 08:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 08:05:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 08:05:02] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":26625,"corrected_to":0} 
[2026-07-07 08:05:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-07 08:05:02] local.WARNING: Large IO value detected {"io_id":228,"raw_value":7698903678961788160,"note":"Value kept but may cause issues"} 
[2026-07-07 08:05:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-07 08:05:02] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2889613312,"note":"Value kept but may cause issues"} 
[2026-07-07 08:05:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831891968,"note":"Value kept but may cause issues"} 
[2026-07-07 08:05:02] local.WARNING: Large IO value detected {"io_id":63,"raw_value":57762418176972592,"note":"Value kept but may cause issues"} 
[2026-07-07 08:05:02] local.WARNING: Large IO value detected {"io_id":106,"raw_value":2481484689519788037,"note":"Value kept but may cause issues"} 
[2026-07-07 08:05:02] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,97,85,24,241,157,16,173,159,202,45,64,10,37,66,194,17,167,1,240,46,227,58,228,4,113,205,30,136,152,35,239,50,2,110,5,27,23,63,106],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":202,"original":26625,"validated":0},{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-07 08:05:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008990098183159808,"timestamp_seconds":1008990098183159.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:05:02] 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-07-07 08:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548228352001,"66":13276,"97":206,"85":15104,"24":22,"16":103211341182926848,"45":8851825092895172608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548228352001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:05:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:05:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103211341182926848,"km_value":103211341182926.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851825092895172608,"description":"Unknown IO ID 45"} 
[2026-07-07 08:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548228352001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8851825092895172608}} 
[2026-07-07 08:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":124133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:05:02] local.INFO: GPS data processed {"connection_id":124133,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:05:02] local.INFO: Acknowledgment sent {"connection_id":124133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:05:09] local.INFO: TCP Data received {"connection_id":124134,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:05:09] local.INFO: Processing buffer {"connection_id":124134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:05:09] local.INFO: IMEI packet received {"connection_id":124134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":124134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:05:11] local.INFO: TCP Data received {"connection_id":124134,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:05:11] local.INFO: Processing buffer {"connection_id":124134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:05:11] local.INFO: IMEI packet received {"connection_id":124134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":124134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:05:14] local.INFO: TCP Data received {"connection_id":124134,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:05:14] local.INFO: Processing buffer {"connection_id":124134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:05:14] local.INFO: IMEI packet received {"connection_id":124134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":124134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:05:19] local.INFO: TCP Data received {"connection_id":124134,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6c35b0012d70b20006408558000f006e2b..."} 
[2026-07-07 08:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6c35b0012d70b20006408558000f006e2b..."} 
[2026-07-07 08:05:19] local.INFO: Processing buffer {"connection_id":124134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6c35b0012d70b20006408558000f006e2b..."} 
[2026-07-07 08:05:19] local.INFO: Packet analysis {"connection_id":124134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6c"} 
[2026-07-07 08:05:19] local.INFO: Extracted packet for processing {"connection_id":124134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6c"} 
[2026-07-07 08:05:19] local.INFO: GPS Element Parsed {"raw_longitude":762360320,"raw_latitude":104891736,"longitude_deg":76.236032,"latitude_deg":10.4891736,"altitude":15,"angle":110,"satellites":43,"speed":34,"hex_longitude":"2d70b200","hex_latitude":"06408558","is_valid_coordinates":true} 
[2026-07-07 08:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548246272001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340615392181354496,"note":"Value kept but may cause issues"} 
[2026-07-07 08:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8110771849514649600,"note":"Value kept but may cause issues"} 
[2026-07-07 08:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783391598000,"timestamp_ms":1783391598000,"timestamp_seconds":1783391598,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6c35b0"} 
[2026-07-07 08:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 08:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548246272001,"66":27865,"101":206,"79":20736,"24":34,"16":340615392181354496,"45":8110771849514649600},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,79,24,16,45]} 
[2026-07-07 08:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548246272001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:05:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 08:05:19] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340615392181354496,"km_value":340615392181354.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8110771849514649600,"description":"Unknown IO ID 45"} 
[2026-07-07 08:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548246272001,"power":27865,"unknown_101":206,"unknown_79":20736,"ignition":34,"odometer":null,"unknown_45":8110771849514649600}} 
[2026-07-07 08:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":124134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:05:19] local.INFO: GPS data processed {"connection_id":124134,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:05:19] local.INFO: Acknowledgment sent {"connection_id":124134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:05:20] local.INFO: TCP Data received {"connection_id":124134,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6c6490012d70d380064077a8001300772d..."} 
[2026-07-07 08:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6c6490012d70d380064077a8001300772d..."} 
[2026-07-07 08:05:20] local.INFO: Processing buffer {"connection_id":124134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6c6490012d70d380064077a8001300772d..."} 
[2026-07-07 08:05:20] local.INFO: Packet analysis {"connection_id":124134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6c"} 
[2026-07-07 08:05:20] local.INFO: Extracted packet for processing {"connection_id":124134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6c"} 
[2026-07-07 08:05:20] local.INFO: GPS Element Parsed {"raw_longitude":762368896,"raw_latitude":104888232,"longitude_deg":76.2368896,"latitude_deg":10.4888232,"altitude":19,"angle":119,"satellites":45,"speed":26,"hex_longitude":"2d70d380","hex_latitude":"064077a8","is_valid_coordinates":true} 
[2026-07-07 08:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548249088001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340615838857953280,"note":"Value kept but may cause issues"} 
[2026-07-07 08:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8120553104954710016,"note":"Value kept but may cause issues"} 
[2026-07-07 08:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783391610000,"timestamp_ms":1783391610000,"timestamp_seconds":1783391610,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6c6490"} 
[2026-07-07 08:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:05: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-07-07 08:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 08:05: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-07-07 08:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548249088001,"66":27919,"103":206,"79":20736,"24":26,"16":340615838857953280,"45":8120553104954710016},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,79,24,16,45]} 
[2026-07-07 08:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548249088001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:05:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-07 08:05:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340615838857953280,"km_value":340615838857953.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8120553104954710016,"description":"Unknown IO ID 45"} 
[2026-07-07 08:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548249088001,"power":27919,"unknown_103":206,"unknown_79":20736,"ignition":26,"odometer":null,"unknown_45":8120553104954710016}} 
[2026-07-07 08:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":124134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:05:20] local.INFO: GPS data processed {"connection_id":124134,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:05:20] local.INFO: Acknowledgment sent {"connection_id":124134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:05:33] local.INFO: TCP Data received {"connection_id":124133,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6b6e78012d7aebc005e3a390000900a026..."} 
[2026-07-07 08:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6b6e78012d7aebc005e3a390000900a026..."} 
[2026-07-07 08:05:33] local.INFO: Processing buffer {"connection_id":124133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6b6e78012d7aebc005e3a390000900a026..."} 
[2026-07-07 08:05:33] local.INFO: Packet analysis {"connection_id":124133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6b"} 
[2026-07-07 08:05:33] local.INFO: Extracted packet for processing {"connection_id":124133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6b"} 
[2026-07-07 08:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763030464,"raw_latitude":98804624,"longitude_deg":76.3030464,"latitude_deg":9.8804624,"altitude":9,"angle":160,"satellites":38,"speed":28,"hex_longitude":"2d7aebc0","hex_latitude":"05e3a390","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548232192001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103211783564558336,"note":"Value kept but may cause issues"} 
[2026-07-07 08:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854428736427476992,"note":"Value kept but may cause issues"} 
[2026-07-07 08:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783391547000,"timestamp_ms":1783391547000,"timestamp_seconds":1783391547,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6b6e78"} 
[2026-07-07 08:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:05: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-07-07 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 08:05: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-07-07 08: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-07-07 08:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:05:33] 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-07-07 08:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548232192001,"66":13178,"97":206,"85":15104,"24":28,"16":103211783564558336,"45":8854428736427476992},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548232192001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:05:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103211783564558336,"km_value":103211783564558.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854428736427476992,"description":"Unknown IO ID 45"} 
[2026-07-07 08:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548232192001,"power":13178,"unknown_97":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8854428736427476992}} 
[2026-07-07 08:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":124133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:05:33] local.INFO: GPS data processed {"connection_id":124133,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:05:33] local.INFO: Acknowledgment sent {"connection_id":124133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:05:59] local.INFO: TCP Data received {"connection_id":124931,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:05:59] local.INFO: Processing buffer {"connection_id":124931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:05:59] local.INFO: IMEI packet received {"connection_id":124931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":124931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:06:00] local.INFO: TCP Data received {"connection_id":124930,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:06:00] local.INFO: Processing buffer {"connection_id":124930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:06:00] local.INFO: IMEI packet received {"connection_id":124930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":124930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:06:00] local.INFO: TCP Data received {"connection_id":124931,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:06:00] local.INFO: Processing buffer {"connection_id":124931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:06:00] local.INFO: IMEI packet received {"connection_id":124931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":124931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:06:01] local.INFO: TCP Data received {"connection_id":124930,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:06:01] local.INFO: Processing buffer {"connection_id":124930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:06:01] local.INFO: IMEI packet received {"connection_id":124930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":124930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:06:03] local.INFO: TCP Data received {"connection_id":124930,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:06:03] local.INFO: Processing buffer {"connection_id":124930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:06:03] local.INFO: IMEI packet received {"connection_id":124930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":124930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:06:04] local.INFO: TCP Data received {"connection_id":124930,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6ea6b0012d7b120005e331200009006122..."} 
[2026-07-07 08:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6ea6b0012d7b120005e331200009006122..."} 
[2026-07-07 08:06:04] local.INFO: Processing buffer {"connection_id":124930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6ea6b0012d7b120005e331200009006122..."} 
[2026-07-07 08:06:04] local.INFO: Packet analysis {"connection_id":124930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6e"} 
[2026-07-07 08:06:04] local.INFO: Extracted packet for processing {"connection_id":124930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6e"} 
[2026-07-07 08:06:04] local.INFO: GPS Element Parsed {"raw_longitude":763040256,"raw_latitude":98775328,"longitude_deg":76.3040256,"latitude_deg":9.8775328,"altitude":9,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d7b1200","hex_latitude":"05e33120","is_valid_coordinates":true} 
[2026-07-07 08:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548284928001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103213308277948416,"note":"Value kept but may cause issues"} 
[2026-07-07 08:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868080272788236288,"note":"Value kept but may cause issues"} 
[2026-07-07 08:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783391758000,"timestamp_ms":1783391758000,"timestamp_seconds":1783391758,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6ea6b0"} 
[2026-07-07 08:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:06: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-07-07 08:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 08:06: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-07-07 08:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:06:04] 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-07-07 08:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548284928001,"66":13015,"97":206,"85":15104,"24":0,"16":103213308277948416,"45":8868080272788236288},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548284928001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:06:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:06:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103213308277948416,"km_value":103213308277948.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868080272788236288,"description":"Unknown IO ID 45"} 
[2026-07-07 08:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548284928001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868080272788236288}} 
[2026-07-07 08:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":124930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:06:04] local.INFO: GPS data processed {"connection_id":124930,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:06:04] local.INFO: Acknowledgment sent {"connection_id":124930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:06:05] local.INFO: TCP Data received {"connection_id":124931,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:06:05] local.INFO: Processing buffer {"connection_id":124931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:06:05] local.INFO: IMEI packet received {"connection_id":124931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":124931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:06:06] local.INFO: TCP Data received {"connection_id":124931,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6d9158012d712b80063f5e90000a00972e..."} 
[2026-07-07 08:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6d9158012d712b80063f5e90000a00972e..."} 
[2026-07-07 08:06:06] local.INFO: Processing buffer {"connection_id":124931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6d9158012d712b80063f5e90000a00972e..."} 
[2026-07-07 08:06:06] local.INFO: Packet analysis {"connection_id":124931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6d"} 
[2026-07-07 08:06:06] local.INFO: Extracted packet for processing {"connection_id":124931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6d"} 
[2026-07-07 08:06:06] local.INFO: GPS Element Parsed {"raw_longitude":762391424,"raw_latitude":104816272,"longitude_deg":76.2391424,"latitude_deg":10.4816272,"altitude":10,"angle":151,"satellites":46,"speed":49,"hex_longitude":"2d712b80","hex_latitude":"063f5e90","is_valid_coordinates":true} 
[2026-07-07 08:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548269824001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340619828882571264,"note":"Value kept but may cause issues"} 
[2026-07-07 08:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8149826502515546112,"note":"Value kept but may cause issues"} 
[2026-07-07 08:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783391687000,"timestamp_ms":1783391687000,"timestamp_seconds":1783391687,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6d9158"} 
[2026-07-07 08:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:06: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-07-07 08:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 08:06: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-07-07 08:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548269824001,"66":27821,"188":206,"79":20736,"24":49,"16":340619828882571264,"45":8149826502515546112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-07-07 08:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548269824001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:06:06] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-07 08:06:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340619828882571264,"km_value":340619828882571.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8149826502515546112,"description":"Unknown IO ID 45"} 
[2026-07-07 08:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548269824001,"power":27821,"unknown_188":206,"unknown_79":20736,"ignition":49,"odometer":null,"unknown_45":8149826502515546112}} 
[2026-07-07 08:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":124931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:06:06] local.INFO: GPS data processed {"connection_id":124931,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:06:06] local.INFO: Acknowledgment sent {"connection_id":124931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:06:36] local.INFO: TCP Data received {"connection_id":124930,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6eb268012d7b120005e331200009006120..."} 
[2026-07-07 08:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6eb268012d7b120005e331200009006120..."} 
[2026-07-07 08:06:36] local.INFO: Processing buffer {"connection_id":124930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6eb268012d7b120005e331200009006120..."} 
[2026-07-07 08:06:36] local.INFO: Packet analysis {"connection_id":124930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6e"} 
[2026-07-07 08:06:36] local.INFO: Extracted packet for processing {"connection_id":124930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6e"} 
[2026-07-07 08:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763040256,"raw_latitude":98775328,"longitude_deg":76.3040256,"latitude_deg":9.8775328,"altitude":9,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d7b1200","hex_latitude":"05e33120","is_valid_coordinates":true} 
[2026-07-07 08:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548290048001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103213308277948416,"note":"Value kept but may cause issues"} 
[2026-07-07 08:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868150641532411904,"note":"Value kept but may cause issues"} 
[2026-07-07 08:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783391761000,"timestamp_ms":1783391761000,"timestamp_seconds":1783391761,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6eb268"} 
[2026-07-07 08:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 08:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:06:36] 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-07-07 08:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548290048001,"66":13222,"97":206,"85":15104,"24":0,"16":103213308277948416,"45":8868150641532411904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548290048001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:06:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:06:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103213308277948416,"km_value":103213308277948.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868150641532411904,"description":"Unknown IO ID 45"} 
[2026-07-07 08:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548290048001,"power":13222,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868150641532411904}} 
[2026-07-07 08:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":124930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:06:36] local.INFO: GPS data processed {"connection_id":124930,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:06:36] local.INFO: Acknowledgment sent {"connection_id":124930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:06:38] local.INFO: TCP Data received {"connection_id":124931,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6db098012d713d80063f3df8000b009e2d..."} 
[2026-07-07 08:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6db098012d713d80063f3df8000b009e2d..."} 
[2026-07-07 08:06:38] local.INFO: Processing buffer {"connection_id":124931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6db098012d713d80063f3df8000b009e2d..."} 
[2026-07-07 08:06:38] local.INFO: Packet analysis {"connection_id":124931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6d"} 
[2026-07-07 08:06:38] local.INFO: Extracted packet for processing {"connection_id":124931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6d"} 
[2026-07-07 08:06:38] local.INFO: GPS Element Parsed {"raw_longitude":762396032,"raw_latitude":104807928,"longitude_deg":76.2396032,"latitude_deg":10.4807928,"altitude":11,"angle":158,"satellites":45,"speed":45,"hex_longitude":"2d713d80","hex_latitude":"063f3df8","is_valid_coordinates":true} 
[2026-07-07 08:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548271872001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340620288444071936,"note":"Value kept but may cause issues"} 
[2026-07-07 08:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8154752314605735936,"note":"Value kept but may cause issues"} 
[2026-07-07 08:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783391695000,"timestamp_ms":1783391695000,"timestamp_seconds":1783391695,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6db098"} 
[2026-07-07 08:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:06: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-07-07 08:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 08:06: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-07-07 08:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548271872001,"66":27843,"188":206,"79":20736,"24":45,"16":340620288444071936,"45":8154752314605735936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-07-07 08:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548271872001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:06:38] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-07 08:06:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340620288444071936,"km_value":340620288444071.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8154752314605735936,"description":"Unknown IO ID 45"} 
[2026-07-07 08:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548271872001,"power":27843,"unknown_188":206,"unknown_79":20736,"ignition":45,"odometer":null,"unknown_45":8154752314605735936}} 
[2026-07-07 08:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":124931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:06:38] local.INFO: GPS data processed {"connection_id":124931,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:06:38] local.INFO: Acknowledgment sent {"connection_id":124931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:06:56] local.INFO: TCP Data received {"connection_id":124241,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:06:56] local.INFO: Processing buffer {"connection_id":124241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:06:56] local.INFO: IMEI packet received {"connection_id":124241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":124241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:06:59] local.INFO: TCP Data received {"connection_id":124241,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:06:59] local.INFO: Processing buffer {"connection_id":124241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:06:59] local.INFO: IMEI packet received {"connection_id":124241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":124241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:06:59] local.INFO: TCP Data received {"connection_id":124933,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:06:59] local.INFO: Processing buffer {"connection_id":124933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:06:59] local.INFO: IMEI packet received {"connection_id":124933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":124933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:07:00] local.INFO: TCP Data received {"connection_id":124241,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6eb268012d7b120005e331200009006120..."} 
[2026-07-07 08:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6eb268012d7b120005e331200009006120..."} 
[2026-07-07 08:07:00] local.INFO: Processing buffer {"connection_id":124241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6eb268012d7b120005e331200009006120..."} 
[2026-07-07 08:07:00] local.INFO: Packet analysis {"connection_id":124241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6e"} 
[2026-07-07 08:07:00] local.INFO: Extracted packet for processing {"connection_id":124241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6e"} 
[2026-07-07 08:07:00] local.INFO: GPS Element Parsed {"raw_longitude":763040256,"raw_latitude":98775328,"longitude_deg":76.3040256,"latitude_deg":9.8775328,"altitude":9,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d7b1200","hex_latitude":"05e33120","is_valid_coordinates":true} 
[2026-07-07 08:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548290816001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103213308277948416,"note":"Value kept but may cause issues"} 
[2026-07-07 08:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868150641532411904,"note":"Value kept but may cause issues"} 
[2026-07-07 08:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783391761000,"timestamp_ms":1783391761000,"timestamp_seconds":1783391761,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6eb268"} 
[2026-07-07 08:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 08:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 08:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:07:00] 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-07-07 08:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548290816001,"66":13222,"97":206,"85":15104,"24":0,"16":103213308277948416,"45":8868150641532411904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548290816001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:07:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:07:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103213308277948416,"km_value":103213308277948.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868150641532411904,"description":"Unknown IO ID 45"} 
[2026-07-07 08:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548290816001,"power":13222,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868150641532411904}} 
[2026-07-07 08:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":124241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:07:00] local.INFO: GPS data processed {"connection_id":124241,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:07:00] local.INFO: Acknowledgment sent {"connection_id":124241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:07:05] local.INFO: TCP Data received {"connection_id":124933,"ip":"42.106.6.29","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 08:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124933,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 08:07:05] local.INFO: Processing buffer {"connection_id":124933,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 08:07:05] local.INFO: IMEI packet received {"connection_id":124933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":124933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:07:06] local.INFO: TCP Data received {"connection_id":124933,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6dcfd8012d714780063f1c58000c00a52a..."} 
[2026-07-07 08:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6dcfd8012d714780063f1c58000c00a52a..."} 
[2026-07-07 08:07:06] local.INFO: Processing buffer {"connection_id":124933,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f3a..."} 
[2026-07-07 08:07:06] local.INFO: IMEI packet received {"connection_id":124933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":124933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:07:08] local.INFO: TCP Data received {"connection_id":124933,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6df300012d715180063ef718000d00a22b..."} 
[2026-07-07 08:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6df300012d715180063ef718000d00a22b..."} 
[2026-07-07 08:07:08] local.INFO: Processing buffer {"connection_id":124933,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3a6dcfd8012d714780063f1c58000c00a52a..."} 
[2026-07-07 08:07:08] local.INFO: Packet analysis {"connection_id":124933,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3a6d"} 
[2026-07-07 08:07:08] local.INFO: Extracted packet for processing {"connection_id":124933,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6d"} 
[2026-07-07 08:07:08] local.INFO: GPS Element Parsed {"raw_longitude":762398592,"raw_latitude":104799320,"longitude_deg":76.2398592,"latitude_deg":10.479932,"altitude":12,"angle":165,"satellites":42,"speed":44,"hex_longitude":"2d714780","hex_latitude":"063f1c58","is_valid_coordinates":true} 
[2026-07-07 08:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548273920001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340620722235768832,"note":"Value kept but may cause issues"} 
[2026-07-07 08:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8159818864184391680,"note":"Value kept but may cause issues"} 
[2026-07-07 08:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783391703000,"timestamp_ms":1783391703000,"timestamp_seconds":1783391703,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6dcfd8"} 
[2026-07-07 08:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 08:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548273920001,"66":27908,"188":206,"79":20736,"24":44,"16":340620722235768832,"45":8159818864184391680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-07-07 08:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548273920001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:07:08] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-07 08:07:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340620722235768832,"km_value":340620722235768.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8159818864184391680,"description":"Unknown IO ID 45"} 
[2026-07-07 08:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548273920001,"power":27908,"unknown_188":206,"unknown_79":20736,"ignition":44,"odometer":null,"unknown_45":8159818864184391680}} 
[2026-07-07 08:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":124933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:07:08] local.INFO: GPS data processed {"connection_id":124933,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:07:08] local.INFO: Acknowledgment sent {"connection_id":124933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:07:08] local.INFO: Packet analysis {"connection_id":124933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6d"} 
[2026-07-07 08:07:08] local.INFO: Extracted packet for processing {"connection_id":124933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6d"} 
[2026-07-07 08:07:08] local.INFO: GPS Element Parsed {"raw_longitude":762401152,"raw_latitude":104789784,"longitude_deg":76.2401152,"latitude_deg":10.4789784,"altitude":13,"angle":162,"satellites":43,"speed":42,"hex_longitude":"2d715180","hex_latitude":"063ef718","is_valid_coordinates":true} 
[2026-07-07 08:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548275968001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340621203272105984,"note":"Value kept but may cause issues"} 
[2026-07-07 08:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8162633613949294592,"note":"Value kept but may cause issues"} 
[2026-07-07 08:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783391712000,"timestamp_ms":1783391712000,"timestamp_seconds":1783391712,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6df300"} 
[2026-07-07 08:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:07: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-07-07 08: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":4,"data_length":795,"current_offset":136} 
[2026-07-07 08:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548275968001,"66":27876,"188":206,"79":20736,"24":42,"16":340621203272105984,"45":8162633613949294592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-07-07 08:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548275968001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:07:08] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-07 08:07:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340621203272105984,"km_value":340621203272106.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8162633613949294592,"description":"Unknown IO ID 45"} 
[2026-07-07 08:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548275968001,"power":27876,"unknown_188":206,"unknown_79":20736,"ignition":42,"odometer":null,"unknown_45":8162633613949294592}} 
[2026-07-07 08:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":124933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:07:08] local.INFO: GPS data processed {"connection_id":124933,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:07:08] local.INFO: Acknowledgment sent {"connection_id":124933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:07:10] local.INFO: TCP Data received {"connection_id":124933,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6e1628012d7158c0063ed3b8001000ad2a..."} 
[2026-07-07 08:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6e1628012d7158c0063ed3b8001000ad2a..."} 
[2026-07-07 08:07:10] local.INFO: Processing buffer {"connection_id":124933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6e1628012d7158c0063ed3b8001000ad2a..."} 
[2026-07-07 08:07:10] local.INFO: Packet analysis {"connection_id":124933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6e"} 
[2026-07-07 08:07:10] local.INFO: Extracted packet for processing {"connection_id":124933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6e"} 
[2026-07-07 08:07:10] local.INFO: GPS Element Parsed {"raw_longitude":762403008,"raw_latitude":104780728,"longitude_deg":76.2403008,"latitude_deg":10.4780728,"altitude":16,"angle":173,"satellites":42,"speed":37,"hex_longitude":"2d7158c0","hex_latitude":"063ed3b8","is_valid_coordinates":true} 
[2026-07-07 08:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548278272001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340621649948704768,"note":"Value kept but may cause issues"} 
[2026-07-07 08:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8165448363713959936,"note":"Value kept but may cause issues"} 
[2026-07-07 08:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783391721000,"timestamp_ms":1783391721000,"timestamp_seconds":1783391721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6e1628"} 
[2026-07-07 08:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:07: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-07-07 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 08:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548278272001,"66":27658,"188":206,"79":20736,"24":37,"16":340621649948704768,"45":8165448363713959936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-07-07 08:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548278272001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:07:10] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-07 08:07:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340621649948704768,"km_value":340621649948704.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8165448363713959936,"description":"Unknown IO ID 45"} 
[2026-07-07 08:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548278272001,"power":27658,"unknown_188":206,"unknown_79":20736,"ignition":37,"odometer":null,"unknown_45":8165448363713959936}} 
[2026-07-07 08:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":124933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:07:10] local.INFO: GPS data processed {"connection_id":124933,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:07:10] local.INFO: Acknowledgment sent {"connection_id":124933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:07:31] local.INFO: TCP Data received {"connection_id":124241,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6f17f8012d7b12c005e331200009006120..."} 
[2026-07-07 08:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6f17f8012d7b12c005e331200009006120..."} 
[2026-07-07 08:07:31] local.INFO: Processing buffer {"connection_id":124241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6f17f8012d7b12c005e331200009006120..."} 
[2026-07-07 08:07:31] local.INFO: Packet analysis {"connection_id":124241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6f"} 
[2026-07-07 08:07:31] local.INFO: Extracted packet for processing {"connection_id":124241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6f"} 
[2026-07-07 08:07:31] local.INFO: GPS Element Parsed {"raw_longitude":763040448,"raw_latitude":98775328,"longitude_deg":76.3040448,"latitude_deg":9.8775328,"altitude":9,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d7b12c0","hex_latitude":"05e33120","is_valid_coordinates":true} 
[2026-07-07 08:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548290816001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103213308277948416,"note":"Value kept but may cause issues"} 
[2026-07-07 08:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868150641532411904,"note":"Value kept but may cause issues"} 
[2026-07-07 08:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783391787000,"timestamp_ms":1783391787000,"timestamp_seconds":1783391787,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6f17f8"} 
[2026-07-07 08:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 08:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 08:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":124241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":124241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":124241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:07:31] 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-07-07 08:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548290816001,"66":13091,"97":206,"85":15104,"24":0,"16":103213308277948416,"45":8868150641532411904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548290816001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:07:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:07:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103213308277948416,"km_value":103213308277948.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868150641532411904,"description":"Unknown IO ID 45"} 
[2026-07-07 08:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548290816001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868150641532411904}} 
[2026-07-07 08:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":124241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:07:31] local.INFO: GPS data processed {"connection_id":124241,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:07:31] local.INFO: Acknowledgment sent {"connection_id":124241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:07:42] local.INFO: TCP Data received {"connection_id":124933,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6e4508012d715bc0063eae98001200b12d..."} 
[2026-07-07 08:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6e4508012d715bc0063eae98001200b12d..."} 
[2026-07-07 08:07:42] local.INFO: Processing buffer {"connection_id":124933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6e4508012d715bc0063eae98001200b12d..."} 
[2026-07-07 08:07:42] local.INFO: Packet analysis {"connection_id":124933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6e"} 
[2026-07-07 08:07:42] local.INFO: Extracted packet for processing {"connection_id":124933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6e"} 
[2026-07-07 08:07:42] local.INFO: GPS Element Parsed {"raw_longitude":762403776,"raw_latitude":104771224,"longitude_deg":76.2403776,"latitude_deg":10.4771224,"altitude":18,"angle":177,"satellites":45,"speed":29,"hex_longitude":"2d715bc0","hex_latitude":"063eae98","is_valid_coordinates":true} 
[2026-07-07 08:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548280576001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340622113805172736,"note":"Value kept but may cause issues"} 
[2026-07-07 08:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8167489057292793856,"note":"Value kept but may cause issues"} 
[2026-07-07 08:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783391733000,"timestamp_ms":1783391733000,"timestamp_seconds":1783391733,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6e4508"} 
[2026-07-07 08:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:07: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-07-07 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 08:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548280576001,"66":27908,"188":206,"79":20736,"24":29,"16":340622113805172736,"45":8167489057292793856},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-07-07 08:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548280576001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:07:42] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-07 08:07:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340622113805172736,"km_value":340622113805172.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8167489057292793856,"description":"Unknown IO ID 45"} 
[2026-07-07 08:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548280576001,"power":27908,"unknown_188":206,"unknown_79":20736,"ignition":29,"odometer":null,"unknown_45":8167489057292793856}} 
[2026-07-07 08:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":124933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:07:42] local.INFO: GPS data processed {"connection_id":124933,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:07:42] local.INFO: Acknowledgment sent {"connection_id":124933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:07:56] local.INFO: TCP Data received {"connection_id":124135,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:07:56] local.INFO: Processing buffer {"connection_id":124135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:07:56] local.INFO: IMEI packet received {"connection_id":124135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":124135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:08:01] local.INFO: TCP Data received {"connection_id":124135,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:08:01] local.INFO: Processing buffer {"connection_id":124135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:08:01] local.INFO: IMEI packet received {"connection_id":124135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":124135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:08:02] local.INFO: TCP Data received {"connection_id":124934,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:08:02] local.INFO: Processing buffer {"connection_id":124934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:08:02] local.INFO: IMEI packet received {"connection_id":124934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":124934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:08:03] local.INFO: TCP Data received {"connection_id":124135,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7015e0012d7b170005e30038000800af21..."} 
[2026-07-07 08:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7015e0012d7b170005e30038000800af21..."} 
[2026-07-07 08:08:03] local.INFO: Processing buffer {"connection_id":124135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7015e0012d7b170005e30038000800af21..."} 
[2026-07-07 08:08:03] local.INFO: Packet analysis {"connection_id":124135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a70"} 
[2026-07-07 08:08:03] local.INFO: Extracted packet for processing {"connection_id":124135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a70"} 
[2026-07-07 08:08:03] local.INFO: GPS Element Parsed {"raw_longitude":763041536,"raw_latitude":98762808,"longitude_deg":76.3041536,"latitude_deg":9.8762808,"altitude":8,"angle":175,"satellites":33,"speed":23,"hex_longitude":"2d7b1700","hex_latitude":"05e30038","is_valid_coordinates":true} 
[2026-07-07 08:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548314112001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103213939638140928,"note":"Value kept but may cause issues"} 
[2026-07-07 08:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869558016412760064,"note":"Value kept but may cause issues"} 
[2026-07-07 08:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783391852000,"timestamp_ms":1783391852000,"timestamp_seconds":1783391852,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7015e0"} 
[2026-07-07 08:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 08:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:08:03] 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-07-07 08:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548314112001,"66":13222,"97":206,"85":15104,"24":23,"16":103213939638140928,"45":8869558016412760064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548314112001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:08:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:08:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103213939638140928,"km_value":103213939638140.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869558016412760064,"description":"Unknown IO ID 45"} 
[2026-07-07 08:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548314112001,"power":13222,"unknown_97":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8869558016412760064}} 
[2026-07-07 08:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":124135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:08:03] local.INFO: GPS data processed {"connection_id":124135,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:08:03] local.INFO: Acknowledgment sent {"connection_id":124135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:08:05] local.INFO: TCP Data received {"connection_id":124934,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:08:05] local.INFO: Processing buffer {"connection_id":124934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:08:05] local.INFO: IMEI packet received {"connection_id":124934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":124934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:08:10] local.INFO: TCP Data received {"connection_id":124934,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:08:10] local.INFO: Processing buffer {"connection_id":124934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:08:10] local.INFO: IMEI packet received {"connection_id":124934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":124934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:08:11] local.INFO: TCP Data received {"connection_id":124934,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6e77d0012d715ec0063e8a78001300ac2c..."} 
[2026-07-07 08:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6e77d0012d715ec0063e8a78001300ac2c..."} 
[2026-07-07 08:08:11] local.INFO: Processing buffer {"connection_id":124934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6e77d0012d715ec0063e8a78001300ac2c..."} 
[2026-07-07 08:08:11] local.INFO: Packet analysis {"connection_id":124934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6e"} 
[2026-07-07 08:08:11] local.INFO: Extracted packet for processing {"connection_id":124934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6e"} 
[2026-07-07 08:08:11] local.INFO: GPS Element Parsed {"raw_longitude":762404544,"raw_latitude":104761976,"longitude_deg":76.2404544,"latitude_deg":10.4761976,"altitude":19,"angle":172,"satellites":44,"speed":31,"hex_longitude":"2d715ec0","hex_latitude":"063e8a78","is_valid_coordinates":true} 
[2026-07-07 08:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548283648001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340622564776738816,"note":"Value kept but may cause issues"} 
[2026-07-07 08:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8168333482220492800,"note":"Value kept but may cause issues"} 
[2026-07-07 08:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783391746000,"timestamp_ms":1783391746000,"timestamp_seconds":1783391746,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6e77d0"} 
[2026-07-07 08:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:08: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-07-07 08: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":4,"data_length":795,"current_offset":136} 
[2026-07-07 08:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548283648001,"66":27843,"188":206,"79":20736,"24":31,"16":340622564776738816,"45":8168333482220492800},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-07-07 08:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548283648001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:08:11] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-07 08:08:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340622564776738816,"km_value":340622564776738.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8168333482220492800,"description":"Unknown IO ID 45"} 
[2026-07-07 08:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548283648001,"power":27843,"unknown_188":206,"unknown_79":20736,"ignition":31,"odometer":null,"unknown_45":8168333482220492800}} 
[2026-07-07 08:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":124934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:08:11] local.INFO: GPS data processed {"connection_id":124934,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:08:11] local.INFO: Acknowledgment sent {"connection_id":124934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:08:12] local.INFO: TCP Data received {"connection_id":124934,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6eb268012d7163c0063e67c8001400ab2e..."} 
[2026-07-07 08:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6eb268012d7163c0063e67c8001400ab2e..."} 
[2026-07-07 08:08:12] local.INFO: Processing buffer {"connection_id":124934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6eb268012d7163c0063e67c8001400ab2e..."} 
[2026-07-07 08:08:12] local.INFO: Packet analysis {"connection_id":124934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6e"} 
[2026-07-07 08:08:12] local.INFO: Extracted packet for processing {"connection_id":124934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6e"} 
[2026-07-07 08:08:12] local.INFO: GPS Element Parsed {"raw_longitude":762405824,"raw_latitude":104753096,"longitude_deg":76.2405824,"latitude_deg":10.4753096,"altitude":20,"angle":171,"satellites":46,"speed":10,"hex_longitude":"2d7163c0","hex_latitude":"063e67c8","is_valid_coordinates":true} 
[2026-07-07 08:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548286976001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340622998568435712,"note":"Value kept but may cause issues"} 
[2026-07-07 08:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8169177907148257280,"note":"Value kept but may cause issues"} 
[2026-07-07 08:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783391761000,"timestamp_ms":1783391761000,"timestamp_seconds":1783391761,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6eb268"} 
[2026-07-07 08:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:08: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-07-07 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 08:08: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-07-07 08:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548286976001,"66":27821,"188":206,"79":20736,"24":10,"16":340622998568435712,"45":8169177907148257280},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-07-07 08:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548286976001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:08:12] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-07 08:08:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340622998568435712,"km_value":340622998568435.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8169177907148257280,"description":"Unknown IO ID 45"} 
[2026-07-07 08:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548286976001,"power":27821,"unknown_188":206,"unknown_79":20736,"ignition":10,"odometer":null,"unknown_45":8169177907148257280}} 
[2026-07-07 08:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":124934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:08:12] local.INFO: GPS data processed {"connection_id":124934,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:08:12] local.INFO: Acknowledgment sent {"connection_id":124934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:08:34] local.INFO: TCP Data received {"connection_id":124135,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a704c90012d7b1e4005e2dcf8000600aa1a..."} 
[2026-07-07 08:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a704c90012d7b1e4005e2dcf8000600aa1a..."} 
[2026-07-07 08:08:34] local.INFO: Processing buffer {"connection_id":124135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a704c90012d7b1e4005e2dcf8000600aa1a..."} 
[2026-07-07 08:08:34] local.INFO: Packet analysis {"connection_id":124135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a70"} 
[2026-07-07 08:08:34] local.INFO: Extracted packet for processing {"connection_id":124135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a70"} 
[2026-07-07 08:08:34] local.INFO: GPS Element Parsed {"raw_longitude":763043392,"raw_latitude":98753784,"longitude_deg":76.3043392,"latitude_deg":9.8753784,"altitude":6,"angle":170,"satellites":26,"speed":27,"hex_longitude":"2d7b1e40","hex_latitude":"05e2dcf8","is_valid_coordinates":true} 
[2026-07-07 08:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548314112001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103214386314739712,"note":"Value kept but may cause issues"} 
[2026-07-07 08:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869558016412760064,"note":"Value kept but may cause issues"} 
[2026-07-07 08:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783391866000,"timestamp_ms":1783391866000,"timestamp_seconds":1783391866,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a704c90"} 
[2026-07-07 08:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 08:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:08:34] 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-07-07 08:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548314112001,"66":12939,"97":206,"85":15104,"24":27,"16":103214386314739712,"45":8869558016412760064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548314112001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:08:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:08:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103214386314739712,"km_value":103214386314739.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869558016412760064,"description":"Unknown IO ID 45"} 
[2026-07-07 08:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548314112001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8869558016412760064}} 
[2026-07-07 08:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":124135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:08:34] local.INFO: GPS data processed {"connection_id":124135,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:08:34] local.INFO: Acknowledgment sent {"connection_id":124135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:08:44] local.INFO: TCP Data received {"connection_id":124934,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a6f0470012d716600063e5a78001500a62e..."} 
[2026-07-07 08:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a6f0470012d716600063e5a78001500a62e..."} 
[2026-07-07 08:08:44] local.INFO: Processing buffer {"connection_id":124934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a6f0470012d716600063e5a78001500a62e..."} 
[2026-07-07 08:08:44] local.INFO: Packet analysis {"connection_id":124934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a6f"} 
[2026-07-07 08:08:44] local.INFO: Extracted packet for processing {"connection_id":124934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a6f"} 
[2026-07-07 08:08:44] local.INFO: GPS Element Parsed {"raw_longitude":762406400,"raw_latitude":104749688,"longitude_deg":76.24064,"latitude_deg":10.4749688,"altitude":21,"angle":166,"satellites":46,"speed":0,"hex_longitude":"2d716600","hex_latitude":"063e5a78","is_valid_coordinates":true} 
[2026-07-07 08:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548290816001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340623170367127552,"note":"Value kept but may cause issues"} 
[2026-07-07 08:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8170585282029537280,"note":"Value kept but may cause issues"} 
[2026-07-07 08:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783391782000,"timestamp_ms":1783391782000,"timestamp_seconds":1783391782,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a6f0470"} 
[2026-07-07 08:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 08:08: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-07-07 08:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548290816001,"66":27865,"188":206,"79":20736,"24":0,"16":340623170367127552,"45":8170585282029537280},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-07-07 08:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548290816001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:08:44] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-07 08:08:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340623170367127552,"km_value":340623170367127.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8170585282029537280,"description":"Unknown IO ID 45"} 
[2026-07-07 08:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548290816001,"power":27865,"unknown_188":206,"unknown_79":20736,"ignition":0,"odometer":null,"unknown_45":8170585282029537280}} 
[2026-07-07 08:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":124934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:08:44] local.INFO: GPS data processed {"connection_id":124934,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:08:44] local.INFO: Acknowledgment sent {"connection_id":124934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:08:55] local.INFO: TCP Data received {"connection_id":124243,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:08:55] local.INFO: Processing buffer {"connection_id":124243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:08:55] local.INFO: IMEI packet received {"connection_id":124243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":124243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:08:56] local.INFO: TCP Data received {"connection_id":124243,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:08:56] local.INFO: Processing buffer {"connection_id":124243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:08:56] local.INFO: IMEI packet received {"connection_id":124243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":124243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:09:01] local.INFO: TCP Data received {"connection_id":124243,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:09:01] local.INFO: Processing buffer {"connection_id":124243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:09:01] local.INFO: IMEI packet received {"connection_id":124243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":124243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:09:01] local.INFO: TCP Data received {"connection_id":124137,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:09:01] local.INFO: Processing buffer {"connection_id":124137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:09:01] local.INFO: IMEI packet received {"connection_id":124137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":124137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:09:02] local.INFO: TCP Data received {"connection_id":124243,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a707f58012d7b230005e2b930000600a71b..."} 
[2026-07-07 08:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a707f58012d7b230005e2b930000600a71b..."} 
[2026-07-07 08:09:02] local.INFO: Processing buffer {"connection_id":124243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a707f58012d7b230005e2b930000600a71b..."} 
[2026-07-07 08:09:02] local.INFO: Packet analysis {"connection_id":124243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a70"} 
[2026-07-07 08:09:02] local.INFO: Extracted packet for processing {"connection_id":124243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a70"} 
[2026-07-07 08:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763044608,"raw_latitude":98744624,"longitude_deg":76.3044608,"latitude_deg":9.8744624,"altitude":6,"angle":167,"satellites":27,"speed":28,"hex_longitude":"2d7b2300","hex_latitude":"05e2b930","is_valid_coordinates":true} 
[2026-07-07 08:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548317696001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103214832991338496,"note":"Value kept but may cause issues"} 
[2026-07-07 08:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871598709991602176,"note":"Value kept but may cause issues"} 
[2026-07-07 08:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783391879000,"timestamp_ms":1783391879000,"timestamp_seconds":1783391879,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a707f58"} 
[2026-07-07 08:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 08:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:09:02] 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-07-07 08:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548317696001,"66":13048,"96":206,"85":15104,"24":28,"16":103214832991338496,"45":8871598709991602176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-07 08:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548317696001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:09:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:09:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103214832991338496,"km_value":103214832991338.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871598709991602176,"description":"Unknown IO ID 45"} 
[2026-07-07 08:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548317696001,"power":13048,"unknown_96":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8871598709991602176}} 
[2026-07-07 08:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":124243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:09:02] local.INFO: GPS data processed {"connection_id":124243,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:09:02] local.INFO: Acknowledgment sent {"connection_id":124243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:09:05] local.INFO: TCP Data received {"connection_id":124137,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:09:05] local.INFO: Processing buffer {"connection_id":124137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:09:05] local.INFO: IMEI packet received {"connection_id":124137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":124137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:09:09] local.INFO: TCP Data received {"connection_id":124137,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:09:09] local.INFO: Processing buffer {"connection_id":124137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:09:09] local.INFO: IMEI packet received {"connection_id":124137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":124137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:09:10] local.INFO: TCP Data received {"connection_id":124137,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a70b608012d722500063d2ab0001800a22e..."} 
[2026-07-07 08:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a70b608012d722500063d2ab0001800a22e..."} 
[2026-07-07 08:09:10] local.INFO: Processing buffer {"connection_id":124137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a70b608012d722500063d2ab0001800a22e..."} 
[2026-07-07 08:09:10] local.INFO: Packet analysis {"connection_id":124137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a70"} 
[2026-07-07 08:09:10] local.INFO: Extracted packet for processing {"connection_id":124137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a70"} 
[2026-07-07 08:09:10] local.INFO: GPS Element Parsed {"raw_longitude":762455296,"raw_latitude":104671920,"longitude_deg":76.2455296,"latitude_deg":10.467192,"altitude":24,"angle":162,"satellites":46,"speed":47,"hex_longitude":"2d722500","hex_latitude":"063d2ab0","is_valid_coordinates":true} 
[2026-07-07 08:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548322560001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340627624248213504,"note":"Value kept but may cause issues"} 
[2026-07-07 08:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8220617459121311744,"note":"Value kept but may cause issues"} 
[2026-07-07 08:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783391893000,"timestamp_ms":1783391893000,"timestamp_seconds":1783391893,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a70b608"} 
[2026-07-07 08:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 08:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548322560001,"66":27919,"13":206,"79":20736,"24":47,"16":340627624248213504,"45":8220617459121311744},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-07-07 08:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548322560001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:09:10] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-07 08:09:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340627624248213504,"km_value":340627624248213.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8220617459121311744,"description":"Unknown IO ID 45"} 
[2026-07-07 08:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548322560001,"power":27919,"unknown_13":206,"unknown_79":20736,"ignition":47,"odometer":null,"unknown_45":8220617459121311744}} 
[2026-07-07 08:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":124137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:09:10] local.INFO: GPS data processed {"connection_id":124137,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:09:10] local.INFO: Acknowledgment sent {"connection_id":124137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:09:10] local.INFO: TCP Data received {"connection_id":124137,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a70c5a8012d722bc0063d1970001600962f..."} 
[2026-07-07 08:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a70c5a8012d722bc0063d1970001600962f..."} 
[2026-07-07 08:09:10] local.INFO: Processing buffer {"connection_id":124137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a70c5a8012d722bc0063d1970001600962f..."} 
[2026-07-07 08:09:10] local.INFO: Packet analysis {"connection_id":124137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a70"} 
[2026-07-07 08:09:10] local.INFO: Extracted packet for processing {"connection_id":124137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a70"} 
[2026-07-07 08:09:10] local.INFO: GPS Element Parsed {"raw_longitude":762457024,"raw_latitude":104667504,"longitude_deg":76.2457024,"latitude_deg":10.4667504,"altitude":22,"angle":150,"satellites":47,"speed":49,"hex_longitude":"2d722bc0","hex_latitude":"063d1970","is_valid_coordinates":true} 
[2026-07-07 08:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548324608001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340627851881480192,"note":"Value kept but may cause issues"} 
[2026-07-07 08:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8224980321258090496,"note":"Value kept but may cause issues"} 
[2026-07-07 08:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783391897000,"timestamp_ms":1783391897000,"timestamp_seconds":1783391897,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a70c5a8"} 
[2026-07-07 08:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08: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-07-07 08: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-07-07 08:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548324608001,"66":27843,"13":206,"79":20736,"24":49,"16":340627851881480192,"45":8224980321258090496},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-07-07 08:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548324608001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:09:10] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-07 08:09:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340627851881480192,"km_value":340627851881480.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8224980321258090496,"description":"Unknown IO ID 45"} 
[2026-07-07 08:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548324608001,"power":27843,"unknown_13":206,"unknown_79":20736,"ignition":49,"odometer":null,"unknown_45":8224980321258090496}} 
[2026-07-07 08:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":124137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:09:10] local.INFO: GPS data processed {"connection_id":124137,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:09:10] local.INFO: Acknowledgment sent {"connection_id":124137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:09:15] local.INFO: TCP Data received {"connection_id":126156,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126156,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:09:15] local.INFO: Processing buffer {"connection_id":126156,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:09:15] local.INFO: IMEI packet received {"connection_id":126156,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 08:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":126156,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:09:33] local.INFO: TCP Data received {"connection_id":124243,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a71cb60012d7b24c005e29210000a012829..."} 
[2026-07-07 08:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a71cb60012d7b24c005e29210000a012829..."} 
[2026-07-07 08:09:33] local.INFO: Processing buffer {"connection_id":124243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a71cb60012d7b24c005e29210000a012829..."} 
[2026-07-07 08:09:33] local.INFO: Packet analysis {"connection_id":124243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a71"} 
[2026-07-07 08:09:33] local.INFO: Extracted packet for processing {"connection_id":124243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a71"} 
[2026-07-07 08:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763045056,"raw_latitude":98734608,"longitude_deg":76.3045056,"latitude_deg":9.8734608,"altitude":10,"angle":296,"satellites":41,"speed":4,"hex_longitude":"2d7b24c0","hex_latitude":"05e29210","is_valid_coordinates":true} 
[2026-07-07 08:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548342528001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103215361272315904,"note":"Value kept but may cause issues"} 
[2026-07-07 08:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873498666079477760,"note":"Value kept but may cause issues"} 
[2026-07-07 08:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783391964000,"timestamp_ms":1783391964000,"timestamp_seconds":1783391964,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a71cb60"} 
[2026-07-07 08:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:09: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-07-07 08:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 08:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:09:33] 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-07-07 08:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548342528001,"66":13091,"96":206,"85":15104,"24":4,"16":103215361272315904,"45":8873498666079477760},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-07 08:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548342528001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:09:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103215361272315904,"km_value":103215361272315.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873498666079477760,"description":"Unknown IO ID 45"} 
[2026-07-07 08:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548342528001,"power":13091,"unknown_96":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8873498666079477760}} 
[2026-07-07 08:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":124243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:09:33] local.INFO: GPS data processed {"connection_id":124243,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:09:33] local.INFO: Acknowledgment sent {"connection_id":124243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:09:46] local.INFO: TCP Data received {"connection_id":124137,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a70e100012d723fc0063cfcd0001400912d..."} 
[2026-07-07 08:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a70e100012d723fc0063cfcd0001400912d..."} 
[2026-07-07 08:09:46] local.INFO: Processing buffer {"connection_id":124137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a70e100012d723fc0063cfcd0001400912d..."} 
[2026-07-07 08:09:46] local.INFO: Packet analysis {"connection_id":124137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a70"} 
[2026-07-07 08:09:46] local.INFO: Extracted packet for processing {"connection_id":124137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a70"} 
[2026-07-07 08:09:46] local.INFO: GPS Element Parsed {"raw_longitude":762462144,"raw_latitude":104660176,"longitude_deg":76.2462144,"latitude_deg":10.4660176,"altitude":20,"angle":145,"satellites":45,"speed":50,"hex_longitude":"2d723fc0","hex_latitude":"063cfcd0","is_valid_coordinates":true} 
[2026-07-07 08:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548325632001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340628285673177088,"note":"Value kept but may cause issues"} 
[2026-07-07 08:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8226880277349756928,"note":"Value kept but may cause issues"} 
[2026-07-07 08:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783391904000,"timestamp_ms":1783391904000,"timestamp_seconds":1783391904,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a70e100"} 
[2026-07-07 08:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 08:09: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-07-07 08:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548325632001,"66":27865,"12":206,"79":20736,"24":50,"16":340628285673177088,"45":8226880277349756928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-07-07 08:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548325632001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:09:46] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-07 08:09:46] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340628285673177088,"km_value":340628285673177.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8226880277349756928,"description":"Unknown IO ID 45"} 
[2026-07-07 08:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548325632001,"power":27865,"unknown_12":206,"unknown_79":20736,"ignition":50,"odometer":null,"unknown_45":8226880277349756928}} 
[2026-07-07 08:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":124137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:09:46] local.INFO: GPS data processed {"connection_id":124137,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:09:46] local.INFO: Acknowledgment sent {"connection_id":124137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:09:56] local.INFO: TCP Data received {"connection_id":124935,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:09:56] local.INFO: Processing buffer {"connection_id":124935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:09:56] local.INFO: IMEI packet received {"connection_id":124935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":124935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:09:57] local.INFO: TCP Data received {"connection_id":124935,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:09:57] local.INFO: Processing buffer {"connection_id":124935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:09:57] local.INFO: IMEI packet received {"connection_id":124935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":124935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:09:59] local.INFO: TCP Data received {"connection_id":126157,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:09:59] local.INFO: Processing buffer {"connection_id":126157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:09:59] local.INFO: IMEI packet received {"connection_id":126157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":126157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:10:00] local.INFO: TCP Data received {"connection_id":124138,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:10:00] local.INFO: Processing buffer {"connection_id":124138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:10:00] local.INFO: IMEI packet received {"connection_id":124138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 08:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":124138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:10:00] local.INFO: TCP Data received {"connection_id":126157,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:10:00] local.INFO: Processing buffer {"connection_id":126157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:10:00] local.INFO: IMEI packet received {"connection_id":126157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":126157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:10:01] local.INFO: TCP Data received {"connection_id":124935,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:10:01] local.INFO: Processing buffer {"connection_id":124935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:10:01] local.INFO: IMEI packet received {"connection_id":124935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":124935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:10:02] local.INFO: TCP Data received {"connection_id":124935,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a71d330012d7b23c005e292b0000a013c28..."} 
[2026-07-07 08:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a71d330012d7b23c005e292b0000a013c28..."} 
[2026-07-07 08:10:02] local.INFO: Processing buffer {"connection_id":124935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a71d330012d7b23c005e292b0000a013c28..."} 
[2026-07-07 08:10:02] local.INFO: Packet analysis {"connection_id":124935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a71"} 
[2026-07-07 08:10:02] local.INFO: Extracted packet for processing {"connection_id":124935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a71"} 
[2026-07-07 08:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763044800,"raw_latitude":98734768,"longitude_deg":76.30448,"latitude_deg":9.8734768,"altitude":10,"angle":316,"satellites":40,"speed":6,"hex_longitude":"2d7b23c0","hex_latitude":"05e292b0","is_valid_coordinates":true} 
[2026-07-07 08:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548342784001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103215374157217792,"note":"Value kept but may cause issues"} 
[2026-07-07 08:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873428297335312384,"note":"Value kept but may cause issues"} 
[2026-07-07 08:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783391966000,"timestamp_ms":1783391966000,"timestamp_seconds":1783391966,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a71d330"} 
[2026-07-07 08:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 08:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:10:02] 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-07-07 08:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548342784001,"66":12939,"96":206,"85":15104,"24":6,"16":103215374157217792,"45":8873428297335312384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-07 08:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548342784001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:10:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103215374157217792,"km_value":103215374157217.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873428297335312384,"description":"Unknown IO ID 45"} 
[2026-07-07 08:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548342784001,"power":12939,"unknown_96":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8873428297335312384}} 
[2026-07-07 08:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":124935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:10:02] local.INFO: GPS data processed {"connection_id":124935,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:10:02] local.INFO: Acknowledgment sent {"connection_id":124935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:10:05] local.INFO: TCP Data received {"connection_id":126157,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:10:05] local.INFO: Processing buffer {"connection_id":126157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:10:05] local.INFO: IMEI packet received {"connection_id":126157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":126157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:10:05] local.INFO: TCP Data received {"connection_id":126157,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a70fc58012d725640063ce1480015008d2e..."} 
[2026-07-07 08:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a70fc58012d725640063ce1480015008d2e..."} 
[2026-07-07 08:10:05] local.INFO: Processing buffer {"connection_id":126157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a70fc58012d725640063ce1480015008d2e..."} 
[2026-07-07 08:10:05] local.INFO: Packet analysis {"connection_id":126157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a70"} 
[2026-07-07 08:10:05] local.INFO: Extracted packet for processing {"connection_id":126157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a70"} 
[2026-07-07 08:10:05] local.INFO: GPS Element Parsed {"raw_longitude":762467904,"raw_latitude":104653128,"longitude_deg":76.2467904,"latitude_deg":10.4653128,"altitude":21,"angle":141,"satellites":46,"speed":50,"hex_longitude":"2d725640","hex_latitude":"063ce148","is_valid_coordinates":true} 
[2026-07-07 08:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548327424001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340628723759841280,"note":"Value kept but may cause issues"} 
[2026-07-07 08:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8232509776882094080,"note":"Value kept but may cause issues"} 
[2026-07-07 08:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783391911000,"timestamp_ms":1783391911000,"timestamp_seconds":1783391911,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a70fc58"} 
[2026-07-07 08:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 08:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548327424001,"66":27843,"12":206,"79":20736,"24":50,"16":340628723759841280,"45":8232509776882094080},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-07-07 08:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548327424001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:10:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-07 08:10:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340628723759841280,"km_value":340628723759841.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8232509776882094080,"description":"Unknown IO ID 45"} 
[2026-07-07 08:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548327424001,"power":27843,"unknown_12":206,"unknown_79":20736,"ignition":50,"odometer":null,"unknown_45":8232509776882094080}} 
[2026-07-07 08:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":126157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:10:05] local.INFO: GPS data processed {"connection_id":126157,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:10:05] local.INFO: Acknowledgment sent {"connection_id":126157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:10:34] local.INFO: TCP Data received {"connection_id":124935,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a71d718012d7b234005e29348000a014e29..."} 
[2026-07-07 08:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a71d718012d7b234005e29348000a014e29..."} 
[2026-07-07 08:10:34] local.INFO: Processing buffer {"connection_id":124935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a71d718012d7b234005e29348000a014e29..."} 
[2026-07-07 08:10:34] local.INFO: Packet analysis {"connection_id":124935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a71"} 
[2026-07-07 08:10:34] local.INFO: Extracted packet for processing {"connection_id":124935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a71"} 
[2026-07-07 08:10:34] local.INFO: GPS Element Parsed {"raw_longitude":763044672,"raw_latitude":98734920,"longitude_deg":76.3044672,"latitude_deg":9.873492,"altitude":10,"angle":334,"satellites":41,"speed":10,"hex_longitude":"2d7b2340","hex_latitude":"05e29348","is_valid_coordinates":true} 
[2026-07-07 08:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548343296001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103215382747152384,"note":"Value kept but may cause issues"} 
[2026-07-07 08:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873146822358642688,"note":"Value kept but may cause issues"} 
[2026-07-07 08:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783391967000,"timestamp_ms":1783391967000,"timestamp_seconds":1783391967,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a71d718"} 
[2026-07-07 08:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 08:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:10:34] 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-07-07 08:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548343296001,"66":12939,"96":206,"85":15104,"24":10,"16":103215382747152384,"45":8873146822358642688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-07 08:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548343296001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:10:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:10:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103215382747152384,"km_value":103215382747152.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873146822358642688,"description":"Unknown IO ID 45"} 
[2026-07-07 08:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548343296001,"power":12939,"unknown_96":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8873146822358642688}} 
[2026-07-07 08:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":124935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:10:34] local.INFO: GPS data processed {"connection_id":124935,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:10:34] local.INFO: Acknowledgment sent {"connection_id":124935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:10:37] local.INFO: TCP Data received {"connection_id":126157,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a710bf8012d726040063cd1300015009b2e..."} 
[2026-07-07 08:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a710bf8012d726040063cd1300015009b2e..."} 
[2026-07-07 08:10:37] local.INFO: Processing buffer {"connection_id":126157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a710bf8012d726040063cd1300015009b2e..."} 
[2026-07-07 08:10:37] local.INFO: Packet analysis {"connection_id":126157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a71"} 
[2026-07-07 08:10:37] local.INFO: Extracted packet for processing {"connection_id":126157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a71"} 
[2026-07-07 08:10:37] local.INFO: GPS Element Parsed {"raw_longitude":762470464,"raw_latitude":104649008,"longitude_deg":76.2470464,"latitude_deg":10.4649008,"altitude":21,"angle":155,"satellites":46,"speed":46,"hex_longitude":"2d726040","hex_latitude":"063cd130","is_valid_coordinates":true} 
[2026-07-07 08:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548329216001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340628959983042560,"note":"Value kept but may cause issues"} 
[2026-07-07 08:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8238842963856279552,"note":"Value kept but may cause issues"} 
[2026-07-07 08:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783391915000,"timestamp_ms":1783391915000,"timestamp_seconds":1783391915,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a710bf8"} 
[2026-07-07 08:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 08:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548329216001,"66":27843,"12":206,"79":20736,"24":46,"16":340628959983042560,"45":8238842963856279552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-07-07 08:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548329216001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:10:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-07 08:10:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20736,"description":"Unknown IO ID 79"} 
[2026-07-07 08:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340628959983042560,"km_value":340628959983042.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8238842963856279552,"description":"Unknown IO ID 45"} 
[2026-07-07 08:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548329216001,"power":27843,"unknown_12":206,"unknown_79":20736,"ignition":46,"odometer":null,"unknown_45":8238842963856279552}} 
[2026-07-07 08:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":126157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:10:37] local.INFO: GPS data processed {"connection_id":126157,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:10:37] local.INFO: Acknowledgment sent {"connection_id":126157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:11:00] local.INFO: TCP Data received {"connection_id":124139,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:11:00] local.INFO: Processing buffer {"connection_id":124139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:11:00] local.INFO: IMEI packet received {"connection_id":124139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":124139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:11:01] local.INFO: TCP Data received {"connection_id":124140,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:11:01] local.INFO: Processing buffer {"connection_id":124140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:11:01] local.INFO: IMEI packet received {"connection_id":124140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":124140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:11:02] local.INFO: TCP Data received {"connection_id":124139,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:11:02] local.INFO: Processing buffer {"connection_id":124139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:11:02] local.INFO: IMEI packet received {"connection_id":124139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":124139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:11:04] local.INFO: TCP Data received {"connection_id":124139,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:11:04] local.INFO: Processing buffer {"connection_id":124139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:11:04] local.INFO: IMEI packet received {"connection_id":124139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":124139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:11:06] local.INFO: TCP Data received {"connection_id":124140,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:11:06] local.INFO: Processing buffer {"connection_id":124140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:11:06] local.INFO: IMEI packet received {"connection_id":124140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":124140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:11:08] local.INFO: TCP Data received {"connection_id":124139,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7263b8012d731e40063b8268001b00852c..."} 
[2026-07-07 08:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7263b8012d731e40063b8268001b00852c..."} 
[2026-07-07 08:11:08] local.INFO: Processing buffer {"connection_id":124139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7263b8012d731e40063b8268001b00852c..."} 
[2026-07-07 08:11:08] local.INFO: Packet analysis {"connection_id":124139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a72"} 
[2026-07-07 08:11:08] local.INFO: Extracted packet for processing {"connection_id":124139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a72"} 
[2026-07-07 08:11:08] local.INFO: GPS Element Parsed {"raw_longitude":762519104,"raw_latitude":104563304,"longitude_deg":76.2519104,"latitude_deg":10.4563304,"altitude":27,"angle":133,"satellites":44,"speed":39,"hex_longitude":"2d731e40","hex_latitude":"063b8268","is_valid_coordinates":true} 
[2026-07-07 08:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548350464001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340633761756479488,"note":"Value kept but may cause issues"} 
[2026-07-07 08:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8288241822247796736,"note":"Value kept but may cause issues"} 
[2026-07-07 08:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783392003000,"timestamp_ms":1783392003000,"timestamp_seconds":1783392003,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7263b8"} 
[2026-07-07 08:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:11: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-07-07 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 08:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548350464001,"66":27821,"59":206,"79":19968,"24":39,"16":340633761756479488,"45":8288241822247796736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,79,24,16,45]} 
[2026-07-07 08:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548350464001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:11:08] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-07 08:11:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":19968,"description":"Unknown IO ID 79"} 
[2026-07-07 08:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340633761756479488,"km_value":340633761756479.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8288241822247796736,"description":"Unknown IO ID 45"} 
[2026-07-07 08:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548350464001,"power":27821,"unknown_59":206,"unknown_79":19968,"ignition":39,"odometer":null,"unknown_45":8288241822247796736}} 
[2026-07-07 08:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":124139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:11:08] local.INFO: GPS data processed {"connection_id":124139,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:11:08] local.INFO: Acknowledgment sent {"connection_id":124139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:11:11] local.INFO: TCP Data received {"connection_id":124139,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a728ac8012d733840063b69c8001c00852c..."} 
[2026-07-07 08:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a728ac8012d733840063b69c8001c00852c..."} 
[2026-07-07 08:11:11] local.INFO: Processing buffer {"connection_id":124139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a728ac8012d733840063b69c8001c00852c..."} 
[2026-07-07 08:11:11] local.INFO: Packet analysis {"connection_id":124139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a72"} 
[2026-07-07 08:11:11] local.INFO: Extracted packet for processing {"connection_id":124139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a72"} 
[2026-07-07 08:11:11] local.INFO: GPS Element Parsed {"raw_longitude":762525760,"raw_latitude":104557000,"longitude_deg":76.252576,"latitude_deg":10.4557,"altitude":28,"angle":133,"satellites":44,"speed":33,"hex_longitude":"2d733840","hex_latitude":"063b69c8","is_valid_coordinates":true} 
[2026-07-07 08:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548352768001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340634204138110976,"note":"Value kept but may cause issues"} 
[2026-07-07 08:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8295137959175415808,"note":"Value kept but may cause issues"} 
[2026-07-07 08:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783392013000,"timestamp_ms":1783392013000,"timestamp_seconds":1783392013,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a728ac8"} 
[2026-07-07 08:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 08:11: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-07-07 08:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08: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-07-07 08:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548352768001,"66":27876,"232":206,"79":19968,"24":33,"16":340634204138110976,"45":8295137959175415808},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,79,24,16,45]} 
[2026-07-07 08:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548352768001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:11:11] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-07 08:11:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":19968,"description":"Unknown IO ID 79"} 
[2026-07-07 08:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340634204138110976,"km_value":340634204138111.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8295137959175415808,"description":"Unknown IO ID 45"} 
[2026-07-07 08:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548352768001,"power":27876,"unknown_232":206,"unknown_79":19968,"ignition":33,"odometer":null,"unknown_45":8295137959175415808}} 
[2026-07-07 08:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":124139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:11:11] local.INFO: GPS data processed {"connection_id":124139,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:11:11] local.INFO: Acknowledgment sent {"connection_id":124139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:11:14] local.INFO: TCP Data received {"connection_id":124139,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a72b1d8012d735180063b5128001c00872d..."} 
[2026-07-07 08:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a72b1d8012d735180063b5128001c00872d..."} 
[2026-07-07 08:11:14] local.INFO: Processing buffer {"connection_id":124139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a72b1d8012d735180063b5128001c00872d..."} 
[2026-07-07 08:11:14] local.INFO: Packet analysis {"connection_id":124139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a72"} 
[2026-07-07 08:11:14] local.INFO: Extracted packet for processing {"connection_id":124139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a72"} 
[2026-07-07 08:11:14] local.INFO: GPS Element Parsed {"raw_longitude":762532224,"raw_latitude":104550696,"longitude_deg":76.2532224,"latitude_deg":10.4550696,"altitude":28,"angle":135,"satellites":45,"speed":39,"hex_longitude":"2d735180","hex_latitude":"063b5128","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548355328001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340634637929807872,"note":"Value kept but may cause issues"} 
[2026-07-07 08:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8302456308568279040,"note":"Value kept but may cause issues"} 
[2026-07-07 08:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783392023000,"timestamp_ms":1783392023000,"timestamp_seconds":1783392023,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a72b1d8"} 
[2026-07-07 08:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 08:11: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-07-07 08: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-07-07 08:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548355328001,"66":27908,"232":206,"79":19968,"24":39,"16":340634637929807872,"45":8302456308568279040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,79,24,16,45]} 
[2026-07-07 08:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548355328001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:11:14] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-07 08:11:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":19968,"description":"Unknown IO ID 79"} 
[2026-07-07 08:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340634637929807872,"km_value":340634637929807.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8302456308568279040,"description":"Unknown IO ID 45"} 
[2026-07-07 08:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548355328001,"power":27908,"unknown_232":206,"unknown_79":19968,"ignition":39,"odometer":null,"unknown_45":8302456308568279040}} 
[2026-07-07 08:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":124139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:11:14] local.INFO: GPS data processed {"connection_id":124139,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:11:14] local.INFO: Acknowledgment sent {"connection_id":124139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:11:16] local.INFO: TCP Data received {"connection_id":124140,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a71e6b8012d7b20c005e29868000a015e28..."} 
[2026-07-07 08:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a71e6b8012d7b20c005e29868000a015e28..."} 
[2026-07-07 08:11:16] local.INFO: Processing buffer {"connection_id":124140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a71e6b8012d7b20c005e29868000a015e28..."} 
[2026-07-07 08:11:16] local.INFO: Packet analysis {"connection_id":124140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a71"} 
[2026-07-07 08:11:16] local.INFO: Extracted packet for processing {"connection_id":124140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a71"} 
[2026-07-07 08:11:16] local.INFO: GPS Element Parsed {"raw_longitude":763044032,"raw_latitude":98736232,"longitude_deg":76.3044032,"latitude_deg":9.8736232,"altitude":10,"angle":350,"satellites":40,"speed":17,"hex_longitude":"2d7b20c0","hex_latitude":"05e29868","is_valid_coordinates":true} 
[2026-07-07 08:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548343552001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103215455761596416,"note":"Value kept but may cause issues"} 
[2026-07-07 08:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873006084870326272,"note":"Value kept but may cause issues"} 
[2026-07-07 08:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783391971000,"timestamp_ms":1783391971000,"timestamp_seconds":1783391971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a71e6b8"} 
[2026-07-07 08:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":139,"data_length":795,"current_offset":136} 
[2026-07-07 08:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:11:16] 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-07-07 08:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548343552001,"66":13135,"96":206,"85":15104,"24":17,"16":103215455761596416,"45":8873006084870326272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-07 08:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548343552001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:11:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:11:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103215455761596416,"km_value":103215455761596.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873006084870326272,"description":"Unknown IO ID 45"} 
[2026-07-07 08:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548343552001,"power":13135,"unknown_96":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8873006084870326272}} 
[2026-07-07 08:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":124140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:11:17] local.INFO: GPS data processed {"connection_id":124140,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:11:17] local.INFO: Acknowledgment sent {"connection_id":124140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:11:56] local.INFO: TCP Data received {"connection_id":124936,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:11:56] local.INFO: Processing buffer {"connection_id":124936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:11:56] local.INFO: IMEI packet received {"connection_id":124936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":124936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:11:57] local.INFO: TCP Data received {"connection_id":124936,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:11:57] local.INFO: Processing buffer {"connection_id":124936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:11:57] local.INFO: IMEI packet received {"connection_id":124936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":124936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:11:59] local.INFO: TCP Data received {"connection_id":126158,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:11:59] local.INFO: Processing buffer {"connection_id":126158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:11:59] local.INFO: IMEI packet received {"connection_id":126158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":126158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:12:01] local.INFO: TCP Data received {"connection_id":124936,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:12:01] local.INFO: Processing buffer {"connection_id":124936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:12:01] local.INFO: IMEI packet received {"connection_id":124936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":124936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:12:02] local.INFO: TCP Data received {"connection_id":124936,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a735db8012d7b050005e339a80000000121..."} 
[2026-07-07 08:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a735db8012d7b050005e339a80000000121..."} 
[2026-07-07 08:12:02] local.INFO: Processing buffer {"connection_id":124936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a735db8012d7b050005e339a80000000121..."} 
[2026-07-07 08:12:02] local.INFO: Packet analysis {"connection_id":124936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a73"} 
[2026-07-07 08:12:02] local.INFO: Extracted packet for processing {"connection_id":124936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a73"} 
[2026-07-07 08:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763036928,"raw_latitude":98777512,"longitude_deg":76.3036928,"latitude_deg":9.8777512,"altitude":0,"angle":1,"satellites":33,"speed":15,"hex_longitude":"2d7b0500","hex_latitude":"05e339a8","is_valid_coordinates":true} 
[2026-07-07 08:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548363776001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103217500166029312,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865546997996908544,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783392067000,"timestamp_ms":1783392067000,"timestamp_seconds":1783392067,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a735db8"} 
[2026-07-07 08:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-07 08:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:12:02] 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-07-07 08:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548363776001,"66":12298,"97":206,"85":15104,"24":15,"16":103217500166029312,"45":8865546997996908544},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548363776001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:12:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:12:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103217500166029312,"km_value":103217500166029.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865546997996908544,"description":"Unknown IO ID 45"} 
[2026-07-07 08:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548363776001,"power":12298,"unknown_97":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8865546997996908544}} 
[2026-07-07 08:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":124936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:12:02] local.INFO: GPS data processed {"connection_id":124936,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:12:02] local.INFO: Acknowledgment sent {"connection_id":124936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:12:04] local.INFO: TCP Data received {"connection_id":126158,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:12:04] local.INFO: Processing buffer {"connection_id":126158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:12:04] local.INFO: IMEI packet received {"connection_id":126158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":126158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:12:05] local.INFO: TCP Data received {"connection_id":126158,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a72d500012d736d00063b3798001b007e2a..."} 
[2026-07-07 08:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a72d500012d736d00063b3798001b007e2a..."} 
[2026-07-07 08:12:05] local.INFO: Processing buffer {"connection_id":126158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a72d500012d736d00063b3798001b007e2a..."} 
[2026-07-07 08:12:05] local.INFO: Packet analysis {"connection_id":126158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a72"} 
[2026-07-07 08:12:05] local.INFO: Extracted packet for processing {"connection_id":126158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a72"} 
[2026-07-07 08:12:05] local.INFO: GPS Element Parsed {"raw_longitude":762539264,"raw_latitude":104544152,"longitude_deg":76.2539264,"latitude_deg":10.4544152,"altitude":27,"angle":126,"satellites":42,"speed":45,"hex_longitude":"2d736d00","hex_latitude":"063b3798","is_valid_coordinates":true} 
[2026-07-07 08:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548357888001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340635101786275840,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8309563551728609280,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783392032000,"timestamp_ms":1783392032000,"timestamp_seconds":1783392032,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a72d500"} 
[2026-07-07 08:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 08:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548357888001,"66":27800,"232":206,"79":19968,"24":45,"16":340635101786275840,"45":8309563551728609280},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,79,24,16,45]} 
[2026-07-07 08:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548357888001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:12:05] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-07 08:12:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":19968,"description":"Unknown IO ID 79"} 
[2026-07-07 08:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340635101786275840,"km_value":340635101786275.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8309563551728609280,"description":"Unknown IO ID 45"} 
[2026-07-07 08:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548357888001,"power":27800,"unknown_232":206,"unknown_79":19968,"ignition":45,"odometer":null,"unknown_45":8309563551728609280}} 
[2026-07-07 08:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":126158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:12:05] local.INFO: GPS data processed {"connection_id":126158,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:12:05] local.INFO: Acknowledgment sent {"connection_id":126158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:12:34] local.INFO: TCP Data received {"connection_id":124936,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a738c98012d7b048005e34a100003015a26..."} 
[2026-07-07 08:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a738c98012d7b048005e34a100003015a26..."} 
[2026-07-07 08:12:34] local.INFO: Processing buffer {"connection_id":124936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a738c98012d7b048005e34a100003015a26..."} 
[2026-07-07 08:12:34] local.INFO: Packet analysis {"connection_id":124936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a73"} 
[2026-07-07 08:12:34] local.INFO: Extracted packet for processing {"connection_id":124936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a73"} 
[2026-07-07 08:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763036800,"raw_latitude":98781712,"longitude_deg":76.30368,"latitude_deg":9.8781712,"altitude":3,"angle":346,"satellites":38,"speed":15,"hex_longitude":"2d7b0480","hex_latitude":"05e34a10","is_valid_coordinates":true} 
[2026-07-07 08:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548369152001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103217706324459520,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864491466835732480,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783392079000,"timestamp_ms":1783392079000,"timestamp_seconds":1783392079,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a738c98"} 
[2026-07-07 08:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:12: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-07-07 08:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 08:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":424178907252523367,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:34] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436533592576,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185966,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:34] local.WARNING: Large IO value detected {"io_id":179,"raw_value":1297036692682702849,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:34] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4211564013293501199,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832602,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3694078477610254542,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:34] local.WARNING: Large IO value detected {"io_id":226,"raw_value":4262461440,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791309518,"corrected_to":0} 
[2026-07-07 08:12:34] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3623955835,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:34] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3004432384,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3808235520,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:34] local.WARNING: Large IO value detected {"io_id":26,"raw_value":1688849860919300,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:34] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,97,85,24,241,157,16,179,159,11,45,192,34,30,10,66,224,64,13,31,96,197,1,240,52,227,58,226,4,113,205,3,177,15,160,32,239,50,2,110,5,26],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2791309518,"validated":0}]} 
[2026-07-07 08:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1241246531584,"timestamp_ms":1241246531584,"timestamp_seconds":1241246531.584,"priority":0,"record_length":558,"hex_timestamp":"00000121000f0000"} 
[2026-07-07 08:12:34] local.INFO: AVL Record successfully parsed {"record_number":2,"total_expected":10,"successful_records":2,"record_length":558,"new_offset":664} 
[2026-07-07 08:12:34] local.INFO: GPS Element Parsed {"raw_longitude":4522240,"raw_latitude":67125808,"longitude_deg":0.452224,"latitude_deg":6.7125808,"altitude":44288,"angle":52646,"satellites":96,"speed":206,"hex_longitude":"00450100","hex_latitude":"04004230","is_valid_coordinates":true} 
[2026-07-07 08:12:34] local.INFO: IO Element Header Parsed {"event_io_id":85,"total_io":59,"n1_one_byte":0,"n2_two_byte":24,"n4_four_byte":0,"n8_eight_byte":6,"data_length":795,"current_offset":694} 
[2026-07-07 08:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":694,"expected_size":126,"max_length":795,"available_bytes":101,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":688,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:12:34] local.WARNING: AVL Record parsing failed {"record_number":3,"total_expected":10,"offset":664,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":2,"records_with_valid_data":2} 
[2026-07-07 08:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124936,"avl_records_parsed":2,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124936,"device_imei":"862567072406932","avl_records_count":2} 
[2026-07-07 08:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124936,"device_imei":"862567072406932","avl_records_count":2} 
[2026-07-07 08:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":2,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548369152001,"66":13091,"97":206,"85":15104,"24":15,"16":103217706324459520,"45":8864491466835732480},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548369152001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103217706324459520,"km_value":103217706324459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864491466835732480,"description":"Unknown IO ID 45"} 
[2026-07-07 08:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548369152001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8864491466835732480}} 
[2026-07-07 08:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":424178907252523367,"97":206,"85":4251424436533592576,"24":786434,"241":173598284185966,"157":3808432129,"16":24032021,"179":1297036692682702849,"159":4211564013293501199,"11":45057,"45":2064596997,"192":1507,"34":61440,"30":17,"10":1126926420832602,"66":3694078477610254542,"224":47105,"64":1507,"13":40960,"31":21,"96":13522235,"197":24577,"1":763039552,"240":16794881,"52":13477472,"227":1048942,"58":1924513793,"226":4262461440,"4":15663360,"113":1510010881,"205":0,"3":131313,"177":3623955835,"15":1074127613,"160":23,"32":131072,"239":16806234,"50":1426116006,"2":15794176,"110":3004432384,"5":3808235520,"26":1688849860919300},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":763039552,"io_data_keys":[0,97,85,24,241,157,16,179,159,11,45,192,34,30,10,66,224,64,13,31,96,197,1,240,52,227,58,226,4,113,205,3,177,15,160,32,239,50,2,110,5,26]} 
[2026-07-07 08:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":424178907252523367,"description":"Unknown IO ID 0"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":4251424436533592576,"description":"Unknown IO ID 85"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":241,"value":173598284185966,"description":"Unknown IO ID 241"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":3808432129,"description":"Unknown IO ID 157"} 
[2026-07-07 08:12:34] local.INFO: Odometer value processed {"io_id":16,"raw_meters":24032021,"kilometers":24032.021} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":179,"value":1297036692682702849,"description":"Unknown IO ID 179"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":159,"value":4211564013293501199,"description":"Unknown IO ID 159"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":11,"value":45057,"description":"Unknown IO ID 11"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2064596997,"description":"Unknown IO ID 45"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":192,"value":1507,"description":"Unknown IO ID 192"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":34,"value":61440,"description":"Unknown IO ID 34"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":30,"value":17,"description":"Unknown IO ID 30"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":10,"value":1126926420832602,"description":"Unknown IO ID 10"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":224,"value":47105,"description":"Unknown IO ID 224"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":64,"value":1507,"description":"Unknown IO ID 64"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":13,"value":40960,"description":"Unknown IO ID 13"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":31,"value":21,"description":"Unknown IO ID 31"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":13522235,"description":"Unknown IO ID 96"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":197,"value":24577,"description":"Unknown IO ID 197"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":240,"value":16794881,"description":"Power Status (1-byte)"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":52,"value":13477472,"description":"Unknown IO ID 52"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":227,"value":1048942,"description":"Unknown IO ID 227"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":58,"value":1924513793,"description":"Unknown IO ID 58"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":226,"value":4262461440,"description":"Unknown IO ID 226"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":4,"value":15663360,"description":"Unknown IO ID 4"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":1510010881,"description":"Unknown IO ID 113"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":3,"value":131313,"description":"Unknown IO ID 3"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":3623955835,"description":"Unknown IO ID 177"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":15,"value":1074127613,"description":"Unknown IO ID 15"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":23,"description":"Unknown IO ID 160"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":131072,"description":"Unknown IO ID 32"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":239,"value":16806234,"description":"Ignition (1-byte)"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":50,"value":1426116006,"description":"Unknown IO ID 50"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":3004432384,"description":"Unknown IO ID 110"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":5,"value":3808235520,"description":"Unknown IO ID 5"} 
[2026-07-07 08:12:34] local.INFO: Unknown IO ID detected {"io_id":26,"value":1688849860919300,"description":"Unknown IO ID 26"} 
[2026-07-07 08:12:34] local.INFO: IO Data Validated and Processed {"original_count":42,"validated_count":42,"validated_data":{"unknown_0":424178907252523367,"unknown_97":206,"unknown_85":4251424436533592576,"ignition":786434,"unknown_241":173598284185966,"unknown_157":3808432129,"odometer":24032.021,"unknown_179":1297036692682702849,"unknown_159":4211564013293501199,"unknown_11":45057,"unknown_45":2064596997,"unknown_192":1507,"unknown_34":61440,"unknown_30":17,"unknown_10":1126926420832602,"power":3694078477610254542,"unknown_224":47105,"unknown_64":1507,"unknown_13":40960,"unknown_31":21,"unknown_96":13522235,"unknown_197":24577,"imei":763039552,"unknown_240":16794881,"unknown_52":13477472,"unknown_227":1048942,"unknown_58":1924513793,"unknown_226":4262461440,"unknown_4":15663360,"unknown_113":1510010881,"cell_id":0,"unknown_3":131313,"unknown_177":3623955835,"unknown_15":1074127613,"unknown_160":23,"unknown_32":131072,"unknown_239":16806234,"unknown_50":1426116006,"power_alt":15794176,"unknown_110":3004432384,"unknown_5":3808235520,"unknown_26":1688849860919300}} 
[2026-07-07 08:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":124936,"result":{"success":true,"processed":2,"errors":0,"skipped":0,"total":2,"results":[{"success":true,"position_id":444270,"device_id":194233,"message":"Position recorded successfully"},{"success":true,"position_id":444271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:12:34] local.INFO: GPS data processed {"connection_id":124936,"processed":2,"errors":0,"total":2} 
[2026-07-07 08:12:34] local.INFO: Acknowledgment sent {"connection_id":124936,"records_acknowledged":2,"records_expected":10,"ack_packet":"00000000000000028e02000061e4"} 
[2026-07-07 08:12:38] local.INFO: TCP Data received {"connection_id":126158,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a73dea0012d741a80063a8400000b00a22a..."} 
[2026-07-07 08:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a73dea0012d741a80063a8400000b00a22a..."} 
[2026-07-07 08:12:38] local.INFO: Processing buffer {"connection_id":126158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a73dea0012d741a80063a8400000b00a22a..."} 
[2026-07-07 08:12:38] local.INFO: Packet analysis {"connection_id":126158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a73"} 
[2026-07-07 08:12:38] local.INFO: Extracted packet for processing {"connection_id":126158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a73"} 
[2026-07-07 08:12:38] local.INFO: GPS Element Parsed {"raw_longitude":762583680,"raw_latitude":104498176,"longitude_deg":76.258368,"latitude_deg":10.4498176,"altitude":11,"angle":162,"satellites":42,"speed":25,"hex_longitude":"2d741a80","hex_latitude":"063a8400","is_valid_coordinates":true} 
[2026-07-07 08:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548377344001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340638400321159168,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8365928915801614336,"note":"Value kept but may cause issues"} 
[2026-07-07 08:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783392100000,"timestamp_ms":1783392100000,"timestamp_seconds":1783392100,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a73dea0"} 
[2026-07-07 08:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 08:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548377344001,"66":27767,"37":206,"79":19968,"24":25,"16":340638400321159168,"45":8365928915801614336},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,79,24,16,45]} 
[2026-07-07 08:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548377344001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:12:38] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 08:12:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":19968,"description":"Unknown IO ID 79"} 
[2026-07-07 08:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340638400321159168,"km_value":340638400321159.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8365928915801614336,"description":"Unknown IO ID 45"} 
[2026-07-07 08:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548377344001,"power":27767,"unknown_37":206,"unknown_79":19968,"ignition":25,"odometer":null,"unknown_45":8365928915801614336}} 
[2026-07-07 08:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":126158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:12:38] local.INFO: GPS data processed {"connection_id":126158,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:12:38] local.INFO: Acknowledgment sent {"connection_id":126158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:13:01] local.INFO: TCP Data received {"connection_id":124141,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:13:01] local.INFO: Processing buffer {"connection_id":124141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:13:01] local.INFO: IMEI packet received {"connection_id":124141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":124141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:13:02] local.INFO: TCP Data received {"connection_id":124141,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:13:02] local.INFO: Processing buffer {"connection_id":124141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:13:02] local.INFO: IMEI packet received {"connection_id":124141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":124141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:13:05] local.INFO: TCP Data received {"connection_id":124248,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:13:05] local.INFO: Processing buffer {"connection_id":124248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:13:05] local.INFO: IMEI packet received {"connection_id":124248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":124248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:13:06] local.INFO: TCP Data received {"connection_id":124141,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:13:06] local.INFO: Processing buffer {"connection_id":124141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:13:06] local.INFO: IMEI packet received {"connection_id":124141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":124141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:13:07] local.INFO: TCP Data received {"connection_id":124141,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a73c730012d7afac005e36bd0000a015b29..."} 
[2026-07-07 08:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a73c730012d7afac005e36bd0000a015b29..."} 
[2026-07-07 08:13:07] local.INFO: Processing buffer {"connection_id":124141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a73c730012d7afac005e36bd0000a015b29..."} 
[2026-07-07 08:13:07] local.INFO: Packet analysis {"connection_id":124141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a73"} 
[2026-07-07 08:13:07] local.INFO: Extracted packet for processing {"connection_id":124141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a73"} 
[2026-07-07 08:13:07] local.INFO: GPS Element Parsed {"raw_longitude":763034304,"raw_latitude":98790352,"longitude_deg":76.3034304,"latitude_deg":9.8790352,"altitude":10,"angle":347,"satellites":41,"speed":23,"hex_longitude":"2d7afac0","hex_latitude":"05e36bd0","is_valid_coordinates":true} 
[2026-07-07 08:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548372224001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103218144411123712,"note":"Value kept but may cause issues"} 
[2026-07-07 08:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864350729348452352,"note":"Value kept but may cause issues"} 
[2026-07-07 08:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783392094000,"timestamp_ms":1783392094000,"timestamp_seconds":1783392094,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a73c730"} 
[2026-07-07 08:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:13: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-07-07 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 08:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:13:07] 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-07-07 08:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548372224001,"66":13037,"97":206,"85":15104,"24":23,"16":103218144411123712,"45":8864350729348452352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548372224001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:13:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:13:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103218144411123712,"km_value":103218144411123.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864350729348452352,"description":"Unknown IO ID 45"} 
[2026-07-07 08:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548372224001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8864350729348452352}} 
[2026-07-07 08:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":124141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:13:07] local.INFO: GPS data processed {"connection_id":124141,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:13:07] local.INFO: Acknowledgment sent {"connection_id":124141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:13:10] local.INFO: TCP Data received {"connection_id":124248,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:13:10] local.INFO: Processing buffer {"connection_id":124248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:13:10] local.INFO: IMEI packet received {"connection_id":124248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":124248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:13:12] local.INFO: TCP Data received {"connection_id":124141,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a741938012d7af34005e38768000e015729..."} 
[2026-07-07 08:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a741938012d7af34005e38768000e015729..."} 
[2026-07-07 08:13:12] local.INFO: Processing buffer {"connection_id":124141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a741938012d7af34005e38768000e015729..."} 
[2026-07-07 08:13:12] local.INFO: Packet analysis {"connection_id":124141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a74"} 
[2026-07-07 08:13:12] local.INFO: Extracted packet for processing {"connection_id":124141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a74"} 
[2026-07-07 08:13:12] local.INFO: GPS Element Parsed {"raw_longitude":763032384,"raw_latitude":98797416,"longitude_deg":76.3032384,"latitude_deg":9.8797416,"altitude":14,"angle":343,"satellites":41,"speed":11,"hex_longitude":"2d7af340","hex_latitude":"05e38768","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548376064001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103218500893409280,"note":"Value kept but may cause issues"} 
[2026-07-07 08:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861606348327735296,"note":"Value kept but may cause issues"} 
[2026-07-07 08:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783392115000,"timestamp_ms":1783392115000,"timestamp_seconds":1783392115,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a741938"} 
[2026-07-07 08:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 08:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:13: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-07-07 08:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548376064001,"66":13243,"97":206,"85":15104,"24":11,"16":103218500893409280,"45":8861606348327735296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548376064001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:13:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103218500893409280,"km_value":103218500893409.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861606348327735296,"description":"Unknown IO ID 45"} 
[2026-07-07 08:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548376064001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8861606348327735296}} 
[2026-07-07 08:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":124141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:13:12] local.INFO: GPS data processed {"connection_id":124141,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:13:12] local.INFO: Acknowledgment sent {"connection_id":124141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:13:13] local.INFO: TCP Data received {"connection_id":124248,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a73e670012d741b40063a7f38000c00af2c..."} 
[2026-07-07 08:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a73e670012d741b40063a7f38000c00af2c..."} 
[2026-07-07 08:13:13] local.INFO: Processing buffer {"connection_id":124248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a73e670012d741b40063a7f38000c00af2c..."} 
[2026-07-07 08:13:13] local.INFO: Packet analysis {"connection_id":124248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a73"} 
[2026-07-07 08:13:13] local.INFO: Extracted packet for processing {"connection_id":124248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a73"} 
[2026-07-07 08:13:13] local.INFO: GPS Element Parsed {"raw_longitude":762583872,"raw_latitude":104496952,"longitude_deg":76.2583872,"latitude_deg":10.4496952,"altitude":12,"angle":175,"satellites":44,"speed":24,"hex_longitude":"2d741b40","hex_latitude":"063a7f38","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548377600001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340638460450701312,"note":"Value kept but may cause issues"} 
[2026-07-07 08:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8366140022034006016,"note":"Value kept but may cause issues"} 
[2026-07-07 08:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783392102000,"timestamp_ms":1783392102000,"timestamp_seconds":1783392102,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a73e670"} 
[2026-07-07 08:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 08:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548377600001,"66":27713,"37":206,"79":19968,"24":24,"16":340638460450701312,"45":8366140022034006016},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,79,24,16,45]} 
[2026-07-07 08:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548377600001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:13:13] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 08:13:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":19968,"description":"Unknown IO ID 79"} 
[2026-07-07 08:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340638460450701312,"km_value":340638460450701.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8366140022034006016,"description":"Unknown IO ID 45"} 
[2026-07-07 08:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548377600001,"power":27713,"unknown_37":206,"unknown_79":19968,"ignition":24,"odometer":null,"unknown_45":8366140022034006016}} 
[2026-07-07 08:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":124248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:13:13] local.INFO: GPS data processed {"connection_id":124248,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:13:13] local.INFO: Acknowledgment sent {"connection_id":124248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:13:44] local.INFO: TCP Data received {"connection_id":124248,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a741550012d741bc0063a5ae8000b00b029..."} 
[2026-07-07 08:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a741550012d741bc0063a5ae8000b00b029..."} 
[2026-07-07 08:13:44] local.INFO: Processing buffer {"connection_id":124248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a741550012d741bc0063a5ae8000b00b029..."} 
[2026-07-07 08:13:44] local.INFO: Packet analysis {"connection_id":124248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a74"} 
[2026-07-07 08:13:44] local.INFO: Extracted packet for processing {"connection_id":124248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a74"} 
[2026-07-07 08:13:44] local.INFO: GPS Element Parsed {"raw_longitude":762584000,"raw_latitude":104487656,"longitude_deg":76.2584,"latitude_deg":10.4487656,"altitude":11,"angle":176,"satellites":41,"speed":34,"hex_longitude":"2d741bc0","hex_latitude":"063a5ae8","is_valid_coordinates":true} 
[2026-07-07 08:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548378112001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340638911422267392,"note":"Value kept but may cause issues"} 
[2026-07-07 08:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8366351128266225664,"note":"Value kept but may cause issues"} 
[2026-07-07 08:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783392114000,"timestamp_ms":1783392114000,"timestamp_seconds":1783392114,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a741550"} 
[2026-07-07 08:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-07 08:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548378112001,"66":27919,"37":206,"79":19968,"24":34,"16":340638911422267392,"45":8366351128266225664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,79,24,16,45]} 
[2026-07-07 08:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548378112001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:13:44] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 08:13:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":19968,"description":"Unknown IO ID 79"} 
[2026-07-07 08:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340638911422267392,"km_value":340638911422267.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8366351128266225664,"description":"Unknown IO ID 45"} 
[2026-07-07 08:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548378112001,"power":27919,"unknown_37":206,"unknown_79":19968,"ignition":34,"odometer":null,"unknown_45":8366351128266225664}} 
[2026-07-07 08:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":124248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:13:44] local.INFO: GPS data processed {"connection_id":124248,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:13:44] local.INFO: Acknowledgment sent {"connection_id":124248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:13:56] local.INFO: TCP Data received {"connection_id":124937,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:13:56] local.INFO: Processing buffer {"connection_id":124937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:13:56] local.INFO: IMEI packet received {"connection_id":124937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":124937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:14:00] local.INFO: TCP Data received {"connection_id":124938,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:14:00] local.INFO: Processing buffer {"connection_id":124938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:14:00] local.INFO: IMEI packet received {"connection_id":124938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":124938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:14:01] local.INFO: TCP Data received {"connection_id":124937,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:14:01] local.INFO: Processing buffer {"connection_id":124937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:14:01] local.INFO: IMEI packet received {"connection_id":124937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":124937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:14:02] local.INFO: TCP Data received {"connection_id":124937,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a744818012d7aee4005e39588000c014b29..."} 
[2026-07-07 08:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a744818012d7aee4005e39588000c014b29..."} 
[2026-07-07 08:14:02] local.INFO: Processing buffer {"connection_id":124937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a744818012d7aee4005e39588000c014b29..."} 
[2026-07-07 08:14:02] local.INFO: Packet analysis {"connection_id":124937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a74"} 
[2026-07-07 08:14:02] local.INFO: Extracted packet for processing {"connection_id":124937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a74"} 
[2026-07-07 08:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763031104,"raw_latitude":98801032,"longitude_deg":76.3031104,"latitude_deg":9.8801032,"altitude":12,"angle":331,"satellites":41,"speed":9,"hex_longitude":"2d7aee40","hex_latitude":"05e39588","is_valid_coordinates":true} 
[2026-07-07 08:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548381440001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103218685577003008,"note":"Value kept but may cause issues"} 
[2026-07-07 08:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859495286004213760,"note":"Value kept but may cause issues"} 
[2026-07-07 08:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783392127000,"timestamp_ms":1783392127000,"timestamp_seconds":1783392127,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a744818"} 
[2026-07-07 08:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 08:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:14:02] 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-07-07 08:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548381440001,"66":13048,"97":206,"85":15104,"24":9,"16":103218685577003008,"45":8859495286004213760},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548381440001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:14:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103218685577003008,"km_value":103218685577003.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859495286004213760,"description":"Unknown IO ID 45"} 
[2026-07-07 08:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548381440001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8859495286004213760}} 
[2026-07-07 08:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":124937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:14:02] local.INFO: GPS data processed {"connection_id":124937,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:14:02] local.INFO: Acknowledgment sent {"connection_id":124937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:14:05] local.INFO: TCP Data received {"connection_id":124938,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:14:05] local.INFO: Processing buffer {"connection_id":124938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:14:05] local.INFO: IMEI packet received {"connection_id":124938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":124938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:14:06] local.INFO: TCP Data received {"connection_id":124938,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a743c60012d741f80063a35a8000b00ac29..."} 
[2026-07-07 08:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a743c60012d741f80063a35a8000b00ac29..."} 
[2026-07-07 08:14:06] local.INFO: Processing buffer {"connection_id":124938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a743c60012d741f80063a35a8000b00ac29..."} 
[2026-07-07 08:14:06] local.INFO: Packet analysis {"connection_id":124938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a74"} 
[2026-07-07 08:14:06] local.INFO: Extracted packet for processing {"connection_id":124938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a74"} 
[2026-07-07 08:14:06] local.INFO: GPS Element Parsed {"raw_longitude":762584960,"raw_latitude":104478120,"longitude_deg":76.258496,"latitude_deg":10.447812,"altitude":11,"angle":172,"satellites":41,"speed":40,"hex_longitude":"2d741f80","hex_latitude":"063a35a8","is_valid_coordinates":true} 
[2026-07-07 08:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548381184001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340639375278735360,"note":"Value kept but may cause issues"} 
[2026-07-07 08:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8366491865752201216,"note":"Value kept but may cause issues"} 
[2026-07-07 08:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783392124000,"timestamp_ms":1783392124000,"timestamp_seconds":1783392124,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a743c60"} 
[2026-07-07 08:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 08:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548381184001,"66":27800,"36":206,"79":19968,"24":40,"16":340639375278735360,"45":8366491865752201216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,79,24,16,45]} 
[2026-07-07 08:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548381184001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:14:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-07 08:14:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":19968,"description":"Unknown IO ID 79"} 
[2026-07-07 08:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340639375278735360,"km_value":340639375278735.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8366491865752201216,"description":"Unknown IO ID 45"} 
[2026-07-07 08:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548381184001,"power":27800,"unknown_36":206,"unknown_79":19968,"ignition":40,"odometer":null,"unknown_45":8366491865752201216}} 
[2026-07-07 08:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":124938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:14:06] local.INFO: GPS data processed {"connection_id":124938,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:14:06] local.INFO: Acknowledgment sent {"connection_id":124938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:14:34] local.INFO: TCP Data received {"connection_id":124937,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7643e8012d7ac9c005e410e8000901052a..."} 
[2026-07-07 08:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7643e8012d7ac9c005e410e8000901052a..."} 
[2026-07-07 08:14:34] local.INFO: Processing buffer {"connection_id":124937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7643e8012d7ac9c005e410e8000901052a..."} 
[2026-07-07 08:14:34] local.INFO: Packet analysis {"connection_id":124937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a76"} 
[2026-07-07 08:14:34] local.INFO: Extracted packet for processing {"connection_id":124937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a76"} 
[2026-07-07 08:14:34] local.INFO: GPS Element Parsed {"raw_longitude":763021760,"raw_latitude":98832616,"longitude_deg":76.302176,"latitude_deg":9.8832616,"altitude":9,"angle":261,"satellites":42,"speed":5,"hex_longitude":"2d7ac9c0","hex_latitude":"05e410e8","is_valid_coordinates":true} 
[2026-07-07 08:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548417536001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103220309074640896,"note":"Value kept but may cause issues"} 
[2026-07-07 08:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848025180712267776,"note":"Value kept but may cause issues"} 
[2026-07-07 08:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783392257000,"timestamp_ms":1783392257000,"timestamp_seconds":1783392257,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7643e8"} 
[2026-07-07 08:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:14: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":248,"data_length":795,"current_offset":136} 
[2026-07-07 08:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:14:34] 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-07-07 08:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548417536001,"66":13200,"97":206,"85":15104,"24":5,"16":103220309074640896,"45":8848025180712267776},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548417536001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:14:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:14:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103220309074640896,"km_value":103220309074640.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848025180712267776,"description":"Unknown IO ID 45"} 
[2026-07-07 08:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548417536001,"power":13200,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8848025180712267776}} 
[2026-07-07 08:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":124937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:14:34] local.INFO: GPS data processed {"connection_id":124937,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:14:34] local.INFO: Acknowledgment sent {"connection_id":124937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:14:38] local.INFO: TCP Data received {"connection_id":124938,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a745f88012d742600063a11b8000b00a62c..."} 
[2026-07-07 08:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a745f88012d742600063a11b8000b00a62c..."} 
[2026-07-07 08:14:38] local.INFO: Processing buffer {"connection_id":124938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a745f88012d742600063a11b8000b00a62c..."} 
[2026-07-07 08:14:38] local.INFO: Packet analysis {"connection_id":124938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a74"} 
[2026-07-07 08:14:38] local.INFO: Extracted packet for processing {"connection_id":124938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a74"} 
[2026-07-07 08:14:38] local.INFO: GPS Element Parsed {"raw_longitude":762586624,"raw_latitude":104468920,"longitude_deg":76.2586624,"latitude_deg":10.446892,"altitude":11,"angle":166,"satellites":44,"speed":42,"hex_longitude":"2d742600","hex_latitude":"063a11b8","is_valid_coordinates":true} 
[2026-07-07 08:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548383744001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340639826250301440,"note":"Value kept but may cause issues"} 
[2026-07-07 08:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8367547396912424960,"note":"Value kept but may cause issues"} 
[2026-07-07 08:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783392133000,"timestamp_ms":1783392133000,"timestamp_seconds":1783392133,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a745f88"} 
[2026-07-07 08:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 08:14: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-07-07 08:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548383744001,"66":27865,"36":206,"79":19968,"24":42,"16":340639826250301440,"45":8367547396912424960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,79,24,16,45]} 
[2026-07-07 08:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548383744001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:14:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-07 08:14:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":19968,"description":"Unknown IO ID 79"} 
[2026-07-07 08:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340639826250301440,"km_value":340639826250301.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8367547396912424960,"description":"Unknown IO ID 45"} 
[2026-07-07 08:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548383744001,"power":27865,"unknown_36":206,"unknown_79":19968,"ignition":42,"odometer":null,"unknown_45":8367547396912424960}} 
[2026-07-07 08:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":124938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:14:38] local.INFO: GPS data processed {"connection_id":124938,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:14:38] local.INFO: Acknowledgment sent {"connection_id":124938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:14:57] local.INFO: TCP Data received {"connection_id":126159,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:14:57] local.INFO: Processing buffer {"connection_id":126159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:14:57] local.INFO: IMEI packet received {"connection_id":126159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":126159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:14:59] local.INFO: TCP Data received {"connection_id":124940,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:14:59] local.INFO: Processing buffer {"connection_id":124940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:14:59] local.INFO: IMEI packet received {"connection_id":124940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":124940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:15:00] local.INFO: TCP Data received {"connection_id":124940,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:15:00] local.INFO: Processing buffer {"connection_id":124940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:15:00] local.INFO: IMEI packet received {"connection_id":124940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":124940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:15:01] local.INFO: TCP Data received {"connection_id":126159,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:15:01] local.INFO: Processing buffer {"connection_id":126159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:15:01] local.INFO: IMEI packet received {"connection_id":126159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":126159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:15:01] local.INFO: TCP Data received {"connection_id":126159,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7647d0012d7ac94005e410b0000900f52a..."} 
[2026-07-07 08:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7647d0012d7ac94005e410b0000900f52a..."} 
[2026-07-07 08:15:01] local.INFO: Processing buffer {"connection_id":126159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7647d0012d7ac94005e410b0000900f52a..."} 
[2026-07-07 08:15:01] local.INFO: Packet analysis {"connection_id":126159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a76"} 
[2026-07-07 08:15:01] local.INFO: Extracted packet for processing {"connection_id":126159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a76"} 
[2026-07-07 08:15:01] local.INFO: GPS Element Parsed {"raw_longitude":763021632,"raw_latitude":98832560,"longitude_deg":76.3021632,"latitude_deg":9.883256,"altitude":9,"angle":245,"satellites":42,"speed":7,"hex_longitude":"2d7ac940","hex_latitude":"05e410b0","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548417792001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103220313369608192,"note":"Value kept but may cause issues"} 
[2026-07-07 08:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847814074479732736,"note":"Value kept but may cause issues"} 
[2026-07-07 08:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783392258000,"timestamp_ms":1783392258000,"timestamp_seconds":1783392258,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7647d0"} 
[2026-07-07 08:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-07 08:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:15:01] 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-07-07 08:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548417792001,"66":13200,"97":206,"85":15104,"24":7,"16":103220313369608192,"45":8847814074479732736},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548417792001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:15:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:15:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103220313369608192,"km_value":103220313369608.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847814074479732736,"description":"Unknown IO ID 45"} 
[2026-07-07 08:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548417792001,"power":13200,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8847814074479732736}} 
[2026-07-07 08:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":126159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:15:01] local.INFO: GPS data processed {"connection_id":126159,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:15:01] local.INFO: Acknowledgment sent {"connection_id":126159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:15:05] local.INFO: TCP Data received {"connection_id":124940,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:15:05] local.INFO: Processing buffer {"connection_id":124940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:15:05] local.INFO: IMEI packet received {"connection_id":124940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":124940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:15:07] local.INFO: TCP Data received {"connection_id":124940,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7482b0012d742ec00639eda8000b00a52c..."} 
[2026-07-07 08:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7482b0012d742ec00639eda8000b00a52c..."} 
[2026-07-07 08:15:07] local.INFO: Processing buffer {"connection_id":124940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7482b0012d742ec00639eda8000b00a52c..."} 
[2026-07-07 08:15:07] local.INFO: Packet analysis {"connection_id":124940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a74"} 
[2026-07-07 08:15:07] local.INFO: Extracted packet for processing {"connection_id":124940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a74"} 
[2026-07-07 08:15:07] local.INFO: GPS Element Parsed {"raw_longitude":762588864,"raw_latitude":104459688,"longitude_deg":76.2588864,"latitude_deg":10.4459688,"altitude":11,"angle":165,"satellites":44,"speed":35,"hex_longitude":"2d742ec0","hex_latitude":"0639eda8","is_valid_coordinates":true} 
[2026-07-07 08:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548386048001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340640290106769408,"note":"Value kept but may cause issues"} 
[2026-07-07 08:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8369376984258689024,"note":"Value kept but may cause issues"} 
[2026-07-07 08:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783392142000,"timestamp_ms":1783392142000,"timestamp_seconds":1783392142,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7482b0"} 
[2026-07-07 08:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:15: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-07-07 08:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 08:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548386048001,"66":27691,"36":206,"79":19968,"24":35,"16":340640290106769408,"45":8369376984258689024},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,79,24,16,45]} 
[2026-07-07 08:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548386048001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:15:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-07 08:15:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":19968,"description":"Unknown IO ID 79"} 
[2026-07-07 08:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340640290106769408,"km_value":340640290106769.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8369376984258689024,"description":"Unknown IO ID 45"} 
[2026-07-07 08:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548386048001,"power":27691,"unknown_36":206,"unknown_79":19968,"ignition":35,"odometer":null,"unknown_45":8369376984258689024}} 
[2026-07-07 08:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":124940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:15:07] local.INFO: GPS data processed {"connection_id":124940,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:15:07] local.INFO: Acknowledgment sent {"connection_id":124940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:15:09] local.INFO: TCP Data received {"connection_id":126159,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a765388012d7ac68005e40fe80009010529..."} 
[2026-07-07 08:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a765388012d7ac68005e40fe80009010529..."} 
[2026-07-07 08:15:09] local.INFO: Processing buffer {"connection_id":126159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a765388012d7ac68005e40fe80009010529..."} 
[2026-07-07 08:15:09] local.INFO: Packet analysis {"connection_id":126159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a76"} 
[2026-07-07 08:15:09] local.INFO: Extracted packet for processing {"connection_id":126159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a76"} 
[2026-07-07 08:15:09] local.INFO: GPS Element Parsed {"raw_longitude":763020928,"raw_latitude":98832360,"longitude_deg":76.3020928,"latitude_deg":9.883236,"altitude":9,"angle":261,"satellites":41,"speed":11,"hex_longitude":"2d7ac680","hex_latitude":"05e40fe8","is_valid_coordinates":true} 
[2026-07-07 08:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548418048001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103220347729346560,"note":"Value kept but may cause issues"} 
[2026-07-07 08:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847673336991363072,"note":"Value kept but may cause issues"} 
[2026-07-07 08:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783392261000,"timestamp_ms":1783392261000,"timestamp_seconds":1783392261,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a765388"} 
[2026-07-07 08:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-07 08:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:15:09] 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-07-07 08:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548418048001,"66":13363,"97":206,"85":15104,"24":11,"16":103220347729346560,"45":8847673336991363072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548418048001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:15:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:15:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103220347729346560,"km_value":103220347729346.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847673336991363072,"description":"Unknown IO ID 45"} 
[2026-07-07 08:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548418048001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8847673336991363072}} 
[2026-07-07 08:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":126159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:15:09] local.INFO: GPS data processed {"connection_id":126159,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:15:09] local.INFO: Acknowledgment sent {"connection_id":126159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:15:30] local.INFO: TCP Data received {"connection_id":124142,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124142,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:15:30] local.INFO: Processing buffer {"connection_id":124142,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:15:30] local.INFO: IMEI packet received {"connection_id":124142,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 08:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":124142,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:15:38] local.INFO: TCP Data received {"connection_id":124940,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a74b578012d7439000639ca78000c00a02d..."} 
[2026-07-07 08:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a74b578012d7439000639ca78000c00a02d..."} 
[2026-07-07 08:15:38] local.INFO: Processing buffer {"connection_id":124940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a74b578012d7439000639ca78000c00a02d..."} 
[2026-07-07 08:15:38] local.INFO: Packet analysis {"connection_id":124940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a74"} 
[2026-07-07 08:15:38] local.INFO: Extracted packet for processing {"connection_id":124940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a74"} 
[2026-07-07 08:15:38] local.INFO: GPS Element Parsed {"raw_longitude":762591488,"raw_latitude":104450680,"longitude_deg":76.2591488,"latitude_deg":10.445068,"altitude":12,"angle":160,"satellites":45,"speed":29,"hex_longitude":"2d743900","hex_latitude":"0639ca78","is_valid_coordinates":true} 
[2026-07-07 08:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548388352001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340640741078335488,"note":"Value kept but may cause issues"} 
[2026-07-07 08:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8371839890302543872,"note":"Value kept but may cause issues"} 
[2026-07-07 08:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783392155000,"timestamp_ms":1783392155000,"timestamp_seconds":1783392155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a74b578"} 
[2026-07-07 08:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-07 08:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548388352001,"66":27908,"35":206,"79":19968,"24":29,"16":340640741078335488,"45":8371839890302543872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,79,24,16,45]} 
[2026-07-07 08:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548388352001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:15:38] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-07 08:15:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":19968,"description":"Unknown IO ID 79"} 
[2026-07-07 08:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340640741078335488,"km_value":340640741078335.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8371839890302543872,"description":"Unknown IO ID 45"} 
[2026-07-07 08:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548388352001,"power":27908,"unknown_35":206,"unknown_79":19968,"ignition":29,"odometer":null,"unknown_45":8371839890302543872}} 
[2026-07-07 08:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":124940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:15:38] local.INFO: GPS data processed {"connection_id":124940,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:15:38] local.INFO: Acknowledgment sent {"connection_id":124940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:15:50] local.INFO: TCP Data received {"connection_id":126159,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a76a590012d7aa6c005e40b480009010027..."} 
[2026-07-07 08:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a76a590012d7aa6c005e40b480009010027..."} 
[2026-07-07 08:15:50] local.INFO: Processing buffer {"connection_id":126159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a76a590012d7aa6c005e40b480009010027..."} 
[2026-07-07 08:15:50] local.INFO: Packet analysis {"connection_id":126159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a76"} 
[2026-07-07 08:15:50] local.INFO: Extracted packet for processing {"connection_id":126159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a76"} 
[2026-07-07 08:15:50] local.INFO: GPS Element Parsed {"raw_longitude":763012800,"raw_latitude":98831176,"longitude_deg":76.30128,"latitude_deg":9.8831176,"altitude":9,"angle":256,"satellites":39,"speed":9,"hex_longitude":"2d7aa6c0","hex_latitude":"05e40b48","is_valid_coordinates":true} 
[2026-07-07 08:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548418816001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103220742866337792,"note":"Value kept but may cause issues"} 
[2026-07-07 08:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846899280805357568,"note":"Value kept but may cause issues"} 
[2026-07-07 08:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783392282000,"timestamp_ms":1783392282000,"timestamp_seconds":1783392282,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a76a590"} 
[2026-07-07 08:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:15: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-07-07 08:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 08:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:15:50] 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-07-07 08:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548418816001,"66":13167,"97":206,"85":15104,"24":9,"16":103220742866337792,"45":8846899280805357568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548418816001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:15:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:15:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103220742866337792,"km_value":103220742866337.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846899280805357568,"description":"Unknown IO ID 45"} 
[2026-07-07 08:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548418816001,"power":13167,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8846899280805357568}} 
[2026-07-07 08:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":126159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:15:50] local.INFO: GPS data processed {"connection_id":126159,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:15:50] local.INFO: Acknowledgment sent {"connection_id":126159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:15:56] local.INFO: TCP Data received {"connection_id":126160,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:15:56] local.INFO: Processing buffer {"connection_id":126160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:15:56] local.INFO: IMEI packet received {"connection_id":126160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":126160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:15:57] local.INFO: TCP Data received {"connection_id":126160,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:15:57] local.INFO: Processing buffer {"connection_id":126160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:15:57] local.INFO: IMEI packet received {"connection_id":126160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":126160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:15:59] local.INFO: TCP Data received {"connection_id":124249,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:15:59] local.INFO: Processing buffer {"connection_id":124249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:15:59] local.INFO: IMEI packet received {"connection_id":124249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":124249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:16:01] local.INFO: TCP Data received {"connection_id":126160,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:16:01] local.INFO: Processing buffer {"connection_id":126160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:16:01] local.INFO: IMEI packet received {"connection_id":126160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":126160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:16:03] local.INFO: TCP Data received {"connection_id":126160,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a76f798012d7a9dc005e40b780009010027..."} 
[2026-07-07 08:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a76f798012d7a9dc005e40b780009010027..."} 
[2026-07-07 08:16:03] local.INFO: Processing buffer {"connection_id":126160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a76f798012d7a9dc005e40b780009010027..."} 
[2026-07-07 08:16:03] local.INFO: Packet analysis {"connection_id":126160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a76"} 
[2026-07-07 08:16:03] local.INFO: Extracted packet for processing {"connection_id":126160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a76"} 
[2026-07-07 08:16:03] local.INFO: GPS Element Parsed {"raw_longitude":763010496,"raw_latitude":98831224,"longitude_deg":76.3010496,"latitude_deg":9.8831224,"altitude":9,"angle":256,"satellites":39,"speed":0,"hex_longitude":"2d7a9dc0","hex_latitude":"05e40b78","is_valid_coordinates":true} 
[2026-07-07 08:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548424192001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103220863125422080,"note":"Value kept but may cause issues"} 
[2026-07-07 08:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837962450294491136,"note":"Value kept but may cause issues"} 
[2026-07-07 08:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783392303000,"timestamp_ms":1783392303000,"timestamp_seconds":1783392303,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a76f798"} 
[2026-07-07 08:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 08:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:16:03] 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-07-07 08:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548424192001,"66":12950,"97":206,"85":15104,"24":0,"16":103220863125422080,"45":8837962450294491136},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548424192001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:16:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:16:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103220863125422080,"km_value":103220863125422.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837962450294491136,"description":"Unknown IO ID 45"} 
[2026-07-07 08:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548424192001,"power":12950,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837962450294491136}} 
[2026-07-07 08:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":126160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:16:03] local.INFO: GPS data processed {"connection_id":126160,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:16:03] local.INFO: Acknowledgment sent {"connection_id":126160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:16:05] local.INFO: TCP Data received {"connection_id":124250,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:16:05] local.INFO: Processing buffer {"connection_id":124250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:16:05] local.INFO: IMEI packet received {"connection_id":124250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 08:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":124250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:16:05] local.INFO: TCP Data received {"connection_id":124249,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:16:05] local.INFO: Processing buffer {"connection_id":124249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:16:05] local.INFO: IMEI packet received {"connection_id":124249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":124249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:16:06] local.INFO: TCP Data received {"connection_id":124249,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a74e458012d7448400639a880000c00962d..."} 
[2026-07-07 08:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a74e458012d7448400639a880000c00962d..."} 
[2026-07-07 08:16:06] local.INFO: Processing buffer {"connection_id":124249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a74e458012d7448400639a880000c00962d..."} 
[2026-07-07 08:16:06] local.INFO: Packet analysis {"connection_id":124249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a74"} 
[2026-07-07 08:16:06] local.INFO: Extracted packet for processing {"connection_id":124249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a74"} 
[2026-07-07 08:16:06] local.INFO: GPS Element Parsed {"raw_longitude":762595392,"raw_latitude":104441984,"longitude_deg":76.2595392,"latitude_deg":10.4441984,"altitude":12,"angle":150,"satellites":45,"speed":32,"hex_longitude":"2d744840","hex_latitude":"0639a880","is_valid_coordinates":true} 
[2026-07-07 08:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548391680001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340641204934803456,"note":"Value kept but may cause issues"} 
[2026-07-07 08:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374725008811522048,"note":"Value kept but may cause issues"} 
[2026-07-07 08:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783392167000,"timestamp_ms":1783392167000,"timestamp_seconds":1783392167,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a74e458"} 
[2026-07-07 08:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:16: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-07-07 08:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 08:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548391680001,"66":27919,"35":206,"79":19968,"24":32,"16":340641204934803456,"45":8374725008811522048},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,79,24,16,45]} 
[2026-07-07 08:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548391680001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:16:06] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-07 08:16:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":19968,"description":"Unknown IO ID 79"} 
[2026-07-07 08:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340641204934803456,"km_value":340641204934803.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374725008811522048,"description":"Unknown IO ID 45"} 
[2026-07-07 08:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548391680001,"power":27919,"unknown_35":206,"unknown_79":19968,"ignition":32,"odometer":null,"unknown_45":8374725008811522048}} 
[2026-07-07 08:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":124249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:16:06] local.INFO: GPS data processed {"connection_id":124249,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:16:06] local.INFO: Acknowledgment sent {"connection_id":124249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:16:34] local.INFO: TCP Data received {"connection_id":126160,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a770f08012d7a9f0005e40bb00008005229..."} 
[2026-07-07 08:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a770f08012d7a9f0005e40bb00008005229..."} 
[2026-07-07 08:16:34] local.INFO: Processing buffer {"connection_id":126160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a770f08012d7a9f0005e40bb00008005229..."} 
[2026-07-07 08:16:34] local.INFO: Packet analysis {"connection_id":126160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a77"} 
[2026-07-07 08:16:34] local.INFO: Extracted packet for processing {"connection_id":126160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a77"} 
[2026-07-07 08:16:34] local.INFO: GPS Element Parsed {"raw_longitude":763010816,"raw_latitude":98831280,"longitude_deg":76.3010816,"latitude_deg":9.883128,"altitude":8,"angle":82,"satellites":41,"speed":2,"hex_longitude":"2d7a9f00","hex_latitude":"05e40bb0","is_valid_coordinates":true} 
[2026-07-07 08:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548429568001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103220880305291264,"note":"Value kept but may cause issues"} 
[2026-07-07 08:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835429175504107520,"note":"Value kept but may cause issues"} 
[2026-07-07 08:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783392309000,"timestamp_ms":1783392309000,"timestamp_seconds":1783392309,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a770f08"} 
[2026-07-07 08:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:16: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-07-07 08:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-07 08:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:16:34] 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-07-07 08:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548429568001,"66":12874,"97":206,"85":15104,"24":2,"16":103220880305291264,"45":8835429175504107520},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548429568001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:16:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:16:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103220880305291264,"km_value":103220880305291.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835429175504107520,"description":"Unknown IO ID 45"} 
[2026-07-07 08:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548429568001,"power":12874,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8835429175504107520}} 
[2026-07-07 08:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":126160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:16:34] local.INFO: GPS data processed {"connection_id":126160,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:16:34] local.INFO: Acknowledgment sent {"connection_id":126160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:16:38] local.INFO: TCP Data received {"connection_id":124249,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a777c68012d74c34006390820000d00822b..."} 
[2026-07-07 08:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a777c68012d74c34006390820000d00822b..."} 
[2026-07-07 08:16:38] local.INFO: Processing buffer {"connection_id":124249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a777c68012d74c34006390820000d00822b..."} 
[2026-07-07 08:16:38] local.INFO: Packet analysis {"connection_id":124249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a77"} 
[2026-07-07 08:16:38] local.INFO: Extracted packet for processing {"connection_id":124249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a77"} 
[2026-07-07 08:16:38] local.INFO: GPS Element Parsed {"raw_longitude":762626880,"raw_latitude":104400928,"longitude_deg":76.262688,"latitude_deg":10.4400928,"altitude":13,"angle":130,"satellites":43,"speed":41,"hex_longitude":"2d74c340","hex_latitude":"06390820","is_valid_coordinates":true} 
[2026-07-07 08:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548435968001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340643743260475392,"note":"Value kept but may cause issues"} 
[2026-07-07 08:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8406109468703633408,"note":"Value kept but may cause issues"} 
[2026-07-07 08:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783392337000,"timestamp_ms":1783392337000,"timestamp_seconds":1783392337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a777c68"} 
[2026-07-07 08:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:16: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-07-07 08:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-07 08:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548435968001,"66":27908,"161":206,"79":22016,"24":41,"16":340643743260475392,"45":8406109468703633408},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,79,24,16,45]} 
[2026-07-07 08:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548435968001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:16:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-07 08:16:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-07 08:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340643743260475392,"km_value":340643743260475.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8406109468703633408,"description":"Unknown IO ID 45"} 
[2026-07-07 08:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548435968001,"power":27908,"unknown_161":206,"unknown_79":22016,"ignition":41,"odometer":null,"unknown_45":8406109468703633408}} 
[2026-07-07 08:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":124249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:16:38] local.INFO: GPS data processed {"connection_id":124249,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:16:38] local.INFO: Acknowledgment sent {"connection_id":124249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:16:56] local.INFO: TCP Data received {"connection_id":126161,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:16:56] local.INFO: Processing buffer {"connection_id":126161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:16:56] local.INFO: IMEI packet received {"connection_id":126161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":126161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:16:59] local.INFO: TCP Data received {"connection_id":126161,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:16:59] local.INFO: Processing buffer {"connection_id":126161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:16:59] local.INFO: IMEI packet received {"connection_id":126161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":126161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:17:01] local.INFO: TCP Data received {"connection_id":126161,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:17:01] local.INFO: Processing buffer {"connection_id":126161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:17:01] local.INFO: IMEI packet received {"connection_id":126161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":126161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:17:02] local.INFO: TCP Data received {"connection_id":126161,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a785728012d7acec005e40ed0000a00a32a..."} 
[2026-07-07 08:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a785728012d7acec005e40ed0000a00a32a..."} 
[2026-07-07 08:17:02] local.INFO: Processing buffer {"connection_id":126161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a785728012d7acec005e40ed0000a00a32a..."} 
[2026-07-07 08:17:02] local.INFO: Packet analysis {"connection_id":126161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a78"} 
[2026-07-07 08:17:02] local.INFO: Extracted packet for processing {"connection_id":126161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a78"} 
[2026-07-07 08:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763023040,"raw_latitude":98832080,"longitude_deg":76.302304,"latitude_deg":9.883208,"altitude":10,"angle":163,"satellites":42,"speed":12,"hex_longitude":"2d7acec0","hex_latitude":"05e40ed0","is_valid_coordinates":true} 
[2026-07-07 08:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548452352001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103221515960451072,"note":"Value kept but may cause issues"} 
[2026-07-07 08:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849080711874869248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783392393000,"timestamp_ms":1783392393000,"timestamp_seconds":1783392393,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a785728"} 
[2026-07-07 08:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:17: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-07-07 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 08:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:17:02] 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-07-07 08:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548452352001,"66":13363,"97":206,"85":15104,"24":12,"16":103221515960451072,"45":8849080711874869248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548452352001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:17:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103221515960451072,"km_value":103221515960451.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849080711874869248,"description":"Unknown IO ID 45"} 
[2026-07-07 08:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548452352001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8849080711874869248}} 
[2026-07-07 08:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":126161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:17:02] local.INFO: GPS data processed {"connection_id":126161,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:17:02] local.INFO: Acknowledgment sent {"connection_id":126161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:17:06] local.INFO: TCP Data received {"connection_id":126161,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7889f0012d7ad68005e3ed18000b00a729..."} 
[2026-07-07 08:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7889f0012d7ad68005e3ed18000b00a729..."} 
[2026-07-07 08:17:06] local.INFO: Processing buffer {"connection_id":126161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7889f0012d7ad68005e3ed18000b00a729..."} 
[2026-07-07 08:17:06] local.INFO: Packet analysis {"connection_id":126161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a78"} 
[2026-07-07 08:17:06] local.INFO: Extracted packet for processing {"connection_id":126161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a78"} 
[2026-07-07 08:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763025024,"raw_latitude":98823448,"longitude_deg":76.3025024,"latitude_deg":9.8823448,"altitude":11,"angle":167,"satellites":41,"speed":33,"hex_longitude":"2d7ad680","hex_latitude":"05e3ed18","is_valid_coordinates":true} 
[2026-07-07 08:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548452608001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103221945457180672,"note":"Value kept but may cause issues"} 
[2026-07-07 08:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849221449363148800,"note":"Value kept but may cause issues"} 
[2026-07-07 08:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783392406000,"timestamp_ms":1783392406000,"timestamp_seconds":1783392406,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7889f0"} 
[2026-07-07 08:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 08:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:17:06] 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-07-07 08:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548452608001,"66":13200,"97":206,"85":15104,"24":33,"16":103221945457180672,"45":8849221449363148800},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548452608001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:17:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103221945457180672,"km_value":103221945457180.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849221449363148800,"description":"Unknown IO ID 45"} 
[2026-07-07 08:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548452608001,"power":13200,"unknown_97":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8849221449363148800}} 
[2026-07-07 08:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":126161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:17:06] local.INFO: GPS data processed {"connection_id":126161,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:17:06] local.INFO: Acknowledgment sent {"connection_id":126161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:17:11] local.INFO: TCP Data received {"connection_id":124144,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:17:11] local.INFO: Processing buffer {"connection_id":124144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:17:11] local.INFO: IMEI packet received {"connection_id":124144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":124144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:17:12] local.INFO: TCP Data received {"connection_id":124144,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:17:12] local.INFO: Processing buffer {"connection_id":124144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:17:12] local.INFO: IMEI packet received {"connection_id":124144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":124144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:17:14] local.INFO: TCP Data received {"connection_id":124144,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a779f90012d74e0400638ef80000d00812b..."} 
[2026-07-07 08:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a779f90012d74e0400638ef80000d00812b..."} 
[2026-07-07 08:17:14] local.INFO: Processing buffer {"connection_id":124144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a779f90012d74e0400638ef80000d00812b..."} 
[2026-07-07 08:17:14] local.INFO: Packet analysis {"connection_id":124144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a77"} 
[2026-07-07 08:17:14] local.INFO: Extracted packet for processing {"connection_id":124144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a77"} 
[2026-07-07 08:17:14] local.INFO: GPS Element Parsed {"raw_longitude":762634304,"raw_latitude":104394624,"longitude_deg":76.2634304,"latitude_deg":10.4394624,"altitude":13,"angle":129,"satellites":43,"speed":42,"hex_longitude":"2d74e040","hex_latitude":"0638ef80","is_valid_coordinates":true} 
[2026-07-07 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-07-07 08:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548438272001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340644211411910656,"note":"Value kept but may cause issues"} 
[2026-07-07 08:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8413638924329033728,"note":"Value kept but may cause issues"} 
[2026-07-07 08:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783392346000,"timestamp_ms":1783392346000,"timestamp_seconds":1783392346,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a779f90"} 
[2026-07-07 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-07-07 08:17: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-07-07 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 08:17: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-07-07 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-07-07 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-07-07 08:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548438272001,"66":27930,"161":206,"79":22016,"24":42,"16":340644211411910656,"45":8413638924329033728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,79,24,16,45]} 
[2026-07-07 08:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548438272001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:17:14] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-07 08:17:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-07 08:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340644211411910656,"km_value":340644211411910.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8413638924329033728,"description":"Unknown IO ID 45"} 
[2026-07-07 08:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548438272001,"power":27930,"unknown_161":206,"unknown_79":22016,"ignition":42,"odometer":null,"unknown_45":8413638924329033728}} 
[2026-07-07 08:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":124144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:17:14] local.INFO: GPS data processed {"connection_id":124144,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:17:14] local.INFO: Acknowledgment sent {"connection_id":124144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:17:25] local.INFO: TCP Data received {"connection_id":124144,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a77bed0012d74fa000638d808000d00892e..."} 
[2026-07-07 08:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a77bed0012d74fa000638d808000d00892e..."} 
[2026-07-07 08:17:25] local.INFO: Processing buffer {"connection_id":124144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a77bed0012d74fa000638d808000d00892e..."} 
[2026-07-07 08:17:25] local.INFO: Packet analysis {"connection_id":124144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a77"} 
[2026-07-07 08:17:25] local.INFO: Extracted packet for processing {"connection_id":124144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a77"} 
[2026-07-07 08:17:25] local.INFO: GPS Element Parsed {"raw_longitude":762640896,"raw_latitude":104388616,"longitude_deg":76.2640896,"latitude_deg":10.4388616,"altitude":13,"angle":137,"satellites":46,"speed":46,"hex_longitude":"2d74fa00","hex_latitude":"0638d808","is_valid_coordinates":true} 
[2026-07-07 08:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548440576001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340644640908640256,"note":"Value kept but may cause issues"} 
[2026-07-07 08:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8421801698652028928,"note":"Value kept but may cause issues"} 
[2026-07-07 08:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783392354000,"timestamp_ms":1783392354000,"timestamp_seconds":1783392354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a77bed0"} 
[2026-07-07 08:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:17: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-07-07 08:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 08:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":124144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":124144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":124144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548440576001,"66":27908,"161":206,"79":22016,"24":46,"16":340644640908640256,"45":8421801698652028928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,79,24,16,45]} 
[2026-07-07 08:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548440576001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:17:25] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-07 08:17:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-07 08:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340644640908640256,"km_value":340644640908640.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8421801698652028928,"description":"Unknown IO ID 45"} 
[2026-07-07 08:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548440576001,"power":27908,"unknown_161":206,"unknown_79":22016,"ignition":46,"odometer":null,"unknown_45":8421801698652028928}} 
[2026-07-07 08:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":124144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:17:26] local.INFO: GPS data processed {"connection_id":124144,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:17:26] local.INFO: Acknowledgment sent {"connection_id":124144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:17:35] local.INFO: TCP Data received {"connection_id":124251,"ip":"117.225.156.85","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124251,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:17:35] local.INFO: Processing buffer {"connection_id":124251,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:17:35] local.INFO: IMEI packet received {"connection_id":124251,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":124251,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:17:36] local.INFO: TCP Data received {"connection_id":124251,"ip":"117.225.156.85","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124251,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:17:36] local.INFO: Processing buffer {"connection_id":124251,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:17:36] local.INFO: IMEI packet received {"connection_id":124251,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":124251,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:17:38] local.INFO: TCP Data received {"connection_id":126161,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a78b4e8012d7adf4005e3cb98000900a427..."} 
[2026-07-07 08:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a78b4e8012d7adf4005e3cb98000900a427..."} 
[2026-07-07 08:17:38] local.INFO: Processing buffer {"connection_id":126161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a78b4e8012d7adf4005e3cb98000900a427..."} 
[2026-07-07 08:17:38] local.INFO: Packet analysis {"connection_id":126161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a78"} 
[2026-07-07 08:17:38] local.INFO: Extracted packet for processing {"connection_id":126161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a78"} 
[2026-07-07 08:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763027264,"raw_latitude":98814872,"longitude_deg":76.3027264,"latitude_deg":9.8814872,"altitude":9,"angle":164,"satellites":39,"speed":33,"hex_longitude":"2d7adf40","hex_latitude":"05e3cb98","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548455936001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103222374953910272,"note":"Value kept but may cause issues"} 
[2026-07-07 08:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402880430446592,"note":"Value kept but may cause issues"} 
[2026-07-07 08:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783392417000,"timestamp_ms":1783392417000,"timestamp_seconds":1783392417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a78b4e8"} 
[2026-07-07 08:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:17: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-07-07 08: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-07 08:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:17:38] 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-07-07 08:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548455936001,"66":13059,"97":206,"85":15104,"24":33,"16":103222374953910272,"45":8851402880430446592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548455936001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:17:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:17:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103222374953910272,"km_value":103222374953910.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402880430446592,"description":"Unknown IO ID 45"} 
[2026-07-07 08:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548455936001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8851402880430446592}} 
[2026-07-07 08:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":126161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:17:38] local.INFO: GPS data processed {"connection_id":126161,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:17:38] local.INFO: Acknowledgment sent {"connection_id":126161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:17:40] local.INFO: TCP Data received {"connection_id":124251,"ip":"117.225.156.85","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124251,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:17:40] local.INFO: Processing buffer {"connection_id":124251,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:17:40] local.INFO: IMEI packet received {"connection_id":124251,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":124251,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:17:41] local.INFO: TCP Data received {"connection_id":124251,"ip":"117.225.156.85","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-07 08:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124251,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-07 08:17:41] local.INFO: Processing buffer {"connection_id":124251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-07 08:17:41] local.INFO: Packet analysis {"connection_id":124251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-07 08:17:41] local.INFO: Extracted packet for processing {"connection_id":124251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-07 08:17:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 08:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23264927309365248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:17:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 08:17:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:17:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 08:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124251,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124251,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124251,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.156.85","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 08:17:41] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 08:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":124251,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 08:17:41] local.ERROR: GPS data processing failed {"connection_id":124251,"error":"No valid data to process"} 
[2026-07-07 08:17:41] local.INFO: Acknowledgment sent {"connection_id":124251,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 08:17:56] local.INFO: TCP Data received {"connection_id":124145,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:17:56] local.INFO: Processing buffer {"connection_id":124145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:17:56] local.INFO: IMEI packet received {"connection_id":124145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":124145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:18:00] local.INFO: TCP Data received {"connection_id":124147,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:18:00] local.INFO: Processing buffer {"connection_id":124147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:18:00] local.INFO: IMEI packet received {"connection_id":124147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":124147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:18:00] local.INFO: TCP Data received {"connection_id":124147,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:18:00] local.INFO: Processing buffer {"connection_id":124147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:18:00] local.INFO: IMEI packet received {"connection_id":124147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":124147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:18:01] local.INFO: TCP Data received {"connection_id":124145,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:18:01] local.INFO: Processing buffer {"connection_id":124145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:18:01] local.INFO: IMEI packet received {"connection_id":124145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":124145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:18:02] local.INFO: TCP Data received {"connection_id":124145,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a78dfe0012d7aea4005e3a8c0000900a229..."} 
[2026-07-07 08:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a78dfe0012d7aea4005e3a8c0000900a229..."} 
[2026-07-07 08:18:02] local.INFO: Processing buffer {"connection_id":124145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a78dfe0012d7aea4005e3a8c0000900a229..."} 
[2026-07-07 08:18:02] local.INFO: Packet analysis {"connection_id":124145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a78"} 
[2026-07-07 08:18:02] local.INFO: Extracted packet for processing {"connection_id":124145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a78"} 
[2026-07-07 08:18:02] local.INFO: GPS Element Parsed {"raw_longitude":763030080,"raw_latitude":98805952,"longitude_deg":76.303008,"latitude_deg":9.8805952,"altitude":9,"angle":162,"satellites":41,"speed":28,"hex_longitude":"2d7aea40","hex_latitude":"05e3a8c0","is_valid_coordinates":true} 
[2026-07-07 08:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548458752001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103222830220443648,"note":"Value kept but may cause issues"} 
[2026-07-07 08:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8853865786474469376,"note":"Value kept but may cause issues"} 
[2026-07-07 08:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783392428000,"timestamp_ms":1783392428000,"timestamp_seconds":1783392428,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a78dfe0"} 
[2026-07-07 08:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:18: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-07-07 08:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 08:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311974,"note":"Value kept but may cause issues"} 
[2026-07-07 08:18:02] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399431,"note":"Value kept but may cause issues"} 
[2026-07-07 08:18:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 08:18:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-07 08:18:02] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3221611537,"corrected_to":0} 
[2026-07-07 08:18:02] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3076653056,"note":"Value kept but may cause issues"} 
[2026-07-07 08:18:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3826360320,"note":"Value kept but may cause issues"} 
[2026-07-07 08:18:02] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,97,85,24,241,157,16,184,159,137,45,128,237,11,41,10,66,183,87,192,14,42,83,64,1,240,51,227,58,228,4,113,205,75,204,104,239,2,110,5,7],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0},{"io_id":204,"original":3221611537,"validated":0}]} 
[2026-07-07 08:18:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648698833754193920,"timestamp_seconds":648698833754193.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:18:02] 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-07-07 08:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548458752001,"66":13189,"97":206,"85":15104,"24":28,"16":103222830220443648,"45":8853865786474469376},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548458752001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:18:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:18:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103222830220443648,"km_value":103222830220443.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8853865786474469376,"description":"Unknown IO ID 45"} 
[2026-07-07 08:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548458752001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8853865786474469376}} 
[2026-07-07 08:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":124145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:18:02] local.INFO: GPS data processed {"connection_id":124145,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:18:02] local.INFO: Acknowledgment sent {"connection_id":124145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:18:05] local.INFO: TCP Data received {"connection_id":124147,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:18:05] local.INFO: Processing buffer {"connection_id":124147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:18:05] local.INFO: IMEI packet received {"connection_id":124147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":124147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:18:09] local.INFO: TCP Data received {"connection_id":124147,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a77de10012d7511400638b998000c00942f..."} 
[2026-07-07 08:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a77de10012d7511400638b998000c00942f..."} 
[2026-07-07 08:18:09] local.INFO: Processing buffer {"connection_id":124147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a77de10012d7511400638b998000c00942f..."} 
[2026-07-07 08:18:09] local.INFO: Packet analysis {"connection_id":124147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a77"} 
[2026-07-07 08:18:09] local.INFO: Extracted packet for processing {"connection_id":124147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a77"} 
[2026-07-07 08:18:09] local.INFO: GPS Element Parsed {"raw_longitude":762646848,"raw_latitude":104380824,"longitude_deg":76.2646848,"latitude_deg":10.4380824,"altitude":12,"angle":148,"satellites":47,"speed":50,"hex_longitude":"2d751140","hex_latitude":"0638b998","is_valid_coordinates":true} 
[2026-07-07 08:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548442624001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340645113355042816,"note":"Value kept but may cause issues"} 
[2026-07-07 08:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8429049679300790272,"note":"Value kept but may cause issues"} 
[2026-07-07 08:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783392362000,"timestamp_ms":1783392362000,"timestamp_seconds":1783392362,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a77de10"} 
[2026-07-07 08:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08: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-07-07 08: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-07-07 08:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548442624001,"66":27908,"161":206,"79":22016,"24":50,"16":340645113355042816,"45":8429049679300790272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,79,24,16,45]} 
[2026-07-07 08:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548442624001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:18:09] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-07 08:18:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-07 08:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340645113355042816,"km_value":340645113355042.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8429049679300790272,"description":"Unknown IO ID 45"} 
[2026-07-07 08:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548442624001,"power":27908,"unknown_161":206,"unknown_79":22016,"ignition":50,"odometer":null,"unknown_45":8429049679300790272}} 
[2026-07-07 08:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":124147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:18:09] local.INFO: GPS data processed {"connection_id":124147,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:18:09] local.INFO: Acknowledgment sent {"connection_id":124147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:18:12] local.INFO: TCP Data received {"connection_id":124251,"ip":"117.225.156.85","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-07 08:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124251,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-07 08:18:12] local.INFO: Processing buffer {"connection_id":124251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-07 08:18:12] local.INFO: Packet analysis {"connection_id":124251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 08:18:12] local.INFO: Extracted packet for processing {"connection_id":124251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 08:18:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 08:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23264927309365248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:18:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 08:18:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:18:12] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 08:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124251,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124251,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124251,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.156.85","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 08:18:12] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 08:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":124251,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 08:18:12] local.ERROR: GPS data processing failed {"connection_id":124251,"error":"No valid data to process"} 
[2026-07-07 08:18:12] local.INFO: Acknowledgment sent {"connection_id":124251,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 08:18:34] local.INFO: TCP Data received {"connection_id":124145,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a791e60012d7af08005e392b8000700ad29..."} 
[2026-07-07 08:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a791e60012d7af08005e392b8000700ad29..."} 
[2026-07-07 08:18:34] local.INFO: Processing buffer {"connection_id":124145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a791e60012d7af08005e392b8000700ad29..."} 
[2026-07-07 08:18:34] local.INFO: Packet analysis {"connection_id":124145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a79"} 
[2026-07-07 08:18:34] local.INFO: Extracted packet for processing {"connection_id":124145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a79"} 
[2026-07-07 08:18:34] local.INFO: GPS Element Parsed {"raw_longitude":763031680,"raw_latitude":98800312,"longitude_deg":76.303168,"latitude_deg":9.8800312,"altitude":7,"angle":173,"satellites":41,"speed":6,"hex_longitude":"2d7af080","hex_latitude":"05e392b8","is_valid_coordinates":true} 
[2026-07-07 08:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548461568001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103223113688285184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856962011216003072,"note":"Value kept but may cause issues"} 
[2026-07-07 08:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783392444000,"timestamp_ms":1783392444000,"timestamp_seconds":1783392444,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a791e60"} 
[2026-07-07 08:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:18: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-07-07 08:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 08:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:18:34] 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-07-07 08:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548461568001,"66":12939,"97":206,"85":15104,"24":6,"16":103223113688285184,"45":8856962011216003072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548461568001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:18:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:18:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103223113688285184,"km_value":103223113688285.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856962011216003072,"description":"Unknown IO ID 45"} 
[2026-07-07 08:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548461568001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8856962011216003072}} 
[2026-07-07 08:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":124145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:18:34] local.INFO: GPS data processed {"connection_id":124145,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:18:34] local.INFO: Acknowledgment sent {"connection_id":124145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:18:41] local.INFO: TCP Data received {"connection_id":124147,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7964b0012d75674006373078000800a32e..."} 
[2026-07-07 08:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7964b0012d75674006373078000800a32e..."} 
[2026-07-07 08:18:41] local.INFO: Processing buffer {"connection_id":124147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7964b0012d75674006373078000800a32e..."} 
[2026-07-07 08:18:41] local.INFO: Packet analysis {"connection_id":124147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a79"} 
[2026-07-07 08:18:41] local.INFO: Extracted packet for processing {"connection_id":124147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a79"} 
[2026-07-07 08:18:41] local.INFO: GPS Element Parsed {"raw_longitude":762668864,"raw_latitude":104280184,"longitude_deg":76.2668864,"latitude_deg":10.4280184,"altitude":8,"angle":163,"satellites":46,"speed":59,"hex_longitude":"2d756740","hex_latitude":"06373078","is_valid_coordinates":true} 
[2026-07-07 08:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548468736001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340650151351681024,"note":"Value kept but may cause issues"} 
[2026-07-07 08:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8456915701969659904,"note":"Value kept but may cause issues"} 
[2026-07-07 08:18:41] 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-07-07 08:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783392462000,"timestamp_ms":1783392462000,"timestamp_seconds":1783392462,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7964b0"} 
[2026-07-07 08:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 08:18: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-07-07 08:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548468736001,"66":27865,"79":22016,"24":59,"16":340650151351681024,"45":8456915701969659904},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-07-07 08:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548468736001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:18:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-07 08:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340650151351681024,"km_value":340650151351681.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8456915701969659904,"description":"Unknown IO ID 45"} 
[2026-07-07 08:18:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456548468736001,"power":27865,"unknown_79":22016,"ignition":59,"odometer":null,"unknown_45":8456915701969659904}} 
[2026-07-07 08:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":124147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:18:41] local.INFO: GPS data processed {"connection_id":124147,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:18:41] local.INFO: Acknowledgment sent {"connection_id":124147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:18:44] local.INFO: TCP Data received {"connection_id":124251,"ip":"117.225.156.85","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-07-07 08:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-07-07 08:18:44] local.INFO: Processing buffer {"connection_id":124251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-07-07 08:18:44] local.INFO: Packet analysis {"connection_id":124251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 08:18:44] local.INFO: Extracted packet for processing {"connection_id":124251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 08:18: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-07-07 08:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23264927309365248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:18:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 08:18:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":89000,"timestamp_seconds":89,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:18:44] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 08:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124251,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124251,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124251,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.156.85","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 08:18:44] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 08:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":124251,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 08:18:44] local.ERROR: GPS data processing failed {"connection_id":124251,"error":"No valid data to process"} 
[2026-07-07 08:18:44] local.INFO: Acknowledgment sent {"connection_id":124251,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 08:18:56] local.INFO: TCP Data received {"connection_id":126162,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:18:56] local.INFO: Processing buffer {"connection_id":126162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:18:56] local.INFO: IMEI packet received {"connection_id":126162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":126162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:19:01] local.INFO: TCP Data received {"connection_id":126162,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:19:01] local.INFO: Processing buffer {"connection_id":126162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:19:01] local.INFO: IMEI packet received {"connection_id":126162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":126162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:19:02] local.INFO: TCP Data received {"connection_id":126162,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a792a18012d7af1c005e38f580007009f29..."} 
[2026-07-07 08:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a792a18012d7af1c005e38f580007009f29..."} 
[2026-07-07 08:19:02] local.INFO: Processing buffer {"connection_id":126162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a792a18012d7af1c005e38f580007009f29..."} 
[2026-07-07 08:19:02] local.INFO: Packet analysis {"connection_id":126162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a79"} 
[2026-07-07 08:19:02] local.INFO: Extracted packet for processing {"connection_id":126162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a79"} 
[2026-07-07 08:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763032000,"raw_latitude":98799448,"longitude_deg":76.3032,"latitude_deg":9.8799448,"altitude":7,"angle":159,"satellites":41,"speed":17,"hex_longitude":"2d7af1c0","hex_latitude":"05e38f58","is_valid_coordinates":true} 
[2026-07-07 08:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548465664001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103223160932925440,"note":"Value kept but may cause issues"} 
[2026-07-07 08:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858721229819000832,"note":"Value kept but may cause issues"} 
[2026-07-07 08:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783392447000,"timestamp_ms":1783392447000,"timestamp_seconds":1783392447,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a792a18"} 
[2026-07-07 08:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:19: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-07-07 08:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 08:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:19:02] 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-07-07 08:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548465664001,"66":13048,"97":206,"85":15104,"24":17,"16":103223160932925440,"45":8858721229819000832},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548465664001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:19:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:19:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103223160932925440,"km_value":103223160932925.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858721229819000832,"description":"Unknown IO ID 45"} 
[2026-07-07 08:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548465664001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8858721229819000832}} 
[2026-07-07 08:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":126162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:19:02] local.INFO: GPS data processed {"connection_id":126162,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:19:02] local.INFO: Acknowledgment sent {"connection_id":126162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:19:05] local.INFO: TCP Data received {"connection_id":124252,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:19:05] local.INFO: Processing buffer {"connection_id":124252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:19:05] local.INFO: IMEI packet received {"connection_id":124252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":124252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:19:05] local.INFO: TCP Data received {"connection_id":124252,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:19:05] local.INFO: Processing buffer {"connection_id":124252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:19:05] local.INFO: IMEI packet received {"connection_id":124252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":124252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:19:06] local.INFO: TCP Data received {"connection_id":124252,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a798008012d757200063709c8000800a42f..."} 
[2026-07-07 08:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a798008012d757200063709c8000800a42f..."} 
[2026-07-07 08:19:06] local.INFO: Processing buffer {"connection_id":124252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a798008012d757200063709c8000800a42f..."} 
[2026-07-07 08:19:06] local.INFO: Packet analysis {"connection_id":124252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a79"} 
[2026-07-07 08:19:06] local.INFO: Extracted packet for processing {"connection_id":124252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a79"} 
[2026-07-07 08:19:06] local.INFO: GPS Element Parsed {"raw_longitude":762671616,"raw_latitude":104270280,"longitude_deg":76.2671616,"latitude_deg":10.427028,"altitude":8,"angle":164,"satellites":47,"speed":57,"hex_longitude":"2d757200","hex_latitude":"063709c8","is_valid_coordinates":true} 
[2026-07-07 08:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548470272001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340650649567887360,"note":"Value kept but may cause issues"} 
[2026-07-07 08:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8459800820478670848,"note":"Value kept but may cause issues"} 
[2026-07-07 08:19: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-07-07 08:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783392469000,"timestamp_ms":1783392469000,"timestamp_seconds":1783392469,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a798008"} 
[2026-07-07 08:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 08:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548470272001,"66":27745,"79":22016,"24":57,"16":340650649567887360,"45":8459800820478670848},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-07-07 08:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548470272001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:19:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-07 08:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340650649567887360,"km_value":340650649567887.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8459800820478670848,"description":"Unknown IO ID 45"} 
[2026-07-07 08:19:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456548470272001,"power":27745,"unknown_79":22016,"ignition":57,"odometer":null,"unknown_45":8459800820478670848}} 
[2026-07-07 08:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":124252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:19:06] local.INFO: GPS data processed {"connection_id":124252,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:19:06] local.INFO: Acknowledgment sent {"connection_id":124252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:19:10] local.INFO: TCP Data received {"connection_id":124252,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a799b60012d757c000636e558000800a32e..."} 
[2026-07-07 08:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a799b60012d757c000636e558000800a32e..."} 
[2026-07-07 08:19:10] local.INFO: Processing buffer {"connection_id":124252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a799b60012d757c000636e558000800a32e..."} 
[2026-07-07 08:19:10] local.INFO: Packet analysis {"connection_id":124252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a79"} 
[2026-07-07 08:19:10] local.INFO: Extracted packet for processing {"connection_id":124252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a79"} 
[2026-07-07 08:19:10] local.INFO: GPS Element Parsed {"raw_longitude":762674176,"raw_latitude":104260952,"longitude_deg":76.2674176,"latitude_deg":10.4260952,"altitude":8,"angle":163,"satellites":46,"speed":53,"hex_longitude":"2d757c00","hex_latitude":"0636e558","is_valid_coordinates":true} 
[2026-07-07 08:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548472064001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340651117719322624,"note":"Value kept but may cause issues"} 
[2026-07-07 08:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8462826676475774976,"note":"Value kept but may cause issues"} 
[2026-07-07 08:19:10] 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-07-07 08:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783392476000,"timestamp_ms":1783392476000,"timestamp_seconds":1783392476,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a799b60"} 
[2026-07-07 08:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:19: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-07-07 08:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 08:19: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-07-07 08:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548472064001,"66":27865,"79":22016,"24":53,"16":340651117719322624,"45":8462826676475774976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-07-07 08:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548472064001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:19:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-07 08:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340651117719322624,"km_value":340651117719322.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8462826676475774976,"description":"Unknown IO ID 45"} 
[2026-07-07 08:19:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456548472064001,"power":27865,"unknown_79":22016,"ignition":53,"odometer":null,"unknown_45":8462826676475774976}} 
[2026-07-07 08:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":124252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:19:10] local.INFO: GPS data processed {"connection_id":124252,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:19:10] local.INFO: Acknowledgment sent {"connection_id":124252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:19:16] local.INFO: TCP Data received {"connection_id":124251,"ip":"117.225.156.85","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-07-07 08:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124251,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-07-07 08:19:16] local.INFO: Processing buffer {"connection_id":124251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-07-07 08:19:16] local.INFO: Packet analysis {"connection_id":124251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 08:19:16] local.INFO: Extracted packet for processing {"connection_id":124251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 08:19:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 08:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23264927309365248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:19:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,20,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 08:19:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":110000,"timestamp_seconds":110,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:19:16] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 08:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124251,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124251,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124251,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.156.85","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 08:19:16] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 08:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":124251,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 08:19:16] local.ERROR: GPS data processing failed {"connection_id":124251,"error":"No valid data to process"} 
[2026-07-07 08:19:16] local.INFO: Acknowledgment sent {"connection_id":124251,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 08:19:41] local.INFO: TCP Data received {"connection_id":124252,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a79b6b8012d7588400636c4c0000900992c..."} 
[2026-07-07 08:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a79b6b8012d7588400636c4c0000900992c..."} 
[2026-07-07 08:19:41] local.INFO: Processing buffer {"connection_id":124252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a79b6b8012d7588400636c4c0000900992c..."} 
[2026-07-07 08:19:41] local.INFO: Packet analysis {"connection_id":124252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a79"} 
[2026-07-07 08:19:41] local.INFO: Extracted packet for processing {"connection_id":124252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a79"} 
[2026-07-07 08:19:41] local.INFO: GPS Element Parsed {"raw_longitude":762677312,"raw_latitude":104252608,"longitude_deg":76.2677312,"latitude_deg":10.4252608,"altitude":9,"angle":153,"satellites":44,"speed":47,"hex_longitude":"2d758840","hex_latitude":"0636c4c0","is_valid_coordinates":true} 
[2026-07-07 08:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548473856001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340651551511019520,"note":"Value kept but may cause issues"} 
[2026-07-07 08:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465641426240493568,"note":"Value kept but may cause issues"} 
[2026-07-07 08:19:41] 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-07-07 08:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783392483000,"timestamp_ms":1783392483000,"timestamp_seconds":1783392483,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a79b6b8"} 
[2026-07-07 08:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:19: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-07-07 08: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":217,"data_length":795,"current_offset":136} 
[2026-07-07 08:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548473856001,"66":27843,"79":22016,"24":47,"16":340651551511019520,"45":8465641426240493568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-07-07 08:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548473856001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:19:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-07 08:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340651551511019520,"km_value":340651551511019.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465641426240493568,"description":"Unknown IO ID 45"} 
[2026-07-07 08:19:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456548473856001,"power":27843,"unknown_79":22016,"ignition":47,"odometer":null,"unknown_45":8465641426240493568}} 
[2026-07-07 08:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":124252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:19:41] local.INFO: GPS data processed {"connection_id":124252,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:19:41] local.INFO: Acknowledgment sent {"connection_id":124252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:19:48] local.INFO: TCP Data received {"connection_id":124251,"ip":"117.225.156.85","data_length":795,"data_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-07-07 08:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124251,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-07-07 08:19:48] local.INFO: Processing buffer {"connection_id":124251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-07-07 08:19:48] local.INFO: Packet analysis {"connection_id":124251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 08:19:48] local.INFO: Extracted packet for processing {"connection_id":124251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 08:19:48] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 08:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23264927309365248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:19:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,20,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 08:19:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":131000,"timestamp_seconds":131,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:19:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 08:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":124251,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":124251,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":124251,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.156.85","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 08:19:48] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 08:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":124251,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 08:19:48] local.ERROR: GPS data processing failed {"connection_id":124251,"error":"No valid data to process"} 
[2026-07-07 08:19:48] local.INFO: Acknowledgment sent {"connection_id":124251,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 08:19:48] local.INFO: TCP Data received {"connection_id":126162,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7aa8e8012d7b3ec005e3a158000b002229..."} 
[2026-07-07 08:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7aa8e8012d7b3ec005e3a158000b002229..."} 
[2026-07-07 08:19:48] local.INFO: Processing buffer {"connection_id":126162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7aa8e8012d7b3ec005e3a158000b002229..."} 
[2026-07-07 08:19:48] local.INFO: Packet analysis {"connection_id":126162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7a"} 
[2026-07-07 08:19:48] local.INFO: Extracted packet for processing {"connection_id":126162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7a"} 
[2026-07-07 08:19:48] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98804056,"longitude_deg":76.3051712,"latitude_deg":9.8804056,"altitude":11,"angle":34,"satellites":41,"speed":27,"hex_longitude":"2d7b3ec0","hex_latitude":"05e3a158","is_valid_coordinates":true} 
[2026-07-07 08:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548488192001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103225140912848896,"note":"Value kept but may cause issues"} 
[2026-07-07 08:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875117147211425792,"note":"Value kept but may cause issues"} 
[2026-07-07 08:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783392545000,"timestamp_ms":1783392545000,"timestamp_seconds":1783392545,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7aa8e8"} 
[2026-07-07 08:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:19: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-07-07 08:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 08:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":126162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":126162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":126162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:19: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-07-07 08:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548488192001,"66":13135,"97":206,"85":15104,"24":27,"16":103225140912848896,"45":8875117147211425792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548488192001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:19:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:19:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103225140912848896,"km_value":103225140912848.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875117147211425792,"description":"Unknown IO ID 45"} 
[2026-07-07 08:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548488192001,"power":13135,"unknown_97":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8875117147211425792}} 
[2026-07-07 08:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":126162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:19:48] local.INFO: GPS data processed {"connection_id":126162,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:19:48] local.INFO: Acknowledgment sent {"connection_id":126162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:20:00] local.INFO: TCP Data received {"connection_id":124148,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:20:00] local.INFO: Processing buffer {"connection_id":124148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:20:00] local.INFO: IMEI packet received {"connection_id":124148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":124148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:20:01] local.INFO: TCP Data received {"connection_id":124149,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:20:01] local.INFO: Processing buffer {"connection_id":124149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:20:01] local.INFO: IMEI packet received {"connection_id":124149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":124149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:20:02] local.INFO: TCP Data received {"connection_id":124149,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:20:02] local.INFO: Processing buffer {"connection_id":124149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:20:02] local.INFO: IMEI packet received {"connection_id":124149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":124149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:20:05] local.INFO: TCP Data received {"connection_id":124148,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:20:05] local.INFO: Processing buffer {"connection_id":124148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:20:05] local.INFO: IMEI packet received {"connection_id":124148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":124148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:20:06] local.INFO: TCP Data received {"connection_id":124148,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a79d210012d7599400636aa08000c008e30..."} 
[2026-07-07 08:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a79d210012d7599400636aa08000c008e30..."} 
[2026-07-07 08:20:06] local.INFO: Processing buffer {"connection_id":124148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a79d210012d7599400636aa08000c008e30..."} 
[2026-07-07 08:20:06] local.INFO: Packet analysis {"connection_id":124148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a79"} 
[2026-07-07 08:20:06] local.INFO: Extracted packet for processing {"connection_id":124148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a79"} 
[2026-07-07 08:20:06] local.INFO: GPS Element Parsed {"raw_longitude":762681664,"raw_latitude":104245768,"longitude_deg":76.2681664,"latitude_deg":10.4245768,"altitude":12,"angle":142,"satellites":48,"speed":45,"hex_longitude":"2d759940","hex_latitude":"0636aa08","is_valid_coordinates":true} 
[2026-07-07 08:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548475648001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340651942353043456,"note":"Value kept but may cause issues"} 
[2026-07-07 08:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8469089494703063040,"note":"Value kept but may cause issues"} 
[2026-07-07 08:20: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-07-07 08:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783392490000,"timestamp_ms":1783392490000,"timestamp_seconds":1783392490,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a79d210"} 
[2026-07-07 08:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:20: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-07-07 08:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 08:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548475648001,"66":27865,"79":22016,"24":45,"16":340651942353043456,"45":8469089494703063040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-07-07 08:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548475648001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:20:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-07 08:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340651942353043456,"km_value":340651942353043.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8469089494703063040,"description":"Unknown IO ID 45"} 
[2026-07-07 08:20:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456548475648001,"power":27865,"unknown_79":22016,"ignition":45,"odometer":null,"unknown_45":8469089494703063040}} 
[2026-07-07 08:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":124148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:20:06] local.INFO: GPS data processed {"connection_id":124148,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:20:06] local.INFO: Acknowledgment sent {"connection_id":124148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:20:07] local.INFO: TCP Data received {"connection_id":124149,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:20:07] local.INFO: Processing buffer {"connection_id":124149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:20:07] local.INFO: IMEI packet received {"connection_id":124149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":124149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:20:08] local.INFO: TCP Data received {"connection_id":124149,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7ad7c8012d7b520005e3ba90000b002f26..."} 
[2026-07-07 08:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7ad7c8012d7b520005e3ba90000b002f26..."} 
[2026-07-07 08:20:08] local.INFO: Processing buffer {"connection_id":124149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7ad7c8012d7b520005e3ba90000b002f26..."} 
[2026-07-07 08:20:08] local.INFO: Packet analysis {"connection_id":124149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7a"} 
[2026-07-07 08:20:08] local.INFO: Extracted packet for processing {"connection_id":124149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7a"} 
[2026-07-07 08:20:08] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98810512,"longitude_deg":76.305664,"latitude_deg":9.8810512,"altitude":11,"angle":47,"satellites":38,"speed":25,"hex_longitude":"2d7b5200","hex_latitude":"05e3ba90","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548491520001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103225536049840128,"note":"Value kept but may cause issues"} 
[2026-07-07 08:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646747568128,"note":"Value kept but may cause issues"} 
[2026-07-07 08:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783392557000,"timestamp_ms":1783392557000,"timestamp_seconds":1783392557,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7ad7c8"} 
[2026-07-07 08:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:20: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-07-07 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 08:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:20:08] 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-07-07 08:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548491520001,"66":13135,"97":206,"85":15104,"24":25,"16":103225536049840128,"45":8880746646747568128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548491520001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:20:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:20:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103225536049840128,"km_value":103225536049840.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646747568128,"description":"Unknown IO ID 45"} 
[2026-07-07 08:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548491520001,"power":13135,"unknown_97":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8880746646747568128}} 
[2026-07-07 08:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":124149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:20:08] local.INFO: GPS data processed {"connection_id":124149,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:20:08] local.INFO: Acknowledgment sent {"connection_id":124149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:20:11] local.INFO: TCP Data received {"connection_id":124149,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7aeb50012d7b5c8005e3c3e8000b001f29..."} 
[2026-07-07 08:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7aeb50012d7b5c8005e3c3e8000b001f29..."} 
[2026-07-07 08:20:11] local.INFO: Processing buffer {"connection_id":124149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7aeb50012d7b5c8005e3c3e8000b001f29..."} 
[2026-07-07 08:20:11] local.INFO: Packet analysis {"connection_id":124149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7a"} 
[2026-07-07 08:20:11] local.INFO: Extracted packet for processing {"connection_id":124149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7a"} 
[2026-07-07 08:20:11] local.INFO: GPS Element Parsed {"raw_longitude":763059328,"raw_latitude":98812904,"longitude_deg":76.3059328,"latitude_deg":9.8812904,"altitude":11,"angle":31,"satellites":41,"speed":32,"hex_longitude":"2d7b5c80","hex_latitude":"05e3c3e8","is_valid_coordinates":true} 
[2026-07-07 08:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548494592001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103225707848531968,"note":"Value kept but may cause issues"} 
[2026-07-07 08:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040050900992,"note":"Value kept but may cause issues"} 
[2026-07-07 08:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783392562000,"timestamp_ms":1783392562000,"timestamp_seconds":1783392562,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7aeb50"} 
[2026-07-07 08:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:20: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-07-07 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 08:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:20: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-07-07 08:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548494592001,"66":12993,"97":206,"85":15104,"24":32,"16":103225707848531968,"45":8886165040050900992},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548494592001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:20:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103225707848531968,"km_value":103225707848531.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040050900992,"description":"Unknown IO ID 45"} 
[2026-07-07 08:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548494592001,"power":12993,"unknown_97":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8886165040050900992}} 
[2026-07-07 08:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":124149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:20:11] local.INFO: GPS data processed {"connection_id":124149,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:20:11] local.INFO: Acknowledgment sent {"connection_id":124149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:20:19] local.INFO: TCP Data received {"connection_id":124251,"ip":"117.225.156.85","data_length":795,"data_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-07-07 08:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124251,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-07-07 08:20:19] local.INFO: Processing buffer {"connection_id":124251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-07-07 08:20:19] local.INFO: Packet analysis {"connection_id":124251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-07 08:20:19] local.INFO: Extracted packet for processing {"connection_id":124251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-07 08:20:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 08:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23264927309365248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:20:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 08:20:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":152000,"timestamp_seconds":152,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:20:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 08:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124251,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124251,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124251,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.156.85","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 08:20:19] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 08:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":124251,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 08:20:19] local.ERROR: GPS data processing failed {"connection_id":124251,"error":"No valid data to process"} 
[2026-07-07 08:20:19] local.INFO: Acknowledgment sent {"connection_id":124251,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 08:20:38] local.INFO: TCP Data received {"connection_id":124148,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a79f150012d75b14006368e30000f008a2f..."} 
[2026-07-07 08:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a79f150012d75b14006368e30000f008a2f..."} 
[2026-07-07 08:20:38] local.INFO: Processing buffer {"connection_id":124148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a79f150012d75b14006368e30000f008a2f..."} 
[2026-07-07 08:20:38] local.INFO: Packet analysis {"connection_id":124148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a79"} 
[2026-07-07 08:20:38] local.INFO: Extracted packet for processing {"connection_id":124148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a79"} 
[2026-07-07 08:20:38] local.INFO: GPS Element Parsed {"raw_longitude":762687808,"raw_latitude":104238640,"longitude_deg":76.2687808,"latitude_deg":10.423864,"altitude":15,"angle":138,"satellites":47,"speed":47,"hex_longitude":"2d75b140","hex_latitude":"06368e30","is_valid_coordinates":true} 
[2026-07-07 08:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548477440001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340652397619576832,"note":"Value kept but may cause issues"} 
[2026-07-07 08:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8473874569305393152,"note":"Value kept but may cause issues"} 
[2026-07-07 08:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783392498000,"timestamp_ms":1783392498000,"timestamp_seconds":1783392498,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a79f150"} 
[2026-07-07 08:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:20: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-07-07 08:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 08:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548477440001,"66":27887,"78":206,"79":22016,"24":47,"16":340652397619576832,"45":8473874569305393152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,79,24,16,45]} 
[2026-07-07 08:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548477440001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:20:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-07 08:20:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-07 08:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340652397619576832,"km_value":340652397619576.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8473874569305393152,"description":"Unknown IO ID 45"} 
[2026-07-07 08:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548477440001,"power":27887,"unknown_78":206,"unknown_79":22016,"ignition":47,"odometer":null,"unknown_45":8473874569305393152}} 
[2026-07-07 08:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":124148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:20:38] local.INFO: GPS data processed {"connection_id":124148,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:20:38] local.INFO: Acknowledgment sent {"connection_id":124148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:20:51] local.INFO: TCP Data received {"connection_id":124251,"ip":"117.225.156.85","data_length":795,"data_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-07-07 08:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124251,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-07-07 08:20:51] local.INFO: Processing buffer {"connection_id":124251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-07-07 08:20:51] local.INFO: Packet analysis {"connection_id":124251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-07 08:20:51] local.INFO: Extracted packet for processing {"connection_id":124251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-07 08:20:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23264927309365248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:20:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 08:20:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":173000,"timestamp_seconds":173,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:20:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 08:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":124251,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":124251,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":124251,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.156.85","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 08:20:51] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 08:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":124251,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 08:20:51] local.ERROR: GPS data processing failed {"connection_id":124251,"error":"No valid data to process"} 
[2026-07-07 08:20:51] local.INFO: Acknowledgment sent {"connection_id":124251,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 08:20:54] local.INFO: TCP Data received {"connection_id":126163,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:20:54] local.INFO: Processing buffer {"connection_id":126163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:20:54] local.INFO: IMEI packet received {"connection_id":126163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":126163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:20:56] local.INFO: TCP Data received {"connection_id":126163,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:20:56] local.INFO: Processing buffer {"connection_id":126163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:20:56] local.INFO: IMEI packet received {"connection_id":126163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":126163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:20:58] local.INFO: TCP Data received {"connection_id":124150,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:20:58] local.INFO: Processing buffer {"connection_id":124150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:20:58] local.INFO: IMEI packet received {"connection_id":124150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":124150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:21:00] local.INFO: TCP Data received {"connection_id":124150,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:21:00] local.INFO: Processing buffer {"connection_id":124150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:21:00] local.INFO: IMEI packet received {"connection_id":124150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":124150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:21:01] local.INFO: TCP Data received {"connection_id":126163,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:21:01] local.INFO: Processing buffer {"connection_id":126163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:21:01] local.INFO: IMEI packet received {"connection_id":126163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":126163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:21:02] local.INFO: TCP Data received {"connection_id":126163,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7b1260012d7b6fc005e3e298000b002128..."} 
[2026-07-07 08:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7b1260012d7b6fc005e3e298000b002128..."} 
[2026-07-07 08:21:02] local.INFO: Processing buffer {"connection_id":126163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7b1260012d7b6fc005e3e298000b002128..."} 
[2026-07-07 08:21:02] local.INFO: Packet analysis {"connection_id":126163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7b"} 
[2026-07-07 08:21:02] local.INFO: Extracted packet for processing {"connection_id":126163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7b"} 
[2026-07-07 08:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763064256,"raw_latitude":98820760,"longitude_deg":76.3064256,"latitude_deg":9.882076,"altitude":11,"angle":33,"satellites":40,"speed":39,"hex_longitude":"2d7b6fc0","hex_latitude":"05e3e298","is_valid_coordinates":true} 
[2026-07-07 08:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548495872001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103226154525130752,"note":"Value kept but may cause issues"} 
[2026-07-07 08:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889120527306975232,"note":"Value kept but may cause issues"} 
[2026-07-07 08:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783392572000,"timestamp_ms":1783392572000,"timestamp_seconds":1783392572,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7b1260"} 
[2026-07-07 08:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:21: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-07-07 08:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-07 08:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:21:02] 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-07-07 08:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548495872001,"66":13200,"97":206,"85":15104,"24":39,"16":103226154525130752,"45":8889120527306975232},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548495872001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:21:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:21:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103226154525130752,"km_value":103226154525130.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889120527306975232,"description":"Unknown IO ID 45"} 
[2026-07-07 08:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548495872001,"power":13200,"unknown_97":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8889120527306975232}} 
[2026-07-07 08:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":126163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:21:02] local.INFO: GPS data processed {"connection_id":126163,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:21:02] local.INFO: Acknowledgment sent {"connection_id":126163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:21:05] local.INFO: TCP Data received {"connection_id":124150,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:21:05] local.INFO: Processing buffer {"connection_id":124150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:21:05] local.INFO: IMEI packet received {"connection_id":124150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":124150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:21:17] local.INFO: TCP Data received {"connection_id":124150,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7a1478012d75c980063670680011009030..."} 
[2026-07-07 08:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7a1478012d75c980063670680011009030..."} 
[2026-07-07 08:21:17] local.INFO: Processing buffer {"connection_id":124150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7a1478012d75c980063670680011009030..."} 
[2026-07-07 08:21:17] local.INFO: Packet analysis {"connection_id":124150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7a"} 
[2026-07-07 08:21:17] local.INFO: Extracted packet for processing {"connection_id":124150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7a"} 
[2026-07-07 08:21:17] local.INFO: GPS Element Parsed {"raw_longitude":762694016,"raw_latitude":104231016,"longitude_deg":76.2694016,"latitude_deg":10.4231016,"altitude":17,"angle":144,"satellites":48,"speed":35,"hex_longitude":"2d75c980","hex_latitude":"06367068","is_valid_coordinates":true} 
[2026-07-07 08:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548479488001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340652870065979392,"note":"Value kept but may cause issues"} 
[2026-07-07 08:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480629968744624128,"note":"Value kept but may cause issues"} 
[2026-07-07 08:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783392507000,"timestamp_ms":1783392507000,"timestamp_seconds":1783392507,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7a1478"} 
[2026-07-07 08:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 08:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548479488001,"66":27865,"78":206,"79":22016,"24":35,"16":340652870065979392,"45":8480629968744624128},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,79,24,16,45]} 
[2026-07-07 08:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548479488001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:21:17] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-07 08:21:17] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-07 08:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340652870065979392,"km_value":340652870065979.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480629968744624128,"description":"Unknown IO ID 45"} 
[2026-07-07 08:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548479488001,"power":27865,"unknown_78":206,"unknown_79":22016,"ignition":35,"odometer":null,"unknown_45":8480629968744624128}} 
[2026-07-07 08:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":124150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:21:17] local.INFO: GPS data processed {"connection_id":124150,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:21:17] local.INFO: Acknowledgment sent {"connection_id":124150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:21:22] local.INFO: TCP Data received {"connection_id":124251,"ip":"117.225.156.85","data_length":795,"data_hex":"000000000000030f8e0a000000000002f5d00100000000000000000000000000..."} 
[2026-07-07 08:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124251,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000002f5d00100000000000000000000000000..."} 
[2026-07-07 08:21:22] local.INFO: Processing buffer {"connection_id":124251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000002f5d00100000000000000000000000000..."} 
[2026-07-07 08:21:22] local.INFO: Packet analysis {"connection_id":124251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-07 08:21:22] local.INFO: Extracted packet for processing {"connection_id":124251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-07 08:21:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 08:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23264927309365248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:21:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 08:21:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":194000,"timestamp_seconds":194,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:21:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 08:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124251,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124251,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124251,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.156.85","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 08:21:22] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 08:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":124251,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 08:21:22] local.ERROR: GPS data processing failed {"connection_id":124251,"error":"No valid data to process"} 
[2026-07-07 08:21:22] local.INFO: Acknowledgment sent {"connection_id":124251,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 08:21:34] local.INFO: TCP Data received {"connection_id":126163,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7b3588012d7b834005e3ffa8000d00212a..."} 
[2026-07-07 08:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7b3588012d7b834005e3ffa8000d00212a..."} 
[2026-07-07 08:21:34] local.INFO: Processing buffer {"connection_id":126163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7b3588012d7b834005e3ffa8000d00212a..."} 
[2026-07-07 08:21:34] local.INFO: Packet analysis {"connection_id":126163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7b"} 
[2026-07-07 08:21:34] local.INFO: Extracted packet for processing {"connection_id":126163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7b"} 
[2026-07-07 08:21:34] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":98828200,"longitude_deg":76.3069248,"latitude_deg":9.88282,"altitude":13,"angle":33,"satellites":42,"speed":40,"hex_longitude":"2d7b8340","hex_latitude":"05e3ffa8","is_valid_coordinates":true} 
[2026-07-07 08:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548498432001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103226588316827648,"note":"Value kept but may cause issues"} 
[2026-07-07 08:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894538920610666496,"note":"Value kept but may cause issues"} 
[2026-07-07 08:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783392581000,"timestamp_ms":1783392581000,"timestamp_seconds":1783392581,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7b3588"} 
[2026-07-07 08:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:21: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-07-07 08:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-07 08:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:21:34] 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-07-07 08:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548498432001,"66":13091,"97":206,"85":15104,"24":40,"16":103226588316827648,"45":8894538920610666496},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 08:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548498432001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:21:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 08:21:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 08:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103226588316827648,"km_value":103226588316827.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894538920610666496,"description":"Unknown IO ID 45"} 
[2026-07-07 08:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548498432001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8894538920610666496}} 
[2026-07-07 08:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":126163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:21:34] local.INFO: GPS data processed {"connection_id":126163,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:21:34] local.INFO: Acknowledgment sent {"connection_id":126163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:21:35] local.INFO: TCP Data received {"connection_id":124943,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:21:35] local.INFO: Processing buffer {"connection_id":124943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:21:35] local.INFO: IMEI packet received {"connection_id":124943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 08:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":124943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:21:56] local.INFO: TCP Data received {"connection_id":124253,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:21:56] local.INFO: Processing buffer {"connection_id":124253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:21:56] local.INFO: IMEI packet received {"connection_id":124253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":124253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:21:57] local.INFO: TCP Data received {"connection_id":124253,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:21:57] local.INFO: Processing buffer {"connection_id":124253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:21:57] local.INFO: IMEI packet received {"connection_id":124253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":124253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:21:58] local.INFO: TCP Data received {"connection_id":124251,"ip":"117.225.156.85","data_length":795,"data_hex":"000000000000030f8e0a00000000000347d80100000000000000000000000000..."} 
[2026-07-07 08:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124251,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000347d80100000000000000000000000000..."} 
[2026-07-07 08:21:58] local.INFO: Processing buffer {"connection_id":124251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000347d80100000000000000000000000000..."} 
[2026-07-07 08:21:58] local.INFO: Packet analysis {"connection_id":124251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-07-07 08:21:58] local.INFO: Extracted packet for processing {"connection_id":124251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-07-07 08:21:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 08:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23264927309365248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:21:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 08:21:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":215000,"timestamp_seconds":215,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:21:58] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 08:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":124251,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":124251,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":124251,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.156.85","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 08:21:58] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 08:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":124251,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 08:21:58] local.ERROR: GPS data processing failed {"connection_id":124251,"error":"No valid data to process"} 
[2026-07-07 08:21:58] local.INFO: Acknowledgment sent {"connection_id":124251,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 08:22:00] local.INFO: TCP Data received {"connection_id":126164,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:22:00] local.INFO: Processing buffer {"connection_id":126164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:22:00] local.INFO: IMEI packet received {"connection_id":126164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":126164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:22:00] local.INFO: TCP Data received {"connection_id":124151,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124151,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:22:00] local.INFO: Processing buffer {"connection_id":124151,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:22:00] local.INFO: IMEI packet received {"connection_id":124151,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 08:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":124151,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:22:01] local.INFO: TCP Data received {"connection_id":124253,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:22:01] local.INFO: Processing buffer {"connection_id":124253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:22:01] local.INFO: IMEI packet received {"connection_id":124253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":124253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:22:02] local.INFO: TCP Data received {"connection_id":124253,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7c9518012d7c408005e524980008015e2a..."} 
[2026-07-07 08:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7c9518012d7c408005e524980008015e2a..."} 
[2026-07-07 08:22:02] local.INFO: Processing buffer {"connection_id":124253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7c9518012d7c408005e524980008015e2a..."} 
[2026-07-07 08:22:02] local.INFO: Packet analysis {"connection_id":124253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7c"} 
[2026-07-07 08:22:02] local.INFO: Extracted packet for processing {"connection_id":124253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7c"} 
[2026-07-07 08:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763117696,"raw_latitude":98903192,"longitude_deg":76.3117696,"latitude_deg":9.8903192,"altitude":8,"angle":350,"satellites":42,"speed":12,"hex_longitude":"2d7c4080","hex_latitude":"05e52498","is_valid_coordinates":true} 
[2026-07-07 08:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548523520001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103230904758960128,"note":"Value kept but may cause issues"} 
[2026-07-07 08:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953296822020042752,"note":"Value kept but may cause issues"} 
[2026-07-07 08:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783392671000,"timestamp_ms":1783392671000,"timestamp_seconds":1783392671,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7c9518"} 
[2026-07-07 08:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 08:22: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-07-07 08:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:22:02] 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-07-07 08:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548523520001,"66":13189,"39":206,"87":13824,"24":12,"16":103230904758960128,"45":8953296822020042752},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-07 08:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548523520001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:22:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-07 08:22:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103230904758960128,"km_value":103230904758960.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953296822020042752,"description":"Unknown IO ID 45"} 
[2026-07-07 08:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548523520001,"power":13189,"unknown_39":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8953296822020042752}} 
[2026-07-07 08:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":124253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:22:02] local.INFO: GPS data processed {"connection_id":124253,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:22:02] local.INFO: Acknowledgment sent {"connection_id":124253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:22:03] local.INFO: TCP Data received {"connection_id":126164,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:22:03] local.INFO: Processing buffer {"connection_id":126164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:22:03] local.INFO: IMEI packet received {"connection_id":126164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":126164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:22:04] local.INFO: TCP Data received {"connection_id":126164,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:22:04] local.INFO: Processing buffer {"connection_id":126164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:22:04] local.INFO: IMEI packet received {"connection_id":126164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":126164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:22:05] local.INFO: TCP Data received {"connection_id":126164,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7a6680012d75d0c0063664d8001200952e..."} 
[2026-07-07 08:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7a6680012d75d0c0063664d8001200952e..."} 
[2026-07-07 08:22:05] local.INFO: Processing buffer {"connection_id":126164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7a6680012d75d0c0063664d8001200952e..."} 
[2026-07-07 08:22:05] local.INFO: Packet analysis {"connection_id":126164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7a"} 
[2026-07-07 08:22:05] local.INFO: Extracted packet for processing {"connection_id":126164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7a"} 
[2026-07-07 08:22:05] local.INFO: GPS Element Parsed {"raw_longitude":762695872,"raw_latitude":104228056,"longitude_deg":76.2695872,"latitude_deg":10.4228056,"altitude":18,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d75d0c0","hex_latitude":"063664d8","is_valid_coordinates":true} 
[2026-07-07 08:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548481792001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340653037569703936,"note":"Value kept but may cause issues"} 
[2026-07-07 08:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8487455736927905792,"note":"Value kept but may cause issues"} 
[2026-07-07 08:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783392528000,"timestamp_ms":1783392528000,"timestamp_seconds":1783392528,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7a6680"} 
[2026-07-07 08:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 08:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548481792001,"66":27745,"78":206,"79":22016,"24":0,"16":340653037569703936,"45":8487455736927905792},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,79,24,16,45]} 
[2026-07-07 08:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548481792001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:22:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-07 08:22:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-07 08:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340653037569703936,"km_value":340653037569703.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8487455736927905792,"description":"Unknown IO ID 45"} 
[2026-07-07 08:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548481792001,"power":27745,"unknown_78":206,"unknown_79":22016,"ignition":0,"odometer":null,"unknown_45":8487455736927905792}} 
[2026-07-07 08:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":126164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:22:05] local.INFO: GPS data processed {"connection_id":126164,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:22:05] local.INFO: Acknowledgment sent {"connection_id":126164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:22:10] local.INFO: TCP Data received {"connection_id":126164,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7ab888012d75d0c0063664d8001200952e..."} 
[2026-07-07 08:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7ab888012d75d0c0063664d8001200952e..."} 
[2026-07-07 08:22:10] local.INFO: Processing buffer {"connection_id":126164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7ab888012d75d0c0063664d8001200952e..."} 
[2026-07-07 08:22:10] local.INFO: Packet analysis {"connection_id":126164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7a"} 
[2026-07-07 08:22:10] local.INFO: Extracted packet for processing {"connection_id":126164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7a"} 
[2026-07-07 08:22:10] local.INFO: GPS Element Parsed {"raw_longitude":762695872,"raw_latitude":104228056,"longitude_deg":76.2695872,"latitude_deg":10.4228056,"altitude":18,"angle":149,"satellites":46,"speed":0,"hex_longitude":"2d75d0c0","hex_latitude":"063664d8","is_valid_coordinates":true} 
[2026-07-07 08:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548487168001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340653037569703936,"note":"Value kept but may cause issues"} 
[2026-07-07 08:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8489496430508300288,"note":"Value kept but may cause issues"} 
[2026-07-07 08:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783392549000,"timestamp_ms":1783392549000,"timestamp_seconds":1783392549,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7ab888"} 
[2026-07-07 08:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:22: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-07-07 08:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 08:22: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-07-07 08:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548487168001,"66":27691,"78":206,"79":22016,"24":0,"16":340653037569703936,"45":8489496430508300288},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,79,24,16,45]} 
[2026-07-07 08:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548487168001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:22:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-07 08:22:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-07 08:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340653037569703936,"km_value":340653037569703.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8489496430508300288,"description":"Unknown IO ID 45"} 
[2026-07-07 08:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548487168001,"power":27691,"unknown_78":206,"unknown_79":22016,"ignition":0,"odometer":null,"unknown_45":8489496430508300288}} 
[2026-07-07 08:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":126164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:22:10] local.INFO: GPS data processed {"connection_id":126164,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:22:10] local.INFO: Acknowledgment sent {"connection_id":126164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:22:15] local.INFO: TCP Data received {"connection_id":124944,"ip":"117.225.156.85","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124944,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:22:15] local.INFO: Processing buffer {"connection_id":124944,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:22:15] local.INFO: IMEI packet received {"connection_id":124944,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":124944,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:22:20] local.INFO: TCP Data received {"connection_id":124944,"ip":"117.225.156.85","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124944,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:22:20] local.INFO: Processing buffer {"connection_id":124944,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:22:20] local.INFO: IMEI packet received {"connection_id":124944,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":124944,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:22:21] local.INFO: TCP Data received {"connection_id":124944,"ip":"117.225.156.85","data_length":795,"data_hex":"000000000000030f8e0a00000000000399e00100000000000000000000000000..."} 
[2026-07-07 08:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124944,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000399e00100000000000000000000000000..."} 
[2026-07-07 08:22:21] local.INFO: Processing buffer {"connection_id":124944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000399e00100000000000000000000000000..."} 
[2026-07-07 08:22:21] local.INFO: Packet analysis {"connection_id":124944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-07-07 08:22:21] local.INFO: Extracted packet for processing {"connection_id":124944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-07-07 08:22:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 08:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23264927309365248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:22:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 08:22:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":236000,"timestamp_seconds":236,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:22:21] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 08:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124944,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124944,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124944,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.156.85","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 08:22:21] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 08:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":124944,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 08:22:21] local.ERROR: GPS data processing failed {"connection_id":124944,"error":"No valid data to process"} 
[2026-07-07 08:22:21] local.INFO: Acknowledgment sent {"connection_id":124944,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 08:22:33] local.INFO: TCP Data received {"connection_id":124253,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7ce720012d7c380005e547b80002015928..."} 
[2026-07-07 08:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7ce720012d7c380005e547b80002015928..."} 
[2026-07-07 08:22:33] local.INFO: Processing buffer {"connection_id":124253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7ce720012d7c380005e547b80002015928..."} 
[2026-07-07 08:22:33] local.INFO: Packet analysis {"connection_id":124253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7c"} 
[2026-07-07 08:22:33] local.INFO: Extracted packet for processing {"connection_id":124253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7c"} 
[2026-07-07 08:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763115520,"raw_latitude":98912184,"longitude_deg":76.311552,"latitude_deg":9.8912184,"altitude":2,"angle":345,"satellites":40,"speed":21,"hex_longitude":"2d7c3800","hex_latitude":"05e547b8","is_valid_coordinates":true} 
[2026-07-07 08:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548523776001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103231351435558912,"note":"Value kept but may cause issues"} 
[2026-07-07 08:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953296822020118528,"note":"Value kept but may cause issues"} 
[2026-07-07 08:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783392692000,"timestamp_ms":1783392692000,"timestamp_seconds":1783392692,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7ce720"} 
[2026-07-07 08:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 08:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:22:33] 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-07-07 08:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548523776001,"66":13243,"39":206,"87":13824,"24":21,"16":103231351435558912,"45":8953296822020118528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-07 08:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548523776001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:22:33] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-07 08:22:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103231351435558912,"km_value":103231351435558.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953296822020118528,"description":"Unknown IO ID 45"} 
[2026-07-07 08:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548523776001,"power":13243,"unknown_39":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8953296822020118528}} 
[2026-07-07 08:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":124253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:22:33] local.INFO: GPS data processed {"connection_id":124253,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:22:33] local.INFO: Acknowledgment sent {"connection_id":124253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:22:42] local.INFO: TCP Data received {"connection_id":126164,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7d0a48012d75f840063507a8000a00a130..."} 
[2026-07-07 08:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7d0a48012d75f840063507a8000a00a130..."} 
[2026-07-07 08:22:42] local.INFO: Processing buffer {"connection_id":126164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7d0a48012d75f840063507a8000a00a130..."} 
[2026-07-07 08:22:42] local.INFO: Packet analysis {"connection_id":126164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7d"} 
[2026-07-07 08:22:42] local.INFO: Extracted packet for processing {"connection_id":126164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7d"} 
[2026-07-07 08:22:42] local.INFO: GPS Element Parsed {"raw_longitude":762705984,"raw_latitude":104138664,"longitude_deg":76.2705984,"latitude_deg":10.4138664,"altitude":10,"angle":161,"satellites":48,"speed":44,"hex_longitude":"2d75f840","hex_latitude":"063507a8","is_valid_coordinates":true} 
[2026-07-07 08:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548529664001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340657431321247744,"note":"Value kept but may cause issues"} 
[2026-07-07 08:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8499066579695448064,"note":"Value kept but may cause issues"} 
[2026-07-07 08:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783392701000,"timestamp_ms":1783392701000,"timestamp_seconds":1783392701,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7d0a48"} 
[2026-07-07 08:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:22: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-07-07 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 08:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548529664001,"66":27865,"39":206,"79":22016,"24":44,"16":340657431321247744,"45":8499066579695448064},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,79,24,16,45]} 
[2026-07-07 08:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548529664001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:22:42] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-07 08:22:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-07 08:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340657431321247744,"km_value":340657431321247.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8499066579695448064,"description":"Unknown IO ID 45"} 
[2026-07-07 08:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548529664001,"power":27865,"unknown_39":206,"unknown_79":22016,"ignition":44,"odometer":null,"unknown_45":8499066579695448064}} 
[2026-07-07 08:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":126164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:22:42] local.INFO: GPS data processed {"connection_id":126164,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:22:42] local.INFO: Acknowledgment sent {"connection_id":126164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:22:52] local.INFO: TCP Data received {"connection_id":124944,"ip":"117.225.156.85","data_length":795,"data_hex":"000000000000030f8e0a000000000003ebe80100000000000000000000000000..."} 
[2026-07-07 08:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124944,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000003ebe80100000000000000000000000000..."} 
[2026-07-07 08:22:52] local.INFO: Processing buffer {"connection_id":124944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000003ebe80100000000000000000000000000..."} 
[2026-07-07 08:22:52] local.INFO: Packet analysis {"connection_id":124944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-07-07 08:22:52] local.INFO: Extracted packet for processing {"connection_id":124944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-07-07 08:22:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23264927309365248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:22:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 08:22:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":257000,"timestamp_seconds":257,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:22:52] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 08:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124944,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124944,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124944,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.156.85","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 08:22:52] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 08:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":124944,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 08:22:52] local.ERROR: GPS data processing failed {"connection_id":124944,"error":"No valid data to process"} 
[2026-07-07 08:22:52] local.INFO: Acknowledgment sent {"connection_id":124944,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 08:22:56] local.INFO: TCP Data received {"connection_id":124945,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:22:56] local.INFO: Processing buffer {"connection_id":124945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:22:56] local.INFO: IMEI packet received {"connection_id":124945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":124945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:23:01] local.INFO: TCP Data received {"connection_id":124945,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:23:01] local.INFO: Processing buffer {"connection_id":124945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:23:01] local.INFO: IMEI packet received {"connection_id":124945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":124945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:23:02] local.INFO: TCP Data received {"connection_id":124945,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7d0660012d7c31c005e558100002014827..."} 
[2026-07-07 08:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7d0660012d7c31c005e558100002014827..."} 
[2026-07-07 08:23:02] local.INFO: Processing buffer {"connection_id":124945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7d0660012d7c31c005e558100002014827..."} 
[2026-07-07 08:23:02] local.INFO: Packet analysis {"connection_id":124945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7d"} 
[2026-07-07 08:23:02] local.INFO: Extracted packet for processing {"connection_id":124945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7d"} 
[2026-07-07 08:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98916368,"longitude_deg":76.311392,"latitude_deg":9.8916368,"altitude":2,"angle":328,"satellites":39,"speed":21,"hex_longitude":"2d7c31c0","hex_latitude":"05e55810","is_valid_coordinates":true} 
[2026-07-07 08:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548529152001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103231570478891008,"note":"Value kept but may cause issues"} 
[2026-07-07 08:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950904284720379904,"note":"Value kept but may cause issues"} 
[2026-07-07 08:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783392700000,"timestamp_ms":1783392700000,"timestamp_seconds":1783392700,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7d0660"} 
[2026-07-07 08:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 08:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:23:02] 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-07-07 08:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548529152001,"66":13135,"39":206,"87":13824,"24":21,"16":103231570478891008,"45":8950904284720379904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-07 08:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548529152001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:23:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-07 08:23:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103231570478891008,"km_value":103231570478891.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950904284720379904,"description":"Unknown IO ID 45"} 
[2026-07-07 08:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548529152001,"power":13135,"unknown_39":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8950904284720379904}} 
[2026-07-07 08:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":124945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:23:02] local.INFO: GPS data processed {"connection_id":124945,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:23:02] local.INFO: Acknowledgment sent {"connection_id":124945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:23:05] local.INFO: TCP Data received {"connection_id":124152,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:23:05] local.INFO: Processing buffer {"connection_id":124152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:23:05] local.INFO: IMEI packet received {"connection_id":124152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":124152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:23:10] local.INFO: TCP Data received {"connection_id":124152,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:23:10] local.INFO: Processing buffer {"connection_id":124152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:23:10] local.INFO: IMEI packet received {"connection_id":124152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":124152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:23:11] local.INFO: TCP Data received {"connection_id":124152,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7d21b8012d7603800634f010000b00952f..."} 
[2026-07-07 08:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7d21b8012d7603800634f010000b00952f..."} 
[2026-07-07 08:23:11] local.INFO: Processing buffer {"connection_id":124152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7d21b8012d7603800634f010000b00952f..."} 
[2026-07-07 08:23:11] local.INFO: Packet analysis {"connection_id":124152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7d"} 
[2026-07-07 08:23:11] local.INFO: Extracted packet for processing {"connection_id":124152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7d"} 
[2026-07-07 08:23:11] local.INFO: GPS Element Parsed {"raw_longitude":762708864,"raw_latitude":104132624,"longitude_deg":76.2708864,"latitude_deg":10.4132624,"altitude":11,"angle":149,"satellites":47,"speed":44,"hex_longitude":"2d760380","hex_latitude":"0634f010","is_valid_coordinates":true} 
[2026-07-07 08:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548531456001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340657753443794944,"note":"Value kept but may cause issues"} 
[2026-07-07 08:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8500614692065486848,"note":"Value kept but may cause issues"} 
[2026-07-07 08:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783392707000,"timestamp_ms":1783392707000,"timestamp_seconds":1783392707,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7d21b8"} 
[2026-07-07 08:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:23: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-07-07 08:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 08:23: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-07-07 08:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548531456001,"66":27800,"39":206,"79":22016,"24":44,"16":340657753443794944,"45":8500614692065486848},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,79,24,16,45]} 
[2026-07-07 08:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548531456001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:23:11] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-07 08:23:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-07 08:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340657753443794944,"km_value":340657753443794.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8500614692065486848,"description":"Unknown IO ID 45"} 
[2026-07-07 08:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548531456001,"power":27800,"unknown_39":206,"unknown_79":22016,"ignition":44,"odometer":null,"unknown_45":8500614692065486848}} 
[2026-07-07 08:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":124152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:23:11] local.INFO: GPS data processed {"connection_id":124152,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:23:11] local.INFO: Acknowledgment sent {"connection_id":124152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:23:23] local.INFO: TCP Data received {"connection_id":124944,"ip":"117.225.156.85","data_length":795,"data_hex":"000000000000030f8e0a0000000000043df00100000000000000000000000000..."} 
[2026-07-07 08:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000043df00100000000000000000000000000..."} 
[2026-07-07 08:23:23] local.INFO: Processing buffer {"connection_id":124944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000043df00100000000000000000000000000..."} 
[2026-07-07 08:23:23] local.INFO: Packet analysis {"connection_id":124944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000004"} 
[2026-07-07 08:23:23] local.INFO: Extracted packet for processing {"connection_id":124944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000004"} 
[2026-07-07 08:23:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 08:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23264927309365248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:23:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 08:23:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":278000,"timestamp_seconds":278,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:23:23] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 08:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":124944,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":124944,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":124944,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.156.85","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 08:23:23] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 08:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":124944,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 08:23:23] local.ERROR: GPS data processing failed {"connection_id":124944,"error":"No valid data to process"} 
[2026-07-07 08:23:23] local.INFO: Acknowledgment sent {"connection_id":124944,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 08:23:33] local.INFO: TCP Data received {"connection_id":124945,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7d1218012d7c2ec005e55e980002015826..."} 
[2026-07-07 08:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7d1218012d7c2ec005e55e980002015826..."} 
[2026-07-07 08:23:33] local.INFO: Processing buffer {"connection_id":124945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7d1218012d7c2ec005e55e980002015826..."} 
[2026-07-07 08:23:33] local.INFO: Packet analysis {"connection_id":124945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7d"} 
[2026-07-07 08:23:33] local.INFO: Extracted packet for processing {"connection_id":124945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7d"} 
[2026-07-07 08:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763113152,"raw_latitude":98918040,"longitude_deg":76.3113152,"latitude_deg":9.891804,"altitude":2,"angle":344,"satellites":38,"speed":27,"hex_longitude":"2d7c2ec0","hex_latitude":"05e55e98","is_valid_coordinates":true} 
[2026-07-07 08:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548531200001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103231660673204224,"note":"Value kept but may cause issues"} 
[2026-07-07 08:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145066117009408,"note":"Value kept but may cause issues"} 
[2026-07-07 08:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783392703000,"timestamp_ms":1783392703000,"timestamp_seconds":1783392703,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7d1218"} 
[2026-07-07 08:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 08:23: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-07-07 08:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:23:33] 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-07-07 08:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548531200001,"66":12613,"39":206,"87":13824,"24":27,"16":103231660673204224,"45":8949145066117009408},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-07 08:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548531200001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:23:33] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-07 08:23:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103231660673204224,"km_value":103231660673204.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145066117009408,"description":"Unknown IO ID 45"} 
[2026-07-07 08:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548531200001,"power":12613,"unknown_39":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8949145066117009408}} 
[2026-07-07 08:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":124945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:23:33] local.INFO: GPS data processed {"connection_id":124945,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:23:33] local.INFO: Acknowledgment sent {"connection_id":124945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:23:42] local.INFO: TCP Data received {"connection_id":124152,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7d3d10012d7616800634d7c8000c00892e..."} 
[2026-07-07 08:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7d3d10012d7616800634d7c8000c00892e..."} 
[2026-07-07 08:23:42] local.INFO: Processing buffer {"connection_id":124152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7d3d10012d7616800634d7c8000c00892e..."} 
[2026-07-07 08:23:42] local.INFO: Packet analysis {"connection_id":124152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7d"} 
[2026-07-07 08:23:42] local.INFO: Extracted packet for processing {"connection_id":124152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7d"} 
[2026-07-07 08:23:42] local.INFO: GPS Element Parsed {"raw_longitude":762713728,"raw_latitude":104126408,"longitude_deg":76.2713728,"latitude_deg":10.4126408,"altitude":12,"angle":137,"satellites":46,"speed":44,"hex_longitude":"2d761680","hex_latitude":"0634d7c8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 08:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548532992001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340658135695884288,"note":"Value kept but may cause issues"} 
[2026-07-07 08:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8503781285551935488,"note":"Value kept but may cause issues"} 
[2026-07-07 08:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783392714000,"timestamp_ms":1783392714000,"timestamp_seconds":1783392714,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7d3d10"} 
[2026-07-07 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-07-07 08:23: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-07-07 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 08:23: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-07-07 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-07-07 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-07-07 08:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548532992001,"66":27767,"39":206,"79":22016,"24":44,"16":340658135695884288,"45":8503781285551935488},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,79,24,16,45]} 
[2026-07-07 08:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548532992001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:23:42] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-07 08:23:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-07 08:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340658135695884288,"km_value":340658135695884.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8503781285551935488,"description":"Unknown IO ID 45"} 
[2026-07-07 08:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548532992001,"power":27767,"unknown_39":206,"unknown_79":22016,"ignition":44,"odometer":null,"unknown_45":8503781285551935488}} 
[2026-07-07 08:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":124152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:23:42] local.INFO: GPS data processed {"connection_id":124152,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:23:42] local.INFO: Acknowledgment sent {"connection_id":124152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:23:55] local.INFO: TCP Data received {"connection_id":124944,"ip":"117.225.156.85","data_length":795,"data_hex":"000000000000030f8e0a0000000000048ff80100000000000000000000000000..."} 
[2026-07-07 08:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000048ff80100000000000000000000000000..."} 
[2026-07-07 08:23:55] local.INFO: Processing buffer {"connection_id":124944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000048ff80100000000000000000000000000..."} 
[2026-07-07 08:23:55] local.INFO: Packet analysis {"connection_id":124944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000004"} 
[2026-07-07 08:23:55] local.INFO: Extracted packet for processing {"connection_id":124944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000004"} 
[2026-07-07 08:23:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 08:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23264927309365248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:23:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 08:23:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":299000,"timestamp_seconds":299,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:23:55] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 08:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":124944,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":124944,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":124944,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.156.85","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 08:23:55] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 08:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":124944,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 08:23:55] local.ERROR: GPS data processing failed {"connection_id":124944,"error":"No valid data to process"} 
[2026-07-07 08:23:55] local.INFO: Acknowledgment sent {"connection_id":124944,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 08:23:55] local.INFO: TCP Data received {"connection_id":124254,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:23:55] local.INFO: Processing buffer {"connection_id":124254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:23:55] local.INFO: IMEI packet received {"connection_id":124254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":124254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:23:56] local.INFO: TCP Data received {"connection_id":124254,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:23:56] local.INFO: Processing buffer {"connection_id":124254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:23:56] local.INFO: IMEI packet received {"connection_id":124254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":124254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:24:00] local.INFO: TCP Data received {"connection_id":124153,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:24:00] local.INFO: Processing buffer {"connection_id":124153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:24:00] local.INFO: IMEI packet received {"connection_id":124153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":124153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:24:01] local.INFO: TCP Data received {"connection_id":124254,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:24:01] local.INFO: Processing buffer {"connection_id":124254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:24:01] local.INFO: IMEI packet received {"connection_id":124254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":124254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:24:02] local.INFO: TCP Data received {"connection_id":124254,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7d40f8012d7c26c005e583280002015926..."} 
[2026-07-07 08:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7d40f8012d7c26c005e583280002015926..."} 
[2026-07-07 08:24:02] local.INFO: Processing buffer {"connection_id":124254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7d40f8012d7c26c005e583280002015926..."} 
[2026-07-07 08:24:02] local.INFO: Packet analysis {"connection_id":124254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7d"} 
[2026-07-07 08:24:02] local.INFO: Extracted packet for processing {"connection_id":124254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7d"} 
[2026-07-07 08:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763111104,"raw_latitude":98927400,"longitude_deg":76.3111104,"latitude_deg":9.89274,"altitude":2,"angle":345,"satellites":38,"speed":33,"hex_longitude":"2d7c26c0","hex_latitude":"05e58328","is_valid_coordinates":true} 
[2026-07-07 08:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548531968001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103232124529672192,"note":"Value kept but may cause issues"} 
[2026-07-07 08:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948300641187305472,"note":"Value kept but may cause issues"} 
[2026-07-07 08:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783392715000,"timestamp_ms":1783392715000,"timestamp_seconds":1783392715,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7d40f8"} 
[2026-07-07 08:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-07 08:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:24:02] 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-07-07 08:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548531968001,"66":13037,"39":206,"87":13824,"24":33,"16":103232124529672192,"45":8948300641187305472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-07 08:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548531968001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:24:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-07 08:24:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103232124529672192,"km_value":103232124529672.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948300641187305472,"description":"Unknown IO ID 45"} 
[2026-07-07 08:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548531968001,"power":13037,"unknown_39":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8948300641187305472}} 
[2026-07-07 08:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":124254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:24:02] local.INFO: GPS data processed {"connection_id":124254,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:24:02] local.INFO: Acknowledgment sent {"connection_id":124254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:24:04] local.INFO: TCP Data received {"connection_id":124153,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:24:04] local.INFO: Processing buffer {"connection_id":124153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:24:04] local.INFO: IMEI packet received {"connection_id":124153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":124153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:24:04] local.INFO: TCP Data received {"connection_id":124153,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7d6038012d762f000634bec0000c00872f..."} 
[2026-07-07 08:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7d6038012d762f000634bec0000c00872f..."} 
[2026-07-07 08:24:04] local.INFO: Processing buffer {"connection_id":124153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7d6038012d762f000634bec0000c00872f..."} 
[2026-07-07 08:24:04] local.INFO: Packet analysis {"connection_id":124153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7d"} 
[2026-07-07 08:24:04] local.INFO: Extracted packet for processing {"connection_id":124153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7d"} 
[2026-07-07 08:24:04] local.INFO: GPS Element Parsed {"raw_longitude":762720000,"raw_latitude":104120000,"longitude_deg":76.272,"latitude_deg":10.412,"altitude":12,"angle":135,"satellites":47,"speed":35,"hex_longitude":"2d762f00","hex_latitude":"0634bec0","is_valid_coordinates":true} 
[2026-07-07 08:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548534784001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340658569487581184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8509129310107846656,"note":"Value kept but may cause issues"} 
[2026-07-07 08:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783392723000,"timestamp_ms":1783392723000,"timestamp_seconds":1783392723,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7d6038"} 
[2026-07-07 08:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 08:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548534784001,"66":27800,"39":206,"79":22016,"24":35,"16":340658569487581184,"45":8509129310107846656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,79,24,16,45]} 
[2026-07-07 08:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548534784001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:24:04] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-07 08:24:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-07 08:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340658569487581184,"km_value":340658569487581.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8509129310107846656,"description":"Unknown IO ID 45"} 
[2026-07-07 08:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548534784001,"power":27800,"unknown_39":206,"unknown_79":22016,"ignition":35,"odometer":null,"unknown_45":8509129310107846656}} 
[2026-07-07 08:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":124153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:24:04] local.INFO: GPS data processed {"connection_id":124153,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:24:04] local.INFO: Acknowledgment sent {"connection_id":124153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:24:14] local.INFO: TCP Data received {"connection_id":124255,"ip":"117.225.156.85","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124255,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:24:14] local.INFO: Processing buffer {"connection_id":124255,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:24:14] local.INFO: IMEI packet received {"connection_id":124255,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":124255,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:24:15] local.INFO: TCP Data received {"connection_id":124255,"ip":"117.225.156.85","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124255,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:24:15] local.INFO: Processing buffer {"connection_id":124255,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:24:15] local.INFO: IMEI packet received {"connection_id":124255,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":124255,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:24:20] local.INFO: TCP Data received {"connection_id":124255,"ip":"117.225.156.85","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124255,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:24:20] local.INFO: Processing buffer {"connection_id":124255,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:24:20] local.INFO: IMEI packet received {"connection_id":124255,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":124255,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:24:21] local.INFO: TCP Data received {"connection_id":124255,"ip":"117.225.156.85","data_length":795,"data_hex":"000000000000030f8e0a000000000004e2000100000000000000000000000000..."} 
[2026-07-07 08:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124255,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000004e2000100000000000000000000000000..."} 
[2026-07-07 08:24:21] local.INFO: Processing buffer {"connection_id":124255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000004e2000100000000000000000000000000..."} 
[2026-07-07 08:24:21] local.INFO: Packet analysis {"connection_id":124255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000004"} 
[2026-07-07 08:24:21] local.INFO: Extracted packet for processing {"connection_id":124255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000004"} 
[2026-07-07 08:24:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 08:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23264927309365248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:24:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 08:24:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":320000,"timestamp_seconds":320,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:24:21] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 08:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124255,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124255,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124255,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.156.85","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 08:24:21] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 08:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":124255,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 08:24:21] local.ERROR: GPS data processing failed {"connection_id":124255,"error":"No valid data to process"} 
[2026-07-07 08:24:21] local.INFO: Acknowledgment sent {"connection_id":124255,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 08:24:33] local.INFO: TCP Data received {"connection_id":124254,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7f4c68012d7b944005e6bce00006000528..."} 
[2026-07-07 08:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7f4c68012d7b944005e6bce00006000528..."} 
[2026-07-07 08:24:33] local.INFO: Processing buffer {"connection_id":124254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7f4c68012d7b944005e6bce00006000528..."} 
[2026-07-07 08:24:33] local.INFO: Packet analysis {"connection_id":124254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:24:33] local.INFO: Extracted packet for processing {"connection_id":124254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763073600,"raw_latitude":99007712,"longitude_deg":76.30736,"latitude_deg":9.9007712,"altitude":6,"angle":5,"satellites":40,"speed":23,"hex_longitude":"2d7b9440","hex_latitude":"05e6bce0","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548568576001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103236492511412224,"note":"Value kept but may cause issues"} 
[2026-07-07 08:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905023863540578304,"note":"Value kept but may cause issues"} 
[2026-07-07 08:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783392849000,"timestamp_ms":1783392849000,"timestamp_seconds":1783392849,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7f4c68"} 
[2026-07-07 08:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-07 08:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:24:33] 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-07-07 08:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548568576001,"66":13059,"95":206,"87":13824,"24":23,"16":103236492511412224,"45":8905023863540578304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-07 08:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548568576001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:24:33] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 08:24:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103236492511412224,"km_value":103236492511412.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905023863540578304,"description":"Unknown IO ID 45"} 
[2026-07-07 08:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548568576001,"power":13059,"unknown_95":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8905023863540578304}} 
[2026-07-07 08:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":124254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:24:33] local.INFO: GPS data processed {"connection_id":124254,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:24:33] local.INFO: Acknowledgment sent {"connection_id":124254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:24:36] local.INFO: TCP Data received {"connection_id":124153,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7ee2f0012d774640063376b00008007f2f..."} 
[2026-07-07 08:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7ee2f0012d774640063376b00008007f2f..."} 
[2026-07-07 08:24:36] local.INFO: Processing buffer {"connection_id":124153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7ee2f0012d774640063376b00008007f2f..."} 
[2026-07-07 08:24:36] local.INFO: Packet analysis {"connection_id":124153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7e"} 
[2026-07-07 08:24:36] local.INFO: Extracted packet for processing {"connection_id":124153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7e"} 
[2026-07-07 08:24:36] local.INFO: GPS Element Parsed {"raw_longitude":762791488,"raw_latitude":104036016,"longitude_deg":76.2791488,"latitude_deg":10.4036016,"altitude":8,"angle":127,"satellites":47,"speed":49,"hex_longitude":"2d774640","hex_latitude":"063376b0","is_valid_coordinates":true} 
[2026-07-07 08:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548560384001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340664006916177920,"note":"Value kept but may cause issues"} 
[2026-07-07 08:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8586112716216573952,"note":"Value kept but may cause issues"} 
[2026-07-07 08:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783392822000,"timestamp_ms":1783392822000,"timestamp_seconds":1783392822,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7ee2f0"} 
[2026-07-07 08:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 08:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548560384001,"66":28006,"253":206,"79":21504,"24":49,"16":340664006916177920,"45":8586112716216573952},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-07-07 08:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548560384001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:24:36] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-07 08:24:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340664006916177920,"km_value":340664006916177.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8586112716216573952,"description":"Unknown IO ID 45"} 
[2026-07-07 08:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548560384001,"power":28006,"unknown_253":206,"unknown_79":21504,"ignition":49,"odometer":null,"unknown_45":8586112716216573952}} 
[2026-07-07 08:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":124153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:24:36] local.INFO: GPS data processed {"connection_id":124153,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:24:36] local.INFO: Acknowledgment sent {"connection_id":124153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:24:52] local.INFO: TCP Data received {"connection_id":124255,"ip":"117.225.156.85","data_length":795,"data_hex":"000000000000030f8e0a00000000000534080100000000000000000000000000..."} 
[2026-07-07 08:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124255,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000534080100000000000000000000000000..."} 
[2026-07-07 08:24:52] local.INFO: Processing buffer {"connection_id":124255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000534080100000000000000000000000000..."} 
[2026-07-07 08:24:52] local.INFO: Packet analysis {"connection_id":124255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000005"} 
[2026-07-07 08:24:52] local.INFO: Extracted packet for processing {"connection_id":124255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000005"} 
[2026-07-07 08:24:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23264927309365248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:24:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 08:24:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":341000,"timestamp_seconds":341,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:24:52] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 08:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124255,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124255,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124255,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.156.85","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 08:24:52] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 08:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":124255,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 08:24:52] local.ERROR: GPS data processing failed {"connection_id":124255,"error":"No valid data to process"} 
[2026-07-07 08:24:52] local.INFO: Acknowledgment sent {"connection_id":124255,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 08:24:56] local.INFO: TCP Data received {"connection_id":126167,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:24:56] local.INFO: Processing buffer {"connection_id":126167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:24:56] local.INFO: IMEI packet received {"connection_id":126167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":126167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:24:56] local.INFO: TCP Data received {"connection_id":126167,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:24:56] local.INFO: Processing buffer {"connection_id":126167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:24:56] local.INFO: IMEI packet received {"connection_id":126167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":126167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:24:59] local.INFO: TCP Data received {"connection_id":126168,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:24:59] local.INFO: Processing buffer {"connection_id":126168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:24:59] local.INFO: IMEI packet received {"connection_id":126168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":126168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:25:00] local.INFO: TCP Data received {"connection_id":126167,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:25:00] local.INFO: Processing buffer {"connection_id":126167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:25:00] local.INFO: IMEI packet received {"connection_id":126167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":126167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:25:01] local.INFO: TCP Data received {"connection_id":126167,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:25:01] local.INFO: Processing buffer {"connection_id":126167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:25:01] local.INFO: IMEI packet received {"connection_id":126167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":126167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:25:02] local.INFO: TCP Data received {"connection_id":126167,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7f7378012d7b978005e6d8780006015f29..."} 
[2026-07-07 08:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7f7378012d7b978005e6d8780006015f29..."} 
[2026-07-07 08:25:02] local.INFO: Processing buffer {"connection_id":126167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7f7378012d7b978005e6d8780006015f29..."} 
[2026-07-07 08:25:02] local.INFO: Packet analysis {"connection_id":126167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:25:02] local.INFO: Extracted packet for processing {"connection_id":126167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763074432,"raw_latitude":99014776,"longitude_deg":76.3074432,"latitude_deg":9.9014776,"altitude":6,"angle":351,"satellites":41,"speed":28,"hex_longitude":"2d7b9780","hex_latitude":"05e6d878","is_valid_coordinates":true} 
[2026-07-07 08:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548569344001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103236840403763200,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904812757308465152,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783392859000,"timestamp_ms":1783392859000,"timestamp_seconds":1783392859,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7f7378"} 
[2026-07-07 08:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 08:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547480,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298071758,"corrected_to":0} 
[2026-07-07 08:25:02] local.WARNING: Large IO value detected {"io_id":101,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:02] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2147870260,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:02] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391949,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:02] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3277979648,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:02] local.WARNING: Large IO value detected {"io_id":40,"raw_value":58079734643818530,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:02] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,95,87,24,241,157,16,197,159,64,45,182,6,39,10,66,196,13,128,146,4,38,226,1,240,237,227,58,230,113,205,25,101,199,136,41,239,51,2,110,5,34,40],"length":486,"final_offset":616,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1298071758,"validated":0}]} 
[2026-07-07 08:25:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432351233585905664,"timestamp_seconds":432351233585905.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:25:02] 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-07-07 08:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548569344001,"66":13048,"95":206,"87":13824,"24":28,"16":103236840403763200,"45":8904812757308465152},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-07 08:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548569344001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:25:02] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 08:25:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103236840403763200,"km_value":103236840403763.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904812757308465152,"description":"Unknown IO ID 45"} 
[2026-07-07 08:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548569344001,"power":13048,"unknown_95":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8904812757308465152}} 
[2026-07-07 08:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":126167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:25:02] local.INFO: GPS data processed {"connection_id":126167,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:25:02] local.INFO: Acknowledgment sent {"connection_id":126167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:25:04] local.INFO: TCP Data received {"connection_id":126168,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:25:04] local.INFO: Processing buffer {"connection_id":126168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:25:04] local.INFO: IMEI packet received {"connection_id":126168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":126168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:25:05] local.INFO: TCP Data received {"connection_id":126168,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7efe48012d77620006336138000800802f..."} 
[2026-07-07 08:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7efe48012d77620006336138000800802f..."} 
[2026-07-07 08:25:05] local.INFO: Processing buffer {"connection_id":126168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7efe48012d77620006336138000800802f..."} 
[2026-07-07 08:25:05] local.INFO: Packet analysis {"connection_id":126168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7e"} 
[2026-07-07 08:25:05] local.INFO: Extracted packet for processing {"connection_id":126168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7e"} 
[2026-07-07 08:25:05] local.INFO: GPS Element Parsed {"raw_longitude":762798592,"raw_latitude":104030520,"longitude_deg":76.2798592,"latitude_deg":10.403052,"altitude":8,"angle":128,"satellites":47,"speed":51,"hex_longitude":"2d776200","hex_latitude":"06336138","is_valid_coordinates":true} 
[2026-07-07 08:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548562432001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340664436412907520,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8594627334260568064,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783392829000,"timestamp_ms":1783392829000,"timestamp_seconds":1783392829,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7efe48"} 
[2026-07-07 08:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 08:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548562432001,"66":27745,"253":206,"79":21504,"24":51,"16":340664436412907520,"45":8594627334260568064},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-07-07 08:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548562432001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:25:05] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-07 08:25:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340664436412907520,"km_value":340664436412907.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8594627334260568064,"description":"Unknown IO ID 45"} 
[2026-07-07 08:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548562432001,"power":27745,"unknown_253":206,"unknown_79":21504,"ignition":51,"odometer":null,"unknown_45":8594627334260568064}} 
[2026-07-07 08:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":126168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:25:05] local.INFO: GPS data processed {"connection_id":126168,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:25:05] local.INFO: Acknowledgment sent {"connection_id":126168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:25:07] local.INFO: TCP Data received {"connection_id":126167,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7f8ae8012d7b948005e6e5380006015128..."} 
[2026-07-07 08:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7f8ae8012d7b948005e6e5380006015128..."} 
[2026-07-07 08:25:07] local.INFO: Processing buffer {"connection_id":126167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7f8ae8012d7b948005e6e5380006015128..."} 
[2026-07-07 08:25:07] local.INFO: Packet analysis {"connection_id":126167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:25:07] local.INFO: Extracted packet for processing {"connection_id":126167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:25:07] local.INFO: GPS Element Parsed {"raw_longitude":763073664,"raw_latitude":99018040,"longitude_deg":76.3073664,"latitude_deg":9.901804,"altitude":6,"angle":337,"satellites":40,"speed":13,"hex_longitude":"2d7b9480","hex_latitude":"05e6e538","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548571904001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103237003612520448,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905727550984583168,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783392865000,"timestamp_ms":1783392865000,"timestamp_seconds":1783392865,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7f8ae8"} 
[2026-07-07 08:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:25: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-07-07 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 08:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:25:07] 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-07-07 08:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548571904001,"66":12765,"96":206,"87":13824,"24":13,"16":103237003612520448,"45":8905727550984583168},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548571904001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:25:07] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:25:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103237003612520448,"km_value":103237003612520.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905727550984583168,"description":"Unknown IO ID 45"} 
[2026-07-07 08:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548571904001,"power":12765,"unknown_96":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8905727550984583168}} 
[2026-07-07 08:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":126167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444326,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:25:07] local.INFO: GPS data processed {"connection_id":126167,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:25:07] local.INFO: Acknowledgment sent {"connection_id":126167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:25:15] local.INFO: TCP Data received {"connection_id":124154,"ip":"117.225.156.85","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124154,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:25:15] local.INFO: Processing buffer {"connection_id":124154,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:25:15] local.INFO: IMEI packet received {"connection_id":124154,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":124154,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:25:17] local.INFO: TCP Data received {"connection_id":124154,"ip":"117.225.156.85","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124154,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:25:17] local.INFO: Processing buffer {"connection_id":124154,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:25:17] local.INFO: IMEI packet received {"connection_id":124154,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":124154,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:25:20] local.INFO: TCP Data received {"connection_id":124154,"ip":"117.225.156.85","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124154,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:25:20] local.INFO: Processing buffer {"connection_id":124154,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:25:20] local.INFO: IMEI packet received {"connection_id":124154,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":124154,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:25:21] local.INFO: TCP Data received {"connection_id":124154,"ip":"117.225.156.85","data_length":795,"data_hex":"000000000000030f8e0a00000000000586100100000000000000000000000000..."} 
[2026-07-07 08:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124154,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000586100100000000000000000000000000..."} 
[2026-07-07 08:25:21] local.INFO: Processing buffer {"connection_id":124154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000586100100000000000000000000000000..."} 
[2026-07-07 08:25:21] local.INFO: Packet analysis {"connection_id":124154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000005"} 
[2026-07-07 08:25:21] local.INFO: Extracted packet for processing {"connection_id":124154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000005"} 
[2026-07-07 08:25:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 08:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23264927309365248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 08:25:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":362000,"timestamp_seconds":362,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:25:21] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 08:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124154,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124154,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124154,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.156.85","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 08:25:21] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 08:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":124154,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 08:25:21] local.ERROR: GPS data processing failed {"connection_id":124154,"error":"No valid data to process"} 
[2026-07-07 08:25:21] local.INFO: Acknowledgment sent {"connection_id":124154,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 08:25:25] local.INFO: TCP Data received {"connection_id":124154,"ip":"117.225.156.85","data_length":795,"data_hex":"000000000000030f8e0a000000000005d8180100000000000000000000000000..."} 
[2026-07-07 08:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124154,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000005d8180100000000000000000000000000..."} 
[2026-07-07 08:25:25] local.INFO: Processing buffer {"connection_id":124154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000005d8180100000000000000000000000000..."} 
[2026-07-07 08:25:25] local.INFO: Packet analysis {"connection_id":124154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000005"} 
[2026-07-07 08:25:25] local.INFO: Extracted packet for processing {"connection_id":124154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000005"} 
[2026-07-07 08:25:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 08:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23264927309365248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 08:25:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":383000,"timestamp_seconds":383,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:25:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 08:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":124154,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":124154,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":124154,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.156.85","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 08:25:25] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 08:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":124154,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 08:25:25] local.ERROR: GPS data processing failed {"connection_id":124154,"error":"No valid data to process"} 
[2026-07-07 08:25:25] local.INFO: Acknowledgment sent {"connection_id":124154,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 08:25:35] local.INFO: TCP Data received {"connection_id":126168,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7f19a0012d777dc006334a58000900832e..."} 
[2026-07-07 08:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7f19a0012d777dc006334a58000900832e..."} 
[2026-07-07 08:25:35] local.INFO: Processing buffer {"connection_id":126168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7f19a0012d777dc006334a58000900832e..."} 
[2026-07-07 08:25:35] local.INFO: Packet analysis {"connection_id":126168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:25:35] local.INFO: Extracted packet for processing {"connection_id":126168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:25:35] local.INFO: GPS Element Parsed {"raw_longitude":762805696,"raw_latitude":104024664,"longitude_deg":76.2805696,"latitude_deg":10.4024664,"altitude":9,"angle":131,"satellites":46,"speed":52,"hex_longitude":"2d777dc0","hex_latitude":"06334a58","is_valid_coordinates":true} 
[2026-07-07 08:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548564224001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340664878794539008,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8602438264862881792,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783392836000,"timestamp_ms":1783392836000,"timestamp_seconds":1783392836,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7f19a0"} 
[2026-07-07 08:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 08:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548564224001,"66":27865,"253":206,"79":21504,"24":52,"16":340664878794539008,"45":8602438264862881792},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-07-07 08:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548564224001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:25:35] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-07 08:25:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340664878794539008,"km_value":340664878794539.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8602438264862881792,"description":"Unknown IO ID 45"} 
[2026-07-07 08:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548564224001,"power":27865,"unknown_253":206,"unknown_79":21504,"ignition":52,"odometer":null,"unknown_45":8602438264862881792}} 
[2026-07-07 08:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":126168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:25:36] local.INFO: GPS data processed {"connection_id":126168,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:25:36] local.INFO: Acknowledgment sent {"connection_id":126168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:25:38] local.INFO: TCP Data received {"connection_id":126167,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7fd908012d7b884005e705d00008015d24..."} 
[2026-07-07 08:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7fd908012d7b884005e705d00008015d24..."} 
[2026-07-07 08:25:38] local.INFO: Processing buffer {"connection_id":126167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7fd908012d7b884005e705d00008015d24..."} 
[2026-07-07 08:25:38] local.INFO: Packet analysis {"connection_id":126167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:25:38] local.INFO: Extracted packet for processing {"connection_id":126167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:25:38] local.INFO: GPS Element Parsed {"raw_longitude":763070528,"raw_latitude":99026384,"longitude_deg":76.3070528,"latitude_deg":9.9026384,"altitude":8,"angle":349,"satellites":36,"speed":30,"hex_longitude":"2d7b8840","hex_latitude":"05e705d0","is_valid_coordinates":true} 
[2026-07-07 08:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548573440001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103237437404217344,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904883126055286784,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783392885000,"timestamp_ms":1783392885000,"timestamp_seconds":1783392885,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7fd908"} 
[2026-07-07 08:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:25: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-07-07 08:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 08:25: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-07-07 08:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:25:38] 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-07-07 08:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548573440001,"66":12982,"96":206,"87":13824,"24":30,"16":103237437404217344,"45":8904883126055286784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548573440001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:25:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:25:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103237437404217344,"km_value":103237437404217.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904883126055286784,"description":"Unknown IO ID 45"} 
[2026-07-07 08:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548573440001,"power":12982,"unknown_96":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8904883126055286784}} 
[2026-07-07 08:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":126167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:25:38] local.INFO: GPS data processed {"connection_id":126167,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:25:38] local.INFO: Acknowledgment sent {"connection_id":126167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:25:56] local.INFO: TCP Data received {"connection_id":124256,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:25:56] local.INFO: Processing buffer {"connection_id":124256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:25:56] local.INFO: IMEI packet received {"connection_id":124256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":124256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:25:57] local.INFO: TCP Data received {"connection_id":124154,"ip":"117.225.156.85","data_length":795,"data_hex":"000000000000030f8e0a0000000000062a200100000000000000000000000000..."} 
[2026-07-07 08:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000062a200100000000000000000000000000..."} 
[2026-07-07 08:25:57] local.INFO: Processing buffer {"connection_id":124154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000062a200100000000000000000000000000..."} 
[2026-07-07 08:25:57] local.INFO: Packet analysis {"connection_id":124154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000006"} 
[2026-07-07 08:25:57] local.INFO: Extracted packet for processing {"connection_id":124154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000006"} 
[2026-07-07 08:25:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 08:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23264927309365248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:25:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 08:25:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":404000,"timestamp_seconds":404,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:25:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 08:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":124154,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":124154,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":124154,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.156.85","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 08:25:57] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 08:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":124154,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 08:25:57] local.ERROR: GPS data processing failed {"connection_id":124154,"error":"No valid data to process"} 
[2026-07-07 08:25:57] local.INFO: Acknowledgment sent {"connection_id":124154,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 08:25:59] local.INFO: TCP Data received {"connection_id":124156,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:25:59] local.INFO: Processing buffer {"connection_id":124156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:25:59] local.INFO: IMEI packet received {"connection_id":124156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":124156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:26:01] local.INFO: TCP Data received {"connection_id":124256,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:26:01] local.INFO: Processing buffer {"connection_id":124256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:26:01] local.INFO: IMEI packet received {"connection_id":124256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":124256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:26:02] local.INFO: TCP Data received {"connection_id":124256,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7fd908012d7b884005e705d00008015d24..."} 
[2026-07-07 08:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7fd908012d7b884005e705d00008015d24..."} 
[2026-07-07 08:26:02] local.INFO: Processing buffer {"connection_id":124256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7fd908012d7b884005e705d00008015d24..."} 
[2026-07-07 08:26:02] local.INFO: Packet analysis {"connection_id":124256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:26:02] local.INFO: Extracted packet for processing {"connection_id":124256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763070528,"raw_latitude":99026384,"longitude_deg":76.3070528,"latitude_deg":9.9026384,"altitude":8,"angle":349,"satellites":36,"speed":30,"hex_longitude":"2d7b8840","hex_latitude":"05e705d0","is_valid_coordinates":true} 
[2026-07-07 08:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548578560001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103237437404217344,"note":"Value kept but may cause issues"} 
[2026-07-07 08:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057592717312,"note":"Value kept but may cause issues"} 
[2026-07-07 08:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783392885000,"timestamp_ms":1783392885000,"timestamp_seconds":1783392885,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7fd908"} 
[2026-07-07 08:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-07 08:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:26:02] 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-07-07 08:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548578560001,"66":12982,"96":206,"87":13824,"24":30,"16":103237437404217344,"45":8901435057592717312},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548578560001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:26:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:26:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103237437404217344,"km_value":103237437404217.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057592717312,"description":"Unknown IO ID 45"} 
[2026-07-07 08:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548578560001,"power":12982,"unknown_96":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8901435057592717312}} 
[2026-07-07 08:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":124256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:26:02] local.INFO: GPS data processed {"connection_id":124256,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:26:02] local.INFO: Acknowledgment sent {"connection_id":124256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:26:04] local.INFO: TCP Data received {"connection_id":124156,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:26:04] local.INFO: Processing buffer {"connection_id":124156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:26:04] local.INFO: IMEI packet received {"connection_id":124156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":124156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:26:04] local.INFO: TCP Data received {"connection_id":124156,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:26:04] local.INFO: Processing buffer {"connection_id":124156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:26:04] local.INFO: IMEI packet received {"connection_id":124156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":124156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:26:05] local.INFO: TCP Data received {"connection_id":124156,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7f34f8012d77984006333130000900872e..."} 
[2026-07-07 08:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7f34f8012d77984006333130000900872e..."} 
[2026-07-07 08:26:05] local.INFO: Processing buffer {"connection_id":124156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7f34f8012d77984006333130000900872e..."} 
[2026-07-07 08:26:05] local.INFO: Packet analysis {"connection_id":124156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:26:05] local.INFO: Extracted packet for processing {"connection_id":124156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:26:05] local.INFO: GPS Element Parsed {"raw_longitude":762812480,"raw_latitude":104018224,"longitude_deg":76.281248,"latitude_deg":10.4018224,"altitude":9,"angle":135,"satellites":46,"speed":53,"hex_longitude":"2d779840","hex_latitude":"06333130","is_valid_coordinates":true} 
[2026-07-07 08:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548566016001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340665329766105088,"note":"Value kept but may cause issues"} 
[2026-07-07 08:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8610249195465103360,"note":"Value kept but may cause issues"} 
[2026-07-07 08:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783392843000,"timestamp_ms":1783392843000,"timestamp_seconds":1783392843,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7f34f8"} 
[2026-07-07 08:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 08:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548566016001,"66":27789,"253":206,"79":21504,"24":53,"16":340665329766105088,"45":8610249195465103360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-07-07 08:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548566016001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:26:05] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-07 08:26:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340665329766105088,"km_value":340665329766105.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8610249195465103360,"description":"Unknown IO ID 45"} 
[2026-07-07 08:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548566016001,"power":27789,"unknown_253":206,"unknown_79":21504,"ignition":53,"odometer":null,"unknown_45":8610249195465103360}} 
[2026-07-07 08:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":124156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:26:05] local.INFO: GPS data processed {"connection_id":124156,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:26:05] local.INFO: Acknowledgment sent {"connection_id":124156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:26:10] local.INFO: TCP Data received {"connection_id":124156,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7f5050012d77b200063315b00009008a2f..."} 
[2026-07-07 08:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7f5050012d77b200063315b00009008a2f..."} 
[2026-07-07 08:26:10] local.INFO: Processing buffer {"connection_id":124156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7f5050012d77b200063315b00009008a2f..."} 
[2026-07-07 08:26:10] local.INFO: Packet analysis {"connection_id":124156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:26:10] local.INFO: Extracted packet for processing {"connection_id":124156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:26:10] local.INFO: GPS Element Parsed {"raw_longitude":762819072,"raw_latitude":104011184,"longitude_deg":76.2819072,"latitude_deg":10.4011184,"altitude":9,"angle":138,"satellites":47,"speed":55,"hex_longitude":"2d77b200","hex_latitude":"063315b0","is_valid_coordinates":true} 
[2026-07-07 08:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548567808001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340665789327605760,"note":"Value kept but may cause issues"} 
[2026-07-07 08:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8617708282346287104,"note":"Value kept but may cause issues"} 
[2026-07-07 08:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783392850000,"timestamp_ms":1783392850000,"timestamp_seconds":1783392850,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7f5050"} 
[2026-07-07 08:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:26: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-07-07 08:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-07 08:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548567808001,"66":27745,"223":206,"79":21504,"24":55,"16":340665789327605760,"45":8617708282346287104},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,79,24,16,45]} 
[2026-07-07 08:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548567808001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:26:10] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-07-07 08:26:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340665789327605760,"km_value":340665789327605.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8617708282346287104,"description":"Unknown IO ID 45"} 
[2026-07-07 08:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548567808001,"power":27745,"unknown_223":206,"unknown_79":21504,"ignition":55,"odometer":null,"unknown_45":8617708282346287104}} 
[2026-07-07 08:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":124156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:26:10] local.INFO: GPS data processed {"connection_id":124156,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:26:10] local.INFO: Acknowledgment sent {"connection_id":124156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:26:15] local.INFO: TCP Data received {"connection_id":124257,"ip":"117.225.156.85","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124257,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:26:15] local.INFO: Processing buffer {"connection_id":124257,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:26:15] local.INFO: IMEI packet received {"connection_id":124257,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":124257,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:26:20] local.INFO: TCP Data received {"connection_id":124257,"ip":"117.225.156.85","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124257,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:26:20] local.INFO: Processing buffer {"connection_id":124257,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:26:20] local.INFO: IMEI packet received {"connection_id":124257,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":124257,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:26:22] local.INFO: TCP Data received {"connection_id":124257,"ip":"117.225.156.85","data_length":795,"data_hex":"000000000000030f8e0a0000000000067c280100000000000000000000000000..."} 
[2026-07-07 08:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000067c280100000000000000000000000000..."} 
[2026-07-07 08:26:22] local.INFO: Processing buffer {"connection_id":124257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000067c280100000000000000000000000000..."} 
[2026-07-07 08:26:22] local.INFO: Packet analysis {"connection_id":124257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000006"} 
[2026-07-07 08:26:22] local.INFO: Extracted packet for processing {"connection_id":124257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000006"} 
[2026-07-07 08:26:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 08:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23264927309365248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:26:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 08:26:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":425000,"timestamp_seconds":425,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:26:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 08:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124257,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124257,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124257,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 08:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.156.85","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 08:26:22] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 08:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":124257,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 08:26:22] local.ERROR: GPS data processing failed {"connection_id":124257,"error":"No valid data to process"} 
[2026-07-07 08:26:22] local.INFO: Acknowledgment sent {"connection_id":124257,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 08:26:34] local.INFO: TCP Data received {"connection_id":124256,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7fe4c0012d7b864005e70df80007014f26..."} 
[2026-07-07 08:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7fe4c0012d7b864005e70df80007014f26..."} 
[2026-07-07 08:26:34] local.INFO: Processing buffer {"connection_id":124256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7fe4c0012d7b864005e70df80007014f26..."} 
[2026-07-07 08:26:34] local.INFO: Packet analysis {"connection_id":124256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:26:34] local.INFO: Extracted packet for processing {"connection_id":124256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:26:34] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":99028472,"longitude_deg":76.3070016,"latitude_deg":9.9028472,"altitude":7,"angle":335,"satellites":38,"speed":26,"hex_longitude":"2d7b8640","hex_latitude":"05e70df8","is_valid_coordinates":true} 
[2026-07-07 08:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548578560001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103237544778399744,"note":"Value kept but may cause issues"} 
[2026-07-07 08:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057592717312,"note":"Value kept but may cause issues"} 
[2026-07-07 08:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783392888000,"timestamp_ms":1783392888000,"timestamp_seconds":1783392888,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7fe4c0"} 
[2026-07-07 08:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:26: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-07-07 08:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-07 08:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:26:34] 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-07-07 08:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548578560001,"66":13319,"96":206,"87":13824,"24":26,"16":103237544778399744,"45":8901435057592717312},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548578560001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:26:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:26:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103237544778399744,"km_value":103237544778399.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057592717312,"description":"Unknown IO ID 45"} 
[2026-07-07 08:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548578560001,"power":13319,"unknown_96":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8901435057592717312}} 
[2026-07-07 08:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":124256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:26:34] local.INFO: GPS data processed {"connection_id":124256,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:26:34] local.INFO: Acknowledgment sent {"connection_id":124256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:26:41] local.INFO: TCP Data received {"connection_id":124156,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a80afe0012d78a9400631a530000b00a72e..."} 
[2026-07-07 08:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a80afe0012d78a9400631a530000b00a72e..."} 
[2026-07-07 08:26:41] local.INFO: Processing buffer {"connection_id":124156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a80afe0012d78a9400631a530000b00a72e..."} 
[2026-07-07 08:26:41] local.INFO: Packet analysis {"connection_id":124156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a80"} 
[2026-07-07 08:26:41] local.INFO: Extracted packet for processing {"connection_id":124156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a80"} 
[2026-07-07 08:26:41] local.INFO: GPS Element Parsed {"raw_longitude":762882368,"raw_latitude":103916848,"longitude_deg":76.2882368,"latitude_deg":10.3916848,"altitude":11,"angle":167,"satellites":46,"speed":48,"hex_longitude":"2d78a940","hex_latitude":"0631a530","is_valid_coordinates":true} 
[2026-07-07 08:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548590592001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340671321245483008,"note":"Value kept but may cause issues"} 
[2026-07-07 08:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8691384357476679680,"note":"Value kept but may cause issues"} 
[2026-07-07 08:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783392940000,"timestamp_ms":1783392940000,"timestamp_seconds":1783392940,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a80afe0"} 
[2026-07-07 08:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 08:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548590592001,"66":27876,"222":206,"79":21504,"24":48,"16":340671321245483008,"45":8691384357476679680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,79,24,16,45]} 
[2026-07-07 08:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548590592001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:26:41] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-07-07 08:26:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340671321245483008,"km_value":340671321245483.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8691384357476679680,"description":"Unknown IO ID 45"} 
[2026-07-07 08:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548590592001,"power":27876,"unknown_222":206,"unknown_79":21504,"ignition":48,"odometer":null,"unknown_45":8691384357476679680}} 
[2026-07-07 08:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":124156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:26:41] local.INFO: GPS data processed {"connection_id":124156,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:26:41] local.INFO: Acknowledgment sent {"connection_id":124156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:26:53] local.INFO: TCP Data received {"connection_id":124257,"ip":"117.225.156.85","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a81b598012d0b01000702c548001f00450a..."} 
[2026-07-07 08:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a81b598012d0b01000702c548001f00450a..."} 
[2026-07-07 08:26:53] local.INFO: Processing buffer {"connection_id":124257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a81b598012d0b01000702c548001f00450a..."} 
[2026-07-07 08:26:53] local.INFO: Packet analysis {"connection_id":124257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a81"} 
[2026-07-07 08:26:53] local.INFO: Extracted packet for processing {"connection_id":124257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a81"} 
[2026-07-07 08:26:53] local.INFO: GPS Element Parsed {"raw_longitude":755695872,"raw_latitude":117622088,"longitude_deg":75.5695872,"latitude_deg":11.7622088,"altitude":31,"angle":69,"satellites":10,"speed":11,"hex_longitude":"2d0b0100","hex_latitude":"0702c548","is_valid_coordinates":true} 
[2026-07-07 08:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548609536001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23265348216160256,"note":"Value kept but may cause issues"} 
[2026-07-07 08:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792703933272608768,"note":"Value kept but may cause issues"} 
[2026-07-07 08:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783393007000,"timestamp_ms":1783393007000,"timestamp_seconds":1783393007,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a81b598"} 
[2026-07-07 08:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 08:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":124257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":124257,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":124257,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.156.85","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548609536001,"66":14439,"21":206,"28":32256,"24":11,"16":23265348216160256,"45":792703933272608768},"client_ip":"117.225.156.85","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-07-07 08:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548609536001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:26:53] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-07 08:26:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-07 08:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23265348216160256,"km_value":23265348216160.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":792703933272608768,"description":"Unknown IO ID 45"} 
[2026-07-07 08:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548609536001,"power":14439,"unknown_21":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_45":792703933272608768}} 
[2026-07-07 08:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":124257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444334,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:26:53] local.INFO: GPS data processed {"connection_id":124257,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:26:53] local.INFO: Acknowledgment sent {"connection_id":124257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:27:01] local.INFO: TCP Data received {"connection_id":124157,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:27:01] local.INFO: Processing buffer {"connection_id":124157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:27:01] local.INFO: IMEI packet received {"connection_id":124157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":124157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:27:06] local.INFO: TCP Data received {"connection_id":124157,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:27:06] local.INFO: Processing buffer {"connection_id":124157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:27:06] local.INFO: IMEI packet received {"connection_id":124157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":124157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:27:07] local.INFO: TCP Data received {"connection_id":124157,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7fec90012d7b834005e712380007014126..."} 
[2026-07-07 08:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7fec90012d7b834005e712380007014126..."} 
[2026-07-07 08:27:07] local.INFO: Processing buffer {"connection_id":124157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7fec90012d7b834005e712380007014126..."} 
[2026-07-07 08:27:07] local.INFO: Packet analysis {"connection_id":124157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:27:07] local.INFO: Extracted packet for processing {"connection_id":124157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:27:07] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":99029560,"longitude_deg":76.3069248,"latitude_deg":9.902956,"altitude":7,"angle":321,"satellites":38,"speed":25,"hex_longitude":"2d7b8340","hex_latitude":"05e71238","is_valid_coordinates":true} 
[2026-07-07 08:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548579328001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103237604907941888,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107639830528,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783392890000,"timestamp_ms":1783392890000,"timestamp_seconds":1783392890,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7fec90"} 
[2026-07-07 08:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 08:27:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3870717952,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:07] local.WARNING: Large IO value detected {"io_id":197,"raw_value":2181038080,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:07] local.WARNING: Large IO value detected {"io_id":230,"raw_value":-7865536732000147968,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298071758,"corrected_to":0} 
[2026-07-07 08:27:07] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3305832448,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:07] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57787440656439094,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:07] local.WARNING: Large IO value detected {"io_id":127,"raw_value":1002052211949010949,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:07] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,96,87,24,241,157,16,198,159,217,45,64,5,8,36,10,66,197,138,128,1,240,221,227,58,230,4,113,205,28,76,148,224,40,239,51,95,2,110,6,182,127],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1298071758,"validated":0}]} 
[2026-07-07 08:27:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504771657871261696,"timestamp_seconds":504771657871261.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:27:07] 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-07-07 08:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548579328001,"66":13059,"96":206,"87":13824,"24":25,"16":103237604907941888,"45":8900872107639830528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548579328001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:27:07] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:27:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103237604907941888,"km_value":103237604907941.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107639830528,"description":"Unknown IO ID 45"} 
[2026-07-07 08:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548579328001,"power":13059,"unknown_96":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8900872107639830528}} 
[2026-07-07 08:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":124157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:27:07] local.INFO: GPS data processed {"connection_id":124157,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:27:07] local.INFO: Acknowledgment sent {"connection_id":124157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:27:08] local.INFO: TCP Data received {"connection_id":124157,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7ffc30012d7b7d4005e71a280006014f28..."} 
[2026-07-07 08:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7ffc30012d7b7d4005e71a280006014f28..."} 
[2026-07-07 08:27:08] local.INFO: Processing buffer {"connection_id":124157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7ffc30012d7b7d4005e71a280006014f28..."} 
[2026-07-07 08:27:08] local.INFO: Packet analysis {"connection_id":124157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:27:08] local.INFO: Extracted packet for processing {"connection_id":124157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7f"} 
[2026-07-07 08:27:08] local.INFO: GPS Element Parsed {"raw_longitude":763067712,"raw_latitude":99031592,"longitude_deg":76.3067712,"latitude_deg":9.9031592,"altitude":6,"angle":335,"satellites":40,"speed":26,"hex_longitude":"2d7b7d40","hex_latitude":"05e71a28","is_valid_coordinates":true} 
[2026-07-07 08:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548579840001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103237729461993472,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682709977088,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783392894000,"timestamp_ms":1783392894000,"timestamp_seconds":1783392894,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7ffc30"} 
[2026-07-07 08:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:27: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-07-07 08:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 08:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861261,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3871137792,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:08] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3875536896,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:08] local.WARNING: Large IO value detected {"io_id":230,"raw_value":3845652486,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-07-07 08:27:08] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2147870424,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:08] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802125,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:08] local.WARNING: Large IO value detected {"io_id":95,"raw_value":58079734643818519,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:08] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3311140864,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:08] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,96,87,24,241,157,16,198,159,228,45,64,13,7,38,10,66,217,5,8,36,197,1,240,182,227,58,230,4,113,205,115,151,120,41,239,50,95,2,110,6,23],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1298137294,"validated":0}]} 
[2026-07-07 08:27:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504756264708407296,"timestamp_seconds":504756264708407.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:27:08] 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-07-07 08:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548579840001,"66":13135,"96":206,"87":13824,"24":26,"16":103237729461993472,"45":8900027682709977088},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548579840001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:27:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:27:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103237729461993472,"km_value":103237729461993.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682709977088,"description":"Unknown IO ID 45"} 
[2026-07-07 08:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548579840001,"power":13135,"unknown_96":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8900027682709977088}} 
[2026-07-07 08:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":124157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:27:08] local.INFO: GPS data processed {"connection_id":124157,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:27:08] local.INFO: Acknowledgment sent {"connection_id":124157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:27:09] local.INFO: TCP Data received {"connection_id":126171,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:27:09] local.INFO: Processing buffer {"connection_id":126171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:27:09] local.INFO: IMEI packet received {"connection_id":126171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":126171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:27:11] local.INFO: TCP Data received {"connection_id":126171,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:27:11] local.INFO: Processing buffer {"connection_id":126171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:27:11] local.INFO: IMEI packet received {"connection_id":126171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":126171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:27:15] local.INFO: TCP Data received {"connection_id":126171,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:27:15] local.INFO: Processing buffer {"connection_id":126171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:27:15] local.INFO: IMEI packet received {"connection_id":126171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":126171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:27:15] local.INFO: TCP Data received {"connection_id":126170,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:27:15] local.INFO: Processing buffer {"connection_id":126170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:27:15] local.INFO: IMEI packet received {"connection_id":126170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 08:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":126170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:27:40] local.INFO: TCP Data received {"connection_id":124157,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a800bd0012d7b7a8005e725000006015a29..."} 
[2026-07-07 08:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a800bd0012d7b7a8005e725000006015a29..."} 
[2026-07-07 08:27:40] local.INFO: Processing buffer {"connection_id":124157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a800bd0012d7b7a8005e725000006015a29..."} 
[2026-07-07 08:27:40] local.INFO: Packet analysis {"connection_id":124157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a80"} 
[2026-07-07 08:27:40] local.INFO: Extracted packet for processing {"connection_id":124157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a80"} 
[2026-07-07 08:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763067008,"raw_latitude":99034368,"longitude_deg":76.3067008,"latitude_deg":9.9034368,"altitude":6,"angle":346,"satellites":41,"speed":28,"hex_longitude":"2d7b7a80","hex_latitude":"05e72500","is_valid_coordinates":true} 
[2026-07-07 08:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548580864001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103237866900946944,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898338832850233344,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783392898000,"timestamp_ms":1783392898000,"timestamp_seconds":1783392898,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a800bd0"} 
[2026-07-07 08:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:27: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-07-07 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 08:27: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-07-07 08:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:27: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-07-07 08:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548580864001,"66":13037,"96":206,"87":13824,"24":28,"16":103237866900946944,"45":8898338832850233344},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548580864001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:27:40] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:27:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103237866900946944,"km_value":103237866900946.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898338832850233344,"description":"Unknown IO ID 45"} 
[2026-07-07 08:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548580864001,"power":13037,"unknown_96":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8898338832850233344}} 
[2026-07-07 08:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":124157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:27:40] local.INFO: GPS data processed {"connection_id":124157,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:27:40] local.INFO: Acknowledgment sent {"connection_id":124157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:27:47] local.INFO: TCP Data received {"connection_id":126171,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a80cf20012d78afc006318010000a00ac2d..."} 
[2026-07-07 08:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a80cf20012d78afc006318010000a00ac2d..."} 
[2026-07-07 08:27:47] local.INFO: Processing buffer {"connection_id":126171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a80cf20012d78afc006318010000a00ac2d..."} 
[2026-07-07 08:27:47] local.INFO: Packet analysis {"connection_id":126171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a80"} 
[2026-07-07 08:27:47] local.INFO: Extracted packet for processing {"connection_id":126171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a80"} 
[2026-07-07 08:27:47] local.INFO: GPS Element Parsed {"raw_longitude":762884032,"raw_latitude":103907344,"longitude_deg":76.2884032,"latitude_deg":10.3907344,"altitude":10,"angle":172,"satellites":45,"speed":48,"hex_longitude":"2d78afc0","hex_latitude":"06318010","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548592640001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340671785101950976,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694550950962343936,"note":"Value kept but may cause issues"} 
[2026-07-07 08:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783392948000,"timestamp_ms":1783392948000,"timestamp_seconds":1783392948,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a80cf20"} 
[2026-07-07 08:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08: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-07-07 08: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-07-07 08: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-07-07 08:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":126171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":126171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":126171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548592640001,"66":27517,"222":206,"79":21504,"24":48,"16":340671785101950976,"45":8694550950962343936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,79,24,16,45]} 
[2026-07-07 08:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548592640001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:27:47] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-07-07 08:27:47] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340671785101950976,"km_value":340671785101951.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694550950962343936,"description":"Unknown IO ID 45"} 
[2026-07-07 08:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548592640001,"power":27517,"unknown_222":206,"unknown_79":21504,"ignition":48,"odometer":null,"unknown_45":8694550950962343936}} 
[2026-07-07 08:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":126171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:27:47] local.INFO: GPS data processed {"connection_id":126171,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:27:47] local.INFO: Acknowledgment sent {"connection_id":126171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:27:56] local.INFO: TCP Data received {"connection_id":124258,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:27:56] local.INFO: Processing buffer {"connection_id":124258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:27:56] local.INFO: IMEI packet received {"connection_id":124258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":124258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:27:59] local.INFO: TCP Data received {"connection_id":124259,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:27:59] local.INFO: Processing buffer {"connection_id":124259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:27:59] local.INFO: IMEI packet received {"connection_id":124259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 08:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":124259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:28:01] local.INFO: TCP Data received {"connection_id":124258,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:28:01] local.INFO: Processing buffer {"connection_id":124258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:28:01] local.INFO: IMEI packet received {"connection_id":124258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":124258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:28:02] local.INFO: TCP Data received {"connection_id":124258,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a805dd8012d7b764005e733500006015426..."} 
[2026-07-07 08:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a805dd8012d7b764005e733500006015426..."} 
[2026-07-07 08:28:02] local.INFO: Processing buffer {"connection_id":124258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a805dd8012d7b764005e733500006015426..."} 
[2026-07-07 08:28:02] local.INFO: Packet analysis {"connection_id":124258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a80"} 
[2026-07-07 08:28:02] local.INFO: Extracted packet for processing {"connection_id":124258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a80"} 
[2026-07-07 08:28:02] local.INFO: GPS Element Parsed {"raw_longitude":763065920,"raw_latitude":99038032,"longitude_deg":76.306592,"latitude_deg":9.9038032,"altitude":6,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d7b7640","hex_latitude":"05e73350","is_valid_coordinates":true} 
[2026-07-07 08:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548581888001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103238055879507968,"note":"Value kept but may cause issues"} 
[2026-07-07 08:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897564776664989696,"note":"Value kept but may cause issues"} 
[2026-07-07 08:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783392919000,"timestamp_ms":1783392919000,"timestamp_seconds":1783392919,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a805dd8"} 
[2026-07-07 08:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 08:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:28:02] 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-07-07 08:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548581888001,"66":12852,"96":206,"87":13824,"24":0,"16":103238055879507968,"45":8897564776664989696},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548581888001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:28:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:28:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103238055879507968,"km_value":103238055879507.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897564776664989696,"description":"Unknown IO ID 45"} 
[2026-07-07 08:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548581888001,"power":12852,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8897564776664989696}} 
[2026-07-07 08:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":124258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:28:02] local.INFO: GPS data processed {"connection_id":124258,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:28:02] local.INFO: Acknowledgment sent {"connection_id":124258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:28:09] local.INFO: TCP Data received {"connection_id":126172,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:28:09] local.INFO: Processing buffer {"connection_id":126172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:28:09] local.INFO: IMEI packet received {"connection_id":126172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":126172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:28:13] local.INFO: TCP Data received {"connection_id":126172,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:28:13] local.INFO: Processing buffer {"connection_id":126172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:28:13] local.INFO: IMEI packet received {"connection_id":126172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":126172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:28:14] local.INFO: TCP Data received {"connection_id":126172,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:28:14] local.INFO: Processing buffer {"connection_id":126172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:28:14] local.INFO: IMEI packet received {"connection_id":126172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":126172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:28:20] local.INFO: TCP Data received {"connection_id":126172,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a81e090012d797a00063054c0000b00732d..."} 
[2026-07-07 08:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a81e090012d797a00063054c0000b00732d..."} 
[2026-07-07 08:28:20] local.INFO: Processing buffer {"connection_id":126172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a81e090012d797a00063054c0000b00732d..."} 
[2026-07-07 08:28:20] local.INFO: Packet analysis {"connection_id":126172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a81"} 
[2026-07-07 08:28:20] local.INFO: Extracted packet for processing {"connection_id":126172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a81"} 
[2026-07-07 08:28:20] local.INFO: GPS Element Parsed {"raw_longitude":762935808,"raw_latitude":103830720,"longitude_deg":76.2935808,"latitude_deg":10.383072,"altitude":11,"angle":115,"satellites":45,"speed":53,"hex_longitude":"2d797a00","hex_latitude":"063054c0","is_valid_coordinates":true} 
[2026-07-07 08:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548611072001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340676561105584128,"note":"Value kept but may cause issues"} 
[2026-07-07 08:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8745568290470180864,"note":"Value kept but may cause issues"} 
[2026-07-07 08:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783393018000,"timestamp_ms":1783393018000,"timestamp_seconds":1783393018,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a81e090"} 
[2026-07-07 08:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 08:28: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-07-07 08:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":126172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":126172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":126172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548611072001,"66":27800,"187":206,"79":21504,"24":53,"16":340676561105584128,"45":8745568290470180864},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-07-07 08:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548611072001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:28:20] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-07 08:28:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340676561105584128,"km_value":340676561105584.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8745568290470180864,"description":"Unknown IO ID 45"} 
[2026-07-07 08:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548611072001,"power":27800,"unknown_187":206,"unknown_79":21504,"ignition":53,"odometer":null,"unknown_45":8745568290470180864}} 
[2026-07-07 08:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":126172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:28:20] local.INFO: GPS data processed {"connection_id":126172,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:28:20] local.INFO: Acknowledgment sent {"connection_id":126172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:28:21] local.INFO: TCP Data received {"connection_id":126172,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a81fbe8012d799b4006304540000c00722e..."} 
[2026-07-07 08:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a81fbe8012d799b4006304540000c00722e..."} 
[2026-07-07 08:28:21] local.INFO: Processing buffer {"connection_id":126172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a81fbe8012d799b4006304540000c00722e..."} 
[2026-07-07 08:28:21] local.INFO: Packet analysis {"connection_id":126172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a81"} 
[2026-07-07 08:28:21] local.INFO: Extracted packet for processing {"connection_id":126172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a81"} 
[2026-07-07 08:28:21] local.INFO: GPS Element Parsed {"raw_longitude":762944320,"raw_latitude":103826752,"longitude_deg":76.294432,"latitude_deg":10.3826752,"altitude":12,"angle":114,"satellites":46,"speed":52,"hex_longitude":"2d799b40","hex_latitude":"06304540","is_valid_coordinates":true} 
[2026-07-07 08:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548612608001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340677012077150208,"note":"Value kept but may cause issues"} 
[2026-07-07 08:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8753308852328644608,"note":"Value kept but may cause issues"} 
[2026-07-07 08:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783393025000,"timestamp_ms":1783393025000,"timestamp_seconds":1783393025,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a81fbe8"} 
[2026-07-07 08:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 08:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548612608001,"66":27865,"187":206,"79":21504,"24":52,"16":340677012077150208,"45":8753308852328644608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-07-07 08:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548612608001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:28:21] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-07 08:28:21] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340677012077150208,"km_value":340677012077150.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8753308852328644608,"description":"Unknown IO ID 45"} 
[2026-07-07 08:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548612608001,"power":27865,"unknown_187":206,"unknown_79":21504,"ignition":52,"odometer":null,"unknown_45":8753308852328644608}} 
[2026-07-07 08:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":126172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:28:21] local.INFO: GPS data processed {"connection_id":126172,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:28:21] local.INFO: Acknowledgment sent {"connection_id":126172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:28:33] local.INFO: TCP Data received {"connection_id":124258,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a80afe0012d7b764005e733500006015427..."} 
[2026-07-07 08:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a80afe0012d7b764005e733500006015427..."} 
[2026-07-07 08:28:33] local.INFO: Processing buffer {"connection_id":124258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a80afe0012d7b764005e733500006015427..."} 
[2026-07-07 08:28:33] local.INFO: Packet analysis {"connection_id":124258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a80"} 
[2026-07-07 08:28:33] local.INFO: Extracted packet for processing {"connection_id":124258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a80"} 
[2026-07-07 08:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763065920,"raw_latitude":99038032,"longitude_deg":76.306592,"latitude_deg":9.9038032,"altitude":6,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d7b7640","hex_latitude":"05e73350","is_valid_coordinates":true} 
[2026-07-07 08:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548587264001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103238055879507968,"note":"Value kept but may cause issues"} 
[2026-07-07 08:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896368508014907392,"note":"Value kept but may cause issues"} 
[2026-07-07 08:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783392940000,"timestamp_ms":1783392940000,"timestamp_seconds":1783392940,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a80afe0"} 
[2026-07-07 08:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-07 08:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:28:33] 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-07-07 08:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548587264001,"66":12798,"96":206,"87":13824,"24":0,"16":103238055879507968,"45":8896368508014907392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548587264001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:28:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:28:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103238055879507968,"km_value":103238055879507.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896368508014907392,"description":"Unknown IO ID 45"} 
[2026-07-07 08:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548587264001,"power":12798,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8896368508014907392}} 
[2026-07-07 08:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":124258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:28:34] local.INFO: GPS data processed {"connection_id":124258,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:28:34] local.INFO: Acknowledgment sent {"connection_id":124258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:28:40] local.INFO: TCP Data received {"connection_id":124158,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124158,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:28:40] local.INFO: Processing buffer {"connection_id":124158,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:28:40] local.INFO: IMEI packet received {"connection_id":124158,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":124158,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:28:45] local.INFO: TCP Data received {"connection_id":124158,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124158,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:28:45] local.INFO: Processing buffer {"connection_id":124158,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:28:45] local.INFO: IMEI packet received {"connection_id":124158,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":124158,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:28:47] local.INFO: TCP Data received {"connection_id":124158,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a831140012d0b484007029fe00010008c0d..."} 
[2026-07-07 08:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a831140012d0b484007029fe00010008c0d..."} 
[2026-07-07 08:28:47] local.INFO: Processing buffer {"connection_id":124158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a831140012d0b484007029fe00010008c0d..."} 
[2026-07-07 08:28:47] local.INFO: Packet analysis {"connection_id":124158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a83"} 
[2026-07-07 08:28:47] local.INFO: Extracted packet for processing {"connection_id":124158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a83"} 
[2026-07-07 08:28:47] local.INFO: GPS Element Parsed {"raw_longitude":755714112,"raw_latitude":117612512,"longitude_deg":75.5714112,"latitude_deg":11.7612512,"altitude":16,"angle":140,"satellites":13,"speed":14,"hex_longitude":"2d0b4840","hex_latitude":"07029fe0","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548630784001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23266507857330176,"note":"Value kept but may cause issues"} 
[2026-07-07 08:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811703494198585344,"note":"Value kept but may cause issues"} 
[2026-07-07 08:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783393096000,"timestamp_ms":1783393096000,"timestamp_seconds":1783393096,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a831140"} 
[2026-07-07 08:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 08:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548630784001,"66":14515,"17":206,"94":11008,"24":14,"16":23266507857330176,"45":811703494198585344},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 08:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548630784001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:28:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23266507857330176,"km_value":23266507857330.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":811703494198585344,"description":"Unknown IO ID 45"} 
[2026-07-07 08:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548630784001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":811703494198585344}} 
[2026-07-07 08:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":124158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444343,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:28:47] local.INFO: GPS data processed {"connection_id":124158,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:28:47] local.INFO: Acknowledgment sent {"connection_id":124158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:28:56] local.INFO: TCP Data received {"connection_id":126173,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:28:56] local.INFO: Processing buffer {"connection_id":126173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:28:56] local.INFO: IMEI packet received {"connection_id":126173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":126173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:29:01] local.INFO: TCP Data received {"connection_id":124159,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:29:01] local.INFO: Processing buffer {"connection_id":124159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:29:01] local.INFO: IMEI packet received {"connection_id":124159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":124159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:29:01] local.INFO: TCP Data received {"connection_id":126173,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:29:01] local.INFO: Processing buffer {"connection_id":126173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:29:01] local.INFO: IMEI packet received {"connection_id":126173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":126173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:29:02] local.INFO: TCP Data received {"connection_id":126173,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8101e8012d7b764005e733500006015423..."} 
[2026-07-07 08:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8101e8012d7b764005e733500006015423..."} 
[2026-07-07 08:29:02] local.INFO: Processing buffer {"connection_id":126173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8101e8012d7b764005e733500006015423..."} 
[2026-07-07 08:29:02] local.INFO: Packet analysis {"connection_id":126173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a81"} 
[2026-07-07 08:29:02] local.INFO: Extracted packet for processing {"connection_id":126173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a81"} 
[2026-07-07 08:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763065920,"raw_latitude":99038032,"longitude_deg":76.306592,"latitude_deg":9.9038032,"altitude":6,"angle":340,"satellites":35,"speed":0,"hex_longitude":"2d7b7640","hex_latitude":"05e73350","is_valid_coordinates":true} 
[2026-07-07 08:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548592640001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103238055879507968,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896368508014907392,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783392961000,"timestamp_ms":1783392961000,"timestamp_seconds":1783392961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8101e8"} 
[2026-07-07 08:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 08:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548592640001,"66":12461,"96":206,"87":13824,"24":0,"16":103238055879507968,"45":8896368508014907392},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548592640001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:29:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:29:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103238055879507968,"km_value":103238055879507.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896368508014907392,"description":"Unknown IO ID 45"} 
[2026-07-07 08:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548592640001,"power":12461,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8896368508014907392}} 
[2026-07-07 08:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":126173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:29:02] local.INFO: GPS data processed {"connection_id":126173,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:29:02] local.INFO: Acknowledgment sent {"connection_id":126173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:29:04] local.INFO: TCP Data received {"connection_id":124159,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:29:04] local.INFO: Processing buffer {"connection_id":124159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:29:04] local.INFO: IMEI packet received {"connection_id":124159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":124159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:29:10] local.INFO: TCP Data received {"connection_id":124159,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a821b28012d79bec006303500000c00732e..."} 
[2026-07-07 08:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a821b28012d79bec006303500000c00732e..."} 
[2026-07-07 08:29:10] local.INFO: Processing buffer {"connection_id":124159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a821b28012d79bec006303500000c00732e..."} 
[2026-07-07 08:29:10] local.INFO: Packet analysis {"connection_id":124159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a82"} 
[2026-07-07 08:29:10] local.INFO: Extracted packet for processing {"connection_id":124159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a82"} 
[2026-07-07 08:29:10] local.INFO: GPS Element Parsed {"raw_longitude":762953408,"raw_latitude":103822592,"longitude_deg":76.2953408,"latitude_deg":10.3822592,"altitude":12,"angle":115,"satellites":46,"speed":49,"hex_longitude":"2d79bec0","hex_latitude":"06303500","is_valid_coordinates":true} 
[2026-07-07 08:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548614400001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340677488818520064,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8762667895303258112,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783393033000,"timestamp_ms":1783393033000,"timestamp_seconds":1783393033,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a821b28"} 
[2026-07-07 08:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 08:29: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-07-07 08:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548614400001,"66":27800,"187":206,"79":21504,"24":49,"16":340677488818520064,"45":8762667895303258112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-07-07 08:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548614400001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:29:10] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-07 08:29:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340677488818520064,"km_value":340677488818520.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8762667895303258112,"description":"Unknown IO ID 45"} 
[2026-07-07 08:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548614400001,"power":27800,"unknown_187":206,"unknown_79":21504,"ignition":49,"odometer":null,"unknown_45":8762667895303258112}} 
[2026-07-07 08:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":124159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:29:10] local.INFO: GPS data processed {"connection_id":124159,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:29:10] local.INFO: Acknowledgment sent {"connection_id":124159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:29:14] local.INFO: TCP Data received {"connection_id":124261,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124261,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:29:14] local.INFO: Processing buffer {"connection_id":124261,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:29:14] local.INFO: IMEI packet received {"connection_id":124261,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":124261,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:29:15] local.INFO: TCP Data received {"connection_id":124261,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124261,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:29:15] local.INFO: Processing buffer {"connection_id":124261,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:29:15] local.INFO: IMEI packet received {"connection_id":124261,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":124261,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:29:18] local.INFO: TCP Data received {"connection_id":124261,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124261,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:29:18] local.INFO: Processing buffer {"connection_id":124261,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:29:18] local.INFO: IMEI packet received {"connection_id":124261,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":124261,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:29:20] local.INFO: TCP Data received {"connection_id":124261,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124261,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:29:20] local.INFO: Processing buffer {"connection_id":124261,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:29:20] local.INFO: IMEI packet received {"connection_id":124261,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":124261,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:29:21] local.INFO: TCP Data received {"connection_id":124261,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a831910012d0b4b0007029e20001000780d..."} 
[2026-07-07 08:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a831910012d0b4b0007029e20001000780d..."} 
[2026-07-07 08:29:21] local.INFO: Processing buffer {"connection_id":124261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a831910012d0b4b0007029e20001000780d..."} 
[2026-07-07 08:29:21] local.INFO: Packet analysis {"connection_id":124261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a83"} 
[2026-07-07 08:29:21] local.INFO: Extracted packet for processing {"connection_id":124261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a83"} 
[2026-07-07 08:29:21] local.INFO: GPS Element Parsed {"raw_longitude":755714816,"raw_latitude":117612064,"longitude_deg":75.5714816,"latitude_deg":11.7612064,"altitude":16,"angle":120,"satellites":13,"speed":14,"hex_longitude":"2d0b4b00","hex_latitude":"07029e20","is_valid_coordinates":true} 
[2026-07-07 08:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548632576001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23266546512035840,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":812970131593355264,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783393098000,"timestamp_ms":1783393098000,"timestamp_seconds":1783393098,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a831910"} 
[2026-07-07 08:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 08:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548632576001,"66":14559,"17":206,"94":11008,"24":14,"16":23266546512035840,"45":812970131593355264},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 08:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548632576001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:29:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23266546512035840,"km_value":23266546512035.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":812970131593355264,"description":"Unknown IO ID 45"} 
[2026-07-07 08:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548632576001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":812970131593355264}} 
[2026-07-07 08:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":124261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444346,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:29:21] local.INFO: GPS data processed {"connection_id":124261,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:29:21] local.INFO: Acknowledgment sent {"connection_id":124261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:29:21] local.INFO: TCP Data received {"connection_id":124261,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8320e0012d0b4e4007029cf00010005f0d..."} 
[2026-07-07 08:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8320e0012d0b4e4007029cf00010005f0d..."} 
[2026-07-07 08:29:22] local.INFO: Processing buffer {"connection_id":124261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8320e0012d0b4e4007029cf00010005f0d..."} 
[2026-07-07 08:29:22] local.INFO: Packet analysis {"connection_id":124261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a83"} 
[2026-07-07 08:29:22] local.INFO: Extracted packet for processing {"connection_id":124261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a83"} 
[2026-07-07 08:29:22] local.INFO: GPS Element Parsed {"raw_longitude":755715648,"raw_latitude":117611760,"longitude_deg":75.5715648,"latitude_deg":11.761176,"altitude":16,"angle":95,"satellites":13,"speed":18,"hex_longitude":"2d0b4e40","hex_latitude":"07029cf0","is_valid_coordinates":true} 
[2026-07-07 08:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548633088001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23266589461708800,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813744187779194880,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783393100000,"timestamp_ms":1783393100000,"timestamp_seconds":1783393100,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8320e0"} 
[2026-07-07 08:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 08:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548633088001,"66":14537,"17":206,"94":11008,"24":18,"16":23266589461708800,"45":813744187779194880},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 08:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548633088001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:29:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23266589461708800,"km_value":23266589461708.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":813744187779194880,"description":"Unknown IO ID 45"} 
[2026-07-07 08:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548633088001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":813744187779194880}} 
[2026-07-07 08:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":124261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444347,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:29:22] local.INFO: GPS data processed {"connection_id":124261,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:29:22] local.INFO: Acknowledgment sent {"connection_id":124261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:29:33] local.INFO: TCP Data received {"connection_id":126173,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8153f0012d7b764005e733500006015426..."} 
[2026-07-07 08:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8153f0012d7b764005e733500006015426..."} 
[2026-07-07 08:29:33] local.INFO: Processing buffer {"connection_id":126173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8153f0012d7b764005e733500006015426..."} 
[2026-07-07 08:29:33] local.INFO: Packet analysis {"connection_id":126173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a81"} 
[2026-07-07 08:29:33] local.INFO: Extracted packet for processing {"connection_id":126173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a81"} 
[2026-07-07 08:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763065920,"raw_latitude":99038032,"longitude_deg":76.306592,"latitude_deg":9.9038032,"altitude":6,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d7b7640","hex_latitude":"05e73350","is_valid_coordinates":true} 
[2026-07-07 08:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548598016001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103238055879507968,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896368508014907392,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783392982000,"timestamp_ms":1783392982000,"timestamp_seconds":1783392982,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8153f0"} 
[2026-07-07 08:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 08:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548598016001,"66":12461,"96":206,"87":13824,"24":0,"16":103238055879507968,"45":8896368508014907392},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548598016001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:29:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:29:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103238055879507968,"km_value":103238055879507.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896368508014907392,"description":"Unknown IO ID 45"} 
[2026-07-07 08:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548598016001,"power":12461,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8896368508014907392}} 
[2026-07-07 08:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":126173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:29:33] local.INFO: GPS data processed {"connection_id":126173,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:29:33] local.INFO: Acknowledgment sent {"connection_id":126173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:29:49] local.INFO: TCP Data received {"connection_id":124159,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a836b18012d7acd00062edaa0001200952e..."} 
[2026-07-07 08:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a836b18012d7acd00062edaa0001200952e..."} 
[2026-07-07 08:29:49] local.INFO: Processing buffer {"connection_id":124159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a836b18012d7acd00062edaa0001200952e..."} 
[2026-07-07 08:29:49] local.INFO: Packet analysis {"connection_id":124159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a83"} 
[2026-07-07 08:29:49] local.INFO: Extracted packet for processing {"connection_id":124159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a83"} 
[2026-07-07 08:29:49] local.INFO: GPS Element Parsed {"raw_longitude":763022592,"raw_latitude":103733920,"longitude_deg":76.3022592,"latitude_deg":10.373392,"altitude":18,"angle":149,"satellites":46,"speed":53,"hex_longitude":"2d7acd00","hex_latitude":"062edaa0","is_valid_coordinates":true} 
[2026-07-07 08:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548636672001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340682982081691648,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8842958632388304896,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783393119000,"timestamp_ms":1783393119000,"timestamp_seconds":1783393119,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a836b18"} 
[2026-07-07 08:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 08:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":124159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":124159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":124159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548636672001,"66":27767,"187":206,"79":21504,"24":53,"16":340682982081691648,"45":8842958632388304896},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-07-07 08:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548636672001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:29:49] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-07 08:29:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340682982081691648,"km_value":340682982081691.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8842958632388304896,"description":"Unknown IO ID 45"} 
[2026-07-07 08:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548636672001,"power":27767,"unknown_187":206,"unknown_79":21504,"ignition":53,"odometer":null,"unknown_45":8842958632388304896}} 
[2026-07-07 08:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":124159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:29:49] local.INFO: GPS data processed {"connection_id":124159,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:29:49] local.INFO: Acknowledgment sent {"connection_id":124159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:29:53] local.INFO: TCP Data received {"connection_id":124261,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a843250012d0bbd000702a0c0000f004e10..."} 
[2026-07-07 08:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a843250012d0bbd000702a0c0000f004e10..."} 
[2026-07-07 08:29:53] local.INFO: Processing buffer {"connection_id":124261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a843250012d0bbd000702a0c0000f004e10..."} 
[2026-07-07 08:29:53] local.INFO: Packet analysis {"connection_id":124261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a84"} 
[2026-07-07 08:29:53] local.INFO: Extracted packet for processing {"connection_id":124261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a84"} 
[2026-07-07 08:29:53] local.INFO: GPS Element Parsed {"raw_longitude":755744000,"raw_latitude":117612736,"longitude_deg":75.5744,"latitude_deg":11.7612736,"altitude":15,"angle":78,"satellites":16,"speed":15,"hex_longitude":"2d0bbd00","hex_latitude":"0702a0c0","is_valid_coordinates":true} 
[2026-07-07 08:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548651264001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23268049750589440,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":845410122659301376,"note":"Value kept but may cause issues"} 
[2026-07-07 08:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783393170000,"timestamp_ms":1783393170000,"timestamp_seconds":1783393170,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a843250"} 
[2026-07-07 08:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 08:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":124261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":124261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":124261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548651264001,"66":14515,"17":206,"94":11008,"24":15,"16":23268049750589440,"45":845410122659301376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 08:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548651264001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:29:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23268049750589440,"km_value":23268049750589.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":845410122659301376,"description":"Unknown IO ID 45"} 
[2026-07-07 08:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548651264001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":845410122659301376}} 
[2026-07-07 08:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":124261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444350,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:29:53] local.INFO: GPS data processed {"connection_id":124261,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:29:53] local.INFO: Acknowledgment sent {"connection_id":124261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:29:56] local.INFO: TCP Data received {"connection_id":124160,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:29:56] local.INFO: Processing buffer {"connection_id":124160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:29:56] local.INFO: IMEI packet received {"connection_id":124160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":124160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:30:01] local.INFO: TCP Data received {"connection_id":124160,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:30:01] local.INFO: Processing buffer {"connection_id":124160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:30:01] local.INFO: IMEI packet received {"connection_id":124160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":124160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:30:02] local.INFO: TCP Data received {"connection_id":124160,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a81a5f8012d7b764005e733500006015424..."} 
[2026-07-07 08:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a81a5f8012d7b764005e733500006015424..."} 
[2026-07-07 08:30:02] local.INFO: Processing buffer {"connection_id":124160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a81a5f8012d7b764005e733500006015424..."} 
[2026-07-07 08:30:02] local.INFO: Packet analysis {"connection_id":124160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a81"} 
[2026-07-07 08:30:02] local.INFO: Extracted packet for processing {"connection_id":124160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a81"} 
[2026-07-07 08:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763065920,"raw_latitude":99038032,"longitude_deg":76.306592,"latitude_deg":9.9038032,"altitude":6,"angle":340,"satellites":36,"speed":0,"hex_longitude":"2d7b7640","hex_latitude":"05e73350","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548603392001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103238055879507968,"note":"Value kept but may cause issues"} 
[2026-07-07 08:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896368508014907392,"note":"Value kept but may cause issues"} 
[2026-07-07 08:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783393003000,"timestamp_ms":1783393003000,"timestamp_seconds":1783393003,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a81a5f8"} 
[2026-07-07 08:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 08:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548603392001,"66":12885,"96":206,"87":13824,"24":0,"16":103238055879507968,"45":8896368508014907392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548603392001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:30:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:30:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103238055879507968,"km_value":103238055879507.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896368508014907392,"description":"Unknown IO ID 45"} 
[2026-07-07 08:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548603392001,"power":12885,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8896368508014907392}} 
[2026-07-07 08:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":124160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:30:02] local.INFO: GPS data processed {"connection_id":124160,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:30:02] local.INFO: Acknowledgment sent {"connection_id":124160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:30:06] local.INFO: TCP Data received {"connection_id":124946,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:30:06] local.INFO: Processing buffer {"connection_id":124946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:30:06] local.INFO: IMEI packet received {"connection_id":124946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":124946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:30:10] local.INFO: TCP Data received {"connection_id":124946,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:30:10] local.INFO: Processing buffer {"connection_id":124946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:30:10] local.INFO: IMEI packet received {"connection_id":124946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":124946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:30:12] local.INFO: TCP Data received {"connection_id":124946,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:30:12] local.INFO: Processing buffer {"connection_id":124946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:30:12] local.INFO: IMEI packet received {"connection_id":124946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":124946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:30:13] local.INFO: TCP Data received {"connection_id":124946,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a838a58012d7adec0062ebc48001500952e..."} 
[2026-07-07 08:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a838a58012d7adec0062ebc48001500952e..."} 
[2026-07-07 08:30:13] local.INFO: Processing buffer {"connection_id":124946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a838a58012d7adec0062ebc48001500952e..."} 
[2026-07-07 08:30:13] local.INFO: Packet analysis {"connection_id":124946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a83"} 
[2026-07-07 08:30:13] local.INFO: Extracted packet for processing {"connection_id":124946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a83"} 
[2026-07-07 08:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763027136,"raw_latitude":103726152,"longitude_deg":76.3027136,"latitude_deg":10.3726152,"altitude":21,"angle":149,"satellites":46,"speed":36,"hex_longitude":"2d7adec0","hex_latitude":"062ebc48","is_valid_coordinates":true} 
[2026-07-07 08:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548638464001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340683415873388544,"note":"Value kept but may cause issues"} 
[2026-07-07 08:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848728869408776192,"note":"Value kept but may cause issues"} 
[2026-07-07 08:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783393127000,"timestamp_ms":1783393127000,"timestamp_seconds":1783393127,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a838a58"} 
[2026-07-07 08:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:30: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-07-07 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 08:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548638464001,"66":27832,"186":206,"79":21504,"24":36,"16":340683415873388544,"45":8848728869408776192},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,79,24,16,45]} 
[2026-07-07 08:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548638464001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:30:13] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-07 08:30:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340683415873388544,"km_value":340683415873388.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848728869408776192,"description":"Unknown IO ID 45"} 
[2026-07-07 08:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548638464001,"power":27832,"unknown_186":206,"unknown_79":21504,"ignition":36,"odometer":null,"unknown_45":8848728869408776192}} 
[2026-07-07 08:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":124946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:30:13] local.INFO: GPS data processed {"connection_id":124946,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:30:13] local.INFO: Acknowledgment sent {"connection_id":124946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:30:14] local.INFO: TCP Data received {"connection_id":124946,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a83ad80012d7af080062ea1600017008a2e..."} 
[2026-07-07 08:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a83ad80012d7af080062ea1600017008a2e..."} 
[2026-07-07 08:30:14] local.INFO: Processing buffer {"connection_id":124946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a83ad80012d7af080062ea1600017008a2e..."} 
[2026-07-07 08:30:14] local.INFO: Packet analysis {"connection_id":124946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a83"} 
[2026-07-07 08:30:14] local.INFO: Extracted packet for processing {"connection_id":124946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a83"} 
[2026-07-07 08:30:14] local.INFO: GPS Element Parsed {"raw_longitude":763031680,"raw_latitude":103719264,"longitude_deg":76.303168,"latitude_deg":10.3719264,"altitude":23,"angle":138,"satellites":46,"speed":37,"hex_longitude":"2d7af080","hex_latitude":"062ea160","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548640512001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340683815305347072,"note":"Value kept but may cause issues"} 
[2026-07-07 08:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8853725050243401728,"note":"Value kept but may cause issues"} 
[2026-07-07 08:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783393136000,"timestamp_ms":1783393136000,"timestamp_seconds":1783393136,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a83ad80"} 
[2026-07-07 08:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:30: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-07-07 08: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":184,"data_length":795,"current_offset":136} 
[2026-07-07 08:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548640512001,"66":27908,"186":206,"79":21504,"24":37,"16":340683815305347072,"45":8853725050243401728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,79,24,16,45]} 
[2026-07-07 08:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548640512001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:30:14] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-07 08:30:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340683815305347072,"km_value":340683815305347.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8853725050243401728,"description":"Unknown IO ID 45"} 
[2026-07-07 08:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548640512001,"power":27908,"unknown_186":206,"unknown_79":21504,"ignition":37,"odometer":null,"unknown_45":8853725050243401728}} 
[2026-07-07 08:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":124946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:30:14] local.INFO: GPS data processed {"connection_id":124946,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:30:14] local.INFO: Acknowledgment sent {"connection_id":124946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:30:15] local.INFO: TCP Data received {"connection_id":126175,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:30:15] local.INFO: Processing buffer {"connection_id":126175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:30:15] local.INFO: IMEI packet received {"connection_id":126175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":126175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:30:15] local.INFO: TCP Data received {"connection_id":126175,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:30:15] local.INFO: Processing buffer {"connection_id":126175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:30:15] local.INFO: IMEI packet received {"connection_id":126175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":126175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:30:17] local.INFO: TCP Data received {"connection_id":126175,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:30:17] local.INFO: Processing buffer {"connection_id":126175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:30:17] local.INFO: IMEI packet received {"connection_id":126175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":126175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:30:20] local.INFO: TCP Data received {"connection_id":126175,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:30:20] local.INFO: Processing buffer {"connection_id":126175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:30:20] local.INFO: IMEI packet received {"connection_id":126175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":126175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:30:21] local.INFO: TCP Data received {"connection_id":126175,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8474b8012d0bd5000702a750000d006110..."} 
[2026-07-07 08:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8474b8012d0bd5000702a750000d006110..."} 
[2026-07-07 08:30:21] local.INFO: Processing buffer {"connection_id":126175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8474b8012d0bd5000702a750000d006110..."} 
[2026-07-07 08:30:21] local.INFO: Packet analysis {"connection_id":126175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a84"} 
[2026-07-07 08:30:21] local.INFO: Extracted packet for processing {"connection_id":126175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a84"} 
[2026-07-07 08:30:21] local.INFO: GPS Element Parsed {"raw_longitude":755750144,"raw_latitude":117614416,"longitude_deg":75.5750144,"latitude_deg":11.7614416,"altitude":13,"angle":97,"satellites":16,"speed":11,"hex_longitude":"2d0bd500","hex_latitude":"0702a750","is_valid_coordinates":true} 
[2026-07-07 08:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548651520001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23268354693267456,"note":"Value kept but may cause issues"} 
[2026-07-07 08:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":845832335124381696,"note":"Value kept but may cause issues"} 
[2026-07-07 08:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783393187000,"timestamp_ms":1783393187000,"timestamp_seconds":1783393187,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8474b8"} 
[2026-07-07 08:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 08:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548651520001,"66":14450,"17":206,"94":11008,"24":11,"16":23268354693267456,"45":845832335124381696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 08:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548651520001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:30:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23268354693267456,"km_value":23268354693267.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":845832335124381696,"description":"Unknown IO ID 45"} 
[2026-07-07 08:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548651520001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":845832335124381696}} 
[2026-07-07 08:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":126175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444354,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:30:21] local.INFO: GPS data processed {"connection_id":126175,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:30:21] local.INFO: Acknowledgment sent {"connection_id":126175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:30:34] local.INFO: TCP Data received {"connection_id":124160,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a81f800012d7b764005e733500006015426..."} 
[2026-07-07 08:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a81f800012d7b764005e733500006015426..."} 
[2026-07-07 08:30:34] local.INFO: Processing buffer {"connection_id":124160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a81f800012d7b764005e733500006015426..."} 
[2026-07-07 08:30:34] local.INFO: Packet analysis {"connection_id":124160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a81"} 
[2026-07-07 08:30:34] local.INFO: Extracted packet for processing {"connection_id":124160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a81"} 
[2026-07-07 08:30:34] local.INFO: GPS Element Parsed {"raw_longitude":763065920,"raw_latitude":99038032,"longitude_deg":76.306592,"latitude_deg":9.9038032,"altitude":6,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d7b7640","hex_latitude":"05e73350","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548608768001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103238055879507968,"note":"Value kept but may cause issues"} 
[2026-07-07 08:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896368508014907392,"note":"Value kept but may cause issues"} 
[2026-07-07 08:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783393024000,"timestamp_ms":1783393024000,"timestamp_seconds":1783393024,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a81f800"} 
[2026-07-07 08:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:30: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-07-07 08: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-07 08:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:30: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-07-07 08:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548608768001,"66":12461,"96":206,"87":13824,"24":0,"16":103238055879507968,"45":8896368508014907392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548608768001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:30:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:30:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103238055879507968,"km_value":103238055879507.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896368508014907392,"description":"Unknown IO ID 45"} 
[2026-07-07 08:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548608768001,"power":12461,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8896368508014907392}} 
[2026-07-07 08:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":124160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:30:34] local.INFO: GPS data processed {"connection_id":124160,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:30:34] local.INFO: Acknowledgment sent {"connection_id":124160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:30:52] local.INFO: TCP Data received {"connection_id":126175,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a850540012d0bfc800702a8d0000c004f10..."} 
[2026-07-07 08:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a850540012d0bfc800702a8d0000c004f10..."} 
[2026-07-07 08:30:52] local.INFO: Processing buffer {"connection_id":126175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a850540012d0bfc800702a8d0000c004f10..."} 
[2026-07-07 08:30:52] local.INFO: Packet analysis {"connection_id":126175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a85"} 
[2026-07-07 08:30:52] local.INFO: Extracted packet for processing {"connection_id":126175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a85"} 
[2026-07-07 08:30:52] local.INFO: GPS Element Parsed {"raw_longitude":755760256,"raw_latitude":117614800,"longitude_deg":75.5760256,"latitude_deg":11.76148,"altitude":12,"angle":79,"satellites":16,"speed":9,"hex_longitude":"2d0bfc80","hex_latitude":"0702a8d0","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548665088001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23268891564179456,"note":"Value kept but may cause issues"} 
[2026-07-07 08:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863494889913489408,"note":"Value kept but may cause issues"} 
[2026-07-07 08:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783393224000,"timestamp_ms":1783393224000,"timestamp_seconds":1783393224,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a850540"} 
[2026-07-07 08:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 08:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":126175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":126175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":126175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548665088001,"66":14407,"37":206,"94":11008,"24":9,"16":23268891564179456,"45":863494889913489408},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 08:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548665088001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:30:52] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 08:30:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23268891564179456,"km_value":23268891564179.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":863494889913489408,"description":"Unknown IO ID 45"} 
[2026-07-07 08:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548665088001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":863494889913489408}} 
[2026-07-07 08:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":126175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444356,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:30:52] local.INFO: GPS data processed {"connection_id":126175,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:30:52] local.INFO: Acknowledgment sent {"connection_id":126175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:30:57] local.INFO: TCP Data received {"connection_id":124162,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:30:57] local.INFO: Processing buffer {"connection_id":124162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:30:57] local.INFO: IMEI packet received {"connection_id":124162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":124162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:31:00] local.INFO: TCP Data received {"connection_id":124162,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:31:00] local.INFO: Processing buffer {"connection_id":124162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:31:00] local.INFO: IMEI packet received {"connection_id":124162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":124162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:31:01] local.INFO: TCP Data received {"connection_id":124161,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:31:01] local.INFO: Processing buffer {"connection_id":124161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:31:01] local.INFO: IMEI packet received {"connection_id":124161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":124161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:31:02] local.INFO: TCP Data received {"connection_id":124162,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:31:02] local.INFO: Processing buffer {"connection_id":124162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:31:02] local.INFO: IMEI packet received {"connection_id":124162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":124162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:31:03] local.INFO: TCP Data received {"connection_id":124162,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a84a780012d7c3700062e45380011007b2c..."} 
[2026-07-07 08:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a84a780012d7c3700062e45380011007b2c..."} 
[2026-07-07 08:31:03] local.INFO: Processing buffer {"connection_id":124162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a84a780012d7c3700062e45380011007b2c..."} 
[2026-07-07 08:31:03] local.INFO: Packet analysis {"connection_id":124162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a84"} 
[2026-07-07 08:31:03] local.INFO: Extracted packet for processing {"connection_id":124162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a84"} 
[2026-07-07 08:31:03] local.INFO: GPS Element Parsed {"raw_longitude":763115264,"raw_latitude":103695672,"longitude_deg":76.3115264,"latitude_deg":10.3695672,"altitude":17,"angle":123,"satellites":44,"speed":58,"hex_longitude":"2d7c3700","hex_latitude":"062e4538","is_valid_coordinates":true} 
[2026-07-07 08:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548657408001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340688088797806592,"note":"Value kept but may cause issues"} 
[2026-07-07 08:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941123030505644032,"note":"Value kept but may cause issues"} 
[2026-07-07 08:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783393200000,"timestamp_ms":1783393200000,"timestamp_seconds":1783393200,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a84a780"} 
[2026-07-07 08:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:31: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-07-07 08:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 08:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548657408001,"66":27930,"139":206,"79":21504,"24":58,"16":340688088797806592,"45":8941123030505644032},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,79,24,16,45]} 
[2026-07-07 08:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548657408001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:31:03] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-07 08:31:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340688088797806592,"km_value":340688088797806.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941123030505644032,"description":"Unknown IO ID 45"} 
[2026-07-07 08:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548657408001,"power":27930,"unknown_139":206,"unknown_79":21504,"ignition":58,"odometer":null,"unknown_45":8941123030505644032}} 
[2026-07-07 08:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":124162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:31:03] local.INFO: GPS data processed {"connection_id":124162,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:31:03] local.INFO: Acknowledgment sent {"connection_id":124162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:31:06] local.INFO: TCP Data received {"connection_id":124161,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:31:06] local.INFO: Processing buffer {"connection_id":124161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:31:06] local.INFO: IMEI packet received {"connection_id":124161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":124161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:31:07] local.INFO: TCP Data received {"connection_id":124161,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a824a08012d7b764005e733500006015425..."} 
[2026-07-07 08:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a824a08012d7b764005e733500006015425..."} 
[2026-07-07 08:31:07] local.INFO: Processing buffer {"connection_id":124161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a824a08012d7b764005e733500006015425..."} 
[2026-07-07 08:31:07] local.INFO: Packet analysis {"connection_id":124161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a82"} 
[2026-07-07 08:31:07] local.INFO: Extracted packet for processing {"connection_id":124161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a82"} 
[2026-07-07 08:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763065920,"raw_latitude":99038032,"longitude_deg":76.306592,"latitude_deg":9.9038032,"altitude":6,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d7b7640","hex_latitude":"05e73350","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548614144001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103238055879507968,"note":"Value kept but may cause issues"} 
[2026-07-07 08:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896368508014907392,"note":"Value kept but may cause issues"} 
[2026-07-07 08:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783393045000,"timestamp_ms":1783393045000,"timestamp_seconds":1783393045,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a824a08"} 
[2026-07-07 08:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 08:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:31: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-07-07 08:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548614144001,"66":12982,"96":206,"87":13824,"24":0,"16":103238055879507968,"45":8896368508014907392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548614144001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:31:07] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:31:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103238055879507968,"km_value":103238055879507.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896368508014907392,"description":"Unknown IO ID 45"} 
[2026-07-07 08:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548614144001,"power":12982,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8896368508014907392}} 
[2026-07-07 08:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":124161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:31:07] local.INFO: GPS data processed {"connection_id":124161,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:31:07] local.INFO: Acknowledgment sent {"connection_id":124161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:31:12] local.INFO: TCP Data received {"connection_id":124161,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a829c10012d7b760005e735900007014e26..."} 
[2026-07-07 08:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a829c10012d7b760005e735900007014e26..."} 
[2026-07-07 08:31:12] local.INFO: Processing buffer {"connection_id":124161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a829c10012d7b760005e735900007014e26..."} 
[2026-07-07 08:31:12] local.INFO: Packet analysis {"connection_id":124161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a82"} 
[2026-07-07 08:31:12] local.INFO: Extracted packet for processing {"connection_id":124161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a82"} 
[2026-07-07 08:31:12] local.INFO: GPS Element Parsed {"raw_longitude":763065856,"raw_latitude":99038608,"longitude_deg":76.3065856,"latitude_deg":9.9038608,"altitude":7,"angle":334,"satellites":38,"speed":1,"hex_longitude":"2d7b7600","hex_latitude":"05e73590","is_valid_coordinates":true} 
[2026-07-07 08:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548619520001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103238081649311744,"note":"Value kept but may cause issues"} 
[2026-07-07 08:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896368508014907392,"note":"Value kept but may cause issues"} 
[2026-07-07 08:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783393066000,"timestamp_ms":1783393066000,"timestamp_seconds":1783393066,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a829c10"} 
[2026-07-07 08:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:31: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-07-07 08:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-07 08:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:31: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-07-07 08:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548619520001,"66":12961,"96":206,"87":13824,"24":1,"16":103238081649311744,"45":8896368508014907392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548619520001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:31:12] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:31:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103238081649311744,"km_value":103238081649311.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896368508014907392,"description":"Unknown IO ID 45"} 
[2026-07-07 08:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548619520001,"power":12961,"unknown_96":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8896368508014907392}} 
[2026-07-07 08:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":124161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:31:12] local.INFO: GPS data processed {"connection_id":124161,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:31:12] local.INFO: Acknowledgment sent {"connection_id":124161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:31:15] local.INFO: TCP Data received {"connection_id":126176,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126176,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:31:15] local.INFO: Processing buffer {"connection_id":126176,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:31:15] local.INFO: IMEI packet received {"connection_id":126176,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":126176,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:31:20] local.INFO: TCP Data received {"connection_id":126176,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126176,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:31:20] local.INFO: Processing buffer {"connection_id":126176,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:31:20] local.INFO: IMEI packet received {"connection_id":126176,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":126176,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:31:21] local.INFO: TCP Data received {"connection_id":126176,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a855360012d0c10c00702ae40000d005511..."} 
[2026-07-07 08:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a855360012d0c10c00702ae40000d005511..."} 
[2026-07-07 08:31:21] local.INFO: Processing buffer {"connection_id":126176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a855360012d0c10c00702ae40000d005511..."} 
[2026-07-07 08:31:21] local.INFO: Packet analysis {"connection_id":126176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a85"} 
[2026-07-07 08:31:21] local.INFO: Extracted packet for processing {"connection_id":126176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a85"} 
[2026-07-07 08:31:21] local.INFO: GPS Element Parsed {"raw_longitude":755765440,"raw_latitude":117616192,"longitude_deg":75.576544,"latitude_deg":11.7616192,"altitude":13,"angle":85,"satellites":17,"speed":3,"hex_longitude":"2d0c10c0","hex_latitude":"0702ae40","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548665344001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23269149262217216,"note":"Value kept but may cause issues"} 
[2026-07-07 08:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863705996146036736,"note":"Value kept but may cause issues"} 
[2026-07-07 08:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783393244000,"timestamp_ms":1783393244000,"timestamp_seconds":1783393244,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a855360"} 
[2026-07-07 08:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 08:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548665344001,"66":14548,"37":206,"94":11008,"24":3,"16":23269149262217216,"45":863705996146036736},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 08:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548665344001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:31:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 08:31:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23269149262217216,"km_value":23269149262217.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":863705996146036736,"description":"Unknown IO ID 45"} 
[2026-07-07 08:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548665344001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":863705996146036736}} 
[2026-07-07 08:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":126176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444360,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:31:21] local.INFO: GPS data processed {"connection_id":126176,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:31:21] local.INFO: Acknowledgment sent {"connection_id":126176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:31:34] local.INFO: TCP Data received {"connection_id":124162,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a84c2d8012d7c5840062e2f280011007c2c..."} 
[2026-07-07 08:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a84c2d8012d7c5840062e2f280011007c2c..."} 
[2026-07-07 08:31:34] local.INFO: Processing buffer {"connection_id":124162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a84c2d8012d7c5840062e2f280011007c2c..."} 
[2026-07-07 08:31:34] local.INFO: Packet analysis {"connection_id":124162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a84"} 
[2026-07-07 08:31:34] local.INFO: Extracted packet for processing {"connection_id":124162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a84"} 
[2026-07-07 08:31:34] local.INFO: GPS Element Parsed {"raw_longitude":763123776,"raw_latitude":103690024,"longitude_deg":76.3123776,"latitude_deg":10.3690024,"altitude":17,"angle":124,"satellites":44,"speed":58,"hex_longitude":"2d7c5840","hex_latitude":"062e2f28","is_valid_coordinates":true} 
[2026-07-07 08:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548659200001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340688582719045632,"note":"Value kept but may cause issues"} 
[2026-07-07 08:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950622810968242176,"note":"Value kept but may cause issues"} 
[2026-07-07 08:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783393207000,"timestamp_ms":1783393207000,"timestamp_seconds":1783393207,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a84c2d8"} 
[2026-07-07 08:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:31: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-07-07 08:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 08:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548659200001,"66":27908,"139":206,"79":21504,"24":58,"16":340688582719045632,"45":8950622810968242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,79,24,16,45]} 
[2026-07-07 08:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548659200001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:31:34] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-07 08:31:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340688582719045632,"km_value":340688582719045.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950622810968242176,"description":"Unknown IO ID 45"} 
[2026-07-07 08:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548659200001,"power":27908,"unknown_139":206,"unknown_79":21504,"ignition":58,"odometer":null,"unknown_45":8950622810968242176}} 
[2026-07-07 08:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":124162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:31:34] local.INFO: GPS data processed {"connection_id":124162,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:31:34] local.INFO: Acknowledgment sent {"connection_id":124162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:31:52] local.INFO: TCP Data received {"connection_id":126176,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a861e80012d0c2a800702ae60000e000312..."} 
[2026-07-07 08:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a861e80012d0c2a800702ae60000e000312..."} 
[2026-07-07 08:31:52] local.INFO: Processing buffer {"connection_id":126176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a861e80012d0c2a800702ae60000e000312..."} 
[2026-07-07 08:31:52] local.INFO: Packet analysis {"connection_id":126176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a86"} 
[2026-07-07 08:31:52] local.INFO: Extracted packet for processing {"connection_id":126176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a86"} 
[2026-07-07 08:31:52] local.INFO: GPS Element Parsed {"raw_longitude":755772032,"raw_latitude":117616224,"longitude_deg":75.5772032,"latitude_deg":11.7616224,"altitude":14,"angle":3,"satellites":18,"speed":0,"hex_longitude":"2d0c2a80","hex_latitude":"0702ae60","is_valid_coordinates":true} 
[2026-07-07 08:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548683008001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23269488564633600,"note":"Value kept but may cause issues"} 
[2026-07-07 08:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876583476330889216,"note":"Value kept but may cause issues"} 
[2026-07-07 08:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783393296000,"timestamp_ms":1783393296000,"timestamp_seconds":1783393296,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a861e80"} 
[2026-07-07 08:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 08:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":126176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":126176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":126176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548683008001,"66":14407,"37":206,"94":11008,"24":0,"16":23269488564633600,"45":876583476330889216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 08:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548683008001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:31:52] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 08:31:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23269488564633600,"km_value":23269488564633.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":876583476330889216,"description":"Unknown IO ID 45"} 
[2026-07-07 08:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548683008001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":876583476330889216}} 
[2026-07-07 08:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":126176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444362,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:31:52] local.INFO: GPS data processed {"connection_id":126176,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:31:52] local.INFO: Acknowledgment sent {"connection_id":126176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:31:56] local.INFO: TCP Data received {"connection_id":124163,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:31:56] local.INFO: Processing buffer {"connection_id":124163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:31:56] local.INFO: IMEI packet received {"connection_id":124163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":124163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:32:01] local.INFO: TCP Data received {"connection_id":124163,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:32:01] local.INFO: Processing buffer {"connection_id":124163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:32:01] local.INFO: IMEI packet received {"connection_id":124163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":124163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:32:02] local.INFO: TCP Data received {"connection_id":124163,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a82a3e0012d7b760005e735e00007015b26..."} 
[2026-07-07 08:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a82a3e0012d7b760005e735e00007015b26..."} 
[2026-07-07 08:32:02] local.INFO: Processing buffer {"connection_id":124163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a82a3e0012d7b760005e735e00007015b26..."} 
[2026-07-07 08:32:02] local.INFO: Packet analysis {"connection_id":124163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a82"} 
[2026-07-07 08:32:02] local.INFO: Extracted packet for processing {"connection_id":124163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a82"} 
[2026-07-07 08:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763065856,"raw_latitude":99038688,"longitude_deg":76.3065856,"latitude_deg":9.9038688,"altitude":7,"angle":347,"satellites":38,"speed":1,"hex_longitude":"2d7b7600","hex_latitude":"05e735e0","is_valid_coordinates":true} 
[2026-07-07 08:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548624896001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103238085944279040,"note":"Value kept but may cause issues"} 
[2026-07-07 08:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896298139270877184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783393068000,"timestamp_ms":1783393068000,"timestamp_seconds":1783393068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a82a3e0"} 
[2026-07-07 08:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-07 08:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548624896001,"66":12798,"96":206,"87":13824,"24":1,"16":103238085944279040,"45":8896298139270877184},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548624896001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:32:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:32:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103238085944279040,"km_value":103238085944279.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896298139270877184,"description":"Unknown IO ID 45"} 
[2026-07-07 08:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548624896001,"power":12798,"unknown_96":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8896298139270877184}} 
[2026-07-07 08:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":124163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:32:02] local.INFO: GPS data processed {"connection_id":124163,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:32:02] local.INFO: Acknowledgment sent {"connection_id":124163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:32:09] local.INFO: TCP Data received {"connection_id":124263,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:32:09] local.INFO: Processing buffer {"connection_id":124263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:32:09] local.INFO: IMEI packet received {"connection_id":124263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":124263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:32:11] local.INFO: TCP Data received {"connection_id":124263,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:32:11] local.INFO: Processing buffer {"connection_id":124263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:32:11] local.INFO: IMEI packet received {"connection_id":124263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":124263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:32:14] local.INFO: TCP Data received {"connection_id":124263,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:32:14] local.INFO: Processing buffer {"connection_id":124263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:32:14] local.INFO: IMEI packet received {"connection_id":124263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":124263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:32:15] local.INFO: TCP Data received {"connection_id":124263,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a85c0c0012d7cfb00062cf2e8000d00b32c..."} 
[2026-07-07 08:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a85c0c0012d7cfb00062cf2e8000d00b32c..."} 
[2026-07-07 08:32:15] local.INFO: Processing buffer {"connection_id":124263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a85c0c0012d7cfb00062cf2e8000d00b32c..."} 
[2026-07-07 08:32:15] local.INFO: Packet analysis {"connection_id":124263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a85"} 
[2026-07-07 08:32:15] local.INFO: Extracted packet for processing {"connection_id":124263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a85"} 
[2026-07-07 08:32:15] local.INFO: GPS Element Parsed {"raw_longitude":763165440,"raw_latitude":103609064,"longitude_deg":76.316544,"latitude_deg":10.3609064,"altitude":13,"angle":179,"satellites":44,"speed":57,"hex_longitude":"2d7cfb00","hex_latitude":"062cf2e8","is_valid_coordinates":true} 
[2026-07-07 08:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548675840001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340693126794444800,"note":"Value kept but may cause issues"} 
[2026-07-07 08:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005299325174683648,"note":"Value kept but may cause issues"} 
[2026-07-07 08:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783393272000,"timestamp_ms":1783393272000,"timestamp_seconds":1783393272,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a85c0c0"} 
[2026-07-07 08:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:32: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-07-07 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 08:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548675840001,"66":27767,"137":206,"79":21504,"24":57,"16":340693126794444800,"45":9005299325174683648},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-07 08:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548675840001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:32:15] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-07 08:32:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340693126794444800,"km_value":340693126794444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005299325174683648,"description":"Unknown IO ID 45"} 
[2026-07-07 08:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548675840001,"power":27767,"unknown_137":206,"unknown_79":21504,"ignition":57,"odometer":null,"unknown_45":9005299325174683648}} 
[2026-07-07 08:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":124263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:32:15] local.INFO: GPS data processed {"connection_id":124263,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:32:15] local.INFO: Acknowledgment sent {"connection_id":124263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:32:16] local.INFO: TCP Data received {"connection_id":126177,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126177,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:32:16] local.INFO: Processing buffer {"connection_id":126177,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:32:16] local.INFO: IMEI packet received {"connection_id":126177,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":126177,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:32:20] local.INFO: TCP Data received {"connection_id":126177,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126177,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:32:20] local.INFO: Processing buffer {"connection_id":126177,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:32:20] local.INFO: IMEI packet received {"connection_id":126177,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":126177,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:32:23] local.INFO: TCP Data received {"connection_id":126177,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126177,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:32:23] local.INFO: Processing buffer {"connection_id":126177,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:32:23] local.INFO: IMEI packet received {"connection_id":126177,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":126177,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:32:24] local.INFO: TCP Data received {"connection_id":126177,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a862650012d0c2a800702af48000d014812..."} 
[2026-07-07 08:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a862650012d0c2a800702af48000d014812..."} 
[2026-07-07 08:32:24] local.INFO: Processing buffer {"connection_id":126177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a862650012d0c2a800702af48000d014812..."} 
[2026-07-07 08:32:24] local.INFO: Packet analysis {"connection_id":126177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a86"} 
[2026-07-07 08:32:24] local.INFO: Extracted packet for processing {"connection_id":126177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a86"} 
[2026-07-07 08:32:24] local.INFO: GPS Element Parsed {"raw_longitude":755772032,"raw_latitude":117616456,"longitude_deg":75.5772032,"latitude_deg":11.7616456,"altitude":13,"angle":328,"satellites":18,"speed":4,"hex_longitude":"2d0c2a80","hex_latitude":"0702af48","is_valid_coordinates":true} 
[2026-07-07 08:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548683776001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23269497154568192,"note":"Value kept but may cause issues"} 
[2026-07-07 08:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876653845075091456,"note":"Value kept but may cause issues"} 
[2026-07-07 08:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783393298000,"timestamp_ms":1783393298000,"timestamp_seconds":1783393298,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a862650"} 
[2026-07-07 08:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 08:32:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":126177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":126177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":126177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548683776001,"66":14559,"37":206,"94":11008,"24":4,"16":23269497154568192,"45":876653845075091456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 08:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548683776001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:32:24] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 08:32:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23269497154568192,"km_value":23269497154568.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":876653845075091456,"description":"Unknown IO ID 45"} 
[2026-07-07 08:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548683776001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":876653845075091456}} 
[2026-07-07 08:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":126177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444365,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:32:24] local.INFO: GPS data processed {"connection_id":126177,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:32:24] local.INFO: Acknowledgment sent {"connection_id":126177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:32:25] local.INFO: TCP Data received {"connection_id":126177,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a863dc0012d0c25000702b9e0000e015412..."} 
[2026-07-07 08:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a863dc0012d0c25000702b9e0000e015412..."} 
[2026-07-07 08:32:25] local.INFO: Processing buffer {"connection_id":126177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a863dc0012d0c25000702b9e0000e015412..."} 
[2026-07-07 08:32:25] local.INFO: Packet analysis {"connection_id":126177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a86"} 
[2026-07-07 08:32:25] local.INFO: Extracted packet for processing {"connection_id":126177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a86"} 
[2026-07-07 08:32:25] local.INFO: GPS Element Parsed {"raw_longitude":755770624,"raw_latitude":117619168,"longitude_deg":75.5770624,"latitude_deg":11.7619168,"altitude":14,"angle":340,"satellites":18,"speed":30,"hex_longitude":"2d0c2500","hex_latitude":"0702b9e0","is_valid_coordinates":true} 
[2026-07-07 08:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548684288001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23269647478423552,"note":"Value kept but may cause issues"} 
[2026-07-07 08:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876653845075150848,"note":"Value kept but may cause issues"} 
[2026-07-07 08:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783393304000,"timestamp_ms":1783393304000,"timestamp_seconds":1783393304,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a863dc0"} 
[2026-07-07 08:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 08:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":126177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":126177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":126177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548684288001,"66":14439,"37":206,"94":11008,"24":30,"16":23269647478423552,"45":876653845075150848},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 08:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548684288001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:32:25] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 08:32:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23269647478423552,"km_value":23269647478423.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":876653845075150848,"description":"Unknown IO ID 45"} 
[2026-07-07 08:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548684288001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":30,"odometer":null,"unknown_45":876653845075150848}} 
[2026-07-07 08:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":126177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444366,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:32:25] local.INFO: GPS data processed {"connection_id":126177,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:32:25] local.INFO: Acknowledgment sent {"connection_id":126177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:32:34] local.INFO: TCP Data received {"connection_id":124163,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a82f200012d7b760005e736500007016525..."} 
[2026-07-07 08:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a82f200012d7b760005e736500007016525..."} 
[2026-07-07 08:32:34] local.INFO: Processing buffer {"connection_id":124163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a82f200012d7b760005e736500007016525..."} 
[2026-07-07 08:32:34] local.INFO: Packet analysis {"connection_id":124163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a82"} 
[2026-07-07 08:32:34] local.INFO: Extracted packet for processing {"connection_id":124163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a82"} 
[2026-07-07 08:32:34] local.INFO: GPS Element Parsed {"raw_longitude":763065856,"raw_latitude":99038800,"longitude_deg":76.3065856,"latitude_deg":9.90388,"altitude":7,"angle":357,"satellites":37,"speed":0,"hex_longitude":"2d7b7600","hex_latitude":"05e73650","is_valid_coordinates":true} 
[2026-07-07 08:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548625408001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103238090239246336,"note":"Value kept but may cause issues"} 
[2026-07-07 08:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896298139270897664,"note":"Value kept but may cause issues"} 
[2026-07-07 08:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783393088000,"timestamp_ms":1783393088000,"timestamp_seconds":1783393088,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a82f200"} 
[2026-07-07 08:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:32: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-07-07 08:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 08:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:32: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-07-07 08:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548625408001,"66":12961,"96":206,"87":13824,"24":0,"16":103238090239246336,"45":8896298139270897664},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548625408001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:32:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:32:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103238090239246336,"km_value":103238090239246.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896298139270897664,"description":"Unknown IO ID 45"} 
[2026-07-07 08:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548625408001,"power":12961,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8896298139270897664}} 
[2026-07-07 08:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":124163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:32:35] local.INFO: GPS data processed {"connection_id":124163,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:32:35] local.INFO: Acknowledgment sent {"connection_id":124163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:32:55] local.INFO: TCP Data received {"connection_id":124264,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:32:55] local.INFO: Processing buffer {"connection_id":124264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:32:55] local.INFO: IMEI packet received {"connection_id":124264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":124264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:32:55] local.INFO: TCP Data received {"connection_id":124264,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:32:55] local.INFO: Processing buffer {"connection_id":124264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:32:55] local.INFO: IMEI packet received {"connection_id":124264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":124264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:32:56] local.INFO: TCP Data received {"connection_id":124264,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:32:56] local.INFO: Processing buffer {"connection_id":124264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:32:56] local.INFO: IMEI packet received {"connection_id":124264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":124264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:32:57] local.INFO: TCP Data received {"connection_id":126177,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a865d00012d0c19c00702dd08000f015b12..."} 
[2026-07-07 08:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a865d00012d0c19c00702dd08000f015b12..."} 
[2026-07-07 08:32:57] local.INFO: Processing buffer {"connection_id":126177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a865d00012d0c19c00702dd08000f015b12..."} 
[2026-07-07 08:32:57] local.INFO: Packet analysis {"connection_id":126177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a86"} 
[2026-07-07 08:32:57] local.INFO: Extracted packet for processing {"connection_id":126177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a86"} 
[2026-07-07 08:32:57] local.INFO: GPS Element Parsed {"raw_longitude":755767744,"raw_latitude":117628168,"longitude_deg":75.5767744,"latitude_deg":11.7628168,"altitude":15,"angle":347,"satellites":18,"speed":50,"hex_longitude":"2d0c19c0","hex_latitude":"0702dd08","is_valid_coordinates":true} 
[2026-07-07 08:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548685824001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23270107039924224,"note":"Value kept but may cause issues"} 
[2026-07-07 08:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875105732703936512,"note":"Value kept but may cause issues"} 
[2026-07-07 08:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783393312000,"timestamp_ms":1783393312000,"timestamp_seconds":1783393312,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a865d00"} 
[2026-07-07 08:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 08:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":126177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":126177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":126177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548685824001,"66":14439,"37":206,"94":11008,"24":50,"16":23270107039924224,"45":875105732703936512},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 08:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548685824001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:32:57] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 08:32:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23270107039924224,"km_value":23270107039924.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":875105732703936512,"description":"Unknown IO ID 45"} 
[2026-07-07 08:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548685824001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":50,"odometer":null,"unknown_45":875105732703936512}} 
[2026-07-07 08:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":126177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444368,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:32:57] local.INFO: GPS data processed {"connection_id":126177,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:32:57] local.INFO: Acknowledgment sent {"connection_id":126177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:33:01] local.INFO: TCP Data received {"connection_id":124264,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:33:01] local.INFO: Processing buffer {"connection_id":124264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:33:01] local.INFO: IMEI packet received {"connection_id":124264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":124264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:33:01] local.INFO: TCP Data received {"connection_id":124164,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:33:01] local.INFO: Processing buffer {"connection_id":124164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:33:01] local.INFO: IMEI packet received {"connection_id":124164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":124164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:33:02] local.INFO: TCP Data received {"connection_id":124264,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8320e0012d7b760005e736500007016525..."} 
[2026-07-07 08:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8320e0012d7b760005e736500007016525..."} 
[2026-07-07 08:33:02] local.INFO: Processing buffer {"connection_id":124264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8320e0012d7b760005e736500007016525..."} 
[2026-07-07 08:33:02] local.INFO: Packet analysis {"connection_id":124264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a83"} 
[2026-07-07 08:33:02] local.INFO: Extracted packet for processing {"connection_id":124264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a83"} 
[2026-07-07 08:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763065856,"raw_latitude":99038800,"longitude_deg":76.3065856,"latitude_deg":9.90388,"altitude":7,"angle":357,"satellites":37,"speed":0,"hex_longitude":"2d7b7600","hex_latitude":"05e73650","is_valid_coordinates":true} 
[2026-07-07 08:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548630528001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103238090239246336,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896298139270926336,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783393100000,"timestamp_ms":1783393100000,"timestamp_seconds":1783393100,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8320e0"} 
[2026-07-07 08:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-07 08:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548630528001,"66":12863,"96":206,"87":13824,"24":0,"16":103238090239246336,"45":8896298139270926336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548630528001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:33:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:33:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103238090239246336,"km_value":103238090239246.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896298139270926336,"description":"Unknown IO ID 45"} 
[2026-07-07 08:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548630528001,"power":12863,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8896298139270926336}} 
[2026-07-07 08:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":124264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:33:02] local.INFO: GPS data processed {"connection_id":124264,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:33:02] local.INFO: Acknowledgment sent {"connection_id":124264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:33:04] local.INFO: TCP Data received {"connection_id":124164,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:33:04] local.INFO: Processing buffer {"connection_id":124164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:33:04] local.INFO: IMEI packet received {"connection_id":124164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":124164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:33:10] local.INFO: TCP Data received {"connection_id":124164,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:33:10] local.INFO: Processing buffer {"connection_id":124164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:33:10] local.INFO: IMEI packet received {"connection_id":124164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":124164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:33:10] local.INFO: TCP Data received {"connection_id":124164,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a85dc18012d7cfac0062ccbb8000b00b42c..."} 
[2026-07-07 08:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a85dc18012d7cfac0062ccbb8000b00b42c..."} 
[2026-07-07 08:33:10] local.INFO: Processing buffer {"connection_id":124164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a85dc18012d7cfac0062ccbb8000b00b42c..."} 
[2026-07-07 08:33:10] local.INFO: Packet analysis {"connection_id":124164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a85"} 
[2026-07-07 08:33:10] local.INFO: Extracted packet for processing {"connection_id":124164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a85"} 
[2026-07-07 08:33:10] local.INFO: GPS Element Parsed {"raw_longitude":763165376,"raw_latitude":103599032,"longitude_deg":76.3165376,"latitude_deg":10.3599032,"altitude":11,"angle":180,"satellites":44,"speed":55,"hex_longitude":"2d7cfac0","hex_latitude":"062ccbb8","is_valid_coordinates":true} 
[2026-07-07 08:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548677632001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340693612125749248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005791906381359104,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783393279000,"timestamp_ms":1783393279000,"timestamp_seconds":1783393279,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a85dc18"} 
[2026-07-07 08:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:33: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-07-07 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 08:33: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-07-07 08:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548677632001,"66":27843,"137":206,"79":21504,"24":55,"16":340693612125749248,"45":9005791906381359104},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-07 08:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548677632001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:33:10] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-07 08:33:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340693612125749248,"km_value":340693612125749.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005791906381359104,"description":"Unknown IO ID 45"} 
[2026-07-07 08:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548677632001,"power":27843,"unknown_137":206,"unknown_79":21504,"ignition":55,"odometer":null,"unknown_45":9005791906381359104}} 
[2026-07-07 08:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":124164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:33:10] local.INFO: GPS data processed {"connection_id":124164,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:33:10] local.INFO: Acknowledgment sent {"connection_id":124164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:33:11] local.INFO: TCP Data received {"connection_id":124164,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a85f770012d7cfac0062ca668000b00b32d..."} 
[2026-07-07 08:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a85f770012d7cfac0062ca668000b00b32d..."} 
[2026-07-07 08:33:11] local.INFO: Processing buffer {"connection_id":124164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a85f770012d7cfac0062ca668000b00b32d..."} 
[2026-07-07 08:33:11] local.INFO: Packet analysis {"connection_id":124164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a85"} 
[2026-07-07 08:33:11] local.INFO: Extracted packet for processing {"connection_id":124164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a85"} 
[2026-07-07 08:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763165376,"raw_latitude":103589480,"longitude_deg":76.3165376,"latitude_deg":10.358948,"altitude":11,"angle":179,"satellites":45,"speed":52,"hex_longitude":"2d7cfac0","hex_latitude":"062ca668","is_valid_coordinates":true} 
[2026-07-07 08:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548679424001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340694075982217216,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005721537634613248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783393286000,"timestamp_ms":1783393286000,"timestamp_seconds":1783393286,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a85f770"} 
[2026-07-07 08:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:33: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-07-07 08:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 08:33: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-07-07 08:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548679424001,"66":27908,"137":206,"79":21504,"24":52,"16":340694075982217216,"45":9005721537634613248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-07 08:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548679424001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:33:11] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-07 08:33:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340694075982217216,"km_value":340694075982217.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005721537634613248,"description":"Unknown IO ID 45"} 
[2026-07-07 08:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548679424001,"power":27908,"unknown_137":206,"unknown_79":21504,"ignition":52,"odometer":null,"unknown_45":9005721537634613248}} 
[2026-07-07 08:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":124164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:33:11] local.INFO: GPS data processed {"connection_id":124164,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:33:11] local.INFO: Acknowledgment sent {"connection_id":124164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:33:14] local.INFO: TCP Data received {"connection_id":124165,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124165,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:33:14] local.INFO: Processing buffer {"connection_id":124165,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:33:14] local.INFO: IMEI packet received {"connection_id":124165,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":124165,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:33:14] local.INFO: TCP Data received {"connection_id":124949,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:33:14] local.INFO: Processing buffer {"connection_id":124949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:33:14] local.INFO: IMEI packet received {"connection_id":124949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 08:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":124949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:33:15] local.INFO: TCP Data received {"connection_id":124165,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124165,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:33:15] local.INFO: Processing buffer {"connection_id":124165,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:33:15] local.INFO: IMEI packet received {"connection_id":124165,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":124165,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:33:16] local.INFO: TCP Data received {"connection_id":124165,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124165,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:33:16] local.INFO: Processing buffer {"connection_id":124165,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:33:16] local.INFO: IMEI packet received {"connection_id":124165,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":124165,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:33:17] local.INFO: TCP Data received {"connection_id":124165,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a877e10012d0c4e400703ca380018001d12..."} 
[2026-07-07 08:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a877e10012d0c4e400703ca380018001d12..."} 
[2026-07-07 08:33:17] local.INFO: Processing buffer {"connection_id":124165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a877e10012d0c4e400703ca380018001d12..."} 
[2026-07-07 08:33:17] local.INFO: Packet analysis {"connection_id":124165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a87"} 
[2026-07-07 08:33:17] local.INFO: Extracted packet for processing {"connection_id":124165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a87"} 
[2026-07-07 08:33:17] local.INFO: GPS Element Parsed {"raw_longitude":755781184,"raw_latitude":117688888,"longitude_deg":75.5781184,"latitude_deg":11.7688888,"altitude":24,"angle":29,"satellites":18,"speed":23,"hex_longitude":"2d0c4e40","hex_latitude":"0703ca38","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548706560001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23273530128859136,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886364731790077952,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783393386000,"timestamp_ms":1783393386000,"timestamp_seconds":1783393386,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a877e10"} 
[2026-07-07 08:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 08:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124165,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124165,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548706560001,"66":14396,"37":206,"94":11008,"24":23,"16":23273530128859136,"45":886364731790077952},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 08:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548706560001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:33:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 08:33:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23273530128859136,"km_value":23273530128859.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":886364731790077952,"description":"Unknown IO ID 45"} 
[2026-07-07 08:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548706560001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":886364731790077952}} 
[2026-07-07 08:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":124165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444372,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:33:17] local.INFO: GPS data processed {"connection_id":124165,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:33:17] local.INFO: Acknowledgment sent {"connection_id":124165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:33:34] local.INFO: TCP Data received {"connection_id":124264,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a87a138012d7b760005e736500007016522..."} 
[2026-07-07 08:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a87a138012d7b760005e736500007016522..."} 
[2026-07-07 08:33:34] local.INFO: Processing buffer {"connection_id":124264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a87a138012d7b760005e736500007016522..."} 
[2026-07-07 08:33:34] local.INFO: Packet analysis {"connection_id":124264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a87"} 
[2026-07-07 08:33:34] local.INFO: Extracted packet for processing {"connection_id":124264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a87"} 
[2026-07-07 08:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763065856,"raw_latitude":99038800,"longitude_deg":76.3065856,"latitude_deg":9.90388,"altitude":7,"angle":357,"satellites":34,"speed":0,"hex_longitude":"2d7b7600","hex_latitude":"05e73650","is_valid_coordinates":true} 
[2026-07-07 08:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548705536001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103238090239246336,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896298139270926336,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783393395000,"timestamp_ms":1783393395000,"timestamp_seconds":1783393395,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a87a138"} 
[2026-07-07 08:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":26,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-07 08:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1795,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:33: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-07-07 08:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548705536001,"66":10439,"96":206,"87":13824,"24":0,"16":103238090239246336,"45":8896298139270926336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548705536001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:33:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:33:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103238090239246336,"km_value":103238090239246.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896298139270926336,"description":"Unknown IO ID 45"} 
[2026-07-07 08:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548705536001,"power":10439,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8896298139270926336}} 
[2026-07-07 08:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":124264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:33:34] local.INFO: GPS data processed {"connection_id":124264,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:33:34] local.INFO: Acknowledgment sent {"connection_id":124264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:33:44] local.INFO: TCP Data received {"connection_id":124164,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a872c08012d7d6580062b48700015008c2c..."} 
[2026-07-07 08:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a872c08012d7d6580062b48700015008c2c..."} 
[2026-07-07 08:33:44] local.INFO: Processing buffer {"connection_id":124164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a872c08012d7d6580062b48700015008c2c..."} 
[2026-07-07 08:33:44] local.INFO: Packet analysis {"connection_id":124164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a87"} 
[2026-07-07 08:33:44] local.INFO: Extracted packet for processing {"connection_id":124164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a87"} 
[2026-07-07 08:33:44] local.INFO: GPS Element Parsed {"raw_longitude":763192704,"raw_latitude":103499888,"longitude_deg":76.3192704,"latitude_deg":10.3499888,"altitude":21,"angle":140,"satellites":44,"speed":58,"hex_longitude":"2d7d6580","hex_latitude":"062b4870","is_valid_coordinates":true} 
[2026-07-07 08:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548699648001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340698688777093120,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028802485701584896,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783393365000,"timestamp_ms":1783393365000,"timestamp_seconds":1783393365,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a872c08"} 
[2026-07-07 08:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 08:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548699648001,"66":27789,"77":206,"79":21504,"24":58,"16":340698688777093120,"45":9028802485701584896},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,79,24,16,45]} 
[2026-07-07 08:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548699648001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:33:44] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-07-07 08:33:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340698688777093120,"km_value":340698688777093.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028802485701584896,"description":"Unknown IO ID 45"} 
[2026-07-07 08:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548699648001,"power":27789,"unknown_77":206,"unknown_79":21504,"ignition":58,"odometer":null,"unknown_45":9028802485701584896}} 
[2026-07-07 08:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":124164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:33:44] local.INFO: GPS data processed {"connection_id":124164,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:33:44] local.INFO: Acknowledgment sent {"connection_id":124164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:33:48] local.INFO: TCP Data received {"connection_id":124165,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8781f8012d0c4ec00703cc880018001012..."} 
[2026-07-07 08:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8781f8012d0c4ec00703cc880018001012..."} 
[2026-07-07 08:33:48] local.INFO: Processing buffer {"connection_id":124165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8781f8012d0c4ec00703cc880018001012..."} 
[2026-07-07 08:33:48] local.INFO: Packet analysis {"connection_id":124165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a87"} 
[2026-07-07 08:33:48] local.INFO: Extracted packet for processing {"connection_id":124165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a87"} 
[2026-07-07 08:33:48] local.INFO: GPS Element Parsed {"raw_longitude":755781312,"raw_latitude":117689480,"longitude_deg":75.5781312,"latitude_deg":11.768948,"altitude":24,"angle":16,"satellites":18,"speed":23,"hex_longitude":"2d0c4ec0","hex_latitude":"0703cc88","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548706816001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23273555898662912,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886716575511099392,"note":"Value kept but may cause issues"} 
[2026-07-07 08:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783393387000,"timestamp_ms":1783393387000,"timestamp_seconds":1783393387,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8781f8"} 
[2026-07-07 08:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 08:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":124165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":124165,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":124165,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548706816001,"66":14461,"37":206,"94":11008,"24":23,"16":23273555898662912,"45":886716575511099392},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 08:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548706816001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:33:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 08:33:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23273555898662912,"km_value":23273555898662.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":886716575511099392,"description":"Unknown IO ID 45"} 
[2026-07-07 08:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548706816001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":886716575511099392}} 
[2026-07-07 08:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":124165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444375,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:33:48] local.INFO: GPS data processed {"connection_id":124165,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:33:48] local.INFO: Acknowledgment sent {"connection_id":124165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:33:56] local.INFO: TCP Data received {"connection_id":126178,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:33:56] local.INFO: Processing buffer {"connection_id":126178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:33:56] local.INFO: IMEI packet received {"connection_id":126178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":126178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:33:59] local.INFO: TCP Data received {"connection_id":124950,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:33:59] local.INFO: Processing buffer {"connection_id":124950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:33:59] local.INFO: IMEI packet received {"connection_id":124950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 08:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":124950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:34:00] local.INFO: TCP Data received {"connection_id":124166,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:34:00] local.INFO: Processing buffer {"connection_id":124166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:34:00] local.INFO: IMEI packet received {"connection_id":124166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":124166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:34:01] local.INFO: TCP Data received {"connection_id":126178,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:34:01] local.INFO: Processing buffer {"connection_id":126178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:34:01] local.INFO: IMEI packet received {"connection_id":126178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":126178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:34:02] local.INFO: TCP Data received {"connection_id":124166,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:34:02] local.INFO: Processing buffer {"connection_id":124166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:34:02] local.INFO: IMEI packet received {"connection_id":124166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":124166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:34:03] local.INFO: TCP Data received {"connection_id":124166,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a874760012d7d7d80062b2b900015008b2d..."} 
[2026-07-07 08:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a874760012d7d7d80062b2b900015008b2d..."} 
[2026-07-07 08:34:03] local.INFO: Processing buffer {"connection_id":124166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a874760012d7d7d80062b2b900015008b2d..."} 
[2026-07-07 08:34:03] local.INFO: Packet analysis {"connection_id":124166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a87"} 
[2026-07-07 08:34:03] local.INFO: Extracted packet for processing {"connection_id":124166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a87"} 
[2026-07-07 08:34:03] local.INFO: GPS Element Parsed {"raw_longitude":763198848,"raw_latitude":103492496,"longitude_deg":76.3198848,"latitude_deg":10.3492496,"altitude":21,"angle":139,"satellites":45,"speed":50,"hex_longitude":"2d7d7d80","hex_latitude":"062b2b90","is_valid_coordinates":true} 
[2026-07-07 08:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548701440001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340699152633561088,"note":"Value kept but may cause issues"} 
[2026-07-07 08:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9035768991373094912,"note":"Value kept but may cause issues"} 
[2026-07-07 08:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783393372000,"timestamp_ms":1783393372000,"timestamp_seconds":1783393372,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a874760"} 
[2026-07-07 08:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:34: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-07-07 08:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-07 08:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548701440001,"66":27821,"77":206,"79":21504,"24":50,"16":340699152633561088,"45":9035768991373094912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,79,24,16,45]} 
[2026-07-07 08:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548701440001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:34:03] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-07-07 08:34:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340699152633561088,"km_value":340699152633561.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9035768991373094912,"description":"Unknown IO ID 45"} 
[2026-07-07 08:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548701440001,"power":27821,"unknown_77":206,"unknown_79":21504,"ignition":50,"odometer":null,"unknown_45":9035768991373094912}} 
[2026-07-07 08:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":124166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:34:03] local.INFO: GPS data processed {"connection_id":124166,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:34:03] local.INFO: Acknowledgment sent {"connection_id":124166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:34:06] local.INFO: TCP Data received {"connection_id":124166,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8766a0012d7d9540062b0ea00016008f2c..."} 
[2026-07-07 08:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8766a0012d7d9540062b0ea00016008f2c..."} 
[2026-07-07 08:34:06] local.INFO: Processing buffer {"connection_id":124166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8766a0012d7d9540062b0ea00016008f2c..."} 
[2026-07-07 08:34:06] local.INFO: Packet analysis {"connection_id":124166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a87"} 
[2026-07-07 08:34:06] local.INFO: Extracted packet for processing {"connection_id":124166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a87"} 
[2026-07-07 08:34:06] local.INFO: GPS Element Parsed {"raw_longitude":763204928,"raw_latitude":103485088,"longitude_deg":76.3204928,"latitude_deg":10.3485088,"altitude":22,"angle":143,"satellites":44,"speed":45,"hex_longitude":"2d7d9540","hex_latitude":"062b0ea0","is_valid_coordinates":true} 
[2026-07-07 08:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548703232001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340699616490029056,"note":"Value kept but may cause issues"} 
[2026-07-07 08:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9042524390812258304,"note":"Value kept but may cause issues"} 
[2026-07-07 08:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783393380000,"timestamp_ms":1783393380000,"timestamp_seconds":1783393380,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8766a0"} 
[2026-07-07 08:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:34: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-07-07 08:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 08:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548703232001,"66":27865,"77":206,"79":21504,"24":45,"16":340699616490029056,"45":9042524390812258304},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,79,24,16,45]} 
[2026-07-07 08:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548703232001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:34:06] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-07-07 08:34:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340699616490029056,"km_value":340699616490029.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9042524390812258304,"description":"Unknown IO ID 45"} 
[2026-07-07 08:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548703232001,"power":27865,"unknown_77":206,"unknown_79":21504,"ignition":45,"odometer":null,"unknown_45":9042524390812258304}} 
[2026-07-07 08:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":124166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:34:06] local.INFO: GPS data processed {"connection_id":124166,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:34:06] local.INFO: Acknowledgment sent {"connection_id":124166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:34:11] local.INFO: TCP Data received {"connection_id":126178,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a87c848012d7b764005e73670000b000a24..."} 
[2026-07-07 08:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a87c848012d7b764005e73670000b000a24..."} 
[2026-07-07 08:34:11] local.INFO: Processing buffer {"connection_id":126178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a87c848012d7b764005e73670000b000a24..."} 
[2026-07-07 08:34:11] local.INFO: Packet analysis {"connection_id":126178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a87"} 
[2026-07-07 08:34:11] local.INFO: Extracted packet for processing {"connection_id":126178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a87"} 
[2026-07-07 08:34:11] local.INFO: GPS Element Parsed {"raw_longitude":763065920,"raw_latitude":99038832,"longitude_deg":76.306592,"latitude_deg":9.9038832,"altitude":11,"angle":10,"satellites":36,"speed":3,"hex_longitude":"2d7b7640","hex_latitude":"05e73670","is_valid_coordinates":true} 
[2026-07-07 08:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548709120001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103238094534213632,"note":"Value kept but may cause issues"} 
[2026-07-07 08:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896298139270926336,"note":"Value kept but may cause issues"} 
[2026-07-07 08:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783393405000,"timestamp_ms":1783393405000,"timestamp_seconds":1783393405,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a87c848"} 
[2026-07-07 08:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":40,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-07 08:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2189,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:34: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-07-07 08:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548709120001,"66":11352,"96":206,"87":13824,"24":3,"16":103238094534213632,"45":8896298139270926336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548709120001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:34:11] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:34:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103238094534213632,"km_value":103238094534213.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896298139270926336,"description":"Unknown IO ID 45"} 
[2026-07-07 08:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548709120001,"power":11352,"unknown_96":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8896298139270926336}} 
[2026-07-07 08:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":126178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:34:11] local.INFO: GPS data processed {"connection_id":126178,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:34:11] local.INFO: Acknowledgment sent {"connection_id":126178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:34:12] local.INFO: TCP Data received {"connection_id":124265,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124265,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:34:12] local.INFO: Processing buffer {"connection_id":124265,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:34:12] local.INFO: IMEI packet received {"connection_id":124265,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":124265,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:34:15] local.INFO: TCP Data received {"connection_id":124265,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124265,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:34:15] local.INFO: Processing buffer {"connection_id":124265,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:34:15] local.INFO: IMEI packet received {"connection_id":124265,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":124265,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:34:20] local.INFO: TCP Data received {"connection_id":124265,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124265,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:34:20] local.INFO: Processing buffer {"connection_id":124265,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:34:20] local.INFO: IMEI packet received {"connection_id":124265,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":124265,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:34:21] local.INFO: TCP Data received {"connection_id":124265,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a886c58012d0cb78007045d500017000e12..."} 
[2026-07-07 08:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a886c58012d0cb78007045d500017000e12..."} 
[2026-07-07 08:34:21] local.INFO: Processing buffer {"connection_id":124265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a886c58012d0cb78007045d500017000e12..."} 
[2026-07-07 08:34:21] local.INFO: Packet analysis {"connection_id":124265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a88"} 
[2026-07-07 08:34:21] local.INFO: Extracted packet for processing {"connection_id":124265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a88"} 
[2026-07-07 08:34:21] local.INFO: GPS Element Parsed {"raw_longitude":755808128,"raw_latitude":117726544,"longitude_deg":75.5808128,"latitude_deg":11.7726544,"altitude":23,"angle":14,"satellites":18,"speed":6,"hex_longitude":"2d0cb780","hex_latitude":"07045d50","is_valid_coordinates":true} 
[2026-07-07 08:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548721664001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23275866591068160,"note":"Value kept but may cause issues"} 
[2026-07-07 08:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916130710586920960,"note":"Value kept but may cause issues"} 
[2026-07-07 08:34:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 08:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783393447000,"timestamp_ms":1783393447000,"timestamp_seconds":1783393447,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a886c58"} 
[2026-07-07 08:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 08:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124265,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124265,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548721664001,"66":14439,"16":23275866591068160,"94":11008,"24":6,"45":916130710586920960},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 08:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548721664001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23275866591068160,"km_value":23275866591068.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:34:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":916130710586920960,"description":"Unknown IO ID 45"} 
[2026-07-07 08:34:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456548721664001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":6,"unknown_45":916130710586920960}} 
[2026-07-07 08:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":124265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444379,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:34:21] local.INFO: GPS data processed {"connection_id":124265,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:34:21] local.INFO: Acknowledgment sent {"connection_id":124265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:34:38] local.INFO: TCP Data received {"connection_id":124166,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8785e0012d7da880062aeec00017009b2b..."} 
[2026-07-07 08:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8785e0012d7da880062aeec00017009b2b..."} 
[2026-07-07 08:34:38] local.INFO: Processing buffer {"connection_id":124166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8785e0012d7da880062aeec00017009b2b..."} 
[2026-07-07 08:34:38] local.INFO: Packet analysis {"connection_id":124166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a87"} 
[2026-07-07 08:34:38] local.INFO: Extracted packet for processing {"connection_id":124166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a87"} 
[2026-07-07 08:34:38] local.INFO: GPS Element Parsed {"raw_longitude":763209856,"raw_latitude":103476928,"longitude_deg":76.3209856,"latitude_deg":10.3476928,"altitude":23,"angle":155,"satellites":43,"speed":48,"hex_longitude":"2d7da880","hex_latitude":"062aeec0","is_valid_coordinates":true} 
[2026-07-07 08:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548705280001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340700076051529728,"note":"Value kept but may cause issues"} 
[2026-07-07 08:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9049209421507239936,"note":"Value kept but may cause issues"} 
[2026-07-07 08:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783393388000,"timestamp_ms":1783393388000,"timestamp_seconds":1783393388,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8785e0"} 
[2026-07-07 08:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 08:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548705280001,"66":27745,"77":206,"79":21504,"24":48,"16":340700076051529728,"45":9049209421507239936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,79,24,16,45]} 
[2026-07-07 08:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548705280001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:34:38] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-07-07 08:34:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340700076051529728,"km_value":340700076051529.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9049209421507239936,"description":"Unknown IO ID 45"} 
[2026-07-07 08:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548705280001,"power":27745,"unknown_77":206,"unknown_79":21504,"ignition":48,"odometer":null,"unknown_45":9049209421507239936}} 
[2026-07-07 08:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":124166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:34:38] local.INFO: GPS data processed {"connection_id":124166,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:34:38] local.INFO: Acknowledgment sent {"connection_id":124166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:34:56] local.INFO: TCP Data received {"connection_id":124266,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:34:56] local.INFO: Processing buffer {"connection_id":124266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:34:56] local.INFO: IMEI packet received {"connection_id":124266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":124266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:34:57] local.INFO: TCP Data received {"connection_id":124167,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:34:57] local.INFO: Processing buffer {"connection_id":124167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:34:57] local.INFO: IMEI packet received {"connection_id":124167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":124167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:34:59] local.INFO: TCP Data received {"connection_id":124167,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:34:59] local.INFO: Processing buffer {"connection_id":124167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:34:59] local.INFO: IMEI packet received {"connection_id":124167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":124167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:35:01] local.INFO: TCP Data received {"connection_id":124266,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:35:01] local.INFO: Processing buffer {"connection_id":124266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:35:01] local.INFO: IMEI packet received {"connection_id":124266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":124266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:35:02] local.INFO: TCP Data received {"connection_id":124266,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a87d018012d7b760005e737a0000b015f25..."} 
[2026-07-07 08:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a87d018012d7b760005e737a0000b015f25..."} 
[2026-07-07 08:35:02] local.INFO: Processing buffer {"connection_id":124266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a87d018012d7b760005e737a0000b015f25..."} 
[2026-07-07 08:35:02] local.INFO: Packet analysis {"connection_id":124266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a87"} 
[2026-07-07 08:35:02] local.INFO: Extracted packet for processing {"connection_id":124266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a87"} 
[2026-07-07 08:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763065856,"raw_latitude":99039136,"longitude_deg":76.3065856,"latitude_deg":9.9039136,"altitude":11,"angle":351,"satellites":37,"speed":5,"hex_longitude":"2d7b7600","hex_latitude":"05e737a0","is_valid_coordinates":true} 
[2026-07-07 08:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548711680001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103238111714082816,"note":"Value kept but may cause issues"} 
[2026-07-07 08:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896368508015112192,"note":"Value kept but may cause issues"} 
[2026-07-07 08:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783393407000,"timestamp_ms":1783393407000,"timestamp_seconds":1783393407,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a87d018"} 
[2026-07-07 08:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-07 08:35:02] 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-07-07 08:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548711680001,"66":12254,"96":206,"87":13824,"24":5,"16":103238111714082816,"45":8896368508015112192},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548711680001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:35:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:35:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103238111714082816,"km_value":103238111714082.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896368508015112192,"description":"Unknown IO ID 45"} 
[2026-07-07 08:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548711680001,"power":12254,"unknown_96":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8896368508015112192}} 
[2026-07-07 08:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":124266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:35:02] local.INFO: GPS data processed {"connection_id":124266,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:35:02] local.INFO: Acknowledgment sent {"connection_id":124266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:35:05] local.INFO: TCP Data received {"connection_id":124167,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:35:05] local.INFO: Processing buffer {"connection_id":124167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:35:05] local.INFO: IMEI packet received {"connection_id":124167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":124167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:35:06] local.INFO: TCP Data received {"connection_id":124167,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a887fe0012d7dd7c00629cd78002000c22d..."} 
[2026-07-07 08:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a887fe0012d7dd7c00629cd78002000c22d..."} 
[2026-07-07 08:35:06] local.INFO: Processing buffer {"connection_id":124167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a887fe0012d7dd7c00629cd78002000c22d..."} 
[2026-07-07 08:35:06] local.INFO: Packet analysis {"connection_id":124167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a88"} 
[2026-07-07 08:35:06] local.INFO: Extracted packet for processing {"connection_id":124167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a88"} 
[2026-07-07 08:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763221952,"raw_latitude":103402872,"longitude_deg":76.3221952,"latitude_deg":10.3402872,"altitude":32,"angle":194,"satellites":45,"speed":50,"hex_longitude":"2d7dd7c0","hex_latitude":"0629cd78","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548721664001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340703752543535104,"note":"Value kept but may cause issues"} 
[2026-07-07 08:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9069686726044409856,"note":"Value kept but may cause issues"} 
[2026-07-07 08:35:06] 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-07-07 08:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783393452000,"timestamp_ms":1783393452000,"timestamp_seconds":1783393452,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a887fe0"} 
[2026-07-07 08:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 08:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548721664001,"66":27745,"91":206,"79":21504,"24":50,"16":340703752543535104,"45":9069686726044409856},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-07 08:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548721664001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:35:06] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-07 08:35:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340703752543535104,"km_value":340703752543535.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9069686726044409856,"description":"Unknown IO ID 45"} 
[2026-07-07 08:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548721664001,"power":27745,"unknown_91":206,"unknown_79":21504,"ignition":50,"odometer":null,"unknown_45":9069686726044409856}} 
[2026-07-07 08:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":124167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:35:06] local.INFO: GPS data processed {"connection_id":124167,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:35:06] local.INFO: Acknowledgment sent {"connection_id":124167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:35:10] local.INFO: TCP Data received {"connection_id":124267,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124267,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:35:10] local.INFO: Processing buffer {"connection_id":124267,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:35:10] local.INFO: IMEI packet received {"connection_id":124267,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":124267,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:35:12] local.INFO: TCP Data received {"connection_id":124267,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124267,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:35:12] local.INFO: Processing buffer {"connection_id":124267,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:35:12] local.INFO: IMEI packet received {"connection_id":124267,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":124267,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:35:15] local.INFO: TCP Data received {"connection_id":124267,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124267,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:35:15] local.INFO: Processing buffer {"connection_id":124267,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:35:15] local.INFO: IMEI packet received {"connection_id":124267,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":124267,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:35:16] local.INFO: TCP Data received {"connection_id":124267,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a893b60012d0c91800704cdb0001c000212..."} 
[2026-07-07 08:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a893b60012d0c91800704cdb0001c000212..."} 
[2026-07-07 08:35:16] local.INFO: Processing buffer {"connection_id":124267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a893b60012d0c91800704cdb0001c000212..."} 
[2026-07-07 08:35:16] local.INFO: Packet analysis {"connection_id":124267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a89"} 
[2026-07-07 08:35:16] local.INFO: Extracted packet for processing {"connection_id":124267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a89"} 
[2026-07-07 08:35:16] local.INFO: GPS Element Parsed {"raw_longitude":755798400,"raw_latitude":117755312,"longitude_deg":75.57984,"latitude_deg":11.7755312,"altitude":28,"angle":2,"satellites":18,"speed":7,"hex_longitude":"2d0c9180","hex_latitude":"0704cdb0","is_valid_coordinates":true} 
[2026-07-07 08:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548732160001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23277408484327424,"note":"Value kept but may cause issues"} 
[2026-07-07 08:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907123511338561536,"note":"Value kept but may cause issues"} 
[2026-07-07 08:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783393500000,"timestamp_ms":1783393500000,"timestamp_seconds":1783393500,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a893b60"} 
[2026-07-07 08:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 08:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124267,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124267,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548732160001,"66":14439,"95":206,"94":10240,"24":7,"16":23277408484327424,"45":907123511338561536},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-07 08:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548732160001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:35:16] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 08:35:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 08:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23277408484327424,"km_value":23277408484327.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":907123511338561536,"description":"Unknown IO ID 45"} 
[2026-07-07 08:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548732160001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":907123511338561536}} 
[2026-07-07 08:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":124267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444383,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:35:16] local.INFO: GPS data processed {"connection_id":124267,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:35:16] local.INFO: Acknowledgment sent {"connection_id":124267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:35:37] local.INFO: TCP Data received {"connection_id":124266,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a87eb70012d7b74c005e742c0000a000125..."} 
[2026-07-07 08:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a87eb70012d7b74c005e742c0000a000125..."} 
[2026-07-07 08:35:37] local.INFO: Processing buffer {"connection_id":124266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a87eb70012d7b74c005e742c0000a000125..."} 
[2026-07-07 08:35:37] local.INFO: Packet analysis {"connection_id":124266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a87"} 
[2026-07-07 08:35:37] local.INFO: Extracted packet for processing {"connection_id":124266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a87"} 
[2026-07-07 08:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763065536,"raw_latitude":99041984,"longitude_deg":76.3065536,"latitude_deg":9.9041984,"altitude":10,"angle":1,"satellites":37,"speed":22,"hex_longitude":"2d7b74c0","hex_latitude":"05e742c0","is_valid_coordinates":true} 
[2026-07-07 08:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548712192001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103238253448003584,"note":"Value kept but may cause issues"} 
[2026-07-07 08:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896298139271012352,"note":"Value kept but may cause issues"} 
[2026-07-07 08:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783393414000,"timestamp_ms":1783393414000,"timestamp_seconds":1783393414,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a87eb70"} 
[2026-07-07 08:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":222,"data_length":795,"current_offset":136} 
[2026-07-07 08:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:35: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-07-07 08:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548712192001,"66":12515,"96":206,"87":13824,"24":22,"16":103238253448003584,"45":8896298139271012352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548712192001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:35:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:35:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103238253448003584,"km_value":103238253448003.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896298139271012352,"description":"Unknown IO ID 45"} 
[2026-07-07 08:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548712192001,"power":12515,"unknown_96":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8896298139271012352}} 
[2026-07-07 08:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":124266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:35:37] local.INFO: GPS data processed {"connection_id":124266,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:35:37] local.INFO: Acknowledgment sent {"connection_id":124266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:35:37] local.INFO: TCP Data received {"connection_id":124167,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a887fe0012d7dd7c00629cd78002000c22d..."} 
[2026-07-07 08:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a887fe0012d7dd7c00629cd78002000c22d..."} 
[2026-07-07 08:35:37] local.INFO: Processing buffer {"connection_id":124167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a887fe0012d7dd7c00629cd78002000c22d..."} 
[2026-07-07 08:35:37] local.INFO: Packet analysis {"connection_id":124167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a88"} 
[2026-07-07 08:35:37] local.INFO: Extracted packet for processing {"connection_id":124167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a88"} 
[2026-07-07 08:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763221952,"raw_latitude":103402872,"longitude_deg":76.3221952,"latitude_deg":10.3402872,"altitude":32,"angle":194,"satellites":45,"speed":50,"hex_longitude":"2d7dd7c0","hex_latitude":"0629cd78","is_valid_coordinates":true} 
[2026-07-07 08:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548723712001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340703752543535104,"note":"Value kept but may cause issues"} 
[2026-07-07 08:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067927507437451264,"note":"Value kept but may cause issues"} 
[2026-07-07 08:35:37] 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-07-07 08:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783393452000,"timestamp_ms":1783393452000,"timestamp_seconds":1783393452,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a887fe0"} 
[2026-07-07 08:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:35: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-07-07 08:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 08:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548723712001,"66":27745,"91":206,"79":21504,"24":50,"16":340703752543535104,"45":9067927507437451264},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-07 08:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548723712001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:35:37] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-07 08:35:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340703752543535104,"km_value":340703752543535.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067927507437451264,"description":"Unknown IO ID 45"} 
[2026-07-07 08:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548723712001,"power":27745,"unknown_91":206,"unknown_79":21504,"ignition":50,"odometer":null,"unknown_45":9067927507437451264}} 
[2026-07-07 08:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":124167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:35:37] local.INFO: GPS data processed {"connection_id":124167,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:35:37] local.INFO: Acknowledgment sent {"connection_id":124167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:35:48] local.INFO: TCP Data received {"connection_id":124267,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a893f48012d0c91400704ce90001c015d12..."} 
[2026-07-07 08:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a893f48012d0c91400704ce90001c015d12..."} 
[2026-07-07 08:35:48] local.INFO: Processing buffer {"connection_id":124267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a893f48012d0c91400704ce90001c015d12..."} 
[2026-07-07 08:35:48] local.INFO: Packet analysis {"connection_id":124267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a89"} 
[2026-07-07 08:35:48] local.INFO: Extracted packet for processing {"connection_id":124267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a89"} 
[2026-07-07 08:35:48] local.INFO: GPS Element Parsed {"raw_longitude":755798336,"raw_latitude":117755536,"longitude_deg":75.5798336,"latitude_deg":11.7755536,"altitude":28,"angle":349,"satellites":18,"speed":11,"hex_longitude":"2d0c9140","hex_latitude":"0704ce90","is_valid_coordinates":true} 
[2026-07-07 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-07-07 08:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548736000001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23277417074262016,"note":"Value kept but may cause issues"} 
[2026-07-07 08:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905645767711895552,"note":"Value kept but may cause issues"} 
[2026-07-07 08:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783393501000,"timestamp_ms":1783393501000,"timestamp_seconds":1783393501,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a893f48"} 
[2026-07-07 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-07-07 08:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 08:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 08:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":124267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":124267,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":124267,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548736000001,"66":14439,"95":206,"94":10240,"24":11,"16":23277417074262016,"45":905645767711895552},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-07 08:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548736000001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:35:48] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 08:35:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 08:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23277417074262016,"km_value":23277417074262.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":905645767711895552,"description":"Unknown IO ID 45"} 
[2026-07-07 08:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548736000001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":905645767711895552}} 
[2026-07-07 08:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":124267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444386,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:35:48] local.INFO: GPS data processed {"connection_id":124267,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:35:48] local.INFO: Acknowledgment sent {"connection_id":124267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:36:01] local.INFO: TCP Data received {"connection_id":124952,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:36:01] local.INFO: Processing buffer {"connection_id":124952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:36:01] local.INFO: IMEI packet received {"connection_id":124952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":124952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:36:04] local.INFO: TCP Data received {"connection_id":124954,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:36:04] local.INFO: Processing buffer {"connection_id":124954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:36:04] local.INFO: IMEI packet received {"connection_id":124954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":124954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:36:05] local.INFO: TCP Data received {"connection_id":124952,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:36:05] local.INFO: Processing buffer {"connection_id":124952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:36:05] local.INFO: IMEI packet received {"connection_id":124952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":124952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:36:06] local.INFO: TCP Data received {"connection_id":124952,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8806c8012d7b73c005e753d0000b015c24..."} 
[2026-07-07 08:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8806c8012d7b73c005e753d0000b015c24..."} 
[2026-07-07 08:36:06] local.INFO: Processing buffer {"connection_id":124952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8806c8012d7b73c005e753d0000b015c24..."} 
[2026-07-07 08:36:06] local.INFO: Packet analysis {"connection_id":124952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a88"} 
[2026-07-07 08:36:06] local.INFO: Extracted packet for processing {"connection_id":124952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a88"} 
[2026-07-07 08:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763065280,"raw_latitude":99046352,"longitude_deg":76.306528,"latitude_deg":9.9046352,"altitude":11,"angle":348,"satellites":36,"speed":23,"hex_longitude":"2d7b73c0","hex_latitude":"05e753d0","is_valid_coordinates":true} 
[2026-07-07 08:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548713984001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103238463901401088,"note":"Value kept but may cause issues"} 
[2026-07-07 08:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895946295550853120,"note":"Value kept but may cause issues"} 
[2026-07-07 08:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783393421000,"timestamp_ms":1783393421000,"timestamp_seconds":1783393421,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8806c8"} 
[2026-07-07 08:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-07 08:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:36: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-07-07 08:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548713984001,"66":12711,"96":206,"87":13824,"24":23,"16":103238463901401088,"45":8895946295550853120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548713984001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:36:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:36:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103238463901401088,"km_value":103238463901401.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895946295550853120,"description":"Unknown IO ID 45"} 
[2026-07-07 08:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548713984001,"power":12711,"unknown_96":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8895946295550853120}} 
[2026-07-07 08:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":124952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:36:06] local.INFO: GPS data processed {"connection_id":124952,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:36:06] local.INFO: Acknowledgment sent {"connection_id":124952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:36:12] local.INFO: TCP Data received {"connection_id":124952,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8858d0012d7b6f4005e766800009015b25..."} 
[2026-07-07 08:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8858d0012d7b6f4005e766800009015b25..."} 
[2026-07-07 08:36:12] local.INFO: Processing buffer {"connection_id":124952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8858d0012d7b6f4005e766800009015b25..."} 
[2026-07-07 08:36:12] local.INFO: Packet analysis {"connection_id":124952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a88"} 
[2026-07-07 08:36:12] local.INFO: Extracted packet for processing {"connection_id":124952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a88"} 
[2026-07-07 08:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763064128,"raw_latitude":99051136,"longitude_deg":76.3064128,"latitude_deg":9.9051136,"altitude":9,"angle":347,"satellites":37,"speed":0,"hex_longitude":"2d7b6f40","hex_latitude":"05e76680","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548715776001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103238708714536960,"note":"Value kept but may cause issues"} 
[2026-07-07 08:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895664820575260672,"note":"Value kept but may cause issues"} 
[2026-07-07 08:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783393442000,"timestamp_ms":1783393442000,"timestamp_seconds":1783393442,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8858d0"} 
[2026-07-07 08:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:36: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-07-07 08: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-07 08:36: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-07-07 08: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-07-07 08:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:36: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-07-07 08:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548715776001,"66":12982,"96":206,"87":13824,"24":0,"16":103238708714536960,"45":8895664820575260672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 08:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548715776001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:36:12] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 08:36:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103238708714536960,"km_value":103238708714536.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895664820575260672,"description":"Unknown IO ID 45"} 
[2026-07-07 08:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548715776001,"power":12982,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8895664820575260672}} 
[2026-07-07 08:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":124952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:36:12] local.INFO: GPS data processed {"connection_id":124952,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:36:12] local.INFO: Acknowledgment sent {"connection_id":124952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:36:14] local.INFO: TCP Data received {"connection_id":124954,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:36:14] local.INFO: Processing buffer {"connection_id":124954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:36:14] local.INFO: IMEI packet received {"connection_id":124954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":124954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:36:16] local.INFO: TCP Data received {"connection_id":124954,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a889b38012d7dce800629ab90001f00c32d..."} 
[2026-07-07 08:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a889b38012d7dce800629ab90001f00c32d..."} 
[2026-07-07 08:36:16] local.INFO: Processing buffer {"connection_id":124954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a889b38012d7dce800629ab90001f00c32d..."} 
[2026-07-07 08:36:16] local.INFO: Packet analysis {"connection_id":124954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a88"} 
[2026-07-07 08:36:16] local.INFO: Extracted packet for processing {"connection_id":124954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a88"} 
[2026-07-07 08:36:16] local.INFO: GPS Element Parsed {"raw_longitude":763219584,"raw_latitude":103394192,"longitude_deg":76.3219584,"latitude_deg":10.3394192,"altitude":31,"angle":195,"satellites":45,"speed":53,"hex_longitude":"2d7dce80","hex_latitude":"0629ab90","is_valid_coordinates":true} 
[2026-07-07 08:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548723712001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340704186335232000,"note":"Value kept but may cause issues"} 
[2026-07-07 08:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067927507437451264,"note":"Value kept but may cause issues"} 
[2026-07-07 08:36:16] 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-07-07 08:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783393459000,"timestamp_ms":1783393459000,"timestamp_seconds":1783393459,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a889b38"} 
[2026-07-07 08:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 08:36: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-07-07 08:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548723712001,"66":27800,"91":206,"79":21504,"24":53,"16":340704186335232000,"45":9067927507437451264},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-07 08:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548723712001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:36:16] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-07 08:36:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340704186335232000,"km_value":340704186335232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067927507437451264,"description":"Unknown IO ID 45"} 
[2026-07-07 08:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548723712001,"power":27800,"unknown_91":206,"unknown_79":21504,"ignition":53,"odometer":null,"unknown_45":9067927507437451264}} 
[2026-07-07 08:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":124954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:36:16] local.INFO: GPS data processed {"connection_id":124954,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:36:16] local.INFO: Acknowledgment sent {"connection_id":124954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:36:19] local.INFO: TCP Data received {"connection_id":124954,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a88b690012d7dc4c006298730001e00c32d..."} 
[2026-07-07 08:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a88b690012d7dc4c006298730001e00c32d..."} 
[2026-07-07 08:36:19] local.INFO: Processing buffer {"connection_id":124954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a88b690012d7dc4c006298730001e00c32d..."} 
[2026-07-07 08:36:19] local.INFO: Packet analysis {"connection_id":124954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a88"} 
[2026-07-07 08:36:19] local.INFO: Extracted packet for processing {"connection_id":124954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a88"} 
[2026-07-07 08:36:19] local.INFO: GPS Element Parsed {"raw_longitude":763217088,"raw_latitude":103384880,"longitude_deg":76.3217088,"latitude_deg":10.338488,"altitude":30,"angle":195,"satellites":45,"speed":55,"hex_longitude":"2d7dc4c0","hex_latitude":"06298730","is_valid_coordinates":true} 
[2026-07-07 08:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548725504001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340704654486667264,"note":"Value kept but may cause issues"} 
[2026-07-07 08:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065323863900655616,"note":"Value kept but may cause issues"} 
[2026-07-07 08:36:19] 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-07-07 08:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783393466000,"timestamp_ms":1783393466000,"timestamp_seconds":1783393466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a88b690"} 
[2026-07-07 08:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 08:36: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-07-07 08:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548725504001,"66":27789,"91":206,"79":21504,"24":55,"16":340704654486667264,"45":9065323863900655616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-07 08:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548725504001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:36:19] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-07 08:36:19] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340704654486667264,"km_value":340704654486667.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065323863900655616,"description":"Unknown IO ID 45"} 
[2026-07-07 08:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548725504001,"power":27789,"unknown_91":206,"unknown_79":21504,"ignition":55,"odometer":null,"unknown_45":9065323863900655616}} 
[2026-07-07 08:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":124954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:36:19] local.INFO: GPS data processed {"connection_id":124954,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:36:19] local.INFO: Acknowledgment sent {"connection_id":124954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:36:20] local.INFO: TCP Data received {"connection_id":126180,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126180,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:36:20] local.INFO: Processing buffer {"connection_id":126180,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:36:20] local.INFO: IMEI packet received {"connection_id":126180,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":126180,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:36:21] local.INFO: TCP Data received {"connection_id":126180,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126180,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:36:21] local.INFO: Processing buffer {"connection_id":126180,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:36:21] local.INFO: IMEI packet received {"connection_id":126180,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":126180,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:36:23] local.INFO: TCP Data received {"connection_id":126180,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126180,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:36:23] local.INFO: Processing buffer {"connection_id":126180,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:36:23] local.INFO: IMEI packet received {"connection_id":126180,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":126180,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:36:24] local.INFO: TCP Data received {"connection_id":126180,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126180,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:36:24] local.INFO: Processing buffer {"connection_id":126180,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:36:24] local.INFO: IMEI packet received {"connection_id":126180,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":126180,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:36:55] local.INFO: TCP Data received {"connection_id":124168,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124168,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:36:55] local.INFO: Processing buffer {"connection_id":124168,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:36:55] local.INFO: IMEI packet received {"connection_id":124168,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":124168,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:36:56] local.INFO: TCP Data received {"connection_id":124168,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124168,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:36:56] local.INFO: Processing buffer {"connection_id":124168,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:36:56] local.INFO: IMEI packet received {"connection_id":124168,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":124168,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:36:56] local.INFO: TCP Data received {"connection_id":124268,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:36:56] local.INFO: Processing buffer {"connection_id":124268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:36:56] local.INFO: IMEI packet received {"connection_id":124268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":124268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:37:00] local.INFO: TCP Data received {"connection_id":124268,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:37:00] local.INFO: Processing buffer {"connection_id":124268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:37:00] local.INFO: IMEI packet received {"connection_id":124268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":124268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:37:02] local.INFO: TCP Data received {"connection_id":124168,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124168,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:37:02] local.INFO: Processing buffer {"connection_id":124168,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:37:02] local.INFO: IMEI packet received {"connection_id":124168,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":124168,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:37:02] local.INFO: TCP Data received {"connection_id":124268,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:37:02] local.INFO: Processing buffer {"connection_id":124268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:37:02] local.INFO: IMEI packet received {"connection_id":124268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":124268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:37:03] local.INFO: TCP Data received {"connection_id":124168,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8a50b8012d7b5c4005e854f80001016224..."} 
[2026-07-07 08:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8a50b8012d7b5c4005e854f80001016224..."} 
[2026-07-07 08:37:03] local.INFO: Processing buffer {"connection_id":124168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8a50b8012d7b5c4005e854f80001016224..."} 
[2026-07-07 08:37:03] local.INFO: Packet analysis {"connection_id":124168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8a"} 
[2026-07-07 08:37:03] local.INFO: Extracted packet for processing {"connection_id":124168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8a"} 
[2026-07-07 08:37:03] local.INFO: GPS Element Parsed {"raw_longitude":763059264,"raw_latitude":99112184,"longitude_deg":76.3059264,"latitude_deg":9.9112184,"altitude":1,"angle":354,"satellites":36,"speed":31,"hex_longitude":"2d7b5c40","hex_latitude":"05e854f8","is_valid_coordinates":true} 
[2026-07-07 08:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548752128001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103241715191644160,"note":"Value kept but may cause issues"} 
[2026-07-07 08:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888276102451779584,"note":"Value kept but may cause issues"} 
[2026-07-07 08:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783393571000,"timestamp_ms":1783393571000,"timestamp_seconds":1783393571,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8a50b8"} 
[2026-07-07 08:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 08:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:37: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-07-07 08:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548752128001,"66":13200,"201":206,"87":13824,"24":31,"16":103241715191644160,"45":8888276102451779584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-07 08:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548752128001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:37:03] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 08:37:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103241715191644160,"km_value":103241715191644.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888276102451779584,"description":"Unknown IO ID 45"} 
[2026-07-07 08:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548752128001,"power":13200,"unknown_201":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8888276102451779584}} 
[2026-07-07 08:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":124168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:37:03] local.INFO: GPS data processed {"connection_id":124168,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:37:03] local.INFO: Acknowledgment sent {"connection_id":124168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:37:05] local.INFO: TCP Data received {"connection_id":124268,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8a0e50012d7dfac00627a5f00011009e2d..."} 
[2026-07-07 08:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8a0e50012d7dfac00627a5f00011009e2d..."} 
[2026-07-07 08:37:05] local.INFO: Processing buffer {"connection_id":124268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8a0e50012d7dfac00627a5f00011009e2d..."} 
[2026-07-07 08:37:05] local.INFO: Packet analysis {"connection_id":124268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8a"} 
[2026-07-07 08:37:05] local.INFO: Extracted packet for processing {"connection_id":124268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8a"} 
[2026-07-07 08:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763230912,"raw_latitude":103261680,"longitude_deg":76.3230912,"latitude_deg":10.326168,"altitude":17,"angle":158,"satellites":45,"speed":66,"hex_longitude":"2d7dfac0","hex_latitude":"0627a5f0","is_valid_coordinates":true} 
[2026-07-07 08:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548748288001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340710701800620032,"note":"Value kept but may cause issues"} 
[2026-07-07 08:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9074260694379649024,"note":"Value kept but may cause issues"} 
[2026-07-07 08:37:05] 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-07-07 08:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783393554000,"timestamp_ms":1783393554000,"timestamp_seconds":1783393554,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8a0e50"} 
[2026-07-07 08:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 08:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548748288001,"66":28028,"52":206,"79":21504,"24":66,"16":340710701800620032,"45":9074260694379649024},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-07 08:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548748288001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:37:05] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-07 08:37:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340710701800620032,"km_value":340710701800620.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9074260694379649024,"description":"Unknown IO ID 45"} 
[2026-07-07 08:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548748288001,"power":28028,"unknown_52":206,"unknown_79":21504,"ignition":66,"odometer":null,"unknown_45":9074260694379649024}} 
[2026-07-07 08:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":124268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:37:05] local.INFO: GPS data processed {"connection_id":124268,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:37:05] local.INFO: Acknowledgment sent {"connection_id":124268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:37:06] local.INFO: TCP Data received {"connection_id":124268,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8a25c0012d7e0b80062781b0000e00982c..."} 
[2026-07-07 08:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8a25c0012d7e0b80062781b0000e00982c..."} 
[2026-07-07 08:37:06] local.INFO: Processing buffer {"connection_id":124268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8a25c0012d7e0b80062781b0000e00982c..."} 
[2026-07-07 08:37:06] local.INFO: Packet analysis {"connection_id":124268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8a"} 
[2026-07-07 08:37:06] local.INFO: Extracted packet for processing {"connection_id":124268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8a"} 
[2026-07-07 08:37:06] local.INFO: GPS Element Parsed {"raw_longitude":763235200,"raw_latitude":103252400,"longitude_deg":76.32352,"latitude_deg":10.32524,"altitude":14,"angle":152,"satellites":44,"speed":68,"hex_longitude":"2d7e0b80","hex_latitude":"062781b0","is_valid_coordinates":true} 
[2026-07-07 08:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548749824001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340711195721859072,"note":"Value kept but may cause issues"} 
[2026-07-07 08:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9077779131586179072,"note":"Value kept but may cause issues"} 
[2026-07-07 08:37:06] 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-07-07 08:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783393560000,"timestamp_ms":1783393560000,"timestamp_seconds":1783393560,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8a25c0"} 
[2026-07-07 08:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 08:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548749824001,"66":27767,"52":206,"79":21504,"24":68,"16":340711195721859072,"45":9077779131586179072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-07 08:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548749824001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:37:06] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-07 08:37:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340711195721859072,"km_value":340711195721859.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9077779131586179072,"description":"Unknown IO ID 45"} 
[2026-07-07 08:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548749824001,"power":27767,"unknown_52":206,"unknown_79":21504,"ignition":68,"odometer":null,"unknown_45":9077779131586179072}} 
[2026-07-07 08:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":124268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:37:06] local.INFO: GPS data processed {"connection_id":124268,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:37:06] local.INFO: Acknowledgment sent {"connection_id":124268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:37:35] local.INFO: TCP Data received {"connection_id":124168,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8a7bb0012d7b594005e87a780003016427..."} 
[2026-07-07 08:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8a7bb0012d7b594005e87a780003016427..."} 
[2026-07-07 08:37:35] local.INFO: Processing buffer {"connection_id":124168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8a7bb0012d7b594005e87a780003016427..."} 
[2026-07-07 08:37:35] local.INFO: Packet analysis {"connection_id":124168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8a"} 
[2026-07-07 08:37:35] local.INFO: Extracted packet for processing {"connection_id":124168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8a"} 
[2026-07-07 08:37:35] local.INFO: GPS Element Parsed {"raw_longitude":763058496,"raw_latitude":99121784,"longitude_deg":76.3058496,"latitude_deg":9.9121784,"altitude":3,"angle":356,"satellites":39,"speed":33,"hex_longitude":"2d7b5940","hex_latitude":"05e87a78","is_valid_coordinates":true} 
[2026-07-07 08:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548754176001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103242183343079424,"note":"Value kept but may cause issues"} 
[2026-07-07 08:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889050158639413248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783393582000,"timestamp_ms":1783393582000,"timestamp_seconds":1783393582,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8a7bb0"} 
[2026-07-07 08:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:37: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-07-07 08:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-07 08:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:37: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-07-07 08:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548754176001,"66":13254,"201":206,"87":13824,"24":33,"16":103242183343079424,"45":8889050158639413248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-07 08:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548754176001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:37:35] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 08:37:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103242183343079424,"km_value":103242183343079.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889050158639413248,"description":"Unknown IO ID 45"} 
[2026-07-07 08:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548754176001,"power":13254,"unknown_201":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8889050158639413248}} 
[2026-07-07 08:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":124168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:37:35] local.INFO: GPS data processed {"connection_id":124168,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:37:35] local.INFO: Acknowledgment sent {"connection_id":124168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:37:38] local.INFO: TCP Data received {"connection_id":124268,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8a3d30012d7e1d8006275eb8000d00972d..."} 
[2026-07-07 08:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8a3d30012d7e1d8006275eb8000d00972d..."} 
[2026-07-07 08:37:38] local.INFO: Processing buffer {"connection_id":124268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8a3d30012d7e1d8006275eb8000d00972d..."} 
[2026-07-07 08:37:38] local.INFO: Packet analysis {"connection_id":124268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8a"} 
[2026-07-07 08:37:38] local.INFO: Extracted packet for processing {"connection_id":124268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8a"} 
[2026-07-07 08:37:38] local.INFO: GPS Element Parsed {"raw_longitude":763239808,"raw_latitude":103243448,"longitude_deg":76.3239808,"latitude_deg":10.3243448,"altitude":13,"angle":151,"satellites":45,"speed":65,"hex_longitude":"2d7e1d80","hex_latitude":"06275eb8","is_valid_coordinates":true} 
[2026-07-07 08:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548751360001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340711685348130816,"note":"Value kept but may cause issues"} 
[2026-07-07 08:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9082493837443706880,"note":"Value kept but may cause issues"} 
[2026-07-07 08:37: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-07-07 08:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783393566000,"timestamp_ms":1783393566000,"timestamp_seconds":1783393566,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8a3d30"} 
[2026-07-07 08:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 08:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548751360001,"66":27658,"52":206,"79":21504,"24":65,"16":340711685348130816,"45":9082493837443706880},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-07 08:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548751360001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:37:38] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-07 08:37:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340711685348130816,"km_value":340711685348130.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9082493837443706880,"description":"Unknown IO ID 45"} 
[2026-07-07 08:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548751360001,"power":27658,"unknown_52":206,"unknown_79":21504,"ignition":65,"odometer":null,"unknown_45":9082493837443706880}} 
[2026-07-07 08:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":124268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:37:38] local.INFO: GPS data processed {"connection_id":124268,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:37:38] local.INFO: Acknowledgment sent {"connection_id":124268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:37:56] local.INFO: TCP Data received {"connection_id":124955,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:37:56] local.INFO: Processing buffer {"connection_id":124955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:37:56] local.INFO: IMEI packet received {"connection_id":124955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":124955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:38:01] local.INFO: TCP Data received {"connection_id":124955,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:38:01] local.INFO: Processing buffer {"connection_id":124955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:38:01] local.INFO: IMEI packet received {"connection_id":124955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":124955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:38:06] local.INFO: TCP Data received {"connection_id":124955,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8ba0a8012d7b6c8005e933000001004924..."} 
[2026-07-07 08:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8ba0a8012d7b6c8005e933000001004924..."} 
[2026-07-07 08:38:06] local.INFO: Processing buffer {"connection_id":124955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8ba0a8012d7b6c8005e933000001004924..."} 
[2026-07-07 08:38:06] local.INFO: Packet analysis {"connection_id":124955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8b"} 
[2026-07-07 08:38:06] local.INFO: Extracted packet for processing {"connection_id":124955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8b"} 
[2026-07-07 08:38:06] local.INFO: GPS Element Parsed {"raw_longitude":763063424,"raw_latitude":99169024,"longitude_deg":76.3063424,"latitude_deg":9.9169024,"altitude":1,"angle":73,"satellites":36,"speed":21,"hex_longitude":"2d7b6c80","hex_latitude":"05e93300","is_valid_coordinates":true} 
[2026-07-07 08:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548772096001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103244876287574016,"note":"Value kept but may cause issues"} 
[2026-07-07 08:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884265084049690624,"note":"Value kept but may cause issues"} 
[2026-07-07 08:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783393657000,"timestamp_ms":1783393657000,"timestamp_seconds":1783393657,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8ba0a8"} 
[2026-07-07 08:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-07 08:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:38: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-07-07 08:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548772096001,"66":13015,"201":206,"87":13824,"24":21,"16":103244876287574016,"45":8884265084049690624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-07 08:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548772096001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:38:06] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 08:38:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103244876287574016,"km_value":103244876287574.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884265084049690624,"description":"Unknown IO ID 45"} 
[2026-07-07 08:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548772096001,"power":13015,"unknown_201":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8884265084049690624}} 
[2026-07-07 08:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":124955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:38:06] local.INFO: GPS data processed {"connection_id":124955,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:38:06] local.INFO: Acknowledgment sent {"connection_id":124955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:38:09] local.INFO: TCP Data received {"connection_id":126183,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:38:09] local.INFO: Processing buffer {"connection_id":126183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:38:09] local.INFO: IMEI packet received {"connection_id":126183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":126183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:38:10] local.INFO: TCP Data received {"connection_id":126183,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:38:10] local.INFO: Processing buffer {"connection_id":126183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:38:10] local.INFO: IMEI packet received {"connection_id":126183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":126183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:38:14] local.INFO: TCP Data received {"connection_id":126183,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:38:14] local.INFO: Processing buffer {"connection_id":126183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:38:14] local.INFO: IMEI packet received {"connection_id":126183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":126183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:38:15] local.INFO: TCP Data received {"connection_id":126183,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8b5a58012d7edf800625f6e0000c00972f..."} 
[2026-07-07 08:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8b5a58012d7edf800625f6e0000c00972f..."} 
[2026-07-07 08:38:15] local.INFO: Processing buffer {"connection_id":126183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8b5a58012d7edf800625f6e0000c00972f..."} 
[2026-07-07 08:38:15] local.INFO: Packet analysis {"connection_id":126183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8b"} 
[2026-07-07 08:38:15] local.INFO: Extracted packet for processing {"connection_id":126183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8b"} 
[2026-07-07 08:38:15] local.INFO: GPS Element Parsed {"raw_longitude":763289472,"raw_latitude":103151328,"longitude_deg":76.3289472,"latitude_deg":10.3151328,"altitude":12,"angle":151,"satellites":47,"speed":58,"hex_longitude":"2d7edf80","hex_latitude":"0625f6e0","is_valid_coordinates":true} 
[2026-07-07 08:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548770048001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340716740524638208,"note":"Value kept but may cause issues"} 
[2026-07-07 08:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137522195366793216,"note":"Value kept but may cause issues"} 
[2026-07-07 08:38:15] 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-07-07 08:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783393639000,"timestamp_ms":1783393639000,"timestamp_seconds":1783393639,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8b5a58"} 
[2026-07-07 08:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:38: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-07-07 08:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 08:38: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-07-07 08:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548770048001,"66":27843,"52":206,"79":21504,"24":58,"16":340716740524638208,"45":9137522195366793216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-07 08:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548770048001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:38:15] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-07 08:38:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340716740524638208,"km_value":340716740524638.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137522195366793216,"description":"Unknown IO ID 45"} 
[2026-07-07 08:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548770048001,"power":27843,"unknown_52":206,"unknown_79":21504,"ignition":58,"odometer":null,"unknown_45":9137522195366793216}} 
[2026-07-07 08:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":126183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:38:15] local.INFO: GPS data processed {"connection_id":126183,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:38:15] local.INFO: Acknowledgment sent {"connection_id":126183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:38:16] local.INFO: TCP Data received {"connection_id":126183,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8b71c8012d7ef0400625d7f8000c00972f..."} 
[2026-07-07 08:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8b71c8012d7ef0400625d7f8000c00972f..."} 
[2026-07-07 08:38:16] local.INFO: Processing buffer {"connection_id":126183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8b71c8012d7ef0400625d7f8000c00972f..."} 
[2026-07-07 08:38:16] local.INFO: Packet analysis {"connection_id":126183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8b"} 
[2026-07-07 08:38:16] local.INFO: Extracted packet for processing {"connection_id":126183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8b"} 
[2026-07-07 08:38:16] local.INFO: GPS Element Parsed {"raw_longitude":763293760,"raw_latitude":103143416,"longitude_deg":76.329376,"latitude_deg":10.3143416,"altitude":12,"angle":151,"satellites":47,"speed":59,"hex_longitude":"2d7ef040","hex_latitude":"0625d7f8","is_valid_coordinates":true} 
[2026-07-07 08:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548771584001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340717174316335104,"note":"Value kept but may cause issues"} 
[2026-07-07 08:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9142166532480491520,"note":"Value kept but may cause issues"} 
[2026-07-07 08:38: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-07-07 08:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783393645000,"timestamp_ms":1783393645000,"timestamp_seconds":1783393645,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8b71c8"} 
[2026-07-07 08:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 08:38: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-07-07 08:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548771584001,"66":27865,"52":206,"79":21504,"24":59,"16":340717174316335104,"45":9142166532480491520},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-07 08:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548771584001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:38:16] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-07 08:38:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340717174316335104,"km_value":340717174316335.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9142166532480491520,"description":"Unknown IO ID 45"} 
[2026-07-07 08:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548771584001,"power":27865,"unknown_52":206,"unknown_79":21504,"ignition":59,"odometer":null,"unknown_45":9142166532480491520}} 
[2026-07-07 08:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":126183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:38:16] local.INFO: GPS data processed {"connection_id":126183,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:38:16] local.INFO: Acknowledgment sent {"connection_id":126183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:38:24] local.INFO: TCP Data received {"connection_id":126183,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8b8938012d7f01800625b8e8000b00972e..."} 
[2026-07-07 08:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8b8938012d7f01800625b8e8000b00972e..."} 
[2026-07-07 08:38:24] local.INFO: Processing buffer {"connection_id":126183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8b8938012d7f01800625b8e8000b00972e..."} 
[2026-07-07 08:38:24] local.INFO: Packet analysis {"connection_id":126183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8b"} 
[2026-07-07 08:38:24] local.INFO: Extracted packet for processing {"connection_id":126183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8b"} 
[2026-07-07 08:38:24] local.INFO: GPS Element Parsed {"raw_longitude":763298176,"raw_latitude":103135464,"longitude_deg":76.3298176,"latitude_deg":10.3135464,"altitude":11,"angle":151,"satellites":46,"speed":59,"hex_longitude":"2d7f0180","hex_latitude":"0625b8e8","is_valid_coordinates":true} 
[2026-07-07 08:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548773120001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340717616697966592,"note":"Value kept but may cause issues"} 
[2026-07-07 08:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9146881238338369536,"note":"Value kept but may cause issues"} 
[2026-07-07 08:38:24] 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-07-07 08:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783393651000,"timestamp_ms":1783393651000,"timestamp_seconds":1783393651,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8b8938"} 
[2026-07-07 08:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:38: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-07-07 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 08:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":126183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":126183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":126183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548773120001,"66":27800,"91":206,"79":21504,"24":59,"16":340717616697966592,"45":9146881238338369536},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-07 08:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548773120001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:38:24] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-07 08:38:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340717616697966592,"km_value":340717616697966.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9146881238338369536,"description":"Unknown IO ID 45"} 
[2026-07-07 08:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548773120001,"power":27800,"unknown_91":206,"unknown_79":21504,"ignition":59,"odometer":null,"unknown_45":9146881238338369536}} 
[2026-07-07 08:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":126183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:38:24] local.INFO: GPS data processed {"connection_id":126183,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:38:24] local.INFO: Acknowledgment sent {"connection_id":126183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:38:49] local.INFO: TCP Data received {"connection_id":124955,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8bbc00012d7b7b4005e938c00001003c21..."} 
[2026-07-07 08:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8bbc00012d7b7b4005e938c00001003c21..."} 
[2026-07-07 08:38:49] local.INFO: Processing buffer {"connection_id":124955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8bbc00012d7b7b4005e938c00001003c21..."} 
[2026-07-07 08:38:49] local.INFO: Packet analysis {"connection_id":124955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8b"} 
[2026-07-07 08:38:49] local.INFO: Extracted packet for processing {"connection_id":124955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8b"} 
[2026-07-07 08:38:49] local.INFO: GPS Element Parsed {"raw_longitude":763067200,"raw_latitude":99170496,"longitude_deg":76.30672,"latitude_deg":9.9170496,"altitude":1,"angle":60,"satellites":33,"speed":19,"hex_longitude":"2d7b7b40","hex_latitude":"05e938c0","is_valid_coordinates":true} 
[2026-07-07 08:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548776192001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103245069561102336,"note":"Value kept but may cause issues"} 
[2026-07-07 08:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893624127025512448,"note":"Value kept but may cause issues"} 
[2026-07-07 08:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783393664000,"timestamp_ms":1783393664000,"timestamp_seconds":1783393664,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8bbc00"} 
[2026-07-07 08:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 08:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":124955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":124955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":124955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:38: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-07-07 08:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548776192001,"66":12961,"201":206,"87":13824,"24":19,"16":103245069561102336,"45":8893624127025512448},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-07 08:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548776192001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:38:49] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 08:38:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103245069561102336,"km_value":103245069561102.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893624127025512448,"description":"Unknown IO ID 45"} 
[2026-07-07 08:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548776192001,"power":12961,"unknown_201":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8893624127025512448}} 
[2026-07-07 08:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":124955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:38:49] local.INFO: GPS data processed {"connection_id":124955,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:38:49] local.INFO: Acknowledgment sent {"connection_id":124955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:38:56] local.INFO: TCP Data received {"connection_id":124170,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:38:56] local.INFO: Processing buffer {"connection_id":124170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:38:56] local.INFO: IMEI packet received {"connection_id":124170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":124170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:38:58] local.INFO: TCP Data received {"connection_id":124269,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:38:58] local.INFO: Processing buffer {"connection_id":124269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:38:58] local.INFO: IMEI packet received {"connection_id":124269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":124269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:38:59] local.INFO: TCP Data received {"connection_id":124269,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:38:59] local.INFO: Processing buffer {"connection_id":124269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:38:59] local.INFO: IMEI packet received {"connection_id":124269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":124269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:39:01] local.INFO: TCP Data received {"connection_id":124170,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:39:01] local.INFO: Processing buffer {"connection_id":124170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:39:01] local.INFO: IMEI packet received {"connection_id":124170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":124170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:39:02] local.INFO: TCP Data received {"connection_id":124170,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8bc7b8012d7b804005e93ae80002004c23..."} 
[2026-07-07 08:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8bc7b8012d7b804005e93ae80002004c23..."} 
[2026-07-07 08:39:02] local.INFO: Processing buffer {"connection_id":124170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8bc7b8012d7b804005e93ae80002004c23..."} 
[2026-07-07 08:39:02] local.INFO: Packet analysis {"connection_id":124170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8b"} 
[2026-07-07 08:39:02] local.INFO: Extracted packet for processing {"connection_id":124170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8b"} 
[2026-07-07 08:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763068480,"raw_latitude":99171048,"longitude_deg":76.306848,"latitude_deg":9.9171048,"altitude":2,"angle":76,"satellites":35,"speed":15,"hex_longitude":"2d7b8040","hex_latitude":"05e93ae8","is_valid_coordinates":true} 
[2026-07-07 08:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548777984001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103245133985611776,"note":"Value kept but may cause issues"} 
[2026-07-07 08:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897775882932371456,"note":"Value kept but may cause issues"} 
[2026-07-07 08:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783393667000,"timestamp_ms":1783393667000,"timestamp_seconds":1783393667,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8bc7b8"} 
[2026-07-07 08:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-07 08:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548777984001,"66":12537,"201":206,"87":13824,"24":15,"16":103245133985611776,"45":8897775882932371456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-07 08:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548777984001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:39:02] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 08:39:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103245133985611776,"km_value":103245133985611.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897775882932371456,"description":"Unknown IO ID 45"} 
[2026-07-07 08:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548777984001,"power":12537,"unknown_201":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8897775882932371456}} 
[2026-07-07 08:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":124170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:39:02] local.INFO: GPS data processed {"connection_id":124170,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:39:02] local.INFO: Acknowledgment sent {"connection_id":124170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:39:05] local.INFO: TCP Data received {"connection_id":124269,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:39:05] local.INFO: Processing buffer {"connection_id":124269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:39:05] local.INFO: IMEI packet received {"connection_id":124269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":124269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:39:06] local.INFO: TCP Data received {"connection_id":124269,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8ba0a8012d7f124006259a70000b00982e..."} 
[2026-07-07 08:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8ba0a8012d7f124006259a70000b00982e..."} 
[2026-07-07 08:39:06] local.INFO: Processing buffer {"connection_id":124269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8ba0a8012d7f124006259a70000b00982e..."} 
[2026-07-07 08:39:06] local.INFO: Packet analysis {"connection_id":124269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8b"} 
[2026-07-07 08:39:06] local.INFO: Extracted packet for processing {"connection_id":124269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8b"} 
[2026-07-07 08:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763302464,"raw_latitude":103127664,"longitude_deg":76.3302464,"latitude_deg":10.3127664,"altitude":11,"angle":152,"satellites":46,"speed":57,"hex_longitude":"2d7f1240","hex_latitude":"06259a70","is_valid_coordinates":true} 
[2026-07-07 08:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548774656001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340718046194696192,"note":"Value kept but may cause issues"} 
[2026-07-07 08:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9151736681684592640,"note":"Value kept but may cause issues"} 
[2026-07-07 08:39:06] 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-07-07 08:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783393657000,"timestamp_ms":1783393657000,"timestamp_seconds":1783393657,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8ba0a8"} 
[2026-07-07 08:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:39: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-07-07 08:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 08:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548774656001,"66":27767,"91":206,"79":21504,"24":57,"16":340718046194696192,"45":9151736681684592640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-07 08:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548774656001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:39:06] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-07 08:39:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340718046194696192,"km_value":340718046194696.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9151736681684592640,"description":"Unknown IO ID 45"} 
[2026-07-07 08:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548774656001,"power":27767,"unknown_91":206,"unknown_79":21504,"ignition":57,"odometer":null,"unknown_45":9151736681684592640}} 
[2026-07-07 08:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":124269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:39:06] local.INFO: GPS data processed {"connection_id":124269,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:39:06] local.INFO: Acknowledgment sent {"connection_id":124269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:39:25] local.INFO: TCP Data received {"connection_id":124270,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:39:25] local.INFO: Processing buffer {"connection_id":124270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:39:25] local.INFO: IMEI packet received {"connection_id":124270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 08:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":124270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:39:33] local.INFO: TCP Data received {"connection_id":124170,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8c0a20012d7b870005e93b880002005a28..."} 
[2026-07-07 08:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8c0a20012d7b870005e93b880002005a28..."} 
[2026-07-07 08:39:33] local.INFO: Processing buffer {"connection_id":124170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8c0a20012d7b870005e93b880002005a28..."} 
[2026-07-07 08:39:33] local.INFO: Packet analysis {"connection_id":124170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8c"} 
[2026-07-07 08:39:33] local.INFO: Extracted packet for processing {"connection_id":124170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8c"} 
[2026-07-07 08:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":99171208,"longitude_deg":76.3070208,"latitude_deg":9.9171208,"altitude":2,"angle":90,"satellites":40,"speed":11,"hex_longitude":"2d7b8700","hex_latitude":"05e93b88","is_valid_coordinates":true} 
[2026-07-07 08:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548778752001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103245219884957696,"note":"Value kept but may cause issues"} 
[2026-07-07 08:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899183257816066048,"note":"Value kept but may cause issues"} 
[2026-07-07 08:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783393684000,"timestamp_ms":1783393684000,"timestamp_seconds":1783393684,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8c0a20"} 
[2026-07-07 08:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-07 08:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:39: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-07-07 08:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548778752001,"66":12885,"201":206,"87":13824,"24":11,"16":103245219884957696,"45":8899183257816066048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-07 08:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548778752001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:39:33] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 08:39:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103245219884957696,"km_value":103245219884957.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899183257816066048,"description":"Unknown IO ID 45"} 
[2026-07-07 08:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548778752001,"power":12885,"unknown_201":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8899183257816066048}} 
[2026-07-07 08:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":124170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:39:33] local.INFO: GPS data processed {"connection_id":124170,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:39:33] local.INFO: Acknowledgment sent {"connection_id":124170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:39:37] local.INFO: TCP Data received {"connection_id":124269,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8bbc00012d7f254006257850000b00952e..."} 
[2026-07-07 08:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8bbc00012d7f254006257850000b00952e..."} 
[2026-07-07 08:39:37] local.INFO: Processing buffer {"connection_id":124269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8bbc00012d7f254006257850000b00952e..."} 
[2026-07-07 08:39:37] local.INFO: Packet analysis {"connection_id":124269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8b"} 
[2026-07-07 08:39:37] local.INFO: Extracted packet for processing {"connection_id":124269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8b"} 
[2026-07-07 08:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763307328,"raw_latitude":103118928,"longitude_deg":76.3307328,"latitude_deg":10.3118928,"altitude":11,"angle":149,"satellites":46,"speed":56,"hex_longitude":"2d7f2540","hex_latitude":"06257850","is_valid_coordinates":true} 
[2026-07-07 08:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548776192001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340718527231033344,"note":"Value kept but may cause issues"} 
[2026-07-07 08:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9156451387542499328,"note":"Value kept but may cause issues"} 
[2026-07-07 08:39:37] 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-07-07 08:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783393664000,"timestamp_ms":1783393664000,"timestamp_seconds":1783393664,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8bbc00"} 
[2026-07-07 08:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 08:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548776192001,"66":27745,"91":206,"79":21504,"24":56,"16":340718527231033344,"45":9156451387542499328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-07 08:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548776192001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:39:37] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-07 08:39:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340718527231033344,"km_value":340718527231033.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9156451387542499328,"description":"Unknown IO ID 45"} 
[2026-07-07 08:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548776192001,"power":27745,"unknown_91":206,"unknown_79":21504,"ignition":56,"odometer":null,"unknown_45":9156451387542499328}} 
[2026-07-07 08:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":124269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:39:37] local.INFO: GPS data processed {"connection_id":124269,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:39:37] local.INFO: Acknowledgment sent {"connection_id":124269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:39:56] local.INFO: TCP Data received {"connection_id":124171,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:39:56] local.INFO: Processing buffer {"connection_id":124171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:39:56] local.INFO: IMEI packet received {"connection_id":124171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":124171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:39:58] local.INFO: TCP Data received {"connection_id":124171,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:39:58] local.INFO: Processing buffer {"connection_id":124171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:39:58] local.INFO: IMEI packet received {"connection_id":124171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":124171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:40:00] local.INFO: TCP Data received {"connection_id":124957,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:40:00] local.INFO: Processing buffer {"connection_id":124957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:40:00] local.INFO: IMEI packet received {"connection_id":124957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":124957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:40:00] local.INFO: TCP Data received {"connection_id":124958,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:40:00] local.INFO: Processing buffer {"connection_id":124958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:40:00] local.INFO: IMEI packet received {"connection_id":124958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 08:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":124958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:40:01] local.INFO: TCP Data received {"connection_id":124171,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:40:01] local.INFO: Processing buffer {"connection_id":124171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:40:01] local.INFO: IMEI packet received {"connection_id":124171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":124171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:40:02] local.INFO: TCP Data received {"connection_id":124171,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8c15d8012d7b8b4005e93c180001004f28..."} 
[2026-07-07 08:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8c15d8012d7b8b4005e93c180001004f28..."} 
[2026-07-07 08:40:02] local.INFO: Processing buffer {"connection_id":124171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8c15d8012d7b8b4005e93c180001004f28..."} 
[2026-07-07 08:40:02] local.INFO: Packet analysis {"connection_id":124171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8c"} 
[2026-07-07 08:40:02] local.INFO: Extracted packet for processing {"connection_id":124171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8c"} 
[2026-07-07 08:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":99171352,"longitude_deg":76.3071296,"latitude_deg":9.9171352,"altitude":1,"angle":79,"satellites":40,"speed":18,"hex_longitude":"2d7b8b40","hex_latitude":"05e93c18","is_valid_coordinates":true} 
[2026-07-07 08:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548783104001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103245271424565248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083213908903936,"note":"Value kept but may cause issues"} 
[2026-07-07 08:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783393687000,"timestamp_ms":1783393687000,"timestamp_seconds":1783393687,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8c15d8"} 
[2026-07-07 08:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-07 08:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548783104001,"66":12461,"201":206,"87":13824,"24":18,"16":103245271424565248,"45":8901083213908903936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-07 08:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548783104001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:40:02] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 08:40:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103245271424565248,"km_value":103245271424565.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083213908903936,"description":"Unknown IO ID 45"} 
[2026-07-07 08:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548783104001,"power":12461,"unknown_201":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8901083213908903936}} 
[2026-07-07 08:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":124171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:40:02] local.INFO: GPS data processed {"connection_id":124171,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:40:02] local.INFO: Acknowledgment sent {"connection_id":124171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:40:10] local.INFO: TCP Data received {"connection_id":124957,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:40:10] local.INFO: Processing buffer {"connection_id":124957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:40:10] local.INFO: IMEI packet received {"connection_id":124957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":124957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:40:11] local.INFO: TCP Data received {"connection_id":124957,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8cf098012d7ffe8006241ed8001500982e..."} 
[2026-07-07 08:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8cf098012d7ffe8006241ed8001500982e..."} 
[2026-07-07 08:40:11] local.INFO: Processing buffer {"connection_id":124957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8cf098012d7ffe8006241ed8001500982e..."} 
[2026-07-07 08:40:11] local.INFO: Packet analysis {"connection_id":124957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8c"} 
[2026-07-07 08:40:11] local.INFO: Extracted packet for processing {"connection_id":124957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8c"} 
[2026-07-07 08:40:11] local.INFO: GPS Element Parsed {"raw_longitude":763362944,"raw_latitude":103030488,"longitude_deg":76.3362944,"latitude_deg":10.3030488,"altitude":21,"angle":152,"satellites":46,"speed":46,"hex_longitude":"2d7ffe80","hex_latitude":"06241ed8","is_valid_coordinates":true} 
[2026-07-07 08:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548796160001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340723578112573440,"note":"Value kept but may cause issues"} 
[2026-07-07 08:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217953669931122688,"note":"Value kept but may cause issues"} 
[2026-07-07 08:40:11] 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-07-07 08:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783393743000,"timestamp_ms":1783393743000,"timestamp_seconds":1783393743,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8cf098"} 
[2026-07-07 08:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:40: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-07-07 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 08:40: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-07-07 08:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548796160001,"66":27745,"112":206,"79":21504,"24":46,"16":340723578112573440,"45":9217953669931122688},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,79,24,16,45]} 
[2026-07-07 08:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548796160001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:40:11] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 08:40:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340723578112573440,"km_value":340723578112573.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217953669931122688,"description":"Unknown IO ID 45"} 
[2026-07-07 08:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548796160001,"power":27745,"unknown_112":206,"unknown_79":21504,"ignition":46,"odometer":null,"unknown_45":9217953669931122688}} 
[2026-07-07 08:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":124957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:40:11] local.INFO: GPS data processed {"connection_id":124957,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:40:11] local.INFO: Acknowledgment sent {"connection_id":124957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:40:34] local.INFO: TCP Data received {"connection_id":124171,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8e1d60012d7c3f8005e97d980001005e22..."} 
[2026-07-07 08:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8e1d60012d7c3f8005e97d980001005e22..."} 
[2026-07-07 08:40:34] local.INFO: Processing buffer {"connection_id":124171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8e1d60012d7c3f8005e97d980001005e22..."} 
[2026-07-07 08:40:34] local.INFO: Packet analysis {"connection_id":124171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8e"} 
[2026-07-07 08:40:34] local.INFO: Extracted packet for processing {"connection_id":124171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8e"} 
[2026-07-07 08:40:34] local.INFO: GPS Element Parsed {"raw_longitude":763117440,"raw_latitude":99188120,"longitude_deg":76.311744,"latitude_deg":9.918812,"altitude":1,"angle":94,"satellites":34,"speed":4,"hex_longitude":"2d7c3f80","hex_latitude":"05e97d98","is_valid_coordinates":true} 
[2026-07-07 08:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548817152001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103247655131414528,"note":"Value kept but may cause issues"} 
[2026-07-07 08:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952522765907095552,"note":"Value kept but may cause issues"} 
[2026-07-07 08:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783393820000,"timestamp_ms":1783393820000,"timestamp_seconds":1783393820,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8e1d60"} 
[2026-07-07 08:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:40: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-07-07 08:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 08:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:40: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-07-07 08:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548817152001,"66":13222,"156":206,"87":13824,"24":4,"16":103247655131414528,"45":8952522765907095552},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 08:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548817152001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:40:34] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 08:40:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103247655131414528,"km_value":103247655131414.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952522765907095552,"description":"Unknown IO ID 45"} 
[2026-07-07 08:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548817152001,"power":13222,"unknown_156":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8952522765907095552}} 
[2026-07-07 08:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":124171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:40:34] local.INFO: GPS data processed {"connection_id":124171,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:40:34] local.INFO: Acknowledgment sent {"connection_id":124171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:40:42] local.INFO: TCP Data received {"connection_id":124957,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8d0fd8012d800f800623fe380015009b2f..."} 
[2026-07-07 08:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8d0fd8012d800f800623fe380015009b2f..."} 
[2026-07-07 08:40:42] local.INFO: Processing buffer {"connection_id":124957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8d0fd8012d800f800623fe380015009b2f..."} 
[2026-07-07 08:40:42] local.INFO: Packet analysis {"connection_id":124957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8d"} 
[2026-07-07 08:40:42] local.INFO: Extracted packet for processing {"connection_id":124957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8d"} 
[2026-07-07 08:40:42] local.INFO: GPS Element Parsed {"raw_longitude":763367296,"raw_latitude":103022136,"longitude_deg":76.3367296,"latitude_deg":10.3022136,"altitude":21,"angle":155,"satellites":47,"speed":47,"hex_longitude":"2d800f80","hex_latitude":"0623fe38","is_valid_coordinates":true} 
[2026-07-07 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-07-07 08:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548798208001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340724033379106816,"note":"Value kept but may cause issues"} 
[2026-07-07 08:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9222949850765514752,"note":"Value kept but may cause issues"} 
[2026-07-07 08:40:42] 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-07-07 08:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783393751000,"timestamp_ms":1783393751000,"timestamp_seconds":1783393751,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8d0fd8"} 
[2026-07-07 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-07-07 08:40: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-07-07 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 08:40: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-07-07 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-07-07 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-07-07 08:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548798208001,"66":27800,"112":206,"79":21504,"24":47,"16":340724033379106816,"45":9222949850765514752},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,79,24,16,45]} 
[2026-07-07 08:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548798208001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:40:42] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 08:40:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340724033379106816,"km_value":340724033379106.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9222949850765514752,"description":"Unknown IO ID 45"} 
[2026-07-07 08:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548798208001,"power":27800,"unknown_112":206,"unknown_79":21504,"ignition":47,"odometer":null,"unknown_45":9222949850765514752}} 
[2026-07-07 08:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":124957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:40:42] local.INFO: GPS data processed {"connection_id":124957,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:40:42] local.INFO: Acknowledgment sent {"connection_id":124957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:40:56] local.INFO: TCP Data received {"connection_id":124272,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:40:56] local.INFO: Processing buffer {"connection_id":124272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:40:56] local.INFO: IMEI packet received {"connection_id":124272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":124272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:40:56] local.INFO: TCP Data received {"connection_id":124272,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:40:56] local.INFO: Processing buffer {"connection_id":124272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:40:56] local.INFO: IMEI packet received {"connection_id":124272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":124272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:40:58] local.INFO: TCP Data received {"connection_id":124272,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:40:58] local.INFO: Processing buffer {"connection_id":124272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:40:58] local.INFO: IMEI packet received {"connection_id":124272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":124272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:40:59] local.INFO: TCP Data received {"connection_id":124172,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:40:59] local.INFO: Processing buffer {"connection_id":124172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:40:59] local.INFO: IMEI packet received {"connection_id":124172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":124172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:41:00] local.INFO: TCP Data received {"connection_id":124172,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:41:00] local.INFO: Processing buffer {"connection_id":124172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:41:00] local.INFO: IMEI packet received {"connection_id":124172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":124172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:41:01] local.INFO: TCP Data received {"connection_id":124272,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:41:01] local.INFO: Processing buffer {"connection_id":124272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:41:01] local.INFO: IMEI packet received {"connection_id":124272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":124272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:41:02] local.INFO: TCP Data received {"connection_id":124272,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8e2530012d7c410005e97db00001005123..."} 
[2026-07-07 08:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8e2530012d7c410005e97db00001005123..."} 
[2026-07-07 08:41:02] local.INFO: Processing buffer {"connection_id":124272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8e2530012d7c410005e97db00001005123..."} 
[2026-07-07 08:41:02] local.INFO: Packet analysis {"connection_id":124272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8e"} 
[2026-07-07 08:41:02] local.INFO: Extracted packet for processing {"connection_id":124272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8e"} 
[2026-07-07 08:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763117824,"raw_latitude":99188144,"longitude_deg":76.3117824,"latitude_deg":9.9188144,"altitude":1,"angle":81,"satellites":35,"speed":10,"hex_longitude":"2d7c4100","hex_latitude":"05e97db0","is_valid_coordinates":true} 
[2026-07-07 08:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548817920001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103247672311283712,"note":"Value kept but may cause issues"} 
[2026-07-07 08:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953015347116349440,"note":"Value kept but may cause issues"} 
[2026-07-07 08:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783393822000,"timestamp_ms":1783393822000,"timestamp_seconds":1783393822,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8e2530"} 
[2026-07-07 08:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 08:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548817920001,"66":13276,"156":206,"87":13824,"24":10,"16":103247672311283712,"45":8953015347116349440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 08:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548817920001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:41:02] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 08:41:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103247672311283712,"km_value":103247672311283.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953015347116349440,"description":"Unknown IO ID 45"} 
[2026-07-07 08:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548817920001,"power":13276,"unknown_156":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8953015347116349440}} 
[2026-07-07 08:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":124272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:41:02] local.INFO: GPS data processed {"connection_id":124272,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:41:02] local.INFO: Acknowledgment sent {"connection_id":124272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:41:05] local.INFO: TCP Data received {"connection_id":124172,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:41:05] local.INFO: Processing buffer {"connection_id":124172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:41:05] local.INFO: IMEI packet received {"connection_id":124172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":124172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:41:07] local.INFO: TCP Data received {"connection_id":124172,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8d2b30012d801a400623def0001500a62f..."} 
[2026-07-07 08:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8d2b30012d801a400623def0001500a62f..."} 
[2026-07-07 08:41:07] local.INFO: Processing buffer {"connection_id":124172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8d2b30012d801a400623def0001500a62f..."} 
[2026-07-07 08:41:07] local.INFO: Packet analysis {"connection_id":124172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8d"} 
[2026-07-07 08:41:07] local.INFO: Extracted packet for processing {"connection_id":124172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8d"} 
[2026-07-07 08:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763370048,"raw_latitude":103014128,"longitude_deg":76.3370048,"latitude_deg":10.3014128,"altitude":21,"angle":166,"satellites":47,"speed":49,"hex_longitude":"2d801a40","hex_latitude":"0623def0","is_valid_coordinates":true} 
[2026-07-07 08:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548800256001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340724441400999936,"note":"Value kept but may cause issues"} 
[2026-07-07 08:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9219009148342093824,"note":"Value kept but may cause issues"} 
[2026-07-07 08:41:07] 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-07-07 08:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783393758000,"timestamp_ms":1783393758000,"timestamp_seconds":1783393758,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8d2b30"} 
[2026-07-07 08:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 08:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548800256001,"66":27767,"112":206,"79":21504,"24":49,"16":340724441400999936,"45":-9219009148342093824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,79,24,16,45]} 
[2026-07-07 08:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548800256001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:41:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 08:41:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340724441400999936,"km_value":340724441400999.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9219009148342093824,"description":"Unknown IO ID 45"} 
[2026-07-07 08:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548800256001,"power":27767,"unknown_112":206,"unknown_79":21504,"ignition":49,"odometer":null,"unknown_45":-9219009148342093824}} 
[2026-07-07 08:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":124172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:41:07] local.INFO: GPS data processed {"connection_id":124172,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:41:07] local.INFO: Acknowledgment sent {"connection_id":124172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:41:25] local.INFO: TCP Data received {"connection_id":124959,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:41:25] local.INFO: Processing buffer {"connection_id":124959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:41:25] local.INFO: IMEI packet received {"connection_id":124959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":124959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:41:25] local.INFO: TCP Data received {"connection_id":124959,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8e4470012d0d99800705d7600013005716..."} 
[2026-07-07 08:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8e4470012d0d99800705d7600013005716..."} 
[2026-07-07 08:41:25] local.INFO: Processing buffer {"connection_id":124959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8e4470012d0d99800705d7600013005716..."} 
[2026-07-07 08:41:25] local.INFO: Packet analysis {"connection_id":124959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8e"} 
[2026-07-07 08:41:25] local.INFO: Extracted packet for processing {"connection_id":124959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8e"} 
[2026-07-07 08:41:25] local.INFO: GPS Element Parsed {"raw_longitude":755865984,"raw_latitude":117823328,"longitude_deg":75.5865984,"latitude_deg":11.7823328,"altitude":19,"angle":87,"satellites":22,"speed":28,"hex_longitude":"2d0d9980","hex_latitude":"0705d760","is_valid_coordinates":true} 
[2026-07-07 08:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548820224001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23285543152386048,"note":"Value kept but may cause issues"} 
[2026-07-07 08:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":979181105394946048,"note":"Value kept but may cause issues"} 
[2026-07-07 08:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783393830000,"timestamp_ms":1783393830000,"timestamp_seconds":1783393830,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8e4470"} 
[2026-07-07 08:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:41: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-07-07 08:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 08:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":124959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":124959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":124959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548820224001,"66":14537,"167":206,"94":11008,"24":28,"16":23285543152386048,"45":979181105394946048},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-07 08:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548820224001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:41:25] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 08:41:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23285543152386048,"km_value":23285543152386.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":979181105394946048,"description":"Unknown IO ID 45"} 
[2026-07-07 08:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548820224001,"power":14537,"unknown_167":206,"unknown_94":11008,"ignition":28,"odometer":null,"unknown_45":979181105394946048}} 
[2026-07-07 08:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":124959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444411,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:41:26] local.INFO: GPS data processed {"connection_id":124959,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:41:26] local.INFO: Acknowledgment sent {"connection_id":124959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:41:33] local.INFO: TCP Data received {"connection_id":124272,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8e2918012d7c424005e97e180001004525..."} 
[2026-07-07 08:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8e2918012d7c424005e97e180001004525..."} 
[2026-07-07 08:41:33] local.INFO: Processing buffer {"connection_id":124272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8e2918012d7c424005e97e180001004525..."} 
[2026-07-07 08:41:33] local.INFO: Packet analysis {"connection_id":124272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8e"} 
[2026-07-07 08:41:33] local.INFO: Extracted packet for processing {"connection_id":124272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8e"} 
[2026-07-07 08:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763118144,"raw_latitude":99188248,"longitude_deg":76.3118144,"latitude_deg":9.9188248,"altitude":1,"angle":69,"satellites":37,"speed":14,"hex_longitude":"2d7c4240","hex_latitude":"05e97e18","is_valid_coordinates":true} 
[2026-07-07 08:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548818432001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103247689491152896,"note":"Value kept but may cause issues"} 
[2026-07-07 08:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953437559581421568,"note":"Value kept but may cause issues"} 
[2026-07-07 08:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783393823000,"timestamp_ms":1783393823000,"timestamp_seconds":1783393823,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8e2918"} 
[2026-07-07 08:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 08:41: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-07-07 08:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:41: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-07-07 08:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548818432001,"66":13276,"156":206,"87":13824,"24":14,"16":103247689491152896,"45":8953437559581421568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 08:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548818432001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:41:33] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 08:41:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103247689491152896,"km_value":103247689491152.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953437559581421568,"description":"Unknown IO ID 45"} 
[2026-07-07 08:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548818432001,"power":13276,"unknown_156":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8953437559581421568}} 
[2026-07-07 08:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":124272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:41:33] local.INFO: GPS data processed {"connection_id":124272,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:41:33] local.INFO: Acknowledgment sent {"connection_id":124272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:41:39] local.INFO: TCP Data received {"connection_id":124172,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8e8ea8012d7ff68006223268000b009c2f..."} 
[2026-07-07 08:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8e8ea8012d7ff68006223268000b009c2f..."} 
[2026-07-07 08:41:39] local.INFO: Processing buffer {"connection_id":124172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8e8ea8012d7ff68006223268000b009c2f..."} 
[2026-07-07 08:41:39] local.INFO: Packet analysis {"connection_id":124172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8e"} 
[2026-07-07 08:41:39] local.INFO: Extracted packet for processing {"connection_id":124172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8e"} 
[2026-07-07 08:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763360896,"raw_latitude":102904424,"longitude_deg":76.3360896,"latitude_deg":10.2904424,"altitude":11,"angle":156,"satellites":47,"speed":44,"hex_longitude":"2d7ff680","hex_latitude":"06223268","is_valid_coordinates":true} 
[2026-07-07 08:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548823552001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340729908894367744,"note":"Value kept but may cause issues"} 
[2026-07-07 08:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9218164776131018752,"note":"Value kept but may cause issues"} 
[2026-07-07 08:41:39] 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-07-07 08:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783393849000,"timestamp_ms":1783393849000,"timestamp_seconds":1783393849,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8e8ea8"} 
[2026-07-07 08:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 08:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548823552001,"66":27767,"147":206,"79":21504,"24":44,"16":340729908894367744,"45":9218164776131018752},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-07-07 08:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548823552001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:41:39] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 08:41:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340729908894367744,"km_value":340729908894367.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9218164776131018752,"description":"Unknown IO ID 45"} 
[2026-07-07 08:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548823552001,"power":27767,"unknown_147":206,"unknown_79":21504,"ignition":44,"odometer":null,"unknown_45":9218164776131018752}} 
[2026-07-07 08:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":124172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:41:39] local.INFO: GPS data processed {"connection_id":124172,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:41:39] local.INFO: Acknowledgment sent {"connection_id":124172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:41:57] local.INFO: TCP Data received {"connection_id":124959,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8f6968012d0da4c00705b9d8001201661a..."} 
[2026-07-07 08:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8f6968012d0da4c00705b9d8001201661a..."} 
[2026-07-07 08:41:57] local.INFO: Processing buffer {"connection_id":124959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8f6968012d0da4c00705b9d8001201661a..."} 
[2026-07-07 08:41:57] local.INFO: Packet analysis {"connection_id":124959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8f"} 
[2026-07-07 08:41:57] local.INFO: Extracted packet for processing {"connection_id":124959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8f"} 
[2026-07-07 08:41:57] local.INFO: GPS Element Parsed {"raw_longitude":755868864,"raw_latitude":117815768,"longitude_deg":75.5868864,"latitude_deg":11.7815768,"altitude":18,"angle":358,"satellites":26,"speed":2,"hex_longitude":"2d0da4c0","hex_latitude":"0705b9d8","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548839168001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23286032778657792,"note":"Value kept but may cause issues"} 
[2026-07-07 08:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":983192123811127296,"note":"Value kept but may cause issues"} 
[2026-07-07 08:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783393905000,"timestamp_ms":1783393905000,"timestamp_seconds":1783393905,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8f6968"} 
[2026-07-07 08:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 08:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":124959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":124959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":124959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548839168001,"66":14548,"167":206,"94":11008,"24":2,"16":23286032778657792,"45":983192123811127296},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-07 08:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548839168001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:41:57] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 08:41:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23286032778657792,"km_value":23286032778657.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":983192123811127296,"description":"Unknown IO ID 45"} 
[2026-07-07 08:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548839168001,"power":14548,"unknown_167":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":983192123811127296}} 
[2026-07-07 08:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":124959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444414,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:41:57] local.INFO: GPS data processed {"connection_id":124959,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:41:57] local.INFO: Acknowledgment sent {"connection_id":124959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:41:59] local.INFO: TCP Data received {"connection_id":126185,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:41:59] local.INFO: Processing buffer {"connection_id":126185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:41:59] local.INFO: IMEI packet received {"connection_id":126185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":126185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:42:01] local.INFO: TCP Data received {"connection_id":124960,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:42:01] local.INFO: Processing buffer {"connection_id":124960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:42:01] local.INFO: IMEI packet received {"connection_id":124960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":124960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:42:02] local.INFO: TCP Data received {"connection_id":124960,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:42:02] local.INFO: Processing buffer {"connection_id":124960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:42:02] local.INFO: IMEI packet received {"connection_id":124960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":124960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:42:02] local.INFO: TCP Data received {"connection_id":124960,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8e63b0012d7c64c005e98bb80002004528..."} 
[2026-07-07 08:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8e63b0012d7c64c005e98bb80002004528..."} 
[2026-07-07 08:42:02] local.INFO: Processing buffer {"connection_id":124960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8e63b0012d7c64c005e98bb80002004528..."} 
[2026-07-07 08:42:02] local.INFO: Packet analysis {"connection_id":124960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8e"} 
[2026-07-07 08:42:02] local.INFO: Extracted packet for processing {"connection_id":124960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8e"} 
[2026-07-07 08:42:02] local.INFO: GPS Element Parsed {"raw_longitude":763126976,"raw_latitude":99191736,"longitude_deg":76.3126976,"latitude_deg":9.9191736,"altitude":2,"angle":69,"satellites":40,"speed":25,"hex_longitude":"2d7c64c0","hex_latitude":"05e98bb8","is_valid_coordinates":true} 
[2026-07-07 08:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548818688001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103248144757686272,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953789403302336512,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783393838000,"timestamp_ms":1783393838000,"timestamp_seconds":1783393838,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8e63b0"} 
[2026-07-07 08:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 08:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548818688001,"66":13135,"156":206,"87":13824,"24":25,"16":103248144757686272,"45":8953789403302336512},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 08:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548818688001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:42:02] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 08:42:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103248144757686272,"km_value":103248144757686.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953789403302336512,"description":"Unknown IO ID 45"} 
[2026-07-07 08:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548818688001,"power":13135,"unknown_156":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8953789403302336512}} 
[2026-07-07 08:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":124960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:42:03] local.INFO: GPS data processed {"connection_id":124960,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:42:03] local.INFO: Acknowledgment sent {"connection_id":124960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:42:04] local.INFO: TCP Data received {"connection_id":126185,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:42:04] local.INFO: Processing buffer {"connection_id":126185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:42:04] local.INFO: IMEI packet received {"connection_id":126185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":126185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:42:05] local.INFO: TCP Data received {"connection_id":126185,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:42:05] local.INFO: Processing buffer {"connection_id":126185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:42:05] local.INFO: IMEI packet received {"connection_id":126185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":126185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:42:07] local.INFO: TCP Data received {"connection_id":126185,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8eade8012d8008c006221268000b008e2f..."} 
[2026-07-07 08:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8eade8012d8008c006221268000b008e2f..."} 
[2026-07-07 08:42:07] local.INFO: Processing buffer {"connection_id":126185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8eade8012d8008c006221268000b008e2f..."} 
[2026-07-07 08:42:07] local.INFO: Packet analysis {"connection_id":126185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8e"} 
[2026-07-07 08:42:07] local.INFO: Extracted packet for processing {"connection_id":126185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8e"} 
[2026-07-07 08:42:07] local.INFO: GPS Element Parsed {"raw_longitude":763365568,"raw_latitude":102896232,"longitude_deg":76.3365568,"latitude_deg":10.2896232,"altitude":11,"angle":142,"satellites":47,"speed":48,"hex_longitude":"2d8008c0","hex_latitude":"06221268","is_valid_coordinates":true} 
[2026-07-07 08:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548825344001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340730364160901120,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9220698050919557120,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:07] 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-07-07 08:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783393857000,"timestamp_ms":1783393857000,"timestamp_seconds":1783393857,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8eade8"} 
[2026-07-07 08:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 08:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548825344001,"66":27800,"147":206,"79":21504,"24":48,"16":340730364160901120,"45":9220698050919557120},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-07-07 08:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548825344001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:42:07] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 08:42:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340730364160901120,"km_value":340730364160901.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9220698050919557120,"description":"Unknown IO ID 45"} 
[2026-07-07 08:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548825344001,"power":27800,"unknown_147":206,"unknown_79":21504,"ignition":48,"odometer":null,"unknown_45":9220698050919557120}} 
[2026-07-07 08:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":126185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:42:07] local.INFO: GPS data processed {"connection_id":126185,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:42:07] local.INFO: Acknowledgment sent {"connection_id":126185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:42:10] local.INFO: TCP Data received {"connection_id":126185,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8eade8012d8008c006221268000b008e2f..."} 
[2026-07-07 08:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8eade8012d8008c006221268000b008e2f..."} 
[2026-07-07 08:42:10] local.INFO: Processing buffer {"connection_id":126185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8eade8012d8008c006221268000b008e2f..."} 
[2026-07-07 08:42:10] local.INFO: Packet analysis {"connection_id":126185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8e"} 
[2026-07-07 08:42:10] local.INFO: Extracted packet for processing {"connection_id":126185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8e"} 
[2026-07-07 08:42:10] local.INFO: GPS Element Parsed {"raw_longitude":763365568,"raw_latitude":102896232,"longitude_deg":76.3365568,"latitude_deg":10.2896232,"altitude":11,"angle":142,"satellites":47,"speed":48,"hex_longitude":"2d8008c0","hex_latitude":"06221268","is_valid_coordinates":true} 
[2026-07-07 08:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548827392001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340730364160901120,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9220909104467122176,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:10] 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-07-07 08:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783393857000,"timestamp_ms":1783393857000,"timestamp_seconds":1783393857,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8eade8"} 
[2026-07-07 08:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 08:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08: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-07-07 08:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548827392001,"66":27800,"147":206,"79":21504,"24":48,"16":340730364160901120,"45":-9220909104467122176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-07-07 08:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548827392001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:42:10] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 08:42:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340730364160901120,"km_value":340730364160901.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9220909104467122176,"description":"Unknown IO ID 45"} 
[2026-07-07 08:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548827392001,"power":27800,"unknown_147":206,"unknown_79":21504,"ignition":48,"odometer":null,"unknown_45":-9220909104467122176}} 
[2026-07-07 08:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":126185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:42:10] local.INFO: GPS data processed {"connection_id":126185,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:42:10] local.INFO: Acknowledgment sent {"connection_id":126185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:42:12] local.INFO: TCP Data received {"connection_id":124960,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8e82f0012d7c718005e990a00003003529..."} 
[2026-07-07 08:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8e82f0012d7c718005e990a00003003529..."} 
[2026-07-07 08:42:12] local.INFO: Processing buffer {"connection_id":124960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8e82f0012d7c718005e990a00003003529..."} 
[2026-07-07 08:42:12] local.INFO: Packet analysis {"connection_id":124960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8e"} 
[2026-07-07 08:42:12] local.INFO: Extracted packet for processing {"connection_id":124960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8e"} 
[2026-07-07 08:42:12] local.INFO: GPS Element Parsed {"raw_longitude":763130240,"raw_latitude":99192992,"longitude_deg":76.313024,"latitude_deg":9.9192992,"altitude":3,"angle":53,"satellites":41,"speed":8,"hex_longitude":"2d7c7180","hex_latitude":"05e990a0","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548822528001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103248312261410816,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963500289999747072,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783393846000,"timestamp_ms":1783393846000,"timestamp_seconds":1783393846,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8e82f0"} 
[2026-07-07 08:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 08:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:42: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-07-07 08:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548822528001,"66":13059,"156":206,"87":13824,"24":8,"16":103248312261410816,"45":8963500289999747072},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 08:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548822528001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:42:12] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 08:42:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103248312261410816,"km_value":103248312261410.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963500289999747072,"description":"Unknown IO ID 45"} 
[2026-07-07 08:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548822528001,"power":13059,"unknown_156":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8963500289999747072}} 
[2026-07-07 08:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":124960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:42:12] local.INFO: GPS data processed {"connection_id":124960,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:42:12] local.INFO: Acknowledgment sent {"connection_id":124960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:42:15] local.INFO: TCP Data received {"connection_id":124961,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124961,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:42:15] local.INFO: Processing buffer {"connection_id":124961,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:42:15] local.INFO: IMEI packet received {"connection_id":124961,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":124961,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:42:17] local.INFO: TCP Data received {"connection_id":124961,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124961,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:42:17] local.INFO: Processing buffer {"connection_id":124961,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:42:17] local.INFO: IMEI packet received {"connection_id":124961,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":124961,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:42:18] local.INFO: TCP Data received {"connection_id":124961,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124961,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:42:18] local.INFO: Processing buffer {"connection_id":124961,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:42:18] local.INFO: IMEI packet received {"connection_id":124961,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":124961,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:42:20] local.INFO: TCP Data received {"connection_id":124961,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124961,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:42:20] local.INFO: Processing buffer {"connection_id":124961,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:42:20] local.INFO: IMEI packet received {"connection_id":124961,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":124961,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:42:21] local.INFO: TCP Data received {"connection_id":124961,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8f80d8012d0da4400705bb10001201561b..."} 
[2026-07-07 08:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8f80d8012d0da4400705bb10001201561b..."} 
[2026-07-07 08:42:21] local.INFO: Processing buffer {"connection_id":124961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8f80d8012d0da4400705bb10001201561b..."} 
[2026-07-07 08:42:21] local.INFO: Packet analysis {"connection_id":124961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8f"} 
[2026-07-07 08:42:21] local.INFO: Extracted packet for processing {"connection_id":124961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8f"} 
[2026-07-07 08:42:21] local.INFO: GPS Element Parsed {"raw_longitude":755868736,"raw_latitude":117816080,"longitude_deg":75.5868736,"latitude_deg":11.781608,"altitude":18,"angle":342,"satellites":27,"speed":1,"hex_longitude":"2d0da440","hex_latitude":"0705bb10","is_valid_coordinates":true} 
[2026-07-07 08:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548839680001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23286049958526976,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":983121755066980352,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783393911000,"timestamp_ms":1783393911000,"timestamp_seconds":1783393911,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8f80d8"} 
[2026-07-07 08:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:42: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-07-07 08:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 08:42:21] 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-07-07 08:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124961,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124961,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548839680001,"66":13787,"167":206,"94":11008,"24":1,"16":23286049958526976,"45":983121755066980352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-07 08:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548839680001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:42:21] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 08:42:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23286049958526976,"km_value":23286049958526.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":983121755066980352,"description":"Unknown IO ID 45"} 
[2026-07-07 08:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548839680001,"power":13787,"unknown_167":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":983121755066980352}} 
[2026-07-07 08:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":124961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444419,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:42:21] local.INFO: GPS data processed {"connection_id":124961,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:42:21] local.INFO: Acknowledgment sent {"connection_id":124961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:42:46] local.INFO: TCP Data received {"connection_id":126185,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8ec170012d80190006220110000b00812f..."} 
[2026-07-07 08:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8ec170012d80190006220110000b00812f..."} 
[2026-07-07 08:42:46] local.INFO: Processing buffer {"connection_id":126185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8ec170012d80190006220110000b00812f..."} 
[2026-07-07 08:42:46] local.INFO: Packet analysis {"connection_id":126185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8e"} 
[2026-07-07 08:42:46] local.INFO: Extracted packet for processing {"connection_id":126185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8e"} 
[2026-07-07 08:42:46] local.INFO: GPS Element Parsed {"raw_longitude":763369728,"raw_latitude":102891792,"longitude_deg":76.3369728,"latitude_deg":10.2891792,"altitude":11,"angle":129,"satellites":47,"speed":49,"hex_longitude":"2d801900","hex_latitude":"06220110","is_valid_coordinates":true} 
[2026-07-07 08:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548827392001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340730660513644544,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9220909104467122176,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:46] 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-07-07 08:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783393862000,"timestamp_ms":1783393862000,"timestamp_seconds":1783393862,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8ec170"} 
[2026-07-07 08:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":152,"data_length":795,"current_offset":136} 
[2026-07-07 08:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":126185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":126185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":126185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548827392001,"66":27745,"147":206,"79":21504,"24":49,"16":340730660513644544,"45":-9220909104467122176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-07-07 08:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548827392001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:42:46] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 08:42:46] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340730660513644544,"km_value":340730660513644.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9220909104467122176,"description":"Unknown IO ID 45"} 
[2026-07-07 08:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548827392001,"power":27745,"unknown_147":206,"unknown_79":21504,"ignition":49,"odometer":null,"unknown_45":-9220909104467122176}} 
[2026-07-07 08:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":126185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:42:46] local.INFO: GPS data processed {"connection_id":126185,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:42:46] local.INFO: Acknowledgment sent {"connection_id":126185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:42:52] local.INFO: TCP Data received {"connection_id":124961,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a905b98012d0d88400705cda0001601011c..."} 
[2026-07-07 08:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a905b98012d0d88400705cda0001601011c..."} 
[2026-07-07 08:42:52] local.INFO: Processing buffer {"connection_id":124961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a905b98012d0d88400705cda0001601011c..."} 
[2026-07-07 08:42:52] local.INFO: Packet analysis {"connection_id":124961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:42:52] local.INFO: Extracted packet for processing {"connection_id":124961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:42:52] local.INFO: GPS Element Parsed {"raw_longitude":755861568,"raw_latitude":117820832,"longitude_deg":75.5861568,"latitude_deg":11.7820832,"altitude":22,"angle":257,"satellites":28,"speed":31,"hex_longitude":"2d0d8840","hex_latitude":"0705cda0","is_valid_coordinates":true} 
[2026-07-07 08:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548854528001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23286711383490560,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":977984836743686144,"note":"Value kept but may cause issues"} 
[2026-07-07 08:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783393967000,"timestamp_ms":1783393967000,"timestamp_seconds":1783393967,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a905b98"} 
[2026-07-07 08:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:42: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-07-07 08:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 08:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124961,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124961,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548854528001,"66":14428,"167":206,"94":11008,"24":31,"16":23286711383490560,"45":977984836743686144},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-07 08:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548854528001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:42:52] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 08:42:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23286711383490560,"km_value":23286711383490.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":977984836743686144,"description":"Unknown IO ID 45"} 
[2026-07-07 08:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548854528001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":31,"odometer":null,"unknown_45":977984836743686144}} 
[2026-07-07 08:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":124961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444421,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:42:52] local.INFO: GPS data processed {"connection_id":124961,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:42:52] local.INFO: Acknowledgment sent {"connection_id":124961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:42:59] local.INFO: TCP Data received {"connection_id":124962,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:42:59] local.INFO: Processing buffer {"connection_id":124962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:42:59] local.INFO: IMEI packet received {"connection_id":124962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":124962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:43:09] local.INFO: TCP Data received {"connection_id":124273,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:43:09] local.INFO: Processing buffer {"connection_id":124273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:43:09] local.INFO: IMEI packet received {"connection_id":124273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":124273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:43:10] local.INFO: TCP Data received {"connection_id":124273,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:43:10] local.INFO: Processing buffer {"connection_id":124273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:43:10] local.INFO: IMEI packet received {"connection_id":124273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":124273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:43:13] local.INFO: TCP Data received {"connection_id":124962,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:43:13] local.INFO: Processing buffer {"connection_id":124962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:43:13] local.INFO: IMEI packet received {"connection_id":124962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":124962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:43:13] local.INFO: TCP Data received {"connection_id":124962,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:43:13] local.INFO: Processing buffer {"connection_id":124962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:43:13] local.INFO: IMEI packet received {"connection_id":124962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":124962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:43:15] local.INFO: TCP Data received {"connection_id":124273,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:43:15] local.INFO: Processing buffer {"connection_id":124273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:43:15] local.INFO: IMEI packet received {"connection_id":124273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":124273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:43:15] local.INFO: TCP Data received {"connection_id":126187,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126187,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:43:15] local.INFO: Processing buffer {"connection_id":126187,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:43:15] local.INFO: IMEI packet received {"connection_id":126187,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":126187,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:43:15] local.INFO: TCP Data received {"connection_id":124273,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8fde98012d810600062130480019009a2f..."} 
[2026-07-07 08:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8fde98012d810600062130480019009a2f..."} 
[2026-07-07 08:43:15] local.INFO: Processing buffer {"connection_id":124273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8fde98012d810600062130480019009a2f..."} 
[2026-07-07 08:43:15] local.INFO: Packet analysis {"connection_id":124273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8f"} 
[2026-07-07 08:43:15] local.INFO: Extracted packet for processing {"connection_id":124273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8f"} 
[2026-07-07 08:43:15] local.INFO: GPS Element Parsed {"raw_longitude":763430400,"raw_latitude":102838344,"longitude_deg":76.34304,"latitude_deg":10.2838344,"altitude":25,"angle":154,"satellites":47,"speed":43,"hex_longitude":"2d810600","hex_latitude":"06213048","is_valid_coordinates":true} 
[2026-07-07 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-07-07 08:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548845056001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340734697782902784,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154058797510995968,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783393935000,"timestamp_ms":1783393935000,"timestamp_seconds":1783393935,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8fde98"} 
[2026-07-07 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-07-07 08: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-07-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 08:43: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-07-07 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-07-07 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-07-07 08:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548845056001,"66":27789,"145":206,"79":21504,"24":43,"16":340734697782902784,"45":-9154058797510995968},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,79,24,16,45]} 
[2026-07-07 08:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548845056001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:43:15] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-07 08:43:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340734697782902784,"km_value":340734697782902.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154058797510995968,"description":"Unknown IO ID 45"} 
[2026-07-07 08:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548845056001,"power":27789,"unknown_145":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":-9154058797510995968}} 
[2026-07-07 08:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":124273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:43:15] local.INFO: GPS data processed {"connection_id":124273,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:43:15] local.INFO: Acknowledgment sent {"connection_id":124273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:43:17] local.INFO: TCP Data received {"connection_id":124273,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a8ffdd8012d811500062110880019009a2f..."} 
[2026-07-07 08:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a8ffdd8012d811500062110880019009a2f..."} 
[2026-07-07 08:43:17] local.INFO: Processing buffer {"connection_id":124273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a8ffdd8012d811500062110880019009a2f..."} 
[2026-07-07 08:43:17] local.INFO: Packet analysis {"connection_id":124273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a8f"} 
[2026-07-07 08:43:17] local.INFO: Extracted packet for processing {"connection_id":124273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a8f"} 
[2026-07-07 08:43:17] local.INFO: GPS Element Parsed {"raw_longitude":763434240,"raw_latitude":102830216,"longitude_deg":76.343424,"latitude_deg":10.2830216,"altitude":25,"angle":154,"satellites":47,"speed":46,"hex_longitude":"2d811500","hex_latitude":"06211088","is_valid_coordinates":true} 
[2026-07-07 08:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548847360001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340735131574599680,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149625566629967872,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783393943000,"timestamp_ms":1783393943000,"timestamp_seconds":1783393943,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a8ffdd8"} 
[2026-07-07 08:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-07 08:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548847360001,"66":27517,"145":206,"79":21504,"24":46,"16":340735131574599680,"45":-9149625566629967872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,79,24,16,45]} 
[2026-07-07 08:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548847360001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:43:17] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-07 08:43:17] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340735131574599680,"km_value":340735131574599.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149625566629967872,"description":"Unknown IO ID 45"} 
[2026-07-07 08:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548847360001,"power":27517,"unknown_145":206,"unknown_79":21504,"ignition":46,"odometer":null,"unknown_45":-9149625566629967872}} 
[2026-07-07 08:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":124273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:43:17] local.INFO: GPS data processed {"connection_id":124273,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:43:17] local.INFO: Acknowledgment sent {"connection_id":124273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:43:19] local.INFO: TCP Data received {"connection_id":126187,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126187,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:43:19] local.INFO: Processing buffer {"connection_id":126187,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:43:19] local.INFO: IMEI packet received {"connection_id":126187,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":126187,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:43:19] local.INFO: TCP Data received {"connection_id":124962,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a901d18012d7cbb4005e9bea80006006b26..."} 
[2026-07-07 08:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a901d18012d7cbb4005e9bea80006006b26..."} 
[2026-07-07 08:43:19] local.INFO: Processing buffer {"connection_id":124962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a901d18012d7cbb4005e9bea80006006b26..."} 
[2026-07-07 08:43:19] local.INFO: Packet analysis {"connection_id":124962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:43:19] local.INFO: Extracted packet for processing {"connection_id":124962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:43:19] local.INFO: GPS Element Parsed {"raw_longitude":763149120,"raw_latitude":99204776,"longitude_deg":76.314912,"latitude_deg":9.9204776,"altitude":6,"angle":107,"satellites":38,"speed":21,"hex_longitude":"2d7cbb40","hex_latitude":"05e9bea8","is_valid_coordinates":true} 
[2026-07-07 08:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548851200001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103249660881141760,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987214556790984704,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783393951000,"timestamp_ms":1783393951000,"timestamp_seconds":1783393951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a901d18"} 
[2026-07-07 08:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-07 08:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":504403158433268736,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:19] local.WARNING: Large IO value detected {"io_id":58,"raw_value":-8157918876202663744,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:19] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3020947463,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469841614,"corrected_to":0} 
[2026-07-07 08:43:19] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:19] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3492741120,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1614637223351664602,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:19] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3314875101907832407,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:19] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,156,87,24,241,157,16,208,159,13,45,64,190,6,39,10,66,187,185,7,164,192,1,240,62,227,58,233,4,113,205,54,143,48,40,239,50,2,110,5,8,51],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1469841614,"validated":0}]} 
[2026-07-07 08:43:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432450181042339840,"timestamp_seconds":432450181042339.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548851200001,"66":12809,"156":206,"87":13824,"24":21,"16":103249660881141760,"45":8987214556790984704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 08:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548851200001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:43:19] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 08:43:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103249660881141760,"km_value":103249660881141.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987214556790984704,"description":"Unknown IO ID 45"} 
[2026-07-07 08:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548851200001,"power":12809,"unknown_156":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8987214556790984704}} 
[2026-07-07 08:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":124962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:43:19] local.INFO: GPS data processed {"connection_id":124962,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:43:19] local.INFO: Acknowledgment sent {"connection_id":124962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:43:20] local.INFO: TCP Data received {"connection_id":126187,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126187,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:43:20] local.INFO: Processing buffer {"connection_id":126187,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:43:20] local.INFO: IMEI packet received {"connection_id":126187,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":126187,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:43:20] local.INFO: TCP Data received {"connection_id":126187,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a906368012d0d82000705cd38001701121c..."} 
[2026-07-07 08:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a906368012d0d82000705cd38001701121c..."} 
[2026-07-07 08:43:20] local.INFO: Processing buffer {"connection_id":126187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a906368012d0d82000705cd38001701121c..."} 
[2026-07-07 08:43:20] local.INFO: Packet analysis {"connection_id":126187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:43:20] local.INFO: Extracted packet for processing {"connection_id":126187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:43:20] local.INFO: GPS Element Parsed {"raw_longitude":755859968,"raw_latitude":117820728,"longitude_deg":75.5859968,"latitude_deg":11.7820728,"altitude":23,"angle":274,"satellites":28,"speed":29,"hex_longitude":"2d0d8200","hex_latitude":"0705cd38","is_valid_coordinates":true} 
[2026-07-07 08:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548855552001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23286784397934592,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":975099718232023040,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783393969000,"timestamp_ms":1783393969000,"timestamp_seconds":1783393969,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a906368"} 
[2026-07-07 08:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:43: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-07-07 08:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 08:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":126187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":126187,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":126187,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548855552001,"66":14428,"167":206,"94":11008,"24":29,"16":23286784397934592,"45":975099718232023040},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-07 08:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548855552001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:43:20] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 08:43:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23286784397934592,"km_value":23286784397934.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":975099718232023040,"description":"Unknown IO ID 45"} 
[2026-07-07 08:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548855552001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":29,"odometer":null,"unknown_45":975099718232023040}} 
[2026-07-07 08:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":126187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444425,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:43:21] local.INFO: GPS data processed {"connection_id":126187,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:43:21] local.INFO: Acknowledgment sent {"connection_id":126187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:43:22] local.INFO: TCP Data received {"connection_id":126187,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a906750012d0d7f800705ce00001701231c..."} 
[2026-07-07 08:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a906750012d0d7f800705ce00001701231c..."} 
[2026-07-07 08:43:22] local.INFO: Processing buffer {"connection_id":126187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a906750012d0d7f800705ce00001701231c..."} 
[2026-07-07 08:43:22] local.INFO: Packet analysis {"connection_id":126187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:43:22] local.INFO: Extracted packet for processing {"connection_id":126187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:43:22] local.INFO: GPS Element Parsed {"raw_longitude":755859328,"raw_latitude":117820928,"longitude_deg":75.5859328,"latitude_deg":11.7820928,"altitude":23,"angle":291,"satellites":28,"speed":27,"hex_longitude":"2d0d7f80","hex_latitude":"0705ce00","is_valid_coordinates":true} 
[2026-07-07 08:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548856064001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23286818757672960,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":973340499627554816,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783393970000,"timestamp_ms":1783393970000,"timestamp_seconds":1783393970,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a906750"} 
[2026-07-07 08:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:43: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-07-07 08:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 08:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126187,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126187,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548856064001,"66":14407,"167":206,"94":11008,"24":27,"16":23286818757672960,"45":973340499627554816},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-07 08:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548856064001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:43:22] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 08:43:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23286818757672960,"km_value":23286818757672.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":973340499627554816,"description":"Unknown IO ID 45"} 
[2026-07-07 08:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548856064001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":27,"odometer":null,"unknown_45":973340499627554816}} 
[2026-07-07 08:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":126187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444426,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:43:22] local.INFO: GPS data processed {"connection_id":126187,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:43:22] local.INFO: Acknowledgment sent {"connection_id":126187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:43:54] local.INFO: TCP Data received {"connection_id":126187,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a90e068012d0d61800705ea08001500081b..."} 
[2026-07-07 08:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a90e068012d0d61800705ea08001500081b..."} 
[2026-07-07 08:43:54] local.INFO: Processing buffer {"connection_id":126187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a90e068012d0d61800705ea08001500081b..."} 
[2026-07-07 08:43:54] local.INFO: Packet analysis {"connection_id":126187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:43:54] local.INFO: Extracted packet for processing {"connection_id":126187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:43:54] local.INFO: GPS Element Parsed {"raw_longitude":755851648,"raw_latitude":117828104,"longitude_deg":75.5851648,"latitude_deg":11.7828104,"altitude":21,"angle":8,"satellites":27,"speed":11,"hex_longitude":"2d0d6180","hex_latitude":"0705ea08","is_valid_coordinates":true} 
[2026-07-07 08:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548863232001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23287527427276800,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963629612932618240,"note":"Value kept but may cause issues"} 
[2026-07-07 08:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783394001000,"timestamp_ms":1783394001000,"timestamp_seconds":1783394001,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a90e068"} 
[2026-07-07 08:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-07 08:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":126187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":126187,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":126187,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548863232001,"66":14407,"167":206,"94":11008,"24":11,"16":23287527427276800,"45":963629612932618240},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-07 08:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548863232001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:43:54] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 08:43:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23287527427276800,"km_value":23287527427276.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":963629612932618240,"description":"Unknown IO ID 45"} 
[2026-07-07 08:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548863232001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":963629612932618240}} 
[2026-07-07 08:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":126187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444427,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:43:54] local.INFO: GPS data processed {"connection_id":126187,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:43:54] local.INFO: Acknowledgment sent {"connection_id":126187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:43:56] local.INFO: TCP Data received {"connection_id":124963,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:43:56] local.INFO: Processing buffer {"connection_id":124963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:43:56] local.INFO: IMEI packet received {"connection_id":124963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":124963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:43:59] local.INFO: TCP Data received {"connection_id":124175,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:43:59] local.INFO: Processing buffer {"connection_id":124175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:43:59] local.INFO: IMEI packet received {"connection_id":124175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":124175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:44:01] local.INFO: TCP Data received {"connection_id":124963,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:44:01] local.INFO: Processing buffer {"connection_id":124963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:44:01] local.INFO: IMEI packet received {"connection_id":124963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":124963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:44:02] local.INFO: TCP Data received {"connection_id":124963,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a90d4b0012d7d12c005e9c2580003001929..."} 
[2026-07-07 08:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a90d4b0012d7d12c005e9c2580003001929..."} 
[2026-07-07 08:44:02] local.INFO: Processing buffer {"connection_id":124963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a90d4b0012d7d12c005e9c2580003001929..."} 
[2026-07-07 08:44:02] local.INFO: Packet analysis {"connection_id":124963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:44:02] local.INFO: Extracted packet for processing {"connection_id":124963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:44:02] local.INFO: GPS Element Parsed {"raw_longitude":763171520,"raw_latitude":99205720,"longitude_deg":76.317152,"latitude_deg":9.920572,"altitude":3,"angle":25,"satellites":41,"speed":12,"hex_longitude":"2d7d12c0","hex_latitude":"05e9c258","is_valid_coordinates":true} 
[2026-07-07 08:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548863232001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103250829112246272,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012336198462560256,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:02] 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-07-07 08:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783393998000,"timestamp_ms":1783393998000,"timestamp_seconds":1783393998,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a90d4b0"} 
[2026-07-07 08:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 08:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548863232001,"66":13319,"192":206,"87":13824,"24":12,"16":103250829112246272,"45":9012336198462560256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-07 08:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548863232001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:44:02] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-07 08:44:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103250829112246272,"km_value":103250829112246.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012336198462560256,"description":"Unknown IO ID 45"} 
[2026-07-07 08:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548863232001,"power":13319,"unknown_192":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9012336198462560256}} 
[2026-07-07 08:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":124963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:44:02] local.INFO: GPS data processed {"connection_id":124963,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:44:02] local.INFO: Acknowledgment sent {"connection_id":124963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:44:04] local.INFO: TCP Data received {"connection_id":124175,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:44:04] local.INFO: Processing buffer {"connection_id":124175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:44:04] local.INFO: IMEI packet received {"connection_id":124175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":124175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:44:05] local.INFO: TCP Data received {"connection_id":124175,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a901d18012d8124c00620ec780017009f2d..."} 
[2026-07-07 08:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a901d18012d8124c00620ec780017009f2d..."} 
[2026-07-07 08:44:05] local.INFO: Processing buffer {"connection_id":124175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a901d18012d8124c00620ec780017009f2d..."} 
[2026-07-07 08:44:05] local.INFO: Packet analysis {"connection_id":124175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:44:05] local.INFO: Extracted packet for processing {"connection_id":124175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763438272,"raw_latitude":102820984,"longitude_deg":76.3438272,"latitude_deg":10.2820984,"altitude":23,"angle":159,"satellites":45,"speed":53,"hex_longitude":"2d8124c0","hex_latitude":"0620ec78","is_valid_coordinates":true} 
[2026-07-07 08:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548849408001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340735616905904128,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145403441981388800,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:05] 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-07-07 08:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783393951000,"timestamp_ms":1783393951000,"timestamp_seconds":1783393951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a901d18"} 
[2026-07-07 08:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 08:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548849408001,"66":27865,"49":206,"79":21504,"24":53,"16":340735616905904128,"45":-9145403441981388800},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548849408001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:44:05] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:44:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340735616905904128,"km_value":340735616905904.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145403441981388800,"description":"Unknown IO ID 45"} 
[2026-07-07 08:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548849408001,"power":27865,"unknown_49":206,"unknown_79":21504,"ignition":53,"odometer":null,"unknown_45":-9145403441981388800}} 
[2026-07-07 08:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":124175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:44:05] local.INFO: GPS data processed {"connection_id":124175,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:44:05] local.INFO: Acknowledgment sent {"connection_id":124175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:44:15] local.INFO: TCP Data received {"connection_id":124964,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124964,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:44:15] local.INFO: Processing buffer {"connection_id":124964,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:44:15] local.INFO: IMEI packet received {"connection_id":124964,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":124964,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:44:19] local.INFO: TCP Data received {"connection_id":124964,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124964,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:44:19] local.INFO: Processing buffer {"connection_id":124964,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:44:19] local.INFO: IMEI packet received {"connection_id":124964,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":124964,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:44:20] local.INFO: TCP Data received {"connection_id":124964,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124964,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:44:20] local.INFO: Processing buffer {"connection_id":124964,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:44:20] local.INFO: IMEI packet received {"connection_id":124964,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":124964,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:44:21] local.INFO: TCP Data received {"connection_id":124964,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a90e450012d0d61800705eb280015015d1c..."} 
[2026-07-07 08:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a90e450012d0d61800705eb280015015d1c..."} 
[2026-07-07 08:44:21] local.INFO: Processing buffer {"connection_id":124964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a90e450012d0d61800705eb280015015d1c..."} 
[2026-07-07 08:44:21] local.INFO: Packet analysis {"connection_id":124964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:44:21] local.INFO: Extracted packet for processing {"connection_id":124964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:44:21] local.INFO: GPS Element Parsed {"raw_longitude":755851648,"raw_latitude":117828392,"longitude_deg":75.5851648,"latitude_deg":11.7828392,"altitude":21,"angle":349,"satellites":28,"speed":10,"hex_longitude":"2d0d6180","hex_latitude":"0705eb28","is_valid_coordinates":true} 
[2026-07-07 08:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548864256001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23287540312178688,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964192562886346752,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783394002000,"timestamp_ms":1783394002000,"timestamp_seconds":1783394002,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a90e450"} 
[2026-07-07 08:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 08:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124964,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124964,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548864256001,"66":14407,"167":206,"94":11008,"24":10,"16":23287540312178688,"45":964192562886346752},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-07 08:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548864256001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:44:21] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 08:44:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23287540312178688,"km_value":23287540312178.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":964192562886346752,"description":"Unknown IO ID 45"} 
[2026-07-07 08:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548864256001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":964192562886346752}} 
[2026-07-07 08:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":124964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444430,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:44:21] local.INFO: GPS data processed {"connection_id":124964,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:44:21] local.INFO: Acknowledgment sent {"connection_id":124964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:44:28] local.INFO: TCP Data received {"connection_id":124962,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9028d0012d7cc0c005e9bd000005005926..."} 
[2026-07-07 08:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9028d0012d7cc0c005e9bd000005005926..."} 
[2026-07-07 08:44:28] local.INFO: Processing buffer {"connection_id":124962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9028d0012d7cc0c005e9bd000005005926..."} 
[2026-07-07 08:44:28] local.INFO: Packet analysis {"connection_id":124962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:44:28] local.INFO: Extracted packet for processing {"connection_id":124962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:44:28] local.INFO: GPS Element Parsed {"raw_longitude":763150528,"raw_latitude":99204352,"longitude_deg":76.3150528,"latitude_deg":9.9204352,"altitude":5,"angle":89,"satellites":38,"speed":19,"hex_longitude":"2d7cc0c0","hex_latitude":"05e9bd00","is_valid_coordinates":true} 
[2026-07-07 08:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548851456001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103249733895585792,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987847875488557056,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783393954000,"timestamp_ms":1783393954000,"timestamp_seconds":1783393954,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9028d0"} 
[2026-07-07 08:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:44: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-07-07 08:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-07 08:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":576460752471196672,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:28] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:28] local.WARNING: Large IO value detected {"io_id":58,"raw_value":-8149122783180454720,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:28] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3052404743,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469841614,"corrected_to":0} 
[2026-07-07 08:44:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1614364544451196123,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:28] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3221302652,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:28] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3221612980,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:28] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817303,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:28] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3497197568,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:28] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2954587131718192727,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:28] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:28] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,156,87,24,241,157,16,209,159,25,45,191,6,38,10,66,208,13,64,190,39,187,1,240,124,227,58,233,4,113,205,5,132,137,239,49,2,110,7,50,54,47],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1469841614,"validated":0}]} 
[2026-07-07 08:44:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432463375181873152,"timestamp_seconds":432463375181873.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548851456001,"66":13374,"156":206,"87":13824,"24":19,"16":103249733895585792,"45":8987847875488557056},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 08:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548851456001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:44:28] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 08:44:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103249733895585792,"km_value":103249733895585.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987847875488557056,"description":"Unknown IO ID 45"} 
[2026-07-07 08:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548851456001,"power":13374,"unknown_156":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8987847875488557056}} 
[2026-07-07 08:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":124962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:44:28] local.INFO: GPS data processed {"connection_id":124962,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:44:28] local.INFO: Acknowledgment sent {"connection_id":124962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:44:34] local.INFO: TCP Data received {"connection_id":124963,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a90d898012d7d130005e9c3f80004000b29..."} 
[2026-07-07 08:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a90d898012d7d130005e9c3f80004000b29..."} 
[2026-07-07 08:44:34] local.INFO: Processing buffer {"connection_id":124963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a90d898012d7d130005e9c3f80004000b29..."} 
[2026-07-07 08:44:34] local.INFO: Packet analysis {"connection_id":124963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:44:34] local.INFO: Extracted packet for processing {"connection_id":124963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:44:34] local.INFO: GPS Element Parsed {"raw_longitude":763171584,"raw_latitude":99206136,"longitude_deg":76.3171584,"latitude_deg":9.9206136,"altitude":4,"angle":11,"satellites":41,"speed":17,"hex_longitude":"2d7d1300","hex_latitude":"05e9c3f8","is_valid_coordinates":true} 
[2026-07-07 08:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548863488001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103250850587082752,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012476935950981120,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:34] 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-07-07 08:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783393999000,"timestamp_ms":1783393999000,"timestamp_seconds":1783393999,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a90d898"} 
[2026-07-07 08:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:44: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-07-07 08:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 08:44:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:34] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3221612982,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:34] local.WARNING: Large IO value detected {"io_id":209,"raw_value":4076863488,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:34] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2424481793,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:34] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-5323254738069085440,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469841614,"corrected_to":0} 
[2026-07-07 08:44:34] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3512270848,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3921012736,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:34] local.WARNING: Large IO value detected {"io_id":140,"raw_value":57798697765721910,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:34] local.WARNING: Large IO value detected {"io_id":144,"raw_value":6318551572079853573,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:34] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,192,87,24,241,157,16,210,159,208,45,64,193,3,41,10,66,156,204,4,40,185,1,240,215,227,209,58,233,113,205,19,99,128,37,239,52,2,110,5,12,140,144],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1469841614,"validated":0}]} 
[2026-07-07 08:44:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216200445998923776,"timestamp_seconds":216200445998923.78,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:44: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-07-07 08:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548863488001,"66":13319,"192":206,"87":13824,"24":17,"16":103250850587082752,"45":9012476935950981120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-07 08:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548863488001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:44:34] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-07 08:44:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103250850587082752,"km_value":103250850587082.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012476935950981120,"description":"Unknown IO ID 45"} 
[2026-07-07 08:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548863488001,"power":13319,"unknown_192":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":9012476935950981120}} 
[2026-07-07 08:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":124963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:44:34] local.INFO: GPS data processed {"connection_id":124963,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:44:34] local.INFO: Acknowledgment sent {"connection_id":124963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:44:36] local.INFO: TCP Data received {"connection_id":124175,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a903870012d812e400620c9e0001300a92e..."} 
[2026-07-07 08:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a903870012d812e400620c9e0001300a92e..."} 
[2026-07-07 08:44:36] local.INFO: Processing buffer {"connection_id":124175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a903870012d812e400620c9e0001300a92e..."} 
[2026-07-07 08:44:36] local.INFO: Packet analysis {"connection_id":124175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:44:36] local.INFO: Extracted packet for processing {"connection_id":124175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:44:36] local.INFO: GPS Element Parsed {"raw_longitude":763440704,"raw_latitude":102812128,"longitude_deg":76.3440704,"latitude_deg":10.2812128,"altitude":19,"angle":169,"satellites":46,"speed":51,"hex_longitude":"2d812e40","hex_latitude":"0620c9e0","is_valid_coordinates":true} 
[2026-07-07 08:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548851456001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736063582502912,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9140970211100559360,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:36] 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-07-07 08:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783393958000,"timestamp_ms":1783393958000,"timestamp_seconds":1783393958,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a903870"} 
[2026-07-07 08:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 08:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548851456001,"66":27887,"49":206,"79":21504,"24":51,"16":340736063582502912,"45":-9140970211100559360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548851456001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:44:36] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:44:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736063582502912,"km_value":340736063582502.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9140970211100559360,"description":"Unknown IO ID 45"} 
[2026-07-07 08:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548851456001,"power":27887,"unknown_49":206,"unknown_79":21504,"ignition":51,"odometer":null,"unknown_45":-9140970211100559360}} 
[2026-07-07 08:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":124175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:44:36] local.INFO: GPS data processed {"connection_id":124175,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:44:36] local.INFO: Acknowledgment sent {"connection_id":124175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:44:52] local.INFO: TCP Data received {"connection_id":124964,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a920178012d0da24007063c100015015a1b..."} 
[2026-07-07 08:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a920178012d0da24007063c100015015a1b..."} 
[2026-07-07 08:44:52] local.INFO: Processing buffer {"connection_id":124964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a920178012d0da24007063c100015015a1b..."} 
[2026-07-07 08:44:52] local.INFO: Packet analysis {"connection_id":124964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a92"} 
[2026-07-07 08:44:52] local.INFO: Extracted packet for processing {"connection_id":124964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a92"} 
[2026-07-07 08:44:52] local.INFO: GPS Element Parsed {"raw_longitude":755868224,"raw_latitude":117849104,"longitude_deg":75.5868224,"latitude_deg":11.7849104,"altitude":21,"angle":346,"satellites":27,"speed":19,"hex_longitude":"2d0da240","hex_latitude":"07063c10","is_valid_coordinates":true} 
[2026-07-07 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-07-07 08:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548882688001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23289168104783872,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982558805121855488,"note":"Value kept but may cause issues"} 
[2026-07-07 08:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783394075000,"timestamp_ms":1783394075000,"timestamp_seconds":1783394075,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a920178"} 
[2026-07-07 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-07-07 08:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 08:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 08:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124964,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124964,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548882688001,"66":14309,"167":206,"94":11008,"24":19,"16":23289168104783872,"45":982558805121855488},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-07 08:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548882688001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:44:52] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 08:44:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23289168104783872,"km_value":23289168104783.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":982558805121855488,"description":"Unknown IO ID 45"} 
[2026-07-07 08:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548882688001,"power":14309,"unknown_167":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":982558805121855488}} 
[2026-07-07 08:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":124964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444434,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:44:52] local.INFO: GPS data processed {"connection_id":124964,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:44:52] local.INFO: Acknowledgment sent {"connection_id":124964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:44:58] local.INFO: TCP Data received {"connection_id":124275,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:44:58] local.INFO: Processing buffer {"connection_id":124275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:44:58] local.INFO: IMEI packet received {"connection_id":124275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":124275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:45:00] local.INFO: TCP Data received {"connection_id":124276,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:45:00] local.INFO: Processing buffer {"connection_id":124276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:45:00] local.INFO: IMEI packet received {"connection_id":124276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":124276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:45:01] local.INFO: TCP Data received {"connection_id":124275,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:45:01] local.INFO: Processing buffer {"connection_id":124275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:45:01] local.INFO: IMEI packet received {"connection_id":124275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":124275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:45:02] local.INFO: TCP Data received {"connection_id":124275,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a910778012d7d150005e9e6c80005000628..."} 
[2026-07-07 08:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a910778012d7d150005e9e6c80005000628..."} 
[2026-07-07 08:45:02] local.INFO: Processing buffer {"connection_id":124275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a910778012d7d150005e9e6c80005000628..."} 
[2026-07-07 08:45:02] local.INFO: Packet analysis {"connection_id":124275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a91"} 
[2026-07-07 08:45:02] local.INFO: Extracted packet for processing {"connection_id":124275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a91"} 
[2026-07-07 08:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763172096,"raw_latitude":99215048,"longitude_deg":76.3172096,"latitude_deg":9.9215048,"altitude":5,"angle":6,"satellites":40,"speed":32,"hex_longitude":"2d7d1500","hex_latitude":"05e9e6c8","is_valid_coordinates":true} 
[2026-07-07 08:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548863744001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103251284378779648,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012547304695265280,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:02] 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-07-07 08:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783394011000,"timestamp_ms":1783394011000,"timestamp_seconds":1783394011,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a910778"} 
[2026-07-07 08:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 08:45:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:02] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2428065793,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:02] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-5339017341061946368,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469841614,"corrected_to":0} 
[2026-07-07 08:45:02] local.WARNING: Large IO value detected {"io_id":130,"raw_value":2818649468,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:02] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2516634967,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:02] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3515875328,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3921051648,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:02] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57798697765721910,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:02] local.WARNING: Large IO value detected {"io_id":144,"raw_value":6600026548790591493,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:02] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,192,87,24,241,157,16,210,159,212,45,194,3,41,10,66,208,64,193,156,204,1,240,46,227,58,233,4,113,205,25,130,229,36,239,50,2,110,5,19,62,144],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1469841614,"validated":0}]} 
[2026-07-07 08:45:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288242646874390528,"timestamp_seconds":288242646874390.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548863744001,"66":13276,"192":206,"87":13824,"24":32,"16":103251284378779648,"45":9012547304695265280},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-07 08:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548863744001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:45:02] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-07 08:45:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103251284378779648,"km_value":103251284378779.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012547304695265280,"description":"Unknown IO ID 45"} 
[2026-07-07 08:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548863744001,"power":13276,"unknown_192":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":9012547304695265280}} 
[2026-07-07 08:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":124275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:45:02] local.INFO: GPS data processed {"connection_id":124275,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:45:02] local.INFO: Acknowledgment sent {"connection_id":124275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:45:04] local.INFO: TCP Data received {"connection_id":124276,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:45:04] local.INFO: Processing buffer {"connection_id":124276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:45:04] local.INFO: IMEI packet received {"connection_id":124276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":124276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:45:05] local.INFO: TCP Data received {"connection_id":124276,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:45:05] local.INFO: Processing buffer {"connection_id":124276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:45:05] local.INFO: Packet analysis {"connection_id":124276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:45:05] local.INFO: Extracted packet for processing {"connection_id":124276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763441536,"raw_latitude":102804936,"longitude_deg":76.3441536,"latitude_deg":10.2804936,"altitude":19,"angle":178,"satellites":46,"speed":43,"hex_longitude":"2d813180","hex_latitude":"0620adc8","is_valid_coordinates":true} 
[2026-07-07 08:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548853248001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9138296198824075264,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:05] 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-07-07 08:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783393964000,"timestamp_ms":1783393964000,"timestamp_seconds":1783393964,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a904fe0"} 
[2026-07-07 08:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 08:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548853248001,"66":27767,"49":206,"79":21504,"24":43,"16":340736415769821184,"45":-9138296198824075264},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548853248001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:45:05] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:45:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9138296198824075264,"description":"Unknown IO ID 45"} 
[2026-07-07 08:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548853248001,"power":27767,"unknown_49":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":-9138296198824075264}} 
[2026-07-07 08:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":124276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:45:05] local.INFO: GPS data processed {"connection_id":124276,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:45:05] local.INFO: Acknowledgment sent {"connection_id":124276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:45:05] local.INFO: TCP Data received {"connection_id":124275,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a913658012d7d15c005ea09980007000129..."} 
[2026-07-07 08:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a913658012d7d15c005ea09980007000129..."} 
[2026-07-07 08:45:05] local.INFO: Processing buffer {"connection_id":124275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a913658012d7d15c005ea09980007000129..."} 
[2026-07-07 08:45:05] local.INFO: Packet analysis {"connection_id":124275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a91"} 
[2026-07-07 08:45:05] local.INFO: Extracted packet for processing {"connection_id":124275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a91"} 
[2026-07-07 08:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763172288,"raw_latitude":99223960,"longitude_deg":76.3172288,"latitude_deg":9.922396,"altitude":7,"angle":1,"satellites":41,"speed":26,"hex_longitude":"2d7d15c0","hex_latitude":"05ea0998","is_valid_coordinates":true} 
[2026-07-07 08:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548866816001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103251718170476544,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013110254650968064,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:05] 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-07-07 08:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783394023000,"timestamp_ms":1783394023000,"timestamp_seconds":1783394023,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a913658"} 
[2026-07-07 08:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 08:45: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-07-07 08:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:45: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-07-07 08:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548866816001,"66":13243,"192":206,"87":13824,"24":26,"16":103251718170476544,"45":9013110254650968064},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-07 08:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548866816001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:45:05] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-07 08:45:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103251718170476544,"km_value":103251718170476.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013110254650968064,"description":"Unknown IO ID 45"} 
[2026-07-07 08:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548866816001,"power":13243,"unknown_192":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":9013110254650968064}} 
[2026-07-07 08:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":124275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:45:05] local.INFO: GPS data processed {"connection_id":124275,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:45:05] local.INFO: Acknowledgment sent {"connection_id":124275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:45:20] local.INFO: TCP Data received {"connection_id":126189,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126189,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:45:20] local.INFO: Processing buffer {"connection_id":126189,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:45:20] local.INFO: IMEI packet received {"connection_id":126189,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":126189,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:45:25] local.INFO: TCP Data received {"connection_id":126189,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126189,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:45:25] local.INFO: Processing buffer {"connection_id":126189,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:45:25] local.INFO: IMEI packet received {"connection_id":126189,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":126189,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:45:26] local.INFO: TCP Data received {"connection_id":126189,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a921500012d0da0c0070647e8001600011c..."} 
[2026-07-07 08:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a921500012d0da0c0070647e8001600011c..."} 
[2026-07-07 08:45:26] local.INFO: Processing buffer {"connection_id":126189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a921500012d0da0c0070647e8001600011c..."} 
[2026-07-07 08:45:26] local.INFO: Packet analysis {"connection_id":126189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a92"} 
[2026-07-07 08:45:26] local.INFO: Extracted packet for processing {"connection_id":126189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a92"} 
[2026-07-07 08:45:26] local.INFO: GPS Element Parsed {"raw_longitude":755867840,"raw_latitude":117852136,"longitude_deg":75.586784,"latitude_deg":11.7852136,"altitude":22,"angle":1,"satellites":28,"speed":27,"hex_longitude":"2d0da0c0","hex_latitude":"070647e8","is_valid_coordinates":true} 
[2026-07-07 08:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548883200001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23289318428639232,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982418067633737728,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783394080000,"timestamp_ms":1783394080000,"timestamp_seconds":1783394080,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a921500"} 
[2026-07-07 08:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 08:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":126189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":126189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":126189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548883200001,"66":14450,"167":206,"94":11008,"24":27,"16":23289318428639232,"45":982418067633737728},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-07 08:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548883200001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:45:26] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 08:45:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23289318428639232,"km_value":23289318428639.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":982418067633737728,"description":"Unknown IO ID 45"} 
[2026-07-07 08:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548883200001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":27,"odometer":null,"unknown_45":982418067633737728}} 
[2026-07-07 08:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":126189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444438,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:45:26] local.INFO: GPS data processed {"connection_id":126189,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:45:26] local.INFO: Acknowledgment sent {"connection_id":126189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:45:27] local.INFO: TCP Data received {"connection_id":126189,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a922888012d0da200070651c80017000c1c..."} 
[2026-07-07 08:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a922888012d0da200070651c80017000c1c..."} 
[2026-07-07 08:45:27] local.INFO: Processing buffer {"connection_id":126189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a922888012d0da200070651c80017000c1c..."} 
[2026-07-07 08:45:27] local.INFO: Packet analysis {"connection_id":126189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a92"} 
[2026-07-07 08:45:27] local.INFO: Extracted packet for processing {"connection_id":126189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a92"} 
[2026-07-07 08:45:27] local.INFO: GPS Element Parsed {"raw_longitude":755868160,"raw_latitude":117854664,"longitude_deg":75.586816,"latitude_deg":11.7854664,"altitude":23,"angle":12,"satellites":28,"speed":10,"hex_longitude":"2d0da200","hex_latitude":"070651c8","is_valid_coordinates":true} 
[2026-07-07 08:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548884480001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23289447277658112,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":981995855169447936,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783394085000,"timestamp_ms":1783394085000,"timestamp_seconds":1783394085,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a922888"} 
[2026-07-07 08:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 08:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":126189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":126189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":126189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548884480001,"66":14537,"167":206,"94":11008,"24":10,"16":23289447277658112,"45":981995855169447936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-07 08:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548884480001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:45:27] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 08:45:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23289447277658112,"km_value":23289447277658.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":981995855169447936,"description":"Unknown IO ID 45"} 
[2026-07-07 08:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548884480001,"power":14537,"unknown_167":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":981995855169447936}} 
[2026-07-07 08:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":126189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444439,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:45:27] local.INFO: GPS data processed {"connection_id":126189,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:45:27] local.INFO: Acknowledgment sent {"connection_id":126189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:45:30] local.INFO: TCP Data received {"connection_id":126188,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126188,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:45:30] local.INFO: Processing buffer {"connection_id":126188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:45:30] local.INFO: IMEI packet received {"connection_id":126188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 08:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":126188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:45:36] local.INFO: TCP Data received {"connection_id":124276,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:45:36] local.INFO: Processing buffer {"connection_id":124276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:45:36] local.INFO: Packet analysis {"connection_id":124276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:45:36] local.INFO: Extracted packet for processing {"connection_id":124276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:45:36] local.INFO: GPS Element Parsed {"raw_longitude":763441536,"raw_latitude":102804936,"longitude_deg":76.3441536,"latitude_deg":10.2804936,"altitude":19,"angle":178,"satellites":46,"speed":43,"hex_longitude":"2d813180","hex_latitude":"0620adc8","is_valid_coordinates":true} 
[2026-07-07 08:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548853248001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9138296198824075264,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:36] 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-07-07 08:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783393964000,"timestamp_ms":1783393964000,"timestamp_seconds":1783393964,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a904fe0"} 
[2026-07-07 08:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 08:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548853248001,"66":27767,"49":206,"79":21504,"24":43,"16":340736415769821184,"45":-9138296198824075264},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548853248001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:45:36] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:45:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9138296198824075264,"description":"Unknown IO ID 45"} 
[2026-07-07 08:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548853248001,"power":27767,"unknown_49":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":-9138296198824075264}} 
[2026-07-07 08:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":124276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:45:36] local.INFO: GPS data processed {"connection_id":124276,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:45:36] local.INFO: Acknowledgment sent {"connection_id":124276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:45:37] local.INFO: TCP Data received {"connection_id":124275,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9178c0012d7d16c005ea2c20000a000528..."} 
[2026-07-07 08:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9178c0012d7d16c005ea2c20000a000528..."} 
[2026-07-07 08:45:37] local.INFO: Processing buffer {"connection_id":124275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9178c0012d7d16c005ea2c20000a000528..."} 
[2026-07-07 08:45:37] local.INFO: Packet analysis {"connection_id":124275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a91"} 
[2026-07-07 08:45:37] local.INFO: Extracted packet for processing {"connection_id":124275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a91"} 
[2026-07-07 08:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763172544,"raw_latitude":99232800,"longitude_deg":76.3172544,"latitude_deg":9.92328,"altitude":10,"angle":5,"satellites":40,"speed":15,"hex_longitude":"2d7d16c0","hex_latitude":"05ea2c20","is_valid_coordinates":true} 
[2026-07-07 08:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548869888001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103252147667206144,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013321360885782528,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783394040000,"timestamp_ms":1783394040000,"timestamp_seconds":1783394040,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9178c0"} 
[2026-07-07 08:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:45: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-07-07 08:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 08:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:45: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-07-07 08:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548869888001,"66":13428,"126":206,"87":13824,"24":15,"16":103252147667206144,"45":9013321360885782528},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-07-07 08:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548869888001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:45:37] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-07 08:45:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103252147667206144,"km_value":103252147667206.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013321360885782528,"description":"Unknown IO ID 45"} 
[2026-07-07 08:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548869888001,"power":13428,"unknown_126":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":9013321360885782528}} 
[2026-07-07 08:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":124275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:45:37] local.INFO: GPS data processed {"connection_id":124275,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:45:37] local.INFO: Acknowledgment sent {"connection_id":124275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:45:56] local.INFO: TCP Data received {"connection_id":124176,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:45:56] local.INFO: Processing buffer {"connection_id":124176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:45:56] local.INFO: IMEI packet received {"connection_id":124176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":124176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:45:58] local.INFO: TCP Data received {"connection_id":126189,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9276a8012d0da200070652980017000c19..."} 
[2026-07-07 08:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9276a8012d0da200070652980017000c19..."} 
[2026-07-07 08:45:58] local.INFO: Processing buffer {"connection_id":126189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9276a8012d0da200070652980017000c19..."} 
[2026-07-07 08:45:58] local.INFO: Packet analysis {"connection_id":126189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a92"} 
[2026-07-07 08:45:58] local.INFO: Extracted packet for processing {"connection_id":126189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a92"} 
[2026-07-07 08:45:58] local.INFO: GPS Element Parsed {"raw_longitude":755868160,"raw_latitude":117854872,"longitude_deg":75.586816,"latitude_deg":11.7854872,"altitude":23,"angle":12,"satellites":25,"speed":0,"hex_longitude":"2d0da200","hex_latitude":"07065298","is_valid_coordinates":true} 
[2026-07-07 08:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548885760001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23289460162560000,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982347698890983424,"note":"Value kept but may cause issues"} 
[2026-07-07 08:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783394105000,"timestamp_ms":1783394105000,"timestamp_seconds":1783394105,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9276a8"} 
[2026-07-07 08:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 08:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":126189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":126189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":126189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548885760001,"66":14396,"167":206,"94":11008,"24":0,"16":23289460162560000,"45":982347698890983424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-07 08:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548885760001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:45:58] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 08:45:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 08:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23289460162560000,"km_value":23289460162560,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":982347698890983424,"description":"Unknown IO ID 45"} 
[2026-07-07 08:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548885760001,"power":14396,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":982347698890983424}} 
[2026-07-07 08:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":126189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444442,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:45:58] local.INFO: GPS data processed {"connection_id":126189,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:45:58] local.INFO: Acknowledgment sent {"connection_id":126189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:45:59] local.INFO: TCP Data received {"connection_id":124965,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:45:59] local.INFO: Processing buffer {"connection_id":124965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:45:59] local.INFO: IMEI packet received {"connection_id":124965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":124965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:46:01] local.INFO: TCP Data received {"connection_id":124176,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:46:01] local.INFO: Processing buffer {"connection_id":124176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:46:01] local.INFO: IMEI packet received {"connection_id":124176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":124176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:46:02] local.INFO: TCP Data received {"connection_id":124176,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a91cac8012d7d178005ea35a8000c016727..."} 
[2026-07-07 08:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a91cac8012d7d178005ea35a8000c016727..."} 
[2026-07-07 08:46:02] local.INFO: Processing buffer {"connection_id":124176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a91cac8012d7d178005ea35a8000c016727..."} 
[2026-07-07 08:46:02] local.INFO: Packet analysis {"connection_id":124176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a91"} 
[2026-07-07 08:46:02] local.INFO: Extracted packet for processing {"connection_id":124176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a91"} 
[2026-07-07 08:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763172736,"raw_latitude":99235240,"longitude_deg":76.3172736,"latitude_deg":9.923524,"altitude":12,"angle":359,"satellites":39,"speed":0,"hex_longitude":"2d7d1780","hex_latitude":"05ea35a8","is_valid_coordinates":true} 
[2026-07-07 08:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548874240001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103252267926290432,"note":"Value kept but may cause issues"} 
[2026-07-07 08:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013602835864756224,"note":"Value kept but may cause issues"} 
[2026-07-07 08:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783394061000,"timestamp_ms":1783394061000,"timestamp_seconds":1783394061,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a91cac8"} 
[2026-07-07 08:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-07 08:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548874240001,"66":12939,"126":206,"87":13824,"24":0,"16":103252267926290432,"45":9013602835864756224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-07-07 08:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548874240001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:46:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-07 08:46:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103252267926290432,"km_value":103252267926290.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013602835864756224,"description":"Unknown IO ID 45"} 
[2026-07-07 08:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548874240001,"power":12939,"unknown_126":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9013602835864756224}} 
[2026-07-07 08:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":124176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:46:02] local.INFO: GPS data processed {"connection_id":124176,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:46:02] local.INFO: Acknowledgment sent {"connection_id":124176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:46:04] local.INFO: TCP Data received {"connection_id":124965,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:46:04] local.INFO: Processing buffer {"connection_id":124965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:46:04] local.INFO: IMEI packet received {"connection_id":124965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":124965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:46:05] local.INFO: TCP Data received {"connection_id":124277,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124277,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:46:05] local.INFO: Processing buffer {"connection_id":124277,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:46:05] local.INFO: IMEI packet received {"connection_id":124277,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 08:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":124277,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:46:05] local.INFO: TCP Data received {"connection_id":124965,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:46:05] local.INFO: Processing buffer {"connection_id":124965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:46:05] local.INFO: Packet analysis {"connection_id":124965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:46:05] local.INFO: Extracted packet for processing {"connection_id":124965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763441536,"raw_latitude":102804936,"longitude_deg":76.3441536,"latitude_deg":10.2804936,"altitude":19,"angle":178,"satellites":46,"speed":43,"hex_longitude":"2d813180","hex_latitude":"0620adc8","is_valid_coordinates":true} 
[2026-07-07 08:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548853248001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9138296198824075264,"note":"Value kept but may cause issues"} 
[2026-07-07 08:46:05] 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-07-07 08:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783393964000,"timestamp_ms":1783393964000,"timestamp_seconds":1783393964,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a904fe0"} 
[2026-07-07 08:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 08:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548853248001,"66":27767,"49":206,"79":21504,"24":43,"16":340736415769821184,"45":-9138296198824075264},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548853248001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:46:05] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:46:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9138296198824075264,"description":"Unknown IO ID 45"} 
[2026-07-07 08:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548853248001,"power":27767,"unknown_49":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":-9138296198824075264}} 
[2026-07-07 08:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":124965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:46:05] local.INFO: GPS data processed {"connection_id":124965,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:46:05] local.INFO: Acknowledgment sent {"connection_id":124965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:46:12] local.INFO: TCP Data received {"connection_id":126190,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126190,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:46:12] local.INFO: Processing buffer {"connection_id":126190,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:46:12] local.INFO: IMEI packet received {"connection_id":126190,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":126190,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:46:13] local.INFO: TCP Data received {"connection_id":126190,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126190,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:46:13] local.INFO: Processing buffer {"connection_id":126190,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:46:13] local.INFO: IMEI packet received {"connection_id":126190,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":126190,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:46:14] local.INFO: TCP Data received {"connection_id":126190,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126190,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:46:14] local.INFO: Processing buffer {"connection_id":126190,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:46:14] local.INFO: IMEI packet received {"connection_id":126190,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":126190,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:46:15] local.INFO: TCP Data received {"connection_id":126190,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126190,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:46:15] local.INFO: Processing buffer {"connection_id":126190,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:46:15] local.INFO: IMEI packet received {"connection_id":126190,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":126190,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:46:34] local.INFO: TCP Data received {"connection_id":124176,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a921cd0012d7d178005ea35a8000c016728..."} 
[2026-07-07 08:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a921cd0012d7d178005ea35a8000c016728..."} 
[2026-07-07 08:46:34] local.INFO: Processing buffer {"connection_id":124176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a921cd0012d7d178005ea35a8000c016728..."} 
[2026-07-07 08:46:34] local.INFO: Packet analysis {"connection_id":124176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a92"} 
[2026-07-07 08:46:34] local.INFO: Extracted packet for processing {"connection_id":124176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a92"} 
[2026-07-07 08:46:34] local.INFO: GPS Element Parsed {"raw_longitude":763172736,"raw_latitude":99235240,"longitude_deg":76.3172736,"latitude_deg":9.923524,"altitude":12,"angle":359,"satellites":40,"speed":0,"hex_longitude":"2d7d1780","hex_latitude":"05ea35a8","is_valid_coordinates":true} 
[2026-07-07 08:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548879616001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103252267926290432,"note":"Value kept but may cause issues"} 
[2026-07-07 08:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013813942097913856,"note":"Value kept but may cause issues"} 
[2026-07-07 08:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783394082000,"timestamp_ms":1783394082000,"timestamp_seconds":1783394082,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a921cd0"} 
[2026-07-07 08:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:46: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-07-07 08:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 08:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:46: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-07-07 08:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548879616001,"66":13015,"126":206,"87":13824,"24":0,"16":103252267926290432,"45":9013813942097913856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-07-07 08:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548879616001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:46:34] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-07 08:46:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103252267926290432,"km_value":103252267926290.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013813942097913856,"description":"Unknown IO ID 45"} 
[2026-07-07 08:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548879616001,"power":13015,"unknown_126":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9013813942097913856}} 
[2026-07-07 08:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":124176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:46:34] local.INFO: GPS data processed {"connection_id":124176,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:46:34] local.INFO: Acknowledgment sent {"connection_id":124176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:46:36] local.INFO: TCP Data received {"connection_id":124965,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:46:36] local.INFO: Processing buffer {"connection_id":124965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:46:36] local.INFO: Packet analysis {"connection_id":124965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:46:36] local.INFO: Extracted packet for processing {"connection_id":124965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763441536,"raw_latitude":102804936,"longitude_deg":76.3441536,"latitude_deg":10.2804936,"altitude":19,"angle":178,"satellites":46,"speed":43,"hex_longitude":"2d813180","hex_latitude":"0620adc8","is_valid_coordinates":true} 
[2026-07-07 08:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548853248001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9138296198824075264,"note":"Value kept but may cause issues"} 
[2026-07-07 08:46:36] 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-07-07 08:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783393964000,"timestamp_ms":1783393964000,"timestamp_seconds":1783393964,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a904fe0"} 
[2026-07-07 08:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 08:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548853248001,"66":27767,"49":206,"79":21504,"24":43,"16":340736415769821184,"45":-9138296198824075264},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548853248001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:46:36] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:46:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9138296198824075264,"description":"Unknown IO ID 45"} 
[2026-07-07 08:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548853248001,"power":27767,"unknown_49":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":-9138296198824075264}} 
[2026-07-07 08:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":124965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:46:36] local.INFO: GPS data processed {"connection_id":124965,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:46:36] local.INFO: Acknowledgment sent {"connection_id":124965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:46:55] local.INFO: TCP Data received {"connection_id":124177,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:46:56] local.INFO: Processing buffer {"connection_id":124177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:46:56] local.INFO: IMEI packet received {"connection_id":124177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":124177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:46:59] local.INFO: TCP Data received {"connection_id":124278,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:46:59] local.INFO: Processing buffer {"connection_id":124278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:46:59] local.INFO: IMEI packet received {"connection_id":124278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":124278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:47:01] local.INFO: TCP Data received {"connection_id":124177,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:47:01] local.INFO: Processing buffer {"connection_id":124177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:47:01] local.INFO: IMEI packet received {"connection_id":124177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":124177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:47:02] local.INFO: TCP Data received {"connection_id":124177,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a926ed8012d7d180005ea3740000d000527..."} 
[2026-07-07 08:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a926ed8012d7d180005ea3740000d000527..."} 
[2026-07-07 08:47:02] local.INFO: Processing buffer {"connection_id":124177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a926ed8012d7d180005ea3740000d000527..."} 
[2026-07-07 08:47:02] local.INFO: Packet analysis {"connection_id":124177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a92"} 
[2026-07-07 08:47:02] local.INFO: Extracted packet for processing {"connection_id":124177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a92"} 
[2026-07-07 08:47:02] local.INFO: GPS Element Parsed {"raw_longitude":763172864,"raw_latitude":99235648,"longitude_deg":76.3172864,"latitude_deg":9.9235648,"altitude":13,"angle":5,"satellites":39,"speed":4,"hex_longitude":"2d7d1800","hex_latitude":"05ea3740","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548884992001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103252289401126912,"note":"Value kept but may cause issues"} 
[2026-07-07 08:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013813942097913856,"note":"Value kept but may cause issues"} 
[2026-07-07 08:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783394103000,"timestamp_ms":1783394103000,"timestamp_seconds":1783394103,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a926ed8"} 
[2026-07-07 08:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 08:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548884992001,"66":12917,"126":206,"87":13824,"24":4,"16":103252289401126912,"45":9013813942097913856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-07-07 08:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548884992001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:47:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-07 08:47:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103252289401126912,"km_value":103252289401126.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013813942097913856,"description":"Unknown IO ID 45"} 
[2026-07-07 08:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548884992001,"power":12917,"unknown_126":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9013813942097913856}} 
[2026-07-07 08:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":124177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:47:02] local.INFO: GPS data processed {"connection_id":124177,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:47:02] local.INFO: Acknowledgment sent {"connection_id":124177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:47:05] local.INFO: TCP Data received {"connection_id":124278,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:47:05] local.INFO: Processing buffer {"connection_id":124278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:47:05] local.INFO: IMEI packet received {"connection_id":124278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":124278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:47:05] local.INFO: TCP Data received {"connection_id":124278,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:47:05] local.INFO: Processing buffer {"connection_id":124278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:47:05] local.INFO: Packet analysis {"connection_id":124278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:47:05] local.INFO: Extracted packet for processing {"connection_id":124278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:47:05] local.INFO: GPS Element Parsed {"raw_longitude":763441536,"raw_latitude":102804936,"longitude_deg":76.3441536,"latitude_deg":10.2804936,"altitude":19,"angle":178,"satellites":46,"speed":43,"hex_longitude":"2d813180","hex_latitude":"0620adc8","is_valid_coordinates":true} 
[2026-07-07 08:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548853248001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9138296198824075264,"note":"Value kept but may cause issues"} 
[2026-07-07 08:47:05] 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-07-07 08:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783393964000,"timestamp_ms":1783393964000,"timestamp_seconds":1783393964,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a904fe0"} 
[2026-07-07 08:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 08:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548853248001,"66":27767,"49":206,"79":21504,"24":43,"16":340736415769821184,"45":-9138296198824075264},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548853248001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:47:05] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:47:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9138296198824075264,"description":"Unknown IO ID 45"} 
[2026-07-07 08:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548853248001,"power":27767,"unknown_49":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":-9138296198824075264}} 
[2026-07-07 08:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":124278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:47:05] local.INFO: GPS data processed {"connection_id":124278,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:47:05] local.INFO: Acknowledgment sent {"connection_id":124278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:47:34] local.INFO: TCP Data received {"connection_id":124177,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9462d8012d7d1fc005eafee8000c011228..."} 
[2026-07-07 08:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9462d8012d7d1fc005eafee8000c011228..."} 
[2026-07-07 08:47:34] local.INFO: Processing buffer {"connection_id":124177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9462d8012d7d1fc005eafee8000c011228..."} 
[2026-07-07 08:47:34] local.INFO: Packet analysis {"connection_id":124177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:47:34] local.INFO: Extracted packet for processing {"connection_id":124177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:47:34] local.INFO: GPS Element Parsed {"raw_longitude":763174848,"raw_latitude":99286760,"longitude_deg":76.3174848,"latitude_deg":9.928676,"altitude":12,"angle":274,"satellites":40,"speed":7,"hex_longitude":"2d7d1fc0","hex_latitude":"05eafee8","is_valid_coordinates":true} 
[2026-07-07 08:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548922880001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103254797662027776,"note":"Value kept but may cause issues"} 
[2026-07-07 08:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016276848157310976,"note":"Value kept but may cause issues"} 
[2026-07-07 08:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783394231000,"timestamp_ms":1783394231000,"timestamp_seconds":1783394231,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9462d8"} 
[2026-07-07 08:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:47: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-07-07 08:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 08:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:47: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-07-07 08:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548922880001,"66":12863,"158":206,"87":13824,"24":7,"16":103254797662027776,"45":9016276848157310976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-07 08:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548922880001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:47:34] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 08:47:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103254797662027776,"km_value":103254797662027.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016276848157310976,"description":"Unknown IO ID 45"} 
[2026-07-07 08:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548922880001,"power":12863,"unknown_158":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9016276848157310976}} 
[2026-07-07 08:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":124177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:47:34] local.INFO: GPS data processed {"connection_id":124177,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:47:34] local.INFO: Acknowledgment sent {"connection_id":124177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:47:37] local.INFO: TCP Data received {"connection_id":124278,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:47:37] local.INFO: Processing buffer {"connection_id":124278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:47:37] local.INFO: Packet analysis {"connection_id":124278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:47:37] local.INFO: Extracted packet for processing {"connection_id":124278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763441536,"raw_latitude":102804936,"longitude_deg":76.3441536,"latitude_deg":10.2804936,"altitude":19,"angle":178,"satellites":46,"speed":43,"hex_longitude":"2d813180","hex_latitude":"0620adc8","is_valid_coordinates":true} 
[2026-07-07 08:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548853248001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9138296198824075264,"note":"Value kept but may cause issues"} 
[2026-07-07 08:47:37] 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-07-07 08:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783393964000,"timestamp_ms":1783393964000,"timestamp_seconds":1783393964,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a904fe0"} 
[2026-07-07 08:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 08:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548853248001,"66":27767,"49":206,"79":21504,"24":43,"16":340736415769821184,"45":-9138296198824075264},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548853248001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:47:37] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:47:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9138296198824075264,"description":"Unknown IO ID 45"} 
[2026-07-07 08:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548853248001,"power":27767,"unknown_49":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":-9138296198824075264}} 
[2026-07-07 08:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":124278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:47:37] local.INFO: GPS data processed {"connection_id":124278,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:47:37] local.INFO: Acknowledgment sent {"connection_id":124278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:47:56] local.INFO: TCP Data received {"connection_id":124967,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:47:56] local.INFO: Processing buffer {"connection_id":124967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:47:56] local.INFO: IMEI packet received {"connection_id":124967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":124967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:48:01] local.INFO: TCP Data received {"connection_id":124967,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:48:01] local.INFO: Processing buffer {"connection_id":124967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:48:01] local.INFO: IMEI packet received {"connection_id":124967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":124967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:48:02] local.INFO: TCP Data received {"connection_id":124967,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9466c0012d7d1f0005eafec8000c00ff28..."} 
[2026-07-07 08:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9466c0012d7d1f0005eafec8000c00ff28..."} 
[2026-07-07 08:48:02] local.INFO: Processing buffer {"connection_id":124967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9466c0012d7d1f0005eafec8000c00ff28..."} 
[2026-07-07 08:48:02] local.INFO: Packet analysis {"connection_id":124967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:48:02] local.INFO: Extracted packet for processing {"connection_id":124967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763174656,"raw_latitude":99286728,"longitude_deg":76.3174656,"latitude_deg":9.9286728,"altitude":12,"angle":255,"satellites":40,"speed":6,"hex_longitude":"2d7d1f00","hex_latitude":"05eafec8","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548923136001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103254801956995072,"note":"Value kept but may cause issues"} 
[2026-07-07 08:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016136110668965888,"note":"Value kept but may cause issues"} 
[2026-07-07 08:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783394232000,"timestamp_ms":1783394232000,"timestamp_seconds":1783394232,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9466c0"} 
[2026-07-07 08:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 08:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548923136001,"66":13091,"158":206,"87":13824,"24":6,"16":103254801956995072,"45":9016136110668965888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-07 08:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548923136001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:48:02] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 08:48:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103254801956995072,"km_value":103254801956995.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016136110668965888,"description":"Unknown IO ID 45"} 
[2026-07-07 08:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548923136001,"power":13091,"unknown_158":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9016136110668965888}} 
[2026-07-07 08:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":124967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:48:02] local.INFO: GPS data processed {"connection_id":124967,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:48:02] local.INFO: Acknowledgment sent {"connection_id":124967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:48:05] local.INFO: TCP Data received {"connection_id":124178,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:48:05] local.INFO: Processing buffer {"connection_id":124178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:48:05] local.INFO: IMEI packet received {"connection_id":124178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":124178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:48:09] local.INFO: TCP Data received {"connection_id":124178,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:48:09] local.INFO: Processing buffer {"connection_id":124178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:48:09] local.INFO: IMEI packet received {"connection_id":124178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":124178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:48:10] local.INFO: TCP Data received {"connection_id":124178,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:48:10] local.INFO: Processing buffer {"connection_id":124178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:48:10] local.INFO: Packet analysis {"connection_id":124178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:48:10] local.INFO: Extracted packet for processing {"connection_id":124178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:48:10] local.INFO: GPS Element Parsed {"raw_longitude":763441536,"raw_latitude":102804936,"longitude_deg":76.3441536,"latitude_deg":10.2804936,"altitude":19,"angle":178,"satellites":46,"speed":43,"hex_longitude":"2d813180","hex_latitude":"0620adc8","is_valid_coordinates":true} 
[2026-07-07 08:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548853248001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9138296198824075264,"note":"Value kept but may cause issues"} 
[2026-07-07 08:48: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-07-07 08:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783393964000,"timestamp_ms":1783393964000,"timestamp_seconds":1783393964,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a904fe0"} 
[2026-07-07 08:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 08:48: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-07-07 08:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548853248001,"66":27767,"49":206,"79":21504,"24":43,"16":340736415769821184,"45":-9138296198824075264},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548853248001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:48:10] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:48:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9138296198824075264,"description":"Unknown IO ID 45"} 
[2026-07-07 08:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548853248001,"power":27767,"unknown_49":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":-9138296198824075264}} 
[2026-07-07 08:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":124178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:48:10] local.INFO: GPS data processed {"connection_id":124178,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:48:10] local.INFO: Acknowledgment sent {"connection_id":124178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:48:15] local.INFO: TCP Data received {"connection_id":124178,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:48:15] local.INFO: Processing buffer {"connection_id":124178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a904fe0012d8131800620adc8001300b22e..."} 
[2026-07-07 08:48:15] local.INFO: Packet analysis {"connection_id":124178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:48:15] local.INFO: Extracted packet for processing {"connection_id":124178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a90"} 
[2026-07-07 08:48:15] local.INFO: GPS Element Parsed {"raw_longitude":763441536,"raw_latitude":102804936,"longitude_deg":76.3441536,"latitude_deg":10.2804936,"altitude":19,"angle":178,"satellites":46,"speed":43,"hex_longitude":"2d813180","hex_latitude":"0620adc8","is_valid_coordinates":true} 
[2026-07-07 08:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548853248001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9138296198824075264,"note":"Value kept but may cause issues"} 
[2026-07-07 08:48:15] 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-07-07 08:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783393964000,"timestamp_ms":1783393964000,"timestamp_seconds":1783393964,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a904fe0"} 
[2026-07-07 08:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 08:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548853248001,"66":27767,"49":206,"79":21504,"24":43,"16":340736415769821184,"45":-9138296198824075264},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548853248001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:48:15] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:48:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9138296198824075264,"description":"Unknown IO ID 45"} 
[2026-07-07 08:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548853248001,"power":27767,"unknown_49":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":-9138296198824075264}} 
[2026-07-07 08:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":124178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:48:15] local.INFO: GPS data processed {"connection_id":124178,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:48:15] local.INFO: Acknowledgment sent {"connection_id":124178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:48:33] local.INFO: TCP Data received {"connection_id":124967,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a94a540012d7d0ac005eaf6f8000d00f326..."} 
[2026-07-07 08:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a94a540012d7d0ac005eaf6f8000d00f326..."} 
[2026-07-07 08:48:33] local.INFO: Processing buffer {"connection_id":124967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a94a540012d7d0ac005eaf6f8000d00f326..."} 
[2026-07-07 08:48:33] local.INFO: Packet analysis {"connection_id":124967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:48:33] local.INFO: Extracted packet for processing {"connection_id":124967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763169472,"raw_latitude":99284728,"longitude_deg":76.3169472,"latitude_deg":9.9284728,"altitude":13,"angle":243,"satellites":38,"speed":18,"hex_longitude":"2d7d0ac0","hex_latitude":"05eaf6f8","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548923392001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103255072539934720,"note":"Value kept but may cause issues"} 
[2026-07-07 08:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015925004436424704,"note":"Value kept but may cause issues"} 
[2026-07-07 08:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783394248000,"timestamp_ms":1783394248000,"timestamp_seconds":1783394248,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a94a540"} 
[2026-07-07 08:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 08:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:48: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-07-07 08:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548923392001,"66":13048,"158":206,"87":13824,"24":18,"16":103255072539934720,"45":9015925004436424704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-07 08:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548923392001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:48:33] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 08:48:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103255072539934720,"km_value":103255072539934.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015925004436424704,"description":"Unknown IO ID 45"} 
[2026-07-07 08:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548923392001,"power":13048,"unknown_158":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":9015925004436424704}} 
[2026-07-07 08:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":124967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:48:33] local.INFO: GPS data processed {"connection_id":124967,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:48:33] local.INFO: Acknowledgment sent {"connection_id":124967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:48:56] local.INFO: TCP Data received {"connection_id":124180,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:48:56] local.INFO: Processing buffer {"connection_id":124180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:48:56] local.INFO: IMEI packet received {"connection_id":124180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":124180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:48:58] local.INFO: TCP Data received {"connection_id":124180,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:48:58] local.INFO: Processing buffer {"connection_id":124180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:48:58] local.INFO: IMEI packet received {"connection_id":124180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":124180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:49:00] local.INFO: TCP Data received {"connection_id":124279,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:49:00] local.INFO: Processing buffer {"connection_id":124279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:49:00] local.INFO: IMEI packet received {"connection_id":124279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":124279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:49:00] local.INFO: TCP Data received {"connection_id":124180,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:49:00] local.INFO: Processing buffer {"connection_id":124180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:49:00] local.INFO: IMEI packet received {"connection_id":124180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":124180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:49:01] local.INFO: TCP Data received {"connection_id":124180,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:49:01] local.INFO: Processing buffer {"connection_id":124180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:49:01] local.INFO: IMEI packet received {"connection_id":124180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":124180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:49:02] local.INFO: TCP Data received {"connection_id":124180,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a94b0f8012d7d068005eaf410000e00e526..."} 
[2026-07-07 08:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a94b0f8012d7d068005eaf410000e00e526..."} 
[2026-07-07 08:49:02] local.INFO: Processing buffer {"connection_id":124180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a94b0f8012d7d068005eaf410000e00e526..."} 
[2026-07-07 08:49:02] local.INFO: Packet analysis {"connection_id":124180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:49:02] local.INFO: Extracted packet for processing {"connection_id":124180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:49:02] local.INFO: GPS Element Parsed {"raw_longitude":763168384,"raw_latitude":99283984,"longitude_deg":76.3168384,"latitude_deg":9.9283984,"altitude":14,"angle":229,"satellites":38,"speed":15,"hex_longitude":"2d7d0680","hex_latitude":"05eaf410","is_valid_coordinates":true} 
[2026-07-07 08:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548927488001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103255132669476864,"note":"Value kept but may cause issues"} 
[2026-07-07 08:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010225136157521920,"note":"Value kept but may cause issues"} 
[2026-07-07 08:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783394251000,"timestamp_ms":1783394251000,"timestamp_seconds":1783394251,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a94b0f8"} 
[2026-07-07 08:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 08:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548927488001,"66":12961,"158":206,"87":13824,"24":15,"16":103255132669476864,"45":9010225136157521920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-07 08:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548927488001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:49:02] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 08:49:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103255132669476864,"km_value":103255132669476.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010225136157521920,"description":"Unknown IO ID 45"} 
[2026-07-07 08:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548927488001,"power":12961,"unknown_158":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":9010225136157521920}} 
[2026-07-07 08:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":124180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:49:02] local.INFO: GPS data processed {"connection_id":124180,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:49:02] local.INFO: Acknowledgment sent {"connection_id":124180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:49:03] local.INFO: TCP Data received {"connection_id":124180,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a94b8c8012d7d048005eaf2b8000d00f626..."} 
[2026-07-07 08:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a94b8c8012d7d048005eaf2b8000d00f626..."} 
[2026-07-07 08:49:03] local.INFO: Processing buffer {"connection_id":124180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a94b8c8012d7d048005eaf2b8000d00f626..."} 
[2026-07-07 08:49:03] local.INFO: Packet analysis {"connection_id":124180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:49:03] local.INFO: Extracted packet for processing {"connection_id":124180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:49:03] local.INFO: GPS Element Parsed {"raw_longitude":763167872,"raw_latitude":99283640,"longitude_deg":76.3167872,"latitude_deg":9.928364,"altitude":13,"angle":246,"satellites":38,"speed":8,"hex_longitude":"2d7d0480","hex_latitude":"05eaf2b8","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548928256001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103255162734247936,"note":"Value kept but may cause issues"} 
[2026-07-07 08:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009028867506311168,"note":"Value kept but may cause issues"} 
[2026-07-07 08:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783394253000,"timestamp_ms":1783394253000,"timestamp_seconds":1783394253,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a94b8c8"} 
[2026-07-07 08:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-07 08:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:49: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-07-07 08:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548928256001,"66":12982,"158":206,"87":13824,"24":8,"16":103255162734247936,"45":9009028867506311168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-07 08:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548928256001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:49:03] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 08:49:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103255162734247936,"km_value":103255162734247.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009028867506311168,"description":"Unknown IO ID 45"} 
[2026-07-07 08:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548928256001,"power":12982,"unknown_158":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9009028867506311168}} 
[2026-07-07 08:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":124180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:49:03] local.INFO: GPS data processed {"connection_id":124180,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:49:03] local.INFO: Acknowledgment sent {"connection_id":124180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:49:05] local.INFO: TCP Data received {"connection_id":124279,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:49:05] local.INFO: Processing buffer {"connection_id":124279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:49:05] local.INFO: IMEI packet received {"connection_id":124279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":124279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:49:05] local.INFO: TCP Data received {"connection_id":124279,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:49:05] local.INFO: Processing buffer {"connection_id":124279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:49:05] local.INFO: Packet analysis {"connection_id":124279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:49:05] local.INFO: Extracted packet for processing {"connection_id":124279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:49:05] local.INFO: GPS Element Parsed {"raw_longitude":763442240,"raw_latitude":102793152,"longitude_deg":76.344224,"latitude_deg":10.2793152,"altitude":20,"angle":177,"satellites":44,"speed":0,"hex_longitude":"2d813440","hex_latitude":"06207fc0","is_valid_coordinates":true} 
[2026-07-07 08:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548854784001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9137381405151606784,"note":"Value kept but may cause issues"} 
[2026-07-07 08:49:05] 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-07-07 08:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783394267000,"timestamp_ms":1783394267000,"timestamp_seconds":1783394267,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a94ef78"} 
[2026-07-07 08:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 08:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548854784001,"66":26408,"49":206,"79":21504,"24":0,"16":340736415769821184,"45":-9137381405151606784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548854784001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:49:05] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:49:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9137381405151606784,"description":"Unknown IO ID 45"} 
[2026-07-07 08:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548854784001,"power":26408,"unknown_49":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-9137381405151606784}} 
[2026-07-07 08:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":124279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:49:05] local.INFO: GPS data processed {"connection_id":124279,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:49:05] local.INFO: Acknowledgment sent {"connection_id":124279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:49:34] local.INFO: TCP Data received {"connection_id":124180,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a94fb30012d7cfd0005eaf0c8000b010227..."} 
[2026-07-07 08:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a94fb30012d7cfd0005eaf0c8000b010227..."} 
[2026-07-07 08:49:34] local.INFO: Processing buffer {"connection_id":124180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a94fb30012d7cfd0005eaf0c8000b010227..."} 
[2026-07-07 08:49:34] local.INFO: Packet analysis {"connection_id":124180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:49:34] local.INFO: Extracted packet for processing {"connection_id":124180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:49:34] local.INFO: GPS Element Parsed {"raw_longitude":763165952,"raw_latitude":99283144,"longitude_deg":76.3165952,"latitude_deg":9.9283144,"altitude":11,"angle":258,"satellites":39,"speed":10,"hex_longitude":"2d7cfd00","hex_latitude":"05eaf0c8","is_valid_coordinates":true} 
[2026-07-07 08:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548928768001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103255261518495744,"note":"Value kept but may cause issues"} 
[2026-07-07 08:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008465917552801792,"note":"Value kept but may cause issues"} 
[2026-07-07 08:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783394270000,"timestamp_ms":1783394270000,"timestamp_seconds":1783394270,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a94fb30"} 
[2026-07-07 08:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-07 08:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:49: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-07-07 08:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548928768001,"66":13178,"158":206,"87":13824,"24":10,"16":103255261518495744,"45":9008465917552801792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-07 08:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548928768001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:49:34] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 08:49:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103255261518495744,"km_value":103255261518495.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008465917552801792,"description":"Unknown IO ID 45"} 
[2026-07-07 08:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548928768001,"power":13178,"unknown_158":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9008465917552801792}} 
[2026-07-07 08:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":124180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:49:34] local.INFO: GPS data processed {"connection_id":124180,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:49:34] local.INFO: Acknowledgment sent {"connection_id":124180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:49:37] local.INFO: TCP Data received {"connection_id":124279,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:49:37] local.INFO: Processing buffer {"connection_id":124279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:49:37] local.INFO: Packet analysis {"connection_id":124279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:49:37] local.INFO: Extracted packet for processing {"connection_id":124279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:49:37] local.INFO: GPS Element Parsed {"raw_longitude":763442240,"raw_latitude":102793152,"longitude_deg":76.344224,"latitude_deg":10.2793152,"altitude":20,"angle":177,"satellites":44,"speed":0,"hex_longitude":"2d813440","hex_latitude":"06207fc0","is_valid_coordinates":true} 
[2026-07-07 08:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548854784001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9137381405151606784,"note":"Value kept but may cause issues"} 
[2026-07-07 08:49:37] 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-07-07 08:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783394267000,"timestamp_ms":1783394267000,"timestamp_seconds":1783394267,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a94ef78"} 
[2026-07-07 08:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 08:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 08:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548854784001,"66":26408,"49":206,"79":21504,"24":0,"16":340736415769821184,"45":-9137381405151606784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548854784001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:49:37] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:49:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9137381405151606784,"description":"Unknown IO ID 45"} 
[2026-07-07 08:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548854784001,"power":26408,"unknown_49":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-9137381405151606784}} 
[2026-07-07 08:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":124279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:49:37] local.INFO: GPS data processed {"connection_id":124279,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:49:37] local.INFO: Acknowledgment sent {"connection_id":124279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:49:59] local.INFO: TCP Data received {"connection_id":126195,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:49:59] local.INFO: Processing buffer {"connection_id":126195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:49:59] local.INFO: IMEI packet received {"connection_id":126195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":126195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:50:01] local.INFO: TCP Data received {"connection_id":126194,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:50:01] local.INFO: Processing buffer {"connection_id":126194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:50:01] local.INFO: IMEI packet received {"connection_id":126194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":126194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:50:04] local.INFO: TCP Data received {"connection_id":126194,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:50:04] local.INFO: Processing buffer {"connection_id":126194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:50:04] local.INFO: IMEI packet received {"connection_id":126194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":126194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:50:05] local.INFO: TCP Data received {"connection_id":126195,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:50:05] local.INFO: Processing buffer {"connection_id":126195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:50:05] local.INFO: IMEI packet received {"connection_id":126195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":126195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:50:05] local.INFO: TCP Data received {"connection_id":126194,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a954d38012d7cf44005eaef98000b010821..."} 
[2026-07-07 08:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a954d38012d7cf44005eaef98000b010821..."} 
[2026-07-07 08:50:05] local.INFO: Processing buffer {"connection_id":126194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a954d38012d7cf44005eaef98000b010821..."} 
[2026-07-07 08:50:05] local.INFO: Packet analysis {"connection_id":126194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a95"} 
[2026-07-07 08:50:05] local.INFO: Extracted packet for processing {"connection_id":126194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a95"} 
[2026-07-07 08:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763163712,"raw_latitude":99282840,"longitude_deg":76.3163712,"latitude_deg":9.928284,"altitude":11,"angle":264,"satellites":33,"speed":0,"hex_longitude":"2d7cf440","hex_latitude":"05eaef98","is_valid_coordinates":true} 
[2026-07-07 08:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548933120001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103255373187645440,"note":"Value kept but may cause issues"} 
[2026-07-07 08:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006354855227344896,"note":"Value kept but may cause issues"} 
[2026-07-07 08:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783394291000,"timestamp_ms":1783394291000,"timestamp_seconds":1783394291,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a954d38"} 
[2026-07-07 08:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 08:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:50: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-07-07 08:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548933120001,"66":12765,"158":206,"87":13824,"24":0,"16":103255373187645440,"45":9006354855227344896},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-07 08:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548933120001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:50:05] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 08:50:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103255373187645440,"km_value":103255373187645.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006354855227344896,"description":"Unknown IO ID 45"} 
[2026-07-07 08:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548933120001,"power":12765,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9006354855227344896}} 
[2026-07-07 08:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":126194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:50:05] local.INFO: GPS data processed {"connection_id":126194,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:50:05] local.INFO: Acknowledgment sent {"connection_id":126194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:50:06] local.INFO: TCP Data received {"connection_id":126194,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a959f40012d7cf44005eaef98000b01081e..."} 
[2026-07-07 08:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a959f40012d7cf44005eaef98000b01081e..."} 
[2026-07-07 08:50:06] local.INFO: Processing buffer {"connection_id":126194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a959f40012d7cf44005eaef98000b01081e..."} 
[2026-07-07 08:50:06] local.INFO: Packet analysis {"connection_id":126194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a95"} 
[2026-07-07 08:50:06] local.INFO: Extracted packet for processing {"connection_id":126194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a95"} 
[2026-07-07 08:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763163712,"raw_latitude":99282840,"longitude_deg":76.3163712,"latitude_deg":9.928284,"altitude":11,"angle":264,"satellites":30,"speed":0,"hex_longitude":"2d7cf440","hex_latitude":"05eaef98","is_valid_coordinates":true} 
[2026-07-07 08:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548938496001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103255373187645440,"note":"Value kept but may cause issues"} 
[2026-07-07 08:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003891949181048832,"note":"Value kept but may cause issues"} 
[2026-07-07 08:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783394312000,"timestamp_ms":1783394312000,"timestamp_seconds":1783394312,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a959f40"} 
[2026-07-07 08:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 08:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:50: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-07-07 08:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548938496001,"66":12711,"158":206,"87":13824,"24":0,"16":103255373187645440,"45":9003891949181048832},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-07 08:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548938496001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:50:06] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 08:50:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103255373187645440,"km_value":103255373187645.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003891949181048832,"description":"Unknown IO ID 45"} 
[2026-07-07 08:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548938496001,"power":12711,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9003891949181048832}} 
[2026-07-07 08:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":126194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:50:06] local.INFO: GPS data processed {"connection_id":126194,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:50:06] local.INFO: Acknowledgment sent {"connection_id":126194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:50:14] local.INFO: TCP Data received {"connection_id":126195,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:50:14] local.INFO: Processing buffer {"connection_id":126195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:50:14] local.INFO: Packet analysis {"connection_id":126195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:50:14] local.INFO: Extracted packet for processing {"connection_id":126195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:50:14] local.INFO: GPS Element Parsed {"raw_longitude":763442240,"raw_latitude":102793152,"longitude_deg":76.344224,"latitude_deg":10.2793152,"altitude":20,"angle":177,"satellites":44,"speed":0,"hex_longitude":"2d813440","hex_latitude":"06207fc0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 08:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548854784001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9137381405151606784,"note":"Value kept but may cause issues"} 
[2026-07-07 08:50:14] 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-07-07 08:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783394267000,"timestamp_ms":1783394267000,"timestamp_seconds":1783394267,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a94ef78"} 
[2026-07-07 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-07-07 08:50: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-07-07 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 08:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 08:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:50: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-07-07 08:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548854784001,"66":26408,"49":206,"79":21504,"24":0,"16":340736415769821184,"45":-9137381405151606784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548854784001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:50:14] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:50:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9137381405151606784,"description":"Unknown IO ID 45"} 
[2026-07-07 08:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548854784001,"power":26408,"unknown_49":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-9137381405151606784}} 
[2026-07-07 08:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":126195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:50:14] local.INFO: GPS data processed {"connection_id":126195,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:50:14] local.INFO: Acknowledgment sent {"connection_id":126195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:50:38] local.INFO: TCP Data received {"connection_id":126194,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a95f148012d7ce50005eaee18000c011921..."} 
[2026-07-07 08:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a95f148012d7ce50005eaee18000c011921..."} 
[2026-07-07 08:50:38] local.INFO: Processing buffer {"connection_id":126194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a95f148012d7ce50005eaee18000c011921..."} 
[2026-07-07 08:50:38] local.INFO: Packet analysis {"connection_id":126194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a95"} 
[2026-07-07 08:50:38] local.INFO: Extracted packet for processing {"connection_id":126194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a95"} 
[2026-07-07 08:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763159808,"raw_latitude":99282456,"longitude_deg":76.3159808,"latitude_deg":9.9282456,"altitude":12,"angle":281,"satellites":33,"speed":5,"hex_longitude":"2d7ce500","hex_latitude":"05eaee18","is_valid_coordinates":true} 
[2026-07-07 08:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548943872001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103255566461173760,"note":"Value kept but may cause issues"} 
[2026-07-07 08:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003891949181048832,"note":"Value kept but may cause issues"} 
[2026-07-07 08:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783394333000,"timestamp_ms":1783394333000,"timestamp_seconds":1783394333,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a95f148"} 
[2026-07-07 08:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-07 08:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08: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-07-07 08:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548943872001,"66":13178,"158":206,"87":13824,"24":5,"16":103255566461173760,"45":9003891949181048832},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-07 08:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548943872001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:50:38] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 08:50:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103255566461173760,"km_value":103255566461173.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003891949181048832,"description":"Unknown IO ID 45"} 
[2026-07-07 08:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548943872001,"power":13178,"unknown_158":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9003891949181048832}} 
[2026-07-07 08:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":126194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:50:38] local.INFO: GPS data processed {"connection_id":126194,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:50:38] local.INFO: Acknowledgment sent {"connection_id":126194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:50:53] local.INFO: TCP Data received {"connection_id":124280,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:50:53] local.INFO: Processing buffer {"connection_id":124280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:50:53] local.INFO: IMEI packet received {"connection_id":124280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":124280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:50:54] local.INFO: TCP Data received {"connection_id":124280,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:50:54] local.INFO: Processing buffer {"connection_id":124280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:50:54] local.INFO: IMEI packet received {"connection_id":124280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":124280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:50:55] local.INFO: TCP Data received {"connection_id":124280,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:50:55] local.INFO: Processing buffer {"connection_id":124280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:50:55] local.INFO: IMEI packet received {"connection_id":124280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":124280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:50:56] local.INFO: TCP Data received {"connection_id":124280,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:50:56] local.INFO: Processing buffer {"connection_id":124280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:50:56] local.INFO: IMEI packet received {"connection_id":124280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":124280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:50:59] local.INFO: TCP Data received {"connection_id":124183,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:50:59] local.INFO: Processing buffer {"connection_id":124183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:50:59] local.INFO: IMEI packet received {"connection_id":124183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":124183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:51:05] local.INFO: TCP Data received {"connection_id":124183,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:51:05] local.INFO: Processing buffer {"connection_id":124183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:51:05] local.INFO: IMEI packet received {"connection_id":124183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":124183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:51:05] local.INFO: TCP Data received {"connection_id":124183,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:51:05] local.INFO: Processing buffer {"connection_id":124183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:51:05] local.INFO: Packet analysis {"connection_id":124183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:51:05] local.INFO: Extracted packet for processing {"connection_id":124183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763442240,"raw_latitude":102793152,"longitude_deg":76.344224,"latitude_deg":10.2793152,"altitude":20,"angle":177,"satellites":44,"speed":0,"hex_longitude":"2d813440","hex_latitude":"06207fc0","is_valid_coordinates":true} 
[2026-07-07 08:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548854784001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9137381405151606784,"note":"Value kept but may cause issues"} 
[2026-07-07 08:51:05] 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-07-07 08:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783394267000,"timestamp_ms":1783394267000,"timestamp_seconds":1783394267,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a94ef78"} 
[2026-07-07 08:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 08:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 08:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548854784001,"66":26408,"49":206,"79":21504,"24":0,"16":340736415769821184,"45":-9137381405151606784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548854784001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:51:05] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:51:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9137381405151606784,"description":"Unknown IO ID 45"} 
[2026-07-07 08:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548854784001,"power":26408,"unknown_49":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-9137381405151606784}} 
[2026-07-07 08:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":124183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:51:05] local.INFO: GPS data processed {"connection_id":124183,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:51:05] local.INFO: Acknowledgment sent {"connection_id":124183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:51:20] local.INFO: TCP Data received {"connection_id":124185,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124185,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:51:20] local.INFO: Processing buffer {"connection_id":124185,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:51:20] local.INFO: IMEI packet received {"connection_id":124185,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":124185,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:51:21] local.INFO: TCP Data received {"connection_id":124185,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a97d5a8012d0e1f40070685b8001b011e1d..."} 
[2026-07-07 08:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a97d5a8012d0e1f40070685b8001b011e1d..."} 
[2026-07-07 08:51:21] local.INFO: Processing buffer {"connection_id":124185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a97d5a8012d0e1f40070685b8001b011e1d..."} 
[2026-07-07 08:51:21] local.INFO: Packet analysis {"connection_id":124185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a97"} 
[2026-07-07 08:51:21] local.INFO: Extracted packet for processing {"connection_id":124185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a97"} 
[2026-07-07 08:51:21] local.INFO: GPS Element Parsed {"raw_longitude":755900224,"raw_latitude":117867960,"longitude_deg":75.5900224,"latitude_deg":11.786796,"altitude":27,"angle":286,"satellites":29,"speed":17,"hex_longitude":"2d0e1f40","hex_latitude":"070685b8","is_valid_coordinates":true} 
[2026-07-07 08:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548979712001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23295653505400832,"note":"Value kept but may cause issues"} 
[2026-07-07 08:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1019713502052536320,"note":"Value kept but may cause issues"} 
[2026-07-07 08:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783394457000,"timestamp_ms":1783394457000,"timestamp_seconds":1783394457,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a97d5a8"} 
[2026-07-07 08:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 08:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124185,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124185,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548979712001,"66":14407,"219":206,"94":10240,"24":17,"16":23295653505400832,"45":1019713502052536320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 08:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548979712001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:51:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 08:51:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 08:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23295653505400832,"km_value":23295653505400.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1019713502052536320,"description":"Unknown IO ID 45"} 
[2026-07-07 08:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548979712001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":1019713502052536320}} 
[2026-07-07 08:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":124185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444465,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:51:21] local.INFO: GPS data processed {"connection_id":124185,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:51:21] local.INFO: Acknowledgment sent {"connection_id":124185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:51:25] local.INFO: TCP Data received {"connection_id":124184,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:51:25] local.INFO: Processing buffer {"connection_id":124184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:51:25] local.INFO: IMEI packet received {"connection_id":124184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 08:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":124184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:51:37] local.INFO: TCP Data received {"connection_id":124183,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:51:37] local.INFO: Processing buffer {"connection_id":124183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:51:37] local.INFO: Packet analysis {"connection_id":124183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:51:37] local.INFO: Extracted packet for processing {"connection_id":124183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763442240,"raw_latitude":102793152,"longitude_deg":76.344224,"latitude_deg":10.2793152,"altitude":20,"angle":177,"satellites":44,"speed":0,"hex_longitude":"2d813440","hex_latitude":"06207fc0","is_valid_coordinates":true} 
[2026-07-07 08:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548854784001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9137381405151606784,"note":"Value kept but may cause issues"} 
[2026-07-07 08:51:37] 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-07-07 08:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783394267000,"timestamp_ms":1783394267000,"timestamp_seconds":1783394267,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a94ef78"} 
[2026-07-07 08:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 08:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548854784001,"66":26408,"49":206,"79":21504,"24":0,"16":340736415769821184,"45":-9137381405151606784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548854784001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:51:37] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:51:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9137381405151606784,"description":"Unknown IO ID 45"} 
[2026-07-07 08:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548854784001,"power":26408,"unknown_49":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-9137381405151606784}} 
[2026-07-07 08:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":124183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:51:37] local.INFO: GPS data processed {"connection_id":124183,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:51:37] local.INFO: Acknowledgment sent {"connection_id":124183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:51:52] local.INFO: TCP Data received {"connection_id":124185,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9898f8012d0e0240070691e0001400371b..."} 
[2026-07-07 08:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9898f8012d0e0240070691e0001400371b..."} 
[2026-07-07 08:51:52] local.INFO: Processing buffer {"connection_id":124185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9898f8012d0e0240070691e0001400371b..."} 
[2026-07-07 08:51:52] local.INFO: Packet analysis {"connection_id":124185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a98"} 
[2026-07-07 08:51:52] local.INFO: Extracted packet for processing {"connection_id":124185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a98"} 
[2026-07-07 08:51:52] local.INFO: GPS Element Parsed {"raw_longitude":755892800,"raw_latitude":117871072,"longitude_deg":75.58928,"latitude_deg":11.7871072,"altitude":20,"angle":55,"satellites":27,"speed":5,"hex_longitude":"2d0e0240","hex_latitude":"070691e0","is_valid_coordinates":true} 
[2026-07-07 08:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548993536001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23296134541737984,"note":"Value kept but may cause issues"} 
[2026-07-07 08:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009369296659380224,"note":"Value kept but may cause issues"} 
[2026-07-07 08:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783394507000,"timestamp_ms":1783394507000,"timestamp_seconds":1783394507,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9898f8"} 
[2026-07-07 08:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:51: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-07-07 08:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 08:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124185,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124185,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548993536001,"66":14439,"219":206,"94":10240,"24":5,"16":23296134541737984,"45":1009369296659380224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 08:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548993536001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:51:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 08:51:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 08:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23296134541737984,"km_value":23296134541737.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009369296659380224,"description":"Unknown IO ID 45"} 
[2026-07-07 08:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548993536001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":1009369296659380224}} 
[2026-07-07 08:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":124185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444467,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:51:52] local.INFO: GPS data processed {"connection_id":124185,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:51:52] local.INFO: Acknowledgment sent {"connection_id":124185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:52:00] local.INFO: TCP Data received {"connection_id":124186,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:52:00] local.INFO: Processing buffer {"connection_id":124186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:52:00] local.INFO: IMEI packet received {"connection_id":124186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 08:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":124186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:52:05] local.INFO: TCP Data received {"connection_id":124968,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:52:05] local.INFO: Processing buffer {"connection_id":124968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:52:05] local.INFO: IMEI packet received {"connection_id":124968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":124968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:52:09] local.INFO: TCP Data received {"connection_id":124968,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:52:09] local.INFO: Processing buffer {"connection_id":124968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:52:09] local.INFO: IMEI packet received {"connection_id":124968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":124968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:52:10] local.INFO: TCP Data received {"connection_id":124968,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:52:10] local.INFO: Processing buffer {"connection_id":124968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:52:10] local.INFO: Packet analysis {"connection_id":124968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:52:10] local.INFO: Extracted packet for processing {"connection_id":124968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763442240,"raw_latitude":102793152,"longitude_deg":76.344224,"latitude_deg":10.2793152,"altitude":20,"angle":177,"satellites":44,"speed":0,"hex_longitude":"2d813440","hex_latitude":"06207fc0","is_valid_coordinates":true} 
[2026-07-07 08:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548854784001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9137381405151606784,"note":"Value kept but may cause issues"} 
[2026-07-07 08:52: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-07-07 08:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783394267000,"timestamp_ms":1783394267000,"timestamp_seconds":1783394267,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a94ef78"} 
[2026-07-07 08:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 08:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 08: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-07-07 08:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548854784001,"66":26408,"49":206,"79":21504,"24":0,"16":340736415769821184,"45":-9137381405151606784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548854784001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:52:10] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:52:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9137381405151606784,"description":"Unknown IO ID 45"} 
[2026-07-07 08:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548854784001,"power":26408,"unknown_49":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-9137381405151606784}} 
[2026-07-07 08:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":124968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:52:10] local.INFO: GPS data processed {"connection_id":124968,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:52:10] local.INFO: Acknowledgment sent {"connection_id":124968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:52:15] local.INFO: TCP Data received {"connection_id":124281,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124281,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:52:15] local.INFO: Processing buffer {"connection_id":124281,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:52:15] local.INFO: IMEI packet received {"connection_id":124281,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":124281,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:52:15] local.INFO: TCP Data received {"connection_id":124968,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:52:15] local.INFO: Processing buffer {"connection_id":124968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:52:15] local.INFO: Packet analysis {"connection_id":124968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:52:15] local.INFO: Extracted packet for processing {"connection_id":124968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:52:15] local.INFO: GPS Element Parsed {"raw_longitude":763442240,"raw_latitude":102793152,"longitude_deg":76.344224,"latitude_deg":10.2793152,"altitude":20,"angle":177,"satellites":44,"speed":0,"hex_longitude":"2d813440","hex_latitude":"06207fc0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 08:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548854784001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9137381405151606784,"note":"Value kept but may cause issues"} 
[2026-07-07 08:52:15] 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-07-07 08:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783394267000,"timestamp_ms":1783394267000,"timestamp_seconds":1783394267,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a94ef78"} 
[2026-07-07 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-07-07 08:52: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-07-07 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 08:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 08:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548854784001,"66":26408,"49":206,"79":21504,"24":0,"16":340736415769821184,"45":-9137381405151606784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548854784001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:52:15] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:52:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9137381405151606784,"description":"Unknown IO ID 45"} 
[2026-07-07 08:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548854784001,"power":26408,"unknown_49":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-9137381405151606784}} 
[2026-07-07 08:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":124968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:52:15] local.INFO: GPS data processed {"connection_id":124968,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:52:15] local.INFO: Acknowledgment sent {"connection_id":124968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:52:17] local.INFO: TCP Data received {"connection_id":124281,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124281,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:52:17] local.INFO: Processing buffer {"connection_id":124281,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:52:17] local.INFO: IMEI packet received {"connection_id":124281,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":124281,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:52:20] local.INFO: TCP Data received {"connection_id":124281,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124281,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:52:20] local.INFO: Processing buffer {"connection_id":124281,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:52:20] local.INFO: IMEI packet received {"connection_id":124281,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":124281,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:52:21] local.INFO: TCP Data received {"connection_id":124281,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a989ce0012d0e02c0070692280014004c1a..."} 
[2026-07-07 08:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a989ce0012d0e02c0070692280014004c1a..."} 
[2026-07-07 08:52:21] local.INFO: Processing buffer {"connection_id":124281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a989ce0012d0e02c0070692280014004c1a..."} 
[2026-07-07 08:52:21] local.INFO: Packet analysis {"connection_id":124281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a98"} 
[2026-07-07 08:52:21] local.INFO: Extracted packet for processing {"connection_id":124281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a98"} 
[2026-07-07 08:52:21] local.INFO: GPS Element Parsed {"raw_longitude":755892928,"raw_latitude":117871144,"longitude_deg":75.5892928,"latitude_deg":11.7871144,"altitude":20,"angle":76,"satellites":26,"speed":7,"hex_longitude":"2d0e02c0","hex_latitude":"07069228","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548993792001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23296143131672576,"note":"Value kept but may cause issues"} 
[2026-07-07 08:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009439665403584512,"note":"Value kept but may cause issues"} 
[2026-07-07 08:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783394508000,"timestamp_ms":1783394508000,"timestamp_seconds":1783394508,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a989ce0"} 
[2026-07-07 08:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:52: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-07-07 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 08:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124281,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124281,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548993792001,"66":14439,"219":206,"94":10240,"24":7,"16":23296143131672576,"45":1009439665403584512},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 08:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548993792001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:52:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 08:52:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 08:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23296143131672576,"km_value":23296143131672.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009439665403584512,"description":"Unknown IO ID 45"} 
[2026-07-07 08:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548993792001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1009439665403584512}} 
[2026-07-07 08:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":124281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444470,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:52:21] local.INFO: GPS data processed {"connection_id":124281,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:52:21] local.INFO: Acknowledgment sent {"connection_id":124281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:52:52] local.INFO: TCP Data received {"connection_id":124281,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a98a0c8012d0e03c007069218001300621b..."} 
[2026-07-07 08:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a98a0c8012d0e03c007069218001300621b..."} 
[2026-07-07 08:52:52] local.INFO: Processing buffer {"connection_id":124281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a98a0c8012d0e03c007069218001300621b..."} 
[2026-07-07 08:52:52] local.INFO: Packet analysis {"connection_id":124281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a98"} 
[2026-07-07 08:52:52] local.INFO: Extracted packet for processing {"connection_id":124281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a98"} 
[2026-07-07 08:52:52] local.INFO: GPS Element Parsed {"raw_longitude":755893184,"raw_latitude":117871128,"longitude_deg":75.5893184,"latitude_deg":11.7871128,"altitude":19,"angle":98,"satellites":27,"speed":8,"hex_longitude":"2d0e03c0","hex_latitude":"07069218","is_valid_coordinates":true} 
[2026-07-07 08:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548994048001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23296151721607168,"note":"Value kept but may cause issues"} 
[2026-07-07 08:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009580402891958272,"note":"Value kept but may cause issues"} 
[2026-07-07 08:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783394509000,"timestamp_ms":1783394509000,"timestamp_seconds":1783394509,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a98a0c8"} 
[2026-07-07 08:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:52: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-07-07 08:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 08:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124281,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124281,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548994048001,"66":14428,"219":206,"94":10240,"24":8,"16":23296151721607168,"45":1009580402891958272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 08:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548994048001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:52:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 08:52:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 08:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23296151721607168,"km_value":23296151721607.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009580402891958272,"description":"Unknown IO ID 45"} 
[2026-07-07 08:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548994048001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1009580402891958272}} 
[2026-07-07 08:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":124281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444471,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:52:52] local.INFO: GPS data processed {"connection_id":124281,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:52:52] local.INFO: Acknowledgment sent {"connection_id":124281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:52:59] local.INFO: TCP Data received {"connection_id":124969,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:52:59] local.INFO: Processing buffer {"connection_id":124969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:52:59] local.INFO: IMEI packet received {"connection_id":124969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":124969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:53:04] local.INFO: TCP Data received {"connection_id":124969,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:53:04] local.INFO: Processing buffer {"connection_id":124969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:53:04] local.INFO: IMEI packet received {"connection_id":124969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":124969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:53:05] local.INFO: TCP Data received {"connection_id":124969,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:53:05] local.INFO: Processing buffer {"connection_id":124969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a94ef78012d81344006207fc0001400b12c..."} 
[2026-07-07 08:53:05] local.INFO: Packet analysis {"connection_id":124969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:53:05] local.INFO: Extracted packet for processing {"connection_id":124969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a94"} 
[2026-07-07 08:53:05] local.INFO: GPS Element Parsed {"raw_longitude":763442240,"raw_latitude":102793152,"longitude_deg":76.344224,"latitude_deg":10.2793152,"altitude":20,"angle":177,"satellites":44,"speed":0,"hex_longitude":"2d813440","hex_latitude":"06207fc0","is_valid_coordinates":true} 
[2026-07-07 08:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548854784001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9137381405151606784,"note":"Value kept but may cause issues"} 
[2026-07-07 08:53:05] 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-07-07 08:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783394267000,"timestamp_ms":1783394267000,"timestamp_seconds":1783394267,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a94ef78"} 
[2026-07-07 08:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 08:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 08:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548854784001,"66":26408,"49":206,"79":21504,"24":0,"16":340736415769821184,"45":-9137381405151606784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548854784001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:53:05] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:53:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9137381405151606784,"description":"Unknown IO ID 45"} 
[2026-07-07 08:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548854784001,"power":26408,"unknown_49":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-9137381405151606784}} 
[2026-07-07 08:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":124969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:53:05] local.INFO: GPS data processed {"connection_id":124969,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:53:05] local.INFO: Acknowledgment sent {"connection_id":124969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:53:20] local.INFO: TCP Data received {"connection_id":124188,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:53:20] local.INFO: Processing buffer {"connection_id":124188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:53:20] local.INFO: IMEI packet received {"connection_id":124188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":124188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:53:24] local.INFO: TCP Data received {"connection_id":124188,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:53:24] local.INFO: Processing buffer {"connection_id":124188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:53:24] local.INFO: IMEI packet received {"connection_id":124188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":124188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:53:25] local.INFO: TCP Data received {"connection_id":124188,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a996800012d0e0f4007068800001200531e..."} 
[2026-07-07 08:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a996800012d0e0f4007068800001200531e..."} 
[2026-07-07 08:53:25] local.INFO: Processing buffer {"connection_id":124188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a996800012d0e0f4007068800001200531e..."} 
[2026-07-07 08:53:25] local.INFO: Packet analysis {"connection_id":124188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a99"} 
[2026-07-07 08:53:25] local.INFO: Extracted packet for processing {"connection_id":124188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a99"} 
[2026-07-07 08:53:25] local.INFO: GPS Element Parsed {"raw_longitude":755896128,"raw_latitude":117868544,"longitude_deg":75.5896128,"latitude_deg":11.7868544,"altitude":18,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d0e0f40","hex_latitude":"07068800","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549002240001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23296379354873856,"note":"Value kept but may cause issues"} 
[2026-07-07 08:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1013098840100171776,"note":"Value kept but may cause issues"} 
[2026-07-07 08:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783394560000,"timestamp_ms":1783394560000,"timestamp_seconds":1783394560,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a996800"} 
[2026-07-07 08:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:53: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-07-07 08:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 08:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":124188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":124188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":124188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549002240001,"66":14559,"219":206,"94":10240,"24":0,"16":23296379354873856,"45":1013098840100171776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 08:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549002240001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:53:25] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 08:53:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 08:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23296379354873856,"km_value":23296379354873.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1013098840100171776,"description":"Unknown IO ID 45"} 
[2026-07-07 08:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549002240001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":1013098840100171776}} 
[2026-07-07 08:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":124188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444473,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:53:25] local.INFO: GPS data processed {"connection_id":124188,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:53:25] local.INFO: Acknowledgment sent {"connection_id":124188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:53:26] local.INFO: TCP Data received {"connection_id":124188,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a99ba08012d0e0f40070688000012005320..."} 
[2026-07-07 08:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a99ba08012d0e0f40070688000012005320..."} 
[2026-07-07 08:53:26] local.INFO: Processing buffer {"connection_id":124188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a99ba08012d0e0f40070688000012005320..."} 
[2026-07-07 08:53:26] local.INFO: Packet analysis {"connection_id":124188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a99"} 
[2026-07-07 08:53:26] local.INFO: Extracted packet for processing {"connection_id":124188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a99"} 
[2026-07-07 08:53:26] local.INFO: GPS Element Parsed {"raw_longitude":755896128,"raw_latitude":117868544,"longitude_deg":75.5896128,"latitude_deg":11.7868544,"altitude":18,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d0e0f40","hex_latitude":"07068800","is_valid_coordinates":true} 
[2026-07-07 08:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549007360001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23296379354873856,"note":"Value kept but may cause issues"} 
[2026-07-07 08:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1013098840100175872,"note":"Value kept but may cause issues"} 
[2026-07-07 08:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783394581000,"timestamp_ms":1783394581000,"timestamp_seconds":1783394581,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a99ba08"} 
[2026-07-07 08:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:53: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-07-07 08:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 08:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":124188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":124188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":124188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549007360001,"66":14537,"219":206,"94":10240,"24":0,"16":23296379354873856,"45":1013098840100175872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 08:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549007360001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:53:26] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 08:53:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 08:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23296379354873856,"km_value":23296379354873.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1013098840100175872,"description":"Unknown IO ID 45"} 
[2026-07-07 08:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549007360001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":1013098840100175872}} 
[2026-07-07 08:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":124188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444474,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:53:26] local.INFO: GPS data processed {"connection_id":124188,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:53:26] local.INFO: Acknowledgment sent {"connection_id":124188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:53:37] local.INFO: TCP Data received {"connection_id":124969,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a998740012d81344006207fc0001400b12e..."} 
[2026-07-07 08:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a998740012d81344006207fc0001400b12e..."} 
[2026-07-07 08:53:37] local.INFO: Processing buffer {"connection_id":124969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a998740012d81344006207fc0001400b12e..."} 
[2026-07-07 08:53:37] local.INFO: Packet analysis {"connection_id":124969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a99"} 
[2026-07-07 08:53:37] local.INFO: Extracted packet for processing {"connection_id":124969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a99"} 
[2026-07-07 08:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763442240,"raw_latitude":102793152,"longitude_deg":76.344224,"latitude_deg":10.2793152,"altitude":20,"angle":177,"satellites":46,"speed":0,"hex_longitude":"2d813440","hex_latitude":"06207fc0","is_valid_coordinates":true} 
[2026-07-07 08:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548932352001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9136607348968669184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:53:37] 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-07-07 08:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783394568000,"timestamp_ms":1783394568000,"timestamp_seconds":1783394568,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a998740"} 
[2026-07-07 08:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 08: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-07 08:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548932352001,"66":26115,"49":206,"79":21504,"24":0,"16":340736415769821184,"45":-9136607348968669184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548932352001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:53:37] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:53:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9136607348968669184,"description":"Unknown IO ID 45"} 
[2026-07-07 08:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548932352001,"power":26115,"unknown_49":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-9136607348968669184}} 
[2026-07-07 08:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":124969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:53:37] local.INFO: GPS data processed {"connection_id":124969,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:53:37] local.INFO: Acknowledgment sent {"connection_id":124969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:53:57] local.INFO: TCP Data received {"connection_id":124188,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9a0c10012d0e0f4007068800001200531f..."} 
[2026-07-07 08:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9a0c10012d0e0f4007068800001200531f..."} 
[2026-07-07 08:53:57] local.INFO: Processing buffer {"connection_id":124188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9a0c10012d0e0f4007068800001200531f..."} 
[2026-07-07 08:53:57] local.INFO: Packet analysis {"connection_id":124188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9a"} 
[2026-07-07 08:53:57] local.INFO: Extracted packet for processing {"connection_id":124188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9a"} 
[2026-07-07 08:53:57] local.INFO: GPS Element Parsed {"raw_longitude":755896128,"raw_latitude":117868544,"longitude_deg":75.5896128,"latitude_deg":11.7868544,"altitude":18,"angle":83,"satellites":31,"speed":0,"hex_longitude":"2d0e0f40","hex_latitude":"07068800","is_valid_coordinates":true} 
[2026-07-07 08:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549012736001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23296379354873856,"note":"Value kept but may cause issues"} 
[2026-07-07 08:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1013098840100175872,"note":"Value kept but may cause issues"} 
[2026-07-07 08:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783394602000,"timestamp_ms":1783394602000,"timestamp_seconds":1783394602,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9a0c10"} 
[2026-07-07 08:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:53: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-07-07 08:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 08:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":124188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":124188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":124188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549012736001,"66":14559,"219":206,"94":10240,"24":0,"16":23296379354873856,"45":1013098840100175872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 08:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549012736001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:53:57] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 08:53:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 08:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23296379354873856,"km_value":23296379354873.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1013098840100175872,"description":"Unknown IO ID 45"} 
[2026-07-07 08:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549012736001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":1013098840100175872}} 
[2026-07-07 08:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":124188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444476,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:53:57] local.INFO: GPS data processed {"connection_id":124188,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:53:57] local.INFO: Acknowledgment sent {"connection_id":124188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:53:59] local.INFO: TCP Data received {"connection_id":124971,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:53:59] local.INFO: Processing buffer {"connection_id":124971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:53:59] local.INFO: IMEI packet received {"connection_id":124971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":124971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:54:05] local.INFO: TCP Data received {"connection_id":124971,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:54:05] local.INFO: Processing buffer {"connection_id":124971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:54:05] local.INFO: IMEI packet received {"connection_id":124971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":124971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:54:05] local.INFO: TCP Data received {"connection_id":124971,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a998740012d81344006207fc0001400b12e..."} 
[2026-07-07 08:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a998740012d81344006207fc0001400b12e..."} 
[2026-07-07 08:54:05] local.INFO: Processing buffer {"connection_id":124971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a998740012d81344006207fc0001400b12e..."} 
[2026-07-07 08:54:05] local.INFO: Packet analysis {"connection_id":124971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a99"} 
[2026-07-07 08:54:05] local.INFO: Extracted packet for processing {"connection_id":124971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a99"} 
[2026-07-07 08:54:05] local.INFO: GPS Element Parsed {"raw_longitude":763442240,"raw_latitude":102793152,"longitude_deg":76.344224,"latitude_deg":10.2793152,"altitude":20,"angle":177,"satellites":46,"speed":0,"hex_longitude":"2d813440","hex_latitude":"06207fc0","is_valid_coordinates":true} 
[2026-07-07 08:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548932352001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9136607348968669184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:54:05] 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-07-07 08:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783394568000,"timestamp_ms":1783394568000,"timestamp_seconds":1783394568,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a998740"} 
[2026-07-07 08:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 08:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-07 08:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548932352001,"66":26115,"49":206,"79":21504,"24":0,"16":340736415769821184,"45":-9136607348968669184},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548932352001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:54:05] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:54:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9136607348968669184,"description":"Unknown IO ID 45"} 
[2026-07-07 08:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548932352001,"power":26115,"unknown_49":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-9136607348968669184}} 
[2026-07-07 08:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":124971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:54:05] local.INFO: GPS data processed {"connection_id":124971,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:54:05] local.INFO: Acknowledgment sent {"connection_id":124971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:54:11] local.INFO: TCP Data received {"connection_id":124190,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124190,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:54:11] local.INFO: Processing buffer {"connection_id":124190,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:54:11] local.INFO: IMEI packet received {"connection_id":124190,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":124190,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:54:15] local.INFO: TCP Data received {"connection_id":124190,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124190,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:54:15] local.INFO: Processing buffer {"connection_id":124190,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:54:15] local.INFO: IMEI packet received {"connection_id":124190,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":124190,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:54:20] local.INFO: TCP Data received {"connection_id":124190,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124190,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:54:20] local.INFO: Processing buffer {"connection_id":124190,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:54:20] local.INFO: IMEI packet received {"connection_id":124190,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":124190,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:54:21] local.INFO: TCP Data received {"connection_id":124190,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9abbd8012d0e33c00706a4a0001b000820..."} 
[2026-07-07 08:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9abbd8012d0e33c00706a4a0001b000820..."} 
[2026-07-07 08:54:21] local.INFO: Processing buffer {"connection_id":124190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9abbd8012d0e33c00706a4a0001b000820..."} 
[2026-07-07 08:54:21] local.INFO: Packet analysis {"connection_id":124190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9a"} 
[2026-07-07 08:54:21] local.INFO: Extracted packet for processing {"connection_id":124190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9a"} 
[2026-07-07 08:54:21] local.INFO: GPS Element Parsed {"raw_longitude":755905472,"raw_latitude":117875872,"longitude_deg":75.5905472,"latitude_deg":11.7875872,"altitude":27,"angle":8,"satellites":32,"speed":17,"hex_longitude":"2d0e33c0","hex_latitude":"0706a4a0","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549028864001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23297199693627392,"note":"Value kept but may cause issues"} 
[2026-07-07 08:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023443045495871488,"note":"Value kept but may cause issues"} 
[2026-07-07 08:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783394647000,"timestamp_ms":1783394647000,"timestamp_seconds":1783394647,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9abbd8"} 
[2026-07-07 08:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-07-07 08:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549028864001,"66":14450,"219":206,"94":10240,"24":17,"16":23297199693627392,"45":1023443045495871488},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 08:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549028864001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:54:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 08:54:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 08:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23297199693627392,"km_value":23297199693627.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023443045495871488,"description":"Unknown IO ID 45"} 
[2026-07-07 08:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549028864001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":1023443045495871488}} 
[2026-07-07 08:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":124190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444478,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:54:21] local.INFO: GPS data processed {"connection_id":124190,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:54:21] local.INFO: Acknowledgment sent {"connection_id":124190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:54:37] local.INFO: TCP Data received {"connection_id":124971,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a998740012d81344006207fc0001400b12e..."} 
[2026-07-07 08:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a998740012d81344006207fc0001400b12e..."} 
[2026-07-07 08:54:37] local.INFO: Processing buffer {"connection_id":124971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a998740012d81344006207fc0001400b12e..."} 
[2026-07-07 08:54:37] local.INFO: Packet analysis {"connection_id":124971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a99"} 
[2026-07-07 08:54:37] local.INFO: Extracted packet for processing {"connection_id":124971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a99"} 
[2026-07-07 08:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763442240,"raw_latitude":102793152,"longitude_deg":76.344224,"latitude_deg":10.2793152,"altitude":20,"angle":177,"satellites":46,"speed":0,"hex_longitude":"2d813440","hex_latitude":"06207fc0","is_valid_coordinates":true} 
[2026-07-07 08:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548932352001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9136607348968669184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:54:37] 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-07-07 08:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783394568000,"timestamp_ms":1783394568000,"timestamp_seconds":1783394568,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a998740"} 
[2026-07-07 08:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 08:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-07 08:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548932352001,"66":26115,"49":206,"79":21504,"24":0,"16":340736415769821184,"45":-9136607348968669184},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548932352001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:54:37] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:54:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9136607348968669184,"description":"Unknown IO ID 45"} 
[2026-07-07 08:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548932352001,"power":26115,"unknown_49":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-9136607348968669184}} 
[2026-07-07 08:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":124971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:54:37] local.INFO: GPS data processed {"connection_id":124971,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:54:37] local.INFO: Acknowledgment sent {"connection_id":124971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:54:52] local.INFO: TCP Data received {"connection_id":124190,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9ac3a8012d0e35000706a878001b001520..."} 
[2026-07-07 08:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9ac3a8012d0e35000706a878001b001520..."} 
[2026-07-07 08:54:52] local.INFO: Processing buffer {"connection_id":124190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9ac3a8012d0e35000706a878001b001520..."} 
[2026-07-07 08:54:52] local.INFO: Packet analysis {"connection_id":124190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9a"} 
[2026-07-07 08:54:52] local.INFO: Extracted packet for processing {"connection_id":124190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9a"} 
[2026-07-07 08:54:52] local.INFO: GPS Element Parsed {"raw_longitude":755905792,"raw_latitude":117876856,"longitude_deg":75.5905792,"latitude_deg":11.7876856,"altitude":27,"angle":21,"satellites":32,"speed":23,"hex_longitude":"2d0e3500","hex_latitude":"0706a878","is_valid_coordinates":true} 
[2026-07-07 08:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549029632001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23297251233234944,"note":"Value kept but may cause issues"} 
[2026-07-07 08:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023372676751990784,"note":"Value kept but may cause issues"} 
[2026-07-07 08:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783394649000,"timestamp_ms":1783394649000,"timestamp_seconds":1783394649,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9ac3a8"} 
[2026-07-07 08:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 08:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549029632001,"66":14537,"219":206,"94":10240,"24":23,"16":23297251233234944,"45":1023372676751990784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 08:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549029632001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:54:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 08:54:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 08:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23297251233234944,"km_value":23297251233234.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023372676751990784,"description":"Unknown IO ID 45"} 
[2026-07-07 08:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549029632001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":1023372676751990784}} 
[2026-07-07 08:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":124190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444480,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:54:52] local.INFO: GPS data processed {"connection_id":124190,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:54:52] local.INFO: Acknowledgment sent {"connection_id":124190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:54:59] local.INFO: TCP Data received {"connection_id":126199,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:54:59] local.INFO: Processing buffer {"connection_id":126199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:54:59] local.INFO: IMEI packet received {"connection_id":126199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":126199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:55:04] local.INFO: TCP Data received {"connection_id":126199,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:55:04] local.INFO: Processing buffer {"connection_id":126199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:55:04] local.INFO: IMEI packet received {"connection_id":126199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":126199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:55:05] local.INFO: TCP Data received {"connection_id":126199,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a998740012d81344006207fc0001400b12e..."} 
[2026-07-07 08:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a998740012d81344006207fc0001400b12e..."} 
[2026-07-07 08:55:05] local.INFO: Processing buffer {"connection_id":126199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a998740012d81344006207fc0001400b12e..."} 
[2026-07-07 08:55:05] local.INFO: Packet analysis {"connection_id":126199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a99"} 
[2026-07-07 08:55:05] local.INFO: Extracted packet for processing {"connection_id":126199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a99"} 
[2026-07-07 08:55:05] local.INFO: GPS Element Parsed {"raw_longitude":763442240,"raw_latitude":102793152,"longitude_deg":76.344224,"latitude_deg":10.2793152,"altitude":20,"angle":177,"satellites":46,"speed":0,"hex_longitude":"2d813440","hex_latitude":"06207fc0","is_valid_coordinates":true} 
[2026-07-07 08:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548932352001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9136607348968669184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:55:05] 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-07-07 08:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783394568000,"timestamp_ms":1783394568000,"timestamp_seconds":1783394568,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a998740"} 
[2026-07-07 08:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 08:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-07 08:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548932352001,"66":26115,"49":206,"79":21504,"24":0,"16":340736415769821184,"45":-9136607348968669184},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548932352001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:55:05] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:55:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9136607348968669184,"description":"Unknown IO ID 45"} 
[2026-07-07 08:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548932352001,"power":26115,"unknown_49":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-9136607348968669184}} 
[2026-07-07 08:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":126199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:55:05] local.INFO: GPS data processed {"connection_id":126199,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:55:05] local.INFO: Acknowledgment sent {"connection_id":126199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:55:15] local.INFO: TCP Data received {"connection_id":124973,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124973,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:55:15] local.INFO: Processing buffer {"connection_id":124973,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:55:15] local.INFO: IMEI packet received {"connection_id":124973,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":124973,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:55:16] local.INFO: TCP Data received {"connection_id":124973,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124973,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:55:16] local.INFO: Processing buffer {"connection_id":124973,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:55:16] local.INFO: IMEI packet received {"connection_id":124973,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":124973,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:55:19] local.INFO: TCP Data received {"connection_id":124973,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124973,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:55:19] local.INFO: Processing buffer {"connection_id":124973,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:55:19] local.INFO: IMEI packet received {"connection_id":124973,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":124973,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:55:20] local.INFO: TCP Data received {"connection_id":124973,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9ae6d0012d0e3a800706be70001d00091f..."} 
[2026-07-07 08:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9ae6d0012d0e3a800706be70001d00091f..."} 
[2026-07-07 08:55:20] local.INFO: Processing buffer {"connection_id":124973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9ae6d0012d0e3a800706be70001d00091f..."} 
[2026-07-07 08:55:20] local.INFO: Packet analysis {"connection_id":124973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9a"} 
[2026-07-07 08:55:20] local.INFO: Extracted packet for processing {"connection_id":124973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9a"} 
[2026-07-07 08:55:20] local.INFO: GPS Element Parsed {"raw_longitude":755907200,"raw_latitude":117882480,"longitude_deg":75.59072,"latitude_deg":11.788248,"altitude":29,"angle":9,"satellites":31,"speed":20,"hex_longitude":"2d0e3a80","hex_latitude":"0706be70","is_valid_coordinates":true} 
[2026-07-07 08:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549030144001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23297534701076480,"note":"Value kept but may cause issues"} 
[2026-07-07 08:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023724520473131008,"note":"Value kept but may cause issues"} 
[2026-07-07 08:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783394658000,"timestamp_ms":1783394658000,"timestamp_seconds":1783394658,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9ae6d0"} 
[2026-07-07 08:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 08:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124973,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124973,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549030144001,"66":14450,"219":206,"94":10240,"24":20,"16":23297534701076480,"45":1023724520473131008},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 08:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549030144001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:55:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 08:55:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 08:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23297534701076480,"km_value":23297534701076.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023724520473131008,"description":"Unknown IO ID 45"} 
[2026-07-07 08:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549030144001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":1023724520473131008}} 
[2026-07-07 08:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":124973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444482,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:55:20] local.INFO: GPS data processed {"connection_id":124973,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:55:20] local.INFO: Acknowledgment sent {"connection_id":124973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:55:36] local.INFO: TCP Data received {"connection_id":126199,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9b0de0012d81344006207fc0001400b12e..."} 
[2026-07-07 08:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9b0de0012d81344006207fc0001400b12e..."} 
[2026-07-07 08:55:36] local.INFO: Processing buffer {"connection_id":126199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9b0de0012d81344006207fc0001400b12e..."} 
[2026-07-07 08:55:36] local.INFO: Packet analysis {"connection_id":126199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9b"} 
[2026-07-07 08:55:36] local.INFO: Extracted packet for processing {"connection_id":126199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9b"} 
[2026-07-07 08:55:36] local.INFO: GPS Element Parsed {"raw_longitude":763442240,"raw_latitude":102793152,"longitude_deg":76.344224,"latitude_deg":10.2793152,"altitude":20,"angle":177,"satellites":46,"speed":0,"hex_longitude":"2d813440","hex_latitude":"06207fc0","is_valid_coordinates":true} 
[2026-07-07 08:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549009408001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9136607348968669184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:55:36] 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-07-07 08:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783394668000,"timestamp_ms":1783394668000,"timestamp_seconds":1783394668,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9b0de0"} 
[2026-07-07 08:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 08:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549009408001,"66":25908,"49":206,"79":21504,"24":0,"16":340736415769821184,"45":-9136607348968669184},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549009408001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:55:36] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:55:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9136607348968669184,"description":"Unknown IO ID 45"} 
[2026-07-07 08:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549009408001,"power":25908,"unknown_49":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-9136607348968669184}} 
[2026-07-07 08:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":126199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:55:36] local.INFO: GPS data processed {"connection_id":126199,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:55:36] local.INFO: Acknowledgment sent {"connection_id":126199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:55:59] local.INFO: TCP Data received {"connection_id":124975,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:55:59] local.INFO: Processing buffer {"connection_id":124975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:55:59] local.INFO: IMEI packet received {"connection_id":124975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":124975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:56:01] local.INFO: TCP Data received {"connection_id":124974,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:56:01] local.INFO: Processing buffer {"connection_id":124974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:56:01] local.INFO: IMEI packet received {"connection_id":124974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":124974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:56:04] local.INFO: TCP Data received {"connection_id":124975,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:56:04] local.INFO: Processing buffer {"connection_id":124975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:56:04] local.INFO: IMEI packet received {"connection_id":124975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":124975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:56:06] local.INFO: TCP Data received {"connection_id":124974,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:56:06] local.INFO: Processing buffer {"connection_id":124974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:56:06] local.INFO: IMEI packet received {"connection_id":124974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":124974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:56:08] local.INFO: TCP Data received {"connection_id":124974,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9b86f8012d7caa0005ec3dd00008005627..."} 
[2026-07-07 08:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9b86f8012d7caa0005ec3dd00008005627..."} 
[2026-07-07 08:56:08] local.INFO: Processing buffer {"connection_id":124974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9b86f8012d7caa0005ec3dd00008005627..."} 
[2026-07-07 08:56:08] local.INFO: Packet analysis {"connection_id":124974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9b"} 
[2026-07-07 08:56:08] local.INFO: Extracted packet for processing {"connection_id":124974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9b"} 
[2026-07-07 08:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":99368400,"longitude_deg":76.3144704,"latitude_deg":9.93684,"altitude":8,"angle":86,"satellites":39,"speed":41,"hex_longitude":"2d7caa00","hex_latitude":"05ec3dd0","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549040384001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103264886540206080,"note":"Value kept but may cause issues"} 
[2026-07-07 08:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972648226787987456,"note":"Value kept but may cause issues"} 
[2026-07-07 08:56:08] 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-07-07 08:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783394699000,"timestamp_ms":1783394699000,"timestamp_seconds":1783394699,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9b86f8"} 
[2026-07-07 08:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:56: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-07-07 08: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":248,"data_length":795,"current_offset":136} 
[2026-07-07 08:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08: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-07-07 08:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:56: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-07-07 08:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549040384001,"66":13243,"198":206,"87":13824,"24":41,"16":103264886540206080,"45":8972648226787987456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-07 08:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549040384001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:56:08] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 08:56:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103264886540206080,"km_value":103264886540206.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972648226787987456,"description":"Unknown IO ID 45"} 
[2026-07-07 08:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549040384001,"power":13243,"unknown_198":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8972648226787987456}} 
[2026-07-07 08:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":124974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:56:08] local.INFO: GPS data processed {"connection_id":124974,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:56:08] local.INFO: Acknowledgment sent {"connection_id":124974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:56:13] local.INFO: TCP Data received {"connection_id":124976,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124976,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:56:13] local.INFO: Processing buffer {"connection_id":124976,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:56:13] local.INFO: IMEI packet received {"connection_id":124976,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":124976,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:56:14] local.INFO: TCP Data received {"connection_id":124975,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9b6ba0012d81330006207af8001400af2e..."} 
[2026-07-07 08:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9b6ba0012d81330006207af8001400af2e..."} 
[2026-07-07 08:56:14] local.INFO: Processing buffer {"connection_id":124975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9b6ba0012d81330006207af8001400af2e..."} 
[2026-07-07 08:56:14] local.INFO: Packet analysis {"connection_id":124975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9b"} 
[2026-07-07 08:56:14] local.INFO: Extracted packet for processing {"connection_id":124975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9b"} 
[2026-07-07 08:56:14] local.INFO: GPS Element Parsed {"raw_longitude":763441920,"raw_latitude":102791928,"longitude_deg":76.344192,"latitude_deg":10.2791928,"altitude":20,"angle":175,"satellites":46,"speed":0,"hex_longitude":"2d813300","hex_latitude":"06207af8","is_valid_coordinates":true} 
[2026-07-07 08:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549035008001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9136607348968669184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:56:14] 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-07-07 08:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783394692000,"timestamp_ms":1783394692000,"timestamp_seconds":1783394692,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9b6ba0"} 
[2026-07-07 08:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08: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":52,"data_length":795,"current_offset":136} 
[2026-07-07 08:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549035008001,"66":27832,"49":206,"79":21504,"24":0,"16":340736415769821184,"45":-9136607348968669184},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549035008001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:56:14] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:56:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9136607348968669184,"description":"Unknown IO ID 45"} 
[2026-07-07 08:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549035008001,"power":27832,"unknown_49":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-9136607348968669184}} 
[2026-07-07 08:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":124975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:56:14] local.INFO: GPS data processed {"connection_id":124975,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:56:14] local.INFO: Acknowledgment sent {"connection_id":124975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:56:15] local.INFO: TCP Data received {"connection_id":124976,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124976,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:56:15] local.INFO: Processing buffer {"connection_id":124976,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:56:15] local.INFO: IMEI packet received {"connection_id":124976,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":124976,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:56:16] local.INFO: TCP Data received {"connection_id":124976,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124976,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:56:16] local.INFO: Processing buffer {"connection_id":124976,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:56:16] local.INFO: IMEI packet received {"connection_id":124976,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":124976,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:56:20] local.INFO: TCP Data received {"connection_id":124976,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124976,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:56:20] local.INFO: Processing buffer {"connection_id":124976,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:56:20] local.INFO: IMEI packet received {"connection_id":124976,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":124976,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:56:21] local.INFO: TCP Data received {"connection_id":124976,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9c2720012d0e3700070703b00022011520..."} 
[2026-07-07 08:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9c2720012d0e3700070703b00022011520..."} 
[2026-07-07 08:56:21] local.INFO: Processing buffer {"connection_id":124976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9c2720012d0e3700070703b00022011520..."} 
[2026-07-07 08:56:21] local.INFO: Packet analysis {"connection_id":124976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9c"} 
[2026-07-07 08:56:21] local.INFO: Extracted packet for processing {"connection_id":124976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9c"} 
[2026-07-07 08:56:21] local.INFO: GPS Element Parsed {"raw_longitude":755906304,"raw_latitude":117900208,"longitude_deg":75.5906304,"latitude_deg":11.7900208,"altitude":34,"angle":277,"satellites":32,"speed":15,"hex_longitude":"2d0e3700","hex_latitude":"070703b0","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549052928001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23298462414012416,"note":"Value kept but may cause issues"} 
[2026-07-07 08:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025061526618441728,"note":"Value kept but may cause issues"} 
[2026-07-07 08:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783394740000,"timestamp_ms":1783394740000,"timestamp_seconds":1783394740,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9c2720"} 
[2026-07-07 08:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-07 08:56:21] 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-07-07 08: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-07-07 08:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124976,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124976,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549052928001,"66":14439,"219":206,"94":10240,"24":15,"16":23298462414012416,"45":1025061526618441728},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 08:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549052928001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:56:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 08:56:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 08:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23298462414012416,"km_value":23298462414012.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025061526618441728,"description":"Unknown IO ID 45"} 
[2026-07-07 08:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549052928001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":1025061526618441728}} 
[2026-07-07 08:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":124976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444486,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:56:21] local.INFO: GPS data processed {"connection_id":124976,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:56:21] local.INFO: Acknowledgment sent {"connection_id":124976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:56:29] local.INFO: TCP Data received {"connection_id":124973,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9c1f50012d0e39c007070308002301221f..."} 
[2026-07-07 08:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9c1f50012d0e39c007070308002301221f..."} 
[2026-07-07 08:56:29] local.INFO: Processing buffer {"connection_id":124973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9c1f50012d0e39c007070308002301221f..."} 
[2026-07-07 08:56:29] local.INFO: Packet analysis {"connection_id":124973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9c"} 
[2026-07-07 08:56:29] local.INFO: Extracted packet for processing {"connection_id":124973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9c"} 
[2026-07-07 08:56:29] local.INFO: GPS Element Parsed {"raw_longitude":755907008,"raw_latitude":117900040,"longitude_deg":75.5907008,"latitude_deg":11.790004,"altitude":35,"angle":290,"satellites":31,"speed":11,"hex_longitude":"2d0e39c0","hex_latitude":"07070308","is_valid_coordinates":true} 
[2026-07-07 08:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549052672001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23298428054274048,"note":"Value kept but may cause issues"} 
[2026-07-07 08:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025343001595117568,"note":"Value kept but may cause issues"} 
[2026-07-07 08:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783394738000,"timestamp_ms":1783394738000,"timestamp_seconds":1783394738,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9c1f50"} 
[2026-07-07 08:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:56: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-07-07 08:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-07 08:56:29] 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-07-07 08:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":124973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":124973,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":124973,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549052672001,"66":13820,"219":206,"94":10240,"24":11,"16":23298428054274048,"45":1025343001595117568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 08:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549052672001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:56:29] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 08:56:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 08:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23298428054274048,"km_value":23298428054274.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025343001595117568,"description":"Unknown IO ID 45"} 
[2026-07-07 08:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549052672001,"power":13820,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1025343001595117568}} 
[2026-07-07 08:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":124973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444487,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:56:29] local.INFO: GPS data processed {"connection_id":124973,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:56:29] local.INFO: Acknowledgment sent {"connection_id":124973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:56:39] local.INFO: TCP Data received {"connection_id":124974,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9bae08012d7ccfc005ec41480007005827..."} 
[2026-07-07 08:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9bae08012d7ccfc005ec41480007005827..."} 
[2026-07-07 08:56:39] local.INFO: Processing buffer {"connection_id":124974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9bae08012d7ccfc005ec41480007005827..."} 
[2026-07-07 08:56:39] local.INFO: Packet analysis {"connection_id":124974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9b"} 
[2026-07-07 08:56:39] local.INFO: Extracted packet for processing {"connection_id":124974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9b"} 
[2026-07-07 08:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763154368,"raw_latitude":99369288,"longitude_deg":76.3154368,"latitude_deg":9.9369288,"altitude":7,"angle":88,"satellites":39,"speed":36,"hex_longitude":"2d7ccfc0","hex_latitude":"05ec4148","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549042944001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103265350396674048,"note":"Value kept but may cause issues"} 
[2026-07-07 08:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982992432182185984,"note":"Value kept but may cause issues"} 
[2026-07-07 08:56: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-07-07 08:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783394709000,"timestamp_ms":1783394709000,"timestamp_seconds":1783394709,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9bae08"} 
[2026-07-07 08:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 08:56: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-07-07 08: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-07-07 08:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:56: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-07-07 08:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549042944001,"66":13406,"198":206,"87":13824,"24":36,"16":103265350396674048,"45":8982992432182185984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-07 08:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549042944001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:56:39] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 08:56:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103265350396674048,"km_value":103265350396674.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982992432182185984,"description":"Unknown IO ID 45"} 
[2026-07-07 08:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549042944001,"power":13406,"unknown_198":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8982992432182185984}} 
[2026-07-07 08:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":124974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:56:39] local.INFO: GPS data processed {"connection_id":124974,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:56:39] local.INFO: Acknowledgment sent {"connection_id":124974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:56:52] local.INFO: TCP Data received {"connection_id":124976,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9c3e90012d0e2cc0070703f80023010920..."} 
[2026-07-07 08:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9c3e90012d0e2cc0070703f80023010920..."} 
[2026-07-07 08:56:52] local.INFO: Processing buffer {"connection_id":124976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9c3e90012d0e2cc0070703f80023010920..."} 
[2026-07-07 08:56:52] local.INFO: Packet analysis {"connection_id":124976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9c"} 
[2026-07-07 08:56:52] local.INFO: Extracted packet for processing {"connection_id":124976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9c"} 
[2026-07-07 08:56:52] local.INFO: GPS Element Parsed {"raw_longitude":755903680,"raw_latitude":117900280,"longitude_deg":75.590368,"latitude_deg":11.790028,"altitude":35,"angle":265,"satellites":32,"speed":12,"hex_longitude":"2d0e2cc0","hex_latitude":"070703f8","is_valid_coordinates":true} 
[2026-07-07 08:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549053440001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23298586968064000,"note":"Value kept but may cause issues"} 
[2026-07-07 08:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1024287470432530432,"note":"Value kept but may cause issues"} 
[2026-07-07 08:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783394746000,"timestamp_ms":1783394746000,"timestamp_seconds":1783394746,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9c3e90"} 
[2026-07-07 08:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 08:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124976,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124976,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549053440001,"66":14439,"219":206,"94":10240,"24":12,"16":23298586968064000,"45":1024287470432530432},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 08:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549053440001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:56:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 08:56:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 08:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23298586968064000,"km_value":23298586968064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1024287470432530432,"description":"Unknown IO ID 45"} 
[2026-07-07 08:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549053440001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1024287470432530432}} 
[2026-07-07 08:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":124976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444489,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:56:52] local.INFO: GPS data processed {"connection_id":124976,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:56:52] local.INFO: Acknowledgment sent {"connection_id":124976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:56:57] local.INFO: TCP Data received {"connection_id":124192,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:56:57] local.INFO: Processing buffer {"connection_id":124192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:56:57] local.INFO: IMEI packet received {"connection_id":124192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":124192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:56:59] local.INFO: TCP Data received {"connection_id":124977,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:56:59] local.INFO: Processing buffer {"connection_id":124977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:56:59] local.INFO: IMEI packet received {"connection_id":124977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":124977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:57:00] local.INFO: TCP Data received {"connection_id":124192,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:57:00] local.INFO: Processing buffer {"connection_id":124192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:57:00] local.INFO: IMEI packet received {"connection_id":124192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":124192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:57:03] local.INFO: TCP Data received {"connection_id":124977,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:57:03] local.INFO: Processing buffer {"connection_id":124977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:57:03] local.INFO: IMEI packet received {"connection_id":124977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":124977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:57:05] local.INFO: TCP Data received {"connection_id":124977,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:57:05] local.INFO: Processing buffer {"connection_id":124977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:57:05] local.INFO: IMEI packet received {"connection_id":124977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":124977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:57:06] local.INFO: TCP Data received {"connection_id":124192,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9bd900012d7cf58005ec41f00006005424..."} 
[2026-07-07 08:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9bd900012d7cf58005ec41f00006005424..."} 
[2026-07-07 08:57:06] local.INFO: Processing buffer {"connection_id":124192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9bd900012d7cf58005ec41f00006005424..."} 
[2026-07-07 08:57:06] local.INFO: Packet analysis {"connection_id":124192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9b"} 
[2026-07-07 08:57:06] local.INFO: Extracted packet for processing {"connection_id":124192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9b"} 
[2026-07-07 08:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763164032,"raw_latitude":99369456,"longitude_deg":76.3164032,"latitude_deg":9.9369456,"altitude":6,"angle":84,"satellites":36,"speed":37,"hex_longitude":"2d7cf580","hex_latitude":"05ec41f0","is_valid_coordinates":true} 
[2026-07-07 08:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549045504001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103265814253142016,"note":"Value kept but may cause issues"} 
[2026-07-07 08:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993618112553240576,"note":"Value kept but may cause issues"} 
[2026-07-07 08:57:06] 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-07-07 08:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783394720000,"timestamp_ms":1783394720000,"timestamp_seconds":1783394720,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9bd900"} 
[2026-07-07 08:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-07 08:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:57: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-07-07 08:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549045504001,"66":13341,"198":206,"87":13824,"24":37,"16":103265814253142016,"45":8993618112553240576},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-07 08:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549045504001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:57:06] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 08:57:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103265814253142016,"km_value":103265814253142.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993618112553240576,"description":"Unknown IO ID 45"} 
[2026-07-07 08:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549045504001,"power":13341,"unknown_198":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8993618112553240576}} 
[2026-07-07 08:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":124192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:57:06] local.INFO: GPS data processed {"connection_id":124192,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:57:06] local.INFO: Acknowledgment sent {"connection_id":124192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:57:11] local.INFO: TCP Data received {"connection_id":124192,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9c07e0012d7d1a0005ec43780004006323..."} 
[2026-07-07 08:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9c07e0012d7d1a0005ec43780004006323..."} 
[2026-07-07 08:57:11] local.INFO: Processing buffer {"connection_id":124192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9c07e0012d7d1a0005ec43780004006323..."} 
[2026-07-07 08:57:11] local.INFO: Packet analysis {"connection_id":124192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9c"} 
[2026-07-07 08:57:11] local.INFO: Extracted packet for processing {"connection_id":124192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9c"} 
[2026-07-07 08:57:11] local.INFO: GPS Element Parsed {"raw_longitude":763173376,"raw_latitude":99369848,"longitude_deg":76.3173376,"latitude_deg":9.9369848,"altitude":4,"angle":99,"satellites":35,"speed":12,"hex_longitude":"2d7d1a00","hex_latitude":"05ec4378","is_valid_coordinates":true} 
[2026-07-07 08:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549048320001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103266260929740800,"note":"Value kept but may cause issues"} 
[2026-07-07 08:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004243792924110848,"note":"Value kept but may cause issues"} 
[2026-07-07 08:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783394732000,"timestamp_ms":1783394732000,"timestamp_seconds":1783394732,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9c07e0"} 
[2026-07-07 08:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08: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-07-07 08:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-07 08:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:57: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-07-07 08:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549048320001,"66":12667,"197":206,"87":13824,"24":12,"16":103266260929740800,"45":9004243792924110848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-07 08:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549048320001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:57:11] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-07 08:57:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103266260929740800,"km_value":103266260929740.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004243792924110848,"description":"Unknown IO ID 45"} 
[2026-07-07 08:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549048320001,"power":12667,"unknown_197":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9004243792924110848}} 
[2026-07-07 08:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":124192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:57:11] local.INFO: GPS data processed {"connection_id":124192,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:57:11] local.INFO: Acknowledgment sent {"connection_id":124192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:57:15] local.INFO: TCP Data received {"connection_id":124977,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9bbda8012d81330006207af8001400af2e..."} 
[2026-07-07 08:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9bbda8012d81330006207af8001400af2e..."} 
[2026-07-07 08:57:15] local.INFO: Processing buffer {"connection_id":124977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9bbda8012d81330006207af8001400af2e..."} 
[2026-07-07 08:57:15] local.INFO: Packet analysis {"connection_id":124977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9b"} 
[2026-07-07 08:57:15] local.INFO: Extracted packet for processing {"connection_id":124977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9b"} 
[2026-07-07 08:57:15] local.INFO: GPS Element Parsed {"raw_longitude":763441920,"raw_latitude":102791928,"longitude_deg":76.344192,"latitude_deg":10.2791928,"altitude":20,"angle":175,"satellites":46,"speed":0,"hex_longitude":"2d813300","hex_latitude":"06207af8","is_valid_coordinates":true} 
[2026-07-07 08:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549041152001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9136959192689870848,"note":"Value kept but may cause issues"} 
[2026-07-07 08:57:15] 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-07-07 08:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783394713000,"timestamp_ms":1783394713000,"timestamp_seconds":1783394713,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9bbda8"} 
[2026-07-07 08:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 08:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08: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-07-07 08:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549041152001,"66":27767,"49":206,"79":21504,"24":0,"16":340736415769821184,"45":-9136959192689870848},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549041152001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:57:15] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:57:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9136959192689870848,"description":"Unknown IO ID 45"} 
[2026-07-07 08:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549041152001,"power":27767,"unknown_49":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-9136959192689870848}} 
[2026-07-07 08:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":124977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:57:15] local.INFO: GPS data processed {"connection_id":124977,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:57:15] local.INFO: Acknowledgment sent {"connection_id":124977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:57:15] local.INFO: TCP Data received {"connection_id":124978,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124978,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:57:15] local.INFO: Processing buffer {"connection_id":124978,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:57:15] local.INFO: IMEI packet received {"connection_id":124978,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":124978,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:57:21] local.INFO: TCP Data received {"connection_id":124978,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124978,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:57:21] local.INFO: Processing buffer {"connection_id":124978,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:57:21] local.INFO: IMEI packet received {"connection_id":124978,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":124978,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:57:21] local.INFO: TCP Data received {"connection_id":124978,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9d4830012d0da6c00706ee78002a01151d..."} 
[2026-07-07 08:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9d4830012d0da6c00706ee78002a01151d..."} 
[2026-07-07 08:57:21] local.INFO: Processing buffer {"connection_id":124978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9d4830012d0da6c00706ee78002a01151d..."} 
[2026-07-07 08:57:21] local.INFO: Packet analysis {"connection_id":124978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9d"} 
[2026-07-07 08:57:21] local.INFO: Extracted packet for processing {"connection_id":124978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9d"} 
[2026-07-07 08:57:21] local.INFO: GPS Element Parsed {"raw_longitude":755869376,"raw_latitude":117894776,"longitude_deg":75.5869376,"latitude_deg":11.7894776,"altitude":42,"angle":277,"satellites":29,"speed":27,"hex_longitude":"2d0da6c0","hex_latitude":"0706ee78","is_valid_coordinates":true} 
[2026-07-07 08:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549069056001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23300300660015104,"note":"Value kept but may cause issues"} 
[2026-07-07 08:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":993325222993326080,"note":"Value kept but may cause issues"} 
[2026-07-07 08:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783394814000,"timestamp_ms":1783394814000,"timestamp_seconds":1783394814,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9d4830"} 
[2026-07-07 08:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:57: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-07-07 08:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-07 08:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124978,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124978,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549069056001,"66":14428,"219":206,"94":10240,"24":27,"16":23300300660015104,"45":993325222993326080},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 08:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549069056001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:57:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 08:57:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 08:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23300300660015104,"km_value":23300300660015.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":993325222993326080,"description":"Unknown IO ID 45"} 
[2026-07-07 08:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549069056001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":993325222993326080}} 
[2026-07-07 08:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":124978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444493,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:57:21] local.INFO: GPS data processed {"connection_id":124978,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:57:21] local.INFO: Acknowledgment sent {"connection_id":124978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:57:30] local.INFO: TCP Data received {"connection_id":124283,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:57:30] local.INFO: Processing buffer {"connection_id":124283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:57:30] local.INFO: IMEI packet received {"connection_id":124283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 08:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":124283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:57:52] local.INFO: TCP Data received {"connection_id":124978,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9d4c18012d0da4400706efb0002a01221d..."} 
[2026-07-07 08:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9d4c18012d0da4400706efb0002a01221d..."} 
[2026-07-07 08:57:52] local.INFO: Processing buffer {"connection_id":124978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9d4c18012d0da4400706efb0002a01221d..."} 
[2026-07-07 08:57:52] local.INFO: Packet analysis {"connection_id":124978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9d"} 
[2026-07-07 08:57:52] local.INFO: Extracted packet for processing {"connection_id":124978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9d"} 
[2026-07-07 08:57:52] local.INFO: GPS Element Parsed {"raw_longitude":755868736,"raw_latitude":117895088,"longitude_deg":75.5868736,"latitude_deg":11.7895088,"altitude":42,"angle":290,"satellites":29,"speed":26,"hex_longitude":"2d0da440","hex_latitude":"0706efb0","is_valid_coordinates":true} 
[2026-07-07 08:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549072384001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23300335019753472,"note":"Value kept but may cause issues"} 
[2026-07-07 08:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":983684705040627712,"note":"Value kept but may cause issues"} 
[2026-07-07 08:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783394815000,"timestamp_ms":1783394815000,"timestamp_seconds":1783394815,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9d4c18"} 
[2026-07-07 08:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:57: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-07-07 08:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 08:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124978,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124978,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 08:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 08:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 08:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549072384001,"66":14428,"219":206,"94":10240,"24":26,"16":23300335019753472,"45":983684705040627712},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 08:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 08:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 08:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549072384001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:57:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 08:57:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 08:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23300335019753472,"km_value":23300335019753.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":983684705040627712,"description":"Unknown IO ID 45"} 
[2026-07-07 08:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549072384001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":983684705040627712}} 
[2026-07-07 08:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":124978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444494,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:57:52] local.INFO: GPS data processed {"connection_id":124978,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:57:52] local.INFO: Acknowledgment sent {"connection_id":124978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:57:56] local.INFO: TCP Data received {"connection_id":124979,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:57:56] local.INFO: Processing buffer {"connection_id":124979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:57:56] local.INFO: IMEI packet received {"connection_id":124979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":124979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:57:59] local.INFO: TCP Data received {"connection_id":124193,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:57:59] local.INFO: Processing buffer {"connection_id":124193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:57:59] local.INFO: IMEI packet received {"connection_id":124193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":124193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:58:00] local.INFO: TCP Data received {"connection_id":124284,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:58:00] local.INFO: Processing buffer {"connection_id":124284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 08:58:00] local.INFO: IMEI packet received {"connection_id":124284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 08:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":124284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:58:02] local.INFO: TCP Data received {"connection_id":124979,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:58:02] local.INFO: Processing buffer {"connection_id":124979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:58:02] local.INFO: IMEI packet received {"connection_id":124979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":124979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:58:04] local.INFO: TCP Data received {"connection_id":124193,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:58:04] local.INFO: Processing buffer {"connection_id":124193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:58:04] local.INFO: IMEI packet received {"connection_id":124193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":124193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:58:05] local.INFO: TCP Data received {"connection_id":124193,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9c0fb0012d81330006207af8001400af2c..."} 
[2026-07-07 08:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9c0fb0012d81330006207af8001400af2c..."} 
[2026-07-07 08:58:05] local.INFO: Processing buffer {"connection_id":124193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9c0fb0012d81330006207af8001400af2c..."} 
[2026-07-07 08:58:05] local.INFO: Packet analysis {"connection_id":124193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9c"} 
[2026-07-07 08:58:05] local.INFO: Extracted packet for processing {"connection_id":124193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9c"} 
[2026-07-07 08:58:05] local.INFO: GPS Element Parsed {"raw_longitude":763441920,"raw_latitude":102791928,"longitude_deg":76.344192,"latitude_deg":10.2791928,"altitude":20,"angle":175,"satellites":44,"speed":0,"hex_longitude":"2d813300","hex_latitude":"06207af8","is_valid_coordinates":true} 
[2026-07-07 08:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549046528001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736415769821184,"note":"Value kept but may cause issues"} 
[2026-07-07 08:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9136959192689870848,"note":"Value kept but may cause issues"} 
[2026-07-07 08:58:05] 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-07-07 08:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783394734000,"timestamp_ms":1783394734000,"timestamp_seconds":1783394734,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9c0fb0"} 
[2026-07-07 08:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 08:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549046528001,"66":27767,"49":206,"79":21504,"24":0,"16":340736415769821184,"45":-9136959192689870848},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549046528001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:58:05] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:58:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736415769821184,"km_value":340736415769821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9136959192689870848,"description":"Unknown IO ID 45"} 
[2026-07-07 08:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549046528001,"power":27767,"unknown_49":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-9136959192689870848}} 
[2026-07-07 08:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":124193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:58:05] local.INFO: GPS data processed {"connection_id":124193,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:58:05] local.INFO: Acknowledgment sent {"connection_id":124193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:58:14] local.INFO: TCP Data received {"connection_id":126200,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126200,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:58:14] local.INFO: Processing buffer {"connection_id":126200,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:58:14] local.INFO: IMEI packet received {"connection_id":126200,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 08:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":126200,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:58:15] local.INFO: TCP Data received {"connection_id":126200,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126200,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:58:15] local.INFO: Processing buffer {"connection_id":126200,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:58:15] local.INFO: IMEI packet received {"connection_id":126200,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":126200,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:58:15] local.INFO: TCP Data received {"connection_id":126200,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126200,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:58:15] local.INFO: Processing buffer {"connection_id":126200,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:58:15] local.INFO: IMEI packet received {"connection_id":126200,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":126200,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:58:16] local.INFO: TCP Data received {"connection_id":126200,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126200,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:58:16] local.INFO: Processing buffer {"connection_id":126200,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 08:58:16] local.INFO: IMEI packet received {"connection_id":126200,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 08:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":126200,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:58:33] local.INFO: TCP Data received {"connection_id":124979,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9c07e0012d7d1a0005ec43780004006323..."} 
[2026-07-07 08:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9c07e0012d7d1a0005ec43780004006323..."} 
[2026-07-07 08:58:33] local.INFO: Processing buffer {"connection_id":124979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9c07e0012d7d1a0005ec43780004006323..."} 
[2026-07-07 08:58:33] local.INFO: Packet analysis {"connection_id":124979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9c"} 
[2026-07-07 08:58:33] local.INFO: Extracted packet for processing {"connection_id":124979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9c"} 
[2026-07-07 08:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763173376,"raw_latitude":99369848,"longitude_deg":76.3173376,"latitude_deg":9.9369848,"altitude":4,"angle":99,"satellites":35,"speed":12,"hex_longitude":"2d7d1a00","hex_latitude":"05ec4378","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549051392001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103266260929740800,"note":"Value kept but may cause issues"} 
[2026-07-07 08:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014517629574150144,"note":"Value kept but may cause issues"} 
[2026-07-07 08:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783394732000,"timestamp_ms":1783394732000,"timestamp_seconds":1783394732,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9c07e0"} 
[2026-07-07 08:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08: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-07-07 08: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-07-07 08:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:58: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-07-07 08:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549051392001,"66":12667,"197":206,"87":13824,"24":12,"16":103266260929740800,"45":9014517629574150144},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-07 08:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549051392001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:58:33] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-07 08:58:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103266260929740800,"km_value":103266260929740.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014517629574150144,"description":"Unknown IO ID 45"} 
[2026-07-07 08:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549051392001,"power":12667,"unknown_197":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9014517629574150144}} 
[2026-07-07 08:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":124979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:58:33] local.INFO: GPS data processed {"connection_id":124979,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:58:33] local.INFO: Acknowledgment sent {"connection_id":124979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:58:34] local.INFO: TCP Data received {"connection_id":124979,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9e1b20012d7c1c0005ec33d8000f010c28..."} 
[2026-07-07 08:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9e1b20012d7c1c0005ec33d8000f010c28..."} 
[2026-07-07 08:58:34] local.INFO: Processing buffer {"connection_id":124979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9e1b20012d7c1c0005ec33d8000f010c28..."} 
[2026-07-07 08:58:34] local.INFO: Packet analysis {"connection_id":124979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9e"} 
[2026-07-07 08:58:34] local.INFO: Extracted packet for processing {"connection_id":124979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9e"} 
[2026-07-07 08:58:34] local.INFO: GPS Element Parsed {"raw_longitude":763108352,"raw_latitude":99365848,"longitude_deg":76.3108352,"latitude_deg":9.9365848,"altitude":15,"angle":268,"satellites":40,"speed":22,"hex_longitude":"2d7c1c00","hex_latitude":"05ec33d8","is_valid_coordinates":true} 
[2026-07-07 08: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-07-07 08:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549082112001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103269516514951168,"note":"Value kept but may cause issues"} 
[2026-07-07 08:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953296822138597376,"note":"Value kept but may cause issues"} 
[2026-07-07 08:58:34] 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-07-07 08:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783394868000,"timestamp_ms":1783394868000,"timestamp_seconds":1783394868,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9e1b20"} 
[2026-07-07 08:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:58: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-07-07 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 08:58:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 08:58:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-07 08:58:34] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2630305793,"note":"Value kept but may cause issues"} 
[2026-07-07 08:58:34] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4476578051097306112,"note":"Value kept but may cause issues"} 
[2026-07-07 08:58:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-07-07 08:58:34] local.WARNING: Large IO value detected {"io_id":144,"raw_value":2550214012,"note":"Value kept but may cause issues"} 
[2026-07-07 08:58:34] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3769368576,"note":"Value kept but may cause issues"} 
[2026-07-07 08:58:34] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-07-07 08:58:34] local.WARNING: Large IO value detected {"io_id":156,"raw_value":5634004428724682757,"note":"Value kept but may cause issues"} 
[2026-07-07 08:58:34] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,198,87,24,241,157,16,226,159,154,45,128,53,14,40,10,66,192,54,15,225,17,1,240,7,227,58,236,4,113,205,19,144,244,88,37,239,51,110,2,5,46,156],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-07-07 08:58:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153215250306433024,"timestamp_seconds":1153215250306433.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:58: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-07-07 08:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549082112001,"66":13319,"198":206,"87":13824,"24":22,"16":103269516514951168,"45":8953296822138597376},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-07 08:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549082112001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:58:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 08:58:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103269516514951168,"km_value":103269516514951.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953296822138597376,"description":"Unknown IO ID 45"} 
[2026-07-07 08:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549082112001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8953296822138597376}} 
[2026-07-07 08:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":124979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:58:34] local.INFO: GPS data processed {"connection_id":124979,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:58:34] local.INFO: Acknowledgment sent {"connection_id":124979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:58:36] local.INFO: TCP Data received {"connection_id":124193,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9c3e90012d81328006207a18001600c12e..."} 
[2026-07-07 08:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9c3e90012d81328006207a18001600c12e..."} 
[2026-07-07 08:58:36] local.INFO: Processing buffer {"connection_id":124193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9c3e90012d81328006207a18001600c12e..."} 
[2026-07-07 08:58:36] local.INFO: Packet analysis {"connection_id":124193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9c"} 
[2026-07-07 08:58:36] local.INFO: Extracted packet for processing {"connection_id":124193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9c"} 
[2026-07-07 08:58:36] local.INFO: GPS Element Parsed {"raw_longitude":763441792,"raw_latitude":102791704,"longitude_deg":76.3441792,"latitude_deg":10.2791704,"altitude":22,"angle":193,"satellites":46,"speed":4,"hex_longitude":"2d813280","hex_latitude":"06207a18","is_valid_coordinates":true} 
[2026-07-07 08:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549051904001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340736428654723072,"note":"Value kept but may cause issues"} 
[2026-07-07 08:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9136959192689870848,"note":"Value kept but may cause issues"} 
[2026-07-07 08:58:36] 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-07-07 08:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783394746000,"timestamp_ms":1783394746000,"timestamp_seconds":1783394746,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9c3e90"} 
[2026-07-07 08:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:58: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-07-07 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 08:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549051904001,"66":27843,"49":206,"79":21504,"24":4,"16":340736428654723072,"45":-9136959192689870848},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-07 08:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549051904001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:58:36] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 08:58:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340736428654723072,"km_value":340736428654723.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9136959192689870848,"description":"Unknown IO ID 45"} 
[2026-07-07 08:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549051904001,"power":27843,"unknown_49":206,"unknown_79":21504,"ignition":4,"odometer":null,"unknown_45":-9136959192689870848}} 
[2026-07-07 08:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":124193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:58:36] local.INFO: GPS data processed {"connection_id":124193,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:58:36] local.INFO: Acknowledgment sent {"connection_id":124193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:58:56] local.INFO: TCP Data received {"connection_id":124285,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:58:56] local.INFO: Processing buffer {"connection_id":124285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:58:56] local.INFO: IMEI packet received {"connection_id":124285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":124285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:59:01] local.INFO: TCP Data received {"connection_id":124285,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:59:01] local.INFO: Processing buffer {"connection_id":124285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:59:01] local.INFO: IMEI packet received {"connection_id":124285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 08:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":124285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:59:03] local.INFO: TCP Data received {"connection_id":124285,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9e4a00012d7bf90005ec31700010010529..."} 
[2026-07-07 08:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9e4a00012d7bf90005ec31700010010529..."} 
[2026-07-07 08:59:03] local.INFO: Processing buffer {"connection_id":124285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9e4a00012d7bf90005ec31700010010529..."} 
[2026-07-07 08:59:03] local.INFO: Packet analysis {"connection_id":124285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9e"} 
[2026-07-07 08:59:03] local.INFO: Extracted packet for processing {"connection_id":124285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9e"} 
[2026-07-07 08:59:03] local.INFO: GPS Element Parsed {"raw_longitude":763099392,"raw_latitude":99365232,"longitude_deg":76.3099392,"latitude_deg":9.9365232,"altitude":16,"angle":261,"satellites":41,"speed":31,"hex_longitude":"2d7bf900","hex_latitude":"05ec3170","is_valid_coordinates":true} 
[2026-07-07 08:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549086208001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103269946011680768,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943022985488619520,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 08:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783394880000,"timestamp_ms":1783394880000,"timestamp_seconds":1783394880,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9e4a00"} 
[2026-07-07 08:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 08:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 08:59:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:03] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:03] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2635169793,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:03] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4397765057619043328,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-07-07 08:59:03] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3221613624,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:03] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040073,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:03] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3776053248,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963246592,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:03] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:03] local.WARNING: Large IO value detected {"io_id":156,"raw_value":6478429358856388613,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:03] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,198,87,24,241,157,16,227,159,220,45,128,52,41,10,66,226,154,53,14,40,192,1,240,144,225,58,236,4,113,205,19,199,208,224,37,239,51,110,2,5,8,35,46,156],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-07-07 08:59:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081158751485296640,"timestamp_seconds":1081158751485296.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 08:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:59: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-07-07 08:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549086208001,"66":12961,"198":206,"87":13824,"24":31,"16":103269946011680768,"45":8943022985488619520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-07 08:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549086208001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:59:03] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 08:59:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103269946011680768,"km_value":103269946011680.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943022985488619520,"description":"Unknown IO ID 45"} 
[2026-07-07 08:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549086208001,"power":12961,"unknown_198":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8943022985488619520}} 
[2026-07-07 08:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":124285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:59:03] local.INFO: GPS data processed {"connection_id":124285,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:59:03] local.INFO: Acknowledgment sent {"connection_id":124285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:59:04] local.INFO: TCP Data received {"connection_id":124980,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:59:04] local.INFO: Processing buffer {"connection_id":124980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:59:04] local.INFO: IMEI packet received {"connection_id":124980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":124980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:59:09] local.INFO: TCP Data received {"connection_id":124980,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:59:09] local.INFO: Processing buffer {"connection_id":124980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:59:09] local.INFO: IMEI packet received {"connection_id":124980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 08:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":124980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 08:59:10] local.INFO: TCP Data received {"connection_id":124980,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9df028012d81be00061f5f300017009f2f..."} 
[2026-07-07 08:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9df028012d81be00061f5f300017009f2f..."} 
[2026-07-07 08:59:10] local.INFO: Processing buffer {"connection_id":124980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9df028012d81be00061f5f300017009f2f..."} 
[2026-07-07 08:59:10] local.INFO: Packet analysis {"connection_id":124980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9d"} 
[2026-07-07 08:59:10] local.INFO: Extracted packet for processing {"connection_id":124980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9d"} 
[2026-07-07 08:59:10] local.INFO: GPS Element Parsed {"raw_longitude":763477504,"raw_latitude":102719280,"longitude_deg":76.3477504,"latitude_deg":10.271928,"altitude":23,"angle":159,"satellites":47,"speed":14,"hex_longitude":"2d81be00","hex_latitude":"061f5f30","is_valid_coordinates":true} 
[2026-07-07 08:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549078016001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340740431564242944,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9102126664338552832,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:10] 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-07-07 08:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783394857000,"timestamp_ms":1783394857000,"timestamp_seconds":1783394857,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9df028"} 
[2026-07-07 08:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:59: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-07-07 08: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":119,"data_length":795,"current_offset":136} 
[2026-07-07 08:59: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-07-07 08:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549078016001,"66":27865,"159":206,"79":21504,"24":14,"16":340740431564242944,"45":-9102126664338552832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,79,24,16,45]} 
[2026-07-07 08:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549078016001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:59:10] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-07 08:59:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340740431564242944,"km_value":340740431564242.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9102126664338552832,"description":"Unknown IO ID 45"} 
[2026-07-07 08:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549078016001,"power":27865,"unknown_159":206,"unknown_79":21504,"ignition":14,"odometer":null,"unknown_45":-9102126664338552832}} 
[2026-07-07 08:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":124980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:59:10] local.INFO: GPS data processed {"connection_id":124980,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:59:10] local.INFO: Acknowledgment sent {"connection_id":124980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:59:15] local.INFO: TCP Data received {"connection_id":124980,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9e4230012d81c840061f4698001a009e2d..."} 
[2026-07-07 08:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9e4230012d81c840061f4698001a009e2d..."} 
[2026-07-07 08:59:15] local.INFO: Processing buffer {"connection_id":124980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9e4230012d81c840061f4698001a009e2d..."} 
[2026-07-07 08:59:15] local.INFO: Packet analysis {"connection_id":124980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9e"} 
[2026-07-07 08:59:15] local.INFO: Extracted packet for processing {"connection_id":124980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9e"} 
[2026-07-07 08:59:15] local.INFO: GPS Element Parsed {"raw_longitude":763480128,"raw_latitude":102712984,"longitude_deg":76.3480128,"latitude_deg":10.2712984,"altitude":26,"angle":158,"satellites":45,"speed":11,"hex_longitude":"2d81c840","hex_latitude":"061f4698","is_valid_coordinates":true} 
[2026-07-07 08:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549083392001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340740766571692032,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097834170945687552,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:15] 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-07-07 08:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783394878000,"timestamp_ms":1783394878000,"timestamp_seconds":1783394878,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9e4230"} 
[2026-07-07 08:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:59: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-07-07 08: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":217,"data_length":795,"current_offset":136} 
[2026-07-07 08:59: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-07-07 08:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 08:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 08:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 08:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 08:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549083392001,"66":27843,"159":206,"79":21504,"24":11,"16":340740766571692032,"45":-9097834170945687552},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,79,24,16,45]} 
[2026-07-07 08:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 08:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 08:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549083392001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:59:15] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-07 08:59:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 08:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340740766571692032,"km_value":340740766571692.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097834170945687552,"description":"Unknown IO ID 45"} 
[2026-07-07 08:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549083392001,"power":27843,"unknown_159":206,"unknown_79":21504,"ignition":11,"odometer":null,"unknown_45":-9097834170945687552}} 
[2026-07-07 08:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":124980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:59:15] local.INFO: GPS data processed {"connection_id":124980,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:59:15] local.INFO: Acknowledgment sent {"connection_id":124980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:59:34] local.INFO: TCP Data received {"connection_id":124285,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9e9c08012d7bd74005ec2ad0001200fe29..."} 
[2026-07-07 08:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9e9c08012d7bd74005ec2ad0001200fe29..."} 
[2026-07-07 08:59:34] local.INFO: Processing buffer {"connection_id":124285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9e9c08012d7bd74005ec2ad0001200fe29..."} 
[2026-07-07 08:59:34] local.INFO: Packet analysis {"connection_id":124285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9e"} 
[2026-07-07 08:59:34] local.INFO: Extracted packet for processing {"connection_id":124285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9e"} 
[2026-07-07 08:59:34] local.INFO: GPS Element Parsed {"raw_longitude":763090752,"raw_latitude":99363536,"longitude_deg":76.3090752,"latitude_deg":9.9363536,"altitude":18,"angle":254,"satellites":41,"speed":0,"hex_longitude":"2d7bd740","hex_latitude":"05ec2ad0","is_valid_coordinates":true} 
[2026-07-07 08:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 08:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549089280001,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103270366918475776,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933171361303588864,"note":"Value kept but may cause issues"} 
[2026-07-07 08:59:34] 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-07-07 08:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783394901000,"timestamp_ms":1783394901000,"timestamp_seconds":1783394901,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9e9c08"} 
[2026-07-07 08:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 08:59: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-07-07 08:59: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":161,"data_length":795,"current_offset":136} 
[2026-07-07 08:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 08:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 08:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 08:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 08:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 08:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 08:59: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-07-07 08:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 08:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 08:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549089280001,"66":12765,"198":206,"87":13824,"24":0,"16":103270366918475776,"45":8933171361303588864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-07 08:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 08:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 08:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549089280001,"description":"Unknown IO ID 0"} 
[2026-07-07 08:59:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 08:59:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 08:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103270366918475776,"km_value":103270366918475.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 08:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933171361303588864,"description":"Unknown IO ID 45"} 
[2026-07-07 08:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549089280001,"power":12765,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8933171361303588864}} 
[2026-07-07 08:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":124285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 08:59:34] local.INFO: GPS data processed {"connection_id":124285,"processed":1,"errors":0,"total":1} 
[2026-07-07 08:59:34] local.INFO: Acknowledgment sent {"connection_id":124285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 08:59:56] local.INFO: TCP Data received {"connection_id":126203,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:59:56] local.INFO: Processing buffer {"connection_id":126203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 08:59:56] local.INFO: IMEI packet received {"connection_id":126203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 08:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":126203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 08:59:59] local.INFO: TCP Data received {"connection_id":124194,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:59:59] local.INFO: Processing buffer {"connection_id":124194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 08:59:59] local.INFO: IMEI packet received {"connection_id":124194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 08:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":124194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:00:00] local.INFO: TCP Data received {"connection_id":124194,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:00:00] local.INFO: Processing buffer {"connection_id":124194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:00:00] local.INFO: IMEI packet received {"connection_id":124194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":124194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:00:01] local.INFO: TCP Data received {"connection_id":126203,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:00:01] local.INFO: Processing buffer {"connection_id":126203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:00:01] local.INFO: IMEI packet received {"connection_id":126203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":126203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:00:02] local.INFO: TCP Data received {"connection_id":126203,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9eee10012d7bd74005ec2ad0001200fe28..."} 
[2026-07-07 09:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9eee10012d7bd74005ec2ad0001200fe28..."} 
[2026-07-07 09:00:02] local.INFO: Processing buffer {"connection_id":126203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9eee10012d7bd74005ec2ad0001200fe28..."} 
[2026-07-07 09:00:02] local.INFO: Packet analysis {"connection_id":126203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9e"} 
[2026-07-07 09:00:02] local.INFO: Extracted packet for processing {"connection_id":126203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9e"} 
[2026-07-07 09:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763090752,"raw_latitude":99363536,"longitude_deg":76.3090752,"latitude_deg":9.9363536,"altitude":18,"angle":254,"satellites":40,"speed":0,"hex_longitude":"2d7bd740","hex_latitude":"05ec2ad0","is_valid_coordinates":true} 
[2026-07-07 09:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549094656001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103270366918475776,"note":"Value kept but may cause issues"} 
[2026-07-07 09:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923671580839170048,"note":"Value kept but may cause issues"} 
[2026-07-07 09:00:02] 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-07-07 09:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783394922000,"timestamp_ms":1783394922000,"timestamp_seconds":1783394922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9eee10"} 
[2026-07-07 09:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 09:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549094656001,"66":13037,"198":206,"87":13824,"24":0,"16":103270366918475776,"45":8923671580839170048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-07 09:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549094656001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:00:02] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 09:00:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103270366918475776,"km_value":103270366918475.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923671580839170048,"description":"Unknown IO ID 45"} 
[2026-07-07 09:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549094656001,"power":13037,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8923671580839170048}} 
[2026-07-07 09:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":126203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:00:02] local.INFO: GPS data processed {"connection_id":126203,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:00:02] local.INFO: Acknowledgment sent {"connection_id":126203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:00:04] local.INFO: TCP Data received {"connection_id":124194,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:00:04] local.INFO: Processing buffer {"connection_id":124194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:00:04] local.INFO: IMEI packet received {"connection_id":124194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":124194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:00:05] local.INFO: TCP Data received {"connection_id":124194,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9e9438012d81cd80061f39c8001a009d2e..."} 
[2026-07-07 09:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9e9438012d81cd80061f39c8001a009d2e..."} 
[2026-07-07 09:00:05] local.INFO: Processing buffer {"connection_id":124194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9e9438012d81cd80061f39c8001a009d2e..."} 
[2026-07-07 09:00:05] local.INFO: Packet analysis {"connection_id":124194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9e"} 
[2026-07-07 09:00:05] local.INFO: Extracted packet for processing {"connection_id":124194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9e"} 
[2026-07-07 09:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763481472,"raw_latitude":102709704,"longitude_deg":76.3481472,"latitude_deg":10.2709704,"altitude":26,"angle":157,"satellites":46,"speed":0,"hex_longitude":"2d81cd80","hex_latitude":"061f39c8","is_valid_coordinates":true} 
[2026-07-07 09:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549088768001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340740938370383872,"note":"Value kept but may cause issues"} 
[2026-07-07 09:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9094949052436015104,"note":"Value kept but may cause issues"} 
[2026-07-07 09:00:05] 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-07-07 09:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783394899000,"timestamp_ms":1783394899000,"timestamp_seconds":1783394899,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9e9438"} 
[2026-07-07 09:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 09:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549088768001,"66":27876,"159":206,"79":21504,"24":0,"16":340740938370383872,"45":-9094949052436015104},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,79,24,16,45]} 
[2026-07-07 09:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549088768001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:00:05] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-07 09:00:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 09:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340740938370383872,"km_value":340740938370383.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9094949052436015104,"description":"Unknown IO ID 45"} 
[2026-07-07 09:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549088768001,"power":27876,"unknown_159":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":-9094949052436015104}} 
[2026-07-07 09:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":124194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:00:05] local.INFO: GPS data processed {"connection_id":124194,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:00:05] local.INFO: Acknowledgment sent {"connection_id":124194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:00:20] local.INFO: TCP Data received {"connection_id":124194,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9ee640012d81d240061f2d88001a009f2d..."} 
[2026-07-07 09:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9ee640012d81d240061f2d88001a009f2d..."} 
[2026-07-07 09:00:20] local.INFO: Processing buffer {"connection_id":124194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9ee640012d81d240061f2d88001a009f2d..."} 
[2026-07-07 09:00:20] local.INFO: Packet analysis {"connection_id":124194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9e"} 
[2026-07-07 09:00:20] local.INFO: Extracted packet for processing {"connection_id":124194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9e"} 
[2026-07-07 09:00:20] local.INFO: GPS Element Parsed {"raw_longitude":763482688,"raw_latitude":102706568,"longitude_deg":76.3482688,"latitude_deg":10.2706568,"altitude":26,"angle":159,"satellites":45,"speed":11,"hex_longitude":"2d81d240","hex_latitude":"061f2d88","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549094144001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340741101579141120,"note":"Value kept but may cause issues"} 
[2026-07-07 09:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9093471308809123840,"note":"Value kept but may cause issues"} 
[2026-07-07 09:00:20] 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-07-07 09:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783394920000,"timestamp_ms":1783394920000,"timestamp_seconds":1783394920,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9ee640"} 
[2026-07-07 09:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 09:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549094144001,"66":27615,"159":206,"79":21504,"24":11,"16":340741101579141120,"45":-9093471308809123840},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,79,24,16,45]} 
[2026-07-07 09:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549094144001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:00:20] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-07 09:00:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 09:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340741101579141120,"km_value":340741101579141.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9093471308809123840,"description":"Unknown IO ID 45"} 
[2026-07-07 09:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549094144001,"power":27615,"unknown_159":206,"unknown_79":21504,"ignition":11,"odometer":null,"unknown_45":-9093471308809123840}} 
[2026-07-07 09:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":124194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:00:20] local.INFO: GPS data processed {"connection_id":124194,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:00:20] local.INFO: Acknowledgment sent {"connection_id":124194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:00:33] local.INFO: TCP Data received {"connection_id":126203,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9f3078012d7bb3c005ec2158001200fd27..."} 
[2026-07-07 09:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9f3078012d7bb3c005ec2158001200fd27..."} 
[2026-07-07 09:00:33] local.INFO: Processing buffer {"connection_id":126203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9f3078012d7bb3c005ec2158001200fd27..."} 
[2026-07-07 09:00:33] local.INFO: Packet analysis {"connection_id":126203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9f"} 
[2026-07-07 09:00:33] local.INFO: Extracted packet for processing {"connection_id":126203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9f"} 
[2026-07-07 09:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763081664,"raw_latitude":99361112,"longitude_deg":76.3081664,"latitude_deg":9.9361112,"altitude":18,"angle":253,"satellites":39,"speed":36,"hex_longitude":"2d7bb3c0","hex_latitude":"05ec2158","is_valid_coordinates":true} 
[2026-07-07 09:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549100032001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103270817890041856,"note":"Value kept but may cause issues"} 
[2026-07-07 09:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923671580839170048,"note":"Value kept but may cause issues"} 
[2026-07-07 09:00:33] 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-07-07 09:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783394939000,"timestamp_ms":1783394939000,"timestamp_seconds":1783394939,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9f3078"} 
[2026-07-07 09:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:00: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-07-07 09:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 09:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:00: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-07-07 09:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549100032001,"66":13276,"198":206,"87":13824,"24":36,"16":103270817890041856,"45":8923671580839170048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-07 09:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549100032001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:00:33] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 09:00:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103270817890041856,"km_value":103270817890041.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923671580839170048,"description":"Unknown IO ID 45"} 
[2026-07-07 09:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549100032001,"power":13276,"unknown_198":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8923671580839170048}} 
[2026-07-07 09:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":126203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:00:33] local.INFO: GPS data processed {"connection_id":126203,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:00:33] local.INFO: Acknowledgment sent {"connection_id":126203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:00:59] local.INFO: TCP Data received {"connection_id":124983,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:00:59] local.INFO: Processing buffer {"connection_id":124983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:00:59] local.INFO: IMEI packet received {"connection_id":124983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":124983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:01:00] local.INFO: TCP Data received {"connection_id":124984,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:01:00] local.INFO: Processing buffer {"connection_id":124984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:01:00] local.INFO: IMEI packet received {"connection_id":124984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":124984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:01:01] local.INFO: TCP Data received {"connection_id":124983,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:01:01] local.INFO: Processing buffer {"connection_id":124983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:01:01] local.INFO: IMEI packet received {"connection_id":124983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":124983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:01:04] local.INFO: TCP Data received {"connection_id":124983,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:01:04] local.INFO: Processing buffer {"connection_id":124983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:01:04] local.INFO: IMEI packet received {"connection_id":124983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":124983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:01:05] local.INFO: TCP Data received {"connection_id":124983,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9f3848012d81d940061f1b80001b009d2e..."} 
[2026-07-07 09:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9f3848012d81d940061f1b80001b009d2e..."} 
[2026-07-07 09:01:05] local.INFO: Processing buffer {"connection_id":124983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9f3848012d81d940061f1b80001b009d2e..."} 
[2026-07-07 09:01:05] local.INFO: Packet analysis {"connection_id":124983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9f"} 
[2026-07-07 09:01:05] local.INFO: Extracted packet for processing {"connection_id":124983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9f"} 
[2026-07-07 09:01:05] local.INFO: GPS Element Parsed {"raw_longitude":763484480,"raw_latitude":102701952,"longitude_deg":76.348448,"latitude_deg":10.2701952,"altitude":27,"angle":157,"satellites":46,"speed":8,"hex_longitude":"2d81d940","hex_latitude":"061f1b80","is_valid_coordinates":true} 
[2026-07-07 09:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549099520001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340741342097309696,"note":"Value kept but may cause issues"} 
[2026-07-07 09:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9092134302670551040,"note":"Value kept but may cause issues"} 
[2026-07-07 09:01:05] 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-07-07 09:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783394941000,"timestamp_ms":1783394941000,"timestamp_seconds":1783394941,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9f3848"} 
[2026-07-07 09:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 09:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549099520001,"66":27876,"159":206,"79":21504,"24":8,"16":340741342097309696,"45":-9092134302670551040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,79,24,16,45]} 
[2026-07-07 09:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549099520001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:01:05] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-07 09:01:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 09:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340741342097309696,"km_value":340741342097309.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9092134302670551040,"description":"Unknown IO ID 45"} 
[2026-07-07 09:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549099520001,"power":27876,"unknown_159":206,"unknown_79":21504,"ignition":8,"odometer":null,"unknown_45":-9092134302670551040}} 
[2026-07-07 09:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":124983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:01:05] local.INFO: GPS data processed {"connection_id":124983,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:01:05] local.INFO: Acknowledgment sent {"connection_id":124983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:01:06] local.INFO: TCP Data received {"connection_id":124984,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:01:06] local.INFO: Processing buffer {"connection_id":124984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:01:06] local.INFO: IMEI packet received {"connection_id":124984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":124984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:01:07] local.INFO: TCP Data received {"connection_id":124984,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9f5b70012d7b910005ec16e0001100fd29..."} 
[2026-07-07 09:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9f5b70012d7b910005ec16e0001100fd29..."} 
[2026-07-07 09:01:07] local.INFO: Processing buffer {"connection_id":124984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9f5b70012d7b910005ec16e0001100fd29..."} 
[2026-07-07 09:01:07] local.INFO: Packet analysis {"connection_id":124984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9f"} 
[2026-07-07 09:01:07] local.INFO: Extracted packet for processing {"connection_id":124984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9f"} 
[2026-07-07 09:01:07] local.INFO: GPS Element Parsed {"raw_longitude":763072768,"raw_latitude":99358432,"longitude_deg":76.3072768,"latitude_deg":9.9358432,"altitude":17,"angle":253,"satellites":41,"speed":28,"hex_longitude":"2d7b9100","hex_latitude":"05ec16e0","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549104384001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103271264566640640,"note":"Value kept but may cause issues"} 
[2026-07-07 09:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913679219165321216,"note":"Value kept but may cause issues"} 
[2026-07-07 09:01:07] 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-07-07 09:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783394950000,"timestamp_ms":1783394950000,"timestamp_seconds":1783394950,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9f5b70"} 
[2026-07-07 09:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:01: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-07-07 09: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 09:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:01: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-07-07 09:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549104384001,"66":13276,"198":206,"87":13824,"24":28,"16":103271264566640640,"45":8913679219165321216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-07 09:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549104384001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:01:07] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 09:01:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103271264566640640,"km_value":103271264566640.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913679219165321216,"description":"Unknown IO ID 45"} 
[2026-07-07 09:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549104384001,"power":13276,"unknown_198":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8913679219165321216}} 
[2026-07-07 09:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":124984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:01:07] local.INFO: GPS data processed {"connection_id":124984,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:01:07] local.INFO: Acknowledgment sent {"connection_id":124984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:01:10] local.INFO: TCP Data received {"connection_id":124983,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9f8a50012d81e1c0061f0780001c009a2f..."} 
[2026-07-07 09:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9f8a50012d81e1c0061f0780001c009a2f..."} 
[2026-07-07 09:01:10] local.INFO: Processing buffer {"connection_id":124983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9f8a50012d81e1c0061f0780001c009a2f..."} 
[2026-07-07 09:01:10] local.INFO: Packet analysis {"connection_id":124983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9f"} 
[2026-07-07 09:01:10] local.INFO: Extracted packet for processing {"connection_id":124983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9f"} 
[2026-07-07 09:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763486656,"raw_latitude":102696832,"longitude_deg":76.3486656,"latitude_deg":10.2696832,"altitude":28,"angle":154,"satellites":47,"speed":8,"hex_longitude":"2d81e1c0","hex_latitude":"061f0780","is_valid_coordinates":true} 
[2026-07-07 09:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549104896001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340741612680249344,"note":"Value kept but may cause issues"} 
[2026-07-07 09:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9090163977834758144,"note":"Value kept but may cause issues"} 
[2026-07-07 09:01:10] 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-07-07 09:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783394962000,"timestamp_ms":1783394962000,"timestamp_seconds":1783394962,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9f8a50"} 
[2026-07-07 09:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:01: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-07-07 09:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 09:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549104896001,"66":27865,"159":206,"79":21504,"24":8,"16":340741612680249344,"45":-9090163977834758144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,79,24,16,45]} 
[2026-07-07 09:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549104896001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:01:10] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-07 09:01:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 09:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340741612680249344,"km_value":340741612680249.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9090163977834758144,"description":"Unknown IO ID 45"} 
[2026-07-07 09:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549104896001,"power":27865,"unknown_159":206,"unknown_79":21504,"ignition":8,"odometer":null,"unknown_45":-9090163977834758144}} 
[2026-07-07 09:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":124983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:01:10] local.INFO: GPS data processed {"connection_id":124983,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:01:10] local.INFO: Acknowledgment sent {"connection_id":124983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:01:41] local.INFO: TCP Data received {"connection_id":124984,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9f8e38012d7b6d8005ec0c58001100fc29..."} 
[2026-07-07 09:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9f8e38012d7b6d8005ec0c58001100fc29..."} 
[2026-07-07 09:01:41] local.INFO: Processing buffer {"connection_id":124984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9f8e38012d7b6d8005ec0c58001100fc29..."} 
[2026-07-07 09:01:41] local.INFO: Packet analysis {"connection_id":124984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9f"} 
[2026-07-07 09:01:41] local.INFO: Extracted packet for processing {"connection_id":124984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9f"} 
[2026-07-07 09:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763063680,"raw_latitude":99355736,"longitude_deg":76.306368,"latitude_deg":9.9355736,"altitude":17,"angle":252,"satellites":41,"speed":27,"hex_longitude":"2d7b6d80","hex_latitude":"05ec0c58","is_valid_coordinates":true} 
[2026-07-07 09:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549107200001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103271715538206720,"note":"Value kept but may cause issues"} 
[2026-07-07 09:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903897963723939840,"note":"Value kept but may cause issues"} 
[2026-07-07 09:01: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-07-07 09:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783394963000,"timestamp_ms":1783394963000,"timestamp_seconds":1783394963,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9f8e38"} 
[2026-07-07 09:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 09:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:01: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-07-07 09:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549107200001,"66":13363,"198":206,"87":13824,"24":27,"16":103271715538206720,"45":8903897963723939840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-07 09:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549107200001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:01:41] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 09:01:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103271715538206720,"km_value":103271715538206.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903897963723939840,"description":"Unknown IO ID 45"} 
[2026-07-07 09:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549107200001,"power":13363,"unknown_198":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8903897963723939840}} 
[2026-07-07 09:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":124984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:01:41] local.INFO: GPS data processed {"connection_id":124984,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:01:41] local.INFO: Acknowledgment sent {"connection_id":124984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:01:41] local.INFO: TCP Data received {"connection_id":124983,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9fdc58012d81ea40061ef6800019009730..."} 
[2026-07-07 09:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9fdc58012d81ea40061ef6800019009730..."} 
[2026-07-07 09:01:41] local.INFO: Processing buffer {"connection_id":124983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9fdc58012d81ea40061ef6800019009730..."} 
[2026-07-07 09:01:41] local.INFO: Packet analysis {"connection_id":124983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9f"} 
[2026-07-07 09:01:41] local.INFO: Extracted packet for processing {"connection_id":124983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9f"} 
[2026-07-07 09:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763488832,"raw_latitude":102692480,"longitude_deg":76.3488832,"latitude_deg":10.269248,"altitude":25,"angle":151,"satellites":48,"speed":5,"hex_longitude":"2d81ea40","hex_latitude":"061ef680","is_valid_coordinates":true} 
[2026-07-07 09:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549110272001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340741848903450624,"note":"Value kept but may cause issues"} 
[2026-07-07 09:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9087771440534028288,"note":"Value kept but may cause issues"} 
[2026-07-07 09:01:41] 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-07-07 09:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783394983000,"timestamp_ms":1783394983000,"timestamp_seconds":1783394983,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9fdc58"} 
[2026-07-07 09:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 09:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09: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-07-07 09:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549110272001,"66":27713,"157":206,"79":21504,"24":5,"16":340741848903450624,"45":-9087771440534028288},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-07-07 09:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549110272001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:01:41] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:01:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 09:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340741848903450624,"km_value":340741848903450.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9087771440534028288,"description":"Unknown IO ID 45"} 
[2026-07-07 09:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549110272001,"power":27713,"unknown_157":206,"unknown_79":21504,"ignition":5,"odometer":null,"unknown_45":-9087771440534028288}} 
[2026-07-07 09:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":124983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:01:41] local.INFO: GPS data processed {"connection_id":124983,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:01:41] local.INFO: Acknowledgment sent {"connection_id":124983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:01:55] local.INFO: TCP Data received {"connection_id":124986,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:01:55] local.INFO: Processing buffer {"connection_id":124986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:01:55] local.INFO: IMEI packet received {"connection_id":124986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":124986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:02:01] local.INFO: TCP Data received {"connection_id":124986,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:02:01] local.INFO: Processing buffer {"connection_id":124986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:02:01] local.INFO: IMEI packet received {"connection_id":124986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":124986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:02:02] local.INFO: TCP Data received {"connection_id":124986,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9fc100012d7b4ac005ebff38001000f629..."} 
[2026-07-07 09:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9fc100012d7b4ac005ebff38001000f629..."} 
[2026-07-07 09:02:02] local.INFO: Processing buffer {"connection_id":124986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9fc100012d7b4ac005ebff38001000f629..."} 
[2026-07-07 09:02:02] local.INFO: Packet analysis {"connection_id":124986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9f"} 
[2026-07-07 09:02:02] local.INFO: Extracted packet for processing {"connection_id":124986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9f"} 
[2026-07-07 09:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763054784,"raw_latitude":99352376,"longitude_deg":76.3054784,"latitude_deg":9.9352376,"altitude":16,"angle":246,"satellites":41,"speed":27,"hex_longitude":"2d7b4ac0","hex_latitude":"05ebff38","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549110528001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103272170804740096,"note":"Value kept but may cause issues"} 
[2026-07-07 09:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893905602050021376,"note":"Value kept but may cause issues"} 
[2026-07-07 09:02:02] 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-07-07 09:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783394976000,"timestamp_ms":1783394976000,"timestamp_seconds":1783394976,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9fc100"} 
[2026-07-07 09:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 09:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549110528001,"66":13428,"155":206,"87":13824,"24":27,"16":103272170804740096,"45":8893905602050021376},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-07 09:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549110528001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:02:02] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-07 09:02:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103272170804740096,"km_value":103272170804740.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893905602050021376,"description":"Unknown IO ID 45"} 
[2026-07-07 09:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549110528001,"power":13428,"unknown_155":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8893905602050021376}} 
[2026-07-07 09:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":124986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:02:02] local.INFO: GPS data processed {"connection_id":124986,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:02:02] local.INFO: Acknowledgment sent {"connection_id":124986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:02:04] local.INFO: TCP Data received {"connection_id":124197,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:02:04] local.INFO: Processing buffer {"connection_id":124197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:02:04] local.INFO: IMEI packet received {"connection_id":124197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":124197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:02:09] local.INFO: TCP Data received {"connection_id":124197,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:02:09] local.INFO: Processing buffer {"connection_id":124197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:02:09] local.INFO: IMEI packet received {"connection_id":124197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":124197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:02:11] local.INFO: TCP Data received {"connection_id":124197,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa02690012d81f540061ee5100017008930..."} 
[2026-07-07 09:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa02690012d81f540061ee5100017008930..."} 
[2026-07-07 09:02:11] local.INFO: Processing buffer {"connection_id":124197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa02690012d81f540061ee5100017008930..."} 
[2026-07-07 09:02:11] local.INFO: Packet analysis {"connection_id":124197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa0"} 
[2026-07-07 09:02:11] local.INFO: Extracted packet for processing {"connection_id":124197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa0"} 
[2026-07-07 09:02:11] local.INFO: GPS Element Parsed {"raw_longitude":763491648,"raw_latitude":102688016,"longitude_deg":76.3491648,"latitude_deg":10.2688016,"altitude":23,"angle":137,"satellites":48,"speed":5,"hex_longitude":"2d81f540","hex_latitude":"061ee510","is_valid_coordinates":true} 
[2026-07-07 09:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549115648001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340742106601488384,"note":"Value kept but may cause issues"} 
[2026-07-07 09:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9085378903233101824,"note":"Value kept but may cause issues"} 
[2026-07-07 09:02: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-07-07 09:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783395002000,"timestamp_ms":1783395002000,"timestamp_seconds":1783395002,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa02690"} 
[2026-07-07 09:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:02: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-07-07 09: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-07 09:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549115648001,"66":27865,"157":206,"79":21504,"24":5,"16":340742106601488384,"45":-9085378903233101824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-07-07 09:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549115648001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:02:11] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:02:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 09:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340742106601488384,"km_value":340742106601488.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9085378903233101824,"description":"Unknown IO ID 45"} 
[2026-07-07 09:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549115648001,"power":27865,"unknown_157":206,"unknown_79":21504,"ignition":5,"odometer":null,"unknown_45":-9085378903233101824}} 
[2026-07-07 09:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":124197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:02:11] local.INFO: GPS data processed {"connection_id":124197,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:02:11] local.INFO: Acknowledgment sent {"connection_id":124197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:02:33] local.INFO: TCP Data received {"connection_id":124986,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a9fefe0012d7b2b0005ebef70001100f32a..."} 
[2026-07-07 09:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a9fefe0012d7b2b0005ebef70001100f32a..."} 
[2026-07-07 09:02:33] local.INFO: Processing buffer {"connection_id":124986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a9fefe0012d7b2b0005ebef70001100f32a..."} 
[2026-07-07 09:02:33] local.INFO: Packet analysis {"connection_id":124986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a9f"} 
[2026-07-07 09:02:33] local.INFO: Extracted packet for processing {"connection_id":124986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a9f"} 
[2026-07-07 09:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763046656,"raw_latitude":99348336,"longitude_deg":76.3046656,"latitude_deg":9.9348336,"altitude":17,"angle":243,"satellites":42,"speed":31,"hex_longitude":"2d7b2b00","hex_latitude":"05ebef70","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549113856001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103272604596436992,"note":"Value kept but may cause issues"} 
[2026-07-07 09:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884124346608465920,"note":"Value kept but may cause issues"} 
[2026-07-07 09:02:33] 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-07-07 09:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783394988000,"timestamp_ms":1783394988000,"timestamp_seconds":1783394988,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a9fefe0"} 
[2026-07-07 09:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:02: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-07-07 09: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-07 09:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:02: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-07-07 09:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549113856001,"66":13243,"155":206,"87":13824,"24":31,"16":103272604596436992,"45":8884124346608465920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-07 09:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549113856001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:02:33] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-07 09:02:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103272604596436992,"km_value":103272604596436.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884124346608465920,"description":"Unknown IO ID 45"} 
[2026-07-07 09:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549113856001,"power":13243,"unknown_155":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8884124346608465920}} 
[2026-07-07 09:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":124986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:02:33] local.INFO: GPS data processed {"connection_id":124986,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:02:33] local.INFO: Acknowledgment sent {"connection_id":124986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:02:55] local.INFO: TCP Data received {"connection_id":126204,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:02:55] local.INFO: Processing buffer {"connection_id":126204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:02:55] local.INFO: IMEI packet received {"connection_id":126204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":126204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:02:59] local.INFO: TCP Data received {"connection_id":124287,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:02:59] local.INFO: Processing buffer {"connection_id":124287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:02:59] local.INFO: IMEI packet received {"connection_id":124287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":124287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:03:00] local.INFO: TCP Data received {"connection_id":124287,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:03:00] local.INFO: Processing buffer {"connection_id":124287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:03:00] local.INFO: IMEI packet received {"connection_id":124287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":124287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:03:01] local.INFO: TCP Data received {"connection_id":126204,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:03:01] local.INFO: Processing buffer {"connection_id":126204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:03:01] local.INFO: IMEI packet received {"connection_id":126204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":126204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:03:02] local.INFO: TCP Data received {"connection_id":126204,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa27850012d7a5a4005eb93c8000c00ff25..."} 
[2026-07-07 09:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa27850012d7a5a4005eb93c8000c00ff25..."} 
[2026-07-07 09:03:02] local.INFO: Processing buffer {"connection_id":126204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa27850012d7a5a4005eb93c8000c00ff25..."} 
[2026-07-07 09:03:02] local.INFO: Packet analysis {"connection_id":126204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa2"} 
[2026-07-07 09:03:02] local.INFO: Extracted packet for processing {"connection_id":126204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa2"} 
[2026-07-07 09:03:02] local.INFO: GPS Element Parsed {"raw_longitude":762993216,"raw_latitude":99324872,"longitude_deg":76.2993216,"latitude_deg":9.9324872,"altitude":12,"angle":255,"satellites":37,"speed":9,"hex_longitude":"2d7a5a40","hex_latitude":"05eb93c8","is_valid_coordinates":true} 
[2026-07-07 09:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549154048001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103275409210081280,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817274039632728064,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:02] 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-07-07 09:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783395154000,"timestamp_ms":1783395154000,"timestamp_seconds":1783395154,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa27850"} 
[2026-07-07 09:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 09:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937405,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:02] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3890675712,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:02] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2703009793,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:02] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2556428303,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765526222,"corrected_to":0} 
[2026-07-07 09:03:02] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3221613476,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:02] local.WARNING: Large IO value detected {"io_id":155,"raw_value":58079734643818528,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3954284544,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:02] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,161,87,24,241,157,16,232,159,212,45,64,149,12,36,10,66,130,192,34,110,128,1,240,221,227,58,235,4,113,205,11,226,134,39,239,52,155,2,5,15,32],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":765526222,"validated":0}]} 
[2026-07-07 09:03:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864969459515785216,"timestamp_seconds":864969459515785.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 09:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549154048001,"66":12472,"163":206,"87":13824,"24":9,"16":103275409210081280,"45":8817274039632728064},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-07 09:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549154048001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:03:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 09:03:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103275409210081280,"km_value":103275409210081.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817274039632728064,"description":"Unknown IO ID 45"} 
[2026-07-07 09:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549154048001,"power":12472,"unknown_163":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8817274039632728064}} 
[2026-07-07 09:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":126204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:03:02] local.INFO: GPS data processed {"connection_id":126204,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:03:02] local.INFO: Acknowledgment sent {"connection_id":126204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:03:04] local.INFO: TCP Data received {"connection_id":124287,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:03:04] local.INFO: Processing buffer {"connection_id":124287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:03:04] local.INFO: IMEI packet received {"connection_id":124287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":124287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:03:05] local.INFO: TCP Data received {"connection_id":124287,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa07898012d8204c0061ed1980019008a30..."} 
[2026-07-07 09:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa07898012d8204c0061ed1980019008a30..."} 
[2026-07-07 09:03:05] local.INFO: Processing buffer {"connection_id":124287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa07898012d8204c0061ed1980019008a30..."} 
[2026-07-07 09:03:05] local.INFO: Packet analysis {"connection_id":124287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa0"} 
[2026-07-07 09:03:05] local.INFO: Extracted packet for processing {"connection_id":124287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa0"} 
[2026-07-07 09:03:05] local.INFO: GPS Element Parsed {"raw_longitude":763495616,"raw_latitude":102683032,"longitude_deg":76.3495616,"latitude_deg":10.2683032,"altitude":25,"angle":138,"satellites":48,"speed":14,"hex_longitude":"2d8204c0","hex_latitude":"061ed198","is_valid_coordinates":true} 
[2026-07-07 09:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549120512001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340742415839133696,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9082282678490427392,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:05] 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-07-07 09:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783395023000,"timestamp_ms":1783395023000,"timestamp_seconds":1783395023,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa07898"} 
[2026-07-07 09:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 09:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549120512001,"66":27767,"157":206,"79":21504,"24":14,"16":340742415839133696,"45":-9082282678490427392},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-07-07 09:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549120512001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:03:05] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:03:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 09:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340742415839133696,"km_value":340742415839133.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9082282678490427392,"description":"Unknown IO ID 45"} 
[2026-07-07 09:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549120512001,"power":27767,"unknown_157":206,"unknown_79":21504,"ignition":14,"odometer":null,"unknown_45":-9082282678490427392}} 
[2026-07-07 09:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":124287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:03:05] local.INFO: GPS data processed {"connection_id":124287,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:03:05] local.INFO: Acknowledgment sent {"connection_id":124287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:03:19] local.INFO: TCP Data received {"connection_id":124288,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124288,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:03:19] local.INFO: Processing buffer {"connection_id":124288,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:03:19] local.INFO: IMEI packet received {"connection_id":124288,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":124288,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:03:20] local.INFO: TCP Data received {"connection_id":124288,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa29b78012d0c350007075628001300e223..."} 
[2026-07-07 09:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa29b78012d0c350007075628001300e223..."} 
[2026-07-07 09:03:20] local.INFO: Processing buffer {"connection_id":124288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa29b78012d0c350007075628001300e223..."} 
[2026-07-07 09:03:20] local.INFO: Packet analysis {"connection_id":124288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa2"} 
[2026-07-07 09:03:20] local.INFO: Extracted packet for processing {"connection_id":124288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa2"} 
[2026-07-07 09:03:20] local.INFO: GPS Element Parsed {"raw_longitude":755774720,"raw_latitude":117921320,"longitude_deg":75.577472,"latitude_deg":11.792132,"altitude":19,"angle":226,"satellites":35,"speed":14,"hex_longitude":"2d0c3500","hex_latitude":"07075628","is_valid_coordinates":true} 
[2026-07-07 09:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549161472001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23306214829981696,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879890807385448448,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783395163000,"timestamp_ms":1783395163000,"timestamp_seconds":1783395163,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa29b78"} 
[2026-07-07 09:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 09:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124288,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124288,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549161472001,"66":14515,"221":206,"94":10240,"24":14,"16":23306214829981696,"45":879890807385448448},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-07 09:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549161472001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:03:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 09:03:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23306214829981696,"km_value":23306214829981.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":879890807385448448,"description":"Unknown IO ID 45"} 
[2026-07-07 09:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549161472001,"power":14515,"unknown_221":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":879890807385448448}} 
[2026-07-07 09:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":124288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444517,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:03:20] local.INFO: GPS data processed {"connection_id":124288,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:03:20] local.INFO: Acknowledgment sent {"connection_id":124288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:03:33] local.INFO: TCP Data received {"connection_id":126204,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa287f0012d7a55c005eb92f0000d010d24..."} 
[2026-07-07 09:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa287f0012d7a55c005eb92f0000d010d24..."} 
[2026-07-07 09:03:33] local.INFO: Processing buffer {"connection_id":126204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa287f0012d7a55c005eb92f0000d010d24..."} 
[2026-07-07 09:03:33] local.INFO: Packet analysis {"connection_id":126204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa2"} 
[2026-07-07 09:03:33] local.INFO: Extracted packet for processing {"connection_id":126204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa2"} 
[2026-07-07 09:03:33] local.INFO: GPS Element Parsed {"raw_longitude":762992064,"raw_latitude":99324656,"longitude_deg":76.2992064,"latitude_deg":9.9324656,"altitude":13,"angle":269,"satellites":36,"speed":12,"hex_longitude":"2d7a55c0","hex_latitude":"05eb92f0","is_valid_coordinates":true} 
[2026-07-07 09:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549159424001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103275465044656128,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816429614702512128,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:33] 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-07-07 09:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783395158000,"timestamp_ms":1783395158000,"timestamp_seconds":1783395158,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa287f0"} 
[2026-07-07 09:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:03: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-07-07 09:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 09:03:33] 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-07-07 09:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:03: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-07-07 09:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549159424001,"66":13091,"163":206,"87":13824,"24":12,"16":103275465044656128,"45":8816429614702512128},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-07 09:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549159424001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:03:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 09:03:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103275465044656128,"km_value":103275465044656.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816429614702512128,"description":"Unknown IO ID 45"} 
[2026-07-07 09:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549159424001,"power":13091,"unknown_163":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8816429614702512128}} 
[2026-07-07 09:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":126204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:03:33] local.INFO: GPS data processed {"connection_id":126204,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:03:33] local.INFO: Acknowledgment sent {"connection_id":126204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:03:35] local.INFO: TCP Data received {"connection_id":126205,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:03:35] local.INFO: Processing buffer {"connection_id":126205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:03:35] local.INFO: IMEI packet received {"connection_id":126205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":126205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:03:40] local.INFO: TCP Data received {"connection_id":124287,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa0caa0012d821340061ec1c80019008b30..."} 
[2026-07-07 09:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa0caa0012d821340061ec1c80019008b30..."} 
[2026-07-07 09:03:40] local.INFO: Processing buffer {"connection_id":124287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa0caa0012d821340061ec1c80019008b30..."} 
[2026-07-07 09:03:40] local.INFO: Packet analysis {"connection_id":124287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa0"} 
[2026-07-07 09:03:40] local.INFO: Extracted packet for processing {"connection_id":124287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa0"} 
[2026-07-07 09:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763499328,"raw_latitude":102678984,"longitude_deg":76.3499328,"latitude_deg":10.2678984,"altitude":25,"angle":139,"satellites":48,"speed":13,"hex_longitude":"2d821340","hex_latitude":"061ec1c8","is_valid_coordinates":true} 
[2026-07-07 09:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549125888001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340742677832138752,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9077919816352688128,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:40] 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-07-07 09:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783395044000,"timestamp_ms":1783395044000,"timestamp_seconds":1783395044,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa0caa0"} 
[2026-07-07 09:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549125888001,"66":27832,"157":206,"79":21504,"24":13,"16":340742677832138752,"45":-9077919816352688128},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-07-07 09:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549125888001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:03:40] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:03:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 09:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340742677832138752,"km_value":340742677832138.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9077919816352688128,"description":"Unknown IO ID 45"} 
[2026-07-07 09:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549125888001,"power":27832,"unknown_157":206,"unknown_79":21504,"ignition":13,"odometer":null,"unknown_45":-9077919816352688128}} 
[2026-07-07 09:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":124287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:03:40] local.INFO: GPS data processed {"connection_id":124287,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:03:40] local.INFO: Acknowledgment sent {"connection_id":124287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:03:52] local.INFO: TCP Data received {"connection_id":124288,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa36e68012d0bae4007071858001200fe23..."} 
[2026-07-07 09:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa36e68012d0bae4007071858001200fe23..."} 
[2026-07-07 09:03:52] local.INFO: Processing buffer {"connection_id":124288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa36e68012d0bae4007071858001200fe23..."} 
[2026-07-07 09:03:52] local.INFO: Packet analysis {"connection_id":124288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa3"} 
[2026-07-07 09:03:52] local.INFO: Extracted packet for processing {"connection_id":124288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa3"} 
[2026-07-07 09:03:52] local.INFO: GPS Element Parsed {"raw_longitude":755740224,"raw_latitude":117905496,"longitude_deg":75.5740224,"latitude_deg":11.7905496,"altitude":18,"angle":254,"satellites":35,"speed":26,"hex_longitude":"2d0bae40","hex_latitude":"07071858","is_valid_coordinates":true} 
[2026-07-07 09:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549175296001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23308392378400768,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842525004223008768,"note":"Value kept but may cause issues"} 
[2026-07-07 09:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783395217000,"timestamp_ms":1783395217000,"timestamp_seconds":1783395217,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa36e68"} 
[2026-07-07 09:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:03:52] 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-07-07 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 09:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124288,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124288,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549175296001,"66":14407,"163":206,"94":10240,"24":26,"16":23308392378400768,"45":842525004223008768},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-07 09:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549175296001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:03:52] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 09:03:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23308392378400768,"km_value":23308392378400.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":842525004223008768,"description":"Unknown IO ID 45"} 
[2026-07-07 09:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549175296001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":842525004223008768}} 
[2026-07-07 09:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":124288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444520,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:03:52] local.INFO: GPS data processed {"connection_id":124288,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:03:52] local.INFO: Acknowledgment sent {"connection_id":124288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:03:59] local.INFO: TCP Data received {"connection_id":126206,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:03:59] local.INFO: Processing buffer {"connection_id":126206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:03:59] local.INFO: IMEI packet received {"connection_id":126206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":126206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:03:59] local.INFO: TCP Data received {"connection_id":126207,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:03:59] local.INFO: Processing buffer {"connection_id":126207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:03:59] local.INFO: IMEI packet received {"connection_id":126207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":126207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:04:02] local.INFO: TCP Data received {"connection_id":126206,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:04:02] local.INFO: Processing buffer {"connection_id":126206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:04:02] local.INFO: IMEI packet received {"connection_id":126206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":126206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:04:03] local.INFO: TCP Data received {"connection_id":124289,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:04:03] local.INFO: Processing buffer {"connection_id":124289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:04:03] local.INFO: IMEI packet received {"connection_id":124289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":124289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:04:04] local.INFO: TCP Data received {"connection_id":126206,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:04:04] local.INFO: Processing buffer {"connection_id":126206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:04:04] local.INFO: IMEI packet received {"connection_id":126206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":126206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:04:05] local.INFO: TCP Data received {"connection_id":126206,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa2d9f8012d831540061de0f8000d00742f..."} 
[2026-07-07 09:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa2d9f8012d831540061de0f8000d00742f..."} 
[2026-07-07 09:04:05] local.INFO: Processing buffer {"connection_id":126206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa2d9f8012d831540061de0f8000d00742f..."} 
[2026-07-07 09:04:05] local.INFO: Packet analysis {"connection_id":126206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa2"} 
[2026-07-07 09:04:05] local.INFO: Extracted packet for processing {"connection_id":126206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa2"} 
[2026-07-07 09:04:05] local.INFO: GPS Element Parsed {"raw_longitude":763565376,"raw_latitude":102621432,"longitude_deg":76.3565376,"latitude_deg":10.2621432,"altitude":13,"angle":116,"satellites":47,"speed":52,"hex_longitude":"2d831540","hex_latitude":"061de0f8","is_valid_coordinates":true} 
[2026-07-07 09:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549164032001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340746951324598272,"note":"Value kept but may cause issues"} 
[2026-07-07 09:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9010295453212702720,"note":"Value kept but may cause issues"} 
[2026-07-07 09:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783395179000,"timestamp_ms":1783395179000,"timestamp_seconds":1783395179,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa2d9f8"} 
[2026-07-07 09:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 09:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549164032001,"66":27865,"119":206,"79":21504,"24":52,"16":340746951324598272,"45":-9010295453212702720},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,79,24,16,45]} 
[2026-07-07 09:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549164032001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:04:05] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-07 09:04:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 09:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340746951324598272,"km_value":340746951324598.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9010295453212702720,"description":"Unknown IO ID 45"} 
[2026-07-07 09:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549164032001,"power":27865,"unknown_119":206,"unknown_79":21504,"ignition":52,"odometer":null,"unknown_45":-9010295453212702720}} 
[2026-07-07 09:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":126206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:04:05] local.INFO: GPS data processed {"connection_id":126206,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:04:05] local.INFO: Acknowledgment sent {"connection_id":126206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:04:05] local.INFO: TCP Data received {"connection_id":124289,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:04:05] local.INFO: Processing buffer {"connection_id":124289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:04:05] local.INFO: IMEI packet received {"connection_id":124289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":124289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:04:11] local.INFO: TCP Data received {"connection_id":124289,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:04:11] local.INFO: Processing buffer {"connection_id":124289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:04:11] local.INFO: IMEI packet received {"connection_id":124289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":124289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:04:15] local.INFO: TCP Data received {"connection_id":126208,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126208,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:04:15] local.INFO: Processing buffer {"connection_id":126208,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:04:15] local.INFO: IMEI packet received {"connection_id":126208,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":126208,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:04:20] local.INFO: TCP Data received {"connection_id":126208,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126208,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:04:20] local.INFO: Processing buffer {"connection_id":126208,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:04:20] local.INFO: IMEI packet received {"connection_id":126208,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":126208,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:04:21] local.INFO: TCP Data received {"connection_id":126208,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa37638012d0ba90007071670001200ef23..."} 
[2026-07-07 09:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa37638012d0ba90007071670001200ef23..."} 
[2026-07-07 09:04:21] local.INFO: Processing buffer {"connection_id":126208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa37638012d0ba90007071670001200ef23..."} 
[2026-07-07 09:04:21] local.INFO: Packet analysis {"connection_id":126208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa3"} 
[2026-07-07 09:04:21] local.INFO: Extracted packet for processing {"connection_id":126208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa3"} 
[2026-07-07 09:04:21] local.INFO: GPS Element Parsed {"raw_longitude":755738880,"raw_latitude":117905008,"longitude_deg":75.573888,"latitude_deg":11.7905008,"altitude":18,"angle":239,"satellites":35,"speed":26,"hex_longitude":"2d0ba900","hex_latitude":"07071670","is_valid_coordinates":true} 
[2026-07-07 09:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549175552001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23308456802910208,"note":"Value kept but may cause issues"} 
[2026-07-07 09:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841680579292846080,"note":"Value kept but may cause issues"} 
[2026-07-07 09:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783395219000,"timestamp_ms":1783395219000,"timestamp_seconds":1783395219,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa37638"} 
[2026-07-07 09:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 09:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549175552001,"66":14439,"163":206,"94":10240,"24":26,"16":23308456802910208,"45":841680579292846080},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-07 09:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549175552001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:04:21] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 09:04:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23308456802910208,"km_value":23308456802910.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":841680579292846080,"description":"Unknown IO ID 45"} 
[2026-07-07 09:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549175552001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":841680579292846080}} 
[2026-07-07 09:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":126208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444522,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:04:21] local.INFO: GPS data processed {"connection_id":126208,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:04:21] local.INFO: Acknowledgment sent {"connection_id":126208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:04:25] local.INFO: TCP Data received {"connection_id":124289,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa28bd8012d7a54c005eb9328000d011b24..."} 
[2026-07-07 09:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa28bd8012d7a54c005eb9328000d011b24..."} 
[2026-07-07 09:04:25] local.INFO: Processing buffer {"connection_id":124289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa28bd8012d7a54c005eb9328000d011b24..."} 
[2026-07-07 09:04:25] local.INFO: Packet analysis {"connection_id":124289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa2"} 
[2026-07-07 09:04:25] local.INFO: Extracted packet for processing {"connection_id":124289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa2"} 
[2026-07-07 09:04:25] local.INFO: GPS Element Parsed {"raw_longitude":762991808,"raw_latitude":99324712,"longitude_deg":76.2991808,"latitude_deg":9.9324712,"altitude":13,"angle":283,"satellites":36,"speed":12,"hex_longitude":"2d7a54c0","hex_latitude":"05eb9328","is_valid_coordinates":true} 
[2026-07-07 09:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549160448001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103275477929558016,"note":"Value kept but may cause issues"} 
[2026-07-07 09:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815162977307258880,"note":"Value kept but may cause issues"} 
[2026-07-07 09:04:25] 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-07-07 09:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783395159000,"timestamp_ms":1783395159000,"timestamp_seconds":1783395159,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa28bd8"} 
[2026-07-07 09:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:04: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-07-07 09:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 09:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":124289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":124289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":124289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549160448001,"66":13091,"163":206,"87":13824,"24":12,"16":103275477929558016,"45":8815162977307258880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-07 09:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549160448001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:04:25] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 09:04:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103275477929558016,"km_value":103275477929558.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815162977307258880,"description":"Unknown IO ID 45"} 
[2026-07-07 09:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549160448001,"power":13091,"unknown_163":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8815162977307258880}} 
[2026-07-07 09:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":124289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:04:25] local.INFO: GPS data processed {"connection_id":124289,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:04:25] local.INFO: Acknowledgment sent {"connection_id":124289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:04:26] local.INFO: TCP Data received {"connection_id":124289,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa28fc0012d7a53c005eb93a8000d012f24..."} 
[2026-07-07 09:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa28fc0012d7a53c005eb93a8000d012f24..."} 
[2026-07-07 09:04:26] local.INFO: Processing buffer {"connection_id":124289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa28fc0012d7a53c005eb93a8000d012f24..."} 
[2026-07-07 09:04:26] local.INFO: Packet analysis {"connection_id":124289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa2"} 
[2026-07-07 09:04:26] local.INFO: Extracted packet for processing {"connection_id":124289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa2"} 
[2026-07-07 09:04:26] local.INFO: GPS Element Parsed {"raw_longitude":762991552,"raw_latitude":99324840,"longitude_deg":76.2991552,"latitude_deg":9.932484,"altitude":13,"angle":303,"satellites":36,"speed":10,"hex_longitude":"2d7a53c0","hex_latitude":"05eb93a8","is_valid_coordinates":true} 
[2026-07-07 09:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549160704001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103275490814459904,"note":"Value kept but may cause issues"} 
[2026-07-07 09:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814881502330562560,"note":"Value kept but may cause issues"} 
[2026-07-07 09:04:26] 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-07-07 09:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783395160000,"timestamp_ms":1783395160000,"timestamp_seconds":1783395160,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa28fc0"} 
[2026-07-07 09:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:04: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-07-07 09:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 09:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":124289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":124289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":124289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549160704001,"66":12917,"163":206,"87":13824,"24":10,"16":103275490814459904,"45":8814881502330562560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-07 09:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549160704001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:04:26] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 09:04:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103275490814459904,"km_value":103275490814459.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814881502330562560,"description":"Unknown IO ID 45"} 
[2026-07-07 09:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549160704001,"power":12917,"unknown_163":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8814881502330562560}} 
[2026-07-07 09:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":124289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:04:26] local.INFO: GPS data processed {"connection_id":124289,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:04:26] local.INFO: Acknowledgment sent {"connection_id":124289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:04:36] local.INFO: TCP Data received {"connection_id":126206,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa2f938012d8338c0061dcfb8000c00742c..."} 
[2026-07-07 09:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa2f938012d8338c0061dcfb8000c00742c..."} 
[2026-07-07 09:04:36] local.INFO: Processing buffer {"connection_id":126206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa2f938012d8338c0061dcfb8000c00742c..."} 
[2026-07-07 09:04:36] local.INFO: Packet analysis {"connection_id":126206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa2"} 
[2026-07-07 09:04:36] local.INFO: Extracted packet for processing {"connection_id":126206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa2"} 
[2026-07-07 09:04:36] local.INFO: GPS Element Parsed {"raw_longitude":763574464,"raw_latitude":102617016,"longitude_deg":76.3574464,"latitude_deg":10.2617016,"altitude":12,"angle":116,"satellites":44,"speed":46,"hex_longitude":"2d8338c0","hex_latitude":"061dcfb8","is_valid_coordinates":true} 
[2026-07-07 09:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549165824001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340747432360935424,"note":"Value kept but may cause issues"} 
[2026-07-07 09:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9001217885214803968,"note":"Value kept but may cause issues"} 
[2026-07-07 09:04:36] 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-07-07 09:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783395187000,"timestamp_ms":1783395187000,"timestamp_seconds":1783395187,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa2f938"} 
[2026-07-07 09:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 09:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549165824001,"66":27865,"117":206,"79":21504,"24":46,"16":340747432360935424,"45":-9001217885214803968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-07-07 09:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549165824001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:04:36] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-07 09:04:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 09:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340747432360935424,"km_value":340747432360935.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9001217885214803968,"description":"Unknown IO ID 45"} 
[2026-07-07 09:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549165824001,"power":27865,"unknown_117":206,"unknown_79":21504,"ignition":46,"odometer":null,"unknown_45":-9001217885214803968}} 
[2026-07-07 09:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":126206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:04:36] local.INFO: GPS data processed {"connection_id":126206,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:04:36] local.INFO: Acknowledgment sent {"connection_id":126206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:04:54] local.INFO: TCP Data received {"connection_id":126208,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa381f0012d0ba0c0070712c8001100fe22..."} 
[2026-07-07 09:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa381f0012d0ba0c0070712c8001100fe22..."} 
[2026-07-07 09:04:54] local.INFO: Processing buffer {"connection_id":126208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa381f0012d0ba0c0070712c8001100fe22..."} 
[2026-07-07 09:04:54] local.INFO: Packet analysis {"connection_id":126208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa3"} 
[2026-07-07 09:04:54] local.INFO: Extracted packet for processing {"connection_id":126208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa3"} 
[2026-07-07 09:04:54] local.INFO: GPS Element Parsed {"raw_longitude":755736768,"raw_latitude":117904072,"longitude_deg":75.5736768,"latitude_deg":11.7904072,"altitude":17,"angle":254,"satellites":34,"speed":32,"hex_longitude":"2d0ba0c0","hex_latitude":"070712c8","is_valid_coordinates":true} 
[2026-07-07 09:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549176064001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23308568472059904,"note":"Value kept but may cause issues"} 
[2026-07-07 09:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840202835664990208,"note":"Value kept but may cause issues"} 
[2026-07-07 09:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783395222000,"timestamp_ms":1783395222000,"timestamp_seconds":1783395222,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa381f0"} 
[2026-07-07 09:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 09:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":126208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":126208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":126208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549176064001,"66":14439,"163":206,"94":10240,"24":32,"16":23308568472059904,"45":840202835664990208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-07 09:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549176064001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:04:54] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 09:04:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23308568472059904,"km_value":23308568472059.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":840202835664990208,"description":"Unknown IO ID 45"} 
[2026-07-07 09:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549176064001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":840202835664990208}} 
[2026-07-07 09:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":126208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444526,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:04:54] local.INFO: GPS data processed {"connection_id":126208,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:04:54] local.INFO: Acknowledgment sent {"connection_id":126208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:04:55] local.INFO: TCP Data received {"connection_id":124290,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:04:55] local.INFO: Processing buffer {"connection_id":124290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:04:55] local.INFO: IMEI packet received {"connection_id":124290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":124290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:04:56] local.INFO: TCP Data received {"connection_id":124290,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:04:56] local.INFO: Processing buffer {"connection_id":124290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:04:56] local.INFO: IMEI packet received {"connection_id":124290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":124290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:05:01] local.INFO: TCP Data received {"connection_id":124290,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:05:01] local.INFO: Processing buffer {"connection_id":124290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:05:01] local.INFO: IMEI packet received {"connection_id":124290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":124290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:05:02] local.INFO: TCP Data received {"connection_id":124290,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa293a8012d7a530005eb9470000d014124..."} 
[2026-07-07 09:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa293a8012d7a530005eb9470000d014124..."} 
[2026-07-07 09:05:02] local.INFO: Processing buffer {"connection_id":124290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa293a8012d7a530005eb9470000d014124..."} 
[2026-07-07 09:05:02] local.INFO: Packet analysis {"connection_id":124290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa2"} 
[2026-07-07 09:05:02] local.INFO: Extracted packet for processing {"connection_id":124290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa2"} 
[2026-07-07 09:05:02] local.INFO: GPS Element Parsed {"raw_longitude":762991360,"raw_latitude":99325040,"longitude_deg":76.299136,"latitude_deg":9.932504,"altitude":13,"angle":321,"satellites":36,"speed":11,"hex_longitude":"2d7a5300","hex_latitude":"05eb9470","is_valid_coordinates":true} 
[2026-07-07 09:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549160960001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103275507994329088,"note":"Value kept but may cause issues"} 
[2026-07-07 09:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814600027353884672,"note":"Value kept but may cause issues"} 
[2026-07-07 09:05:02] 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-07-07 09:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783395161000,"timestamp_ms":1783395161000,"timestamp_seconds":1783395161,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa293a8"} 
[2026-07-07 09:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 09:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549160960001,"66":12982,"163":206,"87":13824,"24":11,"16":103275507994329088,"45":8814600027353884672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-07 09:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549160960001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:05:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 09:05:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103275507994329088,"km_value":103275507994329.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814600027353884672,"description":"Unknown IO ID 45"} 
[2026-07-07 09:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549160960001,"power":12982,"unknown_163":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8814600027353884672}} 
[2026-07-07 09:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":124290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:05:02] local.INFO: GPS data processed {"connection_id":124290,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:05:02] local.INFO: Acknowledgment sent {"connection_id":124290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:05:11] local.INFO: TCP Data received {"connection_id":126209,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:05:11] local.INFO: Processing buffer {"connection_id":126209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:05:11] local.INFO: IMEI packet received {"connection_id":126209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":126209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:05:12] local.INFO: TCP Data received {"connection_id":126209,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:05:12] local.INFO: Processing buffer {"connection_id":126209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:05:12] local.INFO: IMEI packet received {"connection_id":126209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":126209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:05:14] local.INFO: TCP Data received {"connection_id":126209,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:05:14] local.INFO: Processing buffer {"connection_id":126209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:05:14] local.INFO: IMEI packet received {"connection_id":126209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":126209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:05:19] local.INFO: TCP Data received {"connection_id":126209,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:05:19] local.INFO: Processing buffer {"connection_id":126209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:05:19] local.INFO: IMEI packet received {"connection_id":126209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":126209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:05:20] local.INFO: TCP Data received {"connection_id":124198,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124198,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:05:20] local.INFO: Processing buffer {"connection_id":124198,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:05:20] local.INFO: IMEI packet received {"connection_id":124198,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":124198,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:05:21] local.INFO: TCP Data received {"connection_id":126209,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa31878012d835a40061dbef8000c007330..."} 
[2026-07-07 09:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa31878012d835a40061dbef8000c007330..."} 
[2026-07-07 09:05:21] local.INFO: Processing buffer {"connection_id":126209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa31878012d835a40061dbef8000c007330..."} 
[2026-07-07 09:05:21] local.INFO: Packet analysis {"connection_id":126209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa3"} 
[2026-07-07 09:05:21] local.INFO: Extracted packet for processing {"connection_id":126209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa3"} 
[2026-07-07 09:05:21] local.INFO: GPS Element Parsed {"raw_longitude":763583040,"raw_latitude":102612728,"longitude_deg":76.358304,"latitude_deg":10.2612728,"altitude":12,"angle":115,"satellites":48,"speed":48,"hex_longitude":"2d835a40","hex_latitude":"061dbef8","is_valid_coordinates":true} 
[2026-07-07 09:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549167872001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340747896217403392,"note":"Value kept but may cause issues"} 
[2026-07-07 09:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991225523542706176,"note":"Value kept but may cause issues"} 
[2026-07-07 09:05:21] 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-07-07 09:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783395195000,"timestamp_ms":1783395195000,"timestamp_seconds":1783395195,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa31878"} 
[2026-07-07 09:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 09:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549167872001,"66":27876,"117":206,"79":21504,"24":48,"16":340747896217403392,"45":-8991225523542706176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-07-07 09:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549167872001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:05:21] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-07 09:05:21] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 09:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340747896217403392,"km_value":340747896217403.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991225523542706176,"description":"Unknown IO ID 45"} 
[2026-07-07 09:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549167872001,"power":27876,"unknown_117":206,"unknown_79":21504,"ignition":48,"odometer":null,"unknown_45":-8991225523542706176}} 
[2026-07-07 09:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":126209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:05:21] local.INFO: GPS data processed {"connection_id":126209,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:05:21] local.INFO: Acknowledgment sent {"connection_id":126209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:05:25] local.INFO: TCP Data received {"connection_id":124198,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124198,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:05:25] local.INFO: Processing buffer {"connection_id":124198,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:05:25] local.INFO: IMEI packet received {"connection_id":124198,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":124198,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:05:26] local.INFO: TCP Data received {"connection_id":124198,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa47bf0012d0af800070675c0000f00ec20..."} 
[2026-07-07 09:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa47bf0012d0af800070675c0000f00ec20..."} 
[2026-07-07 09:05:26] local.INFO: Processing buffer {"connection_id":124198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa47bf0012d0af800070675c0000f00ec20..."} 
[2026-07-07 09:05:26] local.INFO: Packet analysis {"connection_id":124198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa4"} 
[2026-07-07 09:05:26] local.INFO: Extracted packet for processing {"connection_id":124198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa4"} 
[2026-07-07 09:05:26] local.INFO: GPS Element Parsed {"raw_longitude":755693568,"raw_latitude":117863872,"longitude_deg":75.5693568,"latitude_deg":11.7863872,"altitude":15,"angle":236,"satellites":32,"speed":15,"hex_longitude":"2d0af800","hex_latitude":"070675c0","is_valid_coordinates":true} 
[2026-07-07 09:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549192960001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23311647963611136,"note":"Value kept but may cause issues"} 
[2026-07-07 09:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790733608497618944,"note":"Value kept but may cause issues"} 
[2026-07-07 09:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783395286000,"timestamp_ms":1783395286000,"timestamp_seconds":1783395286,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa47bf0"} 
[2026-07-07 09:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 09:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":124198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":124198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":124198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549192960001,"66":14515,"163":206,"94":10240,"24":15,"16":23311647963611136,"45":790733608497618944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-07 09:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549192960001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:05:26] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 09:05:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23311647963611136,"km_value":23311647963611.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":790733608497618944,"description":"Unknown IO ID 45"} 
[2026-07-07 09:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549192960001,"power":14515,"unknown_163":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":790733608497618944}} 
[2026-07-07 09:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":124198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444529,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:05:26] local.INFO: GPS data processed {"connection_id":124198,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:05:26] local.INFO: Acknowledgment sent {"connection_id":124198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:05:28] local.INFO: TCP Data received {"connection_id":124198,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa48f78012d0af1c0070672f0000f00f820..."} 
[2026-07-07 09:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa48f78012d0af1c0070672f0000f00f820..."} 
[2026-07-07 09:05:28] local.INFO: Processing buffer {"connection_id":124198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa48f78012d0af1c0070672f0000f00f820..."} 
[2026-07-07 09:05:28] local.INFO: Packet analysis {"connection_id":124198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa4"} 
[2026-07-07 09:05:28] local.INFO: Extracted packet for processing {"connection_id":124198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa4"} 
[2026-07-07 09:05:28] local.INFO: GPS Element Parsed {"raw_longitude":755691968,"raw_latitude":117863152,"longitude_deg":75.5691968,"latitude_deg":11.7863152,"altitude":15,"angle":248,"satellites":32,"speed":15,"hex_longitude":"2d0af1c0","hex_latitude":"070672f0","is_valid_coordinates":true} 
[2026-07-07 09:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549193216001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23311733862957056,"note":"Value kept but may cause issues"} 
[2026-07-07 09:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790381764776673280,"note":"Value kept but may cause issues"} 
[2026-07-07 09:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783395291000,"timestamp_ms":1783395291000,"timestamp_seconds":1783395291,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa48f78"} 
[2026-07-07 09:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 09:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549193216001,"66":14439,"163":206,"94":10240,"24":15,"16":23311733862957056,"45":790381764776673280},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-07 09:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549193216001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:05:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 09:05:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23311733862957056,"km_value":23311733862957.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":790381764776673280,"description":"Unknown IO ID 45"} 
[2026-07-07 09:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549193216001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":790381764776673280}} 
[2026-07-07 09:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":124198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444530,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:05:29] local.INFO: GPS data processed {"connection_id":124198,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:05:29] local.INFO: Acknowledgment sent {"connection_id":124198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:05:32] local.INFO: TCP Data received {"connection_id":124290,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa29b78012d7a520005eb9680000d015624..."} 
[2026-07-07 09:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa29b78012d7a520005eb9680000d015624..."} 
[2026-07-07 09:05:32] local.INFO: Processing buffer {"connection_id":124290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa29b78012d7a520005eb9680000d015624..."} 
[2026-07-07 09:05:32] local.INFO: Packet analysis {"connection_id":124290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa2"} 
[2026-07-07 09:05:32] local.INFO: Extracted packet for processing {"connection_id":124290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa2"} 
[2026-07-07 09:05:32] local.INFO: GPS Element Parsed {"raw_longitude":762991104,"raw_latitude":99325568,"longitude_deg":76.2991104,"latitude_deg":9.9325568,"altitude":13,"angle":342,"satellites":36,"speed":10,"hex_longitude":"2d7a5200","hex_latitude":"05eb9680","is_valid_coordinates":true} 
[2026-07-07 09:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549161216001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103275533764132864,"note":"Value kept but may cause issues"} 
[2026-07-07 09:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814388921121402880,"note":"Value kept but may cause issues"} 
[2026-07-07 09:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783395163000,"timestamp_ms":1783395163000,"timestamp_seconds":1783395163,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa29b78"} 
[2026-07-07 09:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:05: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-07-07 09:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-07 09:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549161216001,"66":13124,"163":206,"87":13824,"24":10,"16":103275533764132864,"45":8814388921121402880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-07 09:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549161216001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:05:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 09:05:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103275533764132864,"km_value":103275533764132.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814388921121402880,"description":"Unknown IO ID 45"} 
[2026-07-07 09:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549161216001,"power":13124,"unknown_163":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8814388921121402880}} 
[2026-07-07 09:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":124290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:05:33] local.INFO: GPS data processed {"connection_id":124290,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:05:33] local.INFO: Acknowledgment sent {"connection_id":124290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:05:55] local.INFO: TCP Data received {"connection_id":126210,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:05:55] local.INFO: Processing buffer {"connection_id":126210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:05:55] local.INFO: IMEI packet received {"connection_id":126210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":126210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:05:56] local.INFO: TCP Data received {"connection_id":126210,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:05:56] local.INFO: Processing buffer {"connection_id":126210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:05:56] local.INFO: IMEI packet received {"connection_id":126210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":126210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:05:59] local.INFO: TCP Data received {"connection_id":126210,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:05:59] local.INFO: Processing buffer {"connection_id":126210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:05:59] local.INFO: IMEI packet received {"connection_id":126210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":126210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:05:59] local.INFO: TCP Data received {"connection_id":126212,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:05:59] local.INFO: Processing buffer {"connection_id":126212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:05:59] local.INFO: IMEI packet received {"connection_id":126212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":126212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:06:00] local.INFO: TCP Data received {"connection_id":124198,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa49b30012d0aef4007067180001000eb22..."} 
[2026-07-07 09:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa49b30012d0aef4007067180001000eb22..."} 
[2026-07-07 09:06:00] local.INFO: Processing buffer {"connection_id":124198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa49b30012d0aef4007067180001000eb22..."} 
[2026-07-07 09:06:00] local.INFO: Packet analysis {"connection_id":124198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa4"} 
[2026-07-07 09:06:00] local.INFO: Extracted packet for processing {"connection_id":124198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa4"} 
[2026-07-07 09:06:00] local.INFO: GPS Element Parsed {"raw_longitude":755691328,"raw_latitude":117862784,"longitude_deg":75.5691328,"latitude_deg":11.7862784,"altitude":16,"angle":235,"satellites":34,"speed":5,"hex_longitude":"2d0aef40","hex_latitude":"07067180","is_valid_coordinates":true} 
[2026-07-07 09:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549194496001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23311768222695424,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788622546172047360,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783395294000,"timestamp_ms":1783395294000,"timestamp_seconds":1783395294,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa49b30"} 
[2026-07-07 09:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 09:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549194496001,"66":14548,"163":206,"94":10240,"24":5,"16":23311768222695424,"45":788622546172047360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-07 09:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549194496001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:06:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 09:06:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23311768222695424,"km_value":23311768222695.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":788622546172047360,"description":"Unknown IO ID 45"} 
[2026-07-07 09:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549194496001,"power":14548,"unknown_163":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":788622546172047360}} 
[2026-07-07 09:06:00] local.INFO: TCP Data received {"connection_id":126210,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa523e8012d79fb0005ec68480004015925..."} 
[2026-07-07 09:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa523e8012d79fb0005ec68480004015925..."} 
[2026-07-07 09:06:00] local.INFO: Processing buffer {"connection_id":126210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa523e8012d79fb0005ec68480004015925..."} 
[2026-07-07 09:06:00] local.INFO: Packet analysis {"connection_id":126210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa5"} 
[2026-07-07 09:06:00] local.INFO: Extracted packet for processing {"connection_id":126210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa5"} 
[2026-07-07 09:06:00] local.INFO: GPS Element Parsed {"raw_longitude":762968832,"raw_latitude":99379272,"longitude_deg":76.2968832,"latitude_deg":9.9379272,"altitude":4,"angle":345,"satellites":37,"speed":22,"hex_longitude":"2d79fb00","hex_latitude":"05ec6848","is_valid_coordinates":true} 
[2026-07-07 09:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549199616001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103278377032482816,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792785716670464000,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783395329000,"timestamp_ms":1783395329000,"timestamp_seconds":1783395329,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa523e8"} 
[2026-07-07 09:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:06:00] 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-07-07 09:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-07 09:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549199616001,"66":12613,"157":206,"87":13824,"24":22,"16":103278377032482816,"45":8792785716670464000},"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-07-07 09:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549199616001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:06:00] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:06:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103278377032482816,"km_value":103278377032482.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792785716670464000,"description":"Unknown IO ID 45"} 
[2026-07-07 09:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549199616001,"power":12613,"unknown_157":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8792785716670464000}} 
[2026-07-07 09:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":124198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444532,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:06:00] local.INFO: GPS data processed {"connection_id":124198,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:06:00] local.INFO: Acknowledgment sent {"connection_id":124198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":126210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:06:00] local.INFO: GPS data processed {"connection_id":126210,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:06:00] local.INFO: Acknowledgment sent {"connection_id":126210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:06:01] local.INFO: TCP Data received {"connection_id":126212,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:06:01] local.INFO: Processing buffer {"connection_id":126212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:06:01] local.INFO: IMEI packet received {"connection_id":126212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":126212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:06:02] local.INFO: TCP Data received {"connection_id":126212,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa46c50012d849180061ce668001200a22e..."} 
[2026-07-07 09:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa46c50012d849180061ce668001200a22e..."} 
[2026-07-07 09:06:02] local.INFO: Processing buffer {"connection_id":126212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa46c50012d849180061ce668001200a22e..."} 
[2026-07-07 09:06:02] local.INFO: Packet analysis {"connection_id":126212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa4"} 
[2026-07-07 09:06:02] local.INFO: Extracted packet for processing {"connection_id":126212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa4"} 
[2026-07-07 09:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763662720,"raw_latitude":102557288,"longitude_deg":76.366272,"latitude_deg":10.2557288,"altitude":18,"angle":162,"satellites":46,"speed":39,"hex_longitude":"2d849180","hex_latitude":"061ce668","is_valid_coordinates":true} 
[2026-07-07 09:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549189888001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340752736645545984,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8897705462543716352,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783395282000,"timestamp_ms":1783395282000,"timestamp_seconds":1783395282,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa46c50"} 
[2026-07-07 09:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 09:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549189888001,"66":27767,"96":206,"79":21504,"24":39,"16":340752736645545984,"45":-8897705462543716352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,79,24,16,45]} 
[2026-07-07 09:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549189888001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:06:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 09:06:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 09:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340752736645545984,"km_value":340752736645546.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8897705462543716352,"description":"Unknown IO ID 45"} 
[2026-07-07 09:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549189888001,"power":27767,"unknown_96":206,"unknown_79":21504,"ignition":39,"odometer":null,"unknown_45":-8897705462543716352}} 
[2026-07-07 09:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":126212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:06:02] local.INFO: GPS data processed {"connection_id":126212,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:06:02] local.INFO: Acknowledgment sent {"connection_id":126212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:06:14] local.INFO: TCP Data received {"connection_id":124291,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124291,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:06:14] local.INFO: Processing buffer {"connection_id":124291,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:06:14] local.INFO: IMEI packet received {"connection_id":124291,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":124291,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:06:15] local.INFO: TCP Data received {"connection_id":124291,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124291,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:06:15] local.INFO: Processing buffer {"connection_id":124291,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:06:15] local.INFO: IMEI packet received {"connection_id":124291,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":124291,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:06:20] local.INFO: TCP Data received {"connection_id":124291,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124291,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:06:20] local.INFO: Processing buffer {"connection_id":124291,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:06:20] local.INFO: IMEI packet received {"connection_id":124291,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":124291,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:06:21] local.INFO: TCP Data received {"connection_id":124291,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa4be58012d0aee8007066f40000f00a722..."} 
[2026-07-07 09:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa4be58012d0aee8007066f40000f00a722..."} 
[2026-07-07 09:06:21] local.INFO: Processing buffer {"connection_id":124291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa4be58012d0aee8007066f40000f00a722..."} 
[2026-07-07 09:06:21] local.INFO: Packet analysis {"connection_id":124291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa4"} 
[2026-07-07 09:06:21] local.INFO: Extracted packet for processing {"connection_id":124291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa4"} 
[2026-07-07 09:06:21] local.INFO: GPS Element Parsed {"raw_longitude":755691136,"raw_latitude":117862208,"longitude_deg":75.5691136,"latitude_deg":11.7862208,"altitude":15,"angle":167,"satellites":34,"speed":9,"hex_longitude":"2d0aee80","hex_latitude":"07066f40","is_valid_coordinates":true} 
[2026-07-07 09:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549195264001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23311802582433792,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787918858730176512,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783395303000,"timestamp_ms":1783395303000,"timestamp_seconds":1783395303,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa4be58"} 
[2026-07-07 09:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 09:06:21] 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-07-07 09:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549195264001,"66":14515,"163":206,"94":10240,"24":9,"16":23311802582433792,"45":787918858730176512},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-07 09:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549195264001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:06:21] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 09:06:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23311802582433792,"km_value":23311802582433.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":787918858730176512,"description":"Unknown IO ID 45"} 
[2026-07-07 09:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549195264001,"power":14515,"unknown_163":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":787918858730176512}} 
[2026-07-07 09:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":124291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444535,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:06:21] local.INFO: GPS data processed {"connection_id":124291,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:06:21] local.INFO: Acknowledgment sent {"connection_id":124291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:06:31] local.INFO: TCP Data received {"connection_id":126210,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa56e20012d79f90005ec6ea00006000124..."} 
[2026-07-07 09:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa56e20012d79f90005ec6ea00006000124..."} 
[2026-07-07 09:06:31] local.INFO: Processing buffer {"connection_id":126210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa56e20012d79f90005ec6ea00006000124..."} 
[2026-07-07 09:06:31] local.INFO: Packet analysis {"connection_id":126210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa5"} 
[2026-07-07 09:06:31] local.INFO: Extracted packet for processing {"connection_id":126210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa5"} 
[2026-07-07 09:06:31] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99380896,"longitude_deg":76.296832,"latitude_deg":9.9380896,"altitude":6,"angle":1,"satellites":36,"speed":2,"hex_longitude":"2d79f900","hex_latitude":"05ec6ea0","is_valid_coordinates":true} 
[2026-07-07 09:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549204224001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103278467226796032,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789619123184748544,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783395348000,"timestamp_ms":1783395348000,"timestamp_seconds":1783395348,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa56e20"} 
[2026-07-07 09:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-07 09:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549204224001,"66":13363,"157":206,"87":13824,"24":2,"16":103278467226796032,"45":8789619123184748544},"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-07-07 09:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549204224001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:06:31] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:06:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103278467226796032,"km_value":103278467226796.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789619123184748544,"description":"Unknown IO ID 45"} 
[2026-07-07 09:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549204224001,"power":13363,"unknown_157":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8789619123184748544}} 
[2026-07-07 09:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":126210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:06:31] local.INFO: GPS data processed {"connection_id":126210,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:06:31] local.INFO: Acknowledgment sent {"connection_id":126210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:06:35] local.INFO: TCP Data received {"connection_id":126212,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa49360012d849d00061cc2b0001200a02d..."} 
[2026-07-07 09:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa49360012d849d00061cc2b0001200a02d..."} 
[2026-07-07 09:06:35] local.INFO: Processing buffer {"connection_id":126212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa49360012d849d00061cc2b0001200a02d..."} 
[2026-07-07 09:06:35] local.INFO: Packet analysis {"connection_id":126212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa4"} 
[2026-07-07 09:06:35] local.INFO: Extracted packet for processing {"connection_id":126212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa4"} 
[2026-07-07 09:06:35] local.INFO: GPS Element Parsed {"raw_longitude":763665664,"raw_latitude":102548144,"longitude_deg":76.3665664,"latitude_deg":10.2548144,"altitude":18,"angle":160,"satellites":45,"speed":38,"hex_longitude":"2d849d00","hex_latitude":"061cc2b0","is_valid_coordinates":true} 
[2026-07-07 09:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549192192001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340753200502013952,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8894187025336997888,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:35] 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-07-07 09:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783395292000,"timestamp_ms":1783395292000,"timestamp_seconds":1783395292,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa49360"} 
[2026-07-07 09:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549192192001,"66":27767,"115":206,"79":21504,"24":38,"16":340753200502013952,"45":-8894187025336997888},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-07-07 09:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549192192001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:06:35] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 09:06:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 09:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340753200502013952,"km_value":340753200502013.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8894187025336997888,"description":"Unknown IO ID 45"} 
[2026-07-07 09:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549192192001,"power":27767,"unknown_115":206,"unknown_79":21504,"ignition":38,"odometer":null,"unknown_45":-8894187025336997888}} 
[2026-07-07 09:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":126212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:06:35] local.INFO: GPS data processed {"connection_id":126212,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:06:35] local.INFO: Acknowledgment sent {"connection_id":126212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:06:52] local.INFO: TCP Data received {"connection_id":124291,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa4dd98012d0af4c007065e180010009821..."} 
[2026-07-07 09:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa4dd98012d0af4c007065e180010009821..."} 
[2026-07-07 09:06:52] local.INFO: Processing buffer {"connection_id":124291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa4dd98012d0af4c007065e180010009821..."} 
[2026-07-07 09:06:52] local.INFO: Packet analysis {"connection_id":124291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa4"} 
[2026-07-07 09:06:52] local.INFO: Extracted packet for processing {"connection_id":124291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa4"} 
[2026-07-07 09:06:52] local.INFO: GPS Element Parsed {"raw_longitude":755692736,"raw_latitude":117857816,"longitude_deg":75.5692736,"latitude_deg":11.7857816,"altitude":16,"angle":152,"satellites":33,"speed":32,"hex_longitude":"2d0af4c0","hex_latitude":"07065e18","is_valid_coordinates":true} 
[2026-07-07 09:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549197568001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23312030215700480,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787707752497496064,"note":"Value kept but may cause issues"} 
[2026-07-07 09:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783395311000,"timestamp_ms":1783395311000,"timestamp_seconds":1783395311,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa4dd98"} 
[2026-07-07 09:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 09:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549197568001,"66":14548,"163":206,"94":10240,"24":32,"16":23312030215700480,"45":787707752497496064},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-07 09:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549197568001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:06:52] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 09:06:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23312030215700480,"km_value":23312030215700.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":787707752497496064,"description":"Unknown IO ID 45"} 
[2026-07-07 09:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549197568001,"power":14548,"unknown_163":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":787707752497496064}} 
[2026-07-07 09:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":124291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444538,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:06:52] local.INFO: GPS data processed {"connection_id":124291,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:06:52] local.INFO: Acknowledgment sent {"connection_id":124291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:06:56] local.INFO: TCP Data received {"connection_id":124199,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:06:56] local.INFO: Processing buffer {"connection_id":124199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:06:56] local.INFO: IMEI packet received {"connection_id":124199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":124199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:06:59] local.INFO: TCP Data received {"connection_id":124988,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:06:59] local.INFO: Processing buffer {"connection_id":124988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:06:59] local.INFO: IMEI packet received {"connection_id":124988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":124988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:07:01] local.INFO: TCP Data received {"connection_id":124199,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:07:01] local.INFO: Processing buffer {"connection_id":124199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:07:01] local.INFO: IMEI packet received {"connection_id":124199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":124199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:07:02] local.INFO: TCP Data received {"connection_id":124199,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa581a8012d79f84005ec71f80006015825..."} 
[2026-07-07 09:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa581a8012d79f84005ec71f80006015825..."} 
[2026-07-07 09:07:02] local.INFO: Processing buffer {"connection_id":124199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa581a8012d79f84005ec71f80006015825..."} 
[2026-07-07 09:07:02] local.INFO: Packet analysis {"connection_id":124199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa5"} 
[2026-07-07 09:07:02] local.INFO: Extracted packet for processing {"connection_id":124199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa5"} 
[2026-07-07 09:07:02] local.INFO: GPS Element Parsed {"raw_longitude":762968128,"raw_latitude":99381752,"longitude_deg":76.2968128,"latitude_deg":9.9381752,"altitude":6,"angle":344,"satellites":37,"speed":8,"hex_longitude":"2d79f840","hex_latitude":"05ec71f8","is_valid_coordinates":true} 
[2026-07-07 09:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549209088001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103278510176468992,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173231742976,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783395353000,"timestamp_ms":1783395353000,"timestamp_seconds":1783395353,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa581a8"} 
[2026-07-07 09:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 09:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549209088001,"66":12667,"157":206,"87":13824,"24":8,"16":103278510176468992,"45":8789056173231742976},"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-07-07 09:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549209088001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:07:02] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:07:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103278510176468992,"km_value":103278510176468.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173231742976,"description":"Unknown IO ID 45"} 
[2026-07-07 09:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549209088001,"power":12667,"unknown_157":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8789056173231742976}} 
[2026-07-07 09:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":124199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:07:02] local.INFO: GPS data processed {"connection_id":124199,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:07:02] local.INFO: Acknowledgment sent {"connection_id":124199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:07:04] local.INFO: TCP Data received {"connection_id":124988,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:07:04] local.INFO: Processing buffer {"connection_id":124988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:07:04] local.INFO: IMEI packet received {"connection_id":124988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":124988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:07:05] local.INFO: TCP Data received {"connection_id":124988,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa4ba70012d84ac00061ca0e0001600992e..."} 
[2026-07-07 09:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa4ba70012d84ac00061ca0e0001600992e..."} 
[2026-07-07 09:07:05] local.INFO: Processing buffer {"connection_id":124988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa4ba70012d84ac00061ca0e0001600992e..."} 
[2026-07-07 09:07:05] local.INFO: Packet analysis {"connection_id":124988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa4"} 
[2026-07-07 09:07:05] local.INFO: Extracted packet for processing {"connection_id":124988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa4"} 
[2026-07-07 09:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763669504,"raw_latitude":102539488,"longitude_deg":76.3669504,"latitude_deg":10.2539488,"altitude":22,"angle":153,"satellites":46,"speed":33,"hex_longitude":"2d84ac00","hex_latitude":"061ca0e0","is_valid_coordinates":true} 
[2026-07-07 09:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549194752001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340753655768547328,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8890950063107166208,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07:05] 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-07-07 09:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783395302000,"timestamp_ms":1783395302000,"timestamp_seconds":1783395302,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa4ba70"} 
[2026-07-07 09:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549194752001,"66":27832,"115":206,"79":21504,"24":33,"16":340753655768547328,"45":-8890950063107166208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-07-07 09:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549194752001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:07:05] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 09:07:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 09:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340753655768547328,"km_value":340753655768547.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8890950063107166208,"description":"Unknown IO ID 45"} 
[2026-07-07 09:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549194752001,"power":27832,"unknown_115":206,"unknown_79":21504,"ignition":33,"odometer":null,"unknown_45":-8890950063107166208}} 
[2026-07-07 09:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":124988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:07:05] local.INFO: GPS data processed {"connection_id":124988,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:07:05] local.INFO: Acknowledgment sent {"connection_id":124988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:07:05] local.INFO: TCP Data received {"connection_id":124988,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa4e568012d84bc80061c80c0001900992f..."} 
[2026-07-07 09:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa4e568012d84bc80061c80c0001900992f..."} 
[2026-07-07 09:07:05] local.INFO: Processing buffer {"connection_id":124988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa4e568012d84bc80061c80c0001900992f..."} 
[2026-07-07 09:07:05] local.INFO: Packet analysis {"connection_id":124988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa4"} 
[2026-07-07 09:07:05] local.INFO: Extracted packet for processing {"connection_id":124988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa4"} 
[2026-07-07 09:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763673728,"raw_latitude":102531264,"longitude_deg":76.3673728,"latitude_deg":10.2531264,"altitude":25,"angle":153,"satellites":47,"speed":33,"hex_longitude":"2d84bc80","hex_latitude":"061c80c0","is_valid_coordinates":true} 
[2026-07-07 09:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549197312001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340754102445146112,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8886727938458722304,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07:05] 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-07-07 09:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783395313000,"timestamp_ms":1783395313000,"timestamp_seconds":1783395313,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa4e568"} 
[2026-07-07 09:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 09:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549197312001,"66":27800,"115":206,"79":21504,"24":33,"16":340754102445146112,"45":-8886727938458722304},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-07-07 09:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549197312001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:07:05] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 09:07:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 09:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340754102445146112,"km_value":340754102445146.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8886727938458722304,"description":"Unknown IO ID 45"} 
[2026-07-07 09:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549197312001,"power":27800,"unknown_115":206,"unknown_79":21504,"ignition":33,"odometer":null,"unknown_45":-8886727938458722304}} 
[2026-07-07 09:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":124988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:07:05] local.INFO: GPS data processed {"connection_id":124988,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:07:05] local.INFO: Acknowledgment sent {"connection_id":124988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:07:15] local.INFO: TCP Data received {"connection_id":124292,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124292,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:07:15] local.INFO: Processing buffer {"connection_id":124292,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:07:15] local.INFO: IMEI packet received {"connection_id":124292,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":124292,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:07:20] local.INFO: TCP Data received {"connection_id":124292,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124292,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:07:20] local.INFO: Processing buffer {"connection_id":124292,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:07:20] local.INFO: IMEI packet received {"connection_id":124292,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":124292,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:07:21] local.INFO: TCP Data received {"connection_id":124292,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa50c78012d0b06c007063e98000f009422..."} 
[2026-07-07 09:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa50c78012d0b06c007063e98000f009422..."} 
[2026-07-07 09:07:21] local.INFO: Processing buffer {"connection_id":124292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa50c78012d0b06c007063e98000f009422..."} 
[2026-07-07 09:07:21] local.INFO: Packet analysis {"connection_id":124292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa5"} 
[2026-07-07 09:07:21] local.INFO: Extracted packet for processing {"connection_id":124292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa5"} 
[2026-07-07 09:07:21] local.INFO: GPS Element Parsed {"raw_longitude":755697344,"raw_latitude":117849752,"longitude_deg":75.5697344,"latitude_deg":11.7849752,"altitude":15,"angle":148,"satellites":34,"speed":38,"hex_longitude":"2d0b06c0","hex_latitude":"07063e98","is_valid_coordinates":true} 
[2026-07-07 09:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549199616001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23312476892299264,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789466971100813312,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783395323000,"timestamp_ms":1783395323000,"timestamp_seconds":1783395323,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa50c78"} 
[2026-07-07 09:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 09:07:21] 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-07-07 09:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124292,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124292,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549199616001,"66":14515,"163":206,"94":10240,"24":38,"16":23312476892299264,"45":789466971100813312},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-07 09:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549199616001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:07:21] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 09:07:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23312476892299264,"km_value":23312476892299.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":789466971100813312,"description":"Unknown IO ID 45"} 
[2026-07-07 09:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549199616001,"power":14515,"unknown_163":206,"unknown_94":10240,"ignition":38,"odometer":null,"unknown_45":789466971100813312}} 
[2026-07-07 09:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":124292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444542,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:07:21] local.INFO: GPS data processed {"connection_id":124292,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:07:21] local.INFO: Acknowledgment sent {"connection_id":124292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:07:33] local.INFO: TCP Data received {"connection_id":124199,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa59148012d79f80005ec74900006000b26..."} 
[2026-07-07 09:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa59148012d79f80005ec74900006000b26..."} 
[2026-07-07 09:07:33] local.INFO: Processing buffer {"connection_id":124199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa59148012d79f80005ec74900006000b26..."} 
[2026-07-07 09:07:33] local.INFO: Packet analysis {"connection_id":124199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa5"} 
[2026-07-07 09:07:33] local.INFO: Extracted packet for processing {"connection_id":124199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa5"} 
[2026-07-07 09:07:33] local.INFO: GPS Element Parsed {"raw_longitude":762968064,"raw_latitude":99382416,"longitude_deg":76.2968064,"latitude_deg":9.9382416,"altitude":6,"angle":11,"satellites":38,"speed":6,"hex_longitude":"2d79f800","hex_latitude":"05ec7490","is_valid_coordinates":true} 
[2026-07-07 09:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549210368001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103278544536207360,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788845066999429120,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783395357000,"timestamp_ms":1783395357000,"timestamp_seconds":1783395357,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa59148"} 
[2026-07-07 09:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:07: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-07-07 09: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-07 09:07: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-07-07 09: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-07-07 09:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:07: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-07-07 09:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549210368001,"66":12917,"157":206,"87":13824,"24":6,"16":103278544536207360,"45":8788845066999429120},"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-07-07 09:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549210368001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:07:33] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:07:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103278544536207360,"km_value":103278544536207.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788845066999429120,"description":"Unknown IO ID 45"} 
[2026-07-07 09:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549210368001,"power":12917,"unknown_157":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8788845066999429120}} 
[2026-07-07 09:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":124199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:07:33] local.INFO: GPS data processed {"connection_id":124199,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:07:33] local.INFO: Acknowledgment sent {"connection_id":124199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:07:37] local.INFO: TCP Data received {"connection_id":124988,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa50c78012d84cb80061c6040001a009c2f..."} 
[2026-07-07 09:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa50c78012d84cb80061c6040001a009c2f..."} 
[2026-07-07 09:07:37] local.INFO: Processing buffer {"connection_id":124988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa50c78012d84cb80061c6040001a009c2f..."} 
[2026-07-07 09:07:37] local.INFO: Packet analysis {"connection_id":124988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa5"} 
[2026-07-07 09:07:37] local.INFO: Extracted packet for processing {"connection_id":124988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa5"} 
[2026-07-07 09:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763677568,"raw_latitude":102522944,"longitude_deg":76.3677568,"latitude_deg":10.2522944,"altitude":26,"angle":156,"satellites":47,"speed":39,"hex_longitude":"2d84cb80","hex_latitude":"061c6040","is_valid_coordinates":true} 
[2026-07-07 09:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549200128001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340754549121744896,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8882083601345101824,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07: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-07-07 09:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783395323000,"timestamp_ms":1783395323000,"timestamp_seconds":1783395323,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa50c78"} 
[2026-07-07 09:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:07: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-07-07 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 09:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549200128001,"66":27789,"115":206,"79":21504,"24":39,"16":340754549121744896,"45":-8882083601345101824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-07-07 09:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549200128001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:07:37] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 09:07:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 09:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340754549121744896,"km_value":340754549121744.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8882083601345101824,"description":"Unknown IO ID 45"} 
[2026-07-07 09:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549200128001,"power":27789,"unknown_115":206,"unknown_79":21504,"ignition":39,"odometer":null,"unknown_45":-8882083601345101824}} 
[2026-07-07 09:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":124988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:07:37] local.INFO: GPS data processed {"connection_id":124988,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:07:37] local.INFO: Acknowledgment sent {"connection_id":124988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:07:52] local.INFO: TCP Data received {"connection_id":124292,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa723a0012d0b4e400705ffa8001300e323..."} 
[2026-07-07 09:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa723a0012d0b4e400705ffa8001300e323..."} 
[2026-07-07 09:07:52] local.INFO: Processing buffer {"connection_id":124292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa723a0012d0b4e400705ffa8001300e323..."} 
[2026-07-07 09:07:52] local.INFO: Packet analysis {"connection_id":124292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa7"} 
[2026-07-07 09:07:52] local.INFO: Extracted packet for processing {"connection_id":124292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa7"} 
[2026-07-07 09:07:52] local.INFO: GPS Element Parsed {"raw_longitude":755715648,"raw_latitude":117833640,"longitude_deg":75.5715648,"latitude_deg":11.783364,"altitude":19,"angle":227,"satellites":35,"speed":1,"hex_longitude":"2d0b4e40","hex_latitude":"0705ffa8","is_valid_coordinates":true} 
[2026-07-07 09:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549233920001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23314040260395008,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815151562719647744,"note":"Value kept but may cause issues"} 
[2026-07-07 09:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783395460000,"timestamp_ms":1783395460000,"timestamp_seconds":1783395460,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa723a0"} 
[2026-07-07 09:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:07: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-07-07 09:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-07 09:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124292,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124292,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549233920001,"66":14580,"165":206,"94":10240,"24":1,"16":23314040260395008,"45":815151562719647744},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-07 09:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549233920001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:07:52] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 09:07:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23314040260395008,"km_value":23314040260395.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":815151562719647744,"description":"Unknown IO ID 45"} 
[2026-07-07 09:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549233920001,"power":14580,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":815151562719647744}} 
[2026-07-07 09:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":124292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444545,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:07:52] local.INFO: GPS data processed {"connection_id":124292,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:07:52] local.INFO: Acknowledgment sent {"connection_id":124292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:07:56] local.INFO: TCP Data received {"connection_id":124990,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:07:56] local.INFO: Processing buffer {"connection_id":124990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:07:56] local.INFO: IMEI packet received {"connection_id":124990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":124990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:08:01] local.INFO: TCP Data received {"connection_id":124990,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:08:01] local.INFO: Processing buffer {"connection_id":124990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:08:01] local.INFO: IMEI packet received {"connection_id":124990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":124990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:08:02] local.INFO: TCP Data received {"connection_id":124990,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa59530012d79f84005ec75380006001e26..."} 
[2026-07-07 09:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa59530012d79f84005ec75380006001e26..."} 
[2026-07-07 09:08:02] local.INFO: Processing buffer {"connection_id":124990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa59530012d79f84005ec75380006001e26..."} 
[2026-07-07 09:08:02] local.INFO: Packet analysis {"connection_id":124990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa5"} 
[2026-07-07 09:08:02] local.INFO: Extracted packet for processing {"connection_id":124990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa5"} 
[2026-07-07 09:08:02] local.INFO: GPS Element Parsed {"raw_longitude":762968128,"raw_latitude":99382584,"longitude_deg":76.2968128,"latitude_deg":9.9382584,"altitude":6,"angle":30,"satellites":38,"speed":7,"hex_longitude":"2d79f840","hex_latitude":"05ec7538","is_valid_coordinates":true} 
[2026-07-07 09:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549211392001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103278553126141952,"note":"Value kept but may cause issues"} 
[2026-07-07 09:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788774698255421440,"note":"Value kept but may cause issues"} 
[2026-07-07 09:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783395358000,"timestamp_ms":1783395358000,"timestamp_seconds":1783395358,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa59530"} 
[2026-07-07 09:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 09:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549211392001,"66":12722,"157":206,"87":13824,"24":7,"16":103278553126141952,"45":8788774698255421440},"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-07-07 09:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549211392001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:08:02] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:08:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103278553126141952,"km_value":103278553126141.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788774698255421440,"description":"Unknown IO ID 45"} 
[2026-07-07 09:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549211392001,"power":12722,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8788774698255421440}} 
[2026-07-07 09:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":124990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:08:02] local.INFO: GPS data processed {"connection_id":124990,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:08:02] local.INFO: Acknowledgment sent {"connection_id":124990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:08:04] local.INFO: TCP Data received {"connection_id":124991,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:08:04] local.INFO: Processing buffer {"connection_id":124991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:08:04] local.INFO: IMEI packet received {"connection_id":124991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":124991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:08:10] local.INFO: TCP Data received {"connection_id":124991,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:08:10] local.INFO: Processing buffer {"connection_id":124991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:08:10] local.INFO: IMEI packet received {"connection_id":124991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":124991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:08:11] local.INFO: TCP Data received {"connection_id":124991,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa673d8012d858f80061aff700025009c30..."} 
[2026-07-07 09:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa673d8012d858f80061aff700025009c30..."} 
[2026-07-07 09:08:11] local.INFO: Processing buffer {"connection_id":124991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa673d8012d858f80061aff700025009c30..."} 
[2026-07-07 09:08:11] local.INFO: Packet analysis {"connection_id":124991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa6"} 
[2026-07-07 09:08:11] local.INFO: Extracted packet for processing {"connection_id":124991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa6"} 
[2026-07-07 09:08:11] local.INFO: GPS Element Parsed {"raw_longitude":763727744,"raw_latitude":102432624,"longitude_deg":76.3727744,"latitude_deg":10.2432624,"altitude":37,"angle":156,"satellites":48,"speed":37,"hex_longitude":"2d858f80","hex_latitude":"061aff70","is_valid_coordinates":true} 
[2026-07-07 09:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549223424001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340759578528448512,"note":"Value kept but may cause issues"} 
[2026-07-07 09:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8827758930863022080,"note":"Value kept but may cause issues"} 
[2026-07-07 09:08:11] 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-07-07 09:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783395415000,"timestamp_ms":1783395415000,"timestamp_seconds":1783395415,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa673d8"} 
[2026-07-07 09:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":15,"data_length":795,"current_offset":136} 
[2026-07-07 09:08: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-07-07 09:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549223424001,"66":27974,"113":206,"79":21504,"24":37,"16":340759578528448512,"45":-8827758930863022080},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,79,24,16,45]} 
[2026-07-07 09:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549223424001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:08:11] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 09:08:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 09:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340759578528448512,"km_value":340759578528448.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8827758930863022080,"description":"Unknown IO ID 45"} 
[2026-07-07 09:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549223424001,"power":27974,"unknown_113":206,"unknown_79":21504,"ignition":37,"odometer":null,"unknown_45":-8827758930863022080}} 
[2026-07-07 09:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":124991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:08:11] local.INFO: GPS data processed {"connection_id":124991,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:08:11] local.INFO: Acknowledgment sent {"connection_id":124991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:08:13] local.INFO: TCP Data received {"connection_id":126213,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126213,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:08:13] local.INFO: Processing buffer {"connection_id":126213,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:08:13] local.INFO: IMEI packet received {"connection_id":126213,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":126213,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:08:14] local.INFO: TCP Data received {"connection_id":126213,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126213,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:08:14] local.INFO: Processing buffer {"connection_id":126213,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:08:14] local.INFO: IMEI packet received {"connection_id":126213,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":126213,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:08:15] local.INFO: TCP Data received {"connection_id":126213,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126213,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:08:15] local.INFO: Processing buffer {"connection_id":126213,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:08:15] local.INFO: IMEI packet received {"connection_id":126213,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":126213,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:08:15] local.INFO: TCP Data received {"connection_id":126213,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126213,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:08:15] local.INFO: Processing buffer {"connection_id":126213,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:08:15] local.INFO: IMEI packet received {"connection_id":126213,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":126213,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:08:33] local.INFO: TCP Data received {"connection_id":124990,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa59918012d79f88005ec75c80006002b26..."} 
[2026-07-07 09:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa59918012d79f88005ec75c80006002b26..."} 
[2026-07-07 09:08:33] local.INFO: Processing buffer {"connection_id":124990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa59918012d79f88005ec75c80006002b26..."} 
[2026-07-07 09:08:33] local.INFO: Packet analysis {"connection_id":124990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa5"} 
[2026-07-07 09:08:33] local.INFO: Extracted packet for processing {"connection_id":124990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa5"} 
[2026-07-07 09:08:33] local.INFO: GPS Element Parsed {"raw_longitude":762968192,"raw_latitude":99382728,"longitude_deg":76.2968192,"latitude_deg":9.9382728,"altitude":6,"angle":43,"satellites":38,"speed":7,"hex_longitude":"2d79f880","hex_latitude":"05ec75c8","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549211648001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103278561716076544,"note":"Value kept but may cause issues"} 
[2026-07-07 09:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788845066999642112,"note":"Value kept but may cause issues"} 
[2026-07-07 09:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783395359000,"timestamp_ms":1783395359000,"timestamp_seconds":1783395359,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa59918"} 
[2026-07-07 09:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:08: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-07-07 09: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 09:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:08: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-07-07 09:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549211648001,"66":12722,"157":206,"87":13824,"24":7,"16":103278561716076544,"45":8788845066999642112},"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-07-07 09:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549211648001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:08:33] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:08:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103278561716076544,"km_value":103278561716076.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788845066999642112,"description":"Unknown IO ID 45"} 
[2026-07-07 09:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549211648001,"power":12722,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8788845066999642112}} 
[2026-07-07 09:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":124990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:08:33] local.INFO: GPS data processed {"connection_id":124990,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:08:33] local.INFO: Acknowledgment sent {"connection_id":124990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:08:43] local.INFO: TCP Data received {"connection_id":124991,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa69ae8012d859b00061adb50002700a72d..."} 
[2026-07-07 09:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa69ae8012d859b00061adb50002700a72d..."} 
[2026-07-07 09:08:43] local.INFO: Processing buffer {"connection_id":124991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa69ae8012d859b00061adb50002700a72d..."} 
[2026-07-07 09:08:43] local.INFO: Packet analysis {"connection_id":124991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa6"} 
[2026-07-07 09:08:43] local.INFO: Extracted packet for processing {"connection_id":124991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa6"} 
[2026-07-07 09:08:43] local.INFO: GPS Element Parsed {"raw_longitude":763730688,"raw_latitude":102423376,"longitude_deg":76.3730688,"latitude_deg":10.2423376,"altitude":39,"angle":167,"satellites":45,"speed":37,"hex_longitude":"2d859b00","hex_latitude":"061adb50","is_valid_coordinates":true} 
[2026-07-07 09:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549226240001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340760046679883776,"note":"Value kept but may cause issues"} 
[2026-07-07 09:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8822692381284405248,"note":"Value kept but may cause issues"} 
[2026-07-07 09:08:43] 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-07-07 09:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783395425000,"timestamp_ms":1783395425000,"timestamp_seconds":1783395425,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa69ae8"} 
[2026-07-07 09:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 09:08: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-07-07 09:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549226240001,"66":27745,"113":206,"79":21504,"24":37,"16":340760046679883776,"45":-8822692381284405248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,79,24,16,45]} 
[2026-07-07 09:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549226240001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:08:43] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 09:08:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-07 09:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340760046679883776,"km_value":340760046679883.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8822692381284405248,"description":"Unknown IO ID 45"} 
[2026-07-07 09:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549226240001,"power":27745,"unknown_113":206,"unknown_79":21504,"ignition":37,"odometer":null,"unknown_45":-8822692381284405248}} 
[2026-07-07 09:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":124991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:08:43] local.INFO: GPS data processed {"connection_id":124991,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:08:43] local.INFO: Acknowledgment sent {"connection_id":124991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:08:55] local.INFO: TCP Data received {"connection_id":126214,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:08:55] local.INFO: Processing buffer {"connection_id":126214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:08:55] local.INFO: IMEI packet received {"connection_id":126214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":126214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:08:59] local.INFO: TCP Data received {"connection_id":124293,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:08:59] local.INFO: Processing buffer {"connection_id":124293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:08:59] local.INFO: IMEI packet received {"connection_id":124293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":124293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:09:01] local.INFO: TCP Data received {"connection_id":126214,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:09:01] local.INFO: Processing buffer {"connection_id":126214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:09:01] local.INFO: IMEI packet received {"connection_id":126214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":126214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:09:01] local.INFO: TCP Data received {"connection_id":124293,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:09:01] local.INFO: Processing buffer {"connection_id":124293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:09:01] local.INFO: IMEI packet received {"connection_id":124293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":124293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:09:02] local.INFO: TCP Data received {"connection_id":126214,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa59d00012d79f94005ec76300006003e26..."} 
[2026-07-07 09:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa59d00012d79f94005ec76300006003e26..."} 
[2026-07-07 09:09:02] local.INFO: Processing buffer {"connection_id":126214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa59d00012d79f94005ec76300006003e26..."} 
[2026-07-07 09:09:02] local.INFO: Packet analysis {"connection_id":126214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa5"} 
[2026-07-07 09:09:02] local.INFO: Extracted packet for processing {"connection_id":126214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa5"} 
[2026-07-07 09:09:02] local.INFO: GPS Element Parsed {"raw_longitude":762968384,"raw_latitude":99382832,"longitude_deg":76.2968384,"latitude_deg":9.9382832,"altitude":6,"angle":62,"satellites":38,"speed":6,"hex_longitude":"2d79f940","hex_latitude":"05ec7630","is_valid_coordinates":true} 
[2026-07-07 09:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549211904001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103278570306011136,"note":"Value kept but may cause issues"} 
[2026-07-07 09:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788915435743856640,"note":"Value kept but may cause issues"} 
[2026-07-07 09:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783395360000,"timestamp_ms":1783395360000,"timestamp_seconds":1783395360,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa59d00"} 
[2026-07-07 09:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 09:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549211904001,"66":13059,"157":206,"87":13824,"24":6,"16":103278570306011136,"45":8788915435743856640},"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-07-07 09:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549211904001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:09:02] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:09:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103278570306011136,"km_value":103278570306011.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788915435743856640,"description":"Unknown IO ID 45"} 
[2026-07-07 09:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549211904001,"power":13059,"unknown_157":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8788915435743856640}} 
[2026-07-07 09:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":126214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:09:02] local.INFO: GPS data processed {"connection_id":126214,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:09:02] local.INFO: Acknowledgment sent {"connection_id":126214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:09:04] local.INFO: TCP Data received {"connection_id":124293,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:09:04] local.INFO: Processing buffer {"connection_id":124293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:09:04] local.INFO: IMEI packet received {"connection_id":124293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":124293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:09:05] local.INFO: TCP Data received {"connection_id":124293,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa6ba28012d859e80061abfe8002700b22f..."} 
[2026-07-07 09:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa6ba28012d859e80061abfe8002700b22f..."} 
[2026-07-07 09:09:05] local.INFO: Processing buffer {"connection_id":124293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa6ba28012d859e80061abfe8002700b22f..."} 
[2026-07-07 09:09:05] local.INFO: Packet analysis {"connection_id":124293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa6"} 
[2026-07-07 09:09:05] local.INFO: Extracted packet for processing {"connection_id":124293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa6"} 
[2026-07-07 09:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763731584,"raw_latitude":102416360,"longitude_deg":76.3731584,"latitude_deg":10.241636,"altitude":39,"angle":178,"satellites":47,"speed":34,"hex_longitude":"2d859e80","hex_latitude":"061abfe8","is_valid_coordinates":true} 
[2026-07-07 09:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549228800001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340760390277267456,"note":"Value kept but may cause issues"} 
[2026-07-07 09:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8819455419054600192,"note":"Value kept but may cause issues"} 
[2026-07-07 09:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783395433000,"timestamp_ms":1783395433000,"timestamp_seconds":1783395433,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa6ba28"} 
[2026-07-07 09:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 09:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549228800001,"66":27800,"47":206,"79":46592,"24":34,"16":340760390277267456,"45":-8819455419054600192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,79,24,16,45]} 
[2026-07-07 09:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549228800001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:09:05] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-07 09:09:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340760390277267456,"km_value":340760390277267.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8819455419054600192,"description":"Unknown IO ID 45"} 
[2026-07-07 09:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549228800001,"power":27800,"unknown_47":206,"unknown_79":46592,"ignition":34,"odometer":null,"unknown_45":-8819455419054600192}} 
[2026-07-07 09:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":124293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:09:05] local.INFO: GPS data processed {"connection_id":124293,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:09:05] local.INFO: Acknowledgment sent {"connection_id":124293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:09:15] local.INFO: TCP Data received {"connection_id":124201,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:09:15] local.INFO: Processing buffer {"connection_id":124201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:09:15] local.INFO: IMEI packet received {"connection_id":124201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":124201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:09:33] local.INFO: TCP Data received {"connection_id":126214,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa82570012d7a0c8005ec7f480006003c23..."} 
[2026-07-07 09:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa82570012d7a0c8005ec7f480006003c23..."} 
[2026-07-07 09:09:33] local.INFO: Processing buffer {"connection_id":126214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa82570012d7a0c8005ec7f480006003c23..."} 
[2026-07-07 09:09:33] local.INFO: Packet analysis {"connection_id":126214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa8"} 
[2026-07-07 09:09:33] local.INFO: Extracted packet for processing {"connection_id":126214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa8"} 
[2026-07-07 09:09:33] local.INFO: GPS Element Parsed {"raw_longitude":762973312,"raw_latitude":99385160,"longitude_deg":76.2973312,"latitude_deg":9.938516,"altitude":6,"angle":60,"satellites":35,"speed":0,"hex_longitude":"2d7a0c80","hex_latitude":"05ec7f48","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549249280001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103278836593983488,"note":"Value kept but may cause issues"} 
[2026-07-07 09:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794544935278692352,"note":"Value kept but may cause issues"} 
[2026-07-07 09:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783395526000,"timestamp_ms":1783395526000,"timestamp_seconds":1783395526,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa82570"} 
[2026-07-07 09:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:09: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-07-07 09: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 09:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:09: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-07-07 09:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549249280001,"66":13059,"157":206,"87":13824,"24":0,"16":103278836593983488,"45":8794544935278692352},"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-07-07 09:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549249280001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:09:33] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:09:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103278836593983488,"km_value":103278836593983.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794544935278692352,"description":"Unknown IO ID 45"} 
[2026-07-07 09:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549249280001,"power":13059,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8794544935278692352}} 
[2026-07-07 09:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":126214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:09:33] local.INFO: GPS data processed {"connection_id":126214,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:09:33] local.INFO: Acknowledgment sent {"connection_id":126214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:09:36] local.INFO: TCP Data received {"connection_id":124293,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa6e138012d85a240061a99d8002500af2d..."} 
[2026-07-07 09:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa6e138012d85a240061a99d8002500af2d..."} 
[2026-07-07 09:09:36] local.INFO: Processing buffer {"connection_id":124293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa6e138012d85a240061a99d8002500af2d..."} 
[2026-07-07 09:09:36] local.INFO: Packet analysis {"connection_id":124293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa6"} 
[2026-07-07 09:09:36] local.INFO: Extracted packet for processing {"connection_id":124293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa6"} 
[2026-07-07 09:09:36] local.INFO: GPS Element Parsed {"raw_longitude":763732544,"raw_latitude":102406616,"longitude_deg":76.3732544,"latitude_deg":10.2406616,"altitude":37,"angle":175,"satellites":45,"speed":42,"hex_longitude":"2d85a240","hex_latitude":"061a99d8","is_valid_coordinates":true} 
[2026-07-07 09:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549230848001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340760867018637312,"note":"Value kept but may cause issues"} 
[2026-07-07 09:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8818470256637908992,"note":"Value kept but may cause issues"} 
[2026-07-07 09:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783395443000,"timestamp_ms":1783395443000,"timestamp_seconds":1783395443,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa6e138"} 
[2026-07-07 09:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 09:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549230848001,"66":27658,"47":206,"79":46592,"24":42,"16":340760867018637312,"45":-8818470256637908992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,79,24,16,45]} 
[2026-07-07 09:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549230848001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:09:36] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-07 09:09:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340760867018637312,"km_value":340760867018637.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8818470256637908992,"description":"Unknown IO ID 45"} 
[2026-07-07 09:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549230848001,"power":27658,"unknown_47":206,"unknown_79":46592,"ignition":42,"odometer":null,"unknown_45":-8818470256637908992}} 
[2026-07-07 09:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":124293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:09:36] local.INFO: GPS data processed {"connection_id":124293,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:09:36] local.INFO: Acknowledgment sent {"connection_id":124293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:09:55] local.INFO: TCP Data received {"connection_id":124294,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:09:55] local.INFO: Processing buffer {"connection_id":124294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:09:55] local.INFO: IMEI packet received {"connection_id":124294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":124294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:09:58] local.INFO: TCP Data received {"connection_id":124294,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:09:58] local.INFO: Processing buffer {"connection_id":124294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:09:58] local.INFO: IMEI packet received {"connection_id":124294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":124294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:09:59] local.INFO: TCP Data received {"connection_id":126215,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:09:59] local.INFO: Processing buffer {"connection_id":126215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:09:59] local.INFO: IMEI packet received {"connection_id":126215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":126215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:09:59] local.INFO: TCP Data received {"connection_id":124295,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:09:59] local.INFO: Processing buffer {"connection_id":124295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:09:59] local.INFO: IMEI packet received {"connection_id":124295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":124295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:10:00] local.INFO: TCP Data received {"connection_id":124294,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:10:00] local.INFO: Processing buffer {"connection_id":124294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:10:00] local.INFO: IMEI packet received {"connection_id":124294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":124294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:10:01] local.INFO: TCP Data received {"connection_id":124294,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:10:01] local.INFO: Processing buffer {"connection_id":124294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:10:01] local.INFO: IMEI packet received {"connection_id":124294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":124294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:10:01] local.INFO: TCP Data received {"connection_id":124294,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa87778012d7a0c8005ec7f480006003c21..."} 
[2026-07-07 09:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa87778012d7a0c8005ec7f480006003c21..."} 
[2026-07-07 09:10:01] local.INFO: Processing buffer {"connection_id":124294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa87778012d7a0c8005ec7f480006003c21..."} 
[2026-07-07 09:10:01] local.INFO: Packet analysis {"connection_id":124294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa8"} 
[2026-07-07 09:10:01] local.INFO: Extracted packet for processing {"connection_id":124294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa8"} 
[2026-07-07 09:10:01] local.INFO: GPS Element Parsed {"raw_longitude":762973312,"raw_latitude":99385160,"longitude_deg":76.2973312,"latitude_deg":9.938516,"altitude":6,"angle":60,"satellites":33,"speed":0,"hex_longitude":"2d7a0c80","hex_latitude":"05ec7f48","is_valid_coordinates":true} 
[2026-07-07 09:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549254656001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103278836593983488,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794544935278692352,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783395547000,"timestamp_ms":1783395547000,"timestamp_seconds":1783395547,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa87778"} 
[2026-07-07 09:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:10: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":3,"data_length":795,"current_offset":136} 
[2026-07-07 09:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160999595325,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":58079734643818496,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:01] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:01] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2799521793,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-07 09:10:01] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2147871871,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:01] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3951951872,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967764480,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:01] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,157,87,24,241,16,235,159,211,45,128,127,6,33,10,66,129,34,47,1,240,139,227,58,236,4,113,205,12,72,239,50,2,110,5],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-07 09:10:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432411685249089536,"timestamp_seconds":432411685249089.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 09:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:10: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-07-07 09:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549254656001,"66":13015,"157":206,"87":13824,"24":0,"16":103278836593983488,"45":8794544935278692352},"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-07-07 09:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549254656001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:10:01] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:10:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103278836593983488,"km_value":103278836593983.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794544935278692352,"description":"Unknown IO ID 45"} 
[2026-07-07 09:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549254656001,"power":13015,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8794544935278692352}} 
[2026-07-07 09:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":124294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:10:01] local.INFO: GPS data processed {"connection_id":124294,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:10:01] local.INFO: Acknowledgment sent {"connection_id":124294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:10:05] local.INFO: TCP Data received {"connection_id":124295,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:10:05] local.INFO: Processing buffer {"connection_id":124295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:10:05] local.INFO: IMEI packet received {"connection_id":124295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 09:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":124295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:10:05] local.INFO: TCP Data received {"connection_id":126215,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:10:05] local.INFO: Processing buffer {"connection_id":126215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:10:05] local.INFO: IMEI packet received {"connection_id":126215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":126215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:10:05] local.INFO: TCP Data received {"connection_id":126215,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:10:05] local.INFO: Processing buffer {"connection_id":126215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:10:05] local.INFO: IMEI packet received {"connection_id":126215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":126215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:10:06] local.INFO: TCP Data received {"connection_id":124295,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3a7d7f78012d7fac4005afe0580008014c2a..."} 
[2026-07-07 09:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3a7d7f78012d7fac4005afe0580008014c2a..."} 
[2026-07-07 09:10:06] local.INFO: Processing buffer {"connection_id":124295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3a7d7f78012d7fac4005afe0580008014c2a..."} 
[2026-07-07 09:10:06] local.INFO: Packet analysis {"connection_id":124295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3a7d"} 
[2026-07-07 09:10:06] local.INFO: Extracted packet for processing {"connection_id":124295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3a7d"} 
[2026-07-07 09:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412312,"longitude_deg":76.3341888,"latitude_deg":9.5412312,"altitude":8,"angle":332,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe058","is_valid_coordinates":true} 
[2026-07-07 09:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456548461824001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132039032824659968,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980810240,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783392731000,"timestamp_ms":1783392731000,"timestamp_seconds":1783392731,"priority":1,"record_length":96,"hex_timestamp":"0000019f3a7d7f78"} 
[2026-07-07 09:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 09:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 09:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2202,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124295,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 09:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124295,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 09:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 09:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 09:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456548461824001,"66":26299,"250":206,"85":12544,"24":0,"16":132039032824659968,"45":9199798531980810240},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 09:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 09:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 09:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456548461824001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:10:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 09:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 09:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132039032824659968,"km_value":132039032824659.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980810240,"description":"Unknown IO ID 45"} 
[2026-07-07 09:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456548461824001,"power":26299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980810240}} 
[2026-07-07 09:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":124295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444555,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:10:06] local.INFO: GPS data processed {"connection_id":124295,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:10:06] local.INFO: Acknowledgment sent {"connection_id":124295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:10:06] local.INFO: TCP Data received {"connection_id":126215,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa838f8012d85c1c006190a28001700a62f..."} 
[2026-07-07 09:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa838f8012d85c1c006190a28001700a62f..."} 
[2026-07-07 09:10:06] local.INFO: Processing buffer {"connection_id":126215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa838f8012d85c1c006190a28001700a62f..."} 
[2026-07-07 09:10:06] local.INFO: Packet analysis {"connection_id":126215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa8"} 
[2026-07-07 09:10:06] local.INFO: Extracted packet for processing {"connection_id":126215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa8"} 
[2026-07-07 09:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763740608,"raw_latitude":102304296,"longitude_deg":76.3740608,"latitude_deg":10.2304296,"altitude":23,"angle":166,"satellites":47,"speed":50,"hex_longitude":"2d85c1c0","hex_latitude":"06190a28","is_valid_coordinates":true} 
[2026-07-07 09:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549254144001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340765870655537152,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8810940801037328384,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:06] 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-07-07 09:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783395531000,"timestamp_ms":1783395531000,"timestamp_seconds":1783395531,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa838f8"} 
[2026-07-07 09:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:10: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-07-07 09:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 09:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549254144001,"66":27800,"133":206,"79":46592,"24":50,"16":340765870655537152,"45":-8810940801037328384},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-07-07 09:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549254144001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:10:06] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-07 09:10:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340765870655537152,"km_value":340765870655537.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8810940801037328384,"description":"Unknown IO ID 45"} 
[2026-07-07 09:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549254144001,"power":27800,"unknown_133":206,"unknown_79":46592,"ignition":50,"odometer":null,"unknown_45":-8810940801037328384}} 
[2026-07-07 09:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":126215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:10:06] local.INFO: GPS data processed {"connection_id":126215,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:10:06] local.INFO: Acknowledgment sent {"connection_id":126215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:10:10] local.INFO: TCP Data received {"connection_id":126215,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa85838012d85cb000618e4b8001600a62d..."} 
[2026-07-07 09:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa85838012d85cb000618e4b8001600a62d..."} 
[2026-07-07 09:10:10] local.INFO: Processing buffer {"connection_id":126215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa85838012d85cb000618e4b8001600a62d..."} 
[2026-07-07 09:10:10] local.INFO: Packet analysis {"connection_id":126215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa8"} 
[2026-07-07 09:10:10] local.INFO: Extracted packet for processing {"connection_id":126215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa8"} 
[2026-07-07 09:10:10] local.INFO: GPS Element Parsed {"raw_longitude":763742976,"raw_latitude":102294712,"longitude_deg":76.3742976,"latitude_deg":10.2294712,"altitude":22,"angle":166,"satellites":45,"speed":48,"hex_longitude":"2d85cb00","hex_latitude":"0618e4b8","is_valid_coordinates":true} 
[2026-07-07 09:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549255936001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340766351691874304,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8808548263737546752,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:10] 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-07-07 09:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783395539000,"timestamp_ms":1783395539000,"timestamp_seconds":1783395539,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa85838"} 
[2026-07-07 09:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:10: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-07-07 09: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":152,"data_length":795,"current_offset":136} 
[2026-07-07 09:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549255936001,"66":27821,"133":206,"79":46592,"24":48,"16":340766351691874304,"45":-8808548263737546752},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-07-07 09:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549255936001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:10:10] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-07 09:10:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340766351691874304,"km_value":340766351691874.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8808548263737546752,"description":"Unknown IO ID 45"} 
[2026-07-07 09:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549255936001,"power":27821,"unknown_133":206,"unknown_79":46592,"ignition":48,"odometer":null,"unknown_45":-8808548263737546752}} 
[2026-07-07 09:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":126215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:10:10] local.INFO: GPS data processed {"connection_id":126215,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:10:10] local.INFO: Acknowledgment sent {"connection_id":126215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:10:32] local.INFO: TCP Data received {"connection_id":124294,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa95df0012d7a1bc005ec82f8000800bb28..."} 
[2026-07-07 09:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa95df0012d7a1bc005ec82f8000800bb28..."} 
[2026-07-07 09:10:32] local.INFO: Processing buffer {"connection_id":124294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa95df0012d7a1bc005ec82f8000800bb28..."} 
[2026-07-07 09:10:32] local.INFO: Packet analysis {"connection_id":124294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa9"} 
[2026-07-07 09:10:32] local.INFO: Extracted packet for processing {"connection_id":124294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa9"} 
[2026-07-07 09:10:32] local.INFO: GPS Element Parsed {"raw_longitude":762977216,"raw_latitude":99386104,"longitude_deg":76.2977216,"latitude_deg":9.9386104,"altitude":8,"angle":187,"satellites":40,"speed":5,"hex_longitude":"2d7a1bc0","hex_latitude":"05ec82f8","is_valid_coordinates":true} 
[2026-07-07 09:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549274880001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103279064227250176,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798837428673812480,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783395606000,"timestamp_ms":1783395606000,"timestamp_seconds":1783395606,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa95df0"} 
[2026-07-07 09:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 09:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549274880001,"66":12341,"157":206,"87":13824,"24":5,"16":103279064227250176,"45":8798837428673812480},"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-07-07 09:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549274880001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:10:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:10:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103279064227250176,"km_value":103279064227250.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798837428673812480,"description":"Unknown IO ID 45"} 
[2026-07-07 09:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549274880001,"power":12341,"unknown_157":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8798837428673812480}} 
[2026-07-07 09:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":124294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:10:32] local.INFO: GPS data processed {"connection_id":124294,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:10:32] local.INFO: Acknowledgment sent {"connection_id":124294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:10:41] local.INFO: TCP Data received {"connection_id":126215,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa87778012d85d4000618c130001600a52e..."} 
[2026-07-07 09:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa87778012d85d4000618c130001600a52e..."} 
[2026-07-07 09:10:41] local.INFO: Processing buffer {"connection_id":126215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa87778012d85d4000618c130001600a52e..."} 
[2026-07-07 09:10:41] local.INFO: Packet analysis {"connection_id":126215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa8"} 
[2026-07-07 09:10:41] local.INFO: Extracted packet for processing {"connection_id":126215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa8"} 
[2026-07-07 09:10:41] local.INFO: GPS Element Parsed {"raw_longitude":763745280,"raw_latitude":102285616,"longitude_deg":76.374528,"latitude_deg":10.2285616,"altitude":22,"angle":165,"satellites":46,"speed":45,"hex_longitude":"2d85d400","hex_latitude":"0618c130","is_valid_coordinates":true} 
[2026-07-07 09:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549257984001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340766806958407680,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8805944620205426688,"note":"Value kept but may cause issues"} 
[2026-07-07 09:10: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-07-07 09:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783395547000,"timestamp_ms":1783395547000,"timestamp_seconds":1783395547,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa87778"} 
[2026-07-07 09:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 09:10: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-07-07 09:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549257984001,"66":27767,"133":206,"79":46592,"24":45,"16":340766806958407680,"45":-8805944620205426688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-07-07 09:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549257984001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:10:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-07 09:10:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340766806958407680,"km_value":340766806958407.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8805944620205426688,"description":"Unknown IO ID 45"} 
[2026-07-07 09:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549257984001,"power":27767,"unknown_133":206,"unknown_79":46592,"ignition":45,"odometer":null,"unknown_45":-8805944620205426688}} 
[2026-07-07 09:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":126215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:10:41] local.INFO: GPS data processed {"connection_id":126215,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:10:41] local.INFO: Acknowledgment sent {"connection_id":126215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:11:00] local.INFO: TCP Data received {"connection_id":124202,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:11:00] local.INFO: Processing buffer {"connection_id":124202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:11:00] local.INFO: IMEI packet received {"connection_id":124202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":124202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:11:01] local.INFO: TCP Data received {"connection_id":126216,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:11:01] local.INFO: Processing buffer {"connection_id":126216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:11:01] local.INFO: IMEI packet received {"connection_id":126216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":126216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:11:03] local.INFO: TCP Data received {"connection_id":126216,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:11:03] local.INFO: Processing buffer {"connection_id":126216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:11:03] local.INFO: IMEI packet received {"connection_id":126216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":126216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:11:03] local.INFO: TCP Data received {"connection_id":126216,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa988e8012d7a1bc005ec83480008015f27..."} 
[2026-07-07 09:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa988e8012d7a1bc005ec83480008015f27..."} 
[2026-07-07 09:11:03] local.INFO: Processing buffer {"connection_id":126216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa988e8012d7a1bc005ec83480008015f27..."} 
[2026-07-07 09:11:03] local.INFO: Packet analysis {"connection_id":126216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa9"} 
[2026-07-07 09:11:03] local.INFO: Extracted packet for processing {"connection_id":126216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa9"} 
[2026-07-07 09:11:03] local.INFO: GPS Element Parsed {"raw_longitude":762977216,"raw_latitude":99386184,"longitude_deg":76.2977216,"latitude_deg":9.9386184,"altitude":8,"angle":351,"satellites":39,"speed":1,"hex_longitude":"2d7a1bc0","hex_latitude":"05ec8348","is_valid_coordinates":true} 
[2026-07-07 09:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549275136001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103279077112152064,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798837428673771520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783395617000,"timestamp_ms":1783395617000,"timestamp_seconds":1783395617,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa988e8"} 
[2026-07-07 09:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-07 09:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:11: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-07-07 09:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549275136001,"66":13059,"157":206,"87":13824,"24":1,"16":103279077112152064,"45":8798837428673771520},"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-07-07 09:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549275136001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:11:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:11:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103279077112152064,"km_value":103279077112152.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798837428673771520,"description":"Unknown IO ID 45"} 
[2026-07-07 09:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549275136001,"power":13059,"unknown_157":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8798837428673771520}} 
[2026-07-07 09:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":126216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:11:03] local.INFO: GPS data processed {"connection_id":126216,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:11:03] local.INFO: Acknowledgment sent {"connection_id":126216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:11:04] local.INFO: TCP Data received {"connection_id":124202,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:11:04] local.INFO: Processing buffer {"connection_id":124202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:11:04] local.INFO: IMEI packet received {"connection_id":124202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":124202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:11:06] local.INFO: TCP Data received {"connection_id":126216,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa99888012d7a1c0005ec83d00008014d27..."} 
[2026-07-07 09:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa99888012d7a1c0005ec83d00008014d27..."} 
[2026-07-07 09:11:06] local.INFO: Processing buffer {"connection_id":126216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa99888012d7a1c0005ec83d00008014d27..."} 
[2026-07-07 09:11:06] local.INFO: Packet analysis {"connection_id":126216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa9"} 
[2026-07-07 09:11:06] local.INFO: Extracted packet for processing {"connection_id":126216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa9"} 
[2026-07-07 09:11:06] local.INFO: GPS Element Parsed {"raw_longitude":762977280,"raw_latitude":99386320,"longitude_deg":76.297728,"latitude_deg":9.938632,"altitude":8,"angle":333,"satellites":39,"speed":0,"hex_longitude":"2d7a1c00","hex_latitude":"05ec83d0","is_valid_coordinates":true} 
[2026-07-07 09:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549277952001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103279085702086656,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798837428673792000,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783395621000,"timestamp_ms":1783395621000,"timestamp_seconds":1783395621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa99888"} 
[2026-07-07 09:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 09:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303164824800573,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":58079734643818501,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:06] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:06] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2840737793,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:06] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2227175432,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-07 09:11:06] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2147871877,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:06] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3954900992,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,157,87,24,241,16,235,159,93,45,192,130,8,40,10,66,90,131,41,86,128,1,240,63,227,58,236,4,113,205,6,78,26,239,51,2,110,5],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-07 09:11:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576846848388562944,"timestamp_seconds":576846848388563.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 09:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:11: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-07-07 09:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549277952001,"66":13015,"157":206,"87":13824,"24":0,"16":103279085702086656,"45":8798837428673792000},"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-07-07 09:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549277952001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:11:06] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:11:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103279085702086656,"km_value":103279085702086.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798837428673792000,"description":"Unknown IO ID 45"} 
[2026-07-07 09:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549277952001,"power":13015,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8798837428673792000}} 
[2026-07-07 09:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":126216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:11:06] local.INFO: GPS data processed {"connection_id":126216,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:11:06] local.INFO: Acknowledgment sent {"connection_id":126216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:11:09] local.INFO: TCP Data received {"connection_id":124202,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:11:09] local.INFO: Processing buffer {"connection_id":124202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:11:09] local.INFO: IMEI packet received {"connection_id":124202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":124202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:11:09] local.INFO: TCP Data received {"connection_id":124202,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa89aa0012d85dd4006189c70001500a62d..."} 
[2026-07-07 09:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa89aa0012d85dd4006189c70001500a62d..."} 
[2026-07-07 09:11:09] local.INFO: Processing buffer {"connection_id":124202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa89aa0012d85dd4006189c70001500a62d..."} 
[2026-07-07 09:11:09] local.INFO: Packet analysis {"connection_id":124202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa8"} 
[2026-07-07 09:11:09] local.INFO: Extracted packet for processing {"connection_id":124202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa8"} 
[2026-07-07 09:11:09] local.INFO: GPS Element Parsed {"raw_longitude":763747648,"raw_latitude":102276208,"longitude_deg":76.3747648,"latitude_deg":10.2276208,"altitude":21,"angle":166,"satellites":45,"speed":41,"hex_longitude":"2d85dd40","hex_latitude":"06189c70","is_valid_coordinates":true} 
[2026-07-07 09:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549260032001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340767275109842944,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8803411345417359360,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:09] 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-07-07 09:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783395556000,"timestamp_ms":1783395556000,"timestamp_seconds":1783395556,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa89aa0"} 
[2026-07-07 09:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:11: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-07-07 09:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549260032001,"66":27908,"133":206,"79":46592,"24":41,"16":340767275109842944,"45":-8803411345417359360},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-07-07 09:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549260032001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:11:09] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-07 09:11:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340767275109842944,"km_value":340767275109842.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8803411345417359360,"description":"Unknown IO ID 45"} 
[2026-07-07 09:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549260032001,"power":27908,"unknown_133":206,"unknown_79":46592,"ignition":41,"odometer":null,"unknown_45":-8803411345417359360}} 
[2026-07-07 09:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":124202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:11:09] local.INFO: GPS data processed {"connection_id":124202,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:11:09] local.INFO: Acknowledgment sent {"connection_id":124202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:11:10] local.INFO: TCP Data received {"connection_id":124202,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa8bdc8012d85e54006187a50001500a62e..."} 
[2026-07-07 09:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa8bdc8012d85e54006187a50001500a62e..."} 
[2026-07-07 09:11:10] local.INFO: Processing buffer {"connection_id":124202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa8bdc8012d85e54006187a50001500a62e..."} 
[2026-07-07 09:11:10] local.INFO: Packet analysis {"connection_id":124202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa8"} 
[2026-07-07 09:11:10] local.INFO: Extracted packet for processing {"connection_id":124202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa8"} 
[2026-07-07 09:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763749696,"raw_latitude":102267472,"longitude_deg":76.3749696,"latitude_deg":10.2267472,"altitude":21,"angle":166,"satellites":46,"speed":39,"hex_longitude":"2d85e540","hex_latitude":"06187a50","is_valid_coordinates":true} 
[2026-07-07 09:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549262336001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340767708901539840,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8800807701885194240,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:10] 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-07-07 09:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783395565000,"timestamp_ms":1783395565000,"timestamp_seconds":1783395565,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa8bdc8"} 
[2026-07-07 09:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09: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-07-07 09:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549262336001,"66":27767,"133":206,"79":46592,"24":39,"16":340767708901539840,"45":-8800807701885194240},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-07-07 09:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549262336001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:11:10] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-07 09:11:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340767708901539840,"km_value":340767708901539.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8800807701885194240,"description":"Unknown IO ID 45"} 
[2026-07-07 09:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549262336001,"power":27767,"unknown_133":206,"unknown_79":46592,"ignition":39,"odometer":null,"unknown_45":-8800807701885194240}} 
[2026-07-07 09:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":124202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:11:10] local.INFO: GPS data processed {"connection_id":124202,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:11:10] local.INFO: Acknowledgment sent {"connection_id":124202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:11:20] local.INFO: TCP Data received {"connection_id":124203,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:11:20] local.INFO: Processing buffer {"connection_id":124203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:11:20] local.INFO: IMEI packet received {"connection_id":124203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":124203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:11:37] local.INFO: TCP Data received {"connection_id":126216,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa9c768012d7a1b8005ec83c0000700e029..."} 
[2026-07-07 09:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa9c768012d7a1b8005ec83c0000700e029..."} 
[2026-07-07 09:11:37] local.INFO: Processing buffer {"connection_id":126216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa9c768012d7a1b8005ec83c0000700e029..."} 
[2026-07-07 09:11:37] local.INFO: Packet analysis {"connection_id":126216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa9"} 
[2026-07-07 09:11:37] local.INFO: Extracted packet for processing {"connection_id":126216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa9"} 
[2026-07-07 09:11:37] local.INFO: GPS Element Parsed {"raw_longitude":762977152,"raw_latitude":99386304,"longitude_deg":76.2977152,"latitude_deg":9.9386304,"altitude":7,"angle":224,"satellites":41,"speed":2,"hex_longitude":"2d7a1b80","hex_latitude":"05ec83c0","is_valid_coordinates":true} 
[2026-07-07 09:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549278976001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103279098586988544,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798907797418004480,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783395633000,"timestamp_ms":1783395633000,"timestamp_seconds":1783395633,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa9c768"} 
[2026-07-07 09:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 09:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:11: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-07-07 09:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549278976001,"66":13059,"157":206,"87":13824,"24":2,"16":103279098586988544,"45":8798907797418004480},"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-07-07 09:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549278976001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:11:37] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:11:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103279098586988544,"km_value":103279098586988.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798907797418004480,"description":"Unknown IO ID 45"} 
[2026-07-07 09:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549278976001,"power":13059,"unknown_157":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8798907797418004480}} 
[2026-07-07 09:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":126216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:11:37] local.INFO: GPS data processed {"connection_id":126216,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:11:37] local.INFO: Acknowledgment sent {"connection_id":126216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:11:41] local.INFO: TCP Data received {"connection_id":124202,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa8e0f0012d85ed8006185718001500a52c..."} 
[2026-07-07 09:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa8e0f0012d85ed8006185718001500a52c..."} 
[2026-07-07 09:11:41] local.INFO: Processing buffer {"connection_id":124202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa8e0f0012d85ed8006185718001500a52c..."} 
[2026-07-07 09:11:41] local.INFO: Packet analysis {"connection_id":124202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa8"} 
[2026-07-07 09:11:41] local.INFO: Extracted packet for processing {"connection_id":124202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa8"} 
[2026-07-07 09:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763751808,"raw_latitude":102258456,"longitude_deg":76.3751808,"latitude_deg":10.2258456,"altitude":21,"angle":165,"satellites":44,"speed":44,"hex_longitude":"2d85ed80","hex_latitude":"06185718","is_valid_coordinates":true} 
[2026-07-07 09:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549264640001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340768159873105920,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8798555902073745408,"note":"Value kept but may cause issues"} 
[2026-07-07 09:11: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-07-07 09:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783395574000,"timestamp_ms":1783395574000,"timestamp_seconds":1783395574,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa8e0f0"} 
[2026-07-07 09:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:11: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-07-07 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:11: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-07-07 09:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549264640001,"66":27800,"133":206,"79":46592,"24":44,"16":340768159873105920,"45":-8798555902073745408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-07-07 09:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549264640001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:11:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-07 09:11:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340768159873105920,"km_value":340768159873105.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8798555902073745408,"description":"Unknown IO ID 45"} 
[2026-07-07 09:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549264640001,"power":27800,"unknown_133":206,"unknown_79":46592,"ignition":44,"odometer":null,"unknown_45":-8798555902073745408}} 
[2026-07-07 09:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":124202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:11:41] local.INFO: GPS data processed {"connection_id":124202,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:11:41] local.INFO: Acknowledgment sent {"connection_id":124202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:11:56] local.INFO: TCP Data received {"connection_id":126218,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:11:56] local.INFO: Processing buffer {"connection_id":126218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:11:56] local.INFO: IMEI packet received {"connection_id":126218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":126218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:11:59] local.INFO: TCP Data received {"connection_id":126219,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:11:59] local.INFO: Processing buffer {"connection_id":126219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:11:59] local.INFO: IMEI packet received {"connection_id":126219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":126219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:12:01] local.INFO: TCP Data received {"connection_id":126218,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:12:01] local.INFO: Processing buffer {"connection_id":126218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:12:01] local.INFO: IMEI packet received {"connection_id":126218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":126218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:12:01] local.INFO: TCP Data received {"connection_id":126218,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aa9d320012d7a1a0005ec82a8000700f329..."} 
[2026-07-07 09:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aa9d320012d7a1a0005ec82a8000700f329..."} 
[2026-07-07 09:12:01] local.INFO: Processing buffer {"connection_id":126218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aa9d320012d7a1a0005ec82a8000700f329..."} 
[2026-07-07 09:12:01] local.INFO: Packet analysis {"connection_id":126218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aa9"} 
[2026-07-07 09:12:01] local.INFO: Extracted packet for processing {"connection_id":126218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aa9"} 
[2026-07-07 09:12:01] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":99386024,"longitude_deg":76.2976768,"latitude_deg":9.9386024,"altitude":7,"angle":243,"satellites":41,"speed":9,"hex_longitude":"2d7a1a00","hex_latitude":"05ec82a8","is_valid_coordinates":true} 
[2026-07-07 09:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549282048001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103279120061825024,"note":"Value kept but may cause issues"} 
[2026-07-07 09:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798767059929645056,"note":"Value kept but may cause issues"} 
[2026-07-07 09:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783395636000,"timestamp_ms":1783395636000,"timestamp_seconds":1783395636,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aa9d320"} 
[2026-07-07 09:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 09:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159724526909,"note":"Value kept but may cause issues"} 
[2026-07-07 09:12:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":58079734643818502,"note":"Value kept but may cause issues"} 
[2026-07-07 09:12:01] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-07-07 09:12:01] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2841249793,"note":"Value kept but may cause issues"} 
[2026-07-07 09:12:01] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2207776776,"note":"Value kept but may cause issues"} 
[2026-07-07 09:12:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-07 09:12:01] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2147871876,"note":"Value kept but may cause issues"} 
[2026-07-07 09:12:01] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3955163136,"note":"Value kept but may cause issues"} 
[2026-07-07 09:12:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968122880,"note":"Value kept but may cause issues"} 
[2026-07-07 09:12:01] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,157,87,24,241,16,235,159,152,45,131,8,39,10,66,136,192,93,1,240,53,227,58,236,4,113,205,7,86,27,64,41,239,50,2,110,5,6],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-07 09:12:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504649624963907584,"timestamp_seconds":504649624963907.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 09:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:12: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-07-07 09:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549282048001,"66":13243,"157":206,"87":13824,"24":9,"16":103279120061825024,"45":8798767059929645056},"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-07-07 09:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549282048001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:12:01] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:12:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103279120061825024,"km_value":103279120061825.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798767059929645056,"description":"Unknown IO ID 45"} 
[2026-07-07 09:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549282048001,"power":13243,"unknown_157":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8798767059929645056}} 
[2026-07-07 09:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":126218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:12:01] local.INFO: GPS data processed {"connection_id":126218,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:12:01] local.INFO: Acknowledgment sent {"connection_id":126218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:12:04] local.INFO: TCP Data received {"connection_id":126219,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:12:04] local.INFO: Processing buffer {"connection_id":126219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:12:04] local.INFO: IMEI packet received {"connection_id":126219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":126219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:12:05] local.INFO: TCP Data received {"connection_id":126219,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aaa30e0012d8673800616d650001100962e..."} 
[2026-07-07 09:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aaa30e0012d8673800616d650001100962e..."} 
[2026-07-07 09:12:05] local.INFO: Processing buffer {"connection_id":126219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aaa30e0012d8673800616d650001100962e..."} 
[2026-07-07 09:12:05] local.INFO: Packet analysis {"connection_id":126219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aaa"} 
[2026-07-07 09:12:05] local.INFO: Extracted packet for processing {"connection_id":126219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aaa"} 
[2026-07-07 09:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763786112,"raw_latitude":102159952,"longitude_deg":76.3786112,"latitude_deg":10.2159952,"altitude":17,"angle":150,"satellites":46,"speed":50,"hex_longitude":"2d867380","hex_latitude":"0616d650","is_valid_coordinates":true} 
[2026-07-07 09:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549287168001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340773223639547904,"note":"Value kept but may cause issues"} 
[2026-07-07 09:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8763582636242946048,"note":"Value kept but may cause issues"} 
[2026-07-07 09:12:05] 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-07-07 09:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783395660000,"timestamp_ms":1783395660000,"timestamp_seconds":1783395660,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aaa30e0"} 
[2026-07-07 09:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 09:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549287168001,"66":27843,"131":206,"79":46592,"24":50,"16":340773223639547904,"45":-8763582636242946048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-07-07 09:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549287168001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:12:05] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-07 09:12:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340773223639547904,"km_value":340773223639547.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8763582636242946048,"description":"Unknown IO ID 45"} 
[2026-07-07 09:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549287168001,"power":27843,"unknown_131":206,"unknown_79":46592,"ignition":50,"odometer":null,"unknown_45":-8763582636242946048}} 
[2026-07-07 09:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":126219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:12:05] local.INFO: GPS data processed {"connection_id":126219,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:12:05] local.INFO: Acknowledgment sent {"connection_id":126219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:12:32] local.INFO: TCP Data received {"connection_id":126218,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aaa1970012d7a11c005ec7f68000800ff29..."} 
[2026-07-07 09:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aaa1970012d7a11c005ec7f68000800ff29..."} 
[2026-07-07 09:12:32] local.INFO: Processing buffer {"connection_id":126218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aaa1970012d7a11c005ec7f68000800ff29..."} 
[2026-07-07 09:12:32] local.INFO: Packet analysis {"connection_id":126218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aaa"} 
[2026-07-07 09:12:32] local.INFO: Extracted packet for processing {"connection_id":126218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aaa"} 
[2026-07-07 09:12:32] local.INFO: GPS Element Parsed {"raw_longitude":762974656,"raw_latitude":99385192,"longitude_deg":76.2974656,"latitude_deg":9.9385192,"altitude":8,"angle":255,"satellites":41,"speed":9,"hex_longitude":"2d7a11c0","hex_latitude":"05ec7f68","is_valid_coordinates":true} 
[2026-07-07 09:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549282816001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103279231730974720,"note":"Value kept but may cause issues"} 
[2026-07-07 09:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847464507392,"note":"Value kept but may cause issues"} 
[2026-07-07 09:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783395654000,"timestamp_ms":1783395654000,"timestamp_seconds":1783395654,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aaa1970"} 
[2026-07-07 09:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 09:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549282816001,"66":12961,"157":206,"87":13824,"24":9,"16":103279231730974720,"45":8798344847464507392},"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-07-07 09:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549282816001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:12:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:12:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103279231730974720,"km_value":103279231730974.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847464507392,"description":"Unknown IO ID 45"} 
[2026-07-07 09:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549282816001,"power":12961,"unknown_157":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8798344847464507392}} 
[2026-07-07 09:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":126218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:12:32] local.INFO: GPS data processed {"connection_id":126218,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:12:32] local.INFO: Acknowledgment sent {"connection_id":126218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:12:39] local.INFO: TCP Data received {"connection_id":126219,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aaa5020012d8686400616b5c8001400962d..."} 
[2026-07-07 09:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aaa5020012d8686400616b5c8001400962d..."} 
[2026-07-07 09:12:39] local.INFO: Processing buffer {"connection_id":126219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aaa5020012d8686400616b5c8001400962d..."} 
[2026-07-07 09:12:39] local.INFO: Packet analysis {"connection_id":126219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aaa"} 
[2026-07-07 09:12:39] local.INFO: Extracted packet for processing {"connection_id":126219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aaa"} 
[2026-07-07 09:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763790912,"raw_latitude":102151624,"longitude_deg":76.3790912,"latitude_deg":10.2151624,"altitude":20,"angle":150,"satellites":45,"speed":44,"hex_longitude":"2d868640","hex_latitude":"0616b5c8","is_valid_coordinates":true} 
[2026-07-07 09:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549288960001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340773687496015872,"note":"Value kept but may cause issues"} 
[2026-07-07 09:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8758516086664179712,"note":"Value kept but may cause issues"} 
[2026-07-07 09:12:39] 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-07-07 09:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783395668000,"timestamp_ms":1783395668000,"timestamp_seconds":1783395668,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aaa5020"} 
[2026-07-07 09:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 09:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549288960001,"66":27843,"131":206,"79":46592,"24":44,"16":340773687496015872,"45":-8758516086664179712},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-07-07 09:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549288960001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:12:39] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-07 09:12:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340773687496015872,"km_value":340773687496015.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8758516086664179712,"description":"Unknown IO ID 45"} 
[2026-07-07 09:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549288960001,"power":27843,"unknown_131":206,"unknown_79":46592,"ignition":44,"odometer":null,"unknown_45":-8758516086664179712}} 
[2026-07-07 09:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":126219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:12:39] local.INFO: GPS data processed {"connection_id":126219,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:12:39] local.INFO: Acknowledgment sent {"connection_id":126219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:12:54] local.INFO: TCP Data received {"connection_id":124995,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:12:54] local.INFO: Processing buffer {"connection_id":124995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:12:54] local.INFO: IMEI packet received {"connection_id":124995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":124995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:12:55] local.INFO: TCP Data received {"connection_id":124995,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:12:55] local.INFO: Processing buffer {"connection_id":124995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:12:55] local.INFO: IMEI packet received {"connection_id":124995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":124995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:12:56] local.INFO: TCP Data received {"connection_id":124995,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:12:56] local.INFO: Processing buffer {"connection_id":124995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:12:56] local.INFO: IMEI packet received {"connection_id":124995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":124995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:12:56] local.INFO: TCP Data received {"connection_id":124995,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:12:56] local.INFO: Processing buffer {"connection_id":124995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:12:56] local.INFO: IMEI packet received {"connection_id":124995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":124995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:13:00] local.INFO: TCP Data received {"connection_id":124297,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:13:00] local.INFO: Processing buffer {"connection_id":124297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:13:00] local.INFO: IMEI packet received {"connection_id":124297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":124297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:13:01] local.INFO: TCP Data received {"connection_id":124297,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:13:01] local.INFO: Processing buffer {"connection_id":124297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:13:01] local.INFO: IMEI packet received {"connection_id":124297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":124297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:13:05] local.INFO: TCP Data received {"connection_id":124297,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:13:05] local.INFO: Processing buffer {"connection_id":124297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:13:05] local.INFO: IMEI packet received {"connection_id":124297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":124297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:13:06] local.INFO: TCP Data received {"connection_id":124297,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aaa7348012d86990006169558001600962e..."} 
[2026-07-07 09:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aaa7348012d86990006169558001600962e..."} 
[2026-07-07 09:13:06] local.INFO: Processing buffer {"connection_id":124297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aaa7348012d86990006169558001600962e..."} 
[2026-07-07 09:13:06] local.INFO: Packet analysis {"connection_id":124297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aaa"} 
[2026-07-07 09:13:06] local.INFO: Extracted packet for processing {"connection_id":124297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aaa"} 
[2026-07-07 09:13:06] local.INFO: GPS Element Parsed {"raw_longitude":763795712,"raw_latitude":102143320,"longitude_deg":76.3795712,"latitude_deg":10.214332,"altitude":22,"angle":150,"satellites":46,"speed":41,"hex_longitude":"2d869900","hex_latitude":"06169558","is_valid_coordinates":true} 
[2026-07-07 09:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549291008001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340774151352483840,"note":"Value kept but may cause issues"} 
[2026-07-07 09:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8753238430852986880,"note":"Value kept but may cause issues"} 
[2026-07-07 09:13:06] 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-07-07 09:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783395677000,"timestamp_ms":1783395677000,"timestamp_seconds":1783395677,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aaa7348"} 
[2026-07-07 09:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 09:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549291008001,"66":28006,"131":206,"79":46592,"24":41,"16":340774151352483840,"45":-8753238430852986880},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-07-07 09:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549291008001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:13:06] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-07 09:13:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340774151352483840,"km_value":340774151352483.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8753238430852986880,"description":"Unknown IO ID 45"} 
[2026-07-07 09:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549291008001,"power":28006,"unknown_131":206,"unknown_79":46592,"ignition":41,"odometer":null,"unknown_45":-8753238430852986880}} 
[2026-07-07 09:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":124297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:13:06] local.INFO: GPS data processed {"connection_id":124297,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:13:06] local.INFO: Acknowledgment sent {"connection_id":124297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:13:11] local.INFO: TCP Data received {"connection_id":124297,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aaa9670012d86ab4006167570001600962e..."} 
[2026-07-07 09:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aaa9670012d86ab4006167570001600962e..."} 
[2026-07-07 09:13:11] local.INFO: Processing buffer {"connection_id":124297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aaa9670012d86ab4006167570001600962e..."} 
[2026-07-07 09:13:11] local.INFO: Packet analysis {"connection_id":124297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aaa"} 
[2026-07-07 09:13:11] local.INFO: Extracted packet for processing {"connection_id":124297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aaa"} 
[2026-07-07 09:13:11] local.INFO: GPS Element Parsed {"raw_longitude":763800384,"raw_latitude":102135152,"longitude_deg":76.3800384,"latitude_deg":10.2135152,"altitude":22,"angle":150,"satellites":46,"speed":36,"hex_longitude":"2d86ab40","hex_latitude":"06167570","is_valid_coordinates":true} 
[2026-07-07 09:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549293312001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340774606619017216,"note":"Value kept but may cause issues"} 
[2026-07-07 09:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8747960775041787904,"note":"Value kept but may cause issues"} 
[2026-07-07 09:13:11] 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-07-07 09:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783395686000,"timestamp_ms":1783395686000,"timestamp_seconds":1783395686,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aaa9670"} 
[2026-07-07 09:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":102,"data_length":795,"current_offset":136} 
[2026-07-07 09:13: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-07-07 09:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549293312001,"66":27767,"131":206,"79":46592,"24":36,"16":340774606619017216,"45":-8747960775041787904},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-07-07 09:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549293312001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:13:11] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-07 09:13:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340774606619017216,"km_value":340774606619017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8747960775041787904,"description":"Unknown IO ID 45"} 
[2026-07-07 09:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549293312001,"power":27767,"unknown_131":206,"unknown_79":46592,"ignition":36,"odometer":null,"unknown_45":-8747960775041787904}} 
[2026-07-07 09:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":124297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:13:11] local.INFO: GPS data processed {"connection_id":124297,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:13:11] local.INFO: Acknowledgment sent {"connection_id":124297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:13:20] local.INFO: TCP Data received {"connection_id":126220,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126220,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:13:20] local.INFO: Processing buffer {"connection_id":126220,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:13:20] local.INFO: IMEI packet received {"connection_id":126220,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":126220,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:13:21] local.INFO: TCP Data received {"connection_id":126220,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126220,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:13:21] local.INFO: Processing buffer {"connection_id":126220,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:13:21] local.INFO: IMEI packet received {"connection_id":126220,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":126220,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:13:25] local.INFO: TCP Data received {"connection_id":126220,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126220,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:13:25] local.INFO: Processing buffer {"connection_id":126220,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:13:25] local.INFO: IMEI packet received {"connection_id":126220,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":126220,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:13:26] local.INFO: TCP Data received {"connection_id":126220,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aabdaa8012d0a75400705c830001d015c22..."} 
[2026-07-07 09:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aabdaa8012d0a75400705c830001d015c22..."} 
[2026-07-07 09:13:26] local.INFO: Processing buffer {"connection_id":126220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aabdaa8012d0a75400705c830001d015c22..."} 
[2026-07-07 09:13:26] local.INFO: Packet analysis {"connection_id":126220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aab"} 
[2026-07-07 09:13:26] local.INFO: Extracted packet for processing {"connection_id":126220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aab"} 
[2026-07-07 09:13:26] local.INFO: GPS Element Parsed {"raw_longitude":755660096,"raw_latitude":117819440,"longitude_deg":75.5660096,"latitude_deg":11.781944,"altitude":29,"angle":348,"satellites":34,"speed":0,"hex_longitude":"2d0a7540","hex_latitude":"0705c830","is_valid_coordinates":true} 
[2026-07-07 09:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549311488001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23318842033831936,"note":"Value kept but may cause issues"} 
[2026-07-07 09:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754071492769034240,"note":"Value kept but may cause issues"} 
[2026-07-07 09:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783395769000,"timestamp_ms":1783395769000,"timestamp_seconds":1783395769,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aabdaa8"} 
[2026-07-07 09:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 09:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":126220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":126220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":126220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549311488001,"66":14428,"153":206,"94":10240,"24":0,"16":23318842033831936,"45":754071492769034240},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 09:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549311488001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:13:26] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 09:13:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23318842033831936,"km_value":23318842033831.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":754071492769034240,"description":"Unknown IO ID 45"} 
[2026-07-07 09:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549311488001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":754071492769034240}} 
[2026-07-07 09:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":126220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444572,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:13:26] local.INFO: GPS data processed {"connection_id":126220,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:13:26] local.INFO: Acknowledgment sent {"connection_id":126220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:13:30] local.INFO: TCP Data received {"connection_id":126220,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aabea48012d0a75000705c980001d000823..."} 
[2026-07-07 09:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aabea48012d0a75000705c980001d000823..."} 
[2026-07-07 09:13:30] local.INFO: Processing buffer {"connection_id":126220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aabea48012d0a75000705c980001d000823..."} 
[2026-07-07 09:13:30] local.INFO: Packet analysis {"connection_id":126220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aab"} 
[2026-07-07 09:13:30] local.INFO: Extracted packet for processing {"connection_id":126220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aab"} 
[2026-07-07 09:13:30] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117819776,"longitude_deg":75.5660032,"latitude_deg":11.7819776,"altitude":29,"angle":8,"satellites":35,"speed":5,"hex_longitude":"2d0a7500","hex_latitude":"0705c980","is_valid_coordinates":true} 
[2026-07-07 09:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549316864001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23318854918733824,"note":"Value kept but may cause issues"} 
[2026-07-07 09:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753578911560380416,"note":"Value kept but may cause issues"} 
[2026-07-07 09:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783395773000,"timestamp_ms":1783395773000,"timestamp_seconds":1783395773,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aabea48"} 
[2026-07-07 09:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 09:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":126220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":126220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":126220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549316864001,"66":14559,"153":206,"94":10240,"24":5,"16":23318854918733824,"45":753578911560380416},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 09:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549316864001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:13:30] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 09:13:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23318854918733824,"km_value":23318854918733.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":753578911560380416,"description":"Unknown IO ID 45"} 
[2026-07-07 09:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549316864001,"power":14559,"unknown_153":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":753578911560380416}} 
[2026-07-07 09:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":126220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444573,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:13:31] local.INFO: GPS data processed {"connection_id":126220,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:13:31] local.INFO: Acknowledgment sent {"connection_id":126220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:13:42] local.INFO: TCP Data received {"connection_id":124297,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aaad108012d86bc8006165738001400932e..."} 
[2026-07-07 09:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aaad108012d86bc8006165738001400932e..."} 
[2026-07-07 09:13:42] local.INFO: Processing buffer {"connection_id":124297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aaad108012d86bc8006165738001400932e..."} 
[2026-07-07 09:13:42] local.INFO: Packet analysis {"connection_id":124297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aaa"} 
[2026-07-07 09:13:42] local.INFO: Extracted packet for processing {"connection_id":124297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aaa"} 
[2026-07-07 09:13:42] local.INFO: GPS Element Parsed {"raw_longitude":763804800,"raw_latitude":102127416,"longitude_deg":76.38048,"latitude_deg":10.2127416,"altitude":20,"angle":147,"satellites":46,"speed":4,"hex_longitude":"2d86bc80","hex_latitude":"06165738","is_valid_coordinates":true} 
[2026-07-07 09:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549295616001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340775036115746816,"note":"Value kept but may cause issues"} 
[2026-07-07 09:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8742823856718909440,"note":"Value kept but may cause issues"} 
[2026-07-07 09:13: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-07-07 09:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783395701000,"timestamp_ms":1783395701000,"timestamp_seconds":1783395701,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aaad108"} 
[2026-07-07 09:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:13: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-07-07 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549295616001,"66":27832,"131":206,"79":46592,"24":4,"16":340775036115746816,"45":-8742823856718909440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-07-07 09:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549295616001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:13:42] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-07 09:13:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340775036115746816,"km_value":340775036115746.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8742823856718909440,"description":"Unknown IO ID 45"} 
[2026-07-07 09:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549295616001,"power":27832,"unknown_131":206,"unknown_79":46592,"ignition":4,"odometer":null,"unknown_45":-8742823856718909440}} 
[2026-07-07 09:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":124297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:13:42] local.INFO: GPS data processed {"connection_id":124297,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:13:42] local.INFO: Acknowledgment sent {"connection_id":124297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:13:59] local.INFO: TCP Data received {"connection_id":124206,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:13:59] local.INFO: Processing buffer {"connection_id":124206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:13:59] local.INFO: IMEI packet received {"connection_id":124206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":124206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:14:00] local.INFO: TCP Data received {"connection_id":124206,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:14:00] local.INFO: Processing buffer {"connection_id":124206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:14:00] local.INFO: IMEI packet received {"connection_id":124206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":124206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:14:04] local.INFO: TCP Data received {"connection_id":124206,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:14:04] local.INFO: Processing buffer {"connection_id":124206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:14:04] local.INFO: IMEI packet received {"connection_id":124206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":124206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:14:05] local.INFO: TCP Data received {"connection_id":124206,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aab2310012d86c3c006164b10001300952e..."} 
[2026-07-07 09:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aab2310012d86c3c006164b10001300952e..."} 
[2026-07-07 09:14:05] local.INFO: Processing buffer {"connection_id":124206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aab2310012d86c3c006164b10001300952e..."} 
[2026-07-07 09:14:05] local.INFO: Packet analysis {"connection_id":124206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aab"} 
[2026-07-07 09:14:05] local.INFO: Extracted packet for processing {"connection_id":124206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aab"} 
[2026-07-07 09:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763806656,"raw_latitude":102124304,"longitude_deg":76.3806656,"latitude_deg":10.2124304,"altitude":19,"angle":149,"satellites":46,"speed":9,"hex_longitude":"2d86c3c0","hex_latitude":"06164b10","is_valid_coordinates":true} 
[2026-07-07 09:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549299456001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340775216504373248,"note":"Value kept but may cause issues"} 
[2026-07-07 09:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8737968413372631040,"note":"Value kept but may cause issues"} 
[2026-07-07 09:14:05] 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-07-07 09:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783395722000,"timestamp_ms":1783395722000,"timestamp_seconds":1783395722,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aab2310"} 
[2026-07-07 09:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 09:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549299456001,"66":27658,"131":206,"79":46592,"24":9,"16":340775216504373248,"45":-8737968413372631040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-07-07 09:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549299456001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:14:05] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-07 09:14:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340775216504373248,"km_value":340775216504373.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8737968413372631040,"description":"Unknown IO ID 45"} 
[2026-07-07 09:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549299456001,"power":27658,"unknown_131":206,"unknown_79":46592,"ignition":9,"odometer":null,"unknown_45":-8737968413372631040}} 
[2026-07-07 09:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":124206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:14:05] local.INFO: GPS data processed {"connection_id":124206,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:14:05] local.INFO: Acknowledgment sent {"connection_id":124206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:14:15] local.INFO: TCP Data received {"connection_id":124299,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124299,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:14:15] local.INFO: Processing buffer {"connection_id":124299,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:14:15] local.INFO: IMEI packet received {"connection_id":124299,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":124299,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:14:16] local.INFO: TCP Data received {"connection_id":124299,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124299,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:14:16] local.INFO: Processing buffer {"connection_id":124299,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:14:16] local.INFO: IMEI packet received {"connection_id":124299,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":124299,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:14:20] local.INFO: TCP Data received {"connection_id":124299,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124299,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:14:20] local.INFO: Processing buffer {"connection_id":124299,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:14:20] local.INFO: IMEI packet received {"connection_id":124299,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":124299,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:14:21] local.INFO: TCP Data received {"connection_id":124299,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aabee30012d0a75000705ca50001d015f23..."} 
[2026-07-07 09:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aabee30012d0a75000705ca50001d015f23..."} 
[2026-07-07 09:14:21] local.INFO: Processing buffer {"connection_id":124299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aabee30012d0a75000705ca50001d015f23..."} 
[2026-07-07 09:14:21] local.INFO: Packet analysis {"connection_id":124299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aab"} 
[2026-07-07 09:14:21] local.INFO: Extracted packet for processing {"connection_id":124299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aab"} 
[2026-07-07 09:14:21] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117819984,"longitude_deg":75.5660032,"latitude_deg":11.7819984,"altitude":29,"angle":351,"satellites":35,"speed":10,"hex_longitude":"2d0a7500","hex_latitude":"0705ca50","is_valid_coordinates":true} 
[2026-07-07 09:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549317888001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23318867803635712,"note":"Value kept but may cause issues"} 
[2026-07-07 09:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542816288768,"note":"Value kept but may cause issues"} 
[2026-07-07 09:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783395774000,"timestamp_ms":1783395774000,"timestamp_seconds":1783395774,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aabee30"} 
[2026-07-07 09:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 09:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124299,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124299,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549317888001,"66":14559,"153":206,"94":10240,"24":10,"16":23318867803635712,"45":753508542816288768},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 09:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549317888001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:14:21] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 09:14:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23318867803635712,"km_value":23318867803635.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542816288768,"description":"Unknown IO ID 45"} 
[2026-07-07 09:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549317888001,"power":14559,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":753508542816288768}} 
[2026-07-07 09:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":124299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444576,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:14:21] local.INFO: GPS data processed {"connection_id":124299,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:14:21] local.INFO: Acknowledgment sent {"connection_id":124299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:14:37] local.INFO: TCP Data received {"connection_id":124206,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aab7518012d86cf0006163800001300972e..."} 
[2026-07-07 09:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aab7518012d86cf0006163800001300972e..."} 
[2026-07-07 09:14:37] local.INFO: Processing buffer {"connection_id":124206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aab7518012d86cf0006163800001300972e..."} 
[2026-07-07 09:14:37] local.INFO: Packet analysis {"connection_id":124206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aab"} 
[2026-07-07 09:14:37] local.INFO: Extracted packet for processing {"connection_id":124206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aab"} 
[2026-07-07 09:14:37] local.INFO: GPS Element Parsed {"raw_longitude":763809536,"raw_latitude":102119424,"longitude_deg":76.3809536,"latitude_deg":10.2119424,"altitude":19,"angle":151,"satellites":46,"speed":19,"hex_longitude":"2d86cf00","hex_latitude":"06163800","is_valid_coordinates":true} 
[2026-07-07 09:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549304832001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340775491382280192,"note":"Value kept but may cause issues"} 
[2026-07-07 09:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8735927719792275456,"note":"Value kept but may cause issues"} 
[2026-07-07 09:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783395743000,"timestamp_ms":1783395743000,"timestamp_seconds":1783395743,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aab7518"} 
[2026-07-07 09:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 09:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549304832001,"66":27974,"155":206,"79":46592,"24":19,"16":340775491382280192,"45":-8735927719792275456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,79,24,16,45]} 
[2026-07-07 09:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549304832001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:14:37] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-07 09:14:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340775491382280192,"km_value":340775491382280.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8735927719792275456,"description":"Unknown IO ID 45"} 
[2026-07-07 09:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549304832001,"power":27974,"unknown_155":206,"unknown_79":46592,"ignition":19,"odometer":null,"unknown_45":-8735927719792275456}} 
[2026-07-07 09:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":124206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:14:37] local.INFO: GPS data processed {"connection_id":124206,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:14:37] local.INFO: Acknowledgment sent {"connection_id":124206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:14:52] local.INFO: TCP Data received {"connection_id":124299,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aad9028012d0a7400070604e80011009322..."} 
[2026-07-07 09:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aad9028012d0a7400070604e80011009322..."} 
[2026-07-07 09:14:52] local.INFO: Processing buffer {"connection_id":124299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aad9028012d0a7400070604e80011009322..."} 
[2026-07-07 09:14:52] local.INFO: Packet analysis {"connection_id":124299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aad"} 
[2026-07-07 09:14:52] local.INFO: Extracted packet for processing {"connection_id":124299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aad"} 
[2026-07-07 09:14:52] local.INFO: GPS Element Parsed {"raw_longitude":755659776,"raw_latitude":117834984,"longitude_deg":75.5659776,"latitude_deg":11.7834984,"altitude":17,"angle":147,"satellites":34,"speed":1,"hex_longitude":"2d0a7400","hex_latitude":"070604e8","is_valid_coordinates":true} 
[2026-07-07 09:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549343232001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23319679552454656,"note":"Value kept but may cause issues"} 
[2026-07-07 09:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753086330355179520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783395881000,"timestamp_ms":1783395881000,"timestamp_seconds":1783395881,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aad9028"} 
[2026-07-07 09:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-07-07 09:14:52] 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-07-07 09:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124299,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124299,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549343232001,"66":14559,"153":206,"94":10240,"24":1,"16":23319679552454656,"45":753086330355179520},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 09:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549343232001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:14:52] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 09:14:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23319679552454656,"km_value":23319679552454.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":753086330355179520,"description":"Unknown IO ID 45"} 
[2026-07-07 09:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549343232001,"power":14559,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753086330355179520}} 
[2026-07-07 09:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":124299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444578,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:14:52] local.INFO: GPS data processed {"connection_id":124299,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:14:52] local.INFO: Acknowledgment sent {"connection_id":124299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:14:59] local.INFO: TCP Data received {"connection_id":124207,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:14:59] local.INFO: Processing buffer {"connection_id":124207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:14:59] local.INFO: IMEI packet received {"connection_id":124207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":124207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:15:00] local.INFO: TCP Data received {"connection_id":124207,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:15:00] local.INFO: Processing buffer {"connection_id":124207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:15:00] local.INFO: IMEI packet received {"connection_id":124207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":124207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:15:04] local.INFO: TCP Data received {"connection_id":124207,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:15:04] local.INFO: Processing buffer {"connection_id":124207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:15:04] local.INFO: IMEI packet received {"connection_id":124207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":124207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:15:05] local.INFO: TCP Data received {"connection_id":124207,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aad1ee0012d8724800614b958000a009d2b..."} 
[2026-07-07 09:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aad1ee0012d8724800614b958000a009d2b..."} 
[2026-07-07 09:15:05] local.INFO: Processing buffer {"connection_id":124207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aad1ee0012d8724800614b958000a009d2b..."} 
[2026-07-07 09:15:05] local.INFO: Packet analysis {"connection_id":124207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aad"} 
[2026-07-07 09:15:05] local.INFO: Extracted packet for processing {"connection_id":124207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aad"} 
[2026-07-07 09:15:05] local.INFO: GPS Element Parsed {"raw_longitude":763831424,"raw_latitude":102021464,"longitude_deg":76.3831424,"latitude_deg":10.2021464,"altitude":10,"angle":157,"satellites":43,"speed":37,"hex_longitude":"2d872480","hex_latitude":"0614b958","is_valid_coordinates":true} 
[2026-07-07 09:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549335040001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340780417709768704,"note":"Value kept but may cause issues"} 
[2026-07-07 09:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8711580134330732544,"note":"Value kept but may cause issues"} 
[2026-07-07 09:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783395852000,"timestamp_ms":1783395852000,"timestamp_seconds":1783395852,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aad1ee0"} 
[2026-07-07 09:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 09:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549335040001,"66":27767,"156":206,"79":46592,"24":37,"16":340780417709768704,"45":-8711580134330732544},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-07-07 09:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549335040001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:15:05] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 09:15:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340780417709768704,"km_value":340780417709768.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8711580134330732544,"description":"Unknown IO ID 45"} 
[2026-07-07 09:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549335040001,"power":27767,"unknown_156":206,"unknown_79":46592,"ignition":37,"odometer":null,"unknown_45":-8711580134330732544}} 
[2026-07-07 09:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":124207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:15:05] local.INFO: GPS data processed {"connection_id":124207,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:15:05] local.INFO: Acknowledgment sent {"connection_id":124207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:15:13] local.INFO: TCP Data received {"connection_id":124300,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124300,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:15:13] local.INFO: Processing buffer {"connection_id":124300,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:15:13] local.INFO: IMEI packet received {"connection_id":124300,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":124300,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:15:15] local.INFO: TCP Data received {"connection_id":124300,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124300,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:15:15] local.INFO: Processing buffer {"connection_id":124300,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:15:15] local.INFO: IMEI packet received {"connection_id":124300,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":124300,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:15:15] local.INFO: TCP Data received {"connection_id":124300,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124300,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:15:15] local.INFO: Processing buffer {"connection_id":124300,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:15:15] local.INFO: IMEI packet received {"connection_id":124300,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":124300,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:15:18] local.INFO: TCP Data received {"connection_id":124300,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124300,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:15:18] local.INFO: Processing buffer {"connection_id":124300,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:15:18] local.INFO: IMEI packet received {"connection_id":124300,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":124300,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:15:19] local.INFO: TCP Data received {"connection_id":124300,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aadab80012d0a74c0070604200010008623..."} 
[2026-07-07 09:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aadab80012d0a74c0070604200010008623..."} 
[2026-07-07 09:15:19] local.INFO: Processing buffer {"connection_id":124300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aadab80012d0a74c0070604200010008623..."} 
[2026-07-07 09:15:19] local.INFO: Packet analysis {"connection_id":124300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aad"} 
[2026-07-07 09:15:19] local.INFO: Extracted packet for processing {"connection_id":124300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aad"} 
[2026-07-07 09:15:19] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117834784,"longitude_deg":75.5659968,"latitude_deg":11.7834784,"altitude":16,"angle":134,"satellites":35,"speed":1,"hex_longitude":"2d0a74c0","hex_latitude":"07060420","is_valid_coordinates":true} 
[2026-07-07 09:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549345536001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23319692437356544,"note":"Value kept but may cause issues"} 
[2026-07-07 09:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753227067843471360,"note":"Value kept but may cause issues"} 
[2026-07-07 09:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783395888000,"timestamp_ms":1783395888000,"timestamp_seconds":1783395888,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aadab80"} 
[2026-07-07 09:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 09:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549345536001,"66":14537,"153":206,"94":10240,"24":1,"16":23319692437356544,"45":753227067843471360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 09:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549345536001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:15:19] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 09:15:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23319692437356544,"km_value":23319692437356.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":753227067843471360,"description":"Unknown IO ID 45"} 
[2026-07-07 09:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549345536001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753227067843471360}} 
[2026-07-07 09:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":124300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444580,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:15:19] local.INFO: GPS data processed {"connection_id":124300,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:15:19] local.INFO: Acknowledgment sent {"connection_id":124300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:15:37] local.INFO: TCP Data received {"connection_id":124207,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aad1ee0012d8724800614b958000a009d2b..."} 
[2026-07-07 09:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aad1ee0012d8724800614b958000a009d2b..."} 
[2026-07-07 09:15:37] local.INFO: Processing buffer {"connection_id":124207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aad1ee0012d8724800614b958000a009d2b..."} 
[2026-07-07 09:15:37] local.INFO: Packet analysis {"connection_id":124207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aad"} 
[2026-07-07 09:15:37] local.INFO: Extracted packet for processing {"connection_id":124207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aad"} 
[2026-07-07 09:15:37] local.INFO: GPS Element Parsed {"raw_longitude":763831424,"raw_latitude":102021464,"longitude_deg":76.3831424,"latitude_deg":10.2021464,"altitude":10,"angle":157,"satellites":43,"speed":37,"hex_longitude":"2d872480","hex_latitude":"0614b958","is_valid_coordinates":true} 
[2026-07-07 09:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549338112001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340780417709768704,"note":"Value kept but may cause issues"} 
[2026-07-07 09:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8708695015821846528,"note":"Value kept but may cause issues"} 
[2026-07-07 09:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783395852000,"timestamp_ms":1783395852000,"timestamp_seconds":1783395852,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aad1ee0"} 
[2026-07-07 09:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:15: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-07-07 09:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549338112001,"66":27767,"156":206,"79":46592,"24":37,"16":340780417709768704,"45":-8708695015821846528},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-07-07 09:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549338112001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:15:37] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 09:15:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340780417709768704,"km_value":340780417709768.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8708695015821846528,"description":"Unknown IO ID 45"} 
[2026-07-07 09:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549338112001,"power":27767,"unknown_156":206,"unknown_79":46592,"ignition":37,"odometer":null,"unknown_45":-8708695015821846528}} 
[2026-07-07 09:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":124207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:15:37] local.INFO: GPS data processed {"connection_id":124207,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:15:37] local.INFO: Acknowledgment sent {"connection_id":124207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:15:50] local.INFO: TCP Data received {"connection_id":124300,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aadaf68012d0a7500070604180010007722..."} 
[2026-07-07 09:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aadaf68012d0a7500070604180010007722..."} 
[2026-07-07 09:15:50] local.INFO: Processing buffer {"connection_id":124300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aadaf68012d0a7500070604180010007722..."} 
[2026-07-07 09:15:50] local.INFO: Packet analysis {"connection_id":124300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aad"} 
[2026-07-07 09:15:50] local.INFO: Extracted packet for processing {"connection_id":124300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aad"} 
[2026-07-07 09:15:50] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117834776,"longitude_deg":75.5660032,"latitude_deg":11.7834776,"altitude":16,"angle":119,"satellites":34,"speed":1,"hex_longitude":"2d0a7500","hex_latitude":"07060418","is_valid_coordinates":true} 
[2026-07-07 09:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549347328001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23319696732323840,"note":"Value kept but may cause issues"} 
[2026-07-07 09:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174075953152,"note":"Value kept but may cause issues"} 
[2026-07-07 09:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783395889000,"timestamp_ms":1783395889000,"timestamp_seconds":1783395889,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aadaf68"} 
[2026-07-07 09:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 09:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":124300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":124300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":124300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549347328001,"66":14439,"153":206,"94":10240,"24":1,"16":23319696732323840,"45":753438174075953152},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 09:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549347328001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:15:50] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 09:15:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23319696732323840,"km_value":23319696732323.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174075953152,"description":"Unknown IO ID 45"} 
[2026-07-07 09:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549347328001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753438174075953152}} 
[2026-07-07 09:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":124300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444582,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:15:50] local.INFO: GPS data processed {"connection_id":124300,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:15:50] local.INFO: Acknowledgment sent {"connection_id":124300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:15:59] local.INFO: TCP Data received {"connection_id":124999,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:15:59] local.INFO: Processing buffer {"connection_id":124999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:15:59] local.INFO: IMEI packet received {"connection_id":124999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":124999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:16:04] local.INFO: TCP Data received {"connection_id":124999,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:16:04] local.INFO: Processing buffer {"connection_id":124999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:16:04] local.INFO: IMEI packet received {"connection_id":124999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":124999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:16:05] local.INFO: TCP Data received {"connection_id":124999,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aad45f0012d873240061498e00009009d2c..."} 
[2026-07-07 09:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aad45f0012d873240061498e00009009d2c..."} 
[2026-07-07 09:16:05] local.INFO: Processing buffer {"connection_id":124999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aad45f0012d873240061498e00009009d2c..."} 
[2026-07-07 09:16:05] local.INFO: Packet analysis {"connection_id":124999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aad"} 
[2026-07-07 09:16:05] local.INFO: Extracted packet for processing {"connection_id":124999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aad"} 
[2026-07-07 09:16:05] local.INFO: GPS Element Parsed {"raw_longitude":763834944,"raw_latitude":102013152,"longitude_deg":76.3834944,"latitude_deg":10.2013152,"altitude":9,"angle":157,"satellites":44,"speed":29,"hex_longitude":"2d873240","hex_latitude":"061498e0","is_valid_coordinates":true} 
[2026-07-07 09:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549338112001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340780851501465600,"note":"Value kept but may cause issues"} 
[2026-07-07 09:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8708695015821846528,"note":"Value kept but may cause issues"} 
[2026-07-07 09:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783395862000,"timestamp_ms":1783395862000,"timestamp_seconds":1783395862,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aad45f0"} 
[2026-07-07 09:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549338112001,"66":27865,"156":206,"79":46592,"24":29,"16":340780851501465600,"45":-8708695015821846528},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-07-07 09:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549338112001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:16:05] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 09:16:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340780851501465600,"km_value":340780851501465.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8708695015821846528,"description":"Unknown IO ID 45"} 
[2026-07-07 09:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549338112001,"power":27865,"unknown_156":206,"unknown_79":46592,"ignition":29,"odometer":null,"unknown_45":-8708695015821846528}} 
[2026-07-07 09:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":124999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:16:05] local.INFO: GPS data processed {"connection_id":124999,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:16:05] local.INFO: Acknowledgment sent {"connection_id":124999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:16:15] local.INFO: TCP Data received {"connection_id":126223,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:16:15] local.INFO: Processing buffer {"connection_id":126223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:16:15] local.INFO: IMEI packet received {"connection_id":126223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":126223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:16:16] local.INFO: TCP Data received {"connection_id":126223,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:16:16] local.INFO: Processing buffer {"connection_id":126223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:16:16] local.INFO: IMEI packet received {"connection_id":126223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":126223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:16:20] local.INFO: TCP Data received {"connection_id":126223,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:16:20] local.INFO: Processing buffer {"connection_id":126223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:16:20] local.INFO: IMEI packet received {"connection_id":126223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":126223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:16:21] local.INFO: TCP Data received {"connection_id":126223,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aadfd88012d0a7540070603e80010011b1e..."} 
[2026-07-07 09:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aadfd88012d0a7540070603e80010011b1e..."} 
[2026-07-07 09:16:21] local.INFO: Processing buffer {"connection_id":126223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aadfd88012d0a7540070603e80010011b1e..."} 
[2026-07-07 09:16:21] local.INFO: Packet analysis {"connection_id":126223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aad"} 
[2026-07-07 09:16:21] local.INFO: Extracted packet for processing {"connection_id":126223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aad"} 
[2026-07-07 09:16:21] local.INFO: GPS Element Parsed {"raw_longitude":755660096,"raw_latitude":117834728,"longitude_deg":75.5660096,"latitude_deg":11.7834728,"altitude":16,"angle":283,"satellites":30,"speed":2,"hex_longitude":"2d0a7540","hex_latitude":"070603e8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 09:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549347584001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23319705322258432,"note":"Value kept but may cause issues"} 
[2026-07-07 09:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542820128768,"note":"Value kept but may cause issues"} 
[2026-07-07 09:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783395909000,"timestamp_ms":1783395909000,"timestamp_seconds":1783395909,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aadfd88"} 
[2026-07-07 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-07-07 09:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 09:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 09:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549347584001,"66":14515,"153":206,"94":10240,"24":2,"16":23319705322258432,"45":753508542820128768},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 09:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549347584001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:16:21] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 09:16:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23319705322258432,"km_value":23319705322258.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542820128768,"description":"Unknown IO ID 45"} 
[2026-07-07 09:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549347584001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753508542820128768}} 
[2026-07-07 09:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":126223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444584,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:16:21] local.INFO: GPS data processed {"connection_id":126223,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:16:21] local.INFO: Acknowledgment sent {"connection_id":126223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:16:37] local.INFO: TCP Data received {"connection_id":124999,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aad97f8012d87394006148818000800a32e..."} 
[2026-07-07 09:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aad97f8012d87394006148818000800a32e..."} 
[2026-07-07 09:16:37] local.INFO: Processing buffer {"connection_id":124999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aad97f8012d87394006148818000800a32e..."} 
[2026-07-07 09:16:37] local.INFO: Packet analysis {"connection_id":124999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aad"} 
[2026-07-07 09:16:37] local.INFO: Extracted packet for processing {"connection_id":124999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aad"} 
[2026-07-07 09:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763836736,"raw_latitude":102008856,"longitude_deg":76.3836736,"latitude_deg":10.2008856,"altitude":8,"angle":163,"satellites":46,"speed":0,"hex_longitude":"2d873940","hex_latitude":"06148818","is_valid_coordinates":true} 
[2026-07-07 09:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549340672001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340781083429699584,"note":"Value kept but may cause issues"} 
[2026-07-07 09:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8704824734894202880,"note":"Value kept but may cause issues"} 
[2026-07-07 09:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783395883000,"timestamp_ms":1783395883000,"timestamp_seconds":1783395883,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aad97f8"} 
[2026-07-07 09:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:16: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-07-07 09:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 09:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549340672001,"66":27767,"156":206,"79":46592,"24":0,"16":340781083429699584,"45":-8704824734894202880},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-07-07 09:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549340672001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:16:37] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 09:16:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340781083429699584,"km_value":340781083429699.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8704824734894202880,"description":"Unknown IO ID 45"} 
[2026-07-07 09:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549340672001,"power":27767,"unknown_156":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8704824734894202880}} 
[2026-07-07 09:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":124999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:16:37] local.INFO: GPS data processed {"connection_id":124999,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:16:37] local.INFO: Acknowledgment sent {"connection_id":124999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:16:40] local.INFO: TCP Data received {"connection_id":126222,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:16:40] local.INFO: Processing buffer {"connection_id":126222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:16:40] local.INFO: IMEI packet received {"connection_id":126222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":126222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:16:52] local.INFO: TCP Data received {"connection_id":126223,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aaf2a50012d0a83400705aa30001400be1e..."} 
[2026-07-07 09:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aaf2a50012d0a83400705aa30001400be1e..."} 
[2026-07-07 09:16:52] local.INFO: Processing buffer {"connection_id":126223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aaf2a50012d0a83400705aa30001400be1e..."} 
[2026-07-07 09:16:52] local.INFO: Packet analysis {"connection_id":126223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aaf"} 
[2026-07-07 09:16:52] local.INFO: Extracted packet for processing {"connection_id":126223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aaf"} 
[2026-07-07 09:16:52] local.INFO: GPS Element Parsed {"raw_longitude":755663680,"raw_latitude":117811760,"longitude_deg":75.566368,"latitude_deg":11.781176,"altitude":20,"angle":190,"satellites":30,"speed":9,"hex_longitude":"2d0a8340","hex_latitude":"0705aa30","is_valid_coordinates":true} 
[2026-07-07 09:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549372160001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23320895028199424,"note":"Value kept but may cause issues"} 
[2026-07-07 09:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757519561232414720,"note":"Value kept but may cause issues"} 
[2026-07-07 09:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783395986000,"timestamp_ms":1783395986000,"timestamp_seconds":1783395986,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aaf2a50"} 
[2026-07-07 09:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 09:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":126223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":126223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":126223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549372160001,"66":14396,"153":206,"94":10240,"24":9,"16":23320895028199424,"45":757519561232414720},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 09:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549372160001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:16:52] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 09:16:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23320895028199424,"km_value":23320895028199.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":757519561232414720,"description":"Unknown IO ID 45"} 
[2026-07-07 09:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549372160001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":757519561232414720}} 
[2026-07-07 09:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":126223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444586,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:16:52] local.INFO: GPS data processed {"connection_id":126223,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:16:52] local.INFO: Acknowledgment sent {"connection_id":126223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:17:04] local.INFO: TCP Data received {"connection_id":125000,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:17:04] local.INFO: Processing buffer {"connection_id":125000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:17:04] local.INFO: IMEI packet received {"connection_id":125000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":125000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:17:09] local.INFO: TCP Data received {"connection_id":125001,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:17:09] local.INFO: Processing buffer {"connection_id":125001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:17:09] local.INFO: IMEI packet received {"connection_id":125001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":125001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:17:09] local.INFO: TCP Data received {"connection_id":125000,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:17:09] local.INFO: Processing buffer {"connection_id":125000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:17:09] local.INFO: IMEI packet received {"connection_id":125000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":125000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:17:10] local.INFO: TCP Data received {"connection_id":125000,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aadea00012d873a0006148648000a00a330..."} 
[2026-07-07 09:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aadea00012d873a0006148648000a00a330..."} 
[2026-07-07 09:17:10] local.INFO: Processing buffer {"connection_id":125000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aadea00012d873a0006148648000a00a330..."} 
[2026-07-07 09:17:10] local.INFO: Packet analysis {"connection_id":125000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aad"} 
[2026-07-07 09:17:10] local.INFO: Extracted packet for processing {"connection_id":125000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aad"} 
[2026-07-07 09:17:10] local.INFO: GPS Element Parsed {"raw_longitude":763836928,"raw_latitude":102008392,"longitude_deg":76.3836928,"latitude_deg":10.2008392,"altitude":10,"angle":163,"satellites":48,"speed":0,"hex_longitude":"2d873a00","hex_latitude":"06148648","is_valid_coordinates":true} 
[2026-07-07 09:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549346048001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340781109199503360,"note":"Value kept but may cause issues"} 
[2026-07-07 09:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8702854410058328064,"note":"Value kept but may cause issues"} 
[2026-07-07 09:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783395904000,"timestamp_ms":1783395904000,"timestamp_seconds":1783395904,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aadea00"} 
[2026-07-07 09:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:17: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-07-07 09:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549346048001,"66":27745,"156":206,"79":46592,"24":0,"16":340781109199503360,"45":-8702854410058328064},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-07-07 09:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549346048001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:17:10] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 09:17:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340781109199503360,"km_value":340781109199503.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8702854410058328064,"description":"Unknown IO ID 45"} 
[2026-07-07 09:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549346048001,"power":27745,"unknown_156":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8702854410058328064}} 
[2026-07-07 09:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":125000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:17:10] local.INFO: GPS data processed {"connection_id":125000,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:17:10] local.INFO: Acknowledgment sent {"connection_id":125000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:17:12] local.INFO: TCP Data received {"connection_id":125000,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aadfd88012d873ac0061483b8000b00982f..."} 
[2026-07-07 09:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aadfd88012d873ac0061483b8000b00982f..."} 
[2026-07-07 09:17:12] local.INFO: Processing buffer {"connection_id":125000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aadfd88012d873ac0061483b8000b00982f..."} 
[2026-07-07 09:17:12] local.INFO: Packet analysis {"connection_id":125000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aad"} 
[2026-07-07 09:17:12] local.INFO: Extracted packet for processing {"connection_id":125000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aad"} 
[2026-07-07 09:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763837120,"raw_latitude":102007736,"longitude_deg":76.383712,"latitude_deg":10.2007736,"altitude":11,"angle":152,"satellites":47,"speed":8,"hex_longitude":"2d873ac0","hex_latitude":"061483b8","is_valid_coordinates":true} 
[2026-07-07 09:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549351424001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340781143559241728,"note":"Value kept but may cause issues"} 
[2026-07-07 09:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8702643303825913856,"note":"Value kept but may cause issues"} 
[2026-07-07 09:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783395909000,"timestamp_ms":1783395909000,"timestamp_seconds":1783395909,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aadfd88"} 
[2026-07-07 09:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:17: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-07-07 09:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 09:17: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-07-07 09:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549351424001,"66":27974,"156":206,"79":46592,"24":8,"16":340781143559241728,"45":-8702643303825913856},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-07-07 09:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549351424001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:17:12] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 09:17:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340781143559241728,"km_value":340781143559241.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8702643303825913856,"description":"Unknown IO ID 45"} 
[2026-07-07 09:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549351424001,"power":27974,"unknown_156":206,"unknown_79":46592,"ignition":8,"odometer":null,"unknown_45":-8702643303825913856}} 
[2026-07-07 09:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":125000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:17:12] local.INFO: GPS data processed {"connection_id":125000,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:17:12] local.INFO: Acknowledgment sent {"connection_id":125000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:17:27] local.INFO: TCP Data received {"connection_id":126224,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126224,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:17:27] local.INFO: Processing buffer {"connection_id":126224,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:17:27] local.INFO: IMEI packet received {"connection_id":126224,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":126224,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:17:30] local.INFO: TCP Data received {"connection_id":126224,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126224,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:17:30] local.INFO: Processing buffer {"connection_id":126224,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:17:30] local.INFO: IMEI packet received {"connection_id":126224,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":126224,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:17:35] local.INFO: TCP Data received {"connection_id":126224,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126224,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:17:35] local.INFO: Processing buffer {"connection_id":126224,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:17:35] local.INFO: IMEI packet received {"connection_id":126224,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":126224,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:17:36] local.INFO: TCP Data received {"connection_id":126224,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aaf2e38012d0a83000705a938001400d51f..."} 
[2026-07-07 09:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aaf2e38012d0a83000705a938001400d51f..."} 
[2026-07-07 09:17:36] local.INFO: Processing buffer {"connection_id":126224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aaf2e38012d0a83000705a938001400d51f..."} 
[2026-07-07 09:17:36] local.INFO: Packet analysis {"connection_id":126224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aaf"} 
[2026-07-07 09:17:36] local.INFO: Extracted packet for processing {"connection_id":126224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aaf"} 
[2026-07-07 09:17:36] local.INFO: GPS Element Parsed {"raw_longitude":755663616,"raw_latitude":117811512,"longitude_deg":75.5663616,"latitude_deg":11.7811512,"altitude":20,"angle":213,"satellites":31,"speed":12,"hex_longitude":"2d0a8300","hex_latitude":"0705a938","is_valid_coordinates":true} 
[2026-07-07 09:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549372416001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23320903618134016,"note":"Value kept but may cause issues"} 
[2026-07-07 09:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757519561232363520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783395987000,"timestamp_ms":1783395987000,"timestamp_seconds":1783395987,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aaf2e38"} 
[2026-07-07 09:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 09:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126224,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126224,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549372416001,"66":14461,"153":206,"94":10240,"24":12,"16":23320903618134016,"45":757519561232363520},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 09:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549372416001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:17:36] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 09:17:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23320903618134016,"km_value":23320903618134.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":757519561232363520,"description":"Unknown IO ID 45"} 
[2026-07-07 09:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549372416001,"power":14461,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":757519561232363520}} 
[2026-07-07 09:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":126224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444589,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:17:36] local.INFO: GPS data processed {"connection_id":126224,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:17:36] local.INFO: Acknowledgment sent {"connection_id":126224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:17:43] local.INFO: TCP Data received {"connection_id":125000,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aae4f90012d87460006146868000b009d30..."} 
[2026-07-07 09:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aae4f90012d87460006146868000b009d30..."} 
[2026-07-07 09:17:43] local.INFO: Processing buffer {"connection_id":125000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aae4f90012d87460006146868000b009d30..."} 
[2026-07-07 09:17:43] local.INFO: Packet analysis {"connection_id":125000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aae"} 
[2026-07-07 09:17:43] local.INFO: Extracted packet for processing {"connection_id":125000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aae"} 
[2026-07-07 09:17:43] local.INFO: GPS Element Parsed {"raw_longitude":763840000,"raw_latitude":102000744,"longitude_deg":76.384,"latitude_deg":10.2000744,"altitude":11,"angle":157,"satellites":48,"speed":17,"hex_longitude":"2d874600","hex_latitude":"06146868","is_valid_coordinates":true} 
[2026-07-07 09:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549352704001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340781512926429184,"note":"Value kept but may cause issues"} 
[2026-07-07 09:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8702432197593548800,"note":"Value kept but may cause issues"} 
[2026-07-07 09:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783395930000,"timestamp_ms":1783395930000,"timestamp_seconds":1783395930,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aae4f90"} 
[2026-07-07 09:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 09:17: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-07-07 09:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549352704001,"66":27865,"156":206,"79":46592,"24":17,"16":340781512926429184,"45":-8702432197593548800},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-07-07 09:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549352704001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:17:43] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 09:17:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340781512926429184,"km_value":340781512926429.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8702432197593548800,"description":"Unknown IO ID 45"} 
[2026-07-07 09:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549352704001,"power":27865,"unknown_156":206,"unknown_79":46592,"ignition":17,"odometer":null,"unknown_45":-8702432197593548800}} 
[2026-07-07 09:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":125000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:17:43] local.INFO: GPS data processed {"connection_id":125000,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:17:43] local.INFO: Acknowledgment sent {"connection_id":125000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:17:59] local.INFO: TCP Data received {"connection_id":124208,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:17:59] local.INFO: Processing buffer {"connection_id":124208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:17:59] local.INFO: IMEI packet received {"connection_id":124208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":124208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:18:01] local.INFO: TCP Data received {"connection_id":125002,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:18:01] local.INFO: Processing buffer {"connection_id":125002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:18:01] local.INFO: IMEI packet received {"connection_id":125002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":125002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:18:01] local.INFO: TCP Data received {"connection_id":125002,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aaf0b10012d7a0f8005ec2bd0000d009a26..."} 
[2026-07-07 09:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aaf0b10012d7a0f8005ec2bd0000d009a26..."} 
[2026-07-07 09:18:01] local.INFO: Processing buffer {"connection_id":125002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aaf0b10012d7a0f8005ec2bd0000d009a26..."} 
[2026-07-07 09:18:01] local.INFO: Packet analysis {"connection_id":125002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aaf"} 
[2026-07-07 09:18:01] local.INFO: Extracted packet for processing {"connection_id":125002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aaf"} 
[2026-07-07 09:18:01] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99363792,"longitude_deg":76.297408,"latitude_deg":9.9363792,"altitude":13,"angle":154,"satellites":38,"speed":13,"hex_longitude":"2d7a0f80","hex_latitude":"05ec2bd0","is_valid_coordinates":true} 
[2026-07-07 09:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549369344001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103282534560825344,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147738505216,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783395978000,"timestamp_ms":1783395978000,"timestamp_seconds":1783395978,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aaf0b10"} 
[2026-07-07 09:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:18: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-07-07 09:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 09:18:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:01] local.WARNING: Large IO value detected {"io_id":237,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:01] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2916257793,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:01] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-6039327048747047424,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-07 09:18:01] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2818649465,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:01] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3982753792,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970627584,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:01] local.WARNING: Large IO value detected {"io_id":242,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:01] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-6370340378085474299,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:01] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,157,87,24,241,16,238,159,169,45,77,9,37,10,66,103,112,39,36,128,1,240,133,227,237,58,236,4,113,205,11,206,224,42,239,51,2,110,5,12,242,173],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-07 09:18:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936931404632555520,"timestamp_seconds":936931404632555.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 09:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:18: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-07-07 09:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549369344001,"66":13319,"157":206,"87":13824,"24":13,"16":103282534560825344,"45":8794967147738505216},"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-07-07 09:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549369344001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:18:01] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:18:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103282534560825344,"km_value":103282534560825.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147738505216,"description":"Unknown IO ID 45"} 
[2026-07-07 09:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549369344001,"power":13319,"unknown_157":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8794967147738505216}} 
[2026-07-07 09:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":125002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:18:01] local.INFO: GPS data processed {"connection_id":125002,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:18:01] local.INFO: Acknowledgment sent {"connection_id":125002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:18:04] local.INFO: TCP Data received {"connection_id":124208,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:18:04] local.INFO: Processing buffer {"connection_id":124208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:18:04] local.INFO: IMEI packet received {"connection_id":124208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":124208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:18:06] local.INFO: TCP Data received {"connection_id":124208,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aaea198012d874f4006145248000d009d30..."} 
[2026-07-07 09:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aaea198012d874f4006145248000d009d30..."} 
[2026-07-07 09:18:06] local.INFO: Processing buffer {"connection_id":124208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aaea198012d874f4006145248000d009d30..."} 
[2026-07-07 09:18:06] local.INFO: Packet analysis {"connection_id":124208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aae"} 
[2026-07-07 09:18:06] local.INFO: Extracted packet for processing {"connection_id":124208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aae"} 
[2026-07-07 09:18:06] local.INFO: GPS Element Parsed {"raw_longitude":763842368,"raw_latitude":101995080,"longitude_deg":76.3842368,"latitude_deg":10.199508,"altitude":13,"angle":157,"satellites":48,"speed":12,"hex_longitude":"2d874f40","hex_latitude":"06145248","is_valid_coordinates":true} 
[2026-07-07 09:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549358080001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340781809279172608,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8699265604107343872,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783395951000,"timestamp_ms":1783395951000,"timestamp_seconds":1783395951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aaea198"} 
[2026-07-07 09:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 09:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549358080001,"66":27800,"156":206,"79":46592,"24":12,"16":340781809279172608,"45":-8699265604107343872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-07-07 09:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549358080001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:18:06] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 09:18:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340781809279172608,"km_value":340781809279172.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8699265604107343872,"description":"Unknown IO ID 45"} 
[2026-07-07 09:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549358080001,"power":27800,"unknown_156":206,"unknown_79":46592,"ignition":12,"odometer":null,"unknown_45":-8699265604107343872}} 
[2026-07-07 09:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":124208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:18:06] local.INFO: GPS data processed {"connection_id":124208,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:18:06] local.INFO: Acknowledgment sent {"connection_id":124208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:18:10] local.INFO: TCP Data received {"connection_id":124208,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aaef3a0012d87578006143e380010009d2f..."} 
[2026-07-07 09:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aaef3a0012d87578006143e380010009d2f..."} 
[2026-07-07 09:18:10] local.INFO: Processing buffer {"connection_id":124208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aaef3a0012d87578006143e380010009d2f..."} 
[2026-07-07 09:18:10] local.INFO: Packet analysis {"connection_id":124208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aae"} 
[2026-07-07 09:18:10] local.INFO: Extracted packet for processing {"connection_id":124208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aae"} 
[2026-07-07 09:18:10] local.INFO: GPS Element Parsed {"raw_longitude":763844480,"raw_latitude":101989944,"longitude_deg":76.384448,"latitude_deg":10.1989944,"altitude":16,"angle":157,"satellites":47,"speed":0,"hex_longitude":"2d875780","hex_latitude":"06143e38","is_valid_coordinates":true} 
[2026-07-07 09:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549363456001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340782079862112256,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8696661960574220288,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783395972000,"timestamp_ms":1783395972000,"timestamp_seconds":1783395972,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aaef3a0"} 
[2026-07-07 09:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 09:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549363456001,"66":27974,"156":206,"79":46592,"24":0,"16":340782079862112256,"45":-8696661960574220288},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-07-07 09:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549363456001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:18:10] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 09:18:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340782079862112256,"km_value":340782079862112.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8696661960574220288,"description":"Unknown IO ID 45"} 
[2026-07-07 09:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549363456001,"power":27974,"unknown_156":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8696661960574220288}} 
[2026-07-07 09:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":124208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:18:10] local.INFO: GPS data processed {"connection_id":124208,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:18:10] local.INFO: Acknowledgment sent {"connection_id":124208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:18:12] local.INFO: TCP Data received {"connection_id":126225,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126225,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:18:12] local.INFO: Processing buffer {"connection_id":126225,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:18:12] local.INFO: IMEI packet received {"connection_id":126225,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":126225,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:18:14] local.INFO: TCP Data received {"connection_id":126225,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126225,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:18:14] local.INFO: Processing buffer {"connection_id":126225,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:18:14] local.INFO: IMEI packet received {"connection_id":126225,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":126225,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:18:15] local.INFO: TCP Data received {"connection_id":126225,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126225,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:18:15] local.INFO: Processing buffer {"connection_id":126225,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:18:15] local.INFO: IMEI packet received {"connection_id":126225,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":126225,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:18:17] local.INFO: TCP Data received {"connection_id":126225,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126225,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:18:17] local.INFO: Processing buffer {"connection_id":126225,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:18:17] local.INFO: IMEI packet received {"connection_id":126225,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":126225,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:18:32] local.INFO: TCP Data received {"connection_id":126225,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab0b0f0012d0a4a40070586b8000e014a21..."} 
[2026-07-07 09:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab0b0f0012d0a4a40070586b8000e014a21..."} 
[2026-07-07 09:18:32] local.INFO: Processing buffer {"connection_id":126225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab0b0f0012d0a4a40070586b8000e014a21..."} 
[2026-07-07 09:18:32] local.INFO: Packet analysis {"connection_id":126225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab0"} 
[2026-07-07 09:18:32] local.INFO: Extracted packet for processing {"connection_id":126225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab0"} 
[2026-07-07 09:18:32] local.INFO: GPS Element Parsed {"raw_longitude":755649088,"raw_latitude":117802680,"longitude_deg":75.5649088,"latitude_deg":11.780268,"altitude":14,"angle":330,"satellites":33,"speed":10,"hex_longitude":"2d0a4a40","hex_latitude":"070586b8","is_valid_coordinates":true} 
[2026-07-07 09:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549397760001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23321938705252352,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741616225045835776,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783396086000,"timestamp_ms":1783396086000,"timestamp_seconds":1783396086,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab0b0f0"} 
[2026-07-07 09:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 09:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126225,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126225,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549397760001,"66":14374,"177":206,"94":10240,"24":10,"16":23321938705252352,"45":741616225045835776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-07 09:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549397760001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:18:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 09:18:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23321938705252352,"km_value":23321938705252.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":741616225045835776,"description":"Unknown IO ID 45"} 
[2026-07-07 09:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549397760001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":741616225045835776}} 
[2026-07-07 09:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":126225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444594,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:18:32] local.INFO: GPS data processed {"connection_id":126225,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:18:32] local.INFO: Acknowledgment sent {"connection_id":126225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:18:32] local.INFO: TCP Data received {"connection_id":125002,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aaf5d18012d7a1a8005ec1290000d00a123..."} 
[2026-07-07 09:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aaf5d18012d7a1a8005ec1290000d00a123..."} 
[2026-07-07 09:18:32] local.INFO: Processing buffer {"connection_id":125002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aaf5d18012d7a1a8005ec1290000d00a123..."} 
[2026-07-07 09:18:32] local.INFO: Packet analysis {"connection_id":125002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aaf"} 
[2026-07-07 09:18:32] local.INFO: Extracted packet for processing {"connection_id":125002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aaf"} 
[2026-07-07 09:18:32] local.INFO: GPS Element Parsed {"raw_longitude":762976896,"raw_latitude":99357328,"longitude_deg":76.2976896,"latitude_deg":9.9357328,"altitude":13,"angle":161,"satellites":35,"speed":0,"hex_longitude":"2d7a1a80","hex_latitude":"05ec1290","is_valid_coordinates":true} 
[2026-07-07 09:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549370368001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103282878158209024,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360203354112,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783395999000,"timestamp_ms":1783395999000,"timestamp_seconds":1783395999,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aaf5d18"} 
[2026-07-07 09:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 09:18:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:32] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2921633793,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:32] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-6127147241484244736,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-07 09:18:32] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2415996281,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:32] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3982950400,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:32] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:32] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-4118540564400373755,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:32] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,157,87,24,241,16,238,159,251,45,47,13,38,10,66,169,77,9,37,103,1,240,144,227,58,236,4,113,205,19,210,225,232,42,239,51,2,110,5,12,46,173],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-07 09:18:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936918210493349888,"timestamp_seconds":936918210493349.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 09:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549370368001,"66":13091,"157":206,"87":13824,"24":0,"16":103282878158209024,"45":8795389360203354112},"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-07-07 09:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549370368001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:18:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 09:18:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103282878158209024,"km_value":103282878158209.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360203354112,"description":"Unknown IO ID 45"} 
[2026-07-07 09:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549370368001,"power":13091,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360203354112}} 
[2026-07-07 09:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":125002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:18:32] local.INFO: GPS data processed {"connection_id":125002,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:18:32] local.INFO: Acknowledgment sent {"connection_id":125002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:18:41] local.INFO: TCP Data received {"connection_id":124208,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aaf45a8012d8757c006143d88000f009d30..."} 
[2026-07-07 09:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aaf45a8012d8757c006143d88000f009d30..."} 
[2026-07-07 09:18:41] local.INFO: Processing buffer {"connection_id":124208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aaf45a8012d8757c006143d88000f009d30..."} 
[2026-07-07 09:18:41] local.INFO: Packet analysis {"connection_id":124208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aaf"} 
[2026-07-07 09:18:41] local.INFO: Extracted packet for processing {"connection_id":124208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aaf"} 
[2026-07-07 09:18:41] local.INFO: GPS Element Parsed {"raw_longitude":763844544,"raw_latitude":101989768,"longitude_deg":76.3844544,"latitude_deg":10.1989768,"altitude":15,"angle":157,"satellites":48,"speed":0,"hex_longitude":"2d8757c0","hex_latitude":"06143d88","is_valid_coordinates":true} 
[2026-07-07 09:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549368832001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340782088452046848,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8694339792017672192,"note":"Value kept but may cause issues"} 
[2026-07-07 09:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783395993000,"timestamp_ms":1783395993000,"timestamp_seconds":1783395993,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aaf45a8"} 
[2026-07-07 09:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:18: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-07-07 09:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 09:18: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-07-07 09:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549368832001,"66":27691,"156":206,"79":46592,"24":0,"16":340782088452046848,"45":-8694339792017672192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-07-07 09:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549368832001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:18:41] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 09:18:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340782088452046848,"km_value":340782088452046.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8694339792017672192,"description":"Unknown IO ID 45"} 
[2026-07-07 09:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549368832001,"power":27691,"unknown_156":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8694339792017672192}} 
[2026-07-07 09:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":124208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:18:41] local.INFO: GPS data processed {"connection_id":124208,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:18:41] local.INFO: Acknowledgment sent {"connection_id":124208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:18:59] local.INFO: TCP Data received {"connection_id":126228,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:18:59] local.INFO: Processing buffer {"connection_id":126228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:18:59] local.INFO: IMEI packet received {"connection_id":126228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":126228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:18:59] local.INFO: TCP Data received {"connection_id":126226,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:18:59] local.INFO: Processing buffer {"connection_id":126226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:18:59] local.INFO: IMEI packet received {"connection_id":126226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":126226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:19:01] local.INFO: TCP Data received {"connection_id":126228,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:19:01] local.INFO: Processing buffer {"connection_id":126228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:19:01] local.INFO: IMEI packet received {"connection_id":126228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":126228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:19:04] local.INFO: TCP Data received {"connection_id":126226,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:19:05] local.INFO: Processing buffer {"connection_id":126226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:19:05] local.INFO: IMEI packet received {"connection_id":126226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":126226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:19:05] local.INFO: TCP Data received {"connection_id":126226,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aaf97b0012d87588006143b88000e009d31..."} 
[2026-07-07 09:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aaf97b0012d87588006143b88000e009d31..."} 
[2026-07-07 09:19:05] local.INFO: Processing buffer {"connection_id":126226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aaf97b0012d87588006143b88000e009d31..."} 
[2026-07-07 09:19:05] local.INFO: Packet analysis {"connection_id":126226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aaf"} 
[2026-07-07 09:19:05] local.INFO: Extracted packet for processing {"connection_id":126226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aaf"} 
[2026-07-07 09:19:05] local.INFO: GPS Element Parsed {"raw_longitude":763844736,"raw_latitude":101989256,"longitude_deg":76.3844736,"latitude_deg":10.1989256,"altitude":14,"angle":157,"satellites":49,"speed":0,"hex_longitude":"2d875880","hex_latitude":"06143b88","is_valid_coordinates":true} 
[2026-07-07 09:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549374208001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340782118516817920,"note":"Value kept but may cause issues"} 
[2026-07-07 09:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8694269423273539584,"note":"Value kept but may cause issues"} 
[2026-07-07 09:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783396014000,"timestamp_ms":1783396014000,"timestamp_seconds":1783396014,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aaf97b0"} 
[2026-07-07 09:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-07 09:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549374208001,"66":28006,"156":206,"79":46592,"24":0,"16":340782118516817920,"45":-8694269423273539584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-07-07 09:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549374208001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:19:05] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 09:19:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340782118516817920,"km_value":340782118516817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8694269423273539584,"description":"Unknown IO ID 45"} 
[2026-07-07 09:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549374208001,"power":28006,"unknown_156":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8694269423273539584}} 
[2026-07-07 09:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":126226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:19:05] local.INFO: GPS data processed {"connection_id":126226,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:19:05] local.INFO: Acknowledgment sent {"connection_id":126226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:19:06] local.INFO: TCP Data received {"connection_id":126228,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:19:06] local.INFO: Processing buffer {"connection_id":126228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:19:06] local.INFO: IMEI packet received {"connection_id":126228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":126228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:19:07] local.INFO: TCP Data received {"connection_id":126228,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab0dfd0012d7a5c4005eb9680000a004927..."} 
[2026-07-07 09:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab0dfd0012d7a5c4005eb9680000a004927..."} 
[2026-07-07 09:19:07] local.INFO: Processing buffer {"connection_id":126228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab0dfd0012d7a5c4005eb9680000a004927..."} 
[2026-07-07 09:19:07] local.INFO: Packet analysis {"connection_id":126228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab0"} 
[2026-07-07 09:19:07] local.INFO: Extracted packet for processing {"connection_id":126228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab0"} 
[2026-07-07 09:19:07] local.INFO: GPS Element Parsed {"raw_longitude":762993728,"raw_latitude":99325568,"longitude_deg":76.2993728,"latitude_deg":9.9325568,"altitude":10,"angle":73,"satellites":39,"speed":16,"hex_longitude":"2d7a5c40","hex_latitude":"05eb9680","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549400576001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103284669159571456,"note":"Value kept but may cause issues"} 
[2026-07-07 09:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816148139725946880,"note":"Value kept but may cause issues"} 
[2026-07-07 09:19:07] 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-07-07 09:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783396098000,"timestamp_ms":1783396098000,"timestamp_seconds":1783396098,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab0dfd0"} 
[2026-07-07 09:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":166,"data_length":795,"current_offset":136} 
[2026-07-07 09:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:19: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-07-07 09:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549400576001,"66":13189,"163":206,"87":13824,"24":16,"16":103284669159571456,"45":8816148139725946880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-07 09:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549400576001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:19:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 09:19:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103284669159571456,"km_value":103284669159571.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816148139725946880,"description":"Unknown IO ID 45"} 
[2026-07-07 09:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549400576001,"power":13189,"unknown_163":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8816148139725946880}} 
[2026-07-07 09:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":126228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:19:07] local.INFO: GPS data processed {"connection_id":126228,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:19:07] local.INFO: Acknowledgment sent {"connection_id":126228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:19:14] local.INFO: TCP Data received {"connection_id":124302,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124302,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:19:14] local.INFO: Processing buffer {"connection_id":124302,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:19:14] local.INFO: IMEI packet received {"connection_id":124302,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":124302,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:19:15] local.INFO: TCP Data received {"connection_id":124302,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124302,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:19:15] local.INFO: Processing buffer {"connection_id":124302,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:19:15] local.INFO: IMEI packet received {"connection_id":124302,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":124302,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:19:21] local.INFO: TCP Data received {"connection_id":124302,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124302,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:19:21] local.INFO: Processing buffer {"connection_id":124302,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:19:21] local.INFO: IMEI packet received {"connection_id":124302,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":124302,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:19:22] local.INFO: TCP Data received {"connection_id":124302,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab1aed8012d09ea0007057b90000900ce1f..."} 
[2026-07-07 09:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab1aed8012d09ea0007057b90000900ce1f..."} 
[2026-07-07 09:19:22] local.INFO: Processing buffer {"connection_id":124302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab1aed8012d09ea0007057b90000900ce1f..."} 
[2026-07-07 09:19:22] local.INFO: Packet analysis {"connection_id":124302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab1"} 
[2026-07-07 09:19:22] local.INFO: Extracted packet for processing {"connection_id":124302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab1"} 
[2026-07-07 09:19:22] local.INFO: GPS Element Parsed {"raw_longitude":755624448,"raw_latitude":117799824,"longitude_deg":75.5624448,"latitude_deg":11.7799824,"altitude":9,"angle":206,"satellites":31,"speed":10,"hex_longitude":"2d09ea00","hex_latitude":"07057b90","is_valid_coordinates":true} 
[2026-07-07 09:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549414400001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23323154180997120,"note":"Value kept but may cause issues"} 
[2026-07-07 09:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714453889792659456,"note":"Value kept but may cause issues"} 
[2026-07-07 09:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783396151000,"timestamp_ms":1783396151000,"timestamp_seconds":1783396151,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab1aed8"} 
[2026-07-07 09:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 09:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549414400001,"66":14374,"177":206,"94":10240,"24":10,"16":23323154180997120,"45":714453889792659456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-07 09:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549414400001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:19:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 09:19:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23323154180997120,"km_value":23323154180997.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":714453889792659456,"description":"Unknown IO ID 45"} 
[2026-07-07 09:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549414400001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":714453889792659456}} 
[2026-07-07 09:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":124302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444599,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:19:22] local.INFO: GPS data processed {"connection_id":124302,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:19:22] local.INFO: Acknowledgment sent {"connection_id":124302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:19:37] local.INFO: TCP Data received {"connection_id":126226,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aafe9b8012d87588006143b88000e009d30..."} 
[2026-07-07 09:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aafe9b8012d87588006143b88000e009d30..."} 
[2026-07-07 09:19:37] local.INFO: Processing buffer {"connection_id":126226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aafe9b8012d87588006143b88000e009d30..."} 
[2026-07-07 09:19:37] local.INFO: Packet analysis {"connection_id":126226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aaf"} 
[2026-07-07 09:19:37] local.INFO: Extracted packet for processing {"connection_id":126226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aaf"} 
[2026-07-07 09:19:37] local.INFO: GPS Element Parsed {"raw_longitude":763844736,"raw_latitude":101989256,"longitude_deg":76.3844736,"latitude_deg":10.1989256,"altitude":14,"angle":157,"satellites":48,"speed":0,"hex_longitude":"2d875880","hex_latitude":"06143b88","is_valid_coordinates":true} 
[2026-07-07 09:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549379584001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340782118516817920,"note":"Value kept but may cause issues"} 
[2026-07-07 09:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8694058317041137664,"note":"Value kept but may cause issues"} 
[2026-07-07 09:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783396035000,"timestamp_ms":1783396035000,"timestamp_seconds":1783396035,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aafe9b8"} 
[2026-07-07 09:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 09:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549379584001,"66":27930,"156":206,"79":46592,"24":0,"16":340782118516817920,"45":-8694058317041137664},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-07-07 09:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549379584001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:19:37] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 09:19:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340782118516817920,"km_value":340782118516817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8694058317041137664,"description":"Unknown IO ID 45"} 
[2026-07-07 09:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549379584001,"power":27930,"unknown_156":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8694058317041137664}} 
[2026-07-07 09:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":126226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:19:37] local.INFO: GPS data processed {"connection_id":126226,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:19:37] local.INFO: Acknowledgment sent {"connection_id":126226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:19:38] local.INFO: TCP Data received {"connection_id":126228,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab11a68012d7a7ec005eba2c8000c004726..."} 
[2026-07-07 09:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab11a68012d7a7ec005eba2c8000c004726..."} 
[2026-07-07 09:19:38] local.INFO: Processing buffer {"connection_id":126228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab11a68012d7a7ec005eba2c8000c004726..."} 
[2026-07-07 09:19:38] local.INFO: Packet analysis {"connection_id":126228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab1"} 
[2026-07-07 09:19:38] local.INFO: Extracted packet for processing {"connection_id":126228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab1"} 
[2026-07-07 09:19:38] local.INFO: GPS Element Parsed {"raw_longitude":763002560,"raw_latitude":99328712,"longitude_deg":76.300256,"latitude_deg":9.9328712,"altitude":12,"angle":71,"satellites":38,"speed":29,"hex_longitude":"2d7a7ec0","hex_latitude":"05eba2c8","is_valid_coordinates":true} 
[2026-07-07 09:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549401088001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103285120131137536,"note":"Value kept but may cause issues"} 
[2026-07-07 09:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816992564656111616,"note":"Value kept but may cause issues"} 
[2026-07-07 09:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783396113000,"timestamp_ms":1783396113000,"timestamp_seconds":1783396113,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab11a68"} 
[2026-07-07 09:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:19: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-07-07 09:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 09:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:19: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-07-07 09:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549401088001,"66":13189,"163":206,"87":13824,"24":29,"16":103285120131137536,"45":8816992564656111616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-07 09:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549401088001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:19:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 09:19:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103285120131137536,"km_value":103285120131137.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816992564656111616,"description":"Unknown IO ID 45"} 
[2026-07-07 09:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549401088001,"power":13189,"unknown_163":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8816992564656111616}} 
[2026-07-07 09:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":126228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:19:38] local.INFO: GPS data processed {"connection_id":126228,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:19:38] local.INFO: Acknowledgment sent {"connection_id":126228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:19:53] local.INFO: TCP Data received {"connection_id":124302,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab22fc0012d09bf8007057428000f00e820..."} 
[2026-07-07 09:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab22fc0012d09bf8007057428000f00e820..."} 
[2026-07-07 09:19:53] local.INFO: Processing buffer {"connection_id":124302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab22fc0012d09bf8007057428000f00e820..."} 
[2026-07-07 09:19:53] local.INFO: Packet analysis {"connection_id":124302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab2"} 
[2026-07-07 09:19:53] local.INFO: Extracted packet for processing {"connection_id":124302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab2"} 
[2026-07-07 09:19:53] local.INFO: GPS Element Parsed {"raw_longitude":755613568,"raw_latitude":117797928,"longitude_deg":75.5613568,"latitude_deg":11.7797928,"altitude":15,"angle":232,"satellites":32,"speed":12,"hex_longitude":"2d09bf80","hex_latitude":"07057428","is_valid_coordinates":true} 
[2026-07-07 09:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549422848001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23323832785829888,"note":"Value kept but may cause issues"} 
[2026-07-07 09:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702631940770295808,"note":"Value kept but may cause issues"} 
[2026-07-07 09:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783396184000,"timestamp_ms":1783396184000,"timestamp_seconds":1783396184,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab22fc0"} 
[2026-07-07 09:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 09:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":124302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":124302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":124302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549422848001,"66":14559,"177":206,"94":10240,"24":12,"16":23323832785829888,"45":702631940770295808},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-07 09:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549422848001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:19:53] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 09:19:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23323832785829888,"km_value":23323832785829.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":702631940770295808,"description":"Unknown IO ID 45"} 
[2026-07-07 09:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549422848001,"power":14559,"unknown_177":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":702631940770295808}} 
[2026-07-07 09:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":124302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444602,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:19:53] local.INFO: GPS data processed {"connection_id":124302,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:19:53] local.INFO: Acknowledgment sent {"connection_id":124302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:20:02] local.INFO: TCP Data received {"connection_id":125003,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:20:02] local.INFO: Processing buffer {"connection_id":125003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:20:02] local.INFO: IMEI packet received {"connection_id":125003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":125003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:20:05] local.INFO: TCP Data received {"connection_id":125003,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:20:05] local.INFO: Processing buffer {"connection_id":125003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:20:05] local.INFO: IMEI packet received {"connection_id":125003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":125003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:20:06] local.INFO: TCP Data received {"connection_id":125003,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab03bc0012d875a4006143710000e009d2f..."} 
[2026-07-07 09:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab03bc0012d875a4006143710000e009d2f..."} 
[2026-07-07 09:20:06] local.INFO: Processing buffer {"connection_id":125003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab03bc0012d875a4006143710000e009d2f..."} 
[2026-07-07 09:20:06] local.INFO: Packet analysis {"connection_id":125003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab0"} 
[2026-07-07 09:20:06] local.INFO: Extracted packet for processing {"connection_id":125003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab0"} 
[2026-07-07 09:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763845184,"raw_latitude":101988112,"longitude_deg":76.3845184,"latitude_deg":10.1988112,"altitude":14,"angle":157,"satellites":47,"speed":1,"hex_longitude":"2d875a40","hex_latitude":"06143710","is_valid_coordinates":true} 
[2026-07-07 09:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549384960001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340782182941327360,"note":"Value kept but may cause issues"} 
[2026-07-07 09:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8694058317041137664,"note":"Value kept but may cause issues"} 
[2026-07-07 09:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783396056000,"timestamp_ms":1783396056000,"timestamp_seconds":1783396056,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab03bc0"} 
[2026-07-07 09:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 09:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549384960001,"66":27832,"156":206,"79":46592,"24":1,"16":340782182941327360,"45":-8694058317041137664},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-07-07 09:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549384960001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:20:06] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 09:20:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340782182941327360,"km_value":340782182941327.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8694058317041137664,"description":"Unknown IO ID 45"} 
[2026-07-07 09:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549384960001,"power":27832,"unknown_156":206,"unknown_79":46592,"ignition":1,"odometer":null,"unknown_45":-8694058317041137664}} 
[2026-07-07 09:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":125003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:20:06] local.INFO: GPS data processed {"connection_id":125003,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:20:06] local.INFO: Acknowledgment sent {"connection_id":125003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:20:10] local.INFO: TCP Data received {"connection_id":125003,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab08dc8012d875ac006143608000e009d2f..."} 
[2026-07-07 09:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab08dc8012d875ac006143608000e009d2f..."} 
[2026-07-07 09:20:10] local.INFO: Processing buffer {"connection_id":125003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab08dc8012d875ac006143608000e009d2f..."} 
[2026-07-07 09:20:10] local.INFO: Packet analysis {"connection_id":125003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab0"} 
[2026-07-07 09:20:10] local.INFO: Extracted packet for processing {"connection_id":125003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab0"} 
[2026-07-07 09:20:10] local.INFO: GPS Element Parsed {"raw_longitude":763845312,"raw_latitude":101987848,"longitude_deg":76.3845312,"latitude_deg":10.1987848,"altitude":14,"angle":157,"satellites":47,"speed":0,"hex_longitude":"2d875ac0","hex_latitude":"06143608","is_valid_coordinates":true} 
[2026-07-07 09:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549390336001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340782200121196544,"note":"Value kept but may cause issues"} 
[2026-07-07 09:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8693565735832186880,"note":"Value kept but may cause issues"} 
[2026-07-07 09:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783396077000,"timestamp_ms":1783396077000,"timestamp_seconds":1783396077,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab08dc8"} 
[2026-07-07 09:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 09:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549390336001,"66":27843,"156":206,"79":46592,"24":0,"16":340782200121196544,"45":-8693565735832186880},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-07-07 09:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549390336001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:20:10] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 09:20:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340782200121196544,"km_value":340782200121196.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8693565735832186880,"description":"Unknown IO ID 45"} 
[2026-07-07 09:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549390336001,"power":27843,"unknown_156":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8693565735832186880}} 
[2026-07-07 09:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":125003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:20:10] local.INFO: GPS data processed {"connection_id":125003,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:20:10] local.INFO: Acknowledgment sent {"connection_id":125003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:20:15] local.INFO: TCP Data received {"connection_id":124303,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124303,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:20:15] local.INFO: Processing buffer {"connection_id":124303,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:20:15] local.INFO: IMEI packet received {"connection_id":124303,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":124303,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:20:15] local.INFO: TCP Data received {"connection_id":124210,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:20:15] local.INFO: Processing buffer {"connection_id":124210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:20:15] local.INFO: IMEI packet received {"connection_id":124210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":124210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:20:17] local.INFO: TCP Data received {"connection_id":124210,"ip":"42.106.6.37","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 09:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124210,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 09:20:17] local.INFO: Processing buffer {"connection_id":124210,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 09:20:17] local.INFO: IMEI packet received {"connection_id":124210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":124210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:20:20] local.INFO: TCP Data received {"connection_id":124303,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124303,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:20:20] local.INFO: Processing buffer {"connection_id":124303,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:20:20] local.INFO: IMEI packet received {"connection_id":124303,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":124303,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:20:21] local.INFO: TCP Data received {"connection_id":124303,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab233a8012d09bec0070572f0000f00c920..."} 
[2026-07-07 09:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab233a8012d09bec0070572f0000f00c920..."} 
[2026-07-07 09:20:21] local.INFO: Processing buffer {"connection_id":124303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab233a8012d09bec0070572f0000f00c920..."} 
[2026-07-07 09:20:21] local.INFO: Packet analysis {"connection_id":124303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab2"} 
[2026-07-07 09:20:21] local.INFO: Extracted packet for processing {"connection_id":124303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab2"} 
[2026-07-07 09:20:21] local.INFO: GPS Element Parsed {"raw_longitude":755613376,"raw_latitude":117797616,"longitude_deg":75.5613376,"latitude_deg":11.7797616,"altitude":15,"angle":201,"satellites":32,"speed":12,"hex_longitude":"2d09bec0","hex_latitude":"070572f0","is_valid_coordinates":true} 
[2026-07-07 09:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549423104001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23323849965699072,"note":"Value kept but may cause issues"} 
[2026-07-07 09:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702420834537711616,"note":"Value kept but may cause issues"} 
[2026-07-07 09:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783396185000,"timestamp_ms":1783396185000,"timestamp_seconds":1783396185,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab233a8"} 
[2026-07-07 09:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 09:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124303,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124303,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549423104001,"66":14396,"177":206,"94":10240,"24":12,"16":23323849965699072,"45":702420834537711616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-07 09:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549423104001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:20:21] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 09:20:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23323849965699072,"km_value":23323849965699.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":702420834537711616,"description":"Unknown IO ID 45"} 
[2026-07-07 09:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549423104001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":702420834537711616}} 
[2026-07-07 09:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":124303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444605,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:20:21] local.INFO: GPS data processed {"connection_id":124303,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:20:21] local.INFO: Acknowledgment sent {"connection_id":124303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:20:43] local.INFO: TCP Data received {"connection_id":125003,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab0dfd0012d8761c0061425c80011009a31..."} 
[2026-07-07 09:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab0dfd0012d8761c0061425c80011009a31..."} 
[2026-07-07 09:20:43] local.INFO: Processing buffer {"connection_id":125003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab0dfd0012d8761c0061425c80011009a31..."} 
[2026-07-07 09:20:43] local.INFO: Packet analysis {"connection_id":125003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab0"} 
[2026-07-07 09:20:43] local.INFO: Extracted packet for processing {"connection_id":125003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab0"} 
[2026-07-07 09:20:43] local.INFO: GPS Element Parsed {"raw_longitude":763847104,"raw_latitude":101983688,"longitude_deg":76.3847104,"latitude_deg":10.1983688,"altitude":17,"angle":154,"satellites":49,"speed":14,"hex_longitude":"2d8761c0","hex_latitude":"061425c8","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549395712001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340782423459495936,"note":"Value kept but may cause issues"} 
[2026-07-07 09:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8693424998343899136,"note":"Value kept but may cause issues"} 
[2026-07-07 09:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783396098000,"timestamp_ms":1783396098000,"timestamp_seconds":1783396098,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab0dfd0"} 
[2026-07-07 09:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 09:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549395712001,"66":27767,"156":206,"79":46592,"24":14,"16":340782423459495936,"45":-8693424998343899136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-07-07 09:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549395712001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:20:43] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 09:20:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340782423459495936,"km_value":340782423459495.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8693424998343899136,"description":"Unknown IO ID 45"} 
[2026-07-07 09:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549395712001,"power":27767,"unknown_156":206,"unknown_79":46592,"ignition":14,"odometer":null,"unknown_45":-8693424998343899136}} 
[2026-07-07 09:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":125003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:20:43] local.INFO: GPS data processed {"connection_id":125003,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:20:43] local.INFO: Acknowledgment sent {"connection_id":125003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:20:52] local.INFO: TCP Data received {"connection_id":124303,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab23790012d09be8007057150000f00bb20..."} 
[2026-07-07 09:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab23790012d09be8007057150000f00bb20..."} 
[2026-07-07 09:20:52] local.INFO: Processing buffer {"connection_id":124303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab23790012d09be8007057150000f00bb20..."} 
[2026-07-07 09:20:52] local.INFO: Packet analysis {"connection_id":124303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab2"} 
[2026-07-07 09:20:52] local.INFO: Extracted packet for processing {"connection_id":124303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab2"} 
[2026-07-07 09:20:52] local.INFO: GPS Element Parsed {"raw_longitude":755613312,"raw_latitude":117797200,"longitude_deg":75.5613312,"latitude_deg":11.77972,"altitude":15,"angle":187,"satellites":32,"speed":16,"hex_longitude":"2d09be80","hex_latitude":"07057150","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549423360001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23323871440535552,"note":"Value kept but may cause issues"} 
[2026-07-07 09:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702209728305098752,"note":"Value kept but may cause issues"} 
[2026-07-07 09:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783396186000,"timestamp_ms":1783396186000,"timestamp_seconds":1783396186,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab23790"} 
[2026-07-07 09:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 09:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124303,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124303,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549423360001,"66":14396,"177":206,"94":10240,"24":16,"16":23323871440535552,"45":702209728305098752},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-07 09:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549423360001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:20:52] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 09:20:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23323871440535552,"km_value":23323871440535.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":702209728305098752,"description":"Unknown IO ID 45"} 
[2026-07-07 09:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549423360001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":702209728305098752}} 
[2026-07-07 09:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":124303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444607,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:20:52] local.INFO: GPS data processed {"connection_id":124303,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:20:52] local.INFO: Acknowledgment sent {"connection_id":124303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:20:59] local.INFO: TCP Data received {"connection_id":124212,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:20:59] local.INFO: Processing buffer {"connection_id":124212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:20:59] local.INFO: IMEI packet received {"connection_id":124212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":124212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:21:05] local.INFO: TCP Data received {"connection_id":124212,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:21:05] local.INFO: Processing buffer {"connection_id":124212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:21:05] local.INFO: IMEI packet received {"connection_id":124212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":124212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:21:06] local.INFO: TCP Data received {"connection_id":124212,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab131d8012d876c00061410900013009a30..."} 
[2026-07-07 09:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab131d8012d876c00061410900013009a30..."} 
[2026-07-07 09:21:06] local.INFO: Processing buffer {"connection_id":124212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab131d8012d876c00061410900013009a30..."} 
[2026-07-07 09:21:06] local.INFO: Packet analysis {"connection_id":124212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab1"} 
[2026-07-07 09:21:06] local.INFO: Extracted packet for processing {"connection_id":124212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab1"} 
[2026-07-07 09:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763849728,"raw_latitude":101978256,"longitude_deg":76.3849728,"latitude_deg":10.1978256,"altitude":19,"angle":154,"satellites":48,"speed":9,"hex_longitude":"2d876c00","hex_latitude":"06141090","is_valid_coordinates":true} 
[2026-07-07 09:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549401088001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340782715517272064,"note":"Value kept but may cause issues"} 
[2026-07-07 09:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8691454673507989504,"note":"Value kept but may cause issues"} 
[2026-07-07 09:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783396119000,"timestamp_ms":1783396119000,"timestamp_seconds":1783396119,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab131d8"} 
[2026-07-07 09:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549401088001,"66":27821,"156":206,"79":46592,"24":9,"16":340782715517272064,"45":-8691454673507989504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-07-07 09:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549401088001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:21:06] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 09:21:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340782715517272064,"km_value":340782715517272.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8691454673507989504,"description":"Unknown IO ID 45"} 
[2026-07-07 09:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549401088001,"power":27821,"unknown_156":206,"unknown_79":46592,"ignition":9,"odometer":null,"unknown_45":-8691454673507989504}} 
[2026-07-07 09:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":124212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:21:06] local.INFO: GPS data processed {"connection_id":124212,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:21:06] local.INFO: Acknowledgment sent {"connection_id":124212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:21:15] local.INFO: TCP Data received {"connection_id":124304,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124304,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:21:15] local.INFO: Processing buffer {"connection_id":124304,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:21:15] local.INFO: IMEI packet received {"connection_id":124304,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":124304,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:21:15] local.INFO: TCP Data received {"connection_id":124304,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124304,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:21:15] local.INFO: Processing buffer {"connection_id":124304,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:21:15] local.INFO: IMEI packet received {"connection_id":124304,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":124304,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:21:20] local.INFO: TCP Data received {"connection_id":124304,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124304,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:21:20] local.INFO: Processing buffer {"connection_id":124304,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:21:20] local.INFO: IMEI packet received {"connection_id":124304,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":124304,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:21:21] local.INFO: TCP Data received {"connection_id":124304,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab33190012d09be40070540b0000b00c521..."} 
[2026-07-07 09:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab33190012d09be40070540b0000b00c521..."} 
[2026-07-07 09:21:21] local.INFO: Processing buffer {"connection_id":124304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab33190012d09be40070540b0000b00c521..."} 
[2026-07-07 09:21:21] local.INFO: Packet analysis {"connection_id":124304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab3"} 
[2026-07-07 09:21:21] local.INFO: Extracted packet for processing {"connection_id":124304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab3"} 
[2026-07-07 09:21:21] local.INFO: GPS Element Parsed {"raw_longitude":755613248,"raw_latitude":117784752,"longitude_deg":75.5613248,"latitude_deg":11.7784752,"altitude":11,"angle":197,"satellites":33,"speed":12,"hex_longitude":"2d09be40","hex_latitude":"070540b0","is_valid_coordinates":true} 
[2026-07-07 09:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549434624001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23324554340335616,"note":"Value kept but may cause issues"} 
[2026-07-07 09:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702491203278761984,"note":"Value kept but may cause issues"} 
[2026-07-07 09:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783396250000,"timestamp_ms":1783396250000,"timestamp_seconds":1783396250,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab33190"} 
[2026-07-07 09:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-07 09:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124304,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124304,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549434624001,"66":13624,"177":206,"94":10240,"24":12,"16":23324554340335616,"45":702491203278761984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-07 09:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549434624001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:21:21] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 09:21:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23324554340335616,"km_value":23324554340335.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":702491203278761984,"description":"Unknown IO ID 45"} 
[2026-07-07 09:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549434624001,"power":13624,"unknown_177":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":702491203278761984}} 
[2026-07-07 09:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":124304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444609,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:21:21] local.INFO: GPS data processed {"connection_id":124304,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:21:21] local.INFO: Acknowledgment sent {"connection_id":124304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:21:38] local.INFO: TCP Data received {"connection_id":124212,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab183e0012d8777c00613f3280014009f2d..."} 
[2026-07-07 09:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab183e0012d8777c00613f3280014009f2d..."} 
[2026-07-07 09:21:38] local.INFO: Processing buffer {"connection_id":124212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab183e0012d8777c00613f3280014009f2d..."} 
[2026-07-07 09:21:38] local.INFO: Packet analysis {"connection_id":124212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab1"} 
[2026-07-07 09:21:38] local.INFO: Extracted packet for processing {"connection_id":124212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab1"} 
[2026-07-07 09:21:38] local.INFO: GPS Element Parsed {"raw_longitude":763852736,"raw_latitude":101970728,"longitude_deg":76.3852736,"latitude_deg":10.1970728,"altitude":20,"angle":159,"satellites":45,"speed":17,"hex_longitude":"2d8777c0","hex_latitude":"0613f328","is_valid_coordinates":true} 
[2026-07-07 09:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549406464001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340783110654263296,"note":"Value kept but may cause issues"} 
[2026-07-07 09:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8688569554998095872,"note":"Value kept but may cause issues"} 
[2026-07-07 09:21:38] 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-07-07 09:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783396140000,"timestamp_ms":1783396140000,"timestamp_seconds":1783396140,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab183e0"} 
[2026-07-07 09:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:21: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-07-07 09:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 09:21: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-07-07 09:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549406464001,"66":27745,"195":206,"79":46592,"24":17,"16":340783110654263296,"45":-8688569554998095872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,79,24,16,45]} 
[2026-07-07 09:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549406464001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:21:38] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-07 09:21:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340783110654263296,"km_value":340783110654263.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8688569554998095872,"description":"Unknown IO ID 45"} 
[2026-07-07 09:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549406464001,"power":27745,"unknown_195":206,"unknown_79":46592,"ignition":17,"odometer":null,"unknown_45":-8688569554998095872}} 
[2026-07-07 09:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":124212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:21:38] local.INFO: GPS data processed {"connection_id":124212,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:21:38] local.INFO: Acknowledgment sent {"connection_id":124212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:21:52] local.INFO: TCP Data received {"connection_id":124304,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab40868012d09ca800704fd580007008321..."} 
[2026-07-07 09:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab40868012d09ca800704fd580007008321..."} 
[2026-07-07 09:21:52] local.INFO: Processing buffer {"connection_id":124304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab40868012d09ca800704fd580007008321..."} 
[2026-07-07 09:21:52] local.INFO: Packet analysis {"connection_id":124304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab4"} 
[2026-07-07 09:21:52] local.INFO: Extracted packet for processing {"connection_id":124304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab4"} 
[2026-07-07 09:21:52] local.INFO: GPS Element Parsed {"raw_longitude":755616384,"raw_latitude":117767512,"longitude_deg":75.5616384,"latitude_deg":11.7767512,"altitude":7,"angle":131,"satellites":33,"speed":9,"hex_longitude":"2d09ca80","hex_latitude":"0704fd58","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549453312001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23325533592879104,"note":"Value kept but may cause issues"} 
[2026-07-07 09:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":704954109320470528,"note":"Value kept but may cause issues"} 
[2026-07-07 09:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783396305000,"timestamp_ms":1783396305000,"timestamp_seconds":1783396305,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab40868"} 
[2026-07-07 09:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-07-07 09:21:52] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3659183302967296,"note":"Value kept but may cause issues"} 
[2026-07-07 09:21:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652633523566848,"note":"Value kept but may cause issues"} 
[2026-07-07 09:21:52] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3018145793,"note":"Value kept but may cause issues"} 
[2026-07-07 09:21:52] local.WARNING: Large IO value detected {"io_id":4,"raw_value":7493998577818140682,"note":"Value kept but may cause issues"} 
[2026-07-07 09:21:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2008088782,"corrected_to":0} 
[2026-07-07 09:21:52] local.WARNING: Large IO value detected {"io_id":82,"raw_value":3730309120,"note":"Value kept but may cause issues"} 
[2026-07-07 09:21:52] local.WARNING: Large IO value detected {"io_id":201,"raw_value":-1729051262072125691,"note":"Value kept but may cause issues"} 
[2026-07-07 09:21:52] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,177,94,24,241,157,16,222,159,240,45,2,7,34,10,66,237,128,3,233,64,1,38,227,58,5,4,113,205,225,197,239,56,82,8,13,201],"length":528,"final_offset":658,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2008088782,"validated":0}]} 
[2026-07-07 09:21:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504562729186230272,"timestamp_seconds":504562729186230.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 09:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124304,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124304,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549453312001,"66":14276,"177":206,"94":10240,"24":9,"16":23325533592879104,"45":704954109320470528},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-07 09:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549453312001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:21:52] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 09:21:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23325533592879104,"km_value":23325533592879.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":704954109320470528,"description":"Unknown IO ID 45"} 
[2026-07-07 09:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549453312001,"power":14276,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":704954109320470528}} 
[2026-07-07 09:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":124304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444611,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:21:52] local.INFO: GPS data processed {"connection_id":124304,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:21:52] local.INFO: Acknowledgment sent {"connection_id":124304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:21:59] local.INFO: TCP Data received {"connection_id":125005,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:21:59] local.INFO: Processing buffer {"connection_id":125005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:21:59] local.INFO: IMEI packet received {"connection_id":125005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":125005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:22:04] local.INFO: TCP Data received {"connection_id":125005,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:22:04] local.INFO: Processing buffer {"connection_id":125005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:22:04] local.INFO: IMEI packet received {"connection_id":125005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":125005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:22:05] local.INFO: TCP Data received {"connection_id":125005,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab1ce18012d8785400613d110001200a02f..."} 
[2026-07-07 09:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab1ce18012d8785400613d110001200a02f..."} 
[2026-07-07 09:22:05] local.INFO: Processing buffer {"connection_id":125005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab1ce18012d8785400613d110001200a02f..."} 
[2026-07-07 09:22:05] local.INFO: Packet analysis {"connection_id":125005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab1"} 
[2026-07-07 09:22:05] local.INFO: Extracted packet for processing {"connection_id":125005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab1"} 
[2026-07-07 09:22:05] local.INFO: GPS Element Parsed {"raw_longitude":763856192,"raw_latitude":101962000,"longitude_deg":76.3856192,"latitude_deg":10.1962,"altitude":18,"angle":160,"satellites":47,"speed":28,"hex_longitude":"2d878540","hex_latitude":"0613d110","is_valid_coordinates":true} 
[2026-07-07 09:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549411840001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340783561625829376,"note":"Value kept but may cause issues"} 
[2026-07-07 09:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8685262224023672832,"note":"Value kept but may cause issues"} 
[2026-07-07 09:22:05] 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-07-07 09:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783396159000,"timestamp_ms":1783396159000,"timestamp_seconds":1783396159,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab1ce18"} 
[2026-07-07 09:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 09:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549411840001,"66":27658,"214":206,"79":46592,"24":28,"16":340783561625829376,"45":-8685262224023672832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-07-07 09:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549411840001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:22:05] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-07 09:22:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340783561625829376,"km_value":340783561625829.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8685262224023672832,"description":"Unknown IO ID 45"} 
[2026-07-07 09:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549411840001,"power":27658,"unknown_214":206,"unknown_79":46592,"ignition":28,"odometer":null,"unknown_45":-8685262224023672832}} 
[2026-07-07 09:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":125005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:22:05] local.INFO: GPS data processed {"connection_id":125005,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:22:05] local.INFO: Acknowledgment sent {"connection_id":125005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:22:16] local.INFO: TCP Data received {"connection_id":124305,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:22:16] local.INFO: Processing buffer {"connection_id":124305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:22:16] local.INFO: IMEI packet received {"connection_id":124305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":124305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:22:17] local.INFO: TCP Data received {"connection_id":124305,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:22:17] local.INFO: Processing buffer {"connection_id":124305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:22:17] local.INFO: IMEI packet received {"connection_id":124305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":124305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:22:18] local.INFO: TCP Data received {"connection_id":124305,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:22:18] local.INFO: Processing buffer {"connection_id":124305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:22:18] local.INFO: IMEI packet received {"connection_id":124305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":124305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:22:19] local.INFO: TCP Data received {"connection_id":124305,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:22:19] local.INFO: Processing buffer {"connection_id":124305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:22:19] local.INFO: IMEI packet received {"connection_id":124305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":124305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:22:25] local.INFO: TCP Data received {"connection_id":126230,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:22:25] local.INFO: Processing buffer {"connection_id":126230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:22:25] local.INFO: IMEI packet received {"connection_id":126230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":126230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:22:36] local.INFO: TCP Data received {"connection_id":125005,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab20c98012d8793000613af900015009d2b..."} 
[2026-07-07 09:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab20c98012d8793000613af900015009d2b..."} 
[2026-07-07 09:22:36] local.INFO: Processing buffer {"connection_id":125005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab20c98012d8793000613af900015009d2b..."} 
[2026-07-07 09:22:36] local.INFO: Packet analysis {"connection_id":125005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab2"} 
[2026-07-07 09:22:36] local.INFO: Extracted packet for processing {"connection_id":125005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab2"} 
[2026-07-07 09:22:36] local.INFO: GPS Element Parsed {"raw_longitude":763859712,"raw_latitude":101953424,"longitude_deg":76.3859712,"latitude_deg":10.1953424,"altitude":21,"angle":157,"satellites":43,"speed":21,"hex_longitude":"2d879300","hex_latitude":"0613af90","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549416704001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340784012597395456,"note":"Value kept but may cause issues"} 
[2026-07-07 09:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8681462311840313344,"note":"Value kept but may cause issues"} 
[2026-07-07 09:22:36] 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-07-07 09:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783396175000,"timestamp_ms":1783396175000,"timestamp_seconds":1783396175,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab20c98"} 
[2026-07-07 09:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:22: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-07-07 09:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 09:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549416704001,"66":27821,"214":206,"79":46592,"24":21,"16":340784012597395456,"45":-8681462311840313344},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-07-07 09:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549416704001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:22:36] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-07 09:22:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340784012597395456,"km_value":340784012597395.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8681462311840313344,"description":"Unknown IO ID 45"} 
[2026-07-07 09:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549416704001,"power":27821,"unknown_214":206,"unknown_79":46592,"ignition":21,"odometer":null,"unknown_45":-8681462311840313344}} 
[2026-07-07 09:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":125005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:22:36] local.INFO: GPS data processed {"connection_id":125005,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:22:36] local.INFO: Acknowledgment sent {"connection_id":125005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:23:00] local.INFO: TCP Data received {"connection_id":124214,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:23:00] local.INFO: Processing buffer {"connection_id":124214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:23:00] local.INFO: IMEI packet received {"connection_id":124214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":124214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:23:08] local.INFO: TCP Data received {"connection_id":124215,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:23:08] local.INFO: Processing buffer {"connection_id":124215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:23:08] local.INFO: IMEI packet received {"connection_id":124215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":124215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:23:09] local.INFO: TCP Data received {"connection_id":124215,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:23:09] local.INFO: Processing buffer {"connection_id":124215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:23:09] local.INFO: IMEI packet received {"connection_id":124215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":124215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:23:11] local.INFO: TCP Data received {"connection_id":124215,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab24730012d87a14006138e780015009d2b..."} 
[2026-07-07 09:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab24730012d87a14006138e780015009d2b..."} 
[2026-07-07 09:23:11] local.INFO: Processing buffer {"connection_id":124215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab24730012d87a14006138e780015009d2b..."} 
[2026-07-07 09:23:11] local.INFO: Packet analysis {"connection_id":124215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab2"} 
[2026-07-07 09:23:11] local.INFO: Extracted packet for processing {"connection_id":124215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab2"} 
[2026-07-07 09:23:11] local.INFO: GPS Element Parsed {"raw_longitude":763863360,"raw_latitude":101944952,"longitude_deg":76.386336,"latitude_deg":10.1944952,"altitude":21,"angle":157,"satellites":43,"speed":24,"hex_longitude":"2d87a140","hex_latitude":"06138e78","is_valid_coordinates":true} 
[2026-07-07 09:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549420800001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340784459273994240,"note":"Value kept but may cause issues"} 
[2026-07-07 09:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8677592030912737280,"note":"Value kept but may cause issues"} 
[2026-07-07 09:23:11] 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-07-07 09:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783396190000,"timestamp_ms":1783396190000,"timestamp_seconds":1783396190,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab24730"} 
[2026-07-07 09:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:23: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-07-07 09:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 09:23: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-07-07 09:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549420800001,"66":27865,"214":206,"79":46592,"24":24,"16":340784459273994240,"45":-8677592030912737280},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-07-07 09:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549420800001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:23:11] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-07 09:23:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340784459273994240,"km_value":340784459273994.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8677592030912737280,"description":"Unknown IO ID 45"} 
[2026-07-07 09:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549420800001,"power":27865,"unknown_214":206,"unknown_79":46592,"ignition":24,"odometer":null,"unknown_45":-8677592030912737280}} 
[2026-07-07 09:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":124215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:23:11] local.INFO: GPS data processed {"connection_id":124215,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:23:11] local.INFO: Acknowledgment sent {"connection_id":124215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:23:23] local.INFO: TCP Data received {"connection_id":124215,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab29938012d87ac80061371500016009e2f..."} 
[2026-07-07 09:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab29938012d87ac80061371500016009e2f..."} 
[2026-07-07 09:23:23] local.INFO: Processing buffer {"connection_id":124215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab29938012d87ac80061371500016009e2f..."} 
[2026-07-07 09:23:23] local.INFO: Packet analysis {"connection_id":124215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab2"} 
[2026-07-07 09:23:23] local.INFO: Extracted packet for processing {"connection_id":124215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab2"} 
[2026-07-07 09:23:23] local.INFO: GPS Element Parsed {"raw_longitude":763866240,"raw_latitude":101937488,"longitude_deg":76.386624,"latitude_deg":10.1937488,"altitude":22,"angle":158,"satellites":47,"speed":10,"hex_longitude":"2d87ac80","hex_latitude":"06137150","is_valid_coordinates":true} 
[2026-07-07 09:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549424640001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340784850116018176,"note":"Value kept but may cause issues"} 
[2026-07-07 09:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8673581012496779264,"note":"Value kept but may cause issues"} 
[2026-07-07 09:23:23] 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-07-07 09:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783396211000,"timestamp_ms":1783396211000,"timestamp_seconds":1783396211,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab29938"} 
[2026-07-07 09:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 09:23: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-07-07 09:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":124215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":124215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":124215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549424640001,"66":27691,"214":206,"79":46592,"24":10,"16":340784850116018176,"45":-8673581012496779264},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-07-07 09:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549424640001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:23:23] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-07 09:23:23] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340784850116018176,"km_value":340784850116018.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8673581012496779264,"description":"Unknown IO ID 45"} 
[2026-07-07 09:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549424640001,"power":27691,"unknown_214":206,"unknown_79":46592,"ignition":10,"odometer":null,"unknown_45":-8673581012496779264}} 
[2026-07-07 09:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":124215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:23:23] local.INFO: GPS data processed {"connection_id":124215,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:23:23] local.INFO: Acknowledgment sent {"connection_id":124215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:23:59] local.INFO: TCP Data received {"connection_id":126232,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:23:59] local.INFO: Processing buffer {"connection_id":126232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:23:59] local.INFO: IMEI packet received {"connection_id":126232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":126232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:24:04] local.INFO: TCP Data received {"connection_id":126232,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:24:04] local.INFO: Processing buffer {"connection_id":126232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:24:04] local.INFO: IMEI packet received {"connection_id":126232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":126232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:24:05] local.INFO: TCP Data received {"connection_id":126232,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab4df40012d8753400612ad20001600f330..."} 
[2026-07-07 09:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab4df40012d8753400612ad20001600f330..."} 
[2026-07-07 09:24:05] local.INFO: Processing buffer {"connection_id":126232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab4df40012d8753400612ad20001600f330..."} 
[2026-07-07 09:24:05] local.INFO: Packet analysis {"connection_id":126232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab4"} 
[2026-07-07 09:24:05] local.INFO: Extracted packet for processing {"connection_id":126232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab4"} 
[2026-07-07 09:24:05] local.INFO: GPS Element Parsed {"raw_longitude":763843392,"raw_latitude":101887264,"longitude_deg":76.3843392,"latitude_deg":10.1887264,"altitude":22,"angle":243,"satellites":48,"speed":34,"hex_longitude":"2d875340","hex_latitude":"0612ad20","is_valid_coordinates":true} 
[2026-07-07 09:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549464832001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340787830823321600,"note":"Value kept but may cause issues"} 
[2026-07-07 09:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8686317755206563840,"note":"Value kept but may cause issues"} 
[2026-07-07 09:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783396360000,"timestamp_ms":1783396360000,"timestamp_seconds":1783396360,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab4df40"} 
[2026-07-07 09:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 09:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549464832001,"66":27691,"128":206,"79":46592,"24":34,"16":340787830823321600,"45":-8686317755206563840},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,79,24,16,45]} 
[2026-07-07 09:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549464832001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:24:05] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-07-07 09:24:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340787830823321600,"km_value":340787830823321.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8686317755206563840,"description":"Unknown IO ID 45"} 
[2026-07-07 09:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549464832001,"power":27691,"unknown_128":206,"unknown_79":46592,"ignition":34,"odometer":null,"unknown_45":-8686317755206563840}} 
[2026-07-07 09:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":126232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:24:05] local.INFO: GPS data processed {"connection_id":126232,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:24:05] local.INFO: Acknowledgment sent {"connection_id":126232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:24:36] local.INFO: TCP Data received {"connection_id":126232,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab50650012d87328006129c60001200f12f..."} 
[2026-07-07 09:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab50650012d87328006129c60001200f12f..."} 
[2026-07-07 09:24:36] local.INFO: Processing buffer {"connection_id":126232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab50650012d87328006129c60001200f12f..."} 
[2026-07-07 09:24:36] local.INFO: Packet analysis {"connection_id":126232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab5"} 
[2026-07-07 09:24:36] local.INFO: Extracted packet for processing {"connection_id":126232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab5"} 
[2026-07-07 09:24:36] local.INFO: GPS Element Parsed {"raw_longitude":763835008,"raw_latitude":101882976,"longitude_deg":76.3835008,"latitude_deg":10.1882976,"altitude":18,"angle":241,"satellites":47,"speed":36,"hex_longitude":"2d873280","hex_latitude":"06129c60","is_valid_coordinates":true} 
[2026-07-07 09:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549468160001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340788281794887680,"note":"Value kept but may cause issues"} 
[2026-07-07 09:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8695536060694978560,"note":"Value kept but may cause issues"} 
[2026-07-07 09:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783396370000,"timestamp_ms":1783396370000,"timestamp_seconds":1783396370,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab50650"} 
[2026-07-07 09:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-07 09:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549468160001,"66":27843,"128":206,"79":46592,"24":36,"16":340788281794887680,"45":-8695536060694978560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,79,24,16,45]} 
[2026-07-07 09:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549468160001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:24:36] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-07-07 09:24:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340788281794887680,"km_value":340788281794887.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8695536060694978560,"description":"Unknown IO ID 45"} 
[2026-07-07 09:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549468160001,"power":27843,"unknown_128":206,"unknown_79":46592,"ignition":36,"odometer":null,"unknown_45":-8695536060694978560}} 
[2026-07-07 09:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":126232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:24:36] local.INFO: GPS data processed {"connection_id":126232,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:24:36] local.INFO: Acknowledgment sent {"connection_id":126232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:24:59] local.INFO: TCP Data received {"connection_id":124216,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:24:59] local.INFO: Processing buffer {"connection_id":124216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:24:59] local.INFO: IMEI packet received {"connection_id":124216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":124216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:25:00] local.INFO: TCP Data received {"connection_id":124216,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:25:00] local.INFO: Processing buffer {"connection_id":124216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:25:00] local.INFO: IMEI packet received {"connection_id":124216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":124216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:25:04] local.INFO: TCP Data received {"connection_id":124216,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:25:04] local.INFO: Processing buffer {"connection_id":124216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:25:04] local.INFO: IMEI packet received {"connection_id":124216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":124216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:25:05] local.INFO: TCP Data received {"connection_id":124216,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab53530012d87124006128ab8001200f02e..."} 
[2026-07-07 09:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab53530012d87124006128ab8001200f02e..."} 
[2026-07-07 09:25:05] local.INFO: Processing buffer {"connection_id":124216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab53530012d87124006128ab8001200f02e..."} 
[2026-07-07 09:25:05] local.INFO: Packet analysis {"connection_id":124216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab5"} 
[2026-07-07 09:25:05] local.INFO: Extracted packet for processing {"connection_id":124216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab5"} 
[2026-07-07 09:25:05] local.INFO: GPS Element Parsed {"raw_longitude":763826752,"raw_latitude":101878456,"longitude_deg":76.3826752,"latitude_deg":10.1878456,"altitude":18,"angle":240,"satellites":46,"speed":20,"hex_longitude":"2d871240","hex_latitude":"06128ab8","is_valid_coordinates":true} 
[2026-07-07 09:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549470720001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340788728471486464,"note":"Value kept but may cause issues"} 
[2026-07-07 09:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8704754366183350272,"note":"Value kept but may cause issues"} 
[2026-07-07 09:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783396382000,"timestamp_ms":1783396382000,"timestamp_seconds":1783396382,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab53530"} 
[2026-07-07 09:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 09:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549470720001,"66":27767,"128":206,"79":46592,"24":20,"16":340788728471486464,"45":-8704754366183350272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,79,24,16,45]} 
[2026-07-07 09:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549470720001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:25:05] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-07-07 09:25:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340788728471486464,"km_value":340788728471486.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8704754366183350272,"description":"Unknown IO ID 45"} 
[2026-07-07 09:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549470720001,"power":27767,"unknown_128":206,"unknown_79":46592,"ignition":20,"odometer":null,"unknown_45":-8704754366183350272}} 
[2026-07-07 09:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":124216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:25:05] local.INFO: GPS data processed {"connection_id":124216,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:25:05] local.INFO: Acknowledgment sent {"connection_id":124216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:25:10] local.INFO: TCP Data received {"connection_id":124216,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab55858012d87000006127e50001200e430..."} 
[2026-07-07 09:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab55858012d87000006127e50001200e430..."} 
[2026-07-07 09:25:10] local.INFO: Processing buffer {"connection_id":124216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab55858012d87000006127e50001200e430..."} 
[2026-07-07 09:25:10] local.INFO: Packet analysis {"connection_id":124216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab5"} 
[2026-07-07 09:25:10] local.INFO: Extracted packet for processing {"connection_id":124216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab5"} 
[2026-07-07 09:25:10] local.INFO: GPS Element Parsed {"raw_longitude":763822080,"raw_latitude":101875280,"longitude_deg":76.382208,"latitude_deg":10.187528,"altitude":18,"angle":228,"satellites":48,"speed":29,"hex_longitude":"2d870000","hex_latitude":"06127e50","is_valid_coordinates":true} 
[2026-07-07 09:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549473792001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340788999054426112,"note":"Value kept but may cause issues"} 
[2026-07-07 09:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8713831934183426048,"note":"Value kept but may cause issues"} 
[2026-07-07 09:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783396391000,"timestamp_ms":1783396391000,"timestamp_seconds":1783396391,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab55858"} 
[2026-07-07 09:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:25: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-07-07 09: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":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:25: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-07-07 09:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549473792001,"66":27876,"128":206,"79":46592,"24":29,"16":340788999054426112,"45":-8713831934183426048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,79,24,16,45]} 
[2026-07-07 09:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549473792001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:25:10] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-07-07 09:25:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340788999054426112,"km_value":340788999054426.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8713831934183426048,"description":"Unknown IO ID 45"} 
[2026-07-07 09:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549473792001,"power":27876,"unknown_128":206,"unknown_79":46592,"ignition":29,"odometer":null,"unknown_45":-8713831934183426048}} 
[2026-07-07 09:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":124216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:25:10] local.INFO: GPS data processed {"connection_id":124216,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:25:10] local.INFO: Acknowledgment sent {"connection_id":124216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:25:17] local.INFO: TCP Data received {"connection_id":125006,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:25:17] local.INFO: Processing buffer {"connection_id":125006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:25:17] local.INFO: IMEI packet received {"connection_id":125006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":125006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:25:19] local.INFO: TCP Data received {"connection_id":125006,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab5dd28012d7d350005ec3418000900b41f..."} 
[2026-07-07 09:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab5dd28012d7d350005ec3418000900b41f..."} 
[2026-07-07 09:25:19] local.INFO: Processing buffer {"connection_id":125006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab5dd28012d7d350005ec3418000900b41f..."} 
[2026-07-07 09:25:19] local.INFO: Packet analysis {"connection_id":125006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab5"} 
[2026-07-07 09:25:19] local.INFO: Extracted packet for processing {"connection_id":125006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab5"} 
[2026-07-07 09:25:19] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99365912,"longitude_deg":76.3180288,"latitude_deg":9.9365912,"altitude":9,"angle":180,"satellites":31,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec3418","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549479680001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294216871870464,"note":"Value kept but may cause issues"} 
[2026-07-07 09:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021695241479358464,"note":"Value kept but may cause issues"} 
[2026-07-07 09:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783396425000,"timestamp_ms":1783396425000,"timestamp_seconds":1783396425,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab5dd28"} 
[2026-07-07 09:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 09:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303156067093833,"note":"Value kept but may cause issues"} 
[2026-07-07 09:25:19] local.WARNING: Large IO value detected {"io_id":110,"raw_value":58079734643818502,"note":"Value kept but may cause issues"} 
[2026-07-07 09:25:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 09:25:19] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2147871805,"note":"Value kept but may cause issues"} 
[2026-07-07 09:25:19] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3043745793,"note":"Value kept but may cause issues"} 
[2026-07-07 09:25:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-07-07 09:25:19] local.WARNING: Large IO value detected {"io_id":103,"raw_value":4160826749,"note":"Value kept but may cause issues"} 
[2026-07-07 09:25:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963496448,"note":"Value kept but may cause issues"} 
[2026-07-07 09:25:19] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,110,87,24,241,157,16,249,159,127,45,128,55,9,40,10,66,119,192,57,38,115,1,240,117,227,58,236,4,113,205,103,96,239,50,2,5,6],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-07-07 09:25:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648716413053632512,"timestamp_seconds":648716413053632.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 09:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":125006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":125006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":125006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549479680001,"66":13091,"110":206,"87":13824,"24":0,"16":103294216871870464,"45":9021695241479358464},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549479680001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:25:19] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:25:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294216871870464,"km_value":103294216871870.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021695241479358464,"description":"Unknown IO ID 45"} 
[2026-07-07 09:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549479680001,"power":13091,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021695241479358464}} 
[2026-07-07 09:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":125006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:25:19] local.INFO: GPS data processed {"connection_id":125006,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:25:19] local.INFO: Acknowledgment sent {"connection_id":125006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:25:41] local.INFO: TCP Data received {"connection_id":124216,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab6def8012d86964006115380001700ca30..."} 
[2026-07-07 09:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab6def8012d86964006115380001700ca30..."} 
[2026-07-07 09:25:41] local.INFO: Processing buffer {"connection_id":124216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab6def8012d86964006115380001700ca30..."} 
[2026-07-07 09:25:41] local.INFO: Packet analysis {"connection_id":124216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab6"} 
[2026-07-07 09:25:41] local.INFO: Extracted packet for processing {"connection_id":124216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab6"} 
[2026-07-07 09:25:41] local.INFO: GPS Element Parsed {"raw_longitude":763795008,"raw_latitude":101798784,"longitude_deg":76.3795008,"latitude_deg":10.1798784,"altitude":23,"angle":202,"satellites":48,"speed":38,"hex_longitude":"2d869640","hex_latitude":"06115380","is_valid_coordinates":true} 
[2026-07-07 09:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549499392001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340793044913618944,"note":"Value kept but may cause issues"} 
[2026-07-07 09:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8746201556523503616,"note":"Value kept but may cause issues"} 
[2026-07-07 09:25: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-07-07 09:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783396491000,"timestamp_ms":1783396491000,"timestamp_seconds":1783396491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab6def8"} 
[2026-07-07 09:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:25: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-07-07 09: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":97,"data_length":795,"current_offset":136} 
[2026-07-07 09:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549499392001,"66":27908,"254":206,"79":46592,"24":38,"16":340793044913618944,"45":-8746201556523503616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-07-07 09:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549499392001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:25:41] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-07 09:25:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340793044913618944,"km_value":340793044913618.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8746201556523503616,"description":"Unknown IO ID 45"} 
[2026-07-07 09:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549499392001,"power":27908,"unknown_254":206,"unknown_79":46592,"ignition":38,"odometer":null,"unknown_45":-8746201556523503616}} 
[2026-07-07 09:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":124216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:25:41] local.INFO: GPS data processed {"connection_id":124216,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:25:41] local.INFO: Acknowledgment sent {"connection_id":124216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:25:55] local.INFO: TCP Data received {"connection_id":126234,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:25:55] local.INFO: Processing buffer {"connection_id":126234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:25:55] local.INFO: IMEI packet received {"connection_id":126234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":126234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:26:00] local.INFO: TCP Data received {"connection_id":126235,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:26:00] local.INFO: Processing buffer {"connection_id":126235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:26:00] local.INFO: IMEI packet received {"connection_id":126235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":126235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:26:01] local.INFO: TCP Data received {"connection_id":126234,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:26:01] local.INFO: Processing buffer {"connection_id":126234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:26:01] local.INFO: IMEI packet received {"connection_id":126234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":126234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:26:04] local.INFO: TCP Data received {"connection_id":126235,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:26:04] local.INFO: Processing buffer {"connection_id":126235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:26:04] local.INFO: IMEI packet received {"connection_id":126235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":126235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:26:05] local.INFO: TCP Data received {"connection_id":126235,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab6eab0012d86910006114948001800d530..."} 
[2026-07-07 09:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab6eab0012d86910006114948001800d530..."} 
[2026-07-07 09:26:05] local.INFO: Processing buffer {"connection_id":126235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab6eab0012d86910006114948001800d530..."} 
[2026-07-07 09:26:05] local.INFO: Packet analysis {"connection_id":126235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab6"} 
[2026-07-07 09:26:05] local.INFO: Extracted packet for processing {"connection_id":126235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab6"} 
[2026-07-07 09:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763793664,"raw_latitude":101796168,"longitude_deg":76.3793664,"latitude_deg":10.1796168,"altitude":24,"angle":213,"satellites":48,"speed":39,"hex_longitude":"2d869100","hex_latitude":"06114948","is_valid_coordinates":true} 
[2026-07-07 09:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549501696001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340793190942507008,"note":"Value kept but may cause issues"} 
[2026-07-07 09:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8748734831315943424,"note":"Value kept but may cause issues"} 
[2026-07-07 09:26:05] 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-07-07 09:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783396494000,"timestamp_ms":1783396494000,"timestamp_seconds":1783396494,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab6eab0"} 
[2026-07-07 09:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 09:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549501696001,"66":27800,"254":206,"79":46592,"24":39,"16":340793190942507008,"45":-8748734831315943424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-07-07 09:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549501696001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:26:05] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-07 09:26:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340793190942507008,"km_value":340793190942507.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8748734831315943424,"description":"Unknown IO ID 45"} 
[2026-07-07 09:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549501696001,"power":27800,"unknown_254":206,"unknown_79":46592,"ignition":39,"odometer":null,"unknown_45":-8748734831315943424}} 
[2026-07-07 09:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":126235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:26:05] local.INFO: GPS data processed {"connection_id":126235,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:26:05] local.INFO: Acknowledgment sent {"connection_id":126235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:26:11] local.INFO: TCP Data received {"connection_id":126234,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab77b38012d7d360005ec24c0000900ad23..."} 
[2026-07-07 09:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab77b38012d7d360005ec24c0000900ad23..."} 
[2026-07-07 09:26:11] local.INFO: Processing buffer {"connection_id":126234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab77b38012d7d360005ec24c0000900ad23..."} 
[2026-07-07 09:26:11] local.INFO: Packet analysis {"connection_id":126234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab7"} 
[2026-07-07 09:26:11] local.INFO: Extracted packet for processing {"connection_id":126234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab7"} 
[2026-07-07 09:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99361984,"longitude_deg":76.3180544,"latitude_deg":9.9361984,"altitude":9,"angle":173,"satellites":35,"speed":2,"hex_longitude":"2d7d3600","hex_latitude":"05ec24c0","is_valid_coordinates":true} 
[2026-07-07 09:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549511424001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294418735333376,"note":"Value kept but may cause issues"} 
[2026-07-07 09:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928920076288,"note":"Value kept but may cause issues"} 
[2026-07-07 09:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783396531000,"timestamp_ms":1783396531000,"timestamp_seconds":1783396531,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab77b38"} 
[2026-07-07 09:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 09:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:26: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-07-07 09:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549511424001,"66":13189,"110":206,"87":13824,"24":2,"16":103294418735333376,"45":9022398928920076288},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549511424001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:26:11] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:26:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294418735333376,"km_value":103294418735333.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928920076288,"description":"Unknown IO ID 45"} 
[2026-07-07 09:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549511424001,"power":13189,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9022398928920076288}} 
[2026-07-07 09:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":126234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:26:11] local.INFO: GPS data processed {"connection_id":126234,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:26:11] local.INFO: Acknowledgment sent {"connection_id":126234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:26:36] local.INFO: TCP Data received {"connection_id":126235,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab6f668012d86894006114088001800e42e..."} 
[2026-07-07 09:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab6f668012d86894006114088001800e42e..."} 
[2026-07-07 09:26:36] local.INFO: Processing buffer {"connection_id":126235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab6f668012d86894006114088001800e42e..."} 
[2026-07-07 09:26:36] local.INFO: Packet analysis {"connection_id":126235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab6"} 
[2026-07-07 09:26:36] local.INFO: Extracted packet for processing {"connection_id":126235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab6"} 
[2026-07-07 09:26:36] local.INFO: GPS Element Parsed {"raw_longitude":763791680,"raw_latitude":101793928,"longitude_deg":76.379168,"latitude_deg":10.1793928,"altitude":24,"angle":228,"satellites":46,"speed":39,"hex_longitude":"2d868940","hex_latitude":"06114088","is_valid_coordinates":true} 
[2026-07-07 09:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549502464001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340793332676427776,"note":"Value kept but may cause issues"} 
[2026-07-07 09:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8750212574944344064,"note":"Value kept but may cause issues"} 
[2026-07-07 09:26:36] 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-07-07 09:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783396497000,"timestamp_ms":1783396497000,"timestamp_seconds":1783396497,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab6f668"} 
[2026-07-07 09:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 09:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549502464001,"66":27517,"254":206,"79":46592,"24":39,"16":340793332676427776,"45":-8750212574944344064},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-07-07 09:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549502464001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:26:36] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-07 09:26:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340793332676427776,"km_value":340793332676427.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8750212574944344064,"description":"Unknown IO ID 45"} 
[2026-07-07 09:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549502464001,"power":27517,"unknown_254":206,"unknown_79":46592,"ignition":39,"odometer":null,"unknown_45":-8750212574944344064}} 
[2026-07-07 09:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":126235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:26:36] local.INFO: GPS data processed {"connection_id":126235,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:26:36] local.INFO: Acknowledgment sent {"connection_id":126235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:26:56] local.INFO: TCP Data received {"connection_id":124218,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:26:56] local.INFO: Processing buffer {"connection_id":124218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:26:56] local.INFO: IMEI packet received {"connection_id":124218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":124218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:26:59] local.INFO: TCP Data received {"connection_id":124219,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:26:59] local.INFO: Processing buffer {"connection_id":124219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:26:59] local.INFO: IMEI packet received {"connection_id":124219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":124219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:27:01] local.INFO: TCP Data received {"connection_id":124218,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:27:01] local.INFO: Processing buffer {"connection_id":124218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:27:01] local.INFO: IMEI packet received {"connection_id":124218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":124218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:27:02] local.INFO: TCP Data received {"connection_id":124218,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab77f20012d7d364005ec2458000800a023..."} 
[2026-07-07 09:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab77f20012d7d364005ec2458000800a023..."} 
[2026-07-07 09:27:02] local.INFO: Processing buffer {"connection_id":124218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab77f20012d7d364005ec2458000800a023..."} 
[2026-07-07 09:27:02] local.INFO: Packet analysis {"connection_id":124218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab7"} 
[2026-07-07 09:27:02] local.INFO: Extracted packet for processing {"connection_id":124218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab7"} 
[2026-07-07 09:27:02] local.INFO: GPS Element Parsed {"raw_longitude":763180608,"raw_latitude":99361880,"longitude_deg":76.3180608,"latitude_deg":9.936188,"altitude":8,"angle":160,"satellites":35,"speed":1,"hex_longitude":"2d7d3640","hex_latitude":"05ec2458","is_valid_coordinates":true} 
[2026-07-07 09:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549511936001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294423030300672,"note":"Value kept but may cause issues"} 
[2026-07-07 09:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928920035328,"note":"Value kept but may cause issues"} 
[2026-07-07 09:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783396532000,"timestamp_ms":1783396532000,"timestamp_seconds":1783396532,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab77f20"} 
[2026-07-07 09:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 09:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549511936001,"66":13189,"110":206,"87":13824,"24":1,"16":103294423030300672,"45":9022398928920035328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549511936001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:27:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:27:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294423030300672,"km_value":103294423030300.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928920035328,"description":"Unknown IO ID 45"} 
[2026-07-07 09:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549511936001,"power":13189,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022398928920035328}} 
[2026-07-07 09:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":124218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:27:02] local.INFO: GPS data processed {"connection_id":124218,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:27:02] local.INFO: Acknowledgment sent {"connection_id":124218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:27:04] local.INFO: TCP Data received {"connection_id":124219,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:27:04] local.INFO: Processing buffer {"connection_id":124219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:27:04] local.INFO: IMEI packet received {"connection_id":124219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":124219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:27:04] local.INFO: TCP Data received {"connection_id":124219,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab7e0c8012d85f9c00610a4f8000f00d628..."} 
[2026-07-07 09:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab7e0c8012d85f9c00610a4f8000f00d628..."} 
[2026-07-07 09:27:04] local.INFO: Processing buffer {"connection_id":124219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab7e0c8012d85f9c00610a4f8000f00d628..."} 
[2026-07-07 09:27:04] local.INFO: Packet analysis {"connection_id":124219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab7"} 
[2026-07-07 09:27:04] local.INFO: Extracted packet for processing {"connection_id":124219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab7"} 
[2026-07-07 09:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763754944,"raw_latitude":101754104,"longitude_deg":76.3754944,"latitude_deg":10.1754104,"altitude":15,"angle":214,"satellites":40,"speed":35,"hex_longitude":"2d85f9c0","hex_latitude":"0610a4f8","is_valid_coordinates":true} 
[2026-07-07 09:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549516032001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340795999851118592,"note":"Value kept but may cause issues"} 
[2026-07-07 09:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8786593215693019136,"note":"Value kept but may cause issues"} 
[2026-07-07 09:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783396557000,"timestamp_ms":1783396557000,"timestamp_seconds":1783396557,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab7e0c8"} 
[2026-07-07 09:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 09:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549516032001,"66":27800,"15":206,"79":46592,"24":35,"16":340795999851118592,"45":-8786593215693019136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,79,24,16,45]} 
[2026-07-07 09:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549516032001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:27:04] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 09:27:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340795999851118592,"km_value":340795999851118.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8786593215693019136,"description":"Unknown IO ID 45"} 
[2026-07-07 09:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549516032001,"power":27800,"unknown_15":206,"unknown_79":46592,"ignition":35,"odometer":null,"unknown_45":-8786593215693019136}} 
[2026-07-07 09:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":124219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:27:04] local.INFO: GPS data processed {"connection_id":124219,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:27:04] local.INFO: Acknowledgment sent {"connection_id":124219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:27:20] local.INFO: TCP Data received {"connection_id":126236,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126236,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:27:20] local.INFO: Processing buffer {"connection_id":126236,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:27:20] local.INFO: IMEI packet received {"connection_id":126236,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":126236,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:27:21] local.INFO: TCP Data received {"connection_id":126236,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab84e28012d0a7e80070472d0000e001920..."} 
[2026-07-07 09:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab84e28012d0a7e80070472d0000e001920..."} 
[2026-07-07 09:27:21] local.INFO: Processing buffer {"connection_id":126236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab84e28012d0a7e80070472d0000e001920..."} 
[2026-07-07 09:27:21] local.INFO: Packet analysis {"connection_id":126236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab8"} 
[2026-07-07 09:27:21] local.INFO: Extracted packet for processing {"connection_id":126236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab8"} 
[2026-07-07 09:27:21] local.INFO: GPS Element Parsed {"raw_longitude":755662464,"raw_latitude":117732048,"longitude_deg":75.5662464,"latitude_deg":11.7732048,"altitude":14,"angle":25,"satellites":32,"speed":8,"hex_longitude":"2d0a7e80","hex_latitude":"070472d0","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549525504001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23332207972057088,"note":"Value kept but may cause issues"} 
[2026-07-07 09:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756112186328350720,"note":"Value kept but may cause issues"} 
[2026-07-07 09:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783396585000,"timestamp_ms":1783396585000,"timestamp_seconds":1783396585,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab84e28"} 
[2026-07-07 09:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-07 09:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126236,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126236,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549525504001,"66":13602,"178":206,"94":10240,"24":8,"16":23332207972057088,"45":756112186328350720},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-07-07 09:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549525504001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:27:21] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-07 09:27:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23332207972057088,"km_value":23332207972057.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":756112186328350720,"description":"Unknown IO ID 45"} 
[2026-07-07 09:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549525504001,"power":13602,"unknown_178":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":756112186328350720}} 
[2026-07-07 09:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":126236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444627,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:27:21] local.INFO: GPS data processed {"connection_id":126236,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:27:21] local.INFO: Acknowledgment sent {"connection_id":126236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:27:34] local.INFO: TCP Data received {"connection_id":124218,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab78308012d7d364005ec23f0000800b523..."} 
[2026-07-07 09:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab78308012d7d364005ec23f0000800b523..."} 
[2026-07-07 09:27:34] local.INFO: Processing buffer {"connection_id":124218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab78308012d7d364005ec23f0000800b523..."} 
[2026-07-07 09:27:34] local.INFO: Packet analysis {"connection_id":124218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab7"} 
[2026-07-07 09:27:34] local.INFO: Extracted packet for processing {"connection_id":124218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab7"} 
[2026-07-07 09:27:34] local.INFO: GPS Element Parsed {"raw_longitude":763180608,"raw_latitude":99361776,"longitude_deg":76.3180608,"latitude_deg":9.9361776,"altitude":8,"angle":181,"satellites":35,"speed":0,"hex_longitude":"2d7d3640","hex_latitude":"05ec23f0","is_valid_coordinates":true} 
[2026-07-07 09:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549512192001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294431620235264,"note":"Value kept but may cause issues"} 
[2026-07-07 09:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022469297664186368,"note":"Value kept but may cause issues"} 
[2026-07-07 09:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783396533000,"timestamp_ms":1783396533000,"timestamp_seconds":1783396533,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab78308"} 
[2026-07-07 09:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 09:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549512192001,"66":13243,"110":206,"87":13824,"24":0,"16":103294431620235264,"45":9022469297664186368},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549512192001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:27:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:27:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294431620235264,"km_value":103294431620235.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022469297664186368,"description":"Unknown IO ID 45"} 
[2026-07-07 09:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549512192001,"power":13243,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022469297664186368}} 
[2026-07-07 09:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":124218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:27:34] local.INFO: GPS data processed {"connection_id":124218,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:27:34] local.INFO: Acknowledgment sent {"connection_id":124218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:27:36] local.INFO: TCP Data received {"connection_id":124219,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab807d8012d85e34006108790000f00d82c..."} 
[2026-07-07 09:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab807d8012d85e34006108790000f00d82c..."} 
[2026-07-07 09:27:36] local.INFO: Processing buffer {"connection_id":124219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab807d8012d85e34006108790000f00d82c..."} 
[2026-07-07 09:27:36] local.INFO: Packet analysis {"connection_id":124219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab8"} 
[2026-07-07 09:27:36] local.INFO: Extracted packet for processing {"connection_id":124219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab8"} 
[2026-07-07 09:27:36] local.INFO: GPS Element Parsed {"raw_longitude":763749184,"raw_latitude":101746576,"longitude_deg":76.3749184,"latitude_deg":10.1746576,"altitude":15,"angle":216,"satellites":44,"speed":38,"hex_longitude":"2d85e340","hex_latitude":"06108790","is_valid_coordinates":true} 
[2026-07-07 09:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549518592001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340796459412619264,"note":"Value kept but may cause issues"} 
[2026-07-07 09:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8792785665182599168,"note":"Value kept but may cause issues"} 
[2026-07-07 09:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783396567000,"timestamp_ms":1783396567000,"timestamp_seconds":1783396567,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab807d8"} 
[2026-07-07 09:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:27: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-07-07 09:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 09:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549518592001,"66":27821,"143":206,"79":46592,"24":38,"16":340796459412619264,"45":-8792785665182599168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,79,24,16,45]} 
[2026-07-07 09:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549518592001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:27:36] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-07 09:27:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340796459412619264,"km_value":340796459412619.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8792785665182599168,"description":"Unknown IO ID 45"} 
[2026-07-07 09:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549518592001,"power":27821,"unknown_143":206,"unknown_79":46592,"ignition":38,"odometer":null,"unknown_45":-8792785665182599168}} 
[2026-07-07 09:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":124219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:27:36] local.INFO: GPS data processed {"connection_id":124219,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:27:36] local.INFO: Acknowledgment sent {"connection_id":124219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:27:54] local.INFO: TCP Data received {"connection_id":126236,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab94828012d0a9f800704f0b8001000571f..."} 
[2026-07-07 09:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab94828012d0a9f800704f0b8001000571f..."} 
[2026-07-07 09:27:54] local.INFO: Processing buffer {"connection_id":126236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab94828012d0a9f800704f0b8001000571f..."} 
[2026-07-07 09:27:54] local.INFO: Packet analysis {"connection_id":126236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab9"} 
[2026-07-07 09:27:54] local.INFO: Extracted packet for processing {"connection_id":126236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab9"} 
[2026-07-07 09:27:54] local.INFO: GPS Element Parsed {"raw_longitude":755670912,"raw_latitude":117764280,"longitude_deg":75.5670912,"latitude_deg":11.776428,"altitude":16,"angle":87,"satellites":31,"speed":22,"hex_longitude":"2d0a9f80","hex_latitude":"0704f0b8","is_valid_coordinates":true} 
[2026-07-07 09:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549541888001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23334080577798144,"note":"Value kept but may cause issues"} 
[2026-07-07 09:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764837910614677504,"note":"Value kept but may cause issues"} 
[2026-07-07 09:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783396649000,"timestamp_ms":1783396649000,"timestamp_seconds":1783396649,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab94828"} 
[2026-07-07 09:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 09:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":126236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":126236,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":126236,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549541888001,"66":14135,"177":206,"94":10240,"24":22,"16":23334080577798144,"45":764837910614677504},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-07 09:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549541888001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:27:54] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 09:27:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23334080577798144,"km_value":23334080577798.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":764837910614677504,"description":"Unknown IO ID 45"} 
[2026-07-07 09:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549541888001,"power":14135,"unknown_177":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":764837910614677504}} 
[2026-07-07 09:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":126236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444630,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:27:54] local.INFO: GPS data processed {"connection_id":126236,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:27:54] local.INFO: Acknowledgment sent {"connection_id":126236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:28:00] local.INFO: TCP Data received {"connection_id":124310,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:28:00] local.INFO: Processing buffer {"connection_id":124310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:28:00] local.INFO: IMEI packet received {"connection_id":124310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":124310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:28:03] local.INFO: TCP Data received {"connection_id":125010,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:28:03] local.INFO: Processing buffer {"connection_id":125010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:28:03] local.INFO: IMEI packet received {"connection_id":125010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":125010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:28:04] local.INFO: TCP Data received {"connection_id":124310,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:28:04] local.INFO: Processing buffer {"connection_id":124310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:28:04] local.INFO: IMEI packet received {"connection_id":124310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":124310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:28:06] local.INFO: TCP Data received {"connection_id":124310,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab82b00012d85cf8006106a28001100d02d..."} 
[2026-07-07 09:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab82b00012d85cf8006106a28001100d02d..."} 
[2026-07-07 09:28:06] local.INFO: Processing buffer {"connection_id":124310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab82b00012d85cf8006106a28001100d02d..."} 
[2026-07-07 09:28:06] local.INFO: Packet analysis {"connection_id":124310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab8"} 
[2026-07-07 09:28:06] local.INFO: Extracted packet for processing {"connection_id":124310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab8"} 
[2026-07-07 09:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763744128,"raw_latitude":101739048,"longitude_deg":76.3744128,"latitude_deg":10.1739048,"altitude":17,"angle":208,"satellites":45,"speed":38,"hex_longitude":"2d85cf80","hex_latitude":"06106a28","is_valid_coordinates":true} 
[2026-07-07 09:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549521152001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340796897499283456,"note":"Value kept but may cause issues"} 
[2026-07-07 09:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8799118852160516096,"note":"Value kept but may cause issues"} 
[2026-07-07 09:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783396576000,"timestamp_ms":1783396576000,"timestamp_seconds":1783396576,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab82b00"} 
[2026-07-07 09:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 09:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549521152001,"66":27800,"143":206,"79":46592,"24":38,"16":340796897499283456,"45":-8799118852160516096},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,79,24,16,45]} 
[2026-07-07 09:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549521152001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:28:06] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-07 09:28:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340796897499283456,"km_value":340796897499283.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8799118852160516096,"description":"Unknown IO ID 45"} 
[2026-07-07 09:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549521152001,"power":27800,"unknown_143":206,"unknown_79":46592,"ignition":38,"odometer":null,"unknown_45":-8799118852160516096}} 
[2026-07-07 09:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":124310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:28:06] local.INFO: GPS data processed {"connection_id":124310,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:28:06] local.INFO: Acknowledgment sent {"connection_id":124310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:28:08] local.INFO: TCP Data received {"connection_id":125010,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:28:08] local.INFO: Processing buffer {"connection_id":125010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:28:08] local.INFO: IMEI packet received {"connection_id":125010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":125010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:28:15] local.INFO: TCP Data received {"connection_id":125010,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab7aa18012d7d374005ec2158000800c023..."} 
[2026-07-07 09:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab7aa18012d7d374005ec2158000800c023..."} 
[2026-07-07 09:28:15] local.INFO: Processing buffer {"connection_id":125010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab7aa18012d7d374005ec2158000800c023..."} 
[2026-07-07 09:28:15] local.INFO: Packet analysis {"connection_id":125010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab7"} 
[2026-07-07 09:28:15] local.INFO: Extracted packet for processing {"connection_id":125010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab7"} 
[2026-07-07 09:28:15] local.INFO: GPS Element Parsed {"raw_longitude":763180864,"raw_latitude":99361112,"longitude_deg":76.3180864,"latitude_deg":9.9361112,"altitude":8,"angle":192,"satellites":35,"speed":1,"hex_longitude":"2d7d3740","hex_latitude":"05ec2158","is_valid_coordinates":true} 
[2026-07-07 09:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549512448001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294465979973632,"note":"Value kept but may cause issues"} 
[2026-07-07 09:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022469297664159744,"note":"Value kept but may cause issues"} 
[2026-07-07 09:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783396543000,"timestamp_ms":1783396543000,"timestamp_seconds":1783396543,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab7aa18"} 
[2026-07-07 09:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 09:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09: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-07-07 09:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549512448001,"66":13189,"110":206,"87":13824,"24":1,"16":103294465979973632,"45":9022469297664159744},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549512448001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:28:15] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:28:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294465979973632,"km_value":103294465979973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022469297664159744,"description":"Unknown IO ID 45"} 
[2026-07-07 09:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549512448001,"power":13189,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022469297664159744}} 
[2026-07-07 09:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":125010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:28:15] local.INFO: GPS data processed {"connection_id":125010,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:28:15] local.INFO: Acknowledgment sent {"connection_id":125010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:28:15] local.INFO: TCP Data received {"connection_id":124311,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124311,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:28:15] local.INFO: Processing buffer {"connection_id":124311,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:28:15] local.INFO: IMEI packet received {"connection_id":124311,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":124311,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:28:16] local.INFO: TCP Data received {"connection_id":125010,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab7b5d0012d7d378005ec20a8000800b221..."} 
[2026-07-07 09:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab7b5d0012d7d378005ec20a8000800b221..."} 
[2026-07-07 09:28:16] local.INFO: Processing buffer {"connection_id":125010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab7b5d0012d7d378005ec20a8000800b221..."} 
[2026-07-07 09:28:16] local.INFO: Packet analysis {"connection_id":125010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab7"} 
[2026-07-07 09:28:16] local.INFO: Extracted packet for processing {"connection_id":125010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab7"} 
[2026-07-07 09:28:16] local.INFO: GPS Element Parsed {"raw_longitude":763180928,"raw_latitude":99360936,"longitude_deg":76.3180928,"latitude_deg":9.9360936,"altitude":8,"angle":178,"satellites":33,"speed":1,"hex_longitude":"2d7d3780","hex_latitude":"05ec20a8","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549515008001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294474569908224,"note":"Value kept but may cause issues"} 
[2026-07-07 09:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022750772640700416,"note":"Value kept but may cause issues"} 
[2026-07-07 09:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783396546000,"timestamp_ms":1783396546000,"timestamp_seconds":1783396546,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab7b5d0"} 
[2026-07-07 09:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:28: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-07-07 09:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 09:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549515008001,"66":12972,"110":206,"87":13824,"24":1,"16":103294474569908224,"45":9022750772640700416},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549515008001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:28:16] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:28:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294474569908224,"km_value":103294474569908.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022750772640700416,"description":"Unknown IO ID 45"} 
[2026-07-07 09:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549515008001,"power":12972,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022750772640700416}} 
[2026-07-07 09:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":125010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:28:16] local.INFO: GPS data processed {"connection_id":125010,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:28:16] local.INFO: Acknowledgment sent {"connection_id":125010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:28:20] local.INFO: TCP Data received {"connection_id":124311,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124311,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:28:20] local.INFO: Processing buffer {"connection_id":124311,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:28:20] local.INFO: IMEI packet received {"connection_id":124311,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":124311,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:28:21] local.INFO: TCP Data received {"connection_id":124311,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab97320012d0ac4800704f100001100531e..."} 
[2026-07-07 09:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab97320012d0ac4800704f100001100531e..."} 
[2026-07-07 09:28:21] local.INFO: Processing buffer {"connection_id":124311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab97320012d0ac4800704f100001100531e..."} 
[2026-07-07 09:28:21] local.INFO: Packet analysis {"connection_id":124311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab9"} 
[2026-07-07 09:28:21] local.INFO: Extracted packet for processing {"connection_id":124311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab9"} 
[2026-07-07 09:28:21] local.INFO: GPS Element Parsed {"raw_longitude":755680384,"raw_latitude":117764352,"longitude_deg":75.5680384,"latitude_deg":11.7764352,"altitude":17,"angle":83,"satellites":30,"speed":27,"hex_longitude":"2d0ac480","hex_latitude":"0704f100","is_valid_coordinates":true} 
[2026-07-07 09:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549542144001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23334531549364224,"note":"Value kept but may cause issues"} 
[2026-07-07 09:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765471229312284672,"note":"Value kept but may cause issues"} 
[2026-07-07 09:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783396660000,"timestamp_ms":1783396660000,"timestamp_seconds":1783396660,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab97320"} 
[2026-07-07 09:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-07 09:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124311,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124311,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549542144001,"66":14439,"177":206,"94":10240,"24":27,"16":23334531549364224,"45":765471229312284672},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-07 09:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549542144001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:28:21] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 09:28:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23334531549364224,"km_value":23334531549364.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":765471229312284672,"description":"Unknown IO ID 45"} 
[2026-07-07 09:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549542144001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":765471229312284672}} 
[2026-07-07 09:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":124311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444634,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:28:21] local.INFO: GPS data processed {"connection_id":124311,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:28:21] local.INFO: Acknowledgment sent {"connection_id":124311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:28:28] local.INFO: TCP Data received {"connection_id":124221,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:28:28] local.INFO: Processing buffer {"connection_id":124221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:28:28] local.INFO: IMEI packet received {"connection_id":124221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":124221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:28:37] local.INFO: TCP Data received {"connection_id":124310,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab97ed8012d852680060efc50000c00b12c..."} 
[2026-07-07 09:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab97ed8012d852680060efc50000c00b12c..."} 
[2026-07-07 09:28:37] local.INFO: Processing buffer {"connection_id":124310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab97ed8012d852680060efc50000c00b12c..."} 
[2026-07-07 09:28:37] local.INFO: Packet analysis {"connection_id":124310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab9"} 
[2026-07-07 09:28:37] local.INFO: Extracted packet for processing {"connection_id":124310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab9"} 
[2026-07-07 09:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763700864,"raw_latitude":101645392,"longitude_deg":76.3700864,"latitude_deg":10.1645392,"altitude":12,"angle":177,"satellites":44,"speed":50,"hex_longitude":"2d852680","hex_latitude":"060efc50","is_valid_coordinates":true} 
[2026-07-07 09:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549544960001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340801914021085184,"note":"Value kept but may cause issues"} 
[2026-07-07 09:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8851965779062843392,"note":"Value kept but may cause issues"} 
[2026-07-07 09:28:37] 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-07-07 09:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783396663000,"timestamp_ms":1783396663000,"timestamp_seconds":1783396663,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab97ed8"} 
[2026-07-07 09:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:28: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-07-07 09:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549544960001,"66":27713,"142":206,"79":46592,"24":50,"16":340801914021085184,"45":-8851965779062843392},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,79,24,16,45]} 
[2026-07-07 09:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549544960001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:28:37] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-07 09:28:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340801914021085184,"km_value":340801914021085.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8851965779062843392,"description":"Unknown IO ID 45"} 
[2026-07-07 09:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549544960001,"power":27713,"unknown_142":206,"unknown_79":46592,"ignition":50,"odometer":null,"unknown_45":-8851965779062843392}} 
[2026-07-07 09:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":124310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:28:37] local.INFO: GPS data processed {"connection_id":124310,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:28:37] local.INFO: Acknowledgment sent {"connection_id":124310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:28:53] local.INFO: TCP Data received {"connection_id":124311,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab98a90012d0ad1400704f4c8001000471e..."} 
[2026-07-07 09:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab98a90012d0ad1400704f4c8001000471e..."} 
[2026-07-07 09:28:53] local.INFO: Processing buffer {"connection_id":124311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab98a90012d0ad1400704f4c8001000471e..."} 
[2026-07-07 09:28:53] local.INFO: Packet analysis {"connection_id":124311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab9"} 
[2026-07-07 09:28:53] local.INFO: Extracted packet for processing {"connection_id":124311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab9"} 
[2026-07-07 09:28:53] local.INFO: GPS Element Parsed {"raw_longitude":755683648,"raw_latitude":117765320,"longitude_deg":75.5683648,"latitude_deg":11.776532,"altitude":16,"angle":71,"satellites":30,"speed":27,"hex_longitude":"2d0ad140","hex_latitude":"0704f4c8","is_valid_coordinates":true} 
[2026-07-07 09:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549544960001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23334694758121472,"note":"Value kept but may cause issues"} 
[2026-07-07 09:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":775885803450597376,"note":"Value kept but may cause issues"} 
[2026-07-07 09:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783396666000,"timestamp_ms":1783396666000,"timestamp_seconds":1783396666,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab98a90"} 
[2026-07-07 09:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 09:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":124311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":124311,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":124311,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549544960001,"66":14461,"177":206,"94":10240,"24":27,"16":23334694758121472,"45":775885803450597376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-07 09:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549544960001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:28:53] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 09:28:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23334694758121472,"km_value":23334694758121.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":775885803450597376,"description":"Unknown IO ID 45"} 
[2026-07-07 09:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549544960001,"power":14461,"unknown_177":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":775885803450597376}} 
[2026-07-07 09:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":124311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444636,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:28:53] local.INFO: GPS data processed {"connection_id":124311,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:28:53] local.INFO: Acknowledgment sent {"connection_id":124311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:28:56] local.INFO: TCP Data received {"connection_id":124222,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:28:56] local.INFO: Processing buffer {"connection_id":124222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:28:56] local.INFO: IMEI packet received {"connection_id":124222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":124222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:28:57] local.INFO: TCP Data received {"connection_id":124222,"ip":"42.106.6.29","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 09:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124222,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 09:28:57] local.INFO: Processing buffer {"connection_id":124222,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 09:28:57] local.INFO: IMEI packet received {"connection_id":124222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":124222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:28:58] local.INFO: TCP Data received {"connection_id":124222,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:28:58] local.INFO: Processing buffer {"connection_id":124222,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 09:28:58] local.INFO: IMEI packet received {"connection_id":124222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":124222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:28:59] local.INFO: TCP Data received {"connection_id":126238,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:28:59] local.INFO: Processing buffer {"connection_id":126238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:28:59] local.INFO: IMEI packet received {"connection_id":126238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":126238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:28:59] local.INFO: TCP Data received {"connection_id":126237,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:28:59] local.INFO: Processing buffer {"connection_id":126237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:28:59] local.INFO: IMEI packet received {"connection_id":126237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":126237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:29:14] local.INFO: TCP Data received {"connection_id":124223,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:29:14] local.INFO: Processing buffer {"connection_id":124223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:29:14] local.INFO: IMEI packet received {"connection_id":124223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":124223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:29:15] local.INFO: TCP Data received {"connection_id":124223,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:29:15] local.INFO: Processing buffer {"connection_id":124223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:29:15] local.INFO: IMEI packet received {"connection_id":124223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":124223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:29:15] local.INFO: TCP Data received {"connection_id":126238,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:29:15] local.INFO: Processing buffer {"connection_id":126238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:29:15] local.INFO: IMEI packet received {"connection_id":126238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":126238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:29:16] local.INFO: TCP Data received {"connection_id":124223,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:29:16] local.INFO: Processing buffer {"connection_id":124223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:29:16] local.INFO: IMEI packet received {"connection_id":124223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":124223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:29:16] local.INFO: TCP Data received {"connection_id":126238,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab99a30012d852700060edb60000b00c12c..."} 
[2026-07-07 09:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab99a30012d852700060edb60000b00c12c..."} 
[2026-07-07 09:29:16] local.INFO: Processing buffer {"connection_id":126238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab99a30012d852700060edb60000b00c12c..."} 
[2026-07-07 09:29:16] local.INFO: Packet analysis {"connection_id":126238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab9"} 
[2026-07-07 09:29:16] local.INFO: Extracted packet for processing {"connection_id":126238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab9"} 
[2026-07-07 09:29:16] local.INFO: GPS Element Parsed {"raw_longitude":763700992,"raw_latitude":101636960,"longitude_deg":76.3700992,"latitude_deg":10.163696,"altitude":11,"angle":193,"satellites":44,"speed":42,"hex_longitude":"2d852700","hex_latitude":"060edb60","is_valid_coordinates":true} 
[2026-07-07 09:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549545728001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340802322042978304,"note":"Value kept but may cause issues"} 
[2026-07-07 09:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8852247254040555520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:29:16] 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-07-07 09:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783396670000,"timestamp_ms":1783396670000,"timestamp_seconds":1783396670,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab99a30"} 
[2026-07-07 09:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-07 09:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549545728001,"66":27767,"142":206,"79":46592,"24":42,"16":340802322042978304,"45":-8852247254040555520},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,79,24,16,45]} 
[2026-07-07 09:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549545728001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:29:16] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-07 09:29:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340802322042978304,"km_value":340802322042978.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8852247254040555520,"description":"Unknown IO ID 45"} 
[2026-07-07 09:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549545728001,"power":27767,"unknown_142":206,"unknown_79":46592,"ignition":42,"odometer":null,"unknown_45":-8852247254040555520}} 
[2026-07-07 09:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":126238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:29:16] local.INFO: GPS data processed {"connection_id":126238,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:29:16] local.INFO: Acknowledgment sent {"connection_id":126238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:29:17] local.INFO: TCP Data received {"connection_id":124223,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:29:17] local.INFO: Processing buffer {"connection_id":124223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:29:17] local.INFO: IMEI packet received {"connection_id":124223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":124223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:29:17] local.INFO: TCP Data received {"connection_id":126238,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab9a200012d852440060ed3c8000a00d02d..."} 
[2026-07-07 09:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab9a200012d852440060ed3c8000a00d02d..."} 
[2026-07-07 09:29:17] local.INFO: Processing buffer {"connection_id":126238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab9a200012d852440060ed3c8000a00d02d..."} 
[2026-07-07 09:29:17] local.INFO: Packet analysis {"connection_id":126238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab9"} 
[2026-07-07 09:29:17] local.INFO: Extracted packet for processing {"connection_id":126238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab9"} 
[2026-07-07 09:29:17] local.INFO: GPS Element Parsed {"raw_longitude":763700288,"raw_latitude":101635016,"longitude_deg":76.3700288,"latitude_deg":10.1635016,"altitude":10,"angle":208,"satellites":45,"speed":41,"hex_longitude":"2d852440","hex_latitude":"060ed3c8","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549547520001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340802425122193408,"note":"Value kept but may cause issues"} 
[2026-07-07 09:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8852106516554358784,"note":"Value kept but may cause issues"} 
[2026-07-07 09:29:17] 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-07-07 09:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783396672000,"timestamp_ms":1783396672000,"timestamp_seconds":1783396672,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab9a200"} 
[2026-07-07 09:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:29: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-07-07 09: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-07-07 09:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":126238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":126238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":126238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549547520001,"66":27571,"142":206,"79":46592,"24":41,"16":340802425122193408,"45":-8852106516554358784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,79,24,16,45]} 
[2026-07-07 09:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549547520001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:29:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-07 09:29:17] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340802425122193408,"km_value":340802425122193.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8852106516554358784,"description":"Unknown IO ID 45"} 
[2026-07-07 09:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549547520001,"power":27571,"unknown_142":206,"unknown_79":46592,"ignition":41,"odometer":null,"unknown_45":-8852106516554358784}} 
[2026-07-07 09:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":126238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:29:17] local.INFO: GPS data processed {"connection_id":126238,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:29:17] local.INFO: Acknowledgment sent {"connection_id":126238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:29:59] local.INFO: TCP Data received {"connection_id":124312,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:29:59] local.INFO: Processing buffer {"connection_id":124312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:29:59] local.INFO: IMEI packet received {"connection_id":124312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":124312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:30:03] local.INFO: TCP Data received {"connection_id":124312,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:30:03] local.INFO: Processing buffer {"connection_id":124312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:30:03] local.INFO: IMEI packet received {"connection_id":124312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":124312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:30:04] local.INFO: TCP Data received {"connection_id":124312,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:30:04] local.INFO: Processing buffer {"connection_id":124312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:30:04] local.INFO: IMEI packet received {"connection_id":124312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":124312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:30:05] local.INFO: TCP Data received {"connection_id":124312,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ab9bd58012d851380060ebde0000a00df2e..."} 
[2026-07-07 09:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ab9bd58012d851380060ebde0000a00df2e..."} 
[2026-07-07 09:30:05] local.INFO: Processing buffer {"connection_id":124312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ab9bd58012d851380060ebde0000a00df2e..."} 
[2026-07-07 09:30:05] local.INFO: Packet analysis {"connection_id":124312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ab9"} 
[2026-07-07 09:30:05] local.INFO: Extracted packet for processing {"connection_id":124312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ab9"} 
[2026-07-07 09:30:05] local.INFO: GPS Element Parsed {"raw_longitude":763696000,"raw_latitude":101629408,"longitude_deg":76.3696,"latitude_deg":10.1629408,"altitude":10,"angle":223,"satellites":46,"speed":37,"hex_longitude":"2d851380","hex_latitude":"060ebde0","is_valid_coordinates":true} 
[2026-07-07 09:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549548032001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340802764424609792,"note":"Value kept but may cause issues"} 
[2026-07-07 09:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8852880572740810752,"note":"Value kept but may cause issues"} 
[2026-07-07 09:30:05] 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-07-07 09:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783396679000,"timestamp_ms":1783396679000,"timestamp_seconds":1783396679,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ab9bd58"} 
[2026-07-07 09:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 09:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549548032001,"66":27843,"142":206,"79":46592,"24":37,"16":340802764424609792,"45":-8852880572740810752},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,79,24,16,45]} 
[2026-07-07 09:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549548032001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:30:05] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-07 09:30:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-07 09:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340802764424609792,"km_value":340802764424609.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8852880572740810752,"description":"Unknown IO ID 45"} 
[2026-07-07 09:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549548032001,"power":27843,"unknown_142":206,"unknown_79":46592,"ignition":37,"odometer":null,"unknown_45":-8852880572740810752}} 
[2026-07-07 09:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":124312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:30:05] local.INFO: GPS data processed {"connection_id":124312,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:30:05] local.INFO: Acknowledgment sent {"connection_id":124312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:30:38] local.INFO: TCP Data received {"connection_id":124312,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abb4010012d83e100060e68e0000700ed2b..."} 
[2026-07-07 09:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abb4010012d83e100060e68e0000700ed2b..."} 
[2026-07-07 09:30:38] local.INFO: Processing buffer {"connection_id":124312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abb4010012d83e100060e68e0000700ed2b..."} 
[2026-07-07 09:30:38] local.INFO: Packet analysis {"connection_id":124312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abb"} 
[2026-07-07 09:30:38] local.INFO: Extracted packet for processing {"connection_id":124312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abb"} 
[2026-07-07 09:30:38] local.INFO: GPS Element Parsed {"raw_longitude":763617536,"raw_latitude":101607648,"longitude_deg":76.3617536,"latitude_deg":10.1607648,"altitude":7,"angle":237,"satellites":43,"speed":40,"hex_longitude":"2d83e100","hex_latitude":"060e68e0","is_valid_coordinates":true} 
[2026-07-07 09:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549573888001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340806698614652928,"note":"Value kept but may cause issues"} 
[2026-07-07 09:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8938800809388220416,"note":"Value kept but may cause issues"} 
[2026-07-07 09:30: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-07-07 09:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783396778000,"timestamp_ms":1783396778000,"timestamp_seconds":1783396778,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abb4010"} 
[2026-07-07 09:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:30: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-07-07 09:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549573888001,"66":27865,"255":206,"87":10496,"24":40,"16":340806698614652928,"45":-8938800809388220416},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-07-07 09:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549573888001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:30:38] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-07 09:30:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340806698614652928,"km_value":340806698614652.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8938800809388220416,"description":"Unknown IO ID 45"} 
[2026-07-07 09:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549573888001,"power":27865,"unknown_255":206,"unknown_87":10496,"ignition":40,"odometer":null,"unknown_45":-8938800809388220416}} 
[2026-07-07 09:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":124312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:30:38] local.INFO: GPS data processed {"connection_id":124312,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:30:38] local.INFO: Acknowledgment sent {"connection_id":124312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:31:04] local.INFO: TCP Data received {"connection_id":125012,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:31:04] local.INFO: Processing buffer {"connection_id":125012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:31:04] local.INFO: IMEI packet received {"connection_id":125012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":125012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:31:04] local.INFO: TCP Data received {"connection_id":125012,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:31:04] local.INFO: Processing buffer {"connection_id":125012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:31:04] local.INFO: IMEI packet received {"connection_id":125012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":125012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:31:09] local.INFO: TCP Data received {"connection_id":125012,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:31:09] local.INFO: Processing buffer {"connection_id":125012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:31:09] local.INFO: IMEI packet received {"connection_id":125012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":125012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:31:12] local.INFO: TCP Data received {"connection_id":125012,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abb6338012d83c540060e5388000900e62c..."} 
[2026-07-07 09:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abb6338012d83c540060e5388000900e62c..."} 
[2026-07-07 09:31:12] local.INFO: Processing buffer {"connection_id":125012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abb6338012d83c540060e5388000900e62c..."} 
[2026-07-07 09:31:12] local.INFO: Packet analysis {"connection_id":125012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abb"} 
[2026-07-07 09:31:12] local.INFO: Extracted packet for processing {"connection_id":125012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abb"} 
[2026-07-07 09:31:12] local.INFO: GPS Element Parsed {"raw_longitude":763610432,"raw_latitude":101602184,"longitude_deg":76.3610432,"latitude_deg":10.1602184,"altitude":9,"angle":230,"satellites":44,"speed":38,"hex_longitude":"2d83c540","hex_latitude":"060e5388","is_valid_coordinates":true} 
[2026-07-07 09:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549575168001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340807128111382528,"note":"Value kept but may cause issues"} 
[2026-07-07 09:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8943867358969536512,"note":"Value kept but may cause issues"} 
[2026-07-07 09:31:12] 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-07-07 09:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783396787000,"timestamp_ms":1783396787000,"timestamp_seconds":1783396787,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abb6338"} 
[2026-07-07 09:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 09:31: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-07-07 09:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549575168001,"66":27821,"87":10496,"24":38,"16":340807128111382528,"45":-8943867358969536512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-07-07 09:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549575168001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:31:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340807128111382528,"km_value":340807128111382.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8943867358969536512,"description":"Unknown IO ID 45"} 
[2026-07-07 09:31:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456549575168001,"power":27821,"unknown_87":10496,"ignition":38,"odometer":null,"unknown_45":-8943867358969536512}} 
[2026-07-07 09:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":125012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:31:12] local.INFO: GPS data processed {"connection_id":125012,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:31:12] local.INFO: Acknowledgment sent {"connection_id":125012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:31:12] local.INFO: TCP Data received {"connection_id":125012,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abb7aa8012d83b340060e4758000900f32b..."} 
[2026-07-07 09:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abb7aa8012d83b340060e4758000900f32b..."} 
[2026-07-07 09:31:12] local.INFO: Processing buffer {"connection_id":125012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abb7aa8012d83b340060e4758000900f32b..."} 
[2026-07-07 09:31:12] local.INFO: Packet analysis {"connection_id":125012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abb"} 
[2026-07-07 09:31:12] local.INFO: Extracted packet for processing {"connection_id":125012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abb"} 
[2026-07-07 09:31:12] local.INFO: GPS Element Parsed {"raw_longitude":763605824,"raw_latitude":101599064,"longitude_deg":76.3605824,"latitude_deg":10.1599064,"altitude":9,"angle":243,"satellites":43,"speed":36,"hex_longitude":"2d83b340","hex_latitude":"060e4758","is_valid_coordinates":true} 
[2026-07-07 09:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549577472001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340807398694322176,"note":"Value kept but may cause issues"} 
[2026-07-07 09:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8951678289574656000,"note":"Value kept but may cause issues"} 
[2026-07-07 09:31:12] 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-07-07 09:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783396793000,"timestamp_ms":1783396793000,"timestamp_seconds":1783396793,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abb7aa8"} 
[2026-07-07 09:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 09:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549577472001,"66":27658,"87":10496,"24":36,"16":340807398694322176,"45":-8951678289574656000},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-07-07 09:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549577472001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:31:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340807398694322176,"km_value":340807398694322.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8951678289574656000,"description":"Unknown IO ID 45"} 
[2026-07-07 09:31:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456549577472001,"power":27658,"unknown_87":10496,"ignition":36,"odometer":null,"unknown_45":-8951678289574656000}} 
[2026-07-07 09:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":125012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:31:12] local.INFO: GPS data processed {"connection_id":125012,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:31:12] local.INFO: Acknowledgment sent {"connection_id":125012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:31:44] local.INFO: TCP Data received {"connection_id":125012,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abb9dd0012d839080060e3b00000700fe2a..."} 
[2026-07-07 09:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abb9dd0012d839080060e3b00000700fe2a..."} 
[2026-07-07 09:31:44] local.INFO: Processing buffer {"connection_id":125012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abb9dd0012d839080060e3b00000700fe2a..."} 
[2026-07-07 09:31:44] local.INFO: Packet analysis {"connection_id":125012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abb"} 
[2026-07-07 09:31:44] local.INFO: Extracted packet for processing {"connection_id":125012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abb"} 
[2026-07-07 09:31:44] local.INFO: GPS Element Parsed {"raw_longitude":763596928,"raw_latitude":101595904,"longitude_deg":76.3596928,"latitude_deg":10.1595904,"altitude":7,"angle":254,"satellites":42,"speed":44,"hex_longitude":"2d839080","hex_latitude":"060e3b00","is_valid_coordinates":true} 
[2026-07-07 09:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549579008001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340807849665888256,"note":"Value kept but may cause issues"} 
[2026-07-07 09:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8956744839156246528,"note":"Value kept but may cause issues"} 
[2026-07-07 09:31:44] 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-07-07 09:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783396802000,"timestamp_ms":1783396802000,"timestamp_seconds":1783396802,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abb9dd0"} 
[2026-07-07 09:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 09:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":125012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":125012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":125012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549579008001,"66":27800,"87":10496,"24":44,"16":340807849665888256,"45":-8956744839156246528},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-07-07 09:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549579008001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:31:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340807849665888256,"km_value":340807849665888.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8956744839156246528,"description":"Unknown IO ID 45"} 
[2026-07-07 09:31:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456549579008001,"power":27800,"unknown_87":10496,"ignition":44,"odometer":null,"unknown_45":-8956744839156246528}} 
[2026-07-07 09:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":125012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:31:44] local.INFO: GPS data processed {"connection_id":125012,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:31:44] local.INFO: Acknowledgment sent {"connection_id":125012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:31:59] local.INFO: TCP Data received {"connection_id":124315,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:31:59] local.INFO: Processing buffer {"connection_id":124315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:31:59] local.INFO: IMEI packet received {"connection_id":124315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":124315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:32:04] local.INFO: TCP Data received {"connection_id":124315,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:32:04] local.INFO: Processing buffer {"connection_id":124315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:32:04] local.INFO: IMEI packet received {"connection_id":124315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":124315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:32:06] local.INFO: TCP Data received {"connection_id":124315,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abc8830012d82cc40060db428000600c72d..."} 
[2026-07-07 09:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abc8830012d82cc40060db428000600c72d..."} 
[2026-07-07 09:32:06] local.INFO: Processing buffer {"connection_id":124315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abc8830012d82cc40060db428000600c72d..."} 
[2026-07-07 09:32:06] local.INFO: Packet analysis {"connection_id":124315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abc"} 
[2026-07-07 09:32:06] local.INFO: Extracted packet for processing {"connection_id":124315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abc"} 
[2026-07-07 09:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763546688,"raw_latitude":101561384,"longitude_deg":76.3546688,"latitude_deg":10.1561384,"altitude":6,"angle":199,"satellites":45,"speed":28,"hex_longitude":"2d82cc40","hex_latitude":"060db428","is_valid_coordinates":true} 
[2026-07-07 09:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549594624001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340810864732930048,"note":"Value kept but may cause issues"} 
[2026-07-07 09:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9018810071529234432,"note":"Value kept but may cause issues"} 
[2026-07-07 09:32:06] 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-07-07 09:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783396862000,"timestamp_ms":1783396862000,"timestamp_seconds":1783396862,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abc8830"} 
[2026-07-07 09:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 09:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549594624001,"66":27767,"136":206,"87":10496,"24":28,"16":340810864732930048,"45":-9018810071529234432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,87,24,16,45]} 
[2026-07-07 09:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549594624001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:32:06] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-07 09:32:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340810864732930048,"km_value":340810864732930.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9018810071529234432,"description":"Unknown IO ID 45"} 
[2026-07-07 09:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549594624001,"power":27767,"unknown_136":206,"unknown_87":10496,"ignition":28,"odometer":null,"unknown_45":-9018810071529234432}} 
[2026-07-07 09:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":124315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:32:06] local.INFO: GPS data processed {"connection_id":124315,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:32:06] local.INFO: Acknowledgment sent {"connection_id":124315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:32:10] local.INFO: TCP Data received {"connection_id":124315,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abca388012d82c6c0060da0d0000700ba2b..."} 
[2026-07-07 09:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abca388012d82c6c0060da0d0000700ba2b..."} 
[2026-07-07 09:32:10] local.INFO: Processing buffer {"connection_id":124315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abca388012d82c6c0060da0d0000700ba2b..."} 
[2026-07-07 09:32:10] local.INFO: Packet analysis {"connection_id":124315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abc"} 
[2026-07-07 09:32:10] local.INFO: Extracted packet for processing {"connection_id":124315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abc"} 
[2026-07-07 09:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763545280,"raw_latitude":101556432,"longitude_deg":76.354528,"latitude_deg":10.1556432,"altitude":7,"angle":186,"satellites":43,"speed":26,"hex_longitude":"2d82c6c0","hex_latitude":"060da0d0","is_valid_coordinates":true} 
[2026-07-07 09:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549596672001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340811113841033216,"note":"Value kept but may cause issues"} 
[2026-07-07 09:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021765558786054144,"note":"Value kept but may cause issues"} 
[2026-07-07 09:32:10] 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-07-07 09:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783396869000,"timestamp_ms":1783396869000,"timestamp_seconds":1783396869,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abca388"} 
[2026-07-07 09:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:32: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-07-07 09:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:32: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-07-07 09:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549596672001,"66":27767,"137":206,"87":10496,"24":26,"16":340811113841033216,"45":-9021765558786054144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-07-07 09:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549596672001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:32:10] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-07 09:32:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340811113841033216,"km_value":340811113841033.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021765558786054144,"description":"Unknown IO ID 45"} 
[2026-07-07 09:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549596672001,"power":27767,"unknown_137":206,"unknown_87":10496,"ignition":26,"odometer":null,"unknown_45":-9021765558786054144}} 
[2026-07-07 09:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":124315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:32:10] local.INFO: GPS data processed {"connection_id":124315,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:32:10] local.INFO: Acknowledgment sent {"connection_id":124315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:32:41] local.INFO: TCP Data received {"connection_id":124315,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abcb710012d82c6c0060d9340000800ac2a..."} 
[2026-07-07 09:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abcb710012d82c6c0060d9340000800ac2a..."} 
[2026-07-07 09:32:41] local.INFO: Processing buffer {"connection_id":124315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abcb710012d82c6c0060d9340000800ac2a..."} 
[2026-07-07 09:32:41] local.INFO: Packet analysis {"connection_id":124315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abc"} 
[2026-07-07 09:32:41] local.INFO: Extracted packet for processing {"connection_id":124315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abc"} 
[2026-07-07 09:32:41] local.INFO: GPS Element Parsed {"raw_longitude":763545280,"raw_latitude":101552960,"longitude_deg":76.354528,"latitude_deg":10.155296,"altitude":8,"angle":172,"satellites":42,"speed":28,"hex_longitude":"2d82c6c0","hex_latitude":"060d9340","is_valid_coordinates":true} 
[2026-07-07 09:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549598464001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340811281344757760,"note":"Value kept but may cause issues"} 
[2026-07-07 09:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9023313671159230464,"note":"Value kept but may cause issues"} 
[2026-07-07 09:32:41] 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-07-07 09:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783396874000,"timestamp_ms":1783396874000,"timestamp_seconds":1783396874,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abcb710"} 
[2026-07-07 09:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:32: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-07-07 09:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:32: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-07-07 09:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549598464001,"66":27658,"137":206,"87":10496,"24":28,"16":340811281344757760,"45":-9023313671159230464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-07-07 09:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549598464001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:32:41] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-07 09:32:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340811281344757760,"km_value":340811281344757.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9023313671159230464,"description":"Unknown IO ID 45"} 
[2026-07-07 09:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549598464001,"power":27658,"unknown_137":206,"unknown_87":10496,"ignition":28,"odometer":null,"unknown_45":-9023313671159230464}} 
[2026-07-07 09:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":124315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:32:41] local.INFO: GPS data processed {"connection_id":124315,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:32:41] local.INFO: Acknowledgment sent {"connection_id":124315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:32:59] local.INFO: TCP Data received {"connection_id":126242,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:32:59] local.INFO: Processing buffer {"connection_id":126242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:32:59] local.INFO: IMEI packet received {"connection_id":126242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":126242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:33:04] local.INFO: TCP Data received {"connection_id":126242,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:33:04] local.INFO: Processing buffer {"connection_id":126242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:33:04] local.INFO: IMEI packet received {"connection_id":126242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":126242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:33:06] local.INFO: TCP Data received {"connection_id":126242,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abd0918012d82cc80060d6fc0000800aa2a..."} 
[2026-07-07 09:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abd0918012d82cc80060d6fc0000800aa2a..."} 
[2026-07-07 09:33:06] local.INFO: Processing buffer {"connection_id":126242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abd0918012d82cc80060d6fc0000800aa2a..."} 
[2026-07-07 09:33:06] local.INFO: Packet analysis {"connection_id":126242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abd"} 
[2026-07-07 09:33:06] local.INFO: Extracted packet for processing {"connection_id":126242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abd"} 
[2026-07-07 09:33:06] local.INFO: GPS Element Parsed {"raw_longitude":763546752,"raw_latitude":101543872,"longitude_deg":76.3546752,"latitude_deg":10.1543872,"altitude":8,"angle":170,"satellites":42,"speed":15,"hex_longitude":"2d82cc80","hex_latitude":"060d6fc0","is_valid_coordinates":true} 
[2026-07-07 09:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549599744001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340811728021356544,"note":"Value kept but may cause issues"} 
[2026-07-07 09:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9023313671160119296,"note":"Value kept but may cause issues"} 
[2026-07-07 09:33:06] 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-07-07 09:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783396895000,"timestamp_ms":1783396895000,"timestamp_seconds":1783396895,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abd0918"} 
[2026-07-07 09:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 09:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549599744001,"66":27767,"137":206,"87":10496,"24":15,"16":340811728021356544,"45":-9023313671160119296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-07-07 09:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549599744001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:33:06] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-07 09:33:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340811728021356544,"km_value":340811728021356.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9023313671160119296,"description":"Unknown IO ID 45"} 
[2026-07-07 09:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549599744001,"power":27767,"unknown_137":206,"unknown_87":10496,"ignition":15,"odometer":null,"unknown_45":-9023313671160119296}} 
[2026-07-07 09:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":126242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:33:06] local.INFO: GPS data processed {"connection_id":126242,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:33:06] local.INFO: Acknowledgment sent {"connection_id":126242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:33:38] local.INFO: TCP Data received {"connection_id":126242,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abd0918012d82cc80060d6fc0000800aa2a..."} 
[2026-07-07 09:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abd0918012d82cc80060d6fc0000800aa2a..."} 
[2026-07-07 09:33:38] local.INFO: Processing buffer {"connection_id":126242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abd0918012d82cc80060d6fc0000800aa2a..."} 
[2026-07-07 09:33:38] local.INFO: Packet analysis {"connection_id":126242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abd"} 
[2026-07-07 09:33:38] local.INFO: Extracted packet for processing {"connection_id":126242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abd"} 
[2026-07-07 09:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763546752,"raw_latitude":101543872,"longitude_deg":76.3546752,"latitude_deg":10.1543872,"altitude":8,"angle":170,"satellites":42,"speed":15,"hex_longitude":"2d82cc80","hex_latitude":"060d6fc0","is_valid_coordinates":true} 
[2026-07-07 09:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549605120001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340811728021356544,"note":"Value kept but may cause issues"} 
[2026-07-07 09:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021695190046359552,"note":"Value kept but may cause issues"} 
[2026-07-07 09:33: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-07-07 09:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783396895000,"timestamp_ms":1783396895000,"timestamp_seconds":1783396895,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abd0918"} 
[2026-07-07 09:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549605120001,"66":27767,"137":206,"87":10496,"24":15,"16":340811728021356544,"45":-9021695190046359552},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-07-07 09:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549605120001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:33:38] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-07 09:33:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340811728021356544,"km_value":340811728021356.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021695190046359552,"description":"Unknown IO ID 45"} 
[2026-07-07 09:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549605120001,"power":27767,"unknown_137":206,"unknown_87":10496,"ignition":15,"odometer":null,"unknown_45":-9021695190046359552}} 
[2026-07-07 09:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":126242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:33:38] local.INFO: GPS data processed {"connection_id":126242,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:33:38] local.INFO: Acknowledgment sent {"connection_id":126242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:34:00] local.INFO: TCP Data received {"connection_id":125015,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:34:00] local.INFO: Processing buffer {"connection_id":125015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:34:00] local.INFO: IMEI packet received {"connection_id":125015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":125015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:34:01] local.INFO: TCP Data received {"connection_id":124227,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:34:01] local.INFO: Processing buffer {"connection_id":124227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:34:01] local.INFO: IMEI packet received {"connection_id":124227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":124227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:34:02] local.INFO: TCP Data received {"connection_id":124227,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abeab10012d7d370005ec1e90000700c222..."} 
[2026-07-07 09:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abeab10012d7d370005ec1e90000700c222..."} 
[2026-07-07 09:34:02] local.INFO: Processing buffer {"connection_id":124227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abeab10012d7d370005ec1e90000700c222..."} 
[2026-07-07 09:34:02] local.INFO: Packet analysis {"connection_id":124227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abe"} 
[2026-07-07 09:34:02] local.INFO: Extracted packet for processing {"connection_id":124227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abe"} 
[2026-07-07 09:34:02] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99360400,"longitude_deg":76.31808,"latitude_deg":9.93604,"altitude":7,"angle":194,"satellites":34,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec1e90","is_valid_coordinates":true} 
[2026-07-07 09:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549604096001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294676433371136,"note":"Value kept but may cause issues"} 
[2026-07-07 09:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928919642112,"note":"Value kept but may cause issues"} 
[2026-07-07 09:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783397002000,"timestamp_ms":1783397002000,"timestamp_seconds":1783397002,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abeab10"} 
[2026-07-07 09:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 09:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 09:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549604096001,"66":12939,"110":206,"87":13824,"24":0,"16":103294676433371136,"45":9022398928919642112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549604096001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:34:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:34:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294676433371136,"km_value":103294676433371.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928919642112,"description":"Unknown IO ID 45"} 
[2026-07-07 09:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549604096001,"power":12939,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928919642112}} 
[2026-07-07 09:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":124227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:34:02] local.INFO: GPS data processed {"connection_id":124227,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:34:02] local.INFO: Acknowledgment sent {"connection_id":124227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:34:05] local.INFO: TCP Data received {"connection_id":125015,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:34:05] local.INFO: Processing buffer {"connection_id":125015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:34:05] local.INFO: IMEI packet received {"connection_id":125015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":125015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:34:06] local.INFO: TCP Data received {"connection_id":125015,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abd4798012d82d240060d4c58000900ae2c..."} 
[2026-07-07 09:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abd4798012d82d240060d4c58000900ae2c..."} 
[2026-07-07 09:34:06] local.INFO: Processing buffer {"connection_id":125015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abd4798012d82d240060d4c58000900ae2c..."} 
[2026-07-07 09:34:06] local.INFO: Packet analysis {"connection_id":125015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abd"} 
[2026-07-07 09:34:06] local.INFO: Extracted packet for processing {"connection_id":125015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abd"} 
[2026-07-07 09:34:06] local.INFO: GPS Element Parsed {"raw_longitude":763548224,"raw_latitude":101534808,"longitude_deg":76.3548224,"latitude_deg":10.1534808,"altitude":9,"angle":174,"satellites":44,"speed":21,"hex_longitude":"2d82d240","hex_latitude":"060d4c58","is_valid_coordinates":true} 
[2026-07-07 09:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549605120001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340812174697955328,"note":"Value kept but may cause issues"} 
[2026-07-07 09:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021695190046359552,"note":"Value kept but may cause issues"} 
[2026-07-07 09:34:06] 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-07-07 09:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783396911000,"timestamp_ms":1783396911000,"timestamp_seconds":1783396911,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abd4798"} 
[2026-07-07 09:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:34: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-07-07 09:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549605120001,"66":27876,"137":206,"87":10496,"24":21,"16":340812174697955328,"45":-9021695190046359552},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-07-07 09:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549605120001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:34:06] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-07 09:34:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340812174697955328,"km_value":340812174697955.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021695190046359552,"description":"Unknown IO ID 45"} 
[2026-07-07 09:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549605120001,"power":27876,"unknown_137":206,"unknown_87":10496,"ignition":21,"odometer":null,"unknown_45":-9021695190046359552}} 
[2026-07-07 09:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":125015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:34:06] local.INFO: GPS data processed {"connection_id":125015,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:34:06] local.INFO: Acknowledgment sent {"connection_id":125015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:34:14] local.INFO: TCP Data received {"connection_id":125014,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:34:15] local.INFO: Processing buffer {"connection_id":125014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:34:15] local.INFO: IMEI packet received {"connection_id":125014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":125014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:34:34] local.INFO: TCP Data received {"connection_id":124227,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abeab10012d7d370005ec1e90000700c222..."} 
[2026-07-07 09:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abeab10012d7d370005ec1e90000700c222..."} 
[2026-07-07 09:34:34] local.INFO: Processing buffer {"connection_id":124227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abeab10012d7d370005ec1e90000700c222..."} 
[2026-07-07 09:34:34] local.INFO: Packet analysis {"connection_id":124227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abe"} 
[2026-07-07 09:34:34] local.INFO: Extracted packet for processing {"connection_id":124227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abe"} 
[2026-07-07 09:34:34] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99360400,"longitude_deg":76.31808,"latitude_deg":9.93604,"altitude":7,"angle":194,"satellites":34,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec1e90","is_valid_coordinates":true} 
[2026-07-07 09:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549632512001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294676433371136,"note":"Value kept but may cause issues"} 
[2026-07-07 09:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403896340480,"note":"Value kept but may cause issues"} 
[2026-07-07 09:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783397002000,"timestamp_ms":1783397002000,"timestamp_seconds":1783397002,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abeab10"} 
[2026-07-07 09:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:34: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-07-07 09:34: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":139,"data_length":795,"current_offset":136} 
[2026-07-07 09:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549632512001,"66":12939,"110":206,"87":13824,"24":0,"16":103294676433371136,"45":9022680403896340480},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549632512001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:34:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:34:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294676433371136,"km_value":103294676433371.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403896340480,"description":"Unknown IO ID 45"} 
[2026-07-07 09:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549632512001,"power":12939,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403896340480}} 
[2026-07-07 09:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":124227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:34:34] local.INFO: GPS data processed {"connection_id":124227,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:34:34] local.INFO: Acknowledgment sent {"connection_id":124227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:34:38] local.INFO: TCP Data received {"connection_id":125015,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abd99a0012d82d280060d43e0000b00b02c..."} 
[2026-07-07 09:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abd99a0012d82d280060d43e0000b00b02c..."} 
[2026-07-07 09:34:38] local.INFO: Processing buffer {"connection_id":125015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abd99a0012d82d280060d43e0000b00b02c..."} 
[2026-07-07 09:34:38] local.INFO: Packet analysis {"connection_id":125015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abd"} 
[2026-07-07 09:34:38] local.INFO: Extracted packet for processing {"connection_id":125015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abd"} 
[2026-07-07 09:34:38] local.INFO: GPS Element Parsed {"raw_longitude":763548288,"raw_latitude":101532640,"longitude_deg":76.3548288,"latitude_deg":10.153264,"altitude":11,"angle":176,"satellites":44,"speed":0,"hex_longitude":"2d82d280","hex_latitude":"060d43e0","is_valid_coordinates":true} 
[2026-07-07 09:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549609216001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340812282072137728,"note":"Value kept but may cause issues"} 
[2026-07-07 09:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020076708932593664,"note":"Value kept but may cause issues"} 
[2026-07-07 09:34: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-07-07 09:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783396932000,"timestamp_ms":1783396932000,"timestamp_seconds":1783396932,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abd99a0"} 
[2026-07-07 09:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 09:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549609216001,"66":27789,"137":206,"87":10496,"24":0,"16":340812282072137728,"45":-9020076708932593664},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-07-07 09:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549609216001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:34:38] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-07 09:34:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340812282072137728,"km_value":340812282072137.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020076708932593664,"description":"Unknown IO ID 45"} 
[2026-07-07 09:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549609216001,"power":27789,"unknown_137":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9020076708932593664}} 
[2026-07-07 09:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":125015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:34:38] local.INFO: GPS data processed {"connection_id":125015,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:34:38] local.INFO: Acknowledgment sent {"connection_id":125015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:34:56] local.INFO: TCP Data received {"connection_id":124228,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:34:56] local.INFO: Processing buffer {"connection_id":124228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:34:56] local.INFO: IMEI packet received {"connection_id":124228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":124228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:35:01] local.INFO: TCP Data received {"connection_id":124228,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:35:01] local.INFO: Processing buffer {"connection_id":124228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:35:01] local.INFO: IMEI packet received {"connection_id":124228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":124228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:35:02] local.INFO: TCP Data received {"connection_id":124228,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abf0100012d7d360005ec1ec0000700c220..."} 
[2026-07-07 09:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abf0100012d7d360005ec1ec0000700c220..."} 
[2026-07-07 09:35:02] local.INFO: Processing buffer {"connection_id":124228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abf0100012d7d360005ec1ec0000700c220..."} 
[2026-07-07 09:35:02] local.INFO: Packet analysis {"connection_id":124228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:35:02] local.INFO: Extracted packet for processing {"connection_id":124228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99360448,"longitude_deg":76.3180544,"latitude_deg":9.9360448,"altitude":7,"angle":194,"satellites":32,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05ec1ec0","is_valid_coordinates":true} 
[2026-07-07 09:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549632512001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294676433371136,"note":"Value kept but may cause issues"} 
[2026-07-07 09:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403896340480,"note":"Value kept but may cause issues"} 
[2026-07-07 09:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783397024000,"timestamp_ms":1783397024000,"timestamp_seconds":1783397024,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abf0100"} 
[2026-07-07 09:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:35: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-07-07 09:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 09:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549632512001,"66":11515,"110":206,"87":13824,"24":0,"16":103294676433371136,"45":9022680403896340480},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549632512001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:35:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:35:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294676433371136,"km_value":103294676433371.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403896340480,"description":"Unknown IO ID 45"} 
[2026-07-07 09:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549632512001,"power":11515,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403896340480}} 
[2026-07-07 09:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":124228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:35:02] local.INFO: GPS data processed {"connection_id":124228,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:35:02] local.INFO: Acknowledgment sent {"connection_id":124228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:35:04] local.INFO: TCP Data received {"connection_id":125016,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:35:04] local.INFO: Processing buffer {"connection_id":125016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:35:04] local.INFO: IMEI packet received {"connection_id":125016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":125016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:35:05] local.INFO: TCP Data received {"connection_id":126243,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126243,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:35:05] local.INFO: Processing buffer {"connection_id":126243,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:35:05] local.INFO: IMEI packet received {"connection_id":126243,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":126243,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:35:09] local.INFO: TCP Data received {"connection_id":124229,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:35:09] local.INFO: Processing buffer {"connection_id":124229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:35:09] local.INFO: IMEI packet received {"connection_id":124229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":124229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:35:10] local.INFO: TCP Data received {"connection_id":126243,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126243,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:35:10] local.INFO: Processing buffer {"connection_id":126243,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:35:10] local.INFO: IMEI packet received {"connection_id":126243,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":126243,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:35:10] local.INFO: TCP Data received {"connection_id":126243,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abfb4b0012d0c3d0007064438001000591e..."} 
[2026-07-07 09:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abfb4b0012d0c3d0007064438001000591e..."} 
[2026-07-07 09:35:10] local.INFO: Processing buffer {"connection_id":126243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abfb4b0012d0c3d0007064438001000591e..."} 
[2026-07-07 09:35:10] local.INFO: Packet analysis {"connection_id":126243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:35:10] local.INFO: Extracted packet for processing {"connection_id":126243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:35:10] local.INFO: GPS Element Parsed {"raw_longitude":755776768,"raw_latitude":117851192,"longitude_deg":75.5776768,"latitude_deg":11.7851192,"altitude":16,"angle":89,"satellites":30,"speed":6,"hex_longitude":"2d0c3d00","hex_latitude":"07064438","is_valid_coordinates":true} 
[2026-07-07 09:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549648896001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23344208110682112,"note":"Value kept but may cause issues"} 
[2026-07-07 09:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881438919739258880,"note":"Value kept but may cause issues"} 
[2026-07-07 09:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783397070000,"timestamp_ms":1783397070000,"timestamp_seconds":1783397070,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abfb4b0"} 
[2026-07-07 09:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 09:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549648896001,"66":14515,"164":206,"94":10240,"24":6,"16":23344208110682112,"45":881438919739258880},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-07 09:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549648896001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:35:10] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-07 09:35:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23344208110682112,"km_value":23344208110682.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":881438919739258880,"description":"Unknown IO ID 45"} 
[2026-07-07 09:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549648896001,"power":14515,"unknown_164":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":881438919739258880}} 
[2026-07-07 09:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":126243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444654,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:35:11] local.INFO: GPS data processed {"connection_id":126243,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:35:11] local.INFO: Acknowledgment sent {"connection_id":126243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:35:14] local.INFO: TCP Data received {"connection_id":124229,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:35:14] local.INFO: Processing buffer {"connection_id":124229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:35:14] local.INFO: IMEI packet received {"connection_id":124229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":124229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:35:15] local.INFO: TCP Data received {"connection_id":124229,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abf62a8012d8295c0060c2290000c00c627..."} 
[2026-07-07 09:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abf62a8012d8295c0060c2290000c00c627..."} 
[2026-07-07 09:35:15] local.INFO: Processing buffer {"connection_id":124229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abf62a8012d8295c0060c2290000c00c627..."} 
[2026-07-07 09:35:15] local.INFO: Packet analysis {"connection_id":124229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:35:15] local.INFO: Extracted packet for processing {"connection_id":124229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:35:15] local.INFO: GPS Element Parsed {"raw_longitude":763532736,"raw_latitude":101458576,"longitude_deg":76.3532736,"latitude_deg":10.1458576,"altitude":12,"angle":198,"satellites":39,"speed":33,"hex_longitude":"2d8295c0","hex_latitude":"060c2290","is_valid_coordinates":true} 
[2026-07-07 09:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549641728001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340815975744012288,"note":"Value kept but may cause issues"} 
[2026-07-07 09:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033798614064422912,"note":"Value kept but may cause issues"} 
[2026-07-07 09:35:15] 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-07-07 09:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783397049000,"timestamp_ms":1783397049000,"timestamp_seconds":1783397049,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abf62a8"} 
[2026-07-07 09:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:35: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-07-07 09:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 09:35: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-07-07 09:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549641728001,"66":27745,"86":206,"79":46336,"24":33,"16":340815975744012288,"45":-9033798614064422912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 09:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549641728001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:35:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 09:35:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-07 09:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340815975744012288,"km_value":340815975744012.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033798614064422912,"description":"Unknown IO ID 45"} 
[2026-07-07 09:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549641728001,"power":27745,"unknown_86":206,"unknown_79":46336,"ignition":33,"odometer":null,"unknown_45":-9033798614064422912}} 
[2026-07-07 09:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":124229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:35:15] local.INFO: GPS data processed {"connection_id":124229,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:35:15] local.INFO: Acknowledgment sent {"connection_id":124229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:35:34] local.INFO: TCP Data received {"connection_id":124228,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abf4750012d7d364005ec1fc0000600e123..."} 
[2026-07-07 09:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abf4750012d7d364005ec1fc0000600e123..."} 
[2026-07-07 09:35:34] local.INFO: Processing buffer {"connection_id":124228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abf4750012d7d364005ec1fc0000600e123..."} 
[2026-07-07 09:35:34] local.INFO: Packet analysis {"connection_id":124228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:35:34] local.INFO: Extracted packet for processing {"connection_id":124228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:35:34] local.INFO: GPS Element Parsed {"raw_longitude":763180608,"raw_latitude":99360704,"longitude_deg":76.3180608,"latitude_deg":9.9360704,"altitude":6,"angle":225,"satellites":35,"speed":1,"hex_longitude":"2d7d3640","hex_latitude":"05ec1fc0","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549638144001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294689318273024,"note":"Value kept but may cause issues"} 
[2026-07-07 09:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928919642112,"note":"Value kept but may cause issues"} 
[2026-07-07 09:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783397042000,"timestamp_ms":1783397042000,"timestamp_seconds":1783397042,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abf4750"} 
[2026-07-07 09:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:35: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-07-07 09: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":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-07-07 09:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549638144001,"66":11254,"110":206,"87":13824,"24":1,"16":103294689318273024,"45":9022398928919642112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549638144001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:35:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:35:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294689318273024,"km_value":103294689318273.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928919642112,"description":"Unknown IO ID 45"} 
[2026-07-07 09:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549638144001,"power":11254,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022398928919642112}} 
[2026-07-07 09:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":124228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:35:34] local.INFO: GPS data processed {"connection_id":124228,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:35:34] local.INFO: Acknowledgment sent {"connection_id":124228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:35:42] local.INFO: TCP Data received {"connection_id":126243,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abfb898012d0c3dc007064418001000671e..."} 
[2026-07-07 09:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abfb898012d0c3dc007064418001000671e..."} 
[2026-07-07 09:35:42] local.INFO: Processing buffer {"connection_id":126243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abfb898012d0c3dc007064418001000671e..."} 
[2026-07-07 09:35:42] local.INFO: Packet analysis {"connection_id":126243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:35:42] local.INFO: Extracted packet for processing {"connection_id":126243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:35:42] local.INFO: GPS Element Parsed {"raw_longitude":755776960,"raw_latitude":117851160,"longitude_deg":75.577696,"latitude_deg":11.785116,"altitude":16,"angle":103,"satellites":30,"speed":8,"hex_longitude":"2d0c3dc0","hex_latitude":"07064418","is_valid_coordinates":true} 
[2026-07-07 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-07-07 09:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549649920001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23344216700616704,"note":"Value kept but may cause issues"} 
[2026-07-07 09:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881861132204390400,"note":"Value kept but may cause issues"} 
[2026-07-07 09:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783397071000,"timestamp_ms":1783397071000,"timestamp_seconds":1783397071,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abfb898"} 
[2026-07-07 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-07-07 09:35: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-07-07 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 09:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 09:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549649920001,"66":14428,"164":206,"94":10240,"24":8,"16":23344216700616704,"45":881861132204390400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-07 09:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549649920001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:35:42] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-07 09:35:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23344216700616704,"km_value":23344216700616.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":881861132204390400,"description":"Unknown IO ID 45"} 
[2026-07-07 09:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549649920001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":881861132204390400}} 
[2026-07-07 09:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":126243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444657,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:35:42] local.INFO: GPS data processed {"connection_id":126243,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:35:42] local.INFO: Acknowledgment sent {"connection_id":126243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:35:56] local.INFO: TCP Data received {"connection_id":124230,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:35:56] local.INFO: Processing buffer {"connection_id":124230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:35:56] local.INFO: IMEI packet received {"connection_id":124230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":124230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:36:00] local.INFO: TCP Data received {"connection_id":125017,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:36:00] local.INFO: Processing buffer {"connection_id":125017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:36:00] local.INFO: IMEI packet received {"connection_id":125017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":125017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:36:01] local.INFO: TCP Data received {"connection_id":124230,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:36:01] local.INFO: Processing buffer {"connection_id":124230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:36:01] local.INFO: IMEI packet received {"connection_id":124230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":124230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:36:02] local.INFO: TCP Data received {"connection_id":124230,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abf4f20012d7d360005ec1fb00006011023..."} 
[2026-07-07 09:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abf4f20012d7d360005ec1fb00006011023..."} 
[2026-07-07 09:36:02] local.INFO: Processing buffer {"connection_id":124230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abf4f20012d7d360005ec1fb00006011023..."} 
[2026-07-07 09:36:02] local.INFO: Packet analysis {"connection_id":124230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:36:02] local.INFO: Extracted packet for processing {"connection_id":124230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99360688,"longitude_deg":76.3180544,"latitude_deg":9.9360688,"altitude":6,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05ec1fb0","is_valid_coordinates":true} 
[2026-07-07 09:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549642752001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294693613240320,"note":"Value kept but may cause issues"} 
[2026-07-07 09:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022469297663885312,"note":"Value kept but may cause issues"} 
[2026-07-07 09:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783397044000,"timestamp_ms":1783397044000,"timestamp_seconds":1783397044,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abf4f20"} 
[2026-07-07 09:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:36: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-07-07 09:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-07 09:36:02] 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-07-07 09:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549642752001,"66":11102,"110":206,"87":13824,"24":0,"16":103294693613240320,"45":9022469297663885312},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549642752001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:36:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:36:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294693613240320,"km_value":103294693613240.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022469297663885312,"description":"Unknown IO ID 45"} 
[2026-07-07 09:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549642752001,"power":11102,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022469297663885312}} 
[2026-07-07 09:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":124230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:36:02] local.INFO: GPS data processed {"connection_id":124230,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:36:02] local.INFO: Acknowledgment sent {"connection_id":124230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:36:07] local.INFO: TCP Data received {"connection_id":125017,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:36:07] local.INFO: Processing buffer {"connection_id":125017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:36:07] local.INFO: IMEI packet received {"connection_id":125017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":125017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:36:08] local.INFO: TCP Data received {"connection_id":125017,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:36:08] local.INFO: Processing buffer {"connection_id":125017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:36:08] local.INFO: IMEI packet received {"connection_id":125017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":125017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:36:18] local.INFO: TCP Data received {"connection_id":125017,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abf8da0012d828b00060bffe0000900c32c..."} 
[2026-07-07 09:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abf8da0012d828b00060bffe0000900c32c..."} 
[2026-07-07 09:36:18] local.INFO: Processing buffer {"connection_id":125017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abf8da0012d828b00060bffe0000900c32c..."} 
[2026-07-07 09:36:18] local.INFO: Packet analysis {"connection_id":125017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:36:18] local.INFO: Extracted packet for processing {"connection_id":125017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:36:18] local.INFO: GPS Element Parsed {"raw_longitude":763529984,"raw_latitude":101449696,"longitude_deg":76.3529984,"latitude_deg":10.1449696,"altitude":9,"angle":195,"satellites":44,"speed":35,"hex_longitude":"2d828b00","hex_latitude":"060bffe0","is_valid_coordinates":true} 
[2026-07-07 09:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549644544001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340816426715578368,"note":"Value kept but may cause issues"} 
[2026-07-07 09:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037105945043103744,"note":"Value kept but may cause issues"} 
[2026-07-07 09:36:18] 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-07-07 09:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783397060000,"timestamp_ms":1783397060000,"timestamp_seconds":1783397060,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abf8da0"} 
[2026-07-07 09:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 09:36: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-07-07 09:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":125017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":125017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":125017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549644544001,"66":27865,"86":206,"79":46336,"24":35,"16":340816426715578368,"45":-9037105945043103744},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 09:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549644544001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:36:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 09:36:18] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-07 09:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340816426715578368,"km_value":340816426715578.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037105945043103744,"description":"Unknown IO ID 45"} 
[2026-07-07 09:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549644544001,"power":27865,"unknown_86":206,"unknown_79":46336,"ignition":35,"odometer":null,"unknown_45":-9037105945043103744}} 
[2026-07-07 09:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":125017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:36:18] local.INFO: GPS data processed {"connection_id":125017,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:36:18] local.INFO: Acknowledgment sent {"connection_id":125017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:36:20] local.INFO: TCP Data received {"connection_id":124232,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124232,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:36:20] local.INFO: Processing buffer {"connection_id":124232,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:36:20] local.INFO: IMEI packet received {"connection_id":124232,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":124232,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:36:23] local.INFO: TCP Data received {"connection_id":124232,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124232,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:36:23] local.INFO: Processing buffer {"connection_id":124232,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:36:23] local.INFO: IMEI packet received {"connection_id":124232,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":124232,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:36:24] local.INFO: TCP Data received {"connection_id":124232,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abfdfa8012d0c4a40070640d0001000721b..."} 
[2026-07-07 09:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abfdfa8012d0c4a40070640d0001000721b..."} 
[2026-07-07 09:36:24] local.INFO: Processing buffer {"connection_id":124232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abfdfa8012d0c4a40070640d0001000721b..."} 
[2026-07-07 09:36:24] local.INFO: Packet analysis {"connection_id":124232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:36:24] local.INFO: Extracted packet for processing {"connection_id":124232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:36:24] local.INFO: GPS Element Parsed {"raw_longitude":755780160,"raw_latitude":117850320,"longitude_deg":75.578016,"latitude_deg":11.785032,"altitude":16,"angle":114,"satellites":27,"speed":18,"hex_longitude":"2d0c4a40","hex_latitude":"070640d0","is_valid_coordinates":true} 
[2026-07-07 09:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549650176001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23344375614406656,"note":"Value kept but may cause issues"} 
[2026-07-07 09:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882072238436915200,"note":"Value kept but may cause issues"} 
[2026-07-07 09:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783397081000,"timestamp_ms":1783397081000,"timestamp_seconds":1783397081,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abfdfa8"} 
[2026-07-07 09:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 09:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":124232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":124232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":124232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549650176001,"66":13624,"164":206,"94":10240,"24":18,"16":23344375614406656,"45":882072238436915200},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-07 09:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549650176001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:36:24] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-07 09:36:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23344375614406656,"km_value":23344375614406.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":882072238436915200,"description":"Unknown IO ID 45"} 
[2026-07-07 09:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549650176001,"power":13624,"unknown_164":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":882072238436915200}} 
[2026-07-07 09:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":124232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444660,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:36:24] local.INFO: GPS data processed {"connection_id":124232,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:36:24] local.INFO: Acknowledgment sent {"connection_id":124232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:36:25] local.INFO: TCP Data received {"connection_id":124232,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abff330012d0c53c007063bd80011007f1d..."} 
[2026-07-07 09:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abff330012d0c53c007063bd80011007f1d..."} 
[2026-07-07 09:36:25] local.INFO: Processing buffer {"connection_id":124232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abff330012d0c53c007063bd80011007f1d..."} 
[2026-07-07 09:36:25] local.INFO: Packet analysis {"connection_id":124232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:36:25] local.INFO: Extracted packet for processing {"connection_id":124232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:36:25] local.INFO: GPS Element Parsed {"raw_longitude":755782592,"raw_latitude":117849048,"longitude_deg":75.5782592,"latitude_deg":11.7849048,"altitude":17,"angle":127,"satellites":29,"speed":22,"hex_longitude":"2d0c53c0","hex_latitude":"07063bd8","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549652736001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23344508758392832,"note":"Value kept but may cause issues"} 
[2026-07-07 09:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885590675645583360,"note":"Value kept but may cause issues"} 
[2026-07-07 09:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783397086000,"timestamp_ms":1783397086000,"timestamp_seconds":1783397086,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abff330"} 
[2026-07-07 09:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-07 09:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":124232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":124232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":124232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549652736001,"66":14407,"164":206,"94":10240,"24":22,"16":23344508758392832,"45":885590675645583360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-07 09:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549652736001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:36:25] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-07 09:36:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23344508758392832,"km_value":23344508758392.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":885590675645583360,"description":"Unknown IO ID 45"} 
[2026-07-07 09:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549652736001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":885590675645583360}} 
[2026-07-07 09:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":124232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444661,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:36:25] local.INFO: GPS data processed {"connection_id":124232,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:36:25] local.INFO: Acknowledgment sent {"connection_id":124232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:36:33] local.INFO: TCP Data received {"connection_id":124230,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abfa128012d7d360005ec1fe00005011022..."} 
[2026-07-07 09:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abfa128012d7d360005ec1fe00005011022..."} 
[2026-07-07 09:36:33] local.INFO: Processing buffer {"connection_id":124230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abfa128012d7d360005ec1fe00005011022..."} 
[2026-07-07 09:36:33] local.INFO: Packet analysis {"connection_id":124230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:36:33] local.INFO: Extracted packet for processing {"connection_id":124230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99360736,"longitude_deg":76.3180544,"latitude_deg":9.9360736,"altitude":5,"angle":272,"satellites":34,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05ec1fe0","is_valid_coordinates":true} 
[2026-07-07 09:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549643264001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294693613240320,"note":"Value kept but may cause issues"} 
[2026-07-07 09:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928919703552,"note":"Value kept but may cause issues"} 
[2026-07-07 09:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783397065000,"timestamp_ms":1783397065000,"timestamp_seconds":1783397065,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abfa128"} 
[2026-07-07 09:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-07 09:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1259,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549643264001,"66":11308,"110":206,"87":13824,"24":0,"16":103294693613240320,"45":9022398928919703552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549643264001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:36:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:36:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294693613240320,"km_value":103294693613240.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928919703552,"description":"Unknown IO ID 45"} 
[2026-07-07 09:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549643264001,"power":11308,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928919703552}} 
[2026-07-07 09:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":124230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:36:33] local.INFO: GPS data processed {"connection_id":124230,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:36:33] local.INFO: Acknowledgment sent {"connection_id":124230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:36:55] local.INFO: TCP Data received {"connection_id":124233,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:36:56] local.INFO: Processing buffer {"connection_id":124233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:36:56] local.INFO: IMEI packet received {"connection_id":124233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":124233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:36:57] local.INFO: TCP Data received {"connection_id":124232,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac006b8012d0c5c80070633f00012008f1e..."} 
[2026-07-07 09:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac006b8012d0c5c80070633f00012008f1e..."} 
[2026-07-07 09:36:57] local.INFO: Processing buffer {"connection_id":124232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac006b8012d0c5c80070633f00012008f1e..."} 
[2026-07-07 09:36:57] local.INFO: Packet analysis {"connection_id":124232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac0"} 
[2026-07-07 09:36:57] local.INFO: Extracted packet for processing {"connection_id":124232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac0"} 
[2026-07-07 09:36:57] local.INFO: GPS Element Parsed {"raw_longitude":755784832,"raw_latitude":117847024,"longitude_deg":75.5784832,"latitude_deg":11.7847024,"altitude":18,"angle":143,"satellites":30,"speed":26,"hex_longitude":"2d0c5c80","hex_latitude":"070633f0","is_valid_coordinates":true} 
[2026-07-07 09:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549654016001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23344650492313600,"note":"Value kept but may cause issues"} 
[2026-07-07 09:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888264687924008960,"note":"Value kept but may cause issues"} 
[2026-07-07 09:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783397091000,"timestamp_ms":1783397091000,"timestamp_seconds":1783397091,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac006b8"} 
[2026-07-07 09:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 09:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":124232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":124232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":124232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549654016001,"66":14439,"164":206,"94":10240,"24":26,"16":23344650492313600,"45":888264687924008960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-07 09:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549654016001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:36:57] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-07 09:36:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23344650492313600,"km_value":23344650492313.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":888264687924008960,"description":"Unknown IO ID 45"} 
[2026-07-07 09:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549654016001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":888264687924008960}} 
[2026-07-07 09:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":124232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444663,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:36:57] local.INFO: GPS data processed {"connection_id":124232,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:36:57] local.INFO: Acknowledgment sent {"connection_id":124232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:37:01] local.INFO: TCP Data received {"connection_id":124233,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:37:01] local.INFO: Processing buffer {"connection_id":124233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:37:01] local.INFO: IMEI packet received {"connection_id":124233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":124233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:37:02] local.INFO: TCP Data received {"connection_id":124233,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abff330012d7d360005ec1fe00005011021..."} 
[2026-07-07 09:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abff330012d7d360005ec1fe00005011021..."} 
[2026-07-07 09:37:02] local.INFO: Processing buffer {"connection_id":124233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abff330012d7d360005ec1fe00005011021..."} 
[2026-07-07 09:37:02] local.INFO: Packet analysis {"connection_id":124233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:37:02] local.INFO: Extracted packet for processing {"connection_id":124233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:37:02] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99360736,"longitude_deg":76.3180544,"latitude_deg":9.9360736,"altitude":5,"angle":272,"satellites":33,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05ec1fe0","is_valid_coordinates":true} 
[2026-07-07 09:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549648640001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294693613240320,"note":"Value kept but may cause issues"} 
[2026-07-07 09:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928919715840,"note":"Value kept but may cause issues"} 
[2026-07-07 09:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783397086000,"timestamp_ms":1783397086000,"timestamp_seconds":1783397086,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abff330"} 
[2026-07-07 09:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:37: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-07-07 09:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-07 09:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":814,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549648640001,"66":11134,"110":206,"87":13824,"24":0,"16":103294693613240320,"45":9022398928919715840},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549648640001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:37:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:37:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294693613240320,"km_value":103294693613240.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928919715840,"description":"Unknown IO ID 45"} 
[2026-07-07 09:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549648640001,"power":11134,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928919715840}} 
[2026-07-07 09:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":124233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:37:02] local.INFO: GPS data processed {"connection_id":124233,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:37:02] local.INFO: Acknowledgment sent {"connection_id":124233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:37:08] local.INFO: TCP Data received {"connection_id":125017,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3abfa8f8012d828700060be848000900b72a..."} 
[2026-07-07 09:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3abfa8f8012d828700060be848000900b72a..."} 
[2026-07-07 09:37:08] local.INFO: Processing buffer {"connection_id":125017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3abfa8f8012d828700060be848000900b72a..."} 
[2026-07-07 09:37:08] local.INFO: Packet analysis {"connection_id":125017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:37:08] local.INFO: Extracted packet for processing {"connection_id":125017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3abf"} 
[2026-07-07 09:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763528960,"raw_latitude":101443656,"longitude_deg":76.352896,"latitude_deg":10.1443656,"altitude":9,"angle":183,"satellites":42,"speed":32,"hex_longitude":"2d828700","hex_latitude":"060be848","is_valid_coordinates":true} 
[2026-07-07 09:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549647360001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340816723068321792,"note":"Value kept but may cause issues"} 
[2026-07-07 09:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040131801045016576,"note":"Value kept but may cause issues"} 
[2026-07-07 09:37:08] 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-07-07 09:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783397067000,"timestamp_ms":1783397067000,"timestamp_seconds":1783397067,"priority":1,"record_length":96,"hex_timestamp":"0000019f3abfa8f8"} 
[2026-07-07 09:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:37: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-07-07 09:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 09:37: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-07-07 09:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549647360001,"66":27767,"86":206,"79":46336,"24":32,"16":340816723068321792,"45":-9040131801045016576},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-07 09:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549647360001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:37:08] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-07 09:37:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-07 09:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340816723068321792,"km_value":340816723068321.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040131801045016576,"description":"Unknown IO ID 45"} 
[2026-07-07 09:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549647360001,"power":27767,"unknown_86":206,"unknown_79":46336,"ignition":32,"odometer":null,"unknown_45":-9040131801045016576}} 
[2026-07-07 09:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":125017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:37:08] local.INFO: GPS data processed {"connection_id":125017,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:37:08] local.INFO: Acknowledgment sent {"connection_id":125017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:37:11] local.INFO: TCP Data received {"connection_id":125018,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:37:11] local.INFO: Processing buffer {"connection_id":125018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:37:11] local.INFO: IMEI packet received {"connection_id":125018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":125018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:37:14] local.INFO: TCP Data received {"connection_id":125018,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:37:14] local.INFO: Processing buffer {"connection_id":125018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:37:14] local.INFO: IMEI packet received {"connection_id":125018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":125018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:37:15] local.INFO: TCP Data received {"connection_id":126244,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126244,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:37:15] local.INFO: Processing buffer {"connection_id":126244,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:37:15] local.INFO: IMEI packet received {"connection_id":126244,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":126244,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:37:19] local.INFO: TCP Data received {"connection_id":126244,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126244,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:37:19] local.INFO: Processing buffer {"connection_id":126244,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:37:19] local.INFO: IMEI packet received {"connection_id":126244,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":126244,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:37:19] local.INFO: TCP Data received {"connection_id":125018,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:37:19] local.INFO: Processing buffer {"connection_id":125018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:37:19] local.INFO: IMEI packet received {"connection_id":125018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":125018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:37:20] local.INFO: TCP Data received {"connection_id":126244,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac1f6d0012d0cbb000705b668001400ad1f..."} 
[2026-07-07 09:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac1f6d0012d0cbb000705b668001400ad1f..."} 
[2026-07-07 09:37:20] local.INFO: Processing buffer {"connection_id":126244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac1f6d0012d0cbb000705b668001400ad1f..."} 
[2026-07-07 09:37:20] local.INFO: Packet analysis {"connection_id":126244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac1"} 
[2026-07-07 09:37:20] local.INFO: Extracted packet for processing {"connection_id":126244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac1"} 
[2026-07-07 09:37:20] local.INFO: GPS Element Parsed {"raw_longitude":755809024,"raw_latitude":117814888,"longitude_deg":75.5809024,"latitude_deg":11.7814888,"altitude":20,"angle":173,"satellites":31,"speed":0,"hex_longitude":"2d0cbb00","hex_latitude":"0705b668","is_valid_coordinates":true} 
[2026-07-07 09:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549682432001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23346660537008128,"note":"Value kept but may cause issues"} 
[2026-07-07 09:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917256610517432320,"note":"Value kept but may cause issues"} 
[2026-07-07 09:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783397218000,"timestamp_ms":1783397218000,"timestamp_seconds":1783397218,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac1f6d0"} 
[2026-07-07 09:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 09:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":126244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":126244,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":126244,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549682432001,"66":14439,"220":206,"94":10240,"24":0,"16":23346660537008128,"45":917256610517432320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-07 09:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549682432001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:37:20] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-07 09:37:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23346660537008128,"km_value":23346660537008.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":917256610517432320,"description":"Unknown IO ID 45"} 
[2026-07-07 09:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549682432001,"power":14439,"unknown_220":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":917256610517432320}} 
[2026-07-07 09:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":126244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444666,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:37:20] local.INFO: GPS data processed {"connection_id":126244,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:37:20] local.INFO: Acknowledgment sent {"connection_id":126244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:37:20] local.INFO: TCP Data received {"connection_id":125018,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac13f38012d82a380060a5900000900af2d..."} 
[2026-07-07 09:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac13f38012d82a380060a5900000900af2d..."} 
[2026-07-07 09:37:20] local.INFO: Processing buffer {"connection_id":125018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac13f38012d82a380060a5900000900af2d..."} 
[2026-07-07 09:37:20] local.INFO: Packet analysis {"connection_id":125018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac1"} 
[2026-07-07 09:37:20] local.INFO: Extracted packet for processing {"connection_id":125018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac1"} 
[2026-07-07 09:37:20] local.INFO: GPS Element Parsed {"raw_longitude":763536256,"raw_latitude":101341440,"longitude_deg":76.3536256,"latitude_deg":10.134144,"altitude":9,"angle":175,"satellites":45,"speed":39,"hex_longitude":"2d82a380","hex_latitude":"060a5900","is_valid_coordinates":true} 
[2026-07-07 09:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549673216001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340821705230385152,"note":"Value kept but may cause issues"} 
[2026-07-07 09:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034080089071032320,"note":"Value kept but may cause issues"} 
[2026-07-07 09:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783397171000,"timestamp_ms":1783397171000,"timestamp_seconds":1783397171,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac13f38"} 
[2026-07-07 09:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 09:37: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-07-07 09:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":125018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":125018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":125018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549673216001,"66":27843,"49":206,"87":10496,"24":39,"16":340821705230385152,"45":-9034080089071032320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,87,24,16,45]} 
[2026-07-07 09:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549673216001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:37:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 09:37:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340821705230385152,"km_value":340821705230385.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034080089071032320,"description":"Unknown IO ID 45"} 
[2026-07-07 09:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549673216001,"power":27843,"unknown_49":206,"unknown_87":10496,"ignition":39,"odometer":null,"unknown_45":-9034080089071032320}} 
[2026-07-07 09:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":125018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:37:20] local.INFO: GPS data processed {"connection_id":125018,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:37:20] local.INFO: Acknowledgment sent {"connection_id":125018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:37:34] local.INFO: TCP Data received {"connection_id":124233,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac04538012d7d360005ec1fe00005011022..."} 
[2026-07-07 09:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac04538012d7d360005ec1fe00005011022..."} 
[2026-07-07 09:37:34] local.INFO: Processing buffer {"connection_id":124233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac04538012d7d360005ec1fe00005011022..."} 
[2026-07-07 09:37:34] local.INFO: Packet analysis {"connection_id":124233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac0"} 
[2026-07-07 09:37:34] local.INFO: Extracted packet for processing {"connection_id":124233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac0"} 
[2026-07-07 09:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99360736,"longitude_deg":76.3180544,"latitude_deg":9.9360736,"altitude":5,"angle":272,"satellites":34,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05ec1fe0","is_valid_coordinates":true} 
[2026-07-07 09:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549654016001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294693613240320,"note":"Value kept but may cause issues"} 
[2026-07-07 09:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928919715840,"note":"Value kept but may cause issues"} 
[2026-07-07 09:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783397107000,"timestamp_ms":1783397107000,"timestamp_seconds":1783397107,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac04538"} 
[2026-07-07 09:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-07 09:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1547,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549654016001,"66":11189,"110":206,"87":13824,"24":0,"16":103294693613240320,"45":9022398928919715840},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549654016001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:37:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:37:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294693613240320,"km_value":103294693613240.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928919715840,"description":"Unknown IO ID 45"} 
[2026-07-07 09:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549654016001,"power":11189,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928919715840}} 
[2026-07-07 09:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":124233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:37:34] local.INFO: GPS data processed {"connection_id":124233,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:37:34] local.INFO: Acknowledgment sent {"connection_id":124233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:37:56] local.INFO: TCP Data received {"connection_id":126244,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac29310012d0c6d8007058f90001b00e120..."} 
[2026-07-07 09:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac29310012d0c6d8007058f90001b00e120..."} 
[2026-07-07 09:37:56] local.INFO: Processing buffer {"connection_id":126244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac29310012d0c6d8007058f90001b00e120..."} 
[2026-07-07 09:37:56] local.INFO: Packet analysis {"connection_id":126244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac2"} 
[2026-07-07 09:37:56] local.INFO: Extracted packet for processing {"connection_id":126244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac2"} 
[2026-07-07 09:37:56] local.INFO: GPS Element Parsed {"raw_longitude":755789184,"raw_latitude":117804944,"longitude_deg":75.5789184,"latitude_deg":11.7804944,"altitude":27,"angle":225,"satellites":32,"speed":23,"hex_longitude":"2d0c6d80","hex_latitude":"07058f90","is_valid_coordinates":true} 
[2026-07-07 09:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549697792001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23347923257393152,"note":"Value kept but may cause issues"} 
[2026-07-07 09:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895934881028198400,"note":"Value kept but may cause issues"} 
[2026-07-07 09:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783397258000,"timestamp_ms":1783397258000,"timestamp_seconds":1783397258,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac29310"} 
[2026-07-07 09:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:37: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-07-07 09:37: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-07-07 09:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":126244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":126244,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":126244,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549697792001,"66":14428,"220":206,"94":10240,"24":23,"16":23347923257393152,"45":895934881028198400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-07 09:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549697792001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:37:56] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-07 09:37:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23347923257393152,"km_value":23347923257393.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":895934881028198400,"description":"Unknown IO ID 45"} 
[2026-07-07 09:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549697792001,"power":14428,"unknown_220":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":895934881028198400}} 
[2026-07-07 09:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":126244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444669,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:37:56] local.INFO: GPS data processed {"connection_id":126244,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:37:56] local.INFO: Acknowledgment sent {"connection_id":126244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:37:56] local.INFO: TCP Data received {"connection_id":126245,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:37:56] local.INFO: Processing buffer {"connection_id":126245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:37:56] local.INFO: IMEI packet received {"connection_id":126245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":126245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:37:59] local.INFO: TCP Data received {"connection_id":126245,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:37:59] local.INFO: Processing buffer {"connection_id":126245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:37:59] local.INFO: IMEI packet received {"connection_id":126245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":126245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:38:01] local.INFO: TCP Data received {"connection_id":125019,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:38:01] local.INFO: Processing buffer {"connection_id":125019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:38:01] local.INFO: IMEI packet received {"connection_id":125019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":125019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:38:04] local.INFO: TCP Data received {"connection_id":126245,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:38:04] local.INFO: Processing buffer {"connection_id":126245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:38:04] local.INFO: IMEI packet received {"connection_id":126245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":126245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:38:05] local.INFO: TCP Data received {"connection_id":126245,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac152c0012d82a380060a45e0000900bb2d..."} 
[2026-07-07 09:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac152c0012d82a380060a45e0000900bb2d..."} 
[2026-07-07 09:38:05] local.INFO: Processing buffer {"connection_id":126245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac152c0012d82a380060a45e0000900bb2d..."} 
[2026-07-07 09:38:05] local.INFO: Packet analysis {"connection_id":126245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac1"} 
[2026-07-07 09:38:05] local.INFO: Extracted packet for processing {"connection_id":126245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac1"} 
[2026-07-07 09:38:05] local.INFO: GPS Element Parsed {"raw_longitude":763536256,"raw_latitude":101336544,"longitude_deg":76.3536256,"latitude_deg":10.1336544,"altitude":9,"angle":187,"satellites":45,"speed":38,"hex_longitude":"2d82a380","hex_latitude":"060a45e0","is_valid_coordinates":true} 
[2026-07-07 09:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549675776001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340821941453586432,"note":"Value kept but may cause issues"} 
[2026-07-07 09:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033235664143319040,"note":"Value kept but may cause issues"} 
[2026-07-07 09:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783397176000,"timestamp_ms":1783397176000,"timestamp_seconds":1783397176,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac152c0"} 
[2026-07-07 09:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 09:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549675776001,"66":27832,"49":206,"87":10496,"24":38,"16":340821941453586432,"45":-9033235664143319040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,87,24,16,45]} 
[2026-07-07 09:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549675776001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:38:05] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 09:38:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340821941453586432,"km_value":340821941453586.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033235664143319040,"description":"Unknown IO ID 45"} 
[2026-07-07 09:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549675776001,"power":27832,"unknown_49":206,"unknown_87":10496,"ignition":38,"odometer":null,"unknown_45":-9033235664143319040}} 
[2026-07-07 09:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":126245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:38:05] local.INFO: GPS data processed {"connection_id":126245,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:38:05] local.INFO: Acknowledgment sent {"connection_id":126245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:38:06] local.INFO: TCP Data received {"connection_id":125019,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:38:06] local.INFO: Processing buffer {"connection_id":125019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:38:06] local.INFO: IMEI packet received {"connection_id":125019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":125019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:38:09] local.INFO: TCP Data received {"connection_id":125019,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac09740012d7d360005ec1fe00005011022..."} 
[2026-07-07 09:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac09740012d7d360005ec1fe00005011022..."} 
[2026-07-07 09:38:09] local.INFO: Processing buffer {"connection_id":125019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac09740012d7d360005ec1fe00005011022..."} 
[2026-07-07 09:38:09] local.INFO: Packet analysis {"connection_id":125019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac0"} 
[2026-07-07 09:38:09] local.INFO: Extracted packet for processing {"connection_id":125019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac0"} 
[2026-07-07 09:38:09] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99360736,"longitude_deg":76.3180544,"latitude_deg":9.9360736,"altitude":5,"angle":272,"satellites":34,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05ec1fe0","is_valid_coordinates":true} 
[2026-07-07 09:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549659392001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294693613240320,"note":"Value kept but may cause issues"} 
[2026-07-07 09:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928919715840,"note":"Value kept but may cause issues"} 
[2026-07-07 09:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783397128000,"timestamp_ms":1783397128000,"timestamp_seconds":1783397128,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac09740"} 
[2026-07-07 09:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":43,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-07 09:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2042,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:38: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-07-07 09:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549659392001,"66":11134,"110":206,"87":13824,"24":0,"16":103294693613240320,"45":9022398928919715840},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549659392001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:38:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:38:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294693613240320,"km_value":103294693613240.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928919715840,"description":"Unknown IO ID 45"} 
[2026-07-07 09:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549659392001,"power":11134,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928919715840}} 
[2026-07-07 09:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":125019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:38:09] local.INFO: GPS data processed {"connection_id":125019,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:38:09] local.INFO: Acknowledgment sent {"connection_id":125019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:38:36] local.INFO: TCP Data received {"connection_id":126245,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac16a30012d829e00060a3030000a00c72d..."} 
[2026-07-07 09:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac16a30012d829e00060a3030000a00c72d..."} 
[2026-07-07 09:38:36] local.INFO: Processing buffer {"connection_id":126245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac16a30012d829e00060a3030000a00c72d..."} 
[2026-07-07 09:38:36] local.INFO: Packet analysis {"connection_id":126245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac1"} 
[2026-07-07 09:38:36] local.INFO: Extracted packet for processing {"connection_id":126245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac1"} 
[2026-07-07 09:38:36] local.INFO: GPS Element Parsed {"raw_longitude":763534848,"raw_latitude":101330992,"longitude_deg":76.3534848,"latitude_deg":10.1330992,"altitude":10,"angle":199,"satellites":45,"speed":39,"hex_longitude":"2d829e00","hex_latitude":"060a3030","is_valid_coordinates":true} 
[2026-07-07 09:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549677056001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340822220626460672,"note":"Value kept but may cause issues"} 
[2026-07-07 09:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033235664144572416,"note":"Value kept but may cause issues"} 
[2026-07-07 09:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783397182000,"timestamp_ms":1783397182000,"timestamp_seconds":1783397182,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac16a30"} 
[2026-07-07 09:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 09:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549677056001,"66":27767,"49":206,"87":10496,"24":39,"16":340822220626460672,"45":-9033235664144572416},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,87,24,16,45]} 
[2026-07-07 09:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549677056001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:38:36] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 09:38:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340822220626460672,"km_value":340822220626460.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033235664144572416,"description":"Unknown IO ID 45"} 
[2026-07-07 09:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549677056001,"power":27767,"unknown_49":206,"unknown_87":10496,"ignition":39,"odometer":null,"unknown_45":-9033235664144572416}} 
[2026-07-07 09:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":126245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:38:36] local.INFO: GPS data processed {"connection_id":126245,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:38:36] local.INFO: Acknowledgment sent {"connection_id":126245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:38:41] local.INFO: TCP Data received {"connection_id":125019,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac0e948012d7d360005ec1fe00005011020..."} 
[2026-07-07 09:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac0e948012d7d360005ec1fe00005011020..."} 
[2026-07-07 09:38:41] local.INFO: Processing buffer {"connection_id":125019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac0e948012d7d360005ec1fe00005011020..."} 
[2026-07-07 09:38:41] local.INFO: Packet analysis {"connection_id":125019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac0"} 
[2026-07-07 09:38:41] local.INFO: Extracted packet for processing {"connection_id":125019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac0"} 
[2026-07-07 09:38:41] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99360736,"longitude_deg":76.3180544,"latitude_deg":9.9360736,"altitude":5,"angle":272,"satellites":32,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05ec1fe0","is_valid_coordinates":true} 
[2026-07-07 09:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549664768001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294693613240320,"note":"Value kept but may cause issues"} 
[2026-07-07 09:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928919715840,"note":"Value kept but may cause issues"} 
[2026-07-07 09:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783397149000,"timestamp_ms":1783397149000,"timestamp_seconds":1783397149,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac0e948"} 
[2026-07-07 09:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-07 09:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1547,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549664768001,"66":12863,"109":206,"87":13824,"24":0,"16":103294693613240320,"45":9022398928919715840},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-07 09:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549664768001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:38:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 09:38:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294693613240320,"km_value":103294693613240.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928919715840,"description":"Unknown IO ID 45"} 
[2026-07-07 09:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549664768001,"power":12863,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928919715840}} 
[2026-07-07 09:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":125019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:38:41] local.INFO: GPS data processed {"connection_id":125019,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:38:41] local.INFO: Acknowledgment sent {"connection_id":125019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:38:45] local.INFO: TCP Data received {"connection_id":124234,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124234,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:38:45] local.INFO: Processing buffer {"connection_id":124234,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:38:45] local.INFO: IMEI packet received {"connection_id":124234,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":124234,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:38:50] local.INFO: TCP Data received {"connection_id":124234,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124234,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:38:50] local.INFO: Processing buffer {"connection_id":124234,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:38:50] local.INFO: IMEI packet received {"connection_id":124234,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":124234,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:38:52] local.INFO: TCP Data received {"connection_id":124234,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac296f8012d0c6c0007058e38001b00ef20..."} 
[2026-07-07 09:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac296f8012d0c6c0007058e38001b00ef20..."} 
[2026-07-07 09:38:52] local.INFO: Processing buffer {"connection_id":124234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac296f8012d0c6c0007058e38001b00ef20..."} 
[2026-07-07 09:38:52] local.INFO: Packet analysis {"connection_id":124234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac2"} 
[2026-07-07 09:38:52] local.INFO: Extracted packet for processing {"connection_id":124234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac2"} 
[2026-07-07 09:38:52] local.INFO: GPS Element Parsed {"raw_longitude":755788800,"raw_latitude":117804600,"longitude_deg":75.57888,"latitude_deg":11.78046,"altitude":27,"angle":239,"satellites":32,"speed":23,"hex_longitude":"2d0c6c00","hex_latitude":"07058e38","is_valid_coordinates":true} 
[2026-07-07 09:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549698048001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23347944732229632,"note":"Value kept but may cause issues"} 
[2026-07-07 09:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895512668563017728,"note":"Value kept but may cause issues"} 
[2026-07-07 09:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783397259000,"timestamp_ms":1783397259000,"timestamp_seconds":1783397259,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac296f8"} 
[2026-07-07 09:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:38: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-07-07 09:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 09:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549698048001,"66":14428,"220":206,"94":10240,"24":23,"16":23347944732229632,"45":895512668563017728},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-07 09:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549698048001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:38:52] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-07 09:38:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23347944732229632,"km_value":23347944732229.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":895512668563017728,"description":"Unknown IO ID 45"} 
[2026-07-07 09:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549698048001,"power":14428,"unknown_220":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":895512668563017728}} 
[2026-07-07 09:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":124234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444674,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:38:52] local.INFO: GPS data processed {"connection_id":124234,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:38:52] local.INFO: Acknowledgment sent {"connection_id":124234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:38:56] local.INFO: TCP Data received {"connection_id":124235,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:38:56] local.INFO: Processing buffer {"connection_id":124235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:38:56] local.INFO: IMEI packet received {"connection_id":124235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":124235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:38:58] local.INFO: TCP Data received {"connection_id":124319,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:38:58] local.INFO: Processing buffer {"connection_id":124319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:38:58] local.INFO: IMEI packet received {"connection_id":124319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":124319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:38:59] local.INFO: TCP Data received {"connection_id":124319,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:38:59] local.INFO: Processing buffer {"connection_id":124319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:38:59] local.INFO: IMEI packet received {"connection_id":124319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":124319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:39:00] local.INFO: TCP Data received {"connection_id":124235,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:39:00] local.INFO: Processing buffer {"connection_id":124235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:39:00] local.INFO: IMEI packet received {"connection_id":124235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":124235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:39:02] local.INFO: TCP Data received {"connection_id":124235,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac13b50012d7d360005ec1fe00005011023..."} 
[2026-07-07 09:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac13b50012d7d360005ec1fe00005011023..."} 
[2026-07-07 09:39:02] local.INFO: Processing buffer {"connection_id":124235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac13b50012d7d360005ec1fe00005011023..."} 
[2026-07-07 09:39:02] local.INFO: Packet analysis {"connection_id":124235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac1"} 
[2026-07-07 09:39:02] local.INFO: Extracted packet for processing {"connection_id":124235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac1"} 
[2026-07-07 09:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99360736,"longitude_deg":76.3180544,"latitude_deg":9.9360736,"altitude":5,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05ec1fe0","is_valid_coordinates":true} 
[2026-07-07 09:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549670144001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294693613240320,"note":"Value kept but may cause issues"} 
[2026-07-07 09:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928919715840,"note":"Value kept but may cause issues"} 
[2026-07-07 09:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783397170000,"timestamp_ms":1783397170000,"timestamp_seconds":1783397170,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac13b50"} 
[2026-07-07 09:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 09:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549670144001,"66":12461,"109":206,"87":13824,"24":0,"16":103294693613240320,"45":9022398928919715840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-07 09:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549670144001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:39:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 09:39:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294693613240320,"km_value":103294693613240.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928919715840,"description":"Unknown IO ID 45"} 
[2026-07-07 09:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549670144001,"power":12461,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928919715840}} 
[2026-07-07 09:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":124235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:39:02] local.INFO: GPS data processed {"connection_id":124235,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:39:02] local.INFO: Acknowledgment sent {"connection_id":124235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:39:04] local.INFO: TCP Data received {"connection_id":124319,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:39:04] local.INFO: Processing buffer {"connection_id":124319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:39:04] local.INFO: IMEI packet received {"connection_id":124319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":124319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:39:05] local.INFO: TCP Data received {"connection_id":124319,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac2e900012d819f400609c0a0000f01112c..."} 
[2026-07-07 09:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac2e900012d819f400609c0a0000f01112c..."} 
[2026-07-07 09:39:05] local.INFO: Processing buffer {"connection_id":124319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac2e900012d819f400609c0a0000f01112c..."} 
[2026-07-07 09:39:05] local.INFO: Packet analysis {"connection_id":124319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac2"} 
[2026-07-07 09:39:05] local.INFO: Extracted packet for processing {"connection_id":124319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac2"} 
[2026-07-07 09:39:05] local.INFO: GPS Element Parsed {"raw_longitude":763469632,"raw_latitude":101302432,"longitude_deg":76.3469632,"latitude_deg":10.1302432,"altitude":15,"angle":273,"satellites":44,"speed":34,"hex_longitude":"2d819f40","hex_latitude":"0609c0a0","is_valid_coordinates":true} 
[2026-07-07 09:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549700864001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340826227830947840,"note":"Value kept but may cause issues"} 
[2026-07-07 09:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096286058936670208,"note":"Value kept but may cause issues"} 
[2026-07-07 09:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783397280000,"timestamp_ms":1783397280000,"timestamp_seconds":1783397280,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac2e900"} 
[2026-07-07 09:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 09:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549700864001,"66":27865,"54":206,"87":10496,"24":34,"16":340826227830947840,"45":-9096286058936670208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,87,24,16,45]} 
[2026-07-07 09:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549700864001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:39:05] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-07 09:39:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340826227830947840,"km_value":340826227830947.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096286058936670208,"description":"Unknown IO ID 45"} 
[2026-07-07 09:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549700864001,"power":27865,"unknown_54":206,"unknown_87":10496,"ignition":34,"odometer":null,"unknown_45":-9096286058936670208}} 
[2026-07-07 09:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":124319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:39:05] local.INFO: GPS data processed {"connection_id":124319,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:39:05] local.INFO: Acknowledgment sent {"connection_id":124319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:39:33] local.INFO: TCP Data received {"connection_id":124235,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac18d58012d7d360005ec1fe00005011020..."} 
[2026-07-07 09:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac18d58012d7d360005ec1fe00005011020..."} 
[2026-07-07 09:39:33] local.INFO: Processing buffer {"connection_id":124235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac18d58012d7d360005ec1fe00005011020..."} 
[2026-07-07 09:39:33] local.INFO: Packet analysis {"connection_id":124235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac1"} 
[2026-07-07 09:39:33] local.INFO: Extracted packet for processing {"connection_id":124235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac1"} 
[2026-07-07 09:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99360736,"longitude_deg":76.3180544,"latitude_deg":9.9360736,"altitude":5,"angle":272,"satellites":32,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05ec1fe0","is_valid_coordinates":true} 
[2026-07-07 09:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549675520001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294693613240320,"note":"Value kept but may cause issues"} 
[2026-07-07 09:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928919715840,"note":"Value kept but may cause issues"} 
[2026-07-07 09:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783397191000,"timestamp_ms":1783397191000,"timestamp_seconds":1783397191,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac18d58"} 
[2026-07-07 09:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:39: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-07-07 09:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 09:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549675520001,"66":12798,"109":206,"87":13824,"24":0,"16":103294693613240320,"45":9022398928919715840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-07 09:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549675520001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:39:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 09:39:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294693613240320,"km_value":103294693613240.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928919715840,"description":"Unknown IO ID 45"} 
[2026-07-07 09:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549675520001,"power":12798,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928919715840}} 
[2026-07-07 09:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":124235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:39:33] local.INFO: GPS data processed {"connection_id":124235,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:39:33] local.INFO: Acknowledgment sent {"connection_id":124235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:39:37] local.INFO: TCP Data received {"connection_id":124319,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac317e0012d817b800609c0e0001001082a..."} 
[2026-07-07 09:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac317e0012d817b800609c0e0001001082a..."} 
[2026-07-07 09:39:37] local.INFO: Processing buffer {"connection_id":124319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac317e0012d817b800609c0e0001001082a..."} 
[2026-07-07 09:39:37] local.INFO: Packet analysis {"connection_id":124319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac3"} 
[2026-07-07 09:39:37] local.INFO: Extracted packet for processing {"connection_id":124319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac3"} 
[2026-07-07 09:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763460480,"raw_latitude":101302496,"longitude_deg":76.346048,"latitude_deg":10.1302496,"altitude":16,"angle":264,"satellites":42,"speed":27,"hex_longitude":"2d817b80","hex_latitude":"0609c0e0","is_valid_coordinates":true} 
[2026-07-07 09:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549703680001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340826665917612032,"note":"Value kept but may cause issues"} 
[2026-07-07 09:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106489526842253312,"note":"Value kept but may cause issues"} 
[2026-07-07 09:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783397292000,"timestamp_ms":1783397292000,"timestamp_seconds":1783397292,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac317e0"} 
[2026-07-07 09:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:39: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-07-07 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 09:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549703680001,"66":27908,"54":206,"87":10496,"24":27,"16":340826665917612032,"45":-9106489526842253312},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,87,24,16,45]} 
[2026-07-07 09:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549703680001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:39:37] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-07 09:39:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340826665917612032,"km_value":340826665917612.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106489526842253312,"description":"Unknown IO ID 45"} 
[2026-07-07 09:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549703680001,"power":27908,"unknown_54":206,"unknown_87":10496,"ignition":27,"odometer":null,"unknown_45":-9106489526842253312}} 
[2026-07-07 09:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":124319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:39:37] local.INFO: GPS data processed {"connection_id":124319,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:39:37] local.INFO: Acknowledgment sent {"connection_id":124319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:39:55] local.INFO: TCP Data received {"connection_id":126247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:39:55] local.INFO: Processing buffer {"connection_id":126247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:39:55] local.INFO: IMEI packet received {"connection_id":126247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":126247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:39:59] local.INFO: TCP Data received {"connection_id":124236,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:39:59] local.INFO: Processing buffer {"connection_id":124236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:39:59] local.INFO: IMEI packet received {"connection_id":124236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":124236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:40:01] local.INFO: TCP Data received {"connection_id":126247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:40:01] local.INFO: Processing buffer {"connection_id":126247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:40:01] local.INFO: IMEI packet received {"connection_id":126247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":126247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:40:01] local.INFO: TCP Data received {"connection_id":126247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac1df60012d7d360005ec1fe00005011021..."} 
[2026-07-07 09:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac1df60012d7d360005ec1fe00005011021..."} 
[2026-07-07 09:40:01] local.INFO: Processing buffer {"connection_id":126247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac1df60012d7d360005ec1fe00005011021..."} 
[2026-07-07 09:40:01] local.INFO: Packet analysis {"connection_id":126247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac1"} 
[2026-07-07 09:40:01] local.INFO: Extracted packet for processing {"connection_id":126247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac1"} 
[2026-07-07 09:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99360736,"longitude_deg":76.3180544,"latitude_deg":9.9360736,"altitude":5,"angle":272,"satellites":33,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05ec1fe0","is_valid_coordinates":true} 
[2026-07-07 09:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549680896001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294693613240320,"note":"Value kept but may cause issues"} 
[2026-07-07 09:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928919715840,"note":"Value kept but may cause issues"} 
[2026-07-07 09:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783397212000,"timestamp_ms":1783397212000,"timestamp_seconds":1783397212,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac1df60"} 
[2026-07-07 09:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 09:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549680896001,"66":12939,"109":206,"87":13824,"24":0,"16":103294693613240320,"45":9022398928919715840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-07 09:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549680896001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:40:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 09:40:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294693613240320,"km_value":103294693613240.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928919715840,"description":"Unknown IO ID 45"} 
[2026-07-07 09:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549680896001,"power":12939,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928919715840}} 
[2026-07-07 09:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":126247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:40:01] local.INFO: GPS data processed {"connection_id":126247,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:40:01] local.INFO: Acknowledgment sent {"connection_id":126247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:40:05] local.INFO: TCP Data received {"connection_id":124236,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:40:05] local.INFO: Processing buffer {"connection_id":124236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:40:05] local.INFO: IMEI packet received {"connection_id":124236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":124236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:40:06] local.INFO: TCP Data received {"connection_id":124236,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac33720012d8164800609bc68000f00fd2c..."} 
[2026-07-07 09:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac33720012d8164800609bc68000f00fd2c..."} 
[2026-07-07 09:40:06] local.INFO: Processing buffer {"connection_id":124236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac33720012d8164800609bc68000f00fd2c..."} 
[2026-07-07 09:40:06] local.INFO: Packet analysis {"connection_id":124236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac3"} 
[2026-07-07 09:40:06] local.INFO: Extracted packet for processing {"connection_id":124236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac3"} 
[2026-07-07 09:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763454592,"raw_latitude":101301352,"longitude_deg":76.3454592,"latitude_deg":10.1301352,"altitude":15,"angle":253,"satellites":44,"speed":32,"hex_longitude":"2d816480","hex_latitude":"0609bc68","is_valid_coordinates":true} 
[2026-07-07 09:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549706752001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340826949385453568,"note":"Value kept but may cause issues"} 
[2026-07-07 09:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9116552257259642880,"note":"Value kept but may cause issues"} 
[2026-07-07 09:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783397300000,"timestamp_ms":1783397300000,"timestamp_seconds":1783397300,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac33720"} 
[2026-07-07 09:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:40: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-07-07 09:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 09:40: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-07-07 09:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549706752001,"66":27887,"54":206,"87":10496,"24":32,"16":340826949385453568,"45":-9116552257259642880},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,87,24,16,45]} 
[2026-07-07 09:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549706752001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:40:06] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-07 09:40:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340826949385453568,"km_value":340826949385453.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9116552257259642880,"description":"Unknown IO ID 45"} 
[2026-07-07 09:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549706752001,"power":27887,"unknown_54":206,"unknown_87":10496,"ignition":32,"odometer":null,"unknown_45":-9116552257259642880}} 
[2026-07-07 09:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":124236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:40:07] local.INFO: GPS data processed {"connection_id":124236,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:40:07] local.INFO: Acknowledgment sent {"connection_id":124236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:40:21] local.INFO: TCP Data received {"connection_id":125021,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125021,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:40:21] local.INFO: Processing buffer {"connection_id":125021,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:40:21] local.INFO: IMEI packet received {"connection_id":125021,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":125021,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:40:22] local.INFO: TCP Data received {"connection_id":125021,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125021,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:40:22] local.INFO: Processing buffer {"connection_id":125021,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:40:22] local.INFO: IMEI packet received {"connection_id":125021,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":125021,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:40:25] local.INFO: TCP Data received {"connection_id":124320,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:40:25] local.INFO: Processing buffer {"connection_id":124320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:40:25] local.INFO: IMEI packet received {"connection_id":124320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":124320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:40:25] local.INFO: TCP Data received {"connection_id":124237,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124237,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:40:25] local.INFO: Processing buffer {"connection_id":124237,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:40:25] local.INFO: IMEI packet received {"connection_id":124237,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":124237,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:40:29] local.INFO: TCP Data received {"connection_id":124237,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124237,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:40:29] local.INFO: Processing buffer {"connection_id":124237,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:40:29] local.INFO: IMEI packet received {"connection_id":124237,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":124237,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:40:30] local.INFO: TCP Data received {"connection_id":124237,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac50be0012d0c93000704cf90001e007a22..."} 
[2026-07-07 09:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac50be0012d0c93000704cf90001e007a22..."} 
[2026-07-07 09:40:30] local.INFO: Processing buffer {"connection_id":124237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac50be0012d0c93000704cf90001e007a22..."} 
[2026-07-07 09:40:30] local.INFO: Packet analysis {"connection_id":124237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac5"} 
[2026-07-07 09:40:30] local.INFO: Extracted packet for processing {"connection_id":124237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac5"} 
[2026-07-07 09:40:30] local.INFO: GPS Element Parsed {"raw_longitude":755798784,"raw_latitude":117755792,"longitude_deg":75.5798784,"latitude_deg":11.7755792,"altitude":30,"angle":122,"satellites":34,"speed":21,"hex_longitude":"2d0c9300","hex_latitude":"0704cf90","is_valid_coordinates":true} 
[2026-07-07 09:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549739264001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23351049993584640,"note":"Value kept but may cause issues"} 
[2026-07-07 09:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905575398967918592,"note":"Value kept but may cause issues"} 
[2026-07-07 09:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783397420000,"timestamp_ms":1783397420000,"timestamp_seconds":1783397420,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac50be0"} 
[2026-07-07 09:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 09:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549739264001,"66":14428,"95":206,"94":10240,"24":21,"16":23351049993584640,"45":905575398967918592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-07 09:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549739264001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:40:30] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 09:40:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23351049993584640,"km_value":23351049993584.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":905575398967918592,"description":"Unknown IO ID 45"} 
[2026-07-07 09:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549739264001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":905575398967918592}} 
[2026-07-07 09:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":124237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444681,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:40:30] local.INFO: GPS data processed {"connection_id":124237,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:40:30] local.INFO: Acknowledgment sent {"connection_id":124237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:40:33] local.INFO: TCP Data received {"connection_id":126247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac23168012d7d360005ec1fe0000501101d..."} 
[2026-07-07 09:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac23168012d7d360005ec1fe0000501101d..."} 
[2026-07-07 09:40:33] local.INFO: Processing buffer {"connection_id":126247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac23168012d7d360005ec1fe0000501101d..."} 
[2026-07-07 09:40:33] local.INFO: Packet analysis {"connection_id":126247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac2"} 
[2026-07-07 09:40:33] local.INFO: Extracted packet for processing {"connection_id":126247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac2"} 
[2026-07-07 09:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99360736,"longitude_deg":76.3180544,"latitude_deg":9.9360736,"altitude":5,"angle":272,"satellites":29,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05ec1fe0","is_valid_coordinates":true} 
[2026-07-07 09:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549686272001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294693613240320,"note":"Value kept but may cause issues"} 
[2026-07-07 09:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928919715840,"note":"Value kept but may cause issues"} 
[2026-07-07 09:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783397233000,"timestamp_ms":1783397233000,"timestamp_seconds":1783397233,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac23168"} 
[2026-07-07 09:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:40: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-07-07 09:40: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":139,"data_length":795,"current_offset":136} 
[2026-07-07 09:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549686272001,"66":12939,"109":206,"87":13824,"24":0,"16":103294693613240320,"45":9022398928919715840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-07 09:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549686272001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:40:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 09:40:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294693613240320,"km_value":103294693613240.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928919715840,"description":"Unknown IO ID 45"} 
[2026-07-07 09:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549686272001,"power":12939,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928919715840}} 
[2026-07-07 09:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":126247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:40:33] local.INFO: GPS data processed {"connection_id":126247,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:40:33] local.INFO: Acknowledgment sent {"connection_id":126247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:40:38] local.INFO: TCP Data received {"connection_id":124236,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac35278012d814f400609b378000d00f028..."} 
[2026-07-07 09:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac35278012d814f400609b378000d00f028..."} 
[2026-07-07 09:40:38] local.INFO: Processing buffer {"connection_id":124236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac35278012d814f400609b378000d00f028..."} 
[2026-07-07 09:40:38] local.INFO: Packet analysis {"connection_id":124236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac3"} 
[2026-07-07 09:40:38] local.INFO: Extracted packet for processing {"connection_id":124236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac3"} 
[2026-07-07 09:40:38] local.INFO: GPS Element Parsed {"raw_longitude":763449152,"raw_latitude":101299064,"longitude_deg":76.3449152,"latitude_deg":10.1299064,"altitude":13,"angle":240,"satellites":40,"speed":34,"hex_longitude":"2d814f40","hex_latitude":"0609b378","is_valid_coordinates":true} 
[2026-07-07 09:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549708800001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340827232853295104,"note":"Value kept but may cause issues"} 
[2026-07-07 09:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123026181724280832,"note":"Value kept but may cause issues"} 
[2026-07-07 09:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783397307000,"timestamp_ms":1783397307000,"timestamp_seconds":1783397307,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac35278"} 
[2026-07-07 09:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:40: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-07-07 09: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 09:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549708800001,"66":27821,"54":206,"87":10496,"24":34,"16":340827232853295104,"45":-9123026181724280832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,87,24,16,45]} 
[2026-07-07 09:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549708800001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:40:38] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-07 09:40:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340827232853295104,"km_value":340827232853295.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123026181724280832,"description":"Unknown IO ID 45"} 
[2026-07-07 09:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549708800001,"power":27821,"unknown_54":206,"unknown_87":10496,"ignition":34,"odometer":null,"unknown_45":-9123026181724280832}} 
[2026-07-07 09:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":124236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:40:38] local.INFO: GPS data processed {"connection_id":124236,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:40:38] local.INFO: Acknowledgment sent {"connection_id":124236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:40:55] local.INFO: TCP Data received {"connection_id":125022,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:40:55] local.INFO: Processing buffer {"connection_id":125022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:40:55] local.INFO: IMEI packet received {"connection_id":125022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":125022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:41:00] local.INFO: TCP Data received {"connection_id":126248,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:41:00] local.INFO: Processing buffer {"connection_id":126248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:41:00] local.INFO: IMEI packet received {"connection_id":126248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":126248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:41:00] local.INFO: TCP Data received {"connection_id":125022,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:41:00] local.INFO: Processing buffer {"connection_id":125022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:41:00] local.INFO: IMEI packet received {"connection_id":125022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":125022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:41:01] local.INFO: TCP Data received {"connection_id":126248,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:41:01] local.INFO: Processing buffer {"connection_id":126248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:41:01] local.INFO: IMEI packet received {"connection_id":126248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":126248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:41:01] local.INFO: TCP Data received {"connection_id":125022,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac244f0012d7d390005ec21f0000500951e..."} 
[2026-07-07 09:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac244f0012d7d390005ec21f0000500951e..."} 
[2026-07-07 09:41:01] local.INFO: Processing buffer {"connection_id":125022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac244f0012d7d390005ec21f0000500951e..."} 
[2026-07-07 09:41:01] local.INFO: Packet analysis {"connection_id":125022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac2"} 
[2026-07-07 09:41:01] local.INFO: Extracted packet for processing {"connection_id":125022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac2"} 
[2026-07-07 09:41:01] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":99361264,"longitude_deg":76.3181312,"latitude_deg":9.9361264,"altitude":5,"angle":149,"satellites":30,"speed":0,"hex_longitude":"2d7d3900","hex_latitude":"05ec21f0","is_valid_coordinates":true} 
[2026-07-07 09:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549691648001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294740857880576,"note":"Value kept but may cause issues"} 
[2026-07-07 09:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928919715840,"note":"Value kept but may cause issues"} 
[2026-07-07 09:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783397238000,"timestamp_ms":1783397238000,"timestamp_seconds":1783397238,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac244f0"} 
[2026-07-07 09:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 09:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549691648001,"66":13037,"109":206,"87":13824,"24":0,"16":103294740857880576,"45":9022398928919715840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-07 09:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549691648001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:41:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 09:41:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294740857880576,"km_value":103294740857880.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928919715840,"description":"Unknown IO ID 45"} 
[2026-07-07 09:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549691648001,"power":13037,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928919715840}} 
[2026-07-07 09:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":125022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:41:01] local.INFO: GPS data processed {"connection_id":125022,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:41:01] local.INFO: Acknowledgment sent {"connection_id":125022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:41:04] local.INFO: TCP Data received {"connection_id":126249,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:41:04] local.INFO: Processing buffer {"connection_id":126249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:41:04] local.INFO: IMEI packet received {"connection_id":126249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":126249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:41:06] local.INFO: TCP Data received {"connection_id":126248,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:41:06] local.INFO: Processing buffer {"connection_id":126248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:41:06] local.INFO: IMEI packet received {"connection_id":126248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":126248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:41:10] local.INFO: TCP Data received {"connection_id":126248,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:41:10] local.INFO: Processing buffer {"connection_id":126248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:41:10] local.INFO: IMEI packet received {"connection_id":126248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":126248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:41:12] local.INFO: TCP Data received {"connection_id":126248,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac4ae20012d8091400608cb48000900a42d..."} 
[2026-07-07 09:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac4ae20012d8091400608cb48000900a42d..."} 
[2026-07-07 09:41:12] local.INFO: Processing buffer {"connection_id":126248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac4ae20012d8091400608cb48000900a42d..."} 
[2026-07-07 09:41:12] local.INFO: Packet analysis {"connection_id":126248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac4"} 
[2026-07-07 09:41:12] local.INFO: Extracted packet for processing {"connection_id":126248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac4"} 
[2026-07-07 09:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763400512,"raw_latitude":101239624,"longitude_deg":76.3400512,"latitude_deg":10.1239624,"altitude":9,"angle":164,"satellites":45,"speed":37,"hex_longitude":"2d809140","hex_latitude":"0608cb48","is_valid_coordinates":true} 
[2026-07-07 09:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549732352001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340831059669155840,"note":"Value kept but may cause issues"} 
[2026-07-07 09:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9183191458011017216,"note":"Value kept but may cause issues"} 
[2026-07-07 09:41:12] 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-07-07 09:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783397396000,"timestamp_ms":1783397396000,"timestamp_seconds":1783397396,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac4ae20"} 
[2026-07-07 09:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 09:41: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-07-07 09:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549732352001,"66":27908,"174":206,"87":10496,"24":37,"16":340831059669155840,"45":-9183191458011017216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-07-07 09:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549732352001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:41:12] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-07 09:41:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340831059669155840,"km_value":340831059669155.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9183191458011017216,"description":"Unknown IO ID 45"} 
[2026-07-07 09:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549732352001,"power":27908,"unknown_174":206,"unknown_87":10496,"ignition":37,"odometer":null,"unknown_45":-9183191458011017216}} 
[2026-07-07 09:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":126248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:41:12] local.INFO: GPS data processed {"connection_id":126248,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:41:12] local.INFO: Acknowledgment sent {"connection_id":126248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:41:23] local.INFO: TCP Data received {"connection_id":126248,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac4bdc0012d8096800608bd88000a00952d..."} 
[2026-07-07 09:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac4bdc0012d8096800608bd88000a00952d..."} 
[2026-07-07 09:41:23] local.INFO: Processing buffer {"connection_id":126248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac4bdc0012d8096800608bd88000a00952d..."} 
[2026-07-07 09:41:23] local.INFO: Packet analysis {"connection_id":126248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac4"} 
[2026-07-07 09:41:23] local.INFO: Extracted packet for processing {"connection_id":126248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac4"} 
[2026-07-07 09:41:23] local.INFO: GPS Element Parsed {"raw_longitude":763401856,"raw_latitude":101236104,"longitude_deg":76.3401856,"latitude_deg":10.1236104,"altitude":10,"angle":149,"satellites":45,"speed":35,"hex_longitude":"2d809680","hex_latitude":"0608bd88","is_valid_coordinates":true} 
[2026-07-07 09:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549733376001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340831240057782272,"note":"Value kept but may cause issues"} 
[2026-07-07 09:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9182487770570209280,"note":"Value kept but may cause issues"} 
[2026-07-07 09:41:23] 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-07-07 09:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783397400000,"timestamp_ms":1783397400000,"timestamp_seconds":1783397400,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac4bdc0"} 
[2026-07-07 09:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 09:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549733376001,"66":27745,"174":206,"87":10496,"24":35,"16":340831240057782272,"45":-9182487770570209280},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-07-07 09:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549733376001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:41:23] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-07 09:41:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340831240057782272,"km_value":340831240057782.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9182487770570209280,"description":"Unknown IO ID 45"} 
[2026-07-07 09:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549733376001,"power":27745,"unknown_174":206,"unknown_87":10496,"ignition":35,"odometer":null,"unknown_45":-9182487770570209280}} 
[2026-07-07 09:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":126248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:41:23] local.INFO: GPS data processed {"connection_id":126248,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:41:23] local.INFO: Acknowledgment sent {"connection_id":126248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:41:30] local.INFO: TCP Data received {"connection_id":124238,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124238,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:41:30] local.INFO: Processing buffer {"connection_id":124238,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:41:30] local.INFO: IMEI packet received {"connection_id":124238,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":124238,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:41:32] local.INFO: TCP Data received {"connection_id":124238,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124238,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:41:32] local.INFO: Processing buffer {"connection_id":124238,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:41:32] local.INFO: IMEI packet received {"connection_id":124238,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":124238,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:41:33] local.INFO: TCP Data received {"connection_id":125022,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac27f88012d7d390005ec21e00005009520..."} 
[2026-07-07 09:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac27f88012d7d390005ec21e00005009520..."} 
[2026-07-07 09:41:33] local.INFO: Processing buffer {"connection_id":125022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac27f88012d7d390005ec21e00005009520..."} 
[2026-07-07 09:41:33] local.INFO: Packet analysis {"connection_id":125022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac2"} 
[2026-07-07 09:41:33] local.INFO: Extracted packet for processing {"connection_id":125022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac2"} 
[2026-07-07 09:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":99361248,"longitude_deg":76.3181312,"latitude_deg":9.9361248,"altitude":5,"angle":149,"satellites":32,"speed":0,"hex_longitude":"2d7d3900","hex_latitude":"05ec21e0","is_valid_coordinates":true} 
[2026-07-07 09:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549692928001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294740857880576,"note":"Value kept but may cause issues"} 
[2026-07-07 09:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353849982976,"note":"Value kept but may cause issues"} 
[2026-07-07 09:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783397253000,"timestamp_ms":1783397253000,"timestamp_seconds":1783397253,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac27f88"} 
[2026-07-07 09:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:41: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-07-07 09:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 09:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549692928001,"66":12841,"109":206,"87":13824,"24":0,"16":103294740857880576,"45":9023243353849982976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-07 09:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549692928001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:41:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 09:41:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294740857880576,"km_value":103294740857880.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353849982976,"description":"Unknown IO ID 45"} 
[2026-07-07 09:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549692928001,"power":12841,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023243353849982976}} 
[2026-07-07 09:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":125022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:41:33] local.INFO: GPS data processed {"connection_id":125022,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:41:33] local.INFO: Acknowledgment sent {"connection_id":125022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:41:33] local.INFO: TCP Data received {"connection_id":124238,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac59c68012d0ce8400704c1000021005a22..."} 
[2026-07-07 09:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac59c68012d0ce8400704c1000021005a22..."} 
[2026-07-07 09:41:33] local.INFO: Processing buffer {"connection_id":124238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac59c68012d0ce8400704c1000021005a22..."} 
[2026-07-07 09:41:33] local.INFO: Packet analysis {"connection_id":124238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac5"} 
[2026-07-07 09:41:33] local.INFO: Extracted packet for processing {"connection_id":124238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac5"} 
[2026-07-07 09:41:33] local.INFO: GPS Element Parsed {"raw_longitude":755820608,"raw_latitude":117752064,"longitude_deg":75.5820608,"latitude_deg":11.7752064,"altitude":33,"angle":90,"satellites":34,"speed":9,"hex_longitude":"2d0ce840","hex_latitude":"0704c100","is_valid_coordinates":true} 
[2026-07-07 09:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549748224001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23352158095147008,"note":"Value kept but may cause issues"} 
[2026-07-07 09:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":929289665754707968,"note":"Value kept but may cause issues"} 
[2026-07-07 09:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783397457000,"timestamp_ms":1783397457000,"timestamp_seconds":1783397457,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac59c68"} 
[2026-07-07 09:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 09:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549748224001,"66":14515,"95":206,"94":10240,"24":9,"16":23352158095147008,"45":929289665754707968},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-07 09:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549748224001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:41:33] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 09:41:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23352158095147008,"km_value":23352158095147.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":929289665754707968,"description":"Unknown IO ID 45"} 
[2026-07-07 09:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549748224001,"power":14515,"unknown_95":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":929289665754707968}} 
[2026-07-07 09:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":124238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444688,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:41:33] local.INFO: GPS data processed {"connection_id":124238,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:41:33] local.INFO: Acknowledgment sent {"connection_id":124238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:41:34] local.INFO: TCP Data received {"connection_id":124238,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac5ac08012d0cedc00704c0580020006621..."} 
[2026-07-07 09:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac5ac08012d0cedc00704c0580020006621..."} 
[2026-07-07 09:41:34] local.INFO: Processing buffer {"connection_id":124238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac5ac08012d0cedc00704c0580020006621..."} 
[2026-07-07 09:41:34] local.INFO: Packet analysis {"connection_id":124238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac5"} 
[2026-07-07 09:41:34] local.INFO: Extracted packet for processing {"connection_id":124238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac5"} 
[2026-07-07 09:41:34] local.INFO: GPS Element Parsed {"raw_longitude":755822016,"raw_latitude":117751896,"longitude_deg":75.5822016,"latitude_deg":11.7751896,"altitude":32,"angle":102,"satellites":33,"speed":19,"hex_longitude":"2d0cedc0","hex_latitude":"0704c058","is_valid_coordinates":true} 
[2026-07-07 09:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549748992001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23352222519656448,"note":"Value kept but may cause issues"} 
[2026-07-07 09:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":930063721940713472,"note":"Value kept but may cause issues"} 
[2026-07-07 09:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783397461000,"timestamp_ms":1783397461000,"timestamp_seconds":1783397461,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac5ac08"} 
[2026-07-07 09:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 09:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549748992001,"66":14407,"95":206,"94":10240,"24":19,"16":23352222519656448,"45":930063721940713472},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-07 09:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549748992001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:41:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 09:41:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23352222519656448,"km_value":23352222519656.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":930063721940713472,"description":"Unknown IO ID 45"} 
[2026-07-07 09:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549748992001,"power":14407,"unknown_95":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":930063721940713472}} 
[2026-07-07 09:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":124238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444689,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:41:34] local.INFO: GPS data processed {"connection_id":124238,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:41:34] local.INFO: Acknowledgment sent {"connection_id":124238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:41:55] local.INFO: TCP Data received {"connection_id":125023,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:41:55] local.INFO: Processing buffer {"connection_id":125023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:41:55] local.INFO: IMEI packet received {"connection_id":125023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":125023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:41:59] local.INFO: TCP Data received {"connection_id":124321,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:41:59] local.INFO: Processing buffer {"connection_id":124321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:41:59] local.INFO: IMEI packet received {"connection_id":124321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":124321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:42:00] local.INFO: TCP Data received {"connection_id":124321,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:42:00] local.INFO: Processing buffer {"connection_id":124321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:42:00] local.INFO: IMEI packet received {"connection_id":124321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":124321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:42:01] local.INFO: TCP Data received {"connection_id":125023,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:42:01] local.INFO: Processing buffer {"connection_id":125023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:42:01] local.INFO: IMEI packet received {"connection_id":125023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":125023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:42:04] local.INFO: TCP Data received {"connection_id":124321,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:42:04] local.INFO: Processing buffer {"connection_id":124321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:42:04] local.INFO: IMEI packet received {"connection_id":124321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":124321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:42:06] local.INFO: TCP Data received {"connection_id":124321,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac50fc8012d80a2400608ab40000b00902e..."} 
[2026-07-07 09:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac50fc8012d80a2400608ab40000b00902e..."} 
[2026-07-07 09:42:06] local.INFO: Processing buffer {"connection_id":124321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac50fc8012d80a2400608ab40000b00902e..."} 
[2026-07-07 09:42:06] local.INFO: Packet analysis {"connection_id":124321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac5"} 
[2026-07-07 09:42:06] local.INFO: Extracted packet for processing {"connection_id":124321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac5"} 
[2026-07-07 09:42:06] local.INFO: GPS Element Parsed {"raw_longitude":763404864,"raw_latitude":101231424,"longitude_deg":76.3404864,"latitude_deg":10.1231424,"altitude":11,"angle":144,"satellites":46,"speed":0,"hex_longitude":"2d80a240","hex_latitude":"0608ab40","is_valid_coordinates":true} 
[2026-07-07 09:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549734400001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340831510640721920,"note":"Value kept but may cause issues"} 
[2026-07-07 09:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9181010026943379456,"note":"Value kept but may cause issues"} 
[2026-07-07 09:42:06] 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-07-07 09:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783397421000,"timestamp_ms":1783397421000,"timestamp_seconds":1783397421,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac50fc8"} 
[2026-07-07 09:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 09:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549734400001,"66":27908,"174":206,"87":10496,"24":0,"16":340831510640721920,"45":-9181010026943379456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-07-07 09:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549734400001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:42:06] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-07 09:42:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340831510640721920,"km_value":340831510640721.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9181010026943379456,"description":"Unknown IO ID 45"} 
[2026-07-07 09:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549734400001,"power":27908,"unknown_174":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9181010026943379456}} 
[2026-07-07 09:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":124321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:42:06] local.INFO: GPS data processed {"connection_id":124321,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:42:06] local.INFO: Acknowledgment sent {"connection_id":124321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:42:10] local.INFO: TCP Data received {"connection_id":124321,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac561d0012d80a6000608a538000b00932c..."} 
[2026-07-07 09:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac561d0012d80a6000608a538000b00932c..."} 
[2026-07-07 09:42:10] local.INFO: Processing buffer {"connection_id":124321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac561d0012d80a6000608a538000b00932c..."} 
[2026-07-07 09:42:10] local.INFO: Packet analysis {"connection_id":124321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac5"} 
[2026-07-07 09:42:10] local.INFO: Extracted packet for processing {"connection_id":124321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac5"} 
[2026-07-07 09:42:10] local.INFO: GPS Element Parsed {"raw_longitude":763405824,"raw_latitude":101229880,"longitude_deg":76.3405824,"latitude_deg":10.122988,"altitude":11,"angle":147,"satellites":44,"speed":0,"hex_longitude":"2d80a600","hex_latitude":"0608a538","is_valid_coordinates":true} 
[2026-07-07 09:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549739776001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340831600835035136,"note":"Value kept but may cause issues"} 
[2026-07-07 09:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177702695968227328,"note":"Value kept but may cause issues"} 
[2026-07-07 09: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-07-07 09:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783397442000,"timestamp_ms":1783397442000,"timestamp_seconds":1783397442,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac561d0"} 
[2026-07-07 09:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:42: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-07-07 09:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 09: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-07-07 09:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549739776001,"66":27800,"174":206,"87":10496,"24":0,"16":340831600835035136,"45":-9177702695968227328},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-07-07 09:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549739776001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:42:10] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-07 09:42:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340831600835035136,"km_value":340831600835035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177702695968227328,"description":"Unknown IO ID 45"} 
[2026-07-07 09:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549739776001,"power":27800,"unknown_174":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9177702695968227328}} 
[2026-07-07 09:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":124321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:42:10] local.INFO: GPS data processed {"connection_id":124321,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:42:10] local.INFO: Acknowledgment sent {"connection_id":124321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:42:15] local.INFO: TCP Data received {"connection_id":124239,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124239,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:42:15] local.INFO: Processing buffer {"connection_id":124239,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:42:15] local.INFO: IMEI packet received {"connection_id":124239,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":124239,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:42:17] local.INFO: TCP Data received {"connection_id":124239,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124239,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:42:17] local.INFO: Processing buffer {"connection_id":124239,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:42:17] local.INFO: IMEI packet received {"connection_id":124239,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":124239,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:42:18] local.INFO: TCP Data received {"connection_id":124239,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac5d700012d0d09000704bc480021005921..."} 
[2026-07-07 09:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac5d700012d0d09000704bc480021005921..."} 
[2026-07-07 09:42:18] local.INFO: Processing buffer {"connection_id":124239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac5d700012d0d09000704bc480021005921..."} 
[2026-07-07 09:42:18] local.INFO: Packet analysis {"connection_id":124239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac5"} 
[2026-07-07 09:42:18] local.INFO: Extracted packet for processing {"connection_id":124239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac5"} 
[2026-07-07 09:42:18] local.INFO: GPS Element Parsed {"raw_longitude":755828992,"raw_latitude":117750856,"longitude_deg":75.5828992,"latitude_deg":11.7750856,"altitude":33,"angle":89,"satellites":33,"speed":26,"hex_longitude":"2d0d0900","hex_latitude":"0704bc48","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549750016001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23352561822072832,"note":"Value kept but may cause issues"} 
[2026-07-07 09:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":931611834312579072,"note":"Value kept but may cause issues"} 
[2026-07-07 09:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783397472000,"timestamp_ms":1783397472000,"timestamp_seconds":1783397472,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac5d700"} 
[2026-07-07 09:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 09:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549750016001,"66":14439,"95":206,"94":10240,"24":26,"16":23352561822072832,"45":931611834312579072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-07 09:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549750016001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:42:18] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 09:42:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23352561822072832,"km_value":23352561822072.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":931611834312579072,"description":"Unknown IO ID 45"} 
[2026-07-07 09:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549750016001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":931611834312579072}} 
[2026-07-07 09:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":124239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444692,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:42:18] local.INFO: GPS data processed {"connection_id":124239,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:42:18] local.INFO: Acknowledgment sent {"connection_id":124239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:42:23] local.INFO: TCP Data received {"connection_id":125023,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac27f88012d7d390005ec21e00005009520..."} 
[2026-07-07 09:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac27f88012d7d390005ec21e00005009520..."} 
[2026-07-07 09:42:23] local.INFO: Processing buffer {"connection_id":125023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac27f88012d7d390005ec21e00005009520..."} 
[2026-07-07 09:42:23] local.INFO: Packet analysis {"connection_id":125023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac2"} 
[2026-07-07 09:42:23] local.INFO: Extracted packet for processing {"connection_id":125023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac2"} 
[2026-07-07 09:42:23] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":99361248,"longitude_deg":76.3181312,"latitude_deg":9.9361248,"altitude":5,"angle":149,"satellites":32,"speed":0,"hex_longitude":"2d7d3900","hex_latitude":"05ec21e0","is_valid_coordinates":true} 
[2026-07-07 09:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549696768001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294740857880576,"note":"Value kept but may cause issues"} 
[2026-07-07 09:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353849978880,"note":"Value kept but may cause issues"} 
[2026-07-07 09:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783397253000,"timestamp_ms":1783397253000,"timestamp_seconds":1783397253,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac27f88"} 
[2026-07-07 09:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 09:42: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-07-07 09:42: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-07-07 09:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549696768001,"66":12841,"109":206,"87":13824,"24":0,"16":103294740857880576,"45":9023243353849978880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-07 09:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549696768001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:42:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 09:42:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294740857880576,"km_value":103294740857880.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353849978880,"description":"Unknown IO ID 45"} 
[2026-07-07 09:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549696768001,"power":12841,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023243353849978880}} 
[2026-07-07 09:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":125023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:42:23] local.INFO: GPS data processed {"connection_id":125023,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:42:23] local.INFO: Acknowledgment sent {"connection_id":125023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:42:41] local.INFO: TCP Data received {"connection_id":124321,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac5b3d8012d80a6000608a538000b00932d..."} 
[2026-07-07 09:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac5b3d8012d80a6000608a538000b00932d..."} 
[2026-07-07 09:42:41] local.INFO: Processing buffer {"connection_id":124321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac5b3d8012d80a6000608a538000b00932d..."} 
[2026-07-07 09:42:41] local.INFO: Packet analysis {"connection_id":124321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac5"} 
[2026-07-07 09:42:41] local.INFO: Extracted packet for processing {"connection_id":124321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac5"} 
[2026-07-07 09:42:41] local.INFO: GPS Element Parsed {"raw_longitude":763405824,"raw_latitude":101229880,"longitude_deg":76.3405824,"latitude_deg":10.122988,"altitude":11,"angle":147,"satellites":45,"speed":0,"hex_longitude":"2d80a600","hex_latitude":"0608a538","is_valid_coordinates":true} 
[2026-07-07 09:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549745152001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340831600835035136,"note":"Value kept but may cause issues"} 
[2026-07-07 09:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176647164805957632,"note":"Value kept but may cause issues"} 
[2026-07-07 09:42:41] 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-07-07 09:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783397463000,"timestamp_ms":1783397463000,"timestamp_seconds":1783397463,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac5b3d8"} 
[2026-07-07 09:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:42: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-07-07 09:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 09:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549745152001,"66":27821,"174":206,"87":10496,"24":0,"16":340831600835035136,"45":-9176647164805957632},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-07-07 09:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549745152001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:42:41] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-07 09:42:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340831600835035136,"km_value":340831600835035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176647164805957632,"description":"Unknown IO ID 45"} 
[2026-07-07 09:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549745152001,"power":27821,"unknown_174":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9176647164805957632}} 
[2026-07-07 09:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":124321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:42:41] local.INFO: GPS data processed {"connection_id":124321,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:42:41] local.INFO: Acknowledgment sent {"connection_id":124321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:42:49] local.INFO: TCP Data received {"connection_id":124239,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac601f8012d0d2c800704bbb0001e005421..."} 
[2026-07-07 09:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac601f8012d0d2c800704bbb0001e005421..."} 
[2026-07-07 09:42:49] local.INFO: Processing buffer {"connection_id":124239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac601f8012d0d2c800704bbb0001e005421..."} 
[2026-07-07 09:42:49] local.INFO: Packet analysis {"connection_id":124239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac6"} 
[2026-07-07 09:42:49] local.INFO: Extracted packet for processing {"connection_id":124239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac6"} 
[2026-07-07 09:42:49] local.INFO: GPS Element Parsed {"raw_longitude":755838080,"raw_latitude":117750704,"longitude_deg":75.583808,"latitude_deg":11.7750704,"altitude":30,"angle":84,"satellites":33,"speed":31,"hex_longitude":"2d0d2c80","hex_latitude":"0704bbb0","is_valid_coordinates":true} 
[2026-07-07 09:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549752832001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23352995613769728,"note":"Value kept but may cause issues"} 
[2026-07-07 09:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":939282027427678208,"note":"Value kept but may cause issues"} 
[2026-07-07 09:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783397483000,"timestamp_ms":1783397483000,"timestamp_seconds":1783397483,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac601f8"} 
[2026-07-07 09:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 09:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":124239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":124239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":124239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549752832001,"66":14396,"95":206,"94":10240,"24":31,"16":23352995613769728,"45":939282027427678208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-07 09:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549752832001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:42:49] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 09:42:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23352995613769728,"km_value":23352995613769.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":939282027427678208,"description":"Unknown IO ID 45"} 
[2026-07-07 09:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549752832001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":939282027427678208}} 
[2026-07-07 09:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":124239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444695,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:42:50] local.INFO: GPS data processed {"connection_id":124239,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:42:50] local.INFO: Acknowledgment sent {"connection_id":124239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:42:53] local.INFO: TCP Data received {"connection_id":124240,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:42:53] local.INFO: Processing buffer {"connection_id":124240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:42:53] local.INFO: IMEI packet received {"connection_id":124240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":124240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:42:55] local.INFO: TCP Data received {"connection_id":124240,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:42:55] local.INFO: Processing buffer {"connection_id":124240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:42:55] local.INFO: IMEI packet received {"connection_id":124240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":124240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:42:59] local.INFO: TCP Data received {"connection_id":126250,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:42:59] local.INFO: Processing buffer {"connection_id":126250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:42:59] local.INFO: IMEI packet received {"connection_id":126250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":126250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:43:01] local.INFO: TCP Data received {"connection_id":124240,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:43:01] local.INFO: Processing buffer {"connection_id":124240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:43:01] local.INFO: IMEI packet received {"connection_id":124240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":124240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:43:03] local.INFO: TCP Data received {"connection_id":124240,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac6b1c0012d7d398005ec21c00006009523..."} 
[2026-07-07 09:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac6b1c0012d7d398005ec21c00006009523..."} 
[2026-07-07 09:43:03] local.INFO: Processing buffer {"connection_id":124240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac6b1c0012d7d398005ec21c00006009523..."} 
[2026-07-07 09:43:03] local.INFO: Packet analysis {"connection_id":124240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac6"} 
[2026-07-07 09:43:03] local.INFO: Extracted packet for processing {"connection_id":124240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac6"} 
[2026-07-07 09:43:03] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99361216,"longitude_deg":76.318144,"latitude_deg":9.9361216,"altitude":6,"angle":149,"satellites":35,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec21c0","is_valid_coordinates":true} 
[2026-07-07 09:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549767168001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294740857880576,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091338326016,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783397528000,"timestamp_ms":1783397528000,"timestamp_seconds":1783397528,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac6b1c0"} 
[2026-07-07 09:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 09:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549767168001,"66":12765,"109":206,"87":13824,"24":0,"16":103294740857880576,"45":9023384091338326016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-07 09:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549767168001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:43:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 09:43:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294740857880576,"km_value":103294740857880.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091338326016,"description":"Unknown IO ID 45"} 
[2026-07-07 09:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549767168001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091338326016}} 
[2026-07-07 09:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":124240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:43:03] local.INFO: GPS data processed {"connection_id":124240,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:43:03] local.INFO: Acknowledgment sent {"connection_id":124240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:43:04] local.INFO: TCP Data received {"connection_id":126250,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:43:04] local.INFO: Processing buffer {"connection_id":126250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:43:04] local.INFO: IMEI packet received {"connection_id":126250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":126250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:43:06] local.INFO: TCP Data received {"connection_id":126250,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac5fe10012d80ba80060886d8000d00932e..."} 
[2026-07-07 09:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac5fe10012d80ba80060886d8000d00932e..."} 
[2026-07-07 09:43:06] local.INFO: Processing buffer {"connection_id":126250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac5fe10012d80ba80060886d8000d00932e..."} 
[2026-07-07 09:43:06] local.INFO: Packet analysis {"connection_id":126250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac5"} 
[2026-07-07 09:43:06] local.INFO: Extracted packet for processing {"connection_id":126250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac5"} 
[2026-07-07 09:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763411072,"raw_latitude":101222104,"longitude_deg":76.3411072,"latitude_deg":10.1222104,"altitude":13,"angle":147,"satellites":46,"speed":24,"hex_longitude":"2d80ba80","hex_latitude":"060886d8","is_valid_coordinates":true} 
[2026-07-07 09:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549750528001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340832056101568512,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176647164805957632,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:06] 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-07-07 09:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783397482000,"timestamp_ms":1783397482000,"timestamp_seconds":1783397482,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac5fe10"} 
[2026-07-07 09:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 09:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549750528001,"66":27919,"174":206,"87":10496,"24":24,"16":340832056101568512,"45":-9176647164805957632},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-07-07 09:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549750528001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:43:06] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-07 09:43:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340832056101568512,"km_value":340832056101568.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176647164805957632,"description":"Unknown IO ID 45"} 
[2026-07-07 09:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549750528001,"power":27919,"unknown_174":206,"unknown_87":10496,"ignition":24,"odometer":null,"unknown_45":-9176647164805957632}} 
[2026-07-07 09:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":126250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:43:06] local.INFO: GPS data processed {"connection_id":126250,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:43:06] local.INFO: Acknowledgment sent {"connection_id":126250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:43:15] local.INFO: TCP Data received {"connection_id":125024,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125024,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:43:15] local.INFO: Processing buffer {"connection_id":125024,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:43:15] local.INFO: IMEI packet received {"connection_id":125024,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":125024,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:43:16] local.INFO: TCP Data received {"connection_id":125024,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125024,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:43:16] local.INFO: Processing buffer {"connection_id":125024,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:43:16] local.INFO: IMEI packet received {"connection_id":125024,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":125024,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:43:20] local.INFO: TCP Data received {"connection_id":125024,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125024,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:43:20] local.INFO: Processing buffer {"connection_id":125024,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:43:20] local.INFO: IMEI packet received {"connection_id":125024,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":125024,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:43:25] local.INFO: TCP Data received {"connection_id":125024,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac73e60012d0d37c007047be0001a00b923..."} 
[2026-07-07 09:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac73e60012d0d37c007047be0001a00b923..."} 
[2026-07-07 09:43:25] local.INFO: Processing buffer {"connection_id":125024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac73e60012d0d37c007047be0001a00b923..."} 
[2026-07-07 09:43:25] local.INFO: Packet analysis {"connection_id":125024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:43:25] local.INFO: Extracted packet for processing {"connection_id":125024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:43:25] local.INFO: GPS Element Parsed {"raw_longitude":755840960,"raw_latitude":117734368,"longitude_deg":75.584096,"latitude_deg":11.7734368,"altitude":26,"angle":185,"satellites":35,"speed":11,"hex_longitude":"2d0d37c0","hex_latitude":"07047be0","is_valid_coordinates":true} 
[2026-07-07 09:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549771264001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23353979161280512,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953074301283805184,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783397564000,"timestamp_ms":1783397564000,"timestamp_seconds":1783397564,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac73e60"} 
[2026-07-07 09:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 09:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125024,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125024,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549771264001,"66":14352,"17":206,"94":11008,"24":11,"16":23353979161280512,"45":953074301283805184},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 09:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549771264001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:43:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23353979161280512,"km_value":23353979161280.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":953074301283805184,"description":"Unknown IO ID 45"} 
[2026-07-07 09:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549771264001,"power":14352,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":953074301283805184}} 
[2026-07-07 09:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":125024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444698,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:43:26] local.INFO: GPS data processed {"connection_id":125024,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:43:26] local.INFO: Acknowledgment sent {"connection_id":125024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:43:34] local.INFO: TCP Data received {"connection_id":124240,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac6b990012d7d398005ec25900006015721..."} 
[2026-07-07 09:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac6b990012d7d398005ec25900006015721..."} 
[2026-07-07 09:43:34] local.INFO: Processing buffer {"connection_id":124240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac6b990012d7d398005ec25900006015721..."} 
[2026-07-07 09:43:34] local.INFO: Packet analysis {"connection_id":124240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac6"} 
[2026-07-07 09:43:34] local.INFO: Extracted packet for processing {"connection_id":124240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac6"} 
[2026-07-07 09:43:34] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99362192,"longitude_deg":76.318144,"latitude_deg":9.9362192,"altitude":6,"angle":343,"satellites":33,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec2590","is_valid_coordinates":true} 
[2026-07-07 09:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549767168001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294740857880576,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091338326016,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783397530000,"timestamp_ms":1783397530000,"timestamp_seconds":1783397530,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac6b990"} 
[2026-07-07 09:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 09:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549767168001,"66":12015,"109":206,"87":13824,"24":0,"16":103294740857880576,"45":9023384091338326016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-07 09:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549767168001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:43:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 09:43:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294740857880576,"km_value":103294740857880.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091338326016,"description":"Unknown IO ID 45"} 
[2026-07-07 09:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549767168001,"power":12015,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091338326016}} 
[2026-07-07 09:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":124240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:43:34] local.INFO: GPS data processed {"connection_id":124240,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:43:34] local.INFO: Acknowledgment sent {"connection_id":124240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:43:38] local.INFO: TCP Data received {"connection_id":126250,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac630d8012d80cf80060869a8000c008e2e..."} 
[2026-07-07 09:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac630d8012d80cf80060869a8000c008e2e..."} 
[2026-07-07 09:43:38] local.INFO: Processing buffer {"connection_id":126250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac630d8012d80cf80060869a8000c008e2e..."} 
[2026-07-07 09:43:38] local.INFO: Packet analysis {"connection_id":126250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac6"} 
[2026-07-07 09:43:38] local.INFO: Extracted packet for processing {"connection_id":126250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac6"} 
[2026-07-07 09:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763416448,"raw_latitude":101214632,"longitude_deg":76.3416448,"latitude_deg":10.1214632,"altitude":12,"angle":142,"satellites":46,"speed":33,"hex_longitude":"2d80cf80","hex_latitude":"060869a8","is_valid_coordinates":true} 
[2026-07-07 09:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549755392001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340832498483200000,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9170876927785379840,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43: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-07-07 09:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783397495000,"timestamp_ms":1783397495000,"timestamp_seconds":1783397495,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac630d8"} 
[2026-07-07 09:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:43: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-07-07 09:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 09:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549755392001,"66":27745,"174":206,"87":10496,"24":33,"16":340832498483200000,"45":-9170876927785379840},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-07-07 09:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549755392001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:43:38] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-07 09:43:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340832498483200000,"km_value":340832498483200,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9170876927785379840,"description":"Unknown IO ID 45"} 
[2026-07-07 09:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549755392001,"power":27745,"unknown_174":206,"unknown_87":10496,"ignition":33,"odometer":null,"unknown_45":-9170876927785379840}} 
[2026-07-07 09:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":126250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:43:38] local.INFO: GPS data processed {"connection_id":126250,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:43:38] local.INFO: Acknowledgment sent {"connection_id":126250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:43:56] local.INFO: TCP Data received {"connection_id":124323,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:43:56] local.INFO: Processing buffer {"connection_id":124323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:43:56] local.INFO: IMEI packet received {"connection_id":124323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":124323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:43:56] local.INFO: TCP Data received {"connection_id":125024,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac751e8012d0d370007047518001a00c522..."} 
[2026-07-07 09:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac751e8012d0d370007047518001a00c522..."} 
[2026-07-07 09:43:56] local.INFO: Processing buffer {"connection_id":125024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac751e8012d0d370007047518001a00c522..."} 
[2026-07-07 09:43:56] local.INFO: Packet analysis {"connection_id":125024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:43:56] local.INFO: Extracted packet for processing {"connection_id":125024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:43:56] local.INFO: GPS Element Parsed {"raw_longitude":755840768,"raw_latitude":117732632,"longitude_deg":75.5840768,"latitude_deg":11.7732632,"altitude":26,"angle":197,"satellites":34,"speed":15,"hex_longitude":"2d0d3700","hex_latitude":"07047518","is_valid_coordinates":true} 
[2026-07-07 09:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549776384001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23354065060626432,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952440982584680448,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783397569000,"timestamp_ms":1783397569000,"timestamp_seconds":1783397569,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac751e8"} 
[2026-07-07 09:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-07 09:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142528,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:56] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":4043309056,"corrected_to":0} 
[2026-07-07 09:43:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2870018254,"corrected_to":0} 
[2026-07-07 09:43:56] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503955969277952,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:56] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2147943593,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:56] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639037091654417,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:56] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5476641033972678912,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:56] local.WARNING: Large IO value detected {"io_id":13,"raw_value":4161333772619350043,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:56] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:56] local.WARNING: Large IO value detected {"io_id":82,"raw_value":4157407232,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:56] local.WARNING: Large IO value detected {"io_id":216,"raw_value":84738511823373499,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:56] local.WARNING: Large IO value detected {"io_id":96,"raw_value":7600520709539840,"note":"Value kept but may cause issues"} 
[2026-07-07 09:43:56] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,17,94,24,241,157,16,248,159,240,45,147,29,34,10,66,209,192,156,28,33,247,205,1,60,227,58,4,113,13,115,64,32,239,56,2,82,7,27,14,206,216,96],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":247,"original":4043309056,"validated":0},{"io_id":205,"original":2870018254,"validated":0}]} 
[2026-07-07 09:43:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1873701004961841152,"timestamp_seconds":1873701004961841.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 09:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125024,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125024,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549776384001,"66":14265,"17":206,"94":11008,"24":15,"16":23354065060626432,"45":952440982584680448},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 09:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549776384001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:43:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23354065060626432,"km_value":23354065060626.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":952440982584680448,"description":"Unknown IO ID 45"} 
[2026-07-07 09:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549776384001,"power":14265,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":952440982584680448}} 
[2026-07-07 09:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":125024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444701,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:43:57] local.INFO: GPS data processed {"connection_id":125024,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:43:57] local.INFO: Acknowledgment sent {"connection_id":125024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:43:59] local.INFO: TCP Data received {"connection_id":126251,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:43:59] local.INFO: Processing buffer {"connection_id":126251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:43:59] local.INFO: IMEI packet received {"connection_id":126251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":126251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:44:01] local.INFO: TCP Data received {"connection_id":124323,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:44:01] local.INFO: Processing buffer {"connection_id":124323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:44:01] local.INFO: IMEI packet received {"connection_id":124323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":124323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:44:01] local.INFO: TCP Data received {"connection_id":126251,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:44:01] local.INFO: Processing buffer {"connection_id":126251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:44:01] local.INFO: IMEI packet received {"connection_id":126251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":126251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:44:01] local.INFO: TCP Data received {"connection_id":124323,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac707b0012d7d398005ec2590000601571f..."} 
[2026-07-07 09:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac707b0012d7d398005ec2590000601571f..."} 
[2026-07-07 09:44:01] local.INFO: Processing buffer {"connection_id":124323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac707b0012d7d398005ec2590000601571f..."} 
[2026-07-07 09:44:01] local.INFO: Packet analysis {"connection_id":124323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:44:01] local.INFO: Extracted packet for processing {"connection_id":124323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99362192,"longitude_deg":76.318144,"latitude_deg":9.9362192,"altitude":6,"angle":343,"satellites":31,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec2590","is_valid_coordinates":true} 
[2026-07-07 09:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549767680001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294740857880576,"note":"Value kept but may cause issues"} 
[2026-07-07 09:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091338575872,"note":"Value kept but may cause issues"} 
[2026-07-07 09:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783397550000,"timestamp_ms":1783397550000,"timestamp_seconds":1783397550,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac707b0"} 
[2026-07-07 09:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 09:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549767680001,"66":11406,"109":206,"87":13824,"24":0,"16":103294740857880576,"45":9023384091338575872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-07 09:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549767680001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:44:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 09:44:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294740857880576,"km_value":103294740857880.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091338575872,"description":"Unknown IO ID 45"} 
[2026-07-07 09:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549767680001,"power":11406,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091338575872}} 
[2026-07-07 09:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":124323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:44:01] local.INFO: GPS data processed {"connection_id":124323,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:44:01] local.INFO: Acknowledgment sent {"connection_id":124323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:44:05] local.INFO: TCP Data received {"connection_id":126251,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:44:05] local.INFO: Processing buffer {"connection_id":126251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:44:05] local.INFO: IMEI packet received {"connection_id":126251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":126251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:44:07] local.INFO: TCP Data received {"connection_id":126251,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac65fb8012d80e58006084c60000d008e2b..."} 
[2026-07-07 09:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac65fb8012d80e58006084c60000d008e2b..."} 
[2026-07-07 09:44:07] local.INFO: Processing buffer {"connection_id":126251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac65fb8012d80e58006084c60000d008e2b..."} 
[2026-07-07 09:44:07] local.INFO: Packet analysis {"connection_id":126251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac6"} 
[2026-07-07 09:44:07] local.INFO: Extracted packet for processing {"connection_id":126251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac6"} 
[2026-07-07 09:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763422080,"raw_latitude":101207136,"longitude_deg":76.342208,"latitude_deg":10.1207136,"altitude":13,"angle":142,"satellites":43,"speed":32,"hex_longitude":"2d80e580","hex_latitude":"06084c60","is_valid_coordinates":true} 
[2026-07-07 09:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549758720001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340832953749733376,"note":"Value kept but may cause issues"} 
[2026-07-07 09:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9164965953276368896,"note":"Value kept but may cause issues"} 
[2026-07-07 09:44:07] 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-07-07 09:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783397507000,"timestamp_ms":1783397507000,"timestamp_seconds":1783397507,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac65fb8"} 
[2026-07-07 09:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 09:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549758720001,"66":27887,"174":206,"87":10496,"24":32,"16":340832953749733376,"45":-9164965953276368896},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-07-07 09:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549758720001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:44:07] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-07 09:44:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340832953749733376,"km_value":340832953749733.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9164965953276368896,"description":"Unknown IO ID 45"} 
[2026-07-07 09:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549758720001,"power":27887,"unknown_174":206,"unknown_87":10496,"ignition":32,"odometer":null,"unknown_45":-9164965953276368896}} 
[2026-07-07 09:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":126251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:44:07] local.INFO: GPS data processed {"connection_id":126251,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:44:07] local.INFO: Acknowledgment sent {"connection_id":126251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:44:15] local.INFO: TCP Data received {"connection_id":124241,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124241,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:44:15] local.INFO: Processing buffer {"connection_id":124241,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:44:15] local.INFO: IMEI packet received {"connection_id":124241,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":124241,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:44:18] local.INFO: TCP Data received {"connection_id":124241,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124241,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:44:18] local.INFO: Processing buffer {"connection_id":124241,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:44:18] local.INFO: IMEI packet received {"connection_id":124241,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":124241,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:44:20] local.INFO: TCP Data received {"connection_id":124241,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124241,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:44:20] local.INFO: Processing buffer {"connection_id":124241,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:44:20] local.INFO: IMEI packet received {"connection_id":124241,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":124241,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:44:21] local.INFO: TCP Data received {"connection_id":124241,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac77ce0012d0d324007046438001a00b922..."} 
[2026-07-07 09:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac77ce0012d0d324007046438001a00b922..."} 
[2026-07-07 09:44:21] local.INFO: Processing buffer {"connection_id":124241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac77ce0012d0d324007046438001a00b922..."} 
[2026-07-07 09:44:21] local.INFO: Packet analysis {"connection_id":124241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:44:21] local.INFO: Extracted packet for processing {"connection_id":124241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:44:21] local.INFO: GPS Element Parsed {"raw_longitude":755839552,"raw_latitude":117728312,"longitude_deg":75.5839552,"latitude_deg":11.7728312,"altitude":26,"angle":185,"satellites":34,"speed":13,"hex_longitude":"2d0d3240","hex_latitude":"07046438","is_valid_coordinates":true} 
[2026-07-07 09:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549777664001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23354284103958528,"note":"Value kept but may cause issues"} 
[2026-07-07 09:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952229876351703040,"note":"Value kept but may cause issues"} 
[2026-07-07 09:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783397580000,"timestamp_ms":1783397580000,"timestamp_seconds":1783397580,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac77ce0"} 
[2026-07-07 09:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 09:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549777664001,"66":14537,"17":206,"94":11008,"24":13,"16":23354284103958528,"45":952229876351703040},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 09:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549777664001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:44:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23354284103958528,"km_value":23354284103958.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":952229876351703040,"description":"Unknown IO ID 45"} 
[2026-07-07 09:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549777664001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":952229876351703040}} 
[2026-07-07 09:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":124241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444704,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:44:22] local.INFO: GPS data processed {"connection_id":124241,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:44:22] local.INFO: Acknowledgment sent {"connection_id":124241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:44:22] local.INFO: TCP Data received {"connection_id":124241,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac784b0012d0d318007046248001a00c823..."} 
[2026-07-07 09:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac784b0012d0d318007046248001a00c823..."} 
[2026-07-07 09:44:22] local.INFO: Processing buffer {"connection_id":124241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac784b0012d0d318007046248001a00c823..."} 
[2026-07-07 09:44:22] local.INFO: Packet analysis {"connection_id":124241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:44:22] local.INFO: Extracted packet for processing {"connection_id":124241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:44:22] local.INFO: GPS Element Parsed {"raw_longitude":755839360,"raw_latitude":117727816,"longitude_deg":75.583936,"latitude_deg":11.7727816,"altitude":26,"angle":200,"satellites":35,"speed":8,"hex_longitude":"2d0d3180","hex_latitude":"07046248","is_valid_coordinates":true} 
[2026-07-07 09:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549780480001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23354309873762304,"note":"Value kept but may cause issues"} 
[2026-07-07 09:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950892870211221504,"note":"Value kept but may cause issues"} 
[2026-07-07 09:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783397582000,"timestamp_ms":1783397582000,"timestamp_seconds":1783397582,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac784b0"} 
[2026-07-07 09:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 09:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549780480001,"66":14537,"17":206,"94":11008,"24":8,"16":23354309873762304,"45":950892870211221504},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 09:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549780480001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:44:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23354309873762304,"km_value":23354309873762.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":950892870211221504,"description":"Unknown IO ID 45"} 
[2026-07-07 09:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549780480001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":950892870211221504}} 
[2026-07-07 09:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":124241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444705,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:44:22] local.INFO: GPS data processed {"connection_id":124241,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:44:22] local.INFO: Acknowledgment sent {"connection_id":124241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:44:32] local.INFO: TCP Data received {"connection_id":124323,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac759b8012d7d398005ec25900006015721..."} 
[2026-07-07 09:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac759b8012d7d398005ec25900006015721..."} 
[2026-07-07 09:44:32] local.INFO: Processing buffer {"connection_id":124323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac759b8012d7d398005ec25900006015721..."} 
[2026-07-07 09:44:32] local.INFO: Packet analysis {"connection_id":124323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:44:32] local.INFO: Extracted packet for processing {"connection_id":124323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99362192,"longitude_deg":76.318144,"latitude_deg":9.9362192,"altitude":6,"angle":343,"satellites":33,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec2590","is_valid_coordinates":true} 
[2026-07-07 09:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549772800001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294740857880576,"note":"Value kept but may cause issues"} 
[2026-07-07 09:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091338575872,"note":"Value kept but may cause issues"} 
[2026-07-07 09:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783397571000,"timestamp_ms":1783397571000,"timestamp_seconds":1783397571,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac759b8"} 
[2026-07-07 09:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:44: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-07-07 09:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-07-07 09:44:32] 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-07-07 09:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:44: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-07-07 09:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549772800001,"66":11167,"109":206,"87":13824,"24":0,"16":103294740857880576,"45":9023384091338575872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-07 09:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549772800001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:44:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 09:44:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294740857880576,"km_value":103294740857880.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091338575872,"description":"Unknown IO ID 45"} 
[2026-07-07 09:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549772800001,"power":11167,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091338575872}} 
[2026-07-07 09:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":124323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:44:32] local.INFO: GPS data processed {"connection_id":124323,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:44:32] local.INFO: Acknowledgment sent {"connection_id":124323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:44:39] local.INFO: TCP Data received {"connection_id":126251,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac68e98012d80fb0006082ff8000d008f2c..."} 
[2026-07-07 09:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac68e98012d80fb0006082ff8000d008f2c..."} 
[2026-07-07 09:44:39] local.INFO: Processing buffer {"connection_id":126251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac68e98012d80fb0006082ff8000d008f2c..."} 
[2026-07-07 09:44:39] local.INFO: Packet analysis {"connection_id":126251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac6"} 
[2026-07-07 09:44:39] local.INFO: Extracted packet for processing {"connection_id":126251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac6"} 
[2026-07-07 09:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763427584,"raw_latitude":101199864,"longitude_deg":76.3427584,"latitude_deg":10.1199864,"altitude":13,"angle":143,"satellites":44,"speed":16,"hex_longitude":"2d80fb00","hex_latitude":"06082ff8","is_valid_coordinates":true} 
[2026-07-07 09:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549761792001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340833391836397568,"note":"Value kept but may cause issues"} 
[2026-07-07 09:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9158773503790653440,"note":"Value kept but may cause issues"} 
[2026-07-07 09:44:39] 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-07-07 09:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783397519000,"timestamp_ms":1783397519000,"timestamp_seconds":1783397519,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac68e98"} 
[2026-07-07 09:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:44: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-07-07 09:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 09:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549761792001,"66":27843,"172":206,"87":10496,"24":16,"16":340833391836397568,"45":-9158773503790653440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-07-07 09:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549761792001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:44:39] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-07 09:44:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340833391836397568,"km_value":340833391836397.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9158773503790653440,"description":"Unknown IO ID 45"} 
[2026-07-07 09:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549761792001,"power":27843,"unknown_172":206,"unknown_87":10496,"ignition":16,"odometer":null,"unknown_45":-9158773503790653440}} 
[2026-07-07 09:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":126251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:44:39] local.INFO: GPS data processed {"connection_id":126251,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:44:39] local.INFO: Acknowledgment sent {"connection_id":126251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:44:56] local.INFO: TCP Data received {"connection_id":125026,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:44:56] local.INFO: Processing buffer {"connection_id":125026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:44:56] local.INFO: IMEI packet received {"connection_id":125026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":125026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:44:59] local.INFO: TCP Data received {"connection_id":124242,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:44:59] local.INFO: Processing buffer {"connection_id":124242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:44:59] local.INFO: IMEI packet received {"connection_id":124242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":124242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:45:02] local.INFO: TCP Data received {"connection_id":125026,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:45:02] local.INFO: Processing buffer {"connection_id":125026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:45:02] local.INFO: IMEI packet received {"connection_id":125026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":125026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:45:03] local.INFO: TCP Data received {"connection_id":125026,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac77ce0012d7d398005ec25900006015725..."} 
[2026-07-07 09:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac77ce0012d7d398005ec25900006015725..."} 
[2026-07-07 09:45:03] local.INFO: Processing buffer {"connection_id":125026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac77ce0012d7d398005ec25900006015725..."} 
[2026-07-07 09:45:03] local.INFO: Packet analysis {"connection_id":125026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:45:03] local.INFO: Extracted packet for processing {"connection_id":125026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:45:03] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99362192,"longitude_deg":76.318144,"latitude_deg":9.9362192,"altitude":6,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec2590","is_valid_coordinates":true} 
[2026-07-07 09:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549778176001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294740857880576,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091338575872,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783397580000,"timestamp_ms":1783397580000,"timestamp_seconds":1783397580,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac77ce0"} 
[2026-07-07 09:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-07-07 09:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1844,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549778176001,"66":11254,"109":206,"87":13824,"24":0,"16":103294740857880576,"45":9023384091338575872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-07 09:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549778176001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:45:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 09:45:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294740857880576,"km_value":103294740857880.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091338575872,"description":"Unknown IO ID 45"} 
[2026-07-07 09:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549778176001,"power":11254,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091338575872}} 
[2026-07-07 09:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":125026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:45:03] local.INFO: GPS data processed {"connection_id":125026,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:45:03] local.INFO: Acknowledgment sent {"connection_id":125026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:45:04] local.INFO: TCP Data received {"connection_id":124242,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:45:04] local.INFO: Processing buffer {"connection_id":124242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:45:04] local.INFO: IMEI packet received {"connection_id":124242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":124242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:45:05] local.INFO: TCP Data received {"connection_id":124241,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac78898012d0d314007046188001a00d422..."} 
[2026-07-07 09:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac78898012d0d314007046188001a00d422..."} 
[2026-07-07 09:45:05] local.INFO: Processing buffer {"connection_id":124241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac78898012d0d314007046188001a00d422..."} 
[2026-07-07 09:45:05] local.INFO: Packet analysis {"connection_id":124241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:45:05] local.INFO: Extracted packet for processing {"connection_id":124241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:45:05] local.INFO: GPS Element Parsed {"raw_longitude":755839296,"raw_latitude":117727624,"longitude_deg":75.5839296,"latitude_deg":11.7727624,"altitude":26,"angle":212,"satellites":34,"speed":7,"hex_longitude":"2d0d3140","hex_latitude":"07046188","is_valid_coordinates":true} 
[2026-07-07 09:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549780992001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23354318463696896,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950681763978561536,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783397583000,"timestamp_ms":1783397583000,"timestamp_seconds":1783397583,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac78898"} 
[2026-07-07 09:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 09:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549780992001,"66":14559,"17":206,"94":11008,"24":7,"16":23354318463696896,"45":950681763978561536},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 09:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549780992001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:45:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23354318463696896,"km_value":23354318463696.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":950681763978561536,"description":"Unknown IO ID 45"} 
[2026-07-07 09:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549780992001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":950681763978561536}} 
[2026-07-07 09:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":124241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444709,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:45:05] local.INFO: GPS data processed {"connection_id":124241,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:45:05] local.INFO: Acknowledgment sent {"connection_id":124241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:45:06] local.INFO: TCP Data received {"connection_id":124242,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac6d4e8012d810d8006081208000a00972e..."} 
[2026-07-07 09:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac6d4e8012d810d8006081208000a00972e..."} 
[2026-07-07 09:45:06] local.INFO: Processing buffer {"connection_id":124242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac6d4e8012d810d8006081208000a00972e..."} 
[2026-07-07 09:45:06] local.INFO: Packet analysis {"connection_id":124242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac6"} 
[2026-07-07 09:45:06] local.INFO: Extracted packet for processing {"connection_id":124242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac6"} 
[2026-07-07 09:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763432320,"raw_latitude":101192200,"longitude_deg":76.343232,"latitude_deg":10.11922,"altitude":10,"angle":151,"satellites":46,"speed":22,"hex_longitude":"2d810d80","hex_latitude":"06081208","is_valid_coordinates":true} 
[2026-07-07 09:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549764864001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340833829923061760,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9152721791793235968,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:06] 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-07-07 09:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783397537000,"timestamp_ms":1783397537000,"timestamp_seconds":1783397537,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac6d4e8"} 
[2026-07-07 09:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:45: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-07-07 09:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 09:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549764864001,"66":27865,"172":206,"87":10496,"24":22,"16":340833829923061760,"45":-9152721791793235968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-07-07 09:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549764864001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:45:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-07 09:45:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340833829923061760,"km_value":340833829923061.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9152721791793235968,"description":"Unknown IO ID 45"} 
[2026-07-07 09:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549764864001,"power":27865,"unknown_172":206,"unknown_87":10496,"ignition":22,"odometer":null,"unknown_45":-9152721791793235968}} 
[2026-07-07 09:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":124242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:45:06] local.INFO: GPS data processed {"connection_id":124242,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:45:06] local.INFO: Acknowledgment sent {"connection_id":124242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:45:15] local.INFO: TCP Data received {"connection_id":124244,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124244,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:45:15] local.INFO: Processing buffer {"connection_id":124244,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:45:15] local.INFO: IMEI packet received {"connection_id":124244,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":124244,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:45:20] local.INFO: TCP Data received {"connection_id":124244,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124244,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:45:20] local.INFO: Processing buffer {"connection_id":124244,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:45:20] local.INFO: IMEI packet received {"connection_id":124244,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":124244,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:45:21] local.INFO: TCP Data received {"connection_id":124244,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac79c20012d0d2fc007045e70001a00c522..."} 
[2026-07-07 09:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac79c20012d0d2fc007045e70001a00c522..."} 
[2026-07-07 09:45:21] local.INFO: Processing buffer {"connection_id":124244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac79c20012d0d2fc007045e70001a00c522..."} 
[2026-07-07 09:45:21] local.INFO: Packet analysis {"connection_id":124244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:45:21] local.INFO: Extracted packet for processing {"connection_id":124244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:45:21] local.INFO: GPS Element Parsed {"raw_longitude":755838912,"raw_latitude":117726832,"longitude_deg":75.5838912,"latitude_deg":11.7726832,"altitude":26,"angle":197,"satellites":34,"speed":6,"hex_longitude":"2d0d2fc0","hex_latitude":"07045e70","is_valid_coordinates":true} 
[2026-07-07 09:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549781248001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23354361413369856,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950611395234334720,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783397588000,"timestamp_ms":1783397588000,"timestamp_seconds":1783397588,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac79c20"} 
[2026-07-07 09:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 09:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124244,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124244,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549781248001,"66":14450,"17":206,"94":11008,"24":6,"16":23354361413369856,"45":950611395234334720},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 09:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549781248001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:45:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23354361413369856,"km_value":23354361413369.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":950611395234334720,"description":"Unknown IO ID 45"} 
[2026-07-07 09:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549781248001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":950611395234334720}} 
[2026-07-07 09:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":124244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444711,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:45:21] local.INFO: GPS data processed {"connection_id":124244,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:45:21] local.INFO: Acknowledgment sent {"connection_id":124244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:45:37] local.INFO: TCP Data received {"connection_id":124242,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac707b0012d8120400607f128000900972d..."} 
[2026-07-07 09:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac707b0012d8120400607f128000900972d..."} 
[2026-07-07 09:45:37] local.INFO: Processing buffer {"connection_id":124242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac707b0012d8120400607f128000900972d..."} 
[2026-07-07 09:45:37] local.INFO: Packet analysis {"connection_id":124242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:45:37] local.INFO: Extracted packet for processing {"connection_id":124242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763437120,"raw_latitude":101183784,"longitude_deg":76.343712,"latitude_deg":10.1183784,"altitude":9,"angle":151,"satellites":45,"speed":35,"hex_longitude":"2d812040","hex_latitude":"0607f128","is_valid_coordinates":true} 
[2026-07-07 09:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549769472001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340834293779529728,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9147514504726050816,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:37] 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-07-07 09:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783397550000,"timestamp_ms":1783397550000,"timestamp_seconds":1783397550,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac707b0"} 
[2026-07-07 09:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 09:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549769472001,"66":27930,"172":206,"87":10496,"24":35,"16":340834293779529728,"45":-9147514504726050816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-07-07 09:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549769472001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:45:37] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-07 09:45:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340834293779529728,"km_value":340834293779529.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9147514504726050816,"description":"Unknown IO ID 45"} 
[2026-07-07 09:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549769472001,"power":27930,"unknown_172":206,"unknown_87":10496,"ignition":35,"odometer":null,"unknown_45":-9147514504726050816}} 
[2026-07-07 09:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":124242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:45:37] local.INFO: GPS data processed {"connection_id":124242,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:45:37] local.INFO: Acknowledgment sent {"connection_id":124242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:45:38] local.INFO: TCP Data received {"connection_id":125026,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac9a3a8012d7d3c8005ec23680006008c1d..."} 
[2026-07-07 09:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac9a3a8012d7d3c8005ec23680006008c1d..."} 
[2026-07-07 09:45:38] local.INFO: Processing buffer {"connection_id":125026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac9a3a8012d7d3c8005ec23680006008c1d..."} 
[2026-07-07 09:45:38] local.INFO: Packet analysis {"connection_id":125026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac9"} 
[2026-07-07 09:45:38] local.INFO: Extracted packet for processing {"connection_id":125026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac9"} 
[2026-07-07 09:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":99361640,"longitude_deg":76.3182208,"latitude_deg":9.936164,"altitude":6,"angle":140,"satellites":29,"speed":0,"hex_longitude":"2d7d3c80","hex_latitude":"05ec2368","is_valid_coordinates":true} 
[2026-07-07 09:45: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-07-07 09:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549816576001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294740857880576,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228516268566528,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783397721000,"timestamp_ms":1783397721000,"timestamp_seconds":1783397721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac9a3a8"} 
[2026-07-07 09:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 09: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":25,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 09:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1448,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:45: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-07-07 09:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549816576001,"66":6525,"197":206,"87":13824,"24":0,"16":103294740857880576,"45":9024228516268566528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-07 09:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549816576001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:45:38] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-07 09:45:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294740857880576,"km_value":103294740857880.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228516268566528,"description":"Unknown IO ID 45"} 
[2026-07-07 09:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549816576001,"power":6525,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9024228516268566528}} 
[2026-07-07 09:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":125026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:45:38] local.INFO: GPS data processed {"connection_id":125026,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:45:38] local.INFO: Acknowledgment sent {"connection_id":125026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:45:52] local.INFO: TCP Data received {"connection_id":124244,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac9bb18012d0d2d400703ca08001200b422..."} 
[2026-07-07 09:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac9bb18012d0d2d400703ca08001200b422..."} 
[2026-07-07 09:45:52] local.INFO: Processing buffer {"connection_id":124244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac9bb18012d0d2d400703ca08001200b422..."} 
[2026-07-07 09:45:52] local.INFO: Packet analysis {"connection_id":124244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac9"} 
[2026-07-07 09:45:52] local.INFO: Extracted packet for processing {"connection_id":124244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac9"} 
[2026-07-07 09:45:52] local.INFO: GPS Element Parsed {"raw_longitude":755838272,"raw_latitude":117688840,"longitude_deg":75.5838272,"latitude_deg":11.768884,"altitude":18,"angle":180,"satellites":34,"speed":6,"hex_longitude":"2d0d2d40","hex_latitude":"0703ca08","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549816064001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23356242609045504,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949133651597203456,"note":"Value kept but may cause issues"} 
[2026-07-07 09:45:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 09:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783397727000,"timestamp_ms":1783397727000,"timestamp_seconds":1783397727,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac9bb18"} 
[2026-07-07 09:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:45: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-07-07 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 09:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124244,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124244,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549816064001,"66":14580,"16":23356242609045504,"94":11008,"24":6,"45":949133651597203456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 09:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549816064001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23356242609045504,"km_value":23356242609045.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:45:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":949133651597203456,"description":"Unknown IO ID 45"} 
[2026-07-07 09:45:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456549816064001,"power":14580,"odometer":null,"unknown_94":11008,"ignition":6,"unknown_45":949133651597203456}} 
[2026-07-07 09:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":124244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444714,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:45:52] local.INFO: GPS data processed {"connection_id":124244,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:45:52] local.INFO: Acknowledgment sent {"connection_id":124244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:45:56] local.INFO: TCP Data received {"connection_id":124324,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:45:56] local.INFO: Processing buffer {"connection_id":124324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:45:56] local.INFO: IMEI packet received {"connection_id":124324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":124324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:45:59] local.INFO: TCP Data received {"connection_id":124325,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:45:59] local.INFO: Processing buffer {"connection_id":124325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:45:59] local.INFO: IMEI packet received {"connection_id":124325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":124325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:46:01] local.INFO: TCP Data received {"connection_id":124324,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:46:01] local.INFO: Processing buffer {"connection_id":124324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:46:01] local.INFO: IMEI packet received {"connection_id":124324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":124324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:46:02] local.INFO: TCP Data received {"connection_id":124324,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac9a3a8012d7d3c8005ec23680006008c1d..."} 
[2026-07-07 09:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac9a3a8012d7d3c8005ec23680006008c1d..."} 
[2026-07-07 09:46:02] local.INFO: Processing buffer {"connection_id":124324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac9a3a8012d7d3c8005ec23680006008c1d..."} 
[2026-07-07 09:46:02] local.INFO: Packet analysis {"connection_id":124324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac9"} 
[2026-07-07 09:46:02] local.INFO: Extracted packet for processing {"connection_id":124324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac9"} 
[2026-07-07 09:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":99361640,"longitude_deg":76.3182208,"latitude_deg":9.936164,"altitude":6,"angle":140,"satellites":29,"speed":0,"hex_longitude":"2d7d3c80","hex_latitude":"05ec2368","is_valid_coordinates":true} 
[2026-07-07 09:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549816576001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294740857880576,"note":"Value kept but may cause issues"} 
[2026-07-07 09:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228516268566528,"note":"Value kept but may cause issues"} 
[2026-07-07 09:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783397721000,"timestamp_ms":1783397721000,"timestamp_seconds":1783397721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac9a3a8"} 
[2026-07-07 09:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:46: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-07-07 09:46: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":25,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 09:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1448,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549816576001,"66":6525,"197":206,"87":13824,"24":0,"16":103294740857880576,"45":9024228516268566528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-07 09:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549816576001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:46:02] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-07 09:46:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294740857880576,"km_value":103294740857880.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228516268566528,"description":"Unknown IO ID 45"} 
[2026-07-07 09:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549816576001,"power":6525,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9024228516268566528}} 
[2026-07-07 09:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":124324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:46:02] local.INFO: GPS data processed {"connection_id":124324,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:46:02] local.INFO: Acknowledgment sent {"connection_id":124324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:46:04] local.INFO: TCP Data received {"connection_id":124325,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:46:04] local.INFO: Processing buffer {"connection_id":124325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:46:04] local.INFO: IMEI packet received {"connection_id":124325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":124325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:46:06] local.INFO: TCP Data received {"connection_id":124325,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac72ec0012d8132400607cff0000a00972e..."} 
[2026-07-07 09:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac72ec0012d8132400607cff0000a00972e..."} 
[2026-07-07 09:46:06] local.INFO: Processing buffer {"connection_id":124325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac72ec0012d8132400607cff0000a00972e..."} 
[2026-07-07 09:46:06] local.INFO: Packet analysis {"connection_id":124325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:46:06] local.INFO: Extracted packet for processing {"connection_id":124325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763441728,"raw_latitude":101175280,"longitude_deg":76.3441728,"latitude_deg":10.117528,"altitude":10,"angle":151,"satellites":46,"speed":34,"hex_longitude":"2d813240","hex_latitude":"0607cff0","is_valid_coordinates":true} 
[2026-07-07 09:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549772800001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340834761930964992,"note":"Value kept but may cause issues"} 
[2026-07-07 09:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9142236848914880512,"note":"Value kept but may cause issues"} 
[2026-07-07 09:46:06] 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-07-07 09:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783397560000,"timestamp_ms":1783397560000,"timestamp_seconds":1783397560,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac72ec0"} 
[2026-07-07 09:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 09:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549772800001,"66":27767,"172":206,"87":10496,"24":34,"16":340834761930964992,"45":-9142236848914880512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-07-07 09:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549772800001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:46:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-07 09:46:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340834761930964992,"km_value":340834761930965.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9142236848914880512,"description":"Unknown IO ID 45"} 
[2026-07-07 09:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549772800001,"power":27767,"unknown_172":206,"unknown_87":10496,"ignition":34,"odometer":null,"unknown_45":-9142236848914880512}} 
[2026-07-07 09:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":124325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:46:06] local.INFO: GPS data processed {"connection_id":124325,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:46:06] local.INFO: Acknowledgment sent {"connection_id":124325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:46:15] local.INFO: TCP Data received {"connection_id":126254,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126254,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:46:15] local.INFO: Processing buffer {"connection_id":126254,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:46:15] local.INFO: IMEI packet received {"connection_id":126254,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":126254,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:46:20] local.INFO: TCP Data received {"connection_id":126253,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:46:20] local.INFO: Processing buffer {"connection_id":126253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:46:20] local.INFO: IMEI packet received {"connection_id":126253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":126253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:46:20] local.INFO: TCP Data received {"connection_id":126254,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126254,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:46:20] local.INFO: Processing buffer {"connection_id":126254,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:46:20] local.INFO: IMEI packet received {"connection_id":126254,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":126254,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:46:21] local.INFO: TCP Data received {"connection_id":126254,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac9e9f8012d0d2d800703cb400011000c20..."} 
[2026-07-07 09:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac9e9f8012d0d2d800703cb400011000c20..."} 
[2026-07-07 09:46:21] local.INFO: Processing buffer {"connection_id":126254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac9e9f8012d0d2d800703cb400011000c20..."} 
[2026-07-07 09:46:21] local.INFO: Packet analysis {"connection_id":126254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac9"} 
[2026-07-07 09:46:21] local.INFO: Extracted packet for processing {"connection_id":126254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac9"} 
[2026-07-07 09:46:21] local.INFO: GPS Element Parsed {"raw_longitude":755838336,"raw_latitude":117689152,"longitude_deg":75.5838336,"latitude_deg":11.7689152,"altitude":17,"angle":12,"satellites":32,"speed":3,"hex_longitude":"2d0d2d80","hex_latitude":"0703cb40","is_valid_coordinates":true} 
[2026-07-07 09:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549818112001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23356281263751168,"note":"Value kept but may cause issues"} 
[2026-07-07 09:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949485495317563392,"note":"Value kept but may cause issues"} 
[2026-07-07 09:46:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 09:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783397739000,"timestamp_ms":1783397739000,"timestamp_seconds":1783397739,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac9e9f8"} 
[2026-07-07 09:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-07 09:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549818112001,"66":14515,"16":23356281263751168,"94":11008,"24":3,"45":949485495317563392},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 09:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549818112001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23356281263751168,"km_value":23356281263751.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:46:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":949485495317563392,"description":"Unknown IO ID 45"} 
[2026-07-07 09:46:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456549818112001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":3,"unknown_45":949485495317563392}} 
[2026-07-07 09:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":126254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444717,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:46:21] local.INFO: GPS data processed {"connection_id":126254,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:46:21] local.INFO: Acknowledgment sent {"connection_id":126254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:46:35] local.INFO: TCP Data received {"connection_id":124324,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac9a3a8012d7d3c8005ec23680006008c1d..."} 
[2026-07-07 09:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac9a3a8012d7d3c8005ec23680006008c1d..."} 
[2026-07-07 09:46:35] local.INFO: Processing buffer {"connection_id":124324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac9a3a8012d7d3c8005ec23680006008c1d..."} 
[2026-07-07 09:46:35] local.INFO: Packet analysis {"connection_id":124324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac9"} 
[2026-07-07 09:46:35] local.INFO: Extracted packet for processing {"connection_id":124324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac9"} 
[2026-07-07 09:46:35] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":99361640,"longitude_deg":76.3182208,"latitude_deg":9.936164,"altitude":6,"angle":140,"satellites":29,"speed":0,"hex_longitude":"2d7d3c80","hex_latitude":"05ec2368","is_valid_coordinates":true} 
[2026-07-07 09:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549816576001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294740857880576,"note":"Value kept but may cause issues"} 
[2026-07-07 09:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228516268566528,"note":"Value kept but may cause issues"} 
[2026-07-07 09:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783397721000,"timestamp_ms":1783397721000,"timestamp_seconds":1783397721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac9a3a8"} 
[2026-07-07 09:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:46: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-07-07 09:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":25,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 09:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1448,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:46: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-07-07 09:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549816576001,"66":6525,"197":206,"87":13824,"24":0,"16":103294740857880576,"45":9024228516268566528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-07 09:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549816576001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:46:35] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-07 09:46:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294740857880576,"km_value":103294740857880.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228516268566528,"description":"Unknown IO ID 45"} 
[2026-07-07 09:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549816576001,"power":6525,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9024228516268566528}} 
[2026-07-07 09:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":124324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:46:35] local.INFO: GPS data processed {"connection_id":124324,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:46:35] local.INFO: Acknowledgment sent {"connection_id":124324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:46:38] local.INFO: TCP Data received {"connection_id":124325,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac780c8012d813f000607b8d0000800942e..."} 
[2026-07-07 09:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac780c8012d813f000607b8d0000800942e..."} 
[2026-07-07 09:46:38] local.INFO: Processing buffer {"connection_id":124325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac780c8012d813f000607b8d0000800942e..."} 
[2026-07-07 09:46:38] local.INFO: Packet analysis {"connection_id":124325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:46:38] local.INFO: Extracted packet for processing {"connection_id":124325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:46:38] local.INFO: GPS Element Parsed {"raw_longitude":763444992,"raw_latitude":101169360,"longitude_deg":76.3444992,"latitude_deg":10.116936,"altitude":8,"angle":148,"satellites":46,"speed":6,"hex_longitude":"2d813f00","hex_latitude":"0607b8d0","is_valid_coordinates":true} 
[2026-07-07 09:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549775360001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340835092643446784,"note":"Value kept but may cause issues"} 
[2026-07-07 09:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9137170299336265728,"note":"Value kept but may cause issues"} 
[2026-07-07 09:46: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-07-07 09:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783397581000,"timestamp_ms":1783397581000,"timestamp_seconds":1783397581,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac780c8"} 
[2026-07-07 09:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549775360001,"66":27767,"172":206,"87":10496,"24":6,"16":340835092643446784,"45":-9137170299336265728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-07-07 09:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549775360001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:46:38] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-07 09:46:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340835092643446784,"km_value":340835092643446.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9137170299336265728,"description":"Unknown IO ID 45"} 
[2026-07-07 09:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549775360001,"power":27767,"unknown_172":206,"unknown_87":10496,"ignition":6,"odometer":null,"unknown_45":-9137170299336265728}} 
[2026-07-07 09:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":124325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:46:38] local.INFO: GPS data processed {"connection_id":124325,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:46:38] local.INFO: Acknowledgment sent {"connection_id":124325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:46:55] local.INFO: TCP Data received {"connection_id":124326,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:46:55] local.INFO: Processing buffer {"connection_id":124326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:46:55] local.INFO: IMEI packet received {"connection_id":124326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":124326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:46:59] local.INFO: TCP Data received {"connection_id":125027,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125027,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:46:59] local.INFO: Processing buffer {"connection_id":125027,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:46:59] local.INFO: IMEI packet received {"connection_id":125027,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":125027,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:47:01] local.INFO: TCP Data received {"connection_id":124326,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:47:01] local.INFO: Processing buffer {"connection_id":124326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:47:01] local.INFO: IMEI packet received {"connection_id":124326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":124326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:47:05] local.INFO: TCP Data received {"connection_id":125028,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:47:05] local.INFO: Processing buffer {"connection_id":125028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:47:05] local.INFO: IMEI packet received {"connection_id":125028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":125028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:47:07] local.INFO: TCP Data received {"connection_id":124326,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac9e9f8012d7d3c8005ec23680006008c1d..."} 
[2026-07-07 09:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac9e9f8012d7d3c8005ec23680006008c1d..."} 
[2026-07-07 09:47:07] local.INFO: Processing buffer {"connection_id":124326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac9e9f8012d7d3c8005ec23680006008c1d..."} 
[2026-07-07 09:47:07] local.INFO: Packet analysis {"connection_id":124326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac9"} 
[2026-07-07 09:47:07] local.INFO: Extracted packet for processing {"connection_id":124326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac9"} 
[2026-07-07 09:47:07] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":99361640,"longitude_deg":76.3182208,"latitude_deg":9.936164,"altitude":6,"angle":140,"satellites":29,"speed":0,"hex_longitude":"2d7d3c80","hex_latitude":"05ec2368","is_valid_coordinates":true} 
[2026-07-07 09:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549816576001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103294740857880576,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228516268566528,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783397739000,"timestamp_ms":1783397739000,"timestamp_seconds":1783397739,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac9e9f8"} 
[2026-07-07 09:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:47: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-07-07 09:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":25,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 09:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1448,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:47: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-07-07 09:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549816576001,"66":11178,"197":206,"87":13824,"24":0,"16":103294740857880576,"45":9024228516268566528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-07 09:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549816576001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:47:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-07 09:47:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103294740857880576,"km_value":103294740857880.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228516268566528,"description":"Unknown IO ID 45"} 
[2026-07-07 09:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549816576001,"power":11178,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9024228516268566528}} 
[2026-07-07 09:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":124326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:47:07] local.INFO: GPS data processed {"connection_id":124326,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:47:07] local.INFO: Acknowledgment sent {"connection_id":124326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:47:09] local.INFO: TCP Data received {"connection_id":125028,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:47:09] local.INFO: Processing buffer {"connection_id":125028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:47:09] local.INFO: IMEI packet received {"connection_id":125028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":125028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:47:11] local.INFO: TCP Data received {"connection_id":125028,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac7d2d0012d813fc00607b6a8000900942d..."} 
[2026-07-07 09:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac7d2d0012d813fc00607b6a8000900942d..."} 
[2026-07-07 09:47:11] local.INFO: Processing buffer {"connection_id":125028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac7d2d0012d813fc00607b6a8000900942d..."} 
[2026-07-07 09:47:11] local.INFO: Packet analysis {"connection_id":125028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:47:11] local.INFO: Extracted packet for processing {"connection_id":125028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac7"} 
[2026-07-07 09:47:11] local.INFO: GPS Element Parsed {"raw_longitude":763445184,"raw_latitude":101168808,"longitude_deg":76.3445184,"latitude_deg":10.1168808,"altitude":9,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d813fc0","hex_latitude":"0607b6a8","is_valid_coordinates":true} 
[2026-07-07 09:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549780736001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340835122708217856,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9133581493384720384,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:11] 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-07-07 09:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783397602000,"timestamp_ms":1783397602000,"timestamp_seconds":1783397602,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac7d2d0"} 
[2026-07-07 09:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549780736001,"66":27821,"173":206,"87":10496,"24":0,"16":340835122708217856,"45":-9133581493384720384},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-07-07 09:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549780736001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:47:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-07 09:47:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340835122708217856,"km_value":340835122708217.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9133581493384720384,"description":"Unknown IO ID 45"} 
[2026-07-07 09:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549780736001,"power":27821,"unknown_173":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9133581493384720384}} 
[2026-07-07 09:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":125028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:47:11] local.INFO: GPS data processed {"connection_id":125028,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:47:11] local.INFO: Acknowledgment sent {"connection_id":125028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:47:13] local.INFO: TCP Data received {"connection_id":125028,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac824d8012d813fc00607b6a8000900942e..."} 
[2026-07-07 09:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac824d8012d813fc00607b6a8000900942e..."} 
[2026-07-07 09:47:13] local.INFO: Processing buffer {"connection_id":125028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac824d8012d813fc00607b6a8000900942e..."} 
[2026-07-07 09:47:13] local.INFO: Packet analysis {"connection_id":125028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac8"} 
[2026-07-07 09:47:13] local.INFO: Extracted packet for processing {"connection_id":125028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac8"} 
[2026-07-07 09:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763445184,"raw_latitude":101168808,"longitude_deg":76.3445184,"latitude_deg":10.1168808,"altitude":9,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d813fc0","hex_latitude":"0607b6a8","is_valid_coordinates":true} 
[2026-07-07 09:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549786112001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340835122708217856,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9133370387152328704,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:13] 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-07-07 09:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783397623000,"timestamp_ms":1783397623000,"timestamp_seconds":1783397623,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac824d8"} 
[2026-07-07 09:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:47: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-07-07 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 09:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549786112001,"66":27767,"173":206,"87":10496,"24":0,"16":340835122708217856,"45":-9133370387152328704},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-07-07 09:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549786112001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:47:13] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-07 09:47:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340835122708217856,"km_value":340835122708217.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9133370387152328704,"description":"Unknown IO ID 45"} 
[2026-07-07 09:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549786112001,"power":27767,"unknown_173":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9133370387152328704}} 
[2026-07-07 09:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":125028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:47:13] local.INFO: GPS data processed {"connection_id":125028,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:47:13] local.INFO: Acknowledgment sent {"connection_id":125028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:47:16] local.INFO: TCP Data received {"connection_id":126254,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac9f1c8012d0d2d800703cbd00011002221..."} 
[2026-07-07 09:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac9f1c8012d0d2d800703cbd00011002221..."} 
[2026-07-07 09:47:16] local.INFO: Processing buffer {"connection_id":126254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac9f1c8012d0d2d800703cbd00011002221..."} 
[2026-07-07 09:47:16] local.INFO: Packet analysis {"connection_id":126254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac9"} 
[2026-07-07 09:47:16] local.INFO: Extracted packet for processing {"connection_id":126254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac9"} 
[2026-07-07 09:47:16] local.INFO: GPS Element Parsed {"raw_longitude":755838336,"raw_latitude":117689296,"longitude_deg":75.5838336,"latitude_deg":11.7689296,"altitude":17,"angle":34,"satellites":33,"speed":2,"hex_longitude":"2d0d2d80","hex_latitude":"0703cbd0","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549821184001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23356289853685760,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949555864061820928,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 09:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783397741000,"timestamp_ms":1783397741000,"timestamp_seconds":1783397741,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac9f1c8"} 
[2026-07-07 09:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:47: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-07-07 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 09:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549821184001,"66":14407,"16":23356289853685760,"94":11008,"24":2,"45":949555864061820928},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 09:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549821184001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23356289853685760,"km_value":23356289853685.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:47:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":949555864061820928,"description":"Unknown IO ID 45"} 
[2026-07-07 09:47:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456549821184001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":2,"unknown_45":949555864061820928}} 
[2026-07-07 09:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":126254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444723,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:47:16] local.INFO: GPS data processed {"connection_id":126254,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:47:16] local.INFO: Acknowledgment sent {"connection_id":126254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:47:17] local.INFO: TCP Data received {"connection_id":124245,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124245,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:47:17] local.INFO: Processing buffer {"connection_id":124245,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:47:17] local.INFO: IMEI packet received {"connection_id":124245,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":124245,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:47:20] local.INFO: TCP Data received {"connection_id":124245,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124245,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:47:20] local.INFO: Processing buffer {"connection_id":124245,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:47:20] local.INFO: IMEI packet received {"connection_id":124245,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":124245,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:47:21] local.INFO: TCP Data received {"connection_id":124245,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124245,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:47:21] local.INFO: Processing buffer {"connection_id":124245,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:47:21] local.INFO: IMEI packet received {"connection_id":124245,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":124245,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:47:25] local.INFO: TCP Data received {"connection_id":124245,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124245,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:47:25] local.INFO: Processing buffer {"connection_id":124245,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:47:25] local.INFO: IMEI packet received {"connection_id":124245,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":124245,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:47:30] local.INFO: TCP Data received {"connection_id":124245,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aca3fe8012d0d2cc00703cc300011013123..."} 
[2026-07-07 09:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aca3fe8012d0d2cc00703cc300011013123..."} 
[2026-07-07 09:47:30] local.INFO: Processing buffer {"connection_id":124245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aca3fe8012d0d2cc00703cc300011013123..."} 
[2026-07-07 09:47:30] local.INFO: Packet analysis {"connection_id":124245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aca"} 
[2026-07-07 09:47:30] local.INFO: Extracted packet for processing {"connection_id":124245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aca"} 
[2026-07-07 09:47:30] local.INFO: GPS Element Parsed {"raw_longitude":755838144,"raw_latitude":117689392,"longitude_deg":75.5838144,"latitude_deg":11.7689392,"altitude":17,"angle":305,"satellites":35,"speed":2,"hex_longitude":"2d0d2cc0","hex_latitude":"0703cc30","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549821696001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23356315623489536,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949555864061857792,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 09:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783397761000,"timestamp_ms":1783397761000,"timestamp_seconds":1783397761,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aca3fe8"} 
[2026-07-07 09:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 09:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124245,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124245,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549821696001,"66":14450,"16":23356315623489536,"94":11008,"24":2,"45":949555864061857792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 09:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549821696001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23356315623489536,"km_value":23356315623489.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:47:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":949555864061857792,"description":"Unknown IO ID 45"} 
[2026-07-07 09:47:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456549821696001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":2,"unknown_45":949555864061857792}} 
[2026-07-07 09:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":124245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444724,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:47:30] local.INFO: GPS data processed {"connection_id":124245,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:47:30] local.INFO: Acknowledgment sent {"connection_id":124245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:47:31] local.INFO: TCP Data received {"connection_id":124245,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aca43d0012d0d2c800703cc880011014023..."} 
[2026-07-07 09:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aca43d0012d0d2c800703cc880011014023..."} 
[2026-07-07 09:47:31] local.INFO: Processing buffer {"connection_id":124245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aca43d0012d0d2c800703cc880011014023..."} 
[2026-07-07 09:47:31] local.INFO: Packet analysis {"connection_id":124245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aca"} 
[2026-07-07 09:47:31] local.INFO: Extracted packet for processing {"connection_id":124245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aca"} 
[2026-07-07 09:47:31] local.INFO: GPS Element Parsed {"raw_longitude":755838080,"raw_latitude":117689480,"longitude_deg":75.583808,"latitude_deg":11.768948,"altitude":17,"angle":320,"satellites":35,"speed":3,"hex_longitude":"2d0d2c80","hex_latitude":"0703cc88","is_valid_coordinates":true} 
[2026-07-07 09:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549826816001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23356319918456832,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949344757829349376,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 09:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783397762000,"timestamp_ms":1783397762000,"timestamp_seconds":1783397762,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aca43d0"} 
[2026-07-07 09:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 09:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":124245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":124245,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":124245,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549826816001,"66":14450,"16":23356319918456832,"94":11008,"24":3,"45":949344757829349376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 09:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549826816001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23356319918456832,"km_value":23356319918456.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:47:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":949344757829349376,"description":"Unknown IO ID 45"} 
[2026-07-07 09:47:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456549826816001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":3,"unknown_45":949344757829349376}} 
[2026-07-07 09:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":124245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444725,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:47:31] local.INFO: GPS data processed {"connection_id":124245,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:47:31] local.INFO: Acknowledgment sent {"connection_id":124245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:47:35] local.INFO: TCP Data received {"connection_id":124245,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aca4ba0012d0d2c400703cd700011015923..."} 
[2026-07-07 09:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aca4ba0012d0d2c400703cd700011015923..."} 
[2026-07-07 09:47:35] local.INFO: Processing buffer {"connection_id":124245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aca4ba0012d0d2c400703cd700011015923..."} 
[2026-07-07 09:47:35] local.INFO: Packet analysis {"connection_id":124245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aca"} 
[2026-07-07 09:47:35] local.INFO: Extracted packet for processing {"connection_id":124245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aca"} 
[2026-07-07 09:47:35] local.INFO: GPS Element Parsed {"raw_longitude":755838016,"raw_latitude":117689712,"longitude_deg":75.5838016,"latitude_deg":11.7689712,"altitude":17,"angle":345,"satellites":35,"speed":7,"hex_longitude":"2d0d2c40","hex_latitude":"0703cd70","is_valid_coordinates":true} 
[2026-07-07 09:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549827072001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23356332803358720,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949274389085194240,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 09:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783397764000,"timestamp_ms":1783397764000,"timestamp_seconds":1783397764,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aca4ba0"} 
[2026-07-07 09:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:47: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-07-07 09:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 09:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124245,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124245,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549827072001,"66":14515,"16":23356332803358720,"94":11008,"24":7,"45":949274389085194240},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 09:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549827072001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23356332803358720,"km_value":23356332803358.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:47:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":949274389085194240,"description":"Unknown IO ID 45"} 
[2026-07-07 09:47:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456549827072001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":7,"unknown_45":949274389085194240}} 
[2026-07-07 09:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":124245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444726,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:47:35] local.INFO: GPS data processed {"connection_id":124245,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:47:35] local.INFO: Acknowledgment sent {"connection_id":124245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:47:40] local.INFO: TCP Data received {"connection_id":124326,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acb0720012d7d1ec005ec38c0000a011023..."} 
[2026-07-07 09:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acb0720012d7d1ec005ec38c0000a011023..."} 
[2026-07-07 09:47:40] local.INFO: Processing buffer {"connection_id":124326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acb0720012d7d1ec005ec38c0000a011023..."} 
[2026-07-07 09:47:40] local.INFO: Packet analysis {"connection_id":124326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:47:40] local.INFO: Extracted packet for processing {"connection_id":124326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:47:40] local.INFO: GPS Element Parsed {"raw_longitude":763174592,"raw_latitude":99367104,"longitude_deg":76.3174592,"latitude_deg":9.9367104,"altitude":10,"angle":272,"satellites":35,"speed":14,"hex_longitude":"2d7d1ec0","hex_latitude":"05ec38c0","is_valid_coordinates":true} 
[2026-07-07 09:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549837056001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295269138857984,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185293389824,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783397812000,"timestamp_ms":1783397812000,"timestamp_seconds":1783397812,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acb0720"} 
[2026-07-07 09:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-07 09:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:47: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-07-07 09:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549837056001,"66":12961,"110":206,"87":13824,"24":14,"16":103295269138857984,"45":9020921185293389824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549837056001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:47:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:47:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295269138857984,"km_value":103295269138857.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185293389824,"description":"Unknown IO ID 45"} 
[2026-07-07 09:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549837056001,"power":12961,"unknown_110":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":9020921185293389824}} 
[2026-07-07 09:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":124326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:47:40] local.INFO: GPS data processed {"connection_id":124326,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:47:40] local.INFO: Acknowledgment sent {"connection_id":124326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:47:46] local.INFO: TCP Data received {"connection_id":125028,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ac876e0012d814e4006079588000b009f2e..."} 
[2026-07-07 09:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ac876e0012d814e4006079588000b009f2e..."} 
[2026-07-07 09:47:46] local.INFO: Processing buffer {"connection_id":125028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ac876e0012d814e4006079588000b009f2e..."} 
[2026-07-07 09:47:46] local.INFO: Packet analysis {"connection_id":125028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ac8"} 
[2026-07-07 09:47:46] local.INFO: Extracted packet for processing {"connection_id":125028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ac8"} 
[2026-07-07 09:47:46] local.INFO: GPS Element Parsed {"raw_longitude":763448896,"raw_latitude":101160328,"longitude_deg":76.3448896,"latitude_deg":10.1160328,"altitude":11,"angle":159,"satellites":46,"speed":26,"hex_longitude":"2d814e40","hex_latitude":"06079588","is_valid_coordinates":true} 
[2026-07-07 09:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549791488001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340835577974751232,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9133370387152328704,"note":"Value kept but may cause issues"} 
[2026-07-07 09:47:46] 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-07-07 09:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783397644000,"timestamp_ms":1783397644000,"timestamp_seconds":1783397644,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ac876e0"} 
[2026-07-07 09:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:47: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-07-07 09:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":125028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":125028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":125028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549791488001,"66":27745,"173":206,"87":10496,"24":26,"16":340835577974751232,"45":-9133370387152328704},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-07-07 09:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549791488001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:47:46] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-07 09:47:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340835577974751232,"km_value":340835577974751.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9133370387152328704,"description":"Unknown IO ID 45"} 
[2026-07-07 09:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549791488001,"power":27745,"unknown_173":206,"unknown_87":10496,"ignition":26,"odometer":null,"unknown_45":-9133370387152328704}} 
[2026-07-07 09:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":125028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:47:46] local.INFO: GPS data processed {"connection_id":125028,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:47:46] local.INFO: Acknowledgment sent {"connection_id":125028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:48:01] local.INFO: TCP Data received {"connection_id":126255,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:48:01] local.INFO: Processing buffer {"connection_id":126255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:48:01] local.INFO: IMEI packet received {"connection_id":126255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":126255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:48:04] local.INFO: TCP Data received {"connection_id":126256,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:48:04] local.INFO: Processing buffer {"connection_id":126256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:48:04] local.INFO: IMEI packet received {"connection_id":126256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":126256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:48:04] local.INFO: TCP Data received {"connection_id":126256,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:48:04] local.INFO: Processing buffer {"connection_id":126256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:48:04] local.INFO: IMEI packet received {"connection_id":126256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":126256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:48:05] local.INFO: TCP Data received {"connection_id":126255,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:48:05] local.INFO: Processing buffer {"connection_id":126255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:48:05] local.INFO: IMEI packet received {"connection_id":126255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":126255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:48:05] local.INFO: TCP Data received {"connection_id":126255,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acb5928012d7d0e0005ec3a80000f011421..."} 
[2026-07-07 09:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acb5928012d7d0e0005ec3a80000f011421..."} 
[2026-07-07 09:48:05] local.INFO: Processing buffer {"connection_id":126255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acb5928012d7d0e0005ec3a80000f011421..."} 
[2026-07-07 09:48:05] local.INFO: Packet analysis {"connection_id":126255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:48:05] local.INFO: Extracted packet for processing {"connection_id":126255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763170304,"raw_latitude":99367552,"longitude_deg":76.3170304,"latitude_deg":9.9367552,"altitude":15,"angle":276,"satellites":33,"speed":3,"hex_longitude":"2d7d0e00","hex_latitude":"05ec3a80","is_valid_coordinates":true} 
[2026-07-07 09:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549839872001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295475297288192,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015854635712823296,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783397833000,"timestamp_ms":1783397833000,"timestamp_seconds":1783397833,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acb5928"} 
[2026-07-07 09:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-07 09:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:48: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-07-07 09:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549839872001,"66":12645,"110":206,"87":13824,"24":3,"16":103295475297288192,"45":9015854635712823296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549839872001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:48:06] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:48:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295475297288192,"km_value":103295475297288.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015854635712823296,"description":"Unknown IO ID 45"} 
[2026-07-07 09:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549839872001,"power":12645,"unknown_110":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9015854635712823296}} 
[2026-07-07 09:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":126255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:48:06] local.INFO: GPS data processed {"connection_id":126255,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:48:06] local.INFO: Acknowledgment sent {"connection_id":126255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:48:07] local.INFO: TCP Data received {"connection_id":126255,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acb7868012d7d0b4005ec3be8000e015021..."} 
[2026-07-07 09:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acb7868012d7d0b4005ec3be8000e015021..."} 
[2026-07-07 09:48:07] local.INFO: Processing buffer {"connection_id":126255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acb7868012d7d0b4005ec3be8000e015021..."} 
[2026-07-07 09:48:07] local.INFO: Packet analysis {"connection_id":126255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:48:07] local.INFO: Extracted packet for processing {"connection_id":126255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:48:07] local.INFO: GPS Element Parsed {"raw_longitude":763169600,"raw_latitude":99367912,"longitude_deg":76.31696,"latitude_deg":9.9367912,"altitude":14,"angle":336,"satellites":33,"speed":6,"hex_longitude":"2d7d0b40","hex_latitude":"05ec3be8","is_valid_coordinates":true} 
[2026-07-07 09:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549845248001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295513951993856,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011139929853034496,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783397841000,"timestamp_ms":1783397841000,"timestamp_seconds":1783397841,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acb7868"} 
[2026-07-07 09:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:48: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-07-07 09:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-07 09:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:48: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-07-07 09:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549845248001,"66":12917,"110":206,"87":13824,"24":6,"16":103295513951993856,"45":9011139929853034496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549845248001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:48:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:48:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295513951993856,"km_value":103295513951993.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011139929853034496,"description":"Unknown IO ID 45"} 
[2026-07-07 09:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549845248001,"power":12917,"unknown_110":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9011139929853034496}} 
[2026-07-07 09:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":126255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:48:07] local.INFO: GPS data processed {"connection_id":126255,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:48:07] local.INFO: Acknowledgment sent {"connection_id":126255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:48:09] local.INFO: TCP Data received {"connection_id":126256,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:48:09] local.INFO: Processing buffer {"connection_id":126256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:48:09] local.INFO: IMEI packet received {"connection_id":126256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":126256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:48:11] local.INFO: TCP Data received {"connection_id":126256,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acb2278012d81e5800606d1b0000900932c..."} 
[2026-07-07 09:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acb2278012d81e5800606d1b0000900932c..."} 
[2026-07-07 09:48:11] local.INFO: Processing buffer {"connection_id":126256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acb2278012d81e5800606d1b0000900932c..."} 
[2026-07-07 09:48:11] local.INFO: Packet analysis {"connection_id":126256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:48:11] local.INFO: Extracted packet for processing {"connection_id":126256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:48:11] local.INFO: GPS Element Parsed {"raw_longitude":763487616,"raw_latitude":101110192,"longitude_deg":76.3487616,"latitude_deg":10.1110192,"altitude":9,"angle":147,"satellites":44,"speed":37,"hex_longitude":"2d81e580","hex_latitude":"0606d1b0","is_valid_coordinates":true} 
[2026-07-07 09:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549838592001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340838653171335168,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9092626884286435328,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783397819000,"timestamp_ms":1783397819000,"timestamp_seconds":1783397819,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acb2278"} 
[2026-07-07 09:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 09:48: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-07-07 09:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549838592001,"66":27832,"168":206,"87":10496,"24":37,"16":340838653171335168,"45":-9092626884286435328},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-07-07 09:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549838592001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:48:11] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-07 09:48:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340838653171335168,"km_value":340838653171335.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9092626884286435328,"description":"Unknown IO ID 45"} 
[2026-07-07 09:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549838592001,"power":27832,"unknown_168":206,"unknown_87":10496,"ignition":37,"odometer":null,"unknown_45":-9092626884286435328}} 
[2026-07-07 09:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":126256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:48:11] local.INFO: GPS data processed {"connection_id":126256,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:48:11] local.INFO: Acknowledgment sent {"connection_id":126256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:48:15] local.INFO: TCP Data received {"connection_id":124328,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124328,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:48:15] local.INFO: Processing buffer {"connection_id":124328,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:48:15] local.INFO: IMEI packet received {"connection_id":124328,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":124328,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:48:19] local.INFO: TCP Data received {"connection_id":124328,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124328,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:48:19] local.INFO: Processing buffer {"connection_id":124328,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:48:19] local.INFO: IMEI packet received {"connection_id":124328,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":124328,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:48:20] local.INFO: TCP Data received {"connection_id":124328,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acc0cd8012d0d2cc0070451080011000624..."} 
[2026-07-07 09:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acc0cd8012d0d2cc0070451080011000624..."} 
[2026-07-07 09:48:20] local.INFO: Processing buffer {"connection_id":124328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acc0cd8012d0d2cc0070451080011000624..."} 
[2026-07-07 09:48:20] local.INFO: Packet analysis {"connection_id":124328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:48:20] local.INFO: Extracted packet for processing {"connection_id":124328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:48:20] local.INFO: GPS Element Parsed {"raw_longitude":755838144,"raw_latitude":117723400,"longitude_deg":75.5838144,"latitude_deg":11.77234,"altitude":17,"angle":6,"satellites":36,"speed":13,"hex_longitude":"2d0d2cc0","hex_latitude":"07045108","is_valid_coordinates":true} 
[2026-07-07 09:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549855488001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23357994955702272,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948852176628353024,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 09:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783397879000,"timestamp_ms":1783397879000,"timestamp_seconds":1783397879,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acc0cd8"} 
[2026-07-07 09:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 09:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549855488001,"66":14407,"16":23357994955702272,"94":11008,"24":13,"45":948852176628353024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 09:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549855488001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23357994955702272,"km_value":23357994955702.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:48:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":948852176628353024,"description":"Unknown IO ID 45"} 
[2026-07-07 09:48:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456549855488001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":13,"unknown_45":948852176628353024}} 
[2026-07-07 09:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":124328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444732,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:48:20] local.INFO: GPS data processed {"connection_id":124328,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:48:20] local.INFO: Acknowledgment sent {"connection_id":124328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:48:21] local.INFO: TCP Data received {"connection_id":124328,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acc3000012d0d2f4007045ce00010001722..."} 
[2026-07-07 09:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acc3000012d0d2f4007045ce00010001722..."} 
[2026-07-07 09:48:21] local.INFO: Processing buffer {"connection_id":124328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acc3000012d0d2f4007045ce00010001722..."} 
[2026-07-07 09:48:21] local.INFO: Packet analysis {"connection_id":124328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:48:21] local.INFO: Extracted packet for processing {"connection_id":124328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:48:21] local.INFO: GPS Element Parsed {"raw_longitude":755838784,"raw_latitude":117726432,"longitude_deg":75.5838784,"latitude_deg":11.7726432,"altitude":16,"angle":23,"satellites":34,"speed":12,"hex_longitude":"2d0d2f40","hex_latitude":"07045ce0","is_valid_coordinates":true} 
[2026-07-07 09:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549857024001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23358149574524928,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949344757838055424,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 09:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783397888000,"timestamp_ms":1783397888000,"timestamp_seconds":1783397888,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acc3000"} 
[2026-07-07 09:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 09:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549857024001,"66":14515,"16":23358149574524928,"94":11008,"24":12,"45":949344757838055424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 09:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549857024001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23358149574524928,"km_value":23358149574524.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:48:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":949344757838055424,"description":"Unknown IO ID 45"} 
[2026-07-07 09:48:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456549857024001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":12,"unknown_45":949344757838055424}} 
[2026-07-07 09:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":124328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444733,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:48:21] local.INFO: GPS data processed {"connection_id":124328,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:48:21] local.INFO: Acknowledgment sent {"connection_id":124328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:48:39] local.INFO: TCP Data received {"connection_id":126255,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acbca70012d7d094005ec3d98000e015224..."} 
[2026-07-07 09:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acbca70012d7d094005ec3d98000e015224..."} 
[2026-07-07 09:48:39] local.INFO: Processing buffer {"connection_id":126255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acbca70012d7d094005ec3d98000e015224..."} 
[2026-07-07 09:48:39] local.INFO: Packet analysis {"connection_id":126255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:48:39] local.INFO: Extracted packet for processing {"connection_id":126255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763169088,"raw_latitude":99368344,"longitude_deg":76.3169088,"latitude_deg":9.9368344,"altitude":14,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7d0940","hex_latitude":"05ec3d98","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549847296001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010365873667172352,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783397862000,"timestamp_ms":1783397862000,"timestamp_seconds":1783397862,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acbca70"} 
[2026-07-07 09:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 09:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549847296001,"66":12917,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010365873667172352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549847296001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:48:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:48:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010365873667172352,"description":"Unknown IO ID 45"} 
[2026-07-07 09:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549847296001,"power":12917,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010365873667172352}} 
[2026-07-07 09:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":126255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:48:39] local.INFO: GPS data processed {"connection_id":126255,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:48:39] local.INFO: Acknowledgment sent {"connection_id":126255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:48:42] local.INFO: TCP Data received {"connection_id":125029,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:48:42] local.INFO: Processing buffer {"connection_id":125029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:48:42] local.INFO: IMEI packet received {"connection_id":125029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 09:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":125029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:48:42] local.INFO: TCP Data received {"connection_id":126256,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acb45a0012d81f6800606b1b80008009b2b..."} 
[2026-07-07 09:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acb45a0012d81f6800606b1b80008009b2b..."} 
[2026-07-07 09:48:42] local.INFO: Processing buffer {"connection_id":126256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acb45a0012d81f6800606b1b80008009b2b..."} 
[2026-07-07 09:48:42] local.INFO: Packet analysis {"connection_id":126256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:48:42] local.INFO: Extracted packet for processing {"connection_id":126256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:48:42] local.INFO: GPS Element Parsed {"raw_longitude":763491968,"raw_latitude":101102008,"longitude_deg":76.3491968,"latitude_deg":10.1102008,"altitude":8,"angle":155,"satellites":43,"speed":42,"hex_longitude":"2d81f680","hex_latitude":"0606b1b8","is_valid_coordinates":true} 
[2026-07-07 09:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549841664001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340839099847933952,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9086715909777543168,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783397828000,"timestamp_ms":1783397828000,"timestamp_seconds":1783397828,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acb45a0"} 
[2026-07-07 09:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 09:48: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-07-07 09:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549841664001,"66":27800,"168":206,"87":10496,"24":42,"16":340839099847933952,"45":-9086715909777543168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-07-07 09:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549841664001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:48:42] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-07 09:48:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340839099847933952,"km_value":340839099847933.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9086715909777543168,"description":"Unknown IO ID 45"} 
[2026-07-07 09:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549841664001,"power":27800,"unknown_168":206,"unknown_87":10496,"ignition":42,"odometer":null,"unknown_45":-9086715909777543168}} 
[2026-07-07 09:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":126256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:48:42] local.INFO: GPS data processed {"connection_id":126256,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:48:42] local.INFO: Acknowledgment sent {"connection_id":126256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:48:43] local.INFO: TCP Data received {"connection_id":125029,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:48:43] local.INFO: Processing buffer {"connection_id":125029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:48:43] local.INFO: IMEI packet received {"connection_id":125029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 09:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":125029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:48:47] local.INFO: TCP Data received {"connection_id":125029,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:48:47] local.INFO: Processing buffer {"connection_id":125029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:48:47] local.INFO: IMEI packet received {"connection_id":125029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 09:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":125029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:48:48] local.INFO: TCP Data received {"connection_id":125029,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-07 09:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125029,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-07 09:48:48] local.INFO: Processing buffer {"connection_id":125029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-07 09:48:48] local.INFO: Packet analysis {"connection_id":125029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-07 09:48:48] local.INFO: Extracted packet for processing {"connection_id":125029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-07 09:48:48] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 09:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 09:48:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 09:48:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 09:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":125029,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":125029,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 09:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":125029,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 09:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 09:48:48] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 09:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":125029,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 09:48:48] local.ERROR: GPS data processing failed {"connection_id":125029,"error":"No valid data to process"} 
[2026-07-07 09:48:48] local.INFO: Acknowledgment sent {"connection_id":125029,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 09:48:52] local.INFO: TCP Data received {"connection_id":124328,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acc4f40012d0d3200070463480011000a24..."} 
[2026-07-07 09:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acc4f40012d0d3200070463480011000a24..."} 
[2026-07-07 09:48:52] local.INFO: Processing buffer {"connection_id":124328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acc4f40012d0d3200070463480011000a24..."} 
[2026-07-07 09:48:52] local.INFO: Packet analysis {"connection_id":124328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:48:52] local.INFO: Extracted packet for processing {"connection_id":124328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:48:52] local.INFO: GPS Element Parsed {"raw_longitude":755839488,"raw_latitude":117728072,"longitude_deg":75.5839488,"latitude_deg":11.7728072,"altitude":17,"angle":10,"satellites":36,"speed":10,"hex_longitude":"2d0d3200","hex_latitude":"07046348","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549859328001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23358235473870848,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950048445280608256,"note":"Value kept but may cause issues"} 
[2026-07-07 09:48:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 09:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783397896000,"timestamp_ms":1783397896000,"timestamp_seconds":1783397896,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acc4f40"} 
[2026-07-07 09:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:48: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-07-07 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 09:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549859328001,"66":14396,"16":23358235473870848,"94":11008,"24":10,"45":950048445280608256},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 09:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549859328001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23358235473870848,"km_value":23358235473870.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:48:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":950048445280608256,"description":"Unknown IO ID 45"} 
[2026-07-07 09:48:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456549859328001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":950048445280608256}} 
[2026-07-07 09:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":124328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444736,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:48:52] local.INFO: GPS data processed {"connection_id":124328,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:48:52] local.INFO: Acknowledgment sent {"connection_id":124328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:48:56] local.INFO: TCP Data received {"connection_id":125030,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:48:56] local.INFO: Processing buffer {"connection_id":125030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:48:56] local.INFO: IMEI packet received {"connection_id":125030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":125030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:48:59] local.INFO: TCP Data received {"connection_id":124246,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:48:59] local.INFO: Processing buffer {"connection_id":124246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:48:59] local.INFO: IMEI packet received {"connection_id":124246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":124246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:49:01] local.INFO: TCP Data received {"connection_id":125030,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:49:01] local.INFO: Processing buffer {"connection_id":125030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:49:01] local.INFO: IMEI packet received {"connection_id":125030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":125030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:49:02] local.INFO: TCP Data received {"connection_id":125030,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acc1c78012d7d094005ec3d98000e015224..."} 
[2026-07-07 09:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acc1c78012d7d094005ec3d98000e015224..."} 
[2026-07-07 09:49:02] local.INFO: Processing buffer {"connection_id":125030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acc1c78012d7d094005ec3d98000e015224..."} 
[2026-07-07 09:49:02] local.INFO: Packet analysis {"connection_id":125030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:49:02] local.INFO: Extracted packet for processing {"connection_id":125030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:49:02] local.INFO: GPS Element Parsed {"raw_longitude":763169088,"raw_latitude":99368344,"longitude_deg":76.3169088,"latitude_deg":9.9368344,"altitude":14,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7d0940","hex_latitude":"05ec3d98","is_valid_coordinates":true} 
[2026-07-07 09:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549852672001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009802923713861632,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783397883000,"timestamp_ms":1783397883000,"timestamp_seconds":1783397883,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acc1c78"} 
[2026-07-07 09:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 09:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549852672001,"66":12798,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9009802923713861632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549852672001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:49:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:49:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009802923713861632,"description":"Unknown IO ID 45"} 
[2026-07-07 09:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549852672001,"power":12798,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9009802923713861632}} 
[2026-07-07 09:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":125030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:49:02] local.INFO: GPS data processed {"connection_id":125030,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:49:02] local.INFO: Acknowledgment sent {"connection_id":125030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:49:03] local.INFO: TCP Data received {"connection_id":124246,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:49:03] local.INFO: Processing buffer {"connection_id":124246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:49:03] local.INFO: IMEI packet received {"connection_id":124246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":124246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:49:04] local.INFO: TCP Data received {"connection_id":124246,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:49:05] local.INFO: Processing buffer {"connection_id":124246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:49:05] local.INFO: IMEI packet received {"connection_id":124246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":124246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:49:05] local.INFO: TCP Data received {"connection_id":124246,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acb68c8012d8202c006068e68000a00a32a..."} 
[2026-07-07 09:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acb68c8012d8202c006068e68000a00a32a..."} 
[2026-07-07 09:49:05] local.INFO: Processing buffer {"connection_id":124246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acb68c8012d8202c006068e68000a00a32a..."} 
[2026-07-07 09:49:05] local.INFO: Packet analysis {"connection_id":124246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:49:05] local.INFO: Extracted packet for processing {"connection_id":124246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:49:05] local.INFO: GPS Element Parsed {"raw_longitude":763495104,"raw_latitude":101092968,"longitude_deg":76.3495104,"latitude_deg":10.1092968,"altitude":10,"angle":163,"satellites":42,"speed":40,"hex_longitude":"2d8202c0","hex_latitude":"06068e68","is_valid_coordinates":true} 
[2026-07-07 09:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549843968001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340839563704401920,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9081930835175557120,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783397837000,"timestamp_ms":1783397837000,"timestamp_seconds":1783397837,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acb68c8"} 
[2026-07-07 09:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 09:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549843968001,"66":28028,"168":206,"87":10496,"24":40,"16":340839563704401920,"45":-9081930835175557120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-07-07 09:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549843968001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:49:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-07 09:49:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340839563704401920,"km_value":340839563704401.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9081930835175557120,"description":"Unknown IO ID 45"} 
[2026-07-07 09:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549843968001,"power":28028,"unknown_168":206,"unknown_87":10496,"ignition":40,"odometer":null,"unknown_45":-9081930835175557120}} 
[2026-07-07 09:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":124246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:49:05] local.INFO: GPS data processed {"connection_id":124246,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:49:05] local.INFO: Acknowledgment sent {"connection_id":124246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:49:10] local.INFO: TCP Data received {"connection_id":124246,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acb8bf0012d820a8006066b60000d00a729..."} 
[2026-07-07 09:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acb8bf0012d820a8006066b60000d00a729..."} 
[2026-07-07 09:49:10] local.INFO: Processing buffer {"connection_id":124246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acb8bf0012d820a8006066b60000d00a729..."} 
[2026-07-07 09:49:10] local.INFO: Packet analysis {"connection_id":124246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:49:10] local.INFO: Extracted packet for processing {"connection_id":124246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763497088,"raw_latitude":101084000,"longitude_deg":76.3497088,"latitude_deg":10.1084,"altitude":13,"angle":167,"satellites":41,"speed":39,"hex_longitude":"2d820a80","hex_latitude":"06066b60","is_valid_coordinates":true} 
[2026-07-07 09:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549846272001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340840010381000704,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9078482766713165824,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783397846000,"timestamp_ms":1783397846000,"timestamp_seconds":1783397846,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acb8bf0"} 
[2026-07-07 09:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:49: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-07-07 09:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 09:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549846272001,"66":28028,"168":206,"87":10496,"24":39,"16":340840010381000704,"45":-9078482766713165824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-07-07 09:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549846272001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:49:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-07 09:49:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340840010381000704,"km_value":340840010381000.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9078482766713165824,"description":"Unknown IO ID 45"} 
[2026-07-07 09:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549846272001,"power":28028,"unknown_168":206,"unknown_87":10496,"ignition":39,"odometer":null,"unknown_45":-9078482766713165824}} 
[2026-07-07 09:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":124246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:49:10] local.INFO: GPS data processed {"connection_id":124246,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:49:10] local.INFO: Acknowledgment sent {"connection_id":124246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:49:15] local.INFO: TCP Data received {"connection_id":125031,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125031,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:49:15] local.INFO: Processing buffer {"connection_id":125031,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:49:15] local.INFO: IMEI packet received {"connection_id":125031,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":125031,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:49:19] local.INFO: TCP Data received {"connection_id":125029,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-07 09:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-07 09:49:19] local.INFO: Processing buffer {"connection_id":125029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-07 09:49:19] local.INFO: Packet analysis {"connection_id":125029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 09:49:19] local.INFO: Extracted packet for processing {"connection_id":125029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 09:49:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 09:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 09:49:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 09:49:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 09:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":125029,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":125029,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 09:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":125029,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 09:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 09:49:19] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 09:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":125029,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 09:49:19] local.ERROR: GPS data processing failed {"connection_id":125029,"error":"No valid data to process"} 
[2026-07-07 09:49:19] local.INFO: Acknowledgment sent {"connection_id":125029,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 09:49:20] local.INFO: TCP Data received {"connection_id":125031,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125031,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:49:20] local.INFO: Processing buffer {"connection_id":125031,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:49:20] local.INFO: IMEI packet received {"connection_id":125031,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":125031,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:49:21] local.INFO: TCP Data received {"connection_id":125031,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acc6e80012d0d344007046e300012001923..."} 
[2026-07-07 09:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acc6e80012d0d344007046e300012001923..."} 
[2026-07-07 09:49:21] local.INFO: Processing buffer {"connection_id":125031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acc6e80012d0d344007046e300012001923..."} 
[2026-07-07 09:49:21] local.INFO: Packet analysis {"connection_id":125031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:49:21] local.INFO: Extracted packet for processing {"connection_id":125031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:49:21] local.INFO: GPS Element Parsed {"raw_longitude":755840064,"raw_latitude":117730864,"longitude_deg":75.5840064,"latitude_deg":11.7730864,"altitude":18,"angle":25,"satellites":35,"speed":18,"hex_longitude":"2d0d3440","hex_latitude":"07046e30","is_valid_coordinates":true} 
[2026-07-07 09:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549861376001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23358377207791616,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950822501466982400,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783397904000,"timestamp_ms":1783397904000,"timestamp_seconds":1783397904,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acc6e80"} 
[2026-07-07 09:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 09:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":125031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":125031,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":125031,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549861376001,"66":14515,"17":206,"94":11008,"24":18,"16":23358377207791616,"45":950822501466982400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 09:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549861376001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:49:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23358377207791616,"km_value":23358377207791.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":950822501466982400,"description":"Unknown IO ID 45"} 
[2026-07-07 09:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549861376001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":950822501466982400}} 
[2026-07-07 09:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":125031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444740,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:49:21] local.INFO: GPS data processed {"connection_id":125031,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:49:21] local.INFO: Acknowledgment sent {"connection_id":125031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:49:41] local.INFO: TCP Data received {"connection_id":124246,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acbaf18012d8211c006064980000f00a82c..."} 
[2026-07-07 09:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acbaf18012d8211c006064980000f00a82c..."} 
[2026-07-07 09:49:41] local.INFO: Processing buffer {"connection_id":124246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acbaf18012d8211c006064980000f00a82c..."} 
[2026-07-07 09:49:41] local.INFO: Packet analysis {"connection_id":124246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:49:41] local.INFO: Extracted packet for processing {"connection_id":124246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763498944,"raw_latitude":101075328,"longitude_deg":76.3498944,"latitude_deg":10.1075328,"altitude":15,"angle":168,"satellites":44,"speed":38,"hex_longitude":"2d8211c0","hex_latitude":"06064980","is_valid_coordinates":true} 
[2026-07-07 09:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549848576001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340840439877730304,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9076301335645954048,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:41] 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-07-07 09:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783397855000,"timestamp_ms":1783397855000,"timestamp_seconds":1783397855,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acbaf18"} 
[2026-07-07 09:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09: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":124,"data_length":795,"current_offset":136} 
[2026-07-07 09:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549848576001,"66":206,"87":10496,"24":38,"16":340840439877730304,"45":-9076301335645954048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-07-07 09:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549848576001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:49:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340840439877730304,"km_value":340840439877730.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9076301335645954048,"description":"Unknown IO ID 45"} 
[2026-07-07 09:49:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456549848576001,"power":206,"unknown_87":10496,"ignition":38,"odometer":null,"unknown_45":-9076301335645954048}} 
[2026-07-07 09:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":124246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:49:41] local.INFO: GPS data processed {"connection_id":124246,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:49:41] local.INFO: Acknowledgment sent {"connection_id":124246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:49:42] local.INFO: TCP Data received {"connection_id":125030,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acc6e80012d7d094005ec3d98000e015224..."} 
[2026-07-07 09:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acc6e80012d7d094005ec3d98000e015224..."} 
[2026-07-07 09:49:42] local.INFO: Processing buffer {"connection_id":125030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acc6e80012d7d094005ec3d98000e015224..."} 
[2026-07-07 09:49:42] local.INFO: Packet analysis {"connection_id":125030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:49:42] local.INFO: Extracted packet for processing {"connection_id":125030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:49:42] local.INFO: GPS Element Parsed {"raw_longitude":763169088,"raw_latitude":99368344,"longitude_deg":76.3169088,"latitude_deg":9.9368344,"altitude":14,"angle":338,"satellites":36,"speed":0,"hex_longitude":"2d7d0940","hex_latitude":"05ec3d98","is_valid_coordinates":true} 
[2026-07-07 09:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549858048001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009802923713861632,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783397904000,"timestamp_ms":1783397904000,"timestamp_seconds":1783397904,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acc6e80"} 
[2026-07-07 09:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 09:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:49: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-07-07 09:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549858048001,"66":12809,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9009802923713861632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549858048001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:49:42] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:49:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009802923713861632,"description":"Unknown IO ID 45"} 
[2026-07-07 09:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549858048001,"power":12809,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9009802923713861632}} 
[2026-07-07 09:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":125030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:49:42] local.INFO: GPS data processed {"connection_id":125030,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:49:42] local.INFO: Acknowledgment sent {"connection_id":125030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:49:52] local.INFO: TCP Data received {"connection_id":125031,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acc7e20012d0d3700070474400012000e22..."} 
[2026-07-07 09:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acc7e20012d0d3700070474400012000e22..."} 
[2026-07-07 09:49:52] local.INFO: Processing buffer {"connection_id":125031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acc7e20012d0d3700070474400012000e22..."} 
[2026-07-07 09:49:52] local.INFO: Packet analysis {"connection_id":125031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:49:52] local.INFO: Extracted packet for processing {"connection_id":125031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:49:52] local.INFO: GPS Element Parsed {"raw_longitude":755840768,"raw_latitude":117732416,"longitude_deg":75.5840768,"latitude_deg":11.7732416,"altitude":18,"angle":14,"satellites":34,"speed":14,"hex_longitude":"2d0d3700","hex_latitude":"07047440","is_valid_coordinates":true} 
[2026-07-07 09:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549863424001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23358458812170240,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951455820165296128,"note":"Value kept but may cause issues"} 
[2026-07-07 09:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783397908000,"timestamp_ms":1783397908000,"timestamp_seconds":1783397908,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acc7e20"} 
[2026-07-07 09:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:49: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-07-07 09:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 09:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125031,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125031,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549863424001,"66":14407,"17":206,"94":11008,"24":14,"16":23358458812170240,"45":951455820165296128},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 09:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549863424001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:49:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23358458812170240,"km_value":23358458812170.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":951455820165296128,"description":"Unknown IO ID 45"} 
[2026-07-07 09:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549863424001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":951455820165296128}} 
[2026-07-07 09:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":125031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444743,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:49:52] local.INFO: GPS data processed {"connection_id":125031,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:49:52] local.INFO: Acknowledgment sent {"connection_id":125031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:49:56] local.INFO: TCP Data received {"connection_id":124329,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:49:56] local.INFO: Processing buffer {"connection_id":124329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:49:56] local.INFO: IMEI packet received {"connection_id":124329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":124329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:50:01] local.INFO: TCP Data received {"connection_id":124329,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:50:01] local.INFO: Processing buffer {"connection_id":124329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:50:01] local.INFO: IMEI packet received {"connection_id":124329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":124329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:50:04] local.INFO: TCP Data received {"connection_id":125032,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:50:04] local.INFO: Processing buffer {"connection_id":125032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:50:04] local.INFO: IMEI packet received {"connection_id":125032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":125032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:50:05] local.INFO: TCP Data received {"connection_id":124329,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acc7a38012d7d094005ec3d98000e015225..."} 
[2026-07-07 09:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acc7a38012d7d094005ec3d98000e015225..."} 
[2026-07-07 09:50:05] local.INFO: Processing buffer {"connection_id":124329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acc7a38012d7d094005ec3d98000e015225..."} 
[2026-07-07 09:50:05] local.INFO: Packet analysis {"connection_id":124329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:50:05] local.INFO: Extracted packet for processing {"connection_id":124329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763169088,"raw_latitude":99368344,"longitude_deg":76.3169088,"latitude_deg":9.9368344,"altitude":14,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7d0940","hex_latitude":"05ec3d98","is_valid_coordinates":true} 
[2026-07-07 09:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549863424001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009802923713861632,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783397907000,"timestamp_ms":1783397907000,"timestamp_seconds":1783397907,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acc7a38"} 
[2026-07-07 09:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-07 09:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":648518346509124608,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:05] local.WARNING: Large IO value detected {"io_id":110,"raw_value":4202692608,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:05] local.WARNING: Large IO value detected {"io_id":250,"raw_value":3103784960,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:05] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":28673,"corrected_to":0} 
[2026-07-07 09:50:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:05] local.WARNING: Large IO value detected {"io_id":58,"raw_value":-3831340620904058048,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-07-07 09:50:05] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221613624,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:05] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184329,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1426875821682776032,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:05] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-1729156541648417193,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:05] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755450980794609,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:05] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,110,87,24,241,157,16,250,159,28,45,64,61,14,36,10,66,202,120,1,240,117,227,58,236,4,113,205,3,7,30,192,35,239,50,2,5,12,49,54,76],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":202,"original":28673,"validated":0},{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-07-07 09:50:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009178106080002048,"timestamp_seconds":1009178106080002.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 09:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549863424001,"66":12624,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9009802923713861632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549863424001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:50:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:50:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009802923713861632,"description":"Unknown IO ID 45"} 
[2026-07-07 09:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549863424001,"power":12624,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9009802923713861632}} 
[2026-07-07 09:50:05] local.INFO: TCP Data received {"connection_id":125032,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:50:05] local.INFO: Processing buffer {"connection_id":125032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:50:05] local.INFO: IMEI packet received {"connection_id":125032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":125032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":124329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:50:05] local.INFO: GPS data processed {"connection_id":124329,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:50:05] local.INFO: Acknowledgment sent {"connection_id":124329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:50:09] local.INFO: TCP Data received {"connection_id":125032,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:50:09] local.INFO: Processing buffer {"connection_id":125032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:50:09] local.INFO: IMEI packet received {"connection_id":125032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":125032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:50:10] local.INFO: TCP Data received {"connection_id":125032,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acbd240012d821600060625f0001000af2a..."} 
[2026-07-07 09:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acbd240012d821600060625f0001000af2a..."} 
[2026-07-07 09:50:10] local.INFO: Processing buffer {"connection_id":125032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acbd240012d821600060625f0001000af2a..."} 
[2026-07-07 09:50:10] local.INFO: Packet analysis {"connection_id":125032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:50:10] local.INFO: Extracted packet for processing {"connection_id":125032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763500032,"raw_latitude":101066224,"longitude_deg":76.3500032,"latitude_deg":10.1066224,"altitude":16,"angle":175,"satellites":42,"speed":42,"hex_longitude":"2d821600","hex_latitude":"060625f0","is_valid_coordinates":true} 
[2026-07-07 09:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549850880001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340840882259361792,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9074260642067021824,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50: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-07-07 09:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783397864000,"timestamp_ms":1783397864000,"timestamp_seconds":1783397864,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acbd240"} 
[2026-07-07 09:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 09:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549850880001,"66":206,"87":10496,"24":42,"16":340840882259361792,"45":-9074260642067021824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-07-07 09:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549850880001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:50:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340840882259361792,"km_value":340840882259361.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9074260642067021824,"description":"Unknown IO ID 45"} 
[2026-07-07 09:50:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456549850880001,"power":206,"unknown_87":10496,"ignition":42,"odometer":null,"unknown_45":-9074260642067021824}} 
[2026-07-07 09:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":125032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:50:10] local.INFO: GPS data processed {"connection_id":125032,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:50:10] local.INFO: Acknowledgment sent {"connection_id":125032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:50:15] local.INFO: TCP Data received {"connection_id":125033,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125033,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:50:15] local.INFO: Processing buffer {"connection_id":125033,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:50:15] local.INFO: IMEI packet received {"connection_id":125033,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":125033,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:50:15] local.INFO: TCP Data received {"connection_id":125032,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acbf180012d82174006060348000f00b52c..."} 
[2026-07-07 09:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acbf180012d82174006060348000f00b52c..."} 
[2026-07-07 09:50:15] local.INFO: Processing buffer {"connection_id":125032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acbf180012d82174006060348000f00b52c..."} 
[2026-07-07 09:50:15] local.INFO: Packet analysis {"connection_id":125032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:50:15] local.INFO: Extracted packet for processing {"connection_id":125032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acb"} 
[2026-07-07 09:50:15] local.INFO: GPS Element Parsed {"raw_longitude":763500352,"raw_latitude":101057352,"longitude_deg":76.3500352,"latitude_deg":10.1057352,"altitude":15,"angle":181,"satellites":44,"speed":45,"hex_longitude":"2d821740","hex_latitude":"06060348","is_valid_coordinates":true} 
[2026-07-07 09:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549853184001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340841316051058688,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9073064373418332160,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:15] 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-07-07 09:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783397872000,"timestamp_ms":1783397872000,"timestamp_seconds":1783397872,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acbf180"} 
[2026-07-07 09:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 09:50: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-07-07 09:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549853184001,"66":206,"87":10496,"24":45,"16":340841316051058688,"45":-9073064373418332160},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-07-07 09:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549853184001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:50:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340841316051058688,"km_value":340841316051058.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9073064373418332160,"description":"Unknown IO ID 45"} 
[2026-07-07 09:50:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456549853184001,"power":206,"unknown_87":10496,"ignition":45,"odometer":null,"unknown_45":-9073064373418332160}} 
[2026-07-07 09:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":125032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:50:15] local.INFO: GPS data processed {"connection_id":125032,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:50:15] local.INFO: Acknowledgment sent {"connection_id":125032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:50:17] local.INFO: TCP Data received {"connection_id":125033,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125033,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:50:17] local.INFO: Processing buffer {"connection_id":125033,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:50:17] local.INFO: IMEI packet received {"connection_id":125033,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":125033,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:50:19] local.INFO: TCP Data received {"connection_id":125029,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-07-07 09:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-07-07 09:50:19] local.INFO: Processing buffer {"connection_id":125029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-07-07 09:50:19] local.INFO: Packet analysis {"connection_id":125029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 09:50:19] local.INFO: Extracted packet for processing {"connection_id":125029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 09:50:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 09:50:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":90000,"timestamp_seconds":90,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 09:50:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 09:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":125029,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":125029,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 09:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":125029,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 09:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 09:50:19] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 09:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":125029,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 09:50:19] local.ERROR: GPS data processing failed {"connection_id":125029,"error":"No valid data to process"} 
[2026-07-07 09:50:19] local.INFO: Acknowledgment sent {"connection_id":125029,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 09:50:20] local.INFO: TCP Data received {"connection_id":125033,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125033,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:50:20] local.INFO: Processing buffer {"connection_id":125033,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:50:20] local.INFO: IMEI packet received {"connection_id":125033,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":125033,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:50:21] local.INFO: TCP Data received {"connection_id":125033,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acde580012d0d2b400704b9000017010c24..."} 
[2026-07-07 09:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acde580012d0d2b400704b9000017010c24..."} 
[2026-07-07 09:50:21] local.INFO: Processing buffer {"connection_id":125033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acde580012d0d2b400704b9000017010c24..."} 
[2026-07-07 09:50:21] local.INFO: Packet analysis {"connection_id":125033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acd"} 
[2026-07-07 09:50:21] local.INFO: Extracted packet for processing {"connection_id":125033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acd"} 
[2026-07-07 09:50:21] local.INFO: GPS Element Parsed {"raw_longitude":755837760,"raw_latitude":117750016,"longitude_deg":75.583776,"latitude_deg":11.7750016,"altitude":23,"angle":268,"satellites":36,"speed":24,"hex_longitude":"2d0d2b40","hex_latitude":"0704b900","is_valid_coordinates":true} 
[2026-07-07 09:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549886464001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23359528259026944,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951948401379579904,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783398000000,"timestamp_ms":1783398000000,"timestamp_seconds":1783398000,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acde580"} 
[2026-07-07 09:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 09:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":125033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":125033,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":125033,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549886464001,"66":14515,"17":206,"94":11008,"24":24,"16":23359528259026944,"45":951948401379579904},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 09:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549886464001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:50:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23359528259026944,"km_value":23359528259026.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":951948401379579904,"description":"Unknown IO ID 45"} 
[2026-07-07 09:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549886464001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":951948401379579904}} 
[2026-07-07 09:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":125033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444747,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:50:21] local.INFO: GPS data processed {"connection_id":125033,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:50:21] local.INFO: Acknowledgment sent {"connection_id":125033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:50:24] local.INFO: TCP Data received {"connection_id":125033,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ace00d8012d0d17c00704ba80001a011824..."} 
[2026-07-07 09:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ace00d8012d0d17c00704ba80001a011824..."} 
[2026-07-07 09:50:24] local.INFO: Processing buffer {"connection_id":125033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ace00d8012d0d17c00704ba80001a011824..."} 
[2026-07-07 09:50:24] local.INFO: Packet analysis {"connection_id":125033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ace"} 
[2026-07-07 09:50:24] local.INFO: Extracted packet for processing {"connection_id":125033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ace"} 
[2026-07-07 09:50:24] local.INFO: GPS Element Parsed {"raw_longitude":755832768,"raw_latitude":117750400,"longitude_deg":75.5832768,"latitude_deg":11.77504,"altitude":26,"angle":280,"satellites":36,"speed":29,"hex_longitude":"2d0d17c0","hex_latitude":"0704ba80","is_valid_coordinates":true} 
[2026-07-07 09:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549888000001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23359768777195520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948922545379803136,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783398007000,"timestamp_ms":1783398007000,"timestamp_seconds":1783398007,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ace00d8"} 
[2026-07-07 09:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 09:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125033,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125033,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549888000001,"66":14450,"17":206,"94":11008,"24":29,"16":23359768777195520,"45":948922545379803136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 09:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549888000001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:50:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23359768777195520,"km_value":23359768777195.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":948922545379803136,"description":"Unknown IO ID 45"} 
[2026-07-07 09:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549888000001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":29,"odometer":null,"unknown_45":948922545379803136}} 
[2026-07-07 09:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":125033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444748,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:50:25] local.INFO: GPS data processed {"connection_id":125033,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:50:25] local.INFO: Acknowledgment sent {"connection_id":125033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:50:39] local.INFO: TCP Data received {"connection_id":124329,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acc7a38012d7d094005ec3d98000e015225..."} 
[2026-07-07 09:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acc7a38012d7d094005ec3d98000e015225..."} 
[2026-07-07 09:50:39] local.INFO: Processing buffer {"connection_id":124329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acc7a38012d7d094005ec3d98000e015225..."} 
[2026-07-07 09:50:39] local.INFO: Packet analysis {"connection_id":124329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:50:39] local.INFO: Extracted packet for processing {"connection_id":124329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763169088,"raw_latitude":99368344,"longitude_deg":76.3169088,"latitude_deg":9.9368344,"altitude":14,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d7d0940","hex_latitude":"05ec3d98","is_valid_coordinates":true} 
[2026-07-07 09:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549864192001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009802923713861632,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783397907000,"timestamp_ms":1783397907000,"timestamp_seconds":1783397907,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acc7a38"} 
[2026-07-07 09:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 09:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 09:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549864192001,"66":12624,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9009802923713861632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549864192001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:50:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:50:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009802923713861632,"description":"Unknown IO ID 45"} 
[2026-07-07 09:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549864192001,"power":12624,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9009802923713861632}} 
[2026-07-07 09:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":124329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:50:39] local.INFO: GPS data processed {"connection_id":124329,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:50:39] local.INFO: Acknowledgment sent {"connection_id":124329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:50:51] local.INFO: TCP Data received {"connection_id":125029,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-07-07 09:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125029,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-07-07 09:50:51] local.INFO: Processing buffer {"connection_id":125029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-07-07 09:50:51] local.INFO: Packet analysis {"connection_id":125029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 09:50:51] local.INFO: Extracted packet for processing {"connection_id":125029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 09:50:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 09:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 09:50:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":111000,"timestamp_seconds":111,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 09:50:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 09:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125029,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125029,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 09:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125029,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 09:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 09:50:51] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 09:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":125029,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 09:50:51] local.ERROR: GPS data processing failed {"connection_id":125029,"error":"No valid data to process"} 
[2026-07-07 09:50:51] local.INFO: Acknowledgment sent {"connection_id":125029,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 09:50:56] local.INFO: TCP Data received {"connection_id":126257,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:50:56] local.INFO: Processing buffer {"connection_id":126257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:50:56] local.INFO: IMEI packet received {"connection_id":126257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":126257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:50:57] local.INFO: TCP Data received {"connection_id":125033,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ace08a8012d0d11800704baf0001b010c23..."} 
[2026-07-07 09:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ace08a8012d0d11800704baf0001b010c23..."} 
[2026-07-07 09:50:57] local.INFO: Processing buffer {"connection_id":125033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ace08a8012d0d11800704baf0001b010c23..."} 
[2026-07-07 09:50:57] local.INFO: Packet analysis {"connection_id":125033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ace"} 
[2026-07-07 09:50:57] local.INFO: Extracted packet for processing {"connection_id":125033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ace"} 
[2026-07-07 09:50:57] local.INFO: GPS Element Parsed {"raw_longitude":755831168,"raw_latitude":117750512,"longitude_deg":75.5831168,"latitude_deg":11.7750512,"altitude":27,"angle":268,"satellites":35,"speed":32,"hex_longitude":"2d0d1180","hex_latitude":"0704baf0","is_valid_coordinates":true} 
[2026-07-07 09:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549889792001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23359841791639552,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":943433783334043648,"note":"Value kept but may cause issues"} 
[2026-07-07 09:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783398009000,"timestamp_ms":1783398009000,"timestamp_seconds":1783398009,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ace08a8"} 
[2026-07-07 09:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 09:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":125033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":125033,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":125033,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549889792001,"66":14189,"17":206,"94":11008,"24":32,"16":23359841791639552,"45":943433783334043648},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 09:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549889792001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:50:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23359841791639552,"km_value":23359841791639.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":943433783334043648,"description":"Unknown IO ID 45"} 
[2026-07-07 09:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549889792001,"power":14189,"axis_x":206,"unknown_94":11008,"ignition":32,"odometer":null,"unknown_45":943433783334043648}} 
[2026-07-07 09:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":125033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444750,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:50:57] local.INFO: GPS data processed {"connection_id":125033,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:50:57] local.INFO: Acknowledgment sent {"connection_id":125033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:50:59] local.INFO: TCP Data received {"connection_id":126258,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:50:59] local.INFO: Processing buffer {"connection_id":126258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:50:59] local.INFO: IMEI packet received {"connection_id":126258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":126258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:51:01] local.INFO: TCP Data received {"connection_id":126257,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:51:01] local.INFO: Processing buffer {"connection_id":126257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:51:01] local.INFO: IMEI packet received {"connection_id":126257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":126257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:51:02] local.INFO: TCP Data received {"connection_id":126257,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acc8208012d7d0c8005ec3ca80010005725..."} 
[2026-07-07 09:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acc8208012d7d0c8005ec3ca80010005725..."} 
[2026-07-07 09:51:02] local.INFO: Processing buffer {"connection_id":126257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acc8208012d7d0c8005ec3ca80010005725..."} 
[2026-07-07 09:51:02] local.INFO: Packet analysis {"connection_id":126257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:51:02] local.INFO: Extracted packet for processing {"connection_id":126257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:51:02] local.INFO: GPS Element Parsed {"raw_longitude":763169920,"raw_latitude":99368104,"longitude_deg":76.316992,"latitude_deg":9.9368104,"altitude":16,"angle":87,"satellites":37,"speed":0,"hex_longitude":"2d7d0c80","hex_latitude":"05ec3ca8","is_valid_coordinates":true} 
[2026-07-07 09:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549864192001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009802923713861632,"note":"Value kept but may cause issues"} 
[2026-07-07 09:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783397909000,"timestamp_ms":1783397909000,"timestamp_seconds":1783397909,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acc8208"} 
[2026-07-07 09:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 09:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 09:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549864192001,"66":12624,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9009802923713861632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549864192001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:51:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:51:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009802923713861632,"description":"Unknown IO ID 45"} 
[2026-07-07 09:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549864192001,"power":12624,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9009802923713861632}} 
[2026-07-07 09:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":126257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:51:02] local.INFO: GPS data processed {"connection_id":126257,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:51:02] local.INFO: Acknowledgment sent {"connection_id":126257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:51:04] local.INFO: TCP Data received {"connection_id":126258,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:51:04] local.INFO: Processing buffer {"connection_id":126258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:51:04] local.INFO: IMEI packet received {"connection_id":126258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":126258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:51:15] local.INFO: TCP Data received {"connection_id":125034,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125034,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:51:15] local.INFO: Processing buffer {"connection_id":125034,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:51:15] local.INFO: IMEI packet received {"connection_id":125034,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":125034,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:51:16] local.INFO: TCP Data received {"connection_id":126258,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acdbe70012d819900060492b8000700b92d..."} 
[2026-07-07 09:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acdbe70012d819900060492b8000700b92d..."} 
[2026-07-07 09:51:16] local.INFO: Processing buffer {"connection_id":126258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acdbe70012d819900060492b8000700b92d..."} 
[2026-07-07 09:51:16] local.INFO: Packet analysis {"connection_id":126258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acd"} 
[2026-07-07 09:51:16] local.INFO: Extracted packet for processing {"connection_id":126258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acd"} 
[2026-07-07 09:51:16] local.INFO: GPS Element Parsed {"raw_longitude":763468032,"raw_latitude":100963000,"longitude_deg":76.3468032,"latitude_deg":10.0963,"altitude":7,"angle":185,"satellites":45,"speed":26,"hex_longitude":"2d819900","hex_latitude":"060492b8","is_valid_coordinates":true} 
[2026-07-07 09:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549882112001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340846208018808832,"note":"Value kept but may cause issues"} 
[2026-07-07 09:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107263583112828928,"note":"Value kept but may cause issues"} 
[2026-07-07 09:51:16] 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-07-07 09:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783397990000,"timestamp_ms":1783397990000,"timestamp_seconds":1783397990,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acdbe70"} 
[2026-07-07 09:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 09:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549882112001,"66":27800,"68":206,"87":10496,"24":26,"16":340846208018808832,"45":-9107263583112828928},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,87,24,16,45]} 
[2026-07-07 09:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549882112001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:51:16] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-07 09:51:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340846208018808832,"km_value":340846208018808.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107263583112828928,"description":"Unknown IO ID 45"} 
[2026-07-07 09:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549882112001,"power":27800,"unknown_68":206,"unknown_87":10496,"ignition":26,"odometer":null,"unknown_45":-9107263583112828928}} 
[2026-07-07 09:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":126258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:51:16] local.INFO: GPS data processed {"connection_id":126258,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:51:16] local.INFO: Acknowledgment sent {"connection_id":126258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:51:20] local.INFO: TCP Data received {"connection_id":125034,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125034,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:51:20] local.INFO: Processing buffer {"connection_id":125034,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:51:20] local.INFO: IMEI packet received {"connection_id":125034,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":125034,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:51:21] local.INFO: TCP Data received {"connection_id":125034,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aceb488012d0ca6400704c5400027014121..."} 
[2026-07-07 09:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aceb488012d0ca6400704c5400027014121..."} 
[2026-07-07 09:51:21] local.INFO: Processing buffer {"connection_id":125034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aceb488012d0ca6400704c5400027014121..."} 
[2026-07-07 09:51:21] local.INFO: Packet analysis {"connection_id":125034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ace"} 
[2026-07-07 09:51:21] local.INFO: Extracted packet for processing {"connection_id":125034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ace"} 
[2026-07-07 09:51:21] local.INFO: GPS Element Parsed {"raw_longitude":755803712,"raw_latitude":117753152,"longitude_deg":75.5803712,"latitude_deg":11.7753152,"altitude":39,"angle":321,"satellites":33,"speed":24,"hex_longitude":"2d0ca640","hex_latitude":"0704c540","is_valid_coordinates":true} 
[2026-07-07 09:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549901056001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23361190411370496,"note":"Value kept but may cause issues"} 
[2026-07-07 09:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912541904640538624,"note":"Value kept but may cause issues"} 
[2026-07-07 09:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783398053000,"timestamp_ms":1783398053000,"timestamp_seconds":1783398053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aceb488"} 
[2026-07-07 09:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 09:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":125034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":125034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":125034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549901056001,"66":14439,"17":206,"94":11008,"24":24,"16":23361190411370496,"45":912541904640538624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 09:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549901056001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:51:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23361190411370496,"km_value":23361190411370.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":912541904640538624,"description":"Unknown IO ID 45"} 
[2026-07-07 09:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549901056001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":912541904640538624}} 
[2026-07-07 09:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":125034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444753,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:51:21] local.INFO: GPS data processed {"connection_id":125034,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:51:21] local.INFO: Acknowledgment sent {"connection_id":125034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:51:22] local.INFO: TCP Data received {"connection_id":125029,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-07-07 09:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125029,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-07-07 09:51:22] local.INFO: Processing buffer {"connection_id":125029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-07-07 09:51:22] local.INFO: Packet analysis {"connection_id":125029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-07 09:51:22] local.INFO: Extracted packet for processing {"connection_id":125029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-07 09:51:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 09:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-07 09:51:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 09:51:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":132000,"timestamp_seconds":132,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 09:51:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 09:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125029,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125029,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 09:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125029,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 09:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 09:51:22] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 09:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":125029,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 09:51:22] local.ERROR: GPS data processing failed {"connection_id":125029,"error":"No valid data to process"} 
[2026-07-07 09:51:22] local.INFO: Acknowledgment sent {"connection_id":125029,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 09:51:33] local.INFO: TCP Data received {"connection_id":126257,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acc8208012d7d0c8005ec3ca80010005725..."} 
[2026-07-07 09:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acc8208012d7d0c8005ec3ca80010005725..."} 
[2026-07-07 09:51:33] local.INFO: Processing buffer {"connection_id":126257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acc8208012d7d0c8005ec3ca80010005725..."} 
[2026-07-07 09:51:33] local.INFO: Packet analysis {"connection_id":126257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:51:33] local.INFO: Extracted packet for processing {"connection_id":126257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763169920,"raw_latitude":99368104,"longitude_deg":76.316992,"latitude_deg":9.9368104,"altitude":16,"angle":87,"satellites":37,"speed":0,"hex_longitude":"2d7d0c80","hex_latitude":"05ec3ca8","is_valid_coordinates":true} 
[2026-07-07 09:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549864192001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009802923713861632,"note":"Value kept but may cause issues"} 
[2026-07-07 09:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783397909000,"timestamp_ms":1783397909000,"timestamp_seconds":1783397909,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acc8208"} 
[2026-07-07 09:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 09:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 09:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549864192001,"66":12624,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9009802923713861632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549864192001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:51:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:51:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009802923713861632,"description":"Unknown IO ID 45"} 
[2026-07-07 09:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549864192001,"power":12624,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9009802923713861632}} 
[2026-07-07 09:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":126257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:51:33] local.INFO: GPS data processed {"connection_id":126257,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:51:33] local.INFO: Acknowledgment sent {"connection_id":126257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:51:53] local.INFO: TCP Data received {"connection_id":125029,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acf7bc0012d19c70007207fb8002c002f09..."} 
[2026-07-07 09:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acf7bc0012d19c70007207fb8002c002f09..."} 
[2026-07-07 09:51:53] local.INFO: Processing buffer {"connection_id":125029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acf7bc0012d19c70007207fb8002c002f09..."} 
[2026-07-07 09:51:53] local.INFO: Packet analysis {"connection_id":125029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acf"} 
[2026-07-07 09:51:53] local.INFO: Extracted packet for processing {"connection_id":125029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acf"} 
[2026-07-07 09:51:53] local.INFO: GPS Element Parsed {"raw_longitude":756664064,"raw_latitude":119570360,"longitude_deg":75.6664064,"latitude_deg":11.957036,"altitude":44,"angle":47,"satellites":9,"speed":1,"hex_longitude":"2d19c700","hex_latitude":"07207fb8","is_valid_coordinates":true} 
[2026-07-07 09:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549914368001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679822135525376,"note":"Value kept but may cause issues"} 
[2026-07-07 09:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857453401923622912,"note":"Value kept but may cause issues"} 
[2026-07-07 09:51: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-07-07 09:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783398104000,"timestamp_ms":1783398104000,"timestamp_seconds":1783398104,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acf7bc0"} 
[2026-07-07 09:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 09:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 09:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 09:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549914368001,"66":14048,"121":206,"28":31744,"24":1,"16":4679822135525376,"45":1857453401923622912},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 09:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 09:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 09:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549914368001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:51:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 09:51:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 09:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4679822135525376,"km_value":4679822135525.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857453401923622912,"description":"Unknown IO ID 45"} 
[2026-07-07 09:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549914368001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1857453401923622912}} 
[2026-07-07 09:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":125029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:51:54] local.INFO: GPS data processed {"connection_id":125029,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:51:54] local.INFO: Acknowledgment sent {"connection_id":125029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:51:54] local.INFO: TCP Data received {"connection_id":125034,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acec040012d0ca1400704ca080025012d21..."} 
[2026-07-07 09:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acec040012d0ca1400704ca080025012d21..."} 
[2026-07-07 09:51:54] local.INFO: Processing buffer {"connection_id":125034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acec040012d0ca1400704ca080025012d21..."} 
[2026-07-07 09:51:54] local.INFO: Packet analysis {"connection_id":125034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ace"} 
[2026-07-07 09:51:54] local.INFO: Extracted packet for processing {"connection_id":125034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ace"} 
[2026-07-07 09:51:54] local.INFO: GPS Element Parsed {"raw_longitude":755802432,"raw_latitude":117754376,"longitude_deg":75.5802432,"latitude_deg":11.7754376,"altitude":37,"angle":301,"satellites":33,"speed":23,"hex_longitude":"2d0ca140","hex_latitude":"0704ca08","is_valid_coordinates":true} 
[2026-07-07 09:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549901568001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23361272015749120,"note":"Value kept but may cause issues"} 
[2026-07-07 09:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911486373478088704,"note":"Value kept but may cause issues"} 
[2026-07-07 09:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783398056000,"timestamp_ms":1783398056000,"timestamp_seconds":1783398056,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acec040"} 
[2026-07-07 09:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 09:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549901568001,"66":14396,"95":206,"94":10240,"24":23,"16":23361272015749120,"45":911486373478088704},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-07 09:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549901568001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:51:54] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 09:51:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 09:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23361272015749120,"km_value":23361272015749.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":911486373478088704,"description":"Unknown IO ID 45"} 
[2026-07-07 09:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549901568001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":911486373478088704}} 
[2026-07-07 09:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":125034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444756,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:51:54] local.INFO: GPS data processed {"connection_id":125034,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:51:54] local.INFO: Acknowledgment sent {"connection_id":125034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:51:57] local.INFO: TCP Data received {"connection_id":125035,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:51:57] local.INFO: Processing buffer {"connection_id":125035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:51:57] local.INFO: IMEI packet received {"connection_id":125035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":125035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:52:00] local.INFO: TCP Data received {"connection_id":124250,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:52:00] local.INFO: Processing buffer {"connection_id":124250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:52:00] local.INFO: IMEI packet received {"connection_id":124250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":124250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:52:01] local.INFO: TCP Data received {"connection_id":125035,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:52:01] local.INFO: Processing buffer {"connection_id":125035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:52:01] local.INFO: IMEI packet received {"connection_id":125035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":125035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:52:02] local.INFO: TCP Data received {"connection_id":125035,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acc8208012d7d0c8005ec3ca80010005725..."} 
[2026-07-07 09:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acc8208012d7d0c8005ec3ca80010005725..."} 
[2026-07-07 09:52:02] local.INFO: Processing buffer {"connection_id":125035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acc8208012d7d0c8005ec3ca80010005725..."} 
[2026-07-07 09:52:02] local.INFO: Packet analysis {"connection_id":125035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:52:02] local.INFO: Extracted packet for processing {"connection_id":125035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763169920,"raw_latitude":99368104,"longitude_deg":76.316992,"latitude_deg":9.9368104,"altitude":16,"angle":87,"satellites":37,"speed":0,"hex_longitude":"2d7d0c80","hex_latitude":"05ec3ca8","is_valid_coordinates":true} 
[2026-07-07 09:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549864192001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009802923713861632,"note":"Value kept but may cause issues"} 
[2026-07-07 09:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783397909000,"timestamp_ms":1783397909000,"timestamp_seconds":1783397909,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acc8208"} 
[2026-07-07 09:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:52: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-07-07 09:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 09:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549864192001,"66":12624,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9009802923713861632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549864192001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:52:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:52:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009802923713861632,"description":"Unknown IO ID 45"} 
[2026-07-07 09:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549864192001,"power":12624,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9009802923713861632}} 
[2026-07-07 09:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":125035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:52:02] local.INFO: GPS data processed {"connection_id":125035,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:52:02] local.INFO: Acknowledgment sent {"connection_id":125035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:52:05] local.INFO: TCP Data received {"connection_id":124250,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:52:05] local.INFO: Processing buffer {"connection_id":124250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:52:05] local.INFO: IMEI packet received {"connection_id":124250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":124250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:52:06] local.INFO: TCP Data received {"connection_id":124250,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ace08a8012d81954006046f70000700af27..."} 
[2026-07-07 09:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ace08a8012d81954006046f70000700af27..."} 
[2026-07-07 09:52:06] local.INFO: Processing buffer {"connection_id":124250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ace08a8012d81954006046f70000700af27..."} 
[2026-07-07 09:52:06] local.INFO: Packet analysis {"connection_id":124250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ace"} 
[2026-07-07 09:52:06] local.INFO: Extracted packet for processing {"connection_id":124250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ace"} 
[2026-07-07 09:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763467072,"raw_latitude":100953968,"longitude_deg":76.3467072,"latitude_deg":10.0953968,"altitude":7,"angle":175,"satellites":39,"speed":11,"hex_longitude":"2d819540","hex_latitude":"06046f70","is_valid_coordinates":true} 
[2026-07-07 09:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549885440001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340846646105473024,"note":"Value kept but may cause issues"} 
[2026-07-07 09:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9108248745533589504,"note":"Value kept but may cause issues"} 
[2026-07-07 09:52:06] 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-07-07 09:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783398009000,"timestamp_ms":1783398009000,"timestamp_seconds":1783398009,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ace08a8"} 
[2026-07-07 09:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 09:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549885440001,"66":27908,"192":206,"87":10496,"24":11,"16":340846646105473024,"45":-9108248745533589504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-07 09:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549885440001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:52:06] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-07 09:52:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340846646105473024,"km_value":340846646105473.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9108248745533589504,"description":"Unknown IO ID 45"} 
[2026-07-07 09:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549885440001,"power":27908,"unknown_192":206,"unknown_87":10496,"ignition":11,"odometer":null,"unknown_45":-9108248745533589504}} 
[2026-07-07 09:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":124250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:52:06] local.INFO: GPS data processed {"connection_id":124250,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:52:06] local.INFO: Acknowledgment sent {"connection_id":124250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:52:14] local.INFO: TCP Data received {"connection_id":124251,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:52:14] local.INFO: Processing buffer {"connection_id":124251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:52:14] local.INFO: IMEI packet received {"connection_id":124251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":124251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:52:16] local.INFO: TCP Data received {"connection_id":125036,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125036,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:52:16] local.INFO: Processing buffer {"connection_id":125036,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:52:16] local.INFO: IMEI packet received {"connection_id":125036,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":125036,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:52:29] local.INFO: TCP Data received {"connection_id":125029,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acf8778012d19c70007207f90002c008f09..."} 
[2026-07-07 09:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acf8778012d19c70007207f90002c008f09..."} 
[2026-07-07 09:52:29] local.INFO: Processing buffer {"connection_id":125029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acf8778012d19c70007207f90002c008f09..."} 
[2026-07-07 09:52:29] local.INFO: Packet analysis {"connection_id":125029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acf"} 
[2026-07-07 09:52:29] local.INFO: Extracted packet for processing {"connection_id":125029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acf"} 
[2026-07-07 09:52:29] local.INFO: GPS Element Parsed {"raw_longitude":756664064,"raw_latitude":119570320,"longitude_deg":75.6664064,"latitude_deg":11.957032,"altitude":44,"angle":143,"satellites":9,"speed":1,"hex_longitude":"2d19c700","hex_latitude":"07207f90","is_valid_coordinates":true} 
[2026-07-07 09:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549914624001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679826430492672,"note":"Value kept but may cause issues"} 
[2026-07-07 09:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857453401923631104,"note":"Value kept but may cause issues"} 
[2026-07-07 09:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783398107000,"timestamp_ms":1783398107000,"timestamp_seconds":1783398107,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acf8778"} 
[2026-07-07 09:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 09:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 09:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 09:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549914624001,"66":14211,"121":206,"28":31744,"24":1,"16":4679826430492672,"45":1857453401923631104},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 09:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 09:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 09:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549914624001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:52:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 09:52:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 09:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4679826430492672,"km_value":4679826430492.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857453401923631104,"description":"Unknown IO ID 45"} 
[2026-07-07 09:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549914624001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1857453401923631104}} 
[2026-07-07 09:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":125029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:52:29] local.INFO: GPS data processed {"connection_id":125029,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:52:29] local.INFO: Acknowledgment sent {"connection_id":125029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:52:33] local.INFO: TCP Data received {"connection_id":125035,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acc8208012d7d0c8005ec3ca80010005725..."} 
[2026-07-07 09:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acc8208012d7d0c8005ec3ca80010005725..."} 
[2026-07-07 09:52:33] local.INFO: Processing buffer {"connection_id":125035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acc8208012d7d0c8005ec3ca80010005725..."} 
[2026-07-07 09:52:33] local.INFO: Packet analysis {"connection_id":125035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:52:33] local.INFO: Extracted packet for processing {"connection_id":125035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763169920,"raw_latitude":99368104,"longitude_deg":76.316992,"latitude_deg":9.9368104,"altitude":16,"angle":87,"satellites":37,"speed":0,"hex_longitude":"2d7d0c80","hex_latitude":"05ec3ca8","is_valid_coordinates":true} 
[2026-07-07 09:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549864192001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009802923713861632,"note":"Value kept but may cause issues"} 
[2026-07-07 09:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783397909000,"timestamp_ms":1783397909000,"timestamp_seconds":1783397909,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acc8208"} 
[2026-07-07 09:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 09:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 09:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549864192001,"66":12624,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9009802923713861632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549864192001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:52:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:52:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009802923713861632,"description":"Unknown IO ID 45"} 
[2026-07-07 09:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549864192001,"power":12624,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9009802923713861632}} 
[2026-07-07 09:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":125035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:52:33] local.INFO: GPS data processed {"connection_id":125035,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:52:33] local.INFO: Acknowledgment sent {"connection_id":125035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:52:44] local.INFO: TCP Data received {"connection_id":124250,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ace2018012d8194c006046868000700c228..."} 
[2026-07-07 09:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ace2018012d8194c006046868000700c228..."} 
[2026-07-07 09:52:44] local.INFO: Processing buffer {"connection_id":124250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ace2018012d8194c006046868000700c228..."} 
[2026-07-07 09:52:44] local.INFO: Packet analysis {"connection_id":124250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ace"} 
[2026-07-07 09:52:44] local.INFO: Extracted packet for processing {"connection_id":124250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ace"} 
[2026-07-07 09:52:44] local.INFO: GPS Element Parsed {"raw_longitude":763466944,"raw_latitude":100952168,"longitude_deg":76.3466944,"latitude_deg":10.0952168,"altitude":7,"angle":194,"satellites":40,"speed":13,"hex_longitude":"2d8194c0","hex_latitude":"06046868","is_valid_coordinates":true} 
[2026-07-07 09:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549890304001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340846736299786240,"note":"Value kept but may cause issues"} 
[2026-07-07 09:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9109304276698566656,"note":"Value kept but may cause issues"} 
[2026-07-07 09:52:44] 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-07-07 09:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783398015000,"timestamp_ms":1783398015000,"timestamp_seconds":1783398015,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ace2018"} 
[2026-07-07 09:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":4,"data_length":795,"current_offset":136} 
[2026-07-07 09:52: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-07-07 09:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549890304001,"66":27843,"192":206,"87":10496,"24":13,"16":340846736299786240,"45":-9109304276698566656},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-07 09:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549890304001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:52:44] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-07 09:52:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340846736299786240,"km_value":340846736299786.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9109304276698566656,"description":"Unknown IO ID 45"} 
[2026-07-07 09:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549890304001,"power":27843,"unknown_192":206,"unknown_87":10496,"ignition":13,"odometer":null,"unknown_45":-9109304276698566656}} 
[2026-07-07 09:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":124250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:52:44] local.INFO: GPS data processed {"connection_id":124250,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:52:44] local.INFO: Acknowledgment sent {"connection_id":124250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:52:45] local.INFO: TCP Data received {"connection_id":125036,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125036,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:52:45] local.INFO: Processing buffer {"connection_id":125036,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:52:45] local.INFO: IMEI packet received {"connection_id":125036,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":125036,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:52:49] local.INFO: TCP Data received {"connection_id":125036,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125036,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:52:49] local.INFO: Processing buffer {"connection_id":125036,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:52:49] local.INFO: IMEI packet received {"connection_id":125036,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":125036,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:52:50] local.INFO: TCP Data received {"connection_id":125036,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125036,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:52:50] local.INFO: Processing buffer {"connection_id":125036,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:52:50] local.INFO: IMEI packet received {"connection_id":125036,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":125036,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:52:56] local.INFO: TCP Data received {"connection_id":124330,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:52:56] local.INFO: Processing buffer {"connection_id":124330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:52:56] local.INFO: IMEI packet received {"connection_id":124330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":124330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:52:59] local.INFO: TCP Data received {"connection_id":126259,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:52:59] local.INFO: Processing buffer {"connection_id":126259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:52:59] local.INFO: IMEI packet received {"connection_id":126259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":126259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:53:00] local.INFO: TCP Data received {"connection_id":126260,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126260,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:53:00] local.INFO: Processing buffer {"connection_id":126260,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:53:00] local.INFO: IMEI packet received {"connection_id":126260,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":126260,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:53:01] local.INFO: TCP Data received {"connection_id":125029,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad08178012d19ad4007208538001c014c0a..."} 
[2026-07-07 09:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad08178012d19ad4007208538001c014c0a..."} 
[2026-07-07 09:53:01] local.INFO: Processing buffer {"connection_id":125029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad08178012d19ad4007208538001c014c0a..."} 
[2026-07-07 09:53:01] local.INFO: Packet analysis {"connection_id":125029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad0"} 
[2026-07-07 09:53:01] local.INFO: Extracted packet for processing {"connection_id":125029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad0"} 
[2026-07-07 09:53:01] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119571768,"longitude_deg":75.6657472,"latitude_deg":11.9571768,"altitude":28,"angle":332,"satellites":10,"speed":15,"hex_longitude":"2d19ad40","hex_latitude":"07208538","is_valid_coordinates":true} 
[2026-07-07 09:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549931520001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4680234452385792,"note":"Value kept but may cause issues"} 
[2026-07-07 09:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506141184,"note":"Value kept but may cause issues"} 
[2026-07-07 09:53: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-07-07 09:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783398171000,"timestamp_ms":1783398171000,"timestamp_seconds":1783398171,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad08178"} 
[2026-07-07 09:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 09:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 09:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 09:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549931520001,"66":14363,"121":206,"28":31744,"24":15,"16":4680234452385792,"45":1850416527506141184},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 09:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 09:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 09:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549931520001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:53:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 09:53:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 09:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4680234452385792,"km_value":4680234452385.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506141184,"description":"Unknown IO ID 45"} 
[2026-07-07 09:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549931520001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1850416527506141184}} 
[2026-07-07 09:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":125029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:53:01] local.INFO: GPS data processed {"connection_id":125029,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:53:01] local.INFO: Acknowledgment sent {"connection_id":125029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:53:01] local.INFO: TCP Data received {"connection_id":124330,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:53:01] local.INFO: Processing buffer {"connection_id":124330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:53:01] local.INFO: IMEI packet received {"connection_id":124330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":124330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:53:01] local.INFO: TCP Data received {"connection_id":126259,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:53:01] local.INFO: Processing buffer {"connection_id":126259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:53:01] local.INFO: IMEI packet received {"connection_id":126259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":126259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:53:02] local.INFO: TCP Data received {"connection_id":124330,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3acc8208012d7d0c8005ec3ca80010005725..."} 
[2026-07-07 09:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3acc8208012d7d0c8005ec3ca80010005725..."} 
[2026-07-07 09:53:02] local.INFO: Processing buffer {"connection_id":124330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3acc8208012d7d0c8005ec3ca80010005725..."} 
[2026-07-07 09:53:02] local.INFO: Packet analysis {"connection_id":124330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:53:02] local.INFO: Extracted packet for processing {"connection_id":124330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3acc"} 
[2026-07-07 09:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763169920,"raw_latitude":99368104,"longitude_deg":76.316992,"latitude_deg":9.9368104,"altitude":16,"angle":87,"satellites":37,"speed":0,"hex_longitude":"2d7d0c80","hex_latitude":"05ec3ca8","is_valid_coordinates":true} 
[2026-07-07 09:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549864192001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009802923713861632,"note":"Value kept but may cause issues"} 
[2026-07-07 09:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783397909000,"timestamp_ms":1783397909000,"timestamp_seconds":1783397909,"priority":1,"record_length":96,"hex_timestamp":"0000019f3acc8208"} 
[2026-07-07 09:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:53: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-07-07 09:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 09:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549864192001,"66":12624,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9009802923713861632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549864192001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:53:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:53:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009802923713861632,"description":"Unknown IO ID 45"} 
[2026-07-07 09:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549864192001,"power":12624,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9009802923713861632}} 
[2026-07-07 09:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":124330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:53:03] local.INFO: GPS data processed {"connection_id":124330,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:53:03] local.INFO: Acknowledgment sent {"connection_id":124330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:53:04] local.INFO: TCP Data received {"connection_id":126259,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:53:04] local.INFO: Processing buffer {"connection_id":126259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:53:04] local.INFO: IMEI packet received {"connection_id":126259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":126259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:53:05] local.INFO: TCP Data received {"connection_id":126259,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ace6280012d818cc0060444f8000700c32a..."} 
[2026-07-07 09:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ace6280012d818cc0060444f8000700c32a..."} 
[2026-07-07 09:53:05] local.INFO: Processing buffer {"connection_id":126259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ace6280012d818cc0060444f8000700c32a..."} 
[2026-07-07 09:53:05] local.INFO: Packet analysis {"connection_id":126259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ace"} 
[2026-07-07 09:53:05] local.INFO: Extracted packet for processing {"connection_id":126259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ace"} 
[2026-07-07 09:53:05] local.INFO: GPS Element Parsed {"raw_longitude":763464896,"raw_latitude":100943096,"longitude_deg":76.3464896,"latitude_deg":10.0943096,"altitude":7,"angle":195,"satellites":42,"speed":16,"hex_longitude":"2d818cc0","hex_latitude":"060444f8","is_valid_coordinates":true} 
[2026-07-07 09:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549891840001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340847187271352320,"note":"Value kept but may cause issues"} 
[2026-07-07 09:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9109445014187382784,"note":"Value kept but may cause issues"} 
[2026-07-07 09:53:05] 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-07-07 09:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783398032000,"timestamp_ms":1783398032000,"timestamp_seconds":1783398032,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ace6280"} 
[2026-07-07 09:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 09:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549891840001,"66":27800,"192":206,"87":10496,"24":16,"16":340847187271352320,"45":-9109445014187382784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-07 09:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549891840001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:53:05] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-07 09:53:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340847187271352320,"km_value":340847187271352.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9109445014187382784,"description":"Unknown IO ID 45"} 
[2026-07-07 09:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549891840001,"power":27800,"unknown_192":206,"unknown_87":10496,"ignition":16,"odometer":null,"unknown_45":-9109445014187382784}} 
[2026-07-07 09:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":126259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:53:05] local.INFO: GPS data processed {"connection_id":126259,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:53:05] local.INFO: Acknowledgment sent {"connection_id":126259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:53:22] local.INFO: TCP Data received {"connection_id":126261,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:53:22] local.INFO: Processing buffer {"connection_id":126261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:53:22] local.INFO: IMEI packet received {"connection_id":126261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 09:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":126261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:53:27] local.INFO: TCP Data received {"connection_id":126261,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:53:27] local.INFO: Processing buffer {"connection_id":126261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:53:27] local.INFO: IMEI packet received {"connection_id":126261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 09:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":126261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:53:28] local.INFO: TCP Data received {"connection_id":126261,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad08948012d19ad00072088f8001b01590a..."} 
[2026-07-07 09:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad08948012d19ad00072088f8001b01590a..."} 
[2026-07-07 09:53:28] local.INFO: Processing buffer {"connection_id":126261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad08948012d19ad00072088f8001b01590a..."} 
[2026-07-07 09:53:28] local.INFO: Packet analysis {"connection_id":126261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad0"} 
[2026-07-07 09:53:28] local.INFO: Extracted packet for processing {"connection_id":126261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad0"} 
[2026-07-07 09:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119572728,"longitude_deg":75.6657408,"latitude_deg":11.9572728,"altitude":27,"angle":345,"satellites":10,"speed":18,"hex_longitude":"2d19ad00","hex_latitude":"072088f8","is_valid_coordinates":true} 
[2026-07-07 09:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549931776001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4680281697026048,"note":"Value kept but may cause issues"} 
[2026-07-07 09:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421273692160,"note":"Value kept but may cause issues"} 
[2026-07-07 09:53: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-07-07 09:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783398173000,"timestamp_ms":1783398173000,"timestamp_seconds":1783398173,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad08948"} 
[2026-07-07 09:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-07 09:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 09:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 09:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549931776001,"66":14189,"121":206,"28":31744,"24":18,"16":4680281697026048,"45":1850205421273692160},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 09:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 09:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 09:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549931776001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:53:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 09:53:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 09:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4680281697026048,"km_value":4680281697026.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421273692160,"description":"Unknown IO ID 45"} 
[2026-07-07 09:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549931776001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1850205421273692160}} 
[2026-07-07 09:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":126261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:53:28] local.INFO: GPS data processed {"connection_id":126261,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:53:28] local.INFO: Acknowledgment sent {"connection_id":126261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:53:34] local.INFO: TCP Data received {"connection_id":124330,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:53:34] local.INFO: Processing buffer {"connection_id":124330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:53:34] local.INFO: Packet analysis {"connection_id":124330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:53:34] local.INFO: Extracted packet for processing {"connection_id":124330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:53:34] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 09:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549864704001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010717717388109824,"note":"Value kept but may cause issues"} 
[2026-07-07 09:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783398210000,"timestamp_ms":1783398210000,"timestamp_seconds":1783398210,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad119d0"} 
[2026-07-07 09:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 09:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 09:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549864704001,"66":12798,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010717717388109824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549864704001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:53:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:53:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010717717388109824,"description":"Unknown IO ID 45"} 
[2026-07-07 09:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549864704001,"power":12798,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010717717388109824}} 
[2026-07-07 09:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":124330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:53:34] local.INFO: GPS data processed {"connection_id":124330,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:53:34] local.INFO: Acknowledgment sent {"connection_id":124330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:53:37] local.INFO: TCP Data received {"connection_id":126259,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad03740012d80d1800602e028000800ce24..."} 
[2026-07-07 09:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad03740012d80d1800602e028000800ce24..."} 
[2026-07-07 09:53:37] local.INFO: Processing buffer {"connection_id":126259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad03740012d80d1800602e028000800ce24..."} 
[2026-07-07 09:53:37] local.INFO: Packet analysis {"connection_id":126259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad0"} 
[2026-07-07 09:53:37] local.INFO: Extracted packet for processing {"connection_id":126259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad0"} 
[2026-07-07 09:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763416960,"raw_latitude":100851752,"longitude_deg":76.341696,"latitude_deg":10.0851752,"altitude":8,"angle":206,"satellites":36,"speed":43,"hex_longitude":"2d80d180","hex_latitude":"0602e028","is_valid_coordinates":true} 
[2026-07-07 09:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549924608001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340852195203219456,"note":"Value kept but may cause issues"} 
[2026-07-07 09:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9159266085088786432,"note":"Value kept but may cause issues"} 
[2026-07-07 09:53:37] 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-07-07 09:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783398152000,"timestamp_ms":1783398152000,"timestamp_seconds":1783398152,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad03740"} 
[2026-07-07 09:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:53: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-07-07 09:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 09:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549924608001,"66":27745,"70":206,"87":10496,"24":43,"16":340852195203219456,"45":-9159266085088786432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-07-07 09:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549924608001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:53:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-07 09:53:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340852195203219456,"km_value":340852195203219.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9159266085088786432,"description":"Unknown IO ID 45"} 
[2026-07-07 09:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549924608001,"power":27745,"unknown_70":206,"unknown_87":10496,"ignition":43,"odometer":null,"unknown_45":-9159266085088786432}} 
[2026-07-07 09:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":126259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:53:37] local.INFO: GPS data processed {"connection_id":126259,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:53:37] local.INFO: Acknowledgment sent {"connection_id":126259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:53:59] local.INFO: TCP Data received {"connection_id":125038,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:53:59] local.INFO: Processing buffer {"connection_id":125038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:53:59] local.INFO: IMEI packet received {"connection_id":125038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":125038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:54:00] local.INFO: TCP Data received {"connection_id":125038,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:54:00] local.INFO: Processing buffer {"connection_id":125038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:54:00] local.INFO: IMEI packet received {"connection_id":125038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":125038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:54:01] local.INFO: TCP Data received {"connection_id":126261,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad16020012d1942000720b0a0001e01240b..."} 
[2026-07-07 09:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad16020012d1942000720b0a0001e01240b..."} 
[2026-07-07 09:54:01] local.INFO: Processing buffer {"connection_id":126261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad16020012d1942000720b0a0001e01240b..."} 
[2026-07-07 09:54:01] local.INFO: Packet analysis {"connection_id":126261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:54:01] local.INFO: Extracted packet for processing {"connection_id":126261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:54:01] local.INFO: GPS Element Parsed {"raw_longitude":756630016,"raw_latitude":119582880,"longitude_deg":75.6630016,"latitude_deg":11.958288,"altitude":30,"angle":292,"satellites":11,"speed":39,"hex_longitude":"2d194200","hex_latitude":"0720b0a0","is_valid_coordinates":true} 
[2026-07-07 09:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549945344001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4682265971916800,"note":"Value kept but may cause issues"} 
[2026-07-07 09:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824098617186363392,"note":"Value kept but may cause issues"} 
[2026-07-07 09:54: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-07-07 09:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783398228000,"timestamp_ms":1783398228000,"timestamp_seconds":1783398228,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad16020"} 
[2026-07-07 09:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 09:54: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-07-07 09:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 09:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 09:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549945344001,"66":14374,"121":206,"28":31744,"24":39,"16":4682265971916800,"45":1824098617186363392},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 09:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 09:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 09:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549945344001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:54:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 09:54:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 09:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4682265971916800,"km_value":4682265971916.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824098617186363392,"description":"Unknown IO ID 45"} 
[2026-07-07 09:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549945344001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1824098617186363392}} 
[2026-07-07 09:54:01] local.INFO: TCP Data received {"connection_id":125037,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:54:01] local.INFO: Processing buffer {"connection_id":125037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:54:01] local.INFO: IMEI packet received {"connection_id":125037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":125037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":126261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:54:01] local.INFO: GPS data processed {"connection_id":126261,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:54:01] local.INFO: Acknowledgment sent {"connection_id":126261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:54:04] local.INFO: TCP Data received {"connection_id":125038,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:54:04] local.INFO: Processing buffer {"connection_id":125038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:54:04] local.INFO: IMEI packet received {"connection_id":125038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":125038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:54:05] local.INFO: TCP Data received {"connection_id":125038,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad05a68012d80bec00602be58000900d02a..."} 
[2026-07-07 09:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad05a68012d80bec00602be58000900d02a..."} 
[2026-07-07 09:54:05] local.INFO: Processing buffer {"connection_id":125038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad05a68012d80bec00602be58000900d02a..."} 
[2026-07-07 09:54:05] local.INFO: Packet analysis {"connection_id":125038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad0"} 
[2026-07-07 09:54:05] local.INFO: Extracted packet for processing {"connection_id":125038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad0"} 
[2026-07-07 09:54:05] local.INFO: GPS Element Parsed {"raw_longitude":763412160,"raw_latitude":100843096,"longitude_deg":76.341216,"latitude_deg":10.0843096,"altitude":9,"angle":208,"satellites":42,"speed":41,"hex_longitude":"2d80bec0","hex_latitude":"0602be58","is_valid_coordinates":true} 
[2026-07-07 09:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549926912001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340852676239556608,"note":"Value kept but may cause issues"} 
[2026-07-07 09:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9164403003415844864,"note":"Value kept but may cause issues"} 
[2026-07-07 09:54:05] 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-07-07 09:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783398161000,"timestamp_ms":1783398161000,"timestamp_seconds":1783398161,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad05a68"} 
[2026-07-07 09:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 09:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549926912001,"66":28050,"70":206,"87":10496,"24":41,"16":340852676239556608,"45":-9164403003415844864},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-07-07 09:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549926912001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:54:06] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-07 09:54:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340852676239556608,"km_value":340852676239556.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9164403003415844864,"description":"Unknown IO ID 45"} 
[2026-07-07 09:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549926912001,"power":28050,"unknown_70":206,"unknown_87":10496,"ignition":41,"odometer":null,"unknown_45":-9164403003415844864}} 
[2026-07-07 09:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":125038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:54:06] local.INFO: GPS data processed {"connection_id":125038,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:54:06] local.INFO: Acknowledgment sent {"connection_id":125038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:54:06] local.INFO: TCP Data received {"connection_id":125037,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:54:06] local.INFO: Processing buffer {"connection_id":125037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:54:06] local.INFO: IMEI packet received {"connection_id":125037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":125037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:54:07] local.INFO: TCP Data received {"connection_id":125037,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:54:07] local.INFO: Processing buffer {"connection_id":125037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:54:07] local.INFO: Packet analysis {"connection_id":125037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:54:07] local.INFO: Extracted packet for processing {"connection_id":125037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:54:07] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 09:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549864704001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010717717388109824,"note":"Value kept but may cause issues"} 
[2026-07-07 09:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783398210000,"timestamp_ms":1783398210000,"timestamp_seconds":1783398210,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad119d0"} 
[2026-07-07 09:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 09:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 09:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:54: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-07-07 09:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549864704001,"66":12798,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010717717388109824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549864704001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:54:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:54:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010717717388109824,"description":"Unknown IO ID 45"} 
[2026-07-07 09:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549864704001,"power":12798,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010717717388109824}} 
[2026-07-07 09:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":125037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:54:07] local.INFO: GPS data processed {"connection_id":125037,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:54:07] local.INFO: Acknowledgment sent {"connection_id":125037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:54:32] local.INFO: TCP Data received {"connection_id":126261,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad16bd8012d1937800720b730001c012f0b..."} 
[2026-07-07 09:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad16bd8012d1937800720b730001c012f0b..."} 
[2026-07-07 09:54:32] local.INFO: Processing buffer {"connection_id":126261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad16bd8012d1937800720b730001c012f0b..."} 
[2026-07-07 09:54:32] local.INFO: Packet analysis {"connection_id":126261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:54:32] local.INFO: Extracted packet for processing {"connection_id":126261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:54:32] local.INFO: GPS Element Parsed {"raw_longitude":756627328,"raw_latitude":119584560,"longitude_deg":75.6627328,"latitude_deg":11.958456,"altitude":28,"angle":303,"satellites":11,"speed":41,"hex_longitude":"2d193780","hex_latitude":"0720b730","is_valid_coordinates":true} 
[2026-07-07 09:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549946368001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4682416295772160,"note":"Value kept but may cause issues"} 
[2026-07-07 09:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820017230024318976,"note":"Value kept but may cause issues"} 
[2026-07-07 09:54: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-07-07 09:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783398231000,"timestamp_ms":1783398231000,"timestamp_seconds":1783398231,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad16bd8"} 
[2026-07-07 09:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 09:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 09:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 09:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549946368001,"66":14428,"121":206,"28":31744,"24":41,"16":4682416295772160,"45":1820017230024318976},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 09:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 09:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 09:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549946368001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:54:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 09:54:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 09:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4682416295772160,"km_value":4682416295772.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820017230024318976,"description":"Unknown IO ID 45"} 
[2026-07-07 09:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549946368001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1820017230024318976}} 
[2026-07-07 09:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":126261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:54:32] local.INFO: GPS data processed {"connection_id":126261,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:54:32] local.INFO: Acknowledgment sent {"connection_id":126261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:54:38] local.INFO: TCP Data received {"connection_id":125038,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad07d90012d80ad4006029f30000800ce2c..."} 
[2026-07-07 09:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad07d90012d80ad4006029f30000800ce2c..."} 
[2026-07-07 09:54:38] local.INFO: Processing buffer {"connection_id":125038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad07d90012d80ad4006029f30000800ce2c..."} 
[2026-07-07 09:54:38] local.INFO: Packet analysis {"connection_id":125038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad0"} 
[2026-07-07 09:54:38] local.INFO: Extracted packet for processing {"connection_id":125038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad0"} 
[2026-07-07 09:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763407680,"raw_latitude":100835120,"longitude_deg":76.340768,"latitude_deg":10.083512,"altitude":8,"angle":206,"satellites":44,"speed":43,"hex_longitude":"2d80ad40","hex_latitude":"06029f30","is_valid_coordinates":true} 
[2026-07-07 09:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549929216001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340853118621188096,"note":"Value kept but may cause issues"} 
[2026-07-07 09:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9169680659231385600,"note":"Value kept but may cause issues"} 
[2026-07-07 09:54: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-07-07 09:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783398170000,"timestamp_ms":1783398170000,"timestamp_seconds":1783398170,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad07d90"} 
[2026-07-07 09:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:54: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-07-07 09: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 09:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549929216001,"66":27800,"70":206,"87":10496,"24":43,"16":340853118621188096,"45":-9169680659231385600},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-07-07 09:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549929216001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:54:38] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-07 09:54:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340853118621188096,"km_value":340853118621188.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9169680659231385600,"description":"Unknown IO ID 45"} 
[2026-07-07 09:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549929216001,"power":27800,"unknown_70":206,"unknown_87":10496,"ignition":43,"odometer":null,"unknown_45":-9169680659231385600}} 
[2026-07-07 09:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":125038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:54:38] local.INFO: GPS data processed {"connection_id":125038,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:54:38] local.INFO: Acknowledgment sent {"connection_id":125038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:54:43] local.INFO: TCP Data received {"connection_id":125037,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:54:43] local.INFO: Processing buffer {"connection_id":125037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:54:43] local.INFO: Packet analysis {"connection_id":125037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:54:43] local.INFO: Extracted packet for processing {"connection_id":125037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:54:43] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 09:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549864704001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010717717388109824,"note":"Value kept but may cause issues"} 
[2026-07-07 09:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783398210000,"timestamp_ms":1783398210000,"timestamp_seconds":1783398210,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad119d0"} 
[2026-07-07 09:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:54: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-07-07 09:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 09:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:54: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-07-07 09:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549864704001,"66":12798,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010717717388109824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549864704001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:54:43] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:54:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010717717388109824,"description":"Unknown IO ID 45"} 
[2026-07-07 09:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549864704001,"power":12798,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010717717388109824}} 
[2026-07-07 09:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":125037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:54:43] local.INFO: GPS data processed {"connection_id":125037,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:54:43] local.INFO: Acknowledgment sent {"connection_id":125037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:54:56] local.INFO: TCP Data received {"connection_id":124333,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:54:56] local.INFO: Processing buffer {"connection_id":124333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:54:56] local.INFO: IMEI packet received {"connection_id":124333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":124333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:54:59] local.INFO: TCP Data received {"connection_id":124334,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:54:59] local.INFO: Processing buffer {"connection_id":124334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:54:59] local.INFO: IMEI packet received {"connection_id":124334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":124334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:55:01] local.INFO: TCP Data received {"connection_id":124333,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:55:01] local.INFO: Processing buffer {"connection_id":124333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:55:01] local.INFO: IMEI packet received {"connection_id":124333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":124333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:55:01] local.INFO: TCP Data received {"connection_id":124334,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:55:01] local.INFO: Processing buffer {"connection_id":124334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:55:01] local.INFO: IMEI packet received {"connection_id":124334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":124334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:55:02] local.INFO: TCP Data received {"connection_id":124333,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:55:02] local.INFO: Processing buffer {"connection_id":124333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:55:02] local.INFO: Packet analysis {"connection_id":124333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:55:02] local.INFO: Extracted packet for processing {"connection_id":124333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:55:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 09:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549864704001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010717717388109824,"note":"Value kept but may cause issues"} 
[2026-07-07 09:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783398210000,"timestamp_ms":1783398210000,"timestamp_seconds":1783398210,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad119d0"} 
[2026-07-07 09:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:55: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-07-07 09:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 09:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549864704001,"66":12798,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010717717388109824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549864704001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:55:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:55:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010717717388109824,"description":"Unknown IO ID 45"} 
[2026-07-07 09:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549864704001,"power":12798,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010717717388109824}} 
[2026-07-07 09:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":124333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:55:02] local.INFO: GPS data processed {"connection_id":124333,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:55:02] local.INFO: Acknowledgment sent {"connection_id":124333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:55:04] local.INFO: TCP Data received {"connection_id":126261,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad24a80012d18c54007214370003c01610c..."} 
[2026-07-07 09:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad24a80012d18c54007214370003c01610c..."} 
[2026-07-07 09:55:04] local.INFO: Processing buffer {"connection_id":126261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad24a80012d18c54007214370003c01610c..."} 
[2026-07-07 09:55:04] local.INFO: Packet analysis {"connection_id":126261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad2"} 
[2026-07-07 09:55:04] local.INFO: Extracted packet for processing {"connection_id":126261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad2"} 
[2026-07-07 09:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119620464,"longitude_deg":75.659808,"latitude_deg":11.9620464,"altitude":60,"angle":353,"satellites":12,"speed":34,"hex_longitude":"2d18c540","hex_latitude":"07214370","is_valid_coordinates":true} 
[2026-07-07 09:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549961216001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4684821477457920,"note":"Value kept but may cause issues"} 
[2026-07-07 09:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785395807898109952,"note":"Value kept but may cause issues"} 
[2026-07-07 09:55: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-07-07 09:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783398288000,"timestamp_ms":1783398288000,"timestamp_seconds":1783398288,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad24a80"} 
[2026-07-07 09:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-07 09:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 09:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 09:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549961216001,"66":14515,"121":206,"28":31744,"24":34,"16":4684821477457920,"45":1785395807898109952},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 09:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 09:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 09:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549961216001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:55:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 09:55:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 09:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4684821477457920,"km_value":4684821477457.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785395807898109952,"description":"Unknown IO ID 45"} 
[2026-07-07 09:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549961216001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1785395807898109952}} 
[2026-07-07 09:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":126261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:55:04] local.INFO: GPS data processed {"connection_id":126261,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:55:04] local.INFO: Acknowledgment sent {"connection_id":126261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:55:05] local.INFO: TCP Data received {"connection_id":124334,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:55:05] local.INFO: Processing buffer {"connection_id":124334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:55:05] local.INFO: IMEI packet received {"connection_id":124334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":124334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:55:06] local.INFO: TCP Data received {"connection_id":124334,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad0a0b8012d809b4006027da0000800cf2a..."} 
[2026-07-07 09:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad0a0b8012d809b4006027da0000800cf2a..."} 
[2026-07-07 09:55:06] local.INFO: Processing buffer {"connection_id":124334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad0a0b8012d809b4006027da0000800cf2a..."} 
[2026-07-07 09:55:06] local.INFO: Packet analysis {"connection_id":124334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad0"} 
[2026-07-07 09:55:06] local.INFO: Extracted packet for processing {"connection_id":124334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad0"} 
[2026-07-07 09:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763403072,"raw_latitude":100826528,"longitude_deg":76.3403072,"latitude_deg":10.0826528,"altitude":8,"angle":207,"satellites":42,"speed":42,"hex_longitude":"2d809b40","hex_latitude":"06027da0","is_valid_coordinates":true} 
[2026-07-07 09:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549931520001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340853586772623360,"note":"Value kept but may cause issues"} 
[2026-07-07 09:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174606471325863936,"note":"Value kept but may cause issues"} 
[2026-07-07 09:55:06] 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-07-07 09:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783398179000,"timestamp_ms":1783398179000,"timestamp_seconds":1783398179,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad0a0b8"} 
[2026-07-07 09:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:55: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-07-07 09:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 09:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549931520001,"66":27767,"70":206,"87":10496,"24":42,"16":340853586772623360,"45":-9174606471325863936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-07-07 09:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549931520001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:55:06] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-07 09:55:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340853586772623360,"km_value":340853586772623.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174606471325863936,"description":"Unknown IO ID 45"} 
[2026-07-07 09:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549931520001,"power":27767,"unknown_70":206,"unknown_87":10496,"ignition":42,"odometer":null,"unknown_45":-9174606471325863936}} 
[2026-07-07 09:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":124334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:55:06] local.INFO: GPS data processed {"connection_id":124334,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:55:06] local.INFO: Acknowledgment sent {"connection_id":124334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:55:33] local.INFO: TCP Data received {"connection_id":124333,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:55:33] local.INFO: Processing buffer {"connection_id":124333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:55:33] local.INFO: Packet analysis {"connection_id":124333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:55:33] local.INFO: Extracted packet for processing {"connection_id":124333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 09:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549864704001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010717717388109824,"note":"Value kept but may cause issues"} 
[2026-07-07 09:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783398210000,"timestamp_ms":1783398210000,"timestamp_seconds":1783398210,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad119d0"} 
[2026-07-07 09:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 09:55: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":80,"data_length":795,"current_offset":136} 
[2026-07-07 09:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549864704001,"66":12798,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010717717388109824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549864704001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:55:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:55:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010717717388109824,"description":"Unknown IO ID 45"} 
[2026-07-07 09:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549864704001,"power":12798,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010717717388109824}} 
[2026-07-07 09:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":124333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:55:33] local.INFO: GPS data processed {"connection_id":124333,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:55:33] local.INFO: Acknowledgment sent {"connection_id":124333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:55:36] local.INFO: TCP Data received {"connection_id":126261,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad25e08012d18c2c007215358004001530c..."} 
[2026-07-07 09:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad25e08012d18c2c007215358004001530c..."} 
[2026-07-07 09:55:36] local.INFO: Processing buffer {"connection_id":126261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad25e08012d18c2c007215358004001530c..."} 
[2026-07-07 09:55:36] local.INFO: Packet analysis {"connection_id":126261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad2"} 
[2026-07-07 09:55:36] local.INFO: Extracted packet for processing {"connection_id":126261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad2"} 
[2026-07-07 09:55:36] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119624536,"longitude_deg":75.659744,"latitude_deg":11.9624536,"altitude":64,"angle":339,"satellites":12,"speed":32,"hex_longitude":"2d18c2c0","hex_latitude":"07215358","is_valid_coordinates":true} 
[2026-07-07 09:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549961728001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4685019045953536,"note":"Value kept but may cause issues"} 
[2026-07-07 09:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226689286144,"note":"Value kept but may cause issues"} 
[2026-07-07 09:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783398293000,"timestamp_ms":1783398293000,"timestamp_seconds":1783398293,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad25e08"} 
[2026-07-07 09:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 09:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 09:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 09:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549961728001,"66":14515,"121":206,"28":31744,"24":32,"16":4685019045953536,"45":1784903226689286144},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 09:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 09:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 09:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549961728001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:55:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 09:55:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 09:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4685019045953536,"km_value":4685019045953.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226689286144,"description":"Unknown IO ID 45"} 
[2026-07-07 09:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549961728001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1784903226689286144}} 
[2026-07-07 09:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":126261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:55:36] local.INFO: GPS data processed {"connection_id":126261,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:55:36] local.INFO: Acknowledgment sent {"connection_id":126261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:55:37] local.INFO: TCP Data received {"connection_id":124334,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad0c3e0012d808b8006025c78000600cb2b..."} 
[2026-07-07 09:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad0c3e0012d808b8006025c78000600cb2b..."} 
[2026-07-07 09:55:37] local.INFO: Processing buffer {"connection_id":124334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad0c3e0012d808b8006025c78000600cb2b..."} 
[2026-07-07 09:55:37] local.INFO: Packet analysis {"connection_id":124334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad0"} 
[2026-07-07 09:55:37] local.INFO: Extracted packet for processing {"connection_id":124334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad0"} 
[2026-07-07 09:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763399040,"raw_latitude":100818040,"longitude_deg":76.339904,"latitude_deg":10.081804,"altitude":6,"angle":203,"satellites":43,"speed":40,"hex_longitude":"2d808b80","hex_latitude":"06025c78","is_valid_coordinates":true} 
[2026-07-07 09:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549933824001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340854042039156736,"note":"Value kept but may cause issues"} 
[2026-07-07 09:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9179673020908855296,"note":"Value kept but may cause issues"} 
[2026-07-07 09:55:37] 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-07-07 09:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783398188000,"timestamp_ms":1783398188000,"timestamp_seconds":1783398188,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad0c3e0"} 
[2026-07-07 09:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549933824001,"66":27767,"70":206,"87":10496,"24":40,"16":340854042039156736,"45":-9179673020908855296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-07-07 09:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549933824001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:55:37] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-07 09:55:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-07-07 09:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340854042039156736,"km_value":340854042039156.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9179673020908855296,"description":"Unknown IO ID 45"} 
[2026-07-07 09:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549933824001,"power":27767,"unknown_70":206,"unknown_87":10496,"ignition":40,"odometer":null,"unknown_45":-9179673020908855296}} 
[2026-07-07 09:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":124334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:55:37] local.INFO: GPS data processed {"connection_id":124334,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:55:37] local.INFO: Acknowledgment sent {"connection_id":124334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:55:55] local.INFO: TCP Data received {"connection_id":124252,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:55:55] local.INFO: Processing buffer {"connection_id":124252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:55:55] local.INFO: IMEI packet received {"connection_id":124252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":124252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:55:59] local.INFO: TCP Data received {"connection_id":124253,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:55:59] local.INFO: Processing buffer {"connection_id":124253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:55:59] local.INFO: IMEI packet received {"connection_id":124253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":124253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:56:00] local.INFO: TCP Data received {"connection_id":124253,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:56:00] local.INFO: Processing buffer {"connection_id":124253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:56:00] local.INFO: IMEI packet received {"connection_id":124253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":124253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:56:01] local.INFO: TCP Data received {"connection_id":124252,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:56:01] local.INFO: Processing buffer {"connection_id":124252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:56:01] local.INFO: IMEI packet received {"connection_id":124252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":124252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:56:02] local.INFO: TCP Data received {"connection_id":124252,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:56:02] local.INFO: Processing buffer {"connection_id":124252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:56:02] local.INFO: Packet analysis {"connection_id":124252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:56:02] local.INFO: Extracted packet for processing {"connection_id":124252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 09:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549864704001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010717717388109824,"note":"Value kept but may cause issues"} 
[2026-07-07 09:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783398210000,"timestamp_ms":1783398210000,"timestamp_seconds":1783398210,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad119d0"} 
[2026-07-07 09:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:56: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-07-07 09:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 09:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549864704001,"66":12798,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010717717388109824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549864704001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:56:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:56:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010717717388109824,"description":"Unknown IO ID 45"} 
[2026-07-07 09:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549864704001,"power":12798,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010717717388109824}} 
[2026-07-07 09:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":124252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:56:02] local.INFO: GPS data processed {"connection_id":124252,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:56:02] local.INFO: Acknowledgment sent {"connection_id":124252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:56:04] local.INFO: TCP Data received {"connection_id":124253,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:56:04] local.INFO: Processing buffer {"connection_id":124253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:56:04] local.INFO: IMEI packet received {"connection_id":124253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":124253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:56:05] local.INFO: TCP Data received {"connection_id":124253,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad28900012d7fb38006011850000e00de26..."} 
[2026-07-07 09:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad28900012d7fb38006011850000e00de26..."} 
[2026-07-07 09:56:05] local.INFO: Processing buffer {"connection_id":124253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad28900012d7fb38006011850000e00de26..."} 
[2026-07-07 09:56:05] local.INFO: Packet analysis {"connection_id":124253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad2"} 
[2026-07-07 09:56:05] local.INFO: Extracted packet for processing {"connection_id":124253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad2"} 
[2026-07-07 09:56:05] local.INFO: GPS Element Parsed {"raw_longitude":763343744,"raw_latitude":100735056,"longitude_deg":76.3343744,"latitude_deg":10.0735056,"altitude":14,"angle":222,"satellites":38,"speed":39,"hex_longitude":"2d7fb380","hex_latitude":"06011850","is_valid_coordinates":true} 
[2026-07-07 09:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549963264001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340858964071677952,"note":"Value kept but may cause issues"} 
[2026-07-07 09:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9209227945065021440,"note":"Value kept but may cause issues"} 
[2026-07-07 09:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783398304000,"timestamp_ms":1783398304000,"timestamp_seconds":1783398304,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad28900"} 
[2026-07-07 09:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 09:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549963264001,"66":27908,"20":206,"87":10752,"24":39,"16":340858964071677952,"45":9209227945065021440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,87,24,16,45]} 
[2026-07-07 09:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549963264001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:56:05] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-07-07 09:56:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 09:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340858964071677952,"km_value":340858964071677.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9209227945065021440,"description":"Unknown IO ID 45"} 
[2026-07-07 09:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549963264001,"power":27908,"unknown_20":206,"unknown_87":10752,"ignition":39,"odometer":null,"unknown_45":9209227945065021440}} 
[2026-07-07 09:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":124253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:56:05] local.INFO: GPS data processed {"connection_id":124253,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:56:05] local.INFO: Acknowledgment sent {"connection_id":124253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:56:08] local.INFO: TCP Data received {"connection_id":126261,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad35bf0012d181dc00721a830004a01600f..."} 
[2026-07-07 09:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad35bf0012d181dc00721a830004a01600f..."} 
[2026-07-07 09:56:08] local.INFO: Processing buffer {"connection_id":126261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad35bf0012d181dc00721a830004a01600f..."} 
[2026-07-07 09:56:08] local.INFO: Packet analysis {"connection_id":126261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:56:08] local.INFO: Extracted packet for processing {"connection_id":126261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:56:08] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646256,"longitude_deg":75.65552,"latitude_deg":11.9646256,"altitude":74,"angle":352,"satellites":15,"speed":9,"hex_longitude":"2d181dc0","hex_latitude":"0721a830","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549979392001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4687398457835520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840972288,"note":"Value kept but may cause issues"} 
[2026-07-07 09:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783398358000,"timestamp_ms":1783398358000,"timestamp_seconds":1783398358,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad35bf0"} 
[2026-07-07 09:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 09:56: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-07-07 09: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-07-07 09:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 09:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 09:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549979392001,"66":14374,"120":206,"28":31744,"24":9,"16":4687398457835520,"45":1737826536840972288},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 09:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 09:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 09:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549979392001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:56:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 09:56:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 09:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4687398457835520,"km_value":4687398457835.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840972288,"description":"Unknown IO ID 45"} 
[2026-07-07 09:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549979392001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1737826536840972288}} 
[2026-07-07 09:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":126261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:56:08] local.INFO: GPS data processed {"connection_id":126261,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:56:08] local.INFO: Acknowledgment sent {"connection_id":126261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:56:25] local.INFO: TCP Data received {"connection_id":124254,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:56:25] local.INFO: Processing buffer {"connection_id":124254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:56:25] local.INFO: IMEI packet received {"connection_id":124254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 09:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":124254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:56:27] local.INFO: TCP Data received {"connection_id":124254,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:56:27] local.INFO: Processing buffer {"connection_id":124254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:56:27] local.INFO: IMEI packet received {"connection_id":124254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 09:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":124254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:56:32] local.INFO: TCP Data received {"connection_id":124254,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:56:32] local.INFO: Processing buffer {"connection_id":124254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:56:32] local.INFO: IMEI packet received {"connection_id":124254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 09:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":124254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:56:33] local.INFO: TCP Data received {"connection_id":124254,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad35fd8012d181e000721a8f8004a00110f..."} 
[2026-07-07 09:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad35fd8012d181e000721a8f8004a00110f..."} 
[2026-07-07 09:56:33] local.INFO: Processing buffer {"connection_id":124254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad35fd8012d181e000721a8f8004a00110f..."} 
[2026-07-07 09:56:33] local.INFO: Packet analysis {"connection_id":124254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:56:33] local.INFO: Extracted packet for processing {"connection_id":124254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646456,"longitude_deg":75.6555264,"latitude_deg":11.9646456,"altitude":74,"angle":17,"satellites":15,"speed":7,"hex_longitude":"2d181e00","hex_latitude":"0721a8f8","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549979648001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4687407047770112,"note":"Value kept but may cause issues"} 
[2026-07-07 09:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096854016,"note":"Value kept but may cause issues"} 
[2026-07-07 09: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-07-07 09:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783398359000,"timestamp_ms":1783398359000,"timestamp_seconds":1783398359,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad35fd8"} 
[2026-07-07 09:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 09:56: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-07-07 09: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-07-07 09:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 09:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 09:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549979648001,"66":14820,"120":206,"28":31744,"24":7,"16":4687407047770112,"45":1737756168096854016},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 09:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 09:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 09:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549979648001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:56:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 09:56:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 09:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4687407047770112,"km_value":4687407047770.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096854016,"description":"Unknown IO ID 45"} 
[2026-07-07 09:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549979648001,"power":14820,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1737756168096854016}} 
[2026-07-07 09:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":124254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:56:33] local.INFO: GPS data processed {"connection_id":124254,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:56:33] local.INFO: Acknowledgment sent {"connection_id":124254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:56:33] local.INFO: TCP Data received {"connection_id":124252,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:56:33] local.INFO: Processing buffer {"connection_id":124252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:56:33] local.INFO: Packet analysis {"connection_id":124252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:56:33] local.INFO: Extracted packet for processing {"connection_id":124252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549864704001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010717717388109824,"note":"Value kept but may cause issues"} 
[2026-07-07 09:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783398210000,"timestamp_ms":1783398210000,"timestamp_seconds":1783398210,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad119d0"} 
[2026-07-07 09:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 09: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 09:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549864704001,"66":12798,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010717717388109824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549864704001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:56:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:56:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010717717388109824,"description":"Unknown IO ID 45"} 
[2026-07-07 09:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549864704001,"power":12798,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010717717388109824}} 
[2026-07-07 09:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":124252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:56:33] local.INFO: GPS data processed {"connection_id":124252,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:56:33] local.INFO: Acknowledgment sent {"connection_id":124252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:56:37] local.INFO: TCP Data received {"connection_id":124253,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad2ac28012d7f9c000600fb68000f00d821..."} 
[2026-07-07 09:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad2ac28012d7f9c000600fb68000f00d821..."} 
[2026-07-07 09:56:37] local.INFO: Processing buffer {"connection_id":124253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad2ac28012d7f9c000600fb68000f00d821..."} 
[2026-07-07 09:56:37] local.INFO: Packet analysis {"connection_id":124253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad2"} 
[2026-07-07 09:56:37] local.INFO: Extracted packet for processing {"connection_id":124253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad2"} 
[2026-07-07 09:56:37] local.INFO: GPS Element Parsed {"raw_longitude":763337728,"raw_latitude":100727656,"longitude_deg":76.3337728,"latitude_deg":10.0727656,"altitude":15,"angle":216,"satellites":33,"speed":45,"hex_longitude":"2d7f9c00","hex_latitude":"0600fb68","is_valid_coordinates":true} 
[2026-07-07 09:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549965824001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340859423633178624,"note":"Value kept but may cause issues"} 
[2026-07-07 09:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201839226924584960,"note":"Value kept but may cause issues"} 
[2026-07-07 09:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783398313000,"timestamp_ms":1783398313000,"timestamp_seconds":1783398313,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad2ac28"} 
[2026-07-07 09:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 09:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549965824001,"66":27865,"20":206,"87":10752,"24":45,"16":340859423633178624,"45":9201839226924584960},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,87,24,16,45]} 
[2026-07-07 09:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549965824001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:56:37] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-07-07 09:56:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 09:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340859423633178624,"km_value":340859423633178.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201839226924584960,"description":"Unknown IO ID 45"} 
[2026-07-07 09:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549965824001,"power":27865,"unknown_20":206,"unknown_87":10752,"ignition":45,"odometer":null,"unknown_45":9201839226924584960}} 
[2026-07-07 09:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":124253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:56:37] local.INFO: GPS data processed {"connection_id":124253,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:56:37] local.INFO: Acknowledgment sent {"connection_id":124253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:56:55] local.INFO: TCP Data received {"connection_id":125040,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:56:55] local.INFO: Processing buffer {"connection_id":125040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:56:55] local.INFO: IMEI packet received {"connection_id":125040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":125040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:57:01] local.INFO: TCP Data received {"connection_id":125040,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:57:01] local.INFO: Processing buffer {"connection_id":125040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:57:01] local.INFO: IMEI packet received {"connection_id":125040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":125040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:57:02] local.INFO: TCP Data received {"connection_id":125040,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:57:02] local.INFO: Processing buffer {"connection_id":125040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:57:02] local.INFO: Packet analysis {"connection_id":125040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:57:02] local.INFO: Extracted packet for processing {"connection_id":125040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:57:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549864704001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010717717388109824,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783398210000,"timestamp_ms":1783398210000,"timestamp_seconds":1783398210,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad119d0"} 
[2026-07-07 09:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:57: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-07-07 09: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 09:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549864704001,"66":12798,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010717717388109824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549864704001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:57:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:57:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010717717388109824,"description":"Unknown IO ID 45"} 
[2026-07-07 09:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549864704001,"power":12798,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010717717388109824}} 
[2026-07-07 09:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":125040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:57:02] local.INFO: GPS data processed {"connection_id":125040,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:57:02] local.INFO: Acknowledgment sent {"connection_id":125040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:57:04] local.INFO: TCP Data received {"connection_id":124254,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad36b90012d181f400721aae8004b001c0f..."} 
[2026-07-07 09:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad36b90012d181f400721aae8004b001c0f..."} 
[2026-07-07 09:57:04] local.INFO: Processing buffer {"connection_id":124254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad36b90012d181f400721aae8004b001c0f..."} 
[2026-07-07 09:57:04] local.INFO: Packet analysis {"connection_id":124254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:57:04] local.INFO: Extracted packet for processing {"connection_id":124254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646952,"longitude_deg":75.6555584,"latitude_deg":11.9646952,"altitude":75,"angle":28,"satellites":15,"speed":8,"hex_longitude":"2d181f40","hex_latitude":"0721aae8","is_valid_coordinates":true} 
[2026-07-07 09:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549979904001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4687437112541184,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841082880,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783398362000,"timestamp_ms":1783398362000,"timestamp_seconds":1783398362,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad36b90"} 
[2026-07-07 09:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 09:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2535,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 09:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 09:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549979904001,"66":14494,"120":206,"28":31744,"24":8,"16":4687437112541184,"45":1737826536841082880},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 09:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 09:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 09:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549979904001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:57:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 09:57:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 09:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4687437112541184,"km_value":4687437112541.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841082880,"description":"Unknown IO ID 45"} 
[2026-07-07 09:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549979904001,"power":14494,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1737826536841082880}} 
[2026-07-07 09:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":124254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:57:04] local.INFO: GPS data processed {"connection_id":124254,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:57:04] local.INFO: Acknowledgment sent {"connection_id":124254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:57:04] local.INFO: TCP Data received {"connection_id":125041,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:57:04] local.INFO: Processing buffer {"connection_id":125041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:57:04] local.INFO: IMEI packet received {"connection_id":125041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":125041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:57:08] local.INFO: TCP Data received {"connection_id":125041,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:57:08] local.INFO: Processing buffer {"connection_id":125041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:57:08] local.INFO: IMEI packet received {"connection_id":125041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":125041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:57:09] local.INFO: TCP Data received {"connection_id":125041,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad2cb68012d7f85400600dec0000d00da21..."} 
[2026-07-07 09:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad2cb68012d7f85400600dec0000d00da21..."} 
[2026-07-07 09:57:09] local.INFO: Processing buffer {"connection_id":125041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad2cb68012d7f85400600dec0000d00da21..."} 
[2026-07-07 09:57:09] local.INFO: Packet analysis {"connection_id":125041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad2"} 
[2026-07-07 09:57:09] local.INFO: Extracted packet for processing {"connection_id":125041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad2"} 
[2026-07-07 09:57:09] local.INFO: GPS Element Parsed {"raw_longitude":763331904,"raw_latitude":100720320,"longitude_deg":76.3331904,"latitude_deg":10.072032,"altitude":13,"angle":218,"satellites":33,"speed":45,"hex_longitude":"2d7f8540","hex_latitude":"0600dec0","is_valid_coordinates":true} 
[2026-07-07 09:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549968128001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340859874604744704,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195224564969990144,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783398321000,"timestamp_ms":1783398321000,"timestamp_seconds":1783398321,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad2cb68"} 
[2026-07-07 09:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 09:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549968128001,"66":27745,"20":206,"87":10752,"24":45,"16":340859874604744704,"45":9195224564969990144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,87,24,16,45]} 
[2026-07-07 09:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549968128001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:57:09] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-07-07 09:57:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 09:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340859874604744704,"km_value":340859874604744.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195224564969990144,"description":"Unknown IO ID 45"} 
[2026-07-07 09:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549968128001,"power":27745,"unknown_20":206,"unknown_87":10752,"ignition":45,"odometer":null,"unknown_45":9195224564969990144}} 
[2026-07-07 09:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":125041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:57:09] local.INFO: GPS data processed {"connection_id":125041,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:57:09] local.INFO: Acknowledgment sent {"connection_id":125041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:57:10] local.INFO: TCP Data received {"connection_id":125041,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad2ee90012d7f6dc00600c340000b00dd25..."} 
[2026-07-07 09:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad2ee90012d7f6dc00600c340000b00dd25..."} 
[2026-07-07 09:57:10] local.INFO: Processing buffer {"connection_id":125041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad2ee90012d7f6dc00600c340000b00dd25..."} 
[2026-07-07 09:57:10] local.INFO: Packet analysis {"connection_id":125041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad2"} 
[2026-07-07 09:57:10] local.INFO: Extracted packet for processing {"connection_id":125041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad2"} 
[2026-07-07 09:57:10] local.INFO: GPS Element Parsed {"raw_longitude":763325888,"raw_latitude":100713280,"longitude_deg":76.3325888,"latitude_deg":10.071328,"altitude":11,"angle":221,"satellites":37,"speed":35,"hex_longitude":"2d7f6dc0","hex_latitude":"0600c340","is_valid_coordinates":true} 
[2026-07-07 09:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549970176001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340860321281343488,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188821009247944704,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:10] 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-07-07 09:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783398330000,"timestamp_ms":1783398330000,"timestamp_seconds":1783398330,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad2ee90"} 
[2026-07-07 09:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:57: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-07-07 09:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 09:57: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-07-07 09:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549970176001,"66":27767,"21":206,"87":10752,"24":35,"16":340860321281343488,"45":9188821009247944704},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-07-07 09:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549970176001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:57:10] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-07 09:57:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 09:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340860321281343488,"km_value":340860321281343.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188821009247944704,"description":"Unknown IO ID 45"} 
[2026-07-07 09:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549970176001,"power":27767,"unknown_21":206,"unknown_87":10752,"ignition":35,"odometer":null,"unknown_45":9188821009247944704}} 
[2026-07-07 09:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":125041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:57:10] local.INFO: GPS data processed {"connection_id":125041,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:57:10] local.INFO: Acknowledgment sent {"connection_id":125041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:57:22] local.INFO: TCP Data received {"connection_id":124255,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:57:22] local.INFO: Processing buffer {"connection_id":124255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:57:22] local.INFO: IMEI packet received {"connection_id":124255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 09:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":124255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:57:26] local.INFO: TCP Data received {"connection_id":124255,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:57:26] local.INFO: Processing buffer {"connection_id":124255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:57:26] local.INFO: IMEI packet received {"connection_id":124255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 09:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":124255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:57:27] local.INFO: TCP Data received {"connection_id":124255,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad3bd98012d1829c00721bff0004f001d10..."} 
[2026-07-07 09:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad3bd98012d1829c00721bff0004f001d10..."} 
[2026-07-07 09:57:27] local.INFO: Processing buffer {"connection_id":124255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad3bd98012d1829c00721bff0004f001d10..."} 
[2026-07-07 09:57:27] local.INFO: Packet analysis {"connection_id":124255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:57:27] local.INFO: Extracted packet for processing {"connection_id":124255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:57:27] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119652336,"longitude_deg":75.6558272,"latitude_deg":11.9652336,"altitude":79,"angle":29,"satellites":16,"speed":21,"hex_longitude":"2d1829c0","hex_latitude":"0721bff0","is_valid_coordinates":true} 
[2026-07-07 09:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549980672001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4687733465284608,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562098176,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783398383000,"timestamp_ms":1783398383000,"timestamp_seconds":1783398383,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad3bd98"} 
[2026-07-07 09:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-07 09:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 09:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 09:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549980672001,"66":14461,"120":206,"28":31744,"24":21,"16":4687733465284608,"45":1738178380562098176},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 09:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 09:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 09:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549980672001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:57:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 09:57:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 09:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4687733465284608,"km_value":4687733465284.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562098176,"description":"Unknown IO ID 45"} 
[2026-07-07 09:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549980672001,"power":14461,"unknown_120":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1738178380562098176}} 
[2026-07-07 09:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":124255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:57:28] local.INFO: GPS data processed {"connection_id":124255,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:57:28] local.INFO: Acknowledgment sent {"connection_id":124255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:57:33] local.INFO: TCP Data received {"connection_id":125040,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:57:33] local.INFO: Processing buffer {"connection_id":125040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:57:33] local.INFO: Packet analysis {"connection_id":125040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:57:33] local.INFO: Extracted packet for processing {"connection_id":125040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:57:33] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 09:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549864704001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010717717388109824,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783398210000,"timestamp_ms":1783398210000,"timestamp_seconds":1783398210,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad119d0"} 
[2026-07-07 09:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 09: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":80,"data_length":795,"current_offset":136} 
[2026-07-07 09:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549864704001,"66":12798,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010717717388109824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549864704001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:57:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:57:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010717717388109824,"description":"Unknown IO ID 45"} 
[2026-07-07 09:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549864704001,"power":12798,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010717717388109824}} 
[2026-07-07 09:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":125040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:57:33] local.INFO: GPS data processed {"connection_id":125040,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:57:33] local.INFO: Acknowledgment sent {"connection_id":125040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:57:41] local.INFO: TCP Data received {"connection_id":125041,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad31988012d7f53c00600a980000900e029..."} 
[2026-07-07 09:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad31988012d7f53c00600a980000900e029..."} 
[2026-07-07 09:57:41] local.INFO: Processing buffer {"connection_id":125041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad31988012d7f53c00600a980000900e029..."} 
[2026-07-07 09:57:41] local.INFO: Packet analysis {"connection_id":125041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:57:41] local.INFO: Extracted packet for processing {"connection_id":125041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:57:41] local.INFO: GPS Element Parsed {"raw_longitude":763319232,"raw_latitude":100706688,"longitude_deg":76.3319232,"latitude_deg":10.0706688,"altitude":9,"angle":224,"satellites":41,"speed":27,"hex_longitude":"2d7f53c0","hex_latitude":"0600a980","is_valid_coordinates":true} 
[2026-07-07 09:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549972480001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340860772252909568,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9182206347293442048,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57: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-07-07 09:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783398341000,"timestamp_ms":1783398341000,"timestamp_seconds":1783398341,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad31988"} 
[2026-07-07 09:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:57: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-07-07 09:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549972480001,"66":27713,"21":206,"87":10752,"24":27,"16":340860772252909568,"45":9182206347293442048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-07-07 09:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549972480001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:57:41] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-07 09:57:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 09:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340860772252909568,"km_value":340860772252909.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9182206347293442048,"description":"Unknown IO ID 45"} 
[2026-07-07 09:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549972480001,"power":27713,"unknown_21":206,"unknown_87":10752,"ignition":27,"odometer":null,"unknown_45":9182206347293442048}} 
[2026-07-07 09:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":125041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:57:41] local.INFO: GPS data processed {"connection_id":125041,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:57:41] local.INFO: Acknowledgment sent {"connection_id":125041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:57:50] local.INFO: TCP Data received {"connection_id":124336,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124336,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:57:50] local.INFO: Processing buffer {"connection_id":124336,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:57:50] local.INFO: IMEI packet received {"connection_id":124336,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":124336,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:57:51] local.INFO: TCP Data received {"connection_id":124336,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad4cf08012d0b860007035158001100e921..."} 
[2026-07-07 09:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad4cf08012d0b860007035158001100e921..."} 
[2026-07-07 09:57:51] local.INFO: Processing buffer {"connection_id":124336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad4cf08012d0b860007035158001100e921..."} 
[2026-07-07 09:57:51] local.INFO: Packet analysis {"connection_id":124336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad4"} 
[2026-07-07 09:57:51] local.INFO: Extracted packet for processing {"connection_id":124336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad4"} 
[2026-07-07 09:57:51] local.INFO: GPS Element Parsed {"raw_longitude":755729920,"raw_latitude":117657944,"longitude_deg":75.572992,"latitude_deg":11.7657944,"altitude":17,"angle":233,"satellites":33,"speed":8,"hex_longitude":"2d0b8600","hex_latitude":"07035158","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550003712001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23369995094327296,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830562317649436672,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783398453000,"timestamp_ms":1783398453000,"timestamp_seconds":1783398453,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad4cf08"} 
[2026-07-07 09:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 09:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":124336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":124336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":124336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550003712001,"66":14428,"37":206,"94":11008,"24":8,"16":23369995094327296,"45":830562317649436672},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 09:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550003712001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:57:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 09:57:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23369995094327296,"km_value":23369995094327.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":830562317649436672,"description":"Unknown IO ID 45"} 
[2026-07-07 09:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550003712001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":830562317649436672}} 
[2026-07-07 09:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":124336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444793,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:57:51] local.INFO: GPS data processed {"connection_id":124336,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:57:51] local.INFO: Acknowledgment sent {"connection_id":124336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:57:56] local.INFO: TCP Data received {"connection_id":124338,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:57:56] local.INFO: Processing buffer {"connection_id":124338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:57:56] local.INFO: IMEI packet received {"connection_id":124338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":124338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:57:59] local.INFO: TCP Data received {"connection_id":124255,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad3f060012d183d400721dd680054002110..."} 
[2026-07-07 09:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad3f060012d183d400721dd680054002110..."} 
[2026-07-07 09:57:59] local.INFO: Processing buffer {"connection_id":124255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad3f060012d183d400721dd680054002110..."} 
[2026-07-07 09:57:59] local.INFO: Packet analysis {"connection_id":124255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:57:59] local.INFO: Extracted packet for processing {"connection_id":124255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:57:59] local.INFO: GPS Element Parsed {"raw_longitude":756563264,"raw_latitude":119659880,"longitude_deg":75.6563264,"latitude_deg":11.965988,"altitude":84,"angle":33,"satellites":16,"speed":31,"hex_longitude":"2d183d40","hex_latitude":"0721dd68","is_valid_coordinates":true} 
[2026-07-07 09:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549986048001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4688167256981504,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867818938368,"note":"Value kept but may cause issues"} 
[2026-07-07 09:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783398396000,"timestamp_ms":1783398396000,"timestamp_seconds":1783398396,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad3f060"} 
[2026-07-07 09:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 09:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":124255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":124255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":124255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 09:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 09:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549986048001,"66":13863,"120":206,"28":31744,"24":31,"16":4688167256981504,"45":1741133867818938368},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 09:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 09:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 09:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549986048001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:57:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 09:57:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 09:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4688167256981504,"km_value":4688167256981.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867818938368,"description":"Unknown IO ID 45"} 
[2026-07-07 09:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549986048001,"power":13863,"unknown_120":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1741133867818938368}} 
[2026-07-07 09:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":124255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:57:59] local.INFO: GPS data processed {"connection_id":124255,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:57:59] local.INFO: Acknowledgment sent {"connection_id":124255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:58:00] local.INFO: TCP Data received {"connection_id":124337,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:58:00] local.INFO: Processing buffer {"connection_id":124337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:58:00] local.INFO: IMEI packet received {"connection_id":124337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":124337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:58:01] local.INFO: TCP Data received {"connection_id":124338,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:58:01] local.INFO: Processing buffer {"connection_id":124338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:58:01] local.INFO: IMEI packet received {"connection_id":124338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":124338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:58:02] local.INFO: TCP Data received {"connection_id":124338,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:58:02] local.INFO: Processing buffer {"connection_id":124338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad119d0012d7d0a8005ec3c680011005727..."} 
[2026-07-07 09:58:02] local.INFO: Packet analysis {"connection_id":124338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:58:02] local.INFO: Extracted packet for processing {"connection_id":124338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad1"} 
[2026-07-07 09:58:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 09:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549864704001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010717717388109824,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783398210000,"timestamp_ms":1783398210000,"timestamp_seconds":1783398210,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad119d0"} 
[2026-07-07 09:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:58: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-07-07 09:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 09:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549864704001,"66":12798,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010717717388109824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549864704001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:58:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:58:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010717717388109824,"description":"Unknown IO ID 45"} 
[2026-07-07 09:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549864704001,"power":12798,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010717717388109824}} 
[2026-07-07 09:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":124338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:58:02] local.INFO: GPS data processed {"connection_id":124338,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:58:02] local.INFO: Acknowledgment sent {"connection_id":124338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:58:04] local.INFO: TCP Data received {"connection_id":124337,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:58:04] local.INFO: Processing buffer {"connection_id":124337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:58:04] local.INFO: IMEI packet received {"connection_id":124337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":124337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:58:08] local.INFO: TCP Data received {"connection_id":124337,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad34c50012d7f394006008f50000800e228..."} 
[2026-07-07 09:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad34c50012d7f394006008f50000800e228..."} 
[2026-07-07 09:58:08] local.INFO: Processing buffer {"connection_id":124337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad34c50012d7f394006008f50000800e228..."} 
[2026-07-07 09:58:08] local.INFO: Packet analysis {"connection_id":124337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:58:08] local.INFO: Extracted packet for processing {"connection_id":124337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:58:08] local.INFO: GPS Element Parsed {"raw_longitude":763312448,"raw_latitude":100699984,"longitude_deg":76.3312448,"latitude_deg":10.0699984,"altitude":8,"angle":226,"satellites":40,"speed":36,"hex_longitude":"2d7f3940","hex_latitude":"06008f50","is_valid_coordinates":true} 
[2026-07-07 09:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549975296001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340861231814410240,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9174887997897277440,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:08] 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-07-07 09:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783398354000,"timestamp_ms":1783398354000,"timestamp_seconds":1783398354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad34c50"} 
[2026-07-07 09:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:58: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-07-07 09: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-07 09:58: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-07-07 09:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549975296001,"66":27876,"21":206,"87":10752,"24":36,"16":340861231814410240,"45":9174887997897277440},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-07-07 09:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549975296001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:58:08] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-07 09:58:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 09:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340861231814410240,"km_value":340861231814410.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9174887997897277440,"description":"Unknown IO ID 45"} 
[2026-07-07 09:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549975296001,"power":27876,"unknown_21":206,"unknown_87":10752,"ignition":36,"odometer":null,"unknown_45":9174887997897277440}} 
[2026-07-07 09:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":124337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:58:08] local.INFO: GPS data processed {"connection_id":124337,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:58:08] local.INFO: Acknowledgment sent {"connection_id":124337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:58:10] local.INFO: TCP Data received {"connection_id":124337,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad37360012d7f1ec0060075d8000700e12c..."} 
[2026-07-07 09:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad37360012d7f1ec0060075d8000700e12c..."} 
[2026-07-07 09:58:10] local.INFO: Processing buffer {"connection_id":124337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad37360012d7f1ec0060075d8000700e12c..."} 
[2026-07-07 09:58:10] local.INFO: Packet analysis {"connection_id":124337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:58:10] local.INFO: Extracted packet for processing {"connection_id":124337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:58:10] local.INFO: GPS Element Parsed {"raw_longitude":763305664,"raw_latitude":100693464,"longitude_deg":76.3305664,"latitude_deg":10.0693464,"altitude":7,"angle":225,"satellites":44,"speed":37,"hex_longitude":"2d7f1ec0","hex_latitude":"060075d8","is_valid_coordinates":true} 
[2026-07-07 09:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549978624001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340861682785976320,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167428911012728832,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:10] 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-07-07 09:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783398364000,"timestamp_ms":1783398364000,"timestamp_seconds":1783398364,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad37360"} 
[2026-07-07 09:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:58: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-07-07 09:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 09:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549978624001,"66":27767,"21":206,"87":10752,"24":37,"16":340861682785976320,"45":9167428911012728832},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-07-07 09:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549978624001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:58:10] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-07 09:58:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 09:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340861682785976320,"km_value":340861682785976.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167428911012728832,"description":"Unknown IO ID 45"} 
[2026-07-07 09:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549978624001,"power":27767,"unknown_21":206,"unknown_87":10752,"ignition":37,"odometer":null,"unknown_45":9167428911012728832}} 
[2026-07-07 09:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":124337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:58:10] local.INFO: GPS data processed {"connection_id":124337,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:58:10] local.INFO: Acknowledgment sent {"connection_id":124337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:58:15] local.INFO: TCP Data received {"connection_id":125042,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125042,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:58:15] local.INFO: Processing buffer {"connection_id":125042,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:58:15] local.INFO: IMEI packet received {"connection_id":125042,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":125042,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:58:16] local.INFO: TCP Data received {"connection_id":125042,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125042,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:58:16] local.INFO: Processing buffer {"connection_id":125042,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:58:16] local.INFO: IMEI packet received {"connection_id":125042,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":125042,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:58:20] local.INFO: TCP Data received {"connection_id":125042,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125042,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:58:20] local.INFO: Processing buffer {"connection_id":125042,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:58:20] local.INFO: IMEI packet received {"connection_id":125042,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":125042,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:58:20] local.INFO: TCP Data received {"connection_id":125042,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad4d2f0012d0b854007035090001100d121..."} 
[2026-07-07 09:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad4d2f0012d0b854007035090001100d121..."} 
[2026-07-07 09:58:20] local.INFO: Processing buffer {"connection_id":125042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad4d2f0012d0b854007035090001100d121..."} 
[2026-07-07 09:58:20] local.INFO: Packet analysis {"connection_id":125042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad4"} 
[2026-07-07 09:58:20] local.INFO: Extracted packet for processing {"connection_id":125042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad4"} 
[2026-07-07 09:58:20] local.INFO: GPS Element Parsed {"raw_longitude":755729728,"raw_latitude":117657744,"longitude_deg":75.5729728,"latitude_deg":11.7657744,"altitude":17,"angle":209,"satellites":33,"speed":9,"hex_longitude":"2d0b8540","hex_latitude":"07035090","is_valid_coordinates":true} 
[2026-07-07 09:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550003968001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23370007979229184,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830351211416868864,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783398454000,"timestamp_ms":1783398454000,"timestamp_seconds":1783398454,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad4d2f0"} 
[2026-07-07 09:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 09:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":125042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":125042,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":125042,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550003968001,"66":14428,"37":206,"94":11008,"24":9,"16":23370007979229184,"45":830351211416868864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 09:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550003968001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:58:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 09:58:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23370007979229184,"km_value":23370007979229.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":830351211416868864,"description":"Unknown IO ID 45"} 
[2026-07-07 09:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550003968001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":830351211416868864}} 
[2026-07-07 09:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":125042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444798,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:58:21] local.INFO: GPS data processed {"connection_id":125042,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:58:21] local.INFO: Acknowledgment sent {"connection_id":125042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:58:23] local.INFO: TCP Data received {"connection_id":126268,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:58:23] local.INFO: Processing buffer {"connection_id":126268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:58:23] local.INFO: IMEI packet received {"connection_id":126268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 09:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":126268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:58:24] local.INFO: TCP Data received {"connection_id":126268,"ip":"117.225.134.139","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 09:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126268,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 09:58:24] local.INFO: Processing buffer {"connection_id":126268,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 09:58:24] local.INFO: IMEI packet received {"connection_id":126268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 09:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":126268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:58:25] local.INFO: TCP Data received {"connection_id":126268,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:58:25] local.INFO: Processing buffer {"connection_id":126268,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 09:58:25] local.INFO: IMEI packet received {"connection_id":126268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 09:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":126268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:58:26] local.INFO: TCP Data received {"connection_id":126268,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad557c0012d18a7400722d5c0006b002214..."} 
[2026-07-07 09:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad557c0012d18a7400722d5c0006b002214..."} 
[2026-07-07 09:58:26] local.INFO: Processing buffer {"connection_id":126268,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f3a..."} 
[2026-07-07 09:58:26] local.INFO: IMEI packet received {"connection_id":126268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 09:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":126268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:58:27] local.INFO: TCP Data received {"connection_id":126268,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad56760012d18b0400722e5180069001514..."} 
[2026-07-07 09:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad56760012d18b0400722e5180069001514..."} 
[2026-07-07 09:58:27] local.INFO: Processing buffer {"connection_id":126268,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3ad557c0012d18a7400722d5c0006b002214..."} 
[2026-07-07 09:58:27] local.INFO: Packet analysis {"connection_id":126268,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 09:58:27] local.INFO: Extracted packet for processing {"connection_id":126268,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 09:58:27] local.INFO: GPS Element Parsed {"raw_longitude":756590400,"raw_latitude":119723456,"longitude_deg":75.65904,"latitude_deg":11.9723456,"altitude":107,"angle":34,"satellites":20,"speed":44,"hex_longitude":"2d18a740","hex_latitude":"0722d5c0","is_valid_coordinates":true} 
[2026-07-07 09:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550012416001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4691637590556672,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775192340018638848,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783398488000,"timestamp_ms":1783398488000,"timestamp_seconds":1783398488,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad557c0"} 
[2026-07-07 09:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 09:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":126268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":126268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":126268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 09:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 09:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550012416001,"66":14396,"120":206,"28":31744,"24":44,"16":4691637590556672,"45":1775192340018638848},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 09:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 09:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 09:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550012416001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:58:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 09:58:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 09:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4691637590556672,"km_value":4691637590556.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775192340018638848,"description":"Unknown IO ID 45"} 
[2026-07-07 09:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550012416001,"power":14396,"unknown_120":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1775192340018638848}} 
[2026-07-07 09:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":126268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:58:27] local.INFO: GPS data processed {"connection_id":126268,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:58:27] local.INFO: Acknowledgment sent {"connection_id":126268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:58:27] local.INFO: Packet analysis {"connection_id":126268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 09:58:27] local.INFO: Extracted packet for processing {"connection_id":126268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 09:58:27] local.INFO: GPS Element Parsed {"raw_longitude":756592704,"raw_latitude":119727384,"longitude_deg":75.6592704,"latitude_deg":11.9727384,"altitude":105,"angle":21,"satellites":20,"speed":45,"hex_longitude":"2d18b040","hex_latitude":"0722e518","is_valid_coordinates":true} 
[2026-07-07 09:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550012928001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4691860928856064,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776458977414332416,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783398492000,"timestamp_ms":1783398492000,"timestamp_seconds":1783398492,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad56760"} 
[2026-07-07 09:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 09:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":126268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":126268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":126268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 09:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 09:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550012928001,"66":14189,"120":206,"28":31744,"24":45,"16":4691860928856064,"45":1776458977414332416},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 09:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 09:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 09:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550012928001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:58:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 09:58:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 09:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4691860928856064,"km_value":4691860928856.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776458977414332416,"description":"Unknown IO ID 45"} 
[2026-07-07 09:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550012928001,"power":14189,"unknown_120":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1776458977414332416}} 
[2026-07-07 09:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":126268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:58:27] local.INFO: GPS data processed {"connection_id":126268,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:58:27] local.INFO: Acknowledgment sent {"connection_id":126268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:58:32] local.INFO: TCP Data received {"connection_id":126268,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad582b8012d18bac0072301380065002314..."} 
[2026-07-07 09:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad582b8012d18bac0072301380065002314..."} 
[2026-07-07 09:58:32] local.INFO: Processing buffer {"connection_id":126268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad582b8012d18bac0072301380065002314..."} 
[2026-07-07 09:58:32] local.INFO: Packet analysis {"connection_id":126268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 09:58:32] local.INFO: Extracted packet for processing {"connection_id":126268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 09:58:32] local.INFO: GPS Element Parsed {"raw_longitude":756595392,"raw_latitude":119734584,"longitude_deg":75.6595392,"latitude_deg":11.9734584,"altitude":101,"angle":35,"satellites":20,"speed":40,"hex_longitude":"2d18bac0","hex_latitude":"07230138","is_valid_coordinates":true} 
[2026-07-07 09:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550013952001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4692230296043520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778992252205733888,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783398499000,"timestamp_ms":1783398499000,"timestamp_seconds":1783398499,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad582b8"} 
[2026-07-07 09:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 09:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 09:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 09:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550013952001,"66":14004,"120":206,"28":31744,"24":40,"16":4692230296043520,"45":1778992252205733888},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 09:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 09:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 09:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550013952001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:58:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 09:58:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 09:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4692230296043520,"km_value":4692230296043.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778992252205733888,"description":"Unknown IO ID 45"} 
[2026-07-07 09:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550013952001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1778992252205733888}} 
[2026-07-07 09:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":126268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:58:32] local.INFO: GPS data processed {"connection_id":126268,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:58:32] local.INFO: Acknowledgment sent {"connection_id":126268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:58:33] local.INFO: TCP Data received {"connection_id":124338,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad59a28012d7d0a8005ec3c680011005729..."} 
[2026-07-07 09:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad59a28012d7d0a8005ec3c680011005729..."} 
[2026-07-07 09:58:33] local.INFO: Processing buffer {"connection_id":124338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad59a28012d7d0a8005ec3c680011005729..."} 
[2026-07-07 09:58:33] local.INFO: Packet analysis {"connection_id":124338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 09:58:33] local.INFO: Extracted packet for processing {"connection_id":124338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 09:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 09:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549941760001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783398505000,"timestamp_ms":1783398505000,"timestamp_seconds":1783398505,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad59a28"} 
[2026-07-07 09:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 09: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":254,"data_length":795,"current_offset":136} 
[2026-07-07 09:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549941760001,"66":12722,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549941760001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:58:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:58:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 09:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549941760001,"power":12722,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 09:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":124338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:58:33] local.INFO: GPS data processed {"connection_id":124338,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:58:33] local.INFO: Acknowledgment sent {"connection_id":124338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:58:37] local.INFO: TCP Data received {"connection_id":126267,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:58:37] local.INFO: Processing buffer {"connection_id":126267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:58:37] local.INFO: IMEI packet received {"connection_id":126267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":126267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:58:41] local.INFO: TCP Data received {"connection_id":124337,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad3a240012d7f050006005cb0000700dc28..."} 
[2026-07-07 09:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad3a240012d7f050006005cb0000700dc28..."} 
[2026-07-07 09:58:41] local.INFO: Processing buffer {"connection_id":124337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad3a240012d7f050006005cb0000700dc28..."} 
[2026-07-07 09:58:41] local.INFO: Packet analysis {"connection_id":124337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:58:41] local.INFO: Extracted packet for processing {"connection_id":124337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:58:41] local.INFO: GPS Element Parsed {"raw_longitude":763299072,"raw_latitude":100687024,"longitude_deg":76.3299072,"latitude_deg":10.0687024,"altitude":7,"angle":220,"satellites":40,"speed":21,"hex_longitude":"2d7f0500","hex_latitude":"06005cb0","is_valid_coordinates":true} 
[2026-07-07 09:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549981184001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340862125167607808,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9159969824128227328,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783398376000,"timestamp_ms":1783398376000,"timestamp_seconds":1783398376,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad3a240"} 
[2026-07-07 09:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:58: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-07-07 09:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:58: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-07-07 09:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549981184001,"66":27658,"96":206,"87":10752,"24":21,"16":340862125167607808,"45":9159969824128227328},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 09:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549981184001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:58:41] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 09:58:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 09:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340862125167607808,"km_value":340862125167607.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9159969824128227328,"description":"Unknown IO ID 45"} 
[2026-07-07 09:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549981184001,"power":27658,"unknown_96":206,"unknown_87":10752,"ignition":21,"odometer":null,"unknown_45":9159969824128227328}} 
[2026-07-07 09:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":124337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:58:41] local.INFO: GPS data processed {"connection_id":124337,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:58:41] local.INFO: Acknowledgment sent {"connection_id":124337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:58:51] local.INFO: TCP Data received {"connection_id":125042,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad59e10012d0b68c007034d78000e011c21..."} 
[2026-07-07 09:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad59e10012d0b68c007034d78000e011c21..."} 
[2026-07-07 09:58:51] local.INFO: Processing buffer {"connection_id":125042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad59e10012d0b68c007034d78000e011c21..."} 
[2026-07-07 09:58:51] local.INFO: Packet analysis {"connection_id":125042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 09:58:51] local.INFO: Extracted packet for processing {"connection_id":125042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 09:58:51] local.INFO: GPS Element Parsed {"raw_longitude":755722432,"raw_latitude":117656952,"longitude_deg":75.5722432,"latitude_deg":11.7656952,"altitude":14,"angle":284,"satellites":33,"speed":11,"hex_longitude":"2d0b68c0","hex_latitude":"07034d78","is_valid_coordinates":true} 
[2026-07-07 09:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550017024001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23370557735043072,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822892124533708800,"note":"Value kept but may cause issues"} 
[2026-07-07 09:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783398506000,"timestamp_ms":1783398506000,"timestamp_seconds":1783398506,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad59e10"} 
[2026-07-07 09:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 09:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125042,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125042,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550017024001,"66":13830,"37":206,"94":11008,"24":11,"16":23370557735043072,"45":822892124533708800},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 09:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550017024001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:58:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 09:58:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23370557735043072,"km_value":23370557735043.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":822892124533708800,"description":"Unknown IO ID 45"} 
[2026-07-07 09:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550017024001,"power":13830,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":822892124533708800}} 
[2026-07-07 09:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":125042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444804,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:58:52] local.INFO: GPS data processed {"connection_id":125042,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:58:52] local.INFO: Acknowledgment sent {"connection_id":125042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:58:59] local.INFO: TCP Data received {"connection_id":126271,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:58:59] local.INFO: Processing buffer {"connection_id":126271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 09:58:59] local.INFO: IMEI packet received {"connection_id":126271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 09:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":126271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:58:59] local.INFO: TCP Data received {"connection_id":126269,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:58:59] local.INFO: Processing buffer {"connection_id":126269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:58:59] local.INFO: IMEI packet received {"connection_id":126269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":126269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:59:01] local.INFO: TCP Data received {"connection_id":126270,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:59:01] local.INFO: Processing buffer {"connection_id":126270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:59:01] local.INFO: IMEI packet received {"connection_id":126270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":126270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:59:04] local.INFO: TCP Data received {"connection_id":126269,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:59:04] local.INFO: Processing buffer {"connection_id":126269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:59:04] local.INFO: IMEI packet received {"connection_id":126269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 09:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":126269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:59:06] local.INFO: TCP Data received {"connection_id":126270,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:59:06] local.INFO: Processing buffer {"connection_id":126270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:59:06] local.INFO: IMEI packet received {"connection_id":126270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 09:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":126270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:59:07] local.INFO: TCP Data received {"connection_id":126269,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad3d508012d7eed0006004030000800da28..."} 
[2026-07-07 09:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad3d508012d7eed0006004030000800da28..."} 
[2026-07-07 09:59:07] local.INFO: Processing buffer {"connection_id":126269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad3d508012d7eed0006004030000800da28..."} 
[2026-07-07 09:59:07] local.INFO: Packet analysis {"connection_id":126269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:59:07] local.INFO: Extracted packet for processing {"connection_id":126269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:59:07] local.INFO: GPS Element Parsed {"raw_longitude":763292928,"raw_latitude":100679728,"longitude_deg":76.3292928,"latitude_deg":10.0679728,"altitude":8,"angle":218,"satellites":40,"speed":36,"hex_longitude":"2d7eed00","hex_latitude":"06004030","is_valid_coordinates":true} 
[2026-07-07 09:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549984256001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340862584729108480,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152721843476279296,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783398389000,"timestamp_ms":1783398389000,"timestamp_seconds":1783398389,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad3d508"} 
[2026-07-07 09:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 09:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549984256001,"66":27767,"96":206,"87":10752,"24":36,"16":340862584729108480,"45":9152721843476279296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 09:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549984256001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:59:07] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 09:59:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 09:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340862584729108480,"km_value":340862584729108.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152721843476279296,"description":"Unknown IO ID 45"} 
[2026-07-07 09:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549984256001,"power":27767,"unknown_96":206,"unknown_87":10752,"ignition":36,"odometer":null,"unknown_45":9152721843476279296}} 
[2026-07-07 09:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":126269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:59:07] local.INFO: GPS data processed {"connection_id":126269,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:59:07] local.INFO: Acknowledgment sent {"connection_id":126269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:59:07] local.INFO: TCP Data received {"connection_id":126268,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad60b70012d19338007233ad80051002b14..."} 
[2026-07-07 09:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad60b70012d19338007233ad80051002b14..."} 
[2026-07-07 09:59:07] local.INFO: Processing buffer {"connection_id":126268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad60b70012d19338007233ad80051002b14..."} 
[2026-07-07 09:59:07] local.INFO: Packet analysis {"connection_id":126268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad6"} 
[2026-07-07 09:59:07] local.INFO: Extracted packet for processing {"connection_id":126268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad6"} 
[2026-07-07 09:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756626304,"raw_latitude":119749336,"longitude_deg":75.6626304,"latitude_deg":11.9749336,"altitude":81,"angle":43,"satellites":20,"speed":48,"hex_longitude":"2d193380","hex_latitude":"07233ad8","is_valid_coordinates":true} 
[2026-07-07 09:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550022656001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4694128671588352,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1808476756020041728,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783398534000,"timestamp_ms":1783398534000,"timestamp_seconds":1783398534,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad60b70"} 
[2026-07-07 09:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-07 09:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 09:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 09:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550022656001,"66":14396,"112":206,"28":31744,"24":48,"16":4694128671588352,"45":1808476756020041728},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-07 09:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 09:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 09:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550022656001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:59:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 09:59:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 09:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4694128671588352,"km_value":4694128671588.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1808476756020041728,"description":"Unknown IO ID 45"} 
[2026-07-07 09:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550022656001,"power":14396,"unknown_112":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":1808476756020041728}} 
[2026-07-07 09:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":126268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:59:07] local.INFO: GPS data processed {"connection_id":126268,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:59:07] local.INFO: Acknowledgment sent {"connection_id":126268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:59:07] local.INFO: TCP Data received {"connection_id":126270,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad59a28012d7d0a8005ec3c680011005729..."} 
[2026-07-07 09:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad59a28012d7d0a8005ec3c680011005729..."} 
[2026-07-07 09:59:07] local.INFO: Processing buffer {"connection_id":126270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad59a28012d7d0a8005ec3c680011005729..."} 
[2026-07-07 09:59:07] local.INFO: Packet analysis {"connection_id":126270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 09:59:07] local.INFO: Extracted packet for processing {"connection_id":126270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 09:59:07] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550017280001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783398505000,"timestamp_ms":1783398505000,"timestamp_seconds":1783398505,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad59a28"} 
[2026-07-07 09:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 09:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 09:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:59: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-07-07 09:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550017280001,"66":12722,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550017280001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:59:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:59:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 09:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550017280001,"power":12722,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 09:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":126270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:59:07] local.INFO: GPS data processed {"connection_id":126270,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:59:07] local.INFO: Acknowledgment sent {"connection_id":126270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:59:16] local.INFO: TCP Data received {"connection_id":124339,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124339,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:59:16] local.INFO: Processing buffer {"connection_id":124339,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 09:59:16] local.INFO: IMEI packet received {"connection_id":124339,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 09:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":124339,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:59:20] local.INFO: TCP Data received {"connection_id":125043,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:59:20] local.INFO: Processing buffer {"connection_id":125043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:59:20] local.INFO: IMEI packet received {"connection_id":125043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 09:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":125043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:59:22] local.INFO: TCP Data received {"connection_id":125043,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:59:22] local.INFO: Processing buffer {"connection_id":125043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:59:22] local.INFO: IMEI packet received {"connection_id":125043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 09:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":125043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:59:23] local.INFO: TCP Data received {"connection_id":125043,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:59:23] local.INFO: Processing buffer {"connection_id":125043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:59:23] local.INFO: IMEI packet received {"connection_id":125043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 09:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":125043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:59:27] local.INFO: TCP Data received {"connection_id":125043,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:59:27] local.INFO: Processing buffer {"connection_id":125043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 09:59:27] local.INFO: IMEI packet received {"connection_id":125043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 09:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":125043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:59:29] local.INFO: TCP Data received {"connection_id":125043,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad626c8012d19498007235670004c002014..."} 
[2026-07-07 09:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad626c8012d19498007235670004c002014..."} 
[2026-07-07 09:59:29] local.INFO: Processing buffer {"connection_id":125043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad626c8012d19498007235670004c002014..."} 
[2026-07-07 09:59:29] local.INFO: Packet analysis {"connection_id":125043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad6"} 
[2026-07-07 09:59:29] local.INFO: Extracted packet for processing {"connection_id":125043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad6"} 
[2026-07-07 09:59:29] local.INFO: GPS Element Parsed {"raw_longitude":756631936,"raw_latitude":119756400,"longitude_deg":75.6631936,"latitude_deg":11.97564,"altitude":76,"angle":32,"satellites":20,"speed":53,"hex_longitude":"2d194980","hex_latitude":"07235670","is_valid_coordinates":true} 
[2026-07-07 09:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550024704001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4694562463285248,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1815935842904627200,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783398541000,"timestamp_ms":1783398541000,"timestamp_seconds":1783398541,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad626c8"} 
[2026-07-07 09:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 09:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 09:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 09:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 09:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550024704001,"66":14070,"112":206,"28":31744,"24":53,"16":4694562463285248,"45":1815935842904627200},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-07 09:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 09:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 09:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550024704001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:59:29] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 09:59:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 09:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4694562463285248,"km_value":4694562463285.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1815935842904627200,"description":"Unknown IO ID 45"} 
[2026-07-07 09:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550024704001,"power":14070,"unknown_112":206,"unknown_28":31744,"ignition":53,"odometer":null,"unknown_45":1815935842904627200}} 
[2026-07-07 09:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":125043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:59:29] local.INFO: GPS data processed {"connection_id":125043,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:59:29] local.INFO: Acknowledgment sent {"connection_id":125043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:59:36] local.INFO: TCP Data received {"connection_id":124339,"ip":"42.106.6.34","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-07 09:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124339,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-07 09:59:36] local.INFO: Processing buffer {"connection_id":124339,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-07 09:59:36] local.INFO: IMEI packet received {"connection_id":124339,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":124339,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:59:38] local.INFO: TCP Data received {"connection_id":126269,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad3fc18012d7ed580060022b0000900d925..."} 
[2026-07-07 09:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad3fc18012d7ed580060022b0000900d925..."} 
[2026-07-07 09:59:39] local.INFO: Processing buffer {"connection_id":126269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad3fc18012d7ed580060022b0000900d925..."} 
[2026-07-07 09:59:39] local.INFO: Packet analysis {"connection_id":126269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:59:39] local.INFO: Extracted packet for processing {"connection_id":126269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad3"} 
[2026-07-07 09:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763286912,"raw_latitude":100672176,"longitude_deg":76.3286912,"latitude_deg":10.0672176,"altitude":9,"angle":217,"satellites":37,"speed":36,"hex_longitude":"2d7ed580","hex_latitude":"060022b0","is_valid_coordinates":true} 
[2026-07-07 09:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549987584001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863052880543744,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145966444033355776,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783398399000,"timestamp_ms":1783398399000,"timestamp_seconds":1783398399,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad3fc18"} 
[2026-07-07 09:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09: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-07-07 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 09:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 09:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 09:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 09:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549987584001,"66":27908,"96":206,"87":10752,"24":36,"16":340863052880543744,"45":9145966444033355776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 09:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 09:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 09:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549987584001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:59:39] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 09:59:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 09:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863052880543744,"km_value":340863052880543.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145966444033355776,"description":"Unknown IO ID 45"} 
[2026-07-07 09:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549987584001,"power":27908,"unknown_96":206,"unknown_87":10752,"ignition":36,"odometer":null,"unknown_45":9145966444033355776}} 
[2026-07-07 09:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":126269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:59:39] local.INFO: GPS data processed {"connection_id":126269,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:59:39] local.INFO: Acknowledgment sent {"connection_id":126269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:59:39] local.INFO: TCP Data received {"connection_id":126270,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 09:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 09:59:39] local.INFO: Processing buffer {"connection_id":126270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 09:59:39] local.INFO: Packet analysis {"connection_id":126270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 09:59:39] local.INFO: Extracted packet for processing {"connection_id":126270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 09:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 09:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550017280001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783398511000,"timestamp_ms":1783398511000,"timestamp_seconds":1783398511,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad5b198"} 
[2026-07-07 09:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 09: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 09:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 09:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 09:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 09:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550017280001,"66":2514,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 09:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 09:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 09:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550017280001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:59:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 09:59:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 09:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 09:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550017280001,"power":2514,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 09:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":126270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:59:39] local.INFO: GPS data processed {"connection_id":126270,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:59:39] local.INFO: Acknowledgment sent {"connection_id":126270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:59:40] local.INFO: TCP Data received {"connection_id":124339,"ip":"42.106.6.34","data_length":812,"data_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019f3a..."} 
[2026-07-07 09:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124339,"packet_length":812,"packet_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019f3a..."} 
[2026-07-07 09:59:40] local.INFO: Processing buffer {"connection_id":124339,"buffer_length":829,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-07 09:59:40] local.INFO: IMEI packet received {"connection_id":124339,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":124339,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:59:46] local.INFO: TCP Data received {"connection_id":124339,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad5ec30012d0b618007034ff0000f011b20..."} 
[2026-07-07 09:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad5ec30012d0b618007034ff0000f011b20..."} 
[2026-07-07 09:59:46] local.INFO: Processing buffer {"connection_id":124339,"buffer_length":1607,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019f3a..."} 
[2026-07-07 09:59:46] local.INFO: IMEI packet received {"connection_id":124339,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 09:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":124339,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 09:59:48] local.INFO: TCP Data received {"connection_id":124339,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad60788012d0b5340070352a8000e010f22..."} 
[2026-07-07 09:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad60788012d0b5340070352a8000e010f22..."} 
[2026-07-07 09:59:48] local.INFO: Processing buffer {"connection_id":124339,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019f3ad5dc90012d0b648007034ee8000f010e20..."} 
[2026-07-07 09:59:48] local.INFO: Packet analysis {"connection_id":124339,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 09:59:48] local.INFO: Extracted packet for processing {"connection_id":124339,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 09:59:48] local.INFO: GPS Element Parsed {"raw_longitude":755721344,"raw_latitude":117657320,"longitude_deg":75.5721344,"latitude_deg":11.765732,"altitude":15,"angle":270,"satellites":32,"speed":2,"hex_longitude":"2d0b6480","hex_latitude":"07034ee8","is_valid_coordinates":true} 
[2026-07-07 09:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550017536001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23370617864585216,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822118068347828224,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783398522000,"timestamp_ms":1783398522000,"timestamp_seconds":1783398522,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad5dc90"} 
[2026-07-07 09:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:59: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-07-07 09:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-07-07 09:59:48] local.WARNING: Large IO value detected {"io_id":24,"raw_value":562958559150080,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652633520879872,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:48] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3582625793,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1529151694,"corrected_to":0} 
[2026-07-07 09:59:48] local.WARNING: Large IO value detected {"io_id":126,"raw_value":3489737995,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:48] local.WARNING: Large IO value detected {"io_id":107,"raw_value":5188477772820907779,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:48] local.WARNING: Large IO value detected {"io_id":69,"raw_value":15397946458112,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:48] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,37,94,24,241,157,16,7,159,150,45,128,76,14,32,10,66,146,75,142,192,1,240,179,227,58,3,4,113,205,13,126,110,48,239,56,2,83,107,69],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1529151694,"validated":0}]} 
[2026-07-07 09:59:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009118719567921152,"timestamp_seconds":1009118719567921.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 09:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":124339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":124339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":124339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550017536001,"66":14515,"37":206,"94":11008,"24":2,"16":23370617864585216,"45":822118068347828224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 09:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550017536001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:59:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 09:59:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23370617864585216,"km_value":23370617864585.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":822118068347828224,"description":"Unknown IO ID 45"} 
[2026-07-07 09:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550017536001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":822118068347828224}} 
[2026-07-07 09:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":124339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444811,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:59:48] local.INFO: GPS data processed {"connection_id":124339,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:59:48] local.INFO: Acknowledgment sent {"connection_id":124339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:59:48] local.INFO: Packet analysis {"connection_id":124339,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 09:59:48] local.INFO: Extracted packet for processing {"connection_id":124339,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 09:59:48] local.INFO: GPS Element Parsed {"raw_longitude":755720576,"raw_latitude":117657584,"longitude_deg":75.5720576,"latitude_deg":11.7657584,"altitude":15,"angle":283,"satellites":32,"speed":6,"hex_longitude":"2d0b6180","hex_latitude":"07034ff0","is_valid_coordinates":true} 
[2026-07-07 09:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550021632001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23370656519290880,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820921799696902144,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783398526000,"timestamp_ms":1783398526000,"timestamp_seconds":1783398526,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad5ec30"} 
[2026-07-07 09:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:59: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-07-07 09:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 09:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":124339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":124339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":124339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550021632001,"66":14407,"37":206,"94":11008,"24":6,"16":23370656519290880,"45":820921799696902144},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 09:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550021632001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:59:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 09:59:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23370656519290880,"km_value":23370656519290.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":820921799696902144,"description":"Unknown IO ID 45"} 
[2026-07-07 09:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550021632001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":820921799696902144}} 
[2026-07-07 09:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":124339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444812,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:59:48] local.INFO: GPS data processed {"connection_id":124339,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:59:48] local.INFO: Acknowledgment sent {"connection_id":124339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:59:48] local.INFO: Packet analysis {"connection_id":124339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad6"} 
[2026-07-07 09:59:48] local.INFO: Extracted packet for processing {"connection_id":124339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad6"} 
[2026-07-07 09:59:48] local.INFO: GPS Element Parsed {"raw_longitude":755716928,"raw_latitude":117658280,"longitude_deg":75.5716928,"latitude_deg":11.765828,"altitude":14,"angle":271,"satellites":34,"speed":19,"hex_longitude":"2d0b5340","hex_latitude":"070352a8","is_valid_coordinates":true} 
[2026-07-07 09:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550022656001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23370832612950016,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820077374766837760,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783398533000,"timestamp_ms":1783398533000,"timestamp_seconds":1783398533,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad60788"} 
[2026-07-07 09:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:59: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-07-07 09:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 09:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":124339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":124339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":124339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550022656001,"66":14450,"37":206,"94":11008,"24":19,"16":23370832612950016,"45":820077374766837760},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 09:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550022656001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:59:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 09:59:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23370832612950016,"km_value":23370832612950.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":820077374766837760,"description":"Unknown IO ID 45"} 
[2026-07-07 09:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550022656001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":820077374766837760}} 
[2026-07-07 09:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":124339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444813,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:59:48] local.INFO: GPS data processed {"connection_id":124339,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:59:48] local.INFO: Acknowledgment sent {"connection_id":124339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:59:49] local.INFO: TCP Data received {"connection_id":124339,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad60f58012d0b4f00070351e8000e010022..."} 
[2026-07-07 09:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad60f58012d0b4f00070351e8000e010022..."} 
[2026-07-07 09:59:49] local.INFO: Processing buffer {"connection_id":124339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad60f58012d0b4f00070351e8000e010022..."} 
[2026-07-07 09:59:49] local.INFO: Packet analysis {"connection_id":124339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad6"} 
[2026-07-07 09:59:49] local.INFO: Extracted packet for processing {"connection_id":124339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad6"} 
[2026-07-07 09:59:49] local.INFO: GPS Element Parsed {"raw_longitude":755715840,"raw_latitude":117658088,"longitude_deg":75.571584,"latitude_deg":11.7658088,"altitude":14,"angle":256,"satellites":34,"speed":20,"hex_longitude":"2d0b4f00","hex_latitude":"070351e8","is_valid_coordinates":true} 
[2026-07-07 09: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-07-07 09:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550024448001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23370884152557568,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816066356348889088,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783398535000,"timestamp_ms":1783398535000,"timestamp_seconds":1783398535,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad60f58"} 
[2026-07-07 09:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 09:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09: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-07-07 09:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":124339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":124339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":124339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550024448001,"66":14439,"37":206,"94":11008,"24":20,"16":23370884152557568,"45":816066356348889088},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 09:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550024448001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:59:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 09:59:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23370884152557568,"km_value":23370884152557.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":816066356348889088,"description":"Unknown IO ID 45"} 
[2026-07-07 09:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550024448001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":816066356348889088}} 
[2026-07-07 09:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":124339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444814,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:59:50] local.INFO: GPS data processed {"connection_id":124339,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:59:50] local.INFO: Acknowledgment sent {"connection_id":124339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:59:50] local.INFO: TCP Data received {"connection_id":124339,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad61340012d0b4d0007035128000e00f522..."} 
[2026-07-07 09:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad61340012d0b4d0007035128000e00f522..."} 
[2026-07-07 09:59:50] local.INFO: Processing buffer {"connection_id":124339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad61340012d0b4d0007035128000e00f522..."} 
[2026-07-07 09:59:50] local.INFO: Packet analysis {"connection_id":124339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad6"} 
[2026-07-07 09:59:50] local.INFO: Extracted packet for processing {"connection_id":124339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad6"} 
[2026-07-07 09:59:50] local.INFO: GPS Element Parsed {"raw_longitude":755715328,"raw_latitude":117657896,"longitude_deg":75.5715328,"latitude_deg":11.7657896,"altitude":14,"angle":245,"satellites":34,"speed":19,"hex_longitude":"2d0b4d00","hex_latitude":"07035128","is_valid_coordinates":true} 
[2026-07-07 09:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 09:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550024960001,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23370909922361344,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814870087697819648,"note":"Value kept but may cause issues"} 
[2026-07-07 09:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 09:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783398536000,"timestamp_ms":1783398536000,"timestamp_seconds":1783398536,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad61340"} 
[2026-07-07 09:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 09:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 09:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 09:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 09:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 09:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 09:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 09:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":124339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 09:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":124339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":124339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 09:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 09:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 09:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 09:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550024960001,"66":14439,"37":206,"94":11008,"24":19,"16":23370909922361344,"45":814870087697819648},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 09:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 09:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 09:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550024960001,"description":"Unknown IO ID 0"} 
[2026-07-07 09:59:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 09:59:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 09:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23370909922361344,"km_value":23370909922361.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 09:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":814870087697819648,"description":"Unknown IO ID 45"} 
[2026-07-07 09:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550024960001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":814870087697819648}} 
[2026-07-07 09:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":124339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444815,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 09:59:51] local.INFO: GPS data processed {"connection_id":124339,"processed":1,"errors":0,"total":1} 
[2026-07-07 09:59:51] local.INFO: Acknowledgment sent {"connection_id":124339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 09:59:55] local.INFO: TCP Data received {"connection_id":124256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:59:55] local.INFO: Processing buffer {"connection_id":124256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 09:59:55] local.INFO: IMEI packet received {"connection_id":124256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 09:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":124256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 09:59:59] local.INFO: TCP Data received {"connection_id":124340,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:59:59] local.INFO: Processing buffer {"connection_id":124340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 09:59:59] local.INFO: IMEI packet received {"connection_id":124340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 09:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":124340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:00:00] local.INFO: TCP Data received {"connection_id":124256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:00:00] local.INFO: Processing buffer {"connection_id":124256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:00:00] local.INFO: IMEI packet received {"connection_id":124256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":124256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:00:01] local.INFO: TCP Data received {"connection_id":125043,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad626c8012d19498007235670004c002014..."} 
[2026-07-07 10:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad626c8012d19498007235670004c002014..."} 
[2026-07-07 10:00:01] local.INFO: Processing buffer {"connection_id":125043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad626c8012d19498007235670004c002014..."} 
[2026-07-07 10:00:01] local.INFO: Packet analysis {"connection_id":125043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad6"} 
[2026-07-07 10:00:01] local.INFO: Extracted packet for processing {"connection_id":125043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad6"} 
[2026-07-07 10:00:01] local.INFO: GPS Element Parsed {"raw_longitude":756631936,"raw_latitude":119756400,"longitude_deg":75.6631936,"latitude_deg":11.97564,"altitude":76,"angle":32,"satellites":20,"speed":53,"hex_longitude":"2d194980","hex_latitude":"07235670","is_valid_coordinates":true} 
[2026-07-07 10:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550026496001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4694562463285248,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822128292394070016,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783398541000,"timestamp_ms":1783398541000,"timestamp_seconds":1783398541,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad626c8"} 
[2026-07-07 10:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-07 10:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550026496001,"66":14070,"112":206,"28":31744,"24":53,"16":4694562463285248,"45":1822128292394070016},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-07 10:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550026496001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:00:01] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 10:00:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4694562463285248,"km_value":4694562463285.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822128292394070016,"description":"Unknown IO ID 45"} 
[2026-07-07 10:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550026496001,"power":14070,"unknown_112":206,"unknown_28":31744,"ignition":53,"odometer":null,"unknown_45":1822128292394070016}} 
[2026-07-07 10:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":125043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:00:01] local.INFO: GPS data processed {"connection_id":125043,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:00:01] local.INFO: Acknowledgment sent {"connection_id":125043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:00:02] local.INFO: TCP Data received {"connection_id":124256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:00:02] local.INFO: Processing buffer {"connection_id":124256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:00:02] local.INFO: Packet analysis {"connection_id":124256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 10:00:02] local.INFO: Extracted packet for processing {"connection_id":124256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 10:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550017280001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783398511000,"timestamp_ms":1783398511000,"timestamp_seconds":1783398511,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad5b198"} 
[2026-07-07 10:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 10:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550017280001,"66":2514,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550017280001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:00:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:00:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550017280001,"power":2514,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":124256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:00:02] local.INFO: GPS data processed {"connection_id":124256,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:00:02] local.INFO: Acknowledgment sent {"connection_id":124256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:00:04] local.INFO: TCP Data received {"connection_id":124340,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:00:04] local.INFO: Processing buffer {"connection_id":124340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:00:04] local.INFO: IMEI packet received {"connection_id":124340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":124340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:00:05] local.INFO: TCP Data received {"connection_id":124340,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad42710012d7ebf0006000470000800d72b..."} 
[2026-07-07 10:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad42710012d7ebf0006000470000800d72b..."} 
[2026-07-07 10:00:05] local.INFO: Processing buffer {"connection_id":124340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad42710012d7ebf0006000470000800d72b..."} 
[2026-07-07 10:00:05] local.INFO: Packet analysis {"connection_id":124340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad4"} 
[2026-07-07 10:00:05] local.INFO: Extracted packet for processing {"connection_id":124340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad4"} 
[2026-07-07 10:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763281152,"raw_latitude":100664432,"longitude_deg":76.3281152,"latitude_deg":10.0664432,"altitude":8,"angle":215,"satellites":43,"speed":34,"hex_longitude":"2d7ebf00","hex_latitude":"06000470","is_valid_coordinates":true} 
[2026-07-07 10:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549990144001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863516737011712,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9139351782078722048,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783398410000,"timestamp_ms":1783398410000,"timestamp_seconds":1783398410,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad42710"} 
[2026-07-07 10:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 10:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549990144001,"66":27767,"97":206,"87":10752,"24":34,"16":340863516737011712,"45":9139351782078722048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549990144001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:00:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:00:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863516737011712,"km_value":340863516737011.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9139351782078722048,"description":"Unknown IO ID 45"} 
[2026-07-07 10:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549990144001,"power":27767,"unknown_97":206,"unknown_87":10752,"ignition":34,"odometer":null,"unknown_45":9139351782078722048}} 
[2026-07-07 10:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":124340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:00:05] local.INFO: GPS data processed {"connection_id":124340,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:00:05] local.INFO: Acknowledgment sent {"connection_id":124340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:00:11] local.INFO: TCP Data received {"connection_id":126272,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:00:11] local.INFO: Processing buffer {"connection_id":126272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:00:11] local.INFO: IMEI packet received {"connection_id":126272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 10:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":126272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:00:15] local.INFO: TCP Data received {"connection_id":126272,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:00:15] local.INFO: Processing buffer {"connection_id":126272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:00:15] local.INFO: IMEI packet received {"connection_id":126272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 10:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":126272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:00:16] local.INFO: TCP Data received {"connection_id":126272,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:00:16] local.INFO: Processing buffer {"connection_id":126272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:00:16] local.INFO: IMEI packet received {"connection_id":126272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 10:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":126272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:00:20] local.INFO: TCP Data received {"connection_id":126272,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:00:20] local.INFO: Processing buffer {"connection_id":126272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:00:20] local.INFO: IMEI packet received {"connection_id":126272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 10:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":126272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:00:22] local.INFO: TCP Data received {"connection_id":124341,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:00:22] local.INFO: Processing buffer {"connection_id":124341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:00:22] local.INFO: IMEI packet received {"connection_id":124341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":124341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:00:22] local.INFO: TCP Data received {"connection_id":126272,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad6f9b8012d0b3d4007037d40001000561f..."} 
[2026-07-07 10:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad6f9b8012d0b3d4007037d40001000561f..."} 
[2026-07-07 10:00:22] local.INFO: Processing buffer {"connection_id":126272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad6f9b8012d0b3d4007037d40001000561f..."} 
[2026-07-07 10:00:22] local.INFO: Packet analysis {"connection_id":126272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad6"} 
[2026-07-07 10:00:22] local.INFO: Extracted packet for processing {"connection_id":126272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad6"} 
[2026-07-07 10:00:22] local.INFO: GPS Element Parsed {"raw_longitude":755711296,"raw_latitude":117669184,"longitude_deg":75.5711296,"latitude_deg":11.7669184,"altitude":16,"angle":86,"satellites":31,"speed":15,"hex_longitude":"2d0b3d40","hex_latitude":"07037d40","is_valid_coordinates":true} 
[2026-07-07 10:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550039808001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23371923534643200,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809029481933817856,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783398595000,"timestamp_ms":1783398595000,"timestamp_seconds":1783398595,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad6f9b8"} 
[2026-07-07 10:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 10:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126272,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126272,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 10:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 10:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550039808001,"66":14439,"17":206,"94":11008,"24":15,"16":23371923534643200,"45":809029481933817856},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 10:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 10:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 10:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550039808001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:00:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 10:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23371923534643200,"km_value":23371923534643.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":809029481933817856,"description":"Unknown IO ID 45"} 
[2026-07-07 10:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550039808001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":809029481933817856}} 
[2026-07-07 10:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":126272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444819,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:00:22] local.INFO: GPS data processed {"connection_id":126272,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:00:22] local.INFO: Acknowledgment sent {"connection_id":126272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:00:24] local.INFO: TCP Data received {"connection_id":126272,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad70188012d0b404007037e400011003f1f..."} 
[2026-07-07 10:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad70188012d0b404007037e400011003f1f..."} 
[2026-07-07 10:00:24] local.INFO: Processing buffer {"connection_id":126272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad70188012d0b404007037e400011003f1f..."} 
[2026-07-07 10:00:24] local.INFO: Packet analysis {"connection_id":126272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad7"} 
[2026-07-07 10:00:24] local.INFO: Extracted packet for processing {"connection_id":126272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad7"} 
[2026-07-07 10:00:24] local.INFO: GPS Element Parsed {"raw_longitude":755712064,"raw_latitude":117669440,"longitude_deg":75.5712064,"latitude_deg":11.766944,"altitude":17,"angle":63,"satellites":31,"speed":15,"hex_longitude":"2d0b4040","hex_latitude":"07037e40","is_valid_coordinates":true} 
[2026-07-07 10:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550040320001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23371962189348864,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809873906864046080,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783398597000,"timestamp_ms":1783398597000,"timestamp_seconds":1783398597,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad70188"} 
[2026-07-07 10:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 10:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":126272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":126272,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":126272,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 10:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 10:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550040320001,"66":14515,"17":206,"94":11008,"24":15,"16":23371962189348864,"45":809873906864046080},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 10:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 10:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 10:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550040320001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:00:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 10:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23371962189348864,"km_value":23371962189348.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":809873906864046080,"description":"Unknown IO ID 45"} 
[2026-07-07 10:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550040320001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":809873906864046080}} 
[2026-07-07 10:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":126272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444820,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:00:24] local.INFO: GPS data processed {"connection_id":126272,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:00:24] local.INFO: Acknowledgment sent {"connection_id":126272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:00:26] local.INFO: TCP Data received {"connection_id":124341,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:00:26] local.INFO: Processing buffer {"connection_id":124341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:00:26] local.INFO: IMEI packet received {"connection_id":124341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":124341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:00:27] local.INFO: TCP Data received {"connection_id":124341,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:00:27] local.INFO: Processing buffer {"connection_id":124341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:00:27] local.INFO: IMEI packet received {"connection_id":124341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":124341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:00:28] local.INFO: TCP Data received {"connection_id":124341,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad70188012d1a37800723c548002e002a15..."} 
[2026-07-07 10:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad70188012d1a37800723c548002e002a15..."} 
[2026-07-07 10:00:28] local.INFO: Processing buffer {"connection_id":124341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad70188012d1a37800723c548002e002a15..."} 
[2026-07-07 10:00:28] local.INFO: Packet analysis {"connection_id":124341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad7"} 
[2026-07-07 10:00:28] local.INFO: Extracted packet for processing {"connection_id":124341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad7"} 
[2026-07-07 10:00:28] local.INFO: GPS Element Parsed {"raw_longitude":756692864,"raw_latitude":119784776,"longitude_deg":75.6692864,"latitude_deg":11.9784776,"altitude":46,"angle":42,"satellites":21,"speed":35,"hex_longitude":"2d1a3780","hex_latitude":"0723c548","is_valid_coordinates":true} 
[2026-07-07 10:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550039552001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4697985552220160,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885108318439528448,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783398597000,"timestamp_ms":1783398597000,"timestamp_seconds":1783398597,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad70188"} 
[2026-07-07 10:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 10:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550039552001,"66":14515,"112":206,"28":31744,"24":35,"16":4697985552220160,"45":1885108318439528448},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-07 10:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550039552001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:00:28] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 10:00:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4697985552220160,"km_value":4697985552220.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885108318439528448,"description":"Unknown IO ID 45"} 
[2026-07-07 10:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550039552001,"power":14515,"unknown_112":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1885108318439528448}} 
[2026-07-07 10:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":124341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:00:28] local.INFO: GPS data processed {"connection_id":124341,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:00:28] local.INFO: Acknowledgment sent {"connection_id":124341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:00:33] local.INFO: TCP Data received {"connection_id":124341,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad71ce0012d1a47000723d9a8002e001f15..."} 
[2026-07-07 10:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad71ce0012d1a47000723d9a8002e001f15..."} 
[2026-07-07 10:00:33] local.INFO: Processing buffer {"connection_id":124341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad71ce0012d1a47000723d9a8002e001f15..."} 
[2026-07-07 10:00:33] local.INFO: Packet analysis {"connection_id":124341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad7"} 
[2026-07-07 10:00:33] local.INFO: Extracted packet for processing {"connection_id":124341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad7"} 
[2026-07-07 10:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756696832,"raw_latitude":119789992,"longitude_deg":75.6696832,"latitude_deg":11.9789992,"altitude":46,"angle":31,"satellites":21,"speed":42,"hex_longitude":"2d1a4700","hex_latitude":"0723d9a8","is_valid_coordinates":true} 
[2026-07-07 10:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550040832001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4698303379800064,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889119336858470400,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783398604000,"timestamp_ms":1783398604000,"timestamp_seconds":1783398604,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad71ce0"} 
[2026-07-07 10:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 10:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550040832001,"66":14428,"112":206,"28":31744,"24":42,"16":4698303379800064,"45":1889119336858470400},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-07 10:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550040832001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:00:33] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 10:00:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4698303379800064,"km_value":4698303379800.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889119336858470400,"description":"Unknown IO ID 45"} 
[2026-07-07 10:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550040832001,"power":14428,"unknown_112":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1889119336858470400}} 
[2026-07-07 10:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":124341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:00:33] local.INFO: GPS data processed {"connection_id":124341,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:00:33] local.INFO: Acknowledgment sent {"connection_id":124341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:00:33] local.INFO: TCP Data received {"connection_id":124256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:00:33] local.INFO: Processing buffer {"connection_id":124256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:00:33] local.INFO: Packet analysis {"connection_id":124256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 10:00:33] local.INFO: Extracted packet for processing {"connection_id":124256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 10:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550017280001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783398511000,"timestamp_ms":1783398511000,"timestamp_seconds":1783398511,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad5b198"} 
[2026-07-07 10:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 10:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550017280001,"66":2514,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550017280001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:00:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:00:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550017280001,"power":2514,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":124256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:00:33] local.INFO: GPS data processed {"connection_id":124256,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:00:33] local.INFO: Acknowledgment sent {"connection_id":124256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:00:37] local.INFO: TCP Data received {"connection_id":124340,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad42ee0012d7ebb4005ffff08000800d72c..."} 
[2026-07-07 10:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad42ee0012d7ebb4005ffff08000800d72c..."} 
[2026-07-07 10:00:37] local.INFO: Processing buffer {"connection_id":124340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad42ee0012d7ebb4005ffff08000800d72c..."} 
[2026-07-07 10:00:37] local.INFO: Packet analysis {"connection_id":124340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad4"} 
[2026-07-07 10:00:37] local.INFO: Extracted packet for processing {"connection_id":124340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad4"} 
[2026-07-07 10:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763280192,"raw_latitude":100663048,"longitude_deg":76.3280192,"latitude_deg":10.0663048,"altitude":8,"angle":215,"satellites":44,"speed":32,"hex_longitude":"2d7ebb40","hex_latitude":"05ffff08","is_valid_coordinates":true} 
[2026-07-07 10:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549992960001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133018595100749824,"note":"Value kept but may cause issues"} 
[2026-07-07 10:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783398412000,"timestamp_ms":1783398412000,"timestamp_seconds":1783398412,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad42ee0"} 
[2026-07-07 10:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 10:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549992960001,"66":27745,"97":206,"87":10752,"24":32,"16":340863598341390336,"45":9133018595100749824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549992960001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:00:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:00:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133018595100749824,"description":"Unknown IO ID 45"} 
[2026-07-07 10:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549992960001,"power":27745,"unknown_97":206,"unknown_87":10752,"ignition":32,"odometer":null,"unknown_45":9133018595100749824}} 
[2026-07-07 10:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":124340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:00:37] local.INFO: GPS data processed {"connection_id":124340,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:00:37] local.INFO: Acknowledgment sent {"connection_id":124340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:00:56] local.INFO: TCP Data received {"connection_id":126273,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:00:56] local.INFO: Processing buffer {"connection_id":126273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:00:56] local.INFO: IMEI packet received {"connection_id":126273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":126273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:00:59] local.INFO: TCP Data received {"connection_id":124342,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:00:59] local.INFO: Processing buffer {"connection_id":124342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:00:59] local.INFO: IMEI packet received {"connection_id":124342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":124342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:01:01] local.INFO: TCP Data received {"connection_id":126273,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:01:01] local.INFO: Processing buffer {"connection_id":126273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:01:01] local.INFO: IMEI packet received {"connection_id":126273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":126273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:01:01] local.INFO: TCP Data received {"connection_id":126273,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:01:01] local.INFO: Processing buffer {"connection_id":126273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:01:01] local.INFO: Packet analysis {"connection_id":126273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 10:01:01] local.INFO: Extracted packet for processing {"connection_id":126273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 10:01:01] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550017280001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783398511000,"timestamp_ms":1783398511000,"timestamp_seconds":1783398511,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad5b198"} 
[2026-07-07 10:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 10:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550017280001,"66":2514,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550017280001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:01:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:01:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550017280001,"power":2514,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":126273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:01:02] local.INFO: GPS data processed {"connection_id":126273,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:01:02] local.INFO: Acknowledgment sent {"connection_id":126273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:01:02] local.INFO: TCP Data received {"connection_id":126272,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad70570012d0b418007037f80001100281f..."} 
[2026-07-07 10:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad70570012d0b418007037f80001100281f..."} 
[2026-07-07 10:01:02] local.INFO: Processing buffer {"connection_id":126272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad70570012d0b418007037f80001100281f..."} 
[2026-07-07 10:01:02] local.INFO: Packet analysis {"connection_id":126272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad7"} 
[2026-07-07 10:01:02] local.INFO: Extracted packet for processing {"connection_id":126272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad7"} 
[2026-07-07 10:01:02] local.INFO: GPS Element Parsed {"raw_longitude":755712384,"raw_latitude":117669760,"longitude_deg":75.5712384,"latitude_deg":11.766976,"altitude":17,"angle":40,"satellites":31,"speed":15,"hex_longitude":"2d0b4180","hex_latitude":"07037f80","is_valid_coordinates":true} 
[2026-07-07 10:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550040832001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23371983664185344,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":810718331794243584,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783398598000,"timestamp_ms":1783398598000,"timestamp_seconds":1783398598,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad70570"} 
[2026-07-07 10:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:01: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":179,"data_length":795,"current_offset":136} 
[2026-07-07 10:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126272,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126272,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 10:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 10:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550040832001,"66":14515,"17":206,"94":11008,"24":15,"16":23371983664185344,"45":810718331794243584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 10:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 10:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 10:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550040832001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:01:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 10:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23371983664185344,"km_value":23371983664185.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":810718331794243584,"description":"Unknown IO ID 45"} 
[2026-07-07 10:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550040832001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":810718331794243584}} 
[2026-07-07 10:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":126272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444826,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:01:02] local.INFO: GPS data processed {"connection_id":126272,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:01:02] local.INFO: Acknowledgment sent {"connection_id":126272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:01:04] local.INFO: TCP Data received {"connection_id":124341,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad74008012d1a5bc00723f908002f002514..."} 
[2026-07-07 10:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad74008012d1a5bc00723f908002f002514..."} 
[2026-07-07 10:01:04] local.INFO: Processing buffer {"connection_id":124341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad74008012d1a5bc00723f908002f002514..."} 
[2026-07-07 10:01:04] local.INFO: Packet analysis {"connection_id":124341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad7"} 
[2026-07-07 10:01:04] local.INFO: Extracted packet for processing {"connection_id":124341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad7"} 
[2026-07-07 10:01:04] local.INFO: GPS Element Parsed {"raw_longitude":756702144,"raw_latitude":119798024,"longitude_deg":75.6702144,"latitude_deg":11.9798024,"altitude":47,"angle":37,"satellites":20,"speed":40,"hex_longitude":"2d1a5bc0","hex_latitude":"0723f908","is_valid_coordinates":true} 
[2026-07-07 10:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550042624001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4698767236268032,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893482198998820864,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783398613000,"timestamp_ms":1783398613000,"timestamp_seconds":1783398613,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad74008"} 
[2026-07-07 10:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 10:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550042624001,"66":14428,"112":206,"28":31744,"24":40,"16":4698767236268032,"45":1893482198998820864},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-07 10:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550042624001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:01:04] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 10:01:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4698767236268032,"km_value":4698767236268.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893482198998820864,"description":"Unknown IO ID 45"} 
[2026-07-07 10:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550042624001,"power":14428,"unknown_112":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1893482198998820864}} 
[2026-07-07 10:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":124341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:01:04] local.INFO: GPS data processed {"connection_id":124341,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:01:04] local.INFO: Acknowledgment sent {"connection_id":124341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:01:04] local.INFO: TCP Data received {"connection_id":124342,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:01:04] local.INFO: Processing buffer {"connection_id":124342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:01:04] local.INFO: IMEI packet received {"connection_id":124342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":124342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:01:05] local.INFO: TCP Data received {"connection_id":124342,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad42ee0012d7ebb4005ffff08000800d72c..."} 
[2026-07-07 10:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad42ee0012d7ebb4005ffff08000800d72c..."} 
[2026-07-07 10:01:05] local.INFO: Processing buffer {"connection_id":124342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad42ee0012d7ebb4005ffff08000800d72c..."} 
[2026-07-07 10:01:05] local.INFO: Packet analysis {"connection_id":124342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad4"} 
[2026-07-07 10:01:05] local.INFO: Extracted packet for processing {"connection_id":124342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad4"} 
[2026-07-07 10:01:05] local.INFO: GPS Element Parsed {"raw_longitude":763280192,"raw_latitude":100663048,"longitude_deg":76.3280192,"latitude_deg":10.0663048,"altitude":8,"angle":215,"satellites":44,"speed":32,"hex_longitude":"2d7ebb40","hex_latitude":"05ffff08","is_valid_coordinates":true} 
[2026-07-07 10:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549992960001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133018595100749824,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783398412000,"timestamp_ms":1783398412000,"timestamp_seconds":1783398412,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad42ee0"} 
[2026-07-07 10:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 10:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549992960001,"66":27745,"97":206,"87":10752,"24":32,"16":340863598341390336,"45":9133018595100749824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549992960001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:01:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:01:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133018595100749824,"description":"Unknown IO ID 45"} 
[2026-07-07 10:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549992960001,"power":27745,"unknown_97":206,"unknown_87":10752,"ignition":32,"odometer":null,"unknown_45":9133018595100749824}} 
[2026-07-07 10:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":124342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:01:05] local.INFO: GPS data processed {"connection_id":124342,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:01:05] local.INFO: Acknowledgment sent {"connection_id":124342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:01:15] local.INFO: TCP Data received {"connection_id":124343,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124343,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:01:15] local.INFO: Processing buffer {"connection_id":124343,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:01:15] local.INFO: IMEI packet received {"connection_id":124343,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 10:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":124343,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:01:18] local.INFO: TCP Data received {"connection_id":124343,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124343,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:01:18] local.INFO: Processing buffer {"connection_id":124343,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:01:18] local.INFO: IMEI packet received {"connection_id":124343,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 10:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":124343,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:01:19] local.INFO: TCP Data received {"connection_id":124343,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad80f10012d0b34000703fe60000f000422..."} 
[2026-07-07 10:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad80f10012d0b34000703fe60000f000422..."} 
[2026-07-07 10:01:19] local.INFO: Processing buffer {"connection_id":124343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad80f10012d0b34000703fe60000f000422..."} 
[2026-07-07 10:01:19] local.INFO: Packet analysis {"connection_id":124343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:01:19] local.INFO: Extracted packet for processing {"connection_id":124343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:01:19] local.INFO: GPS Element Parsed {"raw_longitude":755708928,"raw_latitude":117702240,"longitude_deg":75.5708928,"latitude_deg":11.770224,"altitude":15,"angle":4,"satellites":34,"speed":17,"hex_longitude":"2d0b3400","hex_latitude":"0703fe60","is_valid_coordinates":true} 
[2026-07-07 10:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550058240001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23373662996398080,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":807199894593646592,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783398666000,"timestamp_ms":1783398666000,"timestamp_seconds":1783398666,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad80f10"} 
[2026-07-07 10:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 10:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 10:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 10:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550058240001,"66":14439,"96":206,"94":10240,"24":17,"16":23373662996398080,"45":807199894593646592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-07 10:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 10:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 10:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550058240001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:01:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 10:01:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 10:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23373662996398080,"km_value":23373662996398.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":807199894593646592,"description":"Unknown IO ID 45"} 
[2026-07-07 10:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550058240001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":807199894593646592}} 
[2026-07-07 10:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":124343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444829,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:01:19] local.INFO: GPS data processed {"connection_id":124343,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:01:19] local.INFO: Acknowledgment sent {"connection_id":124343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:01:22] local.INFO: TCP Data received {"connection_id":126274,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:01:22] local.INFO: Processing buffer {"connection_id":126274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:01:22] local.INFO: IMEI packet received {"connection_id":126274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":126274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:01:27] local.INFO: TCP Data received {"connection_id":126274,"ip":"117.225.134.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:01:27] local.INFO: Processing buffer {"connection_id":126274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:01:27] local.INFO: IMEI packet received {"connection_id":126274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":126274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:01:28] local.INFO: TCP Data received {"connection_id":126274,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad75390012d1a69c0072406b80030003315..."} 
[2026-07-07 10:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad75390012d1a69c0072406b80030003315..."} 
[2026-07-07 10:01:28] local.INFO: Processing buffer {"connection_id":126274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad75390012d1a69c0072406b80030003315..."} 
[2026-07-07 10:01:28] local.INFO: Packet analysis {"connection_id":126274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad7"} 
[2026-07-07 10:01:28] local.INFO: Extracted packet for processing {"connection_id":126274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad7"} 
[2026-07-07 10:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756705728,"raw_latitude":119801528,"longitude_deg":75.6705728,"latitude_deg":11.9801528,"altitude":48,"angle":51,"satellites":21,"speed":35,"hex_longitude":"2d1a69c0","hex_latitude":"072406b8","is_valid_coordinates":true} 
[2026-07-07 10:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550044928001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4699007754436608,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899322804767623168,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783398618000,"timestamp_ms":1783398618000,"timestamp_seconds":1783398618,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad75390"} 
[2026-07-07 10:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 10:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550044928001,"66":16689,"112":206,"28":31744,"24":35,"16":4699007754436608,"45":1899322804767623168},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-07 10:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550044928001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:01:28] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 10:01:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4699007754436608,"km_value":4699007754436.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899322804767623168,"description":"Unknown IO ID 45"} 
[2026-07-07 10:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550044928001,"power":16689,"unknown_112":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1899322804767623168}} 
[2026-07-07 10:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":126274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:01:28] local.INFO: GPS data processed {"connection_id":126274,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:01:28] local.INFO: Acknowledgment sent {"connection_id":126274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:01:32] local.INFO: TCP Data received {"connection_id":126273,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:01:32] local.INFO: Processing buffer {"connection_id":126273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:01:32] local.INFO: Packet analysis {"connection_id":126273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 10:01:32] local.INFO: Extracted packet for processing {"connection_id":126273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 10:01:32] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550017280001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783398511000,"timestamp_ms":1783398511000,"timestamp_seconds":1783398511,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad5b198"} 
[2026-07-07 10:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 10:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550017280001,"66":2514,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550017280001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:01:32] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:01:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550017280001,"power":2514,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":126273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:01:33] local.INFO: GPS data processed {"connection_id":126273,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:01:33] local.INFO: Acknowledgment sent {"connection_id":126273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:01:37] local.INFO: TCP Data received {"connection_id":124342,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad42ee0012d7ebb4005ffff08000800d72c..."} 
[2026-07-07 10:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad42ee0012d7ebb4005ffff08000800d72c..."} 
[2026-07-07 10:01:37] local.INFO: Processing buffer {"connection_id":124342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad42ee0012d7ebb4005ffff08000800d72c..."} 
[2026-07-07 10:01:37] local.INFO: Packet analysis {"connection_id":124342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad4"} 
[2026-07-07 10:01:37] local.INFO: Extracted packet for processing {"connection_id":124342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad4"} 
[2026-07-07 10:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763280192,"raw_latitude":100663048,"longitude_deg":76.3280192,"latitude_deg":10.0663048,"altitude":8,"angle":215,"satellites":44,"speed":32,"hex_longitude":"2d7ebb40","hex_latitude":"05ffff08","is_valid_coordinates":true} 
[2026-07-07 10:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549992960001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133018595100749824,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783398412000,"timestamp_ms":1783398412000,"timestamp_seconds":1783398412,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad42ee0"} 
[2026-07-07 10:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 10:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549992960001,"66":27745,"97":206,"87":10752,"24":32,"16":340863598341390336,"45":9133018595100749824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549992960001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:01:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133018595100749824,"description":"Unknown IO ID 45"} 
[2026-07-07 10:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549992960001,"power":27745,"unknown_97":206,"unknown_87":10752,"ignition":32,"odometer":null,"unknown_45":9133018595100749824}} 
[2026-07-07 10:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":124342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:01:37] local.INFO: GPS data processed {"connection_id":124342,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:01:37] local.INFO: Acknowledgment sent {"connection_id":124342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:01:50] local.INFO: TCP Data received {"connection_id":124343,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad812f8012d0b34800703fff8000f001522..."} 
[2026-07-07 10:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad812f8012d0b34800703fff8000f001522..."} 
[2026-07-07 10:01:50] local.INFO: Processing buffer {"connection_id":124343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad812f8012d0b34800703fff8000f001522..."} 
[2026-07-07 10:01:50] local.INFO: Packet analysis {"connection_id":124343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:01:50] local.INFO: Extracted packet for processing {"connection_id":124343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:01:50] local.INFO: GPS Element Parsed {"raw_longitude":755709056,"raw_latitude":117702648,"longitude_deg":75.5709056,"latitude_deg":11.7702648,"altitude":15,"angle":21,"satellites":34,"speed":18,"hex_longitude":"2d0b3480","hex_latitude":"0703fff8","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550058496001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23373684471234560,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":807270263337934848,"note":"Value kept but may cause issues"} 
[2026-07-07 10:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783398667000,"timestamp_ms":1783398667000,"timestamp_seconds":1783398667,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad812f8"} 
[2026-07-07 10:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 10:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":124343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":124343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":124343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 10:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 10:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550058496001,"66":14439,"96":206,"94":10240,"24":18,"16":23373684471234560,"45":807270263337934848},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-07 10:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 10:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 10:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550058496001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:01:50] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 10:01:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 10:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23373684471234560,"km_value":23373684471234.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":807270263337934848,"description":"Unknown IO ID 45"} 
[2026-07-07 10:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550058496001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":807270263337934848}} 
[2026-07-07 10:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":124343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444833,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:01:50] local.INFO: GPS data processed {"connection_id":124343,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:01:50] local.INFO: Acknowledgment sent {"connection_id":124343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:01:55] local.INFO: TCP Data received {"connection_id":126275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:01:55] local.INFO: Processing buffer {"connection_id":126275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:01:55] local.INFO: IMEI packet received {"connection_id":126275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":126275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:01:59] local.INFO: TCP Data received {"connection_id":125046,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:01:59] local.INFO: Processing buffer {"connection_id":125046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:01:59] local.INFO: IMEI packet received {"connection_id":125046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":125046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:02:01] local.INFO: TCP Data received {"connection_id":126275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:02:01] local.INFO: Processing buffer {"connection_id":126275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:02:01] local.INFO: IMEI packet received {"connection_id":126275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":126275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:02:01] local.INFO: TCP Data received {"connection_id":126275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:02:01] local.INFO: Processing buffer {"connection_id":126275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:02:01] local.INFO: Packet analysis {"connection_id":126275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 10:02:01] local.INFO: Extracted packet for processing {"connection_id":126275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 10:02:01] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550017280001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783398511000,"timestamp_ms":1783398511000,"timestamp_seconds":1783398511,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad5b198"} 
[2026-07-07 10:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 10:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550017280001,"66":2514,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550017280001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:02:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:02:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550017280001,"power":2514,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":126275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:02:01] local.INFO: GPS data processed {"connection_id":126275,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:02:01] local.INFO: Acknowledgment sent {"connection_id":126275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:02:04] local.INFO: TCP Data received {"connection_id":125046,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:02:04] local.INFO: Processing buffer {"connection_id":125046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:02:04] local.INFO: IMEI packet received {"connection_id":125046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":125046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:02:06] local.INFO: TCP Data received {"connection_id":125046,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad42ee0012d7ebb4005ffff08000800d72c..."} 
[2026-07-07 10:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad42ee0012d7ebb4005ffff08000800d72c..."} 
[2026-07-07 10:02:06] local.INFO: Processing buffer {"connection_id":125046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad42ee0012d7ebb4005ffff08000800d72c..."} 
[2026-07-07 10:02:06] local.INFO: Packet analysis {"connection_id":125046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad4"} 
[2026-07-07 10:02:06] local.INFO: Extracted packet for processing {"connection_id":125046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad4"} 
[2026-07-07 10:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763280192,"raw_latitude":100663048,"longitude_deg":76.3280192,"latitude_deg":10.0663048,"altitude":8,"angle":215,"satellites":44,"speed":32,"hex_longitude":"2d7ebb40","hex_latitude":"05ffff08","is_valid_coordinates":true} 
[2026-07-07 10:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549992960001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133018595100749824,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783398412000,"timestamp_ms":1783398412000,"timestamp_seconds":1783398412,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad42ee0"} 
[2026-07-07 10:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 10:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549992960001,"66":27745,"97":206,"87":10752,"24":32,"16":340863598341390336,"45":9133018595100749824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549992960001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:02:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:02:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133018595100749824,"description":"Unknown IO ID 45"} 
[2026-07-07 10:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549992960001,"power":27745,"unknown_97":206,"unknown_87":10752,"ignition":32,"odometer":null,"unknown_45":9133018595100749824}} 
[2026-07-07 10:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":125046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:02:06] local.INFO: GPS data processed {"connection_id":125046,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:02:06] local.INFO: Acknowledgment sent {"connection_id":125046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:02:15] local.INFO: TCP Data received {"connection_id":124345,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124345,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:02:15] local.INFO: Processing buffer {"connection_id":124345,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:02:15] local.INFO: IMEI packet received {"connection_id":124345,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 10:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":124345,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:02:18] local.INFO: TCP Data received {"connection_id":124345,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124345,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:02:18] local.INFO: Processing buffer {"connection_id":124345,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:02:18] local.INFO: IMEI packet received {"connection_id":124345,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 10:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":124345,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:02:19] local.INFO: TCP Data received {"connection_id":124345,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad83238012d0b3bc007041248000c000621..."} 
[2026-07-07 10:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad83238012d0b3bc007041248000c000621..."} 
[2026-07-07 10:02:19] local.INFO: Processing buffer {"connection_id":124345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad83238012d0b3bc007041248000c000621..."} 
[2026-07-07 10:02:19] local.INFO: Packet analysis {"connection_id":124345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:02:19] local.INFO: Extracted packet for processing {"connection_id":124345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:02:19] local.INFO: GPS Element Parsed {"raw_longitude":755710912,"raw_latitude":117707336,"longitude_deg":75.5710912,"latitude_deg":11.7707336,"altitude":12,"angle":6,"satellites":33,"speed":23,"hex_longitude":"2d0b3bc0","hex_latitude":"07041248","is_valid_coordinates":true} 
[2026-07-07 10:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550058752001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23373929284370432,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":807411000826394624,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783398675000,"timestamp_ms":1783398675000,"timestamp_seconds":1783398675,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad83238"} 
[2026-07-07 10:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 10:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 10:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 10:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550058752001,"66":14407,"96":206,"94":10240,"24":23,"16":23373929284370432,"45":807411000826394624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-07 10:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 10:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 10:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550058752001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:02:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 10:02:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 10:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23373929284370432,"km_value":23373929284370.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":807411000826394624,"description":"Unknown IO ID 45"} 
[2026-07-07 10:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550058752001,"power":14407,"unknown_96":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":807411000826394624}} 
[2026-07-07 10:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":124345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444836,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:02:19] local.INFO: GPS data processed {"connection_id":124345,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:02:19] local.INFO: Acknowledgment sent {"connection_id":124345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:02:26] local.INFO: TCP Data received {"connection_id":126274,"ip":"117.225.134.139","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad76718012d1a758007240e700031003e15..."} 
[2026-07-07 10:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad76718012d1a758007240e700031003e15..."} 
[2026-07-07 10:02:26] local.INFO: Processing buffer {"connection_id":126274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad76718012d1a758007240e700031003e15..."} 
[2026-07-07 10:02:26] local.INFO: Packet analysis {"connection_id":126274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad7"} 
[2026-07-07 10:02:26] local.INFO: Extracted packet for processing {"connection_id":126274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad7"} 
[2026-07-07 10:02:26] local.INFO: GPS Element Parsed {"raw_longitude":756708736,"raw_latitude":119803504,"longitude_deg":75.6708736,"latitude_deg":11.9803504,"altitude":49,"angle":62,"satellites":21,"speed":24,"hex_longitude":"2d1a7580","hex_latitude":"07240e70","is_valid_coordinates":true} 
[2026-07-07 10:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550046208001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4699179553128448,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903263454442469376,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783398623000,"timestamp_ms":1783398623000,"timestamp_seconds":1783398623,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad76718"} 
[2026-07-07 10:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":65,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-07-07 10:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":964,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":126274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":126274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":126274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550046208001,"66":13559,"112":206,"28":31744,"24":24,"16":4699179553128448,"45":1903263454442469376},"client_ip":"117.225.134.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-07 10:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550046208001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:02:26] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 10:02:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4699179553128448,"km_value":4699179553128.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903263454442469376,"description":"Unknown IO ID 45"} 
[2026-07-07 10:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550046208001,"power":13559,"unknown_112":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1903263454442469376}} 
[2026-07-07 10:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":126274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:02:26] local.INFO: GPS data processed {"connection_id":126274,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:02:26] local.INFO: Acknowledgment sent {"connection_id":126274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:02:32] local.INFO: TCP Data received {"connection_id":126275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:02:32] local.INFO: Processing buffer {"connection_id":126275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:02:32] local.INFO: Packet analysis {"connection_id":126275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 10:02:32] local.INFO: Extracted packet for processing {"connection_id":126275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 10:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550017280001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783398511000,"timestamp_ms":1783398511000,"timestamp_seconds":1783398511,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad5b198"} 
[2026-07-07 10:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 10:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550017280001,"66":2514,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550017280001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:02:32] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:02:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550017280001,"power":2514,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":126275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:02:32] local.INFO: GPS data processed {"connection_id":126275,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:02:32] local.INFO: Acknowledgment sent {"connection_id":126275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:02:37] local.INFO: TCP Data received {"connection_id":125046,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:02:37] local.INFO: Processing buffer {"connection_id":125046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:02:37] local.INFO: Packet analysis {"connection_id":125046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:02:37] local.INFO: Extracted packet for processing {"connection_id":125046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:02:37] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549993472001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131963063937730560,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783398717000,"timestamp_ms":1783398717000,"timestamp_seconds":1783398717,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad8d648"} 
[2026-07-07 10:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 10:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549993472001,"66":26408,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9131963063937730560},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549993472001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:02:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131963063937730560,"description":"Unknown IO ID 45"} 
[2026-07-07 10:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549993472001,"power":26408,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9131963063937730560}} 
[2026-07-07 10:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":125046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:02:37] local.INFO: GPS data processed {"connection_id":125046,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:02:37] local.INFO: Acknowledgment sent {"connection_id":125046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:02:50] local.INFO: TCP Data received {"connection_id":124345,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad83df0012d0b3bc007041870000c015c21..."} 
[2026-07-07 10:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad83df0012d0b3bc007041870000c015c21..."} 
[2026-07-07 10:02:50] local.INFO: Processing buffer {"connection_id":124345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad83df0012d0b3bc007041870000c015c21..."} 
[2026-07-07 10:02:50] local.INFO: Packet analysis {"connection_id":124345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:02:50] local.INFO: Extracted packet for processing {"connection_id":124345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:02:50] local.INFO: GPS Element Parsed {"raw_longitude":755710912,"raw_latitude":117708912,"longitude_deg":75.5710912,"latitude_deg":11.7708912,"altitude":12,"angle":348,"satellites":33,"speed":18,"hex_longitude":"2d0b3bc0","hex_latitude":"07041870","is_valid_coordinates":true} 
[2026-07-07 10:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550060800001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23374006593781760,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809451694408747008,"note":"Value kept but may cause issues"} 
[2026-07-07 10:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783398678000,"timestamp_ms":1783398678000,"timestamp_seconds":1783398678,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad83df0"} 
[2026-07-07 10:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 10:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":124345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":124345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":124345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 10:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 10:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550060800001,"66":14537,"96":206,"94":10240,"24":18,"16":23374006593781760,"45":809451694408747008},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-07 10:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 10:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 10:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550060800001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:02:50] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 10:02:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 10:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23374006593781760,"km_value":23374006593781.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":809451694408747008,"description":"Unknown IO ID 45"} 
[2026-07-07 10:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550060800001,"power":14537,"unknown_96":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":809451694408747008}} 
[2026-07-07 10:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":124345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444840,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:02:51] local.INFO: GPS data processed {"connection_id":124345,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:02:51] local.INFO: Acknowledgment sent {"connection_id":124345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:02:55] local.INFO: TCP Data received {"connection_id":126276,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:02:55] local.INFO: Processing buffer {"connection_id":126276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:02:55] local.INFO: IMEI packet received {"connection_id":126276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":126276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:02:55] local.INFO: TCP Data received {"connection_id":126277,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:02:55] local.INFO: Processing buffer {"connection_id":126277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:02:55] local.INFO: IMEI packet received {"connection_id":126277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":126277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:02:57] local.INFO: TCP Data received {"connection_id":126276,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:02:57] local.INFO: Processing buffer {"connection_id":126276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:02:57] local.INFO: IMEI packet received {"connection_id":126276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":126276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:03:00] local.INFO: TCP Data received {"connection_id":126276,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:03:00] local.INFO: Processing buffer {"connection_id":126276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:03:00] local.INFO: IMEI packet received {"connection_id":126276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":126276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:03:00] local.INFO: TCP Data received {"connection_id":126277,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:03:00] local.INFO: Processing buffer {"connection_id":126277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:03:00] local.INFO: IMEI packet received {"connection_id":126277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":126277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:03:01] local.INFO: TCP Data received {"connection_id":126276,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad8c6a8012d1b434007248368002f007d17..."} 
[2026-07-07 10:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad8c6a8012d1b434007248368002f007d17..."} 
[2026-07-07 10:03:01] local.INFO: Processing buffer {"connection_id":126276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad8c6a8012d1b434007248368002f007d17..."} 
[2026-07-07 10:03:01] local.INFO: Packet analysis {"connection_id":126276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:03:01] local.INFO: Extracted packet for processing {"connection_id":126276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:03:01] local.INFO: GPS Element Parsed {"raw_longitude":756761408,"raw_latitude":119833448,"longitude_deg":75.6761408,"latitude_deg":11.9833448,"altitude":47,"angle":125,"satellites":23,"speed":27,"hex_longitude":"2d1b4340","hex_latitude":"07248368","is_valid_coordinates":true} 
[2026-07-07 10:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550065152001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4702400778600448,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956954806259329024,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783398713000,"timestamp_ms":1783398713000,"timestamp_seconds":1783398713,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad8c6a8"} 
[2026-07-07 10:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":64,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-07 10:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1013,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550065152001,"66":14461,"111":206,"28":31744,"24":27,"16":4702400778600448,"45":1956954806259329024},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-07-07 10:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550065152001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:03:01] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-07 10:03:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4702400778600448,"km_value":4702400778600.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956954806259329024,"description":"Unknown IO ID 45"} 
[2026-07-07 10:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550065152001,"power":14461,"unknown_111":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1956954806259329024}} 
[2026-07-07 10:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":126276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:03:01] local.INFO: GPS data processed {"connection_id":126276,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:03:01] local.INFO: Acknowledgment sent {"connection_id":126276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:03:02] local.INFO: TCP Data received {"connection_id":126277,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:03:02] local.INFO: Processing buffer {"connection_id":126277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:03:02] local.INFO: Packet analysis {"connection_id":126277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 10:03:02] local.INFO: Extracted packet for processing {"connection_id":126277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 10:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550017280001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783398511000,"timestamp_ms":1783398511000,"timestamp_seconds":1783398511,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad5b198"} 
[2026-07-07 10:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 10:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550017280001,"66":2514,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550017280001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:03:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:03:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550017280001,"power":2514,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":126277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:03:02] local.INFO: GPS data processed {"connection_id":126277,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:03:02] local.INFO: Acknowledgment sent {"connection_id":126277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:03:04] local.INFO: TCP Data received {"connection_id":124346,"ip":"42.106.6.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:03:04] local.INFO: Processing buffer {"connection_id":124346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:03:04] local.INFO: IMEI packet received {"connection_id":124346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":124346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:03:09] local.INFO: TCP Data received {"connection_id":124346,"ip":"42.106.6.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:03:09] local.INFO: Processing buffer {"connection_id":124346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:03:09] local.INFO: IMEI packet received {"connection_id":124346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":124346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:03:11] local.INFO: TCP Data received {"connection_id":124346,"ip":"42.106.6.12","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:03:11] local.INFO: Processing buffer {"connection_id":124346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:03:11] local.INFO: Packet analysis {"connection_id":124346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:03:11] local.INFO: Extracted packet for processing {"connection_id":124346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:03:11] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549993472001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131963063937730560,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783398717000,"timestamp_ms":1783398717000,"timestamp_seconds":1783398717,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad8d648"} 
[2026-07-07 10:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":97,"data_length":795,"current_offset":136} 
[2026-07-07 10:03: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-07-07 10:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549993472001,"66":26408,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9131963063937730560},"client_ip":"42.106.6.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549993472001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:03:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:03:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131963063937730560,"description":"Unknown IO ID 45"} 
[2026-07-07 10:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549993472001,"power":26408,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9131963063937730560}} 
[2026-07-07 10:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":124346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:03:11] local.INFO: GPS data processed {"connection_id":124346,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:03:11] local.INFO: Acknowledgment sent {"connection_id":124346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:03:15] local.INFO: TCP Data received {"connection_id":126279,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126279,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:03:15] local.INFO: Processing buffer {"connection_id":126279,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:03:15] local.INFO: IMEI packet received {"connection_id":126279,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 10:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":126279,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:03:16] local.INFO: TCP Data received {"connection_id":126279,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126279,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:03:16] local.INFO: Processing buffer {"connection_id":126279,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:03:16] local.INFO: IMEI packet received {"connection_id":126279,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 10:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":126279,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:03:17] local.INFO: TCP Data received {"connection_id":126279,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126279,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:03:17] local.INFO: Processing buffer {"connection_id":126279,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:03:17] local.INFO: IMEI packet received {"connection_id":126279,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 10:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":126279,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:03:18] local.INFO: TCP Data received {"connection_id":126279,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126279,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:03:18] local.INFO: Processing buffer {"connection_id":126279,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:03:18] local.INFO: IMEI packet received {"connection_id":126279,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 10:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":126279,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:03:19] local.INFO: TCP Data received {"connection_id":126279,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad841d8012d0b3b4007041a00000b014f21..."} 
[2026-07-07 10:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad841d8012d0b3b4007041a00000b014f21..."} 
[2026-07-07 10:03:19] local.INFO: Processing buffer {"connection_id":126279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad841d8012d0b3b4007041a00000b014f21..."} 
[2026-07-07 10:03:19] local.INFO: Packet analysis {"connection_id":126279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:03:19] local.INFO: Extracted packet for processing {"connection_id":126279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:03:19] local.INFO: GPS Element Parsed {"raw_longitude":755710784,"raw_latitude":117709312,"longitude_deg":75.5710784,"latitude_deg":11.7709312,"altitude":11,"angle":335,"satellites":33,"speed":16,"hex_longitude":"2d0b3b40","hex_latitude":"07041a00","is_valid_coordinates":true} 
[2026-07-07 10:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550061568001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23374028068618240,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809451694409150464,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783398679000,"timestamp_ms":1783398679000,"timestamp_seconds":1783398679,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad841d8"} 
[2026-07-07 10:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 10:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":126279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":126279,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":126279,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 10:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 10:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550061568001,"66":14396,"96":206,"94":10240,"24":16,"16":23374028068618240,"45":809451694409150464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-07 10:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 10:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 10:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550061568001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:03:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 10:03:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 10:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23374028068618240,"km_value":23374028068618.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":809451694409150464,"description":"Unknown IO ID 45"} 
[2026-07-07 10:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550061568001,"power":14396,"unknown_96":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":809451694409150464}} 
[2026-07-07 10:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":126279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444844,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:03:19] local.INFO: GPS data processed {"connection_id":126279,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:03:19] local.INFO: Acknowledgment sent {"connection_id":126279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:03:21] local.INFO: TCP Data received {"connection_id":126279,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad85560012d0b3780070421b0000a015c21..."} 
[2026-07-07 10:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad85560012d0b3780070421b0000a015c21..."} 
[2026-07-07 10:03:21] local.INFO: Processing buffer {"connection_id":126279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad85560012d0b3780070421b0000a015c21..."} 
[2026-07-07 10:03:21] local.INFO: Packet analysis {"connection_id":126279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:03:21] local.INFO: Extracted packet for processing {"connection_id":126279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:03:21] local.INFO: GPS Element Parsed {"raw_longitude":755709824,"raw_latitude":117711280,"longitude_deg":75.5709824,"latitude_deg":11.771128,"altitude":10,"angle":348,"satellites":33,"speed":18,"hex_longitude":"2d0b3780","hex_latitude":"070421b0","is_valid_coordinates":true} 
[2026-07-07 10:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550061824001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23374131147833344,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809310956920897536,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783398684000,"timestamp_ms":1783398684000,"timestamp_seconds":1783398684,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad85560"} 
[2026-07-07 10:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 10:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126279,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126279,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 10:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 10:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550061824001,"66":14461,"96":206,"94":10240,"24":18,"16":23374131147833344,"45":809310956920897536},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-07 10:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 10:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 10:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550061824001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:03:21] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 10:03:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 10:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23374131147833344,"km_value":23374131147833.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":809310956920897536,"description":"Unknown IO ID 45"} 
[2026-07-07 10:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550061824001,"power":14461,"unknown_96":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":809310956920897536}} 
[2026-07-07 10:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":126279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444845,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:03:21] local.INFO: GPS data processed {"connection_id":126279,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:03:21] local.INFO: Acknowledgment sent {"connection_id":126279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:03:27] local.INFO: TCP Data received {"connection_id":124257,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:03:27] local.INFO: Processing buffer {"connection_id":124257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:03:27] local.INFO: IMEI packet received {"connection_id":124257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":124257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:03:27] local.INFO: TCP Data received {"connection_id":124257,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:03:27] local.INFO: Processing buffer {"connection_id":124257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:03:27] local.INFO: IMEI packet received {"connection_id":124257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":124257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:03:28] local.INFO: TCP Data received {"connection_id":124257,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:03:28] local.INFO: Processing buffer {"connection_id":124257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:03:28] local.INFO: IMEI packet received {"connection_id":124257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":124257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:03:29] local.INFO: TCP Data received {"connection_id":124257,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:03:29] local.INFO: Processing buffer {"connection_id":124257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:03:29] local.INFO: IMEI packet received {"connection_id":124257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":124257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:03:33] local.INFO: TCP Data received {"connection_id":126277,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:03:33] local.INFO: Processing buffer {"connection_id":126277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad5b198012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:03:33] local.INFO: Packet analysis {"connection_id":126277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 10:03:33] local.INFO: Extracted packet for processing {"connection_id":126277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad5"} 
[2026-07-07 10:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550017280001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783398511000,"timestamp_ms":1783398511000,"timestamp_seconds":1783398511,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad5b198"} 
[2026-07-07 10:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 10:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550017280001,"66":2514,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550017280001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:03:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:03:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550017280001,"power":2514,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":126277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:03:33] local.INFO: GPS data processed {"connection_id":126277,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:03:33] local.INFO: Acknowledgment sent {"connection_id":126277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:03:43] local.INFO: TCP Data received {"connection_id":124346,"ip":"42.106.6.12","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:03:43] local.INFO: Processing buffer {"connection_id":124346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:03:43] local.INFO: Packet analysis {"connection_id":124346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:03:43] local.INFO: Extracted packet for processing {"connection_id":124346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:03:43] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549993472001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131963063937730560,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783398717000,"timestamp_ms":1783398717000,"timestamp_seconds":1783398717,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad8d648"} 
[2026-07-07 10:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:03: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-07-07 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 10:03: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-07-07 10:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549993472001,"66":26408,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9131963063937730560},"client_ip":"42.106.6.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549993472001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:03:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:03:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131963063937730560,"description":"Unknown IO ID 45"} 
[2026-07-07 10:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549993472001,"power":26408,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9131963063937730560}} 
[2026-07-07 10:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":124346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:03:43] local.INFO: GPS data processed {"connection_id":124346,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:03:43] local.INFO: Acknowledgment sent {"connection_id":124346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:03:53] local.INFO: TCP Data received {"connection_id":126279,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ada5ce8012d0b8fc00703e8680018009921..."} 
[2026-07-07 10:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ada5ce8012d0b8fc00703e8680018009921..."} 
[2026-07-07 10:03:53] local.INFO: Processing buffer {"connection_id":126279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ada5ce8012d0b8fc00703e8680018009921..."} 
[2026-07-07 10:03:53] local.INFO: Packet analysis {"connection_id":126279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:03:53] local.INFO: Extracted packet for processing {"connection_id":126279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:03:53] local.INFO: GPS Element Parsed {"raw_longitude":755732416,"raw_latitude":117696616,"longitude_deg":75.5732416,"latitude_deg":11.7696616,"altitude":24,"angle":153,"satellites":33,"speed":5,"hex_longitude":"2d0b8fc0","hex_latitude":"0703e868","is_valid_coordinates":true} 
[2026-07-07 10:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550095360001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23376201322070016,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":831266005101256704,"note":"Value kept but may cause issues"} 
[2026-07-07 10:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783398817000,"timestamp_ms":1783398817000,"timestamp_seconds":1783398817,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ada5ce8"} 
[2026-07-07 10:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 10:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":126279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":126279,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":126279,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 10:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 10:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550095360001,"66":14439,"96":206,"94":10240,"24":5,"16":23376201322070016,"45":831266005101256704},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-07 10:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 10:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 10:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550095360001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:03:53] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 10:03:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 10:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23376201322070016,"km_value":23376201322070.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":831266005101256704,"description":"Unknown IO ID 45"} 
[2026-07-07 10:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550095360001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":831266005101256704}} 
[2026-07-07 10:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":126279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444848,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:03:53] local.INFO: GPS data processed {"connection_id":126279,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:03:53] local.INFO: Acknowledgment sent {"connection_id":126279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:04:00] local.INFO: TCP Data received {"connection_id":125047,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:04:00] local.INFO: Processing buffer {"connection_id":125047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:04:00] local.INFO: IMEI packet received {"connection_id":125047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":125047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:04:00] local.INFO: TCP Data received {"connection_id":124258,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:04:00] local.INFO: Processing buffer {"connection_id":124258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:04:00] local.INFO: IMEI packet received {"connection_id":124258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":124258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:04:04] local.INFO: TCP Data received {"connection_id":125047,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:04:04] local.INFO: Processing buffer {"connection_id":125047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:04:04] local.INFO: IMEI packet received {"connection_id":125047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":125047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:04:06] local.INFO: TCP Data received {"connection_id":124258,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:04:06] local.INFO: Processing buffer {"connection_id":124258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:04:06] local.INFO: IMEI packet received {"connection_id":124258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":124258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:04:06] local.INFO: TCP Data received {"connection_id":125047,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:04:06] local.INFO: Processing buffer {"connection_id":125047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:04:06] local.INFO: Packet analysis {"connection_id":125047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:04:06] local.INFO: Extracted packet for processing {"connection_id":125047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:04:06] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549993472001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131963063937730560,"note":"Value kept but may cause issues"} 
[2026-07-07 10:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783398717000,"timestamp_ms":1783398717000,"timestamp_seconds":1783398717,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad8d648"} 
[2026-07-07 10:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 10:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549993472001,"66":26408,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9131963063937730560},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549993472001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:04:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:04:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131963063937730560,"description":"Unknown IO ID 45"} 
[2026-07-07 10:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549993472001,"power":26408,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9131963063937730560}} 
[2026-07-07 10:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":125047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:04:06] local.INFO: GPS data processed {"connection_id":125047,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:04:06] local.INFO: Acknowledgment sent {"connection_id":125047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:04:07] local.INFO: TCP Data received {"connection_id":124258,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:04:07] local.INFO: Processing buffer {"connection_id":124258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:04:07] local.INFO: Packet analysis {"connection_id":124258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:04:07] local.INFO: Extracted packet for processing {"connection_id":124258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:04:07] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550018816001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783398812000,"timestamp_ms":1783398812000,"timestamp_seconds":1783398812,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ada4960"} 
[2026-07-07 10:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-07 10:04: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-07-07 10: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-07-07 10:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:04: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-07-07 10:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550018816001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550018816001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:04:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:04:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550018816001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":124258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:04:07] local.INFO: GPS data processed {"connection_id":124258,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:04:07] local.INFO: Acknowledgment sent {"connection_id":124258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:04:34] local.INFO: TCP Data received {"connection_id":125048,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:04:34] local.INFO: Processing buffer {"connection_id":125048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:04:34] local.INFO: IMEI packet received {"connection_id":125048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 10:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":125048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:04:37] local.INFO: TCP Data received {"connection_id":125047,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:04:37] local.INFO: Processing buffer {"connection_id":125047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:04:37] local.INFO: Packet analysis {"connection_id":125047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:04:37] local.INFO: Extracted packet for processing {"connection_id":125047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:04:37] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549993472001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131963063937730560,"note":"Value kept but may cause issues"} 
[2026-07-07 10:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783398717000,"timestamp_ms":1783398717000,"timestamp_seconds":1783398717,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad8d648"} 
[2026-07-07 10:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 10:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549993472001,"66":26408,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9131963063937730560},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549993472001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:04:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:04:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131963063937730560,"description":"Unknown IO ID 45"} 
[2026-07-07 10:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549993472001,"power":26408,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9131963063937730560}} 
[2026-07-07 10:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":125047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:04:37] local.INFO: GPS data processed {"connection_id":125047,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:04:37] local.INFO: Acknowledgment sent {"connection_id":125047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:04:38] local.INFO: TCP Data received {"connection_id":124258,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:04:38] local.INFO: Processing buffer {"connection_id":124258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:04:38] local.INFO: Packet analysis {"connection_id":124258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:04:38] local.INFO: Extracted packet for processing {"connection_id":124258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:04:38] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550018816001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783398812000,"timestamp_ms":1783398812000,"timestamp_seconds":1783398812,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ada4960"} 
[2026-07-07 10:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-07 10:04:38] 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-07-07 10:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550018816001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550018816001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:04:38] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:04:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550018816001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":124258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:04:39] local.INFO: GPS data processed {"connection_id":124258,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:04:39] local.INFO: Acknowledgment sent {"connection_id":124258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:04:40] local.INFO: TCP Data received {"connection_id":125049,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125049,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:04:40] local.INFO: Processing buffer {"connection_id":125049,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:04:40] local.INFO: IMEI packet received {"connection_id":125049,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 10:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":125049,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:04:41] local.INFO: TCP Data received {"connection_id":125049,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125049,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:04:41] local.INFO: Processing buffer {"connection_id":125049,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:04:41] local.INFO: IMEI packet received {"connection_id":125049,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 10:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":125049,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:04:45] local.INFO: TCP Data received {"connection_id":125049,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125049,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:04:45] local.INFO: Processing buffer {"connection_id":125049,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:04:45] local.INFO: IMEI packet received {"connection_id":125049,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 10:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":125049,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:04:49] local.INFO: TCP Data received {"connection_id":125049,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3adaf158012d0b94800703b078002300b521..."} 
[2026-07-07 10:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3adaf158012d0b94800703b078002300b521..."} 
[2026-07-07 10:04:49] local.INFO: Processing buffer {"connection_id":125049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3adaf158012d0b94800703b078002300b521..."} 
[2026-07-07 10:04:49] local.INFO: Packet analysis {"connection_id":125049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:04:49] local.INFO: Extracted packet for processing {"connection_id":125049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:04:49] local.INFO: GPS Element Parsed {"raw_longitude":755733632,"raw_latitude":117682296,"longitude_deg":75.5733632,"latitude_deg":11.7682296,"altitude":35,"angle":181,"satellites":33,"speed":11,"hex_longitude":"2d0b9480","hex_latitude":"0703b078","is_valid_coordinates":true} 
[2026-07-07 10:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550105344001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23376944351412224,"note":"Value kept but may cause issues"} 
[2026-07-07 10:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":834080754864926720,"note":"Value kept but may cause issues"} 
[2026-07-07 10:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783398855000,"timestamp_ms":1783398855000,"timestamp_seconds":1783398855,"priority":1,"record_length":96,"hex_timestamp":"0000019f3adaf158"} 
[2026-07-07 10:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 10:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":125049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":125049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":125049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 10:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 10:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 10:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550105344001,"66":14374,"96":206,"94":10240,"24":11,"16":23376944351412224,"45":834080754864926720},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-07 10:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 10:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 10:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550105344001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:04:49] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 10:04:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 10:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23376944351412224,"km_value":23376944351412.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":834080754864926720,"description":"Unknown IO ID 45"} 
[2026-07-07 10:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550105344001,"power":14374,"unknown_96":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":834080754864926720}} 
[2026-07-07 10:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":125049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444853,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:04:49] local.INFO: GPS data processed {"connection_id":125049,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:04:49] local.INFO: Acknowledgment sent {"connection_id":125049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:04:55] local.INFO: TCP Data received {"connection_id":126281,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:04:55] local.INFO: Processing buffer {"connection_id":126281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:04:55] local.INFO: IMEI packet received {"connection_id":126281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":126281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:04:59] local.INFO: TCP Data received {"connection_id":124347,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:04:59] local.INFO: Processing buffer {"connection_id":124347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:04:59] local.INFO: IMEI packet received {"connection_id":124347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 10:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":124347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:04:59] local.INFO: TCP Data received {"connection_id":124259,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:04:59] local.INFO: Processing buffer {"connection_id":124259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:04:59] local.INFO: IMEI packet received {"connection_id":124259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":124259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:05:00] local.INFO: TCP Data received {"connection_id":126281,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:05:00] local.INFO: Processing buffer {"connection_id":126281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:05:00] local.INFO: IMEI packet received {"connection_id":126281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":126281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:05:03] local.INFO: TCP Data received {"connection_id":126281,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:05:03] local.INFO: Processing buffer {"connection_id":126281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:05:03] local.INFO: Packet analysis {"connection_id":126281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:05:03] local.INFO: Extracted packet for processing {"connection_id":126281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:05:03] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550018816001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783398812000,"timestamp_ms":1783398812000,"timestamp_seconds":1783398812,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ada4960"} 
[2026-07-07 10:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-07 10:05:03] 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-07-07 10:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550018816001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550018816001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:05:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:05:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550018816001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":126281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:05:03] local.INFO: GPS data processed {"connection_id":126281,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:05:03] local.INFO: Acknowledgment sent {"connection_id":126281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:05:04] local.INFO: TCP Data received {"connection_id":124259,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:05:04] local.INFO: Processing buffer {"connection_id":124259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:05:04] local.INFO: IMEI packet received {"connection_id":124259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":124259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:05:05] local.INFO: TCP Data received {"connection_id":124259,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:05:05] local.INFO: Processing buffer {"connection_id":124259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:05:05] local.INFO: Packet analysis {"connection_id":124259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:05:05] local.INFO: Extracted packet for processing {"connection_id":124259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549993472001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131963063937730560,"note":"Value kept but may cause issues"} 
[2026-07-07 10:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783398717000,"timestamp_ms":1783398717000,"timestamp_seconds":1783398717,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad8d648"} 
[2026-07-07 10:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 10:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549993472001,"66":26408,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9131963063937730560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549993472001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:05:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:05:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131963063937730560,"description":"Unknown IO ID 45"} 
[2026-07-07 10:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549993472001,"power":26408,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9131963063937730560}} 
[2026-07-07 10:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":124259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:05:05] local.INFO: GPS data processed {"connection_id":124259,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:05:05] local.INFO: Acknowledgment sent {"connection_id":124259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:05:40] local.INFO: TCP Data received {"connection_id":126281,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:05:40] local.INFO: Processing buffer {"connection_id":126281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:05:40] local.INFO: Packet analysis {"connection_id":126281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:05:40] local.INFO: Extracted packet for processing {"connection_id":126281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:05:40] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550018816001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783398812000,"timestamp_ms":1783398812000,"timestamp_seconds":1783398812,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ada4960"} 
[2026-07-07 10:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-07 10:05:40] 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-07-07 10:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550018816001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550018816001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:05:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:05:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550018816001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":126281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:05:40] local.INFO: GPS data processed {"connection_id":126281,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:05:40] local.INFO: Acknowledgment sent {"connection_id":126281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:05:41] local.INFO: TCP Data received {"connection_id":124259,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:05:41] local.INFO: Processing buffer {"connection_id":124259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:05:41] local.INFO: Packet analysis {"connection_id":124259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:05:41] local.INFO: Extracted packet for processing {"connection_id":124259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:05:41] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549993472001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131963063937730560,"note":"Value kept but may cause issues"} 
[2026-07-07 10:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783398717000,"timestamp_ms":1783398717000,"timestamp_seconds":1783398717,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad8d648"} 
[2026-07-07 10:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 10:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549993472001,"66":26408,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9131963063937730560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549993472001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:05:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:05:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131963063937730560,"description":"Unknown IO ID 45"} 
[2026-07-07 10:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549993472001,"power":26408,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9131963063937730560}} 
[2026-07-07 10:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":124259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:05:41] local.INFO: GPS data processed {"connection_id":124259,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:05:41] local.INFO: Acknowledgment sent {"connection_id":124259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:05:55] local.INFO: TCP Data received {"connection_id":126282,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:05:55] local.INFO: Processing buffer {"connection_id":126282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:05:55] local.INFO: IMEI packet received {"connection_id":126282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":126282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:05:56] local.INFO: TCP Data received {"connection_id":124348,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:05:56] local.INFO: Processing buffer {"connection_id":124348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:05:56] local.INFO: IMEI packet received {"connection_id":124348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 10:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":124348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:06:00] local.INFO: TCP Data received {"connection_id":124348,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:06:00] local.INFO: Processing buffer {"connection_id":124348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:06:00] local.INFO: IMEI packet received {"connection_id":124348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 10:06:00] local.ERROR: TCP Connection error {"connection_id":124348,"code":2,"message":"client closed"} 
[2026-07-07 10:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":124348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:06:00] local.INFO: TCP Data received {"connection_id":124260,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:06:00] local.INFO: Processing buffer {"connection_id":124260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:06:00] local.INFO: IMEI packet received {"connection_id":124260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":124260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:06:04] local.INFO: TCP Data received {"connection_id":124260,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:06:04] local.INFO: Processing buffer {"connection_id":124260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:06:04] local.INFO: IMEI packet received {"connection_id":124260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":124260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:06:06] local.INFO: TCP Data received {"connection_id":124260,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:06:06] local.INFO: Processing buffer {"connection_id":124260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:06:06] local.INFO: Packet analysis {"connection_id":124260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:06:06] local.INFO: Extracted packet for processing {"connection_id":124260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549993472001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131963063937730560,"note":"Value kept but may cause issues"} 
[2026-07-07 10:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783398717000,"timestamp_ms":1783398717000,"timestamp_seconds":1783398717,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad8d648"} 
[2026-07-07 10:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 10:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:06: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-07-07 10:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549993472001,"66":26408,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9131963063937730560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549993472001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:06:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:06:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131963063937730560,"description":"Unknown IO ID 45"} 
[2026-07-07 10:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549993472001,"power":26408,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9131963063937730560}} 
[2026-07-07 10:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":124260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:06:06] local.INFO: GPS data processed {"connection_id":124260,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:06:06] local.INFO: Acknowledgment sent {"connection_id":124260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:06:08] local.INFO: TCP Data received {"connection_id":126282,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:06:08] local.INFO: Processing buffer {"connection_id":126282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:06:08] local.INFO: IMEI packet received {"connection_id":126282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":126282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:06:10] local.INFO: TCP Data received {"connection_id":126282,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:06:10] local.INFO: Processing buffer {"connection_id":126282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:06:10] local.INFO: Packet analysis {"connection_id":126282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:06:10] local.INFO: Extracted packet for processing {"connection_id":126282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:06:10] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550018816001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783398812000,"timestamp_ms":1783398812000,"timestamp_seconds":1783398812,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ada4960"} 
[2026-07-07 10:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-07 10:06:10] 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-07-07 10:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550018816001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550018816001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:06:10] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:06:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550018816001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":126282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:06:10] local.INFO: GPS data processed {"connection_id":126282,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:06:10] local.INFO: Acknowledgment sent {"connection_id":126282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:06:17] local.INFO: TCP Data received {"connection_id":126283,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126283,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:06:17] local.INFO: Processing buffer {"connection_id":126283,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:06:17] local.INFO: IMEI packet received {"connection_id":126283,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 10:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":126283,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:06:20] local.INFO: TCP Data received {"connection_id":126283,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126283,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:06:20] local.INFO: Processing buffer {"connection_id":126283,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 10:06:20] local.INFO: IMEI packet received {"connection_id":126283,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 10:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":126283,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:06:38] local.INFO: TCP Data received {"connection_id":124260,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:06:38] local.INFO: Processing buffer {"connection_id":124260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:06:38] local.INFO: Packet analysis {"connection_id":124260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:06:38] local.INFO: Extracted packet for processing {"connection_id":124260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549993472001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131963063937730560,"note":"Value kept but may cause issues"} 
[2026-07-07 10:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783398717000,"timestamp_ms":1783398717000,"timestamp_seconds":1783398717,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad8d648"} 
[2026-07-07 10:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 10:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:06: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-07-07 10:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549993472001,"66":26408,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9131963063937730560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549993472001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:06:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:06:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131963063937730560,"description":"Unknown IO ID 45"} 
[2026-07-07 10:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549993472001,"power":26408,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9131963063937730560}} 
[2026-07-07 10:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":124260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:06:38] local.INFO: GPS data processed {"connection_id":124260,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:06:38] local.INFO: Acknowledgment sent {"connection_id":124260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:06:44] local.INFO: TCP Data received {"connection_id":126282,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:06:44] local.INFO: Processing buffer {"connection_id":126282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:06:44] local.INFO: Packet analysis {"connection_id":126282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:06:44] local.INFO: Extracted packet for processing {"connection_id":126282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:06:44] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 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-07-07 10:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550018816001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783398812000,"timestamp_ms":1783398812000,"timestamp_seconds":1783398812,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ada4960"} 
[2026-07-07 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-07-07 10:06: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-07-07 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":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-07 10:06:44] 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-07-07 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-07-07 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-07-07 10:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":126282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":126282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":126282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550018816001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550018816001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:06:44] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:06:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550018816001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":126282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:06:44] local.INFO: GPS data processed {"connection_id":126282,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:06:44] local.INFO: Acknowledgment sent {"connection_id":126282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:06:55] local.INFO: TCP Data received {"connection_id":124261,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:06:55] local.INFO: Processing buffer {"connection_id":124261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:06:55] local.INFO: IMEI packet received {"connection_id":124261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":124261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:06:59] local.INFO: TCP Data received {"connection_id":124262,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:06:59] local.INFO: Processing buffer {"connection_id":124262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:06:59] local.INFO: IMEI packet received {"connection_id":124262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":124262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:07:00] local.INFO: TCP Data received {"connection_id":124261,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:07:00] local.INFO: Processing buffer {"connection_id":124261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:07:00] local.INFO: IMEI packet received {"connection_id":124261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":124261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:07:01] local.INFO: TCP Data received {"connection_id":124261,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:07:01] local.INFO: Processing buffer {"connection_id":124261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:07:01] local.INFO: Packet analysis {"connection_id":124261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:07:01] local.INFO: Extracted packet for processing {"connection_id":124261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:07:01] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550018816001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783398812000,"timestamp_ms":1783398812000,"timestamp_seconds":1783398812,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ada4960"} 
[2026-07-07 10:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-07 10:07:01] 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-07-07 10:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550018816001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550018816001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:07:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:07:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550018816001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":124261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:07:01] local.INFO: GPS data processed {"connection_id":124261,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:07:01] local.INFO: Acknowledgment sent {"connection_id":124261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:07:04] local.INFO: TCP Data received {"connection_id":124262,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:07:04] local.INFO: Processing buffer {"connection_id":124262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:07:04] local.INFO: IMEI packet received {"connection_id":124262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":124262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:07:06] local.INFO: TCP Data received {"connection_id":124262,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:07:06] local.INFO: Processing buffer {"connection_id":124262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ad8d648012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:07:06] local.INFO: Packet analysis {"connection_id":124262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:07:06] local.INFO: Extracted packet for processing {"connection_id":124262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ad8"} 
[2026-07-07 10:07:06] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456549993472001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131963063937730560,"note":"Value kept but may cause issues"} 
[2026-07-07 10:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783398717000,"timestamp_ms":1783398717000,"timestamp_seconds":1783398717,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ad8d648"} 
[2026-07-07 10:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 10:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:07: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-07-07 10:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456549993472001,"66":26408,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9131963063937730560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456549993472001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:07:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:07:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131963063937730560,"description":"Unknown IO ID 45"} 
[2026-07-07 10:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456549993472001,"power":26408,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9131963063937730560}} 
[2026-07-07 10:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":124262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:07:06] local.INFO: GPS data processed {"connection_id":124262,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:07:06] local.INFO: Acknowledgment sent {"connection_id":124262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:07:32] local.INFO: TCP Data received {"connection_id":124261,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:07:32] local.INFO: Processing buffer {"connection_id":124261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:07:32] local.INFO: Packet analysis {"connection_id":124261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:07:32] local.INFO: Extracted packet for processing {"connection_id":124261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:07:32] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550018816001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783398812000,"timestamp_ms":1783398812000,"timestamp_seconds":1783398812,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ada4960"} 
[2026-07-07 10:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-07 10:07:32] 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-07-07 10:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550018816001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550018816001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:07:32] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:07:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550018816001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":124261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:07:32] local.INFO: GPS data processed {"connection_id":124261,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:07:32] local.INFO: Acknowledgment sent {"connection_id":124261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:07:37] local.INFO: TCP Data received {"connection_id":124262,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:07:37] local.INFO: Processing buffer {"connection_id":124262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:07:37] local.INFO: Packet analysis {"connection_id":124262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:07:37] local.INFO: Extracted packet for processing {"connection_id":124262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550071552001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729920866387968,"note":"Value kept but may cause issues"} 
[2026-07-07 10:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783399018000,"timestamp_ms":1783399018000,"timestamp_seconds":1783399018,"priority":1,"record_length":96,"hex_timestamp":"0000019f3add6e10"} 
[2026-07-07 10:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-07 10:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550071552001,"66":26147,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9123729920866387968},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550071552001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:07:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729920866387968,"description":"Unknown IO ID 45"} 
[2026-07-07 10:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550071552001,"power":26147,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9123729920866387968}} 
[2026-07-07 10:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":124262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:07:37] local.INFO: GPS data processed {"connection_id":124262,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:07:37] local.INFO: Acknowledgment sent {"connection_id":124262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:07:56] local.INFO: TCP Data received {"connection_id":126285,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:07:56] local.INFO: Processing buffer {"connection_id":126285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:07:56] local.INFO: IMEI packet received {"connection_id":126285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":126285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:08:00] local.INFO: TCP Data received {"connection_id":126285,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:08:00] local.INFO: Processing buffer {"connection_id":126285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:08:00] local.INFO: IMEI packet received {"connection_id":126285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":126285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:08:02] local.INFO: TCP Data received {"connection_id":126285,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:08:02] local.INFO: Processing buffer {"connection_id":126285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:08:02] local.INFO: Packet analysis {"connection_id":126285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:08:02] local.INFO: Extracted packet for processing {"connection_id":126285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550018816001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783398812000,"timestamp_ms":1783398812000,"timestamp_seconds":1783398812,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ada4960"} 
[2026-07-07 10:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-07 10:08:02] 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-07-07 10:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550018816001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550018816001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:08:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:08:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550018816001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":126285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:08:02] local.INFO: GPS data processed {"connection_id":126285,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:08:02] local.INFO: Acknowledgment sent {"connection_id":126285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:08:04] local.INFO: TCP Data received {"connection_id":124350,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:08:04] local.INFO: Processing buffer {"connection_id":124350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:08:04] local.INFO: IMEI packet received {"connection_id":124350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":124350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:08:09] local.INFO: TCP Data received {"connection_id":124350,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:08:09] local.INFO: Processing buffer {"connection_id":124350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:08:09] local.INFO: IMEI packet received {"connection_id":124350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":124350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:08:10] local.INFO: TCP Data received {"connection_id":124350,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:08:10] local.INFO: Processing buffer {"connection_id":124350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:08:10] local.INFO: Packet analysis {"connection_id":124350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:08:10] local.INFO: Extracted packet for processing {"connection_id":124350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550071552001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729920866387968,"note":"Value kept but may cause issues"} 
[2026-07-07 10:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783399018000,"timestamp_ms":1783399018000,"timestamp_seconds":1783399018,"priority":1,"record_length":96,"hex_timestamp":"0000019f3add6e10"} 
[2026-07-07 10:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-07 10:08: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-07-07 10:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550071552001,"66":26147,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9123729920866387968},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550071552001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:08:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729920866387968,"description":"Unknown IO ID 45"} 
[2026-07-07 10:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550071552001,"power":26147,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9123729920866387968}} 
[2026-07-07 10:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":124350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:08:10] local.INFO: GPS data processed {"connection_id":124350,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:08:10] local.INFO: Acknowledgment sent {"connection_id":124350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:08:32] local.INFO: TCP Data received {"connection_id":126286,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:08:32] local.INFO: Processing buffer {"connection_id":126286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:08:32] local.INFO: IMEI packet received {"connection_id":126286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":126286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:08:33] local.INFO: TCP Data received {"connection_id":126285,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:08:33] local.INFO: Processing buffer {"connection_id":126285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ada4960012d7d0a8005ec3c680011005729..."} 
[2026-07-07 10:08:33] local.INFO: Packet analysis {"connection_id":126285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:08:33] local.INFO: Extracted packet for processing {"connection_id":126285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ada"} 
[2026-07-07 10:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550018816001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783398812000,"timestamp_ms":1783398812000,"timestamp_seconds":1783398812,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ada4960"} 
[2026-07-07 10:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-07 10:08:33] 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-07-07 10: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-07-07 10:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550018816001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550018816001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:08:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:08:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550018816001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":126285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:08:33] local.INFO: GPS data processed {"connection_id":126285,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:08:33] local.INFO: Acknowledgment sent {"connection_id":126285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:08:34] local.INFO: TCP Data received {"connection_id":126286,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3add2f90012d1a7d40072410f0003200f71c..."} 
[2026-07-07 10:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3add2f90012d1a7d40072410f0003200f71c..."} 
[2026-07-07 10:08:34] local.INFO: Processing buffer {"connection_id":126286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3add2f90012d1a7d40072410f0003200f71c..."} 
[2026-07-07 10:08:34] local.INFO: Packet analysis {"connection_id":126286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:08:34] local.INFO: Extracted packet for processing {"connection_id":126286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:08:34] local.INFO: GPS Element Parsed {"raw_longitude":756710720,"raw_latitude":119804144,"longitude_deg":75.671072,"latitude_deg":11.9804144,"altitude":50,"angle":247,"satellites":28,"speed":0,"hex_longitude":"2d1a7d40","hex_latitude":"072410f0","is_valid_coordinates":true} 
[2026-07-07 10:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550139136001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4707224026873856,"note":"Value kept but may cause issues"} 
[2026-07-07 10:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1914663191000569856,"note":"Value kept but may cause issues"} 
[2026-07-07 10:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783399002000,"timestamp_ms":1783399002000,"timestamp_seconds":1783399002,"priority":1,"record_length":96,"hex_timestamp":"0000019f3add2f90"} 
[2026-07-07 10:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":68,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-07 10:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550139136001,"66":17668,"112":206,"28":31744,"24":0,"16":4707224026873856,"45":1914663191000569856},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-07 10:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550139136001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:08:34] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 10:08:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4707224026873856,"km_value":4707224026873.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1914663191000569856,"description":"Unknown IO ID 45"} 
[2026-07-07 10:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550139136001,"power":17668,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1914663191000569856}} 
[2026-07-07 10:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":126286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:08:34] local.INFO: GPS data processed {"connection_id":126286,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:08:34] local.INFO: Acknowledgment sent {"connection_id":126286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:08:42] local.INFO: TCP Data received {"connection_id":124350,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:08:42] local.INFO: Processing buffer {"connection_id":124350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:08:42] local.INFO: Packet analysis {"connection_id":124350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:08:42] local.INFO: Extracted packet for processing {"connection_id":124350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:08:42] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550071552001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729920866387968,"note":"Value kept but may cause issues"} 
[2026-07-07 10:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783399018000,"timestamp_ms":1783399018000,"timestamp_seconds":1783399018,"priority":1,"record_length":96,"hex_timestamp":"0000019f3add6e10"} 
[2026-07-07 10:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10: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-07-07 10:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-07 10:08:42] 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-07-07 10:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550071552001,"66":26147,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9123729920866387968},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550071552001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:08:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:08:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729920866387968,"description":"Unknown IO ID 45"} 
[2026-07-07 10:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550071552001,"power":26147,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9123729920866387968}} 
[2026-07-07 10:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":124350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:08:42] local.INFO: GPS data processed {"connection_id":124350,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:08:42] local.INFO: Acknowledgment sent {"connection_id":124350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:08:59] local.INFO: TCP Data received {"connection_id":126288,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:08:59] local.INFO: Processing buffer {"connection_id":126288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:08:59] local.INFO: IMEI packet received {"connection_id":126288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":126288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:09:01] local.INFO: TCP Data received {"connection_id":126287,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:09:01] local.INFO: Processing buffer {"connection_id":126287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:09:01] local.INFO: IMEI packet received {"connection_id":126287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":126287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:09:04] local.INFO: TCP Data received {"connection_id":126288,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:09:04] local.INFO: Processing buffer {"connection_id":126288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:09:04] local.INFO: IMEI packet received {"connection_id":126288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":126288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:09:06] local.INFO: TCP Data received {"connection_id":126286,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3adf1008012d1a1b400723aef0003300f61e..."} 
[2026-07-07 10:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3adf1008012d1a1b400723aef0003300f61e..."} 
[2026-07-07 10:09:06] local.INFO: Processing buffer {"connection_id":126286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3adf1008012d1a1b400723aef0003300f61e..."} 
[2026-07-07 10:09:06] local.INFO: Packet analysis {"connection_id":126286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3adf"} 
[2026-07-07 10:09:06] local.INFO: Extracted packet for processing {"connection_id":126286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3adf"} 
[2026-07-07 10:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756685632,"raw_latitude":119779056,"longitude_deg":75.6685632,"latitude_deg":11.9779056,"altitude":51,"angle":246,"satellites":30,"speed":35,"hex_longitude":"2d1a1b40","hex_latitude":"0723aef0","is_valid_coordinates":true} 
[2026-07-07 10:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550174464001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4708972078563328,"note":"Value kept but may cause issues"} 
[2026-07-07 10:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886023112113823744,"note":"Value kept but may cause issues"} 
[2026-07-07 10:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783399125000,"timestamp_ms":1783399125000,"timestamp_seconds":1783399125,"priority":1,"record_length":96,"hex_timestamp":"0000019f3adf1008"} 
[2026-07-07 10:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":73,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-07-07 10:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550174464001,"66":17440,"112":206,"28":31744,"24":35,"16":4708972078563328,"45":1886023112113823744},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-07 10:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550174464001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:09:06] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 10:09:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4708972078563328,"km_value":4708972078563.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886023112113823744,"description":"Unknown IO ID 45"} 
[2026-07-07 10:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550174464001,"power":17440,"unknown_112":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1886023112113823744}} 
[2026-07-07 10:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":126286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:09:06] local.INFO: GPS data processed {"connection_id":126286,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:09:06] local.INFO: Acknowledgment sent {"connection_id":126286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:09:06] local.INFO: TCP Data received {"connection_id":126288,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:09:06] local.INFO: Processing buffer {"connection_id":126288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:09:06] local.INFO: Packet analysis {"connection_id":126288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:09:06] local.INFO: Extracted packet for processing {"connection_id":126288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550071552001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729920866387968,"note":"Value kept but may cause issues"} 
[2026-07-07 10:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783399018000,"timestamp_ms":1783399018000,"timestamp_seconds":1783399018,"priority":1,"record_length":96,"hex_timestamp":"0000019f3add6e10"} 
[2026-07-07 10:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-07 10:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550071552001,"66":26147,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9123729920866387968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550071552001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:09:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:09:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729920866387968,"description":"Unknown IO ID 45"} 
[2026-07-07 10:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550071552001,"power":26147,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9123729920866387968}} 
[2026-07-07 10:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":126288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:09:06] local.INFO: GPS data processed {"connection_id":126288,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:09:06] local.INFO: Acknowledgment sent {"connection_id":126288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:09:06] local.INFO: TCP Data received {"connection_id":126287,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:09:06] local.INFO: Processing buffer {"connection_id":126287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:09:06] local.INFO: IMEI packet received {"connection_id":126287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":126287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:09:07] local.INFO: TCP Data received {"connection_id":126287,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:09:07] local.INFO: Processing buffer {"connection_id":126287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:09:07] local.INFO: Packet analysis {"connection_id":126287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ade"} 
[2026-07-07 10:09:07] local.INFO: Extracted packet for processing {"connection_id":126287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ade"} 
[2026-07-07 10:09:07] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550095872001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783399113000,"timestamp_ms":1783399113000,"timestamp_seconds":1783399113,"priority":1,"record_length":96,"hex_timestamp":"0000019f3adee128"} 
[2026-07-07 10:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:09: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-07-07 10:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550095872001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550095872001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:09:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:09:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550095872001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":126287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444873,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:09:07] local.INFO: GPS data processed {"connection_id":126287,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:09:07] local.INFO: Acknowledgment sent {"connection_id":126287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:09:12] local.INFO: TCP Data received {"connection_id":126287,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:09:12] local.INFO: Processing buffer {"connection_id":126287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:09:12] local.INFO: Packet analysis {"connection_id":126287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ade"} 
[2026-07-07 10:09:12] local.INFO: Extracted packet for processing {"connection_id":126287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ade"} 
[2026-07-07 10:09:12] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550095872001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783399113000,"timestamp_ms":1783399113000,"timestamp_seconds":1783399113,"priority":1,"record_length":96,"hex_timestamp":"0000019f3adee128"} 
[2026-07-07 10:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:09: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-07-07 10:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550095872001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550095872001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:09:12] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:09:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550095872001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":126287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:09:12] local.INFO: GPS data processed {"connection_id":126287,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:09:12] local.INFO: Acknowledgment sent {"connection_id":126287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:09:22] local.INFO: TCP Data received {"connection_id":125055,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:09:22] local.INFO: Processing buffer {"connection_id":125055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:09:22] local.INFO: IMEI packet received {"connection_id":125055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":125055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:09:23] local.INFO: TCP Data received {"connection_id":125055,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:09:23] local.INFO: Processing buffer {"connection_id":125055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:09:23] local.INFO: IMEI packet received {"connection_id":125055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":125055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:09:27] local.INFO: TCP Data received {"connection_id":125055,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:09:27] local.INFO: Processing buffer {"connection_id":125055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:09:27] local.INFO: IMEI packet received {"connection_id":125055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":125055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:09:28] local.INFO: TCP Data received {"connection_id":125055,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3adf2390012d1a0a000723a9e8003401021c..."} 
[2026-07-07 10:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3adf2390012d1a0a000723a9e8003401021c..."} 
[2026-07-07 10:09:28] local.INFO: Processing buffer {"connection_id":125055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3adf2390012d1a0a000723a9e8003401021c..."} 
[2026-07-07 10:09:28] local.INFO: Packet analysis {"connection_id":125055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3adf"} 
[2026-07-07 10:09:28] local.INFO: Extracted packet for processing {"connection_id":125055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3adf"} 
[2026-07-07 10:09:28] local.INFO: GPS Element Parsed {"raw_longitude":756681216,"raw_latitude":119777768,"longitude_deg":75.6681216,"latitude_deg":11.9777768,"altitude":52,"angle":258,"satellites":28,"speed":35,"hex_longitude":"2d1a0a00","hex_latitude":"0723a9e8","is_valid_coordinates":true} 
[2026-07-07 10:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550176000001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4709191121895424,"note":"Value kept but may cause issues"} 
[2026-07-07 10:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881167668764930048,"note":"Value kept but may cause issues"} 
[2026-07-07 10:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783399130000,"timestamp_ms":1783399130000,"timestamp_seconds":1783399130,"priority":1,"record_length":96,"hex_timestamp":"0000019f3adf2390"} 
[2026-07-07 10:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":68,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-07 10:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550176000001,"66":17646,"112":206,"28":31744,"24":35,"16":4709191121895424,"45":1881167668764930048},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-07 10:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550176000001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:09:28] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 10:09:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4709191121895424,"km_value":4709191121895.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881167668764930048,"description":"Unknown IO ID 45"} 
[2026-07-07 10:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550176000001,"power":17646,"unknown_112":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1881167668764930048}} 
[2026-07-07 10:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":125055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:09:29] local.INFO: GPS data processed {"connection_id":125055,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:09:29] local.INFO: Acknowledgment sent {"connection_id":125055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:09:37] local.INFO: TCP Data received {"connection_id":126288,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:09:37] local.INFO: Processing buffer {"connection_id":126288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:09:37] local.INFO: Packet analysis {"connection_id":126288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:09:37] local.INFO: Extracted packet for processing {"connection_id":126288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550071552001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729920866387968,"note":"Value kept but may cause issues"} 
[2026-07-07 10:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783399018000,"timestamp_ms":1783399018000,"timestamp_seconds":1783399018,"priority":1,"record_length":96,"hex_timestamp":"0000019f3add6e10"} 
[2026-07-07 10:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-07 10:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550071552001,"66":26147,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9123729920866387968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550071552001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:09:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729920866387968,"description":"Unknown IO ID 45"} 
[2026-07-07 10:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550071552001,"power":26147,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9123729920866387968}} 
[2026-07-07 10:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":126288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:09:37] local.INFO: GPS data processed {"connection_id":126288,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:09:37] local.INFO: Acknowledgment sent {"connection_id":126288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:09:56] local.INFO: TCP Data received {"connection_id":125056,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:09:56] local.INFO: Processing buffer {"connection_id":125056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:09:56] local.INFO: IMEI packet received {"connection_id":125056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":125056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:09:59] local.INFO: TCP Data received {"connection_id":124265,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:09:59] local.INFO: Processing buffer {"connection_id":124265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:09:59] local.INFO: IMEI packet received {"connection_id":124265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":124265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:10:00] local.INFO: TCP Data received {"connection_id":125055,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3adf4aa0012d19e5c00723a530003601071d..."} 
[2026-07-07 10:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3adf4aa0012d19e5c00723a530003601071d..."} 
[2026-07-07 10:10:00] local.INFO: Processing buffer {"connection_id":125055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3adf4aa0012d19e5c00723a530003601071d..."} 
[2026-07-07 10:10:00] local.INFO: Packet analysis {"connection_id":125055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3adf"} 
[2026-07-07 10:10:00] local.INFO: Extracted packet for processing {"connection_id":125055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3adf"} 
[2026-07-07 10:10:00] local.INFO: GPS Element Parsed {"raw_longitude":756671936,"raw_latitude":119776560,"longitude_deg":75.6671936,"latitude_deg":11.977656,"altitude":54,"angle":263,"satellites":29,"speed":36,"hex_longitude":"2d19e5c0","hex_latitude":"0723a530","is_valid_coordinates":true} 
[2026-07-07 10:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550177280001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4709637798494208,"note":"Value kept but may cause issues"} 
[2026-07-07 10:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876312225416341504,"note":"Value kept but may cause issues"} 
[2026-07-07 10:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783399140000,"timestamp_ms":1783399140000,"timestamp_seconds":1783399140,"priority":1,"record_length":96,"hex_timestamp":"0000019f3adf4aa0"} 
[2026-07-07 10:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":68,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-07 10:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550177280001,"66":17874,"112":206,"28":31744,"24":36,"16":4709637798494208,"45":1876312225416341504},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-07 10:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550177280001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:10:00] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 10:10:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4709637798494208,"km_value":4709637798494.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876312225416341504,"description":"Unknown IO ID 45"} 
[2026-07-07 10:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550177280001,"power":17874,"unknown_112":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1876312225416341504}} 
[2026-07-07 10:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":125055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:10:00] local.INFO: GPS data processed {"connection_id":125055,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:10:00] local.INFO: Acknowledgment sent {"connection_id":125055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:10:01] local.INFO: TCP Data received {"connection_id":125056,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:10:01] local.INFO: Processing buffer {"connection_id":125056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:10:01] local.INFO: IMEI packet received {"connection_id":125056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":125056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:10:02] local.INFO: TCP Data received {"connection_id":125056,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:10:02] local.INFO: Processing buffer {"connection_id":125056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:10:02] local.INFO: Packet analysis {"connection_id":125056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ade"} 
[2026-07-07 10:10:02] local.INFO: Extracted packet for processing {"connection_id":125056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ade"} 
[2026-07-07 10:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550095872001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783399113000,"timestamp_ms":1783399113000,"timestamp_seconds":1783399113,"priority":1,"record_length":96,"hex_timestamp":"0000019f3adee128"} 
[2026-07-07 10:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550095872001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550095872001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:10:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:10:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550095872001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":125056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:10:02] local.INFO: GPS data processed {"connection_id":125056,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:10:02] local.INFO: Acknowledgment sent {"connection_id":125056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:10:04] local.INFO: TCP Data received {"connection_id":124265,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:10:04] local.INFO: Processing buffer {"connection_id":124265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:10:04] local.INFO: IMEI packet received {"connection_id":124265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":124265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:10:06] local.INFO: TCP Data received {"connection_id":124265,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:10:06] local.INFO: Processing buffer {"connection_id":124265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:10:06] local.INFO: Packet analysis {"connection_id":124265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:10:06] local.INFO: Extracted packet for processing {"connection_id":124265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550071552001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729920866387968,"note":"Value kept but may cause issues"} 
[2026-07-07 10:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783399018000,"timestamp_ms":1783399018000,"timestamp_seconds":1783399018,"priority":1,"record_length":96,"hex_timestamp":"0000019f3add6e10"} 
[2026-07-07 10:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-07 10:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550071552001,"66":26147,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9123729920866387968},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550071552001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:10:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729920866387968,"description":"Unknown IO ID 45"} 
[2026-07-07 10:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550071552001,"power":26147,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9123729920866387968}} 
[2026-07-07 10:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":124265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:10:06] local.INFO: GPS data processed {"connection_id":124265,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:10:06] local.INFO: Acknowledgment sent {"connection_id":124265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:10:14] local.INFO: TCP Data received {"connection_id":126289,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:10:14] local.INFO: Processing buffer {"connection_id":126289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:10:14] local.INFO: IMEI packet received {"connection_id":126289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 10:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":126289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:10:22] local.INFO: TCP Data received {"connection_id":125057,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:10:22] local.INFO: Processing buffer {"connection_id":125057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:10:22] local.INFO: IMEI packet received {"connection_id":125057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":125057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:10:30] local.INFO: TCP Data received {"connection_id":125057,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:10:30] local.INFO: Processing buffer {"connection_id":125057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:10:30] local.INFO: IMEI packet received {"connection_id":125057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":125057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:10:31] local.INFO: TCP Data received {"connection_id":125057,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3adf71b0012d19c1c00723a0e0003801051e..."} 
[2026-07-07 10:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3adf71b0012d19c1c00723a0e0003801051e..."} 
[2026-07-07 10:10:31] local.INFO: Processing buffer {"connection_id":125057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3adf71b0012d19c1c00723a0e0003801051e..."} 
[2026-07-07 10:10:31] local.INFO: Packet analysis {"connection_id":125057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3adf"} 
[2026-07-07 10:10:31] local.INFO: Extracted packet for processing {"connection_id":125057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3adf"} 
[2026-07-07 10:10:31] local.INFO: GPS Element Parsed {"raw_longitude":756662720,"raw_latitude":119775456,"longitude_deg":75.666272,"latitude_deg":11.9775456,"altitude":56,"angle":261,"satellites":30,"speed":36,"hex_longitude":"2d19c1c0","hex_latitude":"0723a0e0","is_valid_coordinates":true} 
[2026-07-07 10:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550179840001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4710075885158400,"note":"Value kept but may cause issues"} 
[2026-07-07 10:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866108757510270976,"note":"Value kept but may cause issues"} 
[2026-07-07 10:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783399150000,"timestamp_ms":1783399150000,"timestamp_seconds":1783399150,"priority":1,"record_length":96,"hex_timestamp":"0000019f3adf71b0"} 
[2026-07-07 10:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":69,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-07 10:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550179840001,"66":17907,"112":206,"28":31744,"24":36,"16":4710075885158400,"45":1866108757510270976},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-07 10:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550179840001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:10:31] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 10:10:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4710075885158400,"km_value":4710075885158.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866108757510270976,"description":"Unknown IO ID 45"} 
[2026-07-07 10:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550179840001,"power":17907,"unknown_112":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1866108757510270976}} 
[2026-07-07 10:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":125057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:10:31] local.INFO: GPS data processed {"connection_id":125057,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:10:31] local.INFO: Acknowledgment sent {"connection_id":125057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:10:33] local.INFO: TCP Data received {"connection_id":125056,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:10:33] local.INFO: Processing buffer {"connection_id":125056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:10:33] local.INFO: Packet analysis {"connection_id":125056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ade"} 
[2026-07-07 10:10:33] local.INFO: Extracted packet for processing {"connection_id":125056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ade"} 
[2026-07-07 10:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550095872001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783399113000,"timestamp_ms":1783399113000,"timestamp_seconds":1783399113,"priority":1,"record_length":96,"hex_timestamp":"0000019f3adee128"} 
[2026-07-07 10:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550095872001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550095872001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:10:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:10:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550095872001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":125056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:10:33] local.INFO: GPS data processed {"connection_id":125056,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:10:33] local.INFO: Acknowledgment sent {"connection_id":125056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:10:37] local.INFO: TCP Data received {"connection_id":124265,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:10:37] local.INFO: Processing buffer {"connection_id":124265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:10:37] local.INFO: Packet analysis {"connection_id":124265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:10:37] local.INFO: Extracted packet for processing {"connection_id":124265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550071552001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729920866387968,"note":"Value kept but may cause issues"} 
[2026-07-07 10:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783399018000,"timestamp_ms":1783399018000,"timestamp_seconds":1783399018,"priority":1,"record_length":96,"hex_timestamp":"0000019f3add6e10"} 
[2026-07-07 10:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-07 10:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550071552001,"66":26147,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9123729920866387968},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550071552001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:10:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729920866387968,"description":"Unknown IO ID 45"} 
[2026-07-07 10:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550071552001,"power":26147,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9123729920866387968}} 
[2026-07-07 10:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":124265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:10:37] local.INFO: GPS data processed {"connection_id":124265,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:10:37] local.INFO: Acknowledgment sent {"connection_id":124265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:10:56] local.INFO: TCP Data received {"connection_id":126290,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:10:56] local.INFO: Processing buffer {"connection_id":126290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:10:56] local.INFO: IMEI packet received {"connection_id":126290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":126290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:10:59] local.INFO: TCP Data received {"connection_id":125058,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:10:59] local.INFO: Processing buffer {"connection_id":125058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:10:59] local.INFO: IMEI packet received {"connection_id":125058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":125058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:11:01] local.INFO: TCP Data received {"connection_id":126290,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:11:01] local.INFO: Processing buffer {"connection_id":126290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:11:01] local.INFO: IMEI packet received {"connection_id":126290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":126290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:11:02] local.INFO: TCP Data received {"connection_id":126290,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:11:02] local.INFO: Processing buffer {"connection_id":126290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:11:02] local.INFO: Packet analysis {"connection_id":126290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ade"} 
[2026-07-07 10:11:02] local.INFO: Extracted packet for processing {"connection_id":126290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ade"} 
[2026-07-07 10:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550095872001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783399113000,"timestamp_ms":1783399113000,"timestamp_seconds":1783399113,"priority":1,"record_length":96,"hex_timestamp":"0000019f3adee128"} 
[2026-07-07 10:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550095872001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550095872001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:11:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:11:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550095872001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":126290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:11:02] local.INFO: GPS data processed {"connection_id":126290,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:11:02] local.INFO: Acknowledgment sent {"connection_id":126290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:11:04] local.INFO: TCP Data received {"connection_id":125058,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:11:04] local.INFO: Processing buffer {"connection_id":125058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:11:04] local.INFO: IMEI packet received {"connection_id":125058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":125058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:11:04] local.INFO: TCP Data received {"connection_id":125057,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae0ec98012d18c000072301a8006300ed1e..."} 
[2026-07-07 10:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae0ec98012d18c000072301a8006300ed1e..."} 
[2026-07-07 10:11:04] local.INFO: Processing buffer {"connection_id":125057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae0ec98012d18c000072301a8006300ed1e..."} 
[2026-07-07 10:11:04] local.INFO: Packet analysis {"connection_id":125057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae0"} 
[2026-07-07 10:11:04] local.INFO: Extracted packet for processing {"connection_id":125057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae0"} 
[2026-07-07 10:11:04] local.INFO: GPS Element Parsed {"raw_longitude":756596736,"raw_latitude":119734696,"longitude_deg":75.6596736,"latitude_deg":11.9734696,"altitude":99,"angle":237,"satellites":30,"speed":31,"hex_longitude":"2d18c000","hex_latitude":"072301a8","is_valid_coordinates":true} 
[2026-07-07 10:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550206976001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4714207643697152,"note":"Value kept but may cause issues"} 
[2026-07-07 10:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784199539276849152,"note":"Value kept but may cause issues"} 
[2026-07-07 10:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783399247000,"timestamp_ms":1783399247000,"timestamp_seconds":1783399247,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae0ec98"} 
[2026-07-07 10:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:11: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-07-07 10:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":68,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 10:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1609,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550206976001,"66":17614,"112":206,"28":31744,"24":31,"16":4714207643697152,"45":1784199539276849152},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-07 10:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550206976001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:11:04] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 10:11:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4714207643697152,"km_value":4714207643697.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784199539276849152,"description":"Unknown IO ID 45"} 
[2026-07-07 10:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550206976001,"power":17614,"unknown_112":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1784199539276849152}} 
[2026-07-07 10:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":125057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:11:05] local.INFO: GPS data processed {"connection_id":125057,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:11:05] local.INFO: Acknowledgment sent {"connection_id":125057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:11:05] local.INFO: TCP Data received {"connection_id":125059,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:11:05] local.INFO: Processing buffer {"connection_id":125059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:11:05] local.INFO: IMEI packet received {"connection_id":125059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 10:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":125059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:11:06] local.INFO: TCP Data received {"connection_id":125058,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:11:06] local.INFO: Processing buffer {"connection_id":125058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:11:06] local.INFO: Packet analysis {"connection_id":125058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:11:06] local.INFO: Extracted packet for processing {"connection_id":125058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550071552001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729920866387968,"note":"Value kept but may cause issues"} 
[2026-07-07 10:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783399018000,"timestamp_ms":1783399018000,"timestamp_seconds":1783399018,"priority":1,"record_length":96,"hex_timestamp":"0000019f3add6e10"} 
[2026-07-07 10:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-07 10:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550071552001,"66":26147,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9123729920866387968},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550071552001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:11:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:11:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729920866387968,"description":"Unknown IO ID 45"} 
[2026-07-07 10:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550071552001,"power":26147,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9123729920866387968}} 
[2026-07-07 10:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":125058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:11:06] local.INFO: GPS data processed {"connection_id":125058,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:11:06] local.INFO: Acknowledgment sent {"connection_id":125058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:11:25] local.INFO: TCP Data received {"connection_id":126291,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:11:25] local.INFO: Processing buffer {"connection_id":126291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:11:25] local.INFO: IMEI packet received {"connection_id":126291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":126291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:11:27] local.INFO: TCP Data received {"connection_id":126291,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:11:27] local.INFO: Processing buffer {"connection_id":126291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:11:27] local.INFO: IMEI packet received {"connection_id":126291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":126291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:11:30] local.INFO: TCP Data received {"connection_id":126291,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:11:30] local.INFO: Processing buffer {"connection_id":126291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:11:30] local.INFO: IMEI packet received {"connection_id":126291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":126291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:11:32] local.INFO: TCP Data received {"connection_id":126291,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae0f468012d18bb800722fd70006400da1e..."} 
[2026-07-07 10:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae0f468012d18bb800722fd70006400da1e..."} 
[2026-07-07 10:11:32] local.INFO: Processing buffer {"connection_id":126291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae0f468012d18bb800722fd70006400da1e..."} 
[2026-07-07 10:11:32] local.INFO: Packet analysis {"connection_id":126291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae0"} 
[2026-07-07 10:11:32] local.INFO: Extracted packet for processing {"connection_id":126291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae0"} 
[2026-07-07 10:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756595584,"raw_latitude":119733616,"longitude_deg":75.6595584,"latitude_deg":11.9733616,"altitude":100,"angle":218,"satellites":30,"speed":31,"hex_longitude":"2d18bb80","hex_latitude":"0722fd70","is_valid_coordinates":true} 
[2026-07-07 10:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550207232001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4714284953108480,"note":"Value kept but may cause issues"} 
[2026-07-07 10:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783425483090798592,"note":"Value kept but may cause issues"} 
[2026-07-07 10:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783399249000,"timestamp_ms":1783399249000,"timestamp_seconds":1783399249,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae0f468"} 
[2026-07-07 10:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":68,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-07-07 10:11:32] 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-07-07 10:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550207232001,"66":17548,"112":206,"28":31744,"24":31,"16":4714284953108480,"45":1783425483090798592},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-07 10:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550207232001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:11:32] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 10:11:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4714284953108480,"km_value":4714284953108.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783425483090798592,"description":"Unknown IO ID 45"} 
[2026-07-07 10:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550207232001,"power":17548,"unknown_112":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1783425483090798592}} 
[2026-07-07 10:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":126291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:11:32] local.INFO: GPS data processed {"connection_id":126291,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:11:32] local.INFO: Acknowledgment sent {"connection_id":126291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:11:33] local.INFO: TCP Data received {"connection_id":126290,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:11:33] local.INFO: Processing buffer {"connection_id":126290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:11:33] local.INFO: Packet analysis {"connection_id":126290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ade"} 
[2026-07-07 10:11:33] local.INFO: Extracted packet for processing {"connection_id":126290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ade"} 
[2026-07-07 10:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550095872001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783399113000,"timestamp_ms":1783399113000,"timestamp_seconds":1783399113,"priority":1,"record_length":96,"hex_timestamp":"0000019f3adee128"} 
[2026-07-07 10:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:11: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":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550095872001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550095872001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:11:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:11:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550095872001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":126290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:11:33] local.INFO: GPS data processed {"connection_id":126290,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:11:33] local.INFO: Acknowledgment sent {"connection_id":126290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:11:37] local.INFO: TCP Data received {"connection_id":125058,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:11:37] local.INFO: Processing buffer {"connection_id":125058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:11:37] local.INFO: Packet analysis {"connection_id":125058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:11:37] local.INFO: Extracted packet for processing {"connection_id":125058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550071552001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729920866387968,"note":"Value kept but may cause issues"} 
[2026-07-07 10:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783399018000,"timestamp_ms":1783399018000,"timestamp_seconds":1783399018,"priority":1,"record_length":96,"hex_timestamp":"0000019f3add6e10"} 
[2026-07-07 10:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-07 10:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550071552001,"66":26147,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9123729920866387968},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550071552001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:11:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729920866387968,"description":"Unknown IO ID 45"} 
[2026-07-07 10:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550071552001,"power":26147,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9123729920866387968}} 
[2026-07-07 10:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":125058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:11:37] local.INFO: GPS data processed {"connection_id":125058,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:11:37] local.INFO: Acknowledgment sent {"connection_id":125058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:11:55] local.INFO: TCP Data received {"connection_id":126293,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:11:55] local.INFO: Processing buffer {"connection_id":126293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:11:55] local.INFO: IMEI packet received {"connection_id":126293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":126293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:11:59] local.INFO: TCP Data received {"connection_id":124267,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:11:59] local.INFO: Processing buffer {"connection_id":124267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:11:59] local.INFO: IMEI packet received {"connection_id":124267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":124267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:12:01] local.INFO: TCP Data received {"connection_id":126293,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:12:01] local.INFO: Processing buffer {"connection_id":126293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:12:01] local.INFO: IMEI packet received {"connection_id":126293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":126293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:12:02] local.INFO: TCP Data received {"connection_id":126293,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:12:02] local.INFO: Processing buffer {"connection_id":126293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:12:02] local.INFO: Packet analysis {"connection_id":126293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ade"} 
[2026-07-07 10:12:02] local.INFO: Extracted packet for processing {"connection_id":126293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ade"} 
[2026-07-07 10:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550095872001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783399113000,"timestamp_ms":1783399113000,"timestamp_seconds":1783399113,"priority":1,"record_length":96,"hex_timestamp":"0000019f3adee128"} 
[2026-07-07 10:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550095872001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550095872001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:12:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:12:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550095872001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":126293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:12:02] local.INFO: GPS data processed {"connection_id":126293,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:12:02] local.INFO: Acknowledgment sent {"connection_id":126293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:12:03] local.INFO: TCP Data received {"connection_id":126291,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae0fc38012d18b8c00722f840006500ca1e..."} 
[2026-07-07 10:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae0fc38012d18b8c00722f840006500ca1e..."} 
[2026-07-07 10:12:03] local.INFO: Processing buffer {"connection_id":126291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae0fc38012d18b8c00722f840006500ca1e..."} 
[2026-07-07 10:12:03] local.INFO: Packet analysis {"connection_id":126291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae0"} 
[2026-07-07 10:12:03] local.INFO: Extracted packet for processing {"connection_id":126291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae0"} 
[2026-07-07 10:12:03] local.INFO: GPS Element Parsed {"raw_longitude":756594880,"raw_latitude":119732288,"longitude_deg":75.659488,"latitude_deg":11.9732288,"altitude":101,"angle":202,"satellites":30,"speed":32,"hex_longitude":"2d18b8c0","hex_latitude":"0722f840","is_valid_coordinates":true} 
[2026-07-07 10:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550207744001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4714357967552512,"note":"Value kept but may cause issues"} 
[2026-07-07 10:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782158845695324160,"note":"Value kept but may cause issues"} 
[2026-07-07 10:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783399251000,"timestamp_ms":1783399251000,"timestamp_seconds":1783399251,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae0fc38"} 
[2026-07-07 10:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":68,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-07 10:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550207744001,"66":17744,"112":206,"28":31744,"24":32,"16":4714357967552512,"45":1782158845695324160},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-07 10:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550207744001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:12:03] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 10:12:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4714357967552512,"km_value":4714357967552.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782158845695324160,"description":"Unknown IO ID 45"} 
[2026-07-07 10:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550207744001,"power":17744,"unknown_112":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1782158845695324160}} 
[2026-07-07 10:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":126291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:12:03] local.INFO: GPS data processed {"connection_id":126291,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:12:03] local.INFO: Acknowledgment sent {"connection_id":126291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:12:04] local.INFO: TCP Data received {"connection_id":124267,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:12:04] local.INFO: Processing buffer {"connection_id":124267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:12:04] local.INFO: IMEI packet received {"connection_id":124267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":124267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:12:05] local.INFO: TCP Data received {"connection_id":124267,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:12:05] local.INFO: Processing buffer {"connection_id":124267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:12:05] local.INFO: Packet analysis {"connection_id":124267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:12:05] local.INFO: Extracted packet for processing {"connection_id":124267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550071552001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729920866387968,"note":"Value kept but may cause issues"} 
[2026-07-07 10:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783399018000,"timestamp_ms":1783399018000,"timestamp_seconds":1783399018,"priority":1,"record_length":96,"hex_timestamp":"0000019f3add6e10"} 
[2026-07-07 10:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-07 10:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550071552001,"66":26147,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9123729920866387968},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550071552001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:12:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:12:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729920866387968,"description":"Unknown IO ID 45"} 
[2026-07-07 10:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550071552001,"power":26147,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9123729920866387968}} 
[2026-07-07 10:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":124267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:12:05] local.INFO: GPS data processed {"connection_id":124267,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:12:05] local.INFO: Acknowledgment sent {"connection_id":124267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:12:19] local.INFO: TCP Data received {"connection_id":124351,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:12:19] local.INFO: Processing buffer {"connection_id":124351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:12:19] local.INFO: IMEI packet received {"connection_id":124351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":124351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:12:22] local.INFO: TCP Data received {"connection_id":124351,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:12:22] local.INFO: Processing buffer {"connection_id":124351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:12:22] local.INFO: IMEI packet received {"connection_id":124351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":124351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:12:27] local.INFO: TCP Data received {"connection_id":124351,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:12:27] local.INFO: Processing buffer {"connection_id":124351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:12:27] local.INFO: IMEI packet received {"connection_id":124351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":124351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:12:28] local.INFO: TCP Data received {"connection_id":124351,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae205d8012d185a40072203f0004f00d51f..."} 
[2026-07-07 10:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae205d8012d185a40072203f0004f00d51f..."} 
[2026-07-07 10:12:28] local.INFO: Processing buffer {"connection_id":124351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae205d8012d185a40072203f0004f00d51f..."} 
[2026-07-07 10:12:28] local.INFO: Packet analysis {"connection_id":124351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae2"} 
[2026-07-07 10:12:28] local.INFO: Extracted packet for processing {"connection_id":124351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae2"} 
[2026-07-07 10:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756570688,"raw_latitude":119669744,"longitude_deg":75.6570688,"latitude_deg":11.9669744,"altitude":79,"angle":213,"satellites":31,"speed":51,"hex_longitude":"2d185a40","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-07-07 10:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550223616001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4717720926945280,"note":"Value kept but may cause issues"} 
[2026-07-07 10:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760907484939505664,"note":"Value kept but may cause issues"} 
[2026-07-07 10:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783399319000,"timestamp_ms":1783399319000,"timestamp_seconds":1783399319,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae205d8"} 
[2026-07-07 10:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":62,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-07 10:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1408,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550223616001,"66":13993,"120":206,"28":31744,"24":51,"16":4717720926945280,"45":1760907484939505664},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 10:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550223616001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:12:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 10:12:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4717720926945280,"km_value":4717720926945.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760907484939505664,"description":"Unknown IO ID 45"} 
[2026-07-07 10:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550223616001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":51,"odometer":null,"unknown_45":1760907484939505664}} 
[2026-07-07 10:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":124351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:12:28] local.INFO: GPS data processed {"connection_id":124351,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:12:28] local.INFO: Acknowledgment sent {"connection_id":124351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:12:34] local.INFO: TCP Data received {"connection_id":126293,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:12:34] local.INFO: Processing buffer {"connection_id":126293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:12:34] local.INFO: Packet analysis {"connection_id":126293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ade"} 
[2026-07-07 10:12:34] local.INFO: Extracted packet for processing {"connection_id":126293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ade"} 
[2026-07-07 10:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550095872001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783399113000,"timestamp_ms":1783399113000,"timestamp_seconds":1783399113,"priority":1,"record_length":96,"hex_timestamp":"0000019f3adee128"} 
[2026-07-07 10:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550095872001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550095872001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:12:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:12:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550095872001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":126293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:12:34] local.INFO: GPS data processed {"connection_id":126293,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:12:34] local.INFO: Acknowledgment sent {"connection_id":126293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:12:37] local.INFO: TCP Data received {"connection_id":124267,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:12:37] local.INFO: Processing buffer {"connection_id":124267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3add6e10012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:12:37] local.INFO: Packet analysis {"connection_id":124267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:12:37] local.INFO: Extracted packet for processing {"connection_id":124267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3add"} 
[2026-07-07 10:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550071552001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729920866387968,"note":"Value kept but may cause issues"} 
[2026-07-07 10:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783399018000,"timestamp_ms":1783399018000,"timestamp_seconds":1783399018,"priority":1,"record_length":96,"hex_timestamp":"0000019f3add6e10"} 
[2026-07-07 10:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-07 10:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550071552001,"66":26147,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9123729920866387968},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550071552001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:12:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729920866387968,"description":"Unknown IO ID 45"} 
[2026-07-07 10:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550071552001,"power":26147,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9123729920866387968}} 
[2026-07-07 10:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":124267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:12:37] local.INFO: GPS data processed {"connection_id":124267,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:12:37] local.INFO: Acknowledgment sent {"connection_id":124267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:12:55] local.INFO: TCP Data received {"connection_id":125060,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125060,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:12:55] local.INFO: Processing buffer {"connection_id":125060,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:12:55] local.INFO: IMEI packet received {"connection_id":125060,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":125060,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:13:00] local.INFO: TCP Data received {"connection_id":124351,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae22130012d1846400721e6b0004b00d61f..."} 
[2026-07-07 10:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae22130012d1846400721e6b0004b00d61f..."} 
[2026-07-07 10:13:00] local.INFO: Processing buffer {"connection_id":124351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae22130012d1846400721e6b0004b00d61f..."} 
[2026-07-07 10:13:00] local.INFO: Packet analysis {"connection_id":124351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae2"} 
[2026-07-07 10:13:00] local.INFO: Extracted packet for processing {"connection_id":124351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae2"} 
[2026-07-07 10:13:00] local.INFO: GPS Element Parsed {"raw_longitude":756565568,"raw_latitude":119662256,"longitude_deg":75.6565568,"latitude_deg":11.9662256,"altitude":75,"angle":214,"satellites":31,"speed":50,"hex_longitude":"2d184640","hex_latitude":"0721e6b0","is_valid_coordinates":true} 
[2026-07-07 10:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550225664001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4718159013609472,"note":"Value kept but may cause issues"} 
[2026-07-07 10:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754785404193861632,"note":"Value kept but may cause issues"} 
[2026-07-07 10:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783399326000,"timestamp_ms":1783399326000,"timestamp_seconds":1783399326,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae22130"} 
[2026-07-07 10:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-07 10:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550225664001,"66":14070,"120":206,"28":31744,"24":50,"16":4718159013609472,"45":1754785404193861632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 10:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550225664001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:13:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 10:13:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4718159013609472,"km_value":4718159013609.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754785404193861632,"description":"Unknown IO ID 45"} 
[2026-07-07 10:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550225664001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":1754785404193861632}} 
[2026-07-07 10:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":124351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:13:00] local.INFO: GPS data processed {"connection_id":124351,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:13:00] local.INFO: Acknowledgment sent {"connection_id":124351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:13:01] local.INFO: TCP Data received {"connection_id":125060,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125060,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:13:01] local.INFO: Processing buffer {"connection_id":125060,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:13:01] local.INFO: IMEI packet received {"connection_id":125060,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":125060,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:13:02] local.INFO: TCP Data received {"connection_id":125060,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:13:02] local.INFO: Processing buffer {"connection_id":125060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:13:02] local.INFO: Packet analysis {"connection_id":125060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ade"} 
[2026-07-07 10:13:02] local.INFO: Extracted packet for processing {"connection_id":125060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ade"} 
[2026-07-07 10:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550095872001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783399113000,"timestamp_ms":1783399113000,"timestamp_seconds":1783399113,"priority":1,"record_length":96,"hex_timestamp":"0000019f3adee128"} 
[2026-07-07 10:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550095872001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550095872001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:13:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:13:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550095872001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":125060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:13:02] local.INFO: GPS data processed {"connection_id":125060,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:13:02] local.INFO: Acknowledgment sent {"connection_id":125060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:13:05] local.INFO: TCP Data received {"connection_id":124352,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:13:05] local.INFO: Processing buffer {"connection_id":124352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:13:05] local.INFO: IMEI packet received {"connection_id":124352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":124352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:13:09] local.INFO: TCP Data received {"connection_id":124352,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:13:09] local.INFO: Processing buffer {"connection_id":124352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:13:09] local.INFO: IMEI packet received {"connection_id":124352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":124352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:13:10] local.INFO: TCP Data received {"connection_id":124352,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae205d8012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae205d8012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:13:10] local.INFO: Processing buffer {"connection_id":124352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae205d8012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:13:10] local.INFO: Packet analysis {"connection_id":124352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae2"} 
[2026-07-07 10:13:10] local.INFO: Extracted packet for processing {"connection_id":124352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae2"} 
[2026-07-07 10:13:10] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550148608001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729920866387968,"note":"Value kept but may cause issues"} 
[2026-07-07 10:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783399319000,"timestamp_ms":1783399319000,"timestamp_seconds":1783399319,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae205d8"} 
[2026-07-07 10:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 10:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550148608001,"66":26006,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9123729920866387968},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550148608001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:13:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:13:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729920866387968,"description":"Unknown IO ID 45"} 
[2026-07-07 10:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550148608001,"power":26006,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9123729920866387968}} 
[2026-07-07 10:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":124352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:13:10] local.INFO: GPS data processed {"connection_id":124352,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:13:10] local.INFO: Acknowledgment sent {"connection_id":124352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:13:22] local.INFO: TCP Data received {"connection_id":124268,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:13:22] local.INFO: Processing buffer {"connection_id":124268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:13:22] local.INFO: IMEI packet received {"connection_id":124268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":124268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:13:27] local.INFO: TCP Data received {"connection_id":124268,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:13:27] local.INFO: Processing buffer {"connection_id":124268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:13:27] local.INFO: IMEI packet received {"connection_id":124268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":124268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:13:28] local.INFO: TCP Data received {"connection_id":124268,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae24840012d1832800721c998004900d41f..."} 
[2026-07-07 10:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae24840012d1832800721c998004900d41f..."} 
[2026-07-07 10:13:28] local.INFO: Processing buffer {"connection_id":124268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae24840012d1832800721c998004900d41f..."} 
[2026-07-07 10:13:28] local.INFO: Packet analysis {"connection_id":124268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae2"} 
[2026-07-07 10:13:28] local.INFO: Extracted packet for processing {"connection_id":124268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae2"} 
[2026-07-07 10:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756560512,"raw_latitude":119654808,"longitude_deg":75.6560512,"latitude_deg":11.9654808,"altitude":73,"angle":212,"satellites":31,"speed":25,"hex_longitude":"2d183280","hex_latitude":"0721c998","is_valid_coordinates":true} 
[2026-07-07 10:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550227456001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4718592805306368,"note":"Value kept but may cause issues"} 
[2026-07-07 10:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749155904657731584,"note":"Value kept but may cause issues"} 
[2026-07-07 10:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783399336000,"timestamp_ms":1783399336000,"timestamp_seconds":1783399336,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae24840"} 
[2026-07-07 10:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-07 10:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550227456001,"66":14374,"120":206,"28":31744,"24":25,"16":4718592805306368,"45":1749155904657731584},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 10:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550227456001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:13:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 10:13:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4718592805306368,"km_value":4718592805306.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749155904657731584,"description":"Unknown IO ID 45"} 
[2026-07-07 10:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550227456001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1749155904657731584}} 
[2026-07-07 10:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":124268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:13:28] local.INFO: GPS data processed {"connection_id":124268,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:13:28] local.INFO: Acknowledgment sent {"connection_id":124268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:13:33] local.INFO: TCP Data received {"connection_id":125060,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:13:33] local.INFO: Processing buffer {"connection_id":125060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3adee128012d7d0a8005ec3c68001100572b..."} 
[2026-07-07 10:13:33] local.INFO: Packet analysis {"connection_id":125060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ade"} 
[2026-07-07 10:13:33] local.INFO: Extracted packet for processing {"connection_id":125060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ade"} 
[2026-07-07 10:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550095872001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783399113000,"timestamp_ms":1783399113000,"timestamp_seconds":1783399113,"priority":1,"record_length":96,"hex_timestamp":"0000019f3adee128"} 
[2026-07-07 10:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550095872001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550095872001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:13:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:13:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550095872001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":125060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:13:33] local.INFO: GPS data processed {"connection_id":125060,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:13:33] local.INFO: Acknowledgment sent {"connection_id":125060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:13:42] local.INFO: TCP Data received {"connection_id":124352,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae205d8012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae205d8012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:13:42] local.INFO: Processing buffer {"connection_id":124352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae205d8012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:13:42] local.INFO: Packet analysis {"connection_id":124352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae2"} 
[2026-07-07 10:13:42] local.INFO: Extracted packet for processing {"connection_id":124352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae2"} 
[2026-07-07 10:13:42] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550148608001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729920866387968,"note":"Value kept but may cause issues"} 
[2026-07-07 10:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783399319000,"timestamp_ms":1783399319000,"timestamp_seconds":1783399319,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae205d8"} 
[2026-07-07 10:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 10:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550148608001,"66":26006,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9123729920866387968},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550148608001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:13:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:13:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729920866387968,"description":"Unknown IO ID 45"} 
[2026-07-07 10:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550148608001,"power":26006,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9123729920866387968}} 
[2026-07-07 10:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":124352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:13:42] local.INFO: GPS data processed {"connection_id":124352,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:13:42] local.INFO: Acknowledgment sent {"connection_id":124352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:13:59] local.INFO: TCP Data received {"connection_id":124269,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:13:59] local.INFO: Processing buffer {"connection_id":124269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:13:59] local.INFO: IMEI packet received {"connection_id":124269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":124269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:14:00] local.INFO: TCP Data received {"connection_id":124268,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae3a000012d18924007217d58004d00731f..."} 
[2026-07-07 10:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae3a000012d18924007217d58004d00731f..."} 
[2026-07-07 10:14:00] local.INFO: Processing buffer {"connection_id":124268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae3a000012d18924007217d58004d00731f..."} 
[2026-07-07 10:14:00] local.INFO: Packet analysis {"connection_id":124268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:14:00] local.INFO: Extracted packet for processing {"connection_id":124268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:14:00] local.INFO: GPS Element Parsed {"raw_longitude":756585024,"raw_latitude":119635288,"longitude_deg":75.6585024,"latitude_deg":11.9635288,"altitude":77,"angle":115,"satellites":31,"speed":44,"hex_longitude":"2d189240","hex_latitude":"07217d58","is_valid_coordinates":true} 
[2026-07-07 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-07-07 10:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550251776001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4720624324837376,"note":"Value kept but may cause issues"} 
[2026-07-07 10:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767099934416439296,"note":"Value kept but may cause issues"} 
[2026-07-07 10:14: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-07-07 10:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783399424000,"timestamp_ms":1783399424000,"timestamp_seconds":1783399424,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae3a000"} 
[2026-07-07 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-07-07 10:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-07 10:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 10:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550251776001,"66":14113,"121":206,"28":31744,"24":44,"16":4720624324837376,"45":1767099934416439296},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 10:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550251776001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:14:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 10:14:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4720624324837376,"km_value":4720624324837.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767099934416439296,"description":"Unknown IO ID 45"} 
[2026-07-07 10:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550251776001,"power":14113,"unknown_121":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1767099934416439296}} 
[2026-07-07 10:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":124268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:14:00] local.INFO: GPS data processed {"connection_id":124268,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:14:00] local.INFO: Acknowledgment sent {"connection_id":124268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:14:01] local.INFO: TCP Data received {"connection_id":126295,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:14:01] local.INFO: Processing buffer {"connection_id":126295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:14:01] local.INFO: IMEI packet received {"connection_id":126295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":126295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:14:04] local.INFO: TCP Data received {"connection_id":124269,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:14:04] local.INFO: Processing buffer {"connection_id":124269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:14:04] local.INFO: IMEI packet received {"connection_id":124269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":124269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:14:05] local.INFO: TCP Data received {"connection_id":124269,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae205d8012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae205d8012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:14:05] local.INFO: Processing buffer {"connection_id":124269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae205d8012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:14:05] local.INFO: Packet analysis {"connection_id":124269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae2"} 
[2026-07-07 10:14:05] local.INFO: Extracted packet for processing {"connection_id":124269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae2"} 
[2026-07-07 10:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550148608001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729920866387968,"note":"Value kept but may cause issues"} 
[2026-07-07 10:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783399319000,"timestamp_ms":1783399319000,"timestamp_seconds":1783399319,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae205d8"} 
[2026-07-07 10:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 10:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550148608001,"66":26006,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9123729920866387968},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550148608001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:14:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:14:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729920866387968,"description":"Unknown IO ID 45"} 
[2026-07-07 10:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550148608001,"power":26006,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9123729920866387968}} 
[2026-07-07 10:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":124269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:14:05] local.INFO: GPS data processed {"connection_id":124269,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:14:05] local.INFO: Acknowledgment sent {"connection_id":124269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:14:06] local.INFO: TCP Data received {"connection_id":126295,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:14:06] local.INFO: Processing buffer {"connection_id":126295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:14:06] local.INFO: IMEI packet received {"connection_id":126295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":126295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:14:07] local.INFO: TCP Data received {"connection_id":126295,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:14:07] local.INFO: Processing buffer {"connection_id":126295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:14:07] local.INFO: Packet analysis {"connection_id":126295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:14:07] local.INFO: Extracted packet for processing {"connection_id":126295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:14:07] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550172928001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783399414000,"timestamp_ms":1783399414000,"timestamp_seconds":1783399414,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae378f0"} 
[2026-07-07 10:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550172928001,"66":2242,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550172928001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:14:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:14:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550172928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":126295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:14:07] local.INFO: GPS data processed {"connection_id":126295,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:14:07] local.INFO: Acknowledgment sent {"connection_id":126295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:14:22] local.INFO: TCP Data received {"connection_id":124353,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:14:22] local.INFO: Processing buffer {"connection_id":124353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:14:22] local.INFO: IMEI packet received {"connection_id":124353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":124353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:14:26] local.INFO: TCP Data received {"connection_id":124353,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:14:26] local.INFO: Processing buffer {"connection_id":124353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:14:26] local.INFO: IMEI packet received {"connection_id":124353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":124353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:14:27] local.INFO: TCP Data received {"connection_id":124353,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae3bf40012d18ae80072170b8004c00861d..."} 
[2026-07-07 10:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae3bf40012d18ae80072170b8004c00861d..."} 
[2026-07-07 10:14:27] local.INFO: Processing buffer {"connection_id":124353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae3bf40012d18ae80072170b8004c00861d..."} 
[2026-07-07 10:14:27] local.INFO: Packet analysis {"connection_id":124353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:14:27] local.INFO: Extracted packet for processing {"connection_id":124353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:14:27] local.INFO: GPS Element Parsed {"raw_longitude":756592256,"raw_latitude":119632056,"longitude_deg":75.6592256,"latitude_deg":11.9632056,"altitude":76,"angle":134,"satellites":29,"speed":35,"hex_longitude":"2d18ae80","hex_latitude":"072170b8","is_valid_coordinates":true} 
[2026-07-07 10:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550252544001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4721006576926720,"note":"Value kept but may cause issues"} 
[2026-07-07 10:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770548002880837632,"note":"Value kept but may cause issues"} 
[2026-07-07 10: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-07-07 10:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783399432000,"timestamp_ms":1783399432000,"timestamp_seconds":1783399432,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae3bf40"} 
[2026-07-07 10:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 10:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550252544001,"66":14483,"121":206,"28":31744,"24":35,"16":4721006576926720,"45":1770548002880837632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 10:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550252544001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:14:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 10:14:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4721006576926720,"km_value":4721006576926.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770548002880837632,"description":"Unknown IO ID 45"} 
[2026-07-07 10:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550252544001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1770548002880837632}} 
[2026-07-07 10:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":124353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:14:28] local.INFO: GPS data processed {"connection_id":124353,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:14:28] local.INFO: Acknowledgment sent {"connection_id":124353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:14:37] local.INFO: TCP Data received {"connection_id":124269,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae205d8012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae205d8012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:14:37] local.INFO: Processing buffer {"connection_id":124269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae205d8012d7e9e0005ffd808000800d82a..."} 
[2026-07-07 10:14:37] local.INFO: Packet analysis {"connection_id":124269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae2"} 
[2026-07-07 10:14:37] local.INFO: Extracted packet for processing {"connection_id":124269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae2"} 
[2026-07-07 10:14:37] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550148608001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729920866387968,"note":"Value kept but may cause issues"} 
[2026-07-07 10:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783399319000,"timestamp_ms":1783399319000,"timestamp_seconds":1783399319,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae205d8"} 
[2026-07-07 10:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 10:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550148608001,"66":26006,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9123729920866387968},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550148608001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:14:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729920866387968,"description":"Unknown IO ID 45"} 
[2026-07-07 10:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550148608001,"power":26006,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9123729920866387968}} 
[2026-07-07 10:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":124269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:14:37] local.INFO: GPS data processed {"connection_id":124269,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:14:37] local.INFO: Acknowledgment sent {"connection_id":124269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:14:38] local.INFO: TCP Data received {"connection_id":126295,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:14:38] local.INFO: Processing buffer {"connection_id":126295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:14:38] local.INFO: Packet analysis {"connection_id":126295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:14:38] local.INFO: Extracted packet for processing {"connection_id":126295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550172928001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783399414000,"timestamp_ms":1783399414000,"timestamp_seconds":1783399414,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae378f0"} 
[2026-07-07 10:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550172928001,"66":2242,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550172928001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:14:38] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:14:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550172928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":126295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:14:38] local.INFO: GPS data processed {"connection_id":126295,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:14:38] local.INFO: Acknowledgment sent {"connection_id":126295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:14:56] local.INFO: TCP Data received {"connection_id":124354,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:14:56] local.INFO: Processing buffer {"connection_id":124354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:14:56] local.INFO: IMEI packet received {"connection_id":124354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":124354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:14:59] local.INFO: TCP Data received {"connection_id":124356,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:14:59] local.INFO: Processing buffer {"connection_id":124356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:14:59] local.INFO: IMEI packet received {"connection_id":124356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":124356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:14:59] local.INFO: TCP Data received {"connection_id":124353,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae47ea8012d1904800720ce08003800791f..."} 
[2026-07-07 10:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae47ea8012d1904800720ce08003800791f..."} 
[2026-07-07 10:14:59] local.INFO: Processing buffer {"connection_id":124353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae47ea8012d1904800720ce08003800791f..."} 
[2026-07-07 10:14:59] local.INFO: Packet analysis {"connection_id":124353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae4"} 
[2026-07-07 10:14:59] local.INFO: Extracted packet for processing {"connection_id":124353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae4"} 
[2026-07-07 10:14:59] local.INFO: GPS Element Parsed {"raw_longitude":756614272,"raw_latitude":119590408,"longitude_deg":75.6614272,"latitude_deg":11.9590408,"altitude":56,"angle":121,"satellites":31,"speed":39,"hex_longitude":"2d190480","hex_latitude":"0720ce08","is_valid_coordinates":true} 
[2026-07-07 10:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550265856001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4723373103906816,"note":"Value kept but may cause issues"} 
[2026-07-07 10:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798484394308608000,"note":"Value kept but may cause issues"} 
[2026-07-07 10:14: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-07-07 10:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783399481000,"timestamp_ms":1783399481000,"timestamp_seconds":1783399481,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae47ea8"} 
[2026-07-07 10:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 10:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":124353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":124353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":124353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550265856001,"66":14515,"121":206,"28":31744,"24":39,"16":4723373103906816,"45":1798484394308608000},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 10:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550265856001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:14:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 10:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4723373103906816,"km_value":4723373103906.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798484394308608000,"description":"Unknown IO ID 45"} 
[2026-07-07 10:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550265856001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1798484394308608000}} 
[2026-07-07 10:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":124353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:14:59] local.INFO: GPS data processed {"connection_id":124353,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:14:59] local.INFO: Acknowledgment sent {"connection_id":124353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:15:00] local.INFO: TCP Data received {"connection_id":124356,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:15:00] local.INFO: Processing buffer {"connection_id":124356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:15:00] local.INFO: IMEI packet received {"connection_id":124356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":124356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:15:01] local.INFO: TCP Data received {"connection_id":124354,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:15:01] local.INFO: Processing buffer {"connection_id":124354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:15:01] local.INFO: IMEI packet received {"connection_id":124354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":124354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:15:02] local.INFO: TCP Data received {"connection_id":124354,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:15:02] local.INFO: Processing buffer {"connection_id":124354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:15:02] local.INFO: Packet analysis {"connection_id":124354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:15:02] local.INFO: Extracted packet for processing {"connection_id":124354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550172928001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783399414000,"timestamp_ms":1783399414000,"timestamp_seconds":1783399414,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae378f0"} 
[2026-07-07 10:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550172928001,"66":2242,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550172928001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:15:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:15:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550172928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":124354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:15:02] local.INFO: GPS data processed {"connection_id":124354,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:15:02] local.INFO: Acknowledgment sent {"connection_id":124354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:15:04] local.INFO: TCP Data received {"connection_id":124356,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:15:04] local.INFO: Processing buffer {"connection_id":124356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:15:04] local.INFO: IMEI packet received {"connection_id":124356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":124356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:15:05] local.INFO: TCP Data received {"connection_id":124356,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae3de80012d7e9e0005ffd808000800d82b..."} 
[2026-07-07 10:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae3de80012d7e9e0005ffd808000800d82b..."} 
[2026-07-07 10:15:05] local.INFO: Processing buffer {"connection_id":124356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae3de80012d7e9e0005ffd808000800d82b..."} 
[2026-07-07 10:15:05] local.INFO: Packet analysis {"connection_id":124356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:15:05] local.INFO: Extracted packet for processing {"connection_id":124356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:15:05] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":100653064,"longitude_deg":76.3272704,"latitude_deg":10.0653064,"altitude":8,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2d7e9e00","hex_latitude":"05ffd808","is_valid_coordinates":true} 
[2026-07-07 10:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550225664001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729920866387968,"note":"Value kept but may cause issues"} 
[2026-07-07 10:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783399440000,"timestamp_ms":1783399440000,"timestamp_seconds":1783399440,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae3de80"} 
[2026-07-07 10:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-07 10:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550225664001,"66":25919,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9123729920866387968},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550225664001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:15:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:15:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729920866387968,"description":"Unknown IO ID 45"} 
[2026-07-07 10:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550225664001,"power":25919,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9123729920866387968}} 
[2026-07-07 10:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":124356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:15:05] local.INFO: GPS data processed {"connection_id":124356,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:15:05] local.INFO: Acknowledgment sent {"connection_id":124356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:15:22] local.INFO: TCP Data received {"connection_id":125062,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:15:22] local.INFO: Processing buffer {"connection_id":125062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:15:22] local.INFO: IMEI packet received {"connection_id":125062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":125062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:15:25] local.INFO: TCP Data received {"connection_id":125062,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:15:25] local.INFO: Processing buffer {"connection_id":125062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:15:25] local.INFO: IMEI packet received {"connection_id":125062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":125062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:15:27] local.INFO: TCP Data received {"connection_id":125062,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:15:27] local.INFO: Processing buffer {"connection_id":125062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:15:27] local.INFO: IMEI packet received {"connection_id":125062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":125062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:15:28] local.INFO: TCP Data received {"connection_id":125062,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae49618012d191e000720c1b00031006e1f..."} 
[2026-07-07 10:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae49618012d191e000720c1b00031006e1f..."} 
[2026-07-07 10:15:28] local.INFO: Processing buffer {"connection_id":125062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae49618012d191e000720c1b00031006e1f..."} 
[2026-07-07 10:15:28] local.INFO: Packet analysis {"connection_id":125062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae4"} 
[2026-07-07 10:15:28] local.INFO: Extracted packet for processing {"connection_id":125062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae4"} 
[2026-07-07 10:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756620800,"raw_latitude":119587248,"longitude_deg":75.66208,"latitude_deg":11.9587248,"altitude":49,"angle":110,"satellites":31,"speed":52,"hex_longitude":"2d191e00","hex_latitude":"0720c1b0","is_valid_coordinates":true} 
[2026-07-07 10:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550267136001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4723716701290496,"note":"Value kept but may cause issues"} 
[2026-07-07 10:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802706518958540800,"note":"Value kept but may cause issues"} 
[2026-07-07 10:15: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-07-07 10:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783399487000,"timestamp_ms":1783399487000,"timestamp_seconds":1783399487,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae49618"} 
[2026-07-07 10:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 10:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550267136001,"66":14450,"121":206,"28":31744,"24":52,"16":4723716701290496,"45":1802706518958540800},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 10:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550267136001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:15:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 10:15:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4723716701290496,"km_value":4723716701290.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802706518958540800,"description":"Unknown IO ID 45"} 
[2026-07-07 10:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550267136001,"power":14450,"unknown_121":206,"unknown_28":31744,"ignition":52,"odometer":null,"unknown_45":1802706518958540800}} 
[2026-07-07 10:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":125062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:15:28] local.INFO: GPS data processed {"connection_id":125062,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:15:28] local.INFO: Acknowledgment sent {"connection_id":125062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:15:32] local.INFO: TCP Data received {"connection_id":125062,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae4a9a0012d1935400720b7e8003000791d..."} 
[2026-07-07 10:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae4a9a0012d1935400720b7e8003000791d..."} 
[2026-07-07 10:15:32] local.INFO: Processing buffer {"connection_id":125062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae4a9a0012d1935400720b7e8003000791d..."} 
[2026-07-07 10:15:32] local.INFO: Packet analysis {"connection_id":125062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae4"} 
[2026-07-07 10:15:32] local.INFO: Extracted packet for processing {"connection_id":125062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae4"} 
[2026-07-07 10:15:32] local.INFO: GPS Element Parsed {"raw_longitude":756626752,"raw_latitude":119584744,"longitude_deg":75.6626752,"latitude_deg":11.9584744,"altitude":48,"angle":121,"satellites":29,"speed":47,"hex_longitude":"2d193540","hex_latitude":"0720b7e8","is_valid_coordinates":true} 
[2026-07-07 10:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550268672001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4724025938935808,"note":"Value kept but may cause issues"} 
[2026-07-07 10:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809884130863853568,"note":"Value kept but may cause issues"} 
[2026-07-07 10:15: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-07-07 10:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783399492000,"timestamp_ms":1783399492000,"timestamp_seconds":1783399492,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae4a9a0"} 
[2026-07-07 10:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 10:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550268672001,"66":14461,"121":206,"28":31744,"24":47,"16":4724025938935808,"45":1809884130863853568},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 10:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550268672001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:15:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 10:15:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4724025938935808,"km_value":4724025938935.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809884130863853568,"description":"Unknown IO ID 45"} 
[2026-07-07 10:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550268672001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1809884130863853568}} 
[2026-07-07 10:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":125062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:15:32] local.INFO: GPS data processed {"connection_id":125062,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:15:32] local.INFO: Acknowledgment sent {"connection_id":125062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:15:34] local.INFO: TCP Data received {"connection_id":124354,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:15:34] local.INFO: Processing buffer {"connection_id":124354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:15:34] local.INFO: Packet analysis {"connection_id":124354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:15:34] local.INFO: Extracted packet for processing {"connection_id":124354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:15:34] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550172928001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783399414000,"timestamp_ms":1783399414000,"timestamp_seconds":1783399414,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae378f0"} 
[2026-07-07 10:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:15: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550172928001,"66":2242,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550172928001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:15:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:15:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550172928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":124354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:15:34] local.INFO: GPS data processed {"connection_id":124354,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:15:34] local.INFO: Acknowledgment sent {"connection_id":124354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:15:38] local.INFO: TCP Data received {"connection_id":124356,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae43470012d7e9b0005ffd2a0000800db2a..."} 
[2026-07-07 10:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae43470012d7e9b0005ffd2a0000800db2a..."} 
[2026-07-07 10:15:38] local.INFO: Processing buffer {"connection_id":124356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae43470012d7e9b0005ffd2a0000800db2a..."} 
[2026-07-07 10:15:38] local.INFO: Packet analysis {"connection_id":124356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae4"} 
[2026-07-07 10:15:38] local.INFO: Extracted packet for processing {"connection_id":124356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae4"} 
[2026-07-07 10:15:38] local.INFO: GPS Element Parsed {"raw_longitude":763271936,"raw_latitude":100651680,"longitude_deg":76.3271936,"latitude_deg":10.065168,"altitude":8,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d7e9b00","hex_latitude":"05ffd2a0","is_valid_coordinates":true} 
[2026-07-07 10:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550256640001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729920866387968,"note":"Value kept but may cause issues"} 
[2026-07-07 10:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783399462000,"timestamp_ms":1783399462000,"timestamp_seconds":1783399462,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae43470"} 
[2026-07-07 10:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:15: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-07-07 10: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 10:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550256640001,"66":27267,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9123729920866387968},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550256640001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:15:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:15:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729920866387968,"description":"Unknown IO ID 45"} 
[2026-07-07 10:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550256640001,"power":27267,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9123729920866387968}} 
[2026-07-07 10:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":124356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:15:38] local.INFO: GPS data processed {"connection_id":124356,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:15:38] local.INFO: Acknowledgment sent {"connection_id":124356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:15:55] local.INFO: TCP Data received {"connection_id":126296,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:15:55] local.INFO: Processing buffer {"connection_id":126296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:15:55] local.INFO: IMEI packet received {"connection_id":126296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":126296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:15:59] local.INFO: TCP Data received {"connection_id":124271,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:15:59] local.INFO: Processing buffer {"connection_id":124271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:15:59] local.INFO: IMEI packet received {"connection_id":124271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":124271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:16:01] local.INFO: TCP Data received {"connection_id":126296,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:16:01] local.INFO: Processing buffer {"connection_id":126296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:16:01] local.INFO: IMEI packet received {"connection_id":126296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":126296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:16:02] local.INFO: TCP Data received {"connection_id":126296,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:16:02] local.INFO: Processing buffer {"connection_id":126296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:16:02] local.INFO: Packet analysis {"connection_id":126296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:16:02] local.INFO: Extracted packet for processing {"connection_id":126296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:16:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550172928001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783399414000,"timestamp_ms":1783399414000,"timestamp_seconds":1783399414,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae378f0"} 
[2026-07-07 10:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550172928001,"66":2242,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550172928001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:16:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:16:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550172928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":126296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:16:02] local.INFO: GPS data processed {"connection_id":126296,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:16:02] local.INFO: Acknowledgment sent {"connection_id":126296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:16:03] local.INFO: TCP Data received {"connection_id":125062,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae58460012d19ae4007209078003300c11e..."} 
[2026-07-07 10:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae58460012d19ae4007209078003300c11e..."} 
[2026-07-07 10:16:03] local.INFO: Processing buffer {"connection_id":125062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae58460012d19ae4007209078003300c11e..."} 
[2026-07-07 10:16:03] local.INFO: Packet analysis {"connection_id":125062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae5"} 
[2026-07-07 10:16:03] local.INFO: Extracted packet for processing {"connection_id":125062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae5"} 
[2026-07-07 10:16:03] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119574648,"longitude_deg":75.6657728,"latitude_deg":11.9574648,"altitude":51,"angle":193,"satellites":30,"speed":37,"hex_longitude":"2d19ae40","hex_latitude":"07209078","is_valid_coordinates":true} 
[2026-07-07 10:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550283008001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726083228270592,"note":"Value kept but may cause issues"} 
[2026-07-07 10:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646019182592,"note":"Value kept but may cause issues"} 
[2026-07-07 10:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783399548000,"timestamp_ms":1783399548000,"timestamp_seconds":1783399548,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae58460"} 
[2026-07-07 10:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 10:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550283008001,"66":14265,"121":206,"28":31744,"24":37,"16":4726083228270592,"45":1853301646019182592},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 10:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550283008001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:16:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 10:16:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726083228270592,"km_value":4726083228270.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646019182592,"description":"Unknown IO ID 45"} 
[2026-07-07 10:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550283008001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1853301646019182592}} 
[2026-07-07 10:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":125062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:16:04] local.INFO: GPS data processed {"connection_id":125062,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:16:04] local.INFO: Acknowledgment sent {"connection_id":125062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:16:04] local.INFO: TCP Data received {"connection_id":124271,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:16:04] local.INFO: Processing buffer {"connection_id":124271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:16:04] local.INFO: IMEI packet received {"connection_id":124271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":124271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:16:06] local.INFO: TCP Data received {"connection_id":124271,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae48678012d7e9b0005ffd2a0000800db2c..."} 
[2026-07-07 10:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae48678012d7e9b0005ffd2a0000800db2c..."} 
[2026-07-07 10:16:06] local.INFO: Processing buffer {"connection_id":124271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae48678012d7e9b0005ffd2a0000800db2c..."} 
[2026-07-07 10:16:06] local.INFO: Packet analysis {"connection_id":124271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae4"} 
[2026-07-07 10:16:06] local.INFO: Extracted packet for processing {"connection_id":124271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae4"} 
[2026-07-07 10:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763271936,"raw_latitude":100651680,"longitude_deg":76.3271936,"latitude_deg":10.065168,"altitude":8,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2d7e9b00","hex_latitude":"05ffd2a0","is_valid_coordinates":true} 
[2026-07-07 10:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550262272001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863598341390336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122885495935901696,"note":"Value kept but may cause issues"} 
[2026-07-07 10:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783399483000,"timestamp_ms":1783399483000,"timestamp_seconds":1783399483,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae48678"} 
[2026-07-07 10:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 10:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550262272001,"66":27767,"97":206,"87":10752,"24":0,"16":340863598341390336,"45":9122885495935901696},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550262272001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:16:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:16:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863598341390336,"km_value":340863598341390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122885495935901696,"description":"Unknown IO ID 45"} 
[2026-07-07 10:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550262272001,"power":27767,"unknown_97":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9122885495935901696}} 
[2026-07-07 10:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":124271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:16:06] local.INFO: GPS data processed {"connection_id":124271,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:16:06] local.INFO: Acknowledgment sent {"connection_id":124271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:16:22] local.INFO: TCP Data received {"connection_id":124357,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:16:22] local.INFO: Processing buffer {"connection_id":124357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:16:22] local.INFO: IMEI packet received {"connection_id":124357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":124357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:16:22] local.INFO: TCP Data received {"connection_id":124357,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:16:22] local.INFO: Processing buffer {"connection_id":124357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:16:22] local.INFO: IMEI packet received {"connection_id":124357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":124357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:16:23] local.INFO: TCP Data received {"connection_id":124357,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:16:23] local.INFO: Processing buffer {"connection_id":124357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:16:23] local.INFO: IMEI packet received {"connection_id":124357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":124357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:16:24] local.INFO: TCP Data received {"connection_id":124270,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:16:24] local.INFO: Processing buffer {"connection_id":124270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:16:24] local.INFO: IMEI packet received {"connection_id":124270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 10:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":124270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:16:26] local.INFO: TCP Data received {"connection_id":124357,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:16:26] local.INFO: Processing buffer {"connection_id":124357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:16:26] local.INFO: IMEI packet received {"connection_id":124357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":124357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:16:37] local.INFO: TCP Data received {"connection_id":124271,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae49618012d7e980005ffd100000d00cd2b..."} 
[2026-07-07 10:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae49618012d7e980005ffd100000d00cd2b..."} 
[2026-07-07 10:16:37] local.INFO: Processing buffer {"connection_id":124271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae49618012d7e980005ffd100000d00cd2b..."} 
[2026-07-07 10:16:37] local.INFO: Packet analysis {"connection_id":124271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae4"} 
[2026-07-07 10:16:37] local.INFO: Extracted packet for processing {"connection_id":124271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae4"} 
[2026-07-07 10:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763271168,"raw_latitude":100651264,"longitude_deg":76.3271168,"latitude_deg":10.0651264,"altitude":13,"angle":205,"satellites":43,"speed":7,"hex_longitude":"2d7e9800","hex_latitude":"05ffd100","is_valid_coordinates":true} 
[2026-07-07 10:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550267648001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863641291063296,"note":"Value kept but may cause issues"} 
[2026-07-07 10:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122885495935901696,"note":"Value kept but may cause issues"} 
[2026-07-07 10:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783399487000,"timestamp_ms":1783399487000,"timestamp_seconds":1783399487,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae49618"} 
[2026-07-07 10:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:16: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-07-07 10:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 10:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550267648001,"66":27343,"97":206,"87":10752,"24":7,"16":340863641291063296,"45":9122885495935901696},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550267648001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:16:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:16:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863641291063296,"km_value":340863641291063.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122885495935901696,"description":"Unknown IO ID 45"} 
[2026-07-07 10:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550267648001,"power":27343,"unknown_97":206,"unknown_87":10752,"ignition":7,"odometer":null,"unknown_45":9122885495935901696}} 
[2026-07-07 10:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":124271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:16:37] local.INFO: GPS data processed {"connection_id":124271,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:16:37] local.INFO: Acknowledgment sent {"connection_id":124271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:16:43] local.INFO: TCP Data received {"connection_id":126296,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:16:43] local.INFO: Processing buffer {"connection_id":126296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:16:43] local.INFO: Packet analysis {"connection_id":126296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:16:43] local.INFO: Extracted packet for processing {"connection_id":126296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:16:43] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550172928001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783399414000,"timestamp_ms":1783399414000,"timestamp_seconds":1783399414,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae378f0"} 
[2026-07-07 10:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":126296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":126296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":126296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550172928001,"66":2242,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550172928001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:16:43] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:16:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550172928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":126296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:16:43] local.INFO: GPS data processed {"connection_id":126296,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:16:43] local.INFO: Acknowledgment sent {"connection_id":126296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:16:59] local.INFO: TCP Data received {"connection_id":124358,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:16:59] local.INFO: Processing buffer {"connection_id":124358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:16:59] local.INFO: IMEI packet received {"connection_id":124358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 10:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":124358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:17:01] local.INFO: TCP Data received {"connection_id":126297,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:17:01] local.INFO: Processing buffer {"connection_id":126297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:17:01] local.INFO: IMEI packet received {"connection_id":126297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":126297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:17:04] local.INFO: TCP Data received {"connection_id":125063,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:17:04] local.INFO: Processing buffer {"connection_id":125063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:17:04] local.INFO: IMEI packet received {"connection_id":125063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":125063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:17:06] local.INFO: TCP Data received {"connection_id":126297,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:17:06] local.INFO: Processing buffer {"connection_id":126297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:17:06] local.INFO: IMEI packet received {"connection_id":126297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":126297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:17:07] local.INFO: TCP Data received {"connection_id":126297,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:17:07] local.INFO: Processing buffer {"connection_id":126297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:17:07] local.INFO: Packet analysis {"connection_id":126297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:17:07] local.INFO: Extracted packet for processing {"connection_id":126297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550172928001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783399414000,"timestamp_ms":1783399414000,"timestamp_seconds":1783399414,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae378f0"} 
[2026-07-07 10:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550172928001,"66":2242,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550172928001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:17:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:17:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550172928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":126297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:17:07] local.INFO: GPS data processed {"connection_id":126297,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:17:07] local.INFO: Acknowledgment sent {"connection_id":126297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:17:09] local.INFO: TCP Data received {"connection_id":125063,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:17:09] local.INFO: Processing buffer {"connection_id":125063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:17:09] local.INFO: IMEI packet received {"connection_id":125063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":125063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:17:10] local.INFO: TCP Data received {"connection_id":125063,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae4ccc8012d7e8cc005ffc070000900d929..."} 
[2026-07-07 10:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae4ccc8012d7e8cc005ffc070000900d929..."} 
[2026-07-07 10:17:10] local.INFO: Processing buffer {"connection_id":125063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae4ccc8012d7e8cc005ffc070000900d929..."} 
[2026-07-07 10:17:10] local.INFO: Packet analysis {"connection_id":125063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae4"} 
[2026-07-07 10:17:10] local.INFO: Extracted packet for processing {"connection_id":125063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae4"} 
[2026-07-07 10:17:10] local.INFO: GPS Element Parsed {"raw_longitude":763268288,"raw_latitude":100647024,"longitude_deg":76.3268288,"latitude_deg":10.0647024,"altitude":9,"angle":217,"satellites":41,"speed":22,"hex_longitude":"2d7e8cc0","hex_latitude":"05ffc070","is_valid_coordinates":true} 
[2026-07-07 10:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550268672001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340863890399166464,"note":"Value kept but may cause issues"} 
[2026-07-07 10:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122041071005663232,"note":"Value kept but may cause issues"} 
[2026-07-07 10:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783399501000,"timestamp_ms":1783399501000,"timestamp_seconds":1783399501,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae4ccc8"} 
[2026-07-07 10:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10: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-07-07 10:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 10:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550268672001,"66":27767,"97":206,"87":10752,"24":22,"16":340863890399166464,"45":9122041071005663232},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-07-07 10:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550268672001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:17:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 10:17:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340863890399166464,"km_value":340863890399166.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122041071005663232,"description":"Unknown IO ID 45"} 
[2026-07-07 10:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550268672001,"power":27767,"unknown_97":206,"unknown_87":10752,"ignition":22,"odometer":null,"unknown_45":9122041071005663232}} 
[2026-07-07 10:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":125063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:17:10] local.INFO: GPS data processed {"connection_id":125063,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:17:10] local.INFO: Acknowledgment sent {"connection_id":125063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:17:11] local.INFO: TCP Data received {"connection_id":126297,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:17:11] local.INFO: Processing buffer {"connection_id":126297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:17:11] local.INFO: Packet analysis {"connection_id":126297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:17:11] local.INFO: Extracted packet for processing {"connection_id":126297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:17:11] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550172928001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783399414000,"timestamp_ms":1783399414000,"timestamp_seconds":1783399414,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae378f0"} 
[2026-07-07 10:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550172928001,"66":2242,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550172928001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:17:11] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:17:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550172928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":126297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:17:11] local.INFO: GPS data processed {"connection_id":126297,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:17:11] local.INFO: Acknowledgment sent {"connection_id":126297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:17:12] local.INFO: TCP Data received {"connection_id":125063,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae50378012d7e750005ffa3d0000900de28..."} 
[2026-07-07 10:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae50378012d7e750005ffa3d0000900de28..."} 
[2026-07-07 10:17:12] local.INFO: Processing buffer {"connection_id":125063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae50378012d7e750005ffa3d0000900de28..."} 
[2026-07-07 10:17:12] local.INFO: Packet analysis {"connection_id":125063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae5"} 
[2026-07-07 10:17:12] local.INFO: Extracted packet for processing {"connection_id":125063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae5"} 
[2026-07-07 10:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763262208,"raw_latitude":100639696,"longitude_deg":76.3262208,"latitude_deg":10.0639696,"altitude":9,"angle":222,"satellites":40,"speed":31,"hex_longitude":"2d7e7500","hex_latitude":"05ffa3d0","is_valid_coordinates":true} 
[2026-07-07 10:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550272256001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340864349960667136,"note":"Value kept but may cause issues"} 
[2026-07-07 10:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9118874477516582912,"note":"Value kept but may cause issues"} 
[2026-07-07 10:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783399515000,"timestamp_ms":1783399515000,"timestamp_seconds":1783399515,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae50378"} 
[2026-07-07 10:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:17: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-07-07 10:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 10:17: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-07-07 10:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550272256001,"66":27800,"6":206,"87":10752,"24":31,"16":340864349960667136,"45":9118874477516582912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,87,24,16,45]} 
[2026-07-07 10:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550272256001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:17:12] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-07 10:17:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340864349960667136,"km_value":340864349960667.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9118874477516582912,"description":"Unknown IO ID 45"} 
[2026-07-07 10:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550272256001,"power":27800,"unknown_6":206,"unknown_87":10752,"ignition":31,"odometer":null,"unknown_45":9118874477516582912}} 
[2026-07-07 10:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":125063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:17:12] local.INFO: GPS data processed {"connection_id":125063,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:17:12] local.INFO: Acknowledgment sent {"connection_id":125063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:17:43] local.INFO: TCP Data received {"connection_id":125063,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae53258012d7e5ac005ff88d8000c00e128..."} 
[2026-07-07 10:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae53258012d7e5ac005ff88d8000c00e128..."} 
[2026-07-07 10:17:43] local.INFO: Processing buffer {"connection_id":125063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae53258012d7e5ac005ff88d8000c00e128..."} 
[2026-07-07 10:17:43] local.INFO: Packet analysis {"connection_id":125063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae5"} 
[2026-07-07 10:17:43] local.INFO: Extracted packet for processing {"connection_id":125063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae5"} 
[2026-07-07 10:17:43] local.INFO: GPS Element Parsed {"raw_longitude":763255488,"raw_latitude":100632792,"longitude_deg":76.3255488,"latitude_deg":10.0632792,"altitude":12,"angle":225,"satellites":40,"speed":31,"hex_longitude":"2d7e5ac0","hex_latitude":"05ff88d8","is_valid_coordinates":true} 
[2026-07-07 10:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550275840001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340864813817135104,"note":"Value kept but may cause issues"} 
[2026-07-07 10:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112189446817828864,"note":"Value kept but may cause issues"} 
[2026-07-07 10:17:43] 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-07-07 10:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783399527000,"timestamp_ms":1783399527000,"timestamp_seconds":1783399527,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae53258"} 
[2026-07-07 10:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:17: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-07-07 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":152,"data_length":795,"current_offset":136} 
[2026-07-07 10:17: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-07-07 10:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550275840001,"66":27789,"4":206,"87":10752,"24":31,"16":340864813817135104,"45":9112189446817828864},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,87,24,16,45]} 
[2026-07-07 10:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550275840001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:17:43] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-07 10:17:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340864813817135104,"km_value":340864813817135.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112189446817828864,"description":"Unknown IO ID 45"} 
[2026-07-07 10:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550275840001,"power":27789,"unknown_4":206,"unknown_87":10752,"ignition":31,"odometer":null,"unknown_45":9112189446817828864}} 
[2026-07-07 10:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":125063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:17:43] local.INFO: GPS data processed {"connection_id":125063,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:17:43] local.INFO: Acknowledgment sent {"connection_id":125063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:17:56] local.INFO: TCP Data received {"connection_id":126298,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:17:56] local.INFO: Processing buffer {"connection_id":126298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:17:56] local.INFO: IMEI packet received {"connection_id":126298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":126298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:17:59] local.INFO: TCP Data received {"connection_id":124359,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:17:59] local.INFO: Processing buffer {"connection_id":124359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:17:59] local.INFO: IMEI packet received {"connection_id":124359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":124359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:18:00] local.INFO: TCP Data received {"connection_id":124359,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:18:00] local.INFO: Processing buffer {"connection_id":124359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:18:00] local.INFO: IMEI packet received {"connection_id":124359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":124359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:18:01] local.INFO: TCP Data received {"connection_id":126298,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:18:01] local.INFO: Processing buffer {"connection_id":126298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:18:01] local.INFO: IMEI packet received {"connection_id":126298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":126298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:18:02] local.INFO: TCP Data received {"connection_id":126298,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:18:02] local.INFO: Processing buffer {"connection_id":126298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:18:02] local.INFO: Packet analysis {"connection_id":126298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:18:02] local.INFO: Extracted packet for processing {"connection_id":126298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:18:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550172928001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783399414000,"timestamp_ms":1783399414000,"timestamp_seconds":1783399414,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae378f0"} 
[2026-07-07 10:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550172928001,"66":2242,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550172928001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:18:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:18:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550172928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":126298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:18:02] local.INFO: GPS data processed {"connection_id":126298,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:18:02] local.INFO: Acknowledgment sent {"connection_id":126298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:18:05] local.INFO: TCP Data received {"connection_id":124359,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:18:05] local.INFO: Processing buffer {"connection_id":124359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:18:05] local.INFO: IMEI packet received {"connection_id":124359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":124359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:18:06] local.INFO: TCP Data received {"connection_id":124359,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae56138012d7e3dc005ff70d0000f00e528..."} 
[2026-07-07 10:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae56138012d7e3dc005ff70d0000f00e528..."} 
[2026-07-07 10:18:06] local.INFO: Processing buffer {"connection_id":124359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae56138012d7e3dc005ff70d0000f00e528..."} 
[2026-07-07 10:18:06] local.INFO: Packet analysis {"connection_id":124359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae5"} 
[2026-07-07 10:18:06] local.INFO: Extracted packet for processing {"connection_id":124359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae5"} 
[2026-07-07 10:18:06] local.INFO: GPS Element Parsed {"raw_longitude":763248064,"raw_latitude":100626640,"longitude_deg":76.3248064,"latitude_deg":10.062664,"altitude":15,"angle":229,"satellites":40,"speed":30,"hex_longitude":"2d7e3dc0","hex_latitude":"05ff70d0","is_valid_coordinates":true} 
[2026-07-07 10:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550278912001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340865277673603072,"note":"Value kept but may cause issues"} 
[2026-07-07 10:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104800728677406720,"note":"Value kept but may cause issues"} 
[2026-07-07 10:18:06] 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-07-07 10:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783399539000,"timestamp_ms":1783399539000,"timestamp_seconds":1783399539,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae56138"} 
[2026-07-07 10:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:18: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-07-07 10:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-07 10:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550278912001,"66":28104,"4":206,"87":10752,"24":30,"16":340865277673603072,"45":9104800728677406720},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,87,24,16,45]} 
[2026-07-07 10:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550278912001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:18:06] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-07 10:18:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340865277673603072,"km_value":340865277673603.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104800728677406720,"description":"Unknown IO ID 45"} 
[2026-07-07 10:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550278912001,"power":28104,"unknown_4":206,"unknown_87":10752,"ignition":30,"odometer":null,"unknown_45":9104800728677406720}} 
[2026-07-07 10:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":124359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:18:06] local.INFO: GPS data processed {"connection_id":124359,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:18:06] local.INFO: Acknowledgment sent {"connection_id":124359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:18:10] local.INFO: TCP Data received {"connection_id":124359,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae59400012d7e220005ff5a60001300e52b..."} 
[2026-07-07 10:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae59400012d7e220005ff5a60001300e52b..."} 
[2026-07-07 10:18:10] local.INFO: Processing buffer {"connection_id":124359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae59400012d7e220005ff5a60001300e52b..."} 
[2026-07-07 10:18:10] local.INFO: Packet analysis {"connection_id":124359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae5"} 
[2026-07-07 10:18:10] local.INFO: Extracted packet for processing {"connection_id":124359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae5"} 
[2026-07-07 10:18:10] local.INFO: GPS Element Parsed {"raw_longitude":763240960,"raw_latitude":100620896,"longitude_deg":76.324096,"latitude_deg":10.0620896,"altitude":19,"angle":229,"satellites":43,"speed":22,"hex_longitude":"2d7e2200","hex_latitude":"05ff5a60","is_valid_coordinates":true} 
[2026-07-07 10:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550281984001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340865715760267264,"note":"Value kept but may cause issues"} 
[2026-07-07 10:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096637954351222784,"note":"Value kept but may cause issues"} 
[2026-07-07 10:18: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-07-07 10:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783399552000,"timestamp_ms":1783399552000,"timestamp_seconds":1783399552,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae59400"} 
[2026-07-07 10:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:18: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-07-07 10:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-07 10:18: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-07-07 10:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550281984001,"66":28104,"4":206,"87":10752,"24":22,"16":340865715760267264,"45":9096637954351222784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,87,24,16,45]} 
[2026-07-07 10:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550281984001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:18:10] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-07 10:18:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340865715760267264,"km_value":340865715760267.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096637954351222784,"description":"Unknown IO ID 45"} 
[2026-07-07 10:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550281984001,"power":28104,"unknown_4":206,"unknown_87":10752,"ignition":22,"odometer":null,"unknown_45":9096637954351222784}} 
[2026-07-07 10:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":124359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:18:10] local.INFO: GPS data processed {"connection_id":124359,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:18:10] local.INFO: Acknowledgment sent {"connection_id":124359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:18:34] local.INFO: TCP Data received {"connection_id":126298,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:18:34] local.INFO: Processing buffer {"connection_id":126298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae378f0012d7d0a8005ec3c68001100572a..."} 
[2026-07-07 10:18:34] local.INFO: Packet analysis {"connection_id":126298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:18:34] local.INFO: Extracted packet for processing {"connection_id":126298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae3"} 
[2026-07-07 10:18:34] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550172928001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783399414000,"timestamp_ms":1783399414000,"timestamp_seconds":1783399414,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae378f0"} 
[2026-07-07 10:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550172928001,"66":2242,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550172928001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:18:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:18:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550172928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":126298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:18:34] local.INFO: GPS data processed {"connection_id":126298,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:18:34] local.INFO: Acknowledgment sent {"connection_id":126298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:18:42] local.INFO: TCP Data received {"connection_id":125065,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:18:42] local.INFO: Processing buffer {"connection_id":125065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:18:42] local.INFO: IMEI packet received {"connection_id":125065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":125065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:18:56] local.INFO: TCP Data received {"connection_id":125066,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:18:56] local.INFO: Processing buffer {"connection_id":125066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:18:56] local.INFO: IMEI packet received {"connection_id":125066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":125066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:19:01] local.INFO: TCP Data received {"connection_id":125066,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:19:01] local.INFO: Processing buffer {"connection_id":125066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:19:01] local.INFO: IMEI packet received {"connection_id":125066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":125066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:19:02] local.INFO: TCP Data received {"connection_id":125066,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:19:02] local.INFO: Processing buffer {"connection_id":125066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:19:02] local.INFO: Packet analysis {"connection_id":125066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:19:02] local.INFO: Extracted packet for processing {"connection_id":125066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550249984001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783399715000,"timestamp_ms":1783399715000,"timestamp_seconds":1783399715,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae810b8"} 
[2026-07-07 10:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 10:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550249984001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550249984001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:19:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:19:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550249984001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":125066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:19:02] local.INFO: GPS data processed {"connection_id":125066,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:19:02] local.INFO: Acknowledgment sent {"connection_id":125066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:19:16] local.INFO: TCP Data received {"connection_id":124360,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:19:16] local.INFO: Processing buffer {"connection_id":124360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:19:16] local.INFO: IMEI packet received {"connection_id":124360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":124360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:19:19] local.INFO: TCP Data received {"connection_id":124360,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:19:19] local.INFO: Processing buffer {"connection_id":124360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:19:19] local.INFO: IMEI packet received {"connection_id":124360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":124360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:19:21] local.INFO: TCP Data received {"connection_id":124360,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae74598012d7dda8005fef028000b00c02c..."} 
[2026-07-07 10:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae74598012d7dda8005fef028000b00c02c..."} 
[2026-07-07 10:19:21] local.INFO: Processing buffer {"connection_id":124360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae74598012d7dda8005fef028000b00c02c..."} 
[2026-07-07 10:19:21] local.INFO: Packet analysis {"connection_id":124360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae7"} 
[2026-07-07 10:19:21] local.INFO: Extracted packet for processing {"connection_id":124360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae7"} 
[2026-07-07 10:19:21] local.INFO: GPS Element Parsed {"raw_longitude":763222656,"raw_latitude":100593704,"longitude_deg":76.3222656,"latitude_deg":10.0593704,"altitude":11,"angle":192,"satellites":44,"speed":8,"hex_longitude":"2d7dda80","hex_latitude":"05fef028","is_valid_coordinates":true} 
[2026-07-07 10:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550308352001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340867330667970560,"note":"Value kept but may cause issues"} 
[2026-07-07 10:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9070742256486729728,"note":"Value kept but may cause issues"} 
[2026-07-07 10:19:21] 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-07-07 10:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783399663000,"timestamp_ms":1783399663000,"timestamp_seconds":1783399663,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae74598"} 
[2026-07-07 10:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 10:19: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-07-07 10:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550308352001,"66":27767,"5":206,"87":10752,"24":8,"16":340867330667970560,"45":9070742256486729728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-07-07 10:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550308352001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:19:21] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-07 10:19:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340867330667970560,"km_value":340867330667970.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9070742256486729728,"description":"Unknown IO ID 45"} 
[2026-07-07 10:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550308352001,"power":27767,"unknown_5":206,"unknown_87":10752,"ignition":8,"odometer":null,"unknown_45":9070742256486729728}} 
[2026-07-07 10:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":124360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:19:21] local.INFO: GPS data processed {"connection_id":124360,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:19:21] local.INFO: Acknowledgment sent {"connection_id":124360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:19:33] local.INFO: TCP Data received {"connection_id":125066,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:19:33] local.INFO: Processing buffer {"connection_id":125066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:19:33] local.INFO: Packet analysis {"connection_id":125066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:19:33] local.INFO: Extracted packet for processing {"connection_id":125066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550249984001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783399715000,"timestamp_ms":1783399715000,"timestamp_seconds":1783399715,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae810b8"} 
[2026-07-07 10:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 10:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550249984001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550249984001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:19:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:19:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550249984001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":125066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:19:33] local.INFO: GPS data processed {"connection_id":125066,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:19:33] local.INFO: Acknowledgment sent {"connection_id":125066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:19:56] local.INFO: TCP Data received {"connection_id":124275,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:19:56] local.INFO: Processing buffer {"connection_id":124275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:19:56] local.INFO: IMEI packet received {"connection_id":124275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":124275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:20:01] local.INFO: TCP Data received {"connection_id":124275,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:20:01] local.INFO: Processing buffer {"connection_id":124275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:20:01] local.INFO: IMEI packet received {"connection_id":124275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":124275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:20:02] local.INFO: TCP Data received {"connection_id":124275,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:20:02] local.INFO: Processing buffer {"connection_id":124275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:20:02] local.INFO: Packet analysis {"connection_id":124275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:20:02] local.INFO: Extracted packet for processing {"connection_id":124275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550249984001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783399715000,"timestamp_ms":1783399715000,"timestamp_seconds":1783399715,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae810b8"} 
[2026-07-07 10:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 10:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550249984001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550249984001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:20:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:20:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550249984001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":124275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:20:02] local.INFO: GPS data processed {"connection_id":124275,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:20:02] local.INFO: Acknowledgment sent {"connection_id":124275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:20:16] local.INFO: TCP Data received {"connection_id":126299,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:20:16] local.INFO: Processing buffer {"connection_id":126299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:20:16] local.INFO: IMEI packet received {"connection_id":126299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":126299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:20:17] local.INFO: TCP Data received {"connection_id":126299,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:20:17] local.INFO: Processing buffer {"connection_id":126299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:20:17] local.INFO: IMEI packet received {"connection_id":126299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":126299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:20:18] local.INFO: TCP Data received {"connection_id":126299,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae797a0012d7dd48005fedea0001000c02c..."} 
[2026-07-07 10:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae797a0012d7dd48005fedea0001000c02c..."} 
[2026-07-07 10:20:18] local.INFO: Processing buffer {"connection_id":126299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae797a0012d7dd48005fedea0001000c02c..."} 
[2026-07-07 10:20:18] local.INFO: Packet analysis {"connection_id":126299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae7"} 
[2026-07-07 10:20:18] local.INFO: Extracted packet for processing {"connection_id":126299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae7"} 
[2026-07-07 10:20:18] local.INFO: GPS Element Parsed {"raw_longitude":763221120,"raw_latitude":100589216,"longitude_deg":76.322112,"latitude_deg":10.0589216,"altitude":16,"angle":192,"satellites":44,"speed":14,"hex_longitude":"2d7dd480","hex_latitude":"05fedea0","is_valid_coordinates":true} 
[2026-07-07 10:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550313728001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340867566891171840,"note":"Value kept but may cause issues"} 
[2026-07-07 10:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068701562904258560,"note":"Value kept but may cause issues"} 
[2026-07-07 10:20:18] 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-07-07 10:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783399684000,"timestamp_ms":1783399684000,"timestamp_seconds":1783399684,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae797a0"} 
[2026-07-07 10:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 10:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":126299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":126299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":126299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:20: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-07-07 10:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550313728001,"66":27887,"5":206,"87":10752,"24":14,"16":340867566891171840,"45":9068701562904258560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-07-07 10:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550313728001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:20:18] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-07 10:20:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340867566891171840,"km_value":340867566891171.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068701562904258560,"description":"Unknown IO ID 45"} 
[2026-07-07 10:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550313728001,"power":27887,"unknown_5":206,"unknown_87":10752,"ignition":14,"odometer":null,"unknown_45":9068701562904258560}} 
[2026-07-07 10:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":126299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:20:18] local.INFO: GPS data processed {"connection_id":126299,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:20:18] local.INFO: Acknowledgment sent {"connection_id":126299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:20:19] local.INFO: TCP Data received {"connection_id":126299,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae7a358012d7dd3c005feda90001000b32c..."} 
[2026-07-07 10:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae7a358012d7dd3c005feda90001000b32c..."} 
[2026-07-07 10:20:19] local.INFO: Processing buffer {"connection_id":126299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae7a358012d7dd3c005feda90001000b32c..."} 
[2026-07-07 10:20:19] local.INFO: Packet analysis {"connection_id":126299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae7"} 
[2026-07-07 10:20:19] local.INFO: Extracted packet for processing {"connection_id":126299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae7"} 
[2026-07-07 10:20:19] local.INFO: GPS Element Parsed {"raw_longitude":763220928,"raw_latitude":100588176,"longitude_deg":76.3220928,"latitude_deg":10.0588176,"altitude":16,"angle":179,"satellites":44,"speed":12,"hex_longitude":"2d7dd3c0","hex_latitude":"05feda90","is_valid_coordinates":true} 
[2026-07-07 10:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550319104001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340867618430779392,"note":"Value kept but may cause issues"} 
[2026-07-07 10:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067012713042845696,"note":"Value kept but may cause issues"} 
[2026-07-07 10:20:19] 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-07-07 10:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783399687000,"timestamp_ms":1783399687000,"timestamp_seconds":1783399687,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae7a358"} 
[2026-07-07 10:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 10:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":126299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":126299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":126299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550319104001,"66":27865,"5":206,"87":10752,"24":12,"16":340867618430779392,"45":9067012713042845696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-07-07 10:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550319104001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:20:19] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-07 10:20:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340867618430779392,"km_value":340867618430779.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067012713042845696,"description":"Unknown IO ID 45"} 
[2026-07-07 10:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550319104001,"power":27865,"unknown_5":206,"unknown_87":10752,"ignition":12,"odometer":null,"unknown_45":9067012713042845696}} 
[2026-07-07 10:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":126299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:20:19] local.INFO: GPS data processed {"connection_id":126299,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:20:19] local.INFO: Acknowledgment sent {"connection_id":126299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:20:33] local.INFO: TCP Data received {"connection_id":124275,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:20:33] local.INFO: Processing buffer {"connection_id":124275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:20:33] local.INFO: Packet analysis {"connection_id":124275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:20:33] local.INFO: Extracted packet for processing {"connection_id":124275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:20:33] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550249984001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783399715000,"timestamp_ms":1783399715000,"timestamp_seconds":1783399715,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae810b8"} 
[2026-07-07 10:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 10:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550249984001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550249984001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:20:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:20:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550249984001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":124275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:20:33] local.INFO: GPS data processed {"connection_id":124275,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:20:33] local.INFO: Acknowledgment sent {"connection_id":124275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:20:55] local.INFO: TCP Data received {"connection_id":126300,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:20:55] local.INFO: Processing buffer {"connection_id":126300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:20:55] local.INFO: IMEI packet received {"connection_id":126300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":126300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:20:59] local.INFO: TCP Data received {"connection_id":126301,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:20:59] local.INFO: Processing buffer {"connection_id":126301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:20:59] local.INFO: IMEI packet received {"connection_id":126301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":126301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:21:01] local.INFO: TCP Data received {"connection_id":126300,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:21:01] local.INFO: Processing buffer {"connection_id":126300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:21:01] local.INFO: IMEI packet received {"connection_id":126300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":126300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:21:04] local.INFO: TCP Data received {"connection_id":126301,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:21:04] local.INFO: Processing buffer {"connection_id":126301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:21:04] local.INFO: IMEI packet received {"connection_id":126301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":126301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:21:05] local.INFO: TCP Data received {"connection_id":126301,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae7beb0012d7dd30005fed388001200c82c..."} 
[2026-07-07 10:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae7beb0012d7dd30005fed388001200c82c..."} 
[2026-07-07 10:21:05] local.INFO: Processing buffer {"connection_id":126301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae7beb0012d7dd30005fed388001200c82c..."} 
[2026-07-07 10:21:05] local.INFO: Packet analysis {"connection_id":126301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae7"} 
[2026-07-07 10:21:05] local.INFO: Extracted packet for processing {"connection_id":126301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae7"} 
[2026-07-07 10:21:05] local.INFO: GPS Element Parsed {"raw_longitude":763220736,"raw_latitude":100586376,"longitude_deg":76.3220736,"latitude_deg":10.0586376,"altitude":18,"angle":200,"satellites":44,"speed":7,"hex_longitude":"2d7dd300","hex_latitude":"05fed388","is_valid_coordinates":true} 
[2026-07-07 10:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550319872001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340867704330125312,"note":"Value kept but may cause issues"} 
[2026-07-07 10:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9066801606810046464,"note":"Value kept but may cause issues"} 
[2026-07-07 10:21:05] 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-07-07 10:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783399694000,"timestamp_ms":1783399694000,"timestamp_seconds":1783399694,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae7beb0"} 
[2026-07-07 10:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 10:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550319872001,"66":27984,"5":206,"87":10752,"24":7,"16":340867704330125312,"45":9066801606810046464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-07-07 10:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550319872001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:21:05] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-07 10:21:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340867704330125312,"km_value":340867704330125.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9066801606810046464,"description":"Unknown IO ID 45"} 
[2026-07-07 10:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550319872001,"power":27984,"unknown_5":206,"unknown_87":10752,"ignition":7,"odometer":null,"unknown_45":9066801606810046464}} 
[2026-07-07 10:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":126301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:21:05] local.INFO: GPS data processed {"connection_id":126301,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:21:05] local.INFO: Acknowledgment sent {"connection_id":126301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:21:06] local.INFO: TCP Data received {"connection_id":126300,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:21:06] local.INFO: Processing buffer {"connection_id":126300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:21:06] local.INFO: Packet analysis {"connection_id":126300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:21:06] local.INFO: Extracted packet for processing {"connection_id":126300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550249984001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783399715000,"timestamp_ms":1783399715000,"timestamp_seconds":1783399715,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae810b8"} 
[2026-07-07 10:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 10:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550249984001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550249984001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:21:06] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:21:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550249984001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":126300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:21:06] local.INFO: GPS data processed {"connection_id":126300,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:21:06] local.INFO: Acknowledgment sent {"connection_id":126300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:21:27] local.INFO: TCP Data received {"connection_id":125068,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:21:27] local.INFO: Processing buffer {"connection_id":125068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:21:27] local.INFO: IMEI packet received {"connection_id":125068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":125068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:21:28] local.INFO: TCP Data received {"connection_id":125068,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aea81b8012d1ae1c007206040004a01261e..."} 
[2026-07-07 10:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aea81b8012d1ae1c007206040004a01261e..."} 
[2026-07-07 10:21:28] local.INFO: Processing buffer {"connection_id":125068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aea81b8012d1ae1c007206040004a01261e..."} 
[2026-07-07 10:21:28] local.INFO: Packet analysis {"connection_id":125068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aea"} 
[2026-07-07 10:21:28] local.INFO: Extracted packet for processing {"connection_id":125068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aea"} 
[2026-07-07 10:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756736448,"raw_latitude":119562304,"longitude_deg":75.6736448,"latitude_deg":11.9562304,"altitude":74,"angle":294,"satellites":30,"speed":15,"hex_longitude":"2d1ae1c0","hex_latitude":"07206040","is_valid_coordinates":true} 
[2026-07-07 10:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550364416001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4732989535682560,"note":"Value kept but may cause issues"} 
[2026-07-07 10:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944992119678683136,"note":"Value kept but may cause issues"} 
[2026-07-07 10:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783399875000,"timestamp_ms":1783399875000,"timestamp_seconds":1783399875,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aea81b8"} 
[2026-07-07 10:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 10:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550364416001,"66":14102,"121":206,"28":31744,"24":15,"16":4732989535682560,"45":1944992119678683136},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 10:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550364416001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:21:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 10:21:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4732989535682560,"km_value":4732989535682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944992119678683136,"description":"Unknown IO ID 45"} 
[2026-07-07 10:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550364416001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1944992119678683136}} 
[2026-07-07 10:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":125068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:21:28] local.INFO: GPS data processed {"connection_id":125068,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:21:28] local.INFO: Acknowledgment sent {"connection_id":125068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:21:37] local.INFO: TCP Data received {"connection_id":126301,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae7fd30012d7dcf8005fecb70001500bb29..."} 
[2026-07-07 10:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae7fd30012d7dcf8005fecb70001500bb29..."} 
[2026-07-07 10:21:37] local.INFO: Processing buffer {"connection_id":126301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae7fd30012d7dcf8005fecb70001500bb29..."} 
[2026-07-07 10:21:37] local.INFO: Packet analysis {"connection_id":126301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae7"} 
[2026-07-07 10:21:37] local.INFO: Extracted packet for processing {"connection_id":126301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae7"} 
[2026-07-07 10:21:37] local.INFO: GPS Element Parsed {"raw_longitude":763219840,"raw_latitude":100584304,"longitude_deg":76.321984,"latitude_deg":10.0584304,"altitude":21,"angle":187,"satellites":41,"speed":6,"hex_longitude":"2d7dcf80","hex_latitude":"05fecb70","is_valid_coordinates":true} 
[2026-07-07 10:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550321664001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340867820294242304,"note":"Value kept but may cause issues"} 
[2026-07-07 10:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9066590500577052672,"note":"Value kept but may cause issues"} 
[2026-07-07 10:21:37] 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-07-07 10:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783399710000,"timestamp_ms":1783399710000,"timestamp_seconds":1783399710,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae7fd30"} 
[2026-07-07 10:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10: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-07-07 10:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 10:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550321664001,"66":27821,"5":206,"87":10752,"24":6,"16":340867820294242304,"45":9066590500577052672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-07-07 10:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550321664001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:21:37] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-07 10:21:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340867820294242304,"km_value":340867820294242.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9066590500577052672,"description":"Unknown IO ID 45"} 
[2026-07-07 10:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550321664001,"power":27821,"unknown_5":206,"unknown_87":10752,"ignition":6,"odometer":null,"unknown_45":9066590500577052672}} 
[2026-07-07 10:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":126301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:21:37] local.INFO: GPS data processed {"connection_id":126301,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:21:37] local.INFO: Acknowledgment sent {"connection_id":126301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:21:52] local.INFO: TCP Data received {"connection_id":126300,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:21:52] local.INFO: Processing buffer {"connection_id":126300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:21:52] local.INFO: Packet analysis {"connection_id":126300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:21:52] local.INFO: Extracted packet for processing {"connection_id":126300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:21:52] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550249984001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783399715000,"timestamp_ms":1783399715000,"timestamp_seconds":1783399715,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae810b8"} 
[2026-07-07 10:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 10:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":126300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":126300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":126300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550249984001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550249984001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:21:52] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:21:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550249984001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":126300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:21:52] local.INFO: GPS data processed {"connection_id":126300,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:21:52] local.INFO: Acknowledgment sent {"connection_id":126300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:21:56] local.INFO: TCP Data received {"connection_id":124362,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:21:56] local.INFO: Processing buffer {"connection_id":124362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:21:56] local.INFO: IMEI packet received {"connection_id":124362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":124362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:21:59] local.INFO: TCP Data received {"connection_id":126303,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:21:59] local.INFO: Processing buffer {"connection_id":126303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:21:59] local.INFO: IMEI packet received {"connection_id":126303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":126303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:21:59] local.INFO: TCP Data received {"connection_id":125068,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aea85a0012d1ae0c007206118004a01381e..."} 
[2026-07-07 10:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aea85a0012d1ae0c007206118004a01381e..."} 
[2026-07-07 10:21:59] local.INFO: Processing buffer {"connection_id":125068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aea85a0012d1ae0c007206118004a01381e..."} 
[2026-07-07 10:21:59] local.INFO: Packet analysis {"connection_id":125068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aea"} 
[2026-07-07 10:21:59] local.INFO: Extracted packet for processing {"connection_id":125068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aea"} 
[2026-07-07 10:21:59] local.INFO: GPS Element Parsed {"raw_longitude":756736192,"raw_latitude":119562520,"longitude_deg":75.6736192,"latitude_deg":11.956252,"altitude":74,"angle":312,"satellites":30,"speed":14,"hex_longitude":"2d1ae0c0","hex_latitude":"07206118","is_valid_coordinates":true} 
[2026-07-07 10:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550368000001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4733006715551744,"note":"Value kept but may cause issues"} 
[2026-07-07 10:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937040451586506752,"note":"Value kept but may cause issues"} 
[2026-07-07 10:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783399876000,"timestamp_ms":1783399876000,"timestamp_seconds":1783399876,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aea85a0"} 
[2026-07-07 10:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-07 10:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550368000001,"66":14428,"121":206,"28":31744,"24":14,"16":4733006715551744,"45":1937040451586506752},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 10:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550368000001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:21:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 10:21:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4733006715551744,"km_value":4733006715551.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937040451586506752,"description":"Unknown IO ID 45"} 
[2026-07-07 10:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550368000001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1937040451586506752}} 
[2026-07-07 10:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":125068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:21:59] local.INFO: GPS data processed {"connection_id":125068,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:21:59] local.INFO: Acknowledgment sent {"connection_id":125068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:22:01] local.INFO: TCP Data received {"connection_id":124362,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:22:01] local.INFO: Processing buffer {"connection_id":124362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:22:01] local.INFO: IMEI packet received {"connection_id":124362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":124362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:22:02] local.INFO: TCP Data received {"connection_id":124362,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:22:02] local.INFO: Processing buffer {"connection_id":124362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:22:02] local.INFO: Packet analysis {"connection_id":124362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:22:02] local.INFO: Extracted packet for processing {"connection_id":124362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550249984001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783399715000,"timestamp_ms":1783399715000,"timestamp_seconds":1783399715,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae810b8"} 
[2026-07-07 10:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 10:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:22:02] 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-07-07 10:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550249984001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550249984001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:22:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:22:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550249984001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":124362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:22:02] local.INFO: GPS data processed {"connection_id":124362,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:22:02] local.INFO: Acknowledgment sent {"connection_id":124362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:22:05] local.INFO: TCP Data received {"connection_id":126303,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:22:05] local.INFO: Processing buffer {"connection_id":126303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:22:05] local.INFO: IMEI packet received {"connection_id":126303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":126303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:22:07] local.INFO: TCP Data received {"connection_id":126303,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae82440012d7dcf0005fec630001400c82c..."} 
[2026-07-07 10:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae82440012d7dcf0005fec630001400c82c..."} 
[2026-07-07 10:22:07] local.INFO: Processing buffer {"connection_id":126303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae82440012d7dcf0005fec630001400c82c..."} 
[2026-07-07 10:22:07] local.INFO: Packet analysis {"connection_id":126303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:22:07] local.INFO: Extracted packet for processing {"connection_id":126303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763219712,"raw_latitude":100582960,"longitude_deg":76.3219712,"latitude_deg":10.058296,"altitude":20,"angle":200,"satellites":44,"speed":7,"hex_longitude":"2d7dcf00","hex_latitude":"05fec630","is_valid_coordinates":true} 
[2026-07-07 10:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550325760001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340867897603653632,"note":"Value kept but may cause issues"} 
[2026-07-07 10:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065605338158034944,"note":"Value kept but may cause issues"} 
[2026-07-07 10:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783399720000,"timestamp_ms":1783399720000,"timestamp_seconds":1783399720,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae82440"} 
[2026-07-07 10:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:22: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-07-07 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 10:22: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-07-07 10:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550325760001,"66":27908,"90":206,"87":10752,"24":7,"16":340867897603653632,"45":9065605338158034944},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-07-07 10:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550325760001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:22:07] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-07-07 10:22:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340867897603653632,"km_value":340867897603653.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065605338158034944,"description":"Unknown IO ID 45"} 
[2026-07-07 10:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550325760001,"power":27908,"unknown_90":206,"unknown_87":10752,"ignition":7,"odometer":null,"unknown_45":9065605338158034944}} 
[2026-07-07 10:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":126303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:22:07] local.INFO: GPS data processed {"connection_id":126303,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:22:07] local.INFO: Acknowledgment sent {"connection_id":126303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:22:22] local.INFO: TCP Data received {"connection_id":124363,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:22:22] local.INFO: Processing buffer {"connection_id":124363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:22:22] local.INFO: IMEI packet received {"connection_id":124363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":124363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:22:22] local.INFO: TCP Data received {"connection_id":124363,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:22:22] local.INFO: Processing buffer {"connection_id":124363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:22:22] local.INFO: IMEI packet received {"connection_id":124363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":124363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:22:23] local.INFO: TCP Data received {"connection_id":124363,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:22:23] local.INFO: Processing buffer {"connection_id":124363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:22:23] local.INFO: IMEI packet received {"connection_id":124363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":124363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:22:24] local.INFO: TCP Data received {"connection_id":124363,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:22:24] local.INFO: Processing buffer {"connection_id":124363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:22:24] local.INFO: IMEI packet received {"connection_id":124363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":124363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:22:29] local.INFO: TCP Data received {"connection_id":124277,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124277,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:22:29] local.INFO: Processing buffer {"connection_id":124277,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:22:29] local.INFO: IMEI packet received {"connection_id":124277,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 10:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":124277,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:22:33] local.INFO: TCP Data received {"connection_id":124362,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:22:33] local.INFO: Processing buffer {"connection_id":124362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:22:33] local.INFO: Packet analysis {"connection_id":124362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:22:33] local.INFO: Extracted packet for processing {"connection_id":124362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550249984001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783399715000,"timestamp_ms":1783399715000,"timestamp_seconds":1783399715,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae810b8"} 
[2026-07-07 10:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 10:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:22:33] 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-07-07 10:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550249984001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550249984001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:22:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:22:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550249984001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":124362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:22:33] local.INFO: GPS data processed {"connection_id":124362,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:22:33] local.INFO: Acknowledgment sent {"connection_id":124362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:22:39] local.INFO: TCP Data received {"connection_id":126303,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aeab480012d7dc88005fe3060001400bd2e..."} 
[2026-07-07 10:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aeab480012d7dc88005fe3060001400bd2e..."} 
[2026-07-07 10:22:39] local.INFO: Processing buffer {"connection_id":126303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aeab480012d7dc88005fe3060001400bd2e..."} 
[2026-07-07 10:22:39] local.INFO: Packet analysis {"connection_id":126303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aea"} 
[2026-07-07 10:22:39] local.INFO: Extracted packet for processing {"connection_id":126303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aea"} 
[2026-07-07 10:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763218048,"raw_latitude":100544608,"longitude_deg":76.3218048,"latitude_deg":10.0544608,"altitude":20,"angle":189,"satellites":46,"speed":19,"hex_longitude":"2d7dc880","hex_latitude":"05fe3060","is_valid_coordinates":true} 
[2026-07-07 10:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550367744001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340869851813773312,"note":"Value kept but may cause issues"} 
[2026-07-07 10:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063986857033406464,"note":"Value kept but may cause issues"} 
[2026-07-07 10:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783399888000,"timestamp_ms":1783399888000,"timestamp_seconds":1783399888,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aeab480"} 
[2026-07-07 10:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:22: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-07-07 10:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 10:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550367744001,"66":27789,"37":206,"87":10752,"24":19,"16":340869851813773312,"45":9063986857033406464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,87,24,16,45]} 
[2026-07-07 10:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550367744001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:22:39] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 10:22:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340869851813773312,"km_value":340869851813773.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063986857033406464,"description":"Unknown IO ID 45"} 
[2026-07-07 10:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550367744001,"power":27789,"unknown_37":206,"unknown_87":10752,"ignition":19,"odometer":null,"unknown_45":9063986857033406464}} 
[2026-07-07 10:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":126303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:22:39] local.INFO: GPS data processed {"connection_id":126303,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:22:39] local.INFO: Acknowledgment sent {"connection_id":126303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:23:01] local.INFO: TCP Data received {"connection_id":124364,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:23:01] local.INFO: Processing buffer {"connection_id":124364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:23:01] local.INFO: IMEI packet received {"connection_id":124364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":124364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:23:01] local.INFO: TCP Data received {"connection_id":124278,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:23:01] local.INFO: Processing buffer {"connection_id":124278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:23:01] local.INFO: IMEI packet received {"connection_id":124278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 10:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":124278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:23:02] local.INFO: TCP Data received {"connection_id":124365,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:23:02] local.INFO: Processing buffer {"connection_id":124365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:23:02] local.INFO: IMEI packet received {"connection_id":124365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":124365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:23:06] local.INFO: TCP Data received {"connection_id":124364,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:23:06] local.INFO: Processing buffer {"connection_id":124364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:23:06] local.INFO: IMEI packet received {"connection_id":124364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":124364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:23:07] local.INFO: TCP Data received {"connection_id":124364,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:23:07] local.INFO: Processing buffer {"connection_id":124364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:23:07] local.INFO: Packet analysis {"connection_id":124364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:23:07] local.INFO: Extracted packet for processing {"connection_id":124364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:23:07] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550249984001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783399715000,"timestamp_ms":1783399715000,"timestamp_seconds":1783399715,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae810b8"} 
[2026-07-07 10:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 10:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:23:07] 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-07-07 10:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550249984001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550249984001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:23:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:23:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550249984001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":124364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:23:07] local.INFO: GPS data processed {"connection_id":124364,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:23:07] local.INFO: Acknowledgment sent {"connection_id":124364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:23:12] local.INFO: TCP Data received {"connection_id":124365,"ip":"42.106.6.16","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 10:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124365,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 10:23:12] local.INFO: Processing buffer {"connection_id":124365,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 10:23:12] local.INFO: IMEI packet received {"connection_id":124365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":124365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:23:38] local.INFO: TCP Data received {"connection_id":124364,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:23:38] local.INFO: Processing buffer {"connection_id":124364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ae810b8012d7d0a8005ec3c680011005726..."} 
[2026-07-07 10:23:38] local.INFO: Packet analysis {"connection_id":124364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:23:38] local.INFO: Extracted packet for processing {"connection_id":124364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ae8"} 
[2026-07-07 10:23:38] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550249984001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783399715000,"timestamp_ms":1783399715000,"timestamp_seconds":1783399715,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ae810b8"} 
[2026-07-07 10:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 10:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:23:38] 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-07-07 10:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550249984001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550249984001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:23:38] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:23:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550249984001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":124364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:23:38] local.INFO: GPS data processed {"connection_id":124364,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:23:38] local.INFO: Acknowledgment sent {"connection_id":124364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:23:55] local.INFO: TCP Data received {"connection_id":124279,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:23:55] local.INFO: Processing buffer {"connection_id":124279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:23:55] local.INFO: IMEI packet received {"connection_id":124279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":124279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:24:01] local.INFO: TCP Data received {"connection_id":124279,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:24:01] local.INFO: Processing buffer {"connection_id":124279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:24:01] local.INFO: IMEI packet received {"connection_id":124279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":124279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:24:11] local.INFO: TCP Data received {"connection_id":124279,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:24:11] local.INFO: Processing buffer {"connection_id":124279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:24:11] local.INFO: Packet analysis {"connection_id":124279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aec"} 
[2026-07-07 10:24:11] local.INFO: Extracted packet for processing {"connection_id":124279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aec"} 
[2026-07-07 10:24:11] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550327040001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783400016000,"timestamp_ms":1783400016000,"timestamp_seconds":1783400016,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aeca880"} 
[2026-07-07 10:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:24: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-07-07 10:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550327040001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550327040001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:24:11] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:24:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550327040001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":124279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:24:11] local.INFO: GPS data processed {"connection_id":124279,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:24:11] local.INFO: Acknowledgment sent {"connection_id":124279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:24:56] local.INFO: TCP Data received {"connection_id":124367,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:24:56] local.INFO: Processing buffer {"connection_id":124367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:24:56] local.INFO: IMEI packet received {"connection_id":124367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":124367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:25:01] local.INFO: TCP Data received {"connection_id":124367,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:25:01] local.INFO: Processing buffer {"connection_id":124367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:25:01] local.INFO: IMEI packet received {"connection_id":124367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":124367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:25:03] local.INFO: TCP Data received {"connection_id":124367,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:25:03] local.INFO: Processing buffer {"connection_id":124367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:25:03] local.INFO: Packet analysis {"connection_id":124367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aec"} 
[2026-07-07 10:25:03] local.INFO: Extracted packet for processing {"connection_id":124367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aec"} 
[2026-07-07 10:25:03] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550327040001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783400016000,"timestamp_ms":1783400016000,"timestamp_seconds":1783400016,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aeca880"} 
[2026-07-07 10:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:25:03] 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-07-07 10:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550327040001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550327040001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:25:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:25:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550327040001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":124367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:25:03] local.INFO: GPS data processed {"connection_id":124367,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:25:03] local.INFO: Acknowledgment sent {"connection_id":124367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:25:34] local.INFO: TCP Data received {"connection_id":124367,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:25:34] local.INFO: Processing buffer {"connection_id":124367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:25:34] local.INFO: Packet analysis {"connection_id":124367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aec"} 
[2026-07-07 10:25:34] local.INFO: Extracted packet for processing {"connection_id":124367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aec"} 
[2026-07-07 10:25:34] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550327040001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783400016000,"timestamp_ms":1783400016000,"timestamp_seconds":1783400016,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aeca880"} 
[2026-07-07 10:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:25:34] 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-07-07 10:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550327040001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550327040001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:25:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:25:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550327040001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":124367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:25:34] local.INFO: GPS data processed {"connection_id":124367,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:25:34] local.INFO: Acknowledgment sent {"connection_id":124367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:25:56] local.INFO: TCP Data received {"connection_id":124281,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:25:56] local.INFO: Processing buffer {"connection_id":124281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:25:56] local.INFO: IMEI packet received {"connection_id":124281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":124281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:26:01] local.INFO: TCP Data received {"connection_id":124281,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:26:01] local.INFO: Processing buffer {"connection_id":124281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:26:01] local.INFO: IMEI packet received {"connection_id":124281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":124281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:26:02] local.INFO: TCP Data received {"connection_id":124281,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:26:02] local.INFO: Processing buffer {"connection_id":124281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:26:02] local.INFO: Packet analysis {"connection_id":124281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aec"} 
[2026-07-07 10:26:02] local.INFO: Extracted packet for processing {"connection_id":124281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aec"} 
[2026-07-07 10:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550327040001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783400016000,"timestamp_ms":1783400016000,"timestamp_seconds":1783400016,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aeca880"} 
[2026-07-07 10:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:26:02] 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-07-07 10:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550327040001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550327040001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:26:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:26:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550327040001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":124281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:26:02] local.INFO: GPS data processed {"connection_id":124281,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:26:02] local.INFO: Acknowledgment sent {"connection_id":124281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:26:33] local.INFO: TCP Data received {"connection_id":124281,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:26:33] local.INFO: Processing buffer {"connection_id":124281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:26:33] local.INFO: Packet analysis {"connection_id":124281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aec"} 
[2026-07-07 10:26:33] local.INFO: Extracted packet for processing {"connection_id":124281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aec"} 
[2026-07-07 10:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550327040001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783400016000,"timestamp_ms":1783400016000,"timestamp_seconds":1783400016,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aeca880"} 
[2026-07-07 10:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:26: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":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:26:33] 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-07-07 10:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550327040001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550327040001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:26:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:26:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550327040001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":124281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:26:33] local.INFO: GPS data processed {"connection_id":124281,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:26:33] local.INFO: Acknowledgment sent {"connection_id":124281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:27:01] local.INFO: TCP Data received {"connection_id":124369,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124369,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:27:01] local.INFO: Processing buffer {"connection_id":124369,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:27:01] local.INFO: IMEI packet received {"connection_id":124369,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":124369,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:27:06] local.INFO: TCP Data received {"connection_id":124369,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124369,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:27:06] local.INFO: Processing buffer {"connection_id":124369,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:27:06] local.INFO: IMEI packet received {"connection_id":124369,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":124369,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:27:07] local.INFO: TCP Data received {"connection_id":124369,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:27:07] local.INFO: Processing buffer {"connection_id":124369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:27:07] local.INFO: Packet analysis {"connection_id":124369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aec"} 
[2026-07-07 10:27:07] local.INFO: Extracted packet for processing {"connection_id":124369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aec"} 
[2026-07-07 10:27:07] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550327040001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783400016000,"timestamp_ms":1783400016000,"timestamp_seconds":1783400016,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aeca880"} 
[2026-07-07 10:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:27:07] 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-07-07 10:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550327040001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550327040001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:27:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:27:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550327040001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":124369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:27:07] local.INFO: GPS data processed {"connection_id":124369,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:27:07] local.INFO: Acknowledgment sent {"connection_id":124369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:27:27] local.INFO: TCP Data received {"connection_id":126307,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:27:27] local.INFO: Processing buffer {"connection_id":126307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:27:27] local.INFO: IMEI packet received {"connection_id":126307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":126307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:27:28] local.INFO: TCP Data received {"connection_id":126307,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aef63b8012d18c400072143200049015d1c..."} 
[2026-07-07 10:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aef63b8012d18c400072143200049015d1c..."} 
[2026-07-07 10:27:28] local.INFO: Processing buffer {"connection_id":126307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aef63b8012d18c400072143200049015d1c..."} 
[2026-07-07 10:27:28] local.INFO: Packet analysis {"connection_id":126307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aef"} 
[2026-07-07 10:27:28] local.INFO: Extracted packet for processing {"connection_id":126307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aef"} 
[2026-07-07 10:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119620384,"longitude_deg":75.659776,"latitude_deg":11.9620384,"altitude":73,"angle":349,"satellites":28,"speed":39,"hex_longitude":"2d18c400","hex_latitude":"07214320","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550448384001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4742825010790400,"note":"Value kept but may cause issues"} 
[2026-07-07 10:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787506870222512128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:27: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-07-07 10:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783400195000,"timestamp_ms":1783400195000,"timestamp_seconds":1783400195,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aef63b8"} 
[2026-07-07 10:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-07 10:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-07-07 10:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3629711360,"note":"Value kept but may cause issues"} 
[2026-07-07 10:27:28] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-07-07 10:27:28] local.WARNING: Large IO value detected {"io_id":58,"raw_value":4010401793,"note":"Value kept but may cause issues"} 
[2026-07-07 10:27:28] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4098359363,"note":"Value kept but may cause issues"} 
[2026-07-07 10:27:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-07 10:27:28] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,217,159,48,45,192,21,71,30,10,66,33,6,70,216,25,64,1,240,131,58,32,4,113,205,36,242,237,8,239,56,2,7],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-07 10:27:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188514136465735680,"timestamp_seconds":5188514136465736.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 10:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550448384001,"66":14428,"121":206,"28":31744,"24":39,"16":4742825010790400,"45":1787506870222512128},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 10:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550448384001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:27:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 10:27:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4742825010790400,"km_value":4742825010790.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787506870222512128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550448384001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1787506870222512128}} 
[2026-07-07 10:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":126307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:27:28] local.INFO: GPS data processed {"connection_id":126307,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:27:28] local.INFO: Acknowledgment sent {"connection_id":126307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:27:41] local.INFO: TCP Data received {"connection_id":124369,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:27:41] local.INFO: Processing buffer {"connection_id":124369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:27:41] local.INFO: Packet analysis {"connection_id":124369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aec"} 
[2026-07-07 10:27:41] local.INFO: Extracted packet for processing {"connection_id":124369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aec"} 
[2026-07-07 10:27:41] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550327040001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783400016000,"timestamp_ms":1783400016000,"timestamp_seconds":1783400016,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aeca880"} 
[2026-07-07 10:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:27:41] 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-07-07 10:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550327040001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550327040001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:27:41] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:27:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550327040001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":124369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:27:41] local.INFO: GPS data processed {"connection_id":124369,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:27:41] local.INFO: Acknowledgment sent {"connection_id":124369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:27:55] local.INFO: TCP Data received {"connection_id":125072,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:27:56] local.INFO: Processing buffer {"connection_id":125072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:27:56] local.INFO: IMEI packet received {"connection_id":125072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":125072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:27:59] local.INFO: TCP Data received {"connection_id":126307,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aef7740012d18c10007215580004a014e1d..."} 
[2026-07-07 10:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aef7740012d18c10007215580004a014e1d..."} 
[2026-07-07 10:27:59] local.INFO: Processing buffer {"connection_id":126307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aef7740012d18c10007215580004a014e1d..."} 
[2026-07-07 10:27:59] local.INFO: Packet analysis {"connection_id":126307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aef"} 
[2026-07-07 10:27:59] local.INFO: Extracted packet for processing {"connection_id":126307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aef"} 
[2026-07-07 10:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756596992,"raw_latitude":119625088,"longitude_deg":75.6596992,"latitude_deg":11.9625088,"altitude":74,"angle":334,"satellites":29,"speed":36,"hex_longitude":"2d18c100","hex_latitude":"07215580","is_valid_coordinates":true} 
[2026-07-07 10:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550449920001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4743056939024384,"note":"Value kept but may cause issues"} 
[2026-07-07 10:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382968377344,"note":"Value kept but may cause issues"} 
[2026-07-07 10:27: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-07-07 10:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783400200000,"timestamp_ms":1783400200000,"timestamp_seconds":1783400200,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aef7740"} 
[2026-07-07 10:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:27: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-07-07 10:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 10:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":126307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":126307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":126307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550449920001,"66":14189,"121":206,"28":31744,"24":36,"16":4743056939024384,"45":1784551382968377344},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 10:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550449920001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:27:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 10:27:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4743056939024384,"km_value":4743056939024.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382968377344,"description":"Unknown IO ID 45"} 
[2026-07-07 10:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550449920001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1784551382968377344}} 
[2026-07-07 10:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":126307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:28:00] local.INFO: GPS data processed {"connection_id":126307,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:28:00] local.INFO: Acknowledgment sent {"connection_id":126307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:28:01] local.INFO: TCP Data received {"connection_id":125072,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:28:01] local.INFO: Processing buffer {"connection_id":125072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:28:01] local.INFO: IMEI packet received {"connection_id":125072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":125072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:28:02] local.INFO: TCP Data received {"connection_id":125072,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:28:02] local.INFO: Processing buffer {"connection_id":125072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:28:02] local.INFO: Packet analysis {"connection_id":125072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aec"} 
[2026-07-07 10:28:02] local.INFO: Extracted packet for processing {"connection_id":125072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aec"} 
[2026-07-07 10:28:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550327040001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783400016000,"timestamp_ms":1783400016000,"timestamp_seconds":1783400016,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aeca880"} 
[2026-07-07 10:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550327040001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550327040001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:28:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:28:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550327040001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":125072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:28:02] local.INFO: GPS data processed {"connection_id":125072,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:28:02] local.INFO: Acknowledgment sent {"connection_id":125072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:28:12] local.INFO: TCP Data received {"connection_id":125073,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:28:12] local.INFO: Processing buffer {"connection_id":125073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:28:12] local.INFO: IMEI packet received {"connection_id":125073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":125073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:28:13] local.INFO: TCP Data received {"connection_id":125073,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aee2f20012d7ce80005fbf030000700ca2b..."} 
[2026-07-07 10:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aee2f20012d7ce80005fbf030000700ca2b..."} 
[2026-07-07 10:28:13] local.INFO: Processing buffer {"connection_id":125073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aee2f20012d7ce80005fbf030000700ca2b..."} 
[2026-07-07 10:28:13] local.INFO: Packet analysis {"connection_id":125073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aee"} 
[2026-07-07 10:28:13] local.INFO: Extracted packet for processing {"connection_id":125073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aee"} 
[2026-07-07 10:28:13] local.INFO: GPS Element Parsed {"raw_longitude":763160576,"raw_latitude":100397104,"longitude_deg":76.3160576,"latitude_deg":10.0397104,"altitude":7,"angle":202,"satellites":43,"speed":21,"hex_longitude":"2d7ce800","hex_latitude":"05fbf030","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550426880001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340877664359284736,"note":"Value kept but may cause issues"} 
[2026-07-07 10:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004173424445155328,"note":"Value kept but may cause issues"} 
[2026-07-07 10:28:13] 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-07-07 10:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783400116000,"timestamp_ms":1783400116000,"timestamp_seconds":1783400116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aee2f20"} 
[2026-07-07 10:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10: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":152,"data_length":795,"current_offset":136} 
[2026-07-07 10:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550426880001,"66":27865,"144":206,"87":10752,"24":21,"16":340877664359284736,"45":9004173424445155328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-07-07 10:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550426880001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:28:13] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-07-07 10:28:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340877664359284736,"km_value":340877664359284.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004173424445155328,"description":"Unknown IO ID 45"} 
[2026-07-07 10:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550426880001,"power":27865,"unknown_144":206,"unknown_87":10752,"ignition":21,"odometer":null,"unknown_45":9004173424445155328}} 
[2026-07-07 10:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":125073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:28:13] local.INFO: GPS data processed {"connection_id":125073,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:28:13] local.INFO: Acknowledgment sent {"connection_id":125073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:28:22] local.INFO: TCP Data received {"connection_id":124371,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:28:22] local.INFO: Processing buffer {"connection_id":124371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:28:22] local.INFO: IMEI packet received {"connection_id":124371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":124371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:28:29] local.INFO: TCP Data received {"connection_id":124284,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:28:29] local.INFO: Processing buffer {"connection_id":124284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:28:29] local.INFO: IMEI packet received {"connection_id":124284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 10:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":124284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:28:29] local.INFO: TCP Data received {"connection_id":124371,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:28:29] local.INFO: Processing buffer {"connection_id":124371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:28:29] local.INFO: IMEI packet received {"connection_id":124371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":124371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:28:32] local.INFO: TCP Data received {"connection_id":124371,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:28:32] local.INFO: Processing buffer {"connection_id":124371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:28:32] local.INFO: IMEI packet received {"connection_id":124371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":124371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:28:33] local.INFO: TCP Data received {"connection_id":125072,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:28:33] local.INFO: Processing buffer {"connection_id":125072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aeca880012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:28:33] local.INFO: Packet analysis {"connection_id":125072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aec"} 
[2026-07-07 10:28:33] local.INFO: Extracted packet for processing {"connection_id":125072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aec"} 
[2026-07-07 10:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550327040001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783400016000,"timestamp_ms":1783400016000,"timestamp_seconds":1783400016,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aeca880"} 
[2026-07-07 10:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550327040001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550327040001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:28:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:28:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550327040001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":125072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:28:33] local.INFO: GPS data processed {"connection_id":125072,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:28:33] local.INFO: Acknowledgment sent {"connection_id":125072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:28:33] local.INFO: TCP Data received {"connection_id":124371,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aef7f10012d18bc8007215b78004a01421d..."} 
[2026-07-07 10:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aef7f10012d18bc8007215b78004a01421d..."} 
[2026-07-07 10:28:33] local.INFO: Processing buffer {"connection_id":124371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aef7f10012d18bc8007215b78004a01421d..."} 
[2026-07-07 10:28:33] local.INFO: Packet analysis {"connection_id":124371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aef"} 
[2026-07-07 10:28:33] local.INFO: Extracted packet for processing {"connection_id":124371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aef"} 
[2026-07-07 10:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756595840,"raw_latitude":119626616,"longitude_deg":75.659584,"latitude_deg":11.9626616,"altitude":74,"angle":322,"satellites":29,"speed":38,"hex_longitude":"2d18bc80","hex_latitude":"07215b78","is_valid_coordinates":true} 
[2026-07-07 10:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550451200001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4743147133337600,"note":"Value kept but may cause issues"} 
[2026-07-07 10:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783706958039449600,"note":"Value kept but may cause issues"} 
[2026-07-07 10:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783400202000,"timestamp_ms":1783400202000,"timestamp_seconds":1783400202,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aef7f10"} 
[2026-07-07 10:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:28: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-07-07 10:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 10:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550451200001,"66":14135,"121":206,"28":31744,"24":38,"16":4743147133337600,"45":1783706958039449600},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 10:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550451200001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:28:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 10:28:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4743147133337600,"km_value":4743147133337.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783706958039449600,"description":"Unknown IO ID 45"} 
[2026-07-07 10:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550451200001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1783706958039449600}} 
[2026-07-07 10:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":124371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:28:34] local.INFO: GPS data processed {"connection_id":124371,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:28:34] local.INFO: Acknowledgment sent {"connection_id":124371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:28:50] local.INFO: TCP Data received {"connection_id":125073,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3aee8128012d7cdac005fbd390000600cb2c..."} 
[2026-07-07 10:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3aee8128012d7cdac005fbd390000600cb2c..."} 
[2026-07-07 10:28:50] local.INFO: Processing buffer {"connection_id":125073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3aee8128012d7cdac005fbd390000600cb2c..."} 
[2026-07-07 10:28:50] local.INFO: Packet analysis {"connection_id":125073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aee"} 
[2026-07-07 10:28:50] local.INFO: Extracted packet for processing {"connection_id":125073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aee"} 
[2026-07-07 10:28:50] local.INFO: GPS Element Parsed {"raw_longitude":763157184,"raw_latitude":100389776,"longitude_deg":76.3157184,"latitude_deg":10.0389776,"altitude":6,"angle":203,"satellites":44,"speed":25,"hex_longitude":"2d7cdac0","hex_latitude":"05fbd390","is_valid_coordinates":true} 
[2026-07-07 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-07-07 10:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550429696001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340878059496275968,"note":"Value kept but may cause issues"} 
[2026-07-07 10:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000443881001594880,"note":"Value kept but may cause issues"} 
[2026-07-07 10:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783400137000,"timestamp_ms":1783400137000,"timestamp_seconds":1783400137,"priority":1,"record_length":96,"hex_timestamp":"0000019f3aee8128"} 
[2026-07-07 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-07-07 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-07-07 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":217,"data_length":795,"current_offset":136} 
[2026-07-07 10:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 10:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550429696001,"66":27865,"116":206,"87":10752,"24":25,"16":340878059496275968,"45":9000443881001594880},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-07-07 10:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550429696001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:28:50] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-07 10:28:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340878059496275968,"km_value":340878059496275.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000443881001594880,"description":"Unknown IO ID 45"} 
[2026-07-07 10:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550429696001,"power":27865,"unknown_116":206,"unknown_87":10752,"ignition":25,"odometer":null,"unknown_45":9000443881001594880}} 
[2026-07-07 10:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":125073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:28:50] local.INFO: GPS data processed {"connection_id":125073,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:28:50] local.INFO: Acknowledgment sent {"connection_id":125073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:28:59] local.INFO: TCP Data received {"connection_id":124372,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:28:59] local.INFO: Processing buffer {"connection_id":124372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:28:59] local.INFO: IMEI packet received {"connection_id":124372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":124372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:28:59] local.INFO: TCP Data received {"connection_id":126309,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:28:59] local.INFO: Processing buffer {"connection_id":126309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:28:59] local.INFO: IMEI packet received {"connection_id":126309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 10:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":126309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:29:01] local.INFO: TCP Data received {"connection_id":126308,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:29:01] local.INFO: Processing buffer {"connection_id":126308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:29:01] local.INFO: IMEI packet received {"connection_id":126308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":126308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:29:04] local.INFO: TCP Data received {"connection_id":124372,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:29:04] local.INFO: Processing buffer {"connection_id":124372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:29:04] local.INFO: IMEI packet received {"connection_id":124372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":124372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:29:06] local.INFO: TCP Data received {"connection_id":126308,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:29:06] local.INFO: Processing buffer {"connection_id":126308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:29:06] local.INFO: IMEI packet received {"connection_id":126308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":126308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:29:07] local.INFO: TCP Data received {"connection_id":126308,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:29:07] local.INFO: Processing buffer {"connection_id":126308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:29:07] local.INFO: Packet analysis {"connection_id":126308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:29:07] local.INFO: Extracted packet for processing {"connection_id":126308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550404096001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783400317000,"timestamp_ms":1783400317000,"timestamp_seconds":1783400317,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af14048"} 
[2026-07-07 10:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550404096001,"66":2220,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550404096001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:29:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:29:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550404096001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":126308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:29:07] local.INFO: GPS data processed {"connection_id":126308,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:29:07] local.INFO: Acknowledgment sent {"connection_id":126308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:29:10] local.INFO: TCP Data received {"connection_id":124372,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af08c98012d7c2bc005fa75a0000300d32d..."} 
[2026-07-07 10:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af08c98012d7c2bc005fa75a0000300d32d..."} 
[2026-07-07 10:29:10] local.INFO: Processing buffer {"connection_id":124372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af08c98012d7c2bc005fa75a0000300d32d..."} 
[2026-07-07 10:29:10] local.INFO: Packet analysis {"connection_id":124372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af0"} 
[2026-07-07 10:29:10] local.INFO: Extracted packet for processing {"connection_id":124372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af0"} 
[2026-07-07 10:29:10] local.INFO: GPS Element Parsed {"raw_longitude":763112384,"raw_latitude":100300192,"longitude_deg":76.3112384,"latitude_deg":10.0300192,"altitude":3,"angle":211,"satellites":45,"speed":26,"hex_longitude":"2d7c2bc0","hex_latitude":"05fa75a0","is_valid_coordinates":true} 
[2026-07-07 10:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550465024001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340882908514353152,"note":"Value kept but may cause issues"} 
[2026-07-07 10:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952382028705417216,"note":"Value kept but may cause issues"} 
[2026-07-07 10:29:10] 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-07-07 10:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783400271000,"timestamp_ms":1783400271000,"timestamp_seconds":1783400271,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af08c98"} 
[2026-07-07 10:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 10:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550465024001,"66":27767,"34":206,"87":10752,"24":26,"16":340882908514353152,"45":8952382028705417216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-07-07 10:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550465024001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:29:10] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-07 10:29:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340882908514353152,"km_value":340882908514353.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952382028705417216,"description":"Unknown IO ID 45"} 
[2026-07-07 10:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550465024001,"power":27767,"unknown_34":206,"unknown_87":10752,"ignition":26,"odometer":null,"unknown_45":8952382028705417216}} 
[2026-07-07 10:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":124372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:29:10] local.INFO: GPS data processed {"connection_id":124372,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:29:10] local.INFO: Acknowledgment sent {"connection_id":124372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:29:11] local.INFO: TCP Data received {"connection_id":126308,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:29:11] local.INFO: Processing buffer {"connection_id":126308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:29:11] local.INFO: Packet analysis {"connection_id":126308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:29:11] local.INFO: Extracted packet for processing {"connection_id":126308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:29:11] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550404096001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783400317000,"timestamp_ms":1783400317000,"timestamp_seconds":1783400317,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af14048"} 
[2026-07-07 10:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550404096001,"66":2220,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550404096001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:29:11] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:29:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550404096001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":126308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:29:11] local.INFO: GPS data processed {"connection_id":126308,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:29:11] local.INFO: Acknowledgment sent {"connection_id":126308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:29:27] local.INFO: TCP Data received {"connection_id":124373,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:29:27] local.INFO: Processing buffer {"connection_id":124373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:29:27] local.INFO: IMEI packet received {"connection_id":124373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":124373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:29:28] local.INFO: TCP Data received {"connection_id":124373,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:29:28] local.INFO: Processing buffer {"connection_id":124373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:29:28] local.INFO: IMEI packet received {"connection_id":124373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":124373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:29:31] local.INFO: TCP Data received {"connection_id":124373,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:29:31] local.INFO: Processing buffer {"connection_id":124373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:29:31] local.INFO: IMEI packet received {"connection_id":124373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":124373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:29:33] local.INFO: TCP Data received {"connection_id":124373,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af157b8012d181dc00721a718005201071e..."} 
[2026-07-07 10:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af157b8012d181dc00721a718005201071e..."} 
[2026-07-07 10:29:33] local.INFO: Processing buffer {"connection_id":124373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af157b8012d181dc00721a718005201071e..."} 
[2026-07-07 10:29:33] local.INFO: Packet analysis {"connection_id":124373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:29:33] local.INFO: Extracted packet for processing {"connection_id":124373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:29:33] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119645976,"longitude_deg":75.65552,"latitude_deg":11.9645976,"altitude":82,"angle":263,"satellites":30,"speed":7,"hex_longitude":"2d181dc0","hex_latitude":"0721a718","is_valid_coordinates":true} 
[2026-07-07 10:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550482432001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4745496480448512,"note":"Value kept but may cause issues"} 
[2026-07-07 10:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585139712,"note":"Value kept but may cause issues"} 
[2026-07-07 10:29: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-07-07 10:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783400323000,"timestamp_ms":1783400323000,"timestamp_seconds":1783400323,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af157b8"} 
[2026-07-07 10:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:29: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-07-07 10:29: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-07-07 10:29: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-07-07 10:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550482432001,"66":14048,"120":206,"28":31744,"24":7,"16":4745496480448512,"45":1737896905585139712},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 10:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550482432001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:29:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 10:29:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4745496480448512,"km_value":4745496480448.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585139712,"description":"Unknown IO ID 45"} 
[2026-07-07 10:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550482432001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1737896905585139712}} 
[2026-07-07 10:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":124373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:29:33] local.INFO: GPS data processed {"connection_id":124373,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:29:33] local.INFO: Acknowledgment sent {"connection_id":124373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:29:37] local.INFO: TCP Data received {"connection_id":124373,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af15ba0012d181cc00721a688005200ec1e..."} 
[2026-07-07 10:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af15ba0012d181cc00721a688005200ec1e..."} 
[2026-07-07 10:29:37] local.INFO: Processing buffer {"connection_id":124373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af15ba0012d181cc00721a688005200ec1e..."} 
[2026-07-07 10:29:37] local.INFO: Packet analysis {"connection_id":124373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:29:37] local.INFO: Extracted packet for processing {"connection_id":124373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119645832,"longitude_deg":75.6554944,"latitude_deg":11.9645832,"altitude":82,"angle":236,"satellites":30,"speed":10,"hex_longitude":"2d181cc0","hex_latitude":"0721a688","is_valid_coordinates":true} 
[2026-07-07 10:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550482688001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4745509365350400,"note":"Value kept but may cause issues"} 
[2026-07-07 10:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096782336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783400324000,"timestamp_ms":1783400324000,"timestamp_seconds":1783400324,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af15ba0"} 
[2026-07-07 10:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 10:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550482688001,"66":14428,"120":206,"28":31744,"24":10,"16":4745509365350400,"45":1737756168096782336},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 10:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550482688001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:29:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 10:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4745509365350400,"km_value":4745509365350.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096782336,"description":"Unknown IO ID 45"} 
[2026-07-07 10:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550482688001,"power":14428,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1737756168096782336}} 
[2026-07-07 10:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":124373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:29:37] local.INFO: GPS data processed {"connection_id":124373,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:29:37] local.INFO: Acknowledgment sent {"connection_id":124373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:29:41] local.INFO: TCP Data received {"connection_id":124373,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af15f88012d181bc00721a588005200db1e..."} 
[2026-07-07 10:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af15f88012d181bc00721a588005200db1e..."} 
[2026-07-07 10:29:41] local.INFO: Processing buffer {"connection_id":124373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af15f88012d181bc00721a588005200db1e..."} 
[2026-07-07 10:29:41] local.INFO: Packet analysis {"connection_id":124373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:29:41] local.INFO: Extracted packet for processing {"connection_id":124373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:29:41] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119645576,"longitude_deg":75.6554688,"latitude_deg":11.9645576,"altitude":82,"angle":219,"satellites":30,"speed":14,"hex_longitude":"2d181bc0","hex_latitude":"0721a588","is_valid_coordinates":true} 
[2026-07-07 10:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550482944001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4745526545219584,"note":"Value kept but may cause issues"} 
[2026-07-07 10:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120034816,"note":"Value kept but may cause issues"} 
[2026-07-07 10:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783400325000,"timestamp_ms":1783400325000,"timestamp_seconds":1783400325,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af15f88"} 
[2026-07-07 10:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 10:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550482944001,"66":14428,"120":206,"28":31744,"24":14,"16":4745526545219584,"45":1737474693120034816},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 10:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550482944001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:29:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 10:29:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4745526545219584,"km_value":4745526545219.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120034816,"description":"Unknown IO ID 45"} 
[2026-07-07 10:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550482944001,"power":14428,"unknown_120":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1737474693120034816}} 
[2026-07-07 10:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":124373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:29:41] local.INFO: GPS data processed {"connection_id":124373,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:29:41] local.INFO: Acknowledgment sent {"connection_id":124373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:29:56] local.INFO: TCP Data received {"connection_id":125074,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:29:56] local.INFO: Processing buffer {"connection_id":125074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:29:56] local.INFO: IMEI packet received {"connection_id":125074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":125074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:30:01] local.INFO: TCP Data received {"connection_id":125074,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:30:01] local.INFO: Processing buffer {"connection_id":125074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:30:01] local.INFO: IMEI packet received {"connection_id":125074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":125074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:30:02] local.INFO: TCP Data received {"connection_id":125074,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:30:02] local.INFO: Processing buffer {"connection_id":125074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:30:02] local.INFO: Packet analysis {"connection_id":125074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:30:02] local.INFO: Extracted packet for processing {"connection_id":125074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550404096001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783400317000,"timestamp_ms":1783400317000,"timestamp_seconds":1783400317,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af14048"} 
[2026-07-07 10:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550404096001,"66":2220,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550404096001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:30:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:30:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550404096001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":125074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:30:02] local.INFO: GPS data processed {"connection_id":125074,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:30:02] local.INFO: Acknowledgment sent {"connection_id":125074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:30:04] local.INFO: TCP Data received {"connection_id":126311,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:30:04] local.INFO: Processing buffer {"connection_id":126311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:30:04] local.INFO: IMEI packet received {"connection_id":126311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":126311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:30:10] local.INFO: TCP Data received {"connection_id":126311,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:30:10] local.INFO: Processing buffer {"connection_id":126311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:30:10] local.INFO: IMEI packet received {"connection_id":126311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":126311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:30:12] local.INFO: TCP Data received {"connection_id":126311,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af0c730012d7c188005fa5610000400d12c..."} 
[2026-07-07 10:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af0c730012d7c188005fa5610000400d12c..."} 
[2026-07-07 10:30:12] local.INFO: Processing buffer {"connection_id":126311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af0c730012d7c188005fa5610000400d12c..."} 
[2026-07-07 10:30:12] local.INFO: Packet analysis {"connection_id":126311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af0"} 
[2026-07-07 10:30:12] local.INFO: Extracted packet for processing {"connection_id":126311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af0"} 
[2026-07-07 10:30:12] local.INFO: GPS Element Parsed {"raw_longitude":763107456,"raw_latitude":100292112,"longitude_deg":76.3107456,"latitude_deg":10.0292112,"altitude":4,"angle":209,"satellites":44,"speed":21,"hex_longitude":"2d7c1880","hex_latitude":"05fa5610","is_valid_coordinates":true} 
[2026-07-07 10:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550469376001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340883368075853824,"note":"Value kept but may cause issues"} 
[2026-07-07 10:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947456216611004416,"note":"Value kept but may cause issues"} 
[2026-07-07 10:30:12] 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-07-07 10:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783400286000,"timestamp_ms":1783400286000,"timestamp_seconds":1783400286,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af0c730"} 
[2026-07-07 10:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:30: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-07-07 10:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 10:30: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-07-07 10:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550469376001,"66":27800,"34":206,"87":10752,"24":21,"16":340883368075853824,"45":8947456216611004416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-07-07 10:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550469376001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:30:12] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-07 10:30:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340883368075853824,"km_value":340883368075853.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947456216611004416,"description":"Unknown IO ID 45"} 
[2026-07-07 10:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550469376001,"power":27800,"unknown_34":206,"unknown_87":10752,"ignition":21,"odometer":null,"unknown_45":8947456216611004416}} 
[2026-07-07 10:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":126311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:30:12] local.INFO: GPS data processed {"connection_id":126311,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:30:12] local.INFO: Acknowledgment sent {"connection_id":126311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:30:13] local.INFO: TCP Data received {"connection_id":126311,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af0fde0012d7c064005fa36c0000400d32a..."} 
[2026-07-07 10:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af0fde0012d7c064005fa36c0000400d32a..."} 
[2026-07-07 10:30:13] local.INFO: Processing buffer {"connection_id":126311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af0fde0012d7c064005fa36c0000400d32a..."} 
[2026-07-07 10:30:13] local.INFO: Packet analysis {"connection_id":126311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af0"} 
[2026-07-07 10:30:13] local.INFO: Extracted packet for processing {"connection_id":126311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af0"} 
[2026-07-07 10:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763102784,"raw_latitude":100284096,"longitude_deg":76.3102784,"latitude_deg":10.0284096,"altitude":4,"angle":211,"satellites":42,"speed":31,"hex_longitude":"2d7c0640","hex_latitude":"05fa36c0","is_valid_coordinates":true} 
[2026-07-07 10:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550473216001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340883814752452608,"note":"Value kept but may cause issues"} 
[2026-07-07 10:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942037823307255808,"note":"Value kept but may cause issues"} 
[2026-07-07 10:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783400300000,"timestamp_ms":1783400300000,"timestamp_seconds":1783400300,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af0fde0"} 
[2026-07-07 10:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:30: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-07-07 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 10:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10: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-07-07 10:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550473216001,"66":27908,"35":206,"87":10752,"24":31,"16":340883814752452608,"45":8942037823307255808},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,87,24,16,45]} 
[2026-07-07 10:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550473216001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:30:13] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-07 10:30:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-07 10:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340883814752452608,"km_value":340883814752452.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942037823307255808,"description":"Unknown IO ID 45"} 
[2026-07-07 10:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550473216001,"power":27908,"unknown_35":206,"unknown_87":10752,"ignition":31,"odometer":null,"unknown_45":8942037823307255808}} 
[2026-07-07 10:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":126311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:30:13] local.INFO: GPS data processed {"connection_id":126311,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:30:13] local.INFO: Acknowledgment sent {"connection_id":126311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:30:22] local.INFO: TCP Data received {"connection_id":124374,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:30:22] local.INFO: Processing buffer {"connection_id":124374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:30:22] local.INFO: IMEI packet received {"connection_id":124374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":124374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:30:24] local.INFO: TCP Data received {"connection_id":124374,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:30:24] local.INFO: Processing buffer {"connection_id":124374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:30:24] local.INFO: IMEI packet received {"connection_id":124374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":124374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:30:25] local.INFO: TCP Data received {"connection_id":124374,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af19250012d18050007218930004d00e51e..."} 
[2026-07-07 10:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af19250012d18050007218930004d00e51e..."} 
[2026-07-07 10:30:25] local.INFO: Processing buffer {"connection_id":124374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af19250012d18050007218930004d00e51e..."} 
[2026-07-07 10:30:25] local.INFO: Packet analysis {"connection_id":124374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:30:25] local.INFO: Extracted packet for processing {"connection_id":124374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:30:25] local.INFO: GPS Element Parsed {"raw_longitude":756548864,"raw_latitude":119638320,"longitude_deg":75.6548864,"latitude_deg":11.963832,"altitude":77,"angle":229,"satellites":30,"speed":34,"hex_longitude":"2d180500","hex_latitude":"07218930","is_valid_coordinates":true} 
[2026-07-07 10:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550483200001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4745977516785664,"note":"Value kept but may cause issues"} 
[2026-07-07 10:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143258624,"note":"Value kept but may cause issues"} 
[2026-07-07 10:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783400338000,"timestamp_ms":1783400338000,"timestamp_seconds":1783400338,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af19250"} 
[2026-07-07 10:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 10:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":124374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":124374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":124374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550483200001,"66":14483,"120":206,"28":31744,"24":34,"16":4745977516785664,"45":1737193218143258624},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 10:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550483200001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:30:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 10:30:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4745977516785664,"km_value":4745977516785.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143258624,"description":"Unknown IO ID 45"} 
[2026-07-07 10:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550483200001,"power":14483,"unknown_120":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1737193218143258624}} 
[2026-07-07 10:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":124374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:30:25] local.INFO: GPS data processed {"connection_id":124374,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:30:25] local.INFO: Acknowledgment sent {"connection_id":124374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:30:33] local.INFO: TCP Data received {"connection_id":125074,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:30:34] local.INFO: Processing buffer {"connection_id":125074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:30:34] local.INFO: Packet analysis {"connection_id":125074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:30:34] local.INFO: Extracted packet for processing {"connection_id":125074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:30:34] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550404096001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783400317000,"timestamp_ms":1783400317000,"timestamp_seconds":1783400317,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af14048"} 
[2026-07-07 10:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:30: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-07-07 10:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550404096001,"66":2220,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550404096001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:30:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:30:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550404096001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":125074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:30:34] local.INFO: GPS data processed {"connection_id":125074,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:30:34] local.INFO: Acknowledgment sent {"connection_id":125074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:30:56] local.INFO: TCP Data received {"connection_id":124285,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:30:56] local.INFO: Processing buffer {"connection_id":124285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:30:56] local.INFO: IMEI packet received {"connection_id":124285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":124285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:30:57] local.INFO: TCP Data received {"connection_id":124374,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af1b578012d17edc007217388004b00d81e..."} 
[2026-07-07 10:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af1b578012d17edc007217388004b00d81e..."} 
[2026-07-07 10:30:57] local.INFO: Processing buffer {"connection_id":124374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af1b578012d17edc007217388004b00d81e..."} 
[2026-07-07 10:30:57] local.INFO: Packet analysis {"connection_id":124374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:30:57] local.INFO: Extracted packet for processing {"connection_id":124374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:30:57] local.INFO: GPS Element Parsed {"raw_longitude":756542912,"raw_latitude":119632776,"longitude_deg":75.6542912,"latitude_deg":11.9632776,"altitude":75,"angle":216,"satellites":30,"speed":38,"hex_longitude":"2d17edc0","hex_latitude":"07217388","is_valid_coordinates":true} 
[2026-07-07 10:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550486528001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4746368358809600,"note":"Value kept but may cause issues"} 
[2026-07-07 10:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1730789662421233664,"note":"Value kept but may cause issues"} 
[2026-07-07 10:30:57] 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-07-07 10:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783400347000,"timestamp_ms":1783400347000,"timestamp_seconds":1783400347,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af1b578"} 
[2026-07-07 10:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 10:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":124374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":124374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":124374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550486528001,"66":14135,"122":206,"28":31744,"24":38,"16":4746368358809600,"45":1730789662421233664},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 10:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550486528001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:30:57] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 10:30:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4746368358809600,"km_value":4746368358809.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1730789662421233664,"description":"Unknown IO ID 45"} 
[2026-07-07 10:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550486528001,"power":14135,"unknown_122":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1730789662421233664}} 
[2026-07-07 10:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":124374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:30:57] local.INFO: GPS data processed {"connection_id":124374,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:30:57] local.INFO: Acknowledgment sent {"connection_id":124374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:30:59] local.INFO: TCP Data received {"connection_id":124286,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:30:59] local.INFO: Processing buffer {"connection_id":124286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:30:59] local.INFO: IMEI packet received {"connection_id":124286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":124286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:31:01] local.INFO: TCP Data received {"connection_id":124285,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:31:01] local.INFO: Processing buffer {"connection_id":124285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:31:01] local.INFO: IMEI packet received {"connection_id":124285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":124285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:31:02] local.INFO: TCP Data received {"connection_id":124285,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:31:02] local.INFO: Processing buffer {"connection_id":124285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:31:02] local.INFO: Packet analysis {"connection_id":124285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:31:02] local.INFO: Extracted packet for processing {"connection_id":124285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550404096001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783400317000,"timestamp_ms":1783400317000,"timestamp_seconds":1783400317,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af14048"} 
[2026-07-07 10:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550404096001,"66":2220,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550404096001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:31:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:31:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550404096001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":124285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:31:02] local.INFO: GPS data processed {"connection_id":124285,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:31:02] local.INFO: Acknowledgment sent {"connection_id":124285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:31:03] local.INFO: TCP Data received {"connection_id":124286,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:31:03] local.INFO: Processing buffer {"connection_id":124286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:31:03] local.INFO: IMEI packet received {"connection_id":124286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":124286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:31:04] local.INFO: TCP Data received {"connection_id":124286,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af2a7a8012d7bfe4005f93470000c009a2e..."} 
[2026-07-07 10:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af2a7a8012d7bfe4005f93470000c009a2e..."} 
[2026-07-07 10:31:04] local.INFO: Processing buffer {"connection_id":124286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af2a7a8012d7bfe4005f93470000c009a2e..."} 
[2026-07-07 10:31:04] local.INFO: Packet analysis {"connection_id":124286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af2"} 
[2026-07-07 10:31:04] local.INFO: Extracted packet for processing {"connection_id":124286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af2"} 
[2026-07-07 10:31:04] local.INFO: GPS Element Parsed {"raw_longitude":763100736,"raw_latitude":100217968,"longitude_deg":76.3100736,"latitude_deg":10.0217968,"altitude":12,"angle":154,"satellites":46,"speed":42,"hex_longitude":"2d7bfe40","hex_latitude":"05f93470","is_valid_coordinates":true} 
[2026-07-07 10:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550502400001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340887551374000128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929512186826815488,"note":"Value kept but may cause issues"} 
[2026-07-07 10:31:04] 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-07-07 10:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783400409000,"timestamp_ms":1783400409000,"timestamp_seconds":1783400409,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af2a7a8"} 
[2026-07-07 10:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 10:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550502400001,"66":27865,"74":206,"87":12800,"24":42,"16":340887551374000128,"45":8929512186826815488},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-07-07 10:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550502400001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:31:04] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-07-07 10:31:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-07-07 10:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340887551374000128,"km_value":340887551374000.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929512186826815488,"description":"Unknown IO ID 45"} 
[2026-07-07 10:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550502400001,"power":27865,"unknown_74":206,"unknown_87":12800,"ignition":42,"odometer":null,"unknown_45":8929512186826815488}} 
[2026-07-07 10:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":124286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:31:04] local.INFO: GPS data processed {"connection_id":124286,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:31:04] local.INFO: Acknowledgment sent {"connection_id":124286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:31:22] local.INFO: TCP Data received {"connection_id":126312,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:31:22] local.INFO: Processing buffer {"connection_id":126312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:31:22] local.INFO: IMEI packet received {"connection_id":126312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":126312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:31:26] local.INFO: TCP Data received {"connection_id":126312,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:31:26] local.INFO: Processing buffer {"connection_id":126312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:31:26] local.INFO: IMEI packet received {"connection_id":126312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":126312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:31:27] local.INFO: TCP Data received {"connection_id":126312,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af33c18012d16c70007203c18002600de1e..."} 
[2026-07-07 10:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af33c18012d16c70007203c18002600de1e..."} 
[2026-07-07 10:31:27] local.INFO: Processing buffer {"connection_id":126312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af33c18012d16c70007203c18002600de1e..."} 
[2026-07-07 10:31:27] local.INFO: Packet analysis {"connection_id":126312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af3"} 
[2026-07-07 10:31:27] local.INFO: Extracted packet for processing {"connection_id":126312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af3"} 
[2026-07-07 10:31:27] local.INFO: GPS Element Parsed {"raw_longitude":756467456,"raw_latitude":119553048,"longitude_deg":75.6467456,"latitude_deg":11.9553048,"altitude":38,"angle":222,"satellites":30,"speed":43,"hex_longitude":"2d16c700","hex_latitude":"07203c18","is_valid_coordinates":true} 
[2026-07-07 10:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550512384001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4751676938387456,"note":"Value kept but may cause issues"} 
[2026-07-07 10:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1647895281759813632,"note":"Value kept but may cause issues"} 
[2026-07-07 10:31:27] 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-07-07 10:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783400447000,"timestamp_ms":1783400447000,"timestamp_seconds":1783400447,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af33c18"} 
[2026-07-07 10:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:31: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-07-07 10:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 10:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":126312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":126312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":126312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550512384001,"66":14363,"122":206,"28":31744,"24":43,"16":4751676938387456,"45":1647895281759813632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 10:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550512384001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:31:27] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 10:31:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4751676938387456,"km_value":4751676938387.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1647895281759813632,"description":"Unknown IO ID 45"} 
[2026-07-07 10:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550512384001,"power":14363,"unknown_122":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1647895281759813632}} 
[2026-07-07 10:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":126312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:31:28] local.INFO: GPS data processed {"connection_id":126312,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:31:28] local.INFO: Acknowledgment sent {"connection_id":126312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:31:34] local.INFO: TCP Data received {"connection_id":124285,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:31:34] local.INFO: Processing buffer {"connection_id":124285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:31:34] local.INFO: Packet analysis {"connection_id":124285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:31:34] local.INFO: Extracted packet for processing {"connection_id":124285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:31:34] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550404096001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783400317000,"timestamp_ms":1783400317000,"timestamp_seconds":1783400317,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af14048"} 
[2026-07-07 10:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:31: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-07-07 10:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550404096001,"66":2220,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550404096001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:31:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:31:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550404096001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":124285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:31:34] local.INFO: GPS data processed {"connection_id":124285,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:31:34] local.INFO: Acknowledgment sent {"connection_id":124285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:31:36] local.INFO: TCP Data received {"connection_id":124286,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af2c6e8012d7c0bc005f913f8000a00a02e..."} 
[2026-07-07 10:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af2c6e8012d7c0bc005f913f8000a00a02e..."} 
[2026-07-07 10:31:36] local.INFO: Processing buffer {"connection_id":124286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af2c6e8012d7c0bc005f913f8000a00a02e..."} 
[2026-07-07 10:31:36] local.INFO: Packet analysis {"connection_id":124286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af2"} 
[2026-07-07 10:31:36] local.INFO: Extracted packet for processing {"connection_id":124286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af2"} 
[2026-07-07 10:31:36] local.INFO: GPS Element Parsed {"raw_longitude":763104192,"raw_latitude":100209656,"longitude_deg":76.3104192,"latitude_deg":10.0209656,"altitude":10,"angle":160,"satellites":46,"speed":46,"hex_longitude":"2d7c0bc0","hex_latitude":"05f913f8","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550504704001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340887985165697024,"note":"Value kept but may cause issues"} 
[2026-07-07 10:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934649105149620224,"note":"Value kept but may cause issues"} 
[2026-07-07 10:31:36] 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-07-07 10:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783400417000,"timestamp_ms":1783400417000,"timestamp_seconds":1783400417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af2c6e8"} 
[2026-07-07 10:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:31: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-07-07 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 10:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550504704001,"66":27908,"74":206,"87":12800,"24":46,"16":340887985165697024,"45":8934649105149620224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-07-07 10:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550504704001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:31:36] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-07-07 10:31:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-07-07 10:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340887985165697024,"km_value":340887985165697.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934649105149620224,"description":"Unknown IO ID 45"} 
[2026-07-07 10:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550504704001,"power":27908,"unknown_74":206,"unknown_87":12800,"ignition":46,"odometer":null,"unknown_45":8934649105149620224}} 
[2026-07-07 10:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":124286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:31:36] local.INFO: GPS data processed {"connection_id":124286,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:31:36] local.INFO: Acknowledgment sent {"connection_id":124286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:31:55] local.INFO: TCP Data received {"connection_id":125076,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:31:55] local.INFO: Processing buffer {"connection_id":125076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:31:55] local.INFO: IMEI packet received {"connection_id":125076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":125076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:31:59] local.INFO: TCP Data received {"connection_id":126312,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af35f40012d16ac0007202408002a00eb1e..."} 
[2026-07-07 10:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af35f40012d16ac0007202408002a00eb1e..."} 
[2026-07-07 10:31:59] local.INFO: Processing buffer {"connection_id":126312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af35f40012d16ac0007202408002a00eb1e..."} 
[2026-07-07 10:31:59] local.INFO: Packet analysis {"connection_id":126312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af3"} 
[2026-07-07 10:31:59] local.INFO: Extracted packet for processing {"connection_id":126312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af3"} 
[2026-07-07 10:31:59] local.INFO: GPS Element Parsed {"raw_longitude":756460544,"raw_latitude":119546888,"longitude_deg":75.6460544,"latitude_deg":11.9546888,"altitude":42,"angle":235,"satellites":30,"speed":40,"hex_longitude":"2d16ac00","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-07-07 10:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550514432001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4752119320018944,"note":"Value kept but may cause issues"} 
[2026-07-07 10:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1641280619805415424,"note":"Value kept but may cause issues"} 
[2026-07-07 10:31:59] 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-07-07 10:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783400456000,"timestamp_ms":1783400456000,"timestamp_seconds":1783400456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af35f40"} 
[2026-07-07 10:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:31: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-07-07 10:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-07 10:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":126312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":126312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":126312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550514432001,"66":14765,"122":206,"28":31744,"24":40,"16":4752119320018944,"45":1641280619805415424},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 10:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550514432001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:31:59] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 10:31:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4752119320018944,"km_value":4752119320018.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1641280619805415424,"description":"Unknown IO ID 45"} 
[2026-07-07 10:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550514432001,"power":14765,"unknown_122":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1641280619805415424}} 
[2026-07-07 10:32:00] local.INFO: TCP Data received {"connection_id":124375,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:32:00] local.INFO: Processing buffer {"connection_id":124375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:32:00] local.INFO: IMEI packet received {"connection_id":124375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":124375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":126312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:32:00] local.INFO: GPS data processed {"connection_id":126312,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:32:00] local.INFO: Acknowledgment sent {"connection_id":126312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:32:00] local.INFO: TCP Data received {"connection_id":124375,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:32:00] local.INFO: Processing buffer {"connection_id":124375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:32:00] local.INFO: IMEI packet received {"connection_id":124375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":124375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:32:01] local.INFO: TCP Data received {"connection_id":125076,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:32:01] local.INFO: Processing buffer {"connection_id":125076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:32:01] local.INFO: IMEI packet received {"connection_id":125076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":125076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:32:03] local.INFO: TCP Data received {"connection_id":125076,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:32:03] local.INFO: Processing buffer {"connection_id":125076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:32:03] local.INFO: Packet analysis {"connection_id":125076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:32:03] local.INFO: Extracted packet for processing {"connection_id":125076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:32:03] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550404096001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783400317000,"timestamp_ms":1783400317000,"timestamp_seconds":1783400317,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af14048"} 
[2026-07-07 10:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550404096001,"66":2220,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550404096001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:32:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:32:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550404096001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":125076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:32:03] local.INFO: GPS data processed {"connection_id":125076,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:32:03] local.INFO: Acknowledgment sent {"connection_id":125076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:32:04] local.INFO: TCP Data received {"connection_id":124375,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:32:04] local.INFO: Processing buffer {"connection_id":124375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:32:04] local.INFO: IMEI packet received {"connection_id":124375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":124375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:32:05] local.INFO: TCP Data received {"connection_id":124375,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af2e628012d7c150005f8f270000a00a72d..."} 
[2026-07-07 10:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af2e628012d7c150005f8f270000a00a72d..."} 
[2026-07-07 10:32:05] local.INFO: Processing buffer {"connection_id":124375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af2e628012d7c150005f8f270000a00a72d..."} 
[2026-07-07 10:32:05] local.INFO: Packet analysis {"connection_id":124375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af2"} 
[2026-07-07 10:32:05] local.INFO: Extracted packet for processing {"connection_id":124375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af2"} 
[2026-07-07 10:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763106560,"raw_latitude":100201072,"longitude_deg":76.310656,"latitude_deg":10.0201072,"altitude":10,"angle":167,"satellites":45,"speed":38,"hex_longitude":"2d7c1500","hex_latitude":"05f8f270","is_valid_coordinates":true} 
[2026-07-07 10:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550506752001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340888418957393920,"note":"Value kept but may cause issues"} 
[2026-07-07 10:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938449017333086208,"note":"Value kept but may cause issues"} 
[2026-07-07 10:32:05] 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-07-07 10:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783400425000,"timestamp_ms":1783400425000,"timestamp_seconds":1783400425,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af2e628"} 
[2026-07-07 10:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 10:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550506752001,"66":27517,"74":206,"87":12800,"24":38,"16":340888418957393920,"45":8938449017333086208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-07-07 10:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550506752001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:32:05] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-07-07 10:32:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-07-07 10:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340888418957393920,"km_value":340888418957393.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938449017333086208,"description":"Unknown IO ID 45"} 
[2026-07-07 10:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550506752001,"power":27517,"unknown_74":206,"unknown_87":12800,"ignition":38,"odometer":null,"unknown_45":8938449017333086208}} 
[2026-07-07 10:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":124375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:32:05] local.INFO: GPS data processed {"connection_id":124375,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:32:05] local.INFO: Acknowledgment sent {"connection_id":124375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:32:21] local.INFO: TCP Data received {"connection_id":124287,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:32:21] local.INFO: Processing buffer {"connection_id":124287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:32:21] local.INFO: IMEI packet received {"connection_id":124287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":124287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:32:27] local.INFO: TCP Data received {"connection_id":124287,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:32:27] local.INFO: Processing buffer {"connection_id":124287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:32:27] local.INFO: IMEI packet received {"connection_id":124287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":124287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:32:28] local.INFO: TCP Data received {"connection_id":124287,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af35f40012d16ac0007202408002a00eb1e..."} 
[2026-07-07 10:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af35f40012d16ac0007202408002a00eb1e..."} 
[2026-07-07 10:32:28] local.INFO: Processing buffer {"connection_id":124287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af35f40012d16ac0007202408002a00eb1e..."} 
[2026-07-07 10:32:28] local.INFO: Packet analysis {"connection_id":124287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af3"} 
[2026-07-07 10:32:28] local.INFO: Extracted packet for processing {"connection_id":124287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af3"} 
[2026-07-07 10:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756460544,"raw_latitude":119546888,"longitude_deg":75.6460544,"latitude_deg":11.9546888,"altitude":42,"angle":235,"satellites":30,"speed":40,"hex_longitude":"2d16ac00","hex_latitude":"07202408","is_valid_coordinates":true} 
[2026-07-07 10:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550516736001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4752119320018944,"note":"Value kept but may cause issues"} 
[2026-07-07 10:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1633680795432650752,"note":"Value kept but may cause issues"} 
[2026-07-07 10:32:28] 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-07-07 10:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783400456000,"timestamp_ms":1783400456000,"timestamp_seconds":1783400456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af35f40"} 
[2026-07-07 10:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 10:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2040,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550516736001,"66":14765,"122":206,"28":31744,"24":40,"16":4752119320018944,"45":1633680795432650752},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 10:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550516736001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:32:28] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 10:32:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4752119320018944,"km_value":4752119320018.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1633680795432650752,"description":"Unknown IO ID 45"} 
[2026-07-07 10:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550516736001,"power":14765,"unknown_122":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1633680795432650752}} 
[2026-07-07 10:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":124287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:32:29] local.INFO: GPS data processed {"connection_id":124287,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:32:29] local.INFO: Acknowledgment sent {"connection_id":124287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:32:35] local.INFO: TCP Data received {"connection_id":125076,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:32:35] local.INFO: Processing buffer {"connection_id":125076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:32:35] local.INFO: Packet analysis {"connection_id":125076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:32:35] local.INFO: Extracted packet for processing {"connection_id":125076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:32:35] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550404096001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783400317000,"timestamp_ms":1783400317000,"timestamp_seconds":1783400317,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af14048"} 
[2026-07-07 10:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550404096001,"66":2220,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550404096001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:32:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:32:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550404096001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":125076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:32:35] local.INFO: GPS data processed {"connection_id":125076,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:32:35] local.INFO: Acknowledgment sent {"connection_id":125076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:32:37] local.INFO: TCP Data received {"connection_id":124375,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af32890012d7c1dc005f8d0d0000b009b2d..."} 
[2026-07-07 10:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af32890012d7c1dc005f8d0d0000b009b2d..."} 
[2026-07-07 10:32:37] local.INFO: Processing buffer {"connection_id":124375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af32890012d7c1dc005f8d0d0000b009b2d..."} 
[2026-07-07 10:32:37] local.INFO: Packet analysis {"connection_id":124375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af3"} 
[2026-07-07 10:32:37] local.INFO: Extracted packet for processing {"connection_id":124375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af3"} 
[2026-07-07 10:32:37] local.INFO: GPS Element Parsed {"raw_longitude":763108800,"raw_latitude":100192464,"longitude_deg":76.31088,"latitude_deg":10.0192464,"altitude":11,"angle":155,"satellites":45,"speed":11,"hex_longitude":"2d7c1dc0","hex_latitude":"05f8d0d0","is_valid_coordinates":true} 
[2026-07-07 10:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550508800001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340888848454123520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941052660865462272,"note":"Value kept but may cause issues"} 
[2026-07-07 10:32:37] 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-07-07 10:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783400442000,"timestamp_ms":1783400442000,"timestamp_seconds":1783400442,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af32890"} 
[2026-07-07 10:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 10:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550508800001,"66":27658,"74":206,"87":12800,"24":11,"16":340888848454123520,"45":8941052660865462272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-07-07 10:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550508800001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:32:37] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-07-07 10:32:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-07-07 10:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340888848454123520,"km_value":340888848454123.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941052660865462272,"description":"Unknown IO ID 45"} 
[2026-07-07 10:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550508800001,"power":27658,"unknown_74":206,"unknown_87":12800,"ignition":11,"odometer":null,"unknown_45":8941052660865462272}} 
[2026-07-07 10:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":124375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:32:37] local.INFO: GPS data processed {"connection_id":124375,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:32:37] local.INFO: Acknowledgment sent {"connection_id":124375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:32:55] local.INFO: TCP Data received {"connection_id":126313,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:32:55] local.INFO: Processing buffer {"connection_id":126313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:32:55] local.INFO: IMEI packet received {"connection_id":126313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":126313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:32:59] local.INFO: TCP Data received {"connection_id":126315,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:32:59] local.INFO: Processing buffer {"connection_id":126315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:32:59] local.INFO: IMEI packet received {"connection_id":126315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":126315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:33:01] local.INFO: TCP Data received {"connection_id":124287,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af4ca88012d153b80071fc550002c01031f..."} 
[2026-07-07 10:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af4ca88012d153b80071fc550002c01031f..."} 
[2026-07-07 10:33:01] local.INFO: Processing buffer {"connection_id":124287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af4ca88012d153b80071fc550002c01031f..."} 
[2026-07-07 10:33:01] local.INFO: Packet analysis {"connection_id":124287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af4"} 
[2026-07-07 10:33:01] local.INFO: Extracted packet for processing {"connection_id":124287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af4"} 
[2026-07-07 10:33:01] local.INFO: GPS Element Parsed {"raw_longitude":756366208,"raw_latitude":119522640,"longitude_deg":75.6366208,"latitude_deg":11.952264,"altitude":44,"angle":259,"satellites":31,"speed":40,"hex_longitude":"2d153b80","hex_latitude":"071fc550","is_valid_coordinates":true} 
[2026-07-07 10:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550539264001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4756822309208064,"note":"Value kept but may cause issues"} 
[2026-07-07 10:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1535657134787008512,"note":"Value kept but may cause issues"} 
[2026-07-07 10:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783400549000,"timestamp_ms":1783400549000,"timestamp_seconds":1783400549,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af4ca88"} 
[2026-07-07 10:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:33: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":58,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-07 10:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1109,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550539264001,"66":14972,"132":206,"28":31744,"24":40,"16":4756822309208064,"45":1535657134787008512},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,28,24,16,45]} 
[2026-07-07 10:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550539264001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:33:01] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-07-07 10:33:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4756822309208064,"km_value":4756822309208.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1535657134787008512,"description":"Unknown IO ID 45"} 
[2026-07-07 10:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550539264001,"power":14972,"unknown_132":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1535657134787008512}} 
[2026-07-07 10:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":124287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:33:01] local.INFO: GPS data processed {"connection_id":124287,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:33:01] local.INFO: Acknowledgment sent {"connection_id":124287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:33:01] local.INFO: TCP Data received {"connection_id":126313,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:33:01] local.INFO: Processing buffer {"connection_id":126313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:33:01] local.INFO: IMEI packet received {"connection_id":126313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":126313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:33:02] local.INFO: TCP Data received {"connection_id":126313,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:33:02] local.INFO: Processing buffer {"connection_id":126313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:33:02] local.INFO: Packet analysis {"connection_id":126313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:33:02] local.INFO: Extracted packet for processing {"connection_id":126313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550404096001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783400317000,"timestamp_ms":1783400317000,"timestamp_seconds":1783400317,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af14048"} 
[2026-07-07 10:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550404096001,"66":2220,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550404096001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:33:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:33:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550404096001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":126313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:33:02] local.INFO: GPS data processed {"connection_id":126313,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:33:02] local.INFO: Acknowledgment sent {"connection_id":126313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:33:03] local.INFO: TCP Data received {"connection_id":126315,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:33:03] local.INFO: Processing buffer {"connection_id":126315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:33:03] local.INFO: IMEI packet received {"connection_id":126315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":126315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:33:04] local.INFO: TCP Data received {"connection_id":126315,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af32890012d7c1dc005f8d0d0000b009b2d..."} 
[2026-07-07 10:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af32890012d7c1dc005f8d0d0000b009b2d..."} 
[2026-07-07 10:33:04] local.INFO: Processing buffer {"connection_id":126315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af32890012d7c1dc005f8d0d0000b009b2d..."} 
[2026-07-07 10:33:04] local.INFO: Packet analysis {"connection_id":126315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af3"} 
[2026-07-07 10:33:04] local.INFO: Extracted packet for processing {"connection_id":126315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af3"} 
[2026-07-07 10:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763108800,"raw_latitude":100192464,"longitude_deg":76.31088,"latitude_deg":10.0192464,"altitude":11,"angle":155,"satellites":45,"speed":11,"hex_longitude":"2d7c1dc0","hex_latitude":"05f8d0d0","is_valid_coordinates":true} 
[2026-07-07 10:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550513152001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340888848454123520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943515566909476864,"note":"Value kept but may cause issues"} 
[2026-07-07 10:33:04] 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-07-07 10:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783400442000,"timestamp_ms":1783400442000,"timestamp_seconds":1783400442,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af32890"} 
[2026-07-07 10:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 10:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550513152001,"66":27658,"74":206,"87":12800,"24":11,"16":340888848454123520,"45":8943515566909476864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-07-07 10:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550513152001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:33:04] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-07-07 10:33:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-07-07 10:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340888848454123520,"km_value":340888848454123.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943515566909476864,"description":"Unknown IO ID 45"} 
[2026-07-07 10:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550513152001,"power":27658,"unknown_74":206,"unknown_87":12800,"ignition":11,"odometer":null,"unknown_45":8943515566909476864}} 
[2026-07-07 10:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":126315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:33:04] local.INFO: GPS data processed {"connection_id":126315,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:33:04] local.INFO: Acknowledgment sent {"connection_id":126315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:33:22] local.INFO: TCP Data received {"connection_id":125077,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:33:22] local.INFO: Processing buffer {"connection_id":125077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:33:22] local.INFO: IMEI packet received {"connection_id":125077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":125077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:33:27] local.INFO: TCP Data received {"connection_id":125077,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:33:27] local.INFO: Processing buffer {"connection_id":125077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:33:27] local.INFO: IMEI packet received {"connection_id":125077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":125077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:33:29] local.INFO: TCP Data received {"connection_id":125077,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af4d640012d152fc0071fc1d8002d00f71f..."} 
[2026-07-07 10:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af4d640012d152fc0071fc1d8002d00f71f..."} 
[2026-07-07 10:33:29] local.INFO: Processing buffer {"connection_id":125077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af4d640012d152fc0071fc1d8002d00f71f..."} 
[2026-07-07 10:33:29] local.INFO: Packet analysis {"connection_id":125077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af4"} 
[2026-07-07 10:33:29] local.INFO: Extracted packet for processing {"connection_id":125077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af4"} 
[2026-07-07 10:33:29] local.INFO: GPS Element Parsed {"raw_longitude":756363200,"raw_latitude":119521752,"longitude_deg":75.63632,"latitude_deg":11.9521752,"altitude":45,"angle":247,"satellites":31,"speed":39,"hex_longitude":"2d152fc0","hex_latitude":"071fc1d8","is_valid_coordinates":true} 
[2026-07-07 10:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550540544001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4756972633063424,"note":"Value kept but may cause issues"} 
[2026-07-07 10:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1529957266508566528,"note":"Value kept but may cause issues"} 
[2026-07-07 10:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783400552000,"timestamp_ms":1783400552000,"timestamp_seconds":1783400552,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af4d640"} 
[2026-07-07 10:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:33: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":58,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 10:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1604,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550540544001,"66":14157,"132":206,"28":31744,"24":39,"16":4756972633063424,"45":1529957266508566528},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,28,24,16,45]} 
[2026-07-07 10:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550540544001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:33:29] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-07-07 10:33:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4756972633063424,"km_value":4756972633063.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1529957266508566528,"description":"Unknown IO ID 45"} 
[2026-07-07 10:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550540544001,"power":14157,"unknown_132":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1529957266508566528}} 
[2026-07-07 10:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":125077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:33:29] local.INFO: GPS data processed {"connection_id":125077,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:33:29] local.INFO: Acknowledgment sent {"connection_id":125077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:33:33] local.INFO: TCP Data received {"connection_id":126313,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:33:33] local.INFO: Processing buffer {"connection_id":126313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af14048012d7d0a8005ec3c680011005727..."} 
[2026-07-07 10:33:33] local.INFO: Packet analysis {"connection_id":126313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:33:33] local.INFO: Extracted packet for processing {"connection_id":126313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af1"} 
[2026-07-07 10:33:33] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550404096001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783400317000,"timestamp_ms":1783400317000,"timestamp_seconds":1783400317,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af14048"} 
[2026-07-07 10:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 10:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550404096001,"66":2220,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550404096001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:33:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:33:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550404096001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":126313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:33:33] local.INFO: GPS data processed {"connection_id":126313,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:33:33] local.INFO: Acknowledgment sent {"connection_id":126313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:33:42] local.INFO: TCP Data received {"connection_id":126315,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af33060012d7c1ec005f8ce98000b00a62e..."} 
[2026-07-07 10:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af33060012d7c1ec005f8ce98000b00a62e..."} 
[2026-07-07 10:33:42] local.INFO: Processing buffer {"connection_id":126315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af33060012d7c1ec005f8ce98000b00a62e..."} 
[2026-07-07 10:33:42] local.INFO: Packet analysis {"connection_id":126315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af3"} 
[2026-07-07 10:33:42] local.INFO: Extracted packet for processing {"connection_id":126315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af3"} 
[2026-07-07 10:33:42] local.INFO: GPS Element Parsed {"raw_longitude":763109056,"raw_latitude":100191896,"longitude_deg":76.3109056,"latitude_deg":10.0191896,"altitude":11,"angle":166,"satellites":46,"speed":12,"hex_longitude":"2d7c1ec0","hex_latitude":"05f8ce98","is_valid_coordinates":true} 
[2026-07-07 10:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550513152001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340888878518894592,"note":"Value kept but may cause issues"} 
[2026-07-07 10:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943515566909476864,"note":"Value kept but may cause issues"} 
[2026-07-07 10:33:42] 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-07-07 10:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783400444000,"timestamp_ms":1783400444000,"timestamp_seconds":1783400444,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af33060"} 
[2026-07-07 10:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:33: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-07-07 10:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 10:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550513152001,"66":27843,"74":206,"87":12800,"24":12,"16":340888878518894592,"45":8943515566909476864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-07-07 10:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550513152001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:33:42] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-07-07 10:33:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-07-07 10:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340888878518894592,"km_value":340888878518894.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943515566909476864,"description":"Unknown IO ID 45"} 
[2026-07-07 10:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550513152001,"power":27843,"unknown_74":206,"unknown_87":12800,"ignition":12,"odometer":null,"unknown_45":8943515566909476864}} 
[2026-07-07 10:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":126315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:33:42] local.INFO: GPS data processed {"connection_id":126315,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:33:42] local.INFO: Acknowledgment sent {"connection_id":126315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:33:59] local.INFO: TCP Data received {"connection_id":124378,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:33:59] local.INFO: Processing buffer {"connection_id":124378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:33:59] local.INFO: IMEI packet received {"connection_id":124378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":124378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:34:01] local.INFO: TCP Data received {"connection_id":124377,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:34:01] local.INFO: Processing buffer {"connection_id":124377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:34:01] local.INFO: IMEI packet received {"connection_id":124377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":124377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:34:01] local.INFO: TCP Data received {"connection_id":125077,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af4e1f8012d152580071fbc30002e00ea1f..."} 
[2026-07-07 10:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af4e1f8012d152580071fbc30002e00ea1f..."} 
[2026-07-07 10:34:01] local.INFO: Processing buffer {"connection_id":125077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af4e1f8012d152580071fbc30002e00ea1f..."} 
[2026-07-07 10:34:01] local.INFO: Packet analysis {"connection_id":125077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af4"} 
[2026-07-07 10:34:01] local.INFO: Extracted packet for processing {"connection_id":125077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af4"} 
[2026-07-07 10:34:01] local.INFO: GPS Element Parsed {"raw_longitude":756360576,"raw_latitude":119520304,"longitude_deg":75.6360576,"latitude_deg":11.9520304,"altitude":46,"angle":234,"satellites":31,"speed":39,"hex_longitude":"2d152580","hex_latitude":"071fbc30","is_valid_coordinates":true} 
[2026-07-07 10:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550541312001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4757114366984192,"note":"Value kept but may cause issues"} 
[2026-07-07 10:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1526649935531988992,"note":"Value kept but may cause issues"} 
[2026-07-07 10:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783400555000,"timestamp_ms":1783400555000,"timestamp_seconds":1783400555,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af4e1f8"} 
[2026-07-07 10:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:34: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":77,"data_length":795,"current_offset":136} 
[2026-07-07 10:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550541312001,"66":14102,"132":206,"28":31744,"24":39,"16":4757114366984192,"45":1526649935531988992},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,28,24,16,45]} 
[2026-07-07 10:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550541312001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:34:01] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-07-07 10:34:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4757114366984192,"km_value":4757114366984.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1526649935531988992,"description":"Unknown IO ID 45"} 
[2026-07-07 10:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550541312001,"power":14102,"unknown_132":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1526649935531988992}} 
[2026-07-07 10:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":125077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:34:01] local.INFO: GPS data processed {"connection_id":125077,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:34:01] local.INFO: Acknowledgment sent {"connection_id":125077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:34:03] local.INFO: TCP Data received {"connection_id":124378,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:34:03] local.INFO: Processing buffer {"connection_id":124378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:34:03] local.INFO: IMEI packet received {"connection_id":124378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":124378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:34:04] local.INFO: TCP Data received {"connection_id":124378,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af52078012d7c3f0005f7e630000c00ab2c..."} 
[2026-07-07 10:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af52078012d7c3f0005f7e630000c00ab2c..."} 
[2026-07-07 10:34:04] local.INFO: Processing buffer {"connection_id":124378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af52078012d7c3f0005f7e630000c00ab2c..."} 
[2026-07-07 10:34:04] local.INFO: Packet analysis {"connection_id":124378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:34:04] local.INFO: Extracted packet for processing {"connection_id":124378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:34:04] local.INFO: GPS Element Parsed {"raw_longitude":763117312,"raw_latitude":100132400,"longitude_deg":76.3117312,"latitude_deg":10.01324,"altitude":12,"angle":171,"satellites":44,"speed":43,"hex_longitude":"2d7c3f00","hex_latitude":"05f7e630","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550543872001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340891811981557760,"note":"Value kept but may cause issues"} 
[2026-07-07 10:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951326497500274688,"note":"Value kept but may cause issues"} 
[2026-07-07 10:34:04] 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-07-07 10:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783400571000,"timestamp_ms":1783400571000,"timestamp_seconds":1783400571,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af52078"} 
[2026-07-07 10:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 10:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550543872001,"66":27865,"142":206,"87":12800,"24":43,"16":340891811981557760,"45":8951326497500274688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-07-07 10:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550543872001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:34:04] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-07 10:34:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-07-07 10:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340891811981557760,"km_value":340891811981557.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951326497500274688,"description":"Unknown IO ID 45"} 
[2026-07-07 10:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550543872001,"power":27865,"unknown_142":206,"unknown_87":12800,"ignition":43,"odometer":null,"unknown_45":8951326497500274688}} 
[2026-07-07 10:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":124378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:34:04] local.INFO: GPS data processed {"connection_id":124378,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:34:04] local.INFO: Acknowledgment sent {"connection_id":124378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:34:06] local.INFO: TCP Data received {"connection_id":124377,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:34:06] local.INFO: Processing buffer {"connection_id":124377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:34:06] local.INFO: IMEI packet received {"connection_id":124377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":124377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:34:07] local.INFO: TCP Data received {"connection_id":124377,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:34:07] local.INFO: Processing buffer {"connection_id":124377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:34:07] local.INFO: Packet analysis {"connection_id":124377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:34:07] local.INFO: Extracted packet for processing {"connection_id":124377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:34:07] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":35,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550481152001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783400618000,"timestamp_ms":1783400618000,"timestamp_seconds":1783400618,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af5d810"} 
[2026-07-07 10:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-07 10:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550481152001,"66":2242,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550481152001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:34:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:34:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550481152001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":124377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:34:07] local.INFO: GPS data processed {"connection_id":124377,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:34:07] local.INFO: Acknowledgment sent {"connection_id":124377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:34:14] local.INFO: TCP Data received {"connection_id":124379,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:34:14] local.INFO: Processing buffer {"connection_id":124379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:34:14] local.INFO: IMEI packet received {"connection_id":124379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 10:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":124379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:34:21] local.INFO: TCP Data received {"connection_id":126316,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:34:21] local.INFO: Processing buffer {"connection_id":126316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:34:21] local.INFO: IMEI packet received {"connection_id":126316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":126316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:34:24] local.INFO: TCP Data received {"connection_id":126316,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:34:24] local.INFO: Processing buffer {"connection_id":126316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:34:24] local.INFO: IMEI packet received {"connection_id":126316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":126316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:34:27] local.INFO: TCP Data received {"connection_id":126316,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:34:27] local.INFO: Processing buffer {"connection_id":126316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:34:27] local.INFO: IMEI packet received {"connection_id":126316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":126316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:34:28] local.INFO: TCP Data received {"connection_id":126316,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af50908012d150840071fa368003200ea20..."} 
[2026-07-07 10:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af50908012d150840071fa368003200ea20..."} 
[2026-07-07 10:34:28] local.INFO: Processing buffer {"connection_id":126316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af50908012d150840071fa368003200ea20..."} 
[2026-07-07 10:34:28] local.INFO: Packet analysis {"connection_id":126316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:34:28] local.INFO: Extracted packet for processing {"connection_id":126316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:34:28] local.INFO: GPS Element Parsed {"raw_longitude":756353088,"raw_latitude":119513960,"longitude_deg":75.6353088,"latitude_deg":11.951396,"altitude":50,"angle":234,"satellites":32,"speed":38,"hex_longitude":"2d150840","hex_latitude":"071fa368","is_valid_coordinates":true} 
[2026-07-07 10:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550542080001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4757586813386752,"note":"Value kept but may cause issues"} 
[2026-07-07 10:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1523764817020334080,"note":"Value kept but may cause issues"} 
[2026-07-07 10:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783400565000,"timestamp_ms":1783400565000,"timestamp_seconds":1783400565,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af50908"} 
[2026-07-07 10:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-07 10:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550542080001,"66":14298,"133":206,"28":31744,"24":38,"16":4757586813386752,"45":1523764817020334080},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-07-07 10:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550542080001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:34:28] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-07 10:34:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4757586813386752,"km_value":4757586813386.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1523764817020334080,"description":"Unknown IO ID 45"} 
[2026-07-07 10:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550542080001,"power":14298,"unknown_133":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1523764817020334080}} 
[2026-07-07 10:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":126316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:34:28] local.INFO: GPS data processed {"connection_id":126316,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:34:28] local.INFO: Acknowledgment sent {"connection_id":126316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:34:36] local.INFO: TCP Data received {"connection_id":124378,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af543a0012d7c450005f7c1a0000b00ab2e..."} 
[2026-07-07 10:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af543a0012d7c450005f7c1a0000b00ab2e..."} 
[2026-07-07 10:34:36] local.INFO: Processing buffer {"connection_id":124378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af543a0012d7c450005f7c1a0000b00ab2e..."} 
[2026-07-07 10:34:36] local.INFO: Packet analysis {"connection_id":124378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:34:36] local.INFO: Extracted packet for processing {"connection_id":124378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:34:36] local.INFO: GPS Element Parsed {"raw_longitude":763118848,"raw_latitude":100123040,"longitude_deg":76.3118848,"latitude_deg":10.012304,"altitude":11,"angle":171,"satellites":46,"speed":39,"hex_longitude":"2d7c4500","hex_latitude":"05f7c1a0","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550546176001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340892271543058432,"note":"Value kept but may cause issues"} 
[2026-07-07 10:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952874609869729792,"note":"Value kept but may cause issues"} 
[2026-07-07 10:34:36] 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-07-07 10:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783400580000,"timestamp_ms":1783400580000,"timestamp_seconds":1783400580,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af543a0"} 
[2026-07-07 10:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 10:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550546176001,"66":27865,"142":206,"87":12800,"24":39,"16":340892271543058432,"45":8952874609869729792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-07-07 10:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550546176001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:34:36] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-07 10:34:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-07-07 10:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340892271543058432,"km_value":340892271543058.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952874609869729792,"description":"Unknown IO ID 45"} 
[2026-07-07 10:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550546176001,"power":27865,"unknown_142":206,"unknown_87":12800,"ignition":39,"odometer":null,"unknown_45":8952874609869729792}} 
[2026-07-07 10:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":124378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:34:36] local.INFO: GPS data processed {"connection_id":124378,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:34:36] local.INFO: Acknowledgment sent {"connection_id":124378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:34:38] local.INFO: TCP Data received {"connection_id":124377,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:34:38] local.INFO: Processing buffer {"connection_id":124377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:34:38] local.INFO: Packet analysis {"connection_id":124377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:34:38] local.INFO: Extracted packet for processing {"connection_id":124377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:34:38] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":35,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550481152001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783400618000,"timestamp_ms":1783400618000,"timestamp_seconds":1783400618,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af5d810"} 
[2026-07-07 10:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-07 10:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550481152001,"66":2242,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550481152001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:34:38] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:34:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550481152001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":124377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:34:38] local.INFO: GPS data processed {"connection_id":124377,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:34:38] local.INFO: Acknowledgment sent {"connection_id":124377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:34:56] local.INFO: TCP Data received {"connection_id":125078,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:34:56] local.INFO: Processing buffer {"connection_id":125078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:34:56] local.INFO: IMEI packet received {"connection_id":125078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":125078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:34:59] local.INFO: TCP Data received {"connection_id":125079,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:34:59] local.INFO: Processing buffer {"connection_id":125079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:34:59] local.INFO: IMEI packet received {"connection_id":125079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":125079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:34:59] local.INFO: TCP Data received {"connection_id":125080,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125080,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:34:59] local.INFO: Processing buffer {"connection_id":125080,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:34:59] local.INFO: IMEI packet received {"connection_id":125080,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 10:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":125080,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:35:01] local.INFO: TCP Data received {"connection_id":125078,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:35:01] local.INFO: Processing buffer {"connection_id":125078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:35:01] local.INFO: IMEI packet received {"connection_id":125078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":125078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:35:03] local.INFO: TCP Data received {"connection_id":125078,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:35:03] local.INFO: Processing buffer {"connection_id":125078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:35:03] local.INFO: Packet analysis {"connection_id":125078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:35:03] local.INFO: Extracted packet for processing {"connection_id":125078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:35:03] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":35,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550481152001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783400618000,"timestamp_ms":1783400618000,"timestamp_seconds":1783400618,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af5d810"} 
[2026-07-07 10:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-07 10:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550481152001,"66":2242,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550481152001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:35:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:35:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550481152001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":125078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:35:03] local.INFO: GPS data processed {"connection_id":125078,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:35:03] local.INFO: Acknowledgment sent {"connection_id":125078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:35:04] local.INFO: TCP Data received {"connection_id":125079,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:35:04] local.INFO: Processing buffer {"connection_id":125079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:35:04] local.INFO: IMEI packet received {"connection_id":125079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":125079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:35:05] local.INFO: TCP Data received {"connection_id":125079,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af566c8012d7c4a4005f79de0000c00a92d..."} 
[2026-07-07 10:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af566c8012d7c4a4005f79de0000c00a92d..."} 
[2026-07-07 10:35:05] local.INFO: Processing buffer {"connection_id":125079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af566c8012d7c4a4005f79de0000c00a92d..."} 
[2026-07-07 10:35:05] local.INFO: Packet analysis {"connection_id":125079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:35:05] local.INFO: Extracted packet for processing {"connection_id":125079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:35:05] local.INFO: GPS Element Parsed {"raw_longitude":763120192,"raw_latitude":100113888,"longitude_deg":76.3120192,"latitude_deg":10.0113888,"altitude":12,"angle":169,"satellites":45,"speed":42,"hex_longitude":"2d7c4a40","hex_latitude":"05f79de0","is_valid_coordinates":true} 
[2026-07-07 10:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550548480001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340892722514624512,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954563459727597568,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:05] 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-07-07 10:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783400589000,"timestamp_ms":1783400589000,"timestamp_seconds":1783400589,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af566c8"} 
[2026-07-07 10:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 10:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550548480001,"66":27919,"143":206,"87":12800,"24":42,"16":340892722514624512,"45":8954563459727597568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,87,24,16,45]} 
[2026-07-07 10:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550548480001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:35:05] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-07 10:35:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-07-07 10:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340892722514624512,"km_value":340892722514624.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954563459727597568,"description":"Unknown IO ID 45"} 
[2026-07-07 10:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550548480001,"power":27919,"unknown_143":206,"unknown_87":12800,"ignition":42,"odometer":null,"unknown_45":8954563459727597568}} 
[2026-07-07 10:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":125079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:35:05] local.INFO: GPS data processed {"connection_id":125079,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:35:05] local.INFO: Acknowledgment sent {"connection_id":125079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:35:27] local.INFO: TCP Data received {"connection_id":125081,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:35:27] local.INFO: Processing buffer {"connection_id":125081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:35:27] local.INFO: IMEI packet received {"connection_id":125081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":125081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:35:28] local.INFO: TCP Data received {"connection_id":125081,"ip":"117.224.141.66","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 10:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125081,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 10:35:28] local.INFO: Processing buffer {"connection_id":125081,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 10:35:28] local.INFO: IMEI packet received {"connection_id":125081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":125081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:35:32] local.INFO: TCP Data received {"connection_id":125081,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:35:32] local.INFO: Processing buffer {"connection_id":125081,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 10:35:32] local.INFO: IMEI packet received {"connection_id":125081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":125081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:35:33] local.INFO: TCP Data received {"connection_id":125081,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af69778012d137a00071ef6c0002f010920..."} 
[2026-07-07 10:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af69778012d137a00071ef6c0002f010920..."} 
[2026-07-07 10:35:33] local.INFO: Processing buffer {"connection_id":125081,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f3a..."} 
[2026-07-07 10:35:33] local.INFO: IMEI packet received {"connection_id":125081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":125081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:35:34] local.INFO: TCP Data received {"connection_id":125078,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:35:34] local.INFO: Processing buffer {"connection_id":125078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:35:34] local.INFO: Packet analysis {"connection_id":125078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:35:34] local.INFO: Extracted packet for processing {"connection_id":125078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:35:34] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":35,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550481152001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783400618000,"timestamp_ms":1783400618000,"timestamp_seconds":1783400618,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af5d810"} 
[2026-07-07 10:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-07 10:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:35: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-07-07 10:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550481152001,"66":2242,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550481152001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:35:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:35:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550481152001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":125078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:35:34] local.INFO: GPS data processed {"connection_id":125078,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:35:34] local.INFO: Acknowledgment sent {"connection_id":125078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:35:35] local.INFO: TCP Data received {"connection_id":125081,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af6aee8012d135f40071ef668002f011520..."} 
[2026-07-07 10:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af6aee8012d135f40071ef668002f011520..."} 
[2026-07-07 10:35:35] local.INFO: Processing buffer {"connection_id":125081,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3af69778012d137a00071ef6c0002f010920..."} 
[2026-07-07 10:35:35] local.INFO: Packet analysis {"connection_id":125081,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3af6"} 
[2026-07-07 10:35:35] local.INFO: Extracted packet for processing {"connection_id":125081,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af6"} 
[2026-07-07 10:35:35] local.INFO: GPS Element Parsed {"raw_longitude":756251136,"raw_latitude":119469760,"longitude_deg":75.6251136,"latitude_deg":11.946976,"altitude":47,"angle":265,"satellites":32,"speed":44,"hex_longitude":"2d137a00","hex_latitude":"071ef6c0","is_valid_coordinates":true} 
[2026-07-07 10:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550569984001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4762912572833792,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1407163807905146880,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783400667000,"timestamp_ms":1783400667000,"timestamp_seconds":1783400667,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af69778"} 
[2026-07-07 10:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-07 10:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550569984001,"66":14428,"50":206,"28":31744,"24":44,"16":4762912572833792,"45":1407163807905146880},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-07-07 10:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550569984001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:35:35] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-07 10:35:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4762912572833792,"km_value":4762912572833.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1407163807905146880,"description":"Unknown IO ID 45"} 
[2026-07-07 10:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550569984001,"power":14428,"unknown_50":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1407163807905146880}} 
[2026-07-07 10:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":125081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:35:35] local.INFO: GPS data processed {"connection_id":125081,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:35:35] local.INFO: Acknowledgment sent {"connection_id":125081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:35:35] local.INFO: Packet analysis {"connection_id":125081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af6"} 
[2026-07-07 10:35:35] local.INFO: Extracted packet for processing {"connection_id":125081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af6"} 
[2026-07-07 10:35:35] local.INFO: GPS Element Parsed {"raw_longitude":756244288,"raw_latitude":119469672,"longitude_deg":75.6244288,"latitude_deg":11.9469672,"altitude":47,"angle":277,"satellites":32,"speed":45,"hex_longitude":"2d135f40","hex_latitude":"071ef668","is_valid_coordinates":true} 
[2026-07-07 10:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550570752001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4763238990348288,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1403434264463589376,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783400673000,"timestamp_ms":1783400673000,"timestamp_seconds":1783400673,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af6aee8"} 
[2026-07-07 10:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 10:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550570752001,"66":14265,"50":206,"28":31744,"24":45,"16":4763238990348288,"45":1403434264463589376},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-07-07 10:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550570752001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:35:35] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-07 10:35:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4763238990348288,"km_value":4763238990348.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1403434264463589376,"description":"Unknown IO ID 45"} 
[2026-07-07 10:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550570752001,"power":14265,"unknown_50":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1403434264463589376}} 
[2026-07-07 10:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":125081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:35:35] local.INFO: GPS data processed {"connection_id":125081,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:35:35] local.INFO: Acknowledgment sent {"connection_id":125081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:35:37] local.INFO: TCP Data received {"connection_id":125079,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af58608012d7c508005f77bb0000d00a92d..."} 
[2026-07-07 10:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af58608012d7c508005f77bb0000d00a92d..."} 
[2026-07-07 10:35:37] local.INFO: Processing buffer {"connection_id":125079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af58608012d7c508005f77bb0000d00a92d..."} 
[2026-07-07 10:35:37] local.INFO: Packet analysis {"connection_id":125079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:35:37] local.INFO: Extracted packet for processing {"connection_id":125079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763121792,"raw_latitude":100105136,"longitude_deg":76.3121792,"latitude_deg":10.0105136,"altitude":13,"angle":169,"satellites":45,"speed":46,"hex_longitude":"2d7c5080","hex_latitude":"05f77bb0","is_valid_coordinates":true} 
[2026-07-07 10:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550550784001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340893152011354112,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8956041203352985600,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:37] 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-07-07 10:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783400597000,"timestamp_ms":1783400597000,"timestamp_seconds":1783400597,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af58608"} 
[2026-07-07 10:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 10:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550550784001,"66":27865,"143":206,"87":12800,"24":46,"16":340893152011354112,"45":8956041203352985600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,87,24,16,45]} 
[2026-07-07 10:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550550784001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:35:37] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-07 10:35:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-07-07 10:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340893152011354112,"km_value":340893152011354.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8956041203352985600,"description":"Unknown IO ID 45"} 
[2026-07-07 10:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550550784001,"power":27865,"unknown_143":206,"unknown_87":12800,"ignition":46,"odometer":null,"unknown_45":8956041203352985600}} 
[2026-07-07 10:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":125079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:35:37] local.INFO: GPS data processed {"connection_id":125079,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:35:37] local.INFO: Acknowledgment sent {"connection_id":125079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:35:37] local.INFO: TCP Data received {"connection_id":125081,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af6ce28012d133c00071efe90002e011c1f..."} 
[2026-07-07 10:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af6ce28012d133c00071efe90002e011c1f..."} 
[2026-07-07 10:35:37] local.INFO: Processing buffer {"connection_id":125081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af6ce28012d133c00071efe90002e011c1f..."} 
[2026-07-07 10:35:37] local.INFO: Packet analysis {"connection_id":125081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af6"} 
[2026-07-07 10:35:37] local.INFO: Extracted packet for processing {"connection_id":125081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af6"} 
[2026-07-07 10:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756235264,"raw_latitude":119471760,"longitude_deg":75.6235264,"latitude_deg":11.947176,"altitude":46,"angle":284,"satellites":31,"speed":44,"hex_longitude":"2d133c00","hex_latitude":"071efe90","is_valid_coordinates":true} 
[2026-07-07 10:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550572288001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4763677077012480,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1395904808836556800,"note":"Value kept but may cause issues"} 
[2026-07-07 10:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783400681000,"timestamp_ms":1783400681000,"timestamp_seconds":1783400681,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af6ce28"} 
[2026-07-07 10:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 10:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550572288001,"66":14330,"50":206,"28":31744,"24":44,"16":4763677077012480,"45":1395904808836556800},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-07-07 10:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550572288001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:35:37] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-07 10:35:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4763677077012480,"km_value":4763677077012.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1395904808836556800,"description":"Unknown IO ID 45"} 
[2026-07-07 10:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550572288001,"power":14330,"unknown_50":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1395904808836556800}} 
[2026-07-07 10:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":125081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:35:37] local.INFO: GPS data processed {"connection_id":125081,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:35:37] local.INFO: Acknowledgment sent {"connection_id":125081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:35:55] local.INFO: TCP Data received {"connection_id":126317,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126317,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:35:55] local.INFO: Processing buffer {"connection_id":126317,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:35:55] local.INFO: IMEI packet received {"connection_id":126317,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":126317,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:36:03] local.INFO: TCP Data received {"connection_id":126317,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126317,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:36:03] local.INFO: Processing buffer {"connection_id":126317,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:36:03] local.INFO: IMEI packet received {"connection_id":126317,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":126317,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:36:04] local.INFO: TCP Data received {"connection_id":126317,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:36:04] local.INFO: Processing buffer {"connection_id":126317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:36:04] local.INFO: Packet analysis {"connection_id":126317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:36:04] local.INFO: Extracted packet for processing {"connection_id":126317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:36:04] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":35,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550481152001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783400618000,"timestamp_ms":1783400618000,"timestamp_seconds":1783400618,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af5d810"} 
[2026-07-07 10:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-07 10:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550481152001,"66":2242,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550481152001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:36:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:36:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550481152001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":126317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:36:04] local.INFO: GPS data processed {"connection_id":126317,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:36:04] local.INFO: Acknowledgment sent {"connection_id":126317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:36:04] local.INFO: TCP Data received {"connection_id":124289,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:36:04] local.INFO: Processing buffer {"connection_id":124289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:36:04] local.INFO: IMEI packet received {"connection_id":124289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":124289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:36:11] local.INFO: TCP Data received {"connection_id":124289,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:36:11] local.INFO: Processing buffer {"connection_id":124289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:36:11] local.INFO: IMEI packet received {"connection_id":124289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":124289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:36:22] local.INFO: TCP Data received {"connection_id":124380,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:36:22] local.INFO: Processing buffer {"connection_id":124380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:36:22] local.INFO: IMEI packet received {"connection_id":124380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":124380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:36:25] local.INFO: TCP Data received {"connection_id":124380,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:36:25] local.INFO: Processing buffer {"connection_id":124380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:36:25] local.INFO: IMEI packet received {"connection_id":124380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":124380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:36:25] local.INFO: TCP Data received {"connection_id":124289,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af6f538012d7c91c005f5e858000900ad26..."} 
[2026-07-07 10:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af6f538012d7c91c005f5e858000900ad26..."} 
[2026-07-07 10:36:25] local.INFO: Processing buffer {"connection_id":124289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af6f538012d7c91c005f5e858000900ad26..."} 
[2026-07-07 10:36:25] local.INFO: Packet analysis {"connection_id":124289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af6"} 
[2026-07-07 10:36:25] local.INFO: Extracted packet for processing {"connection_id":124289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af6"} 
[2026-07-07 10:36:25] local.INFO: GPS Element Parsed {"raw_longitude":763138496,"raw_latitude":100001880,"longitude_deg":76.3138496,"latitude_deg":10.000188,"altitude":9,"angle":173,"satellites":38,"speed":35,"hex_longitude":"2d7c91c0","hex_latitude":"05f5e858","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550574336001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340898224367730688,"note":"Value kept but may cause issues"} 
[2026-07-07 10:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974548183045310464,"note":"Value kept but may cause issues"} 
[2026-07-07 10:36:25] 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-07-07 10:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783400691000,"timestamp_ms":1783400691000,"timestamp_seconds":1783400691,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af6f538"} 
[2026-07-07 10:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 10:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":124289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":124289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":124289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550574336001,"66":27865,"164":206,"87":12800,"24":35,"16":340898224367730688,"45":8974548183045310464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,87,24,16,45]} 
[2026-07-07 10:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550574336001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:36:25] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-07 10:36:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-07-07 10:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340898224367730688,"km_value":340898224367730.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974548183045310464,"description":"Unknown IO ID 45"} 
[2026-07-07 10:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550574336001,"power":27865,"unknown_164":206,"unknown_87":12800,"ignition":35,"odometer":null,"unknown_45":8974548183045310464}} 
[2026-07-07 10:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":124289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:36:25] local.INFO: GPS data processed {"connection_id":124289,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:36:25] local.INFO: Acknowledgment sent {"connection_id":124289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:36:26] local.INFO: TCP Data received {"connection_id":124380,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af6f150012d1316c0071f09d0002d012020..."} 
[2026-07-07 10:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af6f150012d1316c0071f09d0002d012020..."} 
[2026-07-07 10:36:26] local.INFO: Processing buffer {"connection_id":124380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af6f150012d1316c0071f09d0002d012020..."} 
[2026-07-07 10:36:26] local.INFO: Packet analysis {"connection_id":124380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af6"} 
[2026-07-07 10:36:26] local.INFO: Extracted packet for processing {"connection_id":124380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af6"} 
[2026-07-07 10:36:26] local.INFO: GPS Element Parsed {"raw_longitude":756225728,"raw_latitude":119474640,"longitude_deg":75.6225728,"latitude_deg":11.947464,"altitude":45,"angle":288,"satellites":32,"speed":42,"hex_longitude":"2d1316c0","hex_latitude":"071f09d0","is_valid_coordinates":true} 
[2026-07-07 10:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550574336001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:36:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-07 10:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4764149523415040,"note":"Value kept but may cause issues"} 
[2026-07-07 10:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1385982815908040704,"note":"Value kept but may cause issues"} 
[2026-07-07 10:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-07 10:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783400690000,"timestamp_ms":1783400690000,"timestamp_seconds":1783400690,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af6f150"} 
[2026-07-07 10:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-07-07 10:36:26] 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-07-07 10:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":124380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":124380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":124380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550574336001,"66":14483,"200":0,"28":31744,"24":42,"16":4764149523415040,"45":1385982815908040704},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-07-07 10:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550574336001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:36:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4764149523415040,"km_value":4764149523415.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1385982815908040704,"description":"Unknown IO ID 45"} 
[2026-07-07 10:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550574336001,"power":14483,"gsm_signal":0,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1385982815908040704}} 
[2026-07-07 10:36:26] local.INFO: TCP Data received {"connection_id":124289,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af71c48012d7c978005f5c5e8000800aa2a..."} 
[2026-07-07 10:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af71c48012d7c978005f5c5e8000800aa2a..."} 
[2026-07-07 10:36:26] local.INFO: Processing buffer {"connection_id":124289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af71c48012d7c978005f5c5e8000800aa2a..."} 
[2026-07-07 10:36:26] local.INFO: Packet analysis {"connection_id":124289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af7"} 
[2026-07-07 10:36:26] local.INFO: Extracted packet for processing {"connection_id":124289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af7"} 
[2026-07-07 10:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763139968,"raw_latitude":99993064,"longitude_deg":76.3139968,"latitude_deg":9.9993064,"altitude":8,"angle":170,"satellites":42,"speed":37,"hex_longitude":"2d7c9780","hex_latitude":"05f5c5e8","is_valid_coordinates":true} 
[2026-07-07 10:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550576896001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340898653864460288,"note":"Value kept but may cause issues"} 
[2026-07-07 10:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976166664159123456,"note":"Value kept but may cause issues"} 
[2026-07-07 10:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783400701000,"timestamp_ms":1783400701000,"timestamp_seconds":1783400701,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af71c48"} 
[2026-07-07 10:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:36: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-07-07 10:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 10:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":124289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":124289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":124289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550576896001,"66":27745,"165":206,"87":12800,"24":37,"16":340898653864460288,"45":8976166664159123456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,87,24,16,45]} 
[2026-07-07 10:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550576896001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:36:26] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 10:36:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-07-07 10:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340898653864460288,"km_value":340898653864460.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976166664159123456,"description":"Unknown IO ID 45"} 
[2026-07-07 10:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550576896001,"power":27745,"unknown_165":206,"unknown_87":12800,"ignition":37,"odometer":null,"unknown_45":8976166664159123456}} 
[2026-07-07 10:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":124380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:36:26] local.INFO: GPS data processed {"connection_id":124380,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:36:26] local.INFO: Acknowledgment sent {"connection_id":124380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":124289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:36:26] local.INFO: GPS data processed {"connection_id":124289,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:36:26] local.INFO: Acknowledgment sent {"connection_id":124289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:36:35] local.INFO: TCP Data received {"connection_id":126317,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:36:35] local.INFO: Processing buffer {"connection_id":126317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:36:35] local.INFO: Packet analysis {"connection_id":126317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:36:35] local.INFO: Extracted packet for processing {"connection_id":126317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:36:35] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":35,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 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-07-07 10:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550481152001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783400618000,"timestamp_ms":1783400618000,"timestamp_seconds":1783400618,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af5d810"} 
[2026-07-07 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-07-07 10:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-07 10:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 10:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550481152001,"66":2242,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550481152001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:36:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:36:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550481152001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":126317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:36:35] local.INFO: GPS data processed {"connection_id":126317,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:36:35] local.INFO: Acknowledgment sent {"connection_id":126317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:36:55] local.INFO: TCP Data received {"connection_id":125082,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:36:55] local.INFO: Processing buffer {"connection_id":125082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:36:55] local.INFO: IMEI packet received {"connection_id":125082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":125082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:36:58] local.INFO: TCP Data received {"connection_id":124380,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af858b0012d11b900071f47580039012821..."} 
[2026-07-07 10:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af858b0012d11b900071f47580039012821..."} 
[2026-07-07 10:36:58] local.INFO: Processing buffer {"connection_id":124380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af858b0012d11b900071f47580039012821..."} 
[2026-07-07 10:36:58] local.INFO: Packet analysis {"connection_id":124380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af8"} 
[2026-07-07 10:36:58] local.INFO: Extracted packet for processing {"connection_id":124380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af8"} 
[2026-07-07 10:36:58] local.INFO: GPS Element Parsed {"raw_longitude":756136192,"raw_latitude":119490392,"longitude_deg":75.6136192,"latitude_deg":11.9490392,"altitude":57,"angle":296,"satellites":33,"speed":37,"hex_longitude":"2d11b900","hex_latitude":"071f4758","is_valid_coordinates":true} 
[2026-07-07 10:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550597888001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:36:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-07 10:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4768573339729920,"note":"Value kept but may cause issues"} 
[2026-07-07 10:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1285848092946571264,"note":"Value kept but may cause issues"} 
[2026-07-07 10:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-07 10:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783400782000,"timestamp_ms":1783400782000,"timestamp_seconds":1783400782,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af858b0"} 
[2026-07-07 10:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 10:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":124380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":124380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":124380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550597888001,"66":14765,"200":0,"28":31744,"24":37,"16":4768573339729920,"45":1285848092946571264},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-07-07 10:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550597888001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:36:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4768573339729920,"km_value":4768573339729.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1285848092946571264,"description":"Unknown IO ID 45"} 
[2026-07-07 10:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550597888001,"power":14765,"gsm_signal":0,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1285848092946571264}} 
[2026-07-07 10:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":124380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:36:58] local.INFO: GPS data processed {"connection_id":124380,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:36:58] local.INFO: Acknowledgment sent {"connection_id":124380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:37:00] local.INFO: TCP Data received {"connection_id":124291,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:37:00] local.INFO: Processing buffer {"connection_id":124291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:37:00] local.INFO: IMEI packet received {"connection_id":124291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":124291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:37:01] local.INFO: TCP Data received {"connection_id":125082,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:37:01] local.INFO: Processing buffer {"connection_id":125082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:37:01] local.INFO: IMEI packet received {"connection_id":125082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":125082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:37:02] local.INFO: TCP Data received {"connection_id":124291,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:37:02] local.INFO: Processing buffer {"connection_id":124291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:37:02] local.INFO: IMEI packet received {"connection_id":124291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":124291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:37:03] local.INFO: TCP Data received {"connection_id":125082,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:37:03] local.INFO: Processing buffer {"connection_id":125082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:37:03] local.INFO: Packet analysis {"connection_id":125082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:37:03] local.INFO: Extracted packet for processing {"connection_id":125082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:37:03] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":35,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550481152001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783400618000,"timestamp_ms":1783400618000,"timestamp_seconds":1783400618,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af5d810"} 
[2026-07-07 10:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-07 10:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550481152001,"66":2242,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550481152001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:37:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:37:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550481152001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":125082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:37:03] local.INFO: GPS data processed {"connection_id":125082,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:37:03] local.INFO: Acknowledgment sent {"connection_id":125082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:37:04] local.INFO: TCP Data received {"connection_id":124291,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:37:04] local.INFO: Processing buffer {"connection_id":124291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:37:04] local.INFO: IMEI packet received {"connection_id":124291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":124291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:37:05] local.INFO: TCP Data received {"connection_id":124291,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af74358012d7c9d0005f5a2d0000700aa2b..."} 
[2026-07-07 10:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af74358012d7c9d0005f5a2d0000700aa2b..."} 
[2026-07-07 10:37:05] local.INFO: Processing buffer {"connection_id":124291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af74358012d7c9d0005f5a2d0000700aa2b..."} 
[2026-07-07 10:37:05] local.INFO: Packet analysis {"connection_id":124291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af7"} 
[2026-07-07 10:37:05] local.INFO: Extracted packet for processing {"connection_id":124291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af7"} 
[2026-07-07 10:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763141376,"raw_latitude":99984080,"longitude_deg":76.3141376,"latitude_deg":9.998408,"altitude":7,"angle":170,"satellites":43,"speed":39,"hex_longitude":"2d7c9d00","hex_latitude":"05f5a2d0","is_valid_coordinates":true} 
[2026-07-07 10:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550579456001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340899096246091776,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977785145272952832,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783400711000,"timestamp_ms":1783400711000,"timestamp_seconds":1783400711,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af74358"} 
[2026-07-07 10:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 10:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550579456001,"66":27908,"165":206,"87":12800,"24":39,"16":340899096246091776,"45":8977785145272952832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,87,24,16,45]} 
[2026-07-07 10:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550579456001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:37:05] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 10:37:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-07-07 10:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340899096246091776,"km_value":340899096246091.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977785145272952832,"description":"Unknown IO ID 45"} 
[2026-07-07 10:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550579456001,"power":27908,"unknown_165":206,"unknown_87":12800,"ignition":39,"odometer":null,"unknown_45":8977785145272952832}} 
[2026-07-07 10:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":124291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:37:05] local.INFO: GPS data processed {"connection_id":124291,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:37:05] local.INFO: Acknowledgment sent {"connection_id":124291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:37:12] local.INFO: TCP Data received {"connection_id":124291,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af76a68012d7ca30005f57e58000900a92b..."} 
[2026-07-07 10:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af76a68012d7ca30005f57e58000900a92b..."} 
[2026-07-07 10:37:12] local.INFO: Processing buffer {"connection_id":124291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af76a68012d7ca30005f57e58000900a92b..."} 
[2026-07-07 10:37:12] local.INFO: Packet analysis {"connection_id":124291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af7"} 
[2026-07-07 10:37:12] local.INFO: Extracted packet for processing {"connection_id":124291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af7"} 
[2026-07-07 10:37:12] local.INFO: GPS Element Parsed {"raw_longitude":763142912,"raw_latitude":99974744,"longitude_deg":76.3142912,"latitude_deg":9.9974744,"altitude":9,"angle":169,"satellites":43,"speed":35,"hex_longitude":"2d7ca300","hex_latitude":"05f57e58","is_valid_coordinates":true} 
[2026-07-07 10:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550582016001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340899555807592448,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979333257642561536,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783400721000,"timestamp_ms":1783400721000,"timestamp_seconds":1783400721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af76a68"} 
[2026-07-07 10:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 10:37: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-07-07 10:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550582016001,"66":27984,"165":206,"87":12800,"24":35,"16":340899555807592448,"45":8979333257642561536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,87,24,16,45]} 
[2026-07-07 10:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550582016001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:37:12] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 10:37:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-07-07 10:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340899555807592448,"km_value":340899555807592.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979333257642561536,"description":"Unknown IO ID 45"} 
[2026-07-07 10:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550582016001,"power":27984,"unknown_165":206,"unknown_87":12800,"ignition":35,"odometer":null,"unknown_45":8979333257642561536}} 
[2026-07-07 10:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":124291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:37:12] local.INFO: GPS data processed {"connection_id":124291,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:37:12] local.INFO: Acknowledgment sent {"connection_id":124291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:37:21] local.INFO: TCP Data received {"connection_id":124293,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:37:21] local.INFO: Processing buffer {"connection_id":124293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:37:21] local.INFO: IMEI packet received {"connection_id":124293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":124293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:37:21] local.INFO: TCP Data received {"connection_id":124293,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:37:22] local.INFO: Processing buffer {"connection_id":124293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:37:22] local.INFO: IMEI packet received {"connection_id":124293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":124293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:37:23] local.INFO: TCP Data received {"connection_id":124293,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:37:23] local.INFO: Processing buffer {"connection_id":124293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:37:23] local.INFO: IMEI packet received {"connection_id":124293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":124293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:37:25] local.INFO: TCP Data received {"connection_id":124293,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:37:25] local.INFO: Processing buffer {"connection_id":124293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:37:25] local.INFO: IMEI packet received {"connection_id":124293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":124293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:37:26] local.INFO: TCP Data received {"connection_id":124293,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af86850012d11aa80071f4c58003a011921..."} 
[2026-07-07 10:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af86850012d11aa80071f4c58003a011921..."} 
[2026-07-07 10:37:26] local.INFO: Processing buffer {"connection_id":124293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af86850012d11aa80071f4c58003a011921..."} 
[2026-07-07 10:37:26] local.INFO: Packet analysis {"connection_id":124293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af8"} 
[2026-07-07 10:37:26] local.INFO: Extracted packet for processing {"connection_id":124293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af8"} 
[2026-07-07 10:37:26] local.INFO: GPS Element Parsed {"raw_longitude":756132480,"raw_latitude":119491672,"longitude_deg":75.613248,"latitude_deg":11.9491672,"altitude":58,"angle":281,"satellites":33,"speed":38,"hex_longitude":"2d11aa80","hex_latitude":"071f4c58","is_valid_coordinates":true} 
[2026-07-07 10:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550600192001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-07 10:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4768758023323648,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1277051999925786624,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-07 10:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783400786000,"timestamp_ms":1783400786000,"timestamp_seconds":1783400786,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af86850"} 
[2026-07-07 10:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 10:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2040,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":124293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":124293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":124293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550600192001,"66":14265,"200":0,"28":31744,"24":38,"16":4768758023323648,"45":1277051999925786624},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-07-07 10:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550600192001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:37:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4768758023323648,"km_value":4768758023323.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1277051999925786624,"description":"Unknown IO ID 45"} 
[2026-07-07 10:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550600192001,"power":14265,"gsm_signal":0,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1277051999925786624}} 
[2026-07-07 10:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":124293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:37:26] local.INFO: GPS data processed {"connection_id":124293,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:37:26] local.INFO: Acknowledgment sent {"connection_id":124293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:37:34] local.INFO: TCP Data received {"connection_id":125082,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:37:34] local.INFO: Processing buffer {"connection_id":125082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:37:34] local.INFO: Packet analysis {"connection_id":125082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:37:34] local.INFO: Extracted packet for processing {"connection_id":125082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":35,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550481152001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783400618000,"timestamp_ms":1783400618000,"timestamp_seconds":1783400618,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af5d810"} 
[2026-07-07 10:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-07 10:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:37: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-07-07 10:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550481152001,"66":2242,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550481152001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:37:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:37:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550481152001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":125082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:37:34] local.INFO: GPS data processed {"connection_id":125082,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:37:34] local.INFO: Acknowledgment sent {"connection_id":125082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:37:45] local.INFO: TCP Data received {"connection_id":124291,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af79178012d7caa0005f55a40000a00ab25..."} 
[2026-07-07 10:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af79178012d7caa0005f55a40000a00ab25..."} 
[2026-07-07 10:37:45] local.INFO: Processing buffer {"connection_id":124291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af79178012d7caa0005f55a40000a00ab25..."} 
[2026-07-07 10:37:45] local.INFO: Packet analysis {"connection_id":124291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af7"} 
[2026-07-07 10:37:45] local.INFO: Extracted packet for processing {"connection_id":124291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af7"} 
[2026-07-07 10:37:45] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":99965504,"longitude_deg":76.3144704,"latitude_deg":9.9965504,"altitude":10,"angle":171,"satellites":37,"speed":40,"hex_longitude":"2d7caa00","hex_latitude":"05f55a40","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550584576001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340900011074125824,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981022107500435456,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:45] 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-07-07 10:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783400731000,"timestamp_ms":1783400731000,"timestamp_seconds":1783400731,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af79178"} 
[2026-07-07 10:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10: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-07-07 10: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 10:37: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-07-07 10: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-07-07 10:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550584576001,"66":27930,"148":206,"87":12800,"24":40,"16":340900011074125824,"45":8981022107500435456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,87,24,16,45]} 
[2026-07-07 10:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550584576001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:37:45] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-07 10:37:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-07-07 10:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340900011074125824,"km_value":340900011074125.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981022107500435456,"description":"Unknown IO ID 45"} 
[2026-07-07 10:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550584576001,"power":27930,"unknown_148":206,"unknown_87":12800,"ignition":40,"odometer":null,"unknown_45":8981022107500435456}} 
[2026-07-07 10:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":124291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:37:45] local.INFO: GPS data processed {"connection_id":124291,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:37:45] local.INFO: Acknowledgment sent {"connection_id":124291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:37:57] local.INFO: TCP Data received {"connection_id":124293,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af87408012d119f00071f4d20003a010c21..."} 
[2026-07-07 10:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af87408012d119f00071f4d20003a010c21..."} 
[2026-07-07 10:37:58] local.INFO: Processing buffer {"connection_id":124293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af87408012d119f00071f4d20003a010c21..."} 
[2026-07-07 10:37:58] local.INFO: Packet analysis {"connection_id":124293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af8"} 
[2026-07-07 10:37:58] local.INFO: Extracted packet for processing {"connection_id":124293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af8"} 
[2026-07-07 10:37:58] local.INFO: GPS Element Parsed {"raw_longitude":756129536,"raw_latitude":119491872,"longitude_deg":75.6129536,"latitude_deg":11.9491872,"altitude":58,"angle":268,"satellites":33,"speed":39,"hex_longitude":"2d119f00","hex_latitude":"071f4d20","is_valid_coordinates":true} 
[2026-07-07 10:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550601216001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-07 10:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4768899757244416,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1272970612763809792,"note":"Value kept but may cause issues"} 
[2026-07-07 10:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-07 10:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783400789000,"timestamp_ms":1783400789000,"timestamp_seconds":1783400789,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af87408"} 
[2026-07-07 10:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 10:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":124293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":124293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":124293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550601216001,"66":14102,"200":0,"28":31744,"24":39,"16":4768899757244416,"45":1272970612763809792},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-07-07 10:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550601216001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:37:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4768899757244416,"km_value":4768899757244.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1272970612763809792,"description":"Unknown IO ID 45"} 
[2026-07-07 10:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550601216001,"power":14102,"gsm_signal":0,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1272970612763809792}} 
[2026-07-07 10:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":124293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:37:58] local.INFO: GPS data processed {"connection_id":124293,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:37:58] local.INFO: Acknowledgment sent {"connection_id":124293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:38:00] local.INFO: TCP Data received {"connection_id":125083,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:38:00] local.INFO: Processing buffer {"connection_id":125083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:38:00] local.INFO: IMEI packet received {"connection_id":125083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":125083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:38:01] local.INFO: TCP Data received {"connection_id":126318,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:38:01] local.INFO: Processing buffer {"connection_id":126318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:38:01] local.INFO: IMEI packet received {"connection_id":126318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":126318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:38:05] local.INFO: TCP Data received {"connection_id":125083,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:38:05] local.INFO: Processing buffer {"connection_id":125083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:38:05] local.INFO: IMEI packet received {"connection_id":125083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":125083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:38:05] local.INFO: TCP Data received {"connection_id":126318,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:38:05] local.INFO: Processing buffer {"connection_id":126318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:38:05] local.INFO: IMEI packet received {"connection_id":126318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":126318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:38:06] local.INFO: TCP Data received {"connection_id":125083,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af7cc10012d7cb00005f536e0000900ab2b..."} 
[2026-07-07 10:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af7cc10012d7cb00005f536e0000900ab2b..."} 
[2026-07-07 10:38:06] local.INFO: Processing buffer {"connection_id":125083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af7cc10012d7cb00005f536e0000900ab2b..."} 
[2026-07-07 10:38:06] local.INFO: Packet analysis {"connection_id":125083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af7"} 
[2026-07-07 10:38:06] local.INFO: Extracted packet for processing {"connection_id":125083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af7"} 
[2026-07-07 10:38:06] local.INFO: GPS Element Parsed {"raw_longitude":763146240,"raw_latitude":99956448,"longitude_deg":76.314624,"latitude_deg":9.9956448,"altitude":9,"angle":171,"satellites":43,"speed":13,"hex_longitude":"2d7cb000","hex_latitude":"05f536e0","is_valid_coordinates":true} 
[2026-07-07 10:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550587136001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340900457750724608,"note":"Value kept but may cause issues"} 
[2026-07-07 10:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982992432335044608,"note":"Value kept but may cause issues"} 
[2026-07-07 10:38:06] 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-07-07 10:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783400746000,"timestamp_ms":1783400746000,"timestamp_seconds":1783400746,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af7cc10"} 
[2026-07-07 10:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:38: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-07-07 10:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 10:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550587136001,"66":27908,"148":206,"87":12800,"24":13,"16":340900457750724608,"45":8982992432335044608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,87,24,16,45]} 
[2026-07-07 10:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550587136001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:38:06] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-07 10:38:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-07-07 10:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340900457750724608,"km_value":340900457750724.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982992432335044608,"description":"Unknown IO ID 45"} 
[2026-07-07 10:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550587136001,"power":27908,"unknown_148":206,"unknown_87":12800,"ignition":13,"odometer":null,"unknown_45":8982992432335044608}} 
[2026-07-07 10:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":125083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:38:06] local.INFO: GPS data processed {"connection_id":125083,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:38:06] local.INFO: Acknowledgment sent {"connection_id":125083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:38:07] local.INFO: TCP Data received {"connection_id":126318,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:38:07] local.INFO: Processing buffer {"connection_id":126318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:38:07] local.INFO: Packet analysis {"connection_id":126318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:38:07] local.INFO: Extracted packet for processing {"connection_id":126318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:38:07] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":35,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550481152001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783400618000,"timestamp_ms":1783400618000,"timestamp_seconds":1783400618,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af5d810"} 
[2026-07-07 10:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-07 10:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550481152001,"66":2242,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550481152001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:38:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:38:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550481152001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":126318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:38:07] local.INFO: GPS data processed {"connection_id":126318,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:38:07] local.INFO: Acknowledgment sent {"connection_id":126318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:38:11] local.INFO: TCP Data received {"connection_id":126318,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:38:11] local.INFO: Processing buffer {"connection_id":126318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af5d810012d7d0a8005ec3c680011005723..."} 
[2026-07-07 10:38:11] local.INFO: Packet analysis {"connection_id":126318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:38:11] local.INFO: Extracted packet for processing {"connection_id":126318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af5"} 
[2026-07-07 10:38:11] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":35,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550481152001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783400618000,"timestamp_ms":1783400618000,"timestamp_seconds":1783400618,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af5d810"} 
[2026-07-07 10:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-07 10:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550481152001,"66":2242,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550481152001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:38:11] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:38:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550481152001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":126318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:38:11] local.INFO: GPS data processed {"connection_id":126318,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:38:11] local.INFO: Acknowledgment sent {"connection_id":126318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:38:24] local.INFO: TCP Data received {"connection_id":124295,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:38:24] local.INFO: Processing buffer {"connection_id":124295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:38:24] local.INFO: IMEI packet received {"connection_id":124295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":124295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:38:27] local.INFO: TCP Data received {"connection_id":124295,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:38:27] local.INFO: Processing buffer {"connection_id":124295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:38:27] local.INFO: IMEI packet received {"connection_id":124295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":124295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:38:32] local.INFO: TCP Data received {"connection_id":124295,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:38:32] local.INFO: Processing buffer {"connection_id":124295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:38:32] local.INFO: IMEI packet received {"connection_id":124295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":124295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:38:34] local.INFO: TCP Data received {"connection_id":124295,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af98d48012d10d8c0071e8fe8003300cc20..."} 
[2026-07-07 10:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af98d48012d10d8c0071e8fe8003300cc20..."} 
[2026-07-07 10:38:34] local.INFO: Processing buffer {"connection_id":124295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af98d48012d10d8c0071e8fe8003300cc20..."} 
[2026-07-07 10:38:34] local.INFO: Packet analysis {"connection_id":124295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af9"} 
[2026-07-07 10:38:34] local.INFO: Extracted packet for processing {"connection_id":124295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af9"} 
[2026-07-07 10:38:34] local.INFO: GPS Element Parsed {"raw_longitude":756078784,"raw_latitude":119443432,"longitude_deg":75.6078784,"latitude_deg":11.9443432,"altitude":51,"angle":204,"satellites":32,"speed":45,"hex_longitude":"2d10d8c0","hex_latitude":"071e8fe8","is_valid_coordinates":true} 
[2026-07-07 10:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550618368001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4772580544217088,"note":"Value kept but may cause issues"} 
[2026-07-07 10:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1218364467271655424,"note":"Value kept but may cause issues"} 
[2026-07-07 10:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783400861000,"timestamp_ms":1783400861000,"timestamp_seconds":1783400861,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af98d48"} 
[2026-07-07 10:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 10:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550618368001,"66":13972,"201":206,"28":31744,"24":45,"16":4772580544217088,"45":1218364467271655424},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,28,24,16,45]} 
[2026-07-07 10:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550618368001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:38:34] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 10:38:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4772580544217088,"km_value":4772580544217.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1218364467271655424,"description":"Unknown IO ID 45"} 
[2026-07-07 10:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550618368001,"power":13972,"unknown_201":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1218364467271655424}} 
[2026-07-07 10:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":124295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:38:34] local.INFO: GPS data processed {"connection_id":124295,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:38:34] local.INFO: Acknowledgment sent {"connection_id":124295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:38:35] local.INFO: TCP Data received {"connection_id":124295,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af9ac88012d10c680071e7008003100d41e..."} 
[2026-07-07 10:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af9ac88012d10c680071e7008003100d41e..."} 
[2026-07-07 10:38:35] local.INFO: Processing buffer {"connection_id":124295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af9ac88012d10c680071e7008003100d41e..."} 
[2026-07-07 10:38:35] local.INFO: Packet analysis {"connection_id":124295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af9"} 
[2026-07-07 10:38:35] local.INFO: Extracted packet for processing {"connection_id":124295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af9"} 
[2026-07-07 10:38:35] local.INFO: GPS Element Parsed {"raw_longitude":756074112,"raw_latitude":119435272,"longitude_deg":75.6074112,"latitude_deg":11.9435272,"altitude":49,"angle":212,"satellites":30,"speed":46,"hex_longitude":"2d10c680","hex_latitude":"071e7008","is_valid_coordinates":true} 
[2026-07-07 10:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550620416001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4773035810750464,"note":"Value kept but may cause issues"} 
[2026-07-07 10:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1213931236386400256,"note":"Value kept but may cause issues"} 
[2026-07-07 10:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783400869000,"timestamp_ms":1783400869000,"timestamp_seconds":1783400869,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af9ac88"} 
[2026-07-07 10:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-07 10:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550620416001,"66":14243,"201":206,"28":31744,"24":46,"16":4773035810750464,"45":1213931236386400256},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,28,24,16,45]} 
[2026-07-07 10:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550620416001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:38:35] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 10:38:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4773035810750464,"km_value":4773035810750.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1213931236386400256,"description":"Unknown IO ID 45"} 
[2026-07-07 10:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550620416001,"power":14243,"unknown_201":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1213931236386400256}} 
[2026-07-07 10:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":124295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:38:35] local.INFO: GPS data processed {"connection_id":124295,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:38:35] local.INFO: Acknowledgment sent {"connection_id":124295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:38:39] local.INFO: TCP Data received {"connection_id":125083,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af81260012d7cb58005f51400000c00ac2d..."} 
[2026-07-07 10:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af81260012d7cb58005f51400000c00ac2d..."} 
[2026-07-07 10:38:39] local.INFO: Processing buffer {"connection_id":125083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af81260012d7cb58005f51400000c00ac2d..."} 
[2026-07-07 10:38:39] local.INFO: Packet analysis {"connection_id":125083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af8"} 
[2026-07-07 10:38:39] local.INFO: Extracted packet for processing {"connection_id":125083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af8"} 
[2026-07-07 10:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763147648,"raw_latitude":99947520,"longitude_deg":76.3147648,"latitude_deg":9.994752,"altitude":12,"angle":172,"satellites":45,"speed":16,"hex_longitude":"2d7cb580","hex_latitude":"05f51400","is_valid_coordinates":true} 
[2026-07-07 10:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550590976001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340900895837388800,"note":"Value kept but may cause issues"} 
[2026-07-07 10:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681282192990208,"note":"Value kept but may cause issues"} 
[2026-07-07 10:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783400764000,"timestamp_ms":1783400764000,"timestamp_seconds":1783400764,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af81260"} 
[2026-07-07 10:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 10:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550590976001,"66":27919,"176":206,"87":12800,"24":16,"16":340900895837388800,"45":8984681282192990208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,87,24,16,45]} 
[2026-07-07 10:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550590976001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:38:39] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-07 10:38:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-07-07 10:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340900895837388800,"km_value":340900895837388.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681282192990208,"description":"Unknown IO ID 45"} 
[2026-07-07 10:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550590976001,"power":27919,"unknown_176":206,"unknown_87":12800,"ignition":16,"odometer":null,"unknown_45":8984681282192990208}} 
[2026-07-07 10:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":125083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:38:39] local.INFO: GPS data processed {"connection_id":125083,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:38:39] local.INFO: Acknowledgment sent {"connection_id":125083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:38:56] local.INFO: TCP Data received {"connection_id":126319,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:38:56] local.INFO: Processing buffer {"connection_id":126319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:38:56] local.INFO: IMEI packet received {"connection_id":126319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":126319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:39:00] local.INFO: TCP Data received {"connection_id":124382,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:39:00] local.INFO: Processing buffer {"connection_id":124382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:39:00] local.INFO: IMEI packet received {"connection_id":124382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":124382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:39:01] local.INFO: TCP Data received {"connection_id":126319,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:39:01] local.INFO: Processing buffer {"connection_id":126319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:39:01] local.INFO: IMEI packet received {"connection_id":126319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":126319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:39:03] local.INFO: TCP Data received {"connection_id":126319,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:39:03] local.INFO: Processing buffer {"connection_id":126319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:39:03] local.INFO: Packet analysis {"connection_id":126319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:39:03] local.INFO: Extracted packet for processing {"connection_id":126319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:39:03] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":32,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550558208001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783400919000,"timestamp_ms":1783400919000,"timestamp_seconds":1783400919,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afa6fd8"} 
[2026-07-07 10:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 10:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550558208001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550558208001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:39:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:39:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550558208001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":126319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:39:03] local.INFO: GPS data processed {"connection_id":126319,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:39:03] local.INFO: Acknowledgment sent {"connection_id":126319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:39:07] local.INFO: TCP Data received {"connection_id":124295,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af9cbc8012d10b0c0071e5260003000de1f..."} 
[2026-07-07 10:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af9cbc8012d10b0c0071e5260003000de1f..."} 
[2026-07-07 10:39:07] local.INFO: Processing buffer {"connection_id":124295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af9cbc8012d10b0c0071e5260003000de1f..."} 
[2026-07-07 10:39:07] local.INFO: Packet analysis {"connection_id":124295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af9"} 
[2026-07-07 10:39:07] local.INFO: Extracted packet for processing {"connection_id":124295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af9"} 
[2026-07-07 10:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756068544,"raw_latitude":119427680,"longitude_deg":75.6068544,"latitude_deg":11.942768,"altitude":48,"angle":222,"satellites":31,"speed":48,"hex_longitude":"2d10b0c0","hex_latitude":"071e5260","is_valid_coordinates":true} 
[2026-07-07 10:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550622464001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4773486782316544,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1208794318059341824,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783400877000,"timestamp_ms":1783400877000,"timestamp_seconds":1783400877,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af9cbc8"} 
[2026-07-07 10:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-07 10:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550622464001,"66":14243,"201":206,"28":31744,"24":48,"16":4773486782316544,"45":1208794318059341824},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,28,24,16,45]} 
[2026-07-07 10:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550622464001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:39:07] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 10:39:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4773486782316544,"km_value":4773486782316.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1208794318059341824,"description":"Unknown IO ID 45"} 
[2026-07-07 10:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550622464001,"power":14243,"unknown_201":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":1208794318059341824}} 
[2026-07-07 10:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":124295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:39:07] local.INFO: GPS data processed {"connection_id":124295,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:39:07] local.INFO: Acknowledgment sent {"connection_id":124295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:39:10] local.INFO: TCP Data received {"connection_id":124382,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:39:10] local.INFO: Processing buffer {"connection_id":124382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:39:10] local.INFO: IMEI packet received {"connection_id":124382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":124382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:39:13] local.INFO: TCP Data received {"connection_id":124382,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af858b0012d7cbb8005f4f140000900a92d..."} 
[2026-07-07 10:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af858b0012d7cbb8005f4f140000900a92d..."} 
[2026-07-07 10:39:13] local.INFO: Processing buffer {"connection_id":124382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af858b0012d7cbb8005f4f140000900a92d..."} 
[2026-07-07 10:39:13] local.INFO: Packet analysis {"connection_id":124382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af8"} 
[2026-07-07 10:39:13] local.INFO: Extracted packet for processing {"connection_id":124382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af8"} 
[2026-07-07 10:39:13] local.INFO: GPS Element Parsed {"raw_longitude":763149184,"raw_latitude":99938624,"longitude_deg":76.3149184,"latitude_deg":9.9938624,"altitude":9,"angle":169,"satellites":45,"speed":28,"hex_longitude":"2d7cbb80","hex_latitude":"05f4f140","is_valid_coordinates":true} 
[2026-07-07 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-07-07 10:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550595584001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340901333924052992,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986229394562613248,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:13] 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-07-07 10:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783400782000,"timestamp_ms":1783400782000,"timestamp_seconds":1783400782,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af858b0"} 
[2026-07-07 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-07-07 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-07-07 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":15,"data_length":795,"current_offset":136} 
[2026-07-07 10:39: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-07-07 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-07-07 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-07-07 10:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:39: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-07-07 10:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550595584001,"66":27767,"178":206,"87":12800,"24":28,"16":340901333924052992,"45":8986229394562613248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,87,24,16,45]} 
[2026-07-07 10:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550595584001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:39:13] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-07 10:39:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-07-07 10:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340901333924052992,"km_value":340901333924053.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986229394562613248,"description":"Unknown IO ID 45"} 
[2026-07-07 10:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550595584001,"power":27767,"unknown_178":206,"unknown_87":12800,"ignition":28,"odometer":null,"unknown_45":8986229394562613248}} 
[2026-07-07 10:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":124382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:39:13] local.INFO: GPS data processed {"connection_id":124382,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:39:13] local.INFO: Acknowledgment sent {"connection_id":124382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:39:22] local.INFO: TCP Data received {"connection_id":124296,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:39:22] local.INFO: Processing buffer {"connection_id":124296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:39:22] local.INFO: IMEI packet received {"connection_id":124296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":124296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:39:22] local.INFO: TCP Data received {"connection_id":124296,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:39:22] local.INFO: Processing buffer {"connection_id":124296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:39:22] local.INFO: IMEI packet received {"connection_id":124296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":124296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:39:27] local.INFO: TCP Data received {"connection_id":124296,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:39:27] local.INFO: Processing buffer {"connection_id":124296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:39:27] local.INFO: IMEI packet received {"connection_id":124296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":124296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:39:29] local.INFO: TCP Data received {"connection_id":124296,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afa8b30012d0ff640071e48800035010721..."} 
[2026-07-07 10:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afa8b30012d0ff640071e48800035010721..."} 
[2026-07-07 10:39:29] local.INFO: Processing buffer {"connection_id":124296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afa8b30012d0ff640071e48800035010721..."} 
[2026-07-07 10:39:29] local.INFO: Packet analysis {"connection_id":124296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:39:29] local.INFO: Extracted packet for processing {"connection_id":124296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:39:29] local.INFO: GPS Element Parsed {"raw_longitude":756020800,"raw_latitude":119425152,"longitude_deg":75.60208,"latitude_deg":11.9425152,"altitude":53,"angle":263,"satellites":33,"speed":38,"hex_longitude":"2d0ff640","hex_latitude":"071e4880","is_valid_coordinates":true} 
[2026-07-07 10:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550636544001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4776046582824960,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1152428953970462720,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783400926000,"timestamp_ms":1783400926000,"timestamp_seconds":1783400926,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afa8b30"} 
[2026-07-07 10:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 10:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1554,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":124296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":124296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":124296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550636544001,"66":14428,"5":206,"28":31744,"24":38,"16":4776046582824960,"45":1152428953970462720},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,28,24,16,45]} 
[2026-07-07 10:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550636544001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:39:29] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-07 10:39:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4776046582824960,"km_value":4776046582824.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1152428953970462720,"description":"Unknown IO ID 45"} 
[2026-07-07 10:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550636544001,"power":14428,"unknown_5":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1152428953970462720}} 
[2026-07-07 10:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":124296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:39:29] local.INFO: GPS data processed {"connection_id":124296,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:39:29] local.INFO: Acknowledgment sent {"connection_id":124296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:39:31] local.INFO: TCP Data received {"connection_id":124296,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afa9300012d0fef80071e4710003500fb20..."} 
[2026-07-07 10:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afa9300012d0fef80071e4710003500fb20..."} 
[2026-07-07 10:39:31] local.INFO: Processing buffer {"connection_id":124296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afa9300012d0fef80071e4710003500fb20..."} 
[2026-07-07 10:39:31] local.INFO: Packet analysis {"connection_id":124296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:39:31] local.INFO: Extracted packet for processing {"connection_id":124296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:39:31] local.INFO: GPS Element Parsed {"raw_longitude":756019072,"raw_latitude":119424784,"longitude_deg":75.6019072,"latitude_deg":11.9424784,"altitude":53,"angle":251,"satellites":32,"speed":36,"hex_longitude":"2d0fef80","hex_latitude":"071e4710","is_valid_coordinates":true} 
[2026-07-07 10:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550637056001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4776132482170880,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1150177154156756992,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783400928000,"timestamp_ms":1783400928000,"timestamp_seconds":1783400928,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afa9300"} 
[2026-07-07 10:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 10:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":124296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":124296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":124296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550637056001,"66":13765,"5":206,"28":31744,"24":36,"16":4776132482170880,"45":1150177154156756992},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,28,24,16,45]} 
[2026-07-07 10:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550637056001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:39:31] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-07 10:39:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4776132482170880,"km_value":4776132482170.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1150177154156756992,"description":"Unknown IO ID 45"} 
[2026-07-07 10:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550637056001,"power":13765,"unknown_5":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1150177154156756992}} 
[2026-07-07 10:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":124296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:39:32] local.INFO: GPS data processed {"connection_id":124296,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:39:32] local.INFO: Acknowledgment sent {"connection_id":124296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:39:34] local.INFO: TCP Data received {"connection_id":126319,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:39:34] local.INFO: Processing buffer {"connection_id":126319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:39:34] local.INFO: Packet analysis {"connection_id":126319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:39:34] local.INFO: Extracted packet for processing {"connection_id":126319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:39:34] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":32,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550558208001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783400919000,"timestamp_ms":1783400919000,"timestamp_seconds":1783400919,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afa6fd8"} 
[2026-07-07 10:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 10:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550558208001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550558208001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:39:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:39:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550558208001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":126319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:39:34] local.INFO: GPS data processed {"connection_id":126319,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:39:34] local.INFO: Acknowledgment sent {"connection_id":126319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:39:44] local.INFO: TCP Data received {"connection_id":124382,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3af89730012d7cc1c005f4ce10000800a82a..."} 
[2026-07-07 10:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3af89730012d7cc1c005f4ce10000800a82a..."} 
[2026-07-07 10:39:44] local.INFO: Processing buffer {"connection_id":124382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3af89730012d7cc1c005f4ce10000800a82a..."} 
[2026-07-07 10:39:44] local.INFO: Packet analysis {"connection_id":124382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3af8"} 
[2026-07-07 10:39:44] local.INFO: Extracted packet for processing {"connection_id":124382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3af8"} 
[2026-07-07 10:39:44] local.INFO: GPS Element Parsed {"raw_longitude":763150784,"raw_latitude":99929616,"longitude_deg":76.3150784,"latitude_deg":9.9929616,"altitude":8,"angle":168,"satellites":42,"speed":12,"hex_longitude":"2d7cc1c0","hex_latitude":"05f4ce10","is_valid_coordinates":true} 
[2026-07-07 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-07-07 10:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550600192001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340901776305684480,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987918244420599808,"note":"Value kept but may cause issues"} 
[2026-07-07 10:39:44] 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-07-07 10:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783400798000,"timestamp_ms":1783400798000,"timestamp_seconds":1783400798,"priority":1,"record_length":96,"hex_timestamp":"0000019f3af89730"} 
[2026-07-07 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-07-07 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-07-07 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":119,"data_length":795,"current_offset":136} 
[2026-07-07 10:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 10:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:39: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-07-07 10:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550600192001,"66":27908,"178":206,"87":12800,"24":12,"16":340901776305684480,"45":8987918244420599808},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,87,24,16,45]} 
[2026-07-07 10:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550600192001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:39:44] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-07 10:39:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-07-07 10:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340901776305684480,"km_value":340901776305684.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987918244420599808,"description":"Unknown IO ID 45"} 
[2026-07-07 10:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550600192001,"power":27908,"unknown_178":206,"unknown_87":12800,"ignition":12,"odometer":null,"unknown_45":8987918244420599808}} 
[2026-07-07 10:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":124382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:39:44] local.INFO: GPS data processed {"connection_id":124382,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:39:44] local.INFO: Acknowledgment sent {"connection_id":124382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:39:56] local.INFO: TCP Data received {"connection_id":125084,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:39:56] local.INFO: Processing buffer {"connection_id":125084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:39:56] local.INFO: IMEI packet received {"connection_id":125084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":125084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:40:01] local.INFO: TCP Data received {"connection_id":125084,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:40:01] local.INFO: Processing buffer {"connection_id":125084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:40:01] local.INFO: IMEI packet received {"connection_id":125084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":125084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:40:02] local.INFO: TCP Data received {"connection_id":125084,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:40:02] local.INFO: Processing buffer {"connection_id":125084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:40:02] local.INFO: Packet analysis {"connection_id":125084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:40:02] local.INFO: Extracted packet for processing {"connection_id":125084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":32,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550558208001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783400919000,"timestamp_ms":1783400919000,"timestamp_seconds":1783400919,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afa6fd8"} 
[2026-07-07 10:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 10:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:40:02] 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-07-07 10:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550558208001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550558208001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:40:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:40:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550558208001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":125084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:40:02] local.INFO: GPS data processed {"connection_id":125084,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:40:02] local.INFO: Acknowledgment sent {"connection_id":125084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:40:03] local.INFO: TCP Data received {"connection_id":124296,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afab628012d0fce00071e3af0003700ff20..."} 
[2026-07-07 10:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afab628012d0fce00071e3af0003700ff20..."} 
[2026-07-07 10:40:03] local.INFO: Processing buffer {"connection_id":124296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afab628012d0fce00071e3af0003700ff20..."} 
[2026-07-07 10:40:03] local.INFO: Packet analysis {"connection_id":124296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:40:03] local.INFO: Extracted packet for processing {"connection_id":124296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:40:03] local.INFO: GPS Element Parsed {"raw_longitude":756010496,"raw_latitude":119421680,"longitude_deg":75.6010496,"latitude_deg":11.942168,"altitude":55,"angle":255,"satellites":32,"speed":41,"hex_longitude":"2d0fce00","hex_latitude":"071e3af0","is_valid_coordinates":true} 
[2026-07-07 10:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550637568001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4776561978900480,"note":"Value kept but may cause issues"} 
[2026-07-07 10:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1148277198063865856,"note":"Value kept but may cause issues"} 
[2026-07-07 10:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783400937000,"timestamp_ms":1783400937000,"timestamp_seconds":1783400937,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afab628"} 
[2026-07-07 10:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-07-07 10:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550637568001,"66":18190,"5":206,"28":31744,"24":41,"16":4776561978900480,"45":1148277198063865856},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,28,24,16,45]} 
[2026-07-07 10:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550637568001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:40:03] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-07 10:40:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4776561978900480,"km_value":4776561978900.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1148277198063865856,"description":"Unknown IO ID 45"} 
[2026-07-07 10:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550637568001,"power":18190,"unknown_5":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1148277198063865856}} 
[2026-07-07 10:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":124296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:40:03] local.INFO: GPS data processed {"connection_id":124296,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:40:03] local.INFO: Acknowledgment sent {"connection_id":124296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:40:04] local.INFO: TCP Data received {"connection_id":126321,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:40:04] local.INFO: Processing buffer {"connection_id":126321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:40:04] local.INFO: IMEI packet received {"connection_id":126321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":126321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:40:08] local.INFO: TCP Data received {"connection_id":126321,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:40:08] local.INFO: Processing buffer {"connection_id":126321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:40:08] local.INFO: IMEI packet received {"connection_id":126321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":126321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:40:09] local.INFO: TCP Data received {"connection_id":126321,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afac5c8012d7d01c005f34728000b00aa2a..."} 
[2026-07-07 10:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afac5c8012d7d01c005f34728000b00aa2a..."} 
[2026-07-07 10:40:09] local.INFO: Processing buffer {"connection_id":126321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afac5c8012d7d01c005f34728000b00aa2a..."} 
[2026-07-07 10:40:09] local.INFO: Packet analysis {"connection_id":126321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:40:09] local.INFO: Extracted packet for processing {"connection_id":126321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763167168,"raw_latitude":99829544,"longitude_deg":76.3167168,"latitude_deg":9.9829544,"altitude":11,"angle":170,"satellites":42,"speed":30,"hex_longitude":"2d7d01c0","hex_latitude":"05f34728","is_valid_coordinates":true} 
[2026-07-07 10:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550638336001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340906698338205696,"note":"Value kept but may cause issues"} 
[2026-07-07 10:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006073380392847360,"note":"Value kept but may cause issues"} 
[2026-07-07 10:40:09] 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-07-07 10:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783400941000,"timestamp_ms":1783400941000,"timestamp_seconds":1783400941,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afac5c8"} 
[2026-07-07 10:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:40: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-07-07 10:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 10:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550638336001,"66":27974,"249":206,"87":13056,"24":30,"16":340906698338205696,"45":9006073380392847360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,87,24,16,45]} 
[2026-07-07 10:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550638336001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:40:09] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-07 10:40:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-07-07 10:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340906698338205696,"km_value":340906698338205.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006073380392847360,"description":"Unknown IO ID 45"} 
[2026-07-07 10:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550638336001,"power":27974,"unknown_249":206,"unknown_87":13056,"ignition":30,"odometer":null,"unknown_45":9006073380392847360}} 
[2026-07-07 10:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":126321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:40:09] local.INFO: GPS data processed {"connection_id":126321,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:40:09] local.INFO: Acknowledgment sent {"connection_id":126321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:40:21] local.INFO: TCP Data received {"connection_id":124297,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:40:21] local.INFO: Processing buffer {"connection_id":124297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:40:21] local.INFO: IMEI packet received {"connection_id":124297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":124297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:40:21] local.INFO: TCP Data received {"connection_id":124297,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:40:21] local.INFO: Processing buffer {"connection_id":124297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:40:21] local.INFO: IMEI packet received {"connection_id":124297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":124297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:40:24] local.INFO: TCP Data received {"connection_id":126320,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:40:24] local.INFO: Processing buffer {"connection_id":126320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:40:24] local.INFO: IMEI packet received {"connection_id":126320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 10:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":126320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:40:26] local.INFO: TCP Data received {"connection_id":124297,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:40:26] local.INFO: Processing buffer {"connection_id":124297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:40:26] local.INFO: IMEI packet received {"connection_id":124297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":124297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:40:27] local.INFO: TCP Data received {"connection_id":124297,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afad950012d0fa780071e3398003701081f..."} 
[2026-07-07 10:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afad950012d0fa780071e3398003701081f..."} 
[2026-07-07 10:40:27] local.INFO: Processing buffer {"connection_id":124297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afad950012d0fa780071e3398003701081f..."} 
[2026-07-07 10:40:27] local.INFO: Packet analysis {"connection_id":124297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:40:27] local.INFO: Extracted packet for processing {"connection_id":124297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:40:27] local.INFO: GPS Element Parsed {"raw_longitude":756000640,"raw_latitude":119419800,"longitude_deg":75.600064,"latitude_deg":11.94198,"altitude":55,"angle":264,"satellites":31,"speed":43,"hex_longitude":"2d0fa780","hex_latitude":"071e3398","is_valid_coordinates":true} 
[2026-07-07 10:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550639872001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4777038720270336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1138847786343264256,"note":"Value kept but may cause issues"} 
[2026-07-07 10:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783400946000,"timestamp_ms":1783400946000,"timestamp_seconds":1783400946,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afad950"} 
[2026-07-07 10:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":71,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-07 10:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550639872001,"66":14157,"5":206,"28":31744,"24":43,"16":4777038720270336,"45":1138847786343264256},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,28,24,16,45]} 
[2026-07-07 10:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550639872001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:40:27] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-07 10:40:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4777038720270336,"km_value":4777038720270.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1138847786343264256,"description":"Unknown IO ID 45"} 
[2026-07-07 10:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550639872001,"power":14157,"unknown_5":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1138847786343264256}} 
[2026-07-07 10:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":124297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:40:27] local.INFO: GPS data processed {"connection_id":124297,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:40:27] local.INFO: Acknowledgment sent {"connection_id":124297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:40:33] local.INFO: TCP Data received {"connection_id":125084,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:40:33] local.INFO: Processing buffer {"connection_id":125084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:40:33] local.INFO: Packet analysis {"connection_id":125084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:40:33] local.INFO: Extracted packet for processing {"connection_id":125084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":32,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550558208001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783400919000,"timestamp_ms":1783400919000,"timestamp_seconds":1783400919,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afa6fd8"} 
[2026-07-07 10:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:40: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":194,"data_length":795,"current_offset":136} 
[2026-07-07 10:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:40:33] 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-07-07 10:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550558208001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550558208001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:40:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:40:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550558208001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":125084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:40:33] local.INFO: GPS data processed {"connection_id":125084,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:40:33] local.INFO: Acknowledgment sent {"connection_id":125084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:40:40] local.INFO: TCP Data received {"connection_id":126321,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afb0448012d7d078005f32418000b00ab2c..."} 
[2026-07-07 10:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afb0448012d7d078005f32418000b00ab2c..."} 
[2026-07-07 10:40:40] local.INFO: Processing buffer {"connection_id":126321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afb0448012d7d078005f32418000b00ab2c..."} 
[2026-07-07 10:40:40] local.INFO: Packet analysis {"connection_id":126321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afb"} 
[2026-07-07 10:40:40] local.INFO: Extracted packet for processing {"connection_id":126321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afb"} 
[2026-07-07 10:40:40] local.INFO: GPS Element Parsed {"raw_longitude":763168640,"raw_latitude":99820568,"longitude_deg":76.316864,"latitude_deg":9.9820568,"altitude":11,"angle":171,"satellites":44,"speed":28,"hex_longitude":"2d7d0780","hex_latitude":"05f32418","is_valid_coordinates":true} 
[2026-07-07 10:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550640896001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340907140719837184,"note":"Value kept but may cause issues"} 
[2026-07-07 10:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007691861506598912,"note":"Value kept but may cause issues"} 
[2026-07-07 10:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783400957000,"timestamp_ms":1783400957000,"timestamp_seconds":1783400957,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afb0448"} 
[2026-07-07 10:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:40: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-07-07 10: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 10:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550640896001,"66":27974,"90":206,"87":13056,"24":28,"16":340907140719837184,"45":9007691861506598912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-07-07 10:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550640896001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:40:40] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-07-07 10:40:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-07-07 10:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340907140719837184,"km_value":340907140719837.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007691861506598912,"description":"Unknown IO ID 45"} 
[2026-07-07 10:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550640896001,"power":27974,"unknown_90":206,"unknown_87":13056,"ignition":28,"odometer":null,"unknown_45":9007691861506598912}} 
[2026-07-07 10:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":126321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:40:40] local.INFO: GPS data processed {"connection_id":126321,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:40:40] local.INFO: Acknowledgment sent {"connection_id":126321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:40:56] local.INFO: TCP Data received {"connection_id":126322,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:40:56] local.INFO: Processing buffer {"connection_id":126322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:40:56] local.INFO: IMEI packet received {"connection_id":126322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":126322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:40:59] local.INFO: TCP Data received {"connection_id":124383,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:40:59] local.INFO: Processing buffer {"connection_id":124383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:40:59] local.INFO: IMEI packet received {"connection_id":124383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 10:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":124383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:41:00] local.INFO: TCP Data received {"connection_id":126323,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:41:00] local.INFO: Processing buffer {"connection_id":126323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:41:00] local.INFO: IMEI packet received {"connection_id":126323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":126323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:41:00] local.INFO: TCP Data received {"connection_id":126323,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:41:00] local.INFO: Processing buffer {"connection_id":126323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:41:00] local.INFO: IMEI packet received {"connection_id":126323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":126323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:41:01] local.INFO: TCP Data received {"connection_id":126322,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:41:01] local.INFO: Processing buffer {"connection_id":126322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:41:01] local.INFO: IMEI packet received {"connection_id":126322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":126322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:41:02] local.INFO: TCP Data received {"connection_id":126322,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:41:02] local.INFO: Processing buffer {"connection_id":126322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:41:02] local.INFO: Packet analysis {"connection_id":126322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:41:02] local.INFO: Extracted packet for processing {"connection_id":126322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":32,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550558208001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783400919000,"timestamp_ms":1783400919000,"timestamp_seconds":1783400919,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afa6fd8"} 
[2026-07-07 10:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 10:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550558208001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550558208001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:41:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:41:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550558208001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":126322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:41:02] local.INFO: GPS data processed {"connection_id":126322,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:41:02] local.INFO: Acknowledgment sent {"connection_id":126322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:41:04] local.INFO: TCP Data received {"connection_id":126323,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:41:04] local.INFO: Processing buffer {"connection_id":126323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:41:04] local.INFO: IMEI packet received {"connection_id":126323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":126323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:41:06] local.INFO: TCP Data received {"connection_id":124297,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afbf290012d0e7d00071de8f0002400f621..."} 
[2026-07-07 10:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afbf290012d0e7d00071de8f0002400f621..."} 
[2026-07-07 10:41:06] local.INFO: Processing buffer {"connection_id":124297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afbf290012d0e7d00071de8f0002400f621..."} 
[2026-07-07 10:41:06] local.INFO: Packet analysis {"connection_id":124297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afb"} 
[2026-07-07 10:41:06] local.INFO: Extracted packet for processing {"connection_id":124297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afb"} 
[2026-07-07 10:41:06] local.INFO: GPS Element Parsed {"raw_longitude":755924224,"raw_latitude":119400688,"longitude_deg":75.5924224,"latitude_deg":11.9400688,"altitude":36,"angle":246,"satellites":33,"speed":44,"hex_longitude":"2d0e7d00","hex_latitude":"071de8f0","is_valid_coordinates":true} 
[2026-07-07 10:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550659840001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4780955730444288,"note":"Value kept but may cause issues"} 
[2026-07-07 10:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1047298050163179520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:41:06] 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-07-07 10:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783401018000,"timestamp_ms":1783401018000,"timestamp_seconds":1783401018,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afbf290"} 
[2026-07-07 10:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 10:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2436,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550659840001,"66":14080,"44":206,"28":31744,"24":44,"16":4780955730444288,"45":1047298050163179520},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-07-07 10:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550659840001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:41:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-07 10:41:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4780955730444288,"km_value":4780955730444.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1047298050163179520,"description":"Unknown IO ID 45"} 
[2026-07-07 10:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550659840001,"power":14080,"unknown_44":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1047298050163179520}} 
[2026-07-07 10:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":124297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:41:06] local.INFO: GPS data processed {"connection_id":124297,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:41:06] local.INFO: Acknowledgment sent {"connection_id":124297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:41:21] local.INFO: TCP Data received {"connection_id":125085,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:41:21] local.INFO: Processing buffer {"connection_id":125085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:41:21] local.INFO: IMEI packet received {"connection_id":125085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":125085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:41:23] local.INFO: TCP Data received {"connection_id":125085,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:41:23] local.INFO: Processing buffer {"connection_id":125085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:41:23] local.INFO: IMEI packet received {"connection_id":125085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":125085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:41:25] local.INFO: TCP Data received {"connection_id":126323,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afb3710012d7d0cc005f30078000800ac28..."} 
[2026-07-07 10:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afb3710012d7d0cc005f30078000800ac28..."} 
[2026-07-07 10:41:25] local.INFO: Processing buffer {"connection_id":126323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afb3710012d7d0cc005f30078000800ac28..."} 
[2026-07-07 10:41:25] local.INFO: Packet analysis {"connection_id":126323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afb"} 
[2026-07-07 10:41:25] local.INFO: Extracted packet for processing {"connection_id":126323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afb"} 
[2026-07-07 10:41:25] local.INFO: GPS Element Parsed {"raw_longitude":763169984,"raw_latitude":99811448,"longitude_deg":76.3169984,"latitude_deg":9.9811448,"altitude":8,"angle":172,"satellites":40,"speed":32,"hex_longitude":"2d7d0cc0","hex_latitude":"05f30078","is_valid_coordinates":true} 
[2026-07-07 10:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550644992001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340907587396435968,"note":"Value kept but may cause issues"} 
[2026-07-07 10:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009310342620387328,"note":"Value kept but may cause issues"} 
[2026-07-07 10:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783400970000,"timestamp_ms":1783400970000,"timestamp_seconds":1783400970,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afb3710"} 
[2026-07-07 10:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 10:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":126323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":126323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":126323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550644992001,"66":27865,"90":206,"87":13056,"24":32,"16":340907587396435968,"45":9009310342620387328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-07-07 10:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550644992001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:41:25] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-07-07 10:41:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-07-07 10:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340907587396435968,"km_value":340907587396435.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009310342620387328,"description":"Unknown IO ID 45"} 
[2026-07-07 10:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550644992001,"power":27865,"unknown_90":206,"unknown_87":13056,"ignition":32,"odometer":null,"unknown_45":9009310342620387328}} 
[2026-07-07 10:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":126323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:41:25] local.INFO: GPS data processed {"connection_id":126323,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:41:25] local.INFO: Acknowledgment sent {"connection_id":126323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:41:27] local.INFO: TCP Data received {"connection_id":125085,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:41:27] local.INFO: Processing buffer {"connection_id":125085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:41:27] local.INFO: IMEI packet received {"connection_id":125085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":125085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:41:28] local.INFO: TCP Data received {"connection_id":125085,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afc15b8012d0e5ac0071dd8b8002300f421..."} 
[2026-07-07 10:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afc15b8012d0e5ac0071dd8b8002300f421..."} 
[2026-07-07 10:41:28] local.INFO: Processing buffer {"connection_id":125085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afc15b8012d0e5ac0071dd8b8002300f421..."} 
[2026-07-07 10:41:28] local.INFO: Packet analysis {"connection_id":125085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afc"} 
[2026-07-07 10:41:28] local.INFO: Extracted packet for processing {"connection_id":125085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afc"} 
[2026-07-07 10:41:28] local.INFO: GPS Element Parsed {"raw_longitude":755915456,"raw_latitude":119396536,"longitude_deg":75.5915456,"latitude_deg":11.9396536,"altitude":35,"angle":244,"satellites":33,"speed":41,"hex_longitude":"2d0e5ac0","hex_latitude":"071dd8b8","is_valid_coordinates":true} 
[2026-07-07 10:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550660608001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4781419586912256,"note":"Value kept but may cause issues"} 
[2026-07-07 10:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1043990719186399232,"note":"Value kept but may cause issues"} 
[2026-07-07 10:41:28] 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-07-07 10:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783401027000,"timestamp_ms":1783401027000,"timestamp_seconds":1783401027,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afc15b8"} 
[2026-07-07 10:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-07 10:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454544896,"note":"Value kept but may cause issues"} 
[2026-07-07 10:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4212260864,"note":"Value kept but may cause issues"} 
[2026-07-07 10:41:28] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":32769,"corrected_to":0} 
[2026-07-07 10:41:28] local.WARNING: Large IO value detected {"io_id":58,"raw_value":4222113793,"note":"Value kept but may cause issues"} 
[2026-07-07 10:41:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3895197902,"corrected_to":0} 
[2026-07-07 10:41:28] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3489737998,"note":"Value kept but may cause issues"} 
[2026-07-07 10:41:28] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3221691940,"note":"Value kept but may cause issues"} 
[2026-07-07 10:41:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2883844,"corrected_to":0} 
[2026-07-07 10:41:28] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,44,28,24,241,158,16,252,159,230,45,192,239,37,33,10,66,203,5,40,32,251,180,64,1,240,12,58,30,4,113,205,148,209,200,57,2,7,48,46],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":203,"original":32769,"validated":0},{"io_id":205,"original":3895197902,"validated":0},{"io_id":200,"original":2883844,"validated":0}]} 
[2026-07-07 10:41:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2594344006962642944,"timestamp_seconds":2594344006962643.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 10:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550660608001,"66":14341,"44":206,"28":31744,"24":41,"16":4781419586912256,"45":1043990719186399232},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-07-07 10:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550660608001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:41:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-07 10:41:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4781419586912256,"km_value":4781419586912.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1043990719186399232,"description":"Unknown IO ID 45"} 
[2026-07-07 10:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550660608001,"power":14341,"unknown_44":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1043990719186399232}} 
[2026-07-07 10:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":125085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:41:28] local.INFO: GPS data processed {"connection_id":125085,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:41:28] local.INFO: Acknowledgment sent {"connection_id":125085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:41:34] local.INFO: TCP Data received {"connection_id":126322,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:41:34] local.INFO: Processing buffer {"connection_id":126322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:41:34] local.INFO: Packet analysis {"connection_id":126322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:41:34] local.INFO: Extracted packet for processing {"connection_id":126322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:41:34] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":32,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550558208001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783400919000,"timestamp_ms":1783400919000,"timestamp_seconds":1783400919,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afa6fd8"} 
[2026-07-07 10:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 10:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550558208001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550558208001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:41:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:41:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550558208001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":126322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:41:34] local.INFO: GPS data processed {"connection_id":126322,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:41:34] local.INFO: Acknowledgment sent {"connection_id":126322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:41:55] local.INFO: TCP Data received {"connection_id":124384,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:41:55] local.INFO: Processing buffer {"connection_id":124384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:41:55] local.INFO: IMEI packet received {"connection_id":124384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 10:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":124384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:41:59] local.INFO: TCP Data received {"connection_id":124385,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:41:59] local.INFO: Processing buffer {"connection_id":124385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:41:59] local.INFO: IMEI packet received {"connection_id":124385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":124385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:42:00] local.INFO: TCP Data received {"connection_id":125085,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afc38e0012d0e3a00071dca38002400f521..."} 
[2026-07-07 10:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afc38e0012d0e3a00071dca38002400f521..."} 
[2026-07-07 10:42:00] local.INFO: Processing buffer {"connection_id":125085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afc38e0012d0e3a00071dca38002400f521..."} 
[2026-07-07 10:42:00] local.INFO: Packet analysis {"connection_id":125085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afc"} 
[2026-07-07 10:42:00] local.INFO: Extracted packet for processing {"connection_id":125085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afc"} 
[2026-07-07 10:42:00] local.INFO: GPS Element Parsed {"raw_longitude":755907072,"raw_latitude":119392824,"longitude_deg":75.5907072,"latitude_deg":11.9392824,"altitude":36,"angle":245,"satellites":33,"speed":41,"hex_longitude":"2d0e3a00","hex_latitude":"071dca38","is_valid_coordinates":true} 
[2026-07-07 10:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550662912001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4781857673576448,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1034350201232996352,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:00] 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-07-07 10:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783401036000,"timestamp_ms":1783401036000,"timestamp_seconds":1783401036,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afc38e0"} 
[2026-07-07 10:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 10:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6966410101,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:00] local.WARNING: Large IO value detected {"io_id":24,"raw_value":13511928995393024,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4216520704,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:00] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":32769,"corrected_to":0} 
[2026-07-07 10:42:00] local.WARNING: Large IO value detected {"io_id":251,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:00] local.WARNING: Large IO value detected {"io_id":58,"raw_value":4222881793,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3895197902,"corrected_to":0} 
[2026-07-07 10:42:00] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2147950110,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:00] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3003174376,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:00] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84740424157568552,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:00] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,44,28,24,241,158,16,252,159,242,45,232,36,33,10,66,230,192,239,37,203,1,240,217,251,58,30,4,113,205,43,168,187,216,31,56,2,7,47,206,144],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":203,"original":32769,"validated":0},{"io_id":205,"original":3895197902,"validated":0}]} 
[2026-07-07 10:42:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522284213901262848,"timestamp_seconds":2522284213901263.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 10:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550662912001,"66":14678,"44":206,"28":31744,"24":41,"16":4781857673576448,"45":1034350201232996352},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-07-07 10:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550662912001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:42:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-07 10:42:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4781857673576448,"km_value":4781857673576.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1034350201232996352,"description":"Unknown IO ID 45"} 
[2026-07-07 10:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550662912001,"power":14678,"unknown_44":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1034350201232996352}} 
[2026-07-07 10:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":125085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:42:00] local.INFO: GPS data processed {"connection_id":125085,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:42:00] local.INFO: Acknowledgment sent {"connection_id":125085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:42:01] local.INFO: TCP Data received {"connection_id":124384,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:42:01] local.INFO: Processing buffer {"connection_id":124384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 10:42:01] local.INFO: IMEI packet received {"connection_id":124384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 10:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":124384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:42:01] local.INFO: TCP Data received {"connection_id":124385,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:42:01] local.INFO: Processing buffer {"connection_id":124385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:42:01] local.INFO: IMEI packet received {"connection_id":124385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":124385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:42:02] local.INFO: TCP Data received {"connection_id":124384,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:42:02] local.INFO: Processing buffer {"connection_id":124384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:42:02] local.INFO: Packet analysis {"connection_id":124384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:42:02] local.INFO: Extracted packet for processing {"connection_id":124384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:42:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":32,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550558208001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783400919000,"timestamp_ms":1783400919000,"timestamp_seconds":1783400919,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afa6fd8"} 
[2026-07-07 10:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 10:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550558208001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550558208001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:42:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:42:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550558208001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":124384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:42:02] local.INFO: GPS data processed {"connection_id":124384,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:42:02] local.INFO: Acknowledgment sent {"connection_id":124384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:42:02] local.INFO: TCP Data received {"connection_id":124385,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afbac40012d7d154005f2c9f0000700ab2c..."} 
[2026-07-07 10:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afbac40012d7d154005f2c9f0000700ab2c..."} 
[2026-07-07 10:42:02] local.INFO: Processing buffer {"connection_id":124385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afbac40012d7d154005f2c9f0000700ab2c..."} 
[2026-07-07 10:42:02] local.INFO: Packet analysis {"connection_id":124385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afb"} 
[2026-07-07 10:42:02] local.INFO: Extracted packet for processing {"connection_id":124385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afb"} 
[2026-07-07 10:42:02] local.INFO: GPS Element Parsed {"raw_longitude":763172160,"raw_latitude":99797488,"longitude_deg":76.317216,"latitude_deg":9.9797488,"altitude":7,"angle":171,"satellites":44,"speed":12,"hex_longitude":"2d7d1540","hex_latitude":"05f2c9f0","is_valid_coordinates":true} 
[2026-07-07 10:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550654976001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340908274591203328,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012969517312032768,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783401000000,"timestamp_ms":1783401000000,"timestamp_seconds":1783401000,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afbac40"} 
[2026-07-07 10:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 10:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550654976001,"66":27865,"90":206,"87":13056,"24":12,"16":340908274591203328,"45":9012969517312032768},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-07-07 10:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550654976001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:42:02] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-07-07 10:42:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-07-07 10:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340908274591203328,"km_value":340908274591203.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012969517312032768,"description":"Unknown IO ID 45"} 
[2026-07-07 10:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550654976001,"power":27865,"unknown_90":206,"unknown_87":13056,"ignition":12,"odometer":null,"unknown_45":9012969517312032768}} 
[2026-07-07 10:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":124385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:42:02] local.INFO: GPS data processed {"connection_id":124385,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:42:02] local.INFO: Acknowledgment sent {"connection_id":124385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:42:21] local.INFO: TCP Data received {"connection_id":126324,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:42:21] local.INFO: Processing buffer {"connection_id":126324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:42:21] local.INFO: IMEI packet received {"connection_id":126324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":126324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:42:22] local.INFO: TCP Data received {"connection_id":126324,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:42:22] local.INFO: Processing buffer {"connection_id":126324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:42:22] local.INFO: IMEI packet received {"connection_id":126324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":126324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:42:27] local.INFO: TCP Data received {"connection_id":126324,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:42:27] local.INFO: Processing buffer {"connection_id":126324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:42:27] local.INFO: IMEI packet received {"connection_id":126324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":126324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:42:28] local.INFO: TCP Data received {"connection_id":126324,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afc5ff0012d0e1b40071db968002700e71e..."} 
[2026-07-07 10:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afc5ff0012d0e1b40071db968002700e71e..."} 
[2026-07-07 10:42:28] local.INFO: Processing buffer {"connection_id":126324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afc5ff0012d0e1b40071db968002700e71e..."} 
[2026-07-07 10:42:28] local.INFO: Packet analysis {"connection_id":126324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afc"} 
[2026-07-07 10:42:28] local.INFO: Extracted packet for processing {"connection_id":126324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afc"} 
[2026-07-07 10:42:28] local.INFO: GPS Element Parsed {"raw_longitude":755899200,"raw_latitude":119388520,"longitude_deg":75.58992,"latitude_deg":11.938852,"altitude":39,"angle":231,"satellites":30,"speed":33,"hex_longitude":"2d0e1b40","hex_latitude":"071db968","is_valid_coordinates":true} 
[2026-07-07 10:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550665216001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025131895744772096,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4782282875338752,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 10:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783401046000,"timestamp_ms":1783401046000,"timestamp_seconds":1783401046,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afc5ff0"} 
[2026-07-07 10:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-07 10:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1257,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550665216001,"66":14374,"45":1025131895744772096,"28":31744,"24":33,"16":4782282875338752},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,28,24,16]} 
[2026-07-07 10:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550665216001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025131895744772096,"description":"Unknown IO ID 45"} 
[2026-07-07 10:42:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4782282875338752,"km_value":4782282875338.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:42:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456550665216001,"power":14374,"unknown_45":1025131895744772096,"unknown_28":31744,"ignition":33,"odometer":null}} 
[2026-07-07 10:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":126324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:42:28] local.INFO: GPS data processed {"connection_id":126324,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:42:28] local.INFO: Acknowledgment sent {"connection_id":126324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:42:33] local.INFO: TCP Data received {"connection_id":124384,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:42:33] local.INFO: Processing buffer {"connection_id":124384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afa6fd8012d7d0a8005ec3c680011005720..."} 
[2026-07-07 10:42:33] local.INFO: Packet analysis {"connection_id":124384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:42:33] local.INFO: Extracted packet for processing {"connection_id":124384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afa"} 
[2026-07-07 10:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368040,"longitude_deg":76.3169408,"latitude_deg":9.936804,"altitude":17,"angle":87,"satellites":32,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3c68","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550558208001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434672128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783400919000,"timestamp_ms":1783400919000,"timestamp_seconds":1783400919,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afa6fd8"} 
[2026-07-07 10:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 10:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 10:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 10:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 10:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550558208001,"66":2253,"110":206,"87":13824,"24":0,"16":103295552606699520,"45":9010154767434672128},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 10:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 10:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550558208001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:42:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:42:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434672128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550558208001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434672128}} 
[2026-07-07 10:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":124384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:42:33] local.INFO: GPS data processed {"connection_id":124384,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:42:33] local.INFO: Acknowledgment sent {"connection_id":124384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:42:36] local.INFO: TCP Data received {"connection_id":124385,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afbfe48012d7d19c005f2aa90000a00ac2c..."} 
[2026-07-07 10:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afbfe48012d7d19c005f2aa90000a00ac2c..."} 
[2026-07-07 10:42:36] local.INFO: Processing buffer {"connection_id":124385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afbfe48012d7d19c005f2aa90000a00ac2c..."} 
[2026-07-07 10:42:36] local.INFO: Packet analysis {"connection_id":124385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afb"} 
[2026-07-07 10:42:36] local.INFO: Extracted packet for processing {"connection_id":124385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afb"} 
[2026-07-07 10:42:36] local.INFO: GPS Element Parsed {"raw_longitude":763173312,"raw_latitude":99789456,"longitude_deg":76.3173312,"latitude_deg":9.9789456,"altitude":10,"angle":172,"satellites":44,"speed":28,"hex_longitude":"2d7d19c0","hex_latitude":"05f2aa90","is_valid_coordinates":true} 
[2026-07-07 10:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550656000001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340908669728194560,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013180623544250368,"note":"Value kept but may cause issues"} 
[2026-07-07 10:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783401021000,"timestamp_ms":1783401021000,"timestamp_seconds":1783401021,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afbfe48"} 
[2026-07-07 10:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:42: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-07-07 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 10:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550656000001,"66":27865,"28":206,"87":13056,"24":28,"16":340908669728194560,"45":9013180623544250368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,87,24,16,45]} 
[2026-07-07 10:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550656000001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:42:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-07 10:42:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-07-07 10:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340908669728194560,"km_value":340908669728194.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013180623544250368,"description":"Unknown IO ID 45"} 
[2026-07-07 10:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550656000001,"power":27865,"unknown_28":206,"unknown_87":13056,"ignition":28,"odometer":null,"unknown_45":9013180623544250368}} 
[2026-07-07 10:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":124385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:42:36] local.INFO: GPS data processed {"connection_id":124385,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:42:36] local.INFO: Acknowledgment sent {"connection_id":124385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:42:59] local.INFO: TCP Data received {"connection_id":125087,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:42:59] local.INFO: Processing buffer {"connection_id":125087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:42:59] local.INFO: IMEI packet received {"connection_id":125087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":125087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:43:00] local.INFO: TCP Data received {"connection_id":125087,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:43:00] local.INFO: Processing buffer {"connection_id":125087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:43:00] local.INFO: IMEI packet received {"connection_id":125087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":125087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:43:04] local.INFO: TCP Data received {"connection_id":125087,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:43:04] local.INFO: Processing buffer {"connection_id":125087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:43:04] local.INFO: IMEI packet received {"connection_id":125087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":125087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:43:04] local.INFO: TCP Data received {"connection_id":126324,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afc7760012d0e0c40071daae0002700dc1f..."} 
[2026-07-07 10:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afc7760012d0e0c40071daae0002700dc1f..."} 
[2026-07-07 10:43:04] local.INFO: Processing buffer {"connection_id":126324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afc7760012d0e0c40071daae0002700dc1f..."} 
[2026-07-07 10:43:04] local.INFO: Packet analysis {"connection_id":126324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afc"} 
[2026-07-07 10:43:04] local.INFO: Extracted packet for processing {"connection_id":126324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afc"} 
[2026-07-07 10:43:04] local.INFO: GPS Element Parsed {"raw_longitude":755895360,"raw_latitude":119384800,"longitude_deg":75.589536,"latitude_deg":11.93848,"altitude":39,"angle":220,"satellites":31,"speed":35,"hex_longitude":"2d0e0c40","hex_latitude":"071daae0","is_valid_coordinates":true} 
[2026-07-07 10:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550667776001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1016476540209817600,"note":"Value kept but may cause issues"} 
[2026-07-07 10:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4782540573376512,"note":"Value kept but may cause issues"} 
[2026-07-07 10:43:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 10:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783401052000,"timestamp_ms":1783401052000,"timestamp_seconds":1783401052,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afc7760"} 
[2026-07-07 10:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:43: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-07-07 10:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 10:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550667776001,"66":14374,"45":1016476540209817600,"28":31744,"24":35,"16":4782540573376512},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,28,24,16]} 
[2026-07-07 10:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550667776001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1016476540209817600,"description":"Unknown IO ID 45"} 
[2026-07-07 10:43:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4782540573376512,"km_value":4782540573376.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:43:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456550667776001,"power":14374,"unknown_45":1016476540209817600,"unknown_28":31744,"ignition":35,"odometer":null}} 
[2026-07-07 10:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":126324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:43:04] local.INFO: GPS data processed {"connection_id":126324,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:43:04] local.INFO: Acknowledgment sent {"connection_id":126324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:43:05] local.INFO: TCP Data received {"connection_id":125087,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afd9488012d7d3e0005f11560001100b02d..."} 
[2026-07-07 10:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afd9488012d7d3e0005f11560001100b02d..."} 
[2026-07-07 10:43:05] local.INFO: Processing buffer {"connection_id":125087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afd9488012d7d3e0005f11560001100b02d..."} 
[2026-07-07 10:43:05] local.INFO: Packet analysis {"connection_id":125087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afd"} 
[2026-07-07 10:43:05] local.INFO: Extracted packet for processing {"connection_id":125087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afd"} 
[2026-07-07 10:43:05] local.INFO: GPS Element Parsed {"raw_longitude":763182592,"raw_latitude":99685728,"longitude_deg":76.3182592,"latitude_deg":9.9685728,"altitude":17,"angle":176,"satellites":45,"speed":44,"hex_longitude":"2d7d3e00","hex_latitude":"05f11560","is_valid_coordinates":true} 
[2026-07-07 10:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550685696001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340913720609734656,"note":"Value kept but may cause issues"} 
[2026-07-07 10:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023876672633085952,"note":"Value kept but may cause issues"} 
[2026-07-07 10:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783401125000,"timestamp_ms":1783401125000,"timestamp_seconds":1783401125,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afd9488"} 
[2026-07-07 10:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 10:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550685696001,"66":27865,"110":206,"87":11264,"24":44,"16":340913720609734656,"45":9023876672633085952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550685696001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:43:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:43:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-07-07 10:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340913720609734656,"km_value":340913720609734.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023876672633085952,"description":"Unknown IO ID 45"} 
[2026-07-07 10:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550685696001,"power":27865,"unknown_110":206,"unknown_87":11264,"ignition":44,"odometer":null,"unknown_45":9023876672633085952}} 
[2026-07-07 10:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":125087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:43:05] local.INFO: GPS data processed {"connection_id":125087,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:43:05] local.INFO: Acknowledgment sent {"connection_id":125087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:43:36] local.INFO: TCP Data received {"connection_id":125087,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afdb3c8012d7d3fc005f0f180001000b02d..."} 
[2026-07-07 10:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afdb3c8012d7d3fc005f0f180001000b02d..."} 
[2026-07-07 10:43:36] local.INFO: Processing buffer {"connection_id":125087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afdb3c8012d7d3fc005f0f180001000b02d..."} 
[2026-07-07 10:43:36] local.INFO: Packet analysis {"connection_id":125087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afd"} 
[2026-07-07 10:43:36] local.INFO: Extracted packet for processing {"connection_id":125087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afd"} 
[2026-07-07 10:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99676544,"longitude_deg":76.318304,"latitude_deg":9.9676544,"altitude":16,"angle":176,"satellites":45,"speed":47,"hex_longitude":"2d7d3fc0","hex_latitude":"05f0f180","is_valid_coordinates":true} 
[2026-07-07 10:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550688000001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340914167286333440,"note":"Value kept but may cause issues"} 
[2026-07-07 10:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024650728816599040,"note":"Value kept but may cause issues"} 
[2026-07-07 10:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783401133000,"timestamp_ms":1783401133000,"timestamp_seconds":1783401133,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afdb3c8"} 
[2026-07-07 10:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:43: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-07-07 10:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 10:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550688000001,"66":27919,"110":206,"87":11264,"24":47,"16":340914167286333440,"45":9024650728816599040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550688000001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:43:36] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:43:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-07-07 10:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340914167286333440,"km_value":340914167286333.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024650728816599040,"description":"Unknown IO ID 45"} 
[2026-07-07 10:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550688000001,"power":27919,"unknown_110":206,"unknown_87":11264,"ignition":47,"odometer":null,"unknown_45":9024650728816599040}} 
[2026-07-07 10:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":125087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:43:36] local.INFO: GPS data processed {"connection_id":125087,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:43:36] local.INFO: Acknowledgment sent {"connection_id":125087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:43:56] local.INFO: TCP Data received {"connection_id":126325,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:43:56] local.INFO: Processing buffer {"connection_id":126325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:43:56] local.INFO: IMEI packet received {"connection_id":126325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":126325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:43:57] local.INFO: TCP Data received {"connection_id":124386,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:43:57] local.INFO: Processing buffer {"connection_id":124386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:43:57] local.INFO: IMEI packet received {"connection_id":124386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":124386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:43:59] local.INFO: TCP Data received {"connection_id":126325,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:43:59] local.INFO: Processing buffer {"connection_id":126325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:43:59] local.INFO: IMEI packet received {"connection_id":126325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":126325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:43:59] local.INFO: TCP Data received {"connection_id":124386,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:43:59] local.INFO: Processing buffer {"connection_id":124386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:43:59] local.INFO: IMEI packet received {"connection_id":124386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":124386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:44:01] local.INFO: TCP Data received {"connection_id":126325,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:44:01] local.INFO: Processing buffer {"connection_id":126325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:44:01] local.INFO: IMEI packet received {"connection_id":126325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":126325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:44:04] local.INFO: TCP Data received {"connection_id":124386,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:44:04] local.INFO: Processing buffer {"connection_id":124386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:44:04] local.INFO: IMEI packet received {"connection_id":124386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":124386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:44:05] local.INFO: TCP Data received {"connection_id":124386,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afdd308012d7d414005f0cd78000c00b22c..."} 
[2026-07-07 10:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afdd308012d7d414005f0cd78000c00b22c..."} 
[2026-07-07 10:44:05] local.INFO: Processing buffer {"connection_id":124386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afdd308012d7d414005f0cd78000c00b22c..."} 
[2026-07-07 10:44:05] local.INFO: Packet analysis {"connection_id":124386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afd"} 
[2026-07-07 10:44:05] local.INFO: Extracted packet for processing {"connection_id":124386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afd"} 
[2026-07-07 10:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763183424,"raw_latitude":99667320,"longitude_deg":76.3183424,"latitude_deg":9.966732,"altitude":12,"angle":178,"satellites":44,"speed":41,"hex_longitude":"2d7d4140","hex_latitude":"05f0cd78","is_valid_coordinates":true} 
[2026-07-07 10:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550690048001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340914613962932224,"note":"Value kept but may cause issues"} 
[2026-07-07 10:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143310023491584,"note":"Value kept but may cause issues"} 
[2026-07-07 10:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783401141000,"timestamp_ms":1783401141000,"timestamp_seconds":1783401141,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afdd308"} 
[2026-07-07 10:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 10:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550690048001,"66":27919,"110":206,"87":11264,"24":41,"16":340914613962932224,"45":9025143310023491584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550690048001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:44:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:44:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-07-07 10:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340914613962932224,"km_value":340914613962932.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143310023491584,"description":"Unknown IO ID 45"} 
[2026-07-07 10:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550690048001,"power":27919,"unknown_110":206,"unknown_87":11264,"ignition":41,"odometer":null,"unknown_45":9025143310023491584}} 
[2026-07-07 10:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":124386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:44:05] local.INFO: GPS data processed {"connection_id":124386,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:44:05] local.INFO: Acknowledgment sent {"connection_id":124386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:44:06] local.INFO: TCP Data received {"connection_id":126325,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afe28f8012d0ccd40071caf68003500fd20..."} 
[2026-07-07 10:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afe28f8012d0ccd40071caf68003500fd20..."} 
[2026-07-07 10:44:06] local.INFO: Processing buffer {"connection_id":126325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afe28f8012d0ccd40071caf68003500fd20..."} 
[2026-07-07 10:44:06] local.INFO: Packet analysis {"connection_id":126325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afe"} 
[2026-07-07 10:44:06] local.INFO: Extracted packet for processing {"connection_id":126325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afe"} 
[2026-07-07 10:44:06] local.INFO: GPS Element Parsed {"raw_longitude":755813696,"raw_latitude":119320424,"longitude_deg":75.5813696,"latitude_deg":11.9320424,"altitude":53,"angle":253,"satellites":32,"speed":30,"hex_longitude":"2d0ccd40","hex_latitude":"071caf68","is_valid_coordinates":true} 
[2026-07-07 10:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550694912001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4787587159949312,"note":"Value kept but may cause issues"} 
[2026-07-07 10:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":931752572203487232,"note":"Value kept but may cause issues"} 
[2026-07-07 10:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783401163000,"timestamp_ms":1783401163000,"timestamp_seconds":1783401163,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afe28f8"} 
[2026-07-07 10:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-07-07 10:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2337,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550694912001,"66":14613,"6":206,"28":31744,"24":30,"16":4787587159949312,"45":931752572203487232},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,28,24,16,45]} 
[2026-07-07 10:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550694912001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:44:06] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-07 10:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4787587159949312,"km_value":4787587159949.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":931752572203487232,"description":"Unknown IO ID 45"} 
[2026-07-07 10:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550694912001,"power":14613,"unknown_6":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":931752572203487232}} 
[2026-07-07 10:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":126325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:44:06] local.INFO: GPS data processed {"connection_id":126325,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:44:06] local.INFO: Acknowledgment sent {"connection_id":126325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:44:26] local.INFO: TCP Data received {"connection_id":124387,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:44:26] local.INFO: Processing buffer {"connection_id":124387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:44:26] local.INFO: IMEI packet received {"connection_id":124387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":124387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:44:32] local.INFO: TCP Data received {"connection_id":124387,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:44:32] local.INFO: Processing buffer {"connection_id":124387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:44:32] local.INFO: IMEI packet received {"connection_id":124387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":124387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:44:33] local.INFO: TCP Data received {"connection_id":124387,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afe28f8012d0ccd40071caf68003500fd20..."} 
[2026-07-07 10:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afe28f8012d0ccd40071caf68003500fd20..."} 
[2026-07-07 10:44:33] local.INFO: Processing buffer {"connection_id":124387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afe28f8012d0ccd40071caf68003500fd20..."} 
[2026-07-07 10:44:33] local.INFO: Packet analysis {"connection_id":124387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afe"} 
[2026-07-07 10:44:33] local.INFO: Extracted packet for processing {"connection_id":124387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afe"} 
[2026-07-07 10:44:33] local.INFO: GPS Element Parsed {"raw_longitude":755813696,"raw_latitude":119320424,"longitude_deg":75.5813696,"latitude_deg":11.9320424,"altitude":53,"angle":253,"satellites":32,"speed":30,"hex_longitude":"2d0ccd40","hex_latitude":"071caf68","is_valid_coordinates":true} 
[2026-07-07 10:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550697728001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4787587159949312,"note":"Value kept but may cause issues"} 
[2026-07-07 10:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":922463897971025920,"note":"Value kept but may cause issues"} 
[2026-07-07 10:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783401163000,"timestamp_ms":1783401163000,"timestamp_seconds":1783401163,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afe28f8"} 
[2026-07-07 10:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-07 10:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550697728001,"66":14613,"6":206,"28":31744,"24":30,"16":4787587159949312,"45":922463897971025920},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,28,24,16,45]} 
[2026-07-07 10:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550697728001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:44:33] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-07 10:44:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4787587159949312,"km_value":4787587159949.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":922463897971025920,"description":"Unknown IO ID 45"} 
[2026-07-07 10:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550697728001,"power":14613,"unknown_6":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":922463897971025920}} 
[2026-07-07 10:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":124387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:44:33] local.INFO: GPS data processed {"connection_id":124387,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:44:33] local.INFO: Acknowledgment sent {"connection_id":124387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:44:37] local.INFO: TCP Data received {"connection_id":124386,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afdfa18012d7d418005f0a690000800b02d..."} 
[2026-07-07 10:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afdfa18012d7d418005f0a690000800b02d..."} 
[2026-07-07 10:44:37] local.INFO: Processing buffer {"connection_id":124386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afdfa18012d7d418005f0a690000800b02d..."} 
[2026-07-07 10:44:37] local.INFO: Packet analysis {"connection_id":124386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afd"} 
[2026-07-07 10:44:37] local.INFO: Extracted packet for processing {"connection_id":124386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afd"} 
[2026-07-07 10:44:37] local.INFO: GPS Element Parsed {"raw_longitude":763183488,"raw_latitude":99657360,"longitude_deg":76.3183488,"latitude_deg":9.965736,"altitude":8,"angle":176,"satellites":45,"speed":45,"hex_longitude":"2d7d4180","hex_latitude":"05f0a690","is_valid_coordinates":true} 
[2026-07-07 10:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550692096001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340915099294236672,"note":"Value kept but may cause issues"} 
[2026-07-07 10:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025565522486196224,"note":"Value kept but may cause issues"} 
[2026-07-07 10:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783401151000,"timestamp_ms":1783401151000,"timestamp_seconds":1783401151,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afdfa18"} 
[2026-07-07 10:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:44: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-07-07 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 10:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550692096001,"66":27865,"110":206,"87":11264,"24":45,"16":340915099294236672,"45":9025565522486196224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550692096001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:44:37] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:44:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-07-07 10:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340915099294236672,"km_value":340915099294236.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025565522486196224,"description":"Unknown IO ID 45"} 
[2026-07-07 10:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550692096001,"power":27865,"unknown_110":206,"unknown_87":11264,"ignition":45,"odometer":null,"unknown_45":9025565522486196224}} 
[2026-07-07 10:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":124386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:44:37] local.INFO: GPS data processed {"connection_id":124386,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:44:37] local.INFO: Acknowledgment sent {"connection_id":124386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:44:58] local.INFO: TCP Data received {"connection_id":126327,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:44:58] local.INFO: Processing buffer {"connection_id":126327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:44:58] local.INFO: IMEI packet received {"connection_id":126327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":126327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:44:59] local.INFO: TCP Data received {"connection_id":126327,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:44:59] local.INFO: Processing buffer {"connection_id":126327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:44:59] local.INFO: IMEI packet received {"connection_id":126327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":126327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:45:04] local.INFO: TCP Data received {"connection_id":126327,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:45:04] local.INFO: Processing buffer {"connection_id":126327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:45:04] local.INFO: IMEI packet received {"connection_id":126327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":126327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:45:05] local.INFO: TCP Data received {"connection_id":126327,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afe1958012d7d43c005f08150000800b02c..."} 
[2026-07-07 10:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afe1958012d7d43c005f08150000800b02c..."} 
[2026-07-07 10:45:05] local.INFO: Processing buffer {"connection_id":126327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afe1958012d7d43c005f08150000800b02c..."} 
[2026-07-07 10:45:05] local.INFO: Packet analysis {"connection_id":126327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afe"} 
[2026-07-07 10:45:05] local.INFO: Extracted packet for processing {"connection_id":126327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afe"} 
[2026-07-07 10:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763184064,"raw_latitude":99647824,"longitude_deg":76.3184064,"latitude_deg":9.9647824,"altitude":8,"angle":176,"satellites":44,"speed":46,"hex_longitude":"2d7d43c0","hex_latitude":"05f08150","is_valid_coordinates":true} 
[2026-07-07 10:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550694656001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340915558855737344,"note":"Value kept but may cause issues"} 
[2026-07-07 10:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025635891227824128,"note":"Value kept but may cause issues"} 
[2026-07-07 10:45:05] 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-07-07 10:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783401159000,"timestamp_ms":1783401159000,"timestamp_seconds":1783401159,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afe1958"} 
[2026-07-07 10:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 10:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550694656001,"66":27930,"108":206,"87":11264,"24":46,"16":340915558855737344,"45":9025635891227824128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-07-07 10:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550694656001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:45:05] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-07 10:45:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-07-07 10:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340915558855737344,"km_value":340915558855737.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025635891227824128,"description":"Unknown IO ID 45"} 
[2026-07-07 10:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550694656001,"power":27930,"unknown_108":206,"unknown_87":11264,"ignition":46,"odometer":null,"unknown_45":9025635891227824128}} 
[2026-07-07 10:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":126327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:45:05] local.INFO: GPS data processed {"connection_id":126327,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:45:05] local.INFO: Acknowledgment sent {"connection_id":126327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:45:05] local.INFO: TCP Data received {"connection_id":124387,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afe4068012d0cbac0071cac000036010821..."} 
[2026-07-07 10:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afe4068012d0cbac0071cac000036010821..."} 
[2026-07-07 10:45:05] local.INFO: Processing buffer {"connection_id":124387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afe4068012d0cbac0071cac000036010821..."} 
[2026-07-07 10:45:05] local.INFO: Packet analysis {"connection_id":124387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afe"} 
[2026-07-07 10:45:05] local.INFO: Extracted packet for processing {"connection_id":124387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afe"} 
[2026-07-07 10:45:05] local.INFO: GPS Element Parsed {"raw_longitude":755808960,"raw_latitude":119319552,"longitude_deg":75.580896,"latitude_deg":11.9319552,"altitude":54,"angle":264,"satellites":33,"speed":32,"hex_longitude":"2d0cbac0","hex_latitude":"071cac00","is_valid_coordinates":true} 
[2026-07-07 10:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550697728001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4787814793216000,"note":"Value kept but may cause issues"} 
[2026-07-07 10:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":922463897971025920,"note":"Value kept but may cause issues"} 
[2026-07-07 10:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783401169000,"timestamp_ms":1783401169000,"timestamp_seconds":1783401169,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afe4068"} 
[2026-07-07 10:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-07 10:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550697728001,"66":14798,"6":206,"28":31744,"24":32,"16":4787814793216000,"45":922463897971025920},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,28,24,16,45]} 
[2026-07-07 10:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550697728001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:45:05] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-07 10:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4787814793216000,"km_value":4787814793216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":922463897971025920,"description":"Unknown IO ID 45"} 
[2026-07-07 10:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550697728001,"power":14798,"unknown_6":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":922463897971025920}} 
[2026-07-07 10:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":124387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:45:05] local.INFO: GPS data processed {"connection_id":124387,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:45:05] local.INFO: Acknowledgment sent {"connection_id":124387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:45:21] local.INFO: TCP Data received {"connection_id":124388,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:45:21] local.INFO: Processing buffer {"connection_id":124388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:45:21] local.INFO: IMEI packet received {"connection_id":124388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":124388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:45:26] local.INFO: TCP Data received {"connection_id":124388,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:45:26] local.INFO: Processing buffer {"connection_id":124388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:45:26] local.INFO: IMEI packet received {"connection_id":124388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":124388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:45:28] local.INFO: TCP Data received {"connection_id":124388,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afe5fa8012d0ca100071cac880035011320..."} 
[2026-07-07 10:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afe5fa8012d0ca100071cac880035011320..."} 
[2026-07-07 10:45:28] local.INFO: Processing buffer {"connection_id":124388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afe5fa8012d0ca100071cac880035011320..."} 
[2026-07-07 10:45:28] local.INFO: Packet analysis {"connection_id":124388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3afe"} 
[2026-07-07 10:45:28] local.INFO: Extracted packet for processing {"connection_id":124388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3afe"} 
[2026-07-07 10:45:28] local.INFO: GPS Element Parsed {"raw_longitude":755802368,"raw_latitude":119319688,"longitude_deg":75.5802368,"latitude_deg":11.9319688,"altitude":53,"angle":275,"satellites":32,"speed":30,"hex_longitude":"2d0ca100","hex_latitude":"071cac88","is_valid_coordinates":true} 
[2026-07-07 10:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550699264001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4788124030861312,"note":"Value kept but may cause issues"} 
[2026-07-07 10:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917256610901655552,"note":"Value kept but may cause issues"} 
[2026-07-07 10:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783401177000,"timestamp_ms":1783401177000,"timestamp_seconds":1783401177,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afe5fa8"} 
[2026-07-07 10:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-07-07 10:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2337,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550699264001,"66":14559,"6":206,"28":31744,"24":30,"16":4788124030861312,"45":917256610901655552},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,28,24,16,45]} 
[2026-07-07 10:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550699264001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:45:28] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-07 10:45:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4788124030861312,"km_value":4788124030861.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":917256610901655552,"description":"Unknown IO ID 45"} 
[2026-07-07 10:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550699264001,"power":14559,"unknown_6":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":917256610901655552}} 
[2026-07-07 10:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":124388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:45:28] local.INFO: GPS data processed {"connection_id":124388,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:45:28] local.INFO: Acknowledgment sent {"connection_id":124388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:45:37] local.INFO: TCP Data received {"connection_id":126327,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3affda90012d7d454005eecbb0000c00b430..."} 
[2026-07-07 10:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3affda90012d7d454005eecbb0000c00b430..."} 
[2026-07-07 10:45:37] local.INFO: Processing buffer {"connection_id":126327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3affda90012d7d454005eecbb0000c00b430..."} 
[2026-07-07 10:45:37] local.INFO: Packet analysis {"connection_id":126327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aff"} 
[2026-07-07 10:45:37] local.INFO: Extracted packet for processing {"connection_id":126327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aff"} 
[2026-07-07 10:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763184448,"raw_latitude":99535792,"longitude_deg":76.3184448,"latitude_deg":9.9535792,"altitude":12,"angle":180,"satellites":48,"speed":37,"hex_longitude":"2d7d4540","hex_latitude":"05eecbb0","is_valid_coordinates":true} 
[2026-07-07 10:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550722560001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340920996284334080,"note":"Value kept but may cause issues"} 
[2026-07-07 10:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027184003571081216,"note":"Value kept but may cause issues"} 
[2026-07-07 10:45:37] 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-07-07 10:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783401274000,"timestamp_ms":1783401274000,"timestamp_seconds":1783401274,"priority":1,"record_length":96,"hex_timestamp":"0000019f3affda90"} 
[2026-07-07 10:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-07 10:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550722560001,"66":27767,"87":13824,"24":37,"16":340920996284334080,"45":9027184003571081216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-07-07 10:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550722560001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:45:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340920996284334080,"km_value":340920996284334.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027184003571081216,"description":"Unknown IO ID 45"} 
[2026-07-07 10:45:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456550722560001,"power":27767,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":9027184003571081216}} 
[2026-07-07 10:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":126327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:45:37] local.INFO: GPS data processed {"connection_id":126327,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:45:37] local.INFO: Acknowledgment sent {"connection_id":126327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:45:59] local.INFO: TCP Data received {"connection_id":126329,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:45:59] local.INFO: Processing buffer {"connection_id":126329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:45:59] local.INFO: IMEI packet received {"connection_id":126329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":126329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:45:59] local.INFO: TCP Data received {"connection_id":124388,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b007ea0012d0b7000071c9400003a00ce1e..."} 
[2026-07-07 10:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b007ea0012d0b7000071c9400003a00ce1e..."} 
[2026-07-07 10:45:59] local.INFO: Processing buffer {"connection_id":124388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b007ea0012d0b7000071c9400003a00ce1e..."} 
[2026-07-07 10:45:59] local.INFO: Packet analysis {"connection_id":124388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b00"} 
[2026-07-07 10:45:59] local.INFO: Extracted packet for processing {"connection_id":124388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b00"} 
[2026-07-07 10:45:59] local.INFO: GPS Element Parsed {"raw_longitude":755724288,"raw_latitude":119313408,"longitude_deg":75.5724288,"latitude_deg":11.9313408,"altitude":58,"angle":206,"satellites":30,"speed":19,"hex_longitude":"2d0b7000","hex_latitude":"071c9400","is_valid_coordinates":true} 
[2026-07-07 10:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550735104001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4791998091362304,"note":"Value kept but may cause issues"} 
[2026-07-07 10:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":826340193423286272,"note":"Value kept but may cause issues"} 
[2026-07-07 10:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783401316000,"timestamp_ms":1783401316000,"timestamp_seconds":1783401316,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b007ea0"} 
[2026-07-07 10:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":58,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-07 10:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":920,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":124388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":124388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":124388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550735104001,"66":14461,"14":206,"28":31744,"24":19,"16":4791998091362304,"45":826340193423286272},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550735104001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:45:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:45:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4791998091362304,"km_value":4791998091362.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":826340193423286272,"description":"Unknown IO ID 45"} 
[2026-07-07 10:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550735104001,"power":14461,"unknown_14":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":826340193423286272}} 
[2026-07-07 10:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":124388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:45:59] local.INFO: GPS data processed {"connection_id":124388,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:45:59] local.INFO: Acknowledgment sent {"connection_id":124388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:46:00] local.INFO: TCP Data received {"connection_id":126329,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:46:00] local.INFO: Processing buffer {"connection_id":126329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:46:00] local.INFO: IMEI packet received {"connection_id":126329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":126329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:46:04] local.INFO: TCP Data received {"connection_id":126329,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:46:04] local.INFO: Processing buffer {"connection_id":126329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:46:04] local.INFO: IMEI packet received {"connection_id":126329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":126329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:46:05] local.INFO: TCP Data received {"connection_id":126329,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3afffdb8012d7d444005eea680000a00b530..."} 
[2026-07-07 10:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3afffdb8012d7d444005eea680000a00b530..."} 
[2026-07-07 10:46:05] local.INFO: Processing buffer {"connection_id":126329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3afffdb8012d7d444005eea680000a00b530..."} 
[2026-07-07 10:46:05] local.INFO: Packet analysis {"connection_id":126329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3aff"} 
[2026-07-07 10:46:05] local.INFO: Extracted packet for processing {"connection_id":126329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3aff"} 
[2026-07-07 10:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763184192,"raw_latitude":99526272,"longitude_deg":76.3184192,"latitude_deg":9.9526272,"altitude":10,"angle":181,"satellites":48,"speed":45,"hex_longitude":"2d7d4440","hex_latitude":"05eea680","is_valid_coordinates":true} 
[2026-07-07 10:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550726144001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340921460140802048,"note":"Value kept but may cause issues"} 
[2026-07-07 10:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026691422359367680,"note":"Value kept but may cause issues"} 
[2026-07-07 10:46:05] 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-07-07 10:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783401283000,"timestamp_ms":1783401283000,"timestamp_seconds":1783401283,"priority":1,"record_length":96,"hex_timestamp":"0000019f3afffdb8"} 
[2026-07-07 10:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 10:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550726144001,"66":27919,"87":13824,"24":45,"16":340921460140802048,"45":9026691422359367680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-07-07 10:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550726144001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:46:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340921460140802048,"km_value":340921460140802.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026691422359367680,"description":"Unknown IO ID 45"} 
[2026-07-07 10:46:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456550726144001,"power":27919,"unknown_87":13824,"ignition":45,"odometer":null,"unknown_45":9026691422359367680}} 
[2026-07-07 10:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":126329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:46:05] local.INFO: GPS data processed {"connection_id":126329,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:46:05] local.INFO: Acknowledgment sent {"connection_id":126329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:46:23] local.INFO: TCP Data received {"connection_id":124299,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:46:23] local.INFO: Processing buffer {"connection_id":124299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:46:23] local.INFO: IMEI packet received {"connection_id":124299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":124299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:46:24] local.INFO: TCP Data received {"connection_id":124299,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:46:24] local.INFO: Processing buffer {"connection_id":124299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:46:24] local.INFO: IMEI packet received {"connection_id":124299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":124299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:46:24] local.INFO: TCP Data received {"connection_id":126328,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126328,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:46:24] local.INFO: Processing buffer {"connection_id":126328,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:46:24] local.INFO: IMEI packet received {"connection_id":126328,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 10:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":126328,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:46:26] local.INFO: TCP Data received {"connection_id":124299,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:46:26] local.INFO: Processing buffer {"connection_id":124299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:46:26] local.INFO: IMEI packet received {"connection_id":124299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":124299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:46:29] local.INFO: TCP Data received {"connection_id":124299,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:46:29] local.INFO: Processing buffer {"connection_id":124299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:46:29] local.INFO: IMEI packet received {"connection_id":124299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":124299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:46:30] local.INFO: TCP Data received {"connection_id":124299,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b008670012d0b6ec0071c9098003a00c11f..."} 
[2026-07-07 10:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b008670012d0b6ec0071c9098003a00c11f..."} 
[2026-07-07 10:46:30] local.INFO: Processing buffer {"connection_id":124299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b008670012d0b6ec0071c9098003a00c11f..."} 
[2026-07-07 10:46:30] local.INFO: Packet analysis {"connection_id":124299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b00"} 
[2026-07-07 10:46:30] local.INFO: Extracted packet for processing {"connection_id":124299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b00"} 
[2026-07-07 10:46:30] local.INFO: GPS Element Parsed {"raw_longitude":755723968,"raw_latitude":119312536,"longitude_deg":75.5723968,"latitude_deg":11.9312536,"altitude":58,"angle":193,"satellites":31,"speed":17,"hex_longitude":"2d0b6ec0","hex_latitude":"071c9098","is_valid_coordinates":true} 
[2026-07-07 10:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550736896001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4792045336002560,"note":"Value kept but may cause issues"} 
[2026-07-07 10:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824158762353033216,"note":"Value kept but may cause issues"} 
[2026-07-07 10:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783401318000,"timestamp_ms":1783401318000,"timestamp_seconds":1783401318,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b008670"} 
[2026-07-07 10:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 10:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550736896001,"66":14461,"14":206,"28":31744,"24":17,"16":4792045336002560,"45":824158762353033216},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550736896001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:46:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:46:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4792045336002560,"km_value":4792045336002.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":824158762353033216,"description":"Unknown IO ID 45"} 
[2026-07-07 10:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550736896001,"power":14461,"unknown_14":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":824158762353033216}} 
[2026-07-07 10:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":124299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:46:30] local.INFO: GPS data processed {"connection_id":124299,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:46:30] local.INFO: Acknowledgment sent {"connection_id":124299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:46:32] local.INFO: TCP Data received {"connection_id":124299,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0099f8012d0b6dc0071c89f8003900b51f..."} 
[2026-07-07 10:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0099f8012d0b6dc0071c89f8003900b51f..."} 
[2026-07-07 10:46:32] local.INFO: Processing buffer {"connection_id":124299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0099f8012d0b6dc0071c89f8003900b51f..."} 
[2026-07-07 10:46:32] local.INFO: Packet analysis {"connection_id":124299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b00"} 
[2026-07-07 10:46:32] local.INFO: Extracted packet for processing {"connection_id":124299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b00"} 
[2026-07-07 10:46:32] local.INFO: GPS Element Parsed {"raw_longitude":755723712,"raw_latitude":119310840,"longitude_deg":75.5723712,"latitude_deg":11.931084,"altitude":57,"angle":181,"satellites":31,"speed":7,"hex_longitude":"2d0b6dc0","hex_latitude":"071c89f8","is_valid_coordinates":true} 
[2026-07-07 10:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550737408001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4792126940381184,"note":"Value kept but may cause issues"} 
[2026-07-07 10:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823806918631921664,"note":"Value kept but may cause issues"} 
[2026-07-07 10:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783401323000,"timestamp_ms":1783401323000,"timestamp_seconds":1783401323,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0099f8"} 
[2026-07-07 10:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 10:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550737408001,"66":14515,"14":206,"28":31744,"24":7,"16":4792126940381184,"45":823806918631921664},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550737408001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:46:32] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:46:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4792126940381184,"km_value":4792126940381.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":823806918631921664,"description":"Unknown IO ID 45"} 
[2026-07-07 10:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550737408001,"power":14515,"unknown_14":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":823806918631921664}} 
[2026-07-07 10:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":124299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:46:32] local.INFO: GPS data processed {"connection_id":124299,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:46:32] local.INFO: Acknowledgment sent {"connection_id":124299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:46:37] local.INFO: TCP Data received {"connection_id":126329,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b001cf8012d7d43c005ee7ef0000800b430..."} 
[2026-07-07 10:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b001cf8012d7d43c005ee7ef0000800b430..."} 
[2026-07-07 10:46:37] local.INFO: Processing buffer {"connection_id":126329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b001cf8012d7d43c005ee7ef0000800b430..."} 
[2026-07-07 10:46:37] local.INFO: Packet analysis {"connection_id":126329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b00"} 
[2026-07-07 10:46:37] local.INFO: Extracted packet for processing {"connection_id":126329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b00"} 
[2026-07-07 10:46:37] local.INFO: GPS Element Parsed {"raw_longitude":763184064,"raw_latitude":99516144,"longitude_deg":76.3184064,"latitude_deg":9.9516144,"altitude":8,"angle":180,"satellites":48,"speed":54,"hex_longitude":"2d7d43c0","hex_latitude":"05ee7ef0","is_valid_coordinates":true} 
[2026-07-07 10:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550728448001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340921949767073792,"note":"Value kept but may cause issues"} 
[2026-07-07 10:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026409947380219904,"note":"Value kept but may cause issues"} 
[2026-07-07 10:46:37] 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-07-07 10:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783401291000,"timestamp_ms":1783401291000,"timestamp_seconds":1783401291,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b001cf8"} 
[2026-07-07 10:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 10:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550728448001,"66":27865,"255":206,"87":13824,"24":54,"16":340921949767073792,"45":9026409947380219904},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-07-07 10:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550728448001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:46:37] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-07 10:46:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340921949767073792,"km_value":340921949767073.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026409947380219904,"description":"Unknown IO ID 45"} 
[2026-07-07 10:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550728448001,"power":27865,"unknown_255":206,"unknown_87":13824,"ignition":54,"odometer":null,"unknown_45":9026409947380219904}} 
[2026-07-07 10:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":126329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:46:37] local.INFO: GPS data processed {"connection_id":126329,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:46:37] local.INFO: Acknowledgment sent {"connection_id":126329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:46:59] local.INFO: TCP Data received {"connection_id":125089,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:46:59] local.INFO: Processing buffer {"connection_id":125089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:46:59] local.INFO: IMEI packet received {"connection_id":125089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":125089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:46:59] local.INFO: TCP Data received {"connection_id":126330,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126330,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:46:59] local.INFO: Processing buffer {"connection_id":126330,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:46:59] local.INFO: IMEI packet received {"connection_id":126330,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 10:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":126330,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:47:03] local.INFO: TCP Data received {"connection_id":124299,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0174b8012d0b7280071c92b8003500b520..."} 
[2026-07-07 10:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0174b8012d0b7280071c92b8003500b520..."} 
[2026-07-07 10:47:03] local.INFO: Processing buffer {"connection_id":124299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0174b8012d0b7280071c92b8003500b520..."} 
[2026-07-07 10:47:03] local.INFO: Packet analysis {"connection_id":124299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b01"} 
[2026-07-07 10:47:03] local.INFO: Extracted packet for processing {"connection_id":124299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b01"} 
[2026-07-07 10:47:03] local.INFO: GPS Element Parsed {"raw_longitude":755724928,"raw_latitude":119313080,"longitude_deg":75.5724928,"latitude_deg":11.931308,"altitude":53,"angle":181,"satellites":32,"speed":8,"hex_longitude":"2d0b7280","hex_latitude":"071c92b8","is_valid_coordinates":true} 
[2026-07-07 10:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550752512001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4792668106260480,"note":"Value kept but may cause issues"} 
[2026-07-07 10:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824862449794822144,"note":"Value kept but may cause issues"} 
[2026-07-07 10:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783401379000,"timestamp_ms":1783401379000,"timestamp_seconds":1783401379,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0174b8"} 
[2026-07-07 10:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-07 10:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550752512001,"66":13906,"14":206,"28":31744,"24":8,"16":4792668106260480,"45":824862449794822144},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550752512001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:47:03] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:47:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4792668106260480,"km_value":4792668106260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":824862449794822144,"description":"Unknown IO ID 45"} 
[2026-07-07 10:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550752512001,"power":13906,"unknown_14":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":824862449794822144}} 
[2026-07-07 10:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":124299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:47:03] local.INFO: GPS data processed {"connection_id":124299,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:47:03] local.INFO: Acknowledgment sent {"connection_id":124299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:47:03] local.INFO: TCP Data received {"connection_id":125089,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:47:03] local.INFO: Processing buffer {"connection_id":125089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:47:03] local.INFO: IMEI packet received {"connection_id":125089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":125089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:47:04] local.INFO: TCP Data received {"connection_id":125089,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:47:04] local.INFO: Processing buffer {"connection_id":125089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:47:04] local.INFO: IMEI packet received {"connection_id":125089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":125089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:47:06] local.INFO: TCP Data received {"connection_id":125089,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b013e08012d7d3b0005ecedc0000700b52a..."} 
[2026-07-07 10:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b013e08012d7d3b0005ecedc0000700b52a..."} 
[2026-07-07 10:47:06] local.INFO: Processing buffer {"connection_id":125089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b013e08012d7d3b0005ecedc0000700b52a..."} 
[2026-07-07 10:47:06] local.INFO: Packet analysis {"connection_id":125089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b01"} 
[2026-07-07 10:47:06] local.INFO: Extracted packet for processing {"connection_id":125089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b01"} 
[2026-07-07 10:47:06] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":99413440,"longitude_deg":76.3181824,"latitude_deg":9.941344,"altitude":7,"angle":181,"satellites":42,"speed":58,"hex_longitude":"2d7d3b00","hex_latitude":"05ecedc0","is_valid_coordinates":true} 
[2026-07-07 10:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550747904001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340926931929137152,"note":"Value kept but may cause issues"} 
[2026-07-07 10:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017410051577856,"note":"Value kept but may cause issues"} 
[2026-07-07 10:47:06] 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-07-07 10:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783401365000,"timestamp_ms":1783401365000,"timestamp_seconds":1783401365,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b013e08"} 
[2026-07-07 10:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 10:47: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-07-07 10:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550747904001,"66":27865,"108":206,"87":13824,"24":58,"16":340926931929137152,"45":9024017410051577856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-07-07 10:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550747904001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:47:06] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-07 10:47:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340926931929137152,"km_value":340926931929137.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017410051577856,"description":"Unknown IO ID 45"} 
[2026-07-07 10:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550747904001,"power":27865,"unknown_108":206,"unknown_87":13824,"ignition":58,"odometer":null,"unknown_45":9024017410051577856}} 
[2026-07-07 10:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":125089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:47:06] local.INFO: GPS data processed {"connection_id":125089,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:47:06] local.INFO: Acknowledgment sent {"connection_id":125089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:47:10] local.INFO: TCP Data received {"connection_id":125089,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b015578012d7d3a4005eccab8000700b52a..."} 
[2026-07-07 10:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b015578012d7d3a4005eccab8000700b52a..."} 
[2026-07-07 10:47:10] local.INFO: Processing buffer {"connection_id":125089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b015578012d7d3a4005eccab8000700b52a..."} 
[2026-07-07 10:47:10] local.INFO: Packet analysis {"connection_id":125089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b01"} 
[2026-07-07 10:47:10] local.INFO: Extracted packet for processing {"connection_id":125089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b01"} 
[2026-07-07 10:47:10] local.INFO: GPS Element Parsed {"raw_longitude":763181632,"raw_latitude":99404472,"longitude_deg":76.3181632,"latitude_deg":9.9404472,"altitude":7,"angle":181,"satellites":42,"speed":60,"hex_longitude":"2d7d3a40","hex_latitude":"05eccab8","is_valid_coordinates":true} 
[2026-07-07 10:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550749440001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340927365720834048,"note":"Value kept but may cause issues"} 
[2026-07-07 10:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303816761344,"note":"Value kept but may cause issues"} 
[2026-07-07 10:47:10] 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-07-07 10:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783401371000,"timestamp_ms":1783401371000,"timestamp_seconds":1783401371,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b015578"} 
[2026-07-07 10:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 10:47: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-07-07 10:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550749440001,"66":27843,"108":206,"87":13824,"24":60,"16":340927365720834048,"45":9023806303816761344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-07-07 10:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550749440001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:47:10] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-07 10:47:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340927365720834048,"km_value":340927365720834.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303816761344,"description":"Unknown IO ID 45"} 
[2026-07-07 10:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550749440001,"power":27843,"unknown_108":206,"unknown_87":13824,"ignition":60,"odometer":null,"unknown_45":9023806303816761344}} 
[2026-07-07 10:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":125089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:47:10] local.INFO: GPS data processed {"connection_id":125089,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:47:10] local.INFO: Acknowledgment sent {"connection_id":125089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:47:18] local.INFO: TCP Data received {"connection_id":124300,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:47:19] local.INFO: Processing buffer {"connection_id":124300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:47:19] local.INFO: IMEI packet received {"connection_id":124300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":124300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:47:20] local.INFO: TCP Data received {"connection_id":124300,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:47:20] local.INFO: Processing buffer {"connection_id":124300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:47:20] local.INFO: IMEI packet received {"connection_id":124300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":124300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:47:21] local.INFO: TCP Data received {"connection_id":124300,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:47:21] local.INFO: Processing buffer {"connection_id":124300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:47:21] local.INFO: IMEI packet received {"connection_id":124300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":124300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:47:27] local.INFO: TCP Data received {"connection_id":124300,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:47:27] local.INFO: Processing buffer {"connection_id":124300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:47:27] local.INFO: IMEI packet received {"connection_id":124300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":124300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:47:29] local.INFO: TCP Data received {"connection_id":124300,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b018070012d0b72c0071c9038003600a720..."} 
[2026-07-07 10:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b018070012d0b72c0071c9038003600a720..."} 
[2026-07-07 10:47:29] local.INFO: Processing buffer {"connection_id":124300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b018070012d0b72c0071c9038003600a720..."} 
[2026-07-07 10:47:29] local.INFO: Packet analysis {"connection_id":124300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b01"} 
[2026-07-07 10:47:29] local.INFO: Extracted packet for processing {"connection_id":124300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b01"} 
[2026-07-07 10:47:29] local.INFO: GPS Element Parsed {"raw_longitude":755724992,"raw_latitude":119312440,"longitude_deg":75.5724992,"latitude_deg":11.931244,"altitude":54,"angle":167,"satellites":32,"speed":8,"hex_longitude":"2d0b72c0","hex_latitude":"071c9038","is_valid_coordinates":true} 
[2026-07-07 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-07-07 10:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550753024001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4792702465998848,"note":"Value kept but may cause issues"} 
[2026-07-07 10:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824862449794725888,"note":"Value kept but may cause issues"} 
[2026-07-07 10:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783401382000,"timestamp_ms":1783401382000,"timestamp_seconds":1783401382,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b018070"} 
[2026-07-07 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-07-07 10:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-07 10:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 10:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":124300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":124300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":124300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550753024001,"66":13580,"14":206,"28":31744,"24":8,"16":4792702465998848,"45":824862449794725888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550753024001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:47:29] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:47:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4792702465998848,"km_value":4792702465998.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":824862449794725888,"description":"Unknown IO ID 45"} 
[2026-07-07 10:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550753024001,"power":13580,"unknown_14":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":824862449794725888}} 
[2026-07-07 10:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":124300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:47:29] local.INFO: GPS data processed {"connection_id":124300,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:47:29] local.INFO: Acknowledgment sent {"connection_id":124300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:47:41] local.INFO: TCP Data received {"connection_id":125089,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b016ce8012d7d394005eca7d0000700b52b..."} 
[2026-07-07 10:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b016ce8012d7d394005eca7d0000700b52b..."} 
[2026-07-07 10:47:41] local.INFO: Processing buffer {"connection_id":125089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b016ce8012d7d394005eca7d0000700b52b..."} 
[2026-07-07 10:47:41] local.INFO: Packet analysis {"connection_id":125089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b01"} 
[2026-07-07 10:47:41] local.INFO: Extracted packet for processing {"connection_id":125089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b01"} 
[2026-07-07 10:47:41] local.INFO: GPS Element Parsed {"raw_longitude":763181376,"raw_latitude":99395536,"longitude_deg":76.3181376,"latitude_deg":9.9395536,"altitude":7,"angle":181,"satellites":43,"speed":58,"hex_longitude":"2d7d3940","hex_latitude":"05eca7d0","is_valid_coordinates":true} 
[2026-07-07 10:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550750976001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340927799512530944,"note":"Value kept but may cause issues"} 
[2026-07-07 10:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023595197581932544,"note":"Value kept but may cause issues"} 
[2026-07-07 10:47:41] 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-07-07 10:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783401377000,"timestamp_ms":1783401377000,"timestamp_seconds":1783401377,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b016ce8"} 
[2026-07-07 10:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 10:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550750976001,"66":27865,"108":206,"87":13824,"24":58,"16":340927799512530944,"45":9023595197581932544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-07-07 10:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550750976001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:47:41] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-07 10:47:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340927799512530944,"km_value":340927799512530.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023595197581932544,"description":"Unknown IO ID 45"} 
[2026-07-07 10:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550750976001,"power":27865,"unknown_108":206,"unknown_87":13824,"ignition":58,"odometer":null,"unknown_45":9023595197581932544}} 
[2026-07-07 10:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":125089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:47:41] local.INFO: GPS data processed {"connection_id":125089,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:47:41] local.INFO: Acknowledgment sent {"connection_id":125089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:48:00] local.INFO: TCP Data received {"connection_id":124300,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b018840012d0b72c0071c8e900036009a20..."} 
[2026-07-07 10:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b018840012d0b72c0071c8e900036009a20..."} 
[2026-07-07 10:48:00] local.INFO: Processing buffer {"connection_id":124300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b018840012d0b72c0071c8e900036009a20..."} 
[2026-07-07 10:48:00] local.INFO: Packet analysis {"connection_id":124300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b01"} 
[2026-07-07 10:48:00] local.INFO: Extracted packet for processing {"connection_id":124300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b01"} 
[2026-07-07 10:48:00] local.INFO: GPS Element Parsed {"raw_longitude":755724992,"raw_latitude":119312016,"longitude_deg":75.5724992,"latitude_deg":11.9312016,"altitude":54,"angle":154,"satellites":32,"speed":8,"hex_longitude":"2d0b72c0","hex_latitude":"071c8e90","is_valid_coordinates":true} 
[2026-07-07 10:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550753792001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4792719645868032,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824932818538739712,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783401384000,"timestamp_ms":1783401384000,"timestamp_seconds":1783401384,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b018840"} 
[2026-07-07 10:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-07 10:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867790086,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6926817770592010250,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:00] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639784415979534,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3893231822,"corrected_to":0} 
[2026-07-07 10:48:00] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2147560715,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:00] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2147949712,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:00] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:00] local.WARNING: Large IO value detected {"io_id":11,"raw_value":7962371960266031157,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:00] local.WARNING: Large IO value detected {"io_id":56,"raw_value":360514366740680220,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:00] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:00] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,14,28,24,241,158,16,6,159,116,45,128,146,53,32,10,66,108,148,52,31,105,1,240,59,4,113,205,42,110,176,239,55,2,17,7,11,56,124],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3893231822,"validated":0}]} 
[2026-07-07 10:48:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891293833929424896,"timestamp_seconds":3891293833929425.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 10:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550753792001,"66":13537,"14":206,"28":31744,"24":8,"16":4792719645868032,"45":824932818538739712},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550753792001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:48:00] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:48:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4792719645868032,"km_value":4792719645868.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":824932818538739712,"description":"Unknown IO ID 45"} 
[2026-07-07 10:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550753792001,"power":13537,"unknown_14":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":824932818538739712}} 
[2026-07-07 10:48:00] local.INFO: TCP Data received {"connection_id":126331,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:48:00] local.INFO: Processing buffer {"connection_id":126331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:48:00] local.INFO: IMEI packet received {"connection_id":126331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":126331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":124300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:48:00] local.INFO: GPS data processed {"connection_id":124300,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:48:00] local.INFO: Acknowledgment sent {"connection_id":124300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:48:04] local.INFO: TCP Data received {"connection_id":126331,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:48:04] local.INFO: Processing buffer {"connection_id":126331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:48:04] local.INFO: IMEI packet received {"connection_id":126331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":126331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:48:09] local.INFO: TCP Data received {"connection_id":126331,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:48:09] local.INFO: Processing buffer {"connection_id":126331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:48:09] local.INFO: IMEI packet received {"connection_id":126331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":126331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:48:10] local.INFO: TCP Data received {"connection_id":126331,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b018c28012d7d388005ec82b0000a00b428..."} 
[2026-07-07 10:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b018c28012d7d388005ec82b0000a00b428..."} 
[2026-07-07 10:48:10] local.INFO: Processing buffer {"connection_id":126331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b018c28012d7d388005ec82b0000a00b428..."} 
[2026-07-07 10:48:10] local.INFO: Packet analysis {"connection_id":126331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b01"} 
[2026-07-07 10:48:10] local.INFO: Extracted packet for processing {"connection_id":126331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b01"} 
[2026-07-07 10:48:10] local.INFO: GPS Element Parsed {"raw_longitude":763181184,"raw_latitude":99386032,"longitude_deg":76.3181184,"latitude_deg":9.9386032,"altitude":10,"angle":180,"satellites":40,"speed":31,"hex_longitude":"2d7d3880","hex_latitude":"05ec82b0","is_valid_coordinates":true} 
[2026-07-07 10:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550752512001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340928263368998912,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023313722602934272,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:10] 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-07-07 10:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783401385000,"timestamp_ms":1783401385000,"timestamp_seconds":1783401385,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b018c28"} 
[2026-07-07 10:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 10:48: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-07-07 10:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10: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-07-07 10:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550752512001,"66":27865,"108":206,"87":13824,"24":31,"16":340928263368998912,"45":9023313722602934272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-07-07 10:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550752512001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:48:10] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-07 10:48:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340928263368998912,"km_value":340928263368998.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023313722602934272,"description":"Unknown IO ID 45"} 
[2026-07-07 10:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550752512001,"power":27865,"unknown_108":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":9023313722602934272}} 
[2026-07-07 10:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":126331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:48:10] local.INFO: GPS data processed {"connection_id":126331,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:48:10] local.INFO: Acknowledgment sent {"connection_id":126331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:48:11] local.INFO: TCP Data received {"connection_id":126331,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b01bb08012d7d378005ec5ef8000d00b32b..."} 
[2026-07-07 10:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b01bb08012d7d378005ec5ef8000d00b32b..."} 
[2026-07-07 10:48:11] local.INFO: Processing buffer {"connection_id":126331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b01bb08012d7d378005ec5ef8000d00b32b..."} 
[2026-07-07 10:48:11] local.INFO: Packet analysis {"connection_id":126331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b01"} 
[2026-07-07 10:48:11] local.INFO: Extracted packet for processing {"connection_id":126331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b01"} 
[2026-07-07 10:48:11] local.INFO: GPS Element Parsed {"raw_longitude":763180928,"raw_latitude":99376888,"longitude_deg":76.3180928,"latitude_deg":9.9376888,"altitude":13,"angle":179,"satellites":43,"speed":30,"hex_longitude":"2d7d3780","hex_latitude":"05ec5ef8","is_valid_coordinates":true} 
[2026-07-07 10:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550754560001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340928705750630400,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023102616367968256,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783401397000,"timestamp_ms":1783401397000,"timestamp_seconds":1783401397,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b01bb08"} 
[2026-07-07 10:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 10:48: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-07-07 10:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550754560001,"66":27974,"110":206,"87":13824,"24":30,"16":340928705750630400,"45":9023102616367968256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550754560001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:48:11] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:48:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340928705750630400,"km_value":340928705750630.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023102616367968256,"description":"Unknown IO ID 45"} 
[2026-07-07 10:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550754560001,"power":27974,"unknown_110":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":9023102616367968256}} 
[2026-07-07 10:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":126331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:48:11] local.INFO: GPS data processed {"connection_id":126331,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:48:11] local.INFO: Acknowledgment sent {"connection_id":126331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:48:22] local.INFO: TCP Data received {"connection_id":124301,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:48:22] local.INFO: Processing buffer {"connection_id":124301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:48:22] local.INFO: IMEI packet received {"connection_id":124301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":124301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:48:23] local.INFO: TCP Data received {"connection_id":124301,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:48:23] local.INFO: Processing buffer {"connection_id":124301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:48:23] local.INFO: IMEI packet received {"connection_id":124301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":124301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:48:25] local.INFO: TCP Data received {"connection_id":124301,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:48:25] local.INFO: Processing buffer {"connection_id":124301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:48:25] local.INFO: IMEI packet received {"connection_id":124301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":124301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:48:26] local.INFO: TCP Data received {"connection_id":124301,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:48:26] local.INFO: Processing buffer {"connection_id":124301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:48:26] local.INFO: IMEI packet received {"connection_id":124301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":124301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:48:27] local.INFO: TCP Data received {"connection_id":124301,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0272a0012d0b7f00071c87180036006f1e..."} 
[2026-07-07 10:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0272a0012d0b7f00071c87180036006f1e..."} 
[2026-07-07 10:48:27] local.INFO: Processing buffer {"connection_id":124301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0272a0012d0b7f00071c87180036006f1e..."} 
[2026-07-07 10:48:27] local.INFO: Packet analysis {"connection_id":124301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b02"} 
[2026-07-07 10:48:27] local.INFO: Extracted packet for processing {"connection_id":124301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b02"} 
[2026-07-07 10:48:27] local.INFO: GPS Element Parsed {"raw_longitude":755728128,"raw_latitude":119310104,"longitude_deg":75.5728128,"latitude_deg":11.9310104,"altitude":54,"angle":111,"satellites":30,"speed":0,"hex_longitude":"2d0b7f00","hex_latitude":"071c8718","is_valid_coordinates":true} 
[2026-07-07 10:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550764288001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4792917214363648,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828380887002847232,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783401444000,"timestamp_ms":1783401444000,"timestamp_seconds":1783401444,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0272a0"} 
[2026-07-07 10:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 10:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550764288001,"66":13580,"14":206,"28":31744,"24":0,"16":4792917214363648,"45":828380887002847232},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550764288001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:48:27] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:48:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4792917214363648,"km_value":4792917214363.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":828380887002847232,"description":"Unknown IO ID 45"} 
[2026-07-07 10:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550764288001,"power":13580,"unknown_14":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":828380887002847232}} 
[2026-07-07 10:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":124301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:48:28] local.INFO: GPS data processed {"connection_id":124301,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:48:28] local.INFO: Acknowledgment sent {"connection_id":124301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:48:28] local.INFO: TCP Data received {"connection_id":124301,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b02b120012d0b7f80071c8868003501561f..."} 
[2026-07-07 10:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b02b120012d0b7f80071c8868003501561f..."} 
[2026-07-07 10:48:28] local.INFO: Processing buffer {"connection_id":124301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b02b120012d0b7f80071c8868003501561f..."} 
[2026-07-07 10:48:28] local.INFO: Packet analysis {"connection_id":124301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b02"} 
[2026-07-07 10:48:28] local.INFO: Extracted packet for processing {"connection_id":124301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b02"} 
[2026-07-07 10:48:28] local.INFO: GPS Element Parsed {"raw_longitude":755728256,"raw_latitude":119310440,"longitude_deg":75.5728256,"latitude_deg":11.931044,"altitude":53,"angle":342,"satellites":31,"speed":1,"hex_longitude":"2d0b7f80","hex_latitude":"071c8868","is_valid_coordinates":true} 
[2026-07-07 10:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550769664001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4792934394232832,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828380887002847232,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783401460000,"timestamp_ms":1783401460000,"timestamp_seconds":1783401460,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b02b120"} 
[2026-07-07 10:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-07 10:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867790087,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:28] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":43009,"corrected_to":0} 
[2026-07-07 10:48:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18631941805697038,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3893231822,"corrected_to":0} 
[2026-07-07 10:48:28] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070568,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:28] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:28] local.WARNING: Large IO value detected {"io_id":11,"raw_value":8592875908204855352,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:28] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-3746768493421212132,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:28] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:28] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,14,28,24,241,158,16,7,159,32,45,135,54,31,10,66,206,64,137,57,33,202,1,240,216,59,4,113,205,6,187,121,239,51,2,17,11,50,124],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":202,"original":43009,"validated":0},{"io_id":205,"original":3893231822,"validated":0}]} 
[2026-07-07 10:48:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891232252687810560,"timestamp_seconds":3891232252687810.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 10:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550769664001,"66":13156,"14":206,"28":31744,"24":1,"16":4792934394232832,"45":828380887002847232},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550769664001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:48:28] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:48:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4792934394232832,"km_value":4792934394232.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":828380887002847232,"description":"Unknown IO ID 45"} 
[2026-07-07 10:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550769664001,"power":13156,"unknown_14":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":828380887002847232}} 
[2026-07-07 10:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":124301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:48:28] local.INFO: GPS data processed {"connection_id":124301,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:48:28] local.INFO: Acknowledgment sent {"connection_id":124301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:48:44] local.INFO: TCP Data received {"connection_id":126331,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b01e9e8012d7d374005ec3998001000b52a..."} 
[2026-07-07 10:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b01e9e8012d7d374005ec3998001000b52a..."} 
[2026-07-07 10:48:44] local.INFO: Processing buffer {"connection_id":126331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b01e9e8012d7d374005ec3998001000b52a..."} 
[2026-07-07 10:48:44] local.INFO: Packet analysis {"connection_id":126331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b01"} 
[2026-07-07 10:48:44] local.INFO: Extracted packet for processing {"connection_id":126331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b01"} 
[2026-07-07 10:48:44] local.INFO: GPS Element Parsed {"raw_longitude":763180864,"raw_latitude":99367320,"longitude_deg":76.3180864,"latitude_deg":9.936732,"altitude":16,"angle":181,"satellites":42,"speed":35,"hex_longitude":"2d7d3740","hex_latitude":"05ec3998","is_valid_coordinates":true} 
[2026-07-07 10:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550757632001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340929169607098368,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022821141388916736,"note":"Value kept but may cause issues"} 
[2026-07-07 10:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783401409000,"timestamp_ms":1783401409000,"timestamp_seconds":1783401409,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b01e9e8"} 
[2026-07-07 10:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 10:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":126331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":126331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":126331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:48: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-07-07 10:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550757632001,"66":27908,"110":206,"87":13824,"24":35,"16":340929169607098368,"45":9022821141388916736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550757632001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:48:44] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:48:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340929169607098368,"km_value":340929169607098.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022821141388916736,"description":"Unknown IO ID 45"} 
[2026-07-07 10:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550757632001,"power":27908,"unknown_110":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":9022821141388916736}} 
[2026-07-07 10:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":126331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:48:44] local.INFO: GPS data processed {"connection_id":126331,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:48:44] local.INFO: Acknowledgment sent {"connection_id":126331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:48:57] local.INFO: TCP Data received {"connection_id":125090,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:48:57] local.INFO: Processing buffer {"connection_id":125090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:48:57] local.INFO: IMEI packet received {"connection_id":125090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":125090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:48:59] local.INFO: TCP Data received {"connection_id":125090,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:48:59] local.INFO: Processing buffer {"connection_id":125090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:48:59] local.INFO: IMEI packet received {"connection_id":125090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":125090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:49:01] local.INFO: TCP Data received {"connection_id":124301,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b02c4a8012d0b7f00071c88e8003401441f..."} 
[2026-07-07 10:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b02c4a8012d0b7f00071c88e8003401441f..."} 
[2026-07-07 10:49:01] local.INFO: Processing buffer {"connection_id":124301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b02c4a8012d0b7f00071c88e8003401441f..."} 
[2026-07-07 10:49:01] local.INFO: Packet analysis {"connection_id":124301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b02"} 
[2026-07-07 10:49:01] local.INFO: Extracted packet for processing {"connection_id":124301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b02"} 
[2026-07-07 10:49:01] local.INFO: GPS Element Parsed {"raw_longitude":755728128,"raw_latitude":119310568,"longitude_deg":75.5728128,"latitude_deg":11.9310568,"altitude":52,"angle":324,"satellites":31,"speed":0,"hex_longitude":"2d0b7f00","hex_latitude":"071c88e8","is_valid_coordinates":true} 
[2026-07-07 10:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550773760001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4792942984167424,"note":"Value kept but may cause issues"} 
[2026-07-07 10:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828521624491288576,"note":"Value kept but may cause issues"} 
[2026-07-07 10:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783401465000,"timestamp_ms":1783401465000,"timestamp_seconds":1783401465,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b02c4a8"} 
[2026-07-07 10:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-07 10:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550773760001,"66":13091,"14":206,"28":31744,"24":0,"16":4792942984167424,"45":828521624491288576},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550773760001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:49:01] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:49:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4792942984167424,"km_value":4792942984167.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":828521624491288576,"description":"Unknown IO ID 45"} 
[2026-07-07 10:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550773760001,"power":13091,"unknown_14":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":828521624491288576}} 
[2026-07-07 10:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":124301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:49:01] local.INFO: GPS data processed {"connection_id":124301,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:49:01] local.INFO: Acknowledgment sent {"connection_id":124301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:49:04] local.INFO: TCP Data received {"connection_id":125090,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:49:04] local.INFO: Processing buffer {"connection_id":125090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:49:04] local.INFO: IMEI packet received {"connection_id":125090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":125090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:49:05] local.INFO: TCP Data received {"connection_id":125090,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b020d10012d7d364005ec1598000f00b52a..."} 
[2026-07-07 10:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b020d10012d7d364005ec1598000f00b52a..."} 
[2026-07-07 10:49:05] local.INFO: Processing buffer {"connection_id":125090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b020d10012d7d364005ec1598000f00b52a..."} 
[2026-07-07 10:49:05] local.INFO: Packet analysis {"connection_id":125090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b02"} 
[2026-07-07 10:49:05] local.INFO: Extracted packet for processing {"connection_id":125090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b02"} 
[2026-07-07 10:49:05] local.INFO: GPS Element Parsed {"raw_longitude":763180608,"raw_latitude":99358104,"longitude_deg":76.3180608,"latitude_deg":9.9358104,"altitude":15,"angle":181,"satellites":42,"speed":45,"hex_longitude":"2d7d3640","hex_latitude":"05ec1598","is_valid_coordinates":true} 
[2026-07-07 10:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550760704001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340929616283697152,"note":"Value kept but may cause issues"} 
[2026-07-07 10:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022750772642289664,"note":"Value kept but may cause issues"} 
[2026-07-07 10:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783401418000,"timestamp_ms":1783401418000,"timestamp_seconds":1783401418,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b020d10"} 
[2026-07-07 10:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 10:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550760704001,"66":27919,"110":206,"87":13824,"24":45,"16":340929616283697152,"45":9022750772642289664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 10:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550760704001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:49:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 10:49:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340929616283697152,"km_value":340929616283697.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022750772642289664,"description":"Unknown IO ID 45"} 
[2026-07-07 10:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550760704001,"power":27919,"unknown_110":206,"unknown_87":13824,"ignition":45,"odometer":null,"unknown_45":9022750772642289664}} 
[2026-07-07 10:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":125090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:49:05] local.INFO: GPS data processed {"connection_id":125090,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:49:05] local.INFO: Acknowledgment sent {"connection_id":125090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:49:21] local.INFO: TCP Data received {"connection_id":125091,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:49:21] local.INFO: Processing buffer {"connection_id":125091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:49:21] local.INFO: IMEI packet received {"connection_id":125091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":125091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:49:27] local.INFO: TCP Data received {"connection_id":125091,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:49:27] local.INFO: Processing buffer {"connection_id":125091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:49:27] local.INFO: IMEI packet received {"connection_id":125091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":125091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:49:28] local.INFO: TCP Data received {"connection_id":125091,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b02cc78012d0b7e80071c89300034012a1f..."} 
[2026-07-07 10:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b02cc78012d0b7e80071c89300034012a1f..."} 
[2026-07-07 10:49:28] local.INFO: Processing buffer {"connection_id":125091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b02cc78012d0b7e80071c89300034012a1f..."} 
[2026-07-07 10:49:28] local.INFO: Packet analysis {"connection_id":125091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b02"} 
[2026-07-07 10:49:28] local.INFO: Extracted packet for processing {"connection_id":125091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b02"} 
[2026-07-07 10:49:28] local.INFO: GPS Element Parsed {"raw_longitude":755728000,"raw_latitude":119310640,"longitude_deg":75.5728,"latitude_deg":11.931064,"altitude":52,"angle":298,"satellites":31,"speed":2,"hex_longitude":"2d0b7e80","hex_latitude":"071c8930","is_valid_coordinates":true} 
[2026-07-07 10:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550775040001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4792951574102016,"note":"Value kept but may cause issues"} 
[2026-07-07 10:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828380887002966016,"note":"Value kept but may cause issues"} 
[2026-07-07 10:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783401467000,"timestamp_ms":1783401467000,"timestamp_seconds":1783401467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b02cc78"} 
[2026-07-07 10:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 10:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550775040001,"66":13015,"14":206,"28":31744,"24":2,"16":4792951574102016,"45":828380887002966016},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550775040001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:49:28] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:49:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4792951574102016,"km_value":4792951574102.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":828380887002966016,"description":"Unknown IO ID 45"} 
[2026-07-07 10:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550775040001,"power":13015,"unknown_14":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":828380887002966016}} 
[2026-07-07 10:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":125091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:49:28] local.INFO: GPS data processed {"connection_id":125091,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:49:28] local.INFO: Acknowledgment sent {"connection_id":125091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:49:38] local.INFO: TCP Data received {"connection_id":125090,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b037858012d7d250005ea8038000700b72a..."} 
[2026-07-07 10:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b037858012d7d250005ea8038000700b72a..."} 
[2026-07-07 10:49:38] local.INFO: Processing buffer {"connection_id":125090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b037858012d7d250005ea8038000700b72a..."} 
[2026-07-07 10:49:38] local.INFO: Packet analysis {"connection_id":125090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b03"} 
[2026-07-07 10:49:38] local.INFO: Extracted packet for processing {"connection_id":125090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b03"} 
[2026-07-07 10:49:38] local.INFO: GPS Element Parsed {"raw_longitude":763176192,"raw_latitude":99254328,"longitude_deg":76.3176192,"latitude_deg":9.9254328,"altitude":7,"angle":183,"satellites":42,"speed":26,"hex_longitude":"2d7d2500","hex_latitude":"05ea8038","is_valid_coordinates":true} 
[2026-07-07 10:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550783744001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340934654280335360,"note":"Value kept but may cause issues"} 
[2026-07-07 10:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018036066755735552,"note":"Value kept but may cause issues"} 
[2026-07-07 10:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783401511000,"timestamp_ms":1783401511000,"timestamp_seconds":1783401511,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b037858"} 
[2026-07-07 10:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 10:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550783744001,"66":27919,"154":206,"87":13824,"24":26,"16":340934654280335360,"45":9018036066755735552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-07 10:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550783744001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:49:38] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-07 10:49:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340934654280335360,"km_value":340934654280335.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018036066755735552,"description":"Unknown IO ID 45"} 
[2026-07-07 10:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550783744001,"power":27919,"unknown_154":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":9018036066755735552}} 
[2026-07-07 10:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":125090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:49:38] local.INFO: GPS data processed {"connection_id":125090,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:49:38] local.INFO: Acknowledgment sent {"connection_id":125090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:49:59] local.INFO: TCP Data received {"connection_id":125092,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:49:59] local.INFO: Processing buffer {"connection_id":125092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:49:59] local.INFO: IMEI packet received {"connection_id":125092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":125092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:50:00] local.INFO: TCP Data received {"connection_id":125091,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b02d830012d0b7e40071c89a0003301361e..."} 
[2026-07-07 10:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b02d830012d0b7e40071c89a0003301361e..."} 
[2026-07-07 10:50:00] local.INFO: Processing buffer {"connection_id":125091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b02d830012d0b7e40071c89a0003301361e..."} 
[2026-07-07 10:50:00] local.INFO: Packet analysis {"connection_id":125091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b02"} 
[2026-07-07 10:50:00] local.INFO: Extracted packet for processing {"connection_id":125091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b02"} 
[2026-07-07 10:50:00] local.INFO: GPS Element Parsed {"raw_longitude":755727936,"raw_latitude":119310752,"longitude_deg":75.5727936,"latitude_deg":11.9310752,"altitude":51,"angle":310,"satellites":30,"speed":2,"hex_longitude":"2d0b7e40","hex_latitude":"071c89a0","is_valid_coordinates":true} 
[2026-07-07 10:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550775552001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4792955869069312,"note":"Value kept but may cause issues"} 
[2026-07-07 10:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828240149514629120,"note":"Value kept but may cause issues"} 
[2026-07-07 10:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783401470000,"timestamp_ms":1783401470000,"timestamp_seconds":1783401470,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b02d830"} 
[2026-07-07 10:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 10:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550775552001,"66":13080,"14":206,"28":31744,"24":2,"16":4792955869069312,"45":828240149514629120},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550775552001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:50:00] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:50:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4792955869069312,"km_value":4792955869069.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":828240149514629120,"description":"Unknown IO ID 45"} 
[2026-07-07 10:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550775552001,"power":13080,"unknown_14":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":828240149514629120}} 
[2026-07-07 10:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":125091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:50:00] local.INFO: GPS data processed {"connection_id":125091,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:50:00] local.INFO: Acknowledgment sent {"connection_id":125091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:50:08] local.INFO: TCP Data received {"connection_id":125092,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:50:08] local.INFO: Processing buffer {"connection_id":125092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:50:08] local.INFO: IMEI packet received {"connection_id":125092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":125092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:50:13] local.INFO: TCP Data received {"connection_id":125092,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b03ab20012d7d238005ea5cb0000700b829..."} 
[2026-07-07 10:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b03ab20012d7d238005ea5cb0000700b829..."} 
[2026-07-07 10:50:13] local.INFO: Processing buffer {"connection_id":125092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b03ab20012d7d238005ea5cb0000700b829..."} 
[2026-07-07 10:50:13] local.INFO: Packet analysis {"connection_id":125092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b03"} 
[2026-07-07 10:50:13] local.INFO: Extracted packet for processing {"connection_id":125092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b03"} 
[2026-07-07 10:50:13] local.INFO: GPS Element Parsed {"raw_longitude":763175808,"raw_latitude":99245232,"longitude_deg":76.3175808,"latitude_deg":9.9245232,"altitude":7,"angle":184,"satellites":41,"speed":31,"hex_longitude":"2d7d2380","hex_latitude":"05ea5cb0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 10:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550786816001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340935096661966848,"note":"Value kept but may cause issues"} 
[2026-07-07 10:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017613854288394240,"note":"Value kept but may cause issues"} 
[2026-07-07 10:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783401524000,"timestamp_ms":1783401524000,"timestamp_seconds":1783401524,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b03ab20"} 
[2026-07-07 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-07-07 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-07-07 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-07-07 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-07-07 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-07-07 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-07-07 10:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:50: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-07-07 10:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550786816001,"66":27865,"154":206,"87":13824,"24":31,"16":340935096661966848,"45":9017613854288394240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-07 10:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550786816001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:50:13] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-07 10:50:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340935096661966848,"km_value":340935096661966.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017613854288394240,"description":"Unknown IO ID 45"} 
[2026-07-07 10:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550786816001,"power":27865,"unknown_154":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":9017613854288394240}} 
[2026-07-07 10:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":125092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:50:13] local.INFO: GPS data processed {"connection_id":125092,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:50:13] local.INFO: Acknowledgment sent {"connection_id":125092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:50:22] local.INFO: TCP Data received {"connection_id":124390,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:50:22] local.INFO: Processing buffer {"connection_id":124390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:50:22] local.INFO: IMEI packet received {"connection_id":124390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":124390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:50:22] local.INFO: TCP Data received {"connection_id":124390,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:50:22] local.INFO: Processing buffer {"connection_id":124390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:50:22] local.INFO: IMEI packet received {"connection_id":124390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":124390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:50:27] local.INFO: TCP Data received {"connection_id":124390,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:50:27] local.INFO: Processing buffer {"connection_id":124390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:50:27] local.INFO: IMEI packet received {"connection_id":124390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":124390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:50:28] local.INFO: TCP Data received {"connection_id":124390,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b03f170012d0b7ec0071c88280030014d19..."} 
[2026-07-07 10:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b03f170012d0b7ec0071c88280030014d19..."} 
[2026-07-07 10:50:28] local.INFO: Processing buffer {"connection_id":124390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b03f170012d0b7ec0071c88280030014d19..."} 
[2026-07-07 10:50:28] local.INFO: Packet analysis {"connection_id":124390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b03"} 
[2026-07-07 10:50:28] local.INFO: Extracted packet for processing {"connection_id":124390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b03"} 
[2026-07-07 10:50:28] local.INFO: GPS Element Parsed {"raw_longitude":755728064,"raw_latitude":119310376,"longitude_deg":75.5728064,"latitude_deg":11.9310376,"altitude":48,"angle":333,"satellites":25,"speed":0,"hex_longitude":"2d0b7ec0","hex_latitude":"071c8828","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550789376001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4793007408676864,"note":"Value kept but may cause issues"} 
[2026-07-07 10:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828310518258724864,"note":"Value kept but may cause issues"} 
[2026-07-07 10:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783401542000,"timestamp_ms":1783401542000,"timestamp_seconds":1783401542,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b03f170"} 
[2026-07-07 10:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 10:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550789376001,"66":12885,"14":206,"28":31744,"24":0,"16":4793007408676864,"45":828310518258724864},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550789376001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:50:28] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:50:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4793007408676864,"km_value":4793007408676.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":828310518258724864,"description":"Unknown IO ID 45"} 
[2026-07-07 10:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550789376001,"power":12885,"unknown_14":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":828310518258724864}} 
[2026-07-07 10:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":124390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:50:28] local.INFO: GPS data processed {"connection_id":124390,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:50:28] local.INFO: Acknowledgment sent {"connection_id":124390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:50:44] local.INFO: TCP Data received {"connection_id":125092,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b03d230012d7d204005ea38e8000700b828..."} 
[2026-07-07 10:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b03d230012d7d204005ea38e8000700b828..."} 
[2026-07-07 10:50:44] local.INFO: Processing buffer {"connection_id":125092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b03d230012d7d204005ea38e8000700b828..."} 
[2026-07-07 10:50:44] local.INFO: Packet analysis {"connection_id":125092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b03"} 
[2026-07-07 10:50:44] local.INFO: Extracted packet for processing {"connection_id":125092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b03"} 
[2026-07-07 10:50:44] local.INFO: GPS Element Parsed {"raw_longitude":763174976,"raw_latitude":99236072,"longitude_deg":76.3174976,"latitude_deg":9.9236072,"altitude":7,"angle":184,"satellites":40,"speed":41,"hex_longitude":"2d7d2040","hex_latitude":"05ea38e8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 10:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550790144001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340935543338565632,"note":"Value kept but may cause issues"} 
[2026-07-07 10:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017191641820999680,"note":"Value kept but may cause issues"} 
[2026-07-07 10:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783401534000,"timestamp_ms":1783401534000,"timestamp_seconds":1783401534,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b03d230"} 
[2026-07-07 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-07-07 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-07-07 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-07-07 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-07-07 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-07-07 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-07-07 10:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":125092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":125092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":125092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:50: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-07-07 10:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550790144001,"66":27843,"154":206,"87":13824,"24":41,"16":340935543338565632,"45":9017191641820999680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-07 10:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550790144001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:50:44] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-07 10:50:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340935543338565632,"km_value":340935543338565.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017191641820999680,"description":"Unknown IO ID 45"} 
[2026-07-07 10:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550790144001,"power":27843,"unknown_154":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":9017191641820999680}} 
[2026-07-07 10:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":125092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:50:44] local.INFO: GPS data processed {"connection_id":125092,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:50:44] local.INFO: Acknowledgment sent {"connection_id":125092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:50:59] local.INFO: TCP Data received {"connection_id":125093,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:50:59] local.INFO: Processing buffer {"connection_id":125093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:50:59] local.INFO: IMEI packet received {"connection_id":125093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":125093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:51:00] local.INFO: TCP Data received {"connection_id":124390,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b044378012d0b7ec0071c88280030014d1a..."} 
[2026-07-07 10:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b044378012d0b7ec0071c88280030014d1a..."} 
[2026-07-07 10:51:00] local.INFO: Processing buffer {"connection_id":124390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b044378012d0b7ec0071c88280030014d1a..."} 
[2026-07-07 10:51:00] local.INFO: Packet analysis {"connection_id":124390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b04"} 
[2026-07-07 10:51:00] local.INFO: Extracted packet for processing {"connection_id":124390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b04"} 
[2026-07-07 10:51:00] local.INFO: GPS Element Parsed {"raw_longitude":755728064,"raw_latitude":119310376,"longitude_deg":75.5728064,"latitude_deg":11.9310376,"altitude":48,"angle":333,"satellites":26,"speed":0,"hex_longitude":"2d0b7ec0","hex_latitude":"071c8828","is_valid_coordinates":true} 
[2026-07-07 10:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550794752001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4793007408676864,"note":"Value kept but may cause issues"} 
[2026-07-07 10:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828310518258739200,"note":"Value kept but may cause issues"} 
[2026-07-07 10:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783401563000,"timestamp_ms":1783401563000,"timestamp_seconds":1783401563,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b044378"} 
[2026-07-07 10:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-07 10:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550794752001,"66":12841,"14":206,"28":31744,"24":0,"16":4793007408676864,"45":828310518258739200},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550794752001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:51:00] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:51:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4793007408676864,"km_value":4793007408676.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":828310518258739200,"description":"Unknown IO ID 45"} 
[2026-07-07 10:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550794752001,"power":12841,"unknown_14":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":828310518258739200}} 
[2026-07-07 10:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":124390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:51:00] local.INFO: GPS data processed {"connection_id":124390,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:51:00] local.INFO: Acknowledgment sent {"connection_id":124390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:51:03] local.INFO: TCP Data received {"connection_id":125093,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:51:03] local.INFO: Processing buffer {"connection_id":125093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:51:03] local.INFO: IMEI packet received {"connection_id":125093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":125093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:51:05] local.INFO: TCP Data received {"connection_id":125093,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b03f558012d7d1e4005ea1200000800b629..."} 
[2026-07-07 10:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b03f558012d7d1e4005ea1200000800b629..."} 
[2026-07-07 10:51:05] local.INFO: Processing buffer {"connection_id":125093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b03f558012d7d1e4005ea1200000800b629..."} 
[2026-07-07 10:51:05] local.INFO: Packet analysis {"connection_id":125093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b03"} 
[2026-07-07 10:51:05] local.INFO: Extracted packet for processing {"connection_id":125093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b03"} 
[2026-07-07 10:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763174464,"raw_latitude":99226112,"longitude_deg":76.3174464,"latitude_deg":9.9226112,"altitude":8,"angle":182,"satellites":41,"speed":45,"hex_longitude":"2d7d1e40","hex_latitude":"05ea1200","is_valid_coordinates":true} 
[2026-07-07 10:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550792704001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340936024374902784,"note":"Value kept but may cause issues"} 
[2026-07-07 10:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016276848144345088,"note":"Value kept but may cause issues"} 
[2026-07-07 10:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783401543000,"timestamp_ms":1783401543000,"timestamp_seconds":1783401543,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b03f558"} 
[2026-07-07 10:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 10:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550792704001,"66":27843,"154":206,"87":13824,"24":45,"16":340936024374902784,"45":9016276848144345088},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-07 10:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550792704001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:51:05] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-07 10:51:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340936024374902784,"km_value":340936024374902.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016276848144345088,"description":"Unknown IO ID 45"} 
[2026-07-07 10:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550792704001,"power":27843,"unknown_154":206,"unknown_87":13824,"ignition":45,"odometer":null,"unknown_45":9016276848144345088}} 
[2026-07-07 10:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":125093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:51:05] local.INFO: GPS data processed {"connection_id":125093,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:51:05] local.INFO: Acknowledgment sent {"connection_id":125093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:51:26] local.INFO: TCP Data received {"connection_id":126334,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:51:26] local.INFO: Processing buffer {"connection_id":126334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:51:26] local.INFO: IMEI packet received {"connection_id":126334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":126334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:51:26] local.INFO: TCP Data received {"connection_id":126334,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:51:26] local.INFO: Processing buffer {"connection_id":126334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:51:26] local.INFO: IMEI packet received {"connection_id":126334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":126334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:51:28] local.INFO: TCP Data received {"connection_id":126334,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b049580012d0b7ec0071c88280030014d20..."} 
[2026-07-07 10:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b049580012d0b7ec0071c88280030014d20..."} 
[2026-07-07 10:51:28] local.INFO: Processing buffer {"connection_id":126334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b049580012d0b7ec0071c88280030014d20..."} 
[2026-07-07 10:51:28] local.INFO: Packet analysis {"connection_id":126334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b04"} 
[2026-07-07 10:51:28] local.INFO: Extracted packet for processing {"connection_id":126334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b04"} 
[2026-07-07 10:51:28] local.INFO: GPS Element Parsed {"raw_longitude":755728064,"raw_latitude":119310376,"longitude_deg":75.5728064,"latitude_deg":11.9310376,"altitude":48,"angle":333,"satellites":32,"speed":0,"hex_longitude":"2d0b7ec0","hex_latitude":"071c8828","is_valid_coordinates":true} 
[2026-07-07 10:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550800128001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4793007408676864,"note":"Value kept but may cause issues"} 
[2026-07-07 10:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828310518258739200,"note":"Value kept but may cause issues"} 
[2026-07-07 10:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783401584000,"timestamp_ms":1783401584000,"timestamp_seconds":1783401584,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b049580"} 
[2026-07-07 10:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-07 10:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550800128001,"66":12809,"14":206,"28":31744,"24":0,"16":4793007408676864,"45":828310518258739200},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550800128001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:51:28] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:51:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4793007408676864,"km_value":4793007408676.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":828310518258739200,"description":"Unknown IO ID 45"} 
[2026-07-07 10:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550800128001,"power":12809,"unknown_14":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":828310518258739200}} 
[2026-07-07 10:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":126334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:51:28] local.INFO: GPS data processed {"connection_id":126334,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:51:28] local.INFO: Acknowledgment sent {"connection_id":126334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:51:36] local.INFO: TCP Data received {"connection_id":125093,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b041498012d7d1c0005e9ec00000700b629..."} 
[2026-07-07 10:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b041498012d7d1c0005e9ec00000700b629..."} 
[2026-07-07 10:51:36] local.INFO: Processing buffer {"connection_id":125093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b041498012d7d1c0005e9ec00000700b629..."} 
[2026-07-07 10:51:36] local.INFO: Packet analysis {"connection_id":125093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b04"} 
[2026-07-07 10:51:36] local.INFO: Extracted packet for processing {"connection_id":125093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b04"} 
[2026-07-07 10:51:36] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":99216384,"longitude_deg":76.3173888,"latitude_deg":9.9216384,"altitude":7,"angle":182,"satellites":41,"speed":51,"hex_longitude":"2d7d1c00","hex_latitude":"05e9ec00","is_valid_coordinates":true} 
[2026-07-07 10:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550795008001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340936496821305344,"note":"Value kept but may cause issues"} 
[2026-07-07 10:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015713898188374016,"note":"Value kept but may cause issues"} 
[2026-07-07 10:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783401551000,"timestamp_ms":1783401551000,"timestamp_seconds":1783401551,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b041498"} 
[2026-07-07 10:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 10:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550795008001,"66":27876,"154":206,"87":13824,"24":51,"16":340936496821305344,"45":9015713898188374016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-07 10:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550795008001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:51:36] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-07 10:51:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340936496821305344,"km_value":340936496821305.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015713898188374016,"description":"Unknown IO ID 45"} 
[2026-07-07 10:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550795008001,"power":27876,"unknown_154":206,"unknown_87":13824,"ignition":51,"odometer":null,"unknown_45":9015713898188374016}} 
[2026-07-07 10:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":125093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:51:36] local.INFO: GPS data processed {"connection_id":125093,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:51:36] local.INFO: Acknowledgment sent {"connection_id":125093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:51:59] local.INFO: TCP Data received {"connection_id":126335,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:51:59] local.INFO: Processing buffer {"connection_id":126335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:51:59] local.INFO: IMEI packet received {"connection_id":126335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":126335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:52:00] local.INFO: TCP Data received {"connection_id":126334,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b04e788012d0b7ec0071c88280030014d20..."} 
[2026-07-07 10:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b04e788012d0b7ec0071c88280030014d20..."} 
[2026-07-07 10:52:00] local.INFO: Processing buffer {"connection_id":126334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b04e788012d0b7ec0071c88280030014d20..."} 
[2026-07-07 10:52:00] local.INFO: Packet analysis {"connection_id":126334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b04"} 
[2026-07-07 10:52:00] local.INFO: Extracted packet for processing {"connection_id":126334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b04"} 
[2026-07-07 10:52:00] local.INFO: GPS Element Parsed {"raw_longitude":755728064,"raw_latitude":119310376,"longitude_deg":75.5728064,"latitude_deg":11.9310376,"altitude":48,"angle":333,"satellites":32,"speed":0,"hex_longitude":"2d0b7ec0","hex_latitude":"071c8828","is_valid_coordinates":true} 
[2026-07-07 10:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550805504001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4793007408676864,"note":"Value kept but may cause issues"} 
[2026-07-07 10:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828310518258739200,"note":"Value kept but may cause issues"} 
[2026-07-07 10:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783401605000,"timestamp_ms":1783401605000,"timestamp_seconds":1783401605,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b04e788"} 
[2026-07-07 10:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-07 10:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":72057594205701120,"note":"Value kept but may cause issues"} 
[2026-07-07 10:52:00] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2056306647088795678,"note":"Value kept but may cause issues"} 
[2026-07-07 10:52:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 10:52:00] local.WARNING: Large IO value detected {"io_id":59,"raw_value":213762657676394176,"note":"Value kept but may cause issues"} 
[2026-07-07 10:52:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3893231822,"corrected_to":0} 
[2026-07-07 10:52:00] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-07-07 10:52:00] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,14,28,24,241,158,16,7,159,67,45,192,136,48,26,10,66,25,1,240,139,59,4,113,205,3,127,30,239,50,2,17,49,124],"length":535,"final_offset":665,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3893231822,"validated":0}]} 
[2026-07-07 10:52:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3459130788631543808,"timestamp_seconds":3459130788631544.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 10:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550805504001,"66":12798,"14":206,"28":31744,"24":0,"16":4793007408676864,"45":828310518258739200},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550805504001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:52:00] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:52:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4793007408676864,"km_value":4793007408676.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":828310518258739200,"description":"Unknown IO ID 45"} 
[2026-07-07 10:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550805504001,"power":12798,"unknown_14":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":828310518258739200}} 
[2026-07-07 10:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":126334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:52:00] local.INFO: GPS data processed {"connection_id":126334,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:52:00] local.INFO: Acknowledgment sent {"connection_id":126334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:52:00] local.INFO: TCP Data received {"connection_id":126335,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:52:00] local.INFO: Processing buffer {"connection_id":126335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:52:00] local.INFO: IMEI packet received {"connection_id":126335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":126335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:52:04] local.INFO: TCP Data received {"connection_id":126335,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:52:04] local.INFO: Processing buffer {"connection_id":126335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:52:04] local.INFO: IMEI packet received {"connection_id":126335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":126335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:52:05] local.INFO: TCP Data received {"connection_id":126335,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0587b0012d7d074005e87c70000500b428..."} 
[2026-07-07 10:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0587b0012d7d074005e87c70000500b428..."} 
[2026-07-07 10:52:05] local.INFO: Processing buffer {"connection_id":126335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0587b0012d7d074005e87c70000500b428..."} 
[2026-07-07 10:52:05] local.INFO: Packet analysis {"connection_id":126335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b05"} 
[2026-07-07 10:52:05] local.INFO: Extracted packet for processing {"connection_id":126335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b05"} 
[2026-07-07 10:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763168576,"raw_latitude":99122288,"longitude_deg":76.3168576,"latitude_deg":9.9122288,"altitude":5,"angle":180,"satellites":40,"speed":0,"hex_longitude":"2d7d0740","hex_latitude":"05e87c70","is_valid_coordinates":true} 
[2026-07-07 10:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550816000001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340941070961475584,"note":"Value kept but may cause issues"} 
[2026-07-07 10:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009310342441678848,"note":"Value kept but may cause issues"} 
[2026-07-07 10:52:05] 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-07-07 10:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783401646000,"timestamp_ms":1783401646000,"timestamp_seconds":1783401646,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0587b0"} 
[2026-07-07 10:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 10:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550816000001,"66":27865,"155":206,"87":13824,"24":0,"16":340941070961475584,"45":9009310342441678848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-07 10:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550816000001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:52:05] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-07 10:52:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340941070961475584,"km_value":340941070961475.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009310342441678848,"description":"Unknown IO ID 45"} 
[2026-07-07 10:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550816000001,"power":27865,"unknown_155":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9009310342441678848}} 
[2026-07-07 10:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":126335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:52:05] local.INFO: GPS data processed {"connection_id":126335,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:52:05] local.INFO: Acknowledgment sent {"connection_id":126335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:52:27] local.INFO: TCP Data received {"connection_id":124391,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:52:27] local.INFO: Processing buffer {"connection_id":124391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:52:27] local.INFO: IMEI packet received {"connection_id":124391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":124391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:52:28] local.INFO: TCP Data received {"connection_id":124391,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:52:28] local.INFO: Processing buffer {"connection_id":124391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:52:28] local.INFO: IMEI packet received {"connection_id":124391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":124391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:52:31] local.INFO: TCP Data received {"connection_id":124391,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b053990012d0b7ec0071c88280030014d1f..."} 
[2026-07-07 10:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b053990012d0b7ec0071c88280030014d1f..."} 
[2026-07-07 10:52:31] local.INFO: Processing buffer {"connection_id":124391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b053990012d0b7ec0071c88280030014d1f..."} 
[2026-07-07 10:52:31] local.INFO: Packet analysis {"connection_id":124391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b05"} 
[2026-07-07 10:52:31] local.INFO: Extracted packet for processing {"connection_id":124391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b05"} 
[2026-07-07 10:52:31] local.INFO: GPS Element Parsed {"raw_longitude":755728064,"raw_latitude":119310376,"longitude_deg":75.5728064,"latitude_deg":11.9310376,"altitude":48,"angle":333,"satellites":31,"speed":0,"hex_longitude":"2d0b7ec0","hex_latitude":"071c8828","is_valid_coordinates":true} 
[2026-07-07 10:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550810880001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4793007408676864,"note":"Value kept but may cause issues"} 
[2026-07-07 10:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828310518258739200,"note":"Value kept but may cause issues"} 
[2026-07-07 10:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783401626000,"timestamp_ms":1783401626000,"timestamp_seconds":1783401626,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b053990"} 
[2026-07-07 10:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 10:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":124391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":124391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":124391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550810880001,"66":12798,"14":206,"28":31744,"24":0,"16":4793007408676864,"45":828310518258739200},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550810880001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:52:31] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4793007408676864,"km_value":4793007408676.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":828310518258739200,"description":"Unknown IO ID 45"} 
[2026-07-07 10:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550810880001,"power":12798,"unknown_14":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":828310518258739200}} 
[2026-07-07 10:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":124391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:52:31] local.INFO: GPS data processed {"connection_id":124391,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:52:31] local.INFO: Acknowledgment sent {"connection_id":124391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:52:32] local.INFO: TCP Data received {"connection_id":124391,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b058b98012d0b7ec0071c88280030014d1c..."} 
[2026-07-07 10:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b058b98012d0b7ec0071c88280030014d1c..."} 
[2026-07-07 10:52:32] local.INFO: Processing buffer {"connection_id":124391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b058b98012d0b7ec0071c88280030014d1c..."} 
[2026-07-07 10:52:32] local.INFO: Packet analysis {"connection_id":124391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b05"} 
[2026-07-07 10:52:32] local.INFO: Extracted packet for processing {"connection_id":124391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b05"} 
[2026-07-07 10:52:32] local.INFO: GPS Element Parsed {"raw_longitude":755728064,"raw_latitude":119310376,"longitude_deg":75.5728064,"latitude_deg":11.9310376,"altitude":48,"angle":333,"satellites":28,"speed":0,"hex_longitude":"2d0b7ec0","hex_latitude":"071c8828","is_valid_coordinates":true} 
[2026-07-07 10:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550816256001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4793007408676864,"note":"Value kept but may cause issues"} 
[2026-07-07 10:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828310518258739200,"note":"Value kept but may cause issues"} 
[2026-07-07 10:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783401647000,"timestamp_ms":1783401647000,"timestamp_seconds":1783401647,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b058b98"} 
[2026-07-07 10:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 10:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550816256001,"66":12722,"14":206,"28":31744,"24":0,"16":4793007408676864,"45":828310518258739200},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550816256001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:52:32] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:52:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4793007408676864,"km_value":4793007408676.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":828310518258739200,"description":"Unknown IO ID 45"} 
[2026-07-07 10:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550816256001,"power":12722,"unknown_14":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":828310518258739200}} 
[2026-07-07 10:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":124391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:52:32] local.INFO: GPS data processed {"connection_id":124391,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:52:32] local.INFO: Acknowledgment sent {"connection_id":124391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:52:36] local.INFO: TCP Data received {"connection_id":126335,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b05d9b8012d7d068005e873a0000600b729..."} 
[2026-07-07 10:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b05d9b8012d7d068005e873a0000600b729..."} 
[2026-07-07 10:52:36] local.INFO: Processing buffer {"connection_id":126335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b05d9b8012d7d068005e873a0000600b729..."} 
[2026-07-07 10:52:36] local.INFO: Packet analysis {"connection_id":126335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b05"} 
[2026-07-07 10:52:36] local.INFO: Extracted packet for processing {"connection_id":126335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b05"} 
[2026-07-07 10:52:36] local.INFO: GPS Element Parsed {"raw_longitude":763168384,"raw_latitude":99120032,"longitude_deg":76.3168384,"latitude_deg":9.9120032,"altitude":6,"angle":183,"satellites":41,"speed":14,"hex_longitude":"2d7d0680","hex_latitude":"05e873a0","is_valid_coordinates":true} 
[2026-07-07 10:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550821376001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340941178335657984,"note":"Value kept but may cause issues"} 
[2026-07-07 10:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009239973697449984,"note":"Value kept but may cause issues"} 
[2026-07-07 10:52:36] 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-07-07 10:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783401667000,"timestamp_ms":1783401667000,"timestamp_seconds":1783401667,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b05d9b8"} 
[2026-07-07 10:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:52: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-07-07 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 10:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550821376001,"66":27908,"155":206,"87":13824,"24":14,"16":340941178335657984,"45":9009239973697449984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-07 10:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550821376001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:52:36] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-07 10:52:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340941178335657984,"km_value":340941178335658.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009239973697449984,"description":"Unknown IO ID 45"} 
[2026-07-07 10:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550821376001,"power":27908,"unknown_155":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":9009239973697449984}} 
[2026-07-07 10:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":126335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:52:36] local.INFO: GPS data processed {"connection_id":126335,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:52:36] local.INFO: Acknowledgment sent {"connection_id":126335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:52:39] local.INFO: TCP Data received {"connection_id":125094,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:52:39] local.INFO: Processing buffer {"connection_id":125094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:52:39] local.INFO: IMEI packet received {"connection_id":125094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 10:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":125094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:52:59] local.INFO: TCP Data received {"connection_id":125096,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:52:59] local.INFO: Processing buffer {"connection_id":125096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:52:59] local.INFO: IMEI packet received {"connection_id":125096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":125096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:52:59] local.INFO: TCP Data received {"connection_id":125095,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:52:59] local.INFO: Processing buffer {"connection_id":125095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:52:59] local.INFO: IMEI packet received {"connection_id":125095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 10:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":125095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:53:04] local.INFO: TCP Data received {"connection_id":125096,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:53:04] local.INFO: Processing buffer {"connection_id":125096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:53:04] local.INFO: IMEI packet received {"connection_id":125096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":125096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:53:05] local.INFO: TCP Data received {"connection_id":125096,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b061450012d7d04c005e84e78000700b729..."} 
[2026-07-07 10:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b061450012d7d04c005e84e78000700b729..."} 
[2026-07-07 10:53:05] local.INFO: Processing buffer {"connection_id":125096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b061450012d7d04c005e84e78000700b729..."} 
[2026-07-07 10:53:05] local.INFO: Packet analysis {"connection_id":125096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b06"} 
[2026-07-07 10:53:05] local.INFO: Extracted packet for processing {"connection_id":125096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b06"} 
[2026-07-07 10:53:05] local.INFO: GPS Element Parsed {"raw_longitude":763167936,"raw_latitude":99110520,"longitude_deg":76.3167936,"latitude_deg":9.911052,"altitude":7,"angle":183,"satellites":41,"speed":33,"hex_longitude":"2d7d04c0","hex_latitude":"05e84e78","is_valid_coordinates":true} 
[2026-07-07 10:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550826752001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340941642192125952,"note":"Value kept but may cause issues"} 
[2026-07-07 10:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009028867464339456,"note":"Value kept but may cause issues"} 
[2026-07-07 10:53:05] 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-07-07 10:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783401682000,"timestamp_ms":1783401682000,"timestamp_seconds":1783401682,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b061450"} 
[2026-07-07 10:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 10:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550826752001,"66":27821,"155":206,"87":13824,"24":33,"16":340941642192125952,"45":9009028867464339456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-07 10:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550826752001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:53:05] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-07 10:53:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340941642192125952,"km_value":340941642192125.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009028867464339456,"description":"Unknown IO ID 45"} 
[2026-07-07 10:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550826752001,"power":27821,"unknown_155":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":9009028867464339456}} 
[2026-07-07 10:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":125096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:53:05] local.INFO: GPS data processed {"connection_id":125096,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:53:05] local.INFO: Acknowledgment sent {"connection_id":125096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:53:22] local.INFO: TCP Data received {"connection_id":124392,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:53:22] local.INFO: Processing buffer {"connection_id":124392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:53:22] local.INFO: IMEI packet received {"connection_id":124392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":124392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:53:27] local.INFO: TCP Data received {"connection_id":124392,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:53:27] local.INFO: Processing buffer {"connection_id":124392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:53:27] local.INFO: IMEI packet received {"connection_id":124392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":124392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:53:28] local.INFO: TCP Data received {"connection_id":124392,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b05dda0012d0b7ec0071c88280030014d20..."} 
[2026-07-07 10:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b05dda0012d0b7ec0071c88280030014d20..."} 
[2026-07-07 10:53:28] local.INFO: Processing buffer {"connection_id":124392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b05dda0012d0b7ec0071c88280030014d20..."} 
[2026-07-07 10:53:28] local.INFO: Packet analysis {"connection_id":124392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b05"} 
[2026-07-07 10:53:28] local.INFO: Extracted packet for processing {"connection_id":124392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b05"} 
[2026-07-07 10:53:28] local.INFO: GPS Element Parsed {"raw_longitude":755728064,"raw_latitude":119310376,"longitude_deg":75.5728064,"latitude_deg":11.9310376,"altitude":48,"angle":333,"satellites":32,"speed":0,"hex_longitude":"2d0b7ec0","hex_latitude":"071c8828","is_valid_coordinates":true} 
[2026-07-07 10:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550821632001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4793007408676864,"note":"Value kept but may cause issues"} 
[2026-07-07 10:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828310518258739200,"note":"Value kept but may cause issues"} 
[2026-07-07 10:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783401668000,"timestamp_ms":1783401668000,"timestamp_seconds":1783401668,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b05dda0"} 
[2026-07-07 10:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 10:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550821632001,"66":12722,"14":206,"28":31744,"24":0,"16":4793007408676864,"45":828310518258739200},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550821632001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:53:28] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:53:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4793007408676864,"km_value":4793007408676.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":828310518258739200,"description":"Unknown IO ID 45"} 
[2026-07-07 10:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550821632001,"power":12722,"unknown_14":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":828310518258739200}} 
[2026-07-07 10:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":124392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:53:28] local.INFO: GPS data processed {"connection_id":124392,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:53:28] local.INFO: Acknowledgment sent {"connection_id":124392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:53:36] local.INFO: TCP Data received {"connection_id":125096,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b063f48012d7d028005e82bc8000600bc28..."} 
[2026-07-07 10:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b063f48012d7d028005e82bc8000600bc28..."} 
[2026-07-07 10:53:36] local.INFO: Processing buffer {"connection_id":125096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b063f48012d7d028005e82bc8000600bc28..."} 
[2026-07-07 10:53:36] local.INFO: Packet analysis {"connection_id":125096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b06"} 
[2026-07-07 10:53:36] local.INFO: Extracted packet for processing {"connection_id":125096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b06"} 
[2026-07-07 10:53:36] local.INFO: GPS Element Parsed {"raw_longitude":763167360,"raw_latitude":99101640,"longitude_deg":76.316736,"latitude_deg":9.910164,"altitude":6,"angle":188,"satellites":40,"speed":32,"hex_longitude":"2d7d0280","hex_latitude":"05e82bc8","is_valid_coordinates":true} 
[2026-07-07 10:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550830592001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340942071688855552,"note":"Value kept but may cause issues"} 
[2026-07-07 10:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008536286252660736,"note":"Value kept but may cause issues"} 
[2026-07-07 10:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783401693000,"timestamp_ms":1783401693000,"timestamp_seconds":1783401693,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b063f48"} 
[2026-07-07 10:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 10:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550830592001,"66":27876,"31":206,"87":13824,"24":32,"16":340942071688855552,"45":9008536286252660736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-07 10:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550830592001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:53:36] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-07 10:53:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340942071688855552,"km_value":340942071688855.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008536286252660736,"description":"Unknown IO ID 45"} 
[2026-07-07 10:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550830592001,"power":27876,"unknown_31":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":9008536286252660736}} 
[2026-07-07 10:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":125096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:53:36] local.INFO: GPS data processed {"connection_id":125096,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:53:36] local.INFO: Acknowledgment sent {"connection_id":125096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:54:00] local.INFO: TCP Data received {"connection_id":124392,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b062fa8012d0b7ec0071c88280030014d20..."} 
[2026-07-07 10:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b062fa8012d0b7ec0071c88280030014d20..."} 
[2026-07-07 10:54:00] local.INFO: Processing buffer {"connection_id":124392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b062fa8012d0b7ec0071c88280030014d20..."} 
[2026-07-07 10:54:00] local.INFO: Packet analysis {"connection_id":124392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b06"} 
[2026-07-07 10:54:00] local.INFO: Extracted packet for processing {"connection_id":124392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b06"} 
[2026-07-07 10:54:00] local.INFO: GPS Element Parsed {"raw_longitude":755728064,"raw_latitude":119310376,"longitude_deg":75.5728064,"latitude_deg":11.9310376,"altitude":48,"angle":333,"satellites":32,"speed":0,"hex_longitude":"2d0b7ec0","hex_latitude":"071c8828","is_valid_coordinates":true} 
[2026-07-07 10:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550827008001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4793007408676864,"note":"Value kept but may cause issues"} 
[2026-07-07 10:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828310518258739200,"note":"Value kept but may cause issues"} 
[2026-07-07 10:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783401689000,"timestamp_ms":1783401689000,"timestamp_seconds":1783401689,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b062fa8"} 
[2026-07-07 10:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 10:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550827008001,"66":12711,"14":206,"28":31744,"24":0,"16":4793007408676864,"45":828310518258739200},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550827008001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:54:00] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:54:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4793007408676864,"km_value":4793007408676.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":828310518258739200,"description":"Unknown IO ID 45"} 
[2026-07-07 10:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550827008001,"power":12711,"unknown_14":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":828310518258739200}} 
[2026-07-07 10:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":124392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:54:00] local.INFO: GPS data processed {"connection_id":124392,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:54:00] local.INFO: Acknowledgment sent {"connection_id":124392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:54:01] local.INFO: TCP Data received {"connection_id":124304,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:54:01] local.INFO: Processing buffer {"connection_id":124304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:54:01] local.INFO: IMEI packet received {"connection_id":124304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":124304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:54:04] local.INFO: TCP Data received {"connection_id":124304,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:54:04] local.INFO: Processing buffer {"connection_id":124304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:54:04] local.INFO: IMEI packet received {"connection_id":124304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":124304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:54:08] local.INFO: TCP Data received {"connection_id":124304,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:54:08] local.INFO: Processing buffer {"connection_id":124304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:54:08] local.INFO: IMEI packet received {"connection_id":124304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":124304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:54:08] local.INFO: TCP Data received {"connection_id":124304,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b07d1a0012d7cad0005e6a2e8000400bf28..."} 
[2026-07-07 10:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b07d1a0012d7cad0005e6a2e8000400bf28..."} 
[2026-07-07 10:54:08] local.INFO: Processing buffer {"connection_id":124304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b07d1a0012d7cad0005e6a2e8000400bf28..."} 
[2026-07-07 10:54:08] local.INFO: Packet analysis {"connection_id":124304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b07"} 
[2026-07-07 10:54:08] local.INFO: Extracted packet for processing {"connection_id":124304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b07"} 
[2026-07-07 10:54:08] local.INFO: GPS Element Parsed {"raw_longitude":763145472,"raw_latitude":99001064,"longitude_deg":76.3145472,"latitude_deg":9.9001064,"altitude":4,"angle":191,"satellites":40,"speed":55,"hex_longitude":"2d7cad00","hex_latitude":"05e6a2e8","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550857984001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340947062440853504,"note":"Value kept but may cause issues"} 
[2026-07-07 10:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986018288090226688,"note":"Value kept but may cause issues"} 
[2026-07-07 10:54: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-07-07 10:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783401796000,"timestamp_ms":1783401796000,"timestamp_seconds":1783401796,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b07d1a0"} 
[2026-07-07 10:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:54: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-07-07 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 10:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550857984001,"66":28028,"38":206,"87":13824,"24":55,"16":340947062440853504,"45":8986018288090226688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-07-07 10:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550857984001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:54:08] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-07 10:54:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340947062440853504,"km_value":340947062440853.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986018288090226688,"description":"Unknown IO ID 45"} 
[2026-07-07 10:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550857984001,"power":28028,"unknown_38":206,"unknown_87":13824,"ignition":55,"odometer":null,"unknown_45":8986018288090226688}} 
[2026-07-07 10:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":124304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:54:08] local.INFO: GPS data processed {"connection_id":124304,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:54:08] local.INFO: Acknowledgment sent {"connection_id":124304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:54:09] local.INFO: TCP Data received {"connection_id":124304,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b07ecf8012d7ca54005e67be0000300be28..."} 
[2026-07-07 10:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b07ecf8012d7ca54005e67be0000300be28..."} 
[2026-07-07 10:54:09] local.INFO: Processing buffer {"connection_id":124304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b07ecf8012d7ca54005e67be0000300be28..."} 
[2026-07-07 10:54:09] local.INFO: Packet analysis {"connection_id":124304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b07"} 
[2026-07-07 10:54:09] local.INFO: Extracted packet for processing {"connection_id":124304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b07"} 
[2026-07-07 10:54:09] local.INFO: GPS Element Parsed {"raw_longitude":763143488,"raw_latitude":98991072,"longitude_deg":76.3143488,"latitude_deg":9.8991072,"altitude":3,"angle":190,"satellites":40,"speed":59,"hex_longitude":"2d7ca540","hex_latitude":"05e67be0","is_valid_coordinates":true} 
[2026-07-07 10:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550859776001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340947556362092544,"note":"Value kept but may cause issues"} 
[2026-07-07 10:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983836857018279936,"note":"Value kept but may cause issues"} 
[2026-07-07 10:54: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-07-07 10:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783401803000,"timestamp_ms":1783401803000,"timestamp_seconds":1783401803,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b07ecf8"} 
[2026-07-07 10:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 10:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550859776001,"66":27974,"38":206,"87":13824,"24":59,"16":340947556362092544,"45":8983836857018279936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-07-07 10:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550859776001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:54:09] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-07 10:54:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340947556362092544,"km_value":340947556362092.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983836857018279936,"description":"Unknown IO ID 45"} 
[2026-07-07 10:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550859776001,"power":27974,"unknown_38":206,"unknown_87":13824,"ignition":59,"odometer":null,"unknown_45":8983836857018279936}} 
[2026-07-07 10:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":124304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:54:09] local.INFO: GPS data processed {"connection_id":124304,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:54:09] local.INFO: Acknowledgment sent {"connection_id":124304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:54:21] local.INFO: TCP Data received {"connection_id":124393,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:54:21] local.INFO: Processing buffer {"connection_id":124393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:54:21] local.INFO: IMEI packet received {"connection_id":124393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":124393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:54:26] local.INFO: TCP Data received {"connection_id":124393,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:54:26] local.INFO: Processing buffer {"connection_id":124393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:54:26] local.INFO: IMEI packet received {"connection_id":124393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":124393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:54:28] local.INFO: TCP Data received {"connection_id":124393,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0681b0012d0b7ec0071c88280030014d1f..."} 
[2026-07-07 10:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0681b0012d0b7ec0071c88280030014d1f..."} 
[2026-07-07 10:54:28] local.INFO: Processing buffer {"connection_id":124393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0681b0012d0b7ec0071c88280030014d1f..."} 
[2026-07-07 10:54:28] local.INFO: Packet analysis {"connection_id":124393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b06"} 
[2026-07-07 10:54:28] local.INFO: Extracted packet for processing {"connection_id":124393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b06"} 
[2026-07-07 10:54:28] local.INFO: GPS Element Parsed {"raw_longitude":755728064,"raw_latitude":119310376,"longitude_deg":75.5728064,"latitude_deg":11.9310376,"altitude":48,"angle":333,"satellites":31,"speed":0,"hex_longitude":"2d0b7ec0","hex_latitude":"071c8828","is_valid_coordinates":true} 
[2026-07-07 10:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550832384001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4793007408676864,"note":"Value kept but may cause issues"} 
[2026-07-07 10:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828310518258739200,"note":"Value kept but may cause issues"} 
[2026-07-07 10:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783401710000,"timestamp_ms":1783401710000,"timestamp_seconds":1783401710,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0681b0"} 
[2026-07-07 10:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-07 10:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550832384001,"66":12722,"14":206,"28":31744,"24":0,"16":4793007408676864,"45":828310518258739200},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550832384001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:54:28] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:54:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4793007408676864,"km_value":4793007408676.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":828310518258739200,"description":"Unknown IO ID 45"} 
[2026-07-07 10:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550832384001,"power":12722,"unknown_14":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":828310518258739200}} 
[2026-07-07 10:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":124393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:54:28] local.INFO: GPS data processed {"connection_id":124393,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:54:28] local.INFO: Acknowledgment sent {"connection_id":124393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:54:41] local.INFO: TCP Data received {"connection_id":124304,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b080468012d7c9e0005e65928000400be27..."} 
[2026-07-07 10:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b080468012d7c9e0005e65928000400be27..."} 
[2026-07-07 10:54:41] local.INFO: Processing buffer {"connection_id":124304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b080468012d7c9e0005e65928000400be27..."} 
[2026-07-07 10:54:41] local.INFO: Packet analysis {"connection_id":124304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b08"} 
[2026-07-07 10:54:41] local.INFO: Extracted packet for processing {"connection_id":124304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b08"} 
[2026-07-07 10:54:41] local.INFO: GPS Element Parsed {"raw_longitude":763141632,"raw_latitude":98982184,"longitude_deg":76.3141632,"latitude_deg":9.8982184,"altitude":4,"angle":190,"satellites":39,"speed":60,"hex_longitude":"2d7c9e00","hex_latitude":"05e65928","is_valid_coordinates":true} 
[2026-07-07 10:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550861568001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340947994448756736,"note":"Value kept but may cause issues"} 
[2026-07-07 10:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981655425946214400,"note":"Value kept but may cause issues"} 
[2026-07-07 10:54:41] 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-07-07 10:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783401809000,"timestamp_ms":1783401809000,"timestamp_seconds":1783401809,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b080468"} 
[2026-07-07 10:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 10:54: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-07-07 10:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10: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-07-07 10:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550861568001,"66":27908,"38":206,"87":13824,"24":60,"16":340947994448756736,"45":8981655425946214400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-07-07 10:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550861568001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:54:41] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-07 10:54:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340947994448756736,"km_value":340947994448756.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981655425946214400,"description":"Unknown IO ID 45"} 
[2026-07-07 10:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550861568001,"power":27908,"unknown_38":206,"unknown_87":13824,"ignition":60,"odometer":null,"unknown_45":8981655425946214400}} 
[2026-07-07 10:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":124304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:54:41] local.INFO: GPS data processed {"connection_id":124304,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:54:41] local.INFO: Acknowledgment sent {"connection_id":124304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:54:59] local.INFO: TCP Data received {"connection_id":124393,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b08bfe8012d0b7280071c91a00032000720..."} 
[2026-07-07 10:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b08bfe8012d0b7280071c91a00032000720..."} 
[2026-07-07 10:54:59] local.INFO: Processing buffer {"connection_id":124393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b08bfe8012d0b7280071c91a00032000720..."} 
[2026-07-07 10:54:59] local.INFO: Packet analysis {"connection_id":124393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b08"} 
[2026-07-07 10:54:59] local.INFO: Extracted packet for processing {"connection_id":124393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b08"} 
[2026-07-07 10:54:59] local.INFO: GPS Element Parsed {"raw_longitude":755724928,"raw_latitude":119312800,"longitude_deg":75.5724928,"latitude_deg":11.93128,"altitude":50,"angle":7,"satellites":32,"speed":6,"hex_longitude":"2d0b7280","hex_latitude":"071c91a0","is_valid_coordinates":true} 
[2026-07-07 10:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550874880001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4793239336910848,"note":"Value kept but may cause issues"} 
[2026-07-07 10:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824862449794551808,"note":"Value kept but may cause issues"} 
[2026-07-07 10:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783401857000,"timestamp_ms":1783401857000,"timestamp_seconds":1783401857,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b08bfe8"} 
[2026-07-07 10:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-07 10:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":124393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":124393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":124393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550874880001,"66":14070,"14":206,"28":31744,"24":6,"16":4793239336910848,"45":824862449794551808},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550874880001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:54:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:54:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4793239336910848,"km_value":4793239336910.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":824862449794551808,"description":"Unknown IO ID 45"} 
[2026-07-07 10:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550874880001,"power":14070,"unknown_14":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":824862449794551808}} 
[2026-07-07 10:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":124393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:54:59] local.INFO: GPS data processed {"connection_id":124393,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:54:59] local.INFO: Acknowledgment sent {"connection_id":124393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:55:00] local.INFO: TCP Data received {"connection_id":124394,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:55:00] local.INFO: Processing buffer {"connection_id":124394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:55:00] local.INFO: IMEI packet received {"connection_id":124394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":124394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:55:04] local.INFO: TCP Data received {"connection_id":124394,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:55:04] local.INFO: Processing buffer {"connection_id":124394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:55:04] local.INFO: IMEI packet received {"connection_id":124394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":124394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:55:06] local.INFO: TCP Data received {"connection_id":124394,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b081bd8012d7c978005e63670000400be27..."} 
[2026-07-07 10:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b081bd8012d7c978005e63670000400be27..."} 
[2026-07-07 10:55:06] local.INFO: Processing buffer {"connection_id":124394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b081bd8012d7c978005e63670000400be27..."} 
[2026-07-07 10:55:06] local.INFO: Packet analysis {"connection_id":124394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b08"} 
[2026-07-07 10:55:06] local.INFO: Extracted packet for processing {"connection_id":124394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b08"} 
[2026-07-07 10:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763139968,"raw_latitude":98973296,"longitude_deg":76.3139968,"latitude_deg":9.8973296,"altitude":4,"angle":190,"satellites":39,"speed":59,"hex_longitude":"2d7c9780","hex_latitude":"05e63670","is_valid_coordinates":true} 
[2026-07-07 10:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550863104001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340948432535420928,"note":"Value kept but may cause issues"} 
[2026-07-07 10:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979614732362786816,"note":"Value kept but may cause issues"} 
[2026-07-07 10:55:06] 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-07-07 10:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783401815000,"timestamp_ms":1783401815000,"timestamp_seconds":1783401815,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b081bd8"} 
[2026-07-07 10:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:55: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-07-07 10:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 10:55: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-07-07 10:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550863104001,"66":27908,"38":206,"87":13824,"24":59,"16":340948432535420928,"45":8979614732362786816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-07-07 10:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550863104001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:55:06] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-07 10:55:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340948432535420928,"km_value":340948432535420.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979614732362786816,"description":"Unknown IO ID 45"} 
[2026-07-07 10:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550863104001,"power":27908,"unknown_38":206,"unknown_87":13824,"ignition":59,"odometer":null,"unknown_45":8979614732362786816}} 
[2026-07-07 10:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":124394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:55:06] local.INFO: GPS data processed {"connection_id":124394,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:55:06] local.INFO: Acknowledgment sent {"connection_id":124394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:55:08] local.INFO: TCP Data received {"connection_id":124394,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b083730012d7c900005e61078000400c026..."} 
[2026-07-07 10:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b083730012d7c900005e61078000400c026..."} 
[2026-07-07 10:55:08] local.INFO: Processing buffer {"connection_id":124394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b083730012d7c900005e61078000400c026..."} 
[2026-07-07 10:55:08] local.INFO: Packet analysis {"connection_id":124394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b08"} 
[2026-07-07 10:55:08] local.INFO: Extracted packet for processing {"connection_id":124394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b08"} 
[2026-07-07 10:55:08] local.INFO: GPS Element Parsed {"raw_longitude":763138048,"raw_latitude":98963576,"longitude_deg":76.3138048,"latitude_deg":9.8963576,"altitude":4,"angle":192,"satellites":38,"speed":50,"hex_longitude":"2d7c9000","hex_latitude":"05e61078","is_valid_coordinates":true} 
[2026-07-07 10:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550864640001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340948913571758080,"note":"Value kept but may cause issues"} 
[2026-07-07 10:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977785145011892224,"note":"Value kept but may cause issues"} 
[2026-07-07 10:55: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-07-07 10:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783401822000,"timestamp_ms":1783401822000,"timestamp_seconds":1783401822,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b083730"} 
[2026-07-07 10:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:55: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-07-07 10:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 10:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550864640001,"66":27865,"38":206,"87":13824,"24":50,"16":340948913571758080,"45":8977785145011892224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-07-07 10:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550864640001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:55:08] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-07 10:55:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340948913571758080,"km_value":340948913571758.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977785145011892224,"description":"Unknown IO ID 45"} 
[2026-07-07 10:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550864640001,"power":27865,"unknown_38":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":8977785145011892224}} 
[2026-07-07 10:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":124394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:55:08] local.INFO: GPS data processed {"connection_id":124394,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:55:08] local.INFO: Acknowledgment sent {"connection_id":124394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:55:21] local.INFO: TCP Data received {"connection_id":125097,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:55:21] local.INFO: Processing buffer {"connection_id":125097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:55:21] local.INFO: IMEI packet received {"connection_id":125097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":125097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:55:22] local.INFO: TCP Data received {"connection_id":125097,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:55:22] local.INFO: Processing buffer {"connection_id":125097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:55:22] local.INFO: IMEI packet received {"connection_id":125097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":125097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:55:26] local.INFO: TCP Data received {"connection_id":125097,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:55:26] local.INFO: Processing buffer {"connection_id":125097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:55:26] local.INFO: IMEI packet received {"connection_id":125097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":125097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:55:28] local.INFO: TCP Data received {"connection_id":125097,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b08c7b8012d0b7280071c92f00032015820..."} 
[2026-07-07 10:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b08c7b8012d0b7280071c92f00032015820..."} 
[2026-07-07 10:55:28] local.INFO: Processing buffer {"connection_id":125097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b08c7b8012d0b7280071c92f00032015820..."} 
[2026-07-07 10:55:28] local.INFO: Packet analysis {"connection_id":125097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b08"} 
[2026-07-07 10:55:28] local.INFO: Extracted packet for processing {"connection_id":125097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b08"} 
[2026-07-07 10:55:28] local.INFO: GPS Element Parsed {"raw_longitude":755724928,"raw_latitude":119313136,"longitude_deg":75.5724928,"latitude_deg":11.9313136,"altitude":50,"angle":344,"satellites":32,"speed":6,"hex_longitude":"2d0b7280","hex_latitude":"071c92f0","is_valid_coordinates":true} 
[2026-07-07 10:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550875392001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4793256516780032,"note":"Value kept but may cause issues"} 
[2026-07-07 10:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824862449794654208,"note":"Value kept but may cause issues"} 
[2026-07-07 10:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783401859000,"timestamp_ms":1783401859000,"timestamp_seconds":1783401859,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b08c7b8"} 
[2026-07-07 10:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-07 10:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550875392001,"66":13917,"14":206,"28":31744,"24":6,"16":4793256516780032,"45":824862449794654208},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550875392001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:55:28] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:55:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4793256516780032,"km_value":4793256516780.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":824862449794654208,"description":"Unknown IO ID 45"} 
[2026-07-07 10:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550875392001,"power":13917,"unknown_14":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":824862449794654208}} 
[2026-07-07 10:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":125097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:55:28] local.INFO: GPS data processed {"connection_id":125097,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:55:28] local.INFO: Acknowledgment sent {"connection_id":125097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:55:41] local.INFO: TCP Data received {"connection_id":124394,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b086228012d7c8bc005e5ed50000300bc26..."} 
[2026-07-07 10:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b086228012d7c8bc005e5ed50000300bc26..."} 
[2026-07-07 10:55:41] local.INFO: Processing buffer {"connection_id":124394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b086228012d7c8bc005e5ed50000300bc26..."} 
[2026-07-07 10:55:41] local.INFO: Packet analysis {"connection_id":124394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b08"} 
[2026-07-07 10:55:41] local.INFO: Extracted packet for processing {"connection_id":124394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b08"} 
[2026-07-07 10:55:41] local.INFO: GPS Element Parsed {"raw_longitude":763136960,"raw_latitude":98954576,"longitude_deg":76.313696,"latitude_deg":9.8954576,"altitude":3,"angle":188,"satellites":38,"speed":8,"hex_longitude":"2d7c8bc0","hex_latitude":"05e5ed50","is_valid_coordinates":true} 
[2026-07-07 10:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550866432001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340949355953389568,"note":"Value kept but may cause issues"} 
[2026-07-07 10:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975674082684073984,"note":"Value kept but may cause issues"} 
[2026-07-07 10:55:41] 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-07-07 10:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783401833000,"timestamp_ms":1783401833000,"timestamp_seconds":1783401833,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b086228"} 
[2026-07-07 10:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10: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-07-07 10:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 10: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-07-07 10:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10: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-07-07 10:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550866432001,"66":27843,"38":206,"87":13824,"24":8,"16":340949355953389568,"45":8975674082684073984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-07-07 10:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550866432001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:55:41] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-07 10:55:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340949355953389568,"km_value":340949355953389.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975674082684073984,"description":"Unknown IO ID 45"} 
[2026-07-07 10:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550866432001,"power":27843,"unknown_38":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8975674082684073984}} 
[2026-07-07 10:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":124394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:55:41] local.INFO: GPS data processed {"connection_id":124394,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:55:41] local.INFO: Acknowledgment sent {"connection_id":124394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:55:59] local.INFO: TCP Data received {"connection_id":126336,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:55:59] local.INFO: Processing buffer {"connection_id":126336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:55:59] local.INFO: IMEI packet received {"connection_id":126336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":126336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:56:02] local.INFO: TCP Data received {"connection_id":126336,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:56:02] local.INFO: Processing buffer {"connection_id":126336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:56:02] local.INFO: IMEI packet received {"connection_id":126336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":126336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:56:03] local.INFO: TCP Data received {"connection_id":126336,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b08b430012d7c8a0005e5e2e0000200c126..."} 
[2026-07-07 10:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b08b430012d7c8a0005e5e2e0000200c126..."} 
[2026-07-07 10:56:03] local.INFO: Processing buffer {"connection_id":126336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b08b430012d7c8a0005e5e2e0000200c126..."} 
[2026-07-07 10:56:03] local.INFO: Packet analysis {"connection_id":126336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b08"} 
[2026-07-07 10:56:03] local.INFO: Extracted packet for processing {"connection_id":126336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b08"} 
[2026-07-07 10:56:03] local.INFO: GPS Element Parsed {"raw_longitude":763136512,"raw_latitude":98951904,"longitude_deg":76.3136512,"latitude_deg":9.8951904,"altitude":2,"angle":193,"satellites":38,"speed":12,"hex_longitude":"2d7c8a00","hex_latitude":"05e5e2e0","is_valid_coordinates":true} 
[2026-07-07 10:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550869248001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340949489097375744,"note":"Value kept but may cause issues"} 
[2026-07-07 10:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974477814030749696,"note":"Value kept but may cause issues"} 
[2026-07-07 10:56:03] 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-07-07 10:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783401854000,"timestamp_ms":1783401854000,"timestamp_seconds":1783401854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b08b430"} 
[2026-07-07 10:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:56: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-07-07 10:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 10:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550869248001,"66":27930,"38":206,"87":13824,"24":12,"16":340949489097375744,"45":8974477814030749696},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-07-07 10:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550869248001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:56:03] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-07 10:56:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340949489097375744,"km_value":340949489097375.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974477814030749696,"description":"Unknown IO ID 45"} 
[2026-07-07 10:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550869248001,"power":27930,"unknown_38":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8974477814030749696}} 
[2026-07-07 10:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":126336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:56:03] local.INFO: GPS data processed {"connection_id":126336,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:56:03] local.INFO: Acknowledgment sent {"connection_id":126336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:56:03] local.INFO: TCP Data received {"connection_id":125097,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b097f50012d0b7380071ca1200032003021..."} 
[2026-07-07 10:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b097f50012d0b7380071ca1200032003021..."} 
[2026-07-07 10:56:03] local.INFO: Processing buffer {"connection_id":125097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b097f50012d0b7380071ca1200032003021..."} 
[2026-07-07 10:56:03] local.INFO: Packet analysis {"connection_id":125097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b09"} 
[2026-07-07 10:56:03] local.INFO: Extracted packet for processing {"connection_id":125097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b09"} 
[2026-07-07 10:56:03] local.INFO: GPS Element Parsed {"raw_longitude":755725184,"raw_latitude":119316768,"longitude_deg":75.5725184,"latitude_deg":11.9316768,"altitude":50,"angle":48,"satellites":33,"speed":12,"hex_longitude":"2d0b7380","hex_latitude":"071ca120","is_valid_coordinates":true} 
[2026-07-07 10:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550887680001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4793484150046720,"note":"Value kept but may cause issues"} 
[2026-07-07 10:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824862449795614720,"note":"Value kept but may cause issues"} 
[2026-07-07 10:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783401906000,"timestamp_ms":1783401906000,"timestamp_seconds":1783401906,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b097f50"} 
[2026-07-07 10:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-07 10:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550887680001,"66":14363,"14":206,"28":31744,"24":12,"16":4793484150046720,"45":824862449795614720},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550887680001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:56:03] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:56:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4793484150046720,"km_value":4793484150046.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":824862449795614720,"description":"Unknown IO ID 45"} 
[2026-07-07 10:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550887680001,"power":14363,"unknown_14":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":824862449795614720}} 
[2026-07-07 10:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":125097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:56:04] local.INFO: GPS data processed {"connection_id":125097,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:56:04] local.INFO: Acknowledgment sent {"connection_id":125097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:56:27] local.INFO: TCP Data received {"connection_id":124395,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:56:27] local.INFO: Processing buffer {"connection_id":124395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:56:27] local.INFO: IMEI packet received {"connection_id":124395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":124395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:56:31] local.INFO: TCP Data received {"connection_id":124395,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:56:31] local.INFO: Processing buffer {"connection_id":124395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:56:31] local.INFO: IMEI packet received {"connection_id":124395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":124395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:56:32] local.INFO: TCP Data received {"connection_id":124395,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b098720012d0b7540071ca2d80032003b21..."} 
[2026-07-07 10:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b098720012d0b7540071ca2d80032003b21..."} 
[2026-07-07 10:56:32] local.INFO: Processing buffer {"connection_id":124395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b098720012d0b7540071ca2d80032003b21..."} 
[2026-07-07 10:56:32] local.INFO: Packet analysis {"connection_id":124395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b09"} 
[2026-07-07 10:56:32] local.INFO: Extracted packet for processing {"connection_id":124395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b09"} 
[2026-07-07 10:56:32] local.INFO: GPS Element Parsed {"raw_longitude":755725632,"raw_latitude":119317208,"longitude_deg":75.5725632,"latitude_deg":11.9317208,"altitude":50,"angle":59,"satellites":33,"speed":14,"hex_longitude":"2d0b7540","hex_latitude":"071ca2d8","is_valid_coordinates":true} 
[2026-07-07 10:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550887936001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4793514214817792,"note":"Value kept but may cause issues"} 
[2026-07-07 10:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":825143924772380672,"note":"Value kept but may cause issues"} 
[2026-07-07 10:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783401908000,"timestamp_ms":1783401908000,"timestamp_seconds":1783401908,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b098720"} 
[2026-07-07 10:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-07 10:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550887936001,"66":14243,"14":206,"28":31744,"24":14,"16":4793514214817792,"45":825143924772380672},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550887936001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:56:32] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:56:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4793514214817792,"km_value":4793514214817.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":825143924772380672,"description":"Unknown IO ID 45"} 
[2026-07-07 10:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550887936001,"power":14243,"unknown_14":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":825143924772380672}} 
[2026-07-07 10:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":124395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:56:32] local.INFO: GPS data processed {"connection_id":124395,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:56:32] local.INFO: Acknowledgment sent {"connection_id":124395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:56:33] local.INFO: TCP Data received {"connection_id":124395,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b099aa8012d0b7cc0071ca6200033004721..."} 
[2026-07-07 10:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b099aa8012d0b7cc0071ca6200033004721..."} 
[2026-07-07 10:56:33] local.INFO: Processing buffer {"connection_id":124395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b099aa8012d0b7cc0071ca6200033004721..."} 
[2026-07-07 10:56:33] local.INFO: Packet analysis {"connection_id":124395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b09"} 
[2026-07-07 10:56:33] local.INFO: Extracted packet for processing {"connection_id":124395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b09"} 
[2026-07-07 10:56:33] local.INFO: GPS Element Parsed {"raw_longitude":755727552,"raw_latitude":119318048,"longitude_deg":75.5727552,"latitude_deg":11.9318048,"altitude":51,"angle":71,"satellites":33,"speed":16,"hex_longitude":"2d0b7cc0","hex_latitude":"071ca620","is_valid_coordinates":true} 
[2026-07-07 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-07-07 10:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550888448001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4793612999065600,"note":"Value kept but may cause issues"} 
[2026-07-07 10:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":825636505981736960,"note":"Value kept but may cause issues"} 
[2026-07-07 10:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783401913000,"timestamp_ms":1783401913000,"timestamp_seconds":1783401913,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b099aa8"} 
[2026-07-07 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-07-07 10:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-07 10:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 10:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550888448001,"66":13656,"14":206,"28":31744,"24":16,"16":4793612999065600,"45":825636505981736960},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550888448001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:56:33] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:56:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4793612999065600,"km_value":4793612999065.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":825636505981736960,"description":"Unknown IO ID 45"} 
[2026-07-07 10:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550888448001,"power":13656,"unknown_14":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":825636505981736960}} 
[2026-07-07 10:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":124395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:56:34] local.INFO: GPS data processed {"connection_id":124395,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:56:34] local.INFO: Acknowledgment sent {"connection_id":124395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:56:34] local.INFO: TCP Data received {"connection_id":126336,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b08eec8012d7c808005e5c000000300c027..."} 
[2026-07-07 10:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b08eec8012d7c808005e5c000000300c027..."} 
[2026-07-07 10:56:34] local.INFO: Processing buffer {"connection_id":126336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b08eec8012d7c808005e5c000000300c027..."} 
[2026-07-07 10:56:34] local.INFO: Packet analysis {"connection_id":126336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b08"} 
[2026-07-07 10:56:34] local.INFO: Extracted packet for processing {"connection_id":126336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b08"} 
[2026-07-07 10:56:34] local.INFO: GPS Element Parsed {"raw_longitude":763134080,"raw_latitude":98942976,"longitude_deg":76.313408,"latitude_deg":9.8942976,"altitude":3,"angle":192,"satellites":39,"speed":32,"hex_longitude":"2d7c8080","hex_latitude":"05e5c000","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550874624001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340949940068941824,"note":"Value kept but may cause issues"} 
[2026-07-07 10:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973985232820822016,"note":"Value kept but may cause issues"} 
[2026-07-07 10:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783401869000,"timestamp_ms":1783401869000,"timestamp_seconds":1783401869,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b08eec8"} 
[2026-07-07 10:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:56: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-07-07 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 10:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550874624001,"66":27767,"39":206,"87":13824,"24":32,"16":340949940068941824,"45":8973985232820822016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-07 10:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550874624001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:56:34] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-07 10:56:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 10:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340949940068941824,"km_value":340949940068941.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973985232820822016,"description":"Unknown IO ID 45"} 
[2026-07-07 10:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550874624001,"power":27767,"unknown_39":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8973985232820822016}} 
[2026-07-07 10:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":126336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:56:34] local.INFO: GPS data processed {"connection_id":126336,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:56:34] local.INFO: Acknowledgment sent {"connection_id":126336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:56:59] local.INFO: TCP Data received {"connection_id":125099,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:56:59] local.INFO: Processing buffer {"connection_id":125099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:56:59] local.INFO: IMEI packet received {"connection_id":125099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":125099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:57:03] local.INFO: TCP Data received {"connection_id":125099,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:57:03] local.INFO: Processing buffer {"connection_id":125099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:57:03] local.INFO: IMEI packet received {"connection_id":125099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":125099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:57:04] local.INFO: TCP Data received {"connection_id":125099,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0a6d98012d7bca8005e461f8000d00d426..."} 
[2026-07-07 10:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0a6d98012d7bca8005e461f8000d00d426..."} 
[2026-07-07 10:57:04] local.INFO: Processing buffer {"connection_id":125099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0a6d98012d7bca8005e461f8000d00d426..."} 
[2026-07-07 10:57:04] local.INFO: Packet analysis {"connection_id":125099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0a"} 
[2026-07-07 10:57:04] local.INFO: Extracted packet for processing {"connection_id":125099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0a"} 
[2026-07-07 10:57:04] local.INFO: GPS Element Parsed {"raw_longitude":763087488,"raw_latitude":98853368,"longitude_deg":76.3087488,"latitude_deg":9.8853368,"altitude":13,"angle":212,"satellites":38,"speed":42,"hex_longitude":"2d7bca80","hex_latitude":"05e461f8","is_valid_coordinates":true} 
[2026-07-07 10:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550901248001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340954862101463040,"note":"Value kept but may cause issues"} 
[2026-07-07 10:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925782643035928576,"note":"Value kept but may cause issues"} 
[2026-07-07 10:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783401967000,"timestamp_ms":1783401967000,"timestamp_seconds":1783401967,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0a6d98"} 
[2026-07-07 10:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 10:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550901248001,"66":27843,"95":206,"85":15104,"24":42,"16":340954862101463040,"45":8925782643035928576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-07 10:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550901248001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:57:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 10:57:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 10:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340954862101463040,"km_value":340954862101463.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925782643035928576,"description":"Unknown IO ID 45"} 
[2026-07-07 10:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550901248001,"power":27843,"unknown_95":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8925782643035928576}} 
[2026-07-07 10:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":125099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:57:04] local.INFO: GPS data processed {"connection_id":125099,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:57:04] local.INFO: Acknowledgment sent {"connection_id":125099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:57:06] local.INFO: TCP Data received {"connection_id":124395,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b09ecb0012d0b9040071cace00036004f1f..."} 
[2026-07-07 10:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b09ecb0012d0b9040071cace00036004f1f..."} 
[2026-07-07 10:57:06] local.INFO: Processing buffer {"connection_id":124395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b09ecb0012d0b9040071cace00036004f1f..."} 
[2026-07-07 10:57:06] local.INFO: Packet analysis {"connection_id":124395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b09"} 
[2026-07-07 10:57:06] local.INFO: Extracted packet for processing {"connection_id":124395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b09"} 
[2026-07-07 10:57:06] local.INFO: GPS Element Parsed {"raw_longitude":755732544,"raw_latitude":119319776,"longitude_deg":75.5732544,"latitude_deg":11.9319776,"altitude":54,"angle":79,"satellites":31,"speed":15,"hex_longitude":"2d0b9040","hex_latitude":"071cace0","is_valid_coordinates":true} 
[2026-07-07 10:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550889728001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4793870697103360,"note":"Value kept but may cause issues"} 
[2026-07-07 10:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827747568307281920,"note":"Value kept but may cause issues"} 
[2026-07-07 10:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783401934000,"timestamp_ms":1783401934000,"timestamp_seconds":1783401934,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b09ecb0"} 
[2026-07-07 10:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-07 10:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550889728001,"66":14298,"14":206,"28":31744,"24":15,"16":4793870697103360,"45":827747568307281920},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550889728001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:57:06] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:57:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4793870697103360,"km_value":4793870697103.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":827747568307281920,"description":"Unknown IO ID 45"} 
[2026-07-07 10:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550889728001,"power":14298,"unknown_14":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":827747568307281920}} 
[2026-07-07 10:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":124395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:57:06] local.INFO: GPS data processed {"connection_id":124395,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:57:06] local.INFO: Acknowledgment sent {"connection_id":124395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:57:22] local.INFO: TCP Data received {"connection_id":124396,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:57:22] local.INFO: Processing buffer {"connection_id":124396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:57:22] local.INFO: IMEI packet received {"connection_id":124396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":124396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:57:25] local.INFO: TCP Data received {"connection_id":124396,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:57:25] local.INFO: Processing buffer {"connection_id":124396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:57:25] local.INFO: IMEI packet received {"connection_id":124396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":124396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:57:26] local.INFO: TCP Data received {"connection_id":124396,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0a36e8012d0bb440071cb238003600561f..."} 
[2026-07-07 10:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0a36e8012d0bb440071cb238003600561f..."} 
[2026-07-07 10:57:26] local.INFO: Processing buffer {"connection_id":124396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0a36e8012d0bb440071cb238003600561f..."} 
[2026-07-07 10:57:26] local.INFO: Packet analysis {"connection_id":124396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0a"} 
[2026-07-07 10:57:26] local.INFO: Extracted packet for processing {"connection_id":124396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0a"} 
[2026-07-07 10:57:26] local.INFO: GPS Element Parsed {"raw_longitude":755741760,"raw_latitude":119321144,"longitude_deg":75.574176,"latitude_deg":11.9321144,"altitude":54,"angle":86,"satellites":31,"speed":17,"hex_longitude":"2d0bb440","hex_latitude":"071cb238","is_valid_coordinates":true} 
[2026-07-07 10:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550895104001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4794308783767552,"note":"Value kept but may cause issues"} 
[2026-07-07 10:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833236330353582080,"note":"Value kept but may cause issues"} 
[2026-07-07 10:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783401953000,"timestamp_ms":1783401953000,"timestamp_seconds":1783401953,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0a36e8"} 
[2026-07-07 10:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-07 10:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":124396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":124396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":124396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550895104001,"66":14374,"14":206,"28":31744,"24":17,"16":4794308783767552,"45":833236330353582080},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-07-07 10:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550895104001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:57:26] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 10:57:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4794308783767552,"km_value":4794308783767.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":833236330353582080,"description":"Unknown IO ID 45"} 
[2026-07-07 10:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550895104001,"power":14374,"unknown_14":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":833236330353582080}} 
[2026-07-07 10:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":124396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:57:26] local.INFO: GPS data processed {"connection_id":124396,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:57:26] local.INFO: Acknowledgment sent {"connection_id":124396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:57:28] local.INFO: TCP Data received {"connection_id":124396,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0a7180012d0bd880071cb6480035005422..."} 
[2026-07-07 10:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0a7180012d0bd880071cb6480035005422..."} 
[2026-07-07 10:57:28] local.INFO: Processing buffer {"connection_id":124396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0a7180012d0bd880071cb6480035005422..."} 
[2026-07-07 10:57:28] local.INFO: Packet analysis {"connection_id":124396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0a"} 
[2026-07-07 10:57:28] local.INFO: Extracted packet for processing {"connection_id":124396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0a"} 
[2026-07-07 10:57:28] local.INFO: GPS Element Parsed {"raw_longitude":755751040,"raw_latitude":119322184,"longitude_deg":75.575104,"latitude_deg":11.9322184,"altitude":53,"angle":84,"satellites":34,"speed":26,"hex_longitude":"2d0bd880","hex_latitude":"071cb648","is_valid_coordinates":true} 
[2026-07-07 10:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550899968001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4794755460366336,"note":"Value kept but may cause issues"} 
[2026-07-07 10:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843369429515515904,"note":"Value kept but may cause issues"} 
[2026-07-07 10:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783401968000,"timestamp_ms":1783401968000,"timestamp_seconds":1783401968,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0a7180"} 
[2026-07-07 10:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 10:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550899968001,"66":14396,"250":206,"28":31744,"24":26,"16":4794755460366336,"45":843369429515515904},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-07-07 10:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550899968001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:57:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 10:57:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4794755460366336,"km_value":4794755460366.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":843369429515515904,"description":"Unknown IO ID 45"} 
[2026-07-07 10:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550899968001,"power":14396,"unknown_250":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":843369429515515904}} 
[2026-07-07 10:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":124396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:57:28] local.INFO: GPS data processed {"connection_id":124396,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:57:28] local.INFO: Acknowledgment sent {"connection_id":124396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:57:35] local.INFO: TCP Data received {"connection_id":125099,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0a90c0012d7bb54005e441c8000d00d526..."} 
[2026-07-07 10:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0a90c0012d7bb54005e441c8000d00d526..."} 
[2026-07-07 10:57:35] local.INFO: Processing buffer {"connection_id":125099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0a90c0012d7bb54005e441c8000d00d526..."} 
[2026-07-07 10:57:35] local.INFO: Packet analysis {"connection_id":125099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0a"} 
[2026-07-07 10:57:35] local.INFO: Extracted packet for processing {"connection_id":125099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0a"} 
[2026-07-07 10:57:35] local.INFO: GPS Element Parsed {"raw_longitude":763082048,"raw_latitude":98845128,"longitude_deg":76.3082048,"latitude_deg":9.8845128,"altitude":13,"angle":213,"satellites":38,"speed":40,"hex_longitude":"2d7bb540","hex_latitude":"05e441c8","is_valid_coordinates":true} 
[2026-07-07 10:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550903552001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340955338842832896,"note":"Value kept but may cause issues"} 
[2026-07-07 10:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920082774755506176,"note":"Value kept but may cause issues"} 
[2026-07-07 10:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783401976000,"timestamp_ms":1783401976000,"timestamp_seconds":1783401976,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0a90c0"} 
[2026-07-07 10:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:57: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-07-07 10:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 10:57: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-07-07 10:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550903552001,"66":27908,"95":206,"85":15104,"24":40,"16":340955338842832896,"45":8920082774755506176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-07 10:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550903552001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:57:35] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 10:57:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 10:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340955338842832896,"km_value":340955338842832.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920082774755506176,"description":"Unknown IO ID 45"} 
[2026-07-07 10:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550903552001,"power":27908,"unknown_95":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8920082774755506176}} 
[2026-07-07 10:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":125099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:57:35] local.INFO: GPS data processed {"connection_id":125099,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:57:35] local.INFO: Acknowledgment sent {"connection_id":125099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:57:59] local.INFO: TCP Data received {"connection_id":124306,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:57:59] local.INFO: Processing buffer {"connection_id":124306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:57:59] local.INFO: IMEI packet received {"connection_id":124306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":124306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:57:59] local.INFO: TCP Data received {"connection_id":124306,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:57:59] local.INFO: Processing buffer {"connection_id":124306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:57:59] local.INFO: IMEI packet received {"connection_id":124306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":124306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:58:00] local.INFO: TCP Data received {"connection_id":124396,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0a90c0012d0bee40071cba300035004924..."} 
[2026-07-07 10:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0a90c0012d0bee40071cba300035004924..."} 
[2026-07-07 10:58:00] local.INFO: Processing buffer {"connection_id":124396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0a90c0012d0bee40071cba300035004924..."} 
[2026-07-07 10:58:00] local.INFO: Packet analysis {"connection_id":124396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0a"} 
[2026-07-07 10:58:00] local.INFO: Extracted packet for processing {"connection_id":124396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0a"} 
[2026-07-07 10:58:00] local.INFO: GPS Element Parsed {"raw_longitude":755756608,"raw_latitude":119323184,"longitude_deg":75.5756608,"latitude_deg":11.9323184,"altitude":53,"angle":73,"satellites":36,"speed":30,"hex_longitude":"2d0bee40","hex_latitude":"071cba30","is_valid_coordinates":true} 
[2026-07-07 10:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550903808001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4795021748338688,"note":"Value kept but may cause issues"} 
[2026-07-07 10:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853572897421543424,"note":"Value kept but may cause issues"} 
[2026-07-07 10:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783401976000,"timestamp_ms":1783401976000,"timestamp_seconds":1783401976,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0a90c0"} 
[2026-07-07 10:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:58: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":60,"data_length":795,"current_offset":136} 
[2026-07-07 10:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:58:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550903808001,"66":14428,"250":206,"28":31744,"24":30,"16":4795021748338688,"45":853572897421543424},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-07-07 10:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550903808001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:58:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 10:58:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4795021748338688,"km_value":4795021748338.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":853572897421543424,"description":"Unknown IO ID 45"} 
[2026-07-07 10:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550903808001,"power":14428,"unknown_250":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":853572897421543424}} 
[2026-07-07 10:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":124396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:58:00] local.INFO: GPS data processed {"connection_id":124396,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:58:00] local.INFO: Acknowledgment sent {"connection_id":124396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:58:02] local.INFO: TCP Data received {"connection_id":124306,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:58:02] local.INFO: Processing buffer {"connection_id":124306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:58:02] local.INFO: IMEI packet received {"connection_id":124306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":124306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:58:03] local.INFO: TCP Data received {"connection_id":124306,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0ab3e8012d7ba00005e421c0000b00d425..."} 
[2026-07-07 10:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0ab3e8012d7ba00005e421c0000b00d425..."} 
[2026-07-07 10:58:03] local.INFO: Processing buffer {"connection_id":124306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0ab3e8012d7ba00005e421c0000b00d425..."} 
[2026-07-07 10:58:03] local.INFO: Packet analysis {"connection_id":124306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0a"} 
[2026-07-07 10:58:03] local.INFO: Extracted packet for processing {"connection_id":124306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0a"} 
[2026-07-07 10:58:03] local.INFO: GPS Element Parsed {"raw_longitude":763076608,"raw_latitude":98836928,"longitude_deg":76.3076608,"latitude_deg":9.8836928,"altitude":11,"angle":212,"satellites":37,"speed":45,"hex_longitude":"2d7ba000","hex_latitude":"05e421c0","is_valid_coordinates":true} 
[2026-07-07 10:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550905856001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340955811289235456,"note":"Value kept but may cause issues"} 
[2026-07-07 10:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914101431498295296,"note":"Value kept but may cause issues"} 
[2026-07-07 10:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783401985000,"timestamp_ms":1783401985000,"timestamp_seconds":1783401985,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0ab3e8"} 
[2026-07-07 10:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:58: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-07-07 10:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 10:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550905856001,"66":27767,"95":206,"85":15104,"24":45,"16":340955811289235456,"45":8914101431498295296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-07 10:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550905856001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:58:03] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 10:58:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 10:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340955811289235456,"km_value":340955811289235.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914101431498295296,"description":"Unknown IO ID 45"} 
[2026-07-07 10:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550905856001,"power":27767,"unknown_95":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8914101431498295296}} 
[2026-07-07 10:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":124306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:58:03] local.INFO: GPS data processed {"connection_id":124306,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:58:03] local.INFO: Acknowledgment sent {"connection_id":124306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:58:14] local.INFO: TCP Data received {"connection_id":124307,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:58:14] local.INFO: Processing buffer {"connection_id":124307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:58:14] local.INFO: IMEI packet received {"connection_id":124307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 10:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":124307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:58:21] local.INFO: TCP Data received {"connection_id":125101,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:58:21] local.INFO: Processing buffer {"connection_id":125101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:58:21] local.INFO: IMEI packet received {"connection_id":125101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":125101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:58:26] local.INFO: TCP Data received {"connection_id":125101,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:58:26] local.INFO: Processing buffer {"connection_id":125101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:58:26] local.INFO: IMEI packet received {"connection_id":125101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":125101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:58:28] local.INFO: TCP Data received {"connection_id":125101,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0ab000012d0c06c0071cbe900035005523..."} 
[2026-07-07 10:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0ab000012d0c06c0071cbe900035005523..."} 
[2026-07-07 10:58:28] local.INFO: Processing buffer {"connection_id":125101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0ab000012d0c06c0071cbe900035005523..."} 
[2026-07-07 10:58:28] local.INFO: Packet analysis {"connection_id":125101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0a"} 
[2026-07-07 10:58:28] local.INFO: Extracted packet for processing {"connection_id":125101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0a"} 
[2026-07-07 10:58:28] local.INFO: GPS Element Parsed {"raw_longitude":755762880,"raw_latitude":119324304,"longitude_deg":75.576288,"latitude_deg":11.9324304,"altitude":53,"angle":85,"satellites":35,"speed":29,"hex_longitude":"2d0c06c0","hex_latitude":"071cbe90","is_valid_coordinates":true} 
[2026-07-07 10:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550905856001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4795326691016704,"note":"Value kept but may cause issues"} 
[2026-07-07 10:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":859694978165256192,"note":"Value kept but may cause issues"} 
[2026-07-07 10:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783401984000,"timestamp_ms":1783401984000,"timestamp_seconds":1783401984,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0ab000"} 
[2026-07-07 10:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 10:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550905856001,"66":14428,"250":206,"28":31744,"24":29,"16":4795326691016704,"45":859694978165256192},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-07-07 10:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550905856001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:58:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 10:58:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4795326691016704,"km_value":4795326691016.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":859694978165256192,"description":"Unknown IO ID 45"} 
[2026-07-07 10:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550905856001,"power":14428,"unknown_250":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":859694978165256192}} 
[2026-07-07 10:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":125101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:58:28] local.INFO: GPS data processed {"connection_id":125101,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:58:28] local.INFO: Acknowledgment sent {"connection_id":125101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:58:34] local.INFO: TCP Data received {"connection_id":124306,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0ad328012d7b8ac005e40260000a00d526..."} 
[2026-07-07 10:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0ad328012d7b8ac005e40260000a00d526..."} 
[2026-07-07 10:58:34] local.INFO: Processing buffer {"connection_id":124306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0ad328012d7b8ac005e40260000a00d526..."} 
[2026-07-07 10:58:34] local.INFO: Packet analysis {"connection_id":124306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0a"} 
[2026-07-07 10:58:34] local.INFO: Extracted packet for processing {"connection_id":124306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0a"} 
[2026-07-07 10:58:34] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":98828896,"longitude_deg":76.3071168,"latitude_deg":9.8828896,"altitude":10,"angle":213,"satellites":38,"speed":50,"hex_longitude":"2d7b8ac0","hex_latitude":"05e40260","is_valid_coordinates":true} 
[2026-07-07 10: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-07-07 10:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550908160001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340956279440670720,"note":"Value kept but may cause issues"} 
[2026-07-07 10:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908120088241094656,"note":"Value kept but may cause issues"} 
[2026-07-07 10:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783401993000,"timestamp_ms":1783401993000,"timestamp_seconds":1783401993,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0ad328"} 
[2026-07-07 10:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:58: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-07-07 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 10:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10: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-07-07 10:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550908160001,"66":27691,"95":206,"85":15104,"24":50,"16":340956279440670720,"45":8908120088241094656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-07 10:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550908160001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:58:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 10:58:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 10:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340956279440670720,"km_value":340956279440670.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908120088241094656,"description":"Unknown IO ID 45"} 
[2026-07-07 10:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550908160001,"power":27691,"unknown_95":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8908120088241094656}} 
[2026-07-07 10:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":124306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:58:34] local.INFO: GPS data processed {"connection_id":124306,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:58:34] local.INFO: Acknowledgment sent {"connection_id":124306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:58:59] local.INFO: TCP Data received {"connection_id":125102,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:58:59] local.INFO: Processing buffer {"connection_id":125102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:58:59] local.INFO: IMEI packet received {"connection_id":125102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":125102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:59:00] local.INFO: TCP Data received {"connection_id":125101,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0adee0012d0c2a40071cbe080036005b20..."} 
[2026-07-07 10:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0adee0012d0c2a40071cbe080036005b20..."} 
[2026-07-07 10:59:00] local.INFO: Processing buffer {"connection_id":125101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0adee0012d0c2a40071cbe080036005b20..."} 
[2026-07-07 10:59:00] local.INFO: Packet analysis {"connection_id":125101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0a"} 
[2026-07-07 10:59:00] local.INFO: Extracted packet for processing {"connection_id":125101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0a"} 
[2026-07-07 10:59:00] local.INFO: GPS Element Parsed {"raw_longitude":755771968,"raw_latitude":119324168,"longitude_deg":75.5771968,"latitude_deg":11.9324168,"altitude":54,"angle":91,"satellites":32,"speed":33,"hex_longitude":"2d0c2a40","hex_latitude":"071cbe08","is_valid_coordinates":true} 
[2026-07-07 10:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550907904001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4795756187746304,"note":"Value kept but may cause issues"} 
[2026-07-07 10:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":866591115094953984,"note":"Value kept but may cause issues"} 
[2026-07-07 10:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783401996000,"timestamp_ms":1783401996000,"timestamp_seconds":1783401996,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0adee0"} 
[2026-07-07 10:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 10:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550907904001,"66":14428,"250":206,"28":31744,"24":33,"16":4795756187746304,"45":866591115094953984},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-07-07 10:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550907904001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:59:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 10:59:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4795756187746304,"km_value":4795756187746.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":866591115094953984,"description":"Unknown IO ID 45"} 
[2026-07-07 10:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550907904001,"power":14428,"unknown_250":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":866591115094953984}} 
[2026-07-07 10:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":125101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:59:00] local.INFO: GPS data processed {"connection_id":125101,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:59:00] local.INFO: Acknowledgment sent {"connection_id":125101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:59:01] local.INFO: TCP Data received {"connection_id":125102,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:59:01] local.INFO: Processing buffer {"connection_id":125102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:59:01] local.INFO: IMEI packet received {"connection_id":125102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":125102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:59:04] local.INFO: TCP Data received {"connection_id":125102,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:59:04] local.INFO: Processing buffer {"connection_id":125102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:59:04] local.INFO: IMEI packet received {"connection_id":125102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 10:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":125102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:59:05] local.INFO: TCP Data received {"connection_id":125102,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0c1f30012d7b1cc005e2c4e0000000aa1e..."} 
[2026-07-07 10:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0c1f30012d7b1cc005e2c4e0000000aa1e..."} 
[2026-07-07 10:59:05] local.INFO: Processing buffer {"connection_id":125102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0c1f30012d7b1cc005e2c4e0000000aa1e..."} 
[2026-07-07 10:59:05] local.INFO: Packet analysis {"connection_id":125102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0c"} 
[2026-07-07 10:59:05] local.INFO: Extracted packet for processing {"connection_id":125102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0c"} 
[2026-07-07 10:59:05] local.INFO: GPS Element Parsed {"raw_longitude":763043008,"raw_latitude":98747616,"longitude_deg":76.3043008,"latitude_deg":9.8747616,"altitude":0,"angle":170,"satellites":30,"speed":24,"hex_longitude":"2d7b1cc0","hex_latitude":"05e2c4e0","is_valid_coordinates":true} 
[2026-07-07 10:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550928896001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340960686077116416,"note":"Value kept but may cause issues"} 
[2026-07-07 10:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869698753899470848,"note":"Value kept but may cause issues"} 
[2026-07-07 10:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783402078000,"timestamp_ms":1783402078000,"timestamp_seconds":1783402078,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0c1f30"} 
[2026-07-07 10:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-07 10:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550928896001,"66":27908,"96":206,"85":15104,"24":24,"16":340960686077116416,"45":8869698753899470848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-07 10:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550928896001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:59:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 10:59:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 10:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340960686077116416,"km_value":340960686077116.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869698753899470848,"description":"Unknown IO ID 45"} 
[2026-07-07 10:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550928896001,"power":27908,"unknown_96":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8869698753899470848}} 
[2026-07-07 10:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":125102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:59:05] local.INFO: GPS data processed {"connection_id":125102,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:59:05] local.INFO: Acknowledgment sent {"connection_id":125102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:59:14] local.INFO: TCP Data received {"connection_id":124397,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:59:14] local.INFO: Processing buffer {"connection_id":124397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 10:59:14] local.INFO: IMEI packet received {"connection_id":124397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 10:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":124397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:59:22] local.INFO: TCP Data received {"connection_id":124308,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:59:22] local.INFO: Processing buffer {"connection_id":124308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:59:22] local.INFO: IMEI packet received {"connection_id":124308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 10:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":124308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:59:23] local.INFO: TCP Data received {"connection_id":124308,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:59:23] local.INFO: Processing buffer {"connection_id":124308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:59:23] local.INFO: IMEI packet received {"connection_id":124308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":124308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:59:26] local.INFO: TCP Data received {"connection_id":124308,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:59:26] local.INFO: Processing buffer {"connection_id":124308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 10:59:26] local.INFO: IMEI packet received {"connection_id":124308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 10:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":124308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 10:59:28] local.INFO: TCP Data received {"connection_id":124308,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0c84c0012d0d78c0071d11c8002d003421..."} 
[2026-07-07 10:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0c84c0012d0d78c0071d11c8002d003421..."} 
[2026-07-07 10:59:28] local.INFO: Processing buffer {"connection_id":124308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0c84c0012d0d78c0071d11c8002d003421..."} 
[2026-07-07 10:59:28] local.INFO: Packet analysis {"connection_id":124308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0c"} 
[2026-07-07 10:59:28] local.INFO: Extracted packet for processing {"connection_id":124308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0c"} 
[2026-07-07 10:59:28] local.INFO: GPS Element Parsed {"raw_longitude":755857600,"raw_latitude":119345608,"longitude_deg":75.58576,"latitude_deg":11.9345608,"altitude":45,"angle":52,"satellites":33,"speed":36,"hex_longitude":"2d0d78c0","hex_latitude":"071d11c8","is_valid_coordinates":true} 
[2026-07-07 10:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550936064001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":962011132203956224,"note":"Value kept but may cause issues"} 
[2026-07-07 10:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4800171414126592,"note":"Value kept but may cause issues"} 
[2026-07-07 10:59:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 10:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783402104000,"timestamp_ms":1783402104000,"timestamp_seconds":1783402104,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0c84c0"} 
[2026-07-07 10:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 10:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550936064001,"66":14157,"45":962011132203956224,"28":31744,"24":36,"16":4800171414126592},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,28,24,16]} 
[2026-07-07 10:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550936064001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":962011132203956224,"description":"Unknown IO ID 45"} 
[2026-07-07 10:59:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4800171414126592,"km_value":4800171414126.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:59:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456550936064001,"power":14157,"unknown_45":962011132203956224,"unknown_28":31744,"ignition":36,"odometer":null}} 
[2026-07-07 10:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":124308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:59:28] local.INFO: GPS data processed {"connection_id":124308,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:59:28] local.INFO: Acknowledgment sent {"connection_id":124308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:59:37] local.INFO: TCP Data received {"connection_id":125102,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0c51f8012d7b230005e2a008000000ac21..."} 
[2026-07-07 10:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0c51f8012d7b230005e2a008000000ac21..."} 
[2026-07-07 10:59:37] local.INFO: Processing buffer {"connection_id":125102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0c51f8012d7b230005e2a008000000ac21..."} 
[2026-07-07 10:59:37] local.INFO: Packet analysis {"connection_id":125102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0c"} 
[2026-07-07 10:59:37] local.INFO: Extracted packet for processing {"connection_id":125102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0c"} 
[2026-07-07 10:59:37] local.INFO: GPS Element Parsed {"raw_longitude":763044608,"raw_latitude":98738184,"longitude_deg":76.3044608,"latitude_deg":9.8738184,"altitude":0,"angle":172,"satellites":33,"speed":31,"hex_longitude":"2d7b2300","hex_latitude":"05e2a008","is_valid_coordinates":true} 
[2026-07-07 10:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550931968001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340961149933584384,"note":"Value kept but may cause issues"} 
[2026-07-07 10:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871176497524957184,"note":"Value kept but may cause issues"} 
[2026-07-07 10:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 10:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783402091000,"timestamp_ms":1783402091000,"timestamp_seconds":1783402091,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0c51f8"} 
[2026-07-07 10:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:59: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-07-07 10:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 10:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 10:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 10:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 10:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550931968001,"66":27865,"96":206,"85":15104,"24":31,"16":340961149933584384,"45":8871176497524957184},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-07 10:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 10:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 10:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550931968001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:59:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 10:59:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 10:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340961149933584384,"km_value":340961149933584.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871176497524957184,"description":"Unknown IO ID 45"} 
[2026-07-07 10:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550931968001,"power":27865,"unknown_96":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8871176497524957184}} 
[2026-07-07 10:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":125102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:59:37] local.INFO: GPS data processed {"connection_id":125102,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:59:37] local.INFO: Acknowledgment sent {"connection_id":125102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 10:59:59] local.INFO: TCP Data received {"connection_id":124398,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:59:59] local.INFO: Processing buffer {"connection_id":124398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 10:59:59] local.INFO: IMEI packet received {"connection_id":124398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 10:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":124398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 10:59:59] local.INFO: TCP Data received {"connection_id":124308,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0cabd0012d0d96c0071d2a00002e002f22..."} 
[2026-07-07 10:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0cabd0012d0d96c0071d2a00002e002f22..."} 
[2026-07-07 10:59:59] local.INFO: Processing buffer {"connection_id":124308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0cabd0012d0d96c0071d2a00002e002f22..."} 
[2026-07-07 10:59:59] local.INFO: Packet analysis {"connection_id":124308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0c"} 
[2026-07-07 10:59:59] local.INFO: Extracted packet for processing {"connection_id":124308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0c"} 
[2026-07-07 10:59:59] local.INFO: GPS Element Parsed {"raw_longitude":755865280,"raw_latitude":119351808,"longitude_deg":75.586528,"latitude_deg":11.9351808,"altitude":46,"angle":47,"satellites":34,"speed":40,"hex_longitude":"2d0d96c0","hex_latitude":"071d2a00","is_valid_coordinates":true} 
[2026-07-07 10:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 10:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550938624001,"note":"Value kept but may cause issues"} 
[2026-07-07 10:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":970736856483350528,"note":"Value kept but may cause issues"} 
[2026-07-07 10:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4800643860529152,"note":"Value kept but may cause issues"} 
[2026-07-07 10:59:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 10:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783402114000,"timestamp_ms":1783402114000,"timestamp_seconds":1783402114,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0cabd0"} 
[2026-07-07 10:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 10:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 10:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 10:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 10:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 10:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 10:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 10:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":124308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 10:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":124308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":124308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 10:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 10:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 10:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 10:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550938624001,"66":14494,"45":970736856483350528,"28":31744,"24":40,"16":4800643860529152},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,28,24,16]} 
[2026-07-07 10:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 10:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 10:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550938624001,"description":"Unknown IO ID 0"} 
[2026-07-07 10:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":970736856483350528,"description":"Unknown IO ID 45"} 
[2026-07-07 10:59:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 10:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4800643860529152,"km_value":4800643860529.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 10:59:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456550938624001,"power":14494,"unknown_45":970736856483350528,"unknown_28":31744,"ignition":40,"odometer":null}} 
[2026-07-07 10:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":124308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 10:59:59] local.INFO: GPS data processed {"connection_id":124308,"processed":1,"errors":0,"total":1} 
[2026-07-07 10:59:59] local.INFO: Acknowledgment sent {"connection_id":124308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:00:04] local.INFO: TCP Data received {"connection_id":124398,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:00:04] local.INFO: Processing buffer {"connection_id":124398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:00:04] local.INFO: IMEI packet received {"connection_id":124398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":124398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:00:06] local.INFO: TCP Data received {"connection_id":124398,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0c80d8012d7b280005e27b40000000ac21..."} 
[2026-07-07 11:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0c80d8012d7b280005e27b40000000ac21..."} 
[2026-07-07 11:00:06] local.INFO: Processing buffer {"connection_id":124398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0c80d8012d7b280005e27b40000000ac21..."} 
[2026-07-07 11:00:06] local.INFO: Packet analysis {"connection_id":124398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0c"} 
[2026-07-07 11:00:06] local.INFO: Extracted packet for processing {"connection_id":124398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0c"} 
[2026-07-07 11:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763045888,"raw_latitude":98728768,"longitude_deg":76.3045888,"latitude_deg":9.8728768,"altitude":0,"angle":172,"satellites":33,"speed":30,"hex_longitude":"2d7b2800","hex_latitude":"05e27b40","is_valid_coordinates":true} 
[2026-07-07 11:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550935296001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340961609495085056,"note":"Value kept but may cause issues"} 
[2026-07-07 11:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872935716126984192,"note":"Value kept but may cause issues"} 
[2026-07-07 11:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783402103000,"timestamp_ms":1783402103000,"timestamp_seconds":1783402103,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0c80d8"} 
[2026-07-07 11:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:00: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-07-07 11:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550935296001,"66":27865,"96":206,"85":15104,"24":30,"16":340961609495085056,"45":8872935716126984192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-07 11:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550935296001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:00:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 11:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340961609495085056,"km_value":340961609495085.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872935716126984192,"description":"Unknown IO ID 45"} 
[2026-07-07 11:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550935296001,"power":27865,"unknown_96":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8872935716126984192}} 
[2026-07-07 11:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":124398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:00:06] local.INFO: GPS data processed {"connection_id":124398,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:00:06] local.INFO: Acknowledgment sent {"connection_id":124398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:00:21] local.INFO: TCP Data received {"connection_id":124309,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:00:21] local.INFO: Processing buffer {"connection_id":124309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:00:21] local.INFO: IMEI packet received {"connection_id":124309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":124309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:00:26] local.INFO: TCP Data received {"connection_id":124309,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:00:26] local.INFO: Processing buffer {"connection_id":124309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:00:26] local.INFO: IMEI packet received {"connection_id":124309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":124309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:00:27] local.INFO: TCP Data received {"connection_id":124309,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:00:27] local.INFO: Processing buffer {"connection_id":124309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:00:27] local.INFO: IMEI packet received {"connection_id":124309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":124309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:00:32] local.INFO: TCP Data received {"connection_id":124309,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0cd2e0012d0db200071d4308002e002d23..."} 
[2026-07-07 11:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0cd2e0012d0db200071d4308002e002d23..."} 
[2026-07-07 11:00:32] local.INFO: Processing buffer {"connection_id":124309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0cd2e0012d0db200071d4308002e002d23..."} 
[2026-07-07 11:00:32] local.INFO: Packet analysis {"connection_id":124309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0c"} 
[2026-07-07 11:00:32] local.INFO: Extracted packet for processing {"connection_id":124309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0c"} 
[2026-07-07 11:00:32] local.INFO: GPS Element Parsed {"raw_longitude":755872256,"raw_latitude":119358216,"longitude_deg":75.5872256,"latitude_deg":11.9358216,"altitude":46,"angle":45,"satellites":35,"speed":36,"hex_longitude":"2d0db200","hex_latitude":"071d4308","is_valid_coordinates":true} 
[2026-07-07 11:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550941184001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":979181105786257408,"note":"Value kept but may cause issues"} 
[2026-07-07 11:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4801099127062528,"note":"Value kept but may cause issues"} 
[2026-07-07 11:00:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 11:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783402124000,"timestamp_ms":1783402124000,"timestamp_seconds":1783402124,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0cd2e0"} 
[2026-07-07 11:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-07 11:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550941184001,"66":14450,"45":979181105786257408,"28":31744,"24":36,"16":4801099127062528},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,28,24,16]} 
[2026-07-07 11:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550941184001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":979181105786257408,"description":"Unknown IO ID 45"} 
[2026-07-07 11:00:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4801099127062528,"km_value":4801099127062.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:00:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456550941184001,"power":14450,"unknown_45":979181105786257408,"unknown_28":31744,"ignition":36,"odometer":null}} 
[2026-07-07 11:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":124309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:00:32] local.INFO: GPS data processed {"connection_id":124309,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:00:32] local.INFO: Acknowledgment sent {"connection_id":124309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:00:34] local.INFO: TCP Data received {"connection_id":124309,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0cf9f0012d0dcb00071d5e38002c002721..."} 
[2026-07-07 11:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0cf9f0012d0dcb00071d5e38002c002721..."} 
[2026-07-07 11:00:34] local.INFO: Processing buffer {"connection_id":124309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0cf9f0012d0dcb00071d5e38002c002721..."} 
[2026-07-07 11:00:34] local.INFO: Packet analysis {"connection_id":124309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0c"} 
[2026-07-07 11:00:34] local.INFO: Extracted packet for processing {"connection_id":124309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0c"} 
[2026-07-07 11:00:34] local.INFO: GPS Element Parsed {"raw_longitude":755878656,"raw_latitude":119365176,"longitude_deg":75.5878656,"latitude_deg":11.9365176,"altitude":44,"angle":39,"satellites":33,"speed":37,"hex_longitude":"2d0dcb00","hex_latitude":"071d5e38","is_valid_coordinates":true} 
[2026-07-07 11:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550943744001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":986851298903263232,"note":"Value kept but may cause issues"} 
[2026-07-07 11:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4801550098628608,"note":"Value kept but may cause issues"} 
[2026-07-07 11:00:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 11:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783402134000,"timestamp_ms":1783402134000,"timestamp_seconds":1783402134,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0cf9f0"} 
[2026-07-07 11:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 11:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550943744001,"66":14428,"45":986851298903263232,"28":31744,"24":37,"16":4801550098628608},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,28,24,16]} 
[2026-07-07 11:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550943744001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":986851298903263232,"description":"Unknown IO ID 45"} 
[2026-07-07 11:00:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4801550098628608,"km_value":4801550098628.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:00:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456550943744001,"power":14428,"unknown_45":986851298903263232,"unknown_28":31744,"ignition":37,"odometer":null}} 
[2026-07-07 11:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":124309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:00:34] local.INFO: GPS data processed {"connection_id":124309,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:00:34] local.INFO: Acknowledgment sent {"connection_id":124309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:00:37] local.INFO: TCP Data received {"connection_id":124398,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0cd2e0012d7b2d4005e25e48000000a324..."} 
[2026-07-07 11:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0cd2e0012d7b2d4005e25e48000000a324..."} 
[2026-07-07 11:00:37] local.INFO: Processing buffer {"connection_id":124398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0cd2e0012d7b2d4005e25e48000000a324..."} 
[2026-07-07 11:00:37] local.INFO: Packet analysis {"connection_id":124398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0c"} 
[2026-07-07 11:00:37] local.INFO: Extracted packet for processing {"connection_id":124398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0c"} 
[2026-07-07 11:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763047232,"raw_latitude":98721352,"longitude_deg":76.3047232,"latitude_deg":9.8721352,"altitude":0,"angle":163,"satellites":36,"speed":4,"hex_longitude":"2d7b2d40","hex_latitude":"05e25e48","is_valid_coordinates":true} 
[2026-07-07 11:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550938368001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340961978862272512,"note":"Value kept but may cause issues"} 
[2026-07-07 11:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874343091008126976,"note":"Value kept but may cause issues"} 
[2026-07-07 11:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783402124000,"timestamp_ms":1783402124000,"timestamp_seconds":1783402124,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0cd2e0"} 
[2026-07-07 11:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550938368001,"66":27876,"96":206,"85":15104,"24":4,"16":340961978862272512,"45":8874343091008126976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-07 11:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550938368001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:00:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 11:00:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340961978862272512,"km_value":340961978862272.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874343091008126976,"description":"Unknown IO ID 45"} 
[2026-07-07 11:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550938368001,"power":27876,"unknown_96":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8874343091008126976}} 
[2026-07-07 11:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":124398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:00:37] local.INFO: GPS data processed {"connection_id":124398,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:00:37] local.INFO: Acknowledgment sent {"connection_id":124398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:01:04] local.INFO: TCP Data received {"connection_id":124399,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:01:04] local.INFO: Processing buffer {"connection_id":124399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:01:04] local.INFO: IMEI packet received {"connection_id":124399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":124399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:01:06] local.INFO: TCP Data received {"connection_id":124309,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0e2e88012d0eb940071e1fe00027004021..."} 
[2026-07-07 11:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0e2e88012d0eb940071e1fe00027004021..."} 
[2026-07-07 11:01:06] local.INFO: Processing buffer {"connection_id":124309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0e2e88012d0eb940071e1fe00027004021..."} 
[2026-07-07 11:01:06] local.INFO: Packet analysis {"connection_id":124309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0e"} 
[2026-07-07 11:01:06] local.INFO: Extracted packet for processing {"connection_id":124309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0e"} 
[2026-07-07 11:01:06] local.INFO: GPS Element Parsed {"raw_longitude":755939648,"raw_latitude":119414752,"longitude_deg":75.5939648,"latitude_deg":11.9414752,"altitude":39,"angle":64,"satellites":33,"speed":43,"hex_longitude":"2d0eb940","hex_latitude":"071e1fe0","is_valid_coordinates":true} 
[2026-07-07 11:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550966016001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4805381209456640,"note":"Value kept but may cause issues"} 
[2026-07-07 11:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1058908892955385856,"note":"Value kept but may cause issues"} 
[2026-07-07 11:01:06] 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-07-07 11:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783402213000,"timestamp_ms":1783402213000,"timestamp_seconds":1783402213,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0e2e88"} 
[2026-07-07 11:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-07 11:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550966016001,"66":13993,"44":206,"28":31744,"24":43,"16":4805381209456640,"45":1058908892955385856},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-07-07 11:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550966016001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:01:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-07 11:01:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4805381209456640,"km_value":4805381209456.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1058908892955385856,"description":"Unknown IO ID 45"} 
[2026-07-07 11:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550966016001,"power":13993,"unknown_44":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1058908892955385856}} 
[2026-07-07 11:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":124309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:01:06] local.INFO: GPS data processed {"connection_id":124309,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:01:06] local.INFO: Acknowledgment sent {"connection_id":124309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:01:09] local.INFO: TCP Data received {"connection_id":124399,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:01:09] local.INFO: Processing buffer {"connection_id":124399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:01:09] local.INFO: IMEI packet received {"connection_id":124399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":124399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:01:10] local.INFO: TCP Data received {"connection_id":124399,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0cd6c8012d7b2d4005e25db0000000b124..."} 
[2026-07-07 11:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0cd6c8012d7b2d4005e25db0000000b124..."} 
[2026-07-07 11:01:10] local.INFO: Processing buffer {"connection_id":124399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0cd6c8012d7b2d4005e25db0000000b124..."} 
[2026-07-07 11:01:10] local.INFO: Packet analysis {"connection_id":124399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0c"} 
[2026-07-07 11:01:10] local.INFO: Extracted packet for processing {"connection_id":124399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0c"} 
[2026-07-07 11:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763047232,"raw_latitude":98721200,"longitude_deg":76.3047232,"latitude_deg":9.87212,"altitude":0,"angle":177,"satellites":36,"speed":5,"hex_longitude":"2d7b2d40","hex_latitude":"05e25db0","is_valid_coordinates":true} 
[2026-07-07 11:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550943744001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340961987452207104,"note":"Value kept but may cause issues"} 
[2026-07-07 11:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875820834633959424,"note":"Value kept but may cause issues"} 
[2026-07-07 11:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783402125000,"timestamp_ms":1783402125000,"timestamp_seconds":1783402125,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0cd6c8"} 
[2026-07-07 11:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:01: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-07-07 11:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 11:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550943744001,"66":27876,"96":206,"85":15104,"24":5,"16":340961987452207104,"45":8875820834633959424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-07 11:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550943744001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:01:10] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 11:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340961987452207104,"km_value":340961987452207.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875820834633959424,"description":"Unknown IO ID 45"} 
[2026-07-07 11:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550943744001,"power":27876,"unknown_96":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8875820834633959424}} 
[2026-07-07 11:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":124399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:01:10] local.INFO: GPS data processed {"connection_id":124399,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:01:10] local.INFO: Acknowledgment sent {"connection_id":124399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:01:27] local.INFO: TCP Data received {"connection_id":124311,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:01:27] local.INFO: Processing buffer {"connection_id":124311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:01:27] local.INFO: IMEI packet received {"connection_id":124311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":124311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:01:30] local.INFO: TCP Data received {"connection_id":124311,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:01:30] local.INFO: Processing buffer {"connection_id":124311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:01:30] local.INFO: IMEI packet received {"connection_id":124311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":124311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:01:32] local.INFO: TCP Data received {"connection_id":124311,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0e3e28012d0ec940071e25080029004c22..."} 
[2026-07-07 11:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0e3e28012d0ec940071e25080029004c22..."} 
[2026-07-07 11:01:32] local.INFO: Processing buffer {"connection_id":124311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0e3e28012d0ec940071e25080029004c22..."} 
[2026-07-07 11:01:32] local.INFO: Packet analysis {"connection_id":124311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0e"} 
[2026-07-07 11:01:32] local.INFO: Extracted packet for processing {"connection_id":124311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0e"} 
[2026-07-07 11:01:32] local.INFO: GPS Element Parsed {"raw_longitude":755943744,"raw_latitude":119416072,"longitude_deg":75.5943744,"latitude_deg":11.9416072,"altitude":41,"angle":76,"satellites":34,"speed":41,"hex_longitude":"2d0ec940","hex_latitude":"071e2508","is_valid_coordinates":true} 
[2026-07-07 11:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550966528001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4805587367886848,"note":"Value kept but may cause issues"} 
[2026-07-07 11:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1060949586536816640,"note":"Value kept but may cause issues"} 
[2026-07-07 11:01:32] 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-07-07 11:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783402217000,"timestamp_ms":1783402217000,"timestamp_seconds":1783402217,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0e3e28"} 
[2026-07-07 11:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-07 11:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550966528001,"66":14080,"44":206,"28":31744,"24":41,"16":4805587367886848,"45":1060949586536816640},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-07-07 11:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550966528001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:01:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-07 11:01:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4805587367886848,"km_value":4805587367886.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1060949586536816640,"description":"Unknown IO ID 45"} 
[2026-07-07 11:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550966528001,"power":14080,"unknown_44":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1060949586536816640}} 
[2026-07-07 11:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":124311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:01:32] local.INFO: GPS data processed {"connection_id":124311,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:01:32] local.INFO: Acknowledgment sent {"connection_id":124311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:01:33] local.INFO: TCP Data received {"connection_id":124311,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0e6150012d0eefc0071e28c8002b00571e..."} 
[2026-07-07 11:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0e6150012d0eefc0071e28c8002b00571e..."} 
[2026-07-07 11:01:33] local.INFO: Processing buffer {"connection_id":124311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0e6150012d0eefc0071e28c8002b00571e..."} 
[2026-07-07 11:01:33] local.INFO: Packet analysis {"connection_id":124311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0e"} 
[2026-07-07 11:01:33] local.INFO: Extracted packet for processing {"connection_id":124311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0e"} 
[2026-07-07 11:01:33] local.INFO: GPS Element Parsed {"raw_longitude":755953600,"raw_latitude":119417032,"longitude_deg":75.59536,"latitude_deg":11.9417032,"altitude":43,"angle":87,"satellites":30,"speed":44,"hex_longitude":"2d0eefc0","hex_latitude":"071e28c8","is_valid_coordinates":true} 
[2026-07-07 11: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-07-07 11:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550967552001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4806055519322112,"note":"Value kept but may cause issues"} 
[2026-07-07 11:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1065453186164525056,"note":"Value kept but may cause issues"} 
[2026-07-07 11:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783402226000,"timestamp_ms":1783402226000,"timestamp_seconds":1783402226,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0e6150"} 
[2026-07-07 11:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-07 11:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454544896,"note":"Value kept but may cause issues"} 
[2026-07-07 11:01:33] local.WARNING: Large IO value detected {"io_id":29,"raw_value":4291297317,"note":"Value kept but may cause issues"} 
[2026-07-07 11:01:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3895197902,"corrected_to":0} 
[2026-07-07 11:01:33] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3221691890,"note":"Value kept but may cause issues"} 
[2026-07-07 11:01:33] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3389050344,"note":"Value kept but may cause issues"} 
[2026-07-07 11:01:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,44,28,24,241,158,16,18,159,46,45,64,31,39,33,10,66,38,27,35,1,240,105,59,29,4,113,205,41,137,8,239,54,2,17,7,34],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3895197902,"validated":0}]} 
[2026-07-07 11:01:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954445064470331392,"timestamp_seconds":2954445064470331.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 11:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550967552001,"66":14428,"4":206,"28":31744,"24":44,"16":4806055519322112,"45":1065453186164525056},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,28,24,16,45]} 
[2026-07-07 11:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550967552001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:01:33] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-07 11:01:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4806055519322112,"km_value":4806055519322.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1065453186164525056,"description":"Unknown IO ID 45"} 
[2026-07-07 11:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550967552001,"power":14428,"unknown_4":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1065453186164525056}} 
[2026-07-07 11:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":124311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:01:33] local.INFO: GPS data processed {"connection_id":124311,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:01:33] local.INFO: Acknowledgment sent {"connection_id":124311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:01:41] local.INFO: TCP Data received {"connection_id":124399,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0d2100012d7b31c005e239a8000000ad23..."} 
[2026-07-07 11:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0d2100012d7b31c005e239a8000000ad23..."} 
[2026-07-07 11:01:41] local.INFO: Processing buffer {"connection_id":124399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0d2100012d7b31c005e239a8000000ad23..."} 
[2026-07-07 11:01:41] local.INFO: Packet analysis {"connection_id":124399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0d"} 
[2026-07-07 11:01:41] local.INFO: Extracted packet for processing {"connection_id":124399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0d"} 
[2026-07-07 11:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763048384,"raw_latitude":98711976,"longitude_deg":76.3048384,"latitude_deg":9.8711976,"altitude":0,"angle":173,"satellites":35,"speed":28,"hex_longitude":"2d7b31c0","hex_latitude":"05e239a8","is_valid_coordinates":true} 
[2026-07-07 11:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550944000001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340962438423773184,"note":"Value kept but may cause issues"} 
[2026-07-07 11:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875820834633920512,"note":"Value kept but may cause issues"} 
[2026-07-07 11:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783402144000,"timestamp_ms":1783402144000,"timestamp_seconds":1783402144,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0d2100"} 
[2026-07-07 11:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:01: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-07-07 11:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 11:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550944000001,"66":27919,"169":206,"85":15104,"24":28,"16":340962438423773184,"45":8875820834633920512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 11:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550944000001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:01:41] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 11:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340962438423773184,"km_value":340962438423773.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875820834633920512,"description":"Unknown IO ID 45"} 
[2026-07-07 11:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550944000001,"power":27919,"unknown_169":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8875820834633920512}} 
[2026-07-07 11:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":124399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:01:41] local.INFO: GPS data processed {"connection_id":124399,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:01:41] local.INFO: Acknowledgment sent {"connection_id":124399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:01:58] local.INFO: TCP Data received {"connection_id":126338,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:01:58] local.INFO: Processing buffer {"connection_id":126338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:01:58] local.INFO: IMEI packet received {"connection_id":126338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":126338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:02:00] local.INFO: TCP Data received {"connection_id":126338,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:02:00] local.INFO: Processing buffer {"connection_id":126338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:02:00] local.INFO: IMEI packet received {"connection_id":126338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":126338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:02:04] local.INFO: TCP Data received {"connection_id":124311,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0e8478012d0f1600071e2e10002e00511e..."} 
[2026-07-07 11:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0e8478012d0f1600071e2e10002e00511e..."} 
[2026-07-07 11:02:04] local.INFO: Processing buffer {"connection_id":124311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0e8478012d0f1600071e2e10002e00511e..."} 
[2026-07-07 11:02:04] local.INFO: Packet analysis {"connection_id":124311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0e"} 
[2026-07-07 11:02:04] local.INFO: Extracted packet for processing {"connection_id":124311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0e"} 
[2026-07-07 11:02:04] local.INFO: GPS Element Parsed {"raw_longitude":755963392,"raw_latitude":119418384,"longitude_deg":75.5963392,"latitude_deg":11.9418384,"altitude":46,"angle":81,"satellites":30,"speed":42,"hex_longitude":"2d0f1600","hex_latitude":"071e2e10","is_valid_coordinates":true} 
[2026-07-07 11:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550969856001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4806523670757376,"note":"Value kept but may cause issues"} 
[2026-07-07 11:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1076289972768131072,"note":"Value kept but may cause issues"} 
[2026-07-07 11:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783402235000,"timestamp_ms":1783402235000,"timestamp_seconds":1783402235,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0e8478"} 
[2026-07-07 11:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 11:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550969856001,"66":14483,"4":206,"28":31744,"24":42,"16":4806523670757376,"45":1076289972768131072},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,28,24,16,45]} 
[2026-07-07 11:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550969856001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:02:04] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-07 11:02:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4806523670757376,"km_value":4806523670757.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1076289972768131072,"description":"Unknown IO ID 45"} 
[2026-07-07 11:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550969856001,"power":14483,"unknown_4":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1076289972768131072}} 
[2026-07-07 11:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":124311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:02:05] local.INFO: GPS data processed {"connection_id":124311,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:02:05] local.INFO: Acknowledgment sent {"connection_id":124311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:02:05] local.INFO: TCP Data received {"connection_id":126338,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:02:05] local.INFO: Processing buffer {"connection_id":126338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:02:05] local.INFO: IMEI packet received {"connection_id":126338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":126338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:02:06] local.INFO: TCP Data received {"connection_id":126338,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0d4bf8012d7b350005e21690000500ae25..."} 
[2026-07-07 11:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0d4bf8012d7b350005e21690000500ae25..."} 
[2026-07-07 11:02:06] local.INFO: Processing buffer {"connection_id":126338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0d4bf8012d7b350005e21690000500ae25..."} 
[2026-07-07 11:02:06] local.INFO: Packet analysis {"connection_id":126338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0d"} 
[2026-07-07 11:02:06] local.INFO: Extracted packet for processing {"connection_id":126338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0d"} 
[2026-07-07 11:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763049216,"raw_latitude":98702992,"longitude_deg":76.3049216,"latitude_deg":9.8702992,"altitude":5,"angle":174,"satellites":37,"speed":33,"hex_longitude":"2d7b3500","hex_latitude":"05e21690","is_valid_coordinates":true} 
[2026-07-07 11:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550948864001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340962876510437376,"note":"Value kept but may cause issues"} 
[2026-07-07 11:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877087472026757120,"note":"Value kept but may cause issues"} 
[2026-07-07 11:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783402155000,"timestamp_ms":1783402155000,"timestamp_seconds":1783402155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0d4bf8"} 
[2026-07-07 11:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 11:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550948864001,"66":28028,"169":206,"85":15104,"24":33,"16":340962876510437376,"45":8877087472026757120},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 11:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550948864001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:02:06] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 11:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340962876510437376,"km_value":340962876510437.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877087472026757120,"description":"Unknown IO ID 45"} 
[2026-07-07 11:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550948864001,"power":28028,"unknown_169":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8877087472026757120}} 
[2026-07-07 11:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":126338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:02:06] local.INFO: GPS data processed {"connection_id":126338,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:02:06] local.INFO: Acknowledgment sent {"connection_id":126338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:02:19] local.INFO: TCP Data received {"connection_id":124312,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:02:19] local.INFO: Processing buffer {"connection_id":124312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:02:19] local.INFO: IMEI packet received {"connection_id":124312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":124312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:02:21] local.INFO: TCP Data received {"connection_id":124312,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:02:21] local.INFO: Processing buffer {"connection_id":124312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:02:21] local.INFO: IMEI packet received {"connection_id":124312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":124312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:02:23] local.INFO: TCP Data received {"connection_id":124312,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:02:23] local.INFO: Processing buffer {"connection_id":124312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:02:23] local.INFO: IMEI packet received {"connection_id":124312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":124312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:02:25] local.INFO: TCP Data received {"connection_id":124312,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:02:25] local.INFO: Processing buffer {"connection_id":124312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:02:25] local.INFO: IMEI packet received {"connection_id":124312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":124312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:02:26] local.INFO: TCP Data received {"connection_id":124312,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0f8648012d102500071e33c80032008620..."} 
[2026-07-07 11:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0f8648012d102500071e33c80032008620..."} 
[2026-07-07 11:02:26] local.INFO: Processing buffer {"connection_id":124312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0f8648012d102500071e33c80032008620..."} 
[2026-07-07 11:02:26] local.INFO: Packet analysis {"connection_id":124312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0f"} 
[2026-07-07 11:02:26] local.INFO: Extracted packet for processing {"connection_id":124312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0f"} 
[2026-07-07 11:02:26] local.INFO: GPS Element Parsed {"raw_longitude":756032768,"raw_latitude":119419848,"longitude_deg":75.6032768,"latitude_deg":11.9419848,"altitude":50,"angle":134,"satellites":32,"speed":42,"hex_longitude":"2d102500","hex_latitude":"071e33c8","is_valid_coordinates":true} 
[2026-07-07 11:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550987520001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4809959644594176,"note":"Value kept but may cause issues"} 
[2026-07-07 11:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1157988084760199168,"note":"Value kept but may cause issues"} 
[2026-07-07 11:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783402301000,"timestamp_ms":1783402301000,"timestamp_seconds":1783402301,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0f8648"} 
[2026-07-07 11:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-07 11:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":124312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":124312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":124312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550987520001,"66":14070,"5":206,"28":31744,"24":42,"16":4809959644594176,"45":1157988084760199168},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,28,24,16,45]} 
[2026-07-07 11:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550987520001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:02:26] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-07 11:02:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4809959644594176,"km_value":4809959644594.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1157988084760199168,"description":"Unknown IO ID 45"} 
[2026-07-07 11:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550987520001,"power":14070,"unknown_5":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1157988084760199168}} 
[2026-07-07 11:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":124312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:02:26] local.INFO: GPS data processed {"connection_id":124312,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:02:26] local.INFO: Acknowledgment sent {"connection_id":124312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:02:27] local.INFO: TCP Data received {"connection_id":124312,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0f95e8012d103200071e29500031007a1f..."} 
[2026-07-07 11:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0f95e8012d103200071e29500031007a1f..."} 
[2026-07-07 11:02:27] local.INFO: Processing buffer {"connection_id":124312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0f95e8012d103200071e29500031007a1f..."} 
[2026-07-07 11:02:27] local.INFO: Packet analysis {"connection_id":124312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0f"} 
[2026-07-07 11:02:27] local.INFO: Extracted packet for processing {"connection_id":124312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0f"} 
[2026-07-07 11:02:27] local.INFO: GPS Element Parsed {"raw_longitude":756036096,"raw_latitude":119417168,"longitude_deg":75.6036096,"latitude_deg":11.9417168,"altitude":49,"angle":122,"satellites":31,"speed":41,"hex_longitude":"2d103200","hex_latitude":"071e2950","is_valid_coordinates":true} 
[2026-07-07 11:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550989056001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4810161508057088,"note":"Value kept but may cause issues"} 
[2026-07-07 11:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1163336109316622336,"note":"Value kept but may cause issues"} 
[2026-07-07 11:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783402305000,"timestamp_ms":1783402305000,"timestamp_seconds":1783402305,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0f95e8"} 
[2026-07-07 11:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-07 11:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550989056001,"66":14070,"5":206,"28":31744,"24":41,"16":4810161508057088,"45":1163336109316622336},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,28,24,16,45]} 
[2026-07-07 11:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550989056001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:02:27] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-07 11:02:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4810161508057088,"km_value":4810161508057.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1163336109316622336,"description":"Unknown IO ID 45"} 
[2026-07-07 11:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550989056001,"power":14070,"unknown_5":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1163336109316622336}} 
[2026-07-07 11:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":124312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:02:27] local.INFO: GPS data processed {"connection_id":124312,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:02:27] local.INFO: Acknowledgment sent {"connection_id":124312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:02:38] local.INFO: TCP Data received {"connection_id":126338,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0f76a8012d7b68c005e0a528000000ac1d..."} 
[2026-07-07 11:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0f76a8012d7b68c005e0a528000000ac1d..."} 
[2026-07-07 11:02:38] local.INFO: Processing buffer {"connection_id":126338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0f76a8012d7b68c005e0a528000000ac1d..."} 
[2026-07-07 11:02:38] local.INFO: Packet analysis {"connection_id":126338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0f"} 
[2026-07-07 11:02:38] local.INFO: Extracted packet for processing {"connection_id":126338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0f"} 
[2026-07-07 11:02:38] local.INFO: GPS Element Parsed {"raw_longitude":763062464,"raw_latitude":98608424,"longitude_deg":76.3062464,"latitude_deg":9.8608424,"altitude":0,"angle":172,"satellites":29,"speed":42,"hex_longitude":"2d7b68c0","hex_latitude":"05e0a528","is_valid_coordinates":true} 
[2026-07-07 11:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550985728001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340967523665051648,"note":"Value kept but may cause issues"} 
[2026-07-07 11:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890879745861392384,"note":"Value kept but may cause issues"} 
[2026-07-07 11:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783402297000,"timestamp_ms":1783402297000,"timestamp_seconds":1783402297,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0f76a8"} 
[2026-07-07 11:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:02: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-07-07 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 11:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550985728001,"66":27745,"36":206,"85":15104,"24":42,"16":340967523665051648,"45":8890879745861392384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-07 11:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550985728001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:02:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-07 11:02:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340967523665051648,"km_value":340967523665051.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890879745861392384,"description":"Unknown IO ID 45"} 
[2026-07-07 11:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550985728001,"power":27745,"unknown_36":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8890879745861392384}} 
[2026-07-07 11:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":126338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:02:38] local.INFO: GPS data processed {"connection_id":126338,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:02:38] local.INFO: Acknowledgment sent {"connection_id":126338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:02:59] local.INFO: TCP Data received {"connection_id":124312,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0f9db8012d103940071e26300032006820..."} 
[2026-07-07 11:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0f9db8012d103940071e26300032006820..."} 
[2026-07-07 11:02:59] local.INFO: Processing buffer {"connection_id":124312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0f9db8012d103940071e26300032006820..."} 
[2026-07-07 11:02:59] local.INFO: Packet analysis {"connection_id":124312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0f"} 
[2026-07-07 11:02:59] local.INFO: Extracted packet for processing {"connection_id":124312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0f"} 
[2026-07-07 11:02:59] local.INFO: GPS Element Parsed {"raw_longitude":756037952,"raw_latitude":119416368,"longitude_deg":75.6037952,"latitude_deg":11.9416368,"altitude":50,"angle":104,"satellites":32,"speed":41,"hex_longitude":"2d103940","hex_latitude":"071e2630","is_valid_coordinates":true} 
[2026-07-07 11:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550990080001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4810260292304896,"note":"Value kept but may cause issues"} 
[2026-07-07 11:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1166995284013174784,"note":"Value kept but may cause issues"} 
[2026-07-07 11:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783402307000,"timestamp_ms":1783402307000,"timestamp_seconds":1783402307,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0f9db8"} 
[2026-07-07 11:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-07 11:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":124312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":124312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":124312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550990080001,"66":14070,"5":206,"28":31744,"24":41,"16":4810260292304896,"45":1166995284013174784},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,28,24,16,45]} 
[2026-07-07 11:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550990080001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:02:59] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-07 11:02:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4810260292304896,"km_value":4810260292304.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1166995284013174784,"description":"Unknown IO ID 45"} 
[2026-07-07 11:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550990080001,"power":14070,"unknown_5":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1166995284013174784}} 
[2026-07-07 11:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":124312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:02:59] local.INFO: GPS data processed {"connection_id":124312,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:02:59] local.INFO: Acknowledgment sent {"connection_id":124312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:02:59] local.INFO: TCP Data received {"connection_id":126340,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:02:59] local.INFO: Processing buffer {"connection_id":126340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:02:59] local.INFO: IMEI packet received {"connection_id":126340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":126340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:03:04] local.INFO: TCP Data received {"connection_id":126340,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:03:04] local.INFO: Processing buffer {"connection_id":126340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:03:04] local.INFO: IMEI packet received {"connection_id":126340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":126340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:03:05] local.INFO: TCP Data received {"connection_id":126340,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0f95e8012d7b6d8005e08258000000ab1e..."} 
[2026-07-07 11:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0f95e8012d7b6d8005e08258000000ab1e..."} 
[2026-07-07 11:03:05] local.INFO: Processing buffer {"connection_id":126340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0f95e8012d7b6d8005e08258000000ab1e..."} 
[2026-07-07 11:03:05] local.INFO: Packet analysis {"connection_id":126340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0f"} 
[2026-07-07 11:03:05] local.INFO: Extracted packet for processing {"connection_id":126340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0f"} 
[2026-07-07 11:03:05] local.INFO: GPS Element Parsed {"raw_longitude":763063680,"raw_latitude":98599512,"longitude_deg":76.306368,"latitude_deg":9.8599512,"altitude":0,"angle":171,"satellites":30,"speed":47,"hex_longitude":"2d7b6d80","hex_latitude":"05e08258","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550988032001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340967957456748544,"note":"Value kept but may cause issues"} 
[2026-07-07 11:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892568595719333888,"note":"Value kept but may cause issues"} 
[2026-07-07 11:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783402305000,"timestamp_ms":1783402305000,"timestamp_seconds":1783402305,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0f95e8"} 
[2026-07-07 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-07-07 11:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 11:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 11:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550988032001,"66":27865,"36":206,"85":15104,"24":47,"16":340967957456748544,"45":8892568595719333888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-07 11:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550988032001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:03:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-07 11:03:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340967957456748544,"km_value":340967957456748.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892568595719333888,"description":"Unknown IO ID 45"} 
[2026-07-07 11:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550988032001,"power":27865,"unknown_36":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8892568595719333888}} 
[2026-07-07 11:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":126340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:03:05] local.INFO: GPS data processed {"connection_id":126340,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:03:05] local.INFO: Acknowledgment sent {"connection_id":126340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:03:21] local.INFO: TCP Data received {"connection_id":124400,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:03:21] local.INFO: Processing buffer {"connection_id":124400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:03:21] local.INFO: IMEI packet received {"connection_id":124400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":124400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:03:24] local.INFO: TCP Data received {"connection_id":124400,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:03:24] local.INFO: Processing buffer {"connection_id":124400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:03:24] local.INFO: IMEI packet received {"connection_id":124400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":124400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:03:27] local.INFO: TCP Data received {"connection_id":124400,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:03:27] local.INFO: Processing buffer {"connection_id":124400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:03:27] local.INFO: IMEI packet received {"connection_id":124400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":124400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:03:29] local.INFO: TCP Data received {"connection_id":124400,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0fa588012d104180071e25d00032005620..."} 
[2026-07-07 11:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0fa588012d104180071e25d00032005620..."} 
[2026-07-07 11:03:29] local.INFO: Processing buffer {"connection_id":124400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0fa588012d104180071e25d00032005620..."} 
[2026-07-07 11:03:29] local.INFO: Packet analysis {"connection_id":124400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0f"} 
[2026-07-07 11:03:29] local.INFO: Extracted packet for processing {"connection_id":124400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0f"} 
[2026-07-07 11:03:29] local.INFO: GPS Element Parsed {"raw_longitude":756040064,"raw_latitude":119416272,"longitude_deg":75.6040064,"latitude_deg":11.9416272,"altitude":50,"angle":86,"satellites":32,"speed":41,"hex_longitude":"2d104180","hex_latitude":"071e25d0","is_valid_coordinates":true} 
[2026-07-07 11:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550990592001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4810359076552704,"note":"Value kept but may cause issues"} 
[2026-07-07 11:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1169035977594122240,"note":"Value kept but may cause issues"} 
[2026-07-07 11:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783402309000,"timestamp_ms":1783402309000,"timestamp_seconds":1783402309,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0fa588"} 
[2026-07-07 11:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-07 11:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":124400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":124400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":124400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550990592001,"66":14070,"201":206,"28":31744,"24":41,"16":4810359076552704,"45":1169035977594122240},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,28,24,16,45]} 
[2026-07-07 11:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550990592001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:03:29] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 11:03:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4810359076552704,"km_value":4810359076552.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1169035977594122240,"description":"Unknown IO ID 45"} 
[2026-07-07 11:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550990592001,"power":14070,"unknown_201":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1169035977594122240}} 
[2026-07-07 11:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":124400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:03:29] local.INFO: GPS data processed {"connection_id":124400,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:03:29] local.INFO: Acknowledgment sent {"connection_id":124400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:03:32] local.INFO: TCP Data received {"connection_id":124400,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0fc8b0012d106840071e2af80034004d1f..."} 
[2026-07-07 11:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0fc8b0012d106840071e2af80034004d1f..."} 
[2026-07-07 11:03:32] local.INFO: Processing buffer {"connection_id":124400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0fc8b0012d106840071e2af80034004d1f..."} 
[2026-07-07 11:03:32] local.INFO: Packet analysis {"connection_id":124400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0f"} 
[2026-07-07 11:03:32] local.INFO: Extracted packet for processing {"connection_id":124400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0f"} 
[2026-07-07 11:03:32] local.INFO: GPS Element Parsed {"raw_longitude":756049984,"raw_latitude":119417592,"longitude_deg":75.6049984,"latitude_deg":11.9417592,"altitude":52,"angle":77,"satellites":31,"speed":48,"hex_longitude":"2d106840","hex_latitude":"071e2af8","is_valid_coordinates":true} 
[2026-07-07 11:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550991104001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4810835817922560,"note":"Value kept but may cause issues"} 
[2026-07-07 11:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1171358146151960576,"note":"Value kept but may cause issues"} 
[2026-07-07 11:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783402318000,"timestamp_ms":1783402318000,"timestamp_seconds":1783402318,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0fc8b0"} 
[2026-07-07 11:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-07 11:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550991104001,"66":13580,"201":206,"28":31744,"24":48,"16":4810835817922560,"45":1171358146151960576},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,28,24,16,45]} 
[2026-07-07 11:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550991104001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:03:32] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 11:03:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4810835817922560,"km_value":4810835817922.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1171358146151960576,"description":"Unknown IO ID 45"} 
[2026-07-07 11:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550991104001,"power":13580,"unknown_201":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":1171358146151960576}} 
[2026-07-07 11:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":124400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:03:32] local.INFO: GPS data processed {"connection_id":124400,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:03:32] local.INFO: Acknowledgment sent {"connection_id":124400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:03:38] local.INFO: TCP Data received {"connection_id":126340,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0fb528012d7b720005e05c28000000ac1f..."} 
[2026-07-07 11:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0fb528012d7b720005e05c28000000ac1f..."} 
[2026-07-07 11:03:38] local.INFO: Processing buffer {"connection_id":126340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0fb528012d7b720005e05c28000000ac1f..."} 
[2026-07-07 11:03:38] local.INFO: Packet analysis {"connection_id":126340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0f"} 
[2026-07-07 11:03:38] local.INFO: Extracted packet for processing {"connection_id":126340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0f"} 
[2026-07-07 11:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763064832,"raw_latitude":98589736,"longitude_deg":76.3064832,"latitude_deg":9.8589736,"altitude":0,"angle":172,"satellites":31,"speed":53,"hex_longitude":"2d7b7200","hex_latitude":"05e05c28","is_valid_coordinates":true} 
[2026-07-07 11: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-07-07 11:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550990080001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340968434198118400,"note":"Value kept but may cause issues"} 
[2026-07-07 11:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893905601856428032,"note":"Value kept but may cause issues"} 
[2026-07-07 11:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783402313000,"timestamp_ms":1783402313000,"timestamp_seconds":1783402313,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0fb528"} 
[2026-07-07 11:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:03: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-07-07 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11: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-07-07 11:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550990080001,"66":27876,"36":206,"85":15104,"24":53,"16":340968434198118400,"45":8893905601856428032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-07 11:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550990080001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:03:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-07 11:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340968434198118400,"km_value":340968434198118.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893905601856428032,"description":"Unknown IO ID 45"} 
[2026-07-07 11:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550990080001,"power":27876,"unknown_36":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8893905601856428032}} 
[2026-07-07 11:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":126340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:03:38] local.INFO: GPS data processed {"connection_id":126340,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:03:38] local.INFO: Acknowledgment sent {"connection_id":126340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:04:03] local.INFO: TCP Data received {"connection_id":124401,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:04:03] local.INFO: Processing buffer {"connection_id":124401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:04:03] local.INFO: IMEI packet received {"connection_id":124401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":124401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:04:03] local.INFO: TCP Data received {"connection_id":124400,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b10eda8012d112500071f29680039002020..."} 
[2026-07-07 11:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b10eda8012d112500071f29680039002020..."} 
[2026-07-07 11:04:03] local.INFO: Processing buffer {"connection_id":124400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b10eda8012d112500071f29680039002020..."} 
[2026-07-07 11:04:03] local.INFO: Packet analysis {"connection_id":124400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b10"} 
[2026-07-07 11:04:03] local.INFO: Extracted packet for processing {"connection_id":124400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b10"} 
[2026-07-07 11:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756098304,"raw_latitude":119482728,"longitude_deg":75.6098304,"latitude_deg":11.9482728,"altitude":57,"angle":32,"satellites":32,"speed":40,"hex_longitude":"2d112500","hex_latitude":"071f2968","is_valid_coordinates":true} 
[2026-07-07 11:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551011584001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:04:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-07 11:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4814885972082688,"note":"Value kept but may cause issues"} 
[2026-07-07 11:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1233634484765265920,"note":"Value kept but may cause issues"} 
[2026-07-07 11:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-07 11:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783402393000,"timestamp_ms":1783402393000,"timestamp_seconds":1783402393,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b10eda8"} 
[2026-07-07 11:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 11:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551011584001,"66":14102,"200":0,"28":31744,"24":40,"16":4814885972082688,"45":1233634484765265920},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-07-07 11:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551011584001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:04:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4814885972082688,"km_value":4814885972082.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1233634484765265920,"description":"Unknown IO ID 45"} 
[2026-07-07 11:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551011584001,"power":14102,"gsm_signal":0,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1233634484765265920}} 
[2026-07-07 11:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":124400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:04:03] local.INFO: GPS data processed {"connection_id":124400,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:04:03] local.INFO: Acknowledgment sent {"connection_id":124400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:04:04] local.INFO: TCP Data received {"connection_id":124401,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:04:04] local.INFO: Processing buffer {"connection_id":124401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:04:04] local.INFO: IMEI packet received {"connection_id":124401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":124401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:04:09] local.INFO: TCP Data received {"connection_id":124401,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:04:09] local.INFO: Processing buffer {"connection_id":124401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:04:09] local.INFO: IMEI packet received {"connection_id":124401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":124401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:04:10] local.INFO: TCP Data received {"connection_id":124401,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b0fd080012d7b75c005e03818000000ae20..."} 
[2026-07-07 11:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b0fd080012d7b75c005e03818000000ae20..."} 
[2026-07-07 11:04:10] local.INFO: Processing buffer {"connection_id":124401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b0fd080012d7b75c005e03818000000ae20..."} 
[2026-07-07 11:04:10] local.INFO: Packet analysis {"connection_id":124401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b0f"} 
[2026-07-07 11:04:10] local.INFO: Extracted packet for processing {"connection_id":124401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b0f"} 
[2026-07-07 11:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763065792,"raw_latitude":98580504,"longitude_deg":76.3065792,"latitude_deg":9.8580504,"altitude":0,"angle":174,"satellites":32,"speed":52,"hex_longitude":"2d7b75c0","hex_latitude":"05e03818","is_valid_coordinates":true} 
[2026-07-07 11:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456550992128001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340968885169684480,"note":"Value kept but may cause issues"} 
[2026-07-07 11:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895172239249123328,"note":"Value kept but may cause issues"} 
[2026-07-07 11:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783402320000,"timestamp_ms":1783402320000,"timestamp_seconds":1783402320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b0fd080"} 
[2026-07-07 11:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:04: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-07-07 11:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 11:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456550992128001,"66":27865,"36":206,"85":15104,"24":52,"16":340968885169684480,"45":8895172239249123328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-07 11:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456550992128001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:04:10] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-07 11:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340968885169684480,"km_value":340968885169684.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895172239249123328,"description":"Unknown IO ID 45"} 
[2026-07-07 11:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456550992128001,"power":27865,"unknown_36":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8895172239249123328}} 
[2026-07-07 11:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":124401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:04:10] local.INFO: GPS data processed {"connection_id":124401,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:04:10] local.INFO: Acknowledgment sent {"connection_id":124401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:04:22] local.INFO: TCP Data received {"connection_id":126342,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:04:22] local.INFO: Processing buffer {"connection_id":126342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:04:22] local.INFO: IMEI packet received {"connection_id":126342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":126342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:04:27] local.INFO: TCP Data received {"connection_id":126342,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:04:27] local.INFO: Processing buffer {"connection_id":126342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:04:27] local.INFO: IMEI packet received {"connection_id":126342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":126342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:04:29] local.INFO: TCP Data received {"connection_id":126342,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b10f578012d112a80071f2f200039003320..."} 
[2026-07-07 11:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b10f578012d112a80071f2f200039003320..."} 
[2026-07-07 11:04:29] local.INFO: Processing buffer {"connection_id":126342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b10f578012d112a80071f2f200039003320..."} 
[2026-07-07 11:04:29] local.INFO: Packet analysis {"connection_id":126342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b10"} 
[2026-07-07 11:04:29] local.INFO: Extracted packet for processing {"connection_id":126342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b10"} 
[2026-07-07 11:04:29] local.INFO: GPS Element Parsed {"raw_longitude":756099712,"raw_latitude":119484192,"longitude_deg":75.6099712,"latitude_deg":11.9484192,"altitude":57,"angle":51,"satellites":32,"speed":40,"hex_longitude":"2d112a80","hex_latitude":"071f2f20","is_valid_coordinates":true} 
[2026-07-07 11:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551012608001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:04:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-07 11:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4814984756330496,"note":"Value kept but may cause issues"} 
[2026-07-07 11:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1235393703370647552,"note":"Value kept but may cause issues"} 
[2026-07-07 11:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-07 11:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783402395000,"timestamp_ms":1783402395000,"timestamp_seconds":1783402395,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b10f578"} 
[2026-07-07 11:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-07 11:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":126342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":126342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":126342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551012608001,"66":14048,"200":0,"28":31744,"24":40,"16":4814984756330496,"45":1235393703370647552},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-07-07 11:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551012608001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:04:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4814984756330496,"km_value":4814984756330.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1235393703370647552,"description":"Unknown IO ID 45"} 
[2026-07-07 11:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551012608001,"power":14048,"gsm_signal":0,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1235393703370647552}} 
[2026-07-07 11:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":126342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:04:29] local.INFO: GPS data processed {"connection_id":126342,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:04:29] local.INFO: Acknowledgment sent {"connection_id":126342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:04:39] local.INFO: TCP Data received {"connection_id":124313,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124313,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:04:39] local.INFO: Processing buffer {"connection_id":124313,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:04:39] local.INFO: IMEI packet received {"connection_id":124313,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 11:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":124313,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:04:41] local.INFO: TCP Data received {"connection_id":124401,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b115b08012d7baa8005de5888000000a81f..."} 
[2026-07-07 11:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b115b08012d7baa8005de5888000000a81f..."} 
[2026-07-07 11:04:41] local.INFO: Processing buffer {"connection_id":124401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b115b08012d7baa8005de5888000000a81f..."} 
[2026-07-07 11:04:41] local.INFO: Packet analysis {"connection_id":124401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b11"} 
[2026-07-07 11:04:41] local.INFO: Extracted packet for processing {"connection_id":124401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b11"} 
[2026-07-07 11:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763079296,"raw_latitude":98457736,"longitude_deg":76.3079296,"latitude_deg":9.8457736,"altitude":0,"angle":168,"satellites":31,"speed":41,"hex_longitude":"2d7baa80","hex_latitude":"05de5888","is_valid_coordinates":true} 
[2026-07-07 11:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551017472001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340974876649062400,"note":"Value kept but may cause issues"} 
[2026-07-07 11:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909386725541683200,"note":"Value kept but may cause issues"} 
[2026-07-07 11:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783402421000,"timestamp_ms":1783402421000,"timestamp_seconds":1783402421,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b115b08"} 
[2026-07-07 11:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 11:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11: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-07-07 11:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551017472001,"66":27800,"50":206,"85":15104,"24":41,"16":340974876649062400,"45":8909386725541683200},"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,45]} 
[2026-07-07 11:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551017472001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:04:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-07 11:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340974876649062400,"km_value":340974876649062.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909386725541683200,"description":"Unknown IO ID 45"} 
[2026-07-07 11:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551017472001,"power":27800,"unknown_50":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8909386725541683200}} 
[2026-07-07 11:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":124401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:04:41] local.INFO: GPS data processed {"connection_id":124401,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:04:41] local.INFO: Acknowledgment sent {"connection_id":124401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:04:59] local.INFO: TCP Data received {"connection_id":124314,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:04:59] local.INFO: Processing buffer {"connection_id":124314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:04:59] local.INFO: IMEI packet received {"connection_id":124314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 11:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":124314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:04:59] local.INFO: TCP Data received {"connection_id":124402,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:04:59] local.INFO: Processing buffer {"connection_id":124402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:04:59] local.INFO: IMEI packet received {"connection_id":124402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":124402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:05:00] local.INFO: TCP Data received {"connection_id":124402,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:05:00] local.INFO: Processing buffer {"connection_id":124402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:05:00] local.INFO: IMEI packet received {"connection_id":124402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":124402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:05:01] local.INFO: TCP Data received {"connection_id":126342,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b10fd48012d113140071f32c00039004620..."} 
[2026-07-07 11:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b10fd48012d113140071f32c00039004620..."} 
[2026-07-07 11:05:01] local.INFO: Processing buffer {"connection_id":126342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b10fd48012d113140071f32c00039004620..."} 
[2026-07-07 11:05:01] local.INFO: Packet analysis {"connection_id":126342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b10"} 
[2026-07-07 11:05:01] local.INFO: Extracted packet for processing {"connection_id":126342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b10"} 
[2026-07-07 11:05:01] local.INFO: GPS Element Parsed {"raw_longitude":756101440,"raw_latitude":119485120,"longitude_deg":75.610144,"latitude_deg":11.948512,"altitude":57,"angle":70,"satellites":32,"speed":38,"hex_longitude":"2d113140","hex_latitude":"071f32c0","is_valid_coordinates":true} 
[2026-07-07 11: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-07-07 11:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551013120001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:05:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-07 11:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815079245611008,"note":"Value kept but may cause issues"} 
[2026-07-07 11:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1236941815742930944,"note":"Value kept but may cause issues"} 
[2026-07-07 11:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-07 11:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783402397000,"timestamp_ms":1783402397000,"timestamp_seconds":1783402397,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b10fd48"} 
[2026-07-07 11:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 11:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11: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-07-07 11:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551013120001,"66":13656,"200":0,"28":31744,"24":38,"16":4815079245611008,"45":1236941815742930944},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-07-07 11:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551013120001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:05:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815079245611008,"km_value":4815079245611.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1236941815742930944,"description":"Unknown IO ID 45"} 
[2026-07-07 11:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551013120001,"power":13656,"gsm_signal":0,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1236941815742930944}} 
[2026-07-07 11:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":126342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:05:01] local.INFO: GPS data processed {"connection_id":126342,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:05:01] local.INFO: Acknowledgment sent {"connection_id":126342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:05:04] local.INFO: TCP Data received {"connection_id":124402,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:05:04] local.INFO: Processing buffer {"connection_id":124402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:05:04] local.INFO: IMEI packet received {"connection_id":124402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":124402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:05:05] local.INFO: TCP Data received {"connection_id":124402,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b117e30012d7bb24005de33d0000000a920..."} 
[2026-07-07 11:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b117e30012d7bb24005de33d0000000a920..."} 
[2026-07-07 11:05:05] local.INFO: Processing buffer {"connection_id":124402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b117e30012d7bb24005de33d0000000a920..."} 
[2026-07-07 11:05:05] local.INFO: Packet analysis {"connection_id":124402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b11"} 
[2026-07-07 11:05:05] local.INFO: Extracted packet for processing {"connection_id":124402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b11"} 
[2026-07-07 11:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763081280,"raw_latitude":98448336,"longitude_deg":76.308128,"latitude_deg":9.8448336,"altitude":0,"angle":169,"satellites":32,"speed":38,"hex_longitude":"2d7bb240","hex_latitude":"05de33d0","is_valid_coordinates":true} 
[2026-07-07 11:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551019776001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340975344800497664,"note":"Value kept but may cause issues"} 
[2026-07-07 11:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911075575399483392,"note":"Value kept but may cause issues"} 
[2026-07-07 11:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783402430000,"timestamp_ms":1783402430000,"timestamp_seconds":1783402430,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b117e30"} 
[2026-07-07 11:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 11:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551019776001,"66":27800,"50":206,"85":15104,"24":38,"16":340975344800497664,"45":8911075575399483392},"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,45]} 
[2026-07-07 11:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551019776001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:05:05] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-07 11:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340975344800497664,"km_value":340975344800497.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911075575399483392,"description":"Unknown IO ID 45"} 
[2026-07-07 11:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551019776001,"power":27800,"unknown_50":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8911075575399483392}} 
[2026-07-07 11:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":124402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:05:05] local.INFO: GPS data processed {"connection_id":124402,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:05:05] local.INFO: Acknowledgment sent {"connection_id":124402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:05:10] local.INFO: TCP Data received {"connection_id":124402,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b11a928012d7bb90005de1050000000a623..."} 
[2026-07-07 11:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b11a928012d7bb90005de1050000000a623..."} 
[2026-07-07 11:05:10] local.INFO: Processing buffer {"connection_id":124402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b11a928012d7bb90005de1050000000a623..."} 
[2026-07-07 11:05:10] local.INFO: Packet analysis {"connection_id":124402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b11"} 
[2026-07-07 11:05:10] local.INFO: Extracted packet for processing {"connection_id":124402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b11"} 
[2026-07-07 11:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763083008,"raw_latitude":98439248,"longitude_deg":76.3083008,"latitude_deg":9.8439248,"altitude":0,"angle":166,"satellites":35,"speed":32,"hex_longitude":"2d7bb900","hex_latitude":"05de1050","is_valid_coordinates":true} 
[2026-07-07 11:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551022080001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340975791477096448,"note":"Value kept but may cause issues"} 
[2026-07-07 11:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913257006466584576,"note":"Value kept but may cause issues"} 
[2026-07-07 11:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783402441000,"timestamp_ms":1783402441000,"timestamp_seconds":1783402441,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b11a928"} 
[2026-07-07 11:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11: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-07-07 11:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 11:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551022080001,"66":27865,"169":206,"85":15104,"24":32,"16":340975791477096448,"45":8913257006466584576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 11:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551022080001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:05:10] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 11:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340975791477096448,"km_value":340975791477096.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913257006466584576,"description":"Unknown IO ID 45"} 
[2026-07-07 11:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551022080001,"power":27865,"unknown_169":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8913257006466584576}} 
[2026-07-07 11:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":124402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:05:10] local.INFO: GPS data processed {"connection_id":124402,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:05:10] local.INFO: Acknowledgment sent {"connection_id":124402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:05:21] local.INFO: TCP Data received {"connection_id":126343,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:05:21] local.INFO: Processing buffer {"connection_id":126343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:05:21] local.INFO: IMEI packet received {"connection_id":126343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":126343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:05:27] local.INFO: TCP Data received {"connection_id":126343,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:05:27] local.INFO: Processing buffer {"connection_id":126343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:05:27] local.INFO: IMEI packet received {"connection_id":126343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":126343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:05:31] local.INFO: TCP Data received {"connection_id":126343,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b112840012d115540071f3e700039004520..."} 
[2026-07-07 11:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b112840012d115540071f3e700039004520..."} 
[2026-07-07 11:05:31] local.INFO: Processing buffer {"connection_id":126343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b112840012d115540071f3e700039004520..."} 
[2026-07-07 11:05:31] local.INFO: Packet analysis {"connection_id":126343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b11"} 
[2026-07-07 11:05:31] local.INFO: Extracted packet for processing {"connection_id":126343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b11"} 
[2026-07-07 11:05:31] local.INFO: GPS Element Parsed {"raw_longitude":756110656,"raw_latitude":119488112,"longitude_deg":75.6110656,"latitude_deg":11.9488112,"altitude":57,"angle":69,"satellites":32,"speed":32,"hex_longitude":"2d115540","hex_latitude":"071f3e70","is_valid_coordinates":true} 
[2026-07-07 11:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551013632001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:05:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-07 11:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815538807111680,"note":"Value kept but may cause issues"} 
[2026-07-07 11:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1238841771835965440,"note":"Value kept but may cause issues"} 
[2026-07-07 11:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-07 11:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783402408000,"timestamp_ms":1783402408000,"timestamp_seconds":1783402408,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b112840"} 
[2026-07-07 11:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:05: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-07-07 11:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-07 11:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551013632001,"66":14080,"200":0,"28":31744,"24":32,"16":4815538807111680,"45":1238841771835965440},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-07-07 11:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551013632001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:05:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815538807111680,"km_value":4815538807111.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1238841771835965440,"description":"Unknown IO ID 45"} 
[2026-07-07 11:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551013632001,"power":14080,"gsm_signal":0,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1238841771835965440}} 
[2026-07-07 11:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":126343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:05:31] local.INFO: GPS data processed {"connection_id":126343,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:05:31] local.INFO: Acknowledgment sent {"connection_id":126343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:05:40] local.INFO: TCP Data received {"connection_id":124402,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b11d420012d7bc08005ddedf8000000a921..."} 
[2026-07-07 11:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b11d420012d7bc08005ddedf8000000a921..."} 
[2026-07-07 11:05:40] local.INFO: Processing buffer {"connection_id":124402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b11d420012d7bc08005ddedf8000000a921..."} 
[2026-07-07 11:05:40] local.INFO: Packet analysis {"connection_id":124402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b11"} 
[2026-07-07 11:05:40] local.INFO: Extracted packet for processing {"connection_id":124402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b11"} 
[2026-07-07 11:05:40] local.INFO: GPS Element Parsed {"raw_longitude":763084928,"raw_latitude":98430456,"longitude_deg":76.3084928,"latitude_deg":9.8430456,"altitude":0,"angle":169,"satellites":33,"speed":35,"hex_longitude":"2d7bc080","hex_latitude":"05ddedf8","is_valid_coordinates":true} 
[2026-07-07 11:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551024896001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340976229563760640,"note":"Value kept but may cause issues"} 
[2026-07-07 11:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915156962557054976,"note":"Value kept but may cause issues"} 
[2026-07-07 11:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783402452000,"timestamp_ms":1783402452000,"timestamp_seconds":1783402452,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b11d420"} 
[2026-07-07 11:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551024896001,"66":27908,"169":206,"85":15104,"24":35,"16":340976229563760640,"45":8915156962557054976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 11:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551024896001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:05:40] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 11:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340976229563760640,"km_value":340976229563760.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915156962557054976,"description":"Unknown IO ID 45"} 
[2026-07-07 11:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551024896001,"power":27908,"unknown_169":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8915156962557054976}} 
[2026-07-07 11:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":124402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:05:40] local.INFO: GPS data processed {"connection_id":124402,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:05:40] local.INFO: Acknowledgment sent {"connection_id":124402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:05:59] local.INFO: TCP Data received {"connection_id":125103,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:05:59] local.INFO: Processing buffer {"connection_id":125103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:05:59] local.INFO: IMEI packet received {"connection_id":125103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":125103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:06:04] local.INFO: TCP Data received {"connection_id":125103,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:06:04] local.INFO: Processing buffer {"connection_id":125103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:06:04] local.INFO: IMEI packet received {"connection_id":125103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":125103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:06:05] local.INFO: TCP Data received {"connection_id":125103,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b11fb30012d7bc80005ddc960000100a821..."} 
[2026-07-07 11:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b11fb30012d7bc80005ddc960000100a821..."} 
[2026-07-07 11:06:05] local.INFO: Processing buffer {"connection_id":125103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b11fb30012d7bc80005ddc960000100a821..."} 
[2026-07-07 11:06:05] local.INFO: Packet analysis {"connection_id":125103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b11"} 
[2026-07-07 11:06:05] local.INFO: Extracted packet for processing {"connection_id":125103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b11"} 
[2026-07-07 11:06:05] local.INFO: GPS Element Parsed {"raw_longitude":763086848,"raw_latitude":98421088,"longitude_deg":76.3086848,"latitude_deg":9.8421088,"altitude":1,"angle":168,"satellites":33,"speed":38,"hex_longitude":"2d7bc800","hex_latitude":"05ddc960","is_valid_coordinates":true} 
[2026-07-07 11:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551027712001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340976693420228608,"note":"Value kept but may cause issues"} 
[2026-07-07 11:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917268024880134144,"note":"Value kept but may cause issues"} 
[2026-07-07 11:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783402462000,"timestamp_ms":1783402462000,"timestamp_seconds":1783402462,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b11fb30"} 
[2026-07-07 11:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 11:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551027712001,"66":27669,"169":206,"85":15104,"24":38,"16":340976693420228608,"45":8917268024880134144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 11:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551027712001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:06:05] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 11:06:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340976693420228608,"km_value":340976693420228.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917268024880134144,"description":"Unknown IO ID 45"} 
[2026-07-07 11:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551027712001,"power":27669,"unknown_169":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8917268024880134144}} 
[2026-07-07 11:06:05] local.INFO: TCP Data received {"connection_id":126343,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b129b58012d12ddc0071f2048002e006c1d..."} 
[2026-07-07 11:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":125103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:06:05] local.INFO: GPS data processed {"connection_id":125103,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:06:05] local.INFO: Acknowledgment sent {"connection_id":125103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b129b58012d12ddc0071f2048002e006c1d..."} 
[2026-07-07 11:06:05] local.INFO: Processing buffer {"connection_id":126343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b129b58012d12ddc0071f2048002e006c1d..."} 
[2026-07-07 11:06:05] local.INFO: Packet analysis {"connection_id":126343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b12"} 
[2026-07-07 11:06:05] local.INFO: Extracted packet for processing {"connection_id":126343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b12"} 
[2026-07-07 11:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756211136,"raw_latitude":119480392,"longitude_deg":75.6211136,"latitude_deg":11.9480392,"altitude":46,"angle":108,"satellites":29,"speed":51,"hex_longitude":"2d12ddc0","hex_latitude":"071f2048","is_valid_coordinates":true} 
[2026-07-07 11:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551039488001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:06:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-07 11:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4820456544665600,"note":"Value kept but may cause issues"} 
[2026-07-07 11:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1352276187449522176,"note":"Value kept but may cause issues"} 
[2026-07-07 11:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-07 11:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783402503000,"timestamp_ms":1783402503000,"timestamp_seconds":1783402503,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b129b58"} 
[2026-07-07 11:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-07 11:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551039488001,"66":14211,"200":0,"28":31744,"24":51,"16":4820456544665600,"45":1352276187449522176},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-07-07 11:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551039488001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:06:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4820456544665600,"km_value":4820456544665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1352276187449522176,"description":"Unknown IO ID 45"} 
[2026-07-07 11:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551039488001,"power":14211,"gsm_signal":0,"unknown_28":31744,"ignition":51,"odometer":null,"unknown_45":1352276187449522176}} 
[2026-07-07 11:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":126343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:06:05] local.INFO: GPS data processed {"connection_id":126343,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:06:05] local.INFO: Acknowledgment sent {"connection_id":126343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:06:23] local.INFO: TCP Data received {"connection_id":124403,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:06:23] local.INFO: Processing buffer {"connection_id":124403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:06:23] local.INFO: IMEI packet received {"connection_id":124403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":124403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:06:26] local.INFO: TCP Data received {"connection_id":124403,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:06:26] local.INFO: Processing buffer {"connection_id":124403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:06:26] local.INFO: IMEI packet received {"connection_id":124403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":124403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:06:32] local.INFO: TCP Data received {"connection_id":124403,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:06:32] local.INFO: Processing buffer {"connection_id":124403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:06:32] local.INFO: IMEI packet received {"connection_id":124403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":124403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:06:33] local.INFO: TCP Data received {"connection_id":124403,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b12ba98012d130080071f1290002d006c1e..."} 
[2026-07-07 11:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b12ba98012d130080071f1290002d006c1e..."} 
[2026-07-07 11:06:33] local.INFO: Processing buffer {"connection_id":124403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b12ba98012d130080071f1290002d006c1e..."} 
[2026-07-07 11:06:33] local.INFO: Packet analysis {"connection_id":124403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b12"} 
[2026-07-07 11:06:33] local.INFO: Extracted packet for processing {"connection_id":124403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b12"} 
[2026-07-07 11:06:33] local.INFO: GPS Element Parsed {"raw_longitude":756220032,"raw_latitude":119476880,"longitude_deg":75.6220032,"latitude_deg":11.947688,"altitude":45,"angle":108,"satellites":30,"speed":42,"hex_longitude":"2d130080","hex_latitude":"071f1290","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551040768001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:06:33] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-07 11:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4820907516231680,"note":"Value kept but may cause issues"} 
[2026-07-07 11:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1359453799355271168,"note":"Value kept but may cause issues"} 
[2026-07-07 11:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-07 11:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783402511000,"timestamp_ms":1783402511000,"timestamp_seconds":1783402511,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b12ba98"} 
[2026-07-07 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-07-07 11:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 11:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 11:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551040768001,"66":14113,"200":0,"28":31744,"24":42,"16":4820907516231680,"45":1359453799355271168},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-07-07 11:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551040768001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:06:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4820907516231680,"km_value":4820907516231.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1359453799355271168,"description":"Unknown IO ID 45"} 
[2026-07-07 11:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551040768001,"power":14113,"gsm_signal":0,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1359453799355271168}} 
[2026-07-07 11:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":124403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:06:34] local.INFO: GPS data processed {"connection_id":124403,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:06:34] local.INFO: Acknowledgment sent {"connection_id":124403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:06:35] local.INFO: TCP Data received {"connection_id":124403,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b12ddc0012d132580071f06b8002c006a1d..."} 
[2026-07-07 11:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b12ddc0012d132580071f06b8002c006a1d..."} 
[2026-07-07 11:06:35] local.INFO: Processing buffer {"connection_id":124403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b12ddc0012d132580071f06b8002c006a1d..."} 
[2026-07-07 11:06:35] local.INFO: Packet analysis {"connection_id":124403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b12"} 
[2026-07-07 11:06:35] local.INFO: Extracted packet for processing {"connection_id":124403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b12"} 
[2026-07-07 11:06:35] local.INFO: GPS Element Parsed {"raw_longitude":756229504,"raw_latitude":119473848,"longitude_deg":75.6229504,"latitude_deg":11.9473848,"altitude":44,"angle":106,"satellites":29,"speed":46,"hex_longitude":"2d132580","hex_latitude":"071f06b8","is_valid_coordinates":true} 
[2026-07-07 11:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551042816001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4821379962634240,"note":"Value kept but may cause issues"} 
[2026-07-07 11:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1369235054795067392,"note":"Value kept but may cause issues"} 
[2026-07-07 11:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783402520000,"timestamp_ms":1783402520000,"timestamp_seconds":1783402520,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b12ddc0"} 
[2026-07-07 11:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 11:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551042816001,"66":14102,"50":206,"28":31744,"24":46,"16":4821379962634240,"45":1369235054795067392},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-07-07 11:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551042816001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:06:35] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-07 11:06:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4821379962634240,"km_value":4821379962634.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1369235054795067392,"description":"Unknown IO ID 45"} 
[2026-07-07 11:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551042816001,"power":14102,"unknown_50":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1369235054795067392}} 
[2026-07-07 11:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":124403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:06:35] local.INFO: GPS data processed {"connection_id":124403,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:06:35] local.INFO: Acknowledgment sent {"connection_id":124403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:06:36] local.INFO: TCP Data received {"connection_id":125103,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b121e58012d7bce8005dda6e8000400aa20..."} 
[2026-07-07 11:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b121e58012d7bce8005dda6e8000400aa20..."} 
[2026-07-07 11:06:36] local.INFO: Processing buffer {"connection_id":125103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b121e58012d7bce8005dda6e8000400aa20..."} 
[2026-07-07 11:06:36] local.INFO: Packet analysis {"connection_id":125103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b12"} 
[2026-07-07 11:06:36] local.INFO: Extracted packet for processing {"connection_id":125103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b12"} 
[2026-07-07 11:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763088512,"raw_latitude":98412264,"longitude_deg":76.3088512,"latitude_deg":9.8412264,"altitude":4,"angle":170,"satellites":32,"speed":40,"hex_longitude":"2d7bce80","hex_latitude":"05dda6e8","is_valid_coordinates":true} 
[2026-07-07 11:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551030272001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340977127211925504,"note":"Value kept but may cause issues"} 
[2026-07-07 11:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919379087203065856,"note":"Value kept but may cause issues"} 
[2026-07-07 11:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783402471000,"timestamp_ms":1783402471000,"timestamp_seconds":1783402471,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b121e58"} 
[2026-07-07 11:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:06: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-07-07 11:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-07 11:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551030272001,"66":27908,"169":206,"85":15104,"24":40,"16":340977127211925504,"45":8919379087203065856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 11:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551030272001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:06:36] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 11:06:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340977127211925504,"km_value":340977127211925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919379087203065856,"description":"Unknown IO ID 45"} 
[2026-07-07 11:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551030272001,"power":27908,"unknown_169":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8919379087203065856}} 
[2026-07-07 11:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":125103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:06:36] local.INFO: GPS data processed {"connection_id":125103,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:06:36] local.INFO: Acknowledgment sent {"connection_id":125103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:06:59] local.INFO: TCP Data received {"connection_id":126344,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:06:59] local.INFO: Processing buffer {"connection_id":126344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:06:59] local.INFO: IMEI packet received {"connection_id":126344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":126344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:07:01] local.INFO: TCP Data received {"connection_id":126344,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:07:01] local.INFO: Processing buffer {"connection_id":126344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:07:01] local.INFO: IMEI packet received {"connection_id":126344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":126344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:07:04] local.INFO: TCP Data received {"connection_id":126344,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:07:04] local.INFO: Processing buffer {"connection_id":126344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:07:04] local.INFO: IMEI packet received {"connection_id":126344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":126344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:07:05] local.INFO: TCP Data received {"connection_id":126344,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b124180012d7bd44005dd8448000400ac22..."} 
[2026-07-07 11:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b124180012d7bd44005dd8448000400ac22..."} 
[2026-07-07 11:07:05] local.INFO: Processing buffer {"connection_id":126344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b124180012d7bd44005dd8448000400ac22..."} 
[2026-07-07 11:07:05] local.INFO: Packet analysis {"connection_id":126344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b12"} 
[2026-07-07 11:07:05] local.INFO: Extracted packet for processing {"connection_id":126344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b12"} 
[2026-07-07 11:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763089984,"raw_latitude":98403400,"longitude_deg":76.3089984,"latitude_deg":9.84034,"altitude":4,"angle":172,"satellites":34,"speed":41,"hex_longitude":"2d7bd440","hex_latitude":"05dd8448","is_valid_coordinates":true} 
[2026-07-07 11:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551032576001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340977561003622400,"note":"Value kept but may cause issues"} 
[2026-07-07 11:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921208674549426176,"note":"Value kept but may cause issues"} 
[2026-07-07 11:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783402480000,"timestamp_ms":1783402480000,"timestamp_seconds":1783402480,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b124180"} 
[2026-07-07 11:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 11:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551032576001,"66":27919,"169":206,"85":15104,"24":41,"16":340977561003622400,"45":8921208674549426176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 11:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551032576001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:07:05] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 11:07:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340977561003622400,"km_value":340977561003622.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921208674549426176,"description":"Unknown IO ID 45"} 
[2026-07-07 11:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551032576001,"power":27919,"unknown_169":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8921208674549426176}} 
[2026-07-07 11:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":126344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:07:05] local.INFO: GPS data processed {"connection_id":126344,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:07:05] local.INFO: Acknowledgment sent {"connection_id":126344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:07:22] local.INFO: TCP Data received {"connection_id":124404,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:07:22] local.INFO: Processing buffer {"connection_id":124404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:07:22] local.INFO: IMEI packet received {"connection_id":124404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":124404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:07:27] local.INFO: TCP Data received {"connection_id":124404,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:07:27] local.INFO: Processing buffer {"connection_id":124404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:07:27] local.INFO: IMEI packet received {"connection_id":124404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":124404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:07:28] local.INFO: TCP Data received {"connection_id":124404,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b12fd00012d134980071efc18002d00691c..."} 
[2026-07-07 11:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b12fd00012d134980071efc18002d00691c..."} 
[2026-07-07 11:07:28] local.INFO: Processing buffer {"connection_id":124404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b12fd00012d134980071efc18002d00691c..."} 
[2026-07-07 11:07:28] local.INFO: Packet analysis {"connection_id":124404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b12"} 
[2026-07-07 11:07:28] local.INFO: Extracted packet for processing {"connection_id":124404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b12"} 
[2026-07-07 11:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756238720,"raw_latitude":119471128,"longitude_deg":75.623872,"latitude_deg":11.9471128,"altitude":45,"angle":105,"satellites":28,"speed":46,"hex_longitude":"2d134980","hex_latitude":"071efc18","is_valid_coordinates":true} 
[2026-07-07 11:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551045120001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4821839524134912,"note":"Value kept but may cause issues"} 
[2026-07-07 11:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1379649628932585472,"note":"Value kept but may cause issues"} 
[2026-07-07 11:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783402528000,"timestamp_ms":1783402528000,"timestamp_seconds":1783402528,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b12fd00"} 
[2026-07-07 11:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:07: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-07-07 11:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-07 11:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551045120001,"66":13993,"133":206,"28":31744,"24":46,"16":4821839524134912,"45":1379649628932585472},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-07-07 11:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551045120001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:07:28] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-07 11:07:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4821839524134912,"km_value":4821839524134.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1379649628932585472,"description":"Unknown IO ID 45"} 
[2026-07-07 11:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551045120001,"power":13993,"unknown_133":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1379649628932585472}} 
[2026-07-07 11:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":124404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:07:28] local.INFO: GPS data processed {"connection_id":124404,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:07:28] local.INFO: Acknowledgment sent {"connection_id":124404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:07:29] local.INFO: TCP Data received {"connection_id":124404,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b131470012d136400071ef740002e005e1d..."} 
[2026-07-07 11:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b131470012d136400071ef740002e005e1d..."} 
[2026-07-07 11:07:29] local.INFO: Processing buffer {"connection_id":124404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b131470012d136400071ef740002e005e1d..."} 
[2026-07-07 11:07:29] local.INFO: Packet analysis {"connection_id":124404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b13"} 
[2026-07-07 11:07:29] local.INFO: Extracted packet for processing {"connection_id":124404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b13"} 
[2026-07-07 11:07:29] local.INFO: GPS Element Parsed {"raw_longitude":756245504,"raw_latitude":119469888,"longitude_deg":75.6245504,"latitude_deg":11.9469888,"altitude":46,"angle":94,"satellites":29,"speed":43,"hex_longitude":"2d136400","hex_latitude":"071ef740","is_valid_coordinates":true} 
[2026-07-07 11:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551047168001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4822165941649408,"note":"Value kept but may cause issues"} 
[2026-07-07 11:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1389782728093472768,"note":"Value kept but may cause issues"} 
[2026-07-07 11:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783402534000,"timestamp_ms":1783402534000,"timestamp_seconds":1783402534,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b131470"} 
[2026-07-07 11:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-07 11:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":124404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":124404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":124404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551047168001,"66":14048,"133":206,"28":31744,"24":43,"16":4822165941649408,"45":1389782728093472768},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-07-07 11:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551047168001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:07:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-07 11:07:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4822165941649408,"km_value":4822165941649.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1389782728093472768,"description":"Unknown IO ID 45"} 
[2026-07-07 11:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551047168001,"power":14048,"unknown_133":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1389782728093472768}} 
[2026-07-07 11:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":124404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:07:29] local.INFO: GPS data processed {"connection_id":124404,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:07:29] local.INFO: Acknowledgment sent {"connection_id":124404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:07:38] local.INFO: TCP Data received {"connection_id":126344,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b13f700012d7bef4005dbeda8000000ac22..."} 
[2026-07-07 11:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b13f700012d7bef4005dbeda8000000ac22..."} 
[2026-07-07 11:07:38] local.INFO: Processing buffer {"connection_id":126344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b13f700012d7bef4005dbeda8000000ac22..."} 
[2026-07-07 11:07:38] local.INFO: Packet analysis {"connection_id":126344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b13"} 
[2026-07-07 11:07:38] local.INFO: Extracted packet for processing {"connection_id":126344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b13"} 
[2026-07-07 11:07:38] local.INFO: GPS Element Parsed {"raw_longitude":763096896,"raw_latitude":98299304,"longitude_deg":76.3096896,"latitude_deg":9.8299304,"altitude":0,"angle":172,"satellites":34,"speed":43,"hex_longitude":"2d7bef40","hex_latitude":"05dbeda8","is_valid_coordinates":true} 
[2026-07-07 11: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-07-07 11:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551061248001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340982629065031680,"note":"Value kept but may cause issues"} 
[2026-07-07 11:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929512186335784960,"note":"Value kept but may cause issues"} 
[2026-07-07 11:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783402592000,"timestamp_ms":1783402592000,"timestamp_seconds":1783402592,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b13f700"} 
[2026-07-07 11:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-07 11:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11: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-07-07 11:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551061248001,"66":27865,"185":206,"85":15104,"24":43,"16":340982629065031680,"45":8929512186335784960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-07 11:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551061248001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:07:38] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-07 11:07:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340982629065031680,"km_value":340982629065031.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929512186335784960,"description":"Unknown IO ID 45"} 
[2026-07-07 11:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551061248001,"power":27865,"unknown_185":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8929512186335784960}} 
[2026-07-07 11:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":126344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:07:38] local.INFO: GPS data processed {"connection_id":126344,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:07:38] local.INFO: Acknowledgment sent {"connection_id":126344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:07:59] local.INFO: TCP Data received {"connection_id":126345,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:07:59] local.INFO: Processing buffer {"connection_id":126345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:07:59] local.INFO: IMEI packet received {"connection_id":126345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":126345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:08:02] local.INFO: TCP Data received {"connection_id":124404,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b149ef8012d14fc80071f9e280039003b1f..."} 
[2026-07-07 11:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b149ef8012d14fc80071f9e280039003b1f..."} 
[2026-07-07 11:08:02] local.INFO: Processing buffer {"connection_id":124404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b149ef8012d14fc80071f9e280039003b1f..."} 
[2026-07-07 11:08:02] local.INFO: Packet analysis {"connection_id":124404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b14"} 
[2026-07-07 11:08:02] local.INFO: Extracted packet for processing {"connection_id":124404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b14"} 
[2026-07-07 11:08:02] local.INFO: GPS Element Parsed {"raw_longitude":756350080,"raw_latitude":119512616,"longitude_deg":75.635008,"latitude_deg":11.9512616,"altitude":57,"angle":59,"satellites":31,"speed":47,"hex_longitude":"2d14fc80","hex_latitude":"071f9e28","is_valid_coordinates":true} 
[2026-07-07 11:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551072512001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4827599075278848,"note":"Value kept but may cause issues"} 
[2026-07-07 11:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1502794931252445184,"note":"Value kept but may cause issues"} 
[2026-07-07 11:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783402635000,"timestamp_ms":1783402635000,"timestamp_seconds":1783402635,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b149ef8"} 
[2026-07-07 11:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:08: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-07-07 11:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 11:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551072512001,"66":14483,"133":206,"28":31744,"24":47,"16":4827599075278848,"45":1502794931252445184},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-07-07 11:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551072512001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:08:02] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-07 11:08:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4827599075278848,"km_value":4827599075278.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1502794931252445184,"description":"Unknown IO ID 45"} 
[2026-07-07 11:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551072512001,"power":14483,"unknown_133":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1502794931252445184}} 
[2026-07-07 11:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":124404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:08:02] local.INFO: GPS data processed {"connection_id":124404,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:08:02] local.INFO: Acknowledgment sent {"connection_id":124404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:08:04] local.INFO: TCP Data received {"connection_id":126345,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:08:04] local.INFO: Processing buffer {"connection_id":126345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:08:04] local.INFO: IMEI packet received {"connection_id":126345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":126345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:08:05] local.INFO: TCP Data received {"connection_id":126345,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b141a28012d7bf64005dbc770000100a823..."} 
[2026-07-07 11:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b141a28012d7bf64005dbc770000100a823..."} 
[2026-07-07 11:08:05] local.INFO: Processing buffer {"connection_id":126345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b141a28012d7bf64005dbc770000100a823..."} 
[2026-07-07 11:08:05] local.INFO: Packet analysis {"connection_id":126345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b14"} 
[2026-07-07 11:08:05] local.INFO: Extracted packet for processing {"connection_id":126345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b14"} 
[2026-07-07 11:08:05] local.INFO: GPS Element Parsed {"raw_longitude":763098688,"raw_latitude":98289520,"longitude_deg":76.3098688,"latitude_deg":9.828952,"altitude":1,"angle":168,"satellites":35,"speed":47,"hex_longitude":"2d7bf640","hex_latitude":"05dbc770","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551063552001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340983110101368832,"note":"Value kept but may cause issues"} 
[2026-07-07 11:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930426980007782400,"note":"Value kept but may cause issues"} 
[2026-07-07 11:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783402601000,"timestamp_ms":1783402601000,"timestamp_seconds":1783402601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b141a28"} 
[2026-07-07 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-07-07 11:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 11:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551063552001,"66":27930,"185":206,"85":15104,"24":47,"16":340983110101368832,"45":8930426980007782400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-07 11:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551063552001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:08:05] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-07 11:08:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340983110101368832,"km_value":340983110101368.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930426980007782400,"description":"Unknown IO ID 45"} 
[2026-07-07 11:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551063552001,"power":27930,"unknown_185":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8930426980007782400}} 
[2026-07-07 11:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":126345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:08:05] local.INFO: GPS data processed {"connection_id":126345,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:08:05] local.INFO: Acknowledgment sent {"connection_id":126345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:08:21] local.INFO: TCP Data received {"connection_id":124316,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:08:21] local.INFO: Processing buffer {"connection_id":124316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:08:21] local.INFO: IMEI packet received {"connection_id":124316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":124316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:08:24] local.INFO: TCP Data received {"connection_id":124316,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:08:24] local.INFO: Processing buffer {"connection_id":124316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:08:24] local.INFO: IMEI packet received {"connection_id":124316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":124316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:08:26] local.INFO: TCP Data received {"connection_id":124316,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:08:26] local.INFO: Processing buffer {"connection_id":124316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:08:26] local.INFO: IMEI packet received {"connection_id":124316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":124316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:08:28] local.INFO: TCP Data received {"connection_id":124316,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b149ef8012d14fc80071f9e280039003b1f..."} 
[2026-07-07 11:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b149ef8012d14fc80071f9e280039003b1f..."} 
[2026-07-07 11:08:28] local.INFO: Processing buffer {"connection_id":124316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b149ef8012d14fc80071f9e280039003b1f..."} 
[2026-07-07 11:08:28] local.INFO: Packet analysis {"connection_id":124316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b14"} 
[2026-07-07 11:08:28] local.INFO: Extracted packet for processing {"connection_id":124316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b14"} 
[2026-07-07 11:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756350080,"raw_latitude":119512616,"longitude_deg":75.635008,"latitude_deg":11.9512616,"altitude":57,"angle":59,"satellites":31,"speed":47,"hex_longitude":"2d14fc80","hex_latitude":"071f9e28","is_valid_coordinates":true} 
[2026-07-07 11:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551074560001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4827599075278848,"note":"Value kept but may cause issues"} 
[2026-07-07 11:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1512224342973229056,"note":"Value kept but may cause issues"} 
[2026-07-07 11:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783402635000,"timestamp_ms":1783402635000,"timestamp_seconds":1783402635,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b149ef8"} 
[2026-07-07 11:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:08: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-07-07 11:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 11:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551074560001,"66":14483,"133":206,"28":31744,"24":47,"16":4827599075278848,"45":1512224342973229056},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-07-07 11:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551074560001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:08:28] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-07 11:08:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4827599075278848,"km_value":4827599075278.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1512224342973229056,"description":"Unknown IO ID 45"} 
[2026-07-07 11:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551074560001,"power":14483,"unknown_133":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1512224342973229056}} 
[2026-07-07 11:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":124316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:08:28] local.INFO: GPS data processed {"connection_id":124316,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:08:28] local.INFO: Acknowledgment sent {"connection_id":124316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:08:36] local.INFO: TCP Data received {"connection_id":126345,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b143d50012d7bfe8005dba1d8000500a720..."} 
[2026-07-07 11:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b143d50012d7bfe8005dba1d8000500a720..."} 
[2026-07-07 11:08:36] local.INFO: Processing buffer {"connection_id":126345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b143d50012d7bfe8005dba1d8000500a720..."} 
[2026-07-07 11:08:36] local.INFO: Packet analysis {"connection_id":126345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b14"} 
[2026-07-07 11:08:36] local.INFO: Extracted packet for processing {"connection_id":126345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b14"} 
[2026-07-07 11:08:36] local.INFO: GPS Element Parsed {"raw_longitude":763100800,"raw_latitude":98279896,"longitude_deg":76.31008,"latitude_deg":9.8279896,"altitude":5,"angle":167,"satellites":32,"speed":45,"hex_longitude":"2d7bfe80","hex_latitude":"05dba1d8","is_valid_coordinates":true} 
[2026-07-07 11:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551065856001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340983586842738688,"note":"Value kept but may cause issues"} 
[2026-07-07 11:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932397304842252288,"note":"Value kept but may cause issues"} 
[2026-07-07 11:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783402610000,"timestamp_ms":1783402610000,"timestamp_seconds":1783402610,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b143d50"} 
[2026-07-07 11:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 11:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551065856001,"66":27865,"185":206,"85":15104,"24":45,"16":340983586842738688,"45":8932397304842252288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-07 11:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551065856001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:08:36] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-07 11:08:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340983586842738688,"km_value":340983586842738.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932397304842252288,"description":"Unknown IO ID 45"} 
[2026-07-07 11:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551065856001,"power":27865,"unknown_185":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8932397304842252288}} 
[2026-07-07 11:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":126345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:08:36] local.INFO: GPS data processed {"connection_id":126345,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:08:36] local.INFO: Acknowledgment sent {"connection_id":126345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:08:59] local.INFO: TCP Data received {"connection_id":124317,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:08:59] local.INFO: Processing buffer {"connection_id":124317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:08:59] local.INFO: IMEI packet received {"connection_id":124317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":124317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:08:59] local.INFO: TCP Data received {"connection_id":124317,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:08:59] local.INFO: Processing buffer {"connection_id":124317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:08:59] local.INFO: IMEI packet received {"connection_id":124317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":124317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:09:00] local.INFO: TCP Data received {"connection_id":124316,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b14b280012d150fc0071fac000035002e1f..."} 
[2026-07-07 11:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b14b280012d150fc0071fac000035002e1f..."} 
[2026-07-07 11:09:00] local.INFO: Processing buffer {"connection_id":124316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b14b280012d150fc0071fac000035002e1f..."} 
[2026-07-07 11:09:00] local.INFO: Packet analysis {"connection_id":124316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b14"} 
[2026-07-07 11:09:00] local.INFO: Extracted packet for processing {"connection_id":124316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b14"} 
[2026-07-07 11:09:00] local.INFO: GPS Element Parsed {"raw_longitude":756355008,"raw_latitude":119516160,"longitude_deg":75.6355008,"latitude_deg":11.951616,"altitude":53,"angle":46,"satellites":31,"speed":48,"hex_longitude":"2d150fc0","hex_latitude":"071fac00","is_valid_coordinates":true} 
[2026-07-07 11:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551074560001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4827886838087680,"note":"Value kept but may cause issues"} 
[2026-07-07 11:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1512224342973229056,"note":"Value kept but may cause issues"} 
[2026-07-07 11:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783402640000,"timestamp_ms":1783402640000,"timestamp_seconds":1783402640,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b14b280"} 
[2026-07-07 11:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:09: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-07-07 11:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 11:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551074560001,"66":14157,"133":206,"28":31744,"24":48,"16":4827886838087680,"45":1512224342973229056},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-07-07 11:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551074560001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:09:00] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-07 11:09:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4827886838087680,"km_value":4827886838087.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1512224342973229056,"description":"Unknown IO ID 45"} 
[2026-07-07 11:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551074560001,"power":14157,"unknown_133":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":1512224342973229056}} 
[2026-07-07 11:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":124316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:09:00] local.INFO: GPS data processed {"connection_id":124316,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:09:00] local.INFO: Acknowledgment sent {"connection_id":124316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:09:04] local.INFO: TCP Data received {"connection_id":124317,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:09:04] local.INFO: Processing buffer {"connection_id":124317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:09:04] local.INFO: IMEI packet received {"connection_id":124317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":124317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:09:05] local.INFO: TCP Data received {"connection_id":124317,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b145c90012d7c074005db7ce0000500a71e..."} 
[2026-07-07 11:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b145c90012d7c074005db7ce0000500a71e..."} 
[2026-07-07 11:09:05] local.INFO: Processing buffer {"connection_id":124317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b145c90012d7c074005db7ce0000500a71e..."} 
[2026-07-07 11:09:05] local.INFO: Packet analysis {"connection_id":124317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b14"} 
[2026-07-07 11:09:05] local.INFO: Extracted packet for processing {"connection_id":124317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b14"} 
[2026-07-07 11:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763103040,"raw_latitude":98270432,"longitude_deg":76.310304,"latitude_deg":9.8270432,"altitude":5,"angle":167,"satellites":30,"speed":49,"hex_longitude":"2d7c0740","hex_latitude":"05db7ce0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551068160001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340984059289141248,"note":"Value kept but may cause issues"} 
[2026-07-07 11:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934719473397651456,"note":"Value kept but may cause issues"} 
[2026-07-07 11:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783402618000,"timestamp_ms":1783402618000,"timestamp_seconds":1783402618,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b145c90"} 
[2026-07-07 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-07-07 11:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 11:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551068160001,"66":27919,"186":206,"85":15104,"24":49,"16":340984059289141248,"45":8934719473397651456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-07 11:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551068160001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:09:05] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-07 11:09:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340984059289141248,"km_value":340984059289141.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934719473397651456,"description":"Unknown IO ID 45"} 
[2026-07-07 11:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551068160001,"power":27919,"unknown_186":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8934719473397651456}} 
[2026-07-07 11:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":124317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:09:05] local.INFO: GPS data processed {"connection_id":124317,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:09:05] local.INFO: Acknowledgment sent {"connection_id":124317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:09:27] local.INFO: TCP Data received {"connection_id":124406,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:09:27] local.INFO: Processing buffer {"connection_id":124406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:09:27] local.INFO: IMEI packet received {"connection_id":124406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":124406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:09:28] local.INFO: TCP Data received {"connection_id":124406,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:09:28] local.INFO: Processing buffer {"connection_id":124406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:09:28] local.INFO: IMEI packet received {"connection_id":124406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":124406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:09:32] local.INFO: TCP Data received {"connection_id":124406,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:09:32] local.INFO: Processing buffer {"connection_id":124406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:09:32] local.INFO: IMEI packet received {"connection_id":124406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":124406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:09:33] local.INFO: TCP Data received {"connection_id":124406,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b14cdd8012d1529c0071fc1b00030003d1e..."} 
[2026-07-07 11:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b14cdd8012d1529c0071fc1b00030003d1e..."} 
[2026-07-07 11:09:33] local.INFO: Processing buffer {"connection_id":124406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b14cdd8012d1529c0071fc1b00030003d1e..."} 
[2026-07-07 11:09:33] local.INFO: Packet analysis {"connection_id":124406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b14"} 
[2026-07-07 11:09:33] local.INFO: Extracted packet for processing {"connection_id":124406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b14"} 
[2026-07-07 11:09:33] local.INFO: GPS Element Parsed {"raw_longitude":756361664,"raw_latitude":119521712,"longitude_deg":75.6361664,"latitude_deg":11.9521712,"altitude":48,"angle":61,"satellites":30,"speed":50,"hex_longitude":"2d1529c0","hex_latitude":"071fc1b0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551075840001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4828303449915392,"note":"Value kept but may cause issues"} 
[2026-07-07 11:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1517642736275816448,"note":"Value kept but may cause issues"} 
[2026-07-07 11:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783402647000,"timestamp_ms":1783402647000,"timestamp_seconds":1783402647,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b14cdd8"} 
[2026-07-07 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-07-07 11:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 11:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 11:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551075840001,"66":14483,"133":206,"28":31744,"24":50,"16":4828303449915392,"45":1517642736275816448},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-07-07 11:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551075840001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:09:33] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-07 11:09:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4828303449915392,"km_value":4828303449915.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1517642736275816448,"description":"Unknown IO ID 45"} 
[2026-07-07 11:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551075840001,"power":14483,"unknown_133":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":1517642736275816448}} 
[2026-07-07 11:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":124406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:09:33] local.INFO: GPS data processed {"connection_id":124406,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:09:33] local.INFO: Acknowledgment sent {"connection_id":124406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:09:35] local.INFO: TCP Data received {"connection_id":124406,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b14d990012d153800071fc6e8002e004c20..."} 
[2026-07-07 11:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b14d990012d153800071fc6e8002e004c20..."} 
[2026-07-07 11:09:35] local.INFO: Processing buffer {"connection_id":124406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b14d990012d153800071fc6e8002e004c20..."} 
[2026-07-07 11:09:35] local.INFO: Packet analysis {"connection_id":124406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b14"} 
[2026-07-07 11:09:35] local.INFO: Extracted packet for processing {"connection_id":124406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b14"} 
[2026-07-07 11:09:35] local.INFO: GPS Element Parsed {"raw_longitude":756365312,"raw_latitude":119523048,"longitude_deg":75.6365312,"latitude_deg":11.9523048,"altitude":46,"angle":76,"satellites":32,"speed":50,"hex_longitude":"2d153800","hex_latitude":"071fc6e8","is_valid_coordinates":true} 
[2026-07-07 11:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551077632001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4828488133509120,"note":"Value kept but may cause issues"} 
[2026-07-07 11:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1524961085671714816,"note":"Value kept but may cause issues"} 
[2026-07-07 11:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783402650000,"timestamp_ms":1783402650000,"timestamp_seconds":1783402650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b14d990"} 
[2026-07-07 11:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 11:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551077632001,"66":14374,"133":206,"28":31744,"24":50,"16":4828488133509120,"45":1524961085671714816},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-07-07 11:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551077632001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:09:35] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-07 11:09:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4828488133509120,"km_value":4828488133509.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1524961085671714816,"description":"Unknown IO ID 45"} 
[2026-07-07 11:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551077632001,"power":14374,"unknown_133":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":1524961085671714816}} 
[2026-07-07 11:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":124406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:09:35] local.INFO: GPS data processed {"connection_id":124406,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:09:35] local.INFO: Acknowledgment sent {"connection_id":124406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:09:39] local.INFO: TCP Data received {"connection_id":124317,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b15df48012d7c758005d9f5e8000100a81e..."} 
[2026-07-07 11:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b15df48012d7c758005d9f5e8000100a81e..."} 
[2026-07-07 11:09:39] local.INFO: Processing buffer {"connection_id":124317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b15df48012d7c758005d9f5e8000100a81e..."} 
[2026-07-07 11:09:39] local.INFO: Packet analysis {"connection_id":124317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b15"} 
[2026-07-07 11:09:39] local.INFO: Extracted packet for processing {"connection_id":124317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b15"} 
[2026-07-07 11:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763131264,"raw_latitude":98170344,"longitude_deg":76.3131264,"latitude_deg":9.8170344,"altitude":1,"angle":168,"satellites":30,"speed":49,"hex_longitude":"2d7c7580","hex_latitude":"05d9f5e8","is_valid_coordinates":true} 
[2026-07-07 11: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-07-07 11:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551093504001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340989105875714048,"note":"Value kept but may cause issues"} 
[2026-07-07 11:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965822458298624000,"note":"Value kept but may cause issues"} 
[2026-07-07 11:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783402717000,"timestamp_ms":1783402717000,"timestamp_seconds":1783402717,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b15df48"} 
[2026-07-07 11:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:09: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-07-07 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 11:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11: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-07-07 11:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551093504001,"66":27908,"245":206,"85":15104,"24":49,"16":340989105875714048,"45":8965822458298624000},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-07 11:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551093504001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340989105875714048,"km_value":340989105875714.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965822458298624000,"description":"Unknown IO ID 45"} 
[2026-07-07 11:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551093504001,"power":27908,"geofence_id":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8965822458298624000}} 
[2026-07-07 11:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":124317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:09:39] local.INFO: GPS data processed {"connection_id":124317,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:09:39] local.INFO: Acknowledgment sent {"connection_id":124317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:10:04] local.INFO: TCP Data received {"connection_id":126348,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:10:04] local.INFO: Processing buffer {"connection_id":126348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:10:04] local.INFO: IMEI packet received {"connection_id":126348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":126348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:10:06] local.INFO: TCP Data received {"connection_id":126348,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:10:06] local.INFO: Processing buffer {"connection_id":126348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:10:06] local.INFO: IMEI packet received {"connection_id":126348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":126348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:10:07] local.INFO: TCP Data received {"connection_id":124406,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b165090012d16aa00072024f8002a00381e..."} 
[2026-07-07 11:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b165090012d16aa00072024f8002a00381e..."} 
[2026-07-07 11:10:07] local.INFO: Processing buffer {"connection_id":124406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b165090012d16aa00072024f8002a00381e..."} 
[2026-07-07 11:10:07] local.INFO: Packet analysis {"connection_id":124406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b16"} 
[2026-07-07 11:10:07] local.INFO: Extracted packet for processing {"connection_id":124406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b16"} 
[2026-07-07 11:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756460032,"raw_latitude":119547128,"longitude_deg":75.6460032,"latitude_deg":11.9547128,"altitude":42,"angle":56,"satellites":30,"speed":44,"hex_longitude":"2d16aa00","hex_latitude":"072024f8","is_valid_coordinates":true} 
[2026-07-07 11:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551100672001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4833212597534720,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623477327525754880,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:07] 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-07-07 11:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783402746000,"timestamp_ms":1783402746000,"timestamp_seconds":1783402746,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b165090"} 
[2026-07-07 11:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-07 11:10: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-07-07 11:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551100672001,"66":14080,"122":206,"28":31744,"24":44,"16":4833212597534720,"45":1623477327525754880},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 11:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551100672001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:10:07] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 11:10:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4833212597534720,"km_value":4833212597534.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623477327525754880,"description":"Unknown IO ID 45"} 
[2026-07-07 11:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551100672001,"power":14080,"unknown_122":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1623477327525754880}} 
[2026-07-07 11:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":124406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:10:07] local.INFO: GPS data processed {"connection_id":124406,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:10:07] local.INFO: Acknowledgment sent {"connection_id":124406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:10:10] local.INFO: TCP Data received {"connection_id":126348,"ip":"42.106.6.18","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f3b..."} 
[2026-07-07 11:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126348,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f3b..."} 
[2026-07-07 11:10:10] local.INFO: Processing buffer {"connection_id":126348,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f3b..."} 
[2026-07-07 11:10:10] local.INFO: IMEI packet received {"connection_id":126348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":126348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:10:11] local.INFO: TCP Data received {"connection_id":126348,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1615f8012d7c7f4005d9af50000600af1f..."} 
[2026-07-07 11:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1615f8012d7c7f4005d9af50000600af1f..."} 
[2026-07-07 11:10:11] local.INFO: Processing buffer {"connection_id":126348,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3b15faa0012d7c7bc005d9d360000200a81e..."} 
[2026-07-07 11:10:11] local.INFO: Packet analysis {"connection_id":126348,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3b15"} 
[2026-07-07 11:10:11] local.INFO: Extracted packet for processing {"connection_id":126348,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b15"} 
[2026-07-07 11:10:11] local.INFO: GPS Element Parsed {"raw_longitude":763132864,"raw_latitude":98161504,"longitude_deg":76.3132864,"latitude_deg":9.8161504,"altitude":2,"angle":168,"satellites":30,"speed":53,"hex_longitude":"2d7c7bc0","hex_latitude":"05d9d360","is_valid_coordinates":true} 
[2026-07-07 11:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551095552001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340989539667410944,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968214995598174208,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783402724000,"timestamp_ms":1783402724000,"timestamp_seconds":1783402724,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b15faa0"} 
[2026-07-07 11:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":4,"data_length":795,"current_offset":136} 
[2026-07-07 11:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551095552001,"66":27865,"245":206,"85":15104,"24":53,"16":340989539667410944,"45":8968214995598174208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-07 11:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551095552001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340989539667410944,"km_value":340989539667410.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968214995598174208,"description":"Unknown IO ID 45"} 
[2026-07-07 11:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551095552001,"power":27865,"geofence_id":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8968214995598174208}} 
[2026-07-07 11:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":126348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:10:11] local.INFO: GPS data processed {"connection_id":126348,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:10:11] local.INFO: Acknowledgment sent {"connection_id":126348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:10:11] local.INFO: Packet analysis {"connection_id":126348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b16"} 
[2026-07-07 11:10:11] local.INFO: Extracted packet for processing {"connection_id":126348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b16"} 
[2026-07-07 11:10:11] local.INFO: GPS Element Parsed {"raw_longitude":763133760,"raw_latitude":98152272,"longitude_deg":76.313376,"latitude_deg":9.8152272,"altitude":6,"angle":175,"satellites":31,"speed":54,"hex_longitude":"2d7c7f40","hex_latitude":"05d9af50","is_valid_coordinates":true} 
[2026-07-07 11:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551097344001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340989990638977024,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969974214200352768,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783402731000,"timestamp_ms":1783402731000,"timestamp_seconds":1783402731,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1615f8"} 
[2026-07-07 11:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:10: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-07-07 11:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551097344001,"66":27876,"244":206,"85":15104,"24":54,"16":340989990638977024,"45":8969974214200352768},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-07 11:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551097344001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:10:11] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-07 11:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340989990638977024,"km_value":340989990638977.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969974214200352768,"description":"Unknown IO ID 45"} 
[2026-07-07 11:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551097344001,"power":27876,"unknown_244":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8969974214200352768}} 
[2026-07-07 11:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":126348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:10:11] local.INFO: GPS data processed {"connection_id":126348,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:10:11] local.INFO: Acknowledgment sent {"connection_id":126348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:10:15] local.INFO: TCP Data received {"connection_id":126348,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b163920012d7c820005d989b0000a00af1b..."} 
[2026-07-07 11:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b163920012d7c820005d989b0000a00af1b..."} 
[2026-07-07 11:10:15] local.INFO: Processing buffer {"connection_id":126348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b163920012d7c820005d989b0000a00af1b..."} 
[2026-07-07 11:10:15] local.INFO: Packet analysis {"connection_id":126348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b16"} 
[2026-07-07 11:10:15] local.INFO: Extracted packet for processing {"connection_id":126348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b16"} 
[2026-07-07 11:10:15] local.INFO: GPS Element Parsed {"raw_longitude":763134464,"raw_latitude":98142640,"longitude_deg":76.3134464,"latitude_deg":9.814264,"altitude":10,"angle":175,"satellites":27,"speed":38,"hex_longitude":"2d7c8200","hex_latitude":"05d989b0","is_valid_coordinates":true} 
[2026-07-07 11:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551099136001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340990458790412288,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970959376616476672,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783402740000,"timestamp_ms":1783402740000,"timestamp_seconds":1783402740,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b163920"} 
[2026-07-07 11:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 11:10: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-07-07 11:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551099136001,"66":27691,"244":206,"85":15104,"24":38,"16":340990458790412288,"45":8970959376616476672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-07 11:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551099136001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:10:15] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-07 11:10:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340990458790412288,"km_value":340990458790412.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970959376616476672,"description":"Unknown IO ID 45"} 
[2026-07-07 11:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551099136001,"power":27691,"unknown_244":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8970959376616476672}} 
[2026-07-07 11:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":126348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:10:15] local.INFO: GPS data processed {"connection_id":126348,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:10:15] local.INFO: Acknowledgment sent {"connection_id":126348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:10:19] local.INFO: TCP Data received {"connection_id":126347,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:10:19] local.INFO: Processing buffer {"connection_id":126347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:10:19] local.INFO: IMEI packet received {"connection_id":126347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 11:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":126347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:10:22] local.INFO: TCP Data received {"connection_id":126349,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:10:22] local.INFO: Processing buffer {"connection_id":126349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:10:22] local.INFO: IMEI packet received {"connection_id":126349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":126349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:10:26] local.INFO: TCP Data received {"connection_id":126349,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:10:26] local.INFO: Processing buffer {"connection_id":126349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:10:26] local.INFO: IMEI packet received {"connection_id":126349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":126349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:10:28] local.INFO: TCP Data received {"connection_id":126349,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b166be8012d16c2c0072039b00026002c20..."} 
[2026-07-07 11:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b166be8012d16c2c0072039b00026002c20..."} 
[2026-07-07 11:10:28] local.INFO: Processing buffer {"connection_id":126349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b166be8012d16c2c0072039b00026002c20..."} 
[2026-07-07 11:10:28] local.INFO: Packet analysis {"connection_id":126349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b16"} 
[2026-07-07 11:10:28] local.INFO: Extracted packet for processing {"connection_id":126349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b16"} 
[2026-07-07 11:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756466368,"raw_latitude":119552432,"longitude_deg":75.6466368,"latitude_deg":11.9552432,"altitude":38,"angle":44,"satellites":32,"speed":46,"hex_longitude":"2d16c2c0","hex_latitude":"072039b0","is_valid_coordinates":true} 
[2026-07-07 11:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551102976001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4833607734525952,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1633117845479290880,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:28] 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-07-07 11:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783402753000,"timestamp_ms":1783402753000,"timestamp_seconds":1783402753,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b166be8"} 
[2026-07-07 11:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-07 11:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454501632,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:28] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3827302435,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3884122318,"corrected_to":0} 
[2026-07-07 11:10:28] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2147560726,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:28] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2650852839,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:28] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,122,28,24,241,158,16,43,159,45,192,18,41,33,10,66,14,3,40,34,42,235,1,240,55,59,31,4,113,205,36,172,128,30,239,56,131,2,17,7,37],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3884122318,"validated":0}]} 
[2026-07-07 11:10:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026480651096031232,"timestamp_seconds":3026480651096031.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 11:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551102976001,"66":14494,"122":206,"28":31744,"24":46,"16":4833607734525952,"45":1633117845479290880},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 11:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551102976001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:10:28] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 11:10:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4833607734525952,"km_value":4833607734525.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1633117845479290880,"description":"Unknown IO ID 45"} 
[2026-07-07 11:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551102976001,"power":14494,"unknown_122":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1633117845479290880}} 
[2026-07-07 11:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":126349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:10:28] local.INFO: GPS data processed {"connection_id":126349,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:10:28] local.INFO: Acknowledgment sent {"connection_id":126349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:10:29] local.INFO: TCP Data received {"connection_id":126349,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b168b28012d16db40072055300026002820..."} 
[2026-07-07 11:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b168b28012d16db40072055300026002820..."} 
[2026-07-07 11:10:29] local.INFO: Processing buffer {"connection_id":126349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b168b28012d16db40072055300026002820..."} 
[2026-07-07 11:10:29] local.INFO: Packet analysis {"connection_id":126349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b16"} 
[2026-07-07 11:10:29] local.INFO: Extracted packet for processing {"connection_id":126349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b16"} 
[2026-07-07 11:10:29] local.INFO: GPS Element Parsed {"raw_longitude":756472640,"raw_latitude":119559472,"longitude_deg":75.647264,"latitude_deg":11.9559472,"altitude":38,"angle":40,"satellites":32,"speed":45,"hex_longitude":"2d16db40","hex_latitude":"07205530","is_valid_coordinates":true} 
[2026-07-07 11:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551104768001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4834058706092032,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1640084351154237440,"note":"Value kept but may cause issues"} 
[2026-07-07 11:10:29] 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-07-07 11:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783402761000,"timestamp_ms":1783402761000,"timestamp_seconds":1783402761,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b168b28"} 
[2026-07-07 11:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-07 11:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:10:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":126349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":126349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":126349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551104768001,"66":14559,"122":206,"28":31744,"24":45,"16":4834058706092032,"45":1640084351154237440},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 11:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551104768001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:10:29] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 11:10:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4834058706092032,"km_value":4834058706092.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1640084351154237440,"description":"Unknown IO ID 45"} 
[2026-07-07 11:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551104768001,"power":14559,"unknown_122":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1640084351154237440}} 
[2026-07-07 11:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":126349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:10:29] local.INFO: GPS data processed {"connection_id":126349,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:10:29] local.INFO: Acknowledgment sent {"connection_id":126349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:10:59] local.INFO: TCP Data received {"connection_id":124407,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:10:59] local.INFO: Processing buffer {"connection_id":124407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:10:59] local.INFO: IMEI packet received {"connection_id":124407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":124407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:11:01] local.INFO: TCP Data received {"connection_id":126349,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b16ae50012d16f480072071a00028002921..."} 
[2026-07-07 11:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b16ae50012d16f480072071a00028002921..."} 
[2026-07-07 11:11:01] local.INFO: Processing buffer {"connection_id":126349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b16ae50012d16f480072071a00028002921..."} 
[2026-07-07 11:11:01] local.INFO: Packet analysis {"connection_id":126349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b16"} 
[2026-07-07 11:11:01] local.INFO: Extracted packet for processing {"connection_id":126349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b16"} 
[2026-07-07 11:11:01] local.INFO: GPS Element Parsed {"raw_longitude":756479104,"raw_latitude":119566752,"longitude_deg":75.6479104,"latitude_deg":11.9566752,"altitude":40,"angle":41,"satellites":33,"speed":42,"hex_longitude":"2d16f480","hex_latitude":"072071a0","is_valid_coordinates":true} 
[2026-07-07 11:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551106816001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4834531152494592,"note":"Value kept but may cause issues"} 
[2026-07-07 11:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1646980488085450752,"note":"Value kept but may cause issues"} 
[2026-07-07 11:11:01] 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-07-07 11:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783402770000,"timestamp_ms":1783402770000,"timestamp_seconds":1783402770,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b16ae50"} 
[2026-07-07 11:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 11:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551106816001,"66":14494,"122":206,"28":31744,"24":42,"16":4834531152494592,"45":1646980488085450752},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 11:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551106816001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:11:01] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 11:11:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4834531152494592,"km_value":4834531152494.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1646980488085450752,"description":"Unknown IO ID 45"} 
[2026-07-07 11:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551106816001,"power":14494,"unknown_122":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1646980488085450752}} 
[2026-07-07 11:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":126349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:11:01] local.INFO: GPS data processed {"connection_id":126349,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:11:01] local.INFO: Acknowledgment sent {"connection_id":126349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:11:03] local.INFO: TCP Data received {"connection_id":124407,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:11:03] local.INFO: Processing buffer {"connection_id":124407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:11:03] local.INFO: IMEI packet received {"connection_id":124407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":124407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:11:04] local.INFO: TCP Data received {"connection_id":124407,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b165c48012d7c854005d96568000d00af1c..."} 
[2026-07-07 11:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b165c48012d7c854005d96568000d00af1c..."} 
[2026-07-07 11:11:04] local.INFO: Processing buffer {"connection_id":124407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b165c48012d7c854005d96568000d00af1c..."} 
[2026-07-07 11:11:04] local.INFO: Packet analysis {"connection_id":124407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b16"} 
[2026-07-07 11:11:04] local.INFO: Extracted packet for processing {"connection_id":124407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b16"} 
[2026-07-07 11:11:04] local.INFO: GPS Element Parsed {"raw_longitude":763135296,"raw_latitude":98133352,"longitude_deg":76.3135296,"latitude_deg":9.8133352,"altitude":13,"angle":175,"satellites":28,"speed":43,"hex_longitude":"2d7c8540","hex_latitude":"05d96568","is_valid_coordinates":true} 
[2026-07-07 11:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551101440001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340990909761978368,"note":"Value kept but may cause issues"} 
[2026-07-07 11:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971733432799965184,"note":"Value kept but may cause issues"} 
[2026-07-07 11:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783402749000,"timestamp_ms":1783402749000,"timestamp_seconds":1783402749,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b165c48"} 
[2026-07-07 11:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-07 11:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551101440001,"66":27865,"244":206,"85":15104,"24":43,"16":340990909761978368,"45":8971733432799965184},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-07 11:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551101440001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:11:04] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-07 11:11:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340990909761978368,"km_value":340990909761978.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971733432799965184,"description":"Unknown IO ID 45"} 
[2026-07-07 11:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551101440001,"power":27865,"unknown_244":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8971733432799965184}} 
[2026-07-07 11:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":124407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:11:04] local.INFO: GPS data processed {"connection_id":124407,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:11:04] local.INFO: Acknowledgment sent {"connection_id":124407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:11:04] local.INFO: TCP Data received {"connection_id":125105,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:11:04] local.INFO: Processing buffer {"connection_id":125105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:11:04] local.INFO: IMEI packet received {"connection_id":125105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 11:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":125105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:11:22] local.INFO: TCP Data received {"connection_id":124318,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:11:22] local.INFO: Processing buffer {"connection_id":124318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:11:22] local.INFO: IMEI packet received {"connection_id":124318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":124318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:11:27] local.INFO: TCP Data received {"connection_id":124318,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:11:27] local.INFO: Processing buffer {"connection_id":124318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:11:27] local.INFO: IMEI packet received {"connection_id":124318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":124318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:11:28] local.INFO: TCP Data received {"connection_id":124318,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b16d178012d170f0007208e00002a002b20..."} 
[2026-07-07 11:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b16d178012d170f0007208e00002a002b20..."} 
[2026-07-07 11:11:28] local.INFO: Processing buffer {"connection_id":124318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b16d178012d170f0007208e00002a002b20..."} 
[2026-07-07 11:11:28] local.INFO: Packet analysis {"connection_id":124318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b16"} 
[2026-07-07 11:11:28] local.INFO: Extracted packet for processing {"connection_id":124318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b16"} 
[2026-07-07 11:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756485888,"raw_latitude":119574016,"longitude_deg":75.6485888,"latitude_deg":11.9574016,"altitude":42,"angle":43,"satellites":32,"speed":43,"hex_longitude":"2d170f00","hex_latitude":"07208e00","is_valid_coordinates":true} 
[2026-07-07 11: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-07-07 11:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551109120001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4835007893864448,"note":"Value kept but may cause issues"} 
[2026-07-07 11:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654087731249258496,"note":"Value kept but may cause issues"} 
[2026-07-07 11:11:28] 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-07-07 11:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783402779000,"timestamp_ms":1783402779000,"timestamp_seconds":1783402779,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b16d178"} 
[2026-07-07 11:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-07 11:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11: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-07-07 11:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551109120001,"66":14461,"122":206,"28":31744,"24":43,"16":4835007893864448,"45":1654087731249258496},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 11:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551109120001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:11:28] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 11:11:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4835007893864448,"km_value":4835007893864.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654087731249258496,"description":"Unknown IO ID 45"} 
[2026-07-07 11:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551109120001,"power":14461,"unknown_122":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1654087731249258496}} 
[2026-07-07 11:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":124318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:11:28] local.INFO: GPS data processed {"connection_id":124318,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:11:28] local.INFO: Acknowledgment sent {"connection_id":124318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:11:35] local.INFO: TCP Data received {"connection_id":124407,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b167b88012d7c888005d94218000c00af1c..."} 
[2026-07-07 11:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b167b88012d7c888005d94218000c00af1c..."} 
[2026-07-07 11:11:35] local.INFO: Processing buffer {"connection_id":124407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b167b88012d7c888005d94218000c00af1c..."} 
[2026-07-07 11:11:35] local.INFO: Packet analysis {"connection_id":124407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b16"} 
[2026-07-07 11:11:35] local.INFO: Extracted packet for processing {"connection_id":124407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b16"} 
[2026-07-07 11:11:35] local.INFO: GPS Element Parsed {"raw_longitude":763136128,"raw_latitude":98124312,"longitude_deg":76.3136128,"latitude_deg":9.8124312,"altitude":12,"angle":175,"satellites":28,"speed":46,"hex_longitude":"2d7c8880","hex_latitude":"05d94218","is_valid_coordinates":true} 
[2026-07-07 11:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551103744001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340991352143609856,"note":"Value kept but may cause issues"} 
[2026-07-07 11:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972648226471897088,"note":"Value kept but may cause issues"} 
[2026-07-07 11:11:35] 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-07-07 11:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783402757000,"timestamp_ms":1783402757000,"timestamp_seconds":1783402757,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b167b88"} 
[2026-07-07 11:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551103744001,"66":27919,"197":206,"85":15104,"24":46,"16":340991352143609856,"45":8972648226471897088},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-07 11:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551103744001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:11:35] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-07 11:11:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340991352143609856,"km_value":340991352143609.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972648226471897088,"description":"Unknown IO ID 45"} 
[2026-07-07 11:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551103744001,"power":27919,"unknown_197":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8972648226471897088}} 
[2026-07-07 11:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":124407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:11:35] local.INFO: GPS data processed {"connection_id":124407,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:11:35] local.INFO: Acknowledgment sent {"connection_id":124407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:11:59] local.INFO: TCP Data received {"connection_id":126351,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:11:59] local.INFO: Processing buffer {"connection_id":126351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:11:59] local.INFO: IMEI packet received {"connection_id":126351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":126351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:12:00] local.INFO: TCP Data received {"connection_id":124318,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b16f4a0012d172b000720a878002e003120..."} 
[2026-07-07 11:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b16f4a0012d172b000720a878002e003120..."} 
[2026-07-07 11:12:00] local.INFO: Processing buffer {"connection_id":124318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b16f4a0012d172b000720a878002e003120..."} 
[2026-07-07 11:12:00] local.INFO: Packet analysis {"connection_id":124318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b16"} 
[2026-07-07 11:12:00] local.INFO: Extracted packet for processing {"connection_id":124318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b16"} 
[2026-07-07 11:12:00] local.INFO: GPS Element Parsed {"raw_longitude":756493056,"raw_latitude":119580792,"longitude_deg":75.6493056,"latitude_deg":11.9580792,"altitude":46,"angle":49,"satellites":32,"speed":42,"hex_longitude":"2d172b00","hex_latitude":"0720a878","is_valid_coordinates":true} 
[2026-07-07 11: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-07-07 11:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551111424001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4835480340267008,"note":"Value kept but may cause issues"} 
[2026-07-07 11:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661546818133950464,"note":"Value kept but may cause issues"} 
[2026-07-07 11:12:00] 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-07-07 11:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783402788000,"timestamp_ms":1783402788000,"timestamp_seconds":1783402788,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b16f4a0"} 
[2026-07-07 11:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 11:12: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-07-07 11: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-07-07 11:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551111424001,"66":14135,"122":206,"28":31744,"24":42,"16":4835480340267008,"45":1661546818133950464},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 11:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551111424001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:12:00] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 11:12:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4835480340267008,"km_value":4835480340267.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661546818133950464,"description":"Unknown IO ID 45"} 
[2026-07-07 11:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551111424001,"power":14135,"unknown_122":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1661546818133950464}} 
[2026-07-07 11:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":124318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:12:00] local.INFO: GPS data processed {"connection_id":124318,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:12:00] local.INFO: Acknowledgment sent {"connection_id":124318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:12:02] local.INFO: TCP Data received {"connection_id":126351,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:12:02] local.INFO: Processing buffer {"connection_id":126351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:12:02] local.INFO: IMEI packet received {"connection_id":126351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":126351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:12:03] local.INFO: TCP Data received {"connection_id":126351,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b17eea0012d7ca90005d7a5d8000000ab24..."} 
[2026-07-07 11:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b17eea0012d7ca90005d7a5d8000000ab24..."} 
[2026-07-07 11:12:03] local.INFO: Processing buffer {"connection_id":126351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b17eea0012d7ca90005d7a5d8000000ab24..."} 
[2026-07-07 11:12:03] local.INFO: Packet analysis {"connection_id":126351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b17"} 
[2026-07-07 11:12:03] local.INFO: Extracted packet for processing {"connection_id":126351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b17"} 
[2026-07-07 11:12:03] local.INFO: GPS Element Parsed {"raw_longitude":763144448,"raw_latitude":98018776,"longitude_deg":76.3144448,"latitude_deg":9.8018776,"altitude":0,"angle":171,"satellites":36,"speed":36,"hex_longitude":"2d7ca900","hex_latitude":"05d7a5d8","is_valid_coordinates":true} 
[2026-07-07 11:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551127040001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340996488924495872,"note":"Value kept but may cause issues"} 
[2026-07-07 11:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981233213234540544,"note":"Value kept but may cause issues"} 
[2026-07-07 11:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783402852000,"timestamp_ms":1783402852000,"timestamp_seconds":1783402852,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b17eea0"} 
[2026-07-07 11:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:12: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-07-07 11:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 11:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551127040001,"66":27887,"31":206,"85":15104,"24":36,"16":340996488924495872,"45":8981233213234540544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-07-07 11:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551127040001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:12:03] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-07 11:12:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340996488924495872,"km_value":340996488924495.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981233213234540544,"description":"Unknown IO ID 45"} 
[2026-07-07 11:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551127040001,"power":27887,"unknown_31":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8981233213234540544}} 
[2026-07-07 11:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":126351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:12:03] local.INFO: GPS data processed {"connection_id":126351,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:12:03] local.INFO: Acknowledgment sent {"connection_id":126351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:12:22] local.INFO: TCP Data received {"connection_id":125106,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:12:22] local.INFO: Processing buffer {"connection_id":125106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:12:22] local.INFO: IMEI packet received {"connection_id":125106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":125106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:12:25] local.INFO: TCP Data received {"connection_id":125106,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:12:25] local.INFO: Processing buffer {"connection_id":125106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:12:25] local.INFO: IMEI packet received {"connection_id":125106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":125106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:12:26] local.INFO: TCP Data received {"connection_id":125106,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:12:26] local.INFO: Processing buffer {"connection_id":125106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:12:26] local.INFO: IMEI packet received {"connection_id":125106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":125106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:12:27] local.INFO: TCP Data received {"connection_id":125106,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1867b8012d181e000721a7a0004a005b21..."} 
[2026-07-07 11:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1867b8012d181e000721a7a0004a005b21..."} 
[2026-07-07 11:12:27] local.INFO: Processing buffer {"connection_id":125106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1867b8012d181e000721a7a0004a005b21..."} 
[2026-07-07 11:12:27] local.INFO: Packet analysis {"connection_id":125106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b18"} 
[2026-07-07 11:12:27] local.INFO: Extracted packet for processing {"connection_id":125106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b18"} 
[2026-07-07 11:12:27] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646112,"longitude_deg":75.6555264,"latitude_deg":11.9646112,"altitude":74,"angle":91,"satellites":33,"speed":10,"hex_longitude":"2d181e00","hex_latitude":"0721a7a0","is_valid_coordinates":true} 
[2026-07-07 11:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551137792001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4839856911941632,"note":"Value kept but may cause issues"} 
[2026-07-07 11:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120098304,"note":"Value kept but may cause issues"} 
[2026-07-07 11:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783402883000,"timestamp_ms":1783402883000,"timestamp_seconds":1783402883,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1867b8"} 
[2026-07-07 11:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 11:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551137792001,"66":13243,"120":206,"28":31744,"24":10,"16":4839856911941632,"45":1737474693120098304},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 11:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551137792001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:12:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 11:12:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4839856911941632,"km_value":4839856911941.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120098304,"description":"Unknown IO ID 45"} 
[2026-07-07 11:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551137792001,"power":13243,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1737474693120098304}} 
[2026-07-07 11:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":125106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:12:27] local.INFO: GPS data processed {"connection_id":125106,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:12:27] local.INFO: Acknowledgment sent {"connection_id":125106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:12:33] local.INFO: TCP Data received {"connection_id":125106,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b186ba0012d181ec00721a770004a006f22..."} 
[2026-07-07 11:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b186ba0012d181ec00721a770004a006f22..."} 
[2026-07-07 11:12:33] local.INFO: Processing buffer {"connection_id":125106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b186ba0012d181ec00721a770004a006f22..."} 
[2026-07-07 11:12:33] local.INFO: Packet analysis {"connection_id":125106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b18"} 
[2026-07-07 11:12:33] local.INFO: Extracted packet for processing {"connection_id":125106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b18"} 
[2026-07-07 11:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646064,"longitude_deg":75.6555456,"latitude_deg":11.9646064,"altitude":74,"angle":111,"satellites":34,"speed":9,"hex_longitude":"2d181ec0","hex_latitude":"0721a770","is_valid_coordinates":true} 
[2026-07-07 11:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551138048001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4839865501876224,"note":"Value kept but may cause issues"} 
[2026-07-07 11:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840994816,"note":"Value kept but may cause issues"} 
[2026-07-07 11:12: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-07-07 11:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783402884000,"timestamp_ms":1783402884000,"timestamp_seconds":1783402884,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b186ba0"} 
[2026-07-07 11:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 11:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551138048001,"66":13243,"120":206,"28":31744,"24":9,"16":4839865501876224,"45":1737826536840994816},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 11:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551138048001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:12:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 11:12:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4839865501876224,"km_value":4839865501876.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840994816,"description":"Unknown IO ID 45"} 
[2026-07-07 11:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551138048001,"power":13243,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1737826536840994816}} 
[2026-07-07 11:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":125106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:12:33] local.INFO: GPS data processed {"connection_id":125106,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:12:33] local.INFO: Acknowledgment sent {"connection_id":125106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:12:36] local.INFO: TCP Data received {"connection_id":126351,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1811c8012d7caf0005d78308000000a922..."} 
[2026-07-07 11:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1811c8012d7caf0005d78308000000a922..."} 
[2026-07-07 11:12:36] local.INFO: Processing buffer {"connection_id":126351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1811c8012d7caf0005d78308000000a922..."} 
[2026-07-07 11:12:36] local.INFO: Packet analysis {"connection_id":126351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b18"} 
[2026-07-07 11:12:36] local.INFO: Extracted packet for processing {"connection_id":126351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b18"} 
[2026-07-07 11:12:36] local.INFO: GPS Element Parsed {"raw_longitude":763145984,"raw_latitude":98009864,"longitude_deg":76.3145984,"latitude_deg":9.8009864,"altitude":0,"angle":169,"satellites":34,"speed":43,"hex_longitude":"2d7caf00","hex_latitude":"05d78308","is_valid_coordinates":true} 
[2026-07-07 11: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-07-07 11:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551130112001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340996927011160064,"note":"Value kept but may cause issues"} 
[2026-07-07 11:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982710956859971584,"note":"Value kept but may cause issues"} 
[2026-07-07 11:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783402861000,"timestamp_ms":1783402861000,"timestamp_seconds":1783402861,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1811c8"} 
[2026-07-07 11:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:12: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-07-07 11: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 11:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11: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-07-07 11:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551130112001,"66":27919,"31":206,"85":15104,"24":43,"16":340996927011160064,"45":8982710956859971584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-07-07 11:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551130112001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:12:36] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-07 11:12:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340996927011160064,"km_value":340996927011160.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982710956859971584,"description":"Unknown IO ID 45"} 
[2026-07-07 11:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551130112001,"power":27919,"unknown_31":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8982710956859971584}} 
[2026-07-07 11:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":126351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:12:36] local.INFO: GPS data processed {"connection_id":126351,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:12:36] local.INFO: Acknowledgment sent {"connection_id":126351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:12:58] local.INFO: TCP Data received {"connection_id":125108,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:12:58] local.INFO: Processing buffer {"connection_id":125108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:12:58] local.INFO: IMEI packet received {"connection_id":125108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":125108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:12:59] local.INFO: TCP Data received {"connection_id":125108,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:12:59] local.INFO: Processing buffer {"connection_id":125108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:12:59] local.INFO: IMEI packet received {"connection_id":125108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":125108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:13:04] local.INFO: TCP Data received {"connection_id":125108,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:13:04] local.INFO: Processing buffer {"connection_id":125108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:13:04] local.INFO: IMEI packet received {"connection_id":125108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":125108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:13:05] local.INFO: TCP Data received {"connection_id":125106,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b187370012d1820400721a6a0004a008422..."} 
[2026-07-07 11:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b187370012d1820400721a6a0004a008422..."} 
[2026-07-07 11:13:05] local.INFO: Processing buffer {"connection_id":125106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b187370012d1820400721a6a0004a008422..."} 
[2026-07-07 11:13:05] local.INFO: Packet analysis {"connection_id":125106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b18"} 
[2026-07-07 11:13:05] local.INFO: Extracted packet for processing {"connection_id":125106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b18"} 
[2026-07-07 11:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119645856,"longitude_deg":75.655584,"latitude_deg":11.9645856,"altitude":74,"angle":132,"satellites":34,"speed":8,"hex_longitude":"2d182040","hex_latitude":"0721a6a0","is_valid_coordinates":true} 
[2026-07-07 11:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551138304001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4839886976712704,"note":"Value kept but may cause issues"} 
[2026-07-07 11:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073515520,"note":"Value kept but may cause issues"} 
[2026-07-07 11:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783402886000,"timestamp_ms":1783402886000,"timestamp_seconds":1783402886,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b187370"} 
[2026-07-07 11:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 11:13: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-07-07 11:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551138304001,"66":13222,"120":206,"28":31744,"24":8,"16":4839886976712704,"45":1738037643073515520},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 11:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551138304001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:13:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 11:13:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4839886976712704,"km_value":4839886976712.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073515520,"description":"Unknown IO ID 45"} 
[2026-07-07 11:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551138304001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1738037643073515520}} 
[2026-07-07 11:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":125106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:13:05] local.INFO: GPS data processed {"connection_id":125106,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:13:05] local.INFO: Acknowledgment sent {"connection_id":125106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:13:05] local.INFO: TCP Data received {"connection_id":125108,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b183108012d7cb6c005d76038000100a61e..."} 
[2026-07-07 11:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b183108012d7cb6c005d76038000100a61e..."} 
[2026-07-07 11:13:05] local.INFO: Processing buffer {"connection_id":125108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b183108012d7cb6c005d76038000100a61e..."} 
[2026-07-07 11:13:05] local.INFO: Packet analysis {"connection_id":125108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b18"} 
[2026-07-07 11:13:05] local.INFO: Extracted packet for processing {"connection_id":125108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b18"} 
[2026-07-07 11:13:05] local.INFO: GPS Element Parsed {"raw_longitude":763147968,"raw_latitude":98000952,"longitude_deg":76.3147968,"latitude_deg":9.8000952,"altitude":1,"angle":166,"satellites":30,"speed":46,"hex_longitude":"2d7cb6c0","hex_latitude":"05d76038","is_valid_coordinates":true} 
[2026-07-07 11:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551132416001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":340997369392791552,"note":"Value kept but may cause issues"} 
[2026-07-07 11:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984399806717954048,"note":"Value kept but may cause issues"} 
[2026-07-07 11:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783402869000,"timestamp_ms":1783402869000,"timestamp_seconds":1783402869,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b183108"} 
[2026-07-07 11:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 11:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551132416001,"66":27876,"31":206,"85":15104,"24":46,"16":340997369392791552,"45":8984399806717954048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-07-07 11:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551132416001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:13:05] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-07 11:13:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":340997369392791552,"km_value":340997369392791.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984399806717954048,"description":"Unknown IO ID 45"} 
[2026-07-07 11:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551132416001,"power":27876,"unknown_31":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8984399806717954048}} 
[2026-07-07 11:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":125108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:13:05] local.INFO: GPS data processed {"connection_id":125108,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:13:05] local.INFO: Acknowledgment sent {"connection_id":125108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:13:21] local.INFO: TCP Data received {"connection_id":125109,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:13:21] local.INFO: Processing buffer {"connection_id":125109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:13:21] local.INFO: IMEI packet received {"connection_id":125109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":125109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:13:26] local.INFO: TCP Data received {"connection_id":125109,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:13:26] local.INFO: Processing buffer {"connection_id":125109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:13:26] local.INFO: IMEI packet received {"connection_id":125109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":125109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:13:29] local.INFO: TCP Data received {"connection_id":125109,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b18c578012d182e4007219910004f008220..."} 
[2026-07-07 11:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b18c578012d182e4007219910004f008220..."} 
[2026-07-07 11:13:29] local.INFO: Processing buffer {"connection_id":125109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b18c578012d182e4007219910004f008220..."} 
[2026-07-07 11:13:29] local.INFO: Packet analysis {"connection_id":125109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b18"} 
[2026-07-07 11:13:29] local.INFO: Extracted packet for processing {"connection_id":125109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b18"} 
[2026-07-07 11:13:29] local.INFO: GPS Element Parsed {"raw_longitude":756559424,"raw_latitude":119642384,"longitude_deg":75.6559424,"latitude_deg":11.9642384,"altitude":79,"angle":130,"satellites":32,"speed":0,"hex_longitude":"2d182e40","hex_latitude":"07219910","is_valid_coordinates":true} 
[2026-07-07 11:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551138816001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4840127494881280,"note":"Value kept but may cause issues"} 
[2026-07-07 11:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538528256,"note":"Value kept but may cause issues"} 
[2026-07-07 11:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783402907000,"timestamp_ms":1783402907000,"timestamp_seconds":1783402907,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b18c578"} 
[2026-07-07 11:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 11:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551138816001,"66":13254,"120":206,"28":31744,"24":0,"16":4840127494881280,"45":1738459855538528256},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 11:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551138816001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:13:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 11:13:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4840127494881280,"km_value":4840127494881.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538528256,"description":"Unknown IO ID 45"} 
[2026-07-07 11:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551138816001,"power":13254,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855538528256}} 
[2026-07-07 11:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":125109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:13:29] local.INFO: GPS data processed {"connection_id":125109,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:13:29] local.INFO: Acknowledgment sent {"connection_id":125109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:13:37] local.INFO: TCP Data received {"connection_id":125108,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1965a0012d7d0b0005d5cea80003009920..."} 
[2026-07-07 11:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1965a0012d7d0b0005d5cea80003009920..."} 
[2026-07-07 11:13:37] local.INFO: Processing buffer {"connection_id":125108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1965a0012d7d0b0005d5cea80003009920..."} 
[2026-07-07 11:13:37] local.INFO: Packet analysis {"connection_id":125108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b19"} 
[2026-07-07 11:13:37] local.INFO: Extracted packet for processing {"connection_id":125108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b19"} 
[2026-07-07 11:13:37] local.INFO: GPS Element Parsed {"raw_longitude":763169536,"raw_latitude":97898152,"longitude_deg":76.3169536,"latitude_deg":9.7898152,"altitude":3,"angle":153,"satellites":32,"speed":22,"hex_longitude":"2d7d0b00","hex_latitude":"05d5cea8","is_valid_coordinates":true} 
[2026-07-07 11:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551152640001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341002480403873792,"note":"Value kept but may cause issues"} 
[2026-07-07 11:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007199279805065216,"note":"Value kept but may cause issues"} 
[2026-07-07 11:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783402948000,"timestamp_ms":1783402948000,"timestamp_seconds":1783402948,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1965a0"} 
[2026-07-07 11:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 11:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551152640001,"66":27800,"253":206,"85":15104,"24":22,"16":341002480403873792,"45":9007199279805065216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-07 11:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551152640001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:13:37] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-07 11:13:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341002480403873792,"km_value":341002480403873.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007199279805065216,"description":"Unknown IO ID 45"} 
[2026-07-07 11:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551152640001,"power":27800,"unknown_253":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9007199279805065216}} 
[2026-07-07 11:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":125108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:13:37] local.INFO: GPS data processed {"connection_id":125108,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:13:37] local.INFO: Acknowledgment sent {"connection_id":125108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:13:58] local.INFO: TCP Data received {"connection_id":125110,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:13:58] local.INFO: Processing buffer {"connection_id":125110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:13:58] local.INFO: IMEI packet received {"connection_id":125110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":125110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:13:59] local.INFO: TCP Data received {"connection_id":125110,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:13:59] local.INFO: Processing buffer {"connection_id":125110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:13:59] local.INFO: IMEI packet received {"connection_id":125110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":125110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:14:01] local.INFO: TCP Data received {"connection_id":125109,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b191780012d182e4007219910004f008220..."} 
[2026-07-07 11:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b191780012d182e4007219910004f008220..."} 
[2026-07-07 11:14:01] local.INFO: Processing buffer {"connection_id":125109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b191780012d182e4007219910004f008220..."} 
[2026-07-07 11:14:01] local.INFO: Packet analysis {"connection_id":125109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b19"} 
[2026-07-07 11:14:01] local.INFO: Extracted packet for processing {"connection_id":125109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b19"} 
[2026-07-07 11:14:01] local.INFO: GPS Element Parsed {"raw_longitude":756559424,"raw_latitude":119642384,"longitude_deg":75.6559424,"latitude_deg":11.9642384,"altitude":79,"angle":130,"satellites":32,"speed":0,"hex_longitude":"2d182e40","hex_latitude":"07219910","is_valid_coordinates":true} 
[2026-07-07 11:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551144192001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4840127494881280,"note":"Value kept but may cause issues"} 
[2026-07-07 11:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505211588608,"note":"Value kept but may cause issues"} 
[2026-07-07 11:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783402928000,"timestamp_ms":1783402928000,"timestamp_seconds":1783402928,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b191780"} 
[2026-07-07 11:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:14: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":198,"data_length":795,"current_offset":136} 
[2026-07-07 11:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551144192001,"66":13156,"120":206,"28":31744,"24":0,"16":4840127494881280,"45":1742400505211588608},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 11:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551144192001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:14:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 11:14:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4840127494881280,"km_value":4840127494881.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505211588608,"description":"Unknown IO ID 45"} 
[2026-07-07 11:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551144192001,"power":13156,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742400505211588608}} 
[2026-07-07 11:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":125109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:14:01] local.INFO: GPS data processed {"connection_id":125109,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:14:01] local.INFO: Acknowledgment sent {"connection_id":125109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:14:04] local.INFO: TCP Data received {"connection_id":125110,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:14:04] local.INFO: Processing buffer {"connection_id":125110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:14:04] local.INFO: IMEI packet received {"connection_id":125110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":125110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:14:05] local.INFO: TCP Data received {"connection_id":125110,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b19a808012d7d184005d5aca8000300a122..."} 
[2026-07-07 11:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b19a808012d7d184005d5aca8000300a122..."} 
[2026-07-07 11:14:05] local.INFO: Processing buffer {"connection_id":125110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b19a808012d7d184005d5aca8000300a122..."} 
[2026-07-07 11:14:05] local.INFO: Packet analysis {"connection_id":125110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b19"} 
[2026-07-07 11:14:05] local.INFO: Extracted packet for processing {"connection_id":125110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b19"} 
[2026-07-07 11:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763172928,"raw_latitude":97889448,"longitude_deg":76.3172928,"latitude_deg":9.7889448,"altitude":3,"angle":161,"satellites":34,"speed":29,"hex_longitude":"2d7d1840","hex_latitude":"05d5aca8","is_valid_coordinates":true} 
[2026-07-07 11:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551154688001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341002931375439872,"note":"Value kept but may cause issues"} 
[2026-07-07 11:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010295504546736128,"note":"Value kept but may cause issues"} 
[2026-07-07 11:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783402965000,"timestamp_ms":1783402965000,"timestamp_seconds":1783402965,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b19a808"} 
[2026-07-07 11:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 11:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551154688001,"66":27800,"253":206,"85":15104,"24":29,"16":341002931375439872,"45":9010295504546736128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-07 11:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551154688001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:14:05] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-07 11:14:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341002931375439872,"km_value":341002931375439.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010295504546736128,"description":"Unknown IO ID 45"} 
[2026-07-07 11:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551154688001,"power":27800,"unknown_253":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9010295504546736128}} 
[2026-07-07 11:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":125110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:14:05] local.INFO: GPS data processed {"connection_id":125110,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:14:05] local.INFO: Acknowledgment sent {"connection_id":125110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:14:27] local.INFO: TCP Data received {"connection_id":124319,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:14:27] local.INFO: Processing buffer {"connection_id":124319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:14:27] local.INFO: IMEI packet received {"connection_id":124319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":124319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:14:31] local.INFO: TCP Data received {"connection_id":124319,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:14:31] local.INFO: Processing buffer {"connection_id":124319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:14:31] local.INFO: IMEI packet received {"connection_id":124319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":124319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:14:33] local.INFO: TCP Data received {"connection_id":124319,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b196988012d182e4007219910004f008223..."} 
[2026-07-07 11:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b196988012d182e4007219910004f008223..."} 
[2026-07-07 11:14:33] local.INFO: Processing buffer {"connection_id":124319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b196988012d182e4007219910004f008223..."} 
[2026-07-07 11:14:33] local.INFO: Packet analysis {"connection_id":124319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b19"} 
[2026-07-07 11:14:33] local.INFO: Extracted packet for processing {"connection_id":124319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b19"} 
[2026-07-07 11:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756559424,"raw_latitude":119642384,"longitude_deg":75.6559424,"latitude_deg":11.9642384,"altitude":79,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d182e40","hex_latitude":"07219910","is_valid_coordinates":true} 
[2026-07-07 11:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551149568001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4840127494881280,"note":"Value kept but may cause issues"} 
[2026-07-07 11:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505211588608,"note":"Value kept but may cause issues"} 
[2026-07-07 11:14: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-07-07 11:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783402949000,"timestamp_ms":1783402949000,"timestamp_seconds":1783402949,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b196988"} 
[2026-07-07 11:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:14: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":100,"data_length":795,"current_offset":136} 
[2026-07-07 11:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551149568001,"66":13135,"120":206,"28":31744,"24":0,"16":4840127494881280,"45":1742400505211588608},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 11:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551149568001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:14:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 11:14:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4840127494881280,"km_value":4840127494881.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505211588608,"description":"Unknown IO ID 45"} 
[2026-07-07 11:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551149568001,"power":13135,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742400505211588608}} 
[2026-07-07 11:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":124319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:14:33] local.INFO: GPS data processed {"connection_id":124319,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:14:33] local.INFO: Acknowledgment sent {"connection_id":124319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:14:34] local.INFO: TCP Data received {"connection_id":124319,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b19bb90012d182e4007219910004f008222..."} 
[2026-07-07 11:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b19bb90012d182e4007219910004f008222..."} 
[2026-07-07 11:14:34] local.INFO: Processing buffer {"connection_id":124319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b19bb90012d182e4007219910004f008222..."} 
[2026-07-07 11:14:34] local.INFO: Packet analysis {"connection_id":124319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b19"} 
[2026-07-07 11:14:34] local.INFO: Extracted packet for processing {"connection_id":124319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b19"} 
[2026-07-07 11:14:34] local.INFO: GPS Element Parsed {"raw_longitude":756559424,"raw_latitude":119642384,"longitude_deg":75.6559424,"latitude_deg":11.9642384,"altitude":79,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d182e40","hex_latitude":"07219910","is_valid_coordinates":true} 
[2026-07-07 11:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551154944001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4840127494881280,"note":"Value kept but may cause issues"} 
[2026-07-07 11:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505211588608,"note":"Value kept but may cause issues"} 
[2026-07-07 11:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783402970000,"timestamp_ms":1783402970000,"timestamp_seconds":1783402970,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b19bb90"} 
[2026-07-07 11:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 11:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551154944001,"66":13102,"121":206,"28":31744,"24":0,"16":4840127494881280,"45":1742400505211588608},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551154944001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:14:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:14:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4840127494881280,"km_value":4840127494881.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505211588608,"description":"Unknown IO ID 45"} 
[2026-07-07 11:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551154944001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742400505211588608}} 
[2026-07-07 11:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":124319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:14:34] local.INFO: GPS data processed {"connection_id":124319,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:14:34] local.INFO: Acknowledgment sent {"connection_id":124319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:14:36] local.INFO: TCP Data received {"connection_id":125110,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b19cf18012d7d23c005d58ba8000300a420..."} 
[2026-07-07 11:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b19cf18012d7d23c005d58ba8000300a420..."} 
[2026-07-07 11:14:36] local.INFO: Processing buffer {"connection_id":125110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b19cf18012d7d23c005d58ba8000300a420..."} 
[2026-07-07 11:14:36] local.INFO: Packet analysis {"connection_id":125110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b19"} 
[2026-07-07 11:14:36] local.INFO: Extracted packet for processing {"connection_id":125110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b19"} 
[2026-07-07 11:14:36] local.INFO: GPS Element Parsed {"raw_longitude":763175872,"raw_latitude":97881000,"longitude_deg":76.3175872,"latitude_deg":9.7881,"altitude":3,"angle":164,"satellites":32,"speed":40,"hex_longitude":"2d7d23c0","hex_latitude":"05d58ba8","is_valid_coordinates":true} 
[2026-07-07 11:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551159040001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341003365167136768,"note":"Value kept but may cause issues"} 
[2026-07-07 11:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014025047985924096,"note":"Value kept but may cause issues"} 
[2026-07-07 11:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783402975000,"timestamp_ms":1783402975000,"timestamp_seconds":1783402975,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b19cf18"} 
[2026-07-07 11:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 11:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551159040001,"66":27908,"253":206,"85":15104,"24":40,"16":341003365167136768,"45":9014025047985924096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-07 11:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551159040001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:14:36] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-07 11:14:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341003365167136768,"km_value":341003365167136.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014025047985924096,"description":"Unknown IO ID 45"} 
[2026-07-07 11:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551159040001,"power":27908,"unknown_253":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9014025047985924096}} 
[2026-07-07 11:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":125110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:14:36] local.INFO: GPS data processed {"connection_id":125110,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:14:36] local.INFO: Acknowledgment sent {"connection_id":125110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:14:59] local.INFO: TCP Data received {"connection_id":124320,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:14:59] local.INFO: Processing buffer {"connection_id":124320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:14:59] local.INFO: IMEI packet received {"connection_id":124320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":124320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:15:05] local.INFO: TCP Data received {"connection_id":124319,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1a0d98012d182e4007219910004f00821f..."} 
[2026-07-07 11:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1a0d98012d182e4007219910004f00821f..."} 
[2026-07-07 11:15:05] local.INFO: Processing buffer {"connection_id":124319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1a0d98012d182e4007219910004f00821f..."} 
[2026-07-07 11:15:05] local.INFO: Packet analysis {"connection_id":124319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1a"} 
[2026-07-07 11:15:05] local.INFO: Extracted packet for processing {"connection_id":124319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1a"} 
[2026-07-07 11:15:05] local.INFO: GPS Element Parsed {"raw_longitude":756559424,"raw_latitude":119642384,"longitude_deg":75.6559424,"latitude_deg":11.9642384,"altitude":79,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d182e40","hex_latitude":"07219910","is_valid_coordinates":true} 
[2026-07-07 11:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551160320001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4840127494881280,"note":"Value kept but may cause issues"} 
[2026-07-07 11:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505211588608,"note":"Value kept but may cause issues"} 
[2026-07-07 11:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783402991000,"timestamp_ms":1783402991000,"timestamp_seconds":1783402991,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1a0d98"} 
[2026-07-07 11:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 11:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551160320001,"66":13091,"121":206,"28":31744,"24":0,"16":4840127494881280,"45":1742400505211588608},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551160320001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:15:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:15:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4840127494881280,"km_value":4840127494881.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505211588608,"description":"Unknown IO ID 45"} 
[2026-07-07 11:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551160320001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742400505211588608}} 
[2026-07-07 11:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":124319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:15:05] local.INFO: GPS data processed {"connection_id":124319,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:15:05] local.INFO: Acknowledgment sent {"connection_id":124319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:15:06] local.INFO: TCP Data received {"connection_id":124320,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:15:06] local.INFO: Processing buffer {"connection_id":124320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:15:06] local.INFO: IMEI packet received {"connection_id":124320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":124320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:15:07] local.INFO: TCP Data received {"connection_id":124320,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b19f240012d7d2b4005d56578000300ae1e..."} 
[2026-07-07 11:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b19f240012d7d2b4005d56578000300ae1e..."} 
[2026-07-07 11:15:07] local.INFO: Processing buffer {"connection_id":124320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b19f240012d7d2b4005d56578000300ae1e..."} 
[2026-07-07 11:15:07] local.INFO: Packet analysis {"connection_id":124320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b19"} 
[2026-07-07 11:15:07] local.INFO: Extracted packet for processing {"connection_id":124320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b19"} 
[2026-07-07 11:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763177792,"raw_latitude":97871224,"longitude_deg":76.3177792,"latitude_deg":9.7871224,"altitude":3,"angle":174,"satellites":30,"speed":45,"hex_longitude":"2d7d2b40","hex_latitude":"05d56578","is_valid_coordinates":true} 
[2026-07-07 11:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551161600001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341003846203473920,"note":"Value kept but may cause issues"} 
[2026-07-07 11:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017262010215933952,"note":"Value kept but may cause issues"} 
[2026-07-07 11:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783402984000,"timestamp_ms":1783402984000,"timestamp_seconds":1783402984,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b19f240"} 
[2026-07-07 11:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:15: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-07-07 11:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 11:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551161600001,"66":27908,"254":206,"85":15104,"24":45,"16":341003846203473920,"45":9017262010215933952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-07 11:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551161600001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:15:07] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-07 11:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341003846203473920,"km_value":341003846203473.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017262010215933952,"description":"Unknown IO ID 45"} 
[2026-07-07 11:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551161600001,"power":27908,"unknown_254":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9017262010215933952}} 
[2026-07-07 11:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":124320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:15:07] local.INFO: GPS data processed {"connection_id":124320,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:15:07] local.INFO: Acknowledgment sent {"connection_id":124320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:15:22] local.INFO: TCP Data received {"connection_id":126352,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:15:22] local.INFO: Processing buffer {"connection_id":126352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:15:22] local.INFO: IMEI packet received {"connection_id":126352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":126352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:15:27] local.INFO: TCP Data received {"connection_id":126352,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:15:27] local.INFO: Processing buffer {"connection_id":126352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:15:27] local.INFO: IMEI packet received {"connection_id":126352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":126352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:15:28] local.INFO: TCP Data received {"connection_id":126352,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1a5fa0012d182e4007219910004f00821f..."} 
[2026-07-07 11:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1a5fa0012d182e4007219910004f00821f..."} 
[2026-07-07 11:15:28] local.INFO: Processing buffer {"connection_id":126352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1a5fa0012d182e4007219910004f00821f..."} 
[2026-07-07 11:15:28] local.INFO: Packet analysis {"connection_id":126352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1a"} 
[2026-07-07 11:15:28] local.INFO: Extracted packet for processing {"connection_id":126352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1a"} 
[2026-07-07 11:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756559424,"raw_latitude":119642384,"longitude_deg":75.6559424,"latitude_deg":11.9642384,"altitude":79,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d182e40","hex_latitude":"07219910","is_valid_coordinates":true} 
[2026-07-07 11:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551165696001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4840127494881280,"note":"Value kept but may cause issues"} 
[2026-07-07 11:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505211588608,"note":"Value kept but may cause issues"} 
[2026-07-07 11:15: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-07-07 11:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783403012000,"timestamp_ms":1783403012000,"timestamp_seconds":1783403012,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1a5fa0"} 
[2026-07-07 11:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 11:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551165696001,"66":13004,"121":206,"28":31744,"24":0,"16":4840127494881280,"45":1742400505211588608},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551165696001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:15:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:15:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4840127494881280,"km_value":4840127494881.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505211588608,"description":"Unknown IO ID 45"} 
[2026-07-07 11:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551165696001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742400505211588608}} 
[2026-07-07 11:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":126352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:15:28] local.INFO: GPS data processed {"connection_id":126352,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:15:28] local.INFO: Acknowledgment sent {"connection_id":126352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:15:39] local.INFO: TCP Data received {"connection_id":124320,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1b3e48012d7d3b0005d3c6d8000200b921..."} 
[2026-07-07 11:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1b3e48012d7d3b0005d3c6d8000200b921..."} 
[2026-07-07 11:15:39] local.INFO: Processing buffer {"connection_id":124320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1b3e48012d7d3b0005d3c6d8000200b921..."} 
[2026-07-07 11:15:39] local.INFO: Packet analysis {"connection_id":124320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1b"} 
[2026-07-07 11:15:39] local.INFO: Extracted packet for processing {"connection_id":124320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1b"} 
[2026-07-07 11:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":97765080,"longitude_deg":76.3181824,"latitude_deg":9.776508,"altitude":2,"angle":185,"satellites":33,"speed":32,"hex_longitude":"2d7d3b00","hex_latitude":"05d3c6d8","is_valid_coordinates":true} 
[2026-07-07 11:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551183104001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341009017344098304,"note":"Value kept but may cause issues"} 
[2026-07-07 11:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024650728327200768,"note":"Value kept but may cause issues"} 
[2026-07-07 11:15: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-07-07 11:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783403069000,"timestamp_ms":1783403069000,"timestamp_seconds":1783403069,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1b3e48"} 
[2026-07-07 11:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:15: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-07-07 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 11:15: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-07-07 11:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551183104001,"66":27865,"81":206,"85":15104,"24":32,"16":341009017344098304,"45":9024650728327200768},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-07 11:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551183104001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:15:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-07 11:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341009017344098304,"km_value":341009017344098.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024650728327200768,"description":"Unknown IO ID 45"} 
[2026-07-07 11:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551183104001,"power":27865,"unknown_81":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9024650728327200768}} 
[2026-07-07 11:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":124320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:15:39] local.INFO: GPS data processed {"connection_id":124320,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:15:39] local.INFO: Acknowledgment sent {"connection_id":124320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:16:00] local.INFO: TCP Data received {"connection_id":126352,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1ab1a8012d182e4007219910004f008221..."} 
[2026-07-07 11:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1ab1a8012d182e4007219910004f008221..."} 
[2026-07-07 11:16:00] local.INFO: Processing buffer {"connection_id":126352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1ab1a8012d182e4007219910004f008221..."} 
[2026-07-07 11:16:00] local.INFO: Packet analysis {"connection_id":126352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1a"} 
[2026-07-07 11:16:00] local.INFO: Extracted packet for processing {"connection_id":126352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1a"} 
[2026-07-07 11:16:00] local.INFO: GPS Element Parsed {"raw_longitude":756559424,"raw_latitude":119642384,"longitude_deg":75.6559424,"latitude_deg":11.9642384,"altitude":79,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d182e40","hex_latitude":"07219910","is_valid_coordinates":true} 
[2026-07-07 11:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551171072001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4840127494881280,"note":"Value kept but may cause issues"} 
[2026-07-07 11:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505211588608,"note":"Value kept but may cause issues"} 
[2026-07-07 11:16: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-07-07 11:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783403033000,"timestamp_ms":1783403033000,"timestamp_seconds":1783403033,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1ab1a8"} 
[2026-07-07 11:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-07 11:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551171072001,"66":13015,"121":206,"28":31744,"24":0,"16":4840127494881280,"45":1742400505211588608},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551171072001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:16:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:16:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4840127494881280,"km_value":4840127494881.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505211588608,"description":"Unknown IO ID 45"} 
[2026-07-07 11:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551171072001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742400505211588608}} 
[2026-07-07 11:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":126352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:16:00] local.INFO: GPS data processed {"connection_id":126352,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:16:00] local.INFO: Acknowledgment sent {"connection_id":126352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:16:04] local.INFO: TCP Data received {"connection_id":126354,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:16:04] local.INFO: Processing buffer {"connection_id":126354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:16:04] local.INFO: IMEI packet received {"connection_id":126354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":126354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:16:05] local.INFO: TCP Data received {"connection_id":126354,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:16:05] local.INFO: Processing buffer {"connection_id":126354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:16:05] local.INFO: IMEI packet received {"connection_id":126354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":126354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:16:09] local.INFO: TCP Data received {"connection_id":126354,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:16:09] local.INFO: Processing buffer {"connection_id":126354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:16:09] local.INFO: IMEI packet received {"connection_id":126354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":126354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:16:10] local.INFO: TCP Data received {"connection_id":126354,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1b7cc8012d7d38c005d3a290000400b421..."} 
[2026-07-07 11:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1b7cc8012d7d38c005d3a290000400b421..."} 
[2026-07-07 11:16:10] local.INFO: Processing buffer {"connection_id":126354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1b7cc8012d7d38c005d3a290000400b421..."} 
[2026-07-07 11:16:10] local.INFO: Packet analysis {"connection_id":126354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1b"} 
[2026-07-07 11:16:10] local.INFO: Extracted packet for processing {"connection_id":126354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1b"} 
[2026-07-07 11:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":97755792,"longitude_deg":76.3181248,"latitude_deg":9.7755792,"altitude":4,"angle":180,"satellites":33,"speed":29,"hex_longitude":"2d7d38c0","hex_latitude":"05d3a290","is_valid_coordinates":true} 
[2026-07-07 11:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551185664001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341009468315664384,"note":"Value kept but may cause issues"} 
[2026-07-07 11:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303394781184,"note":"Value kept but may cause issues"} 
[2026-07-07 11:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783403085000,"timestamp_ms":1783403085000,"timestamp_seconds":1783403085,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1b7cc8"} 
[2026-07-07 11:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11: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-07-07 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:16: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-07-07 11:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551185664001,"66":27908,"115":206,"85":15104,"24":29,"16":341009468315664384,"45":9023806303394781184},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-07 11:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551185664001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:16:10] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 11:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341009468315664384,"km_value":341009468315664.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303394781184,"description":"Unknown IO ID 45"} 
[2026-07-07 11:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551185664001,"power":27908,"unknown_115":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9023806303394781184}} 
[2026-07-07 11:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":126354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:16:10] local.INFO: GPS data processed {"connection_id":126354,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:16:10] local.INFO: Acknowledgment sent {"connection_id":126354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:16:11] local.INFO: TCP Data received {"connection_id":126354,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1ba3d8012d7d38c005d37ff0000400b220..."} 
[2026-07-07 11:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1ba3d8012d7d38c005d37ff0000400b220..."} 
[2026-07-07 11:16:11] local.INFO: Processing buffer {"connection_id":126354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1ba3d8012d7d38c005d37ff0000400b220..."} 
[2026-07-07 11:16:11] local.INFO: Packet analysis {"connection_id":126354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1b"} 
[2026-07-07 11:16:11] local.INFO: Extracted packet for processing {"connection_id":126354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1b"} 
[2026-07-07 11:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":97746928,"longitude_deg":76.3181248,"latitude_deg":9.7746928,"altitude":4,"angle":178,"satellites":32,"speed":41,"hex_longitude":"2d7d38c0","hex_latitude":"05d37ff0","is_valid_coordinates":true} 
[2026-07-07 11:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551189760001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341009897812393984,"note":"Value kept but may cause issues"} 
[2026-07-07 11:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172984694804480,"note":"Value kept but may cause issues"} 
[2026-07-07 11:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783403095000,"timestamp_ms":1783403095000,"timestamp_seconds":1783403095,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1ba3d8"} 
[2026-07-07 11:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 11:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551189760001,"66":27876,"115":206,"85":15104,"24":41,"16":341009897812393984,"45":9023172984694804480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-07 11:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551189760001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:16:11] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 11:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341009897812393984,"km_value":341009897812394.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172984694804480,"description":"Unknown IO ID 45"} 
[2026-07-07 11:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551189760001,"power":27876,"unknown_115":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9023172984694804480}} 
[2026-07-07 11:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":126354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:16:11] local.INFO: GPS data processed {"connection_id":126354,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:16:11] local.INFO: Acknowledgment sent {"connection_id":126354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:16:22] local.INFO: TCP Data received {"connection_id":126355,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:16:22] local.INFO: Processing buffer {"connection_id":126355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:16:22] local.INFO: IMEI packet received {"connection_id":126355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":126355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:16:24] local.INFO: TCP Data received {"connection_id":126353,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:16:24] local.INFO: Processing buffer {"connection_id":126353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:16:24] local.INFO: IMEI packet received {"connection_id":126353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 11:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":126353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:16:26] local.INFO: TCP Data received {"connection_id":126355,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:16:26] local.INFO: Processing buffer {"connection_id":126355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:16:26] local.INFO: IMEI packet received {"connection_id":126355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":126355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:16:35] local.INFO: TCP Data received {"connection_id":126355,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1b03b0012d182e4007219910004f008220..."} 
[2026-07-07 11:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1b03b0012d182e4007219910004f008220..."} 
[2026-07-07 11:16:35] local.INFO: Processing buffer {"connection_id":126355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1b03b0012d182e4007219910004f008220..."} 
[2026-07-07 11:16:35] local.INFO: Packet analysis {"connection_id":126355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1b"} 
[2026-07-07 11:16:35] local.INFO: Extracted packet for processing {"connection_id":126355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1b"} 
[2026-07-07 11:16:35] local.INFO: GPS Element Parsed {"raw_longitude":756559424,"raw_latitude":119642384,"longitude_deg":75.6559424,"latitude_deg":11.9642384,"altitude":79,"angle":130,"satellites":32,"speed":0,"hex_longitude":"2d182e40","hex_latitude":"07219910","is_valid_coordinates":true} 
[2026-07-07 11: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-07-07 11:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551176448001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4840127494881280,"note":"Value kept but may cause issues"} 
[2026-07-07 11:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505211588608,"note":"Value kept but may cause issues"} 
[2026-07-07 11:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783403054000,"timestamp_ms":1783403054000,"timestamp_seconds":1783403054,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1b03b0"} 
[2026-07-07 11:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 11:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11: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-07-07 11:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551176448001,"66":13015,"120":206,"28":31744,"24":0,"16":4840127494881280,"45":1742400505211588608},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 11:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551176448001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:16:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 11:16:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4840127494881280,"km_value":4840127494881.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505211588608,"description":"Unknown IO ID 45"} 
[2026-07-07 11:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551176448001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742400505211588608}} 
[2026-07-07 11:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":126355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:16:35] local.INFO: GPS data processed {"connection_id":126355,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:16:35] local.INFO: Acknowledgment sent {"connection_id":126355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:16:42] local.INFO: TCP Data received {"connection_id":126354,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1bc700012d7d3a4005d35938000500b01e..."} 
[2026-07-07 11:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1bc700012d7d3a4005d35938000500b01e..."} 
[2026-07-07 11:16:42] local.INFO: Processing buffer {"connection_id":126354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1bc700012d7d3a4005d35938000500b01e..."} 
[2026-07-07 11:16:42] local.INFO: Packet analysis {"connection_id":126354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1b"} 
[2026-07-07 11:16:42] local.INFO: Extracted packet for processing {"connection_id":126354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1b"} 
[2026-07-07 11:16:42] local.INFO: GPS Element Parsed {"raw_longitude":763181632,"raw_latitude":97737016,"longitude_deg":76.3181632,"latitude_deg":9.7737016,"altitude":5,"angle":176,"satellites":30,"speed":45,"hex_longitude":"2d7d3a40","hex_latitude":"05d35938","is_valid_coordinates":true} 
[2026-07-07 11:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551192320001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341010378848731136,"note":"Value kept but may cause issues"} 
[2026-07-07 11:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172984692535296,"note":"Value kept but may cause issues"} 
[2026-07-07 11:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783403104000,"timestamp_ms":1783403104000,"timestamp_seconds":1783403104,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1bc700"} 
[2026-07-07 11:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11: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-07-07 11: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":228,"data_length":795,"current_offset":136} 
[2026-07-07 11:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551192320001,"66":27876,"115":206,"85":15104,"24":45,"16":341010378848731136,"45":9023172984692535296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-07 11:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551192320001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:16:42] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 11:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341010378848731136,"km_value":341010378848731.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172984692535296,"description":"Unknown IO ID 45"} 
[2026-07-07 11:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551192320001,"power":27876,"unknown_115":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9023172984692535296}} 
[2026-07-07 11:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":126354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:16:42] local.INFO: GPS data processed {"connection_id":126354,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:16:42] local.INFO: Acknowledgment sent {"connection_id":126354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:16:59] local.INFO: TCP Data received {"connection_id":124410,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:16:59] local.INFO: Processing buffer {"connection_id":124410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:16:59] local.INFO: IMEI packet received {"connection_id":124410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":124410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:16:59] local.INFO: TCP Data received {"connection_id":124411,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:16:59] local.INFO: Processing buffer {"connection_id":124411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:16:59] local.INFO: IMEI packet received {"connection_id":124411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 11:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":124411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:17:02] local.INFO: TCP Data received {"connection_id":124410,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:17:02] local.INFO: Processing buffer {"connection_id":124410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:17:02] local.INFO: IMEI packet received {"connection_id":124410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":124410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:17:03] local.INFO: TCP Data received {"connection_id":124410,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1be640012d7d3bc005d33468000500b21c..."} 
[2026-07-07 11:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1be640012d7d3bc005d33468000500b21c..."} 
[2026-07-07 11:17:03] local.INFO: Processing buffer {"connection_id":124410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1be640012d7d3bc005d33468000500b21c..."} 
[2026-07-07 11:17:03] local.INFO: Packet analysis {"connection_id":124410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1b"} 
[2026-07-07 11:17:03] local.INFO: Extracted packet for processing {"connection_id":124410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1b"} 
[2026-07-07 11:17:03] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97727592,"longitude_deg":76.3182016,"latitude_deg":9.7727592,"altitude":5,"angle":178,"satellites":28,"speed":49,"hex_longitude":"2d7d3bc0","hex_latitude":"05d33468","is_valid_coordinates":true} 
[2026-07-07 11:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551194624001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341010838410231808,"note":"Value kept but may cause issues"} 
[2026-07-07 11:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023595197155063808,"note":"Value kept but may cause issues"} 
[2026-07-07 11:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783403112000,"timestamp_ms":1783403112000,"timestamp_seconds":1783403112,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1be640"} 
[2026-07-07 11:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:17: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-07-07 11:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 11:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551194624001,"66":27919,"115":206,"85":15104,"24":49,"16":341010838410231808,"45":9023595197155063808},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-07 11:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551194624001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:17:03] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 11:17:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341010838410231808,"km_value":341010838410231.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023595197155063808,"description":"Unknown IO ID 45"} 
[2026-07-07 11:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551194624001,"power":27919,"unknown_115":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9023595197155063808}} 
[2026-07-07 11:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":124410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:17:03] local.INFO: GPS data processed {"connection_id":124410,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:17:03] local.INFO: Acknowledgment sent {"connection_id":124410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:17:06] local.INFO: TCP Data received {"connection_id":126355,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1b55b8012d182e4007219910004f008221..."} 
[2026-07-07 11:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1b55b8012d182e4007219910004f008221..."} 
[2026-07-07 11:17:06] local.INFO: Processing buffer {"connection_id":126355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1b55b8012d182e4007219910004f008221..."} 
[2026-07-07 11:17:06] local.INFO: Packet analysis {"connection_id":126355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1b"} 
[2026-07-07 11:17:06] local.INFO: Extracted packet for processing {"connection_id":126355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1b"} 
[2026-07-07 11:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756559424,"raw_latitude":119642384,"longitude_deg":75.6559424,"latitude_deg":11.9642384,"altitude":79,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d182e40","hex_latitude":"07219910","is_valid_coordinates":true} 
[2026-07-07 11:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551181824001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4840127494881280,"note":"Value kept but may cause issues"} 
[2026-07-07 11:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505211588608,"note":"Value kept but may cause issues"} 
[2026-07-07 11:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783403075000,"timestamp_ms":1783403075000,"timestamp_seconds":1783403075,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1b55b8"} 
[2026-07-07 11:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 11:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551181824001,"66":12993,"120":206,"28":31744,"24":0,"16":4840127494881280,"45":1742400505211588608},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 11:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551181824001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:17:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 11:17:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4840127494881280,"km_value":4840127494881.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505211588608,"description":"Unknown IO ID 45"} 
[2026-07-07 11:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551181824001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742400505211588608}} 
[2026-07-07 11:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":126355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:17:06] local.INFO: GPS data processed {"connection_id":126355,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:17:06] local.INFO: Acknowledgment sent {"connection_id":126355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:17:21] local.INFO: TCP Data received {"connection_id":125111,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:17:21] local.INFO: Processing buffer {"connection_id":125111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:17:21] local.INFO: IMEI packet received {"connection_id":125111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":125111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:17:26] local.INFO: TCP Data received {"connection_id":125111,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:17:26] local.INFO: Processing buffer {"connection_id":125111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:17:26] local.INFO: IMEI packet received {"connection_id":125111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":125111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:17:26] local.INFO: TCP Data received {"connection_id":125111,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:17:26] local.INFO: Processing buffer {"connection_id":125111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:17:26] local.INFO: IMEI packet received {"connection_id":125111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":125111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:17:28] local.INFO: TCP Data received {"connection_id":125111,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1ba7c0012d182e4007219910004f008220..."} 
[2026-07-07 11:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1ba7c0012d182e4007219910004f008220..."} 
[2026-07-07 11:17:28] local.INFO: Processing buffer {"connection_id":125111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1ba7c0012d182e4007219910004f008220..."} 
[2026-07-07 11:17:28] local.INFO: Packet analysis {"connection_id":125111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1b"} 
[2026-07-07 11:17:28] local.INFO: Extracted packet for processing {"connection_id":125111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1b"} 
[2026-07-07 11:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756559424,"raw_latitude":119642384,"longitude_deg":75.6559424,"latitude_deg":11.9642384,"altitude":79,"angle":130,"satellites":32,"speed":0,"hex_longitude":"2d182e40","hex_latitude":"07219910","is_valid_coordinates":true} 
[2026-07-07 11:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551187200001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4840127494881280,"note":"Value kept but may cause issues"} 
[2026-07-07 11:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505211588608,"note":"Value kept but may cause issues"} 
[2026-07-07 11:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783403096000,"timestamp_ms":1783403096000,"timestamp_seconds":1783403096,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1ba7c0"} 
[2026-07-07 11:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-07 11:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551187200001,"66":12993,"120":206,"28":31744,"24":0,"16":4840127494881280,"45":1742400505211588608},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 11:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551187200001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:17:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 11:17:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4840127494881280,"km_value":4840127494881.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505211588608,"description":"Unknown IO ID 45"} 
[2026-07-07 11:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551187200001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742400505211588608}} 
[2026-07-07 11:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":125111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:17:28] local.INFO: GPS data processed {"connection_id":125111,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:17:28] local.INFO: Acknowledgment sent {"connection_id":125111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:17:29] local.INFO: TCP Data received {"connection_id":125111,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1bf9c8012d182e4007219910004f00821d..."} 
[2026-07-07 11:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1bf9c8012d182e4007219910004f00821d..."} 
[2026-07-07 11:17:29] local.INFO: Processing buffer {"connection_id":125111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1bf9c8012d182e4007219910004f00821d..."} 
[2026-07-07 11:17:29] local.INFO: Packet analysis {"connection_id":125111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1b"} 
[2026-07-07 11:17:29] local.INFO: Extracted packet for processing {"connection_id":125111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1b"} 
[2026-07-07 11:17:29] local.INFO: GPS Element Parsed {"raw_longitude":756559424,"raw_latitude":119642384,"longitude_deg":75.6559424,"latitude_deg":11.9642384,"altitude":79,"angle":130,"satellites":29,"speed":0,"hex_longitude":"2d182e40","hex_latitude":"07219910","is_valid_coordinates":true} 
[2026-07-07 11:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551192576001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4840127494881280,"note":"Value kept but may cause issues"} 
[2026-07-07 11:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505211588608,"note":"Value kept but may cause issues"} 
[2026-07-07 11:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783403117000,"timestamp_ms":1783403117000,"timestamp_seconds":1783403117,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1bf9c8"} 
[2026-07-07 11:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-07 11:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551192576001,"66":10569,"120":206,"28":31744,"24":0,"16":4840127494881280,"45":1742400505211588608},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 11:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551192576001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:17:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 11:17:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4840127494881280,"km_value":4840127494881.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505211588608,"description":"Unknown IO ID 45"} 
[2026-07-07 11:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551192576001,"power":10569,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742400505211588608}} 
[2026-07-07 11:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":125111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:17:29] local.INFO: GPS data processed {"connection_id":125111,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:17:29] local.INFO: Acknowledgment sent {"connection_id":125111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:17:36] local.INFO: TCP Data received {"connection_id":124410,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1d3630012d7d42c005d2a1c8000500af20..."} 
[2026-07-07 11:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1d3630012d7d42c005d2a1c8000500af20..."} 
[2026-07-07 11:17:36] local.INFO: Processing buffer {"connection_id":124410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1d3630012d7d42c005d2a1c8000500af20..."} 
[2026-07-07 11:17:36] local.INFO: Packet analysis {"connection_id":124410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1d"} 
[2026-07-07 11:17:36] local.INFO: Extracted packet for processing {"connection_id":124410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1d"} 
[2026-07-07 11:17:36] local.INFO: GPS Element Parsed {"raw_longitude":763183808,"raw_latitude":97690056,"longitude_deg":76.3183808,"latitude_deg":9.7690056,"altitude":5,"angle":175,"satellites":32,"speed":0,"hex_longitude":"2d7d42c0","hex_latitude":"05d2a1c8","is_valid_coordinates":true} 
[2026-07-07 11:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551216896001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341012685246169088,"note":"Value kept but may cause issues"} 
[2026-07-07 11:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026058103189395456,"note":"Value kept but may cause issues"} 
[2026-07-07 11:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783403198000,"timestamp_ms":1783403198000,"timestamp_seconds":1783403198,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1d3630"} 
[2026-07-07 11:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 11:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551216896001,"66":27865,"117":206,"85":15104,"24":0,"16":341012685246169088,"45":9026058103189395456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-07 11:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551216896001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:17:36] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-07 11:17:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341012685246169088,"km_value":341012685246169.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026058103189395456,"description":"Unknown IO ID 45"} 
[2026-07-07 11:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551216896001,"power":27865,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9026058103189395456}} 
[2026-07-07 11:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":124410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:17:36] local.INFO: GPS data processed {"connection_id":124410,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:17:36] local.INFO: Acknowledgment sent {"connection_id":124410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:18:00] local.INFO: TCP Data received {"connection_id":125111,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1dbb00012d18d34007212260004100b222..."} 
[2026-07-07 11:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1dbb00012d18d34007212260004100b222..."} 
[2026-07-07 11:18:00] local.INFO: Processing buffer {"connection_id":125111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1dbb00012d18d34007212260004100b222..."} 
[2026-07-07 11:18:00] local.INFO: Packet analysis {"connection_id":125111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1d"} 
[2026-07-07 11:18:00] local.INFO: Extracted packet for processing {"connection_id":125111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1d"} 
[2026-07-07 11:18:00] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119612000,"longitude_deg":75.6601664,"latitude_deg":11.9612,"altitude":65,"angle":178,"satellites":34,"speed":34,"hex_longitude":"2d18d340","hex_latitude":"07212260","is_valid_coordinates":true} 
[2026-07-07 11:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551226880001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4842880568918016,"note":"Value kept but may cause issues"} 
[2026-07-07 11:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384802304,"note":"Value kept but may cause issues"} 
[2026-07-07 11:18: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-07-07 11:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783403232000,"timestamp_ms":1783403232000,"timestamp_seconds":1783403232,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1dbb00"} 
[2026-07-07 11:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 11:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551226880001,"66":13928,"121":206,"28":31744,"24":34,"16":4842880568918016,"45":1788562401384802304},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551226880001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:18:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:18:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4842880568918016,"km_value":4842880568918.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384802304,"description":"Unknown IO ID 45"} 
[2026-07-07 11:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551226880001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1788562401384802304}} 
[2026-07-07 11:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":125111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:18:00] local.INFO: GPS data processed {"connection_id":125111,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:18:00] local.INFO: Acknowledgment sent {"connection_id":125111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:18:21] local.INFO: TCP Data received {"connection_id":126356,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:18:21] local.INFO: Processing buffer {"connection_id":126356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:18:21] local.INFO: IMEI packet received {"connection_id":126356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":126356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:18:25] local.INFO: TCP Data received {"connection_id":126356,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:18:25] local.INFO: Processing buffer {"connection_id":126356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:18:25] local.INFO: IMEI packet received {"connection_id":126356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":126356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:18:27] local.INFO: TCP Data received {"connection_id":126356,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:18:27] local.INFO: Processing buffer {"connection_id":126356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:18:27] local.INFO: IMEI packet received {"connection_id":126356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":126356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:18:28] local.INFO: TCP Data received {"connection_id":126356,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1dd270012d18d44007210c60003f00a621..."} 
[2026-07-07 11:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1dd270012d18d44007210c60003f00a621..."} 
[2026-07-07 11:18:28] local.INFO: Processing buffer {"connection_id":126356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1dd270012d18d44007210c60003f00a621..."} 
[2026-07-07 11:18:28] local.INFO: Packet analysis {"connection_id":126356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1d"} 
[2026-07-07 11:18:28] local.INFO: Extracted packet for processing {"connection_id":126356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1d"} 
[2026-07-07 11:18:28] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119606368,"longitude_deg":75.660192,"latitude_deg":11.9606368,"altitude":63,"angle":166,"satellites":33,"speed":37,"hex_longitude":"2d18d440","hex_latitude":"07210c60","is_valid_coordinates":true} 
[2026-07-07 11:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551227392001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4843155446824960,"note":"Value kept but may cause issues"} 
[2026-07-07 11:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876361068544,"note":"Value kept but may cause issues"} 
[2026-07-07 11:18: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-07-07 11:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783403238000,"timestamp_ms":1783403238000,"timestamp_seconds":1783403238,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1dd270"} 
[2026-07-07 11:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-07 11:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551227392001,"66":14483,"121":206,"28":31744,"24":37,"16":4843155446824960,"45":1788843876361068544},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551227392001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:18:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:18:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4843155446824960,"km_value":4843155446824.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876361068544,"description":"Unknown IO ID 45"} 
[2026-07-07 11:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551227392001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1788843876361068544}} 
[2026-07-07 11:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":126356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:18:28] local.INFO: GPS data processed {"connection_id":126356,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:18:28] local.INFO: Acknowledgment sent {"connection_id":126356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:18:29] local.INFO: TCP Data received {"connection_id":126356,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1dde28012d18d780072101c8003e009b20..."} 
[2026-07-07 11:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1dde28012d18d780072101c8003e009b20..."} 
[2026-07-07 11:18:29] local.INFO: Processing buffer {"connection_id":126356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1dde28012d18d780072101c8003e009b20..."} 
[2026-07-07 11:18:29] local.INFO: Packet analysis {"connection_id":126356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1d"} 
[2026-07-07 11:18:29] local.INFO: Extracted packet for processing {"connection_id":126356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1d"} 
[2026-07-07 11:18:29] local.INFO: GPS Element Parsed {"raw_longitude":756602752,"raw_latitude":119603656,"longitude_deg":75.6602752,"latitude_deg":11.9603656,"altitude":62,"angle":155,"satellites":32,"speed":37,"hex_longitude":"2d18d780","hex_latitude":"072101c8","is_valid_coordinates":true} 
[2026-07-07 11:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551228928001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4843292885778432,"note":"Value kept but may cause issues"} 
[2026-07-07 11:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789125351336337408,"note":"Value kept but may cause issues"} 
[2026-07-07 11:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783403241000,"timestamp_ms":1783403241000,"timestamp_seconds":1783403241,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1dde28"} 
[2026-07-07 11:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 11:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":126356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":126356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":126356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551228928001,"66":14559,"121":206,"28":31744,"24":37,"16":4843292885778432,"45":1789125351336337408},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551228928001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:18:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:18:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4843292885778432,"km_value":4843292885778.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789125351336337408,"description":"Unknown IO ID 45"} 
[2026-07-07 11:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551228928001,"power":14559,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1789125351336337408}} 
[2026-07-07 11:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":126356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:18:29] local.INFO: GPS data processed {"connection_id":126356,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:18:29] local.INFO: Acknowledgment sent {"connection_id":126356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:18:39] local.INFO: TCP Data received {"connection_id":125112,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:18:39] local.INFO: Processing buffer {"connection_id":125112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:18:39] local.INFO: IMEI packet received {"connection_id":125112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":125112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:19:02] local.INFO: TCP Data received {"connection_id":126356,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1de5f8012d18db800720fbc8003d008b20..."} 
[2026-07-07 11:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1de5f8012d18db800720fbc8003d008b20..."} 
[2026-07-07 11:19:02] local.INFO: Processing buffer {"connection_id":126356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1de5f8012d18db800720fbc8003d008b20..."} 
[2026-07-07 11:19:02] local.INFO: Packet analysis {"connection_id":126356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1d"} 
[2026-07-07 11:19:02] local.INFO: Extracted packet for processing {"connection_id":126356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1d"} 
[2026-07-07 11:19:02] local.INFO: GPS Element Parsed {"raw_longitude":756603776,"raw_latitude":119602120,"longitude_deg":75.6603776,"latitude_deg":11.960212,"altitude":61,"angle":139,"satellites":32,"speed":37,"hex_longitude":"2d18db80","hex_latitude":"0720fbc8","is_valid_coordinates":true} 
[2026-07-07 11:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551229696001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4843383080091648,"note":"Value kept but may cause issues"} 
[2026-07-07 11:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790040145009952768,"note":"Value kept but may cause issues"} 
[2026-07-07 11:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783403243000,"timestamp_ms":1783403243000,"timestamp_seconds":1783403243,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1de5f8"} 
[2026-07-07 11:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:19: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":223,"data_length":795,"current_offset":136} 
[2026-07-07 11:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551229696001,"66":14428,"121":206,"28":31744,"24":37,"16":4843383080091648,"45":1790040145009952768},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551229696001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:19:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:19:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4843383080091648,"km_value":4843383080091.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790040145009952768,"description":"Unknown IO ID 45"} 
[2026-07-07 11:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551229696001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1790040145009952768}} 
[2026-07-07 11:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":126356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:19:02] local.INFO: GPS data processed {"connection_id":126356,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:19:02] local.INFO: Acknowledgment sent {"connection_id":126356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:19:04] local.INFO: TCP Data received {"connection_id":124412,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:19:04] local.INFO: Processing buffer {"connection_id":124412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:19:04] local.INFO: IMEI packet received {"connection_id":124412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":124412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:19:08] local.INFO: TCP Data received {"connection_id":124412,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:19:08] local.INFO: Processing buffer {"connection_id":124412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:19:08] local.INFO: IMEI packet received {"connection_id":124412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":124412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:19:09] local.INFO: TCP Data received {"connection_id":124412,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1d6128012d7d428005d29a10000400be22..."} 
[2026-07-07 11:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1d6128012d7d428005d29a10000400be22..."} 
[2026-07-07 11:19:09] local.INFO: Processing buffer {"connection_id":124412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1d6128012d7d428005d29a10000400be22..."} 
[2026-07-07 11:19:09] local.INFO: Packet analysis {"connection_id":124412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1d"} 
[2026-07-07 11:19:09] local.INFO: Extracted packet for processing {"connection_id":124412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1d"} 
[2026-07-07 11:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":97688080,"longitude_deg":76.3183744,"latitude_deg":9.768808,"altitude":4,"angle":190,"satellites":34,"speed":9,"hex_longitude":"2d7d4280","hex_latitude":"05d29a10","is_valid_coordinates":true} 
[2026-07-07 11:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551218688001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341012784030416896,"note":"Value kept but may cause issues"} 
[2026-07-07 11:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025987734445082624,"note":"Value kept but may cause issues"} 
[2026-07-07 11:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783403209000,"timestamp_ms":1783403209000,"timestamp_seconds":1783403209,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1d6128"} 
[2026-07-07 11:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:19: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-07-07 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551218688001,"66":27930,"117":206,"85":15104,"24":9,"16":341012784030416896,"45":9025987734445082624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-07 11:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551218688001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:19:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-07 11:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341012784030416896,"km_value":341012784030416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025987734445082624,"description":"Unknown IO ID 45"} 
[2026-07-07 11:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551218688001,"power":27930,"unknown_117":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9025987734445082624}} 
[2026-07-07 11:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":124412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:19:09] local.INFO: GPS data processed {"connection_id":124412,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:19:09] local.INFO: Acknowledgment sent {"connection_id":124412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:19:27] local.INFO: TCP Data received {"connection_id":126357,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:19:27] local.INFO: Processing buffer {"connection_id":126357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:19:27] local.INFO: IMEI packet received {"connection_id":126357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":126357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:19:31] local.INFO: TCP Data received {"connection_id":126357,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:19:31] local.INFO: Processing buffer {"connection_id":126357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:19:31] local.INFO: IMEI packet received {"connection_id":126357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":126357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:19:33] local.INFO: TCP Data received {"connection_id":126357,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1edc10012d19aec00720aff00030006f21..."} 
[2026-07-07 11:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1edc10012d19aec00720aff00030006f21..."} 
[2026-07-07 11:19:33] local.INFO: Processing buffer {"connection_id":126357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1edc10012d19aec00720aff00030006f21..."} 
[2026-07-07 11:19:33] local.INFO: Packet analysis {"connection_id":126357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1e"} 
[2026-07-07 11:19:33] local.INFO: Extracted packet for processing {"connection_id":126357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1e"} 
[2026-07-07 11:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119582704,"longitude_deg":75.6657856,"latitude_deg":11.9582704,"altitude":48,"angle":111,"satellites":33,"speed":35,"hex_longitude":"2d19aec0","hex_latitude":"0720aff0","is_valid_coordinates":true} 
[2026-07-07 11:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551245312001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4846338017591296,"note":"Value kept but may cause issues"} 
[2026-07-07 11:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846757352812007424,"note":"Value kept but may cause issues"} 
[2026-07-07 11:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783403306000,"timestamp_ms":1783403306000,"timestamp_seconds":1783403306,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1edc10"} 
[2026-07-07 11:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 11:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551245312001,"66":14483,"121":206,"28":31744,"24":35,"16":4846338017591296,"45":1846757352812007424},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551245312001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:19:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:19:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4846338017591296,"km_value":4846338017591.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846757352812007424,"description":"Unknown IO ID 45"} 
[2026-07-07 11:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551245312001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1846757352812007424}} 
[2026-07-07 11:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":126357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:19:33] local.INFO: GPS data processed {"connection_id":126357,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:19:33] local.INFO: Acknowledgment sent {"connection_id":126357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:19:34] local.INFO: TCP Data received {"connection_id":126357,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1eebb0012d19b9800720aa80002f007e20..."} 
[2026-07-07 11:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1eebb0012d19b9800720aa80002f007e20..."} 
[2026-07-07 11:19:34] local.INFO: Processing buffer {"connection_id":126357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1eebb0012d19b9800720aa80002f007e20..."} 
[2026-07-07 11:19:34] local.INFO: Packet analysis {"connection_id":126357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1e"} 
[2026-07-07 11:19:34] local.INFO: Extracted packet for processing {"connection_id":126357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1e"} 
[2026-07-07 11:19:34] local.INFO: GPS Element Parsed {"raw_longitude":756660608,"raw_latitude":119581312,"longitude_deg":75.6660608,"latitude_deg":11.9581312,"altitude":47,"angle":126,"satellites":32,"speed":23,"hex_longitude":"2d19b980","hex_latitude":"0720aa80","is_valid_coordinates":true} 
[2026-07-07 11:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551246336001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4846484046479360,"note":"Value kept but may cause issues"} 
[2026-07-07 11:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633741557760,"note":"Value kept but may cause issues"} 
[2026-07-07 11:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783403310000,"timestamp_ms":1783403310000,"timestamp_seconds":1783403310,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1eebb0"} 
[2026-07-07 11:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 11:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551246336001,"66":14352,"121":206,"28":31744,"24":23,"16":4846484046479360,"45":1850627633741557760},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551246336001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:19:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:19:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4846484046479360,"km_value":4846484046479.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633741557760,"description":"Unknown IO ID 45"} 
[2026-07-07 11:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551246336001,"power":14352,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1850627633741557760}} 
[2026-07-07 11:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":126357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:19:34] local.INFO: GPS data processed {"connection_id":126357,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:19:34] local.INFO: Acknowledgment sent {"connection_id":126357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:19:40] local.INFO: TCP Data received {"connection_id":124412,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1eebb0012d7d360005d18a40000600ac25..."} 
[2026-07-07 11:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1eebb0012d7d360005d18a40000600ac25..."} 
[2026-07-07 11:19:40] local.INFO: Processing buffer {"connection_id":124412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1eebb0012d7d360005d18a40000600ac25..."} 
[2026-07-07 11:19:40] local.INFO: Packet analysis {"connection_id":124412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1e"} 
[2026-07-07 11:19:40] local.INFO: Extracted packet for processing {"connection_id":124412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1e"} 
[2026-07-07 11:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":97618496,"longitude_deg":76.3180544,"latitude_deg":9.7618496,"altitude":6,"angle":172,"satellites":37,"speed":19,"hex_longitude":"2d7d3600","hex_latitude":"05d18a40","is_valid_coordinates":true} 
[2026-07-07 11:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551244032001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341016189939482624,"note":"Value kept but may cause issues"} 
[2026-07-07 11:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021624872290052096,"note":"Value kept but may cause issues"} 
[2026-07-07 11:19:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 11:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783403310000,"timestamp_ms":1783403310000,"timestamp_seconds":1783403310,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1eebb0"} 
[2026-07-07 11:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:19: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-07-07 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551244032001,"66":27908,"24":19,"85":15104,"16":341016189939482624,"45":9021624872290052096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-07 11:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551244032001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341016189939482624,"km_value":341016189939482.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021624872290052096,"description":"Unknown IO ID 45"} 
[2026-07-07 11:19:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456551244032001,"power":27908,"ignition":19,"unknown_85":15104,"odometer":null,"unknown_45":9021624872290052096}} 
[2026-07-07 11:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":124412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:19:40] local.INFO: GPS data processed {"connection_id":124412,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:19:40] local.INFO: Acknowledgment sent {"connection_id":124412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:19:59] local.INFO: TCP Data received {"connection_id":124323,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:19:59] local.INFO: Processing buffer {"connection_id":124323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:19:59] local.INFO: IMEI packet received {"connection_id":124323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":124323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:20:04] local.INFO: TCP Data received {"connection_id":124323,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:20:04] local.INFO: Processing buffer {"connection_id":124323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:20:04] local.INFO: IMEI packet received {"connection_id":124323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":124323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:20:05] local.INFO: TCP Data received {"connection_id":124323,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1f3200012d7d38c005d167d8000500b125..."} 
[2026-07-07 11:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1f3200012d7d38c005d167d8000500b125..."} 
[2026-07-07 11:20:05] local.INFO: Processing buffer {"connection_id":124323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1f3200012d7d38c005d167d8000500b125..."} 
[2026-07-07 11:20:05] local.INFO: Packet analysis {"connection_id":124323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1f"} 
[2026-07-07 11:20:05] local.INFO: Extracted packet for processing {"connection_id":124323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1f"} 
[2026-07-07 11:20:05] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":97609688,"longitude_deg":76.3181248,"latitude_deg":9.7609688,"altitude":5,"angle":177,"satellites":37,"speed":32,"hex_longitude":"2d7d38c0","hex_latitude":"05d167d8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551247360001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341016619436212224,"note":"Value kept but may cause issues"} 
[2026-07-07 11:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928473702400,"note":"Value kept but may cause issues"} 
[2026-07-07 11:20:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 11:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783403328000,"timestamp_ms":1783403328000,"timestamp_seconds":1783403328,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1f3200"} 
[2026-07-07 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-07-07 11:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 11:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 11:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551247360001,"66":28028,"24":32,"85":15104,"16":341016619436212224,"45":9022398928473702400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-07 11:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551247360001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:20:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341016619436212224,"km_value":341016619436212.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928473702400,"description":"Unknown IO ID 45"} 
[2026-07-07 11:20:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456551247360001,"power":28028,"ignition":32,"unknown_85":15104,"odometer":null,"unknown_45":9022398928473702400}} 
[2026-07-07 11:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":124323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:20:05] local.INFO: GPS data processed {"connection_id":124323,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:20:05] local.INFO: Acknowledgment sent {"connection_id":124323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:20:05] local.INFO: TCP Data received {"connection_id":126357,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1fc288012d19cb8007201ec80030005522..."} 
[2026-07-07 11:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1fc288012d19cb8007201ec80030005522..."} 
[2026-07-07 11:20:05] local.INFO: Processing buffer {"connection_id":126357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1fc288012d19cb8007201ec80030005522..."} 
[2026-07-07 11:20:05] local.INFO: Packet analysis {"connection_id":126357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1f"} 
[2026-07-07 11:20:05] local.INFO: Extracted packet for processing {"connection_id":126357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1f"} 
[2026-07-07 11:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756665216,"raw_latitude":119545544,"longitude_deg":75.6665216,"latitude_deg":11.9545544,"altitude":48,"angle":85,"satellites":34,"speed":7,"hex_longitude":"2d19cb80","hex_latitude":"07201ec8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551261184001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4848365242155008,"note":"Value kept but may cause issues"} 
[2026-07-07 11:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933079941120,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 11:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783403365000,"timestamp_ms":1783403365000,"timestamp_seconds":1783403365,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1fc288"} 
[2026-07-07 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-07-07 11:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 11:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 11:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551261184001,"66":14461,"121":206,"28":31744,"24":7,"16":4848365242155008,"45":1858508933079941120},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551261184001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:20:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:20:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4848365242155008,"km_value":4848365242155.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933079941120,"description":"Unknown IO ID 45"} 
[2026-07-07 11:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551261184001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1858508933079941120}} 
[2026-07-07 11:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":126357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:20:05] local.INFO: GPS data processed {"connection_id":126357,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:20:05] local.INFO: Acknowledgment sent {"connection_id":126357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:20:22] local.INFO: TCP Data received {"connection_id":124324,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:20:22] local.INFO: Processing buffer {"connection_id":124324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:20:22] local.INFO: IMEI packet received {"connection_id":124324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":124324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:20:25] local.INFO: TCP Data received {"connection_id":124324,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:20:25] local.INFO: Processing buffer {"connection_id":124324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:20:25] local.INFO: IMEI packet received {"connection_id":124324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":124324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:20:26] local.INFO: TCP Data received {"connection_id":124324,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1fc670012d19cbc007201f000030003f22..."} 
[2026-07-07 11:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1fc670012d19cbc007201f000030003f22..."} 
[2026-07-07 11:20:26] local.INFO: Processing buffer {"connection_id":124324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1fc670012d19cbc007201f000030003f22..."} 
[2026-07-07 11:20:26] local.INFO: Packet analysis {"connection_id":124324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1f"} 
[2026-07-07 11:20:26] local.INFO: Extracted packet for processing {"connection_id":124324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1f"} 
[2026-07-07 11:20:26] local.INFO: GPS Element Parsed {"raw_longitude":756665280,"raw_latitude":119545600,"longitude_deg":75.666528,"latitude_deg":11.95456,"altitude":48,"angle":63,"satellites":34,"speed":7,"hex_longitude":"2d19cbc0","hex_latitude":"07201f00","is_valid_coordinates":true} 
[2026-07-07 11:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551261440001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4848369537122304,"note":"Value kept but may cause issues"} 
[2026-07-07 11:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858720039312476160,"note":"Value kept but may cause issues"} 
[2026-07-07 11:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783403366000,"timestamp_ms":1783403366000,"timestamp_seconds":1783403366,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1fc670"} 
[2026-07-07 11:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 11:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":124324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":124324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":124324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551261440001,"66":14461,"121":206,"28":31744,"24":7,"16":4848369537122304,"45":1858720039312476160},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551261440001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:20:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:20:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4848369537122304,"km_value":4848369537122.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858720039312476160,"description":"Unknown IO ID 45"} 
[2026-07-07 11:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551261440001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1858720039312476160}} 
[2026-07-07 11:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":124324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:20:26] local.INFO: GPS data processed {"connection_id":124324,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:20:26] local.INFO: Acknowledgment sent {"connection_id":124324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:20:27] local.INFO: TCP Data received {"connection_id":124324,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1fca58012d19cc4007201f680030003321..."} 
[2026-07-07 11:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1fca58012d19cc4007201f680030003321..."} 
[2026-07-07 11:20:27] local.INFO: Processing buffer {"connection_id":124324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1fca58012d19cc4007201f680030003321..."} 
[2026-07-07 11:20:27] local.INFO: Packet analysis {"connection_id":124324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1f"} 
[2026-07-07 11:20:27] local.INFO: Extracted packet for processing {"connection_id":124324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1f"} 
[2026-07-07 11:20:27] local.INFO: GPS Element Parsed {"raw_longitude":756665408,"raw_latitude":119545704,"longitude_deg":75.6665408,"latitude_deg":11.9545704,"altitude":48,"angle":51,"satellites":33,"speed":7,"hex_longitude":"2d19cc40","hex_latitude":"07201f68","is_valid_coordinates":true} 
[2026-07-07 11:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551261696001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4848378127056896,"note":"Value kept but may cause issues"} 
[2026-07-07 11:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858790408056668160,"note":"Value kept but may cause issues"} 
[2026-07-07 11:20: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-07-07 11:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783403367000,"timestamp_ms":1783403367000,"timestamp_seconds":1783403367,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1fca58"} 
[2026-07-07 11:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 11:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551261696001,"66":14461,"121":206,"28":31744,"24":7,"16":4848378127056896,"45":1858790408056668160},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551261696001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:20:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:20:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4848378127056896,"km_value":4848378127056.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858790408056668160,"description":"Unknown IO ID 45"} 
[2026-07-07 11:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551261696001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1858790408056668160}} 
[2026-07-07 11:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":124324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:20:27] local.INFO: GPS data processed {"connection_id":124324,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:20:27] local.INFO: Acknowledgment sent {"connection_id":124324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:20:36] local.INFO: TCP Data received {"connection_id":124323,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1f5910012d7d3a8005d143c0000500b123..."} 
[2026-07-07 11:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1f5910012d7d3a8005d143c0000500b123..."} 
[2026-07-07 11:20:36] local.INFO: Processing buffer {"connection_id":124323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1f5910012d7d3a8005d143c0000500b123..."} 
[2026-07-07 11:20:36] local.INFO: Packet analysis {"connection_id":124323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1f"} 
[2026-07-07 11:20:36] local.INFO: Extracted packet for processing {"connection_id":124323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1f"} 
[2026-07-07 11:20:36] local.INFO: GPS Element Parsed {"raw_longitude":763181696,"raw_latitude":97600448,"longitude_deg":76.3181696,"latitude_deg":9.7600448,"altitude":5,"angle":177,"satellites":35,"speed":39,"hex_longitude":"2d7d3a80","hex_latitude":"05d143c0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551251968001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341017070407778304,"note":"Value kept but may cause issues"} 
[2026-07-07 11:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172984657401856,"note":"Value kept but may cause issues"} 
[2026-07-07 11:20:36] 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-07-07 11:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783403338000,"timestamp_ms":1783403338000,"timestamp_seconds":1783403338,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1f5910"} 
[2026-07-07 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-07-07 11:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 11:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 11:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551251968001,"66":27919,"197":206,"85":15104,"24":39,"16":341017070407778304,"45":9023172984657401856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-07 11:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551251968001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:20:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-07 11:20:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341017070407778304,"km_value":341017070407778.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172984657401856,"description":"Unknown IO ID 45"} 
[2026-07-07 11:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551251968001,"power":27919,"unknown_197":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9023172984657401856}} 
[2026-07-07 11:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":124323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:20:36] local.INFO: GPS data processed {"connection_id":124323,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:20:36] local.INFO: Acknowledgment sent {"connection_id":124323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:20:58] local.INFO: TCP Data received {"connection_id":125114,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:20:58] local.INFO: Processing buffer {"connection_id":125114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:20:58] local.INFO: IMEI packet received {"connection_id":125114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":125114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:20:58] local.INFO: TCP Data received {"connection_id":124324,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1fce40012d19cc8007201ff80030002821..."} 
[2026-07-07 11:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1fce40012d19cc8007201ff80030002821..."} 
[2026-07-07 11:20:58] local.INFO: Processing buffer {"connection_id":124324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1fce40012d19cc8007201ff80030002821..."} 
[2026-07-07 11:20:58] local.INFO: Packet analysis {"connection_id":124324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1f"} 
[2026-07-07 11:20:58] local.INFO: Extracted packet for processing {"connection_id":124324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1f"} 
[2026-07-07 11:20:58] local.INFO: GPS Element Parsed {"raw_longitude":756665472,"raw_latitude":119545848,"longitude_deg":75.6665472,"latitude_deg":11.9545848,"altitude":48,"angle":40,"satellites":33,"speed":8,"hex_longitude":"2d19cc80","hex_latitude":"07201ff8","is_valid_coordinates":true} 
[2026-07-07 11:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551261952001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4848386716991488,"note":"Value kept but may cause issues"} 
[2026-07-07 11:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858931145545050112,"note":"Value kept but may cause issues"} 
[2026-07-07 11:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783403368000,"timestamp_ms":1783403368000,"timestamp_seconds":1783403368,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1fce40"} 
[2026-07-07 11:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 11:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":124324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":124324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":124324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551261952001,"66":14461,"121":206,"28":31744,"24":8,"16":4848386716991488,"45":1858931145545050112},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551261952001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:20:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:20:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4848386716991488,"km_value":4848386716991.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858931145545050112,"description":"Unknown IO ID 45"} 
[2026-07-07 11:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551261952001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1858931145545050112}} 
[2026-07-07 11:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":124324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:20:58] local.INFO: GPS data processed {"connection_id":124324,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:20:58] local.INFO: Acknowledgment sent {"connection_id":124324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:20:59] local.INFO: TCP Data received {"connection_id":125114,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:20:59] local.INFO: Processing buffer {"connection_id":125114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:20:59] local.INFO: IMEI packet received {"connection_id":125114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":125114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:21:04] local.INFO: TCP Data received {"connection_id":125114,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:21:04] local.INFO: Processing buffer {"connection_id":125114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:21:04] local.INFO: IMEI packet received {"connection_id":125114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":125114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:21:05] local.INFO: TCP Data received {"connection_id":125114,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1f7c38012d7d3c4005d12070000500b024..."} 
[2026-07-07 11:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1f7c38012d7d3c4005d12070000500b024..."} 
[2026-07-07 11:21:05] local.INFO: Processing buffer {"connection_id":125114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1f7c38012d7d3c4005d12070000500b024..."} 
[2026-07-07 11:21:05] local.INFO: Packet analysis {"connection_id":125114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1f"} 
[2026-07-07 11:21:05] local.INFO: Extracted packet for processing {"connection_id":125114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1f"} 
[2026-07-07 11:21:05] local.INFO: GPS Element Parsed {"raw_longitude":763182144,"raw_latitude":97591408,"longitude_deg":76.3182144,"latitude_deg":9.7591408,"altitude":5,"angle":176,"satellites":36,"speed":41,"hex_longitude":"2d7d3c40","hex_latitude":"05d12070","is_valid_coordinates":true} 
[2026-07-07 11:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551254528001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341017508494442496,"note":"Value kept but may cause issues"} 
[2026-07-07 11:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023665565864280064,"note":"Value kept but may cause issues"} 
[2026-07-07 11:21: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-07-07 11:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783403347000,"timestamp_ms":1783403347000,"timestamp_seconds":1783403347,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1f7c38"} 
[2026-07-07 11:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 11:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551254528001,"66":27865,"197":206,"85":15104,"24":41,"16":341017508494442496,"45":9023665565864280064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-07 11:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551254528001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:21:05] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-07 11:21:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341017508494442496,"km_value":341017508494442.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023665565864280064,"description":"Unknown IO ID 45"} 
[2026-07-07 11:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551254528001,"power":27865,"unknown_197":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9023665565864280064}} 
[2026-07-07 11:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":125114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:21:05] local.INFO: GPS data processed {"connection_id":125114,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:21:05] local.INFO: Acknowledgment sent {"connection_id":125114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:21:20] local.INFO: TCP Data received {"connection_id":125115,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:21:20] local.INFO: Processing buffer {"connection_id":125115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:21:20] local.INFO: IMEI packet received {"connection_id":125115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":125115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:21:21] local.INFO: TCP Data received {"connection_id":125115,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:21:21] local.INFO: Processing buffer {"connection_id":125115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:21:21] local.INFO: IMEI packet received {"connection_id":125115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":125115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:21:26] local.INFO: TCP Data received {"connection_id":125115,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:21:26] local.INFO: Processing buffer {"connection_id":125115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:21:26] local.INFO: IMEI packet received {"connection_id":125115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":125115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:21:28] local.INFO: TCP Data received {"connection_id":125115,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1ff168012d19d280072026c8002e003421..."} 
[2026-07-07 11:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1ff168012d19d280072026c8002e003421..."} 
[2026-07-07 11:21:28] local.INFO: Processing buffer {"connection_id":125115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1ff168012d19d280072026c8002e003421..."} 
[2026-07-07 11:21:28] local.INFO: Packet analysis {"connection_id":125115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1f"} 
[2026-07-07 11:21:28] local.INFO: Extracted packet for processing {"connection_id":125115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1f"} 
[2026-07-07 11:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119547592,"longitude_deg":75.6667008,"latitude_deg":11.9547592,"altitude":46,"angle":52,"satellites":33,"speed":12,"hex_longitude":"2d19d280","hex_latitude":"072026c8","is_valid_coordinates":true} 
[2026-07-07 11:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551262208001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4848498386141184,"note":"Value kept but may cause issues"} 
[2026-07-07 11:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859001514289264640,"note":"Value kept but may cause issues"} 
[2026-07-07 11:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783403377000,"timestamp_ms":1783403377000,"timestamp_seconds":1783403377,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1ff168"} 
[2026-07-07 11:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 11:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551262208001,"66":14048,"121":206,"28":31744,"24":12,"16":4848498386141184,"45":1859001514289264640},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551262208001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:21:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:21:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4848498386141184,"km_value":4848498386141.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859001514289264640,"description":"Unknown IO ID 45"} 
[2026-07-07 11:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551262208001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1859001514289264640}} 
[2026-07-07 11:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":125115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:21:28] local.INFO: GPS data processed {"connection_id":125115,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:21:28] local.INFO: Acknowledgment sent {"connection_id":125115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:21:45] local.INFO: TCP Data received {"connection_id":125114,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1f9f60012d7d3e4005d0f968000500b123..."} 
[2026-07-07 11:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1f9f60012d7d3e4005d0f968000500b123..."} 
[2026-07-07 11:21:45] local.INFO: Processing buffer {"connection_id":125114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1f9f60012d7d3e4005d0f968000500b123..."} 
[2026-07-07 11:21:45] local.INFO: Packet analysis {"connection_id":125114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1f"} 
[2026-07-07 11:21:45] local.INFO: Extracted packet for processing {"connection_id":125114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1f"} 
[2026-07-07 11:21:45] local.INFO: GPS Element Parsed {"raw_longitude":763182656,"raw_latitude":97581416,"longitude_deg":76.3182656,"latitude_deg":9.7581416,"altitude":5,"angle":177,"satellites":35,"speed":46,"hex_longitude":"2d7d3e40","hex_latitude":"05d0f968","is_valid_coordinates":true} 
[2026-07-07 11:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551256832001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341017993825746944,"note":"Value kept but may cause issues"} 
[2026-07-07 11:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024158147071209472,"note":"Value kept but may cause issues"} 
[2026-07-07 11:21:45] 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-07-07 11:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783403356000,"timestamp_ms":1783403356000,"timestamp_seconds":1783403356,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1f9f60"} 
[2026-07-07 11:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":125114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":125114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":125114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551256832001,"66":27930,"197":206,"85":15104,"24":46,"16":341017993825746944,"45":9024158147071209472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-07 11:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551256832001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:21:45] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-07 11:21:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341017993825746944,"km_value":341017993825746.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024158147071209472,"description":"Unknown IO ID 45"} 
[2026-07-07 11:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551256832001,"power":27930,"unknown_197":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9024158147071209472}} 
[2026-07-07 11:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":125114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:21:45] local.INFO: GPS data processed {"connection_id":125114,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:21:45] local.INFO: Acknowledgment sent {"connection_id":125114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:21:59] local.INFO: TCP Data received {"connection_id":124326,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:21:59] local.INFO: Processing buffer {"connection_id":124326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:21:59] local.INFO: IMEI packet received {"connection_id":124326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":124326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:21:59] local.INFO: TCP Data received {"connection_id":124326,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:21:59] local.INFO: Processing buffer {"connection_id":124326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:21:59] local.INFO: IMEI packet received {"connection_id":124326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":124326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:21:59] local.INFO: TCP Data received {"connection_id":125115,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b217bf0012d1a98c0072061080045000020..."} 
[2026-07-07 11:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b217bf0012d1a98c0072061080045000020..."} 
[2026-07-07 11:21:59] local.INFO: Processing buffer {"connection_id":125115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b217bf0012d1a98c0072061080045000020..."} 
[2026-07-07 11:21:59] local.INFO: Packet analysis {"connection_id":125115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b21"} 
[2026-07-07 11:21:59] local.INFO: Extracted packet for processing {"connection_id":125115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b21"} 
[2026-07-07 11:21:59] local.INFO: GPS Element Parsed {"raw_longitude":756717760,"raw_latitude":119562504,"longitude_deg":75.671776,"latitude_deg":11.9562504,"altitude":69,"angle":0,"satellites":32,"speed":16,"hex_longitude":"2d1a98c0","hex_latitude":"07206108","is_valid_coordinates":true} 
[2026-07-07 11:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551290112001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4851247165210624,"note":"Value kept but may cause issues"} 
[2026-07-07 11:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916422409542402048,"note":"Value kept but may cause issues"} 
[2026-07-07 11:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783403478000,"timestamp_ms":1783403478000,"timestamp_seconds":1783403478,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b217bf0"} 
[2026-07-07 11:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-07 11:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":771,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551290112001,"66":14624,"121":206,"28":31744,"24":16,"16":4851247165210624,"45":1916422409542402048},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551290112001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:21:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:21:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4851247165210624,"km_value":4851247165210.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916422409542402048,"description":"Unknown IO ID 45"} 
[2026-07-07 11:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551290112001,"power":14624,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1916422409542402048}} 
[2026-07-07 11:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":125115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:22:00] local.INFO: GPS data processed {"connection_id":125115,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:22:00] local.INFO: Acknowledgment sent {"connection_id":125115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:22:04] local.INFO: TCP Data received {"connection_id":124326,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:22:04] local.INFO: Processing buffer {"connection_id":124326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:22:04] local.INFO: IMEI packet received {"connection_id":124326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":124326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:22:05] local.INFO: TCP Data received {"connection_id":124326,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b1fc670012d7d400005d0d688000600b023..."} 
[2026-07-07 11:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b1fc670012d7d400005d0d688000600b023..."} 
[2026-07-07 11:22:05] local.INFO: Processing buffer {"connection_id":124326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b1fc670012d7d400005d0d688000600b023..."} 
[2026-07-07 11:22:05] local.INFO: Packet analysis {"connection_id":124326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b1f"} 
[2026-07-07 11:22:05] local.INFO: Extracted packet for processing {"connection_id":124326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b1f"} 
[2026-07-07 11:22:05] local.INFO: GPS Element Parsed {"raw_longitude":763183104,"raw_latitude":97572488,"longitude_deg":76.3183104,"latitude_deg":9.7572488,"altitude":6,"angle":176,"satellites":35,"speed":14,"hex_longitude":"2d7d4000","hex_latitude":"05d0d688","is_valid_coordinates":true} 
[2026-07-07 11:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551259136001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341018427617443840,"note":"Value kept but may cause issues"} 
[2026-07-07 11:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024721097022072832,"note":"Value kept but may cause issues"} 
[2026-07-07 11:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783403366000,"timestamp_ms":1783403366000,"timestamp_seconds":1783403366,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b1fc670"} 
[2026-07-07 11:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 11:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551259136001,"66":27626,"198":206,"85":15104,"24":14,"16":341018427617443840,"45":9024721097022072832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-07-07 11:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551259136001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:22:05] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 11:22:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341018427617443840,"km_value":341018427617443.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024721097022072832,"description":"Unknown IO ID 45"} 
[2026-07-07 11:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551259136001,"power":27626,"unknown_198":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9024721097022072832}} 
[2026-07-07 11:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":124326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:22:05] local.INFO: GPS data processed {"connection_id":124326,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:22:05] local.INFO: Acknowledgment sent {"connection_id":124326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:22:19] local.INFO: TCP Data received {"connection_id":124325,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:22:19] local.INFO: Processing buffer {"connection_id":124325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:22:19] local.INFO: IMEI packet received {"connection_id":124325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 11:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":124325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:22:22] local.INFO: TCP Data received {"connection_id":125116,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:22:22] local.INFO: Processing buffer {"connection_id":125116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:22:22] local.INFO: IMEI packet received {"connection_id":125116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":125116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:22:23] local.INFO: TCP Data received {"connection_id":125116,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:22:23] local.INFO: Processing buffer {"connection_id":125116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:22:23] local.INFO: IMEI packet received {"connection_id":125116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":125116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:22:27] local.INFO: TCP Data received {"connection_id":125116,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:22:27] local.INFO: Processing buffer {"connection_id":125116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:22:27] local.INFO: IMEI packet received {"connection_id":125116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":125116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:22:29] local.INFO: TCP Data received {"connection_id":125116,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2183c0012d1a9900072064380046000c20..."} 
[2026-07-07 11:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2183c0012d1a9900072064380046000c20..."} 
[2026-07-07 11:22:29] local.INFO: Processing buffer {"connection_id":125116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2183c0012d1a9900072064380046000c20..."} 
[2026-07-07 11:22:29] local.INFO: Packet analysis {"connection_id":125116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b21"} 
[2026-07-07 11:22:29] local.INFO: Extracted packet for processing {"connection_id":125116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b21"} 
[2026-07-07 11:22:29] local.INFO: GPS Element Parsed {"raw_longitude":756717824,"raw_latitude":119563320,"longitude_deg":75.6717824,"latitude_deg":11.956332,"altitude":70,"angle":12,"satellites":32,"speed":15,"hex_longitude":"2d1a9900","hex_latitude":"07206438","is_valid_coordinates":true} 
[2026-07-07 11:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551290368001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4851285819916288,"note":"Value kept but may cause issues"} 
[2026-07-07 11:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916492778286680064,"note":"Value kept but may cause issues"} 
[2026-07-07 11:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783403480000,"timestamp_ms":1783403480000,"timestamp_seconds":1783403480,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2183c0"} 
[2026-07-07 11:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:22: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":57,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-07 11:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":771,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551290368001,"66":14135,"121":206,"28":31744,"24":15,"16":4851285819916288,"45":1916492778286680064},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551290368001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:22:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:22:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4851285819916288,"km_value":4851285819916.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916492778286680064,"description":"Unknown IO ID 45"} 
[2026-07-07 11:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551290368001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1916492778286680064}} 
[2026-07-07 11:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":125116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:22:29] local.INFO: GPS data processed {"connection_id":125116,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:22:29] local.INFO: Acknowledgment sent {"connection_id":125116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:22:36] local.INFO: TCP Data received {"connection_id":124326,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b21be58012d7d524005ceffe8000600b325..."} 
[2026-07-07 11:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b21be58012d7d524005ceffe8000600b325..."} 
[2026-07-07 11:22:36] local.INFO: Processing buffer {"connection_id":124326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b21be58012d7d524005ceffe8000600b325..."} 
[2026-07-07 11:22:36] local.INFO: Packet analysis {"connection_id":124326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b21"} 
[2026-07-07 11:22:36] local.INFO: Extracted packet for processing {"connection_id":124326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b21"} 
[2026-07-07 11:22:36] local.INFO: GPS Element Parsed {"raw_longitude":763187776,"raw_latitude":97452008,"longitude_deg":76.3187776,"latitude_deg":9.7452008,"altitude":6,"angle":179,"satellites":37,"speed":58,"hex_longitude":"2d7d5240","hex_latitude":"05ceffe8","is_valid_coordinates":true} 
[2026-07-07 11:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551292928001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341024281657868288,"note":"Value kept but may cause issues"} 
[2026-07-07 11:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030209859037413376,"note":"Value kept but may cause issues"} 
[2026-07-07 11:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783403495000,"timestamp_ms":1783403495000,"timestamp_seconds":1783403495,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b21be58"} 
[2026-07-07 11:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 11:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551292928001,"66":27865,"129":206,"85":15104,"24":58,"16":341024281657868288,"45":9030209859037413376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-07 11:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551292928001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:22:36] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-07 11:22:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341024281657868288,"km_value":341024281657868.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030209859037413376,"description":"Unknown IO ID 45"} 
[2026-07-07 11:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551292928001,"power":27865,"unknown_129":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9030209859037413376}} 
[2026-07-07 11:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":124326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:22:36] local.INFO: GPS data processed {"connection_id":124326,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:22:36] local.INFO: Acknowledgment sent {"connection_id":124326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:22:59] local.INFO: TCP Data received {"connection_id":124414,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:22:59] local.INFO: Processing buffer {"connection_id":124414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:22:59] local.INFO: IMEI packet received {"connection_id":124414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 11:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":124414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:23:01] local.INFO: TCP Data received {"connection_id":125116,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b223388012d1adf00072061700049007d22..."} 
[2026-07-07 11:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b223388012d1adf00072061700049007d22..."} 
[2026-07-07 11:23:01] local.INFO: Processing buffer {"connection_id":125116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b223388012d1adf00072061700049007d22..."} 
[2026-07-07 11:23:01] local.INFO: Packet analysis {"connection_id":125116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b22"} 
[2026-07-07 11:23:01] local.INFO: Extracted packet for processing {"connection_id":125116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b22"} 
[2026-07-07 11:23:01] local.INFO: GPS Element Parsed {"raw_longitude":756735744,"raw_latitude":119562608,"longitude_deg":75.6735744,"latitude_deg":11.9562608,"altitude":73,"angle":125,"satellites":34,"speed":11,"hex_longitude":"2d1adf00","hex_latitude":"07206170","is_valid_coordinates":true} 
[2026-07-07 11:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551302144001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4852256482525184,"note":"Value kept but may cause issues"} 
[2026-07-07 11:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936055289168148480,"note":"Value kept but may cause issues"} 
[2026-07-07 11:23: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-07-07 11:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783403525000,"timestamp_ms":1783403525000,"timestamp_seconds":1783403525,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b223388"} 
[2026-07-07 11:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 11:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551302144001,"66":13276,"121":206,"28":31744,"24":11,"16":4852256482525184,"45":1936055289168148480},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551302144001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:23:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:23:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4852256482525184,"km_value":4852256482525.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936055289168148480,"description":"Unknown IO ID 45"} 
[2026-07-07 11:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551302144001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1936055289168148480}} 
[2026-07-07 11:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":125116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:23:01] local.INFO: GPS data processed {"connection_id":125116,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:23:01] local.INFO: Acknowledgment sent {"connection_id":125116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:23:04] local.INFO: TCP Data received {"connection_id":124327,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:23:04] local.INFO: Processing buffer {"connection_id":124327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:23:04] local.INFO: IMEI packet received {"connection_id":124327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":124327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:23:09] local.INFO: TCP Data received {"connection_id":124327,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:23:09] local.INFO: Processing buffer {"connection_id":124327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:23:09] local.INFO: IMEI packet received {"connection_id":124327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":124327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:23:10] local.INFO: TCP Data received {"connection_id":124327,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b21d9b0012d7d530005ceda98000600b325..."} 
[2026-07-07 11:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b21d9b0012d7d530005ceda98000600b325..."} 
[2026-07-07 11:23:10] local.INFO: Processing buffer {"connection_id":124327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b21d9b0012d7d530005ceda98000600b325..."} 
[2026-07-07 11:23:10] local.INFO: Packet analysis {"connection_id":124327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b21"} 
[2026-07-07 11:23:10] local.INFO: Extracted packet for processing {"connection_id":124327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b21"} 
[2026-07-07 11:23:10] local.INFO: GPS Element Parsed {"raw_longitude":763187968,"raw_latitude":97442456,"longitude_deg":76.3187968,"latitude_deg":9.7442456,"altitude":6,"angle":179,"satellites":37,"speed":45,"hex_longitude":"2d7d5300","hex_latitude":"05ceda98","is_valid_coordinates":true} 
[2026-07-07 11:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551294720001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341024745514336256,"note":"Value kept but may cause issues"} 
[2026-07-07 11:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030350596523157504,"note":"Value kept but may cause issues"} 
[2026-07-07 11:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783403502000,"timestamp_ms":1783403502000,"timestamp_seconds":1783403502,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b21d9b0"} 
[2026-07-07 11:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11: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-07-07 11: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":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:23: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-07-07 11:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551294720001,"66":27865,"237":206,"85":15104,"24":45,"16":341024745514336256,"45":9030350596523157504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-07 11:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551294720001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:23:10] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-07 11:23:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341024745514336256,"km_value":341024745514336.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030350596523157504,"description":"Unknown IO ID 45"} 
[2026-07-07 11:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551294720001,"power":27865,"unknown_237":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9030350596523157504}} 
[2026-07-07 11:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":124327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:23:10] local.INFO: GPS data processed {"connection_id":124327,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:23:10] local.INFO: Acknowledgment sent {"connection_id":124327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:23:21] local.INFO: TCP Data received {"connection_id":126358,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:23:21] local.INFO: Processing buffer {"connection_id":126358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:23:21] local.INFO: IMEI packet received {"connection_id":126358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":126358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:23:21] local.INFO: TCP Data received {"connection_id":126358,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:23:21] local.INFO: Processing buffer {"connection_id":126358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:23:21] local.INFO: IMEI packet received {"connection_id":126358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":126358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:23:23] local.INFO: TCP Data received {"connection_id":126358,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:23:23] local.INFO: Processing buffer {"connection_id":126358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:23:23] local.INFO: IMEI packet received {"connection_id":126358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":126358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:23:24] local.INFO: TCP Data received {"connection_id":126358,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:23:24] local.INFO: Processing buffer {"connection_id":126358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:23:24] local.INFO: IMEI packet received {"connection_id":126358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":126358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:23:44] local.INFO: TCP Data received {"connection_id":124327,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2204a8012d7d534005ceb790000600b121..."} 
[2026-07-07 11:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2204a8012d7d534005ceb790000600b121..."} 
[2026-07-07 11:23:44] local.INFO: Processing buffer {"connection_id":124327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2204a8012d7d534005ceb790000600b121..."} 
[2026-07-07 11:23:44] local.INFO: Packet analysis {"connection_id":124327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b22"} 
[2026-07-07 11:23:44] local.INFO: Extracted packet for processing {"connection_id":124327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b22"} 
[2026-07-07 11:23:44] local.INFO: GPS Element Parsed {"raw_longitude":763188032,"raw_latitude":97433488,"longitude_deg":76.3188032,"latitude_deg":9.7433488,"altitude":6,"angle":177,"satellites":33,"speed":23,"hex_longitude":"2d7d5340","hex_latitude":"05ceb790","is_valid_coordinates":true} 
[2026-07-07 11: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-07-07 11:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551296512001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341025179306033152,"note":"Value kept but may cause issues"} 
[2026-07-07 11:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030561702753245184,"note":"Value kept but may cause issues"} 
[2026-07-07 11:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783403513000,"timestamp_ms":1783403513000,"timestamp_seconds":1783403513,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2204a8"} 
[2026-07-07 11:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:23: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-07-07 11: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-07-07 11:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:23: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-07-07 11:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551296512001,"66":27930,"237":206,"85":15104,"24":23,"16":341025179306033152,"45":9030561702753245184},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-07 11:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551296512001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:23:44] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-07 11:23:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341025179306033152,"km_value":341025179306033.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030561702753245184,"description":"Unknown IO ID 45"} 
[2026-07-07 11:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551296512001,"power":27930,"unknown_237":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9030561702753245184}} 
[2026-07-07 11:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":124327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:23:44] local.INFO: GPS data processed {"connection_id":124327,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:23:44] local.INFO: Acknowledgment sent {"connection_id":124327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:23:59] local.INFO: TCP Data received {"connection_id":124415,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:23:59] local.INFO: Processing buffer {"connection_id":124415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:23:59] local.INFO: IMEI packet received {"connection_id":124415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":124415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:24:04] local.INFO: TCP Data received {"connection_id":124415,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:24:04] local.INFO: Processing buffer {"connection_id":124415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:24:04] local.INFO: IMEI packet received {"connection_id":124415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":124415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:24:06] local.INFO: TCP Data received {"connection_id":124415,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b224710012d7d528005ce9350000a00b721..."} 
[2026-07-07 11:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b224710012d7d528005ce9350000a00b721..."} 
[2026-07-07 11:24:06] local.INFO: Processing buffer {"connection_id":124415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b224710012d7d528005ce9350000a00b721..."} 
[2026-07-07 11:24:06] local.INFO: Packet analysis {"connection_id":124415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b22"} 
[2026-07-07 11:24:06] local.INFO: Extracted packet for processing {"connection_id":124415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b22"} 
[2026-07-07 11:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763187840,"raw_latitude":97424208,"longitude_deg":76.318784,"latitude_deg":9.7424208,"altitude":10,"angle":183,"satellites":33,"speed":29,"hex_longitude":"2d7d5280","hex_latitude":"05ce9350","is_valid_coordinates":true} 
[2026-07-07 11:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551299328001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341025630277599232,"note":"Value kept but may cause issues"} 
[2026-07-07 11:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030632071495127040,"note":"Value kept but may cause issues"} 
[2026-07-07 11:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783403530000,"timestamp_ms":1783403530000,"timestamp_seconds":1783403530,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b224710"} 
[2026-07-07 11:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 11:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551299328001,"66":27908,"237":206,"85":15104,"24":29,"16":341025630277599232,"45":9030632071495127040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-07 11:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551299328001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:24:06] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-07 11:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341025630277599232,"km_value":341025630277599.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030632071495127040,"description":"Unknown IO ID 45"} 
[2026-07-07 11:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551299328001,"power":27908,"unknown_237":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9030632071495127040}} 
[2026-07-07 11:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":124415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:24:06] local.INFO: GPS data processed {"connection_id":124415,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:24:06] local.INFO: Acknowledgment sent {"connection_id":124415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:24:41] local.INFO: TCP Data received {"connection_id":124415,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b227208012d7d504005ce6d48000900b822..."} 
[2026-07-07 11:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b227208012d7d504005ce6d48000900b822..."} 
[2026-07-07 11:24:41] local.INFO: Processing buffer {"connection_id":124415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b227208012d7d504005ce6d48000900b822..."} 
[2026-07-07 11:24:41] local.INFO: Packet analysis {"connection_id":124415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b22"} 
[2026-07-07 11:24:41] local.INFO: Extracted packet for processing {"connection_id":124415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b22"} 
[2026-07-07 11:24:41] local.INFO: GPS Element Parsed {"raw_longitude":763187264,"raw_latitude":97414472,"longitude_deg":76.3187264,"latitude_deg":9.7414472,"altitude":9,"angle":184,"satellites":34,"speed":40,"hex_longitude":"2d7d5040","hex_latitude":"05ce6d48","is_valid_coordinates":true} 
[2026-07-07 11:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551303680001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341026102724001792,"note":"Value kept but may cause issues"} 
[2026-07-07 11:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030420965260218368,"note":"Value kept but may cause issues"} 
[2026-07-07 11:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783403541000,"timestamp_ms":1783403541000,"timestamp_seconds":1783403541,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b227208"} 
[2026-07-07 11:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:24: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-07-07 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 11:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551303680001,"66":27919,"237":206,"85":15104,"24":40,"16":341026102724001792,"45":9030420965260218368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-07 11:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551303680001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:24:41] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-07 11:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341026102724001792,"km_value":341026102724001.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030420965260218368,"description":"Unknown IO ID 45"} 
[2026-07-07 11:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551303680001,"power":27919,"unknown_237":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9030420965260218368}} 
[2026-07-07 11:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":124415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:24:41] local.INFO: GPS data processed {"connection_id":124415,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:24:41] local.INFO: Acknowledgment sent {"connection_id":124415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:24:59] local.INFO: TCP Data received {"connection_id":126360,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:24:59] local.INFO: Processing buffer {"connection_id":126360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:24:59] local.INFO: IMEI packet received {"connection_id":126360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":126360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:25:03] local.INFO: TCP Data received {"connection_id":126360,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:25:03] local.INFO: Processing buffer {"connection_id":126360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:25:03] local.INFO: IMEI packet received {"connection_id":126360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":126360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:25:04] local.INFO: TCP Data received {"connection_id":126360,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b229d00012d7d4d4005ce4998000800b727..."} 
[2026-07-07 11:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b229d00012d7d4d4005ce4998000800b727..."} 
[2026-07-07 11:25:04] local.INFO: Processing buffer {"connection_id":126360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b229d00012d7d4d4005ce4998000800b727..."} 
[2026-07-07 11:25:04] local.INFO: Packet analysis {"connection_id":126360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b22"} 
[2026-07-07 11:25:04] local.INFO: Extracted packet for processing {"connection_id":126360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b22"} 
[2026-07-07 11:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763186496,"raw_latitude":97405336,"longitude_deg":76.3186496,"latitude_deg":9.7405336,"altitude":8,"angle":183,"satellites":39,"speed":32,"hex_longitude":"2d7d4d40","hex_latitude":"05ce4998","is_valid_coordinates":true} 
[2026-07-07 11: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-07-07 11:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551306496001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341026549400600576,"note":"Value kept but may cause issues"} 
[2026-07-07 11:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029787646560126976,"note":"Value kept but may cause issues"} 
[2026-07-07 11:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783403552000,"timestamp_ms":1783403552000,"timestamp_seconds":1783403552,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b229d00"} 
[2026-07-07 11:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 11:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11: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-07-07 11:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551306496001,"66":27865,"235":206,"85":15104,"24":32,"16":341026549400600576,"45":9029787646560126976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-07 11:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551306496001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:25:04] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-07 11:25:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341026549400600576,"km_value":341026549400600.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029787646560126976,"description":"Unknown IO ID 45"} 
[2026-07-07 11:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551306496001,"power":27865,"unknown_235":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9029787646560126976}} 
[2026-07-07 11:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":126360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:25:04] local.INFO: GPS data processed {"connection_id":126360,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:25:04] local.INFO: Acknowledgment sent {"connection_id":126360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:25:35] local.INFO: TCP Data received {"connection_id":126360,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b248548012d7d58c005cc9618000900b324..."} 
[2026-07-07 11:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b248548012d7d58c005cc9618000900b324..."} 
[2026-07-07 11:25:35] local.INFO: Processing buffer {"connection_id":126360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b248548012d7d58c005cc9618000900b324..."} 
[2026-07-07 11:25:35] local.INFO: Packet analysis {"connection_id":126360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b24"} 
[2026-07-07 11:25:35] local.INFO: Extracted packet for processing {"connection_id":126360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b24"} 
[2026-07-07 11:25:35] local.INFO: GPS Element Parsed {"raw_longitude":763189440,"raw_latitude":97293848,"longitude_deg":76.318944,"latitude_deg":9.7293848,"altitude":9,"angle":179,"satellites":36,"speed":59,"hex_longitude":"2d7d58c0","hex_latitude":"05cc9618","is_valid_coordinates":true} 
[2026-07-07 11:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551339776001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341031969649328128,"note":"Value kept but may cause issues"} 
[2026-07-07 11:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9032109815089401856,"note":"Value kept but may cause issues"} 
[2026-07-07 11:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783403677000,"timestamp_ms":1783403677000,"timestamp_seconds":1783403677,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b248548"} 
[2026-07-07 11:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 11:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551339776001,"66":27908,"129":206,"85":15104,"24":59,"16":341031969649328128,"45":9032109815089401856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-07 11:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551339776001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:25:35] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-07 11:25:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341031969649328128,"km_value":341031969649328.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9032109815089401856,"description":"Unknown IO ID 45"} 
[2026-07-07 11:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551339776001,"power":27908,"unknown_129":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9032109815089401856}} 
[2026-07-07 11:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":126360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:25:35] local.INFO: GPS data processed {"connection_id":126360,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:25:35] local.INFO: Acknowledgment sent {"connection_id":126360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:25:59] local.INFO: TCP Data received {"connection_id":124330,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:25:59] local.INFO: Processing buffer {"connection_id":124330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:25:59] local.INFO: IMEI packet received {"connection_id":124330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":124330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:26:01] local.INFO: TCP Data received {"connection_id":124330,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:26:01] local.INFO: Processing buffer {"connection_id":124330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:26:01] local.INFO: IMEI packet received {"connection_id":124330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":124330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:26:04] local.INFO: TCP Data received {"connection_id":124330,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:26:04] local.INFO: Processing buffer {"connection_id":124330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:26:04] local.INFO: IMEI packet received {"connection_id":124330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":124330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:26:05] local.INFO: TCP Data received {"connection_id":124330,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b24a0a0012d7d57c005cc6e40000a00b825..."} 
[2026-07-07 11:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b24a0a0012d7d57c005cc6e40000a00b825..."} 
[2026-07-07 11:26:05] local.INFO: Processing buffer {"connection_id":124330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b24a0a0012d7d57c005cc6e40000a00b825..."} 
[2026-07-07 11:26:05] local.INFO: Packet analysis {"connection_id":124330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b24"} 
[2026-07-07 11:26:05] local.INFO: Extracted packet for processing {"connection_id":124330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b24"} 
[2026-07-07 11:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763189184,"raw_latitude":97283648,"longitude_deg":76.3189184,"latitude_deg":9.7283648,"altitude":10,"angle":184,"satellites":37,"speed":51,"hex_longitude":"2d7d57c0","hex_latitude":"05cc6e40","is_valid_coordinates":true} 
[2026-07-07 11:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551341312001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341032467865534464,"note":"Value kept but may cause issues"} 
[2026-07-07 11:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9032180183831287808,"note":"Value kept but may cause issues"} 
[2026-07-07 11:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783403684000,"timestamp_ms":1783403684000,"timestamp_seconds":1783403684,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b24a0a0"} 
[2026-07-07 11:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 11:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551341312001,"66":27908,"129":206,"85":15104,"24":51,"16":341032467865534464,"45":9032180183831287808},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-07 11:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551341312001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:26:05] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-07 11:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341032467865534464,"km_value":341032467865534.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9032180183831287808,"description":"Unknown IO ID 45"} 
[2026-07-07 11:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551341312001,"power":27908,"unknown_129":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9032180183831287808}} 
[2026-07-07 11:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":124330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:26:05] local.INFO: GPS data processed {"connection_id":124330,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:26:05] local.INFO: Acknowledgment sent {"connection_id":124330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:26:36] local.INFO: TCP Data received {"connection_id":124330,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b24c3c8012d7d520005cc47f8000a00be26..."} 
[2026-07-07 11:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b24c3c8012d7d520005cc47f8000a00be26..."} 
[2026-07-07 11:26:36] local.INFO: Processing buffer {"connection_id":124330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b24c3c8012d7d520005cc47f8000a00be26..."} 
[2026-07-07 11:26:36] local.INFO: Packet analysis {"connection_id":124330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b24"} 
[2026-07-07 11:26:36] local.INFO: Extracted packet for processing {"connection_id":124330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b24"} 
[2026-07-07 11:26:36] local.INFO: GPS Element Parsed {"raw_longitude":763187712,"raw_latitude":97273848,"longitude_deg":76.3187712,"latitude_deg":9.7273848,"altitude":10,"angle":190,"satellites":38,"speed":42,"hex_longitude":"2d7d5200","hex_latitude":"05cc47f8","is_valid_coordinates":true} 
[2026-07-07 11:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551343104001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341032944606904320,"note":"Value kept but may cause issues"} 
[2026-07-07 11:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031898708851965952,"note":"Value kept but may cause issues"} 
[2026-07-07 11:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783403693000,"timestamp_ms":1783403693000,"timestamp_seconds":1783403693,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b24c3c8"} 
[2026-07-07 11:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 11:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551343104001,"66":27919,"129":206,"85":15104,"24":42,"16":341032944606904320,"45":9031898708851965952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-07 11:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551343104001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:26:36] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-07 11:26:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341032944606904320,"km_value":341032944606904.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031898708851965952,"description":"Unknown IO ID 45"} 
[2026-07-07 11:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551343104001,"power":27919,"unknown_129":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9031898708851965952}} 
[2026-07-07 11:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":124330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:26:36] local.INFO: GPS data processed {"connection_id":124330,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:26:36] local.INFO: Acknowledgment sent {"connection_id":124330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:26:59] local.INFO: TCP Data received {"connection_id":124418,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:26:59] local.INFO: Processing buffer {"connection_id":124418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:26:59] local.INFO: IMEI packet received {"connection_id":124418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":124418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:27:01] local.INFO: TCP Data received {"connection_id":124418,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:27:01] local.INFO: Processing buffer {"connection_id":124418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:27:01] local.INFO: IMEI packet received {"connection_id":124418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":124418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:27:04] local.INFO: TCP Data received {"connection_id":124418,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:27:04] local.INFO: Processing buffer {"connection_id":124418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:27:04] local.INFO: IMEI packet received {"connection_id":124418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":124418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:27:05] local.INFO: TCP Data received {"connection_id":124418,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b24db38012d7d4d4005cc33c8000900ca26..."} 
[2026-07-07 11:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b24db38012d7d4d4005cc33c8000900ca26..."} 
[2026-07-07 11:27:05] local.INFO: Processing buffer {"connection_id":124418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b24db38012d7d4d4005cc33c8000900ca26..."} 
[2026-07-07 11:27:05] local.INFO: Packet analysis {"connection_id":124418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b24"} 
[2026-07-07 11:27:05] local.INFO: Extracted packet for processing {"connection_id":124418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b24"} 
[2026-07-07 11:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763186496,"raw_latitude":97268680,"longitude_deg":76.3186496,"latitude_deg":9.726868,"altitude":9,"angle":202,"satellites":38,"speed":27,"hex_longitude":"2d7d4d40","hex_latitude":"05cc33c8","is_valid_coordinates":true} 
[2026-07-07 11:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551345408001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341033202304942080,"note":"Value kept but may cause issues"} 
[2026-07-07 11:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030280227733370880,"note":"Value kept but may cause issues"} 
[2026-07-07 11:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783403699000,"timestamp_ms":1783403699000,"timestamp_seconds":1783403699,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b24db38"} 
[2026-07-07 11:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 11:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551345408001,"66":27843,"129":206,"85":15104,"24":27,"16":341033202304942080,"45":9030280227733370880},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-07 11:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551345408001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:27:05] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-07 11:27:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341033202304942080,"km_value":341033202304942.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030280227733370880,"description":"Unknown IO ID 45"} 
[2026-07-07 11:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551345408001,"power":27843,"unknown_129":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9030280227733370880}} 
[2026-07-07 11:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":124418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:27:05] local.INFO: GPS data processed {"connection_id":124418,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:27:05] local.INFO: Acknowledgment sent {"connection_id":124418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:27:36] local.INFO: TCP Data received {"connection_id":124418,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b265df0012d7d264005caa168000800b927..."} 
[2026-07-07 11:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b265df0012d7d264005caa168000800b927..."} 
[2026-07-07 11:27:36] local.INFO: Processing buffer {"connection_id":124418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b265df0012d7d264005caa168000800b927..."} 
[2026-07-07 11:27:36] local.INFO: Packet analysis {"connection_id":124418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b26"} 
[2026-07-07 11:27:36] local.INFO: Extracted packet for processing {"connection_id":124418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b26"} 
[2026-07-07 11:27:36] local.INFO: GPS Element Parsed {"raw_longitude":763176512,"raw_latitude":97165672,"longitude_deg":76.3176512,"latitude_deg":9.7165672,"altitude":8,"angle":185,"satellites":39,"speed":45,"hex_longitude":"2d7d2640","hex_latitude":"05caa168","is_valid_coordinates":true} 
[2026-07-07 11:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551370240001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341038236006612992,"note":"Value kept but may cause issues"} 
[2026-07-07 11:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018810122407016448,"note":"Value kept but may cause issues"} 
[2026-07-07 11:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783403798000,"timestamp_ms":1783403798000,"timestamp_seconds":1783403798,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b265df0"} 
[2026-07-07 11:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 11:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551370240001,"66":27930,"131":206,"85":15104,"24":45,"16":341038236006612992,"45":9018810122407016448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-07 11:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551370240001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:27:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-07 11:27:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 11:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341038236006612992,"km_value":341038236006613.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018810122407016448,"description":"Unknown IO ID 45"} 
[2026-07-07 11:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551370240001,"power":27930,"unknown_131":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9018810122407016448}} 
[2026-07-07 11:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":124418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:27:36] local.INFO: GPS data processed {"connection_id":124418,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:27:36] local.INFO: Acknowledgment sent {"connection_id":124418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:28:04] local.INFO: TCP Data received {"connection_id":126363,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:28:04] local.INFO: Processing buffer {"connection_id":126363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:28:04] local.INFO: IMEI packet received {"connection_id":126363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":126363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:28:05] local.INFO: TCP Data received {"connection_id":126363,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:28:05] local.INFO: Processing buffer {"connection_id":126363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:28:05] local.INFO: IMEI packet received {"connection_id":126363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":126363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:28:09] local.INFO: TCP Data received {"connection_id":126363,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:28:09] local.INFO: Processing buffer {"connection_id":126363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:28:09] local.INFO: IMEI packet received {"connection_id":126363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":126363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:28:11] local.INFO: TCP Data received {"connection_id":126363,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b267d30012d7d228005ca7e00000900b827..."} 
[2026-07-07 11:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b267d30012d7d228005ca7e00000900b827..."} 
[2026-07-07 11:28:11] local.INFO: Processing buffer {"connection_id":126363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b267d30012d7d228005ca7e00000900b827..."} 
[2026-07-07 11:28:11] local.INFO: Packet analysis {"connection_id":126363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b26"} 
[2026-07-07 11:28:11] local.INFO: Extracted packet for processing {"connection_id":126363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b26"} 
[2026-07-07 11:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763175552,"raw_latitude":97156608,"longitude_deg":76.3175552,"latitude_deg":9.7156608,"altitude":9,"angle":184,"satellites":39,"speed":45,"hex_longitude":"2d7d2280","hex_latitude":"05ca7e00","is_valid_coordinates":true} 
[2026-07-07 11:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551372288001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341038678388244480,"note":"Value kept but may cause issues"} 
[2026-07-07 11:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017965697474586624,"note":"Value kept but may cause issues"} 
[2026-07-07 11:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783403806000,"timestamp_ms":1783403806000,"timestamp_seconds":1783403806,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b267d30"} 
[2026-07-07 11:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 11:28: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-07-07 11:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551372288001,"66":27974,"203":206,"85":12288,"24":45,"16":341038678388244480,"45":9017965697474586624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,85,24,16,45]} 
[2026-07-07 11:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551372288001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341038678388244480,"km_value":341038678388244.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017965697474586624,"description":"Unknown IO ID 45"} 
[2026-07-07 11:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551372288001,"power":27974,"mnc":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":9017965697474586624}} 
[2026-07-07 11:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":126363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:28:11] local.INFO: GPS data processed {"connection_id":126363,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:28:11] local.INFO: Acknowledgment sent {"connection_id":126363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:28:14] local.INFO: TCP Data received {"connection_id":124331,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:28:14] local.INFO: Processing buffer {"connection_id":124331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:28:14] local.INFO: IMEI packet received {"connection_id":124331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 11:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":124331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:28:27] local.INFO: TCP Data received {"connection_id":124332,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:28:27] local.INFO: Processing buffer {"connection_id":124332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:28:27] local.INFO: IMEI packet received {"connection_id":124332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":124332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:28:28] local.INFO: TCP Data received {"connection_id":124332,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b264a68012d1b19c007206ee00050004b20..."} 
[2026-07-07 11:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b264a68012d1b19c007206ee00050004b20..."} 
[2026-07-07 11:28:28] local.INFO: Processing buffer {"connection_id":124332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b264a68012d1b19c007206ee00050004b20..."} 
[2026-07-07 11:28:28] local.INFO: Packet analysis {"connection_id":124332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b26"} 
[2026-07-07 11:28:28] local.INFO: Extracted packet for processing {"connection_id":124332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b26"} 
[2026-07-07 11:28:28] local.INFO: GPS Element Parsed {"raw_longitude":756750784,"raw_latitude":119566048,"longitude_deg":75.6750784,"latitude_deg":11.9566048,"altitude":80,"angle":75,"satellites":32,"speed":0,"hex_longitude":"2d1b19c0","hex_latitude":"07206ee0","is_valid_coordinates":true} 
[2026-07-07 11:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551365632001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4853016691736576,"note":"Value kept but may cause issues"} 
[2026-07-07 11:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1952803050283261952,"note":"Value kept but may cause issues"} 
[2026-07-07 11:28: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-07-07 11:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783403793000,"timestamp_ms":1783403793000,"timestamp_seconds":1783403793,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b264a68"} 
[2026-07-07 11:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-07 11:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551365632001,"66":13004,"121":206,"28":31744,"24":0,"16":4853016691736576,"45":1952803050283261952},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551365632001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:28:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:28:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4853016691736576,"km_value":4853016691736.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1952803050283261952,"description":"Unknown IO ID 45"} 
[2026-07-07 11:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551365632001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1952803050283261952}} 
[2026-07-07 11:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":124332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:28:28] local.INFO: GPS data processed {"connection_id":124332,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:28:28] local.INFO: Acknowledgment sent {"connection_id":124332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:28:42] local.INFO: TCP Data received {"connection_id":126363,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b269c70012d7d1f4005ca5a78000900ba27..."} 
[2026-07-07 11:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b269c70012d7d1f4005ca5a78000900ba27..."} 
[2026-07-07 11:28:42] local.INFO: Processing buffer {"connection_id":126363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b269c70012d7d1f4005ca5a78000900ba27..."} 
[2026-07-07 11:28:42] local.INFO: Packet analysis {"connection_id":126363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b26"} 
[2026-07-07 11:28:42] local.INFO: Extracted packet for processing {"connection_id":126363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b26"} 
[2026-07-07 11:28:42] local.INFO: GPS Element Parsed {"raw_longitude":763174720,"raw_latitude":97147512,"longitude_deg":76.317472,"latitude_deg":9.7147512,"altitude":9,"angle":186,"satellites":39,"speed":45,"hex_longitude":"2d7d1f40","hex_latitude":"05ca5a78","is_valid_coordinates":true} 
[2026-07-07 11:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551374336001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341039120769875968,"note":"Value kept but may cause issues"} 
[2026-07-07 11:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016910166309601280,"note":"Value kept but may cause issues"} 
[2026-07-07 11:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783403814000,"timestamp_ms":1783403814000,"timestamp_seconds":1783403814,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b269c70"} 
[2026-07-07 11:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:28: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-07-07 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 11:28: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-07-07 11:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551374336001,"66":27908,"203":206,"85":12288,"24":45,"16":341039120769875968,"45":9016910166309601280},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,85,24,16,45]} 
[2026-07-07 11:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551374336001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341039120769875968,"km_value":341039120769875.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016910166309601280,"description":"Unknown IO ID 45"} 
[2026-07-07 11:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551374336001,"power":27908,"mnc":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":9016910166309601280}} 
[2026-07-07 11:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":126363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:28:42] local.INFO: GPS data processed {"connection_id":126363,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:28:42] local.INFO: Acknowledgment sent {"connection_id":126363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:28:59] local.INFO: TCP Data received {"connection_id":124419,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:28:59] local.INFO: Processing buffer {"connection_id":124419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:28:59] local.INFO: IMEI packet received {"connection_id":124419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 11:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":124419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:29:00] local.INFO: TCP Data received {"connection_id":124332,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b269c70012d1b19c007206ee00050004b1e..."} 
[2026-07-07 11:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b269c70012d1b19c007206ee00050004b1e..."} 
[2026-07-07 11:29:00] local.INFO: Processing buffer {"connection_id":124332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b269c70012d1b19c007206ee00050004b1e..."} 
[2026-07-07 11:29:00] local.INFO: Packet analysis {"connection_id":124332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b26"} 
[2026-07-07 11:29:00] local.INFO: Extracted packet for processing {"connection_id":124332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b26"} 
[2026-07-07 11:29:00] local.INFO: GPS Element Parsed {"raw_longitude":756750784,"raw_latitude":119566048,"longitude_deg":75.6750784,"latitude_deg":11.9566048,"altitude":80,"angle":75,"satellites":30,"speed":0,"hex_longitude":"2d1b19c0","hex_latitude":"07206ee0","is_valid_coordinates":true} 
[2026-07-07 11:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551371008001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4853016691736576,"note":"Value kept but may cause issues"} 
[2026-07-07 11:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1952803050283261952,"note":"Value kept but may cause issues"} 
[2026-07-07 11:29: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-07-07 11:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783403814000,"timestamp_ms":1783403814000,"timestamp_seconds":1783403814,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b269c70"} 
[2026-07-07 11:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-07 11:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551371008001,"66":12950,"121":206,"28":31744,"24":0,"16":4853016691736576,"45":1952803050283261952},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551371008001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:29:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:29:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4853016691736576,"km_value":4853016691736.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1952803050283261952,"description":"Unknown IO ID 45"} 
[2026-07-07 11:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551371008001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1952803050283261952}} 
[2026-07-07 11:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":124332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:29:00] local.INFO: GPS data processed {"connection_id":124332,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:29:00] local.INFO: Acknowledgment sent {"connection_id":124332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:29:04] local.INFO: TCP Data received {"connection_id":126364,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:29:04] local.INFO: Processing buffer {"connection_id":126364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:29:04] local.INFO: IMEI packet received {"connection_id":126364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":126364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:29:11] local.INFO: TCP Data received {"connection_id":126364,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:29:11] local.INFO: Processing buffer {"connection_id":126364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:29:11] local.INFO: IMEI packet received {"connection_id":126364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":126364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:29:13] local.INFO: TCP Data received {"connection_id":126364,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b26bbb0012d7d1b8005ca3628000a00b925..."} 
[2026-07-07 11:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b26bbb0012d7d1b8005ca3628000a00b925..."} 
[2026-07-07 11:29:13] local.INFO: Processing buffer {"connection_id":126364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b26bbb0012d7d1b8005ca3628000a00b925..."} 
[2026-07-07 11:29:13] local.INFO: Packet analysis {"connection_id":126364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b26"} 
[2026-07-07 11:29:13] local.INFO: Extracted packet for processing {"connection_id":126364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b26"} 
[2026-07-07 11:29:13] local.INFO: GPS Element Parsed {"raw_longitude":763173760,"raw_latitude":97138216,"longitude_deg":76.317376,"latitude_deg":9.7138216,"altitude":10,"angle":185,"satellites":37,"speed":47,"hex_longitude":"2d7d1b80","hex_latitude":"05ca3628","is_valid_coordinates":true} 
[2026-07-07 11:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551376384001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341039576036409344,"note":"Value kept but may cause issues"} 
[2026-07-07 11:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015995372632963072,"note":"Value kept but may cause issues"} 
[2026-07-07 11:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783403822000,"timestamp_ms":1783403822000,"timestamp_seconds":1783403822,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b26bbb0"} 
[2026-07-07 11:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:29: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-07-07 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 11:29: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-07-07 11:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:29: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-07-07 11:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551376384001,"66":27974,"203":206,"85":12288,"24":47,"16":341039576036409344,"45":9015995372632963072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,85,24,16,45]} 
[2026-07-07 11:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551376384001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:29:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341039576036409344,"km_value":341039576036409.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015995372632963072,"description":"Unknown IO ID 45"} 
[2026-07-07 11:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551376384001,"power":27974,"mnc":206,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":9015995372632963072}} 
[2026-07-07 11:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":126364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:29:13] local.INFO: GPS data processed {"connection_id":126364,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:29:13] local.INFO: Acknowledgment sent {"connection_id":126364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:29:21] local.INFO: TCP Data received {"connection_id":124420,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:29:21] local.INFO: Processing buffer {"connection_id":124420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:29:21] local.INFO: IMEI packet received {"connection_id":124420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":124420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:29:22] local.INFO: TCP Data received {"connection_id":124420,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:29:22] local.INFO: Processing buffer {"connection_id":124420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:29:22] local.INFO: IMEI packet received {"connection_id":124420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":124420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:29:29] local.INFO: TCP Data received {"connection_id":124420,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:29:29] local.INFO: Processing buffer {"connection_id":124420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:29:29] local.INFO: IMEI packet received {"connection_id":124420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":124420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:29:30] local.INFO: TCP Data received {"connection_id":124420,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b26ee78012d1b19c007206ee00050004b1f..."} 
[2026-07-07 11:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b26ee78012d1b19c007206ee00050004b1f..."} 
[2026-07-07 11:29:30] local.INFO: Processing buffer {"connection_id":124420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b26ee78012d1b19c007206ee00050004b1f..."} 
[2026-07-07 11:29:30] local.INFO: Packet analysis {"connection_id":124420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b26"} 
[2026-07-07 11:29:30] local.INFO: Extracted packet for processing {"connection_id":124420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b26"} 
[2026-07-07 11:29:30] local.INFO: GPS Element Parsed {"raw_longitude":756750784,"raw_latitude":119566048,"longitude_deg":75.6750784,"latitude_deg":11.9566048,"altitude":80,"angle":75,"satellites":31,"speed":0,"hex_longitude":"2d1b19c0","hex_latitude":"07206ee0","is_valid_coordinates":true} 
[2026-07-07 11:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551376384001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4853016691736576,"note":"Value kept but may cause issues"} 
[2026-07-07 11:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1952803050283261952,"note":"Value kept but may cause issues"} 
[2026-07-07 11:29: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-07-07 11:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783403835000,"timestamp_ms":1783403835000,"timestamp_seconds":1783403835,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b26ee78"} 
[2026-07-07 11:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-07 11:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551376384001,"66":12939,"121":206,"28":31744,"24":0,"16":4853016691736576,"45":1952803050283261952},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551376384001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:29:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:29:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4853016691736576,"km_value":4853016691736.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1952803050283261952,"description":"Unknown IO ID 45"} 
[2026-07-07 11:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551376384001,"power":12939,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1952803050283261952}} 
[2026-07-07 11:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":124420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:29:30] local.INFO: GPS data processed {"connection_id":124420,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:29:30] local.INFO: Acknowledgment sent {"connection_id":124420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:29:56] local.INFO: TCP Data received {"connection_id":124421,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:29:56] local.INFO: Processing buffer {"connection_id":124421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:29:56] local.INFO: IMEI packet received {"connection_id":124421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":124421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:29:59] local.INFO: TCP Data received {"connection_id":124421,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:29:59] local.INFO: Processing buffer {"connection_id":124421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:29:59] local.INFO: IMEI packet received {"connection_id":124421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":124421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:30:00] local.INFO: TCP Data received {"connection_id":124421,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:30:00] local.INFO: Processing buffer {"connection_id":124421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:30:00] local.INFO: IMEI packet received {"connection_id":124421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":124421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:30:01] local.INFO: TCP Data received {"connection_id":124421,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:30:01] local.INFO: Processing buffer {"connection_id":124421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:30:01] local.INFO: IMEI packet received {"connection_id":124421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":124421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:30:02] local.INFO: TCP Data received {"connection_id":124420,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b28d6c0012d1ae0c0072060200046012821..."} 
[2026-07-07 11:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b28d6c0012d1ae0c0072060200046012821..."} 
[2026-07-07 11:30:02] local.INFO: Processing buffer {"connection_id":124420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b28d6c0012d1ae0c0072060200046012821..."} 
[2026-07-07 11:30:02] local.INFO: Packet analysis {"connection_id":124420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b28"} 
[2026-07-07 11:30:02] local.INFO: Extracted packet for processing {"connection_id":124420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b28"} 
[2026-07-07 11:30:02] local.INFO: GPS Element Parsed {"raw_longitude":756736192,"raw_latitude":119562272,"longitude_deg":75.6736192,"latitude_deg":11.9562272,"altitude":70,"angle":296,"satellites":33,"speed":9,"hex_longitude":"2d1ae0c0","hex_latitude":"07206020","is_valid_coordinates":true} 
[2026-07-07 11: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-07-07 11:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551409408001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4853794080817152,"note":"Value kept but may cause issues"} 
[2026-07-07 11:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944569907213604864,"note":"Value kept but may cause issues"} 
[2026-07-07 11:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783403960000,"timestamp_ms":1783403960000,"timestamp_seconds":1783403960,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b28d6c0"} 
[2026-07-07 11:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 11:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11: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-07-07 11:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551409408001,"66":14374,"121":206,"28":31744,"24":9,"16":4853794080817152,"45":1944569907213604864},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551409408001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:30:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:30:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4853794080817152,"km_value":4853794080817.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944569907213604864,"description":"Unknown IO ID 45"} 
[2026-07-07 11:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551409408001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1944569907213604864}} 
[2026-07-07 11:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":124420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:30:02] local.INFO: GPS data processed {"connection_id":124420,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:30:02] local.INFO: Acknowledgment sent {"connection_id":124420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:30:02] local.INFO: TCP Data received {"connection_id":124421,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b284e08012d7d0f8005c8c3f0000d00b229..."} 
[2026-07-07 11:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b284e08012d7d0f8005c8c3f0000d00b229..."} 
[2026-07-07 11:30:02] local.INFO: Processing buffer {"connection_id":124421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b284e08012d7d0f8005c8c3f0000d00b229..."} 
[2026-07-07 11:30:02] local.INFO: Packet analysis {"connection_id":124421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b28"} 
[2026-07-07 11:30:02] local.INFO: Extracted packet for processing {"connection_id":124421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b28"} 
[2026-07-07 11:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763170688,"raw_latitude":97043440,"longitude_deg":76.3170688,"latitude_deg":9.704344,"altitude":13,"angle":178,"satellites":41,"speed":26,"hex_longitude":"2d7d0f80","hex_latitude":"05c8c3f0","is_valid_coordinates":true} 
[2026-07-07 11: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-07-07 11:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551401472001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341044188831285248,"note":"Value kept but may cause issues"} 
[2026-07-07 11:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011139929260339200,"note":"Value kept but may cause issues"} 
[2026-07-07 11:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783403925000,"timestamp_ms":1783403925000,"timestamp_seconds":1783403925,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b284e08"} 
[2026-07-07 11:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 11:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11: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-07-07 11:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551401472001,"66":27974,"199":206,"85":12288,"24":26,"16":341044188831285248,"45":9011139929260339200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-07 11:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551401472001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:30:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-07 11:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341044188831285248,"km_value":341044188831285.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011139929260339200,"description":"Unknown IO ID 45"} 
[2026-07-07 11:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551401472001,"power":27974,"trip_odometer":0.206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9011139929260339200}} 
[2026-07-07 11:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":124421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:30:02] local.INFO: GPS data processed {"connection_id":124421,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:30:02] local.INFO: Acknowledgment sent {"connection_id":124421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:30:21] local.INFO: TCP Data received {"connection_id":126366,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:30:21] local.INFO: Processing buffer {"connection_id":126366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:30:21] local.INFO: IMEI packet received {"connection_id":126366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":126366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:30:23] local.INFO: TCP Data received {"connection_id":126366,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:30:23] local.INFO: Processing buffer {"connection_id":126366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:30:23] local.INFO: IMEI packet received {"connection_id":126366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":126366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:30:25] local.INFO: TCP Data received {"connection_id":126366,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:30:25] local.INFO: Processing buffer {"connection_id":126366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:30:25] local.INFO: IMEI packet received {"connection_id":126366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":126366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:30:26] local.INFO: TCP Data received {"connection_id":126366,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:30:26] local.INFO: Processing buffer {"connection_id":126366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:30:26] local.INFO: IMEI packet received {"connection_id":126366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":126366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:30:28] local.INFO: TCP Data received {"connection_id":126366,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b28daa8012d1ae040072060b00046013c21..."} 
[2026-07-07 11:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b28daa8012d1ae040072060b00046013c21..."} 
[2026-07-07 11:30:28] local.INFO: Processing buffer {"connection_id":126366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b28daa8012d1ae040072060b00046013c21..."} 
[2026-07-07 11:30:28] local.INFO: Packet analysis {"connection_id":126366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b28"} 
[2026-07-07 11:30:28] local.INFO: Extracted packet for processing {"connection_id":126366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b28"} 
[2026-07-07 11:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756736064,"raw_latitude":119562416,"longitude_deg":75.6736064,"latitude_deg":11.9562416,"altitude":70,"angle":316,"satellites":33,"speed":9,"hex_longitude":"2d1ae040","hex_latitude":"072060b0","is_valid_coordinates":true} 
[2026-07-07 11:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551413760001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4853802670751744,"note":"Value kept but may cause issues"} 
[2026-07-07 11:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976609787904,"note":"Value kept but may cause issues"} 
[2026-07-07 11:30: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-07-07 11:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783403961000,"timestamp_ms":1783403961000,"timestamp_seconds":1783403961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b28daa8"} 
[2026-07-07 11:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 11:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551413760001,"66":14080,"121":206,"28":31744,"24":9,"16":4853802670751744,"45":1936758976609787904},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551413760001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:30:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:30:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4853802670751744,"km_value":4853802670751.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976609787904,"description":"Unknown IO ID 45"} 
[2026-07-07 11:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551413760001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1936758976609787904}} 
[2026-07-07 11:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":126366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:30:28] local.INFO: GPS data processed {"connection_id":126366,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:30:28] local.INFO: Acknowledgment sent {"connection_id":126366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:30:34] local.INFO: TCP Data received {"connection_id":124421,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2880d0012d7d114005c8a148000d00ae2a..."} 
[2026-07-07 11:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2880d0012d7d114005c8a148000d00ae2a..."} 
[2026-07-07 11:30:34] local.INFO: Processing buffer {"connection_id":124421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2880d0012d7d114005c8a148000d00ae2a..."} 
[2026-07-07 11:30:34] local.INFO: Packet analysis {"connection_id":124421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b28"} 
[2026-07-07 11:30:34] local.INFO: Extracted packet for processing {"connection_id":124421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b28"} 
[2026-07-07 11:30:34] local.INFO: GPS Element Parsed {"raw_longitude":763171136,"raw_latitude":97034568,"longitude_deg":76.3171136,"latitude_deg":9.7034568,"altitude":13,"angle":174,"satellites":42,"speed":30,"hex_longitude":"2d7d1140","hex_latitude":"05c8a148","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551404800001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341044618328014848,"note":"Value kept but may cause issues"} 
[2026-07-07 11:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011562141723127808,"note":"Value kept but may cause issues"} 
[2026-07-07 11:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783403938000,"timestamp_ms":1783403938000,"timestamp_seconds":1783403938,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2880d0"} 
[2026-07-07 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-07-07 11:30: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-07-07 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 11:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 11:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551404800001,"66":27876,"199":206,"85":12288,"24":30,"16":341044618328014848,"45":9011562141723127808},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-07 11:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551404800001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:30:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-07 11:30:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341044618328014848,"km_value":341044618328014.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011562141723127808,"description":"Unknown IO ID 45"} 
[2026-07-07 11:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551404800001,"power":27876,"trip_odometer":0.206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":9011562141723127808}} 
[2026-07-07 11:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":124421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:30:34] local.INFO: GPS data processed {"connection_id":124421,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:30:34] local.INFO: Acknowledgment sent {"connection_id":124421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:30:59] local.INFO: TCP Data received {"connection_id":126366,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b29b180012d1a9ac007206290003f00a921..."} 
[2026-07-07 11:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b29b180012d1a9ac007206290003f00a921..."} 
[2026-07-07 11:30:59] local.INFO: Processing buffer {"connection_id":126366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b29b180012d1a9ac007206290003f00a921..."} 
[2026-07-07 11:30:59] local.INFO: Packet analysis {"connection_id":126366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b29"} 
[2026-07-07 11:30:59] local.INFO: Extracted packet for processing {"connection_id":126366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b29"} 
[2026-07-07 11:30:59] local.INFO: GPS Element Parsed {"raw_longitude":756718272,"raw_latitude":119562896,"longitude_deg":75.6718272,"latitude_deg":11.9562896,"altitude":63,"angle":169,"satellites":33,"speed":12,"hex_longitude":"2d1a9ac0","hex_latitude":"07206290","is_valid_coordinates":true} 
[2026-07-07 11:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551427584001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854794808197120,"note":"Value kept but may cause issues"} 
[2026-07-07 11:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1917196465728718848,"note":"Value kept but may cause issues"} 
[2026-07-07 11:30: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-07-07 11:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783404016000,"timestamp_ms":1783404016000,"timestamp_seconds":1783404016,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b29b180"} 
[2026-07-07 11:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 11:30: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-07-07 11:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":126366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":126366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":126366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551427584001,"66":14428,"121":206,"28":31744,"24":12,"16":4854794808197120,"45":1917196465728718848},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551427584001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:30:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:30:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854794808197120,"km_value":4854794808197.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1917196465728718848,"description":"Unknown IO ID 45"} 
[2026-07-07 11:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551427584001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1917196465728718848}} 
[2026-07-07 11:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":126366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:30:59] local.INFO: GPS data processed {"connection_id":126366,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:30:59] local.INFO: Acknowledgment sent {"connection_id":126366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:30:59] local.INFO: TCP Data received {"connection_id":126367,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:30:59] local.INFO: Processing buffer {"connection_id":126367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:30:59] local.INFO: IMEI packet received {"connection_id":126367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":126367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:31:04] local.INFO: TCP Data received {"connection_id":126367,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:31:04] local.INFO: Processing buffer {"connection_id":126367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:31:04] local.INFO: IMEI packet received {"connection_id":126367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":126367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:31:05] local.INFO: TCP Data received {"connection_id":126367,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b28a7e0012d7d168005c87ec8000c00ab2a..."} 
[2026-07-07 11:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b28a7e0012d7d168005c87ec8000c00ab2a..."} 
[2026-07-07 11:31:05] local.INFO: Processing buffer {"connection_id":126367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b28a7e0012d7d168005c87ec8000c00ab2a..."} 
[2026-07-07 11:31:05] local.INFO: Packet analysis {"connection_id":126367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b28"} 
[2026-07-07 11:31:05] local.INFO: Extracted packet for processing {"connection_id":126367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b28"} 
[2026-07-07 11:31:05] local.INFO: GPS Element Parsed {"raw_longitude":763172480,"raw_latitude":97025736,"longitude_deg":76.317248,"latitude_deg":9.7025736,"altitude":12,"angle":171,"satellites":42,"speed":37,"hex_longitude":"2d7d1680","hex_latitude":"05c87ec8","is_valid_coordinates":true} 
[2026-07-07 11:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551408128001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341045052119711744,"note":"Value kept but may cause issues"} 
[2026-07-07 11:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012054722930100224,"note":"Value kept but may cause issues"} 
[2026-07-07 11:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783403948000,"timestamp_ms":1783403948000,"timestamp_seconds":1783403948,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b28a7e0"} 
[2026-07-07 11:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 11:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551408128001,"66":27908,"199":206,"85":12288,"24":37,"16":341045052119711744,"45":9012054722930100224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-07 11:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551408128001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:31:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-07 11:31:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341045052119711744,"km_value":341045052119711.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012054722930100224,"description":"Unknown IO ID 45"} 
[2026-07-07 11:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551408128001,"power":27908,"trip_odometer":0.206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9012054722930100224}} 
[2026-07-07 11:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":126367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:31:06] local.INFO: GPS data processed {"connection_id":126367,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:31:06] local.INFO: Acknowledgment sent {"connection_id":126367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:31:27] local.INFO: TCP Data received {"connection_id":124334,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:31:27] local.INFO: Processing buffer {"connection_id":124334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:31:27] local.INFO: IMEI packet received {"connection_id":124334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":124334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:31:28] local.INFO: TCP Data received {"connection_id":124334,"ip":"117.224.141.66","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 11:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124334,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 11:31:28] local.INFO: Processing buffer {"connection_id":124334,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 11:31:28] local.INFO: IMEI packet received {"connection_id":124334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":124334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:31:29] local.INFO: TCP Data received {"connection_id":124334,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b29bd38012d1a9b4007205f10004000bb21..."} 
[2026-07-07 11:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b29bd38012d1a9b4007205f10004000bb21..."} 
[2026-07-07 11:31:29] local.INFO: Processing buffer {"connection_id":124334,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f3b..."} 
[2026-07-07 11:31:29] local.INFO: IMEI packet received {"connection_id":124334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":124334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:31:30] local.INFO: TCP Data received {"connection_id":124334,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b29c120012d1a9ac007205e38004000c921..."} 
[2026-07-07 11:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b29c120012d1a9ac007205e38004000c921..."} 
[2026-07-07 11:31:30] local.INFO: Processing buffer {"connection_id":124334,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3b29bd38012d1a9b4007205f10004000bb21..."} 
[2026-07-07 11:31:30] local.INFO: Packet analysis {"connection_id":124334,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3b29"} 
[2026-07-07 11:31:30] local.INFO: Extracted packet for processing {"connection_id":124334,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b29"} 
[2026-07-07 11:31:30] local.INFO: GPS Element Parsed {"raw_longitude":756718400,"raw_latitude":119562000,"longitude_deg":75.67184,"latitude_deg":11.9562,"altitude":64,"angle":187,"satellites":33,"speed":10,"hex_longitude":"2d1a9b40","hex_latitude":"07205f10","is_valid_coordinates":true} 
[2026-07-07 11:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551428096001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854837757870080,"note":"Value kept but may cause issues"} 
[2026-07-07 11:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1917055728240201728,"note":"Value kept but may cause issues"} 
[2026-07-07 11:31: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-07-07 11:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783404019000,"timestamp_ms":1783404019000,"timestamp_seconds":1783404019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b29bd38"} 
[2026-07-07 11:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 11:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551428096001,"66":14494,"121":206,"28":31744,"24":10,"16":4854837757870080,"45":1917055728240201728},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551428096001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:31:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:31:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854837757870080,"km_value":4854837757870.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1917055728240201728,"description":"Unknown IO ID 45"} 
[2026-07-07 11:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551428096001,"power":14494,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1917055728240201728}} 
[2026-07-07 11:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":124334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:31:30] local.INFO: GPS data processed {"connection_id":124334,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:31:30] local.INFO: Acknowledgment sent {"connection_id":124334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:31:30] local.INFO: Packet analysis {"connection_id":124334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b29"} 
[2026-07-07 11:31:30] local.INFO: Extracted packet for processing {"connection_id":124334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b29"} 
[2026-07-07 11:31:30] local.INFO: GPS Element Parsed {"raw_longitude":756718272,"raw_latitude":119561784,"longitude_deg":75.6718272,"latitude_deg":11.9561784,"altitude":64,"angle":201,"satellites":33,"speed":7,"hex_longitude":"2d1a9ac0","hex_latitude":"07205e38","is_valid_coordinates":true} 
[2026-07-07 11:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551428864001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854850642771968,"note":"Value kept but may cause issues"} 
[2026-07-07 11:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1917196465728327680,"note":"Value kept but may cause issues"} 
[2026-07-07 11:31: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-07-07 11:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783404020000,"timestamp_ms":1783404020000,"timestamp_seconds":1783404020,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b29c120"} 
[2026-07-07 11:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-07 11:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551428864001,"66":14494,"121":206,"28":31744,"24":7,"16":4854850642771968,"45":1917196465728327680},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551428864001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:31:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:31:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854850642771968,"km_value":4854850642771.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1917196465728327680,"description":"Unknown IO ID 45"} 
[2026-07-07 11:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551428864001,"power":14494,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1917196465728327680}} 
[2026-07-07 11:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":124334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:31:30] local.INFO: GPS data processed {"connection_id":124334,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:31:30] local.INFO: Acknowledgment sent {"connection_id":124334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:31:31] local.INFO: TCP Data received {"connection_id":124334,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2a0770012d1a990007205d00004100f020..."} 
[2026-07-07 11:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2a0770012d1a990007205d00004100f020..."} 
[2026-07-07 11:31:31] local.INFO: Processing buffer {"connection_id":124334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2a0770012d1a990007205d00004100f020..."} 
[2026-07-07 11:31:31] local.INFO: Packet analysis {"connection_id":124334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2a"} 
[2026-07-07 11:31:31] local.INFO: Extracted packet for processing {"connection_id":124334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2a"} 
[2026-07-07 11:31:31] local.INFO: GPS Element Parsed {"raw_longitude":756717824,"raw_latitude":119561472,"longitude_deg":75.6717824,"latitude_deg":11.9561472,"altitude":65,"angle":240,"satellites":32,"speed":4,"hex_longitude":"2d1a9900","hex_latitude":"07205d00","is_valid_coordinates":true} 
[2026-07-07 11:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551429120001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854876412575744,"note":"Value kept but may cause issues"} 
[2026-07-07 11:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1917055728239917056,"note":"Value kept but may cause issues"} 
[2026-07-07 11:31: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-07-07 11:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783404038000,"timestamp_ms":1783404038000,"timestamp_seconds":1783404038,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2a0770"} 
[2026-07-07 11:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-07 11:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":124334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":124334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":124334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551429120001,"66":14515,"121":206,"28":31744,"24":4,"16":4854876412575744,"45":1917055728239917056},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551429120001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:31:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:31:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854876412575744,"km_value":4854876412575.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1917055728239917056,"description":"Unknown IO ID 45"} 
[2026-07-07 11:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551429120001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1917055728239917056}} 
[2026-07-07 11:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":124334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:31:31] local.INFO: GPS data processed {"connection_id":124334,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:31:31] local.INFO: Acknowledgment sent {"connection_id":124334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:31:36] local.INFO: TCP Data received {"connection_id":126367,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b28cef0012d7d1c0005c85c10000a00a92a..."} 
[2026-07-07 11:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b28cef0012d7d1c0005c85c10000a00a92a..."} 
[2026-07-07 11:31:36] local.INFO: Processing buffer {"connection_id":126367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b28cef0012d7d1c0005c85c10000a00a92a..."} 
[2026-07-07 11:31:36] local.INFO: Packet analysis {"connection_id":126367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b28"} 
[2026-07-07 11:31:36] local.INFO: Extracted packet for processing {"connection_id":126367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b28"} 
[2026-07-07 11:31:36] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":97016848,"longitude_deg":76.3173888,"latitude_deg":9.7016848,"altitude":10,"angle":169,"satellites":42,"speed":31,"hex_longitude":"2d7d1c00","hex_latitude":"05c85c10","is_valid_coordinates":true} 
[2026-07-07 11: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-07-07 11:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551410688001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:31:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-07 11:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341045485911408640,"note":"Value kept but may cause issues"} 
[2026-07-07 11:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013532466555570176,"note":"Value kept but may cause issues"} 
[2026-07-07 11:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-07 11:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783403958000,"timestamp_ms":1783403958000,"timestamp_seconds":1783403958,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b28cef0"} 
[2026-07-07 11:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:31: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-07-07 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 11:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11: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-07-07 11:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551410688001,"66":27137,"200":0,"85":12288,"24":31,"16":341045485911408640,"45":9013532466555570176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-07 11:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551410688001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:31:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341045485911408640,"km_value":341045485911408.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013532466555570176,"description":"Unknown IO ID 45"} 
[2026-07-07 11:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551410688001,"power":27137,"gsm_signal":0,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9013532466555570176}} 
[2026-07-07 11:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":126367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:31:37] local.INFO: GPS data processed {"connection_id":126367,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:31:37] local.INFO: Acknowledgment sent {"connection_id":126367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:31:59] local.INFO: TCP Data received {"connection_id":126369,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:31:59] local.INFO: Processing buffer {"connection_id":126369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:31:59] local.INFO: IMEI packet received {"connection_id":126369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":126369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:32:02] local.INFO: TCP Data received {"connection_id":126369,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:32:02] local.INFO: Processing buffer {"connection_id":126369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:32:02] local.INFO: IMEI packet received {"connection_id":126369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":126369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:32:03] local.INFO: TCP Data received {"connection_id":124334,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2a8c40012d1a6ac007204a980040012220..."} 
[2026-07-07 11:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2a8c40012d1a6ac007204a980040012220..."} 
[2026-07-07 11:32:03] local.INFO: Processing buffer {"connection_id":124334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2a8c40012d1a6ac007204a980040012220..."} 
[2026-07-07 11:32:03] local.INFO: Packet analysis {"connection_id":124334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2a"} 
[2026-07-07 11:32:03] local.INFO: Extracted packet for processing {"connection_id":124334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2a"} 
[2026-07-07 11:32:03] local.INFO: GPS Element Parsed {"raw_longitude":756705984,"raw_latitude":119556760,"longitude_deg":75.6705984,"latitude_deg":11.955676,"altitude":64,"angle":290,"satellites":32,"speed":23,"hex_longitude":"2d1a6ac0","hex_latitude":"07204a98","is_valid_coordinates":true} 
[2026-07-07 11:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551440384001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4855623736885248,"note":"Value kept but may cause issues"} 
[2026-07-07 11:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1909385535123148800,"note":"Value kept but may cause issues"} 
[2026-07-07 11:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783404072000,"timestamp_ms":1783404072000,"timestamp_seconds":1783404072,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2a8c40"} 
[2026-07-07 11:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 11:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551440384001,"66":14559,"121":206,"28":31744,"24":23,"16":4855623736885248,"45":1909385535123148800},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551440384001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:32:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:32:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4855623736885248,"km_value":4855623736885.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1909385535123148800,"description":"Unknown IO ID 45"} 
[2026-07-07 11:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551440384001,"power":14559,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1909385535123148800}} 
[2026-07-07 11:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":124334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:32:03] local.INFO: GPS data processed {"connection_id":124334,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:32:03] local.INFO: Acknowledgment sent {"connection_id":124334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:32:04] local.INFO: TCP Data received {"connection_id":126369,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:32:04] local.INFO: Processing buffer {"connection_id":126369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:32:04] local.INFO: IMEI packet received {"connection_id":126369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":126369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:32:05] local.INFO: TCP Data received {"connection_id":126369,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2a6918012d7dad0005c75b700009007b28..."} 
[2026-07-07 11:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2a6918012d7dad0005c75b700009007b28..."} 
[2026-07-07 11:32:05] local.INFO: Processing buffer {"connection_id":126369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2a6918012d7dad0005c75b700009007b28..."} 
[2026-07-07 11:32:05] local.INFO: Packet analysis {"connection_id":126369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2a"} 
[2026-07-07 11:32:05] local.INFO: Extracted packet for processing {"connection_id":126369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2a"} 
[2026-07-07 11:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763211008,"raw_latitude":96951152,"longitude_deg":76.3211008,"latitude_deg":9.6951152,"altitude":9,"angle":123,"satellites":40,"speed":32,"hex_longitude":"2d7dad00","hex_latitude":"05c75b70","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551437312001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:32:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-07 11:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341049269777596416,"note":"Value kept but may cause issues"} 
[2026-07-07 11:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9047590938719840256,"note":"Value kept but may cause issues"} 
[2026-07-07 11:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-07 11:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783404063000,"timestamp_ms":1783404063000,"timestamp_seconds":1783404063,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2a6918"} 
[2026-07-07 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-07-07 11:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 11:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 11:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551437312001,"66":27908,"200":0,"85":12288,"24":32,"16":341049269777596416,"45":9047590938719840256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-07 11:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551437312001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:32:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341049269777596416,"km_value":341049269777596.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9047590938719840256,"description":"Unknown IO ID 45"} 
[2026-07-07 11:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551437312001,"power":27908,"gsm_signal":0,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9047590938719840256}} 
[2026-07-07 11:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":126369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:32:05] local.INFO: GPS data processed {"connection_id":126369,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:32:05] local.INFO: Acknowledgment sent {"connection_id":126369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:32:11] local.INFO: TCP Data received {"connection_id":126369,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2a8088012d7dba0005c751e80009008828..."} 
[2026-07-07 11:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2a8088012d7dba0005c751e80009008828..."} 
[2026-07-07 11:32:11] local.INFO: Processing buffer {"connection_id":126369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2a8088012d7dba0005c751e80009008828..."} 
[2026-07-07 11:32:11] local.INFO: Packet analysis {"connection_id":126369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2a"} 
[2026-07-07 11:32:11] local.INFO: Extracted packet for processing {"connection_id":126369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2a"} 
[2026-07-07 11:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763214336,"raw_latitude":96948712,"longitude_deg":76.3214336,"latitude_deg":9.6948712,"altitude":9,"angle":136,"satellites":40,"speed":24,"hex_longitude":"2d7dba00","hex_latitude":"05c751e8","is_valid_coordinates":true} 
[2026-07-07 11:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551440128001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:32:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-07 11:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341049471641059328,"note":"Value kept but may cause issues"} 
[2026-07-07 11:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9055894450531430400,"note":"Value kept but may cause issues"} 
[2026-07-07 11:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-07 11:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783404069000,"timestamp_ms":1783404069000,"timestamp_seconds":1783404069,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2a8088"} 
[2026-07-07 11:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11: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-07-07 11: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-07-07 11: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-07-07 11:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551440128001,"66":27821,"200":0,"85":12288,"24":24,"16":341049471641059328,"45":9055894450531430400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-07 11:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551440128001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341049471641059328,"km_value":341049471641059.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9055894450531430400,"description":"Unknown IO ID 45"} 
[2026-07-07 11:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551440128001,"power":27821,"gsm_signal":0,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9055894450531430400}} 
[2026-07-07 11:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":126369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:32:11] local.INFO: GPS data processed {"connection_id":126369,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:32:11] local.INFO: Acknowledgment sent {"connection_id":126369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:32:22] local.INFO: TCP Data received {"connection_id":125119,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:32:22] local.INFO: Processing buffer {"connection_id":125119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:32:22] local.INFO: IMEI packet received {"connection_id":125119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":125119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:32:27] local.INFO: TCP Data received {"connection_id":125119,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:32:27] local.INFO: Processing buffer {"connection_id":125119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:32:27] local.INFO: IMEI packet received {"connection_id":125119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":125119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:32:29] local.INFO: TCP Data received {"connection_id":125119,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2a97f8012d1a644007204c580040011120..."} 
[2026-07-07 11:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2a97f8012d1a644007204c580040011120..."} 
[2026-07-07 11:32:29] local.INFO: Processing buffer {"connection_id":125119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2a97f8012d1a644007204c580040011120..."} 
[2026-07-07 11:32:29] local.INFO: Packet analysis {"connection_id":125119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2a"} 
[2026-07-07 11:32:29] local.INFO: Extracted packet for processing {"connection_id":125119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2a"} 
[2026-07-07 11:32:29] local.INFO: GPS Element Parsed {"raw_longitude":756704320,"raw_latitude":119557208,"longitude_deg":75.670432,"latitude_deg":11.9557208,"altitude":64,"angle":273,"satellites":32,"speed":21,"hex_longitude":"2d1a6440","hex_latitude":"07204c58","is_valid_coordinates":true} 
[2026-07-07 11:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551442432001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4855709636231168,"note":"Value kept but may cause issues"} 
[2026-07-07 11:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903544929356519424,"note":"Value kept but may cause issues"} 
[2026-07-07 11:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783404075000,"timestamp_ms":1783404075000,"timestamp_seconds":1783404075,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2a97f8"} 
[2026-07-07 11:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 11:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551442432001,"66":14439,"121":206,"28":31744,"24":21,"16":4855709636231168,"45":1903544929356519424},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551442432001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:32:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:32:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4855709636231168,"km_value":4855709636231.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903544929356519424,"description":"Unknown IO ID 45"} 
[2026-07-07 11:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551442432001,"power":14439,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1903544929356519424}} 
[2026-07-07 11:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":125119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:32:29] local.INFO: GPS data processed {"connection_id":125119,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:32:29] local.INFO: Acknowledgment sent {"connection_id":125119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:32:59] local.INFO: TCP Data received {"connection_id":124335,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:32:59] local.INFO: Processing buffer {"connection_id":124335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:32:59] local.INFO: IMEI packet received {"connection_id":124335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":124335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:33:00] local.INFO: TCP Data received {"connection_id":124335,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:33:00] local.INFO: Processing buffer {"connection_id":124335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:33:00] local.INFO: IMEI packet received {"connection_id":124335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":124335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:33:00] local.INFO: TCP Data received {"connection_id":125119,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2a9fc8012d1a600007204c280040010420..."} 
[2026-07-07 11:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2a9fc8012d1a600007204c280040010420..."} 
[2026-07-07 11:33:00] local.INFO: Processing buffer {"connection_id":125119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2a9fc8012d1a600007204c280040010420..."} 
[2026-07-07 11:33:00] local.INFO: Packet analysis {"connection_id":125119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2a"} 
[2026-07-07 11:33:00] local.INFO: Extracted packet for processing {"connection_id":125119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2a"} 
[2026-07-07 11:33:00] local.INFO: GPS Element Parsed {"raw_longitude":756703232,"raw_latitude":119557160,"longitude_deg":75.6703232,"latitude_deg":11.955716,"altitude":64,"angle":260,"satellites":32,"speed":21,"hex_longitude":"2d1a6000","hex_latitude":"07204c28","is_valid_coordinates":true} 
[2026-07-07 11:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551443200001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4855756880871424,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901715342008014848,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33: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-07-07 11:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783404077000,"timestamp_ms":1783404077000,"timestamp_seconds":1783404077,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2a9fc8"} 
[2026-07-07 11:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 11:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551443200001,"66":13580,"121":206,"28":31744,"24":21,"16":4855756880871424,"45":1901715342008014848},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551443200001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:33:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:33:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4855756880871424,"km_value":4855756880871.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901715342008014848,"description":"Unknown IO ID 45"} 
[2026-07-07 11:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551443200001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1901715342008014848}} 
[2026-07-07 11:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":125119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:33:00] local.INFO: GPS data processed {"connection_id":125119,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:33:00] local.INFO: Acknowledgment sent {"connection_id":125119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:33:04] local.INFO: TCP Data received {"connection_id":124335,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:33:04] local.INFO: Processing buffer {"connection_id":124335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:33:04] local.INFO: IMEI packet received {"connection_id":124335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":124335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:33:05] local.INFO: TCP Data received {"connection_id":124335,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2a9410012d7dc38005c748400009007928..."} 
[2026-07-07 11:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2a9410012d7dc38005c748400009007928..."} 
[2026-07-07 11:33:05] local.INFO: Processing buffer {"connection_id":124335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2a9410012d7dc38005c748400009007928..."} 
[2026-07-07 11:33:05] local.INFO: Packet analysis {"connection_id":124335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2a"} 
[2026-07-07 11:33:05] local.INFO: Extracted packet for processing {"connection_id":124335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2a"} 
[2026-07-07 11:33:05] local.INFO: GPS Element Parsed {"raw_longitude":763216768,"raw_latitude":96946240,"longitude_deg":76.3216768,"latitude_deg":9.694624,"altitude":9,"angle":121,"satellites":40,"speed":31,"hex_longitude":"2d7dc380","hex_latitude":"05c74840","is_valid_coordinates":true} 
[2026-07-07 11:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551441664001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-07 11:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341049639144783872,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9059553625228044288,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-07 11:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783404074000,"timestamp_ms":1783404074000,"timestamp_seconds":1783404074,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2a9410"} 
[2026-07-07 11:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 11:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551441664001,"66":27919,"200":0,"85":12288,"24":31,"16":341049639144783872,"45":9059553625228044288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-07 11:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551441664001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:33:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341049639144783872,"km_value":341049639144783.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9059553625228044288,"description":"Unknown IO ID 45"} 
[2026-07-07 11:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551441664001,"power":27919,"gsm_signal":0,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9059553625228044288}} 
[2026-07-07 11:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":124335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:33:05] local.INFO: GPS data processed {"connection_id":124335,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:33:05] local.INFO: Acknowledgment sent {"connection_id":124335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:33:22] local.INFO: TCP Data received {"connection_id":124422,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:33:22] local.INFO: Processing buffer {"connection_id":124422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:33:22] local.INFO: IMEI packet received {"connection_id":124422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":124422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:33:27] local.INFO: TCP Data received {"connection_id":124422,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:33:27] local.INFO: Processing buffer {"connection_id":124422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:33:27] local.INFO: IMEI packet received {"connection_id":124422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":124422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:33:28] local.INFO: TCP Data received {"connection_id":124422,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2ade48012d1a3c00072042f8003d00ff20..."} 
[2026-07-07 11:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2ade48012d1a3c00072042f8003d00ff20..."} 
[2026-07-07 11:33:28] local.INFO: Processing buffer {"connection_id":124422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2ade48012d1a3c00072042f8003d00ff20..."} 
[2026-07-07 11:33:28] local.INFO: Packet analysis {"connection_id":124422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2a"} 
[2026-07-07 11:33:28] local.INFO: Extracted packet for processing {"connection_id":124422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2a"} 
[2026-07-07 11:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756694016,"raw_latitude":119554808,"longitude_deg":75.6694016,"latitude_deg":11.9554808,"altitude":61,"angle":255,"satellites":32,"speed":20,"hex_longitude":"2d1a3c00","hex_latitude":"072042f8","is_valid_coordinates":true} 
[2026-07-07 11:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551443712001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4856212147404800,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900519073356982272,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33: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-07-07 11:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783404093000,"timestamp_ms":1783404093000,"timestamp_seconds":1783404093,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2ade48"} 
[2026-07-07 11:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-07 11:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867790143,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18640110833493881,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-07 11:33:28] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3221692489,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33:28] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2466303463,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33:28] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33:28] local.WARNING: Large IO value detected {"io_id":26,"raw_value":-8556831456710623168,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33:28] local.WARNING: Large IO value detected {"io_id":57,"raw_value":1513435868847722012,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33:28] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755472455631089,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33:28] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,64,159,151,45,76,32,10,66,140,192,74,109,128,1,240,147,63,59,4,113,205,20,97,134,56,33,239,2,17,7,26,57,124],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-07 11:33:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611972028890939392,"timestamp_seconds":4611972028890939.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 11:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551443712001,"66":14189,"121":206,"28":31744,"24":20,"16":4856212147404800,"45":1900519073356982272},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551443712001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:33:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:33:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4856212147404800,"km_value":4856212147404.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900519073356982272,"description":"Unknown IO ID 45"} 
[2026-07-07 11:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551443712001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1900519073356982272}} 
[2026-07-07 11:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":124422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:33:28] local.INFO: GPS data processed {"connection_id":124422,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:33:28] local.INFO: Acknowledgment sent {"connection_id":124422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:33:36] local.INFO: TCP Data received {"connection_id":124335,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2abb20012d7de0c005c733200009007e28..."} 
[2026-07-07 11:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2abb20012d7de0c005c733200009007e28..."} 
[2026-07-07 11:33:36] local.INFO: Processing buffer {"connection_id":124335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2abb20012d7de0c005c733200009007e28..."} 
[2026-07-07 11:33:36] local.INFO: Packet analysis {"connection_id":124335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2a"} 
[2026-07-07 11:33:36] local.INFO: Extracted packet for processing {"connection_id":124335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2a"} 
[2026-07-07 11:33:36] local.INFO: GPS Element Parsed {"raw_longitude":763224256,"raw_latitude":96940832,"longitude_deg":76.3224256,"latitude_deg":9.6940832,"altitude":9,"angle":126,"satellites":40,"speed":41,"hex_longitude":"2d7de0c0","hex_latitude":"05c73320","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551442944001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-07 11:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341050081526415360,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062227637506162688,"note":"Value kept but may cause issues"} 
[2026-07-07 11:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-07 11:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783404084000,"timestamp_ms":1783404084000,"timestamp_seconds":1783404084,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2abb20"} 
[2026-07-07 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-07-07 11:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 11:33: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-07-07 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-07-07 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-07-07 11:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551442944001,"66":27865,"200":0,"85":12288,"24":41,"16":341050081526415360,"45":9062227637506162688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-07 11:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551442944001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:33:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341050081526415360,"km_value":341050081526415.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062227637506162688,"description":"Unknown IO ID 45"} 
[2026-07-07 11:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551442944001,"power":27865,"gsm_signal":0,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9062227637506162688}} 
[2026-07-07 11:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":124335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:33:36] local.INFO: GPS data processed {"connection_id":124335,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:33:36] local.INFO: Acknowledgment sent {"connection_id":124335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:34:00] local.INFO: TCP Data received {"connection_id":124422,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2c3dd8012d19cb0007201f600033013620..."} 
[2026-07-07 11:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2c3dd8012d19cb0007201f600033013620..."} 
[2026-07-07 11:34:00] local.INFO: Processing buffer {"connection_id":124422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2c3dd8012d19cb0007201f600033013620..."} 
[2026-07-07 11:34:00] local.INFO: Packet analysis {"connection_id":124422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2c"} 
[2026-07-07 11:34:00] local.INFO: Extracted packet for processing {"connection_id":124422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2c"} 
[2026-07-07 11:34:00] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119545696,"longitude_deg":75.6665088,"latitude_deg":11.9545696,"altitude":51,"angle":310,"satellites":32,"speed":10,"hex_longitude":"2d19cb00","hex_latitude":"07201f60","is_valid_coordinates":true} 
[2026-07-07 11: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-07-07 11:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551470592001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4857732565827584,"note":"Value kept but may cause issues"} 
[2026-07-07 11:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858790408056664064,"note":"Value kept but may cause issues"} 
[2026-07-07 11:34: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-07-07 11:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783404183000,"timestamp_ms":1783404183000,"timestamp_seconds":1783404183,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2c3dd8"} 
[2026-07-07 11:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":27,"data_length":795,"current_offset":136} 
[2026-07-07 11:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11: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-07-07 11:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551470592001,"66":14374,"121":206,"28":31744,"24":10,"16":4857732565827584,"45":1858790408056664064},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551470592001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:34:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:34:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4857732565827584,"km_value":4857732565827.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858790408056664064,"description":"Unknown IO ID 45"} 
[2026-07-07 11:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551470592001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1858790408056664064}} 
[2026-07-07 11:34:00] local.INFO: TCP Data received {"connection_id":125121,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:34:00] local.INFO: Processing buffer {"connection_id":125121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:34:00] local.INFO: IMEI packet received {"connection_id":125121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":125121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":124422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:34:00] local.INFO: GPS data processed {"connection_id":124422,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:34:00] local.INFO: Acknowledgment sent {"connection_id":124422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:34:04] local.INFO: TCP Data received {"connection_id":125121,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:34:04] local.INFO: Processing buffer {"connection_id":125121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:34:04] local.INFO: IMEI packet received {"connection_id":125121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":125121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:34:09] local.INFO: TCP Data received {"connection_id":125121,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:34:09] local.INFO: Processing buffer {"connection_id":125121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:34:09] local.INFO: IMEI packet received {"connection_id":125121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":125121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:34:10] local.INFO: TCP Data received {"connection_id":125121,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2c16c8012d7f138005c644080008009028..."} 
[2026-07-07 11:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2c16c8012d7f138005c644080008009028..."} 
[2026-07-07 11:34:10] local.INFO: Processing buffer {"connection_id":125121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2c16c8012d7f138005c644080008009028..."} 
[2026-07-07 11:34:10] local.INFO: Packet analysis {"connection_id":125121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2c"} 
[2026-07-07 11:34:10] local.INFO: Extracted packet for processing {"connection_id":125121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2c"} 
[2026-07-07 11:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763302784,"raw_latitude":96879624,"longitude_deg":76.3302784,"latitude_deg":9.6879624,"altitude":8,"angle":144,"satellites":40,"speed":35,"hex_longitude":"2d7f1380","hex_latitude":"05c64408","is_valid_coordinates":true} 
[2026-07-07 11:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551465728001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341054896184754176,"note":"Value kept but may cause issues"} 
[2026-07-07 11:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150681148922378240,"note":"Value kept but may cause issues"} 
[2026-07-07 11:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783404173000,"timestamp_ms":1783404173000,"timestamp_seconds":1783404173,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2c16c8"} 
[2026-07-07 11:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11: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-07-07 11:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 11:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551465728001,"66":27843,"100":206,"85":12288,"24":35,"16":341054896184754176,"45":9150681148922378240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-07 11:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551465728001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:34:10] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-07 11:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341054896184754176,"km_value":341054896184754.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150681148922378240,"description":"Unknown IO ID 45"} 
[2026-07-07 11:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551465728001,"power":27843,"unknown_100":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":9150681148922378240}} 
[2026-07-07 11:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":125121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:34:10] local.INFO: GPS data processed {"connection_id":125121,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:34:10] local.INFO: Acknowledgment sent {"connection_id":125121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:34:14] local.INFO: TCP Data received {"connection_id":124423,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:34:14] local.INFO: Processing buffer {"connection_id":124423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:34:14] local.INFO: IMEI packet received {"connection_id":124423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 11:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":124423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:34:15] local.INFO: TCP Data received {"connection_id":125121,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2c3608012d7f204005c634900007008327..."} 
[2026-07-07 11:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2c3608012d7f204005c634900007008327..."} 
[2026-07-07 11:34:15] local.INFO: Processing buffer {"connection_id":125121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2c3608012d7f204005c634900007008327..."} 
[2026-07-07 11:34:15] local.INFO: Packet analysis {"connection_id":125121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2c"} 
[2026-07-07 11:34:15] local.INFO: Extracted packet for processing {"connection_id":125121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2c"} 
[2026-07-07 11:34:15] local.INFO: GPS Element Parsed {"raw_longitude":763306048,"raw_latitude":96875664,"longitude_deg":76.3306048,"latitude_deg":9.6875664,"altitude":7,"angle":131,"satellites":39,"speed":15,"hex_longitude":"2d7f2040","hex_latitude":"05c63490","is_valid_coordinates":true} 
[2026-07-07 11:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551468288001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341055145292857344,"note":"Value kept but may cause issues"} 
[2026-07-07 11:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9156803229663889408,"note":"Value kept but may cause issues"} 
[2026-07-07 11:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783404181000,"timestamp_ms":1783404181000,"timestamp_seconds":1783404181,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2c3608"} 
[2026-07-07 11:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11: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-07-07 11:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 11:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551468288001,"66":27843,"100":206,"85":12288,"24":15,"16":341055145292857344,"45":9156803229663889408},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-07 11:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551468288001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:34:15] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-07 11:34:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341055145292857344,"km_value":341055145292857.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9156803229663889408,"description":"Unknown IO ID 45"} 
[2026-07-07 11:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551468288001,"power":27843,"unknown_100":206,"unknown_85":12288,"ignition":15,"odometer":null,"unknown_45":9156803229663889408}} 
[2026-07-07 11:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":125121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:34:15] local.INFO: GPS data processed {"connection_id":125121,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:34:15] local.INFO: Acknowledgment sent {"connection_id":125121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:34:22] local.INFO: TCP Data received {"connection_id":124336,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:34:22] local.INFO: Processing buffer {"connection_id":124336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:34:22] local.INFO: IMEI packet received {"connection_id":124336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":124336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:34:22] local.INFO: TCP Data received {"connection_id":124336,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:34:22] local.INFO: Processing buffer {"connection_id":124336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:34:22] local.INFO: IMEI packet received {"connection_id":124336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":124336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:34:26] local.INFO: TCP Data received {"connection_id":124336,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:34:26] local.INFO: Processing buffer {"connection_id":124336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:34:26] local.INFO: IMEI packet received {"connection_id":124336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":124336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:34:27] local.INFO: TCP Data received {"connection_id":124336,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:34:27] local.INFO: Processing buffer {"connection_id":124336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:34:27] local.INFO: IMEI packet received {"connection_id":124336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":124336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:34:28] local.INFO: TCP Data received {"connection_id":124336,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2c41c0012d19ca80072020300034014620..."} 
[2026-07-07 11:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2c41c0012d19ca80072020300034014620..."} 
[2026-07-07 11:34:28] local.INFO: Processing buffer {"connection_id":124336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2c41c0012d19ca80072020300034014620..."} 
[2026-07-07 11:34:28] local.INFO: Packet analysis {"connection_id":124336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2c"} 
[2026-07-07 11:34:28] local.INFO: Extracted packet for processing {"connection_id":124336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2c"} 
[2026-07-07 11:34:28] local.INFO: GPS Element Parsed {"raw_longitude":756664960,"raw_latitude":119545904,"longitude_deg":75.666496,"latitude_deg":11.9545904,"altitude":52,"angle":326,"satellites":32,"speed":13,"hex_longitude":"2d19ca80","hex_latitude":"07202030","is_valid_coordinates":true} 
[2026-07-07 11:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551470848001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4857745450729472,"note":"Value kept but may cause issues"} 
[2026-07-07 11:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301824159744,"note":"Value kept but may cause issues"} 
[2026-07-07 11:34: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-07-07 11:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783404184000,"timestamp_ms":1783404184000,"timestamp_seconds":1783404184,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2c41c0"} 
[2026-07-07 11:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 11:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551470848001,"66":14374,"121":206,"28":31744,"24":13,"16":4857745450729472,"45":1858579301824159744},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551470848001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:34:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:34:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4857745450729472,"km_value":4857745450729.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301824159744,"description":"Unknown IO ID 45"} 
[2026-07-07 11:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551470848001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1858579301824159744}} 
[2026-07-07 11:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":124336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:34:28] local.INFO: GPS data processed {"connection_id":124336,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:34:28] local.INFO: Acknowledgment sent {"connection_id":124336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:34:29] local.INFO: TCP Data received {"connection_id":124336,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2c4990012d19c8c0072022f00034015121..."} 
[2026-07-07 11:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2c4990012d19c8c0072022f00034015121..."} 
[2026-07-07 11:34:29] local.INFO: Processing buffer {"connection_id":124336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2c4990012d19c8c0072022f00034015121..."} 
[2026-07-07 11:34:29] local.INFO: Packet analysis {"connection_id":124336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2c"} 
[2026-07-07 11:34:29] local.INFO: Extracted packet for processing {"connection_id":124336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2c"} 
[2026-07-07 11:34:29] local.INFO: GPS Element Parsed {"raw_longitude":756664512,"raw_latitude":119546608,"longitude_deg":75.6664512,"latitude_deg":11.9546608,"altitude":52,"angle":337,"satellites":33,"speed":19,"hex_longitude":"2d19c8c0","hex_latitude":"072022f0","is_valid_coordinates":true} 
[2026-07-07 11:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551471104001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4857784105435136,"note":"Value kept but may cause issues"} 
[2026-07-07 11:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858438564335857664,"note":"Value kept but may cause issues"} 
[2026-07-07 11:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783404186000,"timestamp_ms":1783404186000,"timestamp_seconds":1783404186,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2c4990"} 
[2026-07-07 11:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 11:34:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":124336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":124336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":124336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551471104001,"66":14102,"121":206,"28":31744,"24":19,"16":4857784105435136,"45":1858438564335857664},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551471104001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:34:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:34:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4857784105435136,"km_value":4857784105435.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858438564335857664,"description":"Unknown IO ID 45"} 
[2026-07-07 11:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551471104001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1858438564335857664}} 
[2026-07-07 11:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":124336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:34:29] local.INFO: GPS data processed {"connection_id":124336,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:34:29] local.INFO: Acknowledgment sent {"connection_id":124336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:34:59] local.INFO: TCP Data received {"connection_id":125122,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:34:59] local.INFO: Processing buffer {"connection_id":125122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:34:59] local.INFO: IMEI packet received {"connection_id":125122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 11:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":125122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:34:59] local.INFO: TCP Data received {"connection_id":124424,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:34:59] local.INFO: Processing buffer {"connection_id":124424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:34:59] local.INFO: IMEI packet received {"connection_id":124424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":124424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:35:00] local.INFO: TCP Data received {"connection_id":124336,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2d2c20012d19ab800720b0200038011b1f..."} 
[2026-07-07 11:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2d2c20012d19ab800720b0200038011b1f..."} 
[2026-07-07 11:35:00] local.INFO: Processing buffer {"connection_id":124336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2d2c20012d19ab800720b0200038011b1f..."} 
[2026-07-07 11:35:00] local.INFO: Packet analysis {"connection_id":124336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2d"} 
[2026-07-07 11:35:00] local.INFO: Extracted packet for processing {"connection_id":124336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2d"} 
[2026-07-07 11:35:00] local.INFO: GPS Element Parsed {"raw_longitude":756657024,"raw_latitude":119582752,"longitude_deg":75.6657024,"latitude_deg":11.9582752,"altitude":56,"angle":283,"satellites":31,"speed":24,"hex_longitude":"2d19ab80","hex_latitude":"0720b020","is_valid_coordinates":true} 
[2026-07-07 11:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551485440001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4859764085358592,"note":"Value kept but may cause issues"} 
[2026-07-07 11:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852597958578335744,"note":"Value kept but may cause issues"} 
[2026-07-07 11:35: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-07-07 11:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783404244000,"timestamp_ms":1783404244000,"timestamp_seconds":1783404244,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2d2c20"} 
[2026-07-07 11:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 11:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551485440001,"66":13863,"121":206,"28":31744,"24":24,"16":4859764085358592,"45":1852597958578335744},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551485440001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:35:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:35:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4859764085358592,"km_value":4859764085358.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852597958578335744,"description":"Unknown IO ID 45"} 
[2026-07-07 11:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551485440001,"power":13863,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1852597958578335744}} 
[2026-07-07 11:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":124336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:35:00] local.INFO: GPS data processed {"connection_id":124336,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:35:00] local.INFO: Acknowledgment sent {"connection_id":124336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:35:03] local.INFO: TCP Data received {"connection_id":124424,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:35:03] local.INFO: Processing buffer {"connection_id":124424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:35:03] local.INFO: IMEI packet received {"connection_id":124424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":124424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:35:04] local.INFO: TCP Data received {"connection_id":124424,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2c8810012d7f240005c631f0000a007927..."} 
[2026-07-07 11:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2c8810012d7f240005c631f0000a007927..."} 
[2026-07-07 11:35:04] local.INFO: Processing buffer {"connection_id":124424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2c8810012d7f240005c631f0000a007927..."} 
[2026-07-07 11:35:04] local.INFO: Packet analysis {"connection_id":124424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2c"} 
[2026-07-07 11:35:04] local.INFO: Extracted packet for processing {"connection_id":124424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2c"} 
[2026-07-07 11:35:04] local.INFO: GPS Element Parsed {"raw_longitude":763307008,"raw_latitude":96874992,"longitude_deg":76.3307008,"latitude_deg":9.6874992,"altitude":10,"angle":121,"satellites":39,"speed":0,"hex_longitude":"2d7f2400","hex_latitude":"05c631f0","is_valid_coordinates":true} 
[2026-07-07 11:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551470336001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341055205422399488,"note":"Value kept but may cause issues"} 
[2026-07-07 11:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9160392035615936512,"note":"Value kept but may cause issues"} 
[2026-07-07 11:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783404202000,"timestamp_ms":1783404202000,"timestamp_seconds":1783404202,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2c8810"} 
[2026-07-07 11:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 11:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551470336001,"66":27821,"100":206,"85":12288,"24":0,"16":341055205422399488,"45":9160392035615936512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-07 11:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551470336001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:35:04] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-07 11:35:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341055205422399488,"km_value":341055205422399.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9160392035615936512,"description":"Unknown IO ID 45"} 
[2026-07-07 11:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551470336001,"power":27821,"unknown_100":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9160392035615936512}} 
[2026-07-07 11:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":124424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:35:04] local.INFO: GPS data processed {"connection_id":124424,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:35:04] local.INFO: Acknowledgment sent {"connection_id":124424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:35:22] local.INFO: TCP Data received {"connection_id":124337,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:35:22] local.INFO: Processing buffer {"connection_id":124337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:35:22] local.INFO: IMEI packet received {"connection_id":124337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":124337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:35:22] local.INFO: TCP Data received {"connection_id":124337,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:35:22] local.INFO: Processing buffer {"connection_id":124337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:35:22] local.INFO: IMEI packet received {"connection_id":124337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":124337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:35:27] local.INFO: TCP Data received {"connection_id":124337,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:35:27] local.INFO: Processing buffer {"connection_id":124337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:35:27] local.INFO: IMEI packet received {"connection_id":124337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":124337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:35:28] local.INFO: TCP Data received {"connection_id":124337,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2d5718012d198cc00720b350003b010f20..."} 
[2026-07-07 11:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2d5718012d198cc00720b350003b010f20..."} 
[2026-07-07 11:35:28] local.INFO: Processing buffer {"connection_id":124337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2d5718012d198cc00720b350003b010f20..."} 
[2026-07-07 11:35:28] local.INFO: Packet analysis {"connection_id":124337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2d"} 
[2026-07-07 11:35:28] local.INFO: Extracted packet for processing {"connection_id":124337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2d"} 
[2026-07-07 11:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756649152,"raw_latitude":119583568,"longitude_deg":75.6649152,"latitude_deg":11.9583568,"altitude":59,"angle":271,"satellites":32,"speed":28,"hex_longitude":"2d198cc0","hex_latitude":"0720b350","is_valid_coordinates":true} 
[2026-07-07 11:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551486464001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4860137747513344,"note":"Value kept but may cause issues"} 
[2026-07-07 11:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849712840067260416,"note":"Value kept but may cause issues"} 
[2026-07-07 11:35: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-07-07 11:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783404255000,"timestamp_ms":1783404255000,"timestamp_seconds":1783404255,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2d5718"} 
[2026-07-07 11:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-07-07 11:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551486464001,"66":14483,"121":206,"28":31744,"24":28,"16":4860137747513344,"45":1849712840067260416},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551486464001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:35:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:35:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4860137747513344,"km_value":4860137747513.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849712840067260416,"description":"Unknown IO ID 45"} 
[2026-07-07 11:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551486464001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1849712840067260416}} 
[2026-07-07 11:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":124337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:35:28] local.INFO: GPS data processed {"connection_id":124337,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:35:28] local.INFO: Acknowledgment sent {"connection_id":124337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:35:35] local.INFO: TCP Data received {"connection_id":124424,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2cda18012d7f264005c63078000a007929..."} 
[2026-07-07 11:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2cda18012d7f264005c63078000a007929..."} 
[2026-07-07 11:35:35] local.INFO: Processing buffer {"connection_id":124424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2cda18012d7f264005c63078000a007929..."} 
[2026-07-07 11:35:35] local.INFO: Packet analysis {"connection_id":124424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2c"} 
[2026-07-07 11:35:35] local.INFO: Extracted packet for processing {"connection_id":124424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2c"} 
[2026-07-07 11:35:35] local.INFO: GPS Element Parsed {"raw_longitude":763307584,"raw_latitude":96874616,"longitude_deg":76.3307584,"latitude_deg":9.6874616,"altitude":10,"angle":121,"satellites":41,"speed":0,"hex_longitude":"2d7f2640","hex_latitude":"05c63078","is_valid_coordinates":true} 
[2026-07-07 11:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551475712001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341055239782137856,"note":"Value kept but may cause issues"} 
[2026-07-07 11:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161447566778429440,"note":"Value kept but may cause issues"} 
[2026-07-07 11:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783404223000,"timestamp_ms":1783404223000,"timestamp_seconds":1783404223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2cda18"} 
[2026-07-07 11:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:35: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-07-07 11:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 11:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551475712001,"66":28028,"100":206,"85":12288,"24":0,"16":341055239782137856,"45":9161447566778429440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-07 11:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551475712001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:35:35] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-07 11:35:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341055239782137856,"km_value":341055239782137.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161447566778429440,"description":"Unknown IO ID 45"} 
[2026-07-07 11:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551475712001,"power":28028,"unknown_100":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9161447566778429440}} 
[2026-07-07 11:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":124424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:35:36] local.INFO: GPS data processed {"connection_id":124424,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:35:36] local.INFO: Acknowledgment sent {"connection_id":124424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:35:59] local.INFO: TCP Data received {"connection_id":125123,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:35:59] local.INFO: Processing buffer {"connection_id":125123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:35:59] local.INFO: IMEI packet received {"connection_id":125123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":125123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:36:00] local.INFO: TCP Data received {"connection_id":124337,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2d66b8012d1980000720b1b8003901021f..."} 
[2026-07-07 11:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2d66b8012d1980000720b1b8003901021f..."} 
[2026-07-07 11:36:00] local.INFO: Processing buffer {"connection_id":124337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2d66b8012d1980000720b1b8003901021f..."} 
[2026-07-07 11:36:00] local.INFO: Packet analysis {"connection_id":124337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2d"} 
[2026-07-07 11:36:00] local.INFO: Extracted packet for processing {"connection_id":124337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2d"} 
[2026-07-07 11:36:00] local.INFO: GPS Element Parsed {"raw_longitude":756645888,"raw_latitude":119583160,"longitude_deg":75.6645888,"latitude_deg":11.958316,"altitude":57,"angle":258,"satellites":31,"speed":35,"hex_longitude":"2d198000","hex_latitude":"0720b1b8","is_valid_coordinates":true} 
[2026-07-07 11:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551489280001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4860296661303296,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841057484533616640,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36: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-07-07 11:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783404259000,"timestamp_ms":1783404259000,"timestamp_seconds":1783404259,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2d66b8"} 
[2026-07-07 11:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 11:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551489280001,"66":14483,"121":206,"28":31744,"24":35,"16":4860296661303296,"45":1841057484533616640},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551489280001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:36:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:36:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4860296661303296,"km_value":4860296661303.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841057484533616640,"description":"Unknown IO ID 45"} 
[2026-07-07 11:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551489280001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1841057484533616640}} 
[2026-07-07 11:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":124337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:36:00] local.INFO: GPS data processed {"connection_id":124337,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:36:00] local.INFO: Acknowledgment sent {"connection_id":124337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:36:04] local.INFO: TCP Data received {"connection_id":125123,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:36:04] local.INFO: Processing buffer {"connection_id":125123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:36:04] local.INFO: IMEI packet received {"connection_id":125123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":125123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:36:05] local.INFO: TCP Data received {"connection_id":125123,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2d2c20012d7f27c005c62fe8000a007929..."} 
[2026-07-07 11:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2d2c20012d7f27c005c62fe8000a007929..."} 
[2026-07-07 11:36:05] local.INFO: Processing buffer {"connection_id":125123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2d2c20012d7f27c005c62fe8000a007929..."} 
[2026-07-07 11:36:05] local.INFO: Packet analysis {"connection_id":125123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2d"} 
[2026-07-07 11:36:05] local.INFO: Extracted packet for processing {"connection_id":125123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2d"} 
[2026-07-07 11:36:05] local.INFO: GPS Element Parsed {"raw_longitude":763307968,"raw_latitude":96874472,"longitude_deg":76.3307968,"latitude_deg":9.6874472,"altitude":10,"angle":121,"satellites":41,"speed":0,"hex_longitude":"2d7f27c0","hex_latitude":"05c62fe8","is_valid_coordinates":true} 
[2026-07-07 11:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551481088001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341055256962007040,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162080885475932160,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783404244000,"timestamp_ms":1783404244000,"timestamp_seconds":1783404244,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2d2c20"} 
[2026-07-07 11:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 11:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551481088001,"66":27800,"100":206,"85":12288,"24":0,"16":341055256962007040,"45":9162080885475932160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-07 11:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551481088001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:36:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-07 11:36:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341055256962007040,"km_value":341055256962007.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162080885475932160,"description":"Unknown IO ID 45"} 
[2026-07-07 11:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551481088001,"power":27800,"unknown_100":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9162080885475932160}} 
[2026-07-07 11:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":125123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:36:05] local.INFO: GPS data processed {"connection_id":125123,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:36:05] local.INFO: Acknowledgment sent {"connection_id":125123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:36:26] local.INFO: TCP Data received {"connection_id":125124,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:36:26] local.INFO: Processing buffer {"connection_id":125124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:36:26] local.INFO: IMEI packet received {"connection_id":125124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":125124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:36:32] local.INFO: TCP Data received {"connection_id":125124,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:36:32] local.INFO: Processing buffer {"connection_id":125124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:36:32] local.INFO: IMEI packet received {"connection_id":125124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":125124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:36:33] local.INFO: TCP Data received {"connection_id":125124,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2e60b8012d18cfc007212c200042015220..."} 
[2026-07-07 11:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2e60b8012d18cfc007212c200042015220..."} 
[2026-07-07 11:36:33] local.INFO: Processing buffer {"connection_id":125124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2e60b8012d18cfc007212c200042015220..."} 
[2026-07-07 11:36:33] local.INFO: Packet analysis {"connection_id":125124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2e"} 
[2026-07-07 11:36:33] local.INFO: Extracted packet for processing {"connection_id":125124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2e"} 
[2026-07-07 11:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756600768,"raw_latitude":119614496,"longitude_deg":75.6600768,"latitude_deg":11.9614496,"altitude":66,"angle":338,"satellites":32,"speed":34,"hex_longitude":"2d18cfc0","hex_latitude":"07212c20","is_valid_coordinates":true} 
[2026-07-07 11:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551505152001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4863316023312384,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788280926406895616,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783404323000,"timestamp_ms":1783404323000,"timestamp_seconds":1783404323,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2e60b8"} 
[2026-07-07 11:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-07-07 11:36:33] local.WARNING: Large IO value detected {"io_id":24,"raw_value":12947857534418944,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:33] local.WARNING: Large IO value detected {"io_id":158,"raw_value":1729399849386087424,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:33] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-07 11:36:33] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:33] local.WARNING: Large IO value detected {"io_id":9,"raw_value":3221692618,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:33] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402215,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:33] local.WARNING: Large IO value detected {"io_id":169,"raw_value":2306174070640609056,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:33] local.WARNING: Large IO value detected {"io_id":176,"raw_value":-5188090690652930002,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:33] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,121,28,24,241,158,16,70,159,53,45,192,5,62,32,10,66,64,255,61,38,128,1,240,78,59,4,113,205,36,219,9,48,239,54,2,17,7,51,46,169,176],"length":528,"final_offset":658,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-07 11:36:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4540022186993582080,"timestamp_seconds":4540022186993582.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 11:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551505152001,"66":13906,"121":206,"28":31744,"24":34,"16":4863316023312384,"45":1788280926406895616},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551505152001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:36:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:36:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4863316023312384,"km_value":4863316023312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788280926406895616,"description":"Unknown IO ID 45"} 
[2026-07-07 11:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551505152001,"power":13906,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1788280926406895616}} 
[2026-07-07 11:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":125124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:36:33] local.INFO: GPS data processed {"connection_id":125124,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:36:33] local.INFO: Acknowledgment sent {"connection_id":125124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:36:35] local.INFO: TCP Data received {"connection_id":125124,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2e6888012d18cc4007213248004201451f..."} 
[2026-07-07 11:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2e6888012d18cc4007213248004201451f..."} 
[2026-07-07 11:36:35] local.INFO: Processing buffer {"connection_id":125124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2e6888012d18cc4007213248004201451f..."} 
[2026-07-07 11:36:35] local.INFO: Packet analysis {"connection_id":125124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2e"} 
[2026-07-07 11:36:35] local.INFO: Extracted packet for processing {"connection_id":125124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2e"} 
[2026-07-07 11:36:35] local.INFO: GPS Element Parsed {"raw_longitude":756599872,"raw_latitude":119616072,"longitude_deg":75.6599872,"latitude_deg":11.9616072,"altitude":66,"angle":325,"satellites":31,"speed":37,"hex_longitude":"2d18cc40","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-07-07 11:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551506688001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4863401922658304,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787858713943220224,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783404325000,"timestamp_ms":1783404325000,"timestamp_seconds":1783404325,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2e6888"} 
[2026-07-07 11:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-07 11:36: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-07-07 11:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551506688001,"66":14004,"121":206,"28":31744,"24":37,"16":4863401922658304,"45":1787858713943220224},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551506688001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:36:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:36:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4863401922658304,"km_value":4863401922658.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787858713943220224,"description":"Unknown IO ID 45"} 
[2026-07-07 11:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551506688001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1787858713943220224}} 
[2026-07-07 11:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":125124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:36:35] local.INFO: GPS data processed {"connection_id":125124,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:36:35] local.INFO: Acknowledgment sent {"connection_id":125124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:36:36] local.INFO: TCP Data received {"connection_id":125123,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2d7e28012d7f294005c62f200009007928..."} 
[2026-07-07 11:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2d7e28012d7f294005c62f200009007928..."} 
[2026-07-07 11:36:36] local.INFO: Processing buffer {"connection_id":125123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2d7e28012d7f294005c62f200009007928..."} 
[2026-07-07 11:36:36] local.INFO: Packet analysis {"connection_id":125123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2d"} 
[2026-07-07 11:36:36] local.INFO: Extracted packet for processing {"connection_id":125123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2d"} 
[2026-07-07 11:36:36] local.INFO: GPS Element Parsed {"raw_longitude":763308352,"raw_latitude":96874272,"longitude_deg":76.3308352,"latitude_deg":9.6874272,"altitude":9,"angle":121,"satellites":40,"speed":2,"hex_longitude":"2d7f2940","hex_latitude":"05c62f20","is_valid_coordinates":true} 
[2026-07-07 11:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551486464001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341055278436843520,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162503097940961280,"note":"Value kept but may cause issues"} 
[2026-07-07 11:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783404265000,"timestamp_ms":1783404265000,"timestamp_seconds":1783404265,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2d7e28"} 
[2026-07-07 11:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:36: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-07-07 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 11:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551486464001,"66":27767,"100":206,"85":12288,"24":2,"16":341055278436843520,"45":9162503097940961280},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-07 11:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551486464001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:36:36] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-07 11:36:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341055278436843520,"km_value":341055278436843.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162503097940961280,"description":"Unknown IO ID 45"} 
[2026-07-07 11:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551486464001,"power":27767,"unknown_100":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":9162503097940961280}} 
[2026-07-07 11:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":125123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:36:36] local.INFO: GPS data processed {"connection_id":125123,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:36:36] local.INFO: Acknowledgment sent {"connection_id":125123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:36:59] local.INFO: TCP Data received {"connection_id":124339,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:36:59] local.INFO: Processing buffer {"connection_id":124339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:36:59] local.INFO: IMEI packet received {"connection_id":124339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":124339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:37:00] local.INFO: TCP Data received {"connection_id":124339,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:37:00] local.INFO: Processing buffer {"connection_id":124339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:37:00] local.INFO: IMEI packet received {"connection_id":124339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":124339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:37:04] local.INFO: TCP Data received {"connection_id":124339,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:37:04] local.INFO: Processing buffer {"connection_id":124339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:37:04] local.INFO: IMEI packet received {"connection_id":124339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":124339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:37:05] local.INFO: TCP Data received {"connection_id":124339,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2dd030012d7f2e0005c62d000008007127..."} 
[2026-07-07 11:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2dd030012d7f2e0005c62d000008007127..."} 
[2026-07-07 11:37:05] local.INFO: Processing buffer {"connection_id":124339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2dd030012d7f2e0005c62d000008007127..."} 
[2026-07-07 11:37:05] local.INFO: Packet analysis {"connection_id":124339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2d"} 
[2026-07-07 11:37:05] local.INFO: Extracted packet for processing {"connection_id":124339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2d"} 
[2026-07-07 11:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763309568,"raw_latitude":96873728,"longitude_deg":76.3309568,"latitude_deg":9.6873728,"altitude":8,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2d7f2e00","hex_latitude":"05c62d00","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551491840001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341055347156320256,"note":"Value kept but may cause issues"} 
[2026-07-07 11:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162925310405976064,"note":"Value kept but may cause issues"} 
[2026-07-07 11:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783404286000,"timestamp_ms":1783404286000,"timestamp_seconds":1783404286,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2dd030"} 
[2026-07-07 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-07-07 11:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 11:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 11:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551491840001,"66":27843,"100":206,"85":12288,"24":0,"16":341055347156320256,"45":9162925310405976064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-07 11:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551491840001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:37:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-07 11:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341055347156320256,"km_value":341055347156320.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162925310405976064,"description":"Unknown IO ID 45"} 
[2026-07-07 11:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551491840001,"power":27843,"unknown_100":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9162925310405976064}} 
[2026-07-07 11:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":124339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:37:05] local.INFO: GPS data processed {"connection_id":124339,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:37:05] local.INFO: Acknowledgment sent {"connection_id":124339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:37:07] local.INFO: TCP Data received {"connection_id":125124,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2e7440012d18c64007213c000044015120..."} 
[2026-07-07 11:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2e7440012d18c64007213c000044015120..."} 
[2026-07-07 11:37:07] local.INFO: Processing buffer {"connection_id":125124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2e7440012d18c64007213c000044015120..."} 
[2026-07-07 11:37:07] local.INFO: Packet analysis {"connection_id":125124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2e"} 
[2026-07-07 11:37:07] local.INFO: Extracted packet for processing {"connection_id":125124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2e"} 
[2026-07-07 11:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756598336,"raw_latitude":119618560,"longitude_deg":75.6598336,"latitude_deg":11.961856,"altitude":68,"angle":337,"satellites":32,"speed":38,"hex_longitude":"2d18c640","hex_latitude":"07213c00","is_valid_coordinates":true} 
[2026-07-07 11:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551507200001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4863543656579072,"note":"Value kept but may cause issues"} 
[2026-07-07 11:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786873551525136384,"note":"Value kept but may cause issues"} 
[2026-07-07 11:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783404328000,"timestamp_ms":1783404328000,"timestamp_seconds":1783404328,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2e7440"} 
[2026-07-07 11:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-07 11:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551507200001,"66":13961,"121":206,"28":31744,"24":38,"16":4863543656579072,"45":1786873551525136384},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551507200001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:37:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:37:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4863543656579072,"km_value":4863543656579.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786873551525136384,"description":"Unknown IO ID 45"} 
[2026-07-07 11:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551507200001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1786873551525136384}} 
[2026-07-07 11:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":125124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:37:07] local.INFO: GPS data processed {"connection_id":125124,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:37:07] local.INFO: Acknowledgment sent {"connection_id":125124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:37:22] local.INFO: TCP Data received {"connection_id":126371,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:37:22] local.INFO: Processing buffer {"connection_id":126371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:37:22] local.INFO: IMEI packet received {"connection_id":126371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":126371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:37:25] local.INFO: TCP Data received {"connection_id":126371,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:37:25] local.INFO: Processing buffer {"connection_id":126371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:37:25] local.INFO: IMEI packet received {"connection_id":126371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":126371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:37:26] local.INFO: TCP Data received {"connection_id":126371,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2e7c10012d18c480072143980044016220..."} 
[2026-07-07 11:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2e7c10012d18c480072143980044016220..."} 
[2026-07-07 11:37:26] local.INFO: Processing buffer {"connection_id":126371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2e7c10012d18c480072143980044016220..."} 
[2026-07-07 11:37:26] local.INFO: Packet analysis {"connection_id":126371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2e"} 
[2026-07-07 11:37:26] local.INFO: Extracted packet for processing {"connection_id":126371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2e"} 
[2026-07-07 11:37:26] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119620504,"longitude_deg":75.6597888,"latitude_deg":11.9620504,"altitude":68,"angle":354,"satellites":32,"speed":40,"hex_longitude":"2d18c480","hex_latitude":"07214398","is_valid_coordinates":true} 
[2026-07-07 11:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551507968001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4863642440826880,"note":"Value kept but may cause issues"} 
[2026-07-07 11:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785184701665509376,"note":"Value kept but may cause issues"} 
[2026-07-07 11:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783404330000,"timestamp_ms":1783404330000,"timestamp_seconds":1783404330,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2e7c10"} 
[2026-07-07 11:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-07 11:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":126371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":126371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":126371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551507968001,"66":13972,"121":206,"28":31744,"24":40,"16":4863642440826880,"45":1785184701665509376},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551507968001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:37:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:37:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4863642440826880,"km_value":4863642440826.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785184701665509376,"description":"Unknown IO ID 45"} 
[2026-07-07 11:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551507968001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1785184701665509376}} 
[2026-07-07 11:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":126371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:37:26] local.INFO: GPS data processed {"connection_id":126371,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:37:26] local.INFO: Acknowledgment sent {"connection_id":126371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:37:37] local.INFO: TCP Data received {"connection_id":124339,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2e2238012d7f2f4005c62c58000800712a..."} 
[2026-07-07 11:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2e2238012d7f2f4005c62c58000800712a..."} 
[2026-07-07 11:37:37] local.INFO: Processing buffer {"connection_id":124339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2e2238012d7f2f4005c62c58000800712a..."} 
[2026-07-07 11:37:37] local.INFO: Packet analysis {"connection_id":124339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2e"} 
[2026-07-07 11:37:37] local.INFO: Extracted packet for processing {"connection_id":124339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2e"} 
[2026-07-07 11:37:37] local.INFO: GPS Element Parsed {"raw_longitude":763309888,"raw_latitude":96873560,"longitude_deg":76.3309888,"latitude_deg":9.687356,"altitude":8,"angle":113,"satellites":42,"speed":0,"hex_longitude":"2d7f2f40","hex_latitude":"05c62c58","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551497216001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341055364336189440,"note":"Value kept but may cause issues"} 
[2026-07-07 11:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164262316545212416,"note":"Value kept but may cause issues"} 
[2026-07-07 11:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783404307000,"timestamp_ms":1783404307000,"timestamp_seconds":1783404307,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2e2238"} 
[2026-07-07 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-07-07 11:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 11:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 11:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551497216001,"66":27974,"100":206,"85":12288,"24":0,"16":341055364336189440,"45":9164262316545212416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-07 11:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551497216001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:37:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-07 11:37:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341055364336189440,"km_value":341055364336189.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164262316545212416,"description":"Unknown IO ID 45"} 
[2026-07-07 11:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551497216001,"power":27974,"unknown_100":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9164262316545212416}} 
[2026-07-07 11:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":124339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:37:37] local.INFO: GPS data processed {"connection_id":124339,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:37:37] local.INFO: Acknowledgment sent {"connection_id":124339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:37:57] local.INFO: TCP Data received {"connection_id":126371,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2e8bb0012d18c300072151480046015620..."} 
[2026-07-07 11:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2e8bb0012d18c300072151480046015620..."} 
[2026-07-07 11:37:57] local.INFO: Processing buffer {"connection_id":126371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2e8bb0012d18c300072151480046015620..."} 
[2026-07-07 11:37:57] local.INFO: Packet analysis {"connection_id":126371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2e"} 
[2026-07-07 11:37:57] local.INFO: Extracted packet for processing {"connection_id":126371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2e"} 
[2026-07-07 11:37:57] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119624008,"longitude_deg":75.6597504,"latitude_deg":11.9624008,"altitude":70,"angle":342,"satellites":32,"speed":25,"hex_longitude":"2d18c300","hex_latitude":"07215148","is_valid_coordinates":true} 
[2026-07-07 11:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551508480001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4863814239518720,"note":"Value kept but may cause issues"} 
[2026-07-07 11:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120456763392,"note":"Value kept but may cause issues"} 
[2026-07-07 11:37: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-07-07 11:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783404334000,"timestamp_ms":1783404334000,"timestamp_seconds":1783404334,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2e8bb0"} 
[2026-07-07 11:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-07 11:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":126371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":126371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":126371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551508480001,"66":13939,"121":206,"28":31744,"24":25,"16":4863814239518720,"45":1784692120456763392},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551508480001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:37:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:37:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4863814239518720,"km_value":4863814239518.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120456763392,"description":"Unknown IO ID 45"} 
[2026-07-07 11:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551508480001,"power":13939,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1784692120456763392}} 
[2026-07-07 11:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":126371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:37:58] local.INFO: GPS data processed {"connection_id":126371,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:37:58] local.INFO: Acknowledgment sent {"connection_id":126371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:37:59] local.INFO: TCP Data received {"connection_id":124426,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:37:59] local.INFO: Processing buffer {"connection_id":124426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:37:59] local.INFO: IMEI packet received {"connection_id":124426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":124426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:38:04] local.INFO: TCP Data received {"connection_id":124426,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:38:04] local.INFO: Processing buffer {"connection_id":124426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:38:04] local.INFO: IMEI packet received {"connection_id":124426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":124426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:38:05] local.INFO: TCP Data received {"connection_id":124426,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2e7440012d7f304005c62b000009007129..."} 
[2026-07-07 11:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2e7440012d7f304005c62b000009007129..."} 
[2026-07-07 11:38:05] local.INFO: Processing buffer {"connection_id":124426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2e7440012d7f304005c62b000009007129..."} 
[2026-07-07 11:38:05] local.INFO: Packet analysis {"connection_id":124426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2e"} 
[2026-07-07 11:38:05] local.INFO: Extracted packet for processing {"connection_id":124426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2e"} 
[2026-07-07 11:38:05] local.INFO: GPS Element Parsed {"raw_longitude":763310144,"raw_latitude":96873216,"longitude_deg":76.3310144,"latitude_deg":9.6873216,"altitude":9,"angle":113,"satellites":41,"speed":3,"hex_longitude":"2d7f3040","hex_latitude":"05c62b00","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551502592001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341055385811025920,"note":"Value kept but may cause issues"} 
[2026-07-07 11:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164614160266057728,"note":"Value kept but may cause issues"} 
[2026-07-07 11:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783404328000,"timestamp_ms":1783404328000,"timestamp_seconds":1783404328,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2e7440"} 
[2026-07-07 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-07-07 11:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 11:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 11:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551502592001,"66":27919,"100":206,"85":12288,"24":3,"16":341055385811025920,"45":9164614160266057728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-07 11:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551502592001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:38:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-07 11:38:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341055385811025920,"km_value":341055385811025.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164614160266057728,"description":"Unknown IO ID 45"} 
[2026-07-07 11:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551502592001,"power":27919,"unknown_100":206,"unknown_85":12288,"ignition":3,"odometer":null,"unknown_45":9164614160266057728}} 
[2026-07-07 11:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":124426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:38:05] local.INFO: GPS data processed {"connection_id":124426,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:38:05] local.INFO: Acknowledgment sent {"connection_id":124426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:38:21] local.INFO: TCP Data received {"connection_id":125126,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:38:21] local.INFO: Processing buffer {"connection_id":125126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:38:21] local.INFO: IMEI packet received {"connection_id":125126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":125126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:38:22] local.INFO: TCP Data received {"connection_id":125126,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:38:22] local.INFO: Processing buffer {"connection_id":125126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:38:22] local.INFO: IMEI packet received {"connection_id":125126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":125126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:38:27] local.INFO: TCP Data received {"connection_id":125126,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:38:27] local.INFO: Processing buffer {"connection_id":125126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:38:27] local.INFO: IMEI packet received {"connection_id":125126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":125126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:38:28] local.INFO: TCP Data received {"connection_id":125126,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b304130012d181f800721a7a0004d003d21..."} 
[2026-07-07 11:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b304130012d181f800721a7a0004d003d21..."} 
[2026-07-07 11:38:28] local.INFO: Processing buffer {"connection_id":125126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b304130012d181f800721a7a0004d003d21..."} 
[2026-07-07 11:38:28] local.INFO: Packet analysis {"connection_id":125126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b30"} 
[2026-07-07 11:38:28] local.INFO: Extracted packet for processing {"connection_id":125126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b30"} 
[2026-07-07 11:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646112,"longitude_deg":75.6555648,"latitude_deg":11.9646112,"altitude":77,"angle":61,"satellites":33,"speed":8,"hex_longitude":"2d181f80","hex_latitude":"0721a7a0","is_valid_coordinates":true} 
[2026-07-07 11:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551537664001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4866215126237184,"note":"Value kept but may cause issues"} 
[2026-07-07 11:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329274368,"note":"Value kept but may cause issues"} 
[2026-07-07 11:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783404446000,"timestamp_ms":1783404446000,"timestamp_seconds":1783404446,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b304130"} 
[2026-07-07 11:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 11:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551537664001,"66":13961,"120":206,"28":31744,"24":8,"16":4866215126237184,"45":1737967274329274368},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 11:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551537664001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:38:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 11:38:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4866215126237184,"km_value":4866215126237.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329274368,"description":"Unknown IO ID 45"} 
[2026-07-07 11:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551537664001,"power":13961,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1737967274329274368}} 
[2026-07-07 11:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":125126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:38:28] local.INFO: GPS data processed {"connection_id":125126,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:38:28] local.INFO: Acknowledgment sent {"connection_id":125126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:38:36] local.INFO: TCP Data received {"connection_id":124426,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b2ec648012d7f330005c626f00008007127..."} 
[2026-07-07 11:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b2ec648012d7f330005c626f00008007127..."} 
[2026-07-07 11:38:36] local.INFO: Processing buffer {"connection_id":124426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b2ec648012d7f330005c626f00008007127..."} 
[2026-07-07 11:38:36] local.INFO: Packet analysis {"connection_id":124426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b2e"} 
[2026-07-07 11:38:36] local.INFO: Extracted packet for processing {"connection_id":124426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b2e"} 
[2026-07-07 11:38:36] local.INFO: GPS Element Parsed {"raw_longitude":763310848,"raw_latitude":96872176,"longitude_deg":76.3310848,"latitude_deg":9.6872176,"altitude":8,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2d7f3300","hex_latitude":"05c626f0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551507968001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341055454530502656,"note":"Value kept but may cause issues"} 
[2026-07-07 11:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164895635242680320,"note":"Value kept but may cause issues"} 
[2026-07-07 11:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783404349000,"timestamp_ms":1783404349000,"timestamp_seconds":1783404349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b2ec648"} 
[2026-07-07 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-07-07 11:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 11:38: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-07-07 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-07-07 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-07-07 11:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551507968001,"66":27908,"100":206,"85":12288,"24":0,"16":341055454530502656,"45":9164895635242680320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-07 11:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551507968001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:38:36] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-07 11:38:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341055454530502656,"km_value":341055454530502.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164895635242680320,"description":"Unknown IO ID 45"} 
[2026-07-07 11:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551507968001,"power":27908,"unknown_100":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9164895635242680320}} 
[2026-07-07 11:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":124426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:38:36] local.INFO: GPS data processed {"connection_id":124426,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:38:36] local.INFO: Acknowledgment sent {"connection_id":124426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:38:59] local.INFO: TCP Data received {"connection_id":124341,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:38:59] local.INFO: Processing buffer {"connection_id":124341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:38:59] local.INFO: IMEI packet received {"connection_id":124341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":124341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:39:00] local.INFO: TCP Data received {"connection_id":125126,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b304518012d1820000721a7b8004d006221..."} 
[2026-07-07 11:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b304518012d1820000721a7b8004d006221..."} 
[2026-07-07 11:39:00] local.INFO: Processing buffer {"connection_id":125126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b304518012d1820000721a7b8004d006221..."} 
[2026-07-07 11:39:00] local.INFO: Packet analysis {"connection_id":125126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b30"} 
[2026-07-07 11:39:00] local.INFO: Extracted packet for processing {"connection_id":125126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b30"} 
[2026-07-07 11:39:00] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119646136,"longitude_deg":75.6555776,"latitude_deg":11.9646136,"altitude":77,"angle":98,"satellites":33,"speed":7,"hex_longitude":"2d182000","hex_latitude":"0721a7b8","is_valid_coordinates":true} 
[2026-07-07 11:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551538176001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4866223716171776,"note":"Value kept but may cause issues"} 
[2026-07-07 11:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306060800,"note":"Value kept but may cause issues"} 
[2026-07-07 11:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783404447000,"timestamp_ms":1783404447000,"timestamp_seconds":1783404447,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b304518"} 
[2026-07-07 11:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-07 11:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551538176001,"66":14374,"120":206,"28":31744,"24":7,"16":4866223716171776,"45":1738248749306060800},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 11:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551538176001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:39:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 11:39:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4866223716171776,"km_value":4866223716171.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306060800,"description":"Unknown IO ID 45"} 
[2026-07-07 11:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551538176001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1738248749306060800}} 
[2026-07-07 11:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":125126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:39:00] local.INFO: GPS data processed {"connection_id":125126,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:39:00] local.INFO: Acknowledgment sent {"connection_id":125126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:39:04] local.INFO: TCP Data received {"connection_id":124341,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:39:04] local.INFO: Processing buffer {"connection_id":124341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:39:04] local.INFO: IMEI packet received {"connection_id":124341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":124341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:39:06] local.INFO: TCP Data received {"connection_id":124341,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b30be30012d8002c005c50e500009008f28..."} 
[2026-07-07 11:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b30be30012d8002c005c50e500009008f28..."} 
[2026-07-07 11:39:06] local.INFO: Processing buffer {"connection_id":124341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b30be30012d8002c005c50e500009008f28..."} 
[2026-07-07 11:39:06] local.INFO: Packet analysis {"connection_id":124341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b30"} 
[2026-07-07 11:39:06] local.INFO: Extracted packet for processing {"connection_id":124341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b30"} 
[2026-07-07 11:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763364032,"raw_latitude":96800336,"longitude_deg":76.3364032,"latitude_deg":9.6800336,"altitude":9,"angle":143,"satellites":40,"speed":50,"hex_longitude":"2d8002c0","hex_latitude":"05c50e50","is_valid_coordinates":true} 
[2026-07-07 11:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551544576001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341059770972635136,"note":"Value kept but may cause issues"} 
[2026-07-07 11:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9218094405824212992,"note":"Value kept but may cause issues"} 
[2026-07-07 11:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783404478000,"timestamp_ms":1783404478000,"timestamp_seconds":1783404478,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b30be30"} 
[2026-07-07 11:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 11:39: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-07-07 11:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551544576001,"66":27876,"235":206,"85":12288,"24":50,"16":341059770972635136,"45":9218094405824212992},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-07 11:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551544576001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:39:06] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-07 11:39:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341059770972635136,"km_value":341059770972635.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9218094405824212992,"description":"Unknown IO ID 45"} 
[2026-07-07 11:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551544576001,"power":27876,"unknown_235":206,"unknown_85":12288,"ignition":50,"odometer":null,"unknown_45":9218094405824212992}} 
[2026-07-07 11:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":124341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:39:06] local.INFO: GPS data processed {"connection_id":124341,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:39:06] local.INFO: Acknowledgment sent {"connection_id":124341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:39:22] local.INFO: TCP Data received {"connection_id":126372,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:39:22] local.INFO: Processing buffer {"connection_id":126372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:39:22] local.INFO: IMEI packet received {"connection_id":126372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":126372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:39:22] local.INFO: TCP Data received {"connection_id":126372,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:39:22] local.INFO: Processing buffer {"connection_id":126372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:39:22] local.INFO: IMEI packet received {"connection_id":126372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":126372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:39:25] local.INFO: TCP Data received {"connection_id":126372,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:39:25] local.INFO: Processing buffer {"connection_id":126372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:39:25] local.INFO: IMEI packet received {"connection_id":126372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":126372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:39:26] local.INFO: TCP Data received {"connection_id":126372,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b314ad0012d18b1c007216ca0004d008e20..."} 
[2026-07-07 11:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b314ad0012d18b1c007216ca0004d008e20..."} 
[2026-07-07 11:39:26] local.INFO: Processing buffer {"connection_id":126372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b314ad0012d18b1c007216ca0004d008e20..."} 
[2026-07-07 11:39:26] local.INFO: Packet analysis {"connection_id":126372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b31"} 
[2026-07-07 11:39:26] local.INFO: Extracted packet for processing {"connection_id":126372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b31"} 
[2026-07-07 11:39:26] local.INFO: GPS Element Parsed {"raw_longitude":756593088,"raw_latitude":119631008,"longitude_deg":75.6593088,"latitude_deg":11.9631008,"altitude":77,"angle":142,"satellites":32,"speed":40,"hex_longitude":"2d18b1c0","hex_latitude":"07216ca0","is_valid_coordinates":true} 
[2026-07-07 11:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551555072001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4868195106160640,"note":"Value kept but may cause issues"} 
[2026-07-07 11:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777936721018759168,"note":"Value kept but may cause issues"} 
[2026-07-07 11:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783404514000,"timestamp_ms":1783404514000,"timestamp_seconds":1783404514,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b314ad0"} 
[2026-07-07 11:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-07 11:39:26] 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-07-07 11:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":126372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":126372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":126372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551555072001,"66":13722,"121":206,"28":31744,"24":40,"16":4868195106160640,"45":1777936721018759168},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551555072001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:39:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:39:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4868195106160640,"km_value":4868195106160.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777936721018759168,"description":"Unknown IO ID 45"} 
[2026-07-07 11:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551555072001,"power":13722,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1777936721018759168}} 
[2026-07-07 11:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":126372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:39:26] local.INFO: GPS data processed {"connection_id":126372,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:39:26] local.INFO: Acknowledgment sent {"connection_id":126372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:39:39] local.INFO: TCP Data received {"connection_id":124341,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b30e540012d801a0005c4f1400009009026..."} 
[2026-07-07 11:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b30e540012d801a0005c4f1400009009026..."} 
[2026-07-07 11:39:39] local.INFO: Processing buffer {"connection_id":124341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b30e540012d801a0005c4f1400009009026..."} 
[2026-07-07 11:39:39] local.INFO: Packet analysis {"connection_id":124341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b30"} 
[2026-07-07 11:39:39] local.INFO: Extracted packet for processing {"connection_id":124341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b30"} 
[2026-07-07 11:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763369984,"raw_latitude":96792896,"longitude_deg":76.3369984,"latitude_deg":9.6792896,"altitude":9,"angle":144,"satellites":38,"speed":30,"hex_longitude":"2d801a00","hex_latitude":"05c4f140","is_valid_coordinates":true} 
[2026-07-07 11:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551546368001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341060230534135808,"note":"Value kept but may cause issues"} 
[2026-07-07 11:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9222597955887935488,"note":"Value kept but may cause issues"} 
[2026-07-07 11:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783404488000,"timestamp_ms":1783404488000,"timestamp_seconds":1783404488,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b30e540"} 
[2026-07-07 11:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:39: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-07-07 11:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 11:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551546368001,"66":27658,"235":206,"85":12288,"24":30,"16":341060230534135808,"45":-9222597955887935488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-07 11:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551546368001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:39:39] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-07 11:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341060230534135808,"km_value":341060230534135.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9222597955887935488,"description":"Unknown IO ID 45"} 
[2026-07-07 11:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551546368001,"power":27658,"unknown_235":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":-9222597955887935488}} 
[2026-07-07 11:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":124341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:39:39] local.INFO: GPS data processed {"connection_id":124341,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:39:39] local.INFO: Acknowledgment sent {"connection_id":124341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:39:58] local.INFO: TCP Data received {"connection_id":126372,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b316a10012d18c3c0072151a0004900a120..."} 
[2026-07-07 11:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b316a10012d18c3c0072151a0004900a120..."} 
[2026-07-07 11:39:58] local.INFO: Processing buffer {"connection_id":126372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b316a10012d18c3c0072151a0004900a120..."} 
[2026-07-07 11:39:58] local.INFO: Packet analysis {"connection_id":126372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b31"} 
[2026-07-07 11:39:58] local.INFO: Extracted packet for processing {"connection_id":126372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b31"} 
[2026-07-07 11:39:58] local.INFO: GPS Element Parsed {"raw_longitude":756597696,"raw_latitude":119624096,"longitude_deg":75.6597696,"latitude_deg":11.9624096,"altitude":73,"angle":161,"satellites":32,"speed":39,"hex_longitude":"2d18c3c0","hex_latitude":"072151a0","is_valid_coordinates":true} 
[2026-07-07 11:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551555584001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4868594538119168,"note":"Value kept but may cause issues"} 
[2026-07-07 11:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779414464646127616,"note":"Value kept but may cause issues"} 
[2026-07-07 11:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783404522000,"timestamp_ms":1783404522000,"timestamp_seconds":1783404522,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b316a10"} 
[2026-07-07 11:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-07 11:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":126372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":126372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":126372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551555584001,"66":13906,"121":206,"28":31744,"24":39,"16":4868594538119168,"45":1779414464646127616},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551555584001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:39:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:39:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4868594538119168,"km_value":4868594538119.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779414464646127616,"description":"Unknown IO ID 45"} 
[2026-07-07 11:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551555584001,"power":13906,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1779414464646127616}} 
[2026-07-07 11:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":126372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:39:58] local.INFO: GPS data processed {"connection_id":126372,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:39:58] local.INFO: Acknowledgment sent {"connection_id":126372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:39:59] local.INFO: TCP Data received {"connection_id":126373,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:39:59] local.INFO: Processing buffer {"connection_id":126373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:39:59] local.INFO: IMEI packet received {"connection_id":126373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":126373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:40:04] local.INFO: TCP Data received {"connection_id":126373,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:40:04] local.INFO: Processing buffer {"connection_id":126373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:40:04] local.INFO: IMEI packet received {"connection_id":126373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":126373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:40:05] local.INFO: TCP Data received {"connection_id":126373,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b30ed10012d801cc005c4ece80009009c23..."} 
[2026-07-07 11:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b30ed10012d801cc005c4ece80009009c23..."} 
[2026-07-07 11:40:05] local.INFO: Processing buffer {"connection_id":126373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b30ed10012d801cc005c4ece80009009c23..."} 
[2026-07-07 11:40:05] local.INFO: Packet analysis {"connection_id":126373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b30"} 
[2026-07-07 11:40:05] local.INFO: Extracted packet for processing {"connection_id":126373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b30"} 
[2026-07-07 11:40:05] local.INFO: GPS Element Parsed {"raw_longitude":763370688,"raw_latitude":96791784,"longitude_deg":76.3370688,"latitude_deg":9.6791784,"altitude":9,"angle":156,"satellites":35,"speed":23,"hex_longitude":"2d801cc0","hex_latitude":"05c4ece8","is_valid_coordinates":true} 
[2026-07-07 11:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551548928001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341060294958645248,"note":"Value kept but may cause issues"} 
[2026-07-07 11:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9216053662681317376,"note":"Value kept but may cause issues"} 
[2026-07-07 11:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783404490000,"timestamp_ms":1783404490000,"timestamp_seconds":1783404490,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b30ed10"} 
[2026-07-07 11:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 11:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551548928001,"66":27930,"235":206,"85":12288,"24":23,"16":341060294958645248,"45":-9216053662681317376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-07 11:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551548928001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:40:05] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-07 11:40:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341060294958645248,"km_value":341060294958645.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9216053662681317376,"description":"Unknown IO ID 45"} 
[2026-07-07 11:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551548928001,"power":27930,"unknown_235":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":-9216053662681317376}} 
[2026-07-07 11:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":126373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:40:05] local.INFO: GPS data processed {"connection_id":126373,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:40:05] local.INFO: Acknowledgment sent {"connection_id":126373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:40:14] local.INFO: TCP Data received {"connection_id":126374,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:40:14] local.INFO: Processing buffer {"connection_id":126374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:40:14] local.INFO: IMEI packet received {"connection_id":126374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 11:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":126374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:40:21] local.INFO: TCP Data received {"connection_id":124427,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:40:21] local.INFO: Processing buffer {"connection_id":124427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:40:21] local.INFO: IMEI packet received {"connection_id":124427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":124427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:40:26] local.INFO: TCP Data received {"connection_id":124427,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:40:26] local.INFO: Processing buffer {"connection_id":124427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:40:26] local.INFO: IMEI packet received {"connection_id":124427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":124427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:40:30] local.INFO: TCP Data received {"connection_id":124427,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b3171e0012d18c4c007214a00004700b020..."} 
[2026-07-07 11:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b3171e0012d18c4c007214a00004700b020..."} 
[2026-07-07 11:40:30] local.INFO: Processing buffer {"connection_id":124427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b3171e0012d18c4c007214a00004700b020..."} 
[2026-07-07 11:40:30] local.INFO: Packet analysis {"connection_id":124427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b31"} 
[2026-07-07 11:40:30] local.INFO: Extracted packet for processing {"connection_id":124427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b31"} 
[2026-07-07 11:40:30] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119622144,"longitude_deg":75.6597952,"latitude_deg":11.9622144,"altitude":71,"angle":176,"satellites":32,"speed":39,"hex_longitude":"2d18c4c0","hex_latitude":"07214a00","is_valid_coordinates":true} 
[2026-07-07 11:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551557632001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4868693322366976,"note":"Value kept but may cause issues"} 
[2026-07-07 11:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784481014225149952,"note":"Value kept but may cause issues"} 
[2026-07-07 11:40: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-07-07 11:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783404524000,"timestamp_ms":1783404524000,"timestamp_seconds":1783404524,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b3171e0"} 
[2026-07-07 11:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-07 11:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551557632001,"66":13993,"121":206,"28":31744,"24":39,"16":4868693322366976,"45":1784481014225149952},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551557632001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:40:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:40:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4868693322366976,"km_value":4868693322366.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784481014225149952,"description":"Unknown IO ID 45"} 
[2026-07-07 11:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551557632001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1784481014225149952}} 
[2026-07-07 11:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":124427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:40:30] local.INFO: GPS data processed {"connection_id":124427,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:40:30] local.INFO: Acknowledgment sent {"connection_id":124427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:40:36] local.INFO: TCP Data received {"connection_id":126373,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b3248b8012d80940005c3fb70000a00ab27..."} 
[2026-07-07 11:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b3248b8012d80940005c3fb70000a00ab27..."} 
[2026-07-07 11:40:36] local.INFO: Processing buffer {"connection_id":126373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b3248b8012d80940005c3fb70000a00ab27..."} 
[2026-07-07 11:40:36] local.INFO: Packet analysis {"connection_id":126373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b32"} 
[2026-07-07 11:40:36] local.INFO: Extracted packet for processing {"connection_id":126373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b32"} 
[2026-07-07 11:40:36] local.INFO: GPS Element Parsed {"raw_longitude":763401216,"raw_latitude":96729968,"longitude_deg":76.3401216,"latitude_deg":9.6729968,"altitude":10,"angle":171,"satellites":39,"speed":13,"hex_longitude":"2d809400","hex_latitude":"05c3fb70","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551567104001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341063726637514752,"note":"Value kept but may cause issues"} 
[2026-07-07 11:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9181150765583024128,"note":"Value kept but may cause issues"} 
[2026-07-07 11:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783404579000,"timestamp_ms":1783404579000,"timestamp_seconds":1783404579,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b3248b8"} 
[2026-07-07 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-07-07 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-07-07 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-07-07 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-07-07 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-07-07 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-07-07 11:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551567104001,"66":27745,"156":206,"85":12288,"24":13,"16":341063726637514752,"45":-9181150765583024128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-07 11:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551567104001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:40:36] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 11:40:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341063726637514752,"km_value":341063726637514.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9181150765583024128,"description":"Unknown IO ID 45"} 
[2026-07-07 11:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551567104001,"power":27745,"unknown_156":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":-9181150765583024128}} 
[2026-07-07 11:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":126373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:40:36] local.INFO: GPS data processed {"connection_id":126373,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:40:36] local.INFO: Acknowledgment sent {"connection_id":126373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:41:04] local.INFO: TCP Data received {"connection_id":124342,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:41:04] local.INFO: Processing buffer {"connection_id":124342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:41:04] local.INFO: IMEI packet received {"connection_id":124342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":124342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:41:05] local.INFO: TCP Data received {"connection_id":124342,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:41:05] local.INFO: Processing buffer {"connection_id":124342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:41:05] local.INFO: IMEI packet received {"connection_id":124342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":124342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:41:06] local.INFO: TCP Data received {"connection_id":124427,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b318180012d18c6c007213d700045009e20..."} 
[2026-07-07 11:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b318180012d18c6c007213d700045009e20..."} 
[2026-07-07 11:41:06] local.INFO: Processing buffer {"connection_id":124427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b318180012d18c6c007213d700045009e20..."} 
[2026-07-07 11:41:06] local.INFO: Packet analysis {"connection_id":124427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b31"} 
[2026-07-07 11:41:06] local.INFO: Extracted packet for processing {"connection_id":124427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b31"} 
[2026-07-07 11:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756598464,"raw_latitude":119618928,"longitude_deg":75.6598464,"latitude_deg":11.9618928,"altitude":69,"angle":158,"satellites":32,"speed":26,"hex_longitude":"2d18c6c0","hex_latitude":"07213d70","is_valid_coordinates":true} 
[2026-07-07 11:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551558144001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4868852236156928,"note":"Value kept but may cause issues"} 
[2026-07-07 11:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489201360896,"note":"Value kept but may cause issues"} 
[2026-07-07 11:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783404528000,"timestamp_ms":1783404528000,"timestamp_seconds":1783404528,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b318180"} 
[2026-07-07 11:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-07 11:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551558144001,"66":14080,"121":206,"28":31744,"24":26,"16":4868852236156928,"45":1784762489201360896},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551558144001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:41:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:41:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4868852236156928,"km_value":4868852236156.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489201360896,"description":"Unknown IO ID 45"} 
[2026-07-07 11:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551558144001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1784762489201360896}} 
[2026-07-07 11:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":124427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:41:06] local.INFO: GPS data processed {"connection_id":124427,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:41:06] local.INFO: Acknowledgment sent {"connection_id":124427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:41:09] local.INFO: TCP Data received {"connection_id":124342,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:41:09] local.INFO: Processing buffer {"connection_id":124342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:41:09] local.INFO: IMEI packet received {"connection_id":124342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":124342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:41:10] local.INFO: TCP Data received {"connection_id":124342,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b3248b8012d80940005c3fb70000a00ab27..."} 
[2026-07-07 11:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b3248b8012d80940005c3fb70000a00ab27..."} 
[2026-07-07 11:41:10] local.INFO: Processing buffer {"connection_id":124342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b3248b8012d80940005c3fb70000a00ab27..."} 
[2026-07-07 11:41:10] local.INFO: Packet analysis {"connection_id":124342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b32"} 
[2026-07-07 11:41:10] local.INFO: Extracted packet for processing {"connection_id":124342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b32"} 
[2026-07-07 11:41:10] local.INFO: GPS Element Parsed {"raw_longitude":763401216,"raw_latitude":96729968,"longitude_deg":76.3401216,"latitude_deg":9.6729968,"altitude":10,"angle":171,"satellites":39,"speed":13,"hex_longitude":"2d809400","hex_latitude":"05c3fb70","is_valid_coordinates":true} 
[2026-07-07 11:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551572224001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341063726637514752,"note":"Value kept but may cause issues"} 
[2026-07-07 11:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9181713715538726912,"note":"Value kept but may cause issues"} 
[2026-07-07 11:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783404579000,"timestamp_ms":1783404579000,"timestamp_seconds":1783404579,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b3248b8"} 
[2026-07-07 11:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 11:41: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-07-07 11:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551572224001,"66":27745,"156":206,"85":12288,"24":13,"16":341063726637514752,"45":-9181713715538726912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-07 11:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551572224001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:41:10] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 11:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341063726637514752,"km_value":341063726637514.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9181713715538726912,"description":"Unknown IO ID 45"} 
[2026-07-07 11:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551572224001,"power":27745,"unknown_156":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":-9181713715538726912}} 
[2026-07-07 11:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":124342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:41:10] local.INFO: GPS data processed {"connection_id":124342,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:41:10] local.INFO: Acknowledgment sent {"connection_id":124342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:41:15] local.INFO: TCP Data received {"connection_id":124342,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b326410012d8095c005c3f198000a00b628..."} 
[2026-07-07 11:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b326410012d8095c005c3f198000a00b628..."} 
[2026-07-07 11:41:15] local.INFO: Processing buffer {"connection_id":124342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b326410012d8095c005c3f198000a00b628..."} 
[2026-07-07 11:41:15] local.INFO: Packet analysis {"connection_id":124342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b32"} 
[2026-07-07 11:41:15] local.INFO: Extracted packet for processing {"connection_id":124342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b32"} 
[2026-07-07 11:41:15] local.INFO: GPS Element Parsed {"raw_longitude":763401664,"raw_latitude":96727448,"longitude_deg":76.3401664,"latitude_deg":9.6727448,"altitude":10,"angle":182,"satellites":40,"speed":15,"hex_longitude":"2d8095c0","hex_latitude":"05c3f198","is_valid_coordinates":true} 
[2026-07-07 11:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551572224001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341063851191566336,"note":"Value kept but may cause issues"} 
[2026-07-07 11:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9181713715538726912,"note":"Value kept but may cause issues"} 
[2026-07-07 11:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783404586000,"timestamp_ms":1783404586000,"timestamp_seconds":1783404586,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b326410"} 
[2026-07-07 11:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 11:41: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-07-07 11:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551572224001,"66":27832,"156":206,"85":12288,"24":15,"16":341063851191566336,"45":-9181713715538726912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-07 11:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551572224001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:41:15] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 11:41:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341063851191566336,"km_value":341063851191566.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9181713715538726912,"description":"Unknown IO ID 45"} 
[2026-07-07 11:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551572224001,"power":27832,"unknown_156":206,"unknown_85":12288,"ignition":15,"odometer":null,"unknown_45":-9181713715538726912}} 
[2026-07-07 11:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":124342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:41:15] local.INFO: GPS data processed {"connection_id":124342,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:41:15] local.INFO: Acknowledgment sent {"connection_id":124342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:41:21] local.INFO: TCP Data received {"connection_id":125128,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:41:21] local.INFO: Processing buffer {"connection_id":125128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:41:21] local.INFO: IMEI packet received {"connection_id":125128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":125128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:41:27] local.INFO: TCP Data received {"connection_id":125128,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:41:27] local.INFO: Processing buffer {"connection_id":125128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:41:27] local.INFO: IMEI packet received {"connection_id":125128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":125128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:41:29] local.INFO: TCP Data received {"connection_id":125128,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b3198f0012d18cd40072131b80044009220..."} 
[2026-07-07 11:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b3198f0012d18cd40072131b80044009220..."} 
[2026-07-07 11:41:29] local.INFO: Processing buffer {"connection_id":125128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b3198f0012d18cd40072131b80044009220..."} 
[2026-07-07 11:41:29] local.INFO: Packet analysis {"connection_id":125128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b31"} 
[2026-07-07 11:41:29] local.INFO: Extracted packet for processing {"connection_id":125128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b31"} 
[2026-07-07 11:41:29] local.INFO: GPS Element Parsed {"raw_longitude":756600128,"raw_latitude":119615928,"longitude_deg":75.6600128,"latitude_deg":11.9615928,"altitude":68,"angle":146,"satellites":32,"speed":25,"hex_longitude":"2d18cd40","hex_latitude":"072131b8","is_valid_coordinates":true} 
[2026-07-07 11:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551559168001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4869019739881472,"note":"Value kept but may cause issues"} 
[2026-07-07 11:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785325439153958912,"note":"Value kept but may cause issues"} 
[2026-07-07 11:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783404534000,"timestamp_ms":1783404534000,"timestamp_seconds":1783404534,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b3198f0"} 
[2026-07-07 11:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-07 11:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-07-07 11:41:29] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-07-07 11:41:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-07 11:41:29] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2147950962,"note":"Value kept but may cause issues"} 
[2026-07-07 11:41:29] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911143,"note":"Value kept but may cause issues"} 
[2026-07-07 11:41:29] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,76,159,113,45,192,74,71,32,10,66,106,81,73,75,1,240,154,59,33,4,205,38,67,172,40,239,53,2,17,7,80,47],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-07 11:41:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972147848894873600,"timestamp_seconds":4972147848894874.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 11:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551559168001,"66":13939,"121":206,"28":31744,"24":25,"16":4869019739881472,"45":1785325439153958912},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551559168001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:41:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:41:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4869019739881472,"km_value":4869019739881.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785325439153958912,"description":"Unknown IO ID 45"} 
[2026-07-07 11:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551559168001,"power":13939,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1785325439153958912}} 
[2026-07-07 11:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":125128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:41:29] local.INFO: GPS data processed {"connection_id":125128,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:41:29] local.INFO: Acknowledgment sent {"connection_id":125128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:41:59] local.INFO: TCP Data received {"connection_id":126375,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:41:59] local.INFO: Processing buffer {"connection_id":126375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:41:59] local.INFO: IMEI packet received {"connection_id":126375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":126375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:42:00] local.INFO: TCP Data received {"connection_id":125128,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b31a4a8012d18d14007212a40004400a120..."} 
[2026-07-07 11:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b31a4a8012d18d14007212a40004400a120..."} 
[2026-07-07 11:42:00] local.INFO: Processing buffer {"connection_id":125128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b31a4a8012d18d14007212a40004400a120..."} 
[2026-07-07 11:42:00] local.INFO: Packet analysis {"connection_id":125128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b31"} 
[2026-07-07 11:42:00] local.INFO: Extracted packet for processing {"connection_id":125128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b31"} 
[2026-07-07 11:42:00] local.INFO: GPS Element Parsed {"raw_longitude":756601152,"raw_latitude":119614016,"longitude_deg":75.6601152,"latitude_deg":11.9614016,"altitude":68,"angle":161,"satellites":32,"speed":32,"hex_longitude":"2d18d140","hex_latitude":"07212a40","is_valid_coordinates":true} 
[2026-07-07 11:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551560704001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4869122819096576,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787155026501810176,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42: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-07-07 11:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783404537000,"timestamp_ms":1783404537000,"timestamp_seconds":1783404537,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b31a4a8"} 
[2026-07-07 11:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-07-07 11:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551560704001,"66":14004,"121":206,"28":31744,"24":32,"16":4869122819096576,"45":1787155026501810176},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551560704001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:42:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:42:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4869122819096576,"km_value":4869122819096.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787155026501810176,"description":"Unknown IO ID 45"} 
[2026-07-07 11:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551560704001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1787155026501810176}} 
[2026-07-07 11:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":125128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:42:00] local.INFO: GPS data processed {"connection_id":125128,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:42:00] local.INFO: Acknowledgment sent {"connection_id":125128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:42:04] local.INFO: TCP Data received {"connection_id":126375,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:42:04] local.INFO: Processing buffer {"connection_id":126375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:42:04] local.INFO: IMEI packet received {"connection_id":126375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":126375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:42:05] local.INFO: TCP Data received {"connection_id":126375,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b32ae48012d80914005c3cf48000900ba28..."} 
[2026-07-07 11:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b32ae48012d80914005c3cf48000900ba28..."} 
[2026-07-07 11:42:05] local.INFO: Processing buffer {"connection_id":126375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b32ae48012d80914005c3cf48000900ba28..."} 
[2026-07-07 11:42:05] local.INFO: Packet analysis {"connection_id":126375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b32"} 
[2026-07-07 11:42:05] local.INFO: Extracted packet for processing {"connection_id":126375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b32"} 
[2026-07-07 11:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763400512,"raw_latitude":96718664,"longitude_deg":76.3400512,"latitude_deg":9.6718664,"altitude":9,"angle":186,"satellites":40,"speed":14,"hex_longitude":"2d809140","hex_latitude":"05c3cf48","is_valid_coordinates":true} 
[2026-07-07 11:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551574016001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341064280688295936,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9181221134330128384,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783404605000,"timestamp_ms":1783404605000,"timestamp_seconds":1783404605,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b32ae48"} 
[2026-07-07 11:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 11:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551574016001,"66":27995,"156":206,"85":12288,"24":14,"16":341064280688295936,"45":-9181221134330128384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-07 11:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551574016001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:42:05] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 11:42:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341064280688295936,"km_value":341064280688295.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9181221134330128384,"description":"Unknown IO ID 45"} 
[2026-07-07 11:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551574016001,"power":27995,"unknown_156":206,"unknown_85":12288,"ignition":14,"odometer":null,"unknown_45":-9181221134330128384}} 
[2026-07-07 11:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":126375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:42:05] local.INFO: GPS data processed {"connection_id":126375,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:42:05] local.INFO: Acknowledgment sent {"connection_id":126375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:42:27] local.INFO: TCP Data received {"connection_id":126376,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:42:27] local.INFO: Processing buffer {"connection_id":126376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:42:27] local.INFO: IMEI packet received {"connection_id":126376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":126376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:42:32] local.INFO: TCP Data received {"connection_id":126376,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:42:32] local.INFO: Processing buffer {"connection_id":126376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:42:32] local.INFO: IMEI packet received {"connection_id":126376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":126376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:42:33] local.INFO: TCP Data received {"connection_id":126376,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b31ac78012d18d240072123a0004400b020..."} 
[2026-07-07 11:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b31ac78012d18d240072123a0004400b020..."} 
[2026-07-07 11:42:33] local.INFO: Processing buffer {"connection_id":126376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b31ac78012d18d240072123a0004400b020..."} 
[2026-07-07 11:42:33] local.INFO: Packet analysis {"connection_id":126376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b31"} 
[2026-07-07 11:42:33] local.INFO: Extracted packet for processing {"connection_id":126376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b31"} 
[2026-07-07 11:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119612320,"longitude_deg":75.6601408,"latitude_deg":11.961232,"altitude":68,"angle":176,"satellites":32,"speed":35,"hex_longitude":"2d18d240","hex_latitude":"072123a0","is_valid_coordinates":true} 
[2026-07-07 11: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-07-07 11:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551561472001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4869208718442496,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788280926408163328,"note":"Value kept but may cause issues"} 
[2026-07-07 11: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-07-07 11:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783404539000,"timestamp_ms":1783404539000,"timestamp_seconds":1783404539,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b31ac78"} 
[2026-07-07 11:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":180,"data_length":795,"current_offset":136} 
[2026-07-07 11:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11: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-07-07 11:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551561472001,"66":13330,"121":206,"28":31744,"24":35,"16":4869208718442496,"45":1788280926408163328},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551561472001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:42:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:42:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4869208718442496,"km_value":4869208718442.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788280926408163328,"description":"Unknown IO ID 45"} 
[2026-07-07 11:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551561472001,"power":13330,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1788280926408163328}} 
[2026-07-07 11:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":126376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:42:33] local.INFO: GPS data processed {"connection_id":126376,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:42:33] local.INFO: Acknowledgment sent {"connection_id":126376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:42:36] local.INFO: TCP Data received {"connection_id":126375,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b330050012d808e4005c3bd80000900ba28..."} 
[2026-07-07 11:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b330050012d808e4005c3bd80000900ba28..."} 
[2026-07-07 11:42:36] local.INFO: Processing buffer {"connection_id":126375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b330050012d808e4005c3bd80000900ba28..."} 
[2026-07-07 11:42:36] local.INFO: Packet analysis {"connection_id":126375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b33"} 
[2026-07-07 11:42:36] local.INFO: Extracted packet for processing {"connection_id":126375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b33"} 
[2026-07-07 11:42:36] local.INFO: GPS Element Parsed {"raw_longitude":763399744,"raw_latitude":96714112,"longitude_deg":76.3399744,"latitude_deg":9.6714112,"altitude":9,"angle":186,"satellites":40,"speed":5,"hex_longitude":"2d808e40","hex_latitude":"05c3bd80","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551578880001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341064508321562624,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9182487771727575040,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783404626000,"timestamp_ms":1783404626000,"timestamp_seconds":1783404626,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b330050"} 
[2026-07-07 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-07-07 11:42: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-07-07 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 11:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 11:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551578880001,"66":27974,"156":206,"85":12288,"24":5,"16":341064508321562624,"45":-9182487771727575040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-07 11:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551578880001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:42:36] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 11:42:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341064508321562624,"km_value":341064508321562.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9182487771727575040,"description":"Unknown IO ID 45"} 
[2026-07-07 11:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551578880001,"power":27974,"unknown_156":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":-9182487771727575040}} 
[2026-07-07 11:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":126375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:42:36] local.INFO: GPS data processed {"connection_id":126375,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:42:36] local.INFO: Acknowledgment sent {"connection_id":126375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:42:38] local.INFO: TCP Data received {"connection_id":126376,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b31c7d0012d18d40007210ba8004100a51f..."} 
[2026-07-07 11:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b31c7d0012d18d40007210ba8004100a51f..."} 
[2026-07-07 11:42:38] local.INFO: Processing buffer {"connection_id":126376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b31c7d0012d18d40007210ba8004100a51f..."} 
[2026-07-07 11:42:38] local.INFO: Packet analysis {"connection_id":126376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b31"} 
[2026-07-07 11:42:38] local.INFO: Extracted packet for processing {"connection_id":126376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b31"} 
[2026-07-07 11:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756601856,"raw_latitude":119606184,"longitude_deg":75.6601856,"latitude_deg":11.9606184,"altitude":65,"angle":165,"satellites":31,"speed":27,"hex_longitude":"2d18d400","hex_latitude":"07210ba8","is_valid_coordinates":true} 
[2026-07-07 11:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551561984001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4869505071185920,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384439808,"note":"Value kept but may cause issues"} 
[2026-07-07 11: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-07-07 11:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783404546000,"timestamp_ms":1783404546000,"timestamp_seconds":1783404546,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b31c7d0"} 
[2026-07-07 11:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:42: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-07-07 11:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-07 11:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:38] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4827860093740285959,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249536797023236648,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":8225825054407991296,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-07 11:42:38] local.WARNING: Large IO value detected {"io_id":195,"raw_value":3221692753,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:38] local.WARNING: Large IO value detected {"io_id":154,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:38] local.WARNING: Large IO value detected {"io_id":38,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:38] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:38] local.WARNING: Large IO value detected {"io_id":67,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-07 11:42:38] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,121,28,24,241,158,16,76,159,164,45,64,42,68,32,10,66,152,49,129,192,1,240,59,33,4,113,205,39,106,195,160,239,54,2,17,7,77,40,154,38,231,67],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-07 11:42:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900110046066835456,"timestamp_seconds":4900110046066835.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 11:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551561984001,"66":13896,"121":206,"28":31744,"24":27,"16":4869505071185920,"45":1788562401384439808},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551561984001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:42:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:42:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4869505071185920,"km_value":4869505071185.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384439808,"description":"Unknown IO ID 45"} 
[2026-07-07 11:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551561984001,"power":13896,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1788562401384439808}} 
[2026-07-07 11:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":126376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:42:38] local.INFO: GPS data processed {"connection_id":126376,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:42:38] local.INFO: Acknowledgment sent {"connection_id":126376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:42:58] local.INFO: TCP Data received {"connection_id":125129,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:42:58] local.INFO: Processing buffer {"connection_id":125129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:42:58] local.INFO: IMEI packet received {"connection_id":125129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":125129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:42:59] local.INFO: TCP Data received {"connection_id":125129,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:42:59] local.INFO: Processing buffer {"connection_id":125129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:42:59] local.INFO: IMEI packet received {"connection_id":125129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":125129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:43:09] local.INFO: TCP Data received {"connection_id":125129,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:43:09] local.INFO: Processing buffer {"connection_id":125129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:43:09] local.INFO: IMEI packet received {"connection_id":125129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":125129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:43:20] local.INFO: TCP Data received {"connection_id":125129,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b335258012d808bc005c3ae50000900be27..."} 
[2026-07-07 11:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b335258012d808bc005c3ae50000900be27..."} 
[2026-07-07 11:43:20] local.INFO: Processing buffer {"connection_id":125129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b335258012d808bc005c3ae50000900be27..."} 
[2026-07-07 11:43:20] local.INFO: Packet analysis {"connection_id":125129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b33"} 
[2026-07-07 11:43:20] local.INFO: Extracted packet for processing {"connection_id":125129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b33"} 
[2026-07-07 11:43:20] local.INFO: GPS Element Parsed {"raw_longitude":763399104,"raw_latitude":96710224,"longitude_deg":76.3399104,"latitude_deg":9.6710224,"altitude":9,"angle":190,"satellites":39,"speed":6,"hex_longitude":"2d808bc0","hex_latitude":"05c3ae50","is_valid_coordinates":true} 
[2026-07-07 11:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551584256001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341064701595090944,"note":"Value kept but may cause issues"} 
[2026-07-07 11:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9183332196658872320,"note":"Value kept but may cause issues"} 
[2026-07-07 11:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783404647000,"timestamp_ms":1783404647000,"timestamp_seconds":1783404647,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b335258"} 
[2026-07-07 11:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 11:43: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-07-07 11:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":125129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":125129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":125129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551584256001,"66":27865,"157":206,"85":12288,"24":6,"16":341064701595090944,"45":-9183332196658872320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-07 11:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551584256001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:43:20] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 11:43:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341064701595090944,"km_value":341064701595090.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9183332196658872320,"description":"Unknown IO ID 45"} 
[2026-07-07 11:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551584256001,"power":27865,"unknown_157":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":-9183332196658872320}} 
[2026-07-07 11:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":125129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:43:20] local.INFO: GPS data processed {"connection_id":125129,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:43:20] local.INFO: Acknowledgment sent {"connection_id":125129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:43:21] local.INFO: TCP Data received {"connection_id":126378,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:43:21] local.INFO: Processing buffer {"connection_id":126378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:43:21] local.INFO: IMEI packet received {"connection_id":126378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":126378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:43:21] local.INFO: TCP Data received {"connection_id":126378,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:43:21] local.INFO: Processing buffer {"connection_id":126378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:43:21] local.INFO: IMEI packet received {"connection_id":126378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":126378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:43:27] local.INFO: TCP Data received {"connection_id":126378,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:43:27] local.INFO: Processing buffer {"connection_id":126378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:43:27] local.INFO: IMEI packet received {"connection_id":126378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":126378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:43:28] local.INFO: TCP Data received {"connection_id":126378,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b31e328012d18d6c007210108003f00b11e..."} 
[2026-07-07 11:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b31e328012d18d6c007210108003f00b11e..."} 
[2026-07-07 11:43:28] local.INFO: Processing buffer {"connection_id":126378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b31e328012d18d6c007210108003f00b11e..."} 
[2026-07-07 11:43:28] local.INFO: Packet analysis {"connection_id":126378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b31"} 
[2026-07-07 11:43:28] local.INFO: Extracted packet for processing {"connection_id":126378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b31"} 
[2026-07-07 11:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119603464,"longitude_deg":75.660256,"latitude_deg":11.9603464,"altitude":63,"angle":177,"satellites":30,"speed":9,"hex_longitude":"2d18d6c0","hex_latitude":"07210108","is_valid_coordinates":true} 
[2026-07-07 11:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551563776001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4869642510139392,"note":"Value kept but may cause issues"} 
[2026-07-07 11:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789054982592112640,"note":"Value kept but may cause issues"} 
[2026-07-07 11:43: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-07-07 11:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783404553000,"timestamp_ms":1783404553000,"timestamp_seconds":1783404553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b31e328"} 
[2026-07-07 11:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-07-07 11:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551563776001,"66":14048,"121":206,"28":31744,"24":9,"16":4869642510139392,"45":1789054982592112640},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551563776001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:43:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:43:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4869642510139392,"km_value":4869642510139.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789054982592112640,"description":"Unknown IO ID 45"} 
[2026-07-07 11:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551563776001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1789054982592112640}} 
[2026-07-07 11:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":126378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:43:29] local.INFO: GPS data processed {"connection_id":126378,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:43:29] local.INFO: Acknowledgment sent {"connection_id":126378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:43:59] local.INFO: TCP Data received {"connection_id":125130,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:43:59] local.INFO: Processing buffer {"connection_id":125130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:43:59] local.INFO: IMEI packet received {"connection_id":125130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":125130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:44:00] local.INFO: TCP Data received {"connection_id":126378,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b323530012d18d6c00720fe88003f00aa1f..."} 
[2026-07-07 11:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b323530012d18d6c00720fe88003f00aa1f..."} 
[2026-07-07 11:44:00] local.INFO: Processing buffer {"connection_id":126378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b323530012d18d6c00720fe88003f00aa1f..."} 
[2026-07-07 11:44:00] local.INFO: Packet analysis {"connection_id":126378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b32"} 
[2026-07-07 11:44:00] local.INFO: Extracted packet for processing {"connection_id":126378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b32"} 
[2026-07-07 11:44:00] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602824,"longitude_deg":75.660256,"latitude_deg":11.9602824,"altitude":63,"angle":170,"satellites":31,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fe88","is_valid_coordinates":true} 
[2026-07-07 11:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551565568001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4869681164845056,"note":"Value kept but may cause issues"} 
[2026-07-07 11:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777370624,"note":"Value kept but may cause issues"} 
[2026-07-07 11:44: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-07-07 11:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783404574000,"timestamp_ms":1783404574000,"timestamp_seconds":1783404574,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b323530"} 
[2026-07-07 11:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 11:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551565568001,"66":14048,"121":206,"28":31744,"24":0,"16":4869681164845056,"45":1789829038777370624},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551565568001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:44:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:44:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4869681164845056,"km_value":4869681164845.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777370624,"description":"Unknown IO ID 45"} 
[2026-07-07 11:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551565568001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789829038777370624}} 
[2026-07-07 11:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":126378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:44:00] local.INFO: GPS data processed {"connection_id":126378,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:44:00] local.INFO: Acknowledgment sent {"connection_id":126378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:44:04] local.INFO: TCP Data received {"connection_id":125130,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:44:04] local.INFO: Processing buffer {"connection_id":125130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:44:04] local.INFO: IMEI packet received {"connection_id":125130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":125130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:44:05] local.INFO: TCP Data received {"connection_id":125130,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b353aa0012d805bc005c296e8000900bb2a..."} 
[2026-07-07 11:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b353aa0012d805bc005c296e8000900bb2a..."} 
[2026-07-07 11:44:05] local.INFO: Processing buffer {"connection_id":125130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b353aa0012d805bc005c296e8000900bb2a..."} 
[2026-07-07 11:44:05] local.INFO: Packet analysis {"connection_id":125130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b35"} 
[2026-07-07 11:44:05] local.INFO: Extracted packet for processing {"connection_id":125130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b35"} 
[2026-07-07 11:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763386816,"raw_latitude":96638696,"longitude_deg":76.3386816,"latitude_deg":9.6638696,"altitude":9,"angle":187,"satellites":42,"speed":56,"hex_longitude":"2d805bc0","hex_latitude":"05c296e8","is_valid_coordinates":true} 
[2026-07-07 11:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551619840001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341068232058208256,"note":"Value kept but may cause issues"} 
[2026-07-07 11:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196280045604454400,"note":"Value kept but may cause issues"} 
[2026-07-07 11:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783404772000,"timestamp_ms":1783404772000,"timestamp_seconds":1783404772,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b353aa0"} 
[2026-07-07 11:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 11:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551619840001,"66":27919,"225":206,"85":12288,"24":56,"16":341068232058208256,"45":-9196280045604454400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-07-07 11:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551619840001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:44:05] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-07 11:44:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341068232058208256,"km_value":341068232058208.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196280045604454400,"description":"Unknown IO ID 45"} 
[2026-07-07 11:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551619840001,"power":27919,"unknown_225":206,"unknown_85":12288,"ignition":56,"odometer":null,"unknown_45":-9196280045604454400}} 
[2026-07-07 11:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":125130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:44:05] local.INFO: GPS data processed {"connection_id":125130,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:44:05] local.INFO: Acknowledgment sent {"connection_id":125130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:44:22] local.INFO: TCP Data received {"connection_id":125131,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:44:22] local.INFO: Processing buffer {"connection_id":125131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:44:22] local.INFO: IMEI packet received {"connection_id":125131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":125131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:44:23] local.INFO: TCP Data received {"connection_id":125131,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:44:23] local.INFO: Processing buffer {"connection_id":125131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:44:23] local.INFO: IMEI packet received {"connection_id":125131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":125131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:44:27] local.INFO: TCP Data received {"connection_id":125131,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:44:27] local.INFO: Processing buffer {"connection_id":125131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:44:27] local.INFO: IMEI packet received {"connection_id":125131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":125131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:44:29] local.INFO: TCP Data received {"connection_id":125131,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b328738012d18d6c00720fe88003f00aa20..."} 
[2026-07-07 11:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b328738012d18d6c00720fe88003f00aa20..."} 
[2026-07-07 11:44:29] local.INFO: Processing buffer {"connection_id":125131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b328738012d18d6c00720fe88003f00aa20..."} 
[2026-07-07 11:44:29] local.INFO: Packet analysis {"connection_id":125131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b32"} 
[2026-07-07 11:44:29] local.INFO: Extracted packet for processing {"connection_id":125131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b32"} 
[2026-07-07 11:44:29] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602824,"longitude_deg":75.660256,"latitude_deg":11.9602824,"altitude":63,"angle":170,"satellites":32,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fe88","is_valid_coordinates":true} 
[2026-07-07 11:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551570944001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4869681164845056,"note":"Value kept but may cause issues"} 
[2026-07-07 11:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777206784,"note":"Value kept but may cause issues"} 
[2026-07-07 11:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783404595000,"timestamp_ms":1783404595000,"timestamp_seconds":1783404595,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b328738"} 
[2026-07-07 11:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 11:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551570944001,"66":13939,"121":206,"28":31744,"24":0,"16":4869681164845056,"45":1789829038777206784},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551570944001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:44:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:44:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4869681164845056,"km_value":4869681164845.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777206784,"description":"Unknown IO ID 45"} 
[2026-07-07 11:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551570944001,"power":13939,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789829038777206784}} 
[2026-07-07 11:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":125131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:44:29] local.INFO: GPS data processed {"connection_id":125131,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:44:29] local.INFO: Acknowledgment sent {"connection_id":125131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:44:32] local.INFO: TCP Data received {"connection_id":125131,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b32d940012d18d6c00720fe88003f00aa21..."} 
[2026-07-07 11:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b32d940012d18d6c00720fe88003f00aa21..."} 
[2026-07-07 11:44:32] local.INFO: Processing buffer {"connection_id":125131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b32d940012d18d6c00720fe88003f00aa21..."} 
[2026-07-07 11:44:32] local.INFO: Packet analysis {"connection_id":125131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b32"} 
[2026-07-07 11:44:32] local.INFO: Extracted packet for processing {"connection_id":125131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b32"} 
[2026-07-07 11:44:32] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602824,"longitude_deg":75.660256,"latitude_deg":11.9602824,"altitude":63,"angle":170,"satellites":33,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fe88","is_valid_coordinates":true} 
[2026-07-07 11:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551576320001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4869681164845056,"note":"Value kept but may cause issues"} 
[2026-07-07 11:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777206784,"note":"Value kept but may cause issues"} 
[2026-07-07 11:44: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-07-07 11:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783404616000,"timestamp_ms":1783404616000,"timestamp_seconds":1783404616,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b32d940"} 
[2026-07-07 11:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-07-07 11:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551576320001,"66":13993,"121":206,"28":31744,"24":0,"16":4869681164845056,"45":1789829038777206784},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551576320001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:44:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:44:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4869681164845056,"km_value":4869681164845.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777206784,"description":"Unknown IO ID 45"} 
[2026-07-07 11:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551576320001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789829038777206784}} 
[2026-07-07 11:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":125131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:44:32] local.INFO: GPS data processed {"connection_id":125131,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:44:32] local.INFO: Acknowledgment sent {"connection_id":125131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:44:36] local.INFO: TCP Data received {"connection_id":125130,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b3555f8012d80570005c26fa8000900ba29..."} 
[2026-07-07 11:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b3555f8012d80570005c26fa8000900ba29..."} 
[2026-07-07 11:44:36] local.INFO: Processing buffer {"connection_id":125130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b3555f8012d80570005c26fa8000900ba29..."} 
[2026-07-07 11:44:36] local.INFO: Packet analysis {"connection_id":125130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b35"} 
[2026-07-07 11:44:36] local.INFO: Extracted packet for processing {"connection_id":125130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b35"} 
[2026-07-07 11:44:36] local.INFO: GPS Element Parsed {"raw_longitude":763385600,"raw_latitude":96628648,"longitude_deg":76.33856,"latitude_deg":9.6628648,"altitude":9,"angle":186,"satellites":41,"speed":59,"hex_longitude":"2d805700","hex_latitude":"05c26fa8","is_valid_coordinates":true} 
[2026-07-07 11:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551621632001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341068725979447296,"note":"Value kept but may cause issues"} 
[2026-07-07 11:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9197546683002066944,"note":"Value kept but may cause issues"} 
[2026-07-07 11:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783404779000,"timestamp_ms":1783404779000,"timestamp_seconds":1783404779,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b3555f8"} 
[2026-07-07 11:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 11:44: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-07-07 11:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551621632001,"66":27865,"225":206,"85":12288,"24":59,"16":341068725979447296,"45":-9197546683002066944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-07-07 11:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551621632001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:44:36] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-07 11:44:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341068725979447296,"km_value":341068725979447.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9197546683002066944,"description":"Unknown IO ID 45"} 
[2026-07-07 11:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551621632001,"power":27865,"unknown_225":206,"unknown_85":12288,"ignition":59,"odometer":null,"unknown_45":-9197546683002066944}} 
[2026-07-07 11:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":125130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:44:36] local.INFO: GPS data processed {"connection_id":125130,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:44:36] local.INFO: Acknowledgment sent {"connection_id":125130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:44:59] local.INFO: TCP Data received {"connection_id":126379,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:44:59] local.INFO: Processing buffer {"connection_id":126379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:44:59] local.INFO: IMEI packet received {"connection_id":126379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":126379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:45:04] local.INFO: TCP Data received {"connection_id":126379,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:45:04] local.INFO: Processing buffer {"connection_id":126379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:45:04] local.INFO: IMEI packet received {"connection_id":126379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":126379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:45:04] local.INFO: TCP Data received {"connection_id":125131,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b332b48012d18d6c00720fe88003f00aa20..."} 
[2026-07-07 11:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b332b48012d18d6c00720fe88003f00aa20..."} 
[2026-07-07 11:45:04] local.INFO: Processing buffer {"connection_id":125131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b332b48012d18d6c00720fe88003f00aa20..."} 
[2026-07-07 11:45:04] local.INFO: Packet analysis {"connection_id":125131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b33"} 
[2026-07-07 11:45:04] local.INFO: Extracted packet for processing {"connection_id":125131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b33"} 
[2026-07-07 11:45:04] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602824,"longitude_deg":75.660256,"latitude_deg":11.9602824,"altitude":63,"angle":170,"satellites":32,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fe88","is_valid_coordinates":true} 
[2026-07-07 11:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551581696001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4869681164845056,"note":"Value kept but may cause issues"} 
[2026-07-07 11:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777206784,"note":"Value kept but may cause issues"} 
[2026-07-07 11:45: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-07-07 11:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783404637000,"timestamp_ms":1783404637000,"timestamp_seconds":1783404637,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b332b48"} 
[2026-07-07 11:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-07 11:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551581696001,"66":13167,"121":206,"28":31744,"24":0,"16":4869681164845056,"45":1789829038777206784},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551581696001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:45:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:45:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4869681164845056,"km_value":4869681164845.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777206784,"description":"Unknown IO ID 45"} 
[2026-07-07 11:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551581696001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789829038777206784}} 
[2026-07-07 11:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":125131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:45:04] local.INFO: GPS data processed {"connection_id":125131,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:45:04] local.INFO: Acknowledgment sent {"connection_id":125131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:45:05] local.INFO: TCP Data received {"connection_id":126379,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b356d68012d80528005c24c60000900bc2a..."} 
[2026-07-07 11:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b356d68012d80528005c24c60000900bc2a..."} 
[2026-07-07 11:45:05] local.INFO: Processing buffer {"connection_id":126379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b356d68012d80528005c24c60000900bc2a..."} 
[2026-07-07 11:45:05] local.INFO: Packet analysis {"connection_id":126379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b35"} 
[2026-07-07 11:45:05] local.INFO: Extracted packet for processing {"connection_id":126379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b35"} 
[2026-07-07 11:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763384448,"raw_latitude":96619616,"longitude_deg":76.3384448,"latitude_deg":9.6619616,"altitude":9,"angle":188,"satellites":42,"speed":60,"hex_longitude":"2d805280","hex_latitude":"05c24c60","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551623424001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341069164066111488,"note":"Value kept but may cause issues"} 
[2026-07-07 11:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9198883689144014848,"note":"Value kept but may cause issues"} 
[2026-07-07 11:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783404785000,"timestamp_ms":1783404785000,"timestamp_seconds":1783404785,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b356d68"} 
[2026-07-07 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-07-07 11:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 11:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551623424001,"66":27919,"235":206,"85":12288,"24":60,"16":341069164066111488,"45":-9198883689144014848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-07 11:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551623424001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:45:05] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-07 11:45:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341069164066111488,"km_value":341069164066111.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9198883689144014848,"description":"Unknown IO ID 45"} 
[2026-07-07 11:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551623424001,"power":27919,"unknown_235":206,"unknown_85":12288,"ignition":60,"odometer":null,"unknown_45":-9198883689144014848}} 
[2026-07-07 11:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":126379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:45:05] local.INFO: GPS data processed {"connection_id":126379,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:45:05] local.INFO: Acknowledgment sent {"connection_id":126379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:45:22] local.INFO: TCP Data received {"connection_id":125132,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:45:22] local.INFO: Processing buffer {"connection_id":125132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:45:22] local.INFO: IMEI packet received {"connection_id":125132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":125132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:45:27] local.INFO: TCP Data received {"connection_id":125132,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:45:27] local.INFO: Processing buffer {"connection_id":125132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:45:27] local.INFO: IMEI packet received {"connection_id":125132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":125132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:45:28] local.INFO: TCP Data received {"connection_id":125132,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b337d50012d18d7400720fdc8003e00aa21..."} 
[2026-07-07 11:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b337d50012d18d7400720fdc8003e00aa21..."} 
[2026-07-07 11:45:28] local.INFO: Processing buffer {"connection_id":125132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b337d50012d18d7400720fdc8003e00aa21..."} 
[2026-07-07 11:45:28] local.INFO: Packet analysis {"connection_id":125132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b33"} 
[2026-07-07 11:45:28] local.INFO: Extracted packet for processing {"connection_id":125132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b33"} 
[2026-07-07 11:45:28] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119602632,"longitude_deg":75.6602688,"latitude_deg":11.9602632,"altitude":62,"angle":170,"satellites":33,"speed":0,"hex_longitude":"2d18d740","hex_latitude":"0720fdc8","is_valid_coordinates":true} 
[2026-07-07 11:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551587072001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4869694049746944,"note":"Value kept but may cause issues"} 
[2026-07-07 11:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777206784,"note":"Value kept but may cause issues"} 
[2026-07-07 11:45: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-07-07 11:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783404658000,"timestamp_ms":1783404658000,"timestamp_seconds":1783404658,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b337d50"} 
[2026-07-07 11:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 11:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551587072001,"66":13102,"121":206,"28":31744,"24":0,"16":4869694049746944,"45":1789829038777206784},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551587072001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:45:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:45:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4869694049746944,"km_value":4869694049746.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777206784,"description":"Unknown IO ID 45"} 
[2026-07-07 11:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551587072001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789829038777206784}} 
[2026-07-07 11:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":125132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:45:28] local.INFO: GPS data processed {"connection_id":125132,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:45:28] local.INFO: Acknowledgment sent {"connection_id":125132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:45:39] local.INFO: TCP Data received {"connection_id":126379,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b3584d8012d804d8005c22a10000800bc2a..."} 
[2026-07-07 11:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b3584d8012d804d8005c22a10000800bc2a..."} 
[2026-07-07 11:45:39] local.INFO: Processing buffer {"connection_id":126379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b3584d8012d804d8005c22a10000800bc2a..."} 
[2026-07-07 11:45:39] local.INFO: Packet analysis {"connection_id":126379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b35"} 
[2026-07-07 11:45:39] local.INFO: Extracted packet for processing {"connection_id":126379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b35"} 
[2026-07-07 11:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763383168,"raw_latitude":96610832,"longitude_deg":76.3383168,"latitude_deg":9.6610832,"altitude":8,"angle":188,"satellites":42,"speed":57,"hex_longitude":"2d804d80","hex_latitude":"05c22a10","is_valid_coordinates":true} 
[2026-07-07 11:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551624960001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341069597857808384,"note":"Value kept but may cause issues"} 
[2026-07-07 11:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9200150326541524992,"note":"Value kept but may cause issues"} 
[2026-07-07 11:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783404791000,"timestamp_ms":1783404791000,"timestamp_seconds":1783404791,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b3584d8"} 
[2026-07-07 11:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:45: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-07-07 11:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 11:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551624960001,"66":27919,"235":206,"85":12288,"24":57,"16":341069597857808384,"45":-9200150326541524992},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-07 11:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551624960001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:45:39] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-07 11:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341069597857808384,"km_value":341069597857808.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9200150326541524992,"description":"Unknown IO ID 45"} 
[2026-07-07 11:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551624960001,"power":27919,"unknown_235":206,"unknown_85":12288,"ignition":57,"odometer":null,"unknown_45":-9200150326541524992}} 
[2026-07-07 11:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":126379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:45:39] local.INFO: GPS data processed {"connection_id":126379,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:45:39] local.INFO: Acknowledgment sent {"connection_id":126379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:45:41] local.INFO: TCP Data received {"connection_id":124344,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:45:41] local.INFO: Processing buffer {"connection_id":124344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:45:41] local.INFO: IMEI packet received {"connection_id":124344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 11:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":124344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:45:59] local.INFO: TCP Data received {"connection_id":126380,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:45:59] local.INFO: Processing buffer {"connection_id":126380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:45:59] local.INFO: IMEI packet received {"connection_id":126380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 11:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":126380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:46:00] local.INFO: TCP Data received {"connection_id":125132,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b33cf58012d18d7400720fdc8003e00aa20..."} 
[2026-07-07 11:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b33cf58012d18d7400720fdc8003e00aa20..."} 
[2026-07-07 11:46:00] local.INFO: Processing buffer {"connection_id":125132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b33cf58012d18d7400720fdc8003e00aa20..."} 
[2026-07-07 11:46:00] local.INFO: Packet analysis {"connection_id":125132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b33"} 
[2026-07-07 11:46:00] local.INFO: Extracted packet for processing {"connection_id":125132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b33"} 
[2026-07-07 11:46:00] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119602632,"longitude_deg":75.6602688,"latitude_deg":11.9602632,"altitude":62,"angle":170,"satellites":32,"speed":0,"hex_longitude":"2d18d740","hex_latitude":"0720fdc8","is_valid_coordinates":true} 
[2026-07-07 11:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551592448001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4869694049746944,"note":"Value kept but may cause issues"} 
[2026-07-07 11:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789969776265512960,"note":"Value kept but may cause issues"} 
[2026-07-07 11:46: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-07-07 11:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783404679000,"timestamp_ms":1783404679000,"timestamp_seconds":1783404679,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b33cf58"} 
[2026-07-07 11:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 11:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551592448001,"66":13015,"121":206,"28":31744,"24":0,"16":4869694049746944,"45":1789969776265512960},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551592448001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:46:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:46:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4869694049746944,"km_value":4869694049746.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789969776265512960,"description":"Unknown IO ID 45"} 
[2026-07-07 11:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551592448001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789969776265512960}} 
[2026-07-07 11:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":125132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:46:00] local.INFO: GPS data processed {"connection_id":125132,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:46:00] local.INFO: Acknowledgment sent {"connection_id":125132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:46:09] local.INFO: TCP Data received {"connection_id":124429,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:46:09] local.INFO: Processing buffer {"connection_id":124429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:46:09] local.INFO: IMEI packet received {"connection_id":124429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":124429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:46:10] local.INFO: TCP Data received {"connection_id":124429,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:46:10] local.INFO: Processing buffer {"connection_id":124429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:46:10] local.INFO: IMEI packet received {"connection_id":124429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":124429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:46:14] local.INFO: TCP Data received {"connection_id":124429,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:46:14] local.INFO: Processing buffer {"connection_id":124429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:46:14] local.INFO: IMEI packet received {"connection_id":124429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":124429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:46:15] local.INFO: TCP Data received {"connection_id":124429,"ip":"42.106.6.18","data_length":93,"data_hex":"00000000000000518e010000019f3b374228012d801d4005c0bca8000a00c929..."} 
[2026-07-07 11:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124429,"packet_length":93,"packet_hex":"00000000000000518e010000019f3b374228012d801d4005c0bca8000a00c929..."} 
[2026-07-07 11:46:15] local.INFO: Processing buffer {"connection_id":124429,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f3b374228012d801d4005c0bca8000a00c929..."} 
[2026-07-07 11:46:15] local.INFO: Packet analysis {"connection_id":124429,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f3b37"} 
[2026-07-07 11:46:15] local.INFO: Extracted packet for processing {"connection_id":124429,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f3b37"} 
[2026-07-07 11:46:15] local.INFO: GPS Element Parsed {"raw_longitude":763370816,"raw_latitude":96517288,"longitude_deg":76.3370816,"latitude_deg":9.6517288,"altitude":10,"angle":201,"satellites":41,"speed":40,"hex_longitude":"2d801d40","hex_latitude":"05c0bca8","is_valid_coordinates":true} 
[2026-07-07 11:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-07 11:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:46:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:46:15] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 11:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124429,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-07 11:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124429,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-07 11:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124429,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-07 11:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 11:46:15] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 11:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":124429,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 11:46:15] local.ERROR: GPS data processing failed {"connection_id":124429,"error":"No valid data to process"} 
[2026-07-07 11:46:15] local.INFO: Acknowledgment sent {"connection_id":124429,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 11:46:17] local.INFO: TCP Data received {"connection_id":124429,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b3751c8012d80188005c0ad30000900bd29..."} 
[2026-07-07 11:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b3751c8012d80188005c0ad30000900bd29..."} 
[2026-07-07 11:46:17] local.INFO: Processing buffer {"connection_id":124429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b3751c8012d80188005c0ad30000900bd29..."} 
[2026-07-07 11:46:17] local.INFO: Packet analysis {"connection_id":124429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b37"} 
[2026-07-07 11:46:17] local.INFO: Extracted packet for processing {"connection_id":124429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b37"} 
[2026-07-07 11:46:17] local.INFO: GPS Element Parsed {"raw_longitude":763369600,"raw_latitude":96513328,"longitude_deg":76.33696,"latitude_deg":9.6513328,"altitude":9,"angle":189,"satellites":41,"speed":41,"hex_longitude":"2d801880","hex_latitude":"05c0ad30","is_valid_coordinates":true} 
[2026-07-07 11:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551655680001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341074378156408832,"note":"Value kept but may cause issues"} 
[2026-07-07 11:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215138869077563392,"note":"Value kept but may cause issues"} 
[2026-07-07 11:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783404909000,"timestamp_ms":1783404909000,"timestamp_seconds":1783404909,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b3751c8"} 
[2026-07-07 11:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:46: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-07-07 11:46: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-07-07 11:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:46: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-07-07 11:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551655680001,"66":27919,"225":206,"85":12288,"24":41,"16":341074378156408832,"45":-9215138869077563392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-07-07 11:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551655680001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:46:17] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-07 11:46:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341074378156408832,"km_value":341074378156408.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215138869077563392,"description":"Unknown IO ID 45"} 
[2026-07-07 11:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551655680001,"power":27919,"unknown_225":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":-9215138869077563392}} 
[2026-07-07 11:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":124429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:46:17] local.INFO: GPS data processed {"connection_id":124429,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:46:17] local.INFO: Acknowledgment sent {"connection_id":124429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:46:21] local.INFO: TCP Data received {"connection_id":124345,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:46:21] local.INFO: Processing buffer {"connection_id":124345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:46:21] local.INFO: IMEI packet received {"connection_id":124345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":124345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:46:27] local.INFO: TCP Data received {"connection_id":124345,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:46:27] local.INFO: Processing buffer {"connection_id":124345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:46:27] local.INFO: IMEI packet received {"connection_id":124345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":124345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:46:30] local.INFO: TCP Data received {"connection_id":124345,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b342160012d18d7400720fdc8003e00aa21..."} 
[2026-07-07 11:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b342160012d18d7400720fdc8003e00aa21..."} 
[2026-07-07 11:46:30] local.INFO: Processing buffer {"connection_id":124345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b342160012d18d7400720fdc8003e00aa21..."} 
[2026-07-07 11:46:30] local.INFO: Packet analysis {"connection_id":124345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b34"} 
[2026-07-07 11:46:30] local.INFO: Extracted packet for processing {"connection_id":124345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b34"} 
[2026-07-07 11:46:30] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119602632,"longitude_deg":75.6602688,"latitude_deg":11.9602632,"altitude":62,"angle":170,"satellites":33,"speed":0,"hex_longitude":"2d18d740","hex_latitude":"0720fdc8","is_valid_coordinates":true} 
[2026-07-07 11:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551597824001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4869694049746944,"note":"Value kept but may cause issues"} 
[2026-07-07 11:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789969776265512960,"note":"Value kept but may cause issues"} 
[2026-07-07 11:46: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-07-07 11:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783404700000,"timestamp_ms":1783404700000,"timestamp_seconds":1783404700,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b342160"} 
[2026-07-07 11:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 11:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551597824001,"66":12982,"121":206,"28":31744,"24":0,"16":4869694049746944,"45":1789969776265512960},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551597824001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:46:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:46:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4869694049746944,"km_value":4869694049746.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789969776265512960,"description":"Unknown IO ID 45"} 
[2026-07-07 11:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551597824001,"power":12982,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789969776265512960}} 
[2026-07-07 11:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":124345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:46:30] local.INFO: GPS data processed {"connection_id":124345,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:46:30] local.INFO: Acknowledgment sent {"connection_id":124345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:46:59] local.INFO: TCP Data received {"connection_id":125133,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:46:59] local.INFO: Processing buffer {"connection_id":125133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:46:59] local.INFO: IMEI packet received {"connection_id":125133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":125133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:47:02] local.INFO: TCP Data received {"connection_id":124345,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b37af88012d18d7400720fdc8003e00aa21..."} 
[2026-07-07 11:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b37af88012d18d7400720fdc8003e00aa21..."} 
[2026-07-07 11:47:02] local.INFO: Processing buffer {"connection_id":124345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b37af88012d18d7400720fdc8003e00aa21..."} 
[2026-07-07 11:47:02] local.INFO: Packet analysis {"connection_id":124345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b37"} 
[2026-07-07 11:47:02] local.INFO: Extracted packet for processing {"connection_id":124345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b37"} 
[2026-07-07 11:47:02] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119602632,"longitude_deg":75.6602688,"latitude_deg":11.9602632,"altitude":62,"angle":170,"satellites":33,"speed":0,"hex_longitude":"2d18d740","hex_latitude":"0720fdc8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551657216001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4869694049746944,"note":"Value kept but may cause issues"} 
[2026-07-07 11:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789969776265512960,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 11:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783404933000,"timestamp_ms":1783404933000,"timestamp_seconds":1783404933,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b37af88"} 
[2026-07-07 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-07-07 11:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-07 11:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-07 11:47:02] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4127195136,"note":"Value kept but may cause issues"} 
[2026-07-07 11:47:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249583801145294280,"note":"Value kept but may cause issues"} 
[2026-07-07 11:47:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-07 11:47:02] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-07-07 11:47:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4063402,"corrected_to":0} 
[2026-07-07 11:47:02] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397159,"note":"Value kept but may cause issues"} 
[2026-07-07 11:47:02] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-07 11:47:02] local.WARNING: Large IO value detected {"io_id":68,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-07 11:47:02] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-07 11:47:02] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,76,159,7,45,64,253,62,34,10,66,181,95,1,240,134,59,32,4,113,205,187,215,200,239,49,2,17,231,68,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":200,"original":4063402,"validated":0}]} 
[2026-07-07 11:47:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467757889062174720,"timestamp_seconds":4467757889062174.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 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-07-07 11:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551657216001,"66":12504,"121":206,"28":31744,"24":0,"16":4869694049746944,"45":1789969776265512960},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551657216001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:47:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:47:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4869694049746944,"km_value":4869694049746.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789969776265512960,"description":"Unknown IO ID 45"} 
[2026-07-07 11:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551657216001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789969776265512960}} 
[2026-07-07 11:47:02] local.INFO: TCP Data received {"connection_id":125133,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":124345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:47:02] local.INFO: GPS data processed {"connection_id":124345,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:47:02] local.INFO: Acknowledgment sent {"connection_id":124345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:47:02] local.INFO: Processing buffer {"connection_id":125133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:47:02] local.INFO: IMEI packet received {"connection_id":125133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":125133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:47:03] local.INFO: TCP Data received {"connection_id":125133,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b377108012d80134005c08ab8000900bd28..."} 
[2026-07-07 11:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b377108012d80134005c08ab8000900bd28..."} 
[2026-07-07 11:47:03] local.INFO: Processing buffer {"connection_id":125133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b377108012d80134005c08ab8000900bd28..."} 
[2026-07-07 11:47:03] local.INFO: Packet analysis {"connection_id":125133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b37"} 
[2026-07-07 11:47:03] local.INFO: Extracted packet for processing {"connection_id":125133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b37"} 
[2026-07-07 11:47:03] local.INFO: GPS Element Parsed {"raw_longitude":763368256,"raw_latitude":96504504,"longitude_deg":76.3368256,"latitude_deg":9.6504504,"altitude":9,"angle":189,"satellites":40,"speed":46,"hex_longitude":"2d801340","hex_latitude":"05c08ab8","is_valid_coordinates":true} 
[2026-07-07 11:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551656704001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341074811948105728,"note":"Value kept but may cause issues"} 
[2026-07-07 11:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9216475875217952768,"note":"Value kept but may cause issues"} 
[2026-07-07 11:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783404917000,"timestamp_ms":1783404917000,"timestamp_seconds":1783404917,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b377108"} 
[2026-07-07 11:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:47: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-07-07 11:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 11:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551656704001,"66":27930,"225":206,"85":12288,"24":46,"16":341074811948105728,"45":-9216475875217952768},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-07-07 11:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551656704001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:47:03] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-07 11:47:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341074811948105728,"km_value":341074811948105.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9216475875217952768,"description":"Unknown IO ID 45"} 
[2026-07-07 11:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551656704001,"power":27930,"unknown_225":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":-9216475875217952768}} 
[2026-07-07 11:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":125133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:47:03] local.INFO: GPS data processed {"connection_id":125133,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:47:03] local.INFO: Acknowledgment sent {"connection_id":125133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:47:26] local.INFO: TCP Data received {"connection_id":124431,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:47:26] local.INFO: Processing buffer {"connection_id":124431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:47:26] local.INFO: IMEI packet received {"connection_id":124431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":124431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:47:27] local.INFO: TCP Data received {"connection_id":124431,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:47:27] local.INFO: Processing buffer {"connection_id":124431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:47:27] local.INFO: IMEI packet received {"connection_id":124431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":124431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:47:32] local.INFO: TCP Data received {"connection_id":124431,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:47:32] local.INFO: Processing buffer {"connection_id":124431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:47:32] local.INFO: IMEI packet received {"connection_id":124431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":124431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:47:34] local.INFO: TCP Data received {"connection_id":124431,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b37fda8012d18d7400720fdc8003e00aa21..."} 
[2026-07-07 11:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b37fda8012d18d7400720fdc8003e00aa21..."} 
[2026-07-07 11:47:34] local.INFO: Processing buffer {"connection_id":124431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b37fda8012d18d7400720fdc8003e00aa21..."} 
[2026-07-07 11:47:34] local.INFO: Packet analysis {"connection_id":124431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b37"} 
[2026-07-07 11:47:34] local.INFO: Extracted packet for processing {"connection_id":124431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b37"} 
[2026-07-07 11:47:34] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119602632,"longitude_deg":75.6602688,"latitude_deg":11.9602632,"altitude":62,"angle":170,"satellites":33,"speed":0,"hex_longitude":"2d18d740","hex_latitude":"0720fdc8","is_valid_coordinates":true} 
[2026-07-07 11:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551662848001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4869694049746944,"note":"Value kept but may cause issues"} 
[2026-07-07 11:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789969776265512960,"note":"Value kept but may cause issues"} 
[2026-07-07 11:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783404953000,"timestamp_ms":1783404953000,"timestamp_seconds":1783404953,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b37fda8"} 
[2026-07-07 11:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 11:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551662848001,"66":14070,"121":206,"28":31744,"24":0,"16":4869694049746944,"45":1789969776265512960},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551662848001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:47:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:47:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4869694049746944,"km_value":4869694049746.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789969776265512960,"description":"Unknown IO ID 45"} 
[2026-07-07 11:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551662848001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789969776265512960}} 
[2026-07-07 11:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":124431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:47:34] local.INFO: GPS data processed {"connection_id":124431,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:47:34] local.INFO: Acknowledgment sent {"connection_id":124431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:47:34] local.INFO: TCP Data received {"connection_id":125133,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b379048012d800cc005c064e8000900bd29..."} 
[2026-07-07 11:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b379048012d800cc005c064e8000900bd29..."} 
[2026-07-07 11:47:34] local.INFO: Processing buffer {"connection_id":125133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b379048012d800cc005c064e8000900bd29..."} 
[2026-07-07 11:47:34] local.INFO: Packet analysis {"connection_id":125133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b37"} 
[2026-07-07 11:47:34] local.INFO: Extracted packet for processing {"connection_id":125133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b37"} 
[2026-07-07 11:47:34] local.INFO: GPS Element Parsed {"raw_longitude":763366592,"raw_latitude":96494824,"longitude_deg":76.3366592,"latitude_deg":9.6494824,"altitude":9,"angle":189,"satellites":41,"speed":51,"hex_longitude":"2d800cc0","hex_latitude":"05c064e8","is_valid_coordinates":true} 
[2026-07-07 11:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551658752001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341075288689475584,"note":"Value kept but may cause issues"} 
[2026-07-07 11:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9217953618847942656,"note":"Value kept but may cause issues"} 
[2026-07-07 11:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783404925000,"timestamp_ms":1783404925000,"timestamp_seconds":1783404925,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b379048"} 
[2026-07-07 11:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:47: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-07-07 11:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 11:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551658752001,"66":27919,"225":206,"85":12288,"24":51,"16":341075288689475584,"45":-9217953618847942656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-07-07 11:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551658752001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:47:34] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-07 11:47:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341075288689475584,"km_value":341075288689475.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9217953618847942656,"description":"Unknown IO ID 45"} 
[2026-07-07 11:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551658752001,"power":27919,"unknown_225":206,"unknown_85":12288,"ignition":51,"odometer":null,"unknown_45":-9217953618847942656}} 
[2026-07-07 11:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":125133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:47:34] local.INFO: GPS data processed {"connection_id":125133,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:47:34] local.INFO: Acknowledgment sent {"connection_id":125133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:47:59] local.INFO: TCP Data received {"connection_id":124346,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:47:59] local.INFO: Processing buffer {"connection_id":124346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:47:59] local.INFO: IMEI packet received {"connection_id":124346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":124346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:47:59] local.INFO: TCP Data received {"connection_id":124346,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:47:59] local.INFO: Processing buffer {"connection_id":124346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:47:59] local.INFO: IMEI packet received {"connection_id":124346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":124346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:48:06] local.INFO: TCP Data received {"connection_id":124431,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b384fb0012d18d7400720fdc8003e00aa20..."} 
[2026-07-07 11:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b384fb0012d18d7400720fdc8003e00aa20..."} 
[2026-07-07 11:48:06] local.INFO: Processing buffer {"connection_id":124431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b384fb0012d18d7400720fdc8003e00aa20..."} 
[2026-07-07 11:48:06] local.INFO: Packet analysis {"connection_id":124431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b38"} 
[2026-07-07 11:48:06] local.INFO: Extracted packet for processing {"connection_id":124431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b38"} 
[2026-07-07 11:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119602632,"longitude_deg":75.6602688,"latitude_deg":11.9602632,"altitude":62,"angle":170,"satellites":32,"speed":0,"hex_longitude":"2d18d740","hex_latitude":"0720fdc8","is_valid_coordinates":true} 
[2026-07-07 11:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551667968001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4869694049746944,"note":"Value kept but may cause issues"} 
[2026-07-07 11:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789969776265512960,"note":"Value kept but may cause issues"} 
[2026-07-07 11:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783404974000,"timestamp_ms":1783404974000,"timestamp_seconds":1783404974,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b384fb0"} 
[2026-07-07 11:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-07 11:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551667968001,"66":14157,"121":206,"28":31744,"24":0,"16":4869694049746944,"45":1789969776265512960},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551667968001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:48:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:48:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4869694049746944,"km_value":4869694049746.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789969776265512960,"description":"Unknown IO ID 45"} 
[2026-07-07 11:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551667968001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789969776265512960}} 
[2026-07-07 11:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":124431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:48:06] local.INFO: GPS data processed {"connection_id":124431,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:48:06] local.INFO: Acknowledgment sent {"connection_id":124431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:48:08] local.INFO: TCP Data received {"connection_id":124346,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:48:08] local.INFO: Processing buffer {"connection_id":124346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:48:08] local.INFO: IMEI packet received {"connection_id":124346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":124346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:48:10] local.INFO: TCP Data received {"connection_id":124346,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b38c8c8012d7fd00005bed810000700bc29..."} 
[2026-07-07 11:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b38c8c8012d7fd00005bed810000700bc29..."} 
[2026-07-07 11:48:10] local.INFO: Processing buffer {"connection_id":124346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b38c8c8012d7fd00005bed810000700bc29..."} 
[2026-07-07 11:48:10] local.INFO: Packet analysis {"connection_id":124346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b38"} 
[2026-07-07 11:48:10] local.INFO: Extracted packet for processing {"connection_id":124346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b38"} 
[2026-07-07 11:48:10] local.INFO: GPS Element Parsed {"raw_longitude":763351040,"raw_latitude":96393232,"longitude_deg":76.335104,"latitude_deg":9.6393232,"altitude":7,"angle":188,"satellites":41,"speed":31,"hex_longitude":"2d7fd000","hex_latitude":"05bed810","is_valid_coordinates":true} 
[2026-07-07 11:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551677952001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341080270851538944,"note":"Value kept but may cause issues"} 
[2026-07-07 11:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9211409375023613952,"note":"Value kept but may cause issues"} 
[2026-07-07 11:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783405005000,"timestamp_ms":1783405005000,"timestamp_seconds":1783405005,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b38c8c8"} 
[2026-07-07 11:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 11:48: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-07-07 11:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11: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-07-07 11:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551677952001,"66":27843,"179":206,"85":12288,"24":31,"16":341080270851538944,"45":9211409375023613952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-07-07 11:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551677952001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:48:10] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-07 11:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341080270851538944,"km_value":341080270851538.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9211409375023613952,"description":"Unknown IO ID 45"} 
[2026-07-07 11:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551677952001,"power":27843,"unknown_179":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9211409375023613952}} 
[2026-07-07 11:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":124346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:48:10] local.INFO: GPS data processed {"connection_id":124346,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:48:10] local.INFO: Acknowledgment sent {"connection_id":124346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:48:21] local.INFO: TCP Data received {"connection_id":126382,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:48:21] local.INFO: Processing buffer {"connection_id":126382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:48:21] local.INFO: IMEI packet received {"connection_id":126382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":126382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:48:27] local.INFO: TCP Data received {"connection_id":126382,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:48:27] local.INFO: Processing buffer {"connection_id":126382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:48:27] local.INFO: IMEI packet received {"connection_id":126382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":126382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:48:28] local.INFO: TCP Data received {"connection_id":126382,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b388a48012d18d8c00720fbe8003c007f22..."} 
[2026-07-07 11:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b388a48012d18d8c00720fbe8003c007f22..."} 
[2026-07-07 11:48:28] local.INFO: Processing buffer {"connection_id":126382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b388a48012d18d8c00720fbe8003c007f22..."} 
[2026-07-07 11:48:28] local.INFO: Packet analysis {"connection_id":126382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b38"} 
[2026-07-07 11:48:28] local.INFO: Extracted packet for processing {"connection_id":126382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b38"} 
[2026-07-07 11:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756603072,"raw_latitude":119602152,"longitude_deg":75.6603072,"latitude_deg":11.9602152,"altitude":60,"angle":127,"satellites":34,"speed":4,"hex_longitude":"2d18d8c0","hex_latitude":"0720fbe8","is_valid_coordinates":true} 
[2026-07-07 11:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551673344001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4869724114518016,"note":"Value kept but may cause issues"} 
[2026-07-07 11:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789969776265512960,"note":"Value kept but may cause issues"} 
[2026-07-07 11:48: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-07-07 11:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783404989000,"timestamp_ms":1783404989000,"timestamp_seconds":1783404989,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b388a48"} 
[2026-07-07 11:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 11:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551673344001,"66":13646,"121":206,"28":31744,"24":4,"16":4869724114518016,"45":1789969776265512960},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551673344001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:48:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:48:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4869724114518016,"km_value":4869724114518.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789969776265512960,"description":"Unknown IO ID 45"} 
[2026-07-07 11:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551673344001,"power":13646,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1789969776265512960}} 
[2026-07-07 11:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":126382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:48:28] local.INFO: GPS data processed {"connection_id":126382,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:48:28] local.INFO: Acknowledgment sent {"connection_id":126382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:48:42] local.INFO: TCP Data received {"connection_id":124346,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b390748012d7fcac005beb368000800bb29..."} 
[2026-07-07 11:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b390748012d7fcac005beb368000800bb29..."} 
[2026-07-07 11:48:42] local.INFO: Processing buffer {"connection_id":124346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b390748012d7fcac005beb368000800bb29..."} 
[2026-07-07 11:48:42] local.INFO: Packet analysis {"connection_id":124346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b39"} 
[2026-07-07 11:48:42] local.INFO: Extracted packet for processing {"connection_id":124346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b39"} 
[2026-07-07 11:48:42] local.INFO: GPS Element Parsed {"raw_longitude":763349696,"raw_latitude":96383848,"longitude_deg":76.3349696,"latitude_deg":9.6383848,"altitude":8,"angle":187,"satellites":41,"speed":26,"hex_longitude":"2d7fcac0","hex_latitude":"05beb368","is_valid_coordinates":true} 
[2026-07-07 11:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551681280001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341080734708006912,"note":"Value kept but may cause issues"} 
[2026-07-07 11:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9209861262649331712,"note":"Value kept but may cause issues"} 
[2026-07-07 11:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783405021000,"timestamp_ms":1783405021000,"timestamp_seconds":1783405021,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b390748"} 
[2026-07-07 11:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 11:48: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-07-07 11:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551681280001,"66":27919,"179":206,"85":12288,"24":26,"16":341080734708006912,"45":9209861262649331712},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-07-07 11:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551681280001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:48:42] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-07 11:48:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341080734708006912,"km_value":341080734708006.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9209861262649331712,"description":"Unknown IO ID 45"} 
[2026-07-07 11:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551681280001,"power":27919,"unknown_179":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9209861262649331712}} 
[2026-07-07 11:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":124346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:48:42] local.INFO: GPS data processed {"connection_id":124346,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:48:42] local.INFO: Acknowledgment sent {"connection_id":124346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:48:59] local.INFO: TCP Data received {"connection_id":124432,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:48:59] local.INFO: Processing buffer {"connection_id":124432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:48:59] local.INFO: IMEI packet received {"connection_id":124432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":124432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:49:00] local.INFO: TCP Data received {"connection_id":126382,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b38ad70012d18e5000720f130003c009022..."} 
[2026-07-07 11:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b38ad70012d18e5000720f130003c009022..."} 
[2026-07-07 11:49:00] local.INFO: Processing buffer {"connection_id":126382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b38ad70012d18e5000720f130003c009022..."} 
[2026-07-07 11:49:00] local.INFO: Packet analysis {"connection_id":126382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b38"} 
[2026-07-07 11:49:00] local.INFO: Extracted packet for processing {"connection_id":126382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b38"} 
[2026-07-07 11:49:00] local.INFO: GPS Element Parsed {"raw_longitude":756606208,"raw_latitude":119599408,"longitude_deg":75.6606208,"latitude_deg":11.9599408,"altitude":60,"angle":144,"satellites":34,"speed":26,"hex_longitude":"2d18e500","hex_latitude":"0720f130","is_valid_coordinates":true} 
[2026-07-07 11:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551677184001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4869921683013632,"note":"Value kept but may cause issues"} 
[2026-07-07 11:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790391988730456064,"note":"Value kept but may cause issues"} 
[2026-07-07 11:49: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-07-07 11:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783404998000,"timestamp_ms":1783404998000,"timestamp_seconds":1783404998,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b38ad70"} 
[2026-07-07 11:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-07 11:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 11:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 11:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 11:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551677184001,"66":14189,"121":206,"28":31744,"24":26,"16":4869921683013632,"45":1790391988730456064},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 11:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 11:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 11:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551677184001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:49:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:49:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 11:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4869921683013632,"km_value":4869921683013.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790391988730456064,"description":"Unknown IO ID 45"} 
[2026-07-07 11:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551677184001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1790391988730456064}} 
[2026-07-07 11:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":126382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:49:00] local.INFO: GPS data processed {"connection_id":126382,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:49:00] local.INFO: Acknowledgment sent {"connection_id":126382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:49:03] local.INFO: TCP Data received {"connection_id":124432,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:49:03] local.INFO: Processing buffer {"connection_id":124432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:49:03] local.INFO: IMEI packet received {"connection_id":124432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":124432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:49:04] local.INFO: TCP Data received {"connection_id":124432,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b395568012d7fc54005be9110000b00c128..."} 
[2026-07-07 11:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b395568012d7fc54005be9110000b00c128..."} 
[2026-07-07 11:49:04] local.INFO: Processing buffer {"connection_id":124432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b395568012d7fc54005be9110000b00c128..."} 
[2026-07-07 11:49:04] local.INFO: Packet analysis {"connection_id":124432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b39"} 
[2026-07-07 11:49:04] local.INFO: Extracted packet for processing {"connection_id":124432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b39"} 
[2026-07-07 11:49:04] local.INFO: GPS Element Parsed {"raw_longitude":763348288,"raw_latitude":96375056,"longitude_deg":76.3348288,"latitude_deg":9.6375056,"altitude":11,"angle":193,"satellites":40,"speed":8,"hex_longitude":"2d7fc540","hex_latitude":"05be9110","is_valid_coordinates":true} 
[2026-07-07 11:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551685376001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341081168499703808,"note":"Value kept but may cause issues"} 
[2026-07-07 11:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9208383519019198464,"note":"Value kept but may cause issues"} 
[2026-07-07 11:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783405041000,"timestamp_ms":1783405041000,"timestamp_seconds":1783405041,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b395568"} 
[2026-07-07 11:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 11:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551685376001,"66":27865,"179":206,"85":12288,"24":8,"16":341081168499703808,"45":9208383519019198464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-07-07 11:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551685376001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:49:04] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-07 11:49:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-07 11:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341081168499703808,"km_value":341081168499703.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9208383519019198464,"description":"Unknown IO ID 45"} 
[2026-07-07 11:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551685376001,"power":27865,"unknown_179":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9208383519019198464}} 
[2026-07-07 11:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":124432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:49:04] local.INFO: GPS data processed {"connection_id":124432,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:49:04] local.INFO: Acknowledgment sent {"connection_id":124432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:49:23] local.INFO: TCP Data received {"connection_id":125135,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:49:23] local.INFO: Processing buffer {"connection_id":125135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:49:23] local.INFO: IMEI packet received {"connection_id":125135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":125135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:49:25] local.INFO: TCP Data received {"connection_id":125135,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:49:25] local.INFO: Processing buffer {"connection_id":125135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:49:25] local.INFO: IMEI packet received {"connection_id":125135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":125135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:49:26] local.INFO: TCP Data received {"connection_id":125135,"ip":"117.224.141.66","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 11:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125135,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 11:49:26] local.INFO: Processing buffer {"connection_id":125135,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 11:49:26] local.INFO: IMEI packet received {"connection_id":125135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":125135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:49:36] local.INFO: TCP Data received {"connection_id":124432,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b39a770012d7fbe8005be6e20000c00bc29..."} 
[2026-07-07 11:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b39a770012d7fbe8005be6e20000c00bc29..."} 
[2026-07-07 11:49:36] local.INFO: Processing buffer {"connection_id":124432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b39a770012d7fbe8005be6e20000c00bc29..."} 
[2026-07-07 11:49:36] local.INFO: Packet analysis {"connection_id":124432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b39"} 
[2026-07-07 11:49:36] local.INFO: Extracted packet for processing {"connection_id":124432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b39"} 
[2026-07-07 11:49:36] local.INFO: GPS Element Parsed {"raw_longitude":763346560,"raw_latitude":96366112,"longitude_deg":76.334656,"latitude_deg":9.6366112,"altitude":12,"angle":188,"satellites":41,"speed":18,"hex_longitude":"2d7fbe80","hex_latitude":"05be6e20","is_valid_coordinates":true} 
[2026-07-07 11: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-07-07 11:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551690496001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341081610881335296,"note":"Value kept but may cause issues"} 
[2026-07-07 11:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9206835406645039104,"note":"Value kept but may cause issues"} 
[2026-07-07 11:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783405062000,"timestamp_ms":1783405062000,"timestamp_seconds":1783405062,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b39a770"} 
[2026-07-07 11:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:49: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-07-07 11:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11: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-07-07 11:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551690496001,"66":27919,"119":206,"85":12544,"24":18,"16":341081610881335296,"45":9206835406645039104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-07-07 11:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551690496001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:49:36] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-07 11:49:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341081610881335296,"km_value":341081610881335.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9206835406645039104,"description":"Unknown IO ID 45"} 
[2026-07-07 11:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551690496001,"power":27919,"unknown_119":206,"unknown_85":12544,"ignition":18,"odometer":null,"unknown_45":9206835406645039104}} 
[2026-07-07 11:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":124432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:49:36] local.INFO: GPS data processed {"connection_id":124432,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:49:36] local.INFO: Acknowledgment sent {"connection_id":124432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:50:00] local.INFO: TCP Data received {"connection_id":126383,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:50:00] local.INFO: Processing buffer {"connection_id":126383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:50:00] local.INFO: IMEI packet received {"connection_id":126383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":126383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:50:04] local.INFO: TCP Data received {"connection_id":126383,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:50:04] local.INFO: Processing buffer {"connection_id":126383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:50:04] local.INFO: IMEI packet received {"connection_id":126383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":126383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:50:05] local.INFO: TCP Data received {"connection_id":126383,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b39a770012d7fbe8005be6e20000c00bc29..."} 
[2026-07-07 11:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b39a770012d7fbe8005be6e20000c00bc29..."} 
[2026-07-07 11:50:05] local.INFO: Processing buffer {"connection_id":126383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b39a770012d7fbe8005be6e20000c00bc29..."} 
[2026-07-07 11:50:05] local.INFO: Packet analysis {"connection_id":126383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b39"} 
[2026-07-07 11:50:05] local.INFO: Extracted packet for processing {"connection_id":126383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b39"} 
[2026-07-07 11:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763346560,"raw_latitude":96366112,"longitude_deg":76.334656,"latitude_deg":9.6366112,"altitude":12,"angle":188,"satellites":41,"speed":18,"hex_longitude":"2d7fbe80","hex_latitude":"05be6e20","is_valid_coordinates":true} 
[2026-07-07 11:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551695872001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341081610881335296,"note":"Value kept but may cause issues"} 
[2026-07-07 11:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9204935450549952512,"note":"Value kept but may cause issues"} 
[2026-07-07 11:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783405062000,"timestamp_ms":1783405062000,"timestamp_seconds":1783405062,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b39a770"} 
[2026-07-07 11:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 11:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551695872001,"66":27919,"119":206,"85":12544,"24":18,"16":341081610881335296,"45":9204935450549952512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-07-07 11:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551695872001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:50:05] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-07 11:50:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341081610881335296,"km_value":341081610881335.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9204935450549952512,"description":"Unknown IO ID 45"} 
[2026-07-07 11:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551695872001,"power":27919,"unknown_119":206,"unknown_85":12544,"ignition":18,"odometer":null,"unknown_45":9204935450549952512}} 
[2026-07-07 11:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":126383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:50:05] local.INFO: GPS data processed {"connection_id":126383,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:50:05] local.INFO: Acknowledgment sent {"connection_id":126383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:50:36] local.INFO: TCP Data received {"connection_id":126383,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b39f1a8012d7fb7c005be4bd0000a00be29..."} 
[2026-07-07 11:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b39f1a8012d7fb7c005be4bd0000a00be29..."} 
[2026-07-07 11:50:36] local.INFO: Processing buffer {"connection_id":126383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b39f1a8012d7fb7c005be4bd0000a00be29..."} 
[2026-07-07 11:50:36] local.INFO: Packet analysis {"connection_id":126383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b39"} 
[2026-07-07 11:50:36] local.INFO: Extracted packet for processing {"connection_id":126383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b39"} 
[2026-07-07 11:50:36] local.INFO: GPS Element Parsed {"raw_longitude":763344832,"raw_latitude":96357328,"longitude_deg":76.3344832,"latitude_deg":9.6357328,"altitude":10,"angle":190,"satellites":41,"speed":30,"hex_longitude":"2d7fb7c0","hex_latitude":"05be4bd0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551695872001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341082044673032192,"note":"Value kept but may cause issues"} 
[2026-07-07 11:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9204935450549952512,"note":"Value kept but may cause issues"} 
[2026-07-07 11:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783405081000,"timestamp_ms":1783405081000,"timestamp_seconds":1783405081,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b39f1a8"} 
[2026-07-07 11:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 11:50: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-07-07 11:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551695872001,"66":27843,"119":206,"85":12544,"24":30,"16":341082044673032192,"45":9204935450549952512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-07-07 11:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551695872001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:50:36] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-07 11:50:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341082044673032192,"km_value":341082044673032.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9204935450549952512,"description":"Unknown IO ID 45"} 
[2026-07-07 11:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551695872001,"power":27843,"unknown_119":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":9204935450549952512}} 
[2026-07-07 11:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":126383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:50:36] local.INFO: GPS data processed {"connection_id":126383,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:50:36] local.INFO: Acknowledgment sent {"connection_id":126383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:50:59] local.INFO: TCP Data received {"connection_id":125137,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:50:59] local.INFO: Processing buffer {"connection_id":125137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:50:59] local.INFO: IMEI packet received {"connection_id":125137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":125137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:51:04] local.INFO: TCP Data received {"connection_id":125137,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:51:04] local.INFO: Processing buffer {"connection_id":125137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:51:04] local.INFO: IMEI packet received {"connection_id":125137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":125137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:51:05] local.INFO: TCP Data received {"connection_id":125137,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b3a2088012d7fb0c005be2848000800c129..."} 
[2026-07-07 11:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b3a2088012d7fb0c005be2848000800c129..."} 
[2026-07-07 11:51:05] local.INFO: Processing buffer {"connection_id":125137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b3a2088012d7fb0c005be2848000800c129..."} 
[2026-07-07 11:51:05] local.INFO: Packet analysis {"connection_id":125137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b3a"} 
[2026-07-07 11:51:05] local.INFO: Extracted packet for processing {"connection_id":125137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b3a"} 
[2026-07-07 11:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":96348232,"longitude_deg":76.334304,"latitude_deg":9.6348232,"altitude":8,"angle":193,"satellites":41,"speed":25,"hex_longitude":"2d7fb0c0","hex_latitude":"05be2848","is_valid_coordinates":true} 
[2026-07-07 11:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551700736001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341082495644598272,"note":"Value kept but may cause issues"} 
[2026-07-07 11:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9203035494454906880,"note":"Value kept but may cause issues"} 
[2026-07-07 11:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783405093000,"timestamp_ms":1783405093000,"timestamp_seconds":1783405093,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b3a2088"} 
[2026-07-07 11:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 11:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551700736001,"66":27865,"119":206,"85":12544,"24":25,"16":341082495644598272,"45":9203035494454906880},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-07-07 11:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551700736001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:51:05] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-07 11:51:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341082495644598272,"km_value":341082495644598.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9203035494454906880,"description":"Unknown IO ID 45"} 
[2026-07-07 11:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551700736001,"power":27865,"unknown_119":206,"unknown_85":12544,"ignition":25,"odometer":null,"unknown_45":9203035494454906880}} 
[2026-07-07 11:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":125137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:51:05] local.INFO: GPS data processed {"connection_id":125137,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:51:05] local.INFO: Acknowledgment sent {"connection_id":125137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:51:34] local.INFO: TCP Data received {"connection_id":125138,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:51:34] local.INFO: Processing buffer {"connection_id":125138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:51:34] local.INFO: IMEI packet received {"connection_id":125138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 11:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":125138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:51:36] local.INFO: TCP Data received {"connection_id":125137,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b3a4f68012d7faa8005be03c0000800bd29..."} 
[2026-07-07 11:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b3a4f68012d7faa8005be03c0000800bd29..."} 
[2026-07-07 11:51:36] local.INFO: Processing buffer {"connection_id":125137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b3a4f68012d7faa8005be03c0000800bd29..."} 
[2026-07-07 11:51:36] local.INFO: Packet analysis {"connection_id":125137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b3a"} 
[2026-07-07 11:51:36] local.INFO: Extracted packet for processing {"connection_id":125137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b3a"} 
[2026-07-07 11:51:36] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":96338880,"longitude_deg":76.334144,"latitude_deg":9.633888,"altitude":8,"angle":189,"satellites":41,"speed":36,"hex_longitude":"2d7faa80","hex_latitude":"05be03c0","is_valid_coordinates":true} 
[2026-07-07 11:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551703808001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341082955206098944,"note":"Value kept but may cause issues"} 
[2026-07-07 11:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169615603712,"note":"Value kept but may cause issues"} 
[2026-07-07 11:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783405105000,"timestamp_ms":1783405105000,"timestamp_seconds":1783405105,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b3a4f68"} 
[2026-07-07 11:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551703808001,"66":27876,"119":206,"85":12544,"24":36,"16":341082955206098944,"45":9201065169615603712},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-07-07 11:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551703808001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:51:36] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-07 11:51:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341082955206098944,"km_value":341082955206098.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169615603712,"description":"Unknown IO ID 45"} 
[2026-07-07 11:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551703808001,"power":27876,"unknown_119":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9201065169615603712}} 
[2026-07-07 11:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":125137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:51:36] local.INFO: GPS data processed {"connection_id":125137,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:51:36] local.INFO: Acknowledgment sent {"connection_id":125137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:51:59] local.INFO: TCP Data received {"connection_id":124348,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:51:59] local.INFO: Processing buffer {"connection_id":124348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:51:59] local.INFO: IMEI packet received {"connection_id":124348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":124348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:51:59] local.INFO: TCP Data received {"connection_id":126385,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:51:59] local.INFO: Processing buffer {"connection_id":126385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:51:59] local.INFO: IMEI packet received {"connection_id":126385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 11:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":126385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:51:59] local.INFO: TCP Data received {"connection_id":124348,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:51:59] local.INFO: Processing buffer {"connection_id":124348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:51:59] local.INFO: IMEI packet received {"connection_id":124348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":124348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:52:04] local.INFO: TCP Data received {"connection_id":124348,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:52:04] local.INFO: Processing buffer {"connection_id":124348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:52:04] local.INFO: IMEI packet received {"connection_id":124348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":124348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:52:05] local.INFO: TCP Data received {"connection_id":124348,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b3cace0012d7f6c4005bcb000000900bd29..."} 
[2026-07-07 11:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b3cace0012d7f6c4005bcb000000900bd29..."} 
[2026-07-07 11:52:05] local.INFO: Processing buffer {"connection_id":124348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b3cace0012d7f6c4005bcb000000900bd29..."} 
[2026-07-07 11:52:05] local.INFO: Packet analysis {"connection_id":124348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b3c"} 
[2026-07-07 11:52:05] local.INFO: Extracted packet for processing {"connection_id":124348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b3c"} 
[2026-07-07 11:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763325504,"raw_latitude":96251904,"longitude_deg":76.3325504,"latitude_deg":9.6251904,"altitude":9,"angle":189,"satellites":41,"speed":31,"hex_longitude":"2d7f6c40","hex_latitude":"05bcb000","is_valid_coordinates":true} 
[2026-07-07 11:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551742976001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341087250173394944,"note":"Value kept but may cause issues"} 
[2026-07-07 11:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9184106302246500352,"note":"Value kept but may cause issues"} 
[2026-07-07 11:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783405260000,"timestamp_ms":1783405260000,"timestamp_seconds":1783405260,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b3cace0"} 
[2026-07-07 11:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551742976001,"66":27865,"121":206,"85":12544,"24":31,"16":341087250173394944,"45":9184106302246500352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-07 11:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551742976001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:52:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341087250173394944,"km_value":341087250173394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9184106302246500352,"description":"Unknown IO ID 45"} 
[2026-07-07 11:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551742976001,"power":27865,"unknown_121":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9184106302246500352}} 
[2026-07-07 11:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":124348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:52:06] local.INFO: GPS data processed {"connection_id":124348,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:52:06] local.INFO: Acknowledgment sent {"connection_id":124348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:52:37] local.INFO: TCP Data received {"connection_id":124348,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b3cd7d8012d7f658005bc8c38000900c42a..."} 
[2026-07-07 11:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b3cd7d8012d7f658005bc8c38000900c42a..."} 
[2026-07-07 11:52:37] local.INFO: Processing buffer {"connection_id":124348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b3cd7d8012d7f658005bc8c38000900c42a..."} 
[2026-07-07 11:52:37] local.INFO: Packet analysis {"connection_id":124348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b3c"} 
[2026-07-07 11:52:37] local.INFO: Extracted packet for processing {"connection_id":124348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b3c"} 
[2026-07-07 11:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763323776,"raw_latitude":96242744,"longitude_deg":76.3323776,"latitude_deg":9.6242744,"altitude":9,"angle":196,"satellites":42,"speed":34,"hex_longitude":"2d7f6580","hex_latitude":"05bc8c38","is_valid_coordinates":true} 
[2026-07-07 11:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551746560001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341087701144961024,"note":"Value kept but may cause issues"} 
[2026-07-07 11:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181784133686263808,"note":"Value kept but may cause issues"} 
[2026-07-07 11:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783405271000,"timestamp_ms":1783405271000,"timestamp_seconds":1783405271,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b3cd7d8"} 
[2026-07-07 11:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551746560001,"66":27974,"121":206,"85":12544,"24":34,"16":341087701144961024,"45":9181784133686263808},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-07 11:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551746560001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:52:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341087701144961024,"km_value":341087701144961.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181784133686263808,"description":"Unknown IO ID 45"} 
[2026-07-07 11:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551746560001,"power":27974,"unknown_121":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9181784133686263808}} 
[2026-07-07 11:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":124348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:52:37] local.INFO: GPS data processed {"connection_id":124348,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:52:37] local.INFO: Acknowledgment sent {"connection_id":124348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:53:04] local.INFO: TCP Data received {"connection_id":125140,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:53:04] local.INFO: Processing buffer {"connection_id":125140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:53:04] local.INFO: IMEI packet received {"connection_id":125140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":125140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:53:07] local.INFO: TCP Data received {"connection_id":125140,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:53:07] local.INFO: Processing buffer {"connection_id":125140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:53:07] local.INFO: IMEI packet received {"connection_id":125140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":125140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:53:07] local.INFO: TCP Data received {"connection_id":125140,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b3cfee8012d7f5c4005bc6898000a00be2a..."} 
[2026-07-07 11:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b3cfee8012d7f5c4005bc6898000a00be2a..."} 
[2026-07-07 11:53:07] local.INFO: Processing buffer {"connection_id":125140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b3cfee8012d7f5c4005bc6898000a00be2a..."} 
[2026-07-07 11:53:07] local.INFO: Packet analysis {"connection_id":125140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b3c"} 
[2026-07-07 11:53:07] local.INFO: Extracted packet for processing {"connection_id":125140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b3c"} 
[2026-07-07 11:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763321408,"raw_latitude":96233624,"longitude_deg":76.3321408,"latitude_deg":9.6233624,"altitude":10,"angle":190,"satellites":42,"speed":41,"hex_longitude":"2d7f5c40","hex_latitude":"05bc6898","is_valid_coordinates":true} 
[2026-07-07 11:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551749376001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341088160706461696,"note":"Value kept but may cause issues"} 
[2026-07-07 11:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9179884177591121920,"note":"Value kept but may cause issues"} 
[2026-07-07 11:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783405281000,"timestamp_ms":1783405281000,"timestamp_seconds":1783405281,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b3cfee8"} 
[2026-07-07 11:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:53: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-07-07 11:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 11:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551749376001,"66":27919,"121":206,"85":12544,"24":41,"16":341088160706461696,"45":9179884177591121920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-07 11:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551749376001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:53:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341088160706461696,"km_value":341088160706461.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9179884177591121920,"description":"Unknown IO ID 45"} 
[2026-07-07 11:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551749376001,"power":27919,"unknown_121":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9179884177591121920}} 
[2026-07-07 11:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":125140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:53:07] local.INFO: GPS data processed {"connection_id":125140,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:53:07] local.INFO: Acknowledgment sent {"connection_id":125140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:53:09] local.INFO: TCP Data received {"connection_id":125140,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b3d2210012d7f554005bc4250000a00bb2a..."} 
[2026-07-07 11:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b3d2210012d7f554005bc4250000a00bb2a..."} 
[2026-07-07 11:53:09] local.INFO: Processing buffer {"connection_id":125140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b3d2210012d7f554005bc4250000a00bb2a..."} 
[2026-07-07 11:53:09] local.INFO: Packet analysis {"connection_id":125140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b3d"} 
[2026-07-07 11:53:09] local.INFO: Extracted packet for processing {"connection_id":125140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b3d"} 
[2026-07-07 11:53:09] local.INFO: GPS Element Parsed {"raw_longitude":763319616,"raw_latitude":96223824,"longitude_deg":76.3319616,"latitude_deg":9.6223824,"altitude":10,"angle":187,"satellites":42,"speed":45,"hex_longitude":"2d7f5540","hex_latitude":"05bc4250","is_valid_coordinates":true} 
[2026-07-07 11:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551751936001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341088641742798848,"note":"Value kept but may cause issues"} 
[2026-07-07 11:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177280534054213632,"note":"Value kept but may cause issues"} 
[2026-07-07 11:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783405290000,"timestamp_ms":1783405290000,"timestamp_seconds":1783405290,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b3d2210"} 
[2026-07-07 11:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 11:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551751936001,"66":27908,"121":206,"85":12544,"24":45,"16":341088641742798848,"45":9177280534054213632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-07 11:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551751936001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:53:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341088641742798848,"km_value":341088641742798.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177280534054213632,"description":"Unknown IO ID 45"} 
[2026-07-07 11:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551751936001,"power":27908,"unknown_121":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9177280534054213632}} 
[2026-07-07 11:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":125140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:53:09] local.INFO: GPS data processed {"connection_id":125140,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:53:09] local.INFO: Acknowledgment sent {"connection_id":125140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:53:40] local.INFO: TCP Data received {"connection_id":125140,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b3d4150012d7f4f4005bc1d80000a00bb2a..."} 
[2026-07-07 11:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b3d4150012d7f4f4005bc1d80000a00bb2a..."} 
[2026-07-07 11:53:40] local.INFO: Processing buffer {"connection_id":125140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b3d4150012d7f4f4005bc1d80000a00bb2a..."} 
[2026-07-07 11:53:40] local.INFO: Packet analysis {"connection_id":125140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b3d"} 
[2026-07-07 11:53:40] local.INFO: Extracted packet for processing {"connection_id":125140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b3d"} 
[2026-07-07 11:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763318080,"raw_latitude":96214400,"longitude_deg":76.331808,"latitude_deg":9.62144,"altitude":10,"angle":187,"satellites":42,"speed":49,"hex_longitude":"2d7f4f40","hex_latitude":"05bc1d80","is_valid_coordinates":true} 
[2026-07-07 11:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551754240001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341089105599266816,"note":"Value kept but may cause issues"} 
[2026-07-07 11:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9175310209214730240,"note":"Value kept but may cause issues"} 
[2026-07-07 11:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783405298000,"timestamp_ms":1783405298000,"timestamp_seconds":1783405298,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b3d4150"} 
[2026-07-07 11:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 11:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551754240001,"66":27669,"121":206,"85":12544,"24":49,"16":341089105599266816,"45":9175310209214730240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-07 11:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551754240001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:53:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341089105599266816,"km_value":341089105599266.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9175310209214730240,"description":"Unknown IO ID 45"} 
[2026-07-07 11:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551754240001,"power":27669,"unknown_121":206,"unknown_85":12544,"ignition":49,"odometer":null,"unknown_45":9175310209214730240}} 
[2026-07-07 11:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":125140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:53:40] local.INFO: GPS data processed {"connection_id":125140,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:53:40] local.INFO: Acknowledgment sent {"connection_id":125140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:54:05] local.INFO: TCP Data received {"connection_id":124433,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:54:05] local.INFO: Processing buffer {"connection_id":124433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:54:05] local.INFO: IMEI packet received {"connection_id":124433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":124433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:54:09] local.INFO: TCP Data received {"connection_id":124433,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:54:09] local.INFO: Processing buffer {"connection_id":124433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:54:09] local.INFO: IMEI packet received {"connection_id":124433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":124433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:54:10] local.INFO: TCP Data received {"connection_id":124433,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b3d5ca8012d7f494005bbfa58000a00be2a..."} 
[2026-07-07 11:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b3d5ca8012d7f494005bbfa58000a00be2a..."} 
[2026-07-07 11:54:10] local.INFO: Processing buffer {"connection_id":124433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b3d5ca8012d7f494005bbfa58000a00be2a..."} 
[2026-07-07 11:54:10] local.INFO: Packet analysis {"connection_id":124433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b3d"} 
[2026-07-07 11:54:10] local.INFO: Extracted packet for processing {"connection_id":124433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b3d"} 
[2026-07-07 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763316544,"raw_latitude":96205400,"longitude_deg":76.3316544,"latitude_deg":9.62054,"altitude":10,"angle":190,"satellites":42,"speed":53,"hex_longitude":"2d7f4940","hex_latitude":"05bbfa58","is_valid_coordinates":true} 
[2026-07-07 11:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551756288001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341089547980898304,"note":"Value kept but may cause issues"} 
[2026-07-07 11:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9173621359352053760,"note":"Value kept but may cause issues"} 
[2026-07-07 11:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783405305000,"timestamp_ms":1783405305000,"timestamp_seconds":1783405305,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b3d5ca8"} 
[2026-07-07 11:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-07 11:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11: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-07-07 11:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551756288001,"66":27974,"121":206,"85":12544,"24":53,"16":341089547980898304,"45":9173621359352053760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-07 11:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551756288001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:54:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341089547980898304,"km_value":341089547980898.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9173621359352053760,"description":"Unknown IO ID 45"} 
[2026-07-07 11:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551756288001,"power":27974,"unknown_121":206,"unknown_85":12544,"ignition":53,"odometer":null,"unknown_45":9173621359352053760}} 
[2026-07-07 11:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":124433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:54:10] local.INFO: GPS data processed {"connection_id":124433,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:54:10] local.INFO: Acknowledgment sent {"connection_id":124433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:54:42] local.INFO: TCP Data received {"connection_id":124433,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b3f0288012d7f0f4005ba9748000500bc29..."} 
[2026-07-07 11:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b3f0288012d7f0f4005ba9748000500bc29..."} 
[2026-07-07 11:54:42] local.INFO: Processing buffer {"connection_id":124433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b3f0288012d7f0f4005ba9748000500bc29..."} 
[2026-07-07 11:54:42] local.INFO: Packet analysis {"connection_id":124433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b3f"} 
[2026-07-07 11:54:42] local.INFO: Extracted packet for processing {"connection_id":124433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b3f"} 
[2026-07-07 11:54:42] local.INFO: GPS Element Parsed {"raw_longitude":763301696,"raw_latitude":96114504,"longitude_deg":76.3301696,"latitude_deg":9.6114504,"altitude":5,"angle":188,"satellites":41,"speed":37,"hex_longitude":"2d7f0f40","hex_latitude":"05ba9748","is_valid_coordinates":true} 
[2026-07-07 11:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551782912001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341094027631788032,"note":"Value kept but may cause issues"} 
[2026-07-07 11:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9157366179423860736,"note":"Value kept but may cause issues"} 
[2026-07-07 11:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783405413000,"timestamp_ms":1783405413000,"timestamp_seconds":1783405413,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b3f0288"} 
[2026-07-07 11:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11: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-07-07 11: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":70,"data_length":795,"current_offset":136} 
[2026-07-07 11:54: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-07-07 11:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551782912001,"66":27865,"121":206,"85":12544,"24":37,"16":341094027631788032,"45":9157366179423860736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-07 11:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551782912001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:54:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341094027631788032,"km_value":341094027631788.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9157366179423860736,"description":"Unknown IO ID 45"} 
[2026-07-07 11:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551782912001,"power":27865,"unknown_121":206,"unknown_85":12544,"ignition":37,"odometer":null,"unknown_45":9157366179423860736}} 
[2026-07-07 11:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":124433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:54:42] local.INFO: GPS data processed {"connection_id":124433,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:54:42] local.INFO: Acknowledgment sent {"connection_id":124433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:54:59] local.INFO: TCP Data received {"connection_id":126389,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:54:59] local.INFO: Processing buffer {"connection_id":126389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:54:59] local.INFO: IMEI packet received {"connection_id":126389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":126389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:55:04] local.INFO: TCP Data received {"connection_id":126389,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:55:04] local.INFO: Processing buffer {"connection_id":126389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:55:04] local.INFO: IMEI packet received {"connection_id":126389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":126389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:55:06] local.INFO: TCP Data received {"connection_id":126389,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b3f2998012d7f0a4005ba71b0000600ba28..."} 
[2026-07-07 11:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b3f2998012d7f0a4005ba71b0000600ba28..."} 
[2026-07-07 11:55:06] local.INFO: Processing buffer {"connection_id":126389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b3f2998012d7f0a4005ba71b0000600ba28..."} 
[2026-07-07 11:55:06] local.INFO: Packet analysis {"connection_id":126389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b3f"} 
[2026-07-07 11:55:06] local.INFO: Extracted packet for processing {"connection_id":126389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b3f"} 
[2026-07-07 11:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763300416,"raw_latitude":96104880,"longitude_deg":76.3300416,"latitude_deg":9.610488,"altitude":6,"angle":186,"satellites":40,"speed":37,"hex_longitude":"2d7f0a40","hex_latitude":"05ba71b0","is_valid_coordinates":true} 
[2026-07-07 11:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551785728001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341094495783223296,"note":"Value kept but may cause issues"} 
[2026-07-07 11:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155606960816998400,"note":"Value kept but may cause issues"} 
[2026-07-07 11:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783405423000,"timestamp_ms":1783405423000,"timestamp_seconds":1783405423,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b3f2998"} 
[2026-07-07 11:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:55: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-07-07 11:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551785728001,"66":27919,"121":206,"85":12544,"24":37,"16":341094495783223296,"45":9155606960816998400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-07 11:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551785728001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:55:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341094495783223296,"km_value":341094495783223.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155606960816998400,"description":"Unknown IO ID 45"} 
[2026-07-07 11:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551785728001,"power":27919,"unknown_121":206,"unknown_85":12544,"ignition":37,"odometer":null,"unknown_45":9155606960816998400}} 
[2026-07-07 11:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":126389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:55:06] local.INFO: GPS data processed {"connection_id":126389,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:55:06] local.INFO: Acknowledgment sent {"connection_id":126389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:55:30] local.INFO: TCP Data received {"connection_id":125142,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:55:30] local.INFO: Processing buffer {"connection_id":125142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:55:30] local.INFO: IMEI packet received {"connection_id":125142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 11:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":125142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:55:31] local.INFO: TCP Data received {"connection_id":125142,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:55:31] local.INFO: Processing buffer {"connection_id":125142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 11:55:31] local.INFO: IMEI packet received {"connection_id":125142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":125142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:55:34] local.INFO: TCP Data received {"connection_id":125142,"ip":"117.224.141.66","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 11:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125142,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 11:55:34] local.INFO: Processing buffer {"connection_id":125142,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 11:55:34] local.INFO: IMEI packet received {"connection_id":125142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 11:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":125142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:55:37] local.INFO: TCP Data received {"connection_id":126389,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b3f5878012d7f050005ba4e18000600bd2a..."} 
[2026-07-07 11:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b3f5878012d7f050005ba4e18000600bd2a..."} 
[2026-07-07 11:55:37] local.INFO: Processing buffer {"connection_id":126389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b3f5878012d7f050005ba4e18000600bd2a..."} 
[2026-07-07 11:55:37] local.INFO: Packet analysis {"connection_id":126389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b3f"} 
[2026-07-07 11:55:37] local.INFO: Extracted packet for processing {"connection_id":126389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b3f"} 
[2026-07-07 11:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763299072,"raw_latitude":96095768,"longitude_deg":76.3299072,"latitude_deg":9.6095768,"altitude":6,"angle":189,"satellites":42,"speed":21,"hex_longitude":"2d7f0500","hex_latitude":"05ba4e18","is_valid_coordinates":true} 
[2026-07-07 11:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551788288001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341094942459822080,"note":"Value kept but may cause issues"} 
[2026-07-07 11:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9154199585930981376,"note":"Value kept but may cause issues"} 
[2026-07-07 11:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783405435000,"timestamp_ms":1783405435000,"timestamp_seconds":1783405435,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b3f5878"} 
[2026-07-07 11:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:55: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-07-07 11:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 11:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551788288001,"66":27919,"121":206,"85":12544,"24":21,"16":341094942459822080,"45":9154199585930981376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-07 11:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551788288001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:55:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341094942459822080,"km_value":341094942459822.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9154199585930981376,"description":"Unknown IO ID 45"} 
[2026-07-07 11:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551788288001,"power":27919,"unknown_121":206,"unknown_85":12544,"ignition":21,"odometer":null,"unknown_45":9154199585930981376}} 
[2026-07-07 11:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":126389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:55:37] local.INFO: GPS data processed {"connection_id":126389,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:55:37] local.INFO: Acknowledgment sent {"connection_id":126389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:56:02] local.INFO: TCP Data received {"connection_id":125144,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:56:02] local.INFO: Processing buffer {"connection_id":125144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:56:02] local.INFO: IMEI packet received {"connection_id":125144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":125144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:56:04] local.INFO: TCP Data received {"connection_id":125144,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:56:04] local.INFO: Processing buffer {"connection_id":125144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:56:04] local.INFO: IMEI packet received {"connection_id":125144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":125144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:56:08] local.INFO: TCP Data received {"connection_id":125144,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:56:08] local.INFO: Processing buffer {"connection_id":125144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:56:08] local.INFO: IMEI packet received {"connection_id":125144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":125144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:56:09] local.INFO: TCP Data received {"connection_id":125144,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b3faa80012d7f01c005ba3aa8000600be2a..."} 
[2026-07-07 11:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b3faa80012d7f01c005ba3aa8000600be2a..."} 
[2026-07-07 11:56:09] local.INFO: Processing buffer {"connection_id":125144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b3faa80012d7f01c005ba3aa8000600be2a..."} 
[2026-07-07 11:56:09] local.INFO: Packet analysis {"connection_id":125144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b3f"} 
[2026-07-07 11:56:09] local.INFO: Extracted packet for processing {"connection_id":125144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b3f"} 
[2026-07-07 11:56:09] local.INFO: GPS Element Parsed {"raw_longitude":763298240,"raw_latitude":96090792,"longitude_deg":76.329824,"latitude_deg":9.6090792,"altitude":6,"angle":190,"satellites":42,"speed":15,"hex_longitude":"2d7f01c0","hex_latitude":"05ba3aa8","is_valid_coordinates":true} 
[2026-07-07 11:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551791360001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341095191567925248,"note":"Value kept but may cause issues"} 
[2026-07-07 11:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152721842300917760,"note":"Value kept but may cause issues"} 
[2026-07-07 11:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783405456000,"timestamp_ms":1783405456000,"timestamp_seconds":1783405456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b3faa80"} 
[2026-07-07 11:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 11:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551791360001,"66":27930,"121":206,"85":12544,"24":15,"16":341095191567925248,"45":9152721842300917760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-07 11:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551791360001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:56:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:56:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341095191567925248,"km_value":341095191567925.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152721842300917760,"description":"Unknown IO ID 45"} 
[2026-07-07 11:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551791360001,"power":27930,"unknown_121":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9152721842300917760}} 
[2026-07-07 11:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":125144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:56:09] local.INFO: GPS data processed {"connection_id":125144,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:56:09] local.INFO: Acknowledgment sent {"connection_id":125144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:56:10] local.INFO: TCP Data received {"connection_id":125144,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b3fe900012d7efc4005ba16c0000700bd29..."} 
[2026-07-07 11:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b3fe900012d7efc4005ba16c0000700bd29..."} 
[2026-07-07 11:56:10] local.INFO: Processing buffer {"connection_id":125144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b3fe900012d7efc4005ba16c0000700bd29..."} 
[2026-07-07 11:56:10] local.INFO: Packet analysis {"connection_id":125144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b3f"} 
[2026-07-07 11:56:10] local.INFO: Extracted packet for processing {"connection_id":125144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b3f"} 
[2026-07-07 11:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763296832,"raw_latitude":96081600,"longitude_deg":76.3296832,"latitude_deg":9.60816,"altitude":7,"angle":189,"satellites":41,"speed":31,"hex_longitude":"2d7efc40","hex_latitude":"05ba16c0","is_valid_coordinates":true} 
[2026-07-07 11:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551796736001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341095642539491328,"note":"Value kept but may cause issues"} 
[2026-07-07 11:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9151807048625334272,"note":"Value kept but may cause issues"} 
[2026-07-07 11:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783405472000,"timestamp_ms":1783405472000,"timestamp_seconds":1783405472,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b3fe900"} 
[2026-07-07 11:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:56: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-07-07 11: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":26,"data_length":795,"current_offset":136} 
[2026-07-07 11:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551796736001,"66":27995,"121":206,"85":12544,"24":31,"16":341095642539491328,"45":9151807048625334272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-07 11:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551796736001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:56:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341095642539491328,"km_value":341095642539491.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9151807048625334272,"description":"Unknown IO ID 45"} 
[2026-07-07 11:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551796736001,"power":27995,"unknown_121":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9151807048625334272}} 
[2026-07-07 11:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":125144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:56:10] local.INFO: GPS data processed {"connection_id":125144,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:56:10] local.INFO: Acknowledgment sent {"connection_id":125144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:56:41] local.INFO: TCP Data received {"connection_id":125144,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b401010012d7ef64005b9f210000600bd28..."} 
[2026-07-07 11:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b401010012d7ef64005b9f210000600bd28..."} 
[2026-07-07 11:56:41] local.INFO: Processing buffer {"connection_id":125144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b401010012d7ef64005b9f210000600bd28..."} 
[2026-07-07 11:56:41] local.INFO: Packet analysis {"connection_id":125144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b40"} 
[2026-07-07 11:56:41] local.INFO: Extracted packet for processing {"connection_id":125144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b40"} 
[2026-07-07 11:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763295296,"raw_latitude":96072208,"longitude_deg":76.3295296,"latitude_deg":9.6072208,"altitude":6,"angle":189,"satellites":40,"speed":42,"hex_longitude":"2d7ef640","hex_latitude":"05b9f210","is_valid_coordinates":true} 
[2026-07-07 11:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551800832001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341096102100992000,"note":"Value kept but may cause issues"} 
[2026-07-07 11:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150258936251072512,"note":"Value kept but may cause issues"} 
[2026-07-07 11:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783405482000,"timestamp_ms":1783405482000,"timestamp_seconds":1783405482,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b401010"} 
[2026-07-07 11:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11: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":91,"data_length":795,"current_offset":136} 
[2026-07-07 11:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551800832001,"66":27974,"121":206,"85":12544,"24":42,"16":341096102100992000,"45":9150258936251072512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-07 11:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551800832001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:56:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341096102100992000,"km_value":341096102100992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150258936251072512,"description":"Unknown IO ID 45"} 
[2026-07-07 11:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551800832001,"power":27974,"unknown_121":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":9150258936251072512}} 
[2026-07-07 11:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":125144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:56:41] local.INFO: GPS data processed {"connection_id":125144,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:56:41] local.INFO: Acknowledgment sent {"connection_id":125144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:56:56] local.INFO: TCP Data received {"connection_id":124350,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:56:56] local.INFO: Processing buffer {"connection_id":124350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:56:56] local.INFO: IMEI packet received {"connection_id":124350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":124350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:56:59] local.INFO: TCP Data received {"connection_id":124350,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:56:59] local.INFO: Processing buffer {"connection_id":124350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:56:59] local.INFO: IMEI packet received {"connection_id":124350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":124350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:57:04] local.INFO: TCP Data received {"connection_id":124350,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:57:04] local.INFO: Processing buffer {"connection_id":124350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:57:04] local.INFO: IMEI packet received {"connection_id":124350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":124350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:57:05] local.INFO: TCP Data received {"connection_id":124350,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b402f50012d7ef04005b9cfd8000600bd29..."} 
[2026-07-07 11:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b402f50012d7ef04005b9cfd8000600bd29..."} 
[2026-07-07 11:57:05] local.INFO: Processing buffer {"connection_id":124350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b402f50012d7ef04005b9cfd8000600bd29..."} 
[2026-07-07 11:57:05] local.INFO: Packet analysis {"connection_id":124350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b40"} 
[2026-07-07 11:57:05] local.INFO: Extracted packet for processing {"connection_id":124350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b40"} 
[2026-07-07 11:57:05] local.INFO: GPS Element Parsed {"raw_longitude":763293760,"raw_latitude":96063448,"longitude_deg":76.329376,"latitude_deg":9.6063448,"altitude":6,"angle":189,"satellites":41,"speed":45,"hex_longitude":"2d7ef040","hex_latitude":"05b9cfd8","is_valid_coordinates":true} 
[2026-07-07 11:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551803392001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341096535892688896,"note":"Value kept but may cause issues"} 
[2026-07-07 11:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9148570086388404224,"note":"Value kept but may cause issues"} 
[2026-07-07 11:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783405490000,"timestamp_ms":1783405490000,"timestamp_seconds":1783405490,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b402f50"} 
[2026-07-07 11:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 11:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551803392001,"66":27930,"121":206,"85":12544,"24":45,"16":341096535892688896,"45":9148570086388404224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-07 11:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551803392001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:57:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:57:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341096535892688896,"km_value":341096535892688.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9148570086388404224,"description":"Unknown IO ID 45"} 
[2026-07-07 11:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551803392001,"power":27930,"unknown_121":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9148570086388404224}} 
[2026-07-07 11:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":124350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:57:05] local.INFO: GPS data processed {"connection_id":124350,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:57:05] local.INFO: Acknowledgment sent {"connection_id":124350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:57:24] local.INFO: TCP Data received {"connection_id":124434,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:57:24] local.INFO: Processing buffer {"connection_id":124434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:57:24] local.INFO: IMEI packet received {"connection_id":124434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 11:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":124434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:57:40] local.INFO: TCP Data received {"connection_id":124350,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b41a650012d7eba4005b84128000800b52a..."} 
[2026-07-07 11:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b41a650012d7eba4005b84128000800b52a..."} 
[2026-07-07 11:57:40] local.INFO: Processing buffer {"connection_id":124350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b41a650012d7eba4005b84128000800b52a..."} 
[2026-07-07 11:57:40] local.INFO: Packet analysis {"connection_id":124350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b41"} 
[2026-07-07 11:57:40] local.INFO: Extracted packet for processing {"connection_id":124350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b41"} 
[2026-07-07 11:57:40] local.INFO: GPS Element Parsed {"raw_longitude":763279936,"raw_latitude":95961384,"longitude_deg":76.3279936,"latitude_deg":9.5961384,"altitude":8,"angle":181,"satellites":42,"speed":47,"hex_longitude":"2d7eba40","hex_latitude":"05b84128","is_valid_coordinates":true} 
[2026-07-07 11:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551827968001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341101539529588736,"note":"Value kept but may cause issues"} 
[2026-07-07 11:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131963062736599040,"note":"Value kept but may cause issues"} 
[2026-07-07 11:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783405586000,"timestamp_ms":1783405586000,"timestamp_seconds":1783405586,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b41a650"} 
[2026-07-07 11:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:57: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-07-07 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 11:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551827968001,"66":27876,"121":206,"85":12544,"24":47,"16":341101539529588736,"45":9131963062736599040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-07 11:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551827968001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:57:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341101539529588736,"km_value":341101539529588.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131963062736599040,"description":"Unknown IO ID 45"} 
[2026-07-07 11:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551827968001,"power":27876,"unknown_121":206,"unknown_85":12544,"ignition":47,"odometer":null,"unknown_45":9131963062736599040}} 
[2026-07-07 11:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":124350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:57:40] local.INFO: GPS data processed {"connection_id":124350,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:57:40] local.INFO: Acknowledgment sent {"connection_id":124350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:57:59] local.INFO: TCP Data received {"connection_id":125145,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:57:59] local.INFO: Processing buffer {"connection_id":125145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 11:57:59] local.INFO: IMEI packet received {"connection_id":125145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 11:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":125145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:57:59] local.INFO: TCP Data received {"connection_id":124435,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:57:59] local.INFO: Processing buffer {"connection_id":124435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:57:59] local.INFO: IMEI packet received {"connection_id":124435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":124435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:58:04] local.INFO: TCP Data received {"connection_id":124435,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:58:04] local.INFO: Processing buffer {"connection_id":124435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:58:04] local.INFO: IMEI packet received {"connection_id":124435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":124435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:58:05] local.INFO: TCP Data received {"connection_id":124435,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b41cd60012d7eba4005b81cc8000800b12a..."} 
[2026-07-07 11:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b41cd60012d7eba4005b81cc8000800b12a..."} 
[2026-07-07 11:58:05] local.INFO: Processing buffer {"connection_id":124435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b41cd60012d7eba4005b81cc8000800b12a..."} 
[2026-07-07 11:58:05] local.INFO: Packet analysis {"connection_id":124435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b41"} 
[2026-07-07 11:58:05] local.INFO: Extracted packet for processing {"connection_id":124435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b41"} 
[2026-07-07 11:58:05] local.INFO: GPS Element Parsed {"raw_longitude":763279936,"raw_latitude":95952072,"longitude_deg":76.3279936,"latitude_deg":9.5952072,"altitude":8,"angle":177,"satellites":42,"speed":28,"hex_longitude":"2d7eba40","hex_latitude":"05b81cc8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 11:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551830016001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341101990501154816,"note":"Value kept but may cause issues"} 
[2026-07-07 11:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131681587757393920,"note":"Value kept but may cause issues"} 
[2026-07-07 11:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783405596000,"timestamp_ms":1783405596000,"timestamp_seconds":1783405596,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b41cd60"} 
[2026-07-07 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-07-07 11:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 11:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 11:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551830016001,"66":27930,"121":206,"85":12544,"24":28,"16":341101990501154816,"45":9131681587757393920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-07 11:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551830016001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:58:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:58:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341101990501154816,"km_value":341101990501154.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131681587757393920,"description":"Unknown IO ID 45"} 
[2026-07-07 11:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551830016001,"power":27930,"unknown_121":206,"unknown_85":12544,"ignition":28,"odometer":null,"unknown_45":9131681587757393920}} 
[2026-07-07 11:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":124435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:58:05] local.INFO: GPS data processed {"connection_id":124435,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:58:05] local.INFO: Acknowledgment sent {"connection_id":124435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:58:37] local.INFO: TCP Data received {"connection_id":124435,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b420028012d7ebb4005b7f9a8000700b729..."} 
[2026-07-07 11:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b420028012d7ebb4005b7f9a8000700b729..."} 
[2026-07-07 11:58:37] local.INFO: Processing buffer {"connection_id":124435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b420028012d7ebb4005b7f9a8000700b729..."} 
[2026-07-07 11:58:37] local.INFO: Packet analysis {"connection_id":124435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b42"} 
[2026-07-07 11:58:37] local.INFO: Extracted packet for processing {"connection_id":124435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b42"} 
[2026-07-07 11:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763280192,"raw_latitude":95943080,"longitude_deg":76.3280192,"latitude_deg":9.594308,"altitude":7,"angle":183,"satellites":41,"speed":27,"hex_longitude":"2d7ebb40","hex_latitude":"05b7f9a8","is_valid_coordinates":true} 
[2026-07-07 11:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551832576001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341102424292851712,"note":"Value kept but may cause issues"} 
[2026-07-07 11:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131681587755010048,"note":"Value kept but may cause issues"} 
[2026-07-07 11:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783405609000,"timestamp_ms":1783405609000,"timestamp_seconds":1783405609,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b420028"} 
[2026-07-07 11:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 11:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551832576001,"66":27908,"121":206,"85":12544,"24":27,"16":341102424292851712,"45":9131681587755010048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-07 11:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551832576001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:58:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341102424292851712,"km_value":341102424292851.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131681587755010048,"description":"Unknown IO ID 45"} 
[2026-07-07 11:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551832576001,"power":27908,"unknown_121":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9131681587755010048}} 
[2026-07-07 11:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":124435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:58:37] local.INFO: GPS data processed {"connection_id":124435,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:58:37] local.INFO: Acknowledgment sent {"connection_id":124435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:58:59] local.INFO: TCP Data received {"connection_id":124436,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:58:59] local.INFO: Processing buffer {"connection_id":124436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:58:59] local.INFO: IMEI packet received {"connection_id":124436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":124436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 11:59:04] local.INFO: TCP Data received {"connection_id":124436,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:59:04] local.INFO: Processing buffer {"connection_id":124436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:59:04] local.INFO: IMEI packet received {"connection_id":124436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 11:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":124436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 11:59:05] local.INFO: TCP Data received {"connection_id":124436,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4232f0012d7eb98005b7d590000700b629..."} 
[2026-07-07 11:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4232f0012d7eb98005b7d590000700b629..."} 
[2026-07-07 11:59:05] local.INFO: Processing buffer {"connection_id":124436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4232f0012d7eb98005b7d590000700b629..."} 
[2026-07-07 11:59:05] local.INFO: Packet analysis {"connection_id":124436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b42"} 
[2026-07-07 11:59:05] local.INFO: Extracted packet for processing {"connection_id":124436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b42"} 
[2026-07-07 11:59:05] local.INFO: GPS Element Parsed {"raw_longitude":763279744,"raw_latitude":95933840,"longitude_deg":76.3279744,"latitude_deg":9.593384,"altitude":7,"angle":182,"satellites":41,"speed":26,"hex_longitude":"2d7eb980","hex_latitude":"05b7d590","is_valid_coordinates":true} 
[2026-07-07 11:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551835904001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341102875264417792,"note":"Value kept but may cause issues"} 
[2026-07-07 11:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131963062729418752,"note":"Value kept but may cause issues"} 
[2026-07-07 11:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783405622000,"timestamp_ms":1783405622000,"timestamp_seconds":1783405622,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4232f0"} 
[2026-07-07 11:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 11:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551835904001,"66":27821,"121":206,"85":12544,"24":26,"16":341102875264417792,"45":9131963062729418752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-07 11:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551835904001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:59:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:59:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341102875264417792,"km_value":341102875264417.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131963062729418752,"description":"Unknown IO ID 45"} 
[2026-07-07 11:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551835904001,"power":27821,"unknown_121":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9131963062729418752}} 
[2026-07-07 11:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":124436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:59:05] local.INFO: GPS data processed {"connection_id":124436,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:59:05] local.INFO: Acknowledgment sent {"connection_id":124436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:59:36] local.INFO: TCP Data received {"connection_id":124436,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4269a0012d7eb84005b7b080000800b429..."} 
[2026-07-07 11:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4269a0012d7eb84005b7b080000800b429..."} 
[2026-07-07 11:59:36] local.INFO: Processing buffer {"connection_id":124436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4269a0012d7eb84005b7b080000800b429..."} 
[2026-07-07 11:59:36] local.INFO: Packet analysis {"connection_id":124436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b42"} 
[2026-07-07 11:59:36] local.INFO: Extracted packet for processing {"connection_id":124436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b42"} 
[2026-07-07 11:59:36] local.INFO: GPS Element Parsed {"raw_longitude":763279424,"raw_latitude":95924352,"longitude_deg":76.3279424,"latitude_deg":9.5924352,"altitude":8,"angle":180,"satellites":41,"speed":26,"hex_longitude":"2d7eb840","hex_latitude":"05b7b080","is_valid_coordinates":true} 
[2026-07-07 11:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 11:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551839232001,"note":"Value kept but may cause issues"} 
[2026-07-07 11:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341103334825918464,"note":"Value kept but may cause issues"} 
[2026-07-07 11:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131470481517809664,"note":"Value kept but may cause issues"} 
[2026-07-07 11:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 11:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783405636000,"timestamp_ms":1783405636000,"timestamp_seconds":1783405636,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4269a0"} 
[2026-07-07 11:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 11:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 11:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 11:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 11:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 11:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 11:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 11:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 11:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 11:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 11:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 11:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 11:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551839232001,"66":27919,"121":206,"85":12544,"24":26,"16":341103334825918464,"45":9131470481517809664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-07 11:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 11:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 11:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551839232001,"description":"Unknown IO ID 0"} 
[2026-07-07 11:59:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 11:59:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 11:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341103334825918464,"km_value":341103334825918.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 11:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131470481517809664,"description":"Unknown IO ID 45"} 
[2026-07-07 11:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551839232001,"power":27919,"unknown_121":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9131470481517809664}} 
[2026-07-07 11:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":124436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 11:59:36] local.INFO: GPS data processed {"connection_id":124436,"processed":1,"errors":0,"total":1} 
[2026-07-07 11:59:36] local.INFO: Acknowledgment sent {"connection_id":124436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 11:59:59] local.INFO: TCP Data received {"connection_id":126391,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:59:59] local.INFO: Processing buffer {"connection_id":126391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 11:59:59] local.INFO: IMEI packet received {"connection_id":126391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 11:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":126391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:00:01] local.INFO: TCP Data received {"connection_id":126391,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:00:01] local.INFO: Processing buffer {"connection_id":126391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:00:01] local.INFO: IMEI packet received {"connection_id":126391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":126391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:00:04] local.INFO: TCP Data received {"connection_id":126391,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:00:04] local.INFO: Processing buffer {"connection_id":126391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:00:04] local.INFO: IMEI packet received {"connection_id":126391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":126391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:00:05] local.INFO: TCP Data received {"connection_id":126391,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b429880012d7eb7c005b78d00000900b52a..."} 
[2026-07-07 12:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b429880012d7eb7c005b78d00000900b52a..."} 
[2026-07-07 12:00:05] local.INFO: Processing buffer {"connection_id":126391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b429880012d7eb7c005b78d00000900b52a..."} 
[2026-07-07 12:00:05] local.INFO: Packet analysis {"connection_id":126391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b42"} 
[2026-07-07 12:00:05] local.INFO: Extracted packet for processing {"connection_id":126391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b42"} 
[2026-07-07 12:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763279296,"raw_latitude":95915264,"longitude_deg":76.3279296,"latitude_deg":9.5915264,"altitude":9,"angle":181,"satellites":42,"speed":31,"hex_longitude":"2d7eb7c0","hex_latitude":"05b78d00","is_valid_coordinates":true} 
[2026-07-07 12:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551842816001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341103777207549952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131118637794492416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783405648000,"timestamp_ms":1783405648000,"timestamp_seconds":1783405648,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b429880"} 
[2026-07-07 12:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 12:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551842816001,"66":27843,"121":206,"85":12544,"24":31,"16":341103777207549952,"45":9131118637794492416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-07 12:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551842816001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:00:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:00:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341103777207549952,"km_value":341103777207549.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131118637794492416,"description":"Unknown IO ID 45"} 
[2026-07-07 12:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551842816001,"power":27843,"unknown_121":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9131118637794492416}} 
[2026-07-07 12:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":126391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:00:05] local.INFO: GPS data processed {"connection_id":126391,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:00:05] local.INFO: Acknowledgment sent {"connection_id":126391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:00:36] local.INFO: TCP Data received {"connection_id":126391,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b42cf30012d7eb74005b76968000b00b329..."} 
[2026-07-07 12:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b42cf30012d7eb74005b76968000b00b329..."} 
[2026-07-07 12:00:36] local.INFO: Processing buffer {"connection_id":126391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b42cf30012d7eb74005b76968000b00b329..."} 
[2026-07-07 12:00:36] local.INFO: Packet analysis {"connection_id":126391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b42"} 
[2026-07-07 12:00:36] local.INFO: Extracted packet for processing {"connection_id":126391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b42"} 
[2026-07-07 12:00:36] local.INFO: GPS Element Parsed {"raw_longitude":763279168,"raw_latitude":95906152,"longitude_deg":76.3279168,"latitude_deg":9.5906152,"altitude":11,"angle":179,"satellites":41,"speed":15,"hex_longitude":"2d7eb740","hex_latitude":"05b76968","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551845888001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341104219589181440,"note":"Value kept but may cause issues"} 
[2026-07-07 12:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130977900303810560,"note":"Value kept but may cause issues"} 
[2026-07-07 12:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783405662000,"timestamp_ms":1783405662000,"timestamp_seconds":1783405662,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b42cf30"} 
[2026-07-07 12:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 12:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12: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-07-07 12:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551845888001,"66":27930,"121":206,"85":12544,"24":15,"16":341104219589181440,"45":9130977900303810560},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-07 12:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551845888001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:00:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341104219589181440,"km_value":341104219589181.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130977900303810560,"description":"Unknown IO ID 45"} 
[2026-07-07 12:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551845888001,"power":27930,"unknown_121":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9130977900303810560}} 
[2026-07-07 12:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":126391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:00:36] local.INFO: GPS data processed {"connection_id":126391,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:00:36] local.INFO: Acknowledgment sent {"connection_id":126391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:00:36] local.INFO: TCP Data received {"connection_id":124351,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:00:36] local.INFO: Processing buffer {"connection_id":124351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:00:36] local.INFO: IMEI packet received {"connection_id":124351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":124351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:00:38] local.INFO: TCP Data received {"connection_id":124351,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b449c20012d19c600071f71400037001220..."} 
[2026-07-07 12:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b449c20012d19c600071f71400037001220..."} 
[2026-07-07 12:00:38] local.INFO: Processing buffer {"connection_id":124351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b449c20012d19c600071f71400037001220..."} 
[2026-07-07 12:00:38] local.INFO: Packet analysis {"connection_id":124351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b44"} 
[2026-07-07 12:00:38] local.INFO: Extracted packet for processing {"connection_id":124351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b44"} 
[2026-07-07 12:00:38] local.INFO: GPS Element Parsed {"raw_longitude":756663808,"raw_latitude":119501120,"longitude_deg":75.6663808,"latitude_deg":11.950112,"altitude":55,"angle":18,"satellites":32,"speed":22,"hex_longitude":"2d19c600","hex_latitude":"071f7140","is_valid_coordinates":true} 
[2026-07-07 12:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551879168001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4881883166932992,"note":"Value kept but may cause issues"} 
[2026-07-07 12:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856679345719681024,"note":"Value kept but may cause issues"} 
[2026-07-07 12:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783405780000,"timestamp_ms":1783405780000,"timestamp_seconds":1783405780,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b449c20"} 
[2026-07-07 12:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:00: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-07-07 12: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-07 12:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551879168001,"66":13624,"121":206,"28":31744,"24":22,"16":4881883166932992,"45":1856679345719681024},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551879168001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:00:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:00:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4881883166932992,"km_value":4881883166932.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856679345719681024,"description":"Unknown IO ID 45"} 
[2026-07-07 12:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551879168001,"power":13624,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1856679345719681024}} 
[2026-07-07 12:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":124351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:00:38] local.INFO: GPS data processed {"connection_id":124351,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:00:38] local.INFO: Acknowledgment sent {"connection_id":124351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:00:59] local.INFO: TCP Data received {"connection_id":124437,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:00:59] local.INFO: Processing buffer {"connection_id":124437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:00:59] local.INFO: IMEI packet received {"connection_id":124437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":124437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:01:04] local.INFO: TCP Data received {"connection_id":124437,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:01:04] local.INFO: Processing buffer {"connection_id":124437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:01:04] local.INFO: IMEI packet received {"connection_id":124437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":124437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:01:04] local.INFO: TCP Data received {"connection_id":124437,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:01:04] local.INFO: Processing buffer {"connection_id":124437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:01:04] local.INFO: IMEI packet received {"connection_id":124437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":124437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:01:16] local.INFO: TCP Data received {"connection_id":124437,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b431198012d7eb6c005b74500000d00b429..."} 
[2026-07-07 12:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b431198012d7eb6c005b74500000d00b429..."} 
[2026-07-07 12:01:16] local.INFO: Processing buffer {"connection_id":124437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b431198012d7eb6c005b74500000d00b429..."} 
[2026-07-07 12:01:16] local.INFO: Packet analysis {"connection_id":124437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b43"} 
[2026-07-07 12:01:16] local.INFO: Extracted packet for processing {"connection_id":124437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b43"} 
[2026-07-07 12:01:16] local.INFO: GPS Element Parsed {"raw_longitude":763279040,"raw_latitude":95896832,"longitude_deg":76.327904,"latitude_deg":9.5896832,"altitude":13,"angle":180,"satellites":41,"speed":26,"hex_longitude":"2d7eb6c0","hex_latitude":"05b74500","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551849472001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341104670560747520,"note":"Value kept but may cause issues"} 
[2026-07-07 12:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130837162813122560,"note":"Value kept but may cause issues"} 
[2026-07-07 12:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783405679000,"timestamp_ms":1783405679000,"timestamp_seconds":1783405679,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b431198"} 
[2026-07-07 12:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12: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-07-07 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 12:01: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-07-07 12: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-07-07 12:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551849472001,"66":27908,"223":206,"85":12544,"24":26,"16":341104670560747520,"45":9130837162813122560},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-07-07 12:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551849472001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:01:16] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-07-07 12:01:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341104670560747520,"km_value":341104670560747.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130837162813122560,"description":"Unknown IO ID 45"} 
[2026-07-07 12:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551849472001,"power":27908,"unknown_223":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9130837162813122560}} 
[2026-07-07 12:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":124437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:01:16] local.INFO: GPS data processed {"connection_id":124437,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:01:16] local.INFO: Acknowledgment sent {"connection_id":124437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:01:17] local.INFO: TCP Data received {"connection_id":124437,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b434848012d7eb5c005b72238000e00b527..."} 
[2026-07-07 12:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b434848012d7eb5c005b72238000e00b527..."} 
[2026-07-07 12:01:17] local.INFO: Processing buffer {"connection_id":124437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b434848012d7eb5c005b72238000e00b527..."} 
[2026-07-07 12:01:17] local.INFO: Packet analysis {"connection_id":124437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b43"} 
[2026-07-07 12:01:17] local.INFO: Extracted packet for processing {"connection_id":124437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b43"} 
[2026-07-07 12:01:17] local.INFO: GPS Element Parsed {"raw_longitude":763278784,"raw_latitude":95887928,"longitude_deg":76.3278784,"latitude_deg":9.5887928,"altitude":14,"angle":181,"satellites":39,"speed":28,"hex_longitude":"2d7eb5c0","hex_latitude":"05b72238","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551853824001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341105104352444416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130696425322381312,"note":"Value kept but may cause issues"} 
[2026-07-07 12:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783405693000,"timestamp_ms":1783405693000,"timestamp_seconds":1783405693,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b434848"} 
[2026-07-07 12:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 12:01: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-07-07 12: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-07-07 12:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12: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-07-07 12:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551853824001,"66":27919,"223":206,"85":12544,"24":28,"16":341105104352444416,"45":9130696425322381312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-07-07 12:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551853824001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:01:17] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-07-07 12:01:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341105104352444416,"km_value":341105104352444.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130696425322381312,"description":"Unknown IO ID 45"} 
[2026-07-07 12:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551853824001,"power":27919,"unknown_223":206,"unknown_85":12544,"ignition":28,"odometer":null,"unknown_45":9130696425322381312}} 
[2026-07-07 12:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":124437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:01:17] local.INFO: GPS data processed {"connection_id":124437,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:01:17] local.INFO: Acknowledgment sent {"connection_id":124437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:02:01] local.INFO: TCP Data received {"connection_id":124438,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:02:01] local.INFO: Processing buffer {"connection_id":124438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:02:01] local.INFO: IMEI packet received {"connection_id":124438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":124438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:02:02] local.INFO: TCP Data received {"connection_id":124440,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:02:02] local.INFO: Processing buffer {"connection_id":124440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:02:02] local.INFO: IMEI packet received {"connection_id":124440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":124440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:02:02] local.INFO: TCP Data received {"connection_id":124438,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:02:02] local.INFO: Processing buffer {"connection_id":124438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:02:02] local.INFO: IMEI packet received {"connection_id":124438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":124438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:02:04] local.INFO: TCP Data received {"connection_id":124440,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:02:04] local.INFO: Processing buffer {"connection_id":124440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:02:04] local.INFO: IMEI packet received {"connection_id":124440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":124440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:02:09] local.INFO: TCP Data received {"connection_id":124440,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:02:09] local.INFO: Processing buffer {"connection_id":124440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:02:09] local.INFO: IMEI packet received {"connection_id":124440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":124440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:02:10] local.INFO: TCP Data received {"connection_id":124440,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b45d888012d7eae0005b5ced0000a00b42a..."} 
[2026-07-07 12:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b45d888012d7eae0005b5ced0000a00b42a..."} 
[2026-07-07 12:02:10] local.INFO: Processing buffer {"connection_id":124440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b45d888012d7eae0005b5ced0000a00b42a..."} 
[2026-07-07 12:02:10] local.INFO: Packet analysis {"connection_id":124440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b45"} 
[2026-07-07 12:02:10] local.INFO: Extracted packet for processing {"connection_id":124440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b45"} 
[2026-07-07 12:02:10] local.INFO: GPS Element Parsed {"raw_longitude":763276800,"raw_latitude":95801040,"longitude_deg":76.32768,"latitude_deg":9.580104,"altitude":10,"angle":180,"satellites":42,"speed":21,"hex_longitude":"2d7eae00","hex_latitude":"05b5ced0","is_valid_coordinates":true} 
[2026-07-07 12:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551895296001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341109330600263680,"note":"Value kept but may cause issues"} 
[2026-07-07 12:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127811306788886528,"note":"Value kept but may cause issues"} 
[2026-07-07 12:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783405861000,"timestamp_ms":1783405861000,"timestamp_seconds":1783405861,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b45d888"} 
[2026-07-07 12:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 12:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12: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-07-07 12:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551895296001,"66":27930,"59":206,"85":12544,"24":21,"16":341109330600263680,"45":9127811306788886528},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-07-07 12:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551895296001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:02:10] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-07 12:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341109330600263680,"km_value":341109330600263.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127811306788886528,"description":"Unknown IO ID 45"} 
[2026-07-07 12:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551895296001,"power":27930,"unknown_59":206,"unknown_85":12544,"ignition":21,"odometer":null,"unknown_45":9127811306788886528}} 
[2026-07-07 12:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":124440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:02:10] local.INFO: GPS data processed {"connection_id":124440,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:02:10] local.INFO: Acknowledgment sent {"connection_id":124440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:02:11] local.INFO: TCP Data received {"connection_id":124440,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b460b50012d7ead8005b5abe0000900b72a..."} 
[2026-07-07 12:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b460b50012d7ead8005b5abe0000900b72a..."} 
[2026-07-07 12:02:11] local.INFO: Processing buffer {"connection_id":124440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b460b50012d7ead8005b5abe0000900b72a..."} 
[2026-07-07 12:02:11] local.INFO: Packet analysis {"connection_id":124440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b46"} 
[2026-07-07 12:02:11] local.INFO: Extracted packet for processing {"connection_id":124440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b46"} 
[2026-07-07 12:02:11] local.INFO: GPS Element Parsed {"raw_longitude":763276672,"raw_latitude":95792096,"longitude_deg":76.3276672,"latitude_deg":9.5792096,"altitude":9,"angle":183,"satellites":42,"speed":33,"hex_longitude":"2d7ead80","hex_latitude":"05b5abe0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 12:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551900416001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341109764391960576,"note":"Value kept but may cause issues"} 
[2026-07-07 12:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128233519251640320,"note":"Value kept but may cause issues"} 
[2026-07-07 12:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783405874000,"timestamp_ms":1783405874000,"timestamp_seconds":1783405874,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b460b50"} 
[2026-07-07 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-07-07 12:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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-07-07 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-07-07 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-07-07 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-07-07 12:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551900416001,"66":27865,"59":206,"85":12544,"24":33,"16":341109764391960576,"45":9128233519251640320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-07-07 12:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551900416001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:02:11] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-07 12:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341109764391960576,"km_value":341109764391960.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128233519251640320,"description":"Unknown IO ID 45"} 
[2026-07-07 12:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551900416001,"power":27865,"unknown_59":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9128233519251640320}} 
[2026-07-07 12:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":124440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:02:11] local.INFO: GPS data processed {"connection_id":124440,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:02:11] local.INFO: Acknowledgment sent {"connection_id":124440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:02:30] local.INFO: TCP Data received {"connection_id":126392,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:02:30] local.INFO: Processing buffer {"connection_id":126392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:02:30] local.INFO: IMEI packet received {"connection_id":126392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":126392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:02:43] local.INFO: TCP Data received {"connection_id":124440,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b463260012d7eaac005b58690000900b82a..."} 
[2026-07-07 12:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b463260012d7eaac005b58690000900b82a..."} 
[2026-07-07 12:02:43] local.INFO: Processing buffer {"connection_id":124440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b463260012d7eaac005b58690000900b82a..."} 
[2026-07-07 12:02:43] local.INFO: Packet analysis {"connection_id":124440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b46"} 
[2026-07-07 12:02:43] local.INFO: Extracted packet for processing {"connection_id":124440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b46"} 
[2026-07-07 12:02:43] local.INFO: GPS Element Parsed {"raw_longitude":763275968,"raw_latitude":95782544,"longitude_deg":76.3275968,"latitude_deg":9.5782544,"altitude":9,"angle":184,"satellites":42,"speed":41,"hex_longitude":"2d7eaac0","hex_latitude":"05b58690","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551903744001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341110228248428544,"note":"Value kept but may cause issues"} 
[2026-07-07 12:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128092781760995328,"note":"Value kept but may cause issues"} 
[2026-07-07 12:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783405884000,"timestamp_ms":1783405884000,"timestamp_seconds":1783405884,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b463260"} 
[2026-07-07 12:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12: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-07-07 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 12:02: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-07-07 12: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-07-07 12:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551903744001,"66":27832,"59":206,"85":12544,"24":41,"16":341110228248428544,"45":9128092781760995328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-07-07 12:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551903744001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:02:43] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-07 12:02:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341110228248428544,"km_value":341110228248428.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128092781760995328,"description":"Unknown IO ID 45"} 
[2026-07-07 12:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551903744001,"power":27832,"unknown_59":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9128092781760995328}} 
[2026-07-07 12:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":124440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:02:43] local.INFO: GPS data processed {"connection_id":124440,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:02:43] local.INFO: Acknowledgment sent {"connection_id":124440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:02:59] local.INFO: TCP Data received {"connection_id":126393,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:02:59] local.INFO: Processing buffer {"connection_id":126393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:02:59] local.INFO: IMEI packet received {"connection_id":126393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":126393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:03:00] local.INFO: TCP Data received {"connection_id":126393,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:03:00] local.INFO: Processing buffer {"connection_id":126393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:03:00] local.INFO: IMEI packet received {"connection_id":126393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":126393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:03:04] local.INFO: TCP Data received {"connection_id":126393,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:03:04] local.INFO: Processing buffer {"connection_id":126393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:03:04] local.INFO: IMEI packet received {"connection_id":126393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":126393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:03:05] local.INFO: TCP Data received {"connection_id":126393,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b465588012d7ea90005b55ff8000900b52a..."} 
[2026-07-07 12:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b465588012d7ea90005b55ff8000900b52a..."} 
[2026-07-07 12:03:05] local.INFO: Processing buffer {"connection_id":126393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b465588012d7ea90005b55ff8000900b52a..."} 
[2026-07-07 12:03:05] local.INFO: Packet analysis {"connection_id":126393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b46"} 
[2026-07-07 12:03:05] local.INFO: Extracted packet for processing {"connection_id":126393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b46"} 
[2026-07-07 12:03:05] local.INFO: GPS Element Parsed {"raw_longitude":763275520,"raw_latitude":95772664,"longitude_deg":76.327552,"latitude_deg":9.5772664,"altitude":9,"angle":181,"satellites":42,"speed":45,"hex_longitude":"2d7ea900","hex_latitude":"05b55ff8","is_valid_coordinates":true} 
[2026-07-07 12:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551906304001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341110709284765696,"note":"Value kept but may cause issues"} 
[2026-07-07 12:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127318725572595712,"note":"Value kept but may cause issues"} 
[2026-07-07 12:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783405893000,"timestamp_ms":1783405893000,"timestamp_seconds":1783405893,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b465588"} 
[2026-07-07 12:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 12:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551906304001,"66":27865,"59":206,"85":12544,"24":45,"16":341110709284765696,"45":9127318725572595712},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-07-07 12:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551906304001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:03:05] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-07 12:03:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341110709284765696,"km_value":341110709284765.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127318725572595712,"description":"Unknown IO ID 45"} 
[2026-07-07 12:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551906304001,"power":27865,"unknown_59":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9127318725572595712}} 
[2026-07-07 12:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":126393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:03:06] local.INFO: GPS data processed {"connection_id":126393,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:03:06] local.INFO: Acknowledgment sent {"connection_id":126393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:03:07] local.INFO: TCP Data received {"connection_id":126393,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4674c8012d7ea88005b53a78000900b528..."} 
[2026-07-07 12:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4674c8012d7ea88005b53a78000900b528..."} 
[2026-07-07 12:03:07] local.INFO: Processing buffer {"connection_id":126393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4674c8012d7ea88005b53a78000900b528..."} 
[2026-07-07 12:03:07] local.INFO: Packet analysis {"connection_id":126393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b46"} 
[2026-07-07 12:03:07] local.INFO: Extracted packet for processing {"connection_id":126393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b46"} 
[2026-07-07 12:03:07] local.INFO: GPS Element Parsed {"raw_longitude":763275392,"raw_latitude":95763064,"longitude_deg":76.3275392,"latitude_deg":9.5763064,"altitude":9,"angle":181,"satellites":40,"speed":50,"hex_longitude":"2d7ea880","hex_latitude":"05b53a78","is_valid_coordinates":true} 
[2026-07-07 12:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551908608001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341111177436200960,"note":"Value kept but may cause issues"} 
[2026-07-07 12:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126826144360822784,"note":"Value kept but may cause issues"} 
[2026-07-07 12:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783405901000,"timestamp_ms":1783405901000,"timestamp_seconds":1783405901,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4674c8"} 
[2026-07-07 12:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:03: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-07-07 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 12:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551908608001,"66":27908,"59":206,"85":12544,"24":50,"16":341111177436200960,"45":9126826144360822784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-07-07 12:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551908608001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:03:07] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-07 12:03:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341111177436200960,"km_value":341111177436200.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126826144360822784,"description":"Unknown IO ID 45"} 
[2026-07-07 12:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551908608001,"power":27908,"unknown_59":206,"unknown_85":12544,"ignition":50,"odometer":null,"unknown_45":9126826144360822784}} 
[2026-07-07 12:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":126393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:03:07] local.INFO: GPS data processed {"connection_id":126393,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:03:07] local.INFO: Acknowledgment sent {"connection_id":126393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:03:35] local.INFO: TCP Data received {"connection_id":124441,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:03:35] local.INFO: Processing buffer {"connection_id":124441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:03:35] local.INFO: IMEI packet received {"connection_id":124441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 12:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":124441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:03:38] local.INFO: TCP Data received {"connection_id":126393,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b469020012d7ea7c005b51668000900b42a..."} 
[2026-07-07 12:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b469020012d7ea7c005b51668000900b42a..."} 
[2026-07-07 12:03:38] local.INFO: Processing buffer {"connection_id":126393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b469020012d7ea7c005b51668000900b42a..."} 
[2026-07-07 12:03:38] local.INFO: Packet analysis {"connection_id":126393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b46"} 
[2026-07-07 12:03:38] local.INFO: Extracted packet for processing {"connection_id":126393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b46"} 
[2026-07-07 12:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763275200,"raw_latitude":95753832,"longitude_deg":76.32752,"latitude_deg":9.5753832,"altitude":9,"angle":180,"satellites":42,"speed":53,"hex_longitude":"2d7ea7c0","hex_latitude":"05b51668","is_valid_coordinates":true} 
[2026-07-07 12:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551910656001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341111624112799744,"note":"Value kept but may cause issues"} 
[2026-07-07 12:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126685406870009856,"note":"Value kept but may cause issues"} 
[2026-07-07 12:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783405908000,"timestamp_ms":1783405908000,"timestamp_seconds":1783405908,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b469020"} 
[2026-07-07 12:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:03: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-07-07 12:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 12:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551910656001,"66":27843,"59":206,"85":12544,"24":53,"16":341111624112799744,"45":9126685406870009856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-07-07 12:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551910656001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:03:38] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-07 12:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341111624112799744,"km_value":341111624112799.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126685406870009856,"description":"Unknown IO ID 45"} 
[2026-07-07 12:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551910656001,"power":27843,"unknown_59":206,"unknown_85":12544,"ignition":53,"odometer":null,"unknown_45":9126685406870009856}} 
[2026-07-07 12:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":126393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:03:38] local.INFO: GPS data processed {"connection_id":126393,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:03:38] local.INFO: Acknowledgment sent {"connection_id":126393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:03:57] local.INFO: TCP Data received {"connection_id":124442,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:03:57] local.INFO: Processing buffer {"connection_id":124442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:03:57] local.INFO: IMEI packet received {"connection_id":124442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":124442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:03:59] local.INFO: TCP Data received {"connection_id":124442,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:03:59] local.INFO: Processing buffer {"connection_id":124442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:03:59] local.INFO: IMEI packet received {"connection_id":124442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":124442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:03:59] local.INFO: TCP Data received {"connection_id":124353,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:03:59] local.INFO: Processing buffer {"connection_id":124353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:03:59] local.INFO: IMEI packet received {"connection_id":124353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 12:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":124353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:04:03] local.INFO: TCP Data received {"connection_id":124442,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:04:03] local.INFO: Processing buffer {"connection_id":124442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:04:03] local.INFO: IMEI packet received {"connection_id":124442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":124442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:04:04] local.INFO: TCP Data received {"connection_id":124442,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b47a578012d7eb88005b37c40000a00b12a..."} 
[2026-07-07 12:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b47a578012d7eb88005b37c40000a00b12a..."} 
[2026-07-07 12:04:04] local.INFO: Processing buffer {"connection_id":124442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b47a578012d7eb88005b37c40000a00b12a..."} 
[2026-07-07 12:04:04] local.INFO: Packet analysis {"connection_id":124442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b47"} 
[2026-07-07 12:04:04] local.INFO: Extracted packet for processing {"connection_id":124442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b47"} 
[2026-07-07 12:04:04] local.INFO: GPS Element Parsed {"raw_longitude":763279488,"raw_latitude":95648832,"longitude_deg":76.3279488,"latitude_deg":9.5648832,"altitude":10,"angle":177,"satellites":42,"speed":55,"hex_longitude":"2d7eb880","hex_latitude":"05b37c40","is_valid_coordinates":true} 
[2026-07-07 12:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551928832001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341116717944012800,"note":"Value kept but may cause issues"} 
[2026-07-07 12:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130837162749769728,"note":"Value kept but may cause issues"} 
[2026-07-07 12:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783405979000,"timestamp_ms":1783405979000,"timestamp_seconds":1783405979,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b47a578"} 
[2026-07-07 12:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 12:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551928832001,"66":27800,"93":206,"85":12544,"24":55,"16":341116717944012800,"45":9130837162749769728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-07-07 12:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551928832001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:04:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-07 12:04:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341116717944012800,"km_value":341116717944012.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130837162749769728,"description":"Unknown IO ID 45"} 
[2026-07-07 12:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551928832001,"power":27800,"unknown_93":206,"unknown_85":12544,"ignition":55,"odometer":null,"unknown_45":9130837162749769728}} 
[2026-07-07 12:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":124442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:04:04] local.INFO: GPS data processed {"connection_id":124442,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:04:04] local.INFO: Acknowledgment sent {"connection_id":124442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:04:39] local.INFO: TCP Data received {"connection_id":124442,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b47c0d0012d7eb9c005b355a8000a00b229..."} 
[2026-07-07 12:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b47c0d0012d7eb9c005b355a8000a00b229..."} 
[2026-07-07 12:04:39] local.INFO: Processing buffer {"connection_id":124442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b47c0d0012d7eb9c005b355a8000a00b229..."} 
[2026-07-07 12:04:39] local.INFO: Packet analysis {"connection_id":124442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b47"} 
[2026-07-07 12:04:39] local.INFO: Extracted packet for processing {"connection_id":124442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b47"} 
[2026-07-07 12:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763279808,"raw_latitude":95638952,"longitude_deg":76.3279808,"latitude_deg":9.5638952,"altitude":10,"angle":178,"satellites":41,"speed":57,"hex_longitude":"2d7eb9c0","hex_latitude":"05b355a8","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551930624001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341117198980349952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131189006468136960,"note":"Value kept but may cause issues"} 
[2026-07-07 12:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783405986000,"timestamp_ms":1783405986000,"timestamp_seconds":1783405986,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b47c0d0"} 
[2026-07-07 12:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:04: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-07-07 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 12:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12: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-07-07 12:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551930624001,"66":27974,"93":206,"85":12544,"24":57,"16":341117198980349952,"45":9131189006468136960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-07-07 12:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551930624001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:04:39] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-07 12:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341117198980349952,"km_value":341117198980349.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131189006468136960,"description":"Unknown IO ID 45"} 
[2026-07-07 12:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551930624001,"power":27974,"unknown_93":206,"unknown_85":12544,"ignition":57,"odometer":null,"unknown_45":9131189006468136960}} 
[2026-07-07 12:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":124442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:04:39] local.INFO: GPS data processed {"connection_id":124442,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:04:39] local.INFO: Acknowledgment sent {"connection_id":124442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:04:59] local.INFO: TCP Data received {"connection_id":125151,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:04:59] local.INFO: Processing buffer {"connection_id":125151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:04:59] local.INFO: IMEI packet received {"connection_id":125151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":125151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:05:00] local.INFO: TCP Data received {"connection_id":125151,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:05:00] local.INFO: Processing buffer {"connection_id":125151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:05:00] local.INFO: IMEI packet received {"connection_id":125151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":125151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:05:04] local.INFO: TCP Data received {"connection_id":125151,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:05:04] local.INFO: Processing buffer {"connection_id":125151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:05:04] local.INFO: IMEI packet received {"connection_id":125151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":125151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:05:05] local.INFO: TCP Data received {"connection_id":125151,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b47dc28012d7ebb0005b32e10000b00b12a..."} 
[2026-07-07 12:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b47dc28012d7ebb0005b32e10000b00b12a..."} 
[2026-07-07 12:05:05] local.INFO: Processing buffer {"connection_id":125151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b47dc28012d7ebb0005b32e10000b00b12a..."} 
[2026-07-07 12:05:05] local.INFO: Packet analysis {"connection_id":125151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b47"} 
[2026-07-07 12:05:05] local.INFO: Extracted packet for processing {"connection_id":125151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b47"} 
[2026-07-07 12:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763280128,"raw_latitude":95628816,"longitude_deg":76.3280128,"latitude_deg":9.5628816,"altitude":11,"angle":177,"satellites":42,"speed":58,"hex_longitude":"2d7ebb00","hex_latitude":"05b32e10","is_valid_coordinates":true} 
[2026-07-07 12:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551932416001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341117688606621696,"note":"Value kept but may cause issues"} 
[2026-07-07 12:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131540850186496000,"note":"Value kept but may cause issues"} 
[2026-07-07 12:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783405993000,"timestamp_ms":1783405993000,"timestamp_seconds":1783405993,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b47dc28"} 
[2026-07-07 12:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 12:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551932416001,"66":27919,"93":206,"85":12544,"24":58,"16":341117688606621696,"45":9131540850186496000},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-07-07 12:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551932416001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:05:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-07 12:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341117688606621696,"km_value":341117688606621.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131540850186496000,"description":"Unknown IO ID 45"} 
[2026-07-07 12:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551932416001,"power":27919,"unknown_93":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":9131540850186496000}} 
[2026-07-07 12:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":125151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:05:05] local.INFO: GPS data processed {"connection_id":125151,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:05:05] local.INFO: Acknowledgment sent {"connection_id":125151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:05:36] local.INFO: TCP Data received {"connection_id":125151,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4933e8012d7ea70005b13670000900b528..."} 
[2026-07-07 12:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4933e8012d7ea70005b13670000900b528..."} 
[2026-07-07 12:05:36] local.INFO: Processing buffer {"connection_id":125151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4933e8012d7ea70005b13670000900b528..."} 
[2026-07-07 12:05:36] local.INFO: Packet analysis {"connection_id":125151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b49"} 
[2026-07-07 12:05:36] local.INFO: Extracted packet for processing {"connection_id":125151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b49"} 
[2026-07-07 12:05:36] local.INFO: GPS Element Parsed {"raw_longitude":763275008,"raw_latitude":95499888,"longitude_deg":76.3275008,"latitude_deg":9.5499888,"altitude":9,"angle":181,"satellites":40,"speed":61,"hex_longitude":"2d7ea700","hex_latitude":"05b13670","is_valid_coordinates":true} 
[2026-07-07 12:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551955200001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341123954963906560,"note":"Value kept but may cause issues"} 
[2026-07-07 12:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126615038060851200,"note":"Value kept but may cause issues"} 
[2026-07-07 12:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783406081000,"timestamp_ms":1783406081000,"timestamp_seconds":1783406081,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4933e8"} 
[2026-07-07 12:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 12:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551955200001,"66":27865,"92":206,"85":12544,"24":61,"16":341123954963906560,"45":9126615038060851200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-07-07 12:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551955200001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:05:36] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-07 12:05:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341123954963906560,"km_value":341123954963906.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126615038060851200,"description":"Unknown IO ID 45"} 
[2026-07-07 12:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551955200001,"power":27865,"unknown_92":206,"unknown_85":12544,"ignition":61,"odometer":null,"unknown_45":9126615038060851200}} 
[2026-07-07 12:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":125151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:05:36] local.INFO: GPS data processed {"connection_id":125151,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:05:36] local.INFO: Acknowledgment sent {"connection_id":125151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:05:59] local.INFO: TCP Data received {"connection_id":126395,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:05:59] local.INFO: Processing buffer {"connection_id":126395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:05:59] local.INFO: IMEI packet received {"connection_id":126395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":126395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:06:03] local.INFO: TCP Data received {"connection_id":126395,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:06:03] local.INFO: Processing buffer {"connection_id":126395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:06:03] local.INFO: IMEI packet received {"connection_id":126395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":126395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:06:04] local.INFO: TCP Data received {"connection_id":126395,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b494f40012d7ea6c005b10f08000900b327..."} 
[2026-07-07 12:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b494f40012d7ea6c005b10f08000900b327..."} 
[2026-07-07 12:06:04] local.INFO: Processing buffer {"connection_id":126395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b494f40012d7ea6c005b10f08000900b327..."} 
[2026-07-07 12:06:04] local.INFO: Packet analysis {"connection_id":126395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b49"} 
[2026-07-07 12:06:04] local.INFO: Extracted packet for processing {"connection_id":126395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b49"} 
[2026-07-07 12:06:04] local.INFO: GPS Element Parsed {"raw_longitude":763274944,"raw_latitude":95489800,"longitude_deg":76.3274944,"latitude_deg":9.54898,"altitude":9,"angle":179,"satellites":39,"speed":52,"hex_longitude":"2d7ea6c0","hex_latitude":"05b10f08","is_valid_coordinates":true} 
[2026-07-07 12:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551956736001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341124444590178304,"note":"Value kept but may cause issues"} 
[2026-07-07 12:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126263194337570816,"note":"Value kept but may cause issues"} 
[2026-07-07 12:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783406088000,"timestamp_ms":1783406088000,"timestamp_seconds":1783406088,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b494f40"} 
[2026-07-07 12:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 12:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551956736001,"66":27865,"92":206,"85":12544,"24":52,"16":341124444590178304,"45":9126263194337570816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-07-07 12:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551956736001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:06:04] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-07 12:06:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341124444590178304,"km_value":341124444590178.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126263194337570816,"description":"Unknown IO ID 45"} 
[2026-07-07 12:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551956736001,"power":27865,"unknown_92":206,"unknown_85":12544,"ignition":52,"odometer":null,"unknown_45":9126263194337570816}} 
[2026-07-07 12:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":126395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:06:04] local.INFO: GPS data processed {"connection_id":126395,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:06:04] local.INFO: Acknowledgment sent {"connection_id":126395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:06:42] local.INFO: TCP Data received {"connection_id":126395,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b496e80012d7ea90005b0e828000800b129..."} 
[2026-07-07 12:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b496e80012d7ea90005b0e828000800b129..."} 
[2026-07-07 12:06:42] local.INFO: Processing buffer {"connection_id":126395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b496e80012d7ea90005b0e828000800b129..."} 
[2026-07-07 12:06:42] local.INFO: Packet analysis {"connection_id":126395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b49"} 
[2026-07-07 12:06:42] local.INFO: Extracted packet for processing {"connection_id":126395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b49"} 
[2026-07-07 12:06:42] local.INFO: GPS Element Parsed {"raw_longitude":763275520,"raw_latitude":95479848,"longitude_deg":76.327552,"latitude_deg":9.5479848,"altitude":8,"angle":177,"satellites":41,"speed":49,"hex_longitude":"2d7ea900","hex_latitude":"05b0e828","is_valid_coordinates":true} 
[2026-07-07 12:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551958528001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341124929921482752,"note":"Value kept but may cause issues"} 
[2026-07-07 12:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126192825590810624,"note":"Value kept but may cause issues"} 
[2026-07-07 12:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783406096000,"timestamp_ms":1783406096000,"timestamp_seconds":1783406096,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b496e80"} 
[2026-07-07 12:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:06: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-07-07 12:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 12:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551958528001,"66":27767,"27":206,"85":12544,"24":49,"16":341124929921482752,"45":9126192825590810624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-07 12:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551958528001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:06:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-07 12:06:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341124929921482752,"km_value":341124929921482.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126192825590810624,"description":"Unknown IO ID 45"} 
[2026-07-07 12:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551958528001,"power":27767,"unknown_27":206,"unknown_85":12544,"ignition":49,"odometer":null,"unknown_45":9126192825590810624}} 
[2026-07-07 12:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":126395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:06:42] local.INFO: GPS data processed {"connection_id":126395,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:06:42] local.INFO: Acknowledgment sent {"connection_id":126395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:06:59] local.INFO: TCP Data received {"connection_id":124356,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:06:59] local.INFO: Processing buffer {"connection_id":124356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:06:59] local.INFO: IMEI packet received {"connection_id":124356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":124356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:07:04] local.INFO: TCP Data received {"connection_id":124356,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:07:04] local.INFO: Processing buffer {"connection_id":124356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:07:04] local.INFO: IMEI packet received {"connection_id":124356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":124356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:07:05] local.INFO: TCP Data received {"connection_id":124356,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b498dc0012d7ea88005b0c090000900b62b..."} 
[2026-07-07 12:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b498dc0012d7ea88005b0c090000900b62b..."} 
[2026-07-07 12:07:05] local.INFO: Processing buffer {"connection_id":124356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b498dc0012d7ea88005b0c090000900b62b..."} 
[2026-07-07 12:07:05] local.INFO: Packet analysis {"connection_id":124356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b49"} 
[2026-07-07 12:07:05] local.INFO: Extracted packet for processing {"connection_id":124356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b49"} 
[2026-07-07 12:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763275392,"raw_latitude":95469712,"longitude_deg":76.3275392,"latitude_deg":9.5469712,"altitude":9,"angle":182,"satellites":43,"speed":51,"hex_longitude":"2d7ea880","hex_latitude":"05b0c090","is_valid_coordinates":true} 
[2026-07-07 12:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551960576001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341125419547754496,"note":"Value kept but may cause issues"} 
[2026-07-07 12:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126826144285861888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783406104000,"timestamp_ms":1783406104000,"timestamp_seconds":1783406104,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b498dc0"} 
[2026-07-07 12:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 12:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551960576001,"66":27745,"27":206,"85":12544,"24":51,"16":341125419547754496,"45":9126826144285861888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-07 12:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551960576001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:07:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-07 12:07:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341125419547754496,"km_value":341125419547754.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126826144285861888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551960576001,"power":27745,"unknown_27":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":9126826144285861888}} 
[2026-07-07 12:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":124356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:07:05] local.INFO: GPS data processed {"connection_id":124356,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:07:05] local.INFO: Acknowledgment sent {"connection_id":124356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:07:32] local.INFO: TCP Data received {"connection_id":125155,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:07:32] local.INFO: Processing buffer {"connection_id":125155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:07:32] local.INFO: IMEI packet received {"connection_id":125155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":125155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:07:33] local.INFO: TCP Data received {"connection_id":125155,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4b4b10012d1819c00721a8180045014121..."} 
[2026-07-07 12:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4b4b10012d1819c00721a8180045014121..."} 
[2026-07-07 12:07:33] local.INFO: Processing buffer {"connection_id":125155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4b4b10012d1819c00721a8180045014121..."} 
[2026-07-07 12:07:33] local.INFO: Packet analysis {"connection_id":125155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:07:33] local.INFO: Extracted packet for processing {"connection_id":125155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756554176,"raw_latitude":119646232,"longitude_deg":75.6554176,"latitude_deg":11.9646232,"altitude":69,"angle":321,"satellites":33,"speed":8,"hex_longitude":"2d1819c0","hex_latitude":"0721a818","is_valid_coordinates":true} 
[2026-07-07 12:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551987968001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4893694326996992,"note":"Value kept but may cause issues"} 
[2026-07-07 12:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073390592,"note":"Value kept but may cause issues"} 
[2026-07-07 12:07: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-07-07 12:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783406218000,"timestamp_ms":1783406218000,"timestamp_seconds":1783406218,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4b4b10"} 
[2026-07-07 12:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-07 12:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12: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-07-07 12:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551987968001,"66":14450,"120":206,"28":31744,"24":8,"16":4893694326996992,"45":1738037643073390592},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551987968001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:07:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:07:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4893694326996992,"km_value":4893694326996.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073390592,"description":"Unknown IO ID 45"} 
[2026-07-07 12:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551987968001,"power":14450,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1738037643073390592}} 
[2026-07-07 12:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":125155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:07:33] local.INFO: GPS data processed {"connection_id":125155,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:07:33] local.INFO: Acknowledgment sent {"connection_id":125155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:07:36] local.INFO: TCP Data received {"connection_id":124356,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b49a918012d7ea78005b09c70000900b429..."} 
[2026-07-07 12:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b49a918012d7ea78005b09c70000900b429..."} 
[2026-07-07 12:07:36] local.INFO: Processing buffer {"connection_id":124356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b49a918012d7ea78005b09c70000900b429..."} 
[2026-07-07 12:07:36] local.INFO: Packet analysis {"connection_id":124356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b49"} 
[2026-07-07 12:07:36] local.INFO: Extracted packet for processing {"connection_id":124356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b49"} 
[2026-07-07 12:07:36] local.INFO: GPS Element Parsed {"raw_longitude":763275136,"raw_latitude":95460464,"longitude_deg":76.3275136,"latitude_deg":9.5460464,"altitude":9,"angle":180,"satellites":41,"speed":53,"hex_longitude":"2d7ea780","hex_latitude":"05b09c70","is_valid_coordinates":true} 
[2026-07-07 12:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551962624001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341125870519320576,"note":"Value kept but may cause issues"} 
[2026-07-07 12:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126685406794911744,"note":"Value kept but may cause issues"} 
[2026-07-07 12:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783406111000,"timestamp_ms":1783406111000,"timestamp_seconds":1783406111,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b49a918"} 
[2026-07-07 12:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 12:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551962624001,"66":27865,"27":206,"85":12544,"24":53,"16":341125870519320576,"45":9126685406794911744},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-07 12:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551962624001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:07:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-07 12:07:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341125870519320576,"km_value":341125870519320.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126685406794911744,"description":"Unknown IO ID 45"} 
[2026-07-07 12:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551962624001,"power":27865,"unknown_27":206,"unknown_85":12544,"ignition":53,"odometer":null,"unknown_45":9126685406794911744}} 
[2026-07-07 12:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":124356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:07:36] local.INFO: GPS data processed {"connection_id":124356,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:07:36] local.INFO: Acknowledgment sent {"connection_id":124356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:07:59] local.INFO: TCP Data received {"connection_id":125156,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:07:59] local.INFO: Processing buffer {"connection_id":125156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:07:59] local.INFO: IMEI packet received {"connection_id":125156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":125156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:07:59] local.INFO: TCP Data received {"connection_id":125156,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:07:59] local.INFO: Processing buffer {"connection_id":125156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:07:59] local.INFO: IMEI packet received {"connection_id":125156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":125156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:08:04] local.INFO: TCP Data received {"connection_id":125156,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:08:04] local.INFO: Processing buffer {"connection_id":125156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:08:04] local.INFO: IMEI packet received {"connection_id":125156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":125156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:08:05] local.INFO: TCP Data received {"connection_id":125155,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4b4ef8012d1819800721a8d80045016021..."} 
[2026-07-07 12:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4b4ef8012d1819800721a8d80045016021..."} 
[2026-07-07 12:08:05] local.INFO: Processing buffer {"connection_id":125155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4b4ef8012d1819800721a8d80045016021..."} 
[2026-07-07 12:08:05] local.INFO: Packet analysis {"connection_id":125155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:08:05] local.INFO: Extracted packet for processing {"connection_id":125155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756554112,"raw_latitude":119646424,"longitude_deg":75.6554112,"latitude_deg":11.9646424,"altitude":69,"angle":352,"satellites":33,"speed":8,"hex_longitude":"2d181980","hex_latitude":"0721a8d8","is_valid_coordinates":true} 
[2026-07-07 12:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551991808001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4893707211898880,"note":"Value kept but may cause issues"} 
[2026-07-07 12:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268190005248,"note":"Value kept but may cause issues"} 
[2026-07-07 12:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783406219000,"timestamp_ms":1783406219000,"timestamp_seconds":1783406219,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4b4ef8"} 
[2026-07-07 12:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 12:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551991808001,"66":14450,"120":206,"28":31744,"24":8,"16":4893707211898880,"45":1736630268190005248},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551991808001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:08:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:08:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4893707211898880,"km_value":4893707211898.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268190005248,"description":"Unknown IO ID 45"} 
[2026-07-07 12:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551991808001,"power":14450,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1736630268190005248}} 
[2026-07-07 12:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":125155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:08:05] local.INFO: GPS data processed {"connection_id":125155,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:08:05] local.INFO: Acknowledgment sent {"connection_id":125155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:08:05] local.INFO: TCP Data received {"connection_id":125156,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4b4b10012d7ea5c005af7530000c00452a..."} 
[2026-07-07 12:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4b4b10012d7ea5c005af7530000c00452a..."} 
[2026-07-07 12:08:05] local.INFO: Processing buffer {"connection_id":125156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4b4b10012d7ea5c005af7530000c00452a..."} 
[2026-07-07 12:08:05] local.INFO: Packet analysis {"connection_id":125156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:08:05] local.INFO: Extracted packet for processing {"connection_id":125156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:08:05] local.INFO: GPS Element Parsed {"raw_longitude":763274688,"raw_latitude":95384880,"longitude_deg":76.3274688,"latitude_deg":9.538488,"altitude":12,"angle":69,"satellites":42,"speed":8,"hex_longitude":"2d7ea5c0","hex_latitude":"05af7530","is_valid_coordinates":true} 
[2026-07-07 12:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551991296001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341129620025769984,"note":"Value kept but may cause issues"} 
[2026-07-07 12:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138122123264,"note":"Value kept but may cause issues"} 
[2026-07-07 12:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783406218000,"timestamp_ms":1783406218000,"timestamp_seconds":1783406218,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4b4b10"} 
[2026-07-07 12:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 12:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551991296001,"66":27484,"27":206,"85":12544,"24":8,"16":341129620025769984,"45":9125489138122123264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-07 12:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551991296001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:08:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-07 12:08:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341129620025769984,"km_value":341129620025770.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138122123264,"description":"Unknown IO ID 45"} 
[2026-07-07 12:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551991296001,"power":27484,"unknown_27":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9125489138122123264}} 
[2026-07-07 12:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":125156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:08:05] local.INFO: GPS data processed {"connection_id":125156,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:08:05] local.INFO: Acknowledgment sent {"connection_id":125156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:08:26] local.INFO: TCP Data received {"connection_id":125157,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:08:27] local.INFO: Processing buffer {"connection_id":125157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:08:27] local.INFO: IMEI packet received {"connection_id":125157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":125157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:08:32] local.INFO: TCP Data received {"connection_id":125157,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:08:32] local.INFO: Processing buffer {"connection_id":125157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:08:32] local.INFO: IMEI packet received {"connection_id":125157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":125157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:08:33] local.INFO: TCP Data received {"connection_id":125157,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4b52e0012d1819c00721a9880045001421..."} 
[2026-07-07 12:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4b52e0012d1819c00721a9880045001421..."} 
[2026-07-07 12:08:33] local.INFO: Processing buffer {"connection_id":125157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4b52e0012d1819c00721a9880045001421..."} 
[2026-07-07 12:08:33] local.INFO: Packet analysis {"connection_id":125157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:08:33] local.INFO: Extracted packet for processing {"connection_id":125157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756554176,"raw_latitude":119646600,"longitude_deg":75.6554176,"latitude_deg":11.96466,"altitude":69,"angle":20,"satellites":33,"speed":6,"hex_longitude":"2d1819c0","hex_latitude":"0721a988","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551992064001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4893715801833472,"note":"Value kept but may cause issues"} 
[2026-07-07 12:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736559899445876736,"note":"Value kept but may cause issues"} 
[2026-07-07 12:08: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-07-07 12:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783406220000,"timestamp_ms":1783406220000,"timestamp_seconds":1783406220,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4b52e0"} 
[2026-07-07 12:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 12:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12: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-07-07 12:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551992064001,"66":14483,"120":206,"28":31744,"24":6,"16":4893715801833472,"45":1736559899445876736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551992064001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:08:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:08:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4893715801833472,"km_value":4893715801833.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736559899445876736,"description":"Unknown IO ID 45"} 
[2026-07-07 12:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551992064001,"power":14483,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1736559899445876736}} 
[2026-07-07 12:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":125157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:08:33] local.INFO: GPS data processed {"connection_id":125157,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:08:33] local.INFO: Acknowledgment sent {"connection_id":125157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:08:36] local.INFO: TCP Data received {"connection_id":125156,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4b56c8012d7ea84005af75d8000c00502a..."} 
[2026-07-07 12:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4b56c8012d7ea84005af75d8000c00502a..."} 
[2026-07-07 12:08:36] local.INFO: Processing buffer {"connection_id":125156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4b56c8012d7ea84005af75d8000c00502a..."} 
[2026-07-07 12:08:36] local.INFO: Packet analysis {"connection_id":125156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:08:36] local.INFO: Extracted packet for processing {"connection_id":125156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:08:36] local.INFO: GPS Element Parsed {"raw_longitude":763275328,"raw_latitude":95385048,"longitude_deg":76.3275328,"latitude_deg":9.5385048,"altitude":12,"angle":80,"satellites":42,"speed":8,"hex_longitude":"2d7ea840","hex_latitude":"05af75d8","is_valid_coordinates":true} 
[2026-07-07 12:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551991808001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341129650090541056,"note":"Value kept but may cause issues"} 
[2026-07-07 12:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125911350587240448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783406221000,"timestamp_ms":1783406221000,"timestamp_seconds":1783406221,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4b56c8"} 
[2026-07-07 12:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 12:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551991808001,"66":27843,"27":206,"85":12544,"24":8,"16":341129650090541056,"45":9125911350587240448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-07 12:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551991808001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:08:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-07 12:08:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341129650090541056,"km_value":341129650090541.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125911350587240448,"description":"Unknown IO ID 45"} 
[2026-07-07 12:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551991808001,"power":27843,"unknown_27":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9125911350587240448}} 
[2026-07-07 12:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":125156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:08:36] local.INFO: GPS data processed {"connection_id":125156,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:08:36] local.INFO: Acknowledgment sent {"connection_id":125156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:08:38] local.INFO: TCP Data received {"connection_id":125157,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4b56c8012d181a000721a9c80045003b21..."} 
[2026-07-07 12:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4b56c8012d181a000721a9c80045003b21..."} 
[2026-07-07 12:08:38] local.INFO: Processing buffer {"connection_id":125157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4b56c8012d181a000721a9c80045003b21..."} 
[2026-07-07 12:08:38] local.INFO: Packet analysis {"connection_id":125157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:08:38] local.INFO: Extracted packet for processing {"connection_id":125157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756554240,"raw_latitude":119646664,"longitude_deg":75.655424,"latitude_deg":11.9646664,"altitude":69,"angle":59,"satellites":33,"speed":2,"hex_longitude":"2d181a00","hex_latitude":"0721a9c8","is_valid_coordinates":true} 
[2026-07-07 12:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551992320001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4893720096800768,"note":"Value kept but may cause issues"} 
[2026-07-07 12:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736630268190099456,"note":"Value kept but may cause issues"} 
[2026-07-07 12:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783406221000,"timestamp_ms":1783406221000,"timestamp_seconds":1783406221,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4b56c8"} 
[2026-07-07 12:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 12:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551992320001,"66":14483,"120":206,"28":31744,"24":2,"16":4893720096800768,"45":1736630268190099456},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551992320001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:08:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:08:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4893720096800768,"km_value":4893720096800.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736630268190099456,"description":"Unknown IO ID 45"} 
[2026-07-07 12:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551992320001,"power":14483,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1736630268190099456}} 
[2026-07-07 12:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":125157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:08:38] local.INFO: GPS data processed {"connection_id":125157,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:08:38] local.INFO: Acknowledgment sent {"connection_id":125157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:09:04] local.INFO: TCP Data received {"connection_id":124357,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:09:04] local.INFO: Processing buffer {"connection_id":124357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:09:04] local.INFO: IMEI packet received {"connection_id":124357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":124357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:09:06] local.INFO: TCP Data received {"connection_id":124357,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:09:06] local.INFO: Processing buffer {"connection_id":124357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:09:06] local.INFO: IMEI packet received {"connection_id":124357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":124357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:09:07] local.INFO: TCP Data received {"connection_id":124357,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4c5898012d7f2c4005af5708000900822a..."} 
[2026-07-07 12:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4c5898012d7f2c4005af5708000900822a..."} 
[2026-07-07 12:09:07] local.INFO: Processing buffer {"connection_id":124357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4c5898012d7f2c4005af5708000900822a..."} 
[2026-07-07 12:09:07] local.INFO: Packet analysis {"connection_id":124357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4c"} 
[2026-07-07 12:09:07] local.INFO: Extracted packet for processing {"connection_id":124357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4c"} 
[2026-07-07 12:09:07] local.INFO: GPS Element Parsed {"raw_longitude":763309120,"raw_latitude":95377160,"longitude_deg":76.330912,"latitude_deg":9.537716,"altitude":9,"angle":130,"satellites":42,"speed":17,"hex_longitude":"2d7f2c40","hex_latitude":"05af5708","is_valid_coordinates":true} 
[2026-07-07 12:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552009216001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341131535581184000,"note":"Value kept but may cause issues"} 
[2026-07-07 12:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163417891232040960,"note":"Value kept but may cause issues"} 
[2026-07-07 12:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783406287000,"timestamp_ms":1783406287000,"timestamp_seconds":1783406287,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4c5898"} 
[2026-07-07 12:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 12:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552009216001,"66":27658,"27":206,"85":12544,"24":17,"16":341131535581184000,"45":9163417891232040960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-07 12:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552009216001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:09:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-07 12:09:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341131535581184000,"km_value":341131535581184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163417891232040960,"description":"Unknown IO ID 45"} 
[2026-07-07 12:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552009216001,"power":27658,"unknown_27":206,"unknown_85":12544,"ignition":17,"odometer":null,"unknown_45":9163417891232040960}} 
[2026-07-07 12:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":124357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:09:07] local.INFO: GPS data processed {"connection_id":124357,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:09:07] local.INFO: Acknowledgment sent {"connection_id":124357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:09:10] local.INFO: TCP Data received {"connection_id":124357,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4c5c80012d7f2dc005af56400008006b29..."} 
[2026-07-07 12:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4c5c80012d7f2dc005af56400008006b29..."} 
[2026-07-07 12:09:10] local.INFO: Processing buffer {"connection_id":124357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4c5c80012d7f2dc005af56400008006b29..."} 
[2026-07-07 12:09:10] local.INFO: Packet analysis {"connection_id":124357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4c"} 
[2026-07-07 12:09:10] local.INFO: Extracted packet for processing {"connection_id":124357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4c"} 
[2026-07-07 12:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763309504,"raw_latitude":95376960,"longitude_deg":76.3309504,"latitude_deg":9.537696,"altitude":8,"angle":107,"satellites":41,"speed":15,"hex_longitude":"2d7f2dc0","hex_latitude":"05af5640","is_valid_coordinates":true} 
[2026-07-07 12:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552009472001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341131552761053184,"note":"Value kept but may cause issues"} 
[2026-07-07 12:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163769734952847360,"note":"Value kept but may cause issues"} 
[2026-07-07 12:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783406288000,"timestamp_ms":1783406288000,"timestamp_seconds":1783406288,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4c5c80"} 
[2026-07-07 12:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:09: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-07-07 12:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 12:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552009472001,"66":27995,"27":206,"85":12544,"24":15,"16":341131552761053184,"45":9163769734952847360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-07 12:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552009472001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:09:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-07 12:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341131552761053184,"km_value":341131552761053.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163769734952847360,"description":"Unknown IO ID 45"} 
[2026-07-07 12:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552009472001,"power":27995,"unknown_27":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9163769734952847360}} 
[2026-07-07 12:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":124357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:09:10] local.INFO: GPS data processed {"connection_id":124357,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:09:10] local.INFO: Acknowledgment sent {"connection_id":124357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:09:19] local.INFO: TCP Data received {"connection_id":124445,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:09:19] local.INFO: Processing buffer {"connection_id":124445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:09:19] local.INFO: IMEI packet received {"connection_id":124445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 12:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":124445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:09:22] local.INFO: TCP Data received {"connection_id":125158,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:09:22] local.INFO: Processing buffer {"connection_id":125158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:09:22] local.INFO: IMEI packet received {"connection_id":125158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":125158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:09:24] local.INFO: TCP Data received {"connection_id":125158,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:09:24] local.INFO: Processing buffer {"connection_id":125158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:09:24] local.INFO: IMEI packet received {"connection_id":125158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":125158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:09:25] local.INFO: TCP Data received {"connection_id":125158,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4b9d18012d181b000721aac00045002922..."} 
[2026-07-07 12:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4b9d18012d181b000721aac00045002922..."} 
[2026-07-07 12:09:25] local.INFO: Processing buffer {"connection_id":125158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4b9d18012d181b000721aac00045002922..."} 
[2026-07-07 12:09:25] local.INFO: Packet analysis {"connection_id":125158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:09:25] local.INFO: Extracted packet for processing {"connection_id":125158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:09:25] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119646912,"longitude_deg":75.6554496,"latitude_deg":11.9646912,"altitude":69,"angle":41,"satellites":34,"speed":6,"hex_longitude":"2d181b00","hex_latitude":"0721aac0","is_valid_coordinates":true} 
[2026-07-07 12:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551992576001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4893741571637248,"note":"Value kept but may cause issues"} 
[2026-07-07 12:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736700636934293504,"note":"Value kept but may cause issues"} 
[2026-07-07 12:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783406239000,"timestamp_ms":1783406239000,"timestamp_seconds":1783406239,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4b9d18"} 
[2026-07-07 12:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 12:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551992576001,"66":14515,"120":206,"28":31744,"24":6,"16":4893741571637248,"45":1736700636934293504},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551992576001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:09:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:09:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4893741571637248,"km_value":4893741571637.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736700636934293504,"description":"Unknown IO ID 45"} 
[2026-07-07 12:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551992576001,"power":14515,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1736700636934293504}} 
[2026-07-07 12:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":125158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:09:25] local.INFO: GPS data processed {"connection_id":125158,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:09:25] local.INFO: Acknowledgment sent {"connection_id":125158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:09:27] local.INFO: TCP Data received {"connection_id":125158,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4bcbf8012d1824c00721b8200047000923..."} 
[2026-07-07 12:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4bcbf8012d1824c00721b8200047000923..."} 
[2026-07-07 12:09:27] local.INFO: Processing buffer {"connection_id":125158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4bcbf8012d1824c00721b8200047000923..."} 
[2026-07-07 12:09:27] local.INFO: Packet analysis {"connection_id":125158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:09:27] local.INFO: Extracted packet for processing {"connection_id":125158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:09:27] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650336,"longitude_deg":75.6556992,"latitude_deg":11.9650336,"altitude":71,"angle":9,"satellites":35,"speed":9,"hex_longitude":"2d1824c0","hex_latitude":"0721b820","is_valid_coordinates":true} 
[2026-07-07 12:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456551997184001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4893947730067456,"note":"Value kept but may cause issues"} 
[2026-07-07 12:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736982111911067648,"note":"Value kept but may cause issues"} 
[2026-07-07 12:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783406251000,"timestamp_ms":1783406251000,"timestamp_seconds":1783406251,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4bcbf8"} 
[2026-07-07 12:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 12:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456551997184001,"66":13276,"120":206,"28":31744,"24":9,"16":4893947730067456,"45":1736982111911067648},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456551997184001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:09:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:09:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4893947730067456,"km_value":4893947730067.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736982111911067648,"description":"Unknown IO ID 45"} 
[2026-07-07 12:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456551997184001,"power":13276,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1736982111911067648}} 
[2026-07-07 12:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":125158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:09:27] local.INFO: GPS data processed {"connection_id":125158,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:09:27] local.INFO: Acknowledgment sent {"connection_id":125158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:09:41] local.INFO: TCP Data received {"connection_id":124357,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4cfca8012d7f3c0005afb8100004004e29..."} 
[2026-07-07 12:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4cfca8012d7f3c0005afb8100004004e29..."} 
[2026-07-07 12:09:41] local.INFO: Processing buffer {"connection_id":124357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4cfca8012d7f3c0005afb8100004004e29..."} 
[2026-07-07 12:09:41] local.INFO: Packet analysis {"connection_id":124357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4c"} 
[2026-07-07 12:09:41] local.INFO: Extracted packet for processing {"connection_id":124357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4c"} 
[2026-07-07 12:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763313152,"raw_latitude":95402000,"longitude_deg":76.3313152,"latitude_deg":9.5402,"altitude":4,"angle":78,"satellites":41,"speed":9,"hex_longitude":"2d7f3c00","hex_latitude":"05afb810","is_valid_coordinates":true} 
[2026-07-07 12:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552019968001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341132836956274688,"note":"Value kept but may cause issues"} 
[2026-07-07 12:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167921490865672192,"note":"Value kept but may cause issues"} 
[2026-07-07 12:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783406329000,"timestamp_ms":1783406329000,"timestamp_seconds":1783406329,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4cfca8"} 
[2026-07-07 12:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12: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-07-07 12: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":10,"data_length":795,"current_offset":136} 
[2026-07-07 12:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552019968001,"66":27658,"250":206,"85":12544,"24":9,"16":341132836956274688,"45":9167921490865672192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552019968001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:09:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341132836956274688,"km_value":341132836956274.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167921490865672192,"description":"Unknown IO ID 45"} 
[2026-07-07 12:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552019968001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9167921490865672192}} 
[2026-07-07 12:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":124357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:09:41] local.INFO: GPS data processed {"connection_id":124357,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:09:41] local.INFO: Acknowledgment sent {"connection_id":124357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:09:56] local.INFO: TCP Data received {"connection_id":124446,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:09:56] local.INFO: Processing buffer {"connection_id":124446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:09:56] local.INFO: IMEI packet received {"connection_id":124446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":124446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:09:58] local.INFO: TCP Data received {"connection_id":125158,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4bcfe0012d1824c00721b8d80047014a23..."} 
[2026-07-07 12:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4bcfe0012d1824c00721b8d80047014a23..."} 
[2026-07-07 12:09:58] local.INFO: Processing buffer {"connection_id":125158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4bcfe0012d1824c00721b8d80047014a23..."} 
[2026-07-07 12:09:58] local.INFO: Packet analysis {"connection_id":125158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:09:58] local.INFO: Extracted packet for processing {"connection_id":125158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:09:58] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650520,"longitude_deg":75.6556992,"latitude_deg":11.965052,"altitude":71,"angle":330,"satellites":35,"speed":6,"hex_longitude":"2d1824c0","hex_latitude":"0721b8d8","is_valid_coordinates":true} 
[2026-07-07 12:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552000256001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4893956320002048,"note":"Value kept but may cause issues"} 
[2026-07-07 12:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934873088,"note":"Value kept but may cause issues"} 
[2026-07-07 12:09: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-07-07 12:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783406252000,"timestamp_ms":1783406252000,"timestamp_seconds":1783406252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4bcfe0"} 
[2026-07-07 12:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 12:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552000256001,"66":13222,"120":206,"28":31744,"24":6,"16":4893956320002048,"45":1739726492934873088},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552000256001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:09:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:09:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4893956320002048,"km_value":4893956320002.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934873088,"description":"Unknown IO ID 45"} 
[2026-07-07 12:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552000256001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1739726492934873088}} 
[2026-07-07 12:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":125158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:09:59] local.INFO: GPS data processed {"connection_id":125158,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:09:59] local.INFO: Acknowledgment sent {"connection_id":125158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:09:59] local.INFO: TCP Data received {"connection_id":124446,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:09:59] local.INFO: Processing buffer {"connection_id":124446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:09:59] local.INFO: IMEI packet received {"connection_id":124446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":124446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:10:03] local.INFO: TCP Data received {"connection_id":124446,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:10:03] local.INFO: Processing buffer {"connection_id":124446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:10:03] local.INFO: IMEI packet received {"connection_id":124446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":124446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:10:04] local.INFO: TCP Data received {"connection_id":126396,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:10:04] local.INFO: Processing buffer {"connection_id":126396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:10:04] local.INFO: IMEI packet received {"connection_id":126396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 12:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":126396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:10:04] local.INFO: TCP Data received {"connection_id":124446,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4d0478012d7f3e4005afb810000400612b..."} 
[2026-07-07 12:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4d0478012d7f3e4005afb810000400612b..."} 
[2026-07-07 12:10:04] local.INFO: Processing buffer {"connection_id":124446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4d0478012d7f3e4005afb810000400612b..."} 
[2026-07-07 12:10:04] local.INFO: Packet analysis {"connection_id":124446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4d"} 
[2026-07-07 12:10:04] local.INFO: Extracted packet for processing {"connection_id":124446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4d"} 
[2026-07-07 12:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763313728,"raw_latitude":95402000,"longitude_deg":76.3313728,"latitude_deg":9.5402,"altitude":4,"angle":97,"satellites":43,"speed":12,"hex_longitude":"2d7f3e40","hex_latitude":"05afb810","is_valid_coordinates":true} 
[2026-07-07 12:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552020224001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341132862726078464,"note":"Value kept but may cause issues"} 
[2026-07-07 12:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168202965842399232,"note":"Value kept but may cause issues"} 
[2026-07-07 12:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783406331000,"timestamp_ms":1783406331000,"timestamp_seconds":1783406331,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4d0478"} 
[2026-07-07 12:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 12:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552020224001,"66":27767,"250":206,"85":12544,"24":12,"16":341132862726078464,"45":9168202965842399232},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552020224001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:10:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:10:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341132862726078464,"km_value":341132862726078.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168202965842399232,"description":"Unknown IO ID 45"} 
[2026-07-07 12:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552020224001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":9168202965842399232}} 
[2026-07-07 12:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":124446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:10:04] local.INFO: GPS data processed {"connection_id":124446,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:10:04] local.INFO: Acknowledgment sent {"connection_id":124446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:10:21] local.INFO: TCP Data received {"connection_id":126397,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:10:21] local.INFO: Processing buffer {"connection_id":126397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:10:21] local.INFO: IMEI packet received {"connection_id":126397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":126397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:10:27] local.INFO: TCP Data received {"connection_id":126397,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:10:27] local.INFO: Processing buffer {"connection_id":126397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:10:27] local.INFO: IMEI packet received {"connection_id":126397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":126397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:10:31] local.INFO: TCP Data received {"connection_id":126397,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4bd3c8012d1824400721b9200047011d23..."} 
[2026-07-07 12:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4bd3c8012d1824400721b9200047011d23..."} 
[2026-07-07 12:10:31] local.INFO: Processing buffer {"connection_id":126397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4bd3c8012d1824400721b9200047011d23..."} 
[2026-07-07 12:10:31] local.INFO: Packet analysis {"connection_id":126397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:10:31] local.INFO: Extracted packet for processing {"connection_id":126397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:10:31] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650592,"longitude_deg":75.6556864,"latitude_deg":11.9650592,"altitude":71,"angle":285,"satellites":35,"speed":5,"hex_longitude":"2d182440","hex_latitude":"0721b920","is_valid_coordinates":true} 
[2026-07-07 12:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552000512001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4893964909936640,"note":"Value kept but may cause issues"} 
[2026-07-07 12:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934920192,"note":"Value kept but may cause issues"} 
[2026-07-07 12:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783406253000,"timestamp_ms":1783406253000,"timestamp_seconds":1783406253,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4bd3c8"} 
[2026-07-07 12:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 12:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552000512001,"66":13222,"120":206,"28":31744,"24":5,"16":4893964909936640,"45":1739726492934920192},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552000512001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:10:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:10:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4893964909936640,"km_value":4893964909936.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934920192,"description":"Unknown IO ID 45"} 
[2026-07-07 12:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552000512001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1739726492934920192}} 
[2026-07-07 12:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":126397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:10:31] local.INFO: GPS data processed {"connection_id":126397,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:10:31] local.INFO: Acknowledgment sent {"connection_id":126397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:10:35] local.INFO: TCP Data received {"connection_id":124446,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4d2f70012d7f568005afb830000700542a..."} 
[2026-07-07 12:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4d2f70012d7f568005afb830000700542a..."} 
[2026-07-07 12:10:35] local.INFO: Processing buffer {"connection_id":124446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4d2f70012d7f568005afb830000700542a..."} 
[2026-07-07 12:10:35] local.INFO: Packet analysis {"connection_id":124446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4d"} 
[2026-07-07 12:10:35] local.INFO: Extracted packet for processing {"connection_id":124446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4d"} 
[2026-07-07 12:10:35] local.INFO: GPS Element Parsed {"raw_longitude":763319936,"raw_latitude":95402032,"longitude_deg":76.3319936,"latitude_deg":9.5402032,"altitude":7,"angle":84,"satellites":42,"speed":28,"hex_longitude":"2d7f5680","hex_latitude":"05afb830","is_valid_coordinates":true} 
[2026-07-07 12:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552020736001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341133159078821888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168836284539998208,"note":"Value kept but may cause issues"} 
[2026-07-07 12:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783406342000,"timestamp_ms":1783406342000,"timestamp_seconds":1783406342,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4d2f70"} 
[2026-07-07 12:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:10: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-07-07 12:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 12:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552020736001,"66":27908,"250":206,"85":12544,"24":28,"16":341133159078821888,"45":9168836284539998208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552020736001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:10:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:10:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341133159078821888,"km_value":341133159078821.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168836284539998208,"description":"Unknown IO ID 45"} 
[2026-07-07 12:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552020736001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":28,"odometer":null,"unknown_45":9168836284539998208}} 
[2026-07-07 12:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":124446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:10:35] local.INFO: GPS data processed {"connection_id":124446,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:10:35] local.INFO: Acknowledgment sent {"connection_id":124446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:10:59] local.INFO: TCP Data received {"connection_id":125159,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:10:59] local.INFO: Processing buffer {"connection_id":125159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:10:59] local.INFO: IMEI packet received {"connection_id":125159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":125159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:11:04] local.INFO: TCP Data received {"connection_id":125159,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:11:04] local.INFO: Processing buffer {"connection_id":125159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:11:04] local.INFO: IMEI packet received {"connection_id":125159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":125159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:11:05] local.INFO: TCP Data received {"connection_id":125159,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4d46e0012d7f684005afba98000700602a..."} 
[2026-07-07 12:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4d46e0012d7f684005afba98000700602a..."} 
[2026-07-07 12:11:05] local.INFO: Processing buffer {"connection_id":125159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4d46e0012d7f684005afba98000700602a..."} 
[2026-07-07 12:11:05] local.INFO: Packet analysis {"connection_id":125159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4d"} 
[2026-07-07 12:11:05] local.INFO: Extracted packet for processing {"connection_id":125159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4d"} 
[2026-07-07 12:11:05] local.INFO: GPS Element Parsed {"raw_longitude":763324480,"raw_latitude":95402648,"longitude_deg":76.332448,"latitude_deg":9.5402648,"altitude":7,"angle":96,"satellites":42,"speed":31,"hex_longitude":"2d7f6840","hex_latitude":"05afba98","is_valid_coordinates":true} 
[2026-07-07 12:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552023552001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341133382417121280,"note":"Value kept but may cause issues"} 
[2026-07-07 12:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9175662052725239808,"note":"Value kept but may cause issues"} 
[2026-07-07 12:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783406348000,"timestamp_ms":1783406348000,"timestamp_seconds":1783406348,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4d46e0"} 
[2026-07-07 12:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 12:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552023552001,"66":27908,"250":206,"85":12544,"24":31,"16":341133382417121280,"45":9175662052725239808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552023552001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:11:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:11:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341133382417121280,"km_value":341133382417121.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9175662052725239808,"description":"Unknown IO ID 45"} 
[2026-07-07 12:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552023552001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9175662052725239808}} 
[2026-07-07 12:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":125159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:11:05] local.INFO: GPS data processed {"connection_id":125159,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:11:05] local.INFO: Acknowledgment sent {"connection_id":125159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:11:07] local.INFO: TCP Data received {"connection_id":126397,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4bdb98012d1823400721b898004700c823..."} 
[2026-07-07 12:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4bdb98012d1823400721b898004700c823..."} 
[2026-07-07 12:11:07] local.INFO: Processing buffer {"connection_id":126397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4bdb98012d1823400721b898004700c823..."} 
[2026-07-07 12:11:07] local.INFO: Packet analysis {"connection_id":126397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:11:07] local.INFO: Extracted packet for processing {"connection_id":126397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650456,"longitude_deg":75.6556608,"latitude_deg":11.9650456,"altitude":71,"angle":200,"satellites":35,"speed":6,"hex_longitude":"2d182340","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-07-07 12:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552000768001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4893982089805824,"note":"Value kept but may cause issues"} 
[2026-07-07 12:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446583296,"note":"Value kept but may cause issues"} 
[2026-07-07 12:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783406255000,"timestamp_ms":1783406255000,"timestamp_seconds":1783406255,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4bdb98"} 
[2026-07-07 12:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 12:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552000768001,"66":12776,"120":206,"28":31744,"24":6,"16":4893982089805824,"45":1739585755446583296},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552000768001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:11:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:11:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4893982089805824,"km_value":4893982089805.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446583296,"description":"Unknown IO ID 45"} 
[2026-07-07 12:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552000768001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1739585755446583296}} 
[2026-07-07 12:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":126397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:11:07] local.INFO: GPS data processed {"connection_id":126397,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:11:07] local.INFO: Acknowledgment sent {"connection_id":126397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:11:21] local.INFO: TCP Data received {"connection_id":124447,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:11:21] local.INFO: Processing buffer {"connection_id":124447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:11:21] local.INFO: IMEI packet received {"connection_id":124447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":124447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:11:27] local.INFO: TCP Data received {"connection_id":124447,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:11:27] local.INFO: Processing buffer {"connection_id":124447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:11:27] local.INFO: IMEI packet received {"connection_id":124447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":124447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:11:29] local.INFO: TCP Data received {"connection_id":124447,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4bdf80012d1823400721b7f0004700bc23..."} 
[2026-07-07 12:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4bdf80012d1823400721b7f0004700bc23..."} 
[2026-07-07 12:11:29] local.INFO: Processing buffer {"connection_id":124447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4bdf80012d1823400721b7f0004700bc23..."} 
[2026-07-07 12:11:29] local.INFO: Packet analysis {"connection_id":124447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:11:29] local.INFO: Extracted packet for processing {"connection_id":124447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4b"} 
[2026-07-07 12:11:29] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650288,"longitude_deg":75.6556608,"latitude_deg":11.9650288,"altitude":71,"angle":188,"satellites":35,"speed":7,"hex_longitude":"2d182340","hex_latitude":"0721b7f0","is_valid_coordinates":true} 
[2026-07-07 12:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552001280001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4893990679740416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469837824,"note":"Value kept but may cause issues"} 
[2026-07-07 12:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783406256000,"timestamp_ms":1783406256000,"timestamp_seconds":1783406256,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4bdf80"} 
[2026-07-07 12:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-07 12:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:11:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":124447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":124447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":124447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552001280001,"66":13167,"120":206,"28":31744,"24":7,"16":4893990679740416,"45":1739304280469837824},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552001280001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:11:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:11:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4893990679740416,"km_value":4893990679740.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469837824,"description":"Unknown IO ID 45"} 
[2026-07-07 12:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552001280001,"power":13167,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1739304280469837824}} 
[2026-07-07 12:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":124447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:11:29] local.INFO: GPS data processed {"connection_id":124447,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:11:29] local.INFO: Acknowledgment sent {"connection_id":124447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:11:36] local.INFO: TCP Data received {"connection_id":125159,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4d6df0012d7f8c0005afb830000700562a..."} 
[2026-07-07 12:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4d6df0012d7f8c0005afb830000700562a..."} 
[2026-07-07 12:11:36] local.INFO: Processing buffer {"connection_id":125159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4d6df0012d7f8c0005afb830000700562a..."} 
[2026-07-07 12:11:36] local.INFO: Packet analysis {"connection_id":125159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4d"} 
[2026-07-07 12:11:36] local.INFO: Extracted packet for processing {"connection_id":125159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4d"} 
[2026-07-07 12:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763333632,"raw_latitude":95402032,"longitude_deg":76.3333632,"latitude_deg":9.5402032,"altitude":7,"angle":86,"satellites":42,"speed":37,"hex_longitude":"2d7f8c00","hex_latitude":"05afb830","is_valid_coordinates":true} 
[2026-07-07 12:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552025088001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341133820503785472,"note":"Value kept but may cause issues"} 
[2026-07-07 12:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9180658233562011648,"note":"Value kept but may cause issues"} 
[2026-07-07 12:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783406358000,"timestamp_ms":1783406358000,"timestamp_seconds":1783406358,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4d6df0"} 
[2026-07-07 12:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:11: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-07-07 12:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 12:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552025088001,"66":27995,"250":206,"85":12544,"24":37,"16":341133820503785472,"45":9180658233562011648},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552025088001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:11:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341133820503785472,"km_value":341133820503785.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9180658233562011648,"description":"Unknown IO ID 45"} 
[2026-07-07 12:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552025088001,"power":27995,"unknown_250":206,"unknown_85":12544,"ignition":37,"odometer":null,"unknown_45":9180658233562011648}} 
[2026-07-07 12:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":125159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:11:36] local.INFO: GPS data processed {"connection_id":125159,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:11:36] local.INFO: Acknowledgment sent {"connection_id":125159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:11:59] local.INFO: TCP Data received {"connection_id":125161,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:11:59] local.INFO: Processing buffer {"connection_id":125161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:11:59] local.INFO: IMEI packet received {"connection_id":125161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":125161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:12:04] local.INFO: TCP Data received {"connection_id":124447,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4ec998012d1821000721b298004800d725..."} 
[2026-07-07 12:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4ec998012d1821000721b298004800d725..."} 
[2026-07-07 12:12:04] local.INFO: Processing buffer {"connection_id":124447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4ec998012d1821000721b298004800d725..."} 
[2026-07-07 12:12:04] local.INFO: Packet analysis {"connection_id":124447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4e"} 
[2026-07-07 12:12:04] local.INFO: Extracted packet for processing {"connection_id":124447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4e"} 
[2026-07-07 12:12:04] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552044800001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783406447000,"timestamp_ms":1783406447000,"timestamp_seconds":1783406447,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4ec998"} 
[2026-07-07 12:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 12:12: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-07-07 12:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552044800001,"66":12950,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552044800001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:12:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:12:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552044800001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":124447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:12:04] local.INFO: GPS data processed {"connection_id":124447,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:12:04] local.INFO: Acknowledgment sent {"connection_id":124447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:12:04] local.INFO: TCP Data received {"connection_id":125161,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:12:04] local.INFO: Processing buffer {"connection_id":125161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:12:04] local.INFO: IMEI packet received {"connection_id":125161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":125161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:12:05] local.INFO: TCP Data received {"connection_id":125161,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4d8948012d7f9f8005afb960000800392a..."} 
[2026-07-07 12:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4d8948012d7f9f8005afb960000800392a..."} 
[2026-07-07 12:12:05] local.INFO: Processing buffer {"connection_id":125161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4d8948012d7f9f8005afb960000800392a..."} 
[2026-07-07 12:12:05] local.INFO: Packet analysis {"connection_id":125161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4d"} 
[2026-07-07 12:12:05] local.INFO: Extracted packet for processing {"connection_id":125161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4d"} 
[2026-07-07 12:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763338624,"raw_latitude":95402336,"longitude_deg":76.3338624,"latitude_deg":9.5402336,"altitude":8,"angle":57,"satellites":42,"speed":13,"hex_longitude":"2d7f9f80","hex_latitude":"05afb960","is_valid_coordinates":true} 
[2026-07-07 12:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552027648001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134061021954048,"note":"Value kept but may cause issues"} 
[2026-07-07 12:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190720963979259904,"note":"Value kept but may cause issues"} 
[2026-07-07 12:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783406365000,"timestamp_ms":1783406365000,"timestamp_seconds":1783406365,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4d8948"} 
[2026-07-07 12:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 12:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552027648001,"66":27930,"250":206,"85":12544,"24":13,"16":341134061021954048,"45":9190720963979259904},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552027648001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:12:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:12:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134061021954048,"km_value":341134061021954.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190720963979259904,"description":"Unknown IO ID 45"} 
[2026-07-07 12:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552027648001,"power":27930,"unknown_250":206,"unknown_85":12544,"ignition":13,"odometer":null,"unknown_45":9190720963979259904}} 
[2026-07-07 12:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":125161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:12:05] local.INFO: GPS data processed {"connection_id":125161,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:12:05] local.INFO: Acknowledgment sent {"connection_id":125161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:12:21] local.INFO: TCP Data received {"connection_id":126399,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:12:21] local.INFO: Processing buffer {"connection_id":126399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:12:21] local.INFO: IMEI packet received {"connection_id":126399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":126399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:12:27] local.INFO: TCP Data received {"connection_id":126399,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:12:27] local.INFO: Processing buffer {"connection_id":126399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:12:27] local.INFO: IMEI packet received {"connection_id":126399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":126399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:12:28] local.INFO: TCP Data received {"connection_id":126399,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4f17b8012d1821000721b298004800d725..."} 
[2026-07-07 12:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4f17b8012d1821000721b298004800d725..."} 
[2026-07-07 12:12:28] local.INFO: Processing buffer {"connection_id":126399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4f17b8012d1821000721b298004800d725..."} 
[2026-07-07 12:12:28] local.INFO: Packet analysis {"connection_id":126399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4f"} 
[2026-07-07 12:12:28] local.INFO: Extracted packet for processing {"connection_id":126399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4f"} 
[2026-07-07 12:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552050432001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783406467000,"timestamp_ms":1783406467000,"timestamp_seconds":1783406467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4f17b8"} 
[2026-07-07 12:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-07 12:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552050432001,"66":12950,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552050432001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:12:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:12:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552050432001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":126399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:12:28] local.INFO: GPS data processed {"connection_id":126399,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:12:28] local.INFO: Acknowledgment sent {"connection_id":126399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:12:36] local.INFO: TCP Data received {"connection_id":125161,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4d8d30012d7fa08005afba280008001e2a..."} 
[2026-07-07 12:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4d8d30012d7fa08005afba280008001e2a..."} 
[2026-07-07 12:12:36] local.INFO: Processing buffer {"connection_id":125161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4d8d30012d7fa08005afba280008001e2a..."} 
[2026-07-07 12:12:36] local.INFO: Packet analysis {"connection_id":125161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4d"} 
[2026-07-07 12:12:36] local.INFO: Extracted packet for processing {"connection_id":125161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4d"} 
[2026-07-07 12:12:36] local.INFO: GPS Element Parsed {"raw_longitude":763338880,"raw_latitude":95402536,"longitude_deg":76.333888,"latitude_deg":9.5402536,"altitude":8,"angle":30,"satellites":42,"speed":9,"hex_longitude":"2d7fa080","hex_latitude":"05afba28","is_valid_coordinates":true} 
[2026-07-07 12:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552029440001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134073906855936,"note":"Value kept but may cause issues"} 
[2026-07-07 12:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196209726025195520,"note":"Value kept but may cause issues"} 
[2026-07-07 12:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783406366000,"timestamp_ms":1783406366000,"timestamp_seconds":1783406366,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4d8d30"} 
[2026-07-07 12:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:12: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-07-07 12:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 12:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552029440001,"66":27908,"250":206,"85":12544,"24":9,"16":341134073906855936,"45":9196209726025195520},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552029440001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:12:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:12:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134073906855936,"km_value":341134073906855.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196209726025195520,"description":"Unknown IO ID 45"} 
[2026-07-07 12:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552029440001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9196209726025195520}} 
[2026-07-07 12:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":125161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:12:36] local.INFO: GPS data processed {"connection_id":125161,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:12:36] local.INFO: Acknowledgment sent {"connection_id":125161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:12:59] local.INFO: TCP Data received {"connection_id":124448,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:12:59] local.INFO: Processing buffer {"connection_id":124448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:12:59] local.INFO: IMEI packet received {"connection_id":124448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":124448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:13:00] local.INFO: TCP Data received {"connection_id":126399,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4f69c0012d1821000721b298004800d724..."} 
[2026-07-07 12:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4f69c0012d1821000721b298004800d724..."} 
[2026-07-07 12:13:00] local.INFO: Processing buffer {"connection_id":126399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4f69c0012d1821000721b298004800d724..."} 
[2026-07-07 12:13:00] local.INFO: Packet analysis {"connection_id":126399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4f"} 
[2026-07-07 12:13:00] local.INFO: Extracted packet for processing {"connection_id":126399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4f"} 
[2026-07-07 12:13:00] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552055552001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783406488000,"timestamp_ms":1783406488000,"timestamp_seconds":1783406488,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4f69c0"} 
[2026-07-07 12:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-07 12:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552055552001,"66":12972,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552055552001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:13:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:13:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552055552001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":126399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:13:00] local.INFO: GPS data processed {"connection_id":126399,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:13:00] local.INFO: Acknowledgment sent {"connection_id":126399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:13:04] local.INFO: TCP Data received {"connection_id":124448,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:13:04] local.INFO: Processing buffer {"connection_id":124448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:13:04] local.INFO: IMEI packet received {"connection_id":124448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":124448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:13:05] local.INFO: TCP Data received {"connection_id":124448,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4d9118012d7fa0c005afbae80009000c2a..."} 
[2026-07-07 12:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4d9118012d7fa0c005afbae80009000c2a..."} 
[2026-07-07 12:13:05] local.INFO: Processing buffer {"connection_id":124448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4d9118012d7fa0c005afbae80009000c2a..."} 
[2026-07-07 12:13:05] local.INFO: Packet analysis {"connection_id":124448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4d"} 
[2026-07-07 12:13:05] local.INFO: Extracted packet for processing {"connection_id":124448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4d"} 
[2026-07-07 12:13:05] local.INFO: GPS Element Parsed {"raw_longitude":763338944,"raw_latitude":95402728,"longitude_deg":76.3338944,"latitude_deg":9.5402728,"altitude":9,"angle":12,"satellites":42,"speed":6,"hex_longitude":"2d7fa0c0","hex_latitude":"05afbae8","is_valid_coordinates":true} 
[2026-07-07 12:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552029696001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134086791757824,"note":"Value kept but may cause issues"} 
[2026-07-07 12:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196491201001957376,"note":"Value kept but may cause issues"} 
[2026-07-07 12:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783406367000,"timestamp_ms":1783406367000,"timestamp_seconds":1783406367,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4d9118"} 
[2026-07-07 12:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 12:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552029696001,"66":27908,"250":206,"85":12544,"24":6,"16":341134086791757824,"45":9196491201001957376},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552029696001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:13:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:13:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134086791757824,"km_value":341134086791757.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196491201001957376,"description":"Unknown IO ID 45"} 
[2026-07-07 12:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552029696001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9196491201001957376}} 
[2026-07-07 12:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":124448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:13:05] local.INFO: GPS data processed {"connection_id":124448,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:13:05] local.INFO: Acknowledgment sent {"connection_id":124448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:13:21] local.INFO: TCP Data received {"connection_id":124450,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:13:21] local.INFO: Processing buffer {"connection_id":124450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:13:21] local.INFO: IMEI packet received {"connection_id":124450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":124450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:13:27] local.INFO: TCP Data received {"connection_id":124450,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:13:27] local.INFO: Processing buffer {"connection_id":124450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:13:27] local.INFO: IMEI packet received {"connection_id":124450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":124450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:13:28] local.INFO: TCP Data received {"connection_id":124450,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4fb7e0012d1821000721b298004800d724..."} 
[2026-07-07 12:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4fb7e0012d1821000721b298004800d724..."} 
[2026-07-07 12:13:28] local.INFO: Processing buffer {"connection_id":124450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4fb7e0012d1821000721b298004800d724..."} 
[2026-07-07 12:13:28] local.INFO: Packet analysis {"connection_id":124450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4f"} 
[2026-07-07 12:13:28] local.INFO: Extracted packet for processing {"connection_id":124450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4f"} 
[2026-07-07 12:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552060928001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783406508000,"timestamp_ms":1783406508000,"timestamp_seconds":1783406508,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4fb7e0"} 
[2026-07-07 12:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-07 12:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552060928001,"66":12950,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552060928001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:13:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:13:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552060928001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":124450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:13:28] local.INFO: GPS data processed {"connection_id":124450,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:13:28] local.INFO: Acknowledgment sent {"connection_id":124450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:13:36] local.INFO: TCP Data received {"connection_id":124448,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4de320012d7fa10005afbb880009000c2a..."} 
[2026-07-07 12:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4de320012d7fa10005afbb880009000c2a..."} 
[2026-07-07 12:13:36] local.INFO: Processing buffer {"connection_id":124448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4de320012d7fa10005afbb880009000c2a..."} 
[2026-07-07 12:13:36] local.INFO: Packet analysis {"connection_id":124448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4d"} 
[2026-07-07 12:13:36] local.INFO: Extracted packet for processing {"connection_id":124448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4d"} 
[2026-07-07 12:13:36] local.INFO: GPS Element Parsed {"raw_longitude":763339008,"raw_latitude":95402888,"longitude_deg":76.3339008,"latitude_deg":9.5402888,"altitude":9,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d7fa100","hex_latitude":"05afbb88","is_valid_coordinates":true} 
[2026-07-07 12:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552029952001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569746184192,"note":"Value kept but may cause issues"} 
[2026-07-07 12:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783406388000,"timestamp_ms":1783406388000,"timestamp_seconds":1783406388,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4de320"} 
[2026-07-07 12:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 12:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552029952001,"66":27919,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9196561569746184192},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552029952001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:13:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:13:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569746184192,"description":"Unknown IO ID 45"} 
[2026-07-07 12:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552029952001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196561569746184192}} 
[2026-07-07 12:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":124448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:13:36] local.INFO: GPS data processed {"connection_id":124448,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:13:36] local.INFO: Acknowledgment sent {"connection_id":124448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:14:00] local.INFO: TCP Data received {"connection_id":124450,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5009e8012d1821000721b298004800d725..."} 
[2026-07-07 12:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5009e8012d1821000721b298004800d725..."} 
[2026-07-07 12:14:00] local.INFO: Processing buffer {"connection_id":124450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5009e8012d1821000721b298004800d725..."} 
[2026-07-07 12:14:00] local.INFO: Packet analysis {"connection_id":124450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b50"} 
[2026-07-07 12:14:00] local.INFO: Extracted packet for processing {"connection_id":124450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b50"} 
[2026-07-07 12:14:00] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552066048001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783406529000,"timestamp_ms":1783406529000,"timestamp_seconds":1783406529,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5009e8"} 
[2026-07-07 12:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-07 12:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12: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-07-07 12:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552066048001,"66":12939,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552066048001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:14:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:14:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552066048001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":124450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:14:00] local.INFO: GPS data processed {"connection_id":124450,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:14:00] local.INFO: Acknowledgment sent {"connection_id":124450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:14:04] local.INFO: TCP Data received {"connection_id":126400,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:14:04] local.INFO: Processing buffer {"connection_id":126400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:14:04] local.INFO: IMEI packet received {"connection_id":126400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":126400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:14:09] local.INFO: TCP Data received {"connection_id":126400,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:14:09] local.INFO: Processing buffer {"connection_id":126400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:14:09] local.INFO: IMEI packet received {"connection_id":126400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":126400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:14:10] local.INFO: TCP Data received {"connection_id":126400,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4e0260012d7fa10005afbb880009000c2a..."} 
[2026-07-07 12:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4e0260012d7fa10005afbb880009000c2a..."} 
[2026-07-07 12:14:10] local.INFO: Processing buffer {"connection_id":126400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4e0260012d7fa10005afbb880009000c2a..."} 
[2026-07-07 12:14:10] local.INFO: Packet analysis {"connection_id":126400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4e"} 
[2026-07-07 12:14:10] local.INFO: Extracted packet for processing {"connection_id":126400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4e"} 
[2026-07-07 12:14:10] local.INFO: GPS Element Parsed {"raw_longitude":763339008,"raw_latitude":95402888,"longitude_deg":76.3339008,"latitude_deg":9.5402888,"altitude":9,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d7fa100","hex_latitude":"05afbb88","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552035328001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938490402816,"note":"Value kept but may cause issues"} 
[2026-07-07 12:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783406396000,"timestamp_ms":1783406396000,"timestamp_seconds":1783406396,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4e0260"} 
[2026-07-07 12:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 12:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552035328001,"66":27919,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9196631938490402816},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552035328001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:14:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938490402816,"description":"Unknown IO ID 45"} 
[2026-07-07 12:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552035328001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196631938490402816}} 
[2026-07-07 12:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":126400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:14:10] local.INFO: GPS data processed {"connection_id":126400,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:14:10] local.INFO: Acknowledgment sent {"connection_id":126400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:14:15] local.INFO: TCP Data received {"connection_id":126400,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4e0260012d7fa10005afbb880009000c2a..."} 
[2026-07-07 12:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4e0260012d7fa10005afbb880009000c2a..."} 
[2026-07-07 12:14:15] local.INFO: Processing buffer {"connection_id":126400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4e0260012d7fa10005afbb880009000c2a..."} 
[2026-07-07 12:14:15] local.INFO: Packet analysis {"connection_id":126400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4e"} 
[2026-07-07 12:14:15] local.INFO: Extracted packet for processing {"connection_id":126400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4e"} 
[2026-07-07 12:14:15] local.INFO: GPS Element Parsed {"raw_longitude":763339008,"raw_latitude":95402888,"longitude_deg":76.3339008,"latitude_deg":9.5402888,"altitude":9,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d7fa100","hex_latitude":"05afbb88","is_valid_coordinates":true} 
[2026-07-07 12:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552035328001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938490402816,"note":"Value kept but may cause issues"} 
[2026-07-07 12:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783406396000,"timestamp_ms":1783406396000,"timestamp_seconds":1783406396,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4e0260"} 
[2026-07-07 12:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 12: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-07-07 12:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552035328001,"66":27919,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9196631938490402816},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552035328001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:14:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:14:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938490402816,"description":"Unknown IO ID 45"} 
[2026-07-07 12:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552035328001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196631938490402816}} 
[2026-07-07 12:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":126400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:14:15] local.INFO: GPS data processed {"connection_id":126400,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:14:15] local.INFO: Acknowledgment sent {"connection_id":126400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:14:27] local.INFO: TCP Data received {"connection_id":125163,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:14:27] local.INFO: Processing buffer {"connection_id":125163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:14:27] local.INFO: IMEI packet received {"connection_id":125163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":125163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:14:32] local.INFO: TCP Data received {"connection_id":125163,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:14:32] local.INFO: Processing buffer {"connection_id":125163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:14:32] local.INFO: IMEI packet received {"connection_id":125163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":125163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:14:33] local.INFO: TCP Data received {"connection_id":125163,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b505bf0012d1821000721b298004800d725..."} 
[2026-07-07 12:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b505bf0012d1821000721b298004800d725..."} 
[2026-07-07 12:14:33] local.INFO: Processing buffer {"connection_id":125163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b505bf0012d1821000721b298004800d725..."} 
[2026-07-07 12:14:33] local.INFO: Packet analysis {"connection_id":125163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b50"} 
[2026-07-07 12:14:33] local.INFO: Extracted packet for processing {"connection_id":125163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b50"} 
[2026-07-07 12:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552071424001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:14: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-07-07 12:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783406550000,"timestamp_ms":1783406550000,"timestamp_seconds":1783406550,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b505bf0"} 
[2026-07-07 12:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:14: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":139,"data_length":795,"current_offset":136} 
[2026-07-07 12:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552071424001,"66":12885,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552071424001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:14:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:14:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552071424001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":125163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:14:33] local.INFO: GPS data processed {"connection_id":125163,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:14:33] local.INFO: Acknowledgment sent {"connection_id":125163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:14:37] local.INFO: TCP Data received {"connection_id":125163,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b50aa10012d1821000721b298004800d724..."} 
[2026-07-07 12:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b50aa10012d1821000721b298004800d724..."} 
[2026-07-07 12:14:37] local.INFO: Processing buffer {"connection_id":125163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b50aa10012d1821000721b298004800d724..."} 
[2026-07-07 12:14:37] local.INFO: Packet analysis {"connection_id":125163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b50"} 
[2026-07-07 12:14:37] local.INFO: Extracted packet for processing {"connection_id":125163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b50"} 
[2026-07-07 12:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552076800001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783406570000,"timestamp_ms":1783406570000,"timestamp_seconds":1783406570,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b50aa10"} 
[2026-07-07 12:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-07 12:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552076800001,"66":12863,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552076800001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:14:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:14:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552076800001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":125163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:14:37] local.INFO: GPS data processed {"connection_id":125163,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:14:37] local.INFO: Acknowledgment sent {"connection_id":125163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:14:59] local.INFO: TCP Data received {"connection_id":124451,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:14:59] local.INFO: Processing buffer {"connection_id":124451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:14:59] local.INFO: IMEI packet received {"connection_id":124451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":124451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:15:04] local.INFO: TCP Data received {"connection_id":124451,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:15:04] local.INFO: Processing buffer {"connection_id":124451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:15:04] local.INFO: IMEI packet received {"connection_id":124451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":124451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:15:05] local.INFO: TCP Data received {"connection_id":124451,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4e0260012d7fa10005afbb880009000c2a..."} 
[2026-07-07 12:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4e0260012d7fa10005afbb880009000c2a..."} 
[2026-07-07 12:15:05] local.INFO: Processing buffer {"connection_id":124451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4e0260012d7fa10005afbb880009000c2a..."} 
[2026-07-07 12:15:05] local.INFO: Packet analysis {"connection_id":124451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4e"} 
[2026-07-07 12:15:05] local.INFO: Extracted packet for processing {"connection_id":124451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4e"} 
[2026-07-07 12:15:05] local.INFO: GPS Element Parsed {"raw_longitude":763339008,"raw_latitude":95402888,"longitude_deg":76.3339008,"latitude_deg":9.5402888,"altitude":9,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d7fa100","hex_latitude":"05afbb88","is_valid_coordinates":true} 
[2026-07-07 12:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552035328001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938490402816,"note":"Value kept but may cause issues"} 
[2026-07-07 12:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783406396000,"timestamp_ms":1783406396000,"timestamp_seconds":1783406396,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4e0260"} 
[2026-07-07 12:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 12:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552035328001,"66":27919,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9196631938490402816},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552035328001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:15:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:15:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938490402816,"description":"Unknown IO ID 45"} 
[2026-07-07 12:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552035328001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196631938490402816}} 
[2026-07-07 12:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":124451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:15:05] local.INFO: GPS data processed {"connection_id":124451,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:15:05] local.INFO: Acknowledgment sent {"connection_id":124451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:15:21] local.INFO: TCP Data received {"connection_id":124359,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:15:21] local.INFO: Processing buffer {"connection_id":124359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:15:21] local.INFO: IMEI packet received {"connection_id":124359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":124359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:15:21] local.INFO: TCP Data received {"connection_id":124359,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:15:21] local.INFO: Processing buffer {"connection_id":124359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:15:21] local.INFO: IMEI packet received {"connection_id":124359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":124359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:15:27] local.INFO: TCP Data received {"connection_id":124359,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:15:27] local.INFO: Processing buffer {"connection_id":124359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:15:27] local.INFO: IMEI packet received {"connection_id":124359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":124359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:15:28] local.INFO: TCP Data received {"connection_id":124359,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b50fc18012d1821000721b298004800d724..."} 
[2026-07-07 12:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b50fc18012d1821000721b298004800d724..."} 
[2026-07-07 12:15:28] local.INFO: Processing buffer {"connection_id":124359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b50fc18012d1821000721b298004800d724..."} 
[2026-07-07 12:15:28] local.INFO: Packet analysis {"connection_id":124359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b50"} 
[2026-07-07 12:15:28] local.INFO: Extracted packet for processing {"connection_id":124359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b50"} 
[2026-07-07 12:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552081920001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783406591000,"timestamp_ms":1783406591000,"timestamp_seconds":1783406591,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b50fc18"} 
[2026-07-07 12:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 12:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552081920001,"66":12863,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552081920001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:15:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:15:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552081920001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":124359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:15:28] local.INFO: GPS data processed {"connection_id":124359,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:15:28] local.INFO: Acknowledgment sent {"connection_id":124359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:15:29] local.INFO: TCP Data received {"connection_id":124358,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:15:29] local.INFO: Processing buffer {"connection_id":124358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:15:29] local.INFO: IMEI packet received {"connection_id":124358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 12:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":124358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:15:32] local.INFO: TCP Data received {"connection_id":124359,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b514e20012d1821000721b298004800d725..."} 
[2026-07-07 12:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b514e20012d1821000721b298004800d725..."} 
[2026-07-07 12:15:32] local.INFO: Processing buffer {"connection_id":124359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b514e20012d1821000721b298004800d725..."} 
[2026-07-07 12:15:32] local.INFO: Packet analysis {"connection_id":124359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b51"} 
[2026-07-07 12:15:32] local.INFO: Extracted packet for processing {"connection_id":124359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b51"} 
[2026-07-07 12:15:32] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552087296001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783406612000,"timestamp_ms":1783406612000,"timestamp_seconds":1783406612,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b514e20"} 
[2026-07-07 12:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 12:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552087296001,"66":12461,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552087296001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:15:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:15:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552087296001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":124359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:15:32] local.INFO: GPS data processed {"connection_id":124359,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:15:32] local.INFO: Acknowledgment sent {"connection_id":124359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:15:36] local.INFO: TCP Data received {"connection_id":124451,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b4e0260012d7fa10005afbb880009000c2a..."} 
[2026-07-07 12:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b4e0260012d7fa10005afbb880009000c2a..."} 
[2026-07-07 12:15:36] local.INFO: Processing buffer {"connection_id":124451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b4e0260012d7fa10005afbb880009000c2a..."} 
[2026-07-07 12:15:36] local.INFO: Packet analysis {"connection_id":124451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b4e"} 
[2026-07-07 12:15:36] local.INFO: Extracted packet for processing {"connection_id":124451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b4e"} 
[2026-07-07 12:15:36] local.INFO: GPS Element Parsed {"raw_longitude":763339008,"raw_latitude":95402888,"longitude_deg":76.3339008,"latitude_deg":9.5402888,"altitude":9,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d7fa100","hex_latitude":"05afbb88","is_valid_coordinates":true} 
[2026-07-07 12:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552035328001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938490402816,"note":"Value kept but may cause issues"} 
[2026-07-07 12:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783406396000,"timestamp_ms":1783406396000,"timestamp_seconds":1783406396,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b4e0260"} 
[2026-07-07 12:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 12:15: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-07-07 12:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552035328001,"66":27919,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9196631938490402816},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552035328001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:15:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:15:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938490402816,"description":"Unknown IO ID 45"} 
[2026-07-07 12:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552035328001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196631938490402816}} 
[2026-07-07 12:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":124451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:15:36] local.INFO: GPS data processed {"connection_id":124451,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:15:36] local.INFO: Acknowledgment sent {"connection_id":124451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:15:59] local.INFO: TCP Data received {"connection_id":125164,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:15:59] local.INFO: Processing buffer {"connection_id":125164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:15:59] local.INFO: IMEI packet received {"connection_id":125164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":125164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:16:03] local.INFO: TCP Data received {"connection_id":124359,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b51a028012d1821000721b298004800d726..."} 
[2026-07-07 12:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b51a028012d1821000721b298004800d726..."} 
[2026-07-07 12:16:03] local.INFO: Processing buffer {"connection_id":124359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b51a028012d1821000721b298004800d726..."} 
[2026-07-07 12:16:03] local.INFO: Packet analysis {"connection_id":124359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b51"} 
[2026-07-07 12:16:03] local.INFO: Extracted packet for processing {"connection_id":124359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b51"} 
[2026-07-07 12:16:03] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552092672001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783406633000,"timestamp_ms":1783406633000,"timestamp_seconds":1783406633,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b51a028"} 
[2026-07-07 12:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 12:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552092672001,"66":12841,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552092672001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:16:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:16:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552092672001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":124359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:16:04] local.INFO: GPS data processed {"connection_id":124359,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:16:04] local.INFO: Acknowledgment sent {"connection_id":124359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:16:04] local.INFO: TCP Data received {"connection_id":125164,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:16:04] local.INFO: Processing buffer {"connection_id":125164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:16:04] local.INFO: IMEI packet received {"connection_id":125164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":125164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:16:04] local.INFO: TCP Data received {"connection_id":124452,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:16:04] local.INFO: Processing buffer {"connection_id":124452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:16:04] local.INFO: IMEI packet received {"connection_id":124452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 12:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":124452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:16:05] local.INFO: TCP Data received {"connection_id":125164,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:16:05] local.INFO: Processing buffer {"connection_id":125164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:16:05] local.INFO: Packet analysis {"connection_id":125164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:16:05] local.INFO: Extracted packet for processing {"connection_id":125164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:16:05] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95408208,"longitude_deg":76.333856,"latitude_deg":9.5408208,"altitude":6,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd050","is_valid_coordinates":true} 
[2026-07-07 12:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552037376001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938490402816,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783406702000,"timestamp_ms":1783406702000,"timestamp_seconds":1783406702,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b52adb0"} 
[2026-07-07 12:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 12:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552037376001,"66":26408,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9196631938490402816},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552037376001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:16:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:16:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938490402816,"description":"Unknown IO ID 45"} 
[2026-07-07 12:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552037376001,"power":26408,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196631938490402816}} 
[2026-07-07 12:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":125164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:16:05] local.INFO: GPS data processed {"connection_id":125164,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:16:05] local.INFO: Acknowledgment sent {"connection_id":125164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:16:22] local.INFO: TCP Data received {"connection_id":126401,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:16:22] local.INFO: Processing buffer {"connection_id":126401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:16:22] local.INFO: IMEI packet received {"connection_id":126401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":126401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:16:24] local.INFO: TCP Data received {"connection_id":126401,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:16:24] local.INFO: Processing buffer {"connection_id":126401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:16:24] local.INFO: IMEI packet received {"connection_id":126401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":126401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:16:25] local.INFO: TCP Data received {"connection_id":126401,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b51f230012d1821000721b298004800d726..."} 
[2026-07-07 12:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b51f230012d1821000721b298004800d726..."} 
[2026-07-07 12:16:25] local.INFO: Processing buffer {"connection_id":126401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b51f230012d1821000721b298004800d726..."} 
[2026-07-07 12:16:25] local.INFO: Packet analysis {"connection_id":126401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b51"} 
[2026-07-07 12:16:25] local.INFO: Extracted packet for processing {"connection_id":126401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b51"} 
[2026-07-07 12:16:25] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552098048001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783406654000,"timestamp_ms":1783406654000,"timestamp_seconds":1783406654,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b51f230"} 
[2026-07-07 12:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-07 12:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":126401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":126401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":126401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552098048001,"66":12809,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552098048001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:16:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:16:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552098048001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":126401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:16:25] local.INFO: GPS data processed {"connection_id":126401,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:16:25] local.INFO: Acknowledgment sent {"connection_id":126401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:16:37] local.INFO: TCP Data received {"connection_id":125164,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:16:37] local.INFO: Processing buffer {"connection_id":125164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:16:37] local.INFO: Packet analysis {"connection_id":125164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:16:37] local.INFO: Extracted packet for processing {"connection_id":125164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95408208,"longitude_deg":76.333856,"latitude_deg":9.5408208,"altitude":6,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd050","is_valid_coordinates":true} 
[2026-07-07 12:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552037376001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938490402816,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783406702000,"timestamp_ms":1783406702000,"timestamp_seconds":1783406702,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b52adb0"} 
[2026-07-07 12:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 12:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552037376001,"66":26408,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9196631938490402816},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552037376001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:16:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:16:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938490402816,"description":"Unknown IO ID 45"} 
[2026-07-07 12:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552037376001,"power":26408,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196631938490402816}} 
[2026-07-07 12:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":125164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:16:37] local.INFO: GPS data processed {"connection_id":125164,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:16:37] local.INFO: Acknowledgment sent {"connection_id":125164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:16:57] local.INFO: TCP Data received {"connection_id":126401,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b524050012d1821000721b298004800d726..."} 
[2026-07-07 12:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b524050012d1821000721b298004800d726..."} 
[2026-07-07 12:16:57] local.INFO: Processing buffer {"connection_id":126401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b524050012d1821000721b298004800d726..."} 
[2026-07-07 12:16:57] local.INFO: Packet analysis {"connection_id":126401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:16:57] local.INFO: Extracted packet for processing {"connection_id":126401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:16:57] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552103424001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783406674000,"timestamp_ms":1783406674000,"timestamp_seconds":1783406674,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b524050"} 
[2026-07-07 12:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-07 12:16:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:57] local.WARNING: Large IO value detected {"io_id":59,"raw_value":5744306145390502144,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-07 12:16:57] local.WARNING: Large IO value detected {"io_id":91,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:57] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512108403110372,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:57] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428170276081555236,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:57] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-07 12:16:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,99,159,160,45,178,72,38,10,66,78,37,252,1,240,63,59,33,4,113,205,91,152,239,50,2,17,7,124,32],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-07 12:16:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188383328939540480,"timestamp_seconds":5188383328939540.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 12:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":126401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":126401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":126401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552103424001,"66":12809,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552103424001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:16:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:16:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552103424001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":126401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:16:57] local.INFO: GPS data processed {"connection_id":126401,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:16:57] local.INFO: Acknowledgment sent {"connection_id":126401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:16:59] local.INFO: TCP Data received {"connection_id":124360,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:16:59] local.INFO: Processing buffer {"connection_id":124360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:16:59] local.INFO: IMEI packet received {"connection_id":124360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":124360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:17:04] local.INFO: TCP Data received {"connection_id":124360,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:17:04] local.INFO: Processing buffer {"connection_id":124360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:17:04] local.INFO: IMEI packet received {"connection_id":124360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":124360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:17:05] local.INFO: TCP Data received {"connection_id":124360,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:17:05] local.INFO: Processing buffer {"connection_id":124360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:17:05] local.INFO: Packet analysis {"connection_id":124360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:17:05] local.INFO: Extracted packet for processing {"connection_id":124360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:17:05] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95408208,"longitude_deg":76.333856,"latitude_deg":9.5408208,"altitude":6,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd050","is_valid_coordinates":true} 
[2026-07-07 12:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552037376001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938490402816,"note":"Value kept but may cause issues"} 
[2026-07-07 12:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783406702000,"timestamp_ms":1783406702000,"timestamp_seconds":1783406702,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b52adb0"} 
[2026-07-07 12:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 12:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552037376001,"66":26408,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9196631938490402816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552037376001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:17:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:17:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938490402816,"description":"Unknown IO ID 45"} 
[2026-07-07 12:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552037376001,"power":26408,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196631938490402816}} 
[2026-07-07 12:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":124360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:17:05] local.INFO: GPS data processed {"connection_id":124360,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:17:05] local.INFO: Acknowledgment sent {"connection_id":124360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:17:21] local.INFO: TCP Data received {"connection_id":124454,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:17:21] local.INFO: Processing buffer {"connection_id":124454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:17:21] local.INFO: IMEI packet received {"connection_id":124454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":124454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:17:27] local.INFO: TCP Data received {"connection_id":124454,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:17:27] local.INFO: Processing buffer {"connection_id":124454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:17:27] local.INFO: IMEI packet received {"connection_id":124454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":124454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:17:29] local.INFO: TCP Data received {"connection_id":124454,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b529258012d1821000721b298004800d725..."} 
[2026-07-07 12:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b529258012d1821000721b298004800d725..."} 
[2026-07-07 12:17:29] local.INFO: Processing buffer {"connection_id":124454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b529258012d1821000721b298004800d725..."} 
[2026-07-07 12:17:29] local.INFO: Packet analysis {"connection_id":124454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:17:29] local.INFO: Extracted packet for processing {"connection_id":124454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:17:29] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552108544001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783406695000,"timestamp_ms":1783406695000,"timestamp_seconds":1783406695,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b529258"} 
[2026-07-07 12:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-07 12:17:29] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 12:17:29] local.WARNING: Large IO value detected {"io_id":59,"raw_value":5767395889573798144,"note":"Value kept but may cause issues"} 
[2026-07-07 12:17:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-07 12:17:29] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121887258332700,"note":"Value kept but may cause issues"} 
[2026-07-07 12:17:29] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428170276081555237,"note":"Value kept but may cause issues"} 
[2026-07-07 12:17:29] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-07 12:17:29] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,99,159,242,45,178,72,38,10,66,160,78,1,240,173,59,33,4,113,205,170,152,36,239,50,2,17,7,124,32],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-07 12:17:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188383328939540480,"timestamp_seconds":5188383328939540.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 12:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":124454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":124454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":124454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552108544001,"66":12461,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552108544001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:17:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:17:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552108544001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":124454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:17:29] local.INFO: GPS data processed {"connection_id":124454,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:17:29] local.INFO: Acknowledgment sent {"connection_id":124454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:17:37] local.INFO: TCP Data received {"connection_id":124360,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:17:37] local.INFO: Processing buffer {"connection_id":124360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:17:37] local.INFO: Packet analysis {"connection_id":124360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:17:37] local.INFO: Extracted packet for processing {"connection_id":124360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:17:37] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95408208,"longitude_deg":76.333856,"latitude_deg":9.5408208,"altitude":6,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd050","is_valid_coordinates":true} 
[2026-07-07 12:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552037376001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938490402816,"note":"Value kept but may cause issues"} 
[2026-07-07 12:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783406702000,"timestamp_ms":1783406702000,"timestamp_seconds":1783406702,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b52adb0"} 
[2026-07-07 12:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 12:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552037376001,"66":26408,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9196631938490402816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552037376001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:17:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:17:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938490402816,"description":"Unknown IO ID 45"} 
[2026-07-07 12:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552037376001,"power":26408,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196631938490402816}} 
[2026-07-07 12:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":124360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:17:37] local.INFO: GPS data processed {"connection_id":124360,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:17:37] local.INFO: Acknowledgment sent {"connection_id":124360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:18:00] local.INFO: TCP Data received {"connection_id":124454,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b52e078012d1821000721b298004800d723..."} 
[2026-07-07 12:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b52e078012d1821000721b298004800d723..."} 
[2026-07-07 12:18:00] local.INFO: Processing buffer {"connection_id":124454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b52e078012d1821000721b298004800d723..."} 
[2026-07-07 12:18:00] local.INFO: Packet analysis {"connection_id":124454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:18:00] local.INFO: Extracted packet for processing {"connection_id":124454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:18:00] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552113920001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783406715000,"timestamp_ms":1783406715000,"timestamp_seconds":1783406715,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b52e078"} 
[2026-07-07 12:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 12:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552113920001,"66":12439,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552113920001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:18:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:18:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552113920001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":124454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:18:01] local.INFO: GPS data processed {"connection_id":124454,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:18:01] local.INFO: Acknowledgment sent {"connection_id":124454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:18:05] local.INFO: TCP Data received {"connection_id":124361,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:18:05] local.INFO: Processing buffer {"connection_id":124361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:18:05] local.INFO: IMEI packet received {"connection_id":124361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":124361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:18:09] local.INFO: TCP Data received {"connection_id":124361,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:18:09] local.INFO: Processing buffer {"connection_id":124361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:18:09] local.INFO: IMEI packet received {"connection_id":124361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":124361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:18:10] local.INFO: TCP Data received {"connection_id":124361,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:18:10] local.INFO: Processing buffer {"connection_id":124361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:18:10] local.INFO: Packet analysis {"connection_id":124361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:18:10] local.INFO: Extracted packet for processing {"connection_id":124361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:18:10] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95408208,"longitude_deg":76.333856,"latitude_deg":9.5408208,"altitude":6,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd050","is_valid_coordinates":true} 
[2026-07-07 12:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552037376001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938490402816,"note":"Value kept but may cause issues"} 
[2026-07-07 12:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783406702000,"timestamp_ms":1783406702000,"timestamp_seconds":1783406702,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b52adb0"} 
[2026-07-07 12:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 12:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552037376001,"66":26408,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9196631938490402816},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552037376001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:18:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938490402816,"description":"Unknown IO ID 45"} 
[2026-07-07 12:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552037376001,"power":26408,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196631938490402816}} 
[2026-07-07 12:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":124361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:18:10] local.INFO: GPS data processed {"connection_id":124361,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:18:10] local.INFO: Acknowledgment sent {"connection_id":124361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:18:14] local.INFO: TCP Data received {"connection_id":124361,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:18:14] local.INFO: Processing buffer {"connection_id":124361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:18:14] local.INFO: Packet analysis {"connection_id":124361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:18:14] local.INFO: Extracted packet for processing {"connection_id":124361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:18:14] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95408208,"longitude_deg":76.333856,"latitude_deg":9.5408208,"altitude":6,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd050","is_valid_coordinates":true} 
[2026-07-07 12:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552037376001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938490402816,"note":"Value kept but may cause issues"} 
[2026-07-07 12:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783406702000,"timestamp_ms":1783406702000,"timestamp_seconds":1783406702,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b52adb0"} 
[2026-07-07 12:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12: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-07-07 12:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 12:18: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-07-07 12:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552037376001,"66":26408,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9196631938490402816},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552037376001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:18:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:18:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938490402816,"description":"Unknown IO ID 45"} 
[2026-07-07 12:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552037376001,"power":26408,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196631938490402816}} 
[2026-07-07 12:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":124361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:18:14] local.INFO: GPS data processed {"connection_id":124361,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:18:14] local.INFO: Acknowledgment sent {"connection_id":124361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:18:21] local.INFO: TCP Data received {"connection_id":125166,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:18:21] local.INFO: Processing buffer {"connection_id":125166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:18:21] local.INFO: IMEI packet received {"connection_id":125166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":125166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:18:26] local.INFO: TCP Data received {"connection_id":125166,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:18:26] local.INFO: Processing buffer {"connection_id":125166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:18:26] local.INFO: IMEI packet received {"connection_id":125166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":125166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:18:28] local.INFO: TCP Data received {"connection_id":125166,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b533280012d1821000721b298004800d723..."} 
[2026-07-07 12:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b533280012d1821000721b298004800d723..."} 
[2026-07-07 12:18:28] local.INFO: Processing buffer {"connection_id":125166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b533280012d1821000721b298004800d723..."} 
[2026-07-07 12:18:28] local.INFO: Packet analysis {"connection_id":125166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b53"} 
[2026-07-07 12:18:28] local.INFO: Extracted packet for processing {"connection_id":125166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b53"} 
[2026-07-07 12:18:28] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552119040001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783406736000,"timestamp_ms":1783406736000,"timestamp_seconds":1783406736,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b533280"} 
[2026-07-07 12:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 12:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552119040001,"66":12722,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552119040001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:18:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:18:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552119040001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":125166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:18:28] local.INFO: GPS data processed {"connection_id":125166,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:18:28] local.INFO: Acknowledgment sent {"connection_id":125166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:18:59] local.INFO: TCP Data received {"connection_id":124455,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:18:59] local.INFO: Processing buffer {"connection_id":124455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:18:59] local.INFO: IMEI packet received {"connection_id":124455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":124455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:19:00] local.INFO: TCP Data received {"connection_id":125166,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5380a0012d1821000721b298004800d725..."} 
[2026-07-07 12:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5380a0012d1821000721b298004800d725..."} 
[2026-07-07 12:19:00] local.INFO: Processing buffer {"connection_id":125166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5380a0012d1821000721b298004800d725..."} 
[2026-07-07 12:19:00] local.INFO: Packet analysis {"connection_id":125166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b53"} 
[2026-07-07 12:19:00] local.INFO: Extracted packet for processing {"connection_id":125166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b53"} 
[2026-07-07 12:19:00] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552124416001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783406756000,"timestamp_ms":1783406756000,"timestamp_seconds":1783406756,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5380a0"} 
[2026-07-07 12:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 12:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552124416001,"66":12722,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552124416001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:19:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:19:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552124416001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":125166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:19:00] local.INFO: GPS data processed {"connection_id":125166,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:19:00] local.INFO: Acknowledgment sent {"connection_id":125166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:19:04] local.INFO: TCP Data received {"connection_id":124455,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:19:04] local.INFO: Processing buffer {"connection_id":124455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:19:04] local.INFO: IMEI packet received {"connection_id":124455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":124455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:19:06] local.INFO: TCP Data received {"connection_id":124455,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:19:06] local.INFO: Processing buffer {"connection_id":124455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:19:06] local.INFO: Packet analysis {"connection_id":124455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:19:06] local.INFO: Extracted packet for processing {"connection_id":124455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:19:06] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95408208,"longitude_deg":76.333856,"latitude_deg":9.5408208,"altitude":6,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd050","is_valid_coordinates":true} 
[2026-07-07 12:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552037376001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938490402816,"note":"Value kept but may cause issues"} 
[2026-07-07 12:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783406702000,"timestamp_ms":1783406702000,"timestamp_seconds":1783406702,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b52adb0"} 
[2026-07-07 12:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 12:19: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-07-07 12:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552037376001,"66":26408,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9196631938490402816},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552037376001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:19:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938490402816,"description":"Unknown IO ID 45"} 
[2026-07-07 12:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552037376001,"power":26408,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196631938490402816}} 
[2026-07-07 12:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":124455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:19:06] local.INFO: GPS data processed {"connection_id":124455,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:19:06] local.INFO: Acknowledgment sent {"connection_id":124455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:19:27] local.INFO: TCP Data received {"connection_id":125167,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:19:27] local.INFO: Processing buffer {"connection_id":125167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:19:27] local.INFO: IMEI packet received {"connection_id":125167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":125167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:19:32] local.INFO: TCP Data received {"connection_id":125167,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:19:32] local.INFO: Processing buffer {"connection_id":125167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:19:32] local.INFO: IMEI packet received {"connection_id":125167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":125167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:19:33] local.INFO: TCP Data received {"connection_id":125167,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b53d2a8012d1821000721b298004800d724..."} 
[2026-07-07 12:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b53d2a8012d1821000721b298004800d724..."} 
[2026-07-07 12:19:33] local.INFO: Processing buffer {"connection_id":125167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b53d2a8012d1821000721b298004800d724..."} 
[2026-07-07 12:19:33] local.INFO: Packet analysis {"connection_id":125167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b53"} 
[2026-07-07 12:19:33] local.INFO: Extracted packet for processing {"connection_id":125167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b53"} 
[2026-07-07 12:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552129536001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:19: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-07-07 12:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783406777000,"timestamp_ms":1783406777000,"timestamp_seconds":1783406777,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b53d2a8"} 
[2026-07-07 12:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 12:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552129536001,"66":12711,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552129536001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:19:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:19:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552129536001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":125167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:19:33] local.INFO: GPS data processed {"connection_id":125167,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:19:33] local.INFO: Acknowledgment sent {"connection_id":125167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:19:34] local.INFO: TCP Data received {"connection_id":125167,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5424b0012d1821000721b298004800d723..."} 
[2026-07-07 12:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5424b0012d1821000721b298004800d723..."} 
[2026-07-07 12:19:34] local.INFO: Processing buffer {"connection_id":125167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5424b0012d1821000721b298004800d723..."} 
[2026-07-07 12:19:34] local.INFO: Packet analysis {"connection_id":125167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b54"} 
[2026-07-07 12:19:34] local.INFO: Extracted packet for processing {"connection_id":125167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b54"} 
[2026-07-07 12:19:34] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552134912001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:19: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-07-07 12:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783406798000,"timestamp_ms":1783406798000,"timestamp_seconds":1783406798,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5424b0"} 
[2026-07-07 12:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-07 12:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552134912001,"66":12678,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552134912001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:19:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:19:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552134912001,"power":12678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":125167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:19:34] local.INFO: GPS data processed {"connection_id":125167,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:19:34] local.INFO: Acknowledgment sent {"connection_id":125167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:19:37] local.INFO: TCP Data received {"connection_id":124455,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:19:37] local.INFO: Processing buffer {"connection_id":124455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:19:37] local.INFO: Packet analysis {"connection_id":124455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:19:37] local.INFO: Extracted packet for processing {"connection_id":124455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:19:37] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95408208,"longitude_deg":76.333856,"latitude_deg":9.5408208,"altitude":6,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd050","is_valid_coordinates":true} 
[2026-07-07 12:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552037376001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938490402816,"note":"Value kept but may cause issues"} 
[2026-07-07 12:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783406702000,"timestamp_ms":1783406702000,"timestamp_seconds":1783406702,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b52adb0"} 
[2026-07-07 12:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 12:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552037376001,"66":26408,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9196631938490402816},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552037376001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:19:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:19:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938490402816,"description":"Unknown IO ID 45"} 
[2026-07-07 12:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552037376001,"power":26408,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196631938490402816}} 
[2026-07-07 12:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":124455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:19:37] local.INFO: GPS data processed {"connection_id":124455,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:19:37] local.INFO: Acknowledgment sent {"connection_id":124455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:19:59] local.INFO: TCP Data received {"connection_id":124457,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:19:59] local.INFO: Processing buffer {"connection_id":124457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:19:59] local.INFO: IMEI packet received {"connection_id":124457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":124457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:20:04] local.INFO: TCP Data received {"connection_id":124457,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:20:04] local.INFO: Processing buffer {"connection_id":124457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:20:04] local.INFO: IMEI packet received {"connection_id":124457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":124457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:20:05] local.INFO: TCP Data received {"connection_id":124457,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:20:05] local.INFO: Processing buffer {"connection_id":124457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:20:05] local.INFO: Packet analysis {"connection_id":124457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:20:05] local.INFO: Extracted packet for processing {"connection_id":124457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:20:05] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95408208,"longitude_deg":76.333856,"latitude_deg":9.5408208,"altitude":6,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd050","is_valid_coordinates":true} 
[2026-07-07 12:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552037376001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938490402816,"note":"Value kept but may cause issues"} 
[2026-07-07 12:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783406702000,"timestamp_ms":1783406702000,"timestamp_seconds":1783406702,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b52adb0"} 
[2026-07-07 12:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 12:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552037376001,"66":26408,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9196631938490402816},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552037376001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:20:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:20:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938490402816,"description":"Unknown IO ID 45"} 
[2026-07-07 12:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552037376001,"power":26408,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196631938490402816}} 
[2026-07-07 12:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":124457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:20:05] local.INFO: GPS data processed {"connection_id":124457,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:20:05] local.INFO: Acknowledgment sent {"connection_id":124457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:20:22] local.INFO: TCP Data received {"connection_id":125168,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:20:22] local.INFO: Processing buffer {"connection_id":125168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:20:22] local.INFO: IMEI packet received {"connection_id":125168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":125168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:20:26] local.INFO: TCP Data received {"connection_id":125168,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:20:26] local.INFO: Processing buffer {"connection_id":125168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:20:26] local.INFO: IMEI packet received {"connection_id":125168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":125168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:20:28] local.INFO: TCP Data received {"connection_id":125168,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5472d0012d1821000721b298004800d725..."} 
[2026-07-07 12:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5472d0012d1821000721b298004800d725..."} 
[2026-07-07 12:20:28] local.INFO: Processing buffer {"connection_id":125168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5472d0012d1821000721b298004800d725..."} 
[2026-07-07 12:20:28] local.INFO: Packet analysis {"connection_id":125168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b54"} 
[2026-07-07 12:20:28] local.INFO: Extracted packet for processing {"connection_id":125168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b54"} 
[2026-07-07 12:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552140288001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783406818000,"timestamp_ms":1783406818000,"timestamp_seconds":1783406818,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5472d0"} 
[2026-07-07 12:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-07 12:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552140288001,"66":12667,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552140288001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:20:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:20:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552140288001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":125168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:20:28] local.INFO: GPS data processed {"connection_id":125168,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:20:28] local.INFO: Acknowledgment sent {"connection_id":125168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:20:32] local.INFO: TCP Data received {"connection_id":125168,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b54c4d8012d1821000721b298004800d721..."} 
[2026-07-07 12:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b54c4d8012d1821000721b298004800d721..."} 
[2026-07-07 12:20:32] local.INFO: Processing buffer {"connection_id":125168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b54c4d8012d1821000721b298004800d721..."} 
[2026-07-07 12:20:32] local.INFO: Packet analysis {"connection_id":125168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b54"} 
[2026-07-07 12:20:32] local.INFO: Extracted packet for processing {"connection_id":125168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b54"} 
[2026-07-07 12:20:32] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":33,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552145408001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783406839000,"timestamp_ms":1783406839000,"timestamp_seconds":1783406839,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b54c4d8"} 
[2026-07-07 12:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-07 12:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552145408001,"66":12645,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552145408001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:20:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:20:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552145408001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":125168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:20:32] local.INFO: GPS data processed {"connection_id":125168,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:20:32] local.INFO: Acknowledgment sent {"connection_id":125168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:20:36] local.INFO: TCP Data received {"connection_id":124457,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:20:36] local.INFO: Processing buffer {"connection_id":124457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b52adb0012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:20:36] local.INFO: Packet analysis {"connection_id":124457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:20:36] local.INFO: Extracted packet for processing {"connection_id":124457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b52"} 
[2026-07-07 12:20:36] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95408208,"longitude_deg":76.333856,"latitude_deg":9.5408208,"altitude":6,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd050","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552037376001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938490402816,"note":"Value kept but may cause issues"} 
[2026-07-07 12:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783406702000,"timestamp_ms":1783406702000,"timestamp_seconds":1783406702,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b52adb0"} 
[2026-07-07 12:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 12:20: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-07-07 12: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-07-07 12:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552037376001,"66":26408,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9196631938490402816},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552037376001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:20:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:20:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938490402816,"description":"Unknown IO ID 45"} 
[2026-07-07 12:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552037376001,"power":26408,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196631938490402816}} 
[2026-07-07 12:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":124457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:20:36] local.INFO: GPS data processed {"connection_id":124457,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:20:36] local.INFO: Acknowledgment sent {"connection_id":124457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:21:00] local.INFO: TCP Data received {"connection_id":124363,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:21:00] local.INFO: Processing buffer {"connection_id":124363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:21:00] local.INFO: IMEI packet received {"connection_id":124363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":124363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:21:01] local.INFO: TCP Data received {"connection_id":124363,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:21:01] local.INFO: Processing buffer {"connection_id":124363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:21:01] local.INFO: IMEI packet received {"connection_id":124363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":124363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:21:04] local.INFO: TCP Data received {"connection_id":124363,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:21:04] local.INFO: Processing buffer {"connection_id":124363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:21:04] local.INFO: IMEI packet received {"connection_id":124363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":124363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:21:04] local.INFO: TCP Data received {"connection_id":124363,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b574578012d7f9f4005afd050000600092b..."} 
[2026-07-07 12:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b574578012d7f9f4005afd050000600092b..."} 
[2026-07-07 12:21:04] local.INFO: Processing buffer {"connection_id":124363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b574578012d7f9f4005afd050000600092b..."} 
[2026-07-07 12:21:04] local.INFO: Packet analysis {"connection_id":124363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:21:04] local.INFO: Extracted packet for processing {"connection_id":124363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:21:04] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95408208,"longitude_deg":76.333856,"latitude_deg":9.5408208,"altitude":6,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd050","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552115712001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282521088,"note":"Value kept but may cause issues"} 
[2026-07-07 12:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783407003000,"timestamp_ms":1783407003000,"timestamp_seconds":1783407003,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b574578"} 
[2026-07-07 12:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-07 12:21:04] 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-07-07 12: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-07-07 12:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552115712001,"66":26082,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9196139357282521088},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552115712001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:21:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:21:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282521088,"description":"Unknown IO ID 45"} 
[2026-07-07 12:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552115712001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282521088}} 
[2026-07-07 12:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":124363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:21:05] local.INFO: GPS data processed {"connection_id":124363,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:21:05] local.INFO: Acknowledgment sent {"connection_id":124363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:21:21] local.INFO: TCP Data received {"connection_id":126403,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:21:21] local.INFO: Processing buffer {"connection_id":126403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:21:21] local.INFO: IMEI packet received {"connection_id":126403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":126403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:21:24] local.INFO: TCP Data received {"connection_id":126402,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:21:24] local.INFO: Processing buffer {"connection_id":126402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:21:24] local.INFO: IMEI packet received {"connection_id":126402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 12:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":126402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:21:26] local.INFO: TCP Data received {"connection_id":126403,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:21:26] local.INFO: Processing buffer {"connection_id":126403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:21:26] local.INFO: IMEI packet received {"connection_id":126403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":126403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:21:28] local.INFO: TCP Data received {"connection_id":126403,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5516e0012d1821000721b298004800d724..."} 
[2026-07-07 12:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5516e0012d1821000721b298004800d724..."} 
[2026-07-07 12:21:28] local.INFO: Processing buffer {"connection_id":126403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5516e0012d1821000721b298004800d724..."} 
[2026-07-07 12:21:28] local.INFO: Packet analysis {"connection_id":126403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b55"} 
[2026-07-07 12:21:28] local.INFO: Extracted packet for processing {"connection_id":126403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b55"} 
[2026-07-07 12:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552150784001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783406860000,"timestamp_ms":1783406860000,"timestamp_seconds":1783406860,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5516e0"} 
[2026-07-07 12:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-07 12:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552150784001,"66":12613,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552150784001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:21:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:21:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552150784001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":126403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:21:28] local.INFO: GPS data processed {"connection_id":126403,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:21:28] local.INFO: Acknowledgment sent {"connection_id":126403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:21:36] local.INFO: TCP Data received {"connection_id":124363,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b579398012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b579398012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:21:36] local.INFO: Processing buffer {"connection_id":124363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b579398012d7f9f4005afd050000600092c..."} 
[2026-07-07 12:21:36] local.INFO: Packet analysis {"connection_id":124363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:21:36] local.INFO: Extracted packet for processing {"connection_id":124363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:21:36] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95408208,"longitude_deg":76.333856,"latitude_deg":9.5408208,"altitude":6,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd050","is_valid_coordinates":true} 
[2026-07-07 12:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552192768001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282521088,"note":"Value kept but may cause issues"} 
[2026-07-07 12:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783407023000,"timestamp_ms":1783407023000,"timestamp_seconds":1783407023,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b579398"} 
[2026-07-07 12:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-07 12:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552192768001,"66":25897,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9196139357282521088},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552192768001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:21:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:21:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282521088,"description":"Unknown IO ID 45"} 
[2026-07-07 12:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552192768001,"power":25897,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282521088}} 
[2026-07-07 12:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":124363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:21:36] local.INFO: GPS data processed {"connection_id":124363,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:21:36] local.INFO: Acknowledgment sent {"connection_id":124363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:22:00] local.INFO: TCP Data received {"connection_id":126403,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b556500012d1821000721b298004800d724..."} 
[2026-07-07 12:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b556500012d1821000721b298004800d724..."} 
[2026-07-07 12:22:00] local.INFO: Processing buffer {"connection_id":126403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b556500012d1821000721b298004800d724..."} 
[2026-07-07 12:22:00] local.INFO: Packet analysis {"connection_id":126403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b55"} 
[2026-07-07 12:22:00] local.INFO: Extracted packet for processing {"connection_id":126403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b55"} 
[2026-07-07 12:22:00] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552156160001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783406880000,"timestamp_ms":1783406880000,"timestamp_seconds":1783406880,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b556500"} 
[2026-07-07 12:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-07 12:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552156160001,"66":12558,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552156160001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:22:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:22:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552156160001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":126403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:22:00] local.INFO: GPS data processed {"connection_id":126403,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:22:00] local.INFO: Acknowledgment sent {"connection_id":126403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:22:04] local.INFO: TCP Data received {"connection_id":125169,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:22:04] local.INFO: Processing buffer {"connection_id":125169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:22:04] local.INFO: IMEI packet received {"connection_id":125169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":125169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:22:09] local.INFO: TCP Data received {"connection_id":125169,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:22:09] local.INFO: Processing buffer {"connection_id":125169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:22:09] local.INFO: IMEI packet received {"connection_id":125169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":125169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:22:10] local.INFO: TCP Data received {"connection_id":125169,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b57a338012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b57a338012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:22:10] local.INFO: Processing buffer {"connection_id":125169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b57a338012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:22:10] local.INFO: Packet analysis {"connection_id":125169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:22:10] local.INFO: Extracted packet for processing {"connection_id":125169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408504,"longitude_deg":76.3338112,"latitude_deg":9.5408504,"altitude":6,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd178","is_valid_coordinates":true} 
[2026-07-07 12:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552197888001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282521088,"note":"Value kept but may cause issues"} 
[2026-07-07 12:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783407027000,"timestamp_ms":1783407027000,"timestamp_seconds":1783407027,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b57a338"} 
[2026-07-07 12:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-07 12:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552197888001,"66":25147,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9196139357282521088},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552197888001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:22:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282521088,"description":"Unknown IO ID 45"} 
[2026-07-07 12:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552197888001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282521088}} 
[2026-07-07 12:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":125169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:22:10] local.INFO: GPS data processed {"connection_id":125169,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:22:10] local.INFO: Acknowledgment sent {"connection_id":125169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:22:10] local.INFO: TCP Data received {"connection_id":126404,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:22:10] local.INFO: Processing buffer {"connection_id":126404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:22:10] local.INFO: IMEI packet received {"connection_id":126404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 12:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":126404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:22:11] local.INFO: TCP Data received {"connection_id":126404,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:22:11] local.INFO: Processing buffer {"connection_id":126404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:22:11] local.INFO: IMEI packet received {"connection_id":126404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 12:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":126404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:22:14] local.INFO: TCP Data received {"connection_id":125169,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:22:14] local.INFO: Processing buffer {"connection_id":125169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:22:14] local.INFO: Packet analysis {"connection_id":125169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:22:14] local.INFO: Extracted packet for processing {"connection_id":125169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:22:14] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408504,"longitude_deg":76.3338112,"latitude_deg":9.5408504,"altitude":6,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd178","is_valid_coordinates":true} 
[2026-07-07 12:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552198912001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073353216,"note":"Value kept but may cause issues"} 
[2026-07-07 12:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783407034000,"timestamp_ms":1783407034000,"timestamp_seconds":1783407034,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b57be90"} 
[2026-07-07 12:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12: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-07-07 12: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":59,"data_length":795,"current_offset":136} 
[2026-07-07 12:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552198912001,"66":25680,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073353216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552198912001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:22:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:22:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073353216,"description":"Unknown IO ID 45"} 
[2026-07-07 12:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552198912001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073353216}} 
[2026-07-07 12:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":125169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:22:14] local.INFO: GPS data processed {"connection_id":125169,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:22:14] local.INFO: Acknowledgment sent {"connection_id":125169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:22:20] local.INFO: TCP Data received {"connection_id":126405,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:22:20] local.INFO: Processing buffer {"connection_id":126405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:22:20] local.INFO: IMEI packet received {"connection_id":126405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":126405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:22:22] local.INFO: TCP Data received {"connection_id":126405,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:22:22] local.INFO: Processing buffer {"connection_id":126405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:22:22] local.INFO: IMEI packet received {"connection_id":126405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":126405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:22:27] local.INFO: TCP Data received {"connection_id":126405,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:22:27] local.INFO: Processing buffer {"connection_id":126405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:22:27] local.INFO: IMEI packet received {"connection_id":126405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":126405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:22:28] local.INFO: TCP Data received {"connection_id":126405,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b55b708012d1821000721b298004800d724..."} 
[2026-07-07 12:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b55b708012d1821000721b298004800d724..."} 
[2026-07-07 12:22:28] local.INFO: Processing buffer {"connection_id":126405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b55b708012d1821000721b298004800d724..."} 
[2026-07-07 12:22:28] local.INFO: Packet analysis {"connection_id":126405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b55"} 
[2026-07-07 12:22:28] local.INFO: Extracted packet for processing {"connection_id":126405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b55"} 
[2026-07-07 12:22:28] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552161280001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783406901000,"timestamp_ms":1783406901000,"timestamp_seconds":1783406901,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b55b708"} 
[2026-07-07 12:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-07 12:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-07 12:22:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383415151178392,"note":"Value kept but may cause issues"} 
[2026-07-07 12:22:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-07 12:22:28] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-07-07 12:22:28] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847783,"note":"Value kept but may cause issues"} 
[2026-07-07 12:22:28] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-07 12:22:28] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-07 12:22:28] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-07 12:22:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,99,159,22,45,178,72,36,10,66,196,33,114,1,240,123,59,4,113,205,210,152,239,49,2,17,7,231,71,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-07 12:22:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188383320349605888,"timestamp_seconds":5188383320349606.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 12:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552161280001,"66":12667,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552161280001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:22:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:22:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552161280001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":126405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:22:28] local.INFO: GPS data processed {"connection_id":126405,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:22:28] local.INFO: Acknowledgment sent {"connection_id":126405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:22:59] local.INFO: TCP Data received {"connection_id":124459,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:22:59] local.INFO: Processing buffer {"connection_id":124459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:22:59] local.INFO: IMEI packet received {"connection_id":124459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":124459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:23:00] local.INFO: TCP Data received {"connection_id":126405,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b560910012d1821000721b298004800d723..."} 
[2026-07-07 12:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b560910012d1821000721b298004800d723..."} 
[2026-07-07 12:23:00] local.INFO: Processing buffer {"connection_id":126405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b560910012d1821000721b298004800d723..."} 
[2026-07-07 12:23:00] local.INFO: Packet analysis {"connection_id":126405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b56"} 
[2026-07-07 12:23:00] local.INFO: Extracted packet for processing {"connection_id":126405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b56"} 
[2026-07-07 12:23:00] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552166656001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783406922000,"timestamp_ms":1783406922000,"timestamp_seconds":1783406922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b560910"} 
[2026-07-07 12:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-07 12:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552166656001,"66":12591,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552166656001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:23:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:23:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552166656001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":126405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:23:00] local.INFO: GPS data processed {"connection_id":126405,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:23:00] local.INFO: Acknowledgment sent {"connection_id":126405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:23:04] local.INFO: TCP Data received {"connection_id":124459,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:23:04] local.INFO: Processing buffer {"connection_id":124459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:23:04] local.INFO: IMEI packet received {"connection_id":124459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":124459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:23:05] local.INFO: TCP Data received {"connection_id":124459,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:23:05] local.INFO: Processing buffer {"connection_id":124459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:23:05] local.INFO: Packet analysis {"connection_id":124459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:23:05] local.INFO: Extracted packet for processing {"connection_id":124459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:23:05] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408504,"longitude_deg":76.3338112,"latitude_deg":9.5408504,"altitude":6,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd178","is_valid_coordinates":true} 
[2026-07-07 12:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552198912001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073353216,"note":"Value kept but may cause issues"} 
[2026-07-07 12:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783407034000,"timestamp_ms":1783407034000,"timestamp_seconds":1783407034,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b57be90"} 
[2026-07-07 12:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-07 12:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552198912001,"66":25680,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073353216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552198912001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:23:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:23:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073353216,"description":"Unknown IO ID 45"} 
[2026-07-07 12:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552198912001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073353216}} 
[2026-07-07 12:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":124459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:23:05] local.INFO: GPS data processed {"connection_id":124459,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:23:05] local.INFO: Acknowledgment sent {"connection_id":124459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:23:21] local.INFO: TCP Data received {"connection_id":124364,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:23:21] local.INFO: Processing buffer {"connection_id":124364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:23:21] local.INFO: IMEI packet received {"connection_id":124364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":124364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:23:24] local.INFO: TCP Data received {"connection_id":124364,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:23:24] local.INFO: Processing buffer {"connection_id":124364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:23:24] local.INFO: IMEI packet received {"connection_id":124364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":124364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:23:26] local.INFO: TCP Data received {"connection_id":124364,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:23:26] local.INFO: Processing buffer {"connection_id":124364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:23:26] local.INFO: IMEI packet received {"connection_id":124364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":124364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:23:28] local.INFO: TCP Data received {"connection_id":124364,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b565730012d1821000721b298004800d723..."} 
[2026-07-07 12:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b565730012d1821000721b298004800d723..."} 
[2026-07-07 12:23:28] local.INFO: Processing buffer {"connection_id":124364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b565730012d1821000721b298004800d723..."} 
[2026-07-07 12:23:28] local.INFO: Packet analysis {"connection_id":124364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b56"} 
[2026-07-07 12:23:28] local.INFO: Extracted packet for processing {"connection_id":124364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b56"} 
[2026-07-07 12:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552172032001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783406942000,"timestamp_ms":1783406942000,"timestamp_seconds":1783406942,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b565730"} 
[2026-07-07 12:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 12:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552172032001,"66":11721,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552172032001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:23:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:23:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552172032001,"power":11721,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":124364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:23:28] local.INFO: GPS data processed {"connection_id":124364,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:23:28] local.INFO: Acknowledgment sent {"connection_id":124364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:23:32] local.INFO: TCP Data received {"connection_id":124364,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b56a938012d1821000721b298004800d725..."} 
[2026-07-07 12:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b56a938012d1821000721b298004800d725..."} 
[2026-07-07 12:23:32] local.INFO: Processing buffer {"connection_id":124364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b56a938012d1821000721b298004800d725..."} 
[2026-07-07 12:23:32] local.INFO: Packet analysis {"connection_id":124364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b56"} 
[2026-07-07 12:23:32] local.INFO: Extracted packet for processing {"connection_id":124364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b56"} 
[2026-07-07 12:23:32] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552177152001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783406963000,"timestamp_ms":1783406963000,"timestamp_seconds":1783406963,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b56a938"} 
[2026-07-07 12:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 12:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552177152001,"66":12591,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552177152001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:23:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:23:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552177152001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":124364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:23:32] local.INFO: GPS data processed {"connection_id":124364,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:23:32] local.INFO: Acknowledgment sent {"connection_id":124364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:23:36] local.INFO: TCP Data received {"connection_id":124459,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:23:36] local.INFO: Processing buffer {"connection_id":124459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:23:36] local.INFO: Packet analysis {"connection_id":124459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:23:36] local.INFO: Extracted packet for processing {"connection_id":124459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:23:36] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408504,"longitude_deg":76.3338112,"latitude_deg":9.5408504,"altitude":6,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd178","is_valid_coordinates":true} 
[2026-07-07 12:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552198912001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073353216,"note":"Value kept but may cause issues"} 
[2026-07-07 12:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783407034000,"timestamp_ms":1783407034000,"timestamp_seconds":1783407034,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b57be90"} 
[2026-07-07 12:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-07 12:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552198912001,"66":25680,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073353216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552198912001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:23:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:23:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073353216,"description":"Unknown IO ID 45"} 
[2026-07-07 12:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552198912001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073353216}} 
[2026-07-07 12:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":124459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:23:36] local.INFO: GPS data processed {"connection_id":124459,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:23:36] local.INFO: Acknowledgment sent {"connection_id":124459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:23:59] local.INFO: TCP Data received {"connection_id":124460,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:23:59] local.INFO: Processing buffer {"connection_id":124460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:23:59] local.INFO: IMEI packet received {"connection_id":124460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":124460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:24:04] local.INFO: TCP Data received {"connection_id":124460,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:24:04] local.INFO: Processing buffer {"connection_id":124460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:24:04] local.INFO: IMEI packet received {"connection_id":124460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":124460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:24:05] local.INFO: TCP Data received {"connection_id":124460,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:24:05] local.INFO: Processing buffer {"connection_id":124460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:24:05] local.INFO: Packet analysis {"connection_id":124460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:24:05] local.INFO: Extracted packet for processing {"connection_id":124460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:24:05] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408504,"longitude_deg":76.3338112,"latitude_deg":9.5408504,"altitude":6,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd178","is_valid_coordinates":true} 
[2026-07-07 12:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552198912001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073353216,"note":"Value kept but may cause issues"} 
[2026-07-07 12:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783407034000,"timestamp_ms":1783407034000,"timestamp_seconds":1783407034,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b57be90"} 
[2026-07-07 12:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-07 12:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552198912001,"66":25680,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073353216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552198912001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:24:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:24:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073353216,"description":"Unknown IO ID 45"} 
[2026-07-07 12:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552198912001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073353216}} 
[2026-07-07 12:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":124460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:24:05] local.INFO: GPS data processed {"connection_id":124460,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:24:05] local.INFO: Acknowledgment sent {"connection_id":124460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:24:06] local.INFO: TCP Data received {"connection_id":124364,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b56fb40012d1821000721b298004800d725..."} 
[2026-07-07 12:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b56fb40012d1821000721b298004800d725..."} 
[2026-07-07 12:24:06] local.INFO: Processing buffer {"connection_id":124364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b56fb40012d1821000721b298004800d725..."} 
[2026-07-07 12:24:06] local.INFO: Packet analysis {"connection_id":124364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b56"} 
[2026-07-07 12:24:06] local.INFO: Extracted packet for processing {"connection_id":124364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b56"} 
[2026-07-07 12:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552182528001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783406984000,"timestamp_ms":1783406984000,"timestamp_seconds":1783406984,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b56fb40"} 
[2026-07-07 12:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 12:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552182528001,"66":12580,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552182528001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:24:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:24:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552182528001,"power":12580,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":124364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:24:06] local.INFO: GPS data processed {"connection_id":124364,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:24:06] local.INFO: Acknowledgment sent {"connection_id":124364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:24:21] local.INFO: TCP Data received {"connection_id":126406,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:24:21] local.INFO: Processing buffer {"connection_id":126406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:24:21] local.INFO: IMEI packet received {"connection_id":126406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":126406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:24:29] local.INFO: TCP Data received {"connection_id":126406,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:24:29] local.INFO: Processing buffer {"connection_id":126406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:24:29] local.INFO: IMEI packet received {"connection_id":126406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":126406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:24:29] local.INFO: TCP Data received {"connection_id":126406,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:24:29] local.INFO: Processing buffer {"connection_id":126406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:24:29] local.INFO: IMEI packet received {"connection_id":126406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":126406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:24:32] local.INFO: TCP Data received {"connection_id":126406,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:24:32] local.INFO: Processing buffer {"connection_id":126406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:24:32] local.INFO: IMEI packet received {"connection_id":126406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":126406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:24:33] local.INFO: TCP Data received {"connection_id":126406,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b574960012d1821000721b298004800d722..."} 
[2026-07-07 12:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b574960012d1821000721b298004800d722..."} 
[2026-07-07 12:24:33] local.INFO: Processing buffer {"connection_id":126406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b574960012d1821000721b298004800d722..."} 
[2026-07-07 12:24:33] local.INFO: Packet analysis {"connection_id":126406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:24:33] local.INFO: Extracted packet for processing {"connection_id":126406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":34,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552187904001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:24: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-07-07 12:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783407004000,"timestamp_ms":1783407004000,"timestamp_seconds":1783407004,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b574960"} 
[2026-07-07 12:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-07 12:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12: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-07-07 12:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552187904001,"66":12504,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552187904001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:24:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:24:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552187904001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":126406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:24:33] local.INFO: GPS data processed {"connection_id":126406,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:24:33] local.INFO: Acknowledgment sent {"connection_id":126406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:24:36] local.INFO: TCP Data received {"connection_id":124460,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:24:36] local.INFO: Processing buffer {"connection_id":124460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:24:36] local.INFO: Packet analysis {"connection_id":124460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:24:36] local.INFO: Extracted packet for processing {"connection_id":124460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:24:36] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408504,"longitude_deg":76.3338112,"latitude_deg":9.5408504,"altitude":6,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd178","is_valid_coordinates":true} 
[2026-07-07 12:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552198912001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073353216,"note":"Value kept but may cause issues"} 
[2026-07-07 12:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783407034000,"timestamp_ms":1783407034000,"timestamp_seconds":1783407034,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b57be90"} 
[2026-07-07 12:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-07 12:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552198912001,"66":25680,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073353216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552198912001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:24:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:24:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073353216,"description":"Unknown IO ID 45"} 
[2026-07-07 12:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552198912001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073353216}} 
[2026-07-07 12:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":124460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:24:36] local.INFO: GPS data processed {"connection_id":124460,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:24:36] local.INFO: Acknowledgment sent {"connection_id":124460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:24:37] local.INFO: TCP Data received {"connection_id":126406,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b579b68012d1821000721b298004800d725..."} 
[2026-07-07 12:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b579b68012d1821000721b298004800d725..."} 
[2026-07-07 12:24:37] local.INFO: Processing buffer {"connection_id":126406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b579b68012d1821000721b298004800d725..."} 
[2026-07-07 12:24:37] local.INFO: Packet analysis {"connection_id":126406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:24:37] local.INFO: Extracted packet for processing {"connection_id":126406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552193024001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783407025000,"timestamp_ms":1783407025000,"timestamp_seconds":1783407025,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b579b68"} 
[2026-07-07 12:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":216,"data_length":795,"current_offset":136} 
[2026-07-07 12:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552193024001,"66":12537,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552193024001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:24:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552193024001,"power":12537,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":126406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:24:37] local.INFO: GPS data processed {"connection_id":126406,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:24:37] local.INFO: Acknowledgment sent {"connection_id":126406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:24:59] local.INFO: TCP Data received {"connection_id":125171,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:24:59] local.INFO: Processing buffer {"connection_id":125171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:24:59] local.INFO: IMEI packet received {"connection_id":125171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":125171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:25:04] local.INFO: TCP Data received {"connection_id":125171,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:25:04] local.INFO: Processing buffer {"connection_id":125171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:25:04] local.INFO: IMEI packet received {"connection_id":125171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":125171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:25:05] local.INFO: TCP Data received {"connection_id":125171,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:25:05] local.INFO: Processing buffer {"connection_id":125171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:25:05] local.INFO: Packet analysis {"connection_id":125171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:25:05] local.INFO: Extracted packet for processing {"connection_id":125171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:25:05] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408504,"longitude_deg":76.3338112,"latitude_deg":9.5408504,"altitude":6,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd178","is_valid_coordinates":true} 
[2026-07-07 12:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552198912001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073353216,"note":"Value kept but may cause issues"} 
[2026-07-07 12:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783407034000,"timestamp_ms":1783407034000,"timestamp_seconds":1783407034,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b57be90"} 
[2026-07-07 12:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-07 12:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552198912001,"66":25680,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073353216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552198912001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:25:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:25:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073353216,"description":"Unknown IO ID 45"} 
[2026-07-07 12:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552198912001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073353216}} 
[2026-07-07 12:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":125171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:25:05] local.INFO: GPS data processed {"connection_id":125171,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:25:05] local.INFO: Acknowledgment sent {"connection_id":125171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:25:21] local.INFO: TCP Data received {"connection_id":124365,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:25:21] local.INFO: Processing buffer {"connection_id":124365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:25:21] local.INFO: IMEI packet received {"connection_id":124365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":124365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:25:26] local.INFO: TCP Data received {"connection_id":124365,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:25:26] local.INFO: Processing buffer {"connection_id":124365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:25:26] local.INFO: IMEI packet received {"connection_id":124365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":124365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:25:28] local.INFO: TCP Data received {"connection_id":124365,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b57e988012d1821000721b298004800d724..."} 
[2026-07-07 12:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b57e988012d1821000721b298004800d724..."} 
[2026-07-07 12:25:28] local.INFO: Processing buffer {"connection_id":124365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b57e988012d1821000721b298004800d724..."} 
[2026-07-07 12:25:28] local.INFO: Packet analysis {"connection_id":124365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:25:28] local.INFO: Extracted packet for processing {"connection_id":124365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552198400001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783407045000,"timestamp_ms":1783407045000,"timestamp_seconds":1783407045,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b57e988"} 
[2026-07-07 12:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-07 12:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552198400001,"66":12548,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552198400001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:25:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:25:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552198400001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":124365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:25:28] local.INFO: GPS data processed {"connection_id":124365,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:25:28] local.INFO: Acknowledgment sent {"connection_id":124365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:25:36] local.INFO: TCP Data received {"connection_id":125171,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:25:36] local.INFO: Processing buffer {"connection_id":125171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:25:36] local.INFO: Packet analysis {"connection_id":125171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:25:36] local.INFO: Extracted packet for processing {"connection_id":125171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:25:36] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408504,"longitude_deg":76.3338112,"latitude_deg":9.5408504,"altitude":6,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd178","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552198912001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073353216,"note":"Value kept but may cause issues"} 
[2026-07-07 12:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783407034000,"timestamp_ms":1783407034000,"timestamp_seconds":1783407034,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b57be90"} 
[2026-07-07 12:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-07 12:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552198912001,"66":25680,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073353216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552198912001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:25:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:25:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073353216,"description":"Unknown IO ID 45"} 
[2026-07-07 12:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552198912001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073353216}} 
[2026-07-07 12:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":125171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:25:36] local.INFO: GPS data processed {"connection_id":125171,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:25:36] local.INFO: Acknowledgment sent {"connection_id":125171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:25:59] local.INFO: TCP Data received {"connection_id":126407,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:25:59] local.INFO: Processing buffer {"connection_id":126407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:25:59] local.INFO: IMEI packet received {"connection_id":126407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":126407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:26:00] local.INFO: TCP Data received {"connection_id":124365,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5b6040012d1821000721b298004800d724..."} 
[2026-07-07 12:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5b6040012d1821000721b298004800d724..."} 
[2026-07-07 12:26:00] local.INFO: Processing buffer {"connection_id":124365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5b6040012d1821000721b298004800d724..."} 
[2026-07-07 12:26:00] local.INFO: Packet analysis {"connection_id":124365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5b"} 
[2026-07-07 12:26:00] local.INFO: Extracted packet for processing {"connection_id":124365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5b"} 
[2026-07-07 12:26:00] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552256256001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783407272000,"timestamp_ms":1783407272000,"timestamp_seconds":1783407272,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5b6040"} 
[2026-07-07 12:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 12:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12: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-07-07 12:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552256256001,"66":12461,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552256256001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:26:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:26:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552256256001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":124365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:26:00] local.INFO: GPS data processed {"connection_id":124365,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:26:00] local.INFO: Acknowledgment sent {"connection_id":124365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:26:04] local.INFO: TCP Data received {"connection_id":126407,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:26:04] local.INFO: Processing buffer {"connection_id":126407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:26:04] local.INFO: IMEI packet received {"connection_id":126407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":126407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:26:05] local.INFO: TCP Data received {"connection_id":126407,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:26:05] local.INFO: Processing buffer {"connection_id":126407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b57be90012d7f9d8005afd178000600b72d..."} 
[2026-07-07 12:26:05] local.INFO: Packet analysis {"connection_id":126407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:26:05] local.INFO: Extracted packet for processing {"connection_id":126407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b57"} 
[2026-07-07 12:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408504,"longitude_deg":76.3338112,"latitude_deg":9.5408504,"altitude":6,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd178","is_valid_coordinates":true} 
[2026-07-07 12:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552198912001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073353216,"note":"Value kept but may cause issues"} 
[2026-07-07 12:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783407034000,"timestamp_ms":1783407034000,"timestamp_seconds":1783407034,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b57be90"} 
[2026-07-07 12:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-07 12:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552198912001,"66":25680,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073353216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552198912001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:26:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073353216,"description":"Unknown IO ID 45"} 
[2026-07-07 12:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552198912001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073353216}} 
[2026-07-07 12:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":126407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:26:05] local.INFO: GPS data processed {"connection_id":126407,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:26:05] local.INFO: Acknowledgment sent {"connection_id":126407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:26:26] local.INFO: TCP Data received {"connection_id":124366,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:26:26] local.INFO: Processing buffer {"connection_id":124366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:26:26] local.INFO: IMEI packet received {"connection_id":124366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":124366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:26:32] local.INFO: TCP Data received {"connection_id":124366,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:26:32] local.INFO: Processing buffer {"connection_id":124366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:26:32] local.INFO: IMEI packet received {"connection_id":124366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":124366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:26:35] local.INFO: TCP Data received {"connection_id":124366,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5bb248012d1821000721b298004800d725..."} 
[2026-07-07 12:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5bb248012d1821000721b298004800d725..."} 
[2026-07-07 12:26:35] local.INFO: Processing buffer {"connection_id":124366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5bb248012d1821000721b298004800d725..."} 
[2026-07-07 12:26:35] local.INFO: Packet analysis {"connection_id":124366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5b"} 
[2026-07-07 12:26:35] local.INFO: Extracted packet for processing {"connection_id":124366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5b"} 
[2026-07-07 12:26:35] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552261632001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783407293000,"timestamp_ms":1783407293000,"timestamp_seconds":1783407293,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5bb248"} 
[2026-07-07 12:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 12:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552261632001,"66":12461,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552261632001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:26:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:26:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552261632001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":124366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:26:35] local.INFO: GPS data processed {"connection_id":124366,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:26:35] local.INFO: Acknowledgment sent {"connection_id":124366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:26:36] local.INFO: TCP Data received {"connection_id":124366,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5c0068012d1821000721b298004800d724..."} 
[2026-07-07 12:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5c0068012d1821000721b298004800d724..."} 
[2026-07-07 12:26:36] local.INFO: Processing buffer {"connection_id":124366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5c0068012d1821000721b298004800d724..."} 
[2026-07-07 12:26:36] local.INFO: Packet analysis {"connection_id":124366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:26:36] local.INFO: Extracted packet for processing {"connection_id":124366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552267008001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783407313000,"timestamp_ms":1783407313000,"timestamp_seconds":1783407313,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5c0068"} 
[2026-07-07 12:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":173,"data_length":795,"current_offset":136} 
[2026-07-07 12:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552267008001,"66":12461,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552267008001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:26:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:26:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552267008001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:26:36] local.INFO: TCP Data received {"connection_id":126407,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:26:36] local.INFO: Processing buffer {"connection_id":126407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:26:36] local.INFO: Packet analysis {"connection_id":126407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:26:36] local.INFO: Extracted packet for processing {"connection_id":126407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:26:36] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408536,"longitude_deg":76.3338112,"latitude_deg":9.5408536,"altitude":6,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd198","is_valid_coordinates":true} 
[2026-07-07 12:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552200704001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073353216,"note":"Value kept but may cause issues"} 
[2026-07-07 12:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783407337000,"timestamp_ms":1783407337000,"timestamp_seconds":1783407337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5c5e28"} 
[2026-07-07 12:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 12:26:36] 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-07-07 12:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552200704001,"66":25778,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073353216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552200704001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:26:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:26:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073353216,"description":"Unknown IO ID 45"} 
[2026-07-07 12:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552200704001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073353216}} 
[2026-07-07 12:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":126407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:26:36] local.INFO: GPS data processed {"connection_id":126407,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:26:36] local.INFO: Acknowledgment sent {"connection_id":126407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":124366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:26:36] local.INFO: GPS data processed {"connection_id":124366,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:26:36] local.INFO: Acknowledgment sent {"connection_id":124366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:26:59] local.INFO: TCP Data received {"connection_id":125172,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:26:59] local.INFO: Processing buffer {"connection_id":125172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:26:59] local.INFO: IMEI packet received {"connection_id":125172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":125172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:27:04] local.INFO: TCP Data received {"connection_id":125172,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:27:04] local.INFO: Processing buffer {"connection_id":125172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:27:04] local.INFO: IMEI packet received {"connection_id":125172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":125172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:27:05] local.INFO: TCP Data received {"connection_id":125172,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:27:05] local.INFO: Processing buffer {"connection_id":125172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:27:05] local.INFO: Packet analysis {"connection_id":125172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:27:05] local.INFO: Extracted packet for processing {"connection_id":125172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408536,"longitude_deg":76.3338112,"latitude_deg":9.5408536,"altitude":6,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd198","is_valid_coordinates":true} 
[2026-07-07 12:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552200704001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073353216,"note":"Value kept but may cause issues"} 
[2026-07-07 12:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783407337000,"timestamp_ms":1783407337000,"timestamp_seconds":1783407337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5c5e28"} 
[2026-07-07 12:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 12:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552200704001,"66":25778,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073353216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552200704001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:27:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:27:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073353216,"description":"Unknown IO ID 45"} 
[2026-07-07 12:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552200704001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073353216}} 
[2026-07-07 12:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":125172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:27:05] local.INFO: GPS data processed {"connection_id":125172,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:27:05] local.INFO: Acknowledgment sent {"connection_id":125172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:27:22] local.INFO: TCP Data received {"connection_id":124367,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:27:22] local.INFO: Processing buffer {"connection_id":124367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:27:22] local.INFO: IMEI packet received {"connection_id":124367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":124367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:27:27] local.INFO: TCP Data received {"connection_id":124367,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:27:27] local.INFO: Processing buffer {"connection_id":124367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:27:27] local.INFO: IMEI packet received {"connection_id":124367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":124367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:27:28] local.INFO: TCP Data received {"connection_id":124367,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5c5270012d1821000721b298004800d724..."} 
[2026-07-07 12:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5c5270012d1821000721b298004800d724..."} 
[2026-07-07 12:27:28] local.INFO: Processing buffer {"connection_id":124367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5c5270012d1821000721b298004800d724..."} 
[2026-07-07 12:27:28] local.INFO: Packet analysis {"connection_id":124367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:27:28] local.INFO: Extracted packet for processing {"connection_id":124367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552272128001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783407334000,"timestamp_ms":1783407334000,"timestamp_seconds":1783407334,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5c5270"} 
[2026-07-07 12:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 12:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12: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-07-07 12:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552272128001,"66":12461,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552272128001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:27:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:27:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552272128001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":124367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:27:28] local.INFO: GPS data processed {"connection_id":124367,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:27:28] local.INFO: Acknowledgment sent {"connection_id":124367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:27:33] local.INFO: TCP Data received {"connection_id":124367,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5ca478012d1821000721b298004800d724..."} 
[2026-07-07 12:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5ca478012d1821000721b298004800d724..."} 
[2026-07-07 12:27:33] local.INFO: Processing buffer {"connection_id":124367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5ca478012d1821000721b298004800d724..."} 
[2026-07-07 12:27:33] local.INFO: Packet analysis {"connection_id":124367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:27:33] local.INFO: Extracted packet for processing {"connection_id":124367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:27:33] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552277504001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:27: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-07-07 12:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783407355000,"timestamp_ms":1783407355000,"timestamp_seconds":1783407355,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5ca478"} 
[2026-07-07 12:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 12:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552277504001,"66":12461,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552277504001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:27:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:27:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552277504001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":124367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:27:33] local.INFO: GPS data processed {"connection_id":124367,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:27:33] local.INFO: Acknowledgment sent {"connection_id":124367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:27:34] local.INFO: TCP Data received {"connection_id":125173,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125173,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:27:34] local.INFO: Processing buffer {"connection_id":125173,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:27:34] local.INFO: IMEI packet received {"connection_id":125173,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 12:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":125173,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:27:36] local.INFO: TCP Data received {"connection_id":125172,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:27:36] local.INFO: Processing buffer {"connection_id":125172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:27:36] local.INFO: Packet analysis {"connection_id":125172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:27:36] local.INFO: Extracted packet for processing {"connection_id":125172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:27:36] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408536,"longitude_deg":76.3338112,"latitude_deg":9.5408536,"altitude":6,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd198","is_valid_coordinates":true} 
[2026-07-07 12:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552200704001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073353216,"note":"Value kept but may cause issues"} 
[2026-07-07 12:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783407337000,"timestamp_ms":1783407337000,"timestamp_seconds":1783407337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5c5e28"} 
[2026-07-07 12:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 12:27:36] 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-07-07 12:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552200704001,"66":25778,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073353216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552200704001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:27:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:27:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073353216,"description":"Unknown IO ID 45"} 
[2026-07-07 12:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552200704001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073353216}} 
[2026-07-07 12:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":125172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:27:36] local.INFO: GPS data processed {"connection_id":125172,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:27:36] local.INFO: Acknowledgment sent {"connection_id":125172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:27:59] local.INFO: TCP Data received {"connection_id":126409,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:27:59] local.INFO: Processing buffer {"connection_id":126409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:27:59] local.INFO: IMEI packet received {"connection_id":126409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":126409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:28:04] local.INFO: TCP Data received {"connection_id":126409,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:28:04] local.INFO: Processing buffer {"connection_id":126409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:28:04] local.INFO: IMEI packet received {"connection_id":126409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":126409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:28:05] local.INFO: TCP Data received {"connection_id":126409,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:28:05] local.INFO: Processing buffer {"connection_id":126409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:28:05] local.INFO: Packet analysis {"connection_id":126409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:28:05] local.INFO: Extracted packet for processing {"connection_id":126409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:28:05] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408536,"longitude_deg":76.3338112,"latitude_deg":9.5408536,"altitude":6,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd198","is_valid_coordinates":true} 
[2026-07-07 12:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552200704001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073353216,"note":"Value kept but may cause issues"} 
[2026-07-07 12:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783407337000,"timestamp_ms":1783407337000,"timestamp_seconds":1783407337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5c5e28"} 
[2026-07-07 12:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 12:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552200704001,"66":25778,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073353216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552200704001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:28:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:28:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073353216,"description":"Unknown IO ID 45"} 
[2026-07-07 12:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552200704001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073353216}} 
[2026-07-07 12:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":126409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:28:05] local.INFO: GPS data processed {"connection_id":126409,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:28:05] local.INFO: Acknowledgment sent {"connection_id":126409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:28:06] local.INFO: TCP Data received {"connection_id":124462,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:28:06] local.INFO: Processing buffer {"connection_id":124462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:28:06] local.INFO: IMEI packet received {"connection_id":124462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 12:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":124462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:28:06] local.INFO: TCP Data received {"connection_id":124367,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5cf298012d1821000721b298004800d725..."} 
[2026-07-07 12:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5cf298012d1821000721b298004800d725..."} 
[2026-07-07 12:28:06] local.INFO: Processing buffer {"connection_id":124367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5cf298012d1821000721b298004800d725..."} 
[2026-07-07 12:28:06] local.INFO: Packet analysis {"connection_id":124367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:28:06] local.INFO: Extracted packet for processing {"connection_id":124367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552282880001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783407375000,"timestamp_ms":1783407375000,"timestamp_seconds":1783407375,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5cf298"} 
[2026-07-07 12:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 12:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552282880001,"66":12461,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552282880001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:28:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:28:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552282880001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":124367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:28:06] local.INFO: GPS data processed {"connection_id":124367,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:28:06] local.INFO: Acknowledgment sent {"connection_id":124367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:28:21] local.INFO: TCP Data received {"connection_id":125175,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:28:21] local.INFO: Processing buffer {"connection_id":125175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:28:21] local.INFO: IMEI packet received {"connection_id":125175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":125175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:28:27] local.INFO: TCP Data received {"connection_id":125175,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:28:27] local.INFO: Processing buffer {"connection_id":125175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:28:27] local.INFO: IMEI packet received {"connection_id":125175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":125175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:28:31] local.INFO: TCP Data received {"connection_id":125175,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5d44a0012d1821000721b298004800d726..."} 
[2026-07-07 12:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5d44a0012d1821000721b298004800d726..."} 
[2026-07-07 12:28:31] local.INFO: Processing buffer {"connection_id":125175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5d44a0012d1821000721b298004800d726..."} 
[2026-07-07 12:28:31] local.INFO: Packet analysis {"connection_id":125175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5d"} 
[2026-07-07 12:28:31] local.INFO: Extracted packet for processing {"connection_id":125175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5d"} 
[2026-07-07 12:28:31] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552288000001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783407396000,"timestamp_ms":1783407396000,"timestamp_seconds":1783407396,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5d44a0"} 
[2026-07-07 12:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 12:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552288000001,"66":12461,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552288000001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:28:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:28:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552288000001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":125175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:28:31] local.INFO: GPS data processed {"connection_id":125175,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:28:31] local.INFO: Acknowledgment sent {"connection_id":125175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:28:32] local.INFO: TCP Data received {"connection_id":125175,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5d96a8012d1821000721b298004800d723..."} 
[2026-07-07 12:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5d96a8012d1821000721b298004800d723..."} 
[2026-07-07 12:28:32] local.INFO: Processing buffer {"connection_id":125175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5d96a8012d1821000721b298004800d723..."} 
[2026-07-07 12:28:32] local.INFO: Packet analysis {"connection_id":125175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5d"} 
[2026-07-07 12:28:32] local.INFO: Extracted packet for processing {"connection_id":125175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5d"} 
[2026-07-07 12:28:32] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552293376001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783407417000,"timestamp_ms":1783407417000,"timestamp_seconds":1783407417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5d96a8"} 
[2026-07-07 12:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 12:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552293376001,"66":12428,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552293376001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:28:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:28:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552293376001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":125175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:28:32] local.INFO: GPS data processed {"connection_id":125175,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:28:32] local.INFO: Acknowledgment sent {"connection_id":125175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:28:36] local.INFO: TCP Data received {"connection_id":126409,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:28:36] local.INFO: Processing buffer {"connection_id":126409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:28:36] local.INFO: Packet analysis {"connection_id":126409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:28:36] local.INFO: Extracted packet for processing {"connection_id":126409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:28:36] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408536,"longitude_deg":76.3338112,"latitude_deg":9.5408536,"altitude":6,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd198","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552200704001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073353216,"note":"Value kept but may cause issues"} 
[2026-07-07 12:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783407337000,"timestamp_ms":1783407337000,"timestamp_seconds":1783407337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5c5e28"} 
[2026-07-07 12:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 12:28:36] 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-07-07 12: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-07-07 12:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552200704001,"66":25778,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073353216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552200704001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:28:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:28:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073353216,"description":"Unknown IO ID 45"} 
[2026-07-07 12:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552200704001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073353216}} 
[2026-07-07 12:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":126409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:28:36] local.INFO: GPS data processed {"connection_id":126409,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:28:36] local.INFO: Acknowledgment sent {"connection_id":126409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:28:59] local.INFO: TCP Data received {"connection_id":124368,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:28:59] local.INFO: Processing buffer {"connection_id":124368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:28:59] local.INFO: IMEI packet received {"connection_id":124368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":124368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:29:04] local.INFO: TCP Data received {"connection_id":125175,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5de8b0012d1821000721b298004800d726..."} 
[2026-07-07 12:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5de8b0012d1821000721b298004800d726..."} 
[2026-07-07 12:29:04] local.INFO: Processing buffer {"connection_id":125175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5de8b0012d1821000721b298004800d726..."} 
[2026-07-07 12:29:04] local.INFO: Packet analysis {"connection_id":125175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5d"} 
[2026-07-07 12:29:04] local.INFO: Extracted packet for processing {"connection_id":125175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5d"} 
[2026-07-07 12:29:04] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552298752001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783407438000,"timestamp_ms":1783407438000,"timestamp_seconds":1783407438,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5de8b0"} 
[2026-07-07 12:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-07 12:29: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-07-07 12:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552298752001,"66":12428,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552298752001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:29:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:29:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552298752001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":125175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:29:04] local.INFO: GPS data processed {"connection_id":125175,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:29:04] local.INFO: Acknowledgment sent {"connection_id":125175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:29:04] local.INFO: TCP Data received {"connection_id":124368,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:29:04] local.INFO: Processing buffer {"connection_id":124368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:29:04] local.INFO: IMEI packet received {"connection_id":124368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":124368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:29:08] local.INFO: TCP Data received {"connection_id":124368,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:29:08] local.INFO: Processing buffer {"connection_id":124368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:29:08] local.INFO: Packet analysis {"connection_id":124368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:29:08] local.INFO: Extracted packet for processing {"connection_id":124368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408536,"longitude_deg":76.3338112,"latitude_deg":9.5408536,"altitude":6,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd198","is_valid_coordinates":true} 
[2026-07-07 12:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552200704001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073353216,"note":"Value kept but may cause issues"} 
[2026-07-07 12:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783407337000,"timestamp_ms":1783407337000,"timestamp_seconds":1783407337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5c5e28"} 
[2026-07-07 12:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 12:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552200704001,"66":25778,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073353216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552200704001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:29:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073353216,"description":"Unknown IO ID 45"} 
[2026-07-07 12:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552200704001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073353216}} 
[2026-07-07 12:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":124368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:29:08] local.INFO: GPS data processed {"connection_id":124368,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:29:08] local.INFO: Acknowledgment sent {"connection_id":124368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:29:20] local.INFO: TCP Data received {"connection_id":126410,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:29:20] local.INFO: Processing buffer {"connection_id":126410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:29:20] local.INFO: IMEI packet received {"connection_id":126410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":126410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:29:23] local.INFO: TCP Data received {"connection_id":126410,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:29:23] local.INFO: Processing buffer {"connection_id":126410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:29:23] local.INFO: IMEI packet received {"connection_id":126410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":126410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:29:27] local.INFO: TCP Data received {"connection_id":126410,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:29:27] local.INFO: Processing buffer {"connection_id":126410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:29:27] local.INFO: IMEI packet received {"connection_id":126410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":126410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:29:28] local.INFO: TCP Data received {"connection_id":126410,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5e3ab8012d1821000721b298004800d724..."} 
[2026-07-07 12:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5e3ab8012d1821000721b298004800d724..."} 
[2026-07-07 12:29:28] local.INFO: Processing buffer {"connection_id":126410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5e3ab8012d1821000721b298004800d724..."} 
[2026-07-07 12:29:28] local.INFO: Packet analysis {"connection_id":126410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5e"} 
[2026-07-07 12:29:28] local.INFO: Extracted packet for processing {"connection_id":126410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5e"} 
[2026-07-07 12:29:28] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552304128001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783407459000,"timestamp_ms":1783407459000,"timestamp_seconds":1783407459,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5e3ab8"} 
[2026-07-07 12:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-07 12:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552304128001,"66":12385,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552304128001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:29:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:29:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552304128001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":126410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:29:28] local.INFO: GPS data processed {"connection_id":126410,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:29:28] local.INFO: Acknowledgment sent {"connection_id":126410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:29:43] local.INFO: TCP Data received {"connection_id":124368,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:29:43] local.INFO: Processing buffer {"connection_id":124368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:29:43] local.INFO: Packet analysis {"connection_id":124368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:29:43] local.INFO: Extracted packet for processing {"connection_id":124368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:29:43] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408536,"longitude_deg":76.3338112,"latitude_deg":9.5408536,"altitude":6,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd198","is_valid_coordinates":true} 
[2026-07-07 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-07-07 12:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552200704001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073353216,"note":"Value kept but may cause issues"} 
[2026-07-07 12:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783407337000,"timestamp_ms":1783407337000,"timestamp_seconds":1783407337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5c5e28"} 
[2026-07-07 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-07-07 12: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-07-07 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 12:29: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-07-07 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-07-07 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-07-07 12:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552200704001,"66":25778,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073353216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552200704001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:29:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:29:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073353216,"description":"Unknown IO ID 45"} 
[2026-07-07 12:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552200704001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073353216}} 
[2026-07-07 12:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":124368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:29:43] local.INFO: GPS data processed {"connection_id":124368,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:29:43] local.INFO: Acknowledgment sent {"connection_id":124368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:29:59] local.INFO: TCP Data received {"connection_id":124464,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:29:59] local.INFO: Processing buffer {"connection_id":124464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:29:59] local.INFO: IMEI packet received {"connection_id":124464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":124464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:30:03] local.INFO: TCP Data received {"connection_id":126410,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5e8cc0012d1821000721b298004800d724..."} 
[2026-07-07 12:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5e8cc0012d1821000721b298004800d724..."} 
[2026-07-07 12:30:03] local.INFO: Processing buffer {"connection_id":126410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5e8cc0012d1821000721b298004800d724..."} 
[2026-07-07 12:30:03] local.INFO: Packet analysis {"connection_id":126410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5e"} 
[2026-07-07 12:30:03] local.INFO: Extracted packet for processing {"connection_id":126410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5e"} 
[2026-07-07 12:30:03] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552309504001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783407480000,"timestamp_ms":1783407480000,"timestamp_seconds":1783407480,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5e8cc0"} 
[2026-07-07 12:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 12:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552309504001,"66":12461,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552309504001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:30:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:30:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552309504001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":126410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:30:03] local.INFO: GPS data processed {"connection_id":126410,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:30:03] local.INFO: Acknowledgment sent {"connection_id":126410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:30:06] local.INFO: TCP Data received {"connection_id":124464,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:30:06] local.INFO: Processing buffer {"connection_id":124464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:30:06] local.INFO: IMEI packet received {"connection_id":124464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":124464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:30:08] local.INFO: TCP Data received {"connection_id":124464,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:30:08] local.INFO: Processing buffer {"connection_id":124464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:30:08] local.INFO: Packet analysis {"connection_id":124464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:30:08] local.INFO: Extracted packet for processing {"connection_id":124464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408536,"longitude_deg":76.3338112,"latitude_deg":9.5408536,"altitude":6,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd198","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552200704001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073353216,"note":"Value kept but may cause issues"} 
[2026-07-07 12:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783407337000,"timestamp_ms":1783407337000,"timestamp_seconds":1783407337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5c5e28"} 
[2026-07-07 12:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 12:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12: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-07-07 12:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552200704001,"66":25778,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073353216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552200704001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:30:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:30:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073353216,"description":"Unknown IO ID 45"} 
[2026-07-07 12:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552200704001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073353216}} 
[2026-07-07 12:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":124464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:30:09] local.INFO: GPS data processed {"connection_id":124464,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:30:09] local.INFO: Acknowledgment sent {"connection_id":124464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:30:21] local.INFO: TCP Data received {"connection_id":125176,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:30:21] local.INFO: Processing buffer {"connection_id":125176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:30:21] local.INFO: IMEI packet received {"connection_id":125176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":125176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:30:24] local.INFO: TCP Data received {"connection_id":125176,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:30:24] local.INFO: Processing buffer {"connection_id":125176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:30:24] local.INFO: IMEI packet received {"connection_id":125176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":125176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:30:27] local.INFO: TCP Data received {"connection_id":125176,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:30:27] local.INFO: Processing buffer {"connection_id":125176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:30:27] local.INFO: IMEI packet received {"connection_id":125176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":125176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:30:31] local.INFO: TCP Data received {"connection_id":125176,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5edec8012d1821000721b298004800d724..."} 
[2026-07-07 12:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5edec8012d1821000721b298004800d724..."} 
[2026-07-07 12:30:31] local.INFO: Processing buffer {"connection_id":125176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5edec8012d1821000721b298004800d724..."} 
[2026-07-07 12:30:31] local.INFO: Packet analysis {"connection_id":125176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5e"} 
[2026-07-07 12:30:31] local.INFO: Extracted packet for processing {"connection_id":125176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5e"} 
[2026-07-07 12:30:31] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552314880001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783407501000,"timestamp_ms":1783407501000,"timestamp_seconds":1783407501,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5edec8"} 
[2026-07-07 12:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 12:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552314880001,"66":12439,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552314880001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:30:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:30:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552314880001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":125176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:30:31] local.INFO: GPS data processed {"connection_id":125176,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:30:31] local.INFO: Acknowledgment sent {"connection_id":125176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:30:40] local.INFO: TCP Data received {"connection_id":124464,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:30:40] local.INFO: Processing buffer {"connection_id":124464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:30:40] local.INFO: Packet analysis {"connection_id":124464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:30:40] local.INFO: Extracted packet for processing {"connection_id":124464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408536,"longitude_deg":76.3338112,"latitude_deg":9.5408536,"altitude":6,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd198","is_valid_coordinates":true} 
[2026-07-07 12:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552200704001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073353216,"note":"Value kept but may cause issues"} 
[2026-07-07 12:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783407337000,"timestamp_ms":1783407337000,"timestamp_seconds":1783407337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5c5e28"} 
[2026-07-07 12:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 12:30:40] 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-07-07 12:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552200704001,"66":25778,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073353216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552200704001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:30:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073353216,"description":"Unknown IO ID 45"} 
[2026-07-07 12:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552200704001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073353216}} 
[2026-07-07 12:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":124464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:30:40] local.INFO: GPS data processed {"connection_id":124464,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:30:40] local.INFO: Acknowledgment sent {"connection_id":124464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:31:03] local.INFO: TCP Data received {"connection_id":125176,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5f30d0012d1821000721b298004800d724..."} 
[2026-07-07 12:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5f30d0012d1821000721b298004800d724..."} 
[2026-07-07 12:31:03] local.INFO: Processing buffer {"connection_id":125176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5f30d0012d1821000721b298004800d724..."} 
[2026-07-07 12:31:03] local.INFO: Packet analysis {"connection_id":125176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5f"} 
[2026-07-07 12:31:03] local.INFO: Extracted packet for processing {"connection_id":125176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5f"} 
[2026-07-07 12:31:03] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552320256001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783407522000,"timestamp_ms":1783407522000,"timestamp_seconds":1783407522,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5f30d0"} 
[2026-07-07 12:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 12:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552320256001,"66":12406,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552320256001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:31:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:31:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552320256001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":125176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:31:03] local.INFO: GPS data processed {"connection_id":125176,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:31:03] local.INFO: Acknowledgment sent {"connection_id":125176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:31:04] local.INFO: TCP Data received {"connection_id":125177,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:31:04] local.INFO: Processing buffer {"connection_id":125177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:31:04] local.INFO: IMEI packet received {"connection_id":125177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":125177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:31:09] local.INFO: TCP Data received {"connection_id":125177,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:31:09] local.INFO: Processing buffer {"connection_id":125177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:31:09] local.INFO: IMEI packet received {"connection_id":125177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":125177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:31:10] local.INFO: TCP Data received {"connection_id":125177,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:31:10] local.INFO: Processing buffer {"connection_id":125177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5c5e28012d7f9d8005afd198000600b72d..."} 
[2026-07-07 12:31:10] local.INFO: Packet analysis {"connection_id":125177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:31:10] local.INFO: Extracted packet for processing {"connection_id":125177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5c"} 
[2026-07-07 12:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408536,"longitude_deg":76.3338112,"latitude_deg":9.5408536,"altitude":6,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd198","is_valid_coordinates":true} 
[2026-07-07 12:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552200704001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073353216,"note":"Value kept but may cause issues"} 
[2026-07-07 12:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783407337000,"timestamp_ms":1783407337000,"timestamp_seconds":1783407337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5c5e28"} 
[2026-07-07 12:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 12:31: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-07-07 12:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552200704001,"66":25778,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073353216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552200704001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:31:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073353216,"description":"Unknown IO ID 45"} 
[2026-07-07 12:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552200704001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073353216}} 
[2026-07-07 12:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":125177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:31:10] local.INFO: GPS data processed {"connection_id":125177,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:31:10] local.INFO: Acknowledgment sent {"connection_id":125177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:31:26] local.INFO: TCP Data received {"connection_id":126412,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:31:26] local.INFO: Processing buffer {"connection_id":126412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:31:26] local.INFO: IMEI packet received {"connection_id":126412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":126412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:31:29] local.INFO: TCP Data received {"connection_id":126412,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:31:29] local.INFO: Processing buffer {"connection_id":126412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:31:29] local.INFO: IMEI packet received {"connection_id":126412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":126412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:31:31] local.INFO: TCP Data received {"connection_id":126412,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:31:31] local.INFO: Processing buffer {"connection_id":126412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:31:31] local.INFO: IMEI packet received {"connection_id":126412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":126412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:31:36] local.INFO: TCP Data received {"connection_id":126412,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:31:36] local.INFO: Processing buffer {"connection_id":126412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:31:36] local.INFO: IMEI packet received {"connection_id":126412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":126412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:31:38] local.INFO: TCP Data received {"connection_id":126412,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5f82d8012d1821000721b298004800d725..."} 
[2026-07-07 12:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5f82d8012d1821000721b298004800d725..."} 
[2026-07-07 12:31:38] local.INFO: Processing buffer {"connection_id":126412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5f82d8012d1821000721b298004800d725..."} 
[2026-07-07 12:31:38] local.INFO: Packet analysis {"connection_id":126412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5f"} 
[2026-07-07 12:31:38] local.INFO: Extracted packet for processing {"connection_id":126412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5f"} 
[2026-07-07 12:31:38] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552325632001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783407543000,"timestamp_ms":1783407543000,"timestamp_seconds":1783407543,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5f82d8"} 
[2026-07-07 12:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 12:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12: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-07-07 12:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552325632001,"66":12428,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552325632001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:31:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:31:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552325632001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":126412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:31:38] local.INFO: GPS data processed {"connection_id":126412,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:31:38] local.INFO: Acknowledgment sent {"connection_id":126412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:31:41] local.INFO: TCP Data received {"connection_id":125177,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b60f5f0012d7f9d8005afd198000600b727..."} 
[2026-07-07 12:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b60f5f0012d7f9d8005afd198000600b727..."} 
[2026-07-07 12:31:41] local.INFO: Processing buffer {"connection_id":125177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b60f5f0012d7f9d8005afd198000600b727..."} 
[2026-07-07 12:31:41] local.INFO: Packet analysis {"connection_id":125177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b60"} 
[2026-07-07 12:31:41] local.INFO: Extracted packet for processing {"connection_id":125177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b60"} 
[2026-07-07 12:31:41] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408536,"longitude_deg":76.3338112,"latitude_deg":9.5408536,"altitude":6,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd198","is_valid_coordinates":true} 
[2026-07-07 12:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552278272001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073361408,"note":"Value kept but may cause issues"} 
[2026-07-07 12:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783407638000,"timestamp_ms":1783407638000,"timestamp_seconds":1783407638,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b60f5f0"} 
[2026-07-07 12:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 12:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552278272001,"66":25756,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073361408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552278272001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:31:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073361408,"description":"Unknown IO ID 45"} 
[2026-07-07 12:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552278272001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073361408}} 
[2026-07-07 12:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":125177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:31:41] local.INFO: GPS data processed {"connection_id":125177,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:31:41] local.INFO: Acknowledgment sent {"connection_id":125177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:31:42] local.INFO: TCP Data received {"connection_id":126412,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b5fd8c8012d1821000721b298004800d725..."} 
[2026-07-07 12:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b5fd8c8012d1821000721b298004800d725..."} 
[2026-07-07 12:31:42] local.INFO: Processing buffer {"connection_id":126412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b5fd8c8012d1821000721b298004800d725..."} 
[2026-07-07 12:31:42] local.INFO: Packet analysis {"connection_id":126412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b5f"} 
[2026-07-07 12:31:42] local.INFO: Extracted packet for processing {"connection_id":126412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b5f"} 
[2026-07-07 12:31:42] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552331008001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783407565000,"timestamp_ms":1783407565000,"timestamp_seconds":1783407565,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b5fd8c8"} 
[2026-07-07 12:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-07 12:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552331008001,"66":11721,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552331008001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:31:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:31:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552331008001,"power":11721,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":126412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:31:42] local.INFO: GPS data processed {"connection_id":126412,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:31:42] local.INFO: Acknowledgment sent {"connection_id":126412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:31:59] local.INFO: TCP Data received {"connection_id":124370,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:31:59] local.INFO: Processing buffer {"connection_id":124370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:31:59] local.INFO: IMEI packet received {"connection_id":124370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":124370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:32:04] local.INFO: TCP Data received {"connection_id":124370,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:32:04] local.INFO: Processing buffer {"connection_id":124370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:32:04] local.INFO: IMEI packet received {"connection_id":124370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":124370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:32:05] local.INFO: TCP Data received {"connection_id":124370,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b60f5f0012d7f9d8005afd198000600b727..."} 
[2026-07-07 12:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b60f5f0012d7f9d8005afd198000600b727..."} 
[2026-07-07 12:32:05] local.INFO: Processing buffer {"connection_id":124370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b60f5f0012d7f9d8005afd198000600b727..."} 
[2026-07-07 12:32:05] local.INFO: Packet analysis {"connection_id":124370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b60"} 
[2026-07-07 12:32:05] local.INFO: Extracted packet for processing {"connection_id":124370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b60"} 
[2026-07-07 12:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408536,"longitude_deg":76.3338112,"latitude_deg":9.5408536,"altitude":6,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd198","is_valid_coordinates":true} 
[2026-07-07 12:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552278272001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073361408,"note":"Value kept but may cause issues"} 
[2026-07-07 12:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783407638000,"timestamp_ms":1783407638000,"timestamp_seconds":1783407638,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b60f5f0"} 
[2026-07-07 12:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 12:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552278272001,"66":25756,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073361408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552278272001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:32:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:32:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073361408,"description":"Unknown IO ID 45"} 
[2026-07-07 12:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552278272001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073361408}} 
[2026-07-07 12:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":124370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:32:05] local.INFO: GPS data processed {"connection_id":124370,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:32:05] local.INFO: Acknowledgment sent {"connection_id":124370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:32:21] local.INFO: TCP Data received {"connection_id":124465,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:32:21] local.INFO: Processing buffer {"connection_id":124465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:32:21] local.INFO: IMEI packet received {"connection_id":124465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":124465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:32:26] local.INFO: TCP Data received {"connection_id":124465,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:32:26] local.INFO: Processing buffer {"connection_id":124465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:32:26] local.INFO: IMEI packet received {"connection_id":124465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":124465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:32:30] local.INFO: TCP Data received {"connection_id":124465,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:32:30] local.INFO: Processing buffer {"connection_id":124465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:32:30] local.INFO: IMEI packet received {"connection_id":124465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":124465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:32:36] local.INFO: TCP Data received {"connection_id":124370,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b60f5f0012d7f9d8005afd198000600b727..."} 
[2026-07-07 12:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b60f5f0012d7f9d8005afd198000600b727..."} 
[2026-07-07 12:32:36] local.INFO: Processing buffer {"connection_id":124370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b60f5f0012d7f9d8005afd198000600b727..."} 
[2026-07-07 12:32:36] local.INFO: Packet analysis {"connection_id":124370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b60"} 
[2026-07-07 12:32:36] local.INFO: Extracted packet for processing {"connection_id":124370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b60"} 
[2026-07-07 12:32:36] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408536,"longitude_deg":76.3338112,"latitude_deg":9.5408536,"altitude":6,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd198","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552278272001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073361408,"note":"Value kept but may cause issues"} 
[2026-07-07 12:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783407638000,"timestamp_ms":1783407638000,"timestamp_seconds":1783407638,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b60f5f0"} 
[2026-07-07 12:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 12:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12: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-07-07 12:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552278272001,"66":25756,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073361408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552278272001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:32:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:32:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073361408,"description":"Unknown IO ID 45"} 
[2026-07-07 12:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552278272001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073361408}} 
[2026-07-07 12:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":124370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:32:36] local.INFO: GPS data processed {"connection_id":124370,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:32:36] local.INFO: Acknowledgment sent {"connection_id":124370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:32:38] local.INFO: TCP Data received {"connection_id":124465,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b602ad0012d1821000721b298004800d726..."} 
[2026-07-07 12:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b602ad0012d1821000721b298004800d726..."} 
[2026-07-07 12:32:38] local.INFO: Processing buffer {"connection_id":124465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b602ad0012d1821000721b298004800d726..."} 
[2026-07-07 12:32:38] local.INFO: Packet analysis {"connection_id":124465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b60"} 
[2026-07-07 12:32:38] local.INFO: Extracted packet for processing {"connection_id":124465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b60"} 
[2026-07-07 12:32:38] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552336640001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783407586000,"timestamp_ms":1783407586000,"timestamp_seconds":1783407586,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b602ad0"} 
[2026-07-07 12:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 12:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12: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-07-07 12:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552336640001,"66":12406,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552336640001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:32:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:32:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552336640001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":124465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:32:38] local.INFO: GPS data processed {"connection_id":124465,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:32:38] local.INFO: Acknowledgment sent {"connection_id":124465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:32:59] local.INFO: TCP Data received {"connection_id":124466,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:32:59] local.INFO: Processing buffer {"connection_id":124466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:32:59] local.INFO: IMEI packet received {"connection_id":124466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":124466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:33:04] local.INFO: TCP Data received {"connection_id":124466,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:33:04] local.INFO: Processing buffer {"connection_id":124466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:33:04] local.INFO: IMEI packet received {"connection_id":124466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":124466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:33:05] local.INFO: TCP Data received {"connection_id":124466,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b60f5f0012d7f9d8005afd198000600b727..."} 
[2026-07-07 12:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b60f5f0012d7f9d8005afd198000600b727..."} 
[2026-07-07 12:33:05] local.INFO: Processing buffer {"connection_id":124466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b60f5f0012d7f9d8005afd198000600b727..."} 
[2026-07-07 12:33:05] local.INFO: Packet analysis {"connection_id":124466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b60"} 
[2026-07-07 12:33:05] local.INFO: Extracted packet for processing {"connection_id":124466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b60"} 
[2026-07-07 12:33:05] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408536,"longitude_deg":76.3338112,"latitude_deg":9.5408536,"altitude":6,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd198","is_valid_coordinates":true} 
[2026-07-07 12:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552278272001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073361408,"note":"Value kept but may cause issues"} 
[2026-07-07 12:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783407638000,"timestamp_ms":1783407638000,"timestamp_seconds":1783407638,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b60f5f0"} 
[2026-07-07 12:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 12:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552278272001,"66":25756,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073361408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552278272001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:33:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:33:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073361408,"description":"Unknown IO ID 45"} 
[2026-07-07 12:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552278272001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073361408}} 
[2026-07-07 12:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":124466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:33:05] local.INFO: GPS data processed {"connection_id":124466,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:33:05] local.INFO: Acknowledgment sent {"connection_id":124466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:33:21] local.INFO: TCP Data received {"connection_id":125180,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:33:21] local.INFO: Processing buffer {"connection_id":125180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:33:21] local.INFO: IMEI packet received {"connection_id":125180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":125180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:33:24] local.INFO: TCP Data received {"connection_id":125179,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:33:24] local.INFO: Processing buffer {"connection_id":125179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:33:24] local.INFO: IMEI packet received {"connection_id":125179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 12:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":125179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:33:27] local.INFO: TCP Data received {"connection_id":125180,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:33:27] local.INFO: Processing buffer {"connection_id":125180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:33:27] local.INFO: IMEI packet received {"connection_id":125180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":125180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:33:30] local.INFO: TCP Data received {"connection_id":125180,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b607cd8012d1821000721b298004800d723..."} 
[2026-07-07 12:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b607cd8012d1821000721b298004800d723..."} 
[2026-07-07 12:33:30] local.INFO: Processing buffer {"connection_id":125180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b607cd8012d1821000721b298004800d723..."} 
[2026-07-07 12:33:30] local.INFO: Packet analysis {"connection_id":125180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b60"} 
[2026-07-07 12:33:30] local.INFO: Extracted packet for processing {"connection_id":125180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b60"} 
[2026-07-07 12:33:30] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552342016001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:33: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-07-07 12:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783407607000,"timestamp_ms":1783407607000,"timestamp_seconds":1783407607,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b607cd8"} 
[2026-07-07 12:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 12:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552342016001,"66":12428,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552342016001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:33:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:33:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552342016001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":125180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:33:31] local.INFO: GPS data processed {"connection_id":125180,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:33:31] local.INFO: Acknowledgment sent {"connection_id":125180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:33:36] local.INFO: TCP Data received {"connection_id":124466,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b60f5f0012d7f9d8005afd198000600b727..."} 
[2026-07-07 12:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b60f5f0012d7f9d8005afd198000600b727..."} 
[2026-07-07 12:33:36] local.INFO: Processing buffer {"connection_id":124466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b60f5f0012d7f9d8005afd198000600b727..."} 
[2026-07-07 12:33:36] local.INFO: Packet analysis {"connection_id":124466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b60"} 
[2026-07-07 12:33:36] local.INFO: Extracted packet for processing {"connection_id":124466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b60"} 
[2026-07-07 12:33:36] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408536,"longitude_deg":76.3338112,"latitude_deg":9.5408536,"altitude":6,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd198","is_valid_coordinates":true} 
[2026-07-07 12:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552278272001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073361408,"note":"Value kept but may cause issues"} 
[2026-07-07 12:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783407638000,"timestamp_ms":1783407638000,"timestamp_seconds":1783407638,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b60f5f0"} 
[2026-07-07 12:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 12:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552278272001,"66":25756,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073361408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552278272001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:33:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:33:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073361408,"description":"Unknown IO ID 45"} 
[2026-07-07 12:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552278272001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073361408}} 
[2026-07-07 12:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":124466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:33:36] local.INFO: GPS data processed {"connection_id":124466,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:33:36] local.INFO: Acknowledgment sent {"connection_id":124466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:33:59] local.INFO: TCP Data received {"connection_id":126414,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:33:59] local.INFO: Processing buffer {"connection_id":126414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:33:59] local.INFO: IMEI packet received {"connection_id":126414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 12:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":126414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:33:59] local.INFO: TCP Data received {"connection_id":126413,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:33:59] local.INFO: Processing buffer {"connection_id":126413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:33:59] local.INFO: IMEI packet received {"connection_id":126413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":126413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:34:02] local.INFO: TCP Data received {"connection_id":125180,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b60cee0012d1821000721b298004800d722..."} 
[2026-07-07 12:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b60cee0012d1821000721b298004800d722..."} 
[2026-07-07 12:34:02] local.INFO: Processing buffer {"connection_id":125180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b60cee0012d1821000721b298004800d722..."} 
[2026-07-07 12:34:02] local.INFO: Packet analysis {"connection_id":125180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b60"} 
[2026-07-07 12:34:02] local.INFO: Extracted packet for processing {"connection_id":125180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b60"} 
[2026-07-07 12:34:02] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":34,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552347392001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:34: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-07-07 12:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783407628000,"timestamp_ms":1783407628000,"timestamp_seconds":1783407628,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b60cee0"} 
[2026-07-07 12:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-07 12:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552347392001,"66":11711,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552347392001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:34:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:34:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552347392001,"power":11711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":125180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:34:02] local.INFO: GPS data processed {"connection_id":125180,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:34:02] local.INFO: Acknowledgment sent {"connection_id":125180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:34:04] local.INFO: TCP Data received {"connection_id":126413,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:34:04] local.INFO: Processing buffer {"connection_id":126413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:34:04] local.INFO: IMEI packet received {"connection_id":126413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":126413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:34:09] local.INFO: TCP Data received {"connection_id":126413,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:34:09] local.INFO: Processing buffer {"connection_id":126413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:34:09] local.INFO: IMEI packet received {"connection_id":126413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":126413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:34:10] local.INFO: TCP Data received {"connection_id":126413,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b636308012d7f9d8005afd198000600b72b..."} 
[2026-07-07 12:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b636308012d7f9d8005afd198000600b72b..."} 
[2026-07-07 12:34:10] local.INFO: Processing buffer {"connection_id":126413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b636308012d7f9d8005afd198000600b72b..."} 
[2026-07-07 12:34:10] local.INFO: Packet analysis {"connection_id":126413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b63"} 
[2026-07-07 12:34:10] local.INFO: Extracted packet for processing {"connection_id":126413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b63"} 
[2026-07-07 12:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408536,"longitude_deg":76.3338112,"latitude_deg":9.5408536,"altitude":6,"angle":183,"satellites":43,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd198","is_valid_coordinates":true} 
[2026-07-07 12:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552355328001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073361408,"note":"Value kept but may cause issues"} 
[2026-07-07 12:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783407797000,"timestamp_ms":1783407797000,"timestamp_seconds":1783407797,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b636308"} 
[2026-07-07 12:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 12:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-07 12:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552355328001,"66":25756,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073361408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552355328001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:34:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073361408,"description":"Unknown IO ID 45"} 
[2026-07-07 12:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552355328001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073361408}} 
[2026-07-07 12:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":126413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:34:10] local.INFO: GPS data processed {"connection_id":126413,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:34:10] local.INFO: Acknowledgment sent {"connection_id":126413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:34:27] local.INFO: TCP Data received {"connection_id":125181,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:34:27] local.INFO: Processing buffer {"connection_id":125181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:34:27] local.INFO: IMEI packet received {"connection_id":125181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":125181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:34:32] local.INFO: TCP Data received {"connection_id":125181,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:34:32] local.INFO: Processing buffer {"connection_id":125181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:34:32] local.INFO: IMEI packet received {"connection_id":125181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":125181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:34:33] local.INFO: TCP Data received {"connection_id":125181,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6120e8012d1821000721b298004800d724..."} 
[2026-07-07 12:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6120e8012d1821000721b298004800d724..."} 
[2026-07-07 12:34:33] local.INFO: Processing buffer {"connection_id":125181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6120e8012d1821000721b298004800d724..."} 
[2026-07-07 12:34:33] local.INFO: Packet analysis {"connection_id":125181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b61"} 
[2026-07-07 12:34:33] local.INFO: Extracted packet for processing {"connection_id":125181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b61"} 
[2026-07-07 12:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552352768001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:34: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-07-07 12:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783407649000,"timestamp_ms":1783407649000,"timestamp_seconds":1783407649,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6120e8"} 
[2026-07-07 12:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:34: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-07-07 12:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552352768001,"66":12428,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552352768001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:34:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:34:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552352768001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":125181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:34:33] local.INFO: GPS data processed {"connection_id":125181,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:34:33] local.INFO: Acknowledgment sent {"connection_id":125181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:34:35] local.INFO: TCP Data received {"connection_id":125181,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b616f08012d1821000721b298004800d724..."} 
[2026-07-07 12:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b616f08012d1821000721b298004800d724..."} 
[2026-07-07 12:34:35] local.INFO: Processing buffer {"connection_id":125181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b616f08012d1821000721b298004800d724..."} 
[2026-07-07 12:34:35] local.INFO: Packet analysis {"connection_id":125181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b61"} 
[2026-07-07 12:34:35] local.INFO: Extracted packet for processing {"connection_id":125181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b61"} 
[2026-07-07 12:34:35] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552358144001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783407669000,"timestamp_ms":1783407669000,"timestamp_seconds":1783407669,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b616f08"} 
[2026-07-07 12:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-07 12:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552358144001,"66":12428,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552358144001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:34:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:34:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552358144001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":125181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:34:35] local.INFO: GPS data processed {"connection_id":125181,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:34:35] local.INFO: Acknowledgment sent {"connection_id":125181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:34:41] local.INFO: TCP Data received {"connection_id":126413,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b63c4b0012d7f9d8005afd178000600b72a..."} 
[2026-07-07 12:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b63c4b0012d7f9d8005afd178000600b72a..."} 
[2026-07-07 12:34:41] local.INFO: Processing buffer {"connection_id":126413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b63c4b0012d7f9d8005afd178000600b72a..."} 
[2026-07-07 12:34:41] local.INFO: Packet analysis {"connection_id":126413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b63"} 
[2026-07-07 12:34:41] local.INFO: Extracted packet for processing {"connection_id":126413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b63"} 
[2026-07-07 12:34:41] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408504,"longitude_deg":76.3338112,"latitude_deg":9.5408504,"altitude":6,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd178","is_valid_coordinates":true} 
[2026-07-07 12:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552396032001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341134095381692416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073361408,"note":"Value kept but may cause issues"} 
[2026-07-07 12:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783407822000,"timestamp_ms":1783407822000,"timestamp_seconds":1783407822,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b63c4b0"} 
[2026-07-07 12:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:34: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-07-07 12:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-07 12:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552396032001,"66":27800,"250":206,"85":12544,"24":0,"16":341134095381692416,"45":9195646776073361408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 12:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552396032001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:34:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 12:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341134095381692416,"km_value":341134095381692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073361408,"description":"Unknown IO ID 45"} 
[2026-07-07 12:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552396032001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073361408}} 
[2026-07-07 12:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":126413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:34:41] local.INFO: GPS data processed {"connection_id":126413,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:34:41] local.INFO: Acknowledgment sent {"connection_id":126413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:34:59] local.INFO: TCP Data received {"connection_id":125182,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:34:59] local.INFO: Processing buffer {"connection_id":125182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:34:59] local.INFO: IMEI packet received {"connection_id":125182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":125182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:35:00] local.INFO: TCP Data received {"connection_id":125182,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:35:00] local.INFO: Processing buffer {"connection_id":125182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:35:00] local.INFO: IMEI packet received {"connection_id":125182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":125182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:35:00] local.INFO: TCP Data received {"connection_id":125182,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:35:00] local.INFO: Processing buffer {"connection_id":125182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:35:00] local.INFO: IMEI packet received {"connection_id":125182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":125182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:35:01] local.INFO: TCP Data received {"connection_id":125182,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:35:01] local.INFO: Processing buffer {"connection_id":125182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:35:01] local.INFO: IMEI packet received {"connection_id":125182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":125182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:35:07] local.INFO: TCP Data received {"connection_id":125181,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b61c110012d1821000721b298004800d725..."} 
[2026-07-07 12:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b61c110012d1821000721b298004800d725..."} 
[2026-07-07 12:35:07] local.INFO: Processing buffer {"connection_id":125181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b61c110012d1821000721b298004800d725..."} 
[2026-07-07 12:35:07] local.INFO: Packet analysis {"connection_id":125181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b61"} 
[2026-07-07 12:35:07] local.INFO: Extracted packet for processing {"connection_id":125181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b61"} 
[2026-07-07 12:35:07] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552363264001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783407690000,"timestamp_ms":1783407690000,"timestamp_seconds":1783407690,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b61c110"} 
[2026-07-07 12:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:35: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-07-07 12:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-07 12:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552363264001,"66":12406,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552363264001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:35:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:35:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552363264001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":125181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:35:07] local.INFO: GPS data processed {"connection_id":125181,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:35:07] local.INFO: Acknowledgment sent {"connection_id":125181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:35:22] local.INFO: TCP Data received {"connection_id":124467,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:35:22] local.INFO: Processing buffer {"connection_id":124467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:35:22] local.INFO: IMEI packet received {"connection_id":124467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":124467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:35:26] local.INFO: TCP Data received {"connection_id":124467,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:35:26] local.INFO: Processing buffer {"connection_id":124467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:35:26] local.INFO: IMEI packet received {"connection_id":124467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":124467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:35:27] local.INFO: TCP Data received {"connection_id":124467,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b621318012d1821000721b298004800d723..."} 
[2026-07-07 12:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b621318012d1821000721b298004800d723..."} 
[2026-07-07 12:35:28] local.INFO: Processing buffer {"connection_id":124467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b621318012d1821000721b298004800d723..."} 
[2026-07-07 12:35:28] local.INFO: Packet analysis {"connection_id":124467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b62"} 
[2026-07-07 12:35:28] local.INFO: Extracted packet for processing {"connection_id":124467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b62"} 
[2026-07-07 12:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552368640001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783407711000,"timestamp_ms":1783407711000,"timestamp_seconds":1783407711,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b621318"} 
[2026-07-07 12:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 12:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552368640001,"66":12385,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552368640001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:35:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:35:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552368640001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":124467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:35:28] local.INFO: GPS data processed {"connection_id":124467,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:35:28] local.INFO: Acknowledgment sent {"connection_id":124467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:35:32] local.INFO: TCP Data received {"connection_id":124467,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b626520012d1821000721b298004800d725..."} 
[2026-07-07 12:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b626520012d1821000721b298004800d725..."} 
[2026-07-07 12:35:32] local.INFO: Processing buffer {"connection_id":124467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b626520012d1821000721b298004800d725..."} 
[2026-07-07 12:35:32] local.INFO: Packet analysis {"connection_id":124467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b62"} 
[2026-07-07 12:35:32] local.INFO: Extracted packet for processing {"connection_id":124467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b62"} 
[2026-07-07 12:35:32] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 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-07-07 12:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552374016001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783407732000,"timestamp_ms":1783407732000,"timestamp_seconds":1783407732,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b626520"} 
[2026-07-07 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-07-07 12:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 12:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 12:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552374016001,"66":12428,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552374016001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:35:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:35:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552374016001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":124467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:35:32] local.INFO: GPS data processed {"connection_id":124467,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:35:32] local.INFO: Acknowledgment sent {"connection_id":124467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:36:04] local.INFO: TCP Data received {"connection_id":124467,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b62b728012d1821000721b298004800d727..."} 
[2026-07-07 12:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b62b728012d1821000721b298004800d727..."} 
[2026-07-07 12:36:04] local.INFO: Processing buffer {"connection_id":124467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b62b728012d1821000721b298004800d727..."} 
[2026-07-07 12:36:04] local.INFO: Packet analysis {"connection_id":124467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b62"} 
[2026-07-07 12:36:04] local.INFO: Extracted packet for processing {"connection_id":124467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b62"} 
[2026-07-07 12:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552379392001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783407753000,"timestamp_ms":1783407753000,"timestamp_seconds":1783407753,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b62b728"} 
[2026-07-07 12:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-07 12:36: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-07-07 12:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552379392001,"66":12428,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552379392001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:36:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:36:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552379392001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":124467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:36:04] local.INFO: GPS data processed {"connection_id":124467,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:36:04] local.INFO: Acknowledgment sent {"connection_id":124467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:36:22] local.INFO: TCP Data received {"connection_id":125184,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:36:22] local.INFO: Processing buffer {"connection_id":125184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:36:22] local.INFO: IMEI packet received {"connection_id":125184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":125184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:36:26] local.INFO: TCP Data received {"connection_id":125184,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:36:26] local.INFO: Processing buffer {"connection_id":125184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:36:26] local.INFO: IMEI packet received {"connection_id":125184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":125184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:36:29] local.INFO: TCP Data received {"connection_id":125184,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b630930012d1821000721b298004800d724..."} 
[2026-07-07 12:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b630930012d1821000721b298004800d724..."} 
[2026-07-07 12:36:29] local.INFO: Processing buffer {"connection_id":125184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b630930012d1821000721b298004800d724..."} 
[2026-07-07 12:36:29] local.INFO: Packet analysis {"connection_id":125184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b63"} 
[2026-07-07 12:36:29] local.INFO: Extracted packet for processing {"connection_id":125184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b63"} 
[2026-07-07 12:36:29] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552384768001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783407774000,"timestamp_ms":1783407774000,"timestamp_seconds":1783407774,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b630930"} 
[2026-07-07 12:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-07 12:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552384768001,"66":12178,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552384768001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:36:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:36:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552384768001,"power":12178,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":125184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:36:29] local.INFO: GPS data processed {"connection_id":125184,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:36:29] local.INFO: Acknowledgment sent {"connection_id":125184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:37:00] local.INFO: TCP Data received {"connection_id":125184,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b635b38012d1821000721b298004800d727..."} 
[2026-07-07 12:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b635b38012d1821000721b298004800d727..."} 
[2026-07-07 12:37:00] local.INFO: Processing buffer {"connection_id":125184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b635b38012d1821000721b298004800d727..."} 
[2026-07-07 12:37:00] local.INFO: Packet analysis {"connection_id":125184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b63"} 
[2026-07-07 12:37:00] local.INFO: Extracted packet for processing {"connection_id":125184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b63"} 
[2026-07-07 12:37:00] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648920,"longitude_deg":75.6556032,"latitude_deg":11.964892,"altitude":72,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-07-07 12:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552390144001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894063694184448,"note":"Value kept but may cause issues"} 
[2026-07-07 12:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771845632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783407795000,"timestamp_ms":1783407795000,"timestamp_seconds":1783407795,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b635b38"} 
[2026-07-07 12:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 12:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552390144001,"66":12428,"120":206,"28":31744,"24":0,"16":4894063694184448,"45":1738670961771845632},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552390144001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:37:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:37:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894063694184448,"km_value":4894063694184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771845632,"description":"Unknown IO ID 45"} 
[2026-07-07 12:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552390144001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771845632}} 
[2026-07-07 12:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":125184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:37:01] local.INFO: GPS data processed {"connection_id":125184,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:37:01] local.INFO: Acknowledgment sent {"connection_id":125184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:37:21] local.INFO: TCP Data received {"connection_id":124468,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:37:21] local.INFO: Processing buffer {"connection_id":124468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:37:21] local.INFO: IMEI packet received {"connection_id":124468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":124468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:37:22] local.INFO: TCP Data received {"connection_id":124468,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:37:22] local.INFO: Processing buffer {"connection_id":124468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:37:22] local.INFO: IMEI packet received {"connection_id":124468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":124468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:37:26] local.INFO: TCP Data received {"connection_id":124468,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:37:26] local.INFO: Processing buffer {"connection_id":124468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:37:26] local.INFO: IMEI packet received {"connection_id":124468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":124468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:37:28] local.INFO: TCP Data received {"connection_id":124468,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6631c8012d181e400721ae98004900d326..."} 
[2026-07-07 12:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6631c8012d181e400721ae98004900d326..."} 
[2026-07-07 12:37:28] local.INFO: Processing buffer {"connection_id":124468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6631c8012d181e400721ae98004900d326..."} 
[2026-07-07 12:37:28] local.INFO: Packet analysis {"connection_id":124468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b66"} 
[2026-07-07 12:37:28] local.INFO: Extracted packet for processing {"connection_id":124468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b66"} 
[2026-07-07 12:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647896,"longitude_deg":75.6555328,"latitude_deg":11.9647896,"altitude":73,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae98","is_valid_coordinates":true} 
[2026-07-07 12:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552437760001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894128118693888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585629184,"note":"Value kept but may cause issues"} 
[2026-07-07 12:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783407981000,"timestamp_ms":1783407981000,"timestamp_seconds":1783407981,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6631c8"} 
[2026-07-07 12:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 12:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552437760001,"66":14070,"120":206,"28":31744,"24":0,"16":4894128118693888,"45":1737896905585629184},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552437760001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:37:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:37:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894128118693888,"km_value":4894128118693.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585629184,"description":"Unknown IO ID 45"} 
[2026-07-07 12:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552437760001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585629184}} 
[2026-07-07 12:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":124468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:37:28] local.INFO: GPS data processed {"connection_id":124468,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:37:28] local.INFO: Acknowledgment sent {"connection_id":124468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:38:00] local.INFO: TCP Data received {"connection_id":124468,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6683d0012d181e400721ae98004900d326..."} 
[2026-07-07 12:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6683d0012d181e400721ae98004900d326..."} 
[2026-07-07 12:38:00] local.INFO: Processing buffer {"connection_id":124468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6683d0012d181e400721ae98004900d326..."} 
[2026-07-07 12:38:00] local.INFO: Packet analysis {"connection_id":124468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b66"} 
[2026-07-07 12:38:00] local.INFO: Extracted packet for processing {"connection_id":124468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b66"} 
[2026-07-07 12:38:00] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647896,"longitude_deg":75.6555328,"latitude_deg":11.9647896,"altitude":73,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae98","is_valid_coordinates":true} 
[2026-07-07 12:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552443136001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894128118693888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585629184,"note":"Value kept but may cause issues"} 
[2026-07-07 12:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783408002000,"timestamp_ms":1783408002000,"timestamp_seconds":1783408002,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6683d0"} 
[2026-07-07 12:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-07 12:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552443136001,"66":14113,"120":206,"28":31744,"24":0,"16":4894128118693888,"45":1737896905585629184},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552443136001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:38:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:38:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894128118693888,"km_value":4894128118693.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585629184,"description":"Unknown IO ID 45"} 
[2026-07-07 12:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552443136001,"power":14113,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585629184}} 
[2026-07-07 12:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":124468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:38:00] local.INFO: GPS data processed {"connection_id":124468,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:38:00] local.INFO: Acknowledgment sent {"connection_id":124468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:38:21] local.INFO: TCP Data received {"connection_id":124469,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:38:21] local.INFO: Processing buffer {"connection_id":124469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:38:21] local.INFO: IMEI packet received {"connection_id":124469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":124469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:38:24] local.INFO: TCP Data received {"connection_id":124469,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:38:24] local.INFO: Processing buffer {"connection_id":124469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:38:24] local.INFO: IMEI packet received {"connection_id":124469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":124469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:38:27] local.INFO: TCP Data received {"connection_id":124469,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:38:27] local.INFO: Processing buffer {"connection_id":124469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:38:27] local.INFO: IMEI packet received {"connection_id":124469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":124469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:38:28] local.INFO: TCP Data received {"connection_id":124469,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b669758012d181dc00721ad28004e00c226..."} 
[2026-07-07 12:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b669758012d181dc00721ad28004e00c226..."} 
[2026-07-07 12:38:28] local.INFO: Processing buffer {"connection_id":124469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b669758012d181dc00721ad28004e00c226..."} 
[2026-07-07 12:38:28] local.INFO: Packet analysis {"connection_id":124469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b66"} 
[2026-07-07 12:38:28] local.INFO: Extracted packet for processing {"connection_id":124469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b66"} 
[2026-07-07 12:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647528,"longitude_deg":75.65552,"latitude_deg":11.9647528,"altitude":78,"angle":194,"satellites":38,"speed":2,"hex_longitude":"2d181dc0","hex_latitude":"0721ad28","is_valid_coordinates":true} 
[2026-07-07 12:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552448512001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894145298563072,"note":"Value kept but may cause issues"} 
[2026-07-07 12:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585629184,"note":"Value kept but may cause issues"} 
[2026-07-07 12:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783408007000,"timestamp_ms":1783408007000,"timestamp_seconds":1783408007,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b669758"} 
[2026-07-07 12:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 12:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552448512001,"66":14157,"120":206,"28":31744,"24":2,"16":4894145298563072,"45":1737896905585629184},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 12:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552448512001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:38:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 12:38:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894145298563072,"km_value":4894145298563.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585629184,"description":"Unknown IO ID 45"} 
[2026-07-07 12:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552448512001,"power":14157,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1737896905585629184}} 
[2026-07-07 12:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":124469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:38:28] local.INFO: GPS data processed {"connection_id":124469,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:38:28] local.INFO: Acknowledgment sent {"connection_id":124469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:39:00] local.INFO: TCP Data received {"connection_id":124469,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b67f300012d18c48007214f40004300a421..."} 
[2026-07-07 12:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b67f300012d18c48007214f40004300a421..."} 
[2026-07-07 12:39:00] local.INFO: Processing buffer {"connection_id":124469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b67f300012d18c48007214f40004300a421..."} 
[2026-07-07 12:39:00] local.INFO: Packet analysis {"connection_id":124469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b67"} 
[2026-07-07 12:39:00] local.INFO: Extracted packet for processing {"connection_id":124469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b67"} 
[2026-07-07 12:39:00] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119623488,"longitude_deg":75.6597888,"latitude_deg":11.9623488,"altitude":67,"angle":164,"satellites":33,"speed":37,"hex_longitude":"2d18c480","hex_latitude":"07214f40","is_valid_coordinates":true} 
[2026-07-07 12:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552470272001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4896627789660160,"note":"Value kept but may cause issues"} 
[2026-07-07 12:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779766308366972928,"note":"Value kept but may cause issues"} 
[2026-07-07 12:39: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-07-07 12:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783408096000,"timestamp_ms":1783408096000,"timestamp_seconds":1783408096,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b67f300"} 
[2026-07-07 12:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:39: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-07-07 12:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-07 12:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552470272001,"66":14396,"121":206,"28":31744,"24":37,"16":4896627789660160,"45":1779766308366972928},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552470272001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:39:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:39:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4896627789660160,"km_value":4896627789660.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779766308366972928,"description":"Unknown IO ID 45"} 
[2026-07-07 12:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552470272001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1779766308366972928}} 
[2026-07-07 12:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":124469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:39:00] local.INFO: GPS data processed {"connection_id":124469,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:39:00] local.INFO: Acknowledgment sent {"connection_id":124469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:39:21] local.INFO: TCP Data received {"connection_id":126417,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:39:21] local.INFO: Processing buffer {"connection_id":126417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:39:21] local.INFO: IMEI packet received {"connection_id":126417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":126417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:39:29] local.INFO: TCP Data received {"connection_id":126416,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126416,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:39:29] local.INFO: Processing buffer {"connection_id":126416,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:39:29] local.INFO: IMEI packet received {"connection_id":126416,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 12:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":126416,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:39:29] local.INFO: TCP Data received {"connection_id":126417,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:39:29] local.INFO: Processing buffer {"connection_id":126417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:39:29] local.INFO: IMEI packet received {"connection_id":126417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":126417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:39:30] local.INFO: TCP Data received {"connection_id":126417,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:39:30] local.INFO: Processing buffer {"connection_id":126417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:39:30] local.INFO: IMEI packet received {"connection_id":126417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":126417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:39:31] local.INFO: TCP Data received {"connection_id":126417,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:39:31] local.INFO: Processing buffer {"connection_id":126417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:39:31] local.INFO: IMEI packet received {"connection_id":126417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":126417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:39:32] local.INFO: TCP Data received {"connection_id":126417,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b67fad0012d18c58007214800004200b220..."} 
[2026-07-07 12:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b67fad0012d18c58007214800004200b220..."} 
[2026-07-07 12:39:32] local.INFO: Processing buffer {"connection_id":126417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b67fad0012d18c58007214800004200b220..."} 
[2026-07-07 12:39:32] local.INFO: Packet analysis {"connection_id":126417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b67"} 
[2026-07-07 12:39:32] local.INFO: Extracted packet for processing {"connection_id":126417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b67"} 
[2026-07-07 12:39:32] local.INFO: GPS Element Parsed {"raw_longitude":756598144,"raw_latitude":119621632,"longitude_deg":75.6598144,"latitude_deg":11.9621632,"altitude":66,"angle":178,"satellites":32,"speed":37,"hex_longitude":"2d18c580","hex_latitude":"07214800","is_valid_coordinates":true} 
[2026-07-07 12:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552472576001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4896717983973376,"note":"Value kept but may cause issues"} 
[2026-07-07 12:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457527296,"note":"Value kept but may cause issues"} 
[2026-07-07 12:39: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-07-07 12:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783408098000,"timestamp_ms":1783408098000,"timestamp_seconds":1783408098,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b67fad0"} 
[2026-07-07 12:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 12:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552472576001,"66":14374,"121":206,"28":31744,"24":37,"16":4896717983973376,"45":1784692120457527296},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552472576001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:39:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:39:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4896717983973376,"km_value":4896717983973.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457527296,"description":"Unknown IO ID 45"} 
[2026-07-07 12:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552472576001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1784692120457527296}} 
[2026-07-07 12:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":126417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:39:33] local.INFO: GPS data processed {"connection_id":126417,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:39:33] local.INFO: Acknowledgment sent {"connection_id":126417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:40:04] local.INFO: TCP Data received {"connection_id":125185,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:40:04] local.INFO: Processing buffer {"connection_id":125185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:40:04] local.INFO: IMEI packet received {"connection_id":125185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":125185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:40:04] local.INFO: TCP Data received {"connection_id":126417,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b68e918012d1952c00720ab980029006222..."} 
[2026-07-07 12:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b68e918012d1952c00720ab980029006222..."} 
[2026-07-07 12:40:04] local.INFO: Processing buffer {"connection_id":126417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b68e918012d1952c00720ab980029006222..."} 
[2026-07-07 12:40:04] local.INFO: Packet analysis {"connection_id":126417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b68"} 
[2026-07-07 12:40:04] local.INFO: Extracted packet for processing {"connection_id":126417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b68"} 
[2026-07-07 12:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756634304,"raw_latitude":119581592,"longitude_deg":75.6634304,"latitude_deg":11.9581592,"altitude":41,"angle":98,"satellites":34,"speed":29,"hex_longitude":"2d1952c0","hex_latitude":"0720ab98","is_valid_coordinates":true} 
[2026-07-07 12:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552487680001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4899544072454144,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821143129931065344,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40: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-07-07 12:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783408159000,"timestamp_ms":1783408159000,"timestamp_seconds":1783408159,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b68e918"} 
[2026-07-07 12:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 12:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552487680001,"66":13341,"121":206,"28":31744,"24":29,"16":4899544072454144,"45":1821143129931065344},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552487680001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:40:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:40:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4899544072454144,"km_value":4899544072454.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821143129931065344,"description":"Unknown IO ID 45"} 
[2026-07-07 12:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552487680001,"power":13341,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1821143129931065344}} 
[2026-07-07 12:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":126417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:40:04] local.INFO: GPS data processed {"connection_id":126417,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:40:04] local.INFO: Acknowledgment sent {"connection_id":126417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:40:04] local.INFO: TCP Data received {"connection_id":125186,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:40:04] local.INFO: Processing buffer {"connection_id":125186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:40:04] local.INFO: IMEI packet received {"connection_id":125186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 12:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":125186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:40:07] local.INFO: TCP Data received {"connection_id":125185,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:40:07] local.INFO: Processing buffer {"connection_id":125185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:40:07] local.INFO: IMEI packet received {"connection_id":125185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":125185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:40:08] local.INFO: TCP Data received {"connection_id":125185,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6802a0012d7ea0c005af6b68000700b629..."} 
[2026-07-07 12:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6802a0012d7ea0c005af6b68000700b629..."} 
[2026-07-07 12:40:08] local.INFO: Processing buffer {"connection_id":125185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6802a0012d7ea0c005af6b68000700b629..."} 
[2026-07-07 12:40:08] local.INFO: Packet analysis {"connection_id":125185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b68"} 
[2026-07-07 12:40:08] local.INFO: Extracted packet for processing {"connection_id":125185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b68"} 
[2026-07-07 12:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763273408,"raw_latitude":95382376,"longitude_deg":76.3273408,"latitude_deg":9.5382376,"altitude":7,"angle":182,"satellites":41,"speed":16,"hex_longitude":"2d7ea0c0","hex_latitude":"05af6b68","is_valid_coordinates":true} 
[2026-07-07 12:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552472832001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341139099018592256,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124292869470781440,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783408100000,"timestamp_ms":1783408100000,"timestamp_seconds":1783408100,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6802a0"} 
[2026-07-07 12:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:40: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-07-07 12:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 12:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552472832001,"66":27930,"27":206,"85":12544,"24":16,"16":341139099018592256,"45":9124292869470781440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-07 12:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552472832001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:40:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-07 12:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341139099018592256,"km_value":341139099018592.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124292869470781440,"description":"Unknown IO ID 45"} 
[2026-07-07 12:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552472832001,"power":27930,"unknown_27":206,"unknown_85":12544,"ignition":16,"odometer":null,"unknown_45":9124292869470781440}} 
[2026-07-07 12:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":125185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:40:08] local.INFO: GPS data processed {"connection_id":125185,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:40:08] local.INFO: Acknowledgment sent {"connection_id":125185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:40:09] local.INFO: TCP Data received {"connection_id":125185,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b684120012d7ea24005af4738000800b127..."} 
[2026-07-07 12:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b684120012d7ea24005af4738000800b127..."} 
[2026-07-07 12:40:09] local.INFO: Processing buffer {"connection_id":125185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b684120012d7ea24005af4738000800b127..."} 
[2026-07-07 12:40:09] local.INFO: Packet analysis {"connection_id":125185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b68"} 
[2026-07-07 12:40:09] local.INFO: Extracted packet for processing {"connection_id":125185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b68"} 
[2026-07-07 12:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763273792,"raw_latitude":95373112,"longitude_deg":76.3273792,"latitude_deg":9.5373112,"altitude":8,"angle":177,"satellites":39,"speed":21,"hex_longitude":"2d7ea240","hex_latitude":"05af4738","is_valid_coordinates":true} 
[2026-07-07 12:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552473600001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341139545695191040,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124503975703046144,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783408116000,"timestamp_ms":1783408116000,"timestamp_seconds":1783408116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b684120"} 
[2026-07-07 12:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:40: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-07-07 12:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 12:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552473600001,"66":27713,"28":206,"85":12544,"24":21,"16":341139545695191040,"45":9124503975703046144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-07 12:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552473600001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:40:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-07 12:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341139545695191040,"km_value":341139545695191.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124503975703046144,"description":"Unknown IO ID 45"} 
[2026-07-07 12:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552473600001,"power":27713,"unknown_28":206,"unknown_85":12544,"ignition":21,"odometer":null,"unknown_45":9124503975703046144}} 
[2026-07-07 12:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":125185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:40:09] local.INFO: GPS data processed {"connection_id":125185,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:40:09] local.INFO: Acknowledgment sent {"connection_id":125185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:40:22] local.INFO: TCP Data received {"connection_id":126418,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:40:22] local.INFO: Processing buffer {"connection_id":126418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:40:22] local.INFO: IMEI packet received {"connection_id":126418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":126418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:40:26] local.INFO: TCP Data received {"connection_id":126418,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:40:26] local.INFO: Processing buffer {"connection_id":126418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:40:26] local.INFO: IMEI packet received {"connection_id":126418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":126418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:40:27] local.INFO: TCP Data received {"connection_id":126418,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:40:27] local.INFO: Processing buffer {"connection_id":126418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:40:27] local.INFO: IMEI packet received {"connection_id":126418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":126418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:40:30] local.INFO: TCP Data received {"connection_id":126418,"ip":"117.224.141.66","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f3b..."} 
[2026-07-07 12:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126418,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f3b..."} 
[2026-07-07 12:40:30] local.INFO: Processing buffer {"connection_id":126418,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f3b..."} 
[2026-07-07 12:40:30] local.INFO: IMEI packet received {"connection_id":126418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":126418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:40:34] local.INFO: TCP Data received {"connection_id":126418,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b690088012d195cc00720a9d0002b008b1f..."} 
[2026-07-07 12:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b690088012d195cc00720a9d0002b008b1f..."} 
[2026-07-07 12:40:34] local.INFO: Processing buffer {"connection_id":126418,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3b68fca0012d195c400720aa90002a00711f..."} 
[2026-07-07 12:40:34] local.INFO: Packet analysis {"connection_id":126418,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3b68"} 
[2026-07-07 12:40:34] local.INFO: Extracted packet for processing {"connection_id":126418,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b68"} 
[2026-07-07 12:40:34] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119581328,"longitude_deg":75.6636736,"latitude_deg":11.9581328,"altitude":42,"angle":113,"satellites":31,"speed":11,"hex_longitude":"2d195c40","hex_latitude":"0720aa90","is_valid_coordinates":true} 
[2026-07-07 12:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552488704001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4899660036571136,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824731935883892736,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783408164000,"timestamp_ms":1783408164000,"timestamp_seconds":1783408164,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b68fca0"} 
[2026-07-07 12:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-07 12:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552488704001,"66":14265,"121":206,"28":31744,"24":11,"16":4899660036571136,"45":1824731935883892736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552488704001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:40:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:40:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4899660036571136,"km_value":4899660036571.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824731935883892736,"description":"Unknown IO ID 45"} 
[2026-07-07 12:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552488704001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1824731935883892736}} 
[2026-07-07 12:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":126418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:40:34] local.INFO: GPS data processed {"connection_id":126418,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:40:34] local.INFO: Acknowledgment sent {"connection_id":126418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:40:34] local.INFO: Packet analysis {"connection_id":126418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b69"} 
[2026-07-07 12:40:34] local.INFO: Extracted packet for processing {"connection_id":126418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b69"} 
[2026-07-07 12:40:34] local.INFO: GPS Element Parsed {"raw_longitude":756636864,"raw_latitude":119581136,"longitude_deg":75.6636864,"latitude_deg":11.9581136,"altitude":43,"angle":139,"satellites":31,"speed":10,"hex_longitude":"2d195cc0","hex_latitude":"0720a9d0","is_valid_coordinates":true} 
[2026-07-07 12:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552489984001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4899672921473024,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948162576384,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783408165000,"timestamp_ms":1783408165000,"timestamp_seconds":1783408165,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b690088"} 
[2026-07-07 12:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 12:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552489984001,"66":13439,"121":206,"28":31744,"24":10,"16":4899672921473024,"45":1827405948162576384},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552489984001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:40:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:40:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4899672921473024,"km_value":4899672921473.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948162576384,"description":"Unknown IO ID 45"} 
[2026-07-07 12:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552489984001,"power":13439,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1827405948162576384}} 
[2026-07-07 12:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":126418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:40:34] local.INFO: GPS data processed {"connection_id":126418,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:40:34] local.INFO: Acknowledgment sent {"connection_id":126418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:40:35] local.INFO: TCP Data received {"connection_id":126418,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b690470012d195d400720a8b0002b00ab1f..."} 
[2026-07-07 12:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b690470012d195d400720a8b0002b00ab1f..."} 
[2026-07-07 12:40:35] local.INFO: Processing buffer {"connection_id":126418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b690470012d195d400720a8b0002b00ab1f..."} 
[2026-07-07 12:40:35] local.INFO: Packet analysis {"connection_id":126418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b69"} 
[2026-07-07 12:40:35] local.INFO: Extracted packet for processing {"connection_id":126418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b69"} 
[2026-07-07 12:40:35] local.INFO: GPS Element Parsed {"raw_longitude":756636992,"raw_latitude":119580848,"longitude_deg":75.6636992,"latitude_deg":11.9580848,"altitude":43,"angle":171,"satellites":31,"speed":11,"hex_longitude":"2d195d40","hex_latitude":"0720a8b0","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552490240001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4899685806374912,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827546685650882560,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783408166000,"timestamp_ms":1783408166000,"timestamp_seconds":1783408166,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b690470"} 
[2026-07-07 12:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-07-07 12:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552490240001,"66":13439,"121":206,"28":31744,"24":11,"16":4899685806374912,"45":1827546685650882560},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552490240001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:40:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:40:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4899685806374912,"km_value":4899685806374.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827546685650882560,"description":"Unknown IO ID 45"} 
[2026-07-07 12:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552490240001,"power":13439,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1827546685650882560}} 
[2026-07-07 12:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":126418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:40:35] local.INFO: GPS data processed {"connection_id":126418,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:40:35] local.INFO: Acknowledgment sent {"connection_id":126418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:40:41] local.INFO: TCP Data received {"connection_id":125185,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6873e8012d7ea3c005af21f0000900b127..."} 
[2026-07-07 12:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6873e8012d7ea3c005af21f0000900b127..."} 
[2026-07-07 12:40:41] local.INFO: Processing buffer {"connection_id":125185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6873e8012d7ea3c005af21f0000900b127..."} 
[2026-07-07 12:40:41] local.INFO: Packet analysis {"connection_id":125185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b68"} 
[2026-07-07 12:40:41] local.INFO: Extracted packet for processing {"connection_id":125185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b68"} 
[2026-07-07 12:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763274176,"raw_latitude":95363568,"longitude_deg":76.3274176,"latitude_deg":9.5363568,"altitude":9,"angle":177,"satellites":39,"speed":36,"hex_longitude":"2d7ea3c0","hex_latitude":"05af21f0","is_valid_coordinates":true} 
[2026-07-07 12:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552477696001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341140009551659008,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124926188165740544,"note":"Value kept but may cause issues"} 
[2026-07-07 12:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783408129000,"timestamp_ms":1783408129000,"timestamp_seconds":1783408129,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6873e8"} 
[2026-07-07 12:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-07 12:40: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-07-07 12:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552477696001,"66":27919,"28":206,"85":12544,"24":36,"16":341140009551659008,"45":9124926188165740544},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-07 12:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552477696001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:40:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-07 12:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341140009551659008,"km_value":341140009551659.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124926188165740544,"description":"Unknown IO ID 45"} 
[2026-07-07 12:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552477696001,"power":27919,"unknown_28":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9124926188165740544}} 
[2026-07-07 12:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":125185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:40:41] local.INFO: GPS data processed {"connection_id":125185,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:40:41] local.INFO: Acknowledgment sent {"connection_id":125185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:40:58] local.INFO: TCP Data received {"connection_id":124377,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:40:58] local.INFO: Processing buffer {"connection_id":124377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:40:58] local.INFO: IMEI packet received {"connection_id":124377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":124377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:40:59] local.INFO: TCP Data received {"connection_id":124377,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:40:59] local.INFO: Processing buffer {"connection_id":124377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:40:59] local.INFO: IMEI packet received {"connection_id":124377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":124377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:41:04] local.INFO: TCP Data received {"connection_id":124377,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:41:04] local.INFO: Processing buffer {"connection_id":124377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:41:04] local.INFO: IMEI packet received {"connection_id":124377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":124377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:41:06] local.INFO: TCP Data received {"connection_id":124377,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b689ee0012d7ea48005aefd50000800b226..."} 
[2026-07-07 12:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b689ee0012d7ea48005aefd50000800b226..."} 
[2026-07-07 12:41:06] local.INFO: Processing buffer {"connection_id":124377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b689ee0012d7ea48005aefd50000800b226..."} 
[2026-07-07 12:41:06] local.INFO: Packet analysis {"connection_id":124377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b68"} 
[2026-07-07 12:41:06] local.INFO: Extracted packet for processing {"connection_id":124377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b68"} 
[2026-07-07 12:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763274368,"raw_latitude":95354192,"longitude_deg":76.3274368,"latitude_deg":9.5354192,"altitude":8,"angle":178,"satellites":38,"speed":34,"hex_longitude":"2d7ea480","hex_latitude":"05aefd50","is_valid_coordinates":true} 
[2026-07-07 12:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552481024001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341140464818192384,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125348400628363264,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783408140000,"timestamp_ms":1783408140000,"timestamp_seconds":1783408140,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b689ee0"} 
[2026-07-07 12:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:41: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-07-07 12:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 12:41: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-07-07 12:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552481024001,"66":27865,"28":206,"85":12544,"24":34,"16":341140464818192384,"45":9125348400628363264},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-07 12:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552481024001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:41:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-07 12:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 12:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341140464818192384,"km_value":341140464818192.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125348400628363264,"description":"Unknown IO ID 45"} 
[2026-07-07 12:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552481024001,"power":27865,"unknown_28":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9125348400628363264}} 
[2026-07-07 12:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":124377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:41:06] local.INFO: GPS data processed {"connection_id":124377,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:41:06] local.INFO: Acknowledgment sent {"connection_id":124377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:41:07] local.INFO: TCP Data received {"connection_id":126418,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6998e0012d195dc0072088b00021009621..."} 
[2026-07-07 12:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6998e0012d195dc0072088b00021009621..."} 
[2026-07-07 12:41:07] local.INFO: Processing buffer {"connection_id":126418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6998e0012d195dc0072088b00021009621..."} 
[2026-07-07 12:41:07] local.INFO: Packet analysis {"connection_id":126418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b69"} 
[2026-07-07 12:41:07] local.INFO: Extracted packet for processing {"connection_id":126418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b69"} 
[2026-07-07 12:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756637120,"raw_latitude":119572656,"longitude_deg":75.663712,"latitude_deg":11.9572656,"altitude":33,"angle":150,"satellites":33,"speed":15,"hex_longitude":"2d195dc0","hex_latitude":"072088b0","is_valid_coordinates":true} 
[2026-07-07 12:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552498176001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4900248447090688,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826068942021425152,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783408204000,"timestamp_ms":1783408204000,"timestamp_seconds":1783408204,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6998e0"} 
[2026-07-07 12:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:41: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-07-07 12:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-07 12:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552498176001,"66":13580,"121":206,"28":31744,"24":15,"16":4900248447090688,"45":1826068942021425152},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552498176001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:41:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:41:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4900248447090688,"km_value":4900248447090.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826068942021425152,"description":"Unknown IO ID 45"} 
[2026-07-07 12:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552498176001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1826068942021425152}} 
[2026-07-07 12:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":126418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:41:07] local.INFO: GPS data processed {"connection_id":126418,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:41:07] local.INFO: Acknowledgment sent {"connection_id":126418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:41:22] local.INFO: TCP Data received {"connection_id":126420,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:41:22] local.INFO: Processing buffer {"connection_id":126420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:41:22] local.INFO: IMEI packet received {"connection_id":126420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":126420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:41:27] local.INFO: TCP Data received {"connection_id":126420,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:41:27] local.INFO: Processing buffer {"connection_id":126420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:41:27] local.INFO: IMEI packet received {"connection_id":126420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":126420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:41:28] local.INFO: TCP Data received {"connection_id":126420,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b69e700012d196bc0072068a8001b009b22..."} 
[2026-07-07 12:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b69e700012d196bc0072068a8001b009b22..."} 
[2026-07-07 12:41:28] local.INFO: Processing buffer {"connection_id":126420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b69e700012d196bc0072068a8001b009b22..."} 
[2026-07-07 12:41:28] local.INFO: Packet analysis {"connection_id":126420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b69"} 
[2026-07-07 12:41:28] local.INFO: Extracted packet for processing {"connection_id":126420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b69"} 
[2026-07-07 12:41:28] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119564456,"longitude_deg":75.6640704,"latitude_deg":11.9564456,"altitude":27,"angle":155,"satellites":34,"speed":14,"hex_longitude":"2d196bc0","hex_latitude":"072068a8","is_valid_coordinates":true} 
[2026-07-07 12:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552500224001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4900682238787584,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827828160625422336,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41: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-07-07 12:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783408224000,"timestamp_ms":1783408224000,"timestamp_seconds":1783408224,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b69e700"} 
[2026-07-07 12:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-07 12:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867790184,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:28] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:28] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2496659496,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639689926698873,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-07 12:41:28] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:28] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2147950746,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:28] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:28] local.WARNING: Large IO value detected {"io_id":25,"raw_value":5908730547781238828,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:28] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2738414967492496924,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:28] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:28] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,121,28,24,241,158,16,104,159,45,128,143,36,32,10,66,102,192,146,39,31,98,1,240,163,59,4,113,205,14,78,80,224,30,239,54,2,17,7,44,25,56,124],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-07 12:41:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2378065671730692096,"timestamp_seconds":2378065671730692.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 12:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552500224001,"66":14026,"121":206,"28":31744,"24":14,"16":4900682238787584,"45":1827828160625422336},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552500224001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:41:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:41:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4900682238787584,"km_value":4900682238787.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827828160625422336,"description":"Unknown IO ID 45"} 
[2026-07-07 12:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552500224001,"power":14026,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1827828160625422336}} 
[2026-07-07 12:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":126420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:41:28] local.INFO: GPS data processed {"connection_id":126420,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:41:28] local.INFO: Acknowledgment sent {"connection_id":126420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:41:38] local.INFO: TCP Data received {"connection_id":124377,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6a2d50012d7eadc005ad5808000900b22b..."} 
[2026-07-07 12:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6a2d50012d7eadc005ad5808000900b22b..."} 
[2026-07-07 12:41:38] local.INFO: Processing buffer {"connection_id":124377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6a2d50012d7eadc005ad5808000900b22b..."} 
[2026-07-07 12:41:38] local.INFO: Packet analysis {"connection_id":124377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:41:38] local.INFO: Extracted packet for processing {"connection_id":124377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:41:38] local.INFO: GPS Element Parsed {"raw_longitude":763276736,"raw_latitude":95246344,"longitude_deg":76.3276736,"latitude_deg":9.5246344,"altitude":9,"angle":178,"satellites":43,"speed":44,"hex_longitude":"2d7eadc0","hex_latitude":"05ad5808","is_valid_coordinates":true} 
[2026-07-07 12:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552507904001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341145704678293504,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127037250460985344,"note":"Value kept but may cause issues"} 
[2026-07-07 12:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783408242000,"timestamp_ms":1783408242000,"timestamp_seconds":1783408242,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6a2d50"} 
[2026-07-07 12:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:41: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-07-07 12:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 12:41: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-07-07 12:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552507904001,"66":27908,"42":206,"85":14336,"24":44,"16":341145704678293504,"45":9127037250460985344},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-07-07 12:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552507904001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:41:38] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-07 12:41:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341145704678293504,"km_value":341145704678293.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127037250460985344,"description":"Unknown IO ID 45"} 
[2026-07-07 12:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552507904001,"power":27908,"unknown_42":206,"unknown_85":14336,"ignition":44,"odometer":null,"unknown_45":9127037250460985344}} 
[2026-07-07 12:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":124377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:41:38] local.INFO: GPS data processed {"connection_id":124377,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:41:38] local.INFO: Acknowledgment sent {"connection_id":124377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:42:00] local.INFO: TCP Data received {"connection_id":126420,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b69f2b8012d196d0007206598001c00b622..."} 
[2026-07-07 12:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b69f2b8012d196d0007206598001c00b622..."} 
[2026-07-07 12:42:00] local.INFO: Processing buffer {"connection_id":126420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b69f2b8012d196d0007206598001c00b622..."} 
[2026-07-07 12:42:00] local.INFO: Packet analysis {"connection_id":126420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b69"} 
[2026-07-07 12:42:00] local.INFO: Extracted packet for processing {"connection_id":126420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b69"} 
[2026-07-07 12:42:00] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119563672,"longitude_deg":75.6641024,"latitude_deg":11.9563672,"altitude":28,"angle":182,"satellites":34,"speed":9,"hex_longitude":"2d196d00","hex_latitude":"07206598","is_valid_coordinates":true} 
[2026-07-07 12:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552505344001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4900725188460544,"note":"Value kept but may cause issues"} 
[2026-07-07 12:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810297272320,"note":"Value kept but may cause issues"} 
[2026-07-07 12:42: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-07-07 12:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783408227000,"timestamp_ms":1783408227000,"timestamp_seconds":1783408227,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b69f2b8"} 
[2026-07-07 12:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:42: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-07-07 12:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-07 12:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552505344001,"66":14004,"121":206,"28":31744,"24":9,"16":4900725188460544,"45":1831768810297272320},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552505344001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:42:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:42:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4900725188460544,"km_value":4900725188460.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810297272320,"description":"Unknown IO ID 45"} 
[2026-07-07 12:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552505344001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1831768810297272320}} 
[2026-07-07 12:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":126420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:42:00] local.INFO: GPS data processed {"connection_id":126420,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:42:00] local.INFO: Acknowledgment sent {"connection_id":126420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:42:02] local.INFO: TCP Data received {"connection_id":126421,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:42:02] local.INFO: Processing buffer {"connection_id":126421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:42:02] local.INFO: IMEI packet received {"connection_id":126421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":126421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:42:04] local.INFO: TCP Data received {"connection_id":126421,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:42:04] local.INFO: Processing buffer {"connection_id":126421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:42:04] local.INFO: IMEI packet received {"connection_id":126421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":126421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:42:16] local.INFO: TCP Data received {"connection_id":126421,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6a4c90012d7eaf4005ad3358000800b02b..."} 
[2026-07-07 12:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6a4c90012d7eaf4005ad3358000800b02b..."} 
[2026-07-07 12:42:16] local.INFO: Processing buffer {"connection_id":126421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6a4c90012d7eaf4005ad3358000800b02b..."} 
[2026-07-07 12:42:16] local.INFO: Packet analysis {"connection_id":126421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:42:16] local.INFO: Extracted packet for processing {"connection_id":126421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:42:16] local.INFO: GPS Element Parsed {"raw_longitude":763277120,"raw_latitude":95236952,"longitude_deg":76.327712,"latitude_deg":9.5236952,"altitude":8,"angle":176,"satellites":43,"speed":48,"hex_longitude":"2d7eaf40","hex_latitude":"05ad3358","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552509952001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341146159944826880,"note":"Value kept but may cause issues"} 
[2026-07-07 12:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128163150365460480,"note":"Value kept but may cause issues"} 
[2026-07-07 12:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783408250000,"timestamp_ms":1783408250000,"timestamp_seconds":1783408250,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6a4c90"} 
[2026-07-07 12:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:42: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-07-07 12: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":4,"data_length":795,"current_offset":136} 
[2026-07-07 12:42: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-07-07 12: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-07-07 12:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552509952001,"66":27974,"42":206,"85":14336,"24":48,"16":341146159944826880,"45":9128163150365460480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-07-07 12:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552509952001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:42:16] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-07 12:42:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341146159944826880,"km_value":341146159944826.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128163150365460480,"description":"Unknown IO ID 45"} 
[2026-07-07 12:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552509952001,"power":27974,"unknown_42":206,"unknown_85":14336,"ignition":48,"odometer":null,"unknown_45":9128163150365460480}} 
[2026-07-07 12:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":126421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:42:16] local.INFO: GPS data processed {"connection_id":126421,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:42:16] local.INFO: Acknowledgment sent {"connection_id":126421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:42:21] local.INFO: TCP Data received {"connection_id":124470,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:42:21] local.INFO: Processing buffer {"connection_id":124470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:42:21] local.INFO: IMEI packet received {"connection_id":124470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":124470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:42:27] local.INFO: TCP Data received {"connection_id":124470,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:42:27] local.INFO: Processing buffer {"connection_id":124470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:42:27] local.INFO: IMEI packet received {"connection_id":124470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":124470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:42:28] local.INFO: TCP Data received {"connection_id":124470,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b69fe70012d196c4007206278001c00c421..."} 
[2026-07-07 12:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b69fe70012d196c4007206278001c00c421..."} 
[2026-07-07 12:42:28] local.INFO: Processing buffer {"connection_id":124470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b69fe70012d196c4007206278001c00c421..."} 
[2026-07-07 12:42:28] local.INFO: Packet analysis {"connection_id":124470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b69"} 
[2026-07-07 12:42:28] local.INFO: Extracted packet for processing {"connection_id":124470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b69"} 
[2026-07-07 12:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756640832,"raw_latitude":119562872,"longitude_deg":75.6640832,"latitude_deg":11.9562872,"altitude":28,"angle":196,"satellites":33,"speed":13,"hex_longitude":"2d196c40","hex_latitude":"07206278","is_valid_coordinates":true} 
[2026-07-07 12:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552506112001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4900763843166208,"note":"Value kept but may cause issues"} 
[2026-07-07 12:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654017959936,"note":"Value kept but may cause issues"} 
[2026-07-07 12:42: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-07-07 12:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783408230000,"timestamp_ms":1783408230000,"timestamp_seconds":1783408230,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b69fe70"} 
[2026-07-07 12:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-07 12:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552506112001,"66":13993,"121":206,"28":31744,"24":13,"16":4900763843166208,"45":1832120654017959936},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552506112001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:42:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:42:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4900763843166208,"km_value":4900763843166.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654017959936,"description":"Unknown IO ID 45"} 
[2026-07-07 12:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552506112001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1832120654017959936}} 
[2026-07-07 12:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":124470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:42:28] local.INFO: GPS data processed {"connection_id":124470,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:42:28] local.INFO: Acknowledgment sent {"connection_id":124470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:42:32] local.INFO: TCP Data received {"connection_id":126421,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6a6bd0012d7eb18005ad0dd8000a00b32b..."} 
[2026-07-07 12:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6a6bd0012d7eb18005ad0dd8000a00b32b..."} 
[2026-07-07 12:42:32] local.INFO: Processing buffer {"connection_id":126421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6a6bd0012d7eb18005ad0dd8000a00b32b..."} 
[2026-07-07 12:42:32] local.INFO: Packet analysis {"connection_id":126421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:42:32] local.INFO: Extracted packet for processing {"connection_id":126421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763277696,"raw_latitude":95227352,"longitude_deg":76.3277696,"latitude_deg":9.5227352,"altitude":10,"angle":179,"satellites":43,"speed":41,"hex_longitude":"2d7eb180","hex_latitude":"05ad0dd8","is_valid_coordinates":true} 
[2026-07-07 12:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552512000001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341146628096262144,"note":"Value kept but may cause issues"} 
[2026-07-07 12:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128585362828122112,"note":"Value kept but may cause issues"} 
[2026-07-07 12:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783408258000,"timestamp_ms":1783408258000,"timestamp_seconds":1783408258,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6a6bd0"} 
[2026-07-07 12:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:42: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-07-07 12:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 12:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552512000001,"66":27919,"42":206,"85":14336,"24":41,"16":341146628096262144,"45":9128585362828122112},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-07-07 12:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552512000001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:42:32] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-07 12:42:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341146628096262144,"km_value":341146628096262.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128585362828122112,"description":"Unknown IO ID 45"} 
[2026-07-07 12:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552512000001,"power":27919,"unknown_42":206,"unknown_85":14336,"ignition":41,"odometer":null,"unknown_45":9128585362828122112}} 
[2026-07-07 12:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":126421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:42:32] local.INFO: GPS data processed {"connection_id":126421,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:42:32] local.INFO: Acknowledgment sent {"connection_id":126421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:42:32] local.INFO: TCP Data received {"connection_id":124470,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6a0a28012d196bc007205df0001d00b120..."} 
[2026-07-07 12:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6a0a28012d196bc007205df0001d00b120..."} 
[2026-07-07 12:42:32] local.INFO: Processing buffer {"connection_id":124470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6a0a28012d196bc007205df0001d00b120..."} 
[2026-07-07 12:42:32] local.INFO: Packet analysis {"connection_id":124470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:42:32] local.INFO: Extracted packet for processing {"connection_id":124470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119561712,"longitude_deg":75.6640704,"latitude_deg":11.9561712,"altitude":29,"angle":177,"satellites":32,"speed":14,"hex_longitude":"2d196bc0","hex_latitude":"07205df0","is_valid_coordinates":true} 
[2026-07-07 12:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552506880001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4900819677741056,"note":"Value kept but may cause issues"} 
[2026-07-07 12:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831909547785222144,"note":"Value kept but may cause issues"} 
[2026-07-07 12:42: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-07-07 12:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783408233000,"timestamp_ms":1783408233000,"timestamp_seconds":1783408233,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6a0a28"} 
[2026-07-07 12:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-07 12:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552506880001,"66":14004,"121":206,"28":31744,"24":14,"16":4900819677741056,"45":1831909547785222144},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552506880001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:42:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:42:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4900819677741056,"km_value":4900819677741.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831909547785222144,"description":"Unknown IO ID 45"} 
[2026-07-07 12:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552506880001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1831909547785222144}} 
[2026-07-07 12:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":124470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:42:32] local.INFO: GPS data processed {"connection_id":124470,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:42:32] local.INFO: Acknowledgment sent {"connection_id":124470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:42:59] local.INFO: TCP Data received {"connection_id":124378,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:42:59] local.INFO: Processing buffer {"connection_id":124378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:42:59] local.INFO: IMEI packet received {"connection_id":124378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":124378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:43:04] local.INFO: TCP Data received {"connection_id":124470,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6a5848012d196f4007204778002500ac21..."} 
[2026-07-07 12:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6a5848012d196f4007204778002500ac21..."} 
[2026-07-07 12:43:04] local.INFO: Processing buffer {"connection_id":124470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6a5848012d196f4007204778002500ac21..."} 
[2026-07-07 12:43:04] local.INFO: Packet analysis {"connection_id":124470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:43:04] local.INFO: Extracted packet for processing {"connection_id":124470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119555960,"longitude_deg":75.66416,"latitude_deg":11.955596,"altitude":37,"angle":172,"satellites":33,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"07204778","is_valid_coordinates":true} 
[2026-07-07 12:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552507648001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901111735517184,"note":"Value kept but may cause issues"} 
[2026-07-07 12:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810296569856,"note":"Value kept but may cause issues"} 
[2026-07-07 12:43: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-07-07 12:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783408253000,"timestamp_ms":1783408253000,"timestamp_seconds":1783408253,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6a5848"} 
[2026-07-07 12:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:43: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-07-07 12:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-07 12:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552507648001,"66":14265,"121":206,"28":31744,"24":0,"16":4901111735517184,"45":1831768810296569856},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552507648001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:43:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:43:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901111735517184,"km_value":4901111735517.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810296569856,"description":"Unknown IO ID 45"} 
[2026-07-07 12:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552507648001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831768810296569856}} 
[2026-07-07 12:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":124470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:43:04] local.INFO: GPS data processed {"connection_id":124470,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:43:04] local.INFO: Acknowledgment sent {"connection_id":124470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:43:04] local.INFO: TCP Data received {"connection_id":124378,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:43:04] local.INFO: Processing buffer {"connection_id":124378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:43:04] local.INFO: IMEI packet received {"connection_id":124378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":124378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:43:05] local.INFO: TCP Data received {"connection_id":124378,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6aa280012d7eb2c005acea58000d00b129..."} 
[2026-07-07 12:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6aa280012d7eb2c005acea58000d00b129..."} 
[2026-07-07 12:43:05] local.INFO: Processing buffer {"connection_id":124378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6aa280012d7eb2c005acea58000d00b129..."} 
[2026-07-07 12:43:05] local.INFO: Packet analysis {"connection_id":124378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:43:05] local.INFO: Extracted packet for processing {"connection_id":124378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:43:05] local.INFO: GPS Element Parsed {"raw_longitude":763278016,"raw_latitude":95218264,"longitude_deg":76.3278016,"latitude_deg":9.5218264,"altitude":13,"angle":177,"satellites":41,"speed":21,"hex_longitude":"2d7eb2c0","hex_latitude":"05acea58","is_valid_coordinates":true} 
[2026-07-07 12:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552514048001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341147070477893632,"note":"Value kept but may cause issues"} 
[2026-07-07 12:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129218681523263488,"note":"Value kept but may cause issues"} 
[2026-07-07 12:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783408272000,"timestamp_ms":1783408272000,"timestamp_seconds":1783408272,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6aa280"} 
[2026-07-07 12:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 12:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552514048001,"66":27887,"42":206,"85":14336,"24":21,"16":341147070477893632,"45":9129218681523263488},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-07-07 12:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552514048001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:43:05] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-07 12:43:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341147070477893632,"km_value":341147070477893.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129218681523263488,"description":"Unknown IO ID 45"} 
[2026-07-07 12:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552514048001,"power":27887,"unknown_42":206,"unknown_85":14336,"ignition":21,"odometer":null,"unknown_45":9129218681523263488}} 
[2026-07-07 12:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":124378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:43:05] local.INFO: GPS data processed {"connection_id":124378,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:43:05] local.INFO: Acknowledgment sent {"connection_id":124378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:43:21] local.INFO: TCP Data received {"connection_id":125188,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:43:21] local.INFO: Processing buffer {"connection_id":125188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:43:21] local.INFO: IMEI packet received {"connection_id":125188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":125188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:43:27] local.INFO: TCP Data received {"connection_id":125188,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:43:27] local.INFO: Processing buffer {"connection_id":125188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:43:27] local.INFO: IMEI packet received {"connection_id":125188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":125188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:43:34] local.INFO: TCP Data received {"connection_id":125188,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6aae38012d196f4007204778002500ac1e..."} 
[2026-07-07 12:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6aae38012d196f4007204778002500ac1e..."} 
[2026-07-07 12:43:34] local.INFO: Processing buffer {"connection_id":125188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6aae38012d196f4007204778002500ac1e..."} 
[2026-07-07 12:43:34] local.INFO: Packet analysis {"connection_id":125188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:43:34] local.INFO: Extracted packet for processing {"connection_id":125188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:43:34] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119555960,"longitude_deg":75.66416,"latitude_deg":11.955596,"altitude":37,"angle":172,"satellites":30,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"07204778","is_valid_coordinates":true} 
[2026-07-07 12:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552512768001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901111735517184,"note":"Value kept but may cause issues"} 
[2026-07-07 12:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972713584640,"note":"Value kept but may cause issues"} 
[2026-07-07 12:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783408275000,"timestamp_ms":1783408275000,"timestamp_seconds":1783408275,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6aae38"} 
[2026-07-07 12:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:43: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-07-07 12:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 12:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552512768001,"66":13091,"121":206,"28":31744,"24":0,"16":4901111735517184,"45":1832753972713584640},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552512768001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:43:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:43:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901111735517184,"km_value":4901111735517.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972713584640,"description":"Unknown IO ID 45"} 
[2026-07-07 12:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552512768001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832753972713584640}} 
[2026-07-07 12:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":125188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:43:34] local.INFO: GPS data processed {"connection_id":125188,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:43:34] local.INFO: Acknowledgment sent {"connection_id":125188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:43:36] local.INFO: TCP Data received {"connection_id":124378,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6ad548012d7eb3c005acc798000c00b228..."} 
[2026-07-07 12:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6ad548012d7eb3c005acc798000c00b228..."} 
[2026-07-07 12:43:36] local.INFO: Processing buffer {"connection_id":124378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6ad548012d7eb3c005acc798000c00b228..."} 
[2026-07-07 12:43:36] local.INFO: Packet analysis {"connection_id":124378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:43:36] local.INFO: Extracted packet for processing {"connection_id":124378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763278272,"raw_latitude":95209368,"longitude_deg":76.3278272,"latitude_deg":9.5209368,"altitude":12,"angle":178,"satellites":40,"speed":32,"hex_longitude":"2d7eb3c0","hex_latitude":"05acc798","is_valid_coordinates":true} 
[2026-07-07 12:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552517632001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341147499974623232,"note":"Value kept but may cause issues"} 
[2026-07-07 12:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129570525241825280,"note":"Value kept but may cause issues"} 
[2026-07-07 12:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783408285000,"timestamp_ms":1783408285000,"timestamp_seconds":1783408285,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6ad548"} 
[2026-07-07 12:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 12:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552517632001,"66":27908,"42":206,"85":14336,"24":32,"16":341147499974623232,"45":9129570525241825280},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-07-07 12:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552517632001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:43:36] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-07 12:43:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341147499974623232,"km_value":341147499974623.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129570525241825280,"description":"Unknown IO ID 45"} 
[2026-07-07 12:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552517632001,"power":27908,"unknown_42":206,"unknown_85":14336,"ignition":32,"odometer":null,"unknown_45":9129570525241825280}} 
[2026-07-07 12:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":124378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:43:36] local.INFO: GPS data processed {"connection_id":124378,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:43:36] local.INFO: Acknowledgment sent {"connection_id":124378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:43:58] local.INFO: TCP Data received {"connection_id":125189,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:43:58] local.INFO: Processing buffer {"connection_id":125189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:43:58] local.INFO: IMEI packet received {"connection_id":125189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":125189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:43:59] local.INFO: TCP Data received {"connection_id":125189,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:43:59] local.INFO: Processing buffer {"connection_id":125189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:43:59] local.INFO: IMEI packet received {"connection_id":125189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":125189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:44:04] local.INFO: TCP Data received {"connection_id":125189,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:44:04] local.INFO: Processing buffer {"connection_id":125189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:44:04] local.INFO: IMEI packet received {"connection_id":125189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":125189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:44:05] local.INFO: TCP Data received {"connection_id":125189,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6c4860012d7e9f4005aba878000800ca2a..."} 
[2026-07-07 12:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6c4860012d7e9f4005aba878000800ca2a..."} 
[2026-07-07 12:44:05] local.INFO: Processing buffer {"connection_id":125189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6c4860012d7e9f4005aba878000800ca2a..."} 
[2026-07-07 12:44:05] local.INFO: Packet analysis {"connection_id":125189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6c"} 
[2026-07-07 12:44:05] local.INFO: Extracted packet for processing {"connection_id":125189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6c"} 
[2026-07-07 12:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763273024,"raw_latitude":95135864,"longitude_deg":76.3273024,"latitude_deg":9.5135864,"altitude":8,"angle":202,"satellites":42,"speed":34,"hex_longitude":"2d7e9f40","hex_latitude":"05aba878","is_valid_coordinates":true} 
[2026-07-07 12:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552541696001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341151129221988352,"note":"Value kept but may cause issues"} 
[2026-07-07 12:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127529831641823232,"note":"Value kept but may cause issues"} 
[2026-07-07 12:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783408380000,"timestamp_ms":1783408380000,"timestamp_seconds":1783408380,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6c4860"} 
[2026-07-07 12:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 12:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552541696001,"66":27887,"40":206,"85":14336,"24":34,"16":341151129221988352,"45":9127529831641823232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-07 12:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552541696001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:44:05] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-07 12:44:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341151129221988352,"km_value":341151129221988.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127529831641823232,"description":"Unknown IO ID 45"} 
[2026-07-07 12:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552541696001,"power":27887,"unknown_40":206,"unknown_85":14336,"ignition":34,"odometer":null,"unknown_45":9127529831641823232}} 
[2026-07-07 12:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":125189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:44:05] local.INFO: GPS data processed {"connection_id":125189,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:44:05] local.INFO: Acknowledgment sent {"connection_id":125189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:44:05] local.INFO: TCP Data received {"connection_id":125188,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6acd78012d196f40072045c0002500bb21..."} 
[2026-07-07 12:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6acd78012d196f40072045c0002500bb21..."} 
[2026-07-07 12:44:05] local.INFO: Processing buffer {"connection_id":125188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6acd78012d196f40072045c0002500bb21..."} 
[2026-07-07 12:44:05] local.INFO: Packet analysis {"connection_id":125188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:44:05] local.INFO: Extracted packet for processing {"connection_id":125188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119555520,"longitude_deg":75.66416,"latitude_deg":11.955552,"altitude":37,"angle":187,"satellites":33,"speed":6,"hex_longitude":"2d196f40","hex_latitude":"072045c0","is_valid_coordinates":true} 
[2026-07-07 12:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552518400001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901133210353664,"note":"Value kept but may cause issues"} 
[2026-07-07 12:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972713584640,"note":"Value kept but may cause issues"} 
[2026-07-07 12:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783408283000,"timestamp_ms":1783408283000,"timestamp_seconds":1783408283,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6acd78"} 
[2026-07-07 12:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 12:44: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-07-07 12:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552518400001,"66":13102,"121":206,"28":31744,"24":6,"16":4901133210353664,"45":1832753972713584640},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552518400001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:44:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:44:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901133210353664,"km_value":4901133210353.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972713584640,"description":"Unknown IO ID 45"} 
[2026-07-07 12:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552518400001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1832753972713584640}} 
[2026-07-07 12:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":125188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:44:06] local.INFO: GPS data processed {"connection_id":125188,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:44:06] local.INFO: Acknowledgment sent {"connection_id":125188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:44:21] local.INFO: TCP Data received {"connection_id":126424,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:44:21] local.INFO: Processing buffer {"connection_id":126424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:44:21] local.INFO: IMEI packet received {"connection_id":126424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":126424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:44:22] local.INFO: TCP Data received {"connection_id":126424,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:44:22] local.INFO: Processing buffer {"connection_id":126424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:44:22] local.INFO: IMEI packet received {"connection_id":126424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":126424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:44:26] local.INFO: TCP Data received {"connection_id":126424,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:44:26] local.INFO: Processing buffer {"connection_id":126424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:44:26] local.INFO: IMEI packet received {"connection_id":126424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":126424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:44:27] local.INFO: TCP Data received {"connection_id":126424,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6af870012d196e8007203ec8002600aa1e..."} 
[2026-07-07 12:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6af870012d196e8007203ec8002600aa1e..."} 
[2026-07-07 12:44:27] local.INFO: Processing buffer {"connection_id":126424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6af870012d196e8007203ec8002600aa1e..."} 
[2026-07-07 12:44:27] local.INFO: Packet analysis {"connection_id":126424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:44:27] local.INFO: Extracted packet for processing {"connection_id":126424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:44:27] local.INFO: GPS Element Parsed {"raw_longitude":756641408,"raw_latitude":119553736,"longitude_deg":75.6641408,"latitude_deg":11.9553736,"altitude":38,"angle":170,"satellites":30,"speed":5,"hex_longitude":"2d196e80","hex_latitude":"07203ec8","is_valid_coordinates":true} 
[2026-07-07 12:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552520448001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901223404666880,"note":"Value kept but may cause issues"} 
[2026-07-07 12:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972713472000,"note":"Value kept but may cause issues"} 
[2026-07-07 12:44: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-07-07 12:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783408294000,"timestamp_ms":1783408294000,"timestamp_seconds":1783408294,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6af870"} 
[2026-07-07 12:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 12:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":126424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":126424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":126424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552520448001,"66":13102,"121":206,"28":31744,"24":5,"16":4901223404666880,"45":1832753972713472000},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552520448001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:44:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:44:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901223404666880,"km_value":4901223404666.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972713472000,"description":"Unknown IO ID 45"} 
[2026-07-07 12:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552520448001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1832753972713472000}} 
[2026-07-07 12:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":126424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:44:27] local.INFO: GPS data processed {"connection_id":126424,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:44:27] local.INFO: Acknowledgment sent {"connection_id":126424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:44:36] local.INFO: TCP Data received {"connection_id":125189,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6c6f70012d7e8f0005ab85e0000800d028..."} 
[2026-07-07 12:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6c6f70012d7e8f0005ab85e0000800d028..."} 
[2026-07-07 12:44:36] local.INFO: Processing buffer {"connection_id":125189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6c6f70012d7e8f0005ab85e0000800d028..."} 
[2026-07-07 12:44:36] local.INFO: Packet analysis {"connection_id":125189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6c"} 
[2026-07-07 12:44:36] local.INFO: Extracted packet for processing {"connection_id":125189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6c"} 
[2026-07-07 12:44:36] local.INFO: GPS Element Parsed {"raw_longitude":763268864,"raw_latitude":95127008,"longitude_deg":76.3268864,"latitude_deg":9.5127008,"altitude":8,"angle":208,"satellites":40,"speed":41,"hex_longitude":"2d7e8f00","hex_latitude":"05ab85e0","is_valid_coordinates":true} 
[2026-07-07 12:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552545280001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341151601668390912,"note":"Value kept but may cause issues"} 
[2026-07-07 12:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124081763174873088,"note":"Value kept but may cause issues"} 
[2026-07-07 12:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783408390000,"timestamp_ms":1783408390000,"timestamp_seconds":1783408390,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6c6f70"} 
[2026-07-07 12:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 12:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552545280001,"66":27908,"40":206,"85":14336,"24":41,"16":341151601668390912,"45":9124081763174873088},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-07 12:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552545280001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:44:36] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-07 12:44:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341151601668390912,"km_value":341151601668390.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124081763174873088,"description":"Unknown IO ID 45"} 
[2026-07-07 12:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552545280001,"power":27908,"unknown_40":206,"unknown_85":14336,"ignition":41,"odometer":null,"unknown_45":9124081763174873088}} 
[2026-07-07 12:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":125189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:44:36] local.INFO: GPS data processed {"connection_id":125189,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:44:36] local.INFO: Acknowledgment sent {"connection_id":125189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:44:59] local.INFO: TCP Data received {"connection_id":125190,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:44:59] local.INFO: Processing buffer {"connection_id":125190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:44:59] local.INFO: IMEI packet received {"connection_id":125190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":125190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:45:04] local.INFO: TCP Data received {"connection_id":125190,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:45:04] local.INFO: Processing buffer {"connection_id":125190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:45:04] local.INFO: IMEI packet received {"connection_id":125190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":125190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:45:04] local.INFO: TCP Data received {"connection_id":126424,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6afc58012d196e8007203e380026009c20..."} 
[2026-07-07 12:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6afc58012d196e8007203e380026009c20..."} 
[2026-07-07 12:45:04] local.INFO: Processing buffer {"connection_id":126424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6afc58012d196e8007203e380026009c20..."} 
[2026-07-07 12:45:04] local.INFO: Packet analysis {"connection_id":126424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:45:04] local.INFO: Extracted packet for processing {"connection_id":126424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6a"} 
[2026-07-07 12:45:04] local.INFO: GPS Element Parsed {"raw_longitude":756641408,"raw_latitude":119553592,"longitude_deg":75.6641408,"latitude_deg":11.9553592,"altitude":38,"angle":156,"satellites":32,"speed":6,"hex_longitude":"2d196e80","hex_latitude":"07203e38","is_valid_coordinates":true} 
[2026-07-07 12:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552523264001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901227699634176,"note":"Value kept but may cause issues"} 
[2026-07-07 12:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832542866480482304,"note":"Value kept but may cause issues"} 
[2026-07-07 12:45: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-07-07 12:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783408295000,"timestamp_ms":1783408295000,"timestamp_seconds":1783408295,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6afc58"} 
[2026-07-07 12:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:45: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-07-07 12:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 12:45: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-07-07 12:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552523264001,"66":13091,"121":206,"28":31744,"24":6,"16":4901227699634176,"45":1832542866480482304},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552523264001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:45:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:45:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901227699634176,"km_value":4901227699634.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832542866480482304,"description":"Unknown IO ID 45"} 
[2026-07-07 12:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552523264001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1832542866480482304}} 
[2026-07-07 12:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":126424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:45:05] local.INFO: GPS data processed {"connection_id":126424,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:45:05] local.INFO: Acknowledgment sent {"connection_id":126424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:45:05] local.INFO: TCP Data received {"connection_id":125190,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6c9680012d7e7cc005ab6960000700dd27..."} 
[2026-07-07 12:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6c9680012d7e7cc005ab6960000700dd27..."} 
[2026-07-07 12:45:05] local.INFO: Processing buffer {"connection_id":125190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6c9680012d7e7cc005ab6960000700dd27..."} 
[2026-07-07 12:45:05] local.INFO: Packet analysis {"connection_id":125190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6c"} 
[2026-07-07 12:45:05] local.INFO: Extracted packet for processing {"connection_id":125190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6c"} 
[2026-07-07 12:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763264192,"raw_latitude":95119712,"longitude_deg":76.3264192,"latitude_deg":9.5119712,"altitude":7,"angle":221,"satellites":39,"speed":30,"hex_longitude":"2d7e7cc0","hex_latitude":"05ab6960","is_valid_coordinates":true} 
[2026-07-07 12:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552547840001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341152022575185920,"note":"Value kept but may cause issues"} 
[2026-07-07 12:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9119507794801057792,"note":"Value kept but may cause issues"} 
[2026-07-07 12:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783408400000,"timestamp_ms":1783408400000,"timestamp_seconds":1783408400,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6c9680"} 
[2026-07-07 12:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 12:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552547840001,"66":27865,"184":206,"85":14336,"24":30,"16":341152022575185920,"45":9119507794801057792},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,45]} 
[2026-07-07 12:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552547840001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:45:05] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-07 12:45:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341152022575185920,"km_value":341152022575185.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9119507794801057792,"description":"Unknown IO ID 45"} 
[2026-07-07 12:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552547840001,"power":27865,"unknown_184":206,"unknown_85":14336,"ignition":30,"odometer":null,"unknown_45":9119507794801057792}} 
[2026-07-07 12:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":125190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:45:05] local.INFO: GPS data processed {"connection_id":125190,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:45:05] local.INFO: Acknowledgment sent {"connection_id":125190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:45:21] local.INFO: TCP Data received {"connection_id":126425,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:45:21] local.INFO: Processing buffer {"connection_id":126425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:45:21] local.INFO: IMEI packet received {"connection_id":126425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":126425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:45:24] local.INFO: TCP Data received {"connection_id":124379,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:45:24] local.INFO: Processing buffer {"connection_id":124379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:45:24] local.INFO: IMEI packet received {"connection_id":124379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 12:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":124379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:45:26] local.INFO: TCP Data received {"connection_id":126425,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:45:26] local.INFO: Processing buffer {"connection_id":126425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:45:26] local.INFO: IMEI packet received {"connection_id":126425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":126425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:45:27] local.INFO: TCP Data received {"connection_id":126425,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:45:27] local.INFO: Processing buffer {"connection_id":126425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:45:27] local.INFO: IMEI packet received {"connection_id":126425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":126425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:45:29] local.INFO: TCP Data received {"connection_id":126425,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6b0040012d196ec007203dc80026009022..."} 
[2026-07-07 12:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6b0040012d196ec007203dc80026009022..."} 
[2026-07-07 12:45:29] local.INFO: Processing buffer {"connection_id":126425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6b0040012d196ec007203dc80026009022..."} 
[2026-07-07 12:45:29] local.INFO: Packet analysis {"connection_id":126425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6b"} 
[2026-07-07 12:45:29] local.INFO: Extracted packet for processing {"connection_id":126425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6b"} 
[2026-07-07 12:45:29] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119553480,"longitude_deg":75.6641472,"latitude_deg":11.955348,"altitude":38,"angle":144,"satellites":34,"speed":4,"hex_longitude":"2d196ec0","hex_latitude":"07203dc8","is_valid_coordinates":true} 
[2026-07-07 12:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552523520001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901236289568768,"note":"Value kept but may cause issues"} 
[2026-07-07 12:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832542866480445440,"note":"Value kept but may cause issues"} 
[2026-07-07 12:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783408296000,"timestamp_ms":1783408296000,"timestamp_seconds":1783408296,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6b0040"} 
[2026-07-07 12:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 12:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":126425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":126425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":126425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552523520001,"66":13091,"121":206,"28":31744,"24":4,"16":4901236289568768,"45":1832542866480445440},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552523520001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:45:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:45:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901236289568768,"km_value":4901236289568.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832542866480445440,"description":"Unknown IO ID 45"} 
[2026-07-07 12:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552523520001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1832542866480445440}} 
[2026-07-07 12:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":126425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:45:29] local.INFO: GPS data processed {"connection_id":126425,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:45:29] local.INFO: Acknowledgment sent {"connection_id":126425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:45:32] local.INFO: TCP Data received {"connection_id":126425,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6b0428012d196f0007203d780026007b24..."} 
[2026-07-07 12:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6b0428012d196f0007203d780026007b24..."} 
[2026-07-07 12:45:32] local.INFO: Processing buffer {"connection_id":126425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6b0428012d196f0007203d780026007b24..."} 
[2026-07-07 12:45:32] local.INFO: Packet analysis {"connection_id":126425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6b"} 
[2026-07-07 12:45:32] local.INFO: Extracted packet for processing {"connection_id":126425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6b"} 
[2026-07-07 12:45:32] local.INFO: GPS Element Parsed {"raw_longitude":756641536,"raw_latitude":119553400,"longitude_deg":75.6641536,"latitude_deg":11.95534,"altitude":38,"angle":123,"satellites":36,"speed":3,"hex_longitude":"2d196f00","hex_latitude":"07203d78","is_valid_coordinates":true} 
[2026-07-07 12:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552523776001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901240584536064,"note":"Value kept but may cause issues"} 
[2026-07-07 12:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235224594432,"note":"Value kept but may cause issues"} 
[2026-07-07 12:45: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-07-07 12:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783408297000,"timestamp_ms":1783408297000,"timestamp_seconds":1783408297,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6b0428"} 
[2026-07-07 12:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 12:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552523776001,"66":13124,"121":206,"28":31744,"24":3,"16":4901240584536064,"45":1832613235224594432},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552523776001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:45:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:45:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901240584536064,"km_value":4901240584536.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235224594432,"description":"Unknown IO ID 45"} 
[2026-07-07 12:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552523776001,"power":13124,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1832613235224594432}} 
[2026-07-07 12:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":126425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:45:32] local.INFO: GPS data processed {"connection_id":126425,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:45:32] local.INFO: Acknowledgment sent {"connection_id":126425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:45:36] local.INFO: TCP Data received {"connection_id":125190,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6cb1d8012d7e700005ab58d0000700d128..."} 
[2026-07-07 12:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6cb1d8012d7e700005ab58d0000700d128..."} 
[2026-07-07 12:45:36] local.INFO: Processing buffer {"connection_id":125190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6cb1d8012d7e700005ab58d0000700d128..."} 
[2026-07-07 12:45:36] local.INFO: Packet analysis {"connection_id":125190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6c"} 
[2026-07-07 12:45:36] local.INFO: Extracted packet for processing {"connection_id":125190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6c"} 
[2026-07-07 12:45:36] local.INFO: GPS Element Parsed {"raw_longitude":763260928,"raw_latitude":95115472,"longitude_deg":76.3260928,"latitude_deg":9.5115472,"altitude":7,"angle":209,"satellites":40,"speed":30,"hex_longitude":"2d7e7000","hex_latitude":"05ab58d0","is_valid_coordinates":true} 
[2026-07-07 12:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552550400001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341152280273223680,"note":"Value kept but may cause issues"} 
[2026-07-07 12:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114370876474220544,"note":"Value kept but may cause issues"} 
[2026-07-07 12:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783408407000,"timestamp_ms":1783408407000,"timestamp_seconds":1783408407,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6cb1d8"} 
[2026-07-07 12:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 12:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552550400001,"66":27919,"184":206,"85":14336,"24":30,"16":341152280273223680,"45":9114370876474220544},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,45]} 
[2026-07-07 12:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552550400001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:45:36] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-07 12:45:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341152280273223680,"km_value":341152280273223.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114370876474220544,"description":"Unknown IO ID 45"} 
[2026-07-07 12:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552550400001,"power":27919,"unknown_184":206,"unknown_85":14336,"ignition":30,"odometer":null,"unknown_45":9114370876474220544}} 
[2026-07-07 12:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":125190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:45:36] local.INFO: GPS data processed {"connection_id":125190,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:45:36] local.INFO: Acknowledgment sent {"connection_id":125190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:45:59] local.INFO: TCP Data received {"connection_id":126426,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:45:59] local.INFO: Processing buffer {"connection_id":126426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:45:59] local.INFO: IMEI packet received {"connection_id":126426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":126426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:46:00] local.INFO: TCP Data received {"connection_id":126426,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:46:00] local.INFO: Processing buffer {"connection_id":126426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:46:00] local.INFO: IMEI packet received {"connection_id":126426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":126426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:46:04] local.INFO: TCP Data received {"connection_id":126425,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6b0810012d196f8007203d580026005e24..."} 
[2026-07-07 12:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6b0810012d196f8007203d580026005e24..."} 
[2026-07-07 12:46:04] local.INFO: Processing buffer {"connection_id":126425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6b0810012d196f8007203d580026005e24..."} 
[2026-07-07 12:46:04] local.INFO: Packet analysis {"connection_id":126425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6b"} 
[2026-07-07 12:46:04] local.INFO: Extracted packet for processing {"connection_id":126425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6b"} 
[2026-07-07 12:46:04] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119553368,"longitude_deg":75.6641664,"latitude_deg":11.9553368,"altitude":38,"angle":94,"satellites":36,"speed":4,"hex_longitude":"2d196f80","hex_latitude":"07203d58","is_valid_coordinates":true} 
[2026-07-07 12:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552524032001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901249174470656,"note":"Value kept but may cause issues"} 
[2026-07-07 12:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832683603968751616,"note":"Value kept but may cause issues"} 
[2026-07-07 12:46: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-07-07 12:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783408298000,"timestamp_ms":1783408298000,"timestamp_seconds":1783408298,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6b0810"} 
[2026-07-07 12:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:46: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-07-07 12:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-07 12:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552524032001,"66":13135,"121":206,"28":31744,"24":4,"16":4901249174470656,"45":1832683603968751616},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552524032001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:46:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:46:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901249174470656,"km_value":4901249174470.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832683603968751616,"description":"Unknown IO ID 45"} 
[2026-07-07 12:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552524032001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1832683603968751616}} 
[2026-07-07 12:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":126425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:46:04] local.INFO: GPS data processed {"connection_id":126425,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:46:04] local.INFO: Acknowledgment sent {"connection_id":126425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:46:04] local.INFO: TCP Data received {"connection_id":126426,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:46:04] local.INFO: Processing buffer {"connection_id":126426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:46:04] local.INFO: IMEI packet received {"connection_id":126426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":126426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:46:05] local.INFO: TCP Data received {"connection_id":126426,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6e1d20012d7dba0005aa37b8000700d529..."} 
[2026-07-07 12:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6e1d20012d7dba0005aa37b8000700d529..."} 
[2026-07-07 12:46:05] local.INFO: Processing buffer {"connection_id":126426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6e1d20012d7dba0005aa37b8000700d529..."} 
[2026-07-07 12:46:05] local.INFO: Packet analysis {"connection_id":126426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6e"} 
[2026-07-07 12:46:05] local.INFO: Extracted packet for processing {"connection_id":126426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6e"} 
[2026-07-07 12:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763214336,"raw_latitude":95041464,"longitude_deg":76.3214336,"latitude_deg":9.5041464,"altitude":7,"angle":213,"satellites":41,"speed":49,"hex_longitude":"2d7dba00","hex_latitude":"05aa37b8","is_valid_coordinates":true} 
[2026-07-07 12:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552573952001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341156510816010240,"note":"Value kept but may cause issues"} 
[2026-07-07 12:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065323861764415488,"note":"Value kept but may cause issues"} 
[2026-07-07 12:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783408500000,"timestamp_ms":1783408500000,"timestamp_seconds":1783408500,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6e1d20"} 
[2026-07-07 12:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 12:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552573952001,"66":27865,"185":206,"85":14336,"24":49,"16":341156510816010240,"45":9065323861764415488},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-07 12:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:46:05] local.INFO: TCP Data received {"connection_id":125191,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552573952001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:46:05] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-07 12:46:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341156510816010240,"km_value":341156510816010.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065323861764415488,"description":"Unknown IO ID 45"} 
[2026-07-07 12:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552573952001,"power":27865,"unknown_185":206,"unknown_85":14336,"ignition":49,"odometer":null,"unknown_45":9065323861764415488}} 
[2026-07-07 12:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:46:05] local.INFO: Processing buffer {"connection_id":125191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:46:05] local.INFO: IMEI packet received {"connection_id":125191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 12:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":125191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":126426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:46:05] local.INFO: GPS data processed {"connection_id":126426,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:46:05] local.INFO: Acknowledgment sent {"connection_id":126426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:46:26] local.INFO: TCP Data received {"connection_id":124380,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:46:26] local.INFO: Processing buffer {"connection_id":124380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:46:26] local.INFO: IMEI packet received {"connection_id":124380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":124380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:46:29] local.INFO: TCP Data received {"connection_id":124380,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:46:29] local.INFO: Processing buffer {"connection_id":124380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:46:29] local.INFO: IMEI packet received {"connection_id":124380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":124380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:46:30] local.INFO: TCP Data received {"connection_id":124380,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6b5a18012d19700007203d380027006522..."} 
[2026-07-07 12:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6b5a18012d19700007203d380027006522..."} 
[2026-07-07 12:46:30] local.INFO: Processing buffer {"connection_id":124380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6b5a18012d19700007203d380027006522..."} 
[2026-07-07 12:46:30] local.INFO: Packet analysis {"connection_id":124380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6b"} 
[2026-07-07 12:46:30] local.INFO: Extracted packet for processing {"connection_id":124380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6b"} 
[2026-07-07 12:46:30] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":34,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552524288001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341457098752,"note":"Value kept but may cause issues"} 
[2026-07-07 12:46: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-07-07 12:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783408319000,"timestamp_ms":1783408319000,"timestamp_seconds":1783408319,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6b5a18"} 
[2026-07-07 12:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 12:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552524288001,"66":13004,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832824341457098752},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552524288001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:46:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:46:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341457098752,"description":"Unknown IO ID 45"} 
[2026-07-07 12:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552524288001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832824341457098752}} 
[2026-07-07 12:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":124380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:46:30] local.INFO: GPS data processed {"connection_id":124380,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:46:30] local.INFO: Acknowledgment sent {"connection_id":124380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:46:32] local.INFO: TCP Data received {"connection_id":124380,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6bac20012d19700007203d380027006523..."} 
[2026-07-07 12:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6bac20012d19700007203d380027006523..."} 
[2026-07-07 12:46:32] local.INFO: Processing buffer {"connection_id":124380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6bac20012d19700007203d380027006523..."} 
[2026-07-07 12:46:32] local.INFO: Packet analysis {"connection_id":124380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6b"} 
[2026-07-07 12:46:32] local.INFO: Extracted packet for processing {"connection_id":124380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6b"} 
[2026-07-07 12:46:32] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552529664001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:46: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-07-07 12:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783408340000,"timestamp_ms":1783408340000,"timestamp_seconds":1783408340,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6bac20"} 
[2026-07-07 12:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-07 12:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552529664001,"66":12993,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552529664001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:46:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:46:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552529664001,"power":12993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":124380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:46:32] local.INFO: GPS data processed {"connection_id":124380,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:46:32] local.INFO: Acknowledgment sent {"connection_id":124380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:46:36] local.INFO: TCP Data received {"connection_id":126426,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6e3c60012d7da48005aa16a8000800d52a..."} 
[2026-07-07 12:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6e3c60012d7da48005aa16a8000800d52a..."} 
[2026-07-07 12:46:36] local.INFO: Processing buffer {"connection_id":126426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6e3c60012d7da48005aa16a8000800d52a..."} 
[2026-07-07 12:46:36] local.INFO: Packet analysis {"connection_id":126426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6e"} 
[2026-07-07 12:46:36] local.INFO: Extracted packet for processing {"connection_id":126426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6e"} 
[2026-07-07 12:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763208832,"raw_latitude":95033000,"longitude_deg":76.3208832,"latitude_deg":9.5033,"altitude":8,"angle":213,"satellites":42,"speed":50,"hex_longitude":"2d7da480","hex_latitude":"05aa16a8","is_valid_coordinates":true} 
[2026-07-07 12:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552576000001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341157000442281984,"note":"Value kept but may cause issues"} 
[2026-07-07 12:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9059553624739788800,"note":"Value kept but may cause issues"} 
[2026-07-07 12:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783408508000,"timestamp_ms":1783408508000,"timestamp_seconds":1783408508,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6e3c60"} 
[2026-07-07 12:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 12:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552576000001,"66":27865,"185":206,"85":14336,"24":50,"16":341157000442281984,"45":9059553624739788800},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-07 12:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552576000001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:46:36] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-07 12:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341157000442281984,"km_value":341157000442282.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9059553624739788800,"description":"Unknown IO ID 45"} 
[2026-07-07 12:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552576000001,"power":27865,"unknown_185":206,"unknown_85":14336,"ignition":50,"odometer":null,"unknown_45":9059553624739788800}} 
[2026-07-07 12:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":126426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:46:36] local.INFO: GPS data processed {"connection_id":126426,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:46:36] local.INFO: Acknowledgment sent {"connection_id":126426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:47:03] local.INFO: TCP Data received {"connection_id":124380,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6bfe28012d19700007203d380027006520..."} 
[2026-07-07 12:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6bfe28012d19700007203d380027006520..."} 
[2026-07-07 12:47:03] local.INFO: Processing buffer {"connection_id":124380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6bfe28012d19700007203d380027006520..."} 
[2026-07-07 12:47:03] local.INFO: Packet analysis {"connection_id":124380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6b"} 
[2026-07-07 12:47:03] local.INFO: Extracted packet for processing {"connection_id":124380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6b"} 
[2026-07-07 12:47:03] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":32,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552535040001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783408361000,"timestamp_ms":1783408361000,"timestamp_seconds":1783408361,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6bfe28"} 
[2026-07-07 12:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-07 12:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552535040001,"66":12950,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552535040001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:47:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:47:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552535040001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":124380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:47:03] local.INFO: GPS data processed {"connection_id":124380,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:47:03] local.INFO: Acknowledgment sent {"connection_id":124380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:47:09] local.INFO: TCP Data received {"connection_id":126427,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:47:09] local.INFO: Processing buffer {"connection_id":126427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:47:09] local.INFO: IMEI packet received {"connection_id":126427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":126427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:47:10] local.INFO: TCP Data received {"connection_id":126427,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:47:10] local.INFO: Processing buffer {"connection_id":126427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:47:10] local.INFO: IMEI packet received {"connection_id":126427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":126427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:47:14] local.INFO: TCP Data received {"connection_id":126427,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:47:14] local.INFO: Processing buffer {"connection_id":126427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:47:14] local.INFO: IMEI packet received {"connection_id":126427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":126427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:47:15] local.INFO: TCP Data received {"connection_id":126427,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6e57b8012d7d910005a9f848000800d42a..."} 
[2026-07-07 12:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6e57b8012d7d910005a9f848000800d42a..."} 
[2026-07-07 12:47:15] local.INFO: Processing buffer {"connection_id":126427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6e57b8012d7d910005a9f848000800d42a..."} 
[2026-07-07 12:47:15] local.INFO: Packet analysis {"connection_id":126427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6e"} 
[2026-07-07 12:47:15] local.INFO: Extracted packet for processing {"connection_id":126427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6e"} 
[2026-07-07 12:47:15] local.INFO: GPS Element Parsed {"raw_longitude":763203840,"raw_latitude":95025224,"longitude_deg":76.320384,"latitude_deg":9.5025224,"altitude":8,"angle":212,"satellites":42,"speed":53,"hex_longitude":"2d7d9100","hex_latitude":"05a9f848","is_valid_coordinates":true} 
[2026-07-07 12:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552578048001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341157447118880768,"note":"Value kept but may cause issues"} 
[2026-07-07 12:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9053501912738342912,"note":"Value kept but may cause issues"} 
[2026-07-07 12:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783408515000,"timestamp_ms":1783408515000,"timestamp_seconds":1783408515,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6e57b8"} 
[2026-07-07 12:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12: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-07-07 12:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 12:47: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-07-07 12:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552578048001,"66":27930,"62":206,"85":14336,"24":53,"16":341157447118880768,"45":9053501912738342912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,85,24,16,45]} 
[2026-07-07 12:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552578048001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:47:15] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-07 12:47:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341157447118880768,"km_value":341157447118880.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9053501912738342912,"description":"Unknown IO ID 45"} 
[2026-07-07 12:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552578048001,"power":27930,"unknown_62":206,"unknown_85":14336,"ignition":53,"odometer":null,"unknown_45":9053501912738342912}} 
[2026-07-07 12:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":126427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:47:15] local.INFO: GPS data processed {"connection_id":126427,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:47:15] local.INFO: Acknowledgment sent {"connection_id":126427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:47:21] local.INFO: TCP Data received {"connection_id":124381,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:47:21] local.INFO: Processing buffer {"connection_id":124381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:47:21] local.INFO: IMEI packet received {"connection_id":124381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":124381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:47:26] local.INFO: TCP Data received {"connection_id":124381,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:47:26] local.INFO: Processing buffer {"connection_id":124381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:47:26] local.INFO: IMEI packet received {"connection_id":124381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":124381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:47:32] local.INFO: TCP Data received {"connection_id":124381,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:47:32] local.INFO: Processing buffer {"connection_id":124381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:47:32] local.INFO: IMEI packet received {"connection_id":124381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":124381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:47:37] local.INFO: TCP Data received {"connection_id":124381,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6c5030012d19700007203d380027006520..."} 
[2026-07-07 12:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6c5030012d19700007203d380027006520..."} 
[2026-07-07 12:47:37] local.INFO: Processing buffer {"connection_id":124381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6c5030012d19700007203d380027006520..."} 
[2026-07-07 12:47:37] local.INFO: Packet analysis {"connection_id":124381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6c"} 
[2026-07-07 12:47:37] local.INFO: Extracted packet for processing {"connection_id":124381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6c"} 
[2026-07-07 12:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":32,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552540416001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783408382000,"timestamp_ms":1783408382000,"timestamp_seconds":1783408382,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6c5030"} 
[2026-07-07 12:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-07 12:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552540416001,"66":12776,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552540416001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:47:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:47:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552540416001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":124381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:47:38] local.INFO: GPS data processed {"connection_id":124381,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:47:38] local.INFO: Acknowledgment sent {"connection_id":124381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:47:53] local.INFO: TCP Data received {"connection_id":124381,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6ca238012d19700007203d380027006524..."} 
[2026-07-07 12:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6ca238012d19700007203d380027006524..."} 
[2026-07-07 12:47:53] local.INFO: Processing buffer {"connection_id":124381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6ca238012d19700007203d380027006524..."} 
[2026-07-07 12:47:53] local.INFO: Packet analysis {"connection_id":124381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6c"} 
[2026-07-07 12:47:53] local.INFO: Extracted packet for processing {"connection_id":124381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6c"} 
[2026-07-07 12:47:53] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":36,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552545792001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:47: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-07-07 12:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783408403000,"timestamp_ms":1783408403000,"timestamp_seconds":1783408403,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6ca238"} 
[2026-07-07 12:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-07 12:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":124381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":124381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":124381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552545792001,"66":12841,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552545792001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:47:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:47:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552545792001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":124381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:47:53] local.INFO: GPS data processed {"connection_id":124381,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:47:53] local.INFO: Acknowledgment sent {"connection_id":124381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:48:04] local.INFO: TCP Data received {"connection_id":126428,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:48:04] local.INFO: Processing buffer {"connection_id":126428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:48:04] local.INFO: IMEI packet received {"connection_id":126428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":126428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:48:06] local.INFO: TCP Data received {"connection_id":126428,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:48:06] local.INFO: Processing buffer {"connection_id":126428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:48:06] local.INFO: IMEI packet received {"connection_id":126428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":126428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:48:07] local.INFO: TCP Data received {"connection_id":126428,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6fbb30012d7d5a4005a84c98000e00a72a..."} 
[2026-07-07 12:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6fbb30012d7d5a4005a84c98000e00a72a..."} 
[2026-07-07 12:48:07] local.INFO: Processing buffer {"connection_id":126428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6fbb30012d7d5a4005a84c98000e00a72a..."} 
[2026-07-07 12:48:07] local.INFO: Packet analysis {"connection_id":126428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6f"} 
[2026-07-07 12:48:07] local.INFO: Extracted packet for processing {"connection_id":126428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6f"} 
[2026-07-07 12:48:07] local.INFO: GPS Element Parsed {"raw_longitude":763189824,"raw_latitude":94915736,"longitude_deg":76.3189824,"latitude_deg":9.4915736,"altitude":14,"angle":167,"satellites":42,"speed":52,"hex_longitude":"2d7d5a40","hex_latitude":"05a84c98","is_valid_coordinates":true} 
[2026-07-07 12:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552601344001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341163137950547968,"note":"Value kept but may cause issues"} 
[2026-07-07 12:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030420964620376064,"note":"Value kept but may cause issues"} 
[2026-07-07 12:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783408606000,"timestamp_ms":1783408606000,"timestamp_seconds":1783408606,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6fbb30"} 
[2026-07-07 12:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 12:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552601344001,"66":27887,"166":206,"85":14336,"24":52,"16":341163137950547968,"45":9030420964620376064},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-07 12:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552601344001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:48:07] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-07 12:48:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341163137950547968,"km_value":341163137950547.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030420964620376064,"description":"Unknown IO ID 45"} 
[2026-07-07 12:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552601344001,"power":27887,"unknown_166":206,"unknown_85":14336,"ignition":52,"odometer":null,"unknown_45":9030420964620376064}} 
[2026-07-07 12:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":126428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:48:07] local.INFO: GPS data processed {"connection_id":126428,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:48:07] local.INFO: Acknowledgment sent {"connection_id":126428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:48:27] local.INFO: TCP Data received {"connection_id":124471,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:48:27] local.INFO: Processing buffer {"connection_id":124471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:48:27] local.INFO: IMEI packet received {"connection_id":124471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":124471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:48:32] local.INFO: TCP Data received {"connection_id":124471,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:48:32] local.INFO: Processing buffer {"connection_id":124471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:48:32] local.INFO: IMEI packet received {"connection_id":124471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":124471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:48:33] local.INFO: TCP Data received {"connection_id":124471,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6cf440012d19700007203d380027006522..."} 
[2026-07-07 12:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6cf440012d19700007203d380027006522..."} 
[2026-07-07 12:48:33] local.INFO: Processing buffer {"connection_id":124471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6cf440012d19700007203d380027006522..."} 
[2026-07-07 12:48:33] local.INFO: Packet analysis {"connection_id":124471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6c"} 
[2026-07-07 12:48:33] local.INFO: Extracted packet for processing {"connection_id":124471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6c"} 
[2026-07-07 12:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":34,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552551168001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783408424000,"timestamp_ms":1783408424000,"timestamp_seconds":1783408424,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6cf440"} 
[2026-07-07 12:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:48: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-07-07 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-07 12:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552551168001,"66":12667,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552551168001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:48:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:48:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552551168001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":124471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:48:33] local.INFO: GPS data processed {"connection_id":124471,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:48:33] local.INFO: Acknowledgment sent {"connection_id":124471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:48:35] local.INFO: TCP Data received {"connection_id":124471,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6d4648012d19700007203d380027006522..."} 
[2026-07-07 12:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6d4648012d19700007203d380027006522..."} 
[2026-07-07 12:48:35] local.INFO: Processing buffer {"connection_id":124471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6d4648012d19700007203d380027006522..."} 
[2026-07-07 12:48:35] local.INFO: Packet analysis {"connection_id":124471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6d"} 
[2026-07-07 12:48:35] local.INFO: Extracted packet for processing {"connection_id":124471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6d"} 
[2026-07-07 12:48:35] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":34,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552556544001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783408445000,"timestamp_ms":1783408445000,"timestamp_seconds":1783408445,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6d4648"} 
[2026-07-07 12:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:48: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-07-07 12:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-07 12:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552556544001,"66":12776,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552556544001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:48:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:48:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552556544001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":124471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:48:35] local.INFO: GPS data processed {"connection_id":124471,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:48:35] local.INFO: Acknowledgment sent {"connection_id":124471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:48:38] local.INFO: TCP Data received {"connection_id":126428,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6fd688012d7d628005a82948000d00a82a..."} 
[2026-07-07 12:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6fd688012d7d628005a82948000d00a82a..."} 
[2026-07-07 12:48:38] local.INFO: Processing buffer {"connection_id":126428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6fd688012d7d628005a82948000d00a82a..."} 
[2026-07-07 12:48:38] local.INFO: Packet analysis {"connection_id":126428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6f"} 
[2026-07-07 12:48:38] local.INFO: Extracted packet for processing {"connection_id":126428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6f"} 
[2026-07-07 12:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763191936,"raw_latitude":94906696,"longitude_deg":76.3191936,"latitude_deg":9.4906696,"altitude":13,"angle":168,"satellites":42,"speed":52,"hex_longitude":"2d7d6280","hex_latitude":"05a82948","is_valid_coordinates":true} 
[2026-07-07 12:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552603136001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341163588922114048,"note":"Value kept but may cause issues"} 
[2026-07-07 12:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9032602395687557120,"note":"Value kept but may cause issues"} 
[2026-07-07 12:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783408613000,"timestamp_ms":1783408613000,"timestamp_seconds":1783408613,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6fd688"} 
[2026-07-07 12:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:48: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-07-07 12: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 12:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552603136001,"66":27908,"166":206,"85":14336,"24":52,"16":341163588922114048,"45":9032602395687557120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-07 12:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552603136001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:48:38] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-07 12:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341163588922114048,"km_value":341163588922114.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9032602395687557120,"description":"Unknown IO ID 45"} 
[2026-07-07 12:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552603136001,"power":27908,"unknown_166":206,"unknown_85":14336,"ignition":52,"odometer":null,"unknown_45":9032602395687557120}} 
[2026-07-07 12:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":126428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:48:38] local.INFO: GPS data processed {"connection_id":126428,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:48:38] local.INFO: Acknowledgment sent {"connection_id":126428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:48:56] local.INFO: TCP Data received {"connection_id":124382,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:48:56] local.INFO: Processing buffer {"connection_id":124382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:48:56] local.INFO: IMEI packet received {"connection_id":124382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":124382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:48:59] local.INFO: TCP Data received {"connection_id":124382,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:48:59] local.INFO: Processing buffer {"connection_id":124382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:48:59] local.INFO: IMEI packet received {"connection_id":124382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":124382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:49:03] local.INFO: TCP Data received {"connection_id":124382,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:49:03] local.INFO: Processing buffer {"connection_id":124382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:49:03] local.INFO: IMEI packet received {"connection_id":124382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":124382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:49:04] local.INFO: TCP Data received {"connection_id":124382,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b712290012d7dcd8005a67f40000e009f29..."} 
[2026-07-07 12:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b712290012d7dcd8005a67f40000e009f29..."} 
[2026-07-07 12:49:04] local.INFO: Processing buffer {"connection_id":124382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b712290012d7dcd8005a67f40000e009f29..."} 
[2026-07-07 12:49:04] local.INFO: Packet analysis {"connection_id":124382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b71"} 
[2026-07-07 12:49:04] local.INFO: Extracted packet for processing {"connection_id":124382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b71"} 
[2026-07-07 12:49:04] local.INFO: GPS Element Parsed {"raw_longitude":763219328,"raw_latitude":94797632,"longitude_deg":76.3219328,"latitude_deg":9.4797632,"altitude":14,"angle":159,"satellites":41,"speed":54,"hex_longitude":"2d7dcd80","hex_latitude":"05a67f40","is_valid_coordinates":true} 
[2026-07-07 12:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552624896001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341169034940645376,"note":"Value kept but may cause issues"} 
[2026-07-07 12:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062016530725847040,"note":"Value kept but may cause issues"} 
[2026-07-07 12:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783408698000,"timestamp_ms":1783408698000,"timestamp_seconds":1783408698,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b712290"} 
[2026-07-07 12:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 12:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552624896001,"66":27876,"34":206,"85":14336,"24":54,"16":341169034940645376,"45":9062016530725847040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-07 12:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552624896001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:49:04] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-07 12:49:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341169034940645376,"km_value":341169034940645.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062016530725847040,"description":"Unknown IO ID 45"} 
[2026-07-07 12:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552624896001,"power":27876,"unknown_34":206,"unknown_85":14336,"ignition":54,"odometer":null,"unknown_45":9062016530725847040}} 
[2026-07-07 12:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":124382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:49:04] local.INFO: GPS data processed {"connection_id":124382,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:49:04] local.INFO: Acknowledgment sent {"connection_id":124382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:49:21] local.INFO: TCP Data received {"connection_id":124383,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:49:21] local.INFO: Processing buffer {"connection_id":124383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:49:21] local.INFO: IMEI packet received {"connection_id":124383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":124383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:49:27] local.INFO: TCP Data received {"connection_id":124383,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:49:27] local.INFO: Processing buffer {"connection_id":124383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:49:27] local.INFO: IMEI packet received {"connection_id":124383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":124383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:49:28] local.INFO: TCP Data received {"connection_id":124383,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b6dea58012d19700007203d380027006524..."} 
[2026-07-07 12:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b6dea58012d19700007203d380027006524..."} 
[2026-07-07 12:49:28] local.INFO: Processing buffer {"connection_id":124383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b6dea58012d19700007203d380027006524..."} 
[2026-07-07 12:49:28] local.INFO: Packet analysis {"connection_id":124383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b6d"} 
[2026-07-07 12:49:28] local.INFO: Extracted packet for processing {"connection_id":124383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b6d"} 
[2026-07-07 12:49:28] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":36,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552567296001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:49: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-07-07 12:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783408487000,"timestamp_ms":1783408487000,"timestamp_seconds":1783408487,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b6dea58"} 
[2026-07-07 12:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-07 12:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552567296001,"66":12613,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552567296001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:49:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:49:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552567296001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":124383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:49:29] local.INFO: GPS data processed {"connection_id":124383,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:49:29] local.INFO: Acknowledgment sent {"connection_id":124383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:49:35] local.INFO: TCP Data received {"connection_id":124382,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b713de8012d7ddf0005a65d60000f009129..."} 
[2026-07-07 12:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b713de8012d7ddf0005a65d60000f009129..."} 
[2026-07-07 12:49:35] local.INFO: Processing buffer {"connection_id":124382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b713de8012d7ddf0005a65d60000f009129..."} 
[2026-07-07 12:49:35] local.INFO: Packet analysis {"connection_id":124382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b71"} 
[2026-07-07 12:49:35] local.INFO: Extracted packet for processing {"connection_id":124382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b71"} 
[2026-07-07 12:49:35] local.INFO: GPS Element Parsed {"raw_longitude":763223808,"raw_latitude":94788960,"longitude_deg":76.3223808,"latitude_deg":9.478896,"altitude":15,"angle":145,"satellites":41,"speed":56,"hex_longitude":"2d7ddf00","hex_latitude":"05a65d60","is_valid_coordinates":true} 
[2026-07-07 12:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552626688001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341169511682015232,"note":"Value kept but may cause issues"} 
[2026-07-07 12:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065042386723225600,"note":"Value kept but may cause issues"} 
[2026-07-07 12:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783408705000,"timestamp_ms":1783408705000,"timestamp_seconds":1783408705,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b713de8"} 
[2026-07-07 12:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 12:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552626688001,"66":27800,"34":206,"85":14336,"24":56,"16":341169511682015232,"45":9065042386723225600},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-07 12:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552626688001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:49:35] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-07 12:49:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341169511682015232,"km_value":341169511682015.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065042386723225600,"description":"Unknown IO ID 45"} 
[2026-07-07 12:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552626688001,"power":27800,"unknown_34":206,"unknown_85":14336,"ignition":56,"odometer":null,"unknown_45":9065042386723225600}} 
[2026-07-07 12:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":124382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:49:35] local.INFO: GPS data processed {"connection_id":124382,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:49:35] local.INFO: Acknowledgment sent {"connection_id":124382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:49:59] local.INFO: TCP Data received {"connection_id":125193,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:49:59] local.INFO: Processing buffer {"connection_id":125193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:49:59] local.INFO: IMEI packet received {"connection_id":125193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":125193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:50:01] local.INFO: TCP Data received {"connection_id":124383,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7170b0012d19700007203d380027006522..."} 
[2026-07-07 12:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7170b0012d19700007203d380027006522..."} 
[2026-07-07 12:50:01] local.INFO: Processing buffer {"connection_id":124383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7170b0012d19700007203d380027006522..."} 
[2026-07-07 12:50:01] local.INFO: Packet analysis {"connection_id":124383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b71"} 
[2026-07-07 12:50:01] local.INFO: Extracted packet for processing {"connection_id":124383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b71"} 
[2026-07-07 12:50:01] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":34,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552626432001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:50: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-07-07 12:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783408718000,"timestamp_ms":1783408718000,"timestamp_seconds":1783408718,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7170b0"} 
[2026-07-07 12:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 12:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552626432001,"66":12385,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552626432001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:50:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:50:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552626432001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":124383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:50:01] local.INFO: GPS data processed {"connection_id":124383,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:50:01] local.INFO: Acknowledgment sent {"connection_id":124383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:50:01] local.INFO: TCP Data received {"connection_id":125193,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:50:01] local.INFO: Processing buffer {"connection_id":125193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:50:01] local.INFO: IMEI packet received {"connection_id":125193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":125193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:50:04] local.INFO: TCP Data received {"connection_id":125193,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:50:04] local.INFO: Processing buffer {"connection_id":125193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:50:04] local.INFO: IMEI packet received {"connection_id":125193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":125193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:50:05] local.INFO: TCP Data received {"connection_id":125193,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b713de8012d7ddf0005a65d60000f009129..."} 
[2026-07-07 12:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b713de8012d7ddf0005a65d60000f009129..."} 
[2026-07-07 12:50:05] local.INFO: Processing buffer {"connection_id":125193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b713de8012d7ddf0005a65d60000f009129..."} 
[2026-07-07 12:50:05] local.INFO: Packet analysis {"connection_id":125193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b71"} 
[2026-07-07 12:50:05] local.INFO: Extracted packet for processing {"connection_id":125193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b71"} 
[2026-07-07 12:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763223808,"raw_latitude":94788960,"longitude_deg":76.3223808,"latitude_deg":9.478896,"altitude":15,"angle":145,"satellites":41,"speed":56,"hex_longitude":"2d7ddf00","hex_latitude":"05a65d60","is_valid_coordinates":true} 
[2026-07-07 12:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552628480001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341169511682015232,"note":"Value kept but may cause issues"} 
[2026-07-07 12:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9069968198813442048,"note":"Value kept but may cause issues"} 
[2026-07-07 12:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783408705000,"timestamp_ms":1783408705000,"timestamp_seconds":1783408705,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b713de8"} 
[2026-07-07 12:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 12:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552628480001,"66":27800,"34":206,"85":14336,"24":56,"16":341169511682015232,"45":9069968198813442048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-07 12:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552628480001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:50:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-07 12:50:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341169511682015232,"km_value":341169511682015.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9069968198813442048,"description":"Unknown IO ID 45"} 
[2026-07-07 12:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552628480001,"power":27800,"unknown_34":206,"unknown_85":14336,"ignition":56,"odometer":null,"unknown_45":9069968198813442048}} 
[2026-07-07 12:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":125193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:50:05] local.INFO: GPS data processed {"connection_id":125193,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:50:05] local.INFO: Acknowledgment sent {"connection_id":125193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:50:09] local.INFO: TCP Data received {"connection_id":125193,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b715940012d7df78005a64088000f008629..."} 
[2026-07-07 12:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b715940012d7df78005a64088000f008629..."} 
[2026-07-07 12:50:09] local.INFO: Processing buffer {"connection_id":125193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b715940012d7df78005a64088000f008629..."} 
[2026-07-07 12:50:09] local.INFO: Packet analysis {"connection_id":125193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b71"} 
[2026-07-07 12:50:09] local.INFO: Extracted packet for processing {"connection_id":125193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b71"} 
[2026-07-07 12:50:09] local.INFO: GPS Element Parsed {"raw_longitude":763230080,"raw_latitude":94781576,"longitude_deg":76.323008,"latitude_deg":9.4781576,"altitude":15,"angle":134,"satellites":41,"speed":53,"hex_longitude":"2d7df780","hex_latitude":"05a64088","is_valid_coordinates":true} 
[2026-07-07 12:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552628480001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341169975538483200,"note":"Value kept but may cause issues"} 
[2026-07-07 12:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9069968198813442048,"note":"Value kept but may cause issues"} 
[2026-07-07 12:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783408712000,"timestamp_ms":1783408712000,"timestamp_seconds":1783408712,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b715940"} 
[2026-07-07 12:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:50: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-07-07 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 12:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552628480001,"66":27800,"34":206,"85":14336,"24":53,"16":341169975538483200,"45":9069968198813442048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-07-07 12:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552628480001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:50:09] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-07 12:50:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341169975538483200,"km_value":341169975538483.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9069968198813442048,"description":"Unknown IO ID 45"} 
[2026-07-07 12:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552628480001,"power":27800,"unknown_34":206,"unknown_85":14336,"ignition":53,"odometer":null,"unknown_45":9069968198813442048}} 
[2026-07-07 12:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":125193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:50:09] local.INFO: GPS data processed {"connection_id":125193,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:50:09] local.INFO: Acknowledgment sent {"connection_id":125193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:50:19] local.INFO: TCP Data received {"connection_id":124384,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:50:19] local.INFO: Processing buffer {"connection_id":124384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:50:19] local.INFO: IMEI packet received {"connection_id":124384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":124384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:50:21] local.INFO: TCP Data received {"connection_id":124384,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:50:21] local.INFO: Processing buffer {"connection_id":124384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:50:21] local.INFO: IMEI packet received {"connection_id":124384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":124384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:50:27] local.INFO: TCP Data received {"connection_id":124384,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:50:27] local.INFO: Processing buffer {"connection_id":124384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:50:27] local.INFO: IMEI packet received {"connection_id":124384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":124384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:50:29] local.INFO: TCP Data received {"connection_id":124384,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b71c2b8012d19700007203d380027006522..."} 
[2026-07-07 12:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b71c2b8012d19700007203d380027006522..."} 
[2026-07-07 12:50:29] local.INFO: Processing buffer {"connection_id":124384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b71c2b8012d19700007203d380027006522..."} 
[2026-07-07 12:50:29] local.INFO: Packet analysis {"connection_id":124384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b71"} 
[2026-07-07 12:50:29] local.INFO: Extracted packet for processing {"connection_id":124384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b71"} 
[2026-07-07 12:50:29] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":34,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552631808001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783408739000,"timestamp_ms":1783408739000,"timestamp_seconds":1783408739,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b71c2b8"} 
[2026-07-07 12:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 12:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":124384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":124384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":124384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552631808001,"66":12385,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552631808001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:50:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:50:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552631808001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":124384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:50:29] local.INFO: GPS data processed {"connection_id":124384,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:50:29] local.INFO: Acknowledgment sent {"connection_id":124384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:50:41] local.INFO: TCP Data received {"connection_id":125193,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b727a50012d7f360005a58ab0000b00722a..."} 
[2026-07-07 12:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b727a50012d7f360005a58ab0000b00722a..."} 
[2026-07-07 12:50:41] local.INFO: Processing buffer {"connection_id":125193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b727a50012d7f360005a58ab0000b00722a..."} 
[2026-07-07 12:50:41] local.INFO: Packet analysis {"connection_id":125193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b72"} 
[2026-07-07 12:50:41] local.INFO: Extracted packet for processing {"connection_id":125193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b72"} 
[2026-07-07 12:50:41] local.INFO: GPS Element Parsed {"raw_longitude":763311616,"raw_latitude":94735024,"longitude_deg":76.3311616,"latitude_deg":9.4735024,"altitude":11,"angle":114,"satellites":42,"speed":55,"hex_longitude":"2d7f3600","hex_latitude":"05a58ab0","is_valid_coordinates":true} 
[2026-07-07 12:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552647424001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341174493844078592,"note":"Value kept but may cause issues"} 
[2026-07-07 12:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9157295810325106688,"note":"Value kept but may cause issues"} 
[2026-07-07 12:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783408786000,"timestamp_ms":1783408786000,"timestamp_seconds":1783408786,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b727a50"} 
[2026-07-07 12:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12: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-07-07 12:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 12:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552647424001,"66":27887,"54":206,"85":14336,"24":55,"16":341174493844078592,"45":9157295810325106688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-07-07 12:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552647424001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:50:41] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-07 12:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341174493844078592,"km_value":341174493844078.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9157295810325106688,"description":"Unknown IO ID 45"} 
[2026-07-07 12:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552647424001,"power":27887,"unknown_54":206,"unknown_85":14336,"ignition":55,"odometer":null,"unknown_45":9157295810325106688}} 
[2026-07-07 12:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":125193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:50:41] local.INFO: GPS data processed {"connection_id":125193,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:50:41] local.INFO: Acknowledgment sent {"connection_id":125193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:50:57] local.INFO: TCP Data received {"connection_id":124472,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:50:57] local.INFO: Processing buffer {"connection_id":124472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:50:57] local.INFO: IMEI packet received {"connection_id":124472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":124472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:50:59] local.INFO: TCP Data received {"connection_id":124472,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:50:59] local.INFO: Processing buffer {"connection_id":124472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:50:59] local.INFO: IMEI packet received {"connection_id":124472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":124472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:51:00] local.INFO: TCP Data received {"connection_id":124472,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:51:00] local.INFO: Processing buffer {"connection_id":124472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:51:00] local.INFO: IMEI packet received {"connection_id":124472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":124472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:51:01] local.INFO: TCP Data received {"connection_id":124384,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7214c0012d19700007203d380027006520..."} 
[2026-07-07 12:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7214c0012d19700007203d380027006520..."} 
[2026-07-07 12:51:01] local.INFO: Processing buffer {"connection_id":124384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7214c0012d19700007203d380027006520..."} 
[2026-07-07 12:51:01] local.INFO: Packet analysis {"connection_id":124384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b72"} 
[2026-07-07 12:51:01] local.INFO: Extracted packet for processing {"connection_id":124384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b72"} 
[2026-07-07 12:51:01] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":32,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552637184001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51: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-07-07 12:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783408760000,"timestamp_ms":1783408760000,"timestamp_seconds":1783408760,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7214c0"} 
[2026-07-07 12:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:51: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":97,"data_length":795,"current_offset":136} 
[2026-07-07 12:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552637184001,"66":12298,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552637184001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:51:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:51:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552637184001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":124384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:51:01] local.INFO: GPS data processed {"connection_id":124384,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:51:01] local.INFO: Acknowledgment sent {"connection_id":124384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:51:04] local.INFO: TCP Data received {"connection_id":124472,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:51:04] local.INFO: Processing buffer {"connection_id":124472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:51:04] local.INFO: IMEI packet received {"connection_id":124472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":124472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:51:05] local.INFO: TCP Data received {"connection_id":124472,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7295a8012d7f5a4005a57a90000900722a..."} 
[2026-07-07 12:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7295a8012d7f5a4005a57a90000900722a..."} 
[2026-07-07 12:51:05] local.INFO: Processing buffer {"connection_id":124472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7295a8012d7f5a4005a57a90000900722a..."} 
[2026-07-07 12:51:05] local.INFO: Packet analysis {"connection_id":124472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b72"} 
[2026-07-07 12:51:05] local.INFO: Extracted packet for processing {"connection_id":124472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b72"} 
[2026-07-07 12:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763320896,"raw_latitude":94730896,"longitude_deg":76.3320896,"latitude_deg":9.4730896,"altitude":9,"angle":114,"satellites":42,"speed":58,"hex_longitude":"2d7f5a40","hex_latitude":"05a57a90","is_valid_coordinates":true} 
[2026-07-07 12:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552649216001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341174979175383040,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166514115811389440,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783408793000,"timestamp_ms":1783408793000,"timestamp_seconds":1783408793,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7295a8"} 
[2026-07-07 12:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 12:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552649216001,"66":27919,"54":206,"85":14336,"24":58,"16":341174979175383040,"45":9166514115811389440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-07-07 12:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552649216001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:51:05] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-07 12:51:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341174979175383040,"km_value":341174979175383.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166514115811389440,"description":"Unknown IO ID 45"} 
[2026-07-07 12:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552649216001,"power":27919,"unknown_54":206,"unknown_85":14336,"ignition":58,"odometer":null,"unknown_45":9166514115811389440}} 
[2026-07-07 12:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":124472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:51:05] local.INFO: GPS data processed {"connection_id":124472,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:51:05] local.INFO: Acknowledgment sent {"connection_id":124472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:51:21] local.INFO: TCP Data received {"connection_id":126431,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:51:21] local.INFO: Processing buffer {"connection_id":126431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:51:21] local.INFO: IMEI packet received {"connection_id":126431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":126431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:51:24] local.INFO: TCP Data received {"connection_id":125195,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:51:24] local.INFO: Processing buffer {"connection_id":125195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:51:24] local.INFO: IMEI packet received {"connection_id":125195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 12:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":125195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:51:28] local.INFO: TCP Data received {"connection_id":126431,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:51:28] local.INFO: Processing buffer {"connection_id":126431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:51:28] local.INFO: IMEI packet received {"connection_id":126431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":126431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:51:29] local.INFO: TCP Data received {"connection_id":126431,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:51:29] local.INFO: Processing buffer {"connection_id":126431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:51:29] local.INFO: IMEI packet received {"connection_id":126431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":126431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:51:36] local.INFO: TCP Data received {"connection_id":124472,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b72b100012d7f7d4005a56b90000600712a..."} 
[2026-07-07 12:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b72b100012d7f7d4005a56b90000600712a..."} 
[2026-07-07 12:51:36] local.INFO: Processing buffer {"connection_id":124472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b72b100012d7f7d4005a56b90000600712a..."} 
[2026-07-07 12:51:36] local.INFO: Packet analysis {"connection_id":124472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b72"} 
[2026-07-07 12:51:36] local.INFO: Extracted packet for processing {"connection_id":124472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b72"} 
[2026-07-07 12:51:36] local.INFO: GPS Element Parsed {"raw_longitude":763329856,"raw_latitude":94727056,"longitude_deg":76.3329856,"latitude_deg":9.4727056,"altitude":6,"angle":113,"satellites":42,"speed":49,"hex_longitude":"2d7f7d40","hex_latitude":"05a56b90","is_valid_coordinates":true} 
[2026-07-07 12:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552651008001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341175447326818304,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9176717583716093952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783408800000,"timestamp_ms":1783408800000,"timestamp_seconds":1783408800,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b72b100"} 
[2026-07-07 12:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 12:51: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-07-07 12:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552651008001,"66":27930,"54":206,"85":14336,"24":49,"16":341175447326818304,"45":9176717583716093952},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-07-07 12:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552651008001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:51:36] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-07 12:51:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341175447326818304,"km_value":341175447326818.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9176717583716093952,"description":"Unknown IO ID 45"} 
[2026-07-07 12:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552651008001,"power":27930,"unknown_54":206,"unknown_85":14336,"ignition":49,"odometer":null,"unknown_45":9176717583716093952}} 
[2026-07-07 12:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":124472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:51:36] local.INFO: GPS data processed {"connection_id":124472,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:51:36] local.INFO: Acknowledgment sent {"connection_id":124472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:51:38] local.INFO: TCP Data received {"connection_id":126431,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:51:38] local.INFO: Processing buffer {"connection_id":126431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:51:38] local.INFO: IMEI packet received {"connection_id":126431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":126431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:51:39] local.INFO: TCP Data received {"connection_id":126431,"ip":"117.224.141.66","data_length":1360,"data_hex":"000000000000030f8e0a0000019f3b7266c8012d19700007203d380027006523..."} 
[2026-07-07 12:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126431,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019f3b7266c8012d19700007203d380027006523..."} 
[2026-07-07 12:51:39] local.INFO: Processing buffer {"connection_id":126431,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019f3b7266c8012d19700007203d380027006523..."} 
[2026-07-07 12:51:39] local.INFO: Packet analysis {"connection_id":126431,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019f3b72"} 
[2026-07-07 12:51:39] local.INFO: Extracted packet for processing {"connection_id":126431,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f3b72"} 
[2026-07-07 12:51:39] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552642560001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783408781000,"timestamp_ms":1783408781000,"timestamp_seconds":1783408781,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7266c8"} 
[2026-07-07 12:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 12:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513477668250255461,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:39] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452305,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:39] local.WARNING: Large IO value detected {"io_id":105,"raw_value":-6196953087261802495,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4282877650276260208,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2466303463,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:39] local.WARNING: Large IO value detected {"io_id":39,"raw_value":28467455554748416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460569143247054,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-07 12:51:39] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:39] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,121,28,24,241,158,16,105,159,194,45,61,39,34,10,66,112,30,1,240,118,59,32,4,113,205,122,56,36,239,2,17,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-07 12:51:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810357355592548352,"timestamp_seconds":2810357355592548.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 12:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552642560001,"66":11547,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552642560001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:51:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:51:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552642560001,"power":11547,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":126431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:51:40] local.INFO: GPS data processed {"connection_id":126431,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:51:40] local.INFO: Acknowledgment sent {"connection_id":126431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:51:40] local.INFO: Packet analysis {"connection_id":126431,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f3b72"} 
[2026-07-07 12:51:40] local.INFO: Incomplete packet, waiting for more data {"connection_id":126431,"needed":795,"available":565} 
[2026-07-07 12:51:40] local.INFO: TCP Data received {"connection_id":126431,"ip":"117.224.141.66","data_length":230,"data_hex":"2d19700007203d38002700652400000000000a000400ef0100714a00f0010045..."} 
[2026-07-07 12:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126431,"packet_length":230,"packet_hex":"2d19700007203d38002700652400000000000a000400ef0100714a00f0010045..."} 
[2026-07-07 12:51:40] local.INFO: Processing buffer {"connection_id":126431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b72b8d0012d19700007203d380027006523..."} 
[2026-07-07 12:51:40] local.INFO: Packet analysis {"connection_id":126431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b72"} 
[2026-07-07 12:51:40] local.INFO: Extracted packet for processing {"connection_id":126431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b72"} 
[2026-07-07 12:51:40] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552647936001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783408802000,"timestamp_ms":1783408802000,"timestamp_seconds":1783408802,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b72b8d0"} 
[2026-07-07 12:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-07 12:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552647936001,"66":12287,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552647936001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:51:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:51:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552647936001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":126431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:51:40] local.INFO: GPS data processed {"connection_id":126431,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:51:40] local.INFO: Acknowledgment sent {"connection_id":126431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:51:42] local.INFO: TCP Data received {"connection_id":126431,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b730ad8012d19700007203d380027006521..."} 
[2026-07-07 12:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b730ad8012d19700007203d380027006521..."} 
[2026-07-07 12:51:42] local.INFO: Processing buffer {"connection_id":126431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b730ad8012d19700007203d380027006521..."} 
[2026-07-07 12:51:42] local.INFO: Packet analysis {"connection_id":126431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b73"} 
[2026-07-07 12:51:42] local.INFO: Extracted packet for processing {"connection_id":126431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b73"} 
[2026-07-07 12:51:42] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":33,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552653312001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12: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-07-07 12:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783408823000,"timestamp_ms":1783408823000,"timestamp_seconds":1783408823,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b730ad8"} 
[2026-07-07 12:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-07 12:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552653312001,"66":12341,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552653312001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:51:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:51:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552653312001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":126431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:51:42] local.INFO: GPS data processed {"connection_id":126431,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:51:42] local.INFO: Acknowledgment sent {"connection_id":126431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:51:59] local.INFO: TCP Data received {"connection_id":124473,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:51:59] local.INFO: Processing buffer {"connection_id":124473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:51:59] local.INFO: IMEI packet received {"connection_id":124473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":124473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:52:04] local.INFO: TCP Data received {"connection_id":124473,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:52:04] local.INFO: Processing buffer {"connection_id":124473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:52:04] local.INFO: IMEI packet received {"connection_id":124473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":124473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:52:04] local.INFO: TCP Data received {"connection_id":124385,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:52:04] local.INFO: Processing buffer {"connection_id":124385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:52:04] local.INFO: IMEI packet received {"connection_id":124385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 12:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":124385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:52:05] local.INFO: TCP Data received {"connection_id":124473,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b72d040012d7f9fc005a55e10000600712a..."} 
[2026-07-07 12:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b72d040012d7f9fc005a55e10000600712a..."} 
[2026-07-07 12:52:05] local.INFO: Processing buffer {"connection_id":124473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b72d040012d7f9fc005a55e10000600712a..."} 
[2026-07-07 12:52:05] local.INFO: Packet analysis {"connection_id":124473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b72"} 
[2026-07-07 12:52:05] local.INFO: Extracted packet for processing {"connection_id":124473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b72"} 
[2026-07-07 12:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":94723600,"longitude_deg":76.3338688,"latitude_deg":9.47236,"altitude":6,"angle":113,"satellites":42,"speed":43,"hex_longitude":"2d7f9fc0","hex_latitude":"05a55e10","is_valid_coordinates":true} 
[2026-07-07 12:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552652800001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341175902593351680,"note":"Value kept but may cause issues"} 
[2026-07-07 12:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9186569207899983872,"note":"Value kept but may cause issues"} 
[2026-07-07 12:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783408808000,"timestamp_ms":1783408808000,"timestamp_seconds":1783408808,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b72d040"} 
[2026-07-07 12:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 12:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552652800001,"66":27908,"54":206,"85":14336,"24":43,"16":341175902593351680,"45":9186569207899983872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-07-07 12:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552652800001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:52:05] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-07 12:52:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341175902593351680,"km_value":341175902593351.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9186569207899983872,"description":"Unknown IO ID 45"} 
[2026-07-07 12:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552652800001,"power":27908,"unknown_54":206,"unknown_85":14336,"ignition":43,"odometer":null,"unknown_45":9186569207899983872}} 
[2026-07-07 12:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":124473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:52:05] local.INFO: GPS data processed {"connection_id":124473,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:52:05] local.INFO: Acknowledgment sent {"connection_id":124473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:52:21] local.INFO: TCP Data received {"connection_id":124386,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:52:21] local.INFO: Processing buffer {"connection_id":124386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:52:21] local.INFO: IMEI packet received {"connection_id":124386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":124386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:52:25] local.INFO: TCP Data received {"connection_id":124386,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:52:25] local.INFO: Processing buffer {"connection_id":124386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:52:25] local.INFO: IMEI packet received {"connection_id":124386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":124386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:52:26] local.INFO: TCP Data received {"connection_id":124386,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:52:26] local.INFO: Processing buffer {"connection_id":124386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:52:26] local.INFO: IMEI packet received {"connection_id":124386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":124386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:52:30] local.INFO: TCP Data received {"connection_id":124386,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b735ce0012d19700007203d380027006521..."} 
[2026-07-07 12:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b735ce0012d19700007203d380027006521..."} 
[2026-07-07 12:52:30] local.INFO: Processing buffer {"connection_id":124386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b735ce0012d19700007203d380027006521..."} 
[2026-07-07 12:52:30] local.INFO: Packet analysis {"connection_id":124386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b73"} 
[2026-07-07 12:52:30] local.INFO: Extracted packet for processing {"connection_id":124386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b73"} 
[2026-07-07 12:52:30] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":33,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552658688001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:52: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-07-07 12:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783408844000,"timestamp_ms":1783408844000,"timestamp_seconds":1783408844,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b735ce0"} 
[2026-07-07 12:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-07 12:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552658688001,"66":12287,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552658688001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:52:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:52:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552658688001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":124386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:52:30] local.INFO: GPS data processed {"connection_id":124386,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:52:30] local.INFO: Acknowledgment sent {"connection_id":124386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:52:32] local.INFO: TCP Data received {"connection_id":124386,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b73aee8012d19700007203d380027006523..."} 
[2026-07-07 12:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b73aee8012d19700007203d380027006523..."} 
[2026-07-07 12:52:32] local.INFO: Processing buffer {"connection_id":124386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b73aee8012d19700007203d380027006523..."} 
[2026-07-07 12:52:32] local.INFO: Packet analysis {"connection_id":124386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b73"} 
[2026-07-07 12:52:32] local.INFO: Extracted packet for processing {"connection_id":124386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b73"} 
[2026-07-07 12:52:32] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552664064001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:52: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-07-07 12:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783408865000,"timestamp_ms":1783408865000,"timestamp_seconds":1783408865,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b73aee8"} 
[2026-07-07 12:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-07 12:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552664064001,"66":12287,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552664064001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:52:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:52:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552664064001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":124386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:52:32] local.INFO: GPS data processed {"connection_id":124386,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:52:32] local.INFO: Acknowledgment sent {"connection_id":124386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:52:37] local.INFO: TCP Data received {"connection_id":124473,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b72ef80012d7fbf0005a551b8000600642a..."} 
[2026-07-07 12:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b72ef80012d7fbf0005a551b8000600642a..."} 
[2026-07-07 12:52:37] local.INFO: Processing buffer {"connection_id":124473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b72ef80012d7fbf0005a551b8000600642a..."} 
[2026-07-07 12:52:37] local.INFO: Packet analysis {"connection_id":124473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b72"} 
[2026-07-07 12:52:37] local.INFO: Extracted packet for processing {"connection_id":124473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b72"} 
[2026-07-07 12:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763346688,"raw_latitude":94720440,"longitude_deg":76.3346688,"latitude_deg":9.472044,"altitude":6,"angle":100,"satellites":42,"speed":36,"hex_longitude":"2d7fbf00","hex_latitude":"05a551b8","is_valid_coordinates":true} 
[2026-07-07 12:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552654848001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341176314910212096,"note":"Value kept but may cause issues"} 
[2026-07-07 12:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094595616768,"note":"Value kept but may cause issues"} 
[2026-07-07 12:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783408816000,"timestamp_ms":1783408816000,"timestamp_seconds":1783408816,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b72ef80"} 
[2026-07-07 12:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 12:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552654848001,"66":27930,"54":206,"85":14336,"24":36,"16":341176314910212096,"45":9196280094595616768},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-07-07 12:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552654848001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:52:37] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-07 12:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341176314910212096,"km_value":341176314910212.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094595616768,"description":"Unknown IO ID 45"} 
[2026-07-07 12:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552654848001,"power":27930,"unknown_54":206,"unknown_85":14336,"ignition":36,"odometer":null,"unknown_45":9196280094595616768}} 
[2026-07-07 12:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":124473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:52:37] local.INFO: GPS data processed {"connection_id":124473,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:52:37] local.INFO: Acknowledgment sent {"connection_id":124473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:53:03] local.INFO: TCP Data received {"connection_id":124386,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7400f0012d19700007203d380027006521..."} 
[2026-07-07 12:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7400f0012d19700007203d380027006521..."} 
[2026-07-07 12:53:03] local.INFO: Processing buffer {"connection_id":124386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7400f0012d19700007203d380027006521..."} 
[2026-07-07 12:53:03] local.INFO: Packet analysis {"connection_id":124386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b74"} 
[2026-07-07 12:53:03] local.INFO: Extracted packet for processing {"connection_id":124386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b74"} 
[2026-07-07 12:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":33,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552669440001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783408886000,"timestamp_ms":1783408886000,"timestamp_seconds":1783408886,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7400f0"} 
[2026-07-07 12:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-07 12:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552669440001,"66":12319,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552669440001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:53:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:53:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552669440001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":124386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:53:03] local.INFO: GPS data processed {"connection_id":124386,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:53:03] local.INFO: Acknowledgment sent {"connection_id":124386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:53:10] local.INFO: TCP Data received {"connection_id":124388,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:53:10] local.INFO: Processing buffer {"connection_id":124388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:53:10] local.INFO: IMEI packet received {"connection_id":124388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":124388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:53:12] local.INFO: TCP Data received {"connection_id":124388,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:53:12] local.INFO: Processing buffer {"connection_id":124388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:53:12] local.INFO: IMEI packet received {"connection_id":124388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":124388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:53:13] local.INFO: TCP Data received {"connection_id":124388,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b746680012d806bc005a46b80000600a22a..."} 
[2026-07-07 12:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b746680012d806bc005a46b80000600a22a..."} 
[2026-07-07 12:53:13] local.INFO: Processing buffer {"connection_id":124388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b746680012d806bc005a46b80000600a22a..."} 
[2026-07-07 12:53:13] local.INFO: Packet analysis {"connection_id":124388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b74"} 
[2026-07-07 12:53:13] local.INFO: Extracted packet for processing {"connection_id":124388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b74"} 
[2026-07-07 12:53:13] local.INFO: GPS Element Parsed {"raw_longitude":763390912,"raw_latitude":94661504,"longitude_deg":76.3390912,"latitude_deg":9.4661504,"altitude":6,"angle":162,"satellites":42,"speed":18,"hex_longitude":"2d806bc0","hex_latitude":"05a46b80","is_valid_coordinates":true} 
[2026-07-07 12:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552676096001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341180038646857728,"note":"Value kept but may cause issues"} 
[2026-07-07 12:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195154146204407808,"note":"Value kept but may cause issues"} 
[2026-07-07 12:53:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 12:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783408912000,"timestamp_ms":1783408912000,"timestamp_seconds":1783408912,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b746680"} 
[2026-07-07 12:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12: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-07-07 12: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":195,"data_length":795,"current_offset":136} 
[2026-07-07 12:53: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-07-07 12:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552676096001,"66":27876,"16":341180038646857728,"85":14336,"24":18,"45":-9195154146204407808},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,45]} 
[2026-07-07 12:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552676096001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341180038646857728,"km_value":341180038646857.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:53:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195154146204407808,"description":"Unknown IO ID 45"} 
[2026-07-07 12:53:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456552676096001,"power":27876,"odometer":null,"unknown_85":14336,"ignition":18,"unknown_45":-9195154146204407808}} 
[2026-07-07 12:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":124388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:53:13] local.INFO: GPS data processed {"connection_id":124388,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:53:13] local.INFO: Acknowledgment sent {"connection_id":124388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:53:13] local.INFO: TCP Data received {"connection_id":124388,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b74a500012d80748005a44860000700ab2a..."} 
[2026-07-07 12:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b74a500012d80748005a44860000700ab2a..."} 
[2026-07-07 12:53:13] local.INFO: Processing buffer {"connection_id":124388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b74a500012d80748005a44860000700ab2a..."} 
[2026-07-07 12:53:13] local.INFO: Packet analysis {"connection_id":124388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b74"} 
[2026-07-07 12:53:13] local.INFO: Extracted packet for processing {"connection_id":124388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b74"} 
[2026-07-07 12:53:13] local.INFO: GPS Element Parsed {"raw_longitude":763393152,"raw_latitude":94652512,"longitude_deg":76.3393152,"latitude_deg":9.4652512,"altitude":7,"angle":171,"satellites":42,"speed":26,"hex_longitude":"2d807480","hex_latitude":"05a44860","is_valid_coordinates":true} 
[2026-07-07 12:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552681472001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341180489618423808,"note":"Value kept but may cause issues"} 
[2026-07-07 12:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193043083880857600,"note":"Value kept but may cause issues"} 
[2026-07-07 12:53:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 12:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783408928000,"timestamp_ms":1783408928000,"timestamp_seconds":1783408928,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b74a500"} 
[2026-07-07 12:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12: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-07-07 12: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-07-07 12: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-07-07 12:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552681472001,"66":27832,"16":341180489618423808,"85":14336,"24":26,"45":-9193043083880857600},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,45]} 
[2026-07-07 12:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552681472001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341180489618423808,"km_value":341180489618423.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:53:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193043083880857600,"description":"Unknown IO ID 45"} 
[2026-07-07 12:53:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456552681472001,"power":27832,"odometer":null,"unknown_85":14336,"ignition":26,"unknown_45":-9193043083880857600}} 
[2026-07-07 12:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":124388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:53:13] local.INFO: GPS data processed {"connection_id":124388,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:53:13] local.INFO: Acknowledgment sent {"connection_id":124388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:53:27] local.INFO: TCP Data received {"connection_id":126432,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:53:27] local.INFO: Processing buffer {"connection_id":126432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:53:27] local.INFO: IMEI packet received {"connection_id":126432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":126432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:53:29] local.INFO: TCP Data received {"connection_id":126432,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:53:29] local.INFO: Processing buffer {"connection_id":126432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:53:29] local.INFO: IMEI packet received {"connection_id":126432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":126432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:53:30] local.INFO: TCP Data received {"connection_id":126432,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7452f8012d19700007203d380027006522..."} 
[2026-07-07 12:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7452f8012d19700007203d380027006522..."} 
[2026-07-07 12:53:30] local.INFO: Processing buffer {"connection_id":126432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7452f8012d19700007203d380027006522..."} 
[2026-07-07 12:53:30] local.INFO: Packet analysis {"connection_id":126432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b74"} 
[2026-07-07 12:53:30] local.INFO: Extracted packet for processing {"connection_id":126432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b74"} 
[2026-07-07 12:53:30] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":34,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552674816001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:53: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-07-07 12:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783408907000,"timestamp_ms":1783408907000,"timestamp_seconds":1783408907,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7452f8"} 
[2026-07-07 12:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-07 12:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":126432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":126432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":126432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552674816001,"66":12287,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552674816001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:53:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:53:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552674816001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":126432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:53:30] local.INFO: GPS data processed {"connection_id":126432,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:53:30] local.INFO: Acknowledgment sent {"connection_id":126432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:53:32] local.INFO: TCP Data received {"connection_id":126432,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b74a500012d19700007203d380027006524..."} 
[2026-07-07 12:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b74a500012d19700007203d380027006524..."} 
[2026-07-07 12:53:32] local.INFO: Processing buffer {"connection_id":126432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b74a500012d19700007203d380027006524..."} 
[2026-07-07 12:53:32] local.INFO: Packet analysis {"connection_id":126432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b74"} 
[2026-07-07 12:53:32] local.INFO: Extracted packet for processing {"connection_id":126432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b74"} 
[2026-07-07 12:53:32] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":36,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552680192001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:53: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-07-07 12:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783408928000,"timestamp_ms":1783408928000,"timestamp_seconds":1783408928,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b74a500"} 
[2026-07-07 12:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-07 12:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552680192001,"66":12287,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552680192001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:53:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:53:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552680192001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":126432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:53:32] local.INFO: GPS data processed {"connection_id":126432,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:53:32] local.INFO: Acknowledgment sent {"connection_id":126432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:53:59] local.INFO: TCP Data received {"connection_id":124389,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:53:59] local.INFO: Processing buffer {"connection_id":124389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:53:59] local.INFO: IMEI packet received {"connection_id":124389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":124389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:54:00] local.INFO: TCP Data received {"connection_id":124389,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:54:00] local.INFO: Processing buffer {"connection_id":124389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:54:00] local.INFO: IMEI packet received {"connection_id":124389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":124389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:54:01] local.INFO: TCP Data received {"connection_id":124389,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b74cff8012d807ac005a42570000600a92a..."} 
[2026-07-07 12:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b74cff8012d807ac005a42570000600a92a..."} 
[2026-07-07 12:54:01] local.INFO: Processing buffer {"connection_id":124389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b74cff8012d807ac005a42570000600a92a..."} 
[2026-07-07 12:54:01] local.INFO: Packet analysis {"connection_id":124389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b74"} 
[2026-07-07 12:54:01] local.INFO: Extracted packet for processing {"connection_id":124389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b74"} 
[2026-07-07 12:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763394752,"raw_latitude":94643568,"longitude_deg":76.3394752,"latitude_deg":9.4643568,"altitude":6,"angle":169,"satellites":42,"speed":39,"hex_longitude":"2d807ac0","hex_latitude":"05a42570","is_valid_coordinates":true} 
[2026-07-07 12:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552685568001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341180932000055296,"note":"Value kept but may cause issues"} 
[2026-07-07 12:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190580177836941312,"note":"Value kept but may cause issues"} 
[2026-07-07 12:54:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 12:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783408939000,"timestamp_ms":1783408939000,"timestamp_seconds":1783408939,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b74cff8"} 
[2026-07-07 12:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:54: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-07-07 12:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 12:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552685568001,"66":27865,"16":341180932000055296,"85":14336,"24":39,"45":-9190580177836941312},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,45]} 
[2026-07-07 12:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552685568001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341180932000055296,"km_value":341180932000055.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190580177836941312,"description":"Unknown IO ID 45"} 
[2026-07-07 12:54:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456552685568001,"power":27865,"odometer":null,"unknown_85":14336,"ignition":39,"unknown_45":-9190580177836941312}} 
[2026-07-07 12:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":124389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:54:01] local.INFO: GPS data processed {"connection_id":124389,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:54:01] local.INFO: Acknowledgment sent {"connection_id":124389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:54:04] local.INFO: TCP Data received {"connection_id":126432,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b74f708012d19700007203d380027006522..."} 
[2026-07-07 12:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b74f708012d19700007203d380027006522..."} 
[2026-07-07 12:54:04] local.INFO: Processing buffer {"connection_id":126432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b74f708012d19700007203d380027006522..."} 
[2026-07-07 12:54:04] local.INFO: Packet analysis {"connection_id":126432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b74"} 
[2026-07-07 12:54:04] local.INFO: Extracted packet for processing {"connection_id":126432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b74"} 
[2026-07-07 12:54:04] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":34,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552685568001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:54: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-07-07 12:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783408949000,"timestamp_ms":1783408949000,"timestamp_seconds":1783408949,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b74f708"} 
[2026-07-07 12:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-07 12:54: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-07-07 12:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552685568001,"66":12254,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552685568001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:54:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:54:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552685568001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":126432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:54:04] local.INFO: GPS data processed {"connection_id":126432,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:54:04] local.INFO: Acknowledgment sent {"connection_id":126432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:54:04] local.INFO: TCP Data received {"connection_id":124389,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b74f320012d8081c005a40008000500a92a..."} 
[2026-07-07 12:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b74f320012d8081c005a40008000500a92a..."} 
[2026-07-07 12:54:04] local.INFO: Processing buffer {"connection_id":124389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b74f320012d8081c005a40008000500a92a..."} 
[2026-07-07 12:54:04] local.INFO: Packet analysis {"connection_id":124389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b74"} 
[2026-07-07 12:54:04] local.INFO: Extracted packet for processing {"connection_id":124389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b74"} 
[2026-07-07 12:54:04] local.INFO: GPS Element Parsed {"raw_longitude":763396544,"raw_latitude":94633992,"longitude_deg":76.3396544,"latitude_deg":9.4633992,"altitude":5,"angle":169,"satellites":42,"speed":43,"hex_longitude":"2d8081c0","hex_latitude":"05a40008","is_valid_coordinates":true} 
[2026-07-07 12:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552688384001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341181400151490560,"note":"Value kept but may cause issues"} 
[2026-07-07 12:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188820959234789376,"note":"Value kept but may cause issues"} 
[2026-07-07 12:54:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 12:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783408948000,"timestamp_ms":1783408948000,"timestamp_seconds":1783408948,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b74f320"} 
[2026-07-07 12:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 12:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552688384001,"66":27908,"16":341181400151490560,"85":14336,"24":43,"45":-9188820959234789376},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,45]} 
[2026-07-07 12:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552688384001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341181400151490560,"km_value":341181400151490.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:54:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188820959234789376,"description":"Unknown IO ID 45"} 
[2026-07-07 12:54:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456552688384001,"power":27908,"odometer":null,"unknown_85":14336,"ignition":43,"unknown_45":-9188820959234789376}} 
[2026-07-07 12:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":124389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:54:04] local.INFO: GPS data processed {"connection_id":124389,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:54:04] local.INFO: Acknowledgment sent {"connection_id":124389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:54:22] local.INFO: TCP Data received {"connection_id":125196,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:54:22] local.INFO: Processing buffer {"connection_id":125196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:54:22] local.INFO: IMEI packet received {"connection_id":125196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":125196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:54:27] local.INFO: TCP Data received {"connection_id":125196,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:54:27] local.INFO: Processing buffer {"connection_id":125196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:54:27] local.INFO: IMEI packet received {"connection_id":125196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":125196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:54:28] local.INFO: TCP Data received {"connection_id":125196,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b754910012d19700007203d380027006521..."} 
[2026-07-07 12:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b754910012d19700007203d380027006521..."} 
[2026-07-07 12:54:28] local.INFO: Processing buffer {"connection_id":125196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b754910012d19700007203d380027006521..."} 
[2026-07-07 12:54:28] local.INFO: Packet analysis {"connection_id":125196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b75"} 
[2026-07-07 12:54:28] local.INFO: Extracted packet for processing {"connection_id":125196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b75"} 
[2026-07-07 12:54:28] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":33,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552690944001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:54: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-07-07 12:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783408970000,"timestamp_ms":1783408970000,"timestamp_seconds":1783408970,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b754910"} 
[2026-07-07 12:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-07 12:54:28] 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-07-07 12:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552690944001,"66":12156,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552690944001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:54:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:54:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552690944001,"power":12156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":125196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:54:28] local.INFO: GPS data processed {"connection_id":125196,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:54:28] local.INFO: Acknowledgment sent {"connection_id":125196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:54:33] local.INFO: TCP Data received {"connection_id":125196,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b759b18012d19700007203d380027006523..."} 
[2026-07-07 12:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b759b18012d19700007203d380027006523..."} 
[2026-07-07 12:54:33] local.INFO: Processing buffer {"connection_id":125196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b759b18012d19700007203d380027006523..."} 
[2026-07-07 12:54:33] local.INFO: Packet analysis {"connection_id":125196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b75"} 
[2026-07-07 12:54:33] local.INFO: Extracted packet for processing {"connection_id":125196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b75"} 
[2026-07-07 12:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552696320001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783408991000,"timestamp_ms":1783408991000,"timestamp_seconds":1783408991,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b759b18"} 
[2026-07-07 12:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 12:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552696320001,"66":12298,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552696320001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:54:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:54:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552696320001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":125196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:54:33] local.INFO: GPS data processed {"connection_id":125196,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:54:33] local.INFO: Acknowledgment sent {"connection_id":125196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:54:36] local.INFO: TCP Data received {"connection_id":124389,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b751648012d80888005a3dd28000600ab2a..."} 
[2026-07-07 12:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b751648012d80888005a3dd28000600ab2a..."} 
[2026-07-07 12:54:36] local.INFO: Processing buffer {"connection_id":124389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b751648012d80888005a3dd28000600ab2a..."} 
[2026-07-07 12:54:36] local.INFO: Packet analysis {"connection_id":124389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b75"} 
[2026-07-07 12:54:36] local.INFO: Extracted packet for processing {"connection_id":124389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b75"} 
[2026-07-07 12:54:36] local.INFO: GPS Element Parsed {"raw_longitude":763398272,"raw_latitude":94625064,"longitude_deg":76.3398272,"latitude_deg":9.4625064,"altitude":6,"angle":171,"satellites":42,"speed":42,"hex_longitude":"2d808880","hex_latitude":"05a3dd28","is_valid_coordinates":true} 
[2026-07-07 12:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552690688001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341181842533122048,"note":"Value kept but may cause issues"} 
[2026-07-07 12:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9186850634400266240,"note":"Value kept but may cause issues"} 
[2026-07-07 12:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783408957000,"timestamp_ms":1783408957000,"timestamp_seconds":1783408957,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b751648"} 
[2026-07-07 12:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 12:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552690688001,"66":27865,"17":206,"85":14336,"24":42,"16":341181842533122048,"45":-9186850634400266240},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-07 12:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552690688001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:54:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341181842533122048,"km_value":341181842533122.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9186850634400266240,"description":"Unknown IO ID 45"} 
[2026-07-07 12:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552690688001,"power":27865,"axis_x":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":-9186850634400266240}} 
[2026-07-07 12:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":124389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:54:36] local.INFO: GPS data processed {"connection_id":124389,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:54:36] local.INFO: Acknowledgment sent {"connection_id":124389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:54:59] local.INFO: TCP Data received {"connection_id":124474,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:54:59] local.INFO: Processing buffer {"connection_id":124474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:54:59] local.INFO: IMEI packet received {"connection_id":124474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":124474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:55:02] local.INFO: TCP Data received {"connection_id":124474,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:55:02] local.INFO: Processing buffer {"connection_id":124474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:55:02] local.INFO: IMEI packet received {"connection_id":124474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":124474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:55:04] local.INFO: TCP Data received {"connection_id":124474,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:55:04] local.INFO: Processing buffer {"connection_id":124474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:55:04] local.INFO: IMEI packet received {"connection_id":124474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":124474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:55:05] local.INFO: TCP Data received {"connection_id":125196,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b75ed20012d19700007203d380027006523..."} 
[2026-07-07 12:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b75ed20012d19700007203d380027006523..."} 
[2026-07-07 12:55:05] local.INFO: Processing buffer {"connection_id":125196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b75ed20012d19700007203d380027006523..."} 
[2026-07-07 12:55:05] local.INFO: Packet analysis {"connection_id":125196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b75"} 
[2026-07-07 12:55:05] local.INFO: Extracted packet for processing {"connection_id":125196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b75"} 
[2026-07-07 12:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552701696001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783409012000,"timestamp_ms":1783409012000,"timestamp_seconds":1783409012,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b75ed20"} 
[2026-07-07 12:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 12:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513477668250255461,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:05] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452305,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:05] local.WARNING: Large IO value detected {"io_id":105,"raw_value":-6196953087261802495,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4283869787721636208,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:05] local.WARNING: Large IO value detected {"io_id":39,"raw_value":28467455554748416,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:05] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483923195592910,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:05] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2049,"corrected_to":0} 
[2026-07-07 12:55:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-07 12:55:05] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,105,159,73,45,61,39,33,10,66,247,34,165,1,240,255,59,32,4,113,205,112,56,239,48,2,17,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":247,"original":2049,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-07 12:55:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810357368477450240,"timestamp_seconds":2810357368477450.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 12:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552701696001,"66":12287,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552701696001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:55:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:55:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552701696001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":125196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:55:05] local.INFO: GPS data processed {"connection_id":125196,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:55:05] local.INFO: Acknowledgment sent {"connection_id":125196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:55:06] local.INFO: TCP Data received {"connection_id":124474,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b763370012d80c48005a28250000800a929..."} 
[2026-07-07 12:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b763370012d80c48005a28250000800a929..."} 
[2026-07-07 12:55:06] local.INFO: Processing buffer {"connection_id":124474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b763370012d80c48005a28250000800a929..."} 
[2026-07-07 12:55:06] local.INFO: Packet analysis {"connection_id":124474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b76"} 
[2026-07-07 12:55:06] local.INFO: Extracted packet for processing {"connection_id":124474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b76"} 
[2026-07-07 12:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763413632,"raw_latitude":94536272,"longitude_deg":76.3413632,"latitude_deg":9.4536272,"altitude":8,"angle":169,"satellites":41,"speed":34,"hex_longitude":"2d80c480","hex_latitude":"05a28250","is_valid_coordinates":true} 
[2026-07-07 12:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552709120001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341186214809829376,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9169680660843649024,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783409030000,"timestamp_ms":1783409030000,"timestamp_seconds":1783409030,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b763370"} 
[2026-07-07 12:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:55: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-07-07 12:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 12:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552709120001,"66":27876,"81":206,"85":14336,"24":34,"16":341186214809829376,"45":-9169680660843649024},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-07 12:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552709120001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-07 12:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341186214809829376,"km_value":341186214809829.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9169680660843649024,"description":"Unknown IO ID 45"} 
[2026-07-07 12:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552709120001,"power":27876,"unknown_81":206,"unknown_85":14336,"ignition":34,"odometer":null,"unknown_45":-9169680660843649024}} 
[2026-07-07 12:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":124474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:55:06] local.INFO: GPS data processed {"connection_id":124474,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:55:06] local.INFO: Acknowledgment sent {"connection_id":124474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:55:09] local.INFO: TCP Data received {"connection_id":124474,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b765e68012d80cac005a25df0000600aa28..."} 
[2026-07-07 12:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b765e68012d80cac005a25df0000600aa28..."} 
[2026-07-07 12:55:09] local.INFO: Processing buffer {"connection_id":124474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b765e68012d80cac005a25df0000600aa28..."} 
[2026-07-07 12:55:09] local.INFO: Packet analysis {"connection_id":124474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b76"} 
[2026-07-07 12:55:09] local.INFO: Extracted packet for processing {"connection_id":124474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b76"} 
[2026-07-07 12:55:09] local.INFO: GPS Element Parsed {"raw_longitude":763415232,"raw_latitude":94526960,"longitude_deg":76.3415232,"latitude_deg":9.452696,"altitude":6,"angle":170,"satellites":40,"speed":33,"hex_longitude":"2d80cac0","hex_latitude":"05a25df0","is_valid_coordinates":true} 
[2026-07-07 12:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552711680001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341186674371330048,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9168062179729846272,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55: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-07-07 12:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783409041000,"timestamp_ms":1783409041000,"timestamp_seconds":1783409041,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b765e68"} 
[2026-07-07 12:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:55: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-07-07 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 12:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552711680001,"66":27800,"81":206,"85":14336,"24":33,"16":341186674371330048,"45":-9168062179729846272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-07 12:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552711680001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:55:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-07 12:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341186674371330048,"km_value":341186674371330.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9168062179729846272,"description":"Unknown IO ID 45"} 
[2026-07-07 12:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552711680001,"power":27800,"unknown_81":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":-9168062179729846272}} 
[2026-07-07 12:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":124474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:55:09] local.INFO: GPS data processed {"connection_id":124474,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:55:09] local.INFO: Acknowledgment sent {"connection_id":124474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:55:26] local.INFO: TCP Data received {"connection_id":126433,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:55:26] local.INFO: Processing buffer {"connection_id":126433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:55:26] local.INFO: IMEI packet received {"connection_id":126433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":126433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:55:26] local.INFO: TCP Data received {"connection_id":126433,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:55:26] local.INFO: Processing buffer {"connection_id":126433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:55:26] local.INFO: IMEI packet received {"connection_id":126433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":126433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:55:32] local.INFO: TCP Data received {"connection_id":126433,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b763f28012d19700007203d380027006524..."} 
[2026-07-07 12:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b763f28012d19700007203d380027006524..."} 
[2026-07-07 12:55:32] local.INFO: Processing buffer {"connection_id":126433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b763f28012d19700007203d380027006524..."} 
[2026-07-07 12:55:32] local.INFO: Packet analysis {"connection_id":126433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b76"} 
[2026-07-07 12:55:32] local.INFO: Extracted packet for processing {"connection_id":126433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b76"} 
[2026-07-07 12:55:32] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":36,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552707072001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55: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-07-07 12:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783409033000,"timestamp_ms":1783409033000,"timestamp_seconds":1783409033,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b763f28"} 
[2026-07-07 12:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-07 12:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552707072001,"66":12287,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552707072001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:55:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:55:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552707072001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":126433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:55:32] local.INFO: GPS data processed {"connection_id":126433,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:55:32] local.INFO: Acknowledgment sent {"connection_id":126433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:55:33] local.INFO: TCP Data received {"connection_id":126433,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b769130012d19700007203d380027006524..."} 
[2026-07-07 12:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b769130012d19700007203d380027006524..."} 
[2026-07-07 12:55:33] local.INFO: Processing buffer {"connection_id":126433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b769130012d19700007203d380027006524..."} 
[2026-07-07 12:55:33] local.INFO: Packet analysis {"connection_id":126433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b76"} 
[2026-07-07 12:55:33] local.INFO: Extracted packet for processing {"connection_id":126433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b76"} 
[2026-07-07 12:55:33] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":36,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552712448001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783409054000,"timestamp_ms":1783409054000,"timestamp_seconds":1783409054,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b769130"} 
[2026-07-07 12:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:55: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-07 12:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552712448001,"66":12298,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552712448001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:55:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:55:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552712448001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":126433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:55:34] local.INFO: GPS data processed {"connection_id":126433,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:55:34] local.INFO: Acknowledgment sent {"connection_id":126433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:55:46] local.INFO: TCP Data received {"connection_id":124474,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b768960012d80d10005a23aa8000400a828..."} 
[2026-07-07 12:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b768960012d80d10005a23aa8000400a828..."} 
[2026-07-07 12:55:46] local.INFO: Processing buffer {"connection_id":124474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b768960012d80d10005a23aa8000400a828..."} 
[2026-07-07 12:55:46] local.INFO: Packet analysis {"connection_id":124474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b76"} 
[2026-07-07 12:55:46] local.INFO: Extracted packet for processing {"connection_id":124474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b76"} 
[2026-07-07 12:55:46] local.INFO: GPS Element Parsed {"raw_longitude":763416832,"raw_latitude":94517928,"longitude_deg":76.3416832,"latitude_deg":9.4517928,"altitude":4,"angle":168,"satellites":40,"speed":32,"hex_longitude":"2d80d100","hex_latitude":"05a23aa8","is_valid_coordinates":true} 
[2026-07-07 12:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552714496001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341187116752961536,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9166302961127788544,"note":"Value kept but may cause issues"} 
[2026-07-07 12:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783409052000,"timestamp_ms":1783409052000,"timestamp_seconds":1783409052,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b768960"} 
[2026-07-07 12:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 12:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552714496001,"66":27865,"81":206,"85":14336,"24":32,"16":341187116752961536,"45":-9166302961127788544},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-07 12:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552714496001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-07 12:55:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341187116752961536,"km_value":341187116752961.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9166302961127788544,"description":"Unknown IO ID 45"} 
[2026-07-07 12:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552714496001,"power":27865,"unknown_81":206,"unknown_85":14336,"ignition":32,"odometer":null,"unknown_45":-9166302961127788544}} 
[2026-07-07 12:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":124474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:55:46] local.INFO: GPS data processed {"connection_id":124474,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:55:46] local.INFO: Acknowledgment sent {"connection_id":124474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:55:59] local.INFO: TCP Data received {"connection_id":126434,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:55:59] local.INFO: Processing buffer {"connection_id":126434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:55:59] local.INFO: IMEI packet received {"connection_id":126434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":126434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:56:02] local.INFO: TCP Data received {"connection_id":126434,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:56:02] local.INFO: Processing buffer {"connection_id":126434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:56:02] local.INFO: IMEI packet received {"connection_id":126434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":126434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:56:04] local.INFO: TCP Data received {"connection_id":126434,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:56:04] local.INFO: Processing buffer {"connection_id":126434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:56:04] local.INFO: IMEI packet received {"connection_id":126434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":126434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:56:05] local.INFO: TCP Data received {"connection_id":126434,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b76b840012d80d7c005a21760000300ae29..."} 
[2026-07-07 12:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b76b840012d80d7c005a21760000300ae29..."} 
[2026-07-07 12:56:05] local.INFO: Processing buffer {"connection_id":126434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b76b840012d80d7c005a21760000300ae29..."} 
[2026-07-07 12:56:05] local.INFO: Packet analysis {"connection_id":126434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b76"} 
[2026-07-07 12:56:05] local.INFO: Extracted packet for processing {"connection_id":126434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b76"} 
[2026-07-07 12:56:05] local.INFO: GPS Element Parsed {"raw_longitude":763418560,"raw_latitude":94508896,"longitude_deg":76.341856,"latitude_deg":9.4508896,"altitude":3,"angle":174,"satellites":41,"speed":22,"hex_longitude":"2d80d7c0","hex_latitude":"05a21760","is_valid_coordinates":true} 
[2026-07-07 12:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552717312001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341187563429560320,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9164543742525659136,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783409064000,"timestamp_ms":1783409064000,"timestamp_seconds":1783409064,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b76b840"} 
[2026-07-07 12:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 12:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552717312001,"66":27843,"81":206,"85":14336,"24":22,"16":341187563429560320,"45":-9164543742525659136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-07 12:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552717312001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-07 12:56:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341187563429560320,"km_value":341187563429560.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9164543742525659136,"description":"Unknown IO ID 45"} 
[2026-07-07 12:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552717312001,"power":27843,"unknown_81":206,"unknown_85":14336,"ignition":22,"odometer":null,"unknown_45":-9164543742525659136}} 
[2026-07-07 12:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":126434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:56:05] local.INFO: GPS data processed {"connection_id":126434,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:56:05] local.INFO: Acknowledgment sent {"connection_id":126434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:56:06] local.INFO: TCP Data received {"connection_id":126433,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b76e338012d19700007203d380027006522..."} 
[2026-07-07 12:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b76e338012d19700007203d380027006522..."} 
[2026-07-07 12:56:06] local.INFO: Processing buffer {"connection_id":126433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b76e338012d19700007203d380027006522..."} 
[2026-07-07 12:56:06] local.INFO: Packet analysis {"connection_id":126433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b76"} 
[2026-07-07 12:56:06] local.INFO: Extracted packet for processing {"connection_id":126433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b76"} 
[2026-07-07 12:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":34,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552717824001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783409075000,"timestamp_ms":1783409075000,"timestamp_seconds":1783409075,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b76e338"} 
[2026-07-07 12:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 12:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513477668250255461,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:06] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452305,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:06] local.WARNING: Large IO value detected {"io_id":105,"raw_value":-6196953087261802495,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4284140370661284208,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:06] local.WARNING: Large IO value detected {"io_id":39,"raw_value":28468555066376192,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483923195592910,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-07 12:56:06] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":134294809,"corrected_to":0} 
[2026-07-07 12:56:06] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594663,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:06] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,105,159,63,45,61,39,36,10,66,237,35,155,1,240,59,32,4,113,205,247,112,56,34,239,47,2,17,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":247,"original":134294809,"validated":0}]} 
[2026-07-07 12:56:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810357372772417536,"timestamp_seconds":2810357372772417.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 12:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552717824001,"66":12232,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552717824001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:56:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:56:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552717824001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":126433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:56:06] local.INFO: GPS data processed {"connection_id":126433,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:56:06] local.INFO: Acknowledgment sent {"connection_id":126433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:56:26] local.INFO: TCP Data received {"connection_id":124391,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:56:26] local.INFO: Processing buffer {"connection_id":124391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:56:26] local.INFO: IMEI packet received {"connection_id":124391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":124391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:56:31] local.INFO: TCP Data received {"connection_id":124391,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:56:31] local.INFO: Processing buffer {"connection_id":124391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:56:31] local.INFO: IMEI packet received {"connection_id":124391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":124391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:56:35] local.INFO: TCP Data received {"connection_id":124391,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b773540012d19700007203d380027006524..."} 
[2026-07-07 12:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b773540012d19700007203d380027006524..."} 
[2026-07-07 12:56:35] local.INFO: Processing buffer {"connection_id":124391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b773540012d19700007203d380027006524..."} 
[2026-07-07 12:56:35] local.INFO: Packet analysis {"connection_id":124391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b77"} 
[2026-07-07 12:56:35] local.INFO: Extracted packet for processing {"connection_id":124391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b77"} 
[2026-07-07 12:56:35] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":36,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12: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-07-07 12:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552723200001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783409096000,"timestamp_ms":1783409096000,"timestamp_seconds":1783409096,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b773540"} 
[2026-07-07 12:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:56: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-07-07 12: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":200,"data_length":795,"current_offset":136} 
[2026-07-07 12:56: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-07-07 12: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-07-07 12:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552723200001,"66":12254,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552723200001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:56:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:56:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552723200001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":124391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:56:35] local.INFO: GPS data processed {"connection_id":124391,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:56:35] local.INFO: Acknowledgment sent {"connection_id":124391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:56:36] local.INFO: TCP Data received {"connection_id":126434,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b76eef0012d80df4005a1f308000400ad2a..."} 
[2026-07-07 12:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b76eef0012d80df4005a1f308000400ad2a..."} 
[2026-07-07 12:56:36] local.INFO: Processing buffer {"connection_id":126434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b76eef0012d80df4005a1f308000400ad2a..."} 
[2026-07-07 12:56:36] local.INFO: Packet analysis {"connection_id":126434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b76"} 
[2026-07-07 12:56:36] local.INFO: Extracted packet for processing {"connection_id":126434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b76"} 
[2026-07-07 12:56:36] local.INFO: GPS Element Parsed {"raw_longitude":763420480,"raw_latitude":94499592,"longitude_deg":76.342048,"latitude_deg":9.4499592,"altitude":4,"angle":173,"satellites":42,"speed":36,"hex_longitude":"2d80df40","hex_latitude":"05a1f308","is_valid_coordinates":true} 
[2026-07-07 12:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552720384001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341188022991060992,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9162643786435174400,"note":"Value kept but may cause issues"} 
[2026-07-07 12:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783409078000,"timestamp_ms":1783409078000,"timestamp_seconds":1783409078,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b76eef0"} 
[2026-07-07 12:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:56: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-07-07 12:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 12:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552720384001,"66":27908,"81":206,"85":14336,"24":36,"16":341188022991060992,"45":-9162643786435174400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-07 12:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552720384001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-07 12:56:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341188022991060992,"km_value":341188022991061.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9162643786435174400,"description":"Unknown IO ID 45"} 
[2026-07-07 12:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552720384001,"power":27908,"unknown_81":206,"unknown_85":14336,"ignition":36,"odometer":null,"unknown_45":-9162643786435174400}} 
[2026-07-07 12:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":126434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:56:36] local.INFO: GPS data processed {"connection_id":126434,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:56:36] local.INFO: Acknowledgment sent {"connection_id":126434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:56:59] local.INFO: TCP Data received {"connection_id":126435,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:56:59] local.INFO: Processing buffer {"connection_id":126435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:56:59] local.INFO: IMEI packet received {"connection_id":126435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":126435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:57:00] local.INFO: TCP Data received {"connection_id":126435,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:57:00] local.INFO: Processing buffer {"connection_id":126435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:57:00] local.INFO: IMEI packet received {"connection_id":126435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":126435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:57:04] local.INFO: TCP Data received {"connection_id":126435,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:57:04] local.INFO: Processing buffer {"connection_id":126435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:57:04] local.INFO: IMEI packet received {"connection_id":126435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":126435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:57:04] local.INFO: TCP Data received {"connection_id":126435,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b771218012d80e64005a1d118000500a828..."} 
[2026-07-07 12:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b771218012d80e64005a1d118000500a828..."} 
[2026-07-07 12:57:04] local.INFO: Processing buffer {"connection_id":126435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b771218012d80e64005a1d118000500a828..."} 
[2026-07-07 12:57:04] local.INFO: Packet analysis {"connection_id":126435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b77"} 
[2026-07-07 12:57:04] local.INFO: Extracted packet for processing {"connection_id":126435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b77"} 
[2026-07-07 12:57:04] local.INFO: GPS Element Parsed {"raw_longitude":763422272,"raw_latitude":94490904,"longitude_deg":76.3422272,"latitude_deg":9.4490904,"altitude":5,"angle":168,"satellites":40,"speed":42,"hex_longitude":"2d80e640","hex_latitude":"05a1d118","is_valid_coordinates":true} 
[2026-07-07 12:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552723968001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341188456782757888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9160532724112226304,"note":"Value kept but may cause issues"} 
[2026-07-07 12:57: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-07-07 12:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783409087000,"timestamp_ms":1783409087000,"timestamp_seconds":1783409087,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b771218"} 
[2026-07-07 12:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 12:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552723968001,"66":27930,"81":206,"85":14336,"24":42,"16":341188456782757888,"45":-9160532724112226304},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-07 12:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552723968001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:57:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-07 12:57:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341188456782757888,"km_value":341188456782757.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9160532724112226304,"description":"Unknown IO ID 45"} 
[2026-07-07 12:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552723968001,"power":27930,"unknown_81":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":-9160532724112226304}} 
[2026-07-07 12:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":126435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:57:04] local.INFO: GPS data processed {"connection_id":126435,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:57:04] local.INFO: Acknowledgment sent {"connection_id":126435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:57:06] local.INFO: TCP Data received {"connection_id":124391,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b778748012d19700007203d380027006523..."} 
[2026-07-07 12:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b778748012d19700007203d380027006523..."} 
[2026-07-07 12:57:06] local.INFO: Processing buffer {"connection_id":124391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b778748012d19700007203d380027006523..."} 
[2026-07-07 12:57:06] local.INFO: Packet analysis {"connection_id":124391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b77"} 
[2026-07-07 12:57:06] local.INFO: Extracted packet for processing {"connection_id":124391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b77"} 
[2026-07-07 12:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552728576001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783409117000,"timestamp_ms":1783409117000,"timestamp_seconds":1783409117,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b778748"} 
[2026-07-07 12:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-07 12:57:06] 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-07-07 12:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552728576001,"66":12254,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552728576001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:57:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:57:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552728576001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":124391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:57:06] local.INFO: GPS data processed {"connection_id":124391,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:57:06] local.INFO: Acknowledgment sent {"connection_id":124391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:57:19] local.INFO: TCP Data received {"connection_id":126436,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:57:19] local.INFO: Processing buffer {"connection_id":126436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:57:19] local.INFO: IMEI packet received {"connection_id":126436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":126436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:57:21] local.INFO: TCP Data received {"connection_id":126436,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:57:21] local.INFO: Processing buffer {"connection_id":126436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:57:21] local.INFO: IMEI packet received {"connection_id":126436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":126436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:57:26] local.INFO: TCP Data received {"connection_id":126436,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:57:26] local.INFO: Processing buffer {"connection_id":126436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:57:26] local.INFO: IMEI packet received {"connection_id":126436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":126436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:57:28] local.INFO: TCP Data received {"connection_id":126436,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b77d950012d19700007203d380027006523..."} 
[2026-07-07 12:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b77d950012d19700007203d380027006523..."} 
[2026-07-07 12:57:28] local.INFO: Processing buffer {"connection_id":126436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b77d950012d19700007203d380027006523..."} 
[2026-07-07 12:57:28] local.INFO: Packet analysis {"connection_id":126436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b77"} 
[2026-07-07 12:57:28] local.INFO: Extracted packet for processing {"connection_id":126436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b77"} 
[2026-07-07 12:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552733952001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:57: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-07-07 12:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783409138000,"timestamp_ms":1783409138000,"timestamp_seconds":1783409138,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b77d950"} 
[2026-07-07 12:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-07 12:57:28] 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-07-07 12:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552733952001,"66":12265,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552733952001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:57:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:57:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552733952001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":126436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:57:28] local.INFO: GPS data processed {"connection_id":126436,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:57:28] local.INFO: Acknowledgment sent {"connection_id":126436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:57:32] local.INFO: TCP Data received {"connection_id":126436,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b782b58012d19700007203d380027006523..."} 
[2026-07-07 12:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b782b58012d19700007203d380027006523..."} 
[2026-07-07 12:57:32] local.INFO: Processing buffer {"connection_id":126436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b782b58012d19700007203d380027006523..."} 
[2026-07-07 12:57:32] local.INFO: Packet analysis {"connection_id":126436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b78"} 
[2026-07-07 12:57:32] local.INFO: Extracted packet for processing {"connection_id":126436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b78"} 
[2026-07-07 12:57:32] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552739328001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:57: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-07-07 12:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783409159000,"timestamp_ms":1783409159000,"timestamp_seconds":1783409159,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b782b58"} 
[2026-07-07 12:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 12:57:32] 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-07-07 12:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552739328001,"66":12287,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552739328001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:57:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:57:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552739328001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":126436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:57:32] local.INFO: GPS data processed {"connection_id":126436,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:57:32] local.INFO: Acknowledgment sent {"connection_id":126436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:57:36] local.INFO: TCP Data received {"connection_id":126435,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b788d00012d81394005a03e30000400a828..."} 
[2026-07-07 12:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b788d00012d81394005a03e30000400a828..."} 
[2026-07-07 12:57:36] local.INFO: Processing buffer {"connection_id":126435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b788d00012d81394005a03e30000400a828..."} 
[2026-07-07 12:57:36] local.INFO: Packet analysis {"connection_id":126435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b78"} 
[2026-07-07 12:57:36] local.INFO: Extracted packet for processing {"connection_id":126435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b78"} 
[2026-07-07 12:57:36] local.INFO: GPS Element Parsed {"raw_longitude":763443520,"raw_latitude":94387760,"longitude_deg":76.344352,"latitude_deg":9.438776,"altitude":4,"angle":168,"satellites":40,"speed":38,"hex_longitude":"2d813940","hex_latitude":"05a03e30","is_valid_coordinates":true} 
[2026-07-07 12:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552748544001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341193559203905536,"note":"Value kept but may cause issues"} 
[2026-07-07 12:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9137451776048201728,"note":"Value kept but may cause issues"} 
[2026-07-07 12:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783409184000,"timestamp_ms":1783409184000,"timestamp_seconds":1783409184,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b788d00"} 
[2026-07-07 12:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 12:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552748544001,"66":27908,"177":206,"85":14336,"24":38,"16":341193559203905536,"45":-9137451776048201728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-07 12:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552748544001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:57:36] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 12:57:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341193559203905536,"km_value":341193559203905.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9137451776048201728,"description":"Unknown IO ID 45"} 
[2026-07-07 12:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552748544001,"power":27908,"unknown_177":206,"unknown_85":14336,"ignition":38,"odometer":null,"unknown_45":-9137451776048201728}} 
[2026-07-07 12:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":126435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:57:36] local.INFO: GPS data processed {"connection_id":126435,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:57:36] local.INFO: Acknowledgment sent {"connection_id":126435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:57:40] local.INFO: TCP Data received {"connection_id":125198,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:57:40] local.INFO: Processing buffer {"connection_id":125198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:57:40] local.INFO: IMEI packet received {"connection_id":125198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 12:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":125198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:57:59] local.INFO: TCP Data received {"connection_id":124476,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124476,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:57:59] local.INFO: Processing buffer {"connection_id":124476,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 12:57:59] local.INFO: IMEI packet received {"connection_id":124476,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 12:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":124476,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:58:04] local.INFO: TCP Data received {"connection_id":124477,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:58:04] local.INFO: Processing buffer {"connection_id":124477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:58:04] local.INFO: IMEI packet received {"connection_id":124477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":124477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:58:09] local.INFO: TCP Data received {"connection_id":124477,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:58:09] local.INFO: Processing buffer {"connection_id":124477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:58:09] local.INFO: IMEI packet received {"connection_id":124477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":124477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:58:10] local.INFO: TCP Data received {"connection_id":124477,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b78d350012d8140c005a01b18000400a829..."} 
[2026-07-07 12:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b78d350012d8140c005a01b18000400a829..."} 
[2026-07-07 12:58:10] local.INFO: Processing buffer {"connection_id":124477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b78d350012d8140c005a01b18000400a829..."} 
[2026-07-07 12:58:10] local.INFO: Packet analysis {"connection_id":124477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b78"} 
[2026-07-07 12:58:10] local.INFO: Extracted packet for processing {"connection_id":124477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b78"} 
[2026-07-07 12:58:10] local.INFO: GPS Element Parsed {"raw_longitude":763445440,"raw_latitude":94378776,"longitude_deg":76.344544,"latitude_deg":9.4378776,"altitude":4,"angle":168,"satellites":41,"speed":21,"hex_longitude":"2d8140c0","hex_latitude":"05a01b18","is_valid_coordinates":true} 
[2026-07-07 12:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552751104001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341194005880504320,"note":"Value kept but may cause issues"} 
[2026-07-07 12:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9135199976236896256,"note":"Value kept but may cause issues"} 
[2026-07-07 12:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783409202000,"timestamp_ms":1783409202000,"timestamp_seconds":1783409202,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b78d350"} 
[2026-07-07 12:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12: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-07-07 12:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 12: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-07-07 12:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552751104001,"66":27843,"177":206,"85":14336,"24":21,"16":341194005880504320,"45":-9135199976236896256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-07 12:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552751104001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:58:10] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 12:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341194005880504320,"km_value":341194005880504.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9135199976236896256,"description":"Unknown IO ID 45"} 
[2026-07-07 12:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552751104001,"power":27843,"unknown_177":206,"unknown_85":14336,"ignition":21,"odometer":null,"unknown_45":-9135199976236896256}} 
[2026-07-07 12:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":124477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:58:10] local.INFO: GPS data processed {"connection_id":124477,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:58:10] local.INFO: Acknowledgment sent {"connection_id":124477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:58:14] local.INFO: TCP Data received {"connection_id":124477,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b790a00012d814840059ff8c0000500a827..."} 
[2026-07-07 12:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b790a00012d814840059ff8c0000500a827..."} 
[2026-07-07 12:58:14] local.INFO: Processing buffer {"connection_id":124477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b790a00012d814840059ff8c0000500a827..."} 
[2026-07-07 12:58:14] local.INFO: Packet analysis {"connection_id":124477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b79"} 
[2026-07-07 12:58:14] local.INFO: Extracted packet for processing {"connection_id":124477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b79"} 
[2026-07-07 12:58:14] local.INFO: GPS Element Parsed {"raw_longitude":763447360,"raw_latitude":94369984,"longitude_deg":76.344736,"latitude_deg":9.4369984,"altitude":5,"angle":168,"satellites":39,"speed":30,"hex_longitude":"2d814840","hex_latitude":"059ff8c0","is_valid_coordinates":true} 
[2026-07-07 12:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552755712001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341194439672201216,"note":"Value kept but may cause issues"} 
[2026-07-07 12:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9133088913913866240,"note":"Value kept but may cause issues"} 
[2026-07-07 12:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783409216000,"timestamp_ms":1783409216000,"timestamp_seconds":1783409216,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b790a00"} 
[2026-07-07 12:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12: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-07-07 12:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 12:58: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-07-07 12:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552755712001,"66":28050,"177":206,"85":14336,"24":30,"16":341194439672201216,"45":-9133088913913866240},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-07 12:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552755712001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:58:14] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 12:58:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341194439672201216,"km_value":341194439672201.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9133088913913866240,"description":"Unknown IO ID 45"} 
[2026-07-07 12:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552755712001,"power":28050,"unknown_177":206,"unknown_85":14336,"ignition":30,"odometer":null,"unknown_45":-9133088913913866240}} 
[2026-07-07 12:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":124477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:58:14] local.INFO: GPS data processed {"connection_id":124477,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:58:14] local.INFO: Acknowledgment sent {"connection_id":124477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:58:21] local.INFO: TCP Data received {"connection_id":124392,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:58:21] local.INFO: Processing buffer {"connection_id":124392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:58:21] local.INFO: IMEI packet received {"connection_id":124392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":124392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:58:23] local.INFO: TCP Data received {"connection_id":124392,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:58:23] local.INFO: Processing buffer {"connection_id":124392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:58:23] local.INFO: IMEI packet received {"connection_id":124392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":124392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:58:27] local.INFO: TCP Data received {"connection_id":124392,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:58:27] local.INFO: Processing buffer {"connection_id":124392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:58:27] local.INFO: IMEI packet received {"connection_id":124392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":124392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:58:30] local.INFO: TCP Data received {"connection_id":124392,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b787d60012d19700007203d380027006523..."} 
[2026-07-07 12:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b787d60012d19700007203d380027006523..."} 
[2026-07-07 12:58:30] local.INFO: Processing buffer {"connection_id":124392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b787d60012d19700007203d380027006523..."} 
[2026-07-07 12:58:30] local.INFO: Packet analysis {"connection_id":124392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b78"} 
[2026-07-07 12:58:30] local.INFO: Extracted packet for processing {"connection_id":124392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b78"} 
[2026-07-07 12:58:30] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552744704001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:58: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-07-07 12:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783409180000,"timestamp_ms":1783409180000,"timestamp_seconds":1783409180,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b787d60"} 
[2026-07-07 12:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-07 12:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552744704001,"66":12254,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552744704001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:58:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:58:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552744704001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":124392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:58:30] local.INFO: GPS data processed {"connection_id":124392,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:58:30] local.INFO: Acknowledgment sent {"connection_id":124392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:58:57] local.INFO: TCP Data received {"connection_id":124478,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:58:57] local.INFO: Processing buffer {"connection_id":124478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:58:57] local.INFO: IMEI packet received {"connection_id":124478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":124478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:59:02] local.INFO: TCP Data received {"connection_id":124392,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b78cf68012d19700007203d380027006523..."} 
[2026-07-07 12:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b78cf68012d19700007203d380027006523..."} 
[2026-07-07 12:59:02] local.INFO: Processing buffer {"connection_id":124392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b78cf68012d19700007203d380027006523..."} 
[2026-07-07 12:59:02] local.INFO: Packet analysis {"connection_id":124392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b78"} 
[2026-07-07 12:59:02] local.INFO: Extracted packet for processing {"connection_id":124392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b78"} 
[2026-07-07 12:59:02] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552750080001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783409201000,"timestamp_ms":1783409201000,"timestamp_seconds":1783409201,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b78cf68"} 
[2026-07-07 12:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-07 12:59:02] 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-07-07 12:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552750080001,"66":12265,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552750080001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:59:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:59:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552750080001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":124392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:59:02] local.INFO: GPS data processed {"connection_id":124392,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:59:02] local.INFO: Acknowledgment sent {"connection_id":124392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:59:04] local.INFO: TCP Data received {"connection_id":124478,"ip":"42.106.6.30","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 12:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124478,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 12:59:04] local.INFO: Processing buffer {"connection_id":124478,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 12:59:04] local.INFO: IMEI packet received {"connection_id":124478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":124478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:59:05] local.INFO: TCP Data received {"connection_id":124478,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7934f8012d814f00059fd608000500a827..."} 
[2026-07-07 12:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7934f8012d814f00059fd608000500a827..."} 
[2026-07-07 12:59:05] local.INFO: Processing buffer {"connection_id":124478,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f3b..."} 
[2026-07-07 12:59:05] local.INFO: IMEI packet received {"connection_id":124478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":124478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:59:09] local.INFO: TCP Data received {"connection_id":124478,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7963d8012d815600059fb228000500aa28..."} 
[2026-07-07 12:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7963d8012d815600059fb228000500aa28..."} 
[2026-07-07 12:59:09] local.INFO: Processing buffer {"connection_id":124478,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3b7934f8012d814f00059fd608000500a827..."} 
[2026-07-07 12:59:09] local.INFO: Packet analysis {"connection_id":124478,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3b79"} 
[2026-07-07 12:59:09] local.INFO: Extracted packet for processing {"connection_id":124478,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b79"} 
[2026-07-07 12:59:09] local.INFO: GPS Element Parsed {"raw_longitude":763449088,"raw_latitude":94361096,"longitude_deg":76.3449088,"latitude_deg":9.4361096,"altitude":5,"angle":168,"satellites":39,"speed":33,"hex_longitude":"2d814f00","hex_latitude":"059fd608","is_valid_coordinates":true} 
[2026-07-07 12:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552759296001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341194882053832704,"note":"Value kept but may cause issues"} 
[2026-07-07 12:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9130977851590787072,"note":"Value kept but may cause issues"} 
[2026-07-07 12:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783409227000,"timestamp_ms":1783409227000,"timestamp_seconds":1783409227,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7934f8"} 
[2026-07-07 12:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:59: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-07-07 12: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 12:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 12:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552759296001,"66":27865,"177":206,"85":14336,"24":33,"16":341194882053832704,"45":-9130977851590787072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-07 12:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552759296001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:59:10] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 12:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341194882053832704,"km_value":341194882053832.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9130977851590787072,"description":"Unknown IO ID 45"} 
[2026-07-07 12:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552759296001,"power":27865,"unknown_177":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":-9130977851590787072}} 
[2026-07-07 12:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":124478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:59:10] local.INFO: GPS data processed {"connection_id":124478,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:59:10] local.INFO: Acknowledgment sent {"connection_id":124478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:59:10] local.INFO: Packet analysis {"connection_id":124478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b79"} 
[2026-07-07 12:59:10] local.INFO: Extracted packet for processing {"connection_id":124478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b79"} 
[2026-07-07 12:59:10] local.INFO: GPS Element Parsed {"raw_longitude":763450880,"raw_latitude":94351912,"longitude_deg":76.345088,"latitude_deg":9.4351912,"altitude":5,"angle":170,"satellites":40,"speed":25,"hex_longitude":"2d815600","hex_latitude":"059fb228","is_valid_coordinates":true} 
[2026-07-07 12:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552762112001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341195333025398784,"note":"Value kept but may cause issues"} 
[2026-07-07 12:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9129077895500265472,"note":"Value kept but may cause issues"} 
[2026-07-07 12:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783409239000,"timestamp_ms":1783409239000,"timestamp_seconds":1783409239,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7963d8"} 
[2026-07-07 12:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 12:59: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-07-07 12:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552762112001,"66":27995,"177":206,"85":14336,"24":25,"16":341195333025398784,"45":-9129077895500265472},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-07 12:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552762112001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:59:10] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 12:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341195333025398784,"km_value":341195333025398.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9129077895500265472,"description":"Unknown IO ID 45"} 
[2026-07-07 12:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552762112001,"power":27995,"unknown_177":206,"unknown_85":14336,"ignition":25,"odometer":null,"unknown_45":-9129077895500265472}} 
[2026-07-07 12:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":124478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:59:10] local.INFO: GPS data processed {"connection_id":124478,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:59:10] local.INFO: Acknowledgment sent {"connection_id":124478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:59:21] local.INFO: TCP Data received {"connection_id":124480,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:59:21] local.INFO: Processing buffer {"connection_id":124480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:59:21] local.INFO: IMEI packet received {"connection_id":124480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 12:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":124480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:59:26] local.INFO: TCP Data received {"connection_id":124480,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:59:26] local.INFO: Processing buffer {"connection_id":124480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:59:26] local.INFO: IMEI packet received {"connection_id":124480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":124480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:59:29] local.INFO: TCP Data received {"connection_id":124480,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:59:29] local.INFO: Processing buffer {"connection_id":124480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 12:59:29] local.INFO: IMEI packet received {"connection_id":124480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 12:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":124480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 12:59:30] local.INFO: TCP Data received {"connection_id":124480,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b792170012d19700007203d380027006522..."} 
[2026-07-07 12:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b792170012d19700007203d380027006522..."} 
[2026-07-07 12:59:30] local.INFO: Processing buffer {"connection_id":124480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b792170012d19700007203d380027006522..."} 
[2026-07-07 12:59:30] local.INFO: Packet analysis {"connection_id":124480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b79"} 
[2026-07-07 12:59:30] local.INFO: Extracted packet for processing {"connection_id":124480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b79"} 
[2026-07-07 12:59:30] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":34,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552755456001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:59: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-07-07 12:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783409222000,"timestamp_ms":1783409222000,"timestamp_seconds":1783409222,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b792170"} 
[2026-07-07 12:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 12:59:30] 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-07-07 12:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552755456001,"66":11406,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552755456001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:59:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:59:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552755456001,"power":11406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":124480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:59:30] local.INFO: GPS data processed {"connection_id":124480,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:59:30] local.INFO: Acknowledgment sent {"connection_id":124480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:59:32] local.INFO: TCP Data received {"connection_id":124480,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b797378012d19700007203d380027006521..."} 
[2026-07-07 12:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b797378012d19700007203d380027006521..."} 
[2026-07-07 12:59:32] local.INFO: Processing buffer {"connection_id":124480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b797378012d19700007203d380027006521..."} 
[2026-07-07 12:59:32] local.INFO: Packet analysis {"connection_id":124480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b79"} 
[2026-07-07 12:59:32] local.INFO: Extracted packet for processing {"connection_id":124480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b79"} 
[2026-07-07 12:59:32] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":33,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 12:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552760832001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 12:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 12:59: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-07-07 12:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783409243000,"timestamp_ms":1783409243000,"timestamp_seconds":1783409243,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b797378"} 
[2026-07-07 12:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-07-07 12:59:32] 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-07-07 12:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 12:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 12:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 12:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552760832001,"66":12287,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 12:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 12:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 12:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552760832001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:59:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 12:59:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 12:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 12:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552760832001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 12:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":124480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:59:32] local.INFO: GPS data processed {"connection_id":124480,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:59:32] local.INFO: Acknowledgment sent {"connection_id":124480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:59:46] local.INFO: TCP Data received {"connection_id":124478,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b79b9c8012d815b80059f96a8000700a829..."} 
[2026-07-07 12:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b79b9c8012d815b80059f96a8000700a829..."} 
[2026-07-07 12:59:46] local.INFO: Processing buffer {"connection_id":124478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b79b9c8012d815b80059f96a8000700a829..."} 
[2026-07-07 12:59:46] local.INFO: Packet analysis {"connection_id":124478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b79"} 
[2026-07-07 12:59:46] local.INFO: Extracted packet for processing {"connection_id":124478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b79"} 
[2026-07-07 12:59:46] local.INFO: GPS Element Parsed {"raw_longitude":763452288,"raw_latitude":94344872,"longitude_deg":76.3452288,"latitude_deg":9.4344872,"altitude":7,"angle":168,"satellites":41,"speed":20,"hex_longitude":"2d815b80","hex_latitude":"059f96a8","is_valid_coordinates":true} 
[2026-07-07 12:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 12:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552765184001,"note":"Value kept but may cause issues"} 
[2026-07-07 12:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341195685212717056,"note":"Value kept but may cause issues"} 
[2026-07-07 12:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9127107570665641984,"note":"Value kept but may cause issues"} 
[2026-07-07 12:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 12:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783409261000,"timestamp_ms":1783409261000,"timestamp_seconds":1783409261,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b79b9c8"} 
[2026-07-07 12:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 12:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 12:59: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-07-07 12:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 12:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 12:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 12:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 12:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 12:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 12:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 12:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 12:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552765184001,"66":27843,"177":206,"85":14336,"24":20,"16":341195685212717056,"45":-9127107570665641984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-07 12:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 12:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 12:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552765184001,"description":"Unknown IO ID 0"} 
[2026-07-07 12:59:46] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 12:59:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 12:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341195685212717056,"km_value":341195685212717.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 12:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9127107570665641984,"description":"Unknown IO ID 45"} 
[2026-07-07 12:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552765184001,"power":27843,"unknown_177":206,"unknown_85":14336,"ignition":20,"odometer":null,"unknown_45":-9127107570665641984}} 
[2026-07-07 12:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":124478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 12:59:46] local.INFO: GPS data processed {"connection_id":124478,"processed":1,"errors":0,"total":1} 
[2026-07-07 12:59:46] local.INFO: Acknowledgment sent {"connection_id":124478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 12:59:57] local.INFO: TCP Data received {"connection_id":125200,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:59:57] local.INFO: Processing buffer {"connection_id":125200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:59:57] local.INFO: IMEI packet received {"connection_id":125200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 12:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":125200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 12:59:59] local.INFO: TCP Data received {"connection_id":125200,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:59:59] local.INFO: Processing buffer {"connection_id":125200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 12:59:59] local.INFO: IMEI packet received {"connection_id":125200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 12:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":125200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:00:03] local.INFO: TCP Data received {"connection_id":124480,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b79c580012d19700007203d38002700651f..."} 
[2026-07-07 13:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b79c580012d19700007203d38002700651f..."} 
[2026-07-07 13:00:03] local.INFO: Processing buffer {"connection_id":124480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b79c580012d19700007203d38002700651f..."} 
[2026-07-07 13:00:03] local.INFO: Packet analysis {"connection_id":124480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b79"} 
[2026-07-07 13:00:03] local.INFO: Extracted packet for processing {"connection_id":124480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b79"} 
[2026-07-07 13:00:03] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":31,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552766208001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783409264000,"timestamp_ms":1783409264000,"timestamp_seconds":1783409264,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b79c580"} 
[2026-07-07 13:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-07 13:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552766208001,"66":12232,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552766208001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:00:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:00:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552766208001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":124480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:00:04] local.INFO: GPS data processed {"connection_id":124480,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:00:04] local.INFO: Acknowledgment sent {"connection_id":124480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:00:04] local.INFO: TCP Data received {"connection_id":125200,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:00:04] local.INFO: Processing buffer {"connection_id":125200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:00:04] local.INFO: IMEI packet received {"connection_id":125200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":125200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:00:05] local.INFO: TCP Data received {"connection_id":125200,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7a61c0012d816480059f69d0000900a828..."} 
[2026-07-07 13:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7a61c0012d816480059f69d0000900a828..."} 
[2026-07-07 13:00:05] local.INFO: Processing buffer {"connection_id":125200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7a61c0012d816480059f69d0000900a828..."} 
[2026-07-07 13:00:05] local.INFO: Packet analysis {"connection_id":125200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7a"} 
[2026-07-07 13:00:05] local.INFO: Extracted packet for processing {"connection_id":125200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7a"} 
[2026-07-07 13:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763454592,"raw_latitude":94333392,"longitude_deg":76.3454592,"latitude_deg":9.4333392,"altitude":9,"angle":168,"satellites":40,"speed":27,"hex_longitude":"2d816480","hex_latitude":"059f69d0","is_valid_coordinates":true} 
[2026-07-07 13:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552776192001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341196252148400128,"note":"Value kept but may cause issues"} 
[2026-07-07 13:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9124715033366306816,"note":"Value kept but may cause issues"} 
[2026-07-07 13:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783409304000,"timestamp_ms":1783409304000,"timestamp_seconds":1783409304,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7a61c0"} 
[2026-07-07 13:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 13:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552776192001,"66":27821,"177":206,"85":14336,"24":27,"16":341196252148400128,"45":-9124715033366306816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-07 13:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552776192001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:00:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 13:00:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 13:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341196252148400128,"km_value":341196252148400.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9124715033366306816,"description":"Unknown IO ID 45"} 
[2026-07-07 13:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552776192001,"power":27821,"unknown_177":206,"unknown_85":14336,"ignition":27,"odometer":null,"unknown_45":-9124715033366306816}} 
[2026-07-07 13:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":125200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:00:05] local.INFO: GPS data processed {"connection_id":125200,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:00:05] local.INFO: Acknowledgment sent {"connection_id":125200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:00:26] local.INFO: TCP Data received {"connection_id":124393,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:00:26] local.INFO: Processing buffer {"connection_id":124393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:00:26] local.INFO: IMEI packet received {"connection_id":124393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":124393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:00:28] local.INFO: TCP Data received {"connection_id":124393,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:00:28] local.INFO: Processing buffer {"connection_id":124393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:00:28] local.INFO: IMEI packet received {"connection_id":124393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":124393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:00:32] local.INFO: TCP Data received {"connection_id":124393,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:00:32] local.INFO: Processing buffer {"connection_id":124393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:00:32] local.INFO: IMEI packet received {"connection_id":124393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":124393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:00:33] local.INFO: TCP Data received {"connection_id":124393,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7a1788012d19700007203d380027006523..."} 
[2026-07-07 13:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7a1788012d19700007203d380027006523..."} 
[2026-07-07 13:00:33] local.INFO: Processing buffer {"connection_id":124393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7a1788012d19700007203d380027006523..."} 
[2026-07-07 13:00:33] local.INFO: Packet analysis {"connection_id":124393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7a"} 
[2026-07-07 13:00:33] local.INFO: Extracted packet for processing {"connection_id":124393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7a"} 
[2026-07-07 13:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552771584001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783409285000,"timestamp_ms":1783409285000,"timestamp_seconds":1783409285,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7a1788"} 
[2026-07-07 13:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-07 13:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552771584001,"66":12265,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552771584001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:00:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:00:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552771584001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":124393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:00:34] local.INFO: GPS data processed {"connection_id":124393,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:00:34] local.INFO: Acknowledgment sent {"connection_id":124393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:00:36] local.INFO: TCP Data received {"connection_id":125200,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7a90a0012d816bc0059f45d0000700a828..."} 
[2026-07-07 13:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7a90a0012d816bc0059f45d0000700a828..."} 
[2026-07-07 13:00:36] local.INFO: Processing buffer {"connection_id":125200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7a90a0012d816bc0059f45d0000700a828..."} 
[2026-07-07 13:00:36] local.INFO: Packet analysis {"connection_id":125200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7a"} 
[2026-07-07 13:00:36] local.INFO: Extracted packet for processing {"connection_id":125200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7a"} 
[2026-07-07 13:00:36] local.INFO: GPS Element Parsed {"raw_longitude":763456448,"raw_latitude":94324176,"longitude_deg":76.3456448,"latitude_deg":9.4324176,"altitude":7,"angle":168,"satellites":40,"speed":33,"hex_longitude":"2d816bc0","hex_latitude":"059f45d0","is_valid_coordinates":true} 
[2026-07-07 13:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552781824001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341196711709900800,"note":"Value kept but may cause issues"} 
[2026-07-07 13:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123026183508078592,"note":"Value kept but may cause issues"} 
[2026-07-07 13:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783409316000,"timestamp_ms":1783409316000,"timestamp_seconds":1783409316,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7a90a0"} 
[2026-07-07 13:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 13:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13: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-07-07 13:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552781824001,"66":27919,"177":206,"85":14336,"24":33,"16":341196711709900800,"45":-9123026183508078592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-07 13:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552781824001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:00:36] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 13:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 13:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341196711709900800,"km_value":341196711709900.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123026183508078592,"description":"Unknown IO ID 45"} 
[2026-07-07 13:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552781824001,"power":27919,"unknown_177":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":-9123026183508078592}} 
[2026-07-07 13:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":125200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:00:36] local.INFO: GPS data processed {"connection_id":125200,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:00:36] local.INFO: Acknowledgment sent {"connection_id":125200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:00:37] local.INFO: TCP Data received {"connection_id":124393,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7a6990012d19700007203d380027006521..."} 
[2026-07-07 13:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7a6990012d19700007203d380027006521..."} 
[2026-07-07 13:00:37] local.INFO: Processing buffer {"connection_id":124393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7a6990012d19700007203d380027006521..."} 
[2026-07-07 13:00:37] local.INFO: Packet analysis {"connection_id":124393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7a"} 
[2026-07-07 13:00:37] local.INFO: Extracted packet for processing {"connection_id":124393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7a"} 
[2026-07-07 13:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":33,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552776960001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783409306000,"timestamp_ms":1783409306000,"timestamp_seconds":1783409306,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7a6990"} 
[2026-07-07 13:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 13:00:37] 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-07-07 13:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552776960001,"66":11569,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552776960001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:00:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:00:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552776960001,"power":11569,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":124393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:00:37] local.INFO: GPS data processed {"connection_id":124393,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:00:37] local.INFO: Acknowledgment sent {"connection_id":124393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:00:59] local.INFO: TCP Data received {"connection_id":124394,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:00:59] local.INFO: Processing buffer {"connection_id":124394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:00:59] local.INFO: IMEI packet received {"connection_id":124394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":124394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:01:04] local.INFO: TCP Data received {"connection_id":124394,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:01:04] local.INFO: Processing buffer {"connection_id":124394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:01:04] local.INFO: IMEI packet received {"connection_id":124394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":124394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:01:05] local.INFO: TCP Data received {"connection_id":124394,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7abb98012d8172c0059f2188000700a828..."} 
[2026-07-07 13:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7abb98012d8172c0059f2188000700a828..."} 
[2026-07-07 13:01:05] local.INFO: Processing buffer {"connection_id":124394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7abb98012d8172c0059f2188000700a828..."} 
[2026-07-07 13:01:05] local.INFO: Packet analysis {"connection_id":124394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7a"} 
[2026-07-07 13:01:05] local.INFO: Extracted packet for processing {"connection_id":124394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7a"} 
[2026-07-07 13:01:05] local.INFO: GPS Element Parsed {"raw_longitude":763458240,"raw_latitude":94314888,"longitude_deg":76.345824,"latitude_deg":9.4314888,"altitude":7,"angle":168,"satellites":40,"speed":32,"hex_longitude":"2d8172c0","hex_latitude":"059f2188","is_valid_coordinates":true} 
[2026-07-07 13:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552784896001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341197166976434176,"note":"Value kept but may cause issues"} 
[2026-07-07 13:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9120985489929285632,"note":"Value kept but may cause issues"} 
[2026-07-07 13:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783409327000,"timestamp_ms":1783409327000,"timestamp_seconds":1783409327,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7abb98"} 
[2026-07-07 13:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 13:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552784896001,"66":27919,"178":206,"85":14336,"24":32,"16":341197166976434176,"45":-9120985489929285632},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-07-07 13:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552784896001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:01:05] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-07 13:01:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 13:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341197166976434176,"km_value":341197166976434.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9120985489929285632,"description":"Unknown IO ID 45"} 
[2026-07-07 13:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552784896001,"power":27919,"unknown_178":206,"unknown_85":14336,"ignition":32,"odometer":null,"unknown_45":-9120985489929285632}} 
[2026-07-07 13:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":124394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:01:05] local.INFO: GPS data processed {"connection_id":124394,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:01:05] local.INFO: Acknowledgment sent {"connection_id":124394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:01:21] local.INFO: TCP Data received {"connection_id":125201,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:01:21] local.INFO: Processing buffer {"connection_id":125201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:01:21] local.INFO: IMEI packet received {"connection_id":125201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":125201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:01:27] local.INFO: TCP Data received {"connection_id":125201,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:01:27] local.INFO: Processing buffer {"connection_id":125201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:01:27] local.INFO: IMEI packet received {"connection_id":125201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":125201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:01:32] local.INFO: TCP Data received {"connection_id":125201,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7abb98012d19700007203d380027006521..."} 
[2026-07-07 13:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7abb98012d19700007203d380027006521..."} 
[2026-07-07 13:01:32] local.INFO: Processing buffer {"connection_id":125201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7abb98012d19700007203d380027006521..."} 
[2026-07-07 13:01:32] local.INFO: Packet analysis {"connection_id":125201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7a"} 
[2026-07-07 13:01:32] local.INFO: Extracted packet for processing {"connection_id":125201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7a"} 
[2026-07-07 13:01:32] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":33,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552782336001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:01: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-07-07 13:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783409327000,"timestamp_ms":1783409327000,"timestamp_seconds":1783409327,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7abb98"} 
[2026-07-07 13:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:01: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":49,"data_length":795,"current_offset":136} 
[2026-07-07 13:01:32] 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-07-07 13:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552782336001,"66":12232,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552782336001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:01:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:01:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552782336001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":125201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:01:32] local.INFO: GPS data processed {"connection_id":125201,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:01:32] local.INFO: Acknowledgment sent {"connection_id":125201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:01:33] local.INFO: TCP Data received {"connection_id":125201,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7b0da0012d19700007203d380027006521..."} 
[2026-07-07 13:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7b0da0012d19700007203d380027006521..."} 
[2026-07-07 13:01:33] local.INFO: Processing buffer {"connection_id":125201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7b0da0012d19700007203d380027006521..."} 
[2026-07-07 13:01:33] local.INFO: Packet analysis {"connection_id":125201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7b"} 
[2026-07-07 13:01:33] local.INFO: Extracted packet for processing {"connection_id":125201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7b"} 
[2026-07-07 13:01:33] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":33,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13: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-07-07 13:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552787712001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783409348000,"timestamp_ms":1783409348000,"timestamp_seconds":1783409348,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7b0da0"} 
[2026-07-07 13:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-07 13:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13: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-07-07 13:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552787712001,"66":12254,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552787712001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:01:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:01:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552787712001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":125201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:01:33] local.INFO: GPS data processed {"connection_id":125201,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:01:33] local.INFO: Acknowledgment sent {"connection_id":125201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:01:36] local.INFO: TCP Data received {"connection_id":124394,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7c7cd0012d81c000059d9a78000800a727..."} 
[2026-07-07 13:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7c7cd0012d81c000059d9a78000800a727..."} 
[2026-07-07 13:01:36] local.INFO: Processing buffer {"connection_id":124394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7c7cd0012d81c000059d9a78000800a727..."} 
[2026-07-07 13:01:36] local.INFO: Packet analysis {"connection_id":124394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7c"} 
[2026-07-07 13:01:36] local.INFO: Extracted packet for processing {"connection_id":124394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7c"} 
[2026-07-07 13:01:36] local.INFO: GPS Element Parsed {"raw_longitude":763478016,"raw_latitude":94214776,"longitude_deg":76.3478016,"latitude_deg":9.4214776,"altitude":8,"angle":167,"satellites":39,"speed":43,"hex_longitude":"2d81c000","hex_latitude":"059d9a78","is_valid_coordinates":true} 
[2026-07-07 13:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552814848001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341202119073726464,"note":"Value kept but may cause issues"} 
[2026-07-07 13:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099382285492242432,"note":"Value kept but may cause issues"} 
[2026-07-07 13:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783409442000,"timestamp_ms":1783409442000,"timestamp_seconds":1783409442,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7c7cd0"} 
[2026-07-07 13:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 13:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552814848001,"66":27865,"193":206,"85":14336,"24":43,"16":341202119073726464,"45":-9099382285492242432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,85,24,16,45]} 
[2026-07-07 13:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552814848001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:01:36] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-07 13:01:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 13:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341202119073726464,"km_value":341202119073726.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099382285492242432,"description":"Unknown IO ID 45"} 
[2026-07-07 13:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552814848001,"power":27865,"unknown_193":206,"unknown_85":14336,"ignition":43,"odometer":null,"unknown_45":-9099382285492242432}} 
[2026-07-07 13:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":124394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:01:36] local.INFO: GPS data processed {"connection_id":124394,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:01:36] local.INFO: Acknowledgment sent {"connection_id":124394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:02:09] local.INFO: TCP Data received {"connection_id":124396,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:02:09] local.INFO: Processing buffer {"connection_id":124396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:02:09] local.INFO: IMEI packet received {"connection_id":124396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":124396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:02:11] local.INFO: TCP Data received {"connection_id":124396,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:02:11] local.INFO: Processing buffer {"connection_id":124396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:02:11] local.INFO: IMEI packet received {"connection_id":124396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":124396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:02:11] local.INFO: TCP Data received {"connection_id":124396,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7c9ff8012d81c800059d75b0000800a828..."} 
[2026-07-07 13:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7c9ff8012d81c800059d75b0000800a828..."} 
[2026-07-07 13:02:11] local.INFO: Processing buffer {"connection_id":124396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7c9ff8012d81c800059d75b0000800a828..."} 
[2026-07-07 13:02:11] local.INFO: Packet analysis {"connection_id":124396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7c"} 
[2026-07-07 13:02:11] local.INFO: Extracted packet for processing {"connection_id":124396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7c"} 
[2026-07-07 13:02:11] local.INFO: GPS Element Parsed {"raw_longitude":763480064,"raw_latitude":94205360,"longitude_deg":76.3480064,"latitude_deg":9.420536,"altitude":8,"angle":168,"satellites":40,"speed":41,"hex_longitude":"2d81c800","hex_latitude":"059d75b0","is_valid_coordinates":true} 
[2026-07-07 13:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552817152001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341202587225161728,"note":"Value kept but may cause issues"} 
[2026-07-07 13:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097271223169419264,"note":"Value kept but may cause issues"} 
[2026-07-07 13:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783409451000,"timestamp_ms":1783409451000,"timestamp_seconds":1783409451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7c9ff8"} 
[2026-07-07 13:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 13:02: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-07-07 13:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552817152001,"66":27843,"193":206,"85":14336,"24":41,"16":341202587225161728,"45":-9097271223169419264},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,85,24,16,45]} 
[2026-07-07 13:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552817152001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:02:11] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-07 13:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 13:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341202587225161728,"km_value":341202587225161.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097271223169419264,"description":"Unknown IO ID 45"} 
[2026-07-07 13:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552817152001,"power":27843,"unknown_193":206,"unknown_85":14336,"ignition":41,"odometer":null,"unknown_45":-9097271223169419264}} 
[2026-07-07 13:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":124396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:02:11] local.INFO: GPS data processed {"connection_id":124396,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:02:11] local.INFO: Acknowledgment sent {"connection_id":124396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:02:21] local.INFO: TCP Data received {"connection_id":124481,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:02:21] local.INFO: Processing buffer {"connection_id":124481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:02:21] local.INFO: IMEI packet received {"connection_id":124481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":124481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:02:27] local.INFO: TCP Data received {"connection_id":124481,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:02:27] local.INFO: Processing buffer {"connection_id":124481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:02:27] local.INFO: IMEI packet received {"connection_id":124481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":124481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:02:34] local.INFO: TCP Data received {"connection_id":124481,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7b6390012d19700007203d380027006522..."} 
[2026-07-07 13:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7b6390012d19700007203d380027006522..."} 
[2026-07-07 13:02:34] local.INFO: Processing buffer {"connection_id":124481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7b6390012d19700007203d380027006522..."} 
[2026-07-07 13:02:34] local.INFO: Packet analysis {"connection_id":124481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7b"} 
[2026-07-07 13:02:34] local.INFO: Extracted packet for processing {"connection_id":124481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7b"} 
[2026-07-07 13:02:34] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":34,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552793088001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783409370000,"timestamp_ms":1783409370000,"timestamp_seconds":1783409370,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7b6390"} 
[2026-07-07 13:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-07 13:02:34] 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-07-07 13:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552793088001,"66":12211,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552793088001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:02:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:02:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552793088001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":124481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:02:34] local.INFO: GPS data processed {"connection_id":124481,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:02:34] local.INFO: Acknowledgment sent {"connection_id":124481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:02:43] local.INFO: TCP Data received {"connection_id":124396,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7cc320012d81cf00059d5350000900a929..."} 
[2026-07-07 13:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7cc320012d81cf00059d5350000900a929..."} 
[2026-07-07 13:02:43] local.INFO: Processing buffer {"connection_id":124396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7cc320012d81cf00059d5350000900a929..."} 
[2026-07-07 13:02:43] local.INFO: Packet analysis {"connection_id":124396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7c"} 
[2026-07-07 13:02:43] local.INFO: Extracted packet for processing {"connection_id":124396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7c"} 
[2026-07-07 13:02:43] local.INFO: GPS Element Parsed {"raw_longitude":763481856,"raw_latitude":94196560,"longitude_deg":76.3481856,"latitude_deg":9.419656,"altitude":9,"angle":169,"satellites":41,"speed":35,"hex_longitude":"2d81cf00","hex_latitude":"059d5350","is_valid_coordinates":true} 
[2026-07-07 13: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-07-07 13:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552819456001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341203021016858624,"note":"Value kept but may cause issues"} 
[2026-07-07 13:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9095019423358144512,"note":"Value kept but may cause issues"} 
[2026-07-07 13:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783409460000,"timestamp_ms":1783409460000,"timestamp_seconds":1783409460,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7cc320"} 
[2026-07-07 13:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13: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-07-07 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 13:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13: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-07-07 13:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552819456001,"66":27865,"193":206,"85":14336,"24":35,"16":341203021016858624,"45":-9095019423358144512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,85,24,16,45]} 
[2026-07-07 13:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552819456001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:02:43] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-07 13:02:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 13:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341203021016858624,"km_value":341203021016858.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9095019423358144512,"description":"Unknown IO ID 45"} 
[2026-07-07 13:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552819456001,"power":27865,"unknown_193":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":-9095019423358144512}} 
[2026-07-07 13:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":124396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:02:43] local.INFO: GPS data processed {"connection_id":124396,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:02:43] local.INFO: Acknowledgment sent {"connection_id":124396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:02:59] local.INFO: TCP Data received {"connection_id":126438,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:02:59] local.INFO: Processing buffer {"connection_id":126438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:02:59] local.INFO: IMEI packet received {"connection_id":126438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":126438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:02:59] local.INFO: TCP Data received {"connection_id":126438,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:02:59] local.INFO: Processing buffer {"connection_id":126438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:02:59] local.INFO: IMEI packet received {"connection_id":126438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":126438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:03:04] local.INFO: TCP Data received {"connection_id":126438,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:03:04] local.INFO: Processing buffer {"connection_id":126438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:03:04] local.INFO: IMEI packet received {"connection_id":126438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":126438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:03:05] local.INFO: TCP Data received {"connection_id":126438,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7cee18012d81d5c0059d30b0000800a729..."} 
[2026-07-07 13:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7cee18012d81d5c0059d30b0000800a729..."} 
[2026-07-07 13:03:05] local.INFO: Processing buffer {"connection_id":126438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7cee18012d81d5c0059d30b0000800a729..."} 
[2026-07-07 13:03:05] local.INFO: Packet analysis {"connection_id":126438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7c"} 
[2026-07-07 13:03:05] local.INFO: Extracted packet for processing {"connection_id":126438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7c"} 
[2026-07-07 13:03:05] local.INFO: GPS Element Parsed {"raw_longitude":763483584,"raw_latitude":94187696,"longitude_deg":76.3483584,"latitude_deg":9.4187696,"altitude":8,"angle":167,"satellites":41,"speed":33,"hex_longitude":"2d81d5c0","hex_latitude":"059d30b0","is_valid_coordinates":true} 
[2026-07-07 13:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552821760001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341203459103522816,"note":"Value kept but may cause issues"} 
[2026-07-07 13:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9093049098523422720,"note":"Value kept but may cause issues"} 
[2026-07-07 13:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783409471000,"timestamp_ms":1783409471000,"timestamp_seconds":1783409471,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7cee18"} 
[2026-07-07 13:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 13:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552821760001,"66":27887,"193":206,"85":14336,"24":33,"16":341203459103522816,"45":-9093049098523422720},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,85,24,16,45]} 
[2026-07-07 13:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552821760001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:03:05] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-07 13:03:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 13:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341203459103522816,"km_value":341203459103522.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9093049098523422720,"description":"Unknown IO ID 45"} 
[2026-07-07 13:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552821760001,"power":27887,"unknown_193":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":-9093049098523422720}} 
[2026-07-07 13:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":126438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:03:05] local.INFO: GPS data processed {"connection_id":126438,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:03:05] local.INFO: Acknowledgment sent {"connection_id":126438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:03:05] local.INFO: TCP Data received {"connection_id":124481,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7bb598012d19700007203d380027006521..."} 
[2026-07-07 13:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7bb598012d19700007203d380027006521..."} 
[2026-07-07 13:03:05] local.INFO: Processing buffer {"connection_id":124481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7bb598012d19700007203d380027006521..."} 
[2026-07-07 13:03:05] local.INFO: Packet analysis {"connection_id":124481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7b"} 
[2026-07-07 13:03:05] local.INFO: Extracted packet for processing {"connection_id":124481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7b"} 
[2026-07-07 13:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":33,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552798720001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783409391000,"timestamp_ms":1783409391000,"timestamp_seconds":1783409391,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7bb598"} 
[2026-07-07 13:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 13:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552798720001,"66":12232,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552798720001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:03:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:03:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552798720001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":124481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:03:05] local.INFO: GPS data processed {"connection_id":124481,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:03:05] local.INFO: Acknowledgment sent {"connection_id":124481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:03:27] local.INFO: TCP Data received {"connection_id":124397,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:03:27] local.INFO: Processing buffer {"connection_id":124397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:03:27] local.INFO: IMEI packet received {"connection_id":124397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":124397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:03:30] local.INFO: TCP Data received {"connection_id":126439,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:03:30] local.INFO: Processing buffer {"connection_id":126439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:03:30] local.INFO: IMEI packet received {"connection_id":126439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":126439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:03:32] local.INFO: TCP Data received {"connection_id":124397,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:03:32] local.INFO: Processing buffer {"connection_id":124397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:03:32] local.INFO: IMEI packet received {"connection_id":124397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":124397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:03:33] local.INFO: TCP Data received {"connection_id":124397,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7c07a0012d19700007203d380027006523..."} 
[2026-07-07 13:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7c07a0012d19700007203d380027006523..."} 
[2026-07-07 13:03:33] local.INFO: Processing buffer {"connection_id":124397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7c07a0012d19700007203d380027006523..."} 
[2026-07-07 13:03:33] local.INFO: Packet analysis {"connection_id":124397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7c"} 
[2026-07-07 13:03:33] local.INFO: Extracted packet for processing {"connection_id":124397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7c"} 
[2026-07-07 13:03:33] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552804096001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783409412000,"timestamp_ms":1783409412000,"timestamp_seconds":1783409412,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7c07a0"} 
[2026-07-07 13:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-07 13:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552804096001,"66":12287,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552804096001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:03:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:03:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552804096001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":124397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:03:33] local.INFO: GPS data processed {"connection_id":124397,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:03:33] local.INFO: Acknowledgment sent {"connection_id":124397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:03:36] local.INFO: TCP Data received {"connection_id":126438,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7cfdb8012d81d780059d2330000700b529..."} 
[2026-07-07 13:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7cfdb8012d81d780059d2330000700b529..."} 
[2026-07-07 13:03:36] local.INFO: Processing buffer {"connection_id":126438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7cfdb8012d81d780059d2330000700b529..."} 
[2026-07-07 13:03:36] local.INFO: Packet analysis {"connection_id":126438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7c"} 
[2026-07-07 13:03:36] local.INFO: Extracted packet for processing {"connection_id":126438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7c"} 
[2026-07-07 13:03:36] local.INFO: GPS Element Parsed {"raw_longitude":763484032,"raw_latitude":94184240,"longitude_deg":76.3484032,"latitude_deg":9.418424,"altitude":7,"angle":181,"satellites":41,"speed":36,"hex_longitude":"2d81d780","hex_latitude":"059d2330","is_valid_coordinates":true} 
[2026-07-07 13:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552824576001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341203626607247360,"note":"Value kept but may cause issues"} 
[2026-07-07 13:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9091149142432894976,"note":"Value kept but may cause issues"} 
[2026-07-07 13:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783409475000,"timestamp_ms":1783409475000,"timestamp_seconds":1783409475,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7cfdb8"} 
[2026-07-07 13:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 13:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552824576001,"66":27908,"193":206,"85":14336,"24":36,"16":341203626607247360,"45":-9091149142432894976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,85,24,16,45]} 
[2026-07-07 13:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552824576001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:03:36] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-07 13:03:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-07 13:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341203626607247360,"km_value":341203626607247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9091149142432894976,"description":"Unknown IO ID 45"} 
[2026-07-07 13:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552824576001,"power":27908,"unknown_193":206,"unknown_85":14336,"ignition":36,"odometer":null,"unknown_45":-9091149142432894976}} 
[2026-07-07 13:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":126438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:03:36] local.INFO: GPS data processed {"connection_id":126438,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:03:36] local.INFO: Acknowledgment sent {"connection_id":126438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:03:59] local.INFO: TCP Data received {"connection_id":124398,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:03:59] local.INFO: Processing buffer {"connection_id":124398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:03:59] local.INFO: IMEI packet received {"connection_id":124398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":124398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:04:04] local.INFO: TCP Data received {"connection_id":126440,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:04:04] local.INFO: Processing buffer {"connection_id":126440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:04:04] local.INFO: IMEI packet received {"connection_id":126440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":126440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:04:04] local.INFO: TCP Data received {"connection_id":126440,"ip":"42.106.6.30","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 13:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126440,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 13:04:04] local.INFO: Processing buffer {"connection_id":126440,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 13:04:04] local.INFO: IMEI packet received {"connection_id":126440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":126440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:04:05] local.INFO: TCP Data received {"connection_id":124397,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7c59a8012d19700007203d380027006522..."} 
[2026-07-07 13:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7c59a8012d19700007203d380027006522..."} 
[2026-07-07 13:04:05] local.INFO: Processing buffer {"connection_id":124397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7c59a8012d19700007203d380027006522..."} 
[2026-07-07 13:04:05] local.INFO: Packet analysis {"connection_id":124397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7c"} 
[2026-07-07 13:04:05] local.INFO: Extracted packet for processing {"connection_id":124397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7c"} 
[2026-07-07 13:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":34,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552809472001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783409433000,"timestamp_ms":1783409433000,"timestamp_seconds":1783409433,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7c59a8"} 
[2026-07-07 13:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-07 13:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552809472001,"66":12254,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552809472001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:04:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:04:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552809472001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":124397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:04:06] local.INFO: GPS data processed {"connection_id":124397,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:04:06] local.INFO: Acknowledgment sent {"connection_id":124397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:04:09] local.INFO: TCP Data received {"connection_id":126440,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:04:09] local.INFO: Processing buffer {"connection_id":126440,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 13:04:09] local.INFO: IMEI packet received {"connection_id":126440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":126440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:04:10] local.INFO: TCP Data received {"connection_id":126440,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7eb338012d8231c0059bb428000700ae2a..."} 
[2026-07-07 13:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7eb338012d8231c0059bb428000700ae2a..."} 
[2026-07-07 13:04:10] local.INFO: Processing buffer {"connection_id":126440,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f3b..."} 
[2026-07-07 13:04:10] local.INFO: IMEI packet received {"connection_id":126440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":126440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:04:12] local.INFO: TCP Data received {"connection_id":126440,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7ede30012d823580059b9118000600ad2a..."} 
[2026-07-07 13:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7ede30012d823580059b9118000600ad2a..."} 
[2026-07-07 13:04:12] local.INFO: Processing buffer {"connection_id":126440,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3b7eb338012d8231c0059bb428000700ae2a..."} 
[2026-07-07 13:04:12] local.INFO: Packet analysis {"connection_id":126440,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3b7e"} 
[2026-07-07 13:04:12] local.INFO: Extracted packet for processing {"connection_id":126440,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7e"} 
[2026-07-07 13:04:12] local.INFO: GPS Element Parsed {"raw_longitude":763507136,"raw_latitude":94090280,"longitude_deg":76.3507136,"latitude_deg":9.409028,"altitude":7,"angle":174,"satellites":42,"speed":35,"hex_longitude":"2d8231c0","hex_latitude":"059bb428","is_valid_coordinates":true} 
[2026-07-07 13:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552851456001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341208329596436480,"note":"Value kept but may cause issues"} 
[2026-07-07 13:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9066942294458456064,"note":"Value kept but may cause issues"} 
[2026-07-07 13:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783409587000,"timestamp_ms":1783409587000,"timestamp_seconds":1783409587,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7eb338"} 
[2026-07-07 13:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13: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-07-07 13:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 13:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552851456001,"66":27843,"179":206,"85":14592,"24":35,"16":341208329596436480,"45":-9066942294458456064},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-07-07 13:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552851456001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:04:12] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-07 13:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341208329596436480,"km_value":341208329596436.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9066942294458456064,"description":"Unknown IO ID 45"} 
[2026-07-07 13:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552851456001,"power":27843,"unknown_179":206,"unknown_85":14592,"ignition":35,"odometer":null,"unknown_45":-9066942294458456064}} 
[2026-07-07 13:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":126440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:04:12] local.INFO: GPS data processed {"connection_id":126440,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:04:12] local.INFO: Acknowledgment sent {"connection_id":126440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:04:12] local.INFO: Packet analysis {"connection_id":126440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7e"} 
[2026-07-07 13:04:12] local.INFO: Extracted packet for processing {"connection_id":126440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7e"} 
[2026-07-07 13:04:12] local.INFO: GPS Element Parsed {"raw_longitude":763508096,"raw_latitude":94081304,"longitude_deg":76.3508096,"latitude_deg":9.4081304,"altitude":6,"angle":173,"satellites":42,"speed":24,"hex_longitude":"2d823580","hex_latitude":"059b9118","is_valid_coordinates":true} 
[2026-07-07 13:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552854272001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341208767683100672,"note":"Value kept but may cause issues"} 
[2026-07-07 13:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9065253444600453120,"note":"Value kept but may cause issues"} 
[2026-07-07 13:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783409598000,"timestamp_ms":1783409598000,"timestamp_seconds":1783409598,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7ede30"} 
[2026-07-07 13:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13: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-07-07 13:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 13:04: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-07-07 13:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552854272001,"66":27843,"179":206,"85":14592,"24":24,"16":341208767683100672,"45":-9065253444600453120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-07-07 13:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552854272001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:04:12] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-07 13:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341208767683100672,"km_value":341208767683100.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9065253444600453120,"description":"Unknown IO ID 45"} 
[2026-07-07 13:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552854272001,"power":27843,"unknown_179":206,"unknown_85":14592,"ignition":24,"odometer":null,"unknown_45":-9065253444600453120}} 
[2026-07-07 13:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":126440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:04:12] local.INFO: GPS data processed {"connection_id":126440,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:04:12] local.INFO: Acknowledgment sent {"connection_id":126440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:04:21] local.INFO: TCP Data received {"connection_id":124399,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:04:21] local.INFO: Processing buffer {"connection_id":124399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:04:21] local.INFO: IMEI packet received {"connection_id":124399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":124399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:04:27] local.INFO: TCP Data received {"connection_id":124399,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:04:27] local.INFO: Processing buffer {"connection_id":124399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:04:27] local.INFO: IMEI packet received {"connection_id":124399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":124399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:04:28] local.INFO: TCP Data received {"connection_id":124399,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7cabb0012d19700007203d380027006520..."} 
[2026-07-07 13:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7cabb0012d19700007203d380027006520..."} 
[2026-07-07 13:04:28] local.INFO: Processing buffer {"connection_id":124399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7cabb0012d19700007203d380027006520..."} 
[2026-07-07 13:04:28] local.INFO: Packet analysis {"connection_id":124399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7c"} 
[2026-07-07 13:04:28] local.INFO: Extracted packet for processing {"connection_id":124399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7c"} 
[2026-07-07 13:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":32,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552814848001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:04: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-07-07 13:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783409454000,"timestamp_ms":1783409454000,"timestamp_seconds":1783409454,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7cabb0"} 
[2026-07-07 13:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-07 13:04:28] 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-07-07 13:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552814848001,"66":12178,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552814848001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:04:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:04:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552814848001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":124399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:04:28] local.INFO: GPS data processed {"connection_id":124399,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:04:28] local.INFO: Acknowledgment sent {"connection_id":124399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:04:44] local.INFO: TCP Data received {"connection_id":126440,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7f18c8012d823880059b6e10000700a82a..."} 
[2026-07-07 13:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7f18c8012d823880059b6e10000700a82a..."} 
[2026-07-07 13:04:44] local.INFO: Processing buffer {"connection_id":126440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7f18c8012d823880059b6e10000700a82a..."} 
[2026-07-07 13:04:44] local.INFO: Packet analysis {"connection_id":126440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7f"} 
[2026-07-07 13:04:44] local.INFO: Extracted packet for processing {"connection_id":126440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7f"} 
[2026-07-07 13:04:44] local.INFO: GPS Element Parsed {"raw_longitude":763508864,"raw_latitude":94072336,"longitude_deg":76.3508864,"latitude_deg":9.4072336,"altitude":7,"angle":168,"satellites":42,"speed":27,"hex_longitude":"2d823880","hex_latitude":"059b6e10","is_valid_coordinates":true} 
[2026-07-07 13:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552857088001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341209205769764864,"note":"Value kept but may cause issues"} 
[2026-07-07 13:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9064197913440086016,"note":"Value kept but may cause issues"} 
[2026-07-07 13:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783409613000,"timestamp_ms":1783409613000,"timestamp_seconds":1783409613,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7f18c8"} 
[2026-07-07 13:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 13:04: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-07-07 13:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":126440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":126440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":126440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552857088001,"66":27267,"179":206,"85":14592,"24":27,"16":341209205769764864,"45":-9064197913440086016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-07-07 13:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552857088001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:04:44] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-07 13:04:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341209205769764864,"km_value":341209205769764.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9064197913440086016,"description":"Unknown IO ID 45"} 
[2026-07-07 13:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552857088001,"power":27267,"unknown_179":206,"unknown_85":14592,"ignition":27,"odometer":null,"unknown_45":-9064197913440086016}} 
[2026-07-07 13:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":126440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:04:44] local.INFO: GPS data processed {"connection_id":126440,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:04:44] local.INFO: Acknowledgment sent {"connection_id":126440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:04:59] local.INFO: TCP Data received {"connection_id":125202,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:04:59] local.INFO: Processing buffer {"connection_id":125202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:04:59] local.INFO: IMEI packet received {"connection_id":125202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":125202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:04:59] local.INFO: TCP Data received {"connection_id":124399,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7cf9d0012d19700007203d380027006523..."} 
[2026-07-07 13:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7cf9d0012d19700007203d380027006523..."} 
[2026-07-07 13:04:59] local.INFO: Processing buffer {"connection_id":124399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7cf9d0012d19700007203d380027006523..."} 
[2026-07-07 13:04:59] local.INFO: Packet analysis {"connection_id":124399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7c"} 
[2026-07-07 13:04:59] local.INFO: Extracted packet for processing {"connection_id":124399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7c"} 
[2026-07-07 13:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552820224001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:04: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-07-07 13:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783409474000,"timestamp_ms":1783409474000,"timestamp_seconds":1783409474,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7cf9d0"} 
[2026-07-07 13:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 13:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":124399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":124399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":124399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552820224001,"66":12232,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552820224001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:05:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:05:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552820224001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":124399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:05:00] local.INFO: GPS data processed {"connection_id":124399,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:05:00] local.INFO: Acknowledgment sent {"connection_id":124399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:05:04] local.INFO: TCP Data received {"connection_id":125202,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:05:04] local.INFO: Processing buffer {"connection_id":125202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:05:04] local.INFO: IMEI packet received {"connection_id":125202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":125202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:05:05] local.INFO: TCP Data received {"connection_id":125202,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7f4b90012d823d40059b4a60000700b02a..."} 
[2026-07-07 13:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7f4b90012d823d40059b4a60000700b02a..."} 
[2026-07-07 13:05:05] local.INFO: Processing buffer {"connection_id":125202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7f4b90012d823d40059b4a60000700b02a..."} 
[2026-07-07 13:05:05] local.INFO: Packet analysis {"connection_id":125202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7f"} 
[2026-07-07 13:05:05] local.INFO: Extracted packet for processing {"connection_id":125202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7f"} 
[2026-07-07 13:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763510080,"raw_latitude":94063200,"longitude_deg":76.351008,"latitude_deg":9.40632,"altitude":7,"angle":176,"satellites":42,"speed":31,"hex_longitude":"2d823d40","hex_latitude":"059b4a60","is_valid_coordinates":true} 
[2026-07-07 13:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552860928001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341209652446363648,"note":"Value kept but may cause issues"} 
[2026-07-07 13:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9063353488512249856,"note":"Value kept but may cause issues"} 
[2026-07-07 13:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783409626000,"timestamp_ms":1783409626000,"timestamp_seconds":1783409626,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7f4b90"} 
[2026-07-07 13:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 13:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552860928001,"66":27713,"15":206,"85":14592,"24":31,"16":341209652446363648,"45":-9063353488512249856},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552860928001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:05:05] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341209652446363648,"km_value":341209652446363.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9063353488512249856,"description":"Unknown IO ID 45"} 
[2026-07-07 13:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552860928001,"power":27713,"unknown_15":206,"unknown_85":14592,"ignition":31,"odometer":null,"unknown_45":-9063353488512249856}} 
[2026-07-07 13:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":125202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:05:05] local.INFO: GPS data processed {"connection_id":125202,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:05:05] local.INFO: Acknowledgment sent {"connection_id":125202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:05:21] local.INFO: TCP Data received {"connection_id":124482,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:05:21] local.INFO: Processing buffer {"connection_id":124482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:05:21] local.INFO: IMEI packet received {"connection_id":124482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":124482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:05:22] local.INFO: TCP Data received {"connection_id":124482,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:05:22] local.INFO: Processing buffer {"connection_id":124482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:05:22] local.INFO: IMEI packet received {"connection_id":124482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":124482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:05:26] local.INFO: TCP Data received {"connection_id":124482,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:05:26] local.INFO: Processing buffer {"connection_id":124482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:05:26] local.INFO: IMEI packet received {"connection_id":124482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":124482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:05:30] local.INFO: TCP Data received {"connection_id":124482,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7d4bd8012d19700007203d380027006521..."} 
[2026-07-07 13:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7d4bd8012d19700007203d380027006521..."} 
[2026-07-07 13:05:30] local.INFO: Processing buffer {"connection_id":124482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7d4bd8012d19700007203d380027006521..."} 
[2026-07-07 13:05:30] local.INFO: Packet analysis {"connection_id":124482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7d"} 
[2026-07-07 13:05:30] local.INFO: Extracted packet for processing {"connection_id":124482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7d"} 
[2026-07-07 13:05:30] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":33,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552825344001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:05: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-07-07 13:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783409495000,"timestamp_ms":1783409495000,"timestamp_seconds":1783409495,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7d4bd8"} 
[2026-07-07 13:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-07 13:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552825344001,"66":12287,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552825344001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:05:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:05:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552825344001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":124482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:05:30] local.INFO: GPS data processed {"connection_id":124482,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:05:30] local.INFO: Acknowledgment sent {"connection_id":124482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:05:36] local.INFO: TCP Data received {"connection_id":125202,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7f72a0012d824080059b2758000700ad2a..."} 
[2026-07-07 13:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7f72a0012d824080059b2758000700ad2a..."} 
[2026-07-07 13:05:36] local.INFO: Processing buffer {"connection_id":125202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7f72a0012d824080059b2758000700ad2a..."} 
[2026-07-07 13:05:36] local.INFO: Packet analysis {"connection_id":125202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7f"} 
[2026-07-07 13:05:36] local.INFO: Extracted packet for processing {"connection_id":125202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7f"} 
[2026-07-07 13:05:36] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":94054232,"longitude_deg":76.3510912,"latitude_deg":9.4054232,"altitude":7,"angle":173,"satellites":42,"speed":40,"hex_longitude":"2d824080","hex_latitude":"059b2758","is_valid_coordinates":true} 
[2026-07-07 13:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552864256001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341210090533027840,"note":"Value kept but may cause issues"} 
[2026-07-07 13:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9062016482375213056,"note":"Value kept but may cause issues"} 
[2026-07-07 13:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783409636000,"timestamp_ms":1783409636000,"timestamp_seconds":1783409636,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7f72a0"} 
[2026-07-07 13:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-07 13:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552864256001,"66":27800,"15":206,"85":14592,"24":40,"16":341210090533027840,"45":-9062016482375213056},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552864256001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:05:36] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:05:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341210090533027840,"km_value":341210090533027.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9062016482375213056,"description":"Unknown IO ID 45"} 
[2026-07-07 13:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552864256001,"power":27800,"unknown_15":206,"unknown_85":14592,"ignition":40,"odometer":null,"unknown_45":-9062016482375213056}} 
[2026-07-07 13:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":125202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:05:36] local.INFO: GPS data processed {"connection_id":125202,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:05:36] local.INFO: Acknowledgment sent {"connection_id":125202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:05:59] local.INFO: TCP Data received {"connection_id":125203,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:05:59] local.INFO: Processing buffer {"connection_id":125203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:05:59] local.INFO: IMEI packet received {"connection_id":125203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":125203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:06:02] local.INFO: TCP Data received {"connection_id":125203,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:06:02] local.INFO: Processing buffer {"connection_id":125203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:06:02] local.INFO: IMEI packet received {"connection_id":125203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":125203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:06:04] local.INFO: TCP Data received {"connection_id":125203,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:06:04] local.INFO: Processing buffer {"connection_id":125203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:06:04] local.INFO: IMEI packet received {"connection_id":125203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":125203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:06:04] local.INFO: TCP Data received {"connection_id":125203,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7f95c8012d824600059b0270000800a72a..."} 
[2026-07-07 13:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7f95c8012d824600059b0270000800a72a..."} 
[2026-07-07 13:06:04] local.INFO: Processing buffer {"connection_id":125203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7f95c8012d824600059b0270000800a72a..."} 
[2026-07-07 13:06:04] local.INFO: Packet analysis {"connection_id":125203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7f"} 
[2026-07-07 13:06:04] local.INFO: Extracted packet for processing {"connection_id":125203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7f"} 
[2026-07-07 13:06:04] local.INFO: GPS Element Parsed {"raw_longitude":763512320,"raw_latitude":94044784,"longitude_deg":76.351232,"latitude_deg":9.4044784,"altitude":8,"angle":167,"satellites":42,"speed":44,"hex_longitude":"2d824600","hex_latitude":"059b0270","is_valid_coordinates":true} 
[2026-07-07 13:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552866816001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341210554389495808,"note":"Value kept but may cause issues"} 
[2026-07-07 13:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101688703199232,"note":"Value kept but may cause issues"} 
[2026-07-07 13:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783409645000,"timestamp_ms":1783409645000,"timestamp_seconds":1783409645,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7f95c8"} 
[2026-07-07 13:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 13:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552866816001,"66":27800,"15":206,"85":14592,"24":44,"16":341210554389495808,"45":-9061101688703199232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552866816001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:06:04] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:06:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341210554389495808,"km_value":341210554389495.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101688703199232,"description":"Unknown IO ID 45"} 
[2026-07-07 13:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552866816001,"power":27800,"unknown_15":206,"unknown_85":14592,"ignition":44,"odometer":null,"unknown_45":-9061101688703199232}} 
[2026-07-07 13:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":125203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:06:04] local.INFO: GPS data processed {"connection_id":125203,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:06:04] local.INFO: Acknowledgment sent {"connection_id":125203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:06:06] local.INFO: TCP Data received {"connection_id":124482,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7d9de0012d19700007203d380027006521..."} 
[2026-07-07 13:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7d9de0012d19700007203d380027006521..."} 
[2026-07-07 13:06:06] local.INFO: Processing buffer {"connection_id":124482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7d9de0012d19700007203d380027006521..."} 
[2026-07-07 13:06:06] local.INFO: Packet analysis {"connection_id":124482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7d"} 
[2026-07-07 13:06:06] local.INFO: Extracted packet for processing {"connection_id":124482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7d"} 
[2026-07-07 13:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":33,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552830720001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783409516000,"timestamp_ms":1783409516000,"timestamp_seconds":1783409516,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7d9de0"} 
[2026-07-07 13:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-07 13:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552830720001,"66":12265,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552830720001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:06:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:06:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552830720001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":124482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:06:06] local.INFO: GPS data processed {"connection_id":124482,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:06:06] local.INFO: Acknowledgment sent {"connection_id":124482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:06:14] local.INFO: TCP Data received {"connection_id":125203,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7fb508012d824dc0059ade90000700a629..."} 
[2026-07-07 13:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7fb508012d824dc0059ade90000700a629..."} 
[2026-07-07 13:06:14] local.INFO: Processing buffer {"connection_id":125203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7fb508012d824dc0059ade90000700a629..."} 
[2026-07-07 13:06:14] local.INFO: Packet analysis {"connection_id":125203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7f"} 
[2026-07-07 13:06:14] local.INFO: Extracted packet for processing {"connection_id":125203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7f"} 
[2026-07-07 13:06:14] local.INFO: GPS Element Parsed {"raw_longitude":763514304,"raw_latitude":94035600,"longitude_deg":76.3514304,"latitude_deg":9.40356,"altitude":7,"angle":166,"satellites":41,"speed":46,"hex_longitude":"2d824dc0","hex_latitude":"059ade90","is_valid_coordinates":true} 
[2026-07-07 13:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552869120001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341211009656029184,"note":"Value kept but may cause issues"} 
[2026-07-07 13:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9059553576333709312,"note":"Value kept but may cause issues"} 
[2026-07-07 13:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783409653000,"timestamp_ms":1783409653000,"timestamp_seconds":1783409653,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7fb508"} 
[2026-07-07 13:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:06: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-07-07 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 13:06: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-07-07 13:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552869120001,"66":27876,"15":206,"85":14592,"24":46,"16":341211009656029184,"45":-9059553576333709312},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552869120001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:06:14] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:06:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341211009656029184,"km_value":341211009656029.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9059553576333709312,"description":"Unknown IO ID 45"} 
[2026-07-07 13:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552869120001,"power":27876,"unknown_15":206,"unknown_85":14592,"ignition":46,"odometer":null,"unknown_45":-9059553576333709312}} 
[2026-07-07 13:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":125203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:06:14] local.INFO: GPS data processed {"connection_id":125203,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:06:14] local.INFO: Acknowledgment sent {"connection_id":125203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:06:25] local.INFO: TCP Data received {"connection_id":125205,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:06:25] local.INFO: Processing buffer {"connection_id":125205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:06:25] local.INFO: IMEI packet received {"connection_id":125205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":125205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:06:33] local.INFO: TCP Data received {"connection_id":125205,"ip":"117.224.141.66","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 13:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125205,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 13:06:33] local.INFO: Processing buffer {"connection_id":125205,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 13:06:33] local.INFO: IMEI packet received {"connection_id":125205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":125205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:06:36] local.INFO: TCP Data received {"connection_id":125205,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7defe8012d19700007203d380027006520..."} 
[2026-07-07 13:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7defe8012d19700007203d380027006520..."} 
[2026-07-07 13:06:36] local.INFO: Processing buffer {"connection_id":125205,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f3b..."} 
[2026-07-07 13:06:36] local.INFO: IMEI packet received {"connection_id":125205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":125205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:06:44] local.INFO: TCP Data received {"connection_id":125205,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7e41f0012d19700007203d38002700651f..."} 
[2026-07-07 13:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7e41f0012d19700007203d38002700651f..."} 
[2026-07-07 13:06:44] local.INFO: Processing buffer {"connection_id":125205,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3b7defe8012d19700007203d380027006520..."} 
[2026-07-07 13:06:44] local.INFO: Packet analysis {"connection_id":125205,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3b7d"} 
[2026-07-07 13:06:44] local.INFO: Extracted packet for processing {"connection_id":125205,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7d"} 
[2026-07-07 13:06:44] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":32,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552836096001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783409537000,"timestamp_ms":1783409537000,"timestamp_seconds":1783409537,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7defe8"} 
[2026-07-07 13:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13: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":233,"data_length":795,"current_offset":136} 
[2026-07-07 13:06:44] 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-07-07 13:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":125205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":125205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":125205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552836096001,"66":12287,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552836096001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:06:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:06:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552836096001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":125205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:06:44] local.INFO: GPS data processed {"connection_id":125205,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:06:44] local.INFO: Acknowledgment sent {"connection_id":125205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:06:44] local.INFO: Packet analysis {"connection_id":125205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7e"} 
[2026-07-07 13:06:44] local.INFO: Extracted packet for processing {"connection_id":125205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7e"} 
[2026-07-07 13:06:44] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":31,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552841472001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783409558000,"timestamp_ms":1783409558000,"timestamp_seconds":1783409558,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7e41f0"} 
[2026-07-07 13:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13: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":255,"data_length":795,"current_offset":136} 
[2026-07-07 13:06: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-07-07 13:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":125205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":125205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":125205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552841472001,"66":12287,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552841472001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:06:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:06:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552841472001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":125205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:06:44] local.INFO: GPS data processed {"connection_id":125205,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:06:44] local.INFO: Acknowledgment sent {"connection_id":125205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:06:59] local.INFO: TCP Data received {"connection_id":124484,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:06:59] local.INFO: Processing buffer {"connection_id":124484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:06:59] local.INFO: IMEI packet received {"connection_id":124484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":124484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:06:59] local.INFO: TCP Data received {"connection_id":124484,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:06:59] local.INFO: Processing buffer {"connection_id":124484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:06:59] local.INFO: IMEI packet received {"connection_id":124484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":124484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:07:04] local.INFO: TCP Data received {"connection_id":124484,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:07:04] local.INFO: Processing buffer {"connection_id":124484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:07:04] local.INFO: IMEI packet received {"connection_id":124484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":124484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:07:05] local.INFO: TCP Data received {"connection_id":124484,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8181f8012d829b0005995ac0000700c12a..."} 
[2026-07-07 13:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8181f8012d829b0005995ac0000700c12a..."} 
[2026-07-07 13:07:05] local.INFO: Processing buffer {"connection_id":124484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8181f8012d829b0005995ac0000700c12a..."} 
[2026-07-07 13:07:05] local.INFO: Packet analysis {"connection_id":124484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b81"} 
[2026-07-07 13:07:05] local.INFO: Extracted packet for processing {"connection_id":124484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b81"} 
[2026-07-07 13:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763534080,"raw_latitude":93936320,"longitude_deg":76.353408,"latitude_deg":9.393632,"altitude":7,"angle":193,"satellites":42,"speed":43,"hex_longitude":"2d829b00","hex_latitude":"05995ac0","is_valid_coordinates":true} 
[2026-07-07 13:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552899328001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341215961753321472,"note":"Value kept but may cause issues"} 
[2026-07-07 13:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033868984734330880,"note":"Value kept but may cause issues"} 
[2026-07-07 13:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783409771000,"timestamp_ms":1783409771000,"timestamp_seconds":1783409771,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8181f8"} 
[2026-07-07 13:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 13:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552899328001,"66":27876,"19":206,"85":14592,"24":43,"16":341215961753321472,"45":-9033868984734330880},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-07 13:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552899328001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:07:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-07 13:07:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341215961753321472,"km_value":341215961753321.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033868984734330880,"description":"Unknown IO ID 45"} 
[2026-07-07 13:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552899328001,"power":27876,"unknown_19":206,"unknown_85":14592,"ignition":43,"odometer":null,"unknown_45":-9033868984734330880}} 
[2026-07-07 13:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":124484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:07:05] local.INFO: GPS data processed {"connection_id":124484,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:07:05] local.INFO: Acknowledgment sent {"connection_id":124484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:07:25] local.INFO: TCP Data received {"connection_id":124400,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:07:25] local.INFO: Processing buffer {"connection_id":124400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:07:25] local.INFO: IMEI packet received {"connection_id":124400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":124400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:07:26] local.INFO: TCP Data received {"connection_id":124400,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:07:26] local.INFO: Processing buffer {"connection_id":124400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:07:26] local.INFO: IMEI packet received {"connection_id":124400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":124400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:07:28] local.INFO: TCP Data received {"connection_id":124400,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7e93f8012d19700007203d380027006520..."} 
[2026-07-07 13:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7e93f8012d19700007203d380027006520..."} 
[2026-07-07 13:07:28] local.INFO: Processing buffer {"connection_id":124400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7e93f8012d19700007203d380027006520..."} 
[2026-07-07 13:07:28] local.INFO: Packet analysis {"connection_id":124400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7e"} 
[2026-07-07 13:07:28] local.INFO: Extracted packet for processing {"connection_id":124400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7e"} 
[2026-07-07 13:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":32,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552846848001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:07: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-07-07 13:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783409579000,"timestamp_ms":1783409579000,"timestamp_seconds":1783409579,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7e93f8"} 
[2026-07-07 13:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-07 13:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552846848001,"66":12232,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552846848001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:07:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:07:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552846848001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":124400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:07:28] local.INFO: GPS data processed {"connection_id":124400,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:07:28] local.INFO: Acknowledgment sent {"connection_id":124400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:07:29] local.INFO: TCP Data received {"connection_id":124400,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7ee600012d19700007203d380027006521..."} 
[2026-07-07 13:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7ee600012d19700007203d380027006521..."} 
[2026-07-07 13:07:29] local.INFO: Processing buffer {"connection_id":124400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7ee600012d19700007203d380027006521..."} 
[2026-07-07 13:07:29] local.INFO: Packet analysis {"connection_id":124400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7e"} 
[2026-07-07 13:07:29] local.INFO: Extracted packet for processing {"connection_id":124400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7e"} 
[2026-07-07 13:07:29] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":33,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552852224001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783409600000,"timestamp_ms":1783409600000,"timestamp_seconds":1783409600,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7ee600"} 
[2026-07-07 13:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-07 13:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":124400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":124400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":124400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552852224001,"66":12287,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552852224001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:07:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:07:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552852224001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":124400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:07:29] local.INFO: GPS data processed {"connection_id":124400,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:07:29] local.INFO: Acknowledgment sent {"connection_id":124400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:07:36] local.INFO: TCP Data received {"connection_id":124484,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b81a138012d82914005993960000900c32a..."} 
[2026-07-07 13:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b81a138012d82914005993960000900c32a..."} 
[2026-07-07 13:07:36] local.INFO: Processing buffer {"connection_id":124484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b81a138012d82914005993960000900c32a..."} 
[2026-07-07 13:07:36] local.INFO: Packet analysis {"connection_id":124484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b81"} 
[2026-07-07 13:07:36] local.INFO: Extracted packet for processing {"connection_id":124484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b81"} 
[2026-07-07 13:07:36] local.INFO: GPS Element Parsed {"raw_longitude":763531584,"raw_latitude":93927776,"longitude_deg":76.3531584,"latitude_deg":9.3927776,"altitude":9,"angle":195,"satellites":42,"speed":43,"hex_longitude":"2d829140","hex_latitude":"05993960","is_valid_coordinates":true} 
[2026-07-07 13:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552901376001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341216391250051072,"note":"Value kept but may cause issues"} 
[2026-07-07 13:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035628203341070336,"note":"Value kept but may cause issues"} 
[2026-07-07 13:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783409779000,"timestamp_ms":1783409779000,"timestamp_seconds":1783409779,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b81a138"} 
[2026-07-07 13:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 13:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552901376001,"66":27800,"19":206,"85":14592,"24":43,"16":341216391250051072,"45":-9035628203341070336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-07 13:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552901376001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:07:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-07 13:07:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341216391250051072,"km_value":341216391250051.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035628203341070336,"description":"Unknown IO ID 45"} 
[2026-07-07 13:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552901376001,"power":27800,"unknown_19":206,"unknown_85":14592,"ignition":43,"odometer":null,"unknown_45":-9035628203341070336}} 
[2026-07-07 13:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":124484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:07:36] local.INFO: GPS data processed {"connection_id":124484,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:07:36] local.INFO: Acknowledgment sent {"connection_id":124484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:07:59] local.INFO: TCP Data received {"connection_id":124485,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:07:59] local.INFO: Processing buffer {"connection_id":124485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:07:59] local.INFO: IMEI packet received {"connection_id":124485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":124485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:08:00] local.INFO: TCP Data received {"connection_id":124485,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:08:00] local.INFO: Processing buffer {"connection_id":124485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:08:00] local.INFO: IMEI packet received {"connection_id":124485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":124485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:08:04] local.INFO: TCP Data received {"connection_id":124400,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b7f3808012d19700007203d380027006523..."} 
[2026-07-07 13:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b7f3808012d19700007203d380027006523..."} 
[2026-07-07 13:08:04] local.INFO: Processing buffer {"connection_id":124400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b7f3808012d19700007203d380027006523..."} 
[2026-07-07 13:08:04] local.INFO: Packet analysis {"connection_id":124400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b7f"} 
[2026-07-07 13:08:04] local.INFO: Extracted packet for processing {"connection_id":124400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b7f"} 
[2026-07-07 13:08:04] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552857600001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:08: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-07-07 13:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783409621000,"timestamp_ms":1783409621000,"timestamp_seconds":1783409621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b7f3808"} 
[2026-07-07 13:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:08: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-07-07 13:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-07 13:08: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-07-07 13:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552857600001,"66":12232,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552857600001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:08:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:08:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552857600001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":124400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:08:04] local.INFO: GPS data processed {"connection_id":124400,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:08:04] local.INFO: Acknowledgment sent {"connection_id":124400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:08:04] local.INFO: TCP Data received {"connection_id":124485,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:08:04] local.INFO: Processing buffer {"connection_id":124485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:08:04] local.INFO: IMEI packet received {"connection_id":124485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":124485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:08:05] local.INFO: TCP Data received {"connection_id":124485,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b81c848012d82884005991498000b00bf2a..."} 
[2026-07-07 13:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b81c848012d82884005991498000b00bf2a..."} 
[2026-07-07 13:08:05] local.INFO: Processing buffer {"connection_id":124485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b81c848012d82884005991498000b00bf2a..."} 
[2026-07-07 13:08:05] local.INFO: Packet analysis {"connection_id":124485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b81"} 
[2026-07-07 13:08:05] local.INFO: Extracted packet for processing {"connection_id":124485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b81"} 
[2026-07-07 13:08:05] local.INFO: GPS Element Parsed {"raw_longitude":763529280,"raw_latitude":93918360,"longitude_deg":76.352928,"latitude_deg":9.391836,"altitude":11,"angle":191,"satellites":42,"speed":34,"hex_longitude":"2d828840","hex_latitude":"05991498","is_valid_coordinates":true} 
[2026-07-07 13:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552903424001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341216859401486336,"note":"Value kept but may cause issues"} 
[2026-07-07 13:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038372584366186496,"note":"Value kept but may cause issues"} 
[2026-07-07 13:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783409789000,"timestamp_ms":1783409789000,"timestamp_seconds":1783409789,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b81c848"} 
[2026-07-07 13:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 13:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552903424001,"66":27919,"19":206,"85":14592,"24":34,"16":341216859401486336,"45":-9038372584366186496},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-07 13:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552903424001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:08:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-07 13:08:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341216859401486336,"km_value":341216859401486.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038372584366186496,"description":"Unknown IO ID 45"} 
[2026-07-07 13:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552903424001,"power":27919,"unknown_19":206,"unknown_85":14592,"ignition":34,"odometer":null,"unknown_45":-9038372584366186496}} 
[2026-07-07 13:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":124485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:08:05] local.INFO: GPS data processed {"connection_id":124485,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:08:05] local.INFO: Acknowledgment sent {"connection_id":124485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:08:21] local.INFO: TCP Data received {"connection_id":125206,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:08:21] local.INFO: Processing buffer {"connection_id":125206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:08:21] local.INFO: IMEI packet received {"connection_id":125206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":125206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:08:26] local.INFO: TCP Data received {"connection_id":125206,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:08:26] local.INFO: Processing buffer {"connection_id":125206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:08:26] local.INFO: IMEI packet received {"connection_id":125206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":125206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:08:36] local.INFO: TCP Data received {"connection_id":124485,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b81ef58012d8285000598f1b8000c00b42a..."} 
[2026-07-07 13:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b81ef58012d8285000598f1b8000c00b42a..."} 
[2026-07-07 13:08:36] local.INFO: Processing buffer {"connection_id":124485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b81ef58012d8285000598f1b8000c00b42a..."} 
[2026-07-07 13:08:36] local.INFO: Packet analysis {"connection_id":124485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b81"} 
[2026-07-07 13:08:36] local.INFO: Extracted packet for processing {"connection_id":124485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b81"} 
[2026-07-07 13:08:36] local.INFO: GPS Element Parsed {"raw_longitude":763528448,"raw_latitude":93909432,"longitude_deg":76.3528448,"latitude_deg":9.3909432,"altitude":12,"angle":180,"satellites":42,"speed":37,"hex_longitude":"2d828500","hex_latitude":"0598f1b8","is_valid_coordinates":true} 
[2026-07-07 13:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552905984001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341217297488150528,"note":"Value kept but may cause issues"} 
[2026-07-07 13:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040905859158992896,"note":"Value kept but may cause issues"} 
[2026-07-07 13:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783409799000,"timestamp_ms":1783409799000,"timestamp_seconds":1783409799,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b81ef58"} 
[2026-07-07 13:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 13:08: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-07-07 13:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552905984001,"66":27767,"19":206,"85":14592,"24":37,"16":341217297488150528,"45":-9040905859158992896},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-07 13:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552905984001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:08:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-07 13:08:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341217297488150528,"km_value":341217297488150.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040905859158992896,"description":"Unknown IO ID 45"} 
[2026-07-07 13:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552905984001,"power":27767,"unknown_19":206,"unknown_85":14592,"ignition":37,"odometer":null,"unknown_45":-9040905859158992896}} 
[2026-07-07 13:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":124485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:08:36] local.INFO: GPS data processed {"connection_id":124485,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:08:36] local.INFO: Acknowledgment sent {"connection_id":124485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:08:57] local.INFO: TCP Data received {"connection_id":125206,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:08:57] local.INFO: Processing buffer {"connection_id":125206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:08:57] local.INFO: IMEI packet received {"connection_id":125206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":125206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:09:01] local.INFO: TCP Data received {"connection_id":124401,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:09:01] local.INFO: Processing buffer {"connection_id":124401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:09:01] local.INFO: IMEI packet received {"connection_id":124401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":124401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:09:04] local.INFO: TCP Data received {"connection_id":124401,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:09:04] local.INFO: Processing buffer {"connection_id":124401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:09:04] local.INFO: IMEI packet received {"connection_id":124401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":124401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:09:09] local.INFO: TCP Data received {"connection_id":124401,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:09:09] local.INFO: Processing buffer {"connection_id":124401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:09:09] local.INFO: IMEI packet received {"connection_id":124401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":124401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:09:10] local.INFO: TCP Data received {"connection_id":124401,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b820ab0012d8287c00598d778000c00a82a..."} 
[2026-07-07 13:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b820ab0012d8287c00598d778000c00a82a..."} 
[2026-07-07 13:09:10] local.INFO: Processing buffer {"connection_id":124401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b820ab0012d8287c00598d778000c00a82a..."} 
[2026-07-07 13:09:10] local.INFO: Packet analysis {"connection_id":124401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b82"} 
[2026-07-07 13:09:10] local.INFO: Extracted packet for processing {"connection_id":124401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b82"} 
[2026-07-07 13:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763529152,"raw_latitude":93902712,"longitude_deg":76.3529152,"latitude_deg":9.3902712,"altitude":12,"angle":168,"satellites":42,"speed":38,"hex_longitude":"2d8287c0","hex_latitude":"0598d778","is_valid_coordinates":true} 
[2026-07-07 13:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552908544001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341217623905665024,"note":"Value kept but may cause issues"} 
[2026-07-07 13:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041820652835588096,"note":"Value kept but may cause issues"} 
[2026-07-07 13:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783409806000,"timestamp_ms":1783409806000,"timestamp_seconds":1783409806,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b820ab0"} 
[2026-07-07 13:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:09: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-07-07 13:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 13:09: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-07-07 13:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13: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-07-07 13:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552908544001,"66":27843,"19":206,"85":14592,"24":38,"16":341217623905665024,"45":-9041820652835588096},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-07 13:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552908544001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:09:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-07 13:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341217623905665024,"km_value":341217623905665.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041820652835588096,"description":"Unknown IO ID 45"} 
[2026-07-07 13:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552908544001,"power":27843,"unknown_19":206,"unknown_85":14592,"ignition":38,"odometer":null,"unknown_45":-9041820652835588096}} 
[2026-07-07 13:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":124401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:09:10] local.INFO: GPS data processed {"connection_id":124401,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:09:10] local.INFO: Acknowledgment sent {"connection_id":124401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:09:11] local.INFO: TCP Data received {"connection_id":124401,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b822dd8012d8291000598b618000a00a329..."} 
[2026-07-07 13:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b822dd8012d8291000598b618000a00a329..."} 
[2026-07-07 13:09:11] local.INFO: Processing buffer {"connection_id":124401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b822dd8012d8291000598b618000a00a329..."} 
[2026-07-07 13:09:11] local.INFO: Packet analysis {"connection_id":124401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b82"} 
[2026-07-07 13:09:11] local.INFO: Extracted packet for processing {"connection_id":124401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b82"} 
[2026-07-07 13:09:11] local.INFO: GPS Element Parsed {"raw_longitude":763531520,"raw_latitude":93894168,"longitude_deg":76.353152,"latitude_deg":9.3894168,"altitude":10,"angle":163,"satellites":41,"speed":39,"hex_longitude":"2d829100","hex_latitude":"0598b618","is_valid_coordinates":true} 
[2026-07-07 13:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552910336001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341218053402394624,"note":"Value kept but may cause issues"} 
[2026-07-07 13:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041046596651354112,"note":"Value kept but may cause issues"} 
[2026-07-07 13:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783409815000,"timestamp_ms":1783409815000,"timestamp_seconds":1783409815,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b822dd8"} 
[2026-07-07 13:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13: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-07-07 13:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 13:09: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-07-07 13:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552910336001,"66":27876,"19":206,"85":14592,"24":39,"16":341218053402394624,"45":-9041046596651354112},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-07 13:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552910336001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:09:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-07 13:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341218053402394624,"km_value":341218053402394.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041046596651354112,"description":"Unknown IO ID 45"} 
[2026-07-07 13:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552910336001,"power":27876,"unknown_19":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-9041046596651354112}} 
[2026-07-07 13:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":124401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:09:11] local.INFO: GPS data processed {"connection_id":124401,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:09:11] local.INFO: Acknowledgment sent {"connection_id":124401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:09:19] local.INFO: TCP Data received {"connection_id":125207,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:09:19] local.INFO: Processing buffer {"connection_id":125207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:09:19] local.INFO: IMEI packet received {"connection_id":125207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":125207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:09:21] local.INFO: TCP Data received {"connection_id":125208,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:09:21] local.INFO: Processing buffer {"connection_id":125208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:09:21] local.INFO: IMEI packet received {"connection_id":125208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":125208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:09:44] local.INFO: TCP Data received {"connection_id":124401,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b841df0012d83144005975260000600a12a..."} 
[2026-07-07 13:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b841df0012d83144005975260000600a12a..."} 
[2026-07-07 13:09:44] local.INFO: Processing buffer {"connection_id":124401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b841df0012d83144005975260000600a12a..."} 
[2026-07-07 13:09:44] local.INFO: Packet analysis {"connection_id":124401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b84"} 
[2026-07-07 13:09:44] local.INFO: Extracted packet for processing {"connection_id":124401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b84"} 
[2026-07-07 13:09:44] local.INFO: GPS Element Parsed {"raw_longitude":763565120,"raw_latitude":93803104,"longitude_deg":76.356512,"latitude_deg":9.3803104,"altitude":6,"angle":161,"satellites":42,"speed":44,"hex_longitude":"2d831440","hex_latitude":"05975260","is_valid_coordinates":true} 
[2026-07-07 13:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552942848001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341222820816093184,"note":"Value kept but may cause issues"} 
[2026-07-07 13:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9004736324678846464,"note":"Value kept but may cause issues"} 
[2026-07-07 13:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783409942000,"timestamp_ms":1783409942000,"timestamp_seconds":1783409942,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b841df0"} 
[2026-07-07 13:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 13:09: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-07-07 13:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552942848001,"66":27865,"18":206,"85":14592,"24":44,"16":341222820816093184,"45":-9004736324678846464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-07 13:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552942848001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:09:44] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-07 13:09:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341222820816093184,"km_value":341222820816093.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9004736324678846464,"description":"Unknown IO ID 45"} 
[2026-07-07 13:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552942848001,"power":27865,"unknown_18":206,"unknown_85":14592,"ignition":44,"odometer":null,"unknown_45":-9004736324678846464}} 
[2026-07-07 13:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":124401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:09:44] local.INFO: GPS data processed {"connection_id":124401,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:09:44] local.INFO: Acknowledgment sent {"connection_id":124401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:09:59] local.INFO: TCP Data received {"connection_id":126442,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:09:59] local.INFO: Processing buffer {"connection_id":126442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:09:59] local.INFO: IMEI packet received {"connection_id":126442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":126442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:09:59] local.INFO: TCP Data received {"connection_id":124487,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:09:59] local.INFO: Processing buffer {"connection_id":124487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:09:59] local.INFO: IMEI packet received {"connection_id":124487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":124487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:10:02] local.INFO: TCP Data received {"connection_id":124487,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:10:02] local.INFO: Processing buffer {"connection_id":124487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:10:02] local.INFO: IMEI packet received {"connection_id":124487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":124487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:10:03] local.INFO: TCP Data received {"connection_id":124487,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8448e8012d83218005972f680007009b29..."} 
[2026-07-07 13:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8448e8012d83218005972f680007009b29..."} 
[2026-07-07 13:10:03] local.INFO: Processing buffer {"connection_id":124487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8448e8012d83218005972f680007009b29..."} 
[2026-07-07 13:10:03] local.INFO: Packet analysis {"connection_id":124487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b84"} 
[2026-07-07 13:10:03] local.INFO: Extracted packet for processing {"connection_id":124487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b84"} 
[2026-07-07 13:10:03] local.INFO: GPS Element Parsed {"raw_longitude":763568512,"raw_latitude":93794152,"longitude_deg":76.3568512,"latitude_deg":9.3794152,"altitude":7,"angle":155,"satellites":41,"speed":32,"hex_longitude":"2d832180","hex_latitude":"05972f68","is_valid_coordinates":true} 
[2026-07-07 13:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552945152001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341223284672561152,"note":"Value kept but may cause issues"} 
[2026-07-07 13:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9001499362449006592,"note":"Value kept but may cause issues"} 
[2026-07-07 13:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783409953000,"timestamp_ms":1783409953000,"timestamp_seconds":1783409953,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8448e8"} 
[2026-07-07 13:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:10: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-07-07 13:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 13:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552945152001,"66":27919,"18":206,"85":14592,"24":32,"16":341223284672561152,"45":-9001499362449006592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-07 13:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552945152001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:10:03] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-07 13:10:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341223284672561152,"km_value":341223284672561.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9001499362449006592,"description":"Unknown IO ID 45"} 
[2026-07-07 13:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552945152001,"power":27919,"unknown_18":206,"unknown_85":14592,"ignition":32,"odometer":null,"unknown_45":-9001499362449006592}} 
[2026-07-07 13:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":124487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:10:03] local.INFO: GPS data processed {"connection_id":124487,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:10:03] local.INFO: Acknowledgment sent {"connection_id":124487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:10:34] local.INFO: TCP Data received {"connection_id":124487,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b846ff8012d8330c005970e880007009a2a..."} 
[2026-07-07 13:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b846ff8012d8330c005970e880007009a2a..."} 
[2026-07-07 13:10:34] local.INFO: Processing buffer {"connection_id":124487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b846ff8012d8330c005970e880007009a2a..."} 
[2026-07-07 13:10:34] local.INFO: Packet analysis {"connection_id":124487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b84"} 
[2026-07-07 13:10:34] local.INFO: Extracted packet for processing {"connection_id":124487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b84"} 
[2026-07-07 13:10:34] local.INFO: GPS Element Parsed {"raw_longitude":763572416,"raw_latitude":93785736,"longitude_deg":76.3572416,"latitude_deg":9.3785736,"altitude":7,"angle":154,"satellites":42,"speed":41,"hex_longitude":"2d8330c0","hex_latitude":"05970e88","is_valid_coordinates":true} 
[2026-07-07 13:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552947968001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341223735644127232,"note":"Value kept but may cause issues"} 
[2026-07-07 13:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8997769819009882112,"note":"Value kept but may cause issues"} 
[2026-07-07 13:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783409963000,"timestamp_ms":1783409963000,"timestamp_seconds":1783409963,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b846ff8"} 
[2026-07-07 13:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:10: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-07-07 13:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 13:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552947968001,"66":27908,"18":206,"85":14592,"24":41,"16":341223735644127232,"45":-8997769819009882112},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-07 13:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552947968001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:10:34] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-07 13:10:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341223735644127232,"km_value":341223735644127.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8997769819009882112,"description":"Unknown IO ID 45"} 
[2026-07-07 13:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552947968001,"power":27908,"unknown_18":206,"unknown_85":14592,"ignition":41,"odometer":null,"unknown_45":-8997769819009882112}} 
[2026-07-07 13:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":124487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:10:34] local.INFO: GPS data processed {"connection_id":124487,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:10:34] local.INFO: Acknowledgment sent {"connection_id":124487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:10:59] local.INFO: TCP Data received {"connection_id":125209,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:10:59] local.INFO: Processing buffer {"connection_id":125209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:10:59] local.INFO: IMEI packet received {"connection_id":125209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":125209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:11:02] local.INFO: TCP Data received {"connection_id":125209,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:11:02] local.INFO: Processing buffer {"connection_id":125209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:11:02] local.INFO: IMEI packet received {"connection_id":125209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":125209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:11:04] local.INFO: TCP Data received {"connection_id":125209,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:11:04] local.INFO: Processing buffer {"connection_id":125209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:11:04] local.INFO: IMEI packet received {"connection_id":125209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":125209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:11:04] local.INFO: TCP Data received {"connection_id":125209,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b858938012d83b34005959cf0000600a22a..."} 
[2026-07-07 13:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b858938012d83b34005959cf0000600a22a..."} 
[2026-07-07 13:11:04] local.INFO: Processing buffer {"connection_id":125209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b858938012d83b34005959cf0000600a22a..."} 
[2026-07-07 13:11:04] local.INFO: Packet analysis {"connection_id":125209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b85"} 
[2026-07-07 13:11:04] local.INFO: Extracted packet for processing {"connection_id":125209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b85"} 
[2026-07-07 13:11:04] local.INFO: GPS Element Parsed {"raw_longitude":763605824,"raw_latitude":93691120,"longitude_deg":76.3605824,"latitude_deg":9.369112,"altitude":6,"angle":162,"satellites":42,"speed":59,"hex_longitude":"2d83b340","hex_latitude":"05959cf0","is_valid_coordinates":true} 
[2026-07-07 13:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552967424001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341228606137040896,"note":"Value kept but may cause issues"} 
[2026-07-07 13:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8959841065922328576,"note":"Value kept but may cause issues"} 
[2026-07-07 13:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783410035000,"timestamp_ms":1783410035000,"timestamp_seconds":1783410035,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b858938"} 
[2026-07-07 13:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 13:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552967424001,"66":27865,"143":206,"85":14592,"24":59,"16":341228606137040896,"45":-8959841065922328576},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,45]} 
[2026-07-07 13:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552967424001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:11:04] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-07 13:11:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341228606137040896,"km_value":341228606137040.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8959841065922328576,"description":"Unknown IO ID 45"} 
[2026-07-07 13:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552967424001,"power":27865,"unknown_143":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8959841065922328576}} 
[2026-07-07 13:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":125209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:11:04] local.INFO: GPS data processed {"connection_id":125209,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:11:04] local.INFO: Acknowledgment sent {"connection_id":125209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:11:08] local.INFO: TCP Data received {"connection_id":125209,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b85a0a8012d83bec005957be80006009f29..."} 
[2026-07-07 13:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b85a0a8012d83bec005957be80006009f29..."} 
[2026-07-07 13:11:08] local.INFO: Processing buffer {"connection_id":125209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b85a0a8012d83bec005957be80006009f29..."} 
[2026-07-07 13:11:08] local.INFO: Packet analysis {"connection_id":125209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b85"} 
[2026-07-07 13:11:08] local.INFO: Extracted packet for processing {"connection_id":125209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b85"} 
[2026-07-07 13:11:08] local.INFO: GPS Element Parsed {"raw_longitude":763608768,"raw_latitude":93682664,"longitude_deg":76.3608768,"latitude_deg":9.3682664,"altitude":6,"angle":159,"satellites":41,"speed":59,"hex_longitude":"2d83bec0","hex_latitude":"05957be8","is_valid_coordinates":true} 
[2026-07-07 13:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552968960001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341229039928737792,"note":"Value kept but may cause issues"} 
[2026-07-07 13:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8956744841180680192,"note":"Value kept but may cause issues"} 
[2026-07-07 13:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783410041000,"timestamp_ms":1783410041000,"timestamp_seconds":1783410041,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b85a0a8"} 
[2026-07-07 13:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 13:11: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-07-07 13:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552968960001,"66":27865,"143":206,"85":14592,"24":59,"16":341229039928737792,"45":-8956744841180680192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,45]} 
[2026-07-07 13:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552968960001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:11:08] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-07 13:11:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341229039928737792,"km_value":341229039928737.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8956744841180680192,"description":"Unknown IO ID 45"} 
[2026-07-07 13:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552968960001,"power":27865,"unknown_143":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8956744841180680192}} 
[2026-07-07 13:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":125209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:11:08] local.INFO: GPS data processed {"connection_id":125209,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:11:08] local.INFO: Acknowledgment sent {"connection_id":125209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:11:39] local.INFO: TCP Data received {"connection_id":125209,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b85b818012d83ccc005955b680006009b29..."} 
[2026-07-07 13:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b85b818012d83ccc005955b680006009b29..."} 
[2026-07-07 13:11:39] local.INFO: Processing buffer {"connection_id":125209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b85b818012d83ccc005955b680006009b29..."} 
[2026-07-07 13:11:39] local.INFO: Packet analysis {"connection_id":125209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b85"} 
[2026-07-07 13:11:39] local.INFO: Extracted packet for processing {"connection_id":125209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b85"} 
[2026-07-07 13:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763612352,"raw_latitude":93674344,"longitude_deg":76.3612352,"latitude_deg":9.3674344,"altitude":6,"angle":155,"satellites":41,"speed":60,"hex_longitude":"2d83ccc0","hex_latitude":"05955b68","is_valid_coordinates":true} 
[2026-07-07 13:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552970496001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341229478015401984,"note":"Value kept but may cause issues"} 
[2026-07-07 13:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8953507878950672384,"note":"Value kept but may cause issues"} 
[2026-07-07 13:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783410047000,"timestamp_ms":1783410047000,"timestamp_seconds":1783410047,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b85b818"} 
[2026-07-07 13:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:11: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-07-07 13:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 13:11: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-07-07 13:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552970496001,"66":27865,"217":206,"85":14592,"24":60,"16":341229478015401984,"45":-8953507878950672384},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-07-07 13:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552970496001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:11:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-07 13:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341229478015401984,"km_value":341229478015402.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8953507878950672384,"description":"Unknown IO ID 45"} 
[2026-07-07 13:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552970496001,"power":27865,"unknown_217":206,"unknown_85":14592,"ignition":60,"odometer":null,"unknown_45":-8953507878950672384}} 
[2026-07-07 13:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":125209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:11:39] local.INFO: GPS data processed {"connection_id":125209,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:11:39] local.INFO: Acknowledgment sent {"connection_id":125209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:12:02] local.INFO: TCP Data received {"connection_id":126445,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:12:02] local.INFO: Processing buffer {"connection_id":126445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:12:02] local.INFO: IMEI packet received {"connection_id":126445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":126445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:12:04] local.INFO: TCP Data received {"connection_id":126445,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:12:04] local.INFO: Processing buffer {"connection_id":126445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:12:04] local.INFO: IMEI packet received {"connection_id":126445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":126445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:12:09] local.INFO: TCP Data received {"connection_id":126445,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:12:09] local.INFO: Processing buffer {"connection_id":126445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:12:09] local.INFO: IMEI packet received {"connection_id":126445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":126445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:12:10] local.INFO: TCP Data received {"connection_id":126445,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b85cf88012d83da8005953b000005009e29..."} 
[2026-07-07 13:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b85cf88012d83da8005953b000005009e29..."} 
[2026-07-07 13:12:10] local.INFO: Processing buffer {"connection_id":126445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b85cf88012d83da8005953b000005009e29..."} 
[2026-07-07 13:12:10] local.INFO: Packet analysis {"connection_id":126445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b85"} 
[2026-07-07 13:12:10] local.INFO: Extracted packet for processing {"connection_id":126445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b85"} 
[2026-07-07 13:12:10] local.INFO: GPS Element Parsed {"raw_longitude":763615872,"raw_latitude":93666048,"longitude_deg":76.3615872,"latitude_deg":9.3666048,"altitude":5,"angle":158,"satellites":41,"speed":58,"hex_longitude":"2d83da80","hex_latitude":"05953b00","is_valid_coordinates":true} 
[2026-07-07 13:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552972032001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341229911807098880,"note":"Value kept but may cause issues"} 
[2026-07-07 13:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8949567229278853120,"note":"Value kept but may cause issues"} 
[2026-07-07 13:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783410053000,"timestamp_ms":1783410053000,"timestamp_seconds":1783410053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b85cf88"} 
[2026-07-07 13:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 13:12: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-07-07 13:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552972032001,"66":27865,"217":206,"85":14592,"24":58,"16":341229911807098880,"45":-8949567229278853120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-07-07 13:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552972032001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:12:10] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-07 13:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341229911807098880,"km_value":341229911807098.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8949567229278853120,"description":"Unknown IO ID 45"} 
[2026-07-07 13:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552972032001,"power":27865,"unknown_217":206,"unknown_85":14592,"ignition":58,"odometer":null,"unknown_45":-8949567229278853120}} 
[2026-07-07 13:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":126445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:12:10] local.INFO: GPS data processed {"connection_id":126445,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:12:10] local.INFO: Acknowledgment sent {"connection_id":126445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:12:41] local.INFO: TCP Data received {"connection_id":126445,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b86e4e0012d8444800593b8d8000400a72a..."} 
[2026-07-07 13:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b86e4e0012d8444800593b8d8000400a72a..."} 
[2026-07-07 13:12:41] local.INFO: Processing buffer {"connection_id":126445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b86e4e0012d8444800593b8d8000400a72a..."} 
[2026-07-07 13:12:41] local.INFO: Packet analysis {"connection_id":126445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b86"} 
[2026-07-07 13:12:41] local.INFO: Extracted packet for processing {"connection_id":126445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b86"} 
[2026-07-07 13:12:41] local.INFO: GPS Element Parsed {"raw_longitude":763643008,"raw_latitude":93567192,"longitude_deg":76.3643008,"latitude_deg":9.3567192,"altitude":4,"angle":167,"satellites":42,"speed":33,"hex_longitude":"2d844480","hex_latitude":"0593b8d8","is_valid_coordinates":true} 
[2026-07-07 13:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552989696001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341234898264129536,"note":"Value kept but may cause issues"} 
[2026-07-07 13:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8917690188191430656,"note":"Value kept but may cause issues"} 
[2026-07-07 13:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783410124000,"timestamp_ms":1783410124000,"timestamp_seconds":1783410124,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b86e4e0"} 
[2026-07-07 13:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-07 13:12: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-07-07 13:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552989696001,"66":27930,"149":206,"85":14592,"24":33,"16":341234898264129536,"45":-8917690188191430656},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,85,24,16,45]} 
[2026-07-07 13:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552989696001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:12:41] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 13:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341234898264129536,"km_value":341234898264129.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8917690188191430656,"description":"Unknown IO ID 45"} 
[2026-07-07 13:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552989696001,"power":27930,"unknown_149":206,"unknown_85":14592,"ignition":33,"odometer":null,"unknown_45":-8917690188191430656}} 
[2026-07-07 13:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":126445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:12:41] local.INFO: GPS data processed {"connection_id":126445,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:12:41] local.INFO: Acknowledgment sent {"connection_id":126445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:12:59] local.INFO: TCP Data received {"connection_id":124489,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:12:59] local.INFO: Processing buffer {"connection_id":124489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:12:59] local.INFO: IMEI packet received {"connection_id":124489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":124489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:13:04] local.INFO: TCP Data received {"connection_id":124489,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:13:04] local.INFO: Processing buffer {"connection_id":124489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:13:04] local.INFO: IMEI packet received {"connection_id":124489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":124489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:13:19] local.INFO: TCP Data received {"connection_id":124489,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b870420012d8448c00593aa300004009b2a..."} 
[2026-07-07 13:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b870420012d8448c00593aa300004009b2a..."} 
[2026-07-07 13:13:19] local.INFO: Processing buffer {"connection_id":124489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b870420012d8448c00593aa300004009b2a..."} 
[2026-07-07 13:13:19] local.INFO: Packet analysis {"connection_id":124489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b87"} 
[2026-07-07 13:13:19] local.INFO: Extracted packet for processing {"connection_id":124489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b87"} 
[2026-07-07 13:13:19] local.INFO: GPS Element Parsed {"raw_longitude":763644096,"raw_latitude":93563440,"longitude_deg":76.3644096,"latitude_deg":9.356344,"altitude":4,"angle":155,"satellites":42,"speed":10,"hex_longitude":"2d8448c0","hex_latitude":"0593aa30","is_valid_coordinates":true} 
[2026-07-07 13: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-07-07 13:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552991744001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341235087242690560,"note":"Value kept but may cause issues"} 
[2026-07-07 13:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8915860600845182976,"note":"Value kept but may cause issues"} 
[2026-07-07 13:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783410132000,"timestamp_ms":1783410132000,"timestamp_seconds":1783410132,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b870420"} 
[2026-07-07 13:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:13: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-07-07 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 13:13: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-07-07 13: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-07-07 13:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552991744001,"66":27832,"149":206,"85":14592,"24":10,"16":341235087242690560,"45":-8915860600845182976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,85,24,16,45]} 
[2026-07-07 13:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552991744001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:13:19] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 13:13:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341235087242690560,"km_value":341235087242690.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8915860600845182976,"description":"Unknown IO ID 45"} 
[2026-07-07 13:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552991744001,"power":27832,"unknown_149":206,"unknown_85":14592,"ignition":10,"odometer":null,"unknown_45":-8915860600845182976}} 
[2026-07-07 13:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":124489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:13:19] local.INFO: GPS data processed {"connection_id":124489,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:13:19] local.INFO: Acknowledgment sent {"connection_id":124489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:13:59] local.INFO: TCP Data received {"connection_id":124490,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:13:59] local.INFO: Processing buffer {"connection_id":124490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:13:59] local.INFO: IMEI packet received {"connection_id":124490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":124490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:14:04] local.INFO: TCP Data received {"connection_id":124490,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:14:04] local.INFO: Processing buffer {"connection_id":124490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:14:04] local.INFO: IMEI packet received {"connection_id":124490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":124490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:14:05] local.INFO: TCP Data received {"connection_id":124490,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b872b30012d844d8005939cc8000400a62a..."} 
[2026-07-07 13:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b872b30012d844d8005939cc8000400a62a..."} 
[2026-07-07 13:14:05] local.INFO: Processing buffer {"connection_id":124490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b872b30012d844d8005939cc8000400a62a..."} 
[2026-07-07 13:14:05] local.INFO: Packet analysis {"connection_id":124490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b87"} 
[2026-07-07 13:14:05] local.INFO: Extracted packet for processing {"connection_id":124490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b87"} 
[2026-07-07 13:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763645312,"raw_latitude":93560008,"longitude_deg":76.3645312,"latitude_deg":9.3560008,"altitude":4,"angle":166,"satellites":42,"speed":21,"hex_longitude":"2d844d80","hex_latitude":"05939cc8","is_valid_coordinates":true} 
[2026-07-07 13:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552993792001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341235263336349696,"note":"Value kept but may cause issues"} 
[2026-07-07 13:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8914664332195123200,"note":"Value kept but may cause issues"} 
[2026-07-07 13:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783410142000,"timestamp_ms":1783410142000,"timestamp_seconds":1783410142,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b872b30"} 
[2026-07-07 13:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 13:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552993792001,"66":27821,"149":206,"85":14592,"24":21,"16":341235263336349696,"45":-8914664332195123200},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,85,24,16,45]} 
[2026-07-07 13:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552993792001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:14:05] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 13:14:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341235263336349696,"km_value":341235263336349.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8914664332195123200,"description":"Unknown IO ID 45"} 
[2026-07-07 13:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552993792001,"power":27821,"unknown_149":206,"unknown_85":14592,"ignition":21,"odometer":null,"unknown_45":-8914664332195123200}} 
[2026-07-07 13:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":124490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:14:05] local.INFO: GPS data processed {"connection_id":124490,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:14:05] local.INFO: Acknowledgment sent {"connection_id":124490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:14:27] local.INFO: TCP Data received {"connection_id":124491,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:14:27] local.INFO: Processing buffer {"connection_id":124491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:14:27] local.INFO: IMEI packet received {"connection_id":124491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":124491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:14:30] local.INFO: TCP Data received {"connection_id":124491,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b860a20012d19700007203d380027006522..."} 
[2026-07-07 13:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b860a20012d19700007203d380027006522..."} 
[2026-07-07 13:14:30] local.INFO: Processing buffer {"connection_id":124491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b860a20012d19700007203d380027006522..."} 
[2026-07-07 13:14:30] local.INFO: Packet analysis {"connection_id":124491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b86"} 
[2026-07-07 13:14:30] local.INFO: Extracted packet for processing {"connection_id":124491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b86"} 
[2026-07-07 13:14:30] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":34,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552972032001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:14: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-07-07 13:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783410068000,"timestamp_ms":1783410068000,"timestamp_seconds":1783410068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b860a20"} 
[2026-07-07 13:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 13:14:30] 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-07-07 13:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552972032001,"66":12265,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552972032001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:14:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:14:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552972032001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":124491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:14:31] local.INFO: GPS data processed {"connection_id":124491,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:14:31] local.INFO: Acknowledgment sent {"connection_id":124491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:14:36] local.INFO: TCP Data received {"connection_id":124490,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b88d8e0012d8505c00591d5c00009009d2a..."} 
[2026-07-07 13:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b88d8e0012d8505c00591d5c00009009d2a..."} 
[2026-07-07 13:14:36] local.INFO: Processing buffer {"connection_id":124490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b88d8e0012d8505c00591d5c00009009d2a..."} 
[2026-07-07 13:14:36] local.INFO: Packet analysis {"connection_id":124490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b88"} 
[2026-07-07 13:14:36] local.INFO: Extracted packet for processing {"connection_id":124490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b88"} 
[2026-07-07 13:14:36] local.INFO: GPS Element Parsed {"raw_longitude":763692480,"raw_latitude":93443520,"longitude_deg":76.369248,"latitude_deg":9.344352,"altitude":9,"angle":157,"satellites":42,"speed":59,"hex_longitude":"2d8505c0","hex_latitude":"0591d5c0","is_valid_coordinates":true} 
[2026-07-07 13:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553022976001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341241353599975424,"note":"Value kept but may cause issues"} 
[2026-07-07 13:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8865054367578408960,"note":"Value kept but may cause issues"} 
[2026-07-07 13:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783410252000,"timestamp_ms":1783410252000,"timestamp_seconds":1783410252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b88d8e0"} 
[2026-07-07 13:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 13:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553022976001,"66":27930,"148":206,"85":14592,"24":59,"16":341241353599975424,"45":-8865054367578408960},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-07-07 13:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553022976001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:14:36] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-07 13:14:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341241353599975424,"km_value":341241353599975.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8865054367578408960,"description":"Unknown IO ID 45"} 
[2026-07-07 13:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553022976001,"power":27930,"unknown_148":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8865054367578408960}} 
[2026-07-07 13:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":124490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:14:36] local.INFO: GPS data processed {"connection_id":124490,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:14:36] local.INFO: Acknowledgment sent {"connection_id":124490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:14:59] local.INFO: TCP Data received {"connection_id":124492,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:14:59] local.INFO: Processing buffer {"connection_id":124492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:14:59] local.INFO: IMEI packet received {"connection_id":124492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":124492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:15:04] local.INFO: TCP Data received {"connection_id":124492,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:15:04] local.INFO: Processing buffer {"connection_id":124492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:15:04] local.INFO: IMEI packet received {"connection_id":124492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":124492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:15:05] local.INFO: TCP Data received {"connection_id":124492,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b88f050012d8512c00591b5280008009d2a..."} 
[2026-07-07 13:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b88f050012d8512c00591b5280008009d2a..."} 
[2026-07-07 13:15:05] local.INFO: Processing buffer {"connection_id":124492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b88f050012d8512c00591b5280008009d2a..."} 
[2026-07-07 13:15:05] local.INFO: Packet analysis {"connection_id":124492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b88"} 
[2026-07-07 13:15:05] local.INFO: Extracted packet for processing {"connection_id":124492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b88"} 
[2026-07-07 13:15:05] local.INFO: GPS Element Parsed {"raw_longitude":763695808,"raw_latitude":93435176,"longitude_deg":76.3695808,"latitude_deg":9.3435176,"altitude":8,"angle":157,"satellites":42,"speed":59,"hex_longitude":"2d8512c0","hex_latitude":"0591b528","is_valid_coordinates":true} 
[2026-07-07 13:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553024512001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341241787391672320,"note":"Value kept but may cause issues"} 
[2026-07-07 13:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8861465561627508736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783410258000,"timestamp_ms":1783410258000,"timestamp_seconds":1783410258,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b88f050"} 
[2026-07-07 13:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 13:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553024512001,"66":27832,"173":206,"85":14592,"24":59,"16":341241787391672320,"45":-8861465561627508736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-07 13:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553024512001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:15:05] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-07 13:15:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341241787391672320,"km_value":341241787391672.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8861465561627508736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553024512001,"power":27832,"unknown_173":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8861465561627508736}} 
[2026-07-07 13:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":124492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:15:05] local.INFO: GPS data processed {"connection_id":124492,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:15:05] local.INFO: Acknowledgment sent {"connection_id":124492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:15:21] local.INFO: TCP Data received {"connection_id":125212,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:15:21] local.INFO: Processing buffer {"connection_id":125212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:15:21] local.INFO: IMEI packet received {"connection_id":125212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":125212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:15:27] local.INFO: TCP Data received {"connection_id":125212,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:15:27] local.INFO: Processing buffer {"connection_id":125212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:15:27] local.INFO: IMEI packet received {"connection_id":125212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":125212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:15:28] local.INFO: TCP Data received {"connection_id":125212,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b866010012d19700007203d380027006524..."} 
[2026-07-07 13:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b866010012d19700007203d380027006524..."} 
[2026-07-07 13:15:28] local.INFO: Processing buffer {"connection_id":125212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b866010012d19700007203d380027006524..."} 
[2026-07-07 13:15:28] local.INFO: Packet analysis {"connection_id":125212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b86"} 
[2026-07-07 13:15:28] local.INFO: Extracted packet for processing {"connection_id":125212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b86"} 
[2026-07-07 13:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":36,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552977408001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:15: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-07-07 13:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783410090000,"timestamp_ms":1783410090000,"timestamp_seconds":1783410090,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b866010"} 
[2026-07-07 13:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 13:15:28] 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-07-07 13:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552977408001,"66":12211,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552977408001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:15:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:15:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552977408001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":125212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:15:28] local.INFO: GPS data processed {"connection_id":125212,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:15:28] local.INFO: Acknowledgment sent {"connection_id":125212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:15:29] local.INFO: TCP Data received {"connection_id":126447,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:15:29] local.INFO: Processing buffer {"connection_id":126447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:15:29] local.INFO: IMEI packet received {"connection_id":126447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":126447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:15:36] local.INFO: TCP Data received {"connection_id":124492,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8907c0012d852040059194f80008009e28..."} 
[2026-07-07 13:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8907c0012d852040059194f80008009e28..."} 
[2026-07-07 13:15:36] local.INFO: Processing buffer {"connection_id":124492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8907c0012d852040059194f80008009e28..."} 
[2026-07-07 13:15:36] local.INFO: Packet analysis {"connection_id":124492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b89"} 
[2026-07-07 13:15:36] local.INFO: Extracted packet for processing {"connection_id":124492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b89"} 
[2026-07-07 13:15:36] local.INFO: GPS Element Parsed {"raw_longitude":763699264,"raw_latitude":93426936,"longitude_deg":76.3699264,"latitude_deg":9.3426936,"altitude":8,"angle":158,"satellites":40,"speed":59,"hex_longitude":"2d852040","hex_latitude":"059194f8","is_valid_coordinates":true} 
[2026-07-07 13:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553026048001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341242221183369216,"note":"Value kept but may cause issues"} 
[2026-07-07 13:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8857806386932406272,"note":"Value kept but may cause issues"} 
[2026-07-07 13:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783410264000,"timestamp_ms":1783410264000,"timestamp_seconds":1783410264,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8907c0"} 
[2026-07-07 13:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 13:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13: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-07-07 13:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553026048001,"66":27876,"173":206,"85":14592,"24":59,"16":341242221183369216,"45":-8857806386932406272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-07 13:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553026048001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:15:36] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-07 13:15:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341242221183369216,"km_value":341242221183369.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8857806386932406272,"description":"Unknown IO ID 45"} 
[2026-07-07 13:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553026048001,"power":27876,"unknown_173":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8857806386932406272}} 
[2026-07-07 13:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":124492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:15:36] local.INFO: GPS data processed {"connection_id":124492,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:15:36] local.INFO: Acknowledgment sent {"connection_id":124492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:16:00] local.INFO: TCP Data received {"connection_id":124404,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:16:00] local.INFO: Processing buffer {"connection_id":124404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:16:00] local.INFO: IMEI packet received {"connection_id":124404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":124404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:16:01] local.INFO: TCP Data received {"connection_id":125212,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b86b600012d19700007203d380027006523..."} 
[2026-07-07 13:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b86b600012d19700007203d380027006523..."} 
[2026-07-07 13:16:01] local.INFO: Processing buffer {"connection_id":125212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b86b600012d19700007203d380027006523..."} 
[2026-07-07 13:16:01] local.INFO: Packet analysis {"connection_id":125212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b86"} 
[2026-07-07 13:16:01] local.INFO: Extracted packet for processing {"connection_id":125212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b86"} 
[2026-07-07 13:16:01] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552983040001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:16: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-07-07 13:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783410112000,"timestamp_ms":1783410112000,"timestamp_seconds":1783410112,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b86b600"} 
[2026-07-07 13:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:16: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-07-07 13:16: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 13:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552983040001,"66":12232,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552983040001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:16:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:16:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552983040001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":125212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:16:01] local.INFO: GPS data processed {"connection_id":125212,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:16:01] local.INFO: Acknowledgment sent {"connection_id":125212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:16:02] local.INFO: TCP Data received {"connection_id":126448,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:16:02] local.INFO: Processing buffer {"connection_id":126448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:16:02] local.INFO: IMEI packet received {"connection_id":126448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":126448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:16:04] local.INFO: TCP Data received {"connection_id":126448,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:16:04] local.INFO: Processing buffer {"connection_id":126448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:16:04] local.INFO: IMEI packet received {"connection_id":126448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":126448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:16:09] local.INFO: TCP Data received {"connection_id":126448,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:16:09] local.INFO: Processing buffer {"connection_id":126448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:16:09] local.INFO: IMEI packet received {"connection_id":126448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":126448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:16:09] local.INFO: TCP Data received {"connection_id":126448,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8a0990012d85b280059031c00007009b28..."} 
[2026-07-07 13:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8a0990012d85b280059031c00007009b28..."} 
[2026-07-07 13:16:09] local.INFO: Processing buffer {"connection_id":126448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8a0990012d85b280059031c00007009b28..."} 
[2026-07-07 13:16:09] local.INFO: Packet analysis {"connection_id":126448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8a"} 
[2026-07-07 13:16:09] local.INFO: Extracted packet for processing {"connection_id":126448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8a"} 
[2026-07-07 13:16:09] local.INFO: GPS Element Parsed {"raw_longitude":763736704,"raw_latitude":93336000,"longitude_deg":76.3736704,"latitude_deg":9.3336,"altitude":7,"angle":155,"satellites":40,"speed":59,"hex_longitude":"2d85b280","hex_latitude":"059031c0","is_valid_coordinates":true} 
[2026-07-07 13:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553042944001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341246980007133184,"note":"Value kept but may cause issues"} 
[2026-07-07 13:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8816781409100118016,"note":"Value kept but may cause issues"} 
[2026-07-07 13:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783410330000,"timestamp_ms":1783410330000,"timestamp_seconds":1783410330,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8a0990"} 
[2026-07-07 13:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13: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-07-07 13:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 13:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553042944001,"66":27745,"173":206,"85":14592,"24":59,"16":341246980007133184,"45":-8816781409100118016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-07 13:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553042944001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:16:09] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-07 13:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341246980007133184,"km_value":341246980007133.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8816781409100118016,"description":"Unknown IO ID 45"} 
[2026-07-07 13:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553042944001,"power":27745,"unknown_173":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8816781409100118016}} 
[2026-07-07 13:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":126448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:16:09] local.INFO: GPS data processed {"connection_id":126448,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:16:09] local.INFO: Acknowledgment sent {"connection_id":126448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:16:27] local.INFO: TCP Data received {"connection_id":124405,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:16:27] local.INFO: Processing buffer {"connection_id":124405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:16:27] local.INFO: IMEI packet received {"connection_id":124405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":124405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:16:29] local.INFO: TCP Data received {"connection_id":124405,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b870808012d19700007203d380027006523..."} 
[2026-07-07 13:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b870808012d19700007203d380027006523..."} 
[2026-07-07 13:16:29] local.INFO: Processing buffer {"connection_id":124405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b870808012d19700007203d380027006523..."} 
[2026-07-07 13:16:29] local.INFO: Packet analysis {"connection_id":124405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b87"} 
[2026-07-07 13:16:29] local.INFO: Extracted packet for processing {"connection_id":124405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b87"} 
[2026-07-07 13:16:29] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552988672001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783410133000,"timestamp_ms":1783410133000,"timestamp_seconds":1783410133,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b870808"} 
[2026-07-07 13:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-07 13:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":124405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":124405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":124405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552988672001,"66":12254,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552988672001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:16:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:16:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552988672001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":124405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:16:29] local.INFO: GPS data processed {"connection_id":124405,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:16:29] local.INFO: Acknowledgment sent {"connection_id":124405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:16:41] local.INFO: TCP Data received {"connection_id":126448,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8a2100012d85c200059012500007009928..."} 
[2026-07-07 13:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8a2100012d85c200059012500007009928..."} 
[2026-07-07 13:16:41] local.INFO: Processing buffer {"connection_id":126448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8a2100012d85c200059012500007009928..."} 
[2026-07-07 13:16:41] local.INFO: Packet analysis {"connection_id":126448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8a"} 
[2026-07-07 13:16:41] local.INFO: Extracted packet for processing {"connection_id":126448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8a"} 
[2026-07-07 13:16:41] local.INFO: GPS Element Parsed {"raw_longitude":763740672,"raw_latitude":93327952,"longitude_deg":76.3740672,"latitude_deg":9.3327952,"altitude":7,"angle":153,"satellites":40,"speed":59,"hex_longitude":"2d85c200","hex_latitude":"05901250","is_valid_coordinates":true} 
[2026-07-07 13:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553044480001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341247413798830080,"note":"Value kept but may cause issues"} 
[2026-07-07 13:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8812840759428268032,"note":"Value kept but may cause issues"} 
[2026-07-07 13:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783410336000,"timestamp_ms":1783410336000,"timestamp_seconds":1783410336,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8a2100"} 
[2026-07-07 13:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 13:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553044480001,"66":27767,"173":206,"85":14592,"24":59,"16":341247413798830080,"45":-8812840759428268032},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-07 13:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553044480001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:16:41] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-07 13:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341247413798830080,"km_value":341247413798830.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8812840759428268032,"description":"Unknown IO ID 45"} 
[2026-07-07 13:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553044480001,"power":27767,"unknown_173":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8812840759428268032}} 
[2026-07-07 13:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":126448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:16:41] local.INFO: GPS data processed {"connection_id":126448,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:16:41] local.INFO: Acknowledgment sent {"connection_id":126448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:17:00] local.INFO: TCP Data received {"connection_id":124406,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:17:00] local.INFO: Processing buffer {"connection_id":124406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:17:00] local.INFO: IMEI packet received {"connection_id":124406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":124406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:17:03] local.INFO: TCP Data received {"connection_id":124405,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b875df8012d19700007203d380027006520..."} 
[2026-07-07 13:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b875df8012d19700007203d380027006520..."} 
[2026-07-07 13:17:03] local.INFO: Processing buffer {"connection_id":124405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b875df8012d19700007203d380027006520..."} 
[2026-07-07 13:17:03] local.INFO: Packet analysis {"connection_id":124405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b87"} 
[2026-07-07 13:17:03] local.INFO: Extracted packet for processing {"connection_id":124405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b87"} 
[2026-07-07 13:17:03] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":32,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552994048001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783410155000,"timestamp_ms":1783410155000,"timestamp_seconds":1783410155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b875df8"} 
[2026-07-07 13:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-07 13:17:03] 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-07-07 13:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552994048001,"66":12287,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552994048001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:17:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:17:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552994048001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":124405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:17:03] local.INFO: GPS data processed {"connection_id":124405,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:17:03] local.INFO: Acknowledgment sent {"connection_id":124405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:17:04] local.INFO: TCP Data received {"connection_id":124406,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:17:04] local.INFO: Processing buffer {"connection_id":124406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:17:04] local.INFO: IMEI packet received {"connection_id":124406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":124406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:17:08] local.INFO: TCP Data received {"connection_id":124406,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:17:08] local.INFO: Processing buffer {"connection_id":124406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:17:08] local.INFO: IMEI packet received {"connection_id":124406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":124406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:17:08] local.INFO: TCP Data received {"connection_id":124406,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8a3c58012d85d2c0058ff1a00008009528..."} 
[2026-07-07 13:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8a3c58012d85d2c0058ff1a00008009528..."} 
[2026-07-07 13:17:08] local.INFO: Processing buffer {"connection_id":124406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8a3c58012d85d2c0058ff1a00008009528..."} 
[2026-07-07 13:17:08] local.INFO: Packet analysis {"connection_id":124406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8a"} 
[2026-07-07 13:17:08] local.INFO: Extracted packet for processing {"connection_id":124406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8a"} 
[2026-07-07 13:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763744960,"raw_latitude":93319584,"longitude_deg":76.374496,"latitude_deg":9.3319584,"altitude":8,"angle":149,"satellites":40,"speed":46,"hex_longitude":"2d85d2c0","hex_latitude":"058ff1a0","is_valid_coordinates":true} 
[2026-07-07 13: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-07-07 13:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553046016001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341247869065363456,"note":"Value kept but may cause issues"} 
[2026-07-07 13:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8808477897291313152,"note":"Value kept but may cause issues"} 
[2026-07-07 13:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783410343000,"timestamp_ms":1783410343000,"timestamp_seconds":1783410343,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8a3c58"} 
[2026-07-07 13:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 13:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553046016001,"66":27930,"173":206,"85":14592,"24":46,"16":341247869065363456,"45":-8808477897291313152},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-07 13:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553046016001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:17:08] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-07 13:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341247869065363456,"km_value":341247869065363.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8808477897291313152,"description":"Unknown IO ID 45"} 
[2026-07-07 13:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553046016001,"power":27930,"unknown_173":206,"unknown_85":14592,"ignition":46,"odometer":null,"unknown_45":-8808477897291313152}} 
[2026-07-07 13:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":124406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:17:09] local.INFO: GPS data processed {"connection_id":124406,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:17:09] local.INFO: Acknowledgment sent {"connection_id":124406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:17:09] local.INFO: TCP Data received {"connection_id":124406,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8a5f80012d85e5c0058fd3580009009928..."} 
[2026-07-07 13:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8a5f80012d85e5c0058fd3580009009928..."} 
[2026-07-07 13:17:09] local.INFO: Processing buffer {"connection_id":124406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8a5f80012d85e5c0058fd3580009009928..."} 
[2026-07-07 13:17:09] local.INFO: Packet analysis {"connection_id":124406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8a"} 
[2026-07-07 13:17:09] local.INFO: Extracted packet for processing {"connection_id":124406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8a"} 
[2026-07-07 13:17:09] local.INFO: GPS Element Parsed {"raw_longitude":763749824,"raw_latitude":93311832,"longitude_deg":76.3749824,"latitude_deg":9.3311832,"altitude":9,"angle":153,"satellites":40,"speed":39,"hex_longitude":"2d85e5c0","hex_latitude":"058fd358","is_valid_coordinates":true} 
[2026-07-07 13:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553047808001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341248311446994944,"note":"Value kept but may cause issues"} 
[2026-07-07 13:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8803763191433551872,"note":"Value kept but may cause issues"} 
[2026-07-07 13:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783410352000,"timestamp_ms":1783410352000,"timestamp_seconds":1783410352,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8a5f80"} 
[2026-07-07 13:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 13:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553047808001,"66":27800,"173":206,"85":14592,"24":39,"16":341248311446994944,"45":-8803763191433551872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-07 13:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553047808001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:17:09] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-07 13:17:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341248311446994944,"km_value":341248311446994.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8803763191433551872,"description":"Unknown IO ID 45"} 
[2026-07-07 13:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553047808001,"power":27800,"unknown_173":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-8803763191433551872}} 
[2026-07-07 13:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":124406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:17:09] local.INFO: GPS data processed {"connection_id":124406,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:17:09] local.INFO: Acknowledgment sent {"connection_id":124406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:17:26] local.INFO: TCP Data received {"connection_id":125213,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:17:26] local.INFO: Processing buffer {"connection_id":125213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:17:26] local.INFO: IMEI packet received {"connection_id":125213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":125213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:17:40] local.INFO: TCP Data received {"connection_id":124406,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8baf70012d869840058e66e00007008328..."} 
[2026-07-07 13:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8baf70012d869840058e66e00007008328..."} 
[2026-07-07 13:17:40] local.INFO: Processing buffer {"connection_id":124406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8baf70012d869840058e66e00007008328..."} 
[2026-07-07 13:17:40] local.INFO: Packet analysis {"connection_id":124406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8b"} 
[2026-07-07 13:17:40] local.INFO: Extracted packet for processing {"connection_id":124406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8b"} 
[2026-07-07 13:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763795520,"raw_latitude":93218528,"longitude_deg":76.379552,"latitude_deg":9.3218528,"altitude":7,"angle":131,"satellites":40,"speed":54,"hex_longitude":"2d869840","hex_latitude":"058e66e0","is_valid_coordinates":true} 
[2026-07-07 13:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553070336001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341253379508404224,"note":"Value kept but may cause issues"} 
[2026-07-07 13:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8755349495463356416,"note":"Value kept but may cause issues"} 
[2026-07-07 13:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783410438000,"timestamp_ms":1783410438000,"timestamp_seconds":1783410438,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8baf70"} 
[2026-07-07 13:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 13:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553070336001,"66":27767,"89":206,"85":14592,"24":54,"16":341253379508404224,"45":-8755349495463356416},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-07 13:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553070336001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:17:40] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-07 13:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341253379508404224,"km_value":341253379508404.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8755349495463356416,"description":"Unknown IO ID 45"} 
[2026-07-07 13:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553070336001,"power":27767,"unknown_89":206,"unknown_85":14592,"ignition":54,"odometer":null,"unknown_45":-8755349495463356416}} 
[2026-07-07 13:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":124406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:17:40] local.INFO: GPS data processed {"connection_id":124406,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:17:40] local.INFO: Acknowledgment sent {"connection_id":124406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:17:44] local.INFO: TCP Data received {"connection_id":125213,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:17:44] local.INFO: Processing buffer {"connection_id":125213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:17:44] local.INFO: IMEI packet received {"connection_id":125213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":125213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:17:45] local.INFO: TCP Data received {"connection_id":125213,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b87b3e8012d19700007203d380027006522..."} 
[2026-07-07 13:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b87b3e8012d19700007203d380027006522..."} 
[2026-07-07 13:17:45] local.INFO: Processing buffer {"connection_id":125213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b87b3e8012d19700007203d380027006522..."} 
[2026-07-07 13:17:45] local.INFO: Packet analysis {"connection_id":125213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b87"} 
[2026-07-07 13:17:45] local.INFO: Extracted packet for processing {"connection_id":125213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b87"} 
[2026-07-07 13:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":34,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456552999680001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13: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-07-07 13:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783410177000,"timestamp_ms":1783410177000,"timestamp_seconds":1783410177,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b87b3e8"} 
[2026-07-07 13:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-07 13:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":125213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":125213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":125213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456552999680001,"66":12254,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456552999680001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:17:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:17:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456552999680001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":125213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:17:45] local.INFO: GPS data processed {"connection_id":125213,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:17:45] local.INFO: Acknowledgment sent {"connection_id":125213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:17:47] local.INFO: TCP Data received {"connection_id":125213,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8809d8012d19700007203d38002700651f..."} 
[2026-07-07 13:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8809d8012d19700007203d38002700651f..."} 
[2026-07-07 13:17:47] local.INFO: Processing buffer {"connection_id":125213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8809d8012d19700007203d38002700651f..."} 
[2026-07-07 13:17:47] local.INFO: Packet analysis {"connection_id":125213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b88"} 
[2026-07-07 13:17:47] local.INFO: Extracted packet for processing {"connection_id":125213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b88"} 
[2026-07-07 13:17:47] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":31,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553005312001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783410199000,"timestamp_ms":1783410199000,"timestamp_seconds":1783410199,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8809d8"} 
[2026-07-07 13:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-07 13:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":125213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":125213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":125213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553005312001,"66":12287,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553005312001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:17:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:17:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553005312001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":125213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:17:47] local.INFO: GPS data processed {"connection_id":125213,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:17:47] local.INFO: Acknowledgment sent {"connection_id":125213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:17:55] local.INFO: TCP Data received {"connection_id":124493,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:17:55] local.INFO: Processing buffer {"connection_id":124493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:17:55] local.INFO: IMEI packet received {"connection_id":124493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":124493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:17:59] local.INFO: TCP Data received {"connection_id":124493,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:17:59] local.INFO: Processing buffer {"connection_id":124493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:17:59] local.INFO: IMEI packet received {"connection_id":124493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":124493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:18:04] local.INFO: TCP Data received {"connection_id":124493,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:18:04] local.INFO: Processing buffer {"connection_id":124493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:18:04] local.INFO: IMEI packet received {"connection_id":124493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":124493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:18:05] local.INFO: TCP Data received {"connection_id":124493,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8baf70012d869840058e66e00007008328..."} 
[2026-07-07 13:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8baf70012d869840058e66e00007008328..."} 
[2026-07-07 13:18:05] local.INFO: Processing buffer {"connection_id":124493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8baf70012d869840058e66e00007008328..."} 
[2026-07-07 13:18:05] local.INFO: Packet analysis {"connection_id":124493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8b"} 
[2026-07-07 13:18:05] local.INFO: Extracted packet for processing {"connection_id":124493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8b"} 
[2026-07-07 13:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763795520,"raw_latitude":93218528,"longitude_deg":76.379552,"latitude_deg":9.3218528,"altitude":7,"angle":131,"satellites":40,"speed":54,"hex_longitude":"2d869840","hex_latitude":"058e66e0","is_valid_coordinates":true} 
[2026-07-07 13:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553072128001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341253379508404224,"note":"Value kept but may cause issues"} 
[2026-07-07 13:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8748171883559067648,"note":"Value kept but may cause issues"} 
[2026-07-07 13:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783410438000,"timestamp_ms":1783410438000,"timestamp_seconds":1783410438,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8baf70"} 
[2026-07-07 13:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 13:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553072128001,"66":27767,"89":206,"85":14592,"24":54,"16":341253379508404224,"45":-8748171883559067648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-07 13:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553072128001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:18:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-07 13:18:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341253379508404224,"km_value":341253379508404.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8748171883559067648,"description":"Unknown IO ID 45"} 
[2026-07-07 13:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553072128001,"power":27767,"unknown_89":206,"unknown_85":14592,"ignition":54,"odometer":null,"unknown_45":-8748171883559067648}} 
[2026-07-07 13:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":124493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:18:05] local.INFO: GPS data processed {"connection_id":124493,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:18:05] local.INFO: Acknowledgment sent {"connection_id":124493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:18:07] local.INFO: TCP Data received {"connection_id":124493,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8bcac8012d86b6c0058e50d80005007929..."} 
[2026-07-07 13:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8bcac8012d86b6c0058e50d80005007929..."} 
[2026-07-07 13:18:07] local.INFO: Processing buffer {"connection_id":124493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8bcac8012d86b6c0058e50d80005007929..."} 
[2026-07-07 13:18:07] local.INFO: Packet analysis {"connection_id":124493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8b"} 
[2026-07-07 13:18:07] local.INFO: Extracted packet for processing {"connection_id":124493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8b"} 
[2026-07-07 13:18:07] local.INFO: GPS Element Parsed {"raw_longitude":763803328,"raw_latitude":93212888,"longitude_deg":76.3803328,"latitude_deg":9.3212888,"altitude":5,"angle":121,"satellites":41,"speed":53,"hex_longitude":"2d86b6c0","hex_latitude":"058e50d8","is_valid_coordinates":true} 
[2026-07-07 13:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553072128001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341253839069904896,"note":"Value kept but may cause issues"} 
[2026-07-07 13:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8748171883559067648,"note":"Value kept but may cause issues"} 
[2026-07-07 13:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783410445000,"timestamp_ms":1783410445000,"timestamp_seconds":1783410445,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8bcac8"} 
[2026-07-07 13:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 13:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553072128001,"66":28093,"89":206,"85":14592,"24":53,"16":341253839069904896,"45":-8748171883559067648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-07 13:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553072128001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:18:07] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-07 13:18:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341253839069904896,"km_value":341253839069904.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8748171883559067648,"description":"Unknown IO ID 45"} 
[2026-07-07 13:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553072128001,"power":28093,"unknown_89":206,"unknown_85":14592,"ignition":53,"odometer":null,"unknown_45":-8748171883559067648}} 
[2026-07-07 13:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":124493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:18:07] local.INFO: GPS data processed {"connection_id":124493,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:18:07] local.INFO: Acknowledgment sent {"connection_id":124493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:18:21] local.INFO: TCP Data received {"connection_id":124407,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:18:21] local.INFO: Processing buffer {"connection_id":124407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:18:21] local.INFO: IMEI packet received {"connection_id":124407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":124407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:18:26] local.INFO: TCP Data received {"connection_id":124407,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:18:26] local.INFO: Processing buffer {"connection_id":124407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:18:26] local.INFO: IMEI packet received {"connection_id":124407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":124407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:18:27] local.INFO: TCP Data received {"connection_id":124407,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8bcac8012d19700007203d380027006523..."} 
[2026-07-07 13:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8bcac8012d19700007203d380027006523..."} 
[2026-07-07 13:18:27] local.INFO: Processing buffer {"connection_id":124407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8bcac8012d19700007203d380027006523..."} 
[2026-07-07 13:18:27] local.INFO: Packet analysis {"connection_id":124407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8b"} 
[2026-07-07 13:18:27] local.INFO: Extracted packet for processing {"connection_id":124407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8b"} 
[2026-07-07 13:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553068288001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:18: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-07-07 13:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783410445000,"timestamp_ms":1783410445000,"timestamp_seconds":1783410445,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8bcac8"} 
[2026-07-07 13:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 13:18:27] 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-07-07 13:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553068288001,"66":12211,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553068288001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:18:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:18:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553068288001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":124407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:18:27] local.INFO: GPS data processed {"connection_id":124407,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:18:27] local.INFO: Acknowledgment sent {"connection_id":124407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:18:38] local.INFO: TCP Data received {"connection_id":124493,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8be620012d86d700058e3fe00005007428..."} 
[2026-07-07 13:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8be620012d86d700058e3fe00005007428..."} 
[2026-07-07 13:18:38] local.INFO: Processing buffer {"connection_id":124493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8be620012d86d700058e3fe00005007428..."} 
[2026-07-07 13:18:38] local.INFO: Packet analysis {"connection_id":124493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8b"} 
[2026-07-07 13:18:38] local.INFO: Extracted packet for processing {"connection_id":124493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8b"} 
[2026-07-07 13:18:38] local.INFO: GPS Element Parsed {"raw_longitude":763811584,"raw_latitude":93208544,"longitude_deg":76.3811584,"latitude_deg":9.3208544,"altitude":5,"angle":116,"satellites":40,"speed":47,"hex_longitude":"2d86d700","hex_latitude":"058e3fe0","is_valid_coordinates":true} 
[2026-07-07 13:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553073920001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341254290041470976,"note":"Value kept but may cause issues"} 
[2026-07-07 13:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8739586896770836480,"note":"Value kept but may cause issues"} 
[2026-07-07 13:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783410452000,"timestamp_ms":1783410452000,"timestamp_seconds":1783410452,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8be620"} 
[2026-07-07 13:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-07 13:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13: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-07-07 13:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553073920001,"66":27865,"89":206,"85":14592,"24":47,"16":341254290041470976,"45":-8739586896770836480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-07 13:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553073920001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:18:38] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-07 13:18:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341254290041470976,"km_value":341254290041471.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8739586896770836480,"description":"Unknown IO ID 45"} 
[2026-07-07 13:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553073920001,"power":27865,"unknown_89":206,"unknown_85":14592,"ignition":47,"odometer":null,"unknown_45":-8739586896770836480}} 
[2026-07-07 13:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":124493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:18:38] local.INFO: GPS data processed {"connection_id":124493,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:18:38] local.INFO: Acknowledgment sent {"connection_id":124493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:18:59] local.INFO: TCP Data received {"connection_id":124408,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:18:59] local.INFO: Processing buffer {"connection_id":124408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:18:59] local.INFO: IMEI packet received {"connection_id":124408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":124408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:19:04] local.INFO: TCP Data received {"connection_id":124408,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:19:04] local.INFO: Processing buffer {"connection_id":124408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:19:04] local.INFO: IMEI packet received {"connection_id":124408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":124408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:19:05] local.INFO: TCP Data received {"connection_id":124408,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8bf5c0012d86e400058e38980006008629..."} 
[2026-07-07 13:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8bf5c0012d86e400058e38980006008629..."} 
[2026-07-07 13:19:05] local.INFO: Processing buffer {"connection_id":124408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8bf5c0012d86e400058e38980006008629..."} 
[2026-07-07 13:19:05] local.INFO: Packet analysis {"connection_id":124408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8b"} 
[2026-07-07 13:19:05] local.INFO: Extracted packet for processing {"connection_id":124408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8b"} 
[2026-07-07 13:19:05] local.INFO: GPS Element Parsed {"raw_longitude":763814912,"raw_latitude":93206680,"longitude_deg":76.3814912,"latitude_deg":9.320668,"altitude":6,"angle":134,"satellites":41,"speed":28,"hex_longitude":"2d86e400","hex_latitude":"058e3898","is_valid_coordinates":true} 
[2026-07-07 13:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553075712001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341254474725064704,"note":"Value kept but may cause issues"} 
[2026-07-07 13:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8730509328773029888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783410456000,"timestamp_ms":1783410456000,"timestamp_seconds":1783410456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8bf5c0"} 
[2026-07-07 13:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 13:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553075712001,"66":27832,"87":206,"85":14592,"24":28,"16":341254474725064704,"45":-8730509328773029888},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,45]} 
[2026-07-07 13:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553075712001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:19:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-07 13:19:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341254474725064704,"km_value":341254474725064.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8730509328773029888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553075712001,"power":27832,"unknown_87":206,"unknown_85":14592,"ignition":28,"odometer":null,"unknown_45":-8730509328773029888}} 
[2026-07-07 13:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":124408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:19:05] local.INFO: GPS data processed {"connection_id":124408,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:19:05] local.INFO: Acknowledgment sent {"connection_id":124408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:19:07] local.INFO: TCP Data received {"connection_id":124407,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8c20b8012d19700007203d380027006522..."} 
[2026-07-07 13:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8c20b8012d19700007203d380027006522..."} 
[2026-07-07 13:19:07] local.INFO: Processing buffer {"connection_id":124407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8c20b8012d19700007203d380027006522..."} 
[2026-07-07 13:19:07] local.INFO: Packet analysis {"connection_id":124407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8c"} 
[2026-07-07 13:19:07] local.INFO: Extracted packet for processing {"connection_id":124407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8c"} 
[2026-07-07 13:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":34,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553073920001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783410467000,"timestamp_ms":1783410467000,"timestamp_seconds":1783410467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8c20b8"} 
[2026-07-07 13:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:19: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-07-07 13:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 13:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13: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-07-07 13:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553073920001,"66":12113,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553073920001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:19:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:19:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553073920001,"power":12113,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":124407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:19:07] local.INFO: GPS data processed {"connection_id":124407,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:19:07] local.INFO: Acknowledgment sent {"connection_id":124407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:19:23] local.INFO: TCP Data received {"connection_id":124495,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:19:23] local.INFO: Processing buffer {"connection_id":124495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:19:23] local.INFO: IMEI packet received {"connection_id":124495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":124495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:19:25] local.INFO: TCP Data received {"connection_id":124495,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:19:25] local.INFO: Processing buffer {"connection_id":124495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:19:25] local.INFO: IMEI packet received {"connection_id":124495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":124495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:19:26] local.INFO: TCP Data received {"connection_id":124495,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:19:26] local.INFO: Processing buffer {"connection_id":124495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:19:26] local.INFO: IMEI packet received {"connection_id":124495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":124495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:19:31] local.INFO: TCP Data received {"connection_id":124495,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:19:31] local.INFO: Processing buffer {"connection_id":124495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:19:31] local.INFO: IMEI packet received {"connection_id":124495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":124495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:19:33] local.INFO: TCP Data received {"connection_id":124495,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8c7a90012d19700007203d38002700651f..."} 
[2026-07-07 13:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8c7a90012d19700007203d38002700651f..."} 
[2026-07-07 13:19:33] local.INFO: Processing buffer {"connection_id":124495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8c7a90012d19700007203d38002700651f..."} 
[2026-07-07 13:19:33] local.INFO: Packet analysis {"connection_id":124495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8c"} 
[2026-07-07 13:19:33] local.INFO: Extracted packet for processing {"connection_id":124495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8c"} 
[2026-07-07 13:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":31,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553079552001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783410490000,"timestamp_ms":1783410490000,"timestamp_seconds":1783410490,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8c7a90"} 
[2026-07-07 13:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-07 13:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553079552001,"66":12232,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553079552001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:19:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:19:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553079552001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":124495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:19:33] local.INFO: GPS data processed {"connection_id":124495,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:19:33] local.INFO: Acknowledgment sent {"connection_id":124495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:19:35] local.INFO: TCP Data received {"connection_id":124495,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8cd080012d19700007203d380027006522..."} 
[2026-07-07 13:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8cd080012d19700007203d380027006522..."} 
[2026-07-07 13:19:35] local.INFO: Processing buffer {"connection_id":124495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8cd080012d19700007203d380027006522..."} 
[2026-07-07 13:19:35] local.INFO: Packet analysis {"connection_id":124495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8c"} 
[2026-07-07 13:19:35] local.INFO: Extracted packet for processing {"connection_id":124495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8c"} 
[2026-07-07 13:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553336,"longitude_deg":75.6641792,"latitude_deg":11.9553336,"altitude":39,"angle":101,"satellites":34,"speed":0,"hex_longitude":"2d197000","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-07-07 13:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553085440001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901253469437952,"note":"Value kept but may cause issues"} 
[2026-07-07 13:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945445888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783410512000,"timestamp_ms":1783410512000,"timestamp_seconds":1783410512,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8cd080"} 
[2026-07-07 13:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-07 13:19: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-07-07 13:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553085440001,"66":12211,"121":206,"28":31744,"24":0,"16":4901253469437952,"45":1832965078945445888},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553085440001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:19:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:19:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901253469437952,"km_value":4901253469437.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945445888,"description":"Unknown IO ID 45"} 
[2026-07-07 13:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553085440001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832965078945445888}} 
[2026-07-07 13:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":124495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:19:36] local.INFO: GPS data processed {"connection_id":124495,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:19:36] local.INFO: Acknowledgment sent {"connection_id":124495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:19:36] local.INFO: TCP Data received {"connection_id":124408,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8bf9a8012d86e580058e36900005009329..."} 
[2026-07-07 13:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8bf9a8012d86e580058e36900005009329..."} 
[2026-07-07 13:19:36] local.INFO: Processing buffer {"connection_id":124408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8bf9a8012d86e580058e36900005009329..."} 
[2026-07-07 13:19:36] local.INFO: Packet analysis {"connection_id":124408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8b"} 
[2026-07-07 13:19:36] local.INFO: Extracted packet for processing {"connection_id":124408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8b"} 
[2026-07-07 13:19:36] local.INFO: GPS Element Parsed {"raw_longitude":763815296,"raw_latitude":93206160,"longitude_deg":76.3815296,"latitude_deg":9.320616,"altitude":5,"angle":147,"satellites":41,"speed":25,"hex_longitude":"2d86e580","hex_latitude":"058e3690","is_valid_coordinates":true} 
[2026-07-07 13:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553076736001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341254504789835776,"note":"Value kept but may cause issues"} 
[2026-07-07 13:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8726850154076268544,"note":"Value kept but may cause issues"} 
[2026-07-07 13:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783410457000,"timestamp_ms":1783410457000,"timestamp_seconds":1783410457,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8bf9a8"} 
[2026-07-07 13:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 13:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553076736001,"66":27821,"87":206,"85":14592,"24":25,"16":341254504789835776,"45":-8726850154076268544},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,45]} 
[2026-07-07 13:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553076736001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:19:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-07 13:19:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341254504789835776,"km_value":341254504789835.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8726850154076268544,"description":"Unknown IO ID 45"} 
[2026-07-07 13:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553076736001,"power":27821,"unknown_87":206,"unknown_85":14592,"ignition":25,"odometer":null,"unknown_45":-8726850154076268544}} 
[2026-07-07 13:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":124408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:19:36] local.INFO: GPS data processed {"connection_id":124408,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:19:36] local.INFO: Acknowledgment sent {"connection_id":124408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:20:04] local.INFO: TCP Data received {"connection_id":124409,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:20:04] local.INFO: Processing buffer {"connection_id":124409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:20:04] local.INFO: IMEI packet received {"connection_id":124409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":124409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:20:09] local.INFO: TCP Data received {"connection_id":124409,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:20:09] local.INFO: Processing buffer {"connection_id":124409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:20:09] local.INFO: IMEI packet received {"connection_id":124409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":124409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:20:12] local.INFO: TCP Data received {"connection_id":124409,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8dbec8012d87fa80058d7638000a00772a..."} 
[2026-07-07 13:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8dbec8012d87fa80058d7638000a00772a..."} 
[2026-07-07 13:20:12] local.INFO: Processing buffer {"connection_id":124409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8dbec8012d87fa80058d7638000a00772a..."} 
[2026-07-07 13:20:12] local.INFO: Packet analysis {"connection_id":124409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8d"} 
[2026-07-07 13:20:12] local.INFO: Extracted packet for processing {"connection_id":124409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8d"} 
[2026-07-07 13:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763886208,"raw_latitude":93156920,"longitude_deg":76.3886208,"latitude_deg":9.315692,"altitude":10,"angle":119,"satellites":42,"speed":24,"hex_longitude":"2d87fa80","hex_latitude":"058d7638","is_valid_coordinates":true} 
[2026-07-07 13: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-07-07 13:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553102336001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341258675203080192,"note":"Value kept but may cause issues"} 
[2026-07-07 13:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8656481409910007808,"note":"Value kept but may cause issues"} 
[2026-07-07 13:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783410573000,"timestamp_ms":1783410573000,"timestamp_seconds":1783410573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8dbec8"} 
[2026-07-07 13:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:20: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-07-07 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 13:20: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-07-07 13: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-07-07 13:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553102336001,"66":27800,"135":206,"85":14592,"24":24,"16":341258675203080192,"45":-8656481409910007808},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-07 13:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553102336001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:20:12] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-07 13:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341258675203080192,"km_value":341258675203080.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8656481409910007808,"description":"Unknown IO ID 45"} 
[2026-07-07 13:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553102336001,"power":27800,"unknown_135":206,"unknown_85":14592,"ignition":24,"odometer":null,"unknown_45":-8656481409910007808}} 
[2026-07-07 13:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":124409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:20:12] local.INFO: GPS data processed {"connection_id":124409,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:20:12] local.INFO: Acknowledgment sent {"connection_id":124409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:20:17] local.INFO: TCP Data received {"connection_id":126451,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:20:17] local.INFO: Processing buffer {"connection_id":126451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:20:17] local.INFO: IMEI packet received {"connection_id":126451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":126451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:20:21] local.INFO: TCP Data received {"connection_id":126451,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:20:21] local.INFO: Processing buffer {"connection_id":126451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:20:21] local.INFO: IMEI packet received {"connection_id":126451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":126451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:20:26] local.INFO: TCP Data received {"connection_id":126451,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:20:26] local.INFO: Processing buffer {"connection_id":126451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:20:26] local.INFO: IMEI packet received {"connection_id":126451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":126451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:20:28] local.INFO: TCP Data received {"connection_id":126451,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8de9c0012d195d8007202b68003400a621..."} 
[2026-07-07 13:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8de9c0012d195d8007202b68003400a621..."} 
[2026-07-07 13:20:28] local.INFO: Processing buffer {"connection_id":126451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8de9c0012d195d8007202b68003400a621..."} 
[2026-07-07 13:20:28] local.INFO: Packet analysis {"connection_id":126451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8d"} 
[2026-07-07 13:20:28] local.INFO: Extracted packet for processing {"connection_id":126451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8d"} 
[2026-07-07 13:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756637056,"raw_latitude":119548776,"longitude_deg":75.6637056,"latitude_deg":11.9548776,"altitude":52,"angle":166,"satellites":33,"speed":15,"hex_longitude":"2d195d80","hex_latitude":"07202b68","is_valid_coordinates":true} 
[2026-07-07 13:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553108992001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901640016494592,"note":"Value kept but may cause issues"} 
[2026-07-07 13:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827687423131125760,"note":"Value kept but may cause issues"} 
[2026-07-07 13:20: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-07-07 13:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783410584000,"timestamp_ms":1783410584000,"timestamp_seconds":1783410584,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8de9c0"} 
[2026-07-07 13:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 13:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553108992001,"66":13526,"121":206,"28":31744,"24":15,"16":4901640016494592,"45":1827687423131125760},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553108992001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:20:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:20:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901640016494592,"km_value":4901640016494.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827687423131125760,"description":"Unknown IO ID 45"} 
[2026-07-07 13:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553108992001,"power":13526,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1827687423131125760}} 
[2026-07-07 13:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":126451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:20:28] local.INFO: GPS data processed {"connection_id":126451,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:20:28] local.INFO: Acknowledgment sent {"connection_id":126451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:20:59] local.INFO: TCP Data received {"connection_id":125215,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:20:59] local.INFO: Processing buffer {"connection_id":125215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:20:59] local.INFO: IMEI packet received {"connection_id":125215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":125215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:21:00] local.INFO: TCP Data received {"connection_id":126451,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8e8dd0012d195300071ff3d80036007124..."} 
[2026-07-07 13:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8e8dd0012d195300071ff3d80036007124..."} 
[2026-07-07 13:21:00] local.INFO: Processing buffer {"connection_id":126451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8e8dd0012d195300071ff3d80036007124..."} 
[2026-07-07 13:21:00] local.INFO: Packet analysis {"connection_id":126451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:21:00] local.INFO: Extracted packet for processing {"connection_id":126451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:21:00] local.INFO: GPS Element Parsed {"raw_longitude":756634368,"raw_latitude":119534552,"longitude_deg":75.6634368,"latitude_deg":11.9534552,"altitude":54,"angle":113,"satellites":36,"speed":13,"hex_longitude":"2d195300","hex_latitude":"071ff3d8","is_valid_coordinates":true} 
[2026-07-07 13:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553120000001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902438880411648,"note":"Value kept but may cause issues"} 
[2026-07-07 13:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824450460895170560,"note":"Value kept but may cause issues"} 
[2026-07-07 13:21: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-07-07 13:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783410626000,"timestamp_ms":1783410626000,"timestamp_seconds":1783410626,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8e8dd0"} 
[2026-07-07 13:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 13:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553120000001,"66":13363,"121":206,"28":31744,"24":13,"16":4902438880411648,"45":1824450460895170560},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553120000001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:21:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:21:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902438880411648,"km_value":4902438880411.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824450460895170560,"description":"Unknown IO ID 45"} 
[2026-07-07 13:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553120000001,"power":13363,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1824450460895170560}} 
[2026-07-07 13:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":126451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:21:00] local.INFO: GPS data processed {"connection_id":126451,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:21:00] local.INFO: Acknowledgment sent {"connection_id":126451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:21:04] local.INFO: TCP Data received {"connection_id":125215,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:21:04] local.INFO: Processing buffer {"connection_id":125215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:21:04] local.INFO: IMEI packet received {"connection_id":125215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":125215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:21:05] local.INFO: TCP Data received {"connection_id":125215,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8dda20012d880b00058d6e70000d006b2c..."} 
[2026-07-07 13:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8dda20012d880b00058d6e70000d006b2c..."} 
[2026-07-07 13:21:05] local.INFO: Processing buffer {"connection_id":125215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8dda20012d880b00058d6e70000d006b2c..."} 
[2026-07-07 13:21:05] local.INFO: Packet analysis {"connection_id":125215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8d"} 
[2026-07-07 13:21:05] local.INFO: Extracted packet for processing {"connection_id":125215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8d"} 
[2026-07-07 13:21:05] local.INFO: GPS Element Parsed {"raw_longitude":763890432,"raw_latitude":93154928,"longitude_deg":76.3890432,"latitude_deg":9.3154928,"altitude":13,"angle":107,"satellites":44,"speed":27,"hex_longitude":"2d880b00","hex_latitude":"058d6e70","is_valid_coordinates":true} 
[2026-07-07 13:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553106688001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341258902836346880,"note":"Value kept but may cause issues"} 
[2026-07-07 13:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8648459373075089408,"note":"Value kept but may cause issues"} 
[2026-07-07 13:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783410580000,"timestamp_ms":1783410580000,"timestamp_seconds":1783410580,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8dda20"} 
[2026-07-07 13:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 13:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553106688001,"66":27865,"135":206,"85":14592,"24":27,"16":341258902836346880,"45":-8648459373075089408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-07 13:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553106688001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:21:05] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-07 13:21:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341258902836346880,"km_value":341258902836346.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8648459373075089408,"description":"Unknown IO ID 45"} 
[2026-07-07 13:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553106688001,"power":27865,"unknown_135":206,"unknown_85":14592,"ignition":27,"odometer":null,"unknown_45":-8648459373075089408}} 
[2026-07-07 13:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":125215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:21:05] local.INFO: GPS data processed {"connection_id":125215,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:21:05] local.INFO: Acknowledgment sent {"connection_id":125215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:21:22] local.INFO: TCP Data received {"connection_id":125216,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:21:22] local.INFO: Processing buffer {"connection_id":125216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:21:22] local.INFO: IMEI packet received {"connection_id":125216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":125216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:21:26] local.INFO: TCP Data received {"connection_id":125216,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:21:26] local.INFO: Processing buffer {"connection_id":125216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:21:26] local.INFO: IMEI packet received {"connection_id":125216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":125216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:21:29] local.INFO: TCP Data received {"connection_id":126452,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:21:29] local.INFO: Processing buffer {"connection_id":126452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:21:29] local.INFO: IMEI packet received {"connection_id":126452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":126452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:21:32] local.INFO: TCP Data received {"connection_id":125216,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8ecc50012d196100071fee880034006425..."} 
[2026-07-07 13:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8ecc50012d196100071fee880034006425..."} 
[2026-07-07 13:21:32] local.INFO: Processing buffer {"connection_id":125216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8ecc50012d196100071fee880034006425..."} 
[2026-07-07 13:21:32] local.INFO: Packet analysis {"connection_id":125216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:21:32] local.INFO: Extracted packet for processing {"connection_id":125216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:21:32] local.INFO: GPS Element Parsed {"raw_longitude":756637952,"raw_latitude":119533192,"longitude_deg":75.6637952,"latitude_deg":11.9533192,"altitude":52,"angle":100,"satellites":37,"speed":11,"hex_longitude":"2d196100","hex_latitude":"071fee88","is_valid_coordinates":true} 
[2026-07-07 13:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553120256001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902619269038080,"note":"Value kept but may cause issues"} 
[2026-07-07 13:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824802304616028160,"note":"Value kept but may cause issues"} 
[2026-07-07 13:21: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-07-07 13:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783410642000,"timestamp_ms":1783410642000,"timestamp_seconds":1783410642,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8ecc50"} 
[2026-07-07 13:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 13:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553120256001,"66":13287,"121":206,"28":31744,"24":11,"16":4902619269038080,"45":1824802304616028160},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553120256001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:21:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:21:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902619269038080,"km_value":4902619269038.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824802304616028160,"description":"Unknown IO ID 45"} 
[2026-07-07 13:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553120256001,"power":13287,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1824802304616028160}} 
[2026-07-07 13:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":125216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:21:32] local.INFO: GPS data processed {"connection_id":125216,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:21:32] local.INFO: Acknowledgment sent {"connection_id":125216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:21:35] local.INFO: TCP Data received {"connection_id":125216,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8edbf0012d196500071fed600032007125..."} 
[2026-07-07 13:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8edbf0012d196500071fed600032007125..."} 
[2026-07-07 13:21:35] local.INFO: Processing buffer {"connection_id":125216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8edbf0012d196500071fed600032007125..."} 
[2026-07-07 13:21:35] local.INFO: Packet analysis {"connection_id":125216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:21:35] local.INFO: Extracted packet for processing {"connection_id":125216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:21:35] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119532896,"longitude_deg":75.6638976,"latitude_deg":11.9532896,"altitude":50,"angle":113,"satellites":37,"speed":9,"hex_longitude":"2d196500","hex_latitude":"071fed60","is_valid_coordinates":true} 
[2026-07-07 13:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553124352001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902670808645632,"note":"Value kept but may cause issues"} 
[2026-07-07 13:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828742954289629184,"note":"Value kept but may cause issues"} 
[2026-07-07 13:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783410646000,"timestamp_ms":1783410646000,"timestamp_seconds":1783410646,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8edbf0"} 
[2026-07-07 13:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:21: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-07-07 13:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-07-07 13:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553124352001,"66":13276,"121":206,"28":31744,"24":9,"16":4902670808645632,"45":1828742954289629184},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553124352001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:21:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:21:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902670808645632,"km_value":4902670808645.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828742954289629184,"description":"Unknown IO ID 45"} 
[2026-07-07 13:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553124352001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1828742954289629184}} 
[2026-07-07 13:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":125216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:21:35] local.INFO: GPS data processed {"connection_id":125216,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:21:35] local.INFO: Acknowledgment sent {"connection_id":125216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:21:36] local.INFO: TCP Data received {"connection_id":125215,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8deda8012d881980058d6b40000e00602b..."} 
[2026-07-07 13:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8deda8012d881980058d6b40000e00602b..."} 
[2026-07-07 13:21:36] local.INFO: Processing buffer {"connection_id":125215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8deda8012d881980058d6b40000e00602b..."} 
[2026-07-07 13:21:36] local.INFO: Packet analysis {"connection_id":125215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8d"} 
[2026-07-07 13:21:36] local.INFO: Extracted packet for processing {"connection_id":125215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8d"} 
[2026-07-07 13:21:36] local.INFO: GPS Element Parsed {"raw_longitude":763894144,"raw_latitude":93154112,"longitude_deg":76.3894144,"latitude_deg":9.3154112,"altitude":14,"angle":96,"satellites":43,"speed":30,"hex_longitude":"2d881980","hex_latitude":"058d6b40","is_valid_coordinates":true} 
[2026-07-07 13:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553108480001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341259083224973312,"note":"Value kept but may cause issues"} 
[2026-07-07 13:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8643815035959873536,"note":"Value kept but may cause issues"} 
[2026-07-07 13:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783410585000,"timestamp_ms":1783410585000,"timestamp_seconds":1783410585,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8deda8"} 
[2026-07-07 13:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:21: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-07-07 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 13:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553108480001,"66":27908,"135":206,"85":14592,"24":30,"16":341259083224973312,"45":-8643815035959873536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-07 13:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553108480001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:21:36] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-07 13:21:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341259083224973312,"km_value":341259083224973.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8643815035959873536,"description":"Unknown IO ID 45"} 
[2026-07-07 13:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553108480001,"power":27908,"unknown_135":206,"unknown_85":14592,"ignition":30,"odometer":null,"unknown_45":-8643815035959873536}} 
[2026-07-07 13:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":125215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:21:36] local.INFO: GPS data processed {"connection_id":125215,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:21:36] local.INFO: Acknowledgment sent {"connection_id":125215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:22:04] local.INFO: TCP Data received {"connection_id":124496,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:22:04] local.INFO: Processing buffer {"connection_id":124496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:22:04] local.INFO: IMEI packet received {"connection_id":124496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":124496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:22:04] local.INFO: TCP Data received {"connection_id":125217,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:22:04] local.INFO: Processing buffer {"connection_id":125217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:22:04] local.INFO: IMEI packet received {"connection_id":125217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":125217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:22:07] local.INFO: TCP Data received {"connection_id":125216,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:22:07] local.INFO: Processing buffer {"connection_id":125216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:22:07] local.INFO: Packet analysis {"connection_id":125216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8f"} 
[2026-07-07 13:22:07] local.INFO: Extracted packet for processing {"connection_id":125216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8f"} 
[2026-07-07 13:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532640,"longitude_deg":75.663968,"latitude_deg":11.953264,"altitude":50,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-07-07 13:22: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-07-07 13:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553125376001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196396032,"note":"Value kept but may cause issues"} 
[2026-07-07 13:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783410657000,"timestamp_ms":1783410657000,"timestamp_seconds":1783410657,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8f06e8"} 
[2026-07-07 13:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:22: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-07-07 13:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 13:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553125376001,"66":13167,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1829868854196396032},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553125376001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:22:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:22:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196396032,"description":"Unknown IO ID 45"} 
[2026-07-07 13:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553125376001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196396032}} 
[2026-07-07 13:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":125216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:22:07] local.INFO: GPS data processed {"connection_id":125216,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:22:07] local.INFO: Acknowledgment sent {"connection_id":125216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:22:09] local.INFO: TCP Data received {"connection_id":125217,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:22:09] local.INFO: Processing buffer {"connection_id":125217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:22:09] local.INFO: IMEI packet received {"connection_id":125217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":125217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:22:10] local.INFO: TCP Data received {"connection_id":125217,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8e14b8012d883c80058d6a30000e00582c..."} 
[2026-07-07 13:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8e14b8012d883c80058d6a30000e00582c..."} 
[2026-07-07 13:22:10] local.INFO: Processing buffer {"connection_id":125217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8e14b8012d883c80058d6a30000e00582c..."} 
[2026-07-07 13:22:10] local.INFO: Packet analysis {"connection_id":125217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:22:10] local.INFO: Extracted packet for processing {"connection_id":125217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763903104,"raw_latitude":93153840,"longitude_deg":76.3903104,"latitude_deg":9.315384,"altitude":14,"angle":88,"satellites":44,"speed":38,"hex_longitude":"2d883c80","hex_latitude":"058d6a30","is_valid_coordinates":true} 
[2026-07-07 13:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553109760001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341259512721702912,"note":"Value kept but may cause issues"} 
[2026-07-07 13:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8639733648797777920,"note":"Value kept but may cause issues"} 
[2026-07-07 13:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783410595000,"timestamp_ms":1783410595000,"timestamp_seconds":1783410595,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8e14b8"} 
[2026-07-07 13:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 13:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553109760001,"66":26908,"135":206,"85":14592,"24":38,"16":341259512721702912,"45":-8639733648797777920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-07 13:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553109760001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:22:10] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-07 13:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341259512721702912,"km_value":341259512721702.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8639733648797777920,"description":"Unknown IO ID 45"} 
[2026-07-07 13:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553109760001,"power":26908,"unknown_135":206,"unknown_85":14592,"ignition":38,"odometer":null,"unknown_45":-8639733648797777920}} 
[2026-07-07 13:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":125217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:22:10] local.INFO: GPS data processed {"connection_id":125217,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:22:10] local.INFO: Acknowledgment sent {"connection_id":125217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:22:14] local.INFO: TCP Data received {"connection_id":125217,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8e37e0012d886140058d6bd0000c00562b..."} 
[2026-07-07 13:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8e37e0012d886140058d6bd0000c00562b..."} 
[2026-07-07 13:22:14] local.INFO: Processing buffer {"connection_id":125217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8e37e0012d886140058d6bd0000c00562b..."} 
[2026-07-07 13:22:14] local.INFO: Packet analysis {"connection_id":125217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:22:14] local.INFO: Extracted packet for processing {"connection_id":125217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:22:14] local.INFO: GPS Element Parsed {"raw_longitude":763912512,"raw_latitude":93154256,"longitude_deg":76.3912512,"latitude_deg":9.3154256,"altitude":12,"angle":86,"satellites":43,"speed":42,"hex_longitude":"2d886140","hex_latitude":"058d6bd0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 13:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553112320001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341259963693268992,"note":"Value kept but may cause issues"} 
[2026-07-07 13:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8629882024612974592,"note":"Value kept but may cause issues"} 
[2026-07-07 13:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783410604000,"timestamp_ms":1783410604000,"timestamp_seconds":1783410604,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8e37e0"} 
[2026-07-07 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-07-07 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-07-07 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":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-07 13:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 13:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553112320001,"66":27745,"135":206,"85":14592,"24":42,"16":341259963693268992,"45":-8629882024612974592},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-07 13:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553112320001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:22:14] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-07 13:22:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-07 13:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341259963693268992,"km_value":341259963693269.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8629882024612974592,"description":"Unknown IO ID 45"} 
[2026-07-07 13:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553112320001,"power":27745,"unknown_135":206,"unknown_85":14592,"ignition":42,"odometer":null,"unknown_45":-8629882024612974592}} 
[2026-07-07 13:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":125217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:22:14] local.INFO: GPS data processed {"connection_id":125217,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:22:14] local.INFO: Acknowledgment sent {"connection_id":125217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:22:22] local.INFO: TCP Data received {"connection_id":124410,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:22:22] local.INFO: Processing buffer {"connection_id":124410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:22:22] local.INFO: IMEI packet received {"connection_id":124410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":124410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:22:27] local.INFO: TCP Data received {"connection_id":124410,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:22:27] local.INFO: Processing buffer {"connection_id":124410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:22:27] local.INFO: IMEI packet received {"connection_id":124410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":124410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:22:30] local.INFO: TCP Data received {"connection_id":124410,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:22:30] local.INFO: Processing buffer {"connection_id":124410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:22:30] local.INFO: Packet analysis {"connection_id":124410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8f"} 
[2026-07-07 13:22:30] local.INFO: Extracted packet for processing {"connection_id":124410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8f"} 
[2026-07-07 13:22:30] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532640,"longitude_deg":75.663968,"latitude_deg":11.953264,"altitude":50,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-07-07 13:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553128192001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382284800,"note":"Value kept but may cause issues"} 
[2026-07-07 13:22: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-07-07 13:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783410657000,"timestamp_ms":1783410657000,"timestamp_seconds":1783410657,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8f06e8"} 
[2026-07-07 13:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 13:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553128192001,"66":13167,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1830642910382284800},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553128192001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:22:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:22:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382284800,"description":"Unknown IO ID 45"} 
[2026-07-07 13:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553128192001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382284800}} 
[2026-07-07 13:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":124410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:22:30] local.INFO: GPS data processed {"connection_id":124410,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:22:30] local.INFO: Acknowledgment sent {"connection_id":124410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:22:34] local.INFO: TCP Data received {"connection_id":124410,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:22:34] local.INFO: Processing buffer {"connection_id":124410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:22:34] local.INFO: Packet analysis {"connection_id":124410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8f"} 
[2026-07-07 13:22:34] local.INFO: Extracted packet for processing {"connection_id":124410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8f"} 
[2026-07-07 13:22:34] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532640,"longitude_deg":75.663968,"latitude_deg":11.953264,"altitude":50,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-07-07 13:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553128192001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382284800,"note":"Value kept but may cause issues"} 
[2026-07-07 13:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783410657000,"timestamp_ms":1783410657000,"timestamp_seconds":1783410657,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8f06e8"} 
[2026-07-07 13:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 13:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553128192001,"66":13167,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1830642910382284800},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553128192001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:22:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:22:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382284800,"description":"Unknown IO ID 45"} 
[2026-07-07 13:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553128192001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382284800}} 
[2026-07-07 13:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":124410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:22:34] local.INFO: GPS data processed {"connection_id":124410,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:22:34] local.INFO: Acknowledgment sent {"connection_id":124410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:22:59] local.INFO: TCP Data received {"connection_id":124497,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:22:59] local.INFO: Processing buffer {"connection_id":124497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:22:59] local.INFO: IMEI packet received {"connection_id":124497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":124497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:23:04] local.INFO: TCP Data received {"connection_id":124497,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:23:04] local.INFO: Processing buffer {"connection_id":124497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:23:04] local.INFO: IMEI packet received {"connection_id":124497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":124497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:23:05] local.INFO: TCP Data received {"connection_id":124497,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8e5720012d8886c0058d6d80000a00572c..."} 
[2026-07-07 13:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8e5720012d8886c0058d6d80000a00572c..."} 
[2026-07-07 13:23:05] local.INFO: Processing buffer {"connection_id":124497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8e5720012d8886c0058d6d80000a00572c..."} 
[2026-07-07 13:23:05] local.INFO: Packet analysis {"connection_id":124497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:23:05] local.INFO: Extracted packet for processing {"connection_id":124497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:23:05] local.INFO: GPS Element Parsed {"raw_longitude":763922112,"raw_latitude":93154688,"longitude_deg":76.3922112,"latitude_deg":9.3154688,"altitude":10,"angle":87,"satellites":44,"speed":49,"hex_longitude":"2d8886c0","hex_latitude":"058d6d80","is_valid_coordinates":true} 
[2026-07-07 13:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553114624001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260423254769664,"note":"Value kept but may cause issues"} 
[2026-07-07 13:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8619537819218751488,"note":"Value kept but may cause issues"} 
[2026-07-07 13:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783410612000,"timestamp_ms":1783410612000,"timestamp_seconds":1783410612,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8e5720"} 
[2026-07-07 13:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 13:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553114624001,"66":27908,"15":206,"85":14080,"24":49,"16":341260423254769664,"45":-8619537819218751488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553114624001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:23:05] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:23:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260423254769664,"km_value":341260423254769.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8619537819218751488,"description":"Unknown IO ID 45"} 
[2026-07-07 13:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553114624001,"power":27908,"unknown_15":206,"unknown_85":14080,"ignition":49,"odometer":null,"unknown_45":-8619537819218751488}} 
[2026-07-07 13:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":124497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:23:05] local.INFO: GPS data processed {"connection_id":124497,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:23:05] local.INFO: Acknowledgment sent {"connection_id":124497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:23:21] local.INFO: TCP Data received {"connection_id":126453,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:23:21] local.INFO: Processing buffer {"connection_id":126453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:23:21] local.INFO: IMEI packet received {"connection_id":126453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":126453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:23:27] local.INFO: TCP Data received {"connection_id":126453,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:23:27] local.INFO: Processing buffer {"connection_id":126453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:23:27] local.INFO: IMEI packet received {"connection_id":126453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":126453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:23:28] local.INFO: TCP Data received {"connection_id":126453,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:23:28] local.INFO: Processing buffer {"connection_id":126453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:23:28] local.INFO: Packet analysis {"connection_id":126453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8f"} 
[2026-07-07 13:23:28] local.INFO: Extracted packet for processing {"connection_id":126453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8f"} 
[2026-07-07 13:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532640,"longitude_deg":75.663968,"latitude_deg":11.953264,"altitude":50,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-07-07 13:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553128192001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382284800,"note":"Value kept but may cause issues"} 
[2026-07-07 13:23: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-07-07 13:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783410657000,"timestamp_ms":1783410657000,"timestamp_seconds":1783410657,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8f06e8"} 
[2026-07-07 13:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 13:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553128192001,"66":13167,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1830642910382284800},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553128192001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:23:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:23:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382284800,"description":"Unknown IO ID 45"} 
[2026-07-07 13:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553128192001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382284800}} 
[2026-07-07 13:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":126453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:23:28] local.INFO: GPS data processed {"connection_id":126453,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:23:28] local.INFO: Acknowledgment sent {"connection_id":126453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:23:39] local.INFO: TCP Data received {"connection_id":124497,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8e7e30012d88abc0058d7078000600522c..."} 
[2026-07-07 13:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8e7e30012d88abc0058d7078000600522c..."} 
[2026-07-07 13:23:39] local.INFO: Processing buffer {"connection_id":124497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8e7e30012d88abc0058d7078000600522c..."} 
[2026-07-07 13:23:39] local.INFO: Packet analysis {"connection_id":124497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:23:39] local.INFO: Extracted packet for processing {"connection_id":124497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:23:39] local.INFO: GPS Element Parsed {"raw_longitude":763931584,"raw_latitude":93155448,"longitude_deg":76.3931584,"latitude_deg":9.3155448,"altitude":6,"angle":82,"satellites":44,"speed":24,"hex_longitude":"2d88abc0","hex_latitude":"058d7078","is_valid_coordinates":true} 
[2026-07-07 13:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553116672001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260878521303040,"note":"Value kept but may cause issues"} 
[2026-07-07 13:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8608982507591991296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783410622000,"timestamp_ms":1783410622000,"timestamp_seconds":1783410622,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8e7e30"} 
[2026-07-07 13:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 13:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553116672001,"66":28050,"15":206,"85":14080,"24":24,"16":341260878521303040,"45":-8608982507591991296},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553116672001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:23:39] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:23:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260878521303040,"km_value":341260878521303.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8608982507591991296,"description":"Unknown IO ID 45"} 
[2026-07-07 13:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553116672001,"power":28050,"unknown_15":206,"unknown_85":14080,"ignition":24,"odometer":null,"unknown_45":-8608982507591991296}} 
[2026-07-07 13:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":124497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:23:39] local.INFO: GPS data processed {"connection_id":124497,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:23:39] local.INFO: Acknowledgment sent {"connection_id":124497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:23:59] local.INFO: TCP Data received {"connection_id":125218,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:23:59] local.INFO: Processing buffer {"connection_id":125218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:23:59] local.INFO: IMEI packet received {"connection_id":125218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":125218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:24:00] local.INFO: TCP Data received {"connection_id":126453,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:24:00] local.INFO: Processing buffer {"connection_id":126453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:24:00] local.INFO: Packet analysis {"connection_id":126453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8f"} 
[2026-07-07 13:24:00] local.INFO: Extracted packet for processing {"connection_id":126453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8f"} 
[2026-07-07 13:24:00] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532640,"longitude_deg":75.663968,"latitude_deg":11.953264,"altitude":50,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-07-07 13:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553128192001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382284800,"note":"Value kept but may cause issues"} 
[2026-07-07 13:24: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-07-07 13:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783410657000,"timestamp_ms":1783410657000,"timestamp_seconds":1783410657,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8f06e8"} 
[2026-07-07 13:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 13:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553128192001,"66":13167,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1830642910382284800},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553128192001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:24:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:24:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382284800,"description":"Unknown IO ID 45"} 
[2026-07-07 13:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553128192001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382284800}} 
[2026-07-07 13:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":126453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:24:00] local.INFO: GPS data processed {"connection_id":126453,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:24:00] local.INFO: Acknowledgment sent {"connection_id":126453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:24:04] local.INFO: TCP Data received {"connection_id":125218,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:24:04] local.INFO: Processing buffer {"connection_id":125218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:24:04] local.INFO: IMEI packet received {"connection_id":125218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":125218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:24:05] local.INFO: TCP Data received {"connection_id":125218,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8e8600012d88b040058d71200006004f2c..."} 
[2026-07-07 13:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8e8600012d88b040058d71200006004f2c..."} 
[2026-07-07 13:24:05] local.INFO: Processing buffer {"connection_id":125218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8e8600012d88b040058d71200006004f2c..."} 
[2026-07-07 13:24:05] local.INFO: Packet analysis {"connection_id":125218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:24:05] local.INFO: Extracted packet for processing {"connection_id":125218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:24:05] local.INFO: GPS Element Parsed {"raw_longitude":763932736,"raw_latitude":93155616,"longitude_deg":76.3932736,"latitude_deg":9.3155616,"altitude":6,"angle":79,"satellites":44,"speed":19,"hex_longitude":"2d88b040","hex_latitude":"058d7120","is_valid_coordinates":true} 
[2026-07-07 13:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553119232001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8598567933453502464,"note":"Value kept but may cause issues"} 
[2026-07-07 13:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783410624000,"timestamp_ms":1783410624000,"timestamp_seconds":1783410624,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8e8600"} 
[2026-07-07 13:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 13:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553119232001,"66":28050,"15":206,"85":14080,"24":19,"16":341260934355877888,"45":-8598567933453502464},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553119232001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:24:05] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:24:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8598567933453502464,"description":"Unknown IO ID 45"} 
[2026-07-07 13:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553119232001,"power":28050,"unknown_15":206,"unknown_85":14080,"ignition":19,"odometer":null,"unknown_45":-8598567933453502464}} 
[2026-07-07 13:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":125218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:24:05] local.INFO: GPS data processed {"connection_id":125218,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:24:05] local.INFO: Acknowledgment sent {"connection_id":125218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:24:27] local.INFO: TCP Data received {"connection_id":125219,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:24:27] local.INFO: Processing buffer {"connection_id":125219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:24:27] local.INFO: IMEI packet received {"connection_id":125219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":125219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:24:32] local.INFO: TCP Data received {"connection_id":125219,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:24:32] local.INFO: Processing buffer {"connection_id":125219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:24:32] local.INFO: IMEI packet received {"connection_id":125219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":125219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:24:34] local.INFO: TCP Data received {"connection_id":125219,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:24:34] local.INFO: Processing buffer {"connection_id":125219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:24:34] local.INFO: Packet analysis {"connection_id":125219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8f"} 
[2026-07-07 13:24:34] local.INFO: Extracted packet for processing {"connection_id":125219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8f"} 
[2026-07-07 13:24:34] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532640,"longitude_deg":75.663968,"latitude_deg":11.953264,"altitude":50,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-07-07 13:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553128192001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382284800,"note":"Value kept but may cause issues"} 
[2026-07-07 13:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783410657000,"timestamp_ms":1783410657000,"timestamp_seconds":1783410657,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8f06e8"} 
[2026-07-07 13:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 13:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553128192001,"66":13167,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1830642910382284800},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553128192001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:24:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:24:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382284800,"description":"Unknown IO ID 45"} 
[2026-07-07 13:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553128192001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382284800}} 
[2026-07-07 13:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":125219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:24:34] local.INFO: GPS data processed {"connection_id":125219,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:24:34] local.INFO: Acknowledgment sent {"connection_id":125219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:24:37] local.INFO: TCP Data received {"connection_id":125218,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8e8dd0012d88b380058d7238000500412c..."} 
[2026-07-07 13:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8e8dd0012d88b380058d7238000500412c..."} 
[2026-07-07 13:24:37] local.INFO: Processing buffer {"connection_id":125218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8e8dd0012d88b380058d7238000500412c..."} 
[2026-07-07 13:24:37] local.INFO: Packet analysis {"connection_id":125218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:24:37] local.INFO: Extracted packet for processing {"connection_id":125218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763933568,"raw_latitude":93155896,"longitude_deg":76.3933568,"latitude_deg":9.3155896,"altitude":5,"angle":65,"satellites":44,"speed":15,"hex_longitude":"2d88b380","hex_latitude":"058d7238","is_valid_coordinates":true} 
[2026-07-07 13:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553119744001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8597301296058261504,"note":"Value kept but may cause issues"} 
[2026-07-07 13:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783410626000,"timestamp_ms":1783410626000,"timestamp_seconds":1783410626,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8e8dd0"} 
[2026-07-07 13:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 13:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553119744001,"66":27658,"15":206,"85":14080,"24":15,"16":341260934355877888,"45":-8597301296058261504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553119744001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:24:37] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:24:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8597301296058261504,"description":"Unknown IO ID 45"} 
[2026-07-07 13:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553119744001,"power":27658,"unknown_15":206,"unknown_85":14080,"ignition":15,"odometer":null,"unknown_45":-8597301296058261504}} 
[2026-07-07 13:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":125218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:24:37] local.INFO: GPS data processed {"connection_id":125218,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:24:37] local.INFO: Acknowledgment sent {"connection_id":125218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:24:59] local.INFO: TCP Data received {"connection_id":124498,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:24:59] local.INFO: Processing buffer {"connection_id":124498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:24:59] local.INFO: IMEI packet received {"connection_id":124498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":124498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:25:04] local.INFO: TCP Data received {"connection_id":124498,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:25:04] local.INFO: Processing buffer {"connection_id":124498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:25:04] local.INFO: IMEI packet received {"connection_id":124498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":124498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:25:05] local.INFO: TCP Data received {"connection_id":124498,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8e95a0012d88b640058d7318000500502c..."} 
[2026-07-07 13:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8e95a0012d88b640058d7318000500502c..."} 
[2026-07-07 13:25:05] local.INFO: Processing buffer {"connection_id":124498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8e95a0012d88b640058d7318000500502c..."} 
[2026-07-07 13:25:05] local.INFO: Packet analysis {"connection_id":124498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:25:05] local.INFO: Extracted packet for processing {"connection_id":124498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:25:05] local.INFO: GPS Element Parsed {"raw_longitude":763934272,"raw_latitude":93156120,"longitude_deg":76.3934272,"latitude_deg":9.315612,"altitude":5,"angle":80,"satellites":44,"speed":9,"hex_longitude":"2d88b640","hex_latitude":"058d7318","is_valid_coordinates":true} 
[2026-07-07 13:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553120256001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8596386502383880192,"note":"Value kept but may cause issues"} 
[2026-07-07 13:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783410628000,"timestamp_ms":1783410628000,"timestamp_seconds":1783410628,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8e95a0"} 
[2026-07-07 13:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 13:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553120256001,"66":27169,"15":206,"85":14080,"24":9,"16":341260934355877888,"45":-8596386502383880192},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553120256001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:25:05] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:25:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8596386502383880192,"description":"Unknown IO ID 45"} 
[2026-07-07 13:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553120256001,"power":27169,"unknown_15":206,"unknown_85":14080,"ignition":9,"odometer":null,"unknown_45":-8596386502383880192}} 
[2026-07-07 13:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":124498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:25:05] local.INFO: GPS data processed {"connection_id":124498,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:25:05] local.INFO: Acknowledgment sent {"connection_id":124498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:25:21] local.INFO: TCP Data received {"connection_id":124499,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:25:21] local.INFO: Processing buffer {"connection_id":124499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:25:21] local.INFO: IMEI packet received {"connection_id":124499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":124499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:25:26] local.INFO: TCP Data received {"connection_id":124499,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:25:26] local.INFO: Processing buffer {"connection_id":124499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:25:26] local.INFO: IMEI packet received {"connection_id":124499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":124499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:25:27] local.INFO: TCP Data received {"connection_id":124499,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:25:28] local.INFO: Processing buffer {"connection_id":124499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:25:28] local.INFO: Packet analysis {"connection_id":124499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8f"} 
[2026-07-07 13:25:28] local.INFO: Extracted packet for processing {"connection_id":124499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8f"} 
[2026-07-07 13:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532640,"longitude_deg":75.663968,"latitude_deg":11.953264,"altitude":50,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-07-07 13:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553128192001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382284800,"note":"Value kept but may cause issues"} 
[2026-07-07 13:25: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-07-07 13:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783410657000,"timestamp_ms":1783410657000,"timestamp_seconds":1783410657,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8f06e8"} 
[2026-07-07 13:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 13:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553128192001,"66":13167,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1830642910382284800},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553128192001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:25:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:25:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382284800,"description":"Unknown IO ID 45"} 
[2026-07-07 13:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553128192001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382284800}} 
[2026-07-07 13:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":124499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:25:28] local.INFO: GPS data processed {"connection_id":124499,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:25:28] local.INFO: Acknowledgment sent {"connection_id":124499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:25:36] local.INFO: TCP Data received {"connection_id":124498,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8e9988012d88b6c0058d73200005005f2c..."} 
[2026-07-07 13:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8e9988012d88b6c0058d73200005005f2c..."} 
[2026-07-07 13:25:36] local.INFO: Processing buffer {"connection_id":124498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8e9988012d88b6c0058d73200005005f2c..."} 
[2026-07-07 13:25:36] local.INFO: Packet analysis {"connection_id":124498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:25:36] local.INFO: Extracted packet for processing {"connection_id":124498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8e"} 
[2026-07-07 13:25:36] local.INFO: GPS Element Parsed {"raw_longitude":763934400,"raw_latitude":93156128,"longitude_deg":76.39344,"latitude_deg":9.3156128,"altitude":5,"angle":95,"satellites":44,"speed":7,"hex_longitude":"2d88b6c0","hex_latitude":"058d7320","is_valid_coordinates":true} 
[2026-07-07 13:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553120768001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8595612446197868544,"note":"Value kept but may cause issues"} 
[2026-07-07 13:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783410629000,"timestamp_ms":1783410629000,"timestamp_seconds":1783410629,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8e9988"} 
[2026-07-07 13:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 13:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553120768001,"66":27169,"15":206,"85":14080,"24":7,"16":341260934355877888,"45":-8595612446197868544},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553120768001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:25:36] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:25:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8595612446197868544,"description":"Unknown IO ID 45"} 
[2026-07-07 13:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553120768001,"power":27169,"unknown_15":206,"unknown_85":14080,"ignition":7,"odometer":null,"unknown_45":-8595612446197868544}} 
[2026-07-07 13:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":124498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:25:36] local.INFO: GPS data processed {"connection_id":124498,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:25:36] local.INFO: Acknowledgment sent {"connection_id":124498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:25:59] local.INFO: TCP Data received {"connection_id":124499,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:25:59] local.INFO: Processing buffer {"connection_id":124499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b8f06e8012d1967c0071fec600032006726..."} 
[2026-07-07 13:25:59] local.INFO: Packet analysis {"connection_id":124499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b8f"} 
[2026-07-07 13:25:59] local.INFO: Extracted packet for processing {"connection_id":124499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b8f"} 
[2026-07-07 13:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532640,"longitude_deg":75.663968,"latitude_deg":11.953264,"altitude":50,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-07-07 13:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553128192001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382284800,"note":"Value kept but may cause issues"} 
[2026-07-07 13:25: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-07-07 13:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783410657000,"timestamp_ms":1783410657000,"timestamp_seconds":1783410657,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b8f06e8"} 
[2026-07-07 13:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 13:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":124499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":124499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":124499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553128192001,"66":13167,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1830642910382284800},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553128192001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:25:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:25:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382284800,"description":"Unknown IO ID 45"} 
[2026-07-07 13:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553128192001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382284800}} 
[2026-07-07 13:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":124499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:25:59] local.INFO: GPS data processed {"connection_id":124499,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:25:59] local.INFO: Acknowledgment sent {"connection_id":124499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:26:04] local.INFO: TCP Data received {"connection_id":124500,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:26:04] local.INFO: Processing buffer {"connection_id":124500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:26:04] local.INFO: IMEI packet received {"connection_id":124500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":124500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:26:09] local.INFO: TCP Data received {"connection_id":124500,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:26:09] local.INFO: Processing buffer {"connection_id":124500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:26:09] local.INFO: IMEI packet received {"connection_id":124500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":124500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:26:10] local.INFO: TCP Data received {"connection_id":124500,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:26:10] local.INFO: Processing buffer {"connection_id":124500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:26:10] local.INFO: Packet analysis {"connection_id":124500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:26:10] local.INFO: Extracted packet for processing {"connection_id":124500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553121024001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8595471708709511168,"note":"Value kept but may cause issues"} 
[2026-07-07 13:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783410925000,"timestamp_ms":1783410925000,"timestamp_seconds":1783410925,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b931dc8"} 
[2026-07-07 13:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 13:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553121024001,"66":26289,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8595471708709511168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553121024001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:26:10] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8595471708709511168,"description":"Unknown IO ID 45"} 
[2026-07-07 13:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553121024001,"power":26289,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8595471708709511168}} 
[2026-07-07 13:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":124500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:26:10] local.INFO: GPS data processed {"connection_id":124500,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:26:10] local.INFO: Acknowledgment sent {"connection_id":124500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:26:14] local.INFO: TCP Data received {"connection_id":124500,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:26:14] local.INFO: Processing buffer {"connection_id":124500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:26:14] local.INFO: Packet analysis {"connection_id":124500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:26:14] local.INFO: Extracted packet for processing {"connection_id":124500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:26:14] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553121024001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8595471708709511168,"note":"Value kept but may cause issues"} 
[2026-07-07 13:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783410925000,"timestamp_ms":1783410925000,"timestamp_seconds":1783410925,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b931dc8"} 
[2026-07-07 13:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13: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-07-07 13:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 13:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:26: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-07-07 13:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553121024001,"66":26289,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8595471708709511168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553121024001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:26:14] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:26:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8595471708709511168,"description":"Unknown IO ID 45"} 
[2026-07-07 13:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553121024001,"power":26289,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8595471708709511168}} 
[2026-07-07 13:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":124500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:26:14] local.INFO: GPS data processed {"connection_id":124500,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:26:14] local.INFO: Acknowledgment sent {"connection_id":124500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:26:27] local.INFO: TCP Data received {"connection_id":124413,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:26:27] local.INFO: Processing buffer {"connection_id":124413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:26:27] local.INFO: IMEI packet received {"connection_id":124413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":124413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:26:40] local.INFO: TCP Data received {"connection_id":124413,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:26:40] local.INFO: Processing buffer {"connection_id":124413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:26:40] local.INFO: IMEI packet received {"connection_id":124413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":124413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:26:41] local.INFO: TCP Data received {"connection_id":124413,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:26:41] local.INFO: Processing buffer {"connection_id":124413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:26:41] local.INFO: IMEI packet received {"connection_id":124413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":124413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:26:41] local.INFO: TCP Data received {"connection_id":124413,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:26:41] local.INFO: Processing buffer {"connection_id":124413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:26:41] local.INFO: IMEI packet received {"connection_id":124413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":124413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:26:59] local.INFO: TCP Data received {"connection_id":126455,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:26:59] local.INFO: Processing buffer {"connection_id":126455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:26:59] local.INFO: IMEI packet received {"connection_id":126455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":126455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:27:04] local.INFO: TCP Data received {"connection_id":126455,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:27:04] local.INFO: Processing buffer {"connection_id":126455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:27:04] local.INFO: IMEI packet received {"connection_id":126455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":126455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:27:05] local.INFO: TCP Data received {"connection_id":126455,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:27:05] local.INFO: Processing buffer {"connection_id":126455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:27:05] local.INFO: Packet analysis {"connection_id":126455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:27:05] local.INFO: Extracted packet for processing {"connection_id":126455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553121024001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8595471708709511168,"note":"Value kept but may cause issues"} 
[2026-07-07 13:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783410925000,"timestamp_ms":1783410925000,"timestamp_seconds":1783410925,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b931dc8"} 
[2026-07-07 13:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 13:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553121024001,"66":26289,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8595471708709511168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553121024001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:27:05] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:27:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8595471708709511168,"description":"Unknown IO ID 45"} 
[2026-07-07 13:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553121024001,"power":26289,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8595471708709511168}} 
[2026-07-07 13:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":126455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:27:05] local.INFO: GPS data processed {"connection_id":126455,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:27:05] local.INFO: Acknowledgment sent {"connection_id":126455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:27:19] local.INFO: TCP Data received {"connection_id":125221,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:27:19] local.INFO: Processing buffer {"connection_id":125221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:27:19] local.INFO: IMEI packet received {"connection_id":125221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":125221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:27:36] local.INFO: TCP Data received {"connection_id":126455,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:27:36] local.INFO: Processing buffer {"connection_id":126455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:27:36] local.INFO: Packet analysis {"connection_id":126455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:27:36] local.INFO: Extracted packet for processing {"connection_id":126455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:27:36] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553121024001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8595471708709511168,"note":"Value kept but may cause issues"} 
[2026-07-07 13:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783410925000,"timestamp_ms":1783410925000,"timestamp_seconds":1783410925,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b931dc8"} 
[2026-07-07 13:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 13:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553121024001,"66":26289,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8595471708709511168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553121024001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:27:36] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:27:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8595471708709511168,"description":"Unknown IO ID 45"} 
[2026-07-07 13:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553121024001,"power":26289,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8595471708709511168}} 
[2026-07-07 13:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":126455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:27:36] local.INFO: GPS data processed {"connection_id":126455,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:27:36] local.INFO: Acknowledgment sent {"connection_id":126455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:27:59] local.INFO: TCP Data received {"connection_id":124503,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:27:59] local.INFO: Processing buffer {"connection_id":124503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:27:59] local.INFO: IMEI packet received {"connection_id":124503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":124503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:27:59] local.INFO: TCP Data received {"connection_id":124502,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:27:59] local.INFO: Processing buffer {"connection_id":124502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:27:59] local.INFO: IMEI packet received {"connection_id":124502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":124502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:28:04] local.INFO: TCP Data received {"connection_id":124503,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:28:04] local.INFO: Processing buffer {"connection_id":124503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:28:04] local.INFO: IMEI packet received {"connection_id":124503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":124503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:28:05] local.INFO: TCP Data received {"connection_id":124503,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:28:05] local.INFO: Processing buffer {"connection_id":124503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:28:05] local.INFO: Packet analysis {"connection_id":124503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:28:05] local.INFO: Extracted packet for processing {"connection_id":124503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:28:05] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553121024001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8595471708709511168,"note":"Value kept but may cause issues"} 
[2026-07-07 13:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783410925000,"timestamp_ms":1783410925000,"timestamp_seconds":1783410925,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b931dc8"} 
[2026-07-07 13:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 13:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553121024001,"66":26289,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8595471708709511168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553121024001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:28:05] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:28:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8595471708709511168,"description":"Unknown IO ID 45"} 
[2026-07-07 13:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553121024001,"power":26289,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8595471708709511168}} 
[2026-07-07 13:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":124503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:28:05] local.INFO: GPS data processed {"connection_id":124503,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:28:05] local.INFO: Acknowledgment sent {"connection_id":124503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:28:37] local.INFO: TCP Data received {"connection_id":124503,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:28:37] local.INFO: Processing buffer {"connection_id":124503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:28:37] local.INFO: Packet analysis {"connection_id":124503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:28:37] local.INFO: Extracted packet for processing {"connection_id":124503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553121024001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8595471708709511168,"note":"Value kept but may cause issues"} 
[2026-07-07 13:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783410925000,"timestamp_ms":1783410925000,"timestamp_seconds":1783410925,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b931dc8"} 
[2026-07-07 13:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 13:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553121024001,"66":26289,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8595471708709511168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553121024001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:28:37] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8595471708709511168,"description":"Unknown IO ID 45"} 
[2026-07-07 13:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553121024001,"power":26289,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8595471708709511168}} 
[2026-07-07 13:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":124503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:28:37] local.INFO: GPS data processed {"connection_id":124503,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:28:37] local.INFO: Acknowledgment sent {"connection_id":124503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:28:59] local.INFO: TCP Data received {"connection_id":125223,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:28:59] local.INFO: Processing buffer {"connection_id":125223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:28:59] local.INFO: IMEI packet received {"connection_id":125223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":125223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:29:06] local.INFO: TCP Data received {"connection_id":125223,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:29:06] local.INFO: Processing buffer {"connection_id":125223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:29:06] local.INFO: IMEI packet received {"connection_id":125223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":125223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:29:10] local.INFO: TCP Data received {"connection_id":125223,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:29:10] local.INFO: Processing buffer {"connection_id":125223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:29:10] local.INFO: Packet analysis {"connection_id":125223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:29:10] local.INFO: Extracted packet for processing {"connection_id":125223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:29:10] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553121024001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8595471708709511168,"note":"Value kept but may cause issues"} 
[2026-07-07 13:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783410925000,"timestamp_ms":1783410925000,"timestamp_seconds":1783410925,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b931dc8"} 
[2026-07-07 13:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 13:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553121024001,"66":26289,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8595471708709511168},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553121024001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:29:10] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8595471708709511168,"description":"Unknown IO ID 45"} 
[2026-07-07 13:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553121024001,"power":26289,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8595471708709511168}} 
[2026-07-07 13:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":125223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:29:10] local.INFO: GPS data processed {"connection_id":125223,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:29:10] local.INFO: Acknowledgment sent {"connection_id":125223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:30:04] local.INFO: TCP Data received {"connection_id":124504,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:30:04] local.INFO: Processing buffer {"connection_id":124504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:30:04] local.INFO: IMEI packet received {"connection_id":124504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":124504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:30:06] local.INFO: TCP Data received {"connection_id":125223,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:30:06] local.INFO: Processing buffer {"connection_id":125223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:30:06] local.INFO: Packet analysis {"connection_id":125223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:30:06] local.INFO: Extracted packet for processing {"connection_id":125223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:30:06] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553121024001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8595471708709511168,"note":"Value kept but may cause issues"} 
[2026-07-07 13:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783410925000,"timestamp_ms":1783410925000,"timestamp_seconds":1783410925,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b931dc8"} 
[2026-07-07 13:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 13:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553121024001,"66":26289,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8595471708709511168},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553121024001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:30:06] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:30:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8595471708709511168,"description":"Unknown IO ID 45"} 
[2026-07-07 13:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553121024001,"power":26289,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8595471708709511168}} 
[2026-07-07 13:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":125223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:30:06] local.INFO: GPS data processed {"connection_id":125223,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:30:06] local.INFO: Acknowledgment sent {"connection_id":125223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:30:09] local.INFO: TCP Data received {"connection_id":124504,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:30:09] local.INFO: Processing buffer {"connection_id":124504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:30:09] local.INFO: IMEI packet received {"connection_id":124504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":124504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:30:10] local.INFO: TCP Data received {"connection_id":124504,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:30:10] local.INFO: Processing buffer {"connection_id":124504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:30:10] local.INFO: Packet analysis {"connection_id":124504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:30:10] local.INFO: Extracted packet for processing {"connection_id":124504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:30:10] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553121024001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8595471708709511168,"note":"Value kept but may cause issues"} 
[2026-07-07 13:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783410925000,"timestamp_ms":1783410925000,"timestamp_seconds":1783410925,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b931dc8"} 
[2026-07-07 13:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 13:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553121024001,"66":26289,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8595471708709511168},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553121024001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:30:10] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8595471708709511168,"description":"Unknown IO ID 45"} 
[2026-07-07 13:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553121024001,"power":26289,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8595471708709511168}} 
[2026-07-07 13:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":124504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:30:10] local.INFO: GPS data processed {"connection_id":124504,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:30:10] local.INFO: Acknowledgment sent {"connection_id":124504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:30:14] local.INFO: TCP Data received {"connection_id":124504,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:30:14] local.INFO: Processing buffer {"connection_id":124504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b931dc8012d88b980058d73100005005f2b..."} 
[2026-07-07 13:30:14] local.INFO: Packet analysis {"connection_id":124504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:30:14] local.INFO: Extracted packet for processing {"connection_id":124504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:30:14] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13: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-07-07 13:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553121024001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8595471708709511168,"note":"Value kept but may cause issues"} 
[2026-07-07 13:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783410925000,"timestamp_ms":1783410925000,"timestamp_seconds":1783410925,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b931dc8"} 
[2026-07-07 13:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 13:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13: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-07-07 13:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553121024001,"66":26289,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8595471708709511168},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553121024001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:30:14] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:30:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8595471708709511168,"description":"Unknown IO ID 45"} 
[2026-07-07 13:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553121024001,"power":26289,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8595471708709511168}} 
[2026-07-07 13:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":124504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:30:14] local.INFO: GPS data processed {"connection_id":124504,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:30:14] local.INFO: Acknowledgment sent {"connection_id":124504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:30:59] local.INFO: TCP Data received {"connection_id":124415,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:30:59] local.INFO: Processing buffer {"connection_id":124415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:30:59] local.INFO: IMEI packet received {"connection_id":124415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":124415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:31:04] local.INFO: TCP Data received {"connection_id":124415,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:31:04] local.INFO: Processing buffer {"connection_id":124415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:31:04] local.INFO: IMEI packet received {"connection_id":124415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":124415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:31:05] local.INFO: TCP Data received {"connection_id":124415,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:31:05] local.INFO: Processing buffer {"connection_id":124415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:31:05] local.INFO: Packet analysis {"connection_id":124415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b97"} 
[2026-07-07 13:31:05] local.INFO: Extracted packet for processing {"connection_id":124415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b97"} 
[2026-07-07 13:31:05] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553196800001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8594697652523560960,"note":"Value kept but may cause issues"} 
[2026-07-07 13:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783411218000,"timestamp_ms":1783411218000,"timestamp_seconds":1783411218,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b979650"} 
[2026-07-07 13:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 13:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553196800001,"66":25995,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8594697652523560960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553196800001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:31:05] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:31:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8594697652523560960,"description":"Unknown IO ID 45"} 
[2026-07-07 13:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553196800001,"power":25995,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8594697652523560960}} 
[2026-07-07 13:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":124415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:31:05] local.INFO: GPS data processed {"connection_id":124415,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:31:05] local.INFO: Acknowledgment sent {"connection_id":124415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:31:37] local.INFO: TCP Data received {"connection_id":124415,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:31:37] local.INFO: Processing buffer {"connection_id":124415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:31:37] local.INFO: Packet analysis {"connection_id":124415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b97"} 
[2026-07-07 13:31:37] local.INFO: Extracted packet for processing {"connection_id":124415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b97"} 
[2026-07-07 13:31:37] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553196800001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8594697652523560960,"note":"Value kept but may cause issues"} 
[2026-07-07 13:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783411218000,"timestamp_ms":1783411218000,"timestamp_seconds":1783411218,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b979650"} 
[2026-07-07 13:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 13:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553196800001,"66":25995,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8594697652523560960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553196800001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:31:37] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:31:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8594697652523560960,"description":"Unknown IO ID 45"} 
[2026-07-07 13:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553196800001,"power":25995,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8594697652523560960}} 
[2026-07-07 13:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":124415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:31:37] local.INFO: GPS data processed {"connection_id":124415,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:31:37] local.INFO: Acknowledgment sent {"connection_id":124415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:31:47] local.INFO: TCP Data received {"connection_id":124416,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:31:47] local.INFO: Processing buffer {"connection_id":124416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:31:47] local.INFO: IMEI packet received {"connection_id":124416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":124416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:31:48] local.INFO: TCP Data received {"connection_id":124416,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b93aa68012d196940071fec580032006727..."} 
[2026-07-07 13:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b93aa68012d196940071fec580032006727..."} 
[2026-07-07 13:31:48] local.INFO: Processing buffer {"connection_id":124416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b93aa68012d196940071fec580032006727..."} 
[2026-07-07 13:31:48] local.INFO: Packet analysis {"connection_id":124416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:31:48] local.INFO: Extracted packet for processing {"connection_id":124416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b93"} 
[2026-07-07 13:31:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13: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-07-07 13:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553128192001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382284800,"note":"Value kept but may cause issues"} 
[2026-07-07 13: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-07-07 13:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783410961000,"timestamp_ms":1783410961000,"timestamp_seconds":1783410961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b93aa68"} 
[2026-07-07 13:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 13:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13: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-07-07 13:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":124416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":124416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":124416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553128192001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1830642910382284800},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553128192001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:31:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:31:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382284800,"description":"Unknown IO ID 45"} 
[2026-07-07 13:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553128192001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382284800}} 
[2026-07-07 13:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":124416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:31:48] local.INFO: GPS data processed {"connection_id":124416,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:31:48] local.INFO: Acknowledgment sent {"connection_id":124416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:31:59] local.INFO: TCP Data received {"connection_id":126458,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:31:59] local.INFO: Processing buffer {"connection_id":126458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:31:59] local.INFO: IMEI packet received {"connection_id":126458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":126458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:32:04] local.INFO: TCP Data received {"connection_id":126458,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:32:04] local.INFO: Processing buffer {"connection_id":126458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:32:04] local.INFO: IMEI packet received {"connection_id":126458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":126458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:32:05] local.INFO: TCP Data received {"connection_id":126458,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:32:05] local.INFO: Processing buffer {"connection_id":126458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:32:05] local.INFO: Packet analysis {"connection_id":126458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b97"} 
[2026-07-07 13:32:05] local.INFO: Extracted packet for processing {"connection_id":126458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b97"} 
[2026-07-07 13:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553196800001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8594697652523560960,"note":"Value kept but may cause issues"} 
[2026-07-07 13:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783411218000,"timestamp_ms":1783411218000,"timestamp_seconds":1783411218,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b979650"} 
[2026-07-07 13:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 13:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553196800001,"66":25995,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8594697652523560960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553196800001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:32:05] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:32:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8594697652523560960,"description":"Unknown IO ID 45"} 
[2026-07-07 13:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553196800001,"power":25995,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8594697652523560960}} 
[2026-07-07 13:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":126458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:32:05] local.INFO: GPS data processed {"connection_id":126458,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:32:05] local.INFO: Acknowledgment sent {"connection_id":126458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:32:21] local.INFO: TCP Data received {"connection_id":124417,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:32:21] local.INFO: Processing buffer {"connection_id":124417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:32:21] local.INFO: IMEI packet received {"connection_id":124417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":124417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:32:29] local.INFO: TCP Data received {"connection_id":124417,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:32:29] local.INFO: Processing buffer {"connection_id":124417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:32:29] local.INFO: IMEI packet received {"connection_id":124417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":124417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:32:34] local.INFO: TCP Data received {"connection_id":124417,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:32:34] local.INFO: Processing buffer {"connection_id":124417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:32:34] local.INFO: Packet analysis {"connection_id":124417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b98"} 
[2026-07-07 13:32:34] local.INFO: Extracted packet for processing {"connection_id":124417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b98"} 
[2026-07-07 13:32:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553206016001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783411259000,"timestamp_ms":1783411259000,"timestamp_seconds":1783411259,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b983678"} 
[2026-07-07 13:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 13:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553206016001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553206016001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:32:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:32:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553206016001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":124417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:32:34] local.INFO: GPS data processed {"connection_id":124417,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:32:34] local.INFO: Acknowledgment sent {"connection_id":124417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:32:36] local.INFO: TCP Data received {"connection_id":126458,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:32:36] local.INFO: Processing buffer {"connection_id":126458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:32:36] local.INFO: Packet analysis {"connection_id":126458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b97"} 
[2026-07-07 13:32:36] local.INFO: Extracted packet for processing {"connection_id":126458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b97"} 
[2026-07-07 13:32:36] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553196800001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8594697652523560960,"note":"Value kept but may cause issues"} 
[2026-07-07 13:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783411218000,"timestamp_ms":1783411218000,"timestamp_seconds":1783411218,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b979650"} 
[2026-07-07 13:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 13:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13: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-07-07 13:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553196800001,"66":25995,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8594697652523560960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553196800001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:32:36] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:32:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8594697652523560960,"description":"Unknown IO ID 45"} 
[2026-07-07 13:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553196800001,"power":25995,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8594697652523560960}} 
[2026-07-07 13:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":126458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:32:37] local.INFO: GPS data processed {"connection_id":126458,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:32:37] local.INFO: Acknowledgment sent {"connection_id":126458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:32:59] local.INFO: TCP Data received {"connection_id":125227,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:32:59] local.INFO: Processing buffer {"connection_id":125227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:32:59] local.INFO: IMEI packet received {"connection_id":125227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":125227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:33:04] local.INFO: TCP Data received {"connection_id":125227,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:33:04] local.INFO: Processing buffer {"connection_id":125227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:33:04] local.INFO: IMEI packet received {"connection_id":125227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":125227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:33:05] local.INFO: TCP Data received {"connection_id":125227,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:33:05] local.INFO: Processing buffer {"connection_id":125227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:33:05] local.INFO: Packet analysis {"connection_id":125227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b97"} 
[2026-07-07 13:33:05] local.INFO: Extracted packet for processing {"connection_id":125227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b97"} 
[2026-07-07 13:33:05] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553196800001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8594697652523560960,"note":"Value kept but may cause issues"} 
[2026-07-07 13:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783411218000,"timestamp_ms":1783411218000,"timestamp_seconds":1783411218,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b979650"} 
[2026-07-07 13:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 13:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553196800001,"66":25995,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8594697652523560960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553196800001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:33:05] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:33:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8594697652523560960,"description":"Unknown IO ID 45"} 
[2026-07-07 13:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553196800001,"power":25995,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8594697652523560960}} 
[2026-07-07 13:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":125227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:33:05] local.INFO: GPS data processed {"connection_id":125227,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:33:05] local.INFO: Acknowledgment sent {"connection_id":125227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:33:19] local.INFO: TCP Data received {"connection_id":125228,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:33:19] local.INFO: Processing buffer {"connection_id":125228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:33:19] local.INFO: IMEI packet received {"connection_id":125228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":125228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:33:27] local.INFO: TCP Data received {"connection_id":126459,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:33:27] local.INFO: Processing buffer {"connection_id":126459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:33:27] local.INFO: IMEI packet received {"connection_id":126459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":126459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:33:29] local.INFO: TCP Data received {"connection_id":126459,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:33:29] local.INFO: Processing buffer {"connection_id":126459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:33:29] local.INFO: Packet analysis {"connection_id":126459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b98"} 
[2026-07-07 13:33:29] local.INFO: Extracted packet for processing {"connection_id":126459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b98"} 
[2026-07-07 13:33:29] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553206016001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783411259000,"timestamp_ms":1783411259000,"timestamp_seconds":1783411259,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b983678"} 
[2026-07-07 13:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 13:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":126459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":126459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":126459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553206016001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553206016001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:33:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:33:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553206016001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":126459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:33:29] local.INFO: GPS data processed {"connection_id":126459,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:33:29] local.INFO: Acknowledgment sent {"connection_id":126459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:33:39] local.INFO: TCP Data received {"connection_id":125227,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:33:39] local.INFO: Processing buffer {"connection_id":125227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:33:39] local.INFO: Packet analysis {"connection_id":125227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b97"} 
[2026-07-07 13:33:39] local.INFO: Extracted packet for processing {"connection_id":125227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b97"} 
[2026-07-07 13:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553196800001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8594697652523560960,"note":"Value kept but may cause issues"} 
[2026-07-07 13:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783411218000,"timestamp_ms":1783411218000,"timestamp_seconds":1783411218,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b979650"} 
[2026-07-07 13:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 13:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553196800001,"66":25995,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8594697652523560960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553196800001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:33:39] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8594697652523560960,"description":"Unknown IO ID 45"} 
[2026-07-07 13:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553196800001,"power":25995,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8594697652523560960}} 
[2026-07-07 13:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":125227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:33:39] local.INFO: GPS data processed {"connection_id":125227,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:33:39] local.INFO: Acknowledgment sent {"connection_id":125227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:33:59] local.INFO: TCP Data received {"connection_id":124506,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:33:59] local.INFO: Processing buffer {"connection_id":124506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:33:59] local.INFO: IMEI packet received {"connection_id":124506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":124506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:33:59] local.INFO: TCP Data received {"connection_id":124505,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:33:59] local.INFO: Processing buffer {"connection_id":124505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:33:59] local.INFO: IMEI packet received {"connection_id":124505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":124505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:34:01] local.INFO: TCP Data received {"connection_id":126459,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:34:01] local.INFO: Processing buffer {"connection_id":126459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:34:01] local.INFO: Packet analysis {"connection_id":126459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b98"} 
[2026-07-07 13:34:01] local.INFO: Extracted packet for processing {"connection_id":126459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b98"} 
[2026-07-07 13:34:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553206016001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:34: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-07-07 13:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783411259000,"timestamp_ms":1783411259000,"timestamp_seconds":1783411259,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b983678"} 
[2026-07-07 13:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:34: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 13:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553206016001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553206016001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:34:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:34:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553206016001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":126459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:34:01] local.INFO: GPS data processed {"connection_id":126459,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:34:01] local.INFO: Acknowledgment sent {"connection_id":126459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:34:04] local.INFO: TCP Data received {"connection_id":124506,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:34:04] local.INFO: Processing buffer {"connection_id":124506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:34:04] local.INFO: IMEI packet received {"connection_id":124506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":124506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:34:05] local.INFO: TCP Data received {"connection_id":124506,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:34:05] local.INFO: Processing buffer {"connection_id":124506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:34:05] local.INFO: Packet analysis {"connection_id":124506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b97"} 
[2026-07-07 13:34:05] local.INFO: Extracted packet for processing {"connection_id":124506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b97"} 
[2026-07-07 13:34:05] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553196800001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8594697652523560960,"note":"Value kept but may cause issues"} 
[2026-07-07 13:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783411218000,"timestamp_ms":1783411218000,"timestamp_seconds":1783411218,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b979650"} 
[2026-07-07 13:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 13:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553196800001,"66":25995,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8594697652523560960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553196800001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:34:05] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:34:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8594697652523560960,"description":"Unknown IO ID 45"} 
[2026-07-07 13:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553196800001,"power":25995,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8594697652523560960}} 
[2026-07-07 13:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":124506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:34:05] local.INFO: GPS data processed {"connection_id":124506,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:34:05] local.INFO: Acknowledgment sent {"connection_id":124506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:34:27] local.INFO: TCP Data received {"connection_id":124507,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:34:27] local.INFO: Processing buffer {"connection_id":124507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:34:27] local.INFO: IMEI packet received {"connection_id":124507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":124507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:34:32] local.INFO: TCP Data received {"connection_id":124507,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:34:32] local.INFO: Processing buffer {"connection_id":124507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:34:32] local.INFO: IMEI packet received {"connection_id":124507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":124507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:34:33] local.INFO: TCP Data received {"connection_id":124507,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:34:33] local.INFO: Processing buffer {"connection_id":124507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:34:33] local.INFO: Packet analysis {"connection_id":124507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b98"} 
[2026-07-07 13:34:33] local.INFO: Extracted packet for processing {"connection_id":124507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b98"} 
[2026-07-07 13:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553206016001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783411259000,"timestamp_ms":1783411259000,"timestamp_seconds":1783411259,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b983678"} 
[2026-07-07 13:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:34: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-07-07 13:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 13:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553206016001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553206016001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:34:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:34:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553206016001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":124507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:34:33] local.INFO: GPS data processed {"connection_id":124507,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:34:33] local.INFO: Acknowledgment sent {"connection_id":124507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:34:36] local.INFO: TCP Data received {"connection_id":124506,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:34:36] local.INFO: Processing buffer {"connection_id":124506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:34:36] local.INFO: Packet analysis {"connection_id":124506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b97"} 
[2026-07-07 13:34:36] local.INFO: Extracted packet for processing {"connection_id":124506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b97"} 
[2026-07-07 13:34:36] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553196800001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8594697652523560960,"note":"Value kept but may cause issues"} 
[2026-07-07 13:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783411218000,"timestamp_ms":1783411218000,"timestamp_seconds":1783411218,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b979650"} 
[2026-07-07 13:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 13:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13: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-07-07 13:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553196800001,"66":25995,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8594697652523560960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553196800001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:34:36] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:34:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8594697652523560960,"description":"Unknown IO ID 45"} 
[2026-07-07 13:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553196800001,"power":25995,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8594697652523560960}} 
[2026-07-07 13:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":124506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:34:36] local.INFO: GPS data processed {"connection_id":124506,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:34:36] local.INFO: Acknowledgment sent {"connection_id":124506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:34:38] local.INFO: TCP Data received {"connection_id":124507,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:34:38] local.INFO: Processing buffer {"connection_id":124507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:34:38] local.INFO: Packet analysis {"connection_id":124507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b98"} 
[2026-07-07 13:34:38] local.INFO: Extracted packet for processing {"connection_id":124507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b98"} 
[2026-07-07 13:34:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553206016001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783411259000,"timestamp_ms":1783411259000,"timestamp_seconds":1783411259,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b983678"} 
[2026-07-07 13:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 13:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553206016001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553206016001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:34:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:34:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553206016001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":124507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:34:38] local.INFO: GPS data processed {"connection_id":124507,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:34:38] local.INFO: Acknowledgment sent {"connection_id":124507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:35:04] local.INFO: TCP Data received {"connection_id":124418,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:35:04] local.INFO: Processing buffer {"connection_id":124418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:35:04] local.INFO: IMEI packet received {"connection_id":124418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":124418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:35:09] local.INFO: TCP Data received {"connection_id":124418,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:35:09] local.INFO: Processing buffer {"connection_id":124418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:35:09] local.INFO: IMEI packet received {"connection_id":124418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":124418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:35:10] local.INFO: TCP Data received {"connection_id":124418,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:35:10] local.INFO: Processing buffer {"connection_id":124418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:35:10] local.INFO: Packet analysis {"connection_id":124418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b97"} 
[2026-07-07 13:35:10] local.INFO: Extracted packet for processing {"connection_id":124418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b97"} 
[2026-07-07 13:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553196800001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8594697652523560960,"note":"Value kept but may cause issues"} 
[2026-07-07 13:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783411218000,"timestamp_ms":1783411218000,"timestamp_seconds":1783411218,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b979650"} 
[2026-07-07 13:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 13:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553196800001,"66":25995,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8594697652523560960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553196800001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:35:10] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8594697652523560960,"description":"Unknown IO ID 45"} 
[2026-07-07 13:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553196800001,"power":25995,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8594697652523560960}} 
[2026-07-07 13:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":124418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:35:10] local.INFO: GPS data processed {"connection_id":124418,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:35:10] local.INFO: Acknowledgment sent {"connection_id":124418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:35:14] local.INFO: TCP Data received {"connection_id":124418,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:35:14] local.INFO: Processing buffer {"connection_id":124418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b979650012d88b980058d73100005005f2c..."} 
[2026-07-07 13:35:14] local.INFO: Packet analysis {"connection_id":124418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b97"} 
[2026-07-07 13:35:14] local.INFO: Extracted packet for processing {"connection_id":124418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b97"} 
[2026-07-07 13:35:14] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553196800001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8594697652523560960,"note":"Value kept but may cause issues"} 
[2026-07-07 13:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783411218000,"timestamp_ms":1783411218000,"timestamp_seconds":1783411218,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b979650"} 
[2026-07-07 13:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13: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-07-07 13:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 13:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553196800001,"66":25995,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8594697652523560960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553196800001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:35:14] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:35:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8594697652523560960,"description":"Unknown IO ID 45"} 
[2026-07-07 13:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553196800001,"power":25995,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8594697652523560960}} 
[2026-07-07 13:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":124418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:35:14] local.INFO: GPS data processed {"connection_id":124418,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:35:14] local.INFO: Acknowledgment sent {"connection_id":124418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:35:22] local.INFO: TCP Data received {"connection_id":126460,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:35:22] local.INFO: Processing buffer {"connection_id":126460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:35:22] local.INFO: IMEI packet received {"connection_id":126460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":126460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:35:26] local.INFO: TCP Data received {"connection_id":126460,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:35:26] local.INFO: Processing buffer {"connection_id":126460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:35:26] local.INFO: IMEI packet received {"connection_id":126460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":126460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:35:27] local.INFO: TCP Data received {"connection_id":126460,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:35:27] local.INFO: Processing buffer {"connection_id":126460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:35:27] local.INFO: Packet analysis {"connection_id":126460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b98"} 
[2026-07-07 13:35:27] local.INFO: Extracted packet for processing {"connection_id":126460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b98"} 
[2026-07-07 13:35:27] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553206016001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:35: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-07-07 13:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783411259000,"timestamp_ms":1783411259000,"timestamp_seconds":1783411259,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b983678"} 
[2026-07-07 13:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 13:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":126460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":126460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":126460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553206016001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553206016001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:35:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:35:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553206016001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":126460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:35:27] local.INFO: GPS data processed {"connection_id":126460,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:35:27] local.INFO: Acknowledgment sent {"connection_id":126460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:35:33] local.INFO: TCP Data received {"connection_id":126460,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:35:33] local.INFO: Processing buffer {"connection_id":126460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b983678012d196940071fec580032006724..."} 
[2026-07-07 13:35:33] local.INFO: Packet analysis {"connection_id":126460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b98"} 
[2026-07-07 13:35:33] local.INFO: Extracted packet for processing {"connection_id":126460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b98"} 
[2026-07-07 13:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553206016001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783411259000,"timestamp_ms":1783411259000,"timestamp_seconds":1783411259,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b983678"} 
[2026-07-07 13:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:35: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-07-07 13:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 13:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553206016001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553206016001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:35:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:35:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553206016001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":126460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:35:33] local.INFO: GPS data processed {"connection_id":126460,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:35:33] local.INFO: Acknowledgment sent {"connection_id":126460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:35:59] local.INFO: TCP Data received {"connection_id":126461,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:35:59] local.INFO: Processing buffer {"connection_id":126461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:35:59] local.INFO: IMEI packet received {"connection_id":126461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":126461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:36:04] local.INFO: TCP Data received {"connection_id":126461,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:36:04] local.INFO: Processing buffer {"connection_id":126461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:36:04] local.INFO: IMEI packet received {"connection_id":126461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":126461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:36:05] local.INFO: TCP Data received {"connection_id":126461,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9c16a8012d88b980058d73100005005f2d..."} 
[2026-07-07 13:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9c16a8012d88b980058d73100005005f2d..."} 
[2026-07-07 13:36:05] local.INFO: Processing buffer {"connection_id":126461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9c16a8012d88b980058d73100005005f2d..."} 
[2026-07-07 13:36:05] local.INFO: Packet analysis {"connection_id":126461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:36:05] local.INFO: Extracted packet for processing {"connection_id":126461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:36:05] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553271808001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8594697652523560960,"note":"Value kept but may cause issues"} 
[2026-07-07 13:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783411513000,"timestamp_ms":1783411513000,"timestamp_seconds":1783411513,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9c16a8"} 
[2026-07-07 13:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 13:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553271808001,"66":25854,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8594697652523560960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553271808001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:36:05] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:36:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8594697652523560960,"description":"Unknown IO ID 45"} 
[2026-07-07 13:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553271808001,"power":25854,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8594697652523560960}} 
[2026-07-07 13:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":126461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:36:05] local.INFO: GPS data processed {"connection_id":126461,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:36:05] local.INFO: Acknowledgment sent {"connection_id":126461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:36:21] local.INFO: TCP Data received {"connection_id":125229,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:36:21] local.INFO: Processing buffer {"connection_id":125229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:36:21] local.INFO: IMEI packet received {"connection_id":125229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":125229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:36:27] local.INFO: TCP Data received {"connection_id":125229,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:36:27] local.INFO: Processing buffer {"connection_id":125229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:36:27] local.INFO: IMEI packet received {"connection_id":125229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":125229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:36:28] local.INFO: TCP Data received {"connection_id":125229,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:36:28] local.INFO: Processing buffer {"connection_id":125229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:36:28] local.INFO: Packet analysis {"connection_id":125229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:36:28] local.INFO: Extracted packet for processing {"connection_id":125229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553282304001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:36: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-07-07 13:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783411557000,"timestamp_ms":1783411557000,"timestamp_seconds":1783411557,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9cc288"} 
[2026-07-07 13:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 13:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553282304001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553282304001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:36:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:36:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553282304001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":125229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:36:28] local.INFO: GPS data processed {"connection_id":125229,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:36:28] local.INFO: Acknowledgment sent {"connection_id":125229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:36:36] local.INFO: TCP Data received {"connection_id":126461,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9c16a8012d88b980058d73100005005f2d..."} 
[2026-07-07 13:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9c16a8012d88b980058d73100005005f2d..."} 
[2026-07-07 13:36:36] local.INFO: Processing buffer {"connection_id":126461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9c16a8012d88b980058d73100005005f2d..."} 
[2026-07-07 13:36:36] local.INFO: Packet analysis {"connection_id":126461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:36:36] local.INFO: Extracted packet for processing {"connection_id":126461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:36:36] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553271808001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8594697652523560960,"note":"Value kept but may cause issues"} 
[2026-07-07 13:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783411513000,"timestamp_ms":1783411513000,"timestamp_seconds":1783411513,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9c16a8"} 
[2026-07-07 13:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 13:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553271808001,"66":25854,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8594697652523560960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553271808001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:36:36] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:36:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8594697652523560960,"description":"Unknown IO ID 45"} 
[2026-07-07 13:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553271808001,"power":25854,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8594697652523560960}} 
[2026-07-07 13:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":126461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:36:36] local.INFO: GPS data processed {"connection_id":126461,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:36:36] local.INFO: Acknowledgment sent {"connection_id":126461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:36:59] local.INFO: TCP Data received {"connection_id":126464,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:36:59] local.INFO: Processing buffer {"connection_id":126464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:36:59] local.INFO: IMEI packet received {"connection_id":126464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":126464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:37:00] local.INFO: TCP Data received {"connection_id":125229,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:37:00] local.INFO: Processing buffer {"connection_id":125229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:37:00] local.INFO: Packet analysis {"connection_id":125229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:37:00] local.INFO: Extracted packet for processing {"connection_id":125229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:37:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553282304001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:37: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-07-07 13:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783411557000,"timestamp_ms":1783411557000,"timestamp_seconds":1783411557,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9cc288"} 
[2026-07-07 13:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 13:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553282304001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553282304001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:37:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:37:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553282304001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":125229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:37:00] local.INFO: GPS data processed {"connection_id":125229,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:37:00] local.INFO: Acknowledgment sent {"connection_id":125229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:37:04] local.INFO: TCP Data received {"connection_id":126464,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:37:04] local.INFO: Processing buffer {"connection_id":126464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:37:04] local.INFO: IMEI packet received {"connection_id":126464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":126464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:37:05] local.INFO: TCP Data received {"connection_id":126464,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9c16a8012d88b980058d73100005005f2d..."} 
[2026-07-07 13:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9c16a8012d88b980058d73100005005f2d..."} 
[2026-07-07 13:37:05] local.INFO: Processing buffer {"connection_id":126464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9c16a8012d88b980058d73100005005f2d..."} 
[2026-07-07 13:37:05] local.INFO: Packet analysis {"connection_id":126464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:37:05] local.INFO: Extracted packet for processing {"connection_id":126464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553271808001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8594697652523560960,"note":"Value kept but may cause issues"} 
[2026-07-07 13:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783411513000,"timestamp_ms":1783411513000,"timestamp_seconds":1783411513,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9c16a8"} 
[2026-07-07 13:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 13:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553271808001,"66":25854,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8594697652523560960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553271808001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:37:05] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8594697652523560960,"description":"Unknown IO ID 45"} 
[2026-07-07 13:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553271808001,"power":25854,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8594697652523560960}} 
[2026-07-07 13:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":126464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:37:05] local.INFO: GPS data processed {"connection_id":126464,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:37:05] local.INFO: Acknowledgment sent {"connection_id":126464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:37:27] local.INFO: TCP Data received {"connection_id":126465,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:37:27] local.INFO: Processing buffer {"connection_id":126465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:37:27] local.INFO: IMEI packet received {"connection_id":126465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":126465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:37:31] local.INFO: TCP Data received {"connection_id":126465,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:37:31] local.INFO: Processing buffer {"connection_id":126465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:37:31] local.INFO: IMEI packet received {"connection_id":126465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":126465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:37:36] local.INFO: TCP Data received {"connection_id":126464,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9c16a8012d88b980058d73100005005f2d..."} 
[2026-07-07 13:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9c16a8012d88b980058d73100005005f2d..."} 
[2026-07-07 13:37:36] local.INFO: Processing buffer {"connection_id":126464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9c16a8012d88b980058d73100005005f2d..."} 
[2026-07-07 13:37:36] local.INFO: Packet analysis {"connection_id":126464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:37:36] local.INFO: Extracted packet for processing {"connection_id":126464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:37:36] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553271808001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8594697652523560960,"note":"Value kept but may cause issues"} 
[2026-07-07 13:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783411513000,"timestamp_ms":1783411513000,"timestamp_seconds":1783411513,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9c16a8"} 
[2026-07-07 13:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 13:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553271808001,"66":25854,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8594697652523560960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553271808001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:37:36] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:37:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8594697652523560960,"description":"Unknown IO ID 45"} 
[2026-07-07 13:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553271808001,"power":25854,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8594697652523560960}} 
[2026-07-07 13:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":126464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:37:36] local.INFO: GPS data processed {"connection_id":126464,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:37:36] local.INFO: Acknowledgment sent {"connection_id":126464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:37:40] local.INFO: TCP Data received {"connection_id":126465,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:37:40] local.INFO: Processing buffer {"connection_id":126465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:37:40] local.INFO: Packet analysis {"connection_id":126465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:37:40] local.INFO: Extracted packet for processing {"connection_id":126465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:37:40] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553282304001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13: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-07-07 13:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783411557000,"timestamp_ms":1783411557000,"timestamp_seconds":1783411557,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9cc288"} 
[2026-07-07 13:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 13:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553282304001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553282304001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:37:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:37:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553282304001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":126465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:37:40] local.INFO: GPS data processed {"connection_id":126465,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:37:40] local.INFO: Acknowledgment sent {"connection_id":126465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:37:41] local.INFO: TCP Data received {"connection_id":126465,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:37:41] local.INFO: Processing buffer {"connection_id":126465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:37:41] local.INFO: Packet analysis {"connection_id":126465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:37:41] local.INFO: Extracted packet for processing {"connection_id":126465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:37:41] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553282304001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13: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-07-07 13:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783411557000,"timestamp_ms":1783411557000,"timestamp_seconds":1783411557,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9cc288"} 
[2026-07-07 13:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 13:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553282304001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553282304001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:37:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:37:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553282304001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":126465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:37:41] local.INFO: GPS data processed {"connection_id":126465,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:37:41] local.INFO: Acknowledgment sent {"connection_id":126465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:37:59] local.INFO: TCP Data received {"connection_id":125230,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:37:59] local.INFO: Processing buffer {"connection_id":125230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:37:59] local.INFO: IMEI packet received {"connection_id":125230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":125230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:38:04] local.INFO: TCP Data received {"connection_id":125230,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:38:04] local.INFO: Processing buffer {"connection_id":125230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:38:04] local.INFO: IMEI packet received {"connection_id":125230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":125230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:38:05] local.INFO: TCP Data received {"connection_id":125230,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9c16a8012d88b980058d73100005005f2d..."} 
[2026-07-07 13:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9c16a8012d88b980058d73100005005f2d..."} 
[2026-07-07 13:38:05] local.INFO: Processing buffer {"connection_id":125230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9c16a8012d88b980058d73100005005f2d..."} 
[2026-07-07 13:38:05] local.INFO: Packet analysis {"connection_id":125230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:38:05] local.INFO: Extracted packet for processing {"connection_id":125230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:38:05] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553271808001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8594697652523560960,"note":"Value kept but may cause issues"} 
[2026-07-07 13:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783411513000,"timestamp_ms":1783411513000,"timestamp_seconds":1783411513,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9c16a8"} 
[2026-07-07 13:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 13:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553271808001,"66":25854,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8594697652523560960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553271808001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:38:05] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:38:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8594697652523560960,"description":"Unknown IO ID 45"} 
[2026-07-07 13:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553271808001,"power":25854,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8594697652523560960}} 
[2026-07-07 13:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":125230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:38:05] local.INFO: GPS data processed {"connection_id":125230,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:38:05] local.INFO: Acknowledgment sent {"connection_id":125230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:38:22] local.INFO: TCP Data received {"connection_id":126466,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:38:22] local.INFO: Processing buffer {"connection_id":126466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:38:22] local.INFO: IMEI packet received {"connection_id":126466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":126466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:38:27] local.INFO: TCP Data received {"connection_id":126466,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:38:27] local.INFO: Processing buffer {"connection_id":126466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:38:27] local.INFO: IMEI packet received {"connection_id":126466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":126466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:38:29] local.INFO: TCP Data received {"connection_id":126466,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:38:29] local.INFO: Processing buffer {"connection_id":126466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:38:29] local.INFO: Packet analysis {"connection_id":126466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:38:29] local.INFO: Extracted packet for processing {"connection_id":126466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:38:29] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553282304001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783411557000,"timestamp_ms":1783411557000,"timestamp_seconds":1783411557,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9cc288"} 
[2026-07-07 13:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 13:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:38:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":126466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":126466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":126466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553282304001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553282304001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:38:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:38:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553282304001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":126466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:38:29] local.INFO: GPS data processed {"connection_id":126466,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:38:29] local.INFO: Acknowledgment sent {"connection_id":126466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:38:36] local.INFO: TCP Data received {"connection_id":125230,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9e2dd0012d88b980058d73100005005f2d..."} 
[2026-07-07 13:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9e2dd0012d88b980058d73100005005f2d..."} 
[2026-07-07 13:38:36] local.INFO: Processing buffer {"connection_id":125230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9e2dd0012d88b980058d73100005005f2d..."} 
[2026-07-07 13:38:36] local.INFO: Packet analysis {"connection_id":125230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9e"} 
[2026-07-07 13:38:36] local.INFO: Extracted packet for processing {"connection_id":125230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9e"} 
[2026-07-07 13:38:36] local.INFO: GPS Element Parsed {"raw_longitude":763935104,"raw_latitude":93156112,"longitude_deg":76.3935104,"latitude_deg":9.3156112,"altitude":5,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2d88b980","hex_latitude":"058d7310","is_valid_coordinates":true} 
[2026-07-07 13:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553347328001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8594697652523560960,"note":"Value kept but may cause issues"} 
[2026-07-07 13:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783411650000,"timestamp_ms":1783411650000,"timestamp_seconds":1783411650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9e2dd0"} 
[2026-07-07 13:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 13:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553347328001,"66":25473,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8594697652523560960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553347328001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:38:36] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:38:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8594697652523560960,"description":"Unknown IO ID 45"} 
[2026-07-07 13:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553347328001,"power":25473,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8594697652523560960}} 
[2026-07-07 13:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":125230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:38:36] local.INFO: GPS data processed {"connection_id":125230,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:38:36] local.INFO: Acknowledgment sent {"connection_id":125230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:39:00] local.INFO: TCP Data received {"connection_id":126466,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:39:00] local.INFO: Processing buffer {"connection_id":126466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:39:00] local.INFO: Packet analysis {"connection_id":126466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:39:00] local.INFO: Extracted packet for processing {"connection_id":126466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:39:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553282304001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:39: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-07-07 13:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783411557000,"timestamp_ms":1783411557000,"timestamp_seconds":1783411557,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9cc288"} 
[2026-07-07 13:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 13:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553282304001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553282304001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:39:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:39:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553282304001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":126466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:39:01] local.INFO: GPS data processed {"connection_id":126466,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:39:01] local.INFO: Acknowledgment sent {"connection_id":126466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:39:04] local.INFO: TCP Data received {"connection_id":126468,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:39:04] local.INFO: Processing buffer {"connection_id":126468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:39:04] local.INFO: IMEI packet received {"connection_id":126468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":126468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:39:09] local.INFO: TCP Data received {"connection_id":126468,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:39:09] local.INFO: Processing buffer {"connection_id":126468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:39:09] local.INFO: IMEI packet received {"connection_id":126468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":126468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:39:09] local.INFO: TCP Data received {"connection_id":126468,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9e87a8012d88b740058d72f00005005f2e..."} 
[2026-07-07 13:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9e87a8012d88b740058d72f00005005f2e..."} 
[2026-07-07 13:39:09] local.INFO: Processing buffer {"connection_id":126468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9e87a8012d88b740058d72f00005005f2e..."} 
[2026-07-07 13:39:09] local.INFO: Packet analysis {"connection_id":126468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9e"} 
[2026-07-07 13:39:09] local.INFO: Extracted packet for processing {"connection_id":126468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9e"} 
[2026-07-07 13:39:09] local.INFO: GPS Element Parsed {"raw_longitude":763934528,"raw_latitude":93156080,"longitude_deg":76.3934528,"latitude_deg":9.315608,"altitude":5,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2d88b740","hex_latitude":"058d72f0","is_valid_coordinates":true} 
[2026-07-07 13:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553382400001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8594697652523560960,"note":"Value kept but may cause issues"} 
[2026-07-07 13:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783411673000,"timestamp_ms":1783411673000,"timestamp_seconds":1783411673,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9e87a8"} 
[2026-07-07 13:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 13:39: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-07-07 13:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553382400001,"66":27745,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8594697652523560960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553382400001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:39:09] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8594697652523560960,"description":"Unknown IO ID 45"} 
[2026-07-07 13:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553382400001,"power":27745,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8594697652523560960}} 
[2026-07-07 13:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":126468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:39:09] local.INFO: GPS data processed {"connection_id":126468,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:39:09] local.INFO: Acknowledgment sent {"connection_id":126468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:39:10] local.INFO: TCP Data received {"connection_id":126468,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9ed9b0012d88b740058d72f00005005f2d..."} 
[2026-07-07 13:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9ed9b0012d88b740058d72f00005005f2d..."} 
[2026-07-07 13:39:10] local.INFO: Processing buffer {"connection_id":126468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9ed9b0012d88b740058d72f00005005f2d..."} 
[2026-07-07 13:39:10] local.INFO: Packet analysis {"connection_id":126468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9e"} 
[2026-07-07 13:39:10] local.INFO: Extracted packet for processing {"connection_id":126468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9e"} 
[2026-07-07 13:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763934528,"raw_latitude":93156080,"longitude_deg":76.3934528,"latitude_deg":9.315608,"altitude":5,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2d88b740","hex_latitude":"058d72f0","is_valid_coordinates":true} 
[2026-07-07 13:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553388288001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341260934355877888,"note":"Value kept but may cause issues"} 
[2026-07-07 13:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8595330971221168128,"note":"Value kept but may cause issues"} 
[2026-07-07 13:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783411694000,"timestamp_ms":1783411694000,"timestamp_seconds":1783411694,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9ed9b0"} 
[2026-07-07 13:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 13:39: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-07-07 13:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13: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-07-07 13:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553388288001,"66":27745,"15":206,"85":14080,"24":0,"16":341260934355877888,"45":-8595330971221168128},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553388288001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:39:10] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341260934355877888,"km_value":341260934355877.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8595330971221168128,"description":"Unknown IO ID 45"} 
[2026-07-07 13:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553388288001,"power":27745,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8595330971221168128}} 
[2026-07-07 13:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":126468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:39:10] local.INFO: GPS data processed {"connection_id":126468,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:39:10] local.INFO: Acknowledgment sent {"connection_id":126468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:39:21] local.INFO: TCP Data received {"connection_id":125232,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:39:21] local.INFO: Processing buffer {"connection_id":125232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:39:21] local.INFO: IMEI packet received {"connection_id":125232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":125232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:39:24] local.INFO: TCP Data received {"connection_id":126467,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:39:24] local.INFO: Processing buffer {"connection_id":126467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:39:24] local.INFO: IMEI packet received {"connection_id":126467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":126467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:39:27] local.INFO: TCP Data received {"connection_id":125232,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:39:27] local.INFO: Processing buffer {"connection_id":125232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:39:27] local.INFO: IMEI packet received {"connection_id":125232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":125232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:39:28] local.INFO: TCP Data received {"connection_id":125232,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:39:28] local.INFO: Processing buffer {"connection_id":125232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:39:28] local.INFO: Packet analysis {"connection_id":125232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:39:28] local.INFO: Extracted packet for processing {"connection_id":125232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553282304001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:39: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-07-07 13:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783411557000,"timestamp_ms":1783411557000,"timestamp_seconds":1783411557,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9cc288"} 
[2026-07-07 13:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 13:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553282304001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553282304001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:39:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:39:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553282304001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":125232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:39:28] local.INFO: GPS data processed {"connection_id":125232,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:39:28] local.INFO: Acknowledgment sent {"connection_id":125232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:39:42] local.INFO: TCP Data received {"connection_id":126468,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9f2000012d88cdc0058d73e0000700542d..."} 
[2026-07-07 13:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9f2000012d88cdc0058d73e0000700542d..."} 
[2026-07-07 13:39:42] local.INFO: Processing buffer {"connection_id":126468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9f2000012d88cdc0058d73e0000700542d..."} 
[2026-07-07 13:39:42] local.INFO: Packet analysis {"connection_id":126468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9f"} 
[2026-07-07 13:39:42] local.INFO: Extracted packet for processing {"connection_id":126468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9f"} 
[2026-07-07 13:39:42] local.INFO: GPS Element Parsed {"raw_longitude":763940288,"raw_latitude":93156320,"longitude_deg":76.3940288,"latitude_deg":9.315632,"altitude":7,"angle":84,"satellites":45,"speed":23,"hex_longitude":"2d88cdc0","hex_latitude":"058d73e0","is_valid_coordinates":true} 
[2026-07-07 13:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553393664001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341261204938817536,"note":"Value kept but may cause issues"} 
[2026-07-07 13:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8595330971221168128,"note":"Value kept but may cause issues"} 
[2026-07-07 13:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783411712000,"timestamp_ms":1783411712000,"timestamp_seconds":1783411712,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9f2000"} 
[2026-07-07 13:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13: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-07-07 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 13:39: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-07-07 13:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553393664001,"66":27691,"15":206,"85":14080,"24":23,"16":341261204938817536,"45":-8595330971221168128},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553393664001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:39:42] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341261204938817536,"km_value":341261204938817.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8595330971221168128,"description":"Unknown IO ID 45"} 
[2026-07-07 13:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553393664001,"power":27691,"unknown_15":206,"unknown_85":14080,"ignition":23,"odometer":null,"unknown_45":-8595330971221168128}} 
[2026-07-07 13:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":126468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:39:42] local.INFO: GPS data processed {"connection_id":126468,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:39:42] local.INFO: Acknowledgment sent {"connection_id":126468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:39:59] local.INFO: TCP Data received {"connection_id":125233,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:39:59] local.INFO: Processing buffer {"connection_id":125233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:39:59] local.INFO: IMEI packet received {"connection_id":125233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":125233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:39:59] local.INFO: TCP Data received {"connection_id":125234,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:39:59] local.INFO: Processing buffer {"connection_id":125234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:39:59] local.INFO: IMEI packet received {"connection_id":125234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":125234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:40:00] local.INFO: TCP Data received {"connection_id":125232,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:40:00] local.INFO: Processing buffer {"connection_id":125232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:40:00] local.INFO: Packet analysis {"connection_id":125232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:40:00] local.INFO: Extracted packet for processing {"connection_id":125232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:40:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553282304001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:40: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-07-07 13:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783411557000,"timestamp_ms":1783411557000,"timestamp_seconds":1783411557,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9cc288"} 
[2026-07-07 13:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 13:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553282304001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553282304001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:40:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:40:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553282304001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":125232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:40:00] local.INFO: GPS data processed {"connection_id":125232,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:40:00] local.INFO: Acknowledgment sent {"connection_id":125232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:40:02] local.INFO: TCP Data received {"connection_id":125234,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:40:02] local.INFO: Processing buffer {"connection_id":125234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:40:02] local.INFO: IMEI packet received {"connection_id":125234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":125234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:40:03] local.INFO: TCP Data received {"connection_id":125234,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9f52c8012d88f300058d7830000700522d..."} 
[2026-07-07 13:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9f52c8012d88f300058d7830000700522d..."} 
[2026-07-07 13:40:03] local.INFO: Processing buffer {"connection_id":125234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9f52c8012d88f300058d7830000700522d..."} 
[2026-07-07 13:40:03] local.INFO: Packet analysis {"connection_id":125234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9f"} 
[2026-07-07 13:40:03] local.INFO: Extracted packet for processing {"connection_id":125234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9f"} 
[2026-07-07 13:40:03] local.INFO: GPS Element Parsed {"raw_longitude":763949824,"raw_latitude":93157424,"longitude_deg":76.3949824,"latitude_deg":9.3157424,"altitude":7,"angle":82,"satellites":45,"speed":33,"hex_longitude":"2d88f300","hex_latitude":"058d7830","is_valid_coordinates":true} 
[2026-07-07 13:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553398272001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341261664500318208,"note":"Value kept but may cause issues"} 
[2026-07-07 13:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8588997784245116928,"note":"Value kept but may cause issues"} 
[2026-07-07 13:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783411725000,"timestamp_ms":1783411725000,"timestamp_seconds":1783411725,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9f52c8"} 
[2026-07-07 13:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:40: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-07-07 13:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-07 13:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553398272001,"66":27767,"15":206,"85":14080,"24":33,"16":341261664500318208,"45":-8588997784245116928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553398272001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:40:03] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:40:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341261664500318208,"km_value":341261664500318.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8588997784245116928,"description":"Unknown IO ID 45"} 
[2026-07-07 13:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553398272001,"power":27767,"unknown_15":206,"unknown_85":14080,"ignition":33,"odometer":null,"unknown_45":-8588997784245116928}} 
[2026-07-07 13:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":125234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:40:03] local.INFO: GPS data processed {"connection_id":125234,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:40:03] local.INFO: Acknowledgment sent {"connection_id":125234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:40:27] local.INFO: TCP Data received {"connection_id":126469,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:40:27] local.INFO: Processing buffer {"connection_id":126469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:40:27] local.INFO: IMEI packet received {"connection_id":126469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":126469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:40:32] local.INFO: TCP Data received {"connection_id":126469,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:40:32] local.INFO: Processing buffer {"connection_id":126469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:40:32] local.INFO: IMEI packet received {"connection_id":126469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":126469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:40:33] local.INFO: TCP Data received {"connection_id":126469,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:40:33] local.INFO: Processing buffer {"connection_id":126469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:40:33] local.INFO: Packet analysis {"connection_id":126469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:40:33] local.INFO: Extracted packet for processing {"connection_id":126469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553282304001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783411557000,"timestamp_ms":1783411557000,"timestamp_seconds":1783411557,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9cc288"} 
[2026-07-07 13:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:40: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":96,"data_length":795,"current_offset":136} 
[2026-07-07 13:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553282304001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553282304001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:40:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:40:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553282304001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":126469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:40:33] local.INFO: GPS data processed {"connection_id":126469,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:40:33] local.INFO: Acknowledgment sent {"connection_id":126469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:40:34] local.INFO: TCP Data received {"connection_id":125234,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9f79d8012d891640058d7c18000700522d..."} 
[2026-07-07 13:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9f79d8012d891640058d7c18000700522d..."} 
[2026-07-07 13:40:34] local.INFO: Processing buffer {"connection_id":125234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9f79d8012d891640058d7c18000700522d..."} 
[2026-07-07 13:40:34] local.INFO: Packet analysis {"connection_id":125234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9f"} 
[2026-07-07 13:40:34] local.INFO: Extracted packet for processing {"connection_id":125234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9f"} 
[2026-07-07 13:40:34] local.INFO: GPS Element Parsed {"raw_longitude":763958848,"raw_latitude":93158424,"longitude_deg":76.3958848,"latitude_deg":9.3158424,"altitude":7,"angle":82,"satellites":45,"speed":35,"hex_longitude":"2d891640","hex_latitude":"058d7c18","is_valid_coordinates":true} 
[2026-07-07 13:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553401600001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341262098292015104,"note":"Value kept but may cause issues"} 
[2026-07-07 13:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8578512841362362368,"note":"Value kept but may cause issues"} 
[2026-07-07 13:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783411735000,"timestamp_ms":1783411735000,"timestamp_seconds":1783411735,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9f79d8"} 
[2026-07-07 13:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:40: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-07-07 13:40: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":119,"data_length":795,"current_offset":136} 
[2026-07-07 13:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553401600001,"66":27865,"15":206,"85":14080,"24":35,"16":341262098292015104,"45":-8578512841362362368},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553401600001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:40:34] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:40:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341262098292015104,"km_value":341262098292015.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8578512841362362368,"description":"Unknown IO ID 45"} 
[2026-07-07 13:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553401600001,"power":27865,"unknown_15":206,"unknown_85":14080,"ignition":35,"odometer":null,"unknown_45":-8578512841362362368}} 
[2026-07-07 13:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":125234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:40:34] local.INFO: GPS data processed {"connection_id":125234,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:40:34] local.INFO: Acknowledgment sent {"connection_id":125234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:40:38] local.INFO: TCP Data received {"connection_id":126469,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:40:38] local.INFO: Processing buffer {"connection_id":126469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9cc288012d196940071fec58003200671e..."} 
[2026-07-07 13:40:38] local.INFO: Packet analysis {"connection_id":126469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:40:38] local.INFO: Extracted packet for processing {"connection_id":126469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9c"} 
[2026-07-07 13:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553282304001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783411557000,"timestamp_ms":1783411557000,"timestamp_seconds":1783411557,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9cc288"} 
[2026-07-07 13:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 13:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553282304001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553282304001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:40:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:40:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553282304001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":126469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:40:38] local.INFO: GPS data processed {"connection_id":126469,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:40:38] local.INFO: Acknowledgment sent {"connection_id":126469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:40:59] local.INFO: TCP Data received {"connection_id":124510,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:40:59] local.INFO: Processing buffer {"connection_id":124510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:40:59] local.INFO: IMEI packet received {"connection_id":124510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":124510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:41:00] local.INFO: TCP Data received {"connection_id":124510,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:41:00] local.INFO: Processing buffer {"connection_id":124510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:41:00] local.INFO: IMEI packet received {"connection_id":124510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":124510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:41:04] local.INFO: TCP Data received {"connection_id":124510,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:41:04] local.INFO: Processing buffer {"connection_id":124510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:41:04] local.INFO: IMEI packet received {"connection_id":124510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":124510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:41:05] local.INFO: TCP Data received {"connection_id":124510,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b9fa0e8012d893940058d7ff8000700532d..."} 
[2026-07-07 13:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b9fa0e8012d893940058d7ff8000700532d..."} 
[2026-07-07 13:41:05] local.INFO: Processing buffer {"connection_id":124510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b9fa0e8012d893940058d7ff8000700532d..."} 
[2026-07-07 13:41:05] local.INFO: Packet analysis {"connection_id":124510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b9f"} 
[2026-07-07 13:41:05] local.INFO: Extracted packet for processing {"connection_id":124510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b9f"} 
[2026-07-07 13:41:05] local.INFO: GPS Element Parsed {"raw_longitude":763967808,"raw_latitude":93159416,"longitude_deg":76.3967808,"latitude_deg":9.3159416,"altitude":7,"angle":83,"satellites":45,"speed":37,"hex_longitude":"2d893940","hex_latitude":"058d7ff8","is_valid_coordinates":true} 
[2026-07-07 13:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553404160001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341262532083712000,"note":"Value kept but may cause issues"} 
[2026-07-07 13:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8568590848433055744,"note":"Value kept but may cause issues"} 
[2026-07-07 13:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783411745000,"timestamp_ms":1783411745000,"timestamp_seconds":1783411745,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b9fa0e8"} 
[2026-07-07 13:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 13:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553404160001,"66":27865,"15":206,"85":14080,"24":37,"16":341262532083712000,"45":-8568590848433055744},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553404160001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:41:05] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:41:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341262532083712000,"km_value":341262532083712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8568590848433055744,"description":"Unknown IO ID 45"} 
[2026-07-07 13:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553404160001,"power":27865,"unknown_15":206,"unknown_85":14080,"ignition":37,"odometer":null,"unknown_45":-8568590848433055744}} 
[2026-07-07 13:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":124510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:41:05] local.INFO: GPS data processed {"connection_id":124510,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:41:05] local.INFO: Acknowledgment sent {"connection_id":124510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:41:21] local.INFO: TCP Data received {"connection_id":126470,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:41:21] local.INFO: Processing buffer {"connection_id":126470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:41:21] local.INFO: IMEI packet received {"connection_id":126470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":126470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:41:26] local.INFO: TCP Data received {"connection_id":126470,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:41:26] local.INFO: Processing buffer {"connection_id":126470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:41:26] local.INFO: IMEI packet received {"connection_id":126470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":126470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:41:29] local.INFO: TCP Data received {"connection_id":126470,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:41:29] local.INFO: Processing buffer {"connection_id":126470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:41:29] local.INFO: Packet analysis {"connection_id":126470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:41:29] local.INFO: Extracted packet for processing {"connection_id":126470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:41:29] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553358592001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783411853000,"timestamp_ms":1783411853000,"timestamp_seconds":1783411853,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba146c8"} 
[2026-07-07 13:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":126470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":126470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":126470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553358592001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553358592001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:41:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:41:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553358592001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":126470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:41:29] local.INFO: GPS data processed {"connection_id":126470,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:41:29] local.INFO: Acknowledgment sent {"connection_id":126470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:41:36] local.INFO: TCP Data received {"connection_id":124510,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba11400012d8a6640058d9d10000800562d..."} 
[2026-07-07 13:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba11400012d8a6640058d9d10000800562d..."} 
[2026-07-07 13:41:36] local.INFO: Processing buffer {"connection_id":124510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba11400012d8a6640058d9d10000800562d..."} 
[2026-07-07 13:41:36] local.INFO: Packet analysis {"connection_id":124510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:41:36] local.INFO: Extracted packet for processing {"connection_id":124510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:41:36] local.INFO: GPS Element Parsed {"raw_longitude":764044864,"raw_latitude":93166864,"longitude_deg":76.4044864,"latitude_deg":9.3166864,"altitude":8,"angle":86,"satellites":45,"speed":43,"hex_longitude":"2d8a6640","hex_latitude":"058d9d10","is_valid_coordinates":true} 
[2026-07-07 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-07-07 13:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553428736001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341266251525390336,"note":"Value kept but may cause issues"} 
[2026-07-07 13:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8484500199138717696,"note":"Value kept but may cause issues"} 
[2026-07-07 13:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783411840000,"timestamp_ms":1783411840000,"timestamp_seconds":1783411840,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba11400"} 
[2026-07-07 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-07-07 13:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 13:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 13:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553428736001,"66":27908,"15":206,"85":14080,"24":43,"16":341266251525390336,"45":-8484500199138717696},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553428736001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:41:36] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:41:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341266251525390336,"km_value":341266251525390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8484500199138717696,"description":"Unknown IO ID 45"} 
[2026-07-07 13:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553428736001,"power":27908,"unknown_15":206,"unknown_85":14080,"ignition":43,"odometer":null,"unknown_45":-8484500199138717696}} 
[2026-07-07 13:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":124510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:41:36] local.INFO: GPS data processed {"connection_id":124510,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:41:36] local.INFO: Acknowledgment sent {"connection_id":124510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:42:00] local.INFO: TCP Data received {"connection_id":126470,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:42:00] local.INFO: Processing buffer {"connection_id":126470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:42:00] local.INFO: Packet analysis {"connection_id":126470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:42:00] local.INFO: Extracted packet for processing {"connection_id":126470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:42:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553358592001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:42: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-07-07 13:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783411853000,"timestamp_ms":1783411853000,"timestamp_seconds":1783411853,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba146c8"} 
[2026-07-07 13:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553358592001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553358592001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:42:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:42:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553358592001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":126470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:42:00] local.INFO: GPS data processed {"connection_id":126470,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:42:00] local.INFO: Acknowledgment sent {"connection_id":126470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:42:01] local.INFO: TCP Data received {"connection_id":124419,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:42:01] local.INFO: Processing buffer {"connection_id":124419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:42:01] local.INFO: IMEI packet received {"connection_id":124419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":124419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:42:02] local.INFO: TCP Data received {"connection_id":124419,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:42:02] local.INFO: Processing buffer {"connection_id":124419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:42:02] local.INFO: IMEI packet received {"connection_id":124419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":124419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:42:06] local.INFO: TCP Data received {"connection_id":124419,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:42:06] local.INFO: Processing buffer {"connection_id":124419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:42:06] local.INFO: IMEI packet received {"connection_id":124419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":124419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:42:07] local.INFO: TCP Data received {"connection_id":124419,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba13340012d8a8a40058d9e08000900592d..."} 
[2026-07-07 13:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba13340012d8a8a40058d9e08000900592d..."} 
[2026-07-07 13:42:07] local.INFO: Processing buffer {"connection_id":124419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba13340012d8a8a40058d9e08000900592d..."} 
[2026-07-07 13:42:07] local.INFO: Packet analysis {"connection_id":124419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:42:07] local.INFO: Extracted packet for processing {"connection_id":124419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:42:07] local.INFO: GPS Element Parsed {"raw_longitude":764054080,"raw_latitude":93167112,"longitude_deg":76.405408,"latitude_deg":9.3167112,"altitude":9,"angle":89,"satellites":45,"speed":47,"hex_longitude":"2d8a8a40","hex_latitude":"058d9e08","is_valid_coordinates":true} 
[2026-07-07 13:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553431040001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341266693907021824,"note":"Value kept but may cause issues"} 
[2026-07-07 13:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8474015256256114688,"note":"Value kept but may cause issues"} 
[2026-07-07 13:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783411848000,"timestamp_ms":1783411848000,"timestamp_seconds":1783411848,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba13340"} 
[2026-07-07 13:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:42: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-07-07 13:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 13:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553431040001,"66":27865,"15":206,"85":14080,"24":47,"16":341266693907021824,"45":-8474015256256114688},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553431040001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:42:07] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:42:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341266693907021824,"km_value":341266693907021.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8474015256256114688,"description":"Unknown IO ID 45"} 
[2026-07-07 13:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553431040001,"power":27865,"unknown_15":206,"unknown_85":14080,"ignition":47,"odometer":null,"unknown_45":-8474015256256114688}} 
[2026-07-07 13:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":124419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:42:07] local.INFO: GPS data processed {"connection_id":124419,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:42:07] local.INFO: Acknowledgment sent {"connection_id":124419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:42:09] local.INFO: TCP Data received {"connection_id":124419,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba15280012d8ab080058d9be00009005f2d..."} 
[2026-07-07 13:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba15280012d8ab080058d9be00009005f2d..."} 
[2026-07-07 13:42:09] local.INFO: Processing buffer {"connection_id":124419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba15280012d8ab080058d9be00009005f2d..."} 
[2026-07-07 13:42:09] local.INFO: Packet analysis {"connection_id":124419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:42:09] local.INFO: Extracted packet for processing {"connection_id":124419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:42:09] local.INFO: GPS Element Parsed {"raw_longitude":764063872,"raw_latitude":93166560,"longitude_deg":76.4063872,"latitude_deg":9.316656,"altitude":9,"angle":95,"satellites":45,"speed":48,"hex_longitude":"2d8ab080","hex_latitude":"058d9be0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 13:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553433088001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341267162058457088,"note":"Value kept but may cause issues"} 
[2026-07-07 13:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8463882157094467584,"note":"Value kept but may cause issues"} 
[2026-07-07 13:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783411856000,"timestamp_ms":1783411856000,"timestamp_seconds":1783411856,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba15280"} 
[2026-07-07 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-07-07 13:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 13:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 13:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553433088001,"66":27876,"15":206,"85":14080,"24":48,"16":341267162058457088,"45":-8463882157094467584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553433088001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:42:09] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341267162058457088,"km_value":341267162058457.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8463882157094467584,"description":"Unknown IO ID 45"} 
[2026-07-07 13:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553433088001,"power":27876,"unknown_15":206,"unknown_85":14080,"ignition":48,"odometer":null,"unknown_45":-8463882157094467584}} 
[2026-07-07 13:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":124419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:42:09] local.INFO: GPS data processed {"connection_id":124419,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:42:09] local.INFO: Acknowledgment sent {"connection_id":124419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:42:26] local.INFO: TCP Data received {"connection_id":124511,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:42:26] local.INFO: Processing buffer {"connection_id":124511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:42:26] local.INFO: IMEI packet received {"connection_id":124511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":124511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:42:32] local.INFO: TCP Data received {"connection_id":124511,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:42:32] local.INFO: Processing buffer {"connection_id":124511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:42:32] local.INFO: IMEI packet received {"connection_id":124511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":124511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:42:38] local.INFO: TCP Data received {"connection_id":124511,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:42:38] local.INFO: Processing buffer {"connection_id":124511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:42:38] local.INFO: Packet analysis {"connection_id":124511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:42:38] local.INFO: Extracted packet for processing {"connection_id":124511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13: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-07-07 13:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553358592001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13: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-07-07 13:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783411853000,"timestamp_ms":1783411853000,"timestamp_seconds":1783411853,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba146c8"} 
[2026-07-07 13:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13: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-07-07 13:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553358592001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553358592001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:42:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:42:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553358592001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":124511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:42:38] local.INFO: GPS data processed {"connection_id":124511,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:42:38] local.INFO: Acknowledgment sent {"connection_id":124511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:42:40] local.INFO: TCP Data received {"connection_id":124511,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:42:40] local.INFO: Processing buffer {"connection_id":124511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:42:40] local.INFO: Packet analysis {"connection_id":124511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:42:40] local.INFO: Extracted packet for processing {"connection_id":124511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:42:40] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553358592001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13: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-07-07 13:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783411853000,"timestamp_ms":1783411853000,"timestamp_seconds":1783411853,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba146c8"} 
[2026-07-07 13:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553358592001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553358592001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:42:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:42:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553358592001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":124511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:42:40] local.INFO: GPS data processed {"connection_id":124511,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:42:40] local.INFO: Acknowledgment sent {"connection_id":124511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:42:44] local.INFO: TCP Data received {"connection_id":124419,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba171c0012d8ad640058d97c8000a00602d..."} 
[2026-07-07 13:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba171c0012d8ad640058d97c8000a00602d..."} 
[2026-07-07 13:42:44] local.INFO: Processing buffer {"connection_id":124419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba171c0012d8ad640058d97c8000a00602d..."} 
[2026-07-07 13:42:44] local.INFO: Packet analysis {"connection_id":124419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:42:44] local.INFO: Extracted packet for processing {"connection_id":124419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:42:44] local.INFO: GPS Element Parsed {"raw_longitude":764073536,"raw_latitude":93165512,"longitude_deg":76.4073536,"latitude_deg":9.3165512,"altitude":10,"angle":96,"satellites":45,"speed":48,"hex_longitude":"2d8ad640","hex_latitude":"058d97c8","is_valid_coordinates":true} 
[2026-07-07 13:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553435136001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341267630209892352,"note":"Value kept but may cause issues"} 
[2026-07-07 13:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8453115739235426304,"note":"Value kept but may cause issues"} 
[2026-07-07 13:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783411864000,"timestamp_ms":1783411864000,"timestamp_seconds":1783411864,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba171c0"} 
[2026-07-07 13:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13: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-07-07 13:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 13:42: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-07-07 13:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553435136001,"66":27800,"15":206,"85":14080,"24":48,"16":341267630209892352,"45":-8453115739235426304},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-07 13:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553435136001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:42:44] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 13:42:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341267630209892352,"km_value":341267630209892.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8453115739235426304,"description":"Unknown IO ID 45"} 
[2026-07-07 13:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553435136001,"power":27800,"unknown_15":206,"unknown_85":14080,"ignition":48,"odometer":null,"unknown_45":-8453115739235426304}} 
[2026-07-07 13:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":124419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:42:44] local.INFO: GPS data processed {"connection_id":124419,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:42:44] local.INFO: Acknowledgment sent {"connection_id":124419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:42:59] local.INFO: TCP Data received {"connection_id":126471,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:42:59] local.INFO: Processing buffer {"connection_id":126471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:42:59] local.INFO: IMEI packet received {"connection_id":126471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":126471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:42:59] local.INFO: TCP Data received {"connection_id":126471,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:42:59] local.INFO: Processing buffer {"connection_id":126471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:42:59] local.INFO: IMEI packet received {"connection_id":126471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":126471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:43:04] local.INFO: TCP Data received {"connection_id":126471,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:43:04] local.INFO: Processing buffer {"connection_id":126471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:43:04] local.INFO: IMEI packet received {"connection_id":126471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":126471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:43:05] local.INFO: TCP Data received {"connection_id":126471,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba19100012d8afac0058d93b0000b00622d..."} 
[2026-07-07 13:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba19100012d8afac0058d93b0000b00622d..."} 
[2026-07-07 13:43:05] local.INFO: Processing buffer {"connection_id":126471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba19100012d8afac0058d93b0000b00622d..."} 
[2026-07-07 13:43:05] local.INFO: Packet analysis {"connection_id":126471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:43:05] local.INFO: Extracted packet for processing {"connection_id":126471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:43:05] local.INFO: GPS Element Parsed {"raw_longitude":764082880,"raw_latitude":93164464,"longitude_deg":76.408288,"latitude_deg":9.3164464,"altitude":11,"angle":98,"satellites":45,"speed":41,"hex_longitude":"2d8afac0","hex_latitude":"058d93b0","is_valid_coordinates":true} 
[2026-07-07 13:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553437184001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341268076886491136,"note":"Value kept but may cause issues"} 
[2026-07-07 13:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8442490058864867328,"note":"Value kept but may cause issues"} 
[2026-07-07 13:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783411872000,"timestamp_ms":1783411872000,"timestamp_seconds":1783411872,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba19100"} 
[2026-07-07 13:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 13:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553437184001,"66":27843,"14":206,"85":14080,"24":41,"16":341268076886491136,"45":-8442490058864867328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-07-07 13:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553437184001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:43:05] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 13:43:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341268076886491136,"km_value":341268076886491.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8442490058864867328,"description":"Unknown IO ID 45"} 
[2026-07-07 13:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553437184001,"power":27843,"unknown_14":206,"unknown_85":14080,"ignition":41,"odometer":null,"unknown_45":-8442490058864867328}} 
[2026-07-07 13:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":126471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:43:05] local.INFO: GPS data processed {"connection_id":126471,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:43:05] local.INFO: Acknowledgment sent {"connection_id":126471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:43:21] local.INFO: TCP Data received {"connection_id":124421,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:43:21] local.INFO: Processing buffer {"connection_id":124421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:43:21] local.INFO: IMEI packet received {"connection_id":124421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":124421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:43:27] local.INFO: TCP Data received {"connection_id":124421,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:43:27] local.INFO: Processing buffer {"connection_id":124421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:43:27] local.INFO: IMEI packet received {"connection_id":124421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":124421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:43:30] local.INFO: TCP Data received {"connection_id":124421,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:43:30] local.INFO: Processing buffer {"connection_id":124421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:43:30] local.INFO: Packet analysis {"connection_id":124421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:43:30] local.INFO: Extracted packet for processing {"connection_id":124421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:43:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553358592001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:43: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-07-07 13:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783411853000,"timestamp_ms":1783411853000,"timestamp_seconds":1783411853,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba146c8"} 
[2026-07-07 13:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553358592001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553358592001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:43:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:43:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553358592001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":124421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:43:30] local.INFO: GPS data processed {"connection_id":124421,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:43:30] local.INFO: Acknowledgment sent {"connection_id":124421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:43:36] local.INFO: TCP Data received {"connection_id":126471,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba1bbf8012d8b20c0058d8e98000b00612d..."} 
[2026-07-07 13:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba1bbf8012d8b20c0058d8e98000b00612d..."} 
[2026-07-07 13:43:36] local.INFO: Processing buffer {"connection_id":126471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba1bbf8012d8b20c0058d8e98000b00612d..."} 
[2026-07-07 13:43:36] local.INFO: Packet analysis {"connection_id":126471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:43:36] local.INFO: Extracted packet for processing {"connection_id":126471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:43:36] local.INFO: GPS Element Parsed {"raw_longitude":764092608,"raw_latitude":93163160,"longitude_deg":76.4092608,"latitude_deg":9.316316,"altitude":11,"angle":97,"satellites":45,"speed":36,"hex_longitude":"2d8b20c0","hex_latitude":"058d8e98","is_valid_coordinates":true} 
[2026-07-07 13:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553439232001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341268549332893696,"note":"Value kept but may cause issues"} 
[2026-07-07 13:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8432216222215196672,"note":"Value kept but may cause issues"} 
[2026-07-07 13:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783411883000,"timestamp_ms":1783411883000,"timestamp_seconds":1783411883,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba1bbf8"} 
[2026-07-07 13:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:43: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-07-07 13:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 13:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553439232001,"66":27865,"14":206,"85":14080,"24":36,"16":341268549332893696,"45":-8432216222215196672},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-07-07 13:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553439232001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:43:36] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-07 13:43:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341268549332893696,"km_value":341268549332893.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8432216222215196672,"description":"Unknown IO ID 45"} 
[2026-07-07 13:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553439232001,"power":27865,"unknown_14":206,"unknown_85":14080,"ignition":36,"odometer":null,"unknown_45":-8432216222215196672}} 
[2026-07-07 13:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":126471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:43:36] local.INFO: GPS data processed {"connection_id":126471,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:43:36] local.INFO: Acknowledgment sent {"connection_id":126471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:44:03] local.INFO: TCP Data received {"connection_id":124421,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:44:03] local.INFO: Processing buffer {"connection_id":124421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:44:03] local.INFO: Packet analysis {"connection_id":124421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:44:03] local.INFO: Extracted packet for processing {"connection_id":124421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:44:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553358592001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783411853000,"timestamp_ms":1783411853000,"timestamp_seconds":1783411853,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba146c8"} 
[2026-07-07 13:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553358592001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553358592001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:44:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:44:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553358592001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":124421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:44:03] local.INFO: GPS data processed {"connection_id":124421,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:44:03] local.INFO: Acknowledgment sent {"connection_id":124421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:44:04] local.INFO: TCP Data received {"connection_id":124512,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:44:04] local.INFO: Processing buffer {"connection_id":124512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:44:04] local.INFO: IMEI packet received {"connection_id":124512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":124512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:44:07] local.INFO: TCP Data received {"connection_id":124512,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:44:07] local.INFO: Processing buffer {"connection_id":124512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:44:07] local.INFO: IMEI packet received {"connection_id":124512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":124512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:44:08] local.INFO: TCP Data received {"connection_id":124512,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba332f8012d8cb400058dc370000700452d..."} 
[2026-07-07 13:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba332f8012d8cb400058dc370000700452d..."} 
[2026-07-07 13:44:08] local.INFO: Processing buffer {"connection_id":124512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba332f8012d8cb400058dc370000700452d..."} 
[2026-07-07 13:44:08] local.INFO: Packet analysis {"connection_id":124512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba3"} 
[2026-07-07 13:44:08] local.INFO: Extracted packet for processing {"connection_id":124512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba3"} 
[2026-07-07 13:44:08] local.INFO: GPS Element Parsed {"raw_longitude":764195840,"raw_latitude":93176688,"longitude_deg":76.419584,"latitude_deg":9.3176688,"altitude":7,"angle":69,"satellites":45,"speed":42,"hex_longitude":"2d8cb400","hex_latitude":"058dc370","is_valid_coordinates":true} 
[2026-07-07 13:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553464320001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341273617394302976,"note":"Value kept but may cause issues"} 
[2026-07-07 13:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8317726275435849728,"note":"Value kept but may cause issues"} 
[2026-07-07 13:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783411979000,"timestamp_ms":1783411979000,"timestamp_seconds":1783411979,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba332f8"} 
[2026-07-07 13:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 13:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553464320001,"66":27974,"213":206,"85":14080,"24":42,"16":341273617394302976,"45":-8317726275435849728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-07-07 13:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553464320001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:44:08] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-07 13:44:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341273617394302976,"km_value":341273617394303.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8317726275435849728,"description":"Unknown IO ID 45"} 
[2026-07-07 13:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553464320001,"power":27974,"unknown_213":206,"unknown_85":14080,"ignition":42,"odometer":null,"unknown_45":-8317726275435849728}} 
[2026-07-07 13:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":124512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:44:08] local.INFO: GPS data processed {"connection_id":124512,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:44:08] local.INFO: Acknowledgment sent {"connection_id":124512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:44:13] local.INFO: TCP Data received {"connection_id":124512,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba35238012d8cd580058dcf68000600462c..."} 
[2026-07-07 13:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba35238012d8cd580058dcf68000600462c..."} 
[2026-07-07 13:44:13] local.INFO: Processing buffer {"connection_id":124512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba35238012d8cd580058dcf68000600462c..."} 
[2026-07-07 13:44:13] local.INFO: Packet analysis {"connection_id":124512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba3"} 
[2026-07-07 13:44:13] local.INFO: Extracted packet for processing {"connection_id":124512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba3"} 
[2026-07-07 13:44:13] local.INFO: GPS Element Parsed {"raw_longitude":764204416,"raw_latitude":93179752,"longitude_deg":76.4204416,"latitude_deg":9.3179752,"altitude":6,"angle":70,"satellites":44,"speed":47,"hex_longitude":"2d8cd580","hex_latitude":"058dcf68","is_valid_coordinates":true} 
[2026-07-07 13: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-07-07 13:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553466624001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341274055480967168,"note":"Value kept but may cause issues"} 
[2026-07-07 13:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8308015388738490368,"note":"Value kept but may cause issues"} 
[2026-07-07 13:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783411987000,"timestamp_ms":1783411987000,"timestamp_seconds":1783411987,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba35238"} 
[2026-07-07 13:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13: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-07-07 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 13:44: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-07-07 13: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-07-07 13:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553466624001,"66":27930,"213":206,"85":14080,"24":47,"16":341274055480967168,"45":-8308015388738490368},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-07-07 13:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553466624001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:44:13] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-07 13:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341274055480967168,"km_value":341274055480967.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8308015388738490368,"description":"Unknown IO ID 45"} 
[2026-07-07 13:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553466624001,"power":27930,"unknown_213":206,"unknown_85":14080,"ignition":47,"odometer":null,"unknown_45":-8308015388738490368}} 
[2026-07-07 13:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":124512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:44:13] local.INFO: GPS data processed {"connection_id":124512,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:44:13] local.INFO: Acknowledgment sent {"connection_id":124512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:44:22] local.INFO: TCP Data received {"connection_id":124423,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:44:22] local.INFO: Processing buffer {"connection_id":124423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:44:22] local.INFO: IMEI packet received {"connection_id":124423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":124423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:44:27] local.INFO: TCP Data received {"connection_id":124423,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:44:27] local.INFO: Processing buffer {"connection_id":124423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:44:27] local.INFO: IMEI packet received {"connection_id":124423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":124423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:44:28] local.INFO: TCP Data received {"connection_id":124423,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:44:28] local.INFO: Processing buffer {"connection_id":124423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:44:28] local.INFO: Packet analysis {"connection_id":124423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:44:28] local.INFO: Extracted packet for processing {"connection_id":124423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:44:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553358592001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:44: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-07-07 13:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783411853000,"timestamp_ms":1783411853000,"timestamp_seconds":1783411853,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba146c8"} 
[2026-07-07 13:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553358592001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553358592001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:44:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:44:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553358592001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":124423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:44:28] local.INFO: GPS data processed {"connection_id":124423,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:44:28] local.INFO: Acknowledgment sent {"connection_id":124423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:44:44] local.INFO: TCP Data received {"connection_id":124512,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba37178012d8cf940058ddb98000600472d..."} 
[2026-07-07 13:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba37178012d8cf940058ddb98000600472d..."} 
[2026-07-07 13:44:44] local.INFO: Processing buffer {"connection_id":124512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba37178012d8cf940058ddb98000600472d..."} 
[2026-07-07 13:44:44] local.INFO: Packet analysis {"connection_id":124512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba3"} 
[2026-07-07 13:44:44] local.INFO: Extracted packet for processing {"connection_id":124512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba3"} 
[2026-07-07 13:44:44] local.INFO: GPS Element Parsed {"raw_longitude":764213568,"raw_latitude":93182872,"longitude_deg":76.4213568,"latitude_deg":9.3182872,"altitude":6,"angle":71,"satellites":45,"speed":46,"hex_longitude":"2d8cf940","hex_latitude":"058ddb98","is_valid_coordinates":true} 
[2026-07-07 13:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553468672001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341274515042467840,"note":"Value kept but may cause issues"} 
[2026-07-07 13:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8298585977017899008,"note":"Value kept but may cause issues"} 
[2026-07-07 13:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783411995000,"timestamp_ms":1783411995000,"timestamp_seconds":1783411995,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba37178"} 
[2026-07-07 13:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 13:44: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-07-07 13:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553468672001,"66":27484,"213":206,"85":14080,"24":46,"16":341274515042467840,"45":-8298585977017899008},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-07-07 13:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553468672001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:44:44] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-07 13:44:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341274515042467840,"km_value":341274515042467.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8298585977017899008,"description":"Unknown IO ID 45"} 
[2026-07-07 13:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553468672001,"power":27484,"unknown_213":206,"unknown_85":14080,"ignition":46,"odometer":null,"unknown_45":-8298585977017899008}} 
[2026-07-07 13:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":124512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:44:44] local.INFO: GPS data processed {"connection_id":124512,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:44:44] local.INFO: Acknowledgment sent {"connection_id":124512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:44:59] local.INFO: TCP Data received {"connection_id":126473,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:44:59] local.INFO: Processing buffer {"connection_id":126473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:44:59] local.INFO: IMEI packet received {"connection_id":126473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":126473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:45:00] local.INFO: TCP Data received {"connection_id":126473,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:45:00] local.INFO: Processing buffer {"connection_id":126473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:45:00] local.INFO: IMEI packet received {"connection_id":126473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":126473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:45:00] local.INFO: TCP Data received {"connection_id":124423,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:45:00] local.INFO: Processing buffer {"connection_id":124423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:45:00] local.INFO: Packet analysis {"connection_id":124423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:45:00] local.INFO: Extracted packet for processing {"connection_id":124423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:45:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553358592001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:45: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-07-07 13:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783411853000,"timestamp_ms":1783411853000,"timestamp_seconds":1783411853,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba146c8"} 
[2026-07-07 13:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553358592001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553358592001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:45:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:45:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553358592001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":124423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:45:00] local.INFO: GPS data processed {"connection_id":124423,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:45:00] local.INFO: Acknowledgment sent {"connection_id":124423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:45:04] local.INFO: TCP Data received {"connection_id":126473,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:45:04] local.INFO: Processing buffer {"connection_id":126473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:45:04] local.INFO: IMEI packet received {"connection_id":126473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":126473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:45:04] local.INFO: TCP Data received {"connection_id":126473,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba38500012d8d0e80058de070000600542d..."} 
[2026-07-07 13:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba38500012d8d0e80058de070000600542d..."} 
[2026-07-07 13:45:04] local.INFO: Processing buffer {"connection_id":126473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba38500012d8d0e80058de070000600542d..."} 
[2026-07-07 13:45:04] local.INFO: Packet analysis {"connection_id":126473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba3"} 
[2026-07-07 13:45:04] local.INFO: Extracted packet for processing {"connection_id":126473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba3"} 
[2026-07-07 13:45:04] local.INFO: GPS Element Parsed {"raw_longitude":764219008,"raw_latitude":93184112,"longitude_deg":76.4219008,"latitude_deg":9.3184112,"altitude":6,"angle":84,"satellites":45,"speed":41,"hex_longitude":"2d8d0e80","hex_latitude":"058de070","is_valid_coordinates":true} 
[2026-07-07 13:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553470720001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341274781330440192,"note":"Value kept but may cause issues"} 
[2026-07-07 13:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8288523246599694336,"note":"Value kept but may cause issues"} 
[2026-07-07 13:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783412000000,"timestamp_ms":1783412000000,"timestamp_seconds":1783412000,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba38500"} 
[2026-07-07 13:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 13:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553470720001,"66":27876,"213":206,"85":14080,"24":41,"16":341274781330440192,"45":-8288523246599694336},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-07-07 13:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553470720001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:45:04] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-07 13:45:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341274781330440192,"km_value":341274781330440.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8288523246599694336,"description":"Unknown IO ID 45"} 
[2026-07-07 13:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553470720001,"power":27876,"unknown_213":206,"unknown_85":14080,"ignition":41,"odometer":null,"unknown_45":-8288523246599694336}} 
[2026-07-07 13:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":126473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:45:04] local.INFO: GPS data processed {"connection_id":126473,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:45:04] local.INFO: Acknowledgment sent {"connection_id":126473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:45:07] local.INFO: TCP Data received {"connection_id":126473,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba3a828012d8d32c0058de7e80008004b2d..."} 
[2026-07-07 13:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba3a828012d8d32c0058de7e80008004b2d..."} 
[2026-07-07 13:45:07] local.INFO: Processing buffer {"connection_id":126473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba3a828012d8d32c0058de7e80008004b2d..."} 
[2026-07-07 13:45:07] local.INFO: Packet analysis {"connection_id":126473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba3"} 
[2026-07-07 13:45:07] local.INFO: Extracted packet for processing {"connection_id":126473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba3"} 
[2026-07-07 13:45:07] local.INFO: GPS Element Parsed {"raw_longitude":764228288,"raw_latitude":93186024,"longitude_deg":76.4228288,"latitude_deg":9.3186024,"altitude":8,"angle":75,"satellites":45,"speed":41,"hex_longitude":"2d8d32c0","hex_latitude":"058de7e8","is_valid_coordinates":true} 
[2026-07-07 13:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553472000001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341275240891940864,"note":"Value kept but may cause issues"} 
[2026-07-07 13:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8282541903344275456,"note":"Value kept but may cause issues"} 
[2026-07-07 13:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783412009000,"timestamp_ms":1783412009000,"timestamp_seconds":1783412009,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba3a828"} 
[2026-07-07 13:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:45: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-07-07 13:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 13:45: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-07-07 13:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553472000001,"66":27691,"211":206,"85":14080,"24":41,"16":341275240891940864,"45":-8282541903344275456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,45]} 
[2026-07-07 13:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553472000001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:45:07] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-07 13:45:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341275240891940864,"km_value":341275240891940.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8282541903344275456,"description":"Unknown IO ID 45"} 
[2026-07-07 13:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553472000001,"power":27691,"unknown_211":206,"unknown_85":14080,"ignition":41,"odometer":null,"unknown_45":-8282541903344275456}} 
[2026-07-07 13:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":126473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:45:07] local.INFO: GPS data processed {"connection_id":126473,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:45:07] local.INFO: Acknowledgment sent {"connection_id":126473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:45:21] local.INFO: TCP Data received {"connection_id":126474,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:45:21] local.INFO: Processing buffer {"connection_id":126474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:45:21] local.INFO: IMEI packet received {"connection_id":126474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":126474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:45:27] local.INFO: TCP Data received {"connection_id":126474,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:45:27] local.INFO: Processing buffer {"connection_id":126474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:45:27] local.INFO: IMEI packet received {"connection_id":126474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":126474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:45:28] local.INFO: TCP Data received {"connection_id":126474,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:45:28] local.INFO: Processing buffer {"connection_id":126474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:45:28] local.INFO: Packet analysis {"connection_id":126474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:45:28] local.INFO: Extracted packet for processing {"connection_id":126474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:45:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553358592001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:45: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-07-07 13:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783411853000,"timestamp_ms":1783411853000,"timestamp_seconds":1783411853,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba146c8"} 
[2026-07-07 13:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553358592001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553358592001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:45:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:45:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553358592001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":126474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:45:28] local.INFO: GPS data processed {"connection_id":126474,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:45:28] local.INFO: Acknowledgment sent {"connection_id":126474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:45:34] local.INFO: TCP Data received {"connection_id":125235,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:45:34] local.INFO: Processing buffer {"connection_id":125235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:45:34] local.INFO: IMEI packet received {"connection_id":125235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":125235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:45:39] local.INFO: TCP Data received {"connection_id":126473,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba4c938012d8e2a80058d1ed8000700962d..."} 
[2026-07-07 13:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba4c938012d8e2a80058d1ed8000700962d..."} 
[2026-07-07 13:45:39] local.INFO: Processing buffer {"connection_id":126473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba4c938012d8e2a80058d1ed8000700962d..."} 
[2026-07-07 13:45:39] local.INFO: Packet analysis {"connection_id":126473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba4"} 
[2026-07-07 13:45:39] local.INFO: Extracted packet for processing {"connection_id":126473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba4"} 
[2026-07-07 13:45:39] local.INFO: GPS Element Parsed {"raw_longitude":764291712,"raw_latitude":93134552,"longitude_deg":76.4291712,"latitude_deg":9.3134552,"altitude":7,"angle":150,"satellites":45,"speed":54,"hex_longitude":"2d8e2a80","hex_latitude":"058d1ed8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 13:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553491456001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341279660413288448,"note":"Value kept but may cause issues"} 
[2026-07-07 13:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8207810297038153728,"note":"Value kept but may cause issues"} 
[2026-07-07 13:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783412083000,"timestamp_ms":1783412083000,"timestamp_seconds":1783412083,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba4c938"} 
[2026-07-07 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-07-07 13:45: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-07-07 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 13:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 13:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553491456001,"66":27930,"18":206,"85":14080,"24":54,"16":341279660413288448,"45":-8207810297038153728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-07 13:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553491456001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:45:39] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-07 13:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341279660413288448,"km_value":341279660413288.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8207810297038153728,"description":"Unknown IO ID 45"} 
[2026-07-07 13:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553491456001,"power":27930,"unknown_18":206,"unknown_85":14080,"ignition":54,"odometer":null,"unknown_45":-8207810297038153728}} 
[2026-07-07 13:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":126473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:45:39] local.INFO: GPS data processed {"connection_id":126473,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:45:39] local.INFO: Acknowledgment sent {"connection_id":126473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:45:59] local.INFO: TCP Data received {"connection_id":124424,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:45:59] local.INFO: Processing buffer {"connection_id":124424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:45:59] local.INFO: IMEI packet received {"connection_id":124424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":124424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:45:59] local.INFO: TCP Data received {"connection_id":125236,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:45:59] local.INFO: Processing buffer {"connection_id":125236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:45:59] local.INFO: IMEI packet received {"connection_id":125236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":125236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:45:59] local.INFO: TCP Data received {"connection_id":125236,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:45:59] local.INFO: Processing buffer {"connection_id":125236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:45:59] local.INFO: IMEI packet received {"connection_id":125236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":125236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:46:00] local.INFO: TCP Data received {"connection_id":126474,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:46:00] local.INFO: Processing buffer {"connection_id":126474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba146c8012d196940071fec580032006725..."} 
[2026-07-07 13:46:00] local.INFO: Packet analysis {"connection_id":126474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:46:00] local.INFO: Extracted packet for processing {"connection_id":126474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba1"} 
[2026-07-07 13:46:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553358592001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:46: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-07-07 13:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783411853000,"timestamp_ms":1783411853000,"timestamp_seconds":1783411853,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba146c8"} 
[2026-07-07 13:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553358592001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553358592001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:46:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:46:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553358592001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":126474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:46:00] local.INFO: GPS data processed {"connection_id":126474,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:46:00] local.INFO: Acknowledgment sent {"connection_id":126474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:46:04] local.INFO: TCP Data received {"connection_id":125236,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:46:04] local.INFO: Processing buffer {"connection_id":125236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:46:04] local.INFO: IMEI packet received {"connection_id":125236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":125236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:46:04] local.INFO: TCP Data received {"connection_id":125236,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba4e490012d8e3c40058cfd90000700972d..."} 
[2026-07-07 13:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba4e490012d8e3c40058cfd90000700972d..."} 
[2026-07-07 13:46:04] local.INFO: Processing buffer {"connection_id":125236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba4e490012d8e3c40058cfd90000700972d..."} 
[2026-07-07 13:46:04] local.INFO: Packet analysis {"connection_id":125236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba4"} 
[2026-07-07 13:46:04] local.INFO: Extracted packet for processing {"connection_id":125236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba4"} 
[2026-07-07 13:46:04] local.INFO: GPS Element Parsed {"raw_longitude":764296256,"raw_latitude":93126032,"longitude_deg":76.4296256,"latitude_deg":9.3126032,"altitude":7,"angle":151,"satellites":45,"speed":55,"hex_longitude":"2d8e3c40","hex_latitude":"058cfd90","is_valid_coordinates":true} 
[2026-07-07 13:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553493248001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341280128564723712,"note":"Value kept but may cause issues"} 
[2026-07-07 13:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8202603009971136512,"note":"Value kept but may cause issues"} 
[2026-07-07 13:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783412090000,"timestamp_ms":1783412090000,"timestamp_seconds":1783412090,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba4e490"} 
[2026-07-07 13:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 13:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553493248001,"66":27930,"18":206,"85":14080,"24":55,"16":341280128564723712,"45":-8202603009971136512},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-07 13:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553493248001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:46:04] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-07 13:46:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341280128564723712,"km_value":341280128564723.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8202603009971136512,"description":"Unknown IO ID 45"} 
[2026-07-07 13:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553493248001,"power":27930,"unknown_18":206,"unknown_85":14080,"ignition":55,"odometer":null,"unknown_45":-8202603009971136512}} 
[2026-07-07 13:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":125236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:46:04] local.INFO: GPS data processed {"connection_id":125236,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:46:04] local.INFO: Acknowledgment sent {"connection_id":125236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:46:06] local.INFO: TCP Data received {"connection_id":124424,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:46:06] local.INFO: Processing buffer {"connection_id":124424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:46:06] local.INFO: IMEI packet received {"connection_id":124424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 13:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":124424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:46:07] local.INFO: TCP Data received {"connection_id":124424,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3b991520012d7fab8005afe9000028015915..."} 
[2026-07-07 13:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3b991520012d7fab8005afe9000028015915..."} 
[2026-07-07 13:46:07] local.INFO: Processing buffer {"connection_id":124424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3b991520012d7fab8005afe9000028015915..."} 
[2026-07-07 13:46:07] local.INFO: Packet analysis {"connection_id":124424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3b99"} 
[2026-07-07 13:46:07] local.INFO: Extracted packet for processing {"connection_id":124424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3b99"} 
[2026-07-07 13:46:07] local.INFO: GPS Element Parsed {"raw_longitude":763341696,"raw_latitude":95414528,"longitude_deg":76.3341696,"latitude_deg":9.5414528,"altitude":40,"angle":345,"satellites":21,"speed":0,"hex_longitude":"2d7fab80","hex_latitude":"05afe900","is_valid_coordinates":true} 
[2026-07-07 13:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553226496001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132039032824659968,"note":"Value kept but may cause issues"} 
[2026-07-07 13:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120929280,"note":"Value kept but may cause issues"} 
[2026-07-07 13:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783411316000,"timestamp_ms":1783411316000,"timestamp_seconds":1783411316,"priority":1,"record_length":96,"hex_timestamp":"0000019f3b991520"} 
[2026-07-07 13:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-07 13:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 13:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 13:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 13:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 13:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553226496001,"66":25430,"249":206,"85":12544,"24":0,"16":132039032824659968,"45":9198109682120929280},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-07 13:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 13:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 13:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553226496001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:46:07] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-07 13:46:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 13:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132039032824659968,"km_value":132039032824659.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120929280,"description":"Unknown IO ID 45"} 
[2026-07-07 13:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553226496001,"power":25430,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120929280}} 
[2026-07-07 13:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":124424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445757,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:46:07] local.INFO: GPS data processed {"connection_id":124424,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:46:07] local.INFO: Acknowledgment sent {"connection_id":124424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:46:26] local.INFO: TCP Data received {"connection_id":125237,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:46:26] local.INFO: Processing buffer {"connection_id":125237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:46:26] local.INFO: IMEI packet received {"connection_id":125237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":125237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:46:31] local.INFO: TCP Data received {"connection_id":125237,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:46:31] local.INFO: Processing buffer {"connection_id":125237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:46:31] local.INFO: IMEI packet received {"connection_id":125237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":125237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:46:33] local.INFO: TCP Data received {"connection_id":125237,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:46:33] local.INFO: Processing buffer {"connection_id":125237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:46:33] local.INFO: Packet analysis {"connection_id":125237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:46:33] local.INFO: Extracted packet for processing {"connection_id":125237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:46:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553434368001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783412151000,"timestamp_ms":1783412151000,"timestamp_seconds":1783412151,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba5d2d8"} 
[2026-07-07 13:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553434368001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553434368001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:46:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:46:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553434368001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":125237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:46:33] local.INFO: GPS data processed {"connection_id":125237,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:46:33] local.INFO: Acknowledgment sent {"connection_id":125237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:46:36] local.INFO: TCP Data received {"connection_id":125236,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba4ffe8012d8e4ec0058cdba0000700972d..."} 
[2026-07-07 13:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba4ffe8012d8e4ec0058cdba0000700972d..."} 
[2026-07-07 13:46:36] local.INFO: Processing buffer {"connection_id":125236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba4ffe8012d8e4ec0058cdba0000700972d..."} 
[2026-07-07 13:46:36] local.INFO: Packet analysis {"connection_id":125236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba4"} 
[2026-07-07 13:46:36] local.INFO: Extracted packet for processing {"connection_id":125236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba4"} 
[2026-07-07 13:46:36] local.INFO: GPS Element Parsed {"raw_longitude":764300992,"raw_latitude":93117344,"longitude_deg":76.4300992,"latitude_deg":9.3117344,"altitude":7,"angle":151,"satellites":45,"speed":56,"hex_longitude":"2d8e4ec0","hex_latitude":"058cdba0","is_valid_coordinates":true} 
[2026-07-07 13:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553495040001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341280605306093568,"note":"Value kept but may cause issues"} 
[2026-07-07 13:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8197606829136703488,"note":"Value kept but may cause issues"} 
[2026-07-07 13:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783412097000,"timestamp_ms":1783412097000,"timestamp_seconds":1783412097,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba4ffe8"} 
[2026-07-07 13:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 13:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553495040001,"66":27995,"18":206,"85":14080,"24":56,"16":341280605306093568,"45":-8197606829136703488},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-07 13:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553495040001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:46:36] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-07 13:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341280605306093568,"km_value":341280605306093.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8197606829136703488,"description":"Unknown IO ID 45"} 
[2026-07-07 13:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553495040001,"power":27995,"unknown_18":206,"unknown_85":14080,"ignition":56,"odometer":null,"unknown_45":-8197606829136703488}} 
[2026-07-07 13:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":125236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:46:36] local.INFO: GPS data processed {"connection_id":125236,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:46:36] local.INFO: Acknowledgment sent {"connection_id":125236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:46:37] local.INFO: TCP Data received {"connection_id":125237,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:46:37] local.INFO: Processing buffer {"connection_id":125237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:46:37] local.INFO: Packet analysis {"connection_id":125237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:46:37] local.INFO: Extracted packet for processing {"connection_id":125237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553434368001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783412151000,"timestamp_ms":1783412151000,"timestamp_seconds":1783412151,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba5d2d8"} 
[2026-07-07 13:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553434368001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553434368001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:46:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:46:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553434368001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":125237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:46:37] local.INFO: GPS data processed {"connection_id":125237,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:46:37] local.INFO: Acknowledgment sent {"connection_id":125237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:46:49] local.INFO: TCP Data received {"connection_id":124513,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:46:49] local.INFO: Processing buffer {"connection_id":124513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:46:49] local.INFO: IMEI packet received {"connection_id":124513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":124513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:47:02] local.INFO: TCP Data received {"connection_id":124514,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:47:02] local.INFO: Processing buffer {"connection_id":124514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:47:02] local.INFO: IMEI packet received {"connection_id":124514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":124514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:47:03] local.INFO: TCP Data received {"connection_id":124514,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:47:03] local.INFO: Processing buffer {"connection_id":124514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:47:03] local.INFO: IMEI packet received {"connection_id":124514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":124514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:47:04] local.INFO: TCP Data received {"connection_id":124514,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba51b40012d8e60c0058cbab8000600952e..."} 
[2026-07-07 13:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba51b40012d8e60c0058cbab8000600952e..."} 
[2026-07-07 13:47:04] local.INFO: Processing buffer {"connection_id":124514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba51b40012d8e60c0058cbab8000600952e..."} 
[2026-07-07 13:47:04] local.INFO: Packet analysis {"connection_id":124514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:47:04] local.INFO: Extracted packet for processing {"connection_id":124514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:47:04] local.INFO: GPS Element Parsed {"raw_longitude":764305600,"raw_latitude":93108920,"longitude_deg":76.43056,"latitude_deg":9.310892,"altitude":6,"angle":149,"satellites":46,"speed":47,"hex_longitude":"2d8e60c0","hex_latitude":"058cbab8","is_valid_coordinates":true} 
[2026-07-07 13:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553496832001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341281069162561536,"note":"Value kept but may cause issues"} 
[2026-07-07 13:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8192399542069780480,"note":"Value kept but may cause issues"} 
[2026-07-07 13:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783412104000,"timestamp_ms":1783412104000,"timestamp_seconds":1783412104,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba51b40"} 
[2026-07-07 13:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 13:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553496832001,"66":27821,"18":206,"85":14080,"24":47,"16":341281069162561536,"45":-8192399542069780480},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-07 13:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553496832001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:47:04] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-07 13:47:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341281069162561536,"km_value":341281069162561.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8192399542069780480,"description":"Unknown IO ID 45"} 
[2026-07-07 13:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553496832001,"power":27821,"unknown_18":206,"unknown_85":14080,"ignition":47,"odometer":null,"unknown_45":-8192399542069780480}} 
[2026-07-07 13:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":124514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:47:04] local.INFO: GPS data processed {"connection_id":124514,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:47:04] local.INFO: Acknowledgment sent {"connection_id":124514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:47:05] local.INFO: TCP Data received {"connection_id":124514,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba53e68012d8e7540058c9ab0000600992e..."} 
[2026-07-07 13:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba53e68012d8e7540058c9ab0000600992e..."} 
[2026-07-07 13:47:05] local.INFO: Processing buffer {"connection_id":124514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba53e68012d8e7540058c9ab0000600992e..."} 
[2026-07-07 13:47:05] local.INFO: Packet analysis {"connection_id":124514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:47:05] local.INFO: Extracted packet for processing {"connection_id":124514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:47:05] local.INFO: GPS Element Parsed {"raw_longitude":764310848,"raw_latitude":93100720,"longitude_deg":76.4310848,"latitude_deg":9.310072,"altitude":6,"angle":153,"satellites":46,"speed":43,"hex_longitude":"2d8e7540","hex_latitude":"058c9ab0","is_valid_coordinates":true} 
[2026-07-07 13:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553498624001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341281541608964096,"note":"Value kept but may cause issues"} 
[2026-07-07 13:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8187332992491145216,"note":"Value kept but may cause issues"} 
[2026-07-07 13:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783412113000,"timestamp_ms":1783412113000,"timestamp_seconds":1783412113,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba53e68"} 
[2026-07-07 13:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 13:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553498624001,"66":27930,"17":206,"85":14080,"24":43,"16":341281541608964096,"45":-8187332992491145216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-07 13:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553498624001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:47:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341281541608964096,"km_value":341281541608964.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8187332992491145216,"description":"Unknown IO ID 45"} 
[2026-07-07 13:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553498624001,"power":27930,"axis_x":206,"unknown_85":14080,"ignition":43,"odometer":null,"unknown_45":-8187332992491145216}} 
[2026-07-07 13:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":124514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:47:05] local.INFO: GPS data processed {"connection_id":124514,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:47:05] local.INFO: Acknowledgment sent {"connection_id":124514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:47:21] local.INFO: TCP Data received {"connection_id":124515,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:47:21] local.INFO: Processing buffer {"connection_id":124515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:47:21] local.INFO: IMEI packet received {"connection_id":124515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":124515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:47:26] local.INFO: TCP Data received {"connection_id":124515,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:47:26] local.INFO: Processing buffer {"connection_id":124515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:47:26] local.INFO: IMEI packet received {"connection_id":124515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":124515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:47:35] local.INFO: TCP Data received {"connection_id":124515,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:47:35] local.INFO: Processing buffer {"connection_id":124515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:47:35] local.INFO: Packet analysis {"connection_id":124515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:47:35] local.INFO: Extracted packet for processing {"connection_id":124515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:47:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553434368001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783412151000,"timestamp_ms":1783412151000,"timestamp_seconds":1783412151,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba5d2d8"} 
[2026-07-07 13:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553434368001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553434368001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:47:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:47:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553434368001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":124515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:47:35] local.INFO: GPS data processed {"connection_id":124515,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:47:35] local.INFO: Acknowledgment sent {"connection_id":124515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:47:37] local.INFO: TCP Data received {"connection_id":124514,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba55da8012d8e84c0058c7b780005009c2d..."} 
[2026-07-07 13:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba55da8012d8e84c0058c7b780005009c2d..."} 
[2026-07-07 13:47:37] local.INFO: Processing buffer {"connection_id":124514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba55da8012d8e84c0058c7b780005009c2d..."} 
[2026-07-07 13:47:37] local.INFO: Packet analysis {"connection_id":124514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:47:37] local.INFO: Extracted packet for processing {"connection_id":124514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:47:37] local.INFO: GPS Element Parsed {"raw_longitude":764314816,"raw_latitude":93092728,"longitude_deg":76.4314816,"latitude_deg":9.3092728,"altitude":5,"angle":156,"satellites":45,"speed":44,"hex_longitude":"2d8e84c0","hex_latitude":"058c7b78","is_valid_coordinates":true} 
[2026-07-07 13:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553500928001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341281971105693696,"note":"Value kept but may cause issues"} 
[2026-07-07 13:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8181562755470675968,"note":"Value kept but may cause issues"} 
[2026-07-07 13:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783412121000,"timestamp_ms":1783412121000,"timestamp_seconds":1783412121,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba55da8"} 
[2026-07-07 13:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:47: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-07-07 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 13:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553500928001,"66":27919,"17":206,"85":14080,"24":44,"16":341281971105693696,"45":-8181562755470675968},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-07 13:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553500928001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:47:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341281971105693696,"km_value":341281971105693.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8181562755470675968,"description":"Unknown IO ID 45"} 
[2026-07-07 13:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553500928001,"power":27919,"axis_x":206,"unknown_85":14080,"ignition":44,"odometer":null,"unknown_45":-8181562755470675968}} 
[2026-07-07 13:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":124514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:47:37] local.INFO: GPS data processed {"connection_id":124514,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:47:37] local.INFO: Acknowledgment sent {"connection_id":124514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:48:04] local.INFO: TCP Data received {"connection_id":125239,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:48:04] local.INFO: Processing buffer {"connection_id":125239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:48:04] local.INFO: IMEI packet received {"connection_id":125239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":125239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:48:07] local.INFO: TCP Data received {"connection_id":124515,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:48:07] local.INFO: Processing buffer {"connection_id":124515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:48:07] local.INFO: Packet analysis {"connection_id":124515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:48:07] local.INFO: Extracted packet for processing {"connection_id":124515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553434368001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783412151000,"timestamp_ms":1783412151000,"timestamp_seconds":1783412151,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba5d2d8"} 
[2026-07-07 13:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553434368001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553434368001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:48:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:48:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553434368001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":124515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:48:07] local.INFO: GPS data processed {"connection_id":124515,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:48:07] local.INFO: Acknowledgment sent {"connection_id":124515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:48:09] local.INFO: TCP Data received {"connection_id":125239,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:48:09] local.INFO: Processing buffer {"connection_id":125239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:48:09] local.INFO: IMEI packet received {"connection_id":125239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":125239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:48:10] local.INFO: TCP Data received {"connection_id":125239,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba57ce8012d8e8e00058c5cc8000600a72b..."} 
[2026-07-07 13:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba57ce8012d8e8e00058c5cc8000600a72b..."} 
[2026-07-07 13:48:10] local.INFO: Processing buffer {"connection_id":125239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba57ce8012d8e8e00058c5cc8000600a72b..."} 
[2026-07-07 13:48:10] local.INFO: Packet analysis {"connection_id":125239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:48:10] local.INFO: Extracted packet for processing {"connection_id":125239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:48:10] local.INFO: GPS Element Parsed {"raw_longitude":764317184,"raw_latitude":93084872,"longitude_deg":76.4317184,"latitude_deg":9.3084872,"altitude":6,"angle":167,"satellites":43,"speed":40,"hex_longitude":"2d8e8e00","hex_latitude":"058c5cc8","is_valid_coordinates":true} 
[2026-07-07 13:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553502976001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341282370537652224,"note":"Value kept but may cause issues"} 
[2026-07-07 13:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8177199893333706752,"note":"Value kept but may cause issues"} 
[2026-07-07 13:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783412129000,"timestamp_ms":1783412129000,"timestamp_seconds":1783412129,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba57ce8"} 
[2026-07-07 13:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 13:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553502976001,"66":27843,"17":206,"85":14080,"24":40,"16":341282370537652224,"45":-8177199893333706752},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-07 13:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553502976001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341282370537652224,"km_value":341282370537652.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8177199893333706752,"description":"Unknown IO ID 45"} 
[2026-07-07 13:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553502976001,"power":27843,"axis_x":206,"unknown_85":14080,"ignition":40,"odometer":null,"unknown_45":-8177199893333706752}} 
[2026-07-07 13:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":125239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:48:10] local.INFO: GPS data processed {"connection_id":125239,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:48:10] local.INFO: Acknowledgment sent {"connection_id":125239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:48:27] local.INFO: TCP Data received {"connection_id":124516,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:48:27] local.INFO: Processing buffer {"connection_id":124516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:48:27] local.INFO: IMEI packet received {"connection_id":124516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":124516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:48:32] local.INFO: TCP Data received {"connection_id":124516,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:48:32] local.INFO: Processing buffer {"connection_id":124516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:48:32] local.INFO: IMEI packet received {"connection_id":124516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":124516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:48:36] local.INFO: TCP Data received {"connection_id":124516,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:48:36] local.INFO: Processing buffer {"connection_id":124516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:48:36] local.INFO: Packet analysis {"connection_id":124516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:48:36] local.INFO: Extracted packet for processing {"connection_id":124516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553434368001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13: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-07-07 13:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783412151000,"timestamp_ms":1783412151000,"timestamp_seconds":1783412151,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba5d2d8"} 
[2026-07-07 13:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553434368001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553434368001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:48:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:48:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553434368001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":124516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:48:36] local.INFO: GPS data processed {"connection_id":124516,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:48:36] local.INFO: Acknowledgment sent {"connection_id":124516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:48:37] local.INFO: TCP Data received {"connection_id":124516,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:48:37] local.INFO: Processing buffer {"connection_id":124516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:48:37] local.INFO: Packet analysis {"connection_id":124516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:48:37] local.INFO: Extracted packet for processing {"connection_id":124516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553434368001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783412151000,"timestamp_ms":1783412151000,"timestamp_seconds":1783412151,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba5d2d8"} 
[2026-07-07 13:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553434368001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553434368001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:48:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:48:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553434368001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":124516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:48:37] local.INFO: GPS data processed {"connection_id":124516,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:48:37] local.INFO: Acknowledgment sent {"connection_id":124516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:48:42] local.INFO: TCP Data received {"connection_id":125239,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba778b8012d8ef180058a8d50000600b12f..."} 
[2026-07-07 13:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba778b8012d8ef180058a8d50000600b12f..."} 
[2026-07-07 13:48:42] local.INFO: Processing buffer {"connection_id":125239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba778b8012d8ef180058a8d50000600b12f..."} 
[2026-07-07 13:48:42] local.INFO: Packet analysis {"connection_id":125239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba7"} 
[2026-07-07 13:48:42] local.INFO: Extracted packet for processing {"connection_id":125239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba7"} 
[2026-07-07 13:48:42] local.INFO: GPS Element Parsed {"raw_longitude":764342656,"raw_latitude":92966224,"longitude_deg":76.4342656,"latitude_deg":9.2966224,"altitude":6,"angle":177,"satellites":47,"speed":48,"hex_longitude":"2d8ef180","hex_latitude":"058a8d50","is_valid_coordinates":true} 
[2026-07-07 13:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553536256001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341288263232782336,"note":"Value kept but may cause issues"} 
[2026-07-07 13:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8147504283320666112,"note":"Value kept but may cause issues"} 
[2026-07-07 13:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783412259000,"timestamp_ms":1783412259000,"timestamp_seconds":1783412259,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba778b8"} 
[2026-07-07 13:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 13:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553536256001,"66":27615,"35":206,"85":14080,"24":48,"16":341288263232782336,"45":-8147504283320666112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-07-07 13:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553536256001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:48:42] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-07 13:48:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341288263232782336,"km_value":341288263232782.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8147504283320666112,"description":"Unknown IO ID 45"} 
[2026-07-07 13:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553536256001,"power":27615,"unknown_35":206,"unknown_85":14080,"ignition":48,"odometer":null,"unknown_45":-8147504283320666112}} 
[2026-07-07 13:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":125239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:48:42] local.INFO: GPS data processed {"connection_id":125239,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:48:42] local.INFO: Acknowledgment sent {"connection_id":125239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:49:03] local.INFO: TCP Data received {"connection_id":124425,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:49:03] local.INFO: Processing buffer {"connection_id":124425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:49:03] local.INFO: IMEI packet received {"connection_id":124425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":124425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:49:04] local.INFO: TCP Data received {"connection_id":124425,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:49:04] local.INFO: Processing buffer {"connection_id":124425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:49:04] local.INFO: IMEI packet received {"connection_id":124425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":124425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:49:09] local.INFO: TCP Data received {"connection_id":124425,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:49:09] local.INFO: Processing buffer {"connection_id":124425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:49:09] local.INFO: IMEI packet received {"connection_id":124425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":124425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:49:10] local.INFO: TCP Data received {"connection_id":124425,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba797f8012d8ef380058a67e8000600af2e..."} 
[2026-07-07 13:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba797f8012d8ef380058a67e8000600af2e..."} 
[2026-07-07 13:49:10] local.INFO: Processing buffer {"connection_id":124425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba797f8012d8ef380058a67e8000600af2e..."} 
[2026-07-07 13:49:10] local.INFO: Packet analysis {"connection_id":124425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba7"} 
[2026-07-07 13:49:10] local.INFO: Extracted packet for processing {"connection_id":124425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba7"} 
[2026-07-07 13:49:10] local.INFO: GPS Element Parsed {"raw_longitude":764343168,"raw_latitude":92956648,"longitude_deg":76.4343168,"latitude_deg":9.2956648,"altitude":6,"angle":175,"satellites":46,"speed":43,"hex_longitude":"2d8ef380","hex_latitude":"058a67e8","is_valid_coordinates":true} 
[2026-07-07 13:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553538304001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341288727089250304,"note":"Value kept but may cause issues"} 
[2026-07-07 13:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8146589489648807936,"note":"Value kept but may cause issues"} 
[2026-07-07 13:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783412267000,"timestamp_ms":1783412267000,"timestamp_seconds":1783412267,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba797f8"} 
[2026-07-07 13:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13: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-07-07 13:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 13:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553538304001,"66":27800,"209":206,"85":14080,"24":43,"16":341288727089250304,"45":-8146589489648807936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-07-07 13:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553538304001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:49:10] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-07 13:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341288727089250304,"km_value":341288727089250.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8146589489648807936,"description":"Unknown IO ID 45"} 
[2026-07-07 13:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553538304001,"power":27800,"unknown_209":206,"unknown_85":14080,"ignition":43,"odometer":null,"unknown_45":-8146589489648807936}} 
[2026-07-07 13:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":124425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:49:10] local.INFO: GPS data processed {"connection_id":124425,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:49:10] local.INFO: Acknowledgment sent {"connection_id":124425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:49:13] local.INFO: TCP Data received {"connection_id":124425,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba7bb20012d8ef6c0058a4188000500ae2f..."} 
[2026-07-07 13:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba7bb20012d8ef6c0058a4188000500ae2f..."} 
[2026-07-07 13:49:13] local.INFO: Processing buffer {"connection_id":124425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba7bb20012d8ef6c0058a4188000500ae2f..."} 
[2026-07-07 13:49:13] local.INFO: Packet analysis {"connection_id":124425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba7"} 
[2026-07-07 13:49:13] local.INFO: Extracted packet for processing {"connection_id":124425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba7"} 
[2026-07-07 13:49:13] local.INFO: GPS Element Parsed {"raw_longitude":764344000,"raw_latitude":92946824,"longitude_deg":76.4344,"latitude_deg":9.2946824,"altitude":5,"angle":174,"satellites":47,"speed":42,"hex_longitude":"2d8ef6c0","hex_latitude":"058a4188","is_valid_coordinates":true} 
[2026-07-07 13:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553540352001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341289208125587456,"note":"Value kept but may cause issues"} 
[2026-07-07 13:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8146026539697838080,"note":"Value kept but may cause issues"} 
[2026-07-07 13:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783412276000,"timestamp_ms":1783412276000,"timestamp_seconds":1783412276,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba7bb20"} 
[2026-07-07 13:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 13:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553540352001,"66":27908,"209":206,"85":14080,"24":42,"16":341289208125587456,"45":-8146026539697838080},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-07-07 13:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553540352001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:49:13] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-07 13:49:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341289208125587456,"km_value":341289208125587.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8146026539697838080,"description":"Unknown IO ID 45"} 
[2026-07-07 13:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553540352001,"power":27908,"unknown_209":206,"unknown_85":14080,"ignition":42,"odometer":null,"unknown_45":-8146026539697838080}} 
[2026-07-07 13:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":124425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:49:13] local.INFO: GPS data processed {"connection_id":124425,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:49:13] local.INFO: Acknowledgment sent {"connection_id":124425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:49:21] local.INFO: TCP Data received {"connection_id":125240,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:49:21] local.INFO: Processing buffer {"connection_id":125240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:49:21] local.INFO: IMEI packet received {"connection_id":125240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":125240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:49:27] local.INFO: TCP Data received {"connection_id":125240,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:49:27] local.INFO: Processing buffer {"connection_id":125240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:49:27] local.INFO: IMEI packet received {"connection_id":125240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":125240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:49:29] local.INFO: TCP Data received {"connection_id":125240,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:49:29] local.INFO: Processing buffer {"connection_id":125240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:49:29] local.INFO: Packet analysis {"connection_id":125240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:49:29] local.INFO: Extracted packet for processing {"connection_id":125240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:49:29] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553434368001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783412151000,"timestamp_ms":1783412151000,"timestamp_seconds":1783412151,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba5d2d8"} 
[2026-07-07 13:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553434368001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553434368001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:49:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:49:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553434368001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":125240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:49:29] local.INFO: GPS data processed {"connection_id":125240,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:49:29] local.INFO: Acknowledgment sent {"connection_id":125240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:49:59] local.INFO: TCP Data received {"connection_id":124517,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:49:59] local.INFO: Processing buffer {"connection_id":124517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:49:59] local.INFO: IMEI packet received {"connection_id":124517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":124517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:50:01] local.INFO: TCP Data received {"connection_id":124517,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:50:01] local.INFO: Processing buffer {"connection_id":124517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:50:01] local.INFO: IMEI packet received {"connection_id":124517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":124517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:50:03] local.INFO: TCP Data received {"connection_id":124517,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba7e230012d8efc00058a1d40000500a82f..."} 
[2026-07-07 13:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba7e230012d8efc00058a1d40000500a82f..."} 
[2026-07-07 13:50:03] local.INFO: Processing buffer {"connection_id":124517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba7e230012d8efc00058a1d40000500a82f..."} 
[2026-07-07 13:50:03] local.INFO: Packet analysis {"connection_id":124517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba7"} 
[2026-07-07 13:50:03] local.INFO: Extracted packet for processing {"connection_id":124517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba7"} 
[2026-07-07 13:50:03] local.INFO: GPS Element Parsed {"raw_longitude":764345344,"raw_latitude":92937536,"longitude_deg":76.4345344,"latitude_deg":9.2937536,"altitude":5,"angle":168,"satellites":47,"speed":32,"hex_longitude":"2d8efc00","hex_latitude":"058a1d40","is_valid_coordinates":true} 
[2026-07-07 13:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553542656001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341289663392120832,"note":"Value kept but may cause issues"} 
[2026-07-07 13:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8145111746026043392,"note":"Value kept but may cause issues"} 
[2026-07-07 13:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783412286000,"timestamp_ms":1783412286000,"timestamp_seconds":1783412286,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba7e230"} 
[2026-07-07 13:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:50: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-07-07 13:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 13:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553542656001,"66":27908,"209":206,"85":14080,"24":32,"16":341289663392120832,"45":-8145111746026043392},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-07-07 13:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553542656001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:50:03] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-07 13:50:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341289663392120832,"km_value":341289663392120.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8145111746026043392,"description":"Unknown IO ID 45"} 
[2026-07-07 13:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553542656001,"power":27908,"unknown_209":206,"unknown_85":14080,"ignition":32,"odometer":null,"unknown_45":-8145111746026043392}} 
[2026-07-07 13:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":124517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:50:03] local.INFO: GPS data processed {"connection_id":124517,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:50:03] local.INFO: Acknowledgment sent {"connection_id":124517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:50:21] local.INFO: TCP Data received {"connection_id":125241,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:50:21] local.INFO: Processing buffer {"connection_id":125241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:50:21] local.INFO: IMEI packet received {"connection_id":125241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":125241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:50:27] local.INFO: TCP Data received {"connection_id":125241,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:50:27] local.INFO: Processing buffer {"connection_id":125241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:50:27] local.INFO: IMEI packet received {"connection_id":125241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":125241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:50:28] local.INFO: TCP Data received {"connection_id":125241,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:50:28] local.INFO: Processing buffer {"connection_id":125241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:50:28] local.INFO: Packet analysis {"connection_id":125241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:50:28] local.INFO: Extracted packet for processing {"connection_id":125241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13: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-07-07 13:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553434368001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:50: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-07-07 13:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783412151000,"timestamp_ms":1783412151000,"timestamp_seconds":1783412151,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba5d2d8"} 
[2026-07-07 13:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13: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-07-07 13:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553434368001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553434368001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:50:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:50:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553434368001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":125241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:50:28] local.INFO: GPS data processed {"connection_id":125241,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:50:28] local.INFO: Acknowledgment sent {"connection_id":125241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:50:36] local.INFO: TCP Data received {"connection_id":124517,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba80940012d8f0100058a01180008009c2f..."} 
[2026-07-07 13:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba80940012d8f0100058a01180008009c2f..."} 
[2026-07-07 13:50:36] local.INFO: Processing buffer {"connection_id":124517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba80940012d8f0100058a01180008009c2f..."} 
[2026-07-07 13:50:36] local.INFO: Packet analysis {"connection_id":124517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba8"} 
[2026-07-07 13:50:36] local.INFO: Extracted packet for processing {"connection_id":124517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba8"} 
[2026-07-07 13:50:36] local.INFO: GPS Element Parsed {"raw_longitude":764346624,"raw_latitude":92930328,"longitude_deg":76.4346624,"latitude_deg":9.2930328,"altitude":8,"angle":156,"satellites":47,"speed":24,"hex_longitude":"2d8f0100","hex_latitude":"058a0118","is_valid_coordinates":true} 
[2026-07-07 13:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553545216001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341290019874406400,"note":"Value kept but may cause issues"} 
[2026-07-07 13:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8143634002400690176,"note":"Value kept but may cause issues"} 
[2026-07-07 13:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783412296000,"timestamp_ms":1783412296000,"timestamp_seconds":1783412296,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba80940"} 
[2026-07-07 13:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 13:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553545216001,"66":27995,"209":206,"85":14080,"24":24,"16":341290019874406400,"45":-8143634002400690176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-07-07 13:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553545216001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:50:36] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-07 13:50:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341290019874406400,"km_value":341290019874406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8143634002400690176,"description":"Unknown IO ID 45"} 
[2026-07-07 13:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553545216001,"power":27995,"unknown_209":206,"unknown_85":14080,"ignition":24,"odometer":null,"unknown_45":-8143634002400690176}} 
[2026-07-07 13:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":124517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:50:36] local.INFO: GPS data processed {"connection_id":124517,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:50:36] local.INFO: Acknowledgment sent {"connection_id":124517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:50:58] local.INFO: TCP Data received {"connection_id":126476,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:50:58] local.INFO: Processing buffer {"connection_id":126476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:50:58] local.INFO: IMEI packet received {"connection_id":126476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":126476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:50:59] local.INFO: TCP Data received {"connection_id":126476,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:50:59] local.INFO: Processing buffer {"connection_id":126476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:50:59] local.INFO: IMEI packet received {"connection_id":126476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":126476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:51:00] local.INFO: TCP Data received {"connection_id":125241,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:51:00] local.INFO: Processing buffer {"connection_id":125241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba5d2d8012d196940071fec580032006724..."} 
[2026-07-07 13:51:00] local.INFO: Packet analysis {"connection_id":125241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:51:00] local.INFO: Extracted packet for processing {"connection_id":125241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba5"} 
[2026-07-07 13:51:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553434368001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:51: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-07-07 13:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783412151000,"timestamp_ms":1783412151000,"timestamp_seconds":1783412151,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba5d2d8"} 
[2026-07-07 13:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553434368001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553434368001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:51:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:51:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553434368001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":125241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:51:00] local.INFO: GPS data processed {"connection_id":125241,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:51:00] local.INFO: Acknowledgment sent {"connection_id":125241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:51:04] local.INFO: TCP Data received {"connection_id":126476,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:51:04] local.INFO: Processing buffer {"connection_id":126476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:51:04] local.INFO: IMEI packet received {"connection_id":126476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":126476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:51:05] local.INFO: TCP Data received {"connection_id":126476,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba96100012d8fc3800588e1e80007009b2d..."} 
[2026-07-07 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba96100012d8fc3800588e1e80007009b2d..."} 
[2026-07-07 13:51:05] local.INFO: Processing buffer {"connection_id":126476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba96100012d8fc3800588e1e80007009b2d..."} 
[2026-07-07 13:51:05] local.INFO: Packet analysis {"connection_id":126476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba9"} 
[2026-07-07 13:51:05] local.INFO: Extracted packet for processing {"connection_id":126476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba9"} 
[2026-07-07 13:51:05] local.INFO: GPS Element Parsed {"raw_longitude":764396416,"raw_latitude":92856808,"longitude_deg":76.4396416,"latitude_deg":9.2856808,"altitude":7,"angle":155,"satellites":45,"speed":45,"hex_longitude":"2d8fc380","hex_latitude":"0588e1e8","is_valid_coordinates":true} 
[2026-07-07 13:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553568000001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341294327726604288,"note":"Value kept but may cause issues"} 
[2026-07-07 13:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8091631500471799808,"note":"Value kept but may cause issues"} 
[2026-07-07 13:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783412384000,"timestamp_ms":1783412384000,"timestamp_seconds":1783412384,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba96100"} 
[2026-07-07 13:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 13:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553568000001,"66":27865,"195":206,"85":14080,"24":45,"16":341294327726604288,"45":-8091631500471799808},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-07 13:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553568000001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:51:05] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-07 13:51:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341294327726604288,"km_value":341294327726604.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8091631500471799808,"description":"Unknown IO ID 45"} 
[2026-07-07 13:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553568000001,"power":27865,"unknown_195":206,"unknown_85":14080,"ignition":45,"odometer":null,"unknown_45":-8091631500471799808}} 
[2026-07-07 13:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":126476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:51:05] local.INFO: GPS data processed {"connection_id":126476,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:51:05] local.INFO: Acknowledgment sent {"connection_id":126476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:51:09] local.INFO: TCP Data received {"connection_id":126476,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba98040012d8fd6400588c150000800902e..."} 
[2026-07-07 13:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba98040012d8fd6400588c150000800902e..."} 
[2026-07-07 13:51:09] local.INFO: Processing buffer {"connection_id":126476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba98040012d8fd6400588c150000800902e..."} 
[2026-07-07 13:51:09] local.INFO: Packet analysis {"connection_id":126476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba9"} 
[2026-07-07 13:51:09] local.INFO: Extracted packet for processing {"connection_id":126476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba9"} 
[2026-07-07 13:51:09] local.INFO: GPS Element Parsed {"raw_longitude":764401216,"raw_latitude":92848464,"longitude_deg":76.4401216,"latitude_deg":9.2848464,"altitude":8,"angle":144,"satellites":46,"speed":49,"hex_longitude":"2d8fd640","hex_latitude":"0588c150","is_valid_coordinates":true} 
[2026-07-07 13:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553570304001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341294791583072256,"note":"Value kept but may cause issues"} 
[2026-07-07 13:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8087479744567580672,"note":"Value kept but may cause issues"} 
[2026-07-07 13:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783412392000,"timestamp_ms":1783412392000,"timestamp_seconds":1783412392,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba98040"} 
[2026-07-07 13:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:51: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-07-07 13:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 13:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553570304001,"66":27865,"195":206,"85":14080,"24":49,"16":341294791583072256,"45":-8087479744567580672},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-07 13:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553570304001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:51:09] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-07 13:51:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341294791583072256,"km_value":341294791583072.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8087479744567580672,"description":"Unknown IO ID 45"} 
[2026-07-07 13:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553570304001,"power":27865,"unknown_195":206,"unknown_85":14080,"ignition":49,"odometer":null,"unknown_45":-8087479744567580672}} 
[2026-07-07 13:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":126476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:51:09] local.INFO: GPS data processed {"connection_id":126476,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:51:09] local.INFO: Acknowledgment sent {"connection_id":126476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:51:21] local.INFO: TCP Data received {"connection_id":125243,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:51:21] local.INFO: Processing buffer {"connection_id":125243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:51:21] local.INFO: IMEI packet received {"connection_id":125243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":125243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:51:27] local.INFO: TCP Data received {"connection_id":125243,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:51:27] local.INFO: Processing buffer {"connection_id":125243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:51:27] local.INFO: IMEI packet received {"connection_id":125243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":125243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:51:28] local.INFO: TCP Data received {"connection_id":125243,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:51:28] local.INFO: Processing buffer {"connection_id":125243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:51:28] local.INFO: Packet analysis {"connection_id":125243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:51:28] local.INFO: Extracted packet for processing {"connection_id":125243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553510656001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:51: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-07-07 13:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783412448000,"timestamp_ms":1783412448000,"timestamp_seconds":1783412448,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baa5b00"} 
[2026-07-07 13:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:51:28] 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-07-07 13:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 13:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553510656001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553510656001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:51:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:51:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553510656001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":125243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:51:28] local.INFO: GPS data processed {"connection_id":125243,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:51:28] local.INFO: Acknowledgment sent {"connection_id":125243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:51:37] local.INFO: TCP Data received {"connection_id":124517,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba93dd8012d8fb4c0058904700008009c2e..."} 
[2026-07-07 13:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba93dd8012d8fb4c0058904700008009c2e..."} 
[2026-07-07 13:51:37] local.INFO: Processing buffer {"connection_id":124517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba93dd8012d8fb4c0058904700008009c2e..."} 
[2026-07-07 13:51:37] local.INFO: Packet analysis {"connection_id":124517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba9"} 
[2026-07-07 13:51:37] local.INFO: Extracted packet for processing {"connection_id":124517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba9"} 
[2026-07-07 13:51:37] local.INFO: GPS Element Parsed {"raw_longitude":764392640,"raw_latitude":92865648,"longitude_deg":76.439264,"latitude_deg":9.2865648,"altitude":8,"angle":156,"satellites":46,"speed":39,"hex_longitude":"2d8fb4c0","hex_latitude":"05890470","is_valid_coordinates":true} 
[2026-07-07 13:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553566976001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341293863870136320,"note":"Value kept but may cause issues"} 
[2026-07-07 13:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8093742562796296192,"note":"Value kept but may cause issues"} 
[2026-07-07 13:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783412375000,"timestamp_ms":1783412375000,"timestamp_seconds":1783412375,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba93dd8"} 
[2026-07-07 13:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-07 13:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553566976001,"66":27919,"195":206,"85":14080,"24":39,"16":341293863870136320,"45":-8093742562796296192},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-07 13:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553566976001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:51:37] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-07 13:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341293863870136320,"km_value":341293863870136.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8093742562796296192,"description":"Unknown IO ID 45"} 
[2026-07-07 13:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553566976001,"power":27919,"unknown_195":206,"unknown_85":14080,"ignition":39,"odometer":null,"unknown_45":-8093742562796296192}} 
[2026-07-07 13:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":124517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:51:37] local.INFO: GPS data processed {"connection_id":124517,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:51:37] local.INFO: Acknowledgment sent {"connection_id":124517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:51:40] local.INFO: TCP Data received {"connection_id":126476,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba99f80012d8fed000588a4d00009008d30..."} 
[2026-07-07 13:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba99f80012d8fed000588a4d00009008d30..."} 
[2026-07-07 13:51:40] local.INFO: Processing buffer {"connection_id":126476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba99f80012d8fed000588a4d00009008d30..."} 
[2026-07-07 13:51:40] local.INFO: Packet analysis {"connection_id":126476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba9"} 
[2026-07-07 13:51:40] local.INFO: Extracted packet for processing {"connection_id":126476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba9"} 
[2026-07-07 13:51:40] local.INFO: GPS Element Parsed {"raw_longitude":764407040,"raw_latitude":92841168,"longitude_deg":76.440704,"latitude_deg":9.2841168,"altitude":9,"angle":141,"satellites":48,"speed":36,"hex_longitude":"2d8fed00","hex_latitude":"0588a4d0","is_valid_coordinates":true} 
[2026-07-07 13:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553572352001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341295242554638336,"note":"Value kept but may cause issues"} 
[2026-07-07 13:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8082202088756391936,"note":"Value kept but may cause issues"} 
[2026-07-07 13:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783412400000,"timestamp_ms":1783412400000,"timestamp_seconds":1783412400,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba99f80"} 
[2026-07-07 13:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13: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-07-07 13: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":217,"data_length":795,"current_offset":136} 
[2026-07-07 13:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553572352001,"66":27180,"195":206,"85":14080,"24":36,"16":341295242554638336,"45":-8082202088756391936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-07 13:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553572352001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:51:40] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-07 13:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341295242554638336,"km_value":341295242554638.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8082202088756391936,"description":"Unknown IO ID 45"} 
[2026-07-07 13:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553572352001,"power":27180,"unknown_195":206,"unknown_85":14080,"ignition":36,"odometer":null,"unknown_45":-8082202088756391936}} 
[2026-07-07 13:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":126476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:51:40] local.INFO: GPS data processed {"connection_id":126476,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:51:40] local.INFO: Acknowledgment sent {"connection_id":126476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:51:57] local.INFO: TCP Data received {"connection_id":125244,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:51:57] local.INFO: Processing buffer {"connection_id":125244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:51:57] local.INFO: IMEI packet received {"connection_id":125244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":125244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:51:59] local.INFO: TCP Data received {"connection_id":125244,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:51:59] local.INFO: Processing buffer {"connection_id":125244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:51:59] local.INFO: IMEI packet received {"connection_id":125244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":125244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:52:00] local.INFO: TCP Data received {"connection_id":125243,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:52:00] local.INFO: Processing buffer {"connection_id":125243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:52:00] local.INFO: Packet analysis {"connection_id":125243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:52:00] local.INFO: Extracted packet for processing {"connection_id":125243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:52:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553510656001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:52: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-07-07 13:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783412448000,"timestamp_ms":1783412448000,"timestamp_seconds":1783412448,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baa5b00"} 
[2026-07-07 13:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:52:00] 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-07-07 13:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 13:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553510656001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553510656001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:52:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:52:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553510656001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":125243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:52:00] local.INFO: GPS data processed {"connection_id":125243,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:52:00] local.INFO: Acknowledgment sent {"connection_id":125243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:52:04] local.INFO: TCP Data received {"connection_id":125244,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:52:04] local.INFO: Processing buffer {"connection_id":125244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:52:04] local.INFO: IMEI packet received {"connection_id":125244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":125244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:52:05] local.INFO: TCP Data received {"connection_id":125244,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba9da18012d9003c005888a60000900842e..."} 
[2026-07-07 13:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba9da18012d9003c005888a60000900842e..."} 
[2026-07-07 13:52:05] local.INFO: Processing buffer {"connection_id":125244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba9da18012d9003c005888a60000900842e..."} 
[2026-07-07 13:52:05] local.INFO: Packet analysis {"connection_id":125244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba9"} 
[2026-07-07 13:52:05] local.INFO: Extracted packet for processing {"connection_id":125244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba9"} 
[2026-07-07 13:52:05] local.INFO: GPS Element Parsed {"raw_longitude":764412864,"raw_latitude":92834400,"longitude_deg":76.4412864,"latitude_deg":9.28344,"altitude":9,"angle":132,"satellites":46,"speed":25,"hex_longitude":"2d9003c0","hex_latitude":"05888a60","is_valid_coordinates":true} 
[2026-07-07 13:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553574400001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341295672051367936,"note":"Value kept but may cause issues"} 
[2026-07-07 13:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8075798533038092288,"note":"Value kept but may cause issues"} 
[2026-07-07 13:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783412415000,"timestamp_ms":1783412415000,"timestamp_seconds":1783412415,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba9da18"} 
[2026-07-07 13:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-07 13:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553574400001,"66":27919,"195":206,"85":14080,"24":25,"16":341295672051367936,"45":-8075798533038092288},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-07 13:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553574400001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:52:05] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-07 13:52:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341295672051367936,"km_value":341295672051367.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8075798533038092288,"description":"Unknown IO ID 45"} 
[2026-07-07 13:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553574400001,"power":27919,"unknown_195":206,"unknown_85":14080,"ignition":25,"odometer":null,"unknown_45":-8075798533038092288}} 
[2026-07-07 13:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":125244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:52:05] local.INFO: GPS data processed {"connection_id":125244,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:52:05] local.INFO: Acknowledgment sent {"connection_id":125244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:52:14] local.INFO: TCP Data received {"connection_id":125245,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:52:14] local.INFO: Processing buffer {"connection_id":125245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:52:14] local.INFO: IMEI packet received {"connection_id":125245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":125245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:52:21] local.INFO: TCP Data received {"connection_id":125246,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:52:21] local.INFO: Processing buffer {"connection_id":125246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:52:21] local.INFO: IMEI packet received {"connection_id":125246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":125246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:52:28] local.INFO: TCP Data received {"connection_id":125246,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:52:28] local.INFO: Processing buffer {"connection_id":125246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:52:28] local.INFO: IMEI packet received {"connection_id":125246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":125246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:52:32] local.INFO: TCP Data received {"connection_id":125246,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:52:32] local.INFO: Processing buffer {"connection_id":125246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:52:32] local.INFO: IMEI packet received {"connection_id":125246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":125246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:52:33] local.INFO: TCP Data received {"connection_id":125246,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:52:33] local.INFO: Processing buffer {"connection_id":125246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:52:33] local.INFO: Packet analysis {"connection_id":125246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:52:33] local.INFO: Extracted packet for processing {"connection_id":125246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553510656001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783412448000,"timestamp_ms":1783412448000,"timestamp_seconds":1783412448,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baa5b00"} 
[2026-07-07 13:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:52:33] 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-07-07 13:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 13:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553510656001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553510656001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:52:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:52:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553510656001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":125246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:52:33] local.INFO: GPS data processed {"connection_id":125246,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:52:33] local.INFO: Acknowledgment sent {"connection_id":125246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:52:36] local.INFO: TCP Data received {"connection_id":125244,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba9eda0012d900f0005888258000a00782d..."} 
[2026-07-07 13:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba9eda0012d900f0005888258000a00782d..."} 
[2026-07-07 13:52:36] local.INFO: Processing buffer {"connection_id":125244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba9eda0012d900f0005888258000a00782d..."} 
[2026-07-07 13:52:36] local.INFO: Packet analysis {"connection_id":125244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba9"} 
[2026-07-07 13:52:36] local.INFO: Extracted packet for processing {"connection_id":125244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba9"} 
[2026-07-07 13:52:36] local.INFO: GPS Element Parsed {"raw_longitude":764415744,"raw_latitude":92832344,"longitude_deg":76.4415744,"latitude_deg":9.2832344,"altitude":10,"angle":120,"satellites":45,"speed":29,"hex_longitude":"2d900f00","hex_latitude":"05888258","is_valid_coordinates":true} 
[2026-07-07 13:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553578240001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341295843850059776,"note":"Value kept but may cause issues"} 
[2026-07-07 13:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8069394977319657472,"note":"Value kept but may cause issues"} 
[2026-07-07 13:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783412420000,"timestamp_ms":1783412420000,"timestamp_seconds":1783412420,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba9eda0"} 
[2026-07-07 13:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 13:52: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-07-07 13:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553578240001,"66":27908,"195":206,"85":14080,"24":29,"16":341295843850059776,"45":-8069394977319657472},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-07 13:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553578240001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:52:36] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-07 13:52:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341295843850059776,"km_value":341295843850059.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8069394977319657472,"description":"Unknown IO ID 45"} 
[2026-07-07 13:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553578240001,"power":27908,"unknown_195":206,"unknown_85":14080,"ignition":29,"odometer":null,"unknown_45":-8069394977319657472}} 
[2026-07-07 13:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":125244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:52:36] local.INFO: GPS data processed {"connection_id":125244,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:52:36] local.INFO: Acknowledgment sent {"connection_id":125244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:52:59] local.INFO: TCP Data received {"connection_id":126477,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:52:59] local.INFO: Processing buffer {"connection_id":126477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:52:59] local.INFO: IMEI packet received {"connection_id":126477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":126477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:53:04] local.INFO: TCP Data received {"connection_id":126477,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:53:04] local.INFO: Processing buffer {"connection_id":126477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:53:04] local.INFO: IMEI packet received {"connection_id":126477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":126477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:53:04] local.INFO: TCP Data received {"connection_id":124519,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:53:04] local.INFO: Processing buffer {"connection_id":124519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:53:04] local.INFO: IMEI packet received {"connection_id":124519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":124519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:53:05] local.INFO: TCP Data received {"connection_id":126477,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bab6c70012d91860005883a48000900572e..."} 
[2026-07-07 13:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bab6c70012d91860005883a48000900572e..."} 
[2026-07-07 13:53:05] local.INFO: Processing buffer {"connection_id":126477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bab6c70012d91860005883a48000900572e..."} 
[2026-07-07 13:53:05] local.INFO: Packet analysis {"connection_id":126477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bab"} 
[2026-07-07 13:53:05] local.INFO: Extracted packet for processing {"connection_id":126477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bab"} 
[2026-07-07 13:53:05] local.INFO: GPS Element Parsed {"raw_longitude":764511744,"raw_latitude":92813896,"longitude_deg":76.4511744,"latitude_deg":9.2813896,"altitude":9,"angle":87,"satellites":46,"speed":39,"hex_longitude":"2d918600","hex_latitude":"05883a48","is_valid_coordinates":true} 
[2026-07-07 13:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553602304001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341300628443627520,"note":"Value kept but may cause issues"} 
[2026-07-07 13:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7971160210452905984,"note":"Value kept but may cause issues"} 
[2026-07-07 13:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783412518000,"timestamp_ms":1783412518000,"timestamp_seconds":1783412518,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bab6c70"} 
[2026-07-07 13:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 13:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553602304001,"66":27908,"111":206,"85":14080,"24":39,"16":341300628443627520,"45":-7971160210452905984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-07 13:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553602304001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:53:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-07 13:53:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341300628443627520,"km_value":341300628443627.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7971160210452905984,"description":"Unknown IO ID 45"} 
[2026-07-07 13:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553602304001,"power":27908,"unknown_111":206,"unknown_85":14080,"ignition":39,"odometer":null,"unknown_45":-7971160210452905984}} 
[2026-07-07 13:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":126477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:53:05] local.INFO: GPS data processed {"connection_id":126477,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:53:05] local.INFO: Acknowledgment sent {"connection_id":126477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:53:05] local.INFO: TCP Data received {"connection_id":125246,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:53:05] local.INFO: Processing buffer {"connection_id":125246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:53:05] local.INFO: Packet analysis {"connection_id":125246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:53:05] local.INFO: Extracted packet for processing {"connection_id":125246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553510656001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783412448000,"timestamp_ms":1783412448000,"timestamp_seconds":1783412448,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baa5b00"} 
[2026-07-07 13:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:53:05] 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-07-07 13:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 13:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553510656001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553510656001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:53:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:53:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553510656001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":125246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:53:05] local.INFO: GPS data processed {"connection_id":125246,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:53:05] local.INFO: Acknowledgment sent {"connection_id":125246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:53:21] local.INFO: TCP Data received {"connection_id":124520,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:53:21] local.INFO: Processing buffer {"connection_id":124520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:53:21] local.INFO: IMEI packet received {"connection_id":124520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":124520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:53:27] local.INFO: TCP Data received {"connection_id":124520,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:53:27] local.INFO: Processing buffer {"connection_id":124520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:53:27] local.INFO: IMEI packet received {"connection_id":124520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":124520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:53:28] local.INFO: TCP Data received {"connection_id":124520,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:53:28] local.INFO: Processing buffer {"connection_id":124520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:53:28] local.INFO: Packet analysis {"connection_id":124520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:53:28] local.INFO: Extracted packet for processing {"connection_id":124520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553510656001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:53: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-07-07 13:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783412448000,"timestamp_ms":1783412448000,"timestamp_seconds":1783412448,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baa5b00"} 
[2026-07-07 13:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:53:28] 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-07-07 13:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 13:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553510656001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553510656001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:53:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:53:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553510656001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":124520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:53:28] local.INFO: GPS data processed {"connection_id":124520,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:53:28] local.INFO: Acknowledgment sent {"connection_id":124520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:53:36] local.INFO: TCP Data received {"connection_id":126477,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bab8f98012d91ab8005883bc8000900582e..."} 
[2026-07-07 13:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bab8f98012d91ab8005883bc8000900582e..."} 
[2026-07-07 13:53:36] local.INFO: Processing buffer {"connection_id":126477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bab8f98012d91ab8005883bc8000900582e..."} 
[2026-07-07 13:53:36] local.INFO: Packet analysis {"connection_id":126477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bab"} 
[2026-07-07 13:53:36] local.INFO: Extracted packet for processing {"connection_id":126477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bab"} 
[2026-07-07 13:53:36] local.INFO: GPS Element Parsed {"raw_longitude":764521344,"raw_latitude":92814280,"longitude_deg":76.4521344,"latitude_deg":9.281428,"altitude":9,"angle":88,"satellites":46,"speed":44,"hex_longitude":"2d91ab80","hex_latitude":"05883bc8","is_valid_coordinates":true} 
[2026-07-07 13:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553604608001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341301092300095488,"note":"Value kept but may cause issues"} 
[2026-07-07 13:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7960675267570415616,"note":"Value kept but may cause issues"} 
[2026-07-07 13:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783412527000,"timestamp_ms":1783412527000,"timestamp_seconds":1783412527,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bab8f98"} 
[2026-07-07 13:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 13:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553604608001,"66":27876,"111":206,"85":14080,"24":44,"16":341301092300095488,"45":-7960675267570415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-07 13:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553604608001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:53:36] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-07 13:53:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341301092300095488,"km_value":341301092300095.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7960675267570415616,"description":"Unknown IO ID 45"} 
[2026-07-07 13:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553604608001,"power":27876,"unknown_111":206,"unknown_85":14080,"ignition":44,"odometer":null,"unknown_45":-7960675267570415616}} 
[2026-07-07 13:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":126477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:53:36] local.INFO: GPS data processed {"connection_id":126477,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:53:36] local.INFO: Acknowledgment sent {"connection_id":126477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:53:59] local.INFO: TCP Data received {"connection_id":124426,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:53:59] local.INFO: Processing buffer {"connection_id":124426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:53:59] local.INFO: IMEI packet received {"connection_id":124426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":124426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:54:00] local.INFO: TCP Data received {"connection_id":124520,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:54:00] local.INFO: Processing buffer {"connection_id":124520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:54:00] local.INFO: Packet analysis {"connection_id":124520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:54:00] local.INFO: Extracted packet for processing {"connection_id":124520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:54:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553510656001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:54: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-07-07 13:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783412448000,"timestamp_ms":1783412448000,"timestamp_seconds":1783412448,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baa5b00"} 
[2026-07-07 13:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:54:00] 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-07-07 13:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 13:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553510656001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553510656001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:54:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:54:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553510656001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":124520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:54:00] local.INFO: GPS data processed {"connection_id":124520,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:54:00] local.INFO: Acknowledgment sent {"connection_id":124520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:54:04] local.INFO: TCP Data received {"connection_id":124426,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:54:04] local.INFO: Processing buffer {"connection_id":124426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:54:04] local.INFO: IMEI packet received {"connection_id":124426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":124426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:54:04] local.INFO: TCP Data received {"connection_id":124426,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3babb2c0012d91d20005883f40000900522f..."} 
[2026-07-07 13:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3babb2c0012d91d20005883f40000900522f..."} 
[2026-07-07 13:54:04] local.INFO: Processing buffer {"connection_id":124426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3babb2c0012d91d20005883f40000900522f..."} 
[2026-07-07 13:54:04] local.INFO: Packet analysis {"connection_id":124426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bab"} 
[2026-07-07 13:54:04] local.INFO: Extracted packet for processing {"connection_id":124426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bab"} 
[2026-07-07 13:54:04] local.INFO: GPS Element Parsed {"raw_longitude":764531200,"raw_latitude":92815168,"longitude_deg":76.45312,"latitude_deg":9.2815168,"altitude":9,"angle":82,"satellites":47,"speed":34,"hex_longitude":"2d91d200","hex_latitude":"05883f40","is_valid_coordinates":true} 
[2026-07-07 13:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553606912001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341301564746498048,"note":"Value kept but may cause issues"} 
[2026-07-07 13:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7950119955943667712,"note":"Value kept but may cause issues"} 
[2026-07-07 13:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783412536000,"timestamp_ms":1783412536000,"timestamp_seconds":1783412536,"priority":1,"record_length":96,"hex_timestamp":"0000019f3babb2c0"} 
[2026-07-07 13:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 13:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553606912001,"66":27974,"111":206,"85":14080,"24":34,"16":341301564746498048,"45":-7950119955943667712},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-07 13:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553606912001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:54:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-07 13:54:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341301564746498048,"km_value":341301564746498.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7950119955943667712,"description":"Unknown IO ID 45"} 
[2026-07-07 13:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553606912001,"power":27974,"unknown_111":206,"unknown_85":14080,"ignition":34,"odometer":null,"unknown_45":-7950119955943667712}} 
[2026-07-07 13:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":124426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:54:04] local.INFO: GPS data processed {"connection_id":124426,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:54:04] local.INFO: Acknowledgment sent {"connection_id":124426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:54:27] local.INFO: TCP Data received {"connection_id":126479,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:54:27] local.INFO: Processing buffer {"connection_id":126479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:54:27] local.INFO: IMEI packet received {"connection_id":126479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":126479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:54:32] local.INFO: TCP Data received {"connection_id":126479,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:54:32] local.INFO: Processing buffer {"connection_id":126479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:54:32] local.INFO: IMEI packet received {"connection_id":126479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":126479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:54:33] local.INFO: TCP Data received {"connection_id":126479,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:54:33] local.INFO: Processing buffer {"connection_id":126479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:54:33] local.INFO: Packet analysis {"connection_id":126479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:54:33] local.INFO: Extracted packet for processing {"connection_id":126479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553510656001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783412448000,"timestamp_ms":1783412448000,"timestamp_seconds":1783412448,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baa5b00"} 
[2026-07-07 13:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:54:33] 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-07-07 13:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 13:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553510656001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553510656001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:54:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:54:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553510656001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":126479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:54:33] local.INFO: GPS data processed {"connection_id":126479,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:54:33] local.INFO: Acknowledgment sent {"connection_id":126479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:54:36] local.INFO: TCP Data received {"connection_id":124426,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bad21f0012d92bcc0058808b8000b00762e..."} 
[2026-07-07 13:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bad21f0012d92bcc0058808b8000b00762e..."} 
[2026-07-07 13:54:36] local.INFO: Processing buffer {"connection_id":124426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bad21f0012d92bcc0058808b8000b00762e..."} 
[2026-07-07 13:54:36] local.INFO: Packet analysis {"connection_id":124426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bad"} 
[2026-07-07 13:54:36] local.INFO: Extracted packet for processing {"connection_id":124426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bad"} 
[2026-07-07 13:54:36] local.INFO: GPS Element Parsed {"raw_longitude":764591296,"raw_latitude":92801208,"longitude_deg":76.4591296,"latitude_deg":9.2801208,"altitude":11,"angle":118,"satellites":46,"speed":19,"hex_longitude":"2d92bcc0","hex_latitude":"058808b8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 13:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553631488001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341304670007853056,"note":"Value kept but may cause issues"} 
[2026-07-07 13:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7877499411954880512,"note":"Value kept but may cause issues"} 
[2026-07-07 13:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783412630000,"timestamp_ms":1783412630000,"timestamp_seconds":1783412630,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bad21f0"} 
[2026-07-07 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-07-07 13:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-07 13:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 13:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553631488001,"66":27876,"127":206,"85":14080,"24":19,"16":341304670007853056,"45":-7877499411954880512},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-07 13:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553631488001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:54:36] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-07 13:54:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341304670007853056,"km_value":341304670007853.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7877499411954880512,"description":"Unknown IO ID 45"} 
[2026-07-07 13:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553631488001,"power":27876,"unknown_127":206,"unknown_85":14080,"ignition":19,"odometer":null,"unknown_45":-7877499411954880512}} 
[2026-07-07 13:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":124426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:54:36] local.INFO: GPS data processed {"connection_id":124426,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:54:36] local.INFO: Acknowledgment sent {"connection_id":124426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:54:37] local.INFO: TCP Data received {"connection_id":126479,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:54:37] local.INFO: Processing buffer {"connection_id":126479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:54:37] local.INFO: Packet analysis {"connection_id":126479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:54:37] local.INFO: Extracted packet for processing {"connection_id":126479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553510656001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783412448000,"timestamp_ms":1783412448000,"timestamp_seconds":1783412448,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baa5b00"} 
[2026-07-07 13:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:54:37] 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-07-07 13:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 13:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553510656001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553510656001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:54:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:54:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553510656001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":126479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:54:38] local.INFO: GPS data processed {"connection_id":126479,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:54:38] local.INFO: Acknowledgment sent {"connection_id":126479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:55:04] local.INFO: TCP Data received {"connection_id":124522,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:55:04] local.INFO: Processing buffer {"connection_id":124522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:55:04] local.INFO: IMEI packet received {"connection_id":124522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":124522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:55:09] local.INFO: TCP Data received {"connection_id":124522,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:55:09] local.INFO: Processing buffer {"connection_id":124522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:55:09] local.INFO: IMEI packet received {"connection_id":124522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":124522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:55:10] local.INFO: TCP Data received {"connection_id":124522,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bad2da8012d92c180058805b8000b00822f..."} 
[2026-07-07 13:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bad2da8012d92c180058805b8000b00822f..."} 
[2026-07-07 13:55:10] local.INFO: Processing buffer {"connection_id":124522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bad2da8012d92c180058805b8000b00822f..."} 
[2026-07-07 13:55:10] local.INFO: Packet analysis {"connection_id":124522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bad"} 
[2026-07-07 13:55:10] local.INFO: Extracted packet for processing {"connection_id":124522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bad"} 
[2026-07-07 13:55:10] local.INFO: GPS Element Parsed {"raw_longitude":764592512,"raw_latitude":92800440,"longitude_deg":76.4592512,"latitude_deg":9.280044,"altitude":11,"angle":130,"satellites":47,"speed":20,"hex_longitude":"2d92c180","hex_latitude":"058805b8","is_valid_coordinates":true} 
[2026-07-07 13:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553633280001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341304743022297088,"note":"Value kept but may cause issues"} 
[2026-07-07 13:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7873206918560827392,"note":"Value kept but may cause issues"} 
[2026-07-07 13:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783412633000,"timestamp_ms":1783412633000,"timestamp_seconds":1783412633,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bad2da8"} 
[2026-07-07 13:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 13:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553633280001,"66":27876,"127":206,"85":14080,"24":20,"16":341304743022297088,"45":-7873206918560827392},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-07 13:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553633280001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:55:10] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-07 13:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341304743022297088,"km_value":341304743022297.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7873206918560827392,"description":"Unknown IO ID 45"} 
[2026-07-07 13:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553633280001,"power":27876,"unknown_127":206,"unknown_85":14080,"ignition":20,"odometer":null,"unknown_45":-7873206918560827392}} 
[2026-07-07 13:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":124522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:55:10] local.INFO: GPS data processed {"connection_id":124522,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:55:10] local.INFO: Acknowledgment sent {"connection_id":124522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:55:11] local.INFO: TCP Data received {"connection_id":124522,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bad3578012d92c440058802b8000a008f2f..."} 
[2026-07-07 13:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bad3578012d92c440058802b8000a008f2f..."} 
[2026-07-07 13:55:11] local.INFO: Processing buffer {"connection_id":124522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bad3578012d92c440058802b8000a008f2f..."} 
[2026-07-07 13:55:11] local.INFO: Packet analysis {"connection_id":124522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bad"} 
[2026-07-07 13:55:11] local.INFO: Extracted packet for processing {"connection_id":124522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bad"} 
[2026-07-07 13:55:11] local.INFO: GPS Element Parsed {"raw_longitude":764593216,"raw_latitude":92799672,"longitude_deg":76.4593216,"latitude_deg":9.2799672,"altitude":10,"angle":143,"satellites":47,"speed":21,"hex_longitude":"2d92c440","hex_latitude":"058802b8","is_valid_coordinates":true} 
[2026-07-07 13:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553634048001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341304790266937344,"note":"Value kept but may cause issues"} 
[2026-07-07 13:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7871869912421648384,"note":"Value kept but may cause issues"} 
[2026-07-07 13:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783412635000,"timestamp_ms":1783412635000,"timestamp_seconds":1783412635,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bad3578"} 
[2026-07-07 13:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13: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-07-07 13: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":228,"data_length":795,"current_offset":136} 
[2026-07-07 13:55: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-07-07 13:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553634048001,"66":27843,"127":206,"85":14080,"24":21,"16":341304790266937344,"45":-7871869912421648384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-07 13:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553634048001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:55:11] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-07 13:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341304790266937344,"km_value":341304790266937.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7871869912421648384,"description":"Unknown IO ID 45"} 
[2026-07-07 13:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553634048001,"power":27843,"unknown_127":206,"unknown_85":14080,"ignition":21,"odometer":null,"unknown_45":-7871869912421648384}} 
[2026-07-07 13:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":124522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:55:11] local.INFO: GPS data processed {"connection_id":124522,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:55:11] local.INFO: Acknowledgment sent {"connection_id":124522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:55:22] local.INFO: TCP Data received {"connection_id":126480,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:55:22] local.INFO: Processing buffer {"connection_id":126480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:55:22] local.INFO: IMEI packet received {"connection_id":126480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":126480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:55:27] local.INFO: TCP Data received {"connection_id":126480,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:55:27] local.INFO: Processing buffer {"connection_id":126480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:55:27] local.INFO: IMEI packet received {"connection_id":126480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":126480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:55:28] local.INFO: TCP Data received {"connection_id":126480,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:55:28] local.INFO: Processing buffer {"connection_id":126480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:55:28] local.INFO: Packet analysis {"connection_id":126480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:55:28] local.INFO: Extracted packet for processing {"connection_id":126480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:55:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553510656001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13: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-07-07 13:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783412448000,"timestamp_ms":1783412448000,"timestamp_seconds":1783412448,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baa5b00"} 
[2026-07-07 13:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:55:28] 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-07-07 13:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 13:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553510656001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553510656001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:55:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:55:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553510656001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":126480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:55:28] local.INFO: GPS data processed {"connection_id":126480,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:55:28] local.INFO: Acknowledgment sent {"connection_id":126480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:55:32] local.INFO: TCP Data received {"connection_id":126480,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:55:32] local.INFO: Processing buffer {"connection_id":126480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:55:32] local.INFO: Packet analysis {"connection_id":126480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:55:32] local.INFO: Extracted packet for processing {"connection_id":126480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:55:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553510656001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:55: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-07-07 13:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783412448000,"timestamp_ms":1783412448000,"timestamp_seconds":1783412448,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baa5b00"} 
[2026-07-07 13:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:55:32] 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-07-07 13:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 13:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553510656001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553510656001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:55:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:55:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553510656001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":126480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:55:33] local.INFO: GPS data processed {"connection_id":126480,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:55:33] local.INFO: Acknowledgment sent {"connection_id":126480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:55:42] local.INFO: TCP Data received {"connection_id":124522,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bad4900012d92c9c00587f8a80009009c2d..."} 
[2026-07-07 13:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bad4900012d92c9c00587f8a80009009c2d..."} 
[2026-07-07 13:55:42] local.INFO: Processing buffer {"connection_id":124522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bad4900012d92c9c00587f8a80009009c2d..."} 
[2026-07-07 13:55:42] local.INFO: Packet analysis {"connection_id":124522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bad"} 
[2026-07-07 13:55:42] local.INFO: Extracted packet for processing {"connection_id":124522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bad"} 
[2026-07-07 13:55:42] local.INFO: GPS Element Parsed {"raw_longitude":764594624,"raw_latitude":92797096,"longitude_deg":76.4594624,"latitude_deg":9.2797096,"altitude":9,"angle":156,"satellites":45,"speed":25,"hex_longitude":"2d92c9c0","hex_latitude":"0587f8a8","is_valid_coordinates":true} 
[2026-07-07 13:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553634560001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341304936295825408,"note":"Value kept but may cause issues"} 
[2026-07-07 13:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7871095856235890688,"note":"Value kept but may cause issues"} 
[2026-07-07 13:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783412640000,"timestamp_ms":1783412640000,"timestamp_seconds":1783412640,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bad4900"} 
[2026-07-07 13:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 13:55: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-07-07 13:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553634560001,"66":27930,"127":206,"85":14080,"24":25,"16":341304936295825408,"45":-7871095856235890688},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-07 13:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553634560001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:55:42] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-07 13:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341304936295825408,"km_value":341304936295825.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7871095856235890688,"description":"Unknown IO ID 45"} 
[2026-07-07 13:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553634560001,"power":27930,"unknown_127":206,"unknown_85":14080,"ignition":25,"odometer":null,"unknown_45":-7871095856235890688}} 
[2026-07-07 13:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":124522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:55:42] local.INFO: GPS data processed {"connection_id":124522,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:55:42] local.INFO: Acknowledgment sent {"connection_id":124522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:55:59] local.INFO: TCP Data received {"connection_id":125247,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:55:59] local.INFO: Processing buffer {"connection_id":125247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:55:59] local.INFO: IMEI packet received {"connection_id":125247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":125247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:56:00] local.INFO: TCP Data received {"connection_id":125247,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:56:00] local.INFO: Processing buffer {"connection_id":125247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:56:00] local.INFO: IMEI packet received {"connection_id":125247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":125247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:56:04] local.INFO: TCP Data received {"connection_id":125247,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:56:04] local.INFO: Processing buffer {"connection_id":125247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:56:04] local.INFO: IMEI packet received {"connection_id":125247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":125247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:56:04] local.INFO: TCP Data received {"connection_id":126480,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:56:04] local.INFO: Processing buffer {"connection_id":126480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baa5b00012d196940071fec58003200671d..."} 
[2026-07-07 13:56:04] local.INFO: Packet analysis {"connection_id":126480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:56:04] local.INFO: Extracted packet for processing {"connection_id":126480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3baa"} 
[2026-07-07 13:56:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553510656001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:56: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-07-07 13:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783412448000,"timestamp_ms":1783412448000,"timestamp_seconds":1783412448,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baa5b00"} 
[2026-07-07 13:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:56:04] 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-07-07 13:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 13:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553510656001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553510656001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:56:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:56:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553510656001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":126480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:56:04] local.INFO: GPS data processed {"connection_id":126480,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:56:04] local.INFO: Acknowledgment sent {"connection_id":126480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:56:05] local.INFO: TCP Data received {"connection_id":125247,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bad7bc8012d92d6c00587d6c0000800a32e..."} 
[2026-07-07 13:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bad7bc8012d92d6c00587d6c0000800a32e..."} 
[2026-07-07 13:56:05] local.INFO: Processing buffer {"connection_id":125247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bad7bc8012d92d6c00587d6c0000800a32e..."} 
[2026-07-07 13:56:05] local.INFO: Packet analysis {"connection_id":125247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bad"} 
[2026-07-07 13:56:05] local.INFO: Extracted packet for processing {"connection_id":125247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bad"} 
[2026-07-07 13:56:05] local.INFO: GPS Element Parsed {"raw_longitude":764597952,"raw_latitude":92788416,"longitude_deg":76.4597952,"latitude_deg":9.2788416,"altitude":8,"angle":163,"satellites":46,"speed":29,"hex_longitude":"2d92d6c0","hex_latitude":"0587d6c0","is_valid_coordinates":true} 
[2026-07-07 13:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553635840001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341305382972424192,"note":"Value kept but may cause issues"} 
[2026-07-07 13:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7869547743864641536,"note":"Value kept but may cause issues"} 
[2026-07-07 13:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783412653000,"timestamp_ms":1783412653000,"timestamp_seconds":1783412653,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bad7bc8"} 
[2026-07-07 13:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 13:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553635840001,"66":27919,"127":206,"85":14080,"24":29,"16":341305382972424192,"45":-7869547743864641536},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-07 13:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553635840001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:56:05] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-07 13:56:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341305382972424192,"km_value":341305382972424.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7869547743864641536,"description":"Unknown IO ID 45"} 
[2026-07-07 13:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553635840001,"power":27919,"unknown_127":206,"unknown_85":14080,"ignition":29,"odometer":null,"unknown_45":-7869547743864641536}} 
[2026-07-07 13:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":125247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:56:05] local.INFO: GPS data processed {"connection_id":125247,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:56:05] local.INFO: Acknowledgment sent {"connection_id":125247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:56:09] local.INFO: TCP Data received {"connection_id":125247,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bad9720012d92da000587c2e0000a00b02c..."} 
[2026-07-07 13:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bad9720012d92da000587c2e0000a00b02c..."} 
[2026-07-07 13:56:09] local.INFO: Processing buffer {"connection_id":125247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bad9720012d92da000587c2e0000a00b02c..."} 
[2026-07-07 13:56:09] local.INFO: Packet analysis {"connection_id":125247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bad"} 
[2026-07-07 13:56:09] local.INFO: Extracted packet for processing {"connection_id":125247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bad"} 
[2026-07-07 13:56:09] local.INFO: GPS Element Parsed {"raw_longitude":764598784,"raw_latitude":92783328,"longitude_deg":76.4598784,"latitude_deg":9.2783328,"altitude":10,"angle":176,"satellites":44,"speed":28,"hex_longitude":"2d92da00","hex_latitude":"0587c2e0","is_valid_coordinates":true} 
[2026-07-07 13:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553639168001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341305636375494656,"note":"Value kept but may cause issues"} 
[2026-07-07 13:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7865888569169625088,"note":"Value kept but may cause issues"} 
[2026-07-07 13:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783412660000,"timestamp_ms":1783412660000,"timestamp_seconds":1783412660,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bad9720"} 
[2026-07-07 13:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 13:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553639168001,"66":27919,"127":206,"85":14080,"24":28,"16":341305636375494656,"45":-7865888569169625088},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-07 13:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553639168001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:56:09] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-07 13:56:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341305636375494656,"km_value":341305636375494.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7865888569169625088,"description":"Unknown IO ID 45"} 
[2026-07-07 13:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553639168001,"power":27919,"unknown_127":206,"unknown_85":14080,"ignition":28,"odometer":null,"unknown_45":-7865888569169625088}} 
[2026-07-07 13:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":125247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:56:09] local.INFO: GPS data processed {"connection_id":125247,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:56:09] local.INFO: Acknowledgment sent {"connection_id":125247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:56:21] local.INFO: TCP Data received {"connection_id":124429,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:56:21] local.INFO: Processing buffer {"connection_id":124429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:56:21] local.INFO: IMEI packet received {"connection_id":124429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":124429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:56:27] local.INFO: TCP Data received {"connection_id":124429,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:56:27] local.INFO: Processing buffer {"connection_id":124429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:56:27] local.INFO: IMEI packet received {"connection_id":124429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":124429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:56:29] local.INFO: TCP Data received {"connection_id":124429,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:56:29] local.INFO: Processing buffer {"connection_id":124429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:56:29] local.INFO: Packet analysis {"connection_id":124429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bae"} 
[2026-07-07 13:56:29] local.INFO: Extracted packet for processing {"connection_id":124429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bae"} 
[2026-07-07 13:56:29] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553586688001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783412744000,"timestamp_ms":1783412744000,"timestamp_seconds":1783412744,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baedf40"} 
[2026-07-07 13:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:56:29] 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-07-07 13:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":124429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":124429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":124429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553586688001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553586688001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:56:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:56:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553586688001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":124429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:56:29] local.INFO: GPS data processed {"connection_id":124429,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:56:29] local.INFO: Acknowledgment sent {"connection_id":124429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:56:41] local.INFO: TCP Data received {"connection_id":125247,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3badc600012d92db400587a028000a00b52c..."} 
[2026-07-07 13:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3badc600012d92db400587a028000a00b52c..."} 
[2026-07-07 13:56:41] local.INFO: Processing buffer {"connection_id":125247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3badc600012d92db400587a028000a00b52c..."} 
[2026-07-07 13:56:41] local.INFO: Packet analysis {"connection_id":125247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bad"} 
[2026-07-07 13:56:41] local.INFO: Extracted packet for processing {"connection_id":125247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bad"} 
[2026-07-07 13:56:41] local.INFO: GPS Element Parsed {"raw_longitude":764599104,"raw_latitude":92774440,"longitude_deg":76.4599104,"latitude_deg":9.277444,"altitude":10,"angle":181,"satellites":44,"speed":30,"hex_longitude":"2d92db40","hex_latitude":"0587a028","is_valid_coordinates":true} 
[2026-07-07 13:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553640960001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341306065872224256,"note":"Value kept but may cause issues"} 
[2026-07-07 13:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7864973775496617984,"note":"Value kept but may cause issues"} 
[2026-07-07 13:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783412672000,"timestamp_ms":1783412672000,"timestamp_seconds":1783412672,"priority":1,"record_length":96,"hex_timestamp":"0000019f3badc600"} 
[2026-07-07 13:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13: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-07-07 13:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 13: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-07-07 13:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553640960001,"66":27821,"41":206,"85":14080,"24":30,"16":341306065872224256,"45":-7864973775496617984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-07-07 13:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553640960001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:56:41] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-07 13:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-07 13:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341306065872224256,"km_value":341306065872224.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7864973775496617984,"description":"Unknown IO ID 45"} 
[2026-07-07 13:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553640960001,"power":27821,"unknown_41":206,"unknown_85":14080,"ignition":30,"odometer":null,"unknown_45":-7864973775496617984}} 
[2026-07-07 13:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":125247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:56:41] local.INFO: GPS data processed {"connection_id":125247,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:56:41] local.INFO: Acknowledgment sent {"connection_id":125247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:56:59] local.INFO: TCP Data received {"connection_id":126481,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:56:59] local.INFO: Processing buffer {"connection_id":126481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:56:59] local.INFO: IMEI packet received {"connection_id":126481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":126481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:57:01] local.INFO: TCP Data received {"connection_id":124429,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:57:01] local.INFO: Processing buffer {"connection_id":124429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:57:01] local.INFO: Packet analysis {"connection_id":124429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bae"} 
[2026-07-07 13:57:01] local.INFO: Extracted packet for processing {"connection_id":124429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bae"} 
[2026-07-07 13:57:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553586688001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:57: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-07-07 13:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783412744000,"timestamp_ms":1783412744000,"timestamp_seconds":1783412744,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baedf40"} 
[2026-07-07 13:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:57:01] 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-07-07 13:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553586688001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553586688001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:57:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:57:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553586688001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:57:01] local.INFO: TCP Data received {"connection_id":126481,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:57:01] local.INFO: Processing buffer {"connection_id":126481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:57:01] local.INFO: IMEI packet received {"connection_id":126481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":126481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":124429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:57:01] local.INFO: GPS data processed {"connection_id":124429,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:57:01] local.INFO: Acknowledgment sent {"connection_id":124429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:57:01] local.INFO: TCP Data received {"connection_id":126481,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baf40e8012d930d4005861558000900af30..."} 
[2026-07-07 13:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baf40e8012d930d4005861558000900af30..."} 
[2026-07-07 13:57:01] local.INFO: Processing buffer {"connection_id":126481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baf40e8012d930d4005861558000900af30..."} 
[2026-07-07 13:57:01] local.INFO: Packet analysis {"connection_id":126481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3baf"} 
[2026-07-07 13:57:01] local.INFO: Extracted packet for processing {"connection_id":126481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3baf"} 
[2026-07-07 13:57:01] local.INFO: GPS Element Parsed {"raw_longitude":764611904,"raw_latitude":92673368,"longitude_deg":76.4611904,"latitude_deg":9.2673368,"altitude":9,"angle":175,"satellites":48,"speed":57,"hex_longitude":"2d930d40","hex_latitude":"05861558","is_valid_coordinates":true} 
[2026-07-07 13:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553667072001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341311022264483840,"note":"Value kept but may cause issues"} 
[2026-07-07 13:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7851674082872676352,"note":"Value kept but may cause issues"} 
[2026-07-07 13:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783412769000,"timestamp_ms":1783412769000,"timestamp_seconds":1783412769,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baf40e8"} 
[2026-07-07 13:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 13:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553667072001,"66":27615,"169":206,"85":15360,"24":57,"16":341311022264483840,"45":-7851674082872676352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 13:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553667072001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:57:01] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 13:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 13:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341311022264483840,"km_value":341311022264483.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7851674082872676352,"description":"Unknown IO ID 45"} 
[2026-07-07 13:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553667072001,"power":27615,"unknown_169":206,"unknown_85":15360,"ignition":57,"odometer":null,"unknown_45":-7851674082872676352}} 
[2026-07-07 13:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":126481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:57:01] local.INFO: GPS data processed {"connection_id":126481,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:57:01] local.INFO: Acknowledgment sent {"connection_id":126481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:57:26] local.INFO: TCP Data received {"connection_id":124523,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:57:26] local.INFO: Processing buffer {"connection_id":124523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:57:26] local.INFO: IMEI packet received {"connection_id":124523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":124523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:57:32] local.INFO: TCP Data received {"connection_id":124523,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:57:32] local.INFO: Processing buffer {"connection_id":124523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:57:32] local.INFO: IMEI packet received {"connection_id":124523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":124523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:57:33] local.INFO: TCP Data received {"connection_id":124523,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:57:33] local.INFO: Processing buffer {"connection_id":124523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:57:33] local.INFO: Packet analysis {"connection_id":124523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bae"} 
[2026-07-07 13:57:33] local.INFO: Extracted packet for processing {"connection_id":124523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bae"} 
[2026-07-07 13:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553586688001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783412744000,"timestamp_ms":1783412744000,"timestamp_seconds":1783412744,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baedf40"} 
[2026-07-07 13:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:57:33] 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-07-07 13: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13: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-07-07 13:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553586688001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553586688001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:57:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:57:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553586688001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":124523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:57:33] local.INFO: GPS data processed {"connection_id":124523,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:57:33] local.INFO: Acknowledgment sent {"connection_id":124523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:57:33] local.INFO: TCP Data received {"connection_id":126481,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baf5c40012d9311c00585ee48000900aa30..."} 
[2026-07-07 13:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baf5c40012d9311c00585ee48000900aa30..."} 
[2026-07-07 13:57:33] local.INFO: Processing buffer {"connection_id":126481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baf5c40012d9311c00585ee48000900aa30..."} 
[2026-07-07 13:57:33] local.INFO: Packet analysis {"connection_id":126481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3baf"} 
[2026-07-07 13:57:33] local.INFO: Extracted packet for processing {"connection_id":126481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3baf"} 
[2026-07-07 13:57:33] local.INFO: GPS Element Parsed {"raw_longitude":764613056,"raw_latitude":92663368,"longitude_deg":76.4613056,"latitude_deg":9.2663368,"altitude":9,"angle":170,"satellites":48,"speed":57,"hex_longitude":"2d9311c0","hex_latitude":"0585ee48","is_valid_coordinates":true} 
[2026-07-07 13:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553668864001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341311511890755584,"note":"Value kept but may cause issues"} 
[2026-07-07 13:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7850548182968346624,"note":"Value kept but may cause issues"} 
[2026-07-07 13:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783412776000,"timestamp_ms":1783412776000,"timestamp_seconds":1783412776,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baf5c40"} 
[2026-07-07 13:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:57: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-07-07 13: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 13:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13: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-07-07 13:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553668864001,"66":27930,"169":206,"85":15360,"24":57,"16":341311511890755584,"45":-7850548182968346624},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 13:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553668864001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:57:33] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 13:57:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 13:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341311511890755584,"km_value":341311511890755.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7850548182968346624,"description":"Unknown IO ID 45"} 
[2026-07-07 13:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553668864001,"power":27930,"unknown_169":206,"unknown_85":15360,"ignition":57,"odometer":null,"unknown_45":-7850548182968346624}} 
[2026-07-07 13:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":126481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:57:33] local.INFO: GPS data processed {"connection_id":126481,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:57:33] local.INFO: Acknowledgment sent {"connection_id":126481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:57:37] local.INFO: TCP Data received {"connection_id":124523,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:57:37] local.INFO: Processing buffer {"connection_id":124523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:57:37] local.INFO: Packet analysis {"connection_id":124523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bae"} 
[2026-07-07 13:57:37] local.INFO: Extracted packet for processing {"connection_id":124523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bae"} 
[2026-07-07 13:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553586688001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783412744000,"timestamp_ms":1783412744000,"timestamp_seconds":1783412744,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baedf40"} 
[2026-07-07 13:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:57:37] 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-07-07 13:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553586688001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553586688001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:57:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:57:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553586688001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":124523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:57:37] local.INFO: GPS data processed {"connection_id":124523,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:57:37] local.INFO: Acknowledgment sent {"connection_id":124523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:57:59] local.INFO: TCP Data received {"connection_id":125248,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:57:59] local.INFO: Processing buffer {"connection_id":125248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:57:59] local.INFO: IMEI packet received {"connection_id":125248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":125248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:58:00] local.INFO: TCP Data received {"connection_id":125248,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:58:00] local.INFO: Processing buffer {"connection_id":125248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:58:00] local.INFO: IMEI packet received {"connection_id":125248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":125248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:58:04] local.INFO: TCP Data received {"connection_id":125248,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:58:04] local.INFO: Processing buffer {"connection_id":125248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:58:04] local.INFO: IMEI packet received {"connection_id":125248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":125248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:58:06] local.INFO: TCP Data received {"connection_id":125248,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baf7798012d931a400585c720000900a430..."} 
[2026-07-07 13:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baf7798012d931a400585c720000900a430..."} 
[2026-07-07 13:58:06] local.INFO: Processing buffer {"connection_id":125248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baf7798012d931a400585c720000900a430..."} 
[2026-07-07 13:58:06] local.INFO: Packet analysis {"connection_id":125248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3baf"} 
[2026-07-07 13:58:06] local.INFO: Extracted packet for processing {"connection_id":125248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3baf"} 
[2026-07-07 13:58:06] local.INFO: GPS Element Parsed {"raw_longitude":764615232,"raw_latitude":92653344,"longitude_deg":76.4615232,"latitude_deg":9.2653344,"altitude":9,"angle":164,"satellites":48,"speed":58,"hex_longitude":"2d931a40","hex_latitude":"0585c720","is_valid_coordinates":true} 
[2026-07-07 13:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553670656001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341312010106961920,"note":"Value kept but may cause issues"} 
[2026-07-07 13:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7849281545575708672,"note":"Value kept but may cause issues"} 
[2026-07-07 13:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783412783000,"timestamp_ms":1783412783000,"timestamp_seconds":1783412783,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baf7798"} 
[2026-07-07 13:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 13:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553670656001,"66":27397,"169":206,"85":15360,"24":58,"16":341312010106961920,"45":-7849281545575708672},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 13:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553670656001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:58:06] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 13:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 13:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341312010106961920,"km_value":341312010106961.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7849281545575708672,"description":"Unknown IO ID 45"} 
[2026-07-07 13:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553670656001,"power":27397,"unknown_169":206,"unknown_85":15360,"ignition":58,"odometer":null,"unknown_45":-7849281545575708672}} 
[2026-07-07 13:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":125248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:58:06] local.INFO: GPS data processed {"connection_id":125248,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:58:06] local.INFO: Acknowledgment sent {"connection_id":125248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:58:08] local.INFO: TCP Data received {"connection_id":125248,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baf92f0012d9327800585a0d8000900a02e..."} 
[2026-07-07 13:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baf92f0012d9327800585a0d8000900a02e..."} 
[2026-07-07 13:58:08] local.INFO: Processing buffer {"connection_id":125248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baf92f0012d9327800585a0d8000900a02e..."} 
[2026-07-07 13:58:08] local.INFO: Packet analysis {"connection_id":125248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3baf"} 
[2026-07-07 13:58:08] local.INFO: Extracted packet for processing {"connection_id":125248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3baf"} 
[2026-07-07 13:58:08] local.INFO: GPS Element Parsed {"raw_longitude":764618624,"raw_latitude":92643544,"longitude_deg":76.4618624,"latitude_deg":9.2643544,"altitude":9,"angle":160,"satellites":46,"speed":58,"hex_longitude":"2d932780","hex_latitude":"0585a0d8","is_valid_coordinates":true} 
[2026-07-07 13:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553672448001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341312512618135552,"note":"Value kept but may cause issues"} 
[2026-07-07 13:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7846889008276234240,"note":"Value kept but may cause issues"} 
[2026-07-07 13:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783412790000,"timestamp_ms":1783412790000,"timestamp_seconds":1783412790,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baf92f0"} 
[2026-07-07 13:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:58: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-07-07 13: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 13:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553672448001,"66":28006,"169":206,"85":15360,"24":58,"16":341312512618135552,"45":-7846889008276234240},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 13:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553672448001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:58:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 13:58:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 13:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341312512618135552,"km_value":341312512618135.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7846889008276234240,"description":"Unknown IO ID 45"} 
[2026-07-07 13:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553672448001,"power":28006,"unknown_169":206,"unknown_85":15360,"ignition":58,"odometer":null,"unknown_45":-7846889008276234240}} 
[2026-07-07 13:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":125248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:58:08] local.INFO: GPS data processed {"connection_id":125248,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:58:08] local.INFO: Acknowledgment sent {"connection_id":125248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:58:19] local.INFO: TCP Data received {"connection_id":125249,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:58:19] local.INFO: Processing buffer {"connection_id":125249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:58:19] local.INFO: IMEI packet received {"connection_id":125249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":125249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:58:22] local.INFO: TCP Data received {"connection_id":124430,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:58:22] local.INFO: Processing buffer {"connection_id":124430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:58:22] local.INFO: IMEI packet received {"connection_id":124430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":124430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:58:27] local.INFO: TCP Data received {"connection_id":124430,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:58:27] local.INFO: Processing buffer {"connection_id":124430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:58:27] local.INFO: IMEI packet received {"connection_id":124430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":124430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:58:30] local.INFO: TCP Data received {"connection_id":124430,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:58:30] local.INFO: Processing buffer {"connection_id":124430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:58:30] local.INFO: Packet analysis {"connection_id":124430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bae"} 
[2026-07-07 13:58:30] local.INFO: Extracted packet for processing {"connection_id":124430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bae"} 
[2026-07-07 13:58:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553586688001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:58: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-07-07 13:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783412744000,"timestamp_ms":1783412744000,"timestamp_seconds":1783412744,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baedf40"} 
[2026-07-07 13:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:58:30] 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-07-07 13:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553586688001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553586688001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:58:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:58:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553586688001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":124430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:58:30] local.INFO: GPS data processed {"connection_id":124430,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:58:30] local.INFO: Acknowledgment sent {"connection_id":124430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:58:39] local.INFO: TCP Data received {"connection_id":125248,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bafae48012d9334c005857bf80009009f2e..."} 
[2026-07-07 13:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bafae48012d9334c005857bf80009009f2e..."} 
[2026-07-07 13:58:39] local.INFO: Processing buffer {"connection_id":125248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bafae48012d9334c005857bf80009009f2e..."} 
[2026-07-07 13:58:39] local.INFO: Packet analysis {"connection_id":125248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3baf"} 
[2026-07-07 13:58:39] local.INFO: Extracted packet for processing {"connection_id":125248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3baf"} 
[2026-07-07 13:58:39] local.INFO: GPS Element Parsed {"raw_longitude":764622016,"raw_latitude":92634104,"longitude_deg":76.4622016,"latitude_deg":9.2634104,"altitude":9,"angle":159,"satellites":46,"speed":56,"hex_longitude":"2d9334c0","hex_latitude":"05857bf8","is_valid_coordinates":true} 
[2026-07-07 13: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-07-07 13:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553674240001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341312997949440000,"note":"Value kept but may cause issues"} 
[2026-07-07 13:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7843159464837326848,"note":"Value kept but may cause issues"} 
[2026-07-07 13:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783412797000,"timestamp_ms":1783412797000,"timestamp_seconds":1783412797,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bafae48"} 
[2026-07-07 13:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:58: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-07-07 13: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 13:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13: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-07-07 13:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553674240001,"66":27919,"169":206,"85":15360,"24":56,"16":341312997949440000,"45":-7843159464837326848},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 13:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553674240001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:58:39] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 13:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 13:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341312997949440000,"km_value":341312997949440,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7843159464837326848,"description":"Unknown IO ID 45"} 
[2026-07-07 13:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553674240001,"power":27919,"unknown_169":206,"unknown_85":15360,"ignition":56,"odometer":null,"unknown_45":-7843159464837326848}} 
[2026-07-07 13:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":125248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:58:39] local.INFO: GPS data processed {"connection_id":125248,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:58:39] local.INFO: Acknowledgment sent {"connection_id":125248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:58:58] local.INFO: TCP Data received {"connection_id":126483,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:58:58] local.INFO: Processing buffer {"connection_id":126483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:58:58] local.INFO: IMEI packet received {"connection_id":126483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":126483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:58:58] local.INFO: TCP Data received {"connection_id":126483,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:58:58] local.INFO: Processing buffer {"connection_id":126483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:58:58] local.INFO: IMEI packet received {"connection_id":126483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":126483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:58:59] local.INFO: TCP Data received {"connection_id":124524,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:58:59] local.INFO: Processing buffer {"connection_id":124524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:58:59] local.INFO: IMEI packet received {"connection_id":124524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":124524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:59:02] local.INFO: TCP Data received {"connection_id":124430,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:59:02] local.INFO: Processing buffer {"connection_id":124430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:59:02] local.INFO: Packet analysis {"connection_id":124430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bae"} 
[2026-07-07 13:59:02] local.INFO: Extracted packet for processing {"connection_id":124430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bae"} 
[2026-07-07 13:59:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553586688001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783412744000,"timestamp_ms":1783412744000,"timestamp_seconds":1783412744,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baedf40"} 
[2026-07-07 13:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:59:02] 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-07-07 13:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553586688001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553586688001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:59:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:59:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553586688001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":124430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:59:02] local.INFO: GPS data processed {"connection_id":124430,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:59:02] local.INFO: Acknowledgment sent {"connection_id":124430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:59:04] local.INFO: TCP Data received {"connection_id":126483,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:59:04] local.INFO: Processing buffer {"connection_id":126483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:59:04] local.INFO: IMEI packet received {"connection_id":126483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 13:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":126483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:59:04] local.INFO: TCP Data received {"connection_id":124524,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:59:04] local.INFO: Processing buffer {"connection_id":124524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:59:04] local.INFO: IMEI packet received {"connection_id":124524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 13:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":124524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:59:05] local.INFO: TCP Data received {"connection_id":126483,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb10dd8012d93b8c00583fbf8000a00a12d..."} 
[2026-07-07 13:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb10dd8012d93b8c00583fbf8000a00a12d..."} 
[2026-07-07 13:59:05] local.INFO: Processing buffer {"connection_id":126483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb10dd8012d93b8c00583fbf8000a00a12d..."} 
[2026-07-07 13:59:05] local.INFO: Packet analysis {"connection_id":126483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb1"} 
[2026-07-07 13:59:05] local.INFO: Extracted packet for processing {"connection_id":126483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb1"} 
[2026-07-07 13:59:05] local.INFO: GPS Element Parsed {"raw_longitude":764655808,"raw_latitude":92535800,"longitude_deg":76.4655808,"latitude_deg":9.25358,"altitude":10,"angle":161,"satellites":45,"speed":56,"hex_longitude":"2d93b8c0","hex_latitude":"0583fbf8","is_valid_coordinates":true} 
[2026-07-07 13:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553697280001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341318040241045504,"note":"Value kept but may cause issues"} 
[2026-07-07 13:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7805934399192526848,"note":"Value kept but may cause issues"} 
[2026-07-07 13:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783412887000,"timestamp_ms":1783412887000,"timestamp_seconds":1783412887,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb10dd8"} 
[2026-07-07 13:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 13:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553697280001,"66":27974,"168":206,"85":15360,"24":56,"16":341318040241045504,"45":-7805934399192526848},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-07 13:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553697280001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:59:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-07 13:59:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 13:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341318040241045504,"km_value":341318040241045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7805934399192526848,"description":"Unknown IO ID 45"} 
[2026-07-07 13:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553697280001,"power":27974,"unknown_168":206,"unknown_85":15360,"ignition":56,"odometer":null,"unknown_45":-7805934399192526848}} 
[2026-07-07 13:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":126483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:59:05] local.INFO: GPS data processed {"connection_id":126483,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:59:05] local.INFO: Acknowledgment sent {"connection_id":126483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:59:06] local.INFO: TCP Data received {"connection_id":124524,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ba6d0c0012d7fac4005afe8d00028015915..."} 
[2026-07-07 13:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ba6d0c0012d7fac4005afe8d00028015915..."} 
[2026-07-07 13:59:06] local.INFO: Processing buffer {"connection_id":124524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ba6d0c0012d7fac4005afe8d00028015915..."} 
[2026-07-07 13:59:06] local.INFO: Packet analysis {"connection_id":124524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ba6"} 
[2026-07-07 13:59:06] local.INFO: Extracted packet for processing {"connection_id":124524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ba6"} 
[2026-07-07 13:59:06] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95414480,"longitude_deg":76.3341888,"latitude_deg":9.541448,"altitude":40,"angle":345,"satellites":21,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe8d0","is_valid_coordinates":true} 
[2026-07-07 13:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553450752001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132039032824659968,"note":"Value kept but may cause issues"} 
[2026-07-07 13:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981365248,"note":"Value kept but may cause issues"} 
[2026-07-07 13:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783412216000,"timestamp_ms":1783412216000,"timestamp_seconds":1783412216,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ba6d0c0"} 
[2026-07-07 13:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 13:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-07 13:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124524,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 13:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124524,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 13:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 13:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 13:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553450752001,"66":25430,"27":206,"85":12544,"24":0,"16":132039032824659968,"45":9199798531981365248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-07 13:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 13:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 13:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553450752001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:59:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-07 13:59:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 13:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132039032824659968,"km_value":132039032824659.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981365248,"description":"Unknown IO ID 45"} 
[2026-07-07 13:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553450752001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531981365248}} 
[2026-07-07 13:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":124524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445816,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:59:06] local.INFO: GPS data processed {"connection_id":124524,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:59:06] local.INFO: Acknowledgment sent {"connection_id":124524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:59:21] local.INFO: TCP Data received {"connection_id":126484,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:59:21] local.INFO: Processing buffer {"connection_id":126484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:59:21] local.INFO: IMEI packet received {"connection_id":126484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 13:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":126484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:59:27] local.INFO: TCP Data received {"connection_id":126484,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:59:27] local.INFO: Processing buffer {"connection_id":126484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 13:59:27] local.INFO: IMEI packet received {"connection_id":126484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 13:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":126484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 13:59:28] local.INFO: TCP Data received {"connection_id":126484,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:59:28] local.INFO: Processing buffer {"connection_id":126484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 13:59:28] local.INFO: Packet analysis {"connection_id":126484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bae"} 
[2026-07-07 13:59:28] local.INFO: Extracted packet for processing {"connection_id":126484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bae"} 
[2026-07-07 13:59:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 13:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553586688001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 13:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 13:59: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-07-07 13:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783412744000,"timestamp_ms":1783412744000,"timestamp_seconds":1783412744,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baedf40"} 
[2026-07-07 13:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:59:28] 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-07-07 13:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 13:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 13:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 13:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 13:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553586688001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 13:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 13:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 13:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553586688001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:59:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 13:59:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 13:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 13:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553586688001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 13:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":126484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:59:28] local.INFO: GPS data processed {"connection_id":126484,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:59:28] local.INFO: Acknowledgment sent {"connection_id":126484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:59:36] local.INFO: TCP Data received {"connection_id":126483,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb12930012d93c5000583d5d0000a00a22c..."} 
[2026-07-07 13:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb12930012d93c5000583d5d0000a00a22c..."} 
[2026-07-07 13:59:36] local.INFO: Processing buffer {"connection_id":126483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb12930012d93c5000583d5d0000a00a22c..."} 
[2026-07-07 13:59:36] local.INFO: Packet analysis {"connection_id":126483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb1"} 
[2026-07-07 13:59:36] local.INFO: Extracted packet for processing {"connection_id":126483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb1"} 
[2026-07-07 13:59:36] local.INFO: GPS Element Parsed {"raw_longitude":764658944,"raw_latitude":92526032,"longitude_deg":76.4658944,"latitude_deg":9.2526032,"altitude":10,"angle":162,"satellites":44,"speed":58,"hex_longitude":"2d93c500","hex_latitude":"0583d5d0","is_valid_coordinates":true} 
[2026-07-07 13:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 13:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553699072001,"note":"Value kept but may cause issues"} 
[2026-07-07 13:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341318534162284544,"note":"Value kept but may cause issues"} 
[2026-07-07 13:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7802275224497686528,"note":"Value kept but may cause issues"} 
[2026-07-07 13:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 13:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783412894000,"timestamp_ms":1783412894000,"timestamp_seconds":1783412894,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb12930"} 
[2026-07-07 13:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 13:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 13:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 13:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 13:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 13:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 13:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 13:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 13:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 13:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 13:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 13:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 13:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553699072001,"66":27919,"168":206,"85":15360,"24":58,"16":341318534162284544,"45":-7802275224497686528},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-07 13:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 13:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 13:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553699072001,"description":"Unknown IO ID 0"} 
[2026-07-07 13:59:36] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-07 13:59:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 13:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341318534162284544,"km_value":341318534162284.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 13:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7802275224497686528,"description":"Unknown IO ID 45"} 
[2026-07-07 13:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553699072001,"power":27919,"unknown_168":206,"unknown_85":15360,"ignition":58,"odometer":null,"unknown_45":-7802275224497686528}} 
[2026-07-07 13:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":126483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 13:59:36] local.INFO: GPS data processed {"connection_id":126483,"processed":1,"errors":0,"total":1} 
[2026-07-07 13:59:36] local.INFO: Acknowledgment sent {"connection_id":126483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 13:59:49] local.INFO: TCP Data received {"connection_id":125250,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:59:49] local.INFO: Processing buffer {"connection_id":125250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 13:59:49] local.INFO: IMEI packet received {"connection_id":125250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 13:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":125250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 13:59:58] local.INFO: TCP Data received {"connection_id":124525,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:59:58] local.INFO: Processing buffer {"connection_id":124525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 13:59:58] local.INFO: IMEI packet received {"connection_id":124525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 13:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":124525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:00:00] local.INFO: TCP Data received {"connection_id":126484,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 14:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 14:00:00] local.INFO: Processing buffer {"connection_id":126484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 14:00:00] local.INFO: Packet analysis {"connection_id":126484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bae"} 
[2026-07-07 14:00:00] local.INFO: Extracted packet for processing {"connection_id":126484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bae"} 
[2026-07-07 14:00:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553586688001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:00: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-07-07 14:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783412744000,"timestamp_ms":1783412744000,"timestamp_seconds":1783412744,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baedf40"} 
[2026-07-07 14:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:00:00] 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-07-07 14:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553586688001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553586688001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:00:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:00:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553586688001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":126484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:00:00] local.INFO: GPS data processed {"connection_id":126484,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:00:00] local.INFO: Acknowledgment sent {"connection_id":126484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:00:04] local.INFO: TCP Data received {"connection_id":124525,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:00:04] local.INFO: Processing buffer {"connection_id":124525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:00:04] local.INFO: IMEI packet received {"connection_id":124525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":124525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:00:05] local.INFO: TCP Data received {"connection_id":124525,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb140a0012d93d0800583b4b8000a00a02f..."} 
[2026-07-07 14:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb140a0012d93d0800583b4b8000a00a02f..."} 
[2026-07-07 14:00:05] local.INFO: Processing buffer {"connection_id":124525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb140a0012d93d0800583b4b8000a00a02f..."} 
[2026-07-07 14:00:05] local.INFO: Packet analysis {"connection_id":124525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb1"} 
[2026-07-07 14:00:05] local.INFO: Extracted packet for processing {"connection_id":124525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb1"} 
[2026-07-07 14:00:05] local.INFO: GPS Element Parsed {"raw_longitude":764661888,"raw_latitude":92517560,"longitude_deg":76.4661888,"latitude_deg":9.251756,"altitude":10,"angle":160,"satellites":47,"speed":59,"hex_longitude":"2d93d080","hex_latitude":"0583b4b8","is_valid_coordinates":true} 
[2026-07-07 14:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553700864001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341318967953981440,"note":"Value kept but may cause issues"} 
[2026-07-07 14:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7798827156035481600,"note":"Value kept but may cause issues"} 
[2026-07-07 14:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783412900000,"timestamp_ms":1783412900000,"timestamp_seconds":1783412900,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb140a0"} 
[2026-07-07 14:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 14:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553700864001,"66":27930,"168":206,"85":15360,"24":59,"16":341318967953981440,"45":-7798827156035481600},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-07 14:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553700864001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:00:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-07 14:00:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 14:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341318967953981440,"km_value":341318967953981.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7798827156035481600,"description":"Unknown IO ID 45"} 
[2026-07-07 14:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553700864001,"power":27930,"unknown_168":206,"unknown_85":15360,"ignition":59,"odometer":null,"unknown_45":-7798827156035481600}} 
[2026-07-07 14:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":124525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:00:05] local.INFO: GPS data processed {"connection_id":124525,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:00:05] local.INFO: Acknowledgment sent {"connection_id":124525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:00:26] local.INFO: TCP Data received {"connection_id":126485,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:00:26] local.INFO: Processing buffer {"connection_id":126485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:00:26] local.INFO: IMEI packet received {"connection_id":126485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":126485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:00:32] local.INFO: TCP Data received {"connection_id":126485,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:00:32] local.INFO: Processing buffer {"connection_id":126485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:00:32] local.INFO: IMEI packet received {"connection_id":126485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":126485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:00:33] local.INFO: TCP Data received {"connection_id":126485,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 14:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 14:00:33] local.INFO: Processing buffer {"connection_id":126485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 14:00:33] local.INFO: Packet analysis {"connection_id":126485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bae"} 
[2026-07-07 14:00:33] local.INFO: Extracted packet for processing {"connection_id":126485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bae"} 
[2026-07-07 14:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553586688001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783412744000,"timestamp_ms":1783412744000,"timestamp_seconds":1783412744,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baedf40"} 
[2026-07-07 14:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:00:33] 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-07-07 14:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553586688001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553586688001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:00:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:00:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553586688001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":126485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:00:33] local.INFO: GPS data processed {"connection_id":126485,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:00:33] local.INFO: Acknowledgment sent {"connection_id":126485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:00:37] local.INFO: TCP Data received {"connection_id":126485,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 14:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 14:00:37] local.INFO: Processing buffer {"connection_id":126485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3baedf40012d196940071fec580032006723..."} 
[2026-07-07 14:00:37] local.INFO: Packet analysis {"connection_id":126485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bae"} 
[2026-07-07 14:00:37] local.INFO: Extracted packet for processing {"connection_id":126485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bae"} 
[2026-07-07 14:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553586688001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783412744000,"timestamp_ms":1783412744000,"timestamp_seconds":1783412744,"priority":1,"record_length":96,"hex_timestamp":"0000019f3baedf40"} 
[2026-07-07 14:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:00:37] 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-07-07 14:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553586688001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553586688001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:00:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:00:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553586688001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":126485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:00:38] local.INFO: GPS data processed {"connection_id":126485,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:00:38] local.INFO: Acknowledgment sent {"connection_id":126485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:00:39] local.INFO: TCP Data received {"connection_id":124525,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb15810012d93dc4005839370000a00a02e..."} 
[2026-07-07 14:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb15810012d93dc4005839370000a00a02e..."} 
[2026-07-07 14:00:39] local.INFO: Processing buffer {"connection_id":124525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb15810012d93dc4005839370000a00a02e..."} 
[2026-07-07 14:00:39] local.INFO: Packet analysis {"connection_id":124525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb1"} 
[2026-07-07 14:00:39] local.INFO: Extracted packet for processing {"connection_id":124525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb1"} 
[2026-07-07 14:00:39] local.INFO: GPS Element Parsed {"raw_longitude":764664896,"raw_latitude":92509040,"longitude_deg":76.4664896,"latitude_deg":9.250904,"altitude":10,"angle":160,"satellites":46,"speed":60,"hex_longitude":"2d93dc40","hex_latitude":"05839370","is_valid_coordinates":true} 
[2026-07-07 14: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-07-07 14:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553702400001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341319406040645632,"note":"Value kept but may cause issues"} 
[2026-07-07 14:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7795590193805477888,"note":"Value kept but may cause issues"} 
[2026-07-07 14:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783412906000,"timestamp_ms":1783412906000,"timestamp_seconds":1783412906,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb15810"} 
[2026-07-07 14:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:00: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-07-07 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 14:00: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-07-07 14: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-07-07 14:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553702400001,"66":27995,"168":206,"85":15360,"24":60,"16":341319406040645632,"45":-7795590193805477888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-07 14:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553702400001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:00:39] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-07 14:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 14:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341319406040645632,"km_value":341319406040645.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7795590193805477888,"description":"Unknown IO ID 45"} 
[2026-07-07 14:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553702400001,"power":27995,"unknown_168":206,"unknown_85":15360,"ignition":60,"odometer":null,"unknown_45":-7795590193805477888}} 
[2026-07-07 14:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":124525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:00:39] local.INFO: GPS data processed {"connection_id":124525,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:00:39] local.INFO: Acknowledgment sent {"connection_id":124525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:00:59] local.INFO: TCP Data received {"connection_id":124431,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:00:59] local.INFO: Processing buffer {"connection_id":124431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:00:59] local.INFO: IMEI packet received {"connection_id":124431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":124431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:01:05] local.INFO: TCP Data received {"connection_id":124431,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:01:05] local.INFO: Processing buffer {"connection_id":124431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:01:05] local.INFO: IMEI packet received {"connection_id":124431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":124431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:01:06] local.INFO: TCP Data received {"connection_id":124431,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb2c740012d94628005821b200008009d2e..."} 
[2026-07-07 14:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb2c740012d94628005821b200008009d2e..."} 
[2026-07-07 14:01:06] local.INFO: Processing buffer {"connection_id":124431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb2c740012d94628005821b200008009d2e..."} 
[2026-07-07 14:01:06] local.INFO: Packet analysis {"connection_id":124431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb2"} 
[2026-07-07 14:01:06] local.INFO: Extracted packet for processing {"connection_id":124431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb2"} 
[2026-07-07 14:01:06] local.INFO: GPS Element Parsed {"raw_longitude":764699264,"raw_latitude":92412704,"longitude_deg":76.4699264,"latitude_deg":9.2412704,"altitude":8,"angle":157,"satellites":46,"speed":33,"hex_longitude":"2d946280","hex_latitude":"05821b20","is_valid_coordinates":true} 
[2026-07-07 14:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553724928001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341324362432905216,"note":"Value kept but may cause issues"} 
[2026-07-07 14:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7758435496904323072,"note":"Value kept but may cause issues"} 
[2026-07-07 14:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783413000000,"timestamp_ms":1783413000000,"timestamp_seconds":1783413000,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb2c740"} 
[2026-07-07 14:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:01: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-07-07 14:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 14:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553724928001,"66":27930,"17":206,"85":15360,"24":33,"16":341324362432905216,"45":-7758435496904323072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-07 14:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553724928001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 14:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341324362432905216,"km_value":341324362432905.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7758435496904323072,"description":"Unknown IO ID 45"} 
[2026-07-07 14:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553724928001,"power":27930,"axis_x":206,"unknown_85":15360,"ignition":33,"odometer":null,"unknown_45":-7758435496904323072}} 
[2026-07-07 14:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":124431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:01:06] local.INFO: GPS data processed {"connection_id":124431,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:01:06] local.INFO: Acknowledgment sent {"connection_id":124431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:01:22] local.INFO: TCP Data received {"connection_id":126486,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:01:22] local.INFO: Processing buffer {"connection_id":126486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:01:22] local.INFO: IMEI packet received {"connection_id":126486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":126486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:01:27] local.INFO: TCP Data received {"connection_id":126486,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:01:27] local.INFO: Processing buffer {"connection_id":126486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:01:27] local.INFO: IMEI packet received {"connection_id":126486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":126486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:01:30] local.INFO: TCP Data received {"connection_id":126486,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:01:30] local.INFO: Processing buffer {"connection_id":126486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:01:30] local.INFO: Packet analysis {"connection_id":126486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:01:30] local.INFO: Extracted packet for processing {"connection_id":126486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:01:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14: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-07-07 14:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553662464001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:01: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-07-07 14:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783413039000,"timestamp_ms":1783413039000,"timestamp_seconds":1783413039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb35f98"} 
[2026-07-07 14:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14: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-07-07 14:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":126486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":126486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":126486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553662464001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553662464001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:01:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:01:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553662464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":126486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:01:30] local.INFO: GPS data processed {"connection_id":126486,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:01:30] local.INFO: Acknowledgment sent {"connection_id":126486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:01:32] local.INFO: TCP Data received {"connection_id":126486,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:01:32] local.INFO: Processing buffer {"connection_id":126486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:01:32] local.INFO: Packet analysis {"connection_id":126486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:01:32] local.INFO: Extracted packet for processing {"connection_id":126486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:01:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553662464001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:01: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-07-07 14:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783413039000,"timestamp_ms":1783413039000,"timestamp_seconds":1783413039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb35f98"} 
[2026-07-07 14:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553662464001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553662464001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:01:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:01:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553662464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":126486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:01:32] local.INFO: GPS data processed {"connection_id":126486,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:01:32] local.INFO: Acknowledgment sent {"connection_id":126486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:01:37] local.INFO: TCP Data received {"connection_id":124431,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb2ee50012d9470400581f9700009009e2f..."} 
[2026-07-07 14:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb2ee50012d9470400581f9700009009e2f..."} 
[2026-07-07 14:01:37] local.INFO: Processing buffer {"connection_id":124431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb2ee50012d9470400581f9700009009e2f..."} 
[2026-07-07 14:01:37] local.INFO: Packet analysis {"connection_id":124431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb2"} 
[2026-07-07 14:01:37] local.INFO: Extracted packet for processing {"connection_id":124431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb2"} 
[2026-07-07 14:01:37] local.INFO: GPS Element Parsed {"raw_longitude":764702784,"raw_latitude":92404080,"longitude_deg":76.4702784,"latitude_deg":9.240408,"altitude":9,"angle":158,"satellites":47,"speed":40,"hex_longitude":"2d947040","hex_latitude":"0581f970","is_valid_coordinates":true} 
[2026-07-07 14:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553728000001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341324813404471296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7754494847232565248,"note":"Value kept but may cause issues"} 
[2026-07-07 14:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783413010000,"timestamp_ms":1783413010000,"timestamp_seconds":1783413010,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb2ee50"} 
[2026-07-07 14:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 14:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553728000001,"66":28050,"17":206,"85":15360,"24":40,"16":341324813404471296,"45":-7754494847232565248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-07 14:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553728000001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 14:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341324813404471296,"km_value":341324813404471.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7754494847232565248,"description":"Unknown IO ID 45"} 
[2026-07-07 14:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553728000001,"power":28050,"axis_x":206,"unknown_85":15360,"ignition":40,"odometer":null,"unknown_45":-7754494847232565248}} 
[2026-07-07 14:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":124431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:01:37] local.INFO: GPS data processed {"connection_id":124431,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:01:37] local.INFO: Acknowledgment sent {"connection_id":124431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:02:04] local.INFO: TCP Data received {"connection_id":126488,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:02:04] local.INFO: Processing buffer {"connection_id":126488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:02:04] local.INFO: IMEI packet received {"connection_id":126488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":126488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:02:05] local.INFO: TCP Data received {"connection_id":126486,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:02:05] local.INFO: Processing buffer {"connection_id":126486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:02:05] local.INFO: Packet analysis {"connection_id":126486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:02:05] local.INFO: Extracted packet for processing {"connection_id":126486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553662464001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783413039000,"timestamp_ms":1783413039000,"timestamp_seconds":1783413039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb35f98"} 
[2026-07-07 14:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553662464001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553662464001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:02:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:02:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553662464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":126486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:02:06] local.INFO: GPS data processed {"connection_id":126486,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:02:06] local.INFO: Acknowledgment sent {"connection_id":126486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:02:07] local.INFO: TCP Data received {"connection_id":126488,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:02:07] local.INFO: Processing buffer {"connection_id":126488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:02:07] local.INFO: IMEI packet received {"connection_id":126488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":126488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:02:08] local.INFO: TCP Data received {"connection_id":126488,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb31178012d947e400581d7780009009d2d..."} 
[2026-07-07 14:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb31178012d947e400581d7780009009d2d..."} 
[2026-07-07 14:02:08] local.INFO: Processing buffer {"connection_id":126488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb31178012d947e400581d7780009009d2d..."} 
[2026-07-07 14:02:08] local.INFO: Packet analysis {"connection_id":126488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:02:08] local.INFO: Extracted packet for processing {"connection_id":126488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:02:08] local.INFO: GPS Element Parsed {"raw_longitude":764706368,"raw_latitude":92395384,"longitude_deg":76.4706368,"latitude_deg":9.2395384,"altitude":9,"angle":157,"satellites":45,"speed":42,"hex_longitude":"2d947e40","hex_latitude":"0581d778","is_valid_coordinates":true} 
[2026-07-07 14: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-07-07 14:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553730560001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341325268671004672,"note":"Value kept but may cause issues"} 
[2026-07-07 14:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7750624566305001472,"note":"Value kept but may cause issues"} 
[2026-07-07 14:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783413019000,"timestamp_ms":1783413019000,"timestamp_seconds":1783413019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb31178"} 
[2026-07-07 14:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:02: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-07-07 14: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 14:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14: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-07-07 14:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553730560001,"66":28006,"20":206,"85":15360,"24":42,"16":341325268671004672,"45":-7750624566305001472},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,85,24,16,45]} 
[2026-07-07 14:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553730560001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:02:08] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-07-07 14:02:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 14:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341325268671004672,"km_value":341325268671004.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7750624566305001472,"description":"Unknown IO ID 45"} 
[2026-07-07 14:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553730560001,"power":28006,"unknown_20":206,"unknown_85":15360,"ignition":42,"odometer":null,"unknown_45":-7750624566305001472}} 
[2026-07-07 14:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":126488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:02:08] local.INFO: GPS data processed {"connection_id":126488,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:02:08] local.INFO: Acknowledgment sent {"connection_id":126488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:02:09] local.INFO: TCP Data received {"connection_id":126488,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb32cd0012d9487000581c038000900ac2d..."} 
[2026-07-07 14:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb32cd0012d9487000581c038000900ac2d..."} 
[2026-07-07 14:02:09] local.INFO: Processing buffer {"connection_id":126488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb32cd0012d9487000581c038000900ac2d..."} 
[2026-07-07 14:02:09] local.INFO: Packet analysis {"connection_id":126488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:02:09] local.INFO: Extracted packet for processing {"connection_id":126488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:02:09] local.INFO: GPS Element Parsed {"raw_longitude":764708608,"raw_latitude":92389432,"longitude_deg":76.4708608,"latitude_deg":9.2389432,"altitude":9,"angle":172,"satellites":45,"speed":28,"hex_longitude":"2d948700","hex_latitude":"0581c038","is_valid_coordinates":true} 
[2026-07-07 14:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553732864001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341325577908649984,"note":"Value kept but may cause issues"} 
[2026-07-07 14:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7746683916633278464,"note":"Value kept but may cause issues"} 
[2026-07-07 14:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783413026000,"timestamp_ms":1783413026000,"timestamp_seconds":1783413026,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb32cd0"} 
[2026-07-07 14:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:02: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-07-07 14: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 14:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553732864001,"66":27919,"20":206,"85":15360,"24":28,"16":341325577908649984,"45":-7746683916633278464},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,85,24,16,45]} 
[2026-07-07 14:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553732864001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:02:09] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-07-07 14:02:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 14:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341325577908649984,"km_value":341325577908650.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7746683916633278464,"description":"Unknown IO ID 45"} 
[2026-07-07 14:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553732864001,"power":27919,"unknown_20":206,"unknown_85":15360,"ignition":28,"odometer":null,"unknown_45":-7746683916633278464}} 
[2026-07-07 14:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":126488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:02:09] local.INFO: GPS data processed {"connection_id":126488,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:02:09] local.INFO: Acknowledgment sent {"connection_id":126488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:02:21] local.INFO: TCP Data received {"connection_id":126489,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:02:21] local.INFO: Processing buffer {"connection_id":126489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:02:21] local.INFO: IMEI packet received {"connection_id":126489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":126489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:02:29] local.INFO: TCP Data received {"connection_id":126489,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:02:29] local.INFO: Processing buffer {"connection_id":126489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:02:29] local.INFO: IMEI packet received {"connection_id":126489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":126489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:02:31] local.INFO: TCP Data received {"connection_id":126489,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:02:31] local.INFO: Processing buffer {"connection_id":126489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:02:31] local.INFO: Packet analysis {"connection_id":126489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:02:31] local.INFO: Extracted packet for processing {"connection_id":126489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:02:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553662464001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:02: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-07-07 14:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783413039000,"timestamp_ms":1783413039000,"timestamp_seconds":1783413039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb35f98"} 
[2026-07-07 14:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553662464001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553662464001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:02:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553662464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":126489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:02:31] local.INFO: GPS data processed {"connection_id":126489,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:02:31] local.INFO: Acknowledgment sent {"connection_id":126489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:02:40] local.INFO: TCP Data received {"connection_id":126488,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb46938012d94cd80058107b0000d007c2d..."} 
[2026-07-07 14:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb46938012d94cd80058107b0000d007c2d..."} 
[2026-07-07 14:02:40] local.INFO: Processing buffer {"connection_id":126488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb46938012d94cd80058107b0000d007c2d..."} 
[2026-07-07 14:02:40] local.INFO: Packet analysis {"connection_id":126488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb4"} 
[2026-07-07 14:02:40] local.INFO: Extracted packet for processing {"connection_id":126488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb4"} 
[2026-07-07 14:02:40] local.INFO: GPS Element Parsed {"raw_longitude":764726656,"raw_latitude":92342192,"longitude_deg":76.4726656,"latitude_deg":9.2342192,"altitude":13,"angle":124,"satellites":45,"speed":22,"hex_longitude":"2d94cd80","hex_latitude":"058107b0","is_valid_coordinates":true} 
[2026-07-07 14:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553754880001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341328073284648960,"note":"Value kept but may cause issues"} 
[2026-07-07 14:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7725291818416689152,"note":"Value kept but may cause issues"} 
[2026-07-07 14:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783413107000,"timestamp_ms":1783413107000,"timestamp_seconds":1783413107,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb46938"} 
[2026-07-07 14:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:02: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-07-07 14: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-07 14:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553754880001,"66":27767,"237":206,"85":15360,"24":22,"16":341328073284648960,"45":-7725291818416689152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-07 14:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553754880001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:02:40] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-07 14:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 14:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341328073284648960,"km_value":341328073284648.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7725291818416689152,"description":"Unknown IO ID 45"} 
[2026-07-07 14:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553754880001,"power":27767,"unknown_237":206,"unknown_85":15360,"ignition":22,"odometer":null,"unknown_45":-7725291818416689152}} 
[2026-07-07 14:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":126488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:02:40] local.INFO: GPS data processed {"connection_id":126488,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:02:40] local.INFO: Acknowledgment sent {"connection_id":126488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:02:59] local.INFO: TCP Data received {"connection_id":125251,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:02:59] local.INFO: Processing buffer {"connection_id":125251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:02:59] local.INFO: IMEI packet received {"connection_id":125251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":125251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:03:04] local.INFO: TCP Data received {"connection_id":125251,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:03:04] local.INFO: Processing buffer {"connection_id":125251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:03:04] local.INFO: IMEI packet received {"connection_id":125251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":125251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:03:05] local.INFO: TCP Data received {"connection_id":125251,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb474f0012d94d2c005810398000c008e2f..."} 
[2026-07-07 14:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb474f0012d94d2c005810398000c008e2f..."} 
[2026-07-07 14:03:05] local.INFO: Processing buffer {"connection_id":125251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb474f0012d94d2c005810398000c008e2f..."} 
[2026-07-07 14:03:05] local.INFO: Packet analysis {"connection_id":125251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb4"} 
[2026-07-07 14:03:05] local.INFO: Extracted packet for processing {"connection_id":125251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb4"} 
[2026-07-07 14:03:05] local.INFO: GPS Element Parsed {"raw_longitude":764728000,"raw_latitude":92341144,"longitude_deg":76.4728,"latitude_deg":9.2341144,"altitude":12,"angle":142,"satellites":47,"speed":21,"hex_longitude":"2d94d2c0","hex_latitude":"05810398","is_valid_coordinates":true} 
[2026-07-07 14:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553755392001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341328154889027584,"note":"Value kept but may cause issues"} 
[2026-07-07 14:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7724377024742576128,"note":"Value kept but may cause issues"} 
[2026-07-07 14:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783413110000,"timestamp_ms":1783413110000,"timestamp_seconds":1783413110,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb474f0"} 
[2026-07-07 14:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 14:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553755392001,"66":27930,"237":206,"85":15360,"24":21,"16":341328154889027584,"45":-7724377024742576128},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-07 14:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553755392001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:03:05] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-07 14:03:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 14:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341328154889027584,"km_value":341328154889027.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7724377024742576128,"description":"Unknown IO ID 45"} 
[2026-07-07 14:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553755392001,"power":27930,"unknown_237":206,"unknown_85":15360,"ignition":21,"odometer":null,"unknown_45":-7724377024742576128}} 
[2026-07-07 14:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":125251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:03:05] local.INFO: GPS data processed {"connection_id":125251,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:03:05] local.INFO: Acknowledgment sent {"connection_id":125251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:03:07] local.INFO: TCP Data received {"connection_id":126489,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:03:07] local.INFO: Processing buffer {"connection_id":126489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:03:07] local.INFO: Packet analysis {"connection_id":126489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:03:07] local.INFO: Extracted packet for processing {"connection_id":126489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:03:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553662464001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783413039000,"timestamp_ms":1783413039000,"timestamp_seconds":1783413039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb35f98"} 
[2026-07-07 14:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553662464001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553662464001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:03:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:03:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553662464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":126489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:03:07] local.INFO: GPS data processed {"connection_id":126489,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:03:07] local.INFO: Acknowledgment sent {"connection_id":126489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:03:21] local.INFO: TCP Data received {"connection_id":124432,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:03:21] local.INFO: Processing buffer {"connection_id":124432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:03:21] local.INFO: IMEI packet received {"connection_id":124432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":124432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:03:27] local.INFO: TCP Data received {"connection_id":124432,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:03:27] local.INFO: Processing buffer {"connection_id":124432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:03:27] local.INFO: IMEI packet received {"connection_id":124432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":124432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:03:36] local.INFO: TCP Data received {"connection_id":125251,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb47cc0012d94d5000580ffd0000c009f2e..."} 
[2026-07-07 14:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb47cc0012d94d5000580ffd0000c009f2e..."} 
[2026-07-07 14:03:36] local.INFO: Processing buffer {"connection_id":125251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb47cc0012d94d5000580ffd0000c009f2e..."} 
[2026-07-07 14:03:36] local.INFO: Packet analysis {"connection_id":125251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb4"} 
[2026-07-07 14:03:36] local.INFO: Extracted packet for processing {"connection_id":125251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb4"} 
[2026-07-07 14:03:36] local.INFO: GPS Element Parsed {"raw_longitude":764728576,"raw_latitude":92340176,"longitude_deg":76.4728576,"latitude_deg":9.2340176,"altitude":12,"angle":159,"satellites":46,"speed":23,"hex_longitude":"2d94d500","hex_latitude":"0580ffd0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 14:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553756160001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341328210723602432,"note":"Value kept but may cause issues"} 
[2026-07-07 14:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7722899281115113472,"note":"Value kept but may cause issues"} 
[2026-07-07 14:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783413112000,"timestamp_ms":1783413112000,"timestamp_seconds":1783413112,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb47cc0"} 
[2026-07-07 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-07-07 14:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 14:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 14:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553756160001,"66":27908,"237":206,"85":15360,"24":23,"16":341328210723602432,"45":-7722899281115113472},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-07 14:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553756160001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:03:36] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-07 14:03:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 14:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341328210723602432,"km_value":341328210723602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7722899281115113472,"description":"Unknown IO ID 45"} 
[2026-07-07 14:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553756160001,"power":27908,"unknown_237":206,"unknown_85":15360,"ignition":23,"odometer":null,"unknown_45":-7722899281115113472}} 
[2026-07-07 14:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":125251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:03:36] local.INFO: GPS data processed {"connection_id":125251,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:03:36] local.INFO: Acknowledgment sent {"connection_id":125251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:03:41] local.INFO: TCP Data received {"connection_id":124432,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:03:41] local.INFO: Processing buffer {"connection_id":124432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:03:41] local.INFO: Packet analysis {"connection_id":124432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:03:41] local.INFO: Extracted packet for processing {"connection_id":124432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:03:41] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553662464001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783413039000,"timestamp_ms":1783413039000,"timestamp_seconds":1783413039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb35f98"} 
[2026-07-07 14:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:03: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-07-07 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553662464001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553662464001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:03:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:03:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553662464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":124432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:03:41] local.INFO: GPS data processed {"connection_id":124432,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:03:41] local.INFO: Acknowledgment sent {"connection_id":124432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:03:59] local.INFO: TCP Data received {"connection_id":126490,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:03:59] local.INFO: Processing buffer {"connection_id":126490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:03:59] local.INFO: IMEI packet received {"connection_id":126490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":126490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:04:00] local.INFO: TCP Data received {"connection_id":126490,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:04:00] local.INFO: Processing buffer {"connection_id":126490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:04:00] local.INFO: IMEI packet received {"connection_id":126490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":126490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:04:04] local.INFO: TCP Data received {"connection_id":126490,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:04:04] local.INFO: Processing buffer {"connection_id":126490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:04:04] local.INFO: IMEI packet received {"connection_id":126490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":126490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:04:07] local.INFO: TCP Data received {"connection_id":126490,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb4af88012d94e1c00580dc60000a009e2d..."} 
[2026-07-07 14:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb4af88012d94e1c00580dc60000a009e2d..."} 
[2026-07-07 14:04:07] local.INFO: Processing buffer {"connection_id":126490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb4af88012d94e1c00580dc60000a009e2d..."} 
[2026-07-07 14:04:07] local.INFO: Packet analysis {"connection_id":126490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb4"} 
[2026-07-07 14:04:07] local.INFO: Extracted packet for processing {"connection_id":126490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb4"} 
[2026-07-07 14:04:07] local.INFO: GPS Element Parsed {"raw_longitude":764731840,"raw_latitude":92331104,"longitude_deg":76.473184,"latitude_deg":9.2331104,"altitude":10,"angle":158,"satellites":45,"speed":34,"hex_longitude":"2d94e1c0","hex_latitude":"0580dc60","is_valid_coordinates":true} 
[2026-07-07 14: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-07-07 14:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553756672001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341328674580070400,"note":"Value kept but may cause issues"} 
[2026-07-07 14:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7722265962417762304,"note":"Value kept but may cause issues"} 
[2026-07-07 14:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783413125000,"timestamp_ms":1783413125000,"timestamp_seconds":1783413125,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb4af88"} 
[2026-07-07 14:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:04: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-07-07 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 14:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14: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-07-07 14:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553756672001,"66":27821,"237":206,"85":15360,"24":34,"16":341328674580070400,"45":-7722265962417762304},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-07 14:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553756672001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:04:07] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-07 14:04:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 14:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341328674580070400,"km_value":341328674580070.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7722265962417762304,"description":"Unknown IO ID 45"} 
[2026-07-07 14:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553756672001,"power":27821,"unknown_237":206,"unknown_85":15360,"ignition":34,"odometer":null,"unknown_45":-7722265962417762304}} 
[2026-07-07 14:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":126490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:04:07] local.INFO: GPS data processed {"connection_id":126490,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:04:07] local.INFO: Acknowledgment sent {"connection_id":126490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:04:08] local.INFO: TCP Data received {"connection_id":126490,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb4d698012d94ee800580ba50000900a02c..."} 
[2026-07-07 14:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb4d698012d94ee800580ba50000900a02c..."} 
[2026-07-07 14:04:08] local.INFO: Processing buffer {"connection_id":126490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb4d698012d94ee800580ba50000900a02c..."} 
[2026-07-07 14:04:08] local.INFO: Packet analysis {"connection_id":126490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb4"} 
[2026-07-07 14:04:08] local.INFO: Extracted packet for processing {"connection_id":126490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb4"} 
[2026-07-07 14:04:08] local.INFO: GPS Element Parsed {"raw_longitude":764735104,"raw_latitude":92322384,"longitude_deg":76.4735104,"latitude_deg":9.2322384,"altitude":9,"angle":160,"satellites":44,"speed":33,"hex_longitude":"2d94ee80","hex_latitude":"0580ba50","is_valid_coordinates":true} 
[2026-07-07 14:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553760000001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341329125551636480,"note":"Value kept but may cause issues"} 
[2026-07-07 14:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7718677156467023872,"note":"Value kept but may cause issues"} 
[2026-07-07 14:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783413135000,"timestamp_ms":1783413135000,"timestamp_seconds":1783413135,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb4d698"} 
[2026-07-07 14:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 14:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553760000001,"66":27843,"237":206,"85":15360,"24":33,"16":341329125551636480,"45":-7718677156467023872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-07 14:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553760000001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:04:08] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-07 14:04:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 14:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341329125551636480,"km_value":341329125551636.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7718677156467023872,"description":"Unknown IO ID 45"} 
[2026-07-07 14:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553760000001,"power":27843,"unknown_237":206,"unknown_85":15360,"ignition":33,"odometer":null,"unknown_45":-7718677156467023872}} 
[2026-07-07 14:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":126490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:04:08] local.INFO: GPS data processed {"connection_id":126490,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:04:08] local.INFO: Acknowledgment sent {"connection_id":126490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:04:27] local.INFO: TCP Data received {"connection_id":124528,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:04:27] local.INFO: Processing buffer {"connection_id":124528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:04:27] local.INFO: IMEI packet received {"connection_id":124528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":124528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:04:32] local.INFO: TCP Data received {"connection_id":124528,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:04:32] local.INFO: Processing buffer {"connection_id":124528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:04:32] local.INFO: IMEI packet received {"connection_id":124528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":124528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:04:33] local.INFO: TCP Data received {"connection_id":124528,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:04:33] local.INFO: Processing buffer {"connection_id":124528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:04:33] local.INFO: Packet analysis {"connection_id":124528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:04:33] local.INFO: Extracted packet for processing {"connection_id":124528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14: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-07-07 14:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553662464001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783413039000,"timestamp_ms":1783413039000,"timestamp_seconds":1783413039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb35f98"} 
[2026-07-07 14:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553662464001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553662464001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:04:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:04:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553662464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":124528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:04:33] local.INFO: GPS data processed {"connection_id":124528,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:04:33] local.INFO: Acknowledgment sent {"connection_id":124528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:04:37] local.INFO: TCP Data received {"connection_id":124528,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:04:37] local.INFO: Processing buffer {"connection_id":124528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:04:37] local.INFO: Packet analysis {"connection_id":124528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:04:37] local.INFO: Extracted packet for processing {"connection_id":124528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553662464001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783413039000,"timestamp_ms":1783413039000,"timestamp_seconds":1783413039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb35f98"} 
[2026-07-07 14:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553662464001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553662464001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:04:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553662464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":124528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:04:37] local.INFO: GPS data processed {"connection_id":124528,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:04:37] local.INFO: Acknowledgment sent {"connection_id":124528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:04:40] local.INFO: TCP Data received {"connection_id":126490,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb62e58012d958540057f43f0000900a32c..."} 
[2026-07-07 14:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb62e58012d958540057f43f0000900a32c..."} 
[2026-07-07 14:04:40] local.INFO: Processing buffer {"connection_id":126490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb62e58012d958540057f43f0000900a32c..."} 
[2026-07-07 14:04:40] local.INFO: Packet analysis {"connection_id":126490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb6"} 
[2026-07-07 14:04:40] local.INFO: Extracted packet for processing {"connection_id":126490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb6"} 
[2026-07-07 14:04:40] local.INFO: GPS Element Parsed {"raw_longitude":764773696,"raw_latitude":92226544,"longitude_deg":76.4773696,"latitude_deg":9.2226544,"altitude":9,"angle":163,"satellites":44,"speed":47,"hex_longitude":"2d958540","hex_latitude":"057f43f0","is_valid_coordinates":true} 
[2026-07-07 14:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553783040001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341334142073438208,"note":"Value kept but may cause issues"} 
[2026-07-07 14:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7675400378822230016,"note":"Value kept but may cause issues"} 
[2026-07-07 14:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783413223000,"timestamp_ms":1783413223000,"timestamp_seconds":1783413223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb62e58"} 
[2026-07-07 14:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 14:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553783040001,"66":27919,"65":206,"85":15360,"24":47,"16":341334142073438208,"45":-7675400378822230016},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-07 14:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553783040001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:04:40] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-07 14:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 14:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341334142073438208,"km_value":341334142073438.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7675400378822230016,"description":"Unknown IO ID 45"} 
[2026-07-07 14:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553783040001,"power":27919,"unknown_65":206,"unknown_85":15360,"ignition":47,"odometer":null,"unknown_45":-7675400378822230016}} 
[2026-07-07 14:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":126490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:04:40] local.INFO: GPS data processed {"connection_id":126490,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:04:40] local.INFO: Acknowledgment sent {"connection_id":126490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:04:58] local.INFO: TCP Data received {"connection_id":125254,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:04:58] local.INFO: Processing buffer {"connection_id":125254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:04:58] local.INFO: IMEI packet received {"connection_id":125254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":125254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:05:03] local.INFO: TCP Data received {"connection_id":125254,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:05:03] local.INFO: Processing buffer {"connection_id":125254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:05:03] local.INFO: IMEI packet received {"connection_id":125254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":125254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:05:04] local.INFO: TCP Data received {"connection_id":125254,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb64d98012d959000057f1ec0000a00a32b..."} 
[2026-07-07 14:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb64d98012d959000057f1ec0000a00a32b..."} 
[2026-07-07 14:05:04] local.INFO: Processing buffer {"connection_id":125254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb64d98012d959000057f1ec0000a00a32b..."} 
[2026-07-07 14:05:04] local.INFO: Packet analysis {"connection_id":125254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb6"} 
[2026-07-07 14:05:04] local.INFO: Extracted packet for processing {"connection_id":125254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb6"} 
[2026-07-07 14:05:04] local.INFO: GPS Element Parsed {"raw_longitude":764776448,"raw_latitude":92217024,"longitude_deg":76.4776448,"latitude_deg":9.2217024,"altitude":10,"angle":163,"satellites":43,"speed":50,"hex_longitude":"2d959000","hex_latitude":"057f1ec0","is_valid_coordinates":true} 
[2026-07-07 14:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553785088001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341334623109775360,"note":"Value kept but may cause issues"} 
[2026-07-07 14:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7672655997801598976,"note":"Value kept but may cause issues"} 
[2026-07-07 14:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783413231000,"timestamp_ms":1783413231000,"timestamp_seconds":1783413231,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb64d98"} 
[2026-07-07 14:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 14:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553785088001,"66":27919,"65":206,"85":15360,"24":50,"16":341334623109775360,"45":-7672655997801598976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-07 14:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553785088001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:05:04] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-07 14:05:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 14:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341334623109775360,"km_value":341334623109775.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7672655997801598976,"description":"Unknown IO ID 45"} 
[2026-07-07 14:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553785088001,"power":27919,"unknown_65":206,"unknown_85":15360,"ignition":50,"odometer":null,"unknown_45":-7672655997801598976}} 
[2026-07-07 14:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":125254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:05:04] local.INFO: GPS data processed {"connection_id":125254,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:05:04] local.INFO: Acknowledgment sent {"connection_id":125254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:05:14] local.INFO: TCP Data received {"connection_id":125253,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:05:14] local.INFO: Processing buffer {"connection_id":125253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:05:14] local.INFO: IMEI packet received {"connection_id":125253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 14:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":125253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:05:21] local.INFO: TCP Data received {"connection_id":124433,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:05:21] local.INFO: Processing buffer {"connection_id":124433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:05:21] local.INFO: IMEI packet received {"connection_id":124433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":124433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:05:27] local.INFO: TCP Data received {"connection_id":124433,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:05:27] local.INFO: Processing buffer {"connection_id":124433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:05:27] local.INFO: IMEI packet received {"connection_id":124433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":124433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:05:29] local.INFO: TCP Data received {"connection_id":124433,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:05:29] local.INFO: Processing buffer {"connection_id":124433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:05:29] local.INFO: Packet analysis {"connection_id":124433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:05:29] local.INFO: Extracted packet for processing {"connection_id":124433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:05:29] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553662464001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783413039000,"timestamp_ms":1783413039000,"timestamp_seconds":1783413039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb35f98"} 
[2026-07-07 14:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:05:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":124433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":124433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":124433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553662464001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553662464001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:05:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:05:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553662464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":124433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:05:29] local.INFO: GPS data processed {"connection_id":124433,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:05:29] local.INFO: Acknowledgment sent {"connection_id":124433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:05:35] local.INFO: TCP Data received {"connection_id":125254,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb668f0012d959a40057efc40000a00a32b..."} 
[2026-07-07 14:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb668f0012d959a40057efc40000a00a32b..."} 
[2026-07-07 14:05:35] local.INFO: Processing buffer {"connection_id":125254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb668f0012d959a40057efc40000a00a32b..."} 
[2026-07-07 14:05:35] local.INFO: Packet analysis {"connection_id":125254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb6"} 
[2026-07-07 14:05:35] local.INFO: Extracted packet for processing {"connection_id":125254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb6"} 
[2026-07-07 14:05:35] local.INFO: GPS Element Parsed {"raw_longitude":764779072,"raw_latitude":92208192,"longitude_deg":76.4779072,"latitude_deg":9.2208192,"altitude":10,"angle":163,"satellites":43,"speed":53,"hex_longitude":"2d959a40","hex_latitude":"057efc40","is_valid_coordinates":true} 
[2026-07-07 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-07-07 14:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553787136001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341335069786374144,"note":"Value kept but may cause issues"} 
[2026-07-07 14:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7669630141804396544,"note":"Value kept but may cause issues"} 
[2026-07-07 14:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783413238000,"timestamp_ms":1783413238000,"timestamp_seconds":1783413238,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb668f0"} 
[2026-07-07 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-07-07 14:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 14:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 14:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553787136001,"66":27919,"65":206,"85":15360,"24":53,"16":341335069786374144,"45":-7669630141804396544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-07 14:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553787136001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:05:35] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-07 14:05:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 14:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341335069786374144,"km_value":341335069786374.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7669630141804396544,"description":"Unknown IO ID 45"} 
[2026-07-07 14:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553787136001,"power":27919,"unknown_65":206,"unknown_85":15360,"ignition":53,"odometer":null,"unknown_45":-7669630141804396544}} 
[2026-07-07 14:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":125254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:05:35] local.INFO: GPS data processed {"connection_id":125254,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:05:35] local.INFO: Acknowledgment sent {"connection_id":125254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:05:58] local.INFO: TCP Data received {"connection_id":126492,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:05:58] local.INFO: Processing buffer {"connection_id":126492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:05:58] local.INFO: IMEI packet received {"connection_id":126492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":126492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:05:59] local.INFO: TCP Data received {"connection_id":126491,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:05:59] local.INFO: Processing buffer {"connection_id":126491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:05:59] local.INFO: IMEI packet received {"connection_id":126491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 14:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":126491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:06:00] local.INFO: TCP Data received {"connection_id":124433,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:06:00] local.INFO: Processing buffer {"connection_id":124433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb35f98012d196940071fec580032006721..."} 
[2026-07-07 14:06:00] local.INFO: Packet analysis {"connection_id":124433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:06:00] local.INFO: Extracted packet for processing {"connection_id":124433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb3"} 
[2026-07-07 14:06:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553662464001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:06: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-07-07 14:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783413039000,"timestamp_ms":1783413039000,"timestamp_seconds":1783413039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb35f98"} 
[2026-07-07 14:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553662464001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553662464001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:06:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:06:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553662464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":124433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:06:00] local.INFO: GPS data processed {"connection_id":124433,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:06:00] local.INFO: Acknowledgment sent {"connection_id":124433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:06:02] local.INFO: TCP Data received {"connection_id":126492,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:06:02] local.INFO: Processing buffer {"connection_id":126492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:06:02] local.INFO: IMEI packet received {"connection_id":126492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":126492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:06:03] local.INFO: TCP Data received {"connection_id":126492,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:06:03] local.INFO: Processing buffer {"connection_id":126492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:06:03] local.INFO: IMEI packet received {"connection_id":126492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":126492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:06:04] local.INFO: TCP Data received {"connection_id":126492,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb68448012d95a500057ed8c0000b00a32c..."} 
[2026-07-07 14:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb68448012d95a500057ed8c0000b00a32c..."} 
[2026-07-07 14:06:04] local.INFO: Processing buffer {"connection_id":126492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb68448012d95a500057ed8c0000b00a32c..."} 
[2026-07-07 14:06:04] local.INFO: Packet analysis {"connection_id":126492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb6"} 
[2026-07-07 14:06:04] local.INFO: Extracted packet for processing {"connection_id":126492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb6"} 
[2026-07-07 14:06:04] local.INFO: GPS Element Parsed {"raw_longitude":764781824,"raw_latitude":92199104,"longitude_deg":76.4781824,"latitude_deg":9.2199104,"altitude":11,"angle":163,"satellites":44,"speed":53,"hex_longitude":"2d95a500","hex_latitude":"057ed8c0","is_valid_coordinates":true} 
[2026-07-07 14:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553788928001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341335529347874816,"note":"Value kept but may cause issues"} 
[2026-07-07 14:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7666745023295373312,"note":"Value kept but may cause issues"} 
[2026-07-07 14:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783413245000,"timestamp_ms":1783413245000,"timestamp_seconds":1783413245,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb68448"} 
[2026-07-07 14:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 14:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553788928001,"66":27974,"65":206,"85":15360,"24":53,"16":341335529347874816,"45":-7666745023295373312},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-07 14:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553788928001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:06:04] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-07 14:06:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 14:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341335529347874816,"km_value":341335529347874.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7666745023295373312,"description":"Unknown IO ID 45"} 
[2026-07-07 14:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553788928001,"power":27974,"unknown_65":206,"unknown_85":15360,"ignition":53,"odometer":null,"unknown_45":-7666745023295373312}} 
[2026-07-07 14:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":126492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:06:04] local.INFO: GPS data processed {"connection_id":126492,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:06:04] local.INFO: Acknowledgment sent {"connection_id":126492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:06:21] local.INFO: TCP Data received {"connection_id":124434,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:06:21] local.INFO: Processing buffer {"connection_id":124434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:06:21] local.INFO: IMEI packet received {"connection_id":124434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":124434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:06:27] local.INFO: TCP Data received {"connection_id":124434,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:06:27] local.INFO: Processing buffer {"connection_id":124434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:06:27] local.INFO: IMEI packet received {"connection_id":124434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":124434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:06:30] local.INFO: TCP Data received {"connection_id":124434,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:06:30] local.INFO: Processing buffer {"connection_id":124434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:06:30] local.INFO: Packet analysis {"connection_id":124434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:06:30] local.INFO: Extracted packet for processing {"connection_id":124434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:06:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553737984001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:06: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-07-07 14:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783413337000,"timestamp_ms":1783413337000,"timestamp_seconds":1783413337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb7eba8"} 
[2026-07-07 14:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553737984001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553737984001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:06:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:06:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553737984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":124434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:06:31] local.INFO: GPS data processed {"connection_id":124434,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:06:31] local.INFO: Acknowledgment sent {"connection_id":124434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:06:35] local.INFO: TCP Data received {"connection_id":126492,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb7ef90012d962dc0057d2e30000b00a12b..."} 
[2026-07-07 14:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb7ef90012d962dc0057d2e30000b00a12b..."} 
[2026-07-07 14:06:35] local.INFO: Processing buffer {"connection_id":126492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb7ef90012d962dc0057d2e30000b00a12b..."} 
[2026-07-07 14:06:35] local.INFO: Packet analysis {"connection_id":126492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:06:35] local.INFO: Extracted packet for processing {"connection_id":126492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:06:35] local.INFO: GPS Element Parsed {"raw_longitude":764816832,"raw_latitude":92089904,"longitude_deg":76.4816832,"latitude_deg":9.2089904,"altitude":11,"angle":161,"satellites":43,"speed":49,"hex_longitude":"2d962dc0","hex_latitude":"057d2e30","is_valid_coordinates":true} 
[2026-07-07 14:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553812736001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341341087035555840,"note":"Value kept but may cause issues"} 
[2026-07-07 14:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7628253320258293760,"note":"Value kept but may cause issues"} 
[2026-07-07 14:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783413338000,"timestamp_ms":1783413338000,"timestamp_seconds":1783413338,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb7ef90"} 
[2026-07-07 14:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 14:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553812736001,"66":27876,"19":206,"85":15360,"24":49,"16":341341087035555840,"45":-7628253320258293760},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-07 14:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553812736001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:06:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-07 14:06:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 14:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341341087035555840,"km_value":341341087035555.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7628253320258293760,"description":"Unknown IO ID 45"} 
[2026-07-07 14:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553812736001,"power":27876,"unknown_19":206,"unknown_85":15360,"ignition":49,"odometer":null,"unknown_45":-7628253320258293760}} 
[2026-07-07 14:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":126492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:06:35] local.INFO: GPS data processed {"connection_id":126492,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:06:35] local.INFO: Acknowledgment sent {"connection_id":126492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:07:02] local.INFO: TCP Data received {"connection_id":124434,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:07:02] local.INFO: Processing buffer {"connection_id":124434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:07:02] local.INFO: Packet analysis {"connection_id":124434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:07:02] local.INFO: Extracted packet for processing {"connection_id":124434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:07:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553737984001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783413337000,"timestamp_ms":1783413337000,"timestamp_seconds":1783413337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb7eba8"} 
[2026-07-07 14:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:07: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-07-07 14:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553737984001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553737984001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:07:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:07:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553737984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":124434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:07:02] local.INFO: GPS data processed {"connection_id":124434,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:07:02] local.INFO: Acknowledgment sent {"connection_id":124434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:07:04] local.INFO: TCP Data received {"connection_id":124435,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:07:04] local.INFO: Processing buffer {"connection_id":124435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:07:04] local.INFO: IMEI packet received {"connection_id":124435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":124435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:07:05] local.INFO: TCP Data received {"connection_id":124435,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:07:05] local.INFO: Processing buffer {"connection_id":124435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:07:05] local.INFO: IMEI packet received {"connection_id":124435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":124435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:07:06] local.INFO: TCP Data received {"connection_id":124435,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb80ed0012d963940057d0a30000b00a22c..."} 
[2026-07-07 14:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb80ed0012d963940057d0a30000b00a22c..."} 
[2026-07-07 14:07:06] local.INFO: Processing buffer {"connection_id":124435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb80ed0012d963940057d0a30000b00a22c..."} 
[2026-07-07 14:07:06] local.INFO: Packet analysis {"connection_id":124435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb8"} 
[2026-07-07 14:07:06] local.INFO: Extracted packet for processing {"connection_id":124435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb8"} 
[2026-07-07 14:07:06] local.INFO: GPS Element Parsed {"raw_longitude":764819776,"raw_latitude":92080688,"longitude_deg":76.4819776,"latitude_deg":9.2080688,"altitude":11,"angle":162,"satellites":44,"speed":47,"hex_longitude":"2d963940","hex_latitude":"057d0a30","is_valid_coordinates":true} 
[2026-07-07 14:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553814528001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341341555186991104,"note":"Value kept but may cause issues"} 
[2026-07-07 14:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7625227464260833280,"note":"Value kept but may cause issues"} 
[2026-07-07 14:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783413346000,"timestamp_ms":1783413346000,"timestamp_seconds":1783413346,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb80ed0"} 
[2026-07-07 14:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 14:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553814528001,"66":27974,"19":206,"85":15360,"24":47,"16":341341555186991104,"45":-7625227464260833280},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-07 14:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553814528001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:07:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-07 14:07:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 14:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341341555186991104,"km_value":341341555186991.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7625227464260833280,"description":"Unknown IO ID 45"} 
[2026-07-07 14:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553814528001,"power":27974,"unknown_19":206,"unknown_85":15360,"ignition":47,"odometer":null,"unknown_45":-7625227464260833280}} 
[2026-07-07 14:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":124435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:07:06] local.INFO: GPS data processed {"connection_id":124435,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:07:06] local.INFO: Acknowledgment sent {"connection_id":124435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:07:10] local.INFO: TCP Data received {"connection_id":124435,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb82e10012d964580057ce820000c00a02c..."} 
[2026-07-07 14:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb82e10012d964580057ce820000c00a02c..."} 
[2026-07-07 14:07:10] local.INFO: Processing buffer {"connection_id":124435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb82e10012d964580057ce820000c00a02c..."} 
[2026-07-07 14:07:10] local.INFO: Packet analysis {"connection_id":124435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb8"} 
[2026-07-07 14:07:10] local.INFO: Extracted packet for processing {"connection_id":124435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb8"} 
[2026-07-07 14:07:10] local.INFO: GPS Element Parsed {"raw_longitude":764822912,"raw_latitude":92071968,"longitude_deg":76.4822912,"latitude_deg":9.2071968,"altitude":12,"angle":160,"satellites":44,"speed":45,"hex_longitude":"2d964580","hex_latitude":"057ce820","is_valid_coordinates":true} 
[2026-07-07 14:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553816576001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341342001863589888,"note":"Value kept but may cause issues"} 
[2026-07-07 14:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7621990502031020032,"note":"Value kept but may cause issues"} 
[2026-07-07 14:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783413354000,"timestamp_ms":1783413354000,"timestamp_seconds":1783413354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb82e10"} 
[2026-07-07 14:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14: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-07-07 14:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 14:07: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-07-07 14:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553816576001,"66":27908,"19":206,"85":15360,"24":45,"16":341342001863589888,"45":-7621990502031020032},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-07 14:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553816576001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:07:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-07 14:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 14:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341342001863589888,"km_value":341342001863589.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7621990502031020032,"description":"Unknown IO ID 45"} 
[2026-07-07 14:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553816576001,"power":27908,"unknown_19":206,"unknown_85":15360,"ignition":45,"odometer":null,"unknown_45":-7621990502031020032}} 
[2026-07-07 14:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":124435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:07:10] local.INFO: GPS data processed {"connection_id":124435,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:07:10] local.INFO: Acknowledgment sent {"connection_id":124435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:07:21] local.INFO: TCP Data received {"connection_id":125255,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:07:21] local.INFO: Processing buffer {"connection_id":125255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:07:21] local.INFO: IMEI packet received {"connection_id":125255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":125255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:07:27] local.INFO: TCP Data received {"connection_id":125255,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:07:27] local.INFO: Processing buffer {"connection_id":125255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:07:27] local.INFO: IMEI packet received {"connection_id":125255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":125255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:07:28] local.INFO: TCP Data received {"connection_id":125255,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:07:28] local.INFO: Processing buffer {"connection_id":125255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:07:28] local.INFO: Packet analysis {"connection_id":125255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:07:28] local.INFO: Extracted packet for processing {"connection_id":125255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553737984001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:07: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-07-07 14:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783413337000,"timestamp_ms":1783413337000,"timestamp_seconds":1783413337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb7eba8"} 
[2026-07-07 14:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553737984001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553737984001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:07:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:07:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553737984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":125255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:07:28] local.INFO: GPS data processed {"connection_id":125255,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:07:28] local.INFO: Acknowledgment sent {"connection_id":125255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:07:41] local.INFO: TCP Data received {"connection_id":124435,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb85138012d9652c0057cc3d8000b009f2d..."} 
[2026-07-07 14:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb85138012d9652c0057cc3d8000b009f2d..."} 
[2026-07-07 14:07:41] local.INFO: Processing buffer {"connection_id":124435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb85138012d9652c0057cc3d8000b009f2d..."} 
[2026-07-07 14:07:41] local.INFO: Packet analysis {"connection_id":124435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb8"} 
[2026-07-07 14:07:41] local.INFO: Extracted packet for processing {"connection_id":124435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb8"} 
[2026-07-07 14:07:41] local.INFO: GPS Element Parsed {"raw_longitude":764826304,"raw_latitude":92062680,"longitude_deg":76.4826304,"latitude_deg":9.206268,"altitude":11,"angle":159,"satellites":45,"speed":42,"hex_longitude":"2d9652c0","hex_latitude":"057cc3d8","is_valid_coordinates":true} 
[2026-07-07 14:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553818624001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341342478604959744,"note":"Value kept but may cause issues"} 
[2026-07-07 14:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7618542433568546816,"note":"Value kept but may cause issues"} 
[2026-07-07 14:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783413363000,"timestamp_ms":1783413363000,"timestamp_seconds":1783413363,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb85138"} 
[2026-07-07 14:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:07: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-07-07 14:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 14:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553818624001,"66":27876,"19":206,"85":15360,"24":42,"16":341342478604959744,"45":-7618542433568546816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-07 14:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553818624001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:07:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-07 14:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-07 14:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341342478604959744,"km_value":341342478604959.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7618542433568546816,"description":"Unknown IO ID 45"} 
[2026-07-07 14:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553818624001,"power":27876,"unknown_19":206,"unknown_85":15360,"ignition":42,"odometer":null,"unknown_45":-7618542433568546816}} 
[2026-07-07 14:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":124435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:07:41] local.INFO: GPS data processed {"connection_id":124435,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:07:41] local.INFO: Acknowledgment sent {"connection_id":124435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:07:56] local.INFO: TCP Data received {"connection_id":124531,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:07:56] local.INFO: Processing buffer {"connection_id":124531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:07:56] local.INFO: IMEI packet received {"connection_id":124531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":124531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:08:00] local.INFO: TCP Data received {"connection_id":125255,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:08:00] local.INFO: Processing buffer {"connection_id":125255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:08:00] local.INFO: Packet analysis {"connection_id":125255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:08:00] local.INFO: Extracted packet for processing {"connection_id":125255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:08:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553737984001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:08: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-07-07 14:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783413337000,"timestamp_ms":1783413337000,"timestamp_seconds":1783413337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb7eba8"} 
[2026-07-07 14:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553737984001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553737984001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:08:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:08:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553737984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":125255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:08:00] local.INFO: GPS data processed {"connection_id":125255,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:08:00] local.INFO: Acknowledgment sent {"connection_id":125255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:08:21] local.INFO: TCP Data received {"connection_id":124532,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:08:21] local.INFO: Processing buffer {"connection_id":124532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:08:21] local.INFO: IMEI packet received {"connection_id":124532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":124532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:08:26] local.INFO: TCP Data received {"connection_id":124531,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:08:26] local.INFO: Processing buffer {"connection_id":124531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:08:26] local.INFO: IMEI packet received {"connection_id":124531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":124531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:08:26] local.INFO: TCP Data received {"connection_id":124531,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:08:26] local.INFO: Processing buffer {"connection_id":124531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:08:26] local.INFO: IMEI packet received {"connection_id":124531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":124531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:08:27] local.INFO: TCP Data received {"connection_id":124532,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:08:27] local.INFO: Processing buffer {"connection_id":124532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:08:27] local.INFO: IMEI packet received {"connection_id":124532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":124532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:08:27] local.INFO: TCP Data received {"connection_id":124531,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:08:27] local.INFO: Processing buffer {"connection_id":124531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:08:27] local.INFO: IMEI packet received {"connection_id":124531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":124531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:08:28] local.INFO: TCP Data received {"connection_id":124532,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:08:28] local.INFO: Processing buffer {"connection_id":124532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:08:28] local.INFO: Packet analysis {"connection_id":124532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:08:28] local.INFO: Extracted packet for processing {"connection_id":124532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553737984001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:08: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-07-07 14:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783413337000,"timestamp_ms":1783413337000,"timestamp_seconds":1783413337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb7eba8"} 
[2026-07-07 14:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553737984001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553737984001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:08:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:08:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553737984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":124532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:08:28] local.INFO: GPS data processed {"connection_id":124532,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:08:28] local.INFO: Acknowledgment sent {"connection_id":124532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:09:02] local.INFO: TCP Data received {"connection_id":124532,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:09:02] local.INFO: Processing buffer {"connection_id":124532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:09:02] local.INFO: Packet analysis {"connection_id":124532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:09:02] local.INFO: Extracted packet for processing {"connection_id":124532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:09:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553737984001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783413337000,"timestamp_ms":1783413337000,"timestamp_seconds":1783413337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb7eba8"} 
[2026-07-07 14:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:09: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-07-07 14:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553737984001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553737984001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:09:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:09:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553737984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":124532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:09:02] local.INFO: GPS data processed {"connection_id":124532,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:09:02] local.INFO: Acknowledgment sent {"connection_id":124532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:09:26] local.INFO: TCP Data received {"connection_id":124533,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:09:27] local.INFO: Processing buffer {"connection_id":124533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:09:27] local.INFO: IMEI packet received {"connection_id":124533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":124533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:09:31] local.INFO: TCP Data received {"connection_id":124533,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:09:32] local.INFO: Processing buffer {"connection_id":124533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:09:32] local.INFO: IMEI packet received {"connection_id":124533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":124533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:09:34] local.INFO: TCP Data received {"connection_id":124533,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:09:34] local.INFO: Processing buffer {"connection_id":124533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:09:34] local.INFO: Packet analysis {"connection_id":124533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:09:34] local.INFO: Extracted packet for processing {"connection_id":124533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:09:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553737984001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783413337000,"timestamp_ms":1783413337000,"timestamp_seconds":1783413337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb7eba8"} 
[2026-07-07 14:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553737984001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553737984001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:09:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:09:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553737984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":124533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:09:34] local.INFO: GPS data processed {"connection_id":124533,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:09:34] local.INFO: Acknowledgment sent {"connection_id":124533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:09:37] local.INFO: TCP Data received {"connection_id":124533,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:09:37] local.INFO: Processing buffer {"connection_id":124533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:09:37] local.INFO: Packet analysis {"connection_id":124533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:09:37] local.INFO: Extracted packet for processing {"connection_id":124533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553737984001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783413337000,"timestamp_ms":1783413337000,"timestamp_seconds":1783413337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb7eba8"} 
[2026-07-07 14:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553737984001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553737984001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:09:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:09:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553737984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":124533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:09:37] local.INFO: GPS data processed {"connection_id":124533,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:09:37] local.INFO: Acknowledgment sent {"connection_id":124533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:10:22] local.INFO: TCP Data received {"connection_id":126495,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:10:22] local.INFO: Processing buffer {"connection_id":126495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:10:22] local.INFO: IMEI packet received {"connection_id":126495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":126495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:10:27] local.INFO: TCP Data received {"connection_id":126495,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:10:27] local.INFO: Processing buffer {"connection_id":126495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:10:27] local.INFO: IMEI packet received {"connection_id":126495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":126495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:10:31] local.INFO: TCP Data received {"connection_id":126495,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:10:31] local.INFO: Processing buffer {"connection_id":126495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:10:31] local.INFO: IMEI packet received {"connection_id":126495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":126495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:10:33] local.INFO: TCP Data received {"connection_id":126495,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:10:33] local.INFO: Processing buffer {"connection_id":126495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:10:33] local.INFO: Packet analysis {"connection_id":126495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:10:33] local.INFO: Extracted packet for processing {"connection_id":126495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553737984001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783413337000,"timestamp_ms":1783413337000,"timestamp_seconds":1783413337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb7eba8"} 
[2026-07-07 14:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553737984001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553737984001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:10:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:10:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553737984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":126495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:10:33] local.INFO: GPS data processed {"connection_id":126495,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:10:33] local.INFO: Acknowledgment sent {"connection_id":126495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:11:04] local.INFO: TCP Data received {"connection_id":126495,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:11:04] local.INFO: Processing buffer {"connection_id":126495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb7eba8012d196940071fec580032006724..."} 
[2026-07-07 14:11:04] local.INFO: Packet analysis {"connection_id":126495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:11:04] local.INFO: Extracted packet for processing {"connection_id":126495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb7"} 
[2026-07-07 14:11:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553737984001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:11: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-07-07 14:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783413337000,"timestamp_ms":1783413337000,"timestamp_seconds":1783413337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb7eba8"} 
[2026-07-07 14:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553737984001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553737984001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:11:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:11:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553737984001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":126495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:11:05] local.INFO: GPS data processed {"connection_id":126495,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:11:05] local.INFO: Acknowledgment sent {"connection_id":126495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:11:21] local.INFO: TCP Data received {"connection_id":124438,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:11:21] local.INFO: Processing buffer {"connection_id":124438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:11:21] local.INFO: IMEI packet received {"connection_id":124438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":124438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:11:24] local.INFO: TCP Data received {"connection_id":124534,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:11:24] local.INFO: Processing buffer {"connection_id":124534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:11:24] local.INFO: IMEI packet received {"connection_id":124534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 14:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":124534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:11:27] local.INFO: TCP Data received {"connection_id":124438,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:11:27] local.INFO: Processing buffer {"connection_id":124438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:11:27] local.INFO: IMEI packet received {"connection_id":124438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":124438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:11:30] local.INFO: TCP Data received {"connection_id":124438,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:11:30] local.INFO: Processing buffer {"connection_id":124438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:11:30] local.INFO: Packet analysis {"connection_id":124438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:11:30] local.INFO: Extracted packet for processing {"connection_id":124438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:11:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553814272001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:11: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-07-07 14:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783413638000,"timestamp_ms":1783413638000,"timestamp_seconds":1783413638,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bbc8370"} 
[2026-07-07 14:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553814272001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553814272001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:11:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:11:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553814272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":124438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:11:30] local.INFO: GPS data processed {"connection_id":124438,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:11:30] local.INFO: Acknowledgment sent {"connection_id":124438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:11:59] local.INFO: TCP Data received {"connection_id":126496,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:11:59] local.INFO: Processing buffer {"connection_id":126496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:11:59] local.INFO: IMEI packet received {"connection_id":126496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 14:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":126496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:12:02] local.INFO: TCP Data received {"connection_id":124438,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:12:02] local.INFO: Processing buffer {"connection_id":124438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:12:02] local.INFO: Packet analysis {"connection_id":124438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:12:02] local.INFO: Extracted packet for processing {"connection_id":124438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:12:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553814272001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783413638000,"timestamp_ms":1783413638000,"timestamp_seconds":1783413638,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bbc8370"} 
[2026-07-07 14:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:12: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-07-07 14:12: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-07-07 14:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553814272001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553814272001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:12:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:12:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553814272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":124438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:12:02] local.INFO: GPS data processed {"connection_id":124438,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:12:02] local.INFO: Acknowledgment sent {"connection_id":124438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:12:22] local.INFO: TCP Data received {"connection_id":124439,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:12:22] local.INFO: Processing buffer {"connection_id":124439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:12:22] local.INFO: IMEI packet received {"connection_id":124439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":124439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:12:26] local.INFO: TCP Data received {"connection_id":124439,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:12:27] local.INFO: Processing buffer {"connection_id":124439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:12:27] local.INFO: IMEI packet received {"connection_id":124439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":124439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:12:29] local.INFO: TCP Data received {"connection_id":124439,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:12:29] local.INFO: Processing buffer {"connection_id":124439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:12:29] local.INFO: Packet analysis {"connection_id":124439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:12:29] local.INFO: Extracted packet for processing {"connection_id":124439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:12:29] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553814272001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783413638000,"timestamp_ms":1783413638000,"timestamp_seconds":1783413638,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bbc8370"} 
[2026-07-07 14:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":124439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":124439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":124439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553814272001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553814272001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:12:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:12:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553814272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":124439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:12:29] local.INFO: GPS data processed {"connection_id":124439,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:12:29] local.INFO: Acknowledgment sent {"connection_id":124439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:13:01] local.INFO: TCP Data received {"connection_id":124439,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:13:01] local.INFO: Processing buffer {"connection_id":124439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:13:01] local.INFO: Packet analysis {"connection_id":124439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:13:01] local.INFO: Extracted packet for processing {"connection_id":124439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:13:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553814272001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:13: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-07-07 14:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783413638000,"timestamp_ms":1783413638000,"timestamp_seconds":1783413638,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bbc8370"} 
[2026-07-07 14:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553814272001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553814272001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:13:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:13:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553814272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":124439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:13:01] local.INFO: GPS data processed {"connection_id":124439,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:13:01] local.INFO: Acknowledgment sent {"connection_id":124439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:13:21] local.INFO: TCP Data received {"connection_id":126498,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:13:21] local.INFO: Processing buffer {"connection_id":126498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:13:21] local.INFO: IMEI packet received {"connection_id":126498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":126498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:13:26] local.INFO: TCP Data received {"connection_id":126498,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:13:27] local.INFO: Processing buffer {"connection_id":126498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:13:27] local.INFO: IMEI packet received {"connection_id":126498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":126498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:13:28] local.INFO: TCP Data received {"connection_id":126498,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:13:28] local.INFO: Processing buffer {"connection_id":126498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:13:28] local.INFO: Packet analysis {"connection_id":126498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:13:28] local.INFO: Extracted packet for processing {"connection_id":126498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553814272001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:13: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-07-07 14:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783413638000,"timestamp_ms":1783413638000,"timestamp_seconds":1783413638,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bbc8370"} 
[2026-07-07 14:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553814272001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553814272001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:13:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:13:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553814272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":126498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:13:28] local.INFO: GPS data processed {"connection_id":126498,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:13:28] local.INFO: Acknowledgment sent {"connection_id":126498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:13:29] local.INFO: TCP Data received {"connection_id":126497,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:13:29] local.INFO: Processing buffer {"connection_id":126497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:13:29] local.INFO: IMEI packet received {"connection_id":126497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":126497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:13:30] local.INFO: TCP Data received {"connection_id":126497,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bbe11e0012d9877400577b7c0000c00932e..."} 
[2026-07-07 14:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bbe11e0012d9877400577b7c0000c00932e..."} 
[2026-07-07 14:13:30] local.INFO: Processing buffer {"connection_id":126497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bbe11e0012d9877400577b7c0000c00932e..."} 
[2026-07-07 14:13:30] local.INFO: Packet analysis {"connection_id":126497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bbe"} 
[2026-07-07 14:13:30] local.INFO: Extracted packet for processing {"connection_id":126497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bbe"} 
[2026-07-07 14:13:30] local.INFO: GPS Element Parsed {"raw_longitude":764966720,"raw_latitude":91731904,"longitude_deg":76.496672,"latitude_deg":9.1731904,"altitude":12,"angle":147,"satellites":46,"speed":26,"hex_longitude":"2d987740","hex_latitude":"0577b7c0","is_valid_coordinates":true} 
[2026-07-07 14:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553913088001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341360023546363904,"note":"Value kept but may cause issues"} 
[2026-07-07 14:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7465912627532298240,"note":"Value kept but may cause issues"} 
[2026-07-07 14:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783413740000,"timestamp_ms":1783413740000,"timestamp_seconds":1783413740,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bbe11e0"} 
[2026-07-07 14:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:13: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-07-07 14:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-07 14:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":126497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":126497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":126497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553913088001,"66":27376,"32":206,"85":15872,"24":26,"16":341360023546363904,"45":-7465912627532298240},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-07-07 14:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553913088001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:13:30] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-07 14:13:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-07 14:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341360023546363904,"km_value":341360023546363.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7465912627532298240,"description":"Unknown IO ID 45"} 
[2026-07-07 14:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553913088001,"power":27376,"unknown_32":206,"unknown_85":15872,"ignition":26,"odometer":null,"unknown_45":-7465912627532298240}} 
[2026-07-07 14:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":126497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:13:30] local.INFO: GPS data processed {"connection_id":126497,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:13:30] local.INFO: Acknowledgment sent {"connection_id":126497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:13:33] local.INFO: TCP Data received {"connection_id":126498,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:13:33] local.INFO: Processing buffer {"connection_id":126498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:13:33] local.INFO: Packet analysis {"connection_id":126498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:13:33] local.INFO: Extracted packet for processing {"connection_id":126498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553814272001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783413638000,"timestamp_ms":1783413638000,"timestamp_seconds":1783413638,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bbc8370"} 
[2026-07-07 14:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553814272001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553814272001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:13:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:13:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553814272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":126498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:13:33] local.INFO: GPS data processed {"connection_id":126498,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:13:33] local.INFO: Acknowledgment sent {"connection_id":126498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:14:04] local.INFO: TCP Data received {"connection_id":124440,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:14:04] local.INFO: Processing buffer {"connection_id":124440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:14:04] local.INFO: IMEI packet received {"connection_id":124440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":124440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:14:05] local.INFO: TCP Data received {"connection_id":126498,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:14:05] local.INFO: Processing buffer {"connection_id":126498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:14:05] local.INFO: Packet analysis {"connection_id":126498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:14:05] local.INFO: Extracted packet for processing {"connection_id":126498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553814272001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783413638000,"timestamp_ms":1783413638000,"timestamp_seconds":1783413638,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bbc8370"} 
[2026-07-07 14:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553814272001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553814272001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:14:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:14:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553814272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":126498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:14:05] local.INFO: GPS data processed {"connection_id":126498,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:14:05] local.INFO: Acknowledgment sent {"connection_id":126498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:14:06] local.INFO: TCP Data received {"connection_id":124440,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:14:06] local.INFO: Processing buffer {"connection_id":124440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:14:06] local.INFO: IMEI packet received {"connection_id":124440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":124440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:14:06] local.INFO: TCP Data received {"connection_id":124440,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bbe4890012d988b8005779918000a00922e..."} 
[2026-07-07 14:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bbe4890012d988b8005779918000a00922e..."} 
[2026-07-07 14:14:06] local.INFO: Processing buffer {"connection_id":124440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bbe4890012d988b8005779918000a00922e..."} 
[2026-07-07 14:14:06] local.INFO: Packet analysis {"connection_id":124440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bbe"} 
[2026-07-07 14:14:06] local.INFO: Extracted packet for processing {"connection_id":124440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bbe"} 
[2026-07-07 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":764971904,"raw_latitude":91724056,"longitude_deg":76.4971904,"latitude_deg":9.1724056,"altitude":10,"angle":146,"satellites":46,"speed":34,"hex_longitude":"2d988b80","hex_latitude":"05779918","is_valid_coordinates":true} 
[2026-07-07 14:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553917440001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341360478812897280,"note":"Value kept but may cause issues"} 
[2026-07-07 14:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7460423865488392192,"note":"Value kept but may cause issues"} 
[2026-07-07 14:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783413754000,"timestamp_ms":1783413754000,"timestamp_seconds":1783413754,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bbe4890"} 
[2026-07-07 14:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 14:14: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-07-07 14:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553917440001,"66":27919,"110":206,"85":15872,"24":34,"16":341360478812897280,"45":-7460423865488392192},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-07 14:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553917440001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:14:06] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 14:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-07 14:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341360478812897280,"km_value":341360478812897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7460423865488392192,"description":"Unknown IO ID 45"} 
[2026-07-07 14:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553917440001,"power":27919,"unknown_110":206,"unknown_85":15872,"ignition":34,"odometer":null,"unknown_45":-7460423865488392192}} 
[2026-07-07 14:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":124440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:14:06] local.INFO: GPS data processed {"connection_id":124440,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:14:06] local.INFO: Acknowledgment sent {"connection_id":124440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:14:21] local.INFO: TCP Data received {"connection_id":126499,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:14:21] local.INFO: Processing buffer {"connection_id":126499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:14:21] local.INFO: IMEI packet received {"connection_id":126499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":126499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:14:26] local.INFO: TCP Data received {"connection_id":126499,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:14:26] local.INFO: Processing buffer {"connection_id":126499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:14:26] local.INFO: IMEI packet received {"connection_id":126499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":126499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:14:27] local.INFO: TCP Data received {"connection_id":126499,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:14:27] local.INFO: Processing buffer {"connection_id":126499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:14:27] local.INFO: Packet analysis {"connection_id":126499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:14:27] local.INFO: Extracted packet for processing {"connection_id":126499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:14:27] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553814272001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14: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-07-07 14:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783413638000,"timestamp_ms":1783413638000,"timestamp_seconds":1783413638,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bbc8370"} 
[2026-07-07 14:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":126499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":126499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":126499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553814272001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553814272001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:14:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:14:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553814272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":126499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:14:27] local.INFO: GPS data processed {"connection_id":126499,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:14:27] local.INFO: Acknowledgment sent {"connection_id":126499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:14:44] local.INFO: TCP Data received {"connection_id":124440,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bbe6fa0012d98a08005777950000800922d..."} 
[2026-07-07 14:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bbe6fa0012d98a08005777950000800922d..."} 
[2026-07-07 14:14:44] local.INFO: Processing buffer {"connection_id":124440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bbe6fa0012d98a08005777950000800922d..."} 
[2026-07-07 14:14:44] local.INFO: Packet analysis {"connection_id":124440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bbe"} 
[2026-07-07 14:14:44] local.INFO: Extracted packet for processing {"connection_id":124440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bbe"} 
[2026-07-07 14:14:44] local.INFO: GPS Element Parsed {"raw_longitude":764977280,"raw_latitude":91715920,"longitude_deg":76.497728,"latitude_deg":9.171592,"altitude":8,"angle":146,"satellites":45,"speed":37,"hex_longitude":"2d98a080","hex_latitude":"05777950","is_valid_coordinates":true} 
[2026-07-07 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-07-07 14:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553921024001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341360951259299840,"note":"Value kept but may cause issues"} 
[2026-07-07 14:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7454723997212010496,"note":"Value kept but may cause issues"} 
[2026-07-07 14:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783413764000,"timestamp_ms":1783413764000,"timestamp_seconds":1783413764,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bbe6fa0"} 
[2026-07-07 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-07-07 14:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 14:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 14:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553921024001,"66":27995,"110":206,"85":15872,"24":37,"16":341360951259299840,"45":-7454723997212010496},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-07 14:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553921024001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:14:44] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 14:14:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-07 14:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341360951259299840,"km_value":341360951259299.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7454723997212010496,"description":"Unknown IO ID 45"} 
[2026-07-07 14:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553921024001,"power":27995,"unknown_110":206,"unknown_85":15872,"ignition":37,"odometer":null,"unknown_45":-7454723997212010496}} 
[2026-07-07 14:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":124440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:14:44] local.INFO: GPS data processed {"connection_id":124440,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:14:44] local.INFO: Acknowledgment sent {"connection_id":124440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:14:59] local.INFO: TCP Data received {"connection_id":126499,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:14:59] local.INFO: Processing buffer {"connection_id":126499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:14:59] local.INFO: Packet analysis {"connection_id":126499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:14:59] local.INFO: Extracted packet for processing {"connection_id":126499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:14:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553814272001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:14: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-07-07 14:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783413638000,"timestamp_ms":1783413638000,"timestamp_seconds":1783413638,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bbc8370"} 
[2026-07-07 14:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":126499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":126499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":126499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553814272001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553814272001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:14:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553814272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":126499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:14:59] local.INFO: GPS data processed {"connection_id":126499,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:14:59] local.INFO: Acknowledgment sent {"connection_id":126499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:15:18] local.INFO: TCP Data received {"connection_id":124441,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:15:18] local.INFO: Processing buffer {"connection_id":124441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:15:18] local.INFO: IMEI packet received {"connection_id":124441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":124441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:15:18] local.INFO: TCP Data received {"connection_id":124441,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:15:18] local.INFO: Processing buffer {"connection_id":124441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:15:18] local.INFO: IMEI packet received {"connection_id":124441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":124441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:15:19] local.INFO: TCP Data received {"connection_id":124441,"ip":"42.106.6.29","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f3b..."} 
[2026-07-07 14:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124441,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f3b..."} 
[2026-07-07 14:15:19] local.INFO: Processing buffer {"connection_id":124441,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f3b..."} 
[2026-07-07 14:15:19] local.INFO: IMEI packet received {"connection_id":124441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":124441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:15:21] local.INFO: TCP Data received {"connection_id":124441,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bbec978012d98c1c0057753d0000700902d..."} 
[2026-07-07 14:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bbec978012d98c1c0057753d0000700902d..."} 
[2026-07-07 14:15:21] local.INFO: Processing buffer {"connection_id":124441,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3bbe8af8012d98b00005776580000700852e..."} 
[2026-07-07 14:15:21] local.INFO: Packet analysis {"connection_id":124441,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3bbe"} 
[2026-07-07 14:15:21] local.INFO: Extracted packet for processing {"connection_id":124441,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bbe"} 
[2026-07-07 14:15:21] local.INFO: GPS Element Parsed {"raw_longitude":764981248,"raw_latitude":91710848,"longitude_deg":76.4981248,"latitude_deg":9.1710848,"altitude":7,"angle":133,"satellites":46,"speed":30,"hex_longitude":"2d98b000","hex_latitude":"05776580","is_valid_coordinates":true} 
[2026-07-07 14:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553923584001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341361260496945152,"note":"Value kept but may cause issues"} 
[2026-07-07 14:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7448813022703169536,"note":"Value kept but may cause issues"} 
[2026-07-07 14:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783413771000,"timestamp_ms":1783413771000,"timestamp_seconds":1783413771,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bbe8af8"} 
[2026-07-07 14:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 14:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553923584001,"66":27930,"110":206,"85":15872,"24":30,"16":341361260496945152,"45":-7448813022703169536},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-07 14:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553923584001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:15:21] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 14:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-07 14:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341361260496945152,"km_value":341361260496945.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7448813022703169536,"description":"Unknown IO ID 45"} 
[2026-07-07 14:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553923584001,"power":27930,"unknown_110":206,"unknown_85":15872,"ignition":30,"odometer":null,"unknown_45":-7448813022703169536}} 
[2026-07-07 14:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":124441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:15:21] local.INFO: GPS data processed {"connection_id":124441,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:15:21] local.INFO: Acknowledgment sent {"connection_id":124441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:15:21] local.INFO: Packet analysis {"connection_id":124441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bbe"} 
[2026-07-07 14:15:21] local.INFO: Extracted packet for processing {"connection_id":124441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bbe"} 
[2026-07-07 14:15:21] local.INFO: GPS Element Parsed {"raw_longitude":764985792,"raw_latitude":91706320,"longitude_deg":76.4985792,"latitude_deg":9.170632,"altitude":7,"angle":144,"satellites":45,"speed":6,"hex_longitude":"2d98c1c0","hex_latitude":"057753d0","is_valid_coordinates":true} 
[2026-07-07 14:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553925376001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341361574029557760,"note":"Value kept but may cause issues"} 
[2026-07-07 14:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7444450160565452800,"note":"Value kept but may cause issues"} 
[2026-07-07 14:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783413787000,"timestamp_ms":1783413787000,"timestamp_seconds":1783413787,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bbec978"} 
[2026-07-07 14:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 14:15: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-07-07 14:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553925376001,"66":27832,"110":206,"85":15872,"24":6,"16":341361574029557760,"45":-7444450160565452800},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-07 14:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553925376001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:15:21] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 14:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-07 14:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341361574029557760,"km_value":341361574029557.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7444450160565452800,"description":"Unknown IO ID 45"} 
[2026-07-07 14:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553925376001,"power":27832,"unknown_110":206,"unknown_85":15872,"ignition":6,"odometer":null,"unknown_45":-7444450160565452800}} 
[2026-07-07 14:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":124441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:15:21] local.INFO: GPS data processed {"connection_id":124441,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:15:21] local.INFO: Acknowledgment sent {"connection_id":124441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:15:26] local.INFO: TCP Data received {"connection_id":124538,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:15:26] local.INFO: Processing buffer {"connection_id":124538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:15:26] local.INFO: IMEI packet received {"connection_id":124538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":124538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:15:31] local.INFO: TCP Data received {"connection_id":124538,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:15:31] local.INFO: Processing buffer {"connection_id":124538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:15:31] local.INFO: IMEI packet received {"connection_id":124538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":124538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:15:33] local.INFO: TCP Data received {"connection_id":124538,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:15:33] local.INFO: Processing buffer {"connection_id":124538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:15:33] local.INFO: Packet analysis {"connection_id":124538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:15:33] local.INFO: Extracted packet for processing {"connection_id":124538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14: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-07-07 14:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553814272001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14: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-07-07 14:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783413638000,"timestamp_ms":1783413638000,"timestamp_seconds":1783413638,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bbc8370"} 
[2026-07-07 14:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14: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-07-07 14:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553814272001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553814272001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:15:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:15:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553814272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":124538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:15:33] local.INFO: GPS data processed {"connection_id":124538,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:15:33] local.INFO: Acknowledgment sent {"connection_id":124538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:15:37] local.INFO: TCP Data received {"connection_id":124538,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:15:37] local.INFO: Processing buffer {"connection_id":124538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bbc8370012d196940071fec580032006726..."} 
[2026-07-07 14:15:37] local.INFO: Packet analysis {"connection_id":124538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:15:37] local.INFO: Extracted packet for processing {"connection_id":124538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bbc"} 
[2026-07-07 14:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553814272001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783413638000,"timestamp_ms":1783413638000,"timestamp_seconds":1783413638,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bbc8370"} 
[2026-07-07 14:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553814272001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553814272001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:15:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:15:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553814272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":124538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:15:37] local.INFO: GPS data processed {"connection_id":124538,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:15:37] local.INFO: Acknowledgment sent {"connection_id":124538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:15:58] local.INFO: TCP Data received {"connection_id":124442,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:15:58] local.INFO: Processing buffer {"connection_id":124442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:15:58] local.INFO: IMEI packet received {"connection_id":124442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":124442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:15:58] local.INFO: TCP Data received {"connection_id":124442,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:15:58] local.INFO: Processing buffer {"connection_id":124442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:15:58] local.INFO: IMEI packet received {"connection_id":124442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":124442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:15:58] local.INFO: TCP Data received {"connection_id":124442,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:15:58] local.INFO: Processing buffer {"connection_id":124442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:15:58] local.INFO: IMEI packet received {"connection_id":124442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":124442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:16:06] local.INFO: TCP Data received {"connection_id":124442,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:16:06] local.INFO: Processing buffer {"connection_id":124442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:16:06] local.INFO: IMEI packet received {"connection_id":124442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":124442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:16:08] local.INFO: TCP Data received {"connection_id":124442,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc05bd0012d99b38005761ab0000d007d29..."} 
[2026-07-07 14:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc05bd0012d99b38005761ab0000d007d29..."} 
[2026-07-07 14:16:08] local.INFO: Processing buffer {"connection_id":124442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc05bd0012d99b38005761ab0000d007d29..."} 
[2026-07-07 14:16:08] local.INFO: Packet analysis {"connection_id":124442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc0"} 
[2026-07-07 14:16:08] local.INFO: Extracted packet for processing {"connection_id":124442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc0"} 
[2026-07-07 14:16:08] local.INFO: GPS Element Parsed {"raw_longitude":765047680,"raw_latitude":91626160,"longitude_deg":76.504768,"latitude_deg":9.162616,"altitude":13,"angle":125,"satellites":41,"speed":50,"hex_longitude":"2d99b380","hex_latitude":"05761ab0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 14:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553954048001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341366483177177088,"note":"Value kept but may cause issues"} 
[2026-07-07 14:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7379359072221356032,"note":"Value kept but may cause issues"} 
[2026-07-07 14:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783413890000,"timestamp_ms":1783413890000,"timestamp_seconds":1783413890,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc05bd0"} 
[2026-07-07 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-07-07 14:16: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-07-07 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 14:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 14:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553954048001,"66":27843,"151":206,"85":15872,"24":50,"16":341366483177177088,"45":-7379359072221356032},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-07-07 14:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553954048001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:16:08] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-07 14:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-07 14:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341366483177177088,"km_value":341366483177177.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7379359072221356032,"description":"Unknown IO ID 45"} 
[2026-07-07 14:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553954048001,"power":27843,"unknown_151":206,"unknown_85":15872,"ignition":50,"odometer":null,"unknown_45":-7379359072221356032}} 
[2026-07-07 14:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":124442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:16:08] local.INFO: GPS data processed {"connection_id":124442,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:16:08] local.INFO: Acknowledgment sent {"connection_id":124442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:16:21] local.INFO: TCP Data received {"connection_id":124443,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:16:21] local.INFO: Processing buffer {"connection_id":124443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:16:21] local.INFO: IMEI packet received {"connection_id":124443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":124443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:16:26] local.INFO: TCP Data received {"connection_id":124443,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:16:27] local.INFO: Processing buffer {"connection_id":124443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:16:27] local.INFO: IMEI packet received {"connection_id":124443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":124443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:16:30] local.INFO: TCP Data received {"connection_id":124443,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:16:30] local.INFO: Processing buffer {"connection_id":124443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:16:30] local.INFO: Packet analysis {"connection_id":124443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc1"} 
[2026-07-07 14:16:30] local.INFO: Extracted packet for processing {"connection_id":124443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc1"} 
[2026-07-07 14:16:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553891328001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:16: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-07-07 14:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783413939000,"timestamp_ms":1783413939000,"timestamp_seconds":1783413939,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc11b38"} 
[2026-07-07 14:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553891328001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553891328001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:16:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:16:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553891328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":124443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:16:30] local.INFO: GPS data processed {"connection_id":124443,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:16:30] local.INFO: Acknowledgment sent {"connection_id":124443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:16:39] local.INFO: TCP Data received {"connection_id":124442,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc07728012d99d0c0057606d0000e007c2a..."} 
[2026-07-07 14:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc07728012d99d0c0057606d0000e007c2a..."} 
[2026-07-07 14:16:39] local.INFO: Processing buffer {"connection_id":124442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc07728012d99d0c0057606d0000e007c2a..."} 
[2026-07-07 14:16:39] local.INFO: Packet analysis {"connection_id":124442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc0"} 
[2026-07-07 14:16:39] local.INFO: Extracted packet for processing {"connection_id":124442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc0"} 
[2026-07-07 14:16:39] local.INFO: GPS Element Parsed {"raw_longitude":765055168,"raw_latitude":91621072,"longitude_deg":76.5055168,"latitude_deg":9.1621072,"altitude":14,"angle":124,"satellites":42,"speed":52,"hex_longitude":"2d99d0c0","hex_latitude":"057606d0","is_valid_coordinates":true} 
[2026-07-07 14: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-07-07 14:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553955840001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341366916968873984,"note":"Value kept but may cause issues"} 
[2026-07-07 14:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7371407404130717696,"note":"Value kept but may cause issues"} 
[2026-07-07 14:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783413897000,"timestamp_ms":1783413897000,"timestamp_seconds":1783413897,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc07728"} 
[2026-07-07 14:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:16: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-07-07 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 14:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14: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-07-07 14:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553955840001,"66":27843,"151":206,"85":15872,"24":52,"16":341366916968873984,"45":-7371407404130717696},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-07-07 14:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553955840001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:16:39] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-07 14:16:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-07 14:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341366916968873984,"km_value":341366916968874.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7371407404130717696,"description":"Unknown IO ID 45"} 
[2026-07-07 14:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553955840001,"power":27843,"unknown_151":206,"unknown_85":15872,"ignition":52,"odometer":null,"unknown_45":-7371407404130717696}} 
[2026-07-07 14:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":124442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:16:39] local.INFO: GPS data processed {"connection_id":124442,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:16:39] local.INFO: Acknowledgment sent {"connection_id":124442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:16:58] local.INFO: TCP Data received {"connection_id":124444,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:16:58] local.INFO: Processing buffer {"connection_id":124444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:16:58] local.INFO: IMEI packet received {"connection_id":124444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":124444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:17:02] local.INFO: TCP Data received {"connection_id":124443,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:17:02] local.INFO: Processing buffer {"connection_id":124443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:17:02] local.INFO: Packet analysis {"connection_id":124443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc1"} 
[2026-07-07 14:17:02] local.INFO: Extracted packet for processing {"connection_id":124443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc1"} 
[2026-07-07 14:17:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553891328001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783413939000,"timestamp_ms":1783413939000,"timestamp_seconds":1783413939,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc11b38"} 
[2026-07-07 14:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:17: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-07-07 14: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-07-07 14:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553891328001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553891328001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:17:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:17:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553891328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":124443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:17:02] local.INFO: GPS data processed {"connection_id":124443,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:17:02] local.INFO: Acknowledgment sent {"connection_id":124443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:17:04] local.INFO: TCP Data received {"connection_id":124444,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:17:04] local.INFO: Processing buffer {"connection_id":124444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:17:04] local.INFO: IMEI packet received {"connection_id":124444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":124444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:17:05] local.INFO: TCP Data received {"connection_id":124444,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc09280012d99ee000575f2e8000e007b2a..."} 
[2026-07-07 14:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc09280012d99ee000575f2e8000e007b2a..."} 
[2026-07-07 14:17:05] local.INFO: Processing buffer {"connection_id":124444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc09280012d99ee000575f2e8000e007b2a..."} 
[2026-07-07 14:17:05] local.INFO: Packet analysis {"connection_id":124444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc0"} 
[2026-07-07 14:17:05] local.INFO: Extracted packet for processing {"connection_id":124444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc0"} 
[2026-07-07 14:17:05] local.INFO: GPS Element Parsed {"raw_longitude":765062656,"raw_latitude":91615976,"longitude_deg":76.5062656,"latitude_deg":9.1615976,"altitude":14,"angle":123,"satellites":42,"speed":46,"hex_longitude":"2d99ee00","hex_latitude":"0575f2e8","is_valid_coordinates":true} 
[2026-07-07 14:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553957632001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341367350760570880,"note":"Value kept but may cause issues"} 
[2026-07-07 14:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7363174261063233536,"note":"Value kept but may cause issues"} 
[2026-07-07 14:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783413904000,"timestamp_ms":1783413904000,"timestamp_seconds":1783413904,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc09280"} 
[2026-07-07 14:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 14:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553957632001,"66":27876,"151":206,"85":15872,"24":46,"16":341367350760570880,"45":-7363174261063233536},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-07-07 14:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553957632001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:17:05] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-07 14:17:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-07 14:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341367350760570880,"km_value":341367350760570.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7363174261063233536,"description":"Unknown IO ID 45"} 
[2026-07-07 14:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553957632001,"power":27876,"unknown_151":206,"unknown_85":15872,"ignition":46,"odometer":null,"unknown_45":-7363174261063233536}} 
[2026-07-07 14:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":124444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:17:05] local.INFO: GPS data processed {"connection_id":124444,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:17:05] local.INFO: Acknowledgment sent {"connection_id":124444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:17:26] local.INFO: TCP Data received {"connection_id":125259,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:17:27] local.INFO: Processing buffer {"connection_id":125259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:17:27] local.INFO: IMEI packet received {"connection_id":125259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":125259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:17:31] local.INFO: TCP Data received {"connection_id":125259,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:17:31] local.INFO: Processing buffer {"connection_id":125259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:17:31] local.INFO: IMEI packet received {"connection_id":125259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":125259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:17:33] local.INFO: TCP Data received {"connection_id":125259,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:17:33] local.INFO: Processing buffer {"connection_id":125259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:17:33] local.INFO: Packet analysis {"connection_id":125259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc1"} 
[2026-07-07 14:17:33] local.INFO: Extracted packet for processing {"connection_id":125259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc1"} 
[2026-07-07 14:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553891328001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783413939000,"timestamp_ms":1783413939000,"timestamp_seconds":1783413939,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc11b38"} 
[2026-07-07 14:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553891328001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553891328001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:17:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:17:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553891328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":125259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:17:33] local.INFO: GPS data processed {"connection_id":125259,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:17:33] local.INFO: Acknowledgment sent {"connection_id":125259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:17:34] local.INFO: TCP Data received {"connection_id":124445,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:17:34] local.INFO: Processing buffer {"connection_id":124445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:17:34] local.INFO: IMEI packet received {"connection_id":124445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 14:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":124445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:17:37] local.INFO: TCP Data received {"connection_id":124444,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc220f0012d9a8d000574cb480009009c2b..."} 
[2026-07-07 14:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc220f0012d9a8d000574cb480009009c2b..."} 
[2026-07-07 14:17:37] local.INFO: Processing buffer {"connection_id":124444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc220f0012d9a8d000574cb480009009c2b..."} 
[2026-07-07 14:17:37] local.INFO: Packet analysis {"connection_id":124444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc2"} 
[2026-07-07 14:17:37] local.INFO: Extracted packet for processing {"connection_id":124444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc2"} 
[2026-07-07 14:17:37] local.INFO: GPS Element Parsed {"raw_longitude":765103360,"raw_latitude":91540296,"longitude_deg":76.510336,"latitude_deg":9.1540296,"altitude":9,"angle":156,"satellites":43,"speed":30,"hex_longitude":"2d9a8d00","hex_latitude":"0574cb48","is_valid_coordinates":true} 
[2026-07-07 14:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553984768001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341371615663095808,"note":"Value kept but may cause issues"} 
[2026-07-07 14:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7310749546671005696,"note":"Value kept but may cause issues"} 
[2026-07-07 14:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783414006000,"timestamp_ms":1783414006000,"timestamp_seconds":1783414006,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc220f0"} 
[2026-07-07 14:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 14:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553984768001,"66":27908,"163":206,"85":15872,"24":30,"16":341371615663095808,"45":-7310749546671005696},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-07-07 14:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553984768001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:17:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 14:17:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-07 14:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341371615663095808,"km_value":341371615663095.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7310749546671005696,"description":"Unknown IO ID 45"} 
[2026-07-07 14:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553984768001,"power":27908,"unknown_163":206,"unknown_85":15872,"ignition":30,"odometer":null,"unknown_45":-7310749546671005696}} 
[2026-07-07 14:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":124444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:17:37] local.INFO: GPS data processed {"connection_id":124444,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:17:37] local.INFO: Acknowledgment sent {"connection_id":124444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:17:37] local.INFO: TCP Data received {"connection_id":125259,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:17:37] local.INFO: Processing buffer {"connection_id":125259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:17:37] local.INFO: Packet analysis {"connection_id":125259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc1"} 
[2026-07-07 14:17:37] local.INFO: Extracted packet for processing {"connection_id":125259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc1"} 
[2026-07-07 14:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553891328001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783413939000,"timestamp_ms":1783413939000,"timestamp_seconds":1783413939,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc11b38"} 
[2026-07-07 14:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553891328001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553891328001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:17:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:17:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553891328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":125259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:17:37] local.INFO: GPS data processed {"connection_id":125259,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:17:37] local.INFO: Acknowledgment sent {"connection_id":125259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:17:59] local.INFO: TCP Data received {"connection_id":125260,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:17:59] local.INFO: Processing buffer {"connection_id":125260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:17:59] local.INFO: IMEI packet received {"connection_id":125260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":125260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:17:59] local.INFO: TCP Data received {"connection_id":124539,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:17:59] local.INFO: Processing buffer {"connection_id":124539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:17:59] local.INFO: IMEI packet received {"connection_id":124539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 14:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":124539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:18:04] local.INFO: TCP Data received {"connection_id":125260,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:18:04] local.INFO: Processing buffer {"connection_id":125260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:18:04] local.INFO: IMEI packet received {"connection_id":125260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":125260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:18:05] local.INFO: TCP Data received {"connection_id":125260,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc22ca8012d9a91c00574c328000900902b..."} 
[2026-07-07 14:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc22ca8012d9a91c00574c328000900902b..."} 
[2026-07-07 14:18:05] local.INFO: Processing buffer {"connection_id":125260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc22ca8012d9a91c00574c328000900902b..."} 
[2026-07-07 14:18:05] local.INFO: Packet analysis {"connection_id":125260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc2"} 
[2026-07-07 14:18:05] local.INFO: Extracted packet for processing {"connection_id":125260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc2"} 
[2026-07-07 14:18:05] local.INFO: GPS Element Parsed {"raw_longitude":765104576,"raw_latitude":91538216,"longitude_deg":76.5104576,"latitude_deg":9.1538216,"altitude":9,"angle":144,"satellites":43,"speed":33,"hex_longitude":"2d9a91c0","hex_latitude":"0574c328","is_valid_coordinates":true} 
[2026-07-07 14:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553985536001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341371731627212800,"note":"Value kept but may cause issues"} 
[2026-07-07 14:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7310186596718131200,"note":"Value kept but may cause issues"} 
[2026-07-07 14:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783414009000,"timestamp_ms":1783414009000,"timestamp_seconds":1783414009,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc22ca8"} 
[2026-07-07 14:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 14:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553985536001,"66":27995,"163":206,"85":15872,"24":33,"16":341371731627212800,"45":-7310186596718131200},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-07-07 14:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553985536001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:18:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 14:18:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-07 14:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341371731627212800,"km_value":341371731627212.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7310186596718131200,"description":"Unknown IO ID 45"} 
[2026-07-07 14:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553985536001,"power":27995,"unknown_163":206,"unknown_85":15872,"ignition":33,"odometer":null,"unknown_45":-7310186596718131200}} 
[2026-07-07 14:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":125260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:18:05] local.INFO: GPS data processed {"connection_id":125260,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:18:05] local.INFO: Acknowledgment sent {"connection_id":125260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:18:21] local.INFO: TCP Data received {"connection_id":125261,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:18:21] local.INFO: Processing buffer {"connection_id":125261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:18:21] local.INFO: IMEI packet received {"connection_id":125261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":125261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:18:26] local.INFO: TCP Data received {"connection_id":125261,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:18:26] local.INFO: Processing buffer {"connection_id":125261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:18:26] local.INFO: IMEI packet received {"connection_id":125261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":125261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:18:28] local.INFO: TCP Data received {"connection_id":125261,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:18:28] local.INFO: Processing buffer {"connection_id":125261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:18:28] local.INFO: Packet analysis {"connection_id":125261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc1"} 
[2026-07-07 14:18:28] local.INFO: Extracted packet for processing {"connection_id":125261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc1"} 
[2026-07-07 14:18:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553891328001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:18: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-07-07 14:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783413939000,"timestamp_ms":1783413939000,"timestamp_seconds":1783413939,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc11b38"} 
[2026-07-07 14:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553891328001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553891328001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:18:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:18:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553891328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":125261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:18:28] local.INFO: GPS data processed {"connection_id":125261,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:18:28] local.INFO: Acknowledgment sent {"connection_id":125261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:18:36] local.INFO: TCP Data received {"connection_id":125260,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc23860012d9a98c00574bbc8000900802b..."} 
[2026-07-07 14:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc23860012d9a98c00574bbc8000900802b..."} 
[2026-07-07 14:18:36] local.INFO: Processing buffer {"connection_id":125260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc23860012d9a98c00574bbc8000900802b..."} 
[2026-07-07 14:18:36] local.INFO: Packet analysis {"connection_id":125260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc2"} 
[2026-07-07 14:18:36] local.INFO: Extracted packet for processing {"connection_id":125260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc2"} 
[2026-07-07 14:18:36] local.INFO: GPS Element Parsed {"raw_longitude":765106368,"raw_latitude":91536328,"longitude_deg":76.5106368,"latitude_deg":9.1536328,"altitude":9,"angle":128,"satellites":43,"speed":34,"hex_longitude":"2d9a98c0","hex_latitude":"0574bbc8","is_valid_coordinates":true} 
[2026-07-07 14:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553986304001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341371856181264384,"note":"Value kept but may cause issues"} 
[2026-07-07 14:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7308849590579288064,"note":"Value kept but may cause issues"} 
[2026-07-07 14:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783414012000,"timestamp_ms":1783414012000,"timestamp_seconds":1783414012,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc23860"} 
[2026-07-07 14:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 14:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553986304001,"66":27908,"163":206,"85":15872,"24":34,"16":341371856181264384,"45":-7308849590579288064},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-07-07 14:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553986304001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:18:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 14:18:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-07 14:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341371856181264384,"km_value":341371856181264.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7308849590579288064,"description":"Unknown IO ID 45"} 
[2026-07-07 14:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553986304001,"power":27908,"unknown_163":206,"unknown_85":15872,"ignition":34,"odometer":null,"unknown_45":-7308849590579288064}} 
[2026-07-07 14:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":125260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:18:36] local.INFO: GPS data processed {"connection_id":125260,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:18:36] local.INFO: Acknowledgment sent {"connection_id":125260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:19:03] local.INFO: TCP Data received {"connection_id":125261,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:19:03] local.INFO: Processing buffer {"connection_id":125261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:19:03] local.INFO: Packet analysis {"connection_id":125261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc1"} 
[2026-07-07 14:19:03] local.INFO: Extracted packet for processing {"connection_id":125261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc1"} 
[2026-07-07 14:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553891328001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783413939000,"timestamp_ms":1783413939000,"timestamp_seconds":1783413939,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc11b38"} 
[2026-07-07 14:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553891328001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553891328001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:19:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:19:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553891328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":125261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:19:03] local.INFO: GPS data processed {"connection_id":125261,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:19:03] local.INFO: Acknowledgment sent {"connection_id":125261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:19:09] local.INFO: TCP Data received {"connection_id":126501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:19:09] local.INFO: Processing buffer {"connection_id":126501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:19:09] local.INFO: IMEI packet received {"connection_id":126501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":126501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:19:10] local.INFO: TCP Data received {"connection_id":126501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:19:10] local.INFO: Processing buffer {"connection_id":126501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:19:10] local.INFO: IMEI packet received {"connection_id":126501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":126501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:19:11] local.INFO: TCP Data received {"connection_id":126501,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc26358012d9ab8800574a2d8000900812b..."} 
[2026-07-07 14:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc26358012d9ab8800574a2d8000900812b..."} 
[2026-07-07 14:19:11] local.INFO: Processing buffer {"connection_id":126501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc26358012d9ab8800574a2d8000900812b..."} 
[2026-07-07 14:19:11] local.INFO: Packet analysis {"connection_id":126501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc2"} 
[2026-07-07 14:19:11] local.INFO: Extracted packet for processing {"connection_id":126501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc2"} 
[2026-07-07 14:19:11] local.INFO: GPS Element Parsed {"raw_longitude":765114496,"raw_latitude":91529944,"longitude_deg":76.5114496,"latitude_deg":9.1529944,"altitude":9,"angle":129,"satellites":43,"speed":40,"hex_longitude":"2d9ab880","hex_latitude":"0574a2d8","is_valid_coordinates":true} 
[2026-07-07 14:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553987072001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341372354397470720,"note":"Value kept but may cause issues"} 
[2026-07-07 14:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7306879265742796800,"note":"Value kept but may cause issues"} 
[2026-07-07 14:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783414023000,"timestamp_ms":1783414023000,"timestamp_seconds":1783414023,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc26358"} 
[2026-07-07 14:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14: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-07-07 14:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 14:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553987072001,"66":27843,"163":206,"85":15872,"24":40,"16":341372354397470720,"45":-7306879265742796800},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-07-07 14:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553987072001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:19:11] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 14:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-07 14:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341372354397470720,"km_value":341372354397470.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7306879265742796800,"description":"Unknown IO ID 45"} 
[2026-07-07 14:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553987072001,"power":27843,"unknown_163":206,"unknown_85":15872,"ignition":40,"odometer":null,"unknown_45":-7306879265742796800}} 
[2026-07-07 14:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":126501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:19:11] local.INFO: GPS data processed {"connection_id":126501,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:19:11] local.INFO: Acknowledgment sent {"connection_id":126501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:19:14] local.INFO: TCP Data received {"connection_id":126501,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc28680012d9ad48005748b28000a00832c..."} 
[2026-07-07 14:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc28680012d9ad48005748b28000a00832c..."} 
[2026-07-07 14:19:14] local.INFO: Processing buffer {"connection_id":126501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc28680012d9ad48005748b28000a00832c..."} 
[2026-07-07 14:19:14] local.INFO: Packet analysis {"connection_id":126501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc2"} 
[2026-07-07 14:19:14] local.INFO: Extracted packet for processing {"connection_id":126501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc2"} 
[2026-07-07 14:19:14] local.INFO: GPS Element Parsed {"raw_longitude":765121664,"raw_latitude":91523880,"longitude_deg":76.5121664,"latitude_deg":9.152388,"altitude":10,"angle":131,"satellites":44,"speed":37,"hex_longitude":"2d9ad480","hex_latitude":"05748b28","is_valid_coordinates":true} 
[2026-07-07 14:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553989888001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341372809664004096,"note":"Value kept but may cause issues"} 
[2026-07-07 14:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7297942435233867776,"note":"Value kept but may cause issues"} 
[2026-07-07 14:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783414032000,"timestamp_ms":1783414032000,"timestamp_seconds":1783414032,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc28680"} 
[2026-07-07 14:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14: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":195,"data_length":795,"current_offset":136} 
[2026-07-07 14:19: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-07-07 14:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553989888001,"66":27908,"161":206,"85":15872,"24":37,"16":341372809664004096,"45":-7297942435233867776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-07 14:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553989888001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:19:14] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-07 14:19:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-07 14:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341372809664004096,"km_value":341372809664004.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7297942435233867776,"description":"Unknown IO ID 45"} 
[2026-07-07 14:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553989888001,"power":27908,"unknown_161":206,"unknown_85":15872,"ignition":37,"odometer":null,"unknown_45":-7297942435233867776}} 
[2026-07-07 14:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":126501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:19:14] local.INFO: GPS data processed {"connection_id":126501,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:19:14] local.INFO: Acknowledgment sent {"connection_id":126501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:19:21] local.INFO: TCP Data received {"connection_id":124540,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:19:21] local.INFO: Processing buffer {"connection_id":124540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:19:21] local.INFO: IMEI packet received {"connection_id":124540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":124540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:19:26] local.INFO: TCP Data received {"connection_id":124540,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:19:27] local.INFO: Processing buffer {"connection_id":124540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:19:27] local.INFO: IMEI packet received {"connection_id":124540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":124540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:19:28] local.INFO: TCP Data received {"connection_id":124540,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:19:28] local.INFO: Processing buffer {"connection_id":124540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:19:28] local.INFO: Packet analysis {"connection_id":124540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc1"} 
[2026-07-07 14:19:28] local.INFO: Extracted packet for processing {"connection_id":124540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc1"} 
[2026-07-07 14:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553891328001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:19: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-07-07 14:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783413939000,"timestamp_ms":1783413939000,"timestamp_seconds":1783413939,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc11b38"} 
[2026-07-07 14:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553891328001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553891328001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:19:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:19:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553891328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":124540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:19:28] local.INFO: GPS data processed {"connection_id":124540,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:19:28] local.INFO: Acknowledgment sent {"connection_id":124540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:19:56] local.INFO: TCP Data received {"connection_id":124541,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:19:56] local.INFO: Processing buffer {"connection_id":124541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:19:56] local.INFO: IMEI packet received {"connection_id":124541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":124541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:19:58] local.INFO: TCP Data received {"connection_id":124541,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:19:58] local.INFO: Processing buffer {"connection_id":124541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:19:58] local.INFO: IMEI packet received {"connection_id":124541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":124541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:20:00] local.INFO: TCP Data received {"connection_id":124540,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:20:00] local.INFO: Processing buffer {"connection_id":124540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:20:00] local.INFO: Packet analysis {"connection_id":124540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc1"} 
[2026-07-07 14:20:00] local.INFO: Extracted packet for processing {"connection_id":124540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc1"} 
[2026-07-07 14:20:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553891328001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:20: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-07-07 14:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783413939000,"timestamp_ms":1783413939000,"timestamp_seconds":1783413939,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc11b38"} 
[2026-07-07 14:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553891328001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553891328001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:20:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:20:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553891328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":124540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:20:00] local.INFO: GPS data processed {"connection_id":124540,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:20:00] local.INFO: Acknowledgment sent {"connection_id":124540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:20:01] local.INFO: TCP Data received {"connection_id":124541,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:20:01] local.INFO: Processing buffer {"connection_id":124541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:20:01] local.INFO: IMEI packet received {"connection_id":124541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":124541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:20:02] local.INFO: TCP Data received {"connection_id":124541,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc414f0012d9ae08005738198000c00d22a..."} 
[2026-07-07 14:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc414f0012d9ae08005738198000c00d22a..."} 
[2026-07-07 14:20:02] local.INFO: Processing buffer {"connection_id":124541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc414f0012d9ae08005738198000c00d22a..."} 
[2026-07-07 14:20:02] local.INFO: Packet analysis {"connection_id":124541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc4"} 
[2026-07-07 14:20:02] local.INFO: Extracted packet for processing {"connection_id":124541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc4"} 
[2026-07-07 14:20:02] local.INFO: GPS Element Parsed {"raw_longitude":765124736,"raw_latitude":91455896,"longitude_deg":76.5124736,"latitude_deg":9.1455896,"altitude":12,"angle":210,"satellites":42,"speed":27,"hex_longitude":"2d9ae080","hex_latitude":"05738198","is_valid_coordinates":true} 
[2026-07-07 14:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554017280001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341376365896925184,"note":"Value kept but may cause issues"} 
[2026-07-07 14:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7284853848835270656,"note":"Value kept but may cause issues"} 
[2026-07-07 14:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783414134000,"timestamp_ms":1783414134000,"timestamp_seconds":1783414134,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc414f0"} 
[2026-07-07 14:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 14:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554017280001,"66":27658,"162":206,"85":15872,"24":27,"16":341376365896925184,"45":-7284853848835270656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-07-07 14:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554017280001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:20:02] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-07 14:20:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-07 14:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341376365896925184,"km_value":341376365896925.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7284853848835270656,"description":"Unknown IO ID 45"} 
[2026-07-07 14:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554017280001,"power":27658,"unknown_162":206,"unknown_85":15872,"ignition":27,"odometer":null,"unknown_45":-7284853848835270656}} 
[2026-07-07 14:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":124541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:20:02] local.INFO: GPS data processed {"connection_id":124541,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:20:02] local.INFO: Acknowledgment sent {"connection_id":124541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:20:21] local.INFO: TCP Data received {"connection_id":125263,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:20:21] local.INFO: Processing buffer {"connection_id":125263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:20:21] local.INFO: IMEI packet received {"connection_id":125263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":125263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:20:26] local.INFO: TCP Data received {"connection_id":125263,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:20:26] local.INFO: Processing buffer {"connection_id":125263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:20:26] local.INFO: IMEI packet received {"connection_id":125263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":125263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:20:33] local.INFO: TCP Data received {"connection_id":124541,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc41cc0012d9ade4005737c58000c00c32a..."} 
[2026-07-07 14:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc41cc0012d9ade4005737c58000c00c32a..."} 
[2026-07-07 14:20:33] local.INFO: Processing buffer {"connection_id":124541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc41cc0012d9ade4005737c58000c00c32a..."} 
[2026-07-07 14:20:33] local.INFO: Packet analysis {"connection_id":124541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc4"} 
[2026-07-07 14:20:33] local.INFO: Extracted packet for processing {"connection_id":124541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc4"} 
[2026-07-07 14:20:33] local.INFO: GPS Element Parsed {"raw_longitude":765124160,"raw_latitude":91454552,"longitude_deg":76.512416,"latitude_deg":9.1454552,"altitude":12,"angle":195,"satellites":42,"speed":29,"hex_longitude":"2d9ade40","hex_latitude":"05737c58","is_valid_coordinates":true} 
[2026-07-07 14:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554018304001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341376438911369216,"note":"Value kept but may cause issues"} 
[2026-07-07 14:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7286683436184397824,"note":"Value kept but may cause issues"} 
[2026-07-07 14:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783414136000,"timestamp_ms":1783414136000,"timestamp_seconds":1783414136,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc41cc0"} 
[2026-07-07 14:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:20: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-07-07 14:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 14:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554018304001,"66":27300,"162":206,"85":15872,"24":29,"16":341376438911369216,"45":-7286683436184397824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-07-07 14:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554018304001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:20:33] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-07 14:20:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-07 14:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341376438911369216,"km_value":341376438911369.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7286683436184397824,"description":"Unknown IO ID 45"} 
[2026-07-07 14:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554018304001,"power":27300,"unknown_162":206,"unknown_85":15872,"ignition":29,"odometer":null,"unknown_45":-7286683436184397824}} 
[2026-07-07 14:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":124541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:20:33] local.INFO: GPS data processed {"connection_id":124541,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:20:33] local.INFO: Acknowledgment sent {"connection_id":124541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:20:43] local.INFO: TCP Data received {"connection_id":125263,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:20:43] local.INFO: Processing buffer {"connection_id":125263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc11b38012d196940071fec580032006723..."} 
[2026-07-07 14:20:43] local.INFO: Packet analysis {"connection_id":125263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc1"} 
[2026-07-07 14:20:43] local.INFO: Extracted packet for processing {"connection_id":125263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc1"} 
[2026-07-07 14:20:43] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14: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-07-07 14:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553891328001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783413939000,"timestamp_ms":1783413939000,"timestamp_seconds":1783413939,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc11b38"} 
[2026-07-07 14:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:20: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-07-07 14: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-07-07 14:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553891328001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553891328001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:20:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:20:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553891328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":125263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:20:43] local.INFO: GPS data processed {"connection_id":125263,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:20:43] local.INFO: Acknowledgment sent {"connection_id":125263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:20:58] local.INFO: TCP Data received {"connection_id":124542,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:20:58] local.INFO: Processing buffer {"connection_id":124542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:20:58] local.INFO: IMEI packet received {"connection_id":124542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":124542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:21:02] local.INFO: TCP Data received {"connection_id":124542,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:21:02] local.INFO: Processing buffer {"connection_id":124542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:21:02] local.INFO: IMEI packet received {"connection_id":124542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":124542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:21:03] local.INFO: TCP Data received {"connection_id":124542,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc443d0012d9ad6c005735a28000b00bc2b..."} 
[2026-07-07 14:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc443d0012d9ad6c005735a28000b00bc2b..."} 
[2026-07-07 14:21:03] local.INFO: Processing buffer {"connection_id":124542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc443d0012d9ad6c005735a28000b00bc2b..."} 
[2026-07-07 14:21:03] local.INFO: Packet analysis {"connection_id":124542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc4"} 
[2026-07-07 14:21:03] local.INFO: Extracted packet for processing {"connection_id":124542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc4"} 
[2026-07-07 14:21:03] local.INFO: GPS Element Parsed {"raw_longitude":765122240,"raw_latitude":91445800,"longitude_deg":76.512224,"latitude_deg":9.14458,"altitude":11,"angle":188,"satellites":43,"speed":41,"hex_longitude":"2d9ad6c0","hex_latitude":"05735a28","is_valid_coordinates":true} 
[2026-07-07 14:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554018816001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341376872703066112,"note":"Value kept but may cause issues"} 
[2026-07-07 14:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7287316754882340864,"note":"Value kept but may cause issues"} 
[2026-07-07 14:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783414146000,"timestamp_ms":1783414146000,"timestamp_seconds":1783414146,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc443d0"} 
[2026-07-07 14:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 14:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554018816001,"66":27908,"162":206,"85":15872,"24":41,"16":341376872703066112,"45":-7287316754882340864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-07-07 14:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554018816001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:21:03] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-07 14:21:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-07 14:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341376872703066112,"km_value":341376872703066.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7287316754882340864,"description":"Unknown IO ID 45"} 
[2026-07-07 14:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554018816001,"power":27908,"unknown_162":206,"unknown_85":15872,"ignition":41,"odometer":null,"unknown_45":-7287316754882340864}} 
[2026-07-07 14:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":124542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:21:03] local.INFO: GPS data processed {"connection_id":124542,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:21:03] local.INFO: Acknowledgment sent {"connection_id":124542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:21:26] local.INFO: TCP Data received {"connection_id":126502,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:21:26] local.INFO: Processing buffer {"connection_id":126502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:21:26] local.INFO: IMEI packet received {"connection_id":126502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":126502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:21:35] local.INFO: TCP Data received {"connection_id":124542,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc466f8012d9ad48005733370000a00b32b..."} 
[2026-07-07 14:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc466f8012d9ad48005733370000a00b32b..."} 
[2026-07-07 14:21:35] local.INFO: Processing buffer {"connection_id":124542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc466f8012d9ad48005733370000a00b32b..."} 
[2026-07-07 14:21:35] local.INFO: Packet analysis {"connection_id":124542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc4"} 
[2026-07-07 14:21:35] local.INFO: Extracted packet for processing {"connection_id":124542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc4"} 
[2026-07-07 14:21:35] local.INFO: GPS Element Parsed {"raw_longitude":765121664,"raw_latitude":91435888,"longitude_deg":76.5121664,"latitude_deg":9.1435888,"altitude":10,"angle":179,"satellites":43,"speed":44,"hex_longitude":"2d9ad480","hex_latitude":"05733370","is_valid_coordinates":true} 
[2026-07-07 14:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554021376001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341377353739403264,"note":"Value kept but may cause issues"} 
[2026-07-07 14:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7289427817209911296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783414155000,"timestamp_ms":1783414155000,"timestamp_seconds":1783414155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc466f8"} 
[2026-07-07 14:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 14:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554021376001,"66":27876,"162":206,"85":15872,"24":44,"16":341377353739403264,"45":-7289427817209911296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-07-07 14:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554021376001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:21:35] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-07 14:21:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-07 14:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341377353739403264,"km_value":341377353739403.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7289427817209911296,"description":"Unknown IO ID 45"} 
[2026-07-07 14:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554021376001,"power":27876,"unknown_162":206,"unknown_85":15872,"ignition":44,"odometer":null,"unknown_45":-7289427817209911296}} 
[2026-07-07 14:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":124542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:21:35] local.INFO: GPS data processed {"connection_id":124542,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:21:35] local.INFO: Acknowledgment sent {"connection_id":124542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:21:35] local.INFO: TCP Data received {"connection_id":126502,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:21:35] local.INFO: Processing buffer {"connection_id":126502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:21:35] local.INFO: IMEI packet received {"connection_id":126502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":126502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:21:36] local.INFO: TCP Data received {"connection_id":126502,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:21:36] local.INFO: Processing buffer {"connection_id":126502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:21:36] local.INFO: Packet analysis {"connection_id":126502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:21:36] local.INFO: Extracted packet for processing {"connection_id":126502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553968384001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14: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-07-07 14:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783414240000,"timestamp_ms":1783414240000,"timestamp_seconds":1783414240,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc5b300"} 
[2026-07-07 14:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553968384001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553968384001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:21:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:21:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553968384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":126502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:21:37] local.INFO: GPS data processed {"connection_id":126502,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:21:37] local.INFO: Acknowledgment sent {"connection_id":126502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:21:38] local.INFO: TCP Data received {"connection_id":126502,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:21:38] local.INFO: Processing buffer {"connection_id":126502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:21:38] local.INFO: Packet analysis {"connection_id":126502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:21:38] local.INFO: Extracted packet for processing {"connection_id":126502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553968384001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783414240000,"timestamp_ms":1783414240000,"timestamp_seconds":1783414240,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc5b300"} 
[2026-07-07 14:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553968384001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553968384001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:21:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:21:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553968384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":126502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:21:38] local.INFO: GPS data processed {"connection_id":126502,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:21:38] local.INFO: Acknowledgment sent {"connection_id":126502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:21:58] local.INFO: TCP Data received {"connection_id":126503,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:21:58] local.INFO: Processing buffer {"connection_id":126503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:21:58] local.INFO: IMEI packet received {"connection_id":126503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":126503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:22:04] local.INFO: TCP Data received {"connection_id":126503,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:22:04] local.INFO: Processing buffer {"connection_id":126503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:22:04] local.INFO: IMEI packet received {"connection_id":126503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":126503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:22:05] local.INFO: TCP Data received {"connection_id":126503,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc5bad0012d9ad54005725958000a00a72b..."} 
[2026-07-07 14:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc5bad0012d9ad54005725958000a00a72b..."} 
[2026-07-07 14:22:05] local.INFO: Processing buffer {"connection_id":126503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc5bad0012d9ad54005725958000a00a72b..."} 
[2026-07-07 14:22:05] local.INFO: Packet analysis {"connection_id":126503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:22:05] local.INFO: Extracted packet for processing {"connection_id":126503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:22:05] local.INFO: GPS Element Parsed {"raw_longitude":765121856,"raw_latitude":91380056,"longitude_deg":76.5121856,"latitude_deg":9.1380056,"altitude":10,"angle":167,"satellites":43,"speed":31,"hex_longitude":"2d9ad540","hex_latitude":"05725958","is_valid_coordinates":true} 
[2026-07-07 14:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554045952001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341380089633570816,"note":"Value kept but may cause issues"} 
[2026-07-07 14:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7289850029691807744,"note":"Value kept but may cause issues"} 
[2026-07-07 14:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783414242000,"timestamp_ms":1783414242000,"timestamp_seconds":1783414242,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc5bad0"} 
[2026-07-07 14:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 14:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554045952001,"66":27876,"193":206,"84":8448,"24":31,"16":341380089633570816,"45":-7289850029691807744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,84,24,16,45]} 
[2026-07-07 14:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554045952001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:22:05] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-07 14:22:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341380089633570816,"km_value":341380089633570.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7289850029691807744,"description":"Unknown IO ID 45"} 
[2026-07-07 14:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554045952001,"power":27876,"unknown_193":206,"unknown_84":8448,"ignition":31,"odometer":null,"unknown_45":-7289850029691807744}} 
[2026-07-07 14:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":126503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:22:05] local.INFO: GPS data processed {"connection_id":126503,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:22:05] local.INFO: Acknowledgment sent {"connection_id":126503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:22:22] local.INFO: TCP Data received {"connection_id":124447,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:22:22] local.INFO: Processing buffer {"connection_id":124447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:22:22] local.INFO: IMEI packet received {"connection_id":124447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":124447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:22:27] local.INFO: TCP Data received {"connection_id":124447,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:22:27] local.INFO: Processing buffer {"connection_id":124447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:22:27] local.INFO: IMEI packet received {"connection_id":124447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":124447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:22:28] local.INFO: TCP Data received {"connection_id":124447,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:22:28] local.INFO: Processing buffer {"connection_id":124447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:22:28] local.INFO: Packet analysis {"connection_id":124447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:22:28] local.INFO: Extracted packet for processing {"connection_id":124447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:22:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14: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-07-07 14:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553968384001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:22: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-07-07 14:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783414240000,"timestamp_ms":1783414240000,"timestamp_seconds":1783414240,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc5b300"} 
[2026-07-07 14:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14: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-07-07 14:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553968384001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553968384001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:22:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:22:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553968384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":124447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:22:29] local.INFO: GPS data processed {"connection_id":124447,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:22:29] local.INFO: Acknowledgment sent {"connection_id":124447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:22:36] local.INFO: TCP Data received {"connection_id":126503,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc60cd8012d9ade8005723800000b009e29..."} 
[2026-07-07 14:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc60cd8012d9ade8005723800000b009e29..."} 
[2026-07-07 14:22:36] local.INFO: Processing buffer {"connection_id":126503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc60cd8012d9ade8005723800000b009e29..."} 
[2026-07-07 14:22:36] local.INFO: Packet analysis {"connection_id":126503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc6"} 
[2026-07-07 14:22:36] local.INFO: Extracted packet for processing {"connection_id":126503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc6"} 
[2026-07-07 14:22:36] local.INFO: GPS Element Parsed {"raw_longitude":765124224,"raw_latitude":91371520,"longitude_deg":76.5124224,"latitude_deg":9.137152,"altitude":11,"angle":158,"satellites":41,"speed":27,"hex_longitude":"2d9ade80","hex_latitude":"05723800","is_valid_coordinates":true} 
[2026-07-07 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-07-07 14:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554045952001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341380519130300416,"note":"Value kept but may cause issues"} 
[2026-07-07 14:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7289850029691807744,"note":"Value kept but may cause issues"} 
[2026-07-07 14:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783414263000,"timestamp_ms":1783414263000,"timestamp_seconds":1783414263,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc60cd8"} 
[2026-07-07 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-07-07 14:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 14:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 14:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554045952001,"66":27887,"193":206,"84":8448,"24":27,"16":341380519130300416,"45":-7289850029691807744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,84,24,16,45]} 
[2026-07-07 14:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554045952001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:22:36] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-07 14:22:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341380519130300416,"km_value":341380519130300.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7289850029691807744,"description":"Unknown IO ID 45"} 
[2026-07-07 14:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554045952001,"power":27887,"unknown_193":206,"unknown_84":8448,"ignition":27,"odometer":null,"unknown_45":-7289850029691807744}} 
[2026-07-07 14:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":126503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:22:36] local.INFO: GPS data processed {"connection_id":126503,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:22:36] local.INFO: Acknowledgment sent {"connection_id":126503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:23:00] local.INFO: TCP Data received {"connection_id":124447,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:23:00] local.INFO: Processing buffer {"connection_id":124447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:23:00] local.INFO: Packet analysis {"connection_id":124447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:23:00] local.INFO: Extracted packet for processing {"connection_id":124447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:23:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553968384001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:23: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-07-07 14:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783414240000,"timestamp_ms":1783414240000,"timestamp_seconds":1783414240,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc5b300"} 
[2026-07-07 14:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553968384001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553968384001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:23:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:23:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553968384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":124447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:23:00] local.INFO: GPS data processed {"connection_id":124447,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:23:00] local.INFO: Acknowledgment sent {"connection_id":124447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:23:04] local.INFO: TCP Data received {"connection_id":124448,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:23:04] local.INFO: Processing buffer {"connection_id":124448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:23:04] local.INFO: IMEI packet received {"connection_id":124448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":124448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:23:09] local.INFO: TCP Data received {"connection_id":124448,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:23:09] local.INFO: Processing buffer {"connection_id":124448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:23:09] local.INFO: IMEI packet received {"connection_id":124448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":124448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:23:10] local.INFO: TCP Data received {"connection_id":124448,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc63bb8012d9aed4005721548000b009b2a..."} 
[2026-07-07 14:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc63bb8012d9aed4005721548000b009b2a..."} 
[2026-07-07 14:23:10] local.INFO: Processing buffer {"connection_id":124448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc63bb8012d9aed4005721548000b009b2a..."} 
[2026-07-07 14:23:10] local.INFO: Packet analysis {"connection_id":124448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc6"} 
[2026-07-07 14:23:10] local.INFO: Extracted packet for processing {"connection_id":124448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc6"} 
[2026-07-07 14:23:10] local.INFO: GPS Element Parsed {"raw_longitude":765128000,"raw_latitude":91362632,"longitude_deg":76.5128,"latitude_deg":9.1362632,"altitude":11,"angle":155,"satellites":42,"speed":37,"hex_longitude":"2d9aed40","hex_latitude":"05721548","is_valid_coordinates":true} 
[2026-07-07 14:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554051328001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341380991576702976,"note":"Value kept but may cause issues"} 
[2026-07-07 14:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7287246386159419392,"note":"Value kept but may cause issues"} 
[2026-07-07 14:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783414275000,"timestamp_ms":1783414275000,"timestamp_seconds":1783414275,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc63bb8"} 
[2026-07-07 14:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14: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":239,"data_length":795,"current_offset":136} 
[2026-07-07 14:23: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-07-07 14:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554051328001,"66":27930,"192":206,"84":8448,"24":37,"16":341380991576702976,"45":-7287246386159419392},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,84,24,16,45]} 
[2026-07-07 14:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554051328001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:23:10] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-07 14:23:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341380991576702976,"km_value":341380991576703.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7287246386159419392,"description":"Unknown IO ID 45"} 
[2026-07-07 14:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554051328001,"power":27930,"unknown_192":206,"unknown_84":8448,"ignition":37,"odometer":null,"unknown_45":-7287246386159419392}} 
[2026-07-07 14:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":124448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:23:10] local.INFO: GPS data processed {"connection_id":124448,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:23:10] local.INFO: Acknowledgment sent {"connection_id":124448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:23:14] local.INFO: TCP Data received {"connection_id":126504,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:23:14] local.INFO: Processing buffer {"connection_id":126504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:23:14] local.INFO: IMEI packet received {"connection_id":126504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 14:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":126504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:23:21] local.INFO: TCP Data received {"connection_id":124449,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:23:21] local.INFO: Processing buffer {"connection_id":124449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:23:21] local.INFO: IMEI packet received {"connection_id":124449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":124449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:23:28] local.INFO: TCP Data received {"connection_id":124449,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:23:28] local.INFO: Processing buffer {"connection_id":124449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:23:28] local.INFO: IMEI packet received {"connection_id":124449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":124449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:23:30] local.INFO: TCP Data received {"connection_id":124449,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:23:30] local.INFO: Processing buffer {"connection_id":124449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:23:30] local.INFO: Packet analysis {"connection_id":124449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:23:30] local.INFO: Extracted packet for processing {"connection_id":124449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:23:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14: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-07-07 14:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553968384001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:23: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-07-07 14:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783414240000,"timestamp_ms":1783414240000,"timestamp_seconds":1783414240,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc5b300"} 
[2026-07-07 14:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14: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-07-07 14:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553968384001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553968384001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:23:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:23:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553968384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":124449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:23:30] local.INFO: GPS data processed {"connection_id":124449,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:23:30] local.INFO: Acknowledgment sent {"connection_id":124449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:23:32] local.INFO: TCP Data received {"connection_id":124449,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:23:32] local.INFO: Processing buffer {"connection_id":124449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:23:32] local.INFO: Packet analysis {"connection_id":124449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:23:32] local.INFO: Extracted packet for processing {"connection_id":124449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:23:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553968384001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:23: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-07-07 14:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783414240000,"timestamp_ms":1783414240000,"timestamp_seconds":1783414240,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc5b300"} 
[2026-07-07 14:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553968384001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553968384001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:23:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:23:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553968384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":124449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:23:32] local.INFO: GPS data processed {"connection_id":124449,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:23:32] local.INFO: Acknowledgment sent {"connection_id":124449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:23:43] local.INFO: TCP Data received {"connection_id":124448,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc662c8012d9afcc00571f230000b009d29..."} 
[2026-07-07 14:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc662c8012d9afcc00571f230000b009d29..."} 
[2026-07-07 14:23:43] local.INFO: Processing buffer {"connection_id":124448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc662c8012d9afcc00571f230000b009d29..."} 
[2026-07-07 14:23:43] local.INFO: Packet analysis {"connection_id":124448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc6"} 
[2026-07-07 14:23:43] local.INFO: Extracted packet for processing {"connection_id":124448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc6"} 
[2026-07-07 14:23:43] local.INFO: GPS Element Parsed {"raw_longitude":765131968,"raw_latitude":91353648,"longitude_deg":76.5131968,"latitude_deg":9.1353648,"altitude":11,"angle":157,"satellites":41,"speed":39,"hex_longitude":"2d9afcc0","hex_latitude":"0571f230","is_valid_coordinates":true} 
[2026-07-07 14:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554054400001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341381464023105536,"note":"Value kept but may cause issues"} 
[2026-07-07 14:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7283094630255212544,"note":"Value kept but may cause issues"} 
[2026-07-07 14:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783414285000,"timestamp_ms":1783414285000,"timestamp_seconds":1783414285,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc662c8"} 
[2026-07-07 14:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:23: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-07-07 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 14:23: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-07-07 14:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554054400001,"66":27995,"192":206,"84":8448,"24":39,"16":341381464023105536,"45":-7283094630255212544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,84,24,16,45]} 
[2026-07-07 14:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554054400001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:23:43] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-07 14:23:43] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341381464023105536,"km_value":341381464023105.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7283094630255212544,"description":"Unknown IO ID 45"} 
[2026-07-07 14:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554054400001,"power":27995,"unknown_192":206,"unknown_84":8448,"ignition":39,"odometer":null,"unknown_45":-7283094630255212544}} 
[2026-07-07 14:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":124448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:23:43] local.INFO: GPS data processed {"connection_id":124448,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:23:43] local.INFO: Acknowledgment sent {"connection_id":124448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:24:04] local.INFO: TCP Data received {"connection_id":125266,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:24:04] local.INFO: Processing buffer {"connection_id":125266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:24:04] local.INFO: IMEI packet received {"connection_id":125266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":125266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:24:04] local.INFO: TCP Data received {"connection_id":124543,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:24:04] local.INFO: Processing buffer {"connection_id":124543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:24:04] local.INFO: IMEI packet received {"connection_id":124543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 14:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":124543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:24:07] local.INFO: TCP Data received {"connection_id":125266,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:24:07] local.INFO: Processing buffer {"connection_id":125266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:24:07] local.INFO: IMEI packet received {"connection_id":125266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":125266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:24:09] local.INFO: TCP Data received {"connection_id":125266,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc83b70012d9b63c00570cff0000d00972b..."} 
[2026-07-07 14:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc83b70012d9b63c00570cff0000d00972b..."} 
[2026-07-07 14:24:09] local.INFO: Processing buffer {"connection_id":125266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc83b70012d9b63c00570cff0000d00972b..."} 
[2026-07-07 14:24:09] local.INFO: Packet analysis {"connection_id":125266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc8"} 
[2026-07-07 14:24:09] local.INFO: Extracted packet for processing {"connection_id":125266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc8"} 
[2026-07-07 14:24:09] local.INFO: GPS Element Parsed {"raw_longitude":765158336,"raw_latitude":91279344,"longitude_deg":76.5158336,"latitude_deg":9.1279344,"altitude":13,"angle":151,"satellites":43,"speed":31,"hex_longitude":"2d9b63c0","hex_latitude":"0570cff0","is_valid_coordinates":true} 
[2026-07-07 14:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554084864001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341385320903737344,"note":"Value kept but may cause issues"} 
[2026-07-07 14:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7253117545255116800,"note":"Value kept but may cause issues"} 
[2026-07-07 14:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783414406000,"timestamp_ms":1783414406000,"timestamp_seconds":1783414406,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc83b70"} 
[2026-07-07 14:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:24: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-07-07 14:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 14:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554084864001,"66":27919,"93":206,"84":8448,"24":31,"16":341385320903737344,"45":-7253117545255116800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-07-07 14:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554084864001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:24:09] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-07 14:24:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341385320903737344,"km_value":341385320903737.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7253117545255116800,"description":"Unknown IO ID 45"} 
[2026-07-07 14:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554084864001,"power":27919,"unknown_93":206,"unknown_84":8448,"ignition":31,"odometer":null,"unknown_45":-7253117545255116800}} 
[2026-07-07 14:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":125266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:24:09] local.INFO: GPS data processed {"connection_id":125266,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:24:09] local.INFO: Acknowledgment sent {"connection_id":125266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:24:10] local.INFO: TCP Data received {"connection_id":124449,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:24:11] local.INFO: Processing buffer {"connection_id":124449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:24:11] local.INFO: Packet analysis {"connection_id":124449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:24:11] local.INFO: Extracted packet for processing {"connection_id":124449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:24:11] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 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-07-07 14:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553968384001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783414240000,"timestamp_ms":1783414240000,"timestamp_seconds":1783414240,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc5b300"} 
[2026-07-07 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-07-07 14:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 14:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553968384001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553968384001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:24:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:24:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553968384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":124449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:24:11] local.INFO: GPS data processed {"connection_id":124449,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:24:11] local.INFO: Acknowledgment sent {"connection_id":124449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:24:11] local.INFO: TCP Data received {"connection_id":125266,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc86668012d9b77400570b018000e00882a..."} 
[2026-07-07 14:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc86668012d9b77400570b018000e00882a..."} 
[2026-07-07 14:24:11] local.INFO: Processing buffer {"connection_id":125266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc86668012d9b77400570b018000e00882a..."} 
[2026-07-07 14:24:11] local.INFO: Packet analysis {"connection_id":125266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc8"} 
[2026-07-07 14:24:11] local.INFO: Extracted packet for processing {"connection_id":125266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc8"} 
[2026-07-07 14:24:11] local.INFO: GPS Element Parsed {"raw_longitude":765163328,"raw_latitude":91271192,"longitude_deg":76.5163328,"latitude_deg":9.1271192,"altitude":14,"angle":136,"satellites":42,"speed":38,"hex_longitude":"2d9b7740","hex_latitude":"0570b018","is_valid_coordinates":true} 
[2026-07-07 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-07-07 14:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554087936001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341385784760205312,"note":"Value kept but may cause issues"} 
[2026-07-07 14:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7249739845536321536,"note":"Value kept but may cause issues"} 
[2026-07-07 14:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783414417000,"timestamp_ms":1783414417000,"timestamp_seconds":1783414417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc86668"} 
[2026-07-07 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-07-07 14:24: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-07-07 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 14: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-07-07 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-07-07 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-07-07 14:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554087936001,"66":27930,"93":206,"84":8448,"24":38,"16":341385784760205312,"45":-7249739845536321536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-07-07 14:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554087936001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:24:11] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-07 14:24:11] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341385784760205312,"km_value":341385784760205.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7249739845536321536,"description":"Unknown IO ID 45"} 
[2026-07-07 14:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554087936001,"power":27930,"unknown_93":206,"unknown_84":8448,"ignition":38,"odometer":null,"unknown_45":-7249739845536321536}} 
[2026-07-07 14:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":125266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:24:11] local.INFO: GPS data processed {"connection_id":125266,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:24:11] local.INFO: Acknowledgment sent {"connection_id":125266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:24:27] local.INFO: TCP Data received {"connection_id":124544,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:24:27] local.INFO: Processing buffer {"connection_id":124544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:24:27] local.INFO: IMEI packet received {"connection_id":124544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":124544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:24:31] local.INFO: TCP Data received {"connection_id":124544,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:24:31] local.INFO: Processing buffer {"connection_id":124544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:24:31] local.INFO: IMEI packet received {"connection_id":124544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":124544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:24:33] local.INFO: TCP Data received {"connection_id":124544,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:24:33] local.INFO: Processing buffer {"connection_id":124544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:24:33] local.INFO: Packet analysis {"connection_id":124544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:24:33] local.INFO: Extracted packet for processing {"connection_id":124544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14: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-07-07 14:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553968384001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783414240000,"timestamp_ms":1783414240000,"timestamp_seconds":1783414240,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc5b300"} 
[2026-07-07 14:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14: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":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14: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-07-07 14:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553968384001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553968384001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:24:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:24:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553968384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":124544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:24:33] local.INFO: GPS data processed {"connection_id":124544,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:24:33] local.INFO: Acknowledgment sent {"connection_id":124544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:24:37] local.INFO: TCP Data received {"connection_id":124544,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:24:37] local.INFO: Processing buffer {"connection_id":124544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:24:37] local.INFO: Packet analysis {"connection_id":124544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:24:37] local.INFO: Extracted packet for processing {"connection_id":124544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553968384001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783414240000,"timestamp_ms":1783414240000,"timestamp_seconds":1783414240,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc5b300"} 
[2026-07-07 14:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553968384001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553968384001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:24:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553968384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":124544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:24:37] local.INFO: GPS data processed {"connection_id":124544,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:24:37] local.INFO: Acknowledgment sent {"connection_id":124544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:25:02] local.INFO: TCP Data received {"connection_id":125266,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc86668012d9b77400570b018000e00882a..."} 
[2026-07-07 14:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc86668012d9b77400570b018000e00882a..."} 
[2026-07-07 14:25:02] local.INFO: Processing buffer {"connection_id":125266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc86668012d9b77400570b018000e00882a..."} 
[2026-07-07 14:25:02] local.INFO: Packet analysis {"connection_id":125266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc8"} 
[2026-07-07 14:25:02] local.INFO: Extracted packet for processing {"connection_id":125266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc8"} 
[2026-07-07 14:25:02] local.INFO: GPS Element Parsed {"raw_longitude":765163328,"raw_latitude":91271192,"longitude_deg":76.5163328,"latitude_deg":9.1271192,"altitude":14,"angle":136,"satellites":42,"speed":38,"hex_longitude":"2d9b7740","hex_latitude":"0570b018","is_valid_coordinates":true} 
[2026-07-07 14:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554090752001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341385784760205312,"note":"Value kept but may cause issues"} 
[2026-07-07 14:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7244251083492550656,"note":"Value kept but may cause issues"} 
[2026-07-07 14:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783414417000,"timestamp_ms":1783414417000,"timestamp_seconds":1783414417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc86668"} 
[2026-07-07 14:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 14:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554090752001,"66":27930,"93":206,"84":8448,"24":38,"16":341385784760205312,"45":-7244251083492550656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-07-07 14:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554090752001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:25:02] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-07 14:25:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341385784760205312,"km_value":341385784760205.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7244251083492550656,"description":"Unknown IO ID 45"} 
[2026-07-07 14:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554090752001,"power":27930,"unknown_93":206,"unknown_84":8448,"ignition":38,"odometer":null,"unknown_45":-7244251083492550656}} 
[2026-07-07 14:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":125266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:25:02] local.INFO: GPS data processed {"connection_id":125266,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:25:02] local.INFO: Acknowledgment sent {"connection_id":125266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:25:03] local.INFO: TCP Data received {"connection_id":124546,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:25:03] local.INFO: Processing buffer {"connection_id":124546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:25:03] local.INFO: IMEI packet received {"connection_id":124546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":124546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:25:07] local.INFO: TCP Data received {"connection_id":124546,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:25:07] local.INFO: Processing buffer {"connection_id":124546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:25:07] local.INFO: IMEI packet received {"connection_id":124546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":124546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:25:08] local.INFO: TCP Data received {"connection_id":124546,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:25:08] local.INFO: Processing buffer {"connection_id":124546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:25:08] local.INFO: IMEI packet received {"connection_id":124546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":124546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:25:09] local.INFO: TCP Data received {"connection_id":124546,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc879f0012d9b84400570a0f0000e00942b..."} 
[2026-07-07 14:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc879f0012d9b84400570a0f0000e00942b..."} 
[2026-07-07 14:25:09] local.INFO: Processing buffer {"connection_id":124546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc879f0012d9b84400570a0f0000e00942b..."} 
[2026-07-07 14:25:09] local.INFO: Packet analysis {"connection_id":124546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc8"} 
[2026-07-07 14:25:09] local.INFO: Extracted packet for processing {"connection_id":124546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc8"} 
[2026-07-07 14:25:09] local.INFO: GPS Element Parsed {"raw_longitude":765166656,"raw_latitude":91267312,"longitude_deg":76.5166656,"latitude_deg":9.1267312,"altitude":14,"angle":148,"satellites":43,"speed":42,"hex_longitude":"2d9b8440","hex_latitude":"0570a0f0","is_valid_coordinates":true} 
[2026-07-07 14:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554090752001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341386029573341184,"note":"Value kept but may cause issues"} 
[2026-07-07 14:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7244251083492550656,"note":"Value kept but may cause issues"} 
[2026-07-07 14:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783414422000,"timestamp_ms":1783414422000,"timestamp_seconds":1783414422,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc879f0"} 
[2026-07-07 14:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:25: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-07-07 14: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-07-07 14: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-07-07 14:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554090752001,"66":27658,"93":206,"84":8448,"24":42,"16":341386029573341184,"45":-7244251083492550656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-07-07 14:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554090752001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:25:09] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-07 14:25:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341386029573341184,"km_value":341386029573341.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7244251083492550656,"description":"Unknown IO ID 45"} 
[2026-07-07 14:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554090752001,"power":27658,"unknown_93":206,"unknown_84":8448,"ignition":42,"odometer":null,"unknown_45":-7244251083492550656}} 
[2026-07-07 14:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":124546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:25:09] local.INFO: GPS data processed {"connection_id":124546,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:25:09] local.INFO: Acknowledgment sent {"connection_id":124546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:25:21] local.INFO: TCP Data received {"connection_id":124547,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:25:21] local.INFO: Processing buffer {"connection_id":124547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:25:21] local.INFO: IMEI packet received {"connection_id":124547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":124547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:25:26] local.INFO: TCP Data received {"connection_id":124547,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:25:26] local.INFO: Processing buffer {"connection_id":124547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:25:26] local.INFO: IMEI packet received {"connection_id":124547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":124547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:25:28] local.INFO: TCP Data received {"connection_id":124547,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:25:28] local.INFO: Processing buffer {"connection_id":124547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:25:28] local.INFO: Packet analysis {"connection_id":124547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:25:28] local.INFO: Extracted packet for processing {"connection_id":124547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553968384001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:25: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-07-07 14:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783414240000,"timestamp_ms":1783414240000,"timestamp_seconds":1783414240,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc5b300"} 
[2026-07-07 14:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553968384001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553968384001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:25:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:25:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553968384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":124547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:25:28] local.INFO: GPS data processed {"connection_id":124547,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:25:28] local.INFO: Acknowledgment sent {"connection_id":124547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:25:40] local.INFO: TCP Data received {"connection_id":124546,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc89d18012d9b94c005707da0000d009e2b..."} 
[2026-07-07 14:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc89d18012d9b94c005707da0000d009e2b..."} 
[2026-07-07 14:25:40] local.INFO: Processing buffer {"connection_id":124546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc89d18012d9b94c005707da0000d009e2b..."} 
[2026-07-07 14:25:40] local.INFO: Packet analysis {"connection_id":124546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc8"} 
[2026-07-07 14:25:40] local.INFO: Extracted packet for processing {"connection_id":124546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc8"} 
[2026-07-07 14:25:40] local.INFO: GPS Element Parsed {"raw_longitude":765170880,"raw_latitude":91258272,"longitude_deg":76.517088,"latitude_deg":9.1258272,"altitude":13,"angle":158,"satellites":43,"speed":45,"hex_longitude":"2d9b94c0","hex_latitude":"05707da0","is_valid_coordinates":true} 
[2026-07-07 14:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554092032001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341386514904645632,"note":"Value kept but may cause issues"} 
[2026-07-07 14:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7240591908796305408,"note":"Value kept but may cause issues"} 
[2026-07-07 14:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783414431000,"timestamp_ms":1783414431000,"timestamp_seconds":1783414431,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc89d18"} 
[2026-07-07 14:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:25: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-07-07 14: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 14:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554092032001,"66":27995,"93":206,"84":8448,"24":45,"16":341386514904645632,"45":-7240591908796305408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-07-07 14:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554092032001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:25:40] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-07 14:25:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341386514904645632,"km_value":341386514904645.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7240591908796305408,"description":"Unknown IO ID 45"} 
[2026-07-07 14:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554092032001,"power":27995,"unknown_93":206,"unknown_84":8448,"ignition":45,"odometer":null,"unknown_45":-7240591908796305408}} 
[2026-07-07 14:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":124546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:25:40] local.INFO: GPS data processed {"connection_id":124546,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:25:40] local.INFO: Acknowledgment sent {"connection_id":124546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:26:00] local.INFO: TCP Data received {"connection_id":124547,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:26:00] local.INFO: Processing buffer {"connection_id":124547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc5b300012d196940071fec580032006724..."} 
[2026-07-07 14:26:00] local.INFO: Packet analysis {"connection_id":124547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:26:00] local.INFO: Extracted packet for processing {"connection_id":124547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc5"} 
[2026-07-07 14:26:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14: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-07-07 14:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553968384001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:26: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-07-07 14:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783414240000,"timestamp_ms":1783414240000,"timestamp_seconds":1783414240,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc5b300"} 
[2026-07-07 14:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14: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-07-07 14:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553968384001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553968384001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:26:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:26:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553968384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":124547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:26:00] local.INFO: GPS data processed {"connection_id":124547,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:26:00] local.INFO: Acknowledgment sent {"connection_id":124547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:26:03] local.INFO: TCP Data received {"connection_id":125268,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:26:03] local.INFO: Processing buffer {"connection_id":125268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:26:03] local.INFO: IMEI packet received {"connection_id":125268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":125268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:26:04] local.INFO: TCP Data received {"connection_id":125268,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:26:04] local.INFO: Processing buffer {"connection_id":125268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:26:04] local.INFO: IMEI packet received {"connection_id":125268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":125268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:26:09] local.INFO: TCP Data received {"connection_id":125268,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:26:09] local.INFO: Processing buffer {"connection_id":125268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:26:09] local.INFO: IMEI packet received {"connection_id":125268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":125268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:26:10] local.INFO: TCP Data received {"connection_id":125268,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bc8bc58012d9ba0c005705d00000d00a52b..."} 
[2026-07-07 14:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bc8bc58012d9ba0c005705d00000d00a52b..."} 
[2026-07-07 14:26:10] local.INFO: Processing buffer {"connection_id":125268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bc8bc58012d9ba0c005705d00000d00a52b..."} 
[2026-07-07 14:26:10] local.INFO: Packet analysis {"connection_id":125268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bc8"} 
[2026-07-07 14:26:10] local.INFO: Extracted packet for processing {"connection_id":125268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bc8"} 
[2026-07-07 14:26:10] local.INFO: GPS Element Parsed {"raw_longitude":765173952,"raw_latitude":91249920,"longitude_deg":76.5173952,"latitude_deg":9.124992,"altitude":13,"angle":165,"satellites":43,"speed":44,"hex_longitude":"2d9ba0c0","hex_latitude":"05705d00","is_valid_coordinates":true} 
[2026-07-07 14:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554094336001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341386944401375232,"note":"Value kept but may cause issues"} 
[2026-07-07 14:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7235947571682893824,"note":"Value kept but may cause issues"} 
[2026-07-07 14:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783414439000,"timestamp_ms":1783414439000,"timestamp_seconds":1783414439,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bc8bc58"} 
[2026-07-07 14:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 14:26: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-07-07 14:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554094336001,"66":27930,"93":206,"84":8448,"24":44,"16":341386944401375232,"45":-7235947571682893824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-07-07 14:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554094336001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:26:10] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-07 14:26:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341386944401375232,"km_value":341386944401375.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7235947571682893824,"description":"Unknown IO ID 45"} 
[2026-07-07 14:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554094336001,"power":27930,"unknown_93":206,"unknown_84":8448,"ignition":44,"odometer":null,"unknown_45":-7235947571682893824}} 
[2026-07-07 14:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":125268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:26:10] local.INFO: GPS data processed {"connection_id":125268,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:26:10] local.INFO: Acknowledgment sent {"connection_id":125268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:26:21] local.INFO: TCP Data received {"connection_id":126506,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:26:21] local.INFO: Processing buffer {"connection_id":126506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:26:21] local.INFO: IMEI packet received {"connection_id":126506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":126506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:26:26] local.INFO: TCP Data received {"connection_id":126506,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:26:26] local.INFO: Processing buffer {"connection_id":126506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:26:26] local.INFO: IMEI packet received {"connection_id":126506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":126506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:26:28] local.INFO: TCP Data received {"connection_id":126506,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:26:28] local.INFO: Processing buffer {"connection_id":126506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:26:28] local.INFO: Packet analysis {"connection_id":126506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:26:28] local.INFO: Extracted packet for processing {"connection_id":126506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554045440001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:26: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-07-07 14:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783414541000,"timestamp_ms":1783414541000,"timestamp_seconds":1783414541,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bca4ac8"} 
[2026-07-07 14:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554045440001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554045440001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:26:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:26:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554045440001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":126506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:26:28] local.INFO: GPS data processed {"connection_id":126506,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:26:28] local.INFO: Acknowledgment sent {"connection_id":126506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:26:40] local.INFO: TCP Data received {"connection_id":125268,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bca79a8012d9be980056eae38000c00ad2c..."} 
[2026-07-07 14:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bca79a8012d9be980056eae38000c00ad2c..."} 
[2026-07-07 14:26:40] local.INFO: Processing buffer {"connection_id":125268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bca79a8012d9be980056eae38000c00ad2c..."} 
[2026-07-07 14:26:40] local.INFO: Packet analysis {"connection_id":125268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:26:40] local.INFO: Extracted packet for processing {"connection_id":125268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:26:40] local.INFO: GPS Element Parsed {"raw_longitude":765192576,"raw_latitude":91139640,"longitude_deg":76.5192576,"latitude_deg":9.113964,"altitude":12,"angle":173,"satellites":44,"speed":41,"hex_longitude":"2d9be980","hex_latitude":"056eae38","is_valid_coordinates":true} 
[2026-07-07 14:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554123264001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341392381829971968,"note":"Value kept but may cause issues"} 
[2026-07-07 14:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7213640679806482432,"note":"Value kept but may cause issues"} 
[2026-07-07 14:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783414553000,"timestamp_ms":1783414553000,"timestamp_seconds":1783414553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bca79a8"} 
[2026-07-07 14:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 14:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554123264001,"66":27919,"231":206,"84":8448,"24":41,"16":341392381829971968,"45":-7213640679806482432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,84,24,16,45]} 
[2026-07-07 14:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554123264001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:26:40] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-07 14:26:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341392381829971968,"km_value":341392381829971.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7213640679806482432,"description":"Unknown IO ID 45"} 
[2026-07-07 14:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554123264001,"power":27919,"unknown_231":206,"unknown_84":8448,"ignition":41,"odometer":null,"unknown_45":-7213640679806482432}} 
[2026-07-07 14:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":125268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:26:40] local.INFO: GPS data processed {"connection_id":125268,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:26:40] local.INFO: Acknowledgment sent {"connection_id":125268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:26:56] local.INFO: TCP Data received {"connection_id":124450,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:26:56] local.INFO: Processing buffer {"connection_id":124450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:26:56] local.INFO: IMEI packet received {"connection_id":124450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":124450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:26:59] local.INFO: TCP Data received {"connection_id":124450,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:26:59] local.INFO: Processing buffer {"connection_id":124450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:26:59] local.INFO: IMEI packet received {"connection_id":124450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":124450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:27:00] local.INFO: TCP Data received {"connection_id":126506,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:27:00] local.INFO: Processing buffer {"connection_id":126506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:27:00] local.INFO: Packet analysis {"connection_id":126506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:27:00] local.INFO: Extracted packet for processing {"connection_id":126506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:27:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554045440001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:27: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-07-07 14:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783414541000,"timestamp_ms":1783414541000,"timestamp_seconds":1783414541,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bca4ac8"} 
[2026-07-07 14:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554045440001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554045440001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:27:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:27:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554045440001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":126506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:27:00] local.INFO: GPS data processed {"connection_id":126506,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:27:00] local.INFO: Acknowledgment sent {"connection_id":126506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:27:04] local.INFO: TCP Data received {"connection_id":124450,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:27:04] local.INFO: Processing buffer {"connection_id":124450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:27:04] local.INFO: IMEI packet received {"connection_id":124450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":124450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:27:04] local.INFO: TCP Data received {"connection_id":124450,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bca9cd0012d9bedc0056e88d8000c00b02b..."} 
[2026-07-07 14:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bca9cd0012d9bedc0056e88d8000c00b02b..."} 
[2026-07-07 14:27:04] local.INFO: Processing buffer {"connection_id":124450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bca9cd0012d9bedc0056e88d8000c00b02b..."} 
[2026-07-07 14:27:04] local.INFO: Packet analysis {"connection_id":124450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:27:04] local.INFO: Extracted packet for processing {"connection_id":124450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:27:04] local.INFO: GPS Element Parsed {"raw_longitude":765193664,"raw_latitude":91130072,"longitude_deg":76.5193664,"latitude_deg":9.1130072,"altitude":12,"angle":176,"satellites":43,"speed":43,"hex_longitude":"2d9bedc0","hex_latitude":"056e88d8","is_valid_coordinates":true} 
[2026-07-07 14:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554125568001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341392845686439936,"note":"Value kept but may cause issues"} 
[2026-07-07 14:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7212092567437035520,"note":"Value kept but may cause issues"} 
[2026-07-07 14:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783414562000,"timestamp_ms":1783414562000,"timestamp_seconds":1783414562,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bca9cd0"} 
[2026-07-07 14:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 14:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554125568001,"66":27995,"231":206,"84":8448,"24":43,"16":341392845686439936,"45":-7212092567437035520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,84,24,16,45]} 
[2026-07-07 14:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554125568001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:27:04] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-07 14:27:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341392845686439936,"km_value":341392845686439.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7212092567437035520,"description":"Unknown IO ID 45"} 
[2026-07-07 14:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554125568001,"power":27995,"unknown_231":206,"unknown_84":8448,"ignition":43,"odometer":null,"unknown_45":-7212092567437035520}} 
[2026-07-07 14:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":124450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:27:05] local.INFO: GPS data processed {"connection_id":124450,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:27:05] local.INFO: Acknowledgment sent {"connection_id":124450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:27:26] local.INFO: TCP Data received {"connection_id":125270,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:27:26] local.INFO: Processing buffer {"connection_id":125270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:27:26] local.INFO: IMEI packet received {"connection_id":125270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":125270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:27:31] local.INFO: TCP Data received {"connection_id":125270,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:27:31] local.INFO: Processing buffer {"connection_id":125270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:27:31] local.INFO: IMEI packet received {"connection_id":125270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":125270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:27:33] local.INFO: TCP Data received {"connection_id":125270,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:27:33] local.INFO: Processing buffer {"connection_id":125270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:27:33] local.INFO: Packet analysis {"connection_id":125270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:27:33] local.INFO: Extracted packet for processing {"connection_id":125270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:27:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554045440001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783414541000,"timestamp_ms":1783414541000,"timestamp_seconds":1783414541,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bca4ac8"} 
[2026-07-07 14:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554045440001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554045440001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:27:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:27:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554045440001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":125270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:27:33] local.INFO: GPS data processed {"connection_id":125270,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:27:33] local.INFO: Acknowledgment sent {"connection_id":125270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:27:36] local.INFO: TCP Data received {"connection_id":124450,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bcabc10012d9bf040056e6518000d00b12b..."} 
[2026-07-07 14:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bcabc10012d9bf040056e6518000d00b12b..."} 
[2026-07-07 14:27:36] local.INFO: Processing buffer {"connection_id":124450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bcabc10012d9bf040056e6518000d00b12b..."} 
[2026-07-07 14:27:36] local.INFO: Packet analysis {"connection_id":124450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:27:36] local.INFO: Extracted packet for processing {"connection_id":124450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:27:36] local.INFO: GPS Element Parsed {"raw_longitude":765194304,"raw_latitude":91120920,"longitude_deg":76.5194304,"latitude_deg":9.112092,"altitude":13,"angle":177,"satellites":43,"speed":47,"hex_longitude":"2d9bf040","hex_latitude":"056e6518","is_valid_coordinates":true} 
[2026-07-07 14:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554127872001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341393292363038720,"note":"Value kept but may cause issues"} 
[2026-07-07 14:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7210896298788464640,"note":"Value kept but may cause issues"} 
[2026-07-07 14:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783414570000,"timestamp_ms":1783414570000,"timestamp_seconds":1783414570,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bcabc10"} 
[2026-07-07 14:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 14:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554127872001,"66":27821,"231":206,"84":8448,"24":47,"16":341393292363038720,"45":-7210896298788464640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,84,24,16,45]} 
[2026-07-07 14:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554127872001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:27:36] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-07 14:27:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341393292363038720,"km_value":341393292363038.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7210896298788464640,"description":"Unknown IO ID 45"} 
[2026-07-07 14:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554127872001,"power":27821,"unknown_231":206,"unknown_84":8448,"ignition":47,"odometer":null,"unknown_45":-7210896298788464640}} 
[2026-07-07 14:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":124450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:27:36] local.INFO: GPS data processed {"connection_id":124450,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:27:36] local.INFO: Acknowledgment sent {"connection_id":124450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:27:37] local.INFO: TCP Data received {"connection_id":125270,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:27:37] local.INFO: Processing buffer {"connection_id":125270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:27:37] local.INFO: Packet analysis {"connection_id":125270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:27:37] local.INFO: Extracted packet for processing {"connection_id":125270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554045440001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783414541000,"timestamp_ms":1783414541000,"timestamp_seconds":1783414541,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bca4ac8"} 
[2026-07-07 14:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554045440001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554045440001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:27:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:27:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554045440001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":125270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:27:37] local.INFO: GPS data processed {"connection_id":125270,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:27:37] local.INFO: Acknowledgment sent {"connection_id":125270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:27:59] local.INFO: TCP Data received {"connection_id":125271,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:27:59] local.INFO: Processing buffer {"connection_id":125271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:27:59] local.INFO: IMEI packet received {"connection_id":125271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":125271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:28:01] local.INFO: TCP Data received {"connection_id":125271,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:28:01] local.INFO: Processing buffer {"connection_id":125271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:28:01] local.INFO: IMEI packet received {"connection_id":125271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":125271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:28:04] local.INFO: TCP Data received {"connection_id":125271,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:28:04] local.INFO: Processing buffer {"connection_id":125271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:28:04] local.INFO: IMEI packet received {"connection_id":125271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":125271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:28:04] local.INFO: TCP Data received {"connection_id":125271,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bcadb50012d9bf1c0056e3e28000d00b12c..."} 
[2026-07-07 14:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bcadb50012d9bf1c0056e3e28000d00b12c..."} 
[2026-07-07 14:28:04] local.INFO: Processing buffer {"connection_id":125271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bcadb50012d9bf1c0056e3e28000d00b12c..."} 
[2026-07-07 14:28:04] local.INFO: Packet analysis {"connection_id":125271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:28:04] local.INFO: Extracted packet for processing {"connection_id":125271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:28:04] local.INFO: GPS Element Parsed {"raw_longitude":765194688,"raw_latitude":91110952,"longitude_deg":76.5194688,"latitude_deg":9.1110952,"altitude":13,"angle":177,"satellites":44,"speed":50,"hex_longitude":"2d9bf1c0","hex_latitude":"056e3e28","is_valid_coordinates":true} 
[2026-07-07 14:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554129920001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341393777694343168,"note":"Value kept but may cause issues"} 
[2026-07-07 14:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7210192611349030912,"note":"Value kept but may cause issues"} 
[2026-07-07 14:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783414578000,"timestamp_ms":1783414578000,"timestamp_seconds":1783414578,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bcadb50"} 
[2026-07-07 14:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 14:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554129920001,"66":27908,"231":206,"84":8448,"24":50,"16":341393777694343168,"45":-7210192611349030912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,84,24,16,45]} 
[2026-07-07 14:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554129920001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:28:04] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-07 14:28:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341393777694343168,"km_value":341393777694343.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7210192611349030912,"description":"Unknown IO ID 45"} 
[2026-07-07 14:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554129920001,"power":27908,"unknown_231":206,"unknown_84":8448,"ignition":50,"odometer":null,"unknown_45":-7210192611349030912}} 
[2026-07-07 14:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":125271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:28:04] local.INFO: GPS data processed {"connection_id":125271,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:28:04] local.INFO: Acknowledgment sent {"connection_id":125271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:28:09] local.INFO: TCP Data received {"connection_id":125271,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bcafa90012d9bf400056e1718000c00b12b..."} 
[2026-07-07 14:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bcafa90012d9bf400056e1718000c00b12b..."} 
[2026-07-07 14:28:09] local.INFO: Processing buffer {"connection_id":125271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bcafa90012d9bf400056e1718000c00b12b..."} 
[2026-07-07 14:28:09] local.INFO: Packet analysis {"connection_id":125271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:28:09] local.INFO: Extracted packet for processing {"connection_id":125271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:28:09] local.INFO: GPS Element Parsed {"raw_longitude":765195264,"raw_latitude":91100952,"longitude_deg":76.5195264,"latitude_deg":9.1100952,"altitude":12,"angle":177,"satellites":43,"speed":47,"hex_longitude":"2d9bf400","hex_latitude":"056e1718","is_valid_coordinates":true} 
[2026-07-07 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-07-07 14:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554131968001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341394263025647616,"note":"Value kept but may cause issues"} 
[2026-07-07 14:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7209770398886516736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783414586000,"timestamp_ms":1783414586000,"timestamp_seconds":1783414586,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bcafa90"} 
[2026-07-07 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-07-07 14:28: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-07-07 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":4,"data_length":795,"current_offset":136} 
[2026-07-07 14:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 14:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554131968001,"66":27821,"53":206,"84":8448,"24":47,"16":341394263025647616,"45":-7209770398886516736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-07-07 14:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554131968001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:28:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-07 14:28:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341394263025647616,"km_value":341394263025647.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7209770398886516736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554131968001,"power":27821,"unknown_53":206,"unknown_84":8448,"ignition":47,"odometer":null,"unknown_45":-7209770398886516736}} 
[2026-07-07 14:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":125271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:28:09] local.INFO: GPS data processed {"connection_id":125271,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:28:09] local.INFO: Acknowledgment sent {"connection_id":125271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:28:21] local.INFO: TCP Data received {"connection_id":126508,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:28:21] local.INFO: Processing buffer {"connection_id":126508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:28:21] local.INFO: IMEI packet received {"connection_id":126508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":126508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:28:26] local.INFO: TCP Data received {"connection_id":126508,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:28:26] local.INFO: Processing buffer {"connection_id":126508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:28:26] local.INFO: IMEI packet received {"connection_id":126508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":126508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:28:28] local.INFO: TCP Data received {"connection_id":126508,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:28:28] local.INFO: Processing buffer {"connection_id":126508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:28:28] local.INFO: Packet analysis {"connection_id":126508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:28:28] local.INFO: Extracted packet for processing {"connection_id":126508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:28:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554045440001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:28: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-07-07 14:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783414541000,"timestamp_ms":1783414541000,"timestamp_seconds":1783414541,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bca4ac8"} 
[2026-07-07 14:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554045440001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554045440001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:28:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:28:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554045440001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":126508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:28:28] local.INFO: GPS data processed {"connection_id":126508,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:28:28] local.INFO: Acknowledgment sent {"connection_id":126508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:28:53] local.INFO: TCP Data received {"connection_id":125271,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bcb21a0012d9bf7c0056df280000b00ab2a..."} 
[2026-07-07 14:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bcb21a0012d9bf7c0056df280000b00ab2a..."} 
[2026-07-07 14:28:53] local.INFO: Processing buffer {"connection_id":125271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bcb21a0012d9bf7c0056df280000b00ab2a..."} 
[2026-07-07 14:28:53] local.INFO: Packet analysis {"connection_id":125271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bcb"} 
[2026-07-07 14:28:53] local.INFO: Extracted packet for processing {"connection_id":125271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bcb"} 
[2026-07-07 14:28:53] local.INFO: GPS Element Parsed {"raw_longitude":765196224,"raw_latitude":91091584,"longitude_deg":76.5196224,"latitude_deg":9.1091584,"altitude":11,"angle":171,"satellites":42,"speed":23,"hex_longitude":"2d9bf7c0","hex_latitude":"056df280","is_valid_coordinates":true} 
[2026-07-07 14:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554134016001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341394718292180992,"note":"Value kept but may cause issues"} 
[2026-07-07 14:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7209137080191477760,"note":"Value kept but may cause issues"} 
[2026-07-07 14:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783414596000,"timestamp_ms":1783414596000,"timestamp_seconds":1783414596,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bcb21a0"} 
[2026-07-07 14:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:28: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-07-07 14:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 14:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554134016001,"66":27887,"53":206,"84":8448,"24":23,"16":341394718292180992,"45":-7209137080191477760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-07-07 14:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554134016001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:28:53] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-07 14:28:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341394718292180992,"km_value":341394718292181.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7209137080191477760,"description":"Unknown IO ID 45"} 
[2026-07-07 14:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554134016001,"power":27887,"unknown_53":206,"unknown_84":8448,"ignition":23,"odometer":null,"unknown_45":-7209137080191477760}} 
[2026-07-07 14:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":125271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:28:53] local.INFO: GPS data processed {"connection_id":125271,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:28:53] local.INFO: Acknowledgment sent {"connection_id":125271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:28:59] local.INFO: TCP Data received {"connection_id":124548,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:28:59] local.INFO: Processing buffer {"connection_id":124548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:28:59] local.INFO: IMEI packet received {"connection_id":124548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":124548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:29:03] local.INFO: TCP Data received {"connection_id":124548,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:29:03] local.INFO: Processing buffer {"connection_id":124548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:29:03] local.INFO: IMEI packet received {"connection_id":124548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":124548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:29:03] local.INFO: TCP Data received {"connection_id":126508,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:29:03] local.INFO: Processing buffer {"connection_id":126508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:29:03] local.INFO: Packet analysis {"connection_id":126508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:29:03] local.INFO: Extracted packet for processing {"connection_id":126508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554045440001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783414541000,"timestamp_ms":1783414541000,"timestamp_seconds":1783414541,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bca4ac8"} 
[2026-07-07 14:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554045440001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554045440001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:29:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:29:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554045440001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":126508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:29:03] local.INFO: GPS data processed {"connection_id":126508,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:29:03] local.INFO: Acknowledgment sent {"connection_id":126508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:29:04] local.INFO: TCP Data received {"connection_id":124548,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bcb6fc0012d9bfc00056dd3d8000b00a929..."} 
[2026-07-07 14:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bcb6fc0012d9bfc00056dd3d8000b00a929..."} 
[2026-07-07 14:29:04] local.INFO: Processing buffer {"connection_id":124548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bcb6fc0012d9bfc00056dd3d8000b00a929..."} 
[2026-07-07 14:29:04] local.INFO: Packet analysis {"connection_id":124548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bcb"} 
[2026-07-07 14:29:04] local.INFO: Extracted packet for processing {"connection_id":124548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bcb"} 
[2026-07-07 14:29:04] local.INFO: GPS Element Parsed {"raw_longitude":765197312,"raw_latitude":91083736,"longitude_deg":76.5197312,"latitude_deg":9.1083736,"altitude":11,"angle":169,"satellites":41,"speed":26,"hex_longitude":"2d9bfc00","hex_latitude":"056dd3d8","is_valid_coordinates":true} 
[2026-07-07 14:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554136576001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341395104839237632,"note":"Value kept but may cause issues"} 
[2026-07-07 14:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7208081549031211008,"note":"Value kept but may cause issues"} 
[2026-07-07 14:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783414616000,"timestamp_ms":1783414616000,"timestamp_seconds":1783414616,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bcb6fc0"} 
[2026-07-07 14:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 14:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554136576001,"66":27908,"53":206,"84":8448,"24":26,"16":341395104839237632,"45":-7208081549031211008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-07-07 14:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554136576001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:29:04] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-07 14:29:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341395104839237632,"km_value":341395104839237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7208081549031211008,"description":"Unknown IO ID 45"} 
[2026-07-07 14:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554136576001,"power":27908,"unknown_53":206,"unknown_84":8448,"ignition":26,"odometer":null,"unknown_45":-7208081549031211008}} 
[2026-07-07 14:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":124548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:29:04] local.INFO: GPS data processed {"connection_id":124548,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:29:04] local.INFO: Acknowledgment sent {"connection_id":124548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:29:14] local.INFO: TCP Data received {"connection_id":126509,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:29:14] local.INFO: Processing buffer {"connection_id":126509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:29:14] local.INFO: IMEI packet received {"connection_id":126509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 14:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":126509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:29:21] local.INFO: TCP Data received {"connection_id":125272,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:29:21] local.INFO: Processing buffer {"connection_id":125272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:29:21] local.INFO: IMEI packet received {"connection_id":125272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":125272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:29:26] local.INFO: TCP Data received {"connection_id":125272,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:29:26] local.INFO: Processing buffer {"connection_id":125272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:29:26] local.INFO: IMEI packet received {"connection_id":125272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":125272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:29:28] local.INFO: TCP Data received {"connection_id":125272,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:29:28] local.INFO: Processing buffer {"connection_id":125272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:29:28] local.INFO: Packet analysis {"connection_id":125272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:29:28] local.INFO: Extracted packet for processing {"connection_id":125272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:29:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554045440001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:29: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-07-07 14:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783414541000,"timestamp_ms":1783414541000,"timestamp_seconds":1783414541,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bca4ac8"} 
[2026-07-07 14:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554045440001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554045440001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:29:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:29:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554045440001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":125272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:29:28] local.INFO: GPS data processed {"connection_id":125272,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:29:28] local.INFO: Acknowledgment sent {"connection_id":125272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:29:35] local.INFO: TCP Data received {"connection_id":124548,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bcb9ea0012d9c0380056db060000a00a728..."} 
[2026-07-07 14:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bcb9ea0012d9c0380056db060000a00a728..."} 
[2026-07-07 14:29:35] local.INFO: Processing buffer {"connection_id":124548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bcb9ea0012d9c0380056db060000a00a728..."} 
[2026-07-07 14:29:35] local.INFO: Packet analysis {"connection_id":124548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bcb"} 
[2026-07-07 14:29:35] local.INFO: Extracted packet for processing {"connection_id":124548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bcb"} 
[2026-07-07 14:29:35] local.INFO: GPS Element Parsed {"raw_longitude":765199232,"raw_latitude":91074656,"longitude_deg":76.5199232,"latitude_deg":9.1074656,"altitude":10,"angle":167,"satellites":40,"speed":33,"hex_longitude":"2d9c0380","hex_latitude":"056db060","is_valid_coordinates":true} 
[2026-07-07 14: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-07-07 14:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554141696001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341395555810803712,"note":"Value kept but may cause issues"} 
[2026-07-07 14:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7206885280382199808,"note":"Value kept but may cause issues"} 
[2026-07-07 14:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783414628000,"timestamp_ms":1783414628000,"timestamp_seconds":1783414628,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bcb9ea0"} 
[2026-07-07 14:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 14:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14: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-07-07 14:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554141696001,"66":27908,"53":206,"84":8448,"24":33,"16":341395555810803712,"45":-7206885280382199808},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-07-07 14:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554141696001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:29:35] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-07 14:29:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341395555810803712,"km_value":341395555810803.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7206885280382199808,"description":"Unknown IO ID 45"} 
[2026-07-07 14:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554141696001,"power":27908,"unknown_53":206,"unknown_84":8448,"ignition":33,"odometer":null,"unknown_45":-7206885280382199808}} 
[2026-07-07 14:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":124548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:29:35] local.INFO: GPS data processed {"connection_id":124548,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:29:35] local.INFO: Acknowledgment sent {"connection_id":124548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:30:02] local.INFO: TCP Data received {"connection_id":125272,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:30:02] local.INFO: Processing buffer {"connection_id":125272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:30:02] local.INFO: Packet analysis {"connection_id":125272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:30:02] local.INFO: Extracted packet for processing {"connection_id":125272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:30:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14: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-07-07 14:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554045440001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783414541000,"timestamp_ms":1783414541000,"timestamp_seconds":1783414541,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bca4ac8"} 
[2026-07-07 14:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:30: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-07-07 14: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-07-07 14:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554045440001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554045440001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:30:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:30:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554045440001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":125272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:30:02] local.INFO: GPS data processed {"connection_id":125272,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:30:02] local.INFO: Acknowledgment sent {"connection_id":125272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:30:03] local.INFO: TCP Data received {"connection_id":126511,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:30:03] local.INFO: Processing buffer {"connection_id":126511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:30:03] local.INFO: IMEI packet received {"connection_id":126511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":126511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:30:04] local.INFO: TCP Data received {"connection_id":126510,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:30:04] local.INFO: Processing buffer {"connection_id":126510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:30:04] local.INFO: IMEI packet received {"connection_id":126510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 14:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":126510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:30:09] local.INFO: TCP Data received {"connection_id":126511,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:30:09] local.INFO: Processing buffer {"connection_id":126511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:30:09] local.INFO: IMEI packet received {"connection_id":126511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":126511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:30:10] local.INFO: TCP Data received {"connection_id":126511,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bcd4868012d9c9d80056c5270000d009027..."} 
[2026-07-07 14:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bcd4868012d9c9d80056c5270000d009027..."} 
[2026-07-07 14:30:10] local.INFO: Processing buffer {"connection_id":126511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bcd4868012d9c9d80056c5270000d009027..."} 
[2026-07-07 14:30:10] local.INFO: Packet analysis {"connection_id":126511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bcd"} 
[2026-07-07 14:30:10] local.INFO: Extracted packet for processing {"connection_id":126511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bcd"} 
[2026-07-07 14:30:10] local.INFO: GPS Element Parsed {"raw_longitude":765238656,"raw_latitude":90985072,"longitude_deg":76.5238656,"latitude_deg":9.0985072,"altitude":13,"angle":144,"satellites":39,"speed":42,"hex_longitude":"2d9c9d80","hex_latitude":"056c5270","is_valid_coordinates":true} 
[2026-07-07 14:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554170368001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341400348994306048,"note":"Value kept but may cause issues"} 
[2026-07-07 14:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7168041733619527680,"note":"Value kept but may cause issues"} 
[2026-07-07 14:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783414737000,"timestamp_ms":1783414737000,"timestamp_seconds":1783414737,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bcd4868"} 
[2026-07-07 14:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 14:30: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-07-07 14:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554170368001,"66":27908,"51":206,"84":8448,"24":42,"16":341400348994306048,"45":-7168041733619527680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-07-07 14:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554170368001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:30:10] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-07 14:30:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341400348994306048,"km_value":341400348994306.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7168041733619527680,"description":"Unknown IO ID 45"} 
[2026-07-07 14:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554170368001,"power":27908,"unknown_51":206,"unknown_84":8448,"ignition":42,"odometer":null,"unknown_45":-7168041733619527680}} 
[2026-07-07 14:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":126511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:30:10] local.INFO: GPS data processed {"connection_id":126511,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:30:10] local.INFO: Acknowledgment sent {"connection_id":126511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:30:21] local.INFO: TCP Data received {"connection_id":125273,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:30:21] local.INFO: Processing buffer {"connection_id":125273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:30:21] local.INFO: IMEI packet received {"connection_id":125273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":125273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:30:26] local.INFO: TCP Data received {"connection_id":125273,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:30:26] local.INFO: Processing buffer {"connection_id":125273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:30:26] local.INFO: IMEI packet received {"connection_id":125273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":125273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:30:28] local.INFO: TCP Data received {"connection_id":125273,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:30:28] local.INFO: Processing buffer {"connection_id":125273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:30:28] local.INFO: Packet analysis {"connection_id":125273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:30:28] local.INFO: Extracted packet for processing {"connection_id":125273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554045440001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:30: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-07-07 14:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783414541000,"timestamp_ms":1783414541000,"timestamp_seconds":1783414541,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bca4ac8"} 
[2026-07-07 14:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554045440001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554045440001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:30:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:30:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554045440001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":125273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:30:28] local.INFO: GPS data processed {"connection_id":125273,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:30:28] local.INFO: Acknowledgment sent {"connection_id":125273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:30:41] local.INFO: TCP Data received {"connection_id":126511,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bcd6b90012d9cb200056c3218000d009727..."} 
[2026-07-07 14:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bcd6b90012d9cb200056c3218000d009727..."} 
[2026-07-07 14:30:41] local.INFO: Processing buffer {"connection_id":126511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bcd6b90012d9cb200056c3218000d009727..."} 
[2026-07-07 14:30:41] local.INFO: Packet analysis {"connection_id":126511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bcd"} 
[2026-07-07 14:30:41] local.INFO: Extracted packet for processing {"connection_id":126511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bcd"} 
[2026-07-07 14:30:41] local.INFO: GPS Element Parsed {"raw_longitude":765243904,"raw_latitude":90976792,"longitude_deg":76.5243904,"latitude_deg":9.0976792,"altitude":13,"angle":151,"satellites":39,"speed":43,"hex_longitude":"2d9cb200","hex_latitude":"056c3218","is_valid_coordinates":true} 
[2026-07-07 14:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554172672001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341400821440708608,"note":"Value kept but may cause issues"} 
[2026-07-07 14:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7161427071668686848,"note":"Value kept but may cause issues"} 
[2026-07-07 14:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783414746000,"timestamp_ms":1783414746000,"timestamp_seconds":1783414746,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bcd6b90"} 
[2026-07-07 14:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14: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-07-07 14:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 14:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554172672001,"66":27832,"51":206,"84":8448,"24":43,"16":341400821440708608,"45":-7161427071668686848},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-07-07 14:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554172672001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:30:41] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-07 14:30:41] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341400821440708608,"km_value":341400821440708.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7161427071668686848,"description":"Unknown IO ID 45"} 
[2026-07-07 14:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554172672001,"power":27832,"unknown_51":206,"unknown_84":8448,"ignition":43,"odometer":null,"unknown_45":-7161427071668686848}} 
[2026-07-07 14:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":126511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:30:41] local.INFO: GPS data processed {"connection_id":126511,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:30:41] local.INFO: Acknowledgment sent {"connection_id":126511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:30:58] local.INFO: TCP Data received {"connection_id":124452,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:30:58] local.INFO: Processing buffer {"connection_id":124452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:30:58] local.INFO: IMEI packet received {"connection_id":124452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":124452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:31:00] local.INFO: TCP Data received {"connection_id":125273,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:31:00] local.INFO: Processing buffer {"connection_id":125273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bca4ac8012d196940071fec580032006725..."} 
[2026-07-07 14:31:00] local.INFO: Packet analysis {"connection_id":125273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:31:00] local.INFO: Extracted packet for processing {"connection_id":125273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bca"} 
[2026-07-07 14:31:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554045440001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:31: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-07-07 14:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783414541000,"timestamp_ms":1783414541000,"timestamp_seconds":1783414541,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bca4ac8"} 
[2026-07-07 14:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554045440001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554045440001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:31:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:31:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554045440001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":125273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:31:01] local.INFO: GPS data processed {"connection_id":125273,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:31:01] local.INFO: Acknowledgment sent {"connection_id":125273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:31:01] local.INFO: TCP Data received {"connection_id":124452,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:31:01] local.INFO: Processing buffer {"connection_id":124452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:31:01] local.INFO: IMEI packet received {"connection_id":124452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":124452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:31:04] local.INFO: TCP Data received {"connection_id":124452,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:31:04] local.INFO: Processing buffer {"connection_id":124452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:31:04] local.INFO: IMEI packet received {"connection_id":124452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":124452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:31:05] local.INFO: TCP Data received {"connection_id":124452,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bcd8eb8012d9cc340056c10e0000d009829..."} 
[2026-07-07 14:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bcd8eb8012d9cc340056c10e0000d009829..."} 
[2026-07-07 14:31:05] local.INFO: Processing buffer {"connection_id":124452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bcd8eb8012d9cc340056c10e0000d009829..."} 
[2026-07-07 14:31:05] local.INFO: Packet analysis {"connection_id":124452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bcd"} 
[2026-07-07 14:31:05] local.INFO: Extracted packet for processing {"connection_id":124452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bcd"} 
[2026-07-07 14:31:05] local.INFO: GPS Element Parsed {"raw_longitude":765248320,"raw_latitude":90968288,"longitude_deg":76.524832,"latitude_deg":9.0968288,"altitude":13,"angle":152,"satellites":41,"speed":37,"hex_longitude":"2d9cc340","hex_latitude":"056c10e0","is_valid_coordinates":true} 
[2026-07-07 14:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554174976001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341401285297176576,"note":"Value kept but may cause issues"} 
[2026-07-07 14:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7155656834648238080,"note":"Value kept but may cause issues"} 
[2026-07-07 14:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783414755000,"timestamp_ms":1783414755000,"timestamp_seconds":1783414755,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bcd8eb8"} 
[2026-07-07 14:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 14:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554174976001,"66":27974,"51":206,"84":8448,"24":37,"16":341401285297176576,"45":-7155656834648238080},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-07-07 14:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554174976001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:31:05] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-07 14:31:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341401285297176576,"km_value":341401285297176.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7155656834648238080,"description":"Unknown IO ID 45"} 
[2026-07-07 14:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554174976001,"power":27974,"unknown_51":206,"unknown_84":8448,"ignition":37,"odometer":null,"unknown_45":-7155656834648238080}} 
[2026-07-07 14:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":124452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:31:05] local.INFO: GPS data processed {"connection_id":124452,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:31:05] local.INFO: Acknowledgment sent {"connection_id":124452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:31:26] local.INFO: TCP Data received {"connection_id":126513,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:31:26] local.INFO: Processing buffer {"connection_id":126513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:31:26] local.INFO: IMEI packet received {"connection_id":126513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":126513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:31:31] local.INFO: TCP Data received {"connection_id":126513,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:31:31] local.INFO: Processing buffer {"connection_id":126513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:31:31] local.INFO: IMEI packet received {"connection_id":126513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":126513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:31:33] local.INFO: TCP Data received {"connection_id":126513,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:31:33] local.INFO: Processing buffer {"connection_id":126513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:31:33] local.INFO: Packet analysis {"connection_id":126513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bce"} 
[2026-07-07 14:31:33] local.INFO: Extracted packet for processing {"connection_id":126513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bce"} 
[2026-07-07 14:31:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14: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-07-07 14:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554122496001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783414842000,"timestamp_ms":1783414842000,"timestamp_seconds":1783414842,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bcee290"} 
[2026-07-07 14:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14: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-07-07 14:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554122496001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554122496001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:31:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:31:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554122496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":126513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:31:33] local.INFO: GPS data processed {"connection_id":126513,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:31:33] local.INFO: Acknowledgment sent {"connection_id":126513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:31:36] local.INFO: TCP Data received {"connection_id":124452,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bced2f0012d9d4540056ac1c0000f009e2a..."} 
[2026-07-07 14:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bced2f0012d9d4540056ac1c0000f009e2a..."} 
[2026-07-07 14:31:36] local.INFO: Processing buffer {"connection_id":124452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bced2f0012d9d4540056ac1c0000f009e2a..."} 
[2026-07-07 14:31:36] local.INFO: Packet analysis {"connection_id":124452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bce"} 
[2026-07-07 14:31:36] local.INFO: Extracted packet for processing {"connection_id":124452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bce"} 
[2026-07-07 14:31:36] local.INFO: GPS Element Parsed {"raw_longitude":765281600,"raw_latitude":90882496,"longitude_deg":76.52816,"latitude_deg":9.0882496,"altitude":15,"angle":158,"satellites":42,"speed":56,"hex_longitude":"2d9d4540","hex_latitude":"056ac1c0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 14:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554196736001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341405747768197120,"note":"Value kept but may cause issues"} 
[2026-07-07 14:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7118291031511676928,"note":"Value kept but may cause issues"} 
[2026-07-07 14:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783414838000,"timestamp_ms":1783414838000,"timestamp_seconds":1783414838,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bced2f0"} 
[2026-07-07 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-07-07 14:31: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-07-07 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 14:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 14:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554196736001,"66":27930,"193":206,"84":8448,"24":56,"16":341405747768197120,"45":-7118291031511676928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,84,24,16,45]} 
[2026-07-07 14:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554196736001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:31:36] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-07 14:31:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341405747768197120,"km_value":341405747768197.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7118291031511676928,"description":"Unknown IO ID 45"} 
[2026-07-07 14:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554196736001,"power":27930,"unknown_193":206,"unknown_84":8448,"ignition":56,"odometer":null,"unknown_45":-7118291031511676928}} 
[2026-07-07 14:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":124452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:31:36] local.INFO: GPS data processed {"connection_id":124452,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:31:36] local.INFO: Acknowledgment sent {"connection_id":124452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:31:38] local.INFO: TCP Data received {"connection_id":126513,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:31:38] local.INFO: Processing buffer {"connection_id":126513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:31:38] local.INFO: Packet analysis {"connection_id":126513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bce"} 
[2026-07-07 14:31:38] local.INFO: Extracted packet for processing {"connection_id":126513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bce"} 
[2026-07-07 14:31:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14: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-07-07 14:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554122496001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783414842000,"timestamp_ms":1783414842000,"timestamp_seconds":1783414842,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bcee290"} 
[2026-07-07 14:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14: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-07-07 14:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554122496001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554122496001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:31:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:31:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554122496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":126513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:31:38] local.INFO: GPS data processed {"connection_id":126513,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:31:38] local.INFO: Acknowledgment sent {"connection_id":126513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:31:58] local.INFO: TCP Data received {"connection_id":125274,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:31:58] local.INFO: Processing buffer {"connection_id":125274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:31:58] local.INFO: IMEI packet received {"connection_id":125274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":125274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:32:02] local.INFO: TCP Data received {"connection_id":125274,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:32:02] local.INFO: Processing buffer {"connection_id":125274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:32:02] local.INFO: IMEI packet received {"connection_id":125274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":125274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:32:03] local.INFO: TCP Data received {"connection_id":125274,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:32:03] local.INFO: Processing buffer {"connection_id":125274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:32:03] local.INFO: IMEI packet received {"connection_id":125274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":125274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:32:04] local.INFO: TCP Data received {"connection_id":125274,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bceee48012d9d5380056a9cf0000f009f29..."} 
[2026-07-07 14:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bceee48012d9d5380056a9cf0000f009f29..."} 
[2026-07-07 14:32:04] local.INFO: Processing buffer {"connection_id":125274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bceee48012d9d5380056a9cf0000f009f29..."} 
[2026-07-07 14:32:04] local.INFO: Packet analysis {"connection_id":125274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bce"} 
[2026-07-07 14:32:04] local.INFO: Extracted packet for processing {"connection_id":125274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bce"} 
[2026-07-07 14:32:04] local.INFO: GPS Element Parsed {"raw_longitude":765285248,"raw_latitude":90873072,"longitude_deg":76.5285248,"latitude_deg":9.0873072,"altitude":15,"angle":159,"satellites":41,"speed":57,"hex_longitude":"2d9d5380","hex_latitude":"056a9cf0","is_valid_coordinates":true} 
[2026-07-07 14:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554198528001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341406237394468864,"note":"Value kept but may cause issues"} 
[2026-07-07 14:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7114209644351733760,"note":"Value kept but may cause issues"} 
[2026-07-07 14:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783414845000,"timestamp_ms":1783414845000,"timestamp_seconds":1783414845,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bceee48"} 
[2026-07-07 14:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 14:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554198528001,"66":27876,"193":206,"84":8448,"24":57,"16":341406237394468864,"45":-7114209644351733760},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,84,24,16,45]} 
[2026-07-07 14:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554198528001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:32:04] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-07 14:32:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341406237394468864,"km_value":341406237394468.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7114209644351733760,"description":"Unknown IO ID 45"} 
[2026-07-07 14:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554198528001,"power":27876,"unknown_193":206,"unknown_84":8448,"ignition":57,"odometer":null,"unknown_45":-7114209644351733760}} 
[2026-07-07 14:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":125274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:32:04] local.INFO: GPS data processed {"connection_id":125274,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:32:04] local.INFO: Acknowledgment sent {"connection_id":125274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:32:21] local.INFO: TCP Data received {"connection_id":124550,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:32:21] local.INFO: Processing buffer {"connection_id":124550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:32:21] local.INFO: IMEI packet received {"connection_id":124550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":124550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:32:26] local.INFO: TCP Data received {"connection_id":124550,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:32:26] local.INFO: Processing buffer {"connection_id":124550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:32:26] local.INFO: IMEI packet received {"connection_id":124550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":124550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:32:30] local.INFO: TCP Data received {"connection_id":124550,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:32:30] local.INFO: Processing buffer {"connection_id":124550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:32:30] local.INFO: Packet analysis {"connection_id":124550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bce"} 
[2026-07-07 14:32:30] local.INFO: Extracted packet for processing {"connection_id":124550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bce"} 
[2026-07-07 14:32:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554122496001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:32: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-07-07 14:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783414842000,"timestamp_ms":1783414842000,"timestamp_seconds":1783414842,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bcee290"} 
[2026-07-07 14:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554122496001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554122496001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:32:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:32:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554122496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":124550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:32:30] local.INFO: GPS data processed {"connection_id":124550,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:32:30] local.INFO: Acknowledgment sent {"connection_id":124550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:32:35] local.INFO: TCP Data received {"connection_id":125274,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bcf09a0012d9d6240056a7858000f009d29..."} 
[2026-07-07 14:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bcf09a0012d9d6240056a7858000f009d29..."} 
[2026-07-07 14:32:35] local.INFO: Processing buffer {"connection_id":125274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bcf09a0012d9d6240056a7858000f009d29..."} 
[2026-07-07 14:32:35] local.INFO: Packet analysis {"connection_id":125274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bcf"} 
[2026-07-07 14:32:35] local.INFO: Extracted packet for processing {"connection_id":125274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bcf"} 
[2026-07-07 14:32:35] local.INFO: GPS Element Parsed {"raw_longitude":765289024,"raw_latitude":90863704,"longitude_deg":76.5289024,"latitude_deg":9.0863704,"altitude":15,"angle":157,"satellites":41,"speed":57,"hex_longitude":"2d9d6240","hex_latitude":"056a7858","is_valid_coordinates":true} 
[2026-07-07 14:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554200320001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341406727020740608,"note":"Value kept but may cause issues"} 
[2026-07-07 14:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7110198625936019456,"note":"Value kept but may cause issues"} 
[2026-07-07 14:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783414852000,"timestamp_ms":1783414852000,"timestamp_seconds":1783414852,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bcf09a0"} 
[2026-07-07 14:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:32: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-07-07 14:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 14:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554200320001,"66":27800,"193":206,"84":8448,"24":57,"16":341406727020740608,"45":-7110198625936019456},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,84,24,16,45]} 
[2026-07-07 14:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554200320001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:32:35] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-07 14:32:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341406727020740608,"km_value":341406727020740.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7110198625936019456,"description":"Unknown IO ID 45"} 
[2026-07-07 14:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554200320001,"power":27800,"unknown_193":206,"unknown_84":8448,"ignition":57,"odometer":null,"unknown_45":-7110198625936019456}} 
[2026-07-07 14:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":125274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:32:35] local.INFO: GPS data processed {"connection_id":125274,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:32:35] local.INFO: Acknowledgment sent {"connection_id":125274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:33:02] local.INFO: TCP Data received {"connection_id":126514,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:33:02] local.INFO: Processing buffer {"connection_id":126514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:33:02] local.INFO: IMEI packet received {"connection_id":126514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":126514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:33:03] local.INFO: TCP Data received {"connection_id":126514,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:33:03] local.INFO: Processing buffer {"connection_id":126514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:33:03] local.INFO: IMEI packet received {"connection_id":126514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":126514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:33:08] local.INFO: TCP Data received {"connection_id":126514,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:33:08] local.INFO: Processing buffer {"connection_id":126514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:33:08] local.INFO: IMEI packet received {"connection_id":126514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":126514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:33:09] local.INFO: TCP Data received {"connection_id":126514,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bcf28e0012d9d70c0056a5540000f009d29..."} 
[2026-07-07 14:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bcf28e0012d9d70c0056a5540000f009d29..."} 
[2026-07-07 14:33:09] local.INFO: Processing buffer {"connection_id":126514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bcf28e0012d9d70c0056a5540000f009d29..."} 
[2026-07-07 14:33:09] local.INFO: Packet analysis {"connection_id":126514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bcf"} 
[2026-07-07 14:33:09] local.INFO: Extracted packet for processing {"connection_id":126514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bcf"} 
[2026-07-07 14:33:09] local.INFO: GPS Element Parsed {"raw_longitude":765292736,"raw_latitude":90854720,"longitude_deg":76.5292736,"latitude_deg":9.085472,"altitude":15,"angle":157,"satellites":41,"speed":37,"hex_longitude":"2d9d70c0","hex_latitude":"056a5540","is_valid_coordinates":true} 
[2026-07-07 14:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554202112001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341407199467143168,"note":"Value kept but may cause issues"} 
[2026-07-07 14:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7106046870031935488,"note":"Value kept but may cause issues"} 
[2026-07-07 14:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783414860000,"timestamp_ms":1783414860000,"timestamp_seconds":1783414860,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bcf28e0"} 
[2026-07-07 14:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:33: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-07-07 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 14:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554202112001,"66":27876,"193":206,"84":8448,"24":37,"16":341407199467143168,"45":-7106046870031935488},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,84,24,16,45]} 
[2026-07-07 14:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554202112001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:33:09] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-07 14:33:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341407199467143168,"km_value":341407199467143.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7106046870031935488,"description":"Unknown IO ID 45"} 
[2026-07-07 14:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554202112001,"power":27876,"unknown_193":206,"unknown_84":8448,"ignition":37,"odometer":null,"unknown_45":-7106046870031935488}} 
[2026-07-07 14:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":126514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:33:09] local.INFO: GPS data processed {"connection_id":126514,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:33:09] local.INFO: Acknowledgment sent {"connection_id":126514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:33:21] local.INFO: TCP Data received {"connection_id":126515,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:33:21] local.INFO: Processing buffer {"connection_id":126515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:33:21] local.INFO: IMEI packet received {"connection_id":126515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":126515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:33:26] local.INFO: TCP Data received {"connection_id":126515,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:33:26] local.INFO: Processing buffer {"connection_id":126515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:33:26] local.INFO: IMEI packet received {"connection_id":126515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":126515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:33:28] local.INFO: TCP Data received {"connection_id":126515,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:33:28] local.INFO: Processing buffer {"connection_id":126515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:33:28] local.INFO: Packet analysis {"connection_id":126515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bce"} 
[2026-07-07 14:33:28] local.INFO: Extracted packet for processing {"connection_id":126515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bce"} 
[2026-07-07 14:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554122496001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:33: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-07-07 14:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783414842000,"timestamp_ms":1783414842000,"timestamp_seconds":1783414842,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bcee290"} 
[2026-07-07 14:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554122496001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554122496001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:33:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:33:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554122496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":126515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:33:28] local.INFO: GPS data processed {"connection_id":126515,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:33:28] local.INFO: Acknowledgment sent {"connection_id":126515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:33:41] local.INFO: TCP Data received {"connection_id":126514,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bcf4c08012d9d8180056a3590000f009a2a..."} 
[2026-07-07 14:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bcf4c08012d9d8180056a3590000f009a2a..."} 
[2026-07-07 14:33:41] local.INFO: Processing buffer {"connection_id":126514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bcf4c08012d9d8180056a3590000f009a2a..."} 
[2026-07-07 14:33:41] local.INFO: Packet analysis {"connection_id":126514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bcf"} 
[2026-07-07 14:33:41] local.INFO: Extracted packet for processing {"connection_id":126514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bcf"} 
[2026-07-07 14:33:41] local.INFO: GPS Element Parsed {"raw_longitude":765297024,"raw_latitude":90846608,"longitude_deg":76.5297024,"latitude_deg":9.0846608,"altitude":15,"angle":154,"satellites":42,"speed":43,"hex_longitude":"2d9d8180","hex_latitude":"056a3590","is_valid_coordinates":true} 
[2026-07-07 14:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554204160001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341407641848774656,"note":"Value kept but may cause issues"} 
[2026-07-07 14:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7101965482871930880,"note":"Value kept but may cause issues"} 
[2026-07-07 14:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783414869000,"timestamp_ms":1783414869000,"timestamp_seconds":1783414869,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bcf4c08"} 
[2026-07-07 14:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:33: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-07-07 14:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 14:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554204160001,"66":27919,"193":206,"84":8448,"24":43,"16":341407641848774656,"45":-7101965482871930880},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,84,24,16,45]} 
[2026-07-07 14:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554204160001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:33:41] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-07 14:33:41] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341407641848774656,"km_value":341407641848774.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7101965482871930880,"description":"Unknown IO ID 45"} 
[2026-07-07 14:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554204160001,"power":27919,"unknown_193":206,"unknown_84":8448,"ignition":43,"odometer":null,"unknown_45":-7101965482871930880}} 
[2026-07-07 14:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":126514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:33:41] local.INFO: GPS data processed {"connection_id":126514,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:33:41] local.INFO: Acknowledgment sent {"connection_id":126514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:33:59] local.INFO: TCP Data received {"connection_id":124453,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:33:59] local.INFO: Processing buffer {"connection_id":124453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:33:59] local.INFO: IMEI packet received {"connection_id":124453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":124453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:34:00] local.INFO: TCP Data received {"connection_id":126515,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:34:00] local.INFO: Processing buffer {"connection_id":126515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:34:00] local.INFO: Packet analysis {"connection_id":126515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bce"} 
[2026-07-07 14:34:00] local.INFO: Extracted packet for processing {"connection_id":126515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bce"} 
[2026-07-07 14:34:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14: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-07-07 14:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554122496001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:34: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-07-07 14:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783414842000,"timestamp_ms":1783414842000,"timestamp_seconds":1783414842,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bcee290"} 
[2026-07-07 14:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14: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-07-07 14:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554122496001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554122496001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:34:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:34:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554122496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":126515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:34:00] local.INFO: GPS data processed {"connection_id":126515,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:34:00] local.INFO: Acknowledgment sent {"connection_id":126515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:34:04] local.INFO: TCP Data received {"connection_id":124453,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:34:04] local.INFO: Processing buffer {"connection_id":124453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:34:04] local.INFO: IMEI packet received {"connection_id":124453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":124453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:34:05] local.INFO: TCP Data received {"connection_id":124453,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd0f1e8012d9dffc00568dae8000e009328..."} 
[2026-07-07 14:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd0f1e8012d9dffc00568dae8000e009328..."} 
[2026-07-07 14:34:05] local.INFO: Processing buffer {"connection_id":124453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd0f1e8012d9dffc00568dae8000e009328..."} 
[2026-07-07 14:34:05] local.INFO: Packet analysis {"connection_id":124453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd0"} 
[2026-07-07 14:34:05] local.INFO: Extracted packet for processing {"connection_id":124453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd0"} 
[2026-07-07 14:34:05] local.INFO: GPS Element Parsed {"raw_longitude":765329344,"raw_latitude":90757864,"longitude_deg":76.5329344,"latitude_deg":9.0757864,"altitude":14,"angle":147,"satellites":40,"speed":38,"hex_longitude":"2d9dffc0","hex_latitude":"0568dae8","is_valid_coordinates":true} 
[2026-07-07 14:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554231296001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341412233168814080,"note":"Value kept but may cause issues"} 
[2026-07-07 14:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7066992217038336000,"note":"Value kept but may cause issues"} 
[2026-07-07 14:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783414977000,"timestamp_ms":1783414977000,"timestamp_seconds":1783414977,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd0f1e8"} 
[2026-07-07 14:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 14:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554231296001,"66":27865,"128":206,"84":8448,"24":38,"16":341412233168814080,"45":-7066992217038336000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,84,24,16,45]} 
[2026-07-07 14:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554231296001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:34:05] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-07-07 14:34:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341412233168814080,"km_value":341412233168814.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7066992217038336000,"description":"Unknown IO ID 45"} 
[2026-07-07 14:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554231296001,"power":27865,"unknown_128":206,"unknown_84":8448,"ignition":38,"odometer":null,"unknown_45":-7066992217038336000}} 
[2026-07-07 14:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":124453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:34:05] local.INFO: GPS data processed {"connection_id":124453,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:34:05] local.INFO: Acknowledgment sent {"connection_id":124453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:34:21] local.INFO: TCP Data received {"connection_id":125275,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:34:21] local.INFO: Processing buffer {"connection_id":125275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:34:21] local.INFO: IMEI packet received {"connection_id":125275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":125275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:34:30] local.INFO: TCP Data received {"connection_id":125275,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:34:30] local.INFO: Processing buffer {"connection_id":125275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:34:30] local.INFO: IMEI packet received {"connection_id":125275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":125275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:34:37] local.INFO: TCP Data received {"connection_id":125275,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:34:37] local.INFO: Processing buffer {"connection_id":125275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:34:37] local.INFO: Packet analysis {"connection_id":125275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bce"} 
[2026-07-07 14:34:37] local.INFO: Extracted packet for processing {"connection_id":125275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bce"} 
[2026-07-07 14:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554122496001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783414842000,"timestamp_ms":1783414842000,"timestamp_seconds":1783414842,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bcee290"} 
[2026-07-07 14:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554122496001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554122496001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:34:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:34:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554122496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":125275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:34:37] local.INFO: GPS data processed {"connection_id":125275,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:34:37] local.INFO: Acknowledgment sent {"connection_id":125275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:34:41] local.INFO: TCP Data received {"connection_id":124453,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd118f8012d9e12800568bca8000d009829..."} 
[2026-07-07 14:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd118f8012d9e12800568bca8000d009829..."} 
[2026-07-07 14:34:41] local.INFO: Processing buffer {"connection_id":124453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd118f8012d9e12800568bca8000d009829..."} 
[2026-07-07 14:34:41] local.INFO: Packet analysis {"connection_id":124453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd1"} 
[2026-07-07 14:34:41] local.INFO: Extracted packet for processing {"connection_id":124453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd1"} 
[2026-07-07 14:34:41] local.INFO: GPS Element Parsed {"raw_longitude":765334144,"raw_latitude":90750120,"longitude_deg":76.5334144,"latitude_deg":9.075012,"altitude":13,"angle":152,"satellites":41,"speed":34,"hex_longitude":"2d9e1280","hex_latitude":"0568bca8","is_valid_coordinates":true} 
[2026-07-07 14:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554234112001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341412671255478272,"note":"Value kept but may cause issues"} 
[2026-07-07 14:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7061714561227102208,"note":"Value kept but may cause issues"} 
[2026-07-07 14:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783414987000,"timestamp_ms":1783414987000,"timestamp_seconds":1783414987,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd118f8"} 
[2026-07-07 14:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:34: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-07-07 14:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 14: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-07-07 14:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554234112001,"66":27908,"128":206,"84":8448,"24":34,"16":341412671255478272,"45":-7061714561227102208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,84,24,16,45]} 
[2026-07-07 14:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554234112001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:34:41] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-07-07 14:34:41] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341412671255478272,"km_value":341412671255478.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7061714561227102208,"description":"Unknown IO ID 45"} 
[2026-07-07 14:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554234112001,"power":27908,"unknown_128":206,"unknown_84":8448,"ignition":34,"odometer":null,"unknown_45":-7061714561227102208}} 
[2026-07-07 14:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":124453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:34:41] local.INFO: GPS data processed {"connection_id":124453,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:34:41] local.INFO: Acknowledgment sent {"connection_id":124453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:34:59] local.INFO: TCP Data received {"connection_id":124455,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:34:59] local.INFO: Processing buffer {"connection_id":124455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:34:59] local.INFO: IMEI packet received {"connection_id":124455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":124455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:34:59] local.INFO: TCP Data received {"connection_id":124455,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:34:59] local.INFO: Processing buffer {"connection_id":124455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:34:59] local.INFO: IMEI packet received {"connection_id":124455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":124455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:35:04] local.INFO: TCP Data received {"connection_id":124455,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:35:04] local.INFO: Processing buffer {"connection_id":124455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:35:04] local.INFO: IMEI packet received {"connection_id":124455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":124455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:35:05] local.INFO: TCP Data received {"connection_id":124455,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd14bc0012d9e218005689ac0000e00a128..."} 
[2026-07-07 14:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd14bc0012d9e218005689ac0000e00a128..."} 
[2026-07-07 14:35:05] local.INFO: Processing buffer {"connection_id":124455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd14bc0012d9e218005689ac0000e00a128..."} 
[2026-07-07 14:35:05] local.INFO: Packet analysis {"connection_id":124455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd1"} 
[2026-07-07 14:35:05] local.INFO: Extracted packet for processing {"connection_id":124455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd1"} 
[2026-07-07 14:35:05] local.INFO: GPS Element Parsed {"raw_longitude":765337984,"raw_latitude":90741440,"longitude_deg":76.5337984,"latitude_deg":9.074144,"altitude":14,"angle":161,"satellites":40,"speed":26,"hex_longitude":"2d9e2180","hex_latitude":"05689ac0","is_valid_coordinates":true} 
[2026-07-07 14:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554236672001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341413130816978944,"note":"Value kept but may cause issues"} 
[2026-07-07 14:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7056436905415759872,"note":"Value kept but may cause issues"} 
[2026-07-07 14:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783415000000,"timestamp_ms":1783415000000,"timestamp_seconds":1783415000,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd14bc0"} 
[2026-07-07 14:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 14:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554236672001,"66":27908,"128":206,"84":8448,"24":26,"16":341413130816978944,"45":-7056436905415759872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,84,24,16,45]} 
[2026-07-07 14:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554236672001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:35:05] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-07-07 14:35:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341413130816978944,"km_value":341413130816978.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7056436905415759872,"description":"Unknown IO ID 45"} 
[2026-07-07 14:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554236672001,"power":27908,"unknown_128":206,"unknown_84":8448,"ignition":26,"odometer":null,"unknown_45":-7056436905415759872}} 
[2026-07-07 14:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":124455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:35:05] local.INFO: GPS data processed {"connection_id":124455,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:35:05] local.INFO: Acknowledgment sent {"connection_id":124455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:35:21] local.INFO: TCP Data received {"connection_id":126516,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:35:21] local.INFO: Processing buffer {"connection_id":126516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:35:21] local.INFO: IMEI packet received {"connection_id":126516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":126516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:35:25] local.INFO: TCP Data received {"connection_id":124456,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:35:25] local.INFO: Processing buffer {"connection_id":124456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:35:25] local.INFO: IMEI packet received {"connection_id":124456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 14:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":124456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:35:26] local.INFO: TCP Data received {"connection_id":126516,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:35:26] local.INFO: Processing buffer {"connection_id":126516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:35:26] local.INFO: IMEI packet received {"connection_id":126516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":126516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:35:27] local.INFO: TCP Data received {"connection_id":126516,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:35:27] local.INFO: Processing buffer {"connection_id":126516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:35:27] local.INFO: Packet analysis {"connection_id":126516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bce"} 
[2026-07-07 14:35:27] local.INFO: Extracted packet for processing {"connection_id":126516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bce"} 
[2026-07-07 14:35:27] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554122496001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:35: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-07-07 14:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783414842000,"timestamp_ms":1783414842000,"timestamp_seconds":1783414842,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bcee290"} 
[2026-07-07 14:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":126516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":126516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":126516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554122496001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554122496001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:35:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:35:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554122496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":126516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:35:27] local.INFO: GPS data processed {"connection_id":126516,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:35:27] local.INFO: Acknowledgment sent {"connection_id":126516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:35:36] local.INFO: TCP Data received {"connection_id":124455,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd17aa0012d9e2a4005687920000d00a527..."} 
[2026-07-07 14:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd17aa0012d9e2a4005687920000d00a527..."} 
[2026-07-07 14:35:36] local.INFO: Processing buffer {"connection_id":124455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd17aa0012d9e2a4005687920000d00a527..."} 
[2026-07-07 14:35:36] local.INFO: Packet analysis {"connection_id":124455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd1"} 
[2026-07-07 14:35:36] local.INFO: Extracted packet for processing {"connection_id":124455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd1"} 
[2026-07-07 14:35:36] local.INFO: GPS Element Parsed {"raw_longitude":765340224,"raw_latitude":90732832,"longitude_deg":76.5340224,"latitude_deg":9.0732832,"altitude":13,"angle":165,"satellites":39,"speed":35,"hex_longitude":"2d9e2a40","hex_latitude":"05687920","is_valid_coordinates":true} 
[2026-07-07 14:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554240000001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341413564608675840,"note":"Value kept but may cause issues"} 
[2026-07-07 14:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7052214780767322112,"note":"Value kept but may cause issues"} 
[2026-07-07 14:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783415012000,"timestamp_ms":1783415012000,"timestamp_seconds":1783415012,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd17aa0"} 
[2026-07-07 14:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:35: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-07-07 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 14:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554240000001,"66":27104,"128":206,"84":8448,"24":35,"16":341413564608675840,"45":-7052214780767322112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,84,24,16,45]} 
[2026-07-07 14:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554240000001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:35:36] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-07-07 14:35:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341413564608675840,"km_value":341413564608675.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7052214780767322112,"description":"Unknown IO ID 45"} 
[2026-07-07 14:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554240000001,"power":27104,"unknown_128":206,"unknown_84":8448,"ignition":35,"odometer":null,"unknown_45":-7052214780767322112}} 
[2026-07-07 14:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":124455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:35:36] local.INFO: GPS data processed {"connection_id":124455,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:35:36] local.INFO: Acknowledgment sent {"connection_id":124455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:35:58] local.INFO: TCP Data received {"connection_id":125276,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:35:58] local.INFO: Processing buffer {"connection_id":125276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:35:58] local.INFO: IMEI packet received {"connection_id":125276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":125276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:35:59] local.INFO: TCP Data received {"connection_id":124457,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:35:59] local.INFO: Processing buffer {"connection_id":124457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:35:59] local.INFO: IMEI packet received {"connection_id":124457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 14:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":124457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:36:01] local.INFO: TCP Data received {"connection_id":126516,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:36:01] local.INFO: Processing buffer {"connection_id":126516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bcee290012d196940071fec580032006722..."} 
[2026-07-07 14:36:01] local.INFO: Packet analysis {"connection_id":126516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bce"} 
[2026-07-07 14:36:01] local.INFO: Extracted packet for processing {"connection_id":126516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bce"} 
[2026-07-07 14:36:01] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554122496001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:36: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-07-07 14:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783414842000,"timestamp_ms":1783414842000,"timestamp_seconds":1783414842,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bcee290"} 
[2026-07-07 14:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:36: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554122496001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554122496001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:36:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:36:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554122496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":126516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:36:01] local.INFO: GPS data processed {"connection_id":126516,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:36:01] local.INFO: Acknowledgment sent {"connection_id":126516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:36:03] local.INFO: TCP Data received {"connection_id":125276,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:36:03] local.INFO: Processing buffer {"connection_id":125276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:36:03] local.INFO: IMEI packet received {"connection_id":125276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":125276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:36:04] local.INFO: TCP Data received {"connection_id":125276,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd2f970012d9e4ec00566fb18000b00be27..."} 
[2026-07-07 14:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd2f970012d9e4ec00566fb18000b00be27..."} 
[2026-07-07 14:36:04] local.INFO: Processing buffer {"connection_id":125276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd2f970012d9e4ec00566fb18000b00be27..."} 
[2026-07-07 14:36:04] local.INFO: Packet analysis {"connection_id":125276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd2"} 
[2026-07-07 14:36:04] local.INFO: Extracted packet for processing {"connection_id":125276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd2"} 
[2026-07-07 14:36:04] local.INFO: GPS Element Parsed {"raw_longitude":765349568,"raw_latitude":90635032,"longitude_deg":76.5349568,"latitude_deg":9.0635032,"altitude":11,"angle":190,"satellites":39,"speed":21,"hex_longitude":"2d9e4ec0","hex_latitude":"0566fb18","is_valid_coordinates":true} 
[2026-07-07 14:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554266112001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341418340612308992,"note":"Value kept but may cause issues"} 
[2026-07-07 14:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7040111356794437632,"note":"Value kept but may cause issues"} 
[2026-07-07 14:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783415110000,"timestamp_ms":1783415110000,"timestamp_seconds":1783415110,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd2f970"} 
[2026-07-07 14:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 14:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554266112001,"66":27745,"30":206,"84":8448,"24":21,"16":341418340612308992,"45":-7040111356794437632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,84,24,16,45]} 
[2026-07-07 14:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554266112001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:36:04] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-07 14:36:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341418340612308992,"km_value":341418340612309.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7040111356794437632,"description":"Unknown IO ID 45"} 
[2026-07-07 14:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554266112001,"power":27745,"unknown_30":206,"unknown_84":8448,"ignition":21,"odometer":null,"unknown_45":-7040111356794437632}} 
[2026-07-07 14:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":125276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:36:04] local.INFO: GPS data processed {"connection_id":125276,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:36:04] local.INFO: Acknowledgment sent {"connection_id":125276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:36:05] local.INFO: TCP Data received {"connection_id":124457,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:36:05] local.INFO: Processing buffer {"connection_id":124457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:36:05] local.INFO: IMEI packet received {"connection_id":124457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 14:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":124457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:36:10] local.INFO: TCP Data received {"connection_id":124457,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bb4a3d0012d7fac4005afe8d00028015915..."} 
[2026-07-07 14:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bb4a3d0012d7fac4005afe8d00028015915..."} 
[2026-07-07 14:36:10] local.INFO: Processing buffer {"connection_id":124457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bb4a3d0012d7fac4005afe8d00028015915..."} 
[2026-07-07 14:36:10] local.INFO: Packet analysis {"connection_id":124457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bb4"} 
[2026-07-07 14:36:10] local.INFO: Extracted packet for processing {"connection_id":124457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bb4"} 
[2026-07-07 14:36:10] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95414480,"longitude_deg":76.3341888,"latitude_deg":9.541448,"altitude":40,"angle":345,"satellites":21,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe8d0","is_valid_coordinates":true} 
[2026-07-07 14:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456553682176001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132039032824659968,"note":"Value kept but may cause issues"} 
[2026-07-07 14:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981365248,"note":"Value kept but may cause issues"} 
[2026-07-07 14:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783413122000,"timestamp_ms":1783413122000,"timestamp_seconds":1783413122,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bb4a3d0"} 
[2026-07-07 14:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-07 14:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124457,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 14:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124457,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 14:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 14:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 14:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456553682176001,"66":25419,"27":206,"85":12544,"24":0,"16":132039032824659968,"45":9199798531981365248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-07 14:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 14:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 14:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456553682176001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:36:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-07 14:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 14:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132039032824659968,"km_value":132039032824659.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981365248,"description":"Unknown IO ID 45"} 
[2026-07-07 14:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456553682176001,"power":25419,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531981365248}} 
[2026-07-07 14:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":124457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445958,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:36:10] local.INFO: GPS data processed {"connection_id":124457,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:36:10] local.INFO: Acknowledgment sent {"connection_id":124457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:36:27] local.INFO: TCP Data received {"connection_id":124552,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:36:27] local.INFO: Processing buffer {"connection_id":124552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:36:27] local.INFO: IMEI packet received {"connection_id":124552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":124552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:36:31] local.INFO: TCP Data received {"connection_id":124552,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:36:31] local.INFO: Processing buffer {"connection_id":124552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:36:31] local.INFO: IMEI packet received {"connection_id":124552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":124552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:36:32] local.INFO: TCP Data received {"connection_id":124552,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:36:32] local.INFO: Processing buffer {"connection_id":124552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:36:32] local.INFO: Packet analysis {"connection_id":124552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:36:32] local.INFO: Extracted packet for processing {"connection_id":124552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:36:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554199552001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:36: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-07-07 14:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783415143000,"timestamp_ms":1783415143000,"timestamp_seconds":1783415143,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd37a58"} 
[2026-07-07 14:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554199552001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554199552001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:36:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:36:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554199552001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":124552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:36:32] local.INFO: GPS data processed {"connection_id":124552,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:36:32] local.INFO: Acknowledgment sent {"connection_id":124552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:36:35] local.INFO: TCP Data received {"connection_id":125276,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd30140012d9e4d800566f740000b00cc27..."} 
[2026-07-07 14:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd30140012d9e4d800566f740000b00cc27..."} 
[2026-07-07 14:36:35] local.INFO: Processing buffer {"connection_id":125276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd30140012d9e4d800566f740000b00cc27..."} 
[2026-07-07 14:36:35] local.INFO: Packet analysis {"connection_id":125276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:36:35] local.INFO: Extracted packet for processing {"connection_id":125276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:36:35] local.INFO: GPS Element Parsed {"raw_longitude":765349248,"raw_latitude":90634048,"longitude_deg":76.5349248,"latitude_deg":9.0634048,"altitude":11,"angle":204,"satellites":39,"speed":19,"hex_longitude":"2d9e4d80","hex_latitude":"0566f740","is_valid_coordinates":true} 
[2026-07-07 14:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554268160001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341418387856949248,"note":"Value kept but may cause issues"} 
[2026-07-07 14:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7039478038098405376,"note":"Value kept but may cause issues"} 
[2026-07-07 14:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783415112000,"timestamp_ms":1783415112000,"timestamp_seconds":1783415112,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd30140"} 
[2026-07-07 14:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14: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-07-07 14: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":97,"data_length":795,"current_offset":136} 
[2026-07-07 14:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554268160001,"66":27767,"30":206,"84":8448,"24":19,"16":341418387856949248,"45":-7039478038098405376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,84,24,16,45]} 
[2026-07-07 14:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554268160001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:36:35] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-07 14:36:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341418387856949248,"km_value":341418387856949.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7039478038098405376,"description":"Unknown IO ID 45"} 
[2026-07-07 14:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554268160001,"power":27767,"unknown_30":206,"unknown_84":8448,"ignition":19,"odometer":null,"unknown_45":-7039478038098405376}} 
[2026-07-07 14:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":125276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:36:35] local.INFO: GPS data processed {"connection_id":125276,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:36:35] local.INFO: Acknowledgment sent {"connection_id":125276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:36:37] local.INFO: TCP Data received {"connection_id":124552,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:36:37] local.INFO: Processing buffer {"connection_id":124552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:36:37] local.INFO: Packet analysis {"connection_id":124552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:36:37] local.INFO: Extracted packet for processing {"connection_id":124552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554199552001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783415143000,"timestamp_ms":1783415143000,"timestamp_seconds":1783415143,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd37a58"} 
[2026-07-07 14:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554199552001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554199552001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:36:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:36:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554199552001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":124552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:36:37] local.INFO: GPS data processed {"connection_id":124552,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:36:37] local.INFO: Acknowledgment sent {"connection_id":124552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:36:49] local.INFO: TCP Data received {"connection_id":126517,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:36:49] local.INFO: Processing buffer {"connection_id":126517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:36:49] local.INFO: IMEI packet received {"connection_id":126517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 14:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":126517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:36:59] local.INFO: TCP Data received {"connection_id":125277,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:36:59] local.INFO: Processing buffer {"connection_id":125277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:36:59] local.INFO: IMEI packet received {"connection_id":125277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":125277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:37:05] local.INFO: TCP Data received {"connection_id":125277,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:37:05] local.INFO: Processing buffer {"connection_id":125277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:37:05] local.INFO: IMEI packet received {"connection_id":125277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":125277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:37:06] local.INFO: TCP Data received {"connection_id":125277,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd310e0012d9e4a400566efd0000c00be2b..."} 
[2026-07-07 14:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd310e0012d9e4a400566efd0000c00be2b..."} 
[2026-07-07 14:37:06] local.INFO: Processing buffer {"connection_id":125277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd310e0012d9e4a400566efd0000c00be2b..."} 
[2026-07-07 14:37:06] local.INFO: Packet analysis {"connection_id":125277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:37:06] local.INFO: Extracted packet for processing {"connection_id":125277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:37:06] local.INFO: GPS Element Parsed {"raw_longitude":765348416,"raw_latitude":90632144,"longitude_deg":76.5348416,"latitude_deg":9.0632144,"altitude":12,"angle":190,"satellites":43,"speed":20,"hex_longitude":"2d9e4a40","hex_latitude":"0566efd0","is_valid_coordinates":true} 
[2026-07-07 14:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554268672001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341418490936164352,"note":"Value kept but may cause issues"} 
[2026-07-07 14:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7039829881819545600,"note":"Value kept but may cause issues"} 
[2026-07-07 14:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783415116000,"timestamp_ms":1783415116000,"timestamp_seconds":1783415116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd310e0"} 
[2026-07-07 14:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14: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-07-07 14:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 14:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554268672001,"66":27908,"30":206,"84":8448,"24":20,"16":341418490936164352,"45":-7039829881819545600},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,84,24,16,45]} 
[2026-07-07 14:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554268672001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:37:06] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-07 14:37:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341418490936164352,"km_value":341418490936164.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7039829881819545600,"description":"Unknown IO ID 45"} 
[2026-07-07 14:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554268672001,"power":27908,"unknown_30":206,"unknown_84":8448,"ignition":20,"odometer":null,"unknown_45":-7039829881819545600}} 
[2026-07-07 14:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":125277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:37:06] local.INFO: GPS data processed {"connection_id":125277,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:37:06] local.INFO: Acknowledgment sent {"connection_id":125277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:37:26] local.INFO: TCP Data received {"connection_id":124553,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:37:26] local.INFO: Processing buffer {"connection_id":124553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:37:26] local.INFO: IMEI packet received {"connection_id":124553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":124553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:37:31] local.INFO: TCP Data received {"connection_id":124553,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:37:31] local.INFO: Processing buffer {"connection_id":124553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:37:31] local.INFO: IMEI packet received {"connection_id":124553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":124553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:37:33] local.INFO: TCP Data received {"connection_id":124553,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:37:33] local.INFO: Processing buffer {"connection_id":124553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:37:33] local.INFO: Packet analysis {"connection_id":124553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:37:33] local.INFO: Extracted packet for processing {"connection_id":124553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554199552001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783415143000,"timestamp_ms":1783415143000,"timestamp_seconds":1783415143,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd37a58"} 
[2026-07-07 14:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554199552001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554199552001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:37:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:37:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554199552001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":124553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:37:34] local.INFO: GPS data processed {"connection_id":124553,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:37:34] local.INFO: Acknowledgment sent {"connection_id":124553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:37:37] local.INFO: TCP Data received {"connection_id":124553,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:37:37] local.INFO: Processing buffer {"connection_id":124553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:37:37] local.INFO: Packet analysis {"connection_id":124553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:37:37] local.INFO: Extracted packet for processing {"connection_id":124553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554199552001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783415143000,"timestamp_ms":1783415143000,"timestamp_seconds":1783415143,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd37a58"} 
[2026-07-07 14:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554199552001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554199552001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:37:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554199552001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":124553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:37:37] local.INFO: GPS data processed {"connection_id":124553,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:37:37] local.INFO: Acknowledgment sent {"connection_id":124553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:37:37] local.INFO: TCP Data received {"connection_id":125277,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd44d48012d9e6e0005664828000b00b327..."} 
[2026-07-07 14:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd44d48012d9e6e0005664828000b00b327..."} 
[2026-07-07 14:37:37] local.INFO: Processing buffer {"connection_id":125277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd44d48012d9e6e0005664828000b00b327..."} 
[2026-07-07 14:37:37] local.INFO: Packet analysis {"connection_id":125277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd4"} 
[2026-07-07 14:37:37] local.INFO: Extracted packet for processing {"connection_id":125277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd4"} 
[2026-07-07 14:37:37] local.INFO: GPS Element Parsed {"raw_longitude":765357568,"raw_latitude":90589224,"longitude_deg":76.5357568,"latitude_deg":9.0589224,"altitude":11,"angle":179,"satellites":39,"speed":24,"hex_longitude":"2d9e6e00","hex_latitude":"05664828","is_valid_coordinates":true} 
[2026-07-07 14:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554286592001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341420647009746944,"note":"Value kept but may cause issues"} 
[2026-07-07 14:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7031315263783733248,"note":"Value kept but may cause issues"} 
[2026-07-07 14:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783415197000,"timestamp_ms":1783415197000,"timestamp_seconds":1783415197,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd44d48"} 
[2026-07-07 14:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 14:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554286592001,"66":27995,"30":206,"84":8448,"24":24,"16":341420647009746944,"45":-7031315263783733248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,84,24,16,45]} 
[2026-07-07 14:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554286592001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:37:37] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-07 14:37:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341420647009746944,"km_value":341420647009746.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7031315263783733248,"description":"Unknown IO ID 45"} 
[2026-07-07 14:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554286592001,"power":27995,"unknown_30":206,"unknown_84":8448,"ignition":24,"odometer":null,"unknown_45":-7031315263783733248}} 
[2026-07-07 14:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":125277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:37:37] local.INFO: GPS data processed {"connection_id":125277,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:37:37] local.INFO: Acknowledgment sent {"connection_id":125277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:37:58] local.INFO: TCP Data received {"connection_id":124459,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:37:58] local.INFO: Processing buffer {"connection_id":124459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:37:58] local.INFO: IMEI packet received {"connection_id":124459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":124459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:38:04] local.INFO: TCP Data received {"connection_id":124459,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:38:04] local.INFO: Processing buffer {"connection_id":124459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:38:04] local.INFO: IMEI packet received {"connection_id":124459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":124459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:38:05] local.INFO: TCP Data received {"connection_id":124459,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd47c28012d9e6b8005662530000d00b827..."} 
[2026-07-07 14:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd47c28012d9e6b8005662530000d00b827..."} 
[2026-07-07 14:38:05] local.INFO: Processing buffer {"connection_id":124459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd47c28012d9e6b8005662530000d00b827..."} 
[2026-07-07 14:38:05] local.INFO: Packet analysis {"connection_id":124459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd4"} 
[2026-07-07 14:38:05] local.INFO: Extracted packet for processing {"connection_id":124459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd4"} 
[2026-07-07 14:38:05] local.INFO: GPS Element Parsed {"raw_longitude":765356928,"raw_latitude":90580272,"longitude_deg":76.5356928,"latitude_deg":9.0580272,"altitude":13,"angle":184,"satellites":39,"speed":33,"hex_longitude":"2d9e6b80","hex_latitude":"05662530","is_valid_coordinates":true} 
[2026-07-07 14:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554290432001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341421080801443840,"note":"Value kept but may cause issues"} 
[2026-07-07 14:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7030681945087924224,"note":"Value kept but may cause issues"} 
[2026-07-07 14:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783415209000,"timestamp_ms":1783415209000,"timestamp_seconds":1783415209,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd47c28"} 
[2026-07-07 14:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 14:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554290432001,"66":27843,"94":206,"84":8448,"24":33,"16":341421080801443840,"45":-7030681945087924224},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,84,24,16,45]} 
[2026-07-07 14:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554290432001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:38:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-07 14:38:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341421080801443840,"km_value":341421080801443.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7030681945087924224,"description":"Unknown IO ID 45"} 
[2026-07-07 14:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554290432001,"power":27843,"unknown_94":206,"unknown_84":8448,"ignition":33,"odometer":null,"unknown_45":-7030681945087924224}} 
[2026-07-07 14:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":124459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:38:05] local.INFO: GPS data processed {"connection_id":124459,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:38:05] local.INFO: Acknowledgment sent {"connection_id":124459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:38:21] local.INFO: TCP Data received {"connection_id":125278,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:38:21] local.INFO: Processing buffer {"connection_id":125278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:38:21] local.INFO: IMEI packet received {"connection_id":125278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":125278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:38:26] local.INFO: TCP Data received {"connection_id":125278,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:38:26] local.INFO: Processing buffer {"connection_id":125278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:38:26] local.INFO: IMEI packet received {"connection_id":125278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":125278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:38:28] local.INFO: TCP Data received {"connection_id":125278,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:38:28] local.INFO: Processing buffer {"connection_id":125278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:38:28] local.INFO: Packet analysis {"connection_id":125278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:38:28] local.INFO: Extracted packet for processing {"connection_id":125278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554199552001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:38: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-07-07 14:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783415143000,"timestamp_ms":1783415143000,"timestamp_seconds":1783415143,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd37a58"} 
[2026-07-07 14:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554199552001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554199552001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:38:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:38:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554199552001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":125278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:38:28] local.INFO: GPS data processed {"connection_id":125278,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:38:28] local.INFO: Acknowledgment sent {"connection_id":125278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:38:36] local.INFO: TCP Data received {"connection_id":124459,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd4aef0012d9e678005660258000c00bc29..."} 
[2026-07-07 14:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd4aef0012d9e678005660258000c00bc29..."} 
[2026-07-07 14:38:36] local.INFO: Processing buffer {"connection_id":124459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd4aef0012d9e678005660258000c00bc29..."} 
[2026-07-07 14:38:36] local.INFO: Packet analysis {"connection_id":124459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd4"} 
[2026-07-07 14:38:36] local.INFO: Extracted packet for processing {"connection_id":124459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd4"} 
[2026-07-07 14:38:36] local.INFO: GPS Element Parsed {"raw_longitude":765355904,"raw_latitude":90571352,"longitude_deg":76.5355904,"latitude_deg":9.0571352,"altitude":12,"angle":188,"satellites":41,"speed":27,"hex_longitude":"2d9e6780","hex_latitude":"05660258","is_valid_coordinates":true} 
[2026-07-07 14:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554293504001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341421518888108032,"note":"Value kept but may cause issues"} 
[2026-07-07 14:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7031385632531992576,"note":"Value kept but may cause issues"} 
[2026-07-07 14:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783415222000,"timestamp_ms":1783415222000,"timestamp_seconds":1783415222,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd4aef0"} 
[2026-07-07 14:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 14:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554293504001,"66":28050,"94":206,"84":8448,"24":27,"16":341421518888108032,"45":-7031385632531992576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,84,24,16,45]} 
[2026-07-07 14:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554293504001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:38:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-07 14:38:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341421518888108032,"km_value":341421518888108.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7031385632531992576,"description":"Unknown IO ID 45"} 
[2026-07-07 14:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554293504001,"power":28050,"unknown_94":206,"unknown_84":8448,"ignition":27,"odometer":null,"unknown_45":-7031385632531992576}} 
[2026-07-07 14:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":124459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:38:36] local.INFO: GPS data processed {"connection_id":124459,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:38:36] local.INFO: Acknowledgment sent {"connection_id":124459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:38:59] local.INFO: TCP Data received {"connection_id":125278,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:38:59] local.INFO: Processing buffer {"connection_id":125278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:38:59] local.INFO: Packet analysis {"connection_id":125278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:38:59] local.INFO: Extracted packet for processing {"connection_id":125278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:38:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554199552001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:38: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-07-07 14:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783415143000,"timestamp_ms":1783415143000,"timestamp_seconds":1783415143,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd37a58"} 
[2026-07-07 14:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554199552001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554199552001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:38:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:38:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554199552001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":125278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:39:00] local.INFO: GPS data processed {"connection_id":125278,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:39:00] local.INFO: Acknowledgment sent {"connection_id":125278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:39:04] local.INFO: TCP Data received {"connection_id":124554,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:39:04] local.INFO: Processing buffer {"connection_id":124554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:39:04] local.INFO: IMEI packet received {"connection_id":124554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":124554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:39:09] local.INFO: TCP Data received {"connection_id":124554,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:39:09] local.INFO: Processing buffer {"connection_id":124554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:39:09] local.INFO: IMEI packet received {"connection_id":124554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":124554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:39:11] local.INFO: TCP Data received {"connection_id":124554,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd500f8012d9e65c00565e690000c00b529..."} 
[2026-07-07 14:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd500f8012d9e65c00565e690000c00b529..."} 
[2026-07-07 14:39:11] local.INFO: Processing buffer {"connection_id":124554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd500f8012d9e65c00565e690000c00b529..."} 
[2026-07-07 14:39:11] local.INFO: Packet analysis {"connection_id":124554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd5"} 
[2026-07-07 14:39:11] local.INFO: Extracted packet for processing {"connection_id":124554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd5"} 
[2026-07-07 14:39:11] local.INFO: GPS Element Parsed {"raw_longitude":765355456,"raw_latitude":90564240,"longitude_deg":76.5355456,"latitude_deg":9.056424,"altitude":12,"angle":181,"satellites":41,"speed":6,"hex_longitude":"2d9e65c0","hex_latitude":"0565e690","is_valid_coordinates":true} 
[2026-07-07 14:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554296832001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341421862485491712,"note":"Value kept but may cause issues"} 
[2026-07-07 14:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7032511532441118720,"note":"Value kept but may cause issues"} 
[2026-07-07 14:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783415243000,"timestamp_ms":1783415243000,"timestamp_seconds":1783415243,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd500f8"} 
[2026-07-07 14:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 14:39: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-07-07 14:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554296832001,"66":27876,"94":206,"84":8448,"24":6,"16":341421862485491712,"45":-7032511532441118720},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,84,24,16,45]} 
[2026-07-07 14:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554296832001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:39:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-07 14:39:11] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341421862485491712,"km_value":341421862485491.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7032511532441118720,"description":"Unknown IO ID 45"} 
[2026-07-07 14:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554296832001,"power":27876,"unknown_94":206,"unknown_84":8448,"ignition":6,"odometer":null,"unknown_45":-7032511532441118720}} 
[2026-07-07 14:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":124554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:39:11] local.INFO: GPS data processed {"connection_id":124554,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:39:11] local.INFO: Acknowledgment sent {"connection_id":124554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:39:14] local.INFO: TCP Data received {"connection_id":124554,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd55300012d9e65400565da18000d00b62a..."} 
[2026-07-07 14:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd55300012d9e65400565da18000d00b62a..."} 
[2026-07-07 14:39:14] local.INFO: Processing buffer {"connection_id":124554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd55300012d9e65400565da18000d00b62a..."} 
[2026-07-07 14:39:14] local.INFO: Packet analysis {"connection_id":124554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd5"} 
[2026-07-07 14:39:14] local.INFO: Extracted packet for processing {"connection_id":124554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd5"} 
[2026-07-07 14:39:14] local.INFO: GPS Element Parsed {"raw_longitude":765355328,"raw_latitude":90561048,"longitude_deg":76.5355328,"latitude_deg":9.0561048,"altitude":13,"angle":182,"satellites":42,"speed":13,"hex_longitude":"2d9e6540","hex_latitude":"0565da18","is_valid_coordinates":true} 
[2026-07-07 14: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-07-07 14:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554302208001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341422025694248960,"note":"Value kept but may cause issues"} 
[2026-07-07 14:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7033004113652183040,"note":"Value kept but may cause issues"} 
[2026-07-07 14:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783415264000,"timestamp_ms":1783415264000,"timestamp_seconds":1783415264,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd55300"} 
[2026-07-07 14:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 14:39: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-07-07 14: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-07-07 14:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554302208001,"66":27930,"94":206,"84":8448,"24":13,"16":341422025694248960,"45":-7033004113652183040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,84,24,16,45]} 
[2026-07-07 14:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554302208001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:39:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-07 14:39:14] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341422025694248960,"km_value":341422025694248.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7033004113652183040,"description":"Unknown IO ID 45"} 
[2026-07-07 14:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554302208001,"power":27930,"unknown_94":206,"unknown_84":8448,"ignition":13,"odometer":null,"unknown_45":-7033004113652183040}} 
[2026-07-07 14:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":124554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:39:14] local.INFO: GPS data processed {"connection_id":124554,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:39:14] local.INFO: Acknowledgment sent {"connection_id":124554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:39:21] local.INFO: TCP Data received {"connection_id":124461,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:39:21] local.INFO: Processing buffer {"connection_id":124461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:39:21] local.INFO: IMEI packet received {"connection_id":124461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":124461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:39:26] local.INFO: TCP Data received {"connection_id":124461,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:39:26] local.INFO: Processing buffer {"connection_id":124461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:39:26] local.INFO: IMEI packet received {"connection_id":124461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":124461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:39:33] local.INFO: TCP Data received {"connection_id":124461,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:39:33] local.INFO: Processing buffer {"connection_id":124461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:39:33] local.INFO: Packet analysis {"connection_id":124461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:39:33] local.INFO: Extracted packet for processing {"connection_id":124461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:39:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554199552001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783415143000,"timestamp_ms":1783415143000,"timestamp_seconds":1783415143,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd37a58"} 
[2026-07-07 14:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554199552001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554199552001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:39:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:39:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554199552001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":124461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:39:33] local.INFO: GPS data processed {"connection_id":124461,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:39:33] local.INFO: Acknowledgment sent {"connection_id":124461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:40:03] local.INFO: TCP Data received {"connection_id":124555,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:40:03] local.INFO: Processing buffer {"connection_id":124555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:40:03] local.INFO: IMEI packet received {"connection_id":124555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":124555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:40:04] local.INFO: TCP Data received {"connection_id":124555,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:40:04] local.INFO: Processing buffer {"connection_id":124555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:40:04] local.INFO: IMEI packet received {"connection_id":124555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":124555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:40:05] local.INFO: TCP Data received {"connection_id":124555,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd5a508012d9e64400565c428000e00b529..."} 
[2026-07-07 14:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd5a508012d9e64400565c428000e00b529..."} 
[2026-07-07 14:40:05] local.INFO: Processing buffer {"connection_id":124555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd5a508012d9e64400565c428000e00b529..."} 
[2026-07-07 14:40:05] local.INFO: Packet analysis {"connection_id":124555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd5"} 
[2026-07-07 14:40:05] local.INFO: Extracted packet for processing {"connection_id":124555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd5"} 
[2026-07-07 14:40:05] local.INFO: GPS Element Parsed {"raw_longitude":765355072,"raw_latitude":90555432,"longitude_deg":76.5355072,"latitude_deg":9.0555432,"altitude":14,"angle":181,"satellites":41,"speed":5,"hex_longitude":"2d9e6440","hex_latitude":"0565c428","is_valid_coordinates":true} 
[2026-07-07 14:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554307584001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341422300572155904,"note":"Value kept but may cause issues"} 
[2026-07-07 14:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7033144851141355520,"note":"Value kept but may cause issues"} 
[2026-07-07 14:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783415285000,"timestamp_ms":1783415285000,"timestamp_seconds":1783415285,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd5a508"} 
[2026-07-07 14:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 14:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554307584001,"66":27919,"94":206,"84":8448,"24":5,"16":341422300572155904,"45":-7033144851141355520},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,84,24,16,45]} 
[2026-07-07 14:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554307584001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:40:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-07 14:40:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341422300572155904,"km_value":341422300572155.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7033144851141355520,"description":"Unknown IO ID 45"} 
[2026-07-07 14:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554307584001,"power":27919,"unknown_94":206,"unknown_84":8448,"ignition":5,"odometer":null,"unknown_45":-7033144851141355520}} 
[2026-07-07 14:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":124555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:40:05] local.INFO: GPS data processed {"connection_id":124555,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:40:05] local.INFO: Acknowledgment sent {"connection_id":124555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:40:05] local.INFO: TCP Data received {"connection_id":124461,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:40:05] local.INFO: Processing buffer {"connection_id":124461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:40:05] local.INFO: Packet analysis {"connection_id":124461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:40:05] local.INFO: Extracted packet for processing {"connection_id":124461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554199552001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783415143000,"timestamp_ms":1783415143000,"timestamp_seconds":1783415143,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd37a58"} 
[2026-07-07 14:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554199552001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554199552001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:40:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:40:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554199552001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":124461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:40:05] local.INFO: GPS data processed {"connection_id":124461,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:40:05] local.INFO: Acknowledgment sent {"connection_id":124461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:40:09] local.INFO: TCP Data received {"connection_id":124555,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd5ef40012d9e634005659f28000f00b42a..."} 
[2026-07-07 14:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd5ef40012d9e634005659f28000f00b42a..."} 
[2026-07-07 14:40:09] local.INFO: Processing buffer {"connection_id":124555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd5ef40012d9e634005659f28000f00b42a..."} 
[2026-07-07 14:40:09] local.INFO: Packet analysis {"connection_id":124555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd5"} 
[2026-07-07 14:40:09] local.INFO: Extracted packet for processing {"connection_id":124555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd5"} 
[2026-07-07 14:40:09] local.INFO: GPS Element Parsed {"raw_longitude":765354816,"raw_latitude":90545960,"longitude_deg":76.5354816,"latitude_deg":9.054596,"altitude":15,"angle":180,"satellites":42,"speed":26,"hex_longitude":"2d9e6340","hex_latitude":"05659f28","is_valid_coordinates":true} 
[2026-07-07 14:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554312960001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341422760133656576,"note":"Value kept but may cause issues"} 
[2026-07-07 14:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7033426326119503872,"note":"Value kept but may cause issues"} 
[2026-07-07 14:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783415304000,"timestamp_ms":1783415304000,"timestamp_seconds":1783415304,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd5ef40"} 
[2026-07-07 14:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:40: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-07-07 14:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 14:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554312960001,"66":28050,"94":206,"84":8448,"24":26,"16":341422760133656576,"45":-7033426326119503872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,84,24,16,45]} 
[2026-07-07 14:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554312960001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:40:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-07 14:40:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341422760133656576,"km_value":341422760133656.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7033426326119503872,"description":"Unknown IO ID 45"} 
[2026-07-07 14:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554312960001,"power":28050,"unknown_94":206,"unknown_84":8448,"ignition":26,"odometer":null,"unknown_45":-7033426326119503872}} 
[2026-07-07 14:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":124555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:40:09] local.INFO: GPS data processed {"connection_id":124555,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:40:09] local.INFO: Acknowledgment sent {"connection_id":124555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:40:21] local.INFO: TCP Data received {"connection_id":126519,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:40:21] local.INFO: Processing buffer {"connection_id":126519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:40:21] local.INFO: IMEI packet received {"connection_id":126519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":126519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:40:26] local.INFO: TCP Data received {"connection_id":126519,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:40:26] local.INFO: Processing buffer {"connection_id":126519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:40:26] local.INFO: IMEI packet received {"connection_id":126519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":126519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:40:30] local.INFO: TCP Data received {"connection_id":126519,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:40:30] local.INFO: Processing buffer {"connection_id":126519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:40:30] local.INFO: Packet analysis {"connection_id":126519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:40:30] local.INFO: Extracted packet for processing {"connection_id":126519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:40:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554199552001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:40: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-07-07 14:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783415143000,"timestamp_ms":1783415143000,"timestamp_seconds":1783415143,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd37a58"} 
[2026-07-07 14:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":126519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":126519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":126519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554199552001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554199552001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:40:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:40:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554199552001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":126519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:40:30] local.INFO: GPS data processed {"connection_id":126519,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:40:30] local.INFO: Acknowledgment sent {"connection_id":126519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:40:41] local.INFO: TCP Data received {"connection_id":124555,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd63d60012d9e658005657be0000d00ad2a..."} 
[2026-07-07 14:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd63d60012d9e658005657be0000d00ad2a..."} 
[2026-07-07 14:40:41] local.INFO: Processing buffer {"connection_id":124555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd63d60012d9e658005657be0000d00ad2a..."} 
[2026-07-07 14:40:41] local.INFO: Packet analysis {"connection_id":124555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd6"} 
[2026-07-07 14:40:41] local.INFO: Extracted packet for processing {"connection_id":124555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd6"} 
[2026-07-07 14:40:41] local.INFO: GPS Element Parsed {"raw_longitude":765355392,"raw_latitude":90536928,"longitude_deg":76.5355392,"latitude_deg":9.0536928,"altitude":13,"angle":173,"satellites":42,"speed":20,"hex_longitude":"2d9e6580","hex_latitude":"05657be0","is_valid_coordinates":true} 
[2026-07-07 14:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554317824001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341423202515288064,"note":"Value kept but may cause issues"} 
[2026-07-07 14:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7033707801098639360,"note":"Value kept but may cause issues"} 
[2026-07-07 14:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783415324000,"timestamp_ms":1783415324000,"timestamp_seconds":1783415324,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd63d60"} 
[2026-07-07 14:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:40: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-07-07 14:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 14:40: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-07-07 14:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554317824001,"66":27800,"198":206,"84":8448,"24":20,"16":341423202515288064,"45":-7033707801098639360},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,84,24,16,45]} 
[2026-07-07 14:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554317824001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:40:41] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 14:40:41] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341423202515288064,"km_value":341423202515288.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7033707801098639360,"description":"Unknown IO ID 45"} 
[2026-07-07 14:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554317824001,"power":27800,"unknown_198":206,"unknown_84":8448,"ignition":20,"odometer":null,"unknown_45":-7033707801098639360}} 
[2026-07-07 14:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":124555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:40:41] local.INFO: GPS data processed {"connection_id":124555,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:40:41] local.INFO: Acknowledgment sent {"connection_id":124555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:40:59] local.INFO: TCP Data received {"connection_id":124462,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:40:59] local.INFO: Processing buffer {"connection_id":124462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:40:59] local.INFO: IMEI packet received {"connection_id":124462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":124462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:41:00] local.INFO: TCP Data received {"connection_id":124462,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:41:00] local.INFO: Processing buffer {"connection_id":124462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:41:00] local.INFO: IMEI packet received {"connection_id":124462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":124462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:41:02] local.INFO: TCP Data received {"connection_id":126519,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:41:02] local.INFO: Processing buffer {"connection_id":126519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd37a58012d196940071fec580032006722..."} 
[2026-07-07 14:41:02] local.INFO: Packet analysis {"connection_id":126519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:41:02] local.INFO: Extracted packet for processing {"connection_id":126519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd3"} 
[2026-07-07 14:41:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554199552001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783415143000,"timestamp_ms":1783415143000,"timestamp_seconds":1783415143,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd37a58"} 
[2026-07-07 14:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:41: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-07-07 14:41: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-07-07 14:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554199552001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554199552001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:41:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:41:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554199552001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":126519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:41:02] local.INFO: GPS data processed {"connection_id":126519,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:41:02] local.INFO: Acknowledgment sent {"connection_id":126519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:41:04] local.INFO: TCP Data received {"connection_id":124462,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:41:04] local.INFO: Processing buffer {"connection_id":124462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:41:04] local.INFO: IMEI packet received {"connection_id":124462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":124462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:41:06] local.INFO: TCP Data received {"connection_id":124462,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd63d60012d9e658005657be0000d00ad2a..."} 
[2026-07-07 14:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd63d60012d9e658005657be0000d00ad2a..."} 
[2026-07-07 14:41:06] local.INFO: Processing buffer {"connection_id":124462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd63d60012d9e658005657be0000d00ad2a..."} 
[2026-07-07 14:41:06] local.INFO: Packet analysis {"connection_id":124462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd6"} 
[2026-07-07 14:41:06] local.INFO: Extracted packet for processing {"connection_id":124462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd6"} 
[2026-07-07 14:41:06] local.INFO: GPS Element Parsed {"raw_longitude":765355392,"raw_latitude":90536928,"longitude_deg":76.5355392,"latitude_deg":9.0536928,"altitude":13,"angle":173,"satellites":42,"speed":20,"hex_longitude":"2d9e6580","hex_latitude":"05657be0","is_valid_coordinates":true} 
[2026-07-07 14:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554322944001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341423202515288064,"note":"Value kept but may cause issues"} 
[2026-07-07 14:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7033074482403352576,"note":"Value kept but may cause issues"} 
[2026-07-07 14:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783415324000,"timestamp_ms":1783415324000,"timestamp_seconds":1783415324,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd63d60"} 
[2026-07-07 14:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 14:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554322944001,"66":27800,"198":206,"84":8448,"24":20,"16":341423202515288064,"45":-7033074482403352576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,84,24,16,45]} 
[2026-07-07 14:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554322944001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:41:06] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 14:41:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341423202515288064,"km_value":341423202515288.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7033074482403352576,"description":"Unknown IO ID 45"} 
[2026-07-07 14:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554322944001,"power":27800,"unknown_198":206,"unknown_84":8448,"ignition":20,"odometer":null,"unknown_45":-7033074482403352576}} 
[2026-07-07 14:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":124462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:41:06] local.INFO: GPS data processed {"connection_id":124462,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:41:06] local.INFO: Acknowledgment sent {"connection_id":124462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:41:21] local.INFO: TCP Data received {"connection_id":124556,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:41:21] local.INFO: Processing buffer {"connection_id":124556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:41:21] local.INFO: IMEI packet received {"connection_id":124556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":124556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:41:22] local.INFO: TCP Data received {"connection_id":124556,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:41:22] local.INFO: Processing buffer {"connection_id":124556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:41:22] local.INFO: IMEI packet received {"connection_id":124556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":124556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:41:26] local.INFO: TCP Data received {"connection_id":124556,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:41:26] local.INFO: Processing buffer {"connection_id":124556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:41:26] local.INFO: IMEI packet received {"connection_id":124556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":124556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:41:31] local.INFO: TCP Data received {"connection_id":124556,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:41:31] local.INFO: Processing buffer {"connection_id":124556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:41:31] local.INFO: Packet analysis {"connection_id":124556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:41:31] local.INFO: Extracted packet for processing {"connection_id":124556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:41:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554276608001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:41: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-07-07 14:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783415444000,"timestamp_ms":1783415444000,"timestamp_seconds":1783415444,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd81220"} 
[2026-07-07 14:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 14:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":124556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":124556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":124556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554276608001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554276608001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:41:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:41:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554276608001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":124556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:41:31] local.INFO: GPS data processed {"connection_id":124556,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:41:31] local.INFO: Acknowledgment sent {"connection_id":124556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:41:36] local.INFO: TCP Data received {"connection_id":124462,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd683b0012d9e6ac0056557a8000b00ac23..."} 
[2026-07-07 14:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd683b0012d9e6ac0056557a8000b00ac23..."} 
[2026-07-07 14:41:36] local.INFO: Processing buffer {"connection_id":124462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd683b0012d9e6ac0056557a8000b00ac23..."} 
[2026-07-07 14:41:36] local.INFO: Packet analysis {"connection_id":124462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd6"} 
[2026-07-07 14:41:36] local.INFO: Extracted packet for processing {"connection_id":124462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd6"} 
[2026-07-07 14:41:36] local.INFO: GPS Element Parsed {"raw_longitude":765356736,"raw_latitude":90527656,"longitude_deg":76.5356736,"latitude_deg":9.0527656,"altitude":11,"angle":172,"satellites":35,"speed":23,"hex_longitude":"2d9e6ac0","hex_latitude":"056557a8","is_valid_coordinates":true} 
[2026-07-07 14:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554322944001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341423653486854144,"note":"Value kept but may cause issues"} 
[2026-07-07 14:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7033074482403352576,"note":"Value kept but may cause issues"} 
[2026-07-07 14:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783415342000,"timestamp_ms":1783415342000,"timestamp_seconds":1783415342,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd683b0"} 
[2026-07-07 14:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 14:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554322944001,"66":27843,"198":206,"84":8448,"24":23,"16":341423653486854144,"45":-7033074482403352576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,84,24,16,45]} 
[2026-07-07 14:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554322944001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:41:36] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 14:41:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-07 14:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341423653486854144,"km_value":341423653486854.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7033074482403352576,"description":"Unknown IO ID 45"} 
[2026-07-07 14:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554322944001,"power":27843,"unknown_198":206,"unknown_84":8448,"ignition":23,"odometer":null,"unknown_45":-7033074482403352576}} 
[2026-07-07 14:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":124462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:41:36] local.INFO: GPS data processed {"connection_id":124462,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:41:36] local.INFO: Acknowledgment sent {"connection_id":124462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:41:58] local.INFO: TCP Data received {"connection_id":126520,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:41:58] local.INFO: Processing buffer {"connection_id":126520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:41:58] local.INFO: IMEI packet received {"connection_id":126520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":126520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:41:59] local.INFO: TCP Data received {"connection_id":126520,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:41:59] local.INFO: Processing buffer {"connection_id":126520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:41:59] local.INFO: IMEI packet received {"connection_id":126520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":126520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:42:04] local.INFO: TCP Data received {"connection_id":126520,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:42:04] local.INFO: Processing buffer {"connection_id":126520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:42:04] local.INFO: IMEI packet received {"connection_id":126520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":126520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:42:05] local.INFO: TCP Data received {"connection_id":126520,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd86810012d9e71400563ff28000b00a22a..."} 
[2026-07-07 14:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd86810012d9e71400563ff28000b00a22a..."} 
[2026-07-07 14:42:05] local.INFO: Processing buffer {"connection_id":126520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd86810012d9e71400563ff28000b00a22a..."} 
[2026-07-07 14:42:05] local.INFO: Packet analysis {"connection_id":126520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:42:05] local.INFO: Extracted packet for processing {"connection_id":126520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:42:05] local.INFO: GPS Element Parsed {"raw_longitude":765358400,"raw_latitude":90439464,"longitude_deg":76.53584,"latitude_deg":9.0439464,"altitude":11,"angle":162,"satellites":42,"speed":39,"hex_longitude":"2d9e7140","hex_latitude":"0563ff28","is_valid_coordinates":true} 
[2026-07-07 14:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554357504001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341427974223953920,"note":"Value kept but may cause issues"} 
[2026-07-07 14:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7030893051357087744,"note":"Value kept but may cause issues"} 
[2026-07-07 14:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783415466000,"timestamp_ms":1783415466000,"timestamp_seconds":1783415466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd86810"} 
[2026-07-07 14:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 14:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554357504001,"66":27908,"207":206,"84":7168,"24":39,"16":341427974223953920,"45":-7030893051357087744},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,84,24,16,45]} 
[2026-07-07 14:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554357504001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:42:05] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 14:42:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341427974223953920,"km_value":341427974223953.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7030893051357087744,"description":"Unknown IO ID 45"} 
[2026-07-07 14:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554357504001,"power":27908,"unknown_207":206,"unknown_84":7168,"ignition":39,"odometer":null,"unknown_45":-7030893051357087744}} 
[2026-07-07 14:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":126520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:42:05] local.INFO: GPS data processed {"connection_id":126520,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:42:05] local.INFO: Acknowledgment sent {"connection_id":126520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:42:05] local.INFO: TCP Data received {"connection_id":124556,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:42:05] local.INFO: Processing buffer {"connection_id":124556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:42:05] local.INFO: Packet analysis {"connection_id":124556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:42:05] local.INFO: Extracted packet for processing {"connection_id":124556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554276608001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783415444000,"timestamp_ms":1783415444000,"timestamp_seconds":1783415444,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd81220"} 
[2026-07-07 14:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 14:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554276608001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554276608001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:42:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554276608001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":124556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:42:05] local.INFO: GPS data processed {"connection_id":124556,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:42:05] local.INFO: Acknowledgment sent {"connection_id":124556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:42:09] local.INFO: TCP Data received {"connection_id":124557,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:42:09] local.INFO: Processing buffer {"connection_id":124557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:42:09] local.INFO: IMEI packet received {"connection_id":124557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 14:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":124557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:42:21] local.INFO: TCP Data received {"connection_id":125280,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:42:21] local.INFO: Processing buffer {"connection_id":125280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:42:21] local.INFO: IMEI packet received {"connection_id":125280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":125280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:42:26] local.INFO: TCP Data received {"connection_id":125280,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:42:26] local.INFO: Processing buffer {"connection_id":125280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:42:26] local.INFO: IMEI packet received {"connection_id":125280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":125280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:42:27] local.INFO: TCP Data received {"connection_id":125280,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:42:27] local.INFO: Processing buffer {"connection_id":125280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:42:27] local.INFO: Packet analysis {"connection_id":125280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:42:27] local.INFO: Extracted packet for processing {"connection_id":125280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:42:27] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554276608001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:42: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-07-07 14:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783415444000,"timestamp_ms":1783415444000,"timestamp_seconds":1783415444,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd81220"} 
[2026-07-07 14:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 14:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554276608001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554276608001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:42:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:42:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554276608001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":125280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:42:27] local.INFO: GPS data processed {"connection_id":125280,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:42:27] local.INFO: Acknowledgment sent {"connection_id":125280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:42:36] local.INFO: TCP Data received {"connection_id":126520,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd87b98012d9e79800563ed20000c00962b..."} 
[2026-07-07 14:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd87b98012d9e79800563ed20000c00962b..."} 
[2026-07-07 14:42:36] local.INFO: Processing buffer {"connection_id":126520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd87b98012d9e79800563ed20000c00962b..."} 
[2026-07-07 14:42:36] local.INFO: Packet analysis {"connection_id":126520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:42:36] local.INFO: Extracted packet for processing {"connection_id":126520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:42:36] local.INFO: GPS Element Parsed {"raw_longitude":765360512,"raw_latitude":90434848,"longitude_deg":76.5360512,"latitude_deg":9.0434848,"altitude":12,"angle":150,"satellites":43,"speed":40,"hex_longitude":"2d9e7980","hex_latitude":"0563ed20","is_valid_coordinates":true} 
[2026-07-07 14:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554359296001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341428219037089792,"note":"Value kept but may cause issues"} 
[2026-07-07 14:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7029767151451953152,"note":"Value kept but may cause issues"} 
[2026-07-07 14:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783415471000,"timestamp_ms":1783415471000,"timestamp_seconds":1783415471,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd87b98"} 
[2026-07-07 14:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:42: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-07-07 14:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 14:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554359296001,"66":27789,"207":206,"84":7168,"24":40,"16":341428219037089792,"45":-7029767151451953152},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,84,24,16,45]} 
[2026-07-07 14:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554359296001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:42:36] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 14:42:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341428219037089792,"km_value":341428219037089.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7029767151451953152,"description":"Unknown IO ID 45"} 
[2026-07-07 14:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554359296001,"power":27789,"unknown_207":206,"unknown_84":7168,"ignition":40,"odometer":null,"unknown_45":-7029767151451953152}} 
[2026-07-07 14:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":126520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:42:36] local.INFO: GPS data processed {"connection_id":126520,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:42:36] local.INFO: Acknowledgment sent {"connection_id":126520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:42:59] local.INFO: TCP Data received {"connection_id":126521,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:42:59] local.INFO: Processing buffer {"connection_id":126521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:42:59] local.INFO: IMEI packet received {"connection_id":126521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":126521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:42:59] local.INFO: TCP Data received {"connection_id":125280,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:42:59] local.INFO: Processing buffer {"connection_id":125280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:42:59] local.INFO: Packet analysis {"connection_id":125280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:42:59] local.INFO: Extracted packet for processing {"connection_id":125280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:42:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554276608001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:42: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-07-07 14:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783415444000,"timestamp_ms":1783415444000,"timestamp_seconds":1783415444,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd81220"} 
[2026-07-07 14:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 14:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554276608001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554276608001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:42:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:42:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554276608001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":125280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:42:59] local.INFO: GPS data processed {"connection_id":125280,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:42:59] local.INFO: Acknowledgment sent {"connection_id":125280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:43:02] local.INFO: TCP Data received {"connection_id":126521,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:43:02] local.INFO: Processing buffer {"connection_id":126521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:43:02] local.INFO: IMEI packet received {"connection_id":126521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":126521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:43:03] local.INFO: TCP Data received {"connection_id":126521,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd89ad8012d9e8b400563d2c8000e008829..."} 
[2026-07-07 14:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd89ad8012d9e8b400563d2c8000e008829..."} 
[2026-07-07 14:43:03] local.INFO: Processing buffer {"connection_id":126521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd89ad8012d9e8b400563d2c8000e008829..."} 
[2026-07-07 14:43:03] local.INFO: Packet analysis {"connection_id":126521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:43:03] local.INFO: Extracted packet for processing {"connection_id":126521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:43:03] local.INFO: GPS Element Parsed {"raw_longitude":765365056,"raw_latitude":90428104,"longitude_deg":76.5365056,"latitude_deg":9.0428104,"altitude":14,"angle":136,"satellites":41,"speed":38,"hex_longitude":"2d9e8b40","hex_latitude":"0563d2c8","is_valid_coordinates":true} 
[2026-07-07 14:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554360576001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341428614174081024,"note":"Value kept but may cause issues"} 
[2026-07-07 14:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7027444982895271936,"note":"Value kept but may cause issues"} 
[2026-07-07 14:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783415479000,"timestamp_ms":1783415479000,"timestamp_seconds":1783415479,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd89ad8"} 
[2026-07-07 14:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:43: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-07-07 14:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-07 14:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554360576001,"66":27919,"207":206,"84":7168,"24":38,"16":341428614174081024,"45":-7027444982895271936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,84,24,16,45]} 
[2026-07-07 14:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554360576001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:43:03] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 14:43:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341428614174081024,"km_value":341428614174081.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7027444982895271936,"description":"Unknown IO ID 45"} 
[2026-07-07 14:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554360576001,"power":27919,"unknown_207":206,"unknown_84":7168,"ignition":38,"odometer":null,"unknown_45":-7027444982895271936}} 
[2026-07-07 14:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":126521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:43:03] local.INFO: GPS data processed {"connection_id":126521,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:43:03] local.INFO: Acknowledgment sent {"connection_id":126521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:43:21] local.INFO: TCP Data received {"connection_id":124559,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:43:21] local.INFO: Processing buffer {"connection_id":124559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:43:21] local.INFO: IMEI packet received {"connection_id":124559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":124559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:43:26] local.INFO: TCP Data received {"connection_id":124559,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:43:26] local.INFO: Processing buffer {"connection_id":124559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:43:26] local.INFO: IMEI packet received {"connection_id":124559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":124559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:43:34] local.INFO: TCP Data received {"connection_id":126521,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd8aa78012d9e95400563ca38000e007c2b..."} 
[2026-07-07 14:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd8aa78012d9e95400563ca38000e007c2b..."} 
[2026-07-07 14:43:34] local.INFO: Processing buffer {"connection_id":126521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd8aa78012d9e95400563ca38000e007c2b..."} 
[2026-07-07 14:43:34] local.INFO: Packet analysis {"connection_id":126521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:43:34] local.INFO: Extracted packet for processing {"connection_id":126521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:43:34] local.INFO: GPS Element Parsed {"raw_longitude":765367616,"raw_latitude":90425912,"longitude_deg":76.5367616,"latitude_deg":9.0425912,"altitude":14,"angle":124,"satellites":43,"speed":26,"hex_longitude":"2d9e9540","hex_latitude":"0563ca38","is_valid_coordinates":true} 
[2026-07-07 14:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554362624001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341428777382838272,"note":"Value kept but may cause issues"} 
[2026-07-07 14:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7022448802060384256,"note":"Value kept but may cause issues"} 
[2026-07-07 14:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783415483000,"timestamp_ms":1783415483000,"timestamp_seconds":1783415483,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd8aa78"} 
[2026-07-07 14:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:43: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-07-07 14:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 14:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554362624001,"66":27919,"207":206,"84":7168,"24":26,"16":341428777382838272,"45":-7022448802060384256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,84,24,16,45]} 
[2026-07-07 14:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554362624001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:43:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 14:43:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341428777382838272,"km_value":341428777382838.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7022448802060384256,"description":"Unknown IO ID 45"} 
[2026-07-07 14:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554362624001,"power":27919,"unknown_207":206,"unknown_84":7168,"ignition":26,"odometer":null,"unknown_45":-7022448802060384256}} 
[2026-07-07 14:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":126521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:43:34] local.INFO: GPS data processed {"connection_id":126521,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:43:34] local.INFO: Acknowledgment sent {"connection_id":126521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:43:37] local.INFO: TCP Data received {"connection_id":124559,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:43:37] local.INFO: Processing buffer {"connection_id":124559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:43:37] local.INFO: Packet analysis {"connection_id":124559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:43:37] local.INFO: Extracted packet for processing {"connection_id":124559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554276608001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783415444000,"timestamp_ms":1783415444000,"timestamp_seconds":1783415444,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd81220"} 
[2026-07-07 14:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 14:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554276608001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554276608001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:43:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:43:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554276608001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":124559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:43:37] local.INFO: GPS data processed {"connection_id":124559,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:43:37] local.INFO: Acknowledgment sent {"connection_id":124559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:43:38] local.INFO: TCP Data received {"connection_id":124559,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:43:38] local.INFO: Processing buffer {"connection_id":124559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:43:38] local.INFO: Packet analysis {"connection_id":124559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:43:38] local.INFO: Extracted packet for processing {"connection_id":124559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554276608001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783415444000,"timestamp_ms":1783415444000,"timestamp_seconds":1783415444,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd81220"} 
[2026-07-07 14:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 14:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554276608001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554276608001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:43:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:43:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554276608001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":124559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:43:38] local.INFO: GPS data processed {"connection_id":124559,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:43:38] local.INFO: Acknowledgment sent {"connection_id":124559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:43:59] local.INFO: TCP Data received {"connection_id":126522,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:43:59] local.INFO: Processing buffer {"connection_id":126522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:43:59] local.INFO: IMEI packet received {"connection_id":126522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":126522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:44:03] local.INFO: TCP Data received {"connection_id":126522,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:44:03] local.INFO: Processing buffer {"connection_id":126522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:44:03] local.INFO: IMEI packet received {"connection_id":126522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":126522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:44:04] local.INFO: TCP Data received {"connection_id":126522,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bda15c0012d9f65800562a4f8000900a22b..."} 
[2026-07-07 14:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bda15c0012d9f65800562a4f8000900a22b..."} 
[2026-07-07 14:44:04] local.INFO: Processing buffer {"connection_id":126522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bda15c0012d9f65800562a4f8000900a22b..."} 
[2026-07-07 14:44:04] local.INFO: Packet analysis {"connection_id":126522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bda"} 
[2026-07-07 14:44:04] local.INFO: Extracted packet for processing {"connection_id":126522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bda"} 
[2026-07-07 14:44:04] local.INFO: GPS Element Parsed {"raw_longitude":765420928,"raw_latitude":90350840,"longitude_deg":76.5420928,"latitude_deg":9.035084,"altitude":9,"angle":162,"satellites":43,"speed":55,"hex_longitude":"2d9f6580","hex_latitude":"0562a4f8","is_valid_coordinates":true} 
[2026-07-07 14: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-07-07 14:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554385664001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341433398767648768,"note":"Value kept but may cause issues"} 
[2026-07-07 14:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6964253850642890752,"note":"Value kept but may cause issues"} 
[2026-07-07 14:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783415576000,"timestamp_ms":1783415576000,"timestamp_seconds":1783415576,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bda15c0"} 
[2026-07-07 14:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 14:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14: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-07-07 14:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554385664001,"66":27865,"245":206,"84":7168,"24":55,"16":341433398767648768,"45":-6964253850642890752},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,84,24,16,45]} 
[2026-07-07 14:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554385664001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:44:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341433398767648768,"km_value":341433398767648.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6964253850642890752,"description":"Unknown IO ID 45"} 
[2026-07-07 14:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554385664001,"power":27865,"geofence_id":206,"unknown_84":7168,"ignition":55,"odometer":null,"unknown_45":-6964253850642890752}} 
[2026-07-07 14:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":126522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:44:04] local.INFO: GPS data processed {"connection_id":126522,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:44:04] local.INFO: Acknowledgment sent {"connection_id":126522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:44:26] local.INFO: TCP Data received {"connection_id":124464,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:44:26] local.INFO: Processing buffer {"connection_id":124464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:44:26] local.INFO: IMEI packet received {"connection_id":124464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":124464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:44:32] local.INFO: TCP Data received {"connection_id":124464,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:44:32] local.INFO: Processing buffer {"connection_id":124464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:44:32] local.INFO: IMEI packet received {"connection_id":124464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":124464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:44:33] local.INFO: TCP Data received {"connection_id":124464,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:44:33] local.INFO: Processing buffer {"connection_id":124464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:44:33] local.INFO: Packet analysis {"connection_id":124464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:44:33] local.INFO: Extracted packet for processing {"connection_id":124464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:44:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554276608001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783415444000,"timestamp_ms":1783415444000,"timestamp_seconds":1783415444,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd81220"} 
[2026-07-07 14:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 14:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14: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-07-07 14:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554276608001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554276608001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:44:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:44:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554276608001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":124464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:44:33] local.INFO: GPS data processed {"connection_id":124464,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:44:33] local.INFO: Acknowledgment sent {"connection_id":124464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:44:37] local.INFO: TCP Data received {"connection_id":126522,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bda3118012d9f7200056281100008009e2a..."} 
[2026-07-07 14:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bda3118012d9f7200056281100008009e2a..."} 
[2026-07-07 14:44:37] local.INFO: Processing buffer {"connection_id":126522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bda3118012d9f7200056281100008009e2a..."} 
[2026-07-07 14:44:37] local.INFO: Packet analysis {"connection_id":126522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bda"} 
[2026-07-07 14:44:37] local.INFO: Extracted packet for processing {"connection_id":126522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bda"} 
[2026-07-07 14:44:37] local.INFO: GPS Element Parsed {"raw_longitude":765424128,"raw_latitude":90341648,"longitude_deg":76.5424128,"latitude_deg":9.0341648,"altitude":8,"angle":158,"satellites":42,"speed":55,"hex_longitude":"2d9f7200","hex_latitude":"05628110","is_valid_coordinates":true} 
[2026-07-07 14:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554387456001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341433871214051328,"note":"Value kept but may cause issues"} 
[2026-07-07 14:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6961016888413063168,"note":"Value kept but may cause issues"} 
[2026-07-07 14:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783415583000,"timestamp_ms":1783415583000,"timestamp_seconds":1783415583,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bda3118"} 
[2026-07-07 14:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:44: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-07-07 14:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 14:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554387456001,"66":27995,"246":206,"84":7168,"24":55,"16":341433871214051328,"45":-6961016888413063168},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,84,24,16,45]} 
[2026-07-07 14:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554387456001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:44:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341433871214051328,"km_value":341433871214051.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6961016888413063168,"description":"Unknown IO ID 45"} 
[2026-07-07 14:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554387456001,"power":27995,"main_input_voltage":206,"unknown_84":7168,"ignition":55,"odometer":null,"unknown_45":-6961016888413063168}} 
[2026-07-07 14:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":126522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:44:37] local.INFO: GPS data processed {"connection_id":126522,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:44:37] local.INFO: Acknowledgment sent {"connection_id":126522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:44:38] local.INFO: TCP Data received {"connection_id":124464,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:44:38] local.INFO: Processing buffer {"connection_id":124464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:44:38] local.INFO: Packet analysis {"connection_id":124464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:44:38] local.INFO: Extracted packet for processing {"connection_id":124464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554276608001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783415444000,"timestamp_ms":1783415444000,"timestamp_seconds":1783415444,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd81220"} 
[2026-07-07 14:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 14:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554276608001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554276608001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:44:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:44:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554276608001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":124464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:44:38] local.INFO: GPS data processed {"connection_id":124464,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:44:38] local.INFO: Acknowledgment sent {"connection_id":124464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:44:58] local.INFO: TCP Data received {"connection_id":126523,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:44:58] local.INFO: Processing buffer {"connection_id":126523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:44:58] local.INFO: IMEI packet received {"connection_id":126523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":126523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:44:58] local.INFO: TCP Data received {"connection_id":126523,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:44:58] local.INFO: Processing buffer {"connection_id":126523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:44:58] local.INFO: IMEI packet received {"connection_id":126523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":126523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:45:04] local.INFO: TCP Data received {"connection_id":126523,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:45:04] local.INFO: Processing buffer {"connection_id":126523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:45:04] local.INFO: IMEI packet received {"connection_id":126523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":126523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:45:05] local.INFO: TCP Data received {"connection_id":126523,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bda4c70012d9f81c005625e700009009b2c..."} 
[2026-07-07 14:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bda4c70012d9f81c005625e700009009b2c..."} 
[2026-07-07 14:45:05] local.INFO: Processing buffer {"connection_id":126523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bda4c70012d9f81c005625e700009009b2c..."} 
[2026-07-07 14:45:05] local.INFO: Packet analysis {"connection_id":126523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bda"} 
[2026-07-07 14:45:05] local.INFO: Extracted packet for processing {"connection_id":126523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bda"} 
[2026-07-07 14:45:05] local.INFO: GPS Element Parsed {"raw_longitude":765428160,"raw_latitude":90332784,"longitude_deg":76.542816,"latitude_deg":9.0332784,"altitude":9,"angle":155,"satellites":44,"speed":54,"hex_longitude":"2d9f81c0","hex_latitude":"05625e70","is_valid_coordinates":true} 
[2026-07-07 14:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554389248001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341434343660453888,"note":"Value kept but may cause issues"} 
[2026-07-07 14:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6957498451206533120,"note":"Value kept but may cause issues"} 
[2026-07-07 14:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783415590000,"timestamp_ms":1783415590000,"timestamp_seconds":1783415590,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bda4c70"} 
[2026-07-07 14:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 14:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554389248001,"66":27930,"246":206,"84":7168,"24":54,"16":341434343660453888,"45":-6957498451206533120},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,84,24,16,45]} 
[2026-07-07 14:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554389248001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:45:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341434343660453888,"km_value":341434343660453.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6957498451206533120,"description":"Unknown IO ID 45"} 
[2026-07-07 14:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554389248001,"power":27930,"main_input_voltage":206,"unknown_84":7168,"ignition":54,"odometer":null,"unknown_45":-6957498451206533120}} 
[2026-07-07 14:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":126523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:45:05] local.INFO: GPS data processed {"connection_id":126523,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:45:05] local.INFO: Acknowledgment sent {"connection_id":126523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:45:21] local.INFO: TCP Data received {"connection_id":124465,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:45:21] local.INFO: Processing buffer {"connection_id":124465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:45:21] local.INFO: IMEI packet received {"connection_id":124465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":124465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:45:26] local.INFO: TCP Data received {"connection_id":124465,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:45:26] local.INFO: Processing buffer {"connection_id":124465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:45:26] local.INFO: IMEI packet received {"connection_id":124465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":124465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:45:30] local.INFO: TCP Data received {"connection_id":124465,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:45:30] local.INFO: Processing buffer {"connection_id":124465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:45:30] local.INFO: Packet analysis {"connection_id":124465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:45:30] local.INFO: Extracted packet for processing {"connection_id":124465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:45:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554276608001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:45: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-07-07 14:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783415444000,"timestamp_ms":1783415444000,"timestamp_seconds":1783415444,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd81220"} 
[2026-07-07 14:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 14:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554276608001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554276608001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:45:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:45:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554276608001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":124465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:45:30] local.INFO: GPS data processed {"connection_id":124465,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:45:30] local.INFO: Acknowledgment sent {"connection_id":124465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:45:36] local.INFO: TCP Data received {"connection_id":126523,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bda67c8012d9f900005623b80000a00a32d..."} 
[2026-07-07 14:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bda67c8012d9f900005623b80000a00a32d..."} 
[2026-07-07 14:45:36] local.INFO: Processing buffer {"connection_id":126523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bda67c8012d9f900005623b80000a00a32d..."} 
[2026-07-07 14:45:36] local.INFO: Packet analysis {"connection_id":126523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bda"} 
[2026-07-07 14:45:36] local.INFO: Extracted packet for processing {"connection_id":126523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bda"} 
[2026-07-07 14:45:36] local.INFO: GPS Element Parsed {"raw_longitude":765431808,"raw_latitude":90323840,"longitude_deg":76.5431808,"latitude_deg":9.032384,"altitude":10,"angle":163,"satellites":45,"speed":54,"hex_longitude":"2d9f9000","hex_latitude":"05623b80","is_valid_coordinates":true} 
[2026-07-07 14:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554391040001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341434811811889152,"note":"Value kept but may cause issues"} 
[2026-07-07 14:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6953065220325609472,"note":"Value kept but may cause issues"} 
[2026-07-07 14:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783415597000,"timestamp_ms":1783415597000,"timestamp_seconds":1783415597,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bda67c8"} 
[2026-07-07 14:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 14:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554391040001,"66":27843,"246":206,"84":7168,"24":54,"16":341434811811889152,"45":-6953065220325609472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,84,24,16,45]} 
[2026-07-07 14:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554391040001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:45:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341434811811889152,"km_value":341434811811889.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6953065220325609472,"description":"Unknown IO ID 45"} 
[2026-07-07 14:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554391040001,"power":27843,"main_input_voltage":206,"unknown_84":7168,"ignition":54,"odometer":null,"unknown_45":-6953065220325609472}} 
[2026-07-07 14:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":126523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:45:36] local.INFO: GPS data processed {"connection_id":126523,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:45:36] local.INFO: Acknowledgment sent {"connection_id":126523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:45:58] local.INFO: TCP Data received {"connection_id":125282,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:45:58] local.INFO: Processing buffer {"connection_id":125282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:45:58] local.INFO: IMEI packet received {"connection_id":125282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":125282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:46:01] local.INFO: TCP Data received {"connection_id":125282,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:46:01] local.INFO: Processing buffer {"connection_id":125282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:46:01] local.INFO: IMEI packet received {"connection_id":125282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":125282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:46:01] local.INFO: TCP Data received {"connection_id":125282,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:46:01] local.INFO: Processing buffer {"connection_id":125282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:46:01] local.INFO: IMEI packet received {"connection_id":125282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":125282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:46:02] local.INFO: TCP Data received {"connection_id":124465,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:46:02] local.INFO: Processing buffer {"connection_id":124465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bd81220012d196940071fec58003200671e..."} 
[2026-07-07 14:46:02] local.INFO: Packet analysis {"connection_id":124465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:46:02] local.INFO: Extracted packet for processing {"connection_id":124465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bd8"} 
[2026-07-07 14:46:02] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554276608001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783415444000,"timestamp_ms":1783415444000,"timestamp_seconds":1783415444,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bd81220"} 
[2026-07-07 14:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:46: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":96,"data_length":795,"current_offset":136} 
[2026-07-07 14:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554276608001,"66":2155,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554276608001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:46:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:46:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554276608001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":124465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:46:02] local.INFO: GPS data processed {"connection_id":124465,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:46:02] local.INFO: Acknowledgment sent {"connection_id":124465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:46:04] local.INFO: TCP Data received {"connection_id":125282,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:46:04] local.INFO: Processing buffer {"connection_id":125282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:46:04] local.INFO: IMEI packet received {"connection_id":125282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":125282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:46:05] local.INFO: TCP Data received {"connection_id":125282,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bda8708012d9f978005621668000900b02c..."} 
[2026-07-07 14:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bda8708012d9f978005621668000900b02c..."} 
[2026-07-07 14:46:05] local.INFO: Processing buffer {"connection_id":125282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bda8708012d9f978005621668000900b02c..."} 
[2026-07-07 14:46:05] local.INFO: Packet analysis {"connection_id":125282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bda"} 
[2026-07-07 14:46:05] local.INFO: Extracted packet for processing {"connection_id":125282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bda"} 
[2026-07-07 14:46:05] local.INFO: GPS Element Parsed {"raw_longitude":765433728,"raw_latitude":90314344,"longitude_deg":76.5433728,"latitude_deg":9.0314344,"altitude":9,"angle":176,"satellites":44,"speed":35,"hex_longitude":"2d9f9780","hex_latitude":"05621668","is_valid_coordinates":true} 
[2026-07-07 14:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554392832001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341435279963324416,"note":"Value kept but may cause issues"} 
[2026-07-07 14:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6949054201909772288,"note":"Value kept but may cause issues"} 
[2026-07-07 14:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783415605000,"timestamp_ms":1783415605000,"timestamp_seconds":1783415605,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bda8708"} 
[2026-07-07 14:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 14:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554392832001,"66":27843,"246":206,"84":7168,"24":35,"16":341435279963324416,"45":-6949054201909772288},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,84,24,16,45]} 
[2026-07-07 14:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554392832001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:46:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341435279963324416,"km_value":341435279963324.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6949054201909772288,"description":"Unknown IO ID 45"} 
[2026-07-07 14:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554392832001,"power":27843,"main_input_voltage":206,"unknown_84":7168,"ignition":35,"odometer":null,"unknown_45":-6949054201909772288}} 
[2026-07-07 14:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":125282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:46:05] local.INFO: GPS data processed {"connection_id":125282,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:46:05] local.INFO: Acknowledgment sent {"connection_id":125282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:46:22] local.INFO: TCP Data received {"connection_id":124467,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:46:22] local.INFO: Processing buffer {"connection_id":124467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:46:22] local.INFO: IMEI packet received {"connection_id":124467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":124467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:46:23] local.INFO: TCP Data received {"connection_id":124467,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:46:23] local.INFO: Processing buffer {"connection_id":124467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:46:23] local.INFO: IMEI packet received {"connection_id":124467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":124467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:46:25] local.INFO: TCP Data received {"connection_id":124467,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:46:25] local.INFO: Processing buffer {"connection_id":124467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:46:25] local.INFO: Packet analysis {"connection_id":124467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:46:25] local.INFO: Extracted packet for processing {"connection_id":124467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:46:25] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554353664001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:46: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-07-07 14:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783415745000,"timestamp_ms":1783415745000,"timestamp_seconds":1783415745,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bdca9e8"} 
[2026-07-07 14:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":124467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":124467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":124467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554353664001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554353664001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:46:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:46:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554353664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":124467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:46:25] local.INFO: GPS data processed {"connection_id":124467,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:46:25] local.INFO: Acknowledgment sent {"connection_id":124467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:46:47] local.INFO: TCP Data received {"connection_id":125282,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bdc7338012d9f60c00560c700000800d629..."} 
[2026-07-07 14:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bdc7338012d9f60c00560c700000800d629..."} 
[2026-07-07 14:46:47] local.INFO: Processing buffer {"connection_id":125282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bdc7338012d9f60c00560c700000800d629..."} 
[2026-07-07 14:46:47] local.INFO: Packet analysis {"connection_id":125282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:46:47] local.INFO: Extracted packet for processing {"connection_id":125282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:46:47] local.INFO: GPS Element Parsed {"raw_longitude":765419712,"raw_latitude":90228480,"longitude_deg":76.5419712,"latitude_deg":9.022848,"altitude":8,"angle":214,"satellites":41,"speed":51,"hex_longitude":"2d9f60c0","hex_latitude":"0560c700","is_valid_coordinates":true} 
[2026-07-07 14:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554427136001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341439540570882048,"note":"Value kept but may cause issues"} 
[2026-07-07 14:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6962353894583762944,"note":"Value kept but may cause issues"} 
[2026-07-07 14:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783415731000,"timestamp_ms":1783415731000,"timestamp_seconds":1783415731,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bdc7338"} 
[2026-07-07 14:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 14: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-07-07 14:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":125282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":125282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":125282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554427136001,"66":27865,"175":206,"84":7168,"24":51,"16":341439540570882048,"45":-6962353894583762944},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-07-07 14:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554427136001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:46:47] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-07 14:46:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341439540570882048,"km_value":341439540570882.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6962353894583762944,"description":"Unknown IO ID 45"} 
[2026-07-07 14:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554427136001,"power":27865,"unknown_175":206,"unknown_84":7168,"ignition":51,"odometer":null,"unknown_45":-6962353894583762944}} 
[2026-07-07 14:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":125282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:46:47] local.INFO: GPS data processed {"connection_id":125282,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:46:47] local.INFO: Acknowledgment sent {"connection_id":125282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:46:56] local.INFO: TCP Data received {"connection_id":124467,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:46:56] local.INFO: Processing buffer {"connection_id":124467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:46:56] local.INFO: Packet analysis {"connection_id":124467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:46:56] local.INFO: Extracted packet for processing {"connection_id":124467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:46:56] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554353664001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:46: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-07-07 14:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783415745000,"timestamp_ms":1783415745000,"timestamp_seconds":1783415745,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bdca9e8"} 
[2026-07-07 14:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":124467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":124467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":124467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554353664001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554353664001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:46:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:46:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554353664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":124467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:46:56] local.INFO: GPS data processed {"connection_id":124467,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:46:56] local.INFO: Acknowledgment sent {"connection_id":124467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:47:01] local.INFO: TCP Data received {"connection_id":124560,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:47:01] local.INFO: Processing buffer {"connection_id":124560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:47:01] local.INFO: IMEI packet received {"connection_id":124560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":124560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:47:03] local.INFO: TCP Data received {"connection_id":124560,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:47:03] local.INFO: Processing buffer {"connection_id":124560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:47:03] local.INFO: IMEI packet received {"connection_id":124560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":124560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:47:03] local.INFO: TCP Data received {"connection_id":124560,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:47:03] local.INFO: Processing buffer {"connection_id":124560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:47:03] local.INFO: IMEI packet received {"connection_id":124560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":124560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:47:07] local.INFO: TCP Data received {"connection_id":124560,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:47:07] local.INFO: Processing buffer {"connection_id":124560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:47:07] local.INFO: IMEI packet received {"connection_id":124560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":124560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:47:08] local.INFO: TCP Data received {"connection_id":124560,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bdc8e90012d9f49c00560ab10000800e02a..."} 
[2026-07-07 14:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bdc8e90012d9f49c00560ab10000800e02a..."} 
[2026-07-07 14:47:08] local.INFO: Processing buffer {"connection_id":124560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bdc8e90012d9f49c00560ab10000800e02a..."} 
[2026-07-07 14:47:08] local.INFO: Packet analysis {"connection_id":124560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:47:08] local.INFO: Extracted packet for processing {"connection_id":124560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:47:08] local.INFO: GPS Element Parsed {"raw_longitude":765413824,"raw_latitude":90221328,"longitude_deg":76.5413824,"latitude_deg":9.0221328,"altitude":8,"angle":224,"satellites":42,"speed":53,"hex_longitude":"2d9f49c0","hex_latitude":"0560ab10","is_valid_coordinates":true} 
[2026-07-07 14:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554427136001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341439987247480832,"note":"Value kept but may cause issues"} 
[2026-07-07 14:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6962353894583762944,"note":"Value kept but may cause issues"} 
[2026-07-07 14:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783415738000,"timestamp_ms":1783415738000,"timestamp_seconds":1783415738,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bdc8e90"} 
[2026-07-07 14:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:47: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-07-07 14:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 14:47: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-07-07 14:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554427136001,"66":27876,"175":206,"84":7168,"24":53,"16":341439987247480832,"45":-6962353894583762944},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-07-07 14:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554427136001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:47:08] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-07 14:47:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341439987247480832,"km_value":341439987247480.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6962353894583762944,"description":"Unknown IO ID 45"} 
[2026-07-07 14:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554427136001,"power":27876,"unknown_175":206,"unknown_84":7168,"ignition":53,"odometer":null,"unknown_45":-6962353894583762944}} 
[2026-07-07 14:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":124560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:47:08] local.INFO: GPS data processed {"connection_id":124560,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:47:08] local.INFO: Acknowledgment sent {"connection_id":124560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:47:26] local.INFO: TCP Data received {"connection_id":126524,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:47:26] local.INFO: Processing buffer {"connection_id":126524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:47:26] local.INFO: IMEI packet received {"connection_id":126524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":126524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:47:31] local.INFO: TCP Data received {"connection_id":126524,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:47:31] local.INFO: Processing buffer {"connection_id":126524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:47:31] local.INFO: IMEI packet received {"connection_id":126524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":126524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:47:33] local.INFO: TCP Data received {"connection_id":126524,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:47:33] local.INFO: Processing buffer {"connection_id":126524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:47:33] local.INFO: Packet analysis {"connection_id":126524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:47:33] local.INFO: Extracted packet for processing {"connection_id":126524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:47:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554353664001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783415745000,"timestamp_ms":1783415745000,"timestamp_seconds":1783415745,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bdca9e8"} 
[2026-07-07 14:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554353664001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554353664001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:47:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:47:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554353664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":126524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:47:33] local.INFO: GPS data processed {"connection_id":126524,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:47:33] local.INFO: Acknowledgment sent {"connection_id":126524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:47:37] local.INFO: TCP Data received {"connection_id":126524,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:47:37] local.INFO: Processing buffer {"connection_id":126524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:47:37] local.INFO: Packet analysis {"connection_id":126524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:47:37] local.INFO: Extracted packet for processing {"connection_id":126524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554353664001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783415745000,"timestamp_ms":1783415745000,"timestamp_seconds":1783415745,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bdca9e8"} 
[2026-07-07 14:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554353664001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554353664001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:47:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:47:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554353664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":126524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:47:37] local.INFO: GPS data processed {"connection_id":126524,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:47:37] local.INFO: Acknowledgment sent {"connection_id":126524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:47:39] local.INFO: TCP Data received {"connection_id":124560,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bdcb1b8012d9f310005609180000700e02a..."} 
[2026-07-07 14:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bdcb1b8012d9f310005609180000700e02a..."} 
[2026-07-07 14:47:39] local.INFO: Processing buffer {"connection_id":124560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bdcb1b8012d9f310005609180000700e02a..."} 
[2026-07-07 14:47:39] local.INFO: Packet analysis {"connection_id":124560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:47:39] local.INFO: Extracted packet for processing {"connection_id":124560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:47:39] local.INFO: GPS Element Parsed {"raw_longitude":765407488,"raw_latitude":90214784,"longitude_deg":76.5407488,"latitude_deg":9.0214784,"altitude":7,"angle":224,"satellites":42,"speed":20,"hex_longitude":"2d9f3100","hex_latitude":"05609180","is_valid_coordinates":true} 
[2026-07-07 14:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554428928001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341440429629112320,"note":"Value kept but may cause issues"} 
[2026-07-07 14:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6968827819049938944,"note":"Value kept but may cause issues"} 
[2026-07-07 14:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783415747000,"timestamp_ms":1783415747000,"timestamp_seconds":1783415747,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bdcb1b8"} 
[2026-07-07 14:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 14:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554428928001,"66":27919,"175":206,"84":7168,"24":20,"16":341440429629112320,"45":-6968827819049938944},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-07-07 14:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554428928001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:47:39] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-07 14:47:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341440429629112320,"km_value":341440429629112.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6968827819049938944,"description":"Unknown IO ID 45"} 
[2026-07-07 14:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554428928001,"power":27919,"unknown_175":206,"unknown_84":7168,"ignition":20,"odometer":null,"unknown_45":-6968827819049938944}} 
[2026-07-07 14:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":124560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:47:39] local.INFO: GPS data processed {"connection_id":124560,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:47:39] local.INFO: Acknowledgment sent {"connection_id":124560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:47:59] local.INFO: TCP Data received {"connection_id":124470,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:47:59] local.INFO: Processing buffer {"connection_id":124470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:47:59] local.INFO: IMEI packet received {"connection_id":124470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 14:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":124470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:47:59] local.INFO: TCP Data received {"connection_id":124469,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:47:59] local.INFO: Processing buffer {"connection_id":124469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:47:59] local.INFO: IMEI packet received {"connection_id":124469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":124469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:48:02] local.INFO: TCP Data received {"connection_id":124469,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:48:02] local.INFO: Processing buffer {"connection_id":124469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:48:02] local.INFO: IMEI packet received {"connection_id":124469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":124469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:48:03] local.INFO: TCP Data received {"connection_id":124469,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bddd2c8012d9ea280055fe788000800c92d..."} 
[2026-07-07 14:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bddd2c8012d9ea280055fe788000800c92d..."} 
[2026-07-07 14:48:03] local.INFO: Processing buffer {"connection_id":124469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bddd2c8012d9ea280055fe788000800c92d..."} 
[2026-07-07 14:48:03] local.INFO: Packet analysis {"connection_id":124469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdd"} 
[2026-07-07 14:48:03] local.INFO: Extracted packet for processing {"connection_id":124469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdd"} 
[2026-07-07 14:48:03] local.INFO: GPS Element Parsed {"raw_longitude":765371008,"raw_latitude":90171272,"longitude_deg":76.5371008,"latitude_deg":9.0171272,"altitude":8,"angle":201,"satellites":45,"speed":49,"hex_longitude":"2d9ea280","hex_latitude":"055fe788","is_valid_coordinates":true} 
[2026-07-07 14:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554448128001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341443234242756608,"note":"Value kept but may cause issues"} 
[2026-07-07 14:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7011682384264732672,"note":"Value kept but may cause issues"} 
[2026-07-07 14:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783415821000,"timestamp_ms":1783415821000,"timestamp_seconds":1783415821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bddd2c8"} 
[2026-07-07 14:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:48: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-07-07 14:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 14:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554448128001,"66":27821,"127":206,"84":7168,"24":49,"16":341443234242756608,"45":-7011682384264732672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,84,24,16,45]} 
[2026-07-07 14:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554448128001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:48:03] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-07 14:48:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341443234242756608,"km_value":341443234242756.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7011682384264732672,"description":"Unknown IO ID 45"} 
[2026-07-07 14:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554448128001,"power":27821,"unknown_127":206,"unknown_84":7168,"ignition":49,"odometer":null,"unknown_45":-7011682384264732672}} 
[2026-07-07 14:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":124469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:48:03] local.INFO: GPS data processed {"connection_id":124469,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:48:03] local.INFO: Acknowledgment sent {"connection_id":124469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:48:21] local.INFO: TCP Data received {"connection_id":124471,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:48:21] local.INFO: Processing buffer {"connection_id":124471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:48:21] local.INFO: IMEI packet received {"connection_id":124471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":124471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:48:26] local.INFO: TCP Data received {"connection_id":124471,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:48:26] local.INFO: Processing buffer {"connection_id":124471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:48:26] local.INFO: IMEI packet received {"connection_id":124471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":124471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:48:28] local.INFO: TCP Data received {"connection_id":124471,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:48:28] local.INFO: Processing buffer {"connection_id":124471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:48:28] local.INFO: Packet analysis {"connection_id":124471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:48:28] local.INFO: Extracted packet for processing {"connection_id":124471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554353664001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:48: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-07-07 14:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783415745000,"timestamp_ms":1783415745000,"timestamp_seconds":1783415745,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bdca9e8"} 
[2026-07-07 14:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554353664001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554353664001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:48:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:48:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554353664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":124471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:48:28] local.INFO: GPS data processed {"connection_id":124471,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:48:28] local.INFO: Acknowledgment sent {"connection_id":124471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:48:33] local.INFO: TCP Data received {"connection_id":124469,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bddf208012d9e9400055fc308000800cb29..."} 
[2026-07-07 14:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bddf208012d9e9400055fc308000800cb29..."} 
[2026-07-07 14:48:34] local.INFO: Processing buffer {"connection_id":124469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bddf208012d9e9400055fc308000800cb29..."} 
[2026-07-07 14:48:34] local.INFO: Packet analysis {"connection_id":124469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdd"} 
[2026-07-07 14:48:34] local.INFO: Extracted packet for processing {"connection_id":124469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdd"} 
[2026-07-07 14:48:34] local.INFO: GPS Element Parsed {"raw_longitude":765367296,"raw_latitude":90161928,"longitude_deg":76.5367296,"latitude_deg":9.0161928,"altitude":8,"angle":203,"satellites":41,"speed":46,"hex_longitude":"2d9e9400","hex_latitude":"055fc308","is_valid_coordinates":true} 
[2026-07-07 14:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554450176001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341443719574061056,"note":"Value kept but may cause issues"} 
[2026-07-07 14:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7015904508917610496,"note":"Value kept but may cause issues"} 
[2026-07-07 14:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783415829000,"timestamp_ms":1783415829000,"timestamp_seconds":1783415829,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bddf208"} 
[2026-07-07 14:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:48: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-07-07 14:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 14:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554450176001,"66":27843,"127":206,"84":7168,"24":46,"16":341443719574061056,"45":-7015904508917610496},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,84,24,16,45]} 
[2026-07-07 14:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554450176001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:48:34] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-07 14:48:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341443719574061056,"km_value":341443719574061.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7015904508917610496,"description":"Unknown IO ID 45"} 
[2026-07-07 14:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554450176001,"power":27843,"unknown_127":206,"unknown_84":7168,"ignition":46,"odometer":null,"unknown_45":-7015904508917610496}} 
[2026-07-07 14:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":124469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:48:34] local.INFO: GPS data processed {"connection_id":124469,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:48:34] local.INFO: Acknowledgment sent {"connection_id":124469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:49:00] local.INFO: TCP Data received {"connection_id":124471,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:49:00] local.INFO: Processing buffer {"connection_id":124471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:49:00] local.INFO: Packet analysis {"connection_id":124471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:49:00] local.INFO: Extracted packet for processing {"connection_id":124471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:49:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554353664001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:49: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-07-07 14:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783415745000,"timestamp_ms":1783415745000,"timestamp_seconds":1783415745,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bdca9e8"} 
[2026-07-07 14:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554353664001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554353664001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:49:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:49:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554353664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":124471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:49:00] local.INFO: GPS data processed {"connection_id":124471,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:49:00] local.INFO: Acknowledgment sent {"connection_id":124471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:49:04] local.INFO: TCP Data received {"connection_id":125283,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:49:04] local.INFO: Processing buffer {"connection_id":125283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:49:04] local.INFO: IMEI packet received {"connection_id":125283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":125283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:49:09] local.INFO: TCP Data received {"connection_id":125283,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:49:09] local.INFO: Processing buffer {"connection_id":125283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:49:09] local.INFO: IMEI packet received {"connection_id":125283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":125283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:49:10] local.INFO: TCP Data received {"connection_id":125283,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bde1148012d9e87c0055f9f30000800c32c..."} 
[2026-07-07 14:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bde1148012d9e87c0055f9f30000800c32c..."} 
[2026-07-07 14:49:10] local.INFO: Processing buffer {"connection_id":125283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bde1148012d9e87c0055f9f30000800c32c..."} 
[2026-07-07 14:49:10] local.INFO: Packet analysis {"connection_id":125283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bde"} 
[2026-07-07 14:49:10] local.INFO: Extracted packet for processing {"connection_id":125283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bde"} 
[2026-07-07 14:49:10] local.INFO: GPS Element Parsed {"raw_longitude":765364160,"raw_latitude":90152752,"longitude_deg":76.536416,"latitude_deg":9.0152752,"altitude":8,"angle":195,"satellites":44,"speed":49,"hex_longitude":"2d9e87c0","hex_latitude":"055f9f30","is_valid_coordinates":true} 
[2026-07-07 14:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554452224001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341444192020463616,"note":"Value kept but may cause issues"} 
[2026-07-07 14:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7019985896082307072,"note":"Value kept but may cause issues"} 
[2026-07-07 14:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783415837000,"timestamp_ms":1783415837000,"timestamp_seconds":1783415837,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bde1148"} 
[2026-07-07 14:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14: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-07-07 14:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 14:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554452224001,"66":27908,"128":206,"84":7168,"24":49,"16":341444192020463616,"45":-7019985896082307072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,84,24,16,45]} 
[2026-07-07 14:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554452224001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:49:10] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-07-07 14:49:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341444192020463616,"km_value":341444192020463.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7019985896082307072,"description":"Unknown IO ID 45"} 
[2026-07-07 14:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554452224001,"power":27908,"unknown_128":206,"unknown_84":7168,"ignition":49,"odometer":null,"unknown_45":-7019985896082307072}} 
[2026-07-07 14:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":125283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:49:10] local.INFO: GPS data processed {"connection_id":125283,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:49:10] local.INFO: Acknowledgment sent {"connection_id":125283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:49:21] local.INFO: TCP Data received {"connection_id":126525,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:49:21] local.INFO: Processing buffer {"connection_id":126525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:49:21] local.INFO: IMEI packet received {"connection_id":126525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":126525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:49:26] local.INFO: TCP Data received {"connection_id":126525,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:49:26] local.INFO: Processing buffer {"connection_id":126525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:49:26] local.INFO: IMEI packet received {"connection_id":126525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":126525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:49:28] local.INFO: TCP Data received {"connection_id":126525,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:49:28] local.INFO: Processing buffer {"connection_id":126525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:49:28] local.INFO: Packet analysis {"connection_id":126525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:49:28] local.INFO: Extracted packet for processing {"connection_id":126525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:49:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554353664001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:49: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-07-07 14:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783415745000,"timestamp_ms":1783415745000,"timestamp_seconds":1783415745,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bdca9e8"} 
[2026-07-07 14:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554353664001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554353664001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:49:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:49:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554353664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":126525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:49:28] local.INFO: GPS data processed {"connection_id":126525,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:49:28] local.INFO: Acknowledgment sent {"connection_id":126525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:49:41] local.INFO: TCP Data received {"connection_id":125283,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bdf5198012d9ea6c0055ecd00000800b02d..."} 
[2026-07-07 14:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bdf5198012d9ea6c0055ecd00000800b02d..."} 
[2026-07-07 14:49:41] local.INFO: Processing buffer {"connection_id":125283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bdf5198012d9ea6c0055ecd00000800b02d..."} 
[2026-07-07 14:49:41] local.INFO: Packet analysis {"connection_id":125283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdf"} 
[2026-07-07 14:49:41] local.INFO: Extracted packet for processing {"connection_id":125283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdf"} 
[2026-07-07 14:49:41] local.INFO: GPS Element Parsed {"raw_longitude":765372096,"raw_latitude":90098944,"longitude_deg":76.5372096,"latitude_deg":9.0098944,"altitude":8,"angle":176,"satellites":45,"speed":35,"hex_longitude":"2d9ea6c0","hex_latitude":"055ecd00","is_valid_coordinates":true} 
[2026-07-07 14:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554473728001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341446910734761984,"note":"Value kept but may cause issues"} 
[2026-07-07 14:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7014145290330376192,"note":"Value kept but may cause issues"} 
[2026-07-07 14:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783415919000,"timestamp_ms":1783415919000,"timestamp_seconds":1783415919,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bdf5198"} 
[2026-07-07 14:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14: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-07-07 14:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 14:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554473728001,"66":27767,"143":206,"84":7168,"24":35,"16":341446910734761984,"45":-7014145290330376192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-07-07 14:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554473728001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:49:41] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-07 14:49:41] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341446910734761984,"km_value":341446910734762.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7014145290330376192,"description":"Unknown IO ID 45"} 
[2026-07-07 14:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554473728001,"power":27767,"unknown_143":206,"unknown_84":7168,"ignition":35,"odometer":null,"unknown_45":-7014145290330376192}} 
[2026-07-07 14:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":125283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:49:41] local.INFO: GPS data processed {"connection_id":125283,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:49:41] local.INFO: Acknowledgment sent {"connection_id":125283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:49:58] local.INFO: TCP Data received {"connection_id":124563,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:49:58] local.INFO: Processing buffer {"connection_id":124563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:49:58] local.INFO: IMEI packet received {"connection_id":124563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":124563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:49:59] local.INFO: TCP Data received {"connection_id":124563,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:49:59] local.INFO: Processing buffer {"connection_id":124563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:49:59] local.INFO: IMEI packet received {"connection_id":124563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":124563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:50:00] local.INFO: TCP Data received {"connection_id":126525,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:50:00] local.INFO: Processing buffer {"connection_id":126525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:50:00] local.INFO: Packet analysis {"connection_id":126525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:50:00] local.INFO: Extracted packet for processing {"connection_id":126525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:50:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554353664001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:50: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-07-07 14:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783415745000,"timestamp_ms":1783415745000,"timestamp_seconds":1783415745,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bdca9e8"} 
[2026-07-07 14:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554353664001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554353664001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:50:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:50:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554353664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":126525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:50:00] local.INFO: GPS data processed {"connection_id":126525,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:50:00] local.INFO: Acknowledgment sent {"connection_id":126525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:50:03] local.INFO: TCP Data received {"connection_id":124563,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:50:03] local.INFO: Processing buffer {"connection_id":124563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:50:03] local.INFO: IMEI packet received {"connection_id":124563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":124563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:50:03] local.INFO: TCP Data received {"connection_id":124563,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:50:03] local.INFO: Processing buffer {"connection_id":124563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:50:03] local.INFO: IMEI packet received {"connection_id":124563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":124563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:50:04] local.INFO: TCP Data received {"connection_id":124563,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bdf70d8012d9ea5c0055eaf68000800bc2d..."} 
[2026-07-07 14:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bdf70d8012d9ea5c0055eaf68000800bc2d..."} 
[2026-07-07 14:50:04] local.INFO: Processing buffer {"connection_id":124563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bdf70d8012d9ea5c0055eaf68000800bc2d..."} 
[2026-07-07 14:50:04] local.INFO: Packet analysis {"connection_id":124563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdf"} 
[2026-07-07 14:50:04] local.INFO: Extracted packet for processing {"connection_id":124563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdf"} 
[2026-07-07 14:50:04] local.INFO: GPS Element Parsed {"raw_longitude":765371840,"raw_latitude":90091368,"longitude_deg":76.537184,"latitude_deg":9.0091368,"altitude":8,"angle":188,"satellites":45,"speed":41,"hex_longitude":"2d9ea5c0","hex_latitude":"055eaf68","is_valid_coordinates":true} 
[2026-07-07 14:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554475264001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341447280101949440,"note":"Value kept but may cause issues"} 
[2026-07-07 14:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7014708240285106176,"note":"Value kept but may cause issues"} 
[2026-07-07 14:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783415927000,"timestamp_ms":1783415927000,"timestamp_seconds":1783415927,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bdf70d8"} 
[2026-07-07 14:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 14:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554475264001,"66":27995,"143":206,"84":7168,"24":41,"16":341447280101949440,"45":-7014708240285106176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-07-07 14:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554475264001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:50:04] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-07 14:50:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341447280101949440,"km_value":341447280101949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7014708240285106176,"description":"Unknown IO ID 45"} 
[2026-07-07 14:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554475264001,"power":27995,"unknown_143":206,"unknown_84":7168,"ignition":41,"odometer":null,"unknown_45":-7014708240285106176}} 
[2026-07-07 14:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":124563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:50:04] local.INFO: GPS data processed {"connection_id":124563,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:50:04] local.INFO: Acknowledgment sent {"connection_id":124563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:50:09] local.INFO: TCP Data received {"connection_id":124563,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bdf9400012d9e9d80055e8a20000800c42d..."} 
[2026-07-07 14:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bdf9400012d9e9d80055e8a20000800c42d..."} 
[2026-07-07 14:50:09] local.INFO: Processing buffer {"connection_id":124563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bdf9400012d9e9d80055e8a20000800c42d..."} 
[2026-07-07 14:50:09] local.INFO: Packet analysis {"connection_id":124563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdf"} 
[2026-07-07 14:50:09] local.INFO: Extracted packet for processing {"connection_id":124563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdf"} 
[2026-07-07 14:50:09] local.INFO: GPS Element Parsed {"raw_longitude":765369728,"raw_latitude":90081824,"longitude_deg":76.5369728,"latitude_deg":9.0081824,"altitude":8,"angle":196,"satellites":45,"speed":44,"hex_longitude":"2d9e9d80","hex_latitude":"055e8a20","is_valid_coordinates":true} 
[2026-07-07 14:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554477312001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341447752548352000,"note":"Value kept but may cause issues"} 
[2026-07-07 14:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7014989715263756288,"note":"Value kept but may cause issues"} 
[2026-07-07 14:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783415936000,"timestamp_ms":1783415936000,"timestamp_seconds":1783415936,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bdf9400"} 
[2026-07-07 14:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:50: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-07-07 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 14:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554477312001,"66":27843,"143":206,"84":7168,"24":44,"16":341447752548352000,"45":-7014989715263756288},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-07-07 14:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554477312001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:50:09] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-07 14:50:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341447752548352000,"km_value":341447752548352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7014989715263756288,"description":"Unknown IO ID 45"} 
[2026-07-07 14:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554477312001,"power":27843,"unknown_143":206,"unknown_84":7168,"ignition":44,"odometer":null,"unknown_45":-7014989715263756288}} 
[2026-07-07 14:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":124563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:50:09] local.INFO: GPS data processed {"connection_id":124563,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:50:09] local.INFO: Acknowledgment sent {"connection_id":124563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:50:26] local.INFO: TCP Data received {"connection_id":124472,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:50:26] local.INFO: Processing buffer {"connection_id":124472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:50:26] local.INFO: IMEI packet received {"connection_id":124472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":124472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:50:31] local.INFO: TCP Data received {"connection_id":124472,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:50:31] local.INFO: Processing buffer {"connection_id":124472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:50:31] local.INFO: IMEI packet received {"connection_id":124472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":124472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:50:36] local.INFO: TCP Data received {"connection_id":124472,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:50:36] local.INFO: Processing buffer {"connection_id":124472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:50:36] local.INFO: IMEI packet received {"connection_id":124472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":124472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:50:41] local.INFO: TCP Data received {"connection_id":124563,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bdfb340012d9e9040055e68c0000800cb2c..."} 
[2026-07-07 14:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bdfb340012d9e9040055e68c0000800cb2c..."} 
[2026-07-07 14:50:41] local.INFO: Processing buffer {"connection_id":124563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bdfb340012d9e9040055e68c0000800cb2c..."} 
[2026-07-07 14:50:41] local.INFO: Packet analysis {"connection_id":124563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdf"} 
[2026-07-07 14:50:41] local.INFO: Extracted packet for processing {"connection_id":124563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdf"} 
[2026-07-07 14:50:41] local.INFO: GPS Element Parsed {"raw_longitude":765366336,"raw_latitude":90073280,"longitude_deg":76.5366336,"latitude_deg":9.007328,"altitude":8,"angle":203,"satellites":44,"speed":46,"hex_longitude":"2d9e9040","hex_latitude":"055e68c0","is_valid_coordinates":true} 
[2026-07-07 14:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554479616001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341448199224950784,"note":"Value kept but may cause issues"} 
[2026-07-07 14:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7017311883824062464,"note":"Value kept but may cause issues"} 
[2026-07-07 14:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783415944000,"timestamp_ms":1783415944000,"timestamp_seconds":1783415944,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bdfb340"} 
[2026-07-07 14:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:50: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-07-07 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":195,"data_length":795,"current_offset":136} 
[2026-07-07 14:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554479616001,"66":27832,"143":206,"84":7168,"24":46,"16":341448199224950784,"45":-7017311883824062464},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-07-07 14:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554479616001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:50:41] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-07 14:50:41] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341448199224950784,"km_value":341448199224950.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7017311883824062464,"description":"Unknown IO ID 45"} 
[2026-07-07 14:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554479616001,"power":27832,"unknown_143":206,"unknown_84":7168,"ignition":46,"odometer":null,"unknown_45":-7017311883824062464}} 
[2026-07-07 14:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":124563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:50:41] local.INFO: GPS data processed {"connection_id":124563,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:50:41] local.INFO: Acknowledgment sent {"connection_id":124563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:50:41] local.INFO: TCP Data received {"connection_id":124472,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:50:41] local.INFO: Processing buffer {"connection_id":124472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:50:41] local.INFO: Packet analysis {"connection_id":124472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:50:41] local.INFO: Extracted packet for processing {"connection_id":124472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:50:41] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554353664001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783415745000,"timestamp_ms":1783415745000,"timestamp_seconds":1783415745,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bdca9e8"} 
[2026-07-07 14:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554353664001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554353664001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:50:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:50:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554353664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":124472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:50:41] local.INFO: GPS data processed {"connection_id":124472,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:50:41] local.INFO: Acknowledgment sent {"connection_id":124472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:50:43] local.INFO: TCP Data received {"connection_id":124472,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:50:43] local.INFO: Processing buffer {"connection_id":124472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bdca9e8012d196940071fec580032006723..."} 
[2026-07-07 14:50:43] local.INFO: Packet analysis {"connection_id":124472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:50:43] local.INFO: Extracted packet for processing {"connection_id":124472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdc"} 
[2026-07-07 14:50:43] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554353664001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783415745000,"timestamp_ms":1783415745000,"timestamp_seconds":1783415745,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bdca9e8"} 
[2026-07-07 14:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 14:50: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-07-07 14:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554353664001,"66":2166,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554353664001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:50:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:50:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554353664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":124472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:50:43] local.INFO: GPS data processed {"connection_id":124472,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:50:43] local.INFO: Acknowledgment sent {"connection_id":124472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:51:02] local.INFO: TCP Data received {"connection_id":125284,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:51:02] local.INFO: Processing buffer {"connection_id":125284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:51:02] local.INFO: IMEI packet received {"connection_id":125284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":125284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:51:03] local.INFO: TCP Data received {"connection_id":125284,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:51:03] local.INFO: Processing buffer {"connection_id":125284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:51:03] local.INFO: IMEI packet received {"connection_id":125284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":125284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:51:08] local.INFO: TCP Data received {"connection_id":125284,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:51:08] local.INFO: Processing buffer {"connection_id":125284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:51:08] local.INFO: IMEI packet received {"connection_id":125284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":125284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:51:09] local.INFO: TCP Data received {"connection_id":125284,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bdfd280012d9e8300055e45d8000800c62d..."} 
[2026-07-07 14:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bdfd280012d9e8300055e45d8000800c62d..."} 
[2026-07-07 14:51:09] local.INFO: Processing buffer {"connection_id":125284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bdfd280012d9e8300055e45d8000800c62d..."} 
[2026-07-07 14:51:09] local.INFO: Packet analysis {"connection_id":125284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdf"} 
[2026-07-07 14:51:09] local.INFO: Extracted packet for processing {"connection_id":125284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdf"} 
[2026-07-07 14:51:09] local.INFO: GPS Element Parsed {"raw_longitude":765362944,"raw_latitude":90064344,"longitude_deg":76.5362944,"latitude_deg":9.0064344,"altitude":8,"angle":198,"satellites":45,"speed":46,"hex_longitude":"2d9e8300","hex_latitude":"055e45d8","is_valid_coordinates":true} 
[2026-07-07 14:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554481664001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341448663081418752,"note":"Value kept but may cause issues"} 
[2026-07-07 14:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7021041427267665920,"note":"Value kept but may cause issues"} 
[2026-07-07 14:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783415952000,"timestamp_ms":1783415952000,"timestamp_seconds":1783415952,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bdfd280"} 
[2026-07-07 14:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:51: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-07-07 14:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 14:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554481664001,"66":27908,"143":206,"84":7168,"24":46,"16":341448663081418752,"45":-7021041427267665920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-07-07 14:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554481664001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:51:09] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-07 14:51:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341448663081418752,"km_value":341448663081418.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7021041427267665920,"description":"Unknown IO ID 45"} 
[2026-07-07 14:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554481664001,"power":27908,"unknown_143":206,"unknown_84":7168,"ignition":46,"odometer":null,"unknown_45":-7021041427267665920}} 
[2026-07-07 14:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":125284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:51:09] local.INFO: GPS data processed {"connection_id":125284,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:51:09] local.INFO: Acknowledgment sent {"connection_id":125284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:51:09] local.INFO: TCP Data received {"connection_id":125284,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bdfedd8012d9e7bc0055e2a78000900b42c..."} 
[2026-07-07 14:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bdfedd8012d9e7bc0055e2a78000900b42c..."} 
[2026-07-07 14:51:09] local.INFO: Processing buffer {"connection_id":125284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bdfedd8012d9e7bc0055e2a78000900b42c..."} 
[2026-07-07 14:51:09] local.INFO: Packet analysis {"connection_id":125284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdf"} 
[2026-07-07 14:51:09] local.INFO: Extracted packet for processing {"connection_id":125284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdf"} 
[2026-07-07 14:51:09] local.INFO: GPS Element Parsed {"raw_longitude":765361088,"raw_latitude":90057336,"longitude_deg":76.5361088,"latitude_deg":9.0057336,"altitude":9,"angle":180,"satellites":44,"speed":34,"hex_longitude":"2d9e7bc0","hex_latitude":"055e2a78","is_valid_coordinates":true} 
[2026-07-07 14:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554483712001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341449015268737024,"note":"Value kept but may cause issues"} 
[2026-07-07 14:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7024770970711369728,"note":"Value kept but may cause issues"} 
[2026-07-07 14:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783415959000,"timestamp_ms":1783415959000,"timestamp_seconds":1783415959,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bdfedd8"} 
[2026-07-07 14:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:51: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-07-07 14:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 14:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554483712001,"66":27876,"143":206,"84":7168,"24":34,"16":341449015268737024,"45":-7024770970711369728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-07-07 14:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554483712001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:51:09] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-07 14:51:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341449015268737024,"km_value":341449015268737.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7024770970711369728,"description":"Unknown IO ID 45"} 
[2026-07-07 14:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554483712001,"power":27876,"unknown_143":206,"unknown_84":7168,"ignition":34,"odometer":null,"unknown_45":-7024770970711369728}} 
[2026-07-07 14:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":125284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:51:09] local.INFO: GPS data processed {"connection_id":125284,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:51:09] local.INFO: Acknowledgment sent {"connection_id":125284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:51:21] local.INFO: TCP Data received {"connection_id":124564,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:51:21] local.INFO: Processing buffer {"connection_id":124564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:51:21] local.INFO: IMEI packet received {"connection_id":124564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":124564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:51:25] local.INFO: TCP Data received {"connection_id":124564,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:51:25] local.INFO: Processing buffer {"connection_id":124564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:51:25] local.INFO: IMEI packet received {"connection_id":124564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":124564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:51:27] local.INFO: TCP Data received {"connection_id":124564,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:51:27] local.INFO: Processing buffer {"connection_id":124564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:51:27] local.INFO: Packet analysis {"connection_id":124564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be1"} 
[2026-07-07 14:51:27] local.INFO: Extracted packet for processing {"connection_id":124564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be1"} 
[2026-07-07 14:51:27] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554430720001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:51: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-07-07 14:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783416046000,"timestamp_ms":1783416046000,"timestamp_seconds":1783416046,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be141b0"} 
[2026-07-07 14:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554430720001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554430720001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:51:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:51:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554430720001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":124564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:51:27] local.INFO: GPS data processed {"connection_id":124564,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:51:27] local.INFO: Acknowledgment sent {"connection_id":124564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:51:58] local.INFO: TCP Data received {"connection_id":124564,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:51:58] local.INFO: Processing buffer {"connection_id":124564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:51:58] local.INFO: Packet analysis {"connection_id":124564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be1"} 
[2026-07-07 14:51:58] local.INFO: Extracted packet for processing {"connection_id":124564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be1"} 
[2026-07-07 14:51:58] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554430720001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783416046000,"timestamp_ms":1783416046000,"timestamp_seconds":1783416046,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be141b0"} 
[2026-07-07 14:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":124564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":124564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":124564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554430720001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554430720001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:51:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:51:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554430720001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":124564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:51:58] local.INFO: GPS data processed {"connection_id":124564,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:51:58] local.INFO: Acknowledgment sent {"connection_id":124564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:52:00] local.INFO: TCP Data received {"connection_id":125284,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bdff5a8012d9e7cc0055e2440000800a62b..."} 
[2026-07-07 14:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bdff5a8012d9e7cc0055e2440000800a62b..."} 
[2026-07-07 14:52:00] local.INFO: Processing buffer {"connection_id":125284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bdff5a8012d9e7cc0055e2440000800a62b..."} 
[2026-07-07 14:52:00] local.INFO: Packet analysis {"connection_id":125284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bdf"} 
[2026-07-07 14:52:00] local.INFO: Extracted packet for processing {"connection_id":125284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bdf"} 
[2026-07-07 14:52:00] local.INFO: GPS Element Parsed {"raw_longitude":765361344,"raw_latitude":90055744,"longitude_deg":76.5361344,"latitude_deg":9.0055744,"altitude":8,"angle":166,"satellites":43,"speed":30,"hex_longitude":"2d9e7cc0","hex_latitude":"055e2440","is_valid_coordinates":true} 
[2026-07-07 14:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554485504001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341449092578148352,"note":"Value kept but may cause issues"} 
[2026-07-07 14:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7026811664294316032,"note":"Value kept but may cause issues"} 
[2026-07-07 14:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783415961000,"timestamp_ms":1783415961000,"timestamp_seconds":1783415961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bdff5a8"} 
[2026-07-07 14:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:52: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-07-07 14:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 14:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554485504001,"66":27821,"143":206,"84":7168,"24":30,"16":341449092578148352,"45":-7026811664294316032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-07-07 14:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554485504001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:52:00] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-07 14:52:00] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341449092578148352,"km_value":341449092578148.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7026811664294316032,"description":"Unknown IO ID 45"} 
[2026-07-07 14:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554485504001,"power":27821,"unknown_143":206,"unknown_84":7168,"ignition":30,"odometer":null,"unknown_45":-7026811664294316032}} 
[2026-07-07 14:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":125284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:52:01] local.INFO: GPS data processed {"connection_id":125284,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:52:01] local.INFO: Acknowledgment sent {"connection_id":125284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:52:02] local.INFO: TCP Data received {"connection_id":126528,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:52:02] local.INFO: Processing buffer {"connection_id":126528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:52:02] local.INFO: IMEI packet received {"connection_id":126528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":126528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:52:03] local.INFO: TCP Data received {"connection_id":126528,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:52:03] local.INFO: Processing buffer {"connection_id":126528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:52:03] local.INFO: IMEI packet received {"connection_id":126528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":126528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:52:09] local.INFO: TCP Data received {"connection_id":126528,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:52:09] local.INFO: Processing buffer {"connection_id":126528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:52:09] local.INFO: IMEI packet received {"connection_id":126528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":126528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:52:09] local.INFO: TCP Data received {"connection_id":126528,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be00548012d9e7ec0055e18e0000800b329..."} 
[2026-07-07 14:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be00548012d9e7ec0055e18e0000800b329..."} 
[2026-07-07 14:52:09] local.INFO: Processing buffer {"connection_id":126528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be00548012d9e7ec0055e18e0000800b329..."} 
[2026-07-07 14:52:09] local.INFO: Packet analysis {"connection_id":126528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be0"} 
[2026-07-07 14:52:09] local.INFO: Extracted packet for processing {"connection_id":126528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be0"} 
[2026-07-07 14:52:09] local.INFO: GPS Element Parsed {"raw_longitude":765361856,"raw_latitude":90052832,"longitude_deg":76.5361856,"latitude_deg":9.0052832,"altitude":8,"angle":179,"satellites":41,"speed":28,"hex_longitude":"2d9e7ec0","hex_latitude":"055e18e0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 14:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554486016001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341449238607036416,"note":"Value kept but may cause issues"} 
[2026-07-07 14:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7026530189318012928,"note":"Value kept but may cause issues"} 
[2026-07-07 14:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783415965000,"timestamp_ms":1783415965000,"timestamp_seconds":1783415965,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be00548"} 
[2026-07-07 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-07-07 14:52: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-07-07 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 14:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 14:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554486016001,"66":27789,"143":206,"84":7168,"24":28,"16":341449238607036416,"45":-7026530189318012928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-07-07 14:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554486016001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:52:09] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-07 14:52:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341449238607036416,"km_value":341449238607036.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7026530189318012928,"description":"Unknown IO ID 45"} 
[2026-07-07 14:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554486016001,"power":27789,"unknown_143":206,"unknown_84":7168,"ignition":28,"odometer":null,"unknown_45":-7026530189318012928}} 
[2026-07-07 14:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":126528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:52:09] local.INFO: GPS data processed {"connection_id":126528,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:52:09] local.INFO: Acknowledgment sent {"connection_id":126528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:52:21] local.INFO: TCP Data received {"connection_id":124565,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:52:21] local.INFO: Processing buffer {"connection_id":124565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:52:21] local.INFO: IMEI packet received {"connection_id":124565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":124565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:52:26] local.INFO: TCP Data received {"connection_id":124565,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:52:26] local.INFO: Processing buffer {"connection_id":124565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:52:26] local.INFO: IMEI packet received {"connection_id":124565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":124565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:52:28] local.INFO: TCP Data received {"connection_id":124565,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:52:28] local.INFO: Processing buffer {"connection_id":124565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:52:28] local.INFO: Packet analysis {"connection_id":124565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be1"} 
[2026-07-07 14:52:28] local.INFO: Extracted packet for processing {"connection_id":124565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be1"} 
[2026-07-07 14:52:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554430720001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:52: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-07-07 14:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783416046000,"timestamp_ms":1783416046000,"timestamp_seconds":1783416046,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be141b0"} 
[2026-07-07 14:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554430720001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554430720001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:52:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:52:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554430720001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":124565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:52:28] local.INFO: GPS data processed {"connection_id":124565,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:52:28] local.INFO: Acknowledgment sent {"connection_id":124565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:52:40] local.INFO: TCP Data received {"connection_id":126528,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be1da08012d9e0840055cd350000800c22c..."} 
[2026-07-07 14:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be1da08012d9e0840055cd350000800c22c..."} 
[2026-07-07 14:52:40] local.INFO: Processing buffer {"connection_id":126528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be1da08012d9e0840055cd350000800c22c..."} 
[2026-07-07 14:52:40] local.INFO: Packet analysis {"connection_id":126528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be1"} 
[2026-07-07 14:52:40] local.INFO: Extracted packet for processing {"connection_id":126528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be1"} 
[2026-07-07 14:52:40] local.INFO: GPS Element Parsed {"raw_longitude":765331520,"raw_latitude":89969488,"longitude_deg":76.533152,"latitude_deg":8.9969488,"altitude":8,"angle":194,"satellites":44,"speed":38,"hex_longitude":"2d9e0840","hex_latitude":"055cd350","is_valid_coordinates":true} 
[2026-07-07 14:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554515200001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341453597998841856,"note":"Value kept but may cause issues"} 
[2026-07-07 14:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7056436905613195264,"note":"Value kept but may cause issues"} 
[2026-07-07 14:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783416085000,"timestamp_ms":1783416085000,"timestamp_seconds":1783416085,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be1da08"} 
[2026-07-07 14:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 14:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554515200001,"66":28006,"249":206,"84":7168,"24":38,"16":341453597998841856,"45":-7056436905613195264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-07-07 14:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554515200001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:52:40] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-07 14:52:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341453597998841856,"km_value":341453597998841.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7056436905613195264,"description":"Unknown IO ID 45"} 
[2026-07-07 14:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554515200001,"power":28006,"unknown_249":206,"unknown_84":7168,"ignition":38,"odometer":null,"unknown_45":-7056436905613195264}} 
[2026-07-07 14:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":126528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:52:40] local.INFO: GPS data processed {"connection_id":126528,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:52:40] local.INFO: Acknowledgment sent {"connection_id":126528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:52:58] local.INFO: TCP Data received {"connection_id":124473,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:52:58] local.INFO: Processing buffer {"connection_id":124473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:52:58] local.INFO: IMEI packet received {"connection_id":124473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":124473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:53:00] local.INFO: TCP Data received {"connection_id":124565,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:53:00] local.INFO: Processing buffer {"connection_id":124565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:53:00] local.INFO: Packet analysis {"connection_id":124565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be1"} 
[2026-07-07 14:53:00] local.INFO: Extracted packet for processing {"connection_id":124565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be1"} 
[2026-07-07 14:53:00] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554430720001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:53: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-07-07 14:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783416046000,"timestamp_ms":1783416046000,"timestamp_seconds":1783416046,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be141b0"} 
[2026-07-07 14:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554430720001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554430720001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:53:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:53:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554430720001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":124565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:53:00] local.INFO: GPS data processed {"connection_id":124565,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:53:00] local.INFO: Acknowledgment sent {"connection_id":124565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:53:04] local.INFO: TCP Data received {"connection_id":124473,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:53:04] local.INFO: Processing buffer {"connection_id":124473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:53:04] local.INFO: IMEI packet received {"connection_id":124473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":124473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:53:04] local.INFO: TCP Data received {"connection_id":124473,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be20118012d9e0300055cadf0000700b72d..."} 
[2026-07-07 14:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be20118012d9e0300055cadf0000700b72d..."} 
[2026-07-07 14:53:04] local.INFO: Processing buffer {"connection_id":124473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be20118012d9e0300055cadf0000700b72d..."} 
[2026-07-07 14:53:04] local.INFO: Packet analysis {"connection_id":124473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be2"} 
[2026-07-07 14:53:04] local.INFO: Extracted packet for processing {"connection_id":124473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be2"} 
[2026-07-07 14:53:04] local.INFO: GPS Element Parsed {"raw_longitude":765330176,"raw_latitude":89959920,"longitude_deg":76.5330176,"latitude_deg":8.995992,"altitude":7,"angle":183,"satellites":45,"speed":35,"hex_longitude":"2d9e0300","hex_latitude":"055cadf0","is_valid_coordinates":true} 
[2026-07-07 14:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554517760001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341454066150277120,"note":"Value kept but may cause issues"} 
[2026-07-07 14:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7059322024126885888,"note":"Value kept but may cause issues"} 
[2026-07-07 14:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783416095000,"timestamp_ms":1783416095000,"timestamp_seconds":1783416095,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be20118"} 
[2026-07-07 14:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 14:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554517760001,"66":27908,"249":206,"84":7168,"24":35,"16":341454066150277120,"45":-7059322024126885888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-07-07 14:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554517760001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:53:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-07 14:53:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341454066150277120,"km_value":341454066150277.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7059322024126885888,"description":"Unknown IO ID 45"} 
[2026-07-07 14:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554517760001,"power":27908,"unknown_249":206,"unknown_84":7168,"ignition":35,"odometer":null,"unknown_45":-7059322024126885888}} 
[2026-07-07 14:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":124473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:53:05] local.INFO: GPS data processed {"connection_id":124473,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:53:05] local.INFO: Acknowledgment sent {"connection_id":124473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:53:19] local.INFO: TCP Data received {"connection_id":126529,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:53:19] local.INFO: Processing buffer {"connection_id":126529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:53:19] local.INFO: IMEI packet received {"connection_id":126529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 14:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":126529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:53:26] local.INFO: TCP Data received {"connection_id":125285,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:53:26] local.INFO: Processing buffer {"connection_id":125285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:53:26] local.INFO: IMEI packet received {"connection_id":125285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":125285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:53:31] local.INFO: TCP Data received {"connection_id":125285,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:53:31] local.INFO: Processing buffer {"connection_id":125285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:53:31] local.INFO: IMEI packet received {"connection_id":125285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":125285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:53:33] local.INFO: TCP Data received {"connection_id":125285,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:53:33] local.INFO: Processing buffer {"connection_id":125285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:53:33] local.INFO: Packet analysis {"connection_id":125285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be1"} 
[2026-07-07 14:53:33] local.INFO: Extracted packet for processing {"connection_id":125285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be1"} 
[2026-07-07 14:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554430720001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783416046000,"timestamp_ms":1783416046000,"timestamp_seconds":1783416046,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be141b0"} 
[2026-07-07 14:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554430720001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554430720001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:53:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:53:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554430720001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":125285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:53:33] local.INFO: GPS data processed {"connection_id":125285,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:53:33] local.INFO: Acknowledgment sent {"connection_id":125285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:53:36] local.INFO: TCP Data received {"connection_id":124473,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be24f38012d9e0140055c8b50000800b32a..."} 
[2026-07-07 14:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be24f38012d9e0140055c8b50000800b32a..."} 
[2026-07-07 14:53:36] local.INFO: Processing buffer {"connection_id":124473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be24f38012d9e0140055c8b50000800b32a..."} 
[2026-07-07 14:53:36] local.INFO: Packet analysis {"connection_id":124473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be2"} 
[2026-07-07 14:53:36] local.INFO: Extracted packet for processing {"connection_id":124473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be2"} 
[2026-07-07 14:53:36] local.INFO: GPS Element Parsed {"raw_longitude":765329728,"raw_latitude":89951056,"longitude_deg":76.5329728,"latitude_deg":8.9951056,"altitude":8,"angle":179,"satellites":42,"speed":8,"hex_longitude":"2d9e0140","hex_latitude":"055c8b50","is_valid_coordinates":true} 
[2026-07-07 14:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554520320001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341454495647006720,"note":"Value kept but may cause issues"} 
[2026-07-07 14:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7060799767757066240,"note":"Value kept but may cause issues"} 
[2026-07-07 14:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783416115000,"timestamp_ms":1783416115000,"timestamp_seconds":1783416115,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be24f38"} 
[2026-07-07 14:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 14:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554520320001,"66":27919,"249":206,"84":7168,"24":8,"16":341454495647006720,"45":-7060799767757066240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-07-07 14:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554520320001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:53:36] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-07 14:53:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341454495647006720,"km_value":341454495647006.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7060799767757066240,"description":"Unknown IO ID 45"} 
[2026-07-07 14:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554520320001,"power":27919,"unknown_249":206,"unknown_84":7168,"ignition":8,"odometer":null,"unknown_45":-7060799767757066240}} 
[2026-07-07 14:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":124473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:53:36] local.INFO: GPS data processed {"connection_id":124473,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:53:36] local.INFO: Acknowledgment sent {"connection_id":124473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:53:37] local.INFO: TCP Data received {"connection_id":125285,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:53:37] local.INFO: Processing buffer {"connection_id":125285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:53:37] local.INFO: Packet analysis {"connection_id":125285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be1"} 
[2026-07-07 14:53:37] local.INFO: Extracted packet for processing {"connection_id":125285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be1"} 
[2026-07-07 14:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554430720001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783416046000,"timestamp_ms":1783416046000,"timestamp_seconds":1783416046,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be141b0"} 
[2026-07-07 14:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554430720001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554430720001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:53:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:53:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554430720001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":125285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:53:37] local.INFO: GPS data processed {"connection_id":125285,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:53:37] local.INFO: Acknowledgment sent {"connection_id":125285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:53:59] local.INFO: TCP Data received {"connection_id":124566,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:53:59] local.INFO: Processing buffer {"connection_id":124566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:53:59] local.INFO: IMEI packet received {"connection_id":124566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 14:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":124566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:54:04] local.INFO: TCP Data received {"connection_id":125286,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:54:04] local.INFO: Processing buffer {"connection_id":125286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:54:04] local.INFO: IMEI packet received {"connection_id":125286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":125286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:54:05] local.INFO: TCP Data received {"connection_id":125286,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:54:05] local.INFO: Processing buffer {"connection_id":125286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:54:05] local.INFO: IMEI packet received {"connection_id":125286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":125286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:54:06] local.INFO: TCP Data received {"connection_id":125286,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be2a140012d9e0100055c7a18000900b42b..."} 
[2026-07-07 14:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be2a140012d9e0100055c7a18000900b42b..."} 
[2026-07-07 14:54:06] local.INFO: Processing buffer {"connection_id":125286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be2a140012d9e0100055c7a18000900b42b..."} 
[2026-07-07 14:54:06] local.INFO: Packet analysis {"connection_id":125286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be2"} 
[2026-07-07 14:54:06] local.INFO: Extracted packet for processing {"connection_id":125286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be2"} 
[2026-07-07 14:54:06] local.INFO: GPS Element Parsed {"raw_longitude":765329664,"raw_latitude":89946648,"longitude_deg":76.5329664,"latitude_deg":8.9946648,"altitude":9,"angle":180,"satellites":43,"speed":15,"hex_longitude":"2d9e0100","hex_latitude":"055c7a18","is_valid_coordinates":true} 
[2026-07-07 14:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554525440001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341454710395371520,"note":"Value kept but may cause issues"} 
[2026-07-07 14:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7061292348968579072,"note":"Value kept but may cause issues"} 
[2026-07-07 14:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783416136000,"timestamp_ms":1783416136000,"timestamp_seconds":1783416136,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be2a140"} 
[2026-07-07 14:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:54: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-07-07 14:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 14:54: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-07-07 14:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554525440001,"66":27843,"249":206,"84":7168,"24":15,"16":341454710395371520,"45":-7061292348968579072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-07-07 14:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554525440001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:54:06] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-07 14:54:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341454710395371520,"km_value":341454710395371.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7061292348968579072,"description":"Unknown IO ID 45"} 
[2026-07-07 14:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554525440001,"power":27843,"unknown_249":206,"unknown_84":7168,"ignition":15,"odometer":null,"unknown_45":-7061292348968579072}} 
[2026-07-07 14:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":125286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:54:06] local.INFO: GPS data processed {"connection_id":125286,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:54:06] local.INFO: Acknowledgment sent {"connection_id":125286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:54:10] local.INFO: TCP Data received {"connection_id":125286,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be2dfc0012d9e0100055c55f8000900ae2c..."} 
[2026-07-07 14:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be2dfc0012d9e0100055c55f8000900ae2c..."} 
[2026-07-07 14:54:10] local.INFO: Processing buffer {"connection_id":125286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be2dfc0012d9e0100055c55f8000900ae2c..."} 
[2026-07-07 14:54:10] local.INFO: Packet analysis {"connection_id":125286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be2"} 
[2026-07-07 14:54:10] local.INFO: Extracted packet for processing {"connection_id":125286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be2"} 
[2026-07-07 14:54:10] local.INFO: GPS Element Parsed {"raw_longitude":765329664,"raw_latitude":89937400,"longitude_deg":76.5329664,"latitude_deg":8.99374,"altitude":9,"angle":174,"satellites":44,"speed":28,"hex_longitude":"2d9e0100","hex_latitude":"055c55f8","is_valid_coordinates":true} 
[2026-07-07 14:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554530816001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341455161366937600,"note":"Value kept but may cause issues"} 
[2026-07-07 14:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7061362717713885184,"note":"Value kept but may cause issues"} 
[2026-07-07 14:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783416152000,"timestamp_ms":1783416152000,"timestamp_seconds":1783416152,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be2dfc0"} 
[2026-07-07 14:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 14:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554530816001,"66":27908,"249":206,"84":7168,"24":28,"16":341455161366937600,"45":-7061362717713885184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-07-07 14:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554530816001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:54:10] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-07 14:54:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341455161366937600,"km_value":341455161366937.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7061362717713885184,"description":"Unknown IO ID 45"} 
[2026-07-07 14:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554530816001,"power":27908,"unknown_249":206,"unknown_84":7168,"ignition":28,"odometer":null,"unknown_45":-7061362717713885184}} 
[2026-07-07 14:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":125286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:54:10] local.INFO: GPS data processed {"connection_id":125286,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:54:10] local.INFO: Acknowledgment sent {"connection_id":125286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:54:21] local.INFO: TCP Data received {"connection_id":124474,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:54:21] local.INFO: Processing buffer {"connection_id":124474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:54:21] local.INFO: IMEI packet received {"connection_id":124474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":124474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:54:26] local.INFO: TCP Data received {"connection_id":124474,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:54:26] local.INFO: Processing buffer {"connection_id":124474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:54:26] local.INFO: IMEI packet received {"connection_id":124474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":124474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:54:38] local.INFO: TCP Data received {"connection_id":124474,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:54:38] local.INFO: Processing buffer {"connection_id":124474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:54:38] local.INFO: Packet analysis {"connection_id":124474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be1"} 
[2026-07-07 14:54:38] local.INFO: Extracted packet for processing {"connection_id":124474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be1"} 
[2026-07-07 14:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554430720001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783416046000,"timestamp_ms":1783416046000,"timestamp_seconds":1783416046,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be141b0"} 
[2026-07-07 14:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554430720001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554430720001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:54:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:54:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554430720001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":124474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:54:38] local.INFO: GPS data processed {"connection_id":124474,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:54:38] local.INFO: Acknowledgment sent {"connection_id":124474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:54:41] local.INFO: TCP Data received {"connection_id":125286,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be30ea0012d9e07c0055c33b0000800a62c..."} 
[2026-07-07 14:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be30ea0012d9e07c0055c33b0000800a62c..."} 
[2026-07-07 14:54:41] local.INFO: Processing buffer {"connection_id":125286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be30ea0012d9e07c0055c33b0000800a62c..."} 
[2026-07-07 14:54:41] local.INFO: Packet analysis {"connection_id":125286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be3"} 
[2026-07-07 14:54:41] local.INFO: Extracted packet for processing {"connection_id":125286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be3"} 
[2026-07-07 14:54:41] local.INFO: GPS Element Parsed {"raw_longitude":765331392,"raw_latitude":89928624,"longitude_deg":76.5331392,"latitude_deg":8.9928624,"altitude":8,"angle":166,"satellites":44,"speed":27,"hex_longitude":"2d9e07c0","hex_latitude":"055c33b0","is_valid_coordinates":true} 
[2026-07-07 14:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554534912001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341455595158634496,"note":"Value kept but may cause issues"} 
[2026-07-07 14:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7061362717716252672,"note":"Value kept but may cause issues"} 
[2026-07-07 14:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783416164000,"timestamp_ms":1783416164000,"timestamp_seconds":1783416164,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be30ea0"} 
[2026-07-07 14:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":4,"data_length":795,"current_offset":136} 
[2026-07-07 14:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554534912001,"66":27952,"249":206,"84":7168,"24":27,"16":341455595158634496,"45":-7061362717716252672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-07-07 14:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554534912001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:54:41] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-07 14:54:41] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341455595158634496,"km_value":341455595158634.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7061362717716252672,"description":"Unknown IO ID 45"} 
[2026-07-07 14:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554534912001,"power":27952,"unknown_249":206,"unknown_84":7168,"ignition":27,"odometer":null,"unknown_45":-7061362717716252672}} 
[2026-07-07 14:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":125286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:54:41] local.INFO: GPS data processed {"connection_id":125286,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:54:41] local.INFO: Acknowledgment sent {"connection_id":125286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:54:59] local.INFO: TCP Data received {"connection_id":124567,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:54:59] local.INFO: Processing buffer {"connection_id":124567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:54:59] local.INFO: IMEI packet received {"connection_id":124567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":124567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:55:00] local.INFO: TCP Data received {"connection_id":124567,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:55:00] local.INFO: Processing buffer {"connection_id":124567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:55:00] local.INFO: IMEI packet received {"connection_id":124567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":124567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:55:01] local.INFO: TCP Data received {"connection_id":124567,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be34550012d9e1100055c0f90000800a62d..."} 
[2026-07-07 14:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be34550012d9e1100055c0f90000800a62d..."} 
[2026-07-07 14:55:01] local.INFO: Processing buffer {"connection_id":124567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be34550012d9e1100055c0f90000800a62d..."} 
[2026-07-07 14:55:01] local.INFO: Packet analysis {"connection_id":124567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be3"} 
[2026-07-07 14:55:01] local.INFO: Extracted packet for processing {"connection_id":124567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be3"} 
[2026-07-07 14:55:01] local.INFO: GPS Element Parsed {"raw_longitude":765333760,"raw_latitude":89919376,"longitude_deg":76.533376,"latitude_deg":8.9919376,"altitude":8,"angle":166,"satellites":45,"speed":28,"hex_longitude":"2d9e1100","hex_latitude":"055c0f90","is_valid_coordinates":true} 
[2026-07-07 14:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554537984001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341456059015102464,"note":"Value kept but may cause issues"} 
[2026-07-07 14:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7059462761625702400,"note":"Value kept but may cause issues"} 
[2026-07-07 14:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783416178000,"timestamp_ms":1783416178000,"timestamp_seconds":1783416178,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be34550"} 
[2026-07-07 14:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:55: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-07-07 14:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-07 14:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554537984001,"66":27919,"249":206,"84":7168,"24":28,"16":341456059015102464,"45":-7059462761625702400},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-07-07 14:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554537984001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:55:01] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-07 14:55:01] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341456059015102464,"km_value":341456059015102.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7059462761625702400,"description":"Unknown IO ID 45"} 
[2026-07-07 14:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554537984001,"power":27919,"unknown_249":206,"unknown_84":7168,"ignition":28,"odometer":null,"unknown_45":-7059462761625702400}} 
[2026-07-07 14:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":124567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:55:01] local.INFO: GPS data processed {"connection_id":124567,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:55:01] local.INFO: Acknowledgment sent {"connection_id":124567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:55:21] local.INFO: TCP Data received {"connection_id":124475,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:55:21] local.INFO: Processing buffer {"connection_id":124475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:55:21] local.INFO: IMEI packet received {"connection_id":124475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":124475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:55:29] local.INFO: TCP Data received {"connection_id":124475,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:55:29] local.INFO: Processing buffer {"connection_id":124475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:55:29] local.INFO: IMEI packet received {"connection_id":124475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":124475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:55:31] local.INFO: TCP Data received {"connection_id":124475,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:55:31] local.INFO: Processing buffer {"connection_id":124475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:55:31] local.INFO: IMEI packet received {"connection_id":124475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":124475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:55:32] local.INFO: TCP Data received {"connection_id":124475,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:55:32] local.INFO: Processing buffer {"connection_id":124475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:55:32] local.INFO: Packet analysis {"connection_id":124475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be1"} 
[2026-07-07 14:55:32] local.INFO: Extracted packet for processing {"connection_id":124475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be1"} 
[2026-07-07 14:55:32] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554430720001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:55: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-07-07 14:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783416046000,"timestamp_ms":1783416046000,"timestamp_seconds":1783416046,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be141b0"} 
[2026-07-07 14:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554430720001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554430720001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:55:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:55:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554430720001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":124475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:55:32] local.INFO: GPS data processed {"connection_id":124475,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:55:32] local.INFO: Acknowledgment sent {"connection_id":124475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:55:32] local.INFO: TCP Data received {"connection_id":124567,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be4f6e8012d9e4b80055a8c280006008d2d..."} 
[2026-07-07 14:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be4f6e8012d9e4b80055a8c280006008d2d..."} 
[2026-07-07 14:55:32] local.INFO: Processing buffer {"connection_id":124567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be4f6e8012d9e4b80055a8c280006008d2d..."} 
[2026-07-07 14:55:32] local.INFO: Packet analysis {"connection_id":124567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be4"} 
[2026-07-07 14:55:32] local.INFO: Extracted packet for processing {"connection_id":124567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be4"} 
[2026-07-07 14:55:32] local.INFO: GPS Element Parsed {"raw_longitude":765348736,"raw_latitude":89820200,"longitude_deg":76.5348736,"latitude_deg":8.98202,"altitude":6,"angle":141,"satellites":45,"speed":24,"hex_longitude":"2d9e4b80","hex_latitude":"055a8c28","is_valid_coordinates":true} 
[2026-07-07 14:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554569472001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341460950982852608,"note":"Value kept but may cause issues"} 
[2026-07-07 14:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7041026150678650880,"note":"Value kept but may cause issues"} 
[2026-07-07 14:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783416289000,"timestamp_ms":1783416289000,"timestamp_seconds":1783416289,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be4f6e8"} 
[2026-07-07 14:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 14:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554569472001,"66":27832,"117":206,"84":7168,"24":24,"16":341460950982852608,"45":-7041026150678650880},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-07-07 14:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554569472001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:55:32] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-07 14:55:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341460950982852608,"km_value":341460950982852.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7041026150678650880,"description":"Unknown IO ID 45"} 
[2026-07-07 14:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554569472001,"power":27832,"unknown_117":206,"unknown_84":7168,"ignition":24,"odometer":null,"unknown_45":-7041026150678650880}} 
[2026-07-07 14:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":124567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:55:32] local.INFO: GPS data processed {"connection_id":124567,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:55:32] local.INFO: Acknowledgment sent {"connection_id":124567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:55:59] local.INFO: TCP Data received {"connection_id":126531,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:55:59] local.INFO: Processing buffer {"connection_id":126531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:55:59] local.INFO: IMEI packet received {"connection_id":126531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":126531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:56:04] local.INFO: TCP Data received {"connection_id":126531,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:56:04] local.INFO: Processing buffer {"connection_id":126531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:56:04] local.INFO: IMEI packet received {"connection_id":126531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":126531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:56:04] local.INFO: TCP Data received {"connection_id":124475,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:56:04] local.INFO: Processing buffer {"connection_id":124475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be141b0012d196940071fec580032006723..."} 
[2026-07-07 14:56:04] local.INFO: Packet analysis {"connection_id":124475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be1"} 
[2026-07-07 14:56:04] local.INFO: Extracted packet for processing {"connection_id":124475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be1"} 
[2026-07-07 14:56:04] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554430720001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:56: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-07-07 14:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783416046000,"timestamp_ms":1783416046000,"timestamp_seconds":1783416046,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be141b0"} 
[2026-07-07 14:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 14:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554430720001,"66":2144,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554430720001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:56:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:56:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554430720001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":124475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:56:04] local.INFO: GPS data processed {"connection_id":124475,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:56:04] local.INFO: Acknowledgment sent {"connection_id":124475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:56:04] local.INFO: TCP Data received {"connection_id":126531,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be4feb8012d9e4e40055a87d00006009b2c..."} 
[2026-07-07 14:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be4feb8012d9e4e40055a87d00006009b2c..."} 
[2026-07-07 14:56:04] local.INFO: Processing buffer {"connection_id":126531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be4feb8012d9e4e40055a87d00006009b2c..."} 
[2026-07-07 14:56:04] local.INFO: Packet analysis {"connection_id":126531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be4"} 
[2026-07-07 14:56:04] local.INFO: Extracted packet for processing {"connection_id":126531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be4"} 
[2026-07-07 14:56:04] local.INFO: GPS Element Parsed {"raw_longitude":765349440,"raw_latitude":89819088,"longitude_deg":76.534944,"latitude_deg":8.9819088,"altitude":6,"angle":155,"satellites":44,"speed":27,"hex_longitude":"2d9e4e40","hex_latitude":"055a87d0","is_valid_coordinates":true} 
[2026-07-07 14:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554569984001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341461015407362048,"note":"Value kept but may cause issues"} 
[2026-07-07 14:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7040392831981312000,"note":"Value kept but may cause issues"} 
[2026-07-07 14:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783416291000,"timestamp_ms":1783416291000,"timestamp_seconds":1783416291,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be4feb8"} 
[2026-07-07 14:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 14:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554569984001,"66":27843,"117":206,"84":7168,"24":27,"16":341461015407362048,"45":-7040392831981312000},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-07-07 14:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554569984001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:56:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-07 14:56:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341461015407362048,"km_value":341461015407362.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7040392831981312000,"description":"Unknown IO ID 45"} 
[2026-07-07 14:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554569984001,"power":27843,"unknown_117":206,"unknown_84":7168,"ignition":27,"odometer":null,"unknown_45":-7040392831981312000}} 
[2026-07-07 14:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":126531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:56:05] local.INFO: GPS data processed {"connection_id":126531,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:56:05] local.INFO: Acknowledgment sent {"connection_id":126531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:56:25] local.INFO: TCP Data received {"connection_id":124568,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:56:25] local.INFO: Processing buffer {"connection_id":124568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:56:25] local.INFO: IMEI packet received {"connection_id":124568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":124568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:56:26] local.INFO: TCP Data received {"connection_id":124568,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:56:26] local.INFO: Processing buffer {"connection_id":124568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:56:26] local.INFO: IMEI packet received {"connection_id":124568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":124568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:56:31] local.INFO: TCP Data received {"connection_id":124568,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:56:31] local.INFO: Processing buffer {"connection_id":124568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:56:31] local.INFO: IMEI packet received {"connection_id":124568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 14:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":124568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:56:34] local.INFO: TCP Data received {"connection_id":124568,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be5d978012d196940071fec580032006724..."} 
[2026-07-07 14:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be5d978012d196940071fec580032006724..."} 
[2026-07-07 14:56:34] local.INFO: Processing buffer {"connection_id":124568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be5d978012d196940071fec580032006724..."} 
[2026-07-07 14:56:34] local.INFO: Packet analysis {"connection_id":124568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be5"} 
[2026-07-07 14:56:34] local.INFO: Extracted packet for processing {"connection_id":124568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be5"} 
[2026-07-07 14:56:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14: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-07-07 14:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554507776001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783416347000,"timestamp_ms":1783416347000,"timestamp_seconds":1783416347,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be5d978"} 
[2026-07-07 14:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8448,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 14:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14: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-07-07 14:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554507776001,"66":2177,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554507776001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:56:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:56:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554507776001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":124568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:56:34] local.INFO: GPS data processed {"connection_id":124568,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:56:34] local.INFO: Acknowledgment sent {"connection_id":124568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:56:36] local.INFO: TCP Data received {"connection_id":126531,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be50688012d9e5000055a8298000600a92c..."} 
[2026-07-07 14:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be50688012d9e5000055a8298000600a92c..."} 
[2026-07-07 14:56:36] local.INFO: Processing buffer {"connection_id":126531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be50688012d9e5000055a8298000600a92c..."} 
[2026-07-07 14:56:36] local.INFO: Packet analysis {"connection_id":126531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be5"} 
[2026-07-07 14:56:36] local.INFO: Extracted packet for processing {"connection_id":126531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be5"} 
[2026-07-07 14:56:36] local.INFO: GPS Element Parsed {"raw_longitude":765349888,"raw_latitude":89817752,"longitude_deg":76.5349888,"latitude_deg":8.9817752,"altitude":6,"angle":169,"satellites":44,"speed":28,"hex_longitude":"2d9e5000","hex_latitude":"055a8298","is_valid_coordinates":true} 
[2026-07-07 14:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554570496001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341461084126838784,"note":"Value kept but may cause issues"} 
[2026-07-07 14:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7039618775795642368,"note":"Value kept but may cause issues"} 
[2026-07-07 14:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783416293000,"timestamp_ms":1783416293000,"timestamp_seconds":1783416293,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be50688"} 
[2026-07-07 14:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:56: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-07-07 14:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 14:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554570496001,"66":27908,"117":206,"84":7168,"24":28,"16":341461084126838784,"45":-7039618775795642368},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-07-07 14:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554570496001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:56:36] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-07 14:56:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341461084126838784,"km_value":341461084126838.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7039618775795642368,"description":"Unknown IO ID 45"} 
[2026-07-07 14:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554570496001,"power":27908,"unknown_117":206,"unknown_84":7168,"ignition":28,"odometer":null,"unknown_45":-7039618775795642368}} 
[2026-07-07 14:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":126531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:56:36] local.INFO: GPS data processed {"connection_id":126531,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:56:36] local.INFO: Acknowledgment sent {"connection_id":126531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:56:37] local.INFO: TCP Data received {"connection_id":124568,"ip":"117.224.141.66","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be5d978012d196940071fec580032006724..."} 
[2026-07-07 14:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be5d978012d196940071fec580032006724..."} 
[2026-07-07 14:56:37] local.INFO: Processing buffer {"connection_id":124568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be5d978012d196940071fec580032006724..."} 
[2026-07-07 14:56:37] local.INFO: Packet analysis {"connection_id":124568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be5"} 
[2026-07-07 14:56:37] local.INFO: Extracted packet for processing {"connection_id":124568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be5"} 
[2026-07-07 14:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532632,"longitude_deg":75.6640064,"latitude_deg":11.9532632,"altitude":50,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-07-07 14:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554507776001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4902709463351296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847348736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783416347000,"timestamp_ms":1783416347000,"timestamp_seconds":1783416347,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be5d978"} 
[2026-07-07 14:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8448,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 14:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 14:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 14:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.66","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 14:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 14:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554507776001,"66":2177,"121":206,"28":31744,"24":0,"16":4902709463351296,"45":1831065122847348736},"client_ip":"117.224.141.66","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 14:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 14:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 14:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554507776001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:56:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 14:56:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 14:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4902709463351296,"km_value":4902709463351.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847348736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554507776001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847348736}} 
[2026-07-07 14:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":124568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:56:37] local.INFO: GPS data processed {"connection_id":124568,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:56:37] local.INFO: Acknowledgment sent {"connection_id":124568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:56:59] local.INFO: TCP Data received {"connection_id":124476,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:56:59] local.INFO: Processing buffer {"connection_id":124476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:56:59] local.INFO: IMEI packet received {"connection_id":124476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":124476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:57:04] local.INFO: TCP Data received {"connection_id":124476,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:57:04] local.INFO: Processing buffer {"connection_id":124476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:57:04] local.INFO: IMEI packet received {"connection_id":124476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":124476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:57:05] local.INFO: TCP Data received {"connection_id":124476,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be51a10012d9e5080055a7340000600b42a..."} 
[2026-07-07 14:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be51a10012d9e5080055a7340000600b42a..."} 
[2026-07-07 14:57:05] local.INFO: Processing buffer {"connection_id":124476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be51a10012d9e5080055a7340000600b42a..."} 
[2026-07-07 14:57:05] local.INFO: Packet analysis {"connection_id":124476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be5"} 
[2026-07-07 14:57:05] local.INFO: Extracted packet for processing {"connection_id":124476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be5"} 
[2026-07-07 14:57:05] local.INFO: GPS Element Parsed {"raw_longitude":765350016,"raw_latitude":89813824,"longitude_deg":76.5350016,"latitude_deg":8.9813824,"altitude":6,"angle":180,"satellites":42,"speed":33,"hex_longitude":"2d9e5080","hex_latitude":"055a7340","is_valid_coordinates":true} 
[2026-07-07 14:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554571008001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341461273105399808,"note":"Value kept but may cause issues"} 
[2026-07-07 14:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7039126194586740736,"note":"Value kept but may cause issues"} 
[2026-07-07 14:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783416298000,"timestamp_ms":1783416298000,"timestamp_seconds":1783416298,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be51a10"} 
[2026-07-07 14:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 14:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554571008001,"66":27865,"117":206,"84":7168,"24":33,"16":341461273105399808,"45":-7039126194586740736},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-07-07 14:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554571008001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:57:05] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-07 14:57:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341461273105399808,"km_value":341461273105399.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7039126194586740736,"description":"Unknown IO ID 45"} 
[2026-07-07 14:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554571008001,"power":27865,"unknown_117":206,"unknown_84":7168,"ignition":33,"odometer":null,"unknown_45":-7039126194586740736}} 
[2026-07-07 14:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":124476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:57:05] local.INFO: GPS data processed {"connection_id":124476,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:57:05] local.INFO: Acknowledgment sent {"connection_id":124476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:57:21] local.INFO: TCP Data received {"connection_id":125288,"ip":"117.224.141.66","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:57:21] local.INFO: Processing buffer {"connection_id":125288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 14:57:21] local.INFO: IMEI packet received {"connection_id":125288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 14:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":125288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:57:35] local.INFO: TCP Data received {"connection_id":124476,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be550c0012d9e4e40055a4fe8000500ba2a..."} 
[2026-07-07 14:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be550c0012d9e4e40055a4fe8000500ba2a..."} 
[2026-07-07 14:57:35] local.INFO: Processing buffer {"connection_id":124476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be550c0012d9e4e40055a4fe8000500ba2a..."} 
[2026-07-07 14:57:35] local.INFO: Packet analysis {"connection_id":124476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be5"} 
[2026-07-07 14:57:35] local.INFO: Extracted packet for processing {"connection_id":124476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be5"} 
[2026-07-07 14:57:35] local.INFO: GPS Element Parsed {"raw_longitude":765349440,"raw_latitude":89804776,"longitude_deg":76.534944,"latitude_deg":8.9804776,"altitude":5,"angle":186,"satellites":42,"speed":11,"hex_longitude":"2d9e4e40","hex_latitude":"055a4fe8","is_valid_coordinates":true} 
[2026-07-07 14:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554572288001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341461715487031296,"note":"Value kept but may cause issues"} 
[2026-07-07 14:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7038985457099390976,"note":"Value kept but may cause issues"} 
[2026-07-07 14:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783416312000,"timestamp_ms":1783416312000,"timestamp_seconds":1783416312,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be550c0"} 
[2026-07-07 14:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:57: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-07-07 14:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 14:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554572288001,"66":27843,"117":206,"84":7168,"24":11,"16":341461715487031296,"45":-7038985457099390976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-07-07 14:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554572288001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:57:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-07 14:57:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341461715487031296,"km_value":341461715487031.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7038985457099390976,"description":"Unknown IO ID 45"} 
[2026-07-07 14:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554572288001,"power":27843,"unknown_117":206,"unknown_84":7168,"ignition":11,"odometer":null,"unknown_45":-7038985457099390976}} 
[2026-07-07 14:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":124476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:57:35] local.INFO: GPS data processed {"connection_id":124476,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:57:35] local.INFO: Acknowledgment sent {"connection_id":124476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:57:58] local.INFO: TCP Data received {"connection_id":124477,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:57:58] local.INFO: Processing buffer {"connection_id":124477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:57:58] local.INFO: IMEI packet received {"connection_id":124477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":124477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:58:03] local.INFO: TCP Data received {"connection_id":124477,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:58:03] local.INFO: Processing buffer {"connection_id":124477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:58:03] local.INFO: IMEI packet received {"connection_id":124477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":124477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:58:04] local.INFO: TCP Data received {"connection_id":124477,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be5a2c8012d9e4c00055a4018000700bc2b..."} 
[2026-07-07 14:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be5a2c8012d9e4c00055a4018000700bc2b..."} 
[2026-07-07 14:58:04] local.INFO: Processing buffer {"connection_id":124477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be5a2c8012d9e4c00055a4018000700bc2b..."} 
[2026-07-07 14:58:04] local.INFO: Packet analysis {"connection_id":124477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be5"} 
[2026-07-07 14:58:04] local.INFO: Extracted packet for processing {"connection_id":124477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be5"} 
[2026-07-07 14:58:04] local.INFO: GPS Element Parsed {"raw_longitude":765348864,"raw_latitude":89800728,"longitude_deg":76.5348864,"latitude_deg":8.9800728,"altitude":7,"angle":188,"satellites":43,"speed":10,"hex_longitude":"2d9e4c00","hex_latitude":"055a4018","is_valid_coordinates":true} 
[2026-07-07 14:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554575872001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341461917350494208,"note":"Value kept but may cause issues"} 
[2026-07-07 14:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7039618775799306240,"note":"Value kept but may cause issues"} 
[2026-07-07 14:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783416333000,"timestamp_ms":1783416333000,"timestamp_seconds":1783416333,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be5a2c8"} 
[2026-07-07 14:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 14:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14: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-07-07 14:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554575872001,"66":27930,"117":206,"84":7168,"24":10,"16":341461917350494208,"45":-7039618775799306240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-07-07 14:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554575872001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:58:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-07 14:58:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341461917350494208,"km_value":341461917350494.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7039618775799306240,"description":"Unknown IO ID 45"} 
[2026-07-07 14:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554575872001,"power":27930,"unknown_117":206,"unknown_84":7168,"ignition":10,"odometer":null,"unknown_45":-7039618775799306240}} 
[2026-07-07 14:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":124477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:58:04] local.INFO: GPS data processed {"connection_id":124477,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:58:04] local.INFO: Acknowledgment sent {"connection_id":124477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:58:35] local.INFO: TCP Data received {"connection_id":124477,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be78ef8012d9e13400558e0a0000a00d02b..."} 
[2026-07-07 14:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be78ef8012d9e13400558e0a0000a00d02b..."} 
[2026-07-07 14:58:35] local.INFO: Processing buffer {"connection_id":124477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be78ef8012d9e13400558e0a0000a00d02b..."} 
[2026-07-07 14:58:35] local.INFO: Packet analysis {"connection_id":124477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be7"} 
[2026-07-07 14:58:35] local.INFO: Extracted packet for processing {"connection_id":124477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be7"} 
[2026-07-07 14:58:35] local.INFO: GPS Element Parsed {"raw_longitude":765334336,"raw_latitude":89710752,"longitude_deg":76.5334336,"latitude_deg":8.9710752,"altitude":10,"angle":208,"satellites":43,"speed":40,"hex_longitude":"2d9e1340","hex_latitude":"0558e0a0","is_valid_coordinates":true} 
[2026-07-07 14:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554610944001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341466478605762560,"note":"Value kept but may cause issues"} 
[2026-07-07 14:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7051159249866366976,"note":"Value kept but may cause issues"} 
[2026-07-07 14:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783416459000,"timestamp_ms":1783416459000,"timestamp_seconds":1783416459,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be78ef8"} 
[2026-07-07 14:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:58: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-07-07 14:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 14:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554610944001,"66":27908,"162":206,"84":7168,"24":40,"16":341466478605762560,"45":-7051159249866366976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-07-07 14:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554610944001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:58:35] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-07 14:58:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341466478605762560,"km_value":341466478605762.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7051159249866366976,"description":"Unknown IO ID 45"} 
[2026-07-07 14:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554610944001,"power":27908,"unknown_162":206,"unknown_84":7168,"ignition":40,"odometer":null,"unknown_45":-7051159249866366976}} 
[2026-07-07 14:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":124477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:58:35] local.INFO: GPS data processed {"connection_id":124477,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:58:35] local.INFO: Acknowledgment sent {"connection_id":124477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:58:58] local.INFO: TCP Data received {"connection_id":125291,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:58:58] local.INFO: Processing buffer {"connection_id":125291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:58:58] local.INFO: IMEI packet received {"connection_id":125291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":125291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:59:04] local.INFO: TCP Data received {"connection_id":125291,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:59:04] local.INFO: Processing buffer {"connection_id":125291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:59:04] local.INFO: IMEI packet received {"connection_id":125291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 14:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":125291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 14:59:05] local.INFO: TCP Data received {"connection_id":125291,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be7b220012d9e01000558c070000800d12c..."} 
[2026-07-07 14:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be7b220012d9e01000558c070000800d12c..."} 
[2026-07-07 14:59:05] local.INFO: Processing buffer {"connection_id":125291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be7b220012d9e01000558c070000800d12c..."} 
[2026-07-07 14:59:05] local.INFO: Packet analysis {"connection_id":125291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be7"} 
[2026-07-07 14:59:05] local.INFO: Extracted packet for processing {"connection_id":125291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be7"} 
[2026-07-07 14:59:05] local.INFO: GPS Element Parsed {"raw_longitude":765329664,"raw_latitude":89702512,"longitude_deg":76.5329664,"latitude_deg":8.9702512,"altitude":8,"angle":209,"satellites":44,"speed":42,"hex_longitude":"2d9e0100","hex_latitude":"0558c070","is_valid_coordinates":true} 
[2026-07-07 14:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554613504001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341466938167263232,"note":"Value kept but may cause issues"} 
[2026-07-07 14:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7056225799449305088,"note":"Value kept but may cause issues"} 
[2026-07-07 14:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783416468000,"timestamp_ms":1783416468000,"timestamp_seconds":1783416468,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be7b220"} 
[2026-07-07 14:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 14:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554613504001,"66":27974,"162":206,"84":7168,"24":42,"16":341466938167263232,"45":-7056225799449305088},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-07-07 14:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554613504001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:59:05] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-07 14:59:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341466938167263232,"km_value":341466938167263.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7056225799449305088,"description":"Unknown IO ID 45"} 
[2026-07-07 14:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554613504001,"power":27974,"unknown_162":206,"unknown_84":7168,"ignition":42,"odometer":null,"unknown_45":-7056225799449305088}} 
[2026-07-07 14:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":125291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:59:05] local.INFO: GPS data processed {"connection_id":125291,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:59:05] local.INFO: Acknowledgment sent {"connection_id":125291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:59:19] local.INFO: TCP Data received {"connection_id":125290,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:59:19] local.INFO: Processing buffer {"connection_id":125290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:59:19] local.INFO: IMEI packet received {"connection_id":125290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 14:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":125290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:59:20] local.INFO: TCP Data received {"connection_id":124478,"ip":"165.154.138.151","data_length":257,"data_hex":"16030100fc010000f803032806cdf960d48ced4987f3dc821cf1df0dab6a5415..."} 
[2026-07-07 14:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124478,"packet_length":257,"packet_hex":"16030100fc010000f803032806cdf960d48ced4987f3dc821cf1df0dab6a5415..."} 
[2026-07-07 14:59:20] local.INFO: Processing buffer {"connection_id":124478,"buffer_length":257,"buffer_hex":"16030100fc010000f803032806cdf960d48ced4987f3dc821cf1df0dab6a5415..."} 
[2026-07-07 14:59:20] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":124478,"buffer_length":257,"first_bytes_hex":"16030100fc010000f803032806cdf960"} 
[2026-07-07 14:59:36] local.INFO: TCP Data received {"connection_id":125291,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be7c5a8012d9df9000558b008000600bf2c..."} 
[2026-07-07 14:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be7c5a8012d9df9000558b008000600bf2c..."} 
[2026-07-07 14:59:36] local.INFO: Processing buffer {"connection_id":125291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be7c5a8012d9df9000558b008000600bf2c..."} 
[2026-07-07 14:59:36] local.INFO: Packet analysis {"connection_id":125291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be7"} 
[2026-07-07 14:59:36] local.INFO: Extracted packet for processing {"connection_id":125291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be7"} 
[2026-07-07 14:59:36] local.INFO: GPS Element Parsed {"raw_longitude":765327616,"raw_latitude":89698312,"longitude_deg":76.5327616,"latitude_deg":8.9698312,"altitude":6,"angle":191,"satellites":44,"speed":31,"hex_longitude":"2d9df900","hex_latitude":"0558b008","is_valid_coordinates":true} 
[2026-07-07 14:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 14:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554615808001,"note":"Value kept but may cause issues"} 
[2026-07-07 14:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341467161505562624,"note":"Value kept but may cause issues"} 
[2026-07-07 14:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7061362717776384000,"note":"Value kept but may cause issues"} 
[2026-07-07 14:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 14:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783416473000,"timestamp_ms":1783416473000,"timestamp_seconds":1783416473,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be7c5a8"} 
[2026-07-07 14:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 14:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 14:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 14:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 14:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 14:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 14:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 14:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 14:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 14:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 14:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 14:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 14:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554615808001,"66":27930,"162":206,"84":7168,"24":31,"16":341467161505562624,"45":-7061362717776384000},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-07-07 14:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 14:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 14:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554615808001,"description":"Unknown IO ID 0"} 
[2026-07-07 14:59:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-07 14:59:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 14:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341467161505562624,"km_value":341467161505562.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 14:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7061362717776384000,"description":"Unknown IO ID 45"} 
[2026-07-07 14:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554615808001,"power":27930,"unknown_162":206,"unknown_84":7168,"ignition":31,"odometer":null,"unknown_45":-7061362717776384000}} 
[2026-07-07 14:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":125291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 14:59:36] local.INFO: GPS data processed {"connection_id":125291,"processed":1,"errors":0,"total":1} 
[2026-07-07 14:59:36] local.INFO: Acknowledgment sent {"connection_id":125291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 14:59:38] local.INFO: TCP Data received {"connection_id":126533,"ip":"165.154.138.151","data_length":254,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-07 14:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126533,"packet_length":254,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-07 14:59:38] local.INFO: Processing buffer {"connection_id":126533,"buffer_length":254,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-07 14:59:38] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":126533,"buffer_length":254,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-07-07 14:59:56] local.INFO: TCP Data received {"connection_id":124569,"ip":"165.154.138.151","data_length":4,"data_hex":"0d0a0d0a..."} 
[2026-07-07 14:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124569,"packet_length":4,"packet_hex":"0d0a0d0a..."} 
[2026-07-07 14:59:56] local.INFO: Processing buffer {"connection_id":124569,"buffer_length":4,"buffer_hex":"0d0a0d0a..."} 
[2026-07-07 14:59:58] local.INFO: TCP Data received {"connection_id":125292,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:59:58] local.INFO: Processing buffer {"connection_id":125292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 14:59:58] local.INFO: IMEI packet received {"connection_id":125292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 14:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":125292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 14:59:59] local.INFO: TCP Data received {"connection_id":124480,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:59:59] local.INFO: Processing buffer {"connection_id":124480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 14:59:59] local.INFO: IMEI packet received {"connection_id":124480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 14:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":124480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:00:04] local.INFO: TCP Data received {"connection_id":125292,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:00:04] local.INFO: Processing buffer {"connection_id":125292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:00:04] local.INFO: IMEI packet received {"connection_id":125292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":125292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:00:05] local.INFO: TCP Data received {"connection_id":125292,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be7d930012d9df6800558a118000600ce2a..."} 
[2026-07-07 15:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be7d930012d9df6800558a118000600ce2a..."} 
[2026-07-07 15:00:05] local.INFO: Processing buffer {"connection_id":125292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be7d930012d9df6800558a118000600ce2a..."} 
[2026-07-07 15:00:05] local.INFO: Packet analysis {"connection_id":125292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be7"} 
[2026-07-07 15:00:05] local.INFO: Extracted packet for processing {"connection_id":125292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be7"} 
[2026-07-07 15:00:05] local.INFO: GPS Element Parsed {"raw_longitude":765326976,"raw_latitude":89694488,"longitude_deg":76.5326976,"latitude_deg":8.9694488,"altitude":6,"angle":206,"satellites":42,"speed":30,"hex_longitude":"2d9df680","hex_latitude":"0558a118","is_valid_coordinates":true} 
[2026-07-07 15:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554617088001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341467350484123648,"note":"Value kept but may cause issues"} 
[2026-07-07 15:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7063614517591144448,"note":"Value kept but may cause issues"} 
[2026-07-07 15:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783416478000,"timestamp_ms":1783416478000,"timestamp_seconds":1783416478,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be7d930"} 
[2026-07-07 15:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 15:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554617088001,"66":27821,"162":206,"84":7168,"24":30,"16":341467350484123648,"45":-7063614517591144448},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-07-07 15:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554617088001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:00:05] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-07 15:00:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 15:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341467350484123648,"km_value":341467350484123.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7063614517591144448,"description":"Unknown IO ID 45"} 
[2026-07-07 15:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554617088001,"power":27821,"unknown_162":206,"unknown_84":7168,"ignition":30,"odometer":null,"unknown_45":-7063614517591144448}} 
[2026-07-07 15:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":125292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:00:05] local.INFO: GPS data processed {"connection_id":125292,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:00:05] local.INFO: Acknowledgment sent {"connection_id":125292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:00:14] local.INFO: TCP Data received {"connection_id":124570,"ip":"165.154.138.151","data_length":41,"data_hex":"050400010280050100030a6769746875622e636f6d0050474554202f20485454..."} 
[2026-07-07 15:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124570,"packet_length":41,"packet_hex":"050400010280050100030a6769746875622e636f6d0050474554202f20485454..."} 
[2026-07-07 15:00:14] local.INFO: Processing buffer {"connection_id":124570,"buffer_length":41,"buffer_hex":"050400010280050100030a6769746875622e636f6d0050474554202f20485454..."} 
[2026-07-07 15:00:14] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":124570,"buffer_length":41,"first_bytes_hex":"050400010280050100030a6769746875"} 
[2026-07-07 15:00:32] local.INFO: TCP Data received {"connection_id":126534,"ip":"165.154.138.151","data_length":11,"data_hex":"0300000b06e00000000000..."} 
[2026-07-07 15:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126534,"packet_length":11,"packet_hex":"0300000b06e00000000000..."} 
[2026-07-07 15:00:32] local.INFO: Processing buffer {"connection_id":126534,"buffer_length":11,"buffer_hex":"0300000b06e00000000000..."} 
[2026-07-07 15:00:36] local.INFO: TCP Data received {"connection_id":125292,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be80428012d9de60005588210000700cf2b..."} 
[2026-07-07 15:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be80428012d9de60005588210000700cf2b..."} 
[2026-07-07 15:00:36] local.INFO: Processing buffer {"connection_id":125292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be80428012d9de60005588210000700cf2b..."} 
[2026-07-07 15:00:36] local.INFO: Packet analysis {"connection_id":125292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be8"} 
[2026-07-07 15:00:36] local.INFO: Extracted packet for processing {"connection_id":125292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be8"} 
[2026-07-07 15:00:36] local.INFO: GPS Element Parsed {"raw_longitude":765322752,"raw_latitude":89686544,"longitude_deg":76.5322752,"latitude_deg":8.9686544,"altitude":7,"angle":207,"satellites":43,"speed":37,"hex_longitude":"2d9de600","hex_latitude":"05588210","is_valid_coordinates":true} 
[2026-07-07 15:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554618368001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341467788570787840,"note":"Value kept but may cause issues"} 
[2026-07-07 15:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7064318205033900032,"note":"Value kept but may cause issues"} 
[2026-07-07 15:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783416489000,"timestamp_ms":1783416489000,"timestamp_seconds":1783416489,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be80428"} 
[2026-07-07 15:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 15:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554618368001,"66":27908,"162":206,"84":7168,"24":37,"16":341467788570787840,"45":-7064318205033900032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-07-07 15:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554618368001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:00:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-07 15:00:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 15:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341467788570787840,"km_value":341467788570787.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7064318205033900032,"description":"Unknown IO ID 45"} 
[2026-07-07 15:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554618368001,"power":27908,"unknown_162":206,"unknown_84":7168,"ignition":37,"odometer":null,"unknown_45":-7064318205033900032}} 
[2026-07-07 15:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":125292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:00:36] local.INFO: GPS data processed {"connection_id":125292,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:00:36] local.INFO: Acknowledgment sent {"connection_id":125292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:00:50] local.INFO: TCP Data received {"connection_id":126535,"ip":"165.154.138.151","data_length":51,"data_hex":"030000332ee00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-07 15:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126535,"packet_length":51,"packet_hex":"030000332ee00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-07 15:00:50] local.INFO: Processing buffer {"connection_id":126535,"buffer_length":51,"buffer_hex":"030000332ee00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-07 15:00:50] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":126535,"buffer_length":51,"first_bytes_hex":"030000332ee00000000000436f6f6b69"} 
[2026-07-07 15:01:04] local.INFO: TCP Data received {"connection_id":124481,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:01:04] local.INFO: Processing buffer {"connection_id":124481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:01:04] local.INFO: IMEI packet received {"connection_id":124481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":124481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:01:08] local.INFO: TCP Data received {"connection_id":124481,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:01:08] local.INFO: Processing buffer {"connection_id":124481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:01:08] local.INFO: IMEI packet received {"connection_id":124481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":124481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:01:09] local.INFO: TCP Data received {"connection_id":124481,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be82750012d9dd300055862c0000700d42d..."} 
[2026-07-07 15:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be82750012d9dd300055862c0000700d42d..."} 
[2026-07-07 15:01:09] local.INFO: Processing buffer {"connection_id":124481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be82750012d9dd300055862c0000700d42d..."} 
[2026-07-07 15:01:09] local.INFO: Packet analysis {"connection_id":124481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be8"} 
[2026-07-07 15:01:09] local.INFO: Extracted packet for processing {"connection_id":124481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be8"} 
[2026-07-07 15:01:09] local.INFO: GPS Element Parsed {"raw_longitude":765317888,"raw_latitude":89678528,"longitude_deg":76.5317888,"latitude_deg":8.9678528,"altitude":7,"angle":212,"satellites":45,"speed":44,"hex_longitude":"2d9dd300","hex_latitude":"055862c0","is_valid_coordinates":true} 
[2026-07-07 15:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554621184001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341468239542353920,"note":"Value kept but may cause issues"} 
[2026-07-07 15:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7068962542151659520,"note":"Value kept but may cause issues"} 
[2026-07-07 15:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783416498000,"timestamp_ms":1783416498000,"timestamp_seconds":1783416498,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be82750"} 
[2026-07-07 15:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:01: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-07-07 15:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 15:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554621184001,"66":28006,"179":206,"84":7168,"24":44,"16":341468239542353920,"45":-7068962542151659520},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-07-07 15:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554621184001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:01:09] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-07 15:01:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 15:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341468239542353920,"km_value":341468239542353.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7068962542151659520,"description":"Unknown IO ID 45"} 
[2026-07-07 15:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554621184001,"power":28006,"unknown_179":206,"unknown_84":7168,"ignition":44,"odometer":null,"unknown_45":-7068962542151659520}} 
[2026-07-07 15:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":124481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:01:09] local.INFO: GPS data processed {"connection_id":124481,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:01:09] local.INFO: Acknowledgment sent {"connection_id":124481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:01:10] local.INFO: TCP Data received {"connection_id":124481,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be84690012d9dc000055844f8000600d22d..."} 
[2026-07-07 15:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be84690012d9dc000055844f8000600d22d..."} 
[2026-07-07 15:01:10] local.INFO: Processing buffer {"connection_id":124481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be84690012d9dc000055844f8000600d22d..."} 
[2026-07-07 15:01:10] local.INFO: Packet analysis {"connection_id":124481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be8"} 
[2026-07-07 15:01:10] local.INFO: Extracted packet for processing {"connection_id":124481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be8"} 
[2026-07-07 15:01:10] local.INFO: GPS Element Parsed {"raw_longitude":765313024,"raw_latitude":89670904,"longitude_deg":76.5313024,"latitude_deg":8.9670904,"altitude":6,"angle":210,"satellites":45,"speed":46,"hex_longitude":"2d9dc000","hex_latitude":"055844f8","is_valid_coordinates":true} 
[2026-07-07 15:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554623488001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341468677629018112,"note":"Value kept but may cause issues"} 
[2026-07-07 15:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7074310566711214080,"note":"Value kept but may cause issues"} 
[2026-07-07 15:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783416506000,"timestamp_ms":1783416506000,"timestamp_seconds":1783416506,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be84690"} 
[2026-07-07 15:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:01: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-07-07 15:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 15:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554623488001,"66":27865,"179":206,"84":7168,"24":46,"16":341468677629018112,"45":-7074310566711214080},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-07-07 15:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554623488001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:01:10] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-07 15:01:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 15:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341468677629018112,"km_value":341468677629018.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7074310566711214080,"description":"Unknown IO ID 45"} 
[2026-07-07 15:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554623488001,"power":27865,"unknown_179":206,"unknown_84":7168,"ignition":46,"odometer":null,"unknown_45":-7074310566711214080}} 
[2026-07-07 15:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":124481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:01:10] local.INFO: GPS data processed {"connection_id":124481,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:01:10] local.INFO: Acknowledgment sent {"connection_id":124481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:01:41] local.INFO: TCP Data received {"connection_id":124481,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be85e00012d9db40005582b28000700c72c..."} 
[2026-07-07 15:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be85e00012d9db40005582b28000700c72c..."} 
[2026-07-07 15:01:41] local.INFO: Processing buffer {"connection_id":124481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be85e00012d9db40005582b28000700c72c..."} 
[2026-07-07 15:01:41] local.INFO: Packet analysis {"connection_id":124481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be8"} 
[2026-07-07 15:01:41] local.INFO: Extracted packet for processing {"connection_id":124481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be8"} 
[2026-07-07 15:01:41] local.INFO: GPS Element Parsed {"raw_longitude":765309952,"raw_latitude":89664296,"longitude_deg":76.5309952,"latitude_deg":8.9664296,"altitude":7,"angle":199,"satellites":44,"speed":49,"hex_longitude":"2d9db400","hex_latitude":"05582b28","is_valid_coordinates":true} 
[2026-07-07 15:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554625536001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341469029816336384,"note":"Value kept but may cause issues"} 
[2026-07-07 15:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7079658591270668288,"note":"Value kept but may cause issues"} 
[2026-07-07 15:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783416512000,"timestamp_ms":1783416512000,"timestamp_seconds":1783416512,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be85e00"} 
[2026-07-07 15:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:01: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-07-07 15:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 15:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554625536001,"66":28006,"179":206,"84":7168,"24":49,"16":341469029816336384,"45":-7079658591270668288},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-07-07 15:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554625536001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:01:41] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-07 15:01:41] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 15:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341469029816336384,"km_value":341469029816336.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7079658591270668288,"description":"Unknown IO ID 45"} 
[2026-07-07 15:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554625536001,"power":28006,"unknown_179":206,"unknown_84":7168,"ignition":49,"odometer":null,"unknown_45":-7079658591270668288}} 
[2026-07-07 15:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":124481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:01:41] local.INFO: GPS data processed {"connection_id":124481,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:01:41] local.INFO: Acknowledgment sent {"connection_id":124481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:01:59] local.INFO: TCP Data received {"connection_id":125293,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:01:59] local.INFO: Processing buffer {"connection_id":125293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:01:59] local.INFO: IMEI packet received {"connection_id":125293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":125293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:02:04] local.INFO: TCP Data received {"connection_id":125293,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:02:04] local.INFO: Processing buffer {"connection_id":125293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:02:04] local.INFO: IMEI packet received {"connection_id":125293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":125293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:02:05] local.INFO: TCP Data received {"connection_id":125293,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3be87570012d9dad8005580df8000700ba2c..."} 
[2026-07-07 15:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3be87570012d9dad8005580df8000700ba2c..."} 
[2026-07-07 15:02:05] local.INFO: Processing buffer {"connection_id":125293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3be87570012d9dad8005580df8000700ba2c..."} 
[2026-07-07 15:02:05] local.INFO: Packet analysis {"connection_id":125293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3be8"} 
[2026-07-07 15:02:05] local.INFO: Extracted packet for processing {"connection_id":125293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3be8"} 
[2026-07-07 15:02:05] local.INFO: GPS Element Parsed {"raw_longitude":765308288,"raw_latitude":89656824,"longitude_deg":76.5308288,"latitude_deg":8.9656824,"altitude":7,"angle":186,"satellites":44,"speed":51,"hex_longitude":"2d9dad80","hex_latitude":"05580df8","is_valid_coordinates":true} 
[2026-07-07 15:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554627072001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341469403478491136,"note":"Value kept but may cause issues"} 
[2026-07-07 15:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7083036290992887808,"note":"Value kept but may cause issues"} 
[2026-07-07 15:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783416518000,"timestamp_ms":1783416518000,"timestamp_seconds":1783416518,"priority":1,"record_length":96,"hex_timestamp":"0000019f3be87570"} 
[2026-07-07 15:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 15:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554627072001,"66":27876,"179":206,"84":7168,"24":51,"16":341469403478491136,"45":-7083036290992887808},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-07-07 15:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554627072001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:02:05] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-07 15:02:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 15:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341469403478491136,"km_value":341469403478491.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7083036290992887808,"description":"Unknown IO ID 45"} 
[2026-07-07 15:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554627072001,"power":27876,"unknown_179":206,"unknown_84":7168,"ignition":51,"odometer":null,"unknown_45":-7083036290992887808}} 
[2026-07-07 15:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":125293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:02:05] local.INFO: GPS data processed {"connection_id":125293,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:02:05] local.INFO: Acknowledgment sent {"connection_id":125293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:02:36] local.INFO: TCP Data received {"connection_id":125293,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3beb2cc0012d9e3140055672000006009e2c..."} 
[2026-07-07 15:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3beb2cc0012d9e3140055672000006009e2c..."} 
[2026-07-07 15:02:36] local.INFO: Processing buffer {"connection_id":125293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3beb2cc0012d9e3140055672000006009e2c..."} 
[2026-07-07 15:02:36] local.INFO: Packet analysis {"connection_id":125293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3beb"} 
[2026-07-07 15:02:36] local.INFO: Extracted packet for processing {"connection_id":125293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3beb"} 
[2026-07-07 15:02:36] local.INFO: GPS Element Parsed {"raw_longitude":765342016,"raw_latitude":89551360,"longitude_deg":76.5342016,"latitude_deg":8.955136,"altitude":6,"angle":158,"satellites":44,"speed":42,"hex_longitude":"2d9e3140","hex_latitude":"05567200","is_valid_coordinates":true} 
[2026-07-07 15:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554671872001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341474806547349504,"note":"Value kept but may cause issues"} 
[2026-07-07 15:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7051440724883818496,"note":"Value kept but may cause issues"} 
[2026-07-07 15:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783416696000,"timestamp_ms":1783416696000,"timestamp_seconds":1783416696,"priority":1,"record_length":96,"hex_timestamp":"0000019f3beb2cc0"} 
[2026-07-07 15:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 15:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554671872001,"66":27908,"197":206,"84":7168,"24":42,"16":341474806547349504,"45":-7051440724883818496},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,84,24,16,45]} 
[2026-07-07 15:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554671872001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:02:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-07 15:02:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 15:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341474806547349504,"km_value":341474806547349.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7051440724883818496,"description":"Unknown IO ID 45"} 
[2026-07-07 15:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554671872001,"power":27908,"unknown_197":206,"unknown_84":7168,"ignition":42,"odometer":null,"unknown_45":-7051440724883818496}} 
[2026-07-07 15:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":125293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:02:36] local.INFO: GPS data processed {"connection_id":125293,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:02:36] local.INFO: Acknowledgment sent {"connection_id":125293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:02:58] local.INFO: TCP Data received {"connection_id":126537,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:02:58] local.INFO: Processing buffer {"connection_id":126537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:02:58] local.INFO: IMEI packet received {"connection_id":126537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":126537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:02:58] local.INFO: TCP Data received {"connection_id":126537,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:02:58] local.INFO: Processing buffer {"connection_id":126537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:02:58] local.INFO: IMEI packet received {"connection_id":126537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":126537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:03:04] local.INFO: TCP Data received {"connection_id":126537,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:03:04] local.INFO: Processing buffer {"connection_id":126537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:03:04] local.INFO: IMEI packet received {"connection_id":126537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":126537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:03:05] local.INFO: TCP Data received {"connection_id":126537,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3beb4c00012d9e3e00055651480006009d2d..."} 
[2026-07-07 15:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3beb4c00012d9e3e00055651480006009d2d..."} 
[2026-07-07 15:03:05] local.INFO: Processing buffer {"connection_id":126537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3beb4c00012d9e3e00055651480006009d2d..."} 
[2026-07-07 15:03:05] local.INFO: Packet analysis {"connection_id":126537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3beb"} 
[2026-07-07 15:03:05] local.INFO: Extracted packet for processing {"connection_id":126537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3beb"} 
[2026-07-07 15:03:05] local.INFO: GPS Element Parsed {"raw_longitude":765345280,"raw_latitude":89542984,"longitude_deg":76.534528,"latitude_deg":8.9542984,"altitude":6,"angle":157,"satellites":45,"speed":46,"hex_longitude":"2d9e3e00","hex_latitude":"05565148","is_valid_coordinates":true} 
[2026-07-07 15:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554674176001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341475244634013696,"note":"Value kept but may cause issues"} 
[2026-07-07 15:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7047781550188789760,"note":"Value kept but may cause issues"} 
[2026-07-07 15:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783416704000,"timestamp_ms":1783416704000,"timestamp_seconds":1783416704,"priority":1,"record_length":96,"hex_timestamp":"0000019f3beb4c00"} 
[2026-07-07 15:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 15:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554674176001,"66":27919,"197":206,"84":7168,"24":46,"16":341475244634013696,"45":-7047781550188789760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,84,24,16,45]} 
[2026-07-07 15:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554674176001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:03:05] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-07 15:03:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 15:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341475244634013696,"km_value":341475244634013.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7047781550188789760,"description":"Unknown IO ID 45"} 
[2026-07-07 15:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554674176001,"power":27919,"unknown_197":206,"unknown_84":7168,"ignition":46,"odometer":null,"unknown_45":-7047781550188789760}} 
[2026-07-07 15:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":126537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:03:05] local.INFO: GPS data processed {"connection_id":126537,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:03:05] local.INFO: Acknowledgment sent {"connection_id":126537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:03:36] local.INFO: TCP Data received {"connection_id":126537,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3beb6b40012d9e4b0005562e18000500a12d..."} 
[2026-07-07 15:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3beb6b40012d9e4b0005562e18000500a12d..."} 
[2026-07-07 15:03:36] local.INFO: Processing buffer {"connection_id":126537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3beb6b40012d9e4b0005562e18000500a12d..."} 
[2026-07-07 15:03:36] local.INFO: Packet analysis {"connection_id":126537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3beb"} 
[2026-07-07 15:03:36] local.INFO: Extracted packet for processing {"connection_id":126537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3beb"} 
[2026-07-07 15:03:36] local.INFO: GPS Element Parsed {"raw_longitude":765348608,"raw_latitude":89533976,"longitude_deg":76.5348608,"latitude_deg":8.9533976,"altitude":5,"angle":161,"satellites":45,"speed":49,"hex_longitude":"2d9e4b00","hex_latitude":"05562e18","is_valid_coordinates":true} 
[2026-07-07 15:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554676224001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341475708490481664,"note":"Value kept but may cause issues"} 
[2026-07-07 15:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7044192744237873152,"note":"Value kept but may cause issues"} 
[2026-07-07 15:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783416712000,"timestamp_ms":1783416712000,"timestamp_seconds":1783416712,"priority":1,"record_length":96,"hex_timestamp":"0000019f3beb6b40"} 
[2026-07-07 15:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 15:03: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-07-07 15:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554676224001,"66":27995,"197":206,"84":7168,"24":49,"16":341475708490481664,"45":-7044192744237873152},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,84,24,16,45]} 
[2026-07-07 15:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554676224001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:03:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-07 15:03:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 15:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341475708490481664,"km_value":341475708490481.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7044192744237873152,"description":"Unknown IO ID 45"} 
[2026-07-07 15:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554676224001,"power":27995,"unknown_197":206,"unknown_84":7168,"ignition":49,"odometer":null,"unknown_45":-7044192744237873152}} 
[2026-07-07 15:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":126537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:03:36] local.INFO: GPS data processed {"connection_id":126537,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:03:36] local.INFO: Acknowledgment sent {"connection_id":126537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:03:46] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:03:46] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:03:46] local.INFO: IMEI packet received {"connection_id":124571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":124571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:03:48] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:03:48] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:03:48] local.INFO: IMEI packet received {"connection_id":124571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":124571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:03:51] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:03:51] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:03:51] local.INFO: IMEI packet received {"connection_id":124571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":124571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:03:53] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-07 15:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-07 15:03:53] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-07 15:03:53] local.INFO: Packet analysis {"connection_id":124571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-07 15:03:53] local.INFO: Extracted packet for processing {"connection_id":124571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-07 15:03: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-07-07 15:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 15:03:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 15:03:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 15:03:53] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 15:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":124571,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":124571,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-07 15:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":124571,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-07 15:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 15:03:53] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 15:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":124571,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 15:03:53] local.ERROR: GPS data processing failed {"connection_id":124571,"error":"No valid data to process"} 
[2026-07-07 15:03:53] local.INFO: Acknowledgment sent {"connection_id":124571,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 15:03:59] local.INFO: TCP Data received {"connection_id":124484,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:03:59] local.INFO: Processing buffer {"connection_id":124484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:03:59] local.INFO: IMEI packet received {"connection_id":124484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":124484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:04:03] local.INFO: TCP Data received {"connection_id":124484,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:04:03] local.INFO: Processing buffer {"connection_id":124484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:04:03] local.INFO: IMEI packet received {"connection_id":124484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":124484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:04:04] local.INFO: TCP Data received {"connection_id":124484,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bec8480012d9eb0800554cac8000600a02b..."} 
[2026-07-07 15:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bec8480012d9eb0800554cac8000600a02b..."} 
[2026-07-07 15:04:04] local.INFO: Processing buffer {"connection_id":124484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bec8480012d9eb0800554cac8000600a02b..."} 
[2026-07-07 15:04:04] local.INFO: Packet analysis {"connection_id":124484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bec"} 
[2026-07-07 15:04:04] local.INFO: Extracted packet for processing {"connection_id":124484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bec"} 
[2026-07-07 15:04:04] local.INFO: GPS Element Parsed {"raw_longitude":765374592,"raw_latitude":89443016,"longitude_deg":76.5374592,"latitude_deg":8.9443016,"altitude":6,"angle":160,"satellites":43,"speed":55,"hex_longitude":"2d9eb080","hex_latitude":"0554cac8","is_valid_coordinates":true} 
[2026-07-07 15:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554694912001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341480295515553792,"note":"Value kept but may cause issues"} 
[2026-07-07 15:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7015552665380806656,"note":"Value kept but may cause issues"} 
[2026-07-07 15:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783416784000,"timestamp_ms":1783416784000,"timestamp_seconds":1783416784,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bec8480"} 
[2026-07-07 15:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 15:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554694912001,"66":27908,"196":206,"84":7168,"24":55,"16":341480295515553792,"45":-7015552665380806656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-07-07 15:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554694912001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:04:04] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-07 15:04:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 15:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341480295515553792,"km_value":341480295515553.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7015552665380806656,"description":"Unknown IO ID 45"} 
[2026-07-07 15:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554694912001,"power":27908,"unknown_196":206,"unknown_84":7168,"ignition":55,"odometer":null,"unknown_45":-7015552665380806656}} 
[2026-07-07 15:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":124484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:04:04] local.INFO: GPS data processed {"connection_id":124484,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:04:04] local.INFO: Acknowledgment sent {"connection_id":124484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:04:24] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bed3c18012d7d0ac005ec40c0000d014f07..."} 
[2026-07-07 15:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bed3c18012d7d0ac005ec40c0000d014f07..."} 
[2026-07-07 15:04:24] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bed3c18012d7d0ac005ec40c0000d014f07..."} 
[2026-07-07 15:04:24] local.INFO: Packet analysis {"connection_id":124571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bed"} 
[2026-07-07 15:04:24] local.INFO: Extracted packet for processing {"connection_id":124571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bed"} 
[2026-07-07 15:04:24] local.INFO: GPS Element Parsed {"raw_longitude":763169472,"raw_latitude":99369152,"longitude_deg":76.3169472,"latitude_deg":9.9369152,"altitude":13,"angle":335,"satellites":7,"speed":0,"hex_longitude":"2d7d0ac0","hex_latitude":"05ec40c0","is_valid_coordinates":true} 
[2026-07-07 15:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295552606699520,"note":"Value kept but may cause issues"} 
[2026-07-07 15:04:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 15:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783416831000,"timestamp_ms":1783416831000,"timestamp_seconds":1783416831,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bed3c18"} 
[2026-07-07 15:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 15:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":124571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":124571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":124571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12145,"110":206,"87":13824,"24":0,"16":103295552606699520},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16]} 
[2026-07-07 15:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-07 15:04:24] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:04:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295552606699520,"km_value":103295552606699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:04:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12145,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null}} 
[2026-07-07 15:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":124571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:04:24] local.INFO: GPS data processed {"connection_id":124571,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:04:24] local.INFO: Acknowledgment sent {"connection_id":124571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:04:35] local.INFO: TCP Data received {"connection_id":124484,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bec9fd8012d9ebf400554a770000600992d..."} 
[2026-07-07 15:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bec9fd8012d9ebf400554a770000600992d..."} 
[2026-07-07 15:04:35] local.INFO: Processing buffer {"connection_id":124484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bec9fd8012d9ebf400554a770000600992d..."} 
[2026-07-07 15:04:35] local.INFO: Packet analysis {"connection_id":124484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bec"} 
[2026-07-07 15:04:35] local.INFO: Extracted packet for processing {"connection_id":124484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bec"} 
[2026-07-07 15:04:35] local.INFO: GPS Element Parsed {"raw_longitude":765378368,"raw_latitude":89433968,"longitude_deg":76.5378368,"latitude_deg":8.9433968,"altitude":6,"angle":153,"satellites":45,"speed":55,"hex_longitude":"2d9ebf40","hex_latitude":"0554a770","is_valid_coordinates":true} 
[2026-07-07 15:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554696704001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341480772256923648,"note":"Value kept but may cause issues"} 
[2026-07-07 15:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7011963859430094848,"note":"Value kept but may cause issues"} 
[2026-07-07 15:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783416791000,"timestamp_ms":1783416791000,"timestamp_seconds":1783416791,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bec9fd8"} 
[2026-07-07 15:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:04: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-07-07 15:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 15:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554696704001,"66":27767,"196":206,"84":7168,"24":55,"16":341480772256923648,"45":-7011963859430094848},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-07-07 15:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554696704001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:04:35] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-07 15:04:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 15:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341480772256923648,"km_value":341480772256923.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7011963859430094848,"description":"Unknown IO ID 45"} 
[2026-07-07 15:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554696704001,"power":27767,"unknown_196":206,"unknown_84":7168,"ignition":55,"odometer":null,"unknown_45":-7011963859430094848}} 
[2026-07-07 15:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":124484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:04:35] local.INFO: GPS data processed {"connection_id":124484,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:04:35] local.INFO: Acknowledgment sent {"connection_id":124484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:04:55] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bed76b0012d7d0a8005ec3de00000014f09..."} 
[2026-07-07 15:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bed76b0012d7d0a8005ec3de00000014f09..."} 
[2026-07-07 15:04:55] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bed76b0012d7d0a8005ec3de00000014f09..."} 
[2026-07-07 15:04:55] local.INFO: Packet analysis {"connection_id":124571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bed"} 
[2026-07-07 15:04:55] local.INFO: Extracted packet for processing {"connection_id":124571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bed"} 
[2026-07-07 15:04:55] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368416,"longitude_deg":76.3169408,"latitude_deg":9.9368416,"altitude":0,"angle":335,"satellites":9,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3de0","is_valid_coordinates":true} 
[2026-07-07 15:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554708736001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295591261405184,"note":"Value kept but may cause issues"} 
[2026-07-07 15:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010225136179134464,"note":"Value kept but may cause issues"} 
[2026-07-07 15:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783416846000,"timestamp_ms":1783416846000,"timestamp_seconds":1783416846,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bed76b0"} 
[2026-07-07 15:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-07 15:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":124571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":124571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":124571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554708736001,"66":12178,"110":206,"87":13824,"24":0,"16":103295591261405184,"45":9010225136179134464},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554708736001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:04:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:04:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295591261405184,"km_value":103295591261405.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010225136179134464,"description":"Unknown IO ID 45"} 
[2026-07-07 15:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554708736001,"power":12178,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010225136179134464}} 
[2026-07-07 15:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":124571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:04:55] local.INFO: GPS data processed {"connection_id":124571,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:04:55] local.INFO: Acknowledgment sent {"connection_id":124571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:04:58] local.INFO: TCP Data received {"connection_id":124573,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:04:58] local.INFO: Processing buffer {"connection_id":124573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:04:58] local.INFO: IMEI packet received {"connection_id":124573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":124573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:05:04] local.INFO: TCP Data received {"connection_id":124573,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:05:04] local.INFO: Processing buffer {"connection_id":124573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:05:04] local.INFO: IMEI packet received {"connection_id":124573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":124573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:05:05] local.INFO: TCP Data received {"connection_id":124573,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3becbb30012d9ed440055486500006008f2d..."} 
[2026-07-07 15:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3becbb30012d9ed440055486500006008f2d..."} 
[2026-07-07 15:05:05] local.INFO: Processing buffer {"connection_id":124573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3becbb30012d9ed440055486500006008f2d..."} 
[2026-07-07 15:05:05] local.INFO: Packet analysis {"connection_id":124573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bec"} 
[2026-07-07 15:05:05] local.INFO: Extracted packet for processing {"connection_id":124573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bec"} 
[2026-07-07 15:05:05] local.INFO: GPS Element Parsed {"raw_longitude":765383744,"raw_latitude":89425488,"longitude_deg":76.5383744,"latitude_deg":8.9425488,"altitude":6,"angle":143,"satellites":45,"speed":57,"hex_longitude":"2d9ed440","hex_latitude":"05548650","is_valid_coordinates":true} 
[2026-07-07 15:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554698496001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341481257588228096,"note":"Value kept but may cause issues"} 
[2026-07-07 15:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7007812103525928960,"note":"Value kept but may cause issues"} 
[2026-07-07 15:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783416798000,"timestamp_ms":1783416798000,"timestamp_seconds":1783416798,"priority":1,"record_length":96,"hex_timestamp":"0000019f3becbb30"} 
[2026-07-07 15:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 15:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554698496001,"66":27767,"196":206,"84":7168,"24":57,"16":341481257588228096,"45":-7007812103525928960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-07-07 15:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554698496001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:05:05] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-07 15:05:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-07 15:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341481257588228096,"km_value":341481257588228.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7007812103525928960,"description":"Unknown IO ID 45"} 
[2026-07-07 15:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554698496001,"power":27767,"unknown_196":206,"unknown_84":7168,"ignition":57,"odometer":null,"unknown_45":-7007812103525928960}} 
[2026-07-07 15:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":124573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:05:05] local.INFO: GPS data processed {"connection_id":124573,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:05:05] local.INFO: Acknowledgment sent {"connection_id":124573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:05:14] local.INFO: TCP Data received {"connection_id":124572,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:05:14] local.INFO: Processing buffer {"connection_id":124572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:05:14] local.INFO: IMEI packet received {"connection_id":124572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 15:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":124572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:05:27] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bedc8b8012d7d0b0005ec3d180003014f0c..."} 
[2026-07-07 15:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bedc8b8012d7d0b0005ec3d180003014f0c..."} 
[2026-07-07 15:05:27] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bedc8b8012d7d0b0005ec3d180003014f0c..."} 
[2026-07-07 15:05:27] local.INFO: Packet analysis {"connection_id":124571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bed"} 
[2026-07-07 15:05:27] local.INFO: Extracted packet for processing {"connection_id":124571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bed"} 
[2026-07-07 15:05:27] local.INFO: GPS Element Parsed {"raw_longitude":763169536,"raw_latitude":99368216,"longitude_deg":76.3169536,"latitude_deg":9.9368216,"altitude":3,"angle":335,"satellites":12,"speed":0,"hex_longitude":"2d7d0b00","hex_latitude":"05ec3d18","is_valid_coordinates":true} 
[2026-07-07 15:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554712576001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295608441274368,"note":"Value kept but may cause issues"} 
[2026-07-07 15:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434768384,"note":"Value kept but may cause issues"} 
[2026-07-07 15:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783416867000,"timestamp_ms":1783416867000,"timestamp_seconds":1783416867,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bedc8b8"} 
[2026-07-07 15:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 15:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554712576001,"66":12156,"110":206,"87":13824,"24":0,"16":103295608441274368,"45":9010154767434768384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554712576001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:05:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:05:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295608441274368,"km_value":103295608441274.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434768384,"description":"Unknown IO ID 45"} 
[2026-07-07 15:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554712576001,"power":12156,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434768384}} 
[2026-07-07 15:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":124571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:05:27] local.INFO: GPS data processed {"connection_id":124571,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:05:27] local.INFO: Acknowledgment sent {"connection_id":124571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:05:36] local.INFO: TCP Data received {"connection_id":124573,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bede410012d9fc2c00553b638000700af2b..."} 
[2026-07-07 15:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bede410012d9fc2c00553b638000700af2b..."} 
[2026-07-07 15:05:36] local.INFO: Processing buffer {"connection_id":124573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bede410012d9fc2c00553b638000700af2b..."} 
[2026-07-07 15:05:36] local.INFO: Packet analysis {"connection_id":124573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bed"} 
[2026-07-07 15:05:36] local.INFO: Extracted packet for processing {"connection_id":124573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bed"} 
[2026-07-07 15:05:36] local.INFO: GPS Element Parsed {"raw_longitude":765444800,"raw_latitude":89372216,"longitude_deg":76.54448,"latitude_deg":8.9372216,"altitude":7,"angle":175,"satellites":43,"speed":35,"hex_longitude":"2d9fc2c0","hex_latitude":"0553b638","is_valid_coordinates":true} 
[2026-07-07 15:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554718208001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341485320627290112,"note":"Value kept but may cause issues"} 
[2026-07-07 15:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6935895246990862336,"note":"Value kept but may cause issues"} 
[2026-07-07 15:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783416874000,"timestamp_ms":1783416874000,"timestamp_seconds":1783416874,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bede410"} 
[2026-07-07 15:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 15:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554718208001,"66":27919,"115":206,"84":6144,"24":35,"16":341485320627290112,"45":-6935895246990862336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-07 15:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554718208001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:05:36] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 15:05:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341485320627290112,"km_value":341485320627290.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6935895246990862336,"description":"Unknown IO ID 45"} 
[2026-07-07 15:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554718208001,"power":27919,"unknown_115":206,"unknown_84":6144,"ignition":35,"odometer":null,"unknown_45":-6935895246990862336}} 
[2026-07-07 15:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":124573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:05:36] local.INFO: GPS data processed {"connection_id":124573,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:05:36] local.INFO: Acknowledgment sent {"connection_id":124573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:05:58] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bee1ac0012d7d0b0005ec3d980004014f0d..."} 
[2026-07-07 15:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bee1ac0012d7d0b0005ec3d980004014f0d..."} 
[2026-07-07 15:05:58] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bee1ac0012d7d0b0005ec3d980004014f0d..."} 
[2026-07-07 15:05:58] local.INFO: Packet analysis {"connection_id":124571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bee"} 
[2026-07-07 15:05:58] local.INFO: Extracted packet for processing {"connection_id":124571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bee"} 
[2026-07-07 15:05:58] local.INFO: GPS Element Parsed {"raw_longitude":763169536,"raw_latitude":99368344,"longitude_deg":76.3169536,"latitude_deg":9.9368344,"altitude":4,"angle":335,"satellites":13,"speed":0,"hex_longitude":"2d7d0b00","hex_latitude":"05ec3d98","is_valid_coordinates":true} 
[2026-07-07 15:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554717952001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295617031208960,"note":"Value kept but may cause issues"} 
[2026-07-07 15:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010295504923072512,"note":"Value kept but may cause issues"} 
[2026-07-07 15:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783416888000,"timestamp_ms":1783416888000,"timestamp_seconds":1783416888,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bee1ac0"} 
[2026-07-07 15:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 15:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":124571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":124571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":124571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554717952001,"66":12156,"110":206,"87":13824,"24":0,"16":103295617031208960,"45":9010295504923072512},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554717952001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:05:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:05:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295617031208960,"km_value":103295617031208.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010295504923072512,"description":"Unknown IO ID 45"} 
[2026-07-07 15:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554717952001,"power":12156,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010295504923072512}} 
[2026-07-07 15:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":124571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:05:58] local.INFO: GPS data processed {"connection_id":124571,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:05:58] local.INFO: Acknowledgment sent {"connection_id":124571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:05:58] local.INFO: TCP Data received {"connection_id":125296,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:05:58] local.INFO: Processing buffer {"connection_id":125296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:05:58] local.INFO: IMEI packet received {"connection_id":125296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":125296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:05:59] local.INFO: TCP Data received {"connection_id":125295,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:05:59] local.INFO: Processing buffer {"connection_id":125295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:05:59] local.INFO: IMEI packet received {"connection_id":125295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 15:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":125295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:06:04] local.INFO: TCP Data received {"connection_id":125296,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:06:04] local.INFO: Processing buffer {"connection_id":125296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:06:04] local.INFO: IMEI packet received {"connection_id":125296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":125296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:06:04] local.INFO: TCP Data received {"connection_id":125296,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bee0b20012d9fc64005539368000a00ae2b..."} 
[2026-07-07 15:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bee0b20012d9fc64005539368000a00ae2b..."} 
[2026-07-07 15:06:04] local.INFO: Processing buffer {"connection_id":125296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bee0b20012d9fc64005539368000a00ae2b..."} 
[2026-07-07 15:06:04] local.INFO: Packet analysis {"connection_id":125296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bee"} 
[2026-07-07 15:06:04] local.INFO: Extracted packet for processing {"connection_id":125296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bee"} 
[2026-07-07 15:06:04] local.INFO: GPS Element Parsed {"raw_longitude":765445696,"raw_latitude":89363304,"longitude_deg":76.5445696,"latitude_deg":8.9363304,"altitude":10,"angle":174,"satellites":43,"speed":35,"hex_longitude":"2d9fc640","hex_latitude":"05539368","is_valid_coordinates":true} 
[2026-07-07 15:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554719744001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341485758713954304,"note":"Value kept but may cause issues"} 
[2026-07-07 15:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6934769347085322240,"note":"Value kept but may cause issues"} 
[2026-07-07 15:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783416884000,"timestamp_ms":1783416884000,"timestamp_seconds":1783416884,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bee0b20"} 
[2026-07-07 15:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 15:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554719744001,"66":27984,"115":206,"84":6144,"24":35,"16":341485758713954304,"45":-6934769347085322240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-07 15:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554719744001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:06:04] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 15:06:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341485758713954304,"km_value":341485758713954.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6934769347085322240,"description":"Unknown IO ID 45"} 
[2026-07-07 15:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554719744001,"power":27984,"unknown_115":206,"unknown_84":6144,"ignition":35,"odometer":null,"unknown_45":-6934769347085322240}} 
[2026-07-07 15:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":125296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:06:05] local.INFO: GPS data processed {"connection_id":125296,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:06:05] local.INFO: Acknowledgment sent {"connection_id":125296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:06:30] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bee6cc8012d7d0ac005ec3d980003014f0f..."} 
[2026-07-07 15:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bee6cc8012d7d0ac005ec3d980003014f0f..."} 
[2026-07-07 15:06:30] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bee6cc8012d7d0ac005ec3d980003014f0f..."} 
[2026-07-07 15:06:30] local.INFO: Packet analysis {"connection_id":124571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bee"} 
[2026-07-07 15:06:30] local.INFO: Extracted packet for processing {"connection_id":124571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bee"} 
[2026-07-07 15:06:30] local.INFO: GPS Element Parsed {"raw_longitude":763169472,"raw_latitude":99368344,"longitude_deg":76.3169472,"latitude_deg":9.9368344,"altitude":3,"angle":335,"satellites":15,"speed":0,"hex_longitude":"2d7d0ac0","hex_latitude":"05ec3d98","is_valid_coordinates":true} 
[2026-07-07 15:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554723328001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295621326176256,"note":"Value kept but may cause issues"} 
[2026-07-07 15:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010295504923105280,"note":"Value kept but may cause issues"} 
[2026-07-07 15:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783416909000,"timestamp_ms":1783416909000,"timestamp_seconds":1783416909,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bee6cc8"} 
[2026-07-07 15:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 15:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554723328001,"66":12156,"110":206,"87":13824,"24":0,"16":103295621326176256,"45":9010295504923105280},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554723328001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:06:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:06:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295621326176256,"km_value":103295621326176.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010295504923105280,"description":"Unknown IO ID 45"} 
[2026-07-07 15:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554723328001,"power":12156,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010295504923105280}} 
[2026-07-07 15:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":124571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:06:30] local.INFO: GPS data processed {"connection_id":124571,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:06:30] local.INFO: Acknowledgment sent {"connection_id":124571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:06:35] local.INFO: TCP Data received {"connection_id":125296,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bee3230012d9fca4005537018000c00ad2c..."} 
[2026-07-07 15:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bee3230012d9fca4005537018000c00ad2c..."} 
[2026-07-07 15:06:35] local.INFO: Processing buffer {"connection_id":125296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bee3230012d9fca4005537018000c00ad2c..."} 
[2026-07-07 15:06:35] local.INFO: Packet analysis {"connection_id":125296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bee"} 
[2026-07-07 15:06:35] local.INFO: Extracted packet for processing {"connection_id":125296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bee"} 
[2026-07-07 15:06:35] local.INFO: GPS Element Parsed {"raw_longitude":765446720,"raw_latitude":89354264,"longitude_deg":76.544672,"latitude_deg":8.9354264,"altitude":12,"angle":173,"satellites":44,"speed":36,"hex_longitude":"2d9fca40","hex_latitude":"05537018","is_valid_coordinates":true} 
[2026-07-07 15:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554722304001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341486196800618496,"note":"Value kept but may cause issues"} 
[2026-07-07 15:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6933784184669116416,"note":"Value kept but may cause issues"} 
[2026-07-07 15:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783416894000,"timestamp_ms":1783416894000,"timestamp_seconds":1783416894,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bee3230"} 
[2026-07-07 15:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:06: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-07-07 15:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 15:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554722304001,"66":27800,"115":206,"84":6144,"24":36,"16":341486196800618496,"45":-6933784184669116416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-07 15:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554722304001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:06:35] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 15:06:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341486196800618496,"km_value":341486196800618.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6933784184669116416,"description":"Unknown IO ID 45"} 
[2026-07-07 15:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554722304001,"power":27800,"unknown_115":206,"unknown_84":6144,"ignition":36,"odometer":null,"unknown_45":-6933784184669116416}} 
[2026-07-07 15:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":125296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:06:35] local.INFO: GPS data processed {"connection_id":125296,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:06:35] local.INFO: Acknowledgment sent {"connection_id":125296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:07:02] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3beebed0012d7d0a8005ec3dd8000101530f..."} 
[2026-07-07 15:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3beebed0012d7d0a8005ec3dd8000101530f..."} 
[2026-07-07 15:07:02] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3beebed0012d7d0a8005ec3dd8000101530f..."} 
[2026-07-07 15:07:02] local.INFO: Packet analysis {"connection_id":124571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bee"} 
[2026-07-07 15:07:02] local.INFO: Extracted packet for processing {"connection_id":124571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bee"} 
[2026-07-07 15:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368408,"longitude_deg":76.3169408,"latitude_deg":9.9368408,"altitude":1,"angle":339,"satellites":15,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3dd8","is_valid_coordinates":true} 
[2026-07-07 15:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554728704001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295629916110848,"note":"Value kept but may cause issues"} 
[2026-07-07 15:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010225136178927616,"note":"Value kept but may cause issues"} 
[2026-07-07 15:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783416930000,"timestamp_ms":1783416930000,"timestamp_seconds":1783416930,"priority":1,"record_length":96,"hex_timestamp":"0000019f3beebed0"} 
[2026-07-07 15:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 15:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554728704001,"66":12156,"110":206,"87":13824,"24":0,"16":103295629916110848,"45":9010225136178927616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554728704001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:07:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:07:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295629916110848,"km_value":103295629916110.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010225136178927616,"description":"Unknown IO ID 45"} 
[2026-07-07 15:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554728704001,"power":12156,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010225136178927616}} 
[2026-07-07 15:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":124571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446071,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:07:02] local.INFO: GPS data processed {"connection_id":124571,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:07:02] local.INFO: Acknowledgment sent {"connection_id":124571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:07:04] local.INFO: TCP Data received {"connection_id":126539,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:07:04] local.INFO: Processing buffer {"connection_id":126539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:07:04] local.INFO: IMEI packet received {"connection_id":126539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":126539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:07:09] local.INFO: TCP Data received {"connection_id":126539,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:07:09] local.INFO: Processing buffer {"connection_id":126539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:07:09] local.INFO: IMEI packet received {"connection_id":126539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":126539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:07:10] local.INFO: TCP Data received {"connection_id":126539,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bee8438012d9fcc4005535a18000c00ae2e..."} 
[2026-07-07 15:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bee8438012d9fcc4005535a18000c00ae2e..."} 
[2026-07-07 15:07:10] local.INFO: Processing buffer {"connection_id":126539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bee8438012d9fcc4005535a18000c00ae2e..."} 
[2026-07-07 15:07:10] local.INFO: Packet analysis {"connection_id":126539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bee"} 
[2026-07-07 15:07:10] local.INFO: Extracted packet for processing {"connection_id":126539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bee"} 
[2026-07-07 15:07:10] local.INFO: GPS Element Parsed {"raw_longitude":765447232,"raw_latitude":89348632,"longitude_deg":76.5447232,"latitude_deg":8.9348632,"altitude":12,"angle":174,"satellites":46,"speed":0,"hex_longitude":"2d9fcc40","hex_latitude":"05535a18","is_valid_coordinates":true} 
[2026-07-07 15:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554724864001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341486475973492736,"note":"Value kept but may cause issues"} 
[2026-07-07 15:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6932658284764588032,"note":"Value kept but may cause issues"} 
[2026-07-07 15:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783416915000,"timestamp_ms":1783416915000,"timestamp_seconds":1783416915,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bee8438"} 
[2026-07-07 15:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:07: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-07-07 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 15:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554724864001,"66":27995,"115":206,"84":6144,"24":0,"16":341486475973492736,"45":-6932658284764588032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-07 15:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554724864001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:07:10] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 15:07:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341486475973492736,"km_value":341486475973492.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6932658284764588032,"description":"Unknown IO ID 45"} 
[2026-07-07 15:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554724864001,"power":27995,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6932658284764588032}} 
[2026-07-07 15:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":126539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:07:10] local.INFO: GPS data processed {"connection_id":126539,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:07:10] local.INFO: Acknowledgment sent {"connection_id":126539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:07:14] local.INFO: TCP Data received {"connection_id":126539,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3beed640012d9fcc8005535638000b00aa2d..."} 
[2026-07-07 15:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3beed640012d9fcc8005535638000b00aa2d..."} 
[2026-07-07 15:07:14] local.INFO: Processing buffer {"connection_id":126539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3beed640012d9fcc8005535638000b00aa2d..."} 
[2026-07-07 15:07:14] local.INFO: Packet analysis {"connection_id":126539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bee"} 
[2026-07-07 15:07:14] local.INFO: Extracted packet for processing {"connection_id":126539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bee"} 
[2026-07-07 15:07:14] local.INFO: GPS Element Parsed {"raw_longitude":765447296,"raw_latitude":89347640,"longitude_deg":76.5447296,"latitude_deg":8.934764,"altitude":11,"angle":170,"satellites":45,"speed":0,"hex_longitude":"2d9fcc80","hex_latitude":"05535638","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554730240001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341486523218132992,"note":"Value kept but may cause issues"} 
[2026-07-07 15:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6932095334812608512,"note":"Value kept but may cause issues"} 
[2026-07-07 15:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783416936000,"timestamp_ms":1783416936000,"timestamp_seconds":1783416936,"priority":1,"record_length":96,"hex_timestamp":"0000019f3beed640"} 
[2026-07-07 15:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15: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-07-07 15: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-07-07 15: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-07-07 15: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-07-07 15:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554730240001,"66":27800,"115":206,"84":6144,"24":0,"16":341486523218132992,"45":-6932095334812608512},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-07 15:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554730240001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:07:14] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 15:07:14] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341486523218132992,"km_value":341486523218133.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6932095334812608512,"description":"Unknown IO ID 45"} 
[2026-07-07 15:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554730240001,"power":27800,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6932095334812608512}} 
[2026-07-07 15:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":126539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:07:14] local.INFO: GPS data processed {"connection_id":126539,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:07:14] local.INFO: Acknowledgment sent {"connection_id":126539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:07:34] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bef10d8012d7d0a4005ec3e800000014e11..."} 
[2026-07-07 15:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bef10d8012d7d0a4005ec3e800000014e11..."} 
[2026-07-07 15:07:34] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bef10d8012d7d0a4005ec3e800000014e11..."} 
[2026-07-07 15:07:34] local.INFO: Packet analysis {"connection_id":124571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bef"} 
[2026-07-07 15:07:34] local.INFO: Extracted packet for processing {"connection_id":124571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bef"} 
[2026-07-07 15:07:34] local.INFO: GPS Element Parsed {"raw_longitude":763169344,"raw_latitude":99368576,"longitude_deg":76.3169344,"latitude_deg":9.9368576,"altitude":0,"angle":334,"satellites":17,"speed":0,"hex_longitude":"2d7d0a40","hex_latitude":"05ec3e80","is_valid_coordinates":true} 
[2026-07-07 15:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554734080001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295642801012736,"note":"Value kept but may cause issues"} 
[2026-07-07 15:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434766336,"note":"Value kept but may cause issues"} 
[2026-07-07 15:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783416951000,"timestamp_ms":1783416951000,"timestamp_seconds":1783416951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bef10d8"} 
[2026-07-07 15:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 15:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554734080001,"66":12156,"110":206,"87":13824,"24":0,"16":103295642801012736,"45":9010154767434766336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554734080001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:07:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:07:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295642801012736,"km_value":103295642801012.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434766336,"description":"Unknown IO ID 45"} 
[2026-07-07 15:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554734080001,"power":12156,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434766336}} 
[2026-07-07 15:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":124571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:07:34] local.INFO: GPS data processed {"connection_id":124571,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:07:34] local.INFO: Acknowledgment sent {"connection_id":124571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:07:59] local.INFO: TCP Data received {"connection_id":125299,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:07:59] local.INFO: Processing buffer {"connection_id":125299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:07:59] local.INFO: IMEI packet received {"connection_id":125299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":125299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:08:00] local.INFO: TCP Data received {"connection_id":125299,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:08:00] local.INFO: Processing buffer {"connection_id":125299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:08:00] local.INFO: IMEI packet received {"connection_id":125299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":125299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:08:04] local.INFO: TCP Data received {"connection_id":125299,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:08:04] local.INFO: Processing buffer {"connection_id":125299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:08:04] local.INFO: IMEI packet received {"connection_id":125299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":125299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:08:05] local.INFO: TCP Data received {"connection_id":125299,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bef2848012d9fccc005535470000a00aa2e..."} 
[2026-07-07 15:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bef2848012d9fccc005535470000a00aa2e..."} 
[2026-07-07 15:08:05] local.INFO: Processing buffer {"connection_id":125299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bef2848012d9fccc005535470000a00aa2e..."} 
[2026-07-07 15:08:05] local.INFO: Packet analysis {"connection_id":125299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bef"} 
[2026-07-07 15:08:05] local.INFO: Extracted packet for processing {"connection_id":125299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bef"} 
[2026-07-07 15:08:05] local.INFO: GPS Element Parsed {"raw_longitude":765447360,"raw_latitude":89347184,"longitude_deg":76.544736,"latitude_deg":8.9347184,"altitude":10,"angle":170,"satellites":46,"speed":0,"hex_longitude":"2d9fccc0","hex_latitude":"05535470","is_valid_coordinates":true} 
[2026-07-07 15:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554735616001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341486544692969472,"note":"Value kept but may cause issues"} 
[2026-07-07 15:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6932024966068684800,"note":"Value kept but may cause issues"} 
[2026-07-07 15:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783416957000,"timestamp_ms":1783416957000,"timestamp_seconds":1783416957,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bef2848"} 
[2026-07-07 15:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 15:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554735616001,"66":27865,"115":206,"84":6144,"24":0,"16":341486544692969472,"45":-6932024966068684800},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-07 15:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554735616001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:08:05] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 15:08:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341486544692969472,"km_value":341486544692969.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6932024966068684800,"description":"Unknown IO ID 45"} 
[2026-07-07 15:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554735616001,"power":27865,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6932024966068684800}} 
[2026-07-07 15:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":125299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:08:05] local.INFO: GPS data processed {"connection_id":125299,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:08:05] local.INFO: Acknowledgment sent {"connection_id":125299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:08:06] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bef62e0012d7d0a0005ec3ed80000015111..."} 
[2026-07-07 15:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bef62e0012d7d0a0005ec3ed80000015111..."} 
[2026-07-07 15:08:06] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bef62e0012d7d0a0005ec3ed80000015111..."} 
[2026-07-07 15:08:06] local.INFO: Packet analysis {"connection_id":124571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bef"} 
[2026-07-07 15:08:06] local.INFO: Extracted packet for processing {"connection_id":124571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bef"} 
[2026-07-07 15:08:06] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":99368664,"longitude_deg":76.316928,"latitude_deg":9.9368664,"altitude":0,"angle":337,"satellites":17,"speed":0,"hex_longitude":"2d7d0a00","hex_latitude":"05ec3ed8","is_valid_coordinates":true} 
[2026-07-07 15:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554739456001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295651390947328,"note":"Value kept but may cause issues"} 
[2026-07-07 15:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010084398690631680,"note":"Value kept but may cause issues"} 
[2026-07-07 15:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783416972000,"timestamp_ms":1783416972000,"timestamp_seconds":1783416972,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bef62e0"} 
[2026-07-07 15:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 15:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554739456001,"66":12156,"110":206,"87":13824,"24":0,"16":103295651390947328,"45":9010084398690631680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554739456001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:08:06] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:08:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295651390947328,"km_value":103295651390947.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010084398690631680,"description":"Unknown IO ID 45"} 
[2026-07-07 15:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554739456001,"power":12156,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010084398690631680}} 
[2026-07-07 15:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":124571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:08:06] local.INFO: GPS data processed {"connection_id":124571,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:08:06] local.INFO: Acknowledgment sent {"connection_id":124571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:08:26] local.INFO: TCP Data received {"connection_id":124485,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:08:26] local.INFO: Processing buffer {"connection_id":124485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:08:26] local.INFO: IMEI packet received {"connection_id":124485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":124485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:08:31] local.INFO: TCP Data received {"connection_id":124485,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:08:31] local.INFO: Processing buffer {"connection_id":124485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:08:31] local.INFO: IMEI packet received {"connection_id":124485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":124485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:08:33] local.INFO: TCP Data received {"connection_id":124485,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3befb4e8012d7d098005ec3f300000015112..."} 
[2026-07-07 15:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3befb4e8012d7d098005ec3f300000015112..."} 
[2026-07-07 15:08:33] local.INFO: Processing buffer {"connection_id":124485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3befb4e8012d7d098005ec3f300000015112..."} 
[2026-07-07 15:08:33] local.INFO: Packet analysis {"connection_id":124485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bef"} 
[2026-07-07 15:08:33] local.INFO: Extracted packet for processing {"connection_id":124485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bef"} 
[2026-07-07 15:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763169152,"raw_latitude":99368752,"longitude_deg":76.3169152,"latitude_deg":9.9368752,"altitude":0,"angle":337,"satellites":18,"speed":0,"hex_longitude":"2d7d0980","hex_latitude":"05ec3f30","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554744832001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295659980881920,"note":"Value kept but may cause issues"} 
[2026-07-07 15:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010014029946476544,"note":"Value kept but may cause issues"} 
[2026-07-07 15:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783416993000,"timestamp_ms":1783416993000,"timestamp_seconds":1783416993,"priority":1,"record_length":96,"hex_timestamp":"0000019f3befb4e8"} 
[2026-07-07 15:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 15:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15: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-07-07 15:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554744832001,"66":12156,"110":206,"87":13824,"24":0,"16":103295659980881920,"45":9010014029946476544},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554744832001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:08:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:08:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295659980881920,"km_value":103295659980881.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010014029946476544,"description":"Unknown IO ID 45"} 
[2026-07-07 15:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554744832001,"power":12156,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010014029946476544}} 
[2026-07-07 15:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":124485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:08:33] local.INFO: GPS data processed {"connection_id":124485,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:08:33] local.INFO: Acknowledgment sent {"connection_id":124485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:08:36] local.INFO: TCP Data received {"connection_id":125299,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bef4788012d9fccc005535458000a00aa2e..."} 
[2026-07-07 15:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bef4788012d9fccc005535458000a00aa2e..."} 
[2026-07-07 15:08:36] local.INFO: Processing buffer {"connection_id":125299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bef4788012d9fccc005535458000a00aa2e..."} 
[2026-07-07 15:08:36] local.INFO: Packet analysis {"connection_id":125299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bef"} 
[2026-07-07 15:08:36] local.INFO: Extracted packet for processing {"connection_id":125299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bef"} 
[2026-07-07 15:08:36] local.INFO: GPS Element Parsed {"raw_longitude":765447360,"raw_latitude":89347160,"longitude_deg":76.544736,"latitude_deg":8.934716,"altitude":10,"angle":170,"satellites":46,"speed":0,"hex_longitude":"2d9fccc0","hex_latitude":"05535458","is_valid_coordinates":true} 
[2026-07-07 15:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554740992001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341486548987936768,"note":"Value kept but may cause issues"} 
[2026-07-07 15:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6931954597324623872,"note":"Value kept but may cause issues"} 
[2026-07-07 15:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783416965000,"timestamp_ms":1783416965000,"timestamp_seconds":1783416965,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bef4788"} 
[2026-07-07 15:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 15:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554740992001,"66":27745,"115":206,"84":6144,"24":0,"16":341486548987936768,"45":-6931954597324623872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-07 15:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554740992001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:08:36] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 15:08:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341486548987936768,"km_value":341486548987936.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6931954597324623872,"description":"Unknown IO ID 45"} 
[2026-07-07 15:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554740992001,"power":27745,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6931954597324623872}} 
[2026-07-07 15:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":125299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:08:36] local.INFO: GPS data processed {"connection_id":125299,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:08:36] local.INFO: Acknowledgment sent {"connection_id":125299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:08:59] local.INFO: TCP Data received {"connection_id":124486,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:08:59] local.INFO: Processing buffer {"connection_id":124486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:08:59] local.INFO: IMEI packet received {"connection_id":124486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":124486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:09:04] local.INFO: TCP Data received {"connection_id":124485,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf006f0012d7d094005ec3fa00000015112..."} 
[2026-07-07 15:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf006f0012d7d094005ec3fa00000015112..."} 
[2026-07-07 15:09:04] local.INFO: Processing buffer {"connection_id":124485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf006f0012d7d094005ec3fa00000015112..."} 
[2026-07-07 15:09:04] local.INFO: Packet analysis {"connection_id":124485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf0"} 
[2026-07-07 15:09:04] local.INFO: Extracted packet for processing {"connection_id":124485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf0"} 
[2026-07-07 15:09:04] local.INFO: GPS Element Parsed {"raw_longitude":763169088,"raw_latitude":99368864,"longitude_deg":76.3169088,"latitude_deg":9.9368864,"altitude":0,"angle":337,"satellites":18,"speed":0,"hex_longitude":"2d7d0940","hex_latitude":"05ec3fa0","is_valid_coordinates":true} 
[2026-07-07 15:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554750208001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295668570816512,"note":"Value kept but may cause issues"} 
[2026-07-07 15:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009873292458143744,"note":"Value kept but may cause issues"} 
[2026-07-07 15:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783417014000,"timestamp_ms":1783417014000,"timestamp_seconds":1783417014,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf006f0"} 
[2026-07-07 15:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 15:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554750208001,"66":12178,"110":206,"87":13824,"24":0,"16":103295668570816512,"45":9009873292458143744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554750208001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:09:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:09:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295668570816512,"km_value":103295668570816.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009873292458143744,"description":"Unknown IO ID 45"} 
[2026-07-07 15:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554750208001,"power":12178,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9009873292458143744}} 
[2026-07-07 15:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":124485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:09:04] local.INFO: GPS data processed {"connection_id":124485,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:09:04] local.INFO: Acknowledgment sent {"connection_id":124485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:09:04] local.INFO: TCP Data received {"connection_id":124486,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:09:04] local.INFO: Processing buffer {"connection_id":124486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:09:04] local.INFO: IMEI packet received {"connection_id":124486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":124486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:09:05] local.INFO: TCP Data received {"connection_id":124486,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3befc488012d9fcbc005535478000a00aa2e..."} 
[2026-07-07 15:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3befc488012d9fcbc005535478000a00aa2e..."} 
[2026-07-07 15:09:05] local.INFO: Processing buffer {"connection_id":124486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3befc488012d9fcbc005535478000a00aa2e..."} 
[2026-07-07 15:09:05] local.INFO: Packet analysis {"connection_id":124486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bef"} 
[2026-07-07 15:09:05] local.INFO: Extracted packet for processing {"connection_id":124486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bef"} 
[2026-07-07 15:09:05] local.INFO: GPS Element Parsed {"raw_longitude":765447104,"raw_latitude":89347192,"longitude_deg":76.5447104,"latitude_deg":8.9347192,"altitude":10,"angle":170,"satellites":46,"speed":0,"hex_longitude":"2d9fcbc0","hex_latitude":"05535478","is_valid_coordinates":true} 
[2026-07-07 15:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554743040001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341486548987936768,"note":"Value kept but may cause issues"} 
[2026-07-07 15:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6931954597324630016,"note":"Value kept but may cause issues"} 
[2026-07-07 15:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783416997000,"timestamp_ms":1783416997000,"timestamp_seconds":1783416997,"priority":1,"record_length":96,"hex_timestamp":"0000019f3befc488"} 
[2026-07-07 15:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 15:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 15:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554743040001,"66":26778,"115":206,"84":6144,"24":0,"16":341486548987936768,"45":-6931954597324630016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-07 15:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554743040001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:09:05] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 15:09:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341486548987936768,"km_value":341486548987936.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6931954597324630016,"description":"Unknown IO ID 45"} 
[2026-07-07 15:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554743040001,"power":26778,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6931954597324630016}} 
[2026-07-07 15:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":124486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:09:05] local.INFO: GPS data processed {"connection_id":124486,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:09:05] local.INFO: Acknowledgment sent {"connection_id":124486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:09:36] local.INFO: TCP Data received {"connection_id":124486,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf02630012d9fccc005535458000a00aa2d..."} 
[2026-07-07 15:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf02630012d9fccc005535458000a00aa2d..."} 
[2026-07-07 15:09:36] local.INFO: Processing buffer {"connection_id":124486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf02630012d9fccc005535458000a00aa2d..."} 
[2026-07-07 15:09:36] local.INFO: Packet analysis {"connection_id":124486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf0"} 
[2026-07-07 15:09:36] local.INFO: Extracted packet for processing {"connection_id":124486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf0"} 
[2026-07-07 15:09:36] local.INFO: GPS Element Parsed {"raw_longitude":765447360,"raw_latitude":89347160,"longitude_deg":76.544736,"latitude_deg":8.934716,"altitude":10,"angle":170,"satellites":45,"speed":0,"hex_longitude":"2d9fccc0","hex_latitude":"05535458","is_valid_coordinates":true} 
[2026-07-07 15:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554751232001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341486548987936768,"note":"Value kept but may cause issues"} 
[2026-07-07 15:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6932236072301332480,"note":"Value kept but may cause issues"} 
[2026-07-07 15:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783417022000,"timestamp_ms":1783417022000,"timestamp_seconds":1783417022,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf02630"} 
[2026-07-07 15:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-07 15:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2104,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554751232001,"66":28006,"115":206,"84":6144,"24":0,"16":341486548987936768,"45":-6932236072301332480},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-07 15:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554751232001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:09:36] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 15:09:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341486548987936768,"km_value":341486548987936.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6932236072301332480,"description":"Unknown IO ID 45"} 
[2026-07-07 15:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554751232001,"power":28006,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6932236072301332480}} 
[2026-07-07 15:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":124486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:09:36] local.INFO: GPS data processed {"connection_id":124486,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:09:36] local.INFO: Acknowledgment sent {"connection_id":124486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:09:36] local.INFO: TCP Data received {"connection_id":124485,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf058f8012d7d098005ec3f680000015113..."} 
[2026-07-07 15:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf058f8012d7d098005ec3f680000015113..."} 
[2026-07-07 15:09:36] local.INFO: Processing buffer {"connection_id":124485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf058f8012d7d098005ec3f680000015113..."} 
[2026-07-07 15:09:36] local.INFO: Packet analysis {"connection_id":124485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf0"} 
[2026-07-07 15:09:36] local.INFO: Extracted packet for processing {"connection_id":124485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf0"} 
[2026-07-07 15:09:36] local.INFO: GPS Element Parsed {"raw_longitude":763169152,"raw_latitude":99368808,"longitude_deg":76.3169152,"latitude_deg":9.9368808,"altitude":0,"angle":337,"satellites":19,"speed":0,"hex_longitude":"2d7d0980","hex_latitude":"05ec3f68","is_valid_coordinates":true} 
[2026-07-07 15:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554755584001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295681455718400,"note":"Value kept but may cause issues"} 
[2026-07-07 15:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009802923713994752,"note":"Value kept but may cause issues"} 
[2026-07-07 15:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783417035000,"timestamp_ms":1783417035000,"timestamp_seconds":1783417035,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf058f8"} 
[2026-07-07 15:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 15:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554755584001,"66":12156,"110":206,"87":13824,"24":0,"16":103295681455718400,"45":9009802923713994752},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554755584001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:09:36] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:09:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295681455718400,"km_value":103295681455718.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009802923713994752,"description":"Unknown IO ID 45"} 
[2026-07-07 15:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554755584001,"power":12156,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9009802923713994752}} 
[2026-07-07 15:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":124485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:09:36] local.INFO: GPS data processed {"connection_id":124485,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:09:36] local.INFO: Acknowledgment sent {"connection_id":124485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:09:58] local.INFO: TCP Data received {"connection_id":126540,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:09:58] local.INFO: Processing buffer {"connection_id":126540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:09:58] local.INFO: IMEI packet received {"connection_id":126540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":126540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:10:04] local.INFO: TCP Data received {"connection_id":126540,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:10:04] local.INFO: Processing buffer {"connection_id":126540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:10:04] local.INFO: IMEI packet received {"connection_id":126540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":126540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:10:04] local.INFO: TCP Data received {"connection_id":126540,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf07838012d9fccc005535458000a00aa2e..."} 
[2026-07-07 15:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf07838012d9fccc005535458000a00aa2e..."} 
[2026-07-07 15:10:05] local.INFO: Processing buffer {"connection_id":126540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf07838012d9fccc005535458000a00aa2e..."} 
[2026-07-07 15:10:05] local.INFO: Packet analysis {"connection_id":126540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf0"} 
[2026-07-07 15:10:05] local.INFO: Extracted packet for processing {"connection_id":126540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf0"} 
[2026-07-07 15:10:05] local.INFO: GPS Element Parsed {"raw_longitude":765447360,"raw_latitude":89347160,"longitude_deg":76.544736,"latitude_deg":8.934716,"altitude":10,"angle":170,"satellites":46,"speed":0,"hex_longitude":"2d9fccc0","hex_latitude":"05535458","is_valid_coordinates":true} 
[2026-07-07 15:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554757632001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341486548987936768,"note":"Value kept but may cause issues"} 
[2026-07-07 15:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6931954597324630016,"note":"Value kept but may cause issues"} 
[2026-07-07 15:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783417043000,"timestamp_ms":1783417043000,"timestamp_seconds":1783417043,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf07838"} 
[2026-07-07 15:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 15:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554757632001,"66":27930,"115":206,"84":6144,"24":0,"16":341486548987936768,"45":-6931954597324630016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-07 15:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554757632001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:10:05] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 15:10:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341486548987936768,"km_value":341486548987936.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6931954597324630016,"description":"Unknown IO ID 45"} 
[2026-07-07 15:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554757632001,"power":27930,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6931954597324630016}} 
[2026-07-07 15:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":126540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:10:05] local.INFO: GPS data processed {"connection_id":126540,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:10:05] local.INFO: Acknowledgment sent {"connection_id":126540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:10:08] local.INFO: TCP Data received {"connection_id":124485,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf0ab00012d7d0a8005ec3ec80000015114..."} 
[2026-07-07 15:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf0ab00012d7d0a8005ec3ec80000015114..."} 
[2026-07-07 15:10:08] local.INFO: Processing buffer {"connection_id":124485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf0ab00012d7d0a8005ec3ec80000015114..."} 
[2026-07-07 15:10:08] local.INFO: Packet analysis {"connection_id":124485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf0"} 
[2026-07-07 15:10:08] local.INFO: Extracted packet for processing {"connection_id":124485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf0"} 
[2026-07-07 15:10:08] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":99368648,"longitude_deg":76.3169408,"latitude_deg":9.9368648,"altitude":0,"angle":337,"satellites":20,"speed":0,"hex_longitude":"2d7d0a80","hex_latitude":"05ec3ec8","is_valid_coordinates":true} 
[2026-07-07 15:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554760960001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295702930554880,"note":"Value kept but may cause issues"} 
[2026-07-07 15:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009873292458158080,"note":"Value kept but may cause issues"} 
[2026-07-07 15:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783417056000,"timestamp_ms":1783417056000,"timestamp_seconds":1783417056,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf0ab00"} 
[2026-07-07 15:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 15:10: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-07-07 15:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554760960001,"66":12135,"110":206,"87":13824,"24":0,"16":103295702930554880,"45":9009873292458158080},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554760960001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:10:08] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:10:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295702930554880,"km_value":103295702930554.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009873292458158080,"description":"Unknown IO ID 45"} 
[2026-07-07 15:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554760960001,"power":12135,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9009873292458158080}} 
[2026-07-07 15:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":124485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:10:08] local.INFO: GPS data processed {"connection_id":124485,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:10:08] local.INFO: Acknowledgment sent {"connection_id":124485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:10:26] local.INFO: TCP Data received {"connection_id":126541,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:10:26] local.INFO: Processing buffer {"connection_id":126541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:10:26] local.INFO: IMEI packet received {"connection_id":126541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":126541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:10:32] local.INFO: TCP Data received {"connection_id":126541,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:10:32] local.INFO: Processing buffer {"connection_id":126541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:10:32] local.INFO: IMEI packet received {"connection_id":126541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":126541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:10:33] local.INFO: TCP Data received {"connection_id":126541,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf0fd08012d7d0a4005ec3f000000015114..."} 
[2026-07-07 15:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf0fd08012d7d0a4005ec3f000000015114..."} 
[2026-07-07 15:10:33] local.INFO: Processing buffer {"connection_id":126541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf0fd08012d7d0a4005ec3f000000015114..."} 
[2026-07-07 15:10:33] local.INFO: Packet analysis {"connection_id":126541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf0"} 
[2026-07-07 15:10:33] local.INFO: Extracted packet for processing {"connection_id":126541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf0"} 
[2026-07-07 15:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763169344,"raw_latitude":99368704,"longitude_deg":76.3169344,"latitude_deg":9.9368704,"altitude":0,"angle":337,"satellites":20,"speed":0,"hex_longitude":"2d7d0a40","hex_latitude":"05ec3f00","is_valid_coordinates":true} 
[2026-07-07 15:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554766336001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295711520489472,"note":"Value kept but may cause issues"} 
[2026-07-07 15:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767434827776,"note":"Value kept but may cause issues"} 
[2026-07-07 15:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783417077000,"timestamp_ms":1783417077000,"timestamp_seconds":1783417077,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf0fd08"} 
[2026-07-07 15:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:10:33] 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-07-07 15:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 15:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554766336001,"66":12113,"110":206,"87":13824,"24":0,"16":103295711520489472,"45":9010154767434827776},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554766336001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:10:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:10:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295711520489472,"km_value":103295711520489.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767434827776,"description":"Unknown IO ID 45"} 
[2026-07-07 15:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554766336001,"power":12113,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010154767434827776}} 
[2026-07-07 15:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":126541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:10:33] local.INFO: GPS data processed {"connection_id":126541,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:10:33] local.INFO: Acknowledgment sent {"connection_id":126541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:10:36] local.INFO: TCP Data received {"connection_id":126540,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf0ca40012d9fcd8005534d50000900af2e..."} 
[2026-07-07 15:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf0ca40012d9fcd8005534d50000900af2e..."} 
[2026-07-07 15:10:36] local.INFO: Processing buffer {"connection_id":126540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf0ca40012d9fcd8005534d50000900af2e..."} 
[2026-07-07 15:10:36] local.INFO: Packet analysis {"connection_id":126540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf0"} 
[2026-07-07 15:10:36] local.INFO: Extracted packet for processing {"connection_id":126540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf0"} 
[2026-07-07 15:10:36] local.INFO: GPS Element Parsed {"raw_longitude":765447552,"raw_latitude":89345360,"longitude_deg":76.5447552,"latitude_deg":8.934536,"altitude":9,"angle":175,"satellites":46,"speed":2,"hex_longitude":"2d9fcd80","hex_latitude":"05534d50","is_valid_coordinates":true} 
[2026-07-07 15:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554763008001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341486639182249984,"note":"Value kept but may cause issues"} 
[2026-07-07 15:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6931954597324630016,"note":"Value kept but may cause issues"} 
[2026-07-07 15:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783417064000,"timestamp_ms":1783417064000,"timestamp_seconds":1783417064,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf0ca40"} 
[2026-07-07 15:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 15:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554763008001,"66":28006,"115":206,"84":6144,"24":2,"16":341486639182249984,"45":-6931954597324630016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-07 15:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554763008001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:10:36] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 15:10:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341486639182249984,"km_value":341486639182250.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6931954597324630016,"description":"Unknown IO ID 45"} 
[2026-07-07 15:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554763008001,"power":28006,"unknown_115":206,"unknown_84":6144,"ignition":2,"odometer":null,"unknown_45":-6931954597324630016}} 
[2026-07-07 15:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":126540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:10:36] local.INFO: GPS data processed {"connection_id":126540,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:10:36] local.INFO: Acknowledgment sent {"connection_id":126540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:11:04] local.INFO: TCP Data received {"connection_id":126542,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:11:04] local.INFO: Processing buffer {"connection_id":126542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:11:04] local.INFO: IMEI packet received {"connection_id":126542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":126542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:11:05] local.INFO: TCP Data received {"connection_id":126542,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:11:05] local.INFO: Processing buffer {"connection_id":126542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:11:05] local.INFO: IMEI packet received {"connection_id":126542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":126542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:11:05] local.INFO: TCP Data received {"connection_id":126541,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf14f10012d7d0a4005ec3f680000015114..."} 
[2026-07-07 15:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf14f10012d7d0a4005ec3f680000015114..."} 
[2026-07-07 15:11:05] local.INFO: Processing buffer {"connection_id":126541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf14f10012d7d0a4005ec3f680000015114..."} 
[2026-07-07 15:11:05] local.INFO: Packet analysis {"connection_id":126541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf1"} 
[2026-07-07 15:11:05] local.INFO: Extracted packet for processing {"connection_id":126541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf1"} 
[2026-07-07 15:11:05] local.INFO: GPS Element Parsed {"raw_longitude":763169344,"raw_latitude":99368808,"longitude_deg":76.3169344,"latitude_deg":9.9368808,"altitude":0,"angle":337,"satellites":20,"speed":0,"hex_longitude":"2d7d0a40","hex_latitude":"05ec3f68","is_valid_coordinates":true} 
[2026-07-07 15:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554771712001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295715815456768,"note":"Value kept but may cause issues"} 
[2026-07-07 15:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010084398690664448,"note":"Value kept but may cause issues"} 
[2026-07-07 15:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783417098000,"timestamp_ms":1783417098000,"timestamp_seconds":1783417098,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf14f10"} 
[2026-07-07 15:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:11:05] 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-07-07 15:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-07 15:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554771712001,"66":12156,"110":206,"87":13824,"24":0,"16":103295715815456768,"45":9010084398690664448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554771712001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:11:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:11:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295715815456768,"km_value":103295715815456.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010084398690664448,"description":"Unknown IO ID 45"} 
[2026-07-07 15:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554771712001,"power":12156,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010084398690664448}} 
[2026-07-07 15:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":126541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:11:05] local.INFO: GPS data processed {"connection_id":126541,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:11:05] local.INFO: Acknowledgment sent {"connection_id":126541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:11:05] local.INFO: TCP Data received {"connection_id":126542,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf11c48012d9fce00055347f0000900af2e..."} 
[2026-07-07 15:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf11c48012d9fce00055347f0000900af2e..."} 
[2026-07-07 15:11:05] local.INFO: Processing buffer {"connection_id":126542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf11c48012d9fce00055347f0000900af2e..."} 
[2026-07-07 15:11:05] local.INFO: Packet analysis {"connection_id":126542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf1"} 
[2026-07-07 15:11:05] local.INFO: Extracted packet for processing {"connection_id":126542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf1"} 
[2026-07-07 15:11:05] local.INFO: GPS Element Parsed {"raw_longitude":765447680,"raw_latitude":89343984,"longitude_deg":76.544768,"latitude_deg":8.9343984,"altitude":9,"angle":175,"satellites":46,"speed":0,"hex_longitude":"2d9fce00","hex_latitude":"055347f0","is_valid_coordinates":true} 
[2026-07-07 15:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554768384001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341486707901726720,"note":"Value kept but may cause issues"} 
[2026-07-07 15:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6931743491092557824,"note":"Value kept but may cause issues"} 
[2026-07-07 15:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783417085000,"timestamp_ms":1783417085000,"timestamp_seconds":1783417085,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf11c48"} 
[2026-07-07 15:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 15:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554768384001,"66":28104,"115":206,"84":6144,"24":0,"16":341486707901726720,"45":-6931743491092557824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-07 15:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554768384001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:11:05] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 15:11:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341486707901726720,"km_value":341486707901726.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6931743491092557824,"description":"Unknown IO ID 45"} 
[2026-07-07 15:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554768384001,"power":28104,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6931743491092557824}} 
[2026-07-07 15:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":126542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:11:05] local.INFO: GPS data processed {"connection_id":126542,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:11:05] local.INFO: Acknowledgment sent {"connection_id":126542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:11:09] local.INFO: TCP Data received {"connection_id":126542,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf16e50012d9fcec0055340f8000a00af2e..."} 
[2026-07-07 15:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf16e50012d9fcec0055340f8000a00af2e..."} 
[2026-07-07 15:11:09] local.INFO: Processing buffer {"connection_id":126542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf16e50012d9fcec0055340f8000a00af2e..."} 
[2026-07-07 15:11:09] local.INFO: Packet analysis {"connection_id":126542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf1"} 
[2026-07-07 15:11:09] local.INFO: Extracted packet for processing {"connection_id":126542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf1"} 
[2026-07-07 15:11:09] local.INFO: GPS Element Parsed {"raw_longitude":765447872,"raw_latitude":89342200,"longitude_deg":76.5447872,"latitude_deg":8.93422,"altitude":10,"angle":175,"satellites":46,"speed":0,"hex_longitude":"2d9fcec0","hex_latitude":"055340f8","is_valid_coordinates":true} 
[2026-07-07 15:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554773760001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341486798096039936,"note":"Value kept but may cause issues"} 
[2026-07-07 15:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6931602753604554752,"note":"Value kept but may cause issues"} 
[2026-07-07 15:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783417106000,"timestamp_ms":1783417106000,"timestamp_seconds":1783417106,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf16e50"} 
[2026-07-07 15:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:11: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-07-07 15:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-07 15:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554773760001,"66":27767,"115":206,"84":6144,"24":0,"16":341486798096039936,"45":-6931602753604554752},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-07 15:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554773760001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:11:09] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 15:11:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341486798096039936,"km_value":341486798096039.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6931602753604554752,"description":"Unknown IO ID 45"} 
[2026-07-07 15:11:09] local.INFO: TCP Data received {"connection_id":124576,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554773760001,"power":27767,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6931602753604554752}} 
[2026-07-07 15:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:11:09] local.INFO: Processing buffer {"connection_id":124576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:11:09] local.INFO: IMEI packet received {"connection_id":124576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 15:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":124576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":126542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:11:09] local.INFO: GPS data processed {"connection_id":126542,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:11:09] local.INFO: Acknowledgment sent {"connection_id":126542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:11:27] local.INFO: TCP Data received {"connection_id":124487,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:11:27] local.INFO: Processing buffer {"connection_id":124487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:11:27] local.INFO: IMEI packet received {"connection_id":124487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":124487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:11:31] local.INFO: TCP Data received {"connection_id":124487,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:11:31] local.INFO: Processing buffer {"connection_id":124487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:11:31] local.INFO: IMEI packet received {"connection_id":124487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":124487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:11:38] local.INFO: TCP Data received {"connection_id":124487,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:11:38] local.INFO: Processing buffer {"connection_id":124487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:11:38] local.INFO: IMEI packet received {"connection_id":124487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":124487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:11:39] local.INFO: TCP Data received {"connection_id":124487,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf1a118012d7d0a0005ec40000000015115..."} 
[2026-07-07 15:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf1a118012d7d0a0005ec40000000015115..."} 
[2026-07-07 15:11:39] local.INFO: Processing buffer {"connection_id":124487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf1a118012d7d0a0005ec40000000015115..."} 
[2026-07-07 15:11:39] local.INFO: Packet analysis {"connection_id":124487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf1"} 
[2026-07-07 15:11:39] local.INFO: Extracted packet for processing {"connection_id":124487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf1"} 
[2026-07-07 15:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":99368960,"longitude_deg":76.316928,"latitude_deg":9.936896,"altitude":0,"angle":337,"satellites":21,"speed":0,"hex_longitude":"2d7d0a00","hex_latitude":"05ec4000","is_valid_coordinates":true} 
[2026-07-07 15:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554777088001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295724405391360,"note":"Value kept but may cause issues"} 
[2026-07-07 15:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010084398690691072,"note":"Value kept but may cause issues"} 
[2026-07-07 15:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783417119000,"timestamp_ms":1783417119000,"timestamp_seconds":1783417119,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf1a118"} 
[2026-07-07 15:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 15:11: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-07-07 15:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554777088001,"66":12189,"110":206,"87":13824,"24":0,"16":103295724405391360,"45":9010084398690691072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554777088001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:11:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:11:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295724405391360,"km_value":103295724405391.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010084398690691072,"description":"Unknown IO ID 45"} 
[2026-07-07 15:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554777088001,"power":12189,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010084398690691072}} 
[2026-07-07 15:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":124487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:11:39] local.INFO: GPS data processed {"connection_id":124487,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:11:39] local.INFO: Acknowledgment sent {"connection_id":124487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:11:40] local.INFO: TCP Data received {"connection_id":126542,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf1c058012d9fcf40055339d8000a00ac2e..."} 
[2026-07-07 15:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf1c058012d9fcf40055339d8000a00ac2e..."} 
[2026-07-07 15:11:40] local.INFO: Processing buffer {"connection_id":126542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf1c058012d9fcf40055339d8000a00ac2e..."} 
[2026-07-07 15:11:40] local.INFO: Packet analysis {"connection_id":126542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf1"} 
[2026-07-07 15:11:40] local.INFO: Extracted packet for processing {"connection_id":126542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf1"} 
[2026-07-07 15:11:40] local.INFO: GPS Element Parsed {"raw_longitude":765448000,"raw_latitude":89340376,"longitude_deg":76.5448,"latitude_deg":8.9340376,"altitude":10,"angle":172,"satellites":46,"speed":8,"hex_longitude":"2d9fcf40","hex_latitude":"055339d8","is_valid_coordinates":true} 
[2026-07-07 15:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554779136001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341486888290353152,"note":"Value kept but may cause issues"} 
[2026-07-07 15:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6931391647372478464,"note":"Value kept but may cause issues"} 
[2026-07-07 15:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783417127000,"timestamp_ms":1783417127000,"timestamp_seconds":1783417127,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf1c058"} 
[2026-07-07 15:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 15:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554779136001,"66":27800,"115":206,"84":6144,"24":8,"16":341486888290353152,"45":-6931391647372478464},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-07 15:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554779136001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:11:40] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 15:11:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341486888290353152,"km_value":341486888290353.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6931391647372478464,"description":"Unknown IO ID 45"} 
[2026-07-07 15:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554779136001,"power":27800,"unknown_115":206,"unknown_84":6144,"ignition":8,"odometer":null,"unknown_45":-6931391647372478464}} 
[2026-07-07 15:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":126542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:11:40] local.INFO: GPS data processed {"connection_id":126542,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:11:40] local.INFO: Acknowledgment sent {"connection_id":126542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:11:56] local.INFO: TCP Data received {"connection_id":124488,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:11:56] local.INFO: Processing buffer {"connection_id":124488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:11:56] local.INFO: IMEI packet received {"connection_id":124488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":124488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:11:59] local.INFO: TCP Data received {"connection_id":124488,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:11:59] local.INFO: Processing buffer {"connection_id":124488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:11:59] local.INFO: IMEI packet received {"connection_id":124488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":124488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:12:04] local.INFO: TCP Data received {"connection_id":124488,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:12:04] local.INFO: Processing buffer {"connection_id":124488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:12:04] local.INFO: IMEI packet received {"connection_id":124488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":124488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:12:05] local.INFO: TCP Data received {"connection_id":124488,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf3a8a0012d9ff6000552bcd8000600822e..."} 
[2026-07-07 15:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf3a8a0012d9ff6000552bcd8000600822e..."} 
[2026-07-07 15:12:05] local.INFO: Processing buffer {"connection_id":124488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf3a8a0012d9ff6000552bcd8000600822e..."} 
[2026-07-07 15:12:05] local.INFO: Packet analysis {"connection_id":124488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf3"} 
[2026-07-07 15:12:05] local.INFO: Extracted packet for processing {"connection_id":124488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf3"} 
[2026-07-07 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":765457920,"raw_latitude":89308376,"longitude_deg":76.545792,"latitude_deg":8.9308376,"altitude":6,"angle":130,"satellites":46,"speed":9,"hex_longitude":"2d9ff600","hex_latitude":"0552bcd8","is_valid_coordinates":true} 
[2026-07-07 15:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554815744001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341488580507467776,"note":"Value kept but may cause issues"} 
[2026-07-07 15:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6921188179475171328,"note":"Value kept but may cause issues"} 
[2026-07-07 15:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783417252000,"timestamp_ms":1783417252000,"timestamp_seconds":1783417252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf3a8a0"} 
[2026-07-07 15:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 15:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554815744001,"66":27919,"116":206,"84":6144,"24":9,"16":341488580507467776,"45":-6921188179475171328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-07-07 15:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554815744001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:12:05] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-07 15:12:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341488580507467776,"km_value":341488580507467.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6921188179475171328,"description":"Unknown IO ID 45"} 
[2026-07-07 15:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554815744001,"power":27919,"unknown_116":206,"unknown_84":6144,"ignition":9,"odometer":null,"unknown_45":-6921188179475171328}} 
[2026-07-07 15:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":124488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:12:05] local.INFO: GPS data processed {"connection_id":124488,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:12:05] local.INFO: Acknowledgment sent {"connection_id":124488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:12:14] local.INFO: TCP Data received {"connection_id":124487,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf1f320012d7d0a4005ec3ff00000015918..."} 
[2026-07-07 15:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf1f320012d7d0a4005ec3ff00000015918..."} 
[2026-07-07 15:12:14] local.INFO: Processing buffer {"connection_id":124487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf1f320012d7d0a4005ec3ff00000015918..."} 
[2026-07-07 15:12:14] local.INFO: Packet analysis {"connection_id":124487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf1"} 
[2026-07-07 15:12:14] local.INFO: Extracted packet for processing {"connection_id":124487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf1"} 
[2026-07-07 15:12:14] local.INFO: GPS Element Parsed {"raw_longitude":763169344,"raw_latitude":99368944,"longitude_deg":76.3169344,"latitude_deg":9.9368944,"altitude":0,"angle":345,"satellites":24,"speed":1,"hex_longitude":"2d7d0a40","hex_latitude":"05ec3ff0","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554782464001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295732995325952,"note":"Value kept but may cause issues"} 
[2026-07-07 15:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010014029946552320,"note":"Value kept but may cause issues"} 
[2026-07-07 15:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783417140000,"timestamp_ms":1783417140000,"timestamp_seconds":1783417140,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf1f320"} 
[2026-07-07 15:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-07 15:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15: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-07-07 15:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554782464001,"66":12145,"110":206,"87":13824,"24":1,"16":103295732995325952,"45":9010014029946552320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554782464001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:12:14] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:12:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295732995325952,"km_value":103295732995325.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010014029946552320,"description":"Unknown IO ID 45"} 
[2026-07-07 15:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554782464001,"power":12145,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9010014029946552320}} 
[2026-07-07 15:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":124487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:12:14] local.INFO: GPS data processed {"connection_id":124487,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:12:14] local.INFO: Acknowledgment sent {"connection_id":124487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:12:27] local.INFO: TCP Data received {"connection_id":125300,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:12:27] local.INFO: Processing buffer {"connection_id":125300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:12:27] local.INFO: IMEI packet received {"connection_id":125300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":125300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:12:32] local.INFO: TCP Data received {"connection_id":125300,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:12:32] local.INFO: Processing buffer {"connection_id":125300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:12:32] local.INFO: IMEI packet received {"connection_id":125300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":125300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:12:33] local.INFO: TCP Data received {"connection_id":125300,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf24528012d7d0a4005ec40500000015918..."} 
[2026-07-07 15:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf24528012d7d0a4005ec40500000015918..."} 
[2026-07-07 15:12:33] local.INFO: Processing buffer {"connection_id":125300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf24528012d7d0a4005ec40500000015918..."} 
[2026-07-07 15:12:33] local.INFO: Packet analysis {"connection_id":125300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf2"} 
[2026-07-07 15:12:33] local.INFO: Extracted packet for processing {"connection_id":125300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf2"} 
[2026-07-07 15:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763169344,"raw_latitude":99369040,"longitude_deg":76.3169344,"latitude_deg":9.936904,"altitude":0,"angle":345,"satellites":24,"speed":0,"hex_longitude":"2d7d0a40","hex_latitude":"05ec4050","is_valid_coordinates":true} 
[2026-07-07 15:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554787840001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295741585260544,"note":"Value kept but may cause issues"} 
[2026-07-07 15:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010084398690725888,"note":"Value kept but may cause issues"} 
[2026-07-07 15:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783417161000,"timestamp_ms":1783417161000,"timestamp_seconds":1783417161,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf24528"} 
[2026-07-07 15:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-07 15:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554787840001,"66":12156,"110":206,"87":13824,"24":0,"16":103295741585260544,"45":9010084398690725888},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554787840001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:12:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:12:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295741585260544,"km_value":103295741585260.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010084398690725888,"description":"Unknown IO ID 45"} 
[2026-07-07 15:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554787840001,"power":12156,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010084398690725888}} 
[2026-07-07 15:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":125300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:12:33] local.INFO: GPS data processed {"connection_id":125300,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:12:33] local.INFO: Acknowledgment sent {"connection_id":125300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:12:36] local.INFO: TCP Data received {"connection_id":124488,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf3d780012d9fffc00552b5d0000500752e..."} 
[2026-07-07 15:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf3d780012d9fffc00552b5d0000500752e..."} 
[2026-07-07 15:12:36] local.INFO: Processing buffer {"connection_id":124488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf3d780012d9fffc00552b5d0000500752e..."} 
[2026-07-07 15:12:36] local.INFO: Packet analysis {"connection_id":124488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf3"} 
[2026-07-07 15:12:36] local.INFO: Extracted packet for processing {"connection_id":124488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf3"} 
[2026-07-07 15:12:36] local.INFO: GPS Element Parsed {"raw_longitude":765460416,"raw_latitude":89306576,"longitude_deg":76.5460416,"latitude_deg":8.9306576,"altitude":5,"angle":117,"satellites":46,"speed":10,"hex_longitude":"2d9fffc0","hex_latitude":"0552b5d0","is_valid_coordinates":true} 
[2026-07-07 15:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554816512001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341488730831323136,"note":"Value kept but may cause issues"} 
[2026-07-07 15:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6920343754545244160,"note":"Value kept but may cause issues"} 
[2026-07-07 15:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783417264000,"timestamp_ms":1783417264000,"timestamp_seconds":1783417264,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf3d780"} 
[2026-07-07 15:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:12: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-07-07 15:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 15:12: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-07-07 15:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554816512001,"66":27865,"116":206,"84":6144,"24":10,"16":341488730831323136,"45":-6920343754545244160},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-07-07 15:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554816512001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:12:36] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-07 15:12:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341488730831323136,"km_value":341488730831323.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6920343754545244160,"description":"Unknown IO ID 45"} 
[2026-07-07 15:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554816512001,"power":27865,"unknown_116":206,"unknown_84":6144,"ignition":10,"odometer":null,"unknown_45":-6920343754545244160}} 
[2026-07-07 15:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":124488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:12:36] local.INFO: GPS data processed {"connection_id":124488,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:12:36] local.INFO: Acknowledgment sent {"connection_id":124488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:12:59] local.INFO: TCP Data received {"connection_id":125301,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:12:59] local.INFO: Processing buffer {"connection_id":125301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:12:59] local.INFO: IMEI packet received {"connection_id":125301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":125301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:13:04] local.INFO: TCP Data received {"connection_id":125301,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:13:04] local.INFO: Processing buffer {"connection_id":125301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:13:04] local.INFO: IMEI packet received {"connection_id":125301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":125301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:13:04] local.INFO: TCP Data received {"connection_id":125300,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf29730012d7d0a4005ec40900000015919..."} 
[2026-07-07 15:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf29730012d7d0a4005ec40900000015919..."} 
[2026-07-07 15:13:04] local.INFO: Processing buffer {"connection_id":125300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf29730012d7d0a4005ec40900000015919..."} 
[2026-07-07 15:13:04] local.INFO: Packet analysis {"connection_id":125300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf2"} 
[2026-07-07 15:13:04] local.INFO: Extracted packet for processing {"connection_id":125300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf2"} 
[2026-07-07 15:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763169344,"raw_latitude":99369104,"longitude_deg":76.3169344,"latitude_deg":9.9369104,"altitude":0,"angle":345,"satellites":25,"speed":0,"hex_longitude":"2d7d0a40","hex_latitude":"05ec4090","is_valid_coordinates":true} 
[2026-07-07 15:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554793216001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295758765129728,"note":"Value kept but may cause issues"} 
[2026-07-07 15:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010084398690750464,"note":"Value kept but may cause issues"} 
[2026-07-07 15:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783417182000,"timestamp_ms":1783417182000,"timestamp_seconds":1783417182,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf29730"} 
[2026-07-07 15:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 15:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554793216001,"66":12156,"110":206,"87":13824,"24":0,"16":103295758765129728,"45":9010084398690750464},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554793216001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:13:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:13:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295758765129728,"km_value":103295758765129.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010084398690750464,"description":"Unknown IO ID 45"} 
[2026-07-07 15:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554793216001,"power":12156,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010084398690750464}} 
[2026-07-07 15:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":125300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:13:04] local.INFO: GPS data processed {"connection_id":125300,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:13:04] local.INFO: Acknowledgment sent {"connection_id":125300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:13:05] local.INFO: TCP Data received {"connection_id":125301,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf41218012da00d400552b068000600692c..."} 
[2026-07-07 15:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf41218012da00d400552b068000600692c..."} 
[2026-07-07 15:13:05] local.INFO: Processing buffer {"connection_id":125301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf41218012da00d400552b068000600692c..."} 
[2026-07-07 15:13:05] local.INFO: Packet analysis {"connection_id":125301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf4"} 
[2026-07-07 15:13:05] local.INFO: Extracted packet for processing {"connection_id":125301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf4"} 
[2026-07-07 15:13:05] local.INFO: GPS Element Parsed {"raw_longitude":765463872,"raw_latitude":89305192,"longitude_deg":76.5463872,"latitude_deg":8.9305192,"altitude":6,"angle":105,"satellites":44,"speed":9,"hex_longitude":"2da00d40","hex_latitude":"0552b068","is_valid_coordinates":true} 
[2026-07-07 15:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554819584001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341488911219949568,"note":"Value kept but may cause issues"} 
[2026-07-07 15:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6917599373522776064,"note":"Value kept but may cause issues"} 
[2026-07-07 15:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783417279000,"timestamp_ms":1783417279000,"timestamp_seconds":1783417279,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf41218"} 
[2026-07-07 15:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 15:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554819584001,"66":27865,"116":206,"84":6144,"24":9,"16":341488911219949568,"45":-6917599373522776064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-07-07 15:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554819584001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:13:05] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-07 15:13:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341488911219949568,"km_value":341488911219949.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6917599373522776064,"description":"Unknown IO ID 45"} 
[2026-07-07 15:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554819584001,"power":27865,"unknown_116":206,"unknown_84":6144,"ignition":9,"odometer":null,"unknown_45":-6917599373522776064}} 
[2026-07-07 15:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":125301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:13:05] local.INFO: GPS data processed {"connection_id":125301,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:13:05] local.INFO: Acknowledgment sent {"connection_id":125301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:13:26] local.INFO: TCP Data received {"connection_id":126544,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:13:26] local.INFO: Processing buffer {"connection_id":126544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:13:26] local.INFO: IMEI packet received {"connection_id":126544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":126544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:13:31] local.INFO: TCP Data received {"connection_id":126544,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:13:31] local.INFO: Processing buffer {"connection_id":126544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:13:31] local.INFO: IMEI packet received {"connection_id":126544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":126544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:13:33] local.INFO: TCP Data received {"connection_id":126544,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf2e938012d7d0a0005ec40b80000015919..."} 
[2026-07-07 15:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf2e938012d7d0a0005ec40b80000015919..."} 
[2026-07-07 15:13:33] local.INFO: Processing buffer {"connection_id":126544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf2e938012d7d0a0005ec40b80000015919..."} 
[2026-07-07 15:13:33] local.INFO: Packet analysis {"connection_id":126544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf2"} 
[2026-07-07 15:13:33] local.INFO: Extracted packet for processing {"connection_id":126544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf2"} 
[2026-07-07 15:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":99369144,"longitude_deg":76.316928,"latitude_deg":9.9369144,"altitude":0,"angle":345,"satellites":25,"speed":0,"hex_longitude":"2d7d0a00","hex_latitude":"05ec40b8","is_valid_coordinates":true} 
[2026-07-07 15:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554798592001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295763060097024,"note":"Value kept but may cause issues"} 
[2026-07-07 15:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010084398690766848,"note":"Value kept but may cause issues"} 
[2026-07-07 15:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783417203000,"timestamp_ms":1783417203000,"timestamp_seconds":1783417203,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf2e938"} 
[2026-07-07 15:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:13: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-07-07 15:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 15:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554798592001,"66":12037,"110":206,"87":13824,"24":0,"16":103295763060097024,"45":9010084398690766848},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554798592001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:13:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:13:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295763060097024,"km_value":103295763060097.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010084398690766848,"description":"Unknown IO ID 45"} 
[2026-07-07 15:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554798592001,"power":12037,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9010084398690766848}} 
[2026-07-07 15:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":126544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:13:33] local.INFO: GPS data processed {"connection_id":126544,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:13:33] local.INFO: Acknowledgment sent {"connection_id":126544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:13:36] local.INFO: TCP Data received {"connection_id":125301,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf46420012da02f000552a8d8000900602d..."} 
[2026-07-07 15:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf46420012da02f000552a8d8000900602d..."} 
[2026-07-07 15:13:36] local.INFO: Processing buffer {"connection_id":125301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf46420012da02f000552a8d8000900602d..."} 
[2026-07-07 15:13:36] local.INFO: Packet analysis {"connection_id":125301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf4"} 
[2026-07-07 15:13:36] local.INFO: Extracted packet for processing {"connection_id":125301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf4"} 
[2026-07-07 15:13:36] local.INFO: GPS Element Parsed {"raw_longitude":765472512,"raw_latitude":89303256,"longitude_deg":76.5472512,"latitude_deg":8.9303256,"altitude":9,"angle":96,"satellites":45,"speed":19,"hex_longitude":"2da02f00","hex_latitude":"0552a8d8","is_valid_coordinates":true} 
[2026-07-07 15:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554823424001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341489332126744576,"note":"Value kept but may cause issues"} 
[2026-07-07 15:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6913799461337536512,"note":"Value kept but may cause issues"} 
[2026-07-07 15:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783417300000,"timestamp_ms":1783417300000,"timestamp_seconds":1783417300,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf46420"} 
[2026-07-07 15:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 15:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554823424001,"66":27876,"125":206,"84":6144,"24":19,"16":341489332126744576,"45":-6913799461337536512},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-07-07 15:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554823424001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:13:36] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-07 15:13:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341489332126744576,"km_value":341489332126744.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6913799461337536512,"description":"Unknown IO ID 45"} 
[2026-07-07 15:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554823424001,"power":27876,"unknown_125":206,"unknown_84":6144,"ignition":19,"odometer":null,"unknown_45":-6913799461337536512}} 
[2026-07-07 15:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":125301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:13:36] local.INFO: GPS data processed {"connection_id":125301,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:13:36] local.INFO: Acknowledgment sent {"connection_id":125301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:13:58] local.INFO: TCP Data received {"connection_id":124490,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:13:58] local.INFO: Processing buffer {"connection_id":124490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:13:58] local.INFO: IMEI packet received {"connection_id":124490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":124490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:14:04] local.INFO: TCP Data received {"connection_id":124490,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:14:04] local.INFO: Processing buffer {"connection_id":124490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:14:04] local.INFO: IMEI packet received {"connection_id":124490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":124490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:14:05] local.INFO: TCP Data received {"connection_id":124490,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf496e8012da053000552a120000900682d..."} 
[2026-07-07 15:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf496e8012da053000552a120000900682d..."} 
[2026-07-07 15:14:05] local.INFO: Processing buffer {"connection_id":124490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf496e8012da053000552a120000900682d..."} 
[2026-07-07 15:14:05] local.INFO: Packet analysis {"connection_id":124490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf4"} 
[2026-07-07 15:14:05] local.INFO: Extracted packet for processing {"connection_id":124490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf4"} 
[2026-07-07 15:14:05] local.INFO: GPS Element Parsed {"raw_longitude":765481728,"raw_latitude":89301280,"longitude_deg":76.5481728,"latitude_deg":8.930128,"altitude":9,"angle":104,"satellites":45,"speed":34,"hex_longitude":"2da05300","hex_latitude":"0552a120","is_valid_coordinates":true} 
[2026-07-07 15:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554828800001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341489787393277952,"note":"Value kept but may cause issues"} 
[2026-07-07 15:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6904299680874047488,"note":"Value kept but may cause issues"} 
[2026-07-07 15:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783417313000,"timestamp_ms":1783417313000,"timestamp_seconds":1783417313,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf496e8"} 
[2026-07-07 15:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 15:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554828800001,"66":27919,"125":206,"84":6144,"24":34,"16":341489787393277952,"45":-6904299680874047488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-07-07 15:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554828800001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:14:05] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-07 15:14:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341489787393277952,"km_value":341489787393277.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6904299680874047488,"description":"Unknown IO ID 45"} 
[2026-07-07 15:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554828800001,"power":27919,"unknown_125":206,"unknown_84":6144,"ignition":34,"odometer":null,"unknown_45":-6904299680874047488}} 
[2026-07-07 15:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":124490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:14:05] local.INFO: GPS data processed {"connection_id":124490,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:14:05] local.INFO: Acknowledgment sent {"connection_id":124490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:14:05] local.INFO: TCP Data received {"connection_id":126544,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf33b40012d7d0a0005ec40e80000014b1a..."} 
[2026-07-07 15:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf33b40012d7d0a0005ec40e80000014b1a..."} 
[2026-07-07 15:14:05] local.INFO: Processing buffer {"connection_id":126544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf33b40012d7d0a0005ec40e80000014b1a..."} 
[2026-07-07 15:14:05] local.INFO: Packet analysis {"connection_id":126544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf3"} 
[2026-07-07 15:14:05] local.INFO: Extracted packet for processing {"connection_id":126544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf3"} 
[2026-07-07 15:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":99369192,"longitude_deg":76.316928,"latitude_deg":9.9369192,"altitude":0,"angle":331,"satellites":26,"speed":1,"hex_longitude":"2d7d0a00","hex_latitude":"05ec40e8","is_valid_coordinates":true} 
[2026-07-07 15:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554803968001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295767355064320,"note":"Value kept but may cause issues"} 
[2026-07-07 15:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010014029946599424,"note":"Value kept but may cause issues"} 
[2026-07-07 15:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783417224000,"timestamp_ms":1783417224000,"timestamp_seconds":1783417224,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf33b40"} 
[2026-07-07 15:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 15:14:05] local.WARNING: Large IO value detected {"io_id":110,"raw_value":4209508352,"note":"Value kept but may cause issues"} 
[2026-07-07 15:14:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 15:14:05] local.WARNING: Large IO value detected {"io_id":250,"raw_value":3959422976,"note":"Value kept but may cause issues"} 
[2026-07-07 15:14:05] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194836224,"note":"Value kept but may cause issues"} 
[2026-07-07 15:14:05] local.WARNING: Large IO value detected {"io_id":59,"raw_value":4053866497,"note":"Value kept but may cause issues"} 
[2026-07-07 15:14:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5291167498433331224,"corrected_to":0} 
[2026-07-07 15:14:05] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72181980601516288,"note":"Value kept but may cause issues"} 
[2026-07-07 15:14:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1423418957225701100,"note":"Value kept but may cause issues"} 
[2026-07-07 15:14:05] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,110,87,24,241,157,16,250,159,151,45,64,25,10,66,69,243,1,240,113,227,59,236,4,205,79,104,20,239,47,2,5],"length":484,"final_offset":614,"validated_count":32,"validation_warnings":[{"io_id":205,"original":5291167498433331224,"validated":0}]} 
[2026-07-07 15:14:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":379438885765120,"timestamp_seconds":379438885765.12,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 15:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554803968001,"66":12156,"110":206,"87":13824,"24":1,"16":103295767355064320,"45":9010014029946599424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554803968001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:14:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:14:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295767355064320,"km_value":103295767355064.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010014029946599424,"description":"Unknown IO ID 45"} 
[2026-07-07 15:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554803968001,"power":12156,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9010014029946599424}} 
[2026-07-07 15:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":126544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:14:05] local.INFO: GPS data processed {"connection_id":126544,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:14:05] local.INFO: Acknowledgment sent {"connection_id":126544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:14:26] local.INFO: TCP Data received {"connection_id":124577,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:14:26] local.INFO: Processing buffer {"connection_id":124577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:14:26] local.INFO: IMEI packet received {"connection_id":124577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":124577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:14:33] local.INFO: TCP Data received {"connection_id":124577,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:14:33] local.INFO: Processing buffer {"connection_id":124577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:14:33] local.INFO: IMEI packet received {"connection_id":124577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":124577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:14:35] local.INFO: TCP Data received {"connection_id":124490,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf66ba8012da18c800551dbd0000800a324..."} 
[2026-07-07 15:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf66ba8012da18c800551dbd0000800a324..."} 
[2026-07-07 15:14:35] local.INFO: Processing buffer {"connection_id":124490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf66ba8012da18c800551dbd0000800a324..."} 
[2026-07-07 15:14:35] local.INFO: Packet analysis {"connection_id":124490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf6"} 
[2026-07-07 15:14:35] local.INFO: Extracted packet for processing {"connection_id":124490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf6"} 
[2026-07-07 15:14:35] local.INFO: GPS Element Parsed {"raw_longitude":765561984,"raw_latitude":89250768,"longitude_deg":76.5561984,"latitude_deg":8.9250768,"altitude":8,"angle":163,"satellites":36,"speed":17,"hex_longitude":"2da18c80","hex_latitude":"0551dbd0","is_valid_coordinates":true} 
[2026-07-07 15:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554860800001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341494486087499776,"note":"Value kept but may cause issues"} 
[2026-07-07 15:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6805501964061304832,"note":"Value kept but may cause issues"} 
[2026-07-07 15:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783417433000,"timestamp_ms":1783417433000,"timestamp_seconds":1783417433,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf66ba8"} 
[2026-07-07 15:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:14: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-07-07 15:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 15:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554860800001,"66":27995,"124":206,"84":6144,"24":17,"16":341494486087499776,"45":-6805501964061304832},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,84,24,16,45]} 
[2026-07-07 15:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554860800001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:14:35] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-07 15:14:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341494486087499776,"km_value":341494486087499.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6805501964061304832,"description":"Unknown IO ID 45"} 
[2026-07-07 15:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554860800001,"power":27995,"unknown_124":206,"unknown_84":6144,"ignition":17,"odometer":null,"unknown_45":-6805501964061304832}} 
[2026-07-07 15:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":124490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:14:35] local.INFO: GPS data processed {"connection_id":124490,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:14:35] local.INFO: Acknowledgment sent {"connection_id":124490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:14:36] local.INFO: TCP Data received {"connection_id":124577,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf69e70012d7d098005ec42300000010b1c..."} 
[2026-07-07 15:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf69e70012d7d098005ec42300000010b1c..."} 
[2026-07-07 15:14:36] local.INFO: Processing buffer {"connection_id":124577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf69e70012d7d098005ec42300000010b1c..."} 
[2026-07-07 15:14:36] local.INFO: Packet analysis {"connection_id":124577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf6"} 
[2026-07-07 15:14:36] local.INFO: Extracted packet for processing {"connection_id":124577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf6"} 
[2026-07-07 15:14:36] local.INFO: GPS Element Parsed {"raw_longitude":763169152,"raw_latitude":99369520,"longitude_deg":76.3169152,"latitude_deg":9.936952,"altitude":0,"angle":267,"satellites":28,"speed":1,"hex_longitude":"2d7d0980","hex_latitude":"05ec4230","is_valid_coordinates":true} 
[2026-07-07 15:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554862848001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295823189639168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009802923714164736,"note":"Value kept but may cause issues"} 
[2026-07-07 15:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783417446000,"timestamp_ms":1783417446000,"timestamp_seconds":1783417446,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf69e70"} 
[2026-07-07 15:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:14: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-07-07 15: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 15:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554862848001,"66":12493,"110":206,"87":13824,"24":1,"16":103295823189639168,"45":9009802923714164736},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554862848001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:14:36] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:14:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295823189639168,"km_value":103295823189639.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009802923714164736,"description":"Unknown IO ID 45"} 
[2026-07-07 15:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554862848001,"power":12493,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9009802923714164736}} 
[2026-07-07 15:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":124577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:14:36] local.INFO: GPS data processed {"connection_id":124577,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:14:36] local.INFO: Acknowledgment sent {"connection_id":124577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:14:58] local.INFO: TCP Data received {"connection_id":124578,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:14:58] local.INFO: Processing buffer {"connection_id":124578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:14:58] local.INFO: IMEI packet received {"connection_id":124578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":124578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:15:04] local.INFO: TCP Data received {"connection_id":124578,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:15:04] local.INFO: Processing buffer {"connection_id":124578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:15:04] local.INFO: IMEI packet received {"connection_id":124578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":124578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:15:05] local.INFO: TCP Data received {"connection_id":124578,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf67378012da18dc00551d7d00008009526..."} 
[2026-07-07 15:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf67378012da18dc00551d7d00008009526..."} 
[2026-07-07 15:15:05] local.INFO: Processing buffer {"connection_id":124578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf67378012da18dc00551d7d00008009526..."} 
[2026-07-07 15:15:05] local.INFO: Packet analysis {"connection_id":124578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf6"} 
[2026-07-07 15:15:05] local.INFO: Extracted packet for processing {"connection_id":124578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf6"} 
[2026-07-07 15:15:05] local.INFO: GPS Element Parsed {"raw_longitude":765562304,"raw_latitude":89249744,"longitude_deg":76.5562304,"latitude_deg":8.9249744,"altitude":8,"angle":149,"satellites":38,"speed":21,"hex_longitude":"2da18dc0","hex_latitude":"0551d7d0","is_valid_coordinates":true} 
[2026-07-07 15:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554862848001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341494537627107328,"note":"Value kept but may cause issues"} 
[2026-07-07 15:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6805924176527110144,"note":"Value kept but may cause issues"} 
[2026-07-07 15:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783417435000,"timestamp_ms":1783417435000,"timestamp_seconds":1783417435,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf67378"} 
[2026-07-07 15:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 15:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554862848001,"66":27213,"124":206,"84":6144,"24":21,"16":341494537627107328,"45":-6805924176527110144},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,84,24,16,45]} 
[2026-07-07 15:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554862848001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:15:05] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-07 15:15:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341494537627107328,"km_value":341494537627107.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6805924176527110144,"description":"Unknown IO ID 45"} 
[2026-07-07 15:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554862848001,"power":27213,"unknown_124":206,"unknown_84":6144,"ignition":21,"odometer":null,"unknown_45":-6805924176527110144}} 
[2026-07-07 15:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":124578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:15:05] local.INFO: GPS data processed {"connection_id":124578,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:15:05] local.INFO: Acknowledgment sent {"connection_id":124578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:15:07] local.INFO: TCP Data received {"connection_id":124577,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf6a258012d7d098005ec4230000000f01c..."} 
[2026-07-07 15:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf6a258012d7d098005ec4230000000f01c..."} 
[2026-07-07 15:15:07] local.INFO: Processing buffer {"connection_id":124577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf6a258012d7d098005ec4230000000f01c..."} 
[2026-07-07 15:15:07] local.INFO: Packet analysis {"connection_id":124577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf6"} 
[2026-07-07 15:15:07] local.INFO: Extracted packet for processing {"connection_id":124577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf6"} 
[2026-07-07 15:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763169152,"raw_latitude":99369520,"longitude_deg":76.3169152,"latitude_deg":9.936952,"altitude":0,"angle":240,"satellites":28,"speed":1,"hex_longitude":"2d7d0980","hex_latitude":"05ec4230","is_valid_coordinates":true} 
[2026-07-07 15:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554866176001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295823189639168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009873292458340352,"note":"Value kept but may cause issues"} 
[2026-07-07 15:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783417447000,"timestamp_ms":1783417447000,"timestamp_seconds":1783417447,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf6a258"} 
[2026-07-07 15:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 15:15:07] 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-07-07 15:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554866176001,"66":12906,"110":206,"87":13824,"24":1,"16":103295823189639168,"45":9009873292458340352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554866176001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:15:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:15:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295823189639168,"km_value":103295823189639.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009873292458340352,"description":"Unknown IO ID 45"} 
[2026-07-07 15:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554866176001,"power":12906,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9009873292458340352}} 
[2026-07-07 15:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":124577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:15:08] local.INFO: GPS data processed {"connection_id":124577,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:15:08] local.INFO: Acknowledgment sent {"connection_id":124577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:15:26] local.INFO: TCP Data received {"connection_id":124492,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:15:26] local.INFO: Processing buffer {"connection_id":124492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:15:26] local.INFO: IMEI packet received {"connection_id":124492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":124492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:15:29] local.INFO: TCP Data received {"connection_id":124492,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:15:29] local.INFO: Processing buffer {"connection_id":124492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:15:29] local.INFO: IMEI packet received {"connection_id":124492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":124492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:15:31] local.INFO: TCP Data received {"connection_id":124492,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:15:31] local.INFO: Processing buffer {"connection_id":124492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:15:31] local.INFO: IMEI packet received {"connection_id":124492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":124492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:15:33] local.INFO: TCP Data received {"connection_id":124492,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf6aa28012d7d094005ec4200000000e41c..."} 
[2026-07-07 15:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf6aa28012d7d094005ec4200000000e41c..."} 
[2026-07-07 15:15:33] local.INFO: Processing buffer {"connection_id":124492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf6aa28012d7d094005ec4200000000e41c..."} 
[2026-07-07 15:15:33] local.INFO: Packet analysis {"connection_id":124492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf6"} 
[2026-07-07 15:15:33] local.INFO: Extracted packet for processing {"connection_id":124492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf6"} 
[2026-07-07 15:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763169088,"raw_latitude":99369472,"longitude_deg":76.3169088,"latitude_deg":9.9369472,"altitude":0,"angle":228,"satellites":28,"speed":1,"hex_longitude":"2d7d0940","hex_latitude":"05ec4200","is_valid_coordinates":true} 
[2026-07-07 15:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554866432001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103295827484606464,"note":"Value kept but may cause issues"} 
[2026-07-07 15:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009873292458340352,"note":"Value kept but may cause issues"} 
[2026-07-07 15:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783417449000,"timestamp_ms":1783417449000,"timestamp_seconds":1783417449,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf6aa28"} 
[2026-07-07 15:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-07 15:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554866432001,"66":12765,"110":206,"87":13824,"24":1,"16":103295827484606464,"45":9009873292458340352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-07 15:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554866432001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:15:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 15:15:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103295827484606464,"km_value":103295827484606.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009873292458340352,"description":"Unknown IO ID 45"} 
[2026-07-07 15:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554866432001,"power":12765,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9009873292458340352}} 
[2026-07-07 15:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":124492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:15:33] local.INFO: GPS data processed {"connection_id":124492,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:15:33] local.INFO: Acknowledgment sent {"connection_id":124492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:15:36] local.INFO: TCP Data received {"connection_id":124578,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf67b48012da190400551d430000800872a..."} 
[2026-07-07 15:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf67b48012da190400551d430000800872a..."} 
[2026-07-07 15:15:36] local.INFO: Processing buffer {"connection_id":124578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf67b48012da190400551d430000800872a..."} 
[2026-07-07 15:15:36] local.INFO: Packet analysis {"connection_id":124578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf6"} 
[2026-07-07 15:15:36] local.INFO: Extracted packet for processing {"connection_id":124578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf6"} 
[2026-07-07 15:15:36] local.INFO: GPS Element Parsed {"raw_longitude":765562944,"raw_latitude":89248816,"longitude_deg":76.5562944,"latitude_deg":8.9248816,"altitude":8,"angle":135,"satellites":42,"speed":24,"hex_longitude":"2da19040","hex_latitude":"0551d430","is_valid_coordinates":true} 
[2026-07-07 15:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554863360001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341494593461682176,"note":"Value kept but may cause issues"} 
[2026-07-07 15:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6805572332806483968,"note":"Value kept but may cause issues"} 
[2026-07-07 15:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783417437000,"timestamp_ms":1783417437000,"timestamp_seconds":1783417437,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf67b48"} 
[2026-07-07 15:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 15:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554863360001,"66":27821,"124":206,"84":6144,"24":24,"16":341494593461682176,"45":-6805572332806483968},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,84,24,16,45]} 
[2026-07-07 15:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554863360001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:15:36] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-07 15:15:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341494593461682176,"km_value":341494593461682.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6805572332806483968,"description":"Unknown IO ID 45"} 
[2026-07-07 15:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554863360001,"power":27821,"unknown_124":206,"unknown_84":6144,"ignition":24,"odometer":null,"unknown_45":-6805572332806483968}} 
[2026-07-07 15:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":124578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:15:36] local.INFO: GPS data processed {"connection_id":124578,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:15:36] local.INFO: Acknowledgment sent {"connection_id":124578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:16:03] local.INFO: TCP Data received {"connection_id":124493,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:16:03] local.INFO: Processing buffer {"connection_id":124493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:16:03] local.INFO: IMEI packet received {"connection_id":124493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":124493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:16:05] local.INFO: TCP Data received {"connection_id":124492,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf805d0012d7c728005ec35e0000c010b1d..."} 
[2026-07-07 15:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf805d0012d7c728005ec35e0000c010b1d..."} 
[2026-07-07 15:16:05] local.INFO: Processing buffer {"connection_id":124492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf805d0012d7c728005ec35e0000c010b1d..."} 
[2026-07-07 15:16:05] local.INFO: Packet analysis {"connection_id":124492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf8"} 
[2026-07-07 15:16:05] local.INFO: Extracted packet for processing {"connection_id":124492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf8"} 
[2026-07-07 15:16:05] local.INFO: GPS Element Parsed {"raw_longitude":763130496,"raw_latitude":99366368,"longitude_deg":76.3130496,"latitude_deg":9.9366368,"altitude":12,"angle":267,"satellites":29,"speed":34,"hex_longitude":"2d7c7280","hex_latitude":"05ec35e0","is_valid_coordinates":true} 
[2026-07-07 15:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554886912001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103297721565184000,"note":"Value kept but may cause issues"} 
[2026-07-07 15:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977996251345127424,"note":"Value kept but may cause issues"} 
[2026-07-07 15:16:05] 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-07-07 15:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783417538000,"timestamp_ms":1783417538000,"timestamp_seconds":1783417538,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf805d0"} 
[2026-07-07 15:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-07 15:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554886912001,"66":13254,"198":206,"87":13824,"24":34,"16":103297721565184000,"45":8977996251345127424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-07 15:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554886912001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:16:05] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 15:16:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103297721565184000,"km_value":103297721565184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977996251345127424,"description":"Unknown IO ID 45"} 
[2026-07-07 15:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554886912001,"power":13254,"unknown_198":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8977996251345127424}} 
[2026-07-07 15:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":124492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:16:05] local.INFO: GPS data processed {"connection_id":124492,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:16:05] local.INFO: Acknowledgment sent {"connection_id":124492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:16:08] local.INFO: TCP Data received {"connection_id":124493,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:16:08] local.INFO: Processing buffer {"connection_id":124493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:16:08] local.INFO: IMEI packet received {"connection_id":124493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":124493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:16:09] local.INFO: TCP Data received {"connection_id":124493,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf6ae10012da1a8000551b9f8000a00902b..."} 
[2026-07-07 15:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf6ae10012da1a8000551b9f8000a00902b..."} 
[2026-07-07 15:16:09] local.INFO: Processing buffer {"connection_id":124493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf6ae10012da1a8000551b9f8000a00902b..."} 
[2026-07-07 15:16:09] local.INFO: Packet analysis {"connection_id":124493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf6"} 
[2026-07-07 15:16:09] local.INFO: Extracted packet for processing {"connection_id":124493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf6"} 
[2026-07-07 15:16:09] local.INFO: GPS Element Parsed {"raw_longitude":765569024,"raw_latitude":89242104,"longitude_deg":76.5569024,"latitude_deg":8.9242104,"altitude":10,"angle":144,"satellites":43,"speed":32,"hex_longitude":"2da1a800","hex_latitude":"0551b9f8","is_valid_coordinates":true} 
[2026-07-07 15:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554863872001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341495031548346368,"note":"Value kept but may cause issues"} 
[2026-07-07 15:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6804868645364944896,"note":"Value kept but may cause issues"} 
[2026-07-07 15:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783417450000,"timestamp_ms":1783417450000,"timestamp_seconds":1783417450,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf6ae10"} 
[2026-07-07 15:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15: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-07-07 15: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":173,"data_length":795,"current_offset":136} 
[2026-07-07 15:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554863872001,"66":27995,"124":206,"84":6144,"24":32,"16":341495031548346368,"45":-6804868645364944896},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,84,24,16,45]} 
[2026-07-07 15:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554863872001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:16:09] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-07 15:16:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341495031548346368,"km_value":341495031548346.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6804868645364944896,"description":"Unknown IO ID 45"} 
[2026-07-07 15:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554863872001,"power":27995,"unknown_124":206,"unknown_84":6144,"ignition":32,"odometer":null,"unknown_45":-6804868645364944896}} 
[2026-07-07 15:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":124493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:16:09] local.INFO: GPS data processed {"connection_id":124493,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:16:09] local.INFO: Acknowledgment sent {"connection_id":124493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:16:10] local.INFO: TCP Data received {"connection_id":124493,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf6d520012da1bcc005519af80009009329..."} 
[2026-07-07 15:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf6d520012da1bcc005519af80009009329..."} 
[2026-07-07 15:16:10] local.INFO: Processing buffer {"connection_id":124493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf6d520012da1bcc005519af80009009329..."} 
[2026-07-07 15:16:10] local.INFO: Packet analysis {"connection_id":124493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf6"} 
[2026-07-07 15:16:10] local.INFO: Extracted packet for processing {"connection_id":124493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf6"} 
[2026-07-07 15:16:10] local.INFO: GPS Element Parsed {"raw_longitude":765574336,"raw_latitude":89234168,"longitude_deg":76.5574336,"latitude_deg":8.9234168,"altitude":9,"angle":147,"satellites":41,"speed":41,"hex_longitude":"2da1bcc0","hex_latitude":"05519af8","is_valid_coordinates":true} 
[2026-07-07 15:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554867200001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341495491109847040,"note":"Value kept but may cause issues"} 
[2026-07-07 15:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6798183614669785088,"note":"Value kept but may cause issues"} 
[2026-07-07 15:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783417460000,"timestamp_ms":1783417460000,"timestamp_seconds":1783417460,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf6d520"} 
[2026-07-07 15:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15: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-07-07 15:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 15: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-07-07 15:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554867200001,"66":27930,"239":206,"84":6144,"24":41,"16":341495491109847040,"45":-6798183614669785088},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,84,24,16,45]} 
[2026-07-07 15:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554867200001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:16:10] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-07 15:16:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341495491109847040,"km_value":341495491109847.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6798183614669785088,"description":"Unknown IO ID 45"} 
[2026-07-07 15:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554867200001,"power":27930,"unknown_239":206,"unknown_84":6144,"ignition":41,"odometer":null,"unknown_45":-6798183614669785088}} 
[2026-07-07 15:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":124493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:16:10] local.INFO: GPS data processed {"connection_id":124493,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:16:10] local.INFO: Acknowledgment sent {"connection_id":124493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:16:26] local.INFO: TCP Data received {"connection_id":124494,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:16:26] local.INFO: Processing buffer {"connection_id":124494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:16:26] local.INFO: IMEI packet received {"connection_id":124494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":124494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:16:31] local.INFO: TCP Data received {"connection_id":124494,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:16:32] local.INFO: Processing buffer {"connection_id":124494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:16:32] local.INFO: IMEI packet received {"connection_id":124494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":124494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:16:33] local.INFO: TCP Data received {"connection_id":124494,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf830c8012d7c4c4005ec34600011010d1e..."} 
[2026-07-07 15:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf830c8012d7c4c4005ec34600011010d1e..."} 
[2026-07-07 15:16:33] local.INFO: Processing buffer {"connection_id":124494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf830c8012d7c4c4005ec34600011010d1e..."} 
[2026-07-07 15:16:33] local.INFO: Packet analysis {"connection_id":124494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf8"} 
[2026-07-07 15:16:33] local.INFO: Extracted packet for processing {"connection_id":124494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf8"} 
[2026-07-07 15:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763120704,"raw_latitude":99365984,"longitude_deg":76.3120704,"latitude_deg":9.9365984,"altitude":17,"angle":269,"satellites":30,"speed":35,"hex_longitude":"2d7c4c40","hex_latitude":"05ec3460","is_valid_coordinates":true} 
[2026-07-07 15:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554889728001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103298189716619264,"note":"Value kept but may cause issues"} 
[2026-07-07 15:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967370570974224384,"note":"Value kept but may cause issues"} 
[2026-07-07 15:16:33] 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-07-07 15:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783417549000,"timestamp_ms":1783417549000,"timestamp_seconds":1783417549,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf830c8"} 
[2026-07-07 15:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-07 15:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554889728001,"66":13254,"198":206,"87":13824,"24":35,"16":103298189716619264,"45":8967370570974224384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-07 15:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554889728001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:16:33] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 15:16:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103298189716619264,"km_value":103298189716619.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967370570974224384,"description":"Unknown IO ID 45"} 
[2026-07-07 15:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554889728001,"power":13254,"unknown_198":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8967370570974224384}} 
[2026-07-07 15:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":124494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:16:33] local.INFO: GPS data processed {"connection_id":124494,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:16:33] local.INFO: Acknowledgment sent {"connection_id":124494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:16:41] local.INFO: TCP Data received {"connection_id":124493,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf6f460012da1cf4005517d60000a00932b..."} 
[2026-07-07 15:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf6f460012da1cf4005517d60000a00932b..."} 
[2026-07-07 15:16:41] local.INFO: Processing buffer {"connection_id":124493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf6f460012da1cf4005517d60000a00932b..."} 
[2026-07-07 15:16:41] local.INFO: Packet analysis {"connection_id":124493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf6"} 
[2026-07-07 15:16:41] local.INFO: Extracted packet for processing {"connection_id":124493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf6"} 
[2026-07-07 15:16:41] local.INFO: GPS Element Parsed {"raw_longitude":765579072,"raw_latitude":89226592,"longitude_deg":76.5579072,"latitude_deg":8.9226592,"altitude":10,"angle":147,"satellites":43,"speed":44,"hex_longitude":"2da1cf40","hex_latitude":"05517d60","is_valid_coordinates":true} 
[2026-07-07 15:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554869760001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341495924901543936,"note":"Value kept but may cause issues"} 
[2026-07-07 15:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6792343008905070592,"note":"Value kept but may cause issues"} 
[2026-07-07 15:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783417468000,"timestamp_ms":1783417468000,"timestamp_seconds":1783417468,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf6f460"} 
[2026-07-07 15:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 15:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554869760001,"66":27865,"239":206,"84":6144,"24":44,"16":341495924901543936,"45":-6792343008905070592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,84,24,16,45]} 
[2026-07-07 15:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554869760001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:16:41] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-07 15:16:41] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341495924901543936,"km_value":341495924901543.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6792343008905070592,"description":"Unknown IO ID 45"} 
[2026-07-07 15:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554869760001,"power":27865,"unknown_239":206,"unknown_84":6144,"ignition":44,"odometer":null,"unknown_45":-6792343008905070592}} 
[2026-07-07 15:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":124493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:16:41] local.INFO: GPS data processed {"connection_id":124493,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:16:41] local.INFO: Acknowledgment sent {"connection_id":124493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:16:58] local.INFO: TCP Data received {"connection_id":126546,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:16:58] local.INFO: Processing buffer {"connection_id":126546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:16:58] local.INFO: IMEI packet received {"connection_id":126546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":126546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:16:59] local.INFO: TCP Data received {"connection_id":126546,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:16:59] local.INFO: Processing buffer {"connection_id":126546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:16:59] local.INFO: IMEI packet received {"connection_id":126546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":126546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:16:59] local.INFO: TCP Data received {"connection_id":126547,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:16:59] local.INFO: Processing buffer {"connection_id":126547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:16:59] local.INFO: IMEI packet received {"connection_id":126547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 15:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":126547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:17:04] local.INFO: TCP Data received {"connection_id":126546,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:17:04] local.INFO: Processing buffer {"connection_id":126546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:17:04] local.INFO: IMEI packet received {"connection_id":126546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":126546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:17:05] local.INFO: TCP Data received {"connection_id":126546,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf71788012da1e28005515e18000b00952b..."} 
[2026-07-07 15:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf71788012da1e28005515e18000b00952b..."} 
[2026-07-07 15:17:05] local.INFO: Processing buffer {"connection_id":126546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf71788012da1e28005515e18000b00952b..."} 
[2026-07-07 15:17:05] local.INFO: Packet analysis {"connection_id":126546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf7"} 
[2026-07-07 15:17:05] local.INFO: Extracted packet for processing {"connection_id":126546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf7"} 
[2026-07-07 15:17:05] local.INFO: GPS Element Parsed {"raw_longitude":765584000,"raw_latitude":89218584,"longitude_deg":76.5584,"latitude_deg":8.9218584,"altitude":11,"angle":149,"satellites":43,"speed":40,"hex_longitude":"2da1e280","hex_latitude":"05515e18","is_valid_coordinates":true} 
[2026-07-07 15:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554871808001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341496380168077312,"note":"Value kept but may cause issues"} 
[2026-07-07 15:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6787135721837862912,"note":"Value kept but may cause issues"} 
[2026-07-07 15:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783417477000,"timestamp_ms":1783417477000,"timestamp_seconds":1783417477,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf71788"} 
[2026-07-07 15:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 15:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554871808001,"66":27974,"239":206,"84":6144,"24":40,"16":341496380168077312,"45":-6787135721837862912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,84,24,16,45]} 
[2026-07-07 15:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554871808001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:17:05] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-07 15:17:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341496380168077312,"km_value":341496380168077.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6787135721837862912,"description":"Unknown IO ID 45"} 
[2026-07-07 15:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554871808001,"power":27974,"unknown_239":206,"unknown_84":6144,"ignition":40,"odometer":null,"unknown_45":-6787135721837862912}} 
[2026-07-07 15:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":126546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:17:05] local.INFO: GPS data processed {"connection_id":126546,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:17:05] local.INFO: Acknowledgment sent {"connection_id":126546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:17:13] local.INFO: TCP Data received {"connection_id":124494,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf857d8012d7c294005ec33680012010c1e..."} 
[2026-07-07 15:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf857d8012d7c294005ec33680012010c1e..."} 
[2026-07-07 15:17:13] local.INFO: Processing buffer {"connection_id":124494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf857d8012d7c294005ec33680012010c1e..."} 
[2026-07-07 15:17:13] local.INFO: Packet analysis {"connection_id":124494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf8"} 
[2026-07-07 15:17:13] local.INFO: Extracted packet for processing {"connection_id":124494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf8"} 
[2026-07-07 15:17:13] local.INFO: GPS Element Parsed {"raw_longitude":763111744,"raw_latitude":99365736,"longitude_deg":76.3111744,"latitude_deg":9.9365736,"altitude":18,"angle":268,"satellites":30,"speed":34,"hex_longitude":"2d7c2940","hex_latitude":"05ec3368","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554892544001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103298619213348864,"note":"Value kept but may cause issues"} 
[2026-07-07 15:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8956604153114943488,"note":"Value kept but may cause issues"} 
[2026-07-07 15:17: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-07-07 15:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783417559000,"timestamp_ms":1783417559000,"timestamp_seconds":1783417559,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf857d8"} 
[2026-07-07 15:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-07 15:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15: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-07-07 15:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554892544001,"66":13341,"198":206,"87":13824,"24":34,"16":103298619213348864,"45":8956604153114943488},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-07 15:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554892544001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:17:13] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 15:17:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103298619213348864,"km_value":103298619213348.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8956604153114943488,"description":"Unknown IO ID 45"} 
[2026-07-07 15:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554892544001,"power":13341,"unknown_198":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8956604153114943488}} 
[2026-07-07 15:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":124494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:17:13] local.INFO: GPS data processed {"connection_id":124494,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:17:13] local.INFO: Acknowledgment sent {"connection_id":124494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:17:32] local.INFO: TCP Data received {"connection_id":125303,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:17:32] local.INFO: Processing buffer {"connection_id":125303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:17:32] local.INFO: IMEI packet received {"connection_id":125303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":125303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:17:33] local.INFO: TCP Data received {"connection_id":125303,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:17:33] local.INFO: Processing buffer {"connection_id":125303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:17:33] local.INFO: IMEI packet received {"connection_id":125303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":125303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:17:36] local.INFO: TCP Data received {"connection_id":126546,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf8d8c0012da22a80054fbef8000a00ae2d..."} 
[2026-07-07 15:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf8d8c0012da22a80054fbef8000a00ae2d..."} 
[2026-07-07 15:17:36] local.INFO: Processing buffer {"connection_id":126546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf8d8c0012da22a80054fbef8000a00ae2d..."} 
[2026-07-07 15:17:36] local.INFO: Packet analysis {"connection_id":126546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf8"} 
[2026-07-07 15:17:36] local.INFO: Extracted packet for processing {"connection_id":126546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf8"} 
[2026-07-07 15:17:36] local.INFO: GPS Element Parsed {"raw_longitude":765602432,"raw_latitude":89112312,"longitude_deg":76.5602432,"latitude_deg":8.9112312,"altitude":10,"angle":174,"satellites":45,"speed":36,"hex_longitude":"2da22a80","hex_latitude":"054fbef8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 15:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554900480001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341501641503014912,"note":"Value kept but may cause issues"} 
[2026-07-07 15:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6762717767635015680,"note":"Value kept but may cause issues"} 
[2026-07-07 15:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783417592000,"timestamp_ms":1783417592000,"timestamp_seconds":1783417592,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf8d8c0"} 
[2026-07-07 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-07-07 15:17: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-07-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 15:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 15:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554900480001,"66":27995,"23":206,"84":6144,"24":36,"16":341501641503014912,"45":-6762717767635015680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,84,24,16,45]} 
[2026-07-07 15:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554900480001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:17:36] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-07 15:17:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341501641503014912,"km_value":341501641503014.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6762717767635015680,"description":"Unknown IO ID 45"} 
[2026-07-07 15:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554900480001,"power":27995,"unknown_23":206,"unknown_84":6144,"ignition":36,"odometer":null,"unknown_45":-6762717767635015680}} 
[2026-07-07 15:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":126546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:17:36] local.INFO: GPS data processed {"connection_id":126546,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:17:36] local.INFO: Acknowledgment sent {"connection_id":126546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:17:36] local.INFO: TCP Data received {"connection_id":125303,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:17:36] local.INFO: Processing buffer {"connection_id":125303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:17:36] local.INFO: IMEI packet received {"connection_id":125303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":125303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:17:39] local.INFO: TCP Data received {"connection_id":125303,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf882d0012d7c050005ec31d80013010820..."} 
[2026-07-07 15:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf882d0012d7c050005ec31d80013010820..."} 
[2026-07-07 15:17:39] local.INFO: Processing buffer {"connection_id":125303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf882d0012d7c050005ec31d80013010820..."} 
[2026-07-07 15:17:39] local.INFO: Packet analysis {"connection_id":125303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf8"} 
[2026-07-07 15:17:39] local.INFO: Extracted packet for processing {"connection_id":125303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf8"} 
[2026-07-07 15:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763102464,"raw_latitude":99365336,"longitude_deg":76.3102464,"latitude_deg":9.9365336,"altitude":19,"angle":264,"satellites":32,"speed":30,"hex_longitude":"2d7c0500","hex_latitude":"05ec31d8","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554895104001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103299057300013056,"note":"Value kept but may cause issues"} 
[2026-07-07 15:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946752528930007040,"note":"Value kept but may cause issues"} 
[2026-07-07 15:17: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-07-07 15:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783417570000,"timestamp_ms":1783417570000,"timestamp_seconds":1783417570,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf882d0"} 
[2026-07-07 15:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:17: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-07-07 15: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-07 15:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554895104001,"66":13200,"198":206,"87":13824,"24":30,"16":103299057300013056,"45":8946752528930007040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-07 15:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554895104001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:17:39] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 15:17:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103299057300013056,"km_value":103299057300013.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946752528930007040,"description":"Unknown IO ID 45"} 
[2026-07-07 15:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554895104001,"power":13200,"unknown_198":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8946752528930007040}} 
[2026-07-07 15:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":125303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:17:39] local.INFO: GPS data processed {"connection_id":125303,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:17:39] local.INFO: Acknowledgment sent {"connection_id":125303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:17:59] local.INFO: TCP Data received {"connection_id":124495,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:17:59] local.INFO: Processing buffer {"connection_id":124495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:17:59] local.INFO: IMEI packet received {"connection_id":124495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":124495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:18:01] local.INFO: TCP Data received {"connection_id":124495,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:18:01] local.INFO: Processing buffer {"connection_id":124495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:18:01] local.INFO: IMEI packet received {"connection_id":124495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":124495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:18:03] local.INFO: TCP Data received {"connection_id":124495,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf907a0012da22e00054f9c18000a00ac2c..."} 
[2026-07-07 15:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf907a0012da22e00054f9c18000a00ac2c..."} 
[2026-07-07 15:18:03] local.INFO: Processing buffer {"connection_id":124495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf907a0012da22e00054f9c18000a00ac2c..."} 
[2026-07-07 15:18:03] local.INFO: Packet analysis {"connection_id":124495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf9"} 
[2026-07-07 15:18:03] local.INFO: Extracted packet for processing {"connection_id":124495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf9"} 
[2026-07-07 15:18:03] local.INFO: GPS Element Parsed {"raw_longitude":765603328,"raw_latitude":89103384,"longitude_deg":76.5603328,"latitude_deg":8.9103384,"altitude":10,"angle":172,"satellites":44,"speed":32,"hex_longitude":"2da22e00","hex_latitude":"054f9c18","is_valid_coordinates":true} 
[2026-07-07 15:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554903552001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341502075294711808,"note":"Value kept but may cause issues"} 
[2026-07-07 15:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6761451130242271232,"note":"Value kept but may cause issues"} 
[2026-07-07 15:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783417604000,"timestamp_ms":1783417604000,"timestamp_seconds":1783417604,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf907a0"} 
[2026-07-07 15:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:18: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-07-07 15:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 15:18: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-07-07 15:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554903552001,"66":27865,"23":206,"84":6144,"24":32,"16":341502075294711808,"45":-6761451130242271232},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,84,24,16,45]} 
[2026-07-07 15:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554903552001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:18:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-07 15:18:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341502075294711808,"km_value":341502075294711.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6761451130242271232,"description":"Unknown IO ID 45"} 
[2026-07-07 15:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554903552001,"power":27865,"unknown_23":206,"unknown_84":6144,"ignition":32,"odometer":null,"unknown_45":-6761451130242271232}} 
[2026-07-07 15:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":124495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:18:03] local.INFO: GPS data processed {"connection_id":124495,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:18:03] local.INFO: Acknowledgment sent {"connection_id":124495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:18:08] local.INFO: TCP Data received {"connection_id":125303,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf8b980012d7be0c005ec2cf80014010120..."} 
[2026-07-07 15:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf8b980012d7be0c005ec2cf80014010120..."} 
[2026-07-07 15:18:08] local.INFO: Processing buffer {"connection_id":125303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf8b980012d7be0c005ec2cf80014010120..."} 
[2026-07-07 15:18:08] local.INFO: Packet analysis {"connection_id":125303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf8"} 
[2026-07-07 15:18:08] local.INFO: Extracted packet for processing {"connection_id":125303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf8"} 
[2026-07-07 15:18:08] local.INFO: GPS Element Parsed {"raw_longitude":763093184,"raw_latitude":99364088,"longitude_deg":76.3093184,"latitude_deg":9.9364088,"altitude":20,"angle":257,"satellites":32,"speed":27,"hex_longitude":"2d7be0c0","hex_latitude":"05ec2cf8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 15:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554897920001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103299508271579136,"note":"Value kept but may cause issues"} 
[2026-07-07 15:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936549061024143360,"note":"Value kept but may cause issues"} 
[2026-07-07 15:18:08] 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-07-07 15:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783417584000,"timestamp_ms":1783417584000,"timestamp_seconds":1783417584,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf8b980"} 
[2026-07-07 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-07-07 15:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":144,"data_length":795,"current_offset":136} 
[2026-07-07 15:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 15:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554897920001,"66":13091,"198":206,"87":13824,"24":27,"16":103299508271579136,"45":8936549061024143360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-07 15:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554897920001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:18:08] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 15:18:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103299508271579136,"km_value":103299508271579.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936549061024143360,"description":"Unknown IO ID 45"} 
[2026-07-07 15:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554897920001,"power":13091,"unknown_198":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8936549061024143360}} 
[2026-07-07 15:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":125303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:18:08] local.INFO: GPS data processed {"connection_id":125303,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:18:08] local.INFO: Acknowledgment sent {"connection_id":125303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:18:34] local.INFO: TCP Data received {"connection_id":124495,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf92eb0012da23240054f78c0000b00ab2c..."} 
[2026-07-07 15:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf92eb0012da23240054f78c0000b00ab2c..."} 
[2026-07-07 15:18:34] local.INFO: Processing buffer {"connection_id":124495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf92eb0012da23240054f78c0000b00ab2c..."} 
[2026-07-07 15:18:34] local.INFO: Packet analysis {"connection_id":124495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf9"} 
[2026-07-07 15:18:34] local.INFO: Extracted packet for processing {"connection_id":124495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf9"} 
[2026-07-07 15:18:34] local.INFO: GPS Element Parsed {"raw_longitude":765604416,"raw_latitude":89094336,"longitude_deg":76.5604416,"latitude_deg":8.9094336,"altitude":11,"angle":171,"satellites":44,"speed":40,"hex_longitude":"2da23240","hex_latitude":"054f78c0","is_valid_coordinates":true} 
[2026-07-07 15:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554906624001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341502517676343296,"note":"Value kept but may cause issues"} 
[2026-07-07 15:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6760465967826069504,"note":"Value kept but may cause issues"} 
[2026-07-07 15:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783417614000,"timestamp_ms":1783417614000,"timestamp_seconds":1783417614,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf92eb0"} 
[2026-07-07 15:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 15:18: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-07-07 15:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554906624001,"66":27876,"23":206,"84":6144,"24":40,"16":341502517676343296,"45":-6760465967826069504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,84,24,16,45]} 
[2026-07-07 15:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554906624001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:18:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-07 15:18:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341502517676343296,"km_value":341502517676343.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6760465967826069504,"description":"Unknown IO ID 45"} 
[2026-07-07 15:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554906624001,"power":27876,"unknown_23":206,"unknown_84":6144,"ignition":40,"odometer":null,"unknown_45":-6760465967826069504}} 
[2026-07-07 15:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":124495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:18:34] local.INFO: GPS data processed {"connection_id":124495,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:18:34] local.INFO: Acknowledgment sent {"connection_id":124495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:18:42] local.INFO: TCP Data received {"connection_id":126548,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:18:42] local.INFO: Processing buffer {"connection_id":126548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:18:42] local.INFO: IMEI packet received {"connection_id":126548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":126548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:18:42] local.INFO: TCP Data received {"connection_id":126548,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:18:42] local.INFO: Processing buffer {"connection_id":126548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:18:42] local.INFO: IMEI packet received {"connection_id":126548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":126548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:18:46] local.INFO: TCP Data received {"connection_id":126548,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:18:46] local.INFO: Processing buffer {"connection_id":126548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:18:46] local.INFO: IMEI packet received {"connection_id":126548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":126548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:18:47] local.INFO: TCP Data received {"connection_id":126548,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf8e860012d7bbe4005ec23f0001200fe20..."} 
[2026-07-07 15:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf8e860012d7bbe4005ec23f0001200fe20..."} 
[2026-07-07 15:18:47] local.INFO: Processing buffer {"connection_id":126548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf8e860012d7bbe4005ec23f0001200fe20..."} 
[2026-07-07 15:18:47] local.INFO: Packet analysis {"connection_id":126548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf8"} 
[2026-07-07 15:18:47] local.INFO: Extracted packet for processing {"connection_id":126548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf8"} 
[2026-07-07 15:18:47] local.INFO: GPS Element Parsed {"raw_longitude":763084352,"raw_latitude":99361776,"longitude_deg":76.3084352,"latitude_deg":9.9361776,"altitude":18,"angle":254,"satellites":32,"speed":33,"hex_longitude":"2d7bbe40","hex_latitude":"05ec23f0","is_valid_coordinates":true} 
[2026-07-07 15:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554901504001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103299946358243328,"note":"Value kept but may cause issues"} 
[2026-07-07 15:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926345593118062592,"note":"Value kept but may cause issues"} 
[2026-07-07 15:18: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-07-07 15:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783417596000,"timestamp_ms":1783417596000,"timestamp_seconds":1783417596,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf8e860"} 
[2026-07-07 15:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 15:18: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-07-07 15:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":126548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":126548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":126548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554901504001,"66":13200,"198":206,"87":13824,"24":33,"16":103299946358243328,"45":8926345593118062592},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-07 15:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554901504001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:18:47] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 15:18:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103299946358243328,"km_value":103299946358243.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926345593118062592,"description":"Unknown IO ID 45"} 
[2026-07-07 15:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554901504001,"power":13200,"unknown_198":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8926345593118062592}} 
[2026-07-07 15:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":126548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:18:48] local.INFO: GPS data processed {"connection_id":126548,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:18:48] local.INFO: Acknowledgment sent {"connection_id":126548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:18:59] local.INFO: TCP Data received {"connection_id":125304,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:18:59] local.INFO: Processing buffer {"connection_id":125304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:18:59] local.INFO: IMEI packet received {"connection_id":125304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":125304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:18:59] local.INFO: TCP Data received {"connection_id":125304,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:18:59] local.INFO: Processing buffer {"connection_id":125304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:18:59] local.INFO: IMEI packet received {"connection_id":125304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":125304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:19:04] local.INFO: TCP Data received {"connection_id":125304,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:19:04] local.INFO: Processing buffer {"connection_id":125304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:19:04] local.INFO: IMEI packet received {"connection_id":125304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":125304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:19:04] local.INFO: TCP Data received {"connection_id":125304,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf951d8012da238c0054f5358000b00aa2b..."} 
[2026-07-07 15:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf951d8012da238c0054f5358000b00aa2b..."} 
[2026-07-07 15:19:04] local.INFO: Processing buffer {"connection_id":125304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf951d8012da238c0054f5358000b00aa2b..."} 
[2026-07-07 15:19:04] local.INFO: Packet analysis {"connection_id":125304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf9"} 
[2026-07-07 15:19:04] local.INFO: Extracted packet for processing {"connection_id":125304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf9"} 
[2026-07-07 15:19:04] local.INFO: GPS Element Parsed {"raw_longitude":765606080,"raw_latitude":89084760,"longitude_deg":76.560608,"latitude_deg":8.908476,"altitude":11,"angle":170,"satellites":43,"speed":42,"hex_longitude":"2da238c0","hex_latitude":"054f5358","is_valid_coordinates":true} 
[2026-07-07 15:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554909184001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341502990122745856,"note":"Value kept but may cause issues"} 
[2026-07-07 15:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6759269699177365504,"note":"Value kept but may cause issues"} 
[2026-07-07 15:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783417623000,"timestamp_ms":1783417623000,"timestamp_seconds":1783417623,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf951d8"} 
[2026-07-07 15:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 15:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554909184001,"66":27865,"23":206,"84":6144,"24":42,"16":341502990122745856,"45":-6759269699177365504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,84,24,16,45]} 
[2026-07-07 15:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554909184001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:19:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-07 15:19:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341502990122745856,"km_value":341502990122745.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6759269699177365504,"description":"Unknown IO ID 45"} 
[2026-07-07 15:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554909184001,"power":27865,"unknown_23":206,"unknown_84":6144,"ignition":42,"odometer":null,"unknown_45":-6759269699177365504}} 
[2026-07-07 15:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":125304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:19:04] local.INFO: GPS data processed {"connection_id":125304,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:19:04] local.INFO: Acknowledgment sent {"connection_id":125304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:19:26] local.INFO: TCP Data received {"connection_id":126550,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:19:26] local.INFO: Processing buffer {"connection_id":126550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:19:26] local.INFO: IMEI packet received {"connection_id":126550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":126550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:19:31] local.INFO: TCP Data received {"connection_id":126550,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:19:31] local.INFO: Processing buffer {"connection_id":126550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:19:31] local.INFO: IMEI packet received {"connection_id":126550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":126550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:19:32] local.INFO: TCP Data received {"connection_id":126550,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bfae818012d7a794005eb9f000007010a23..."} 
[2026-07-07 15:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bfae818012d7a794005eb9f000007010a23..."} 
[2026-07-07 15:19:32] local.INFO: Processing buffer {"connection_id":126550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bfae818012d7a794005eb9f000007010a23..."} 
[2026-07-07 15:19:32] local.INFO: Packet analysis {"connection_id":126550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bfa"} 
[2026-07-07 15:19:32] local.INFO: Extracted packet for processing {"connection_id":126550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bfa"} 
[2026-07-07 15:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763001152,"raw_latitude":99327744,"longitude_deg":76.3001152,"latitude_deg":9.9327744,"altitude":7,"angle":266,"satellites":35,"speed":5,"hex_longitude":"2d7a7940","hex_latitude":"05eb9f00","is_valid_coordinates":true} 
[2026-07-07 15:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554936320001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103304258505408512,"note":"Value kept but may cause issues"} 
[2026-07-07 15:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8825577551446355968,"note":"Value kept but may cause issues"} 
[2026-07-07 15:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783417727000,"timestamp_ms":1783417727000,"timestamp_seconds":1783417727,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bfae818"} 
[2026-07-07 15:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 15:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554936320001,"66":13178,"161":206,"87":13824,"24":5,"16":103304258505408512,"45":8825577551446355968},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-07 15:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554936320001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:19:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-07 15:19:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103304258505408512,"km_value":103304258505408.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8825577551446355968,"description":"Unknown IO ID 45"} 
[2026-07-07 15:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554936320001,"power":13178,"unknown_161":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8825577551446355968}} 
[2026-07-07 15:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":126550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:19:32] local.INFO: GPS data processed {"connection_id":126550,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:19:32] local.INFO: Acknowledgment sent {"connection_id":126550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:19:36] local.INFO: TCP Data received {"connection_id":125304,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf97500012da23f40054f2fe0000c00aa2b..."} 
[2026-07-07 15:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf97500012da23f40054f2fe0000c00aa2b..."} 
[2026-07-07 15:19:36] local.INFO: Processing buffer {"connection_id":125304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf97500012da23f40054f2fe0000c00aa2b..."} 
[2026-07-07 15:19:36] local.INFO: Packet analysis {"connection_id":125304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf9"} 
[2026-07-07 15:19:36] local.INFO: Extracted packet for processing {"connection_id":125304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf9"} 
[2026-07-07 15:19:36] local.INFO: GPS Element Parsed {"raw_longitude":765607744,"raw_latitude":89075680,"longitude_deg":76.5607744,"latitude_deg":8.907568,"altitude":12,"angle":170,"satellites":43,"speed":40,"hex_longitude":"2da23f40","hex_latitude":"054f2fe0","is_valid_coordinates":true} 
[2026-07-07 15:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554911488001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341503436799344640,"note":"Value kept but may cause issues"} 
[2026-07-07 15:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6757440111831197696,"note":"Value kept but may cause issues"} 
[2026-07-07 15:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783417632000,"timestamp_ms":1783417632000,"timestamp_seconds":1783417632,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf97500"} 
[2026-07-07 15:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 15:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554911488001,"66":27919,"23":206,"84":6144,"24":40,"16":341503436799344640,"45":-6757440111831197696},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,84,24,16,45]} 
[2026-07-07 15:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554911488001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:19:36] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-07 15:19:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341503436799344640,"km_value":341503436799344.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6757440111831197696,"description":"Unknown IO ID 45"} 
[2026-07-07 15:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554911488001,"power":27919,"unknown_23":206,"unknown_84":6144,"ignition":40,"odometer":null,"unknown_45":-6757440111831197696}} 
[2026-07-07 15:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":125304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:19:36] local.INFO: GPS data processed {"connection_id":125304,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:19:36] local.INFO: Acknowledgment sent {"connection_id":125304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:19:58] local.INFO: TCP Data received {"connection_id":124497,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:19:58] local.INFO: Processing buffer {"connection_id":124497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:19:58] local.INFO: IMEI packet received {"connection_id":124497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":124497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:19:58] local.INFO: TCP Data received {"connection_id":124497,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:19:58] local.INFO: Processing buffer {"connection_id":124497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:19:58] local.INFO: IMEI packet received {"connection_id":124497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":124497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:20:00] local.INFO: TCP Data received {"connection_id":124497,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:20:00] local.INFO: Processing buffer {"connection_id":124497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:20:00] local.INFO: IMEI packet received {"connection_id":124497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":124497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:20:03] local.INFO: TCP Data received {"connection_id":126550,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bfafba0012d7a710005eb9cd8000700fe22..."} 
[2026-07-07 15:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bfafba0012d7a710005eb9cd8000700fe22..."} 
[2026-07-07 15:20:03] local.INFO: Processing buffer {"connection_id":126550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bfafba0012d7a710005eb9cd8000700fe22..."} 
[2026-07-07 15:20:03] local.INFO: Packet analysis {"connection_id":126550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bfa"} 
[2026-07-07 15:20:03] local.INFO: Extracted packet for processing {"connection_id":126550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bfa"} 
[2026-07-07 15:20:03] local.INFO: GPS Element Parsed {"raw_longitude":762999040,"raw_latitude":99327192,"longitude_deg":76.299904,"latitude_deg":9.9327192,"altitude":7,"angle":254,"satellites":34,"speed":23,"hex_longitude":"2d7a7100","hex_latitude":"05eb9cd8","is_valid_coordinates":true} 
[2026-07-07 15:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554938112001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103304365879590912,"note":"Value kept but may cause issues"} 
[2026-07-07 15:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8825155338981277696,"note":"Value kept but may cause issues"} 
[2026-07-07 15:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783417732000,"timestamp_ms":1783417732000,"timestamp_seconds":1783417732,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bfafba0"} 
[2026-07-07 15:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 15:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554938112001,"66":13319,"161":206,"87":13824,"24":23,"16":103304365879590912,"45":8825155338981277696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-07 15:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554938112001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:20:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-07 15:20:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103304365879590912,"km_value":103304365879590.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8825155338981277696,"description":"Unknown IO ID 45"} 
[2026-07-07 15:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554938112001,"power":13319,"unknown_161":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8825155338981277696}} 
[2026-07-07 15:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":126550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:20:03] local.INFO: GPS data processed {"connection_id":126550,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:20:03] local.INFO: Acknowledgment sent {"connection_id":126550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:20:03] local.INFO: TCP Data received {"connection_id":124497,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:20:03] local.INFO: Processing buffer {"connection_id":124497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:20:03] local.INFO: IMEI packet received {"connection_id":124497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":124497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:20:04] local.INFO: TCP Data received {"connection_id":124497,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bf99ff8012da24640054f0d50000c00a22c..."} 
[2026-07-07 15:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bf99ff8012da24640054f0d50000c00a22c..."} 
[2026-07-07 15:20:04] local.INFO: Processing buffer {"connection_id":124497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bf99ff8012da24640054f0d50000c00a22c..."} 
[2026-07-07 15:20:04] local.INFO: Packet analysis {"connection_id":124497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bf9"} 
[2026-07-07 15:20:04] local.INFO: Extracted packet for processing {"connection_id":124497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bf9"} 
[2026-07-07 15:20:04] local.INFO: GPS Element Parsed {"raw_longitude":765609536,"raw_latitude":89066832,"longitude_deg":76.5609536,"latitude_deg":8.9066832,"altitude":12,"angle":162,"satellites":44,"speed":23,"hex_longitude":"2da24640","hex_latitude":"054f0d50","is_valid_coordinates":true} 
[2026-07-07 15:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554913792001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341503874886008832,"note":"Value kept but may cause issues"} 
[2026-07-07 15:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6755610524484902912,"note":"Value kept but may cause issues"} 
[2026-07-07 15:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783417643000,"timestamp_ms":1783417643000,"timestamp_seconds":1783417643,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bf99ff8"} 
[2026-07-07 15:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 15:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554913792001,"66":27908,"23":206,"84":6144,"24":23,"16":341503874886008832,"45":-6755610524484902912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,84,24,16,45]} 
[2026-07-07 15:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554913792001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:20:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-07 15:20:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341503874886008832,"km_value":341503874886008.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6755610524484902912,"description":"Unknown IO ID 45"} 
[2026-07-07 15:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554913792001,"power":27908,"unknown_23":206,"unknown_84":6144,"ignition":23,"odometer":null,"unknown_45":-6755610524484902912}} 
[2026-07-07 15:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":124497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:20:04] local.INFO: GPS data processed {"connection_id":124497,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:20:04] local.INFO: Acknowledgment sent {"connection_id":124497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:20:26] local.INFO: TCP Data received {"connection_id":124580,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:20:26] local.INFO: Processing buffer {"connection_id":124580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:20:26] local.INFO: IMEI packet received {"connection_id":124580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":124580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:20:31] local.INFO: TCP Data received {"connection_id":124580,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:20:31] local.INFO: Processing buffer {"connection_id":124580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:20:31] local.INFO: IMEI packet received {"connection_id":124580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":124580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:20:32] local.INFO: TCP Data received {"connection_id":124580,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bfb49c0012d7a5d8005eb9440000700fa23..."} 
[2026-07-07 15:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bfb49c0012d7a5d8005eb9440000700fa23..."} 
[2026-07-07 15:20:32] local.INFO: Processing buffer {"connection_id":124580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bfb49c0012d7a5d8005eb9440000700fa23..."} 
[2026-07-07 15:20:32] local.INFO: Packet analysis {"connection_id":124580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bfb"} 
[2026-07-07 15:20:32] local.INFO: Extracted packet for processing {"connection_id":124580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bfb"} 
[2026-07-07 15:20:32] local.INFO: GPS Element Parsed {"raw_longitude":762994048,"raw_latitude":99324992,"longitude_deg":76.2994048,"latitude_deg":9.9324992,"altitude":7,"angle":250,"satellites":35,"speed":0,"hex_longitude":"2d7a5d80","hex_latitude":"05eb9440","is_valid_coordinates":true} 
[2026-07-07 15:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554939392001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103304632167563264,"note":"Value kept but may cause issues"} 
[2026-07-07 15:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822833170423273472,"note":"Value kept but may cause issues"} 
[2026-07-07 15:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783417752000,"timestamp_ms":1783417752000,"timestamp_seconds":1783417752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bfb49c0"} 
[2026-07-07 15:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 15:20:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 15:20:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-07-07 15:20:32] local.WARNING: Large IO value detected {"io_id":59,"raw_value":4199786497,"note":"Value kept but may cause issues"} 
[2026-07-07 15:20:32] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-1826209584458292480,"note":"Value kept but may cause issues"} 
[2026-07-07 15:20:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033633998,"corrected_to":0} 
[2026-07-07 15:20:32] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2147560826,"note":"Value kept but may cause issues"} 
[2026-07-07 15:20:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3956615168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:20:32] local.WARNING: Large IO value detected {"io_id":69,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-07-07 15:20:32] local.WARNING: Large IO value detected {"io_id":249,"raw_value":-1853229951812501499,"note":"Value kept but may cause issues"} 
[2026-07-07 15:20:32] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,161,87,24,241,157,16,2,159,232,45,64,7,35,10,66,204,192,126,1,240,9,227,59,235,4,113,205,39,48,214,152,239,51,156,111,5,15,38,69,249],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1033633998,"validated":0}]} 
[2026-07-07 15:20:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504682580249346048,"timestamp_seconds":504682580249346.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 15:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554939392001,"66":12461,"161":206,"87":13824,"24":0,"16":103304632167563264,"45":8822833170423273472},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-07 15:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554939392001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:20:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-07 15:20:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103304632167563264,"km_value":103304632167563.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822833170423273472,"description":"Unknown IO ID 45"} 
[2026-07-07 15:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554939392001,"power":12461,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8822833170423273472}} 
[2026-07-07 15:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":124580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:20:32] local.INFO: GPS data processed {"connection_id":124580,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:20:32] local.INFO: Acknowledgment sent {"connection_id":124580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:20:35] local.INFO: TCP Data received {"connection_id":124497,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bfbab68012da2e940054def50000b00912c..."} 
[2026-07-07 15:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bfbab68012da2e940054def50000b00912c..."} 
[2026-07-07 15:20:35] local.INFO: Processing buffer {"connection_id":124497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bfbab68012da2e940054def50000b00912c..."} 
[2026-07-07 15:20:35] local.INFO: Packet analysis {"connection_id":124497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bfb"} 
[2026-07-07 15:20:35] local.INFO: Extracted packet for processing {"connection_id":124497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bfb"} 
[2026-07-07 15:20:35] local.INFO: GPS Element Parsed {"raw_longitude":765651264,"raw_latitude":88993616,"longitude_deg":76.5651264,"latitude_deg":8.8993616,"altitude":11,"angle":145,"satellites":44,"speed":29,"hex_longitude":"2da2e940","hex_latitude":"054def50","is_valid_coordinates":true} 
[2026-07-07 15:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554947072001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341507976579776512,"note":"Value kept but may cause issues"} 
[2026-07-07 15:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6713459646741639168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783417777000,"timestamp_ms":1783417777000,"timestamp_seconds":1783417777,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bfbab68"} 
[2026-07-07 15:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:20: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-07-07 15:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 15:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554947072001,"66":27984,"182":206,"84":6144,"24":29,"16":341507976579776512,"45":-6713459646741639168},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,84,24,16,45]} 
[2026-07-07 15:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554947072001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:20:35] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-07 15:20:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341507976579776512,"km_value":341507976579776.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6713459646741639168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554947072001,"power":27984,"unknown_182":206,"unknown_84":6144,"ignition":29,"odometer":null,"unknown_45":-6713459646741639168}} 
[2026-07-07 15:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":124497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:20:35] local.INFO: GPS data processed {"connection_id":124497,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:20:35] local.INFO: Acknowledgment sent {"connection_id":124497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:20:58] local.INFO: TCP Data received {"connection_id":125305,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:20:58] local.INFO: Processing buffer {"connection_id":125305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:20:58] local.INFO: IMEI packet received {"connection_id":125305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":125305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:20:59] local.INFO: TCP Data received {"connection_id":125305,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:20:59] local.INFO: Processing buffer {"connection_id":125305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:20:59] local.INFO: IMEI packet received {"connection_id":125305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":125305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:20:59] local.INFO: TCP Data received {"connection_id":125305,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:20:59] local.INFO: Processing buffer {"connection_id":125305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:20:59] local.INFO: IMEI packet received {"connection_id":125305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":125305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:21:01] local.INFO: TCP Data received {"connection_id":125305,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:21:01] local.INFO: Processing buffer {"connection_id":125305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:21:01] local.INFO: IMEI packet received {"connection_id":125305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":125305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:21:03] local.INFO: TCP Data received {"connection_id":124580,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bfb9bc8012d7a5d8005eb9440000700fa24..."} 
[2026-07-07 15:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bfb9bc8012d7a5d8005eb9440000700fa24..."} 
[2026-07-07 15:21:03] local.INFO: Processing buffer {"connection_id":124580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bfb9bc8012d7a5d8005eb9440000700fa24..."} 
[2026-07-07 15:21:03] local.INFO: Packet analysis {"connection_id":124580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bfb"} 
[2026-07-07 15:21:03] local.INFO: Extracted packet for processing {"connection_id":124580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bfb"} 
[2026-07-07 15:21:03] local.INFO: GPS Element Parsed {"raw_longitude":762994048,"raw_latitude":99324992,"longitude_deg":76.2994048,"latitude_deg":9.9324992,"altitude":7,"angle":250,"satellites":36,"speed":0,"hex_longitude":"2d7a5d80","hex_latitude":"05eb9440","is_valid_coordinates":true} 
[2026-07-07 15:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554944512001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103304632167563264,"note":"Value kept but may cause issues"} 
[2026-07-07 15:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817344408376852480,"note":"Value kept but may cause issues"} 
[2026-07-07 15:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783417773000,"timestamp_ms":1783417773000,"timestamp_seconds":1783417773,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bfb9bc8"} 
[2026-07-07 15:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 15:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554944512001,"66":13015,"161":206,"87":13824,"24":0,"16":103304632167563264,"45":8817344408376852480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-07 15:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554944512001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:21:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-07 15:21:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103304632167563264,"km_value":103304632167563.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817344408376852480,"description":"Unknown IO ID 45"} 
[2026-07-07 15:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554944512001,"power":13015,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8817344408376852480}} 
[2026-07-07 15:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":124580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:21:03] local.INFO: GPS data processed {"connection_id":124580,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:21:03] local.INFO: Acknowledgment sent {"connection_id":124580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:21:26] local.INFO: TCP Data received {"connection_id":124581,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:21:26] local.INFO: Processing buffer {"connection_id":124581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:21:26] local.INFO: IMEI packet received {"connection_id":124581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":124581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:21:31] local.INFO: TCP Data received {"connection_id":124581,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:21:31] local.INFO: Processing buffer {"connection_id":124581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:21:31] local.INFO: IMEI packet received {"connection_id":124581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":124581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:21:32] local.INFO: TCP Data received {"connection_id":124581,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bfbedd0012d7a5d8005eb9440000700fa25..."} 
[2026-07-07 15:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bfbedd0012d7a5d8005eb9440000700fa25..."} 
[2026-07-07 15:21:32] local.INFO: Processing buffer {"connection_id":124581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bfbedd0012d7a5d8005eb9440000700fa25..."} 
[2026-07-07 15:21:32] local.INFO: Packet analysis {"connection_id":124581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bfb"} 
[2026-07-07 15:21:32] local.INFO: Extracted packet for processing {"connection_id":124581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bfb"} 
[2026-07-07 15:21:32] local.INFO: GPS Element Parsed {"raw_longitude":762994048,"raw_latitude":99324992,"longitude_deg":76.2994048,"latitude_deg":9.9324992,"altitude":7,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7a5d80","hex_latitude":"05eb9440","is_valid_coordinates":true} 
[2026-07-07 15:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554949888001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103304632167563264,"note":"Value kept but may cause issues"} 
[2026-07-07 15:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817344408376852480,"note":"Value kept but may cause issues"} 
[2026-07-07 15:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783417794000,"timestamp_ms":1783417794000,"timestamp_seconds":1783417794,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bfbedd0"} 
[2026-07-07 15:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 15:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554949888001,"66":12374,"161":206,"87":13824,"24":0,"16":103304632167563264,"45":8817344408376852480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-07 15:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554949888001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:21:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-07 15:21:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103304632167563264,"km_value":103304632167563.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817344408376852480,"description":"Unknown IO ID 45"} 
[2026-07-07 15:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554949888001,"power":12374,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8817344408376852480}} 
[2026-07-07 15:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":124581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:21:32] local.INFO: GPS data processed {"connection_id":124581,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:21:32] local.INFO: Acknowledgment sent {"connection_id":124581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:22:03] local.INFO: TCP Data received {"connection_id":124581,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bfc3fd8012d7a5d8005eb9440000700fa25..."} 
[2026-07-07 15:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bfc3fd8012d7a5d8005eb9440000700fa25..."} 
[2026-07-07 15:22:03] local.INFO: Processing buffer {"connection_id":124581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bfc3fd8012d7a5d8005eb9440000700fa25..."} 
[2026-07-07 15:22:03] local.INFO: Packet analysis {"connection_id":124581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bfc"} 
[2026-07-07 15:22:03] local.INFO: Extracted packet for processing {"connection_id":124581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bfc"} 
[2026-07-07 15:22:03] local.INFO: GPS Element Parsed {"raw_longitude":762994048,"raw_latitude":99324992,"longitude_deg":76.2994048,"latitude_deg":9.9324992,"altitude":7,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d7a5d80","hex_latitude":"05eb9440","is_valid_coordinates":true} 
[2026-07-07 15:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554955264001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103304632167563264,"note":"Value kept but may cause issues"} 
[2026-07-07 15:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817344408376852480,"note":"Value kept but may cause issues"} 
[2026-07-07 15:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783417815000,"timestamp_ms":1783417815000,"timestamp_seconds":1783417815,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bfc3fd8"} 
[2026-07-07 15:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-07 15:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554955264001,"66":13059,"161":206,"87":13824,"24":0,"16":103304632167563264,"45":8817344408376852480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-07 15:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554955264001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:22:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-07 15:22:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103304632167563264,"km_value":103304632167563.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817344408376852480,"description":"Unknown IO ID 45"} 
[2026-07-07 15:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554955264001,"power":13059,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8817344408376852480}} 
[2026-07-07 15:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":124581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:22:03] local.INFO: GPS data processed {"connection_id":124581,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:22:03] local.INFO: Acknowledgment sent {"connection_id":124581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:22:26] local.INFO: TCP Data received {"connection_id":124583,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:22:26] local.INFO: Processing buffer {"connection_id":124583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:22:26] local.INFO: IMEI packet received {"connection_id":124583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":124583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:22:29] local.INFO: TCP Data received {"connection_id":126552,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:22:29] local.INFO: Processing buffer {"connection_id":126552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:22:29] local.INFO: IMEI packet received {"connection_id":126552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 15:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":126552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:22:32] local.INFO: TCP Data received {"connection_id":124583,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:22:32] local.INFO: Processing buffer {"connection_id":124583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:22:32] local.INFO: IMEI packet received {"connection_id":124583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":124583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:22:52] local.INFO: TCP Data received {"connection_id":124583,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bfddde8012d7a0a0005ec34600008015c25..."} 
[2026-07-07 15:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bfddde8012d7a0a0005ec34600008015c25..."} 
[2026-07-07 15:22:52] local.INFO: Processing buffer {"connection_id":124583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bfddde8012d7a0a0005ec34600008015c25..."} 
[2026-07-07 15:22:52] local.INFO: Packet analysis {"connection_id":124583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bfd"} 
[2026-07-07 15:22:52] local.INFO: Extracted packet for processing {"connection_id":124583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bfd"} 
[2026-07-07 15:22:52] local.INFO: GPS Element Parsed {"raw_longitude":762972672,"raw_latitude":99365984,"longitude_deg":76.2972672,"latitude_deg":9.9365984,"altitude":8,"angle":348,"satellites":37,"speed":25,"hex_longitude":"2d7a0a00","hex_latitude":"05ec3460","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554984960001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103306968629772288,"note":"Value kept but may cause issues"} 
[2026-07-07 15:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797007841318238208,"note":"Value kept but may cause issues"} 
[2026-07-07 15:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783417921000,"timestamp_ms":1783417921000,"timestamp_seconds":1783417921,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bfddde8"} 
[2026-07-07 15:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-07 15:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15: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-07-07 15:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554984960001,"66":13222,"156":206,"87":13824,"24":25,"16":103306968629772288,"45":8797007841318238208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 15:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554984960001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:22:52] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 15:22:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103306968629772288,"km_value":103306968629772.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797007841318238208,"description":"Unknown IO ID 45"} 
[2026-07-07 15:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554984960001,"power":13222,"unknown_156":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8797007841318238208}} 
[2026-07-07 15:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":124583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:22:52] local.INFO: GPS data processed {"connection_id":124583,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:22:52] local.INFO: Acknowledgment sent {"connection_id":124583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:23:06] local.INFO: TCP Data received {"connection_id":124584,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:23:06] local.INFO: Processing buffer {"connection_id":124584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:23:06] local.INFO: IMEI packet received {"connection_id":124584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 15:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":124584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:23:31] local.INFO: TCP Data received {"connection_id":125306,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125306,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:23:31] local.INFO: Processing buffer {"connection_id":125306,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:23:31] local.INFO: IMEI packet received {"connection_id":125306,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":125306,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:23:34] local.INFO: TCP Data received {"connection_id":125306,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125306,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:23:34] local.INFO: Processing buffer {"connection_id":125306,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:23:34] local.INFO: IMEI packet received {"connection_id":125306,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":125306,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:23:35] local.INFO: TCP Data received {"connection_id":125306,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bfe1880012d7a014005ec56400009015625..."} 
[2026-07-07 15:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bfe1880012d7a014005ec56400009015625..."} 
[2026-07-07 15:23:35] local.INFO: Processing buffer {"connection_id":125306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bfe1880012d7a014005ec56400009015625..."} 
[2026-07-07 15:23:35] local.INFO: Packet analysis {"connection_id":125306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bfe"} 
[2026-07-07 15:23:35] local.INFO: Extracted packet for processing {"connection_id":125306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bfe"} 
[2026-07-07 15:23:35] local.INFO: GPS Element Parsed {"raw_longitude":762970432,"raw_latitude":99374656,"longitude_deg":76.2970432,"latitude_deg":9.9374656,"altitude":9,"angle":342,"satellites":37,"speed":25,"hex_longitude":"2d7a0140","hex_latitude":"05ec5640","is_valid_coordinates":true} 
[2026-07-07 15:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554987776001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103307402421469184,"note":"Value kept but may cause issues"} 
[2026-07-07 15:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793841247832006656,"note":"Value kept but may cause issues"} 
[2026-07-07 15:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783417936000,"timestamp_ms":1783417936000,"timestamp_seconds":1783417936,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bfe1880"} 
[2026-07-07 15:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 15:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554987776001,"66":13189,"156":206,"87":13824,"24":25,"16":103307402421469184,"45":8793841247832006656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 15:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554987776001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:23:35] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 15:23:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103307402421469184,"km_value":103307402421469.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793841247832006656,"description":"Unknown IO ID 45"} 
[2026-07-07 15:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554987776001,"power":13189,"unknown_156":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8793841247832006656}} 
[2026-07-07 15:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":125306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:23:35] local.INFO: GPS data processed {"connection_id":125306,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:23:35] local.INFO: Acknowledgment sent {"connection_id":125306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:23:36] local.INFO: TCP Data received {"connection_id":125306,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bfe4f30012d79f58005ec77200007014d27..."} 
[2026-07-07 15:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bfe4f30012d79f58005ec77200007014d27..."} 
[2026-07-07 15:23:36] local.INFO: Processing buffer {"connection_id":125306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bfe4f30012d79f58005ec77200007014d27..."} 
[2026-07-07 15:23:36] local.INFO: Packet analysis {"connection_id":125306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bfe"} 
[2026-07-07 15:23:36] local.INFO: Extracted packet for processing {"connection_id":125306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bfe"} 
[2026-07-07 15:23:36] local.INFO: GPS Element Parsed {"raw_longitude":762967424,"raw_latitude":99383072,"longitude_deg":76.2967424,"latitude_deg":9.9383072,"altitude":7,"angle":333,"satellites":39,"speed":23,"hex_longitude":"2d79f580","hex_latitude":"05ec7720","is_valid_coordinates":true} 
[2026-07-07 15:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554991616001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103307831918198784,"note":"Value kept but may cause issues"} 
[2026-07-07 15:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791378341788008448,"note":"Value kept but may cause issues"} 
[2026-07-07 15:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783417950000,"timestamp_ms":1783417950000,"timestamp_seconds":1783417950,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bfe4f30"} 
[2026-07-07 15:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 15:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554991616001,"66":12961,"156":206,"87":13824,"24":23,"16":103307831918198784,"45":8791378341788008448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 15:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554991616001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:23:36] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 15:23:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103307831918198784,"km_value":103307831918198.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791378341788008448,"description":"Unknown IO ID 45"} 
[2026-07-07 15:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554991616001,"power":12961,"unknown_156":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8791378341788008448}} 
[2026-07-07 15:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":125306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:23:36] local.INFO: GPS data processed {"connection_id":125306,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:23:36] local.INFO: Acknowledgment sent {"connection_id":125306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:24:07] local.INFO: TCP Data received {"connection_id":125306,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bfe9d50012d79eb4005ec8b200009015226..."} 
[2026-07-07 15:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bfe9d50012d79eb4005ec8b200009015226..."} 
[2026-07-07 15:24:07] local.INFO: Processing buffer {"connection_id":125306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bfe9d50012d79eb4005ec8b200009015226..."} 
[2026-07-07 15:24:07] local.INFO: Packet analysis {"connection_id":125306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bfe"} 
[2026-07-07 15:24:07] local.INFO: Extracted packet for processing {"connection_id":125306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bfe"} 
[2026-07-07 15:24:07] local.INFO: GPS Element Parsed {"raw_longitude":762964800,"raw_latitude":99388192,"longitude_deg":76.29648,"latitude_deg":9.9388192,"altitude":9,"angle":338,"satellites":38,"speed":13,"hex_longitude":"2d79eb40","hex_latitude":"05ec8b20","is_valid_coordinates":true} 
[2026-07-07 15:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456554995200001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103308115386040320,"note":"Value kept but may cause issues"} 
[2026-07-07 15:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788071010813812736,"note":"Value kept but may cause issues"} 
[2026-07-07 15:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783417970000,"timestamp_ms":1783417970000,"timestamp_seconds":1783417970,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bfe9d50"} 
[2026-07-07 15:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-07 15:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456554995200001,"66":13243,"118":206,"87":13824,"24":13,"16":103308115386040320,"45":8788071010813812736},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-07-07 15:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456554995200001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:24:07] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-07 15:24:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103308115386040320,"km_value":103308115386040.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788071010813812736,"description":"Unknown IO ID 45"} 
[2026-07-07 15:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456554995200001,"power":13243,"unknown_118":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8788071010813812736}} 
[2026-07-07 15:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":125306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:24:07] local.INFO: GPS data processed {"connection_id":125306,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:24:07] local.INFO: Acknowledgment sent {"connection_id":125306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:24:24] local.INFO: TCP Data received {"connection_id":126555,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:24:24] local.INFO: Processing buffer {"connection_id":126555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:24:24] local.INFO: IMEI packet received {"connection_id":126555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":126555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:24:26] local.INFO: TCP Data received {"connection_id":126555,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:24:26] local.INFO: Processing buffer {"connection_id":126555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:24:26] local.INFO: IMEI packet received {"connection_id":126555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":126555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:24:27] local.INFO: TCP Data received {"connection_id":126555,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:24:27] local.INFO: Processing buffer {"connection_id":126555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:24:27] local.INFO: IMEI packet received {"connection_id":126555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":126555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:24:31] local.INFO: TCP Data received {"connection_id":126555,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:24:31] local.INFO: Processing buffer {"connection_id":126555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:24:31] local.INFO: IMEI packet received {"connection_id":126555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":126555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:24:32] local.INFO: TCP Data received {"connection_id":126555,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bffc248012d79f30005ecaf98000b00e426..."} 
[2026-07-07 15:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bffc248012d79f30005ecaf98000b00e426..."} 
[2026-07-07 15:24:32] local.INFO: Processing buffer {"connection_id":126555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bffc248012d79f30005ecaf98000b00e426..."} 
[2026-07-07 15:24:32] local.INFO: Packet analysis {"connection_id":126555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bff"} 
[2026-07-07 15:24:32] local.INFO: Extracted packet for processing {"connection_id":126555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bff"} 
[2026-07-07 15:24:32] local.INFO: GPS Element Parsed {"raw_longitude":762966784,"raw_latitude":99397528,"longitude_deg":76.2966784,"latitude_deg":9.9397528,"altitude":11,"angle":228,"satellites":38,"speed":1,"hex_longitude":"2d79f300","hex_latitude":"05ecaf98","is_valid_coordinates":true} 
[2026-07-07 15:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555017216001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103308793990873088,"note":"Value kept but may cause issues"} 
[2026-07-07 15:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787156217143154688,"note":"Value kept but may cause issues"} 
[2026-07-07 15:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783418045000,"timestamp_ms":1783418045000,"timestamp_seconds":1783418045,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bffc248"} 
[2026-07-07 15:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-07 15:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555017216001,"66":13319,"157":206,"87":13824,"24":1,"16":103308793990873088,"45":8787156217143154688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555017216001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:24:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:24:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103308793990873088,"km_value":103308793990873.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787156217143154688,"description":"Unknown IO ID 45"} 
[2026-07-07 15:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555017216001,"power":13319,"unknown_157":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8787156217143154688}} 
[2026-07-07 15:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":126555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:24:32] local.INFO: GPS data processed {"connection_id":126555,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:24:32] local.INFO: Acknowledgment sent {"connection_id":126555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:24:37] local.INFO: TCP Data received {"connection_id":126555,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bffca18012d79f2c005ecaf40000b00d326..."} 
[2026-07-07 15:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bffca18012d79f2c005ecaf40000b00d326..."} 
[2026-07-07 15:24:37] local.INFO: Processing buffer {"connection_id":126555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bffca18012d79f2c005ecaf40000b00d326..."} 
[2026-07-07 15:24:37] local.INFO: Packet analysis {"connection_id":126555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bff"} 
[2026-07-07 15:24:37] local.INFO: Extracted packet for processing {"connection_id":126555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bff"} 
[2026-07-07 15:24:37] local.INFO: GPS Element Parsed {"raw_longitude":762966720,"raw_latitude":99397440,"longitude_deg":76.296672,"latitude_deg":9.939744,"altitude":11,"angle":211,"satellites":38,"speed":1,"hex_longitude":"2d79f2c0","hex_latitude":"05ecaf40","is_valid_coordinates":true} 
[2026-07-07 15:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555019520001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103308802580807680,"note":"Value kept but may cause issues"} 
[2026-07-07 15:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787367323375736832,"note":"Value kept but may cause issues"} 
[2026-07-07 15:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783418047000,"timestamp_ms":1783418047000,"timestamp_seconds":1783418047,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bffca18"} 
[2026-07-07 15:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 15:24:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 15:24:37] local.WARNING: Large IO value detected {"io_id":6,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-07-07 15:24:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-07 15:24:37] local.WARNING: Large IO value detected {"io_id":59,"raw_value":4287082497,"note":"Value kept but may cause issues"} 
[2026-07-07 15:24:37] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-6041578857161546240,"note":"Value kept but may cause issues"} 
[2026-07-07 15:24:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-07 15:24:37] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3087084921,"note":"Value kept but may cause issues"} 
[2026-07-07 15:24:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970709504,"note":"Value kept but may cause issues"} 
[2026-07-07 15:24:37] local.WARNING: Large IO value detected {"io_id":3,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-07 15:24:37] local.WARNING: Large IO value detected {"io_id":255,"raw_value":4992241481770205189,"note":"Value kept but may cause issues"} 
[2026-07-07 15:24:37] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,157,87,24,241,16,6,159,45,64,174,11,37,10,66,155,192,38,143,1,240,122,227,59,236,4,113,205,7,92,32,239,52,2,111,5,3,255],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-07 15:24:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792884386277163008,"timestamp_seconds":792884386277163.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 15:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555019520001,"66":13124,"157":206,"87":13824,"24":1,"16":103308802580807680,"45":8787367323375736832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555019520001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:24:37] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:24:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103308802580807680,"km_value":103308802580807.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787367323375736832,"description":"Unknown IO ID 45"} 
[2026-07-07 15:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555019520001,"power":13124,"unknown_157":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8787367323375736832}} 
[2026-07-07 15:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":126555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:24:37] local.INFO: GPS data processed {"connection_id":126555,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:24:37] local.INFO: Acknowledgment sent {"connection_id":126555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:25:08] local.INFO: TCP Data received {"connection_id":126555,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bffd1e8012d79f2c005ecaeb8000b00c026..."} 
[2026-07-07 15:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bffd1e8012d79f2c005ecaeb8000b00c026..."} 
[2026-07-07 15:25:08] local.INFO: Processing buffer {"connection_id":126555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bffd1e8012d79f2c005ecaeb8000b00c026..."} 
[2026-07-07 15:25:08] local.INFO: Packet analysis {"connection_id":126555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bff"} 
[2026-07-07 15:25:08] local.INFO: Extracted packet for processing {"connection_id":126555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bff"} 
[2026-07-07 15:25:08] local.INFO: GPS Element Parsed {"raw_longitude":762966720,"raw_latitude":99397304,"longitude_deg":76.296672,"latitude_deg":9.9397304,"altitude":11,"angle":192,"satellites":38,"speed":2,"hex_longitude":"2d79f2c0","hex_latitude":"05ecaeb8","is_valid_coordinates":true} 
[2026-07-07 15:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555020032001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103308806875774976,"note":"Value kept but may cause issues"} 
[2026-07-07 15:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787296954631536640,"note":"Value kept but may cause issues"} 
[2026-07-07 15:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783418049000,"timestamp_ms":1783418049000,"timestamp_seconds":1783418049,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bffd1e8"} 
[2026-07-07 15:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-07 15:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555020032001,"66":13059,"157":206,"87":13824,"24":2,"16":103308806875774976,"45":8787296954631536640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555020032001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:25:08] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:25:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103308806875774976,"km_value":103308806875774.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787296954631536640,"description":"Unknown IO ID 45"} 
[2026-07-07 15:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555020032001,"power":13059,"unknown_157":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8787296954631536640}} 
[2026-07-07 15:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":126555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:25:08] local.INFO: GPS data processed {"connection_id":126555,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:25:08] local.INFO: Acknowledgment sent {"connection_id":126555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:25:26] local.INFO: TCP Data received {"connection_id":124501,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:25:26] local.INFO: Processing buffer {"connection_id":124501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:25:26] local.INFO: IMEI packet received {"connection_id":124501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":124501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:25:28] local.INFO: TCP Data received {"connection_id":124501,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:25:28] local.INFO: Processing buffer {"connection_id":124501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:25:28] local.INFO: IMEI packet received {"connection_id":124501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":124501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:25:29] local.INFO: TCP Data received {"connection_id":124501,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bffd9b8012d79f2c005ecae28000b00ac26..."} 
[2026-07-07 15:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bffd9b8012d79f2c005ecae28000b00ac26..."} 
[2026-07-07 15:25:29] local.INFO: Processing buffer {"connection_id":124501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bffd9b8012d79f2c005ecae28000b00ac26..."} 
[2026-07-07 15:25:29] local.INFO: Packet analysis {"connection_id":124501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bff"} 
[2026-07-07 15:25:29] local.INFO: Extracted packet for processing {"connection_id":124501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bff"} 
[2026-07-07 15:25:29] local.INFO: GPS Element Parsed {"raw_longitude":762966720,"raw_latitude":99397160,"longitude_deg":76.296672,"latitude_deg":9.939716,"altitude":11,"angle":172,"satellites":38,"speed":2,"hex_longitude":"2d79f2c0","hex_latitude":"05ecae28","is_valid_coordinates":true} 
[2026-07-07 15:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555020544001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103308815465709568,"note":"Value kept but may cause issues"} 
[2026-07-07 15:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787296954631501824,"note":"Value kept but may cause issues"} 
[2026-07-07 15:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783418051000,"timestamp_ms":1783418051000,"timestamp_seconds":1783418051,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bffd9b8"} 
[2026-07-07 15:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 15:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162643762493,"note":"Value kept but may cause issues"} 
[2026-07-07 15:25:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":58079734643818503,"note":"Value kept but may cause issues"} 
[2026-07-07 15:25:29] local.WARNING: Large IO value detected {"io_id":6,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-07-07 15:25:29] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":6145,"corrected_to":0} 
[2026-07-07 15:25:29] local.WARNING: Large IO value detected {"io_id":59,"raw_value":4288362497,"note":"Value kept but may cause issues"} 
[2026-07-07 15:25:29] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2926051339,"note":"Value kept but may cause issues"} 
[2026-07-07 15:25:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-07 15:25:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970713600,"note":"Value kept but may cause issues"} 
[2026-07-07 15:25:29] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2147560825,"note":"Value kept but may cause issues"} 
[2026-07-07 15:25:29] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,157,87,24,241,16,6,159,202,45,192,175,11,38,10,66,194,64,1,240,198,227,59,236,4,113,205,5,143,239,40,51,2,111,7],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":202,"original":6145,"validated":0},{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-07 15:25:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792844803858628608,"timestamp_seconds":792844803858628.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 15:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":124501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":124501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":124501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555020544001,"66":12993,"157":206,"87":13824,"24":2,"16":103308815465709568,"45":8787296954631501824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555020544001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:25:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:25:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103308815465709568,"km_value":103308815465709.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787296954631501824,"description":"Unknown IO ID 45"} 
[2026-07-07 15:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555020544001,"power":12993,"unknown_157":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8787296954631501824}} 
[2026-07-07 15:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":124501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:25:29] local.INFO: GPS data processed {"connection_id":124501,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:25:29] local.INFO: Acknowledgment sent {"connection_id":124501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:26:00] local.INFO: TCP Data received {"connection_id":124501,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bffe188012d79f30005ecae08000b008825..."} 
[2026-07-07 15:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bffe188012d79f30005ecae08000b008825..."} 
[2026-07-07 15:26:00] local.INFO: Processing buffer {"connection_id":124501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bffe188012d79f30005ecae08000b008825..."} 
[2026-07-07 15:26:00] local.INFO: Packet analysis {"connection_id":124501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bff"} 
[2026-07-07 15:26:00] local.INFO: Extracted packet for processing {"connection_id":124501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bff"} 
[2026-07-07 15:26:00] local.INFO: GPS Element Parsed {"raw_longitude":762966784,"raw_latitude":99397128,"longitude_deg":76.2966784,"latitude_deg":9.9397128,"altitude":11,"angle":136,"satellites":37,"speed":0,"hex_longitude":"2d79f300","hex_latitude":"05ecae08","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555021056001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103308819760676864,"note":"Value kept but may cause issues"} 
[2026-07-07 15:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787296954631464960,"note":"Value kept but may cause issues"} 
[2026-07-07 15:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783418053000,"timestamp_ms":1783418053000,"timestamp_seconds":1783418053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bffe188"} 
[2026-07-07 15:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-07 15:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15: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-07-07 15:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555021056001,"66":12798,"157":206,"87":13824,"24":0,"16":103308819760676864,"45":8787296954631464960},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555021056001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:26:00] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:26:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103308819760676864,"km_value":103308819760676.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787296954631464960,"description":"Unknown IO ID 45"} 
[2026-07-07 15:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555021056001,"power":12798,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787296954631464960}} 
[2026-07-07 15:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":124501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446139,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:26:00] local.INFO: GPS data processed {"connection_id":124501,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:26:00] local.INFO: Acknowledgment sent {"connection_id":124501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:26:09] local.INFO: TCP Data received {"connection_id":124502,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:26:09] local.INFO: Processing buffer {"connection_id":124502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:26:09] local.INFO: IMEI packet received {"connection_id":124502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":124502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:26:10] local.INFO: TCP Data received {"connection_id":124502,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:26:10] local.INFO: Processing buffer {"connection_id":124502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:26:10] local.INFO: IMEI packet received {"connection_id":124502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":124502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:26:14] local.INFO: TCP Data received {"connection_id":124502,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:26:14] local.INFO: Processing buffer {"connection_id":124502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:26:14] local.INFO: IMEI packet received {"connection_id":124502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":124502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:26:16] local.INFO: TCP Data received {"connection_id":124502,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c007dc8012da5ca80054c8b68001000612e..."} 
[2026-07-07 15:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c007dc8012da5ca80054c8b68001000612e..."} 
[2026-07-07 15:26:16] local.INFO: Processing buffer {"connection_id":124502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c007dc8012da5ca80054c8b68001000612e..."} 
[2026-07-07 15:26:16] local.INFO: Packet analysis {"connection_id":124502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c00"} 
[2026-07-07 15:26:16] local.INFO: Extracted packet for processing {"connection_id":124502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c00"} 
[2026-07-07 15:26:16] local.INFO: GPS Element Parsed {"raw_longitude":765840000,"raw_latitude":88902504,"longitude_deg":76.584,"latitude_deg":8.8902504,"altitude":16,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2da5ca80","hex_latitude":"054c8b68","is_valid_coordinates":true} 
[2026-07-07 15:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555026432001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341519096250105856,"note":"Value kept but may cause issues"} 
[2026-07-07 15:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6501086776838606848,"note":"Value kept but may cause issues"} 
[2026-07-07 15:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783418093000,"timestamp_ms":1783418093000,"timestamp_seconds":1783418093,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c007dc8"} 
[2026-07-07 15:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 15:26: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-07-07 15:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555026432001,"66":27745,"222":206,"84":6144,"24":0,"16":341519096250105856,"45":-6501086776838606848},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,84,24,16,45]} 
[2026-07-07 15:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555026432001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:26:16] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-07-07 15:26:16] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341519096250105856,"km_value":341519096250105.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6501086776838606848,"description":"Unknown IO ID 45"} 
[2026-07-07 15:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555026432001,"power":27745,"unknown_222":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6501086776838606848}} 
[2026-07-07 15:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":124502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:26:16] local.INFO: GPS data processed {"connection_id":124502,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:26:16] local.INFO: Acknowledgment sent {"connection_id":124502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:26:26] local.INFO: TCP Data received {"connection_id":126557,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:26:26] local.INFO: Processing buffer {"connection_id":126557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:26:26] local.INFO: IMEI packet received {"connection_id":126557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":126557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:26:31] local.INFO: TCP Data received {"connection_id":126557,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:26:31] local.INFO: Processing buffer {"connection_id":126557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:26:31] local.INFO: IMEI packet received {"connection_id":126557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":126557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:26:31] local.INFO: TCP Data received {"connection_id":126557,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3bfff510012d79f34005ecaec0000b000c26..."} 
[2026-07-07 15:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3bfff510012d79f34005ecaec0000b000c26..."} 
[2026-07-07 15:26:31] local.INFO: Processing buffer {"connection_id":126557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3bfff510012d79f34005ecaec0000b000c26..."} 
[2026-07-07 15:26:31] local.INFO: Packet analysis {"connection_id":126557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3bff"} 
[2026-07-07 15:26:31] local.INFO: Extracted packet for processing {"connection_id":126557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3bff"} 
[2026-07-07 15:26:31] local.INFO: GPS Element Parsed {"raw_longitude":762966848,"raw_latitude":99397312,"longitude_deg":76.2966848,"latitude_deg":9.9397312,"altitude":11,"angle":12,"satellites":38,"speed":2,"hex_longitude":"2d79f340","hex_latitude":"05ecaec0","is_valid_coordinates":true} 
[2026-07-07 15:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555021568001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103308832645578752,"note":"Value kept but may cause issues"} 
[2026-07-07 15:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787367323375634432,"note":"Value kept but may cause issues"} 
[2026-07-07 15:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783418058000,"timestamp_ms":1783418058000,"timestamp_seconds":1783418058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3bfff510"} 
[2026-07-07 15:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 15:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555021568001,"66":13450,"157":206,"87":13824,"24":2,"16":103308832645578752,"45":8787367323375634432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555021568001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:26:31] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:26:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103308832645578752,"km_value":103308832645578.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787367323375634432,"description":"Unknown IO ID 45"} 
[2026-07-07 15:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555021568001,"power":13450,"unknown_157":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8787367323375634432}} 
[2026-07-07 15:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":126557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:26:32] local.INFO: GPS data processed {"connection_id":126557,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:26:32] local.INFO: Acknowledgment sent {"connection_id":126557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:27:03] local.INFO: TCP Data received {"connection_id":126557,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c000898012d79f34005ecafa0000b000026..."} 
[2026-07-07 15:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c000898012d79f34005ecafa0000b000026..."} 
[2026-07-07 15:27:03] local.INFO: Processing buffer {"connection_id":126557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c000898012d79f34005ecafa0000b000026..."} 
[2026-07-07 15:27:03] local.INFO: Packet analysis {"connection_id":126557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c00"} 
[2026-07-07 15:27:03] local.INFO: Extracted packet for processing {"connection_id":126557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c00"} 
[2026-07-07 15:27:03] local.INFO: GPS Element Parsed {"raw_longitude":762966848,"raw_latitude":99397536,"longitude_deg":76.2966848,"latitude_deg":9.9397536,"altitude":11,"angle":0,"satellites":38,"speed":2,"hex_longitude":"2d79f340","hex_latitude":"05ecafa0","is_valid_coordinates":true} 
[2026-07-07 15:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555022848001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103308841235513344,"note":"Value kept but may cause issues"} 
[2026-07-07 15:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787437692119859200,"note":"Value kept but may cause issues"} 
[2026-07-07 15:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783418063000,"timestamp_ms":1783418063000,"timestamp_seconds":1783418063,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c000898"} 
[2026-07-07 15:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-07 15:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555022848001,"66":13254,"157":206,"87":13824,"24":2,"16":103308841235513344,"45":8787437692119859200},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555022848001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:27:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:27:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103308841235513344,"km_value":103308841235513.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787437692119859200,"description":"Unknown IO ID 45"} 
[2026-07-07 15:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555022848001,"power":13254,"unknown_157":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8787437692119859200}} 
[2026-07-07 15:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":126557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:27:03] local.INFO: GPS data processed {"connection_id":126557,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:27:03] local.INFO: Acknowledgment sent {"connection_id":126557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:27:05] local.INFO: TCP Data received {"connection_id":125307,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:27:05] local.INFO: Processing buffer {"connection_id":125307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:27:05] local.INFO: IMEI packet received {"connection_id":125307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":125307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:27:08] local.INFO: TCP Data received {"connection_id":125307,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:27:08] local.INFO: Processing buffer {"connection_id":125307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:27:08] local.INFO: IMEI packet received {"connection_id":125307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":125307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:27:12] local.INFO: TCP Data received {"connection_id":125307,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:27:12] local.INFO: Processing buffer {"connection_id":125307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:27:12] local.INFO: IMEI packet received {"connection_id":125307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":125307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:27:12] local.INFO: TCP Data received {"connection_id":125307,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c00cfd0012da5ca80054c8b68001000612e..."} 
[2026-07-07 15:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c00cfd0012da5ca80054c8b68001000612e..."} 
[2026-07-07 15:27:12] local.INFO: Processing buffer {"connection_id":125307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c00cfd0012da5ca80054c8b68001000612e..."} 
[2026-07-07 15:27:12] local.INFO: Packet analysis {"connection_id":125307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c00"} 
[2026-07-07 15:27:12] local.INFO: Extracted packet for processing {"connection_id":125307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c00"} 
[2026-07-07 15:27:12] local.INFO: GPS Element Parsed {"raw_longitude":765840000,"raw_latitude":88902504,"longitude_deg":76.584,"latitude_deg":8.8902504,"altitude":16,"angle":97,"satellites":46,"speed":0,"hex_longitude":"2da5ca80","hex_latitude":"054c8b68","is_valid_coordinates":true} 
[2026-07-07 15:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555031808001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341519096250105856,"note":"Value kept but may cause issues"} 
[2026-07-07 15:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6500242351908493312,"note":"Value kept but may cause issues"} 
[2026-07-07 15:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783418114000,"timestamp_ms":1783418114000,"timestamp_seconds":1783418114,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c00cfd0"} 
[2026-07-07 15:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:27: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-07-07 15: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 15:27: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-07-07 15:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555031808001,"66":27908,"222":206,"84":6144,"24":0,"16":341519096250105856,"45":-6500242351908493312},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,84,24,16,45]} 
[2026-07-07 15:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555031808001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:27:12] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-07-07 15:27:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341519096250105856,"km_value":341519096250105.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6500242351908493312,"description":"Unknown IO ID 45"} 
[2026-07-07 15:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555031808001,"power":27908,"unknown_222":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6500242351908493312}} 
[2026-07-07 15:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":125307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:27:13] local.INFO: GPS data processed {"connection_id":125307,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:27:13] local.INFO: Acknowledgment sent {"connection_id":125307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:27:27] local.INFO: TCP Data received {"connection_id":124586,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:27:27] local.INFO: Processing buffer {"connection_id":124586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:27:27] local.INFO: IMEI packet received {"connection_id":124586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":124586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:27:27] local.INFO: TCP Data received {"connection_id":124586,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:27:27] local.INFO: Processing buffer {"connection_id":124586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:27:27] local.INFO: IMEI packet received {"connection_id":124586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":124586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:27:31] local.INFO: TCP Data received {"connection_id":124586,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:27:31] local.INFO: Processing buffer {"connection_id":124586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:27:31] local.INFO: IMEI packet received {"connection_id":124586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":124586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:27:32] local.INFO: TCP Data received {"connection_id":124586,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c001068012d79f34005ecafd8000b000c26..."} 
[2026-07-07 15:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c001068012d79f34005ecafd8000b000c26..."} 
[2026-07-07 15:27:32] local.INFO: Processing buffer {"connection_id":124586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c001068012d79f34005ecafd8000b000c26..."} 
[2026-07-07 15:27:32] local.INFO: Packet analysis {"connection_id":124586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c00"} 
[2026-07-07 15:27:32] local.INFO: Extracted packet for processing {"connection_id":124586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c00"} 
[2026-07-07 15:27:32] local.INFO: GPS Element Parsed {"raw_longitude":762966848,"raw_latitude":99397592,"longitude_deg":76.2966848,"latitude_deg":9.9397592,"altitude":11,"angle":12,"satellites":38,"speed":1,"hex_longitude":"2d79f340","hex_latitude":"05ecafd8","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555024128001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103308845530480640,"note":"Value kept but may cause issues"} 
[2026-07-07 15:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787437692119916544,"note":"Value kept but may cause issues"} 
[2026-07-07 15:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783418065000,"timestamp_ms":1783418065000,"timestamp_seconds":1783418065,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c001068"} 
[2026-07-07 15:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-07 15:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15: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-07-07 15:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555024128001,"66":12330,"157":206,"87":13824,"24":1,"16":103308845530480640,"45":8787437692119916544},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555024128001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:27:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:27:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103308845530480640,"km_value":103308845530480.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787437692119916544,"description":"Unknown IO ID 45"} 
[2026-07-07 15:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555024128001,"power":12330,"unknown_157":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8787437692119916544}} 
[2026-07-07 15:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":124586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:27:32] local.INFO: GPS data processed {"connection_id":124586,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:27:32] local.INFO: Acknowledgment sent {"connection_id":124586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:27:44] local.INFO: TCP Data received {"connection_id":125307,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c00feb0012da5d340054c88a80011006e2f..."} 
[2026-07-07 15:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c00feb0012da5d340054c88a80011006e2f..."} 
[2026-07-07 15:27:44] local.INFO: Processing buffer {"connection_id":125307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c00feb0012da5d340054c88a80011006e2f..."} 
[2026-07-07 15:27:44] local.INFO: Packet analysis {"connection_id":125307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c00"} 
[2026-07-07 15:27:44] local.INFO: Extracted packet for processing {"connection_id":125307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c00"} 
[2026-07-07 15:27:44] local.INFO: GPS Element Parsed {"raw_longitude":765842240,"raw_latitude":88901800,"longitude_deg":76.584224,"latitude_deg":8.89018,"altitude":17,"angle":110,"satellites":47,"speed":16,"hex_longitude":"2da5d340","hex_latitude":"054c88a8","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555037184001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341519207919255552,"note":"Value kept but may cause issues"} 
[2026-07-07 15:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6500242351908493312,"note":"Value kept but may cause issues"} 
[2026-07-07 15:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783418126000,"timestamp_ms":1783418126000,"timestamp_seconds":1783418126,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c00feb0"} 
[2026-07-07 15:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 15:27: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-07-07 15:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":125307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":125307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":125307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555037184001,"66":27908,"222":206,"84":6144,"24":16,"16":341519207919255552,"45":-6500242351908493312},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,84,24,16,45]} 
[2026-07-07 15:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555037184001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:27:44] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-07-07 15:27:44] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341519207919255552,"km_value":341519207919255.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6500242351908493312,"description":"Unknown IO ID 45"} 
[2026-07-07 15:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555037184001,"power":27908,"unknown_222":206,"unknown_84":6144,"ignition":16,"odometer":null,"unknown_45":-6500242351908493312}} 
[2026-07-07 15:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":125307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:27:44] local.INFO: GPS data processed {"connection_id":125307,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:27:44] local.INFO: Acknowledgment sent {"connection_id":125307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:27:58] local.INFO: TCP Data received {"connection_id":124587,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:27:58] local.INFO: Processing buffer {"connection_id":124587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:27:58] local.INFO: IMEI packet received {"connection_id":124587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":124587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:27:58] local.INFO: TCP Data received {"connection_id":124587,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:27:58] local.INFO: Processing buffer {"connection_id":124587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:27:58] local.INFO: IMEI packet received {"connection_id":124587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":124587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:28:03] local.INFO: TCP Data received {"connection_id":124586,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c030250012d79e20005ecaa60000a00bc26..."} 
[2026-07-07 15:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c030250012d79e20005ecaa60000a00bc26..."} 
[2026-07-07 15:28:03] local.INFO: Processing buffer {"connection_id":124586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c030250012d79e20005ecaa60000a00bc26..."} 
[2026-07-07 15:28:03] local.INFO: Packet analysis {"connection_id":124586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c03"} 
[2026-07-07 15:28:03] local.INFO: Extracted packet for processing {"connection_id":124586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c03"} 
[2026-07-07 15:28:03] local.INFO: GPS Element Parsed {"raw_longitude":762962432,"raw_latitude":99396192,"longitude_deg":76.2962432,"latitude_deg":9.9396192,"altitude":10,"angle":188,"satellites":38,"speed":5,"hex_longitude":"2d79e200","hex_latitude":"05ecaa60","is_valid_coordinates":true} 
[2026-07-07 15:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555070720001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103309116113420288,"note":"Value kept but may cause issues"} 
[2026-07-07 15:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783145198724864000,"note":"Value kept but may cause issues"} 
[2026-07-07 15:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783418258000,"timestamp_ms":1783418258000,"timestamp_seconds":1783418258,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c030250"} 
[2026-07-07 15:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 15:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555070720001,"66":13102,"157":206,"87":13824,"24":5,"16":103309116113420288,"45":8783145198724864000},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555070720001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:28:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:28:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103309116113420288,"km_value":103309116113420.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783145198724864000,"description":"Unknown IO ID 45"} 
[2026-07-07 15:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555070720001,"power":13102,"unknown_157":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8783145198724864000}} 
[2026-07-07 15:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":124586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:28:03] local.INFO: GPS data processed {"connection_id":124586,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:28:03] local.INFO: Acknowledgment sent {"connection_id":124586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:28:04] local.INFO: TCP Data received {"connection_id":124587,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:28:04] local.INFO: Processing buffer {"connection_id":124587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:28:04] local.INFO: IMEI packet received {"connection_id":124587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":124587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:28:05] local.INFO: TCP Data received {"connection_id":124587,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0298d8012da69b80054c2d68000d00642d..."} 
[2026-07-07 15:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0298d8012da69b80054c2d68000d00642d..."} 
[2026-07-07 15:28:05] local.INFO: Processing buffer {"connection_id":124587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0298d8012da69b80054c2d68000d00642d..."} 
[2026-07-07 15:28:05] local.INFO: Packet analysis {"connection_id":124587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c02"} 
[2026-07-07 15:28:05] local.INFO: Extracted packet for processing {"connection_id":124587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c02"} 
[2026-07-07 15:28:05] local.INFO: GPS Element Parsed {"raw_longitude":765893504,"raw_latitude":88878440,"longitude_deg":76.5893504,"latitude_deg":8.887844,"altitude":13,"angle":100,"satellites":45,"speed":21,"hex_longitude":"2da69b80","hex_latitude":"054c2d68","is_valid_coordinates":true} 
[2026-07-07 15:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555062528001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341522064072507392,"note":"Value kept but may cause issues"} 
[2026-07-07 15:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918432038912,"note":"Value kept but may cause issues"} 
[2026-07-07 15:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783418231000,"timestamp_ms":1783418231000,"timestamp_seconds":1783418231,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0298d8"} 
[2026-07-07 15:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 15:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555062528001,"66":27767,"144":206,"84":6144,"24":21,"16":341522064072507392,"45":-6451687918432038912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,84,24,16,45]} 
[2026-07-07 15:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555062528001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:28:05] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-07-07 15:28:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341522064072507392,"km_value":341522064072507.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918432038912,"description":"Unknown IO ID 45"} 
[2026-07-07 15:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555062528001,"power":27767,"unknown_144":206,"unknown_84":6144,"ignition":21,"odometer":null,"unknown_45":-6451687918432038912}} 
[2026-07-07 15:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":124587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:28:05] local.INFO: GPS data processed {"connection_id":124587,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:28:05] local.INFO: Acknowledgment sent {"connection_id":124587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:28:26] local.INFO: TCP Data received {"connection_id":125308,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:28:26] local.INFO: Processing buffer {"connection_id":125308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:28:26] local.INFO: IMEI packet received {"connection_id":125308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":125308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:28:30] local.INFO: TCP Data received {"connection_id":124504,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124504,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:28:30] local.INFO: Processing buffer {"connection_id":124504,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:28:30] local.INFO: IMEI packet received {"connection_id":124504,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":124504,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:28:31] local.INFO: TCP Data received {"connection_id":125308,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:28:31] local.INFO: Processing buffer {"connection_id":125308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:28:31] local.INFO: IMEI packet received {"connection_id":125308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":125308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:28:31] local.INFO: TCP Data received {"connection_id":124504,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124504,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:28:31] local.INFO: Processing buffer {"connection_id":124504,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:28:31] local.INFO: IMEI packet received {"connection_id":124504,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":124504,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:28:34] local.INFO: TCP Data received {"connection_id":124503,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:28:34] local.INFO: Processing buffer {"connection_id":124503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:28:34] local.INFO: IMEI packet received {"connection_id":124503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 15:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":124503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:28:35] local.INFO: TCP Data received {"connection_id":124504,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124504,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:28:35] local.INFO: Processing buffer {"connection_id":124504,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:28:35] local.INFO: IMEI packet received {"connection_id":124504,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":124504,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:28:36] local.INFO: TCP Data received {"connection_id":124587,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0298d8012da69b80054c2d68000d00642d..."} 
[2026-07-07 15:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0298d8012da69b80054c2d68000d00642d..."} 
[2026-07-07 15:28:36] local.INFO: Processing buffer {"connection_id":124587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0298d8012da69b80054c2d68000d00642d..."} 
[2026-07-07 15:28:36] local.INFO: Packet analysis {"connection_id":124587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c02"} 
[2026-07-07 15:28:36] local.INFO: Extracted packet for processing {"connection_id":124587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c02"} 
[2026-07-07 15:28:36] local.INFO: GPS Element Parsed {"raw_longitude":765893504,"raw_latitude":88878440,"longitude_deg":76.5893504,"latitude_deg":8.887844,"altitude":13,"angle":100,"satellites":45,"speed":21,"hex_longitude":"2da69b80","hex_latitude":"054c2d68","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555067136001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341522064072507392,"note":"Value kept but may cause issues"} 
[2026-07-07 15:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6441414081782126592,"note":"Value kept but may cause issues"} 
[2026-07-07 15:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783418231000,"timestamp_ms":1783418231000,"timestamp_seconds":1783418231,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0298d8"} 
[2026-07-07 15:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 15:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15: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-07-07 15:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555067136001,"66":27767,"144":206,"84":6144,"24":21,"16":341522064072507392,"45":-6441414081782126592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,84,24,16,45]} 
[2026-07-07 15:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555067136001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:28:36] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-07-07 15:28:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341522064072507392,"km_value":341522064072507.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6441414081782126592,"description":"Unknown IO ID 45"} 
[2026-07-07 15:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555067136001,"power":27767,"unknown_144":206,"unknown_84":6144,"ignition":21,"odometer":null,"unknown_45":-6441414081782126592}} 
[2026-07-07 15:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":124587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:28:36] local.INFO: GPS data processed {"connection_id":124587,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:28:36] local.INFO: Acknowledgment sent {"connection_id":124587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:28:36] local.INFO: TCP Data received {"connection_id":124504,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-07 15:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124504,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-07 15:28:36] local.INFO: Processing buffer {"connection_id":124504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-07 15:28:36] local.INFO: Packet analysis {"connection_id":124504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-07 15:28:36] local.INFO: Extracted packet for processing {"connection_id":124504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-07 15:28:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23382227161186304,"note":"Value kept but may cause issues"} 
[2026-07-07 15:28:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 15:28:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 15:28:36] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 15:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124504,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124504,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 15:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124504,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 15:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 15:28:36] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 15:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":124504,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 15:28:36] local.ERROR: GPS data processing failed {"connection_id":124504,"error":"No valid data to process"} 
[2026-07-07 15:28:36] local.INFO: Acknowledgment sent {"connection_id":124504,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 15:28:42] local.INFO: TCP Data received {"connection_id":125308,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c030638012d79e24005eca990000a00a026..."} 
[2026-07-07 15:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c030638012d79e24005eca990000a00a026..."} 
[2026-07-07 15:28:42] local.INFO: Processing buffer {"connection_id":125308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c030638012d79e24005eca990000a00a026..."} 
[2026-07-07 15:28:42] local.INFO: Packet analysis {"connection_id":125308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c03"} 
[2026-07-07 15:28:42] local.INFO: Extracted packet for processing {"connection_id":125308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c03"} 
[2026-07-07 15:28:42] local.INFO: GPS Element Parsed {"raw_longitude":762962496,"raw_latitude":99395984,"longitude_deg":76.2962496,"latitude_deg":9.9395984,"altitude":10,"angle":160,"satellites":38,"speed":10,"hex_longitude":"2d79e240","hex_latitude":"05eca990","is_valid_coordinates":true} 
[2026-07-07 15:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555074048001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103309124703354880,"note":"Value kept but may cause issues"} 
[2026-07-07 15:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782582248771313664,"note":"Value kept but may cause issues"} 
[2026-07-07 15:28: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-07-07 15:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783418259000,"timestamp_ms":1783418259000,"timestamp_seconds":1783418259,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c030638"} 
[2026-07-07 15:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:28: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-07-07 15: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 15:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555074048001,"66":13102,"157":206,"87":13824,"24":10,"16":103309124703354880,"45":8782582248771313664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555074048001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:28:42] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:28:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103309124703354880,"km_value":103309124703354.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782582248771313664,"description":"Unknown IO ID 45"} 
[2026-07-07 15:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555074048001,"power":13102,"unknown_157":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8782582248771313664}} 
[2026-07-07 15:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":125308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:28:42] local.INFO: GPS data processed {"connection_id":125308,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:28:42] local.INFO: Acknowledgment sent {"connection_id":125308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:28:58] local.INFO: TCP Data received {"connection_id":124505,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:28:58] local.INFO: Processing buffer {"connection_id":124505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:28:58] local.INFO: IMEI packet received {"connection_id":124505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":124505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:28:58] local.INFO: TCP Data received {"connection_id":124505,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:28:58] local.INFO: Processing buffer {"connection_id":124505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:28:58] local.INFO: IMEI packet received {"connection_id":124505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":124505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:28:58] local.INFO: TCP Data received {"connection_id":124506,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:28:58] local.INFO: Processing buffer {"connection_id":124506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:28:58] local.INFO: IMEI packet received {"connection_id":124506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 15:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":124506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:28:59] local.INFO: TCP Data received {"connection_id":124505,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:28:59] local.INFO: Processing buffer {"connection_id":124505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:28:59] local.INFO: IMEI packet received {"connection_id":124505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":124505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:29:00] local.INFO: TCP Data received {"connection_id":124505,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:29:00] local.INFO: Processing buffer {"connection_id":124505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:29:00] local.INFO: IMEI packet received {"connection_id":124505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":124505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:29:10] local.INFO: TCP Data received {"connection_id":124504,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-07 15:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124504,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-07 15:29:10] local.INFO: Processing buffer {"connection_id":124504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-07 15:29:10] local.INFO: Packet analysis {"connection_id":124504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 15:29:10] local.INFO: Extracted packet for processing {"connection_id":124504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 15:29:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 15:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23382227161186304,"note":"Value kept but may cause issues"} 
[2026-07-07 15:29:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 15:29:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 15:29:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 15:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124504,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124504,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 15:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124504,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-07 15:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 15:29:10] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 15:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":124504,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 15:29:10] local.ERROR: GPS data processing failed {"connection_id":124504,"error":"No valid data to process"} 
[2026-07-07 15:29:10] local.INFO: Acknowledgment sent {"connection_id":124504,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 15:29:26] local.INFO: TCP Data received {"connection_id":126558,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:29:26] local.INFO: Processing buffer {"connection_id":126558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:29:26] local.INFO: IMEI packet received {"connection_id":126558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":126558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:29:31] local.INFO: TCP Data received {"connection_id":126558,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:29:31] local.INFO: Processing buffer {"connection_id":126558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:29:31] local.INFO: IMEI packet received {"connection_id":126558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":126558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:29:32] local.INFO: TCP Data received {"connection_id":126558,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c041b90012d7a19c005ec83e00008012426..."} 
[2026-07-07 15:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c041b90012d7a19c005ec83e00008012426..."} 
[2026-07-07 15:29:32] local.INFO: Processing buffer {"connection_id":126558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c041b90012d7a19c005ec83e00008012426..."} 
[2026-07-07 15:29:32] local.INFO: Packet analysis {"connection_id":126558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:29:32] local.INFO: Extracted packet for processing {"connection_id":126558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:29:32] local.INFO: GPS Element Parsed {"raw_longitude":762976704,"raw_latitude":99386336,"longitude_deg":76.2976704,"latitude_deg":9.9386336,"altitude":8,"angle":292,"satellites":38,"speed":6,"hex_longitude":"2d7a19c0","hex_latitude":"05ec83e0","is_valid_coordinates":true} 
[2026-07-07 15:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555092224001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310292934459392,"note":"Value kept but may cause issues"} 
[2026-07-07 15:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216208744448,"note":"Value kept but may cause issues"} 
[2026-07-07 15:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783418330000,"timestamp_ms":1783418330000,"timestamp_seconds":1783418330,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c041b90"} 
[2026-07-07 15:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 15:29:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 15:29:32] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3221613697,"note":"Value kept but may cause issues"} 
[2026-07-07 15:29:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-07 15:29:32] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-9099523012736440576,"note":"Value kept but may cause issues"} 
[2026-07-07 15:29:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-07 15:29:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967897600,"note":"Value kept but may cause issues"} 
[2026-07-07 15:29:32] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-07 15:29:32] local.WARNING: Large IO value detected {"io_id":3,"raw_value":-547186059892146171,"note":"Value kept but may cause issues"} 
[2026-07-07 15:29:32] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,157,87,24,241,16,8,159,19,45,128,130,9,37,10,66,15,192,38,11,64,1,240,182,227,60,236,4,113,205,32,239,51,2,111,5,79,3],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-07 15:29:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648863756201754624,"timestamp_seconds":648863756201754.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 15:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555092224001,"66":13135,"157":206,"87":13824,"24":6,"16":103310292934459392,"45":8798415216208744448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555092224001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:29:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:29:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310292934459392,"km_value":103310292934459.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216208744448,"description":"Unknown IO ID 45"} 
[2026-07-07 15:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555092224001,"power":13135,"unknown_157":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8798415216208744448}} 
[2026-07-07 15:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":126558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:29:32] local.INFO: GPS data processed {"connection_id":126558,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:29:32] local.INFO: Acknowledgment sent {"connection_id":126558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:29:49] local.INFO: TCP Data received {"connection_id":124504,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0471800100000000000000000000000000..."} 
[2026-07-07 15:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0471800100000000000000000000000000..."} 
[2026-07-07 15:29:49] local.INFO: Processing buffer {"connection_id":124504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0471800100000000000000000000000000..."} 
[2026-07-07 15:29:49] local.INFO: Packet analysis {"connection_id":124504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:29:49] local.INFO: Extracted packet for processing {"connection_id":124504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:29:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 15:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23382227161186304,"note":"Value kept but may cause issues"} 
[2026-07-07 15:29:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 15:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783418352000,"timestamp_ms":1783418352000,"timestamp_seconds":1783418352,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c047180"} 
[2026-07-07 15:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-07 15:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":124504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":124504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":124504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":124504,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-07 15:29:49] local.INFO: GPS data processed {"connection_id":124504,"processed":0,"errors":0,"total":1} 
[2026-07-07 15:29:49] local.INFO: Acknowledgment sent {"connection_id":124504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:30:04] local.INFO: TCP Data received {"connection_id":126558,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c041f78012d7a18c005ec83f00008010826..."} 
[2026-07-07 15:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c041f78012d7a18c005ec83f00008010826..."} 
[2026-07-07 15:30:04] local.INFO: Processing buffer {"connection_id":126558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c041f78012d7a18c005ec83f00008010826..."} 
[2026-07-07 15:30:04] local.INFO: Packet analysis {"connection_id":126558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:30:04] local.INFO: Extracted packet for processing {"connection_id":126558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:30:04] local.INFO: GPS Element Parsed {"raw_longitude":762976448,"raw_latitude":99386352,"longitude_deg":76.2976448,"latitude_deg":9.9386352,"altitude":8,"angle":264,"satellites":38,"speed":8,"hex_longitude":"2d7a18c0","hex_latitude":"05ec83f0","is_valid_coordinates":true} 
[2026-07-07 15:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555092480001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310301524393984,"note":"Value kept but may cause issues"} 
[2026-07-07 15:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798274478720409600,"note":"Value kept but may cause issues"} 
[2026-07-07 15:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783418331000,"timestamp_ms":1783418331000,"timestamp_seconds":1783418331,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c041f78"} 
[2026-07-07 15:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 15:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555092480001,"66":13135,"157":206,"87":13824,"24":8,"16":103310301524393984,"45":8798274478720409600},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555092480001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:30:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:30:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310301524393984,"km_value":103310301524393.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798274478720409600,"description":"Unknown IO ID 45"} 
[2026-07-07 15:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555092480001,"power":13135,"unknown_157":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8798274478720409600}} 
[2026-07-07 15:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":126558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:30:04] local.INFO: GPS data processed {"connection_id":126558,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:30:04] local.INFO: Acknowledgment sent {"connection_id":126558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:30:21] local.INFO: TCP Data received {"connection_id":124504,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c04c3880100000000000000000000000000..."} 
[2026-07-07 15:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c04c3880100000000000000000000000000..."} 
[2026-07-07 15:30:21] local.INFO: Processing buffer {"connection_id":124504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c04c3880100000000000000000000000000..."} 
[2026-07-07 15:30:21] local.INFO: Packet analysis {"connection_id":124504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:30:21] local.INFO: Extracted packet for processing {"connection_id":124504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:30:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 15:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23382227161186304,"note":"Value kept but may cause issues"} 
[2026-07-07 15:30:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 15:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783418373000,"timestamp_ms":1783418373000,"timestamp_seconds":1783418373,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c04c388"} 
[2026-07-07 15:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-07 15:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":124504,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-07 15:30:21] local.INFO: GPS data processed {"connection_id":124504,"processed":0,"errors":0,"total":1} 
[2026-07-07 15:30:21] local.INFO: Acknowledgment sent {"connection_id":124504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:30:31] local.INFO: TCP Data received {"connection_id":124590,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:30:31] local.INFO: Processing buffer {"connection_id":124590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:30:31] local.INFO: IMEI packet received {"connection_id":124590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":124590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:30:36] local.INFO: TCP Data received {"connection_id":124590,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:30:36] local.INFO: Processing buffer {"connection_id":124590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:30:36] local.INFO: IMEI packet received {"connection_id":124590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":124590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:30:37] local.INFO: TCP Data received {"connection_id":124590,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c042748012d7a174005ec8348000800f926..."} 
[2026-07-07 15:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c042748012d7a174005ec8348000800f926..."} 
[2026-07-07 15:30:37] local.INFO: Processing buffer {"connection_id":124590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c042748012d7a174005ec8348000800f926..."} 
[2026-07-07 15:30:37] local.INFO: Packet analysis {"connection_id":124590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:30:37] local.INFO: Extracted packet for processing {"connection_id":124590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:30:37] local.INFO: GPS Element Parsed {"raw_longitude":762976064,"raw_latitude":99386184,"longitude_deg":76.2976064,"latitude_deg":9.9386184,"altitude":8,"angle":249,"satellites":38,"speed":10,"hex_longitude":"2d7a1740","hex_latitude":"05ec8348","is_valid_coordinates":true} 
[2026-07-07 15:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555092736001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310322999230464,"note":"Value kept but may cause issues"} 
[2026-07-07 15:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797993003743703040,"note":"Value kept but may cause issues"} 
[2026-07-07 15:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783418333000,"timestamp_ms":1783418333000,"timestamp_seconds":1783418333,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c042748"} 
[2026-07-07 15:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 15:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555092736001,"66":13406,"157":206,"87":13824,"24":10,"16":103310322999230464,"45":8797993003743703040},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555092736001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:30:37] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:30:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310322999230464,"km_value":103310322999230.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797993003743703040,"description":"Unknown IO ID 45"} 
[2026-07-07 15:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555092736001,"power":13406,"unknown_157":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8797993003743703040}} 
[2026-07-07 15:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":124590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:30:37] local.INFO: GPS data processed {"connection_id":124590,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:30:37] local.INFO: Acknowledgment sent {"connection_id":124590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:30:42] local.INFO: TCP Data received {"connection_id":124590,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c047568012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c047568012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:30:42] local.INFO: Processing buffer {"connection_id":124590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c047568012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:30:42] local.INFO: Packet analysis {"connection_id":124590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:30:42] local.INFO: Extracted packet for processing {"connection_id":124590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:30:42] local.INFO: GPS Element Parsed {"raw_longitude":762974848,"raw_latitude":99385640,"longitude_deg":76.2974848,"latitude_deg":9.938564,"altitude":6,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d7a1280","hex_latitude":"05ec8128","is_valid_coordinates":true} 
[2026-07-07 15:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555093248001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797570791278594048,"note":"Value kept but may cause issues"} 
[2026-07-07 15:30: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-07-07 15:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783418353000,"timestamp_ms":1783418353000,"timestamp_seconds":1783418353,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c047568"} 
[2026-07-07 15:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:30: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-07-07 15: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-07 15:30: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-07-07 15:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555093248001,"66":12765,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8797570791278594048},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555093248001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:30:42] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:30:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797570791278594048,"description":"Unknown IO ID 45"} 
[2026-07-07 15:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555093248001,"power":12765,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797570791278594048}} 
[2026-07-07 15:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":124590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:30:42] local.INFO: GPS data processed {"connection_id":124590,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:30:42] local.INFO: Acknowledgment sent {"connection_id":124590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:31:20] local.INFO: TCP Data received {"connection_id":124504,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0515900100000000000000000000000000..."} 
[2026-07-07 15:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0515900100000000000000000000000000..."} 
[2026-07-07 15:31:20] local.INFO: Processing buffer {"connection_id":124504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0515900100000000000000000000000000..."} 
[2026-07-07 15:31:20] local.INFO: Packet analysis {"connection_id":124504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c05"} 
[2026-07-07 15:31:20] local.INFO: Extracted packet for processing {"connection_id":124504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c05"} 
[2026-07-07 15:31:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 15:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23382227161186304,"note":"Value kept but may cause issues"} 
[2026-07-07 15:31:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 15:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783418394000,"timestamp_ms":1783418394000,"timestamp_seconds":1783418394,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c051590"} 
[2026-07-07 15:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 15:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":124504,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-07 15:31:20] local.INFO: GPS data processed {"connection_id":124504,"processed":0,"errors":0,"total":1} 
[2026-07-07 15:31:20] local.INFO: Acknowledgment sent {"connection_id":124504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:31:25] local.INFO: TCP Data received {"connection_id":124504,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0567980100000000000000000000000000..."} 
[2026-07-07 15:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0567980100000000000000000000000000..."} 
[2026-07-07 15:31:26] local.INFO: Processing buffer {"connection_id":124504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0567980100000000000000000000000000..."} 
[2026-07-07 15:31:26] local.INFO: Packet analysis {"connection_id":124504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c05"} 
[2026-07-07 15:31:26] local.INFO: Extracted packet for processing {"connection_id":124504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c05"} 
[2026-07-07 15:31:26] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 15:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23382227161186304,"note":"Value kept but may cause issues"} 
[2026-07-07 15:31:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 15:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783418415000,"timestamp_ms":1783418415000,"timestamp_seconds":1783418415,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c056798"} 
[2026-07-07 15:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 15:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":124504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":124504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":124504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":124504,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-07 15:31:26] local.INFO: GPS data processed {"connection_id":124504,"processed":0,"errors":0,"total":1} 
[2026-07-07 15:31:26] local.INFO: Acknowledgment sent {"connection_id":124504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:31:26] local.INFO: TCP Data received {"connection_id":125310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:31:26] local.INFO: Processing buffer {"connection_id":125310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:31:26] local.INFO: IMEI packet received {"connection_id":125310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":125310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:31:31] local.INFO: TCP Data received {"connection_id":125310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:31:31] local.INFO: Processing buffer {"connection_id":125310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:31:31] local.INFO: IMEI packet received {"connection_id":125310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":125310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:31:32] local.INFO: TCP Data received {"connection_id":125310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c047568012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c047568012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:31:32] local.INFO: Processing buffer {"connection_id":125310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c047568012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:31:32] local.INFO: Packet analysis {"connection_id":125310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:31:32] local.INFO: Extracted packet for processing {"connection_id":125310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:31:32] local.INFO: GPS Element Parsed {"raw_longitude":762974848,"raw_latitude":99385640,"longitude_deg":76.2974848,"latitude_deg":9.938564,"altitude":6,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d7a1280","hex_latitude":"05ec8128","is_valid_coordinates":true} 
[2026-07-07 15:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555098368001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783418353000,"timestamp_ms":1783418353000,"timestamp_seconds":1783418353,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c047568"} 
[2026-07-07 15:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 15:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 15:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555098368001,"66":12765,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8796233785139079168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555098368001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:31:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:31:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555098368001,"power":12765,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":125310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:31:32] local.INFO: GPS data processed {"connection_id":125310,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:31:32] local.INFO: Acknowledgment sent {"connection_id":125310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:31:58] local.INFO: TCP Data received {"connection_id":124504,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c05b9a00100000000000000000000000000..."} 
[2026-07-07 15:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c05b9a00100000000000000000000000000..."} 
[2026-07-07 15:31:58] local.INFO: Processing buffer {"connection_id":124504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c05b9a00100000000000000000000000000..."} 
[2026-07-07 15:31:58] local.INFO: Packet analysis {"connection_id":124504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c05"} 
[2026-07-07 15:31:58] local.INFO: Extracted packet for processing {"connection_id":124504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c05"} 
[2026-07-07 15:31:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23382227161186304,"note":"Value kept but may cause issues"} 
[2026-07-07 15:31:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 15:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783418436000,"timestamp_ms":1783418436000,"timestamp_seconds":1783418436,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c05b9a0"} 
[2026-07-07 15:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 15:31:58] 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-07-07 15: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-07-07 15:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":124504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":124504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":124504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":124504,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-07 15:31:58] local.INFO: GPS data processed {"connection_id":124504,"processed":0,"errors":0,"total":1} 
[2026-07-07 15:31:58] local.INFO: Acknowledgment sent {"connection_id":124504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:32:03] local.INFO: TCP Data received {"connection_id":125310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c047950012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c047950012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:32:03] local.INFO: Processing buffer {"connection_id":125310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c047950012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:32:03] local.INFO: Packet analysis {"connection_id":125310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:32:03] local.INFO: Extracted packet for processing {"connection_id":125310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:32:03] local.INFO: GPS Element Parsed {"raw_longitude":762974848,"raw_latitude":99385640,"longitude_deg":76.2974848,"latitude_deg":9.938564,"altitude":6,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d7a1280","hex_latitude":"05ec8128","is_valid_coordinates":true} 
[2026-07-07 15:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555098368001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783418354000,"timestamp_ms":1783418354000,"timestamp_seconds":1783418354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c047950"} 
[2026-07-07 15:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 15:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 15:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555098368001,"66":12765,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8796233785139079168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555098368001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:32:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:32:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555098368001,"power":12765,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":125310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:32:03] local.INFO: GPS data processed {"connection_id":125310,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:32:03] local.INFO: Acknowledgment sent {"connection_id":125310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:32:26] local.INFO: TCP Data received {"connection_id":124592,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:32:26] local.INFO: Processing buffer {"connection_id":124592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:32:26] local.INFO: IMEI packet received {"connection_id":124592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":124592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:32:30] local.INFO: TCP Data received {"connection_id":124504,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c060ba80100000000000000000000000000..."} 
[2026-07-07 15:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c060ba80100000000000000000000000000..."} 
[2026-07-07 15:32:30] local.INFO: Processing buffer {"connection_id":124504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c060ba80100000000000000000000000000..."} 
[2026-07-07 15:32:30] local.INFO: Packet analysis {"connection_id":124504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c06"} 
[2026-07-07 15:32:30] local.INFO: Extracted packet for processing {"connection_id":124504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c06"} 
[2026-07-07 15:32:30] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 15:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23382227161186304,"note":"Value kept but may cause issues"} 
[2026-07-07 15:32:30] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,16,94,24],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-07 15:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783418457000,"timestamp_ms":1783418457000,"timestamp_seconds":1783418457,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c060ba8"} 
[2026-07-07 15:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-07 15:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":124504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":124504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":124504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":124504,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-07 15:32:30] local.INFO: GPS data processed {"connection_id":124504,"processed":0,"errors":0,"total":1} 
[2026-07-07 15:32:30] local.INFO: Acknowledgment sent {"connection_id":124504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:32:31] local.INFO: TCP Data received {"connection_id":124592,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:32:31] local.INFO: Processing buffer {"connection_id":124592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:32:31] local.INFO: IMEI packet received {"connection_id":124592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":124592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:32:36] local.INFO: TCP Data received {"connection_id":124592,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c047950012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c047950012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:32:36] local.INFO: Processing buffer {"connection_id":124592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c047950012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:32:36] local.INFO: Packet analysis {"connection_id":124592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:32:36] local.INFO: Extracted packet for processing {"connection_id":124592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:32:36] local.INFO: GPS Element Parsed {"raw_longitude":762974848,"raw_latitude":99385640,"longitude_deg":76.2974848,"latitude_deg":9.938564,"altitude":6,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d7a1280","hex_latitude":"05ec8128","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555098368001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:32: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-07-07 15:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783418354000,"timestamp_ms":1783418354000,"timestamp_seconds":1783418354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c047950"} 
[2026-07-07 15:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 15: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 15:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15: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-07-07 15:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555098368001,"66":12765,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8796233785139079168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555098368001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:32:36] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:32:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555098368001,"power":12765,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":124592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:32:36] local.INFO: GPS data processed {"connection_id":124592,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:32:36] local.INFO: Acknowledgment sent {"connection_id":124592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:33:13] local.INFO: TCP Data received {"connection_id":124592,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c047950012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c047950012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:33:13] local.INFO: Processing buffer {"connection_id":124592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c047950012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:33:13] local.INFO: Packet analysis {"connection_id":124592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:33:13] local.INFO: Extracted packet for processing {"connection_id":124592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:33:13] local.INFO: GPS Element Parsed {"raw_longitude":762974848,"raw_latitude":99385640,"longitude_deg":76.2974848,"latitude_deg":9.938564,"altitude":6,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d7a1280","hex_latitude":"05ec8128","is_valid_coordinates":true} 
[2026-07-07 15:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555098368001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783418354000,"timestamp_ms":1783418354000,"timestamp_seconds":1783418354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c047950"} 
[2026-07-07 15:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 15:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 15:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555098368001,"66":12765,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8796233785139079168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555098368001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:33:13] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:33:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555098368001,"power":12765,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":124592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:33:13] local.INFO: GPS data processed {"connection_id":124592,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:33:13] local.INFO: Acknowledgment sent {"connection_id":124592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:33:14] local.INFO: TCP Data received {"connection_id":126560,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126560,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:33:14] local.INFO: Processing buffer {"connection_id":126560,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:33:14] local.INFO: IMEI packet received {"connection_id":126560,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":126560,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:33:15] local.INFO: TCP Data received {"connection_id":126560,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126560,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:33:15] local.INFO: Processing buffer {"connection_id":126560,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:33:15] local.INFO: IMEI packet received {"connection_id":126560,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":126560,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:33:26] local.INFO: TCP Data received {"connection_id":125312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:33:26] local.INFO: Processing buffer {"connection_id":125312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:33:26] local.INFO: IMEI packet received {"connection_id":125312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":125312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:33:31] local.INFO: TCP Data received {"connection_id":125312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:33:31] local.INFO: Processing buffer {"connection_id":125312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:33:31] local.INFO: IMEI packet received {"connection_id":125312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":125312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:33:32] local.INFO: TCP Data received {"connection_id":125312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c047950012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c047950012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:33:32] local.INFO: Processing buffer {"connection_id":125312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c047950012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:33:32] local.INFO: Packet analysis {"connection_id":125312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:33:32] local.INFO: Extracted packet for processing {"connection_id":125312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:33:32] local.INFO: GPS Element Parsed {"raw_longitude":762974848,"raw_latitude":99385640,"longitude_deg":76.2974848,"latitude_deg":9.938564,"altitude":6,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d7a1280","hex_latitude":"05ec8128","is_valid_coordinates":true} 
[2026-07-07 15:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555098368001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783418354000,"timestamp_ms":1783418354000,"timestamp_seconds":1783418354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c047950"} 
[2026-07-07 15:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 15:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 15:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555098368001,"66":12765,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8796233785139079168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555098368001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:33:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:33:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555098368001,"power":12765,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":125312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:33:32] local.INFO: GPS data processed {"connection_id":125312,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:33:32] local.INFO: Acknowledgment sent {"connection_id":125312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:33:42] local.INFO: TCP Data received {"connection_id":126560,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126560,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:33:42] local.INFO: Processing buffer {"connection_id":126560,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:33:42] local.INFO: IMEI packet received {"connection_id":126560,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":126560,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:34:03] local.INFO: TCP Data received {"connection_id":125312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c047950012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c047950012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:34:03] local.INFO: Processing buffer {"connection_id":125312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c047950012d7a128005ec8128000600ff26..."} 
[2026-07-07 15:34:03] local.INFO: Packet analysis {"connection_id":125312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:34:03] local.INFO: Extracted packet for processing {"connection_id":125312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c04"} 
[2026-07-07 15:34:03] local.INFO: GPS Element Parsed {"raw_longitude":762974848,"raw_latitude":99385640,"longitude_deg":76.2974848,"latitude_deg":9.938564,"altitude":6,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d7a1280","hex_latitude":"05ec8128","is_valid_coordinates":true} 
[2026-07-07 15:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555098368001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783418354000,"timestamp_ms":1783418354000,"timestamp_seconds":1783418354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c047950"} 
[2026-07-07 15:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 15:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 15:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555098368001,"66":12765,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8796233785139079168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555098368001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:34:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:34:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555098368001,"power":12765,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":125312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:34:03] local.INFO: GPS data processed {"connection_id":125312,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:34:03] local.INFO: Acknowledgment sent {"connection_id":125312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:34:03] local.INFO: TCP Data received {"connection_id":124594,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:34:03] local.INFO: Processing buffer {"connection_id":124594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:34:03] local.INFO: IMEI packet received {"connection_id":124594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":124594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:34:09] local.INFO: TCP Data received {"connection_id":124594,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:34:09] local.INFO: Processing buffer {"connection_id":124594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:34:09] local.INFO: IMEI packet received {"connection_id":124594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":124594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:34:10] local.INFO: TCP Data received {"connection_id":124594,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c06ea50012da85c00054b1180000d00672d..."} 
[2026-07-07 15:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c06ea50012da85c00054b1180000d00672d..."} 
[2026-07-07 15:34:10] local.INFO: Processing buffer {"connection_id":124594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c06ea50012da85c00054b1180000d00672d..."} 
[2026-07-07 15:34:10] local.INFO: Packet analysis {"connection_id":124594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c06"} 
[2026-07-07 15:34:10] local.INFO: Extracted packet for processing {"connection_id":124594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c06"} 
[2026-07-07 15:34:10] local.INFO: GPS Element Parsed {"raw_longitude":766008320,"raw_latitude":88805760,"longitude_deg":76.600832,"latitude_deg":8.880576,"altitude":13,"angle":103,"satellites":45,"speed":19,"hex_longitude":"2da85c00","hex_latitude":"054b1180","is_valid_coordinates":true} 
[2026-07-07 15:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555135488001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341529700524359680,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6324250122744004608,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783418514000,"timestamp_ms":1783418514000,"timestamp_seconds":1783418514,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c06ea50"} 
[2026-07-07 15:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15: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-07-07 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 15:34: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-07-07 15:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555135488001,"66":27745,"156":206,"84":6144,"24":19,"16":341529700524359680,"45":-6324250122744004608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,84,24,16,45]} 
[2026-07-07 15:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555135488001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:34:10] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 15:34:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341529700524359680,"km_value":341529700524359.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6324250122744004608,"description":"Unknown IO ID 45"} 
[2026-07-07 15:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555135488001,"power":27745,"unknown_156":206,"unknown_84":6144,"ignition":19,"odometer":null,"unknown_45":-6324250122744004608}} 
[2026-07-07 15:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":124594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:34:10] local.INFO: GPS data processed {"connection_id":124594,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:34:10] local.INFO: Acknowledgment sent {"connection_id":124594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:34:15] local.INFO: TCP Data received {"connection_id":126561,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126561,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:34:15] local.INFO: Processing buffer {"connection_id":126561,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:34:15] local.INFO: IMEI packet received {"connection_id":126561,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":126561,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:34:21] local.INFO: TCP Data received {"connection_id":126561,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126561,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:34:21] local.INFO: Processing buffer {"connection_id":126561,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:34:21] local.INFO: IMEI packet received {"connection_id":126561,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":126561,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:34:23] local.INFO: TCP Data received {"connection_id":126561,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c08b740012d0b2b0007036518000a00c706..."} 
[2026-07-07 15:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c08b740012d0b2b0007036518000a00c706..."} 
[2026-07-07 15:34:23] local.INFO: Processing buffer {"connection_id":126561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c08b740012d0b2b0007036518000a00c706..."} 
[2026-07-07 15:34:23] local.INFO: Packet analysis {"connection_id":126561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c08"} 
[2026-07-07 15:34:23] local.INFO: Extracted packet for processing {"connection_id":126561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c08"} 
[2026-07-07 15:34:23] local.INFO: GPS Element Parsed {"raw_longitude":755706624,"raw_latitude":117663000,"longitude_deg":75.5706624,"latitude_deg":11.7663,"altitude":10,"angle":199,"satellites":6,"speed":2,"hex_longitude":"2d0b2b00","hex_latitude":"07036518","is_valid_coordinates":true} 
[2026-07-07 15:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555169536001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23383013140201472,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804736988537507840,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783418632000,"timestamp_ms":1783418632000,"timestamp_seconds":1783418632,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c08b740"} 
[2026-07-07 15:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 15:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555169536001,"66":14559,"229":206,"94":11008,"24":2,"16":23383013140201472,"45":804736988537507840},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,94,24,16,45]} 
[2026-07-07 15:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555169536001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:34:23] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-07 15:34:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23383013140201472,"km_value":23383013140201.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":804736988537507840,"description":"Unknown IO ID 45"} 
[2026-07-07 15:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555169536001,"power":14559,"unknown_229":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":804736988537507840}} 
[2026-07-07 15:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":126561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446161,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:34:23] local.INFO: GPS data processed {"connection_id":126561,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:34:23] local.INFO: Acknowledgment sent {"connection_id":126561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:34:31] local.INFO: TCP Data received {"connection_id":124595,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:34:31] local.INFO: Processing buffer {"connection_id":124595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:34:31] local.INFO: IMEI packet received {"connection_id":124595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":124595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:34:34] local.INFO: TCP Data received {"connection_id":124508,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:34:34] local.INFO: Processing buffer {"connection_id":124508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:34:34] local.INFO: IMEI packet received {"connection_id":124508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 15:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":124508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:34:36] local.INFO: TCP Data received {"connection_id":124595,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:34:36] local.INFO: Processing buffer {"connection_id":124595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:34:36] local.INFO: IMEI packet received {"connection_id":124595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":124595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:34:37] local.INFO: TCP Data received {"connection_id":124595,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:34:37] local.INFO: Processing buffer {"connection_id":124595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:34:37] local.INFO: Packet analysis {"connection_id":124595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:34:37] local.INFO: Extracted packet for processing {"connection_id":124595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:34:37] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385632,"longitude_deg":76.2974144,"latitude_deg":9.9385632,"altitude":6,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8120","is_valid_coordinates":true} 
[2026-07-07 15:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555098624001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783418655000,"timestamp_ms":1783418655000,"timestamp_seconds":1783418655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c091118"} 
[2026-07-07 15:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 15:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 15:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:34: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-07-07 15:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555098624001,"66":12428,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8796233785139079168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555098624001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:34:37] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:34:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555098624001,"power":12428,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":124595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:34:37] local.INFO: GPS data processed {"connection_id":124595,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:34:37] local.INFO: Acknowledgment sent {"connection_id":124595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:34:40] local.INFO: TCP Data received {"connection_id":124594,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c072100012da87e40054b09c0000d00652e..."} 
[2026-07-07 15:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c072100012da87e40054b09c0000d00652e..."} 
[2026-07-07 15:34:40] local.INFO: Processing buffer {"connection_id":124594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c072100012da87e40054b09c0000d00652e..."} 
[2026-07-07 15:34:40] local.INFO: Packet analysis {"connection_id":124594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c07"} 
[2026-07-07 15:34:40] local.INFO: Extracted packet for processing {"connection_id":124594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c07"} 
[2026-07-07 15:34:40] local.INFO: GPS Element Parsed {"raw_longitude":766017088,"raw_latitude":88803776,"longitude_deg":76.6017088,"latitude_deg":8.8803776,"altitude":13,"angle":101,"satellites":46,"speed":19,"hex_longitude":"2da87e40","hex_latitude":"054b09c0","is_valid_coordinates":true} 
[2026-07-07 15:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555139584001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341530130021089280,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6315172554746003456,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783418528000,"timestamp_ms":1783418528000,"timestamp_seconds":1783418528,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c072100"} 
[2026-07-07 15:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15: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-07-07 15: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 15:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555139584001,"66":27767,"116":206,"84":6144,"24":19,"16":341530130021089280,"45":-6315172554746003456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-07-07 15:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555139584001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:34:40] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-07 15:34:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341530130021089280,"km_value":341530130021089.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6315172554746003456,"description":"Unknown IO ID 45"} 
[2026-07-07 15:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555139584001,"power":27767,"unknown_116":206,"unknown_84":6144,"ignition":19,"odometer":null,"unknown_45":-6315172554746003456}} 
[2026-07-07 15:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":124594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:34:40] local.INFO: GPS data processed {"connection_id":124594,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:34:40] local.INFO: Acknowledgment sent {"connection_id":124594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:34:41] local.INFO: TCP Data received {"connection_id":124595,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:34:41] local.INFO: Processing buffer {"connection_id":124595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:34:41] local.INFO: Packet analysis {"connection_id":124595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:34:41] local.INFO: Extracted packet for processing {"connection_id":124595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:34:41] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385632,"longitude_deg":76.2974144,"latitude_deg":9.9385632,"altitude":6,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8120","is_valid_coordinates":true} 
[2026-07-07 15:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555098624001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783418655000,"timestamp_ms":1783418655000,"timestamp_seconds":1783418655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c091118"} 
[2026-07-07 15:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 15: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 15:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555098624001,"66":12428,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8796233785139079168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555098624001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:34:41] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:34:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555098624001,"power":12428,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":124595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:34:41] local.INFO: GPS data processed {"connection_id":124595,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:34:41] local.INFO: Acknowledgment sent {"connection_id":124595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:34:55] local.INFO: TCP Data received {"connection_id":126561,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c095f38012d0b2500070357a00004006706..."} 
[2026-07-07 15:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c095f38012d0b2500070357a00004006706..."} 
[2026-07-07 15:34:55] local.INFO: Processing buffer {"connection_id":126561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c095f38012d0b2500070357a00004006706..."} 
[2026-07-07 15:34:55] local.INFO: Packet analysis {"connection_id":126561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:34:55] local.INFO: Extracted packet for processing {"connection_id":126561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:34:55] local.INFO: GPS Element Parsed {"raw_longitude":755705088,"raw_latitude":117659552,"longitude_deg":75.5705088,"latitude_deg":11.7659552,"altitude":4,"angle":103,"satellites":6,"speed":0,"hex_longitude":"2d0b2500","hex_latitude":"070357a0","is_valid_coordinates":true} 
[2026-07-07 15:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555180544001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23383227888566272,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802977769932158976,"note":"Value kept but may cause issues"} 
[2026-07-07 15:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783418675000,"timestamp_ms":1783418675000,"timestamp_seconds":1783418675,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c095f38"} 
[2026-07-07 15:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:34: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":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-07-07 15:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":126561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":126561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":126561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555180544001,"66":14461,"17":206,"94":11008,"24":0,"16":23383227888566272,"45":802977769932158976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 15:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555180544001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:34:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23383227888566272,"km_value":23383227888566.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":802977769932158976,"description":"Unknown IO ID 45"} 
[2026-07-07 15:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555180544001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":802977769932158976}} 
[2026-07-07 15:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":126561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446165,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:34:56] local.INFO: GPS data processed {"connection_id":126561,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:34:56] local.INFO: Acknowledgment sent {"connection_id":126561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:34:58] local.INFO: TCP Data received {"connection_id":124510,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:34:58] local.INFO: Processing buffer {"connection_id":124510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:34:58] local.INFO: IMEI packet received {"connection_id":124510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":124510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:34:59] local.INFO: TCP Data received {"connection_id":124509,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:34:59] local.INFO: Processing buffer {"connection_id":124509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:34:59] local.INFO: IMEI packet received {"connection_id":124509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 15:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":124509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:35:01] local.INFO: TCP Data received {"connection_id":124510,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:35:01] local.INFO: Processing buffer {"connection_id":124510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:35:01] local.INFO: IMEI packet received {"connection_id":124510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":124510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:35:03] local.INFO: TCP Data received {"connection_id":124510,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:35:03] local.INFO: Processing buffer {"connection_id":124510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:35:03] local.INFO: IMEI packet received {"connection_id":124510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":124510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:35:04] local.INFO: TCP Data received {"connection_id":124510,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c075f80012da8a2c0054b02d0000d005d2e..."} 
[2026-07-07 15:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c075f80012da8a2c0054b02d0000d005d2e..."} 
[2026-07-07 15:35:04] local.INFO: Processing buffer {"connection_id":124510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c075f80012da8a2c0054b02d0000d005d2e..."} 
[2026-07-07 15:35:04] local.INFO: Packet analysis {"connection_id":124510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c07"} 
[2026-07-07 15:35:04] local.INFO: Extracted packet for processing {"connection_id":124510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c07"} 
[2026-07-07 15:35:04] local.INFO: GPS Element Parsed {"raw_longitude":766026432,"raw_latitude":88802000,"longitude_deg":76.6026432,"latitude_deg":8.8802,"altitude":13,"angle":93,"satellites":46,"speed":29,"hex_longitude":"2da8a2c0","hex_latitude":"054b02d0","is_valid_coordinates":true} 
[2026-07-07 15:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555143168001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341530589582589952,"note":"Value kept but may cause issues"} 
[2026-07-07 15:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6305532036794171392,"note":"Value kept but may cause issues"} 
[2026-07-07 15:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783418544000,"timestamp_ms":1783418544000,"timestamp_seconds":1783418544,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c075f80"} 
[2026-07-07 15:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 15:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555143168001,"66":27767,"116":206,"84":6144,"24":29,"16":341530589582589952,"45":-6305532036794171392},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-07-07 15:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555143168001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:35:04] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-07 15:35:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341530589582589952,"km_value":341530589582589.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6305532036794171392,"description":"Unknown IO ID 45"} 
[2026-07-07 15:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555143168001,"power":27767,"unknown_116":206,"unknown_84":6144,"ignition":29,"odometer":null,"unknown_45":-6305532036794171392}} 
[2026-07-07 15:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":124510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:35:04] local.INFO: GPS data processed {"connection_id":124510,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:35:04] local.INFO: Acknowledgment sent {"connection_id":124510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:35:09] local.INFO: TCP Data received {"connection_id":124510,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c079e00012da8ca40054affe0000f005d2e..."} 
[2026-07-07 15:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c079e00012da8ca40054affe0000f005d2e..."} 
[2026-07-07 15:35:09] local.INFO: Processing buffer {"connection_id":124510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c079e00012da8ca40054affe0000f005d2e..."} 
[2026-07-07 15:35:09] local.INFO: Packet analysis {"connection_id":124510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c07"} 
[2026-07-07 15:35:09] local.INFO: Extracted packet for processing {"connection_id":124510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c07"} 
[2026-07-07 15:35:09] local.INFO: GPS Element Parsed {"raw_longitude":766036544,"raw_latitude":88801248,"longitude_deg":76.6036544,"latitude_deg":8.8801248,"altitude":15,"angle":93,"satellites":46,"speed":24,"hex_longitude":"2da8ca40","hex_latitude":"054affe0","is_valid_coordinates":true} 
[2026-07-07 15:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555147264001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341531074913894400,"note":"Value kept but may cause issues"} 
[2026-07-07 15:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295258200144687104,"note":"Value kept but may cause issues"} 
[2026-07-07 15:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783418560000,"timestamp_ms":1783418560000,"timestamp_seconds":1783418560,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c079e00"} 
[2026-07-07 15:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15: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-07-07 15:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 15:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555147264001,"66":27865,"116":206,"84":6144,"24":24,"16":341531074913894400,"45":-6295258200144687104},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-07-07 15:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555147264001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:35:09] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-07 15:35:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341531074913894400,"km_value":341531074913894.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295258200144687104,"description":"Unknown IO ID 45"} 
[2026-07-07 15:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555147264001,"power":27865,"unknown_116":206,"unknown_84":6144,"ignition":24,"odometer":null,"unknown_45":-6295258200144687104}} 
[2026-07-07 15:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":124510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:35:09] local.INFO: GPS data processed {"connection_id":124510,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:35:09] local.INFO: Acknowledgment sent {"connection_id":124510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:35:26] local.INFO: TCP Data received {"connection_id":124511,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:35:26] local.INFO: Processing buffer {"connection_id":124511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:35:26] local.INFO: IMEI packet received {"connection_id":124511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":124511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:35:26] local.INFO: TCP Data received {"connection_id":126561,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c096af0012d0b2740070357200004007206..."} 
[2026-07-07 15:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c096af0012d0b2740070357200004007206..."} 
[2026-07-07 15:35:26] local.INFO: Processing buffer {"connection_id":126561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c096af0012d0b2740070357200004007206..."} 
[2026-07-07 15:35:26] local.INFO: Packet analysis {"connection_id":126561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:35:26] local.INFO: Extracted packet for processing {"connection_id":126561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:35:26] local.INFO: GPS Element Parsed {"raw_longitude":755705664,"raw_latitude":117659424,"longitude_deg":75.5705664,"latitude_deg":11.7659424,"altitude":4,"angle":114,"satellites":6,"speed":9,"hex_longitude":"2d0b2740","hex_latitude":"07035720","is_valid_coordinates":true} 
[2026-07-07 15:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555180800001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23383253658370048,"note":"Value kept but may cause issues"} 
[2026-07-07 15:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803048138676346880,"note":"Value kept but may cause issues"} 
[2026-07-07 15:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783418678000,"timestamp_ms":1783418678000,"timestamp_seconds":1783418678,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c096af0"} 
[2026-07-07 15:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 15:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":126561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":126561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":126561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555180800001,"66":14439,"17":206,"94":11008,"24":9,"16":23383253658370048,"45":803048138676346880},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 15:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555180800001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:35:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23383253658370048,"km_value":23383253658370.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":803048138676346880,"description":"Unknown IO ID 45"} 
[2026-07-07 15:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555180800001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":803048138676346880}} 
[2026-07-07 15:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":126561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446168,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:35:27] local.INFO: GPS data processed {"connection_id":126561,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:35:27] local.INFO: Acknowledgment sent {"connection_id":126561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:35:31] local.INFO: TCP Data received {"connection_id":124511,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:35:31] local.INFO: Processing buffer {"connection_id":124511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:35:31] local.INFO: IMEI packet received {"connection_id":124511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":124511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:35:32] local.INFO: TCP Data received {"connection_id":124511,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:35:32] local.INFO: Processing buffer {"connection_id":124511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:35:32] local.INFO: Packet analysis {"connection_id":124511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:35:32] local.INFO: Extracted packet for processing {"connection_id":124511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:35:32] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385632,"longitude_deg":76.2974144,"latitude_deg":9.9385632,"altitude":6,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8120","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555098624001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783418655000,"timestamp_ms":1783418655000,"timestamp_seconds":1783418655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c091118"} 
[2026-07-07 15:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 15: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 15:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15: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-07-07 15:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555098624001,"66":12428,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8796233785139079168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555098624001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:35:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:35:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555098624001,"power":12428,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":124511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:35:32] local.INFO: GPS data processed {"connection_id":124511,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:35:32] local.INFO: Acknowledgment sent {"connection_id":124511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:35:48] local.INFO: TCP Data received {"connection_id":124510,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c07ec20012da8e380054afe400011005e2f..."} 
[2026-07-07 15:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c07ec20012da8e380054afe400011005e2f..."} 
[2026-07-07 15:35:48] local.INFO: Processing buffer {"connection_id":124510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c07ec20012da8e380054afe400011005e2f..."} 
[2026-07-07 15:35:48] local.INFO: Packet analysis {"connection_id":124510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c07"} 
[2026-07-07 15:35:48] local.INFO: Extracted packet for processing {"connection_id":124510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c07"} 
[2026-07-07 15:35:48] local.INFO: GPS Element Parsed {"raw_longitude":766043008,"raw_latitude":88800832,"longitude_deg":76.6043008,"latitude_deg":8.8800832,"altitude":17,"angle":94,"satellites":47,"speed":0,"hex_longitude":"2da8e380","hex_latitude":"054afe40","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555151360001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341531384151539712,"note":"Value kept but may cause issues"} 
[2026-07-07 15:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6284139938564808704,"note":"Value kept but may cause issues"} 
[2026-07-07 15:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783418580000,"timestamp_ms":1783418580000,"timestamp_seconds":1783418580,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c07ec20"} 
[2026-07-07 15:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 15:35: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-07-07 15: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-07-07 15:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":124510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":124510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":124510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555151360001,"66":27832,"116":206,"84":6144,"24":0,"16":341531384151539712,"45":-6284139938564808704},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-07-07 15:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555151360001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:35:48] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-07 15:35:48] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341531384151539712,"km_value":341531384151539.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6284139938564808704,"description":"Unknown IO ID 45"} 
[2026-07-07 15:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555151360001,"power":27832,"unknown_116":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6284139938564808704}} 
[2026-07-07 15:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":124510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:35:48] local.INFO: GPS data processed {"connection_id":124510,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:35:48] local.INFO: Acknowledgment sent {"connection_id":124510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:35:58] local.INFO: TCP Data received {"connection_id":125314,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:35:58] local.INFO: Processing buffer {"connection_id":125314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:35:58] local.INFO: IMEI packet received {"connection_id":125314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":125314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:36:00] local.INFO: TCP Data received {"connection_id":126561,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0a0f00012d0b6a0007034648000000ae06..."} 
[2026-07-07 15:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0a0f00012d0b6a0007034648000000ae06..."} 
[2026-07-07 15:36:00] local.INFO: Processing buffer {"connection_id":126561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0a0f00012d0b6a0007034648000000ae06..."} 
[2026-07-07 15:36:00] local.INFO: Packet analysis {"connection_id":126561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0a"} 
[2026-07-07 15:36:00] local.INFO: Extracted packet for processing {"connection_id":126561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0a"} 
[2026-07-07 15:36:00] local.INFO: GPS Element Parsed {"raw_longitude":755722752,"raw_latitude":117655112,"longitude_deg":75.5722752,"latitude_deg":11.7655112,"altitude":0,"angle":174,"satellites":6,"speed":10,"hex_longitude":"2d0b6a00","hex_latitude":"07034648","is_valid_coordinates":true} 
[2026-07-07 15:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555191808001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23384134126665728,"note":"Value kept but may cause issues"} 
[2026-07-07 15:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822118068347467776,"note":"Value kept but may cause issues"} 
[2026-07-07 15:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783418720000,"timestamp_ms":1783418720000,"timestamp_seconds":1783418720,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0a0f00"} 
[2026-07-07 15:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 15:36:00] 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-07-07 15:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555191808001,"66":14450,"17":206,"94":11008,"24":10,"16":23384134126665728,"45":822118068347467776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 15:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555191808001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:36:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23384134126665728,"km_value":23384134126665.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":822118068347467776,"description":"Unknown IO ID 45"} 
[2026-07-07 15:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555191808001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":822118068347467776}} 
[2026-07-07 15:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":126561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446171,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:36:00] local.INFO: GPS data processed {"connection_id":126561,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:36:00] local.INFO: Acknowledgment sent {"connection_id":126561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:36:03] local.INFO: TCP Data received {"connection_id":124511,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:36:03] local.INFO: Processing buffer {"connection_id":124511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:36:03] local.INFO: Packet analysis {"connection_id":124511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:36:03] local.INFO: Extracted packet for processing {"connection_id":124511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:36:03] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385632,"longitude_deg":76.2974144,"latitude_deg":9.9385632,"altitude":6,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8120","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555098624001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783418655000,"timestamp_ms":1783418655000,"timestamp_seconds":1783418655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c091118"} 
[2026-07-07 15:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 15: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 15:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15: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-07-07 15:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555098624001,"66":12428,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8796233785139079168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555098624001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:36:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:36:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555098624001,"power":12428,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":124511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:36:03] local.INFO: GPS data processed {"connection_id":124511,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:36:03] local.INFO: Acknowledgment sent {"connection_id":124511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:36:04] local.INFO: TCP Data received {"connection_id":125314,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:36:04] local.INFO: Processing buffer {"connection_id":125314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:36:04] local.INFO: IMEI packet received {"connection_id":125314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":125314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:36:04] local.INFO: TCP Data received {"connection_id":125314,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c084210012da8fd80054afaf8001300662f..."} 
[2026-07-07 15:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c084210012da8fd80054afaf8001300662f..."} 
[2026-07-07 15:36:04] local.INFO: Processing buffer {"connection_id":125314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c084210012da8fd80054afaf8001300662f..."} 
[2026-07-07 15:36:04] local.INFO: Packet analysis {"connection_id":125314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c08"} 
[2026-07-07 15:36:04] local.INFO: Extracted packet for processing {"connection_id":125314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c08"} 
[2026-07-07 15:36:04] local.INFO: GPS Element Parsed {"raw_longitude":766049664,"raw_latitude":88799992,"longitude_deg":76.6049664,"latitude_deg":8.8799992,"altitude":19,"angle":102,"satellites":47,"speed":21,"hex_longitude":"2da8fd80","hex_latitude":"054afaf8","is_valid_coordinates":true} 
[2026-07-07 15:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555156480001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341531706274086912,"note":"Value kept but may cause issues"} 
[2026-07-07 15:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6277032695402971136,"note":"Value kept but may cause issues"} 
[2026-07-07 15:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783418602000,"timestamp_ms":1783418602000,"timestamp_seconds":1783418602,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c084210"} 
[2026-07-07 15:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 15:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555156480001,"66":27908,"116":206,"84":6144,"24":21,"16":341531706274086912,"45":-6277032695402971136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-07-07 15:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555156480001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:36:04] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-07 15:36:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341531706274086912,"km_value":341531706274086.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6277032695402971136,"description":"Unknown IO ID 45"} 
[2026-07-07 15:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555156480001,"power":27908,"unknown_116":206,"unknown_84":6144,"ignition":21,"odometer":null,"unknown_45":-6277032695402971136}} 
[2026-07-07 15:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":125314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:36:04] local.INFO: GPS data processed {"connection_id":125314,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:36:04] local.INFO: Acknowledgment sent {"connection_id":125314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:36:26] local.INFO: TCP Data received {"connection_id":124512,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:36:26] local.INFO: Processing buffer {"connection_id":124512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:36:26] local.INFO: IMEI packet received {"connection_id":124512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":124512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:36:31] local.INFO: TCP Data received {"connection_id":126561,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0a5d20012d0b6b0007034090000000aa06..."} 
[2026-07-07 15:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0a5d20012d0b6b0007034090000000aa06..."} 
[2026-07-07 15:36:31] local.INFO: Processing buffer {"connection_id":126561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0a5d20012d0b6b0007034090000000aa06..."} 
[2026-07-07 15:36:31] local.INFO: Packet analysis {"connection_id":126561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0a"} 
[2026-07-07 15:36:31] local.INFO: Extracted packet for processing {"connection_id":126561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0a"} 
[2026-07-07 15:36:31] local.INFO: GPS Element Parsed {"raw_longitude":755723008,"raw_latitude":117653648,"longitude_deg":75.5723008,"latitude_deg":11.7653648,"altitude":0,"angle":170,"satellites":6,"speed":1,"hex_longitude":"2d0b6b00","hex_latitude":"07034090","is_valid_coordinates":true} 
[2026-07-07 15:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555192320001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23384228615946240,"note":"Value kept but may cause issues"} 
[2026-07-07 15:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822469912068245504,"note":"Value kept but may cause issues"} 
[2026-07-07 15:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783418740000,"timestamp_ms":1783418740000,"timestamp_seconds":1783418740,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0a5d20"} 
[2026-07-07 15:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 15:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555192320001,"66":14580,"17":206,"94":11008,"24":1,"16":23384228615946240,"45":822469912068245504},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 15:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555192320001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:36:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23384228615946240,"km_value":23384228615946.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":822469912068245504,"description":"Unknown IO ID 45"} 
[2026-07-07 15:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555192320001,"power":14580,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":822469912068245504}} 
[2026-07-07 15:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":126561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446174,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:36:31] local.INFO: GPS data processed {"connection_id":126561,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:36:31] local.INFO: Acknowledgment sent {"connection_id":126561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:36:31] local.INFO: TCP Data received {"connection_id":124512,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:36:31] local.INFO: Processing buffer {"connection_id":124512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:36:31] local.INFO: IMEI packet received {"connection_id":124512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":124512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:36:32] local.INFO: TCP Data received {"connection_id":124512,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:36:32] local.INFO: Processing buffer {"connection_id":124512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:36:32] local.INFO: Packet analysis {"connection_id":124512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:36:32] local.INFO: Extracted packet for processing {"connection_id":124512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:36:32] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385632,"longitude_deg":76.2974144,"latitude_deg":9.9385632,"altitude":6,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8120","is_valid_coordinates":true} 
[2026-07-07 15:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555098624001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783418655000,"timestamp_ms":1783418655000,"timestamp_seconds":1783418655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c091118"} 
[2026-07-07 15:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 15:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 15:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555098624001,"66":12428,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8796233785139079168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555098624001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:36:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:36:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555098624001,"power":12428,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":124512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:36:32] local.INFO: GPS data processed {"connection_id":124512,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:36:32] local.INFO: Acknowledgment sent {"connection_id":124512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:36:36] local.INFO: TCP Data received {"connection_id":125314,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c086538012da90c40054af5f0001100712f..."} 
[2026-07-07 15:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c086538012da90c40054af5f0001100712f..."} 
[2026-07-07 15:36:36] local.INFO: Processing buffer {"connection_id":125314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c086538012da90c40054af5f0001100712f..."} 
[2026-07-07 15:36:36] local.INFO: Packet analysis {"connection_id":125314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c08"} 
[2026-07-07 15:36:36] local.INFO: Extracted packet for processing {"connection_id":125314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c08"} 
[2026-07-07 15:36:36] local.INFO: GPS Element Parsed {"raw_longitude":766053440,"raw_latitude":88798704,"longitude_deg":76.605344,"latitude_deg":8.8798704,"altitude":17,"angle":113,"satellites":47,"speed":16,"hex_longitude":"2da90c40","hex_latitude":"054af5f0","is_valid_coordinates":true} 
[2026-07-07 15:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555162112001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341531899547615232,"note":"Value kept but may cause issues"} 
[2026-07-07 15:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6269714346008709120,"note":"Value kept but may cause issues"} 
[2026-07-07 15:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783418611000,"timestamp_ms":1783418611000,"timestamp_seconds":1783418611,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c086538"} 
[2026-07-07 15:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:36: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-07-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 15:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555162112001,"66":27919,"112":206,"84":6144,"24":16,"16":341531899547615232,"45":-6269714346008709120},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-07-07 15:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555162112001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:36:36] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 15:36:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341531899547615232,"km_value":341531899547615.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6269714346008709120,"description":"Unknown IO ID 45"} 
[2026-07-07 15:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555162112001,"power":27919,"unknown_112":206,"unknown_84":6144,"ignition":16,"odometer":null,"unknown_45":-6269714346008709120}} 
[2026-07-07 15:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":125314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:36:36] local.INFO: GPS data processed {"connection_id":125314,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:36:36] local.INFO: Acknowledgment sent {"connection_id":125314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:36:58] local.INFO: TCP Data received {"connection_id":124596,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:36:58] local.INFO: Processing buffer {"connection_id":124596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:36:58] local.INFO: IMEI packet received {"connection_id":124596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":124596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:37:03] local.INFO: TCP Data received {"connection_id":124512,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:37:03] local.INFO: Processing buffer {"connection_id":124512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:37:03] local.INFO: Packet analysis {"connection_id":124512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:37:03] local.INFO: Extracted packet for processing {"connection_id":124512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:37:03] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385632,"longitude_deg":76.2974144,"latitude_deg":9.9385632,"altitude":6,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8120","is_valid_coordinates":true} 
[2026-07-07 15:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555098624001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783418655000,"timestamp_ms":1783418655000,"timestamp_seconds":1783418655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c091118"} 
[2026-07-07 15:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 15:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 15:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555098624001,"66":12428,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8796233785139079168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555098624001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:37:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:37:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555098624001,"power":12428,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":124512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:37:03] local.INFO: GPS data processed {"connection_id":124512,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:37:03] local.INFO: Acknowledgment sent {"connection_id":124512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:37:04] local.INFO: TCP Data received {"connection_id":124596,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:37:04] local.INFO: Processing buffer {"connection_id":124596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:37:04] local.INFO: IMEI packet received {"connection_id":124596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":124596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:37:05] local.INFO: TCP Data received {"connection_id":124596,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c08a3b8012da92e00054ae8b8001100722f..."} 
[2026-07-07 15:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c08a3b8012da92e00054ae8b8001100722f..."} 
[2026-07-07 15:37:05] local.INFO: Processing buffer {"connection_id":124596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c08a3b8012da92e00054ae8b8001100722f..."} 
[2026-07-07 15:37:05] local.INFO: Packet analysis {"connection_id":124596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c08"} 
[2026-07-07 15:37:05] local.INFO: Extracted packet for processing {"connection_id":124596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c08"} 
[2026-07-07 15:37:05] local.INFO: GPS Element Parsed {"raw_longitude":766062080,"raw_latitude":88795320,"longitude_deg":76.606208,"latitude_deg":8.879532,"altitude":17,"angle":114,"satellites":47,"speed":29,"hex_longitude":"2da92e00","hex_latitude":"054ae8b8","is_valid_coordinates":true} 
[2026-07-07 15:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555164416001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341532341929246720,"note":"Value kept but may cause issues"} 
[2026-07-07 15:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6265562590102556672,"note":"Value kept but may cause issues"} 
[2026-07-07 15:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783418627000,"timestamp_ms":1783418627000,"timestamp_seconds":1783418627,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c08a3b8"} 
[2026-07-07 15:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 15:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555164416001,"66":27843,"112":206,"84":6144,"24":29,"16":341532341929246720,"45":-6265562590102556672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-07-07 15:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555164416001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:37:05] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 15:37:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341532341929246720,"km_value":341532341929246.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6265562590102556672,"description":"Unknown IO ID 45"} 
[2026-07-07 15:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555164416001,"power":27843,"unknown_112":206,"unknown_84":6144,"ignition":29,"odometer":null,"unknown_45":-6265562590102556672}} 
[2026-07-07 15:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":124596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:37:05] local.INFO: GPS data processed {"connection_id":124596,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:37:05] local.INFO: Acknowledgment sent {"connection_id":124596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:37:12] local.INFO: TCP Data received {"connection_id":124598,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124598,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:37:12] local.INFO: Processing buffer {"connection_id":124598,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:37:12] local.INFO: IMEI packet received {"connection_id":124598,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":124598,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:37:15] local.INFO: TCP Data received {"connection_id":124598,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124598,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:37:15] local.INFO: Processing buffer {"connection_id":124598,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:37:15] local.INFO: IMEI packet received {"connection_id":124598,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":124598,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:37:17] local.INFO: TCP Data received {"connection_id":124598,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0b5338012d0b83c007034dc80000004707..."} 
[2026-07-07 15:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0b5338012d0b83c007034dc80000004707..."} 
[2026-07-07 15:37:17] local.INFO: Processing buffer {"connection_id":124598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0b5338012d0b83c007034dc80000004707..."} 
[2026-07-07 15:37:17] local.INFO: Packet analysis {"connection_id":124598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0b"} 
[2026-07-07 15:37:17] local.INFO: Extracted packet for processing {"connection_id":124598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0b"} 
[2026-07-07 15:37:17] local.INFO: GPS Element Parsed {"raw_longitude":755729344,"raw_latitude":117657032,"longitude_deg":75.5729344,"latitude_deg":11.7657032,"altitude":0,"angle":71,"satellites":7,"speed":13,"hex_longitude":"2d0b83c0","hex_latitude":"07034dc8","is_valid_coordinates":true} 
[2026-07-07 15:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555213312001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23384701062348800,"note":"Value kept but may cause issues"} 
[2026-07-07 15:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829295680253960192,"note":"Value kept but may cause issues"} 
[2026-07-07 15:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783418803000,"timestamp_ms":1783418803000,"timestamp_seconds":1783418803,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0b5338"} 
[2026-07-07 15:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 15:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124598,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124598,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555213312001,"66":14515,"17":206,"94":11008,"24":13,"16":23384701062348800,"45":829295680253960192},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 15:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555213312001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:37:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23384701062348800,"km_value":23384701062348.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":829295680253960192,"description":"Unknown IO ID 45"} 
[2026-07-07 15:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555213312001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":829295680253960192}} 
[2026-07-07 15:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":124598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446179,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:37:17] local.INFO: GPS data processed {"connection_id":124598,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:37:17] local.INFO: Acknowledgment sent {"connection_id":124598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:37:23] local.INFO: TCP Data received {"connection_id":124598,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0b5720012d0b854007034d880000005307..."} 
[2026-07-07 15:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0b5720012d0b854007034d880000005307..."} 
[2026-07-07 15:37:23] local.INFO: Processing buffer {"connection_id":124598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0b5720012d0b854007034d880000005307..."} 
[2026-07-07 15:37:23] local.INFO: Packet analysis {"connection_id":124598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0b"} 
[2026-07-07 15:37:23] local.INFO: Extracted packet for processing {"connection_id":124598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0b"} 
[2026-07-07 15:37:23] local.INFO: GPS Element Parsed {"raw_longitude":755729728,"raw_latitude":117656968,"longitude_deg":75.5729728,"latitude_deg":11.7656968,"altitude":0,"angle":83,"satellites":7,"speed":13,"hex_longitude":"2d0b8540","hex_latitude":"07034d88","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555213568001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23384718242217984,"note":"Value kept but may cause issues"} 
[2026-07-07 15:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829717892719036416,"note":"Value kept but may cause issues"} 
[2026-07-07 15:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783418804000,"timestamp_ms":1783418804000,"timestamp_seconds":1783418804,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0b5720"} 
[2026-07-07 15:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 15:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15: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-07-07 15:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":124598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":124598,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":124598,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555213568001,"66":14515,"17":206,"94":11008,"24":13,"16":23384718242217984,"45":829717892719036416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 15:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555213568001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:37:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23384718242217984,"km_value":23384718242217.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":829717892719036416,"description":"Unknown IO ID 45"} 
[2026-07-07 15:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555213568001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":829717892719036416}} 
[2026-07-07 15:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":124598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446180,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:37:23] local.INFO: GPS data processed {"connection_id":124598,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:37:23] local.INFO: Acknowledgment sent {"connection_id":124598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:37:27] local.INFO: TCP Data received {"connection_id":126562,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:37:27] local.INFO: Processing buffer {"connection_id":126562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:37:27] local.INFO: IMEI packet received {"connection_id":126562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":126562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:37:31] local.INFO: TCP Data received {"connection_id":126562,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:37:31] local.INFO: Processing buffer {"connection_id":126562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:37:31] local.INFO: IMEI packet received {"connection_id":126562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":126562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:37:32] local.INFO: TCP Data received {"connection_id":126562,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:37:32] local.INFO: Processing buffer {"connection_id":126562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:37:32] local.INFO: Packet analysis {"connection_id":126562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:37:32] local.INFO: Extracted packet for processing {"connection_id":126562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:37:32] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385632,"longitude_deg":76.2974144,"latitude_deg":9.9385632,"altitude":6,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8120","is_valid_coordinates":true} 
[2026-07-07 15:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555098624001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783418655000,"timestamp_ms":1783418655000,"timestamp_seconds":1783418655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c091118"} 
[2026-07-07 15:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 15:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 15:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555098624001,"66":12428,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8796233785139079168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555098624001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:37:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:37:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555098624001,"power":12428,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":126562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:37:32] local.INFO: GPS data processed {"connection_id":126562,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:37:32] local.INFO: Acknowledgment sent {"connection_id":126562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:37:36] local.INFO: TCP Data received {"connection_id":124596,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c08de50012da94f80054adb300012006f2e..."} 
[2026-07-07 15:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c08de50012da94f80054adb300012006f2e..."} 
[2026-07-07 15:37:36] local.INFO: Processing buffer {"connection_id":124596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c08de50012da94f80054adb300012006f2e..."} 
[2026-07-07 15:37:36] local.INFO: Packet analysis {"connection_id":124596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c08"} 
[2026-07-07 15:37:36] local.INFO: Extracted packet for processing {"connection_id":124596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c08"} 
[2026-07-07 15:37:36] local.INFO: GPS Element Parsed {"raw_longitude":766070656,"raw_latitude":88791856,"longitude_deg":76.6070656,"latitude_deg":8.8791856,"altitude":18,"angle":111,"satellites":46,"speed":20,"hex_longitude":"2da94f80","hex_latitude":"054adb30","is_valid_coordinates":true} 
[2026-07-07 15:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555168512001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341532784310878208,"note":"Value kept but may cause issues"} 
[2026-07-07 15:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6256062809639438336,"note":"Value kept but may cause issues"} 
[2026-07-07 15:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783418642000,"timestamp_ms":1783418642000,"timestamp_seconds":1783418642,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c08de50"} 
[2026-07-07 15:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:37: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-07-07 15:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 15:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555168512001,"66":27876,"112":206,"84":6144,"24":20,"16":341532784310878208,"45":-6256062809639438336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-07-07 15:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555168512001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:37:36] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 15:37:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341532784310878208,"km_value":341532784310878.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6256062809639438336,"description":"Unknown IO ID 45"} 
[2026-07-07 15:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555168512001,"power":27876,"unknown_112":206,"unknown_84":6144,"ignition":20,"odometer":null,"unknown_45":-6256062809639438336}} 
[2026-07-07 15:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":124596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:37:36] local.INFO: GPS data processed {"connection_id":124596,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:37:36] local.INFO: Acknowledgment sent {"connection_id":124596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:37:58] local.INFO: TCP Data received {"connection_id":124513,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:37:58] local.INFO: Processing buffer {"connection_id":124513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:37:58] local.INFO: IMEI packet received {"connection_id":124513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":124513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:38:03] local.INFO: TCP Data received {"connection_id":126562,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:38:03] local.INFO: Processing buffer {"connection_id":126562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:38:03] local.INFO: Packet analysis {"connection_id":126562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:38:03] local.INFO: Extracted packet for processing {"connection_id":126562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:38:03] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385632,"longitude_deg":76.2974144,"latitude_deg":9.9385632,"altitude":6,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8120","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555098624001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783418655000,"timestamp_ms":1783418655000,"timestamp_seconds":1783418655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c091118"} 
[2026-07-07 15:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 15: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 15:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555098624001,"66":12428,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8796233785139079168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555098624001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:38:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:38:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555098624001,"power":12428,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":126562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:38:03] local.INFO: GPS data processed {"connection_id":126562,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:38:03] local.INFO: Acknowledgment sent {"connection_id":126562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:38:03] local.INFO: TCP Data received {"connection_id":124513,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:38:03] local.INFO: Processing buffer {"connection_id":124513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:38:03] local.INFO: IMEI packet received {"connection_id":124513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":124513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:38:05] local.INFO: TCP Data received {"connection_id":124513,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c093058012da96700054ad1c0001300712f..."} 
[2026-07-07 15:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c093058012da96700054ad1c0001300712f..."} 
[2026-07-07 15:38:05] local.INFO: Processing buffer {"connection_id":124513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c093058012da96700054ad1c0001300712f..."} 
[2026-07-07 15:38:05] local.INFO: Packet analysis {"connection_id":124513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:38:05] local.INFO: Extracted packet for processing {"connection_id":124513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:38:05] local.INFO: GPS Element Parsed {"raw_longitude":766076672,"raw_latitude":88789440,"longitude_deg":76.6076672,"latitude_deg":8.878944,"altitude":19,"angle":113,"satellites":47,"speed":7,"hex_longitude":"2da96700","hex_latitude":"054ad1c0","is_valid_coordinates":true} 
[2026-07-07 15:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555172352001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341533097843490816,"note":"Value kept but may cause issues"} 
[2026-07-07 15:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6246633397920518144,"note":"Value kept but may cause issues"} 
[2026-07-07 15:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783418663000,"timestamp_ms":1783418663000,"timestamp_seconds":1783418663,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c093058"} 
[2026-07-07 15:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 15:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555172352001,"66":27919,"112":206,"84":6144,"24":7,"16":341533097843490816,"45":-6246633397920518144},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-07-07 15:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555172352001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:38:05] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 15:38:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341533097843490816,"km_value":341533097843490.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6246633397920518144,"description":"Unknown IO ID 45"} 
[2026-07-07 15:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555172352001,"power":27919,"unknown_112":206,"unknown_84":6144,"ignition":7,"odometer":null,"unknown_45":-6246633397920518144}} 
[2026-07-07 15:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":124513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:38:05] local.INFO: GPS data processed {"connection_id":124513,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:38:05] local.INFO: Acknowledgment sent {"connection_id":124513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:38:19] local.INFO: TCP Data received {"connection_id":126563,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:38:19] local.INFO: Processing buffer {"connection_id":126563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:38:19] local.INFO: IMEI packet received {"connection_id":126563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":126563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:38:20] local.INFO: TCP Data received {"connection_id":126563,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:38:20] local.INFO: Processing buffer {"connection_id":126563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:38:20] local.INFO: IMEI packet received {"connection_id":126563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":126563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:38:21] local.INFO: TCP Data received {"connection_id":126563,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:38:21] local.INFO: Processing buffer {"connection_id":126563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:38:21] local.INFO: IMEI packet received {"connection_id":126563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":126563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:38:23] local.INFO: TCP Data received {"connection_id":126563,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:38:23] local.INFO: Processing buffer {"connection_id":126563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:38:23] local.INFO: IMEI packet received {"connection_id":126563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":126563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:38:24] local.INFO: TCP Data received {"connection_id":126563,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0c9388012d0bf60007035850000000670b..."} 
[2026-07-07 15:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0c9388012d0bf60007035850000000670b..."} 
[2026-07-07 15:38:24] local.INFO: Processing buffer {"connection_id":126563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0c9388012d0bf60007035850000000670b..."} 
[2026-07-07 15:38:24] local.INFO: Packet analysis {"connection_id":126563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0c"} 
[2026-07-07 15:38:24] local.INFO: Extracted packet for processing {"connection_id":126563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0c"} 
[2026-07-07 15:38:24] local.INFO: GPS Element Parsed {"raw_longitude":755758592,"raw_latitude":117659728,"longitude_deg":75.5758592,"latitude_deg":11.7659728,"altitude":0,"angle":103,"satellites":11,"speed":17,"hex_longitude":"2d0bf600","hex_latitude":"07035850","is_valid_coordinates":true} 
[2026-07-07 15:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555232512001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23386135581425664,"note":"Value kept but may cause issues"} 
[2026-07-07 15:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":856809859228043264,"note":"Value kept but may cause issues"} 
[2026-07-07 15:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783418885000,"timestamp_ms":1783418885000,"timestamp_seconds":1783418885,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0c9388"} 
[2026-07-07 15:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 15:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":126563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":126563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":126563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555232512001,"66":14613,"17":206,"94":11008,"24":17,"16":23386135581425664,"45":856809859228043264},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 15:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555232512001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:38:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23386135581425664,"km_value":23386135581425.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":856809859228043264,"description":"Unknown IO ID 45"} 
[2026-07-07 15:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555232512001,"power":14613,"axis_x":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":856809859228043264}} 
[2026-07-07 15:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":126563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446185,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:38:24] local.INFO: GPS data processed {"connection_id":126563,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:38:24] local.INFO: Acknowledgment sent {"connection_id":126563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:38:26] local.INFO: TCP Data received {"connection_id":125316,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:38:26] local.INFO: Processing buffer {"connection_id":125316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:38:26] local.INFO: IMEI packet received {"connection_id":125316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":125316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:38:31] local.INFO: TCP Data received {"connection_id":125316,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:38:31] local.INFO: Processing buffer {"connection_id":125316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:38:31] local.INFO: IMEI packet received {"connection_id":125316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":125316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:38:32] local.INFO: TCP Data received {"connection_id":125316,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:38:32] local.INFO: Processing buffer {"connection_id":125316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:38:32] local.INFO: Packet analysis {"connection_id":125316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:38:32] local.INFO: Extracted packet for processing {"connection_id":125316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:38:32] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385632,"longitude_deg":76.2974144,"latitude_deg":9.9385632,"altitude":6,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8120","is_valid_coordinates":true} 
[2026-07-07 15:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555098624001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783418655000,"timestamp_ms":1783418655000,"timestamp_seconds":1783418655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c091118"} 
[2026-07-07 15:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 15:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 15:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555098624001,"66":12428,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8796233785139079168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555098624001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:38:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:38:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555098624001,"power":12428,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":125316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:38:32] local.INFO: GPS data processed {"connection_id":125316,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:38:32] local.INFO: Acknowledgment sent {"connection_id":125316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:38:36] local.INFO: TCP Data received {"connection_id":124513,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0bff18012daad580054a54d8001100692d..."} 
[2026-07-07 15:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0bff18012daad580054a54d8001100692d..."} 
[2026-07-07 15:38:36] local.INFO: Processing buffer {"connection_id":124513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0bff18012daad580054a54d8001100692d..."} 
[2026-07-07 15:38:36] local.INFO: Packet analysis {"connection_id":124513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0b"} 
[2026-07-07 15:38:36] local.INFO: Extracted packet for processing {"connection_id":124513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0b"} 
[2026-07-07 15:38:36] local.INFO: GPS Element Parsed {"raw_longitude":766170496,"raw_latitude":88757464,"longitude_deg":76.6170496,"latitude_deg":8.8757464,"altitude":17,"angle":105,"satellites":45,"speed":45,"hex_longitude":"2daad580","hex_latitude":"054a54d8","is_valid_coordinates":true} 
[2026-07-07 15:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555222784001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341537860962222080,"note":"Value kept but may cause issues"} 
[2026-07-07 15:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6146357937475366912,"note":"Value kept but may cause issues"} 
[2026-07-07 15:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783418847000,"timestamp_ms":1783418847000,"timestamp_seconds":1783418847,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0bff18"} 
[2026-07-07 15:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 15:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555222784001,"66":28006,"120":206,"84":6144,"24":45,"16":341537860962222080,"45":-6146357937475366912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,84,24,16,45]} 
[2026-07-07 15:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555222784001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:38:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 15:38:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341537860962222080,"km_value":341537860962222.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6146357937475366912,"description":"Unknown IO ID 45"} 
[2026-07-07 15:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555222784001,"power":28006,"unknown_120":206,"unknown_84":6144,"ignition":45,"odometer":null,"unknown_45":-6146357937475366912}} 
[2026-07-07 15:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":124513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:38:36] local.INFO: GPS data processed {"connection_id":124513,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:38:36] local.INFO: Acknowledgment sent {"connection_id":124513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:38:55] local.INFO: TCP Data received {"connection_id":126563,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0d3798012d0c17c007033f70000000290c..."} 
[2026-07-07 15:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0d3798012d0c17c007033f70000000290c..."} 
[2026-07-07 15:38:55] local.INFO: Processing buffer {"connection_id":126563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0d3798012d0c17c007033f70000000290c..."} 
[2026-07-07 15:38:55] local.INFO: Packet analysis {"connection_id":126563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0d"} 
[2026-07-07 15:38:55] local.INFO: Extracted packet for processing {"connection_id":126563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0d"} 
[2026-07-07 15:38:55] local.INFO: GPS Element Parsed {"raw_longitude":755767232,"raw_latitude":117653360,"longitude_deg":75.5767232,"latitude_deg":11.765336,"altitude":0,"angle":41,"satellites":12,"speed":12,"hex_longitude":"2d0c17c0","hex_latitude":"07033f70","is_valid_coordinates":true} 
[2026-07-07 15:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555245056001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23386814186258432,"note":"Value kept but may cause issues"} 
[2026-07-07 15:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871024345550303232,"note":"Value kept but may cause issues"} 
[2026-07-07 15:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783418927000,"timestamp_ms":1783418927000,"timestamp_seconds":1783418927,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0d3798"} 
[2026-07-07 15:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 15:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":126563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":126563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":126563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555245056001,"66":14537,"37":206,"94":11008,"24":12,"16":23386814186258432,"45":871024345550303232},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 15:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555245056001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:38:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 15:38:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23386814186258432,"km_value":23386814186258.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":871024345550303232,"description":"Unknown IO ID 45"} 
[2026-07-07 15:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555245056001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":871024345550303232}} 
[2026-07-07 15:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":126563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446188,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:38:55] local.INFO: GPS data processed {"connection_id":126563,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:38:55] local.INFO: Acknowledgment sent {"connection_id":126563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:39:03] local.INFO: TCP Data received {"connection_id":125316,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:39:03] local.INFO: Processing buffer {"connection_id":125316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c091118012d7a0fc005ec8120000600ff29..."} 
[2026-07-07 15:39:03] local.INFO: Packet analysis {"connection_id":125316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:39:03] local.INFO: Extracted packet for processing {"connection_id":125316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c09"} 
[2026-07-07 15:39:03] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385632,"longitude_deg":76.2974144,"latitude_deg":9.9385632,"altitude":6,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8120","is_valid_coordinates":true} 
[2026-07-07 15:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555098624001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783418655000,"timestamp_ms":1783418655000,"timestamp_seconds":1783418655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c091118"} 
[2026-07-07 15:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 15:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 15:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555098624001,"66":12428,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8796233785139079168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555098624001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:39:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:39:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555098624001,"power":12428,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":125316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:39:03] local.INFO: GPS data processed {"connection_id":125316,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:39:03] local.INFO: Acknowledgment sent {"connection_id":125316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:39:04] local.INFO: TCP Data received {"connection_id":124599,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:39:04] local.INFO: Processing buffer {"connection_id":124599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:39:04] local.INFO: IMEI packet received {"connection_id":124599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":124599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:39:09] local.INFO: TCP Data received {"connection_id":124599,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:39:09] local.INFO: Processing buffer {"connection_id":124599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:39:09] local.INFO: IMEI packet received {"connection_id":124599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":124599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:39:10] local.INFO: TCP Data received {"connection_id":124599,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0c0eb8012daae6c0054a51e80011005c2e..."} 
[2026-07-07 15:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0c0eb8012daae6c0054a51e80011005c2e..."} 
[2026-07-07 15:39:10] local.INFO: Processing buffer {"connection_id":124599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0c0eb8012daae6c0054a51e80011005c2e..."} 
[2026-07-07 15:39:10] local.INFO: Packet analysis {"connection_id":124599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0c"} 
[2026-07-07 15:39:10] local.INFO: Extracted packet for processing {"connection_id":124599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0c"} 
[2026-07-07 15:39:10] local.INFO: GPS Element Parsed {"raw_longitude":766174912,"raw_latitude":88756712,"longitude_deg":76.6174912,"latitude_deg":8.8756712,"altitude":17,"angle":92,"satellites":46,"speed":42,"hex_longitude":"2daae6c0","hex_latitude":"054a51e8","is_valid_coordinates":true} 
[2026-07-07 15:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555224832001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341538075710586880,"note":"Value kept but may cause issues"} 
[2026-07-07 15:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6136858157012166656,"note":"Value kept but may cause issues"} 
[2026-07-07 15:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783418851000,"timestamp_ms":1783418851000,"timestamp_seconds":1783418851,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0c0eb8"} 
[2026-07-07 15:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":102,"data_length":795,"current_offset":136} 
[2026-07-07 15:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555224832001,"66":27919,"120":206,"84":6144,"24":42,"16":341538075710586880,"45":-6136858157012166656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,84,24,16,45]} 
[2026-07-07 15:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555224832001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:39:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 15:39:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341538075710586880,"km_value":341538075710586.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6136858157012166656,"description":"Unknown IO ID 45"} 
[2026-07-07 15:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555224832001,"power":27919,"unknown_120":206,"unknown_84":6144,"ignition":42,"odometer":null,"unknown_45":-6136858157012166656}} 
[2026-07-07 15:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":124599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:39:10] local.INFO: GPS data processed {"connection_id":124599,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:39:10] local.INFO: Acknowledgment sent {"connection_id":124599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:39:10] local.INFO: TCP Data received {"connection_id":126564,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126564,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:39:10] local.INFO: Processing buffer {"connection_id":126564,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:39:10] local.INFO: IMEI packet received {"connection_id":126564,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":126564,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:39:11] local.INFO: TCP Data received {"connection_id":124599,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0c2a10012daaf680054a5238001100512e..."} 
[2026-07-07 15:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0c2a10012daaf680054a5238001100512e..."} 
[2026-07-07 15:39:11] local.INFO: Processing buffer {"connection_id":124599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0c2a10012daaf680054a5238001100512e..."} 
[2026-07-07 15:39:11] local.INFO: Packet analysis {"connection_id":124599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0c"} 
[2026-07-07 15:39:11] local.INFO: Extracted packet for processing {"connection_id":124599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0c"} 
[2026-07-07 15:39:11] local.INFO: GPS Element Parsed {"raw_longitude":766178944,"raw_latitude":88756792,"longitude_deg":76.6178944,"latitude_deg":8.8756792,"altitude":17,"angle":81,"satellites":46,"speed":6,"hex_longitude":"2daaf680","hex_latitude":"054a5238","is_valid_coordinates":true} 
[2026-07-07 15:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555225856001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341538268984115200,"note":"Value kept but may cause issues"} 
[2026-07-07 15:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6132002713664100352,"note":"Value kept but may cause issues"} 
[2026-07-07 15:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783418858000,"timestamp_ms":1783418858000,"timestamp_seconds":1783418858,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0c2a10"} 
[2026-07-07 15:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 15:39: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-07-07 15:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555225856001,"66":27919,"120":206,"84":6144,"24":6,"16":341538268984115200,"45":-6132002713664100352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,84,24,16,45]} 
[2026-07-07 15:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555225856001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:39:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 15:39:11] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341538268984115200,"km_value":341538268984115.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6132002713664100352,"description":"Unknown IO ID 45"} 
[2026-07-07 15:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555225856001,"power":27919,"unknown_120":206,"unknown_84":6144,"ignition":6,"odometer":null,"unknown_45":-6132002713664100352}} 
[2026-07-07 15:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":124599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:39:11] local.INFO: GPS data processed {"connection_id":124599,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:39:11] local.INFO: Acknowledgment sent {"connection_id":124599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:39:14] local.INFO: TCP Data received {"connection_id":126564,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126564,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:39:14] local.INFO: Processing buffer {"connection_id":126564,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:39:14] local.INFO: IMEI packet received {"connection_id":126564,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":126564,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:39:15] local.INFO: TCP Data received {"connection_id":126564,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0d3f68012d0c1980070343180000001b0c..."} 
[2026-07-07 15:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0d3f68012d0c1980070343180000001b0c..."} 
[2026-07-07 15:39:15] local.INFO: Processing buffer {"connection_id":126564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0d3f68012d0c1980070343180000001b0c..."} 
[2026-07-07 15:39:15] local.INFO: Packet analysis {"connection_id":126564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0d"} 
[2026-07-07 15:39:15] local.INFO: Extracted packet for processing {"connection_id":126564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0d"} 
[2026-07-07 15:39:15] local.INFO: GPS Element Parsed {"raw_longitude":755767680,"raw_latitude":117654296,"longitude_deg":75.576768,"latitude_deg":11.7654296,"altitude":0,"angle":27,"satellites":12,"speed":17,"hex_longitude":"2d0c1980","hex_latitude":"07034318","is_valid_coordinates":true} 
[2026-07-07 15:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555245312001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23386861430898688,"note":"Value kept but may cause issues"} 
[2026-07-07 15:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871376189271273472,"note":"Value kept but may cause issues"} 
[2026-07-07 15:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783418929000,"timestamp_ms":1783418929000,"timestamp_seconds":1783418929,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0d3f68"} 
[2026-07-07 15:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 15:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555245312001,"66":14439,"37":206,"94":11008,"24":17,"16":23386861430898688,"45":871376189271273472},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 15:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555245312001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:39:15] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 15:39:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23386861430898688,"km_value":23386861430898.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":871376189271273472,"description":"Unknown IO ID 45"} 
[2026-07-07 15:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555245312001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":871376189271273472}} 
[2026-07-07 15:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":126564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446192,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:39:15] local.INFO: GPS data processed {"connection_id":126564,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:39:15] local.INFO: Acknowledgment sent {"connection_id":126564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:39:42] local.INFO: TCP Data received {"connection_id":124599,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0c7c18012dab09c0054a54080012004f2e..."} 
[2026-07-07 15:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0c7c18012dab09c0054a54080012004f2e..."} 
[2026-07-07 15:39:42] local.INFO: Processing buffer {"connection_id":124599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0c7c18012dab09c0054a54080012004f2e..."} 
[2026-07-07 15:39:42] local.INFO: Packet analysis {"connection_id":124599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0c"} 
[2026-07-07 15:39:42] local.INFO: Extracted packet for processing {"connection_id":124599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0c"} 
[2026-07-07 15:39:42] local.INFO: GPS Element Parsed {"raw_longitude":766183872,"raw_latitude":88757256,"longitude_deg":76.6183872,"latitude_deg":8.8757256,"altitude":18,"angle":79,"satellites":46,"speed":19,"hex_longitude":"2dab09c0","hex_latitude":"054a5408","is_valid_coordinates":true} 
[2026-07-07 15:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555227648001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341538505207316480,"note":"Value kept but may cause issues"} 
[2026-07-07 15:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6127569482780887040,"note":"Value kept but may cause issues"} 
[2026-07-07 15:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783418879000,"timestamp_ms":1783418879000,"timestamp_seconds":1783418879,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0c7c18"} 
[2026-07-07 15:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15: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-07-07 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 15:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555227648001,"66":27821,"120":206,"84":6144,"24":19,"16":341538505207316480,"45":-6127569482780887040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,84,24,16,45]} 
[2026-07-07 15:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555227648001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:39:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 15:39:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341538505207316480,"km_value":341538505207316.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6127569482780887040,"description":"Unknown IO ID 45"} 
[2026-07-07 15:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555227648001,"power":27821,"unknown_120":206,"unknown_84":6144,"ignition":19,"odometer":null,"unknown_45":-6127569482780887040}} 
[2026-07-07 15:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":124599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:39:42] local.INFO: GPS data processed {"connection_id":124599,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:39:42] local.INFO: Acknowledgment sent {"connection_id":124599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:39:46] local.INFO: TCP Data received {"connection_id":126564,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0e0a88012d0c388007035d20000100100c..."} 
[2026-07-07 15:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0e0a88012d0c388007035d20000100100c..."} 
[2026-07-07 15:39:46] local.INFO: Processing buffer {"connection_id":126564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0e0a88012d0c388007035d20000100100c..."} 
[2026-07-07 15:39:46] local.INFO: Packet analysis {"connection_id":126564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0e"} 
[2026-07-07 15:39:46] local.INFO: Extracted packet for processing {"connection_id":126564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0e"} 
[2026-07-07 15:39:46] local.INFO: GPS Element Parsed {"raw_longitude":755775616,"raw_latitude":117660960,"longitude_deg":75.5775616,"latitude_deg":11.766096,"altitude":1,"angle":16,"satellites":12,"speed":11,"hex_longitude":"2d0c3880","hex_latitude":"07035d20","is_valid_coordinates":true} 
[2026-07-07 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-07-07 15:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555258112001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23387454136385536,"note":"Value kept but may cause issues"} 
[2026-07-07 15:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880383388527677440,"note":"Value kept but may cause issues"} 
[2026-07-07 15:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783418981000,"timestamp_ms":1783418981000,"timestamp_seconds":1783418981,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0e0a88"} 
[2026-07-07 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-07-07 15:39: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-07-07 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 15:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 15:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":126564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":126564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":126564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555258112001,"66":14548,"37":206,"94":11008,"24":11,"16":23387454136385536,"45":880383388527677440},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 15:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555258112001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:39:46] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 15:39:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23387454136385536,"km_value":23387454136385.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":880383388527677440,"description":"Unknown IO ID 45"} 
[2026-07-07 15:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555258112001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":880383388527677440}} 
[2026-07-07 15:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":126564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446194,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:39:46] local.INFO: GPS data processed {"connection_id":126564,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:39:46] local.INFO: Acknowledgment sent {"connection_id":126564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:39:57] local.INFO: TCP Data received {"connection_id":124514,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:39:57] local.INFO: Processing buffer {"connection_id":124514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:39:57] local.INFO: IMEI packet received {"connection_id":124514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":124514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:39:58] local.INFO: TCP Data received {"connection_id":124514,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:39:58] local.INFO: Processing buffer {"connection_id":124514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:39:58] local.INFO: IMEI packet received {"connection_id":124514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":124514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:40:04] local.INFO: TCP Data received {"connection_id":124514,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:40:04] local.INFO: Processing buffer {"connection_id":124514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:40:04] local.INFO: IMEI packet received {"connection_id":124514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":124514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:40:04] local.INFO: TCP Data received {"connection_id":124514,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0cd208012dab2740054a5b70001600502f..."} 
[2026-07-07 15:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0cd208012dab2740054a5b70001600502f..."} 
[2026-07-07 15:40:04] local.INFO: Processing buffer {"connection_id":124514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0cd208012dab2740054a5b70001600502f..."} 
[2026-07-07 15:40:04] local.INFO: Packet analysis {"connection_id":124514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0c"} 
[2026-07-07 15:40:04] local.INFO: Extracted packet for processing {"connection_id":124514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0c"} 
[2026-07-07 15:40:04] local.INFO: GPS Element Parsed {"raw_longitude":766191424,"raw_latitude":88759152,"longitude_deg":76.6191424,"latitude_deg":8.8759152,"altitude":22,"angle":80,"satellites":47,"speed":24,"hex_longitude":"2dab2740","hex_latitude":"054a5b70","is_valid_coordinates":true} 
[2026-07-07 15:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555233024001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341538878869471232,"note":"Value kept but may cause issues"} 
[2026-07-07 15:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6122151089479088128,"note":"Value kept but may cause issues"} 
[2026-07-07 15:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783418901000,"timestamp_ms":1783418901000,"timestamp_seconds":1783418901,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0cd208"} 
[2026-07-07 15:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 15:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555233024001,"66":27908,"73":206,"84":6144,"24":24,"16":341538878869471232,"45":-6122151089479088128},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,84,24,16,45]} 
[2026-07-07 15:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555233024001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:40:04] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-07 15:40:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341538878869471232,"km_value":341538878869471.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6122151089479088128,"description":"Unknown IO ID 45"} 
[2026-07-07 15:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555233024001,"power":27908,"unknown_73":206,"unknown_84":6144,"ignition":24,"odometer":null,"unknown_45":-6122151089479088128}} 
[2026-07-07 15:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":124514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:40:04] local.INFO: GPS data processed {"connection_id":124514,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:40:04] local.INFO: Acknowledgment sent {"connection_id":124514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:40:10] local.INFO: TCP Data received {"connection_id":126566,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126566,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:40:10] local.INFO: Processing buffer {"connection_id":126566,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:40:10] local.INFO: IMEI packet received {"connection_id":126566,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":126566,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:40:15] local.INFO: TCP Data received {"connection_id":126566,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126566,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:40:15] local.INFO: Processing buffer {"connection_id":126566,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:40:15] local.INFO: IMEI packet received {"connection_id":126566,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":126566,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:40:16] local.INFO: TCP Data received {"connection_id":126566,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0e0e70012d0c38c007035e100001001b0c..."} 
[2026-07-07 15:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0e0e70012d0c38c007035e100001001b0c..."} 
[2026-07-07 15:40:16] local.INFO: Processing buffer {"connection_id":126566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0e0e70012d0c38c007035e100001001b0c..."} 
[2026-07-07 15:40:16] local.INFO: Packet analysis {"connection_id":126566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0e"} 
[2026-07-07 15:40:16] local.INFO: Extracted packet for processing {"connection_id":126566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0e"} 
[2026-07-07 15:40:16] local.INFO: GPS Element Parsed {"raw_longitude":755775680,"raw_latitude":117661200,"longitude_deg":75.577568,"latitude_deg":11.76612,"altitude":1,"angle":27,"satellites":12,"speed":10,"hex_longitude":"2d0c38c0","hex_latitude":"07035e10","is_valid_coordinates":true} 
[2026-07-07 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-07-07 15:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555259136001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23387467021287424,"note":"Value kept but may cause issues"} 
[2026-07-07 15:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880594494760493056,"note":"Value kept but may cause issues"} 
[2026-07-07 15:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783418982000,"timestamp_ms":1783418982000,"timestamp_seconds":1783418982,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0e0e70"} 
[2026-07-07 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-07-07 15:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 15:40:16] 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-07-07 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-07-07 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-07-07 15:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555259136001,"66":14548,"37":206,"94":11008,"24":10,"16":23387467021287424,"45":880594494760493056},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 15:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555259136001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:40:16] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 15:40:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23387467021287424,"km_value":23387467021287.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":880594494760493056,"description":"Unknown IO ID 45"} 
[2026-07-07 15:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555259136001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":880594494760493056}} 
[2026-07-07 15:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":126566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446196,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:40:16] local.INFO: GPS data processed {"connection_id":126566,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:40:16] local.INFO: Acknowledgment sent {"connection_id":126566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:40:29] local.INFO: TCP Data received {"connection_id":126565,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:40:29] local.INFO: Processing buffer {"connection_id":126565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:40:29] local.INFO: IMEI packet received {"connection_id":126565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 15:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":126565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:40:35] local.INFO: TCP Data received {"connection_id":124514,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0d00e8012dab4b40054a60c8001600512e..."} 
[2026-07-07 15:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0d00e8012dab4b40054a60c8001600512e..."} 
[2026-07-07 15:40:35] local.INFO: Processing buffer {"connection_id":124514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0d00e8012dab4b40054a60c8001600512e..."} 
[2026-07-07 15:40:35] local.INFO: Packet analysis {"connection_id":124514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0d"} 
[2026-07-07 15:40:35] local.INFO: Extracted packet for processing {"connection_id":124514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0d"} 
[2026-07-07 15:40:35] local.INFO: GPS Element Parsed {"raw_longitude":766200640,"raw_latitude":88760520,"longitude_deg":76.620064,"latitude_deg":8.876052,"altitude":22,"angle":81,"satellites":46,"speed":36,"hex_longitude":"2dab4b40","hex_latitude":"054a60c8","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555238656001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341539325546070016,"note":"Value kept but may cause issues"} 
[2026-07-07 15:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6113847577665638400,"note":"Value kept but may cause issues"} 
[2026-07-07 15:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783418913000,"timestamp_ms":1783418913000,"timestamp_seconds":1783418913,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0d00e8"} 
[2026-07-07 15:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 15:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555238656001,"66":27908,"73":206,"84":6144,"24":36,"16":341539325546070016,"45":-6113847577665638400},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,84,24,16,45]} 
[2026-07-07 15:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555238656001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:40:35] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-07 15:40:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341539325546070016,"km_value":341539325546070.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6113847577665638400,"description":"Unknown IO ID 45"} 
[2026-07-07 15:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555238656001,"power":27908,"unknown_73":206,"unknown_84":6144,"ignition":36,"odometer":null,"unknown_45":-6113847577665638400}} 
[2026-07-07 15:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":124514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:40:35] local.INFO: GPS data processed {"connection_id":124514,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:40:35] local.INFO: Acknowledgment sent {"connection_id":124514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:40:49] local.INFO: TCP Data received {"connection_id":126566,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0e1640012d0c3a8007035f80000100320c..."} 
[2026-07-07 15:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0e1640012d0c3a8007035f80000100320c..."} 
[2026-07-07 15:40:49] local.INFO: Processing buffer {"connection_id":126566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0e1640012d0c3a8007035f80000100320c..."} 
[2026-07-07 15:40:49] local.INFO: Packet analysis {"connection_id":126566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0e"} 
[2026-07-07 15:40:49] local.INFO: Extracted packet for processing {"connection_id":126566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0e"} 
[2026-07-07 15:40:49] local.INFO: GPS Element Parsed {"raw_longitude":755776128,"raw_latitude":117661568,"longitude_deg":75.5776128,"latitude_deg":11.7661568,"altitude":1,"angle":50,"satellites":12,"speed":11,"hex_longitude":"2d0c3a80","hex_latitude":"07035f80","is_valid_coordinates":true} 
[2026-07-07 15:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555259392001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23387492791091200,"note":"Value kept but may cause issues"} 
[2026-07-07 15:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880664863504732160,"note":"Value kept but may cause issues"} 
[2026-07-07 15:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783418984000,"timestamp_ms":1783418984000,"timestamp_seconds":1783418984,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0e1640"} 
[2026-07-07 15:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 15:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":126566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":126566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":126566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555259392001,"66":14407,"37":206,"94":11008,"24":11,"16":23387492791091200,"45":880664863504732160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 15:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555259392001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:40:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 15:40:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23387492791091200,"km_value":23387492791091.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":880664863504732160,"description":"Unknown IO ID 45"} 
[2026-07-07 15:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555259392001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":880664863504732160}} 
[2026-07-07 15:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":126566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446198,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:40:49] local.INFO: GPS data processed {"connection_id":126566,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:40:49] local.INFO: Acknowledgment sent {"connection_id":126566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:40:59] local.INFO: TCP Data received {"connection_id":124600,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:40:59] local.INFO: Processing buffer {"connection_id":124600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:40:59] local.INFO: IMEI packet received {"connection_id":124600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":124600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:40:59] local.INFO: TCP Data received {"connection_id":124600,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:40:59] local.INFO: Processing buffer {"connection_id":124600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:40:59] local.INFO: IMEI packet received {"connection_id":124600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":124600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:41:04] local.INFO: TCP Data received {"connection_id":124600,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:41:04] local.INFO: Processing buffer {"connection_id":124600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:41:04] local.INFO: IMEI packet received {"connection_id":124600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":124600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:41:04] local.INFO: TCP Data received {"connection_id":124601,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:41:04] local.INFO: Processing buffer {"connection_id":124601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:41:04] local.INFO: IMEI packet received {"connection_id":124601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 15:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":124601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:41:05] local.INFO: TCP Data received {"connection_id":124600,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0d3b80012dab6f40054a64a0001b00552e..."} 
[2026-07-07 15:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0d3b80012dab6f40054a64a0001b00552e..."} 
[2026-07-07 15:41:05] local.INFO: Processing buffer {"connection_id":124600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0d3b80012dab6f40054a64a0001b00552e..."} 
[2026-07-07 15:41:05] local.INFO: Packet analysis {"connection_id":124600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0d"} 
[2026-07-07 15:41:05] local.INFO: Extracted packet for processing {"connection_id":124600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0d"} 
[2026-07-07 15:41:05] local.INFO: GPS Element Parsed {"raw_longitude":766209856,"raw_latitude":88761504,"longitude_deg":76.6209856,"latitude_deg":8.8761504,"altitude":27,"angle":85,"satellites":46,"speed":17,"hex_longitude":"2dab6f40","hex_latitude":"054a64a0","is_valid_coordinates":true} 
[2026-07-07 15:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555241728001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341539772222668800,"note":"Value kept but may cause issues"} 
[2026-07-07 15:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6103714478503704576,"note":"Value kept but may cause issues"} 
[2026-07-07 15:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783418928000,"timestamp_ms":1783418928000,"timestamp_seconds":1783418928,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0d3b80"} 
[2026-07-07 15:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 15:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555241728001,"66":27995,"73":206,"84":6144,"24":17,"16":341539772222668800,"45":-6103714478503704576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,84,24,16,45]} 
[2026-07-07 15:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555241728001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:41:05] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-07 15:41:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341539772222668800,"km_value":341539772222668.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6103714478503704576,"description":"Unknown IO ID 45"} 
[2026-07-07 15:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555241728001,"power":27995,"unknown_73":206,"unknown_84":6144,"ignition":17,"odometer":null,"unknown_45":-6103714478503704576}} 
[2026-07-07 15:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":124600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:41:05] local.INFO: GPS data processed {"connection_id":124600,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:41:05] local.INFO: Acknowledgment sent {"connection_id":124600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:41:10] local.INFO: TCP Data received {"connection_id":124602,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124602,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:41:10] local.INFO: Processing buffer {"connection_id":124602,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:41:10] local.INFO: IMEI packet received {"connection_id":124602,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":124602,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:41:15] local.INFO: TCP Data received {"connection_id":124602,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124602,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:41:15] local.INFO: Processing buffer {"connection_id":124602,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:41:15] local.INFO: IMEI packet received {"connection_id":124602,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":124602,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:41:16] local.INFO: TCP Data received {"connection_id":124602,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0f1bf8012d0c67400703a2000014001a0c..."} 
[2026-07-07 15:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0f1bf8012d0c67400703a2000014001a0c..."} 
[2026-07-07 15:41:16] local.INFO: Processing buffer {"connection_id":124602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0f1bf8012d0c67400703a2000014001a0c..."} 
[2026-07-07 15:41:16] local.INFO: Packet analysis {"connection_id":124602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0f"} 
[2026-07-07 15:41:16] local.INFO: Extracted packet for processing {"connection_id":124602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0f"} 
[2026-07-07 15:41:16] local.INFO: GPS Element Parsed {"raw_longitude":755787584,"raw_latitude":117678592,"longitude_deg":75.5787584,"latitude_deg":11.7678592,"altitude":20,"angle":26,"satellites":12,"speed":2,"hex_longitude":"2d0c6740","hex_latitude":"0703a200","is_valid_coordinates":true} 
[2026-07-07 15:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555276544001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23388661022195712,"note":"Value kept but may cause issues"} 
[2026-07-07 15:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893753449926187008,"note":"Value kept but may cause issues"} 
[2026-07-07 15:41:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 15:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783419051000,"timestamp_ms":1783419051000,"timestamp_seconds":1783419051,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0f1bf8"} 
[2026-07-07 15:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 15:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555276544001,"66":14548,"16":23388661022195712,"94":11008,"24":2,"45":893753449926187008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 15:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555276544001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23388661022195712,"km_value":23388661022195.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:41:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":893753449926187008,"description":"Unknown IO ID 45"} 
[2026-07-07 15:41:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456555276544001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":2,"unknown_45":893753449926187008}} 
[2026-07-07 15:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":124602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446200,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:41:17] local.INFO: GPS data processed {"connection_id":124602,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:41:17] local.INFO: Acknowledgment sent {"connection_id":124602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:41:35] local.INFO: TCP Data received {"connection_id":124600,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0d7a00012dab9240054a6868001900552e..."} 
[2026-07-07 15:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0d7a00012dab9240054a6868001900552e..."} 
[2026-07-07 15:41:35] local.INFO: Processing buffer {"connection_id":124600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0d7a00012dab9240054a6868001900552e..."} 
[2026-07-07 15:41:35] local.INFO: Packet analysis {"connection_id":124600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0d"} 
[2026-07-07 15:41:35] local.INFO: Extracted packet for processing {"connection_id":124600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0d"} 
[2026-07-07 15:41:35] local.INFO: GPS Element Parsed {"raw_longitude":766218816,"raw_latitude":88762472,"longitude_deg":76.6218816,"latitude_deg":8.8762472,"altitude":25,"angle":85,"satellites":46,"speed":27,"hex_longitude":"2dab9240","hex_latitude":"054a6868","is_valid_coordinates":true} 
[2026-07-07 15:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555245568001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341540201719398400,"note":"Value kept but may cause issues"} 
[2026-07-07 15:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6093581379341869056,"note":"Value kept but may cause issues"} 
[2026-07-07 15:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783418944000,"timestamp_ms":1783418944000,"timestamp_seconds":1783418944,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0d7a00"} 
[2026-07-07 15:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:41: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-07-07 15:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 15:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555245568001,"66":27995,"73":206,"84":6144,"24":27,"16":341540201719398400,"45":-6093581379341869056},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,84,24,16,45]} 
[2026-07-07 15:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555245568001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:41:35] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-07 15:41:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341540201719398400,"km_value":341540201719398.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6093581379341869056,"description":"Unknown IO ID 45"} 
[2026-07-07 15:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555245568001,"power":27995,"unknown_73":206,"unknown_84":6144,"ignition":27,"odometer":null,"unknown_45":-6093581379341869056}} 
[2026-07-07 15:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":124600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:41:35] local.INFO: GPS data processed {"connection_id":124600,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:41:35] local.INFO: Acknowledgment sent {"connection_id":124600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:41:48] local.INFO: TCP Data received {"connection_id":124602,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0f1fe0012d0c67800703a250001400020c..."} 
[2026-07-07 15:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0f1fe0012d0c67800703a250001400020c..."} 
[2026-07-07 15:41:48] local.INFO: Processing buffer {"connection_id":124602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0f1fe0012d0c67800703a250001400020c..."} 
[2026-07-07 15:41:48] local.INFO: Packet analysis {"connection_id":124602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0f"} 
[2026-07-07 15:41:48] local.INFO: Extracted packet for processing {"connection_id":124602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0f"} 
[2026-07-07 15:41:48] local.INFO: GPS Element Parsed {"raw_longitude":755787648,"raw_latitude":117678672,"longitude_deg":75.5787648,"latitude_deg":11.7678672,"altitude":20,"angle":2,"satellites":12,"speed":2,"hex_longitude":"2d0c6780","hex_latitude":"0703a250","is_valid_coordinates":true} 
[2026-07-07 15:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555277056001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23388665317163008,"note":"Value kept but may cause issues"} 
[2026-07-07 15:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893753449926230016,"note":"Value kept but may cause issues"} 
[2026-07-07 15:41:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 15:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783419052000,"timestamp_ms":1783419052000,"timestamp_seconds":1783419052,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0f1fe0"} 
[2026-07-07 15:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 15:41:48] 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-07-07 15:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":124602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":124602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":124602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555277056001,"66":14548,"16":23388665317163008,"94":11008,"24":2,"45":893753449926230016},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 15:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555277056001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23388665317163008,"km_value":23388665317163.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:41:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":893753449926230016,"description":"Unknown IO ID 45"} 
[2026-07-07 15:41:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456555277056001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":2,"unknown_45":893753449926230016}} 
[2026-07-07 15:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":124602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446202,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:41:48] local.INFO: GPS data processed {"connection_id":124602,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:41:48] local.INFO: Acknowledgment sent {"connection_id":124602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:41:59] local.INFO: TCP Data received {"connection_id":124515,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:41:59] local.INFO: Processing buffer {"connection_id":124515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:41:59] local.INFO: IMEI packet received {"connection_id":124515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":124515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:42:04] local.INFO: TCP Data received {"connection_id":124515,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:42:04] local.INFO: Processing buffer {"connection_id":124515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:42:04] local.INFO: IMEI packet received {"connection_id":124515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":124515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:42:05] local.INFO: TCP Data received {"connection_id":124515,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0db498012dabb500054a6bd0001a00552e..."} 
[2026-07-07 15:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0db498012dabb500054a6bd0001a00552e..."} 
[2026-07-07 15:42:05] local.INFO: Processing buffer {"connection_id":124515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0db498012dabb500054a6bd0001a00552e..."} 
[2026-07-07 15:42:05] local.INFO: Packet analysis {"connection_id":124515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0d"} 
[2026-07-07 15:42:05] local.INFO: Extracted packet for processing {"connection_id":124515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0d"} 
[2026-07-07 15:42:05] local.INFO: GPS Element Parsed {"raw_longitude":766227712,"raw_latitude":88763344,"longitude_deg":76.6227712,"latitude_deg":8.8763344,"altitude":26,"angle":85,"satellites":46,"speed":10,"hex_longitude":"2dabb500","hex_latitude":"054a6bd0","is_valid_coordinates":true} 
[2026-07-07 15:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555249664001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341540631216128000,"note":"Value kept but may cause issues"} 
[2026-07-07 15:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6083729755156748288,"note":"Value kept but may cause issues"} 
[2026-07-07 15:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783418959000,"timestamp_ms":1783418959000,"timestamp_seconds":1783418959,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0db498"} 
[2026-07-07 15:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 15:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555249664001,"66":27865,"73":206,"84":6144,"24":10,"16":341540631216128000,"45":-6083729755156748288},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,84,24,16,45]} 
[2026-07-07 15:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555249664001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:42:05] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-07 15:42:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341540631216128000,"km_value":341540631216128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6083729755156748288,"description":"Unknown IO ID 45"} 
[2026-07-07 15:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555249664001,"power":27865,"unknown_73":206,"unknown_84":6144,"ignition":10,"odometer":null,"unknown_45":-6083729755156748288}} 
[2026-07-07 15:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":124515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:42:05] local.INFO: GPS data processed {"connection_id":124515,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:42:05] local.INFO: Acknowledgment sent {"connection_id":124515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:42:15] local.INFO: TCP Data received {"connection_id":126567,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126567,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:42:15] local.INFO: Processing buffer {"connection_id":126567,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:42:15] local.INFO: IMEI packet received {"connection_id":126567,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":126567,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:42:20] local.INFO: TCP Data received {"connection_id":126567,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126567,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:42:20] local.INFO: Processing buffer {"connection_id":126567,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:42:20] local.INFO: IMEI packet received {"connection_id":126567,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":126567,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:42:21] local.INFO: TCP Data received {"connection_id":126567,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0f27b0012d0c67800703a3100014000f0c..."} 
[2026-07-07 15:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0f27b0012d0c67800703a3100014000f0c..."} 
[2026-07-07 15:42:21] local.INFO: Processing buffer {"connection_id":126567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0f27b0012d0c67800703a3100014000f0c..."} 
[2026-07-07 15:42:21] local.INFO: Packet analysis {"connection_id":126567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0f"} 
[2026-07-07 15:42:21] local.INFO: Extracted packet for processing {"connection_id":126567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0f"} 
[2026-07-07 15:42:21] local.INFO: GPS Element Parsed {"raw_longitude":755787648,"raw_latitude":117678864,"longitude_deg":75.5787648,"latitude_deg":11.7678864,"altitude":20,"angle":15,"satellites":12,"speed":3,"hex_longitude":"2d0c6780","hex_latitude":"0703a310","is_valid_coordinates":true} 
[2026-07-07 15:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555277312001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23388673907097600,"note":"Value kept but may cause issues"} 
[2026-07-07 15:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893823818670428160,"note":"Value kept but may cause issues"} 
[2026-07-07 15:42:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 15:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783419054000,"timestamp_ms":1783419054000,"timestamp_seconds":1783419054,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0f27b0"} 
[2026-07-07 15:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 15:42:21] 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-07-07 15:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555277312001,"66":14396,"16":23388673907097600,"94":11008,"24":3,"45":893823818670428160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 15:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555277312001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23388673907097600,"km_value":23388673907097.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:42:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":893823818670428160,"description":"Unknown IO ID 45"} 
[2026-07-07 15:42:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456555277312001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":3,"unknown_45":893823818670428160}} 
[2026-07-07 15:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":126567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446204,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:42:21] local.INFO: GPS data processed {"connection_id":126567,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:42:21] local.INFO: Acknowledgment sent {"connection_id":126567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:42:22] local.INFO: TCP Data received {"connection_id":126567,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0f4ad8012d0c68400703a6e0001401610c..."} 
[2026-07-07 15:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0f4ad8012d0c68400703a6e0001401610c..."} 
[2026-07-07 15:42:22] local.INFO: Processing buffer {"connection_id":126567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0f4ad8012d0c68400703a6e0001401610c..."} 
[2026-07-07 15:42:22] local.INFO: Packet analysis {"connection_id":126567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0f"} 
[2026-07-07 15:42:22] local.INFO: Extracted packet for processing {"connection_id":126567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0f"} 
[2026-07-07 15:42:22] local.INFO: GPS Element Parsed {"raw_longitude":755787840,"raw_latitude":117679840,"longitude_deg":75.578784,"latitude_deg":11.767984,"altitude":20,"angle":353,"satellites":12,"speed":0,"hex_longitude":"2d0c6840","hex_latitude":"0703a6e0","is_valid_coordinates":true} 
[2026-07-07 15:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555277824001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23388729741672448,"note":"Value kept but may cause issues"} 
[2026-07-07 15:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893823818670477312,"note":"Value kept but may cause issues"} 
[2026-07-07 15:42:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 15:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783419063000,"timestamp_ms":1783419063000,"timestamp_seconds":1783419063,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0f4ad8"} 
[2026-07-07 15:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 15:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555277824001,"66":14450,"16":23388729741672448,"94":11008,"24":0,"45":893823818670477312},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 15:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555277824001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23388729741672448,"km_value":23388729741672.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:42:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":893823818670477312,"description":"Unknown IO ID 45"} 
[2026-07-07 15:42:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456555277824001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":893823818670477312}} 
[2026-07-07 15:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":126567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446205,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:42:22] local.INFO: GPS data processed {"connection_id":126567,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:42:22] local.INFO: Acknowledgment sent {"connection_id":126567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:42:45] local.INFO: TCP Data received {"connection_id":124515,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0e06a0012dabc180054a6cf8001800552f..."} 
[2026-07-07 15:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0e06a0012dabc180054a6cf8001800552f..."} 
[2026-07-07 15:42:45] local.INFO: Processing buffer {"connection_id":124515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0e06a0012dabc180054a6cf8001800552f..."} 
[2026-07-07 15:42:45] local.INFO: Packet analysis {"connection_id":124515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0e"} 
[2026-07-07 15:42:45] local.INFO: Extracted packet for processing {"connection_id":124515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0e"} 
[2026-07-07 15:42:45] local.INFO: GPS Element Parsed {"raw_longitude":766230912,"raw_latitude":88763640,"longitude_deg":76.6230912,"latitude_deg":8.876364,"altitude":24,"angle":85,"satellites":47,"speed":8,"hex_longitude":"2dabc180","hex_latitude":"054a6cf8","is_valid_coordinates":true} 
[2026-07-07 15:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555253504001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341540785834950656,"note":"Value kept but may cause issues"} 
[2026-07-07 15:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6073948499715829760,"note":"Value kept but may cause issues"} 
[2026-07-07 15:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783418980000,"timestamp_ms":1783418980000,"timestamp_seconds":1783418980,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0e06a0"} 
[2026-07-07 15:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15: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-07-07 15: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":217,"data_length":795,"current_offset":136} 
[2026-07-07 15:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555253504001,"66":27800,"73":206,"84":6144,"24":8,"16":341540785834950656,"45":-6073948499715829760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,84,24,16,45]} 
[2026-07-07 15:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555253504001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:42:45] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-07 15:42:45] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341540785834950656,"km_value":341540785834950.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6073948499715829760,"description":"Unknown IO ID 45"} 
[2026-07-07 15:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555253504001,"power":27800,"unknown_73":206,"unknown_84":6144,"ignition":8,"odometer":null,"unknown_45":-6073948499715829760}} 
[2026-07-07 15:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":124515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:42:45] local.INFO: GPS data processed {"connection_id":124515,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:42:45] local.INFO: Acknowledgment sent {"connection_id":124515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:42:53] local.INFO: TCP Data received {"connection_id":126567,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0f7da0012d0c67800703a848001401350d..."} 
[2026-07-07 15:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0f7da0012d0c67800703a848001401350d..."} 
[2026-07-07 15:42:53] local.INFO: Processing buffer {"connection_id":126567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0f7da0012d0c67800703a848001401350d..."} 
[2026-07-07 15:42:53] local.INFO: Packet analysis {"connection_id":126567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0f"} 
[2026-07-07 15:42:53] local.INFO: Extracted packet for processing {"connection_id":126567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0f"} 
[2026-07-07 15:42:53] local.INFO: GPS Element Parsed {"raw_longitude":755787648,"raw_latitude":117680200,"longitude_deg":75.5787648,"latitude_deg":11.76802,"altitude":20,"angle":309,"satellites":13,"speed":2,"hex_longitude":"2d0c6780","hex_latitude":"0703a848","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555280128001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23388746921541632,"note":"Value kept but may cause issues"} 
[2026-07-07 15:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894034924903260160,"note":"Value kept but may cause issues"} 
[2026-07-07 15:42:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 15:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783419076000,"timestamp_ms":1783419076000,"timestamp_seconds":1783419076,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0f7da0"} 
[2026-07-07 15:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 15:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15: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-07-07 15:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":126567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":126567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":126567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555280128001,"66":14450,"16":23388746921541632,"94":11008,"24":2,"45":894034924903260160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 15:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555280128001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23388746921541632,"km_value":23388746921541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:42:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":894034924903260160,"description":"Unknown IO ID 45"} 
[2026-07-07 15:42:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456555280128001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":2,"unknown_45":894034924903260160}} 
[2026-07-07 15:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":126567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446207,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:42:53] local.INFO: GPS data processed {"connection_id":126567,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:42:53] local.INFO: Acknowledgment sent {"connection_id":126567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:42:59] local.INFO: TCP Data received {"connection_id":124603,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:42:59] local.INFO: Processing buffer {"connection_id":124603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:42:59] local.INFO: IMEI packet received {"connection_id":124603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":124603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:43:00] local.INFO: TCP Data received {"connection_id":124603,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:43:00] local.INFO: Processing buffer {"connection_id":124603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:43:00] local.INFO: IMEI packet received {"connection_id":124603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":124603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:43:04] local.INFO: TCP Data received {"connection_id":124603,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:43:04] local.INFO: Processing buffer {"connection_id":124603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:43:04] local.INFO: IMEI packet received {"connection_id":124603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":124603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:43:05] local.INFO: TCP Data received {"connection_id":124603,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0e58a8012dabd040054a6e68001800562f..."} 
[2026-07-07 15:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0e58a8012dabd040054a6e68001800562f..."} 
[2026-07-07 15:43:05] local.INFO: Processing buffer {"connection_id":124603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0e58a8012dabd040054a6e68001800562f..."} 
[2026-07-07 15:43:05] local.INFO: Packet analysis {"connection_id":124603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0e"} 
[2026-07-07 15:43:05] local.INFO: Extracted packet for processing {"connection_id":124603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0e"} 
[2026-07-07 15:43:05] local.INFO: GPS Element Parsed {"raw_longitude":766234688,"raw_latitude":88764008,"longitude_deg":76.6234688,"latitude_deg":8.8764008,"altitude":24,"angle":86,"satellites":47,"speed":4,"hex_longitude":"2dabd040","hex_latitude":"054a6e68","is_valid_coordinates":true} 
[2026-07-07 15:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555258880001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341540966223577088,"note":"Value kept but may cause issues"} 
[2026-07-07 15:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6070430062506870784,"note":"Value kept but may cause issues"} 
[2026-07-07 15:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783419001000,"timestamp_ms":1783419001000,"timestamp_seconds":1783419001,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0e58a8"} 
[2026-07-07 15:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 15:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555258880001,"66":27821,"73":206,"84":6144,"24":4,"16":341540966223577088,"45":-6070430062506870784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,84,24,16,45]} 
[2026-07-07 15:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555258880001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:43:05] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-07 15:43:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341540966223577088,"km_value":341540966223577.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6070430062506870784,"description":"Unknown IO ID 45"} 
[2026-07-07 15:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555258880001,"power":27821,"unknown_73":206,"unknown_84":6144,"ignition":4,"odometer":null,"unknown_45":-6070430062506870784}} 
[2026-07-07 15:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":124603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:43:05] local.INFO: GPS data processed {"connection_id":124603,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:43:05] local.INFO: Acknowledgment sent {"connection_id":124603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:43:12] local.INFO: TCP Data received {"connection_id":124605,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124605,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:43:12] local.INFO: Processing buffer {"connection_id":124605,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:43:12] local.INFO: IMEI packet received {"connection_id":124605,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":124605,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:43:15] local.INFO: TCP Data received {"connection_id":124605,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124605,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:43:15] local.INFO: Processing buffer {"connection_id":124605,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:43:15] local.INFO: IMEI packet received {"connection_id":124605,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":124605,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:43:16] local.INFO: TCP Data received {"connection_id":124605,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0fcfa8012d0c67400703a8800014013a0e..."} 
[2026-07-07 15:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0fcfa8012d0c67400703a8800014013a0e..."} 
[2026-07-07 15:43:16] local.INFO: Processing buffer {"connection_id":124605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0fcfa8012d0c67400703a8800014013a0e..."} 
[2026-07-07 15:43:16] local.INFO: Packet analysis {"connection_id":124605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0f"} 
[2026-07-07 15:43:16] local.INFO: Extracted packet for processing {"connection_id":124605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0f"} 
[2026-07-07 15:43:16] local.INFO: GPS Element Parsed {"raw_longitude":755787584,"raw_latitude":117680256,"longitude_deg":75.5787584,"latitude_deg":11.7680256,"altitude":20,"angle":314,"satellites":14,"speed":0,"hex_longitude":"2d0c6740","hex_latitude":"0703a880","is_valid_coordinates":true} 
[2026-07-07 15:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555283456001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23388751216508928,"note":"Value kept but may cause issues"} 
[2026-07-07 15:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893823818670819328,"note":"Value kept but may cause issues"} 
[2026-07-07 15:43:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 15:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783419097000,"timestamp_ms":1783419097000,"timestamp_seconds":1783419097,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0fcfa8"} 
[2026-07-07 15:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 15:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555283456001,"66":14548,"16":23388751216508928,"94":11008,"24":0,"45":893823818670819328},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 15:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555283456001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23388751216508928,"km_value":23388751216508.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:43:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":893823818670819328,"description":"Unknown IO ID 45"} 
[2026-07-07 15:43:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456555283456001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":893823818670819328}} 
[2026-07-07 15:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":124605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446209,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:43:16] local.INFO: GPS data processed {"connection_id":124605,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:43:16] local.INFO: Acknowledgment sent {"connection_id":124605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:43:21] local.INFO: TCP Data received {"connection_id":124605,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1021b0012d0c67000703a920001401420e..."} 
[2026-07-07 15:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1021b0012d0c67000703a920001401420e..."} 
[2026-07-07 15:43:21] local.INFO: Processing buffer {"connection_id":124605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1021b0012d0c67000703a920001401420e..."} 
[2026-07-07 15:43:21] local.INFO: Packet analysis {"connection_id":124605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c10"} 
[2026-07-07 15:43:21] local.INFO: Extracted packet for processing {"connection_id":124605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c10"} 
[2026-07-07 15:43:21] local.INFO: GPS Element Parsed {"raw_longitude":755787520,"raw_latitude":117680416,"longitude_deg":75.578752,"latitude_deg":11.7680416,"altitude":20,"angle":322,"satellites":14,"speed":0,"hex_longitude":"2d0c6700","hex_latitude":"0703a920","is_valid_coordinates":true} 
[2026-07-07 15:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555288832001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23388768396378112,"note":"Value kept but may cause issues"} 
[2026-07-07 15:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893753449926656000,"note":"Value kept but may cause issues"} 
[2026-07-07 15:43:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 15:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783419118000,"timestamp_ms":1783419118000,"timestamp_seconds":1783419118,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1021b0"} 
[2026-07-07 15:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 15:43:21] 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-07-07 15:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555288832001,"66":13624,"16":23388768396378112,"94":11008,"24":0,"45":893753449926656000},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 15:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555288832001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23388768396378112,"km_value":23388768396378.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:43:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":893753449926656000,"description":"Unknown IO ID 45"} 
[2026-07-07 15:43:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456555288832001,"power":13624,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":893753449926656000}} 
[2026-07-07 15:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":124605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446210,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:43:21] local.INFO: GPS data processed {"connection_id":124605,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:43:21] local.INFO: Acknowledgment sent {"connection_id":124605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:43:37] local.INFO: TCP Data received {"connection_id":124603,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c0eaab0012dabd2c0054a6e90001900562f..."} 
[2026-07-07 15:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c0eaab0012dabd2c0054a6e90001900562f..."} 
[2026-07-07 15:43:37] local.INFO: Processing buffer {"connection_id":124603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c0eaab0012dabd2c0054a6e90001900562f..."} 
[2026-07-07 15:43:37] local.INFO: Packet analysis {"connection_id":124603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c0e"} 
[2026-07-07 15:43:37] local.INFO: Extracted packet for processing {"connection_id":124603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c0e"} 
[2026-07-07 15:43:37] local.INFO: GPS Element Parsed {"raw_longitude":766235328,"raw_latitude":88764048,"longitude_deg":76.6235328,"latitude_deg":8.8764048,"altitude":25,"angle":86,"satellites":47,"speed":0,"hex_longitude":"2dabd2c0","hex_latitude":"054a6e90","is_valid_coordinates":true} 
[2026-07-07 15:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555264256001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341541000583315456,"note":"Value kept but may cause issues"} 
[2026-07-07 15:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6066278306600294400,"note":"Value kept but may cause issues"} 
[2026-07-07 15:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783419022000,"timestamp_ms":1783419022000,"timestamp_seconds":1783419022,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c0eaab0"} 
[2026-07-07 15:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 15:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555264256001,"66":27800,"73":206,"84":6144,"24":0,"16":341541000583315456,"45":-6066278306600294400},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,84,24,16,45]} 
[2026-07-07 15:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555264256001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:43:37] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-07 15:43:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-07 15:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341541000583315456,"km_value":341541000583315.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6066278306600294400,"description":"Unknown IO ID 45"} 
[2026-07-07 15:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555264256001,"power":27800,"unknown_73":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6066278306600294400}} 
[2026-07-07 15:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":124603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:43:37] local.INFO: GPS data processed {"connection_id":124603,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:43:37] local.INFO: Acknowledgment sent {"connection_id":124603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:43:53] local.INFO: TCP Data received {"connection_id":124605,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c117d58012d0c55000703e2f00017001e0e..."} 
[2026-07-07 15:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c117d58012d0c55000703e2f00017001e0e..."} 
[2026-07-07 15:43:53] local.INFO: Processing buffer {"connection_id":124605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c117d58012d0c55000703e2f00017001e0e..."} 
[2026-07-07 15:43:53] local.INFO: Packet analysis {"connection_id":124605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c11"} 
[2026-07-07 15:43:53] local.INFO: Extracted packet for processing {"connection_id":124605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c11"} 
[2026-07-07 15:43:53] local.INFO: GPS Element Parsed {"raw_longitude":755782912,"raw_latitude":117695216,"longitude_deg":75.5782912,"latitude_deg":11.7695216,"altitude":23,"angle":30,"satellites":14,"speed":8,"hex_longitude":"2d0c5500","hex_latitude":"0703e2f0","is_valid_coordinates":true} 
[2026-07-07 15:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555316736001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23389799188529152,"note":"Value kept but may cause issues"} 
[2026-07-07 15:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888475794117113856,"note":"Value kept but may cause issues"} 
[2026-07-07 15:43:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 15:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783419207000,"timestamp_ms":1783419207000,"timestamp_seconds":1783419207,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c117d58"} 
[2026-07-07 15:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 15:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":124605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":124605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":124605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555316736001,"66":14537,"16":23389799188529152,"94":11008,"24":8,"45":888475794117113856},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 15:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555316736001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23389799188529152,"km_value":23389799188529.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:43:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":888475794117113856,"description":"Unknown IO ID 45"} 
[2026-07-07 15:43:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456555316736001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":888475794117113856}} 
[2026-07-07 15:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":124605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446212,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:43:54] local.INFO: GPS data processed {"connection_id":124605,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:43:54] local.INFO: Acknowledgment sent {"connection_id":124605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:43:58] local.INFO: TCP Data received {"connection_id":124607,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:43:58] local.INFO: Processing buffer {"connection_id":124607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:43:58] local.INFO: IMEI packet received {"connection_id":124607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":124607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:44:04] local.INFO: TCP Data received {"connection_id":124607,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:44:04] local.INFO: Processing buffer {"connection_id":124607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:44:04] local.INFO: IMEI packet received {"connection_id":124607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":124607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:44:05] local.INFO: TCP Data received {"connection_id":124607,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c10f0b8012dacd8400549f698001300742e..."} 
[2026-07-07 15:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c10f0b8012dacd8400549f698001300742e..."} 
[2026-07-07 15:44:05] local.INFO: Processing buffer {"connection_id":124607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c10f0b8012dacd8400549f698001300742e..."} 
[2026-07-07 15:44:05] local.INFO: Packet analysis {"connection_id":124607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c10"} 
[2026-07-07 15:44:05] local.INFO: Extracted packet for processing {"connection_id":124607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c10"} 
[2026-07-07 15:44:05] local.INFO: GPS Element Parsed {"raw_longitude":766302272,"raw_latitude":88733336,"longitude_deg":76.6302272,"latitude_deg":8.8733336,"altitude":19,"angle":116,"satellites":46,"speed":17,"hex_longitude":"2dacd840","hex_latitude":"0549f698","is_valid_coordinates":true} 
[2026-07-07 15:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555304960001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341544573996105728,"note":"Value kept but may cause issues"} 
[2026-07-07 15:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6000905743266056192,"note":"Value kept but may cause issues"} 
[2026-07-07 15:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783419171000,"timestamp_ms":1783419171000,"timestamp_seconds":1783419171,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c10f0b8"} 
[2026-07-07 15:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 15:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555304960001,"66":27876,"152":206,"84":6400,"24":17,"16":341544573996105728,"45":-6000905743266056192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,84,24,16,45]} 
[2026-07-07 15:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555304960001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:44:05] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-07 15:44:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-07-07 15:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341544573996105728,"km_value":341544573996105.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6000905743266056192,"description":"Unknown IO ID 45"} 
[2026-07-07 15:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555304960001,"power":27876,"unknown_152":206,"unknown_84":6400,"ignition":17,"odometer":null,"unknown_45":-6000905743266056192}} 
[2026-07-07 15:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":124607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:44:05] local.INFO: GPS data processed {"connection_id":124607,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:44:05] local.INFO: Acknowledgment sent {"connection_id":124607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:44:10] local.INFO: TCP Data received {"connection_id":126568,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126568,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:44:10] local.INFO: Processing buffer {"connection_id":126568,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:44:10] local.INFO: IMEI packet received {"connection_id":126568,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":126568,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:44:13] local.INFO: TCP Data received {"connection_id":126568,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126568,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:44:13] local.INFO: Processing buffer {"connection_id":126568,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:44:13] local.INFO: IMEI packet received {"connection_id":126568,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":126568,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:44:14] local.INFO: TCP Data received {"connection_id":126568,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c118140012d0c55c00703e3d00017002d0e..."} 
[2026-07-07 15:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c118140012d0c55c00703e3d00017002d0e..."} 
[2026-07-07 15:44:14] local.INFO: Processing buffer {"connection_id":126568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c118140012d0c55c00703e3d00017002d0e..."} 
[2026-07-07 15:44:14] local.INFO: Packet analysis {"connection_id":126568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c11"} 
[2026-07-07 15:44:14] local.INFO: Extracted packet for processing {"connection_id":126568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c11"} 
[2026-07-07 15:44:14] local.INFO: GPS Element Parsed {"raw_longitude":755783104,"raw_latitude":117695440,"longitude_deg":75.5783104,"latitude_deg":11.769544,"altitude":23,"angle":45,"satellites":14,"speed":12,"hex_longitude":"2d0c55c0","hex_latitude":"0703e3d0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 15:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555316992001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23389812073431040,"note":"Value kept but may cause issues"} 
[2026-07-07 15:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888616531605516288,"note":"Value kept but may cause issues"} 
[2026-07-07 15:44:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 15:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783419208000,"timestamp_ms":1783419208000,"timestamp_seconds":1783419208,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c118140"} 
[2026-07-07 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-07-07 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-07-07 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 15:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 15:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555316992001,"66":14537,"16":23389812073431040,"94":11008,"24":12,"45":888616531605516288},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 15:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555316992001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23389812073431040,"km_value":23389812073431.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:44:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":888616531605516288,"description":"Unknown IO ID 45"} 
[2026-07-07 15:44:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456555316992001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":12,"unknown_45":888616531605516288}} 
[2026-07-07 15:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":126568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446214,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:44:14] local.INFO: GPS data processed {"connection_id":126568,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:44:14] local.INFO: Acknowledgment sent {"connection_id":126568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:44:36] local.INFO: TCP Data received {"connection_id":124607,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c112b50012dacf9000549e670001000752c..."} 
[2026-07-07 15:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c112b50012dacf9000549e670001000752c..."} 
[2026-07-07 15:44:36] local.INFO: Processing buffer {"connection_id":124607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c112b50012dacf9000549e670001000752c..."} 
[2026-07-07 15:44:36] local.INFO: Packet analysis {"connection_id":124607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c11"} 
[2026-07-07 15:44:36] local.INFO: Extracted packet for processing {"connection_id":124607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c11"} 
[2026-07-07 15:44:36] local.INFO: GPS Element Parsed {"raw_longitude":766310656,"raw_latitude":88729200,"longitude_deg":76.6310656,"latitude_deg":8.87292,"altitude":16,"angle":117,"satellites":44,"speed":29,"hex_longitude":"2dacf900","hex_latitude":"0549e670","is_valid_coordinates":true} 
[2026-07-07 15:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555307776001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341545020672704512,"note":"Value kept but may cause issues"} 
[2026-07-07 15:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5991968912756533248,"note":"Value kept but may cause issues"} 
[2026-07-07 15:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783419186000,"timestamp_ms":1783419186000,"timestamp_seconds":1783419186,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c112b50"} 
[2026-07-07 15:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 15:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555307776001,"66":27745,"247":206,"84":6400,"24":29,"16":341545020672704512,"45":-5991968912756533248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-07-07 15:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555307776001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:44:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-07-07 15:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341545020672704512,"km_value":341545020672704.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5991968912756533248,"description":"Unknown IO ID 45"} 
[2026-07-07 15:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555307776001,"power":27745,"internal_battery_voltage":206,"unknown_84":6400,"ignition":29,"odometer":null,"unknown_45":-5991968912756533248}} 
[2026-07-07 15:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":124607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:44:36] local.INFO: GPS data processed {"connection_id":124607,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:44:36] local.INFO: Acknowledgment sent {"connection_id":124607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:44:45] local.INFO: TCP Data received {"connection_id":126568,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c11bbd8012d0c72400703faf0001900370e..."} 
[2026-07-07 15:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c11bbd8012d0c72400703faf0001900370e..."} 
[2026-07-07 15:44:45] local.INFO: Processing buffer {"connection_id":126568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c11bbd8012d0c72400703faf0001900370e..."} 
[2026-07-07 15:44:45] local.INFO: Packet analysis {"connection_id":126568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c11"} 
[2026-07-07 15:44:45] local.INFO: Extracted packet for processing {"connection_id":126568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c11"} 
[2026-07-07 15:44:45] local.INFO: GPS Element Parsed {"raw_longitude":755790400,"raw_latitude":117701360,"longitude_deg":75.57904,"latitude_deg":11.770136,"altitude":25,"angle":55,"satellites":14,"speed":31,"hex_longitude":"2d0c7240","hex_latitude":"0703faf0","is_valid_coordinates":true} 
[2026-07-07 15:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555317248001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23390263044997120,"note":"Value kept but may cause issues"} 
[2026-07-07 15:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888827637838106624,"note":"Value kept but may cause issues"} 
[2026-07-07 15:44:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 15:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783419223000,"timestamp_ms":1783419223000,"timestamp_seconds":1783419223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c11bbd8"} 
[2026-07-07 15:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 15:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":126568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":126568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":126568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555317248001,"66":14559,"16":23390263044997120,"94":11008,"24":31,"45":888827637838106624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 15:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555317248001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23390263044997120,"km_value":23390263044997.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:44:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 15:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":888827637838106624,"description":"Unknown IO ID 45"} 
[2026-07-07 15:44:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456555317248001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":31,"unknown_45":888827637838106624}} 
[2026-07-07 15:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":126568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446216,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:44:45] local.INFO: GPS data processed {"connection_id":126568,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:44:45] local.INFO: Acknowledgment sent {"connection_id":126568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:44:58] local.INFO: TCP Data received {"connection_id":125318,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:44:58] local.INFO: Processing buffer {"connection_id":125318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:44:58] local.INFO: IMEI packet received {"connection_id":125318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":125318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:44:59] local.INFO: TCP Data received {"connection_id":125318,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:44:59] local.INFO: Processing buffer {"connection_id":125318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:44:59] local.INFO: IMEI packet received {"connection_id":125318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":125318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:45:04] local.INFO: TCP Data received {"connection_id":125318,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:45:04] local.INFO: Processing buffer {"connection_id":125318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:45:04] local.INFO: IMEI packet received {"connection_id":125318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":125318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:45:04] local.INFO: TCP Data received {"connection_id":125318,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c115648012dad18800549d710001000742d..."} 
[2026-07-07 15:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c115648012dad18800549d710001000742d..."} 
[2026-07-07 15:45:04] local.INFO: Processing buffer {"connection_id":125318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c115648012dad18800549d710001000742d..."} 
[2026-07-07 15:45:04] local.INFO: Packet analysis {"connection_id":125318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c11"} 
[2026-07-07 15:45:04] local.INFO: Extracted packet for processing {"connection_id":125318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c11"} 
[2026-07-07 15:45:04] local.INFO: GPS Element Parsed {"raw_longitude":766318720,"raw_latitude":88725264,"longitude_deg":76.631872,"latitude_deg":8.8725264,"altitude":16,"angle":116,"satellites":45,"speed":34,"hex_longitude":"2dad1880","hex_latitude":"0549d710","is_valid_coordinates":true} 
[2026-07-07 15:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555311616001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341545454464401408,"note":"Value kept but may cause issues"} 
[2026-07-07 15:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5982750607270318080,"note":"Value kept but may cause issues"} 
[2026-07-07 15:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783419197000,"timestamp_ms":1783419197000,"timestamp_seconds":1783419197,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c115648"} 
[2026-07-07 15:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 15:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555311616001,"66":27908,"247":206,"84":6400,"24":34,"16":341545454464401408,"45":-5982750607270318080},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-07-07 15:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555311616001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:45:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-07-07 15:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341545454464401408,"km_value":341545454464401.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5982750607270318080,"description":"Unknown IO ID 45"} 
[2026-07-07 15:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555311616001,"power":27908,"internal_battery_voltage":206,"unknown_84":6400,"ignition":34,"odometer":null,"unknown_45":-5982750607270318080}} 
[2026-07-07 15:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":125318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:45:04] local.INFO: GPS data processed {"connection_id":125318,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:45:04] local.INFO: Acknowledgment sent {"connection_id":125318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:45:10] local.INFO: TCP Data received {"connection_id":126569,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126569,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:45:10] local.INFO: Processing buffer {"connection_id":126569,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:45:10] local.INFO: IMEI packet received {"connection_id":126569,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":126569,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:45:15] local.INFO: TCP Data received {"connection_id":126569,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126569,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:45:15] local.INFO: Processing buffer {"connection_id":126569,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:45:15] local.INFO: IMEI packet received {"connection_id":126569,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":126569,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:45:16] local.INFO: TCP Data received {"connection_id":126569,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c12dce8012d0c8cc00704d2f80019013a0e..."} 
[2026-07-07 15:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c12dce8012d0c8cc00704d2f80019013a0e..."} 
[2026-07-07 15:45:16] local.INFO: Processing buffer {"connection_id":126569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c12dce8012d0c8cc00704d2f80019013a0e..."} 
[2026-07-07 15:45:16] local.INFO: Packet analysis {"connection_id":126569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c12"} 
[2026-07-07 15:45:16] local.INFO: Extracted packet for processing {"connection_id":126569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c12"} 
[2026-07-07 15:45:16] local.INFO: GPS Element Parsed {"raw_longitude":755797184,"raw_latitude":117756664,"longitude_deg":75.5797184,"latitude_deg":11.7756664,"altitude":25,"angle":314,"satellites":14,"speed":13,"hex_longitude":"2d0c8cc0","hex_latitude":"0704d2f8","is_valid_coordinates":true} 
[2026-07-07 15:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555337216001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23393411256025088,"note":"Value kept but may cause issues"} 
[2026-07-07 15:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907616092547391488,"note":"Value kept but may cause issues"} 
[2026-07-07 15:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783419297000,"timestamp_ms":1783419297000,"timestamp_seconds":1783419297,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c12dce8"} 
[2026-07-07 15:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 15:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555337216001,"66":14580,"95":206,"94":10240,"24":13,"16":23393411256025088,"45":907616092547391488},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-07 15:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555337216001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:45:16] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 15:45:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23393411256025088,"km_value":23393411256025.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":907616092547391488,"description":"Unknown IO ID 45"} 
[2026-07-07 15:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555337216001,"power":14580,"unknown_95":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":907616092547391488}} 
[2026-07-07 15:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":126569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446218,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:45:16] local.INFO: GPS data processed {"connection_id":126569,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:45:16] local.INFO: Acknowledgment sent {"connection_id":126569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:45:35] local.INFO: TCP Data received {"connection_id":125318,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c117970012dad35000549ca20001000682f..."} 
[2026-07-07 15:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c117970012dad35000549ca20001000682f..."} 
[2026-07-07 15:45:35] local.INFO: Processing buffer {"connection_id":125318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c117970012dad35000549ca20001000682f..."} 
[2026-07-07 15:45:35] local.INFO: Packet analysis {"connection_id":125318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c11"} 
[2026-07-07 15:45:35] local.INFO: Extracted packet for processing {"connection_id":125318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c11"} 
[2026-07-07 15:45:35] local.INFO: GPS Element Parsed {"raw_longitude":766326016,"raw_latitude":88721952,"longitude_deg":76.6326016,"latitude_deg":8.8721952,"altitude":16,"angle":104,"satellites":47,"speed":34,"hex_longitude":"2dad3500","hex_latitude":"0549ca20","is_valid_coordinates":true} 
[2026-07-07 15:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555314432001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341545836716490752,"note":"Value kept but may cause issues"} 
[2026-07-07 15:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5973884145504940032,"note":"Value kept but may cause issues"} 
[2026-07-07 15:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783419206000,"timestamp_ms":1783419206000,"timestamp_seconds":1783419206,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c117970"} 
[2026-07-07 15:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:45: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-07-07 15:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 15:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555314432001,"66":27974,"247":206,"84":6400,"24":34,"16":341545836716490752,"45":-5973884145504940032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-07-07 15:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555314432001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:45:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-07-07 15:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341545836716490752,"km_value":341545836716490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5973884145504940032,"description":"Unknown IO ID 45"} 
[2026-07-07 15:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555314432001,"power":27974,"internal_battery_voltage":206,"unknown_84":6400,"ignition":34,"odometer":null,"unknown_45":-5973884145504940032}} 
[2026-07-07 15:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":125318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:45:35] local.INFO: GPS data processed {"connection_id":125318,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:45:35] local.INFO: Acknowledgment sent {"connection_id":125318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:45:47] local.INFO: TCP Data received {"connection_id":126569,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c12e0d0012d0c8b400704d3a0001901280e..."} 
[2026-07-07 15:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c12e0d0012d0c8b400704d3a0001901280e..."} 
[2026-07-07 15:45:47] local.INFO: Processing buffer {"connection_id":126569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c12e0d0012d0c8b400704d3a0001901280e..."} 
[2026-07-07 15:45:47] local.INFO: Packet analysis {"connection_id":126569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c12"} 
[2026-07-07 15:45:47] local.INFO: Extracted packet for processing {"connection_id":126569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c12"} 
[2026-07-07 15:45:47] local.INFO: GPS Element Parsed {"raw_longitude":755796800,"raw_latitude":117756832,"longitude_deg":75.57968,"latitude_deg":11.7756832,"altitude":25,"angle":296,"satellites":14,"speed":15,"hex_longitude":"2d0c8b40","hex_latitude":"0704d3a0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 15:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555340032001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23393428435894272,"note":"Value kept but may cause issues"} 
[2026-07-07 15:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904308761572866048,"note":"Value kept but may cause issues"} 
[2026-07-07 15:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783419298000,"timestamp_ms":1783419298000,"timestamp_seconds":1783419298,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c12e0d0"} 
[2026-07-07 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-07-07 15:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-07 15:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 15:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":126569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":126569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":126569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555340032001,"66":14580,"95":206,"94":10240,"24":15,"16":23393428435894272,"45":904308761572866048},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-07 15:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555340032001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:45:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 15:45:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23393428435894272,"km_value":23393428435894.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":904308761572866048,"description":"Unknown IO ID 45"} 
[2026-07-07 15:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555340032001,"power":14580,"unknown_95":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":904308761572866048}} 
[2026-07-07 15:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":126569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446220,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:45:48] local.INFO: GPS data processed {"connection_id":126569,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:45:48] local.INFO: Acknowledgment sent {"connection_id":126569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:46:10] local.INFO: TCP Data received {"connection_id":124517,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124517,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:46:10] local.INFO: Processing buffer {"connection_id":124517,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:46:10] local.INFO: IMEI packet received {"connection_id":124517,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":124517,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:46:11] local.INFO: TCP Data received {"connection_id":124517,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124517,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:46:11] local.INFO: Processing buffer {"connection_id":124517,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:46:11] local.INFO: IMEI packet received {"connection_id":124517,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":124517,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:46:12] local.INFO: TCP Data received {"connection_id":124517,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124517,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:46:12] local.INFO: Processing buffer {"connection_id":124517,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:46:12] local.INFO: IMEI packet received {"connection_id":124517,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":124517,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:46:13] local.INFO: TCP Data received {"connection_id":124517,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124517,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:46:13] local.INFO: Processing buffer {"connection_id":124517,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:46:13] local.INFO: IMEI packet received {"connection_id":124517,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":124517,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:46:14] local.INFO: TCP Data received {"connection_id":124518,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:46:14] local.INFO: Processing buffer {"connection_id":124518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:46:14] local.INFO: IMEI packet received {"connection_id":124518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":124518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:46:14] local.INFO: TCP Data received {"connection_id":124517,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c13f628012d0bc5000704bbc8001d00ed0f..."} 
[2026-07-07 15:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c13f628012d0bc5000704bbc8001d00ed0f..."} 
[2026-07-07 15:46:14] local.INFO: Processing buffer {"connection_id":124517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c13f628012d0bc5000704bbc8001d00ed0f..."} 
[2026-07-07 15:46:14] local.INFO: Packet analysis {"connection_id":124517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c13"} 
[2026-07-07 15:46:14] local.INFO: Extracted packet for processing {"connection_id":124517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c13"} 
[2026-07-07 15:46:14] local.INFO: GPS Element Parsed {"raw_longitude":755746048,"raw_latitude":117750728,"longitude_deg":75.5746048,"latitude_deg":11.7750728,"altitude":29,"angle":237,"satellites":15,"speed":25,"hex_longitude":"2d0bc500","hex_latitude":"0704bbc8","is_valid_coordinates":true} 
[2026-07-07 15:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555357696001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23395889452154880,"note":"Value kept but may cause issues"} 
[2026-07-07 15:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":850054459810619392,"note":"Value kept but may cause issues"} 
[2026-07-07 15:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783419369000,"timestamp_ms":1783419369000,"timestamp_seconds":1783419369,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c13f628"} 
[2026-07-07 15:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":56,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-07 15:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2773,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124517,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124517,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555357696001,"66":14548,"96":206,"94":10240,"24":25,"16":23395889452154880,"45":850054459810619392},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-07 15:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555357696001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:46:14] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 15:46:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23395889452154880,"km_value":23395889452154.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":850054459810619392,"description":"Unknown IO ID 45"} 
[2026-07-07 15:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555357696001,"power":14548,"unknown_96":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":850054459810619392}} 
[2026-07-07 15:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":124517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446221,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:46:14] local.INFO: GPS data processed {"connection_id":124517,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:46:14] local.INFO: Acknowledgment sent {"connection_id":124517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:46:18] local.INFO: TCP Data received {"connection_id":124518,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:46:18] local.INFO: Processing buffer {"connection_id":124518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:46:18] local.INFO: IMEI packet received {"connection_id":124518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":124518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:46:19] local.INFO: TCP Data received {"connection_id":124518,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c118140012dad3bc00549c958001000592f..."} 
[2026-07-07 15:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c118140012dad3bc00549c958001000592f..."} 
[2026-07-07 15:46:19] local.INFO: Processing buffer {"connection_id":124518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c118140012dad3bc00549c958001000592f..."} 
[2026-07-07 15:46:19] local.INFO: Packet analysis {"connection_id":124518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c11"} 
[2026-07-07 15:46:19] local.INFO: Extracted packet for processing {"connection_id":124518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c11"} 
[2026-07-07 15:46:19] local.INFO: GPS Element Parsed {"raw_longitude":766327744,"raw_latitude":88721752,"longitude_deg":76.6327744,"latitude_deg":8.8721752,"altitude":16,"angle":89,"satellites":47,"speed":35,"hex_longitude":"2dad3bc0","hex_latitude":"0549c958","is_valid_coordinates":true} 
[2026-07-07 15:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555316736001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341545922615836672,"note":"Value kept but may cause issues"} 
[2026-07-07 15:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5965862108669534208,"note":"Value kept but may cause issues"} 
[2026-07-07 15:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783419208000,"timestamp_ms":1783419208000,"timestamp_seconds":1783419208,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c118140"} 
[2026-07-07 15:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 15:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555316736001,"66":27919,"247":206,"84":6400,"24":35,"16":341545922615836672,"45":-5965862108669534208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-07-07 15:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555316736001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:46:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-07-07 15:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341545922615836672,"km_value":341545922615836.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5965862108669534208,"description":"Unknown IO ID 45"} 
[2026-07-07 15:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555316736001,"power":27919,"internal_battery_voltage":206,"unknown_84":6400,"ignition":35,"odometer":null,"unknown_45":-5965862108669534208}} 
[2026-07-07 15:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":124518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:46:19] local.INFO: GPS data processed {"connection_id":124518,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:46:19] local.INFO: Acknowledgment sent {"connection_id":124518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:46:19] local.INFO: TCP Data received {"connection_id":124518,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c11ac38012dad62000549ce000010004e2e..."} 
[2026-07-07 15:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c11ac38012dad62000549ce000010004e2e..."} 
[2026-07-07 15:46:19] local.INFO: Processing buffer {"connection_id":124518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c11ac38012dad62000549ce000010004e2e..."} 
[2026-07-07 15:46:19] local.INFO: Packet analysis {"connection_id":124518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c11"} 
[2026-07-07 15:46:19] local.INFO: Extracted packet for processing {"connection_id":124518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c11"} 
[2026-07-07 15:46:19] local.INFO: GPS Element Parsed {"raw_longitude":766337536,"raw_latitude":88722944,"longitude_deg":76.6337536,"latitude_deg":8.8722944,"altitude":16,"angle":78,"satellites":46,"speed":38,"hex_longitude":"2dad6200","hex_latitude":"0549ce00","is_valid_coordinates":true} 
[2026-07-07 15:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555317248001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341546395062239232,"note":"Value kept but may cause issues"} 
[2026-07-07 15:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5963962152576788480,"note":"Value kept but may cause issues"} 
[2026-07-07 15:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783419219000,"timestamp_ms":1783419219000,"timestamp_seconds":1783419219,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c11ac38"} 
[2026-07-07 15:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 15:46: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-07-07 15:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555317248001,"66":27930,"247":206,"84":6400,"24":38,"16":341546395062239232,"45":-5963962152576788480},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-07-07 15:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555317248001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:46:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-07-07 15:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341546395062239232,"km_value":341546395062239.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5963962152576788480,"description":"Unknown IO ID 45"} 
[2026-07-07 15:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555317248001,"power":27930,"internal_battery_voltage":206,"unknown_84":6400,"ignition":38,"odometer":null,"unknown_45":-5963962152576788480}} 
[2026-07-07 15:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":124518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:46:19] local.INFO: GPS data processed {"connection_id":124518,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:46:19] local.INFO: Acknowledgment sent {"connection_id":124518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:46:26] local.INFO: TCP Data received {"connection_id":125319,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125319,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:46:26] local.INFO: Processing buffer {"connection_id":125319,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:46:26] local.INFO: IMEI packet received {"connection_id":125319,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 15:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":125319,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:46:46] local.INFO: TCP Data received {"connection_id":124517,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c13fdf8012d0bc0000704b9e8001d00ff0f..."} 
[2026-07-07 15:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c13fdf8012d0bc0000704b9e8001d00ff0f..."} 
[2026-07-07 15:46:46] local.INFO: Processing buffer {"connection_id":124517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c13fdf8012d0bc0000704b9e8001d00ff0f..."} 
[2026-07-07 15:46:46] local.INFO: Packet analysis {"connection_id":124517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c13"} 
[2026-07-07 15:46:46] local.INFO: Extracted packet for processing {"connection_id":124517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c13"} 
[2026-07-07 15:46:46] local.INFO: GPS Element Parsed {"raw_longitude":755744768,"raw_latitude":117750248,"longitude_deg":75.5744768,"latitude_deg":11.7750248,"altitude":29,"angle":255,"satellites":15,"speed":26,"hex_longitude":"2d0bc000","hex_latitude":"0704b9e8","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555358464001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23395958171631616,"note":"Value kept but may cause issues"} 
[2026-07-07 15:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":848084134973392896,"note":"Value kept but may cause issues"} 
[2026-07-07 15:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783419371000,"timestamp_ms":1783419371000,"timestamp_seconds":1783419371,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c13fdf8"} 
[2026-07-07 15:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 15:46:46] 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-07-07 15: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-07-07 15:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124517,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124517,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555358464001,"66":14102,"96":206,"94":10240,"24":26,"16":23395958171631616,"45":848084134973392896},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-07 15:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555358464001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:46:46] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 15:46:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23395958171631616,"km_value":23395958171631.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":848084134973392896,"description":"Unknown IO ID 45"} 
[2026-07-07 15:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555358464001,"power":14102,"unknown_96":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":848084134973392896}} 
[2026-07-07 15:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":124517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446224,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:46:46] local.INFO: GPS data processed {"connection_id":124517,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:46:46] local.INFO: Acknowledgment sent {"connection_id":124517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:46:58] local.INFO: TCP Data received {"connection_id":125320,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:46:58] local.INFO: Processing buffer {"connection_id":125320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:46:58] local.INFO: IMEI packet received {"connection_id":125320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":125320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:46:58] local.INFO: TCP Data received {"connection_id":126570,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:46:58] local.INFO: Processing buffer {"connection_id":126570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:46:58] local.INFO: IMEI packet received {"connection_id":126570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 15:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":126570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:47:03] local.INFO: TCP Data received {"connection_id":125320,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:47:03] local.INFO: Processing buffer {"connection_id":125320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:47:03] local.INFO: IMEI packet received {"connection_id":125320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":125320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:47:04] local.INFO: TCP Data received {"connection_id":125320,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c13afd8012dae608005499cd0000e007c2b..."} 
[2026-07-07 15:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c13afd8012dae608005499cd0000e007c2b..."} 
[2026-07-07 15:47:04] local.INFO: Processing buffer {"connection_id":125320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c13afd8012dae608005499cd0000e007c2b..."} 
[2026-07-07 15:47:04] local.INFO: Packet analysis {"connection_id":125320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c13"} 
[2026-07-07 15:47:04] local.INFO: Extracted packet for processing {"connection_id":125320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c13"} 
[2026-07-07 15:47:04] local.INFO: GPS Element Parsed {"raw_longitude":766402688,"raw_latitude":88710352,"longitude_deg":76.6402688,"latitude_deg":8.8710352,"altitude":14,"angle":124,"satellites":43,"speed":36,"hex_longitude":"2dae6080","hex_latitude":"05499cd0","is_valid_coordinates":true} 
[2026-07-07 15:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555351040001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341549723661893632,"note":"Value kept but may cause issues"} 
[2026-07-07 15:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5889863864959397888,"note":"Value kept but may cause issues"} 
[2026-07-07 15:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783419351000,"timestamp_ms":1783419351000,"timestamp_seconds":1783419351,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c13afd8"} 
[2026-07-07 15:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 15:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555351040001,"66":27876,"67":206,"84":6400,"24":36,"16":341549723661893632,"45":-5889863864959397888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,84,24,16,45]} 
[2026-07-07 15:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555351040001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:47:04] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-07 15:47:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-07-07 15:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341549723661893632,"km_value":341549723661893.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5889863864959397888,"description":"Unknown IO ID 45"} 
[2026-07-07 15:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555351040001,"power":27876,"unknown_67":206,"unknown_84":6400,"ignition":36,"odometer":null,"unknown_45":-5889863864959397888}} 
[2026-07-07 15:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":125320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:47:04] local.INFO: GPS data processed {"connection_id":125320,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:47:04] local.INFO: Acknowledgment sent {"connection_id":125320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:47:11] local.INFO: TCP Data received {"connection_id":124609,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124609,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:47:11] local.INFO: Processing buffer {"connection_id":124609,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:47:11] local.INFO: IMEI packet received {"connection_id":124609,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":124609,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:47:12] local.INFO: TCP Data received {"connection_id":124609,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124609,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:47:12] local.INFO: Processing buffer {"connection_id":124609,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:47:12] local.INFO: IMEI packet received {"connection_id":124609,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":124609,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:47:16] local.INFO: TCP Data received {"connection_id":124609,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124609,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:47:16] local.INFO: Processing buffer {"connection_id":124609,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:47:16] local.INFO: IMEI packet received {"connection_id":124609,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":124609,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:47:16] local.INFO: TCP Data received {"connection_id":124609,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c148e80012d0b62000704cb08001a01450f..."} 
[2026-07-07 15:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c148e80012d0b62000704cb08001a01450f..."} 
[2026-07-07 15:47:16] local.INFO: Processing buffer {"connection_id":124609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c148e80012d0b62000704cb08001a01450f..."} 
[2026-07-07 15:47:16] local.INFO: Packet analysis {"connection_id":124609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c14"} 
[2026-07-07 15:47:16] local.INFO: Extracted packet for processing {"connection_id":124609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c14"} 
[2026-07-07 15:47:16] local.INFO: GPS Element Parsed {"raw_longitude":755720704,"raw_latitude":117754632,"longitude_deg":75.5720704,"latitude_deg":11.7754632,"altitude":26,"angle":325,"satellites":15,"speed":22,"hex_longitude":"2d0b6200","hex_latitude":"0704cb08","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555367936001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23397203712147456,"note":"Value kept but may cause issues"} 
[2026-07-07 15:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820921799721596928,"note":"Value kept but may cause issues"} 
[2026-07-07 15:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783419408000,"timestamp_ms":1783419408000,"timestamp_seconds":1783419408,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c148e80"} 
[2026-07-07 15:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-07 15:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15: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-07-07 15:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124609,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124609,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555367936001,"66":14374,"96":206,"94":10240,"24":22,"16":23397203712147456,"45":820921799721596928},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-07 15:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555367936001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:47:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 15:47:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23397203712147456,"km_value":23397203712147.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":820921799721596928,"description":"Unknown IO ID 45"} 
[2026-07-07 15:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555367936001,"power":14374,"unknown_96":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":820921799721596928}} 
[2026-07-07 15:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":124609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446226,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:47:17] local.INFO: GPS data processed {"connection_id":124609,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:47:17] local.INFO: Acknowledgment sent {"connection_id":124609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:47:35] local.INFO: TCP Data received {"connection_id":125320,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c13d300012dae7cc0054987f0000e00822c..."} 
[2026-07-07 15:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c13d300012dae7cc0054987f0000e00822c..."} 
[2026-07-07 15:47:35] local.INFO: Processing buffer {"connection_id":125320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c13d300012dae7cc0054987f0000e00822c..."} 
[2026-07-07 15:47:35] local.INFO: Packet analysis {"connection_id":125320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c13"} 
[2026-07-07 15:47:35] local.INFO: Extracted packet for processing {"connection_id":125320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c13"} 
[2026-07-07 15:47:35] local.INFO: GPS Element Parsed {"raw_longitude":766409920,"raw_latitude":88705008,"longitude_deg":76.640992,"latitude_deg":8.8705008,"altitude":14,"angle":130,"satellites":44,"speed":41,"hex_longitude":"2dae7cc0","hex_latitude":"054987f0","is_valid_coordinates":true} 
[2026-07-07 15:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555353856001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341550153158623232,"note":"Value kept but may cause issues"} 
[2026-07-07 15:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5881560353147662336,"note":"Value kept but may cause issues"} 
[2026-07-07 15:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783419360000,"timestamp_ms":1783419360000,"timestamp_seconds":1783419360,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c13d300"} 
[2026-07-07 15:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:47: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-07-07 15:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 15:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555353856001,"66":28050,"67":206,"84":6400,"24":41,"16":341550153158623232,"45":-5881560353147662336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,84,24,16,45]} 
[2026-07-07 15:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555353856001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:47:35] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-07 15:47:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-07-07 15:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341550153158623232,"km_value":341550153158623.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5881560353147662336,"description":"Unknown IO ID 45"} 
[2026-07-07 15:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555353856001,"power":28050,"unknown_67":206,"unknown_84":6400,"ignition":41,"odometer":null,"unknown_45":-5881560353147662336}} 
[2026-07-07 15:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":125320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:47:35] local.INFO: GPS data processed {"connection_id":125320,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:47:35] local.INFO: Acknowledgment sent {"connection_id":125320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:47:50] local.INFO: TCP Data received {"connection_id":124609,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c149268012d0b61400704cdb8001b01530f..."} 
[2026-07-07 15:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c149268012d0b61400704cdb8001b01530f..."} 
[2026-07-07 15:47:50] local.INFO: Processing buffer {"connection_id":124609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c149268012d0b61400704cdb8001b01530f..."} 
[2026-07-07 15:47:50] local.INFO: Packet analysis {"connection_id":124609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c14"} 
[2026-07-07 15:47:50] local.INFO: Extracted packet for processing {"connection_id":124609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c14"} 
[2026-07-07 15:47:50] local.INFO: GPS Element Parsed {"raw_longitude":755720512,"raw_latitude":117755320,"longitude_deg":75.5720512,"latitude_deg":11.775532,"altitude":27,"angle":339,"satellites":15,"speed":27,"hex_longitude":"2d0b6140","hex_latitude":"0704cdb8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 15:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555368448001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23397238071885824,"note":"Value kept but may cause issues"} 
[2026-07-07 15:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820218112280037376,"note":"Value kept but may cause issues"} 
[2026-07-07 15:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783419409000,"timestamp_ms":1783419409000,"timestamp_seconds":1783419409,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c149268"} 
[2026-07-07 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-07-07 15:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 15:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 15:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":124609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":124609,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":124609,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555368448001,"66":14374,"96":206,"94":10240,"24":27,"16":23397238071885824,"45":820218112280037376},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-07 15:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555368448001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:47:50] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 15:47:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23397238071885824,"km_value":23397238071885.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":820218112280037376,"description":"Unknown IO ID 45"} 
[2026-07-07 15:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555368448001,"power":14374,"unknown_96":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":820218112280037376}} 
[2026-07-07 15:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":124609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446228,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:47:51] local.INFO: GPS data processed {"connection_id":124609,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:47:51] local.INFO: Acknowledgment sent {"connection_id":124609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:48:03] local.INFO: TCP Data received {"connection_id":126572,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:48:03] local.INFO: Processing buffer {"connection_id":126572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:48:03] local.INFO: IMEI packet received {"connection_id":126572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":126572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:48:06] local.INFO: TCP Data received {"connection_id":126572,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:48:06] local.INFO: Processing buffer {"connection_id":126572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:48:06] local.INFO: IMEI packet received {"connection_id":126572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":126572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:48:09] local.INFO: TCP Data received {"connection_id":126572,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:48:09] local.INFO: Processing buffer {"connection_id":126572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:48:09] local.INFO: IMEI packet received {"connection_id":126572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":126572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:48:09] local.INFO: TCP Data received {"connection_id":126572,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c13f628012dae984005496f08001000852b..."} 
[2026-07-07 15:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c13f628012dae984005496f08001000852b..."} 
[2026-07-07 15:48:09] local.INFO: Processing buffer {"connection_id":126572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c13f628012dae984005496f08001000852b..."} 
[2026-07-07 15:48:09] local.INFO: Packet analysis {"connection_id":126572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c13"} 
[2026-07-07 15:48:09] local.INFO: Extracted packet for processing {"connection_id":126572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c13"} 
[2026-07-07 15:48:09] local.INFO: GPS Element Parsed {"raw_longitude":766416960,"raw_latitude":88698632,"longitude_deg":76.641696,"latitude_deg":8.8698632,"altitude":16,"angle":133,"satellites":43,"speed":43,"hex_longitude":"2dae9840","hex_latitude":"05496f08","is_valid_coordinates":true} 
[2026-07-07 15:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555356160001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341550612720123904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5873608685056954368,"note":"Value kept but may cause issues"} 
[2026-07-07 15:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783419369000,"timestamp_ms":1783419369000,"timestamp_seconds":1783419369,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c13f628"} 
[2026-07-07 15:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 15:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555356160001,"66":27843,"67":206,"84":6400,"24":43,"16":341550612720123904,"45":-5873608685056954368},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,84,24,16,45]} 
[2026-07-07 15:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555356160001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:48:09] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-07 15:48:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-07-07 15:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341550612720123904,"km_value":341550612720123.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5873608685056954368,"description":"Unknown IO ID 45"} 
[2026-07-07 15:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555356160001,"power":27843,"unknown_67":206,"unknown_84":6400,"ignition":43,"odometer":null,"unknown_45":-5873608685056954368}} 
[2026-07-07 15:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":126572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:48:09] local.INFO: GPS data processed {"connection_id":126572,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:48:09] local.INFO: Acknowledgment sent {"connection_id":126572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:48:25] local.INFO: TCP Data received {"connection_id":125321,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:48:25] local.INFO: Processing buffer {"connection_id":125321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:48:25] local.INFO: IMEI packet received {"connection_id":125321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":125321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:48:30] local.INFO: TCP Data received {"connection_id":125321,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:48:30] local.INFO: Processing buffer {"connection_id":125321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:48:30] local.INFO: IMEI packet received {"connection_id":125321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":125321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:48:37] local.INFO: TCP Data received {"connection_id":125321,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c15cae8012d0b2b400704f9f0001c001010..."} 
[2026-07-07 15:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c15cae8012d0b2b400704f9f0001c001010..."} 
[2026-07-07 15:48:37] local.INFO: Processing buffer {"connection_id":125321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c15cae8012d0b2b400704f9f0001c001010..."} 
[2026-07-07 15:48:37] local.INFO: Packet analysis {"connection_id":125321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c15"} 
[2026-07-07 15:48:37] local.INFO: Extracted packet for processing {"connection_id":125321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c15"} 
[2026-07-07 15:48:37] local.INFO: GPS Element Parsed {"raw_longitude":755706688,"raw_latitude":117766640,"longitude_deg":75.5706688,"latitude_deg":11.776664,"altitude":28,"angle":16,"satellites":16,"speed":6,"hex_longitude":"2d0b2b40","hex_latitude":"0704f9f0","is_valid_coordinates":true} 
[2026-07-07 15:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555387904001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23398324698611712,"note":"Value kept but may cause issues"} 
[2026-07-07 15:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804736988563978240,"note":"Value kept but may cause issues"} 
[2026-07-07 15:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783419489000,"timestamp_ms":1783419489000,"timestamp_seconds":1783419489,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c15cae8"} 
[2026-07-07 15:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15: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-07-07 15:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 15:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555387904001,"66":14548,"96":206,"94":10240,"24":6,"16":23398324698611712,"45":804736988563978240},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-07 15:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555387904001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:48:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 15:48:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23398324698611712,"km_value":23398324698611.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":804736988563978240,"description":"Unknown IO ID 45"} 
[2026-07-07 15:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555387904001,"power":14548,"unknown_96":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":804736988563978240}} 
[2026-07-07 15:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":125321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446230,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:48:37] local.INFO: GPS data processed {"connection_id":125321,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:48:37] local.INFO: Acknowledgment sent {"connection_id":125321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:48:40] local.INFO: TCP Data received {"connection_id":126572,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1555b8012daf5ac0054913780011006d2a..."} 
[2026-07-07 15:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1555b8012daf5ac0054913780011006d2a..."} 
[2026-07-07 15:48:40] local.INFO: Processing buffer {"connection_id":126572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1555b8012daf5ac0054913780011006d2a..."} 
[2026-07-07 15:48:40] local.INFO: Packet analysis {"connection_id":126572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c15"} 
[2026-07-07 15:48:40] local.INFO: Extracted packet for processing {"connection_id":126572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c15"} 
[2026-07-07 15:48:40] local.INFO: GPS Element Parsed {"raw_longitude":766466752,"raw_latitude":88675192,"longitude_deg":76.6466752,"latitude_deg":8.8675192,"altitude":17,"angle":109,"satellites":42,"speed":37,"hex_longitude":"2daf5ac0","hex_latitude":"05491378","is_valid_coordinates":true} 
[2026-07-07 15:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555378688001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341553357204226048,"note":"Value kept but may cause issues"} 
[2026-07-07 15:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5821043233163139072,"note":"Value kept but may cause issues"} 
[2026-07-07 15:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783419459000,"timestamp_ms":1783419459000,"timestamp_seconds":1783419459,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1555b8"} 
[2026-07-07 15:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 15:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555378688001,"66":27767,"80":206,"84":6400,"24":37,"16":341553357204226048,"45":-5821043233163139072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,84,24,16,45]} 
[2026-07-07 15:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555378688001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:48:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-07 15:48:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-07-07 15:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341553357204226048,"km_value":341553357204226.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5821043233163139072,"description":"Unknown IO ID 45"} 
[2026-07-07 15:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555378688001,"power":27767,"unknown_80":206,"unknown_84":6400,"ignition":37,"odometer":null,"unknown_45":-5821043233163139072}} 
[2026-07-07 15:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":126572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:48:41] local.INFO: GPS data processed {"connection_id":126572,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:48:41] local.INFO: Acknowledgment sent {"connection_id":126572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:48:58] local.INFO: TCP Data received {"connection_id":126573,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:48:58] local.INFO: Processing buffer {"connection_id":126573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:48:58] local.INFO: IMEI packet received {"connection_id":126573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":126573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:49:04] local.INFO: TCP Data received {"connection_id":126573,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:49:04] local.INFO: Processing buffer {"connection_id":126573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:49:04] local.INFO: IMEI packet received {"connection_id":126573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":126573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:49:04] local.INFO: TCP Data received {"connection_id":126573,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1578e0012daf7c40054906d80014006e28..."} 
[2026-07-07 15:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1578e0012daf7c40054906d80014006e28..."} 
[2026-07-07 15:49:04] local.INFO: Processing buffer {"connection_id":126573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1578e0012daf7c40054906d80014006e28..."} 
[2026-07-07 15:49:04] local.INFO: Packet analysis {"connection_id":126573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c15"} 
[2026-07-07 15:49:04] local.INFO: Extracted packet for processing {"connection_id":126573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c15"} 
[2026-07-07 15:49:04] local.INFO: GPS Element Parsed {"raw_longitude":766475328,"raw_latitude":88671960,"longitude_deg":76.6475328,"latitude_deg":8.867196,"altitude":20,"angle":110,"satellites":40,"speed":42,"hex_longitude":"2daf7c40","hex_latitude":"054906d8","is_valid_coordinates":true} 
[2026-07-07 15:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555381504001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341553795290890240,"note":"Value kept but may cause issues"} 
[2026-07-07 15:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5811121240234821632,"note":"Value kept but may cause issues"} 
[2026-07-07 15:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783419468000,"timestamp_ms":1783419468000,"timestamp_seconds":1783419468,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1578e0"} 
[2026-07-07 15:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 15:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555381504001,"66":27930,"80":206,"84":6400,"24":42,"16":341553795290890240,"45":-5811121240234821632},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,84,24,16,45]} 
[2026-07-07 15:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555381504001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:49:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-07 15:49:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-07-07 15:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341553795290890240,"km_value":341553795290890.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5811121240234821632,"description":"Unknown IO ID 45"} 
[2026-07-07 15:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555381504001,"power":27930,"unknown_80":206,"unknown_84":6400,"ignition":42,"odometer":null,"unknown_45":-5811121240234821632}} 
[2026-07-07 15:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":126573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:49:05] local.INFO: GPS data processed {"connection_id":126573,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:49:05] local.INFO: Acknowledgment sent {"connection_id":126573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:49:10] local.INFO: TCP Data received {"connection_id":124519,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124519,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:49:10] local.INFO: Processing buffer {"connection_id":124519,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:49:10] local.INFO: IMEI packet received {"connection_id":124519,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":124519,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:49:15] local.INFO: TCP Data received {"connection_id":124519,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124519,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:49:15] local.INFO: Processing buffer {"connection_id":124519,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:49:15] local.INFO: IMEI packet received {"connection_id":124519,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":124519,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:49:16] local.INFO: TCP Data received {"connection_id":124519,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c169dd8012d0b410007055228001a014310..."} 
[2026-07-07 15:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c169dd8012d0b410007055228001a014310..."} 
[2026-07-07 15:49:16] local.INFO: Processing buffer {"connection_id":124519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c169dd8012d0b410007055228001a014310..."} 
[2026-07-07 15:49:16] local.INFO: Packet analysis {"connection_id":124519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c16"} 
[2026-07-07 15:49:16] local.INFO: Extracted packet for processing {"connection_id":124519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c16"} 
[2026-07-07 15:49:16] local.INFO: GPS Element Parsed {"raw_longitude":755712256,"raw_latitude":117789224,"longitude_deg":75.5712256,"latitude_deg":11.7789224,"altitude":26,"angle":323,"satellites":16,"speed":14,"hex_longitude":"2d0b4100","hex_latitude":"07055228","is_valid_coordinates":true} 
[2026-07-07 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-07-07 15:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555402752001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23399488634748928,"note":"Value kept but may cause issues"} 
[2026-07-07 15:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811210913034070016,"note":"Value kept but may cause issues"} 
[2026-07-07 15:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783419543000,"timestamp_ms":1783419543000,"timestamp_seconds":1783419543,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c169dd8"} 
[2026-07-07 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-07-07 15:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 15:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 15:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124519,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124519,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555402752001,"66":14450,"177":206,"94":10240,"24":14,"16":23399488634748928,"45":811210913034070016},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-07 15:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555402752001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:49:16] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 15:49:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23399488634748928,"km_value":23399488634748.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":811210913034070016,"description":"Unknown IO ID 45"} 
[2026-07-07 15:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555402752001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":811210913034070016}} 
[2026-07-07 15:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":124519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446233,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:49:16] local.INFO: GPS data processed {"connection_id":124519,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:49:16] local.INFO: Acknowledgment sent {"connection_id":124519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:49:35] local.INFO: TCP Data received {"connection_id":126573,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c159c08012dafa0c00548f8700015006a29..."} 
[2026-07-07 15:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c159c08012dafa0c00548f8700015006a29..."} 
[2026-07-07 15:49:35] local.INFO: Processing buffer {"connection_id":126573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c159c08012dafa0c00548f8700015006a29..."} 
[2026-07-07 15:49:35] local.INFO: Packet analysis {"connection_id":126573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c15"} 
[2026-07-07 15:49:35] local.INFO: Extracted packet for processing {"connection_id":126573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c15"} 
[2026-07-07 15:49:35] local.INFO: GPS Element Parsed {"raw_longitude":766484672,"raw_latitude":88668272,"longitude_deg":76.6484672,"latitude_deg":8.8668272,"altitude":21,"angle":106,"satellites":41,"speed":45,"hex_longitude":"2dafa0c0","hex_latitude":"0548f870","is_valid_coordinates":true} 
[2026-07-07 15:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555383808001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341554280622194688,"note":"Value kept but may cause issues"} 
[2026-07-07 15:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5801691828515842048,"note":"Value kept but may cause issues"} 
[2026-07-07 15:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783419477000,"timestamp_ms":1783419477000,"timestamp_seconds":1783419477,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c159c08"} 
[2026-07-07 15:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:49: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-07-07 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 15:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555383808001,"66":27843,"80":206,"84":6400,"24":45,"16":341554280622194688,"45":-5801691828515842048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,84,24,16,45]} 
[2026-07-07 15:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555383808001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:49:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-07 15:49:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-07-07 15:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341554280622194688,"km_value":341554280622194.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5801691828515842048,"description":"Unknown IO ID 45"} 
[2026-07-07 15:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555383808001,"power":27843,"unknown_80":206,"unknown_84":6400,"ignition":45,"odometer":null,"unknown_45":-5801691828515842048}} 
[2026-07-07 15:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":126573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:49:35] local.INFO: GPS data processed {"connection_id":126573,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:49:35] local.INFO: Acknowledgment sent {"connection_id":126573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:49:47] local.INFO: TCP Data received {"connection_id":124519,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c16a1c0012d0b400007055350001b013210..."} 
[2026-07-07 15:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c16a1c0012d0b400007055350001b013210..."} 
[2026-07-07 15:49:47] local.INFO: Processing buffer {"connection_id":124519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c16a1c0012d0b400007055350001b013210..."} 
[2026-07-07 15:49:47] local.INFO: Packet analysis {"connection_id":124519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c16"} 
[2026-07-07 15:49:47] local.INFO: Extracted packet for processing {"connection_id":124519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c16"} 
[2026-07-07 15:49:47] local.INFO: GPS Element Parsed {"raw_longitude":755712000,"raw_latitude":117789520,"longitude_deg":75.5712,"latitude_deg":11.778952,"altitude":27,"angle":306,"satellites":16,"speed":17,"hex_longitude":"2d0b4000","hex_latitude":"07055350","is_valid_coordinates":true} 
[2026-07-07 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-07-07 15:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555403008001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23399505814618112,"note":"Value kept but may cause issues"} 
[2026-07-07 15:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":810929438057441280,"note":"Value kept but may cause issues"} 
[2026-07-07 15:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783419544000,"timestamp_ms":1783419544000,"timestamp_seconds":1783419544,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c16a1c0"} 
[2026-07-07 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-07-07 15:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 15:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 15:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124519,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124519,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555403008001,"66":14396,"177":206,"94":10240,"24":17,"16":23399505814618112,"45":810929438057441280},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-07 15:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555403008001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:49:47] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 15:49:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23399505814618112,"km_value":23399505814618.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":810929438057441280,"description":"Unknown IO ID 45"} 
[2026-07-07 15:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555403008001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":810929438057441280}} 
[2026-07-07 15:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":124519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446235,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:49:47] local.INFO: GPS data processed {"connection_id":124519,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:49:47] local.INFO: Acknowledgment sent {"connection_id":124519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:50:16] local.INFO: TCP Data received {"connection_id":124520,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124520,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:50:16] local.INFO: Processing buffer {"connection_id":124520,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:50:16] local.INFO: IMEI packet received {"connection_id":124520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":124520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:50:16] local.INFO: TCP Data received {"connection_id":124520,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124520,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:50:16] local.INFO: Processing buffer {"connection_id":124520,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:50:16] local.INFO: IMEI packet received {"connection_id":124520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":124520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:50:20] local.INFO: TCP Data received {"connection_id":124520,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124520,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:50:20] local.INFO: Processing buffer {"connection_id":124520,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:50:20] local.INFO: IMEI packet received {"connection_id":124520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":124520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:50:21] local.INFO: TCP Data received {"connection_id":124520,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c177898012d0b238007059860001c015910..."} 
[2026-07-07 15:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c177898012d0b238007059860001c015910..."} 
[2026-07-07 15:50:21] local.INFO: Processing buffer {"connection_id":124520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c177898012d0b238007059860001c015910..."} 
[2026-07-07 15:50:21] local.INFO: Packet analysis {"connection_id":124520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c17"} 
[2026-07-07 15:50:21] local.INFO: Extracted packet for processing {"connection_id":124520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c17"} 
[2026-07-07 15:50:21] local.INFO: GPS Element Parsed {"raw_longitude":755704704,"raw_latitude":117807200,"longitude_deg":75.5704704,"latitude_deg":11.78072,"altitude":28,"angle":345,"satellites":16,"speed":9,"hex_longitude":"2d0b2380","hex_latitude":"07059860","is_valid_coordinates":true} 
[2026-07-07 15:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555415552001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23400622506115072,"note":"Value kept but may cause issues"} 
[2026-07-07 15:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802907401224939520,"note":"Value kept but may cause issues"} 
[2026-07-07 15:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783419599000,"timestamp_ms":1783419599000,"timestamp_seconds":1783419599,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c177898"} 
[2026-07-07 15:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:50: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-07-07 15:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 15:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555415552001,"66":14548,"165":206,"94":10240,"24":9,"16":23400622506115072,"45":802907401224939520},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-07 15:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555415552001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:50:21] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 15:50:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23400622506115072,"km_value":23400622506115.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":802907401224939520,"description":"Unknown IO ID 45"} 
[2026-07-07 15:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555415552001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":802907401224939520}} 
[2026-07-07 15:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":124520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446236,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:50:21] local.INFO: GPS data processed {"connection_id":124520,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:50:21] local.INFO: Acknowledgment sent {"connection_id":124520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:50:22] local.INFO: TCP Data received {"connection_id":124520,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c177c80012d0b234007059940001c013910..."} 
[2026-07-07 15:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c177c80012d0b234007059940001c013910..."} 
[2026-07-07 15:50:22] local.INFO: Processing buffer {"connection_id":124520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c177c80012d0b234007059940001c013910..."} 
[2026-07-07 15:50:22] local.INFO: Packet analysis {"connection_id":124520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c17"} 
[2026-07-07 15:50:22] local.INFO: Extracted packet for processing {"connection_id":124520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c17"} 
[2026-07-07 15:50:22] local.INFO: GPS Element Parsed {"raw_longitude":755704640,"raw_latitude":117807424,"longitude_deg":75.570464,"latitude_deg":11.7807424,"altitude":28,"angle":313,"satellites":16,"speed":7,"hex_longitude":"2d0b2340","hex_latitude":"07059940","is_valid_coordinates":true} 
[2026-07-07 15:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555417344001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23400635391016960,"note":"Value kept but may cause issues"} 
[2026-07-07 15:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802625926249078784,"note":"Value kept but may cause issues"} 
[2026-07-07 15:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783419600000,"timestamp_ms":1783419600000,"timestamp_seconds":1783419600,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c177c80"} 
[2026-07-07 15:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 15:50:22] 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-07-07 15:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555417344001,"66":14548,"165":206,"94":10240,"24":7,"16":23400635391016960,"45":802625926249078784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-07 15:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555417344001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:50:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 15:50:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23400635391016960,"km_value":23400635391016.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":802625926249078784,"description":"Unknown IO ID 45"} 
[2026-07-07 15:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555417344001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":802625926249078784}} 
[2026-07-07 15:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":124520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446237,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:50:22] local.INFO: GPS data processed {"connection_id":124520,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:50:22] local.INFO: Acknowledgment sent {"connection_id":124520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:50:23] local.INFO: TCP Data received {"connection_id":126575,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:50:23] local.INFO: Processing buffer {"connection_id":126575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:50:23] local.INFO: IMEI packet received {"connection_id":126575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":126575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:50:24] local.INFO: TCP Data received {"connection_id":124520,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c178068012d0b22c007059a18001c012210..."} 
[2026-07-07 15:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c178068012d0b22c007059a18001c012210..."} 
[2026-07-07 15:50:24] local.INFO: Processing buffer {"connection_id":124520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c178068012d0b22c007059a18001c012210..."} 
[2026-07-07 15:50:24] local.INFO: Packet analysis {"connection_id":124520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c17"} 
[2026-07-07 15:50:24] local.INFO: Extracted packet for processing {"connection_id":124520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c17"} 
[2026-07-07 15:50:24] local.INFO: GPS Element Parsed {"raw_longitude":755704512,"raw_latitude":117807640,"longitude_deg":75.5704512,"latitude_deg":11.780764,"altitude":28,"angle":290,"satellites":16,"speed":7,"hex_longitude":"2d0b22c0","hex_latitude":"07059a18","is_valid_coordinates":true} 
[2026-07-07 15:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555417600001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23400648275918848,"note":"Value kept but may cause issues"} 
[2026-07-07 15:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802555557504958464,"note":"Value kept but may cause issues"} 
[2026-07-07 15:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783419601000,"timestamp_ms":1783419601000,"timestamp_seconds":1783419601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c178068"} 
[2026-07-07 15:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 15:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":124520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":124520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":124520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555417600001,"66":14537,"165":206,"94":10240,"24":7,"16":23400648275918848,"45":802555557504958464},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-07 15:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555417600001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:50:24] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 15:50:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23400648275918848,"km_value":23400648275918.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":802555557504958464,"description":"Unknown IO ID 45"} 
[2026-07-07 15:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555417600001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":802555557504958464}} 
[2026-07-07 15:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":124520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446238,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:50:25] local.INFO: GPS data processed {"connection_id":124520,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:50:25] local.INFO: Acknowledgment sent {"connection_id":124520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:50:38] local.INFO: TCP Data received {"connection_id":126575,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:50:38] local.INFO: Processing buffer {"connection_id":126575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:50:38] local.INFO: IMEI packet received {"connection_id":126575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":126575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:50:38] local.INFO: TCP Data received {"connection_id":126575,"ip":"42.106.6.23","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 15:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126575,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 15:50:38] local.INFO: Processing buffer {"connection_id":126575,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 15:50:38] local.INFO: IMEI packet received {"connection_id":126575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":126575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:50:58] local.INFO: TCP Data received {"connection_id":124520,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c178450012d0b218007059a50001c010510..."} 
[2026-07-07 15:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c178450012d0b218007059a50001c010510..."} 
[2026-07-07 15:50:58] local.INFO: Processing buffer {"connection_id":124520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c178450012d0b218007059a50001c010510..."} 
[2026-07-07 15:50:58] local.INFO: Packet analysis {"connection_id":124520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c17"} 
[2026-07-07 15:50:58] local.INFO: Extracted packet for processing {"connection_id":124520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c17"} 
[2026-07-07 15:50:58] local.INFO: GPS Element Parsed {"raw_longitude":755704192,"raw_latitude":117807696,"longitude_deg":75.5704192,"latitude_deg":11.7807696,"altitude":28,"angle":261,"satellites":16,"speed":9,"hex_longitude":"2d0b2180","hex_latitude":"07059a50","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555417856001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23400661160820736,"note":"Value kept but may cause issues"} 
[2026-07-07 15:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802414820016658432,"note":"Value kept but may cause issues"} 
[2026-07-07 15:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783419602000,"timestamp_ms":1783419602000,"timestamp_seconds":1783419602,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c178450"} 
[2026-07-07 15:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 15:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15: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-07-07 15:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":124520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":124520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":124520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555417856001,"66":14537,"165":206,"94":10240,"24":9,"16":23400661160820736,"45":802414820016658432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-07 15:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555417856001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:50:58] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 15:50:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23400661160820736,"km_value":23400661160820.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":802414820016658432,"description":"Unknown IO ID 45"} 
[2026-07-07 15:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555417856001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":802414820016658432}} 
[2026-07-07 15:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":124520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446239,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:50:59] local.INFO: GPS data processed {"connection_id":124520,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:50:59] local.INFO: Acknowledgment sent {"connection_id":124520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:51:07] local.INFO: TCP Data received {"connection_id":124521,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124521,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:51:07] local.INFO: Processing buffer {"connection_id":124521,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:51:07] local.INFO: IMEI packet received {"connection_id":124521,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":124521,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:51:10] local.INFO: TCP Data received {"connection_id":124521,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124521,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:51:10] local.INFO: Processing buffer {"connection_id":124521,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:51:10] local.INFO: IMEI packet received {"connection_id":124521,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":124521,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:51:13] local.INFO: TCP Data received {"connection_id":124521,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124521,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:51:13] local.INFO: Processing buffer {"connection_id":124521,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:51:13] local.INFO: IMEI packet received {"connection_id":124521,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":124521,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:51:14] local.INFO: TCP Data received {"connection_id":124521,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c17b330012d0b0b40070599700021011010..."} 
[2026-07-07 15:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c17b330012d0b0b40070599700021011010..."} 
[2026-07-07 15:51:14] local.INFO: Processing buffer {"connection_id":124521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c17b330012d0b0b40070599700021011010..."} 
[2026-07-07 15:51:14] local.INFO: Packet analysis {"connection_id":124521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c17"} 
[2026-07-07 15:51:14] local.INFO: Extracted packet for processing {"connection_id":124521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c17"} 
[2026-07-07 15:51:14] local.INFO: GPS Element Parsed {"raw_longitude":755698496,"raw_latitude":117807472,"longitude_deg":75.5698496,"latitude_deg":11.7807472,"altitude":33,"angle":272,"satellites":16,"speed":13,"hex_longitude":"2d0b0b40","hex_latitude":"07059970","is_valid_coordinates":true} 
[2026-07-07 15:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555418112001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23400931743760384,"note":"Value kept but may cause issues"} 
[2026-07-07 15:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802062976295784448,"note":"Value kept but may cause issues"} 
[2026-07-07 15:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783419614000,"timestamp_ms":1783419614000,"timestamp_seconds":1783419614,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c17b330"} 
[2026-07-07 15:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 15:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555418112001,"66":14428,"165":206,"94":10240,"24":13,"16":23400931743760384,"45":802062976295784448},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-07 15:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555418112001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:51:14] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 15:51:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23400931743760384,"km_value":23400931743760.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":802062976295784448,"description":"Unknown IO ID 45"} 
[2026-07-07 15:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555418112001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":802062976295784448}} 
[2026-07-07 15:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":124521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446240,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:51:14] local.INFO: GPS data processed {"connection_id":124521,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:51:14] local.INFO: Acknowledgment sent {"connection_id":124521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:51:47] local.INFO: TCP Data received {"connection_id":124521,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c18f380012d0ab3c007058a000025011110..."} 
[2026-07-07 15:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c18f380012d0ab3c007058a000025011110..."} 
[2026-07-07 15:51:47] local.INFO: Processing buffer {"connection_id":124521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c18f380012d0ab3c007058a000025011110..."} 
[2026-07-07 15:51:47] local.INFO: Packet analysis {"connection_id":124521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c18"} 
[2026-07-07 15:51:47] local.INFO: Extracted packet for processing {"connection_id":124521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c18"} 
[2026-07-07 15:51:47] local.INFO: GPS Element Parsed {"raw_longitude":755676096,"raw_latitude":117803520,"longitude_deg":75.5676096,"latitude_deg":11.780352,"altitude":37,"angle":273,"satellites":16,"speed":6,"hex_longitude":"2d0ab3c0","hex_latitude":"07058a00","is_valid_coordinates":true} 
[2026-07-07 15:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555441152001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23402035550355456,"note":"Value kept but may cause issues"} 
[2026-07-07 15:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":771452572577425408,"note":"Value kept but may cause issues"} 
[2026-07-07 15:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783419696000,"timestamp_ms":1783419696000,"timestamp_seconds":1783419696,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c18f380"} 
[2026-07-07 15:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-07 15:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555441152001,"66":14548,"165":206,"94":10240,"24":6,"16":23402035550355456,"45":771452572577425408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-07 15:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555441152001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:51:47] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 15:51:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23402035550355456,"km_value":23402035550355.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":771452572577425408,"description":"Unknown IO ID 45"} 
[2026-07-07 15:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555441152001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":771452572577425408}} 
[2026-07-07 15:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":124521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446241,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:51:47] local.INFO: GPS data processed {"connection_id":124521,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:51:47] local.INFO: Acknowledgment sent {"connection_id":124521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:52:08] local.INFO: TCP Data received {"connection_id":124610,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124610,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:52:08] local.INFO: Processing buffer {"connection_id":124610,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:52:08] local.INFO: IMEI packet received {"connection_id":124610,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":124610,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:52:11] local.INFO: TCP Data received {"connection_id":124610,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124610,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:52:11] local.INFO: Processing buffer {"connection_id":124610,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:52:11] local.INFO: IMEI packet received {"connection_id":124610,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":124610,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:52:11] local.INFO: TCP Data received {"connection_id":124610,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124610,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:52:11] local.INFO: Processing buffer {"connection_id":124610,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:52:11] local.INFO: IMEI packet received {"connection_id":124610,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":124610,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:52:15] local.INFO: TCP Data received {"connection_id":124610,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124610,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:52:15] local.INFO: Processing buffer {"connection_id":124610,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:52:15] local.INFO: IMEI packet received {"connection_id":124610,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":124610,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:52:16] local.INFO: TCP Data received {"connection_id":124610,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c18fb50012d0ab200070589a80025010210..."} 
[2026-07-07 15:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c18fb50012d0ab200070589a80025010210..."} 
[2026-07-07 15:52:16] local.INFO: Processing buffer {"connection_id":124610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c18fb50012d0ab200070589a80025010210..."} 
[2026-07-07 15:52:16] local.INFO: Packet analysis {"connection_id":124610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c18"} 
[2026-07-07 15:52:16] local.INFO: Extracted packet for processing {"connection_id":124610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c18"} 
[2026-07-07 15:52:16] local.INFO: GPS Element Parsed {"raw_longitude":755675648,"raw_latitude":117803432,"longitude_deg":75.5675648,"latitude_deg":11.7803432,"altitude":37,"angle":258,"satellites":16,"speed":12,"hex_longitude":"2d0ab200","hex_latitude":"070589a8","is_valid_coordinates":true} 
[2026-07-07 15:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555442176001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23402057025191936,"note":"Value kept but may cause issues"} 
[2026-07-07 15:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":771171097600720896,"note":"Value kept but may cause issues"} 
[2026-07-07 15:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783419698000,"timestamp_ms":1783419698000,"timestamp_seconds":1783419698,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c18fb50"} 
[2026-07-07 15:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 15:52:16] 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-07-07 15:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555442176001,"66":14450,"165":206,"94":10240,"24":12,"16":23402057025191936,"45":771171097600720896},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-07 15:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555442176001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:52:16] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 15:52:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23402057025191936,"km_value":23402057025191.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":771171097600720896,"description":"Unknown IO ID 45"} 
[2026-07-07 15:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555442176001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":771171097600720896}} 
[2026-07-07 15:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":124610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446242,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:52:16] local.INFO: GPS data processed {"connection_id":124610,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:52:16] local.INFO: Acknowledgment sent {"connection_id":124610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:52:20] local.INFO: TCP Data received {"connection_id":124610,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c190708012d0aac80070587c8002400f610..."} 
[2026-07-07 15:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c190708012d0aac80070587c8002400f610..."} 
[2026-07-07 15:52:20] local.INFO: Processing buffer {"connection_id":124610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c190708012d0aac80070587c8002400f610..."} 
[2026-07-07 15:52:20] local.INFO: Packet analysis {"connection_id":124610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c19"} 
[2026-07-07 15:52:20] local.INFO: Extracted packet for processing {"connection_id":124610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c19"} 
[2026-07-07 15:52:20] local.INFO: GPS Element Parsed {"raw_longitude":755674240,"raw_latitude":117802952,"longitude_deg":75.567424,"latitude_deg":11.7802952,"altitude":36,"angle":246,"satellites":16,"speed":21,"hex_longitude":"2d0aac80","hex_latitude":"070587c8","is_valid_coordinates":true} 
[2026-07-07 15:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555442688001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23402130039635968,"note":"Value kept but may cause issues"} 
[2026-07-07 15:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":770678516391454720,"note":"Value kept but may cause issues"} 
[2026-07-07 15:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783419701000,"timestamp_ms":1783419701000,"timestamp_seconds":1783419701,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c190708"} 
[2026-07-07 15:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:52: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-07-07 15:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 15:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555442688001,"66":14450,"165":206,"94":10240,"24":21,"16":23402130039635968,"45":770678516391454720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-07 15:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555442688001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:52:20] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 15:52:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23402130039635968,"km_value":23402130039635.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":770678516391454720,"description":"Unknown IO ID 45"} 
[2026-07-07 15:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555442688001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":770678516391454720}} 
[2026-07-07 15:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":124610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446243,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:52:21] local.INFO: GPS data processed {"connection_id":124610,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:52:21] local.INFO: Acknowledgment sent {"connection_id":124610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:52:21] local.INFO: TCP Data received {"connection_id":124522,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:52:21] local.INFO: Processing buffer {"connection_id":124522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:52:21] local.INFO: IMEI packet received {"connection_id":124522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":124522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:52:24] local.INFO: TCP Data received {"connection_id":125324,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:52:24] local.INFO: Processing buffer {"connection_id":125324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:52:24] local.INFO: IMEI packet received {"connection_id":125324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 15:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":125324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:52:26] local.INFO: TCP Data received {"connection_id":124522,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:52:26] local.INFO: Processing buffer {"connection_id":124522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:52:26] local.INFO: IMEI packet received {"connection_id":124522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":124522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:52:27] local.INFO: TCP Data received {"connection_id":124522,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c193200012d7a128005ec8128000600ff24..."} 
[2026-07-07 15:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c193200012d7a128005ec8128000600ff24..."} 
[2026-07-07 15:52:27] local.INFO: Processing buffer {"connection_id":124522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c193200012d7a128005ec8128000600ff24..."} 
[2026-07-07 15:52:27] local.INFO: Packet analysis {"connection_id":124522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c19"} 
[2026-07-07 15:52:27] local.INFO: Extracted packet for processing {"connection_id":124522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c19"} 
[2026-07-07 15:52:27] local.INFO: GPS Element Parsed {"raw_longitude":762974848,"raw_latitude":99385640,"longitude_deg":76.2974848,"latitude_deg":9.938564,"altitude":6,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d7a1280","hex_latitude":"05ec8128","is_valid_coordinates":true} 
[2026-07-07 15:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555446272001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783419712000,"timestamp_ms":1783419712000,"timestamp_seconds":1783419712,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c193200"} 
[2026-07-07 15:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 15:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":38,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 15:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555446272001,"66":9830,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8796233785139079168},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555446272001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:52:27] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:52:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555446272001,"power":9830,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":124522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:52:27] local.INFO: GPS data processed {"connection_id":124522,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:52:27] local.INFO: Acknowledgment sent {"connection_id":124522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:52:51] local.INFO: TCP Data received {"connection_id":124610,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c19d9f8012d0a80800705adf8001c015310..."} 
[2026-07-07 15:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c19d9f8012d0a80800705adf8001c015310..."} 
[2026-07-07 15:52:51] local.INFO: Processing buffer {"connection_id":124610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c19d9f8012d0a80800705adf8001c015310..."} 
[2026-07-07 15:52:51] local.INFO: Packet analysis {"connection_id":124610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c19"} 
[2026-07-07 15:52:51] local.INFO: Extracted packet for processing {"connection_id":124610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c19"} 
[2026-07-07 15:52:51] local.INFO: GPS Element Parsed {"raw_longitude":755662976,"raw_latitude":117812728,"longitude_deg":75.5662976,"latitude_deg":11.7812728,"altitude":28,"angle":339,"satellites":16,"speed":17,"hex_longitude":"2d0a8080","hex_latitude":"0705adf8","is_valid_coordinates":true} 
[2026-07-07 15:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555456512001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23402963263291392,"note":"Value kept but may cause issues"} 
[2026-07-07 15:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757449192488163328,"note":"Value kept but may cause issues"} 
[2026-07-07 15:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783419755000,"timestamp_ms":1783419755000,"timestamp_seconds":1783419755,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c19d9f8"} 
[2026-07-07 15:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 15:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":124610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":124610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":124610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555456512001,"66":14515,"153":206,"94":10240,"24":17,"16":23402963263291392,"45":757449192488163328},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 15:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555456512001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:52:51] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 15:52:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23402963263291392,"km_value":23402963263291.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":757449192488163328,"description":"Unknown IO ID 45"} 
[2026-07-07 15:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555456512001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":757449192488163328}} 
[2026-07-07 15:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":124610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446245,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:52:52] local.INFO: GPS data processed {"connection_id":124610,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:52:52] local.INFO: Acknowledgment sent {"connection_id":124610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:52:58] local.INFO: TCP Data received {"connection_id":124522,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c193200012d7a128005ec8128000600ff24..."} 
[2026-07-07 15:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c193200012d7a128005ec8128000600ff24..."} 
[2026-07-07 15:52:58] local.INFO: Processing buffer {"connection_id":124522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c193200012d7a128005ec8128000600ff24..."} 
[2026-07-07 15:52:58] local.INFO: Packet analysis {"connection_id":124522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c19"} 
[2026-07-07 15:52:58] local.INFO: Extracted packet for processing {"connection_id":124522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c19"} 
[2026-07-07 15:52:58] local.INFO: GPS Element Parsed {"raw_longitude":762974848,"raw_latitude":99385640,"longitude_deg":76.2974848,"latitude_deg":9.938564,"altitude":6,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d7a1280","hex_latitude":"05ec8128","is_valid_coordinates":true} 
[2026-07-07 15:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555446272001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783419712000,"timestamp_ms":1783419712000,"timestamp_seconds":1783419712,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c193200"} 
[2026-07-07 15:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 15:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":38,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 15:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":124522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":124522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":124522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555446272001,"66":9830,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8796233785139079168},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555446272001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:52:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:52:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555446272001,"power":9830,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":124522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:52:58] local.INFO: GPS data processed {"connection_id":124522,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:52:58] local.INFO: Acknowledgment sent {"connection_id":124522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:52:59] local.INFO: TCP Data received {"connection_id":126577,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:52:59] local.INFO: Processing buffer {"connection_id":126577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:52:59] local.INFO: IMEI packet received {"connection_id":126577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 15:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":126577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:53:10] local.INFO: TCP Data received {"connection_id":126578,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126578,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:53:10] local.INFO: Processing buffer {"connection_id":126578,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:53:10] local.INFO: IMEI packet received {"connection_id":126578,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":126578,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:53:11] local.INFO: TCP Data received {"connection_id":126578,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126578,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:53:11] local.INFO: Processing buffer {"connection_id":126578,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:53:11] local.INFO: IMEI packet received {"connection_id":126578,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":126578,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:53:12] local.INFO: TCP Data received {"connection_id":126578,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126578,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:53:12] local.INFO: Processing buffer {"connection_id":126578,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:53:12] local.INFO: IMEI packet received {"connection_id":126578,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":126578,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:53:13] local.INFO: TCP Data received {"connection_id":126578,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c19f938012d0a78c00705bbb0001b014811..."} 
[2026-07-07 15:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c19f938012d0a78c00705bbb0001b014811..."} 
[2026-07-07 15:53:13] local.INFO: Processing buffer {"connection_id":126578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c19f938012d0a78c00705bbb0001b014811..."} 
[2026-07-07 15:53:13] local.INFO: Packet analysis {"connection_id":126578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c19"} 
[2026-07-07 15:53:13] local.INFO: Extracted packet for processing {"connection_id":126578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c19"} 
[2026-07-07 15:53:13] local.INFO: GPS Element Parsed {"raw_longitude":755660992,"raw_latitude":117816240,"longitude_deg":75.5660992,"latitude_deg":11.781624,"altitude":27,"angle":328,"satellites":17,"speed":9,"hex_longitude":"2d0a78c0","hex_latitude":"0705bbb0","is_valid_coordinates":true} 
[2026-07-07 15:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555457280001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23403160831787008,"note":"Value kept but may cause issues"} 
[2026-07-07 15:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756745505046657024,"note":"Value kept but may cause issues"} 
[2026-07-07 15:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783419763000,"timestamp_ms":1783419763000,"timestamp_seconds":1783419763,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c19f938"} 
[2026-07-07 15:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 15:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555457280001,"66":14646,"153":206,"94":10240,"24":9,"16":23403160831787008,"45":756745505046657024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 15:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555457280001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:53:13] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 15:53:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23403160831787008,"km_value":23403160831787.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":756745505046657024,"description":"Unknown IO ID 45"} 
[2026-07-07 15:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555457280001,"power":14646,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":756745505046657024}} 
[2026-07-07 15:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":126578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446247,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:53:13] local.INFO: GPS data processed {"connection_id":126578,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:53:13] local.INFO: Acknowledgment sent {"connection_id":126578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:53:26] local.INFO: TCP Data received {"connection_id":126579,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:53:26] local.INFO: Processing buffer {"connection_id":126579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:53:26] local.INFO: IMEI packet received {"connection_id":126579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":126579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:53:27] local.INFO: TCP Data received {"connection_id":126579,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:53:27] local.INFO: Processing buffer {"connection_id":126579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:53:27] local.INFO: IMEI packet received {"connection_id":126579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":126579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:53:31] local.INFO: TCP Data received {"connection_id":126579,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:53:31] local.INFO: Processing buffer {"connection_id":126579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:53:31] local.INFO: IMEI packet received {"connection_id":126579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":126579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:53:33] local.INFO: TCP Data received {"connection_id":126579,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c193200012d7a128005ec8128000600ff24..."} 
[2026-07-07 15:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c193200012d7a128005ec8128000600ff24..."} 
[2026-07-07 15:53:33] local.INFO: Processing buffer {"connection_id":126579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c193200012d7a128005ec8128000600ff24..."} 
[2026-07-07 15:53:33] local.INFO: Packet analysis {"connection_id":126579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c19"} 
[2026-07-07 15:53:33] local.INFO: Extracted packet for processing {"connection_id":126579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c19"} 
[2026-07-07 15:53:33] local.INFO: GPS Element Parsed {"raw_longitude":762974848,"raw_latitude":99385640,"longitude_deg":76.2974848,"latitude_deg":9.938564,"altitude":6,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d7a1280","hex_latitude":"05ec8128","is_valid_coordinates":true} 
[2026-07-07 15:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555446272001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783419712000,"timestamp_ms":1783419712000,"timestamp_seconds":1783419712,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c193200"} 
[2026-07-07 15:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":38,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 15:53: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-07-07 15:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555446272001,"66":9830,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8796233785139079168},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555446272001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:53:33] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:53:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555446272001,"power":9830,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":126579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:53:33] local.INFO: GPS data processed {"connection_id":126579,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:53:33] local.INFO: Acknowledgment sent {"connection_id":126579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:53:37] local.INFO: TCP Data received {"connection_id":126579,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1939d0012d7a128005ec8128000600ff25..."} 
[2026-07-07 15:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1939d0012d7a128005ec8128000600ff25..."} 
[2026-07-07 15:53:37] local.INFO: Processing buffer {"connection_id":126579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1939d0012d7a128005ec8128000600ff25..."} 
[2026-07-07 15:53:37] local.INFO: Packet analysis {"connection_id":126579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c19"} 
[2026-07-07 15:53:37] local.INFO: Extracted packet for processing {"connection_id":126579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c19"} 
[2026-07-07 15:53:37] local.INFO: GPS Element Parsed {"raw_longitude":762974848,"raw_latitude":99385640,"longitude_deg":76.2974848,"latitude_deg":9.938564,"altitude":6,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d7a1280","hex_latitude":"05ec8128","is_valid_coordinates":true} 
[2026-07-07 15:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555446272001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310387423739904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783419714000,"timestamp_ms":1783419714000,"timestamp_seconds":1783419714,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1939d0"} 
[2026-07-07 15:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":38,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 15:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:53: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-07-07 15:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555446272001,"66":9830,"157":206,"87":13824,"24":0,"16":103310387423739904,"45":8796233785139079168},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555446272001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:53:37] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:53:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310387423739904,"km_value":103310387423739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555446272001,"power":9830,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":126579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:53:37] local.INFO: GPS data processed {"connection_id":126579,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:53:37] local.INFO: Acknowledgment sent {"connection_id":126579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:53:44] local.INFO: TCP Data received {"connection_id":126578,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1a04f0012d0a77c00705bd48001b015911..."} 
[2026-07-07 15:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1a04f0012d0a77c00705bd48001b015911..."} 
[2026-07-07 15:53:44] local.INFO: Processing buffer {"connection_id":126578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1a04f0012d0a77c00705bd48001b015911..."} 
[2026-07-07 15:53:44] local.INFO: Packet analysis {"connection_id":126578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1a"} 
[2026-07-07 15:53:44] local.INFO: Extracted packet for processing {"connection_id":126578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1a"} 
[2026-07-07 15:53:44] local.INFO: GPS Element Parsed {"raw_longitude":755660736,"raw_latitude":117816648,"longitude_deg":75.5660736,"latitude_deg":11.7816648,"altitude":27,"angle":345,"satellites":17,"speed":8,"hex_longitude":"2d0a77c0","hex_latitude":"0705bd48","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555459328001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23403186601590784,"note":"Value kept but may cause issues"} 
[2026-07-07 15:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754564073978048512,"note":"Value kept but may cause issues"} 
[2026-07-07 15:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783419766000,"timestamp_ms":1783419766000,"timestamp_seconds":1783419766,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1a04f0"} 
[2026-07-07 15:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-07-07 15:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15: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-07-07 15:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":126578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":126578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":126578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555459328001,"66":13646,"153":206,"94":10240,"24":8,"16":23403186601590784,"45":754564073978048512},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 15:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555459328001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:53:44] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 15:53:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23403186601590784,"km_value":23403186601590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":754564073978048512,"description":"Unknown IO ID 45"} 
[2026-07-07 15:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555459328001,"power":13646,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":754564073978048512}} 
[2026-07-07 15:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":126578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446250,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:53:45] local.INFO: GPS data processed {"connection_id":126578,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:53:45] local.INFO: Acknowledgment sent {"connection_id":126578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:54:08] local.INFO: TCP Data received {"connection_id":126579,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c197080012d7a0f8005ec8108000100f325..."} 
[2026-07-07 15:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c197080012d7a0f8005ec8108000100f325..."} 
[2026-07-07 15:54:08] local.INFO: Processing buffer {"connection_id":126579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c197080012d7a0f8005ec8108000100f325..."} 
[2026-07-07 15:54:08] local.INFO: Packet analysis {"connection_id":126579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c19"} 
[2026-07-07 15:54:08] local.INFO: Extracted packet for processing {"connection_id":126579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c19"} 
[2026-07-07 15:54:08] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385608,"longitude_deg":76.297408,"latitude_deg":9.9385608,"altitude":1,"angle":243,"satellites":37,"speed":3,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8108","is_valid_coordinates":true} 
[2026-07-07 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-07-07 15:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555446784001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310421783478272,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785139079168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783419728000,"timestamp_ms":1783419728000,"timestamp_seconds":1783419728,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c197080"} 
[2026-07-07 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-07-07 15:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":38,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 15:54: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-07-07 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-07-07 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-07-07 15:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555446784001,"66":12048,"157":206,"87":13824,"24":3,"16":103310421783478272,"45":8796233785139079168},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555446784001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:54:08] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:54:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310421783478272,"km_value":103310421783478.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785139079168,"description":"Unknown IO ID 45"} 
[2026-07-07 15:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555446784001,"power":12048,"unknown_157":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8796233785139079168}} 
[2026-07-07 15:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":126579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:54:08] local.INFO: GPS data processed {"connection_id":126579,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:54:08] local.INFO: Acknowledgment sent {"connection_id":126579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:54:11] local.INFO: TCP Data received {"connection_id":125326,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:54:11] local.INFO: Processing buffer {"connection_id":125326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:54:11] local.INFO: IMEI packet received {"connection_id":125326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":125326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:54:11] local.INFO: TCP Data received {"connection_id":125326,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:54:11] local.INFO: Processing buffer {"connection_id":125326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:54:11] local.INFO: IMEI packet received {"connection_id":125326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":125326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:54:15] local.INFO: TCP Data received {"connection_id":125326,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:54:15] local.INFO: Processing buffer {"connection_id":125326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:54:15] local.INFO: IMEI packet received {"connection_id":125326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":125326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:54:16] local.INFO: TCP Data received {"connection_id":125326,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1a1490012d0a77000705c230001b000011..."} 
[2026-07-07 15:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1a1490012d0a77000705c230001b000011..."} 
[2026-07-07 15:54:16] local.INFO: Processing buffer {"connection_id":125326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1a1490012d0a77000705c230001b000011..."} 
[2026-07-07 15:54:16] local.INFO: Packet analysis {"connection_id":125326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1a"} 
[2026-07-07 15:54:16] local.INFO: Extracted packet for processing {"connection_id":125326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1a"} 
[2026-07-07 15:54:16] local.INFO: GPS Element Parsed {"raw_longitude":755660544,"raw_latitude":117817904,"longitude_deg":75.5660544,"latitude_deg":11.7817904,"altitude":27,"angle":0,"satellites":17,"speed":14,"hex_longitude":"2d0a7700","hex_latitude":"0705c230","is_valid_coordinates":true} 
[2026-07-07 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-07-07 15:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555460096001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23403246731132928,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754282599001442304,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783419770000,"timestamp_ms":1783419770000,"timestamp_seconds":1783419770,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1a1490"} 
[2026-07-07 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-07-07 15:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-07 15:54: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-07-07 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-07-07 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-07-07 15:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555460096001,"66":14428,"153":206,"94":10240,"24":14,"16":23403246731132928,"45":754282599001442304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 15:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555460096001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:54:16] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 15:54:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23403246731132928,"km_value":23403246731132.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":754282599001442304,"description":"Unknown IO ID 45"} 
[2026-07-07 15:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555460096001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":754282599001442304}} 
[2026-07-07 15:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":125326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446252,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:54:16] local.INFO: GPS data processed {"connection_id":125326,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:54:16] local.INFO: Acknowledgment sent {"connection_id":125326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:54:26] local.INFO: TCP Data received {"connection_id":124611,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:54:26] local.INFO: Processing buffer {"connection_id":124611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:54:26] local.INFO: IMEI packet received {"connection_id":124611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":124611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:54:31] local.INFO: TCP Data received {"connection_id":124611,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:54:31] local.INFO: Processing buffer {"connection_id":124611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:54:31] local.INFO: IMEI packet received {"connection_id":124611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":124611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:54:32] local.INFO: TCP Data received {"connection_id":124611,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c19bea0012d79f98005ec7678000400ee29..."} 
[2026-07-07 15:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c19bea0012d79f98005ec7678000400ee29..."} 
[2026-07-07 15:54:32] local.INFO: Processing buffer {"connection_id":124611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c19bea0012d79f98005ec7678000400ee29..."} 
[2026-07-07 15:54:32] local.INFO: Packet analysis {"connection_id":124611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c19"} 
[2026-07-07 15:54:32] local.INFO: Extracted packet for processing {"connection_id":124611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c19"} 
[2026-07-07 15:54:32] local.INFO: GPS Element Parsed {"raw_longitude":762968448,"raw_latitude":99382904,"longitude_deg":76.2968448,"latitude_deg":9.9382904,"altitude":4,"angle":238,"satellites":41,"speed":5,"hex_longitude":"2d79f980","hex_latitude":"05ec7678","is_valid_coordinates":true} 
[2026-07-07 15:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555450368001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103310726726156288,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208939008,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783419748000,"timestamp_ms":1783419748000,"timestamp_seconds":1783419748,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c19bea0"} 
[2026-07-07 15:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-07 15:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578332004892016640,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8000715106767863808,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:32] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2166882310,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:32] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629558098804125,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:32] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4756065093593399552,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":884763263000,"corrected_to":0} 
[2026-07-07 15:54:32] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147871873,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:32] local.WARNING: Large IO value detected {"io_id":40,"raw_value":1689945697681408,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:32] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182122335437056,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:32] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1404797628197044442,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:32] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194847232,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:32] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84858187865779329,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:32] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,157,87,24,241,16,8,159,57,45,128,129,6,37,10,66,50,36,1,240,102,60,236,4,113,205,18,40,239,38,2,111,5,69,192],"length":583,"final_offset":713,"validated_count":35,"validation_warnings":[{"io_id":205,"original":884763263000,"validated":0}]} 
[2026-07-07 15:54:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72324934277464064,"timestamp_seconds":72324934277464.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 15:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555450368001,"66":12917,"157":206,"87":13824,"24":5,"16":103310726726156288,"45":8795389360208939008},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-07 15:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555450368001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:54:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 15:54:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103310726726156288,"km_value":103310726726156.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208939008,"description":"Unknown IO ID 45"} 
[2026-07-07 15:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555450368001,"power":12917,"unknown_157":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8795389360208939008}} 
[2026-07-07 15:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":124611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:54:32] local.INFO: GPS data processed {"connection_id":124611,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:54:32] local.INFO: Acknowledgment sent {"connection_id":124611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:54:48] local.INFO: TCP Data received {"connection_id":125326,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1b9b30012d0a738007060700000f015d14..."} 
[2026-07-07 15:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1b9b30012d0a738007060700000f015d14..."} 
[2026-07-07 15:54:48] local.INFO: Processing buffer {"connection_id":125326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1b9b30012d0a738007060700000f015d14..."} 
[2026-07-07 15:54:48] local.INFO: Packet analysis {"connection_id":125326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1b"} 
[2026-07-07 15:54:48] local.INFO: Extracted packet for processing {"connection_id":125326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1b"} 
[2026-07-07 15:54:48] local.INFO: GPS Element Parsed {"raw_longitude":755659648,"raw_latitude":117835520,"longitude_deg":75.5659648,"latitude_deg":11.783552,"altitude":15,"angle":349,"satellites":20,"speed":0,"hex_longitude":"2d0a7380","hex_latitude":"07060700","is_valid_coordinates":true} 
[2026-07-07 15:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555481344001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23404140084330496,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753086330355253248,"note":"Value kept but may cause issues"} 
[2026-07-07 15:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783419870000,"timestamp_ms":1783419870000,"timestamp_seconds":1783419870,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1b9b30"} 
[2026-07-07 15:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:54: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-07-07 15:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 15:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":125326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":125326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":125326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555481344001,"66":14559,"153":206,"94":10240,"24":0,"16":23404140084330496,"45":753086330355253248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 15:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555481344001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:54:48] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 15:54:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23404140084330496,"km_value":23404140084330.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":753086330355253248,"description":"Unknown IO ID 45"} 
[2026-07-07 15:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555481344001,"power":14559,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753086330355253248}} 
[2026-07-07 15:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":125326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446254,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:54:48] local.INFO: GPS data processed {"connection_id":125326,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:54:48] local.INFO: Acknowledgment sent {"connection_id":125326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:55:03] local.INFO: TCP Data received {"connection_id":124611,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1bd5c8012d7a1fc005ec01700004009521..."} 
[2026-07-07 15:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1bd5c8012d7a1fc005ec01700004009521..."} 
[2026-07-07 15:55:03] local.INFO: Processing buffer {"connection_id":124611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1bd5c8012d7a1fc005ec01700004009521..."} 
[2026-07-07 15:55:03] local.INFO: Packet analysis {"connection_id":124611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1b"} 
[2026-07-07 15:55:03] local.INFO: Extracted packet for processing {"connection_id":124611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1b"} 
[2026-07-07 15:55:03] local.INFO: GPS Element Parsed {"raw_longitude":762978240,"raw_latitude":99352944,"longitude_deg":76.297824,"latitude_deg":9.9352944,"altitude":4,"angle":149,"satellites":33,"speed":9,"hex_longitude":"2d7a1fc0","hex_latitude":"05ec0170","is_valid_coordinates":true} 
[2026-07-07 15:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555488768001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103312277209350144,"note":"Value kept but may cause issues"} 
[2026-07-07 15:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799330009874896896,"note":"Value kept but may cause issues"} 
[2026-07-07 15:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783419885000,"timestamp_ms":1783419885000,"timestamp_seconds":1783419885,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1bd5c8"} 
[2026-07-07 15:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 15:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099868989,"note":"Value kept but may cause issues"} 
[2026-07-07 15:55:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":58079734643818510,"note":"Value kept but may cause issues"} 
[2026-07-07 15:55:03] local.WARNING: Large IO value detected {"io_id":9,"raw_value":3741319168,"note":"Value kept but may cause issues"} 
[2026-07-07 15:55:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033633998,"corrected_to":0} 
[2026-07-07 15:55:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963561984,"note":"Value kept but may cause issues"} 
[2026-07-07 15:55:03] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,156,87,24,241,157,16,9,159,170,45,128,4,29,10,66,88,28,64,1,240,237,227,60,236,113,205,161,14,96,35,239,51,2,111,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1033633998,"validated":0}]} 
[2026-07-07 15:55:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288408625884692480,"timestamp_seconds":288408625884692.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 15:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555488768001,"66":13276,"156":206,"87":13824,"24":9,"16":103312277209350144,"45":8799330009874896896},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 15:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555488768001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:55:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 15:55:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103312277209350144,"km_value":103312277209350.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799330009874896896,"description":"Unknown IO ID 45"} 
[2026-07-07 15:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555488768001,"power":13276,"unknown_156":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8799330009874896896}} 
[2026-07-07 15:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":124611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:55:04] local.INFO: GPS data processed {"connection_id":124611,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:55:04] local.INFO: Acknowledgment sent {"connection_id":124611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:55:10] local.INFO: TCP Data received {"connection_id":125327,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125327,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:55:10] local.INFO: Processing buffer {"connection_id":125327,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:55:10] local.INFO: IMEI packet received {"connection_id":125327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":125327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:55:11] local.INFO: TCP Data received {"connection_id":125327,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125327,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:55:11] local.INFO: Processing buffer {"connection_id":125327,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:55:11] local.INFO: IMEI packet received {"connection_id":125327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":125327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:55:16] local.INFO: TCP Data received {"connection_id":125327,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125327,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:55:16] local.INFO: Processing buffer {"connection_id":125327,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:55:16] local.INFO: IMEI packet received {"connection_id":125327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":125327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:55:19] local.INFO: TCP Data received {"connection_id":125327,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1bb2a0012d0a738007060670000f00b414..."} 
[2026-07-07 15:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1bb2a0012d0a738007060670000f00b414..."} 
[2026-07-07 15:55:19] local.INFO: Processing buffer {"connection_id":125327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1bb2a0012d0a738007060670000f00b414..."} 
[2026-07-07 15:55:19] local.INFO: Packet analysis {"connection_id":125327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1b"} 
[2026-07-07 15:55:19] local.INFO: Extracted packet for processing {"connection_id":125327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1b"} 
[2026-07-07 15:55:19] local.INFO: GPS Element Parsed {"raw_longitude":755659648,"raw_latitude":117835376,"longitude_deg":75.5659648,"latitude_deg":11.7835376,"altitude":15,"angle":180,"satellites":20,"speed":1,"hex_longitude":"2d0a7380","hex_latitude":"07060670","is_valid_coordinates":true} 
[2026-07-07 15:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555486720001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23404144379297792,"note":"Value kept but may cause issues"} 
[2026-07-07 15:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753086330355253248,"note":"Value kept but may cause issues"} 
[2026-07-07 15:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783419876000,"timestamp_ms":1783419876000,"timestamp_seconds":1783419876,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1bb2a0"} 
[2026-07-07 15:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 15:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":125327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":125327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":125327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555486720001,"66":14439,"153":206,"94":10240,"24":1,"16":23404144379297792,"45":753086330355253248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 15:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555486720001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:55:19] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 15:55:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23404144379297792,"km_value":23404144379297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":753086330355253248,"description":"Unknown IO ID 45"} 
[2026-07-07 15:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555486720001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753086330355253248}} 
[2026-07-07 15:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":125327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446256,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:55:19] local.INFO: GPS data processed {"connection_id":125327,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:55:19] local.INFO: Acknowledgment sent {"connection_id":125327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:55:26] local.INFO: TCP Data received {"connection_id":126581,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:55:26] local.INFO: Processing buffer {"connection_id":126581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:55:26] local.INFO: IMEI packet received {"connection_id":126581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":126581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:55:31] local.INFO: TCP Data received {"connection_id":126581,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:55:31] local.INFO: Processing buffer {"connection_id":126581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:55:31] local.INFO: IMEI packet received {"connection_id":126581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":126581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:55:33] local.INFO: TCP Data received {"connection_id":126581,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1bf8f0012d7a234005ebf868000200a224..."} 
[2026-07-07 15:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1bf8f0012d7a234005ebf868000200a224..."} 
[2026-07-07 15:55:33] local.INFO: Processing buffer {"connection_id":126581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1bf8f0012d7a234005ebf868000200a224..."} 
[2026-07-07 15:55:33] local.INFO: Packet analysis {"connection_id":126581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1b"} 
[2026-07-07 15:55:33] local.INFO: Extracted packet for processing {"connection_id":126581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1b"} 
[2026-07-07 15:55:33] local.INFO: GPS Element Parsed {"raw_longitude":762979136,"raw_latitude":99350632,"longitude_deg":76.2979136,"latitude_deg":9.9350632,"altitude":2,"angle":162,"satellites":36,"speed":10,"hex_longitude":"2d7a2340","hex_latitude":"05ebf868","is_valid_coordinates":true} 
[2026-07-07 15:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555490560001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103312397468434432,"note":"Value kept but may cause issues"} 
[2026-07-07 15:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799963328572125184,"note":"Value kept but may cause issues"} 
[2026-07-07 15:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783419894000,"timestamp_ms":1783419894000,"timestamp_seconds":1783419894,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1bf8f0"} 
[2026-07-07 15:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:55: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-07-07 15:55: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-07-07 15:55: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-07-07 15:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555490560001,"66":13222,"156":206,"87":13824,"24":10,"16":103312397468434432,"45":8799963328572125184},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 15:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555490560001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:55:33] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 15:55:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103312397468434432,"km_value":103312397468434.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799963328572125184,"description":"Unknown IO ID 45"} 
[2026-07-07 15:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555490560001,"power":13222,"unknown_156":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8799963328572125184}} 
[2026-07-07 15:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":126581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:55:33] local.INFO: GPS data processed {"connection_id":126581,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:55:33] local.INFO: Acknowledgment sent {"connection_id":126581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:55:40] local.INFO: TCP Data received {"connection_id":124525,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:55:40] local.INFO: Processing buffer {"connection_id":124525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:55:40] local.INFO: IMEI packet received {"connection_id":124525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":124525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:55:52] local.INFO: TCP Data received {"connection_id":125327,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1bbe58012d0a7380070605d8000e00a414..."} 
[2026-07-07 15:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1bbe58012d0a7380070605d8000e00a414..."} 
[2026-07-07 15:55:52] local.INFO: Processing buffer {"connection_id":125327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1bbe58012d0a7380070605d8000e00a414..."} 
[2026-07-07 15:55:52] local.INFO: Packet analysis {"connection_id":125327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1b"} 
[2026-07-07 15:55:52] local.INFO: Extracted packet for processing {"connection_id":125327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1b"} 
[2026-07-07 15:55:52] local.INFO: GPS Element Parsed {"raw_longitude":755659648,"raw_latitude":117835224,"longitude_deg":75.5659648,"latitude_deg":11.7835224,"altitude":14,"angle":164,"satellites":20,"speed":1,"hex_longitude":"2d0a7380","hex_latitude":"070605d8","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555488256001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23404152969232384,"note":"Value kept but may cause issues"} 
[2026-07-07 15:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753086330355216384,"note":"Value kept but may cause issues"} 
[2026-07-07 15:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783419879000,"timestamp_ms":1783419879000,"timestamp_seconds":1783419879,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1bbe58"} 
[2026-07-07 15:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 15:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15: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-07-07 15:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555488256001,"66":14439,"153":206,"94":10240,"24":1,"16":23404152969232384,"45":753086330355216384},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 15:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555488256001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:55:52] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 15:55:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23404152969232384,"km_value":23404152969232.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":753086330355216384,"description":"Unknown IO ID 45"} 
[2026-07-07 15:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555488256001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753086330355216384}} 
[2026-07-07 15:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":125327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446258,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:55:52] local.INFO: GPS data processed {"connection_id":125327,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:55:52] local.INFO: Acknowledgment sent {"connection_id":125327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:55:57] local.INFO: TCP Data received {"connection_id":124612,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:55:57] local.INFO: Processing buffer {"connection_id":124612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:55:57] local.INFO: IMEI packet received {"connection_id":124612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":124612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:55:58] local.INFO: TCP Data received {"connection_id":124612,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:55:58] local.INFO: Processing buffer {"connection_id":124612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:55:58] local.INFO: IMEI packet received {"connection_id":124612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":124612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:56:03] local.INFO: TCP Data received {"connection_id":126581,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1c1060012d7a254005ebf4580002008a1c..."} 
[2026-07-07 15:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1c1060012d7a254005ebf4580002008a1c..."} 
[2026-07-07 15:56:04] local.INFO: Processing buffer {"connection_id":126581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1c1060012d7a254005ebf4580002008a1c..."} 
[2026-07-07 15:56:04] local.INFO: Packet analysis {"connection_id":126581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1c"} 
[2026-07-07 15:56:04] local.INFO: Extracted packet for processing {"connection_id":126581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1c"} 
[2026-07-07 15:56:04] local.INFO: GPS Element Parsed {"raw_longitude":762979648,"raw_latitude":99349592,"longitude_deg":76.2979648,"latitude_deg":9.9349592,"altitude":2,"angle":138,"satellites":28,"speed":2,"hex_longitude":"2d7a2540","hex_latitude":"05ebf458","is_valid_coordinates":true} 
[2026-07-07 15:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555492864001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103312453303009280,"note":"Value kept but may cause issues"} 
[2026-07-07 15:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800948490990020608,"note":"Value kept but may cause issues"} 
[2026-07-07 15:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783419900000,"timestamp_ms":1783419900000,"timestamp_seconds":1783419900,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1c1060"} 
[2026-07-07 15:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 15:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555492864001,"66":13406,"156":206,"87":13824,"24":2,"16":103312453303009280,"45":8800948490990020608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 15:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555492864001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:56:04] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 15:56:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103312453303009280,"km_value":103312453303009.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800948490990020608,"description":"Unknown IO ID 45"} 
[2026-07-07 15:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555492864001,"power":13406,"unknown_156":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8800948490990020608}} 
[2026-07-07 15:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":126581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:56:04] local.INFO: GPS data processed {"connection_id":126581,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:56:04] local.INFO: Acknowledgment sent {"connection_id":126581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:56:04] local.INFO: TCP Data received {"connection_id":124612,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:56:04] local.INFO: Processing buffer {"connection_id":124612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:56:04] local.INFO: IMEI packet received {"connection_id":124612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":124612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:56:05] local.INFO: TCP Data received {"connection_id":124612,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1be568012db69b80054879d0001500672e..."} 
[2026-07-07 15:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1be568012db69b80054879d0001500672e..."} 
[2026-07-07 15:56:05] local.INFO: Processing buffer {"connection_id":124612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1be568012db69b80054879d0001500672e..."} 
[2026-07-07 15:56:05] local.INFO: Packet analysis {"connection_id":124612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1b"} 
[2026-07-07 15:56:05] local.INFO: Extracted packet for processing {"connection_id":124612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1b"} 
[2026-07-07 15:56:05] local.INFO: GPS Element Parsed {"raw_longitude":766942080,"raw_latitude":88635856,"longitude_deg":76.694208,"latitude_deg":8.8635856,"altitude":21,"angle":103,"satellites":46,"speed":47,"hex_longitude":"2db69b80","hex_latitude":"054879d0","is_valid_coordinates":true} 
[2026-07-07 15:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555489280001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341576575797428224,"note":"Value kept but may cause issues"} 
[2026-07-07 15:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5300525632491192320,"note":"Value kept but may cause issues"} 
[2026-07-07 15:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783419889000,"timestamp_ms":1783419889000,"timestamp_seconds":1783419889,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1be568"} 
[2026-07-07 15:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 15:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555489280001,"66":27984,"39":206,"84":5376,"24":47,"16":341576575797428224,"45":-5300525632491192320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,84,24,16,45]} 
[2026-07-07 15:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555489280001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:56:05] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-07 15:56:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 15:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341576575797428224,"km_value":341576575797428.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5300525632491192320,"description":"Unknown IO ID 45"} 
[2026-07-07 15:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555489280001,"power":27984,"unknown_39":206,"unknown_84":5376,"ignition":47,"odometer":null,"unknown_45":-5300525632491192320}} 
[2026-07-07 15:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":124612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:56:05] local.INFO: GPS data processed {"connection_id":124612,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:56:05] local.INFO: Acknowledgment sent {"connection_id":124612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:56:10] local.INFO: TCP Data received {"connection_id":125328,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125328,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:56:10] local.INFO: Processing buffer {"connection_id":125328,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:56:10] local.INFO: IMEI packet received {"connection_id":125328,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":125328,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:56:15] local.INFO: TCP Data received {"connection_id":125328,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125328,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:56:15] local.INFO: Processing buffer {"connection_id":125328,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:56:15] local.INFO: IMEI packet received {"connection_id":125328,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":125328,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:56:16] local.INFO: TCP Data received {"connection_id":125328,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1ccbe0012d0a74400705ff40000e00ac15..."} 
[2026-07-07 15:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1ccbe0012d0a74400705ff40000e00ac15..."} 
[2026-07-07 15:56:16] local.INFO: Processing buffer {"connection_id":125328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1ccbe0012d0a74400705ff40000e00ac15..."} 
[2026-07-07 15:56:16] local.INFO: Packet analysis {"connection_id":125328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1c"} 
[2026-07-07 15:56:16] local.INFO: Extracted packet for processing {"connection_id":125328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1c"} 
[2026-07-07 15:56:16] local.INFO: GPS Element Parsed {"raw_longitude":755659840,"raw_latitude":117833536,"longitude_deg":75.565984,"latitude_deg":11.7833536,"altitude":14,"angle":172,"satellites":21,"speed":11,"hex_longitude":"2d0a7440","hex_latitude":"0705ff40","is_valid_coordinates":true} 
[2026-07-07 15:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555506176001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23404264638382080,"note":"Value kept but may cause issues"} 
[2026-07-07 15:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436587401216,"note":"Value kept but may cause issues"} 
[2026-07-07 15:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783419948000,"timestamp_ms":1783419948000,"timestamp_seconds":1783419948,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1ccbe0"} 
[2026-07-07 15:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 15:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555506176001,"66":14396,"153":206,"94":10240,"24":11,"16":23404264638382080,"45":753297436587401216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 15:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555506176001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:56:16] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 15:56:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23404264638382080,"km_value":23404264638382.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436587401216,"description":"Unknown IO ID 45"} 
[2026-07-07 15:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555506176001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":753297436587401216}} 
[2026-07-07 15:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":125328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446261,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:56:16] local.INFO: GPS data processed {"connection_id":125328,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:56:16] local.INFO: Acknowledgment sent {"connection_id":125328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:56:26] local.INFO: TCP Data received {"connection_id":125329,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:56:26] local.INFO: Processing buffer {"connection_id":125329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:56:26] local.INFO: IMEI packet received {"connection_id":125329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":125329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:56:31] local.INFO: TCP Data received {"connection_id":125329,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:56:31] local.INFO: Processing buffer {"connection_id":125329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:56:31] local.INFO: IMEI packet received {"connection_id":125329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":125329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:56:36] local.INFO: TCP Data received {"connection_id":124612,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1c04a8012db6b90005487108001200742d..."} 
[2026-07-07 15:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1c04a8012db6b90005487108001200742d..."} 
[2026-07-07 15:56:36] local.INFO: Processing buffer {"connection_id":124612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1c04a8012db6b90005487108001200742d..."} 
[2026-07-07 15:56:36] local.INFO: Packet analysis {"connection_id":124612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1c"} 
[2026-07-07 15:56:36] local.INFO: Extracted packet for processing {"connection_id":124612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1c"} 
[2026-07-07 15:56:36] local.INFO: GPS Element Parsed {"raw_longitude":766949632,"raw_latitude":88633608,"longitude_deg":76.6949632,"latitude_deg":8.8633608,"altitude":18,"angle":116,"satellites":45,"speed":34,"hex_longitude":"2db6b900","hex_latitude":"05487108","is_valid_coordinates":true} 
[2026-07-07 15:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555491584001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341576953754550272,"note":"Value kept but may cause issues"} 
[2026-07-07 15:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5288492577237381120,"note":"Value kept but may cause issues"} 
[2026-07-07 15:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783419897000,"timestamp_ms":1783419897000,"timestamp_seconds":1783419897,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1c04a8"} 
[2026-07-07 15:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:56: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-07-07 15:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 15:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555491584001,"66":27908,"39":206,"84":5376,"24":34,"16":341576953754550272,"45":-5288492577237381120},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,84,24,16,45]} 
[2026-07-07 15:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555491584001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:56:36] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-07 15:56:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 15:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341576953754550272,"km_value":341576953754550.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5288492577237381120,"description":"Unknown IO ID 45"} 
[2026-07-07 15:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555491584001,"power":27908,"unknown_39":206,"unknown_84":5376,"ignition":34,"odometer":null,"unknown_45":-5288492577237381120}} 
[2026-07-07 15:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":124612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:56:36] local.INFO: GPS data processed {"connection_id":124612,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:56:36] local.INFO: Acknowledgment sent {"connection_id":124612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:56:37] local.INFO: TCP Data received {"connection_id":125329,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1c1830012d7a258005ebf3480002009b1c..."} 
[2026-07-07 15:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1c1830012d7a258005ebf3480002009b1c..."} 
[2026-07-07 15:56:37] local.INFO: Processing buffer {"connection_id":125329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1c1830012d7a258005ebf3480002009b1c..."} 
[2026-07-07 15:56:37] local.INFO: Packet analysis {"connection_id":125329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1c"} 
[2026-07-07 15:56:37] local.INFO: Extracted packet for processing {"connection_id":125329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1c"} 
[2026-07-07 15:56:37] local.INFO: GPS Element Parsed {"raw_longitude":762979712,"raw_latitude":99349320,"longitude_deg":76.2979712,"latitude_deg":9.934932,"altitude":2,"angle":155,"satellites":28,"speed":4,"hex_longitude":"2d7a2580","hex_latitude":"05ebf348","is_valid_coordinates":true} 
[2026-07-07 15:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555494400001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103312470482878464,"note":"Value kept but may cause issues"} 
[2026-07-07 15:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801511440943175680,"note":"Value kept but may cause issues"} 
[2026-07-07 15:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783419902000,"timestamp_ms":1783419902000,"timestamp_seconds":1783419902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1c1830"} 
[2026-07-07 15:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-07 15:56: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-07-07 15:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:56: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-07-07 15:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555494400001,"66":13276,"156":206,"87":13824,"24":4,"16":103312470482878464,"45":8801511440943175680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 15:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555494400001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:56:37] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 15:56:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103312470482878464,"km_value":103312470482878.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801511440943175680,"description":"Unknown IO ID 45"} 
[2026-07-07 15:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555494400001,"power":13276,"unknown_156":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8801511440943175680}} 
[2026-07-07 15:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":125329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:56:37] local.INFO: GPS data processed {"connection_id":125329,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:56:37] local.INFO: Acknowledgment sent {"connection_id":125329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:56:47] local.INFO: TCP Data received {"connection_id":125328,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1cfac0012d0a75c00705e6d0001000be15..."} 
[2026-07-07 15:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1cfac0012d0a75c00705e6d0001000be15..."} 
[2026-07-07 15:56:47] local.INFO: Processing buffer {"connection_id":125328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1cfac0012d0a75c00705e6d0001000be15..."} 
[2026-07-07 15:56:47] local.INFO: Packet analysis {"connection_id":125328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1c"} 
[2026-07-07 15:56:47] local.INFO: Extracted packet for processing {"connection_id":125328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1c"} 
[2026-07-07 15:56:47] local.INFO: GPS Element Parsed {"raw_longitude":755660224,"raw_latitude":117827280,"longitude_deg":75.5660224,"latitude_deg":11.782728,"altitude":16,"angle":190,"satellites":21,"speed":20,"hex_longitude":"2d0a75c0","hex_latitude":"0705e6d0","is_valid_coordinates":true} 
[2026-07-07 15:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555506688001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23404569581060096,"note":"Value kept but may cause issues"} 
[2026-07-07 15:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436587278336,"note":"Value kept but may cause issues"} 
[2026-07-07 15:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783419960000,"timestamp_ms":1783419960000,"timestamp_seconds":1783419960,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1cfac0"} 
[2026-07-07 15:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 15:56: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-07-07 15:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":125328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":125328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":125328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555506688001,"66":14439,"153":206,"94":10240,"24":20,"16":23404569581060096,"45":753297436587278336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 15:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555506688001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:56:47] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 15:56:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23404569581060096,"km_value":23404569581060.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436587278336,"description":"Unknown IO ID 45"} 
[2026-07-07 15:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555506688001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":753297436587278336}} 
[2026-07-07 15:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":125328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446264,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:56:48] local.INFO: GPS data processed {"connection_id":125328,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:56:48] local.INFO: Acknowledgment sent {"connection_id":125328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:56:59] local.INFO: TCP Data received {"connection_id":124613,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:56:59] local.INFO: Processing buffer {"connection_id":124613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:56:59] local.INFO: IMEI packet received {"connection_id":124613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":124613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:56:59] local.INFO: TCP Data received {"connection_id":124613,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:56:59] local.INFO: Processing buffer {"connection_id":124613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:56:59] local.INFO: IMEI packet received {"connection_id":124613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":124613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:57:03] local.INFO: TCP Data received {"connection_id":124613,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:57:03] local.INFO: Processing buffer {"connection_id":124613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:57:03] local.INFO: IMEI packet received {"connection_id":124613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":124613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:57:04] local.INFO: TCP Data received {"connection_id":124613,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1c0c78012db6bf4005486e98001100672d..."} 
[2026-07-07 15:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1c0c78012db6bf4005486e98001100672d..."} 
[2026-07-07 15:57:04] local.INFO: Processing buffer {"connection_id":124613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1c0c78012db6bf4005486e98001100672d..."} 
[2026-07-07 15:57:04] local.INFO: Packet analysis {"connection_id":124613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1c"} 
[2026-07-07 15:57:04] local.INFO: Extracted packet for processing {"connection_id":124613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1c"} 
[2026-07-07 15:57:04] local.INFO: GPS Element Parsed {"raw_longitude":766951232,"raw_latitude":88632984,"longitude_deg":76.6951232,"latitude_deg":8.8632984,"altitude":17,"angle":103,"satellites":45,"speed":34,"hex_longitude":"2db6bf40","hex_latitude":"05486e98","is_valid_coordinates":true} 
[2026-07-07 15:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555493632001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341577035358928896,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5280189065424992256,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783419899000,"timestamp_ms":1783419899000,"timestamp_seconds":1783419899,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1c0c78"} 
[2026-07-07 15:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 15:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555493632001,"66":27919,"39":206,"84":5376,"24":34,"16":341577035358928896,"45":-5280189065424992256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,84,24,16,45]} 
[2026-07-07 15:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555493632001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:57:04] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-07 15:57:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 15:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341577035358928896,"km_value":341577035358928.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5280189065424992256,"description":"Unknown IO ID 45"} 
[2026-07-07 15:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555493632001,"power":27919,"unknown_39":206,"unknown_84":5376,"ignition":34,"odometer":null,"unknown_45":-5280189065424992256}} 
[2026-07-07 15:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":124613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:57:04] local.INFO: GPS data processed {"connection_id":124613,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:57:04] local.INFO: Acknowledgment sent {"connection_id":124613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:57:08] local.INFO: TCP Data received {"connection_id":125329,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1c23e8012d7a26c005ebf1600002008e1e..."} 
[2026-07-07 15:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1c23e8012d7a26c005ebf1600002008e1e..."} 
[2026-07-07 15:57:08] local.INFO: Processing buffer {"connection_id":125329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1c23e8012d7a26c005ebf1600002008e1e..."} 
[2026-07-07 15:57:08] local.INFO: Packet analysis {"connection_id":125329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1c"} 
[2026-07-07 15:57:08] local.INFO: Extracted packet for processing {"connection_id":125329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1c"} 
[2026-07-07 15:57:08] local.INFO: GPS Element Parsed {"raw_longitude":762980032,"raw_latitude":99348832,"longitude_deg":76.2980032,"latitude_deg":9.9348832,"altitude":2,"angle":142,"satellites":30,"speed":7,"hex_longitude":"2d7a26c0","hex_latitude":"05ebf160","is_valid_coordinates":true} 
[2026-07-07 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-07-07 15:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555494912001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103312496252682240,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801581809687283712,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783419905000,"timestamp_ms":1783419905000,"timestamp_seconds":1783419905,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1c23e8"} 
[2026-07-07 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-07-07 15:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 15:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 15:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555494912001,"66":13091,"156":206,"87":13824,"24":7,"16":103312496252682240,"45":8801581809687283712},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 15:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555494912001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:57:08] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 15:57:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103312496252682240,"km_value":103312496252682.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801581809687283712,"description":"Unknown IO ID 45"} 
[2026-07-07 15:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555494912001,"power":13091,"unknown_156":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8801581809687283712}} 
[2026-07-07 15:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":125329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:57:08] local.INFO: GPS data processed {"connection_id":125329,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:57:08] local.INFO: Acknowledgment sent {"connection_id":125329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:57:18] local.INFO: TCP Data received {"connection_id":124527,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124527,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:57:18] local.INFO: Processing buffer {"connection_id":124527,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:57:18] local.INFO: IMEI packet received {"connection_id":124527,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":124527,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:57:22] local.INFO: TCP Data received {"connection_id":124527,"ip":"42.106.6.35","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-07 15:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124527,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-07 15:57:22] local.INFO: Processing buffer {"connection_id":124527,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-07 15:57:22] local.INFO: IMEI packet received {"connection_id":124527,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":124527,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:57:23] local.INFO: TCP Data received {"connection_id":124527,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1d0290012d0a74c00705e350001100d015..."} 
[2026-07-07 15:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1d0290012d0a74c00705e350001100d015..."} 
[2026-07-07 15:57:23] local.INFO: Processing buffer {"connection_id":124527,"buffer_length":829,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-07 15:57:23] local.INFO: IMEI packet received {"connection_id":124527,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":124527,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:57:25] local.INFO: TCP Data received {"connection_id":125330,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:57:25] local.INFO: Processing buffer {"connection_id":125330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:57:25] local.INFO: IMEI packet received {"connection_id":125330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":125330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:57:26] local.INFO: TCP Data received {"connection_id":125330,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:57:26] local.INFO: Processing buffer {"connection_id":125330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:57:26] local.INFO: IMEI packet received {"connection_id":125330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":125330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:57:31] local.INFO: TCP Data received {"connection_id":125330,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:57:31] local.INFO: Processing buffer {"connection_id":125330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:57:31] local.INFO: IMEI packet received {"connection_id":125330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":125330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:57:32] local.INFO: TCP Data received {"connection_id":125330,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1c2fa0012d7a280005ebef300002009f1f..."} 
[2026-07-07 15:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1c2fa0012d7a280005ebef300002009f1f..."} 
[2026-07-07 15:57:32] local.INFO: Processing buffer {"connection_id":125330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1c2fa0012d7a280005ebef300002009f1f..."} 
[2026-07-07 15:57:32] local.INFO: Packet analysis {"connection_id":125330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1c"} 
[2026-07-07 15:57:32] local.INFO: Extracted packet for processing {"connection_id":125330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1c"} 
[2026-07-07 15:57:32] local.INFO: GPS Element Parsed {"raw_longitude":762980352,"raw_latitude":99348272,"longitude_deg":76.2980352,"latitude_deg":9.9348272,"altitude":2,"angle":159,"satellites":31,"speed":6,"hex_longitude":"2d7a2800","hex_latitude":"05ebef30","is_valid_coordinates":true} 
[2026-07-07 15:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555495680001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103312530612420608,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801933653408047104,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783419908000,"timestamp_ms":1783419908000,"timestamp_seconds":1783419908,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1c2fa0"} 
[2026-07-07 15:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 15:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555495680001,"66":13124,"156":206,"87":13824,"24":6,"16":103312530612420608,"45":8801933653408047104},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 15:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555495680001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:57:32] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 15:57:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103312530612420608,"km_value":103312530612420.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801933653408047104,"description":"Unknown IO ID 45"} 
[2026-07-07 15:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555495680001,"power":13124,"unknown_156":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8801933653408047104}} 
[2026-07-07 15:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":125330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:57:32] local.INFO: GPS data processed {"connection_id":125330,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:57:32] local.INFO: Acknowledgment sent {"connection_id":125330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:57:34] local.INFO: TCP Data received {"connection_id":124527,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1d1230012d0a72c00705dec0001200b915..."} 
[2026-07-07 15:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1d1230012d0a72c00705dec0001200b915..."} 
[2026-07-07 15:57:34] local.INFO: Processing buffer {"connection_id":124527,"buffer_length":1607,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019f3c..."} 
[2026-07-07 15:57:34] local.INFO: IMEI packet received {"connection_id":124527,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":124527,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:57:37] local.INFO: TCP Data received {"connection_id":124613,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1c1448012db6c64005486df0001100592d..."} 
[2026-07-07 15:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1c1448012db6c64005486df0001100592d..."} 
[2026-07-07 15:57:37] local.INFO: Processing buffer {"connection_id":124613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1c1448012db6c64005486df0001100592d..."} 
[2026-07-07 15:57:37] local.INFO: Packet analysis {"connection_id":124613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1c"} 
[2026-07-07 15:57:37] local.INFO: Extracted packet for processing {"connection_id":124613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1c"} 
[2026-07-07 15:57:37] local.INFO: GPS Element Parsed {"raw_longitude":766953024,"raw_latitude":88632816,"longitude_deg":76.6953024,"latitude_deg":8.8632816,"altitude":17,"angle":89,"satellites":45,"speed":36,"hex_longitude":"2db6c640","hex_latitude":"05486df0","is_valid_coordinates":true} 
[2026-07-07 15:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555494144001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341577125553242112,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5278429846820710400,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783419901000,"timestamp_ms":1783419901000,"timestamp_seconds":1783419901,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1c1448"} 
[2026-07-07 15:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 15:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555494144001,"66":27865,"39":206,"84":5376,"24":36,"16":341577125553242112,"45":-5278429846820710400},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,84,24,16,45]} 
[2026-07-07 15:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555494144001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:57:37] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-07 15:57:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 15:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341577125553242112,"km_value":341577125553242.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5278429846820710400,"description":"Unknown IO ID 45"} 
[2026-07-07 15:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555494144001,"power":27865,"unknown_39":206,"unknown_84":5376,"ignition":36,"odometer":null,"unknown_45":-5278429846820710400}} 
[2026-07-07 15:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":124613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:57:37] local.INFO: GPS data processed {"connection_id":124613,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:57:37] local.INFO: Acknowledgment sent {"connection_id":124613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:57:39] local.INFO: TCP Data received {"connection_id":124527,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1d1a00012d0a72c00705dc28001300ad15..."} 
[2026-07-07 15:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1d1a00012d0a72c00705dc28001300ad15..."} 
[2026-07-07 15:57:39] local.INFO: Processing buffer {"connection_id":124527,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019f3c1d0290012d0a74c00705e350001100d015..."} 
[2026-07-07 15:57:39] local.INFO: Packet analysis {"connection_id":124527,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019f3c1d"} 
[2026-07-07 15:57:39] local.INFO: Extracted packet for processing {"connection_id":124527,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3c1d"} 
[2026-07-07 15:57:39] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117826384,"longitude_deg":75.5659968,"latitude_deg":11.7826384,"altitude":17,"angle":208,"satellites":21,"speed":16,"hex_longitude":"2d0a74c0","hex_latitude":"0705e350","is_valid_coordinates":true} 
[2026-07-07 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-07-07 15:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555509760001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23404616825700352,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753719649050742784,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783419962000,"timestamp_ms":1783419962000,"timestamp_seconds":1783419962,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1d0290"} 
[2026-07-07 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-07-07 15: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-07-07 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 15:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 15:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555509760001,"66":14396,"153":206,"94":10240,"24":16,"16":23404616825700352,"45":753719649050742784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 15:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555509760001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:57:39] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 15:57:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23404616825700352,"km_value":23404616825700.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":753719649050742784,"description":"Unknown IO ID 45"} 
[2026-07-07 15:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555509760001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":753719649050742784}} 
[2026-07-07 15:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":124527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446269,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:57:39] local.INFO: GPS data processed {"connection_id":124527,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:57:39] local.INFO: Acknowledgment sent {"connection_id":124527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:57:39] local.INFO: Packet analysis {"connection_id":124527,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3c1d"} 
[2026-07-07 15:57:39] local.INFO: Extracted packet for processing {"connection_id":124527,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1d"} 
[2026-07-07 15:57:39] local.INFO: GPS Element Parsed {"raw_longitude":755659456,"raw_latitude":117825216,"longitude_deg":75.5659456,"latitude_deg":11.7825216,"altitude":18,"angle":185,"satellites":21,"speed":10,"hex_longitude":"2d0a72c0","hex_latitude":"0705dec0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 15:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555510272001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23404676955242496,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174073802752,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783419966000,"timestamp_ms":1783419966000,"timestamp_seconds":1783419966,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1d1230"} 
[2026-07-07 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-07-07 15: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-07-07 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 15:57: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-07-07 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-07-07 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-07-07 15:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555510272001,"66":14309,"153":206,"94":10240,"24":10,"16":23404676955242496,"45":753438174073802752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 15:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555510272001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:57:39] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 15:57:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23404676955242496,"km_value":23404676955242.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174073802752,"description":"Unknown IO ID 45"} 
[2026-07-07 15:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555510272001,"power":14309,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":753438174073802752}} 
[2026-07-07 15:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":124527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446270,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:57:40] local.INFO: GPS data processed {"connection_id":124527,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:57:40] local.INFO: Acknowledgment sent {"connection_id":124527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:57:40] local.INFO: Packet analysis {"connection_id":124527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1d"} 
[2026-07-07 15:57:40] local.INFO: Extracted packet for processing {"connection_id":124527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1d"} 
[2026-07-07 15:57:40] local.INFO: GPS Element Parsed {"raw_longitude":755659456,"raw_latitude":117824552,"longitude_deg":75.5659456,"latitude_deg":11.7824552,"altitude":19,"angle":173,"satellites":21,"speed":15,"hex_longitude":"2d0a72c0","hex_latitude":"0705dc28","is_valid_coordinates":true} 
[2026-07-07 15:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555511296001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23404711314980864,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752875224120082432,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783419968000,"timestamp_ms":1783419968000,"timestamp_seconds":1783419968,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1d1a00"} 
[2026-07-07 15:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 15:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555511296001,"66":14515,"153":206,"94":10240,"24":15,"16":23404711314980864,"45":752875224120082432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 15:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555511296001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:57:40] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 15:57:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23404711314980864,"km_value":23404711314980.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":752875224120082432,"description":"Unknown IO ID 45"} 
[2026-07-07 15:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555511296001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":752875224120082432}} 
[2026-07-07 15:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":124527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446271,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:57:40] local.INFO: GPS data processed {"connection_id":124527,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:57:40] local.INFO: Acknowledgment sent {"connection_id":124527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:57:46] local.INFO: TCP Data received {"connection_id":124527,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1d6438012d0a77400705c1d0001800a215..."} 
[2026-07-07 15:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1d6438012d0a77400705c1d0001800a215..."} 
[2026-07-07 15:57:46] local.INFO: Processing buffer {"connection_id":124527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1d6438012d0a77400705c1d0001800a215..."} 
[2026-07-07 15:57:46] local.INFO: Packet analysis {"connection_id":124527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1d"} 
[2026-07-07 15:57:46] local.INFO: Extracted packet for processing {"connection_id":124527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1d"} 
[2026-07-07 15:57:46] local.INFO: GPS Element Parsed {"raw_longitude":755660608,"raw_latitude":117817808,"longitude_deg":75.5660608,"latitude_deg":11.7817808,"altitude":24,"angle":162,"satellites":21,"speed":6,"hex_longitude":"2d0a7740","hex_latitude":"0705c1d0","is_valid_coordinates":true} 
[2026-07-07 15:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555511808001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23405046322429952,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752875224119912448,"note":"Value kept but may cause issues"} 
[2026-07-07 15:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783419987000,"timestamp_ms":1783419987000,"timestamp_seconds":1783419987,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1d6438"} 
[2026-07-07 15:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15: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-07-07 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 15:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555511808001,"66":14461,"153":206,"94":10240,"24":6,"16":23405046322429952,"45":752875224119912448},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 15:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555511808001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:57:46] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 15:57:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23405046322429952,"km_value":23405046322429.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":752875224119912448,"description":"Unknown IO ID 45"} 
[2026-07-07 15:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555511808001,"power":14461,"unknown_153":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":752875224119912448}} 
[2026-07-07 15:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":124527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446272,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:57:47] local.INFO: GPS data processed {"connection_id":124527,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:57:47] local.INFO: Acknowledgment sent {"connection_id":124527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:57:58] local.INFO: TCP Data received {"connection_id":124614,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:57:58] local.INFO: Processing buffer {"connection_id":124614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:57:58] local.INFO: IMEI packet received {"connection_id":124614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":124614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:58:01] local.INFO: TCP Data received {"connection_id":124614,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:58:01] local.INFO: Processing buffer {"connection_id":124614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:58:01] local.INFO: IMEI packet received {"connection_id":124614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":124614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:58:03] local.INFO: TCP Data received {"connection_id":125330,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1e75a8012d7a5a4005eb98280000004b25..."} 
[2026-07-07 15:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1e75a8012d7a5a4005eb98280000004b25..."} 
[2026-07-07 15:58:03] local.INFO: Processing buffer {"connection_id":125330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1e75a8012d7a5a4005eb98280000004b25..."} 
[2026-07-07 15:58:03] local.INFO: Packet analysis {"connection_id":125330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1e"} 
[2026-07-07 15:58:03] local.INFO: Extracted packet for processing {"connection_id":125330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1e"} 
[2026-07-07 15:58:03] local.INFO: GPS Element Parsed {"raw_longitude":762993216,"raw_latitude":99325992,"longitude_deg":76.2993216,"latitude_deg":9.9325992,"altitude":0,"angle":75,"satellites":37,"speed":14,"hex_longitude":"2d7a5a40","hex_latitude":"05eb9828","is_valid_coordinates":true} 
[2026-07-07 15:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555534080001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103313849167380480,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815725927260993536,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:03] 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-07-07 15:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783420057000,"timestamp_ms":1783420057000,"timestamp_seconds":1783420057,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1e75a8"} 
[2026-07-07 15:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 15:58:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:03] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-4611686018416106240,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-07-07 15:58:03] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3087084922,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:03] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2147871676,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607153965,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3955083264,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:03] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57752548342126390,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:03] local.WARNING: Large IO value detected {"io_id":29,"raw_value":4125298553507364869,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,163,87,24,241,157,16,11,159,102,45,128,152,37,10,66,98,64,36,1,240,116,227,60,235,4,113,205,15,162,63,120,34,239,50,2,111,5,182,29],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-07-07 15:58:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":95816426258432,"timestamp_seconds":95816426258.432,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 15:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555534080001,"66":13406,"163":206,"87":13824,"24":14,"16":103313849167380480,"45":8815725927260993536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-07 15:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555534080001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:58:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 15:58:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103313849167380480,"km_value":103313849167380.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815725927260993536,"description":"Unknown IO ID 45"} 
[2026-07-07 15:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555534080001,"power":13406,"unknown_163":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8815725927260993536}} 
[2026-07-07 15:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":125330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:58:03] local.INFO: GPS data processed {"connection_id":125330,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:58:03] local.INFO: Acknowledgment sent {"connection_id":125330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:58:10] local.INFO: TCP Data received {"connection_id":125331,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:58:10] local.INFO: Processing buffer {"connection_id":125331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:58:10] local.INFO: IMEI packet received {"connection_id":125331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":125331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:58:11] local.INFO: TCP Data received {"connection_id":124614,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:58:11] local.INFO: Processing buffer {"connection_id":124614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:58:11] local.INFO: IMEI packet received {"connection_id":124614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":124614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:58:11] local.INFO: TCP Data received {"connection_id":125331,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:58:11] local.INFO: Processing buffer {"connection_id":125331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:58:11] local.INFO: IMEI packet received {"connection_id":125331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":125331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:58:12] local.INFO: TCP Data received {"connection_id":124614,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1df0d8012db823c0054835f0001a005c2e..."} 
[2026-07-07 15:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1df0d8012db823c0054835f0001a005c2e..."} 
[2026-07-07 15:58:12] local.INFO: Processing buffer {"connection_id":124614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1df0d8012db823c0054835f0001a005c2e..."} 
[2026-07-07 15:58:12] local.INFO: Packet analysis {"connection_id":124614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1d"} 
[2026-07-07 15:58:12] local.INFO: Extracted packet for processing {"connection_id":124614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1d"} 
[2026-07-07 15:58:12] local.INFO: GPS Element Parsed {"raw_longitude":767042496,"raw_latitude":88618480,"longitude_deg":76.7042496,"latitude_deg":8.861848,"altitude":26,"angle":92,"satellites":46,"speed":39,"hex_longitude":"2db823c0","hex_latitude":"054835f0","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555523584001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341581575139360768,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5187935641811707904,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783420023000,"timestamp_ms":1783420023000,"timestamp_seconds":1783420023,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1df0d8"} 
[2026-07-07 15:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15: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-07-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 15:58: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-07-07 15: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-07-07 15:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555523584001,"66":27865,"177":206,"84":5376,"24":39,"16":341581575139360768,"45":-5187935641811707904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,84,24,16,45]} 
[2026-07-07 15:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555523584001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:58:12] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 15:58:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 15:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341581575139360768,"km_value":341581575139360.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5187935641811707904,"description":"Unknown IO ID 45"} 
[2026-07-07 15:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555523584001,"power":27865,"unknown_177":206,"unknown_84":5376,"ignition":39,"odometer":null,"unknown_45":-5187935641811707904}} 
[2026-07-07 15:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":124614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:58:12] local.INFO: GPS data processed {"connection_id":124614,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:58:12] local.INFO: Acknowledgment sent {"connection_id":124614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:58:15] local.INFO: TCP Data received {"connection_id":125331,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:58:15] local.INFO: Processing buffer {"connection_id":125331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:58:15] local.INFO: IMEI packet received {"connection_id":125331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":125331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:58:16] local.INFO: TCP Data received {"connection_id":125331,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1ea0a0012d0a520007057bc0000f010415..."} 
[2026-07-07 15:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1ea0a0012d0a520007057bc0000f010415..."} 
[2026-07-07 15:58:16] local.INFO: Processing buffer {"connection_id":125331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1ea0a0012d0a520007057bc0000f010415..."} 
[2026-07-07 15:58:16] local.INFO: Packet analysis {"connection_id":125331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1e"} 
[2026-07-07 15:58:16] local.INFO: Extracted packet for processing {"connection_id":125331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1e"} 
[2026-07-07 15:58:16] local.INFO: GPS Element Parsed {"raw_longitude":755651072,"raw_latitude":117799872,"longitude_deg":75.5651072,"latitude_deg":11.7799872,"altitude":15,"angle":260,"satellites":21,"speed":14,"hex_longitude":"2d0a5200","hex_latitude":"07057bc0","is_valid_coordinates":true} 
[2026-07-07 15:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555534336001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23406253208240128,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":749708630626324480,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783420068000,"timestamp_ms":1783420068000,"timestamp_seconds":1783420068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1ea0a0"} 
[2026-07-07 15:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:58: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-07-07 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 15:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555534336001,"66":14428,"153":206,"94":10240,"24":14,"16":23406253208240128,"45":749708630626324480},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-07 15:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555534336001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:58:16] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 15:58:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23406253208240128,"km_value":23406253208240.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":749708630626324480,"description":"Unknown IO ID 45"} 
[2026-07-07 15:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555534336001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":749708630626324480}} 
[2026-07-07 15:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":125331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446275,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:58:16] local.INFO: GPS data processed {"connection_id":125331,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:58:16] local.INFO: Acknowledgment sent {"connection_id":125331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:58:26] local.INFO: TCP Data received {"connection_id":125332,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125332,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:58:26] local.INFO: Processing buffer {"connection_id":125332,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:58:26] local.INFO: IMEI packet received {"connection_id":125332,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":125332,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:58:29] local.INFO: TCP Data received {"connection_id":124528,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:58:29] local.INFO: Processing buffer {"connection_id":124528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:58:29] local.INFO: IMEI packet received {"connection_id":124528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 15:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":124528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:58:31] local.INFO: TCP Data received {"connection_id":125332,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125332,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:58:31] local.INFO: Processing buffer {"connection_id":125332,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:58:31] local.INFO: IMEI packet received {"connection_id":125332,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":125332,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:58:32] local.INFO: TCP Data received {"connection_id":125332,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1eac58012d7a7f0005eba4180002004522..."} 
[2026-07-07 15:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1eac58012d7a7f0005eba4180002004522..."} 
[2026-07-07 15:58:32] local.INFO: Processing buffer {"connection_id":125332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1eac58012d7a7f0005eba4180002004522..."} 
[2026-07-07 15:58:32] local.INFO: Packet analysis {"connection_id":125332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1e"} 
[2026-07-07 15:58:32] local.INFO: Extracted packet for processing {"connection_id":125332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1e"} 
[2026-07-07 15:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763002624,"raw_latitude":99329048,"longitude_deg":76.3002624,"latitude_deg":9.9329048,"altitude":2,"angle":69,"satellites":34,"speed":37,"hex_longitude":"2d7a7f00","hex_latitude":"05eba418","is_valid_coordinates":true} 
[2026-07-07 15:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555534592001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103314321613783040,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816429614702798848,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783420071000,"timestamp_ms":1783420071000,"timestamp_seconds":1783420071,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1eac58"} 
[2026-07-07 15:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-07 15:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555534592001,"66":13015,"163":206,"87":13824,"24":37,"16":103314321613783040,"45":8816429614702798848},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-07 15:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555534592001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:58:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 15:58:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103314321613783040,"km_value":103314321613783.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816429614702798848,"description":"Unknown IO ID 45"} 
[2026-07-07 15:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555534592001,"power":13015,"unknown_163":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8816429614702798848}} 
[2026-07-07 15:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":125332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:58:32] local.INFO: GPS data processed {"connection_id":125332,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:58:32] local.INFO: Acknowledgment sent {"connection_id":125332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:58:43] local.INFO: TCP Data received {"connection_id":124614,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1e17e8012db84a40054836e8001e00532e..."} 
[2026-07-07 15:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1e17e8012db84a40054836e8001e00532e..."} 
[2026-07-07 15:58:43] local.INFO: Processing buffer {"connection_id":124614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1e17e8012db84a40054836e8001e00532e..."} 
[2026-07-07 15:58:43] local.INFO: Packet analysis {"connection_id":124614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1e"} 
[2026-07-07 15:58:43] local.INFO: Extracted packet for processing {"connection_id":124614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1e"} 
[2026-07-07 15:58:43] local.INFO: GPS Element Parsed {"raw_longitude":767052352,"raw_latitude":88618728,"longitude_deg":76.7052352,"latitude_deg":8.8618728,"altitude":30,"angle":83,"satellites":46,"speed":39,"hex_longitude":"2db84a40","hex_latitude":"054836e8","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555525888001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341582051880730624,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5178084017627074560,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783420033000,"timestamp_ms":1783420033000,"timestamp_seconds":1783420033,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1e17e8"} 
[2026-07-07 15:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:58: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-07-07 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 15:58: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-07-07 15: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-07-07 15:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555525888001,"66":27876,"113":206,"84":5376,"24":39,"16":341582051880730624,"45":-5178084017627074560},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,84,24,16,45]} 
[2026-07-07 15:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555525888001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:58:43] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 15:58:43] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 15:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341582051880730624,"km_value":341582051880730.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5178084017627074560,"description":"Unknown IO ID 45"} 
[2026-07-07 15:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555525888001,"power":27876,"unknown_113":206,"unknown_84":5376,"ignition":39,"odometer":null,"unknown_45":-5178084017627074560}} 
[2026-07-07 15:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":124614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:58:43] local.INFO: GPS data processed {"connection_id":124614,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:58:43] local.INFO: Acknowledgment sent {"connection_id":124614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:58:47] local.INFO: TCP Data received {"connection_id":125331,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1f7778012d0a48c0070587f8000e013116..."} 
[2026-07-07 15:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1f7778012d0a48c0070587f8000e013116..."} 
[2026-07-07 15:58:47] local.INFO: Processing buffer {"connection_id":125331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1f7778012d0a48c0070587f8000e013116..."} 
[2026-07-07 15:58:47] local.INFO: Packet analysis {"connection_id":125331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1f"} 
[2026-07-07 15:58:47] local.INFO: Extracted packet for processing {"connection_id":125331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1f"} 
[2026-07-07 15:58:47] local.INFO: GPS Element Parsed {"raw_longitude":755648704,"raw_latitude":117803000,"longitude_deg":75.5648704,"latitude_deg":11.7803,"altitude":14,"angle":305,"satellites":22,"speed":9,"hex_longitude":"2d0a48c0","hex_latitude":"070587f8","is_valid_coordinates":true} 
[2026-07-07 15:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555551232001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23406480841506816,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741264381325031424,"note":"Value kept but may cause issues"} 
[2026-07-07 15:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783420123000,"timestamp_ms":1783420123000,"timestamp_seconds":1783420123,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1f7778"} 
[2026-07-07 15:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:58: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-07-07 15:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 15:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":125331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":125331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":125331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555551232001,"66":14276,"177":206,"94":10240,"24":9,"16":23406480841506816,"45":741264381325031424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-07 15:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555551232001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:58:47] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 15:58:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23406480841506816,"km_value":23406480841506.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":741264381325031424,"description":"Unknown IO ID 45"} 
[2026-07-07 15:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555551232001,"power":14276,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":741264381325031424}} 
[2026-07-07 15:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":125331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446278,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:58:47] local.INFO: GPS data processed {"connection_id":125331,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:58:47] local.INFO: Acknowledgment sent {"connection_id":125331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:58:58] local.INFO: TCP Data received {"connection_id":125333,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:58:58] local.INFO: Processing buffer {"connection_id":125333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:58:58] local.INFO: IMEI packet received {"connection_id":125333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 15:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":125333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:58:58] local.INFO: TCP Data received {"connection_id":126584,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:58:58] local.INFO: Processing buffer {"connection_id":126584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 15:58:58] local.INFO: IMEI packet received {"connection_id":126584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 15:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":126584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:59:02] local.INFO: TCP Data received {"connection_id":125333,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:59:02] local.INFO: Processing buffer {"connection_id":125333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:59:02] local.INFO: IMEI packet received {"connection_id":125333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":125333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:59:03] local.INFO: TCP Data received {"connection_id":125332,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1ecf80012d7aa14005ebb0080003004524..."} 
[2026-07-07 15:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1ecf80012d7aa14005ebb0080003004524..."} 
[2026-07-07 15:59:03] local.INFO: Processing buffer {"connection_id":125332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1ecf80012d7aa14005ebb0080003004524..."} 
[2026-07-07 15:59:03] local.INFO: Packet analysis {"connection_id":125332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1e"} 
[2026-07-07 15:59:03] local.INFO: Extracted packet for processing {"connection_id":125332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1e"} 
[2026-07-07 15:59:03] local.INFO: GPS Element Parsed {"raw_longitude":763011392,"raw_latitude":99332104,"longitude_deg":76.3011392,"latitude_deg":9.9332104,"altitude":3,"angle":69,"satellites":36,"speed":37,"hex_longitude":"2d7aa140","hex_latitude":"05ebb008","is_valid_coordinates":true} 
[2026-07-07 15:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555538176001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103314763995414528,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826773820097697792,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783420080000,"timestamp_ms":1783420080000,"timestamp_seconds":1783420080,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1ecf80"} 
[2026-07-07 15:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 15:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555538176001,"66":13254,"161":206,"87":13824,"24":37,"16":103314763995414528,"45":8826773820097697792},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-07 15:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555538176001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:59:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-07 15:59:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103314763995414528,"km_value":103314763995414.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826773820097697792,"description":"Unknown IO ID 45"} 
[2026-07-07 15:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555538176001,"power":13254,"unknown_161":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8826773820097697792}} 
[2026-07-07 15:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":125332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:59:03] local.INFO: GPS data processed {"connection_id":125332,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:59:03] local.INFO: Acknowledgment sent {"connection_id":125332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:59:03] local.INFO: TCP Data received {"connection_id":125333,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:59:03] local.INFO: Processing buffer {"connection_id":125333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 15:59:03] local.INFO: IMEI packet received {"connection_id":125333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 15:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":125333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:59:04] local.INFO: TCP Data received {"connection_id":125333,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1e3b10012db86dc005483c580021004e2f..."} 
[2026-07-07 15:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1e3b10012db86dc005483c580021004e2f..."} 
[2026-07-07 15:59:04] local.INFO: Processing buffer {"connection_id":125333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1e3b10012db86dc005483c580021004e2f..."} 
[2026-07-07 15:59:04] local.INFO: Packet analysis {"connection_id":125333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1e"} 
[2026-07-07 15:59:04] local.INFO: Extracted packet for processing {"connection_id":125333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1e"} 
[2026-07-07 15:59:04] local.INFO: GPS Element Parsed {"raw_longitude":767061440,"raw_latitude":88620120,"longitude_deg":76.706144,"latitude_deg":8.862012,"altitude":33,"angle":78,"satellites":47,"speed":41,"hex_longitude":"2db86dc0","hex_latitude":"05483c58","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555528448001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341582494262362112,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5167247231023650816,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783420042000,"timestamp_ms":1783420042000,"timestamp_seconds":1783420042,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1e3b10"} 
[2026-07-07 15:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 15:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15: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-07-07 15:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555528448001,"66":27908,"113":206,"84":5376,"24":41,"16":341582494262362112,"45":-5167247231023650816},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,84,24,16,45]} 
[2026-07-07 15:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555528448001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:59:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 15:59:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 15:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341582494262362112,"km_value":341582494262362.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5167247231023650816,"description":"Unknown IO ID 45"} 
[2026-07-07 15:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555528448001,"power":27908,"unknown_113":206,"unknown_84":5376,"ignition":41,"odometer":null,"unknown_45":-5167247231023650816}} 
[2026-07-07 15:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":125333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:59:05] local.INFO: GPS data processed {"connection_id":125333,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:59:05] local.INFO: Acknowledgment sent {"connection_id":125333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:59:10] local.INFO: TCP Data received {"connection_id":124615,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124615,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:59:10] local.INFO: Processing buffer {"connection_id":124615,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:59:10] local.INFO: IMEI packet received {"connection_id":124615,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 15:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":124615,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:59:15] local.INFO: TCP Data received {"connection_id":124615,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124615,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:59:15] local.INFO: Processing buffer {"connection_id":124615,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 15:59:15] local.INFO: IMEI packet received {"connection_id":124615,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 15:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":124615,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:59:16] local.INFO: TCP Data received {"connection_id":124615,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1f7b60012d0a480007058860000e011d16..."} 
[2026-07-07 15:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1f7b60012d0a480007058860000e011d16..."} 
[2026-07-07 15:59:16] local.INFO: Processing buffer {"connection_id":124615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1f7b60012d0a480007058860000e011d16..."} 
[2026-07-07 15:59:16] local.INFO: Packet analysis {"connection_id":124615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1f"} 
[2026-07-07 15:59:16] local.INFO: Extracted packet for processing {"connection_id":124615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1f"} 
[2026-07-07 15:59:16] local.INFO: GPS Element Parsed {"raw_longitude":755648512,"raw_latitude":117803104,"longitude_deg":75.5648512,"latitude_deg":11.7803104,"altitude":14,"angle":285,"satellites":22,"speed":9,"hex_longitude":"2d0a4800","hex_latitude":"07058860","is_valid_coordinates":true} 
[2026-07-07 15:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555551488001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23406493726408704,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741053275092547584,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783420124000,"timestamp_ms":1783420124000,"timestamp_seconds":1783420124,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1f7b60"} 
[2026-07-07 15:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:59: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-07-07 15: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 15:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124615,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124615,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555551488001,"66":14276,"177":206,"94":10240,"24":9,"16":23406493726408704,"45":741053275092547584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-07 15:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555551488001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:59:16] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 15:59:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23406493726408704,"km_value":23406493726408.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":741053275092547584,"description":"Unknown IO ID 45"} 
[2026-07-07 15:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555551488001,"power":14276,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":741053275092547584}} 
[2026-07-07 15:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":124615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446281,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:59:16] local.INFO: GPS data processed {"connection_id":124615,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:59:16] local.INFO: Acknowledgment sent {"connection_id":124615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:59:36] local.INFO: TCP Data received {"connection_id":125333,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1f63f0012db9f24005486b38002500712e..."} 
[2026-07-07 15:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1f63f0012db9f24005486b38002500712e..."} 
[2026-07-07 15:59:36] local.INFO: Processing buffer {"connection_id":125333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1f63f0012db9f24005486b38002500712e..."} 
[2026-07-07 15:59:36] local.INFO: Packet analysis {"connection_id":125333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1f"} 
[2026-07-07 15:59:36] local.INFO: Extracted packet for processing {"connection_id":125333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1f"} 
[2026-07-07 15:59:36] local.INFO: GPS Element Parsed {"raw_longitude":767160896,"raw_latitude":88632120,"longitude_deg":76.7160896,"latitude_deg":8.863212,"altitude":37,"angle":113,"satellites":46,"speed":52,"hex_longitude":"2db9f240","hex_latitude":"05486b38","is_valid_coordinates":true} 
[2026-07-07 15:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555548416001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341587446359654400,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5057401621358088192,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783420118000,"timestamp_ms":1783420118000,"timestamp_seconds":1783420118,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1f63f0"} 
[2026-07-07 15:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 15:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 15:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 15:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 15:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555548416001,"66":27919,"112":206,"84":5376,"24":52,"16":341587446359654400,"45":-5057401621358088192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-07-07 15:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 15:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 15:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555548416001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:59:36] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 15:59:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 15:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341587446359654400,"km_value":341587446359654.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5057401621358088192,"description":"Unknown IO ID 45"} 
[2026-07-07 15:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555548416001,"power":27919,"unknown_112":206,"unknown_84":5376,"ignition":52,"odometer":null,"unknown_45":-5057401621358088192}} 
[2026-07-07 15:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":125333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:59:36] local.INFO: GPS data processed {"connection_id":125333,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:59:36] local.INFO: Acknowledgment sent {"connection_id":125333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:59:38] local.INFO: TCP Data received {"connection_id":124616,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:59:38] local.INFO: Processing buffer {"connection_id":124616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:59:38] local.INFO: IMEI packet received {"connection_id":124616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 15:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":124616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 15:59:41] local.INFO: TCP Data received {"connection_id":124616,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:59:41] local.INFO: Processing buffer {"connection_id":124616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:59:41] local.INFO: IMEI packet received {"connection_id":124616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":124616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:59:42] local.INFO: TCP Data received {"connection_id":124616,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:59:42] local.INFO: Processing buffer {"connection_id":124616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 15:59:42] local.INFO: IMEI packet received {"connection_id":124616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 15:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":124616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 15:59:44] local.INFO: TCP Data received {"connection_id":124616,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1ef690012d7ac20005ebbd680006004024..."} 
[2026-07-07 15:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1ef690012d7ac20005ebbd680006004024..."} 
[2026-07-07 15:59:44] local.INFO: Processing buffer {"connection_id":124616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1ef690012d7ac20005ebbd680006004024..."} 
[2026-07-07 15:59:44] local.INFO: Packet analysis {"connection_id":124616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1e"} 
[2026-07-07 15:59:44] local.INFO: Extracted packet for processing {"connection_id":124616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1e"} 
[2026-07-07 15:59:44] local.INFO: GPS Element Parsed {"raw_longitude":763019776,"raw_latitude":99335528,"longitude_deg":76.3019776,"latitude_deg":9.9335528,"altitude":6,"angle":64,"satellites":36,"speed":25,"hex_longitude":"2d7ac200","hex_latitude":"05ebbd68","is_valid_coordinates":true} 
[2026-07-07 15:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555540480001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103315197787111424,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836414338050820096,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783420090000,"timestamp_ms":1783420090000,"timestamp_seconds":1783420090,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1ef690"} 
[2026-07-07 15:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-07 15:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555540480001,"66":12961,"161":206,"87":13824,"24":25,"16":103315197787111424,"45":8836414338050820096},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-07 15:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555540480001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:59:44] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-07 15:59:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103315197787111424,"km_value":103315197787111.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836414338050820096,"description":"Unknown IO ID 45"} 
[2026-07-07 15:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555540480001,"power":12961,"unknown_161":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8836414338050820096}} 
[2026-07-07 15:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":124616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:59:44] local.INFO: GPS data processed {"connection_id":124616,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:59:44] local.INFO: Acknowledgment sent {"connection_id":124616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:59:47] local.INFO: TCP Data received {"connection_id":124616,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1f2188012d7ae24005ebcce80009003f28..."} 
[2026-07-07 15:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1f2188012d7ae24005ebcce80009003f28..."} 
[2026-07-07 15:59:47] local.INFO: Processing buffer {"connection_id":124616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1f2188012d7ae24005ebcce80009003f28..."} 
[2026-07-07 15:59:47] local.INFO: Packet analysis {"connection_id":124616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1f"} 
[2026-07-07 15:59:47] local.INFO: Extracted packet for processing {"connection_id":124616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1f"} 
[2026-07-07 15:59:47] local.INFO: GPS Element Parsed {"raw_longitude":763028032,"raw_latitude":99339496,"longitude_deg":76.3028032,"latitude_deg":9.9339496,"altitude":9,"angle":63,"satellites":40,"speed":37,"hex_longitude":"2d7ae240","hex_latitude":"05ebcce8","is_valid_coordinates":true} 
[2026-07-07 15:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 15:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555543040001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103315635873775616,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8845632643538970624,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783420101000,"timestamp_ms":1783420101000,"timestamp_seconds":1783420101,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1f2188"} 
[2026-07-07 15:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 15: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-07 15:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 15:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 15:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 15:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 15:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555543040001,"66":13254,"156":206,"87":13824,"24":37,"16":103315635873775616,"45":8845632643538970624},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 15:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 15:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 15:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555543040001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:59:47] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 15:59:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 15:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103315635873775616,"km_value":103315635873775.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8845632643538970624,"description":"Unknown IO ID 45"} 
[2026-07-07 15:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555543040001,"power":13254,"unknown_156":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8845632643538970624}} 
[2026-07-07 15:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":124616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:59:47] local.INFO: GPS data processed {"connection_id":124616,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:59:47] local.INFO: Acknowledgment sent {"connection_id":124616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 15:59:48] local.INFO: TCP Data received {"connection_id":124615,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1f7f48012d0a470007058880000e010e16..."} 
[2026-07-07 15:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1f7f48012d0a470007058880000e010e16..."} 
[2026-07-07 15:59:48] local.INFO: Processing buffer {"connection_id":124615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1f7f48012d0a470007058880000e010e16..."} 
[2026-07-07 15:59:48] local.INFO: Packet analysis {"connection_id":124615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1f"} 
[2026-07-07 15:59:48] local.INFO: Extracted packet for processing {"connection_id":124615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1f"} 
[2026-07-07 15:59:48] local.INFO: GPS Element Parsed {"raw_longitude":755648256,"raw_latitude":117803136,"longitude_deg":75.5648256,"latitude_deg":11.7803136,"altitude":14,"angle":270,"satellites":22,"speed":8,"hex_longitude":"2d0a4700","hex_latitude":"07058880","is_valid_coordinates":true} 
[2026-07-07 15: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-07-07 15:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555551744001,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23406506611310592,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740842168860041216,"note":"Value kept but may cause issues"} 
[2026-07-07 15:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 15:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783420125000,"timestamp_ms":1783420125000,"timestamp_seconds":1783420125,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1f7f48"} 
[2026-07-07 15:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 15:59: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-07-07 15:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 15:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 15: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-07-07 15:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 15:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 15:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":124615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 15:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":124615,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":124615,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 15:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 15:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 15:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 15:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555551744001,"66":14439,"177":206,"94":10240,"24":8,"16":23406506611310592,"45":740842168860041216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-07 15:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 15:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 15:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555551744001,"description":"Unknown IO ID 0"} 
[2026-07-07 15:59:48] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 15:59:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 15:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23406506611310592,"km_value":23406506611310.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 15:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":740842168860041216,"description":"Unknown IO ID 45"} 
[2026-07-07 15:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555551744001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":740842168860041216}} 
[2026-07-07 15:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":124615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446285,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 15:59:48] local.INFO: GPS data processed {"connection_id":124615,"processed":1,"errors":0,"total":1} 
[2026-07-07 15:59:48] local.INFO: Acknowledgment sent {"connection_id":124615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:00:04] local.INFO: TCP Data received {"connection_id":124529,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:00:04] local.INFO: Processing buffer {"connection_id":124529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:00:04] local.INFO: IMEI packet received {"connection_id":124529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":124529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:00:10] local.INFO: TCP Data received {"connection_id":126586,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126586,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:00:10] local.INFO: Processing buffer {"connection_id":126586,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:00:10] local.INFO: IMEI packet received {"connection_id":126586,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":126586,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:00:12] local.INFO: TCP Data received {"connection_id":124529,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:00:12] local.INFO: Processing buffer {"connection_id":124529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:00:12] local.INFO: IMEI packet received {"connection_id":124529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":124529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:00:13] local.INFO: TCP Data received {"connection_id":126586,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126586,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:00:13] local.INFO: Processing buffer {"connection_id":126586,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:00:13] local.INFO: IMEI packet received {"connection_id":126586,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":126586,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:00:15] local.INFO: TCP Data received {"connection_id":124529,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1f7f48012dba14c005485bf0002500732e..."} 
[2026-07-07 16:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1f7f48012dba14c005485bf0002500732e..."} 
[2026-07-07 16:00:15] local.INFO: Processing buffer {"connection_id":124529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1f7f48012dba14c005485bf0002500732e..."} 
[2026-07-07 16:00:15] local.INFO: Packet analysis {"connection_id":124529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1f"} 
[2026-07-07 16:00:15] local.INFO: Extracted packet for processing {"connection_id":124529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1f"} 
[2026-07-07 16:00:15] local.INFO: GPS Element Parsed {"raw_longitude":767169728,"raw_latitude":88628208,"longitude_deg":76.7169728,"latitude_deg":8.8628208,"altitude":37,"angle":115,"satellites":46,"speed":56,"hex_longitude":"2dba14c0","hex_latitude":"05485bf0","is_valid_coordinates":true} 
[2026-07-07 16:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555550208001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341587910216122368,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5047901840894904320,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783420125000,"timestamp_ms":1783420125000,"timestamp_seconds":1783420125,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1f7f48"} 
[2026-07-07 16:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16: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-07-07 16:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 16:00: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-07-07 16:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555550208001,"66":27865,"112":206,"84":5376,"24":56,"16":341587910216122368,"45":-5047901840894904320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-07-07 16:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555550208001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:00:15] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-07 16:00:15] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341587910216122368,"km_value":341587910216122.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5047901840894904320,"description":"Unknown IO ID 45"} 
[2026-07-07 16:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555550208001,"power":27865,"unknown_112":206,"unknown_84":5376,"ignition":56,"odometer":null,"unknown_45":-5047901840894904320}} 
[2026-07-07 16:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":124529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:00:15] local.INFO: GPS data processed {"connection_id":124529,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:00:15] local.INFO: Acknowledgment sent {"connection_id":124529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:00:19] local.INFO: TCP Data received {"connection_id":126586,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126586,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:00:19] local.INFO: Processing buffer {"connection_id":126586,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:00:19] local.INFO: IMEI packet received {"connection_id":126586,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":126586,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:00:19] local.INFO: TCP Data received {"connection_id":126586,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1f8330012d0a45c007058850000e00fe16..."} 
[2026-07-07 16:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1f8330012d0a45c007058850000e00fe16..."} 
[2026-07-07 16:00:19] local.INFO: Processing buffer {"connection_id":126586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1f8330012d0a45c007058850000e00fe16..."} 
[2026-07-07 16:00:19] local.INFO: Packet analysis {"connection_id":126586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1f"} 
[2026-07-07 16:00:19] local.INFO: Extracted packet for processing {"connection_id":126586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1f"} 
[2026-07-07 16:00:19] local.INFO: GPS Element Parsed {"raw_longitude":755647936,"raw_latitude":117803088,"longitude_deg":75.5647936,"latitude_deg":11.7803088,"altitude":14,"angle":254,"satellites":22,"speed":10,"hex_longitude":"2d0a45c0","hex_latitude":"07058850","is_valid_coordinates":true} 
[2026-07-07 16:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555552000001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23406519496212480,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740560693883338752,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783420126000,"timestamp_ms":1783420126000,"timestamp_seconds":1783420126,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1f8330"} 
[2026-07-07 16:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 16:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":126586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":126586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":126586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555552000001,"66":14439,"177":206,"94":10240,"24":10,"16":23406519496212480,"45":740560693883338752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-07 16:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555552000001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:00:19] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 16:00:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23406519496212480,"km_value":23406519496212.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":740560693883338752,"description":"Unknown IO ID 45"} 
[2026-07-07 16:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555552000001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":740560693883338752}} 
[2026-07-07 16:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":126586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446287,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:00:19] local.INFO: GPS data processed {"connection_id":126586,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:00:19] local.INFO: Acknowledgment sent {"connection_id":126586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:00:20] local.INFO: TCP Data received {"connection_id":126586,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1fd150012d0a36c007058528000f010716..."} 
[2026-07-07 16:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1fd150012d0a36c007058528000f010716..."} 
[2026-07-07 16:00:20] local.INFO: Processing buffer {"connection_id":126586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1fd150012d0a36c007058528000f010716..."} 
[2026-07-07 16:00:20] local.INFO: Packet analysis {"connection_id":126586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1f"} 
[2026-07-07 16:00:20] local.INFO: Extracted packet for processing {"connection_id":126586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1f"} 
[2026-07-07 16:00:20] local.INFO: GPS Element Parsed {"raw_longitude":755644096,"raw_latitude":117802280,"longitude_deg":75.5644096,"latitude_deg":11.780228,"altitude":15,"angle":263,"satellites":22,"speed":0,"hex_longitude":"2d0a36c0","hex_latitude":"07058528","is_valid_coordinates":true} 
[2026-07-07 16:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555552256001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23406708474773504,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740208850162438144,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783420146000,"timestamp_ms":1783420146000,"timestamp_seconds":1783420146,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1fd150"} 
[2026-07-07 16:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:00: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-07-07 16:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 16:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":126586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":126586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":126586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555552256001,"66":14548,"177":206,"94":10240,"24":0,"16":23406708474773504,"45":740208850162438144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-07 16:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555552256001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:00:20] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 16:00:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23406708474773504,"km_value":23406708474773.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":740208850162438144,"description":"Unknown IO ID 45"} 
[2026-07-07 16:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555552256001,"power":14548,"unknown_177":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":740208850162438144}} 
[2026-07-07 16:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":126586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446288,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:00:20] local.INFO: GPS data processed {"connection_id":126586,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:00:20] local.INFO: Acknowledgment sent {"connection_id":126586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:00:31] local.INFO: TCP Data received {"connection_id":124617,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:00:31] local.INFO: Processing buffer {"connection_id":124617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:00:31] local.INFO: IMEI packet received {"connection_id":124617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":124617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:00:36] local.INFO: TCP Data received {"connection_id":124617,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:00:36] local.INFO: Processing buffer {"connection_id":124617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:00:36] local.INFO: IMEI packet received {"connection_id":124617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":124617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:00:37] local.INFO: TCP Data received {"connection_id":124617,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1f44b0012d7b024005ebdd00000a004028..."} 
[2026-07-07 16:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1f44b0012d7b024005ebdd00000a004028..."} 
[2026-07-07 16:00:37] local.INFO: Processing buffer {"connection_id":124617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1f44b0012d7b024005ebdd00000a004028..."} 
[2026-07-07 16:00:37] local.INFO: Packet analysis {"connection_id":124617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1f"} 
[2026-07-07 16:00:37] local.INFO: Extracted packet for processing {"connection_id":124617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1f"} 
[2026-07-07 16:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763036224,"raw_latitude":99343616,"longitude_deg":76.3036224,"latitude_deg":9.9343616,"altitude":10,"angle":64,"satellites":40,"speed":40,"hex_longitude":"2d7b0240","hex_latitude":"05ebdd00","is_valid_coordinates":true} 
[2026-07-07 16:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555545856001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103316073960439808,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854710211538905088,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783420110000,"timestamp_ms":1783420110000,"timestamp_seconds":1783420110,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1f44b0"} 
[2026-07-07 16:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-07 16:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:00: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-07-07 16:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555545856001,"66":13319,"156":206,"87":13824,"24":40,"16":103316073960439808,"45":8854710211538905088},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 16:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555545856001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:00:37] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 16:00:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103316073960439808,"km_value":103316073960439.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854710211538905088,"description":"Unknown IO ID 45"} 
[2026-07-07 16:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555545856001,"power":13319,"unknown_156":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8854710211538905088}} 
[2026-07-07 16:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":124617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:00:37] local.INFO: GPS data processed {"connection_id":124617,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:00:37] local.INFO: Acknowledgment sent {"connection_id":124617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:00:39] local.INFO: TCP Data received {"connection_id":124617,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c1f6fa8012d7b218005ebecc0000b003e2b..."} 
[2026-07-07 16:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c1f6fa8012d7b218005ebecc0000b003e2b..."} 
[2026-07-07 16:00:39] local.INFO: Processing buffer {"connection_id":124617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c1f6fa8012d7b218005ebecc0000b003e2b..."} 
[2026-07-07 16:00:39] local.INFO: Packet analysis {"connection_id":124617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c1f"} 
[2026-07-07 16:00:39] local.INFO: Extracted packet for processing {"connection_id":124617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c1f"} 
[2026-07-07 16:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763044224,"raw_latitude":99347648,"longitude_deg":76.3044224,"latitude_deg":9.9347648,"altitude":11,"angle":62,"satellites":43,"speed":24,"hex_longitude":"2d7b2180","hex_latitude":"05ebecc0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 16:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555548160001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103316503457169408,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863717410794700800,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783420121000,"timestamp_ms":1783420121000,"timestamp_seconds":1783420121,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c1f6fa8"} 
[2026-07-07 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-07-07 16:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 16:00:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:39] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":36865,"corrected_to":0} 
[2026-07-07 16:00:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:39] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-7493989779937483520,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-07-07 16:00:39] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2818649466,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952588800,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:39] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57752548342126390,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:39] local.WARNING: Large IO value detected {"io_id":30,"raw_value":7352127686519914501,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:39] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,156,87,24,241,157,16,13,159,33,45,64,204,9,40,10,66,246,189,6,36,161,12,207,1,240,198,227,60,235,4,113,205,37,117,90,239,52,163,2,111,5,7,30],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":246,"original":36865,"validated":0},{"io_id":205,"original":765657294,"validated":0}]} 
[2026-07-07 16:00:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720646480924770304,"timestamp_seconds":720646480924770.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 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-07-07 16:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555548160001,"66":12939,"156":206,"87":13824,"24":24,"16":103316503457169408,"45":8863717410794700800},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 16:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555548160001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:00:39] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 16:00:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103316503457169408,"km_value":103316503457169.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863717410794700800,"description":"Unknown IO ID 45"} 
[2026-07-07 16:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555548160001,"power":12939,"unknown_156":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8863717410794700800}} 
[2026-07-07 16:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":124617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:00:39] local.INFO: GPS data processed {"connection_id":124617,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:00:39] local.INFO: Acknowledgment sent {"connection_id":124617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:00:52] local.INFO: TCP Data received {"connection_id":126586,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c212140012d0a530007057a380013009116..."} 
[2026-07-07 16:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c212140012d0a530007057a380013009116..."} 
[2026-07-07 16:00:52] local.INFO: Processing buffer {"connection_id":126586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c212140012d0a530007057a380013009116..."} 
[2026-07-07 16:00:52] local.INFO: Packet analysis {"connection_id":126586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c21"} 
[2026-07-07 16:00:52] local.INFO: Extracted packet for processing {"connection_id":126586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c21"} 
[2026-07-07 16:00:52] local.INFO: GPS Element Parsed {"raw_longitude":755651328,"raw_latitude":117799480,"longitude_deg":75.5651328,"latitude_deg":11.779948,"altitude":19,"angle":145,"satellites":22,"speed":9,"hex_longitude":"2d0a5300","hex_latitude":"07057a38","is_valid_coordinates":true} 
[2026-07-07 16:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555579136001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23407232460783616,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743797656114620416,"note":"Value kept but may cause issues"} 
[2026-07-07 16:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783420232000,"timestamp_ms":1783420232000,"timestamp_seconds":1783420232,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c212140"} 
[2026-07-07 16:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:00: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-07-07 16:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-07 16:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":126586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":126586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":126586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555579136001,"66":13972,"177":206,"94":10240,"24":9,"16":23407232460783616,"45":743797656114620416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-07 16:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555579136001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:00:52] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 16:00:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23407232460783616,"km_value":23407232460783.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":743797656114620416,"description":"Unknown IO ID 45"} 
[2026-07-07 16:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555579136001,"power":13972,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":743797656114620416}} 
[2026-07-07 16:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":126586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446291,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:00:52] local.INFO: GPS data processed {"connection_id":126586,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:00:52] local.INFO: Acknowledgment sent {"connection_id":126586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:00:58] local.INFO: TCP Data received {"connection_id":125334,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:00:58] local.INFO: Processing buffer {"connection_id":125334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:00:58] local.INFO: IMEI packet received {"connection_id":125334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":125334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:00:59] local.INFO: TCP Data received {"connection_id":125334,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:00:59] local.INFO: Processing buffer {"connection_id":125334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:00:59] local.INFO: IMEI packet received {"connection_id":125334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":125334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:01:04] local.INFO: TCP Data received {"connection_id":125334,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:01:04] local.INFO: Processing buffer {"connection_id":125334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:01:04] local.INFO: IMEI packet received {"connection_id":125334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":125334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:01:04] local.INFO: TCP Data received {"connection_id":125334,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c20a058012dbb7700054779580026007f2c..."} 
[2026-07-07 16:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c20a058012dbb7700054779580026007f2c..."} 
[2026-07-07 16:01:04] local.INFO: Processing buffer {"connection_id":125334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c20a058012dbb7700054779580026007f2c..."} 
[2026-07-07 16:01:04] local.INFO: Packet analysis {"connection_id":125334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c20"} 
[2026-07-07 16:01:04] local.INFO: Extracted packet for processing {"connection_id":125334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c20"} 
[2026-07-07 16:01:04] local.INFO: GPS Element Parsed {"raw_longitude":767260416,"raw_latitude":88570200,"longitude_deg":76.7260416,"latitude_deg":8.85702,"altitude":38,"angle":127,"satellites":44,"speed":55,"hex_longitude":"2dbb7700","hex_latitude":"05477958","is_valid_coordinates":true} 
[2026-07-07 16:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555569152001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341593094241648640,"note":"Value kept but may cause issues"} 
[2026-07-07 16:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4947204167991003136,"note":"Value kept but may cause issues"} 
[2026-07-07 16:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783420199000,"timestamp_ms":1783420199000,"timestamp_seconds":1783420199,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c20a058"} 
[2026-07-07 16:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 16:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555569152001,"66":27908,"59":206,"84":5376,"24":55,"16":341593094241648640,"45":-4947204167991003136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,84,24,16,45]} 
[2026-07-07 16:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555569152001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:01:04] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-07 16:01:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341593094241648640,"km_value":341593094241648.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4947204167991003136,"description":"Unknown IO ID 45"} 
[2026-07-07 16:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555569152001,"power":27908,"unknown_59":206,"unknown_84":5376,"ignition":55,"odometer":null,"unknown_45":-4947204167991003136}} 
[2026-07-07 16:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":125334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:01:04] local.INFO: GPS data processed {"connection_id":125334,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:01:04] local.INFO: Acknowledgment sent {"connection_id":125334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:01:09] local.INFO: TCP Data received {"connection_id":124530,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:01:09] local.INFO: Processing buffer {"connection_id":124530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:01:09] local.INFO: IMEI packet received {"connection_id":124530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":124530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:01:10] local.INFO: TCP Data received {"connection_id":124617,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c215408012d7cad8005ec3880000800562b..."} 
[2026-07-07 16:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c215408012d7cad8005ec3880000800562b..."} 
[2026-07-07 16:01:10] local.INFO: Processing buffer {"connection_id":124617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c215408012d7cad8005ec3880000800562b..."} 
[2026-07-07 16:01:10] local.INFO: Packet analysis {"connection_id":124617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c21"} 
[2026-07-07 16:01:10] local.INFO: Extracted packet for processing {"connection_id":124617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c21"} 
[2026-07-07 16:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763145600,"raw_latitude":99367040,"longitude_deg":76.31456,"latitude_deg":9.936704,"altitude":8,"angle":86,"satellites":43,"speed":41,"hex_longitude":"2d7cad80","hex_latitude":"05ec3880","is_valid_coordinates":true} 
[2026-07-07 16:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555580416001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103321498504134656,"note":"Value kept but may cause issues"} 
[2026-07-07 16:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973844495438686208,"note":"Value kept but may cause issues"} 
[2026-07-07 16:01: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-07-07 16:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783420245000,"timestamp_ms":1783420245000,"timestamp_seconds":1783420245,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c215408"} 
[2026-07-07 16:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-07 16:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:01: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-07-07 16:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555580416001,"66":13135,"198":206,"87":13824,"24":41,"16":103321498504134656,"45":8973844495438686208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-07 16:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555580416001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:01:10] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-07 16:01:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103321498504134656,"km_value":103321498504134.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973844495438686208,"description":"Unknown IO ID 45"} 
[2026-07-07 16:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555580416001,"power":13135,"unknown_198":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8973844495438686208}} 
[2026-07-07 16:01:10] local.INFO: TCP Data received {"connection_id":124530,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:01:10] local.INFO: Processing buffer {"connection_id":124530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:01:10] local.INFO: IMEI packet received {"connection_id":124530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":124530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":124617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:01:10] local.INFO: GPS data processed {"connection_id":124617,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:01:10] local.INFO: Acknowledgment sent {"connection_id":124617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:01:11] local.INFO: TCP Data received {"connection_id":124530,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:01:11] local.INFO: Processing buffer {"connection_id":124530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:01:11] local.INFO: IMEI packet received {"connection_id":124530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":124530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:01:14] local.INFO: TCP Data received {"connection_id":124530,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:01:14] local.INFO: Processing buffer {"connection_id":124530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:01:14] local.INFO: IMEI packet received {"connection_id":124530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":124530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:01:23] local.INFO: TCP Data received {"connection_id":125335,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:01:23] local.INFO: Processing buffer {"connection_id":125335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:01:23] local.INFO: IMEI packet received {"connection_id":125335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":125335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:01:23] local.INFO: TCP Data received {"connection_id":125335,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:01:23] local.INFO: Processing buffer {"connection_id":125335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:01:23] local.INFO: IMEI packet received {"connection_id":125335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":125335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:01:24] local.INFO: TCP Data received {"connection_id":125335,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:01:24] local.INFO: Processing buffer {"connection_id":125335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:01:24] local.INFO: IMEI packet received {"connection_id":125335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":125335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:01:26] local.INFO: TCP Data received {"connection_id":125335,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:01:26] local.INFO: Processing buffer {"connection_id":125335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:01:26] local.INFO: IMEI packet received {"connection_id":125335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":125335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:01:35] local.INFO: TCP Data received {"connection_id":125334,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c20bbb0012dbb9440054762a80027007f2c..."} 
[2026-07-07 16:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c20bbb0012dbb9440054762a80027007f2c..."} 
[2026-07-07 16:01:35] local.INFO: Processing buffer {"connection_id":125334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c20bbb0012dbb9440054762a80027007f2c..."} 
[2026-07-07 16:01:35] local.INFO: Packet analysis {"connection_id":125334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c20"} 
[2026-07-07 16:01:35] local.INFO: Extracted packet for processing {"connection_id":125334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c20"} 
[2026-07-07 16:01:35] local.INFO: GPS Element Parsed {"raw_longitude":767267904,"raw_latitude":88564392,"longitude_deg":76.7267904,"latitude_deg":8.8564392,"altitude":39,"angle":127,"satellites":44,"speed":52,"hex_longitude":"2dbb9440","hex_latitude":"054762a8","is_valid_coordinates":true} 
[2026-07-07 16:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555570944001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341593549508182016,"note":"Value kept but may cause issues"} 
[2026-07-07 16:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4938478443714488320,"note":"Value kept but may cause issues"} 
[2026-07-07 16:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783420206000,"timestamp_ms":1783420206000,"timestamp_seconds":1783420206,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c20bbb0"} 
[2026-07-07 16:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:01: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-07-07 16:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 16:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555570944001,"66":27908,"59":206,"84":5376,"24":52,"16":341593549508182016,"45":-4938478443714488320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,84,24,16,45]} 
[2026-07-07 16:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555570944001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:01:35] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-07 16:01:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341593549508182016,"km_value":341593549508182.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4938478443714488320,"description":"Unknown IO ID 45"} 
[2026-07-07 16:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555570944001,"power":27908,"unknown_59":206,"unknown_84":5376,"ignition":52,"odometer":null,"unknown_45":-4938478443714488320}} 
[2026-07-07 16:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":125334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:01:35] local.INFO: GPS data processed {"connection_id":125334,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:01:35] local.INFO: Acknowledgment sent {"connection_id":125334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:01:58] local.INFO: TCP Data received {"connection_id":124619,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:01:58] local.INFO: Processing buffer {"connection_id":124619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:01:58] local.INFO: IMEI packet received {"connection_id":124619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":124619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:01:59] local.INFO: TCP Data received {"connection_id":124619,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:01:59] local.INFO: Processing buffer {"connection_id":124619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:01:59] local.INFO: IMEI packet received {"connection_id":124619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":124619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:02:04] local.INFO: TCP Data received {"connection_id":124619,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:02:04] local.INFO: Processing buffer {"connection_id":124619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:02:04] local.INFO: IMEI packet received {"connection_id":124619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":124619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:02:09] local.INFO: TCP Data received {"connection_id":124619,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c20d708012dbbb18005474c080029007f2c..."} 
[2026-07-07 16:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c20d708012dbbb18005474c080029007f2c..."} 
[2026-07-07 16:02:09] local.INFO: Processing buffer {"connection_id":124619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c20d708012dbbb18005474c080029007f2c..."} 
[2026-07-07 16:02:09] local.INFO: Packet analysis {"connection_id":124619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c20"} 
[2026-07-07 16:02:09] local.INFO: Extracted packet for processing {"connection_id":124619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c20"} 
[2026-07-07 16:02:09] local.INFO: GPS Element Parsed {"raw_longitude":767275392,"raw_latitude":88558600,"longitude_deg":76.7275392,"latitude_deg":8.85586,"altitude":41,"angle":127,"satellites":44,"speed":54,"hex_longitude":"2dbbb180","hex_latitude":"05474c08","is_valid_coordinates":true} 
[2026-07-07 16:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555572736001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341594004774715392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4930245300647188480,"note":"Value kept but may cause issues"} 
[2026-07-07 16:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783420213000,"timestamp_ms":1783420213000,"timestamp_seconds":1783420213,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c20d708"} 
[2026-07-07 16:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 16:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555572736001,"66":27843,"59":206,"84":5376,"24":54,"16":341594004774715392,"45":-4930245300647188480},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,84,24,16,45]} 
[2026-07-07 16:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555572736001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:02:09] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-07 16:02:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341594004774715392,"km_value":341594004774715.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4930245300647188480,"description":"Unknown IO ID 45"} 
[2026-07-07 16:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555572736001,"power":27843,"unknown_59":206,"unknown_84":5376,"ignition":54,"odometer":null,"unknown_45":-4930245300647188480}} 
[2026-07-07 16:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":124619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:02:09] local.INFO: GPS data processed {"connection_id":124619,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:02:09] local.INFO: Acknowledgment sent {"connection_id":124619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:02:44] local.INFO: TCP Data received {"connection_id":124619,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c223e68012dbcc8400545ba60003900aa2a..."} 
[2026-07-07 16:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c223e68012dbcc8400545ba60003900aa2a..."} 
[2026-07-07 16:02:44] local.INFO: Processing buffer {"connection_id":124619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c223e68012dbcc8400545ba60003900aa2a..."} 
[2026-07-07 16:02:44] local.INFO: Packet analysis {"connection_id":124619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c22"} 
[2026-07-07 16:02:44] local.INFO: Extracted packet for processing {"connection_id":124619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c22"} 
[2026-07-07 16:02:44] local.INFO: GPS Element Parsed {"raw_longitude":767346752,"raw_latitude":88455776,"longitude_deg":76.7346752,"latitude_deg":8.8455776,"altitude":57,"angle":170,"satellites":42,"speed":52,"hex_longitude":"2dbcc840","hex_latitude":"0545ba60","is_valid_coordinates":true} 
[2026-07-07 16:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555596288001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341600258247098368,"note":"Value kept but may cause issues"} 
[2026-07-07 16:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4845310226450235392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783420305000,"timestamp_ms":1783420305000,"timestamp_seconds":1783420305,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c223e68"} 
[2026-07-07 16:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16: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-07-07 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 16:02: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-07-07 16:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555596288001,"66":27908,"117":206,"84":5376,"24":52,"16":341600258247098368,"45":-4845310226450235392},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-07-07 16:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555596288001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:02:44] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-07 16:02:44] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341600258247098368,"km_value":341600258247098.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4845310226450235392,"description":"Unknown IO ID 45"} 
[2026-07-07 16:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555596288001,"power":27908,"unknown_117":206,"unknown_84":5376,"ignition":52,"odometer":null,"unknown_45":-4845310226450235392}} 
[2026-07-07 16:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":124619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:02:44] local.INFO: GPS data processed {"connection_id":124619,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:02:44] local.INFO: Acknowledgment sent {"connection_id":124619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:03:04] local.INFO: TCP Data received {"connection_id":124531,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:03:04] local.INFO: Processing buffer {"connection_id":124531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:03:04] local.INFO: IMEI packet received {"connection_id":124531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":124531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:03:05] local.INFO: TCP Data received {"connection_id":124531,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:03:05] local.INFO: Processing buffer {"connection_id":124531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:03:05] local.INFO: IMEI packet received {"connection_id":124531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":124531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:03:06] local.INFO: TCP Data received {"connection_id":124531,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2259c0012dbccec0054596b8003900a72b..."} 
[2026-07-07 16:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2259c0012dbccec0054596b8003900a72b..."} 
[2026-07-07 16:03:06] local.INFO: Processing buffer {"connection_id":124531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2259c0012dbccec0054596b8003900a72b..."} 
[2026-07-07 16:03:06] local.INFO: Packet analysis {"connection_id":124531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c22"} 
[2026-07-07 16:03:06] local.INFO: Extracted packet for processing {"connection_id":124531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c22"} 
[2026-07-07 16:03:06] local.INFO: GPS Element Parsed {"raw_longitude":767348416,"raw_latitude":88446648,"longitude_deg":76.7348416,"latitude_deg":8.8446648,"altitude":57,"angle":167,"satellites":43,"speed":53,"hex_longitude":"2dbccec0","hex_latitude":"054596b8","is_valid_coordinates":true} 
[2026-07-07 16:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555598080001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341600709218664448,"note":"Value kept but may cause issues"} 
[2026-07-07 16:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4843551007848112128,"note":"Value kept but may cause issues"} 
[2026-07-07 16:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783420312000,"timestamp_ms":1783420312000,"timestamp_seconds":1783420312,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2259c0"} 
[2026-07-07 16:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 16:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555598080001,"66":27908,"117":206,"84":5376,"24":53,"16":341600709218664448,"45":-4843551007848112128},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-07-07 16:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555598080001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:03:06] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-07 16:03:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341600709218664448,"km_value":341600709218664.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4843551007848112128,"description":"Unknown IO ID 45"} 
[2026-07-07 16:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555598080001,"power":27908,"unknown_117":206,"unknown_84":5376,"ignition":53,"odometer":null,"unknown_45":-4843551007848112128}} 
[2026-07-07 16:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":124531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:03:06] local.INFO: GPS data processed {"connection_id":124531,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:03:06] local.INFO: Acknowledgment sent {"connection_id":124531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:03:09] local.INFO: TCP Data received {"connection_id":124531,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c227518012dbcda40054574680038009c2b..."} 
[2026-07-07 16:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c227518012dbcda40054574680038009c2b..."} 
[2026-07-07 16:03:09] local.INFO: Processing buffer {"connection_id":124531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c227518012dbcda40054574680038009c2b..."} 
[2026-07-07 16:03:09] local.INFO: Packet analysis {"connection_id":124531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c22"} 
[2026-07-07 16:03:09] local.INFO: Extracted packet for processing {"connection_id":124531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c22"} 
[2026-07-07 16:03:09] local.INFO: GPS Element Parsed {"raw_longitude":767351360,"raw_latitude":88437864,"longitude_deg":76.735136,"latitude_deg":8.8437864,"altitude":56,"angle":156,"satellites":43,"speed":52,"hex_longitude":"2dbcda40","hex_latitude":"05457468","is_valid_coordinates":true} 
[2026-07-07 16:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555599872001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341601160190230528,"note":"Value kept but may cause issues"} 
[2026-07-07 16:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4841721420501829632,"note":"Value kept but may cause issues"} 
[2026-07-07 16:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783420319000,"timestamp_ms":1783420319000,"timestamp_seconds":1783420319,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c227518"} 
[2026-07-07 16:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:03: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-07-07 16:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 16:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555599872001,"66":27908,"117":206,"84":5376,"24":52,"16":341601160190230528,"45":-4841721420501829632},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-07-07 16:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555599872001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:03:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-07 16:03:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341601160190230528,"km_value":341601160190230.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4841721420501829632,"description":"Unknown IO ID 45"} 
[2026-07-07 16:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555599872001,"power":27908,"unknown_117":206,"unknown_84":5376,"ignition":52,"odometer":null,"unknown_45":-4841721420501829632}} 
[2026-07-07 16:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":124531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:03:09] local.INFO: GPS data processed {"connection_id":124531,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:03:09] local.INFO: Acknowledgment sent {"connection_id":124531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:03:40] local.INFO: TCP Data received {"connection_id":124531,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c229070012dbceb00054554a0003900922c..."} 
[2026-07-07 16:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c229070012dbceb00054554a0003900922c..."} 
[2026-07-07 16:03:40] local.INFO: Processing buffer {"connection_id":124531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c229070012dbceb00054554a0003900922c..."} 
[2026-07-07 16:03:40] local.INFO: Packet analysis {"connection_id":124531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c22"} 
[2026-07-07 16:03:40] local.INFO: Extracted packet for processing {"connection_id":124531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c22"} 
[2026-07-07 16:03:40] local.INFO: GPS Element Parsed {"raw_longitude":767355648,"raw_latitude":88429728,"longitude_deg":76.7355648,"latitude_deg":8.8429728,"altitude":57,"angle":146,"satellites":44,"speed":53,"hex_longitude":"2dbceb00","hex_latitude":"054554a0","is_valid_coordinates":true} 
[2026-07-07 16:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555601664001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341601602571862016,"note":"Value kept but may cause issues"} 
[2026-07-07 16:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4838484458271905792,"note":"Value kept but may cause issues"} 
[2026-07-07 16:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783420326000,"timestamp_ms":1783420326000,"timestamp_seconds":1783420326,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c229070"} 
[2026-07-07 16:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16: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-07-07 16:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 16:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555601664001,"66":27865,"117":206,"84":5376,"24":53,"16":341601602571862016,"45":-4838484458271905792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-07-07 16:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555601664001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:03:40] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-07 16:03:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341601602571862016,"km_value":341601602571862.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4838484458271905792,"description":"Unknown IO ID 45"} 
[2026-07-07 16:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555601664001,"power":27865,"unknown_117":206,"unknown_84":5376,"ignition":53,"odometer":null,"unknown_45":-4838484458271905792}} 
[2026-07-07 16:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":124531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:03:40] local.INFO: GPS data processed {"connection_id":124531,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:03:40] local.INFO: Acknowledgment sent {"connection_id":124531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:03:55] local.INFO: TCP Data received {"connection_id":124621,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:03:55] local.INFO: Processing buffer {"connection_id":124621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:03:55] local.INFO: IMEI packet received {"connection_id":124621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":124621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:03:59] local.INFO: TCP Data received {"connection_id":124621,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:03:59] local.INFO: Processing buffer {"connection_id":124621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:03:59] local.INFO: IMEI packet received {"connection_id":124621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":124621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:04:02] local.INFO: TCP Data received {"connection_id":124621,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:04:02] local.INFO: Processing buffer {"connection_id":124621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:04:02] local.INFO: IMEI packet received {"connection_id":124621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":124621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:04:03] local.INFO: TCP Data received {"connection_id":124621,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c22abc8012dbd00c0054536100038008f2c..."} 
[2026-07-07 16:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c22abc8012dbd00c0054536100038008f2c..."} 
[2026-07-07 16:04:03] local.INFO: Processing buffer {"connection_id":124621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c22abc8012dbd00c0054536100038008f2c..."} 
[2026-07-07 16:04:03] local.INFO: Packet analysis {"connection_id":124621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c22"} 
[2026-07-07 16:04:03] local.INFO: Extracted packet for processing {"connection_id":124621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c22"} 
[2026-07-07 16:04:03] local.INFO: GPS Element Parsed {"raw_longitude":767361216,"raw_latitude":88421904,"longitude_deg":76.7361216,"latitude_deg":8.8421904,"altitude":56,"angle":143,"satellites":44,"speed":55,"hex_longitude":"2dbd00c0","hex_latitude":"05453610","is_valid_coordinates":true} 
[2026-07-07 16:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555603456001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341602066428329984,"note":"Value kept but may cause issues"} 
[2026-07-07 16:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4833769752414085120,"note":"Value kept but may cause issues"} 
[2026-07-07 16:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783420333000,"timestamp_ms":1783420333000,"timestamp_seconds":1783420333,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c22abc8"} 
[2026-07-07 16:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:04: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-07-07 16:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 16:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555603456001,"66":27930,"117":206,"84":5376,"24":55,"16":341602066428329984,"45":-4833769752414085120},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-07-07 16:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555603456001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:04:03] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-07 16:04:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341602066428329984,"km_value":341602066428330.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4833769752414085120,"description":"Unknown IO ID 45"} 
[2026-07-07 16:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555603456001,"power":27930,"unknown_117":206,"unknown_84":5376,"ignition":55,"odometer":null,"unknown_45":-4833769752414085120}} 
[2026-07-07 16:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":124621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:04:03] local.INFO: GPS data processed {"connection_id":124621,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:04:03] local.INFO: Acknowledgment sent {"connection_id":124621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:04:52] local.INFO: TCP Data received {"connection_id":124621,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c240770012dbe3d800543f070003900832d..."} 
[2026-07-07 16:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c240770012dbe3d800543f070003900832d..."} 
[2026-07-07 16:04:52] local.INFO: Processing buffer {"connection_id":124621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c240770012dbe3d800543f070003900832d..."} 
[2026-07-07 16:04:52] local.INFO: Packet analysis {"connection_id":124621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c24"} 
[2026-07-07 16:04:52] local.INFO: Extracted packet for processing {"connection_id":124621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c24"} 
[2026-07-07 16:04:52] local.INFO: GPS Element Parsed {"raw_longitude":767442304,"raw_latitude":88338544,"longitude_deg":76.7442304,"latitude_deg":8.8338544,"altitude":57,"angle":131,"satellites":45,"speed":54,"hex_longitude":"2dbe3d80","hex_latitude":"0543f070","is_valid_coordinates":true} 
[2026-07-07 16:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555626752001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341607903288885248,"note":"Value kept but may cause issues"} 
[2026-07-07 16:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4744612553563312128,"note":"Value kept but may cause issues"} 
[2026-07-07 16:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783420422000,"timestamp_ms":1783420422000,"timestamp_seconds":1783420422,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c240770"} 
[2026-07-07 16:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-07 16:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555626752001,"66":27930,"117":206,"84":5376,"24":54,"16":341607903288885248,"45":-4744612553563312128},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-07-07 16:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555626752001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:04:52] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-07 16:04:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341607903288885248,"km_value":341607903288885.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4744612553563312128,"description":"Unknown IO ID 45"} 
[2026-07-07 16:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555626752001,"power":27930,"unknown_117":206,"unknown_84":5376,"ignition":54,"odometer":null,"unknown_45":-4744612553563312128}} 
[2026-07-07 16:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":124621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:04:52] local.INFO: GPS data processed {"connection_id":124621,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:04:52] local.INFO: Acknowledgment sent {"connection_id":124621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:04:58] local.INFO: TCP Data received {"connection_id":125337,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:04:58] local.INFO: Processing buffer {"connection_id":125337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:04:58] local.INFO: IMEI packet received {"connection_id":125337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 16:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":125337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:05:03] local.INFO: TCP Data received {"connection_id":125338,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:05:03] local.INFO: Processing buffer {"connection_id":125338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:05:03] local.INFO: IMEI packet received {"connection_id":125338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":125338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:05:04] local.INFO: TCP Data received {"connection_id":125338,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:05:04] local.INFO: Processing buffer {"connection_id":125338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:05:04] local.INFO: IMEI packet received {"connection_id":125338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":125338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:05:09] local.INFO: TCP Data received {"connection_id":125338,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:05:09] local.INFO: Processing buffer {"connection_id":125338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:05:09] local.INFO: IMEI packet received {"connection_id":125338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":125338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:05:10] local.INFO: TCP Data received {"connection_id":125338,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2422c8012dbe58000543d600003900872d..."} 
[2026-07-07 16:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2422c8012dbe58000543d600003900872d..."} 
[2026-07-07 16:05:10] local.INFO: Processing buffer {"connection_id":125338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2422c8012dbe58000543d600003900872d..."} 
[2026-07-07 16:05:10] local.INFO: Packet analysis {"connection_id":125338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c24"} 
[2026-07-07 16:05:10] local.INFO: Extracted packet for processing {"connection_id":125338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c24"} 
[2026-07-07 16:05:10] local.INFO: GPS Element Parsed {"raw_longitude":767449088,"raw_latitude":88331776,"longitude_deg":76.7449088,"latitude_deg":8.8331776,"altitude":57,"angle":135,"satellites":45,"speed":55,"hex_longitude":"2dbe5800","hex_latitude":"0543d600","is_valid_coordinates":true} 
[2026-07-07 16:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555628032001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341608367145353216,"note":"Value kept but may cause issues"} 
[2026-07-07 16:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4738490472820871168,"note":"Value kept but may cause issues"} 
[2026-07-07 16:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783420429000,"timestamp_ms":1783420429000,"timestamp_seconds":1783420429,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2422c8"} 
[2026-07-07 16:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16: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-07-07 16:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 16:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555628032001,"66":27919,"117":206,"84":5376,"24":55,"16":341608367145353216,"45":-4738490472820871168},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-07-07 16:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555628032001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:05:10] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-07 16:05:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341608367145353216,"km_value":341608367145353.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4738490472820871168,"description":"Unknown IO ID 45"} 
[2026-07-07 16:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555628032001,"power":27919,"unknown_117":206,"unknown_84":5376,"ignition":55,"odometer":null,"unknown_45":-4738490472820871168}} 
[2026-07-07 16:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":125338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:05:10] local.INFO: GPS data processed {"connection_id":125338,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:05:10] local.INFO: Acknowledgment sent {"connection_id":125338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:05:40] local.INFO: TCP Data received {"connection_id":125338,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c243e20012dbe73000543ba70003900892d..."} 
[2026-07-07 16:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c243e20012dbe73000543ba70003900892d..."} 
[2026-07-07 16:05:40] local.INFO: Processing buffer {"connection_id":125338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c243e20012dbe73000543ba70003900892d..."} 
[2026-07-07 16:05:40] local.INFO: Packet analysis {"connection_id":125338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c24"} 
[2026-07-07 16:05:40] local.INFO: Extracted packet for processing {"connection_id":125338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c24"} 
[2026-07-07 16:05:40] local.INFO: GPS Element Parsed {"raw_longitude":767456000,"raw_latitude":88324720,"longitude_deg":76.7456,"latitude_deg":8.832472,"altitude":57,"angle":137,"satellites":45,"speed":55,"hex_longitude":"2dbe7300","hex_latitude":"0543ba70","is_valid_coordinates":true} 
[2026-07-07 16:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555629824001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341608839591755776,"note":"Value kept but may cause issues"} 
[2026-07-07 16:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4731031385939771392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783420436000,"timestamp_ms":1783420436000,"timestamp_seconds":1783420436,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c243e20"} 
[2026-07-07 16:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 16:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555629824001,"66":27930,"117":206,"84":5376,"24":55,"16":341608839591755776,"45":-4731031385939771392},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-07-07 16:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555629824001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:05:40] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-07 16:05:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341608839591755776,"km_value":341608839591755.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4731031385939771392,"description":"Unknown IO ID 45"} 
[2026-07-07 16:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555629824001,"power":27930,"unknown_117":206,"unknown_84":5376,"ignition":55,"odometer":null,"unknown_45":-4731031385939771392}} 
[2026-07-07 16:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":125338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:05:40] local.INFO: GPS data processed {"connection_id":125338,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:05:40] local.INFO: Acknowledgment sent {"connection_id":125338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:05:58] local.INFO: TCP Data received {"connection_id":124532,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:05:58] local.INFO: Processing buffer {"connection_id":124532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:05:58] local.INFO: IMEI packet received {"connection_id":124532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":124532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:06:04] local.INFO: TCP Data received {"connection_id":124532,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:06:04] local.INFO: Processing buffer {"connection_id":124532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:06:04] local.INFO: IMEI packet received {"connection_id":124532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":124532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:06:05] local.INFO: TCP Data received {"connection_id":124532,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c245978012dbe8b4005439bd0003800952e..."} 
[2026-07-07 16:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c245978012dbe8b4005439bd0003800952e..."} 
[2026-07-07 16:06:05] local.INFO: Processing buffer {"connection_id":124532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c245978012dbe8b4005439bd0003800952e..."} 
[2026-07-07 16:06:05] local.INFO: Packet analysis {"connection_id":124532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c24"} 
[2026-07-07 16:06:05] local.INFO: Extracted packet for processing {"connection_id":124532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c24"} 
[2026-07-07 16:06:05] local.INFO: GPS Element Parsed {"raw_longitude":767462208,"raw_latitude":88316880,"longitude_deg":76.7462208,"latitude_deg":8.831688,"altitude":56,"angle":149,"satellites":46,"speed":58,"hex_longitude":"2dbe8b40","hex_latitude":"05439bd0","is_valid_coordinates":true} 
[2026-07-07 16:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555631616001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341609324923060224,"note":"Value kept but may cause issues"} 
[2026-07-07 16:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4723431561570390016,"note":"Value kept but may cause issues"} 
[2026-07-07 16:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783420443000,"timestamp_ms":1783420443000,"timestamp_seconds":1783420443,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c245978"} 
[2026-07-07 16:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 16:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555631616001,"66":27919,"96":206,"84":5376,"24":58,"16":341609324923060224,"45":-4723431561570390016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,84,24,16,45]} 
[2026-07-07 16:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555631616001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:06:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 16:06:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341609324923060224,"km_value":341609324923060.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4723431561570390016,"description":"Unknown IO ID 45"} 
[2026-07-07 16:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555631616001,"power":27919,"unknown_96":206,"unknown_84":5376,"ignition":58,"odometer":null,"unknown_45":-4723431561570390016}} 
[2026-07-07 16:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":124532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:06:05] local.INFO: GPS data processed {"connection_id":124532,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:06:05] local.INFO: Acknowledgment sent {"connection_id":124532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:06:15] local.INFO: TCP Data received {"connection_id":126593,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126593,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:06:15] local.INFO: Processing buffer {"connection_id":126593,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:06:15] local.INFO: IMEI packet received {"connection_id":126593,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":126593,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:06:16] local.INFO: TCP Data received {"connection_id":126593,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c255f30012d0bb0400704ba20001b006116..."} 
[2026-07-07 16:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c255f30012d0bb0400704ba20001b006116..."} 
[2026-07-07 16:06:16] local.INFO: Processing buffer {"connection_id":126593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c255f30012d0bb0400704ba20001b006116..."} 
[2026-07-07 16:06:16] local.INFO: Packet analysis {"connection_id":126593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c25"} 
[2026-07-07 16:06:16] local.INFO: Extracted packet for processing {"connection_id":126593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c25"} 
[2026-07-07 16:06:16] local.INFO: GPS Element Parsed {"raw_longitude":755740736,"raw_latitude":117750304,"longitude_deg":75.5740736,"latitude_deg":11.7750304,"altitude":27,"angle":97,"satellites":22,"speed":5,"hex_longitude":"2d0bb040","hex_latitude":"0704ba20","is_valid_coordinates":true} 
[2026-07-07 16:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555649280001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23414353516560384,"note":"Value kept but may cause issues"} 
[2026-07-07 16:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840625048090425344,"note":"Value kept but may cause issues"} 
[2026-07-07 16:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783420510000,"timestamp_ms":1783420510000,"timestamp_seconds":1783420510,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c255f30"} 
[2026-07-07 16:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:06: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-07-07 16:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-07 16:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555649280001,"66":14613,"96":206,"94":10240,"24":5,"16":23414353516560384,"45":840625048090425344},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-07 16:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555649280001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:06:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 16:06:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23414353516560384,"km_value":23414353516560.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":840625048090425344,"description":"Unknown IO ID 45"} 
[2026-07-07 16:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555649280001,"power":14613,"unknown_96":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":840625048090425344}} 
[2026-07-07 16:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":126593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446305,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:06:16] local.INFO: GPS data processed {"connection_id":126593,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:06:16] local.INFO: Acknowledgment sent {"connection_id":126593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:06:30] local.INFO: TCP Data received {"connection_id":126594,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:06:30] local.INFO: Processing buffer {"connection_id":126594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:06:30] local.INFO: IMEI packet received {"connection_id":126594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":126594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:06:31] local.INFO: TCP Data received {"connection_id":126594,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:06:31] local.INFO: Processing buffer {"connection_id":126594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:06:31] local.INFO: IMEI packet received {"connection_id":126594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":126594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:06:32] local.INFO: TCP Data received {"connection_id":126594,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c260340012d7c400005eac6e80007006927..."} 
[2026-07-07 16:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c260340012d7c400005eac6e80007006927..."} 
[2026-07-07 16:06:32] local.INFO: Processing buffer {"connection_id":126594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c260340012d7c400005eac6e80007006927..."} 
[2026-07-07 16:06:32] local.INFO: Packet analysis {"connection_id":126594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c26"} 
[2026-07-07 16:06:32] local.INFO: Extracted packet for processing {"connection_id":126594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c26"} 
[2026-07-07 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763117568,"raw_latitude":99272424,"longitude_deg":76.3117568,"latitude_deg":9.9272424,"altitude":7,"angle":105,"satellites":39,"speed":2,"hex_longitude":"2d7c4000","hex_latitude":"05eac6e8","is_valid_coordinates":true} 
[2026-07-07 16:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555660032001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103331454238326784,"note":"Value kept but may cause issues"} 
[2026-07-07 16:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953156084626325504,"note":"Value kept but may cause issues"} 
[2026-07-07 16:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783420552000,"timestamp_ms":1783420552000,"timestamp_seconds":1783420552,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c260340"} 
[2026-07-07 16:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 16:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555660032001,"66":13015,"8":206,"87":13824,"24":2,"16":103331454238326784,"45":8953156084626325504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-07 16:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555660032001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:06:32] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-07 16:06:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103331454238326784,"km_value":103331454238326.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953156084626325504,"description":"Unknown IO ID 45"} 
[2026-07-07 16:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555660032001,"power":13015,"unknown_8":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8953156084626325504}} 
[2026-07-07 16:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":126594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:06:32] local.INFO: GPS data processed {"connection_id":126594,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:06:32] local.INFO: Acknowledgment sent {"connection_id":126594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:06:37] local.INFO: TCP Data received {"connection_id":124532,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c245978012dbe8b4005439bd0003800952e..."} 
[2026-07-07 16:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c245978012dbe8b4005439bd0003800952e..."} 
[2026-07-07 16:06:37] local.INFO: Processing buffer {"connection_id":124532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c245978012dbe8b4005439bd0003800952e..."} 
[2026-07-07 16:06:37] local.INFO: Packet analysis {"connection_id":124532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c24"} 
[2026-07-07 16:06:37] local.INFO: Extracted packet for processing {"connection_id":124532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c24"} 
[2026-07-07 16:06:37] local.INFO: GPS Element Parsed {"raw_longitude":767462208,"raw_latitude":88316880,"longitude_deg":76.7462208,"latitude_deg":8.831688,"altitude":56,"angle":149,"satellites":46,"speed":58,"hex_longitude":"2dbe8b40","hex_latitude":"05439bd0","is_valid_coordinates":true} 
[2026-07-07 16:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555633408001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341609324923060224,"note":"Value kept but may cause issues"} 
[2026-07-07 16:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4716605793387163648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783420443000,"timestamp_ms":1783420443000,"timestamp_seconds":1783420443,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c245978"} 
[2026-07-07 16:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 16:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555633408001,"66":27919,"96":206,"84":5376,"24":58,"16":341609324923060224,"45":-4716605793387163648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,84,24,16,45]} 
[2026-07-07 16:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555633408001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:06:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 16:06:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341609324923060224,"km_value":341609324923060.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4716605793387163648,"description":"Unknown IO ID 45"} 
[2026-07-07 16:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555633408001,"power":27919,"unknown_96":206,"unknown_84":5376,"ignition":58,"odometer":null,"unknown_45":-4716605793387163648}} 
[2026-07-07 16:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":124532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:06:37] local.INFO: GPS data processed {"connection_id":124532,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:06:37] local.INFO: Acknowledgment sent {"connection_id":124532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:06:47] local.INFO: TCP Data received {"connection_id":126593,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c268bf8012d0c53000704d178001e004517..."} 
[2026-07-07 16:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c268bf8012d0c53000704d178001e004517..."} 
[2026-07-07 16:06:47] local.INFO: Processing buffer {"connection_id":126593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c268bf8012d0c53000704d178001e004517..."} 
[2026-07-07 16:06:47] local.INFO: Packet analysis {"connection_id":126593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c26"} 
[2026-07-07 16:06:47] local.INFO: Extracted packet for processing {"connection_id":126593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c26"} 
[2026-07-07 16:06:47] local.INFO: GPS Element Parsed {"raw_longitude":755782400,"raw_latitude":117756280,"longitude_deg":75.57824,"latitude_deg":11.775628,"altitude":30,"angle":69,"satellites":23,"speed":24,"hex_longitude":"2d0c5300","hex_latitude":"0704d178","is_valid_coordinates":true} 
[2026-07-07 16:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555669504001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23416389331058688,"note":"Value kept but may cause issues"} 
[2026-07-07 16:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886505469295603712,"note":"Value kept but may cause issues"} 
[2026-07-07 16:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783420587000,"timestamp_ms":1783420587000,"timestamp_seconds":1783420587,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c268bf8"} 
[2026-07-07 16:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:06: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-07-07 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 16:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":126593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":126593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":126593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555669504001,"66":14135,"95":206,"94":10240,"24":24,"16":23416389331058688,"45":886505469295603712},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-07 16:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555669504001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:06:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 16:06:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23416389331058688,"km_value":23416389331058.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":886505469295603712,"description":"Unknown IO ID 45"} 
[2026-07-07 16:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555669504001,"power":14135,"unknown_95":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":886505469295603712}} 
[2026-07-07 16:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":126593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446308,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:06:48] local.INFO: GPS data processed {"connection_id":126593,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:06:48] local.INFO: Acknowledgment sent {"connection_id":126593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:07:03] local.INFO: TCP Data received {"connection_id":126594,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c260728012d7c40c005eac6f00007005b28..."} 
[2026-07-07 16:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c260728012d7c40c005eac6f00007005b28..."} 
[2026-07-07 16:07:03] local.INFO: Processing buffer {"connection_id":126594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c260728012d7c40c005eac6f00007005b28..."} 
[2026-07-07 16:07:03] local.INFO: Packet analysis {"connection_id":126594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c26"} 
[2026-07-07 16:07:03] local.INFO: Extracted packet for processing {"connection_id":126594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c26"} 
[2026-07-07 16:07:03] local.INFO: GPS Element Parsed {"raw_longitude":763117760,"raw_latitude":99272432,"longitude_deg":76.311776,"latitude_deg":9.9272432,"altitude":7,"angle":91,"satellites":40,"speed":3,"hex_longitude":"2d7c40c0","hex_latitude":"05eac6f0","is_valid_coordinates":true} 
[2026-07-07 16:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555661312001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103331462828261376,"note":"Value kept but may cause issues"} 
[2026-07-07 16:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953156084626286592,"note":"Value kept but may cause issues"} 
[2026-07-07 16:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783420553000,"timestamp_ms":1783420553000,"timestamp_seconds":1783420553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c260728"} 
[2026-07-07 16:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 16:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555661312001,"66":13254,"8":206,"87":13824,"24":3,"16":103331462828261376,"45":8953156084626286592},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-07 16:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555661312001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:07:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-07 16:07:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103331462828261376,"km_value":103331462828261.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953156084626286592,"description":"Unknown IO ID 45"} 
[2026-07-07 16:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555661312001,"power":13254,"unknown_8":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8953156084626286592}} 
[2026-07-07 16:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":126594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:07:03] local.INFO: GPS data processed {"connection_id":126594,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:07:03] local.INFO: Acknowledgment sent {"connection_id":126594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:07:10] local.INFO: TCP Data received {"connection_id":124624,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124624,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:07:10] local.INFO: Processing buffer {"connection_id":124624,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:07:10] local.INFO: IMEI packet received {"connection_id":124624,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":124624,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:07:14] local.INFO: TCP Data received {"connection_id":124624,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124624,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:07:14] local.INFO: Processing buffer {"connection_id":124624,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:07:14] local.INFO: IMEI packet received {"connection_id":124624,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":124624,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:07:14] local.INFO: TCP Data received {"connection_id":124624,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c26b308012d0c6d000704d768001d005417..."} 
[2026-07-07 16:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c26b308012d0c6d000704d768001d005417..."} 
[2026-07-07 16:07:14] local.INFO: Processing buffer {"connection_id":124624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c26b308012d0c6d000704d768001d005417..."} 
[2026-07-07 16:07:14] local.INFO: Packet analysis {"connection_id":124624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c26"} 
[2026-07-07 16:07:14] local.INFO: Extracted packet for processing {"connection_id":124624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c26"} 
[2026-07-07 16:07:14] local.INFO: GPS Element Parsed {"raw_longitude":755789056,"raw_latitude":117757800,"longitude_deg":75.5789056,"latitude_deg":11.77578,"altitude":29,"angle":84,"satellites":23,"speed":7,"hex_longitude":"2d0c6d00","hex_latitude":"0704d768","is_valid_coordinates":true} 
[2026-07-07 16:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555670272001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23416711453605888,"note":"Value kept but may cause issues"} 
[2026-07-07 16:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888053581667727360,"note":"Value kept but may cause issues"} 
[2026-07-07 16:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783420597000,"timestamp_ms":1783420597000,"timestamp_seconds":1783420597,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c26b308"} 
[2026-07-07 16:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:07: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-07-07 16:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-07 16:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124624,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124624,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555670272001,"66":14559,"95":206,"94":10240,"24":7,"16":23416711453605888,"45":888053581667727360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-07 16:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555670272001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:07:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 16:07:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23416711453605888,"km_value":23416711453605.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":888053581667727360,"description":"Unknown IO ID 45"} 
[2026-07-07 16:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555670272001,"power":14559,"unknown_95":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":888053581667727360}} 
[2026-07-07 16:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":124624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446310,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:07:14] local.INFO: GPS data processed {"connection_id":124624,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:07:14] local.INFO: Acknowledgment sent {"connection_id":124624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:07:31] local.INFO: TCP Data received {"connection_id":125340,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:07:31] local.INFO: Processing buffer {"connection_id":125340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:07:31] local.INFO: IMEI packet received {"connection_id":125340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":125340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:07:34] local.INFO: TCP Data received {"connection_id":124625,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:07:34] local.INFO: Processing buffer {"connection_id":124625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:07:34] local.INFO: IMEI packet received {"connection_id":124625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":124625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:07:36] local.INFO: TCP Data received {"connection_id":125340,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:07:36] local.INFO: Processing buffer {"connection_id":125340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:07:36] local.INFO: IMEI packet received {"connection_id":125340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":125340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:07:37] local.INFO: TCP Data received {"connection_id":125340,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2616c8012d7c424005eac7180007004b27..."} 
[2026-07-07 16:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2616c8012d7c424005eac7180007004b27..."} 
[2026-07-07 16:07:37] local.INFO: Processing buffer {"connection_id":125340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2616c8012d7c424005eac7180007004b27..."} 
[2026-07-07 16:07:37] local.INFO: Packet analysis {"connection_id":125340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c26"} 
[2026-07-07 16:07:37] local.INFO: Extracted packet for processing {"connection_id":125340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c26"} 
[2026-07-07 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763118144,"raw_latitude":99272472,"longitude_deg":76.3118144,"latitude_deg":9.9272472,"altitude":7,"angle":75,"satellites":39,"speed":5,"hex_longitude":"2d7c4240","hex_latitude":"05eac718","is_valid_coordinates":true} 
[2026-07-07 16:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555661568001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103331480008130560,"note":"Value kept but may cause issues"} 
[2026-07-07 16:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953367190858821632,"note":"Value kept but may cause issues"} 
[2026-07-07 16:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783420557000,"timestamp_ms":1783420557000,"timestamp_seconds":1783420557,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2616c8"} 
[2026-07-07 16:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-07 16:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:07: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-07-07 16:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555661568001,"66":12961,"8":206,"87":13824,"24":5,"16":103331480008130560,"45":8953367190858821632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-07 16:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555661568001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:07:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-07 16:07:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103331480008130560,"km_value":103331480008130.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953367190858821632,"description":"Unknown IO ID 45"} 
[2026-07-07 16:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555661568001,"power":12961,"unknown_8":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8953367190858821632}} 
[2026-07-07 16:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":125340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:07:37] local.INFO: GPS data processed {"connection_id":125340,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:07:37] local.INFO: Acknowledgment sent {"connection_id":125340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:07:42] local.INFO: TCP Data received {"connection_id":125340,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2645a8012d7c520005eac8b80006005829..."} 
[2026-07-07 16:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2645a8012d7c520005eac8b80006005829..."} 
[2026-07-07 16:07:42] local.INFO: Processing buffer {"connection_id":125340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2645a8012d7c520005eac8b80006005829..."} 
[2026-07-07 16:07:42] local.INFO: Packet analysis {"connection_id":125340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c26"} 
[2026-07-07 16:07:42] local.INFO: Extracted packet for processing {"connection_id":125340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c26"} 
[2026-07-07 16:07:42] local.INFO: GPS Element Parsed {"raw_longitude":763122176,"raw_latitude":99272888,"longitude_deg":76.3122176,"latitude_deg":9.9272888,"altitude":6,"angle":88,"satellites":41,"speed":23,"hex_longitude":"2d7c5200","hex_latitude":"05eac8b8","is_valid_coordinates":true} 
[2026-07-07 16:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555662592001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103331673281658880,"note":"Value kept but may cause issues"} 
[2026-07-07 16:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953789403323897856,"note":"Value kept but may cause issues"} 
[2026-07-07 16:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783420569000,"timestamp_ms":1783420569000,"timestamp_seconds":1783420569,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2645a8"} 
[2026-07-07 16:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:07: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-07-07 16:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-07 16:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555662592001,"66":13428,"10":206,"87":13824,"24":23,"16":103331673281658880,"45":8953789403323897856},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-07 16:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555662592001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:07:42] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-07 16:07:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103331673281658880,"km_value":103331673281658.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953789403323897856,"description":"Unknown IO ID 45"} 
[2026-07-07 16:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555662592001,"power":13428,"unknown_10":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8953789403323897856}} 
[2026-07-07 16:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":125340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:07:42] local.INFO: GPS data processed {"connection_id":125340,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:07:42] local.INFO: Acknowledgment sent {"connection_id":125340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:07:43] local.INFO: TCP Data received {"connection_id":124625,"ip":"42.106.6.23","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 16:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124625,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 16:07:43] local.INFO: Processing buffer {"connection_id":124625,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 16:07:43] local.INFO: IMEI packet received {"connection_id":124625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":124625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:07:45] local.INFO: TCP Data received {"connection_id":124625,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c260728012dbf5e40054250c0003100912c..."} 
[2026-07-07 16:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c260728012dbf5e40054250c0003100912c..."} 
[2026-07-07 16:07:45] local.INFO: Processing buffer {"connection_id":124625,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f3c..."} 
[2026-07-07 16:07:45] local.INFO: IMEI packet received {"connection_id":124625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:07:45] local.ERROR: TCP Connection error {"connection_id":124625,"code":2,"message":"client closed"} 
[2026-07-07 16:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":124625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:07:46] local.INFO: TCP Data received {"connection_id":124624,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c26bad8012d0c6e000704d758001d006217..."} 
[2026-07-07 16:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c26bad8012d0c6e000704d758001d006217..."} 
[2026-07-07 16:07:46] local.INFO: Processing buffer {"connection_id":124624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c26bad8012d0c6e000704d758001d006217..."} 
[2026-07-07 16:07:46] local.INFO: Packet analysis {"connection_id":124624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c26"} 
[2026-07-07 16:07:46] local.INFO: Extracted packet for processing {"connection_id":124624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c26"} 
[2026-07-07 16:07:46] local.INFO: GPS Element Parsed {"raw_longitude":755789312,"raw_latitude":117757784,"longitude_deg":75.5789312,"latitude_deg":11.7757784,"altitude":29,"angle":98,"satellites":23,"speed":9,"hex_longitude":"2d0c6e00","hex_latitude":"0704d758","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555672832001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23416728633475072,"note":"Value kept but may cause issues"} 
[2026-07-07 16:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895371931062593536,"note":"Value kept but may cause issues"} 
[2026-07-07 16:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783420599000,"timestamp_ms":1783420599000,"timestamp_seconds":1783420599,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c26bad8"} 
[2026-07-07 16:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16: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-07-07 16: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 16:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124624,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124624,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555672832001,"66":13765,"95":206,"94":10240,"24":9,"16":23416728633475072,"45":895371931062593536},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-07 16:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555672832001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:07:46] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 16:07:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23416728633475072,"km_value":23416728633475.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":895371931062593536,"description":"Unknown IO ID 45"} 
[2026-07-07 16:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555672832001,"power":13765,"unknown_95":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":895371931062593536}} 
[2026-07-07 16:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":124624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446313,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:07:46] local.INFO: GPS data processed {"connection_id":124624,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:07:46] local.INFO: Acknowledgment sent {"connection_id":124624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:08:09] local.INFO: TCP Data received {"connection_id":126595,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:08:09] local.INFO: Processing buffer {"connection_id":126595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:08:09] local.INFO: IMEI packet received {"connection_id":126595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":126595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:08:10] local.INFO: TCP Data received {"connection_id":124535,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124535,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:08:10] local.INFO: Processing buffer {"connection_id":124535,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:08:10] local.INFO: IMEI packet received {"connection_id":124535,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":124535,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:08:12] local.INFO: TCP Data received {"connection_id":124535,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124535,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:08:12] local.INFO: Processing buffer {"connection_id":124535,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:08:12] local.INFO: IMEI packet received {"connection_id":124535,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":124535,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:08:13] local.INFO: TCP Data received {"connection_id":126595,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:08:13] local.INFO: Processing buffer {"connection_id":126595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:08:13] local.INFO: IMEI packet received {"connection_id":126595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":126595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:08:14] local.INFO: TCP Data received {"connection_id":126595,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c262a50012dbf720005423278003000942a..."} 
[2026-07-07 16:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c262a50012dbf720005423278003000942a..."} 
[2026-07-07 16:08:14] local.INFO: Processing buffer {"connection_id":126595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c262a50012dbf720005423278003000942a..."} 
[2026-07-07 16:08:14] local.INFO: Packet analysis {"connection_id":126595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c26"} 
[2026-07-07 16:08:14] local.INFO: Extracted packet for processing {"connection_id":126595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c26"} 
[2026-07-07 16:08:14] local.INFO: GPS Element Parsed {"raw_longitude":767521280,"raw_latitude":88224376,"longitude_deg":76.752128,"latitude_deg":8.8224376,"altitude":48,"angle":148,"satellites":42,"speed":39,"hex_longitude":"2dbf7200","hex_latitude":"05423278","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555661568001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341614667862376448,"note":"Value kept but may cause issues"} 
[2026-07-07 16:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4657214573322911744,"note":"Value kept but may cause issues"} 
[2026-07-07 16:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783420562000,"timestamp_ms":1783420562000,"timestamp_seconds":1783420562,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c262a50"} 
[2026-07-07 16:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:08: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-07-07 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 16:08: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-07-07 16: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-07-07 16:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555661568001,"66":27713,"97":206,"84":5376,"24":39,"16":341614667862376448,"45":-4657214573322911744},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555661568001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:08:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:08:14] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341614667862376448,"km_value":341614667862376.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4657214573322911744,"description":"Unknown IO ID 45"} 
[2026-07-07 16:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555661568001,"power":27713,"unknown_97":206,"unknown_84":5376,"ignition":39,"odometer":null,"unknown_45":-4657214573322911744}} 
[2026-07-07 16:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":126595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:08:14] local.INFO: GPS data processed {"connection_id":126595,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:08:14] local.INFO: Acknowledgment sent {"connection_id":126595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:08:15] local.INFO: TCP Data received {"connection_id":124535,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124535,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:08:15] local.INFO: Processing buffer {"connection_id":124535,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:08:15] local.INFO: IMEI packet received {"connection_id":124535,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":124535,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:08:15] local.INFO: TCP Data received {"connection_id":126595,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c264d78012dbf848005421390003100932a..."} 
[2026-07-07 16:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c264d78012dbf848005421390003100932a..."} 
[2026-07-07 16:08:15] local.INFO: Processing buffer {"connection_id":126595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c264d78012dbf848005421390003100932a..."} 
[2026-07-07 16:08:15] local.INFO: Packet analysis {"connection_id":126595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c26"} 
[2026-07-07 16:08:15] local.INFO: Extracted packet for processing {"connection_id":126595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c26"} 
[2026-07-07 16:08:15] local.INFO: GPS Element Parsed {"raw_longitude":767526016,"raw_latitude":88216464,"longitude_deg":76.7526016,"latitude_deg":8.8216464,"altitude":49,"angle":147,"satellites":42,"speed":41,"hex_longitude":"2dbf8480","hex_latitude":"05421390","is_valid_coordinates":true} 
[2026-07-07 16:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555663872001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341615114538975232,"note":"Value kept but may cause issues"} 
[2026-07-07 16:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4651655442534860800,"note":"Value kept but may cause issues"} 
[2026-07-07 16:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783420571000,"timestamp_ms":1783420571000,"timestamp_seconds":1783420571,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c264d78"} 
[2026-07-07 16:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-07 16:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555663872001,"66":27930,"97":206,"84":5376,"24":41,"16":341615114538975232,"45":-4651655442534860800},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555663872001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:08:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:08:15] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341615114538975232,"km_value":341615114538975.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4651655442534860800,"description":"Unknown IO ID 45"} 
[2026-07-07 16:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555663872001,"power":27930,"unknown_97":206,"unknown_84":5376,"ignition":41,"odometer":null,"unknown_45":-4651655442534860800}} 
[2026-07-07 16:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":126595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:08:15] local.INFO: GPS data processed {"connection_id":126595,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:08:15] local.INFO: Acknowledgment sent {"connection_id":126595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:08:18] local.INFO: TCP Data received {"connection_id":124535,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c27e7a0012d0c6700070511400022015417..."} 
[2026-07-07 16:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c27e7a0012d0c6700070511400022015417..."} 
[2026-07-07 16:08:18] local.INFO: Processing buffer {"connection_id":124535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c27e7a0012d0c6700070511400022015417..."} 
[2026-07-07 16:08:18] local.INFO: Packet analysis {"connection_id":124535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c27"} 
[2026-07-07 16:08:18] local.INFO: Extracted packet for processing {"connection_id":124535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c27"} 
[2026-07-07 16:08:18] local.INFO: GPS Element Parsed {"raw_longitude":755787520,"raw_latitude":117772608,"longitude_deg":75.578752,"latitude_deg":11.7772608,"altitude":34,"angle":340,"satellites":23,"speed":0,"hex_longitude":"2d0c6700","hex_latitude":"07051140","is_valid_coordinates":true} 
[2026-07-07 16:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555687936001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23418038598500352,"note":"Value kept but may cause issues"} 
[2026-07-07 16:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893823818694455296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783420676000,"timestamp_ms":1783420676000,"timestamp_seconds":1783420676,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c27e7a0"} 
[2026-07-07 16:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:08: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-07-07 16:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 16:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555687936001,"66":14450,"95":206,"94":10240,"24":0,"16":23418038598500352,"45":893823818694455296},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-07 16:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555687936001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:08:18] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 16:08:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23418038598500352,"km_value":23418038598500.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":893823818694455296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555687936001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":893823818694455296}} 
[2026-07-07 16:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":124535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446316,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:08:18] local.INFO: GPS data processed {"connection_id":124535,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:08:18] local.INFO: Acknowledgment sent {"connection_id":124535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:08:26] local.INFO: TCP Data received {"connection_id":126596,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:08:26] local.INFO: Processing buffer {"connection_id":126596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:08:26] local.INFO: IMEI packet received {"connection_id":126596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":126596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:08:29] local.INFO: TCP Data received {"connection_id":126596,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:08:29] local.INFO: Processing buffer {"connection_id":126596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:08:29] local.INFO: IMEI packet received {"connection_id":126596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":126596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:08:30] local.INFO: TCP Data received {"connection_id":126596,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2664e8012d7c65c005eacad00005004b27..."} 
[2026-07-07 16:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2664e8012d7c65c005eacad00005004b27..."} 
[2026-07-07 16:08:30] local.INFO: Processing buffer {"connection_id":126596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2664e8012d7c65c005eacad00005004b27..."} 
[2026-07-07 16:08:30] local.INFO: Packet analysis {"connection_id":126596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c26"} 
[2026-07-07 16:08:30] local.INFO: Extracted packet for processing {"connection_id":126596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c26"} 
[2026-07-07 16:08:30] local.INFO: GPS Element Parsed {"raw_longitude":763127232,"raw_latitude":99273424,"longitude_deg":76.3127232,"latitude_deg":9.9273424,"altitude":5,"angle":75,"satellites":39,"speed":27,"hex_longitude":"2d7c65c0","hex_latitude":"05eacad0","is_valid_coordinates":true} 
[2026-07-07 16:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555665664001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103331918094794752,"note":"Value kept but may cause issues"} 
[2026-07-07 16:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958222634207197184,"note":"Value kept but may cause issues"} 
[2026-07-07 16:08:30] 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-07-07 16:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783420577000,"timestamp_ms":1783420577000,"timestamp_seconds":1783420577,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2664e8"} 
[2026-07-07 16:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-07 16:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":126596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":126596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":126596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555665664001,"66":13428,"10":206,"87":13824,"24":27,"16":103331918094794752,"45":8958222634207197184},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-07 16:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555665664001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:08:30] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-07 16:08:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103331918094794752,"km_value":103331918094794.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958222634207197184,"description":"Unknown IO ID 45"} 
[2026-07-07 16:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555665664001,"power":13428,"unknown_10":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8958222634207197184}} 
[2026-07-07 16:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":126596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:08:30] local.INFO: GPS data processed {"connection_id":126596,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:08:30] local.INFO: Acknowledgment sent {"connection_id":126596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:08:36] local.INFO: TCP Data received {"connection_id":124535,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c27ff10012d0c6700070512c80021014317..."} 
[2026-07-07 16:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c27ff10012d0c6700070512c80021014317..."} 
[2026-07-07 16:08:36] local.INFO: Processing buffer {"connection_id":124535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c27ff10012d0c6700070512c80021014317..."} 
[2026-07-07 16:08:36] local.INFO: Packet analysis {"connection_id":124535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c27"} 
[2026-07-07 16:08:36] local.INFO: Extracted packet for processing {"connection_id":124535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c27"} 
[2026-07-07 16:08:36] local.INFO: GPS Element Parsed {"raw_longitude":755787520,"raw_latitude":117773000,"longitude_deg":75.578752,"latitude_deg":11.7773,"altitude":33,"angle":323,"satellites":23,"speed":2,"hex_longitude":"2d0c6700","hex_latitude":"070512c8","is_valid_coordinates":true} 
[2026-07-07 16:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555693056001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23418060073336832,"note":"Value kept but may cause issues"} 
[2026-07-07 16:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893683081206120448,"note":"Value kept but may cause issues"} 
[2026-07-07 16:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783420682000,"timestamp_ms":1783420682000,"timestamp_seconds":1783420682,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c27ff10"} 
[2026-07-07 16:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 16:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555693056001,"66":14537,"95":206,"94":10240,"24":2,"16":23418060073336832,"45":893683081206120448},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-07 16:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555693056001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:08:36] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 16:08:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23418060073336832,"km_value":23418060073336.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":893683081206120448,"description":"Unknown IO ID 45"} 
[2026-07-07 16:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555693056001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":893683081206120448}} 
[2026-07-07 16:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":124535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446318,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:08:37] local.INFO: GPS data processed {"connection_id":124535,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:08:37] local.INFO: Acknowledgment sent {"connection_id":124535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:08:55] local.INFO: TCP Data received {"connection_id":126597,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:08:55] local.INFO: Processing buffer {"connection_id":126597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:08:55] local.INFO: IMEI packet received {"connection_id":126597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":126597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:08:56] local.INFO: TCP Data received {"connection_id":126597,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:08:56] local.INFO: Processing buffer {"connection_id":126597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:08:56] local.INFO: IMEI packet received {"connection_id":126597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":126597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:08:57] local.INFO: TCP Data received {"connection_id":126597,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:08:57] local.INFO: Processing buffer {"connection_id":126597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:08:57] local.INFO: IMEI packet received {"connection_id":126597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":126597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:08:58] local.INFO: TCP Data received {"connection_id":126597,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:08:58] local.INFO: Processing buffer {"connection_id":126597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:08:58] local.INFO: IMEI packet received {"connection_id":126597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":126597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:09:01] local.INFO: TCP Data received {"connection_id":126596,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c289b50012d7cf54005eaee58000c005826..."} 
[2026-07-07 16:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c289b50012d7cf54005eaee58000c005826..."} 
[2026-07-07 16:09:01] local.INFO: Processing buffer {"connection_id":126596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c289b50012d7cf54005eaee58000c005826..."} 
[2026-07-07 16:09:01] local.INFO: Packet analysis {"connection_id":126596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c28"} 
[2026-07-07 16:09:01] local.INFO: Extracted packet for processing {"connection_id":126596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c28"} 
[2026-07-07 16:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763163968,"raw_latitude":99282520,"longitude_deg":76.3163968,"latitude_deg":9.928252,"altitude":12,"angle":88,"satellites":38,"speed":3,"hex_longitude":"2d7cf540","hex_latitude":"05eaee58","is_valid_coordinates":true} 
[2026-07-07 16:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555701248001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103333747750862848,"note":"Value kept but may cause issues"} 
[2026-07-07 16:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003680842948433920,"note":"Value kept but may cause issues"} 
[2026-07-07 16:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783420722000,"timestamp_ms":1783420722000,"timestamp_seconds":1783420722,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c289b50"} 
[2026-07-07 16:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 16:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555701248001,"66":13059,"158":206,"87":13824,"24":3,"16":103333747750862848,"45":9003680842948433920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-07 16:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555701248001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:09:01] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 16:09:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103333747750862848,"km_value":103333747750862.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003680842948433920,"description":"Unknown IO ID 45"} 
[2026-07-07 16:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555701248001,"power":13059,"unknown_158":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9003680842948433920}} 
[2026-07-07 16:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":126596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:09:02] local.INFO: GPS data processed {"connection_id":126596,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:09:02] local.INFO: Acknowledgment sent {"connection_id":126596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:09:11] local.INFO: TCP Data received {"connection_id":125342,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:09:11] local.INFO: Processing buffer {"connection_id":125342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:09:11] local.INFO: IMEI packet received {"connection_id":125342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":125342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:09:17] local.INFO: TCP Data received {"connection_id":125342,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:09:17] local.INFO: Processing buffer {"connection_id":125342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:09:17] local.INFO: IMEI packet received {"connection_id":125342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":125342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:09:26] local.INFO: TCP Data received {"connection_id":124627,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:09:26] local.INFO: Processing buffer {"connection_id":124627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:09:26] local.INFO: IMEI packet received {"connection_id":124627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":124627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:09:27] local.INFO: TCP Data received {"connection_id":124627,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:09:27] local.INFO: Processing buffer {"connection_id":124627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:09:27] local.INFO: IMEI packet received {"connection_id":124627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":124627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:09:31] local.INFO: TCP Data received {"connection_id":125342,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2806e0012d0c66c0070513580021015217..."} 
[2026-07-07 16:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2806e0012d0c66c0070513580021015217..."} 
[2026-07-07 16:09:31] local.INFO: Processing buffer {"connection_id":125342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2806e0012d0c66c0070513580021015217..."} 
[2026-07-07 16:09:31] local.INFO: Packet analysis {"connection_id":125342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c28"} 
[2026-07-07 16:09:31] local.INFO: Extracted packet for processing {"connection_id":125342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c28"} 
[2026-07-07 16:09:31] local.INFO: GPS Element Parsed {"raw_longitude":755787456,"raw_latitude":117773144,"longitude_deg":75.5787456,"latitude_deg":11.7773144,"altitude":33,"angle":338,"satellites":23,"speed":4,"hex_longitude":"2d0c66c0","hex_latitude":"07051358","is_valid_coordinates":true} 
[2026-07-07 16:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555694592001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23418068663271424,"note":"Value kept but may cause issues"} 
[2026-07-07 16:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893683081206220800,"note":"Value kept but may cause issues"} 
[2026-07-07 16:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783420684000,"timestamp_ms":1783420684000,"timestamp_seconds":1783420684,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2806e0"} 
[2026-07-07 16:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 16:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555694592001,"66":14537,"95":206,"94":10240,"24":4,"16":23418068663271424,"45":893683081206220800},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-07 16:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555694592001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:09:31] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 16:09:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23418068663271424,"km_value":23418068663271.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":893683081206220800,"description":"Unknown IO ID 45"} 
[2026-07-07 16:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555694592001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":893683081206220800}} 
[2026-07-07 16:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":125342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446320,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:09:31] local.INFO: GPS data processed {"connection_id":125342,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:09:31] local.INFO: Acknowledgment sent {"connection_id":125342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:09:31] local.INFO: TCP Data received {"connection_id":124627,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:09:31] local.INFO: Processing buffer {"connection_id":124627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:09:31] local.INFO: IMEI packet received {"connection_id":124627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":124627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:09:32] local.INFO: TCP Data received {"connection_id":124627,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c289f38012d7cf60005eaeea8000c004c25..."} 
[2026-07-07 16:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c289f38012d7cf60005eaeea8000c004c25..."} 
[2026-07-07 16:09:32] local.INFO: Processing buffer {"connection_id":124627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c289f38012d7cf60005eaeea8000c004c25..."} 
[2026-07-07 16:09:32] local.INFO: Packet analysis {"connection_id":124627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c28"} 
[2026-07-07 16:09:32] local.INFO: Extracted packet for processing {"connection_id":124627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c28"} 
[2026-07-07 16:09:32] local.INFO: GPS Element Parsed {"raw_longitude":763164160,"raw_latitude":99282600,"longitude_deg":76.316416,"latitude_deg":9.92826,"altitude":12,"angle":76,"satellites":37,"speed":5,"hex_longitude":"2d7cf600","hex_latitude":"05eaeea8","is_valid_coordinates":true} 
[2026-07-07 16:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555704832001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103333756340797440,"note":"Value kept but may cause issues"} 
[2026-07-07 16:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004173424157677568,"note":"Value kept but may cause issues"} 
[2026-07-07 16:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783420723000,"timestamp_ms":1783420723000,"timestamp_seconds":1783420723,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c289f38"} 
[2026-07-07 16:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 16:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161905565006,"note":"Value kept but may cause issues"} 
[2026-07-07 16:09:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 16:09:32] local.WARNING: Large IO value detected {"io_id":8,"raw_value":58079734643818496,"note":"Value kept but may cause issues"} 
[2026-07-07 16:09:32] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3087084924,"note":"Value kept but may cause issues"} 
[2026-07-07 16:09:32] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3986161676,"note":"Value kept but may cause issues"} 
[2026-07-07 16:09:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309147342,"corrected_to":0} 
[2026-07-07 16:09:32] local.WARNING: Large IO value detected {"io_id":230,"raw_value":3221613293,"note":"Value kept but may cause issues"} 
[2026-07-07 16:09:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3941404672,"note":"Value kept but may cause issues"} 
[2026-07-07 16:09:32] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,158,87,24,241,157,16,29,159,100,45,128,238,12,36,10,66,22,40,8,251,1,240,35,227,60,234,4,113,205,6,230,239,52,2,111,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1309147342,"validated":0}]} 
[2026-07-07 16:09:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864788048687333376,"timestamp_seconds":864788048687333.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555704832001,"66":13276,"158":206,"87":13824,"24":5,"16":103333756340797440,"45":9004173424157677568},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-07 16:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555704832001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:09:32] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 16:09:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103333756340797440,"km_value":103333756340797.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004173424157677568,"description":"Unknown IO ID 45"} 
[2026-07-07 16:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555704832001,"power":13276,"unknown_158":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9004173424157677568}} 
[2026-07-07 16:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":124627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:09:32] local.INFO: GPS data processed {"connection_id":124627,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:09:32] local.INFO: Acknowledgment sent {"connection_id":124627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:10:04] local.INFO: TCP Data received {"connection_id":124627,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c28ca30012d7d03c005eaf230000b002d26..."} 
[2026-07-07 16:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c28ca30012d7d03c005eaf230000b002d26..."} 
[2026-07-07 16:10:04] local.INFO: Processing buffer {"connection_id":124627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c28ca30012d7d03c005eaf230000b002d26..."} 
[2026-07-07 16:10:04] local.INFO: Packet analysis {"connection_id":124627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c28"} 
[2026-07-07 16:10:04] local.INFO: Extracted packet for processing {"connection_id":124627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c28"} 
[2026-07-07 16:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763167680,"raw_latitude":99283504,"longitude_deg":76.316768,"latitude_deg":9.9283504,"altitude":11,"angle":45,"satellites":38,"speed":2,"hex_longitude":"2d7d03c0","hex_latitude":"05eaf230","is_valid_coordinates":true} 
[2026-07-07 16:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555705088001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103333932434456576,"note":"Value kept but may cause issues"} 
[2026-07-07 16:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004384530390231040,"note":"Value kept but may cause issues"} 
[2026-07-07 16:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783420734000,"timestamp_ms":1783420734000,"timestamp_seconds":1783420734,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c28ca30"} 
[2026-07-07 16:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 16:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555705088001,"66":12624,"158":206,"87":13824,"24":2,"16":103333932434456576,"45":9004384530390231040},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-07 16:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555705088001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:10:04] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 16:10:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103333932434456576,"km_value":103333932434456.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004384530390231040,"description":"Unknown IO ID 45"} 
[2026-07-07 16:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555705088001,"power":12624,"unknown_158":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9004384530390231040}} 
[2026-07-07 16:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":124627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:10:04] local.INFO: GPS data processed {"connection_id":124627,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:10:04] local.INFO: Acknowledgment sent {"connection_id":124627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:10:09] local.INFO: TCP Data received {"connection_id":125343,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125343,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:10:09] local.INFO: Processing buffer {"connection_id":125343,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:10:09] local.INFO: IMEI packet received {"connection_id":125343,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":125343,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:10:10] local.INFO: TCP Data received {"connection_id":125343,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125343,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:10:10] local.INFO: Processing buffer {"connection_id":125343,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:10:10] local.INFO: IMEI packet received {"connection_id":125343,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":125343,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:10:15] local.INFO: TCP Data received {"connection_id":125343,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125343,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:10:15] local.INFO: Processing buffer {"connection_id":125343,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:10:15] local.INFO: IMEI packet received {"connection_id":125343,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":125343,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:10:16] local.INFO: TCP Data received {"connection_id":125343,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c292408012d0c5000070588d8001f012a17..."} 
[2026-07-07 16:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c292408012d0c5000070588d8001f012a17..."} 
[2026-07-07 16:10:16] local.INFO: Processing buffer {"connection_id":125343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c292408012d0c5000070588d8001f012a17..."} 
[2026-07-07 16:10:16] local.INFO: Packet analysis {"connection_id":125343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c29"} 
[2026-07-07 16:10:16] local.INFO: Extracted packet for processing {"connection_id":125343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c29"} 
[2026-07-07 16:10:16] local.INFO: GPS Element Parsed {"raw_longitude":755781632,"raw_latitude":117803224,"longitude_deg":75.5781632,"latitude_deg":11.7803224,"altitude":31,"angle":298,"satellites":23,"speed":2,"hex_longitude":"2d0c5000","hex_latitude":"070588d8","is_valid_coordinates":true} 
[2026-07-07 16:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555710720001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23419855369666560,"note":"Value kept but may cause issues"} 
[2026-07-07 16:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887490631726286848,"note":"Value kept but may cause issues"} 
[2026-07-07 16:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783420757000,"timestamp_ms":1783420757000,"timestamp_seconds":1783420757,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c292408"} 
[2026-07-07 16:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 16:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555710720001,"66":14352,"164":206,"94":10240,"24":2,"16":23419855369666560,"45":887490631726286848},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-07 16:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555710720001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:10:16] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-07 16:10:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23419855369666560,"km_value":23419855369666.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":887490631726286848,"description":"Unknown IO ID 45"} 
[2026-07-07 16:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555710720001,"power":14352,"unknown_164":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":887490631726286848}} 
[2026-07-07 16:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":125343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446323,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:10:16] local.INFO: GPS data processed {"connection_id":125343,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:10:16] local.INFO: Acknowledgment sent {"connection_id":125343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:10:20] local.INFO: TCP Data received {"connection_id":124628,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:10:20] local.INFO: Processing buffer {"connection_id":124628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:10:20] local.INFO: IMEI packet received {"connection_id":124628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 16:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":124628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:10:26] local.INFO: TCP Data received {"connection_id":126598,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:10:26] local.INFO: Processing buffer {"connection_id":126598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:10:26] local.INFO: IMEI packet received {"connection_id":126598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":126598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:10:31] local.INFO: TCP Data received {"connection_id":126598,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:10:31] local.INFO: Processing buffer {"connection_id":126598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:10:31] local.INFO: IMEI packet received {"connection_id":126598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":126598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:10:33] local.INFO: TCP Data received {"connection_id":126598,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c28e970012d7d04c005eaf2a0000b004c27..."} 
[2026-07-07 16:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c28e970012d7d04c005eaf2a0000b004c27..."} 
[2026-07-07 16:10:33] local.INFO: Processing buffer {"connection_id":126598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c28e970012d7d04c005eaf2a0000b004c27..."} 
[2026-07-07 16:10:33] local.INFO: Packet analysis {"connection_id":126598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c28"} 
[2026-07-07 16:10:33] local.INFO: Extracted packet for processing {"connection_id":126598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c28"} 
[2026-07-07 16:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763167936,"raw_latitude":99283616,"longitude_deg":76.3167936,"latitude_deg":9.9283616,"altitude":11,"angle":76,"satellites":39,"speed":4,"hex_longitude":"2d7d04c0","hex_latitude":"05eaf2a0","is_valid_coordinates":true} 
[2026-07-07 16:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555707904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103333945319358464,"note":"Value kept but may cause issues"} 
[2026-07-07 16:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008254811320233984,"note":"Value kept but may cause issues"} 
[2026-07-07 16:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783420742000,"timestamp_ms":1783420742000,"timestamp_seconds":1783420742,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c28e970"} 
[2026-07-07 16:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 16:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555707904001,"66":13319,"158":206,"87":13824,"24":4,"16":103333945319358464,"45":9008254811320233984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-07 16:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555707904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:10:33] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 16:10:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103333945319358464,"km_value":103333945319358.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008254811320233984,"description":"Unknown IO ID 45"} 
[2026-07-07 16:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555707904001,"power":13319,"unknown_158":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9008254811320233984}} 
[2026-07-07 16:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":126598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:10:33] local.INFO: GPS data processed {"connection_id":126598,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:10:33] local.INFO: Acknowledgment sent {"connection_id":126598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:10:59] local.INFO: TCP Data received {"connection_id":124536,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:10:59] local.INFO: Processing buffer {"connection_id":124536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:10:59] local.INFO: IMEI packet received {"connection_id":124536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 16:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":124536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:11:04] local.INFO: TCP Data received {"connection_id":126598,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c28f140012d7d064005eaf348000c003d27..."} 
[2026-07-07 16:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c28f140012d7d064005eaf348000c003d27..."} 
[2026-07-07 16:11:04] local.INFO: Processing buffer {"connection_id":126598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c28f140012d7d064005eaf348000c003d27..."} 
[2026-07-07 16:11:04] local.INFO: Packet analysis {"connection_id":126598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c28"} 
[2026-07-07 16:11:04] local.INFO: Extracted packet for processing {"connection_id":126598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c28"} 
[2026-07-07 16:11:04] local.INFO: GPS Element Parsed {"raw_longitude":763168320,"raw_latitude":99283784,"longitude_deg":76.316832,"latitude_deg":9.9283784,"altitude":12,"angle":61,"satellites":39,"speed":9,"hex_longitude":"2d7d0640","hex_latitude":"05eaf348","is_valid_coordinates":true} 
[2026-07-07 16:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555709952001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103333966794194944,"note":"Value kept but may cause issues"} 
[2026-07-07 16:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008536286296973312,"note":"Value kept but may cause issues"} 
[2026-07-07 16:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783420744000,"timestamp_ms":1783420744000,"timestamp_seconds":1783420744,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c28f140"} 
[2026-07-07 16:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 16:11:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 16:11:04] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":12289,"corrected_to":0} 
[2026-07-07 16:11:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-07 16:11:04] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-1326310038716340480,"note":"Value kept but may cause issues"} 
[2026-07-07 16:11:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-07-07 16:11:04] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2147560828,"note":"Value kept but may cause issues"} 
[2026-07-07 16:11:04] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422286,"note":"Value kept but may cause issues"} 
[2026-07-07 16:11:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3941474304,"note":"Value kept but may cause issues"} 
[2026-07-07 16:11:04] local.WARNING: Large IO value detected {"io_id":35,"raw_value":57788166505912118,"note":"Value kept but may cause issues"} 
[2026-07-07 16:11:04] local.WARNING: Large IO value detected {"io_id":39,"raw_value":-1193452606372397051,"note":"Value kept but may cause issues"} 
[2026-07-07 16:11:04] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,158,87,24,241,157,16,29,159,202,45,192,242,11,38,10,66,238,12,37,155,64,1,240,3,227,60,234,4,113,205,22,243,128,40,239,51,8,2,111,5,35,39],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":202,"original":12289,"validated":0},{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-07-07 16:11:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792717264804904960,"timestamp_seconds":792717264804905.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555709952001,"66":13276,"158":206,"87":13824,"24":9,"16":103333966794194944,"45":9008536286296973312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-07 16:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555709952001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:11:04] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 16:11:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103333966794194944,"km_value":103333966794194.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008536286296973312,"description":"Unknown IO ID 45"} 
[2026-07-07 16:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555709952001,"power":13276,"unknown_158":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9008536286296973312}} 
[2026-07-07 16:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":126598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:11:04] local.INFO: GPS data processed {"connection_id":126598,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:11:04] local.INFO: Acknowledgment sent {"connection_id":126598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:11:26] local.INFO: TCP Data received {"connection_id":126599,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126599,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:11:26] local.INFO: Processing buffer {"connection_id":126599,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:11:26] local.INFO: IMEI packet received {"connection_id":126599,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":126599,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:11:28] local.INFO: TCP Data received {"connection_id":126599,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126599,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:11:28] local.INFO: Processing buffer {"connection_id":126599,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:11:28] local.INFO: IMEI packet received {"connection_id":126599,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":126599,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:11:32] local.INFO: TCP Data received {"connection_id":126599,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126599,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:11:32] local.INFO: Processing buffer {"connection_id":126599,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:11:32] local.INFO: IMEI packet received {"connection_id":126599,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":126599,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:11:33] local.INFO: TCP Data received {"connection_id":126599,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2a7bc8012d7d1dc005ea9ef8000800ba28..."} 
[2026-07-07 16:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2a7bc8012d7d1dc005ea9ef8000800ba28..."} 
[2026-07-07 16:11:33] local.INFO: Processing buffer {"connection_id":126599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2a7bc8012d7d1dc005ea9ef8000800ba28..."} 
[2026-07-07 16:11:33] local.INFO: Packet analysis {"connection_id":126599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2a"} 
[2026-07-07 16:11:33] local.INFO: Extracted packet for processing {"connection_id":126599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2a"} 
[2026-07-07 16:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763174336,"raw_latitude":99262200,"longitude_deg":76.3174336,"latitude_deg":9.92622,"altitude":8,"angle":186,"satellites":40,"speed":26,"hex_longitude":"2d7d1dc0","hex_latitude":"05ea9ef8","is_valid_coordinates":true} 
[2026-07-07 16:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555732992001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103335517277388800,"note":"Value kept but may cause issues"} 
[2026-07-07 16:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016276848153460736,"note":"Value kept but may cause issues"} 
[2026-07-07 16:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783420845000,"timestamp_ms":1783420845000,"timestamp_seconds":1783420845,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2a7bc8"} 
[2026-07-07 16:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 16:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555732992001,"66":13254,"158":206,"87":13824,"24":26,"16":103335517277388800,"45":9016276848153460736},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-07 16:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555732992001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:11:33] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 16:11:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103335517277388800,"km_value":103335517277388.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016276848153460736,"description":"Unknown IO ID 45"} 
[2026-07-07 16:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555732992001,"power":13254,"unknown_158":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":9016276848153460736}} 
[2026-07-07 16:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":126599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446326,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:11:33] local.INFO: GPS data processed {"connection_id":126599,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:11:33] local.INFO: Acknowledgment sent {"connection_id":126599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:11:41] local.INFO: TCP Data received {"connection_id":125343,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2a4900012d0c4400070584180020010817..."} 
[2026-07-07 16:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2a4900012d0c4400070584180020010817..."} 
[2026-07-07 16:11:41] local.INFO: Processing buffer {"connection_id":125343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2a4900012d0c4400070584180020010817..."} 
[2026-07-07 16:11:41] local.INFO: Packet analysis {"connection_id":125343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2a"} 
[2026-07-07 16:11:41] local.INFO: Extracted packet for processing {"connection_id":125343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2a"} 
[2026-07-07 16:11:41] local.INFO: GPS Element Parsed {"raw_longitude":755778560,"raw_latitude":117802008,"longitude_deg":75.577856,"latitude_deg":11.7802008,"altitude":32,"angle":264,"satellites":23,"speed":1,"hex_longitude":"2d0c4400","hex_latitude":"07058418","is_valid_coordinates":true} 
[2026-07-07 16:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555731712001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23420027168358400,"note":"Value kept but may cause issues"} 
[2026-07-07 16:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884042563261315072,"note":"Value kept but may cause issues"} 
[2026-07-07 16:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783420832000,"timestamp_ms":1783420832000,"timestamp_seconds":1783420832,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2a4900"} 
[2026-07-07 16:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 16:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555731712001,"66":14363,"164":206,"94":10240,"24":1,"16":23420027168358400,"45":884042563261315072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-07 16:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555731712001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:11:41] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-07 16:11:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23420027168358400,"km_value":23420027168358.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":884042563261315072,"description":"Unknown IO ID 45"} 
[2026-07-07 16:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555731712001,"power":14363,"unknown_164":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":884042563261315072}} 
[2026-07-07 16:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":125343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446327,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:11:41] local.INFO: GPS data processed {"connection_id":125343,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:11:41] local.INFO: Acknowledgment sent {"connection_id":125343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:12:04] local.INFO: TCP Data received {"connection_id":126599,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2ac9e8012d7d1c4005ea8648000a00b529..."} 
[2026-07-07 16:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2ac9e8012d7d1c4005ea8648000a00b529..."} 
[2026-07-07 16:12:04] local.INFO: Processing buffer {"connection_id":126599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2ac9e8012d7d1c4005ea8648000a00b529..."} 
[2026-07-07 16:12:04] local.INFO: Packet analysis {"connection_id":126599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2a"} 
[2026-07-07 16:12:04] local.INFO: Extracted packet for processing {"connection_id":126599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2a"} 
[2026-07-07 16:12:04] local.INFO: GPS Element Parsed {"raw_longitude":763173952,"raw_latitude":99255880,"longitude_deg":76.3173952,"latitude_deg":9.925588,"altitude":10,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d7d1c40","hex_latitude":"05ea8648","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555736320001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103335826515034112,"note":"Value kept but may cause issues"} 
[2026-07-07 16:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015573160709257216,"note":"Value kept but may cause issues"} 
[2026-07-07 16:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783420865000,"timestamp_ms":1783420865000,"timestamp_seconds":1783420865,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2ac9e8"} 
[2026-07-07 16:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-07 16:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555736320001,"66":12374,"158":206,"87":13824,"24":0,"16":103335826515034112,"45":9015573160709257216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-07 16:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555736320001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:12:04] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 16:12:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103335826515034112,"km_value":103335826515034.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015573160709257216,"description":"Unknown IO ID 45"} 
[2026-07-07 16:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555736320001,"power":12374,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9015573160709257216}} 
[2026-07-07 16:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":126599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:12:04] local.INFO: GPS data processed {"connection_id":126599,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:12:04] local.INFO: Acknowledgment sent {"connection_id":126599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:12:25] local.INFO: TCP Data received {"connection_id":125345,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125345,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:12:25] local.INFO: Processing buffer {"connection_id":125345,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:12:25] local.INFO: IMEI packet received {"connection_id":125345,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":125345,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:12:28] local.INFO: TCP Data received {"connection_id":125345,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125345,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:12:28] local.INFO: Processing buffer {"connection_id":125345,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:12:28] local.INFO: IMEI packet received {"connection_id":125345,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":125345,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:12:29] local.INFO: TCP Data received {"connection_id":125345,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2b7d98012d0c1700070592b0001f014e17..."} 
[2026-07-07 16:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2b7d98012d0c1700070592b0001f014e17..."} 
[2026-07-07 16:12:29] local.INFO: Processing buffer {"connection_id":125345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2b7d98012d0c1700070592b0001f014e17..."} 
[2026-07-07 16:12:29] local.INFO: Packet analysis {"connection_id":125345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2b"} 
[2026-07-07 16:12:29] local.INFO: Extracted packet for processing {"connection_id":125345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2b"} 
[2026-07-07 16:12:29] local.INFO: GPS Element Parsed {"raw_longitude":755767040,"raw_latitude":117805744,"longitude_deg":75.576704,"latitude_deg":11.7805744,"altitude":31,"angle":334,"satellites":23,"speed":5,"hex_longitude":"2d0c1700","hex_latitude":"070592b0","is_valid_coordinates":true} 
[2026-07-07 16:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555751936001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23420667118485504,"note":"Value kept but may cause issues"} 
[2026-07-07 16:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871657664286914560,"note":"Value kept but may cause issues"} 
[2026-07-07 16:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783420911000,"timestamp_ms":1783420911000,"timestamp_seconds":1783420911,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2b7d98"} 
[2026-07-07 16:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:12:29] 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-07-07 16:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 16:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555751936001,"66":14548,"164":206,"94":10240,"24":5,"16":23420667118485504,"45":871657664286914560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-07 16:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555751936001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:12:29] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-07 16:12:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23420667118485504,"km_value":23420667118485.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":871657664286914560,"description":"Unknown IO ID 45"} 
[2026-07-07 16:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555751936001,"power":14548,"unknown_164":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":871657664286914560}} 
[2026-07-07 16:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":125345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446329,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:12:29] local.INFO: GPS data processed {"connection_id":125345,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:12:29] local.INFO: Acknowledgment sent {"connection_id":125345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:12:31] local.INFO: TCP Data received {"connection_id":124632,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:12:31] local.INFO: Processing buffer {"connection_id":124632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:12:31] local.INFO: IMEI packet received {"connection_id":124632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":124632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:12:36] local.INFO: TCP Data received {"connection_id":124632,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:12:36] local.INFO: Processing buffer {"connection_id":124632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:12:36] local.INFO: IMEI packet received {"connection_id":124632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":124632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:12:38] local.INFO: TCP Data received {"connection_id":124632,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2b1bf0012d7d1c4005ea77c0000900b728..."} 
[2026-07-07 16:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2b1bf0012d7d1c4005ea77c0000900b728..."} 
[2026-07-07 16:12:38] local.INFO: Processing buffer {"connection_id":124632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2b1bf0012d7d1c4005ea77c0000900b728..."} 
[2026-07-07 16:12:38] local.INFO: Packet analysis {"connection_id":124632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2b"} 
[2026-07-07 16:12:38] local.INFO: Extracted packet for processing {"connection_id":124632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2b"} 
[2026-07-07 16:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763173952,"raw_latitude":99252160,"longitude_deg":76.3173952,"latitude_deg":9.925216,"altitude":9,"angle":183,"satellites":40,"speed":16,"hex_longitude":"2d7d1c40","hex_latitude":"05ea77c0","is_valid_coordinates":true} 
[2026-07-07 16:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555741440001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103336011198627840,"note":"Value kept but may cause issues"} 
[2026-07-07 16:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015150948242573312,"note":"Value kept but may cause issues"} 
[2026-07-07 16:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783420886000,"timestamp_ms":1783420886000,"timestamp_seconds":1783420886,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2b1bf0"} 
[2026-07-07 16:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-07 16:12: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-07-07 16:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:12: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-07-07 16:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555741440001,"66":13059,"158":206,"87":13824,"24":16,"16":103336011198627840,"45":9015150948242573312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-07 16:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555741440001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:12:38] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 16:12:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103336011198627840,"km_value":103336011198627.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015150948242573312,"description":"Unknown IO ID 45"} 
[2026-07-07 16:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555741440001,"power":13059,"unknown_158":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":9015150948242573312}} 
[2026-07-07 16:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":124632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:12:38] local.INFO: GPS data processed {"connection_id":124632,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:12:38] local.INFO: Acknowledgment sent {"connection_id":124632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:13:09] local.INFO: TCP Data received {"connection_id":124632,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2b6240012d7d1a4005ea52c8000700b329..."} 
[2026-07-07 16:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2b6240012d7d1a4005ea52c8000700b329..."} 
[2026-07-07 16:13:09] local.INFO: Processing buffer {"connection_id":124632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2b6240012d7d1a4005ea52c8000700b329..."} 
[2026-07-07 16:13:09] local.INFO: Packet analysis {"connection_id":124632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2b"} 
[2026-07-07 16:13:09] local.INFO: Extracted packet for processing {"connection_id":124632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2b"} 
[2026-07-07 16:13:09] local.INFO: GPS Element Parsed {"raw_longitude":763173440,"raw_latitude":99242696,"longitude_deg":76.317344,"latitude_deg":9.9242696,"altitude":7,"angle":179,"satellites":41,"speed":24,"hex_longitude":"2d7d1a40","hex_latitude":"05ea52c8","is_valid_coordinates":true} 
[2026-07-07 16:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555746816001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103336470760128512,"note":"Value kept but may cause issues"} 
[2026-07-07 16:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015150948241620992,"note":"Value kept but may cause issues"} 
[2026-07-07 16:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783420904000,"timestamp_ms":1783420904000,"timestamp_seconds":1783420904,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2b6240"} 
[2026-07-07 16:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 16:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168297684304,"note":"Value kept but may cause issues"} 
[2026-07-07 16:13:09] local.WARNING: Large IO value detected {"io_id":158,"raw_value":58079734643818503,"note":"Value kept but may cause issues"} 
[2026-07-07 16:13:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 16:13:09] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2936012800,"note":"Value kept but may cause issues"} 
[2026-07-07 16:13:09] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3646423055,"note":"Value kept but may cause issues"} 
[2026-07-07 16:13:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-07-07 16:13:09] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2415996285,"note":"Value kept but may cause issues"} 
[2026-07-07 16:13:09] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147871483,"note":"Value kept but may cause issues"} 
[2026-07-07 16:13:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3942428672,"note":"Value kept but may cause issues"} 
[2026-07-07 16:13:09] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,158,87,24,241,157,16,31,159,201,45,64,134,10,41,66,123,192,8,40,73,1,240,187,227,30,60,234,4,113,205,20,180,34,232,239,52,2,111,5,14,7],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-07-07 16:13:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648719728768974848,"timestamp_seconds":648719728768974.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555746816001,"66":13222,"158":206,"87":13824,"24":24,"16":103336470760128512,"45":9015150948241620992},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-07 16:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555746816001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:13:09] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 16:13:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103336470760128512,"km_value":103336470760128.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015150948241620992,"description":"Unknown IO ID 45"} 
[2026-07-07 16:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555746816001,"power":13222,"unknown_158":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":9015150948241620992}} 
[2026-07-07 16:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":124632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:13:09] local.INFO: GPS data processed {"connection_id":124632,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:13:09] local.INFO: Acknowledgment sent {"connection_id":124632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:13:28] local.INFO: TCP Data received {"connection_id":126601,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:13:28] local.INFO: Processing buffer {"connection_id":126601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:13:28] local.INFO: IMEI packet received {"connection_id":126601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":126601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:13:31] local.INFO: TCP Data received {"connection_id":126601,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:13:31] local.INFO: Processing buffer {"connection_id":126601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:13:31] local.INFO: IMEI packet received {"connection_id":126601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":126601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:13:33] local.INFO: TCP Data received {"connection_id":126601,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:13:33] local.INFO: Processing buffer {"connection_id":126601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:13:33] local.INFO: IMEI packet received {"connection_id":126601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":126601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:13:34] local.INFO: TCP Data received {"connection_id":126601,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2bb060012d7d184005ea33c0000900b228..."} 
[2026-07-07 16:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2bb060012d7d184005ea33c0000900b228..."} 
[2026-07-07 16:13:34] local.INFO: Processing buffer {"connection_id":126601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2bb060012d7d184005ea33c0000900b228..."} 
[2026-07-07 16:13:34] local.INFO: Packet analysis {"connection_id":126601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2b"} 
[2026-07-07 16:13:34] local.INFO: Extracted packet for processing {"connection_id":126601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2b"} 
[2026-07-07 16:13:34] local.INFO: GPS Element Parsed {"raw_longitude":763172928,"raw_latitude":99234752,"longitude_deg":76.3172928,"latitude_deg":9.9234752,"altitude":9,"angle":178,"satellites":40,"speed":0,"hex_longitude":"2d7d1840","hex_latitude":"05ea33c0","is_valid_coordinates":true} 
[2026-07-07 16:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555751424001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103336857307185152,"note":"Value kept but may cause issues"} 
[2026-07-07 16:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014587998285776896,"note":"Value kept but may cause issues"} 
[2026-07-07 16:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783420924000,"timestamp_ms":1783420924000,"timestamp_seconds":1783420924,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2bb060"} 
[2026-07-07 16:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 16:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:13: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-07-07 16:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555751424001,"66":12939,"158":206,"87":13824,"24":0,"16":103336857307185152,"45":9014587998285776896},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-07 16:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555751424001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:13:34] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 16:13:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103336857307185152,"km_value":103336857307185.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014587998285776896,"description":"Unknown IO ID 45"} 
[2026-07-07 16:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555751424001,"power":12939,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9014587998285776896}} 
[2026-07-07 16:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":126601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:13:34] local.INFO: GPS data processed {"connection_id":126601,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:13:34] local.INFO: Acknowledgment sent {"connection_id":126601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:14:05] local.INFO: TCP Data received {"connection_id":126601,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2d61f8012d7cbd8005e9be38000a012029..."} 
[2026-07-07 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2d61f8012d7cbd8005e9be38000a012029..."} 
[2026-07-07 16:14:05] local.INFO: Processing buffer {"connection_id":126601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2d61f8012d7cbd8005e9be38000a012029..."} 
[2026-07-07 16:14:05] local.INFO: Packet analysis {"connection_id":126601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2d"} 
[2026-07-07 16:14:05] local.INFO: Extracted packet for processing {"connection_id":126601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2d"} 
[2026-07-07 16:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763149696,"raw_latitude":99204664,"longitude_deg":76.3149696,"latitude_deg":9.9204664,"altitude":10,"angle":288,"satellites":41,"speed":17,"hex_longitude":"2d7cbd80","hex_latitude":"05e9be38","is_valid_coordinates":true} 
[2026-07-07 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-07-07 16:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555784448001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103339408517758976,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989325619116204032,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:05] 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-07-07 16:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783421035000,"timestamp_ms":1783421035000,"timestamp_seconds":1783421035,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2d61f8"} 
[2026-07-07 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-07-07 16:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 16:14:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:05] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3118744036833017861,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:05] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-5239938132063475712,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-07-07 16:14:05] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:05] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1074129339,"corrected_to":0} 
[2026-07-07 16:14:05] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391958,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3921174528,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:05] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57797752872916790,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:05] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,192,87,24,241,157,16,34,159,74,45,128,189,9,41,10,66,70,64,8,1,240,79,227,60,233,4,113,205,12,58,204,176,239,51,2,111,5,11,133],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0},{"io_id":204,"original":1074129339,"validated":0}]} 
[2026-07-07 16:14:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720878477876592640,"timestamp_seconds":720878477876592.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 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-07-07 16:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:14: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-07-07 16:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555784448001,"66":13319,"192":206,"87":13824,"24":17,"16":103339408517758976,"45":8989325619116204032},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-07 16:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555784448001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:14:05] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-07 16:14:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103339408517758976,"km_value":103339408517758.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989325619116204032,"description":"Unknown IO ID 45"} 
[2026-07-07 16:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555784448001,"power":13319,"unknown_192":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8989325619116204032}} 
[2026-07-07 16:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":126601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:14:05] local.INFO: GPS data processed {"connection_id":126601,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:14:05] local.INFO: Acknowledgment sent {"connection_id":126601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:14:24] local.INFO: TCP Data received {"connection_id":125346,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:14:24] local.INFO: Processing buffer {"connection_id":125346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:14:24] local.INFO: IMEI packet received {"connection_id":125346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":125346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:14:26] local.INFO: TCP Data received {"connection_id":125346,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:14:26] local.INFO: Processing buffer {"connection_id":125346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:14:26] local.INFO: IMEI packet received {"connection_id":125346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":125346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:14:33] local.INFO: TCP Data received {"connection_id":125346,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:14:33] local.INFO: Processing buffer {"connection_id":125346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:14:33] local.INFO: IMEI packet received {"connection_id":125346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":125346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:14:33] local.INFO: TCP Data received {"connection_id":124633,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:14:33] local.INFO: Processing buffer {"connection_id":124633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:14:33] local.INFO: IMEI packet received {"connection_id":124633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":124633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:14:34] local.INFO: TCP Data received {"connection_id":125346,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2d69c8012d7cb9c005e9bf100009011329..."} 
[2026-07-07 16:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2d69c8012d7cb9c005e9bf100009011329..."} 
[2026-07-07 16:14:34] local.INFO: Processing buffer {"connection_id":125346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2d69c8012d7cb9c005e9bf100009011329..."} 
[2026-07-07 16:14:34] local.INFO: Packet analysis {"connection_id":125346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2d"} 
[2026-07-07 16:14:34] local.INFO: Extracted packet for processing {"connection_id":125346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2d"} 
[2026-07-07 16:14:34] local.INFO: GPS Element Parsed {"raw_longitude":763148736,"raw_latitude":99204880,"longitude_deg":76.3148736,"latitude_deg":9.920488,"altitude":9,"angle":275,"satellites":41,"speed":19,"hex_longitude":"2d7cb9c0","hex_latitude":"05e9bf10","is_valid_coordinates":true} 
[2026-07-07 16:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555784960001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103339455762399232,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988481194186127360,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:34] 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-07-07 16:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783421037000,"timestamp_ms":1783421037000,"timestamp_seconds":1783421037,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2d69c8"} 
[2026-07-07 16:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 16:14:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:34] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3400219013543673861,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:34] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-5161125138583377920,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-07-07 16:14:34] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3489738108,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:34] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2147871164,"corrected_to":0} 
[2026-07-07 16:14:34] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391958,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3921391616,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:34] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57797752872916790,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:34] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,192,87,24,241,157,16,34,159,90,45,128,189,10,40,66,74,9,41,70,64,1,240,79,227,60,233,4,113,205,12,62,203,160,239,51,2,111,5,8,11,187],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0},{"io_id":203,"original":2147871164,"validated":0}]} 
[2026-07-07 16:14:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720892775822852096,"timestamp_seconds":720892775822852.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:14: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-07-07 16:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555784960001,"66":13059,"192":206,"87":13824,"24":19,"16":103339455762399232,"45":8988481194186127360},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-07 16:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555784960001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:14:34] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-07 16:14:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103339455762399232,"km_value":103339455762399.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988481194186127360,"description":"Unknown IO ID 45"} 
[2026-07-07 16:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555784960001,"power":13059,"unknown_192":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8988481194186127360}} 
[2026-07-07 16:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":125346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:14:34] local.INFO: GPS data processed {"connection_id":125346,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:14:34] local.INFO: Acknowledgment sent {"connection_id":125346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:14:40] local.INFO: TCP Data received {"connection_id":124633,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:14:40] local.INFO: Processing buffer {"connection_id":124633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:14:40] local.INFO: IMEI packet received {"connection_id":124633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":124633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:14:41] local.INFO: TCP Data received {"connection_id":124633,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2a58a0012dbf9cc00541a1d0003000e22a..."} 
[2026-07-07 16:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2a58a0012dbf9cc00541a1d0003000e22a..."} 
[2026-07-07 16:14:41] local.INFO: Processing buffer {"connection_id":124633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2a58a0012dbf9cc00541a1d0003000e22a..."} 
[2026-07-07 16:14:41] local.INFO: Packet analysis {"connection_id":124633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2a"} 
[2026-07-07 16:14:41] local.INFO: Extracted packet for processing {"connection_id":124633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2a"} 
[2026-07-07 16:14:41] local.INFO: GPS Element Parsed {"raw_longitude":767532224,"raw_latitude":88187344,"longitude_deg":76.7532224,"latitude_deg":8.8187344,"altitude":48,"angle":226,"satellites":42,"speed":5,"hex_longitude":"2dbf9cc0","hex_latitude":"0541a1d0","is_valid_coordinates":true} 
[2026-07-07 16:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555733504001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341624941424148480,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4639340912313204736,"note":"Value kept but may cause issues"} 
[2026-07-07 16:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783420836000,"timestamp_ms":1783420836000,"timestamp_seconds":1783420836,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2a58a0"} 
[2026-07-07 16:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 16:14: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-07-07 16:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555733504001,"66":27930,"97":206,"84":5376,"24":5,"16":341624941424148480,"45":-4639340912313204736},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555733504001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:14:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:14:41] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341624941424148480,"km_value":341624941424148.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4639340912313204736,"description":"Unknown IO ID 45"} 
[2026-07-07 16:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555733504001,"power":27930,"unknown_97":206,"unknown_84":5376,"ignition":5,"odometer":null,"unknown_45":-4639340912313204736}} 
[2026-07-07 16:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":124633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:14:41] local.INFO: GPS data processed {"connection_id":124633,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:14:41] local.INFO: Acknowledgment sent {"connection_id":124633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:15:00] local.INFO: TCP Data received {"connection_id":125347,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125347,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:15:00] local.INFO: Processing buffer {"connection_id":125347,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:15:00] local.INFO: IMEI packet received {"connection_id":125347,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":125347,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:15:05] local.INFO: TCP Data received {"connection_id":125347,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125347,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:15:05] local.INFO: Processing buffer {"connection_id":125347,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:15:05] local.INFO: IMEI packet received {"connection_id":125347,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":125347,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:15:06] local.INFO: TCP Data received {"connection_id":125346,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2d7198012d7cb58005e9bec00008010529..."} 
[2026-07-07 16:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2d7198012d7cb58005e9bec00008010529..."} 
[2026-07-07 16:15:06] local.INFO: Processing buffer {"connection_id":125346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2d7198012d7cb58005e9bec00008010529..."} 
[2026-07-07 16:15:06] local.INFO: Packet analysis {"connection_id":125346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2d"} 
[2026-07-07 16:15:06] local.INFO: Extracted packet for processing {"connection_id":125346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2d"} 
[2026-07-07 16:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763147648,"raw_latitude":99204800,"longitude_deg":76.3147648,"latitude_deg":9.92048,"altitude":8,"angle":261,"satellites":41,"speed":20,"hex_longitude":"2d7cb580","hex_latitude":"05e9bec0","is_valid_coordinates":true} 
[2026-07-07 16:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555785472001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103339507302006784,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987425663023517696,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:06] 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-07-07 16:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783421039000,"timestamp_ms":1783421039000,"timestamp_seconds":1783421039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2d7198"} 
[2026-07-07 16:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 16:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099869014,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":58079734643818508,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:06] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2281701376,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3087084924,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:06] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3181379592,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-07-07 16:15:06] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2147871165,"corrected_to":0} 
[2026-07-07 16:15:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3921453056,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:06] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,192,87,24,241,157,16,34,159,97,45,128,190,10,41,66,90,189,40,74,1,240,182,227,60,233,4,113,205,15,202,104,42,239,51,2,111,5,8,12],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0},{"io_id":202,"original":2147871165,"validated":0}]} 
[2026-07-07 16:15:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648820888133894144,"timestamp_seconds":648820888133894.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555785472001,"66":13222,"192":206,"87":13824,"24":20,"16":103339507302006784,"45":8987425663023517696},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-07 16:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555785472001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:15:06] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-07 16:15:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103339507302006784,"km_value":103339507302006.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987425663023517696,"description":"Unknown IO ID 45"} 
[2026-07-07 16:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555785472001,"power":13222,"unknown_192":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8987425663023517696}} 
[2026-07-07 16:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":125346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:15:06] local.INFO: GPS data processed {"connection_id":125346,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:15:06] local.INFO: Acknowledgment sent {"connection_id":125346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:15:06] local.INFO: TCP Data received {"connection_id":125347,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2d2f30012d0c2cc007061fd0001b015d18..."} 
[2026-07-07 16:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2d2f30012d0c2cc007061fd0001b015d18..."} 
[2026-07-07 16:15:06] local.INFO: Processing buffer {"connection_id":125347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2d2f30012d0c2cc007061fd0001b015d18..."} 
[2026-07-07 16:15:06] local.INFO: Packet analysis {"connection_id":125347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2d"} 
[2026-07-07 16:15:06] local.INFO: Extracted packet for processing {"connection_id":125347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2d"} 
[2026-07-07 16:15:06] local.INFO: GPS Element Parsed {"raw_longitude":755772608,"raw_latitude":117841872,"longitude_deg":75.5772608,"latitude_deg":11.7841872,"altitude":27,"angle":349,"satellites":24,"speed":16,"hex_longitude":"2d0c2cc0","hex_latitude":"07061fd0","is_valid_coordinates":true} 
[2026-07-07 16:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555780352001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23422462414815232,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877498270062520320,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783421022000,"timestamp_ms":1783421022000,"timestamp_seconds":1783421022,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2d2f30"} 
[2026-07-07 16:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 16:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555780352001,"66":14439,"164":206,"94":10240,"24":16,"16":23422462414815232,"45":877498270062520320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-07 16:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555780352001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:15:06] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-07 16:15:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23422462414815232,"km_value":23422462414815.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":877498270062520320,"description":"Unknown IO ID 45"} 
[2026-07-07 16:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555780352001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":877498270062520320}} 
[2026-07-07 16:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":125347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446337,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:15:07] local.INFO: GPS data processed {"connection_id":125347,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:15:07] local.INFO: Acknowledgment sent {"connection_id":125347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:15:08] local.INFO: TCP Data received {"connection_id":124634,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:15:08] local.INFO: Processing buffer {"connection_id":124634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:15:08] local.INFO: IMEI packet received {"connection_id":124634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":124634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:15:14] local.INFO: TCP Data received {"connection_id":124634,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:15:14] local.INFO: Processing buffer {"connection_id":124634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:15:14] local.INFO: IMEI packet received {"connection_id":124634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":124634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:15:14] local.INFO: TCP Data received {"connection_id":124634,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2a5c88012dbf9c400541a178003000f02b..."} 
[2026-07-07 16:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2a5c88012dbf9c400541a178003000f02b..."} 
[2026-07-07 16:15:14] local.INFO: Processing buffer {"connection_id":124634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2a5c88012dbf9c400541a178003000f02b..."} 
[2026-07-07 16:15:14] local.INFO: Packet analysis {"connection_id":124634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2a"} 
[2026-07-07 16:15:14] local.INFO: Extracted packet for processing {"connection_id":124634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2a"} 
[2026-07-07 16:15:14] local.INFO: GPS Element Parsed {"raw_longitude":767532096,"raw_latitude":88187256,"longitude_deg":76.7532096,"latitude_deg":8.8187256,"altitude":48,"angle":240,"satellites":43,"speed":5,"hex_longitude":"2dbf9c40","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555734016001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341624945719115776,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4639622387289960448,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783420837000,"timestamp_ms":1783420837000,"timestamp_seconds":1783420837,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2a5c88"} 
[2026-07-07 16:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16: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-07-07 16: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":26,"data_length":795,"current_offset":136} 
[2026-07-07 16:15: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-07-07 16:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555734016001,"66":27995,"97":206,"84":5376,"24":5,"16":341624945719115776,"45":-4639622387289960448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555734016001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:15:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:15:14] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341624945719115776,"km_value":341624945719115.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4639622387289960448,"description":"Unknown IO ID 45"} 
[2026-07-07 16:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555734016001,"power":27995,"unknown_97":206,"unknown_84":5376,"ignition":5,"odometer":null,"unknown_45":-4639622387289960448}} 
[2026-07-07 16:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":124634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:15:14] local.INFO: GPS data processed {"connection_id":124634,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:15:14] local.INFO: Acknowledgment sent {"connection_id":124634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:15:26] local.INFO: TCP Data received {"connection_id":125348,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:15:26] local.INFO: Processing buffer {"connection_id":125348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:15:26] local.INFO: IMEI packet received {"connection_id":125348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":125348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:15:33] local.INFO: TCP Data received {"connection_id":125348,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:15:33] local.INFO: Processing buffer {"connection_id":125348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:15:33] local.INFO: IMEI packet received {"connection_id":125348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":125348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:15:34] local.INFO: TCP Data received {"connection_id":125348,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2e7368012d7c7b4005e99658000300e029..."} 
[2026-07-07 16:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2e7368012d7c7b4005e99658000300e029..."} 
[2026-07-07 16:15:34] local.INFO: Processing buffer {"connection_id":125348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2e7368012d7c7b4005e99658000300e029..."} 
[2026-07-07 16:15:34] local.INFO: Packet analysis {"connection_id":125348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2e"} 
[2026-07-07 16:15:34] local.INFO: Extracted packet for processing {"connection_id":125348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2e"} 
[2026-07-07 16:15:34] local.INFO: GPS Element Parsed {"raw_longitude":763132736,"raw_latitude":99194456,"longitude_deg":76.3132736,"latitude_deg":9.9194456,"altitude":3,"angle":224,"satellites":41,"speed":14,"hex_longitude":"2d7c7b40","hex_latitude":"05e99658","is_valid_coordinates":true} 
[2026-07-07 16:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555802624001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103340628288471040,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970114951953207296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:34] 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-07-07 16:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783421105000,"timestamp_ms":1783421105000,"timestamp_seconds":1783421105,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2e7368"} 
[2026-07-07 16:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 16:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:15: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-07-07 16:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555802624001,"66":13189,"192":206,"87":13824,"24":14,"16":103340628288471040,"45":8970114951953207296},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-07 16:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555802624001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:15:34] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-07 16:15:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103340628288471040,"km_value":103340628288471.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970114951953207296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555802624001,"power":13189,"unknown_192":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8970114951953207296}} 
[2026-07-07 16:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":125348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:15:34] local.INFO: GPS data processed {"connection_id":125348,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:15:34] local.INFO: Acknowledgment sent {"connection_id":125348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:15:48] local.INFO: TCP Data received {"connection_id":125347,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2ec188012d0c548007063b88001b007f18..."} 
[2026-07-07 16:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2ec188012d0c548007063b88001b007f18..."} 
[2026-07-07 16:15:48] local.INFO: Processing buffer {"connection_id":125347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2ec188012d0c548007063b88001b007f18..."} 
[2026-07-07 16:15:48] local.INFO: Packet analysis {"connection_id":125347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2e"} 
[2026-07-07 16:15:48] local.INFO: Extracted packet for processing {"connection_id":125347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2e"} 
[2026-07-07 16:15:48] local.INFO: GPS Element Parsed {"raw_longitude":755782784,"raw_latitude":117848968,"longitude_deg":75.5782784,"latitude_deg":11.7848968,"altitude":27,"angle":127,"satellites":24,"speed":18,"hex_longitude":"2d0c5480","hex_latitude":"07063b88","is_valid_coordinates":true} 
[2026-07-07 16:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555807232001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23423351473045504,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887490631738173440,"note":"Value kept but may cause issues"} 
[2026-07-07 16:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783421125000,"timestamp_ms":1783421125000,"timestamp_seconds":1783421125,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2ec188"} 
[2026-07-07 16:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 16:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":125347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":125347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":125347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555807232001,"66":14309,"164":206,"94":10240,"24":18,"16":23423351473045504,"45":887490631738173440},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-07 16:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555807232001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:15:48] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-07 16:15:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23423351473045504,"km_value":23423351473045.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":887490631738173440,"description":"Unknown IO ID 45"} 
[2026-07-07 16:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555807232001,"power":14309,"unknown_164":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":887490631738173440}} 
[2026-07-07 16:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":125347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446340,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:15:48] local.INFO: GPS data processed {"connection_id":125347,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:15:48] local.INFO: Acknowledgment sent {"connection_id":125347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:15:58] local.INFO: TCP Data received {"connection_id":125349,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:15:58] local.INFO: Processing buffer {"connection_id":125349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:15:58] local.INFO: IMEI packet received {"connection_id":125349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":125349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:16:04] local.INFO: TCP Data received {"connection_id":125349,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:16:04] local.INFO: Processing buffer {"connection_id":125349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:16:04] local.INFO: IMEI packet received {"connection_id":125349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":125349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:16:05] local.INFO: TCP Data received {"connection_id":125349,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2a8b68012dbf9cc00541a1d0003100582b..."} 
[2026-07-07 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2a8b68012dbf9cc00541a1d0003100582b..."} 
[2026-07-07 16:16:05] local.INFO: Processing buffer {"connection_id":125349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2a8b68012dbf9cc00541a1d0003100582b..."} 
[2026-07-07 16:16:05] local.INFO: Packet analysis {"connection_id":125349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2a"} 
[2026-07-07 16:16:05] local.INFO: Extracted packet for processing {"connection_id":125349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2a"} 
[2026-07-07 16:16:05] local.INFO: GPS Element Parsed {"raw_longitude":767532224,"raw_latitude":88187344,"longitude_deg":76.7532224,"latitude_deg":8.8187344,"altitude":49,"angle":88,"satellites":43,"speed":6,"hex_longitude":"2dbf9cc0","hex_latitude":"0541a1d0","is_valid_coordinates":true} 
[2026-07-07 16:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555734272001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341624992963756032,"note":"Value kept but may cause issues"} 
[2026-07-07 16:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4639763124778338304,"note":"Value kept but may cause issues"} 
[2026-07-07 16:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783420849000,"timestamp_ms":1783420849000,"timestamp_seconds":1783420849,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2a8b68"} 
[2026-07-07 16:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 16:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555734272001,"66":27843,"97":206,"84":5376,"24":6,"16":341624992963756032,"45":-4639763124778338304},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555734272001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:16:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:16:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341624992963756032,"km_value":341624992963756.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4639763124778338304,"description":"Unknown IO ID 45"} 
[2026-07-07 16:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555734272001,"power":27843,"unknown_97":206,"unknown_84":5376,"ignition":6,"odometer":null,"unknown_45":-4639763124778338304}} 
[2026-07-07 16:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":125349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:16:05] local.INFO: GPS data processed {"connection_id":125349,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:16:05] local.INFO: Acknowledgment sent {"connection_id":125349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:16:05] local.INFO: TCP Data received {"connection_id":125348,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2e7f20012d7c788005e99380000300f028..."} 
[2026-07-07 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2e7f20012d7c788005e99380000300f028..."} 
[2026-07-07 16:16:05] local.INFO: Processing buffer {"connection_id":125348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2e7f20012d7c788005e99380000300f028..."} 
[2026-07-07 16:16:05] local.INFO: Packet analysis {"connection_id":125348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2e"} 
[2026-07-07 16:16:05] local.INFO: Extracted packet for processing {"connection_id":125348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2e"} 
[2026-07-07 16:16:05] local.INFO: GPS Element Parsed {"raw_longitude":763132032,"raw_latitude":99193728,"longitude_deg":76.3132032,"latitude_deg":9.9193728,"altitude":3,"angle":240,"satellites":40,"speed":9,"hex_longitude":"2d7c7880","hex_latitude":"05e99380","is_valid_coordinates":true} 
[2026-07-07 16:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555802880001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103340675533111296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969833476976433152,"note":"Value kept but may cause issues"} 
[2026-07-07 16:16:05] 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-07-07 16:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783421108000,"timestamp_ms":1783421108000,"timestamp_seconds":1783421108,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2e7f20"} 
[2026-07-07 16:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":133,"data_length":795,"current_offset":136} 
[2026-07-07 16:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:16: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-07-07 16:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555802880001,"66":13222,"192":206,"87":13824,"24":9,"16":103340675533111296,"45":8969833476976433152},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-07 16:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555802880001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:16:05] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-07 16:16:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103340675533111296,"km_value":103340675533111.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969833476976433152,"description":"Unknown IO ID 45"} 
[2026-07-07 16:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555802880001,"power":13222,"unknown_192":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8969833476976433152}} 
[2026-07-07 16:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":125348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:16:05] local.INFO: GPS data processed {"connection_id":125348,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:16:05] local.INFO: Acknowledgment sent {"connection_id":125348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:16:10] local.INFO: TCP Data received {"connection_id":124540,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124540,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:16:10] local.INFO: Processing buffer {"connection_id":124540,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:16:10] local.INFO: IMEI packet received {"connection_id":124540,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":124540,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:16:11] local.INFO: TCP Data received {"connection_id":124540,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124540,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:16:11] local.INFO: Processing buffer {"connection_id":124540,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:16:11] local.INFO: IMEI packet received {"connection_id":124540,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":124540,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:16:15] local.INFO: TCP Data received {"connection_id":124540,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124540,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:16:15] local.INFO: Processing buffer {"connection_id":124540,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:16:15] local.INFO: IMEI packet received {"connection_id":124540,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":124540,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:16:16] local.INFO: TCP Data received {"connection_id":124540,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2ec958012d0c578007063910001b008b18..."} 
[2026-07-07 16:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2ec958012d0c578007063910001b008b18..."} 
[2026-07-07 16:16:16] local.INFO: Processing buffer {"connection_id":124540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2ec958012d0c578007063910001b008b18..."} 
[2026-07-07 16:16:16] local.INFO: Packet analysis {"connection_id":124540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2e"} 
[2026-07-07 16:16:16] local.INFO: Extracted packet for processing {"connection_id":124540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2e"} 
[2026-07-07 16:16:16] local.INFO: GPS Element Parsed {"raw_longitude":755783552,"raw_latitude":117848336,"longitude_deg":75.5783552,"latitude_deg":11.7848336,"altitude":27,"angle":139,"satellites":24,"speed":17,"hex_longitude":"2d0c5780","hex_latitude":"07063910","is_valid_coordinates":true} 
[2026-07-07 16:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555808000001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23423398717685760,"note":"Value kept but may cause issues"} 
[2026-07-07 16:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888475794156521472,"note":"Value kept but may cause issues"} 
[2026-07-07 16:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783421127000,"timestamp_ms":1783421127000,"timestamp_seconds":1783421127,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2ec958"} 
[2026-07-07 16:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 16:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124540,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124540,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555808000001,"66":14396,"164":206,"94":10240,"24":17,"16":23423398717685760,"45":888475794156521472},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-07 16:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555808000001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:16:16] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-07 16:16:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23423398717685760,"km_value":23423398717685.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":888475794156521472,"description":"Unknown IO ID 45"} 
[2026-07-07 16:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555808000001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":888475794156521472}} 
[2026-07-07 16:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":124540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446343,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:16:16] local.INFO: GPS data processed {"connection_id":124540,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:16:16] local.INFO: Acknowledgment sent {"connection_id":124540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:16:25] local.INFO: TCP Data received {"connection_id":125350,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125350,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:16:25] local.INFO: Processing buffer {"connection_id":125350,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:16:25] local.INFO: IMEI packet received {"connection_id":125350,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":125350,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:16:26] local.INFO: TCP Data received {"connection_id":125350,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125350,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:16:26] local.INFO: Processing buffer {"connection_id":125350,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:16:26] local.INFO: IMEI packet received {"connection_id":125350,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":125350,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:16:31] local.INFO: TCP Data received {"connection_id":125350,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125350,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:16:31] local.INFO: Processing buffer {"connection_id":125350,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:16:31] local.INFO: IMEI packet received {"connection_id":125350,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":125350,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:16:32] local.INFO: TCP Data received {"connection_id":125350,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2e9e60012d7c770005e99318000300ff29..."} 
[2026-07-07 16:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2e9e60012d7c770005e99318000300ff29..."} 
[2026-07-07 16:16:32] local.INFO: Processing buffer {"connection_id":125350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2e9e60012d7c770005e99318000300ff29..."} 
[2026-07-07 16:16:32] local.INFO: Packet analysis {"connection_id":125350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2e"} 
[2026-07-07 16:16:32] local.INFO: Extracted packet for processing {"connection_id":125350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2e"} 
[2026-07-07 16:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763131648,"raw_latitude":99193624,"longitude_deg":76.3131648,"latitude_deg":9.9193624,"altitude":3,"angle":255,"satellites":41,"speed":6,"hex_longitude":"2d7c7700","hex_latitude":"05e99318","is_valid_coordinates":true} 
[2026-07-07 16:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555803648001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103340697007947776,"note":"Value kept but may cause issues"} 
[2026-07-07 16:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969059420790292480,"note":"Value kept but may cause issues"} 
[2026-07-07 16:16:32] 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-07-07 16:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783421116000,"timestamp_ms":1783421116000,"timestamp_seconds":1783421116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2e9e60"} 
[2026-07-07 16:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 16:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555803648001,"66":13396,"192":206,"87":13824,"24":6,"16":103340697007947776,"45":8969059420790292480},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-07 16:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555803648001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:16:32] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-07 16:16:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103340697007947776,"km_value":103340697007947.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969059420790292480,"description":"Unknown IO ID 45"} 
[2026-07-07 16:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555803648001,"power":13396,"unknown_192":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8969059420790292480}} 
[2026-07-07 16:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":125350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:16:32] local.INFO: GPS data processed {"connection_id":125350,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:16:32] local.INFO: Acknowledgment sent {"connection_id":125350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:16:33] local.INFO: TCP Data received {"connection_id":126603,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:16:33] local.INFO: Processing buffer {"connection_id":126603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:16:33] local.INFO: IMEI packet received {"connection_id":126603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 16:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":126603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:16:36] local.INFO: TCP Data received {"connection_id":125349,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2a9720012dbf9e400541a1f0003100472b..."} 
[2026-07-07 16:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2a9720012dbf9e400541a1f0003100472b..."} 
[2026-07-07 16:16:36] local.INFO: Processing buffer {"connection_id":125349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2a9720012dbf9e400541a1f0003100472b..."} 
[2026-07-07 16:16:36] local.INFO: Packet analysis {"connection_id":125349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2a"} 
[2026-07-07 16:16:36] local.INFO: Extracted packet for processing {"connection_id":125349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2a"} 
[2026-07-07 16:16:36] local.INFO: GPS Element Parsed {"raw_longitude":767532608,"raw_latitude":88187376,"longitude_deg":76.7532608,"latitude_deg":8.8187376,"altitude":49,"angle":71,"satellites":43,"speed":6,"hex_longitude":"2dbf9e40","hex_latitude":"0541a1f0","is_valid_coordinates":true} 
[2026-07-07 16:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555737344001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625010143625216,"note":"Value kept but may cause issues"} 
[2026-07-07 16:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4639622387289960448,"note":"Value kept but may cause issues"} 
[2026-07-07 16:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783420852000,"timestamp_ms":1783420852000,"timestamp_seconds":1783420852,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2a9720"} 
[2026-07-07 16:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16: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-07-07 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 16:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555737344001,"66":27865,"97":206,"84":5376,"24":6,"16":341625010143625216,"45":-4639622387289960448},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555737344001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:16:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:16:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625010143625216,"km_value":341625010143625.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4639622387289960448,"description":"Unknown IO ID 45"} 
[2026-07-07 16:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555737344001,"power":27865,"unknown_97":206,"unknown_84":5376,"ignition":6,"odometer":null,"unknown_45":-4639622387289960448}} 
[2026-07-07 16:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":125349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:16:36] local.INFO: GPS data processed {"connection_id":125349,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:16:36] local.INFO: Acknowledgment sent {"connection_id":125349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:16:48] local.INFO: TCP Data received {"connection_id":124540,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2ee0c8012d0c600007062ea8001a009617..."} 
[2026-07-07 16:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2ee0c8012d0c600007062ea8001a009617..."} 
[2026-07-07 16:16:48] local.INFO: Processing buffer {"connection_id":124540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2ee0c8012d0c600007062ea8001a009617..."} 
[2026-07-07 16:16:48] local.INFO: Packet analysis {"connection_id":124540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2e"} 
[2026-07-07 16:16:48] local.INFO: Extracted packet for processing {"connection_id":124540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2e"} 
[2026-07-07 16:16:48] local.INFO: GPS Element Parsed {"raw_longitude":755785728,"raw_latitude":117845672,"longitude_deg":75.5785728,"latitude_deg":11.7845672,"altitude":26,"angle":150,"satellites":23,"speed":24,"hex_longitude":"2d0c6000","hex_latitude":"07062ea8","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555808512001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23423566221410304,"note":"Value kept but may cause issues"} 
[2026-07-07 16:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889320219086491648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783421133000,"timestamp_ms":1783421133000,"timestamp_seconds":1783421133,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2ee0c8"} 
[2026-07-07 16:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 16:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":124540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":124540,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":124540,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555808512001,"66":14330,"164":206,"94":10240,"24":24,"16":23423566221410304,"45":889320219086491648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-07 16:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555808512001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:16:48] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-07 16:16:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23423566221410304,"km_value":23423566221410.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":889320219086491648,"description":"Unknown IO ID 45"} 
[2026-07-07 16:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555808512001,"power":14330,"unknown_164":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":889320219086491648}} 
[2026-07-07 16:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":124540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446346,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:16:48] local.INFO: GPS data processed {"connection_id":124540,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:16:48] local.INFO: Acknowledgment sent {"connection_id":124540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:17:04] local.INFO: TCP Data received {"connection_id":125352,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:17:04] local.INFO: Processing buffer {"connection_id":125352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:17:04] local.INFO: IMEI packet received {"connection_id":125352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":125352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:17:06] local.INFO: TCP Data received {"connection_id":125350,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2ee898012d7c558005e985c8000300f828..."} 
[2026-07-07 16:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2ee898012d7c558005e985c8000300f828..."} 
[2026-07-07 16:17:06] local.INFO: Processing buffer {"connection_id":125350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2ee898012d7c558005e985c8000300f828..."} 
[2026-07-07 16:17:06] local.INFO: Packet analysis {"connection_id":125350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2e"} 
[2026-07-07 16:17:06] local.INFO: Extracted packet for processing {"connection_id":125350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2e"} 
[2026-07-07 16:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763123072,"raw_latitude":99190216,"longitude_deg":76.3123072,"latitude_deg":9.9190216,"altitude":3,"angle":248,"satellites":40,"speed":24,"hex_longitude":"2d7c5580","hex_latitude":"05e985c8","is_valid_coordinates":true} 
[2026-07-07 16:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555805696001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103341135094611968,"note":"Value kept but may cause issues"} 
[2026-07-07 16:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968637208325199872,"note":"Value kept but may cause issues"} 
[2026-07-07 16:17:06] 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-07-07 16:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783421135000,"timestamp_ms":1783421135000,"timestamp_seconds":1783421135,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2ee898"} 
[2026-07-07 16:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-07 16:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555805696001,"66":13276,"192":206,"87":13824,"24":24,"16":103341135094611968,"45":8968637208325199872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-07 16:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555805696001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:17:06] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-07 16:17:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103341135094611968,"km_value":103341135094611.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968637208325199872,"description":"Unknown IO ID 45"} 
[2026-07-07 16:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555805696001,"power":13276,"unknown_192":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8968637208325199872}} 
[2026-07-07 16:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":125350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:17:06] local.INFO: GPS data processed {"connection_id":125350,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:17:06] local.INFO: Acknowledgment sent {"connection_id":125350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:17:06] local.INFO: TCP Data received {"connection_id":125351,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:17:06] local.INFO: Processing buffer {"connection_id":125351,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:17:06] local.INFO: IMEI packet received {"connection_id":125351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 16:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":125351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:17:08] local.INFO: TCP Data received {"connection_id":125352,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:17:08] local.INFO: Processing buffer {"connection_id":125352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:17:08] local.INFO: IMEI packet received {"connection_id":125352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":125352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:17:09] local.INFO: TCP Data received {"connection_id":125352,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2ae928012dbf9f400541a2a0003000492e..."} 
[2026-07-07 16:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2ae928012dbf9f400541a2a0003000492e..."} 
[2026-07-07 16:17:09] local.INFO: Processing buffer {"connection_id":125352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2ae928012dbf9f400541a2a0003000492e..."} 
[2026-07-07 16:17:09] local.INFO: Packet analysis {"connection_id":125352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2a"} 
[2026-07-07 16:17:09] local.INFO: Extracted packet for processing {"connection_id":125352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2a"} 
[2026-07-07 16:17:09] local.INFO: GPS Element Parsed {"raw_longitude":767532864,"raw_latitude":88187552,"longitude_deg":76.7532864,"latitude_deg":8.8187552,"altitude":48,"angle":73,"satellites":46,"speed":0,"hex_longitude":"2dbf9f40","hex_latitude":"0541a2a0","is_valid_coordinates":true} 
[2026-07-07 16:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555738112001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625031618461696,"note":"Value kept but may cause issues"} 
[2026-07-07 16:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4639200174824886272,"note":"Value kept but may cause issues"} 
[2026-07-07 16:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783420873000,"timestamp_ms":1783420873000,"timestamp_seconds":1783420873,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2ae928"} 
[2026-07-07 16:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 16:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555738112001,"66":27800,"97":206,"84":5376,"24":0,"16":341625031618461696,"45":-4639200174824886272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555738112001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:17:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:17:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625031618461696,"km_value":341625031618461.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4639200174824886272,"description":"Unknown IO ID 45"} 
[2026-07-07 16:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555738112001,"power":27800,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4639200174824886272}} 
[2026-07-07 16:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":125352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:17:09] local.INFO: GPS data processed {"connection_id":125352,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:17:09] local.INFO: Acknowledgment sent {"connection_id":125352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:17:10] local.INFO: TCP Data received {"connection_id":125353,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:17:10] local.INFO: Processing buffer {"connection_id":125353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:17:10] local.INFO: IMEI packet received {"connection_id":125353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":125353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:17:11] local.INFO: TCP Data received {"connection_id":125353,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:17:11] local.INFO: Processing buffer {"connection_id":125353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:17:11] local.INFO: IMEI packet received {"connection_id":125353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":125353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:17:16] local.INFO: TCP Data received {"connection_id":125353,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:17:16] local.INFO: Processing buffer {"connection_id":125353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:17:16] local.INFO: IMEI packet received {"connection_id":125353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":125353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:17:17] local.INFO: TCP Data received {"connection_id":125353,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c303c70012d0cb7000705cd800017009518..."} 
[2026-07-07 16:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c303c70012d0cb7000705cd800017009518..."} 
[2026-07-07 16:17:17] local.INFO: Processing buffer {"connection_id":125353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c303c70012d0cb7000705cd800017009518..."} 
[2026-07-07 16:17:17] local.INFO: Packet analysis {"connection_id":125353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c30"} 
[2026-07-07 16:17:17] local.INFO: Extracted packet for processing {"connection_id":125353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c30"} 
[2026-07-07 16:17:17] local.INFO: GPS Element Parsed {"raw_longitude":755808000,"raw_latitude":117820800,"longitude_deg":75.5808,"latitude_deg":11.78208,"altitude":23,"angle":149,"satellites":24,"speed":14,"hex_longitude":"2d0cb700","hex_latitude":"0705cd80","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555830528001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23425194014015488,"note":"Value kept but may cause issues"} 
[2026-07-07 16:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912471535914645504,"note":"Value kept but may cause issues"} 
[2026-07-07 16:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783421222000,"timestamp_ms":1783421222000,"timestamp_seconds":1783421222,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c303c70"} 
[2026-07-07 16:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 16:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":125353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":125353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":125353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555830528001,"66":14374,"220":206,"94":10240,"24":14,"16":23425194014015488,"45":912471535914645504},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-07 16:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555830528001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:17:17] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-07 16:17:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23425194014015488,"km_value":23425194014015.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":912471535914645504,"description":"Unknown IO ID 45"} 
[2026-07-07 16:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555830528001,"power":14374,"unknown_220":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":912471535914645504}} 
[2026-07-07 16:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":125353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446349,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:17:17] local.INFO: GPS data processed {"connection_id":125353,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:17:17] local.INFO: Acknowledgment sent {"connection_id":125353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:17:26] local.INFO: TCP Data received {"connection_id":126604,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:17:26] local.INFO: Processing buffer {"connection_id":126604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:17:26] local.INFO: IMEI packet received {"connection_id":126604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":126604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:17:28] local.INFO: TCP Data received {"connection_id":126604,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:17:28] local.INFO: Processing buffer {"connection_id":126604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:17:28] local.INFO: IMEI packet received {"connection_id":126604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":126604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:17:31] local.INFO: TCP Data received {"connection_id":126604,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:17:31] local.INFO: Processing buffer {"connection_id":126604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:17:31] local.INFO: IMEI packet received {"connection_id":126604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":126604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:17:32] local.INFO: TCP Data received {"connection_id":124635,"ip":"117.224.52.157","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:17:32] local.INFO: Processing buffer {"connection_id":124635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:17:32] local.INFO: IMEI packet received {"connection_id":124635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":124635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:17:32] local.INFO: TCP Data received {"connection_id":126604,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2f36b8012d7c338005e97860000400fa28..."} 
[2026-07-07 16:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2f36b8012d7c338005e97860000400fa28..."} 
[2026-07-07 16:17:32] local.INFO: Processing buffer {"connection_id":126604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2f36b8012d7c338005e97860000400fa28..."} 
[2026-07-07 16:17:32] local.INFO: Packet analysis {"connection_id":126604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2f"} 
[2026-07-07 16:17:32] local.INFO: Extracted packet for processing {"connection_id":126604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2f"} 
[2026-07-07 16:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763114368,"raw_latitude":99186784,"longitude_deg":76.3114368,"latitude_deg":9.9186784,"altitude":4,"angle":250,"satellites":40,"speed":14,"hex_longitude":"2d7c3380","hex_latitude":"05e97860","is_valid_coordinates":true} 
[2026-07-07 16:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555810560001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103341586066178048,"note":"Value kept but may cause issues"} 
[2026-07-07 16:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959207796604520448,"note":"Value kept but may cause issues"} 
[2026-07-07 16:17:32] 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-07-07 16:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783421155000,"timestamp_ms":1783421155000,"timestamp_seconds":1783421155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2f36b8"} 
[2026-07-07 16:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 16:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555810560001,"66":13276,"192":206,"87":13824,"24":14,"16":103341586066178048,"45":8959207796604520448},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-07 16:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555810560001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:17:32] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-07 16:17:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103341586066178048,"km_value":103341586066178.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959207796604520448,"description":"Unknown IO ID 45"} 
[2026-07-07 16:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555810560001,"power":13276,"unknown_192":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8959207796604520448}} 
[2026-07-07 16:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":126604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:17:33] local.INFO: GPS data processed {"connection_id":126604,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:17:33] local.INFO: Acknowledgment sent {"connection_id":126604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:17:37] local.INFO: TCP Data received {"connection_id":124635,"ip":"117.224.52.157","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:17:37] local.INFO: Processing buffer {"connection_id":124635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:17:37] local.INFO: IMEI packet received {"connection_id":124635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":124635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:17:40] local.INFO: TCP Data received {"connection_id":124635,"ip":"117.224.52.157","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-07 16:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124635,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-07 16:17:40] local.INFO: Processing buffer {"connection_id":124635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-07 16:17:40] local.INFO: Packet analysis {"connection_id":124635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-07 16:17:40] local.INFO: Extracted packet for processing {"connection_id":124635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-07 16:17:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 16:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-07 16:17:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 16:17:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:17:40] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 16:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124635,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 16:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 16:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.52.157","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 16:17:40] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 16:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":124635,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 16:17:40] local.ERROR: GPS data processing failed {"connection_id":124635,"error":"No valid data to process"} 
[2026-07-07 16:17:40] local.INFO: Acknowledgment sent {"connection_id":124635,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 16:17:40] local.INFO: TCP Data received {"connection_id":125352,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2b3b30012dbfa0400541a1a8003000492e..."} 
[2026-07-07 16:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2b3b30012dbfa0400541a1a8003000492e..."} 
[2026-07-07 16:17:40] local.INFO: Processing buffer {"connection_id":125352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2b3b30012dbfa0400541a1a8003000492e..."} 
[2026-07-07 16:17:40] local.INFO: Packet analysis {"connection_id":125352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2b"} 
[2026-07-07 16:17:40] local.INFO: Extracted packet for processing {"connection_id":125352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2b"} 
[2026-07-07 16:17:40] local.INFO: GPS Element Parsed {"raw_longitude":767533120,"raw_latitude":88187304,"longitude_deg":76.753312,"latitude_deg":8.8187304,"altitude":48,"angle":73,"satellites":46,"speed":0,"hex_longitude":"2dbfa040","hex_latitude":"0541a1a8","is_valid_coordinates":true} 
[2026-07-07 16:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555743488001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625048798330880,"note":"Value kept but may cause issues"} 
[2026-07-07 16:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638918699848130560,"note":"Value kept but may cause issues"} 
[2026-07-07 16:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783420894000,"timestamp_ms":1783420894000,"timestamp_seconds":1783420894,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2b3b30"} 
[2026-07-07 16:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 16:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555743488001,"66":27908,"97":206,"84":5376,"24":0,"16":341625048798330880,"45":-4638918699848130560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555743488001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:17:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:17:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625048798330880,"km_value":341625048798330.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638918699848130560,"description":"Unknown IO ID 45"} 
[2026-07-07 16:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555743488001,"power":27908,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638918699848130560}} 
[2026-07-07 16:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":125352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:17:40] local.INFO: GPS data processed {"connection_id":125352,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:17:40] local.INFO: Acknowledgment sent {"connection_id":125352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:17:58] local.INFO: TCP Data received {"connection_id":124542,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:17:58] local.INFO: Processing buffer {"connection_id":124542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:17:58] local.INFO: IMEI packet received {"connection_id":124542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":124542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:18:03] local.INFO: TCP Data received {"connection_id":126604,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2f7538012d7c120005e96b70000d00f929..."} 
[2026-07-07 16:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2f7538012d7c120005e96b70000d00f929..."} 
[2026-07-07 16:18:03] local.INFO: Processing buffer {"connection_id":126604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2f7538012d7c120005e96b70000d00f929..."} 
[2026-07-07 16:18:03] local.INFO: Packet analysis {"connection_id":126604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2f"} 
[2026-07-07 16:18:03] local.INFO: Extracted packet for processing {"connection_id":126604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2f"} 
[2026-07-07 16:18:03] local.INFO: GPS Element Parsed {"raw_longitude":763105792,"raw_latitude":99183472,"longitude_deg":76.3105792,"latitude_deg":9.9183472,"altitude":13,"angle":249,"satellites":41,"speed":27,"hex_longitude":"2d7c1200","hex_latitude":"05e96b70","is_valid_coordinates":true} 
[2026-07-07 16:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555815680001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103342028447809536,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949637647395479552,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783421171000,"timestamp_ms":1783421171000,"timestamp_seconds":1783421171,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2f7538"} 
[2026-07-07 16:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 16:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555815680001,"66":13243,"118":206,"87":13824,"24":27,"16":103342028447809536,"45":8949637647395479552},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-07-07 16:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555815680001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:18:03] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-07 16:18:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103342028447809536,"km_value":103342028447809.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949637647395479552,"description":"Unknown IO ID 45"} 
[2026-07-07 16:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555815680001,"power":13243,"unknown_118":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8949637647395479552}} 
[2026-07-07 16:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":126604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:18:04] local.INFO: GPS data processed {"connection_id":126604,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:18:04] local.INFO: Acknowledgment sent {"connection_id":126604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:18:04] local.INFO: TCP Data received {"connection_id":124542,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:18:04] local.INFO: Processing buffer {"connection_id":124542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:18:04] local.INFO: IMEI packet received {"connection_id":124542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":124542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:18:04] local.INFO: TCP Data received {"connection_id":124542,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2b8d38012dbfa0400541a1a8003000492d..."} 
[2026-07-07 16:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2b8d38012dbfa0400541a1a8003000492d..."} 
[2026-07-07 16:18:04] local.INFO: Processing buffer {"connection_id":124542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2b8d38012dbfa0400541a1a8003000492d..."} 
[2026-07-07 16:18:04] local.INFO: Packet analysis {"connection_id":124542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2b"} 
[2026-07-07 16:18:04] local.INFO: Extracted packet for processing {"connection_id":124542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2b"} 
[2026-07-07 16:18:04] local.INFO: GPS Element Parsed {"raw_longitude":767533120,"raw_latitude":88187304,"longitude_deg":76.753312,"latitude_deg":8.8187304,"altitude":48,"angle":73,"satellites":45,"speed":0,"hex_longitude":"2dbfa040","hex_latitude":"0541a1a8","is_valid_coordinates":true} 
[2026-07-07 16:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555748864001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625048798330880,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638637224871483392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783420915000,"timestamp_ms":1783420915000,"timestamp_seconds":1783420915,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2b8d38"} 
[2026-07-07 16:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 16:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555748864001,"66":28093,"97":206,"84":5376,"24":0,"16":341625048798330880,"45":-4638637224871483392},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555748864001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:18:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:18:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625048798330880,"km_value":341625048798330.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638637224871483392,"description":"Unknown IO ID 45"} 
[2026-07-07 16:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555748864001,"power":28093,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638637224871483392}} 
[2026-07-07 16:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":124542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:18:04] local.INFO: GPS data processed {"connection_id":124542,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:18:04] local.INFO: Acknowledgment sent {"connection_id":124542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:18:09] local.INFO: TCP Data received {"connection_id":125353,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c304828012d0cb9800705c850001700a518..."} 
[2026-07-07 16:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c304828012d0cb9800705c850001700a518..."} 
[2026-07-07 16:18:09] local.INFO: Processing buffer {"connection_id":125353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c304828012d0cb9800705c850001700a518..."} 
[2026-07-07 16:18:09] local.INFO: Packet analysis {"connection_id":125353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c30"} 
[2026-07-07 16:18:09] local.INFO: Extracted packet for processing {"connection_id":125353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c30"} 
[2026-07-07 16:18:09] local.INFO: GPS Element Parsed {"raw_longitude":755808640,"raw_latitude":117819472,"longitude_deg":75.580864,"latitude_deg":11.7819472,"altitude":23,"angle":165,"satellites":24,"speed":21,"hex_longitude":"2d0cb980","hex_latitude":"0705c850","is_valid_coordinates":true} 
[2026-07-07 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-07-07 16:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555832832001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23425267028459520,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916201079355310080,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783421225000,"timestamp_ms":1783421225000,"timestamp_seconds":1783421225,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c304828"} 
[2026-07-07 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-07-07 16:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 16:18: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-07-07 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-07-07 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-07-07 16:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555832832001,"66":14298,"220":206,"94":10240,"24":21,"16":23425267028459520,"45":916201079355310080},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-07 16:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555832832001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:18:09] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-07 16:18:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23425267028459520,"km_value":23425267028459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":916201079355310080,"description":"Unknown IO ID 45"} 
[2026-07-07 16:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555832832001,"power":14298,"unknown_220":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":916201079355310080}} 
[2026-07-07 16:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":125353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446354,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:18:09] local.INFO: GPS data processed {"connection_id":125353,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:18:09] local.INFO: Acknowledgment sent {"connection_id":125353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:18:10] local.INFO: TCP Data received {"connection_id":126605,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126605,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:18:10] local.INFO: Processing buffer {"connection_id":126605,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:18:10] local.INFO: IMEI packet received {"connection_id":126605,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":126605,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:18:11] local.INFO: TCP Data received {"connection_id":124635,"ip":"117.224.52.157","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-07 16:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-07 16:18:11] local.INFO: Processing buffer {"connection_id":124635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-07 16:18:11] local.INFO: Packet analysis {"connection_id":124635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 16:18:11] local.INFO: Extracted packet for processing {"connection_id":124635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 16:18:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 16:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 16:18:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:18:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 16:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124635,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 16:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 16:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.52.157","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 16:18:11] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 16:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":124635,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 16:18:11] local.ERROR: GPS data processing failed {"connection_id":124635,"error":"No valid data to process"} 
[2026-07-07 16:18:11] local.INFO: Acknowledgment sent {"connection_id":124635,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 16:18:20] local.INFO: TCP Data received {"connection_id":126605,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126605,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:18:20] local.INFO: Processing buffer {"connection_id":126605,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:18:20] local.INFO: IMEI packet received {"connection_id":126605,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":126605,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:18:21] local.INFO: TCP Data received {"connection_id":126605,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c30f408012d0cf2000705d6100010003f18..."} 
[2026-07-07 16:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c30f408012d0cf2000705d6100010003f18..."} 
[2026-07-07 16:18:21] local.INFO: Processing buffer {"connection_id":126605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c30f408012d0cf2000705d6100010003f18..."} 
[2026-07-07 16:18:21] local.INFO: Packet analysis {"connection_id":126605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c30"} 
[2026-07-07 16:18:21] local.INFO: Extracted packet for processing {"connection_id":126605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c30"} 
[2026-07-07 16:18:21] local.INFO: GPS Element Parsed {"raw_longitude":755823104,"raw_latitude":117822992,"longitude_deg":75.5823104,"latitude_deg":11.7822992,"altitude":16,"angle":63,"satellites":24,"speed":22,"hex_longitude":"2d0cf200","hex_latitude":"0705d610","is_valid_coordinates":true} 
[2026-07-07 16:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555844608001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23426366540087296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":932174784284143616,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783421269000,"timestamp_ms":1783421269000,"timestamp_seconds":1783421269,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c30f408"} 
[2026-07-07 16:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 16:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555844608001,"66":13820,"220":206,"94":10240,"24":22,"16":23426366540087296,"45":932174784284143616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-07 16:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555844608001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:18:21] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-07 16:18:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23426366540087296,"km_value":23426366540087.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":932174784284143616,"description":"Unknown IO ID 45"} 
[2026-07-07 16:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555844608001,"power":13820,"unknown_220":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":932174784284143616}} 
[2026-07-07 16:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":126605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446355,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:18:21] local.INFO: GPS data processed {"connection_id":126605,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:18:21] local.INFO: Acknowledgment sent {"connection_id":126605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:18:30] local.INFO: TCP Data received {"connection_id":125354,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:18:30] local.INFO: Processing buffer {"connection_id":125354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:18:30] local.INFO: IMEI packet received {"connection_id":125354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":125354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:18:31] local.INFO: TCP Data received {"connection_id":125354,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:18:31] local.INFO: Processing buffer {"connection_id":125354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:18:31] local.INFO: IMEI packet received {"connection_id":125354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":125354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:18:33] local.INFO: TCP Data received {"connection_id":125354,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c311f00012d7b81c005e93bd0000200f128..."} 
[2026-07-07 16:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c311f00012d7b81c005e93bd0000200f128..."} 
[2026-07-07 16:18:33] local.INFO: Processing buffer {"connection_id":125354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c311f00012d7b81c005e93bd0000200f128..."} 
[2026-07-07 16:18:33] local.INFO: Packet analysis {"connection_id":125354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c31"} 
[2026-07-07 16:18:33] local.INFO: Extracted packet for processing {"connection_id":125354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c31"} 
[2026-07-07 16:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763068864,"raw_latitude":99171280,"longitude_deg":76.3068864,"latitude_deg":9.917128,"altitude":2,"angle":241,"satellites":40,"speed":6,"hex_longitude":"2d7b81c0","hex_latitude":"05e93bd0","is_valid_coordinates":true} 
[2026-07-07 16:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555846144001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103343913938452480,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482560057344,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783421280000,"timestamp_ms":1783421280000,"timestamp_seconds":1783421280,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c311f00"} 
[2026-07-07 16:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":3,"data_length":795,"current_offset":136} 
[2026-07-07 16:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099869015,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:33] local.WARNING: Large IO value detected {"io_id":156,"raw_value":58079734643818518,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3914670080,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469841614,"corrected_to":0} 
[2026-07-07 16:18:33] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,156,87,24,241,157,16,38,159,236,45,192,65,3,40,10,66,158,74,5,95,1,240,41,227,60,233,4,113,205,7,190,8,239,51,2,111,6,22],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1469841614,"validated":0}]} 
[2026-07-07 16:18:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216463229278158848,"timestamp_seconds":216463229278158.84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555846144001,"66":13059,"156":206,"87":13824,"24":6,"16":103343913938452480,"45":8902279482560057344},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 16:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555846144001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:18:33] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 16:18:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103343913938452480,"km_value":103343913938452.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482560057344,"description":"Unknown IO ID 45"} 
[2026-07-07 16:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555846144001,"power":13059,"unknown_156":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8902279482560057344}} 
[2026-07-07 16:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":125354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:18:33] local.INFO: GPS data processed {"connection_id":125354,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:18:33] local.INFO: Acknowledgment sent {"connection_id":125354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:18:34] local.INFO: TCP Data received {"connection_id":125354,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3149f8012d7b808005e93ba00004010428..."} 
[2026-07-07 16:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3149f8012d7b808005e93ba00004010428..."} 
[2026-07-07 16:18:34] local.INFO: Processing buffer {"connection_id":125354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3149f8012d7b808005e93ba00004010428..."} 
[2026-07-07 16:18:34] local.INFO: Packet analysis {"connection_id":125354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c31"} 
[2026-07-07 16:18:34] local.INFO: Extracted packet for processing {"connection_id":125354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c31"} 
[2026-07-07 16:18:34] local.INFO: GPS Element Parsed {"raw_longitude":763068544,"raw_latitude":99171232,"longitude_deg":76.3068544,"latitude_deg":9.9171232,"altitude":4,"angle":260,"satellites":40,"speed":5,"hex_longitude":"2d7b8080","hex_latitude":"05e93ba0","is_valid_coordinates":true} 
[2026-07-07 16:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555847680001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103343935413288960,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899605470281191424,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783421291000,"timestamp_ms":1783421291000,"timestamp_seconds":1783421291,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3149f8"} 
[2026-07-07 16:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 16:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165009349975,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:34] local.WARNING: Large IO value detected {"io_id":156,"raw_value":58079734643818499,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469841614,"corrected_to":0} 
[2026-07-07 16:18:34] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2147871054,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:34] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941335,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:34] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,156,87,24,241,157,16,38,159,7,45,64,61,3,41,10,66,236,192,65,40,158,1,240,254,227,60,233,4,113,205,6,72,188,239,51,2,111,5],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1469841614,"validated":0}]} 
[2026-07-07 16:18:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144380342177234944,"timestamp_seconds":144380342177234.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:18: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-07-07 16:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555847680001,"66":13341,"156":206,"87":13824,"24":5,"16":103343935413288960,"45":8899605470281191424},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 16:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555847680001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:18:34] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 16:18:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103343935413288960,"km_value":103343935413288.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899605470281191424,"description":"Unknown IO ID 45"} 
[2026-07-07 16:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555847680001,"power":13341,"unknown_156":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8899605470281191424}} 
[2026-07-07 16:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":125354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:18:34] local.INFO: GPS data processed {"connection_id":125354,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:18:34] local.INFO: Acknowledgment sent {"connection_id":125354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:18:36] local.INFO: TCP Data received {"connection_id":124542,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2bdf40012dbfa2400541a118003200492e..."} 
[2026-07-07 16:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2bdf40012dbfa2400541a118003200492e..."} 
[2026-07-07 16:18:36] local.INFO: Processing buffer {"connection_id":124542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2bdf40012dbfa2400541a118003200492e..."} 
[2026-07-07 16:18:36] local.INFO: Packet analysis {"connection_id":124542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2b"} 
[2026-07-07 16:18:36] local.INFO: Extracted packet for processing {"connection_id":124542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2b"} 
[2026-07-07 16:18:36] local.INFO: GPS Element Parsed {"raw_longitude":767533632,"raw_latitude":88187160,"longitude_deg":76.7533632,"latitude_deg":8.818716,"altitude":50,"angle":73,"satellites":46,"speed":0,"hex_longitude":"2dbfa240","hex_latitude":"0541a118","is_valid_coordinates":true} 
[2026-07-07 16:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555754240001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625074568134656,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638637224871483392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783420936000,"timestamp_ms":1783420936000,"timestamp_seconds":1783420936,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2bdf40"} 
[2026-07-07 16:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-07 16:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555754240001,"66":27919,"97":206,"84":5376,"24":0,"16":341625074568134656,"45":-4638637224871483392},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555754240001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:18:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:18:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625074568134656,"km_value":341625074568134.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638637224871483392,"description":"Unknown IO ID 45"} 
[2026-07-07 16:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555754240001,"power":27919,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638637224871483392}} 
[2026-07-07 16:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":124542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:18:36] local.INFO: GPS data processed {"connection_id":124542,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:18:36] local.INFO: Acknowledgment sent {"connection_id":124542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:18:43] local.INFO: TCP Data received {"connection_id":124635,"ip":"117.224.52.157","data_length":795,"data_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-07-07 16:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-07-07 16:18:43] local.INFO: Processing buffer {"connection_id":124635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-07-07 16:18:43] local.INFO: Packet analysis {"connection_id":124635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 16:18:43] local.INFO: Extracted packet for processing {"connection_id":124635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 16:18:43] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 16:18:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":90000,"timestamp_seconds":90,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:18:43] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 16:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124635,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 16:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 16:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.52.157","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 16:18:43] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 16:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":124635,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 16:18:43] local.ERROR: GPS data processing failed {"connection_id":124635,"error":"No valid data to process"} 
[2026-07-07 16:18:43] local.INFO: Acknowledgment sent {"connection_id":124635,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 16:18:54] local.INFO: TCP Data received {"connection_id":126605,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c30f7f0012d0cf4c00705d6480011004d18..."} 
[2026-07-07 16:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c30f7f0012d0cf4c00705d6480011004d18..."} 
[2026-07-07 16:18:54] local.INFO: Processing buffer {"connection_id":126605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c30f7f0012d0cf4c00705d6480011004d18..."} 
[2026-07-07 16:18:54] local.INFO: Packet analysis {"connection_id":126605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c30"} 
[2026-07-07 16:18:54] local.INFO: Extracted packet for processing {"connection_id":126605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c30"} 
[2026-07-07 16:18:54] local.INFO: GPS Element Parsed {"raw_longitude":755823808,"raw_latitude":117823048,"longitude_deg":75.5823808,"latitude_deg":11.7823048,"altitude":17,"angle":77,"satellites":24,"speed":25,"hex_longitude":"2d0cf4c0","hex_latitude":"0705d648","is_valid_coordinates":true} 
[2026-07-07 16:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555844864001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23426396604858368,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":932808102981799936,"note":"Value kept but may cause issues"} 
[2026-07-07 16:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783421270000,"timestamp_ms":1783421270000,"timestamp_seconds":1783421270,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c30f7f0"} 
[2026-07-07 16:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-07 16:18:54] 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-07-07 16:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":126605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":126605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":126605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555844864001,"66":13820,"220":206,"94":10240,"24":25,"16":23426396604858368,"45":932808102981799936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-07 16:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555844864001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:18:54] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-07 16:18:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23426396604858368,"km_value":23426396604858.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":932808102981799936,"description":"Unknown IO ID 45"} 
[2026-07-07 16:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555844864001,"power":13820,"unknown_220":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":932808102981799936}} 
[2026-07-07 16:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":126605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446359,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:18:54] local.INFO: GPS data processed {"connection_id":126605,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:18:54] local.INFO: Acknowledgment sent {"connection_id":126605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:19:04] local.INFO: TCP Data received {"connection_id":124543,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:19:04] local.INFO: Processing buffer {"connection_id":124543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:19:04] local.INFO: IMEI packet received {"connection_id":124543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":124543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:19:04] local.INFO: TCP Data received {"connection_id":124543,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:19:04] local.INFO: Processing buffer {"connection_id":124543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:19:04] local.INFO: IMEI packet received {"connection_id":124543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":124543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:19:05] local.INFO: TCP Data received {"connection_id":124543,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2c3148012dbfa3400541a200003200492d..."} 
[2026-07-07 16:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2c3148012dbfa3400541a200003200492d..."} 
[2026-07-07 16:19:05] local.INFO: Processing buffer {"connection_id":124543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2c3148012dbfa3400541a200003200492d..."} 
[2026-07-07 16:19:05] local.INFO: Packet analysis {"connection_id":124543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2c"} 
[2026-07-07 16:19:05] local.INFO: Extracted packet for processing {"connection_id":124543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2c"} 
[2026-07-07 16:19:05] local.INFO: GPS Element Parsed {"raw_longitude":767533888,"raw_latitude":88187392,"longitude_deg":76.7533888,"latitude_deg":8.8187392,"altitude":50,"angle":73,"satellites":45,"speed":0,"hex_longitude":"2dbfa340","hex_latitude":"0541a200","is_valid_coordinates":true} 
[2026-07-07 16:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555759616001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625104632905728,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638074274918098944,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783420957000,"timestamp_ms":1783420957000,"timestamp_seconds":1783420957,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2c3148"} 
[2026-07-07 16:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 16:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555759616001,"66":27974,"97":206,"84":5376,"24":0,"16":341625104632905728,"45":-4638074274918098944},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555759616001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:19:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:19:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625104632905728,"km_value":341625104632905.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638074274918098944,"description":"Unknown IO ID 45"} 
[2026-07-07 16:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555759616001,"power":27974,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638074274918098944}} 
[2026-07-07 16:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":124543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:19:05] local.INFO: GPS data processed {"connection_id":124543,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:19:05] local.INFO: Acknowledgment sent {"connection_id":124543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:19:09] local.INFO: TCP Data received {"connection_id":124543,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2c8738012dbfa3400541a200003200492d..."} 
[2026-07-07 16:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2c8738012dbfa3400541a200003200492d..."} 
[2026-07-07 16:19:09] local.INFO: Processing buffer {"connection_id":124543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2c8738012dbfa3400541a200003200492d..."} 
[2026-07-07 16:19:09] local.INFO: Packet analysis {"connection_id":124543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2c"} 
[2026-07-07 16:19:09] local.INFO: Extracted packet for processing {"connection_id":124543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2c"} 
[2026-07-07 16:19:09] local.INFO: GPS Element Parsed {"raw_longitude":767533888,"raw_latitude":88187392,"longitude_deg":76.7533888,"latitude_deg":8.8187392,"altitude":50,"angle":73,"satellites":45,"speed":0,"hex_longitude":"2dbfa340","hex_latitude":"0541a200","is_valid_coordinates":true} 
[2026-07-07 16:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555764992001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625104632905728,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637792799941328896,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783420979000,"timestamp_ms":1783420979000,"timestamp_seconds":1783420979,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2c8738"} 
[2026-07-07 16:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16: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-07-07 16:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 16:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555764992001,"66":27843,"97":206,"84":5376,"24":0,"16":341625104632905728,"45":-4637792799941328896},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555764992001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:19:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625104632905728,"km_value":341625104632905.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637792799941328896,"description":"Unknown IO ID 45"} 
[2026-07-07 16:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555764992001,"power":27843,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637792799941328896}} 
[2026-07-07 16:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":124543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:19:09] local.INFO: GPS data processed {"connection_id":124543,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:19:09] local.INFO: Acknowledgment sent {"connection_id":124543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:19:09] local.INFO: TCP Data received {"connection_id":125354,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c314de0012d7b7f8005e93b50000400ee28..."} 
[2026-07-07 16:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c314de0012d7b7f8005e93b50000400ee28..."} 
[2026-07-07 16:19:09] local.INFO: Processing buffer {"connection_id":125354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c314de0012d7b7f8005e93b50000400ee28..."} 
[2026-07-07 16:19:09] local.INFO: Packet analysis {"connection_id":125354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c31"} 
[2026-07-07 16:19:09] local.INFO: Extracted packet for processing {"connection_id":125354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c31"} 
[2026-07-07 16:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763068288,"raw_latitude":99171152,"longitude_deg":76.3068288,"latitude_deg":9.9171152,"altitude":4,"angle":238,"satellites":40,"speed":7,"hex_longitude":"2d7b7f80","hex_latitude":"05e93b50","is_valid_coordinates":true} 
[2026-07-07 16:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555850496001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103343948298190848,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899253626560290816,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783421292000,"timestamp_ms":1783421292000,"timestamp_seconds":1783421292,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c314de0"} 
[2026-07-07 16:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-07 16:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555850496001,"66":13341,"156":206,"87":13824,"24":7,"16":103343948298190848,"45":8899253626560290816},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 16:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555850496001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:19:09] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 16:19:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103343948298190848,"km_value":103343948298190.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899253626560290816,"description":"Unknown IO ID 45"} 
[2026-07-07 16:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555850496001,"power":13341,"unknown_156":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8899253626560290816}} 
[2026-07-07 16:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":125354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:19:09] local.INFO: GPS data processed {"connection_id":125354,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:19:09] local.INFO: Acknowledgment sent {"connection_id":125354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:19:10] local.INFO: TCP Data received {"connection_id":124637,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124637,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:19:10] local.INFO: Processing buffer {"connection_id":124637,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:19:10] local.INFO: IMEI packet received {"connection_id":124637,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":124637,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:19:14] local.INFO: TCP Data received {"connection_id":124635,"ip":"117.224.52.157","data_length":795,"data_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-07-07 16:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124635,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-07-07 16:19:14] local.INFO: Processing buffer {"connection_id":124635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-07-07 16:19:14] local.INFO: Packet analysis {"connection_id":124635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 16:19:14] local.INFO: Extracted packet for processing {"connection_id":124635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-07 16:19:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 16:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 16:19:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":111000,"timestamp_seconds":111,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:19:14] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 16:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124635,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 16:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 16:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.52.157","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 16:19:14] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 16:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":124635,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 16:19:14] local.ERROR: GPS data processing failed {"connection_id":124635,"error":"No valid data to process"} 
[2026-07-07 16:19:14] local.INFO: Acknowledgment sent {"connection_id":124635,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 16:19:15] local.INFO: TCP Data received {"connection_id":124637,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124637,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:19:15] local.INFO: Processing buffer {"connection_id":124637,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:19:15] local.INFO: IMEI packet received {"connection_id":124637,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":124637,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:19:18] local.INFO: TCP Data received {"connection_id":124637,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c30ffc0012d0cfa400705d6780011005a18..."} 
[2026-07-07 16:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c30ffc0012d0cfa400705d6780011005a18..."} 
[2026-07-07 16:19:18] local.INFO: Processing buffer {"connection_id":124637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c30ffc0012d0cfa400705d6780011005a18..."} 
[2026-07-07 16:19:18] local.INFO: Packet analysis {"connection_id":124637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c30"} 
[2026-07-07 16:19:18] local.INFO: Extracted packet for processing {"connection_id":124637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c30"} 
[2026-07-07 16:19:18] local.INFO: GPS Element Parsed {"raw_longitude":755825216,"raw_latitude":117823096,"longitude_deg":75.5825216,"latitude_deg":11.7823096,"altitude":17,"angle":90,"satellites":24,"speed":29,"hex_longitude":"2d0cfa40","hex_latitude":"0705d678","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555845120001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23426465324335104,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":933582159167768576,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783421272000,"timestamp_ms":1783421272000,"timestamp_seconds":1783421272,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c30ffc0"} 
[2026-07-07 16:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:19: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-07-07 16:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-07 16:19:18] 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-07-07 16: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-07-07 16:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555845120001,"66":14233,"220":206,"94":10240,"24":29,"16":23426465324335104,"45":933582159167768576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-07 16:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555845120001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:19:18] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-07 16:19:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23426465324335104,"km_value":23426465324335.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":933582159167768576,"description":"Unknown IO ID 45"} 
[2026-07-07 16:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555845120001,"power":14233,"unknown_220":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":933582159167768576}} 
[2026-07-07 16:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":124637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446363,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:19:18] local.INFO: GPS data processed {"connection_id":124637,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:19:18] local.INFO: Acknowledgment sent {"connection_id":124637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:19:26] local.INFO: TCP Data received {"connection_id":126606,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:19:26] local.INFO: Processing buffer {"connection_id":126606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:19:26] local.INFO: IMEI packet received {"connection_id":126606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":126606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:19:31] local.INFO: TCP Data received {"connection_id":126606,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:19:31] local.INFO: Processing buffer {"connection_id":126606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:19:31] local.INFO: IMEI packet received {"connection_id":126606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":126606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:19:32] local.INFO: TCP Data received {"connection_id":126606,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c316550012d7b784005e937c8000300fa28..."} 
[2026-07-07 16:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c316550012d7b784005e937c8000300fa28..."} 
[2026-07-07 16:19:32] local.INFO: Processing buffer {"connection_id":126606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c316550012d7b784005e937c8000300fa28..."} 
[2026-07-07 16:19:32] local.INFO: Packet analysis {"connection_id":126606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c31"} 
[2026-07-07 16:19:32] local.INFO: Extracted packet for processing {"connection_id":126606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c31"} 
[2026-07-07 16:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763066432,"raw_latitude":99170248,"longitude_deg":76.3066432,"latitude_deg":9.9170248,"altitude":3,"angle":250,"satellites":40,"speed":19,"hex_longitude":"2d7b7840","hex_latitude":"05e937c8","is_valid_coordinates":true} 
[2026-07-07 16:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555850752001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103344051377405952,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898972151583559680,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783421298000,"timestamp_ms":1783421298000,"timestamp_seconds":1783421298,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c316550"} 
[2026-07-07 16:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-07 16:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555850752001,"66":13243,"156":206,"87":13824,"24":19,"16":103344051377405952,"45":8898972151583559680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-07 16:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555850752001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:19:32] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 16:19:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103344051377405952,"km_value":103344051377405.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898972151583559680,"description":"Unknown IO ID 45"} 
[2026-07-07 16:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555850752001,"power":13243,"unknown_156":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8898972151583559680}} 
[2026-07-07 16:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":126606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:19:32] local.INFO: GPS data processed {"connection_id":126606,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:19:32] local.INFO: Acknowledgment sent {"connection_id":126606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:19:40] local.INFO: TCP Data received {"connection_id":124543,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2cd940012dbfa4000541a170003400492e..."} 
[2026-07-07 16:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2cd940012dbfa4000541a170003400492e..."} 
[2026-07-07 16:19:40] local.INFO: Processing buffer {"connection_id":124543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2cd940012dbfa4000541a170003400492e..."} 
[2026-07-07 16:19:40] local.INFO: Packet analysis {"connection_id":124543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2c"} 
[2026-07-07 16:19:40] local.INFO: Extracted packet for processing {"connection_id":124543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2c"} 
[2026-07-07 16:19:40] local.INFO: GPS Element Parsed {"raw_longitude":767534080,"raw_latitude":88187248,"longitude_deg":76.753408,"latitude_deg":8.8187248,"altitude":52,"angle":73,"satellites":46,"speed":3,"hex_longitude":"2dbfa400","hex_latitude":"0541a170","is_valid_coordinates":true} 
[2026-07-07 16:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555770624001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625121812774912,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637792799941328896,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783421000000,"timestamp_ms":1783421000000,"timestamp_seconds":1783421000,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2cd940"} 
[2026-07-07 16:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:19: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-07-07 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 16:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555770624001,"66":27919,"97":206,"84":5376,"24":3,"16":341625121812774912,"45":-4637792799941328896},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555770624001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:19:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:19:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625121812774912,"km_value":341625121812774.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637792799941328896,"description":"Unknown IO ID 45"} 
[2026-07-07 16:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555770624001,"power":27919,"unknown_97":206,"unknown_84":5376,"ignition":3,"odometer":null,"unknown_45":-4637792799941328896}} 
[2026-07-07 16:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":124543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:19:40] local.INFO: GPS data processed {"connection_id":124543,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:19:40] local.INFO: Acknowledgment sent {"connection_id":124543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:19:47] local.INFO: TCP Data received {"connection_id":124635,"ip":"117.224.52.157","data_length":795,"data_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-07-07 16:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124635,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-07-07 16:19:47] local.INFO: Processing buffer {"connection_id":124635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-07-07 16:19:47] local.INFO: Packet analysis {"connection_id":124635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-07 16:19:47] local.INFO: Extracted packet for processing {"connection_id":124635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-07 16:19:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 16:19:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":132000,"timestamp_seconds":132,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:19:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 16:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124635,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 16:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 16:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.52.157","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 16:19:47] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 16:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":124635,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 16:19:47] local.ERROR: GPS data processing failed {"connection_id":124635,"error":"No valid data to process"} 
[2026-07-07 16:19:47] local.INFO: Acknowledgment sent {"connection_id":124635,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 16:19:50] local.INFO: TCP Data received {"connection_id":124637,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3243f8012d0d3dc00705bd98001101571a..."} 
[2026-07-07 16:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3243f8012d0d3dc00705bd98001101571a..."} 
[2026-07-07 16:19:50] local.INFO: Processing buffer {"connection_id":124637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3243f8012d0d3dc00705bd98001101571a..."} 
[2026-07-07 16:19:50] local.INFO: Packet analysis {"connection_id":124637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c32"} 
[2026-07-07 16:19:50] local.INFO: Extracted packet for processing {"connection_id":124637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c32"} 
[2026-07-07 16:19:50] local.INFO: GPS Element Parsed {"raw_longitude":755842496,"raw_latitude":117816728,"longitude_deg":75.5842496,"latitude_deg":11.7816728,"altitude":17,"angle":343,"satellites":26,"speed":2,"hex_longitude":"2d0d3dc0","hex_latitude":"0705bd98","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555862784001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23427624965505024,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953848357489477632,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783421355000,"timestamp_ms":1783421355000,"timestamp_seconds":1783421355,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3243f8"} 
[2026-07-07 16:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-07 16:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144832,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:50] local.WARNING: Large IO value detected {"io_id":64,"raw_value":4785590402809856,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:50] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503957099184128,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3350724625,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639689926665639,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:50] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101786276102400,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705443534,"corrected_to":0} 
[2026-07-07 16:19:50] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3758173453,"corrected_to":0} 
[2026-07-07 16:19:50] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84738516118341078,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:50] local.WARNING: Large IO value detected {"io_id":13,"raw_value":4161333777356816401,"note":"Value kept but may cause issues"} 
[2026-07-07 16:19:50] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,167,94,24,241,157,16,59,159,249,45,64,193,18,26,10,66,245,128,194,1,240,38,227,60,5,4,113,205,202,239,56,2,83,7,206,160,13],"length":628,"final_offset":758,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1705443534,"validated":0},{"io_id":202,"original":3758173453,"validated":0}]} 
[2026-07-07 16:19:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1369267021715996672,"timestamp_seconds":1369267021715996.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":124637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":124637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":124637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555862784001,"66":14537,"167":206,"94":11008,"24":2,"16":23427624965505024,"45":953848357489477632},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-07 16:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555862784001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:19:50] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 16:19:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 16:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23427624965505024,"km_value":23427624965505.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":953848357489477632,"description":"Unknown IO ID 45"} 
[2026-07-07 16:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555862784001,"power":14537,"unknown_167":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":953848357489477632}} 
[2026-07-07 16:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":124637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446366,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:19:50] local.INFO: GPS data processed {"connection_id":124637,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:19:50] local.INFO: Acknowledgment sent {"connection_id":124637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:19:59] local.INFO: TCP Data received {"connection_id":126607,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:19:59] local.INFO: Processing buffer {"connection_id":126607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:19:59] local.INFO: IMEI packet received {"connection_id":126607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":126607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:20:03] local.INFO: TCP Data received {"connection_id":126606,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c319430012d7b62c005e930d00004010727..."} 
[2026-07-07 16:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c319430012d7b62c005e930d00004010727..."} 
[2026-07-07 16:20:03] local.INFO: Processing buffer {"connection_id":126606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c319430012d7b62c005e930d00004010727..."} 
[2026-07-07 16:20:03] local.INFO: Packet analysis {"connection_id":126606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c31"} 
[2026-07-07 16:20:03] local.INFO: Extracted packet for processing {"connection_id":126606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c31"} 
[2026-07-07 16:20:03] local.INFO: GPS Element Parsed {"raw_longitude":763060928,"raw_latitude":99168464,"longitude_deg":76.3060928,"latitude_deg":9.9168464,"altitude":4,"angle":263,"satellites":39,"speed":9,"hex_longitude":"2d7b62c0","hex_latitude":"05e930d0","is_valid_coordinates":true} 
[2026-07-07 16:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555852288001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103344326255312896,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896931458002176000,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783421310000,"timestamp_ms":1783421310000,"timestamp_seconds":1783421310,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c319430"} 
[2026-07-07 16:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 16:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555852288001,"66":13276,"201":206,"87":13824,"24":9,"16":103344326255312896,"45":8896931458002176000},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-07 16:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555852288001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:20:03] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 16:20:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103344326255312896,"km_value":103344326255312.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896931458002176000,"description":"Unknown IO ID 45"} 
[2026-07-07 16:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555852288001,"power":13276,"unknown_201":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8896931458002176000}} 
[2026-07-07 16:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":126606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:20:03] local.INFO: GPS data processed {"connection_id":126606,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:20:03] local.INFO: Acknowledgment sent {"connection_id":126606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:20:04] local.INFO: TCP Data received {"connection_id":126607,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:20:04] local.INFO: Processing buffer {"connection_id":126607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:20:04] local.INFO: IMEI packet received {"connection_id":126607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":126607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:20:05] local.INFO: TCP Data received {"connection_id":126607,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c2ce8e0012dbfa4800541a1a0003400492e..."} 
[2026-07-07 16:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c2ce8e0012dbfa4800541a1a0003400492e..."} 
[2026-07-07 16:20:05] local.INFO: Processing buffer {"connection_id":126607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c2ce8e0012dbfa4800541a1a0003400492e..."} 
[2026-07-07 16:20:05] local.INFO: Packet analysis {"connection_id":126607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c2c"} 
[2026-07-07 16:20:05] local.INFO: Extracted packet for processing {"connection_id":126607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c2c"} 
[2026-07-07 16:20:05] local.INFO: GPS Element Parsed {"raw_longitude":767534208,"raw_latitude":88187296,"longitude_deg":76.7534208,"latitude_deg":8.8187296,"altitude":52,"angle":73,"satellites":46,"speed":0,"hex_longitude":"2dbfa480","hex_latitude":"0541a1a0","is_valid_coordinates":true} 
[2026-07-07 16:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555776000001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625126107742208,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637581693708832768,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783421004000,"timestamp_ms":1783421004000,"timestamp_seconds":1783421004,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c2ce8e0"} 
[2026-07-07 16:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 16:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555776000001,"66":27767,"97":206,"84":5376,"24":0,"16":341625126107742208,"45":-4637581693708832768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555776000001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:20:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:20:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625126107742208,"km_value":341625126107742.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637581693708832768,"description":"Unknown IO ID 45"} 
[2026-07-07 16:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555776000001,"power":27767,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637581693708832768}} 
[2026-07-07 16:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":126607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:20:05] local.INFO: GPS data processed {"connection_id":126607,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:20:05] local.INFO: Acknowledgment sent {"connection_id":126607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:20:13] local.INFO: TCP Data received {"connection_id":125355,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:20:13] local.INFO: Processing buffer {"connection_id":125355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:20:13] local.INFO: IMEI packet received {"connection_id":125355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":125355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:20:15] local.INFO: TCP Data received {"connection_id":125355,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:20:15] local.INFO: Processing buffer {"connection_id":125355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:20:15] local.INFO: IMEI packet received {"connection_id":125355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":125355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:20:18] local.INFO: TCP Data received {"connection_id":124635,"ip":"117.224.52.157","data_length":795,"data_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-07-07 16:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124635,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-07-07 16:20:18] local.INFO: Processing buffer {"connection_id":124635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-07-07 16:20:18] local.INFO: Packet analysis {"connection_id":124635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-07 16:20:18] local.INFO: Extracted packet for processing {"connection_id":124635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-07 16:20:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 16:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 16:20:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":153000,"timestamp_seconds":153,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:20:18] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 16:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124635,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 16:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 16:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.52.157","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 16:20:18] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 16:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":124635,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 16:20:18] local.ERROR: GPS data processing failed {"connection_id":124635,"error":"No valid data to process"} 
[2026-07-07 16:20:18] local.INFO: Acknowledgment sent {"connection_id":124635,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 16:20:20] local.INFO: TCP Data received {"connection_id":125355,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:20:20] local.INFO: Processing buffer {"connection_id":125355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:20:20] local.INFO: IMEI packet received {"connection_id":125355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":125355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:20:21] local.INFO: TCP Data received {"connection_id":125355,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c325780012d0d3dc00705beb0001101621b..."} 
[2026-07-07 16:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c325780012d0d3dc00705beb0001101621b..."} 
[2026-07-07 16:20:21] local.INFO: Processing buffer {"connection_id":125355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c325780012d0d3dc00705beb0001101621b..."} 
[2026-07-07 16:20:21] local.INFO: Packet analysis {"connection_id":125355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c32"} 
[2026-07-07 16:20:21] local.INFO: Extracted packet for processing {"connection_id":125355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c32"} 
[2026-07-07 16:20:21] local.INFO: GPS Element Parsed {"raw_longitude":755842496,"raw_latitude":117817008,"longitude_deg":75.5842496,"latitude_deg":11.7817008,"altitude":17,"angle":354,"satellites":27,"speed":2,"hex_longitude":"2d0d3dc0","hex_latitude":"0705beb0","is_valid_coordinates":true} 
[2026-07-07 16:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555866880001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23427637850406912,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954129832466028544,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783421360000,"timestamp_ms":1783421360000,"timestamp_seconds":1783421360,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c325780"} 
[2026-07-07 16:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 16:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":125355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":125355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":125355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555866880001,"66":14309,"167":206,"94":11008,"24":2,"16":23427637850406912,"45":954129832466028544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-07 16:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555866880001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:20:21] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 16:20:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 16:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23427637850406912,"km_value":23427637850406.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":954129832466028544,"description":"Unknown IO ID 45"} 
[2026-07-07 16:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555866880001,"power":14309,"unknown_167":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":954129832466028544}} 
[2026-07-07 16:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":125355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446369,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:20:21] local.INFO: GPS data processed {"connection_id":125355,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:20:21] local.INFO: Acknowledgment sent {"connection_id":125355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:20:26] local.INFO: TCP Data received {"connection_id":125355,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c327aa8012d0d3d800705c008001100051b..."} 
[2026-07-07 16:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c327aa8012d0d3d800705c008001100051b..."} 
[2026-07-07 16:20:26] local.INFO: Processing buffer {"connection_id":125355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c327aa8012d0d3d800705c008001100051b..."} 
[2026-07-07 16:20:26] local.INFO: Packet analysis {"connection_id":125355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c32"} 
[2026-07-07 16:20:26] local.INFO: Extracted packet for processing {"connection_id":125355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c32"} 
[2026-07-07 16:20:26] local.INFO: GPS Element Parsed {"raw_longitude":755842432,"raw_latitude":117817352,"longitude_deg":75.5842432,"latitude_deg":11.7817352,"altitude":17,"angle":5,"satellites":27,"speed":0,"hex_longitude":"2d0d3d80","hex_latitude":"0705c008","is_valid_coordinates":true} 
[2026-07-07 16:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555868160001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23427659325243392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954129832466100224,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783421369000,"timestamp_ms":1783421369000,"timestamp_seconds":1783421369,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c327aa8"} 
[2026-07-07 16:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 16:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555868160001,"66":14548,"167":206,"94":11008,"24":0,"16":23427659325243392,"45":954129832466100224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-07 16:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555868160001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:20:26] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 16:20:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 16:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23427659325243392,"km_value":23427659325243.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":954129832466100224,"description":"Unknown IO ID 45"} 
[2026-07-07 16:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555868160001,"power":14548,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":954129832466100224}} 
[2026-07-07 16:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":125355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446370,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:20:26] local.INFO: GPS data processed {"connection_id":125355,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:20:26] local.INFO: Acknowledgment sent {"connection_id":125355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:20:30] local.INFO: TCP Data received {"connection_id":124639,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:20:30] local.INFO: Processing buffer {"connection_id":124639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:20:30] local.INFO: IMEI packet received {"connection_id":124639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":124639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:20:31] local.INFO: TCP Data received {"connection_id":124639,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:20:31] local.INFO: Processing buffer {"connection_id":124639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:20:31] local.INFO: IMEI packet received {"connection_id":124639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":124639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:20:36] local.INFO: TCP Data received {"connection_id":126607,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c318878012dbfa4800541a180003900492d..."} 
[2026-07-07 16:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c318878012dbfa4800541a180003900492d..."} 
[2026-07-07 16:20:36] local.INFO: Processing buffer {"connection_id":126607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c318878012dbfa4800541a180003900492d..."} 
[2026-07-07 16:20:36] local.INFO: Packet analysis {"connection_id":126607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c31"} 
[2026-07-07 16:20:36] local.INFO: Extracted packet for processing {"connection_id":126607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c31"} 
[2026-07-07 16:20:36] local.INFO: GPS Element Parsed {"raw_longitude":767534208,"raw_latitude":88187264,"longitude_deg":76.7534208,"latitude_deg":8.8187264,"altitude":57,"angle":73,"satellites":45,"speed":0,"hex_longitude":"2dbfa480","hex_latitude":"0541a180","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555777024001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625126107742208,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637440956220465152,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783421307000,"timestamp_ms":1783421307000,"timestamp_seconds":1783421307,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c318878"} 
[2026-07-07 16:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 16:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555777024001,"66":26267,"97":206,"84":5376,"24":0,"16":341625126107742208,"45":-4637440956220465152},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555777024001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:20:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:20:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625126107742208,"km_value":341625126107742.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637440956220465152,"description":"Unknown IO ID 45"} 
[2026-07-07 16:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555777024001,"power":26267,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637440956220465152}} 
[2026-07-07 16:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":126607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:20:36] local.INFO: GPS data processed {"connection_id":126607,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:20:36] local.INFO: Acknowledgment sent {"connection_id":126607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:20:36] local.INFO: TCP Data received {"connection_id":124639,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:20:36] local.INFO: Processing buffer {"connection_id":124639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:20:36] local.INFO: IMEI packet received {"connection_id":124639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":124639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:20:37] local.INFO: TCP Data received {"connection_id":124639,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c32f7a8012d7b5ac005e87110000800b12a..."} 
[2026-07-07 16:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c32f7a8012d7b5ac005e87110000800b12a..."} 
[2026-07-07 16:20:37] local.INFO: Processing buffer {"connection_id":124639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c32f7a8012d7b5ac005e87110000800b12a..."} 
[2026-07-07 16:20:37] local.INFO: Packet analysis {"connection_id":124639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c32"} 
[2026-07-07 16:20:37] local.INFO: Extracted packet for processing {"connection_id":124639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c32"} 
[2026-07-07 16:20:37] local.INFO: GPS Element Parsed {"raw_longitude":763058880,"raw_latitude":99119376,"longitude_deg":76.305888,"latitude_deg":9.9119376,"altitude":8,"angle":177,"satellites":42,"speed":39,"hex_longitude":"2d7b5ac0","hex_latitude":"05e87110","is_valid_coordinates":true} 
[2026-07-07 16:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555876352001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103346997724971008,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888205733713397760,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783421401000,"timestamp_ms":1783421401000,"timestamp_seconds":1783421401,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c32f7a8"} 
[2026-07-07 16:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 16:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:20: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-07-07 16:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555876352001,"66":13200,"201":206,"87":13824,"24":39,"16":103346997724971008,"45":8888205733713397760},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-07 16:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555876352001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:20:37] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 16:20:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103346997724971008,"km_value":103346997724971.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888205733713397760,"description":"Unknown IO ID 45"} 
[2026-07-07 16:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555876352001,"power":13200,"unknown_201":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8888205733713397760}} 
[2026-07-07 16:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":124639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:20:37] local.INFO: GPS data processed {"connection_id":124639,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:20:37] local.INFO: Acknowledgment sent {"connection_id":124639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:20:46] local.INFO: TCP Data received {"connection_id":124639,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c331eb8012d7b5e0005e84c40000700b62a..."} 
[2026-07-07 16:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c331eb8012d7b5e0005e84c40000700b62a..."} 
[2026-07-07 16:20:46] local.INFO: Processing buffer {"connection_id":124639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c331eb8012d7b5e0005e84c40000700b62a..."} 
[2026-07-07 16:20:46] local.INFO: Packet analysis {"connection_id":124639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c33"} 
[2026-07-07 16:20:46] local.INFO: Extracted packet for processing {"connection_id":124639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c33"} 
[2026-07-07 16:20:46] local.INFO: GPS Element Parsed {"raw_longitude":763059712,"raw_latitude":99109952,"longitude_deg":76.3059712,"latitude_deg":9.9109952,"altitude":7,"angle":182,"satellites":42,"speed":34,"hex_longitude":"2d7b5e00","hex_latitude":"05e84c40","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555878656001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103347457286471680,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888627946176188416,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783421411000,"timestamp_ms":1783421411000,"timestamp_seconds":1783421411,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c331eb8"} 
[2026-07-07 16:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:20: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-07-07 16: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-07 16:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555878656001,"66":13135,"201":206,"87":13824,"24":34,"16":103347457286471680,"45":8888627946176188416},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-07 16:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555878656001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:20:46] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 16:20:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103347457286471680,"km_value":103347457286471.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888627946176188416,"description":"Unknown IO ID 45"} 
[2026-07-07 16:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555878656001,"power":13135,"unknown_201":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8888627946176188416}} 
[2026-07-07 16:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":124639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:20:46] local.INFO: GPS data processed {"connection_id":124639,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:20:46] local.INFO: Acknowledgment sent {"connection_id":124639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:20:54] local.INFO: TCP Data received {"connection_id":124635,"ip":"117.224.52.157","data_length":795,"data_hex":"000000000000030f8e0a000000000002a7b00100000000000000000000000000..."} 
[2026-07-07 16:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124635,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000002a7b00100000000000000000000000000..."} 
[2026-07-07 16:20:54] local.INFO: Processing buffer {"connection_id":124635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000002a7b00100000000000000000000000000..."} 
[2026-07-07 16:20:54] local.INFO: Packet analysis {"connection_id":124635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-07 16:20:54] local.INFO: Extracted packet for processing {"connection_id":124635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-07 16:20:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 16:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-07 16:20:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 16:20:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":174000,"timestamp_seconds":174,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:20:54] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 16:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":124635,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":124635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 16:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":124635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 16:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.52.157","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 16:20:54] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 16:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":124635,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 16:20:54] local.ERROR: GPS data processing failed {"connection_id":124635,"error":"No valid data to process"} 
[2026-07-07 16:20:54] local.INFO: Acknowledgment sent {"connection_id":124635,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 16:21:04] local.INFO: TCP Data received {"connection_id":124640,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:21:04] local.INFO: Processing buffer {"connection_id":124640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:21:04] local.INFO: IMEI packet received {"connection_id":124640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":124640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:21:06] local.INFO: TCP Data received {"connection_id":126608,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126608,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:21:06] local.INFO: Processing buffer {"connection_id":126608,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:21:06] local.INFO: IMEI packet received {"connection_id":126608,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":126608,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:21:08] local.INFO: TCP Data received {"connection_id":126608,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126608,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:21:08] local.INFO: Processing buffer {"connection_id":126608,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:21:08] local.INFO: IMEI packet received {"connection_id":126608,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":126608,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:21:09] local.INFO: TCP Data received {"connection_id":124640,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:21:09] local.INFO: Processing buffer {"connection_id":124640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:21:09] local.INFO: IMEI packet received {"connection_id":124640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":124640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:21:09] local.INFO: TCP Data received {"connection_id":126608,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126608,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:21:09] local.INFO: Processing buffer {"connection_id":126608,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:21:09] local.INFO: IMEI packet received {"connection_id":126608,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":126608,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:21:10] local.INFO: TCP Data received {"connection_id":124640,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c318878012dbfa4800541a180003900492d..."} 
[2026-07-07 16:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c318878012dbfa4800541a180003900492d..."} 
[2026-07-07 16:21:10] local.INFO: Processing buffer {"connection_id":124640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c318878012dbfa4800541a180003900492d..."} 
[2026-07-07 16:21:10] local.INFO: Packet analysis {"connection_id":124640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c31"} 
[2026-07-07 16:21:10] local.INFO: Extracted packet for processing {"connection_id":124640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c31"} 
[2026-07-07 16:21:10] local.INFO: GPS Element Parsed {"raw_longitude":767534208,"raw_latitude":88187264,"longitude_deg":76.7534208,"latitude_deg":8.8187264,"altitude":57,"angle":73,"satellites":45,"speed":0,"hex_longitude":"2dbfa480","hex_latitude":"0541a180","is_valid_coordinates":true} 
[2026-07-07 16:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555777024001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625126107742208,"note":"Value kept but may cause issues"} 
[2026-07-07 16:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637440956220465152,"note":"Value kept but may cause issues"} 
[2026-07-07 16:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783421307000,"timestamp_ms":1783421307000,"timestamp_seconds":1783421307,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c318878"} 
[2026-07-07 16:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 16:21: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-07-07 16:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555777024001,"66":26267,"97":206,"84":5376,"24":0,"16":341625126107742208,"45":-4637440956220465152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555777024001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:21:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625126107742208,"km_value":341625126107742.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637440956220465152,"description":"Unknown IO ID 45"} 
[2026-07-07 16:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555777024001,"power":26267,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637440956220465152}} 
[2026-07-07 16:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":124640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:21:10] local.INFO: GPS data processed {"connection_id":124640,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:21:10] local.INFO: Acknowledgment sent {"connection_id":124640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:21:10] local.INFO: TCP Data received {"connection_id":126608,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126608,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:21:10] local.INFO: Processing buffer {"connection_id":126608,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:21:10] local.INFO: IMEI packet received {"connection_id":126608,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":126608,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:21:15] local.INFO: TCP Data received {"connection_id":124640,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c318878012dbfa4800541a180003900492d..."} 
[2026-07-07 16:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c318878012dbfa4800541a180003900492d..."} 
[2026-07-07 16:21:15] local.INFO: Processing buffer {"connection_id":124640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c318878012dbfa4800541a180003900492d..."} 
[2026-07-07 16:21:15] local.INFO: Packet analysis {"connection_id":124640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c31"} 
[2026-07-07 16:21:15] local.INFO: Extracted packet for processing {"connection_id":124640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c31"} 
[2026-07-07 16:21:15] local.INFO: GPS Element Parsed {"raw_longitude":767534208,"raw_latitude":88187264,"longitude_deg":76.7534208,"latitude_deg":8.8187264,"altitude":57,"angle":73,"satellites":45,"speed":0,"hex_longitude":"2dbfa480","hex_latitude":"0541a180","is_valid_coordinates":true} 
[2026-07-07 16:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555777024001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625126107742208,"note":"Value kept but may cause issues"} 
[2026-07-07 16:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637440956220465152,"note":"Value kept but may cause issues"} 
[2026-07-07 16:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783421307000,"timestamp_ms":1783421307000,"timestamp_seconds":1783421307,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c318878"} 
[2026-07-07 16:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 16:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555777024001,"66":26267,"97":206,"84":5376,"24":0,"16":341625126107742208,"45":-4637440956220465152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555777024001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:21:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:21:15] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625126107742208,"km_value":341625126107742.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637440956220465152,"description":"Unknown IO ID 45"} 
[2026-07-07 16:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555777024001,"power":26267,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637440956220465152}} 
[2026-07-07 16:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":124640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:21:15] local.INFO: GPS data processed {"connection_id":124640,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:21:15] local.INFO: Acknowledgment sent {"connection_id":124640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:21:25] local.INFO: TCP Data received {"connection_id":124635,"ip":"117.224.52.157","data_length":795,"data_hex":"000000000000030f8e0a000000000002f9b80100000000000000000000000000..."} 
[2026-07-07 16:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124635,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000002f9b80100000000000000000000000000..."} 
[2026-07-07 16:21:25] local.INFO: Processing buffer {"connection_id":124635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000002f9b80100000000000000000000000000..."} 
[2026-07-07 16:21:25] local.INFO: Packet analysis {"connection_id":124635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-07 16:21:25] local.INFO: Extracted packet for processing {"connection_id":124635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-07 16:21:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 16:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-07 16:21:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 16:21:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":195000,"timestamp_seconds":195,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:21:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 16:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":124635,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":124635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 16:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":124635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 16:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.52.157","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 16:21:25] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 16:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":124635,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 16:21:25] local.ERROR: GPS data processing failed {"connection_id":124635,"error":"No valid data to process"} 
[2026-07-07 16:21:25] local.INFO: Acknowledgment sent {"connection_id":124635,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 16:21:26] local.INFO: TCP Data received {"connection_id":126609,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:21:26] local.INFO: Processing buffer {"connection_id":126609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:21:26] local.INFO: IMEI packet received {"connection_id":126609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":126609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:21:31] local.INFO: TCP Data received {"connection_id":126609,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:21:31] local.INFO: Processing buffer {"connection_id":126609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:21:31] local.INFO: IMEI packet received {"connection_id":126609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":126609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:21:32] local.INFO: TCP Data received {"connection_id":126609,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c334d98012d7b588005e829b8000800b82a..."} 
[2026-07-07 16:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c334d98012d7b588005e829b8000800b82a..."} 
[2026-07-07 16:21:32] local.INFO: Processing buffer {"connection_id":126609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c334d98012d7b588005e829b8000800b82a..."} 
[2026-07-07 16:21:32] local.INFO: Packet analysis {"connection_id":126609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c33"} 
[2026-07-07 16:21:32] local.INFO: Extracted packet for processing {"connection_id":126609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c33"} 
[2026-07-07 16:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":99101112,"longitude_deg":76.3058304,"latitude_deg":9.9101112,"altitude":8,"angle":184,"satellites":42,"speed":22,"hex_longitude":"2d7b5880","hex_latitude":"05e829b8","is_valid_coordinates":true} 
[2026-07-07 16:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555881216001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103347895373135872,"note":"Value kept but may cause issues"} 
[2026-07-07 16:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889542739848085504,"note":"Value kept but may cause issues"} 
[2026-07-07 16:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783421423000,"timestamp_ms":1783421423000,"timestamp_seconds":1783421423,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c334d98"} 
[2026-07-07 16:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 16:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555881216001,"66":12689,"201":206,"87":13824,"24":22,"16":103347895373135872,"45":8889542739848085504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-07 16:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555881216001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:21:32] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 16:21:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103347895373135872,"km_value":103347895373135.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889542739848085504,"description":"Unknown IO ID 45"} 
[2026-07-07 16:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555881216001,"power":12689,"unknown_201":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8889542739848085504}} 
[2026-07-07 16:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":126609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:21:32] local.INFO: GPS data processed {"connection_id":126609,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:21:32] local.INFO: Acknowledgment sent {"connection_id":126609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:21:33] local.INFO: TCP Data received {"connection_id":126609,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c336508012d7b598005e818f8000700ab2a..."} 
[2026-07-07 16:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c336508012d7b598005e818f8000700ab2a..."} 
[2026-07-07 16:21:33] local.INFO: Processing buffer {"connection_id":126609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c336508012d7b598005e818f8000700ab2a..."} 
[2026-07-07 16:21:33] local.INFO: Packet analysis {"connection_id":126609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c33"} 
[2026-07-07 16:21:33] local.INFO: Extracted packet for processing {"connection_id":126609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c33"} 
[2026-07-07 16:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763058560,"raw_latitude":99096824,"longitude_deg":76.305856,"latitude_deg":9.9096824,"altitude":7,"angle":171,"satellites":42,"speed":31,"hex_longitude":"2d7b5980","hex_latitude":"05e818f8","is_valid_coordinates":true} 
[2026-07-07 16:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555884288001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103348101531566080,"note":"Value kept but may cause issues"} 
[2026-07-07 16:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627473913856,"note":"Value kept but may cause issues"} 
[2026-07-07 16:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783421429000,"timestamp_ms":1783421429000,"timestamp_seconds":1783421429,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c336508"} 
[2026-07-07 16:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-07 16:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555884288001,"66":13254,"201":206,"87":13824,"24":31,"16":103348101531566080,"45":8887994627473913856},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-07 16:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555884288001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:21:33] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 16:21:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103348101531566080,"km_value":103348101531566.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627473913856,"description":"Unknown IO ID 45"} 
[2026-07-07 16:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555884288001,"power":13254,"unknown_201":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8887994627473913856}} 
[2026-07-07 16:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":126609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:21:33] local.INFO: GPS data processed {"connection_id":126609,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:21:33] local.INFO: Acknowledgment sent {"connection_id":126609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:22:02] local.INFO: TCP Data received {"connection_id":124641,"ip":"117.224.52.157","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:22:02] local.INFO: Processing buffer {"connection_id":124641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:22:02] local.INFO: IMEI packet received {"connection_id":124641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":124641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:22:03] local.INFO: TCP Data received {"connection_id":124641,"ip":"117.224.52.157","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:22:03] local.INFO: Processing buffer {"connection_id":124641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:22:03] local.INFO: IMEI packet received {"connection_id":124641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":124641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:22:03] local.INFO: TCP Data received {"connection_id":124641,"ip":"117.224.52.157","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:22:03] local.INFO: Processing buffer {"connection_id":124641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:22:03] local.INFO: IMEI packet received {"connection_id":124641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":124641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:22:04] local.INFO: TCP Data received {"connection_id":126609,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c339000012d7b5bc005e7f350000400b729..."} 
[2026-07-07 16:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c339000012d7b5bc005e7f350000400b729..."} 
[2026-07-07 16:22:04] local.INFO: Processing buffer {"connection_id":126609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c339000012d7b5bc005e7f350000400b729..."} 
[2026-07-07 16:22:04] local.INFO: Packet analysis {"connection_id":126609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c33"} 
[2026-07-07 16:22:04] local.INFO: Extracted packet for processing {"connection_id":126609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c33"} 
[2026-07-07 16:22:04] local.INFO: GPS Element Parsed {"raw_longitude":763059136,"raw_latitude":99087184,"longitude_deg":76.3059136,"latitude_deg":9.9087184,"altitude":4,"angle":183,"satellites":41,"speed":34,"hex_longitude":"2d7b5bc0","hex_latitude":"05e7f350","is_valid_coordinates":true} 
[2026-07-07 16:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555885824001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103348573977968640,"note":"Value kept but may cause issues"} 
[2026-07-07 16:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888276102449526784,"note":"Value kept but may cause issues"} 
[2026-07-07 16:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783421440000,"timestamp_ms":1783421440000,"timestamp_seconds":1783421440,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c339000"} 
[2026-07-07 16:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-07 16:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555885824001,"66":13276,"201":206,"87":13824,"24":34,"16":103348573977968640,"45":8888276102449526784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-07 16:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555885824001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:22:04] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 16:22:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103348573977968640,"km_value":103348573977968.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888276102449526784,"description":"Unknown IO ID 45"} 
[2026-07-07 16:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555885824001,"power":13276,"unknown_201":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8888276102449526784}} 
[2026-07-07 16:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":126609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:22:04] local.INFO: GPS data processed {"connection_id":126609,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:22:04] local.INFO: Acknowledgment sent {"connection_id":126609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:22:04] local.INFO: TCP Data received {"connection_id":124641,"ip":"117.224.52.157","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:22:04] local.INFO: Processing buffer {"connection_id":124641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:22:04] local.INFO: IMEI packet received {"connection_id":124641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":124641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:22:09] local.INFO: TCP Data received {"connection_id":124642,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:22:09] local.INFO: Processing buffer {"connection_id":124642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:22:09] local.INFO: IMEI packet received {"connection_id":124642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":124642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:22:13] local.INFO: TCP Data received {"connection_id":124642,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:22:13] local.INFO: Processing buffer {"connection_id":124642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:22:13] local.INFO: IMEI packet received {"connection_id":124642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":124642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:22:26] local.INFO: TCP Data received {"connection_id":124642,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c318878012dbfa4800541a180003900492d..."} 
[2026-07-07 16:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c318878012dbfa4800541a180003900492d..."} 
[2026-07-07 16:22:26] local.INFO: Processing buffer {"connection_id":124642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c318878012dbfa4800541a180003900492d..."} 
[2026-07-07 16:22:26] local.INFO: Packet analysis {"connection_id":124642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c31"} 
[2026-07-07 16:22:26] local.INFO: Extracted packet for processing {"connection_id":124642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c31"} 
[2026-07-07 16:22:26] local.INFO: GPS Element Parsed {"raw_longitude":767534208,"raw_latitude":88187264,"longitude_deg":76.7534208,"latitude_deg":8.8187264,"altitude":57,"angle":73,"satellites":45,"speed":0,"hex_longitude":"2dbfa480","hex_latitude":"0541a180","is_valid_coordinates":true} 
[2026-07-07 16:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555777024001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625126107742208,"note":"Value kept but may cause issues"} 
[2026-07-07 16:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637440956220465152,"note":"Value kept but may cause issues"} 
[2026-07-07 16:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783421307000,"timestamp_ms":1783421307000,"timestamp_seconds":1783421307,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c318878"} 
[2026-07-07 16:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 16:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":124642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":124642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":124642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555777024001,"66":26267,"97":206,"84":5376,"24":0,"16":341625126107742208,"45":-4637440956220465152},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555777024001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:22:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:22:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625126107742208,"km_value":341625126107742.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637440956220465152,"description":"Unknown IO ID 45"} 
[2026-07-07 16:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555777024001,"power":26267,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637440956220465152}} 
[2026-07-07 16:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":124642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:22:26] local.INFO: GPS data processed {"connection_id":124642,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:22:26] local.INFO: Acknowledgment sent {"connection_id":124642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:22:26] local.INFO: TCP Data received {"connection_id":125357,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:22:26] local.INFO: Processing buffer {"connection_id":125357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:22:26] local.INFO: IMEI packet received {"connection_id":125357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":125357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:22:27] local.INFO: TCP Data received {"connection_id":124642,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c347290012dbfa4800541a180003900492c..."} 
[2026-07-07 16:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c347290012dbfa4800541a180003900492c..."} 
[2026-07-07 16:22:27] local.INFO: Processing buffer {"connection_id":124642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c347290012dbfa4800541a180003900492c..."} 
[2026-07-07 16:22:27] local.INFO: Packet analysis {"connection_id":124642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c34"} 
[2026-07-07 16:22:27] local.INFO: Extracted packet for processing {"connection_id":124642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c34"} 
[2026-07-07 16:22:27] local.INFO: GPS Element Parsed {"raw_longitude":767534208,"raw_latitude":88187264,"longitude_deg":76.7534208,"latitude_deg":8.8187264,"altitude":57,"angle":73,"satellites":44,"speed":0,"hex_longitude":"2dbfa480","hex_latitude":"0541a180","is_valid_coordinates":true} 
[2026-07-07 16:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555854592001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625126107742208,"note":"Value kept but may cause issues"} 
[2026-07-07 16:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637440956220473344,"note":"Value kept but may cause issues"} 
[2026-07-07 16:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783421498000,"timestamp_ms":1783421498000,"timestamp_seconds":1783421498,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c347290"} 
[2026-07-07 16:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-07 16:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555854592001,"66":26082,"97":206,"84":5376,"24":0,"16":341625126107742208,"45":-4637440956220473344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555854592001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:22:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:22:27] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625126107742208,"km_value":341625126107742.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637440956220473344,"description":"Unknown IO ID 45"} 
[2026-07-07 16:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555854592001,"power":26082,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637440956220473344}} 
[2026-07-07 16:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":124642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:22:27] local.INFO: GPS data processed {"connection_id":124642,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:22:27] local.INFO: Acknowledgment sent {"connection_id":124642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:22:28] local.INFO: TCP Data received {"connection_id":125357,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:22:28] local.INFO: Processing buffer {"connection_id":125357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:22:28] local.INFO: IMEI packet received {"connection_id":125357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":125357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:22:30] local.INFO: TCP Data received {"connection_id":125357,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c339000012d7b5bc005e7f350000400b729..."} 
[2026-07-07 16:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c339000012d7b5bc005e7f350000400b729..."} 
[2026-07-07 16:22:30] local.INFO: Processing buffer {"connection_id":125357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c339000012d7b5bc005e7f350000400b729..."} 
[2026-07-07 16:22:30] local.INFO: Packet analysis {"connection_id":125357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c33"} 
[2026-07-07 16:22:30] local.INFO: Extracted packet for processing {"connection_id":125357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c33"} 
[2026-07-07 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763059136,"raw_latitude":99087184,"longitude_deg":76.3059136,"latitude_deg":9.9087184,"altitude":4,"angle":183,"satellites":41,"speed":34,"hex_longitude":"2d7b5bc0","hex_latitude":"05e7f350","is_valid_coordinates":true} 
[2026-07-07 16:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555888640001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103348573977968640,"note":"Value kept but may cause issues"} 
[2026-07-07 16:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888909421144657920,"note":"Value kept but may cause issues"} 
[2026-07-07 16:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783421440000,"timestamp_ms":1783421440000,"timestamp_seconds":1783421440,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c339000"} 
[2026-07-07 16:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 16:22: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-07-07 16:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555888640001,"66":13276,"201":206,"87":13824,"24":34,"16":103348573977968640,"45":8888909421144657920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-07 16:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555888640001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:22:30] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 16:22:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103348573977968640,"km_value":103348573977968.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888909421144657920,"description":"Unknown IO ID 45"} 
[2026-07-07 16:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555888640001,"power":13276,"unknown_201":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8888909421144657920}} 
[2026-07-07 16:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":125357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:22:30] local.INFO: GPS data processed {"connection_id":125357,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:22:30] local.INFO: Acknowledgment sent {"connection_id":125357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:22:34] local.INFO: TCP Data received {"connection_id":126610,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:22:34] local.INFO: Processing buffer {"connection_id":126610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:22:34] local.INFO: IMEI packet received {"connection_id":126610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 16:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":126610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:22:58] local.INFO: TCP Data received {"connection_id":124546,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:22:58] local.INFO: Processing buffer {"connection_id":124546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:22:58] local.INFO: IMEI packet received {"connection_id":124546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":124546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:22:59] local.INFO: TCP Data received {"connection_id":124545,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:22:59] local.INFO: Processing buffer {"connection_id":124545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:22:59] local.INFO: IMEI packet received {"connection_id":124545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 16:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":124545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:23:01] local.INFO: TCP Data received {"connection_id":124546,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:23:01] local.INFO: Processing buffer {"connection_id":124546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:23:01] local.INFO: IMEI packet received {"connection_id":124546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":124546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:23:01] local.INFO: TCP Data received {"connection_id":125357,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c33baf8012d7b5b0005e7d3c8000400ab29..."} 
[2026-07-07 16:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c33baf8012d7b5b0005e7d3c8000400ab29..."} 
[2026-07-07 16:23:01] local.INFO: Processing buffer {"connection_id":125357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c33baf8012d7b5b0005e7d3c8000400ab29..."} 
[2026-07-07 16:23:01] local.INFO: Packet analysis {"connection_id":125357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c33"} 
[2026-07-07 16:23:01] local.INFO: Extracted packet for processing {"connection_id":125357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c33"} 
[2026-07-07 16:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763058944,"raw_latitude":99079112,"longitude_deg":76.3058944,"latitude_deg":9.9079112,"altitude":4,"angle":171,"satellites":41,"speed":23,"hex_longitude":"2d7b5b00","hex_latitude":"05e7d3c8","is_valid_coordinates":true} 
[2026-07-07 16:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555888640001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103348964819992576,"note":"Value kept but may cause issues"} 
[2026-07-07 16:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888909421144657920,"note":"Value kept but may cause issues"} 
[2026-07-07 16:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783421451000,"timestamp_ms":1783421451000,"timestamp_seconds":1783421451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c33baf8"} 
[2026-07-07 16:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 16:23: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-07-07 16:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555888640001,"66":13319,"201":206,"87":13824,"24":23,"16":103348964819992576,"45":8888909421144657920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-07 16:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555888640001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:23:01] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-07 16:23:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103348964819992576,"km_value":103348964819992.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888909421144657920,"description":"Unknown IO ID 45"} 
[2026-07-07 16:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555888640001,"power":13319,"unknown_201":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8888909421144657920}} 
[2026-07-07 16:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":125357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:23:01] local.INFO: GPS data processed {"connection_id":125357,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:23:01] local.INFO: Acknowledgment sent {"connection_id":125357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:23:05] local.INFO: TCP Data received {"connection_id":124546,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:23:05] local.INFO: Processing buffer {"connection_id":124546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:23:05] local.INFO: IMEI packet received {"connection_id":124546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":124546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:23:08] local.INFO: TCP Data received {"connection_id":124546,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c34cc68012dbfa0c00541a180003900492d..."} 
[2026-07-07 16:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c34cc68012dbfa0c00541a180003900492d..."} 
[2026-07-07 16:23:08] local.INFO: Processing buffer {"connection_id":124546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c34cc68012dbfa0c00541a180003900492d..."} 
[2026-07-07 16:23:08] local.INFO: Packet analysis {"connection_id":124546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c34"} 
[2026-07-07 16:23:08] local.INFO: Extracted packet for processing {"connection_id":124546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c34"} 
[2026-07-07 16:23:08] local.INFO: GPS Element Parsed {"raw_longitude":767533248,"raw_latitude":88187264,"longitude_deg":76.7533248,"latitude_deg":8.8187264,"altitude":57,"angle":73,"satellites":45,"speed":0,"hex_longitude":"2dbfa0c0","hex_latitude":"0541a180","is_valid_coordinates":true} 
[2026-07-07 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-07-07 16:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555903488001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625126107742208,"note":"Value kept but may cause issues"} 
[2026-07-07 16:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637440956220473344,"note":"Value kept but may cause issues"} 
[2026-07-07 16:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783421521000,"timestamp_ms":1783421521000,"timestamp_seconds":1783421521,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c34cc68"} 
[2026-07-07 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-07-07 16: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-07-07 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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-07 16:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 16:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555903488001,"66":27517,"97":206,"84":5376,"24":0,"16":341625126107742208,"45":-4637440956220473344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555903488001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:23:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625126107742208,"km_value":341625126107742.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637440956220473344,"description":"Unknown IO ID 45"} 
[2026-07-07 16:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555903488001,"power":27517,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637440956220473344}} 
[2026-07-07 16:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":124546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:23:08] local.INFO: GPS data processed {"connection_id":124546,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:23:08] local.INFO: Acknowledgment sent {"connection_id":124546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:23:29] local.INFO: TCP Data received {"connection_id":126612,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:23:29] local.INFO: Processing buffer {"connection_id":126612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:23:29] local.INFO: IMEI packet received {"connection_id":126612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":126612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:23:29] local.INFO: TCP Data received {"connection_id":126612,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:23:29] local.INFO: Processing buffer {"connection_id":126612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:23:29] local.INFO: IMEI packet received {"connection_id":126612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":126612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:23:31] local.INFO: TCP Data received {"connection_id":126612,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:23:31] local.INFO: Processing buffer {"connection_id":126612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:23:31] local.INFO: IMEI packet received {"connection_id":126612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":126612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:23:32] local.INFO: TCP Data received {"connection_id":126612,"ip":"42.106.6.43","data_length":1340,"data_hex":"000000000000030f8e0a0000019f3c35ce38012d7b880005e70858000b00ab29..."} 
[2026-07-07 16:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126612,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019f3c35ce38012d7b880005e70858000b00ab29..."} 
[2026-07-07 16:23:32] local.INFO: Processing buffer {"connection_id":126612,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a0000019f3c35ce38012d7b880005e70858000b00ab29..."} 
[2026-07-07 16:23:32] local.INFO: Packet analysis {"connection_id":126612,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019f3c35"} 
[2026-07-07 16:23:32] local.INFO: Extracted packet for processing {"connection_id":126612,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019f3c35"} 
[2026-07-07 16:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763070464,"raw_latitude":99027032,"longitude_deg":76.3070464,"latitude_deg":9.9027032,"altitude":11,"angle":171,"satellites":41,"speed":24,"hex_longitude":"2d7b8800","hex_latitude":"05e70858","is_valid_coordinates":true} 
[2026-07-07 16:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555925760001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103351593339977728,"note":"Value kept but may cause issues"} 
[2026-07-07 16:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083213872281600,"note":"Value kept but may cause issues"} 
[2026-07-07 16:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783421587000,"timestamp_ms":1783421587000,"timestamp_seconds":1783421587,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c35ce38"} 
[2026-07-07 16:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-07 16:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555925760001,"66":13472,"96":206,"87":13824,"24":24,"16":103351593339977728,"45":8901083213872281600},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 16:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555925760001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:23:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 16:23:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103351593339977728,"km_value":103351593339977.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083213872281600,"description":"Unknown IO ID 45"} 
[2026-07-07 16:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555925760001,"power":13472,"unknown_96":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8901083213872281600}} 
[2026-07-07 16:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":126612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:23:32] local.INFO: GPS data processed {"connection_id":126612,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:23:32] local.INFO: Acknowledgment sent {"connection_id":126612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:23:32] local.INFO: Packet analysis {"connection_id":126612,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019f3c35"} 
[2026-07-07 16:23:32] local.INFO: Incomplete packet, waiting for more data {"connection_id":126612,"needed":795,"available":545} 
[2026-07-07 16:23:33] local.INFO: TCP Data received {"connection_id":126612,"ip":"42.106.6.43","data_length":250,"data_hex":"e30010016f2d1a000000000000019f3c3531f8012d7b74c005e74600000b00b5..."} 
[2026-07-07 16:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126612,"packet_length":250,"packet_hex":"e30010016f2d1a000000000000019f3c3531f8012d7b74c005e74600000b00b5..."} 
[2026-07-07 16:23:33] local.INFO: Processing buffer {"connection_id":126612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c35e5a8012d7b8c8005e6f800000a009d29..."} 
[2026-07-07 16:23:33] local.INFO: Packet analysis {"connection_id":126612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c35"} 
[2026-07-07 16:23:33] local.INFO: Extracted packet for processing {"connection_id":126612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c35"} 
[2026-07-07 16:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763071616,"raw_latitude":99022848,"longitude_deg":76.3071616,"latitude_deg":9.9022848,"altitude":10,"angle":157,"satellites":41,"speed":31,"hex_longitude":"2d7b8c80","hex_latitude":"05e6f800","is_valid_coordinates":true} 
[2026-07-07 16:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555926272001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103351799498407936,"note":"Value kept but may cause issues"} 
[2026-07-07 16:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901364688848705536,"note":"Value kept but may cause issues"} 
[2026-07-07 16:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783421593000,"timestamp_ms":1783421593000,"timestamp_seconds":1783421593,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c35e5a8"} 
[2026-07-07 16:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-07 16:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555926272001,"66":13363,"96":206,"87":13824,"24":31,"16":103351799498407936,"45":8901364688848705536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 16:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555926272001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:23:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 16:23:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103351799498407936,"km_value":103351799498407.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901364688848705536,"description":"Unknown IO ID 45"} 
[2026-07-07 16:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555926272001,"power":13363,"unknown_96":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8901364688848705536}} 
[2026-07-07 16:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":126612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:23:33] local.INFO: GPS data processed {"connection_id":126612,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:23:33] local.INFO: Acknowledgment sent {"connection_id":126612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:23:36] local.INFO: TCP Data received {"connection_id":126612,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c361488012d7b974005e6dc20000700a929..."} 
[2026-07-07 16:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c361488012d7b974005e6dc20000700a929..."} 
[2026-07-07 16:23:36] local.INFO: Processing buffer {"connection_id":126612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c361488012d7b974005e6dc20000700a929..."} 
[2026-07-07 16:23:36] local.INFO: Packet analysis {"connection_id":126612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c36"} 
[2026-07-07 16:23:36] local.INFO: Extracted packet for processing {"connection_id":126612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c36"} 
[2026-07-07 16:23:36] local.INFO: GPS Element Parsed {"raw_longitude":763074368,"raw_latitude":99015712,"longitude_deg":76.3074368,"latitude_deg":9.9015712,"altitude":7,"angle":169,"satellites":41,"speed":28,"hex_longitude":"2d7b9740","hex_latitude":"05e6dc20","is_valid_coordinates":true} 
[2026-07-07 16:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555927808001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103352173160562688,"note":"Value kept but may cause issues"} 
[2026-07-07 16:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902631326242832384,"note":"Value kept but may cause issues"} 
[2026-07-07 16:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783421605000,"timestamp_ms":1783421605000,"timestamp_seconds":1783421605,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c361488"} 
[2026-07-07 16:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 16:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555927808001,"66":13515,"96":206,"87":13824,"24":28,"16":103352173160562688,"45":8902631326242832384},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 16:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555927808001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:23:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 16:23:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103352173160562688,"km_value":103352173160562.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902631326242832384,"description":"Unknown IO ID 45"} 
[2026-07-07 16:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555927808001,"power":13515,"unknown_96":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8902631326242832384}} 
[2026-07-07 16:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":126612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:23:36] local.INFO: GPS data processed {"connection_id":126612,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:23:36] local.INFO: Acknowledgment sent {"connection_id":126612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:23:39] local.INFO: TCP Data received {"connection_id":124546,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c351e70012dbfa0c00541a180003900492e..."} 
[2026-07-07 16:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c351e70012dbfa0c00541a180003900492e..."} 
[2026-07-07 16:23:39] local.INFO: Processing buffer {"connection_id":124546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c351e70012dbfa0c00541a180003900492e..."} 
[2026-07-07 16:23:39] local.INFO: Packet analysis {"connection_id":124546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c35"} 
[2026-07-07 16:23:39] local.INFO: Extracted packet for processing {"connection_id":124546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c35"} 
[2026-07-07 16:23:39] local.INFO: GPS Element Parsed {"raw_longitude":767533248,"raw_latitude":88187264,"longitude_deg":76.7533248,"latitude_deg":8.8187264,"altitude":57,"angle":73,"satellites":46,"speed":0,"hex_longitude":"2dbfa0c0","hex_latitude":"0541a180","is_valid_coordinates":true} 
[2026-07-07 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-07-07 16:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555909376001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625126107742208,"note":"Value kept but may cause issues"} 
[2026-07-07 16:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638496487383138304,"note":"Value kept but may cause issues"} 
[2026-07-07 16:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783421542000,"timestamp_ms":1783421542000,"timestamp_seconds":1783421542,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c351e70"} 
[2026-07-07 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-07-07 16:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 16:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 16:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555909376001,"66":27691,"97":206,"84":5376,"24":0,"16":341625126107742208,"45":-4638496487383138304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555909376001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:23:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:23:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625126107742208,"km_value":341625126107742.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638496487383138304,"description":"Unknown IO ID 45"} 
[2026-07-07 16:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555909376001,"power":27691,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638496487383138304}} 
[2026-07-07 16:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":124546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:23:39] local.INFO: GPS data processed {"connection_id":124546,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:23:39] local.INFO: Acknowledgment sent {"connection_id":124546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:24:07] local.INFO: TCP Data received {"connection_id":126612,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c362810012d7b984005e6cda0000600b729..."} 
[2026-07-07 16:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c362810012d7b984005e6cda0000600b729..."} 
[2026-07-07 16:24:07] local.INFO: Processing buffer {"connection_id":126612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c362810012d7b984005e6cda0000600b729..."} 
[2026-07-07 16:24:07] local.INFO: Packet analysis {"connection_id":126612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c36"} 
[2026-07-07 16:24:07] local.INFO: Extracted packet for processing {"connection_id":126612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c36"} 
[2026-07-07 16:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763074624,"raw_latitude":99012000,"longitude_deg":76.3074624,"latitude_deg":9.9012,"altitude":6,"angle":183,"satellites":41,"speed":28,"hex_longitude":"2d7b9840","hex_latitude":"05e6cda0","is_valid_coordinates":true} 
[2026-07-07 16:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555930880001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103352353549189120,"note":"Value kept but may cause issues"} 
[2026-07-07 16:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905657182240645120,"note":"Value kept but may cause issues"} 
[2026-07-07 16:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783421610000,"timestamp_ms":1783421610000,"timestamp_seconds":1783421610,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c362810"} 
[2026-07-07 16:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-07 16:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:24: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-07-07 16:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555930880001,"66":13374,"96":206,"87":13824,"24":28,"16":103352353549189120,"45":8905657182240645120},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 16:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555930880001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:24:07] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 16:24:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103352353549189120,"km_value":103352353549189.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905657182240645120,"description":"Unknown IO ID 45"} 
[2026-07-07 16:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555930880001,"power":13374,"unknown_96":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8905657182240645120}} 
[2026-07-07 16:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":126612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:24:07] local.INFO: GPS data processed {"connection_id":126612,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:24:07] local.INFO: Acknowledgment sent {"connection_id":126612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:24:08] local.INFO: TCP Data received {"connection_id":126613,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:24:08] local.INFO: Processing buffer {"connection_id":126613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:24:08] local.INFO: IMEI packet received {"connection_id":126613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":126613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:24:13] local.INFO: TCP Data received {"connection_id":126613,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:24:13] local.INFO: Processing buffer {"connection_id":126613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:24:13] local.INFO: IMEI packet received {"connection_id":126613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":126613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:24:14] local.INFO: TCP Data received {"connection_id":126613,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c354d50012dbfa2400541a178003900542e..."} 
[2026-07-07 16:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c354d50012dbfa2400541a178003900542e..."} 
[2026-07-07 16:24:14] local.INFO: Processing buffer {"connection_id":126613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c354d50012dbfa2400541a178003900542e..."} 
[2026-07-07 16:24:14] local.INFO: Packet analysis {"connection_id":126613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c35"} 
[2026-07-07 16:24:14] local.INFO: Extracted packet for processing {"connection_id":126613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c35"} 
[2026-07-07 16:24:14] local.INFO: GPS Element Parsed {"raw_longitude":767533632,"raw_latitude":88187256,"longitude_deg":76.7533632,"latitude_deg":8.8187256,"altitude":57,"angle":84,"satellites":46,"speed":2,"hex_longitude":"2dbfa240","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555914752001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638496487383138304,"note":"Value kept but may cause issues"} 
[2026-07-07 16:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783421554000,"timestamp_ms":1783421554000,"timestamp_seconds":1783421554,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c354d50"} 
[2026-07-07 16:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16: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-07-07 16:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-07 16:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555914752001,"66":27713,"97":206,"84":5376,"24":2,"16":341625143287611392,"45":-4638496487383138304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555914752001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:24:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:24:14] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638496487383138304,"description":"Unknown IO ID 45"} 
[2026-07-07 16:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555914752001,"power":27713,"unknown_97":206,"unknown_84":5376,"ignition":2,"odometer":null,"unknown_45":-4638496487383138304}} 
[2026-07-07 16:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":126613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:24:14] local.INFO: GPS data processed {"connection_id":126613,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:24:14] local.INFO: Acknowledgment sent {"connection_id":126613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:24:26] local.INFO: TCP Data received {"connection_id":124548,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:24:26] local.INFO: Processing buffer {"connection_id":124548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:24:26] local.INFO: IMEI packet received {"connection_id":124548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":124548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:24:31] local.INFO: TCP Data received {"connection_id":124548,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:24:32] local.INFO: Processing buffer {"connection_id":124548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:24:32] local.INFO: IMEI packet received {"connection_id":124548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":124548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:24:41] local.INFO: TCP Data received {"connection_id":124548,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c364b38012d7b960005e6b3a8000700a929..."} 
[2026-07-07 16:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c364b38012d7b960005e6b3a8000700a929..."} 
[2026-07-07 16:24:41] local.INFO: Processing buffer {"connection_id":124548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c364b38012d7b960005e6b3a8000700a929..."} 
[2026-07-07 16:24:41] local.INFO: Packet analysis {"connection_id":124548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c36"} 
[2026-07-07 16:24:41] local.INFO: Extracted packet for processing {"connection_id":124548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c36"} 
[2026-07-07 16:24:41] local.INFO: GPS Element Parsed {"raw_longitude":763074048,"raw_latitude":99005352,"longitude_deg":76.3074048,"latitude_deg":9.9005352,"altitude":7,"angle":169,"satellites":41,"speed":29,"hex_longitude":"2d7b9600","hex_latitude":"05e6b3a8","is_valid_coordinates":true} 
[2026-07-07 16:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555932160001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103352679966703616,"note":"Value kept but may cause issues"} 
[2026-07-07 16:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905938657216405504,"note":"Value kept but may cause issues"} 
[2026-07-07 16:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783421619000,"timestamp_ms":1783421619000,"timestamp_seconds":1783421619,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c364b38"} 
[2026-07-07 16:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-07 16:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16: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-07-07 16:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555932160001,"66":13276,"96":206,"87":13824,"24":29,"16":103352679966703616,"45":8905938657216405504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 16:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555932160001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:24:41] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 16:24:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103352679966703616,"km_value":103352679966703.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905938657216405504,"description":"Unknown IO ID 45"} 
[2026-07-07 16:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555932160001,"power":13276,"unknown_96":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8905938657216405504}} 
[2026-07-07 16:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":124548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:24:41] local.INFO: GPS data processed {"connection_id":124548,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:24:41] local.INFO: Acknowledgment sent {"connection_id":124548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:24:59] local.INFO: TCP Data received {"connection_id":124644,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:24:59] local.INFO: Processing buffer {"connection_id":124644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:24:59] local.INFO: IMEI packet received {"connection_id":124644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":124644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:25:04] local.INFO: TCP Data received {"connection_id":124644,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:25:04] local.INFO: Processing buffer {"connection_id":124644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:25:04] local.INFO: IMEI packet received {"connection_id":124644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":124644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:25:05] local.INFO: TCP Data received {"connection_id":124644,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c355520012dbfa2800541a170003900622e..."} 
[2026-07-07 16:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c355520012dbfa2800541a170003900622e..."} 
[2026-07-07 16:25:05] local.INFO: Processing buffer {"connection_id":124644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c355520012dbfa2800541a170003900622e..."} 
[2026-07-07 16:25:05] local.INFO: Packet analysis {"connection_id":124644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c35"} 
[2026-07-07 16:25:05] local.INFO: Extracted packet for processing {"connection_id":124644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c35"} 
[2026-07-07 16:25:05] local.INFO: GPS Element Parsed {"raw_longitude":767533696,"raw_latitude":88187248,"longitude_deg":76.7533696,"latitude_deg":8.8187248,"altitude":57,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2dbfa280","hex_latitude":"0541a170","is_valid_coordinates":true} 
[2026-07-07 16:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555917824001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638074274918074368,"note":"Value kept but may cause issues"} 
[2026-07-07 16:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783421556000,"timestamp_ms":1783421556000,"timestamp_seconds":1783421556,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c355520"} 
[2026-07-07 16:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-07 16:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555917824001,"66":28050,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4638074274918074368},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555917824001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:25:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:25:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638074274918074368,"description":"Unknown IO ID 45"} 
[2026-07-07 16:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555917824001,"power":28050,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638074274918074368}} 
[2026-07-07 16:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":124644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:25:05] local.INFO: GPS data processed {"connection_id":124644,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:25:05] local.INFO: Acknowledgment sent {"connection_id":124644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:25:26] local.INFO: TCP Data received {"connection_id":124645,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:25:26] local.INFO: Processing buffer {"connection_id":124645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:25:26] local.INFO: IMEI packet received {"connection_id":124645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":124645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:25:28] local.INFO: TCP Data received {"connection_id":124645,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:25:28] local.INFO: Processing buffer {"connection_id":124645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:25:28] local.INFO: IMEI packet received {"connection_id":124645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":124645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:25:32] local.INFO: TCP Data received {"connection_id":124645,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:25:32] local.INFO: Processing buffer {"connection_id":124645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:25:32] local.INFO: IMEI packet received {"connection_id":124645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":124645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:25:33] local.INFO: TCP Data received {"connection_id":124645,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c367630012d7b9e4005e68fc8000600a828..."} 
[2026-07-07 16:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c367630012d7b9e4005e68fc8000600a828..."} 
[2026-07-07 16:25:33] local.INFO: Processing buffer {"connection_id":124645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c367630012d7b9e4005e68fc8000600a828..."} 
[2026-07-07 16:25:33] local.INFO: Packet analysis {"connection_id":124645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c36"} 
[2026-07-07 16:25:33] local.INFO: Extracted packet for processing {"connection_id":124645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c36"} 
[2026-07-07 16:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763076160,"raw_latitude":98996168,"longitude_deg":76.307616,"latitude_deg":9.8996168,"altitude":6,"angle":168,"satellites":40,"speed":34,"hex_longitude":"2d7b9e40","hex_latitude":"05e68fc8","is_valid_coordinates":true} 
[2026-07-07 16:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555934464001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103353135233236992,"note":"Value kept but may cause issues"} 
[2026-07-07 16:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905305338517104640,"note":"Value kept but may cause issues"} 
[2026-07-07 16:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783421630000,"timestamp_ms":1783421630000,"timestamp_seconds":1783421630,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c367630"} 
[2026-07-07 16:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:25: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-07-07 16:25: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-07-07 16:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555934464001,"66":12917,"96":206,"87":13824,"24":34,"16":103353135233236992,"45":8905305338517104640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-07 16:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555934464001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:25:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 16:25:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103353135233236992,"km_value":103353135233236.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905305338517104640,"description":"Unknown IO ID 45"} 
[2026-07-07 16:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555934464001,"power":12917,"unknown_96":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8905305338517104640}} 
[2026-07-07 16:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":124645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:25:33] local.INFO: GPS data processed {"connection_id":124645,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:25:33] local.INFO: Acknowledgment sent {"connection_id":124645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:25:35] local.INFO: TCP Data received {"connection_id":124644,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c355520012dbfa2800541a170003900622e..."} 
[2026-07-07 16:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c355520012dbfa2800541a170003900622e..."} 
[2026-07-07 16:25:35] local.INFO: Processing buffer {"connection_id":124644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c355520012dbfa2800541a170003900622e..."} 
[2026-07-07 16:25:35] local.INFO: Packet analysis {"connection_id":124644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c35"} 
[2026-07-07 16:25:35] local.INFO: Extracted packet for processing {"connection_id":124644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c35"} 
[2026-07-07 16:25:35] local.INFO: GPS Element Parsed {"raw_longitude":767533696,"raw_latitude":88187248,"longitude_deg":76.7533696,"latitude_deg":8.8187248,"altitude":57,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2dbfa280","hex_latitude":"0541a170","is_valid_coordinates":true} 
[2026-07-07 16:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555917824001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638074274918074368,"note":"Value kept but may cause issues"} 
[2026-07-07 16:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783421556000,"timestamp_ms":1783421556000,"timestamp_seconds":1783421556,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c355520"} 
[2026-07-07 16:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-07 16:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555917824001,"66":28050,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4638074274918074368},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555917824001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:25:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:25:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638074274918074368,"description":"Unknown IO ID 45"} 
[2026-07-07 16:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555917824001,"power":28050,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638074274918074368}} 
[2026-07-07 16:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":124644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:25:35] local.INFO: GPS data processed {"connection_id":124644,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:25:35] local.INFO: Acknowledgment sent {"connection_id":124644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:26:04] local.INFO: TCP Data received {"connection_id":124645,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3827c8012d7c16c005e5a980000a009a28..."} 
[2026-07-07 16:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3827c8012d7c16c005e5a980000a009a28..."} 
[2026-07-07 16:26:04] local.INFO: Processing buffer {"connection_id":124645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3827c8012d7c16c005e5a980000a009a28..."} 
[2026-07-07 16:26:04] local.INFO: Packet analysis {"connection_id":124645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c38"} 
[2026-07-07 16:26:04] local.INFO: Extracted packet for processing {"connection_id":124645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c38"} 
[2026-07-07 16:26:04] local.INFO: GPS Element Parsed {"raw_longitude":763107008,"raw_latitude":98937216,"longitude_deg":76.3107008,"latitude_deg":9.8937216,"altitude":10,"angle":154,"satellites":40,"speed":38,"hex_longitude":"2d7c16c0","hex_latitude":"05e5a980","is_valid_coordinates":true} 
[2026-07-07 16:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555963136001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103356420883218432,"note":"Value kept but may cause issues"} 
[2026-07-07 16:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937112010869991424,"note":"Value kept but may cause issues"} 
[2026-07-07 16:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783421741000,"timestamp_ms":1783421741000,"timestamp_seconds":1783421741,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3827c8"} 
[2026-07-07 16:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-07 16:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555963136001,"66":13276,"40":206,"87":13824,"24":38,"16":103356420883218432,"45":8937112010869991424},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-07-07 16:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555963136001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:26:04] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-07 16:26:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103356420883218432,"km_value":103356420883218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937112010869991424,"description":"Unknown IO ID 45"} 
[2026-07-07 16:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555963136001,"power":13276,"unknown_40":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8937112010869991424}} 
[2026-07-07 16:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":124645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:26:04] local.INFO: GPS data processed {"connection_id":124645,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:26:04] local.INFO: Acknowledgment sent {"connection_id":124645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:26:13] local.INFO: TCP Data received {"connection_id":124550,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124550,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:26:13] local.INFO: Processing buffer {"connection_id":124550,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:26:13] local.INFO: IMEI packet received {"connection_id":124550,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":124550,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:26:13] local.INFO: TCP Data received {"connection_id":124550,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124550,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:26:13] local.INFO: Processing buffer {"connection_id":124550,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:26:13] local.INFO: IMEI packet received {"connection_id":124550,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":124550,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:26:14] local.INFO: TCP Data received {"connection_id":124550,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124550,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:26:14] local.INFO: Processing buffer {"connection_id":124550,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:26:14] local.INFO: IMEI packet received {"connection_id":124550,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":124550,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:26:15] local.INFO: TCP Data received {"connection_id":124550,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c384708012d0dcfc007067e68001c00401f..."} 
[2026-07-07 16:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c384708012d0dcfc007067e68001c00401f..."} 
[2026-07-07 16:26:15] local.INFO: Processing buffer {"connection_id":124550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c384708012d0dcfc007067e68001c00401f..."} 
[2026-07-07 16:26:15] local.INFO: Packet analysis {"connection_id":124550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c38"} 
[2026-07-07 16:26:15] local.INFO: Extracted packet for processing {"connection_id":124550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c38"} 
[2026-07-07 16:26:15] local.INFO: GPS Element Parsed {"raw_longitude":755879872,"raw_latitude":117866088,"longitude_deg":75.5879872,"latitude_deg":11.7866088,"altitude":28,"angle":64,"satellites":31,"speed":14,"hex_longitude":"2d0dcfc0","hex_latitude":"07067e68","is_valid_coordinates":true} 
[2026-07-07 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-07-07 16:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555967488001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23433981517103104,"note":"Value kept but may cause issues"} 
[2026-07-07 16:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994943704101675008,"note":"Value kept but may cause issues"} 
[2026-07-07 16:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783421749000,"timestamp_ms":1783421749000,"timestamp_seconds":1783421749,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c384708"} 
[2026-07-07 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-07-07 16:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 16:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 16:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555967488001,"66":14537,"167":206,"94":11008,"24":14,"16":23433981517103104,"45":994943704101675008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-07 16:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555967488001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:26:15] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 16:26:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 16:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23433981517103104,"km_value":23433981517103.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":994943704101675008,"description":"Unknown IO ID 45"} 
[2026-07-07 16:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555967488001,"power":14537,"unknown_167":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":994943704101675008}} 
[2026-07-07 16:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":124550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446395,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:26:16] local.INFO: GPS data processed {"connection_id":124550,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:26:16] local.INFO: Acknowledgment sent {"connection_id":124550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:26:26] local.INFO: TCP Data received {"connection_id":125359,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:26:26] local.INFO: Processing buffer {"connection_id":125359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:26:26] local.INFO: IMEI packet received {"connection_id":125359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":125359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:26:31] local.INFO: TCP Data received {"connection_id":125359,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:26:31] local.INFO: Processing buffer {"connection_id":125359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:26:31] local.INFO: IMEI packet received {"connection_id":125359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":125359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:26:31] local.INFO: TCP Data received {"connection_id":125359,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:26:31] local.INFO: Processing buffer {"connection_id":125359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:26:31] local.INFO: IMEI packet received {"connection_id":125359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":125359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:26:32] local.INFO: TCP Data received {"connection_id":125359,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c384ed8012d7c254005e58638000a00a228..."} 
[2026-07-07 16:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c384ed8012d7c254005e58638000a00a228..."} 
[2026-07-07 16:26:32] local.INFO: Processing buffer {"connection_id":125359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c384ed8012d7c254005e58638000a00a228..."} 
[2026-07-07 16:26:32] local.INFO: Packet analysis {"connection_id":125359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c38"} 
[2026-07-07 16:26:32] local.INFO: Extracted packet for processing {"connection_id":125359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c38"} 
[2026-07-07 16:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98928184,"longitude_deg":76.311072,"latitude_deg":9.8928184,"altitude":10,"angle":162,"satellites":40,"speed":38,"hex_longitude":"2d7c2540","hex_latitude":"05e58638","is_valid_coordinates":true} 
[2026-07-07 16:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555965696001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103356893329620992,"note":"Value kept but may cause issues"} 
[2026-07-07 16:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941545241751158784,"note":"Value kept but may cause issues"} 
[2026-07-07 16:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783421751000,"timestamp_ms":1783421751000,"timestamp_seconds":1783421751,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c384ed8"} 
[2026-07-07 16:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 16:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555965696001,"66":13428,"40":206,"87":13824,"24":38,"16":103356893329620992,"45":8941545241751158784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-07-07 16:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555965696001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:26:32] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-07 16:26:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103356893329620992,"km_value":103356893329620.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941545241751158784,"description":"Unknown IO ID 45"} 
[2026-07-07 16:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555965696001,"power":13428,"unknown_40":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8941545241751158784}} 
[2026-07-07 16:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":125359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:26:32] local.INFO: GPS data processed {"connection_id":125359,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:26:32] local.INFO: Acknowledgment sent {"connection_id":125359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:26:37] local.INFO: TCP Data received {"connection_id":125359,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3875e8012d7c2dc005e56390000900a828..."} 
[2026-07-07 16:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3875e8012d7c2dc005e56390000900a828..."} 
[2026-07-07 16:26:37] local.INFO: Processing buffer {"connection_id":125359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3875e8012d7c2dc005e56390000900a828..."} 
[2026-07-07 16:26:37] local.INFO: Packet analysis {"connection_id":125359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c38"} 
[2026-07-07 16:26:37] local.INFO: Extracted packet for processing {"connection_id":125359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c38"} 
[2026-07-07 16:26:37] local.INFO: GPS Element Parsed {"raw_longitude":763112896,"raw_latitude":98919312,"longitude_deg":76.3112896,"latitude_deg":9.8919312,"altitude":9,"angle":168,"satellites":40,"speed":31,"hex_longitude":"2d7c2dc0","hex_latitude":"05e56390","is_valid_coordinates":true} 
[2026-07-07 16:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555968256001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103357335711252480,"note":"Value kept but may cause issues"} 
[2026-07-07 16:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628911151104,"note":"Value kept but may cause issues"} 
[2026-07-07 16:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783421761000,"timestamp_ms":1783421761000,"timestamp_seconds":1783421761,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3875e8"} 
[2026-07-07 16:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-07 16:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:26: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-07-07 16:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555968256001,"66":13298,"40":206,"87":13824,"24":31,"16":103357335711252480,"45":8945626628911151104},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-07-07 16:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555968256001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:26:37] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-07 16:26:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103357335711252480,"km_value":103357335711252.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628911151104,"description":"Unknown IO ID 45"} 
[2026-07-07 16:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555968256001,"power":13298,"unknown_40":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8945626628911151104}} 
[2026-07-07 16:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":125359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:26:37] local.INFO: GPS data processed {"connection_id":125359,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:26:37] local.INFO: Acknowledgment sent {"connection_id":125359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:26:53] local.INFO: TCP Data received {"connection_id":124550,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c38fea0012d0dcdc00706c9800022015a1f..."} 
[2026-07-07 16:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c38fea0012d0dcdc00706c9800022015a1f..."} 
[2026-07-07 16:26:53] local.INFO: Processing buffer {"connection_id":124550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c38fea0012d0dcdc00706c9800022015a1f..."} 
[2026-07-07 16:26:53] local.INFO: Packet analysis {"connection_id":124550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c38"} 
[2026-07-07 16:26:53] local.INFO: Extracted packet for processing {"connection_id":124550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c38"} 
[2026-07-07 16:26:53] local.INFO: GPS Element Parsed {"raw_longitude":755879360,"raw_latitude":117885312,"longitude_deg":75.587936,"latitude_deg":11.7885312,"altitude":34,"angle":346,"satellites":31,"speed":20,"hex_longitude":"2d0dcdc0","hex_latitude":"0706c980","is_valid_coordinates":true} 
[2026-07-07 16:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555979520001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23435381676441600,"note":"Value kept but may cause issues"} 
[2026-07-07 16:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994732597873969152,"note":"Value kept but may cause issues"} 
[2026-07-07 16:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783421796000,"timestamp_ms":1783421796000,"timestamp_seconds":1783421796,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c38fea0"} 
[2026-07-07 16:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-07 16:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":124550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":124550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":124550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555979520001,"66":14298,"219":206,"94":10240,"24":20,"16":23435381676441600,"45":994732597873969152},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 16:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555979520001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:26:53] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 16:26:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23435381676441600,"km_value":23435381676441.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":994732597873969152,"description":"Unknown IO ID 45"} 
[2026-07-07 16:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555979520001,"power":14298,"unknown_219":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":994732597873969152}} 
[2026-07-07 16:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":124550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446398,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:26:54] local.INFO: GPS data processed {"connection_id":124550,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:26:54] local.INFO: Acknowledgment sent {"connection_id":124550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:27:07] local.INFO: TCP Data received {"connection_id":124646,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:27:07] local.INFO: Processing buffer {"connection_id":124646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:27:07] local.INFO: IMEI packet received {"connection_id":124646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":124646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:27:09] local.INFO: TCP Data received {"connection_id":125359,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c388588012d7c304005e55a080009009b28..."} 
[2026-07-07 16:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c388588012d7c304005e55a080009009b28..."} 
[2026-07-07 16:27:09] local.INFO: Processing buffer {"connection_id":125359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c388588012d7c304005e55a080009009b28..."} 
[2026-07-07 16:27:09] local.INFO: Packet analysis {"connection_id":125359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c38"} 
[2026-07-07 16:27:09] local.INFO: Extracted packet for processing {"connection_id":125359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c38"} 
[2026-07-07 16:27:09] local.INFO: GPS Element Parsed {"raw_longitude":763113536,"raw_latitude":98916872,"longitude_deg":76.3113536,"latitude_deg":9.8916872,"altitude":9,"angle":155,"satellites":40,"speed":21,"hex_longitude":"2d7c3040","hex_latitude":"05e55a08","is_valid_coordinates":true} 
[2026-07-07 16:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555970816001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103357460265304064,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948019166210920448,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783421765000,"timestamp_ms":1783421765000,"timestamp_seconds":1783421765,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c388588"} 
[2026-07-07 16:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-07 16:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555970816001,"66":13200,"40":206,"87":13824,"24":21,"16":103357460265304064,"45":8948019166210920448},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-07-07 16:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555970816001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:27:09] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-07 16:27:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103357460265304064,"km_value":103357460265304.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948019166210920448,"description":"Unknown IO ID 45"} 
[2026-07-07 16:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555970816001,"power":13200,"unknown_40":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8948019166210920448}} 
[2026-07-07 16:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":125359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:27:09] local.INFO: GPS data processed {"connection_id":125359,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:27:09] local.INFO: Acknowledgment sent {"connection_id":125359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:27:10] local.INFO: TCP Data received {"connection_id":124552,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124552,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:27:10] local.INFO: Processing buffer {"connection_id":124552,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:27:10] local.INFO: IMEI packet received {"connection_id":124552,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":124552,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:27:12] local.INFO: TCP Data received {"connection_id":124646,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:27:12] local.INFO: Processing buffer {"connection_id":124646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:27:12] local.INFO: IMEI packet received {"connection_id":124646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":124646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:27:13] local.INFO: TCP Data received {"connection_id":124646,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3921c8012d175b40072249d0002f01040e..."} 
[2026-07-07 16:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3921c8012d175b40072249d0002f01040e..."} 
[2026-07-07 16:27:13] local.INFO: Processing buffer {"connection_id":124646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3921c8012d175b40072249d0002f01040e..."} 
[2026-07-07 16:27:13] local.INFO: Packet analysis {"connection_id":124646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:27:13] local.INFO: Extracted packet for processing {"connection_id":124646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:27:13] local.INFO: GPS Element Parsed {"raw_longitude":756505408,"raw_latitude":119687632,"longitude_deg":75.6505408,"latitude_deg":11.9687632,"altitude":47,"angle":260,"satellites":14,"speed":12,"hex_longitude":"2d175b40","hex_latitude":"072249d0","is_valid_coordinates":true} 
[2026-07-07 16:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555981568001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4685311103729664,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1683572235090681856,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783421805000,"timestamp_ms":1783421805000,"timestamp_seconds":1783421805,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3921c8"} 
[2026-07-07 16:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:27: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-07-07 16:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 16:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555981568001,"66":13993,"120":206,"28":31744,"24":12,"16":4685311103729664,"45":1683572235090681856},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 16:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555981568001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:27:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 16:27:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4685311103729664,"km_value":4685311103729.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1683572235090681856,"description":"Unknown IO ID 45"} 
[2026-07-07 16:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555981568001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1683572235090681856}} 
[2026-07-07 16:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":124646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:27:13] local.INFO: GPS data processed {"connection_id":124646,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:27:13] local.INFO: Acknowledgment sent {"connection_id":124646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:27:15] local.INFO: TCP Data received {"connection_id":124552,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124552,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:27:15] local.INFO: Processing buffer {"connection_id":124552,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:27:15] local.INFO: IMEI packet received {"connection_id":124552,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":124552,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:27:16] local.INFO: TCP Data received {"connection_id":124552,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c390288012d0dcdc00706cbf0002300021f..."} 
[2026-07-07 16:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c390288012d0dcdc00706cbf0002300021f..."} 
[2026-07-07 16:27:16] local.INFO: Processing buffer {"connection_id":124552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c390288012d0dcdc00706cbf0002300021f..."} 
[2026-07-07 16:27:16] local.INFO: Packet analysis {"connection_id":124552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:27:16] local.INFO: Extracted packet for processing {"connection_id":124552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:27:16] local.INFO: GPS Element Parsed {"raw_longitude":755879360,"raw_latitude":117885936,"longitude_deg":75.587936,"latitude_deg":11.7885936,"altitude":35,"angle":2,"satellites":31,"speed":25,"hex_longitude":"2d0dcdc0","hex_latitude":"0706cbf0","is_valid_coordinates":true} 
[2026-07-07 16:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555979776001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23435411741212672,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994662229129920512,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783421797000,"timestamp_ms":1783421797000,"timestamp_seconds":1783421797,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c390288"} 
[2026-07-07 16:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-07 16:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124552,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124552,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555979776001,"66":14298,"219":206,"94":10240,"24":25,"16":23435411741212672,"45":994662229129920512},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 16:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555979776001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:27:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 16:27:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23435411741212672,"km_value":23435411741212.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":994662229129920512,"description":"Unknown IO ID 45"} 
[2026-07-07 16:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555979776001,"power":14298,"unknown_219":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":994662229129920512}} 
[2026-07-07 16:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":124552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446401,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:27:16] local.INFO: GPS data processed {"connection_id":124552,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:27:16] local.INFO: Acknowledgment sent {"connection_id":124552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:27:18] local.INFO: TCP Data received {"connection_id":125360,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:27:18] local.INFO: Processing buffer {"connection_id":125360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:27:18] local.INFO: IMEI packet received {"connection_id":125360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":125360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:27:19] local.INFO: TCP Data received {"connection_id":125360,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:27:19] local.INFO: Processing buffer {"connection_id":125360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:27:19] local.INFO: IMEI packet received {"connection_id":125360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":125360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:27:20] local.INFO: TCP Data received {"connection_id":125360,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c355520012dbfa2800541a170003900622e..."} 
[2026-07-07 16:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c355520012dbfa2800541a170003900622e..."} 
[2026-07-07 16:27:20] local.INFO: Processing buffer {"connection_id":125360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c355520012dbfa2800541a170003900622e..."} 
[2026-07-07 16:27:20] local.INFO: Packet analysis {"connection_id":125360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c35"} 
[2026-07-07 16:27:20] local.INFO: Extracted packet for processing {"connection_id":125360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c35"} 
[2026-07-07 16:27:20] local.INFO: GPS Element Parsed {"raw_longitude":767533696,"raw_latitude":88187248,"longitude_deg":76.7533696,"latitude_deg":8.8187248,"altitude":57,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2dbfa280","hex_latitude":"0541a170","is_valid_coordinates":true} 
[2026-07-07 16:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555917824001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638074274918074368,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783421556000,"timestamp_ms":1783421556000,"timestamp_seconds":1783421556,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c355520"} 
[2026-07-07 16:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-07 16:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":125360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":125360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":125360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555917824001,"66":28050,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4638074274918074368},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555917824001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:27:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:27:20] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638074274918074368,"description":"Unknown IO ID 45"} 
[2026-07-07 16:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555917824001,"power":28050,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638074274918074368}} 
[2026-07-07 16:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":125360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:27:20] local.INFO: GPS data processed {"connection_id":125360,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:27:20] local.INFO: Acknowledgment sent {"connection_id":125360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:27:29] local.INFO: TCP Data received {"connection_id":124647,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:27:29] local.INFO: Processing buffer {"connection_id":124647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:27:29] local.INFO: IMEI packet received {"connection_id":124647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":124647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:27:31] local.INFO: TCP Data received {"connection_id":124647,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:27:31] local.INFO: Processing buffer {"connection_id":124647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:27:31] local.INFO: IMEI packet received {"connection_id":124647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":124647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:27:37] local.INFO: TCP Data received {"connection_id":124647,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:27:37] local.INFO: Processing buffer {"connection_id":124647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:27:37] local.INFO: IMEI packet received {"connection_id":124647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":124647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:27:37] local.INFO: TCP Data received {"connection_id":125360,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c355520012dbfa2800541a170003900622e..."} 
[2026-07-07 16:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c355520012dbfa2800541a170003900622e..."} 
[2026-07-07 16:27:37] local.INFO: Processing buffer {"connection_id":125360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c355520012dbfa2800541a170003900622e..."} 
[2026-07-07 16:27:37] local.INFO: Packet analysis {"connection_id":125360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c35"} 
[2026-07-07 16:27:37] local.INFO: Extracted packet for processing {"connection_id":125360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c35"} 
[2026-07-07 16:27:37] local.INFO: GPS Element Parsed {"raw_longitude":767533696,"raw_latitude":88187248,"longitude_deg":76.7533696,"latitude_deg":8.8187248,"altitude":57,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2dbfa280","hex_latitude":"0541a170","is_valid_coordinates":true} 
[2026-07-07 16:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555917824001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638074274918074368,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783421556000,"timestamp_ms":1783421556000,"timestamp_seconds":1783421556,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c355520"} 
[2026-07-07 16:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-07 16:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555917824001,"66":28050,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4638074274918074368},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555917824001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:27:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:27:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638074274918074368,"description":"Unknown IO ID 45"} 
[2026-07-07 16:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555917824001,"power":28050,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638074274918074368}} 
[2026-07-07 16:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":125360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:27:37] local.INFO: GPS data processed {"connection_id":125360,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:27:37] local.INFO: Acknowledgment sent {"connection_id":125360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:27:38] local.INFO: TCP Data received {"connection_id":124647,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c39ae68012d7bf3c005e4a260000b00d52b..."} 
[2026-07-07 16:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c39ae68012d7bf3c005e4a260000b00d52b..."} 
[2026-07-07 16:27:38] local.INFO: Processing buffer {"connection_id":124647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c39ae68012d7bf3c005e4a260000b00d52b..."} 
[2026-07-07 16:27:38] local.INFO: Packet analysis {"connection_id":124647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:27:38] local.INFO: Extracted packet for processing {"connection_id":124647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:27:38] local.INFO: GPS Element Parsed {"raw_longitude":763098048,"raw_latitude":98869856,"longitude_deg":76.3098048,"latitude_deg":9.8869856,"altitude":11,"angle":213,"satellites":43,"speed":50,"hex_longitude":"2d7bf3c0","hex_latitude":"05e4a260","is_valid_coordinates":true} 
[2026-07-07 16:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555989248001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103360063015485440,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937604592062052352,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783421841000,"timestamp_ms":1783421841000,"timestamp_seconds":1783421841,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c39ae68"} 
[2026-07-07 16:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 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-07-07 16:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-07 16:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 16:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:27: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-07-07 16:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555989248001,"66":13276,"39":206,"87":13824,"24":50,"16":103360063015485440,"45":8937604592062052352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-07 16:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555989248001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:27:38] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-07 16:27:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103360063015485440,"km_value":103360063015485.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937604592062052352,"description":"Unknown IO ID 45"} 
[2026-07-07 16:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555989248001,"power":13276,"unknown_39":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":8937604592062052352}} 
[2026-07-07 16:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":124647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:27:38] local.INFO: GPS data processed {"connection_id":124647,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:27:38] local.INFO: Acknowledgment sent {"connection_id":124647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:27:39] local.INFO: TCP Data received {"connection_id":124647,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c39c9c0012d7be0c005e484e8000c00d52b..."} 
[2026-07-07 16:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c39c9c0012d7be0c005e484e8000c00d52b..."} 
[2026-07-07 16:27:39] local.INFO: Processing buffer {"connection_id":124647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c39c9c0012d7be0c005e484e8000c00d52b..."} 
[2026-07-07 16:27:39] local.INFO: Packet analysis {"connection_id":124647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:27:39] local.INFO: Extracted packet for processing {"connection_id":124647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763093184,"raw_latitude":98862312,"longitude_deg":76.3093184,"latitude_deg":9.8862312,"altitude":12,"angle":213,"satellites":43,"speed":50,"hex_longitude":"2d7be0c0","hex_latitude":"05e484e8","is_valid_coordinates":true} 
[2026-07-07 16:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555991296001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103360496807182336,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931693617549041664,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783421848000,"timestamp_ms":1783421848000,"timestamp_seconds":1783421848,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c39c9c0"} 
[2026-07-07 16:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 16:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555991296001,"66":13450,"39":206,"87":13824,"24":50,"16":103360496807182336,"45":8931693617549041664},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-07 16:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555991296001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:27:39] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-07 16:27:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-07 16:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103360496807182336,"km_value":103360496807182.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931693617549041664,"description":"Unknown IO ID 45"} 
[2026-07-07 16:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555991296001,"power":13450,"unknown_39":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":8931693617549041664}} 
[2026-07-07 16:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":124647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:27:39] local.INFO: GPS data processed {"connection_id":124647,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:27:39] local.INFO: Acknowledgment sent {"connection_id":124647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:27:45] local.INFO: TCP Data received {"connection_id":124646,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c393168012d175740072248f8003801100e..."} 
[2026-07-07 16:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c393168012d175740072248f8003801100e..."} 
[2026-07-07 16:27:45] local.INFO: Processing buffer {"connection_id":124646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c393168012d175740072248f8003801100e..."} 
[2026-07-07 16:27:45] local.INFO: Packet analysis {"connection_id":124646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:27:45] local.INFO: Extracted packet for processing {"connection_id":124646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:27:45] local.INFO: GPS Element Parsed {"raw_longitude":756504384,"raw_latitude":119687416,"longitude_deg":75.6504384,"latitude_deg":11.9687416,"altitude":56,"angle":272,"satellites":14,"speed":10,"hex_longitude":"2d175740","hex_latitude":"072248f8","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555982080001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4685366938304512,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1683009285137223680,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783421809000,"timestamp_ms":1783421809000,"timestamp_seconds":1783421809,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c393168"} 
[2026-07-07 16:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-07 16:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555982080001,"66":13722,"120":206,"28":31744,"24":10,"16":4685366938304512,"45":1683009285137223680},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 16:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555982080001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:27:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 16:27:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4685366938304512,"km_value":4685366938304.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1683009285137223680,"description":"Unknown IO ID 45"} 
[2026-07-07 16:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555982080001,"power":13722,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1683009285137223680}} 
[2026-07-07 16:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":124646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:27:45] local.INFO: GPS data processed {"connection_id":124646,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:27:45] local.INFO: Acknowledgment sent {"connection_id":124646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:27:47] local.INFO: TCP Data received {"connection_id":124552,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3919f8012d0dcf400706dc38002301601f..."} 
[2026-07-07 16:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3919f8012d0dcf400706dc38002301601f..."} 
[2026-07-07 16:27:47] local.INFO: Processing buffer {"connection_id":124552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3919f8012d0dcf400706dc38002301601f..."} 
[2026-07-07 16:27:47] local.INFO: Packet analysis {"connection_id":124552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:27:47] local.INFO: Extracted packet for processing {"connection_id":124552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:27:47] local.INFO: GPS Element Parsed {"raw_longitude":755879744,"raw_latitude":117890104,"longitude_deg":75.5879744,"latitude_deg":11.7890104,"altitude":35,"angle":352,"satellites":31,"speed":28,"hex_longitude":"2d0dcf40","hex_latitude":"0706dc38","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555980032001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23435613604675584,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994662229130080256,"note":"Value kept but may cause issues"} 
[2026-07-07 16:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783421803000,"timestamp_ms":1783421803000,"timestamp_seconds":1783421803,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3919f8"} 
[2026-07-07 16:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-07 16:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124552,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124552,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555980032001,"66":14407,"219":206,"94":10240,"24":28,"16":23435613604675584,"45":994662229130080256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 16:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555980032001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:27:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 16:27:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23435613604675584,"km_value":23435613604675.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":994662229130080256,"description":"Unknown IO ID 45"} 
[2026-07-07 16:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555980032001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":994662229130080256}} 
[2026-07-07 16:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":124552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446407,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:27:47] local.INFO: GPS data processed {"connection_id":124552,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:27:47] local.INFO: Acknowledgment sent {"connection_id":124552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:27:58] local.INFO: TCP Data received {"connection_id":124553,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:27:58] local.INFO: Processing buffer {"connection_id":124553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:27:58] local.INFO: IMEI packet received {"connection_id":124553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":124553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:28:04] local.INFO: TCP Data received {"connection_id":124553,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:28:04] local.INFO: Processing buffer {"connection_id":124553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:28:04] local.INFO: IMEI packet received {"connection_id":124553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":124553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:28:10] local.INFO: TCP Data received {"connection_id":124553,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c355520012dbfa2800541a170003900622e..."} 
[2026-07-07 16:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c355520012dbfa2800541a170003900622e..."} 
[2026-07-07 16:28:10] local.INFO: Processing buffer {"connection_id":124553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c355520012dbfa2800541a170003900622e..."} 
[2026-07-07 16:28:10] local.INFO: Packet analysis {"connection_id":124553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c35"} 
[2026-07-07 16:28:10] local.INFO: Extracted packet for processing {"connection_id":124553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c35"} 
[2026-07-07 16:28:10] local.INFO: GPS Element Parsed {"raw_longitude":767533696,"raw_latitude":88187248,"longitude_deg":76.7533696,"latitude_deg":8.8187248,"altitude":57,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2dbfa280","hex_latitude":"0541a170","is_valid_coordinates":true} 
[2026-07-07 16:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555917824001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638074274918074368,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783421556000,"timestamp_ms":1783421556000,"timestamp_seconds":1783421556,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c355520"} 
[2026-07-07 16:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16: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-07-07 16:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555917824001,"66":28050,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4638074274918074368},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555917824001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:28:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:28:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638074274918074368,"description":"Unknown IO ID 45"} 
[2026-07-07 16:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555917824001,"power":28050,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638074274918074368}} 
[2026-07-07 16:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":124553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:28:10] local.INFO: GPS data processed {"connection_id":124553,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:28:10] local.INFO: Acknowledgment sent {"connection_id":124553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:28:15] local.INFO: TCP Data received {"connection_id":124649,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124649,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:28:15] local.INFO: Processing buffer {"connection_id":124649,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:28:15] local.INFO: IMEI packet received {"connection_id":124649,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":124649,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:28:16] local.INFO: TCP Data received {"connection_id":124649,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124649,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:28:16] local.INFO: Processing buffer {"connection_id":124649,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:28:16] local.INFO: IMEI packet received {"connection_id":124649,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":124649,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:28:17] local.INFO: TCP Data received {"connection_id":124649,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3a2398012d0e37c0070704400023005c1f..."} 
[2026-07-07 16:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3a2398012d0e37c0070704400023005c1f..."} 
[2026-07-07 16:28:17] local.INFO: Processing buffer {"connection_id":124649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3a2398012d0e37c0070704400023005c1f..."} 
[2026-07-07 16:28:17] local.INFO: Packet analysis {"connection_id":124649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3a"} 
[2026-07-07 16:28:17] local.INFO: Extracted packet for processing {"connection_id":124649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3a"} 
[2026-07-07 16:28:17] local.INFO: GPS Element Parsed {"raw_longitude":755906496,"raw_latitude":117900352,"longitude_deg":75.5906496,"latitude_deg":11.7900352,"altitude":35,"angle":92,"satellites":31,"speed":20,"hex_longitude":"2d0e37c0","hex_latitude":"07070440","is_valid_coordinates":true} 
[2026-07-07 16:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555993856001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23437301526822912,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1015421008666062848,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783421871000,"timestamp_ms":1783421871000,"timestamp_seconds":1783421871,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3a2398"} 
[2026-07-07 16:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 16:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555993856001,"66":14352,"219":206,"94":10240,"24":20,"16":23437301526822912,"45":1015421008666062848},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 16:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555993856001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:28:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 16:28:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23437301526822912,"km_value":23437301526822.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1015421008666062848,"description":"Unknown IO ID 45"} 
[2026-07-07 16:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555993856001,"power":14352,"unknown_219":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":1015421008666062848}} 
[2026-07-07 16:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":124649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446409,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:28:17] local.INFO: GPS data processed {"connection_id":124649,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:28:17] local.INFO: Acknowledgment sent {"connection_id":124649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:28:20] local.INFO: TCP Data received {"connection_id":124646,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c393550012d17560007224950003a01220e..."} 
[2026-07-07 16:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c393550012d17560007224950003a01220e..."} 
[2026-07-07 16:28:20] local.INFO: Processing buffer {"connection_id":124646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c393550012d17560007224950003a01220e..."} 
[2026-07-07 16:28:20] local.INFO: Packet analysis {"connection_id":124646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:28:20] local.INFO: Extracted packet for processing {"connection_id":124646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:28:20] local.INFO: GPS Element Parsed {"raw_longitude":756504064,"raw_latitude":119687504,"longitude_deg":75.6504064,"latitude_deg":11.9687504,"altitude":58,"angle":290,"satellites":14,"speed":11,"hex_longitude":"2d175600","hex_latitude":"07224950","is_valid_coordinates":true} 
[2026-07-07 16:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555983104001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4685379823206400,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1681883385230325760,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783421810000,"timestamp_ms":1783421810000,"timestamp_seconds":1783421810,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c393550"} 
[2026-07-07 16:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-07 16:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555983104001,"66":13961,"120":206,"28":31744,"24":11,"16":4685379823206400,"45":1681883385230325760},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 16:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555983104001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:28:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 16:28:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4685379823206400,"km_value":4685379823206.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1681883385230325760,"description":"Unknown IO ID 45"} 
[2026-07-07 16:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555983104001,"power":13961,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1681883385230325760}} 
[2026-07-07 16:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":124646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:28:20] local.INFO: GPS data processed {"connection_id":124646,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:28:20] local.INFO: Acknowledgment sent {"connection_id":124646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:28:21] local.INFO: TCP Data received {"connection_id":124649,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3a2b68012d0e3b8007070350002300771f..."} 
[2026-07-07 16:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3a2b68012d0e3b8007070350002300771f..."} 
[2026-07-07 16:28:21] local.INFO: Processing buffer {"connection_id":124649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3a2b68012d0e3b8007070350002300771f..."} 
[2026-07-07 16:28:21] local.INFO: Packet analysis {"connection_id":124649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3a"} 
[2026-07-07 16:28:21] local.INFO: Extracted packet for processing {"connection_id":124649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3a"} 
[2026-07-07 16:28:21] local.INFO: GPS Element Parsed {"raw_longitude":755907456,"raw_latitude":117900112,"longitude_deg":75.5907456,"latitude_deg":11.7900112,"altitude":35,"angle":119,"satellites":31,"speed":16,"hex_longitude":"2d0e3b80","hex_latitude":"07070350","is_valid_coordinates":true} 
[2026-07-07 16:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555998976001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23437344476495872,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1024498576665100288,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783421873000,"timestamp_ms":1783421873000,"timestamp_seconds":1783421873,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3a2b68"} 
[2026-07-07 16:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-07 16:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143552,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:21] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:21] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:21] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503957232549888,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:21] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509137371,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:21] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5764871410124390656,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":802881742,"corrected_to":0} 
[2026-07-07 16:28:21] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2147944187,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:21] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485615,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:21] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84739149626017529,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:21] local.WARNING: Large IO value detected {"io_id":96,"raw_value":9288863713333248,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:21] local.WARNING: Large IO value detected {"io_id":13,"raw_value":-3620886373890785247,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:21] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,219,94,24,241,157,16,68,159,213,45,128,2,35,31,10,66,67,174,6,34,166,64,1,240,229,227,60,7,4,113,205,27,100,211,168,30,239,55,83,33,206,120,96,13],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":802881742,"validated":0}]} 
[2026-07-07 16:28:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522117079542530048,"timestamp_seconds":2522117079542530.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555998976001,"66":13602,"219":206,"94":10240,"24":16,"16":23437344476495872,"45":1024498576665100288},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 16:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555998976001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:28:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 16:28:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23437344476495872,"km_value":23437344476495.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1024498576665100288,"description":"Unknown IO ID 45"} 
[2026-07-07 16:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555998976001,"power":13602,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":1024498576665100288}} 
[2026-07-07 16:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":124649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446411,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:28:21] local.INFO: GPS data processed {"connection_id":124649,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:28:21] local.INFO: Acknowledgment sent {"connection_id":124649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:28:29] local.INFO: TCP Data received {"connection_id":125361,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:28:29] local.INFO: Processing buffer {"connection_id":125361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:28:29] local.INFO: IMEI packet received {"connection_id":125361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 16:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":125361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:28:41] local.INFO: TCP Data received {"connection_id":126616,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:28:41] local.INFO: Processing buffer {"connection_id":126616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:28:41] local.INFO: IMEI packet received {"connection_id":126616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":126616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:28:42] local.INFO: TCP Data received {"connection_id":124553,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:28:42] local.INFO: TCP Data received {"connection_id":126616,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:28:42] local.INFO: Processing buffer {"connection_id":124553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:28:42] local.INFO: Packet analysis {"connection_id":124553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:28:42] local.INFO: Extracted packet for processing {"connection_id":124553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:28:42] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555918336001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638003906173898752,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783421858000,"timestamp_ms":1783421858000,"timestamp_seconds":1783421858,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c39f0d0"} 
[2026-07-07 16:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 16:28: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-07-07 16:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:28:42] local.INFO: Processing buffer {"connection_id":126616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:28:42] local.INFO: IMEI packet received {"connection_id":126616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":126616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555918336001,"66":26223,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4638003906173898752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555918336001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:28:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:28:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638003906173898752,"description":"Unknown IO ID 45"} 
[2026-07-07 16:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555918336001,"power":26223,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638003906173898752}} 
[2026-07-07 16:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":124553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:28:42] local.INFO: GPS data processed {"connection_id":124553,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:28:42] local.INFO: Acknowledgment sent {"connection_id":124553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:28:46] local.INFO: TCP Data received {"connection_id":126616,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:28:46] local.INFO: Processing buffer {"connection_id":126616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:28:46] local.INFO: IMEI packet received {"connection_id":126616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":126616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:28:47] local.INFO: TCP Data received {"connection_id":126616,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3a2398012d7ba60005e42b68000a00d52a..."} 
[2026-07-07 16:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3a2398012d7ba60005e42b68000a00d52a..."} 
[2026-07-07 16:28:47] local.INFO: Processing buffer {"connection_id":126616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3a2398012d7ba60005e42b68000a00d52a..."} 
[2026-07-07 16:28:47] local.INFO: Packet analysis {"connection_id":126616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3a"} 
[2026-07-07 16:28:47] local.INFO: Extracted packet for processing {"connection_id":126616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3a"} 
[2026-07-07 16:28:47] local.INFO: GPS Element Parsed {"raw_longitude":763078144,"raw_latitude":98839400,"longitude_deg":76.3078144,"latitude_deg":9.88394,"altitude":10,"angle":213,"satellites":42,"speed":48,"hex_longitude":"2d7ba600","hex_latitude":"05e42b68","is_valid_coordinates":true} 
[2026-07-07 16:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555996928001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103361819657109504,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915297700149776384,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783421871000,"timestamp_ms":1783421871000,"timestamp_seconds":1783421871,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3a2398"} 
[2026-07-07 16:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 16:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":126616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":126616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":126616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:28: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-07-07 16:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555996928001,"66":13276,"95":206,"85":15104,"24":48,"16":103361819657109504,"45":8915297700149776384},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-07 16:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555996928001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:28:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 16:28:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103361819657109504,"km_value":103361819657109.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915297700149776384,"description":"Unknown IO ID 45"} 
[2026-07-07 16:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555996928001,"power":13276,"unknown_95":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8915297700149776384}} 
[2026-07-07 16:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":126616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:28:47] local.INFO: GPS data processed {"connection_id":126616,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:28:47] local.INFO: Acknowledgment sent {"connection_id":126616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:28:52] local.INFO: TCP Data received {"connection_id":124649,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3a2f50012d0e3cc007070270002400851f..."} 
[2026-07-07 16:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3a2f50012d0e3cc007070270002400851f..."} 
[2026-07-07 16:28:52] local.INFO: Processing buffer {"connection_id":124649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3a2f50012d0e3cc007070270002400851f..."} 
[2026-07-07 16:28:52] local.INFO: Packet analysis {"connection_id":124649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3a"} 
[2026-07-07 16:28:52] local.INFO: Extracted packet for processing {"connection_id":124649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3a"} 
[2026-07-07 16:28:52] local.INFO: GPS Element Parsed {"raw_longitude":755907776,"raw_latitude":117899888,"longitude_deg":75.5907776,"latitude_deg":11.7899888,"altitude":36,"angle":133,"satellites":31,"speed":13,"hex_longitude":"2d0e3cc0","hex_latitude":"07070270","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555999488001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23437365951332352,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025554107827703808,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783421874000,"timestamp_ms":1783421874000,"timestamp_seconds":1783421874,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3a2f50"} 
[2026-07-07 16:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-07-07 16:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555999488001,"66":13602,"219":206,"94":10240,"24":13,"16":23437365951332352,"45":1025554107827703808},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 16:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555999488001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:28:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 16:28:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23437365951332352,"km_value":23437365951332.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025554107827703808,"description":"Unknown IO ID 45"} 
[2026-07-07 16:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555999488001,"power":13602,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1025554107827703808}} 
[2026-07-07 16:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":124649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446414,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:28:52] local.INFO: GPS data processed {"connection_id":124649,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:28:52] local.INFO: Acknowledgment sent {"connection_id":124649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:28:52] local.INFO: TCP Data received {"connection_id":124646,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3ac3c0012d171780072264b0008101120e..."} 
[2026-07-07 16:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3ac3c0012d171780072264b0008101120e..."} 
[2026-07-07 16:28:52] local.INFO: Processing buffer {"connection_id":124646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3ac3c0012d171780072264b0008101120e..."} 
[2026-07-07 16:28:52] local.INFO: Packet analysis {"connection_id":124646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3a"} 
[2026-07-07 16:28:52] local.INFO: Extracted packet for processing {"connection_id":124646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3a"} 
[2026-07-07 16:28:52] local.INFO: GPS Element Parsed {"raw_longitude":756488064,"raw_latitude":119694512,"longitude_deg":75.6488064,"latitude_deg":11.9694512,"altitude":129,"angle":274,"satellites":14,"speed":12,"hex_longitude":"2d171780","hex_latitude":"072264b0","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556009216001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4686517989539840,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1664220830443542528,"note":"Value kept but may cause issues"} 
[2026-07-07 16:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783421912000,"timestamp_ms":1783421912000,"timestamp_seconds":1783421912,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3ac3c0"} 
[2026-07-07 16:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-07 16:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556009216001,"66":13928,"71":206,"28":31744,"24":12,"16":4686517989539840,"45":1664220830443542528},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556009216001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:28:52] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:28:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4686517989539840,"km_value":4686517989539.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1664220830443542528,"description":"Unknown IO ID 45"} 
[2026-07-07 16:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556009216001,"power":13928,"unknown_71":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1664220830443542528}} 
[2026-07-07 16:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":124646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:28:52] local.INFO: GPS data processed {"connection_id":124646,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:28:52] local.INFO: Acknowledgment sent {"connection_id":124646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:28:58] local.INFO: TCP Data received {"connection_id":124555,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:28:58] local.INFO: Processing buffer {"connection_id":124555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:28:58] local.INFO: IMEI packet received {"connection_id":124555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":124555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:28:58] local.INFO: TCP Data received {"connection_id":124556,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:28:59] local.INFO: Processing buffer {"connection_id":124556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:28:59] local.INFO: IMEI packet received {"connection_id":124556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 16:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":124556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:29:03] local.INFO: TCP Data received {"connection_id":124555,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:29:03] local.INFO: Processing buffer {"connection_id":124555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:29:03] local.INFO: IMEI packet received {"connection_id":124555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":124555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:29:05] local.INFO: TCP Data received {"connection_id":124555,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:29:05] local.INFO: Processing buffer {"connection_id":124555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:29:05] local.INFO: Packet analysis {"connection_id":124555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:29:05] local.INFO: Extracted packet for processing {"connection_id":124555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:29:05] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555918336001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638003906173898752,"note":"Value kept but may cause issues"} 
[2026-07-07 16:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783421858000,"timestamp_ms":1783421858000,"timestamp_seconds":1783421858,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c39f0d0"} 
[2026-07-07 16:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 16:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555918336001,"66":26223,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4638003906173898752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555918336001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:29:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:29:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638003906173898752,"description":"Unknown IO ID 45"} 
[2026-07-07 16:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555918336001,"power":26223,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638003906173898752}} 
[2026-07-07 16:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":124555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:29:05] local.INFO: GPS data processed {"connection_id":124555,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:29:05] local.INFO: Acknowledgment sent {"connection_id":124555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:29:10] local.INFO: TCP Data received {"connection_id":126617,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126617,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:29:10] local.INFO: Processing buffer {"connection_id":126617,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:29:10] local.INFO: IMEI packet received {"connection_id":126617,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":126617,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:29:13] local.INFO: TCP Data received {"connection_id":126617,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126617,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:29:13] local.INFO: Processing buffer {"connection_id":126617,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:29:13] local.INFO: IMEI packet received {"connection_id":126617,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":126617,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:29:14] local.INFO: TCP Data received {"connection_id":126617,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3b0a10012d0e3b800706b6e0002000c71e..."} 
[2026-07-07 16:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3b0a10012d0e3b800706b6e0002000c71e..."} 
[2026-07-07 16:29:14] local.INFO: Processing buffer {"connection_id":126617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3b0a10012d0e3b800706b6e0002000c71e..."} 
[2026-07-07 16:29:14] local.INFO: Packet analysis {"connection_id":126617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:29:14] local.INFO: Extracted packet for processing {"connection_id":126617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:29:14] local.INFO: GPS Element Parsed {"raw_longitude":755907456,"raw_latitude":117880544,"longitude_deg":75.5907456,"latitude_deg":11.7880544,"altitude":32,"angle":199,"satellites":30,"speed":25,"hex_longitude":"2d0e3b80","hex_latitude":"0706b6e0","is_valid_coordinates":true} 
[2026-07-07 16:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556011008001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23438323729039360,"note":"Value kept but may cause issues"} 
[2026-07-07 16:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026961482708072448,"note":"Value kept but may cause issues"} 
[2026-07-07 16:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783421930000,"timestamp_ms":1783421930000,"timestamp_seconds":1783421930,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3b0a10"} 
[2026-07-07 16:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:29: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-07-07 16:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 16:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556011008001,"66":14559,"219":206,"94":10240,"24":25,"16":23438323729039360,"45":1026961482708072448},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 16:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556011008001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:29:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 16:29:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23438323729039360,"km_value":23438323729039.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026961482708072448,"description":"Unknown IO ID 45"} 
[2026-07-07 16:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556011008001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":1026961482708072448}} 
[2026-07-07 16:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":126617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446417,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:29:14] local.INFO: GPS data processed {"connection_id":126617,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:29:14] local.INFO: Acknowledgment sent {"connection_id":126617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:29:24] local.INFO: TCP Data received {"connection_id":124646,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3acf78012d171340072265a80084011e0e..."} 
[2026-07-07 16:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3acf78012d171340072265a80084011e0e..."} 
[2026-07-07 16:29:24] local.INFO: Processing buffer {"connection_id":124646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3acf78012d171340072265a80084011e0e..."} 
[2026-07-07 16:29:24] local.INFO: Packet analysis {"connection_id":124646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3a"} 
[2026-07-07 16:29:24] local.INFO: Extracted packet for processing {"connection_id":124646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3a"} 
[2026-07-07 16:29:24] local.INFO: GPS Element Parsed {"raw_longitude":756486976,"raw_latitude":119694760,"longitude_deg":75.6486976,"latitude_deg":11.969476,"altitude":132,"angle":286,"satellites":14,"speed":14,"hex_longitude":"2d171340","hex_latitude":"072265a8","is_valid_coordinates":true} 
[2026-07-07 16:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556009472001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4686569529147392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1663939355466838016,"note":"Value kept but may cause issues"} 
[2026-07-07 16:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783421915000,"timestamp_ms":1783421915000,"timestamp_seconds":1783421915,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3acf78"} 
[2026-07-07 16:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-07 16:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":124646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":124646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":124646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556009472001,"66":13276,"71":206,"28":31744,"24":14,"16":4686569529147392,"45":1663939355466838016},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556009472001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:29:24] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:29:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4686569529147392,"km_value":4686569529147.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1663939355466838016,"description":"Unknown IO ID 45"} 
[2026-07-07 16:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556009472001,"power":13276,"unknown_71":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1663939355466838016}} 
[2026-07-07 16:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":124646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:29:24] local.INFO: GPS data processed {"connection_id":124646,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:29:24] local.INFO: Acknowledgment sent {"connection_id":124646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:29:26] local.INFO: TCP Data received {"connection_id":125363,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:29:26] local.INFO: Processing buffer {"connection_id":125363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:29:26] local.INFO: IMEI packet received {"connection_id":125363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":125363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:29:31] local.INFO: TCP Data received {"connection_id":125363,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:29:31] local.INFO: Processing buffer {"connection_id":125363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:29:31] local.INFO: IMEI packet received {"connection_id":125363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":125363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:29:32] local.INFO: TCP Data received {"connection_id":125363,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3b5448012d7b0ac005e32c48000500d51c..."} 
[2026-07-07 16:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3b5448012d7b0ac005e32c48000500d51c..."} 
[2026-07-07 16:29:32] local.INFO: Processing buffer {"connection_id":125363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3b5448012d7b0ac005e32c48000500d51c..."} 
[2026-07-07 16:29:32] local.INFO: Packet analysis {"connection_id":125363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:29:32] local.INFO: Extracted packet for processing {"connection_id":125363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:29:32] local.INFO: GPS Element Parsed {"raw_longitude":763038400,"raw_latitude":98774088,"longitude_deg":76.30384,"latitude_deg":9.8774088,"altitude":5,"angle":213,"satellites":28,"speed":8,"hex_longitude":"2d7b0ac0","hex_latitude":"05e32c48","is_valid_coordinates":true} 
[2026-07-07 16:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556018688001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103365539098787840,"note":"Value kept but may cause issues"} 
[2026-07-07 16:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866250685439334400,"note":"Value kept but may cause issues"} 
[2026-07-07 16:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783421949000,"timestamp_ms":1783421949000,"timestamp_seconds":1783421949,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3b5448"} 
[2026-07-07 16:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-07 16:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556018688001,"66":12885,"95":206,"85":15104,"24":8,"16":103365539098787840,"45":8866250685439334400},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-07 16:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556018688001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:29:32] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 16:29:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103365539098787840,"km_value":103365539098787.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866250685439334400,"description":"Unknown IO ID 45"} 
[2026-07-07 16:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556018688001,"power":12885,"unknown_95":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8866250685439334400}} 
[2026-07-07 16:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":125363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:29:32] local.INFO: GPS data processed {"connection_id":125363,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:29:32] local.INFO: Acknowledgment sent {"connection_id":125363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:29:36] local.INFO: TCP Data received {"connection_id":124555,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:29:36] local.INFO: Processing buffer {"connection_id":124555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:29:36] local.INFO: Packet analysis {"connection_id":124555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:29:36] local.INFO: Extracted packet for processing {"connection_id":124555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:29:36] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555918336001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638003906173898752,"note":"Value kept but may cause issues"} 
[2026-07-07 16:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783421858000,"timestamp_ms":1783421858000,"timestamp_seconds":1783421858,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c39f0d0"} 
[2026-07-07 16:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 16:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555918336001,"66":26223,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4638003906173898752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555918336001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:29:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:29:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638003906173898752,"description":"Unknown IO ID 45"} 
[2026-07-07 16:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555918336001,"power":26223,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638003906173898752}} 
[2026-07-07 16:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":124555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:29:36] local.INFO: GPS data processed {"connection_id":124555,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:29:36] local.INFO: Acknowledgment sent {"connection_id":124555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:29:45] local.INFO: TCP Data received {"connection_id":126617,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3b96b0012d0e28c007068120001e01271f..."} 
[2026-07-07 16:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3b96b0012d0e28c007068120001e01271f..."} 
[2026-07-07 16:29:45] local.INFO: Processing buffer {"connection_id":126617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3b96b0012d0e28c007068120001e01271f..."} 
[2026-07-07 16:29:45] local.INFO: Packet analysis {"connection_id":126617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:29:45] local.INFO: Extracted packet for processing {"connection_id":126617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:29:45] local.INFO: GPS Element Parsed {"raw_longitude":755902656,"raw_latitude":117866784,"longitude_deg":75.5902656,"latitude_deg":11.7866784,"altitude":30,"angle":295,"satellites":31,"speed":7,"hex_longitude":"2d0e28c0","hex_latitude":"07068120","is_valid_coordinates":true} 
[2026-07-07 16:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556023040001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23439101118119936,"note":"Value kept but may cause issues"} 
[2026-07-07 16:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020417189494185984,"note":"Value kept but may cause issues"} 
[2026-07-07 16:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783421966000,"timestamp_ms":1783421966000,"timestamp_seconds":1783421966,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3b96b0"} 
[2026-07-07 16:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 16:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":126617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":126617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":126617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556023040001,"66":14396,"219":206,"94":10240,"24":7,"16":23439101118119936,"45":1020417189494185984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 16:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556023040001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:29:45] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 16:29:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23439101118119936,"km_value":23439101118119.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020417189494185984,"description":"Unknown IO ID 45"} 
[2026-07-07 16:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556023040001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1020417189494185984}} 
[2026-07-07 16:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":126617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446421,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:29:46] local.INFO: GPS data processed {"connection_id":126617,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:29:46] local.INFO: Acknowledgment sent {"connection_id":126617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:29:58] local.INFO: TCP Data received {"connection_id":124557,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:29:58] local.INFO: Processing buffer {"connection_id":124557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:29:58] local.INFO: IMEI packet received {"connection_id":124557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":124557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:30:03] local.INFO: TCP Data received {"connection_id":125363,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3b5c18012d7b0a4005e32bb0000400e31b..."} 
[2026-07-07 16:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3b5c18012d7b0a4005e32bb0000400e31b..."} 
[2026-07-07 16:30:03] local.INFO: Processing buffer {"connection_id":125363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3b5c18012d7b0a4005e32bb0000400e31b..."} 
[2026-07-07 16:30:03] local.INFO: Packet analysis {"connection_id":125363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:30:03] local.INFO: Extracted packet for processing {"connection_id":125363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:30:03] local.INFO: GPS Element Parsed {"raw_longitude":763038272,"raw_latitude":98773936,"longitude_deg":76.3038272,"latitude_deg":9.8773936,"altitude":4,"angle":227,"satellites":27,"speed":5,"hex_longitude":"2d7b0a40","hex_latitude":"05e32bb0","is_valid_coordinates":true} 
[2026-07-07 16:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556018944001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103365551983689728,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866109947950942208,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783421951000,"timestamp_ms":1783421951000,"timestamp_seconds":1783421951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3b5c18"} 
[2026-07-07 16:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-07 16:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:30: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-07-07 16:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556018944001,"66":12504,"95":206,"85":15104,"24":5,"16":103365551983689728,"45":8866109947950942208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-07 16:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556018944001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:30:03] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 16:30:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103365551983689728,"km_value":103365551983689.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866109947950942208,"description":"Unknown IO ID 45"} 
[2026-07-07 16:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556018944001,"power":12504,"unknown_95":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8866109947950942208}} 
[2026-07-07 16:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":125363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:30:03] local.INFO: GPS data processed {"connection_id":125363,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:30:03] local.INFO: Acknowledgment sent {"connection_id":125363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:30:05] local.INFO: TCP Data received {"connection_id":124557,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:30:05] local.INFO: Processing buffer {"connection_id":124557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:30:05] local.INFO: IMEI packet received {"connection_id":124557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":124557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:30:06] local.INFO: TCP Data received {"connection_id":124557,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:30:06] local.INFO: Processing buffer {"connection_id":124557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:30:06] local.INFO: Packet analysis {"connection_id":124557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:30:06] local.INFO: Extracted packet for processing {"connection_id":124557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:30:06] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555918336001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638003906173898752,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783421858000,"timestamp_ms":1783421858000,"timestamp_seconds":1783421858,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c39f0d0"} 
[2026-07-07 16:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:30: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-07-07 16:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 16:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:30: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-07-07 16:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555918336001,"66":26223,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4638003906173898752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555918336001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:30:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:30:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638003906173898752,"description":"Unknown IO ID 45"} 
[2026-07-07 16:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555918336001,"power":26223,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638003906173898752}} 
[2026-07-07 16:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":124557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:30:06] local.INFO: GPS data processed {"connection_id":124557,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:30:06] local.INFO: Acknowledgment sent {"connection_id":124557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:30:07] local.INFO: TCP Data received {"connection_id":126618,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:30:07] local.INFO: Processing buffer {"connection_id":126618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:30:07] local.INFO: IMEI packet received {"connection_id":126618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":126618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:30:08] local.INFO: TCP Data received {"connection_id":126618,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:30:08] local.INFO: Processing buffer {"connection_id":126618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:30:08] local.INFO: IMEI packet received {"connection_id":126618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":126618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:30:10] local.INFO: TCP Data received {"connection_id":125364,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:30:10] local.INFO: Processing buffer {"connection_id":125364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:30:10] local.INFO: IMEI packet received {"connection_id":125364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":125364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:30:12] local.INFO: TCP Data received {"connection_id":126618,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:30:12] local.INFO: Processing buffer {"connection_id":126618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:30:12] local.INFO: IMEI packet received {"connection_id":126618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":126618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:30:13] local.INFO: TCP Data received {"connection_id":126618,"ip":"117.224.183.97","data_length":1360,"data_hex":"000000000000030f8e0a0000019f3c3ad360012d1711c0072266680084012c0e..."} 
[2026-07-07 16:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126618,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019f3c3ad360012d1711c0072266680084012c0e..."} 
[2026-07-07 16:30:13] local.INFO: Processing buffer {"connection_id":126618,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019f3c3ad360012d1711c0072266680084012c0e..."} 
[2026-07-07 16:30:13] local.INFO: Packet analysis {"connection_id":126618,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019f3c3a"} 
[2026-07-07 16:30:13] local.INFO: Extracted packet for processing {"connection_id":126618,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f3c3a"} 
[2026-07-07 16:30:13] local.INFO: GPS Element Parsed {"raw_longitude":756486592,"raw_latitude":119694952,"longitude_deg":75.6486592,"latitude_deg":11.9694952,"altitude":132,"angle":300,"satellites":14,"speed":15,"hex_longitude":"2d1711c0","hex_latitude":"07226668","is_valid_coordinates":true} 
[2026-07-07 16:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556010240001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4686591003983872,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1662743086815881216,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783421916000,"timestamp_ms":1783421916000,"timestamp_seconds":1783421916,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3ad360"} 
[2026-07-07 16:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 16:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556010240001,"66":13276,"71":206,"28":31744,"24":15,"16":4686591003983872,"45":1662743086815881216},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556010240001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:30:13] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:30:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4686591003983872,"km_value":4686591003983.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1662743086815881216,"description":"Unknown IO ID 45"} 
[2026-07-07 16:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556010240001,"power":13276,"unknown_71":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1662743086815881216}} 
[2026-07-07 16:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":126618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:30:13] local.INFO: GPS data processed {"connection_id":126618,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:30:13] local.INFO: Acknowledgment sent {"connection_id":126618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:30:13] local.INFO: Packet analysis {"connection_id":126618,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:30:13] local.INFO: Incomplete packet, waiting for more data {"connection_id":126618,"needed":795,"available":565} 
[2026-07-07 16:30:14] local.INFO: TCP Data received {"connection_id":125364,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:30:14] local.INFO: Processing buffer {"connection_id":125364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:30:14] local.INFO: IMEI packet received {"connection_id":125364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":125364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:30:14] local.INFO: TCP Data received {"connection_id":126618,"ip":"117.224.183.97","data_length":230,"data_hex":"2d171f8007226818007b010a0e00070000000a000400ef0100711c00f0010045..."} 
[2026-07-07 16:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126618,"packet_length":230,"packet_hex":"2d171f8007226818007b010a0e00070000000a000400ef0100711c00f0010045..."} 
[2026-07-07 16:30:14] local.INFO: Processing buffer {"connection_id":126618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3b0df8012d16fe40072272280086011a0e..."} 
[2026-07-07 16:30:14] local.INFO: Packet analysis {"connection_id":126618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:30:14] local.INFO: Extracted packet for processing {"connection_id":126618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:30:14] local.INFO: GPS Element Parsed {"raw_longitude":756481600,"raw_latitude":119697960,"longitude_deg":75.64816,"latitude_deg":11.969796,"altitude":134,"angle":282,"satellites":14,"speed":8,"hex_longitude":"2d16fe40","hex_latitude":"07227228","is_valid_coordinates":true} 
[2026-07-07 16:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556010496001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4686870176858112,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1662320874350864384,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783421931000,"timestamp_ms":1783421931000,"timestamp_seconds":1783421931,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3b0df8"} 
[2026-07-07 16:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 16:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556010496001,"66":13798,"71":206,"28":31744,"24":8,"16":4686870176858112,"45":1662320874350864384},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556010496001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:30:14] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:30:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4686870176858112,"km_value":4686870176858.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1662320874350864384,"description":"Unknown IO ID 45"} 
[2026-07-07 16:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556010496001,"power":13798,"unknown_71":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1662320874350864384}} 
[2026-07-07 16:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":126618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:30:14] local.INFO: GPS data processed {"connection_id":126618,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:30:14] local.INFO: Acknowledgment sent {"connection_id":126618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:30:14] local.INFO: TCP Data received {"connection_id":125364,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3bb9d8012d0e1a4007068610001c01171f..."} 
[2026-07-07 16:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3bb9d8012d0e1a4007068610001c01171f..."} 
[2026-07-07 16:30:14] local.INFO: Processing buffer {"connection_id":125364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3bb9d8012d0e1a4007068610001c01171f..."} 
[2026-07-07 16:30:14] local.INFO: Packet analysis {"connection_id":125364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:30:14] local.INFO: Extracted packet for processing {"connection_id":125364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:30:14] local.INFO: GPS Element Parsed {"raw_longitude":755898944,"raw_latitude":117868048,"longitude_deg":75.5898944,"latitude_deg":11.7868048,"altitude":28,"angle":279,"satellites":31,"speed":18,"hex_longitude":"2d0e1a40","hex_latitude":"07068610","is_valid_coordinates":true} 
[2026-07-07 16:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556023296001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23439285801713664,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020276452005847040,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783421975000,"timestamp_ms":1783421975000,"timestamp_seconds":1783421975,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3bb9d8"} 
[2026-07-07 16:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 16:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556023296001,"66":14515,"219":206,"94":10240,"24":18,"16":23439285801713664,"45":1020276452005847040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 16:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556023296001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:30:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 16:30:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23439285801713664,"km_value":23439285801713.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020276452005847040,"description":"Unknown IO ID 45"} 
[2026-07-07 16:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556023296001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":1020276452005847040}} 
[2026-07-07 16:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":125364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446426,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:30:15] local.INFO: GPS data processed {"connection_id":125364,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:30:15] local.INFO: Acknowledgment sent {"connection_id":125364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:30:15] local.INFO: TCP Data received {"connection_id":126618,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3b15c8012d16fc40072272300086010e0e..."} 
[2026-07-07 16:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3b15c8012d16fc40072272300086010e0e..."} 
[2026-07-07 16:30:15] local.INFO: Processing buffer {"connection_id":126618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3b15c8012d16fc40072272300086010e0e..."} 
[2026-07-07 16:30:15] local.INFO: Packet analysis {"connection_id":126618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:30:15] local.INFO: Extracted packet for processing {"connection_id":126618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756481088,"raw_latitude":119697968,"longitude_deg":75.6481088,"latitude_deg":11.9697968,"altitude":134,"angle":270,"satellites":14,"speed":7,"hex_longitude":"2d16fc40","hex_latitude":"07227230","is_valid_coordinates":true} 
[2026-07-07 16:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556014336001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4686895946661888,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1656832112305776640,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783421933000,"timestamp_ms":1783421933000,"timestamp_seconds":1783421933,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3b15c8"} 
[2026-07-07 16:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-07 16:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556014336001,"66":13863,"71":206,"28":31744,"24":7,"16":4686895946661888,"45":1656832112305776640},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556014336001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:30:15] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:30:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4686895946661888,"km_value":4686895946661.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1656832112305776640,"description":"Unknown IO ID 45"} 
[2026-07-07 16:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556014336001,"power":13863,"unknown_71":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1656832112305776640}} 
[2026-07-07 16:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":126618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:30:15] local.INFO: GPS data processed {"connection_id":126618,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:30:15] local.INFO: Acknowledgment sent {"connection_id":126618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:30:31] local.INFO: TCP Data received {"connection_id":126619,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:30:31] local.INFO: Processing buffer {"connection_id":126619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:30:31] local.INFO: IMEI packet received {"connection_id":126619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":126619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:30:35] local.INFO: TCP Data received {"connection_id":126619,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:30:35] local.INFO: Processing buffer {"connection_id":126619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:30:35] local.INFO: IMEI packet received {"connection_id":126619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":126619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:30:36] local.INFO: TCP Data received {"connection_id":126619,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3b63e8012d7b094005e32bd80004010d1c..."} 
[2026-07-07 16:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3b63e8012d7b094005e32bd80004010d1c..."} 
[2026-07-07 16:30:36] local.INFO: Processing buffer {"connection_id":126619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3b63e8012d7b094005e32bd80004010d1c..."} 
[2026-07-07 16:30:36] local.INFO: Packet analysis {"connection_id":126619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:30:36] local.INFO: Extracted packet for processing {"connection_id":126619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:30:36] local.INFO: GPS Element Parsed {"raw_longitude":763038016,"raw_latitude":98773976,"longitude_deg":76.3038016,"latitude_deg":9.8773976,"altitude":4,"angle":269,"satellites":28,"speed":6,"hex_longitude":"2d7b0940","hex_latitude":"05e32bd8","is_valid_coordinates":true} 
[2026-07-07 16:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556019456001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103365560573624320,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865969210462547968,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783421953000,"timestamp_ms":1783421953000,"timestamp_seconds":1783421953,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3b63e8"} 
[2026-07-07 16:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 16:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:30: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-07-07 16:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556019456001,"66":12526,"95":206,"85":15104,"24":6,"16":103365560573624320,"45":8865969210462547968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-07 16:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556019456001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:30:36] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 16:30:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103365560573624320,"km_value":103365560573624.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865969210462547968,"description":"Unknown IO ID 45"} 
[2026-07-07 16:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556019456001,"power":12526,"unknown_95":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8865969210462547968}} 
[2026-07-07 16:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":126619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:30:36] local.INFO: GPS data processed {"connection_id":126619,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:30:36] local.INFO: Acknowledgment sent {"connection_id":126619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:30:37] local.INFO: TCP Data received {"connection_id":126619,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3b67d0012d7b090005e32c20000401191b..."} 
[2026-07-07 16:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3b67d0012d7b090005e32c20000401191b..."} 
[2026-07-07 16:30:37] local.INFO: Processing buffer {"connection_id":126619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3b67d0012d7b090005e32c20000401191b..."} 
[2026-07-07 16:30:37] local.INFO: Packet analysis {"connection_id":126619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:30:37] local.INFO: Extracted packet for processing {"connection_id":126619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:30:37] local.INFO: GPS Element Parsed {"raw_longitude":763037952,"raw_latitude":98774048,"longitude_deg":76.3037952,"latitude_deg":9.8774048,"altitude":4,"angle":281,"satellites":27,"speed":6,"hex_longitude":"2d7b0900","hex_latitude":"05e32c20","is_valid_coordinates":true} 
[2026-07-07 16:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556019968001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103365569163558912,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865687735485847552,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783421954000,"timestamp_ms":1783421954000,"timestamp_seconds":1783421954,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3b67d0"} 
[2026-07-07 16:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-07 16:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16: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-07-07 16:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556019968001,"66":12526,"95":206,"85":15104,"24":6,"16":103365569163558912,"45":8865687735485847552},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-07 16:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556019968001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:30:37] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 16:30:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103365569163558912,"km_value":103365569163558.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865687735485847552,"description":"Unknown IO ID 45"} 
[2026-07-07 16:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556019968001,"power":12526,"unknown_95":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8865687735485847552}} 
[2026-07-07 16:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":126619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:30:37] local.INFO: GPS data processed {"connection_id":126619,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:30:37] local.INFO: Acknowledgment sent {"connection_id":126619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:30:45] local.INFO: TCP Data received {"connection_id":125364,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3cbba8012d0e014007069018001f000c20..."} 
[2026-07-07 16:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3cbba8012d0e014007069018001f000c20..."} 
[2026-07-07 16:30:45] local.INFO: Processing buffer {"connection_id":125364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3cbba8012d0e014007069018001f000c20..."} 
[2026-07-07 16:30:45] local.INFO: Packet analysis {"connection_id":125364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3c"} 
[2026-07-07 16:30:45] local.INFO: Extracted packet for processing {"connection_id":125364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3c"} 
[2026-07-07 16:30:45] local.INFO: GPS Element Parsed {"raw_longitude":755892544,"raw_latitude":117870616,"longitude_deg":75.5892544,"latitude_deg":11.7870616,"altitude":31,"angle":12,"satellites":32,"speed":7,"hex_longitude":"2d0e0140","hex_latitude":"07069018","is_valid_coordinates":true} 
[2026-07-07 16:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556042240001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23439685233672192,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009158190426705920,"note":"Value kept but may cause issues"} 
[2026-07-07 16:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783422041000,"timestamp_ms":1783422041000,"timestamp_seconds":1783422041,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3cbba8"} 
[2026-07-07 16:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-07 16:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":125364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":125364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":125364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556042240001,"66":14396,"219":206,"94":10240,"24":7,"16":23439685233672192,"45":1009158190426705920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-07 16:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556042240001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:30:45] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-07 16:30:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23439685233672192,"km_value":23439685233672.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009158190426705920,"description":"Unknown IO ID 45"} 
[2026-07-07 16:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556042240001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1009158190426705920}} 
[2026-07-07 16:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":125364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446430,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:30:46] local.INFO: GPS data processed {"connection_id":125364,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:30:46] local.INFO: Acknowledgment sent {"connection_id":125364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:31:02] local.INFO: TCP Data received {"connection_id":126620,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:31:02] local.INFO: Processing buffer {"connection_id":126620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:31:02] local.INFO: IMEI packet received {"connection_id":126620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":126620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:31:03] local.INFO: TCP Data received {"connection_id":124650,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:31:03] local.INFO: Processing buffer {"connection_id":124650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:31:03] local.INFO: IMEI packet received {"connection_id":124650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":124650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:31:04] local.INFO: TCP Data received {"connection_id":126620,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:31:04] local.INFO: Processing buffer {"connection_id":126620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:31:04] local.INFO: IMEI packet received {"connection_id":126620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":126620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:31:07] local.INFO: TCP Data received {"connection_id":126620,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:31:07] local.INFO: Processing buffer {"connection_id":126620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:31:07] local.INFO: IMEI packet received {"connection_id":126620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":126620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:31:08] local.INFO: TCP Data received {"connection_id":124559,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124559,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:31:08] local.INFO: Processing buffer {"connection_id":124559,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:31:08] local.INFO: IMEI packet received {"connection_id":124559,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":124559,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:31:08] local.INFO: TCP Data received {"connection_id":126620,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3b5448012d16fa0007227128008400dd0e..."} 
[2026-07-07 16:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3b5448012d16fa0007227128008400dd0e..."} 
[2026-07-07 16:31:08] local.INFO: Processing buffer {"connection_id":126620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3b5448012d16fa0007227128008400dd0e..."} 
[2026-07-07 16:31:08] local.INFO: Packet analysis {"connection_id":126620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:31:08] local.INFO: Extracted packet for processing {"connection_id":126620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:31:08] local.INFO: GPS Element Parsed {"raw_longitude":756480512,"raw_latitude":119697704,"longitude_deg":75.6480512,"latitude_deg":11.9697704,"altitude":132,"angle":221,"satellites":14,"speed":2,"hex_longitude":"2d16fa00","hex_latitude":"07227128","is_valid_coordinates":true} 
[2026-07-07 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-07-07 16:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556014848001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4686930306400256,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1656269162352357376,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783421949000,"timestamp_ms":1783421949000,"timestamp_seconds":1783421949,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3b5448"} 
[2026-07-07 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-07-07 16:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-07-07 16:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 16:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556014848001,"66":13993,"71":206,"28":31744,"24":2,"16":4686930306400256,"45":1656269162352357376},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556014848001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:31:08] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:31:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4686930306400256,"km_value":4686930306400.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1656269162352357376,"description":"Unknown IO ID 45"} 
[2026-07-07 16:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556014848001,"power":13993,"unknown_71":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1656269162352357376}} 
[2026-07-07 16:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":126620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:31:08] local.INFO: GPS data processed {"connection_id":126620,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:31:08] local.INFO: Acknowledgment sent {"connection_id":126620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:31:09] local.INFO: TCP Data received {"connection_id":124650,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:31:09] local.INFO: Processing buffer {"connection_id":124650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:31:09] local.INFO: IMEI packet received {"connection_id":124650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":124650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:31:09] local.INFO: TCP Data received {"connection_id":126619,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3b6fa0012d7b088005e32d88000401501b..."} 
[2026-07-07 16:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3b6fa0012d7b088005e32d88000401501b..."} 
[2026-07-07 16:31:09] local.INFO: Processing buffer {"connection_id":126619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3b6fa0012d7b088005e32d88000401501b..."} 
[2026-07-07 16:31:09] local.INFO: Packet analysis {"connection_id":126619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:31:09] local.INFO: Extracted packet for processing {"connection_id":126619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:31:09] local.INFO: GPS Element Parsed {"raw_longitude":763037824,"raw_latitude":98774408,"longitude_deg":76.3037824,"latitude_deg":9.8774408,"altitude":4,"angle":336,"satellites":27,"speed":6,"hex_longitude":"2d7b0880","hex_latitude":"05e32d88","is_valid_coordinates":true} 
[2026-07-07 16:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556020224001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103365586343428096,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865617366741688320,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783421956000,"timestamp_ms":1783421956000,"timestamp_seconds":1783421956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3b6fa0"} 
[2026-07-07 16:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-07 16:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:31: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-07-07 16:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556020224001,"66":12678,"95":206,"85":15104,"24":6,"16":103365586343428096,"45":8865617366741688320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-07 16:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556020224001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:31:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 16:31:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103365586343428096,"km_value":103365586343428.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865617366741688320,"description":"Unknown IO ID 45"} 
[2026-07-07 16:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556020224001,"power":12678,"unknown_95":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8865617366741688320}} 
[2026-07-07 16:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":126619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:31:09] local.INFO: GPS data processed {"connection_id":126619,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:31:09] local.INFO: Acknowledgment sent {"connection_id":126619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:31:09] local.INFO: TCP Data received {"connection_id":124559,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124559,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:31:09] local.INFO: Processing buffer {"connection_id":124559,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:31:09] local.INFO: IMEI packet received {"connection_id":124559,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":124559,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:31:09] local.INFO: TCP Data received {"connection_id":124650,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:31:10] local.INFO: Processing buffer {"connection_id":124650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:31:10] local.INFO: Packet analysis {"connection_id":124650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:31:10] local.INFO: Extracted packet for processing {"connection_id":124650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:31:10] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555918336001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638003906173898752,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783421858000,"timestamp_ms":1783421858000,"timestamp_seconds":1783421858,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c39f0d0"} 
[2026-07-07 16:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 16:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555918336001,"66":26223,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4638003906173898752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555918336001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:31:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:31:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638003906173898752,"description":"Unknown IO ID 45"} 
[2026-07-07 16:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555918336001,"power":26223,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638003906173898752}} 
[2026-07-07 16:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":124650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:31:10] local.INFO: GPS data processed {"connection_id":124650,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:31:10] local.INFO: Acknowledgment sent {"connection_id":124650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:31:10] local.INFO: TCP Data received {"connection_id":124559,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124559,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:31:10] local.INFO: Processing buffer {"connection_id":124559,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:31:10] local.INFO: IMEI packet received {"connection_id":124559,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":124559,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:31:11] local.INFO: TCP Data received {"connection_id":124559,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124559,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:31:11] local.INFO: Processing buffer {"connection_id":124559,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:31:11] local.INFO: IMEI packet received {"connection_id":124559,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":124559,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:31:12] local.INFO: TCP Data received {"connection_id":124557,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:31:12] local.INFO: Processing buffer {"connection_id":124557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:31:12] local.INFO: Packet analysis {"connection_id":124557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:31:12] local.INFO: Extracted packet for processing {"connection_id":124557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:31:12] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555918336001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638003906173898752,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783421858000,"timestamp_ms":1783421858000,"timestamp_seconds":1783421858,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c39f0d0"} 
[2026-07-07 16:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:31: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-07-07 16: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":146,"data_length":795,"current_offset":136} 
[2026-07-07 16:31: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-07-07 16:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555918336001,"66":26223,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4638003906173898752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555918336001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:31:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:31:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638003906173898752,"description":"Unknown IO ID 45"} 
[2026-07-07 16:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555918336001,"power":26223,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638003906173898752}} 
[2026-07-07 16:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":124557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:31:12] local.INFO: GPS data processed {"connection_id":124557,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:31:12] local.INFO: Acknowledgment sent {"connection_id":124557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:31:13] local.INFO: TCP Data received {"connection_id":126620,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3b63e8012d16f94007226fe8008300d20e..."} 
[2026-07-07 16:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3b63e8012d16f94007226fe8008300d20e..."} 
[2026-07-07 16:31:13] local.INFO: Processing buffer {"connection_id":126620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3b63e8012d16f94007226fe8008300d20e..."} 
[2026-07-07 16:31:13] local.INFO: Packet analysis {"connection_id":126620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:31:13] local.INFO: Extracted packet for processing {"connection_id":126620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:31:13] local.INFO: GPS Element Parsed {"raw_longitude":756480320,"raw_latitude":119697384,"longitude_deg":75.648032,"latitude_deg":11.9697384,"altitude":131,"angle":210,"satellites":14,"speed":3,"hex_longitude":"2d16f940","hex_latitude":"07226fe8","is_valid_coordinates":true} 
[2026-07-07 16:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556018944001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4686947486269440,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1655635843654690816,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783421953000,"timestamp_ms":1783421953000,"timestamp_seconds":1783421953,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3b63e8"} 
[2026-07-07 16:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-07 16:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556018944001,"66":13961,"71":206,"28":31744,"24":3,"16":4686947486269440,"45":1655635843654690816},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556018944001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:31:13] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:31:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4686947486269440,"km_value":4686947486269.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1655635843654690816,"description":"Unknown IO ID 45"} 
[2026-07-07 16:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556018944001,"power":13961,"unknown_71":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1655635843654690816}} 
[2026-07-07 16:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":126620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:31:13] local.INFO: GPS data processed {"connection_id":126620,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:31:13] local.INFO: Acknowledgment sent {"connection_id":126620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:31:13] local.INFO: TCP Data received {"connection_id":124650,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:31:13] local.INFO: Processing buffer {"connection_id":124650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:31:13] local.INFO: Packet analysis {"connection_id":124650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:31:13] local.INFO: Extracted packet for processing {"connection_id":124650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:31:13] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555918336001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638003906173898752,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783421858000,"timestamp_ms":1783421858000,"timestamp_seconds":1783421858,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c39f0d0"} 
[2026-07-07 16:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:31: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-07-07 16:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 16:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555918336001,"66":26223,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4638003906173898752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555918336001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:31:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:31:14] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638003906173898752,"description":"Unknown IO ID 45"} 
[2026-07-07 16:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555918336001,"power":26223,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638003906173898752}} 
[2026-07-07 16:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":124650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:31:14] local.INFO: GPS data processed {"connection_id":124650,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:31:14] local.INFO: Acknowledgment sent {"connection_id":124650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:31:26] local.INFO: TCP Data received {"connection_id":124651,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:31:26] local.INFO: Processing buffer {"connection_id":124651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:31:26] local.INFO: IMEI packet received {"connection_id":124651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":124651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:31:26] local.INFO: TCP Data received {"connection_id":124651,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:31:26] local.INFO: Processing buffer {"connection_id":124651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:31:26] local.INFO: IMEI packet received {"connection_id":124651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":124651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:31:31] local.INFO: TCP Data received {"connection_id":124651,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:31:31] local.INFO: Processing buffer {"connection_id":124651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:31:31] local.INFO: IMEI packet received {"connection_id":124651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":124651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:31:32] local.INFO: TCP Data received {"connection_id":124651,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3b7770012d7b080005e32fb80004015c19..."} 
[2026-07-07 16:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3b7770012d7b080005e32fb80004015c19..."} 
[2026-07-07 16:31:32] local.INFO: Processing buffer {"connection_id":124651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3b7770012d7b080005e32fb80004015c19..."} 
[2026-07-07 16:31:32] local.INFO: Packet analysis {"connection_id":124651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:31:32] local.INFO: Extracted packet for processing {"connection_id":124651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:31:32] local.INFO: GPS Element Parsed {"raw_longitude":763037696,"raw_latitude":98774968,"longitude_deg":76.3037696,"latitude_deg":9.8774968,"altitude":4,"angle":348,"satellites":25,"speed":11,"hex_longitude":"2d7b0800","hex_latitude":"05e32fb8","is_valid_coordinates":true} 
[2026-07-07 16:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556020736001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103365612113231872,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865476629253425152,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783421958000,"timestamp_ms":1783421958000,"timestamp_seconds":1783421958,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3b7770"} 
[2026-07-07 16:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-07 16:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556020736001,"66":13243,"95":206,"85":15104,"24":11,"16":103365612113231872,"45":8865476629253425152},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-07 16:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556020736001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:31:32] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 16:31:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103365612113231872,"km_value":103365612113231.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865476629253425152,"description":"Unknown IO ID 45"} 
[2026-07-07 16:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556020736001,"power":13243,"unknown_95":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8865476629253425152}} 
[2026-07-07 16:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":124651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:31:32] local.INFO: GPS data processed {"connection_id":124651,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:31:32] local.INFO: Acknowledgment sent {"connection_id":124651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:31:45] local.INFO: TCP Data received {"connection_id":126620,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3b96b0012d16f400072268d0007f00e70e..."} 
[2026-07-07 16:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3b96b0012d16f400072268d0007f00e70e..."} 
[2026-07-07 16:31:45] local.INFO: Processing buffer {"connection_id":126620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3b96b0012d16f400072268d0007f00e70e..."} 
[2026-07-07 16:31:45] local.INFO: Packet analysis {"connection_id":126620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:31:45] local.INFO: Extracted packet for processing {"connection_id":126620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:31:45] local.INFO: GPS Element Parsed {"raw_longitude":756478976,"raw_latitude":119695568,"longitude_deg":75.6478976,"latitude_deg":11.9695568,"altitude":127,"angle":231,"satellites":14,"speed":2,"hex_longitude":"2d16f400","hex_latitude":"072268d0","is_valid_coordinates":true} 
[2026-07-07 16:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556019968001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4687059155419136,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1655424737422075904,"note":"Value kept but may cause issues"} 
[2026-07-07 16:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783421966000,"timestamp_ms":1783421966000,"timestamp_seconds":1783421966,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3b96b0"} 
[2026-07-07 16:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-07 16:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":126620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":126620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":126620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556019968001,"66":14102,"71":206,"28":31744,"24":2,"16":4687059155419136,"45":1655424737422075904},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556019968001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:31:45] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:31:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4687059155419136,"km_value":4687059155419.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1655424737422075904,"description":"Unknown IO ID 45"} 
[2026-07-07 16:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556019968001,"power":14102,"unknown_71":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1655424737422075904}} 
[2026-07-07 16:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":126620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:31:45] local.INFO: GPS data processed {"connection_id":126620,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:31:45] local.INFO: Acknowledgment sent {"connection_id":126620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:31:59] local.INFO: TCP Data received {"connection_id":124560,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:31:59] local.INFO: Processing buffer {"connection_id":124560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:31:59] local.INFO: IMEI packet received {"connection_id":124560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":124560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:32:02] local.INFO: TCP Data received {"connection_id":125366,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:32:02] local.INFO: Processing buffer {"connection_id":125366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:32:02] local.INFO: IMEI packet received {"connection_id":125366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":125366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:32:04] local.INFO: TCP Data received {"connection_id":124560,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:32:04] local.INFO: Processing buffer {"connection_id":124560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:32:04] local.INFO: IMEI packet received {"connection_id":124560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":124560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:32:05] local.INFO: TCP Data received {"connection_id":124651,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3dbd78012d7aca0005e410f80007011029..."} 
[2026-07-07 16:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3dbd78012d7aca0005e410f80007011029..."} 
[2026-07-07 16:32:05] local.INFO: Processing buffer {"connection_id":124651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3dbd78012d7aca0005e410f80007011029..."} 
[2026-07-07 16:32:05] local.INFO: Packet analysis {"connection_id":124651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3d"} 
[2026-07-07 16:32:05] local.INFO: Extracted packet for processing {"connection_id":124651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3d"} 
[2026-07-07 16:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763021824,"raw_latitude":98832632,"longitude_deg":76.3021824,"latitude_deg":9.8832632,"altitude":7,"angle":272,"satellites":41,"speed":8,"hex_longitude":"2d7aca00","hex_latitude":"05e410f8","is_valid_coordinates":true} 
[2026-07-07 16:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556059136001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103368541280927744,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848165918200614912,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783422107000,"timestamp_ms":1783422107000,"timestamp_seconds":1783422107,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3dbd78"} 
[2026-07-07 16:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 16:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:32: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-07-07 16:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556059136001,"66":12863,"97":206,"85":15104,"24":8,"16":103368541280927744,"45":8848165918200614912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556059136001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:32:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:32:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103368541280927744,"km_value":103368541280927.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848165918200614912,"description":"Unknown IO ID 45"} 
[2026-07-07 16:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556059136001,"power":12863,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8848165918200614912}} 
[2026-07-07 16:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":124651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:32:05] local.INFO: GPS data processed {"connection_id":124651,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:32:05] local.INFO: Acknowledgment sent {"connection_id":124651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:32:08] local.INFO: TCP Data received {"connection_id":125366,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:32:08] local.INFO: Processing buffer {"connection_id":125366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:32:08] local.INFO: IMEI packet received {"connection_id":125366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":125366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:32:09] local.INFO: TCP Data received {"connection_id":125366,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3be8b8012d16f34007226890007f00ee0e..."} 
[2026-07-07 16:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3be8b8012d16f34007226890007f00ee0e..."} 
[2026-07-07 16:32:09] local.INFO: Processing buffer {"connection_id":125366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3be8b8012d16f34007226890007f00ee0e..."} 
[2026-07-07 16:32:09] local.INFO: Packet analysis {"connection_id":125366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:32:09] local.INFO: Extracted packet for processing {"connection_id":125366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3b"} 
[2026-07-07 16:32:09] local.INFO: GPS Element Parsed {"raw_longitude":756478784,"raw_latitude":119695504,"longitude_deg":75.6478784,"latitude_deg":11.9695504,"altitude":127,"angle":238,"satellites":14,"speed":0,"hex_longitude":"2d16f340","hex_latitude":"07226890","is_valid_coordinates":true} 
[2026-07-07 16:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556023296001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4687072040321024,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653946993793880064,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783421987000,"timestamp_ms":1783421987000,"timestamp_seconds":1783421987,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3be8b8"} 
[2026-07-07 16:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-07 16:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556023296001,"66":13961,"71":206,"28":31744,"24":0,"16":4687072040321024,"45":1653946993793880064},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556023296001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:32:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:32:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4687072040321024,"km_value":4687072040321.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653946993793880064,"description":"Unknown IO ID 45"} 
[2026-07-07 16:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556023296001,"power":13961,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1653946993793880064}} 
[2026-07-07 16:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":125366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:32:09] local.INFO: GPS data processed {"connection_id":125366,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:32:09] local.INFO: Acknowledgment sent {"connection_id":125366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:32:26] local.INFO: TCP Data received {"connection_id":125368,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:32:26] local.INFO: Processing buffer {"connection_id":125368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:32:26] local.INFO: IMEI packet received {"connection_id":125368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":125368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:32:32] local.INFO: TCP Data received {"connection_id":125368,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:32:32] local.INFO: Processing buffer {"connection_id":125368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:32:32] local.INFO: IMEI packet received {"connection_id":125368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":125368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:32:32] local.INFO: TCP Data received {"connection_id":125368,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3dc160012d7ac94005e410d8000700fe2a..."} 
[2026-07-07 16:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3dc160012d7ac94005e410d8000700fe2a..."} 
[2026-07-07 16:32:32] local.INFO: Processing buffer {"connection_id":125368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3dc160012d7ac94005e410d8000700fe2a..."} 
[2026-07-07 16:32:32] local.INFO: Packet analysis {"connection_id":125368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3d"} 
[2026-07-07 16:32:32] local.INFO: Extracted packet for processing {"connection_id":125368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3d"} 
[2026-07-07 16:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763021632,"raw_latitude":98832600,"longitude_deg":76.3021632,"latitude_deg":9.88326,"altitude":7,"angle":254,"satellites":42,"speed":9,"hex_longitude":"2d7ac940","hex_latitude":"05e410d8","is_valid_coordinates":true} 
[2026-07-07 16:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556059392001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103368554165829632,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847884443223914496,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783422108000,"timestamp_ms":1783422108000,"timestamp_seconds":1783422108,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3dc160"} 
[2026-07-07 16:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 16:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556059392001,"66":12863,"97":206,"85":15104,"24":9,"16":103368554165829632,"45":8847884443223914496},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556059392001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:32:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:32:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103368554165829632,"km_value":103368554165829.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847884443223914496,"description":"Unknown IO ID 45"} 
[2026-07-07 16:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556059392001,"power":12863,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8847884443223914496}} 
[2026-07-07 16:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":125368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:32:33] local.INFO: GPS data processed {"connection_id":125368,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:32:33] local.INFO: Acknowledgment sent {"connection_id":125368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:32:41] local.INFO: TCP Data received {"connection_id":124560,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:32:41] local.INFO: Processing buffer {"connection_id":124560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:32:41] local.INFO: Packet analysis {"connection_id":124560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:32:41] local.INFO: Extracted packet for processing {"connection_id":124560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:32:41] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555918336001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638003906173898752,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783421858000,"timestamp_ms":1783421858000,"timestamp_seconds":1783421858,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c39f0d0"} 
[2026-07-07 16:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 16:32: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-07-07 16:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555918336001,"66":26223,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4638003906173898752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555918336001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:32:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:32:41] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638003906173898752,"description":"Unknown IO ID 45"} 
[2026-07-07 16:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555918336001,"power":26223,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638003906173898752}} 
[2026-07-07 16:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":124560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:32:41] local.INFO: GPS data processed {"connection_id":124560,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:32:41] local.INFO: Acknowledgment sent {"connection_id":124560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:32:41] local.INFO: TCP Data received {"connection_id":125366,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3dc548012d169c0007221d60007100c710..."} 
[2026-07-07 16:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3dc548012d169c0007221d60007100c710..."} 
[2026-07-07 16:32:41] local.INFO: Processing buffer {"connection_id":125366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3dc548012d169c0007221d60007100c710..."} 
[2026-07-07 16:32:41] local.INFO: Packet analysis {"connection_id":125366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3d"} 
[2026-07-07 16:32:41] local.INFO: Extracted packet for processing {"connection_id":125366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3d"} 
[2026-07-07 16:32:41] local.INFO: GPS Element Parsed {"raw_longitude":756456448,"raw_latitude":119676256,"longitude_deg":75.6456448,"latitude_deg":11.9676256,"altitude":113,"angle":199,"satellites":16,"speed":8,"hex_longitude":"2d169c00","hex_latitude":"07221d60","is_valid_coordinates":true} 
[2026-07-07 16:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556058624001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4688536624168960,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629740145792057344,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783422109000,"timestamp_ms":1783422109000,"timestamp_seconds":1783422109,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3dc548"} 
[2026-07-07 16:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 16:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556058624001,"66":13972,"71":206,"28":31744,"24":8,"16":4688536624168960,"45":1629740145792057344},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556058624001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:32:41] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:32:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4688536624168960,"km_value":4688536624168.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629740145792057344,"description":"Unknown IO ID 45"} 
[2026-07-07 16:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556058624001,"power":13972,"unknown_71":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1629740145792057344}} 
[2026-07-07 16:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":125366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:32:41] local.INFO: GPS data processed {"connection_id":125366,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:32:41] local.INFO: Acknowledgment sent {"connection_id":125366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:32:43] local.INFO: TCP Data received {"connection_id":124560,"ip":"42.106.6.35","data_length":1348,"data_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124560,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:32:43] local.INFO: Processing buffer {"connection_id":124560,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:32:43] local.INFO: Packet analysis {"connection_id":124560,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:32:43] local.INFO: Extracted packet for processing {"connection_id":124560,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:32:43] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555918336001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638003906173898752,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783421858000,"timestamp_ms":1783421858000,"timestamp_seconds":1783421858,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c39f0d0"} 
[2026-07-07 16:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:32: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-07-07 16:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 16:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555918336001,"66":26223,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4638003906173898752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555918336001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:32:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:32:43] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638003906173898752,"description":"Unknown IO ID 45"} 
[2026-07-07 16:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555918336001,"power":26223,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638003906173898752}} 
[2026-07-07 16:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":124560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:32:43] local.INFO: GPS data processed {"connection_id":124560,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:32:43] local.INFO: Acknowledgment sent {"connection_id":124560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:32:43] local.INFO: Packet analysis {"connection_id":124560,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:32:43] local.INFO: Incomplete packet, waiting for more data {"connection_id":124560,"needed":795,"available":553} 
[2026-07-07 16:32:43] local.INFO: TCP Data received {"connection_id":124560,"ip":"42.106.6.35","data_length":242,"data_hex":"0000000000019f3c2ce8e0012dbfa4800541a1a0003400492e000000ef000a00..."} 
[2026-07-07 16:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124560,"packet_length":242,"packet_hex":"0000000000019f3c2ce8e0012dbfa4800541a1a0003400492e000000ef000a00..."} 
[2026-07-07 16:32:43] local.INFO: Processing buffer {"connection_id":124560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:32:43] local.INFO: Packet analysis {"connection_id":124560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:32:43] local.INFO: Extracted packet for processing {"connection_id":124560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:32:43] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555918336001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638003906173898752,"note":"Value kept but may cause issues"} 
[2026-07-07 16:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783421858000,"timestamp_ms":1783421858000,"timestamp_seconds":1783421858,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c39f0d0"} 
[2026-07-07 16:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:32: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-07-07 16:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 16:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555918336001,"66":26223,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4638003906173898752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555918336001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:32:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:32:43] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638003906173898752,"description":"Unknown IO ID 45"} 
[2026-07-07 16:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555918336001,"power":26223,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638003906173898752}} 
[2026-07-07 16:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":124560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:32:43] local.INFO: GPS data processed {"connection_id":124560,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:32:43] local.INFO: Acknowledgment sent {"connection_id":124560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:33:02] local.INFO: TCP Data received {"connection_id":126623,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:33:02] local.INFO: Processing buffer {"connection_id":126623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:33:02] local.INFO: IMEI packet received {"connection_id":126623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":126623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:33:03] local.INFO: TCP Data received {"connection_id":124652,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:33:03] local.INFO: Processing buffer {"connection_id":124652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:33:03] local.INFO: IMEI packet received {"connection_id":124652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":124652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:33:04] local.INFO: TCP Data received {"connection_id":124652,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:33:04] local.INFO: Processing buffer {"connection_id":124652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:33:04] local.INFO: IMEI packet received {"connection_id":124652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":124652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:33:04] local.INFO: TCP Data received {"connection_id":125368,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3df040012d7ab54005e40d200009010a25..."} 
[2026-07-07 16:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3df040012d7ab54005e40d200009010a25..."} 
[2026-07-07 16:33:04] local.INFO: Processing buffer {"connection_id":125368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3df040012d7ab54005e40d200009010a25..."} 
[2026-07-07 16:33:04] local.INFO: Packet analysis {"connection_id":125368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3d"} 
[2026-07-07 16:33:04] local.INFO: Extracted packet for processing {"connection_id":125368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3d"} 
[2026-07-07 16:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763016512,"raw_latitude":98831648,"longitude_deg":76.3016512,"latitude_deg":9.8831648,"altitude":9,"angle":266,"satellites":37,"speed":6,"hex_longitude":"2d7ab540","hex_latitude":"05e40d20","is_valid_coordinates":true} 
[2026-07-07 16:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556059648001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103368803273932800,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847673336991373312,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783422120000,"timestamp_ms":1783422120000,"timestamp_seconds":1783422120,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3df040"} 
[2026-07-07 16:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 16:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:33: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-07-07 16:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556059648001,"66":13048,"97":206,"85":15104,"24":6,"16":103368803273932800,"45":8847673336991373312},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556059648001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:33:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:33:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103368803273932800,"km_value":103368803273932.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847673336991373312,"description":"Unknown IO ID 45"} 
[2026-07-07 16:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556059648001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8847673336991373312}} 
[2026-07-07 16:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":125368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:33:04] local.INFO: GPS data processed {"connection_id":125368,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:33:04] local.INFO: Acknowledgment sent {"connection_id":125368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:33:05] local.INFO: TCP Data received {"connection_id":124652,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:33:05] local.INFO: Processing buffer {"connection_id":124652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:33:05] local.INFO: Packet analysis {"connection_id":124652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:33:05] local.INFO: Extracted packet for processing {"connection_id":124652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:33:05] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555918336001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638003906173898752,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783421858000,"timestamp_ms":1783421858000,"timestamp_seconds":1783421858,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c39f0d0"} 
[2026-07-07 16:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 16:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555918336001,"66":26223,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4638003906173898752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555918336001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:33:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:33:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638003906173898752,"description":"Unknown IO ID 45"} 
[2026-07-07 16:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555918336001,"power":26223,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638003906173898752}} 
[2026-07-07 16:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":124652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:33:05] local.INFO: GPS data processed {"connection_id":124652,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:33:05] local.INFO: Acknowledgment sent {"connection_id":124652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:33:07] local.INFO: TCP Data received {"connection_id":126623,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:33:07] local.INFO: Processing buffer {"connection_id":126623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:33:07] local.INFO: IMEI packet received {"connection_id":126623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":126623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:33:09] local.INFO: TCP Data received {"connection_id":126623,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3e1750012d169c4007221cc8007500c710..."} 
[2026-07-07 16:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3e1750012d169c4007221cc8007500c710..."} 
[2026-07-07 16:33:09] local.INFO: Processing buffer {"connection_id":126623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3e1750012d169c4007221cc8007500c710..."} 
[2026-07-07 16:33:09] local.INFO: Packet analysis {"connection_id":126623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:33:09] local.INFO: Extracted packet for processing {"connection_id":126623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:33:09] local.INFO: GPS Element Parsed {"raw_longitude":756456512,"raw_latitude":119676104,"longitude_deg":75.6456512,"latitude_deg":11.9676104,"altitude":117,"angle":199,"satellites":16,"speed":0,"hex_longitude":"2d169c40","hex_latitude":"07221cc8","is_valid_coordinates":true} 
[2026-07-07 16:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556059904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4688562393972736,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629177195838398464,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783422130000,"timestamp_ms":1783422130000,"timestamp_seconds":1783422130,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3e1750"} 
[2026-07-07 16:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-07 16:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556059904001,"66":12809,"71":206,"28":31744,"24":0,"16":4688562393972736,"45":1629177195838398464},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556059904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:33:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:33:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4688562393972736,"km_value":4688562393972.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629177195838398464,"description":"Unknown IO ID 45"} 
[2026-07-07 16:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556059904001,"power":12809,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1629177195838398464}} 
[2026-07-07 16:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":126623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:33:09] local.INFO: GPS data processed {"connection_id":126623,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:33:09] local.INFO: Acknowledgment sent {"connection_id":126623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:33:12] local.INFO: TCP Data received {"connection_id":124652,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:33:12] local.INFO: Processing buffer {"connection_id":124652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c39f0d0012dbfa3000541a178003800622c..."} 
[2026-07-07 16:33:12] local.INFO: Packet analysis {"connection_id":124652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:33:12] local.INFO: Extracted packet for processing {"connection_id":124652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c39"} 
[2026-07-07 16:33:12] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555918336001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4638003906173898752,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783421858000,"timestamp_ms":1783421858000,"timestamp_seconds":1783421858,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c39f0d0"} 
[2026-07-07 16:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:33: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-07-07 16:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 16:33: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-07-07 16:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555918336001,"66":26223,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4638003906173898752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555918336001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:33:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:33:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4638003906173898752,"description":"Unknown IO ID 45"} 
[2026-07-07 16:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555918336001,"power":26223,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4638003906173898752}} 
[2026-07-07 16:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":124652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:33:12] local.INFO: GPS data processed {"connection_id":124652,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:33:12] local.INFO: Acknowledgment sent {"connection_id":124652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:33:31] local.INFO: TCP Data received {"connection_id":124653,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:33:31] local.INFO: Processing buffer {"connection_id":124653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:33:31] local.INFO: IMEI packet received {"connection_id":124653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":124653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:33:34] local.INFO: TCP Data received {"connection_id":124653,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:33:34] local.INFO: Processing buffer {"connection_id":124653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:33:34] local.INFO: IMEI packet received {"connection_id":124653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":124653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:33:35] local.INFO: TCP Data received {"connection_id":124653,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:33:35] local.INFO: Processing buffer {"connection_id":124653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:33:35] local.INFO: IMEI packet received {"connection_id":124653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":124653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:33:36] local.INFO: TCP Data received {"connection_id":124653,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:33:36] local.INFO: Processing buffer {"connection_id":124653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:33:36] local.INFO: IMEI packet received {"connection_id":124653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":124653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:33:37] local.INFO: TCP Data received {"connection_id":124653,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3e3e60012d7a9e8005e40b300008010e26..."} 
[2026-07-07 16:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3e3e60012d7a9e8005e40b300008010e26..."} 
[2026-07-07 16:33:37] local.INFO: Processing buffer {"connection_id":124653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3e3e60012d7a9e8005e40b300008010e26..."} 
[2026-07-07 16:33:37] local.INFO: Packet analysis {"connection_id":124653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:33:37] local.INFO: Extracted packet for processing {"connection_id":124653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":763010688,"raw_latitude":98831152,"longitude_deg":76.3010688,"latitude_deg":9.8831152,"altitude":8,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d7a9e80","hex_latitude":"05e40b30","is_valid_coordinates":true} 
[2026-07-07 16:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556062720001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103369082446807040,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8842043837456916480,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783422140000,"timestamp_ms":1783422140000,"timestamp_seconds":1783422140,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3e3e60"} 
[2026-07-07 16:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 16:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:33: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-07-07 16:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556062720001,"66":12961,"97":206,"85":15104,"24":0,"16":103369082446807040,"45":8842043837456916480},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556062720001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:33:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103369082446807040,"km_value":103369082446807.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8842043837456916480,"description":"Unknown IO ID 45"} 
[2026-07-07 16:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556062720001,"power":12961,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8842043837456916480}} 
[2026-07-07 16:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":124653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:33:37] local.INFO: GPS data processed {"connection_id":124653,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:33:37] local.INFO: Acknowledgment sent {"connection_id":124653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:33:38] local.INFO: TCP Data received {"connection_id":124653,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3e9068012d7a9e4005e40b380008010e25..."} 
[2026-07-07 16:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3e9068012d7a9e4005e40b380008010e25..."} 
[2026-07-07 16:33:38] local.INFO: Processing buffer {"connection_id":124653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3e9068012d7a9e4005e40b380008010e25..."} 
[2026-07-07 16:33:38] local.INFO: Packet analysis {"connection_id":124653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:33:38] local.INFO: Extracted packet for processing {"connection_id":124653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763010624,"raw_latitude":98831160,"longitude_deg":76.3010624,"latitude_deg":9.883116,"altitude":8,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d7a9e40","hex_latitude":"05e40b38","is_valid_coordinates":true} 
[2026-07-07 16:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556067840001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103369086741774336,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835640281736622080,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783422161000,"timestamp_ms":1783422161000,"timestamp_seconds":1783422161,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3e9068"} 
[2026-07-07 16:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16: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-07-07 16:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-07 16:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:33: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-07-07 16:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556067840001,"66":12972,"97":206,"85":15104,"24":0,"16":103369086741774336,"45":8835640281736622080},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556067840001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:33:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103369086741774336,"km_value":103369086741774.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835640281736622080,"description":"Unknown IO ID 45"} 
[2026-07-07 16:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556067840001,"power":12972,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8835640281736622080}} 
[2026-07-07 16:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":124653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:33:39] local.INFO: GPS data processed {"connection_id":124653,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:33:39] local.INFO: Acknowledgment sent {"connection_id":124653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:33:41] local.INFO: TCP Data received {"connection_id":126623,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3f1150012d169dc007222098007700f915..."} 
[2026-07-07 16:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3f1150012d169dc007222098007700f915..."} 
[2026-07-07 16:33:41] local.INFO: Processing buffer {"connection_id":126623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3f1150012d169dc007222098007700f915..."} 
[2026-07-07 16:33:41] local.INFO: Packet analysis {"connection_id":126623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:33:41] local.INFO: Extracted packet for processing {"connection_id":126623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:33:41] local.INFO: GPS Element Parsed {"raw_longitude":756456896,"raw_latitude":119677080,"longitude_deg":75.6456896,"latitude_deg":11.967708,"altitude":119,"angle":249,"satellites":21,"speed":0,"hex_longitude":"2d169dc0","hex_latitude":"07222098","is_valid_coordinates":true} 
[2026-07-07 16:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556081152001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4688669768155136,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629740145792043008,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783422194000,"timestamp_ms":1783422194000,"timestamp_seconds":1783422194,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3f1150"} 
[2026-07-07 16:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 16:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556081152001,"66":13048,"71":206,"28":31744,"24":0,"16":4688669768155136,"45":1629740145792043008},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556081152001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:33:41] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:33:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4688669768155136,"km_value":4688669768155.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629740145792043008,"description":"Unknown IO ID 45"} 
[2026-07-07 16:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556081152001,"power":13048,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1629740145792043008}} 
[2026-07-07 16:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":126623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:33:41] local.INFO: GPS data processed {"connection_id":126623,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:33:41] local.INFO: Acknowledgment sent {"connection_id":126623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:33:45] local.INFO: TCP Data received {"connection_id":124652,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:33:45] local.INFO: Processing buffer {"connection_id":124652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:33:45] local.INFO: Packet analysis {"connection_id":124652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:33:45] local.INFO: Extracted packet for processing {"connection_id":124652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:33:45] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555995648001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637863168685541376,"note":"Value kept but may cause issues"} 
[2026-07-07 16:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783422158000,"timestamp_ms":1783422158000,"timestamp_seconds":1783422158,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3e84b0"} 
[2026-07-07 16:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 16:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555995648001,"66":25995,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4637863168685541376},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555995648001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:33:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:33:45] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637863168685541376,"description":"Unknown IO ID 45"} 
[2026-07-07 16:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555995648001,"power":25995,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637863168685541376}} 
[2026-07-07 16:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":124652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:33:45] local.INFO: GPS data processed {"connection_id":124652,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:33:45] local.INFO: Acknowledgment sent {"connection_id":124652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:33:58] local.INFO: TCP Data received {"connection_id":126624,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:33:58] local.INFO: Processing buffer {"connection_id":126624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:33:58] local.INFO: IMEI packet received {"connection_id":126624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":126624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:34:05] local.INFO: TCP Data received {"connection_id":126624,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:34:05] local.INFO: Processing buffer {"connection_id":126624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:34:05] local.INFO: IMEI packet received {"connection_id":126624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":126624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:34:06] local.INFO: TCP Data received {"connection_id":126624,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:34:06] local.INFO: Processing buffer {"connection_id":126624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:34:06] local.INFO: Packet analysis {"connection_id":126624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:34:06] local.INFO: Extracted packet for processing {"connection_id":126624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:34:06] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555995648001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637863168685541376,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783422158000,"timestamp_ms":1783422158000,"timestamp_seconds":1783422158,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3e84b0"} 
[2026-07-07 16:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 16:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:34: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-07-07 16:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555995648001,"66":25995,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4637863168685541376},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555995648001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:34:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:34:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637863168685541376,"description":"Unknown IO ID 45"} 
[2026-07-07 16:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555995648001,"power":25995,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637863168685541376}} 
[2026-07-07 16:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":126624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:34:06] local.INFO: GPS data processed {"connection_id":126624,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:34:06] local.INFO: Acknowledgment sent {"connection_id":126624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:34:07] local.INFO: TCP Data received {"connection_id":124654,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:34:07] local.INFO: Processing buffer {"connection_id":124654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:34:07] local.INFO: IMEI packet received {"connection_id":124654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":124654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:34:11] local.INFO: TCP Data received {"connection_id":124653,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3f6b28012d7acfc005e40c10000c00a429..."} 
[2026-07-07 16:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3f6b28012d7acfc005e40c10000c00a429..."} 
[2026-07-07 16:34:11] local.INFO: Processing buffer {"connection_id":124653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3f6b28012d7acfc005e40c10000c00a429..."} 
[2026-07-07 16:34:11] local.INFO: Packet analysis {"connection_id":124653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:34:11] local.INFO: Extracted packet for processing {"connection_id":124653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:34:11] local.INFO: GPS Element Parsed {"raw_longitude":763023296,"raw_latitude":98831376,"longitude_deg":76.3023296,"latitude_deg":9.8831376,"altitude":12,"angle":164,"satellites":41,"speed":22,"hex_longitude":"2d7acfc0","hex_latitude":"05e40c10","is_valid_coordinates":true} 
[2026-07-07 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":795,"current_offset":40} 
[2026-07-07 16:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556087296001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103369748166737920,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849221449363107840,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783422217000,"timestamp_ms":1783422217000,"timestamp_seconds":1783422217,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3f6b28"} 
[2026-07-07 16:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-07 16:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:34: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-07-07 16:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556087296001,"66":13341,"97":206,"85":15104,"24":22,"16":103369748166737920,"45":8849221449363107840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556087296001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:34:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103369748166737920,"km_value":103369748166737.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849221449363107840,"description":"Unknown IO ID 45"} 
[2026-07-07 16:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556087296001,"power":13341,"unknown_97":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8849221449363107840}} 
[2026-07-07 16:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":124653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:34:11] local.INFO: GPS data processed {"connection_id":124653,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:34:11] local.INFO: Acknowledgment sent {"connection_id":124653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:34:12] local.INFO: TCP Data received {"connection_id":124654,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:34:12] local.INFO: Processing buffer {"connection_id":124654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:34:12] local.INFO: IMEI packet received {"connection_id":124654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":124654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:34:13] local.INFO: TCP Data received {"connection_id":124654,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3f28c0012d169d8007222048007700ca15..."} 
[2026-07-07 16:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3f28c0012d169d8007222048007700ca15..."} 
[2026-07-07 16:34:13] local.INFO: Processing buffer {"connection_id":124654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3f28c0012d169d8007222048007700ca15..."} 
[2026-07-07 16:34:13] local.INFO: Packet analysis {"connection_id":124654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:34:13] local.INFO: Extracted packet for processing {"connection_id":124654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:34:13] local.INFO: GPS Element Parsed {"raw_longitude":756456832,"raw_latitude":119677000,"longitude_deg":75.6456832,"latitude_deg":11.9677,"altitude":119,"angle":202,"satellites":21,"speed":2,"hex_longitude":"2d169d80","hex_latitude":"07222048","is_valid_coordinates":true} 
[2026-07-07 16:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556081664001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4688678358089728,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629669777047853056,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783422200000,"timestamp_ms":1783422200000,"timestamp_seconds":1783422200,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3f28c0"} 
[2026-07-07 16:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 16:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556081664001,"66":14341,"71":206,"28":31744,"24":2,"16":4688678358089728,"45":1629669777047853056},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556081664001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:34:13] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:34:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4688678358089728,"km_value":4688678358089.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629669777047853056,"description":"Unknown IO ID 45"} 
[2026-07-07 16:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556081664001,"power":14341,"unknown_71":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1629669777047853056}} 
[2026-07-07 16:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":124654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:34:13] local.INFO: GPS data processed {"connection_id":124654,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:34:13] local.INFO: Acknowledgment sent {"connection_id":124654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:34:18] local.INFO: TCP Data received {"connection_id":124654,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3f5f70012d169dc0072220980076003415..."} 
[2026-07-07 16:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3f5f70012d169dc0072220980076003415..."} 
[2026-07-07 16:34:18] local.INFO: Processing buffer {"connection_id":124654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3f5f70012d169dc0072220980076003415..."} 
[2026-07-07 16:34:18] local.INFO: Packet analysis {"connection_id":124654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:34:18] local.INFO: Extracted packet for processing {"connection_id":124654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:34:18] local.INFO: GPS Element Parsed {"raw_longitude":756456896,"raw_latitude":119677080,"longitude_deg":75.6456896,"latitude_deg":11.967708,"altitude":118,"angle":52,"satellites":21,"speed":2,"hex_longitude":"2d169dc0","hex_latitude":"07222098","is_valid_coordinates":true} 
[2026-07-07 16:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556083200001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4688686948024320,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629599408303654912,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783422214000,"timestamp_ms":1783422214000,"timestamp_seconds":1783422214,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3f5f70"} 
[2026-07-07 16:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 16:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6966492867,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:18] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503671170334720,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2823553024,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880190158,"corrected_to":0} 
[2026-07-07 16:34:18] local.WARNING: Large IO value detected {"io_id":245,"raw_value":4160826646,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:18] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84748831556051488,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:18] local.WARNING: Large IO value detected {"io_id":128,"raw_value":33215357552427008,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:18] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,71,28,24,241,158,16,168,159,17,45,192,32,119,21,10,66,9,1,240,77,60,34,4,113,205,2,245,239,55,7,206,48,128],"length":529,"final_offset":659,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3880190158,"validated":0}]} 
[2026-07-07 16:34:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8575075882056679424,"timestamp_seconds":8575075882056679.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556083200001,"66":14461,"71":206,"28":31744,"24":2,"16":4688686948024320,"45":1629599408303654912},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556083200001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:34:18] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:34:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4688686948024320,"km_value":4688686948024.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629599408303654912,"description":"Unknown IO ID 45"} 
[2026-07-07 16:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556083200001,"power":14461,"unknown_71":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1629599408303654912}} 
[2026-07-07 16:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":124654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:34:18] local.INFO: GPS data processed {"connection_id":124654,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:34:18] local.INFO: Acknowledgment sent {"connection_id":124654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:34:31] local.INFO: TCP Data received {"connection_id":124563,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:34:31] local.INFO: Processing buffer {"connection_id":124563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:34:31] local.INFO: IMEI packet received {"connection_id":124563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":124563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:34:34] local.INFO: TCP Data received {"connection_id":124563,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:34:34] local.INFO: Processing buffer {"connection_id":124563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:34:34] local.INFO: IMEI packet received {"connection_id":124563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":124563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:34:35] local.INFO: TCP Data received {"connection_id":124562,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:34:35] local.INFO: Processing buffer {"connection_id":124562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:34:35] local.INFO: IMEI packet received {"connection_id":124562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 16:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":124562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:34:36] local.INFO: TCP Data received {"connection_id":124563,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3f9a08012d7ad74005e3e948000900a729..."} 
[2026-07-07 16:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3f9a08012d7ad74005e3e948000900a729..."} 
[2026-07-07 16:34:36] local.INFO: Processing buffer {"connection_id":124563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3f9a08012d7ad74005e3e948000900a729..."} 
[2026-07-07 16:34:36] local.INFO: Packet analysis {"connection_id":124563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:34:36] local.INFO: Extracted packet for processing {"connection_id":124563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:34:36] local.INFO: GPS Element Parsed {"raw_longitude":763025216,"raw_latitude":98822472,"longitude_deg":76.3025216,"latitude_deg":9.8822472,"altitude":9,"angle":167,"satellites":41,"speed":30,"hex_longitude":"2d7ad740","hex_latitude":"05e3e948","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556087552001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103370186253402112,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849502924339679232,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783422229000,"timestamp_ms":1783422229000,"timestamp_seconds":1783422229,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3f9a08"} 
[2026-07-07 16:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-07 16:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:34: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-07-07 16:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556087552001,"66":13102,"97":206,"85":15104,"24":30,"16":103370186253402112,"45":8849502924339679232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556087552001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:34:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:34:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103370186253402112,"km_value":103370186253402.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849502924339679232,"description":"Unknown IO ID 45"} 
[2026-07-07 16:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556087552001,"power":13102,"unknown_97":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8849502924339679232}} 
[2026-07-07 16:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":124563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:34:36] local.INFO: GPS data processed {"connection_id":124563,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:34:36] local.INFO: Acknowledgment sent {"connection_id":124563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:34:38] local.INFO: TCP Data received {"connection_id":126624,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:34:38] local.INFO: Processing buffer {"connection_id":126624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:34:38] local.INFO: Packet analysis {"connection_id":126624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:34:38] local.INFO: Extracted packet for processing {"connection_id":126624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:34:38] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555995648001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637863168685541376,"note":"Value kept but may cause issues"} 
[2026-07-07 16:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783422158000,"timestamp_ms":1783422158000,"timestamp_seconds":1783422158,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3e84b0"} 
[2026-07-07 16:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 16:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:34: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-07-07 16:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555995648001,"66":25995,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4637863168685541376},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555995648001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:34:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:34:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637863168685541376,"description":"Unknown IO ID 45"} 
[2026-07-07 16:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555995648001,"power":25995,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637863168685541376}} 
[2026-07-07 16:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":126624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:34:38] local.INFO: GPS data processed {"connection_id":126624,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:34:38] local.INFO: Acknowledgment sent {"connection_id":126624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:35:02] local.INFO: TCP Data received {"connection_id":124564,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:35:02] local.INFO: Processing buffer {"connection_id":124564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:35:02] local.INFO: IMEI packet received {"connection_id":124564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":124564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:35:04] local.INFO: TCP Data received {"connection_id":124565,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:35:04] local.INFO: Processing buffer {"connection_id":124565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:35:04] local.INFO: IMEI packet received {"connection_id":124565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":124565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:35:04] local.INFO: TCP Data received {"connection_id":124566,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:35:04] local.INFO: Processing buffer {"connection_id":124566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:35:04] local.INFO: IMEI packet received {"connection_id":124566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 16:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":124566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:35:05] local.INFO: TCP Data received {"connection_id":124564,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:35:05] local.INFO: Processing buffer {"connection_id":124564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:35:05] local.INFO: IMEI packet received {"connection_id":124564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":124564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:35:06] local.INFO: TCP Data received {"connection_id":124564,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3f6f10012d169e80072220c80076008015..."} 
[2026-07-07 16:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3f6f10012d169e80072220c80076008015..."} 
[2026-07-07 16:35:07] local.INFO: Processing buffer {"connection_id":124564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3f6f10012d169e80072220c80076008015..."} 
[2026-07-07 16:35:07] local.INFO: Packet analysis {"connection_id":124564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:35:07] local.INFO: Extracted packet for processing {"connection_id":124564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:35:07] local.INFO: GPS Element Parsed {"raw_longitude":756457088,"raw_latitude":119677128,"longitude_deg":75.6457088,"latitude_deg":11.9677128,"altitude":118,"angle":128,"satellites":21,"speed":0,"hex_longitude":"2d169e80","hex_latitude":"072220c8","is_valid_coordinates":true} 
[2026-07-07 16:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556086784001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4688695537958912,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629669777047853056,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783422218000,"timestamp_ms":1783422218000,"timestamp_seconds":1783422218,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3f6f10"} 
[2026-07-07 16:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 16:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556086784001,"66":13330,"71":206,"28":31744,"24":0,"16":4688695537958912,"45":1629669777047853056},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556086784001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:35:07] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:35:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4688695537958912,"km_value":4688695537958.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629669777047853056,"description":"Unknown IO ID 45"} 
[2026-07-07 16:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556086784001,"power":13330,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1629669777047853056}} 
[2026-07-07 16:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":124564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:35:07] local.INFO: GPS data processed {"connection_id":124564,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:35:07] local.INFO: Acknowledgment sent {"connection_id":124564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:35:08] local.INFO: TCP Data received {"connection_id":124563,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3fd0b8012d7adfc005e3c798000500a428..."} 
[2026-07-07 16:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3fd0b8012d7adfc005e3c798000500a428..."} 
[2026-07-07 16:35:08] local.INFO: Processing buffer {"connection_id":124563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3fd0b8012d7adfc005e3c798000500a428..."} 
[2026-07-07 16:35:08] local.INFO: Packet analysis {"connection_id":124563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:35:08] local.INFO: Extracted packet for processing {"connection_id":124563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:35:08] local.INFO: GPS Element Parsed {"raw_longitude":763027392,"raw_latitude":98813848,"longitude_deg":76.3027392,"latitude_deg":9.8813848,"altitude":5,"angle":164,"satellites":40,"speed":21,"hex_longitude":"2d7adfc0","hex_latitude":"05e3c798","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556090624001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103370620045099008,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851613986662729728,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783422243000,"timestamp_ms":1783422243000,"timestamp_seconds":1783422243,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3fd0b8"} 
[2026-07-07 16:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16: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-07-07 16: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 16:35: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-07-07 16: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-07-07 16:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:35: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-07-07 16:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556090624001,"66":13091,"97":206,"85":15104,"24":21,"16":103370620045099008,"45":8851613986662729728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556090624001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:35:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:35:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103370620045099008,"km_value":103370620045099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851613986662729728,"description":"Unknown IO ID 45"} 
[2026-07-07 16:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556090624001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8851613986662729728}} 
[2026-07-07 16:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":124563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:35:08] local.INFO: GPS data processed {"connection_id":124563,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:35:08] local.INFO: Acknowledgment sent {"connection_id":124563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:35:09] local.INFO: TCP Data received {"connection_id":124565,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:35:09] local.INFO: Processing buffer {"connection_id":124565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:35:09] local.INFO: IMEI packet received {"connection_id":124565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":124565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:35:10] local.INFO: TCP Data received {"connection_id":124565,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:35:10] local.INFO: Processing buffer {"connection_id":124565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:35:10] local.INFO: Packet analysis {"connection_id":124565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:35:10] local.INFO: Extracted packet for processing {"connection_id":124565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:35:10] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555995648001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637863168685541376,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783422158000,"timestamp_ms":1783422158000,"timestamp_seconds":1783422158,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3e84b0"} 
[2026-07-07 16:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 16:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 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-07-07 16:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555995648001,"66":25995,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4637863168685541376},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555995648001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:35:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:35:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637863168685541376,"description":"Unknown IO ID 45"} 
[2026-07-07 16:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555995648001,"power":25995,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637863168685541376}} 
[2026-07-07 16:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":124565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:35:10] local.INFO: GPS data processed {"connection_id":124565,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:35:10] local.INFO: Acknowledgment sent {"connection_id":124565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:35:14] local.INFO: TCP Data received {"connection_id":124565,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:35:14] local.INFO: Processing buffer {"connection_id":124565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:35:14] local.INFO: Packet analysis {"connection_id":124565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:35:14] local.INFO: Extracted packet for processing {"connection_id":124565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:35:14] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555995648001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637863168685541376,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783422158000,"timestamp_ms":1783422158000,"timestamp_seconds":1783422158,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3e84b0"} 
[2026-07-07 16:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16: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-07-07 16:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 16:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555995648001,"66":25995,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4637863168685541376},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555995648001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:35:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:35:14] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637863168685541376,"description":"Unknown IO ID 45"} 
[2026-07-07 16:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555995648001,"power":25995,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637863168685541376}} 
[2026-07-07 16:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":124565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:35:14] local.INFO: GPS data processed {"connection_id":124565,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:35:14] local.INFO: Acknowledgment sent {"connection_id":124565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:35:26] local.INFO: TCP Data received {"connection_id":124655,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:35:26] local.INFO: Processing buffer {"connection_id":124655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:35:26] local.INFO: IMEI packet received {"connection_id":124655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":124655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:35:31] local.INFO: TCP Data received {"connection_id":124655,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:35:31] local.INFO: Processing buffer {"connection_id":124655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:35:31] local.INFO: IMEI packet received {"connection_id":124655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":124655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:35:32] local.INFO: TCP Data received {"connection_id":124655,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c401af0012d7aeb0005e3a568000700a02a..."} 
[2026-07-07 16:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c401af0012d7aeb0005e3a568000700a02a..."} 
[2026-07-07 16:35:32] local.INFO: Processing buffer {"connection_id":124655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c401af0012d7aeb0005e3a568000700a02a..."} 
[2026-07-07 16:35:32] local.INFO: Packet analysis {"connection_id":124655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c40"} 
[2026-07-07 16:35:32] local.INFO: Extracted packet for processing {"connection_id":124655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c40"} 
[2026-07-07 16:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763030272,"raw_latitude":98805096,"longitude_deg":76.3030272,"latitude_deg":9.8805096,"altitude":7,"angle":160,"satellites":42,"speed":16,"hex_longitude":"2d7aeb00","hex_latitude":"05e3a568","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556094208001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103371066721697792,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854006523962562560,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783422262000,"timestamp_ms":1783422262000,"timestamp_seconds":1783422262,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c401af0"} 
[2026-07-07 16:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 16:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556094208001,"66":13091,"97":206,"85":15104,"24":16,"16":103371066721697792,"45":8854006523962562560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556094208001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:35:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:35:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103371066721697792,"km_value":103371066721697.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854006523962562560,"description":"Unknown IO ID 45"} 
[2026-07-07 16:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556094208001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8854006523962562560}} 
[2026-07-07 16:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":124655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:35:32] local.INFO: GPS data processed {"connection_id":124655,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:35:32] local.INFO: Acknowledgment sent {"connection_id":124655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:35:41] local.INFO: TCP Data received {"connection_id":124564,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3f72f8012d169e80072220a0007500b015..."} 
[2026-07-07 16:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3f72f8012d169e80072220a0007500b015..."} 
[2026-07-07 16:35:41] local.INFO: Processing buffer {"connection_id":124564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3f72f8012d169e80072220a0007500b015..."} 
[2026-07-07 16:35:41] local.INFO: Packet analysis {"connection_id":124564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:35:41] local.INFO: Extracted packet for processing {"connection_id":124564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:35:41] local.INFO: GPS Element Parsed {"raw_longitude":756457088,"raw_latitude":119677088,"longitude_deg":75.6457088,"latitude_deg":11.9677088,"altitude":117,"angle":176,"satellites":21,"speed":0,"hex_longitude":"2d169e80","hex_latitude":"072220a0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 16:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556087808001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4688699832926208,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629880883280398336,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783422219000,"timestamp_ms":1783422219000,"timestamp_seconds":1783422219,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3f72f8"} 
[2026-07-07 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-07-07 16:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-07 16:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2823684096,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3248957904151257304,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:41] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2382404713984431360,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880190158,"corrected_to":0} 
[2026-07-07 16:35:41] local.WARNING: Large IO value detected {"io_id":3,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:41] local.WARNING: Large IO value detected {"io_id":77,"raw_value":57956662367886460,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:41] local.WARNING: Large IO value detected {"io_id":62,"raw_value":-722826447028322297,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:41] local.WARNING: Large IO value detected {"io_id":231,"raw_value":5116315798427670528,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:41] local.WARNING: Large IO value detected {"io_id":36,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-07 16:35:41] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,71,28,24,241,158,16,168,159,95,45,192,32,118,21,10,66,40,128,119,17,1,240,248,60,34,4,113,205,3,48,239,55,2,7,77,62,231,36],"length":626,"final_offset":756,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3880190158,"validated":0}]} 
[2026-07-07 16:35:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8502936924158164992,"timestamp_seconds":8502936924158165.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 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-07-07 16:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556087808001,"66":13102,"71":206,"28":31744,"24":0,"16":4688699832926208,"45":1629880883280398336},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556087808001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:35:41] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:35:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4688699832926208,"km_value":4688699832926.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629880883280398336,"description":"Unknown IO ID 45"} 
[2026-07-07 16:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556087808001,"power":13102,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1629880883280398336}} 
[2026-07-07 16:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":124564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:35:41] local.INFO: GPS data processed {"connection_id":124564,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:35:41] local.INFO: Acknowledgment sent {"connection_id":124564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:35:59] local.INFO: TCP Data received {"connection_id":125370,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:35:59] local.INFO: Processing buffer {"connection_id":125370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:35:59] local.INFO: IMEI packet received {"connection_id":125370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":125370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:36:02] local.INFO: TCP Data received {"connection_id":126626,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:36:02] local.INFO: Processing buffer {"connection_id":126626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:36:02] local.INFO: IMEI packet received {"connection_id":126626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":126626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:36:04] local.INFO: TCP Data received {"connection_id":125370,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:36:04] local.INFO: Processing buffer {"connection_id":125370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:36:04] local.INFO: IMEI packet received {"connection_id":125370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":125370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:36:04] local.INFO: TCP Data received {"connection_id":124655,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4045e8012d7aee8005e39800000700ad2b..."} 
[2026-07-07 16:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4045e8012d7aee8005e39800000700ad2b..."} 
[2026-07-07 16:36:04] local.INFO: Processing buffer {"connection_id":124655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4045e8012d7aee8005e39800000700ad2b..."} 
[2026-07-07 16:36:04] local.INFO: Packet analysis {"connection_id":124655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c40"} 
[2026-07-07 16:36:04] local.INFO: Extracted packet for processing {"connection_id":124655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c40"} 
[2026-07-07 16:36:04] local.INFO: GPS Element Parsed {"raw_longitude":763031168,"raw_latitude":98801664,"longitude_deg":76.3031168,"latitude_deg":9.8801664,"altitude":7,"angle":173,"satellites":43,"speed":8,"hex_longitude":"2d7aee80","hex_latitude":"05e39800","is_valid_coordinates":true} 
[2026-07-07 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556099072001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103371238520389632,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857173117448316928,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783422273000,"timestamp_ms":1783422273000,"timestamp_seconds":1783422273,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4045e8"} 
[2026-07-07 16:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:36: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-07-07 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 16:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:36: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-07-07 16:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556099072001,"66":13059,"97":206,"85":15104,"24":8,"16":103371238520389632,"45":8857173117448316928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556099072001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:36:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:36:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103371238520389632,"km_value":103371238520389.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857173117448316928,"description":"Unknown IO ID 45"} 
[2026-07-07 16:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556099072001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8857173117448316928}} 
[2026-07-07 16:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":124655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:36:04] local.INFO: GPS data processed {"connection_id":124655,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:36:04] local.INFO: Acknowledgment sent {"connection_id":124655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:36:04] local.INFO: TCP Data received {"connection_id":125370,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:36:04] local.INFO: Processing buffer {"connection_id":125370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:36:04] local.INFO: Packet analysis {"connection_id":125370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:36:04] local.INFO: Extracted packet for processing {"connection_id":125370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:36:04] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555995648001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637863168685541376,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783422158000,"timestamp_ms":1783422158000,"timestamp_seconds":1783422158,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3e84b0"} 
[2026-07-07 16:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 16:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555995648001,"66":25995,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4637863168685541376},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555995648001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:36:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:36:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637863168685541376,"description":"Unknown IO ID 45"} 
[2026-07-07 16:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555995648001,"power":25995,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637863168685541376}} 
[2026-07-07 16:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":125370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:36:04] local.INFO: GPS data processed {"connection_id":125370,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:36:04] local.INFO: Acknowledgment sent {"connection_id":125370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:36:07] local.INFO: TCP Data received {"connection_id":126626,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:36:07] local.INFO: Processing buffer {"connection_id":126626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:36:07] local.INFO: IMEI packet received {"connection_id":126626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":126626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:36:08] local.INFO: TCP Data received {"connection_id":126626,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3f9238012d169d40072220980075010a16..."} 
[2026-07-07 16:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3f9238012d169d40072220980075010a16..."} 
[2026-07-07 16:36:08] local.INFO: Processing buffer {"connection_id":126626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3f9238012d169d40072220980075010a16..."} 
[2026-07-07 16:36:08] local.INFO: Packet analysis {"connection_id":126626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:36:08] local.INFO: Extracted packet for processing {"connection_id":126626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:36:08] local.INFO: GPS Element Parsed {"raw_longitude":756456768,"raw_latitude":119677080,"longitude_deg":75.6456768,"latitude_deg":11.967708,"altitude":117,"angle":266,"satellites":22,"speed":1,"hex_longitude":"2d169d40","hex_latitude":"07222098","is_valid_coordinates":true} 
[2026-07-07 16:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556088064001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4688712717828096,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629880883280388096,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783422227000,"timestamp_ms":1783422227000,"timestamp_seconds":1783422227,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3f9238"} 
[2026-07-07 16:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 16:36: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-07-07 16:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556088064001,"66":13102,"71":206,"28":31744,"24":1,"16":4688712717828096,"45":1629880883280388096},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556088064001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:36:08] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:36:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4688712717828096,"km_value":4688712717828.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629880883280388096,"description":"Unknown IO ID 45"} 
[2026-07-07 16:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556088064001,"power":13102,"unknown_71":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1629880883280388096}} 
[2026-07-07 16:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":126626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:36:08] local.INFO: GPS data processed {"connection_id":126626,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:36:08] local.INFO: Acknowledgment sent {"connection_id":126626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:36:15] local.INFO: TCP Data received {"connection_id":124567,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124567,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:36:15] local.INFO: Processing buffer {"connection_id":124567,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:36:15] local.INFO: IMEI packet received {"connection_id":124567,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":124567,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:36:16] local.INFO: TCP Data received {"connection_id":124567,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c40e9f8012d0d2f00070717100022012a1e..."} 
[2026-07-07 16:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c40e9f8012d0d2f00070717100022012a1e..."} 
[2026-07-07 16:36:16] local.INFO: Processing buffer {"connection_id":124567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c40e9f8012d0d2f00070717100022012a1e..."} 
[2026-07-07 16:36:16] local.INFO: Packet analysis {"connection_id":124567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c40"} 
[2026-07-07 16:36:16] local.INFO: Extracted packet for processing {"connection_id":124567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c40"} 
[2026-07-07 16:36:16] local.INFO: GPS Element Parsed {"raw_longitude":755838720,"raw_latitude":117905168,"longitude_deg":75.583872,"latitude_deg":11.7905168,"altitude":34,"angle":298,"satellites":30,"speed":10,"hex_longitude":"2d0d2f00","hex_latitude":"07071710","is_valid_coordinates":true} 
[2026-07-07 16:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556109056001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23445444784816128,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":955185363651166208,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783422315000,"timestamp_ms":1783422315000,"timestamp_seconds":1783422315,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c40e9f8"} 
[2026-07-07 16:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 16:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556109056001,"66":14450,"221":206,"94":10240,"24":10,"16":23445444784816128,"45":955185363651166208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-07 16:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556109056001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:36:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 16:36:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23445444784816128,"km_value":23445444784816.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":955185363651166208,"description":"Unknown IO ID 45"} 
[2026-07-07 16:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556109056001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":955185363651166208}} 
[2026-07-07 16:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":124567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446469,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:36:16] local.INFO: GPS data processed {"connection_id":124567,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:36:16] local.INFO: Acknowledgment sent {"connection_id":124567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:36:26] local.INFO: TCP Data received {"connection_id":124656,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:36:26] local.INFO: Processing buffer {"connection_id":124656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:36:26] local.INFO: IMEI packet received {"connection_id":124656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":124656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:36:29] local.INFO: TCP Data received {"connection_id":124656,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:36:29] local.INFO: Processing buffer {"connection_id":124656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:36:29] local.INFO: IMEI packet received {"connection_id":124656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":124656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:36:31] local.INFO: TCP Data received {"connection_id":124656,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:36:31] local.INFO: Processing buffer {"connection_id":124656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:36:31] local.INFO: IMEI packet received {"connection_id":124656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":124656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:36:33] local.INFO: TCP Data received {"connection_id":124656,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c405588012d7aefc005e39430000700a12a..."} 
[2026-07-07 16:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c405588012d7aefc005e39430000700a12a..."} 
[2026-07-07 16:36:33] local.INFO: Processing buffer {"connection_id":124656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c405588012d7aefc005e39430000700a12a..."} 
[2026-07-07 16:36:33] local.INFO: Packet analysis {"connection_id":124656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c40"} 
[2026-07-07 16:36:33] local.INFO: Extracted packet for processing {"connection_id":124656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c40"} 
[2026-07-07 16:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763031488,"raw_latitude":98800688,"longitude_deg":76.3031488,"latitude_deg":9.8800688,"altitude":7,"angle":161,"satellites":42,"speed":11,"hex_longitude":"2d7aefc0","hex_latitude":"05e39430","is_valid_coordinates":true} 
[2026-07-07 16:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556101888001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103371290059997184,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858158279865925632,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783422277000,"timestamp_ms":1783422277000,"timestamp_seconds":1783422277,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c405588"} 
[2026-07-07 16:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:36: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-07-07 16:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 16:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169572752806,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:33] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399440,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3826239488,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:33] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2734686208,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-07 16:36:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3221611534,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:33] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308454,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:33] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,97,85,24,241,157,16,63,159,26,45,165,7,42,10,66,208,192,199,5,40,154,64,1,240,46,227,62,60,228,4,113,205,22,103,206,48,41,239,52,2,111,11],"length":486,"final_offset":616,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-07 16:36:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504593558461218816,"timestamp_seconds":504593558461218.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:36: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-07-07 16:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556101888001,"66":12961,"97":206,"85":15104,"24":11,"16":103371290059997184,"45":8858158279865925632},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556101888001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:36:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103371290059997184,"km_value":103371290059997.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858158279865925632,"description":"Unknown IO ID 45"} 
[2026-07-07 16:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556101888001,"power":12961,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8858158279865925632}} 
[2026-07-07 16:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":124656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:36:33] local.INFO: GPS data processed {"connection_id":124656,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:36:33] local.INFO: Acknowledgment sent {"connection_id":124656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:36:37] local.INFO: TCP Data received {"connection_id":124656,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c40a3a8012d7af84005e37998000900a428..."} 
[2026-07-07 16:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c40a3a8012d7af84005e37998000900a428..."} 
[2026-07-07 16:36:37] local.INFO: Processing buffer {"connection_id":124656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c40a3a8012d7af84005e37998000900a428..."} 
[2026-07-07 16:36:37] local.INFO: Packet analysis {"connection_id":124656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c40"} 
[2026-07-07 16:36:37] local.INFO: Extracted packet for processing {"connection_id":124656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c40"} 
[2026-07-07 16:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763033664,"raw_latitude":98793880,"longitude_deg":76.3033664,"latitude_deg":9.879388,"altitude":9,"angle":164,"satellites":40,"speed":18,"hex_longitude":"2d7af840","hex_latitude":"05e37998","is_valid_coordinates":true} 
[2026-07-07 16:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556102912001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103371637952348160,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858510123586564096,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783422297000,"timestamp_ms":1783422297000,"timestamp_seconds":1783422297,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c40a3a8"} 
[2026-07-07 16:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-07 16:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:36: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-07-07 16:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556102912001,"66":13254,"97":206,"85":15104,"24":18,"16":103371637952348160,"45":8858510123586564096},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556102912001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:36:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103371637952348160,"km_value":103371637952348.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858510123586564096,"description":"Unknown IO ID 45"} 
[2026-07-07 16:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556102912001,"power":13254,"unknown_97":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8858510123586564096}} 
[2026-07-07 16:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":124656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:36:37] local.INFO: GPS data processed {"connection_id":124656,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:36:37] local.INFO: Acknowledgment sent {"connection_id":124656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:36:37] local.INFO: TCP Data received {"connection_id":125370,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:36:37] local.INFO: Processing buffer {"connection_id":125370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:36:37] local.INFO: Packet analysis {"connection_id":125370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:36:37] local.INFO: Extracted packet for processing {"connection_id":125370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:36:37] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555995648001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637863168685541376,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783422158000,"timestamp_ms":1783422158000,"timestamp_seconds":1783422158,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3e84b0"} 
[2026-07-07 16:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 16:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555995648001,"66":25995,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4637863168685541376},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555995648001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:36:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637863168685541376,"description":"Unknown IO ID 45"} 
[2026-07-07 16:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555995648001,"power":25995,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637863168685541376}} 
[2026-07-07 16:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":125370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:36:37] local.INFO: GPS data processed {"connection_id":125370,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:36:37] local.INFO: Acknowledgment sent {"connection_id":125370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:36:40] local.INFO: TCP Data received {"connection_id":126626,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3f9a08012d169c40072220b00075012216..."} 
[2026-07-07 16:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3f9a08012d169c40072220b00075012216..."} 
[2026-07-07 16:36:40] local.INFO: Processing buffer {"connection_id":126626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3f9a08012d169c40072220b00075012216..."} 
[2026-07-07 16:36:40] local.INFO: Packet analysis {"connection_id":126626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:36:40] local.INFO: Extracted packet for processing {"connection_id":126626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:36:40] local.INFO: GPS Element Parsed {"raw_longitude":756456512,"raw_latitude":119677104,"longitude_deg":75.6456512,"latitude_deg":11.9677104,"altitude":117,"angle":290,"satellites":22,"speed":3,"hex_longitude":"2d169c40","hex_latitude":"072220b0","is_valid_coordinates":true} 
[2026-07-07 16:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556090112001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4688721307762688,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629529039559497728,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783422229000,"timestamp_ms":1783422229000,"timestamp_seconds":1783422229,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3f9a08"} 
[2026-07-07 16:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 16:36: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-07-07 16:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556090112001,"66":13580,"71":206,"28":31744,"24":3,"16":4688721307762688,"45":1629529039559497728},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556090112001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:36:40] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:36:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4688721307762688,"km_value":4688721307762.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629529039559497728,"description":"Unknown IO ID 45"} 
[2026-07-07 16:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556090112001,"power":13580,"unknown_71":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1629529039559497728}} 
[2026-07-07 16:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":126626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:36:41] local.INFO: GPS data processed {"connection_id":126626,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:36:41] local.INFO: Acknowledgment sent {"connection_id":126626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:36:47] local.INFO: TCP Data received {"connection_id":124567,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c41fb68012d0cde4007074d900025010a21..."} 
[2026-07-07 16:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c41fb68012d0cde4007074d900025010a21..."} 
[2026-07-07 16:36:47] local.INFO: Processing buffer {"connection_id":124567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c41fb68012d0cde4007074d900025010a21..."} 
[2026-07-07 16:36:47] local.INFO: Packet analysis {"connection_id":124567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c41"} 
[2026-07-07 16:36:47] local.INFO: Extracted packet for processing {"connection_id":124567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c41"} 
[2026-07-07 16:36:47] local.INFO: GPS Element Parsed {"raw_longitude":755818048,"raw_latitude":117919120,"longitude_deg":75.5818048,"latitude_deg":11.791912,"altitude":37,"angle":266,"satellites":33,"speed":13,"hex_longitude":"2d0cde40","hex_latitude":"07074d90","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556130304001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23447003857944576,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927530447193096192,"note":"Value kept but may cause issues"} 
[2026-07-07 16:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783422385000,"timestamp_ms":1783422385000,"timestamp_seconds":1783422385,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c41fb68"} 
[2026-07-07 16:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 16:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556130304001,"66":14450,"221":206,"94":10240,"24":13,"16":23447003857944576,"45":927530447193096192},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-07 16:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556130304001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:36:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 16:36:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23447003857944576,"km_value":23447003857944.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":927530447193096192,"description":"Unknown IO ID 45"} 
[2026-07-07 16:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556130304001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":927530447193096192}} 
[2026-07-07 16:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":124567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446474,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:36:47] local.INFO: GPS data processed {"connection_id":124567,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:36:47] local.INFO: Acknowledgment sent {"connection_id":124567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:37:02] local.INFO: TCP Data received {"connection_id":125374,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:37:02] local.INFO: Processing buffer {"connection_id":125374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:37:02] local.INFO: IMEI packet received {"connection_id":125374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":125374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:37:02] local.INFO: TCP Data received {"connection_id":125372,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:37:02] local.INFO: Processing buffer {"connection_id":125372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:37:02] local.INFO: IMEI packet received {"connection_id":125372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":125372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:37:07] local.INFO: TCP Data received {"connection_id":125374,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:37:07] local.INFO: Processing buffer {"connection_id":125374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:37:07] local.INFO: IMEI packet received {"connection_id":125374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":125374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:37:08] local.INFO: TCP Data received {"connection_id":124656,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c427868012d7b26c005e29660000900b429..."} 
[2026-07-07 16:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c427868012d7b26c005e29660000900b429..."} 
[2026-07-07 16:37:08] local.INFO: Processing buffer {"connection_id":124656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c427868012d7b26c005e29660000900b429..."} 
[2026-07-07 16:37:08] local.INFO: Packet analysis {"connection_id":124656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c42"} 
[2026-07-07 16:37:08] local.INFO: Extracted packet for processing {"connection_id":124656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c42"} 
[2026-07-07 16:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763045568,"raw_latitude":98735712,"longitude_deg":76.3045568,"latitude_deg":9.8735712,"altitude":9,"angle":180,"satellites":41,"speed":12,"hex_longitude":"2d7b26c0","hex_latitude":"05e29660","is_valid_coordinates":true} 
[2026-07-07 16:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556133632001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103374558530109440,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873780141057449984,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783422417000,"timestamp_ms":1783422417000,"timestamp_seconds":1783422417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c427868"} 
[2026-07-07 16:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 16:37: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-07-07 16:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:37: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-07-07 16:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556133632001,"66":12885,"96":206,"85":15104,"24":12,"16":103374558530109440,"45":8873780141057449984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-07 16:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556133632001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:37:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 16:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103374558530109440,"km_value":103374558530109.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873780141057449984,"description":"Unknown IO ID 45"} 
[2026-07-07 16:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556133632001,"power":12885,"unknown_96":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8873780141057449984}} 
[2026-07-07 16:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":124656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:37:08] local.INFO: GPS data processed {"connection_id":124656,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:37:08] local.INFO: Acknowledgment sent {"connection_id":124656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:37:09] local.INFO: TCP Data received {"connection_id":125374,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3fa5c0012d169bc0072220e00075012f16..."} 
[2026-07-07 16:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3fa5c0012d169bc0072220e00075012f16..."} 
[2026-07-07 16:37:09] local.INFO: Processing buffer {"connection_id":125374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3fa5c0012d169bc0072220e00075012f16..."} 
[2026-07-07 16:37:09] local.INFO: Packet analysis {"connection_id":125374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:37:09] local.INFO: Extracted packet for processing {"connection_id":125374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:37:09] local.INFO: GPS Element Parsed {"raw_longitude":756456384,"raw_latitude":119677152,"longitude_deg":75.6456384,"latitude_deg":11.9677152,"altitude":117,"angle":303,"satellites":22,"speed":1,"hex_longitude":"2d169bc0","hex_latitude":"072220e0","is_valid_coordinates":true} 
[2026-07-07 16:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556090624001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4688729897697280,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629247564582793216,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783422232000,"timestamp_ms":1783422232000,"timestamp_seconds":1783422232,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3fa5c0"} 
[2026-07-07 16:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-07 16:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867789992,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2824077312,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:09] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7061636372556677001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633389209675591,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880190158,"corrected_to":0} 
[2026-07-07 16:37:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:09] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3221302550,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2147951136,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:09] local.WARNING: Large IO value detected {"io_id":55,"raw_value":7854504143346519580,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:09] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:09] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,71,28,24,241,158,16,168,159,146,45,64,32,117,22,10,66,114,128,21,111,1,240,18,60,34,4,113,205,2,40,157,72,239,56,7,119,55,124],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3880190158,"validated":0}]} 
[2026-07-07 16:37:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8431057455299100672,"timestamp_seconds":8431057455299101.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556090624001,"66":13722,"71":206,"28":31744,"24":1,"16":4688729897697280,"45":1629247564582793216},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556090624001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:37:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:37:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4688729897697280,"km_value":4688729897697.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629247564582793216,"description":"Unknown IO ID 45"} 
[2026-07-07 16:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556090624001,"power":13722,"unknown_71":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1629247564582793216}} 
[2026-07-07 16:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":125374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:37:09] local.INFO: GPS data processed {"connection_id":125374,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:37:09] local.INFO: Acknowledgment sent {"connection_id":125374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:37:10] local.INFO: TCP Data received {"connection_id":125372,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:37:10] local.INFO: Processing buffer {"connection_id":125372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:37:10] local.INFO: IMEI packet received {"connection_id":125372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":125372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:37:10] local.INFO: TCP Data received {"connection_id":125372,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:37:10] local.INFO: Processing buffer {"connection_id":125372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:37:10] local.INFO: IMEI packet received {"connection_id":125372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":125372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:37:10] local.INFO: TCP Data received {"connection_id":126627,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126627,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:37:10] local.INFO: Processing buffer {"connection_id":126627,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:37:10] local.INFO: IMEI packet received {"connection_id":126627,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":126627,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:37:12] local.INFO: TCP Data received {"connection_id":126627,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126627,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:37:12] local.INFO: Processing buffer {"connection_id":126627,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:37:12] local.INFO: IMEI packet received {"connection_id":126627,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":126627,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:37:13] local.INFO: TCP Data received {"connection_id":126627,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c41ff50012d0cdcc007074de80025011f21..."} 
[2026-07-07 16:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c41ff50012d0cdcc007074de80025011f21..."} 
[2026-07-07 16:37:13] local.INFO: Processing buffer {"connection_id":126627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c41ff50012d0cdcc007074de80025011f21..."} 
[2026-07-07 16:37:13] local.INFO: Packet analysis {"connection_id":126627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c41"} 
[2026-07-07 16:37:13] local.INFO: Extracted packet for processing {"connection_id":126627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c41"} 
[2026-07-07 16:37:13] local.INFO: GPS Element Parsed {"raw_longitude":755817664,"raw_latitude":117919208,"longitude_deg":75.5817664,"latitude_deg":11.7919208,"altitude":37,"angle":287,"satellites":33,"speed":13,"hex_longitude":"2d0cdcc0","hex_latitude":"07074de8","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556130560001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23447021037813760,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927248972216373248,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783422386000,"timestamp_ms":1783422386000,"timestamp_seconds":1783422386,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c41ff50"} 
[2026-07-07 16:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 16:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126627,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126627,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556130560001,"66":14450,"221":206,"94":10240,"24":13,"16":23447021037813760,"45":927248972216373248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-07 16:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556130560001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:37:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 16:37:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23447021037813760,"km_value":23447021037813.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":927248972216373248,"description":"Unknown IO ID 45"} 
[2026-07-07 16:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556130560001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":927248972216373248}} 
[2026-07-07 16:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":126627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446477,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:37:13] local.INFO: GPS data processed {"connection_id":126627,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:37:13] local.INFO: Acknowledgment sent {"connection_id":126627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:37:14] local.INFO: TCP Data received {"connection_id":125372,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:37:14] local.INFO: Processing buffer {"connection_id":125372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:37:14] local.INFO: IMEI packet received {"connection_id":125372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":125372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:37:15] local.INFO: TCP Data received {"connection_id":125372,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:37:15] local.INFO: Processing buffer {"connection_id":125372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:37:15] local.INFO: Packet analysis {"connection_id":125372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:37:15] local.INFO: Extracted packet for processing {"connection_id":125372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:37:15] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555995648001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637863168685541376,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783422158000,"timestamp_ms":1783422158000,"timestamp_seconds":1783422158,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3e84b0"} 
[2026-07-07 16:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 16:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555995648001,"66":25995,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4637863168685541376},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555995648001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:37:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:37:15] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637863168685541376,"description":"Unknown IO ID 45"} 
[2026-07-07 16:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555995648001,"power":25995,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637863168685541376}} 
[2026-07-07 16:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":125372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:37:15] local.INFO: GPS data processed {"connection_id":125372,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:37:15] local.INFO: Acknowledgment sent {"connection_id":125372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:37:26] local.INFO: TCP Data received {"connection_id":124568,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:37:26] local.INFO: Processing buffer {"connection_id":124568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:37:26] local.INFO: IMEI packet received {"connection_id":124568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":124568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:37:31] local.INFO: TCP Data received {"connection_id":124568,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:37:31] local.INFO: Processing buffer {"connection_id":124568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:37:31] local.INFO: IMEI packet received {"connection_id":124568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":124568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:37:32] local.INFO: TCP Data received {"connection_id":124568,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c428038012d7b268005e29468000900a627..."} 
[2026-07-07 16:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c428038012d7b268005e29468000900a627..."} 
[2026-07-07 16:37:32] local.INFO: Processing buffer {"connection_id":124568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c428038012d7b268005e29468000900a627..."} 
[2026-07-07 16:37:32] local.INFO: Packet analysis {"connection_id":124568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c42"} 
[2026-07-07 16:37:32] local.INFO: Extracted packet for processing {"connection_id":124568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c42"} 
[2026-07-07 16:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763045504,"raw_latitude":98735208,"longitude_deg":76.3045504,"latitude_deg":9.8735208,"altitude":9,"angle":166,"satellites":39,"speed":7,"hex_longitude":"2d7b2680","hex_latitude":"05e29468","is_valid_coordinates":true} 
[2026-07-07 16:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556138752001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103374584299913216,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873991247289016320,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783422419000,"timestamp_ms":1783422419000,"timestamp_seconds":1783422419,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c428038"} 
[2026-07-07 16:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-07 16:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556138752001,"66":12809,"96":206,"85":15104,"24":7,"16":103374584299913216,"45":8873991247289016320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-07 16:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556138752001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:37:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 16:37:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103374584299913216,"km_value":103374584299913.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873991247289016320,"description":"Unknown IO ID 45"} 
[2026-07-07 16:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556138752001,"power":12809,"unknown_96":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8873991247289016320}} 
[2026-07-07 16:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":124568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:37:32] local.INFO: GPS data processed {"connection_id":124568,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:37:32] local.INFO: Acknowledgment sent {"connection_id":124568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:37:41] local.INFO: TCP Data received {"connection_id":125374,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3fc500012d169bc0072220f00075008516..."} 
[2026-07-07 16:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3fc500012d169bc0072220f00075008516..."} 
[2026-07-07 16:37:41] local.INFO: Processing buffer {"connection_id":125374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3fc500012d169bc0072220f00075008516..."} 
[2026-07-07 16:37:41] local.INFO: Packet analysis {"connection_id":125374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:37:41] local.INFO: Extracted packet for processing {"connection_id":125374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3f"} 
[2026-07-07 16:37:41] local.INFO: GPS Element Parsed {"raw_longitude":756456384,"raw_latitude":119677168,"longitude_deg":75.6456384,"latitude_deg":11.9677168,"altitude":117,"angle":133,"satellites":22,"speed":3,"hex_longitude":"2d169bc0","hex_latitude":"072220f0","is_valid_coordinates":true} 
[2026-07-07 16:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556091392001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4688734192664576,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629106827094450176,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783422240000,"timestamp_ms":1783422240000,"timestamp_seconds":1783422240,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3fc500"} 
[2026-07-07 16:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-07 16:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556091392001,"66":13993,"71":206,"28":31744,"24":3,"16":4688734192664576,"45":1629106827094450176},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556091392001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:37:41] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:37:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4688734192664576,"km_value":4688734192664.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629106827094450176,"description":"Unknown IO ID 45"} 
[2026-07-07 16:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556091392001,"power":13993,"unknown_71":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1629106827094450176}} 
[2026-07-07 16:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":125374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:37:41] local.INFO: GPS data processed {"connection_id":125374,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:37:41] local.INFO: Acknowledgment sent {"connection_id":125374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:37:44] local.INFO: TCP Data received {"connection_id":126627,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c423dd0012d0cbb0007075ae00021012421..."} 
[2026-07-07 16:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c423dd0012d0cbb0007075ae00021012421..."} 
[2026-07-07 16:37:44] local.INFO: Processing buffer {"connection_id":126627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c423dd0012d0cbb0007075ae00021012421..."} 
[2026-07-07 16:37:44] local.INFO: Packet analysis {"connection_id":126627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c42"} 
[2026-07-07 16:37:44] local.INFO: Extracted packet for processing {"connection_id":126627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c42"} 
[2026-07-07 16:37:44] local.INFO: GPS Element Parsed {"raw_longitude":755809024,"raw_latitude":117922528,"longitude_deg":75.5809024,"latitude_deg":11.7922528,"altitude":33,"angle":292,"satellites":33,"speed":8,"hex_longitude":"2d0cbb00","hex_latitude":"07075ae0","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556130816001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23447463419445248,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926826759751329792,"note":"Value kept but may cause issues"} 
[2026-07-07 16:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783422402000,"timestamp_ms":1783422402000,"timestamp_seconds":1783422402,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c423dd0"} 
[2026-07-07 16:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 16:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":126627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":126627,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":126627,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556130816001,"66":14439,"221":206,"94":10240,"24":8,"16":23447463419445248,"45":926826759751329792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-07 16:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556130816001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:37:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 16:37:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23447463419445248,"km_value":23447463419445.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":926826759751329792,"description":"Unknown IO ID 45"} 
[2026-07-07 16:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556130816001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":926826759751329792}} 
[2026-07-07 16:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":126627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446481,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:37:44] local.INFO: GPS data processed {"connection_id":126627,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:37:44] local.INFO: Acknowledgment sent {"connection_id":126627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:37:58] local.INFO: TCP Data received {"connection_id":124570,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:37:58] local.INFO: Processing buffer {"connection_id":124570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:37:58] local.INFO: IMEI packet received {"connection_id":124570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":124570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:38:03] local.INFO: TCP Data received {"connection_id":124568,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c428808012d7b26c005e29318000800b628..."} 
[2026-07-07 16:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c428808012d7b26c005e29318000800b628..."} 
[2026-07-07 16:38:03] local.INFO: Processing buffer {"connection_id":124568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c428808012d7b26c005e29318000800b628..."} 
[2026-07-07 16:38:03] local.INFO: Packet analysis {"connection_id":124568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c42"} 
[2026-07-07 16:38:03] local.INFO: Extracted packet for processing {"connection_id":124568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c42"} 
[2026-07-07 16:38:03] local.INFO: GPS Element Parsed {"raw_longitude":763045568,"raw_latitude":98734872,"longitude_deg":76.3045568,"latitude_deg":9.8734872,"altitude":8,"angle":182,"satellites":40,"speed":5,"hex_longitude":"2d7b26c0","hex_latitude":"05e29318","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556139264001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103374601479782400,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873920878544709632,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783422421000,"timestamp_ms":1783422421000,"timestamp_seconds":1783422421,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c428808"} 
[2026-07-07 16:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-07 16:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720575940547052544,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:03] local.WARNING: Large IO value detected {"io_id":60,"raw_value":4711627232403721792,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:03] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3691511821,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-07 16:38:03] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3221611264,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:03] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3314875440220393045,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2072693767332120792,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:03] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755532585173233,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:03] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,96,85,24,241,157,16,66,159,120,45,192,150,9,41,10,42,165,8,33,3,64,1,240,117,227,60,226,4,113,205,39,181,21,30,239,51,97,2,111,5,14,31,59,250],"length":535,"final_offset":665,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-07 16:38:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648701032775745536,"timestamp_seconds":648701032775745.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16: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-07-07 16:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556139264001,"66":12841,"96":206,"85":15104,"24":5,"16":103374601479782400,"45":8873920878544709632},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-07 16:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556139264001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:38:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 16:38:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103374601479782400,"km_value":103374601479782.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873920878544709632,"description":"Unknown IO ID 45"} 
[2026-07-07 16:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556139264001,"power":12841,"unknown_96":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8873920878544709632}} 
[2026-07-07 16:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":124568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:38:03] local.INFO: GPS data processed {"connection_id":124568,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:38:03] local.INFO: Acknowledgment sent {"connection_id":124568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:38:04] local.INFO: TCP Data received {"connection_id":124570,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:38:04] local.INFO: Processing buffer {"connection_id":124570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:38:04] local.INFO: IMEI packet received {"connection_id":124570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":124570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:38:05] local.INFO: TCP Data received {"connection_id":124570,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:38:05] local.INFO: Processing buffer {"connection_id":124570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c3e84b0012dbfa3000541a1780038006229..."} 
[2026-07-07 16:38:05] local.INFO: Packet analysis {"connection_id":124570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:38:05] local.INFO: Extracted packet for processing {"connection_id":124570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c3e"} 
[2026-07-07 16:38:05] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456555995648001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637863168685541376,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783422158000,"timestamp_ms":1783422158000,"timestamp_seconds":1783422158,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c3e84b0"} 
[2026-07-07 16:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 16:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456555995648001,"66":25995,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4637863168685541376},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456555995648001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:38:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:38:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637863168685541376,"description":"Unknown IO ID 45"} 
[2026-07-07 16:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456555995648001,"power":25995,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637863168685541376}} 
[2026-07-07 16:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":124570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:38:05] local.INFO: GPS data processed {"connection_id":124570,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:38:05] local.INFO: Acknowledgment sent {"connection_id":124570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:38:07] local.INFO: TCP Data received {"connection_id":125375,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:38:07] local.INFO: Processing buffer {"connection_id":125375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:38:07] local.INFO: IMEI packet received {"connection_id":125375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":125375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:38:10] local.INFO: TCP Data received {"connection_id":124657,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:38:10] local.INFO: Processing buffer {"connection_id":124657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:38:10] local.INFO: IMEI packet received {"connection_id":124657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":124657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:38:12] local.INFO: TCP Data received {"connection_id":125375,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:38:12] local.INFO: Processing buffer {"connection_id":125375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:38:12] local.INFO: IMEI packet received {"connection_id":125375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":125375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:38:13] local.INFO: TCP Data received {"connection_id":125375,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c401708012d169c40072220a00074008d17..."} 
[2026-07-07 16:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c401708012d169c40072220a00074008d17..."} 
[2026-07-07 16:38:13] local.INFO: Processing buffer {"connection_id":125375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c401708012d169c40072220a00074008d17..."} 
[2026-07-07 16:38:13] local.INFO: Packet analysis {"connection_id":125375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c40"} 
[2026-07-07 16:38:13] local.INFO: Extracted packet for processing {"connection_id":125375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c40"} 
[2026-07-07 16:38:13] local.INFO: GPS Element Parsed {"raw_longitude":756456512,"raw_latitude":119677088,"longitude_deg":75.6456512,"latitude_deg":11.9677088,"altitude":116,"angle":141,"satellites":23,"speed":0,"hex_longitude":"2d169c40","hex_latitude":"072220a0","is_valid_coordinates":true} 
[2026-07-07 16:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556093440001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4688742782599168,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629106827094454272,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783422261000,"timestamp_ms":1783422261000,"timestamp_seconds":1783422261,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c401708"} 
[2026-07-07 16:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-07 16:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556093440001,"66":13091,"71":206,"28":31744,"24":0,"16":4688742782599168,"45":1629106827094454272},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556093440001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:38:13] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:38:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4688742782599168,"km_value":4688742782599.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629106827094454272,"description":"Unknown IO ID 45"} 
[2026-07-07 16:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556093440001,"power":13091,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1629106827094454272}} 
[2026-07-07 16:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":125375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:38:14] local.INFO: GPS data processed {"connection_id":125375,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:38:14] local.INFO: Acknowledgment sent {"connection_id":125375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:38:15] local.INFO: TCP Data received {"connection_id":125375,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c406910012d169c40072220a00074008d17..."} 
[2026-07-07 16:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c406910012d169c40072220a00074008d17..."} 
[2026-07-07 16:38:15] local.INFO: Processing buffer {"connection_id":125375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c406910012d169c40072220a00074008d17..."} 
[2026-07-07 16:38:15] local.INFO: Packet analysis {"connection_id":125375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c40"} 
[2026-07-07 16:38:15] local.INFO: Extracted packet for processing {"connection_id":125375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c40"} 
[2026-07-07 16:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756456512,"raw_latitude":119677088,"longitude_deg":75.6456512,"latitude_deg":11.9677088,"altitude":116,"angle":141,"satellites":23,"speed":0,"hex_longitude":"2d169c40","hex_latitude":"072220a0","is_valid_coordinates":true} 
[2026-07-07 16:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556098816001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4688742782599168,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629247564582789120,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783422282000,"timestamp_ms":1783422282000,"timestamp_seconds":1783422282,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c406910"} 
[2026-07-07 16:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 16:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556098816001,"66":13004,"71":206,"28":31744,"24":0,"16":4688742782599168,"45":1629247564582789120},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556098816001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:38:15] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:38:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4688742782599168,"km_value":4688742782599.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629247564582789120,"description":"Unknown IO ID 45"} 
[2026-07-07 16:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556098816001,"power":13004,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1629247564582789120}} 
[2026-07-07 16:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":125375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:38:15] local.INFO: GPS data processed {"connection_id":125375,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:38:15] local.INFO: Acknowledgment sent {"connection_id":125375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:38:15] local.INFO: TCP Data received {"connection_id":124657,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:38:15] local.INFO: Processing buffer {"connection_id":124657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:38:15] local.INFO: IMEI packet received {"connection_id":124657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":124657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:38:16] local.INFO: TCP Data received {"connection_id":124657,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c434b58012d0c834007077328001c011621..."} 
[2026-07-07 16:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c434b58012d0c834007077328001c011621..."} 
[2026-07-07 16:38:16] local.INFO: Processing buffer {"connection_id":124657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c434b58012d0c834007077328001c011621..."} 
[2026-07-07 16:38:16] local.INFO: Packet analysis {"connection_id":124657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c43"} 
[2026-07-07 16:38:16] local.INFO: Extracted packet for processing {"connection_id":124657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c43"} 
[2026-07-07 16:38:16] local.INFO: GPS Element Parsed {"raw_longitude":755794752,"raw_latitude":117928744,"longitude_deg":75.5794752,"latitude_deg":11.7928744,"altitude":28,"angle":278,"satellites":33,"speed":12,"hex_longitude":"2d0c8340","hex_latitude":"07077328","is_valid_coordinates":true} 
[2026-07-07 16:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556152320001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23448438377021440,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901986593059055616,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783422471000,"timestamp_ms":1783422471000,"timestamp_seconds":1783422471,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c434b58"} 
[2026-07-07 16:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 16:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556152320001,"66":14428,"221":206,"94":10240,"24":12,"16":23448438377021440,"45":901986593059055616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-07 16:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556152320001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:38:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 16:38:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23448438377021440,"km_value":23448438377021.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":901986593059055616,"description":"Unknown IO ID 45"} 
[2026-07-07 16:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556152320001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":901986593059055616}} 
[2026-07-07 16:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":124657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446486,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:38:16] local.INFO: GPS data processed {"connection_id":124657,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:38:16] local.INFO: Acknowledgment sent {"connection_id":124657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:38:26] local.INFO: TCP Data received {"connection_id":125376,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:38:26] local.INFO: Processing buffer {"connection_id":125376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:38:26] local.INFO: IMEI packet received {"connection_id":125376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":125376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:38:31] local.INFO: TCP Data received {"connection_id":125376,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:38:31] local.INFO: Processing buffer {"connection_id":125376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:38:31] local.INFO: IMEI packet received {"connection_id":125376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":125376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:38:32] local.INFO: TCP Data received {"connection_id":125376,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c42b6e8012d7b254005e29180000800fa24..."} 
[2026-07-07 16:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c42b6e8012d7b254005e29180000800fa24..."} 
[2026-07-07 16:38:32] local.INFO: Processing buffer {"connection_id":125376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c42b6e8012d7b254005e29180000800fa24..."} 
[2026-07-07 16:38:32] local.INFO: Packet analysis {"connection_id":125376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c42"} 
[2026-07-07 16:38:32] local.INFO: Extracted packet for processing {"connection_id":125376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c42"} 
[2026-07-07 16:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763045184,"raw_latitude":98734464,"longitude_deg":76.3045184,"latitude_deg":9.8734464,"altitude":8,"angle":250,"satellites":36,"speed":5,"hex_longitude":"2d7b2540","hex_latitude":"05e29180","is_valid_coordinates":true} 
[2026-07-07 16:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556139776001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103374631544553472,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873991247288801280,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783422433000,"timestamp_ms":1783422433000,"timestamp_seconds":1783422433,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c42b6e8"} 
[2026-07-07 16:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-07 16:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556139776001,"66":12385,"96":206,"85":15104,"24":5,"16":103374631544553472,"45":8873991247288801280},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-07 16:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556139776001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:38:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 16:38:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103374631544553472,"km_value":103374631544553.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873991247288801280,"description":"Unknown IO ID 45"} 
[2026-07-07 16:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556139776001,"power":12385,"unknown_96":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8873991247288801280}} 
[2026-07-07 16:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":125376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:38:32] local.INFO: GPS data processed {"connection_id":125376,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:38:32] local.INFO: Acknowledgment sent {"connection_id":125376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:38:42] local.INFO: TCP Data received {"connection_id":124570,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:38:42] local.INFO: Processing buffer {"connection_id":124570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:38:42] local.INFO: Packet analysis {"connection_id":124570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c43"} 
[2026-07-07 16:38:42] local.INFO: Extracted packet for processing {"connection_id":124570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c43"} 
[2026-07-07 16:38:42] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556072448001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637863168685541376,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783422459000,"timestamp_ms":1783422459000,"timestamp_seconds":1783422459,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c431c78"} 
[2026-07-07 16:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 16:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556072448001,"66":25843,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4637863168685541376},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556072448001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:38:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:38:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637863168685541376,"description":"Unknown IO ID 45"} 
[2026-07-07 16:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556072448001,"power":25843,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637863168685541376}} 
[2026-07-07 16:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":124570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:38:42] local.INFO: GPS data processed {"connection_id":124570,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:38:42] local.INFO: Acknowledgment sent {"connection_id":124570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:38:47] local.INFO: TCP Data received {"connection_id":125375,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c40bb18012d169c40072220a00074008d19..."} 
[2026-07-07 16:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c40bb18012d169c40072220a00074008d19..."} 
[2026-07-07 16:38:47] local.INFO: Processing buffer {"connection_id":125375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c40bb18012d169c40072220a00074008d19..."} 
[2026-07-07 16:38:47] local.INFO: Packet analysis {"connection_id":125375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c40"} 
[2026-07-07 16:38:47] local.INFO: Extracted packet for processing {"connection_id":125375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c40"} 
[2026-07-07 16:38:47] local.INFO: GPS Element Parsed {"raw_longitude":756456512,"raw_latitude":119677088,"longitude_deg":75.6456512,"latitude_deg":11.9677088,"altitude":116,"angle":141,"satellites":25,"speed":0,"hex_longitude":"2d169c40","hex_latitude":"072220a0","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556104192001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4688742782599168,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629247564582789120,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783422303000,"timestamp_ms":1783422303000,"timestamp_seconds":1783422303,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c40bb18"} 
[2026-07-07 16:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-07 16:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":125375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":125375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":125375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556104192001,"66":13015,"71":206,"28":31744,"24":0,"16":4688742782599168,"45":1629247564582789120},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556104192001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:38:47] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:38:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4688742782599168,"km_value":4688742782599.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629247564582789120,"description":"Unknown IO ID 45"} 
[2026-07-07 16:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556104192001,"power":13015,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1629247564582789120}} 
[2026-07-07 16:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":125375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:38:47] local.INFO: GPS data processed {"connection_id":125375,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:38:47] local.INFO: Acknowledgment sent {"connection_id":125375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:38:48] local.INFO: TCP Data received {"connection_id":124657,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c434f40012d0c820007077388001d012a21..."} 
[2026-07-07 16:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c434f40012d0c820007077388001d012a21..."} 
[2026-07-07 16:38:48] local.INFO: Processing buffer {"connection_id":124657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c434f40012d0c820007077388001d012a21..."} 
[2026-07-07 16:38:48] local.INFO: Packet analysis {"connection_id":124657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c43"} 
[2026-07-07 16:38:48] local.INFO: Extracted packet for processing {"connection_id":124657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c43"} 
[2026-07-07 16:38:48] local.INFO: GPS Element Parsed {"raw_longitude":755794432,"raw_latitude":117928840,"longitude_deg":75.5794432,"latitude_deg":11.792884,"altitude":29,"angle":298,"satellites":33,"speed":10,"hex_longitude":"2d0c8200","hex_latitude":"07077388","is_valid_coordinates":true} 
[2026-07-07 16:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556152576001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23448455556890624,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901634749338167296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783422472000,"timestamp_ms":1783422472000,"timestamp_seconds":1783422472,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c434f40"} 
[2026-07-07 16:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:38: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-07-07 16:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 16:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":124657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":124657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":124657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556152576001,"66":14428,"221":206,"94":10240,"24":10,"16":23448455556890624,"45":901634749338167296},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-07 16:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556152576001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:38:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 16:38:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23448455556890624,"km_value":23448455556890.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":901634749338167296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556152576001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":901634749338167296}} 
[2026-07-07 16:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":124657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446490,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:38:48] local.INFO: GPS data processed {"connection_id":124657,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:38:48] local.INFO: Acknowledgment sent {"connection_id":124657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:39:02] local.INFO: TCP Data received {"connection_id":125378,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:39:02] local.INFO: Processing buffer {"connection_id":125378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:39:02] local.INFO: IMEI packet received {"connection_id":125378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":125378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:39:03] local.INFO: TCP Data received {"connection_id":125376,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c42beb8012d7b23c005e291780008011c25..."} 
[2026-07-07 16:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c42beb8012d7b23c005e291780008011c25..."} 
[2026-07-07 16:39:03] local.INFO: Processing buffer {"connection_id":125376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c42beb8012d7b23c005e291780008011c25..."} 
[2026-07-07 16:39:03] local.INFO: Packet analysis {"connection_id":125376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c42"} 
[2026-07-07 16:39:03] local.INFO: Extracted packet for processing {"connection_id":125376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c42"} 
[2026-07-07 16:39:03] local.INFO: GPS Element Parsed {"raw_longitude":763044800,"raw_latitude":98734456,"longitude_deg":76.30448,"latitude_deg":9.8734456,"altitude":8,"angle":284,"satellites":37,"speed":6,"hex_longitude":"2d7b23c0","hex_latitude":"05e29178","is_valid_coordinates":true} 
[2026-07-07 16:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556142848001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103374653019389952,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873569034823630848,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783422435000,"timestamp_ms":1783422435000,"timestamp_seconds":1783422435,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c42beb8"} 
[2026-07-07 16:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 16:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:39: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-07-07 16:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556142848001,"66":12645,"96":206,"85":15104,"24":6,"16":103374653019389952,"45":8873569034823630848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-07 16:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556142848001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:39:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 16:39:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103374653019389952,"km_value":103374653019389.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873569034823630848,"description":"Unknown IO ID 45"} 
[2026-07-07 16:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556142848001,"power":12645,"unknown_96":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8873569034823630848}} 
[2026-07-07 16:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":125376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:39:04] local.INFO: GPS data processed {"connection_id":125376,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:39:04] local.INFO: Acknowledgment sent {"connection_id":125376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:39:04] local.INFO: TCP Data received {"connection_id":126628,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:39:04] local.INFO: Processing buffer {"connection_id":126628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:39:04] local.INFO: IMEI packet received {"connection_id":126628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":126628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:39:05] local.INFO: TCP Data received {"connection_id":125378,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:39:05] local.INFO: Processing buffer {"connection_id":125378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:39:05] local.INFO: IMEI packet received {"connection_id":125378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":125378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:39:06] local.INFO: TCP Data received {"connection_id":125378,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c410d20012d169c40072220a00074008d1a..."} 
[2026-07-07 16:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c410d20012d169c40072220a00074008d1a..."} 
[2026-07-07 16:39:06] local.INFO: Processing buffer {"connection_id":125378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c410d20012d169c40072220a00074008d1a..."} 
[2026-07-07 16:39:06] local.INFO: Packet analysis {"connection_id":125378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c41"} 
[2026-07-07 16:39:06] local.INFO: Extracted packet for processing {"connection_id":125378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c41"} 
[2026-07-07 16:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756456512,"raw_latitude":119677088,"longitude_deg":75.6456512,"latitude_deg":11.9677088,"altitude":116,"angle":141,"satellites":26,"speed":0,"hex_longitude":"2d169c40","hex_latitude":"072220a0","is_valid_coordinates":true} 
[2026-07-07 16:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556109568001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4688742782599168,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629247564582789120,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783422324000,"timestamp_ms":1783422324000,"timestamp_seconds":1783422324,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c410d20"} 
[2026-07-07 16:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 16:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556109568001,"66":12972,"71":206,"28":31744,"24":0,"16":4688742782599168,"45":1629247564582789120},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556109568001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:39:06] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:39:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4688742782599168,"km_value":4688742782599.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629247564582789120,"description":"Unknown IO ID 45"} 
[2026-07-07 16:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556109568001,"power":12972,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1629247564582789120}} 
[2026-07-07 16:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":125378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:39:07] local.INFO: GPS data processed {"connection_id":125378,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:39:07] local.INFO: Acknowledgment sent {"connection_id":125378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:39:08] local.INFO: TCP Data received {"connection_id":125378,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c415f28012d169c40072220a00074008d1b..."} 
[2026-07-07 16:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c415f28012d169c40072220a00074008d1b..."} 
[2026-07-07 16:39:08] local.INFO: Processing buffer {"connection_id":125378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c415f28012d169c40072220a00074008d1b..."} 
[2026-07-07 16:39:08] local.INFO: Packet analysis {"connection_id":125378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c41"} 
[2026-07-07 16:39:08] local.INFO: Extracted packet for processing {"connection_id":125378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c41"} 
[2026-07-07 16:39:08] local.INFO: GPS Element Parsed {"raw_longitude":756456512,"raw_latitude":119677088,"longitude_deg":75.6456512,"latitude_deg":11.9677088,"altitude":116,"angle":141,"satellites":27,"speed":0,"hex_longitude":"2d169c40","hex_latitude":"072220a0","is_valid_coordinates":true} 
[2026-07-07 16:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556114944001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4688742782599168,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629247564582789120,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783422345000,"timestamp_ms":1783422345000,"timestamp_seconds":1783422345,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c415f28"} 
[2026-07-07 16:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-07 16:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556114944001,"66":12972,"71":206,"28":31744,"24":0,"16":4688742782599168,"45":1629247564582789120},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556114944001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:39:08] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:39:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4688742782599168,"km_value":4688742782599.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629247564582789120,"description":"Unknown IO ID 45"} 
[2026-07-07 16:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556114944001,"power":12972,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1629247564582789120}} 
[2026-07-07 16:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":125378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:39:08] local.INFO: GPS data processed {"connection_id":125378,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:39:08] local.INFO: Acknowledgment sent {"connection_id":125378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:39:12] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:39:12] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:39:12] local.INFO: IMEI packet received {"connection_id":124571,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":124571,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:39:12] local.INFO: TCP Data received {"connection_id":126628,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:39:12] local.INFO: Processing buffer {"connection_id":126628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:39:12] local.INFO: IMEI packet received {"connection_id":126628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":126628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:39:13] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:39:13] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:39:13] local.INFO: IMEI packet received {"connection_id":124571,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":124571,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:39:14] local.INFO: TCP Data received {"connection_id":126628,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:39:14] local.INFO: Processing buffer {"connection_id":126628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:39:14] local.INFO: Packet analysis {"connection_id":126628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c43"} 
[2026-07-07 16:39:14] local.INFO: Extracted packet for processing {"connection_id":126628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c43"} 
[2026-07-07 16:39:14] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556072448001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637863168685541376,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783422459000,"timestamp_ms":1783422459000,"timestamp_seconds":1783422459,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c431c78"} 
[2026-07-07 16:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16: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-07-07 16: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":139,"data_length":795,"current_offset":136} 
[2026-07-07 16:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556072448001,"66":25843,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4637863168685541376},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556072448001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:39:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:39:14] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637863168685541376,"description":"Unknown IO ID 45"} 
[2026-07-07 16:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556072448001,"power":25843,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637863168685541376}} 
[2026-07-07 16:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":126628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:39:14] local.INFO: GPS data processed {"connection_id":126628,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:39:14] local.INFO: Acknowledgment sent {"connection_id":126628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:39:15] local.INFO: TCP Data received {"connection_id":126628,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:39:15] local.INFO: Processing buffer {"connection_id":126628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:39:15] local.INFO: Packet analysis {"connection_id":126628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c43"} 
[2026-07-07 16:39:15] local.INFO: Extracted packet for processing {"connection_id":126628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c43"} 
[2026-07-07 16:39:15] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556072448001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637863168685541376,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783422459000,"timestamp_ms":1783422459000,"timestamp_seconds":1783422459,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c431c78"} 
[2026-07-07 16:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16: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":139,"data_length":795,"current_offset":136} 
[2026-07-07 16:39: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-07-07 16:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556072448001,"66":25843,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4637863168685541376},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556072448001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:39:15] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637863168685541376,"description":"Unknown IO ID 45"} 
[2026-07-07 16:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556072448001,"power":25843,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637863168685541376}} 
[2026-07-07 16:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":126628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:39:15] local.INFO: GPS data processed {"connection_id":126628,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:39:15] local.INFO: Acknowledgment sent {"connection_id":126628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:39:16] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:39:16] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:39:16] local.INFO: IMEI packet received {"connection_id":124571,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":124571,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:39:21] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c442de8012d0c344007075548001500e621..."} 
[2026-07-07 16:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c442de8012d0c344007075548001500e621..."} 
[2026-07-07 16:39:21] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c442de8012d0c344007075548001500e621..."} 
[2026-07-07 16:39:21] local.INFO: Packet analysis {"connection_id":124571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c44"} 
[2026-07-07 16:39:21] local.INFO: Extracted packet for processing {"connection_id":124571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c44"} 
[2026-07-07 16:39:21] local.INFO: GPS Element Parsed {"raw_longitude":755774528,"raw_latitude":117921096,"longitude_deg":75.5774528,"latitude_deg":11.7921096,"altitude":21,"angle":230,"satellites":33,"speed":17,"hex_longitude":"2d0c3440","hex_latitude":"07075548","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556167168001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23449761226948608,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879750069897031680,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783422529000,"timestamp_ms":1783422529000,"timestamp_seconds":1783422529,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c442de8"} 
[2026-07-07 16:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 16:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556167168001,"66":14374,"221":206,"94":10240,"24":17,"16":23449761226948608,"45":879750069897031680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-07 16:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556167168001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:39:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 16:39:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23449761226948608,"km_value":23449761226948.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":879750069897031680,"description":"Unknown IO ID 45"} 
[2026-07-07 16:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556167168001,"power":14374,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":879750069897031680}} 
[2026-07-07 16:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":124571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446496,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:39:21] local.INFO: GPS data processed {"connection_id":124571,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:39:21] local.INFO: Acknowledgment sent {"connection_id":124571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:39:23] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4431d0012d0c328007075498001500f621..."} 
[2026-07-07 16:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4431d0012d0c328007075498001500f621..."} 
[2026-07-07 16:39:23] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4431d0012d0c328007075498001500f621..."} 
[2026-07-07 16:39:23] local.INFO: Packet analysis {"connection_id":124571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c44"} 
[2026-07-07 16:39:23] local.INFO: Extracted packet for processing {"connection_id":124571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c44"} 
[2026-07-07 16:39:23] local.INFO: GPS Element Parsed {"raw_longitude":755774080,"raw_latitude":117920920,"longitude_deg":75.577408,"latitude_deg":11.792092,"altitude":21,"angle":246,"satellites":33,"speed":19,"hex_longitude":"2d0c3280","hex_latitude":"07075498","is_valid_coordinates":true} 
[2026-07-07 16:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556167424001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23449782701785088,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879398226176067584,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783422530000,"timestamp_ms":1783422530000,"timestamp_seconds":1783422530,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4431d0"} 
[2026-07-07 16:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 16:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":124571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":124571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":124571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556167424001,"66":14374,"221":206,"94":10240,"24":19,"16":23449782701785088,"45":879398226176067584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-07 16:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556167424001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:39:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 16:39:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23449782701785088,"km_value":23449782701785.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":879398226176067584,"description":"Unknown IO ID 45"} 
[2026-07-07 16:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556167424001,"power":14374,"unknown_221":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":879398226176067584}} 
[2026-07-07 16:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":124571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446497,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:39:23] local.INFO: GPS data processed {"connection_id":124571,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:39:23] local.INFO: Acknowledgment sent {"connection_id":124571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:39:31] local.INFO: TCP Data received {"connection_id":125379,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:39:31] local.INFO: Processing buffer {"connection_id":125379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:39:31] local.INFO: IMEI packet received {"connection_id":125379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":125379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:39:34] local.INFO: TCP Data received {"connection_id":125379,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:39:34] local.INFO: Processing buffer {"connection_id":125379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:39:34] local.INFO: IMEI packet received {"connection_id":125379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":125379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:39:35] local.INFO: TCP Data received {"connection_id":125379,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c444940012d7b034005e34a580001015726..."} 
[2026-07-07 16:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c444940012d7b034005e34a580001015726..."} 
[2026-07-07 16:39:35] local.INFO: Processing buffer {"connection_id":125379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c444940012d7b034005e34a580001015726..."} 
[2026-07-07 16:39:35] local.INFO: Packet analysis {"connection_id":125379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c44"} 
[2026-07-07 16:39:35] local.INFO: Extracted packet for processing {"connection_id":125379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c44"} 
[2026-07-07 16:39:35] local.INFO: GPS Element Parsed {"raw_longitude":763036480,"raw_latitude":98781784,"longitude_deg":76.303648,"latitude_deg":9.8781784,"altitude":1,"angle":343,"satellites":38,"speed":23,"hex_longitude":"2d7b0340","hex_latitude":"05e34a58","is_valid_coordinates":true} 
[2026-07-07 16:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556167680001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103377023841337344,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864209991859087360,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783422536000,"timestamp_ms":1783422536000,"timestamp_seconds":1783422536,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c444940"} 
[2026-07-07 16:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 16:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:39: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-07-07 16:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556167680001,"66":13298,"97":206,"85":15104,"24":23,"16":103377023841337344,"45":8864209991859087360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556167680001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:39:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:39:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103377023841337344,"km_value":103377023841337.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864209991859087360,"description":"Unknown IO ID 45"} 
[2026-07-07 16:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556167680001,"power":13298,"unknown_97":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8864209991859087360}} 
[2026-07-07 16:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":125379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:39:35] local.INFO: GPS data processed {"connection_id":125379,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:39:35] local.INFO: Acknowledgment sent {"connection_id":125379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:39:36] local.INFO: TCP Data received {"connection_id":125379,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c448ba8012d7afa0005e36c080008015429..."} 
[2026-07-07 16:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c448ba8012d7afa0005e36c080008015429..."} 
[2026-07-07 16:39:36] local.INFO: Processing buffer {"connection_id":125379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c448ba8012d7afa0005e36c080008015429..."} 
[2026-07-07 16:39:36] local.INFO: Packet analysis {"connection_id":125379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c44"} 
[2026-07-07 16:39:36] local.INFO: Extracted packet for processing {"connection_id":125379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c44"} 
[2026-07-07 16:39:36] local.INFO: GPS Element Parsed {"raw_longitude":763034112,"raw_latitude":98790408,"longitude_deg":76.3034112,"latitude_deg":9.8790408,"altitude":8,"angle":340,"satellites":41,"speed":32,"hex_longitude":"2d7afa00","hex_latitude":"05e36c08","is_valid_coordinates":true} 
[2026-07-07 16:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556169216001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103377457633034240,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863998885627582464,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783422553000,"timestamp_ms":1783422553000,"timestamp_seconds":1783422553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c448ba8"} 
[2026-07-07 16:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-07 16:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:39: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-07-07 16:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556169216001,"66":13091,"97":206,"85":15104,"24":32,"16":103377457633034240,"45":8863998885627582464},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556169216001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:39:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:39:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103377457633034240,"km_value":103377457633034.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863998885627582464,"description":"Unknown IO ID 45"} 
[2026-07-07 16:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556169216001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8863998885627582464}} 
[2026-07-07 16:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":125379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:39:36] local.INFO: GPS data processed {"connection_id":125379,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:39:36] local.INFO: Acknowledgment sent {"connection_id":125379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:39:39] local.INFO: TCP Data received {"connection_id":125378,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c447050012d169e00072220c8007700241f..."} 
[2026-07-07 16:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c447050012d169e00072220c8007700241f..."} 
[2026-07-07 16:39:39] local.INFO: Processing buffer {"connection_id":125378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c447050012d169e00072220c8007700241f..."} 
[2026-07-07 16:39:39] local.INFO: Packet analysis {"connection_id":125378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c44"} 
[2026-07-07 16:39:39] local.INFO: Extracted packet for processing {"connection_id":125378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c44"} 
[2026-07-07 16:39:39] local.INFO: GPS Element Parsed {"raw_longitude":756456960,"raw_latitude":119677128,"longitude_deg":75.645696,"latitude_deg":11.9677128,"altitude":119,"angle":36,"satellites":31,"speed":4,"hex_longitude":"2d169e00","hex_latitude":"072220c8","is_valid_coordinates":true} 
[2026-07-07 16:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556171520001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4688777142337536,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629669777047836672,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783422546000,"timestamp_ms":1783422546000,"timestamp_seconds":1783422546,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c447050"} 
[2026-07-07 16:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-07 16:39: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-07-07 16:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556171520001,"66":13972,"71":206,"28":31744,"24":4,"16":4688777142337536,"45":1629669777047836672},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556171520001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:39:39] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:39:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4688777142337536,"km_value":4688777142337.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629669777047836672,"description":"Unknown IO ID 45"} 
[2026-07-07 16:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556171520001,"power":13972,"unknown_71":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1629669777047836672}} 
[2026-07-07 16:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":125378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:39:40] local.INFO: GPS data processed {"connection_id":125378,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:39:40] local.INFO: Acknowledgment sent {"connection_id":125378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:39:55] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4500d8012d0bb38007071a08001600d020..."} 
[2026-07-07 16:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4500d8012d0bb38007071a08001600d020..."} 
[2026-07-07 16:39:55] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4500d8012d0bb38007071a08001600d020..."} 
[2026-07-07 16:39:55] local.INFO: Packet analysis {"connection_id":124571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c45"} 
[2026-07-07 16:39:55] local.INFO: Extracted packet for processing {"connection_id":124571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c45"} 
[2026-07-07 16:39:55] local.INFO: GPS Element Parsed {"raw_longitude":755741568,"raw_latitude":117905928,"longitude_deg":75.5741568,"latitude_deg":11.7905928,"altitude":22,"angle":208,"satellites":32,"speed":19,"hex_longitude":"2d0bb380","hex_latitude":"07071a08","is_valid_coordinates":true} 
[2026-07-07 16:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556180736001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23451839991119872,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843650904130191360,"note":"Value kept but may cause issues"} 
[2026-07-07 16:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783422583000,"timestamp_ms":1783422583000,"timestamp_seconds":1783422583,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4500d8"} 
[2026-07-07 16:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 16:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":124571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":124571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":124571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556180736001,"66":14276,"163":206,"94":10240,"24":19,"16":23451839991119872,"45":843650904130191360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-07 16:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556180736001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:39:55] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 16:39:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23451839991119872,"km_value":23451839991119.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":843650904130191360,"description":"Unknown IO ID 45"} 
[2026-07-07 16:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556180736001,"power":14276,"unknown_163":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":843650904130191360}} 
[2026-07-07 16:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":124571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446501,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:39:55] local.INFO: GPS data processed {"connection_id":124571,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:39:55] local.INFO: Acknowledgment sent {"connection_id":124571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:39:59] local.INFO: TCP Data received {"connection_id":126629,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:39:59] local.INFO: Processing buffer {"connection_id":126629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:39:59] local.INFO: IMEI packet received {"connection_id":126629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":126629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:40:02] local.INFO: TCP Data received {"connection_id":126630,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:40:02] local.INFO: Processing buffer {"connection_id":126630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:40:02] local.INFO: IMEI packet received {"connection_id":126630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":126630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:40:04] local.INFO: TCP Data received {"connection_id":126629,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:40:04] local.INFO: Processing buffer {"connection_id":126629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:40:04] local.INFO: IMEI packet received {"connection_id":126629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":126629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:40:07] local.INFO: TCP Data received {"connection_id":126630,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:40:07] local.INFO: Processing buffer {"connection_id":126630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:40:07] local.INFO: IMEI packet received {"connection_id":126630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":126630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:40:08] local.INFO: TCP Data received {"connection_id":125379,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c44d9c8012d7aef4005e38f080008015127..."} 
[2026-07-07 16:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c44d9c8012d7aef4005e38f080008015127..."} 
[2026-07-07 16:40:08] local.INFO: Processing buffer {"connection_id":125379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c44d9c8012d7aef4005e38f080008015127..."} 
[2026-07-07 16:40:08] local.INFO: Packet analysis {"connection_id":125379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c44"} 
[2026-07-07 16:40:08] local.INFO: Extracted packet for processing {"connection_id":125379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c44"} 
[2026-07-07 16:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763031360,"raw_latitude":98799368,"longitude_deg":76.303136,"latitude_deg":9.8799368,"altitude":8,"angle":337,"satellites":39,"speed":21,"hex_longitude":"2d7aef40","hex_latitude":"05e38f08","is_valid_coordinates":true} 
[2026-07-07 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-07-07 16:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556173568001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103377912899567616,"note":"Value kept but may cause issues"} 
[2026-07-07 16:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861395242095216640,"note":"Value kept but may cause issues"} 
[2026-07-07 16:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783422573000,"timestamp_ms":1783422573000,"timestamp_seconds":1783422573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c44d9c8"} 
[2026-07-07 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-07-07 16:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 16:40: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-07-07 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-07-07 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-07-07 16:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:40: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-07-07 16:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556173568001,"66":13189,"97":206,"85":15104,"24":21,"16":103377912899567616,"45":8861395242095216640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556173568001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:40:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103377912899567616,"km_value":103377912899567.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861395242095216640,"description":"Unknown IO ID 45"} 
[2026-07-07 16:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556173568001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8861395242095216640}} 
[2026-07-07 16:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":125379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:40:08] local.INFO: GPS data processed {"connection_id":125379,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:40:08] local.INFO: Acknowledgment sent {"connection_id":125379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:40:11] local.INFO: TCP Data received {"connection_id":124572,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124572,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:40:11] local.INFO: Processing buffer {"connection_id":124572,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:40:11] local.INFO: IMEI packet received {"connection_id":124572,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":124572,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:40:11] local.INFO: TCP Data received {"connection_id":124572,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124572,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:40:11] local.INFO: Processing buffer {"connection_id":124572,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:40:11] local.INFO: IMEI packet received {"connection_id":124572,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":124572,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:40:15] local.INFO: TCP Data received {"connection_id":124572,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124572,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:40:15] local.INFO: Processing buffer {"connection_id":124572,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:40:15] local.INFO: IMEI packet received {"connection_id":124572,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":124572,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:40:16] local.INFO: TCP Data received {"connection_id":124572,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4504c0012d0bb240070718d8001600e621..."} 
[2026-07-07 16:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4504c0012d0bb240070718d8001600e621..."} 
[2026-07-07 16:40:16] local.INFO: Processing buffer {"connection_id":124572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4504c0012d0bb240070718d8001600e621..."} 
[2026-07-07 16:40:16] local.INFO: Packet analysis {"connection_id":124572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c45"} 
[2026-07-07 16:40:16] local.INFO: Extracted packet for processing {"connection_id":124572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c45"} 
[2026-07-07 16:40:16] local.INFO: GPS Element Parsed {"raw_longitude":755741248,"raw_latitude":117905624,"longitude_deg":75.5741248,"latitude_deg":11.7905624,"altitude":22,"angle":230,"satellites":33,"speed":18,"hex_longitude":"2d0bb240","hex_latitude":"070718d8","is_valid_coordinates":true} 
[2026-07-07 16:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556181248001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23451861465956352,"note":"Value kept but may cause issues"} 
[2026-07-07 16:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843158322920687616,"note":"Value kept but may cause issues"} 
[2026-07-07 16:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783422584000,"timestamp_ms":1783422584000,"timestamp_seconds":1783422584,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4504c0"} 
[2026-07-07 16:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 16:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556181248001,"66":14374,"163":206,"94":10240,"24":18,"16":23451861465956352,"45":843158322920687616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-07 16:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556181248001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:40:16] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 16:40:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23451861465956352,"km_value":23451861465956.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":843158322920687616,"description":"Unknown IO ID 45"} 
[2026-07-07 16:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556181248001,"power":14374,"unknown_163":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":843158322920687616}} 
[2026-07-07 16:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":124572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446503,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:40:16] local.INFO: GPS data processed {"connection_id":124572,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:40:16] local.INFO: Acknowledgment sent {"connection_id":124572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:40:18] local.INFO: TCP Data received {"connection_id":126629,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:40:18] local.INFO: Processing buffer {"connection_id":126629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:40:18] local.INFO: Packet analysis {"connection_id":126629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c43"} 
[2026-07-07 16:40:18] local.INFO: Extracted packet for processing {"connection_id":126629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c43"} 
[2026-07-07 16:40:18] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556072448001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637863168685541376,"note":"Value kept but may cause issues"} 
[2026-07-07 16:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783422459000,"timestamp_ms":1783422459000,"timestamp_seconds":1783422459,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c431c78"} 
[2026-07-07 16:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 16:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":126629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":126629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":126629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556072448001,"66":25843,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4637863168685541376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556072448001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:40:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:40:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637863168685541376,"description":"Unknown IO ID 45"} 
[2026-07-07 16:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556072448001,"power":25843,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637863168685541376}} 
[2026-07-07 16:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":126629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:40:18] local.INFO: GPS data processed {"connection_id":126629,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:40:18] local.INFO: Acknowledgment sent {"connection_id":126629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:40:26] local.INFO: TCP Data received {"connection_id":125380,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:40:26] local.INFO: Processing buffer {"connection_id":125380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:40:26] local.INFO: IMEI packet received {"connection_id":125380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":125380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:40:28] local.INFO: TCP Data received {"connection_id":126630,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c44b2b8012d16a58007222d28007500191f..."} 
[2026-07-07 16:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c44b2b8012d16a58007222d28007500191f..."} 
[2026-07-07 16:40:28] local.INFO: Processing buffer {"connection_id":126630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c44b2b8012d16a58007222d28007500191f..."} 
[2026-07-07 16:40:28] local.INFO: Packet analysis {"connection_id":126630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c44"} 
[2026-07-07 16:40:28] local.INFO: Extracted packet for processing {"connection_id":126630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c44"} 
[2026-07-07 16:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756458880,"raw_latitude":119680296,"longitude_deg":75.645888,"latitude_deg":11.9680296,"altitude":117,"angle":25,"satellites":31,"speed":8,"hex_longitude":"2d16a580","hex_latitude":"07222d28","is_valid_coordinates":true} 
[2026-07-07 16:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556171776001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4688957530963968,"note":"Value kept but may cause issues"} 
[2026-07-07 16:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629740145792043008,"note":"Value kept but may cause issues"} 
[2026-07-07 16:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783422563000,"timestamp_ms":1783422563000,"timestamp_seconds":1783422563,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c44b2b8"} 
[2026-07-07 16:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-07 16:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556171776001,"66":14189,"71":206,"28":31744,"24":8,"16":4688957530963968,"45":1629740145792043008},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556171776001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:40:28] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:40:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4688957530963968,"km_value":4688957530963.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629740145792043008,"description":"Unknown IO ID 45"} 
[2026-07-07 16:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556171776001,"power":14189,"unknown_71":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1629740145792043008}} 
[2026-07-07 16:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":126630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:40:28] local.INFO: GPS data processed {"connection_id":126630,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:40:28] local.INFO: Acknowledgment sent {"connection_id":126630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:40:31] local.INFO: TCP Data received {"connection_id":125380,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:40:31] local.INFO: Processing buffer {"connection_id":125380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:40:31] local.INFO: IMEI packet received {"connection_id":125380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":125380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:40:33] local.INFO: TCP Data received {"connection_id":125380,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c44ed50012d7aecc005e397e00006016029..."} 
[2026-07-07 16:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c44ed50012d7aecc005e397e00006016029..."} 
[2026-07-07 16:40:33] local.INFO: Processing buffer {"connection_id":125380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c44ed50012d7aecc005e397e00006016029..."} 
[2026-07-07 16:40:33] local.INFO: Packet analysis {"connection_id":125380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c44"} 
[2026-07-07 16:40:33] local.INFO: Extracted packet for processing {"connection_id":125380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c44"} 
[2026-07-07 16:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763030720,"raw_latitude":98801632,"longitude_deg":76.303072,"latitude_deg":9.8801632,"altitude":6,"angle":352,"satellites":41,"speed":18,"hex_longitude":"2d7aecc0","hex_latitude":"05e397e0","is_valid_coordinates":true} 
[2026-07-07 16:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556178688001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103378028863684608,"note":"Value kept but may cause issues"} 
[2026-07-07 16:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858369386097870848,"note":"Value kept but may cause issues"} 
[2026-07-07 16:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783422578000,"timestamp_ms":1783422578000,"timestamp_seconds":1783422578,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c44ed50"} 
[2026-07-07 16:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:40: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-07-07 16:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 16:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:40: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-07-07 16:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556178688001,"66":12885,"97":206,"85":15104,"24":18,"16":103378028863684608,"45":8858369386097870848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556178688001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:40:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103378028863684608,"km_value":103378028863684.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858369386097870848,"description":"Unknown IO ID 45"} 
[2026-07-07 16:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556178688001,"power":12885,"unknown_97":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8858369386097870848}} 
[2026-07-07 16:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":125380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:40:33] local.INFO: GPS data processed {"connection_id":125380,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:40:33] local.INFO: Acknowledgment sent {"connection_id":125380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:40:39] local.INFO: TCP Data received {"connection_id":126631,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:40:39] local.INFO: Processing buffer {"connection_id":126631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:40:39] local.INFO: IMEI packet received {"connection_id":126631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 16:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":126631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:40:47] local.INFO: TCP Data received {"connection_id":124572,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4508a8012d0bb08007071818001600f720..."} 
[2026-07-07 16:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4508a8012d0bb08007071818001600f720..."} 
[2026-07-07 16:40:47] local.INFO: Processing buffer {"connection_id":124572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4508a8012d0bb08007071818001600f720..."} 
[2026-07-07 16:40:47] local.INFO: Packet analysis {"connection_id":124572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c45"} 
[2026-07-07 16:40:47] local.INFO: Extracted packet for processing {"connection_id":124572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c45"} 
[2026-07-07 16:40:47] local.INFO: GPS Element Parsed {"raw_longitude":755740800,"raw_latitude":117905432,"longitude_deg":75.57408,"latitude_deg":11.7905432,"altitude":22,"angle":247,"satellites":32,"speed":18,"hex_longitude":"2d0bb080","hex_latitude":"07071818","is_valid_coordinates":true} 
[2026-07-07 16:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556181504001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23451887235760128,"note":"Value kept but may cause issues"} 
[2026-07-07 16:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842806479199721472,"note":"Value kept but may cause issues"} 
[2026-07-07 16:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783422585000,"timestamp_ms":1783422585000,"timestamp_seconds":1783422585,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4508a8"} 
[2026-07-07 16:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 16:40: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-07-07 16:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556181504001,"66":14374,"163":206,"94":10240,"24":18,"16":23451887235760128,"45":842806479199721472},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-07 16:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556181504001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:40:47] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 16:40:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23451887235760128,"km_value":23451887235760.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":842806479199721472,"description":"Unknown IO ID 45"} 
[2026-07-07 16:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556181504001,"power":14374,"unknown_163":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":842806479199721472}} 
[2026-07-07 16:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":124572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446507,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:40:47] local.INFO: GPS data processed {"connection_id":124572,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:40:47] local.INFO: Acknowledgment sent {"connection_id":124572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:40:58] local.INFO: TCP Data received {"connection_id":126632,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:40:58] local.INFO: Processing buffer {"connection_id":126632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:40:58] local.INFO: IMEI packet received {"connection_id":126632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":126632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:40:59] local.INFO: TCP Data received {"connection_id":125381,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:40:59] local.INFO: Processing buffer {"connection_id":125381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:40:59] local.INFO: IMEI packet received {"connection_id":125381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 16:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":125381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:41:02] local.INFO: TCP Data received {"connection_id":126633,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:41:02] local.INFO: Processing buffer {"connection_id":126633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:41:02] local.INFO: IMEI packet received {"connection_id":126633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":126633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:41:04] local.INFO: TCP Data received {"connection_id":126632,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:41:04] local.INFO: Processing buffer {"connection_id":126632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:41:04] local.INFO: IMEI packet received {"connection_id":126632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":126632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:41:04] local.INFO: TCP Data received {"connection_id":125380,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c44fcf0012d7aea4005e3a090000601532a..."} 
[2026-07-07 16:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c44fcf0012d7aea4005e3a090000601532a..."} 
[2026-07-07 16:41:04] local.INFO: Processing buffer {"connection_id":125380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c44fcf0012d7aea4005e3a090000601532a..."} 
[2026-07-07 16:41:04] local.INFO: Packet analysis {"connection_id":125380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c44"} 
[2026-07-07 16:41:04] local.INFO: Extracted packet for processing {"connection_id":125380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c44"} 
[2026-07-07 16:41:04] local.INFO: GPS Element Parsed {"raw_longitude":763030080,"raw_latitude":98803856,"longitude_deg":76.303008,"latitude_deg":9.8803856,"altitude":6,"angle":339,"satellites":42,"speed":24,"hex_longitude":"2d7aea40","hex_latitude":"05e3a090","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556179968001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103378140532834304,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857665698656673792,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783422582000,"timestamp_ms":1783422582000,"timestamp_seconds":1783422582,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c44fcf0"} 
[2026-07-07 16:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:41: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-07-07 16: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-07 16:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:41: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-07-07 16:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556179968001,"66":13189,"97":206,"85":15104,"24":24,"16":103378140532834304,"45":8857665698656673792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556179968001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:41:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:41:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103378140532834304,"km_value":103378140532834.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857665698656673792,"description":"Unknown IO ID 45"} 
[2026-07-07 16:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556179968001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8857665698656673792}} 
[2026-07-07 16:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":125380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:41:04] local.INFO: GPS data processed {"connection_id":125380,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:41:04] local.INFO: Acknowledgment sent {"connection_id":125380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:41:05] local.INFO: TCP Data received {"connection_id":126632,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:41:05] local.INFO: Processing buffer {"connection_id":126632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:41:05] local.INFO: Packet analysis {"connection_id":126632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c43"} 
[2026-07-07 16:41:05] local.INFO: Extracted packet for processing {"connection_id":126632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c43"} 
[2026-07-07 16:41:05] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556072448001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637863168685541376,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783422459000,"timestamp_ms":1783422459000,"timestamp_seconds":1783422459,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c431c78"} 
[2026-07-07 16:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 16:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556072448001,"66":25843,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4637863168685541376},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556072448001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:41:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:41:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637863168685541376,"description":"Unknown IO ID 45"} 
[2026-07-07 16:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556072448001,"power":25843,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637863168685541376}} 
[2026-07-07 16:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":126632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:41:05] local.INFO: GPS data processed {"connection_id":126632,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:41:05] local.INFO: Acknowledgment sent {"connection_id":126632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:41:07] local.INFO: TCP Data received {"connection_id":126633,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:41:07] local.INFO: Processing buffer {"connection_id":126633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:41:07] local.INFO: IMEI packet received {"connection_id":126633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":126633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:41:10] local.INFO: TCP Data received {"connection_id":124573,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124573,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:41:10] local.INFO: Processing buffer {"connection_id":124573,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:41:10] local.INFO: IMEI packet received {"connection_id":124573,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":124573,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:41:11] local.INFO: TCP Data received {"connection_id":126633,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c44c258012d16a80007223108007400281f..."} 
[2026-07-07 16:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c44c258012d16a80007223108007400281f..."} 
[2026-07-07 16:41:11] local.INFO: Processing buffer {"connection_id":126633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c44c258012d16a80007223108007400281f..."} 
[2026-07-07 16:41:11] local.INFO: Packet analysis {"connection_id":126633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c44"} 
[2026-07-07 16:41:11] local.INFO: Extracted packet for processing {"connection_id":126633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c44"} 
[2026-07-07 16:41:11] local.INFO: GPS Element Parsed {"raw_longitude":756459520,"raw_latitude":119681288,"longitude_deg":75.645952,"latitude_deg":11.9681288,"altitude":116,"angle":40,"satellites":31,"speed":11,"hex_longitude":"2d16a800","hex_latitude":"07223108","is_valid_coordinates":true} 
[2026-07-07 16:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556176128001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689013365538816,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1631851208118183936,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783422567000,"timestamp_ms":1783422567000,"timestamp_seconds":1783422567,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c44c258"} 
[2026-07-07 16:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 16:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556176128001,"66":13972,"71":206,"28":31744,"24":11,"16":4689013365538816,"45":1631851208118183936},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556176128001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:41:11] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:41:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689013365538816,"km_value":4689013365538.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1631851208118183936,"description":"Unknown IO ID 45"} 
[2026-07-07 16:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556176128001,"power":13972,"unknown_71":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1631851208118183936}} 
[2026-07-07 16:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":126633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:41:11] local.INFO: GPS data processed {"connection_id":126633,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:41:11] local.INFO: Acknowledgment sent {"connection_id":126633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:41:12] local.INFO: TCP Data received {"connection_id":124573,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124573,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:41:12] local.INFO: Processing buffer {"connection_id":124573,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:41:12] local.INFO: IMEI packet received {"connection_id":124573,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":124573,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:41:16] local.INFO: TCP Data received {"connection_id":124573,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124573,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:41:16] local.INFO: Processing buffer {"connection_id":124573,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:41:16] local.INFO: IMEI packet received {"connection_id":124573,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":124573,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:41:17] local.INFO: TCP Data received {"connection_id":124573,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124573,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:41:17] local.INFO: Processing buffer {"connection_id":124573,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:41:17] local.INFO: IMEI packet received {"connection_id":124573,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":124573,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:41:18] local.INFO: TCP Data received {"connection_id":124573,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c463d40012d0afbc007067db0000700ce1d..."} 
[2026-07-07 16:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c463d40012d0afbc007067db0000700ce1d..."} 
[2026-07-07 16:41:18] local.INFO: Processing buffer {"connection_id":124573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c463d40012d0afbc007067db0000700ce1d..."} 
[2026-07-07 16:41:18] local.INFO: Packet analysis {"connection_id":124573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:41:18] local.INFO: Extracted packet for processing {"connection_id":124573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:41:18] local.INFO: GPS Element Parsed {"raw_longitude":755694528,"raw_latitude":117865904,"longitude_deg":75.5694528,"latitude_deg":11.7865904,"altitude":7,"angle":206,"satellites":29,"speed":29,"hex_longitude":"2d0afbc0","hex_latitude":"07067db0","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556201728001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23455061216591872,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791859508405096448,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783422664000,"timestamp_ms":1783422664000,"timestamp_seconds":1783422664,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c463d40"} 
[2026-07-07 16:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 16:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556201728001,"66":14396,"163":206,"94":10240,"24":29,"16":23455061216591872,"45":791859508405096448},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-07 16:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556201728001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:41:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 16:41:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23455061216591872,"km_value":23455061216591.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":791859508405096448,"description":"Unknown IO ID 45"} 
[2026-07-07 16:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556201728001,"power":14396,"unknown_163":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":791859508405096448}} 
[2026-07-07 16:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":124573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446511,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:41:18] local.INFO: GPS data processed {"connection_id":124573,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:41:18] local.INFO: Acknowledgment sent {"connection_id":124573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:41:19] local.INFO: TCP Data received {"connection_id":124573,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4648f8012d0af7c0070676e0000700dc1d..."} 
[2026-07-07 16:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4648f8012d0af7c0070676e0000700dc1d..."} 
[2026-07-07 16:41:19] local.INFO: Processing buffer {"connection_id":124573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4648f8012d0af7c0070676e0000700dc1d..."} 
[2026-07-07 16:41:19] local.INFO: Packet analysis {"connection_id":124573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:41:19] local.INFO: Extracted packet for processing {"connection_id":124573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:41:19] local.INFO: GPS Element Parsed {"raw_longitude":755693504,"raw_latitude":117864160,"longitude_deg":75.5693504,"latitude_deg":11.786416,"altitude":7,"angle":220,"satellites":29,"speed":24,"hex_longitude":"2d0af7c0","hex_latitude":"070676e0","is_valid_coordinates":true} 
[2026-07-07 16:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556201984001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23455155705872384,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791437295939858432,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783422667000,"timestamp_ms":1783422667000,"timestamp_seconds":1783422667,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4648f8"} 
[2026-07-07 16:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 16:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556201984001,"66":14352,"163":206,"94":10240,"24":24,"16":23455155705872384,"45":791437295939858432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-07 16:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556201984001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:41:19] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 16:41:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23455155705872384,"km_value":23455155705872.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":791437295939858432,"description":"Unknown IO ID 45"} 
[2026-07-07 16:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556201984001,"power":14352,"unknown_163":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":791437295939858432}} 
[2026-07-07 16:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":124573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446512,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:41:19] local.INFO: GPS data processed {"connection_id":124573,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:41:19] local.INFO: Acknowledgment sent {"connection_id":124573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:41:26] local.INFO: TCP Data received {"connection_id":126634,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:41:26] local.INFO: Processing buffer {"connection_id":126634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:41:26] local.INFO: IMEI packet received {"connection_id":126634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":126634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:41:29] local.INFO: TCP Data received {"connection_id":126634,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:41:29] local.INFO: Processing buffer {"connection_id":126634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:41:29] local.INFO: IMEI packet received {"connection_id":126634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":126634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:41:32] local.INFO: TCP Data received {"connection_id":126634,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:41:32] local.INFO: Processing buffer {"connection_id":126634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:41:32] local.INFO: IMEI packet received {"connection_id":126634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":126634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:41:33] local.INFO: TCP Data received {"connection_id":126634,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4654b0012d7a418005e45e48001500f028..."} 
[2026-07-07 16:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4654b0012d7a418005e45e48001500f028..."} 
[2026-07-07 16:41:33] local.INFO: Processing buffer {"connection_id":126634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4654b0012d7a418005e45e48001500f028..."} 
[2026-07-07 16:41:33] local.INFO: Packet analysis {"connection_id":126634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:41:33] local.INFO: Extracted packet for processing {"connection_id":126634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:41:33] local.INFO: GPS Element Parsed {"raw_longitude":762986880,"raw_latitude":98852424,"longitude_deg":76.298688,"latitude_deg":9.8852424,"altitude":21,"angle":240,"satellites":40,"speed":10,"hex_longitude":"2d7a4180","hex_latitude":"05e45e48","is_valid_coordinates":true} 
[2026-07-07 16:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556199936001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103381701060722688,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818329570675050496,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783422670000,"timestamp_ms":1783422670000,"timestamp_seconds":1783422670,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4654b0"} 
[2026-07-07 16:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:41: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-07-07 16:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 16:41: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-07-07 16:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:41: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-07-07 16:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556199936001,"66":13124,"97":206,"85":15104,"24":10,"16":103381701060722688,"45":8818329570675050496},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556199936001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:41:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103381701060722688,"km_value":103381701060722.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818329570675050496,"description":"Unknown IO ID 45"} 
[2026-07-07 16:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556199936001,"power":13124,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8818329570675050496}} 
[2026-07-07 16:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":126634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:41:33] local.INFO: GPS data processed {"connection_id":126634,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:41:33] local.INFO: Acknowledgment sent {"connection_id":126634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:41:37] local.INFO: TCP Data received {"connection_id":126632,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:41:37] local.INFO: Processing buffer {"connection_id":126632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:41:37] local.INFO: Packet analysis {"connection_id":126632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c43"} 
[2026-07-07 16:41:37] local.INFO: Extracted packet for processing {"connection_id":126632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c43"} 
[2026-07-07 16:41:37] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556072448001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637863168685541376,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783422459000,"timestamp_ms":1783422459000,"timestamp_seconds":1783422459,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c431c78"} 
[2026-07-07 16:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 16:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556072448001,"66":25843,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4637863168685541376},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556072448001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:41:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637863168685541376,"description":"Unknown IO ID 45"} 
[2026-07-07 16:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556072448001,"power":25843,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637863168685541376}} 
[2026-07-07 16:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":126632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:41:37] local.INFO: GPS data processed {"connection_id":126632,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:41:37] local.INFO: Acknowledgment sent {"connection_id":126632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:41:50] local.INFO: TCP Data received {"connection_id":124573,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c464ce0012d0af60007067580000700ec1d..."} 
[2026-07-07 16:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c464ce0012d0af60007067580000700ec1d..."} 
[2026-07-07 16:41:50] local.INFO: Processing buffer {"connection_id":124573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c464ce0012d0af60007067580000700ec1d..."} 
[2026-07-07 16:41:50] local.INFO: Packet analysis {"connection_id":124573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:41:50] local.INFO: Extracted packet for processing {"connection_id":124573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:41:50] local.INFO: GPS Element Parsed {"raw_longitude":755693056,"raw_latitude":117863808,"longitude_deg":75.5693056,"latitude_deg":11.7863808,"altitude":7,"angle":236,"satellites":29,"speed":24,"hex_longitude":"2d0af600","hex_latitude":"07067580","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556202752001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23455185770643456,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790311396032569344,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783422668000,"timestamp_ms":1783422668000,"timestamp_seconds":1783422668,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c464ce0"} 
[2026-07-07 16:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-07 16:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142784,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:50] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503957496659968,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:50] local.WARNING: Large IO value detected {"io_id":6,"raw_value":3000500234,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638805163403171,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:50] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5620756222048534784,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738735822,"corrected_to":0} 
[2026-07-07 16:41:50] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3758173451,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:50] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3221685972,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:50] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:50] local.WARNING: Large IO value detected {"io_id":232,"raw_value":84736366487209722,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:50] local.WARNING: Large IO value detected {"io_id":104,"raw_value":4504579433570304,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:50] local.WARNING: Large IO value detected {"io_id":11,"raw_value":6809450363361951761,"note":"Value kept but may cause issues"} 
[2026-07-07 16:41:50] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,163,94,24,241,157,16,84,159,61,45,192,125,7,29,10,66,57,64,128,14,1,240,227,83,60,6,4,113,205,207,50,88,31,239,56,2,206,232,104,11],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1738735822,"validated":0}]} 
[2026-07-07 16:41:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504645175379230720,"timestamp_seconds":504645175379230.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":124573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":124573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":124573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556202752001,"66":14352,"163":206,"94":10240,"24":24,"16":23455185770643456,"45":790311396032569344},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-07 16:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556202752001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:41:50] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 16:41:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23455185770643456,"km_value":23455185770643.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":790311396032569344,"description":"Unknown IO ID 45"} 
[2026-07-07 16:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556202752001,"power":14352,"unknown_163":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":790311396032569344}} 
[2026-07-07 16:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":124573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446515,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:41:50] local.INFO: GPS data processed {"connection_id":124573,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:41:50] local.INFO: Acknowledgment sent {"connection_id":124573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:41:58] local.INFO: TCP Data received {"connection_id":125382,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:41:58] local.INFO: Processing buffer {"connection_id":125382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:41:58] local.INFO: IMEI packet received {"connection_id":125382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":125382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:42:02] local.INFO: TCP Data received {"connection_id":124574,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:42:02] local.INFO: Processing buffer {"connection_id":124574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:42:02] local.INFO: IMEI packet received {"connection_id":124574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":124574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:42:04] local.INFO: TCP Data received {"connection_id":125382,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:42:04] local.INFO: Processing buffer {"connection_id":125382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:42:04] local.INFO: IMEI packet received {"connection_id":125382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":125382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:42:04] local.INFO: TCP Data received {"connection_id":125382,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:42:04] local.INFO: Processing buffer {"connection_id":125382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:42:04] local.INFO: Packet analysis {"connection_id":125382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c43"} 
[2026-07-07 16:42:04] local.INFO: Extracted packet for processing {"connection_id":125382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c43"} 
[2026-07-07 16:42:04] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 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-07-07 16:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556072448001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637863168685541376,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783422459000,"timestamp_ms":1783422459000,"timestamp_seconds":1783422459,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c431c78"} 
[2026-07-07 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-07-07 16:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 16:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 16:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556072448001,"66":25843,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4637863168685541376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556072448001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:42:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:42:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637863168685541376,"description":"Unknown IO ID 45"} 
[2026-07-07 16:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556072448001,"power":25843,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637863168685541376}} 
[2026-07-07 16:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":125382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:42:04] local.INFO: GPS data processed {"connection_id":125382,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:42:04] local.INFO: Acknowledgment sent {"connection_id":125382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:42:06] local.INFO: TCP Data received {"connection_id":126634,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c465c80012d7a3f4005e45d48001600fc29..."} 
[2026-07-07 16:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c465c80012d7a3f4005e45d48001600fc29..."} 
[2026-07-07 16:42:06] local.INFO: Processing buffer {"connection_id":126634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c465c80012d7a3f4005e45d48001600fc29..."} 
[2026-07-07 16:42:06] local.INFO: Packet analysis {"connection_id":126634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:42:06] local.INFO: Extracted packet for processing {"connection_id":126634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:42:06] local.INFO: GPS Element Parsed {"raw_longitude":762986304,"raw_latitude":98852168,"longitude_deg":76.2986304,"latitude_deg":9.8852168,"altitude":22,"angle":252,"satellites":41,"speed":18,"hex_longitude":"2d7a3f40","hex_latitude":"05e45d48","is_valid_coordinates":true} 
[2026-07-07 16:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556203520001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103381735420461056,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809463108907976704,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783422672000,"timestamp_ms":1783422672000,"timestamp_seconds":1783422672,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c465c80"} 
[2026-07-07 16:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-07 16:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:42: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-07-07 16:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556203520001,"66":13406,"97":206,"85":15104,"24":18,"16":103381735420461056,"45":8809463108907976704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556203520001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:42:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:42:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103381735420461056,"km_value":103381735420461.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809463108907976704,"description":"Unknown IO ID 45"} 
[2026-07-07 16:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556203520001,"power":13406,"unknown_97":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8809463108907976704}} 
[2026-07-07 16:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":126634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:42:06] local.INFO: GPS data processed {"connection_id":126634,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:42:06] local.INFO: Acknowledgment sent {"connection_id":126634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:42:07] local.INFO: TCP Data received {"connection_id":124574,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:42:07] local.INFO: Processing buffer {"connection_id":124574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:42:07] local.INFO: IMEI packet received {"connection_id":124574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":124574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:42:09] local.INFO: TCP Data received {"connection_id":124574,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c451460012d16b44007223e980073000e1f..."} 
[2026-07-07 16:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c451460012d16b44007223e980073000e1f..."} 
[2026-07-07 16:42:09] local.INFO: Processing buffer {"connection_id":124574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c451460012d16b44007223e980073000e1f..."} 
[2026-07-07 16:42:09] local.INFO: Packet analysis {"connection_id":124574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c45"} 
[2026-07-07 16:42:09] local.INFO: Extracted packet for processing {"connection_id":124574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c45"} 
[2026-07-07 16:42:09] local.INFO: GPS Element Parsed {"raw_longitude":756462656,"raw_latitude":119684760,"longitude_deg":75.6462656,"latitude_deg":11.968476,"altitude":115,"angle":14,"satellites":31,"speed":6,"hex_longitude":"2d16b440","hex_latitude":"07223e98","is_valid_coordinates":true} 
[2026-07-07 16:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556177152001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689240998805504,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632554895560214528,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783422588000,"timestamp_ms":1783422588000,"timestamp_seconds":1783422588,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c451460"} 
[2026-07-07 16:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-07 16:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556177152001,"66":14298,"71":206,"28":31744,"24":6,"16":4689240998805504,"45":1632554895560214528},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556177152001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:42:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:42:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689240998805504,"km_value":4689240998805.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632554895560214528,"description":"Unknown IO ID 45"} 
[2026-07-07 16:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556177152001,"power":14298,"unknown_71":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1632554895560214528}} 
[2026-07-07 16:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":124574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:42:09] local.INFO: GPS data processed {"connection_id":124574,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:42:09] local.INFO: Acknowledgment sent {"connection_id":124574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:42:15] local.INFO: TCP Data received {"connection_id":125383,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:42:15] local.INFO: Processing buffer {"connection_id":125383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:42:15] local.INFO: IMEI packet received {"connection_id":125383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":125383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:42:20] local.INFO: TCP Data received {"connection_id":125383,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:42:20] local.INFO: Processing buffer {"connection_id":125383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:42:20] local.INFO: IMEI packet received {"connection_id":125383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":125383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:42:21] local.INFO: TCP Data received {"connection_id":125383,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c465898012d0af140070671c0000700e11d..."} 
[2026-07-07 16:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c465898012d0af140070671c0000700e11d..."} 
[2026-07-07 16:42:21] local.INFO: Processing buffer {"connection_id":125383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c465898012d0af140070671c0000700e11d..."} 
[2026-07-07 16:42:21] local.INFO: Packet analysis {"connection_id":125383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:42:21] local.INFO: Extracted packet for processing {"connection_id":125383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:42:21] local.INFO: GPS Element Parsed {"raw_longitude":755691840,"raw_latitude":117862848,"longitude_deg":75.569184,"latitude_deg":11.7862848,"altitude":7,"angle":225,"satellites":29,"speed":15,"hex_longitude":"2d0af140","hex_latitude":"070671c0","is_valid_coordinates":true} 
[2026-07-07 16:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556203008001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23455258785087488,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789818814823235584,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783422671000,"timestamp_ms":1783422671000,"timestamp_seconds":1783422671,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c465898"} 
[2026-07-07 16:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-07 16:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143040,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:21] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:21] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503957503606784,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:21] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2577399817,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:21] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264511395,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:21] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698628010606848,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738735822,"corrected_to":0} 
[2026-07-07 16:42:21] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:21] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84736350381082357,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:21] local.WARNING: Large IO value detected {"io_id":96,"raw_value":4504497812413696,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:21] local.WARNING: Large IO value detected {"io_id":11,"raw_value":5098082504735719440,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:21] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,163,94,24,241,157,16,84,159,72,45,192,118,7,29,10,66,61,125,57,64,1,240,60,227,6,4,113,205,239,35,216,32,56,2,83,13,49,206,184,96,11],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1738735822,"validated":0}]} 
[2026-07-07 16:42:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504662767565275136,"timestamp_seconds":504662767565275.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":125383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":125383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":125383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556203008001,"66":14298,"163":206,"94":10240,"24":15,"16":23455258785087488,"45":789818814823235584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-07 16:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556203008001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:42:21] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 16:42:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23455258785087488,"km_value":23455258785087.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":789818814823235584,"description":"Unknown IO ID 45"} 
[2026-07-07 16:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556203008001,"power":14298,"unknown_163":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":789818814823235584}} 
[2026-07-07 16:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":125383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446519,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:42:21] local.INFO: GPS data processed {"connection_id":125383,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:42:21] local.INFO: Acknowledgment sent {"connection_id":125383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:42:22] local.INFO: TCP Data received {"connection_id":125383,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c466068012d0af00007067018000700d01d..."} 
[2026-07-07 16:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c466068012d0af00007067018000700d01d..."} 
[2026-07-07 16:42:22] local.INFO: Processing buffer {"connection_id":125383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c466068012d0af00007067018000700d01d..."} 
[2026-07-07 16:42:22] local.INFO: Packet analysis {"connection_id":125383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:42:22] local.INFO: Extracted packet for processing {"connection_id":125383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:42:22] local.INFO: GPS Element Parsed {"raw_longitude":755691520,"raw_latitude":117862424,"longitude_deg":75.569152,"latitude_deg":11.7862424,"altitude":7,"angle":208,"satellites":29,"speed":8,"hex_longitude":"2d0af000","hex_latitude":"07067018","is_valid_coordinates":true} 
[2026-07-07 16:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556203776001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23455284554891264,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788481808683614208,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783422673000,"timestamp_ms":1783422673000,"timestamp_seconds":1783422673,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c466068"} 
[2026-07-07 16:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-07 16:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556203776001,"66":14352,"163":206,"94":10240,"24":8,"16":23455284554891264,"45":788481808683614208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-07 16:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556203776001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:42:22] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 16:42:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23455284554891264,"km_value":23455284554891.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":788481808683614208,"description":"Unknown IO ID 45"} 
[2026-07-07 16:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556203776001,"power":14352,"unknown_163":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":788481808683614208}} 
[2026-07-07 16:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":125383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446520,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:42:23] local.INFO: GPS data processed {"connection_id":125383,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:42:23] local.INFO: Acknowledgment sent {"connection_id":125383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:42:31] local.INFO: TCP Data received {"connection_id":126636,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:42:31] local.INFO: Processing buffer {"connection_id":126636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:42:31] local.INFO: IMEI packet received {"connection_id":126636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":126636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:42:36] local.INFO: TCP Data received {"connection_id":126636,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:42:36] local.INFO: Processing buffer {"connection_id":126636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:42:36] local.INFO: IMEI packet received {"connection_id":126636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":126636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:42:37] local.INFO: TCP Data received {"connection_id":126636,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c474ac8012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c474ac8012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:42:37] local.INFO: Processing buffer {"connection_id":126636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c474ac8012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:42:37] local.INFO: Packet analysis {"connection_id":126636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:42:37] local.INFO: Extracted packet for processing {"connection_id":126636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:42:37] local.INFO: GPS Element Parsed {"raw_longitude":762977856,"raw_latitude":98854960,"longitude_deg":76.2977856,"latitude_deg":9.885496,"altitude":9,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2d7a1e40","hex_latitude":"05e46830","is_valid_coordinates":true} 
[2026-07-07 16:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556214272001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783422733000,"timestamp_ms":1783422733000,"timestamp_seconds":1783422733,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c474ac8"} 
[2026-07-07 16:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16: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-07-07 16:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 16:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556214272001,"66":13059,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556214272001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 16:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556214272001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 16:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":126636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:42:37] local.INFO: GPS data processed {"connection_id":126636,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:42:37] local.INFO: Acknowledgment sent {"connection_id":126636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:42:40] local.INFO: TCP Data received {"connection_id":124574,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c46ed08012d16f60007227088008000231f..."} 
[2026-07-07 16:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c46ed08012d16f60007227088008000231f..."} 
[2026-07-07 16:42:40] local.INFO: Processing buffer {"connection_id":124574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c46ed08012d16f60007227088008000231f..."} 
[2026-07-07 16:42:40] local.INFO: Packet analysis {"connection_id":124574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:42:40] local.INFO: Extracted packet for processing {"connection_id":124574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:42:40] local.INFO: GPS Element Parsed {"raw_longitude":756479488,"raw_latitude":119697544,"longitude_deg":75.6479488,"latitude_deg":11.9697544,"altitude":128,"angle":35,"satellites":31,"speed":0,"hex_longitude":"2d16f600","hex_latitude":"07227088","is_valid_coordinates":true} 
[2026-07-07 16:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556207872001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690280380891136,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654509943747807232,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783422709000,"timestamp_ms":1783422709000,"timestamp_seconds":1783422709,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c46ed08"} 
[2026-07-07 16:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-07 16:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556207872001,"66":13928,"71":206,"28":31744,"24":0,"16":4690280380891136,"45":1654509943747807232},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556207872001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:42:40] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:42:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690280380891136,"km_value":4690280380891.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654509943747807232,"description":"Unknown IO ID 45"} 
[2026-07-07 16:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556207872001,"power":13928,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1654509943747807232}} 
[2026-07-07 16:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":124574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:42:40] local.INFO: GPS data processed {"connection_id":124574,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:42:40] local.INFO: Acknowledgment sent {"connection_id":124574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:42:42] local.INFO: TCP Data received {"connection_id":126636,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:42:42] local.INFO: Processing buffer {"connection_id":126636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:42:42] local.INFO: Packet analysis {"connection_id":126636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:42:42] local.INFO: Extracted packet for processing {"connection_id":126636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:42:42] local.INFO: GPS Element Parsed {"raw_longitude":762977856,"raw_latitude":98854960,"longitude_deg":76.2977856,"latitude_deg":9.885496,"altitude":9,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2d7a1e40","hex_latitude":"05e46830","is_valid_coordinates":true} 
[2026-07-07 16:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556219648001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799541115979575296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783422734000,"timestamp_ms":1783422734000,"timestamp_seconds":1783422734,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c474eb0"} 
[2026-07-07 16:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 16:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303155714772390,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:42] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399447,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:42] local.WARNING: Large IO value detected {"io_id":73,"raw_value":2348810240,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-07 16:42:42] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3221611624,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831396352,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:42] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,97,85,24,241,157,16,73,159,248,45,64,104,10,40,66,170,128,105,20,166,192,1,240,3,227,60,228,4,113,205,7,155,35,239,51,2,111,5,25,23],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-07 16:42:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648904451016359936,"timestamp_seconds":648904451016359.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:42: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-07-07 16:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556219648001,"66":13037,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799541115979575296},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556219648001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:42:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799541115979575296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556219648001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799541115979575296}} 
[2026-07-07 16:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":126636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:42:42] local.INFO: GPS data processed {"connection_id":126636,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:42:42] local.INFO: Acknowledgment sent {"connection_id":126636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:42:54] local.INFO: TCP Data received {"connection_id":125383,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c466450012d0aefc007066f40000700bf1f..."} 
[2026-07-07 16:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c466450012d0aefc007066f40000700bf1f..."} 
[2026-07-07 16:42:54] local.INFO: Processing buffer {"connection_id":125383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c466450012d0aefc007066f40000700bf1f..."} 
[2026-07-07 16:42:54] local.INFO: Packet analysis {"connection_id":125383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:42:54] local.INFO: Extracted packet for processing {"connection_id":125383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:42:54] local.INFO: GPS Element Parsed {"raw_longitude":755691456,"raw_latitude":117862208,"longitude_deg":75.5691456,"latitude_deg":11.7862208,"altitude":7,"angle":191,"satellites":31,"speed":9,"hex_longitude":"2d0aefc0","hex_latitude":"07066f40","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556204288001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23455297439793152,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788129964962617344,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783422674000,"timestamp_ms":1783422674000,"timestamp_seconds":1783422674,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c466450"} 
[2026-07-07 16:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-07 16:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142784,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:54] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698628010606848,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:54] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:54] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503957516058624,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:54] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639178825557923,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738735822,"corrected_to":0} 
[2026-07-07 16:42:54] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:54] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84736212942128818,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:54] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2815635067251968,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:54] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3656930623338577933,"note":"Value kept but may cause issues"} 
[2026-07-07 16:42:54] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,163,94,24,241,157,16,84,159,88,45,64,113,7,29,10,66,76,117,72,192,1,240,227,60,6,4,205,57,253,80,239,56,2,83,9,206,32,216,11],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1738735822,"validated":0}]} 
[2026-07-07 16:42:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504631981238648832,"timestamp_seconds":504631981238648.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556204288001,"66":14352,"163":206,"94":10240,"24":9,"16":23455297439793152,"45":788129964962617344},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-07 16:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556204288001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:42:54] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 16:42:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23455297439793152,"km_value":23455297439793.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":788129964962617344,"description":"Unknown IO ID 45"} 
[2026-07-07 16:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556204288001,"power":14352,"unknown_163":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":788129964962617344}} 
[2026-07-07 16:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":125383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446524,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:42:54] local.INFO: GPS data processed {"connection_id":125383,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:42:54] local.INFO: Acknowledgment sent {"connection_id":125383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:43:07] local.INFO: TCP Data received {"connection_id":125382,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:43:07] local.INFO: Processing buffer {"connection_id":125382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c431c78012dbfa3000541a178003800622c..."} 
[2026-07-07 16:43:07] local.INFO: Packet analysis {"connection_id":125382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c43"} 
[2026-07-07 16:43:07] local.INFO: Extracted packet for processing {"connection_id":125382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c43"} 
[2026-07-07 16:43:07] local.INFO: GPS Element Parsed {"raw_longitude":767533824,"raw_latitude":88187256,"longitude_deg":76.7533824,"latitude_deg":8.8187256,"altitude":56,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2dbfa300","hex_latitude":"0541a178","is_valid_coordinates":true} 
[2026-07-07 16:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556072448001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625143287611392,"note":"Value kept but may cause issues"} 
[2026-07-07 16:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4637863168685541376,"note":"Value kept but may cause issues"} 
[2026-07-07 16:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783422459000,"timestamp_ms":1783422459000,"timestamp_seconds":1783422459,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c431c78"} 
[2026-07-07 16:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 16:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:43: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-07-07 16:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556072448001,"66":25843,"97":206,"84":5376,"24":0,"16":341625143287611392,"45":-4637863168685541376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556072448001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:43:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:43:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625143287611392,"km_value":341625143287611.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4637863168685541376,"description":"Unknown IO ID 45"} 
[2026-07-07 16:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556072448001,"power":25843,"unknown_97":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4637863168685541376}} 
[2026-07-07 16:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":125382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:43:07] local.INFO: GPS data processed {"connection_id":125382,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:43:07] local.INFO: Acknowledgment sent {"connection_id":125382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:43:07] local.INFO: TCP Data received {"connection_id":126637,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:43:07] local.INFO: Processing buffer {"connection_id":126637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:43:07] local.INFO: IMEI packet received {"connection_id":126637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":126637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:43:10] local.INFO: TCP Data received {"connection_id":125384,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:43:10] local.INFO: Processing buffer {"connection_id":125384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:43:10] local.INFO: IMEI packet received {"connection_id":125384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":125384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:43:11] local.INFO: TCP Data received {"connection_id":126637,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:43:11] local.INFO: Processing buffer {"connection_id":126637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:43:11] local.INFO: IMEI packet received {"connection_id":126637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":126637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:43:12] local.INFO: TCP Data received {"connection_id":126637,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:43:12] local.INFO: Processing buffer {"connection_id":126637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:43:12] local.INFO: IMEI packet received {"connection_id":126637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":126637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:43:13] local.INFO: TCP Data received {"connection_id":125384,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:43:13] local.INFO: Processing buffer {"connection_id":125384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:43:13] local.INFO: IMEI packet received {"connection_id":125384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":125384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:43:17] local.INFO: TCP Data received {"connection_id":126637,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:43:17] local.INFO: Processing buffer {"connection_id":126637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:43:17] local.INFO: IMEI packet received {"connection_id":126637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":126637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:43:19] local.INFO: TCP Data received {"connection_id":126637,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c473b28012d16f60007227088008000231f..."} 
[2026-07-07 16:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c473b28012d16f60007227088008000231f..."} 
[2026-07-07 16:43:19] local.INFO: Processing buffer {"connection_id":126637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c473b28012d16f60007227088008000231f..."} 
[2026-07-07 16:43:19] local.INFO: Packet analysis {"connection_id":126637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:43:19] local.INFO: Extracted packet for processing {"connection_id":126637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:43:19] local.INFO: GPS Element Parsed {"raw_longitude":756479488,"raw_latitude":119697544,"longitude_deg":75.6479488,"latitude_deg":11.9697544,"altitude":128,"angle":35,"satellites":31,"speed":0,"hex_longitude":"2d16f600","hex_latitude":"07227088","is_valid_coordinates":true} 
[2026-07-07 16:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556213504001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690280380891136,"note":"Value kept but may cause issues"} 
[2026-07-07 16:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654509943747807232,"note":"Value kept but may cause issues"} 
[2026-07-07 16:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783422729000,"timestamp_ms":1783422729000,"timestamp_seconds":1783422729,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c473b28"} 
[2026-07-07 16:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-07 16:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":126637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":126637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":126637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556213504001,"66":13798,"71":206,"28":31744,"24":0,"16":4690280380891136,"45":1654509943747807232},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556213504001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:43:19] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:43:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690280380891136,"km_value":4690280380891.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654509943747807232,"description":"Unknown IO ID 45"} 
[2026-07-07 16:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556213504001,"power":13798,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1654509943747807232}} 
[2026-07-07 16:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":126637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:43:19] local.INFO: GPS data processed {"connection_id":126637,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:43:19] local.INFO: Acknowledgment sent {"connection_id":126637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:43:20] local.INFO: TCP Data received {"connection_id":126637,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c478948012d16f60007227088008000231f..."} 
[2026-07-07 16:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c478948012d16f60007227088008000231f..."} 
[2026-07-07 16:43:20] local.INFO: Processing buffer {"connection_id":126637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c478948012d16f60007227088008000231f..."} 
[2026-07-07 16:43:20] local.INFO: Packet analysis {"connection_id":126637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:43:20] local.INFO: Extracted packet for processing {"connection_id":126637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:43:20] local.INFO: GPS Element Parsed {"raw_longitude":756479488,"raw_latitude":119697544,"longitude_deg":75.6479488,"latitude_deg":11.9697544,"altitude":128,"angle":35,"satellites":31,"speed":0,"hex_longitude":"2d16f600","hex_latitude":"07227088","is_valid_coordinates":true} 
[2026-07-07 16:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556218624001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690280380891136,"note":"Value kept but may cause issues"} 
[2026-07-07 16:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654509943747807232,"note":"Value kept but may cause issues"} 
[2026-07-07 16:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783422749000,"timestamp_ms":1783422749000,"timestamp_seconds":1783422749,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c478948"} 
[2026-07-07 16:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-07 16:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":126637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":126637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":126637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556218624001,"66":14080,"71":206,"28":31744,"24":0,"16":4690280380891136,"45":1654509943747807232},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556218624001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:43:20] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:43:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690280380891136,"km_value":4690280380891.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654509943747807232,"description":"Unknown IO ID 45"} 
[2026-07-07 16:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556218624001,"power":14080,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1654509943747807232}} 
[2026-07-07 16:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":126637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:43:20] local.INFO: GPS data processed {"connection_id":126637,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:43:20] local.INFO: Acknowledgment sent {"connection_id":126637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:43:22] local.INFO: TCP Data received {"connection_id":126637,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c47cf98012d16f68007226ff0008100e21f..."} 
[2026-07-07 16:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c47cf98012d16f68007226ff0008100e21f..."} 
[2026-07-07 16:43:22] local.INFO: Processing buffer {"connection_id":126637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c47cf98012d16f68007226ff0008100e21f..."} 
[2026-07-07 16:43:22] local.INFO: Packet analysis {"connection_id":126637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:43:22] local.INFO: Extracted packet for processing {"connection_id":126637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:43:22] local.INFO: GPS Element Parsed {"raw_longitude":756479616,"raw_latitude":119697392,"longitude_deg":75.6479616,"latitude_deg":11.9697392,"altitude":129,"angle":226,"satellites":31,"speed":1,"hex_longitude":"2d16f680","hex_latitude":"07226ff0","is_valid_coordinates":true} 
[2026-07-07 16:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556223744001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690293265793024,"note":"Value kept but may cause issues"} 
[2026-07-07 16:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654509943747807232,"note":"Value kept but may cause issues"} 
[2026-07-07 16:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783422767000,"timestamp_ms":1783422767000,"timestamp_seconds":1783422767,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c47cf98"} 
[2026-07-07 16:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-07 16:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454486272,"note":"Value kept but may cause issues"} 
[2026-07-07 16:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2845900800,"note":"Value kept but may cause issues"} 
[2026-07-07 16:43:22] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3372220416,"note":"Value kept but may cause issues"} 
[2026-07-07 16:43:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880190158,"corrected_to":0} 
[2026-07-07 16:43:22] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":4026608918,"corrected_to":0} 
[2026-07-07 16:43:22] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,71,28,24,241,158,16,169,159,59,45,112,128,31,10,66,237,151,1,240,60,34,4,113,205,246,238,192,239,56,2,7,119],"length":479,"final_offset":609,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3880190158,"validated":0},{"io_id":246,"original":4026608918,"validated":0}]} 
[2026-07-07 16:43:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":-9223333420803817472,"timestamp_seconds":-9223333420803818.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556223744001,"66":13993,"71":206,"28":31744,"24":1,"16":4690293265793024,"45":1654509943747807232},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556223744001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:43:22] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:43:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690293265793024,"km_value":4690293265793.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654509943747807232,"description":"Unknown IO ID 45"} 
[2026-07-07 16:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556223744001,"power":13993,"unknown_71":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1654509943747807232}} 
[2026-07-07 16:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":126637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:43:22] local.INFO: GPS data processed {"connection_id":126637,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:43:22] local.INFO: Acknowledgment sent {"connection_id":126637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:43:26] local.INFO: TCP Data received {"connection_id":124577,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:43:26] local.INFO: Processing buffer {"connection_id":124577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:43:26] local.INFO: IMEI packet received {"connection_id":124577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":124577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:43:31] local.INFO: TCP Data received {"connection_id":124577,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:43:31] local.INFO: Processing buffer {"connection_id":124577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:43:31] local.INFO: IMEI packet received {"connection_id":124577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":124577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:43:33] local.INFO: TCP Data received {"connection_id":124577,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:43:33] local.INFO: Processing buffer {"connection_id":124577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:43:33] local.INFO: Packet analysis {"connection_id":124577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:43:33] local.INFO: Extracted packet for processing {"connection_id":124577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:43:33] local.INFO: GPS Element Parsed {"raw_longitude":762977856,"raw_latitude":98854960,"longitude_deg":76.2977856,"latitude_deg":9.885496,"altitude":9,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2d7a1e40","hex_latitude":"05e46830","is_valid_coordinates":true} 
[2026-07-07 16:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556219904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799541115979575296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783422734000,"timestamp_ms":1783422734000,"timestamp_seconds":1783422734,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c474eb0"} 
[2026-07-07 16:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 16:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556219904001,"66":13037,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799541115979575296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556219904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:43:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799541115979575296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556219904001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799541115979575296}} 
[2026-07-07 16:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":124577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:43:33] local.INFO: GPS data processed {"connection_id":124577,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:43:33] local.INFO: Acknowledgment sent {"connection_id":124577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:44:01] local.INFO: TCP Data received {"connection_id":126639,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:44:01] local.INFO: Processing buffer {"connection_id":126639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:44:01] local.INFO: IMEI packet received {"connection_id":126639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":126639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:44:03] local.INFO: TCP Data received {"connection_id":126639,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:44:03] local.INFO: Processing buffer {"connection_id":126639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:44:03] local.INFO: IMEI packet received {"connection_id":126639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":126639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:44:04] local.INFO: TCP Data received {"connection_id":124577,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:44:04] local.INFO: Processing buffer {"connection_id":124577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:44:04] local.INFO: Packet analysis {"connection_id":124577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:44:04] local.INFO: Extracted packet for processing {"connection_id":124577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:44:04] local.INFO: GPS Element Parsed {"raw_longitude":762977856,"raw_latitude":98854960,"longitude_deg":76.2977856,"latitude_deg":9.885496,"altitude":9,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2d7a1e40","hex_latitude":"05e46830","is_valid_coordinates":true} 
[2026-07-07 16:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556219904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799541115979575296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783422734000,"timestamp_ms":1783422734000,"timestamp_seconds":1783422734,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c474eb0"} 
[2026-07-07 16:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 16:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556219904001,"66":13037,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799541115979575296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556219904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:44:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:44:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799541115979575296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556219904001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799541115979575296}} 
[2026-07-07 16:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":124577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:44:04] local.INFO: GPS data processed {"connection_id":124577,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:44:04] local.INFO: Acknowledgment sent {"connection_id":124577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:44:08] local.INFO: TCP Data received {"connection_id":126639,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:44:08] local.INFO: Processing buffer {"connection_id":126639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:44:08] local.INFO: IMEI packet received {"connection_id":126639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":126639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:44:09] local.INFO: TCP Data received {"connection_id":126639,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c47d768012d16f68007226fa8008100d41f..."} 
[2026-07-07 16:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c47d768012d16f68007226fa8008100d41f..."} 
[2026-07-07 16:44:09] local.INFO: Processing buffer {"connection_id":126639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c47d768012d16f68007226fa8008100d41f..."} 
[2026-07-07 16:44:09] local.INFO: Packet analysis {"connection_id":126639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:44:09] local.INFO: Extracted packet for processing {"connection_id":126639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:44:09] local.INFO: GPS Element Parsed {"raw_longitude":756479616,"raw_latitude":119697320,"longitude_deg":75.6479616,"latitude_deg":11.969732,"altitude":129,"angle":212,"satellites":31,"speed":1,"hex_longitude":"2d16f680","hex_latitude":"07226fa8","is_valid_coordinates":true} 
[2026-07-07 16:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556228352001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690297560760320,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654650681236123648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783422769000,"timestamp_ms":1783422769000,"timestamp_seconds":1783422769,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c47d768"} 
[2026-07-07 16:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-07 16:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556228352001,"66":13993,"71":206,"28":31744,"24":1,"16":4690297560760320,"45":1654650681236123648},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556228352001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:44:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:44:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690297560760320,"km_value":4690297560760.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654650681236123648,"description":"Unknown IO ID 45"} 
[2026-07-07 16:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556228352001,"power":13993,"unknown_71":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1654650681236123648}} 
[2026-07-07 16:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":126639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:44:09] local.INFO: GPS data processed {"connection_id":126639,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:44:09] local.INFO: Acknowledgment sent {"connection_id":126639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:44:11] local.INFO: TCP Data received {"connection_id":124659,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124659,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:44:11] local.INFO: Processing buffer {"connection_id":124659,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:44:11] local.INFO: IMEI packet received {"connection_id":124659,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":124659,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:44:15] local.INFO: TCP Data received {"connection_id":124659,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124659,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:44:15] local.INFO: Processing buffer {"connection_id":124659,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:44:15] local.INFO: IMEI packet received {"connection_id":124659,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":124659,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:44:16] local.INFO: TCP Data received {"connection_id":124659,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c48a288012d0b538007060b00001300c21f..."} 
[2026-07-07 16:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c48a288012d0b538007060b00001300c21f..."} 
[2026-07-07 16:44:16] local.INFO: Processing buffer {"connection_id":124659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c48a288012d0b538007060b00001300c21f..."} 
[2026-07-07 16:44:16] local.INFO: Packet analysis {"connection_id":124659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c48"} 
[2026-07-07 16:44:16] local.INFO: Extracted packet for processing {"connection_id":124659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c48"} 
[2026-07-07 16:44:16] local.INFO: GPS Element Parsed {"raw_longitude":755716992,"raw_latitude":117836544,"longitude_deg":75.5716992,"latitude_deg":11.7836544,"altitude":19,"angle":194,"satellites":31,"speed":1,"hex_longitude":"2d0b5380","hex_latitude":"07060b00","is_valid_coordinates":true} 
[2026-07-07 16:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556240384001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23457380498931712,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816347831371286528,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783422821000,"timestamp_ms":1783422821000,"timestamp_seconds":1783422821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c48a288"} 
[2026-07-07 16:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 16:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124659,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124659,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556240384001,"66":14374,"165":206,"94":10240,"24":1,"16":23457380498931712,"45":816347831371286528},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-07 16:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556240384001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:44:16] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 16:44:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23457380498931712,"km_value":23457380498931.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":816347831371286528,"description":"Unknown IO ID 45"} 
[2026-07-07 16:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556240384001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":816347831371286528}} 
[2026-07-07 16:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":124659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446532,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:44:16] local.INFO: GPS data processed {"connection_id":124659,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:44:16] local.INFO: Acknowledgment sent {"connection_id":124659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:44:26] local.INFO: TCP Data received {"connection_id":125385,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:44:26] local.INFO: Processing buffer {"connection_id":125385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:44:26] local.INFO: IMEI packet received {"connection_id":125385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":125385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:44:31] local.INFO: TCP Data received {"connection_id":125385,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:44:31] local.INFO: Processing buffer {"connection_id":125385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:44:31] local.INFO: IMEI packet received {"connection_id":125385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":125385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:44:32] local.INFO: TCP Data received {"connection_id":125384,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c466838012d0aefc007066e20000700b420..."} 
[2026-07-07 16:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c466838012d0aefc007066e20000700b420..."} 
[2026-07-07 16:44:32] local.INFO: Processing buffer {"connection_id":125384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c466838012d0aefc007066e20000700b420..."} 
[2026-07-07 16:44:32] local.INFO: Packet analysis {"connection_id":125384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:44:32] local.INFO: Extracted packet for processing {"connection_id":125384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:44:32] local.INFO: GPS Element Parsed {"raw_longitude":755691456,"raw_latitude":117861920,"longitude_deg":75.5691456,"latitude_deg":11.786192,"altitude":7,"angle":180,"satellites":32,"speed":12,"hex_longitude":"2d0aefc0","hex_latitude":"07066e20","is_valid_coordinates":true} 
[2026-07-07 16:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556204544001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23455310324695040,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788059596218384384,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783422675000,"timestamp_ms":1783422675000,"timestamp_seconds":1783422675,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c466838"} 
[2026-07-07 16:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-07 16:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142784,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:32] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84736153886328473,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:32] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698628010606848,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:32] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503957522612224,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:32] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639457998432163,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738735822,"corrected_to":0} 
[2026-07-07 16:44:32] local.WARNING: Large IO value detected {"io_id":251,"raw_value":3221685885,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:32] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2534215891557632,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:32] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2522023516679176202,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:32] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,163,94,24,241,157,16,84,159,96,45,112,7,29,10,66,88,64,113,76,1,240,227,60,6,4,205,61,251,176,239,56,2,83,30,206,160,11],"length":628,"final_offset":758,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1738735822,"validated":0}]} 
[2026-07-07 16:44:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504613298130976768,"timestamp_seconds":504613298130976.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556204544001,"66":14439,"163":206,"94":10240,"24":12,"16":23455310324695040,"45":788059596218384384},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-07 16:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556204544001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:44:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 16:44:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23455310324695040,"km_value":23455310324695.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":788059596218384384,"description":"Unknown IO ID 45"} 
[2026-07-07 16:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556204544001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":788059596218384384}} 
[2026-07-07 16:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":125384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446533,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:44:32] local.INFO: GPS data processed {"connection_id":125384,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:44:32] local.INFO: Acknowledgment sent {"connection_id":125384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:44:33] local.INFO: TCP Data received {"connection_id":125385,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:44:33] local.INFO: Processing buffer {"connection_id":125385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:44:33] local.INFO: Packet analysis {"connection_id":125385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:44:33] local.INFO: Extracted packet for processing {"connection_id":125385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:44:33] local.INFO: GPS Element Parsed {"raw_longitude":762977856,"raw_latitude":98854960,"longitude_deg":76.2977856,"latitude_deg":9.885496,"altitude":9,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2d7a1e40","hex_latitude":"05e46830","is_valid_coordinates":true} 
[2026-07-07 16:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556219904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799541115979575296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783422734000,"timestamp_ms":1783422734000,"timestamp_seconds":1783422734,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c474eb0"} 
[2026-07-07 16:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 16:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556219904001,"66":13037,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799541115979575296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556219904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:44:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799541115979575296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556219904001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799541115979575296}} 
[2026-07-07 16:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":125385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:44:33] local.INFO: GPS data processed {"connection_id":125385,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:44:33] local.INFO: Acknowledgment sent {"connection_id":125385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:44:33] local.INFO: TCP Data received {"connection_id":125384,"ip":"42.106.6.35","data_length":1340,"data_hex":"000000000000030f8e0a0000019f3c4673f0012d0af0c007066888000800a821..."} 
[2026-07-07 16:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125384,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019f3c4673f0012d0af0c007066888000800a821..."} 
[2026-07-07 16:44:33] local.INFO: Processing buffer {"connection_id":125384,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a0000019f3c4673f0012d0af0c007066888000800a821..."} 
[2026-07-07 16:44:33] local.INFO: Packet analysis {"connection_id":125384,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:44:33] local.INFO: Extracted packet for processing {"connection_id":125384,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:44:33] local.INFO: GPS Element Parsed {"raw_longitude":755691712,"raw_latitude":117860488,"longitude_deg":75.5691712,"latitude_deg":11.7860488,"altitude":8,"angle":168,"satellites":33,"speed":21,"hex_longitude":"2d0af0c0","hex_latitude":"07066888","is_valid_coordinates":true} 
[2026-07-07 16:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556204800001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23455379044171776,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788059596218310656,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783422678000,"timestamp_ms":1783422678000,"timestamp_seconds":1783422678,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4673f0"} 
[2026-07-07 16:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 16:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556204800001,"66":14407,"163":206,"94":10240,"24":21,"16":23455379044171776,"45":788059596218310656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-07 16:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556204800001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:44:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 16:44:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23455379044171776,"km_value":23455379044171.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":788059596218310656,"description":"Unknown IO ID 45"} 
[2026-07-07 16:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556204800001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":788059596218310656}} 
[2026-07-07 16:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":125384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446535,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:44:33] local.INFO: GPS data processed {"connection_id":125384,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:44:33] local.INFO: Acknowledgment sent {"connection_id":125384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:44:33] local.INFO: Packet analysis {"connection_id":125384,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019f3c46"} 
[2026-07-07 16:44:33] local.INFO: Incomplete packet, waiting for more data {"connection_id":125384,"needed":795,"available":545} 
[2026-07-07 16:44:41] local.INFO: TCP Data received {"connection_id":126639,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c47e708012d16f60007226f68008100e11f..."} 
[2026-07-07 16:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c47e708012d16f60007226f68008100e11f..."} 
[2026-07-07 16:44:41] local.INFO: Processing buffer {"connection_id":126639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c47e708012d16f60007226f68008100e11f..."} 
[2026-07-07 16:44:41] local.INFO: Packet analysis {"connection_id":126639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:44:41] local.INFO: Extracted packet for processing {"connection_id":126639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:44:41] local.INFO: GPS Element Parsed {"raw_longitude":756479488,"raw_latitude":119697256,"longitude_deg":75.6479488,"latitude_deg":11.9697256,"altitude":129,"angle":225,"satellites":31,"speed":0,"hex_longitude":"2d16f600","hex_latitude":"07226f68","is_valid_coordinates":true} 
[2026-07-07 16:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556228864001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690306150694912,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654650681236105216,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783422773000,"timestamp_ms":1783422773000,"timestamp_seconds":1783422773,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c47e708"} 
[2026-07-07 16:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-07 16:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556228864001,"66":14070,"71":206,"28":31744,"24":0,"16":4690306150694912,"45":1654650681236105216},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556228864001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:44:41] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:44:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690306150694912,"km_value":4690306150694.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654650681236105216,"description":"Unknown IO ID 45"} 
[2026-07-07 16:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556228864001,"power":14070,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1654650681236105216}} 
[2026-07-07 16:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":126639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:44:41] local.INFO: GPS data processed {"connection_id":126639,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:44:41] local.INFO: Acknowledgment sent {"connection_id":126639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:44:47] local.INFO: TCP Data received {"connection_id":124659,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c48d550012d0b530007060780001200d420..."} 
[2026-07-07 16:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c48d550012d0b530007060780001200d420..."} 
[2026-07-07 16:44:47] local.INFO: Processing buffer {"connection_id":124659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c48d550012d0b530007060780001200d420..."} 
[2026-07-07 16:44:47] local.INFO: Packet analysis {"connection_id":124659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c48"} 
[2026-07-07 16:44:47] local.INFO: Extracted packet for processing {"connection_id":124659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c48"} 
[2026-07-07 16:44:47] local.INFO: GPS Element Parsed {"raw_longitude":755716864,"raw_latitude":117835648,"longitude_deg":75.5716864,"latitude_deg":11.7835648,"altitude":18,"angle":212,"satellites":32,"speed":3,"hex_longitude":"2d0b5300","hex_latitude":"07060780","is_valid_coordinates":true} 
[2026-07-07 16:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556242176001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23457427743571968,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816136725138702336,"note":"Value kept but may cause issues"} 
[2026-07-07 16:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783422834000,"timestamp_ms":1783422834000,"timestamp_seconds":1783422834,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c48d550"} 
[2026-07-07 16:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 16:44: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-07-07 16:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124659,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124659,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556242176001,"66":14309,"165":206,"94":10240,"24":3,"16":23457427743571968,"45":816136725138702336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-07 16:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556242176001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:44:47] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 16:44:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23457427743571968,"km_value":23457427743571.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":816136725138702336,"description":"Unknown IO ID 45"} 
[2026-07-07 16:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556242176001,"power":14309,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":816136725138702336}} 
[2026-07-07 16:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":124659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446537,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:44:48] local.INFO: GPS data processed {"connection_id":124659,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:44:48] local.INFO: Acknowledgment sent {"connection_id":124659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:45:03] local.INFO: TCP Data received {"connection_id":125386,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:45:03] local.INFO: Processing buffer {"connection_id":125386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:45:03] local.INFO: IMEI packet received {"connection_id":125386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":125386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:45:04] local.INFO: TCP Data received {"connection_id":125386,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:45:04] local.INFO: Processing buffer {"connection_id":125386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:45:04] local.INFO: IMEI packet received {"connection_id":125386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":125386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:45:05] local.INFO: TCP Data received {"connection_id":125385,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:45:05] local.INFO: Processing buffer {"connection_id":125385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:45:05] local.INFO: Packet analysis {"connection_id":125385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:45:05] local.INFO: Extracted packet for processing {"connection_id":125385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:45:05] local.INFO: GPS Element Parsed {"raw_longitude":762977856,"raw_latitude":98854960,"longitude_deg":76.2977856,"latitude_deg":9.885496,"altitude":9,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2d7a1e40","hex_latitude":"05e46830","is_valid_coordinates":true} 
[2026-07-07 16:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556219904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799541115979575296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783422734000,"timestamp_ms":1783422734000,"timestamp_seconds":1783422734,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c474eb0"} 
[2026-07-07 16:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 16:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556219904001,"66":13037,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799541115979575296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556219904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:45:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:45:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799541115979575296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556219904001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799541115979575296}} 
[2026-07-07 16:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":125385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:45:05] local.INFO: GPS data processed {"connection_id":125385,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:45:05] local.INFO: Acknowledgment sent {"connection_id":125385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:45:07] local.INFO: TCP Data received {"connection_id":125386,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:45:07] local.INFO: Processing buffer {"connection_id":125386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:45:07] local.INFO: IMEI packet received {"connection_id":125386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":125386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:45:10] local.INFO: TCP Data received {"connection_id":124660,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124660,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:45:10] local.INFO: Processing buffer {"connection_id":124660,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:45:10] local.INFO: IMEI packet received {"connection_id":124660,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":124660,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:45:13] local.INFO: TCP Data received {"connection_id":124660,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124660,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:45:13] local.INFO: Processing buffer {"connection_id":124660,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:45:13] local.INFO: IMEI packet received {"connection_id":124660,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":124660,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:45:14] local.INFO: TCP Data received {"connection_id":125386,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c47eed8012d16f60007226f00008100d21f..."} 
[2026-07-07 16:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c47eed8012d16f60007226f00008100d21f..."} 
[2026-07-07 16:45:14] local.INFO: Processing buffer {"connection_id":125386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c47eed8012d16f60007226f00008100d21f..."} 
[2026-07-07 16:45:14] local.INFO: Packet analysis {"connection_id":125386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:45:14] local.INFO: Extracted packet for processing {"connection_id":125386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:45:14] local.INFO: GPS Element Parsed {"raw_longitude":756479488,"raw_latitude":119697152,"longitude_deg":75.6479488,"latitude_deg":11.9697152,"altitude":129,"angle":210,"satellites":31,"speed":1,"hex_longitude":"2d16f600","hex_latitude":"07226f00","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556229888001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690310445662208,"note":"Value kept but may cause issues"} 
[2026-07-07 16:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654509943747733504,"note":"Value kept but may cause issues"} 
[2026-07-07 16:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783422775000,"timestamp_ms":1783422775000,"timestamp_seconds":1783422775,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c47eed8"} 
[2026-07-07 16:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-07 16:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556229888001,"66":13993,"71":206,"28":31744,"24":1,"16":4690310445662208,"45":1654509943747733504},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556229888001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:45:14] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:45:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690310445662208,"km_value":4690310445662.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654509943747733504,"description":"Unknown IO ID 45"} 
[2026-07-07 16:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556229888001,"power":13993,"unknown_71":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1654509943747733504}} 
[2026-07-07 16:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":125386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:45:14] local.INFO: GPS data processed {"connection_id":125386,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:45:14] local.INFO: Acknowledgment sent {"connection_id":125386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:45:16] local.INFO: TCP Data received {"connection_id":124660,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124660,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:45:16] local.INFO: Processing buffer {"connection_id":124660,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:45:16] local.INFO: IMEI packet received {"connection_id":124660,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":124660,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:45:17] local.INFO: TCP Data received {"connection_id":124660,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c48ecc0012d0b5200070605a0001200c220..."} 
[2026-07-07 16:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c48ecc0012d0b5200070605a0001200c220..."} 
[2026-07-07 16:45:17] local.INFO: Processing buffer {"connection_id":124660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c48ecc0012d0b5200070605a0001200c220..."} 
[2026-07-07 16:45:17] local.INFO: Packet analysis {"connection_id":124660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c48"} 
[2026-07-07 16:45:17] local.INFO: Extracted packet for processing {"connection_id":124660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c48"} 
[2026-07-07 16:45:17] local.INFO: GPS Element Parsed {"raw_longitude":755716608,"raw_latitude":117835168,"longitude_deg":75.5716608,"latitude_deg":11.7835168,"altitude":18,"angle":194,"satellites":32,"speed":3,"hex_longitude":"2d0b5200","hex_latitude":"070605a0","is_valid_coordinates":true} 
[2026-07-07 16:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556245504001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23457453513375744,"note":"Value kept but may cause issues"} 
[2026-07-07 16:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815995987650117632,"note":"Value kept but may cause issues"} 
[2026-07-07 16:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783422840000,"timestamp_ms":1783422840000,"timestamp_seconds":1783422840,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c48ecc0"} 
[2026-07-07 16:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 16:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556245504001,"66":14407,"165":206,"94":10240,"24":3,"16":23457453513375744,"45":815995987650117632},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-07 16:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556245504001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:45:17] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 16:45:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23457453513375744,"km_value":23457453513375.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":815995987650117632,"description":"Unknown IO ID 45"} 
[2026-07-07 16:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556245504001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":815995987650117632}} 
[2026-07-07 16:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":124660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446540,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:45:18] local.INFO: GPS data processed {"connection_id":124660,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:45:18] local.INFO: Acknowledgment sent {"connection_id":124660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:45:21] local.INFO: TCP Data received {"connection_id":124660,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c492758012d0b5040070600f0001200cf21..."} 
[2026-07-07 16:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c492758012d0b5040070600f0001200cf21..."} 
[2026-07-07 16:45:21] local.INFO: Processing buffer {"connection_id":124660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c492758012d0b5040070600f0001200cf21..."} 
[2026-07-07 16:45:21] local.INFO: Packet analysis {"connection_id":124660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c49"} 
[2026-07-07 16:45:21] local.INFO: Extracted packet for processing {"connection_id":124660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c49"} 
[2026-07-07 16:45:21] local.INFO: GPS Element Parsed {"raw_longitude":755716160,"raw_latitude":117833968,"longitude_deg":75.571616,"latitude_deg":11.7833968,"altitude":18,"angle":207,"satellites":33,"speed":3,"hex_longitude":"2d0b5040","hex_latitude":"070600f0","is_valid_coordinates":true} 
[2026-07-07 16:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556247040001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23457522232852480,"note":"Value kept but may cause issues"} 
[2026-07-07 16:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815714512673284096,"note":"Value kept but may cause issues"} 
[2026-07-07 16:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783422855000,"timestamp_ms":1783422855000,"timestamp_seconds":1783422855,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c492758"} 
[2026-07-07 16:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 16:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556247040001,"66":14515,"165":206,"94":10240,"24":3,"16":23457522232852480,"45":815714512673284096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-07 16:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556247040001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:45:21] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 16:45:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23457522232852480,"km_value":23457522232852.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":815714512673284096,"description":"Unknown IO ID 45"} 
[2026-07-07 16:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556247040001,"power":14515,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":815714512673284096}} 
[2026-07-07 16:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":124660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446541,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:45:21] local.INFO: GPS data processed {"connection_id":124660,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:45:21] local.INFO: Acknowledgment sent {"connection_id":124660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:45:26] local.INFO: TCP Data received {"connection_id":124661,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:45:26] local.INFO: Processing buffer {"connection_id":124661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:45:26] local.INFO: IMEI packet received {"connection_id":124661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":124661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:45:29] local.INFO: TCP Data received {"connection_id":125386,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c481200012d16f4c007226da8008100c61f..."} 
[2026-07-07 16:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c481200012d16f4c007226da8008100c61f..."} 
[2026-07-07 16:45:29] local.INFO: Processing buffer {"connection_id":125386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c481200012d16f4c007226da8008100c61f..."} 
[2026-07-07 16:45:29] local.INFO: Packet analysis {"connection_id":125386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c48"} 
[2026-07-07 16:45:29] local.INFO: Extracted packet for processing {"connection_id":125386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c48"} 
[2026-07-07 16:45:29] local.INFO: GPS Element Parsed {"raw_longitude":756479168,"raw_latitude":119696808,"longitude_deg":75.6479168,"latitude_deg":11.9696808,"altitude":129,"angle":198,"satellites":31,"speed":1,"hex_longitude":"2d16f4c0","hex_latitude":"07226da8","is_valid_coordinates":true} 
[2026-07-07 16:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556230400001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690336215465984,"note":"Value kept but may cause issues"} 
[2026-07-07 16:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654509943747706880,"note":"Value kept but may cause issues"} 
[2026-07-07 16:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783422784000,"timestamp_ms":1783422784000,"timestamp_seconds":1783422784,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c481200"} 
[2026-07-07 16:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-07 16:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556230400001,"66":14298,"71":206,"28":31744,"24":1,"16":4690336215465984,"45":1654509943747706880},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556230400001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:45:29] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:45:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690336215465984,"km_value":4690336215465.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654509943747706880,"description":"Unknown IO ID 45"} 
[2026-07-07 16:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556230400001,"power":14298,"unknown_71":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1654509943747706880}} 
[2026-07-07 16:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":125386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:45:29] local.INFO: GPS data processed {"connection_id":125386,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:45:29] local.INFO: Acknowledgment sent {"connection_id":125386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:45:31] local.INFO: TCP Data received {"connection_id":124661,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:45:31] local.INFO: Processing buffer {"connection_id":124661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:45:31] local.INFO: IMEI packet received {"connection_id":124661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":124661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:45:33] local.INFO: TCP Data received {"connection_id":124661,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:45:33] local.INFO: Processing buffer {"connection_id":124661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:45:33] local.INFO: Packet analysis {"connection_id":124661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:45:33] local.INFO: Extracted packet for processing {"connection_id":124661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:45:33] local.INFO: GPS Element Parsed {"raw_longitude":762977856,"raw_latitude":98854960,"longitude_deg":76.2977856,"latitude_deg":9.885496,"altitude":9,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2d7a1e40","hex_latitude":"05e46830","is_valid_coordinates":true} 
[2026-07-07 16:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556219904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799541115979575296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783422734000,"timestamp_ms":1783422734000,"timestamp_seconds":1783422734,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c474eb0"} 
[2026-07-07 16:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 16:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556219904001,"66":13037,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799541115979575296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556219904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:45:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799541115979575296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556219904001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799541115979575296}} 
[2026-07-07 16:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":124661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:45:33] local.INFO: GPS data processed {"connection_id":124661,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:45:33] local.INFO: Acknowledgment sent {"connection_id":124661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:46:02] local.INFO: TCP Data received {"connection_id":124579,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:46:02] local.INFO: Processing buffer {"connection_id":124579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:46:02] local.INFO: IMEI packet received {"connection_id":124579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":124579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:46:04] local.INFO: TCP Data received {"connection_id":124661,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:46:04] local.INFO: Processing buffer {"connection_id":124661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:46:04] local.INFO: Packet analysis {"connection_id":124661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:46:04] local.INFO: Extracted packet for processing {"connection_id":124661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:46:04] local.INFO: GPS Element Parsed {"raw_longitude":762977856,"raw_latitude":98854960,"longitude_deg":76.2977856,"latitude_deg":9.885496,"altitude":9,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2d7a1e40","hex_latitude":"05e46830","is_valid_coordinates":true} 
[2026-07-07 16:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556219904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799541115979575296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783422734000,"timestamp_ms":1783422734000,"timestamp_seconds":1783422734,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c474eb0"} 
[2026-07-07 16:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 16:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556219904001,"66":13037,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799541115979575296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556219904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:46:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:46:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799541115979575296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556219904001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799541115979575296}} 
[2026-07-07 16:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":124661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:46:04] local.INFO: GPS data processed {"connection_id":124661,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:46:04] local.INFO: Acknowledgment sent {"connection_id":124661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:46:04] local.INFO: TCP Data received {"connection_id":124660,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c497578012d0b4e400705feb0001100de23..."} 
[2026-07-07 16:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c497578012d0b4e400705feb0001100de23..."} 
[2026-07-07 16:46:04] local.INFO: Processing buffer {"connection_id":124660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c497578012d0b4e400705feb0001100de23..."} 
[2026-07-07 16:46:04] local.INFO: Packet analysis {"connection_id":124660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c49"} 
[2026-07-07 16:46:04] local.INFO: Extracted packet for processing {"connection_id":124660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c49"} 
[2026-07-07 16:46:04] local.INFO: GPS Element Parsed {"raw_longitude":755715648,"raw_latitude":117833392,"longitude_deg":75.5715648,"latitude_deg":11.7833392,"altitude":17,"angle":222,"satellites":35,"speed":1,"hex_longitude":"2d0b4e40","hex_latitude":"0705feb0","is_valid_coordinates":true} 
[2026-07-07 16:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556250880001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23457565182525440,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815221931463733248,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783422875000,"timestamp_ms":1783422875000,"timestamp_seconds":1783422875,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c497578"} 
[2026-07-07 16:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 16:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556250880001,"66":14428,"165":206,"94":10240,"24":1,"16":23457565182525440,"45":815221931463733248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-07 16:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556250880001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:46:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 16:46:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23457565182525440,"km_value":23457565182525.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":815221931463733248,"description":"Unknown IO ID 45"} 
[2026-07-07 16:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556250880001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":815221931463733248}} 
[2026-07-07 16:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":124660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446545,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:46:05] local.INFO: GPS data processed {"connection_id":124660,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:46:05] local.INFO: Acknowledgment sent {"connection_id":124660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:46:07] local.INFO: TCP Data received {"connection_id":124579,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:46:07] local.INFO: Processing buffer {"connection_id":124579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:46:07] local.INFO: IMEI packet received {"connection_id":124579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":124579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:46:11] local.INFO: TCP Data received {"connection_id":124579,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c483140012d16f4c007226d50008100241f..."} 
[2026-07-07 16:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c483140012d16f4c007226d50008100241f..."} 
[2026-07-07 16:46:11] local.INFO: Processing buffer {"connection_id":124579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c483140012d16f4c007226d50008100241f..."} 
[2026-07-07 16:46:11] local.INFO: Packet analysis {"connection_id":124579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c48"} 
[2026-07-07 16:46:11] local.INFO: Extracted packet for processing {"connection_id":124579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c48"} 
[2026-07-07 16:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756479168,"raw_latitude":119696720,"longitude_deg":75.6479168,"latitude_deg":11.969672,"altitude":129,"angle":36,"satellites":31,"speed":3,"hex_longitude":"2d16f4c0","hex_latitude":"07226d50","is_valid_coordinates":true} 
[2026-07-07 16:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556232704001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690340510433280,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654158100026730496,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783422792000,"timestamp_ms":1783422792000,"timestamp_seconds":1783422792,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c483140"} 
[2026-07-07 16:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-07 16:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556232704001,"66":13135,"71":206,"28":31744,"24":3,"16":4690340510433280,"45":1654158100026730496},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556232704001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:46:11] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:46:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690340510433280,"km_value":4690340510433.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654158100026730496,"description":"Unknown IO ID 45"} 
[2026-07-07 16:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556232704001,"power":13135,"unknown_71":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1654158100026730496}} 
[2026-07-07 16:46:11] local.INFO: TCP Data received {"connection_id":125388,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125388,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:46:11] local.INFO: Processing buffer {"connection_id":125388,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:46:11] local.INFO: IMEI packet received {"connection_id":125388,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":125388,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":124579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:46:11] local.INFO: GPS data processed {"connection_id":124579,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:46:11] local.INFO: Acknowledgment sent {"connection_id":124579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:46:12] local.INFO: TCP Data received {"connection_id":125388,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125388,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:46:12] local.INFO: Processing buffer {"connection_id":125388,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:46:12] local.INFO: IMEI packet received {"connection_id":125388,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":125388,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:46:16] local.INFO: TCP Data received {"connection_id":125388,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125388,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:46:16] local.INFO: Processing buffer {"connection_id":125388,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:46:16] local.INFO: IMEI packet received {"connection_id":125388,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":125388,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:46:17] local.INFO: TCP Data received {"connection_id":125388,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4aaa10012d0c3540070586680019007b21..."} 
[2026-07-07 16:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4aaa10012d0c3540070586680019007b21..."} 
[2026-07-07 16:46:17] local.INFO: Processing buffer {"connection_id":125388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4aaa10012d0c3540070586680019007b21..."} 
[2026-07-07 16:46:17] local.INFO: Packet analysis {"connection_id":125388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4a"} 
[2026-07-07 16:46:17] local.INFO: Extracted packet for processing {"connection_id":125388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4a"} 
[2026-07-07 16:46:17] local.INFO: GPS Element Parsed {"raw_longitude":755774784,"raw_latitude":117802600,"longitude_deg":75.5774784,"latitude_deg":11.78026,"altitude":25,"angle":123,"satellites":33,"speed":22,"hex_longitude":"2d0c3540","hex_latitude":"07058668","is_valid_coordinates":true} 
[2026-07-07 16:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556276224001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23460794997932032,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879679701122443264,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783422954000,"timestamp_ms":1783422954000,"timestamp_seconds":1783422954,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4aaa10"} 
[2026-07-07 16:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 16:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":125388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":125388,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":125388,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556276224001,"66":14439,"164":206,"94":10240,"24":22,"16":23460794997932032,"45":879679701122443264},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-07 16:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556276224001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:46:17] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-07 16:46:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23460794997932032,"km_value":23460794997932.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":879679701122443264,"description":"Unknown IO ID 45"} 
[2026-07-07 16:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556276224001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":879679701122443264}} 
[2026-07-07 16:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":125388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446547,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:46:17] local.INFO: GPS data processed {"connection_id":125388,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:46:17] local.INFO: Acknowledgment sent {"connection_id":125388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:46:31] local.INFO: TCP Data received {"connection_id":126641,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:46:31] local.INFO: Processing buffer {"connection_id":126641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:46:31] local.INFO: IMEI packet received {"connection_id":126641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":126641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:46:34] local.INFO: TCP Data received {"connection_id":124580,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:46:34] local.INFO: Processing buffer {"connection_id":124580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:46:34] local.INFO: IMEI packet received {"connection_id":124580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 16:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":124580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:46:36] local.INFO: TCP Data received {"connection_id":126641,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:46:36] local.INFO: Processing buffer {"connection_id":126641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:46:36] local.INFO: IMEI packet received {"connection_id":126641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":126641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:46:37] local.INFO: TCP Data received {"connection_id":126641,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:46:37] local.INFO: Processing buffer {"connection_id":126641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:46:37] local.INFO: Packet analysis {"connection_id":126641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:46:37] local.INFO: Extracted packet for processing {"connection_id":126641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:46:37] local.INFO: GPS Element Parsed {"raw_longitude":762977856,"raw_latitude":98854960,"longitude_deg":76.2977856,"latitude_deg":9.885496,"altitude":9,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2d7a1e40","hex_latitude":"05e46830","is_valid_coordinates":true} 
[2026-07-07 16:46: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-07-07 16:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556219904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799541115979575296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783422734000,"timestamp_ms":1783422734000,"timestamp_seconds":1783422734,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c474eb0"} 
[2026-07-07 16:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 16:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556219904001,"66":13037,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799541115979575296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556219904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:46:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:46:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799541115979575296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556219904001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799541115979575296}} 
[2026-07-07 16:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":126641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:46:37] local.INFO: GPS data processed {"connection_id":126641,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:46:37] local.INFO: Acknowledgment sent {"connection_id":126641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:46:47] local.INFO: TCP Data received {"connection_id":124579,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c487b78012d16f68007227020008200251f..."} 
[2026-07-07 16:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c487b78012d16f68007227020008200251f..."} 
[2026-07-07 16:46:47] local.INFO: Processing buffer {"connection_id":124579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c487b78012d16f68007227020008200251f..."} 
[2026-07-07 16:46:47] local.INFO: Packet analysis {"connection_id":124579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c48"} 
[2026-07-07 16:46:47] local.INFO: Extracted packet for processing {"connection_id":124579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c48"} 
[2026-07-07 16:46:47] local.INFO: GPS Element Parsed {"raw_longitude":756479616,"raw_latitude":119697440,"longitude_deg":75.6479616,"latitude_deg":11.969744,"altitude":130,"angle":37,"satellites":31,"speed":0,"hex_longitude":"2d16f680","hex_latitude":"07227020","is_valid_coordinates":true} 
[2026-07-07 16:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556234752001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690383460106240,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654158100026707968,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783422811000,"timestamp_ms":1783422811000,"timestamp_seconds":1783422811,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c487b78"} 
[2026-07-07 16:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 16:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556234752001,"66":14026,"71":206,"28":31744,"24":0,"16":4690383460106240,"45":1654158100026707968},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556234752001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:46:47] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:46:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690383460106240,"km_value":4690383460106.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654158100026707968,"description":"Unknown IO ID 45"} 
[2026-07-07 16:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556234752001,"power":14026,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1654158100026707968}} 
[2026-07-07 16:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":124579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:46:47] local.INFO: GPS data processed {"connection_id":124579,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:46:47] local.INFO: Acknowledgment sent {"connection_id":124579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:46:57] local.INFO: TCP Data received {"connection_id":125388,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4ab5c8012d0c3a4007058200001a008a22..."} 
[2026-07-07 16:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4ab5c8012d0c3a4007058200001a008a22..."} 
[2026-07-07 16:46:57] local.INFO: Processing buffer {"connection_id":125388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4ab5c8012d0c3a4007058200001a008a22..."} 
[2026-07-07 16:46:57] local.INFO: Packet analysis {"connection_id":125388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4a"} 
[2026-07-07 16:46:57] local.INFO: Extracted packet for processing {"connection_id":125388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4a"} 
[2026-07-07 16:46:57] local.INFO: GPS Element Parsed {"raw_longitude":755776064,"raw_latitude":117801472,"longitude_deg":75.5776064,"latitude_deg":11.7801472,"altitude":26,"angle":138,"satellites":34,"speed":20,"hex_longitude":"2d0c3a40","hex_latitude":"07058200","is_valid_coordinates":true} 
[2026-07-07 16:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556276224001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23460876602310656,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879679701122443264,"note":"Value kept but may cause issues"} 
[2026-07-07 16:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783422957000,"timestamp_ms":1783422957000,"timestamp_seconds":1783422957,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4ab5c8"} 
[2026-07-07 16:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 16:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":125388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":125388,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":125388,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556276224001,"66":14428,"164":206,"94":10240,"24":20,"16":23460876602310656,"45":879679701122443264},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-07 16:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556276224001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:46:57] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-07 16:46:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23460876602310656,"km_value":23460876602310.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":879679701122443264,"description":"Unknown IO ID 45"} 
[2026-07-07 16:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556276224001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":879679701122443264}} 
[2026-07-07 16:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":125388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446550,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:46:57] local.INFO: GPS data processed {"connection_id":125388,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:46:57] local.INFO: Acknowledgment sent {"connection_id":125388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:47:00] local.INFO: TCP Data received {"connection_id":124662,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:47:00] local.INFO: Processing buffer {"connection_id":124662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:47:00] local.INFO: IMEI packet received {"connection_id":124662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 16:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":124662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:47:01] local.INFO: TCP Data received {"connection_id":124581,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:47:01] local.INFO: Processing buffer {"connection_id":124581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:47:01] local.INFO: IMEI packet received {"connection_id":124581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":124581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:47:02] local.INFO: TCP Data received {"connection_id":124581,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:47:02] local.INFO: Processing buffer {"connection_id":124581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:47:02] local.INFO: IMEI packet received {"connection_id":124581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":124581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:47:07] local.INFO: TCP Data received {"connection_id":124581,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:47:07] local.INFO: Processing buffer {"connection_id":124581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:47:07] local.INFO: IMEI packet received {"connection_id":124581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":124581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:47:09] local.INFO: TCP Data received {"connection_id":124581,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c48c998012d16f68007227020008200251f..."} 
[2026-07-07 16:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c48c998012d16f68007227020008200251f..."} 
[2026-07-07 16:47:09] local.INFO: Processing buffer {"connection_id":124581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c48c998012d16f68007227020008200251f..."} 
[2026-07-07 16:47:09] local.INFO: Packet analysis {"connection_id":124581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c48"} 
[2026-07-07 16:47:09] local.INFO: Extracted packet for processing {"connection_id":124581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c48"} 
[2026-07-07 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":756479616,"raw_latitude":119697440,"longitude_deg":75.6479616,"latitude_deg":11.969744,"altitude":130,"angle":37,"satellites":31,"speed":0,"hex_longitude":"2d16f680","hex_latitude":"07227020","is_valid_coordinates":true} 
[2026-07-07 16:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556239616001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690383460106240,"note":"Value kept but may cause issues"} 
[2026-07-07 16:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654650681236135936,"note":"Value kept but may cause issues"} 
[2026-07-07 16:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783422831000,"timestamp_ms":1783422831000,"timestamp_seconds":1783422831,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c48c998"} 
[2026-07-07 16:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:47: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-07-07 16:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-07 16:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556239616001,"66":14048,"71":206,"28":31744,"24":0,"16":4690383460106240,"45":1654650681236135936},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556239616001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:47:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:47:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690383460106240,"km_value":4690383460106.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654650681236135936,"description":"Unknown IO ID 45"} 
[2026-07-07 16:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556239616001,"power":14048,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1654650681236135936}} 
[2026-07-07 16:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":124581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:47:09] local.INFO: GPS data processed {"connection_id":124581,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:47:09] local.INFO: Acknowledgment sent {"connection_id":124581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:47:09] local.INFO: TCP Data received {"connection_id":126641,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:47:09] local.INFO: Processing buffer {"connection_id":126641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c474eb0012d7a1e4005e468300009015f29..."} 
[2026-07-07 16:47:09] local.INFO: Packet analysis {"connection_id":126641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:47:09] local.INFO: Extracted packet for processing {"connection_id":126641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c47"} 
[2026-07-07 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":762977856,"raw_latitude":98854960,"longitude_deg":76.2977856,"latitude_deg":9.885496,"altitude":9,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2d7a1e40","hex_latitude":"05e46830","is_valid_coordinates":true} 
[2026-07-07 16:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556219904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799541115979575296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783422734000,"timestamp_ms":1783422734000,"timestamp_seconds":1783422734,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c474eb0"} 
[2026-07-07 16:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 16:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556219904001,"66":13037,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799541115979575296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556219904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799541115979575296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556219904001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799541115979575296}} 
[2026-07-07 16:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":126641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:47:10] local.INFO: GPS data processed {"connection_id":126641,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:47:10] local.INFO: Acknowledgment sent {"connection_id":126641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:47:10] local.INFO: TCP Data received {"connection_id":124664,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124664,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:47:10] local.INFO: Processing buffer {"connection_id":124664,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:47:10] local.INFO: IMEI packet received {"connection_id":124664,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":124664,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:47:14] local.INFO: TCP Data received {"connection_id":124664,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124664,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:47:14] local.INFO: Processing buffer {"connection_id":124664,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:47:14] local.INFO: IMEI packet received {"connection_id":124664,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":124664,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:47:15] local.INFO: TCP Data received {"connection_id":124664,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4abd98012d0c3c4007057f10001c009623..."} 
[2026-07-07 16:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4abd98012d0c3c4007057f10001c009623..."} 
[2026-07-07 16:47:15] local.INFO: Processing buffer {"connection_id":124664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4abd98012d0c3c4007057f10001c009623..."} 
[2026-07-07 16:47:15] local.INFO: Packet analysis {"connection_id":124664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4a"} 
[2026-07-07 16:47:15] local.INFO: Extracted packet for processing {"connection_id":124664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4a"} 
[2026-07-07 16:47:15] local.INFO: GPS Element Parsed {"raw_longitude":755776576,"raw_latitude":117800720,"longitude_deg":75.5776576,"latitude_deg":11.780072,"altitude":28,"angle":150,"satellites":35,"speed":18,"hex_longitude":"2d0c3c40","hex_latitude":"07057f10","is_valid_coordinates":true} 
[2026-07-07 16:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556276992001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23460919551983616,"note":"Value kept but may cause issues"} 
[2026-07-07 16:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881087076005707776,"note":"Value kept but may cause issues"} 
[2026-07-07 16:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783422959000,"timestamp_ms":1783422959000,"timestamp_seconds":1783422959,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4abd98"} 
[2026-07-07 16:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 16:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556276992001,"66":14428,"164":206,"94":10240,"24":18,"16":23460919551983616,"45":881087076005707776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-07 16:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556276992001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:47:15] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-07 16:47:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23460919551983616,"km_value":23460919551983.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":881087076005707776,"description":"Unknown IO ID 45"} 
[2026-07-07 16:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556276992001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":881087076005707776}} 
[2026-07-07 16:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":124664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446553,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:47:15] local.INFO: GPS data processed {"connection_id":124664,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:47:15] local.INFO: Acknowledgment sent {"connection_id":124664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:47:26] local.INFO: TCP Data received {"connection_id":124665,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:47:26] local.INFO: Processing buffer {"connection_id":124665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:47:26] local.INFO: IMEI packet received {"connection_id":124665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":124665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:47:31] local.INFO: TCP Data received {"connection_id":124665,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:47:31] local.INFO: Processing buffer {"connection_id":124665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:47:31] local.INFO: IMEI packet received {"connection_id":124665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":124665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:47:32] local.INFO: TCP Data received {"connection_id":124665,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:47:32] local.INFO: Processing buffer {"connection_id":124665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:47:32] local.INFO: Packet analysis {"connection_id":124665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:47:32] local.INFO: Extracted packet for processing {"connection_id":124665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:47:32] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556219904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799541115979575296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783423035000,"timestamp_ms":1783423035000,"timestamp_seconds":1783423035,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4be678"} 
[2026-07-07 16:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 16:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556219904001,"66":13048,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799541115979575296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556219904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:47:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799541115979575296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556219904001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799541115979575296}} 
[2026-07-07 16:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":124665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:47:32] local.INFO: GPS data processed {"connection_id":124665,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:47:32] local.INFO: Acknowledgment sent {"connection_id":124665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:47:41] local.INFO: TCP Data received {"connection_id":124581,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4913d0012d16f680072270200082002520..."} 
[2026-07-07 16:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4913d0012d16f680072270200082002520..."} 
[2026-07-07 16:47:41] local.INFO: Processing buffer {"connection_id":124581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4913d0012d16f680072270200082002520..."} 
[2026-07-07 16:47:41] local.INFO: Packet analysis {"connection_id":124581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c49"} 
[2026-07-07 16:47:41] local.INFO: Extracted packet for processing {"connection_id":124581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c49"} 
[2026-07-07 16:47:41] local.INFO: GPS Element Parsed {"raw_longitude":756479616,"raw_latitude":119697440,"longitude_deg":75.6479616,"latitude_deg":11.969744,"altitude":130,"angle":37,"satellites":32,"speed":0,"hex_longitude":"2d16f680","hex_latitude":"07227020","is_valid_coordinates":true} 
[2026-07-07 16:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556244736001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690383460106240,"note":"Value kept but may cause issues"} 
[2026-07-07 16:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654650681236135936,"note":"Value kept but may cause issues"} 
[2026-07-07 16:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783422850000,"timestamp_ms":1783422850000,"timestamp_seconds":1783422850,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4913d0"} 
[2026-07-07 16:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 16:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556244736001,"66":13993,"71":206,"28":31744,"24":0,"16":4690383460106240,"45":1654650681236135936},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556244736001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:47:41] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:47:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690383460106240,"km_value":4690383460106.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654650681236135936,"description":"Unknown IO ID 45"} 
[2026-07-07 16:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556244736001,"power":13993,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1654650681236135936}} 
[2026-07-07 16:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":124581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:47:41] local.INFO: GPS data processed {"connection_id":124581,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:47:41] local.INFO: Acknowledgment sent {"connection_id":124581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:47:46] local.INFO: TCP Data received {"connection_id":124664,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4c28e0012d0cbb4007047f10001c00a823..."} 
[2026-07-07 16:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4c28e0012d0cbb4007047f10001c00a823..."} 
[2026-07-07 16:47:46] local.INFO: Processing buffer {"connection_id":124664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4c28e0012d0cbb4007047f10001c00a823..."} 
[2026-07-07 16:47:46] local.INFO: Packet analysis {"connection_id":124664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4c"} 
[2026-07-07 16:47:46] local.INFO: Extracted packet for processing {"connection_id":124664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4c"} 
[2026-07-07 16:47:46] local.INFO: GPS Element Parsed {"raw_longitude":755809088,"raw_latitude":117735184,"longitude_deg":75.5809088,"latitude_deg":11.7735184,"altitude":28,"angle":168,"satellites":35,"speed":41,"hex_longitude":"2d0cbb40","hex_latitude":"07047f10","is_valid_coordinates":true} 
[2026-07-07 16:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556300800001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23464514439610368,"note":"Value kept but may cause issues"} 
[2026-07-07 16:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916623291798976512,"note":"Value kept but may cause issues"} 
[2026-07-07 16:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783423052000,"timestamp_ms":1783423052000,"timestamp_seconds":1783423052,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4c28e0"} 
[2026-07-07 16:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:47: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-07-07 16:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 16:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556300800001,"66":14439,"95":206,"94":10240,"24":41,"16":23464514439610368,"45":916623291798976512},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-07 16:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556300800001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:47:46] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 16:47:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23464514439610368,"km_value":23464514439610.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":916623291798976512,"description":"Unknown IO ID 45"} 
[2026-07-07 16:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556300800001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":41,"odometer":null,"unknown_45":916623291798976512}} 
[2026-07-07 16:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":124664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446556,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:47:46] local.INFO: GPS data processed {"connection_id":124664,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:47:46] local.INFO: Acknowledgment sent {"connection_id":124664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:48:02] local.INFO: TCP Data received {"connection_id":126644,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:48:02] local.INFO: Processing buffer {"connection_id":126644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:48:02] local.INFO: IMEI packet received {"connection_id":126644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":126644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:48:04] local.INFO: TCP Data received {"connection_id":126644,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:48:04] local.INFO: Processing buffer {"connection_id":126644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:48:04] local.INFO: IMEI packet received {"connection_id":126644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":126644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:48:05] local.INFO: TCP Data received {"connection_id":124665,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:48:05] local.INFO: Processing buffer {"connection_id":124665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:48:05] local.INFO: Packet analysis {"connection_id":124665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:48:05] local.INFO: Extracted packet for processing {"connection_id":124665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:48:05] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556219904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799541115979575296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783423035000,"timestamp_ms":1783423035000,"timestamp_seconds":1783423035,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4be678"} 
[2026-07-07 16:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 16:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556219904001,"66":13048,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799541115979575296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556219904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:48:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:48:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799541115979575296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556219904001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799541115979575296}} 
[2026-07-07 16:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":124665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446557,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:48:05] local.INFO: GPS data processed {"connection_id":124665,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:48:05] local.INFO: Acknowledgment sent {"connection_id":124665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:48:08] local.INFO: TCP Data received {"connection_id":126644,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:48:08] local.INFO: Processing buffer {"connection_id":126644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:48:08] local.INFO: IMEI packet received {"connection_id":126644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":126644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:48:09] local.INFO: TCP Data received {"connection_id":126644,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4b9c40012d16f600072270200084001e21..."} 
[2026-07-07 16:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4b9c40012d16f600072270200084001e21..."} 
[2026-07-07 16:48:09] local.INFO: Processing buffer {"connection_id":126644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4b9c40012d16f600072270200084001e21..."} 
[2026-07-07 16:48:09] local.INFO: Packet analysis {"connection_id":126644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:48:09] local.INFO: Extracted packet for processing {"connection_id":126644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:48:09] local.INFO: GPS Element Parsed {"raw_longitude":756479488,"raw_latitude":119697440,"longitude_deg":75.6479488,"latitude_deg":11.969744,"altitude":132,"angle":30,"satellites":33,"speed":0,"hex_longitude":"2d16f600","hex_latitude":"07227020","is_valid_coordinates":true} 
[2026-07-07 16:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556287232001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690529488994304,"note":"Value kept but may cause issues"} 
[2026-07-07 16:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654158100026732544,"note":"Value kept but may cause issues"} 
[2026-07-07 16:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783423016000,"timestamp_ms":1783423016000,"timestamp_seconds":1783423016,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4b9c40"} 
[2026-07-07 16:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-07 16:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556287232001,"66":13961,"71":206,"28":31744,"24":0,"16":4690529488994304,"45":1654158100026732544},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556287232001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:48:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:48:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690529488994304,"km_value":4690529488994.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654158100026732544,"description":"Unknown IO ID 45"} 
[2026-07-07 16:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556287232001,"power":13961,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1654158100026732544}} 
[2026-07-07 16:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":126644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:48:09] local.INFO: GPS data processed {"connection_id":126644,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:48:09] local.INFO: Acknowledgment sent {"connection_id":126644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:48:13] local.INFO: TCP Data received {"connection_id":125389,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125389,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:48:13] local.INFO: Processing buffer {"connection_id":125389,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:48:13] local.INFO: IMEI packet received {"connection_id":125389,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":125389,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:48:15] local.INFO: TCP Data received {"connection_id":125389,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125389,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:48:15] local.INFO: Processing buffer {"connection_id":125389,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:48:15] local.INFO: IMEI packet received {"connection_id":125389,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":125389,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:48:20] local.INFO: TCP Data received {"connection_id":125389,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125389,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:48:20] local.INFO: Processing buffer {"connection_id":125389,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:48:20] local.INFO: IMEI packet received {"connection_id":125389,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":125389,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:48:21] local.INFO: TCP Data received {"connection_id":125389,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4c30b0012d0cbc4007047678001a00b422..."} 
[2026-07-07 16:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4c30b0012d0cbc4007047678001a00b422..."} 
[2026-07-07 16:48:22] local.INFO: Processing buffer {"connection_id":125389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4c30b0012d0cbc4007047678001a00b422..."} 
[2026-07-07 16:48:22] local.INFO: Packet analysis {"connection_id":125389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4c"} 
[2026-07-07 16:48:22] local.INFO: Extracted packet for processing {"connection_id":125389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4c"} 
[2026-07-07 16:48:22] local.INFO: GPS Element Parsed {"raw_longitude":755809344,"raw_latitude":117732984,"longitude_deg":75.5809344,"latitude_deg":11.7732984,"altitude":26,"angle":180,"satellites":34,"speed":46,"hex_longitude":"2d0cbc40","hex_latitude":"07047678","is_valid_coordinates":true} 
[2026-07-07 16:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556301312001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23464621813792768,"note":"Value kept but may cause issues"} 
[2026-07-07 16:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917397347984412672,"note":"Value kept but may cause issues"} 
[2026-07-07 16:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783423054000,"timestamp_ms":1783423054000,"timestamp_seconds":1783423054,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4c30b0"} 
[2026-07-07 16:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 16:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556301312001,"66":13787,"95":206,"94":10240,"24":46,"16":23464621813792768,"45":917397347984412672},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-07 16:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556301312001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:48:22] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-07 16:48:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-07 16:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23464621813792768,"km_value":23464621813792.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":917397347984412672,"description":"Unknown IO ID 45"} 
[2026-07-07 16:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556301312001,"power":13787,"unknown_95":206,"unknown_94":10240,"ignition":46,"odometer":null,"unknown_45":917397347984412672}} 
[2026-07-07 16:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":125389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446559,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:48:22] local.INFO: GPS data processed {"connection_id":125389,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:48:22] local.INFO: Acknowledgment sent {"connection_id":125389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:48:26] local.INFO: TCP Data received {"connection_id":124666,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:48:26] local.INFO: Processing buffer {"connection_id":124666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:48:26] local.INFO: IMEI packet received {"connection_id":124666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":124666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:48:31] local.INFO: TCP Data received {"connection_id":124666,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:48:31] local.INFO: Processing buffer {"connection_id":124666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:48:31] local.INFO: IMEI packet received {"connection_id":124666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":124666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:48:33] local.INFO: TCP Data received {"connection_id":124666,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:48:33] local.INFO: Processing buffer {"connection_id":124666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:48:33] local.INFO: Packet analysis {"connection_id":124666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:48:33] local.INFO: Extracted packet for processing {"connection_id":124666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:48:33] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556219904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799541115979575296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783423035000,"timestamp_ms":1783423035000,"timestamp_seconds":1783423035,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4be678"} 
[2026-07-07 16:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 16:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556219904001,"66":13048,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799541115979575296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556219904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:48:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799541115979575296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556219904001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799541115979575296}} 
[2026-07-07 16:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":124666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:48:33] local.INFO: GPS data processed {"connection_id":124666,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:48:33] local.INFO: Acknowledgment sent {"connection_id":124666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:48:33] local.INFO: TCP Data received {"connection_id":126642,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:48:33] local.INFO: Processing buffer {"connection_id":126642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:48:33] local.INFO: IMEI packet received {"connection_id":126642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":126642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:48:36] local.INFO: TCP Data received {"connection_id":126642,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4b88b8012dbfc4400541ab68003300672d..."} 
[2026-07-07 16:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4b88b8012dbfc4400541ab68003300672d..."} 
[2026-07-07 16:48:36] local.INFO: Processing buffer {"connection_id":126642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4b88b8012dbfc4400541ab68003300672d..."} 
[2026-07-07 16:48:36] local.INFO: Packet analysis {"connection_id":126642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:48:36] local.INFO: Extracted packet for processing {"connection_id":126642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:48:36] local.INFO: GPS Element Parsed {"raw_longitude":767542336,"raw_latitude":88189800,"longitude_deg":76.7542336,"latitude_deg":8.81898,"altitude":51,"angle":103,"satellites":45,"speed":8,"hex_longitude":"2dbfc440","hex_latitude":"0541ab68","is_valid_coordinates":true} 
[2026-07-07 16:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556287488001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625615734013952,"note":"Value kept but may cause issues"} 
[2026-07-07 16:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4631178137988132864,"note":"Value kept but may cause issues"} 
[2026-07-07 16:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783423011000,"timestamp_ms":1783423011000,"timestamp_seconds":1783423011,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4b88b8"} 
[2026-07-07 16:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 16:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556287488001,"66":27843,"97":206,"84":5376,"24":8,"16":341625615734013952,"45":-4631178137988132864},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556287488001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:48:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:48:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625615734013952,"km_value":341625615734013.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4631178137988132864,"description":"Unknown IO ID 45"} 
[2026-07-07 16:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556287488001,"power":27843,"unknown_97":206,"unknown_84":5376,"ignition":8,"odometer":null,"unknown_45":-4631178137988132864}} 
[2026-07-07 16:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":126642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:48:36] local.INFO: GPS data processed {"connection_id":126642,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:48:36] local.INFO: Acknowledgment sent {"connection_id":126642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:48:43] local.INFO: TCP Data received {"connection_id":126644,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4bea60012d16f600072270200084001e21..."} 
[2026-07-07 16:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4bea60012d16f600072270200084001e21..."} 
[2026-07-07 16:48:43] local.INFO: Processing buffer {"connection_id":126644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4bea60012d16f600072270200084001e21..."} 
[2026-07-07 16:48:43] local.INFO: Packet analysis {"connection_id":126644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:48:43] local.INFO: Extracted packet for processing {"connection_id":126644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:48:43] local.INFO: GPS Element Parsed {"raw_longitude":756479488,"raw_latitude":119697440,"longitude_deg":75.6479488,"latitude_deg":11.969744,"altitude":132,"angle":30,"satellites":33,"speed":0,"hex_longitude":"2d16f600","hex_latitude":"07227020","is_valid_coordinates":true} 
[2026-07-07 16:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556292096001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690529488994304,"note":"Value kept but may cause issues"} 
[2026-07-07 16:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654509943747780608,"note":"Value kept but may cause issues"} 
[2026-07-07 16:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783423036000,"timestamp_ms":1783423036000,"timestamp_seconds":1783423036,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4bea60"} 
[2026-07-07 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-07-07 16:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-07 16:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 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-07-07 16:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":126644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":126644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":126644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556292096001,"66":13852,"71":206,"28":31744,"24":0,"16":4690529488994304,"45":1654509943747780608},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556292096001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:48:43] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:48:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690529488994304,"km_value":4690529488994.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654509943747780608,"description":"Unknown IO ID 45"} 
[2026-07-07 16:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556292096001,"power":13852,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1654509943747780608}} 
[2026-07-07 16:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":126644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:48:43] local.INFO: GPS data processed {"connection_id":126644,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:48:43] local.INFO: Acknowledgment sent {"connection_id":126644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:49:02] local.INFO: TCP Data received {"connection_id":125391,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:49:02] local.INFO: Processing buffer {"connection_id":125391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:49:02] local.INFO: IMEI packet received {"connection_id":125391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":125391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:49:04] local.INFO: TCP Data received {"connection_id":124582,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:49:04] local.INFO: Processing buffer {"connection_id":124582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:49:04] local.INFO: IMEI packet received {"connection_id":124582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":124582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:49:05] local.INFO: TCP Data received {"connection_id":124666,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:49:05] local.INFO: Processing buffer {"connection_id":124666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:49:05] local.INFO: Packet analysis {"connection_id":124666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:49:05] local.INFO: Extracted packet for processing {"connection_id":124666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:49:05] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556219904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799541115979575296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783423035000,"timestamp_ms":1783423035000,"timestamp_seconds":1783423035,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4be678"} 
[2026-07-07 16:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 16:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556219904001,"66":13048,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799541115979575296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556219904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:49:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:49:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799541115979575296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556219904001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799541115979575296}} 
[2026-07-07 16:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":124666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:49:05] local.INFO: GPS data processed {"connection_id":124666,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:49:05] local.INFO: Acknowledgment sent {"connection_id":124666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:49:06] local.INFO: TCP Data received {"connection_id":125389,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4d1728012d0c4b800703c2f8001000de25..."} 
[2026-07-07 16:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4d1728012d0c4b800703c2f8001000de25..."} 
[2026-07-07 16:49:06] local.INFO: Processing buffer {"connection_id":125389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4d1728012d0c4b800703c2f8001000de25..."} 
[2026-07-07 16:49:06] local.INFO: Packet analysis {"connection_id":125389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4d"} 
[2026-07-07 16:49:06] local.INFO: Extracted packet for processing {"connection_id":125389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4d"} 
[2026-07-07 16:49:06] local.INFO: GPS Element Parsed {"raw_longitude":755780480,"raw_latitude":117687032,"longitude_deg":75.578048,"latitude_deg":11.7687032,"altitude":16,"angle":222,"satellites":37,"speed":24,"hex_longitude":"2d0c4b80","hex_latitude":"0703c2f8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 16:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556316672001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23467379182796800,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886364731789860864,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 16:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783423113000,"timestamp_ms":1783423113000,"timestamp_seconds":1783423113,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4d1728"} 
[2026-07-07 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-07-07 16:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 16:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 16:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556316672001,"66":14428,"16":23467379182796800,"94":11008,"24":24,"45":886364731789860864},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 16:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556316672001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23467379182796800,"km_value":23467379182796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:49:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 16:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":886364731789860864,"description":"Unknown IO ID 45"} 
[2026-07-07 16:49:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456556316672001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":24,"unknown_45":886364731789860864}} 
[2026-07-07 16:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":125389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446564,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:49:06] local.INFO: GPS data processed {"connection_id":125389,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:49:06] local.INFO: Acknowledgment sent {"connection_id":125389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:49:08] local.INFO: TCP Data received {"connection_id":125391,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:49:08] local.INFO: Processing buffer {"connection_id":125391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:49:08] local.INFO: IMEI packet received {"connection_id":125391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":125391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:49:09] local.INFO: TCP Data received {"connection_id":125391,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4c3498012d16f600072270200084001e21..."} 
[2026-07-07 16:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4c3498012d16f600072270200084001e21..."} 
[2026-07-07 16:49:09] local.INFO: Processing buffer {"connection_id":125391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4c3498012d16f600072270200084001e21..."} 
[2026-07-07 16:49:09] local.INFO: Packet analysis {"connection_id":125391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4c"} 
[2026-07-07 16:49:09] local.INFO: Extracted packet for processing {"connection_id":125391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4c"} 
[2026-07-07 16:49:09] local.INFO: GPS Element Parsed {"raw_longitude":756479488,"raw_latitude":119697440,"longitude_deg":75.6479488,"latitude_deg":11.969744,"altitude":132,"angle":30,"satellites":33,"speed":0,"hex_longitude":"2d16f600","hex_latitude":"07227020","is_valid_coordinates":true} 
[2026-07-07 16:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556297216001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690529488994304,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654509943747780608,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783423055000,"timestamp_ms":1783423055000,"timestamp_seconds":1783423055,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4c3498"} 
[2026-07-07 16:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-07 16:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556297216001,"66":13852,"71":206,"28":31744,"24":0,"16":4690529488994304,"45":1654509943747780608},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556297216001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:49:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:49:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690529488994304,"km_value":4690529488994.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654509943747780608,"description":"Unknown IO ID 45"} 
[2026-07-07 16:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556297216001,"power":13852,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1654509943747780608}} 
[2026-07-07 16:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":125391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:49:09] local.INFO: GPS data processed {"connection_id":125391,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:49:09] local.INFO: Acknowledgment sent {"connection_id":125391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:49:09] local.INFO: TCP Data received {"connection_id":124582,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:49:09] local.INFO: Processing buffer {"connection_id":124582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:49:09] local.INFO: IMEI packet received {"connection_id":124582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":124582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:49:11] local.INFO: TCP Data received {"connection_id":124582,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4b8ca0012dbfc5400541ab180033007a2d..."} 
[2026-07-07 16:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4b8ca0012dbfc5400541ab180033007a2d..."} 
[2026-07-07 16:49:11] local.INFO: Processing buffer {"connection_id":124582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4b8ca0012dbfc5400541ab180033007a2d..."} 
[2026-07-07 16:49:11] local.INFO: Packet analysis {"connection_id":124582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:49:11] local.INFO: Extracted packet for processing {"connection_id":124582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:49:11] local.INFO: GPS Element Parsed {"raw_longitude":767542592,"raw_latitude":88189720,"longitude_deg":76.7542592,"latitude_deg":8.818972,"altitude":51,"angle":122,"satellites":45,"speed":9,"hex_longitude":"2dbfc540","hex_latitude":"0541ab18","is_valid_coordinates":true} 
[2026-07-07 16:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556290816001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625628618915840,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4628504125709260800,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783423012000,"timestamp_ms":1783423012000,"timestamp_seconds":1783423012,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4b8ca0"} 
[2026-07-07 16:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16: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-07-07 16:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 16:49: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-07-07 16:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556290816001,"66":27843,"97":206,"84":5376,"24":9,"16":341625628618915840,"45":-4628504125709260800},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556290816001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:49:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:49:11] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625628618915840,"km_value":341625628618915.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4628504125709260800,"description":"Unknown IO ID 45"} 
[2026-07-07 16:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556290816001,"power":27843,"unknown_97":206,"unknown_84":5376,"ignition":9,"odometer":null,"unknown_45":-4628504125709260800}} 
[2026-07-07 16:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":124582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:49:11] local.INFO: GPS data processed {"connection_id":124582,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:49:11] local.INFO: Acknowledgment sent {"connection_id":124582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:49:19] local.INFO: TCP Data received {"connection_id":124582,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4b9088012dbfc6000541aa68003300882c..."} 
[2026-07-07 16:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4b9088012dbfc6000541aa68003300882c..."} 
[2026-07-07 16:49:19] local.INFO: Processing buffer {"connection_id":124582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4b9088012dbfc6000541aa68003300882c..."} 
[2026-07-07 16:49:19] local.INFO: Packet analysis {"connection_id":124582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:49:19] local.INFO: Extracted packet for processing {"connection_id":124582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:49:19] local.INFO: GPS Element Parsed {"raw_longitude":767542784,"raw_latitude":88189544,"longitude_deg":76.7542784,"latitude_deg":8.8189544,"altitude":51,"angle":136,"satellites":44,"speed":12,"hex_longitude":"2dbfc600","hex_latitude":"0541aa68","is_valid_coordinates":true} 
[2026-07-07 16:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556291072001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625641503817728,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4628222650732570624,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783423013000,"timestamp_ms":1783423013000,"timestamp_seconds":1783423013,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4b9088"} 
[2026-07-07 16:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:49: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-07-07 16:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 16:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556291072001,"66":27865,"97":206,"84":5376,"24":12,"16":341625641503817728,"45":-4628222650732570624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556291072001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:49:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:49:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625641503817728,"km_value":341625641503817.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4628222650732570624,"description":"Unknown IO ID 45"} 
[2026-07-07 16:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556291072001,"power":27865,"unknown_97":206,"unknown_84":5376,"ignition":12,"odometer":null,"unknown_45":-4628222650732570624}} 
[2026-07-07 16:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":124582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:49:19] local.INFO: GPS data processed {"connection_id":124582,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:49:19] local.INFO: Acknowledgment sent {"connection_id":124582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:49:21] local.INFO: TCP Data received {"connection_id":124583,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:49:21] local.INFO: Processing buffer {"connection_id":124583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:49:21] local.INFO: IMEI packet received {"connection_id":124583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":124583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:49:24] local.INFO: TCP Data received {"connection_id":124583,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:49:24] local.INFO: Processing buffer {"connection_id":124583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:49:24] local.INFO: IMEI packet received {"connection_id":124583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":124583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:49:25] local.INFO: TCP Data received {"connection_id":124583,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:49:25] local.INFO: Processing buffer {"connection_id":124583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:49:25] local.INFO: IMEI packet received {"connection_id":124583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":124583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:49:28] local.INFO: TCP Data received {"connection_id":124583,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4d1b10012d0c49400703c1b8001000ee24..."} 
[2026-07-07 16:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4d1b10012d0c49400703c1b8001000ee24..."} 
[2026-07-07 16:49:28] local.INFO: Processing buffer {"connection_id":124583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4d1b10012d0c49400703c1b8001000ee24..."} 
[2026-07-07 16:49:28] local.INFO: Packet analysis {"connection_id":124583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4d"} 
[2026-07-07 16:49:28] local.INFO: Extracted packet for processing {"connection_id":124583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4d"} 
[2026-07-07 16:49:28] local.INFO: GPS Element Parsed {"raw_longitude":755779904,"raw_latitude":117686712,"longitude_deg":75.5779904,"latitude_deg":11.7686712,"altitude":16,"angle":238,"satellites":36,"speed":25,"hex_longitude":"2d0c4940","hex_latitude":"0703c1b8","is_valid_coordinates":true} 
[2026-07-07 16:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556316928001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23467409247567872,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885942519324669952,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 16:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783423114000,"timestamp_ms":1783423114000,"timestamp_seconds":1783423114,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4d1b10"} 
[2026-07-07 16:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 16:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556316928001,"66":14428,"16":23467409247567872,"94":11008,"24":25,"45":885942519324669952},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 16:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556316928001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23467409247567872,"km_value":23467409247567.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:49:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 16:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":885942519324669952,"description":"Unknown IO ID 45"} 
[2026-07-07 16:49:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456556316928001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":25,"unknown_45":885942519324669952}} 
[2026-07-07 16:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":124583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446568,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:49:28] local.INFO: GPS data processed {"connection_id":124583,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:49:28] local.INFO: Acknowledgment sent {"connection_id":124583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:49:31] local.INFO: TCP Data received {"connection_id":125392,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:49:31] local.INFO: Processing buffer {"connection_id":125392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:49:31] local.INFO: IMEI packet received {"connection_id":125392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":125392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:49:36] local.INFO: TCP Data received {"connection_id":125392,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:49:36] local.INFO: Processing buffer {"connection_id":125392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:49:36] local.INFO: IMEI packet received {"connection_id":125392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":125392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:49:37] local.INFO: TCP Data received {"connection_id":125392,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:49:37] local.INFO: Processing buffer {"connection_id":125392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:49:37] local.INFO: Packet analysis {"connection_id":125392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:49:37] local.INFO: Extracted packet for processing {"connection_id":125392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 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-07-07 16:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556219904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799541115979575296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783423035000,"timestamp_ms":1783423035000,"timestamp_seconds":1783423035,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4be678"} 
[2026-07-07 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-07-07 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 16:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 16:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556219904001,"66":13048,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799541115979575296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556219904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:49:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799541115979575296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556219904001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799541115979575296}} 
[2026-07-07 16:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":125392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:49:37] local.INFO: GPS data processed {"connection_id":125392,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:49:37] local.INFO: Acknowledgment sent {"connection_id":125392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:49:40] local.INFO: TCP Data received {"connection_id":125391,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4c82b8012d16f600072270200084001e21..."} 
[2026-07-07 16:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4c82b8012d16f600072270200084001e21..."} 
[2026-07-07 16:49:40] local.INFO: Processing buffer {"connection_id":125391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4c82b8012d16f600072270200084001e21..."} 
[2026-07-07 16:49:40] local.INFO: Packet analysis {"connection_id":125391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4c"} 
[2026-07-07 16:49:40] local.INFO: Extracted packet for processing {"connection_id":125391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4c"} 
[2026-07-07 16:49:40] local.INFO: GPS Element Parsed {"raw_longitude":756479488,"raw_latitude":119697440,"longitude_deg":75.6479488,"latitude_deg":11.969744,"altitude":132,"angle":30,"satellites":33,"speed":0,"hex_longitude":"2d16f600","hex_latitude":"07227020","is_valid_coordinates":true} 
[2026-07-07 16:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556302080001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690529488994304,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654509943747780608,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783423075000,"timestamp_ms":1783423075000,"timestamp_seconds":1783423075,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4c82b8"} 
[2026-07-07 16:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-07 16:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556302080001,"66":14461,"71":206,"28":31744,"24":0,"16":4690529488994304,"45":1654509943747780608},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556302080001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:49:40] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:49:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690529488994304,"km_value":4690529488994.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654509943747780608,"description":"Unknown IO ID 45"} 
[2026-07-07 16:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556302080001,"power":14461,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1654509943747780608}} 
[2026-07-07 16:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":125391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:49:40] local.INFO: GPS data processed {"connection_id":125391,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:49:40] local.INFO: Acknowledgment sent {"connection_id":125391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:49:46] local.INFO: TCP Data received {"connection_id":124583,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4d22e0012d0c43c00703bfc8001000fa23..."} 
[2026-07-07 16:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4d22e0012d0c43c00703bfc8001000fa23..."} 
[2026-07-07 16:49:46] local.INFO: Processing buffer {"connection_id":124583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4d22e0012d0c43c00703bfc8001000fa23..."} 
[2026-07-07 16:49:46] local.INFO: Packet analysis {"connection_id":124583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4d"} 
[2026-07-07 16:49:46] local.INFO: Extracted packet for processing {"connection_id":124583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4d"} 
[2026-07-07 16:49:46] local.INFO: GPS Element Parsed {"raw_longitude":755778496,"raw_latitude":117686216,"longitude_deg":75.5778496,"latitude_deg":11.7686216,"altitude":16,"angle":250,"satellites":35,"speed":28,"hex_longitude":"2d0c43c0","hex_latitude":"0703bfc8","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556317184001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23467482262011904,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885309200626989056,"note":"Value kept but may cause issues"} 
[2026-07-07 16:49:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 16:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783423116000,"timestamp_ms":1783423116000,"timestamp_seconds":1783423116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4d22e0"} 
[2026-07-07 16:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:49: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-07-07 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 16:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556317184001,"66":14167,"16":23467482262011904,"94":11008,"24":28,"45":885309200626989056},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 16:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556317184001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23467482262011904,"km_value":23467482262011.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:49:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 16:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":885309200626989056,"description":"Unknown IO ID 45"} 
[2026-07-07 16:49:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456556317184001,"power":14167,"odometer":null,"unknown_94":11008,"ignition":28,"unknown_45":885309200626989056}} 
[2026-07-07 16:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":124583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446571,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:49:46] local.INFO: GPS data processed {"connection_id":124583,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:49:46] local.INFO: Acknowledgment sent {"connection_id":124583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:49:59] local.INFO: TCP Data received {"connection_id":126645,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:49:59] local.INFO: Processing buffer {"connection_id":126645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:49:59] local.INFO: IMEI packet received {"connection_id":126645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":126645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:50:02] local.INFO: TCP Data received {"connection_id":126647,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:50:02] local.INFO: Processing buffer {"connection_id":126647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:50:02] local.INFO: IMEI packet received {"connection_id":126647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":126647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:50:04] local.INFO: TCP Data received {"connection_id":126645,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:50:04] local.INFO: Processing buffer {"connection_id":126645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:50:04] local.INFO: IMEI packet received {"connection_id":126645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":126645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:50:08] local.INFO: TCP Data received {"connection_id":126647,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:50:08] local.INFO: Processing buffer {"connection_id":126647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:50:08] local.INFO: IMEI packet received {"connection_id":126647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":126647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:50:09] local.INFO: TCP Data received {"connection_id":126647,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4cccf0012d16f600072270200084001e21..."} 
[2026-07-07 16:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4cccf0012d16f600072270200084001e21..."} 
[2026-07-07 16:50:09] local.INFO: Processing buffer {"connection_id":126647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4cccf0012d16f600072270200084001e21..."} 
[2026-07-07 16:50:09] local.INFO: Packet analysis {"connection_id":126647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4c"} 
[2026-07-07 16:50:09] local.INFO: Extracted packet for processing {"connection_id":126647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4c"} 
[2026-07-07 16:50:09] local.INFO: GPS Element Parsed {"raw_longitude":756479488,"raw_latitude":119697440,"longitude_deg":75.6479488,"latitude_deg":11.969744,"altitude":132,"angle":30,"satellites":33,"speed":0,"hex_longitude":"2d16f600","hex_latitude":"07227020","is_valid_coordinates":true} 
[2026-07-07 16:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556307200001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690529488994304,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654509943747780608,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783423094000,"timestamp_ms":1783423094000,"timestamp_seconds":1783423094,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4cccf0"} 
[2026-07-07 16:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 16:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556307200001,"66":13928,"71":206,"28":31744,"24":0,"16":4690529488994304,"45":1654509943747780608},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556307200001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:50:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:50:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690529488994304,"km_value":4690529488994.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654509943747780608,"description":"Unknown IO ID 45"} 
[2026-07-07 16:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556307200001,"power":13928,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1654509943747780608}} 
[2026-07-07 16:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":126647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:50:09] local.INFO: GPS data processed {"connection_id":126647,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:50:09] local.INFO: Acknowledgment sent {"connection_id":126647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:50:10] local.INFO: TCP Data received {"connection_id":125392,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:50:10] local.INFO: Processing buffer {"connection_id":125392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:50:10] local.INFO: Packet analysis {"connection_id":125392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:50:10] local.INFO: Extracted packet for processing {"connection_id":125392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:50:10] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556219904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799541115979575296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783423035000,"timestamp_ms":1783423035000,"timestamp_seconds":1783423035,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4be678"} 
[2026-07-07 16:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 16:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556219904001,"66":13048,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799541115979575296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556219904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:50:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799541115979575296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556219904001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799541115979575296}} 
[2026-07-07 16:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":125392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:50:10] local.INFO: GPS data processed {"connection_id":125392,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:50:10] local.INFO: Acknowledgment sent {"connection_id":125392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:50:15] local.INFO: TCP Data received {"connection_id":124584,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124584,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:50:15] local.INFO: Processing buffer {"connection_id":124584,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:50:15] local.INFO: IMEI packet received {"connection_id":124584,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":124584,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:50:16] local.INFO: TCP Data received {"connection_id":126645,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4b9858012dbfc7c00541a810003300952d..."} 
[2026-07-07 16:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4b9858012dbfc7c00541a810003300952d..."} 
[2026-07-07 16:50:16] local.INFO: Processing buffer {"connection_id":126645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4b9858012dbfc7c00541a810003300952d..."} 
[2026-07-07 16:50:16] local.INFO: Packet analysis {"connection_id":126645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:50:16] local.INFO: Extracted packet for processing {"connection_id":126645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:50:16] local.INFO: GPS Element Parsed {"raw_longitude":767543232,"raw_latitude":88188944,"longitude_deg":76.7543232,"latitude_deg":8.8188944,"altitude":51,"angle":149,"satellites":45,"speed":15,"hex_longitude":"2dbfc7c0","hex_latitude":"0541a810","is_valid_coordinates":true} 
[2026-07-07 16:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556291328001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341625675863556096,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4628011544500082688,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783423015000,"timestamp_ms":1783423015000,"timestamp_seconds":1783423015,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4b9858"} 
[2026-07-07 16:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 16:50: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-07-07 16:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556291328001,"66":27865,"97":206,"84":5376,"24":15,"16":341625675863556096,"45":-4628011544500082688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556291328001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:50:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:50:16] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341625675863556096,"km_value":341625675863556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4628011544500082688,"description":"Unknown IO ID 45"} 
[2026-07-07 16:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556291328001,"power":27865,"unknown_97":206,"unknown_84":5376,"ignition":15,"odometer":null,"unknown_45":-4628011544500082688}} 
[2026-07-07 16:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":126645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:50:16] local.INFO: GPS data processed {"connection_id":126645,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:50:16] local.INFO: Acknowledgment sent {"connection_id":126645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:50:18] local.INFO: TCP Data received {"connection_id":126645,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4bdac0012dbfdc80054189c0003400932b..."} 
[2026-07-07 16:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4bdac0012dbfdc80054189c0003400932b..."} 
[2026-07-07 16:50:18] local.INFO: Processing buffer {"connection_id":126645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4bdac0012dbfdc80054189c0003400932b..."} 
[2026-07-07 16:50:18] local.INFO: Packet analysis {"connection_id":126645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:50:18] local.INFO: Extracted packet for processing {"connection_id":126645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:50:18] local.INFO: GPS Element Parsed {"raw_longitude":767548544,"raw_latitude":88181184,"longitude_deg":76.7548544,"latitude_deg":8.8181184,"altitude":52,"angle":147,"satellites":43,"speed":23,"hex_longitude":"2dbfdc80","hex_latitude":"054189c0","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556291840001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341626131130089472,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4627518963290992640,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783423032000,"timestamp_ms":1783423032000,"timestamp_seconds":1783423032,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4bdac0"} 
[2026-07-07 16:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:50: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-07-07 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 16:50: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-07-07 16: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-07-07 16:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":126645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":126645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":126645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556291840001,"66":27995,"97":206,"84":5376,"24":23,"16":341626131130089472,"45":-4627518963290992640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-07 16:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556291840001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:50:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:50:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341626131130089472,"km_value":341626131130089.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4627518963290992640,"description":"Unknown IO ID 45"} 
[2026-07-07 16:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556291840001,"power":27995,"unknown_97":206,"unknown_84":5376,"ignition":23,"odometer":null,"unknown_45":-4627518963290992640}} 
[2026-07-07 16:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":126645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:50:18] local.INFO: GPS data processed {"connection_id":126645,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:50:18] local.INFO: Acknowledgment sent {"connection_id":126645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:50:18] local.INFO: TCP Data received {"connection_id":124584,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124584,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:50:18] local.INFO: Processing buffer {"connection_id":124584,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:50:18] local.INFO: IMEI packet received {"connection_id":124584,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":124584,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:50:19] local.INFO: TCP Data received {"connection_id":124584,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4d6548012d0c24000703b158001300ee22..."} 
[2026-07-07 16:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4d6548012d0c24000703b158001300ee22..."} 
[2026-07-07 16:50:19] local.INFO: Processing buffer {"connection_id":124584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4d6548012d0c24000703b158001300ee22..."} 
[2026-07-07 16:50:19] local.INFO: Packet analysis {"connection_id":124584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4d"} 
[2026-07-07 16:50:19] local.INFO: Extracted packet for processing {"connection_id":124584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4d"} 
[2026-07-07 16:50:19] local.INFO: GPS Element Parsed {"raw_longitude":755770368,"raw_latitude":117682520,"longitude_deg":75.5770368,"latitude_deg":11.768252,"altitude":19,"angle":238,"satellites":34,"speed":21,"hex_longitude":"2d0c2400","hex_latitude":"0703b158","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556317696001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23467907463774208,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883761088254953472,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 16:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783423133000,"timestamp_ms":1783423133000,"timestamp_seconds":1783423133,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4d6548"} 
[2026-07-07 16:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-07-07 16:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556317696001,"66":14070,"16":23467907463774208,"94":11008,"24":21,"45":883761088254953472},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 16:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556317696001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23467907463774208,"km_value":23467907463774.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:50:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 16:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":883761088254953472,"description":"Unknown IO ID 45"} 
[2026-07-07 16:50:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456556317696001,"power":14070,"odometer":null,"unknown_94":11008,"ignition":21,"unknown_45":883761088254953472}} 
[2026-07-07 16:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":124584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446576,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:50:19] local.INFO: GPS data processed {"connection_id":124584,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:50:19] local.INFO: Acknowledgment sent {"connection_id":124584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:50:20] local.INFO: TCP Data received {"connection_id":124584,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4d74e8012d0c1c400703ab68001200e022..."} 
[2026-07-07 16:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4d74e8012d0c1c400703ab68001200e022..."} 
[2026-07-07 16:50:20] local.INFO: Processing buffer {"connection_id":124584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4d74e8012d0c1c400703ab68001200e022..."} 
[2026-07-07 16:50:20] local.INFO: Packet analysis {"connection_id":124584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4d"} 
[2026-07-07 16:50:20] local.INFO: Extracted packet for processing {"connection_id":124584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4d"} 
[2026-07-07 16:50:20] local.INFO: GPS Element Parsed {"raw_longitude":755768384,"raw_latitude":117681000,"longitude_deg":75.5768384,"latitude_deg":11.7681,"altitude":18,"angle":224,"satellites":34,"speed":25,"hex_longitude":"2d0c1c40","hex_latitude":"0703ab68","is_valid_coordinates":true} 
[2026-07-07 16:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556322048001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23468027722858496,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874824257743443968,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 16:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783423137000,"timestamp_ms":1783423137000,"timestamp_seconds":1783423137,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4d74e8"} 
[2026-07-07 16:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-07 16:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556322048001,"66":14428,"16":23468027722858496,"94":11008,"24":25,"45":874824257743443968},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-07 16:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556322048001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23468027722858496,"km_value":23468027722858.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:50:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 16:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":874824257743443968,"description":"Unknown IO ID 45"} 
[2026-07-07 16:50:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456556322048001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":25,"unknown_45":874824257743443968}} 
[2026-07-07 16:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":124584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446577,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:50:21] local.INFO: GPS data processed {"connection_id":124584,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:50:21] local.INFO: Acknowledgment sent {"connection_id":124584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:50:31] local.INFO: TCP Data received {"connection_id":125393,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:50:31] local.INFO: Processing buffer {"connection_id":125393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:50:31] local.INFO: IMEI packet received {"connection_id":125393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":125393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:50:36] local.INFO: TCP Data received {"connection_id":125393,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:50:36] local.INFO: Processing buffer {"connection_id":125393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:50:36] local.INFO: IMEI packet received {"connection_id":125393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":125393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:50:39] local.INFO: TCP Data received {"connection_id":125393,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:50:39] local.INFO: Processing buffer {"connection_id":125393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:50:39] local.INFO: Packet analysis {"connection_id":125393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:50:39] local.INFO: Extracted packet for processing {"connection_id":125393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:50:39] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556219904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799541115979575296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783423035000,"timestamp_ms":1783423035000,"timestamp_seconds":1783423035,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4be678"} 
[2026-07-07 16:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 16:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556219904001,"66":13048,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799541115979575296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556219904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:50:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799541115979575296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556219904001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799541115979575296}} 
[2026-07-07 16:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":125393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:50:39] local.INFO: GPS data processed {"connection_id":125393,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:50:39] local.INFO: Acknowledgment sent {"connection_id":125393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:50:40] local.INFO: TCP Data received {"connection_id":126647,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4d1728012d16f600072270200084001e22..."} 
[2026-07-07 16:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4d1728012d16f600072270200084001e22..."} 
[2026-07-07 16:50:40] local.INFO: Processing buffer {"connection_id":126647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4d1728012d16f600072270200084001e22..."} 
[2026-07-07 16:50:40] local.INFO: Packet analysis {"connection_id":126647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4d"} 
[2026-07-07 16:50:40] local.INFO: Extracted packet for processing {"connection_id":126647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4d"} 
[2026-07-07 16:50:40] local.INFO: GPS Element Parsed {"raw_longitude":756479488,"raw_latitude":119697440,"longitude_deg":75.6479488,"latitude_deg":11.969744,"altitude":132,"angle":30,"satellites":34,"speed":0,"hex_longitude":"2d16f600","hex_latitude":"07227020","is_valid_coordinates":true} 
[2026-07-07 16:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556312064001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690529488994304,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654509943747780608,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783423113000,"timestamp_ms":1783423113000,"timestamp_seconds":1783423113,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4d1728"} 
[2026-07-07 16:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-07 16:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556312064001,"66":14396,"71":206,"28":31744,"24":0,"16":4690529488994304,"45":1654509943747780608},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556312064001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:50:40] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:50:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690529488994304,"km_value":4690529488994.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654509943747780608,"description":"Unknown IO ID 45"} 
[2026-07-07 16:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556312064001,"power":14396,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1654509943747780608}} 
[2026-07-07 16:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":126647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:50:41] local.INFO: GPS data processed {"connection_id":126647,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:50:41] local.INFO: Acknowledgment sent {"connection_id":126647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:50:42] local.INFO: TCP Data received {"connection_id":125393,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:50:42] local.INFO: Processing buffer {"connection_id":125393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:50:42] local.INFO: Packet analysis {"connection_id":125393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:50:42] local.INFO: Extracted packet for processing {"connection_id":125393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:50:42] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556219904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799541115979575296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783423035000,"timestamp_ms":1783423035000,"timestamp_seconds":1783423035,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4be678"} 
[2026-07-07 16:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16: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":237,"data_length":795,"current_offset":136} 
[2026-07-07 16:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:50: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-07-07 16:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556219904001,"66":13048,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799541115979575296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556219904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:50:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799541115979575296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556219904001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799541115979575296}} 
[2026-07-07 16:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":125393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:50:43] local.INFO: GPS data processed {"connection_id":125393,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:50:43] local.INFO: Acknowledgment sent {"connection_id":125393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:50:51] local.INFO: TCP Data received {"connection_id":124584,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4f2298012d0c2b000702acc8001500c224..."} 
[2026-07-07 16:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4f2298012d0c2b000702acc8001500c224..."} 
[2026-07-07 16:50:51] local.INFO: Processing buffer {"connection_id":124584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4f2298012d0c2b000702acc8001500c224..."} 
[2026-07-07 16:50:51] local.INFO: Packet analysis {"connection_id":124584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4f"} 
[2026-07-07 16:50:51] local.INFO: Extracted packet for processing {"connection_id":124584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4f"} 
[2026-07-07 16:50:51] local.INFO: GPS Element Parsed {"raw_longitude":755772160,"raw_latitude":117615816,"longitude_deg":75.577216,"latitude_deg":11.7615816,"altitude":21,"angle":194,"satellites":36,"speed":4,"hex_longitude":"2d0c2b00","hex_latitude":"0702acc8","is_valid_coordinates":true} 
[2026-07-07 16:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556350976001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23471334847676416,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876794582563371008,"note":"Value kept but may cause issues"} 
[2026-07-07 16:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783423247000,"timestamp_ms":1783423247000,"timestamp_seconds":1783423247,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4f2298"} 
[2026-07-07 16:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:50: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-07-07 16:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-07 16:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":124584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":124584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":124584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556350976001,"66":14352,"37":206,"94":11008,"24":4,"16":23471334847676416,"45":876794582563371008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 16:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556350976001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:50:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 16:50:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 16:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23471334847676416,"km_value":23471334847676.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":876794582563371008,"description":"Unknown IO ID 45"} 
[2026-07-07 16:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556350976001,"power":14352,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":876794582563371008}} 
[2026-07-07 16:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":124584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446581,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:50:52] local.INFO: GPS data processed {"connection_id":124584,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:50:52] local.INFO: Acknowledgment sent {"connection_id":124584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:51:02] local.INFO: TCP Data received {"connection_id":126649,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:51:02] local.INFO: Processing buffer {"connection_id":126649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:51:02] local.INFO: IMEI packet received {"connection_id":126649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":126649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:51:07] local.INFO: TCP Data received {"connection_id":126649,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:51:07] local.INFO: Processing buffer {"connection_id":126649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:51:07] local.INFO: IMEI packet received {"connection_id":126649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":126649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:51:08] local.INFO: TCP Data received {"connection_id":126649,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4d5d78012d16f58007226e90008400da21..."} 
[2026-07-07 16:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4d5d78012d16f58007226e90008400da21..."} 
[2026-07-07 16:51:08] local.INFO: Processing buffer {"connection_id":126649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4d5d78012d16f58007226e90008400da21..."} 
[2026-07-07 16:51:08] local.INFO: Packet analysis {"connection_id":126649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4d"} 
[2026-07-07 16:51:08] local.INFO: Extracted packet for processing {"connection_id":126649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4d"} 
[2026-07-07 16:51:08] local.INFO: GPS Element Parsed {"raw_longitude":756479360,"raw_latitude":119697040,"longitude_deg":75.647936,"latitude_deg":11.969704,"altitude":132,"angle":218,"satellites":33,"speed":2,"hex_longitude":"2d16f580","hex_latitude":"07226e90","is_valid_coordinates":true} 
[2026-07-07 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-07-07 16:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556316928001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690550963830784,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654509943747780608,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783423131000,"timestamp_ms":1783423131000,"timestamp_seconds":1783423131,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4d5d78"} 
[2026-07-07 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-07-07 16:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 16:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 16:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556316928001,"66":13091,"71":206,"28":31744,"24":2,"16":4690550963830784,"45":1654509943747780608},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556316928001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:51:08] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:51:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690550963830784,"km_value":4690550963830.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654509943747780608,"description":"Unknown IO ID 45"} 
[2026-07-07 16:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556316928001,"power":13091,"unknown_71":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1654509943747780608}} 
[2026-07-07 16:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":126649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:51:08] local.INFO: GPS data processed {"connection_id":126649,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:51:08] local.INFO: Acknowledgment sent {"connection_id":126649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:51:09] local.INFO: TCP Data received {"connection_id":126650,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:51:09] local.INFO: Processing buffer {"connection_id":126650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:51:09] local.INFO: IMEI packet received {"connection_id":126650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":126650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:51:10] local.INFO: TCP Data received {"connection_id":126650,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:51:10] local.INFO: Processing buffer {"connection_id":126650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:51:10] local.INFO: IMEI packet received {"connection_id":126650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":126650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:51:10] local.INFO: TCP Data received {"connection_id":126650,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:51:10] local.INFO: Processing buffer {"connection_id":126650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:51:10] local.INFO: IMEI packet received {"connection_id":126650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":126650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:51:12] local.INFO: TCP Data received {"connection_id":126650,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:51:12] local.INFO: Processing buffer {"connection_id":126650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:51:12] local.INFO: IMEI packet received {"connection_id":126650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":126650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:51:20] local.INFO: TCP Data received {"connection_id":124667,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:51:20] local.INFO: Processing buffer {"connection_id":124667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:51:20] local.INFO: IMEI packet received {"connection_id":124667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":124667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:51:21] local.INFO: TCP Data received {"connection_id":126650,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4f2680012d0c2ac00702ac50001500cd24..."} 
[2026-07-07 16:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4f2680012d0c2ac00702ac50001500cd24..."} 
[2026-07-07 16:51:21] local.INFO: Processing buffer {"connection_id":126650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4f2680012d0c2ac00702ac50001500cd24..."} 
[2026-07-07 16:51:21] local.INFO: Packet analysis {"connection_id":126650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4f"} 
[2026-07-07 16:51:21] local.INFO: Extracted packet for processing {"connection_id":126650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4f"} 
[2026-07-07 16:51:21] local.INFO: GPS Element Parsed {"raw_longitude":755772096,"raw_latitude":117615696,"longitude_deg":75.5772096,"latitude_deg":11.7615696,"altitude":21,"angle":205,"satellites":36,"speed":4,"hex_longitude":"2d0c2ac0","hex_latitude":"0702ac50","is_valid_coordinates":true} 
[2026-07-07 16:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556351232001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23471343437611008,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876794582563342336,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783423248000,"timestamp_ms":1783423248000,"timestamp_seconds":1783423248,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4f2680"} 
[2026-07-07 16:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142528,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":64,"raw_value":84737171793576804,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":98,"raw_value":2600468480,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503957742813184,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639226070195729,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1529151694,"corrected_to":0} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3221685019,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3941419060307712,"corrected_to":0} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":12,"raw_value":252209290538909710,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,37,94,24,241,157,16,99,159,30,45,173,21,36,10,66,208,64,182,98,192,1,240,201,227,60,2,4,113,205,31,87,14,200,239,56,83,7,12,40,206],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1529151694,"validated":0},{"io_id":200,"original":3941419060307712,"validated":0}]} 
[2026-07-07 16:51:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513422934671360000,"timestamp_seconds":1513422934671360,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556351232001,"66":14352,"37":206,"94":11008,"24":4,"16":23471343437611008,"45":876794582563342336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 16:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556351232001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:51:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 16:51:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 16:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23471343437611008,"km_value":23471343437611.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":876794582563342336,"description":"Unknown IO ID 45"} 
[2026-07-07 16:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556351232001,"power":14352,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":876794582563342336}} 
[2026-07-07 16:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":126650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446583,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:51:21] local.INFO: GPS data processed {"connection_id":126650,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:51:21] local.INFO: Acknowledgment sent {"connection_id":126650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:51:21] local.INFO: TCP Data received {"connection_id":126650,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4f2a68012d0c2a800702abd8001500df23..."} 
[2026-07-07 16:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4f2a68012d0c2a800702abd8001500df23..."} 
[2026-07-07 16:51:21] local.INFO: Processing buffer {"connection_id":126650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4f2a68012d0c2a800702abd8001500df23..."} 
[2026-07-07 16:51:21] local.INFO: Packet analysis {"connection_id":126650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4f"} 
[2026-07-07 16:51:21] local.INFO: Extracted packet for processing {"connection_id":126650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4f"} 
[2026-07-07 16:51:21] local.INFO: GPS Element Parsed {"raw_longitude":755772032,"raw_latitude":117615576,"longitude_deg":75.5772032,"latitude_deg":11.7615576,"altitude":21,"angle":223,"satellites":35,"speed":6,"hex_longitude":"2d0c2a80","hex_latitude":"0702abd8","is_valid_coordinates":true} 
[2026-07-07 16:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556351488001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23471352027545600,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876724213819133952,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783423249000,"timestamp_ms":1783423249000,"timestamp_seconds":1783423249,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4f2a68"} 
[2026-07-07 16:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142272,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503957749694464,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":98,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264508945,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5476641033972678912,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1529151694,"corrected_to":0} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84737194342155071,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3378426140436480,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.WARNING: Large IO value detected {"io_id":12,"raw_value":162137297742462990,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:21] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,37,94,24,241,157,16,99,159,34,45,172,21,36,10,66,30,173,208,64,1,240,201,227,98,60,2,4,113,205,130,22,8,35,239,56,83,7,11,206,104,80,12],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1529151694,"validated":0}]} 
[2026-07-07 16:51:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513435029299265536,"timestamp_seconds":1513435029299265.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556351488001,"66":14352,"37":206,"94":11008,"24":6,"16":23471352027545600,"45":876724213819133952},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 16:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556351488001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:51:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 16:51:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 16:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23471352027545600,"km_value":23471352027545.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":876724213819133952,"description":"Unknown IO ID 45"} 
[2026-07-07 16:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556351488001,"power":14352,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":876724213819133952}} 
[2026-07-07 16:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":126650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446584,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:51:22] local.INFO: GPS data processed {"connection_id":126650,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:51:22] local.INFO: Acknowledgment sent {"connection_id":126650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:51:26] local.INFO: TCP Data received {"connection_id":124668,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:51:26] local.INFO: Processing buffer {"connection_id":124668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:51:26] local.INFO: IMEI packet received {"connection_id":124668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":124668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:51:31] local.INFO: TCP Data received {"connection_id":124668,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:51:31] local.INFO: Processing buffer {"connection_id":124668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:51:31] local.INFO: IMEI packet received {"connection_id":124668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":124668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:51:32] local.INFO: TCP Data received {"connection_id":124667,"ip":"42.106.6.36","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 16:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124667,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 16:51:32] local.INFO: Processing buffer {"connection_id":124667,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 16:51:32] local.INFO: IMEI packet received {"connection_id":124667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":124667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:51:32] local.INFO: TCP Data received {"connection_id":124668,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:51:32] local.INFO: Processing buffer {"connection_id":124668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:51:32] local.INFO: Packet analysis {"connection_id":124668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:51:32] local.INFO: Extracted packet for processing {"connection_id":124668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:51:32] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556219904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799541115979575296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783423035000,"timestamp_ms":1783423035000,"timestamp_seconds":1783423035,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4be678"} 
[2026-07-07 16:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 16:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:51: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-07-07 16:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556219904001,"66":13048,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799541115979575296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556219904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:51:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799541115979575296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556219904001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799541115979575296}} 
[2026-07-07 16:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":124668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:51:32] local.INFO: GPS data processed {"connection_id":124668,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:51:32] local.INFO: Acknowledgment sent {"connection_id":124668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:51:40] local.INFO: TCP Data received {"connection_id":126649,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4f2298012d16eb40072262e0008800fc20..."} 
[2026-07-07 16:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4f2298012d16eb40072262e0008800fc20..."} 
[2026-07-07 16:51:40] local.INFO: Processing buffer {"connection_id":126649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4f2298012d16eb40072262e0008800fc20..."} 
[2026-07-07 16:51:40] local.INFO: Packet analysis {"connection_id":126649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4f"} 
[2026-07-07 16:51:40] local.INFO: Extracted packet for processing {"connection_id":126649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4f"} 
[2026-07-07 16:51:40] local.INFO: GPS Element Parsed {"raw_longitude":756476736,"raw_latitude":119694048,"longitude_deg":75.6476736,"latitude_deg":11.9694048,"altitude":136,"angle":252,"satellites":32,"speed":12,"hex_longitude":"2d16eb40","hex_latitude":"072262e0","is_valid_coordinates":true} 
[2026-07-07 16:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556349952001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690774302130176,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1652398881421690880,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783423247000,"timestamp_ms":1783423247000,"timestamp_seconds":1783423247,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4f2298"} 
[2026-07-07 16:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 16:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556349952001,"66":14048,"71":206,"28":31744,"24":12,"16":4690774302130176,"45":1652398881421690880},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556349952001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:51:40] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:51:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690774302130176,"km_value":4690774302130.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1652398881421690880,"description":"Unknown IO ID 45"} 
[2026-07-07 16:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556349952001,"power":14048,"unknown_71":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1652398881421690880}} 
[2026-07-07 16:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":126649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:51:40] local.INFO: GPS data processed {"connection_id":126649,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:51:40] local.INFO: Acknowledgment sent {"connection_id":126649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:51:53] local.INFO: TCP Data received {"connection_id":126650,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4f2e50012d0c29c00702ab70001500ec22..."} 
[2026-07-07 16:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4f2e50012d0c29c00702ab70001500ec22..."} 
[2026-07-07 16:51:53] local.INFO: Processing buffer {"connection_id":126650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4f2e50012d0c29c00702ab70001500ec22..."} 
[2026-07-07 16:51:53] local.INFO: Packet analysis {"connection_id":126650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4f"} 
[2026-07-07 16:51:53] local.INFO: Extracted packet for processing {"connection_id":126650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4f"} 
[2026-07-07 16:51:53] local.INFO: GPS Element Parsed {"raw_longitude":755771840,"raw_latitude":117615472,"longitude_deg":75.577184,"latitude_deg":11.7615472,"altitude":21,"angle":236,"satellites":34,"speed":6,"hex_longitude":"2d0c29c0","hex_latitude":"0702ab70","is_valid_coordinates":true} 
[2026-07-07 16:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556351744001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23471360617480192,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876653845074925568,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783423250000,"timestamp_ms":1783423250000,"timestamp_seconds":1783423250,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4f2e50"} 
[2026-07-07 16:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-07 16:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142528,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:53] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503957756772352,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:53] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:53] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639178825554725,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:53] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5476641033972678912,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1529151694,"corrected_to":0} 
[2026-07-07 16:51:53] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3221684945,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:53] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3372272987,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:53] local.WARNING: Large IO value detected {"io_id":12,"raw_value":540439665812963340,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:53] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84737225480667931,"note":"Value kept but may cause issues"} 
[2026-07-07 16:51:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3096955492246016,"corrected_to":0} 
[2026-07-07 16:51:53] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,37,94,24,241,157,16,99,159,38,45,192,172,21,36,10,66,34,30,1,240,201,227,60,2,4,113,205,22,173,29,176,33,239,56,83,7,12,31,206,120,200],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1529151694,"validated":0},{"io_id":200,"original":3096955492246016,"validated":0}]} 
[2026-07-07 16:51:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513454816213729280,"timestamp_seconds":1513454816213729.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":126650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":126650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":126650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556351744001,"66":14428,"37":206,"94":11008,"24":6,"16":23471360617480192,"45":876653845074925568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 16:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556351744001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:51:53] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 16:51:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 16:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23471360617480192,"km_value":23471360617480.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":876653845074925568,"description":"Unknown IO ID 45"} 
[2026-07-07 16:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556351744001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":876653845074925568}} 
[2026-07-07 16:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":126650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446587,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:51:53] local.INFO: GPS data processed {"connection_id":126650,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:51:53] local.INFO: Acknowledgment sent {"connection_id":126650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:52:05] local.INFO: TCP Data received {"connection_id":124668,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:52:05] local.INFO: Processing buffer {"connection_id":124668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4be678012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:52:05] local.INFO: Packet analysis {"connection_id":124668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:52:05] local.INFO: Extracted packet for processing {"connection_id":124668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4b"} 
[2026-07-07 16:52:05] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556219904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799541115979575296,"note":"Value kept but may cause issues"} 
[2026-07-07 16:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783423035000,"timestamp_ms":1783423035000,"timestamp_seconds":1783423035,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4be678"} 
[2026-07-07 16:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 16:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556219904001,"66":13048,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799541115979575296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556219904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:52:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:52:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799541115979575296,"description":"Unknown IO ID 45"} 
[2026-07-07 16:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556219904001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799541115979575296}} 
[2026-07-07 16:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":124668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:52:05] local.INFO: GPS data processed {"connection_id":124668,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:52:05] local.INFO: Acknowledgment sent {"connection_id":124668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:52:07] local.INFO: TCP Data received {"connection_id":124669,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:52:07] local.INFO: Processing buffer {"connection_id":124669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:52:07] local.INFO: IMEI packet received {"connection_id":124669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":124669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:52:10] local.INFO: TCP Data received {"connection_id":124586,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124586,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:52:10] local.INFO: Processing buffer {"connection_id":124586,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:52:10] local.INFO: IMEI packet received {"connection_id":124586,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":124586,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:52:11] local.INFO: TCP Data received {"connection_id":124669,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:52:11] local.INFO: Processing buffer {"connection_id":124669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:52:11] local.INFO: IMEI packet received {"connection_id":124669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":124669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:52:12] local.INFO: TCP Data received {"connection_id":124669,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4f3df0012d16e18007225f28008a00ef20..."} 
[2026-07-07 16:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4f3df0012d16e18007225f28008a00ef20..."} 
[2026-07-07 16:52:12] local.INFO: Processing buffer {"connection_id":124669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4f3df0012d16e18007225f28008a00ef20..."} 
[2026-07-07 16:52:12] local.INFO: Packet analysis {"connection_id":124669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4f"} 
[2026-07-07 16:52:12] local.INFO: Extracted packet for processing {"connection_id":124669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4f"} 
[2026-07-07 16:52:12] local.INFO: GPS Element Parsed {"raw_longitude":756474240,"raw_latitude":119693096,"longitude_deg":75.647424,"latitude_deg":11.9693096,"altitude":138,"angle":239,"satellites":32,"speed":16,"hex_longitude":"2d16e180","hex_latitude":"07225f28","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556351232001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690903151149056,"note":"Value kept but may cause issues"} 
[2026-07-07 16:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1651484087747272704,"note":"Value kept but may cause issues"} 
[2026-07-07 16:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783423254000,"timestamp_ms":1783423254000,"timestamp_seconds":1783423254,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4f3df0"} 
[2026-07-07 16:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 16:52: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-07-07 16: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-07-07 16:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556351232001,"66":14265,"71":206,"28":31744,"24":16,"16":4690903151149056,"45":1651484087747272704},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556351232001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:52:12] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:52:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690903151149056,"km_value":4690903151149.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1651484087747272704,"description":"Unknown IO ID 45"} 
[2026-07-07 16:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556351232001,"power":14265,"unknown_71":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1651484087747272704}} 
[2026-07-07 16:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":124669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:52:12] local.INFO: GPS data processed {"connection_id":124669,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:52:12] local.INFO: Acknowledgment sent {"connection_id":124669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:52:15] local.INFO: TCP Data received {"connection_id":124586,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124586,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:52:15] local.INFO: Processing buffer {"connection_id":124586,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:52:15] local.INFO: IMEI packet received {"connection_id":124586,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":124586,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:52:15] local.INFO: TCP Data received {"connection_id":124586,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c500cf8012d0bfc800702a608001a00ce24..."} 
[2026-07-07 16:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c500cf8012d0bfc800702a608001a00ce24..."} 
[2026-07-07 16:52:15] local.INFO: Processing buffer {"connection_id":124586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c500cf8012d0bfc800702a608001a00ce24..."} 
[2026-07-07 16:52:15] local.INFO: Packet analysis {"connection_id":124586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:52:15] local.INFO: Extracted packet for processing {"connection_id":124586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:52:15] local.INFO: GPS Element Parsed {"raw_longitude":755760256,"raw_latitude":117614088,"longitude_deg":75.5760256,"latitude_deg":11.7614088,"altitude":26,"angle":206,"satellites":36,"speed":5,"hex_longitude":"2d0bfc80","hex_latitude":"0702a608","is_valid_coordinates":true} 
[2026-07-07 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-07-07 16:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556366080001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23471940438065152,"note":"Value kept but may cause issues"} 
[2026-07-07 16:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863917102378440704,"note":"Value kept but may cause issues"} 
[2026-07-07 16:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783423307000,"timestamp_ms":1783423307000,"timestamp_seconds":1783423307,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c500cf8"} 
[2026-07-07 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-07-07 16:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 16:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 16:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556366080001,"66":14396,"37":206,"94":11008,"24":5,"16":23471940438065152,"45":863917102378440704},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 16:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556366080001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:52:15] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 16:52:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 16:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23471940438065152,"km_value":23471940438065.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":863917102378440704,"description":"Unknown IO ID 45"} 
[2026-07-07 16:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556366080001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":863917102378440704}} 
[2026-07-07 16:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":124586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446590,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:52:16] local.INFO: GPS data processed {"connection_id":124586,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:52:16] local.INFO: Acknowledgment sent {"connection_id":124586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:52:23] local.INFO: TCP Data received {"connection_id":126651,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:52:23] local.INFO: Processing buffer {"connection_id":126651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:52:23] local.INFO: IMEI packet received {"connection_id":126651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 16:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":126651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:52:26] local.INFO: TCP Data received {"connection_id":126652,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:52:26] local.INFO: Processing buffer {"connection_id":126652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:52:26] local.INFO: IMEI packet received {"connection_id":126652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":126652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:52:31] local.INFO: TCP Data received {"connection_id":126652,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:52:31] local.INFO: Processing buffer {"connection_id":126652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:52:31] local.INFO: IMEI packet received {"connection_id":126652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":126652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:52:33] local.INFO: TCP Data received {"connection_id":126652,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c506ea0012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c506ea0012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:52:33] local.INFO: Processing buffer {"connection_id":126652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c506ea0012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:52:33] local.INFO: Packet analysis {"connection_id":126652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:52:33] local.INFO: Extracted packet for processing {"connection_id":126652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:52:33] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556296960001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 16:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783423332000,"timestamp_ms":1783423332000,"timestamp_seconds":1783423332,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c506ea0"} 
[2026-07-07 16:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 16:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556296960001,"66":12765,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556296960001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:52:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 16:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556296960001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 16:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":126652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:52:33] local.INFO: GPS data processed {"connection_id":126652,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:52:33] local.INFO: Acknowledgment sent {"connection_id":126652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:52:44] local.INFO: TCP Data received {"connection_id":124669,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4f5560012d16d80007225a10008b00fb20..."} 
[2026-07-07 16:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4f5560012d16d80007225a10008b00fb20..."} 
[2026-07-07 16:52:44] local.INFO: Processing buffer {"connection_id":124669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4f5560012d16d80007225a10008b00fb20..."} 
[2026-07-07 16:52:44] local.INFO: Packet analysis {"connection_id":124669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4f"} 
[2026-07-07 16:52:44] local.INFO: Extracted packet for processing {"connection_id":124669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4f"} 
[2026-07-07 16:52:44] local.INFO: GPS Element Parsed {"raw_longitude":756471808,"raw_latitude":119691792,"longitude_deg":75.6471808,"latitude_deg":11.9691792,"altitude":139,"angle":251,"satellites":32,"speed":19,"hex_longitude":"2d16d800","hex_latitude":"07225a10","is_valid_coordinates":true} 
[2026-07-07 16:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556353024001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4691036295135232,"note":"Value kept but may cause issues"} 
[2026-07-07 16:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1648739706724100096,"note":"Value kept but may cause issues"} 
[2026-07-07 16:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783423260000,"timestamp_ms":1783423260000,"timestamp_seconds":1783423260,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4f5560"} 
[2026-07-07 16:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 16:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556353024001,"66":14243,"71":206,"28":31744,"24":19,"16":4691036295135232,"45":1648739706724100096},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556353024001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:52:44] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:52:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4691036295135232,"km_value":4691036295135.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1648739706724100096,"description":"Unknown IO ID 45"} 
[2026-07-07 16:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556353024001,"power":14243,"unknown_71":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1648739706724100096}} 
[2026-07-07 16:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":124669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:52:44] local.INFO: GPS data processed {"connection_id":124669,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:52:44] local.INFO: Acknowledgment sent {"connection_id":124669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:52:47] local.INFO: TCP Data received {"connection_id":124586,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c502468012d0bfac00702a360001900e024..."} 
[2026-07-07 16:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c502468012d0bfac00702a360001900e024..."} 
[2026-07-07 16:52:47] local.INFO: Processing buffer {"connection_id":124586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c502468012d0bfac00702a360001900e024..."} 
[2026-07-07 16:52:47] local.INFO: Packet analysis {"connection_id":124586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:52:47] local.INFO: Extracted packet for processing {"connection_id":124586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:52:47] local.INFO: GPS Element Parsed {"raw_longitude":755759808,"raw_latitude":117613408,"longitude_deg":75.5759808,"latitude_deg":11.7613408,"altitude":25,"angle":224,"satellites":36,"speed":5,"hex_longitude":"2d0bfac0","hex_latitude":"0702a360","is_valid_coordinates":true} 
[2026-07-07 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-07-07 16:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556366592001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23471979092770816,"note":"Value kept but may cause issues"} 
[2026-07-07 16:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863705996145854464,"note":"Value kept but may cause issues"} 
[2026-07-07 16:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783423313000,"timestamp_ms":1783423313000,"timestamp_seconds":1783423313,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c502468"} 
[2026-07-07 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-07-07 16:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 16:52: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-07-07 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-07-07 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-07-07 16:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556366592001,"66":14396,"37":206,"94":11008,"24":5,"16":23471979092770816,"45":863705996145854464},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 16:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556366592001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:52:47] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 16:52:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 16:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23471979092770816,"km_value":23471979092770.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":863705996145854464,"description":"Unknown IO ID 45"} 
[2026-07-07 16:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556366592001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":863705996145854464}} 
[2026-07-07 16:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":124586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446593,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:52:47] local.INFO: GPS data processed {"connection_id":124586,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:52:47] local.INFO: Acknowledgment sent {"connection_id":124586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:52:58] local.INFO: TCP Data received {"connection_id":125394,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:52:58] local.INFO: Processing buffer {"connection_id":125394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:52:58] local.INFO: IMEI packet received {"connection_id":125394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 16:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":125394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:53:02] local.INFO: TCP Data received {"connection_id":124587,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:53:02] local.INFO: Processing buffer {"connection_id":124587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:53:02] local.INFO: IMEI packet received {"connection_id":124587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":124587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:53:06] local.INFO: TCP Data received {"connection_id":126652,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c507288012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c507288012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:53:06] local.INFO: Processing buffer {"connection_id":126652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c507288012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:53:06] local.INFO: Packet analysis {"connection_id":126652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:53:06] local.INFO: Extracted packet for processing {"connection_id":126652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:53:06] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556372992001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783423333000,"timestamp_ms":1783423333000,"timestamp_seconds":1783423333,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c507288"} 
[2026-07-07 16:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 16:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:53: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-07-07 16:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556372992001,"66":12765,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556372992001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:53:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:53:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 16:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556372992001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 16:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":126652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:53:06] local.INFO: GPS data processed {"connection_id":126652,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:53:06] local.INFO: Acknowledgment sent {"connection_id":126652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:53:07] local.INFO: TCP Data received {"connection_id":124587,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:53:07] local.INFO: Processing buffer {"connection_id":124587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:53:07] local.INFO: IMEI packet received {"connection_id":124587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":124587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:53:08] local.INFO: TCP Data received {"connection_id":124587,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4f6500012d16d0c0072256c8008b00f021..."} 
[2026-07-07 16:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4f6500012d16d0c0072256c8008b00f021..."} 
[2026-07-07 16:53:08] local.INFO: Processing buffer {"connection_id":124587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4f6500012d16d0c0072256c8008b00f021..."} 
[2026-07-07 16:53:08] local.INFO: Packet analysis {"connection_id":124587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4f"} 
[2026-07-07 16:53:08] local.INFO: Extracted packet for processing {"connection_id":124587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4f"} 
[2026-07-07 16:53:08] local.INFO: GPS Element Parsed {"raw_longitude":756469952,"raw_latitude":119690952,"longitude_deg":75.6469952,"latitude_deg":11.9690952,"altitude":139,"angle":240,"satellites":33,"speed":18,"hex_longitude":"2d16d0c0","hex_latitude":"072256c8","is_valid_coordinates":true} 
[2026-07-07 16:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556354560001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4691130784415744,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1646065694445015040,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783423264000,"timestamp_ms":1783423264000,"timestamp_seconds":1783423264,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4f6500"} 
[2026-07-07 16:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-07 16:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556354560001,"66":14298,"71":206,"28":31744,"24":18,"16":4691130784415744,"45":1646065694445015040},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556354560001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:53:08] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:53:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4691130784415744,"km_value":4691130784415.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1646065694445015040,"description":"Unknown IO ID 45"} 
[2026-07-07 16:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556354560001,"power":14298,"unknown_71":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1646065694445015040}} 
[2026-07-07 16:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":124587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:53:08] local.INFO: GPS data processed {"connection_id":124587,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:53:08] local.INFO: Acknowledgment sent {"connection_id":124587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:53:11] local.INFO: TCP Data received {"connection_id":125396,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125396,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:53:11] local.INFO: Processing buffer {"connection_id":125396,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:53:11] local.INFO: IMEI packet received {"connection_id":125396,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":125396,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:53:13] local.INFO: TCP Data received {"connection_id":125396,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125396,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:53:13] local.INFO: Processing buffer {"connection_id":125396,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:53:13] local.INFO: IMEI packet received {"connection_id":125396,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":125396,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:53:15] local.INFO: TCP Data received {"connection_id":125396,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125396,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:53:15] local.INFO: Processing buffer {"connection_id":125396,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:53:15] local.INFO: IMEI packet received {"connection_id":125396,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":125396,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:53:16] local.INFO: TCP Data received {"connection_id":125396,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c510ec8012d0bb7c00702a1500015012d24..."} 
[2026-07-07 16:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c510ec8012d0bb7c00702a1500015012d24..."} 
[2026-07-07 16:53:16] local.INFO: Processing buffer {"connection_id":125396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c510ec8012d0bb7c00702a1500015012d24..."} 
[2026-07-07 16:53:16] local.INFO: Packet analysis {"connection_id":125396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c51"} 
[2026-07-07 16:53:16] local.INFO: Extracted packet for processing {"connection_id":125396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c51"} 
[2026-07-07 16:53:16] local.INFO: GPS Element Parsed {"raw_longitude":755742656,"raw_latitude":117612880,"longitude_deg":75.5742656,"latitude_deg":11.761288,"altitude":21,"angle":301,"satellites":36,"speed":19,"hex_longitude":"2d0bb7c0","hex_latitude":"0702a150","is_valid_coordinates":true} 
[2026-07-07 16:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556382976001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23472825201328128,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":845269385170900992,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783423373000,"timestamp_ms":1783423373000,"timestamp_seconds":1783423373,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c510ec8"} 
[2026-07-07 16:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:53: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-07-07 16: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 16:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125396,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125396,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556382976001,"66":14428,"37":206,"94":11008,"24":19,"16":23472825201328128,"45":845269385170900992},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 16:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556382976001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:53:16] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 16:53:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 16:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23472825201328128,"km_value":23472825201328.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":845269385170900992,"description":"Unknown IO ID 45"} 
[2026-07-07 16:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556382976001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":845269385170900992}} 
[2026-07-07 16:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":125396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446596,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:53:17] local.INFO: GPS data processed {"connection_id":125396,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:53:17] local.INFO: Acknowledgment sent {"connection_id":125396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:53:18] local.INFO: TCP Data received {"connection_id":125396,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c511698012d0bb4800702a3e80014013e24..."} 
[2026-07-07 16:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c511698012d0bb4800702a3e80014013e24..."} 
[2026-07-07 16:53:18] local.INFO: Processing buffer {"connection_id":125396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c511698012d0bb4800702a3e80014013e24..."} 
[2026-07-07 16:53:18] local.INFO: Packet analysis {"connection_id":125396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c51"} 
[2026-07-07 16:53:18] local.INFO: Extracted packet for processing {"connection_id":125396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c51"} 
[2026-07-07 16:53:18] local.INFO: GPS Element Parsed {"raw_longitude":755741824,"raw_latitude":117613544,"longitude_deg":75.5741824,"latitude_deg":11.7613544,"altitude":20,"angle":318,"satellites":36,"speed":22,"hex_longitude":"2d0bb480","hex_latitude":"0702a3e8","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556383488001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23472876740935680,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844354591496687616,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783423375000,"timestamp_ms":1783423375000,"timestamp_seconds":1783423375,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c511698"} 
[2026-07-07 16:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 16:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":125396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":125396,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":125396,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556383488001,"66":14374,"37":206,"94":11008,"24":22,"16":23472876740935680,"45":844354591496687616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-07 16:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556383488001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:53:18] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 16:53:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 16:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23472876740935680,"km_value":23472876740935.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":844354591496687616,"description":"Unknown IO ID 45"} 
[2026-07-07 16:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556383488001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":844354591496687616}} 
[2026-07-07 16:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":125396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446597,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:53:18] local.INFO: GPS data processed {"connection_id":125396,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:53:18] local.INFO: Acknowledgment sent {"connection_id":125396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:53:31] local.INFO: TCP Data received {"connection_id":124588,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:53:31] local.INFO: Processing buffer {"connection_id":124588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:53:31] local.INFO: IMEI packet received {"connection_id":124588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":124588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:53:36] local.INFO: TCP Data received {"connection_id":124588,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:53:36] local.INFO: Processing buffer {"connection_id":124588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:53:36] local.INFO: IMEI packet received {"connection_id":124588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":124588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:53:38] local.INFO: TCP Data received {"connection_id":124588,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:53:38] local.INFO: Processing buffer {"connection_id":124588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:53:38] local.INFO: Packet analysis {"connection_id":124588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:53:38] local.INFO: Extracted packet for processing {"connection_id":124588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:53:38] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 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-07-07 16:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556373248001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783423336000,"timestamp_ms":1783423336000,"timestamp_seconds":1783423336,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c507e40"} 
[2026-07-07 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-07-07 16:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 16:53: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-07-07 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-07-07 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-07-07 16:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556373248001,"66":2557,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556373248001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 16:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556373248001,"power":2557,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 16:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":124588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:53:38] local.INFO: GPS data processed {"connection_id":124588,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:53:38] local.INFO: Acknowledgment sent {"connection_id":124588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:53:39] local.INFO: TCP Data received {"connection_id":124587,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c4f8440012d16c48007224e78008500e322..."} 
[2026-07-07 16:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c4f8440012d16c48007224e78008500e322..."} 
[2026-07-07 16:53:39] local.INFO: Processing buffer {"connection_id":124587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c4f8440012d16c48007224e78008500e322..."} 
[2026-07-07 16:53:39] local.INFO: Packet analysis {"connection_id":124587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c4f"} 
[2026-07-07 16:53:39] local.INFO: Extracted packet for processing {"connection_id":124587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c4f"} 
[2026-07-07 16:53:39] local.INFO: GPS Element Parsed {"raw_longitude":756466816,"raw_latitude":119688824,"longitude_deg":75.6466816,"latitude_deg":11.9688824,"altitude":133,"angle":227,"satellites":34,"speed":16,"hex_longitude":"2d16c480","hex_latitude":"07224e78","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556355584001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4691311173042176,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1644025000863647744,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783423272000,"timestamp_ms":1783423272000,"timestamp_seconds":1783423272,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c4f8440"} 
[2026-07-07 16:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-07 16:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556355584001,"66":13580,"71":206,"28":31744,"24":16,"16":4691311173042176,"45":1644025000863647744},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556355584001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:53:39] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:53:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4691311173042176,"km_value":4691311173042.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1644025000863647744,"description":"Unknown IO ID 45"} 
[2026-07-07 16:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556355584001,"power":13580,"unknown_71":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1644025000863647744}} 
[2026-07-07 16:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":124587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:53:40] local.INFO: GPS data processed {"connection_id":124587,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:53:40] local.INFO: Acknowledgment sent {"connection_id":124587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:53:50] local.INFO: TCP Data received {"connection_id":125396,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c515518012d0bad000702ab780011012624..."} 
[2026-07-07 16:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c515518012d0bad000702ab780011012624..."} 
[2026-07-07 16:53:50] local.INFO: Processing buffer {"connection_id":125396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c515518012d0bad000702ab780011012624..."} 
[2026-07-07 16:53:50] local.INFO: Packet analysis {"connection_id":125396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c51"} 
[2026-07-07 16:53:50] local.INFO: Extracted packet for processing {"connection_id":125396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c51"} 
[2026-07-07 16:53:50] local.INFO: GPS Element Parsed {"raw_longitude":755739904,"raw_latitude":117615480,"longitude_deg":75.5739904,"latitude_deg":11.761548,"altitude":17,"angle":294,"satellites":36,"speed":2,"hex_longitude":"2d0bad00","hex_latitude":"0702ab78","is_valid_coordinates":true} 
[2026-07-07 16:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556384000001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23473009884921856,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843439797822547968,"note":"Value kept but may cause issues"} 
[2026-07-07 16:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783423391000,"timestamp_ms":1783423391000,"timestamp_seconds":1783423391,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c515518"} 
[2026-07-07 16:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 16:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125396,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125396,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556384000001,"66":14352,"17":206,"94":11008,"24":2,"16":23473009884921856,"45":843439797822547968},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 16:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556384000001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:53:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 16:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23473009884921856,"km_value":23473009884921.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":843439797822547968,"description":"Unknown IO ID 45"} 
[2026-07-07 16:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556384000001,"power":14352,"axis_x":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":843439797822547968}} 
[2026-07-07 16:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":125396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446600,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:53:50] local.INFO: GPS data processed {"connection_id":125396,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:53:50] local.INFO: Acknowledgment sent {"connection_id":125396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:54:07] local.INFO: TCP Data received {"connection_id":126654,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:54:07] local.INFO: Processing buffer {"connection_id":126654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:54:07] local.INFO: IMEI packet received {"connection_id":126654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":126654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:54:08] local.INFO: TCP Data received {"connection_id":124670,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:54:08] local.INFO: Processing buffer {"connection_id":124670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:54:08] local.INFO: IMEI packet received {"connection_id":124670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":124670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:54:10] local.INFO: TCP Data received {"connection_id":124670,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:54:10] local.INFO: Processing buffer {"connection_id":124670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:54:10] local.INFO: IMEI packet received {"connection_id":124670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":124670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:54:10] local.INFO: TCP Data received {"connection_id":124588,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:54:10] local.INFO: Processing buffer {"connection_id":124588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:54:10] local.INFO: Packet analysis {"connection_id":124588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:54:10] local.INFO: Extracted packet for processing {"connection_id":124588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:54:10] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556373248001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783423336000,"timestamp_ms":1783423336000,"timestamp_seconds":1783423336,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c507e40"} 
[2026-07-07 16:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16: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":221,"data_length":795,"current_offset":136} 
[2026-07-07 16:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556373248001,"66":2557,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556373248001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:54:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 16:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556373248001,"power":2557,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 16:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":124588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:54:10] local.INFO: GPS data processed {"connection_id":124588,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:54:10] local.INFO: Acknowledgment sent {"connection_id":124588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:54:12] local.INFO: TCP Data received {"connection_id":126654,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:54:12] local.INFO: Processing buffer {"connection_id":126654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:54:12] local.INFO: IMEI packet received {"connection_id":126654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":126654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:54:13] local.INFO: TCP Data received {"connection_id":124670,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:54:13] local.INFO: Processing buffer {"connection_id":124670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:54:13] local.INFO: IMEI packet received {"connection_id":124670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":124670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:54:14] local.INFO: TCP Data received {"connection_id":124670,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5160d0012d0bab800702abc80010011725..."} 
[2026-07-07 16:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5160d0012d0bab800702abc80010011725..."} 
[2026-07-07 16:54:14] local.INFO: Processing buffer {"connection_id":124670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5160d0012d0bab800702abc80010011725..."} 
[2026-07-07 16:54:14] local.INFO: Packet analysis {"connection_id":124670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c51"} 
[2026-07-07 16:54:14] local.INFO: Extracted packet for processing {"connection_id":124670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c51"} 
[2026-07-07 16:54:14] local.INFO: GPS Element Parsed {"raw_longitude":755739520,"raw_latitude":117615560,"longitude_deg":75.573952,"latitude_deg":11.761556,"altitude":16,"angle":279,"satellites":37,"speed":4,"hex_longitude":"2d0bab80","hex_latitude":"0702abc8","is_valid_coordinates":true} 
[2026-07-07 16:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556388096001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23473031359758336,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841328735497713664,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783423394000,"timestamp_ms":1783423394000,"timestamp_seconds":1783423394,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5160d0"} 
[2026-07-07 16:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-07 16:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142528,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2676545596491300874,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:14] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503957787312128,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:14] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:14] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639178825554725,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:14] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5476641033972678912,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1529151694,"corrected_to":0} 
[2026-07-07 16:54:14] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3221302539,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:14] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2147943076,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:14] local.WARNING: Large IO value detected {"io_id":56,"raw_value":7038086219303680,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:14] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84737013953528485,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:14] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-2035619323661254630,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:14] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,17,94,24,241,157,16,100,159,22,45,128,163,20,36,10,66,37,14,192,161,21,6,1,240,229,227,60,2,4,113,205,13,188,207,232,35,239,56,83,7,206,224,11],"length":628,"final_offset":758,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1529151694,"validated":0}]} 
[2026-07-07 16:54:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225302509682294784,"timestamp_seconds":1225302509682294.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 16:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556388096001,"66":14135,"17":206,"94":11008,"24":4,"16":23473031359758336,"45":841328735497713664},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 16:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556388096001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:54:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 16:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23473031359758336,"km_value":23473031359758.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":841328735497713664,"description":"Unknown IO ID 45"} 
[2026-07-07 16:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556388096001,"power":14135,"axis_x":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":841328735497713664}} 
[2026-07-07 16:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":124670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446602,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:54:14] local.INFO: GPS data processed {"connection_id":124670,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:54:14] local.INFO: Acknowledgment sent {"connection_id":124670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:54:15] local.INFO: TCP Data received {"connection_id":126654,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c514190012d169100072205200070008e24..."} 
[2026-07-07 16:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c514190012d169100072205200070008e24..."} 
[2026-07-07 16:54:15] local.INFO: Processing buffer {"connection_id":126654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c514190012d169100072205200070008e24..."} 
[2026-07-07 16:54:15] local.INFO: Packet analysis {"connection_id":126654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c51"} 
[2026-07-07 16:54:15] local.INFO: Extracted packet for processing {"connection_id":126654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c51"} 
[2026-07-07 16:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756453632,"raw_latitude":119670048,"longitude_deg":75.6453632,"latitude_deg":11.9670048,"altitude":112,"angle":142,"satellites":36,"speed":10,"hex_longitude":"2d169100","hex_latitude":"07220520","is_valid_coordinates":true} 
[2026-07-07 16:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556386560001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4692453634342912,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1625940233604696064,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783423386000,"timestamp_ms":1783423386000,"timestamp_seconds":1783423386,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c514190"} 
[2026-07-07 16:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 16:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556386560001,"66":14396,"71":206,"28":31744,"24":10,"16":4692453634342912,"45":1625940233604696064},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556386560001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:54:15] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:54:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4692453634342912,"km_value":4692453634342.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1625940233604696064,"description":"Unknown IO ID 45"} 
[2026-07-07 16:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556386560001,"power":14396,"unknown_71":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1625940233604696064}} 
[2026-07-07 16:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":126654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:54:15] local.INFO: GPS data processed {"connection_id":126654,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:54:15] local.INFO: Acknowledgment sent {"connection_id":126654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:54:16] local.INFO: TCP Data received {"connection_id":126654,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c514960012d169280072203800070008324..."} 
[2026-07-07 16:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c514960012d169280072203800070008324..."} 
[2026-07-07 16:54:16] local.INFO: Processing buffer {"connection_id":126654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c514960012d169280072203800070008324..."} 
[2026-07-07 16:54:16] local.INFO: Packet analysis {"connection_id":126654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c51"} 
[2026-07-07 16:54:16] local.INFO: Extracted packet for processing {"connection_id":126654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c51"} 
[2026-07-07 16:54:16] local.INFO: GPS Element Parsed {"raw_longitude":756454016,"raw_latitude":119669632,"longitude_deg":75.6454016,"latitude_deg":11.9669632,"altitude":112,"angle":131,"satellites":36,"speed":12,"hex_longitude":"2d169280","hex_latitude":"07220380","is_valid_coordinates":true} 
[2026-07-07 16:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556386816001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4692479404146688,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1626080971092992000,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783423388000,"timestamp_ms":1783423388000,"timestamp_seconds":1783423388,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c514960"} 
[2026-07-07 16:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 16:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556386816001,"66":14276,"71":206,"28":31744,"24":12,"16":4692479404146688,"45":1626080971092992000},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556386816001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:54:16] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:54:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4692479404146688,"km_value":4692479404146.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1626080971092992000,"description":"Unknown IO ID 45"} 
[2026-07-07 16:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556386816001,"power":14276,"unknown_71":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1626080971092992000}} 
[2026-07-07 16:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":126654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:54:16] local.INFO: GPS data processed {"connection_id":126654,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:54:16] local.INFO: Acknowledgment sent {"connection_id":126654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:54:26] local.INFO: TCP Data received {"connection_id":125397,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:54:26] local.INFO: Processing buffer {"connection_id":125397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:54:26] local.INFO: IMEI packet received {"connection_id":125397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":125397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:54:31] local.INFO: TCP Data received {"connection_id":125397,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:54:31] local.INFO: Processing buffer {"connection_id":125397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:54:31] local.INFO: IMEI packet received {"connection_id":125397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":125397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:54:32] local.INFO: TCP Data received {"connection_id":125397,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:54:32] local.INFO: Processing buffer {"connection_id":125397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:54:32] local.INFO: Packet analysis {"connection_id":125397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:54:32] local.INFO: Extracted packet for processing {"connection_id":125397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:54:32] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556373248001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783423336000,"timestamp_ms":1783423336000,"timestamp_seconds":1783423336,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c507e40"} 
[2026-07-07 16:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 16:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556373248001,"66":2557,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556373248001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:54:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 16:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556373248001,"power":2557,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 16:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":125397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:54:32] local.INFO: GPS data processed {"connection_id":125397,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:54:32] local.INFO: Acknowledgment sent {"connection_id":125397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:54:47] local.INFO: TCP Data received {"connection_id":124670,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c528d98012d0b41000702acd00014012823..."} 
[2026-07-07 16:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c528d98012d0b41000702acd00014012823..."} 
[2026-07-07 16:54:47] local.INFO: Processing buffer {"connection_id":124670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c528d98012d0b41000702acd00014012823..."} 
[2026-07-07 16:54:47] local.INFO: Packet analysis {"connection_id":124670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c52"} 
[2026-07-07 16:54:47] local.INFO: Extracted packet for processing {"connection_id":124670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c52"} 
[2026-07-07 16:54:47] local.INFO: GPS Element Parsed {"raw_longitude":755712256,"raw_latitude":117615824,"longitude_deg":75.5712256,"latitude_deg":11.7615824,"altitude":20,"angle":296,"satellites":35,"speed":14,"hex_longitude":"2d0b4100","hex_latitude":"0702acd0","is_valid_coordinates":true} 
[2026-07-07 16:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556408320001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23474470173802496,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811281281733883904,"note":"Value kept but may cause issues"} 
[2026-07-07 16:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783423471000,"timestamp_ms":1783423471000,"timestamp_seconds":1783423471,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c528d98"} 
[2026-07-07 16:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-07 16:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-07 16:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-07 16:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-07 16:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556408320001,"66":14374,"17":206,"94":11008,"24":14,"16":23474470173802496,"45":811281281733883904},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-07 16:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-07 16:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-07 16:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556408320001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:54:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-07 16:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23474470173802496,"km_value":23474470173802.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":811281281733883904,"description":"Unknown IO ID 45"} 
[2026-07-07 16:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556408320001,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":811281281733883904}} 
[2026-07-07 16:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":124670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446606,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:54:47] local.INFO: GPS data processed {"connection_id":124670,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:54:47] local.INFO: Acknowledgment sent {"connection_id":124670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:55:00] local.INFO: TCP Data received {"connection_id":124673,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:55:00] local.INFO: Processing buffer {"connection_id":124673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:55:00] local.INFO: IMEI packet received {"connection_id":124673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":124673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:55:02] local.INFO: TCP Data received {"connection_id":124673,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:55:02] local.INFO: Processing buffer {"connection_id":124673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:55:02] local.INFO: IMEI packet received {"connection_id":124673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":124673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:55:04] local.INFO: TCP Data received {"connection_id":125397,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:55:04] local.INFO: Processing buffer {"connection_id":125397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:55:04] local.INFO: Packet analysis {"connection_id":125397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:55:04] local.INFO: Extracted packet for processing {"connection_id":125397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:55:04] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556373248001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 16:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783423336000,"timestamp_ms":1783423336000,"timestamp_seconds":1783423336,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c507e40"} 
[2026-07-07 16:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 16:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556373248001,"66":2557,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556373248001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:55:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:55:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 16:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556373248001,"power":2557,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 16:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":125397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:55:04] local.INFO: GPS data processed {"connection_id":125397,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:55:04] local.INFO: Acknowledgment sent {"connection_id":125397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:55:07] local.INFO: TCP Data received {"connection_id":124673,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:55:07] local.INFO: Processing buffer {"connection_id":124673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:55:07] local.INFO: IMEI packet received {"connection_id":124673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":124673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:55:09] local.INFO: TCP Data received {"connection_id":124591,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124591,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:55:09] local.INFO: Processing buffer {"connection_id":124591,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:55:09] local.INFO: IMEI packet received {"connection_id":124591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-07 16:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":124591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:55:11] local.INFO: TCP Data received {"connection_id":124591,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124591,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:55:11] local.INFO: Processing buffer {"connection_id":124591,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-07 16:55:11] local.INFO: IMEI packet received {"connection_id":124591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":124591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:55:12] local.INFO: TCP Data received {"connection_id":124591,"ip":"42.106.6.35","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-07 16:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124591,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-07 16:55:12] local.INFO: Processing buffer {"connection_id":124591,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-07 16:55:12] local.INFO: IMEI packet received {"connection_id":124591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-07 16:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":124591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:55:12] local.INFO: TCP Data received {"connection_id":124673,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c515130012d169440072201a00070008f24..."} 
[2026-07-07 16:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c515130012d169440072201a00070008f24..."} 
[2026-07-07 16:55:12] local.INFO: Processing buffer {"connection_id":124673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c515130012d169440072201a00070008f24..."} 
[2026-07-07 16:55:12] local.INFO: Packet analysis {"connection_id":124673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c51"} 
[2026-07-07 16:55:12] local.INFO: Extracted packet for processing {"connection_id":124673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c51"} 
[2026-07-07 16:55:12] local.INFO: GPS Element Parsed {"raw_longitude":756454464,"raw_latitude":119669152,"longitude_deg":75.6454464,"latitude_deg":11.9669152,"altitude":112,"angle":143,"satellites":36,"speed":12,"hex_longitude":"2d169440","hex_latitude":"072201a0","is_valid_coordinates":true} 
[2026-07-07 16:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556387328001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4692513763885056,"note":"Value kept but may cause issues"} 
[2026-07-07 16:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1626503183557951488,"note":"Value kept but may cause issues"} 
[2026-07-07 16:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783423390000,"timestamp_ms":1783423390000,"timestamp_seconds":1783423390,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c515130"} 
[2026-07-07 16:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 16:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556387328001,"66":14363,"71":206,"28":31744,"24":12,"16":4692513763885056,"45":1626503183557951488},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556387328001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:55:12] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:55:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4692513763885056,"km_value":4692513763885.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1626503183557951488,"description":"Unknown IO ID 45"} 
[2026-07-07 16:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556387328001,"power":14363,"unknown_71":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1626503183557951488}} 
[2026-07-07 16:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":124673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:55:12] local.INFO: GPS data processed {"connection_id":124673,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:55:12] local.INFO: Acknowledgment sent {"connection_id":124673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:55:43] local.INFO: TCP Data received {"connection_id":124673,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c52eb58012d16a34007219e20006100b224..."} 
[2026-07-07 16:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c52eb58012d16a34007219e20006100b224..."} 
[2026-07-07 16:55:43] local.INFO: Processing buffer {"connection_id":124673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c52eb58012d16a34007219e20006100b224..."} 
[2026-07-07 16:55:43] local.INFO: Packet analysis {"connection_id":124673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c52"} 
[2026-07-07 16:55:43] local.INFO: Extracted packet for processing {"connection_id":124673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c52"} 
[2026-07-07 16:55:43] local.INFO: GPS Element Parsed {"raw_longitude":756458304,"raw_latitude":119643680,"longitude_deg":75.6458304,"latitude_deg":11.964368,"altitude":97,"angle":178,"satellites":36,"speed":14,"hex_longitude":"2d16a340","hex_latitude":"07219e20","is_valid_coordinates":true} 
[2026-07-07 16:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556411904001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4693883858452480,"note":"Value kept but may cause issues"} 
[2026-07-07 16:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1630303095737823232,"note":"Value kept but may cause issues"} 
[2026-07-07 16:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783423495000,"timestamp_ms":1783423495000,"timestamp_seconds":1783423495,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c52eb58"} 
[2026-07-07 16:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-07 16:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556411904001,"66":14461,"71":206,"28":31744,"24":14,"16":4693883858452480,"45":1630303095737823232},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556411904001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:55:43] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:55:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4693883858452480,"km_value":4693883858452.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1630303095737823232,"description":"Unknown IO ID 45"} 
[2026-07-07 16:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556411904001,"power":14461,"unknown_71":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1630303095737823232}} 
[2026-07-07 16:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":124673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:55:43] local.INFO: GPS data processed {"connection_id":124673,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:55:43] local.INFO: Acknowledgment sent {"connection_id":124673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:55:57] local.INFO: TCP Data received {"connection_id":126655,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:55:57] local.INFO: Processing buffer {"connection_id":126655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:55:57] local.INFO: IMEI packet received {"connection_id":126655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":126655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:55:57] local.INFO: TCP Data received {"connection_id":126655,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:55:57] local.INFO: Processing buffer {"connection_id":126655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:55:57] local.INFO: IMEI packet received {"connection_id":126655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":126655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:56:02] local.INFO: TCP Data received {"connection_id":126657,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:56:02] local.INFO: Processing buffer {"connection_id":126657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:56:02] local.INFO: IMEI packet received {"connection_id":126657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":126657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:56:04] local.INFO: TCP Data received {"connection_id":126657,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:56:04] local.INFO: Processing buffer {"connection_id":126657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:56:04] local.INFO: IMEI packet received {"connection_id":126657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":126657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:56:07] local.INFO: TCP Data received {"connection_id":126657,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:56:07] local.INFO: Processing buffer {"connection_id":126657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:56:07] local.INFO: IMEI packet received {"connection_id":126657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":126657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:56:08] local.INFO: TCP Data received {"connection_id":126657,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c52f710012d16a2c007219a08006100bf24..."} 
[2026-07-07 16:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c52f710012d16a2c007219a08006100bf24..."} 
[2026-07-07 16:56:08] local.INFO: Processing buffer {"connection_id":126657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c52f710012d16a2c007219a08006100bf24..."} 
[2026-07-07 16:56:08] local.INFO: Packet analysis {"connection_id":126657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c52"} 
[2026-07-07 16:56:08] local.INFO: Extracted packet for processing {"connection_id":126657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c52"} 
[2026-07-07 16:56:08] local.INFO: GPS Element Parsed {"raw_longitude":756458176,"raw_latitude":119642632,"longitude_deg":75.6458176,"latitude_deg":11.9642632,"altitude":97,"angle":191,"satellites":36,"speed":11,"hex_longitude":"2d16a2c0","hex_latitude":"07219a08","is_valid_coordinates":true} 
[2026-07-07 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-07-07 16:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556414720001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4693935398060032,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1631217889411211264,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783423498000,"timestamp_ms":1783423498000,"timestamp_seconds":1783423498,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c52f710"} 
[2026-07-07 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-07-07 16:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 16:56: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-07-07 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-07-07 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-07-07 16:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556414720001,"66":14461,"71":206,"28":31744,"24":11,"16":4693935398060032,"45":1631217889411211264},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556414720001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:56:08] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:56:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4693935398060032,"km_value":4693935398060.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1631217889411211264,"description":"Unknown IO ID 45"} 
[2026-07-07 16:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556414720001,"power":14461,"unknown_71":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1631217889411211264}} 
[2026-07-07 16:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":126657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:56:08] local.INFO: GPS data processed {"connection_id":126657,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:56:08] local.INFO: Acknowledgment sent {"connection_id":126657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:56:12] local.INFO: TCP Data received {"connection_id":126655,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:56:12] local.INFO: Processing buffer {"connection_id":126655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:56:12] local.INFO: Packet analysis {"connection_id":126655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:56:12] local.INFO: Extracted packet for processing {"connection_id":126655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:56:12] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556373248001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783423336000,"timestamp_ms":1783423336000,"timestamp_seconds":1783423336,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c507e40"} 
[2026-07-07 16:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 16:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556373248001,"66":2557,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556373248001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:56:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 16:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556373248001,"power":2557,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 16:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":126655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:56:12] local.INFO: GPS data processed {"connection_id":126655,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:56:12] local.INFO: Acknowledgment sent {"connection_id":126655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:56:13] local.INFO: TCP Data received {"connection_id":126657,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c530a98012d16a280072195f0006000b224..."} 
[2026-07-07 16:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c530a98012d16a280072195f0006000b224..."} 
[2026-07-07 16:56:13] local.INFO: Processing buffer {"connection_id":126657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c530a98012d16a280072195f0006000b224..."} 
[2026-07-07 16:56:13] local.INFO: Packet analysis {"connection_id":126657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c53"} 
[2026-07-07 16:56:13] local.INFO: Extracted packet for processing {"connection_id":126657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c53"} 
[2026-07-07 16:56:13] local.INFO: GPS Element Parsed {"raw_longitude":756458112,"raw_latitude":119641584,"longitude_deg":75.6458112,"latitude_deg":11.9641584,"altitude":96,"angle":178,"satellites":36,"speed":7,"hex_longitude":"2d16a280","hex_latitude":"072195f0","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556415488001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4693986937667584,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1631077151922587648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783423503000,"timestamp_ms":1783423503000,"timestamp_seconds":1783423503,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c530a98"} 
[2026-07-07 16:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 16:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556415488001,"66":14396,"71":206,"28":31744,"24":7,"16":4693986937667584,"45":1631077151922587648},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556415488001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:56:13] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:56:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4693986937667584,"km_value":4693986937667.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1631077151922587648,"description":"Unknown IO ID 45"} 
[2026-07-07 16:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556415488001,"power":14396,"unknown_71":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1631077151922587648}} 
[2026-07-07 16:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":126657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:56:13] local.INFO: GPS data processed {"connection_id":126657,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:56:13] local.INFO: Acknowledgment sent {"connection_id":126657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:56:14] local.INFO: TCP Data received {"connection_id":126655,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:56:14] local.INFO: Processing buffer {"connection_id":126655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:56:14] local.INFO: Packet analysis {"connection_id":126655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:56:14] local.INFO: Extracted packet for processing {"connection_id":126655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:56:14] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556373248001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783423336000,"timestamp_ms":1783423336000,"timestamp_seconds":1783423336,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c507e40"} 
[2026-07-07 16:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 16:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556373248001,"66":2557,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556373248001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:56:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:56:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 16:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556373248001,"power":2557,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 16:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":126655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:56:14] local.INFO: GPS data processed {"connection_id":126655,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:56:14] local.ERROR: TCP Connection error {"connection_id":126655,"code":2,"message":"client closed"} 
[2026-07-07 16:56:14] local.INFO: Acknowledgment sent {"connection_id":126655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:56:27] local.INFO: TCP Data received {"connection_id":124592,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:56:27] local.INFO: Processing buffer {"connection_id":124592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:56:27] local.INFO: IMEI packet received {"connection_id":124592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":124592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:56:27] local.INFO: TCP Data received {"connection_id":124592,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c534918012dc22fc0053dbe78002d00a12e..."} 
[2026-07-07 16:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c534918012dc22fc0053dbe78002d00a12e..."} 
[2026-07-07 16:56:27] local.INFO: Processing buffer {"connection_id":124592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c534918012dc22fc0053dbe78002d00a12e..."} 
[2026-07-07 16:56:27] local.INFO: Packet analysis {"connection_id":124592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c53"} 
[2026-07-07 16:56:27] local.INFO: Extracted packet for processing {"connection_id":124592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c53"} 
[2026-07-07 16:56:27] local.INFO: GPS Element Parsed {"raw_longitude":767700928,"raw_latitude":87932536,"longitude_deg":76.7700928,"latitude_deg":8.7932536,"altitude":45,"angle":161,"satellites":46,"speed":28,"hex_longitude":"2dc22fc0","hex_latitude":"053dbe78","is_valid_coordinates":true} 
[2026-07-07 16:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556417280001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341641056141443072,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4457015496211982336,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783423519000,"timestamp_ms":1783423519000,"timestamp_seconds":1783423519,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c534918"} 
[2026-07-07 16:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 16:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556417280001,"66":27843,"188":206,"84":5376,"24":28,"16":341641056141443072,"45":-4457015496211982336},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,84,24,16,45]} 
[2026-07-07 16:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556417280001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:56:27] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-07 16:56:27] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341641056141443072,"km_value":341641056141443.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4457015496211982336,"description":"Unknown IO ID 45"} 
[2026-07-07 16:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556417280001,"power":27843,"unknown_188":206,"unknown_84":5376,"ignition":28,"odometer":null,"unknown_45":-4457015496211982336}} 
[2026-07-07 16:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":124592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:56:27] local.INFO: GPS data processed {"connection_id":124592,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:56:27] local.INFO: Acknowledgment sent {"connection_id":124592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:56:31] local.INFO: TCP Data received {"connection_id":124674,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:56:31] local.INFO: Processing buffer {"connection_id":124674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:56:31] local.INFO: IMEI packet received {"connection_id":124674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":124674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:56:36] local.INFO: TCP Data received {"connection_id":124674,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:56:36] local.INFO: Processing buffer {"connection_id":124674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:56:36] local.INFO: IMEI packet received {"connection_id":124674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":124674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:56:37] local.INFO: TCP Data received {"connection_id":124674,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:56:37] local.INFO: Processing buffer {"connection_id":124674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:56:37] local.INFO: Packet analysis {"connection_id":124674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:56:37] local.INFO: Extracted packet for processing {"connection_id":124674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:56:37] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556373248001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783423336000,"timestamp_ms":1783423336000,"timestamp_seconds":1783423336,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c507e40"} 
[2026-07-07 16:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 16:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556373248001,"66":2557,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556373248001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:56:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 16:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556373248001,"power":2557,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 16:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":124674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:56:37] local.INFO: GPS data processed {"connection_id":124674,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:56:37] local.INFO: Acknowledgment sent {"connection_id":124674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:56:41] local.INFO: TCP Data received {"connection_id":124674,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:56:41] local.INFO: Processing buffer {"connection_id":124674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c507e40012d7a1f4005e468380009015f2b..."} 
[2026-07-07 16:56:41] local.INFO: Packet analysis {"connection_id":124674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:56:41] local.INFO: Extracted packet for processing {"connection_id":124674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c50"} 
[2026-07-07 16:56:41] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556373248001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783423336000,"timestamp_ms":1783423336000,"timestamp_seconds":1783423336,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c507e40"} 
[2026-07-07 16:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 16:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556373248001,"66":2557,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556373248001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:56:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 16:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556373248001,"power":2557,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 16:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":124674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:56:41] local.INFO: GPS data processed {"connection_id":124674,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:56:41] local.INFO: Acknowledgment sent {"connection_id":124674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:56:44] local.INFO: TCP Data received {"connection_id":126657,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c531268012d16a28007219468006000bd24..."} 
[2026-07-07 16:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c531268012d16a28007219468006000bd24..."} 
[2026-07-07 16:56:44] local.INFO: Processing buffer {"connection_id":126657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c531268012d16a28007219468006000bd24..."} 
[2026-07-07 16:56:44] local.INFO: Packet analysis {"connection_id":126657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c53"} 
[2026-07-07 16:56:44] local.INFO: Extracted packet for processing {"connection_id":126657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c53"} 
[2026-07-07 16:56:44] local.INFO: GPS Element Parsed {"raw_longitude":756458112,"raw_latitude":119641192,"longitude_deg":75.6458112,"latitude_deg":11.9641192,"altitude":96,"angle":189,"satellites":36,"speed":6,"hex_longitude":"2d16a280","hex_latitude":"07219468","is_valid_coordinates":true} 
[2026-07-07 16:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556416768001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4694008412504064,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1631006783178141696,"note":"Value kept but may cause issues"} 
[2026-07-07 16:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783423505000,"timestamp_ms":1783423505000,"timestamp_seconds":1783423505,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c531268"} 
[2026-07-07 16:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 16:56:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":126657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":126657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":126657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556416768001,"66":14352,"71":206,"28":31744,"24":6,"16":4694008412504064,"45":1631006783178141696},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556416768001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:56:44] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:56:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4694008412504064,"km_value":4694008412504.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1631006783178141696,"description":"Unknown IO ID 45"} 
[2026-07-07 16:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556416768001,"power":14352,"unknown_71":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1631006783178141696}} 
[2026-07-07 16:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":126657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:56:44] local.INFO: GPS data processed {"connection_id":126657,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:56:44] local.INFO: Acknowledgment sent {"connection_id":126657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:56:58] local.INFO: TCP Data received {"connection_id":126659,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:56:58] local.INFO: Processing buffer {"connection_id":126659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:56:58] local.INFO: IMEI packet received {"connection_id":126659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":126659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:57:02] local.INFO: TCP Data received {"connection_id":124593,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:57:02] local.INFO: Processing buffer {"connection_id":124593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:57:02] local.INFO: IMEI packet received {"connection_id":124593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":124593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:57:03] local.INFO: TCP Data received {"connection_id":126659,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:57:03] local.INFO: Processing buffer {"connection_id":126659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:57:03] local.INFO: IMEI packet received {"connection_id":126659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":126659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:57:04] local.INFO: TCP Data received {"connection_id":126659,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c536858012dc23840053daa18002e00952e..."} 
[2026-07-07 16:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c536858012dc23840053daa18002e00952e..."} 
[2026-07-07 16:57:04] local.INFO: Processing buffer {"connection_id":126659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c536858012dc23840053daa18002e00952e..."} 
[2026-07-07 16:57:04] local.INFO: Packet analysis {"connection_id":126659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c53"} 
[2026-07-07 16:57:04] local.INFO: Extracted packet for processing {"connection_id":126659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c53"} 
[2026-07-07 16:57:04] local.INFO: GPS Element Parsed {"raw_longitude":767703104,"raw_latitude":87927320,"longitude_deg":76.7703104,"latitude_deg":8.792732,"altitude":46,"angle":149,"satellites":46,"speed":27,"hex_longitude":"2dc23840","hex_latitude":"053daa18","is_valid_coordinates":true} 
[2026-07-07 16:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556420864001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341641326724382720,"note":"Value kept but may cause issues"} 
[2026-07-07 16:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4454130377702868992,"note":"Value kept but may cause issues"} 
[2026-07-07 16:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783423527000,"timestamp_ms":1783423527000,"timestamp_seconds":1783423527,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c536858"} 
[2026-07-07 16:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 16:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556420864001,"66":27767,"188":206,"84":5376,"24":27,"16":341641326724382720,"45":-4454130377702868992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,84,24,16,45]} 
[2026-07-07 16:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556420864001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:57:04] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-07 16:57:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341641326724382720,"km_value":341641326724382.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4454130377702868992,"description":"Unknown IO ID 45"} 
[2026-07-07 16:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556420864001,"power":27767,"unknown_188":206,"unknown_84":5376,"ignition":27,"odometer":null,"unknown_45":-4454130377702868992}} 
[2026-07-07 16:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":126659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:57:04] local.INFO: GPS data processed {"connection_id":126659,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:57:04] local.INFO: Acknowledgment sent {"connection_id":126659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:57:07] local.INFO: TCP Data received {"connection_id":124593,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:57:07] local.INFO: Processing buffer {"connection_id":124593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:57:07] local.INFO: IMEI packet received {"connection_id":124593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":124593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:57:08] local.INFO: TCP Data received {"connection_id":124593,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c541ff0012d16c040072169c00063009723..."} 
[2026-07-07 16:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c541ff0012d16c040072169c00063009723..."} 
[2026-07-07 16:57:08] local.INFO: Processing buffer {"connection_id":124593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c541ff0012d16c040072169c00063009723..."} 
[2026-07-07 16:57:08] local.INFO: Packet analysis {"connection_id":124593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c54"} 
[2026-07-07 16:57:08] local.INFO: Extracted packet for processing {"connection_id":124593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c54"} 
[2026-07-07 16:57:08] local.INFO: GPS Element Parsed {"raw_longitude":756465728,"raw_latitude":119630272,"longitude_deg":75.6465728,"latitude_deg":11.9630272,"altitude":99,"angle":151,"satellites":35,"speed":10,"hex_longitude":"2d16c040","hex_latitude":"072169c0","is_valid_coordinates":true} 
[2026-07-07 16:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556434688001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4694807276421120,"note":"Value kept but may cause issues"} 
[2026-07-07 16:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1639239926244083712,"note":"Value kept but may cause issues"} 
[2026-07-07 16:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783423574000,"timestamp_ms":1783423574000,"timestamp_seconds":1783423574,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c541ff0"} 
[2026-07-07 16:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-07 16:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556434688001,"66":13961,"71":206,"28":31744,"24":10,"16":4694807276421120,"45":1639239926244083712},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556434688001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:57:08] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:57:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4694807276421120,"km_value":4694807276421.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1639239926244083712,"description":"Unknown IO ID 45"} 
[2026-07-07 16:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556434688001,"power":13961,"unknown_71":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1639239926244083712}} 
[2026-07-07 16:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":124593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:57:08] local.INFO: GPS data processed {"connection_id":124593,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:57:08] local.INFO: Acknowledgment sent {"connection_id":124593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:57:26] local.INFO: TCP Data received {"connection_id":124675,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:57:26] local.INFO: Processing buffer {"connection_id":124675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:57:26] local.INFO: IMEI packet received {"connection_id":124675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":124675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:57:31] local.INFO: TCP Data received {"connection_id":124675,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:57:31] local.INFO: Processing buffer {"connection_id":124675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:57:31] local.INFO: IMEI packet received {"connection_id":124675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":124675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:57:32] local.INFO: TCP Data received {"connection_id":124675,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 16:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 16:57:32] local.INFO: Processing buffer {"connection_id":124675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 16:57:32] local.INFO: Packet analysis {"connection_id":124675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 16:57:32] local.INFO: Extracted packet for processing {"connection_id":124675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 16:57:32] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556374016001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 16:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783423637000,"timestamp_ms":1783423637000,"timestamp_seconds":1783423637,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c551608"} 
[2026-07-07 16:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-07-07 16:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2520,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556374016001,"66":2253,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556374016001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:57:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:57:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 16:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556374016001,"power":2253,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 16:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":124675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:57:32] local.INFO: GPS data processed {"connection_id":124675,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:57:32] local.INFO: Acknowledgment sent {"connection_id":124675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:57:35] local.INFO: TCP Data received {"connection_id":126659,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c537be0012dc23e00053d9e98002f00a22c..."} 
[2026-07-07 16:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c537be0012dc23e00053d9e98002f00a22c..."} 
[2026-07-07 16:57:35] local.INFO: Processing buffer {"connection_id":126659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c537be0012dc23e00053d9e98002f00a22c..."} 
[2026-07-07 16:57:35] local.INFO: Packet analysis {"connection_id":126659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c53"} 
[2026-07-07 16:57:35] local.INFO: Extracted packet for processing {"connection_id":126659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c53"} 
[2026-07-07 16:57:35] local.INFO: GPS Element Parsed {"raw_longitude":767704576,"raw_latitude":87924376,"longitude_deg":76.7704576,"latitude_deg":8.7924376,"altitude":47,"angle":162,"satellites":44,"speed":26,"hex_longitude":"2dc23e00","hex_latitude":"053d9e98","is_valid_coordinates":true} 
[2026-07-07 16:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556422912001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341641485638172672,"note":"Value kept but may cause issues"} 
[2026-07-07 16:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4451737840402163712,"note":"Value kept but may cause issues"} 
[2026-07-07 16:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783423532000,"timestamp_ms":1783423532000,"timestamp_seconds":1783423532,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c537be0"} 
[2026-07-07 16:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:57: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-07-07 16:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 16:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556422912001,"66":27713,"188":206,"84":5376,"24":26,"16":341641485638172672,"45":-4451737840402163712},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,84,24,16,45]} 
[2026-07-07 16:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556422912001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:57:35] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-07 16:57:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-07 16:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341641485638172672,"km_value":341641485638172.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4451737840402163712,"description":"Unknown IO ID 45"} 
[2026-07-07 16:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556422912001,"power":27713,"unknown_188":206,"unknown_84":5376,"ignition":26,"odometer":null,"unknown_45":-4451737840402163712}} 
[2026-07-07 16:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":126659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:57:35] local.INFO: GPS data processed {"connection_id":126659,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:57:35] local.INFO: Acknowledgment sent {"connection_id":126659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:57:40] local.INFO: TCP Data received {"connection_id":124593,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5423d8012d16c0c0072168b0006200b123..."} 
[2026-07-07 16:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5423d8012d16c0c0072168b0006200b123..."} 
[2026-07-07 16:57:40] local.INFO: Processing buffer {"connection_id":124593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5423d8012d16c0c0072168b0006200b123..."} 
[2026-07-07 16:57:40] local.INFO: Packet analysis {"connection_id":124593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c54"} 
[2026-07-07 16:57:40] local.INFO: Extracted packet for processing {"connection_id":124593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c54"} 
[2026-07-07 16:57:40] local.INFO: GPS Element Parsed {"raw_longitude":756465856,"raw_latitude":119630000,"longitude_deg":75.6465856,"latitude_deg":11.963,"altitude":98,"angle":177,"satellites":35,"speed":12,"hex_longitude":"2d16c0c0","hex_latitude":"072168b0","is_valid_coordinates":true} 
[2026-07-07 16:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556434944001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4694820161323008,"note":"Value kept but may cause issues"} 
[2026-07-07 16:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1639380663732387840,"note":"Value kept but may cause issues"} 
[2026-07-07 16:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783423575000,"timestamp_ms":1783423575000,"timestamp_seconds":1783423575,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5423d8"} 
[2026-07-07 16:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-07 16:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556434944001,"66":13428,"71":206,"28":31744,"24":12,"16":4694820161323008,"45":1639380663732387840},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556434944001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:57:40] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:57:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4694820161323008,"km_value":4694820161323.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1639380663732387840,"description":"Unknown IO ID 45"} 
[2026-07-07 16:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556434944001,"power":13428,"unknown_71":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1639380663732387840}} 
[2026-07-07 16:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":124593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:57:40] local.INFO: GPS data processed {"connection_id":124593,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:57:40] local.INFO: Acknowledgment sent {"connection_id":124593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:57:58] local.INFO: TCP Data received {"connection_id":125398,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:57:58] local.INFO: Processing buffer {"connection_id":125398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:57:58] local.INFO: IMEI packet received {"connection_id":125398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":125398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:58:02] local.INFO: TCP Data received {"connection_id":126660,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:58:02] local.INFO: Processing buffer {"connection_id":126660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:58:02] local.INFO: IMEI packet received {"connection_id":126660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":126660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:58:03] local.INFO: TCP Data received {"connection_id":124675,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 16:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 16:58:03] local.INFO: Processing buffer {"connection_id":124675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 16:58:03] local.INFO: Packet analysis {"connection_id":124675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 16:58:03] local.INFO: Extracted packet for processing {"connection_id":124675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 16:58:03] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556374016001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 16:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783423637000,"timestamp_ms":1783423637000,"timestamp_seconds":1783423637,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c551608"} 
[2026-07-07 16:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-07-07 16:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2520,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556374016001,"66":2253,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556374016001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:58:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:58:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 16:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556374016001,"power":2253,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 16:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":124675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:58:03] local.INFO: GPS data processed {"connection_id":124675,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:58:03] local.INFO: Acknowledgment sent {"connection_id":124675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:58:04] local.INFO: TCP Data received {"connection_id":125398,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:58:04] local.INFO: Processing buffer {"connection_id":125398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:58:04] local.INFO: IMEI packet received {"connection_id":125398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":125398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:58:04] local.INFO: TCP Data received {"connection_id":125398,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c54c018012dc2dec0053cff90002500792f..."} 
[2026-07-07 16:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c54c018012dc2dec0053cff90002500792f..."} 
[2026-07-07 16:58:04] local.INFO: Processing buffer {"connection_id":125398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c54c018012dc2dec0053cff90002500792f..."} 
[2026-07-07 16:58:04] local.INFO: Packet analysis {"connection_id":125398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c54"} 
[2026-07-07 16:58:04] local.INFO: Extracted packet for processing {"connection_id":125398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c54"} 
[2026-07-07 16:58:04] local.INFO: GPS Element Parsed {"raw_longitude":767745728,"raw_latitude":87883664,"longitude_deg":76.7745728,"latitude_deg":8.7883664,"altitude":37,"angle":121,"satellites":47,"speed":20,"hex_longitude":"2dc2dec0","hex_latitude":"053cff90","is_valid_coordinates":true} 
[2026-07-07 16:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556444160001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341644517885083648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4406772212883382272,"note":"Value kept but may cause issues"} 
[2026-07-07 16:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783423615000,"timestamp_ms":1783423615000,"timestamp_seconds":1783423615,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c54c018"} 
[2026-07-07 16:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 16:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556444160001,"66":27876,"67":206,"80":35072,"24":20,"16":341644517885083648,"45":-4406772212883382272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-07-07 16:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556444160001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:58:04] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-07 16:58:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 16:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341644517885083648,"km_value":341644517885083.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4406772212883382272,"description":"Unknown IO ID 45"} 
[2026-07-07 16:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556444160001,"power":27876,"unknown_67":206,"unknown_80":35072,"ignition":20,"odometer":null,"unknown_45":-4406772212883382272}} 
[2026-07-07 16:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":125398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:58:04] local.INFO: GPS data processed {"connection_id":125398,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:58:04] local.INFO: Acknowledgment sent {"connection_id":125398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:58:07] local.INFO: TCP Data received {"connection_id":126660,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:58:07] local.INFO: Processing buffer {"connection_id":126660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:58:07] local.INFO: IMEI packet received {"connection_id":126660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":126660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:58:09] local.INFO: TCP Data received {"connection_id":126660,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5427c0012d16c0c007216788006300c224..."} 
[2026-07-07 16:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5427c0012d16c0c007216788006300c224..."} 
[2026-07-07 16:58:09] local.INFO: Processing buffer {"connection_id":126660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5427c0012d16c0c007216788006300c224..."} 
[2026-07-07 16:58:09] local.INFO: Packet analysis {"connection_id":126660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c54"} 
[2026-07-07 16:58:09] local.INFO: Extracted packet for processing {"connection_id":126660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c54"} 
[2026-07-07 16:58:09] local.INFO: GPS Element Parsed {"raw_longitude":756465856,"raw_latitude":119629704,"longitude_deg":75.6465856,"latitude_deg":11.9629704,"altitude":99,"angle":194,"satellites":36,"speed":12,"hex_longitude":"2d16c0c0","hex_latitude":"07216788","is_valid_coordinates":true} 
[2026-07-07 16:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556435200001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4694837341192192,"note":"Value kept but may cause issues"} 
[2026-07-07 16:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1639521401220673536,"note":"Value kept but may cause issues"} 
[2026-07-07 16:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783423576000,"timestamp_ms":1783423576000,"timestamp_seconds":1783423576,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5427c0"} 
[2026-07-07 16:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:58: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-07-07 16:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-07 16:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556435200001,"66":13428,"71":206,"28":31744,"24":12,"16":4694837341192192,"45":1639521401220673536},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-07-07 16:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556435200001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:58:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-07 16:58:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4694837341192192,"km_value":4694837341192.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1639521401220673536,"description":"Unknown IO ID 45"} 
[2026-07-07 16:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556435200001,"power":13428,"unknown_71":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1639521401220673536}} 
[2026-07-07 16:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":126660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:58:09] local.INFO: GPS data processed {"connection_id":126660,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:58:09] local.INFO: Acknowledgment sent {"connection_id":126660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:58:31] local.INFO: TCP Data received {"connection_id":124594,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:58:31] local.INFO: Processing buffer {"connection_id":124594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:58:31] local.INFO: IMEI packet received {"connection_id":124594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":124594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:58:34] local.INFO: TCP Data received {"connection_id":124676,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:58:34] local.INFO: Processing buffer {"connection_id":124676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:58:34] local.INFO: IMEI packet received {"connection_id":124676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 16:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":124676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:58:35] local.INFO: TCP Data received {"connection_id":125398,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c54c7e8012dc2e280053cfde80026006d2f..."} 
[2026-07-07 16:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c54c7e8012dc2e280053cfde80026006d2f..."} 
[2026-07-07 16:58:35] local.INFO: Processing buffer {"connection_id":125398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c54c7e8012dc2e280053cfde80026006d2f..."} 
[2026-07-07 16:58:35] local.INFO: Packet analysis {"connection_id":125398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c54"} 
[2026-07-07 16:58:35] local.INFO: Extracted packet for processing {"connection_id":125398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c54"} 
[2026-07-07 16:58:35] local.INFO: GPS Element Parsed {"raw_longitude":767746688,"raw_latitude":87883240,"longitude_deg":76.7746688,"latitude_deg":8.788324,"altitude":38,"angle":109,"satellites":47,"speed":18,"hex_longitude":"2dc2e280","hex_latitude":"053cfde8","is_valid_coordinates":true} 
[2026-07-07 16:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556445440001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341644569424691200,"note":"Value kept but may cause issues"} 
[2026-07-07 16:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4404872256791015424,"note":"Value kept but may cause issues"} 
[2026-07-07 16:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783423617000,"timestamp_ms":1783423617000,"timestamp_seconds":1783423617,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c54c7e8"} 
[2026-07-07 16:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:58: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-07-07 16:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 16:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556445440001,"66":27843,"67":206,"80":35072,"24":18,"16":341644569424691200,"45":-4404872256791015424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-07-07 16:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556445440001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:58:35] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-07 16:58:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 16:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341644569424691200,"km_value":341644569424691.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4404872256791015424,"description":"Unknown IO ID 45"} 
[2026-07-07 16:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556445440001,"power":27843,"unknown_67":206,"unknown_80":35072,"ignition":18,"odometer":null,"unknown_45":-4404872256791015424}} 
[2026-07-07 16:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":125398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:58:35] local.INFO: GPS data processed {"connection_id":125398,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:58:35] local.INFO: Acknowledgment sent {"connection_id":125398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:58:36] local.INFO: TCP Data received {"connection_id":124594,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:58:36] local.INFO: Processing buffer {"connection_id":124594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:58:36] local.INFO: IMEI packet received {"connection_id":124594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":124594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:58:45] local.INFO: TCP Data received {"connection_id":126660,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c55ae60012d16b500072108a00052009622..."} 
[2026-07-07 16:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c55ae60012d16b500072108a00052009622..."} 
[2026-07-07 16:58:45] local.INFO: Processing buffer {"connection_id":126660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c55ae60012d16b500072108a00052009622..."} 
[2026-07-07 16:58:45] local.INFO: Packet analysis {"connection_id":126660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 16:58:45] local.INFO: Extracted packet for processing {"connection_id":126660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 16:58:45] local.INFO: GPS Element Parsed {"raw_longitude":756462848,"raw_latitude":119605408,"longitude_deg":75.6462848,"latitude_deg":11.9605408,"altitude":82,"angle":150,"satellites":34,"speed":8,"hex_longitude":"2d16b500","hex_latitude":"072108a0","is_valid_coordinates":true} 
[2026-07-07 16:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556460800001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4696091471642624,"note":"Value kept but may cause issues"} 
[2026-07-07 16:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1636073332749719552,"note":"Value kept but may cause issues"} 
[2026-07-07 16:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783423676000,"timestamp_ms":1783423676000,"timestamp_seconds":1783423676,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c55ae60"} 
[2026-07-07 16:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 16:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":126660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":126660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":126660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556460800001,"66":14407,"50":206,"28":31744,"24":8,"16":4696091471642624,"45":1636073332749719552},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-07-07 16:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556460800001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:58:45] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-07 16:58:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4696091471642624,"km_value":4696091471642.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1636073332749719552,"description":"Unknown IO ID 45"} 
[2026-07-07 16:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556460800001,"power":14407,"unknown_50":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1636073332749719552}} 
[2026-07-07 16:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":126660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:58:45] local.INFO: GPS data processed {"connection_id":126660,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:58:45] local.INFO: Acknowledgment sent {"connection_id":126660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:58:46] local.INFO: TCP Data received {"connection_id":124594,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 16:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 16:58:46] local.INFO: Processing buffer {"connection_id":124594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 16:58:46] local.INFO: Packet analysis {"connection_id":124594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 16:58:46] local.INFO: Extracted packet for processing {"connection_id":124594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 16:58:46] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556374016001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 16:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783423637000,"timestamp_ms":1783423637000,"timestamp_seconds":1783423637,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c551608"} 
[2026-07-07 16:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16: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":9,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-07-07 16:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2520,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556374016001,"66":2253,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556374016001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:58:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 16:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556374016001,"power":2253,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 16:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":124594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:58:46] local.INFO: GPS data processed {"connection_id":124594,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:58:46] local.INFO: Acknowledgment sent {"connection_id":124594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:58:58] local.INFO: TCP Data received {"connection_id":125399,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:58:58] local.INFO: Processing buffer {"connection_id":125399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:58:58] local.INFO: IMEI packet received {"connection_id":125399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 16:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":125399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:58:58] local.INFO: TCP Data received {"connection_id":124677,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:58:58] local.INFO: Processing buffer {"connection_id":124677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 16:58:58] local.INFO: IMEI packet received {"connection_id":124677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 16:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":124677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:59:04] local.INFO: TCP Data received {"connection_id":125399,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:59:04] local.INFO: Processing buffer {"connection_id":125399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 16:59:04] local.INFO: IMEI packet received {"connection_id":125399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 16:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":125399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:59:04] local.INFO: TCP Data received {"connection_id":125399,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c54cfb8012dc2e5c0053cfd20002600602e..."} 
[2026-07-07 16:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c54cfb8012dc2e5c0053cfd20002600602e..."} 
[2026-07-07 16:59:04] local.INFO: Processing buffer {"connection_id":125399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c54cfb8012dc2e5c0053cfd20002600602e..."} 
[2026-07-07 16:59:04] local.INFO: Packet analysis {"connection_id":125399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c54"} 
[2026-07-07 16:59:04] local.INFO: Extracted packet for processing {"connection_id":125399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c54"} 
[2026-07-07 16:59:04] local.INFO: GPS Element Parsed {"raw_longitude":767747520,"raw_latitude":87883040,"longitude_deg":76.774752,"latitude_deg":8.788304,"altitude":38,"angle":96,"satellites":46,"speed":16,"hex_longitude":"2dc2e5c0","hex_latitude":"053cfd20","is_valid_coordinates":true} 
[2026-07-07 16: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-07-07 16:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556445952001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341644608079396864,"note":"Value kept but may cause issues"} 
[2026-07-07 16:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4403816725628459008,"note":"Value kept but may cause issues"} 
[2026-07-07 16:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783423619000,"timestamp_ms":1783423619000,"timestamp_seconds":1783423619,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c54cfb8"} 
[2026-07-07 16:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 16:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16: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-07-07 16:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556445952001,"66":27745,"67":206,"80":35072,"24":16,"16":341644608079396864,"45":-4403816725628459008},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-07-07 16:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556445952001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:59:04] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-07 16:59:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 16:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341644608079396864,"km_value":341644608079396.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4403816725628459008,"description":"Unknown IO ID 45"} 
[2026-07-07 16:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556445952001,"power":27745,"unknown_67":206,"unknown_80":35072,"ignition":16,"odometer":null,"unknown_45":-4403816725628459008}} 
[2026-07-07 16:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":125399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:59:04] local.INFO: GPS data processed {"connection_id":125399,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:59:04] local.INFO: Acknowledgment sent {"connection_id":125399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:59:06] local.INFO: TCP Data received {"connection_id":126661,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:59:06] local.INFO: Processing buffer {"connection_id":126661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:59:06] local.INFO: IMEI packet received {"connection_id":126661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 16:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":126661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:59:07] local.INFO: TCP Data received {"connection_id":126661,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:59:07] local.INFO: Processing buffer {"connection_id":126661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:59:07] local.INFO: IMEI packet received {"connection_id":126661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":126661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:59:10] local.INFO: TCP Data received {"connection_id":126661,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:59:10] local.INFO: Processing buffer {"connection_id":126661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 16:59:10] local.INFO: IMEI packet received {"connection_id":126661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 16:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":126661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:59:11] local.INFO: TCP Data received {"connection_id":126661,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c55b630012d16b5c007210728005200a422..."} 
[2026-07-07 16:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c55b630012d16b5c007210728005200a422..."} 
[2026-07-07 16:59:11] local.INFO: Processing buffer {"connection_id":126661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c55b630012d16b5c007210728005200a422..."} 
[2026-07-07 16:59:11] local.INFO: Packet analysis {"connection_id":126661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 16:59:11] local.INFO: Extracted packet for processing {"connection_id":126661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 16:59:11] local.INFO: GPS Element Parsed {"raw_longitude":756463040,"raw_latitude":119605032,"longitude_deg":75.646304,"latitude_deg":11.9605032,"altitude":82,"angle":164,"satellites":34,"speed":7,"hex_longitude":"2d16b5c0","hex_latitude":"07210728","is_valid_coordinates":true} 
[2026-07-07 16:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556461056001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4696108651511808,"note":"Value kept but may cause issues"} 
[2026-07-07 16:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1636214070238027776,"note":"Value kept but may cause issues"} 
[2026-07-07 16:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783423678000,"timestamp_ms":1783423678000,"timestamp_seconds":1783423678,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c55b630"} 
[2026-07-07 16:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 16:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556461056001,"66":13993,"50":206,"28":31744,"24":7,"16":4696108651511808,"45":1636214070238027776},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-07-07 16:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556461056001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:59:11] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-07 16:59:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4696108651511808,"km_value":4696108651511.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1636214070238027776,"description":"Unknown IO ID 45"} 
[2026-07-07 16:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556461056001,"power":13993,"unknown_50":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1636214070238027776}} 
[2026-07-07 16:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":126661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:59:11] local.INFO: GPS data processed {"connection_id":126661,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:59:11] local.INFO: Acknowledgment sent {"connection_id":126661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:59:12] local.INFO: TCP Data received {"connection_id":126661,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c55c1e8012d16b600072104c8005100b223..."} 
[2026-07-07 16:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c55c1e8012d16b600072104c8005100b223..."} 
[2026-07-07 16:59:12] local.INFO: Processing buffer {"connection_id":126661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c55c1e8012d16b600072104c8005100b223..."} 
[2026-07-07 16:59:12] local.INFO: Packet analysis {"connection_id":126661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 16:59:12] local.INFO: Extracted packet for processing {"connection_id":126661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 16:59:12] local.INFO: GPS Element Parsed {"raw_longitude":756463104,"raw_latitude":119604424,"longitude_deg":75.6463104,"latitude_deg":11.9604424,"altitude":81,"angle":178,"satellites":35,"speed":8,"hex_longitude":"2d16b600","hex_latitude":"072104c8","is_valid_coordinates":true} 
[2026-07-07 16:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556461568001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4696138716282880,"note":"Value kept but may cause issues"} 
[2026-07-07 16:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1636425176470464512,"note":"Value kept but may cause issues"} 
[2026-07-07 16:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783423681000,"timestamp_ms":1783423681000,"timestamp_seconds":1783423681,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c55c1e8"} 
[2026-07-07 16:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-07 16:59: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-07-07 16:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556461568001,"66":14396,"50":206,"28":31744,"24":8,"16":4696138716282880,"45":1636425176470464512},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-07-07 16:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556461568001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:59:12] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-07 16:59:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4696138716282880,"km_value":4696138716282.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1636425176470464512,"description":"Unknown IO ID 45"} 
[2026-07-07 16:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556461568001,"power":14396,"unknown_50":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1636425176470464512}} 
[2026-07-07 16:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":126661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:59:12] local.INFO: GPS data processed {"connection_id":126661,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:59:12] local.INFO: Acknowledgment sent {"connection_id":126661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:59:26] local.INFO: TCP Data received {"connection_id":124595,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:59:26] local.INFO: Processing buffer {"connection_id":124595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:59:26] local.INFO: IMEI packet received {"connection_id":124595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 16:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":124595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 16:59:34] local.INFO: TCP Data received {"connection_id":124595,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:59:34] local.INFO: Processing buffer {"connection_id":124595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 16:59:34] local.INFO: IMEI packet received {"connection_id":124595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 16:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":124595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 16:59:35] local.INFO: TCP Data received {"connection_id":124595,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 16:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 16:59:35] local.INFO: Processing buffer {"connection_id":124595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 16:59:35] local.INFO: Packet analysis {"connection_id":124595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 16:59:35] local.INFO: Extracted packet for processing {"connection_id":124595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 16:59:35] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 16:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556374016001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 16:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 16:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783423637000,"timestamp_ms":1783423637000,"timestamp_seconds":1783423637,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c551608"} 
[2026-07-07 16:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 16:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-07-07 16:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2520,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 16:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 16:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 16:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556374016001,"66":2253,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 16:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 16:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 16:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556374016001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:59:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 16:59:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 16:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 16:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556374016001,"power":2253,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 16:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":124595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:59:35] local.INFO: GPS data processed {"connection_id":124595,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:59:35] local.INFO: Acknowledgment sent {"connection_id":124595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:59:36] local.INFO: TCP Data received {"connection_id":125399,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c550e38012dc30a00053cf7c8002a00672b..."} 
[2026-07-07 16:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c550e38012dc30a00053cf7c8002a00672b..."} 
[2026-07-07 16:59:36] local.INFO: Processing buffer {"connection_id":125399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c550e38012dc30a00053cf7c8002a00672b..."} 
[2026-07-07 16:59:36] local.INFO: Packet analysis {"connection_id":125399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 16:59:36] local.INFO: Extracted packet for processing {"connection_id":125399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 16:59:36] local.INFO: GPS Element Parsed {"raw_longitude":767756800,"raw_latitude":87881672,"longitude_deg":76.77568,"latitude_deg":8.7881672,"altitude":42,"angle":103,"satellites":43,"speed":26,"hex_longitude":"2dc30a00","hex_latitude":"053cf7c8","is_valid_coordinates":true} 
[2026-07-07 16:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556446464001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341645059050962944,"note":"Value kept but may cause issues"} 
[2026-07-07 16:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4402901931954200576,"note":"Value kept but may cause issues"} 
[2026-07-07 16:59:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,80,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 16:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783423635000,"timestamp_ms":1783423635000,"timestamp_seconds":1783423635,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c550e38"} 
[2026-07-07 16:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 16:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 16:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 16:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 16:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556446464001,"66":206,"80":35072,"24":26,"16":341645059050962944,"45":-4402901931954200576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,24,16,45]} 
[2026-07-07 16:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 16:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 16:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556446464001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:59:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 16:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341645059050962944,"km_value":341645059050962.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4402901931954200576,"description":"Unknown IO ID 45"} 
[2026-07-07 16:59:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456556446464001,"power":206,"unknown_80":35072,"ignition":26,"odometer":null,"unknown_45":-4402901931954200576}} 
[2026-07-07 16:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":125399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:59:36] local.INFO: GPS data processed {"connection_id":125399,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:59:36] local.INFO: Acknowledgment sent {"connection_id":125399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 16:59:44] local.INFO: TCP Data received {"connection_id":126661,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c55cda0012d16b600072102a0005100c023..."} 
[2026-07-07 16:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c55cda0012d16b600072102a0005100c023..."} 
[2026-07-07 16:59:44] local.INFO: Processing buffer {"connection_id":126661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c55cda0012d16b600072102a0005100c023..."} 
[2026-07-07 16:59:44] local.INFO: Packet analysis {"connection_id":126661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 16:59:44] local.INFO: Extracted packet for processing {"connection_id":126661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 16:59:44] local.INFO: GPS Element Parsed {"raw_longitude":756463104,"raw_latitude":119603872,"longitude_deg":75.6463104,"latitude_deg":11.9603872,"altitude":81,"angle":192,"satellites":35,"speed":6,"hex_longitude":"2d16b600","hex_latitude":"072102a0","is_valid_coordinates":true} 
[2026-07-07 16:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 16:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556462336001,"note":"Value kept but may cause issues"} 
[2026-07-07 16:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4696164486086656,"note":"Value kept but may cause issues"} 
[2026-07-07 16:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1636495545214486528,"note":"Value kept but may cause issues"} 
[2026-07-07 16:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 16:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783423684000,"timestamp_ms":1783423684000,"timestamp_seconds":1783423684,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c55cda0"} 
[2026-07-07 16:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 16:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 16:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 16:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 16:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 16:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 16:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 16:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":126661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 16:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":126661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":126661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 16:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 16:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 16:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 16:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556462336001,"66":14004,"50":206,"28":31744,"24":6,"16":4696164486086656,"45":1636495545214486528},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-07-07 16:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 16:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 16:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556462336001,"description":"Unknown IO ID 0"} 
[2026-07-07 16:59:44] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-07 16:59:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 16:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4696164486086656,"km_value":4696164486086.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 16:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1636495545214486528,"description":"Unknown IO ID 45"} 
[2026-07-07 16:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556462336001,"power":14004,"unknown_50":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1636495545214486528}} 
[2026-07-07 16:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":126661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 16:59:44] local.INFO: GPS data processed {"connection_id":126661,"processed":1,"errors":0,"total":1} 
[2026-07-07 16:59:44] local.INFO: Acknowledgment sent {"connection_id":126661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:00:02] local.INFO: TCP Data received {"connection_id":124678,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:00:02] local.INFO: Processing buffer {"connection_id":124678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:00:02] local.INFO: IMEI packet received {"connection_id":124678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":124678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:00:07] local.INFO: TCP Data received {"connection_id":124678,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:00:07] local.INFO: Processing buffer {"connection_id":124678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:00:07] local.INFO: IMEI packet received {"connection_id":124678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":124678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:00:07] local.INFO: TCP Data received {"connection_id":124595,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 17:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 17:00:07] local.INFO: Processing buffer {"connection_id":124595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 17:00:07] local.INFO: Packet analysis {"connection_id":124595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 17:00:07] local.INFO: Extracted packet for processing {"connection_id":124595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 17:00:07] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 17:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556374016001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783423637000,"timestamp_ms":1783423637000,"timestamp_seconds":1783423637,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c551608"} 
[2026-07-07 17:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-07-07 17:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2520,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556374016001,"66":2253,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556374016001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:00:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:00:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556374016001,"power":2253,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 17:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":124595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:00:07] local.INFO: GPS data processed {"connection_id":124595,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:00:07] local.INFO: Acknowledgment sent {"connection_id":124595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:00:12] local.INFO: TCP Data received {"connection_id":124678,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:00:12] local.INFO: Processing buffer {"connection_id":124678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:00:12] local.INFO: IMEI packet received {"connection_id":124678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":124678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:00:13] local.INFO: TCP Data received {"connection_id":124597,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:00:13] local.INFO: Processing buffer {"connection_id":124597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:00:13] local.INFO: IMEI packet received {"connection_id":124597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":124597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:00:14] local.INFO: TCP Data received {"connection_id":124678,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c55ece0012d16b5000720fd68005000b423..."} 
[2026-07-07 17:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c55ece0012d16b5000720fd68005000b423..."} 
[2026-07-07 17:00:14] local.INFO: Processing buffer {"connection_id":124678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c55ece0012d16b5000720fd68005000b423..."} 
[2026-07-07 17:00:14] local.INFO: Packet analysis {"connection_id":124678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 17:00:14] local.INFO: Extracted packet for processing {"connection_id":124678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 17:00:14] local.INFO: GPS Element Parsed {"raw_longitude":756462848,"raw_latitude":119602536,"longitude_deg":75.6462848,"latitude_deg":11.9602536,"altitude":80,"angle":180,"satellites":35,"speed":5,"hex_longitude":"2d16b500","hex_latitude":"0720fd68","is_valid_coordinates":true} 
[2026-07-07 17:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556463104001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4696233205563392,"note":"Value kept but may cause issues"} 
[2026-07-07 17:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1636495545214345216,"note":"Value kept but may cause issues"} 
[2026-07-07 17:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783423692000,"timestamp_ms":1783423692000,"timestamp_seconds":1783423692,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c55ece0"} 
[2026-07-07 17:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-07 17:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556463104001,"66":14004,"50":206,"28":31744,"24":5,"16":4696233205563392,"45":1636495545214345216},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-07-07 17:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556463104001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:00:14] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-07 17:00:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4696233205563392,"km_value":4696233205563.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1636495545214345216,"description":"Unknown IO ID 45"} 
[2026-07-07 17:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556463104001,"power":14004,"unknown_50":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1636495545214345216}} 
[2026-07-07 17:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":124678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:00:14] local.INFO: GPS data processed {"connection_id":124678,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:00:14] local.INFO: Acknowledgment sent {"connection_id":124678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:00:18] local.INFO: TCP Data received {"connection_id":124597,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:00:18] local.INFO: Processing buffer {"connection_id":124597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:00:18] local.INFO: IMEI packet received {"connection_id":124597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":124597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:00:19] local.INFO: TCP Data received {"connection_id":124597,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c568538012dc3c940053c2ec00020008d2d..."} 
[2026-07-07 17:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c568538012dc3c940053c2ec00020008d2d..."} 
[2026-07-07 17:00:19] local.INFO: Processing buffer {"connection_id":124597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c568538012dc3c940053c2ec00020008d2d..."} 
[2026-07-07 17:00:19] local.INFO: Packet analysis {"connection_id":124597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c56"} 
[2026-07-07 17:00:19] local.INFO: Extracted packet for processing {"connection_id":124597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c56"} 
[2026-07-07 17:00:19] local.INFO: GPS Element Parsed {"raw_longitude":767805760,"raw_latitude":87830208,"longitude_deg":76.780576,"latitude_deg":8.7830208,"altitude":32,"angle":141,"satellites":45,"speed":33,"hex_longitude":"2dc3c940","hex_latitude":"053c2ec0","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556471296001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341648593809047552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4345269930484344832,"note":"Value kept but may cause issues"} 
[2026-07-07 17:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783423731000,"timestamp_ms":1783423731000,"timestamp_seconds":1783423731,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c568538"} 
[2026-07-07 17:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:00: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-07-07 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 17:00: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-07-07 17: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-07-07 17:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556471296001,"66":27908,"1":206,"80":35072,"24":33,"16":341648593809047552,"45":-4345269930484344832},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 17:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556471296001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:00:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341648593809047552,"km_value":341648593809047.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4345269930484344832,"description":"Unknown IO ID 45"} 
[2026-07-07 17:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556471296001,"power":27908,"imei":206,"unknown_80":35072,"ignition":33,"odometer":null,"unknown_45":-4345269930484344832}} 
[2026-07-07 17:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":124597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:00:19] local.INFO: GPS data processed {"connection_id":124597,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:00:19] local.INFO: Acknowledgment sent {"connection_id":124597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:00:26] local.INFO: TCP Data received {"connection_id":125400,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:00:26] local.INFO: Processing buffer {"connection_id":125400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:00:26] local.INFO: IMEI packet received {"connection_id":125400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":125400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:00:31] local.INFO: TCP Data received {"connection_id":125400,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:00:31] local.INFO: Processing buffer {"connection_id":125400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:00:31] local.INFO: IMEI packet received {"connection_id":125400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":125400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:00:32] local.INFO: TCP Data received {"connection_id":125400,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 17:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 17:00:32] local.INFO: Processing buffer {"connection_id":125400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 17:00:32] local.INFO: Packet analysis {"connection_id":125400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 17:00:32] local.INFO: Extracted packet for processing {"connection_id":125400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 17:00:32] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 17:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556374016001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783423637000,"timestamp_ms":1783423637000,"timestamp_seconds":1783423637,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c551608"} 
[2026-07-07 17:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-07-07 17:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2520,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556374016001,"66":2253,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556374016001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:00:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:00:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556374016001,"power":2253,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 17:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":125400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:00:32] local.INFO: GPS data processed {"connection_id":125400,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:00:32] local.INFO: Acknowledgment sent {"connection_id":125400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:00:39] local.INFO: TCP Data received {"connection_id":125400,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 17:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 17:00:39] local.INFO: Processing buffer {"connection_id":125400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 17:00:39] local.INFO: Packet analysis {"connection_id":125400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 17:00:39] local.INFO: Extracted packet for processing {"connection_id":125400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 17:00:39] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556374016001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783423637000,"timestamp_ms":1783423637000,"timestamp_seconds":1783423637,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c551608"} 
[2026-07-07 17:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:00: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-07-07 17: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":9,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-07-07 17:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2520,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556374016001,"66":2253,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556374016001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:00:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556374016001,"power":2253,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 17:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":125400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:00:39] local.INFO: GPS data processed {"connection_id":125400,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:00:39] local.INFO: Acknowledgment sent {"connection_id":125400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:00:46] local.INFO: TCP Data received {"connection_id":124678,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c576f98012d170d0007208c40002e004623..."} 
[2026-07-07 17:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c576f98012d170d0007208c40002e004623..."} 
[2026-07-07 17:00:46] local.INFO: Processing buffer {"connection_id":124678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c576f98012d170d0007208c40002e004623..."} 
[2026-07-07 17:00:46] local.INFO: Packet analysis {"connection_id":124678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c57"} 
[2026-07-07 17:00:46] local.INFO: Extracted packet for processing {"connection_id":124678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c57"} 
[2026-07-07 17:00:46] local.INFO: GPS Element Parsed {"raw_longitude":756485376,"raw_latitude":119573568,"longitude_deg":75.6485376,"latitude_deg":11.9573568,"altitude":46,"angle":70,"satellites":35,"speed":7,"hex_longitude":"2d170d00","hex_latitude":"07208c40","is_valid_coordinates":true} 
[2026-07-07 17:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556490240001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4698101516337152,"note":"Value kept but may cause issues"} 
[2026-07-07 17:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1660772761947875328,"note":"Value kept but may cause issues"} 
[2026-07-07 17:00:46] 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-07-07 17:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783423791000,"timestamp_ms":1783423791000,"timestamp_seconds":1783423791,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c576f98"} 
[2026-07-07 17:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-07 17:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556490240001,"66":14298,"122":206,"28":31744,"24":7,"16":4698101516337152,"45":1660772761947875328},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556490240001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:00:46] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:00:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4698101516337152,"km_value":4698101516337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1660772761947875328,"description":"Unknown IO ID 45"} 
[2026-07-07 17:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556490240001,"power":14298,"unknown_122":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1660772761947875328}} 
[2026-07-07 17:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":124678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:00:46] local.INFO: GPS data processed {"connection_id":124678,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:00:46] local.INFO: Acknowledgment sent {"connection_id":124678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:00:58] local.INFO: TCP Data received {"connection_id":125401,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:00:58] local.INFO: Processing buffer {"connection_id":125401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:00:58] local.INFO: IMEI packet received {"connection_id":125401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":125401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:01:02] local.INFO: TCP Data received {"connection_id":126663,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:01:02] local.INFO: Processing buffer {"connection_id":126663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:01:02] local.INFO: IMEI packet received {"connection_id":126663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":126663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:01:03] local.INFO: TCP Data received {"connection_id":125401,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:01:03] local.INFO: Processing buffer {"connection_id":125401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:01:03] local.INFO: IMEI packet received {"connection_id":125401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":125401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:01:04] local.INFO: TCP Data received {"connection_id":125401,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c56ac48012dc3e000053c13600021008c2d..."} 
[2026-07-07 17:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c56ac48012dc3e000053c13600021008c2d..."} 
[2026-07-07 17:01:04] local.INFO: Processing buffer {"connection_id":125401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c56ac48012dc3e000053c13600021008c2d..."} 
[2026-07-07 17:01:04] local.INFO: Packet analysis {"connection_id":125401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c56"} 
[2026-07-07 17:01:04] local.INFO: Extracted packet for processing {"connection_id":125401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c56"} 
[2026-07-07 17:01:04] local.INFO: GPS Element Parsed {"raw_longitude":767811584,"raw_latitude":87823200,"longitude_deg":76.7811584,"latitude_deg":8.78232,"altitude":33,"angle":140,"satellites":45,"speed":38,"hex_longitude":"2dc3e000","hex_latitude":"053c1360","is_valid_coordinates":true} 
[2026-07-07 17:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556475136001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341649036190679040,"note":"Value kept but may cause issues"} 
[2026-07-07 17:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4338866374766051328,"note":"Value kept but may cause issues"} 
[2026-07-07 17:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783423741000,"timestamp_ms":1783423741000,"timestamp_seconds":1783423741,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c56ac48"} 
[2026-07-07 17:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 17:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556475136001,"66":27930,"1":206,"80":35072,"24":38,"16":341649036190679040,"45":-4338866374766051328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 17:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556475136001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:01:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341649036190679040,"km_value":341649036190679.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4338866374766051328,"description":"Unknown IO ID 45"} 
[2026-07-07 17:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556475136001,"power":27930,"imei":206,"unknown_80":35072,"ignition":38,"odometer":null,"unknown_45":-4338866374766051328}} 
[2026-07-07 17:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":125401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:01:04] local.INFO: GPS data processed {"connection_id":125401,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:01:04] local.INFO: Acknowledgment sent {"connection_id":125401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:01:07] local.INFO: TCP Data received {"connection_id":126663,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:01:07] local.INFO: Processing buffer {"connection_id":126663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:01:07] local.INFO: IMEI packet received {"connection_id":126663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":126663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:01:09] local.INFO: TCP Data received {"connection_id":126663,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c577380012d170dc007208cb0002d003624..."} 
[2026-07-07 17:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c577380012d170dc007208cb0002d003624..."} 
[2026-07-07 17:01:09] local.INFO: Processing buffer {"connection_id":126663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c577380012d170dc007208cb0002d003624..."} 
[2026-07-07 17:01:09] local.INFO: Packet analysis {"connection_id":126663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c57"} 
[2026-07-07 17:01:09] local.INFO: Extracted packet for processing {"connection_id":126663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c57"} 
[2026-07-07 17:01:09] local.INFO: GPS Element Parsed {"raw_longitude":756485568,"raw_latitude":119573680,"longitude_deg":75.6485568,"latitude_deg":11.957368,"altitude":45,"angle":54,"satellites":36,"speed":10,"hex_longitude":"2d170dc0","hex_latitude":"07208cb0","is_valid_coordinates":true} 
[2026-07-07 17:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556490496001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4698110106271744,"note":"Value kept but may cause issues"} 
[2026-07-07 17:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1660983868180414464,"note":"Value kept but may cause issues"} 
[2026-07-07 17:01: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-07-07 17:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783423792000,"timestamp_ms":1783423792000,"timestamp_seconds":1783423792,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c577380"} 
[2026-07-07 17:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:01: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-07-07 17: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-07 17:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556490496001,"66":14298,"122":206,"28":31744,"24":10,"16":4698110106271744,"45":1660983868180414464},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556490496001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:01:09] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:01:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4698110106271744,"km_value":4698110106271.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1660983868180414464,"description":"Unknown IO ID 45"} 
[2026-07-07 17:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556490496001,"power":14298,"unknown_122":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1660983868180414464}} 
[2026-07-07 17:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":126663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:01:09] local.INFO: GPS data processed {"connection_id":126663,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:01:09] local.INFO: Acknowledgment sent {"connection_id":126663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:01:14] local.INFO: TCP Data received {"connection_id":125400,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 17:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 17:01:14] local.INFO: Processing buffer {"connection_id":125400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 17:01:14] local.INFO: Packet analysis {"connection_id":125400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 17:01:14] local.INFO: Extracted packet for processing {"connection_id":125400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 17:01:14] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 17:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556374016001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783423637000,"timestamp_ms":1783423637000,"timestamp_seconds":1783423637,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c551608"} 
[2026-07-07 17:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-07-07 17:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2520,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556374016001,"66":2253,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556374016001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:01:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:01:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556374016001,"power":2253,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 17:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":125400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:01:14] local.INFO: GPS data processed {"connection_id":125400,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:01:14] local.INFO: Acknowledgment sent {"connection_id":125400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:01:26] local.INFO: TCP Data received {"connection_id":124598,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:01:26] local.INFO: Processing buffer {"connection_id":124598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:01:26] local.INFO: IMEI packet received {"connection_id":124598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":124598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:01:31] local.INFO: TCP Data received {"connection_id":124598,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:01:31] local.INFO: Processing buffer {"connection_id":124598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:01:31] local.INFO: IMEI packet received {"connection_id":124598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":124598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:01:33] local.INFO: TCP Data received {"connection_id":124598,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 17:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 17:01:33] local.INFO: Processing buffer {"connection_id":124598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c551608012d7a1f4005e468380009015f29..."} 
[2026-07-07 17:01:33] local.INFO: Packet analysis {"connection_id":124598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 17:01:33] local.INFO: Extracted packet for processing {"connection_id":124598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c55"} 
[2026-07-07 17:01:33] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":9,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556374016001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783423637000,"timestamp_ms":1783423637000,"timestamp_seconds":1783423637,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c551608"} 
[2026-07-07 17:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17: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":9,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-07-07 17:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2520,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556374016001,"66":2253,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556374016001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:01:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:01:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556374016001,"power":2253,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 17:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":124598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:01:33] local.INFO: GPS data processed {"connection_id":124598,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:01:33] local.INFO: Acknowledgment sent {"connection_id":124598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:01:35] local.INFO: TCP Data received {"connection_id":125401,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c56d740012dc3f7c0053bf6d80025008c2b..."} 
[2026-07-07 17:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c56d740012dc3f7c0053bf6d80025008c2b..."} 
[2026-07-07 17:01:35] local.INFO: Processing buffer {"connection_id":125401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c56d740012dc3f7c0053bf6d80025008c2b..."} 
[2026-07-07 17:01:35] local.INFO: Packet analysis {"connection_id":125401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c56"} 
[2026-07-07 17:01:35] local.INFO: Extracted packet for processing {"connection_id":125401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c56"} 
[2026-07-07 17:01:35] local.INFO: GPS Element Parsed {"raw_longitude":767817664,"raw_latitude":87815896,"longitude_deg":76.7817664,"latitude_deg":8.7815896,"altitude":37,"angle":140,"satellites":43,"speed":33,"hex_longitude":"2dc3f7c0","hex_latitude":"053bf6d8","is_valid_coordinates":true} 
[2026-07-07 17:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556477696001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341649495752179712,"note":"Value kept but may cause issues"} 
[2026-07-07 17:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4332462819047677952,"note":"Value kept but may cause issues"} 
[2026-07-07 17:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783423752000,"timestamp_ms":1783423752000,"timestamp_seconds":1783423752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c56d740"} 
[2026-07-07 17:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 17:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556477696001,"66":27821,"1":206,"80":35072,"24":33,"16":341649495752179712,"45":-4332462819047677952},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-07 17:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556477696001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:01:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341649495752179712,"km_value":341649495752179.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4332462819047677952,"description":"Unknown IO ID 45"} 
[2026-07-07 17:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556477696001,"power":27821,"imei":206,"unknown_80":35072,"ignition":33,"odometer":null,"unknown_45":-4332462819047677952}} 
[2026-07-07 17:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":125401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:01:35] local.INFO: GPS data processed {"connection_id":125401,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:01:35] local.INFO: Acknowledgment sent {"connection_id":125401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:01:41] local.INFO: TCP Data received {"connection_id":126663,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c578320012d1712c007209180002d002a24..."} 
[2026-07-07 17:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c578320012d1712c007209180002d002a24..."} 
[2026-07-07 17:01:41] local.INFO: Processing buffer {"connection_id":126663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c578320012d1712c007209180002d002a24..."} 
[2026-07-07 17:01:41] local.INFO: Packet analysis {"connection_id":126663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c57"} 
[2026-07-07 17:01:41] local.INFO: Extracted packet for processing {"connection_id":126663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c57"} 
[2026-07-07 17:01:41] local.INFO: GPS Element Parsed {"raw_longitude":756486848,"raw_latitude":119574912,"longitude_deg":75.6486848,"latitude_deg":11.9574912,"altitude":45,"angle":42,"satellites":36,"speed":20,"hex_longitude":"2d1712c0","hex_latitude":"07209180","is_valid_coordinates":true} 
[2026-07-07 17:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556490752001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4698196005617664,"note":"Value kept but may cause issues"} 
[2026-07-07 17:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661194974412976128,"note":"Value kept but may cause issues"} 
[2026-07-07 17:01:41] 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-07-07 17:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783423796000,"timestamp_ms":1783423796000,"timestamp_seconds":1783423796,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c578320"} 
[2026-07-07 17:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-07 17:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556490752001,"66":13004,"122":206,"28":31744,"24":20,"16":4698196005617664,"45":1661194974412976128},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556490752001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:01:41] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:01:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4698196005617664,"km_value":4698196005617.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661194974412976128,"description":"Unknown IO ID 45"} 
[2026-07-07 17:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556490752001,"power":13004,"unknown_122":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1661194974412976128}} 
[2026-07-07 17:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":126663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:01:41] local.INFO: GPS data processed {"connection_id":126663,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:01:41] local.INFO: Acknowledgment sent {"connection_id":126663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:01:58] local.INFO: TCP Data received {"connection_id":125403,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:01:58] local.INFO: Processing buffer {"connection_id":125403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:01:58] local.INFO: IMEI packet received {"connection_id":125403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":125403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:02:02] local.INFO: TCP Data received {"connection_id":125403,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:02:02] local.INFO: Processing buffer {"connection_id":125403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:02:02] local.INFO: IMEI packet received {"connection_id":125403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":125403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:02:02] local.INFO: TCP Data received {"connection_id":124679,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:02:02] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:02:02] local.INFO: IMEI packet received {"connection_id":124679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":124679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:02:03] local.INFO: TCP Data received {"connection_id":124679,"ip":"117.224.183.97","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 17:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 17:02:03] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 17:02:03] local.INFO: IMEI packet received {"connection_id":124679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":124679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:02:03] local.INFO: TCP Data received {"connection_id":125403,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:02:03] local.INFO: Processing buffer {"connection_id":125403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:02:03] local.INFO: IMEI packet received {"connection_id":125403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":125403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:02:04] local.INFO: TCP Data received {"connection_id":125403,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c589490012dc4dc40053aa658001f00972b..."} 
[2026-07-07 17:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c589490012dc4dc40053aa658001f00972b..."} 
[2026-07-07 17:02:04] local.INFO: Processing buffer {"connection_id":125403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c589490012dc4dc40053aa658001f00972b..."} 
[2026-07-07 17:02:04] local.INFO: Packet analysis {"connection_id":125403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c58"} 
[2026-07-07 17:02:04] local.INFO: Extracted packet for processing {"connection_id":125403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c58"} 
[2026-07-07 17:02:04] local.INFO: GPS Element Parsed {"raw_longitude":767876160,"raw_latitude":87729752,"longitude_deg":76.787616,"latitude_deg":8.7729752,"altitude":31,"angle":151,"satellites":43,"speed":45,"hex_longitude":"2dc4dc40","hex_latitude":"053aa658","is_valid_coordinates":true} 
[2026-07-07 17:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556507648001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341654538043785216,"note":"Value kept but may cause issues"} 
[2026-07-07 17:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4266597674519257088,"note":"Value kept but may cause issues"} 
[2026-07-07 17:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783423866000,"timestamp_ms":1783423866000,"timestamp_seconds":1783423866,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c589490"} 
[2026-07-07 17:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 17:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556507648001,"66":27974,"243":206,"80":35072,"24":45,"16":341654538043785216,"45":-4266597674519257088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,80,24,16,45]} 
[2026-07-07 17:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556507648001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:02:04] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-07 17:02:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341654538043785216,"km_value":341654538043785.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4266597674519257088,"description":"Unknown IO ID 45"} 
[2026-07-07 17:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556507648001,"power":27974,"unknown_243":206,"unknown_80":35072,"ignition":45,"odometer":null,"unknown_45":-4266597674519257088}} 
[2026-07-07 17:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":125403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:02:04] local.INFO: GPS data processed {"connection_id":125403,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:02:04] local.INFO: Acknowledgment sent {"connection_id":125403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:02:07] local.INFO: TCP Data received {"connection_id":124679,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:02:07] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 17:02:07] local.INFO: IMEI packet received {"connection_id":124679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":124679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:02:08] local.INFO: TCP Data received {"connection_id":124679,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c57b5e8012d172ec00720ab48002f003124..."} 
[2026-07-07 17:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c57b5e8012d172ec00720ab48002f003124..."} 
[2026-07-07 17:02:08] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f3c..."} 
[2026-07-07 17:02:08] local.INFO: IMEI packet received {"connection_id":124679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":124679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:02:09] local.INFO: TCP Data received {"connection_id":124679,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c57dcf8012d174b800720c1f80033003120..."} 
[2026-07-07 17:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c57dcf8012d174b800720c1f80033003120..."} 
[2026-07-07 17:02:09] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3c57b5e8012d172ec00720ab48002f003124..."} 
[2026-07-07 17:02:09] local.INFO: Packet analysis {"connection_id":124679,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3c57"} 
[2026-07-07 17:02:09] local.INFO: Extracted packet for processing {"connection_id":124679,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c57"} 
[2026-07-07 17:02:09] local.INFO: GPS Element Parsed {"raw_longitude":756494016,"raw_latitude":119581512,"longitude_deg":75.6494016,"latitude_deg":11.9581512,"altitude":47,"angle":49,"satellites":36,"speed":34,"hex_longitude":"2d172ec0","hex_latitude":"0720ab48","is_valid_coordinates":true} 
[2026-07-07 17:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556491776001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4698664157052928,"note":"Value kept but may cause issues"} 
[2026-07-07 17:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1662602349296844800,"note":"Value kept but may cause issues"} 
[2026-07-07 17:02: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-07-07 17:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783423809000,"timestamp_ms":1783423809000,"timestamp_seconds":1783423809,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c57b5e8"} 
[2026-07-07 17:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:02: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-07-07 17: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-07 17:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556491776001,"66":14080,"122":206,"28":31744,"24":34,"16":4698664157052928,"45":1662602349296844800},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556491776001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:02:09] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:02:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4698664157052928,"km_value":4698664157052.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1662602349296844800,"description":"Unknown IO ID 45"} 
[2026-07-07 17:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556491776001,"power":14080,"unknown_122":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1662602349296844800}} 
[2026-07-07 17:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":124679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:02:09] local.INFO: GPS data processed {"connection_id":124679,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:02:09] local.INFO: Acknowledgment sent {"connection_id":124679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:02:09] local.INFO: Packet analysis {"connection_id":124679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c57"} 
[2026-07-07 17:02:09] local.INFO: Extracted packet for processing {"connection_id":124679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c57"} 
[2026-07-07 17:02:09] local.INFO: GPS Element Parsed {"raw_longitude":756501376,"raw_latitude":119587320,"longitude_deg":75.6501376,"latitude_deg":11.958732,"altitude":51,"angle":49,"satellites":32,"speed":37,"hex_longitude":"2d174b80","hex_latitude":"0720c1f8","is_valid_coordinates":true} 
[2026-07-07 17:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556495104001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4699110833651712,"note":"Value kept but may cause issues"} 
[2026-07-07 17:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1670483648646432768,"note":"Value kept but may cause issues"} 
[2026-07-07 17:02: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-07-07 17:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783423819000,"timestamp_ms":1783423819000,"timestamp_seconds":1783423819,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c57dcf8"} 
[2026-07-07 17:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:02: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-07-07 17: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-07 17:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499328,"note":"Value kept but may cause issues"} 
[2026-07-07 17:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2965372928,"note":"Value kept but may cause issues"} 
[2026-07-07 17:02:09] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3858759680,"note":"Value kept but may cause issues"} 
[2026-07-07 17:02:09] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2351431726,"note":"Value kept but may cause issues"} 
[2026-07-07 17:02:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-07-07 17:02:09] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3087084823,"note":"Value kept but may cause issues"} 
[2026-07-07 17:02:09] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,122,28,24,241,158,16,177,159,131,45,192,145,36,10,66,176,115,140,111,1,240,218,60,32,4,113,205,6,64,120,35,239,56,2,7,47,20],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-07-07 17:02:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386760950473424896,"timestamp_seconds":3386760950473425.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 17:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556495104001,"66":13928,"122":206,"28":31744,"24":37,"16":4699110833651712,"45":1670483648646432768},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556495104001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:02:09] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:02:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4699110833651712,"km_value":4699110833651.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1670483648646432768,"description":"Unknown IO ID 45"} 
[2026-07-07 17:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556495104001,"power":13928,"unknown_122":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1670483648646432768}} 
[2026-07-07 17:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":124679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:02:09] local.INFO: GPS data processed {"connection_id":124679,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:02:09] local.INFO: Acknowledgment sent {"connection_id":124679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:02:35] local.INFO: TCP Data received {"connection_id":125403,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c58b3d0012dc4eac0053a85a8002200a025..."} 
[2026-07-07 17:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c58b3d0012dc4eac0053a85a8002200a025..."} 
[2026-07-07 17:02:35] local.INFO: Processing buffer {"connection_id":125403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c58b3d0012dc4eac0053a85a8002200a025..."} 
[2026-07-07 17:02:35] local.INFO: Packet analysis {"connection_id":125403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c58"} 
[2026-07-07 17:02:35] local.INFO: Extracted packet for processing {"connection_id":125403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c58"} 
[2026-07-07 17:02:35] local.INFO: GPS Element Parsed {"raw_longitude":767879872,"raw_latitude":87721384,"longitude_deg":76.7879872,"latitude_deg":8.7721384,"altitude":34,"angle":160,"satellites":37,"speed":45,"hex_longitude":"2dc4eac0","hex_latitude":"053a85a8","is_valid_coordinates":true} 
[2026-07-07 17:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556509696001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341654980425416704,"note":"Value kept but may cause issues"} 
[2026-07-07 17:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4261460756196337664,"note":"Value kept but may cause issues"} 
[2026-07-07 17:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783423874000,"timestamp_ms":1783423874000,"timestamp_seconds":1783423874,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c58b3d0"} 
[2026-07-07 17:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 17:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556509696001,"66":27919,"243":206,"80":35072,"24":45,"16":341654980425416704,"45":-4261460756196337664},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,80,24,16,45]} 
[2026-07-07 17:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556509696001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:02:35] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-07 17:02:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341654980425416704,"km_value":341654980425416.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4261460756196337664,"description":"Unknown IO ID 45"} 
[2026-07-07 17:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556509696001,"power":27919,"unknown_243":206,"unknown_80":35072,"ignition":45,"odometer":null,"unknown_45":-4261460756196337664}} 
[2026-07-07 17:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":125403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:02:35] local.INFO: GPS data processed {"connection_id":125403,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:02:35] local.INFO: Acknowledgment sent {"connection_id":125403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:02:40] local.INFO: TCP Data received {"connection_id":124679,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c580408012d1766000720dab00038002a23..."} 
[2026-07-07 17:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c580408012d1766000720dab00038002a23..."} 
[2026-07-07 17:02:40] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c580408012d1766000720dab00038002a23..."} 
[2026-07-07 17:02:40] local.INFO: Packet analysis {"connection_id":124679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c58"} 
[2026-07-07 17:02:40] local.INFO: Extracted packet for processing {"connection_id":124679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c58"} 
[2026-07-07 17:02:40] local.INFO: GPS Element Parsed {"raw_longitude":756508160,"raw_latitude":119593648,"longitude_deg":75.650816,"latitude_deg":11.9593648,"altitude":56,"angle":42,"satellites":35,"speed":35,"hex_longitude":"2d176600","hex_latitude":"0720dab0","is_valid_coordinates":true} 
[2026-07-07 17:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556497664001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4699557510250496,"note":"Value kept but may cause issues"} 
[2026-07-07 17:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1678576054228350976,"note":"Value kept but may cause issues"} 
[2026-07-07 17:02:40] 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-07-07 17:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783423829000,"timestamp_ms":1783423829000,"timestamp_seconds":1783423829,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c580408"} 
[2026-07-07 17:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-07 17:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556497664001,"66":14070,"122":206,"28":31744,"24":35,"16":4699557510250496,"45":1678576054228350976},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556497664001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:02:40] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:02:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4699557510250496,"km_value":4699557510250.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1678576054228350976,"description":"Unknown IO ID 45"} 
[2026-07-07 17:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556497664001,"power":14070,"unknown_122":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1678576054228350976}} 
[2026-07-07 17:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":124679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:02:41] local.INFO: GPS data processed {"connection_id":124679,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:02:41] local.INFO: Acknowledgment sent {"connection_id":124679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:03:03] local.INFO: TCP Data received {"connection_id":124681,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:03:03] local.INFO: Processing buffer {"connection_id":124681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:03:03] local.INFO: IMEI packet received {"connection_id":124681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":124681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:03:04] local.INFO: TCP Data received {"connection_id":124681,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:03:04] local.INFO: Processing buffer {"connection_id":124681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:03:04] local.INFO: IMEI packet received {"connection_id":124681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":124681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:03:05] local.INFO: TCP Data received {"connection_id":124681,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:03:05] local.INFO: Processing buffer {"connection_id":124681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:03:05] local.INFO: IMEI packet received {"connection_id":124681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":124681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:03:06] local.INFO: TCP Data received {"connection_id":124681,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:03:06] local.INFO: Processing buffer {"connection_id":124681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:03:06] local.INFO: IMEI packet received {"connection_id":124681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":124681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:03:08] local.INFO: TCP Data received {"connection_id":124680,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:03:08] local.INFO: Processing buffer {"connection_id":124680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:03:08] local.INFO: IMEI packet received {"connection_id":124680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":124680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:03:25] local.INFO: TCP Data received {"connection_id":124680,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:03:25] local.INFO: Processing buffer {"connection_id":124680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:03:25] local.INFO: IMEI packet received {"connection_id":124680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":124680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:03:26] local.INFO: TCP Data received {"connection_id":124680,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c58d6f8012dc4f3c0053a6190002500a825..."} 
[2026-07-07 17:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c58d6f8012dc4f3c0053a6190002500a825..."} 
[2026-07-07 17:03:26] local.INFO: Processing buffer {"connection_id":124680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c58d6f8012dc4f3c0053a6190002500a825..."} 
[2026-07-07 17:03:26] local.INFO: Packet analysis {"connection_id":124680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c58"} 
[2026-07-07 17:03:26] local.INFO: Extracted packet for processing {"connection_id":124680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c58"} 
[2026-07-07 17:03:26] local.INFO: GPS Element Parsed {"raw_longitude":767882176,"raw_latitude":87712144,"longitude_deg":76.7882176,"latitude_deg":8.7712144,"altitude":37,"angle":168,"satellites":37,"speed":36,"hex_longitude":"2dc4f3c0","hex_latitude":"053a6190","is_valid_coordinates":true} 
[2026-07-07 17:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556511744001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341655439986917376,"note":"Value kept but may cause issues"} 
[2026-07-07 17:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4257379369036175360,"note":"Value kept but may cause issues"} 
[2026-07-07 17:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783423883000,"timestamp_ms":1783423883000,"timestamp_seconds":1783423883,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c58d6f8"} 
[2026-07-07 17:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:03: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-07-07 17:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 17:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":124680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":124680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":124680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556511744001,"66":27919,"243":206,"80":35072,"24":36,"16":341655439986917376,"45":-4257379369036175360},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,80,24,16,45]} 
[2026-07-07 17:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556511744001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:03:26] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-07 17:03:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341655439986917376,"km_value":341655439986917.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4257379369036175360,"description":"Unknown IO ID 45"} 
[2026-07-07 17:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556511744001,"power":27919,"unknown_243":206,"unknown_80":35072,"ignition":36,"odometer":null,"unknown_45":-4257379369036175360}} 
[2026-07-07 17:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":124680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:03:26] local.INFO: GPS data processed {"connection_id":124680,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:03:26] local.INFO: Acknowledgment sent {"connection_id":124680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:03:27] local.INFO: TCP Data received {"connection_id":124680,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5909c0012dc4fa00053a3d48002800a92c..."} 
[2026-07-07 17:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5909c0012dc4fa00053a3d48002800a92c..."} 
[2026-07-07 17:03:27] local.INFO: Processing buffer {"connection_id":124680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5909c0012dc4fa00053a3d48002800a92c..."} 
[2026-07-07 17:03:27] local.INFO: Packet analysis {"connection_id":124680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c59"} 
[2026-07-07 17:03:27] local.INFO: Extracted packet for processing {"connection_id":124680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c59"} 
[2026-07-07 17:03:27] local.INFO: GPS Element Parsed {"raw_longitude":767883776,"raw_latitude":87702856,"longitude_deg":76.7883776,"latitude_deg":8.7702856,"altitude":40,"angle":169,"satellites":44,"speed":25,"hex_longitude":"2dc4fa00","hex_latitude":"053a3d48","is_valid_coordinates":true} 
[2026-07-07 17:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556514048001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341655899548418048,"note":"Value kept but may cause issues"} 
[2026-07-07 17:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4254846094248144896,"note":"Value kept but may cause issues"} 
[2026-07-07 17:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783423896000,"timestamp_ms":1783423896000,"timestamp_seconds":1783423896,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5909c0"} 
[2026-07-07 17:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:03: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-07-07 17:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 17:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556514048001,"66":27995,"243":206,"80":35072,"24":25,"16":341655899548418048,"45":-4254846094248144896},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,80,24,16,45]} 
[2026-07-07 17:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556514048001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:03:27] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-07 17:03:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341655899548418048,"km_value":341655899548418.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4254846094248144896,"description":"Unknown IO ID 45"} 
[2026-07-07 17:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556514048001,"power":27995,"unknown_243":206,"unknown_80":35072,"ignition":25,"odometer":null,"unknown_45":-4254846094248144896}} 
[2026-07-07 17:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":124680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:03:27] local.INFO: GPS data processed {"connection_id":124680,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:03:27] local.INFO: Acknowledgment sent {"connection_id":124680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:03:59] local.INFO: TCP Data received {"connection_id":124682,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:03:59] local.INFO: Processing buffer {"connection_id":124682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:03:59] local.INFO: IMEI packet received {"connection_id":124682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":124682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:03:59] local.INFO: TCP Data received {"connection_id":124682,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:03:59] local.INFO: Processing buffer {"connection_id":124682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:03:59] local.INFO: IMEI packet received {"connection_id":124682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":124682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:04:03] local.INFO: TCP Data received {"connection_id":124682,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:04:03] local.INFO: Processing buffer {"connection_id":124682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:04:03] local.INFO: IMEI packet received {"connection_id":124682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":124682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:04:04] local.INFO: TCP Data received {"connection_id":124682,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5953f8012dc50040053a1a38002b00a92d..."} 
[2026-07-07 17:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5953f8012dc50040053a1a38002b00a92d..."} 
[2026-07-07 17:04:04] local.INFO: Processing buffer {"connection_id":124682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5953f8012dc50040053a1a38002b00a92d..."} 
[2026-07-07 17:04:04] local.INFO: Packet analysis {"connection_id":124682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c59"} 
[2026-07-07 17:04:04] local.INFO: Extracted packet for processing {"connection_id":124682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c59"} 
[2026-07-07 17:04:04] local.INFO: GPS Element Parsed {"raw_longitude":767885376,"raw_latitude":87693880,"longitude_deg":76.7885376,"latitude_deg":8.769388,"altitude":43,"angle":169,"satellites":45,"speed":17,"hex_longitude":"2dc50040","hex_latitude":"053a1a38","is_valid_coordinates":true} 
[2026-07-07 17:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556517376001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341656341930049536,"note":"Value kept but may cause issues"} 
[2026-07-07 17:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4253086875646081024,"note":"Value kept but may cause issues"} 
[2026-07-07 17:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783423915000,"timestamp_ms":1783423915000,"timestamp_seconds":1783423915,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5953f8"} 
[2026-07-07 17:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 17:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556517376001,"66":27908,"243":206,"80":35072,"24":17,"16":341656341930049536,"45":-4253086875646081024},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,80,24,16,45]} 
[2026-07-07 17:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556517376001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:04:04] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-07 17:04:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341656341930049536,"km_value":341656341930049.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4253086875646081024,"description":"Unknown IO ID 45"} 
[2026-07-07 17:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556517376001,"power":27908,"unknown_243":206,"unknown_80":35072,"ignition":17,"odometer":null,"unknown_45":-4253086875646081024}} 
[2026-07-07 17:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":124682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:04:04] local.INFO: GPS data processed {"connection_id":124682,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:04:04] local.INFO: Acknowledgment sent {"connection_id":124682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:04:09] local.INFO: TCP Data received {"connection_id":124682,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c599278012dc507000539f758002d00a82a..."} 
[2026-07-07 17:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c599278012dc507000539f758002d00a82a..."} 
[2026-07-07 17:04:09] local.INFO: Processing buffer {"connection_id":124682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c599278012dc507000539f758002d00a82a..."} 
[2026-07-07 17:04:09] local.INFO: Packet analysis {"connection_id":124682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c59"} 
[2026-07-07 17:04:09] local.INFO: Extracted packet for processing {"connection_id":124682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c59"} 
[2026-07-07 17:04:09] local.INFO: GPS Element Parsed {"raw_longitude":767887104,"raw_latitude":87684952,"longitude_deg":76.7887104,"latitude_deg":8.7684952,"altitude":45,"angle":168,"satellites":42,"speed":18,"hex_longitude":"2dc50700","hex_latitude":"0539f758","is_valid_coordinates":true} 
[2026-07-07 17:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556522240001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341656784311681024,"note":"Value kept but may cause issues"} 
[2026-07-07 17:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4251327657043937280,"note":"Value kept but may cause issues"} 
[2026-07-07 17:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783423931000,"timestamp_ms":1783423931000,"timestamp_seconds":1783423931,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c599278"} 
[2026-07-07 17:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":4,"data_length":795,"current_offset":136} 
[2026-07-07 17:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556522240001,"66":27843,"243":206,"80":35072,"24":18,"16":341656784311681024,"45":-4251327657043937280},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,80,24,16,45]} 
[2026-07-07 17:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556522240001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:04:09] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-07 17:04:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341656784311681024,"km_value":341656784311681.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4251327657043937280,"description":"Unknown IO ID 45"} 
[2026-07-07 17:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556522240001,"power":27843,"unknown_243":206,"unknown_80":35072,"ignition":18,"odometer":null,"unknown_45":-4251327657043937280}} 
[2026-07-07 17:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":124682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:04:09] local.INFO: GPS data processed {"connection_id":124682,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:04:09] local.INFO: Acknowledgment sent {"connection_id":124682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:04:23] local.INFO: TCP Data received {"connection_id":124683,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:04:23] local.INFO: Processing buffer {"connection_id":124683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:04:23] local.INFO: IMEI packet received {"connection_id":124683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 17:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":124683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:04:39] local.INFO: TCP Data received {"connection_id":124682,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c59add0012dc509400539ec40002d00b42d..."} 
[2026-07-07 17:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c59add0012dc509400539ec40002d00b42d..."} 
[2026-07-07 17:04:39] local.INFO: Processing buffer {"connection_id":124682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c59add0012dc509400539ec40002d00b42d..."} 
[2026-07-07 17:04:39] local.INFO: Packet analysis {"connection_id":124682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c59"} 
[2026-07-07 17:04:39] local.INFO: Extracted packet for processing {"connection_id":124682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c59"} 
[2026-07-07 17:04:39] local.INFO: GPS Element Parsed {"raw_longitude":767887680,"raw_latitude":87682112,"longitude_deg":76.788768,"latitude_deg":8.7682112,"altitude":45,"angle":180,"satellites":45,"speed":17,"hex_longitude":"2dc50940","hex_latitude":"0539ec40","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556526336001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341656926045601792,"note":"Value kept but may cause issues"} 
[2026-07-07 17:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4249427700953425920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783423938000,"timestamp_ms":1783423938000,"timestamp_seconds":1783423938,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c59add0"} 
[2026-07-07 17:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:04: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-07-07 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 17:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:04: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-07-07 17:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556526336001,"66":27865,"243":206,"80":35072,"24":17,"16":341656926045601792,"45":-4249427700953425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,80,24,16,45]} 
[2026-07-07 17:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556526336001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:04:39] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-07 17:04:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341656926045601792,"km_value":341656926045601.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4249427700953425920,"description":"Unknown IO ID 45"} 
[2026-07-07 17:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556526336001,"power":27865,"unknown_243":206,"unknown_80":35072,"ignition":17,"odometer":null,"unknown_45":-4249427700953425920}} 
[2026-07-07 17:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":124682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:04:40] local.INFO: GPS data processed {"connection_id":124682,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:04:40] local.INFO: Acknowledgment sent {"connection_id":124682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:05:00] local.INFO: TCP Data received {"connection_id":124600,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:05:00] local.INFO: Processing buffer {"connection_id":124600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:05:00] local.INFO: IMEI packet received {"connection_id":124600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":124600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:05:00] local.INFO: TCP Data received {"connection_id":124600,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:05:00] local.INFO: Processing buffer {"connection_id":124600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:05:00] local.INFO: IMEI packet received {"connection_id":124600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":124600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:05:04] local.INFO: TCP Data received {"connection_id":124600,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:05:04] local.INFO: Processing buffer {"connection_id":124600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:05:04] local.INFO: IMEI packet received {"connection_id":124600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":124600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:05:05] local.INFO: TCP Data received {"connection_id":124600,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5b3c40012dc587c00538d5e0003c009f2d..."} 
[2026-07-07 17:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5b3c40012dc587c00538d5e0003c009f2d..."} 
[2026-07-07 17:05:05] local.INFO: Processing buffer {"connection_id":124600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5b3c40012dc587c00538d5e0003c009f2d..."} 
[2026-07-07 17:05:05] local.INFO: Packet analysis {"connection_id":124600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5b"} 
[2026-07-07 17:05:05] local.INFO: Extracted packet for processing {"connection_id":124600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5b"} 
[2026-07-07 17:05:05] local.INFO: GPS Element Parsed {"raw_longitude":767920064,"raw_latitude":87610848,"longitude_deg":76.7920064,"latitude_deg":8.7610848,"altitude":60,"angle":159,"satellites":45,"speed":29,"hex_longitude":"2dc587c0","hex_latitude":"0538d5e0","is_valid_coordinates":true} 
[2026-07-07 17:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556551680001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341660808696037376,"note":"Value kept but may cause issues"} 
[2026-07-07 17:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4216284022462558208,"note":"Value kept but may cause issues"} 
[2026-07-07 17:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783424040000,"timestamp_ms":1783424040000,"timestamp_seconds":1783424040,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5b3c40"} 
[2026-07-07 17:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 17:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556551680001,"66":27919,"241":206,"80":35072,"24":29,"16":341660808696037376,"45":-4216284022462558208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-07-07 17:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556551680001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:05:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-07 17:05:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341660808696037376,"km_value":341660808696037.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4216284022462558208,"description":"Unknown IO ID 45"} 
[2026-07-07 17:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556551680001,"power":27919,"unknown_241":206,"unknown_80":35072,"ignition":29,"odometer":null,"unknown_45":-4216284022462558208}} 
[2026-07-07 17:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":124600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:05:05] local.INFO: GPS data processed {"connection_id":124600,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:05:05] local.INFO: Acknowledgment sent {"connection_id":124600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:05:09] local.INFO: TCP Data received {"connection_id":124600,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5b47f8012dc58bc00538cdf8003d00902e..."} 
[2026-07-07 17:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5b47f8012dc58bc00538cdf8003d00902e..."} 
[2026-07-07 17:05:09] local.INFO: Processing buffer {"connection_id":124600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5b47f8012dc58bc00538cdf8003d00902e..."} 
[2026-07-07 17:05:09] local.INFO: Packet analysis {"connection_id":124600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5b"} 
[2026-07-07 17:05:09] local.INFO: Extracted packet for processing {"connection_id":124600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5b"} 
[2026-07-07 17:05:09] local.INFO: GPS Element Parsed {"raw_longitude":767921088,"raw_latitude":87608824,"longitude_deg":76.7921088,"latitude_deg":8.7608824,"altitude":61,"angle":144,"satellites":46,"speed":28,"hex_longitude":"2dc58bc0","hex_latitude":"0538cdf8","is_valid_coordinates":true} 
[2026-07-07 17:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556554240001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341660920365187072,"note":"Value kept but may cause issues"} 
[2026-07-07 17:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4213187797720899584,"note":"Value kept but may cause issues"} 
[2026-07-07 17:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783424043000,"timestamp_ms":1783424043000,"timestamp_seconds":1783424043,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5b47f8"} 
[2026-07-07 17:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 17:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556554240001,"66":27691,"241":206,"80":35072,"24":28,"16":341660920365187072,"45":-4213187797720899584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-07-07 17:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556554240001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:05:09] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-07 17:05:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341660920365187072,"km_value":341660920365187.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4213187797720899584,"description":"Unknown IO ID 45"} 
[2026-07-07 17:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556554240001,"power":27691,"unknown_241":206,"unknown_80":35072,"ignition":28,"odometer":null,"unknown_45":-4213187797720899584}} 
[2026-07-07 17:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":124600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:05:09] local.INFO: GPS data processed {"connection_id":124600,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:05:09] local.INFO: Acknowledgment sent {"connection_id":124600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:05:40] local.INFO: TCP Data received {"connection_id":124600,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5b6350012dc596000538bfa8003b00a02c..."} 
[2026-07-07 17:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5b6350012dc596000538bfa8003b00a02c..."} 
[2026-07-07 17:05:40] local.INFO: Processing buffer {"connection_id":124600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5b6350012dc596000538bfa8003b00a02c..."} 
[2026-07-07 17:05:40] local.INFO: Packet analysis {"connection_id":124600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5b"} 
[2026-07-07 17:05:40] local.INFO: Extracted packet for processing {"connection_id":124600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5b"} 
[2026-07-07 17:05:40] local.INFO: GPS Element Parsed {"raw_longitude":767923712,"raw_latitude":87605160,"longitude_deg":76.7923712,"latitude_deg":8.760516,"altitude":59,"angle":160,"satellites":44,"speed":26,"hex_longitude":"2dc59600","hex_latitude":"0538bfa8","is_valid_coordinates":true} 
[2026-07-07 17:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556555008001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341661139408519168,"note":"Value kept but may cause issues"} 
[2026-07-07 17:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4212061897814575104,"note":"Value kept but may cause issues"} 
[2026-07-07 17:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783424050000,"timestamp_ms":1783424050000,"timestamp_seconds":1783424050,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5b6350"} 
[2026-07-07 17:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-07 17:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556555008001,"66":27930,"241":206,"80":35072,"24":26,"16":341661139408519168,"45":-4212061897814575104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-07-07 17:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556555008001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:05:40] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-07 17:05:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341661139408519168,"km_value":341661139408519.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4212061897814575104,"description":"Unknown IO ID 45"} 
[2026-07-07 17:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556555008001,"power":27930,"unknown_241":206,"unknown_80":35072,"ignition":26,"odometer":null,"unknown_45":-4212061897814575104}} 
[2026-07-07 17:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":124600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:05:40] local.INFO: GPS data processed {"connection_id":124600,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:05:40] local.INFO: Acknowledgment sent {"connection_id":124600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:05:58] local.INFO: TCP Data received {"connection_id":126665,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:05:58] local.INFO: Processing buffer {"connection_id":126665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:05:58] local.INFO: IMEI packet received {"connection_id":126665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":126665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:06:00] local.INFO: TCP Data received {"connection_id":126665,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:06:00] local.INFO: Processing buffer {"connection_id":126665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:06:00] local.INFO: IMEI packet received {"connection_id":126665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":126665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:06:03] local.INFO: TCP Data received {"connection_id":126665,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:06:03] local.INFO: Processing buffer {"connection_id":126665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:06:03] local.INFO: IMEI packet received {"connection_id":126665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":126665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:06:04] local.INFO: TCP Data received {"connection_id":126665,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5b8e48012dc5a38005389d78003c009f2a..."} 
[2026-07-07 17:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5b8e48012dc5a38005389d78003c009f2a..."} 
[2026-07-07 17:06:04] local.INFO: Processing buffer {"connection_id":126665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5b8e48012dc5a38005389d78003c009f2a..."} 
[2026-07-07 17:06:04] local.INFO: Packet analysis {"connection_id":126665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5b"} 
[2026-07-07 17:06:04] local.INFO: Extracted packet for processing {"connection_id":126665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5b"} 
[2026-07-07 17:06:04] local.INFO: GPS Element Parsed {"raw_longitude":767927168,"raw_latitude":87596408,"longitude_deg":76.7927168,"latitude_deg":8.7596408,"altitude":60,"angle":159,"satellites":42,"speed":40,"hex_longitude":"2dc5a380","hex_latitude":"05389d78","is_valid_coordinates":true} 
[2026-07-07 17:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556556800001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341661594675052544,"note":"Value kept but may cause issues"} 
[2026-07-07 17:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4209176779304228864,"note":"Value kept but may cause issues"} 
[2026-07-07 17:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783424061000,"timestamp_ms":1783424061000,"timestamp_seconds":1783424061,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5b8e48"} 
[2026-07-07 17:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 17:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556556800001,"66":27789,"241":206,"80":35072,"24":40,"16":341661594675052544,"45":-4209176779304228864},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-07-07 17:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556556800001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:06:04] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-07 17:06:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341661594675052544,"km_value":341661594675052.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4209176779304228864,"description":"Unknown IO ID 45"} 
[2026-07-07 17:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556556800001,"power":27789,"unknown_241":206,"unknown_80":35072,"ignition":40,"odometer":null,"unknown_45":-4209176779304228864}} 
[2026-07-07 17:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":126665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:06:04] local.INFO: GPS data processed {"connection_id":126665,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:06:04] local.INFO: Acknowledgment sent {"connection_id":126665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:06:13] local.INFO: TCP Data received {"connection_id":125404,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:06:13] local.INFO: Processing buffer {"connection_id":125404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:06:13] local.INFO: IMEI packet received {"connection_id":125404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 17:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":125404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:06:36] local.INFO: TCP Data received {"connection_id":126665,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5bb170012dc5b100053879d00039009f2a..."} 
[2026-07-07 17:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5bb170012dc5b100053879d00039009f2a..."} 
[2026-07-07 17:06:36] local.INFO: Processing buffer {"connection_id":126665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5bb170012dc5b100053879d00039009f2a..."} 
[2026-07-07 17:06:36] local.INFO: Packet analysis {"connection_id":126665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5b"} 
[2026-07-07 17:06:36] local.INFO: Extracted packet for processing {"connection_id":126665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5b"} 
[2026-07-07 17:06:36] local.INFO: GPS Element Parsed {"raw_longitude":767930624,"raw_latitude":87587280,"longitude_deg":76.7930624,"latitude_deg":8.758728,"altitude":57,"angle":159,"satellites":42,"speed":43,"hex_longitude":"2dc5b100","hex_latitude":"053879d0","is_valid_coordinates":true} 
[2026-07-07 17:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556559616001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341662067121455104,"note":"Value kept but may cause issues"} 
[2026-07-07 17:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4205376867120875520,"note":"Value kept but may cause issues"} 
[2026-07-07 17:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783424070000,"timestamp_ms":1783424070000,"timestamp_seconds":1783424070,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5bb170"} 
[2026-07-07 17:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:06: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-07-07 17:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-07 17:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556559616001,"66":28006,"113":206,"80":35072,"24":43,"16":341662067121455104,"45":-4205376867120875520},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 17:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556559616001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:06:36] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 17:06:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341662067121455104,"km_value":341662067121455.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4205376867120875520,"description":"Unknown IO ID 45"} 
[2026-07-07 17:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556559616001,"power":28006,"unknown_113":206,"unknown_80":35072,"ignition":43,"odometer":null,"unknown_45":-4205376867120875520}} 
[2026-07-07 17:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":126665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:06:36] local.INFO: GPS data processed {"connection_id":126665,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:06:36] local.INFO: Acknowledgment sent {"connection_id":126665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:06:57] local.INFO: TCP Data received {"connection_id":125406,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:06:57] local.INFO: Processing buffer {"connection_id":125406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:06:57] local.INFO: IMEI packet received {"connection_id":125406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":125406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:06:58] local.INFO: TCP Data received {"connection_id":125406,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:06:58] local.INFO: Processing buffer {"connection_id":125406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:06:58] local.INFO: IMEI packet received {"connection_id":125406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":125406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:06:59] local.INFO: TCP Data received {"connection_id":125405,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:06:59] local.INFO: Processing buffer {"connection_id":125405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:06:59] local.INFO: IMEI packet received {"connection_id":125405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 17:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":125405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:07:04] local.INFO: TCP Data received {"connection_id":125406,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:07:04] local.INFO: Processing buffer {"connection_id":125406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:07:04] local.INFO: IMEI packet received {"connection_id":125406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":125406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:07:05] local.INFO: TCP Data received {"connection_id":125406,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5d2488012dc640c005373f600032008d2d..."} 
[2026-07-07 17:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5d2488012dc640c005373f600032008d2d..."} 
[2026-07-07 17:07:05] local.INFO: Processing buffer {"connection_id":125406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5d2488012dc640c005373f600032008d2d..."} 
[2026-07-07 17:07:05] local.INFO: Packet analysis {"connection_id":125406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5d"} 
[2026-07-07 17:07:05] local.INFO: Extracted packet for processing {"connection_id":125406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5d"} 
[2026-07-07 17:07:05] local.INFO: GPS Element Parsed {"raw_longitude":767967424,"raw_latitude":87506784,"longitude_deg":76.7967424,"latitude_deg":8.7506784,"altitude":50,"angle":141,"satellites":45,"speed":37,"hex_longitude":"2dc640c0","hex_latitude":"05373f60","is_valid_coordinates":true} 
[2026-07-07 17:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556584704001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341666370678685696,"note":"Value kept but may cause issues"} 
[2026-07-07 17:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4164000045566263296,"note":"Value kept but may cause issues"} 
[2026-07-07 17:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783424165000,"timestamp_ms":1783424165000,"timestamp_seconds":1783424165,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5d2488"} 
[2026-07-07 17:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 17:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556584704001,"66":27995,"37":206,"80":35072,"24":37,"16":341666370678685696,"45":-4164000045566263296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,80,24,16,45]} 
[2026-07-07 17:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556584704001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:07:05] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 17:07:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341666370678685696,"km_value":341666370678685.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4164000045566263296,"description":"Unknown IO ID 45"} 
[2026-07-07 17:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556584704001,"power":27995,"unknown_37":206,"unknown_80":35072,"ignition":37,"odometer":null,"unknown_45":-4164000045566263296}} 
[2026-07-07 17:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":125406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:07:05] local.INFO: GPS data processed {"connection_id":125406,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:07:05] local.INFO: Acknowledgment sent {"connection_id":125406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:07:37] local.INFO: TCP Data received {"connection_id":125406,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5d3bf8012dc6514005372dd0003300822b..."} 
[2026-07-07 17:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5d3bf8012dc6514005372dd0003300822b..."} 
[2026-07-07 17:07:37] local.INFO: Processing buffer {"connection_id":125406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5d3bf8012dc6514005372dd0003300822b..."} 
[2026-07-07 17:07:37] local.INFO: Packet analysis {"connection_id":125406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5d"} 
[2026-07-07 17:07:37] local.INFO: Extracted packet for processing {"connection_id":125406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5d"} 
[2026-07-07 17:07:37] local.INFO: GPS Element Parsed {"raw_longitude":767971648,"raw_latitude":87502288,"longitude_deg":76.7971648,"latitude_deg":8.7502288,"altitude":51,"angle":130,"satellites":43,"speed":44,"hex_longitude":"2dc65140","hex_latitude":"05372dd0","is_valid_coordinates":true} 
[2026-07-07 17:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556586240001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341666667031429120,"note":"Value kept but may cause issues"} 
[2026-07-07 17:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4161114927056068608,"note":"Value kept but may cause issues"} 
[2026-07-07 17:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783424171000,"timestamp_ms":1783424171000,"timestamp_seconds":1783424171,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5d3bf8"} 
[2026-07-07 17:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:07: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-07-07 17:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 17:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556586240001,"66":27919,"37":206,"80":35072,"24":44,"16":341666667031429120,"45":-4161114927056068608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,80,24,16,45]} 
[2026-07-07 17:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556586240001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:07:37] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 17:07:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341666667031429120,"km_value":341666667031429.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4161114927056068608,"description":"Unknown IO ID 45"} 
[2026-07-07 17:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556586240001,"power":27919,"unknown_37":206,"unknown_80":35072,"ignition":44,"odometer":null,"unknown_45":-4161114927056068608}} 
[2026-07-07 17:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":125406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:07:37] local.INFO: GPS data processed {"connection_id":125406,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:07:37] local.INFO: Acknowledgment sent {"connection_id":125406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:07:41] local.INFO: TCP Data received {"connection_id":124603,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:07:41] local.INFO: Processing buffer {"connection_id":124603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:07:41] local.INFO: IMEI packet received {"connection_id":124603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":124603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:07:47] local.INFO: TCP Data received {"connection_id":124603,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:07:47] local.INFO: Processing buffer {"connection_id":124603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:07:47] local.INFO: IMEI packet received {"connection_id":124603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":124603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:07:51] local.INFO: TCP Data received {"connection_id":124603,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c59add0012d7a1f4005e468380011015f2b..."} 
[2026-07-07 17:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c59add0012d7a1f4005e468380011015f2b..."} 
[2026-07-07 17:07:51] local.INFO: Processing buffer {"connection_id":124603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c59add0012d7a1f4005e468380011015f2b..."} 
[2026-07-07 17:07:51] local.INFO: Packet analysis {"connection_id":124603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c59"} 
[2026-07-07 17:07:51] local.INFO: Extracted packet for processing {"connection_id":124603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c59"} 
[2026-07-07 17:07:51] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":17,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 17:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556451072001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783423938000,"timestamp_ms":1783423938000,"timestamp_seconds":1783423938,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c59add0"} 
[2026-07-07 17:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 17:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":124603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":124603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":124603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556451072001,"66":2253,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556451072001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:07:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:07:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556451072001,"power":2253,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 17:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":124603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:07:51] local.INFO: GPS data processed {"connection_id":124603,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:07:51] local.INFO: Acknowledgment sent {"connection_id":124603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:07:58] local.INFO: TCP Data received {"connection_id":124687,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:07:58] local.INFO: Processing buffer {"connection_id":124687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:07:58] local.INFO: IMEI packet received {"connection_id":124687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":124687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:08:03] local.INFO: TCP Data received {"connection_id":124687,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:08:03] local.INFO: Processing buffer {"connection_id":124687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:08:03] local.INFO: IMEI packet received {"connection_id":124687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":124687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:08:04] local.INFO: TCP Data received {"connection_id":124687,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5d5b38012dc66ec0053718700033007a2c..."} 
[2026-07-07 17:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5d5b38012dc66ec0053718700033007a2c..."} 
[2026-07-07 17:08:04] local.INFO: Processing buffer {"connection_id":124687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5d5b38012dc66ec0053718700033007a2c..."} 
[2026-07-07 17:08:04] local.INFO: Packet analysis {"connection_id":124687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5d"} 
[2026-07-07 17:08:04] local.INFO: Extracted packet for processing {"connection_id":124687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5d"} 
[2026-07-07 17:08:04] local.INFO: GPS Element Parsed {"raw_longitude":767979200,"raw_latitude":87496816,"longitude_deg":76.79792,"latitude_deg":8.7496816,"altitude":51,"angle":122,"satellites":44,"speed":47,"hex_longitude":"2dc66ec0","hex_latitude":"05371870","is_valid_coordinates":true} 
[2026-07-07 17:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556587776001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341667113708027904,"note":"Value kept but may cause issues"} 
[2026-07-07 17:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4156470589941493760,"note":"Value kept but may cause issues"} 
[2026-07-07 17:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783424179000,"timestamp_ms":1783424179000,"timestamp_seconds":1783424179,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5d5b38"} 
[2026-07-07 17:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 17:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556587776001,"66":27865,"37":206,"80":35072,"24":47,"16":341667113708027904,"45":-4156470589941493760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,80,24,16,45]} 
[2026-07-07 17:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556587776001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:08:04] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-07 17:08:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341667113708027904,"km_value":341667113708027.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4156470589941493760,"description":"Unknown IO ID 45"} 
[2026-07-07 17:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556587776001,"power":27865,"unknown_37":206,"unknown_80":35072,"ignition":47,"odometer":null,"unknown_45":-4156470589941493760}} 
[2026-07-07 17:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":124687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:08:04] local.INFO: GPS data processed {"connection_id":124687,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:08:04] local.INFO: Acknowledgment sent {"connection_id":124687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:08:23] local.INFO: TCP Data received {"connection_id":125407,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:08:23] local.INFO: Processing buffer {"connection_id":125407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:08:23] local.INFO: IMEI packet received {"connection_id":125407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":125407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:08:31] local.INFO: TCP Data received {"connection_id":125408,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:08:31] local.INFO: Processing buffer {"connection_id":125408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:08:31] local.INFO: IMEI packet received {"connection_id":125408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":125408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:08:35] local.INFO: TCP Data received {"connection_id":124687,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5e8800012dc765800535e190001f009b2b..."} 
[2026-07-07 17:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5e8800012dc765800535e190001f009b2b..."} 
[2026-07-07 17:08:35] local.INFO: Processing buffer {"connection_id":124687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5e8800012dc765800535e190001f009b2b..."} 
[2026-07-07 17:08:35] local.INFO: Packet analysis {"connection_id":124687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5e"} 
[2026-07-07 17:08:35] local.INFO: Extracted packet for processing {"connection_id":124687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5e"} 
[2026-07-07 17:08:35] local.INFO: GPS Element Parsed {"raw_longitude":768042368,"raw_latitude":87417232,"longitude_deg":76.8042368,"latitude_deg":8.7417232,"altitude":31,"angle":155,"satellites":43,"speed":62,"hex_longitude":"2dc76580","hex_latitude":"0535e190","is_valid_coordinates":true} 
[2026-07-07 17:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556608000001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341672082985189376,"note":"Value kept but may cause issues"} 
[2026-07-07 17:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4082724146062891008,"note":"Value kept but may cause issues"} 
[2026-07-07 17:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783424256000,"timestamp_ms":1783424256000,"timestamp_seconds":1783424256,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5e8800"} 
[2026-07-07 17:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 17:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556608000001,"66":27930,"27":206,"80":35072,"24":62,"16":341672082985189376,"45":-4082724146062891008},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,80,24,16,45]} 
[2026-07-07 17:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556608000001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:08:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-07 17:08:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341672082985189376,"km_value":341672082985189.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4082724146062891008,"description":"Unknown IO ID 45"} 
[2026-07-07 17:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556608000001,"power":27930,"unknown_27":206,"unknown_80":35072,"ignition":62,"odometer":null,"unknown_45":-4082724146062891008}} 
[2026-07-07 17:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":124687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:08:35] local.INFO: GPS data processed {"connection_id":124687,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:08:35] local.INFO: Acknowledgment sent {"connection_id":124687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:08:36] local.INFO: TCP Data received {"connection_id":125408,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:08:36] local.INFO: Processing buffer {"connection_id":125408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:08:36] local.INFO: IMEI packet received {"connection_id":125408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":125408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:08:44] local.INFO: TCP Data received {"connection_id":125408,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5bdc68012d7a1f4005e468380011015f22..."} 
[2026-07-07 17:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5bdc68012d7a1f4005e468380011015f22..."} 
[2026-07-07 17:08:44] local.INFO: Processing buffer {"connection_id":125408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5bdc68012d7a1f4005e468380011015f22..."} 
[2026-07-07 17:08:44] local.INFO: Packet analysis {"connection_id":125408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5b"} 
[2026-07-07 17:08:44] local.INFO: Extracted packet for processing {"connection_id":125408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5b"} 
[2026-07-07 17:08:44] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":17,"angle":351,"satellites":34,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 17:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556528128001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783424081000,"timestamp_ms":1783424081000,"timestamp_seconds":1783424081,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5bdc68"} 
[2026-07-07 17:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 17:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":125408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":125408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":125408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556528128001,"66":2253,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556528128001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:08:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:08:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556528128001,"power":2253,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 17:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":125408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:08:44] local.INFO: GPS data processed {"connection_id":125408,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:08:44] local.INFO: Acknowledgment sent {"connection_id":125408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:08:50] local.INFO: TCP Data received {"connection_id":125408,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5bdc68012d7a1f4005e468380011015f22..."} 
[2026-07-07 17:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5bdc68012d7a1f4005e468380011015f22..."} 
[2026-07-07 17:08:50] local.INFO: Processing buffer {"connection_id":125408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5bdc68012d7a1f4005e468380011015f22..."} 
[2026-07-07 17:08:50] local.INFO: Packet analysis {"connection_id":125408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5b"} 
[2026-07-07 17:08:50] local.INFO: Extracted packet for processing {"connection_id":125408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5b"} 
[2026-07-07 17:08:50] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":17,"angle":351,"satellites":34,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 17:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556564736001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783424081000,"timestamp_ms":1783424081000,"timestamp_seconds":1783424081,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5bdc68"} 
[2026-07-07 17:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:08:50] 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-07-07 17:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 17:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:08: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-07-07 17:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556564736001,"66":2253,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556564736001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:08:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:08:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556564736001,"power":2253,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 17:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":125408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:08:50] local.INFO: GPS data processed {"connection_id":125408,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:08:50] local.INFO: Acknowledgment sent {"connection_id":125408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:09:06] local.INFO: TCP Data received {"connection_id":126667,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:09:06] local.INFO: Processing buffer {"connection_id":126667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:09:06] local.INFO: IMEI packet received {"connection_id":126667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":126667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:09:07] local.INFO: TCP Data received {"connection_id":126667,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:09:07] local.INFO: Processing buffer {"connection_id":126667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:09:07] local.INFO: IMEI packet received {"connection_id":126667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":126667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:09:07] local.INFO: TCP Data received {"connection_id":124604,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:09:07] local.INFO: Processing buffer {"connection_id":124604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:09:07] local.INFO: IMEI packet received {"connection_id":124604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":124604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:09:08] local.INFO: TCP Data received {"connection_id":126667,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5e9f70012dc776000535c288001c00912b..."} 
[2026-07-07 17:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5e9f70012dc776000535c288001c00912b..."} 
[2026-07-07 17:09:08] local.INFO: Processing buffer {"connection_id":126667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5e9f70012dc776000535c288001c00912b..."} 
[2026-07-07 17:09:08] local.INFO: Packet analysis {"connection_id":126667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5e"} 
[2026-07-07 17:09:08] local.INFO: Extracted packet for processing {"connection_id":126667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5e"} 
[2026-07-07 17:09:08] local.INFO: GPS Element Parsed {"raw_longitude":768046592,"raw_latitude":87409288,"longitude_deg":76.8046592,"latitude_deg":8.7409288,"altitude":28,"angle":145,"satellites":43,"speed":57,"hex_longitude":"2dc77600","hex_latitude":"0535c288","is_valid_coordinates":true} 
[2026-07-07 17:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556609536001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341672516776886272,"note":"Value kept but may cause issues"} 
[2026-07-07 17:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4078713127646949376,"note":"Value kept but may cause issues"} 
[2026-07-07 17:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783424262000,"timestamp_ms":1783424262000,"timestamp_seconds":1783424262,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5e9f70"} 
[2026-07-07 17:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:09: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-07-07 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 17:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:09: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-07-07 17:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556609536001,"66":27908,"27":206,"80":35072,"24":57,"16":341672516776886272,"45":-4078713127646949376},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,80,24,16,45]} 
[2026-07-07 17:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556609536001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:09:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-07 17:09:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341672516776886272,"km_value":341672516776886.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4078713127646949376,"description":"Unknown IO ID 45"} 
[2026-07-07 17:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556609536001,"power":27908,"unknown_27":206,"unknown_80":35072,"ignition":57,"odometer":null,"unknown_45":-4078713127646949376}} 
[2026-07-07 17:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":126667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:09:08] local.INFO: GPS data processed {"connection_id":126667,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:09:08] local.INFO: Acknowledgment sent {"connection_id":126667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:09:08] local.INFO: TCP Data received {"connection_id":126667,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5ebeb0012dc78d400535a358001a008e2c..."} 
[2026-07-07 17:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5ebeb0012dc78d400535a358001a008e2c..."} 
[2026-07-07 17:09:08] local.INFO: Processing buffer {"connection_id":126667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5ebeb0012dc78d400535a358001a008e2c..."} 
[2026-07-07 17:09:08] local.INFO: Packet analysis {"connection_id":126667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5e"} 
[2026-07-07 17:09:08] local.INFO: Extracted packet for processing {"connection_id":126667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5e"} 
[2026-07-07 17:09:08] local.INFO: GPS Element Parsed {"raw_longitude":768052544,"raw_latitude":87401304,"longitude_deg":76.8052544,"latitude_deg":8.7401304,"altitude":26,"angle":142,"satellites":44,"speed":46,"hex_longitude":"2dc78d40","hex_latitude":"0535a358","is_valid_coordinates":true} 
[2026-07-07 17:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556611072001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341672997813223424,"note":"Value kept but may cause issues"} 
[2026-07-07 17:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4074068790533257216,"note":"Value kept but may cause issues"} 
[2026-07-07 17:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783424270000,"timestamp_ms":1783424270000,"timestamp_seconds":1783424270,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5ebeb0"} 
[2026-07-07 17:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:09: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-07-07 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 17:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:09: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-07-07 17:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556611072001,"66":27865,"27":206,"80":35072,"24":46,"16":341672997813223424,"45":-4074068790533257216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,80,24,16,45]} 
[2026-07-07 17:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556611072001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:09:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-07 17:09:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341672997813223424,"km_value":341672997813223.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4074068790533257216,"description":"Unknown IO ID 45"} 
[2026-07-07 17:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556611072001,"power":27865,"unknown_27":206,"unknown_80":35072,"ignition":46,"odometer":null,"unknown_45":-4074068790533257216}} 
[2026-07-07 17:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":126667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:09:08] local.INFO: GPS data processed {"connection_id":126667,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:09:08] local.INFO: Acknowledgment sent {"connection_id":126667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:09:15] local.INFO: TCP Data received {"connection_id":124604,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:09:15] local.INFO: Processing buffer {"connection_id":124604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:09:15] local.INFO: IMEI packet received {"connection_id":124604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":124604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:09:19] local.INFO: TCP Data received {"connection_id":124604,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:09:19] local.INFO: Processing buffer {"connection_id":124604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:09:19] local.INFO: IMEI packet received {"connection_id":124604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":124604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:09:26] local.INFO: TCP Data received {"connection_id":124605,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:09:26] local.INFO: Processing buffer {"connection_id":124605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:09:26] local.INFO: IMEI packet received {"connection_id":124605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":124605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:09:31] local.INFO: TCP Data received {"connection_id":124605,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:09:31] local.INFO: Processing buffer {"connection_id":124605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:09:31] local.INFO: IMEI packet received {"connection_id":124605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":124605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:09:33] local.INFO: TCP Data received {"connection_id":124605,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5fd020012d7a1f4005e468380011015f2c..."} 
[2026-07-07 17:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5fd020012d7a1f4005e468380011015f2c..."} 
[2026-07-07 17:09:33] local.INFO: Processing buffer {"connection_id":124605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5fd020012d7a1f4005e468380011015f2c..."} 
[2026-07-07 17:09:33] local.INFO: Packet analysis {"connection_id":124605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5f"} 
[2026-07-07 17:09:33] local.INFO: Extracted packet for processing {"connection_id":124605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5f"} 
[2026-07-07 17:09:33] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":17,"angle":351,"satellites":44,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 17:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556564736001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783424340000,"timestamp_ms":1783424340000,"timestamp_seconds":1783424340,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5fd020"} 
[2026-07-07 17:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:09:33] 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-07-07 17: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 17:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556564736001,"66":12624,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556564736001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:09:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556564736001,"power":12624,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 17:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":124605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:09:33] local.INFO: GPS data processed {"connection_id":124605,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:09:33] local.INFO: Acknowledgment sent {"connection_id":124605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:09:41] local.INFO: TCP Data received {"connection_id":126667,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5eddf0012dc7a30005358680001c008f2c..."} 
[2026-07-07 17:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5eddf0012dc7a30005358680001c008f2c..."} 
[2026-07-07 17:09:41] local.INFO: Processing buffer {"connection_id":126667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5eddf0012dc7a30005358680001c008f2c..."} 
[2026-07-07 17:09:41] local.INFO: Packet analysis {"connection_id":126667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5e"} 
[2026-07-07 17:09:41] local.INFO: Extracted packet for processing {"connection_id":126667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5e"} 
[2026-07-07 17:09:41] local.INFO: GPS Element Parsed {"raw_longitude":768058112,"raw_latitude":87393920,"longitude_deg":76.8058112,"latitude_deg":8.739392,"altitude":28,"angle":143,"satellites":44,"speed":45,"hex_longitude":"2dc7a300","hex_latitude":"05358680","is_valid_coordinates":true} 
[2026-07-07 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-07-07 17:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556613120001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341673444489822208,"note":"Value kept but may cause issues"} 
[2026-07-07 17:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4067524497326778368,"note":"Value kept but may cause issues"} 
[2026-07-07 17:09:41] 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-07-07 17:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783424278000,"timestamp_ms":1783424278000,"timestamp_seconds":1783424278,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5eddf0"} 
[2026-07-07 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-07-07 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-07-07 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":217,"data_length":795,"current_offset":136} 
[2026-07-07 17:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 17:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556613120001,"66":27800,"83":206,"80":35072,"24":45,"16":341673444489822208,"45":-4067524497326778368},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-07 17:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556613120001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-07 17:09:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341673444489822208,"km_value":341673444489822.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4067524497326778368,"description":"Unknown IO ID 45"} 
[2026-07-07 17:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556613120001,"power":27800,"unknown_83":206,"unknown_80":35072,"ignition":45,"odometer":null,"unknown_45":-4067524497326778368}} 
[2026-07-07 17:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":126667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:09:41] local.INFO: GPS data processed {"connection_id":126667,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:09:41] local.INFO: Acknowledgment sent {"connection_id":126667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:09:58] local.INFO: TCP Data received {"connection_id":125409,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:09:58] local.INFO: Processing buffer {"connection_id":125409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:09:58] local.INFO: IMEI packet received {"connection_id":125409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":125409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:10:03] local.INFO: TCP Data received {"connection_id":125409,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:10:03] local.INFO: Processing buffer {"connection_id":125409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:10:03] local.INFO: IMEI packet received {"connection_id":125409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":125409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:10:04] local.INFO: TCP Data received {"connection_id":125409,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5f0118012dc7b900053567c8001f00902c..."} 
[2026-07-07 17:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5f0118012dc7b900053567c8001f00902c..."} 
[2026-07-07 17:10:04] local.INFO: Processing buffer {"connection_id":125409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5f0118012dc7b900053567c8001f00902c..."} 
[2026-07-07 17:10:04] local.INFO: Packet analysis {"connection_id":125409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5f"} 
[2026-07-07 17:10:04] local.INFO: Extracted packet for processing {"connection_id":125409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5f"} 
[2026-07-07 17:10:04] local.INFO: GPS Element Parsed {"raw_longitude":768063744,"raw_latitude":87386056,"longitude_deg":76.8063744,"latitude_deg":8.7386056,"altitude":31,"angle":144,"satellites":44,"speed":41,"hex_longitude":"2dc7b900","hex_latitude":"053567c8","is_valid_coordinates":true} 
[2026-07-07 17:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556615168001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341673912641257472,"note":"Value kept but may cause issues"} 
[2026-07-07 17:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4061402416585211904,"note":"Value kept but may cause issues"} 
[2026-07-07 17:10:04] 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-07-07 17:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783424287000,"timestamp_ms":1783424287000,"timestamp_seconds":1783424287,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5f0118"} 
[2026-07-07 17:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 17:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556615168001,"66":27800,"83":206,"80":35072,"24":41,"16":341673912641257472,"45":-4061402416585211904},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-07 17:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556615168001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:10:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-07 17:10:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341673912641257472,"km_value":341673912641257.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4061402416585211904,"description":"Unknown IO ID 45"} 
[2026-07-07 17:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556615168001,"power":27800,"unknown_83":206,"unknown_80":35072,"ignition":41,"odometer":null,"unknown_45":-4061402416585211904}} 
[2026-07-07 17:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":125409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:10:04] local.INFO: GPS data processed {"connection_id":125409,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:10:04] local.INFO: Acknowledgment sent {"connection_id":125409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:10:06] local.INFO: TCP Data received {"connection_id":124605,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5fd020012d7a1f4005e468380011015f2c..."} 
[2026-07-07 17:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5fd020012d7a1f4005e468380011015f2c..."} 
[2026-07-07 17:10:06] local.INFO: Processing buffer {"connection_id":124605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5fd020012d7a1f4005e468380011015f2c..."} 
[2026-07-07 17:10:06] local.INFO: Packet analysis {"connection_id":124605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5f"} 
[2026-07-07 17:10:06] local.INFO: Extracted packet for processing {"connection_id":124605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5f"} 
[2026-07-07 17:10:06] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":17,"angle":351,"satellites":44,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 17:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556631040001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783424340000,"timestamp_ms":1783424340000,"timestamp_seconds":1783424340,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5fd020"} 
[2026-07-07 17:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 17:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:10: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-07-07 17:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556631040001,"66":12624,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556631040001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556631040001,"power":12624,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 17:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":124605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:10:06] local.INFO: GPS data processed {"connection_id":124605,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:10:06] local.INFO: Acknowledgment sent {"connection_id":124605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:10:26] local.INFO: TCP Data received {"connection_id":126668,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:10:26] local.INFO: Processing buffer {"connection_id":126668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:10:26] local.INFO: IMEI packet received {"connection_id":126668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":126668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:10:31] local.INFO: TCP Data received {"connection_id":126668,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:10:31] local.INFO: Processing buffer {"connection_id":126668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:10:31] local.INFO: IMEI packet received {"connection_id":126668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":126668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:10:33] local.INFO: TCP Data received {"connection_id":126668,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5fdfc0012d7a1f4005e468380011015f2b..."} 
[2026-07-07 17:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5fdfc0012d7a1f4005e468380011015f2b..."} 
[2026-07-07 17:10:33] local.INFO: Processing buffer {"connection_id":126668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5fdfc0012d7a1f4005e468380011015f2b..."} 
[2026-07-07 17:10:33] local.INFO: Packet analysis {"connection_id":126668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5f"} 
[2026-07-07 17:10:33] local.INFO: Extracted packet for processing {"connection_id":126668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5f"} 
[2026-07-07 17:10:33] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":17,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 17:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556631040001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783424344000,"timestamp_ms":1783424344000,"timestamp_seconds":1783424344,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5fdfc0"} 
[2026-07-07 17:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:10: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-07-07 17:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 17:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556631040001,"66":2525,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556631040001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:10:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556631040001,"power":2525,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 17:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":126668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:10:33] local.INFO: GPS data processed {"connection_id":126668,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:10:33] local.INFO: Acknowledgment sent {"connection_id":126668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:10:38] local.INFO: TCP Data received {"connection_id":125409,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5f2440012dc7cdc005354bb00021008f27..."} 
[2026-07-07 17:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5f2440012dc7cdc005354bb00021008f27..."} 
[2026-07-07 17:10:38] local.INFO: Processing buffer {"connection_id":125409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5f2440012dc7cdc005354bb00021008f27..."} 
[2026-07-07 17:10:38] local.INFO: Packet analysis {"connection_id":125409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5f"} 
[2026-07-07 17:10:38] local.INFO: Extracted packet for processing {"connection_id":125409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5f"} 
[2026-07-07 17:10:38] local.INFO: GPS Element Parsed {"raw_longitude":768069056,"raw_latitude":87378864,"longitude_deg":76.8069056,"latitude_deg":8.7378864,"altitude":33,"angle":143,"satellites":39,"speed":37,"hex_longitude":"2dc7cdc0","hex_latitude":"05354bb0","is_valid_coordinates":true} 
[2026-07-07 17:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556617472001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341674346432954368,"note":"Value kept but may cause issues"} 
[2026-07-07 17:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4055209967099590656,"note":"Value kept but may cause issues"} 
[2026-07-07 17:10:38] 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-07-07 17:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783424296000,"timestamp_ms":1783424296000,"timestamp_seconds":1783424296,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5f2440"} 
[2026-07-07 17:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 17:10: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-07-07 17:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556617472001,"66":27930,"83":206,"80":35072,"24":37,"16":341674346432954368,"45":-4055209967099590656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-07 17:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556617472001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:10:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-07 17:10:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341674346432954368,"km_value":341674346432954.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4055209967099590656,"description":"Unknown IO ID 45"} 
[2026-07-07 17:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556617472001,"power":27930,"unknown_83":206,"unknown_80":35072,"ignition":37,"odometer":null,"unknown_45":-4055209967099590656}} 
[2026-07-07 17:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":125409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:10:38] local.INFO: GPS data processed {"connection_id":125409,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:10:38] local.INFO: Acknowledgment sent {"connection_id":125409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:10:41] local.INFO: TCP Data received {"connection_id":124604,"ip":"117.224.183.97","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f3c..."} 
[2026-07-07 17:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124604,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f3c..."} 
[2026-07-07 17:10:41] local.INFO: Processing buffer {"connection_id":124604,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f3c..."} 
[2026-07-07 17:10:41] local.INFO: IMEI packet received {"connection_id":124604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":124604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:10:43] local.INFO: TCP Data received {"connection_id":124606,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:10:43] local.INFO: Processing buffer {"connection_id":124606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:10:43] local.INFO: IMEI packet received {"connection_id":124606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":124606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:10:45] local.INFO: TCP Data received {"connection_id":124606,"ip":"117.224.183.97","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 17:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124606,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 17:10:45] local.INFO: Processing buffer {"connection_id":124606,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 17:10:45] local.INFO: IMEI packet received {"connection_id":124606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":124606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:10:45] local.INFO: TCP Data received {"connection_id":124606,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:10:45] local.INFO: Processing buffer {"connection_id":124606,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 17:10:45] local.INFO: IMEI packet received {"connection_id":124606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":124606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:10:58] local.INFO: TCP Data received {"connection_id":124607,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:10:58] local.INFO: Processing buffer {"connection_id":124607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:10:58] local.INFO: IMEI packet received {"connection_id":124607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":124607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:10:59] local.INFO: TCP Data received {"connection_id":124607,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:10:59] local.INFO: Processing buffer {"connection_id":124607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:10:59] local.INFO: IMEI packet received {"connection_id":124607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":124607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:11:03] local.INFO: TCP Data received {"connection_id":124607,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:11:03] local.INFO: Processing buffer {"connection_id":124607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:11:03] local.INFO: IMEI packet received {"connection_id":124607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":124607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:11:04] local.INFO: TCP Data received {"connection_id":124607,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c60a6f8012dc88b4005342798003400a72b..."} 
[2026-07-07 17:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c60a6f8012dc88b4005342798003400a72b..."} 
[2026-07-07 17:11:04] local.INFO: Processing buffer {"connection_id":124607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c60a6f8012dc88b4005342798003400a72b..."} 
[2026-07-07 17:11:04] local.INFO: Packet analysis {"connection_id":124607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c60"} 
[2026-07-07 17:11:04] local.INFO: Extracted packet for processing {"connection_id":124607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c60"} 
[2026-07-07 17:11:04] local.INFO: GPS Element Parsed {"raw_longitude":768117568,"raw_latitude":87304088,"longitude_deg":76.8117568,"latitude_deg":8.7304088,"altitude":52,"angle":167,"satellites":43,"speed":42,"hex_longitude":"2dc88b40","hex_latitude":"05342798","is_valid_coordinates":true} 
[2026-07-07 17:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556642304001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341678783134171136,"note":"Value kept but may cause issues"} 
[2026-07-07 17:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3998352021822550016,"note":"Value kept but may cause issues"} 
[2026-07-07 17:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783424395000,"timestamp_ms":1783424395000,"timestamp_seconds":1783424395,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c60a6f8"} 
[2026-07-07 17:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 17:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556642304001,"66":27843,"72":206,"80":35072,"24":42,"16":341678783134171136,"45":-3998352021822550016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,80,24,16,45]} 
[2026-07-07 17:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556642304001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:11:04] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-07 17:11:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341678783134171136,"km_value":341678783134171.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3998352021822550016,"description":"Unknown IO ID 45"} 
[2026-07-07 17:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556642304001,"power":27843,"unknown_72":206,"unknown_80":35072,"ignition":42,"odometer":null,"unknown_45":-3998352021822550016}} 
[2026-07-07 17:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":124607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:11:04] local.INFO: GPS data processed {"connection_id":124607,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:11:04] local.INFO: Acknowledgment sent {"connection_id":124607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:11:05] local.INFO: TCP Data received {"connection_id":126668,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5fdfc0012d7a1f4005e468380011015f2b..."} 
[2026-07-07 17:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5fdfc0012d7a1f4005e468380011015f2b..."} 
[2026-07-07 17:11:05] local.INFO: Processing buffer {"connection_id":126668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5fdfc0012d7a1f4005e468380011015f2b..."} 
[2026-07-07 17:11:05] local.INFO: Packet analysis {"connection_id":126668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5f"} 
[2026-07-07 17:11:05] local.INFO: Extracted packet for processing {"connection_id":126668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5f"} 
[2026-07-07 17:11:05] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":17,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 17:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556632064001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783424344000,"timestamp_ms":1783424344000,"timestamp_seconds":1783424344,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5fdfc0"} 
[2026-07-07 17:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:11:05] 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-07-07 17:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 17:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:11: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-07-07 17:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556632064001,"66":2525,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556632064001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:11:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:11:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556632064001,"power":2525,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 17:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":126668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:11:05] local.INFO: GPS data processed {"connection_id":126668,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:11:05] local.INFO: Acknowledgment sent {"connection_id":126668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:11:26] local.INFO: TCP Data received {"connection_id":124688,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:11:26] local.INFO: Processing buffer {"connection_id":124688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:11:26] local.INFO: IMEI packet received {"connection_id":124688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":124688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:11:31] local.INFO: TCP Data received {"connection_id":124688,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:11:31] local.INFO: Processing buffer {"connection_id":124688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:11:31] local.INFO: IMEI packet received {"connection_id":124688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":124688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:11:33] local.INFO: TCP Data received {"connection_id":124688,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5fdfc0012d7a1f4005e468380011015f2b..."} 
[2026-07-07 17:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5fdfc0012d7a1f4005e468380011015f2b..."} 
[2026-07-07 17:11:33] local.INFO: Processing buffer {"connection_id":124688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5fdfc0012d7a1f4005e468380011015f2b..."} 
[2026-07-07 17:11:33] local.INFO: Packet analysis {"connection_id":124688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5f"} 
[2026-07-07 17:11:33] local.INFO: Extracted packet for processing {"connection_id":124688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5f"} 
[2026-07-07 17:11:33] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":17,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 17:11: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-07-07 17:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556632064001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783424344000,"timestamp_ms":1783424344000,"timestamp_seconds":1783424344,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5fdfc0"} 
[2026-07-07 17:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:11:33] 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-07-07 17:11: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":9,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 17:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556632064001,"66":2525,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556632064001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:11:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:11:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556632064001,"power":2525,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 17:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":124688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:11:33] local.INFO: GPS data processed {"connection_id":124688,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:11:33] local.INFO: Acknowledgment sent {"connection_id":124688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:11:35] local.INFO: TCP Data received {"connection_id":124607,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c60ca20012dc8938005340210003200a72d..."} 
[2026-07-07 17:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c60ca20012dc8938005340210003200a72d..."} 
[2026-07-07 17:11:35] local.INFO: Processing buffer {"connection_id":124607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c60ca20012dc8938005340210003200a72d..."} 
[2026-07-07 17:11:35] local.INFO: Packet analysis {"connection_id":124607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c60"} 
[2026-07-07 17:11:35] local.INFO: Extracted packet for processing {"connection_id":124607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c60"} 
[2026-07-07 17:11:35] local.INFO: GPS Element Parsed {"raw_longitude":768119680,"raw_latitude":87294480,"longitude_deg":76.811968,"latitude_deg":8.729448,"altitude":50,"angle":167,"satellites":45,"speed":44,"hex_longitude":"2dc89380","hex_latitude":"05340210","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556645120001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341679259875540992,"note":"Value kept but may cause issues"} 
[2026-07-07 17:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3996029853267159040,"note":"Value kept but may cause issues"} 
[2026-07-07 17:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783424404000,"timestamp_ms":1783424404000,"timestamp_seconds":1783424404,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c60ca20"} 
[2026-07-07 17:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 17:11: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-07-07 17: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-07-07 17:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556645120001,"66":27767,"72":206,"80":35072,"24":44,"16":341679259875540992,"45":-3996029853267159040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,80,24,16,45]} 
[2026-07-07 17:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556645120001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:11:35] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-07 17:11:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341679259875540992,"km_value":341679259875541.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3996029853267159040,"description":"Unknown IO ID 45"} 
[2026-07-07 17:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556645120001,"power":27767,"unknown_72":206,"unknown_80":35072,"ignition":44,"odometer":null,"unknown_45":-3996029853267159040}} 
[2026-07-07 17:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":124607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:11:35] local.INFO: GPS data processed {"connection_id":124607,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:11:35] local.INFO: Acknowledgment sent {"connection_id":124607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:11:58] local.INFO: TCP Data received {"connection_id":125411,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:11:58] local.INFO: Processing buffer {"connection_id":125411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:11:58] local.INFO: IMEI packet received {"connection_id":125411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":125411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:12:00] local.INFO: TCP Data received {"connection_id":125411,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:12:01] local.INFO: Processing buffer {"connection_id":125411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:12:01] local.INFO: IMEI packet received {"connection_id":125411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":125411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:12:03] local.INFO: TCP Data received {"connection_id":125411,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:12:03] local.INFO: Processing buffer {"connection_id":125411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:12:03] local.INFO: IMEI packet received {"connection_id":125411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":125411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:12:04] local.INFO: TCP Data received {"connection_id":125412,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:12:04] local.INFO: Processing buffer {"connection_id":125412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:12:04] local.INFO: IMEI packet received {"connection_id":125412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 17:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":125412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:12:04] local.INFO: TCP Data received {"connection_id":125411,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c60e960012dc89b400533dd80003100a92d..."} 
[2026-07-07 17:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c60e960012dc89b400533dd80003100a92d..."} 
[2026-07-07 17:12:04] local.INFO: Processing buffer {"connection_id":125411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c60e960012dc89b400533dd80003100a92d..."} 
[2026-07-07 17:12:04] local.INFO: Packet analysis {"connection_id":125411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c60"} 
[2026-07-07 17:12:04] local.INFO: Extracted packet for processing {"connection_id":125411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c60"} 
[2026-07-07 17:12:04] local.INFO: GPS Element Parsed {"raw_longitude":768121664,"raw_latitude":87285120,"longitude_deg":76.8121664,"latitude_deg":8.728512,"altitude":49,"angle":169,"satellites":45,"speed":48,"hex_longitude":"2dc89b40","hex_latitude":"0533dd80","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556647424001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341679723732008960,"note":"Value kept but may cause issues"} 
[2026-07-07 17:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3993707684711755776,"note":"Value kept but may cause issues"} 
[2026-07-07 17:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783424412000,"timestamp_ms":1783424412000,"timestamp_seconds":1783424412,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c60e960"} 
[2026-07-07 17:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 17:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556647424001,"66":27865,"72":206,"80":35072,"24":48,"16":341679723732008960,"45":-3993707684711755776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,80,24,16,45]} 
[2026-07-07 17:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556647424001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:12:04] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-07 17:12:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341679723732008960,"km_value":341679723732008.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3993707684711755776,"description":"Unknown IO ID 45"} 
[2026-07-07 17:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556647424001,"power":27865,"unknown_72":206,"unknown_80":35072,"ignition":48,"odometer":null,"unknown_45":-3993707684711755776}} 
[2026-07-07 17:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":125411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:12:04] local.INFO: GPS data processed {"connection_id":125411,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:12:04] local.INFO: Acknowledgment sent {"connection_id":125411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:12:05] local.INFO: TCP Data received {"connection_id":124688,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c626830012d7a1f4005e468380007015f2e..."} 
[2026-07-07 17:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c626830012d7a1f4005e468380007015f2e..."} 
[2026-07-07 17:12:05] local.INFO: Processing buffer {"connection_id":124688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c626830012d7a1f4005e468380007015f2e..."} 
[2026-07-07 17:12:05] local.INFO: Packet analysis {"connection_id":124688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c62"} 
[2026-07-07 17:12:05] local.INFO: Extracted packet for processing {"connection_id":124688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c62"} 
[2026-07-07 17:12:05] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":7,"angle":351,"satellites":46,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 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-07-07 17:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556632064001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783424510000,"timestamp_ms":1783424510000,"timestamp_seconds":1783424510,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c626830"} 
[2026-07-07 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-07-07 17:12:05] 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-07-07 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":9,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 17:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 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-07-07 17:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:12: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-07-07 17:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556632064001,"66":12515,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556632064001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:12:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:12:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556632064001,"power":12515,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 17:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":124688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:12:05] local.INFO: GPS data processed {"connection_id":124688,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:12:05] local.INFO: Acknowledgment sent {"connection_id":124688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:12:08] local.INFO: TCP Data received {"connection_id":125411,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6108a0012dc8a3000533b928003200a72c..."} 
[2026-07-07 17:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6108a0012dc8a3000533b928003200a72c..."} 
[2026-07-07 17:12:08] local.INFO: Processing buffer {"connection_id":125411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6108a0012dc8a3000533b928003200a72c..."} 
[2026-07-07 17:12:08] local.INFO: Packet analysis {"connection_id":125411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c61"} 
[2026-07-07 17:12:08] local.INFO: Extracted packet for processing {"connection_id":125411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c61"} 
[2026-07-07 17:12:08] local.INFO: GPS Element Parsed {"raw_longitude":768123648,"raw_latitude":87275816,"longitude_deg":76.8123648,"latitude_deg":8.7275816,"altitude":50,"angle":167,"satellites":44,"speed":45,"hex_longitude":"2dc8a300","hex_latitude":"0533b928","is_valid_coordinates":true} 
[2026-07-07 17:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556649472001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341680187588476928,"note":"Value kept but may cause issues"} 
[2026-07-07 17:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3991526253644644352,"note":"Value kept but may cause issues"} 
[2026-07-07 17:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783424420000,"timestamp_ms":1783424420000,"timestamp_seconds":1783424420,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6108a0"} 
[2026-07-07 17:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:12: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-07-07 17:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 17:12: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-07-07 17:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:12: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-07-07 17:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556649472001,"66":27767,"72":206,"80":35072,"24":45,"16":341680187588476928,"45":-3991526253644644352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,80,24,16,45]} 
[2026-07-07 17:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556649472001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:12:08] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-07 17:12:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341680187588476928,"km_value":341680187588476.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3991526253644644352,"description":"Unknown IO ID 45"} 
[2026-07-07 17:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556649472001,"power":27767,"unknown_72":206,"unknown_80":35072,"ignition":45,"odometer":null,"unknown_45":-3991526253644644352}} 
[2026-07-07 17:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":125411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:12:08] local.INFO: GPS data processed {"connection_id":125411,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:12:08] local.INFO: Acknowledgment sent {"connection_id":125411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:12:26] local.INFO: TCP Data received {"connection_id":124690,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:12:26] local.INFO: Processing buffer {"connection_id":124690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:12:26] local.INFO: IMEI packet received {"connection_id":124690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":124690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:12:31] local.INFO: TCP Data received {"connection_id":124690,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:12:31] local.INFO: Processing buffer {"connection_id":124690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:12:31] local.INFO: IMEI packet received {"connection_id":124690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":124690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:12:33] local.INFO: TCP Data received {"connection_id":124690,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c62c9d8012d7a1f4005e468380007015f2e..."} 
[2026-07-07 17:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c62c9d8012d7a1f4005e468380007015f2e..."} 
[2026-07-07 17:12:33] local.INFO: Processing buffer {"connection_id":124690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c62c9d8012d7a1f4005e468380007015f2e..."} 
[2026-07-07 17:12:33] local.INFO: Packet analysis {"connection_id":124690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c62"} 
[2026-07-07 17:12:33] local.INFO: Extracted packet for processing {"connection_id":124690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c62"} 
[2026-07-07 17:12:33] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":7,"angle":351,"satellites":46,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 17:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556674560001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783424535000,"timestamp_ms":1783424535000,"timestamp_seconds":1783424535,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c62c9d8"} 
[2026-07-07 17:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-07 17:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556674560001,"66":11569,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556674560001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:12:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556674560001,"power":11569,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 17:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":124690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:12:33] local.INFO: GPS data processed {"connection_id":124690,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:12:33] local.INFO: Acknowledgment sent {"connection_id":124690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:12:40] local.INFO: TCP Data received {"connection_id":125411,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6127e0012dc8a940053396c8003400ac2b..."} 
[2026-07-07 17:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6127e0012dc8a940053396c8003400ac2b..."} 
[2026-07-07 17:12:40] local.INFO: Processing buffer {"connection_id":125411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6127e0012dc8a940053396c8003400ac2b..."} 
[2026-07-07 17:12:40] local.INFO: Packet analysis {"connection_id":125411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c61"} 
[2026-07-07 17:12:40] local.INFO: Extracted packet for processing {"connection_id":125411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c61"} 
[2026-07-07 17:12:40] local.INFO: GPS Element Parsed {"raw_longitude":768125248,"raw_latitude":87267016,"longitude_deg":76.8125248,"latitude_deg":8.7267016,"altitude":52,"angle":172,"satellites":43,"speed":43,"hex_longitude":"2dc8a940","hex_latitude":"053396c8","is_valid_coordinates":true} 
[2026-07-07 17:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556651520001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341680621380173824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3989344822577518592,"note":"Value kept but may cause issues"} 
[2026-07-07 17:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783424428000,"timestamp_ms":1783424428000,"timestamp_seconds":1783424428,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6127e0"} 
[2026-07-07 17:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:12: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-07-07 17:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 17:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556651520001,"66":27865,"147":206,"80":35072,"24":43,"16":341680621380173824,"45":-3989344822577518592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-07 17:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556651520001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:12:40] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 17:12:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341680621380173824,"km_value":341680621380173.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3989344822577518592,"description":"Unknown IO ID 45"} 
[2026-07-07 17:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556651520001,"power":27865,"unknown_147":206,"unknown_80":35072,"ignition":43,"odometer":null,"unknown_45":-3989344822577518592}} 
[2026-07-07 17:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":125411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:12:40] local.INFO: GPS data processed {"connection_id":125411,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:12:40] local.INFO: Acknowledgment sent {"connection_id":125411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:12:58] local.INFO: TCP Data received {"connection_id":125413,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:12:58] local.INFO: Processing buffer {"connection_id":125413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:12:58] local.INFO: IMEI packet received {"connection_id":125413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":125413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:12:59] local.INFO: TCP Data received {"connection_id":125413,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:12:59] local.INFO: Processing buffer {"connection_id":125413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:12:59] local.INFO: IMEI packet received {"connection_id":125413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":125413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:13:03] local.INFO: TCP Data received {"connection_id":125413,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:13:03] local.INFO: Processing buffer {"connection_id":125413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:13:03] local.INFO: IMEI packet received {"connection_id":125413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":125413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:13:04] local.INFO: TCP Data received {"connection_id":125413,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c629af8012dc8be0005321640002500b62c..."} 
[2026-07-07 17:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c629af8012dc8be0005321640002500b62c..."} 
[2026-07-07 17:13:04] local.INFO: Processing buffer {"connection_id":125413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c629af8012dc8be0005321640002500b62c..."} 
[2026-07-07 17:13:04] local.INFO: Packet analysis {"connection_id":125413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c62"} 
[2026-07-07 17:13:04] local.INFO: Extracted packet for processing {"connection_id":125413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c62"} 
[2026-07-07 17:13:04] local.INFO: GPS Element Parsed {"raw_longitude":768130560,"raw_latitude":87168576,"longitude_deg":76.813056,"latitude_deg":8.7168576,"altitude":37,"angle":182,"satellites":44,"speed":45,"hex_longitude":"2dc8be00","hex_latitude":"05321640","is_valid_coordinates":true} 
[2026-07-07 17:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556675840001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341685414563676160,"note":"Value kept but may cause issues"} 
[2026-07-07 17:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3982237579440576512,"note":"Value kept but may cause issues"} 
[2026-07-07 17:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783424523000,"timestamp_ms":1783424523000,"timestamp_seconds":1783424523,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c629af8"} 
[2026-07-07 17:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 17:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556675840001,"66":27832,"7":206,"80":35072,"24":45,"16":341685414563676160,"45":-3982237579440576512},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-07-07 17:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556675840001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:13:04] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-07 17:13:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341685414563676160,"km_value":341685414563676.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3982237579440576512,"description":"Unknown IO ID 45"} 
[2026-07-07 17:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556675840001,"power":27832,"unknown_7":206,"unknown_80":35072,"ignition":45,"odometer":null,"unknown_45":-3982237579440576512}} 
[2026-07-07 17:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":125413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:13:04] local.INFO: GPS data processed {"connection_id":125413,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:13:04] local.INFO: Acknowledgment sent {"connection_id":125413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:13:24] local.INFO: TCP Data received {"connection_id":124690,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c62c9d8012d7a1f4005e468380007015f2e..."} 
[2026-07-07 17:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c62c9d8012d7a1f4005e468380007015f2e..."} 
[2026-07-07 17:13:24] local.INFO: Processing buffer {"connection_id":124690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c62c9d8012d7a1f4005e468380007015f2e..."} 
[2026-07-07 17:13:24] local.INFO: Packet analysis {"connection_id":124690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c62"} 
[2026-07-07 17:13:24] local.INFO: Extracted packet for processing {"connection_id":124690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c62"} 
[2026-07-07 17:13:24] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854968,"longitude_deg":76.2978112,"latitude_deg":9.8854968,"altitude":7,"angle":351,"satellites":46,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-07-07 17:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556680960001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382280881307648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956288000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783424535000,"timestamp_ms":1783424535000,"timestamp_seconds":1783424535,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c62c9d8"} 
[2026-07-07 17:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-07-07 17:13:24] 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-07-07 17: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-07-07 17:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":124690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":124690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":124690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556680960001,"66":11569,"97":206,"85":15104,"24":0,"16":103382280881307648,"45":8799822590956288000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556680960001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:13:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:13:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382280881307648,"km_value":103382280881307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956288000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556680960001,"power":11569,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956288000}} 
[2026-07-07 17:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":124690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:13:24] local.INFO: GPS data processed {"connection_id":124690,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:13:24] local.INFO: Acknowledgment sent {"connection_id":124690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:13:35] local.INFO: TCP Data received {"connection_id":125413,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c62ba38012dc8b8400531f328002100c22b..."} 
[2026-07-07 17:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c62ba38012dc8b8400531f328002100c22b..."} 
[2026-07-07 17:13:35] local.INFO: Processing buffer {"connection_id":125413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c62ba38012dc8b8400531f328002100c22b..."} 
[2026-07-07 17:13:35] local.INFO: Packet analysis {"connection_id":125413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c62"} 
[2026-07-07 17:13:35] local.INFO: Extracted packet for processing {"connection_id":125413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c62"} 
[2026-07-07 17:13:35] local.INFO: GPS Element Parsed {"raw_longitude":768129088,"raw_latitude":87159592,"longitude_deg":76.8129088,"latitude_deg":8.7159592,"altitude":33,"angle":194,"satellites":43,"speed":41,"hex_longitude":"2dc8b840","hex_latitude":"0531f328","is_valid_coordinates":true} 
[2026-07-07 17:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556677888001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341685856945307648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3981744998233784320,"note":"Value kept but may cause issues"} 
[2026-07-07 17:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783424531000,"timestamp_ms":1783424531000,"timestamp_seconds":1783424531,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c62ba38"} 
[2026-07-07 17:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 17:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556677888001,"66":27745,"7":206,"80":35072,"24":41,"16":341685856945307648,"45":-3981744998233784320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-07-07 17:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556677888001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:13:35] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-07 17:13:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341685856945307648,"km_value":341685856945307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3981744998233784320,"description":"Unknown IO ID 45"} 
[2026-07-07 17:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556677888001,"power":27745,"unknown_7":206,"unknown_80":35072,"ignition":41,"odometer":null,"unknown_45":-3981744998233784320}} 
[2026-07-07 17:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":125413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:13:35] local.INFO: GPS data processed {"connection_id":125413,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:13:35] local.INFO: Acknowledgment sent {"connection_id":125413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:13:58] local.INFO: TCP Data received {"connection_id":124692,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:13:58] local.INFO: Processing buffer {"connection_id":124692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:13:58] local.INFO: IMEI packet received {"connection_id":124692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":124692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:14:04] local.INFO: TCP Data received {"connection_id":124692,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:14:04] local.INFO: Processing buffer {"connection_id":124692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:14:04] local.INFO: IMEI packet received {"connection_id":124692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":124692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:14:04] local.INFO: TCP Data received {"connection_id":124692,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c62ba38012dc8b8400531f328002100c22b..."} 
[2026-07-07 17:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c62ba38012dc8b8400531f328002100c22b..."} 
[2026-07-07 17:14:04] local.INFO: Processing buffer {"connection_id":124692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c62ba38012dc8b8400531f328002100c22b..."} 
[2026-07-07 17:14:04] local.INFO: Packet analysis {"connection_id":124692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c62"} 
[2026-07-07 17:14:04] local.INFO: Extracted packet for processing {"connection_id":124692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c62"} 
[2026-07-07 17:14:04] local.INFO: GPS Element Parsed {"raw_longitude":768129088,"raw_latitude":87159592,"longitude_deg":76.8129088,"latitude_deg":8.7159592,"altitude":33,"angle":194,"satellites":43,"speed":41,"hex_longitude":"2dc8b840","hex_latitude":"0531f328","is_valid_coordinates":true} 
[2026-07-07 17:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556679936001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341685856945307648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3983363479352170496,"note":"Value kept but may cause issues"} 
[2026-07-07 17:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783424531000,"timestamp_ms":1783424531000,"timestamp_seconds":1783424531,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c62ba38"} 
[2026-07-07 17:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 17:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556679936001,"66":27745,"7":206,"80":35072,"24":41,"16":341685856945307648,"45":-3983363479352170496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-07-07 17:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556679936001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:14:04] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-07 17:14:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341685856945307648,"km_value":341685856945307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3983363479352170496,"description":"Unknown IO ID 45"} 
[2026-07-07 17:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556679936001,"power":27745,"unknown_7":206,"unknown_80":35072,"ignition":41,"odometer":null,"unknown_45":-3983363479352170496}} 
[2026-07-07 17:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":124692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:14:04] local.INFO: GPS data processed {"connection_id":124692,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:14:04] local.INFO: Acknowledgment sent {"connection_id":124692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:14:05] local.INFO: TCP Data received {"connection_id":126670,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:14:05] local.INFO: Processing buffer {"connection_id":126670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:14:05] local.INFO: IMEI packet received {"connection_id":126670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":126670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:14:06] local.INFO: TCP Data received {"connection_id":126670,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:14:06] local.INFO: Processing buffer {"connection_id":126670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:14:06] local.INFO: IMEI packet received {"connection_id":126670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":126670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:14:07] local.INFO: TCP Data received {"connection_id":126670,"ip":"42.106.6.40","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f3c..."} 
[2026-07-07 17:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126670,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f3c..."} 
[2026-07-07 17:14:07] local.INFO: Processing buffer {"connection_id":126670,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f3c..."} 
[2026-07-07 17:14:07] local.INFO: IMEI packet received {"connection_id":126670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":126670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:14:32] local.INFO: TCP Data received {"connection_id":124693,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:14:32] local.INFO: Processing buffer {"connection_id":124693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:14:32] local.INFO: IMEI packet received {"connection_id":124693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":124693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:14:52] local.INFO: TCP Data received {"connection_id":124693,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:14:52] local.INFO: Processing buffer {"connection_id":124693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:14:52] local.INFO: IMEI packet received {"connection_id":124693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":124693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:14:58] local.INFO: TCP Data received {"connection_id":124611,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:14:58] local.INFO: Processing buffer {"connection_id":124611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:14:58] local.INFO: IMEI packet received {"connection_id":124611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":124611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:14:59] local.INFO: TCP Data received {"connection_id":124693,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c640640012d7a2c4005e45c00000a00782e..."} 
[2026-07-07 17:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c640640012d7a2c4005e45c00000a00782e..."} 
[2026-07-07 17:14:59] local.INFO: Processing buffer {"connection_id":124693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c640640012d7a2c4005e45c00000a00782e..."} 
[2026-07-07 17:14:59] local.INFO: Packet analysis {"connection_id":124693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:14:59] local.INFO: Extracted packet for processing {"connection_id":124693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:14:59] local.INFO: GPS Element Parsed {"raw_longitude":762981440,"raw_latitude":98851840,"longitude_deg":76.298144,"latitude_deg":9.885184,"altitude":10,"angle":120,"satellites":46,"speed":14,"hex_longitude":"2d7a2c40","hex_latitude":"05e45c00","is_valid_coordinates":true} 
[2026-07-07 17:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556701440001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382594413920256,"note":"Value kept but may cause issues"} 
[2026-07-07 17:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803059553187721216,"note":"Value kept but may cause issues"} 
[2026-07-07 17:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783424616000,"timestamp_ms":1783424616000,"timestamp_seconds":1783424616,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c640640"} 
[2026-07-07 17:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 17:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":124693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":124693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":124693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556701440001,"66":12765,"157":206,"87":12288,"24":14,"16":103382594413920256,"45":8803059553187721216},"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-07-07 17:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556701440001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:14:59] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 17:14:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-07 17:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382594413920256,"km_value":103382594413920.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803059553187721216,"description":"Unknown IO ID 45"} 
[2026-07-07 17:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556701440001,"power":12765,"unknown_157":206,"unknown_87":12288,"ignition":14,"odometer":null,"unknown_45":8803059553187721216}} 
[2026-07-07 17:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":124693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:14:59] local.INFO: GPS data processed {"connection_id":124693,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:14:59] local.INFO: Acknowledgment sent {"connection_id":124693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:15:05] local.INFO: TCP Data received {"connection_id":124693,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c640a28012d7a2d4005e45bb0000a00642f..."} 
[2026-07-07 17:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c640a28012d7a2d4005e45bb0000a00642f..."} 
[2026-07-07 17:15:05] local.INFO: Processing buffer {"connection_id":124693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c640a28012d7a2d4005e45bb0000a00642f..."} 
[2026-07-07 17:15:05] local.INFO: Packet analysis {"connection_id":124693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:15:05] local.INFO: Extracted packet for processing {"connection_id":124693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:15:05] local.INFO: GPS Element Parsed {"raw_longitude":762981696,"raw_latitude":98851760,"longitude_deg":76.2981696,"latitude_deg":9.885176,"altitude":10,"angle":100,"satellites":47,"speed":11,"hex_longitude":"2d7a2d40","hex_latitude":"05e45bb0","is_valid_coordinates":true} 
[2026-07-07 17:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556701696001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382611593789440,"note":"Value kept but may cause issues"} 
[2026-07-07 17:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803481765652725760,"note":"Value kept but may cause issues"} 
[2026-07-07 17:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783424617000,"timestamp_ms":1783424617000,"timestamp_seconds":1783424617,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c640a28"} 
[2026-07-07 17:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 17:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:15: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-07-07 17:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556701696001,"66":12863,"157":206,"87":12288,"24":11,"16":103382611593789440,"45":8803481765652725760},"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-07-07 17:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556701696001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:15:05] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 17:15:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-07 17:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382611593789440,"km_value":103382611593789.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803481765652725760,"description":"Unknown IO ID 45"} 
[2026-07-07 17:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556701696001,"power":12863,"unknown_157":206,"unknown_87":12288,"ignition":11,"odometer":null,"unknown_45":8803481765652725760}} 
[2026-07-07 17:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":124693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:15:05] local.INFO: GPS data processed {"connection_id":124693,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:15:05] local.INFO: Acknowledgment sent {"connection_id":124693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:15:05] local.INFO: TCP Data received {"connection_id":124611,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:15:05] local.INFO: Processing buffer {"connection_id":124611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:15:05] local.INFO: IMEI packet received {"connection_id":124611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":124611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:15:06] local.INFO: TCP Data received {"connection_id":124611,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:15:06] local.INFO: Processing buffer {"connection_id":124611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:15:06] local.INFO: IMEI packet received {"connection_id":124611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":124611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:15:07] local.INFO: TCP Data received {"connection_id":124611,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c642580012dc9064005309dc0001b009a2c..."} 
[2026-07-07 17:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c642580012dc9064005309dc0001b009a2c..."} 
[2026-07-07 17:15:07] local.INFO: Processing buffer {"connection_id":124611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c642580012dc9064005309dc0001b009a2c..."} 
[2026-07-07 17:15:07] local.INFO: Packet analysis {"connection_id":124611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:15:07] local.INFO: Extracted packet for processing {"connection_id":124611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:15:07] local.INFO: GPS Element Parsed {"raw_longitude":768149056,"raw_latitude":87072192,"longitude_deg":76.8149056,"latitude_deg":8.7072192,"altitude":27,"angle":154,"satellites":44,"speed":35,"hex_longitude":"2dc90640","hex_latitude":"05309dc0","is_valid_coordinates":true} 
[2026-07-07 17:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556701440001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341690650128809984,"note":"Value kept but may cause issues"} 
[2026-07-07 17:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3966615718258495488,"note":"Value kept but may cause issues"} 
[2026-07-07 17:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783424624000,"timestamp_ms":1783424624000,"timestamp_seconds":1783424624,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c642580"} 
[2026-07-07 17:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:15: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-07-07 17:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 17:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:15: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-07-07 17:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556701440001,"66":27843,"222":206,"80":35072,"24":35,"16":341690650128809984,"45":-3966615718258495488},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,80,24,16,45]} 
[2026-07-07 17:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556701440001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:15:08] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-07-07 17:15:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341690650128809984,"km_value":341690650128810.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3966615718258495488,"description":"Unknown IO ID 45"} 
[2026-07-07 17:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556701440001,"power":27843,"unknown_222":206,"unknown_80":35072,"ignition":35,"odometer":null,"unknown_45":-3966615718258495488}} 
[2026-07-07 17:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":124611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:15:08] local.INFO: GPS data processed {"connection_id":124611,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:15:08] local.INFO: Acknowledgment sent {"connection_id":124611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:15:09] local.INFO: TCP Data received {"connection_id":124611,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c643908012dc90bc005308ce0001b00a72b..."} 
[2026-07-07 17:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c643908012dc90bc005308ce0001b00a72b..."} 
[2026-07-07 17:15:09] local.INFO: Processing buffer {"connection_id":124611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c643908012dc90bc005308ce0001b00a72b..."} 
[2026-07-07 17:15:09] local.INFO: Packet analysis {"connection_id":124611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:15:09] local.INFO: Extracted packet for processing {"connection_id":124611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:15:09] local.INFO: GPS Element Parsed {"raw_longitude":768150464,"raw_latitude":87067872,"longitude_deg":76.8150464,"latitude_deg":8.7067872,"altitude":27,"angle":167,"satellites":43,"speed":38,"hex_longitude":"2dc90bc0","hex_latitude":"05308ce0","is_valid_coordinates":true} 
[2026-07-07 17:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556703744001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341690869172142080,"note":"Value kept but may cause issues"} 
[2026-07-07 17:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3961408431191113728,"note":"Value kept but may cause issues"} 
[2026-07-07 17:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783424629000,"timestamp_ms":1783424629000,"timestamp_seconds":1783424629,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c643908"} 
[2026-07-07 17:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:15: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-07-07 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 17:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556703744001,"66":27800,"222":206,"80":35072,"24":38,"16":341690869172142080,"45":-3961408431191113728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,80,24,16,45]} 
[2026-07-07 17:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556703744001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:15:09] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-07-07 17:15:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341690869172142080,"km_value":341690869172142.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3961408431191113728,"description":"Unknown IO ID 45"} 
[2026-07-07 17:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556703744001,"power":27800,"unknown_222":206,"unknown_80":35072,"ignition":38,"odometer":null,"unknown_45":-3961408431191113728}} 
[2026-07-07 17:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":124611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:15:09] local.INFO: GPS data processed {"connection_id":124611,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:15:09] local.INFO: Acknowledgment sent {"connection_id":124611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:15:31] local.INFO: TCP Data received {"connection_id":125414,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:15:31] local.INFO: Processing buffer {"connection_id":125414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:15:31] local.INFO: IMEI packet received {"connection_id":125414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":125414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:15:38] local.INFO: TCP Data received {"connection_id":125414,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:15:38] local.INFO: Processing buffer {"connection_id":125414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:15:38] local.INFO: IMEI packet received {"connection_id":125414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":125414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:15:40] local.INFO: TCP Data received {"connection_id":124611,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c645460012dc90f00053070b8001b00b32c..."} 
[2026-07-07 17:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c645460012dc90f00053070b8001b00b32c..."} 
[2026-07-07 17:15:40] local.INFO: Processing buffer {"connection_id":124611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c645460012dc90f00053070b8001b00b32c..."} 
[2026-07-07 17:15:40] local.INFO: Packet analysis {"connection_id":124611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:15:40] local.INFO: Extracted packet for processing {"connection_id":124611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:15:40] local.INFO: GPS Element Parsed {"raw_longitude":768151296,"raw_latitude":87060664,"longitude_deg":76.8151296,"latitude_deg":8.7060664,"altitude":27,"angle":179,"satellites":44,"speed":42,"hex_longitude":"2dc90f00","hex_latitude":"053070b8","is_valid_coordinates":true} 
[2026-07-07 17:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556705024001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341691221359460352,"note":"Value kept but may cause issues"} 
[2026-07-07 17:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3959860318820311040,"note":"Value kept but may cause issues"} 
[2026-07-07 17:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783424636000,"timestamp_ms":1783424636000,"timestamp_seconds":1783424636,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c645460"} 
[2026-07-07 17:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:15: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-07-07 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 17:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556705024001,"66":27908,"224":206,"80":35072,"24":42,"16":341691221359460352,"45":-3959860318820311040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,80,24,16,45]} 
[2026-07-07 17:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556705024001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:15:40] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-07 17:15:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341691221359460352,"km_value":341691221359460.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3959860318820311040,"description":"Unknown IO ID 45"} 
[2026-07-07 17:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556705024001,"power":27908,"unknown_224":206,"unknown_80":35072,"ignition":42,"odometer":null,"unknown_45":-3959860318820311040}} 
[2026-07-07 17:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":124611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:15:40] local.INFO: GPS data processed {"connection_id":124611,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:15:40] local.INFO: Acknowledgment sent {"connection_id":124611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:16:00] local.INFO: TCP Data received {"connection_id":124614,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:16:00] local.INFO: Processing buffer {"connection_id":124614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:16:00] local.INFO: IMEI packet received {"connection_id":124614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":124614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:16:02] local.INFO: TCP Data received {"connection_id":124614,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:16:02] local.INFO: Processing buffer {"connection_id":124614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:16:02] local.INFO: IMEI packet received {"connection_id":124614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":124614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:16:03] local.INFO: TCP Data received {"connection_id":124614,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:16:03] local.INFO: Processing buffer {"connection_id":124614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:16:03] local.INFO: IMEI packet received {"connection_id":124614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":124614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:16:06] local.INFO: TCP Data received {"connection_id":124614,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:16:06] local.INFO: Processing buffer {"connection_id":124614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:16:06] local.INFO: IMEI packet received {"connection_id":124614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":124614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:16:07] local.INFO: TCP Data received {"connection_id":124613,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:16:07] local.INFO: Processing buffer {"connection_id":124613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:16:07] local.INFO: IMEI packet received {"connection_id":124613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":124613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:16:08] local.INFO: TCP Data received {"connection_id":124613,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:16:08] local.INFO: Processing buffer {"connection_id":124613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:16:08] local.INFO: IMEI packet received {"connection_id":124613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":124613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:16:10] local.INFO: TCP Data received {"connection_id":124613,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c647b70012dc90b4005304ac0001c00c02b..."} 
[2026-07-07 17:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c647b70012dc90b4005304ac0001c00c02b..."} 
[2026-07-07 17:16:10] local.INFO: Processing buffer {"connection_id":124613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c647b70012dc90b4005304ac0001c00c02b..."} 
[2026-07-07 17:16:10] local.INFO: Packet analysis {"connection_id":124613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:16:10] local.INFO: Extracted packet for processing {"connection_id":124613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:16:10] local.INFO: GPS Element Parsed {"raw_longitude":768150336,"raw_latitude":87050944,"longitude_deg":76.8150336,"latitude_deg":8.7050944,"altitude":28,"angle":192,"satellites":43,"speed":37,"hex_longitude":"2dc90b40","hex_latitude":"05304ac0","is_valid_coordinates":true} 
[2026-07-07 17:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556706816001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341691698100830208,"note":"Value kept but may cause issues"} 
[2026-07-07 17:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3958945525147846656,"note":"Value kept but may cause issues"} 
[2026-07-07 17:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783424646000,"timestamp_ms":1783424646000,"timestamp_seconds":1783424646,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c647b70"} 
[2026-07-07 17:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 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-07-07 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-07-07 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-07-07 17:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556706816001,"66":27865,"224":206,"80":35072,"24":37,"16":341691698100830208,"45":-3958945525147846656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,80,24,16,45]} 
[2026-07-07 17:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556706816001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:16:10] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-07 17:16:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341691698100830208,"km_value":341691698100830.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3958945525147846656,"description":"Unknown IO ID 45"} 
[2026-07-07 17:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556706816001,"power":27865,"unknown_224":206,"unknown_80":35072,"ignition":37,"odometer":null,"unknown_45":-3958945525147846656}} 
[2026-07-07 17:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":124613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:16:10] local.INFO: GPS data processed {"connection_id":124613,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:16:10] local.INFO: Acknowledgment sent {"connection_id":124613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:16:14] local.INFO: TCP Data received {"connection_id":124613,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c647b70012dc90b4005304ac0001c00c02b..."} 
[2026-07-07 17:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c647b70012dc90b4005304ac0001c00c02b..."} 
[2026-07-07 17:16:14] local.INFO: Processing buffer {"connection_id":124613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c647b70012dc90b4005304ac0001c00c02b..."} 
[2026-07-07 17:16:14] local.INFO: Packet analysis {"connection_id":124613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:16:14] local.INFO: Extracted packet for processing {"connection_id":124613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:16:14] local.INFO: GPS Element Parsed {"raw_longitude":768150336,"raw_latitude":87050944,"longitude_deg":76.8150336,"latitude_deg":8.7050944,"altitude":28,"angle":192,"satellites":43,"speed":37,"hex_longitude":"2dc90b40","hex_latitude":"05304ac0","is_valid_coordinates":true} 
[2026-07-07 17:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556709376001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341691698100830208,"note":"Value kept but may cause issues"} 
[2026-07-07 17:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3960001056312999936,"note":"Value kept but may cause issues"} 
[2026-07-07 17:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783424646000,"timestamp_ms":1783424646000,"timestamp_seconds":1783424646,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c647b70"} 
[2026-07-07 17:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17: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-07-07 17:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 17:16: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-07-07 17:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:16: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-07-07 17:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556709376001,"66":27865,"224":206,"80":35072,"24":37,"16":341691698100830208,"45":-3960001056312999936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,80,24,16,45]} 
[2026-07-07 17:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556709376001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:16:14] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-07 17:16:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341691698100830208,"km_value":341691698100830.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3960001056312999936,"description":"Unknown IO ID 45"} 
[2026-07-07 17:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556709376001,"power":27865,"unknown_224":206,"unknown_80":35072,"ignition":37,"odometer":null,"unknown_45":-3960001056312999936}} 
[2026-07-07 17:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":124613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:16:14] local.INFO: GPS data processed {"connection_id":124613,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:16:14] local.INFO: Acknowledgment sent {"connection_id":124613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:16:29] local.INFO: TCP Data received {"connection_id":125414,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c640e10012d7a2e4005e45be8000a00422f..."} 
[2026-07-07 17:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c640e10012d7a2e4005e45be8000a00422f..."} 
[2026-07-07 17:16:29] local.INFO: Processing buffer {"connection_id":125414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c640e10012d7a2e4005e45be8000a00422f..."} 
[2026-07-07 17:16:29] local.INFO: Packet analysis {"connection_id":125414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:16:29] local.INFO: Extracted packet for processing {"connection_id":125414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:16:29] local.INFO: GPS Element Parsed {"raw_longitude":762981952,"raw_latitude":98851816,"longitude_deg":76.2981952,"latitude_deg":9.8851816,"altitude":10,"angle":66,"satellites":47,"speed":8,"hex_longitude":"2d7a2e40","hex_latitude":"05e45be8","is_valid_coordinates":true} 
[2026-07-07 17:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556701952001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382624478691328,"note":"Value kept but may cause issues"} 
[2026-07-07 17:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803763240629415936,"note":"Value kept but may cause issues"} 
[2026-07-07 17:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783424618000,"timestamp_ms":1783424618000,"timestamp_seconds":1783424618,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c640e10"} 
[2026-07-07 17:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 17:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556701952001,"66":12863,"157":206,"87":12288,"24":8,"16":103382624478691328,"45":8803763240629415936},"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-07-07 17:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556701952001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:16:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 17:16:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-07 17:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382624478691328,"km_value":103382624478691.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803763240629415936,"description":"Unknown IO ID 45"} 
[2026-07-07 17:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556701952001,"power":12863,"unknown_157":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8803763240629415936}} 
[2026-07-07 17:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":125414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:16:29] local.INFO: GPS data processed {"connection_id":125414,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:16:29] local.INFO: Acknowledgment sent {"connection_id":125414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:16:40] local.INFO: TCP Data received {"connection_id":125414,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6411f8012d7a2ec005e45c58000a00372e..."} 
[2026-07-07 17:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6411f8012d7a2ec005e45c58000a00372e..."} 
[2026-07-07 17:16:40] local.INFO: Processing buffer {"connection_id":125414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6411f8012d7a2ec005e45c58000a00372e..."} 
[2026-07-07 17:16:40] local.INFO: Packet analysis {"connection_id":125414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:16:40] local.INFO: Extracted packet for processing {"connection_id":125414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:16:40] local.INFO: GPS Element Parsed {"raw_longitude":762982080,"raw_latitude":98851928,"longitude_deg":76.298208,"latitude_deg":9.8851928,"altitude":10,"angle":55,"satellites":46,"speed":7,"hex_longitude":"2d7a2ec0","hex_latitude":"05e45c58","is_valid_coordinates":true} 
[2026-07-07 17:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556702208001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103382633068625920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804044715606140928,"note":"Value kept but may cause issues"} 
[2026-07-07 17:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783424619000,"timestamp_ms":1783424619000,"timestamp_seconds":1783424619,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6411f8"} 
[2026-07-07 17:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 17:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:16: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-07-07 17:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556702208001,"66":12939,"157":206,"87":12288,"24":7,"16":103382633068625920,"45":8804044715606140928},"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-07-07 17:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556702208001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:16:40] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 17:16:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-07 17:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103382633068625920,"km_value":103382633068625.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804044715606140928,"description":"Unknown IO ID 45"} 
[2026-07-07 17:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556702208001,"power":12939,"unknown_157":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8804044715606140928}} 
[2026-07-07 17:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":125414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:16:40] local.INFO: GPS data processed {"connection_id":125414,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:16:40] local.INFO: Acknowledgment sent {"connection_id":125414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:16:44] local.INFO: TCP Data received {"connection_id":126673,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:16:44] local.INFO: Processing buffer {"connection_id":126673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:16:44] local.INFO: IMEI packet received {"connection_id":126673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":126673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:16:46] local.INFO: TCP Data received {"connection_id":126673,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:16:46] local.INFO: Processing buffer {"connection_id":126673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:16:46] local.INFO: IMEI packet received {"connection_id":126673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":126673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:16:48] local.INFO: TCP Data received {"connection_id":126673,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:16:48] local.INFO: Processing buffer {"connection_id":126673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:16:48] local.INFO: IMEI packet received {"connection_id":126673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":126673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:16:50] local.INFO: TCP Data received {"connection_id":126673,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c664090012d7a660005e46918000a007b29..."} 
[2026-07-07 17:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c664090012d7a660005e46918000a007b29..."} 
[2026-07-07 17:16:50] local.INFO: Processing buffer {"connection_id":126673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c664090012d7a660005e46918000a007b29..."} 
[2026-07-07 17:16:50] local.INFO: Packet analysis {"connection_id":126673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c66"} 
[2026-07-07 17:16:50] local.INFO: Extracted packet for processing {"connection_id":126673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c66"} 
[2026-07-07 17:16:50] local.INFO: GPS Element Parsed {"raw_longitude":762996224,"raw_latitude":98855192,"longitude_deg":76.2996224,"latitude_deg":9.8855192,"altitude":10,"angle":123,"satellites":41,"speed":10,"hex_longitude":"2d7a6600","hex_latitude":"05e46918","is_valid_coordinates":true} 
[2026-07-07 17:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556738560001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103383346033197056,"note":"Value kept but may cause issues"} 
[2026-07-07 17:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819314733093611520,"note":"Value kept but may cause issues"} 
[2026-07-07 17:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783424762000,"timestamp_ms":1783424762000,"timestamp_seconds":1783424762,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c664090"} 
[2026-07-07 17:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 17:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:16: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-07-07 17:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556738560001,"66":13374,"157":206,"87":12288,"24":10,"16":103383346033197056,"45":8819314733093611520},"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-07-07 17:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556738560001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:16:50] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 17:16:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-07 17:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103383346033197056,"km_value":103383346033197.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819314733093611520,"description":"Unknown IO ID 45"} 
[2026-07-07 17:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556738560001,"power":13374,"unknown_157":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8819314733093611520}} 
[2026-07-07 17:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":126673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:16:50] local.INFO: GPS data processed {"connection_id":126673,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:16:50] local.INFO: Acknowledgment sent {"connection_id":126673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:16:59] local.INFO: TCP Data received {"connection_id":126674,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:16:59] local.INFO: Processing buffer {"connection_id":126674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:16:59] local.INFO: IMEI packet received {"connection_id":126674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":126674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:17:00] local.INFO: TCP Data received {"connection_id":126674,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:17:00] local.INFO: Processing buffer {"connection_id":126674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:17:00] local.INFO: IMEI packet received {"connection_id":126674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":126674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:17:02] local.INFO: TCP Data received {"connection_id":126674,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c649e98012dc9034005302748002000c02c..."} 
[2026-07-07 17:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c649e98012dc9034005302748002000c02c..."} 
[2026-07-07 17:17:02] local.INFO: Processing buffer {"connection_id":126674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c649e98012dc9034005302748002000c02c..."} 
[2026-07-07 17:17:02] local.INFO: Packet analysis {"connection_id":126674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:17:02] local.INFO: Extracted packet for processing {"connection_id":126674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:17:02] local.INFO: GPS Element Parsed {"raw_longitude":768148288,"raw_latitude":87041864,"longitude_deg":76.8148288,"latitude_deg":8.7041864,"altitude":32,"angle":192,"satellites":44,"speed":43,"hex_longitude":"2dc90340","hex_latitude":"05302748","is_valid_coordinates":true} 
[2026-07-07 17:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556709376001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341692149072396288,"note":"Value kept but may cause issues"} 
[2026-07-07 17:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3960001056312999936,"note":"Value kept but may cause issues"} 
[2026-07-07 17:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783424655000,"timestamp_ms":1783424655000,"timestamp_seconds":1783424655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c649e98"} 
[2026-07-07 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-07-07 17:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 17:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 17:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556709376001,"66":27745,"224":206,"80":35072,"24":43,"16":341692149072396288,"45":-3960001056312999936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,80,24,16,45]} 
[2026-07-07 17:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556709376001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:17:02] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-07 17:17:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341692149072396288,"km_value":341692149072396.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3960001056312999936,"description":"Unknown IO ID 45"} 
[2026-07-07 17:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556709376001,"power":27745,"unknown_224":206,"unknown_80":35072,"ignition":43,"odometer":null,"unknown_45":-3960001056312999936}} 
[2026-07-07 17:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":126674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:17:02] local.INFO: GPS data processed {"connection_id":126674,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:17:02] local.INFO: Acknowledgment sent {"connection_id":126674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:17:04] local.INFO: TCP Data received {"connection_id":126674,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c64c1c0012dc8f9c005300558002200c72d..."} 
[2026-07-07 17:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c64c1c0012dc8f9c005300558002200c72d..."} 
[2026-07-07 17:17:04] local.INFO: Processing buffer {"connection_id":126674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c64c1c0012dc8f9c005300558002200c72d..."} 
[2026-07-07 17:17:04] local.INFO: Packet analysis {"connection_id":126674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:17:04] local.INFO: Extracted packet for processing {"connection_id":126674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:17:04] local.INFO: GPS Element Parsed {"raw_longitude":768145856,"raw_latitude":87033176,"longitude_deg":76.8145856,"latitude_deg":8.7033176,"altitude":34,"angle":199,"satellites":45,"speed":35,"hex_longitude":"2dc8f9c0","hex_latitude":"05300558","is_valid_coordinates":true} 
[2026-07-07 17:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556711680001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341692587159060480,"note":"Value kept but may cause issues"} 
[2026-07-07 17:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3962252856129009664,"note":"Value kept but may cause issues"} 
[2026-07-07 17:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783424664000,"timestamp_ms":1783424664000,"timestamp_seconds":1783424664,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c64c1c0"} 
[2026-07-07 17:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 17:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556711680001,"66":27767,"10":206,"80":35072,"24":35,"16":341692587159060480,"45":-3962252856129009664},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-07-07 17:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556711680001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:17:04] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-07 17:17:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341692587159060480,"km_value":341692587159060.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3962252856129009664,"description":"Unknown IO ID 45"} 
[2026-07-07 17:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556711680001,"power":27767,"unknown_10":206,"unknown_80":35072,"ignition":35,"odometer":null,"unknown_45":-3962252856129009664}} 
[2026-07-07 17:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":126674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:17:04] local.INFO: GPS data processed {"connection_id":126674,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:17:04] local.INFO: Acknowledgment sent {"connection_id":126674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:17:26] local.INFO: TCP Data received {"connection_id":124616,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:17:26] local.INFO: Processing buffer {"connection_id":124616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:17:26] local.INFO: IMEI packet received {"connection_id":124616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":124616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:17:31] local.INFO: TCP Data received {"connection_id":124616,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:17:31] local.INFO: Processing buffer {"connection_id":124616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:17:31] local.INFO: IMEI packet received {"connection_id":124616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":124616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:17:32] local.INFO: TCP Data received {"connection_id":124616,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c667358012d7a828005e45270000a008027..."} 
[2026-07-07 17:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c667358012d7a828005e45270000a008027..."} 
[2026-07-07 17:17:32] local.INFO: Processing buffer {"connection_id":124616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c667358012d7a828005e45270000a008027..."} 
[2026-07-07 17:17:32] local.INFO: Packet analysis {"connection_id":124616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c66"} 
[2026-07-07 17:17:32] local.INFO: Extracted packet for processing {"connection_id":124616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c66"} 
[2026-07-07 17:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763003520,"raw_latitude":98849392,"longitude_deg":76.300352,"latitude_deg":9.8849392,"altitude":10,"angle":128,"satellites":39,"speed":36,"hex_longitude":"2d7a8280","hex_latitude":"05e45270","is_valid_coordinates":true} 
[2026-07-07 17:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556739072001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103383792709795840,"note":"Value kept but may cause issues"} 
[2026-07-07 17:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819736945558624256,"note":"Value kept but may cause issues"} 
[2026-07-07 17:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783424775000,"timestamp_ms":1783424775000,"timestamp_seconds":1783424775,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c667358"} 
[2026-07-07 17:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-07 17:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556739072001,"66":13178,"157":206,"87":12288,"24":36,"16":103383792709795840,"45":8819736945558624256},"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-07-07 17:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556739072001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:17:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 17:17:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-07 17:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103383792709795840,"km_value":103383792709795.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819736945558624256,"description":"Unknown IO ID 45"} 
[2026-07-07 17:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556739072001,"power":13178,"unknown_157":206,"unknown_87":12288,"ignition":36,"odometer":null,"unknown_45":8819736945558624256}} 
[2026-07-07 17:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":124616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:17:32] local.INFO: GPS data processed {"connection_id":124616,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:17:32] local.INFO: Acknowledgment sent {"connection_id":124616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:17:35] local.INFO: TCP Data received {"connection_id":126674,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c64ecb8012dc8ea80052fe250002200ce2b..."} 
[2026-07-07 17:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c64ecb8012dc8ea80052fe250002200ce2b..."} 
[2026-07-07 17:17:36] local.INFO: Processing buffer {"connection_id":126674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c64ecb8012dc8ea80052fe250002200ce2b..."} 
[2026-07-07 17:17:36] local.INFO: Packet analysis {"connection_id":126674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:17:36] local.INFO: Extracted packet for processing {"connection_id":126674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c64"} 
[2026-07-07 17:17:36] local.INFO: GPS Element Parsed {"raw_longitude":768141952,"raw_latitude":87024208,"longitude_deg":76.8141952,"latitude_deg":8.7024208,"altitude":34,"angle":206,"satellites":43,"speed":38,"hex_longitude":"2dc8ea80","hex_latitude":"052fe250","is_valid_coordinates":true} 
[2026-07-07 17:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556713984001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341693059605463040,"note":"Value kept but may cause issues"} 
[2026-07-07 17:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3964926868409985024,"note":"Value kept but may cause issues"} 
[2026-07-07 17:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783424675000,"timestamp_ms":1783424675000,"timestamp_seconds":1783424675,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c64ecb8"} 
[2026-07-07 17:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:17: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-07-07 17:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 17:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556713984001,"66":27919,"10":206,"80":35072,"24":38,"16":341693059605463040,"45":-3964926868409985024},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-07-07 17:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556713984001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:17:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-07 17:17:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341693059605463040,"km_value":341693059605463.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3964926868409985024,"description":"Unknown IO ID 45"} 
[2026-07-07 17:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556713984001,"power":27919,"unknown_10":206,"unknown_80":35072,"ignition":38,"odometer":null,"unknown_45":-3964926868409985024}} 
[2026-07-07 17:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":126674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:17:36] local.INFO: GPS data processed {"connection_id":126674,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:17:36] local.INFO: Acknowledgment sent {"connection_id":126674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:17:39] local.INFO: TCP Data received {"connection_id":126675,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:17:39] local.INFO: Processing buffer {"connection_id":126675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:17:39] local.INFO: IMEI packet received {"connection_id":126675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 17:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":126675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:17:59] local.INFO: TCP Data received {"connection_id":124695,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:17:59] local.INFO: Processing buffer {"connection_id":124695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:17:59] local.INFO: IMEI packet received {"connection_id":124695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":124695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:18:01] local.INFO: TCP Data received {"connection_id":125415,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:18:01] local.INFO: Processing buffer {"connection_id":125415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:18:01] local.INFO: IMEI packet received {"connection_id":125415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 17:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":125415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:18:03] local.INFO: TCP Data received {"connection_id":124695,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:18:03] local.INFO: Processing buffer {"connection_id":124695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:18:03] local.INFO: IMEI packet received {"connection_id":124695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":124695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:18:03] local.INFO: TCP Data received {"connection_id":124695,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c650fe0012dc8dbc0052fc210002400c62c..."} 
[2026-07-07 17:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c650fe0012dc8dbc0052fc210002400c62c..."} 
[2026-07-07 17:18:03] local.INFO: Processing buffer {"connection_id":124695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c650fe0012dc8dbc0052fc210002400c62c..."} 
[2026-07-07 17:18:03] local.INFO: Packet analysis {"connection_id":124695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c65"} 
[2026-07-07 17:18:03] local.INFO: Extracted packet for processing {"connection_id":124695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c65"} 
[2026-07-07 17:18:03] local.INFO: GPS Element Parsed {"raw_longitude":768138176,"raw_latitude":87015952,"longitude_deg":76.8138176,"latitude_deg":8.7015952,"altitude":36,"angle":198,"satellites":44,"speed":40,"hex_longitude":"2dc8dbc0","hex_latitude":"052fc210","is_valid_coordinates":true} 
[2026-07-07 17:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556716800001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341693497692127232,"note":"Value kept but may cause issues"} 
[2026-07-07 17:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3969219361807118336,"note":"Value kept but may cause issues"} 
[2026-07-07 17:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783424684000,"timestamp_ms":1783424684000,"timestamp_seconds":1783424684,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c650fe0"} 
[2026-07-07 17:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:18: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-07-07 17:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 17:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556716800001,"66":27919,"10":206,"80":35072,"24":40,"16":341693497692127232,"45":-3969219361807118336},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-07-07 17:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556716800001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:18:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-07 17:18:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341693497692127232,"km_value":341693497692127.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3969219361807118336,"description":"Unknown IO ID 45"} 
[2026-07-07 17:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556716800001,"power":27919,"unknown_10":206,"unknown_80":35072,"ignition":40,"odometer":null,"unknown_45":-3969219361807118336}} 
[2026-07-07 17:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":124695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:18:03] local.INFO: GPS data processed {"connection_id":124695,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:18:03] local.INFO: Acknowledgment sent {"connection_id":124695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:18:05] local.INFO: TCP Data received {"connection_id":124616,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c669680012d7a9e8005e43ba0000a007f27..."} 
[2026-07-07 17:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c669680012d7a9e8005e43ba0000a007f27..."} 
[2026-07-07 17:18:05] local.INFO: Processing buffer {"connection_id":124616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c669680012d7a9e8005e43ba0000a007f27..."} 
[2026-07-07 17:18:05] local.INFO: Packet analysis {"connection_id":124616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c66"} 
[2026-07-07 17:18:05] local.INFO: Extracted packet for processing {"connection_id":124616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c66"} 
[2026-07-07 17:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763010688,"raw_latitude":98843552,"longitude_deg":76.3010688,"latitude_deg":9.8843552,"altitude":10,"angle":127,"satellites":39,"speed":41,"hex_longitude":"2d7a9e80","hex_latitude":"05e43ba0","is_valid_coordinates":true} 
[2026-07-07 17:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556742400001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103384235091427328,"note":"Value kept but may cause issues"} 
[2026-07-07 17:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827758982393393152,"note":"Value kept but may cause issues"} 
[2026-07-07 17:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783424784000,"timestamp_ms":1783424784000,"timestamp_seconds":1783424784,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c669680"} 
[2026-07-07 17:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 17:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:18: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-07-07 17:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556742400001,"66":13450,"97":206,"85":15104,"24":41,"16":103384235091427328,"45":8827758982393393152},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556742400001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:18:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:18:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103384235091427328,"km_value":103384235091427.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827758982393393152,"description":"Unknown IO ID 45"} 
[2026-07-07 17:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556742400001,"power":13450,"unknown_97":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8827758982393393152}} 
[2026-07-07 17:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":124616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:18:05] local.INFO: GPS data processed {"connection_id":124616,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:18:05] local.INFO: Acknowledgment sent {"connection_id":124616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:18:26] local.INFO: TCP Data received {"connection_id":125416,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:18:26] local.INFO: Processing buffer {"connection_id":125416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:18:26] local.INFO: IMEI packet received {"connection_id":125416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":125416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:18:31] local.INFO: TCP Data received {"connection_id":125416,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:18:31] local.INFO: Processing buffer {"connection_id":125416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:18:31] local.INFO: IMEI packet received {"connection_id":125416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":125416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:18:32] local.INFO: TCP Data received {"connection_id":125416,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c66bd90012d7aba4005e42480000a008729..."} 
[2026-07-07 17:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c66bd90012d7aba4005e42480000a008729..."} 
[2026-07-07 17:18:32] local.INFO: Processing buffer {"connection_id":125416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c66bd90012d7aba4005e42480000a008729..."} 
[2026-07-07 17:18:32] local.INFO: Packet analysis {"connection_id":125416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c66"} 
[2026-07-07 17:18:32] local.INFO: Extracted packet for processing {"connection_id":125416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c66"} 
[2026-07-07 17:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763017792,"raw_latitude":98837632,"longitude_deg":76.3017792,"latitude_deg":9.8837632,"altitude":10,"angle":135,"satellites":41,"speed":34,"hex_longitude":"2d7aba40","hex_latitude":"05e42480","is_valid_coordinates":true} 
[2026-07-07 17:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556744704001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103384681768026112,"note":"Value kept but may cause issues"} 
[2026-07-07 17:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835640281739796480,"note":"Value kept but may cause issues"} 
[2026-07-07 17:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783424794000,"timestamp_ms":1783424794000,"timestamp_seconds":1783424794,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c66bd90"} 
[2026-07-07 17:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-07 17:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556744704001,"66":12906,"97":206,"85":15104,"24":34,"16":103384681768026112,"45":8835640281739796480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556744704001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:18:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103384681768026112,"km_value":103384681768026.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835640281739796480,"description":"Unknown IO ID 45"} 
[2026-07-07 17:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556744704001,"power":12906,"unknown_97":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8835640281739796480}} 
[2026-07-07 17:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":125416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:18:32] local.INFO: GPS data processed {"connection_id":125416,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:18:32] local.INFO: Acknowledgment sent {"connection_id":125416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:18:36] local.INFO: TCP Data received {"connection_id":124695,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c67d6d0012dc8d700052f3808002e00ce2f..."} 
[2026-07-07 17:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c67d6d0012dc8d700052f3808002e00ce2f..."} 
[2026-07-07 17:18:36] local.INFO: Processing buffer {"connection_id":124695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c67d6d0012dc8d700052f3808002e00ce2f..."} 
[2026-07-07 17:18:36] local.INFO: Packet analysis {"connection_id":124695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c67"} 
[2026-07-07 17:18:36] local.INFO: Extracted packet for processing {"connection_id":124695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c67"} 
[2026-07-07 17:18:36] local.INFO: GPS Element Parsed {"raw_longitude":768136960,"raw_latitude":86980616,"longitude_deg":76.813696,"latitude_deg":8.6980616,"altitude":46,"angle":206,"satellites":47,"speed":10,"hex_longitude":"2dc8d700","hex_latitude":"052f3808","is_valid_coordinates":true} 
[2026-07-07 17:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556765184001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341695258628718592,"note":"Value kept but may cause issues"} 
[2026-07-07 17:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3974356280143120384,"note":"Value kept but may cause issues"} 
[2026-07-07 17:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783424866000,"timestamp_ms":1783424866000,"timestamp_seconds":1783424866,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c67d6d0"} 
[2026-07-07 17:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 17:18: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-07-07 17:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556765184001,"66":27767,"11":206,"80":35072,"24":10,"16":341695258628718592,"45":-3974356280143120384},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-07 17:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556765184001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:18:36] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-07 17:18:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341695258628718592,"km_value":341695258628718.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3974356280143120384,"description":"Unknown IO ID 45"} 
[2026-07-07 17:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556765184001,"power":27767,"unknown_11":206,"unknown_80":35072,"ignition":10,"odometer":null,"unknown_45":-3974356280143120384}} 
[2026-07-07 17:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":124695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:18:36] local.INFO: GPS data processed {"connection_id":124695,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:18:36] local.INFO: Acknowledgment sent {"connection_id":124695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:19:02] local.INFO: TCP Data received {"connection_id":125417,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:19:02] local.INFO: Processing buffer {"connection_id":125417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:19:02] local.INFO: IMEI packet received {"connection_id":125417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":125417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:19:03] local.INFO: TCP Data received {"connection_id":125417,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:19:03] local.INFO: Processing buffer {"connection_id":125417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:19:03] local.INFO: IMEI packet received {"connection_id":125417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":125417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:19:04] local.INFO: TCP Data received {"connection_id":125416,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c66f058012d7ace4005e40e50000b00942c..."} 
[2026-07-07 17:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c66f058012d7ace4005e40e50000b00942c..."} 
[2026-07-07 17:19:04] local.INFO: Processing buffer {"connection_id":125416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c66f058012d7ace4005e40e50000b00942c..."} 
[2026-07-07 17:19:04] local.INFO: Packet analysis {"connection_id":125416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c66"} 
[2026-07-07 17:19:04] local.INFO: Extracted packet for processing {"connection_id":125416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c66"} 
[2026-07-07 17:19:04] local.INFO: GPS Element Parsed {"raw_longitude":763022912,"raw_latitude":98831952,"longitude_deg":76.3022912,"latitude_deg":9.8831952,"altitude":11,"angle":148,"satellites":44,"speed":22,"hex_longitude":"2d7ace40","hex_latitude":"05e40e50","is_valid_coordinates":true} 
[2026-07-07 17:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556747264001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103385051135213568,"note":"Value kept but may cause issues"} 
[2026-07-07 17:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843451212342001664,"note":"Value kept but may cause issues"} 
[2026-07-07 17:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783424807000,"timestamp_ms":1783424807000,"timestamp_seconds":1783424807,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c66f058"} 
[2026-07-07 17:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-07 17:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556747264001,"66":13243,"97":206,"85":15104,"24":22,"16":103385051135213568,"45":8843451212342001664},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556747264001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:19:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:19:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103385051135213568,"km_value":103385051135213.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843451212342001664,"description":"Unknown IO ID 45"} 
[2026-07-07 17:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556747264001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8843451212342001664}} 
[2026-07-07 17:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":125416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:19:04] local.INFO: GPS data processed {"connection_id":125416,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:19:04] local.INFO: Acknowledgment sent {"connection_id":125416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:19:04] local.INFO: TCP Data received {"connection_id":125417,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c67dab8012dc8d680052f3708002e00c22f..."} 
[2026-07-07 17:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c67dab8012dc8d680052f3708002e00c22f..."} 
[2026-07-07 17:19:04] local.INFO: Processing buffer {"connection_id":125417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c67dab8012dc8d680052f3708002e00c22f..."} 
[2026-07-07 17:19:04] local.INFO: Packet analysis {"connection_id":125417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c67"} 
[2026-07-07 17:19:04] local.INFO: Extracted packet for processing {"connection_id":125417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c67"} 
[2026-07-07 17:19:04] local.INFO: GPS Element Parsed {"raw_longitude":768136832,"raw_latitude":86980360,"longitude_deg":76.8136832,"latitude_deg":8.698036,"altitude":46,"angle":194,"satellites":47,"speed":10,"hex_longitude":"2dc8d680","hex_latitude":"052f3708","is_valid_coordinates":true} 
[2026-07-07 17:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556765696001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341695275808587776,"note":"Value kept but may cause issues"} 
[2026-07-07 17:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3974708123864135680,"note":"Value kept but may cause issues"} 
[2026-07-07 17:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783424867000,"timestamp_ms":1783424867000,"timestamp_seconds":1783424867,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c67dab8"} 
[2026-07-07 17:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 17:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556765696001,"66":27843,"11":206,"80":35072,"24":10,"16":341695275808587776,"45":-3974708123864135680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-07 17:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556765696001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:19:04] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-07 17:19:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341695275808587776,"km_value":341695275808587.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3974708123864135680,"description":"Unknown IO ID 45"} 
[2026-07-07 17:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556765696001,"power":27843,"unknown_11":206,"unknown_80":35072,"ignition":10,"odometer":null,"unknown_45":-3974708123864135680}} 
[2026-07-07 17:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":125417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:19:04] local.INFO: GPS data processed {"connection_id":125417,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:19:04] local.INFO: Acknowledgment sent {"connection_id":125417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:19:09] local.INFO: TCP Data received {"connection_id":125417,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c67dea0012dc8d680052f3610002e00b32f..."} 
[2026-07-07 17:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c67dea0012dc8d680052f3610002e00b32f..."} 
[2026-07-07 17:19:09] local.INFO: Processing buffer {"connection_id":125417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c67dea0012dc8d680052f3610002e00b32f..."} 
[2026-07-07 17:19:09] local.INFO: Packet analysis {"connection_id":125417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c67"} 
[2026-07-07 17:19:09] local.INFO: Extracted packet for processing {"connection_id":125417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c67"} 
[2026-07-07 17:19:09] local.INFO: GPS Element Parsed {"raw_longitude":768136832,"raw_latitude":86980112,"longitude_deg":76.8136832,"latitude_deg":8.6980112,"altitude":46,"angle":179,"satellites":47,"speed":9,"hex_longitude":"2dc8d680","hex_latitude":"052f3610","is_valid_coordinates":true} 
[2026-07-07 17:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556765952001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341695284398522368,"note":"Value kept but may cause issues"} 
[2026-07-07 17:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3974848861352556544,"note":"Value kept but may cause issues"} 
[2026-07-07 17:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783424868000,"timestamp_ms":1783424868000,"timestamp_seconds":1783424868,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c67dea0"} 
[2026-07-07 17:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17: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-07-07 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 17:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556765952001,"66":27843,"11":206,"80":35072,"24":9,"16":341695284398522368,"45":-3974848861352556544},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-07 17:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556765952001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:19:09] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-07 17:19:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341695284398522368,"km_value":341695284398522.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3974848861352556544,"description":"Unknown IO ID 45"} 
[2026-07-07 17:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556765952001,"power":27843,"unknown_11":206,"unknown_80":35072,"ignition":9,"odometer":null,"unknown_45":-3974848861352556544}} 
[2026-07-07 17:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":125417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:19:09] local.INFO: GPS data processed {"connection_id":125417,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:19:09] local.INFO: Acknowledgment sent {"connection_id":125417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:19:26] local.INFO: TCP Data received {"connection_id":126676,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:19:26] local.INFO: Processing buffer {"connection_id":126676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:19:26] local.INFO: IMEI packet received {"connection_id":126676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":126676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:19:31] local.INFO: TCP Data received {"connection_id":126676,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:19:31] local.INFO: Processing buffer {"connection_id":126676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:19:31] local.INFO: IMEI packet received {"connection_id":126676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":126676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:19:32] local.INFO: TCP Data received {"connection_id":126676,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c66f828012d7ad00005e40a08000b00a12b..."} 
[2026-07-07 17:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c66f828012d7ad00005e40a08000b00a12b..."} 
[2026-07-07 17:19:32] local.INFO: Processing buffer {"connection_id":126676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c66f828012d7ad00005e40a08000b00a12b..."} 
[2026-07-07 17:19:32] local.INFO: Packet analysis {"connection_id":126676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c66"} 
[2026-07-07 17:19:32] local.INFO: Extracted packet for processing {"connection_id":126676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c66"} 
[2026-07-07 17:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763023360,"raw_latitude":98830856,"longitude_deg":76.302336,"latitude_deg":9.8830856,"altitude":11,"angle":161,"satellites":43,"speed":24,"hex_longitude":"2d7ad000","hex_latitude":"05e40a08","is_valid_coordinates":true} 
[2026-07-07 17:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556750592001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103385106969788416,"note":"Value kept but may cause issues"} 
[2026-07-07 17:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849080711874760704,"note":"Value kept but may cause issues"} 
[2026-07-07 17:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783424809000,"timestamp_ms":1783424809000,"timestamp_seconds":1783424809,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c66f828"} 
[2026-07-07 17:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 17:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556750592001,"66":13124,"97":206,"85":15104,"24":24,"16":103385106969788416,"45":8849080711874760704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556750592001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:19:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:19:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103385106969788416,"km_value":103385106969788.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849080711874760704,"description":"Unknown IO ID 45"} 
[2026-07-07 17:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556750592001,"power":13124,"unknown_97":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8849080711874760704}} 
[2026-07-07 17:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":126676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:19:32] local.INFO: GPS data processed {"connection_id":126676,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:19:32] local.INFO: Acknowledgment sent {"connection_id":126676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:19:46] local.INFO: TCP Data received {"connection_id":125417,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6830a8012dc8d680052f18b8002800ae2b..."} 
[2026-07-07 17:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6830a8012dc8d680052f18b8002800ae2b..."} 
[2026-07-07 17:19:46] local.INFO: Processing buffer {"connection_id":125417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6830a8012dc8d680052f18b8002800ae2b..."} 
[2026-07-07 17:19:46] local.INFO: Packet analysis {"connection_id":125417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c68"} 
[2026-07-07 17:19:46] local.INFO: Extracted packet for processing {"connection_id":125417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c68"} 
[2026-07-07 17:19:46] local.INFO: GPS Element Parsed {"raw_longitude":768136832,"raw_latitude":86972600,"longitude_deg":76.8136832,"latitude_deg":8.69726,"altitude":40,"angle":174,"satellites":43,"speed":12,"hex_longitude":"2dc8d680","hex_latitude":"052f18b8","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556766208001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341695649470742528,"note":"Value kept but may cause issues"} 
[2026-07-07 17:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3974848861352620032,"note":"Value kept but may cause issues"} 
[2026-07-07 17:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783424889000,"timestamp_ms":1783424889000,"timestamp_seconds":1783424889,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6830a8"} 
[2026-07-07 17:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 17:19: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-07-07 17: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-07-07 17:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":125417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":125417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":125417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:19: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-07-07 17:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556766208001,"66":28028,"11":206,"80":35072,"24":12,"16":341695649470742528,"45":-3974848861352620032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-07 17:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556766208001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:19:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-07 17:19:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341695649470742528,"km_value":341695649470742.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3974848861352620032,"description":"Unknown IO ID 45"} 
[2026-07-07 17:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556766208001,"power":28028,"unknown_11":206,"unknown_80":35072,"ignition":12,"odometer":null,"unknown_45":-3974848861352620032}} 
[2026-07-07 17:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":125417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:19:46] local.INFO: GPS data processed {"connection_id":125417,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:19:46] local.INFO: Acknowledgment sent {"connection_id":125417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:20:03] local.INFO: TCP Data received {"connection_id":125419,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:20:03] local.INFO: Processing buffer {"connection_id":125419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:20:03] local.INFO: IMEI packet received {"connection_id":125419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":125419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:20:04] local.INFO: TCP Data received {"connection_id":126676,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6736a8012d7ad7c005e3e698000900a625..."} 
[2026-07-07 17:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6736a8012d7ad7c005e3e698000900a625..."} 
[2026-07-07 17:20:04] local.INFO: Processing buffer {"connection_id":126676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6736a8012d7ad7c005e3e698000900a625..."} 
[2026-07-07 17:20:04] local.INFO: Packet analysis {"connection_id":126676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c67"} 
[2026-07-07 17:20:04] local.INFO: Extracted packet for processing {"connection_id":126676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c67"} 
[2026-07-07 17:20:04] local.INFO: GPS Element Parsed {"raw_longitude":763025344,"raw_latitude":98821784,"longitude_deg":76.3025344,"latitude_deg":9.8821784,"altitude":9,"angle":166,"satellites":37,"speed":19,"hex_longitude":"2d7ad7c0","hex_latitude":"05e3e698","is_valid_coordinates":true} 
[2026-07-07 17:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556751104001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103385557941354496,"note":"Value kept but may cause issues"} 
[2026-07-07 17:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849573293083723776,"note":"Value kept but may cause issues"} 
[2026-07-07 17:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783424825000,"timestamp_ms":1783424825000,"timestamp_seconds":1783424825,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6736a8"} 
[2026-07-07 17:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-07 17:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556751104001,"66":13363,"97":206,"85":15104,"24":19,"16":103385557941354496,"45":8849573293083723776},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556751104001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:20:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:20:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103385557941354496,"km_value":103385557941354.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849573293083723776,"description":"Unknown IO ID 45"} 
[2026-07-07 17:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556751104001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8849573293083723776}} 
[2026-07-07 17:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":126676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:20:04] local.INFO: GPS data processed {"connection_id":126676,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:20:04] local.INFO: Acknowledgment sent {"connection_id":126676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:20:08] local.INFO: TCP Data received {"connection_id":125419,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:20:08] local.INFO: Processing buffer {"connection_id":125419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:20:08] local.INFO: IMEI packet received {"connection_id":125419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":125419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:20:11] local.INFO: TCP Data received {"connection_id":125419,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6882b0012dc8d880052f0348002900a72f..."} 
[2026-07-07 17:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6882b0012dc8d880052f0348002900a72f..."} 
[2026-07-07 17:20:11] local.INFO: Processing buffer {"connection_id":125419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6882b0012dc8d880052f0348002900a72f..."} 
[2026-07-07 17:20:11] local.INFO: Packet analysis {"connection_id":125419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c68"} 
[2026-07-07 17:20:11] local.INFO: Extracted packet for processing {"connection_id":125419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c68"} 
[2026-07-07 17:20:11] local.INFO: GPS Element Parsed {"raw_longitude":768137344,"raw_latitude":86967112,"longitude_deg":76.8137344,"latitude_deg":8.6967112,"altitude":41,"angle":167,"satellites":47,"speed":15,"hex_longitude":"2dc8d880","hex_latitude":"052f0348","is_valid_coordinates":true} 
[2026-07-07 17:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556771584001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341695920053682176,"note":"Value kept but may cause issues"} 
[2026-07-07 17:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3974848861354543104,"note":"Value kept but may cause issues"} 
[2026-07-07 17:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783424910000,"timestamp_ms":1783424910000,"timestamp_seconds":1783424910,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6882b0"} 
[2026-07-07 17:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":124,"data_length":795,"current_offset":136} 
[2026-07-07 17:20: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-07-07 17:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556771584001,"66":27908,"11":206,"80":35072,"24":15,"16":341695920053682176,"45":-3974848861354543104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-07 17:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556771584001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:20:11] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-07 17:20:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341695920053682176,"km_value":341695920053682.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3974848861354543104,"description":"Unknown IO ID 45"} 
[2026-07-07 17:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556771584001,"power":27908,"unknown_11":206,"unknown_80":35072,"ignition":15,"odometer":null,"unknown_45":-3974848861354543104}} 
[2026-07-07 17:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":125419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:20:11] local.INFO: GPS data processed {"connection_id":125419,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:20:11] local.INFO: Acknowledgment sent {"connection_id":125419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:20:24] local.INFO: TCP Data received {"connection_id":125419,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c68d4b8012dc8dac0052ef190002700ae2c..."} 
[2026-07-07 17:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c68d4b8012dc8dac0052ef190002700ae2c..."} 
[2026-07-07 17:20:24] local.INFO: Processing buffer {"connection_id":125419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c68d4b8012dc8dac0052ef190002700ae2c..."} 
[2026-07-07 17:20:24] local.INFO: Packet analysis {"connection_id":125419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c68"} 
[2026-07-07 17:20:24] local.INFO: Extracted packet for processing {"connection_id":125419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c68"} 
[2026-07-07 17:20:24] local.INFO: GPS Element Parsed {"raw_longitude":768137920,"raw_latitude":86962576,"longitude_deg":76.813792,"latitude_deg":8.6962576,"altitude":39,"angle":174,"satellites":44,"speed":3,"hex_longitude":"2dc8dac0","hex_latitude":"052ef190","is_valid_coordinates":true} 
[2026-07-07 17:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556776960001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341696143391981568,"note":"Value kept but may cause issues"} 
[2026-07-07 17:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3974285911402526720,"note":"Value kept but may cause issues"} 
[2026-07-07 17:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783424931000,"timestamp_ms":1783424931000,"timestamp_seconds":1783424931,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c68d4b8"} 
[2026-07-07 17:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 17:20: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-07-07 17:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556776960001,"66":27843,"11":206,"80":35072,"24":3,"16":341696143391981568,"45":-3974285911402526720},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-07 17:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556776960001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:20:24] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-07 17:20:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341696143391981568,"km_value":341696143391981.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3974285911402526720,"description":"Unknown IO ID 45"} 
[2026-07-07 17:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556776960001,"power":27843,"unknown_11":206,"unknown_80":35072,"ignition":3,"odometer":null,"unknown_45":-3974285911402526720}} 
[2026-07-07 17:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":125419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:20:24] local.INFO: GPS data processed {"connection_id":125419,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:20:24] local.INFO: Acknowledgment sent {"connection_id":125419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:20:31] local.INFO: TCP Data received {"connection_id":124699,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:20:31] local.INFO: Processing buffer {"connection_id":124699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:20:31] local.INFO: IMEI packet received {"connection_id":124699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":124699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:20:37] local.INFO: TCP Data received {"connection_id":124699,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:20:37] local.INFO: Processing buffer {"connection_id":124699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:20:37] local.INFO: IMEI packet received {"connection_id":124699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":124699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:20:38] local.INFO: TCP Data received {"connection_id":124699,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6a0568012d7b16c005e2f840000a00ab1f..."} 
[2026-07-07 17:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6a0568012d7b16c005e2f840000a00ab1f..."} 
[2026-07-07 17:20:38] local.INFO: Processing buffer {"connection_id":124699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6a0568012d7b16c005e2f840000a00ab1f..."} 
[2026-07-07 17:20:38] local.INFO: Packet analysis {"connection_id":124699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6a"} 
[2026-07-07 17:20:38] local.INFO: Extracted packet for processing {"connection_id":124699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6a"} 
[2026-07-07 17:20:38] local.INFO: GPS Element Parsed {"raw_longitude":763041472,"raw_latitude":98760768,"longitude_deg":76.3041472,"latitude_deg":9.8760768,"altitude":10,"angle":171,"satellites":31,"speed":27,"hex_longitude":"2d7b16c0","hex_latitude":"05e2f840","is_valid_coordinates":true} 
[2026-07-07 17:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556798208001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103388646022840320,"note":"Value kept but may cause issues"} 
[2026-07-07 17:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867658060321841152,"note":"Value kept but may cause issues"} 
[2026-07-07 17:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783425009000,"timestamp_ms":1783425009000,"timestamp_seconds":1783425009,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6a0568"} 
[2026-07-07 17:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 17:20:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 17:20:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-07 17:20:38] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-7982630309438870784,"note":"Value kept but may cause issues"} 
[2026-07-07 17:20:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-07 17:20:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3816716288,"note":"Value kept but may cause issues"} 
[2026-07-07 17:20:38] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-07-07 17:20:38] local.WARNING: Large IO value detected {"io_id":104,"raw_value":128353884227846149,"note":"Value kept but may cause issues"} 
[2026-07-07 17:20:38] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,97,85,24,241,157,16,79,159,155,45,128,48,12,37,10,66,78,77,64,61,38,15,1,240,111,227,60,4,113,205,150,2,176,41,239,52,5,187,104],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-07 17:20:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792818398400872448,"timestamp_seconds":792818398400872.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 17:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:20: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-07-07 17:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556798208001,"66":13319,"97":206,"85":15104,"24":27,"16":103388646022840320,"45":8867658060321841152},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556798208001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:20:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103388646022840320,"km_value":103388646022840.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867658060321841152,"description":"Unknown IO ID 45"} 
[2026-07-07 17:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556798208001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8867658060321841152}} 
[2026-07-07 17:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":124699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:20:38] local.INFO: GPS data processed {"connection_id":124699,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:20:38] local.INFO: Acknowledgment sent {"connection_id":124699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:20:58] local.INFO: TCP Data received {"connection_id":124700,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:20:58] local.INFO: Processing buffer {"connection_id":124700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:20:58] local.INFO: IMEI packet received {"connection_id":124700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":124700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:20:59] local.INFO: TCP Data received {"connection_id":124700,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:20:59] local.INFO: Processing buffer {"connection_id":124700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:20:59] local.INFO: IMEI packet received {"connection_id":124700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":124700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:21:02] local.INFO: TCP Data received {"connection_id":124700,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:21:02] local.INFO: Processing buffer {"connection_id":124700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:21:02] local.INFO: IMEI packet received {"connection_id":124700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":124700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:21:03] local.INFO: TCP Data received {"connection_id":124700,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6926c0012dc8db80052ee720002800ab2b..."} 
[2026-07-07 17:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6926c0012dc8db80052ee720002800ab2b..."} 
[2026-07-07 17:21:03] local.INFO: Processing buffer {"connection_id":124700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6926c0012dc8db80052ee720002800ab2b..."} 
[2026-07-07 17:21:03] local.INFO: Packet analysis {"connection_id":124700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c69"} 
[2026-07-07 17:21:03] local.INFO: Extracted packet for processing {"connection_id":124700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c69"} 
[2026-07-07 17:21:03] local.INFO: GPS Element Parsed {"raw_longitude":768138112,"raw_latitude":86959904,"longitude_deg":76.8138112,"latitude_deg":8.6959904,"altitude":40,"angle":171,"satellites":43,"speed":0,"hex_longitude":"2dc8db80","hex_latitude":"052ee720","is_valid_coordinates":true} 
[2026-07-07 17:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556782336001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341696276535967744,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3973652592706088960,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783424952000,"timestamp_ms":1783424952000,"timestamp_seconds":1783424952,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6926c0"} 
[2026-07-07 17:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:21: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-07-07 17:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 17:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556782336001,"66":27843,"11":206,"80":35072,"24":0,"16":341696276535967744,"45":-3973652592706088960},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-07 17:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556782336001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:21:03] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-07 17:21:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341696276535967744,"km_value":341696276535967.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3973652592706088960,"description":"Unknown IO ID 45"} 
[2026-07-07 17:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556782336001,"power":27843,"unknown_11":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3973652592706088960}} 
[2026-07-07 17:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":124700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:21:03] local.INFO: GPS data processed {"connection_id":124700,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:21:03] local.INFO: Acknowledgment sent {"connection_id":124700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:21:08] local.INFO: TCP Data received {"connection_id":126678,"ip":"117.224.183.97","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:21:08] local.INFO: Processing buffer {"connection_id":126678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:21:08] local.INFO: IMEI packet received {"connection_id":126678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":126678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:21:09] local.INFO: TCP Data received {"connection_id":126678,"ip":"117.224.183.97","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c67c348012d18730007220c88005b015726..."} 
[2026-07-07 17:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c67c348012d18730007220c88005b015726..."} 
[2026-07-07 17:21:09] local.INFO: Processing buffer {"connection_id":126678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c67c348012d18730007220c88005b015726..."} 
[2026-07-07 17:21:09] local.INFO: Packet analysis {"connection_id":126678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c67"} 
[2026-07-07 17:21:09] local.INFO: Extracted packet for processing {"connection_id":126678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c67"} 
[2026-07-07 17:21:09] local.INFO: GPS Element Parsed {"raw_longitude":756577024,"raw_latitude":119671944,"longitude_deg":75.6577024,"latitude_deg":11.9671944,"altitude":91,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d187300","hex_latitude":"07220c88","is_valid_coordinates":true} 
[2026-07-07 17:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556759040001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4723012326653952,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761751909868013568,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783424861000,"timestamp_ms":1783424861000,"timestamp_seconds":1783424861,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c67c348"} 
[2026-07-07 17:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-07 17:21: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-07-07 17:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.183.97","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556759040001,"66":12939,"120":206,"28":31744,"24":0,"16":4723012326653952,"45":1761751909868013568},"client_ip":"117.224.183.97","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556759040001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:21:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:21:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4723012326653952,"km_value":4723012326653.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761751909868013568,"description":"Unknown IO ID 45"} 
[2026-07-07 17:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556759040001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1761751909868013568}} 
[2026-07-07 17:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":126678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:21:09] local.INFO: GPS data processed {"connection_id":126678,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:21:09] local.INFO: Acknowledgment sent {"connection_id":126678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:21:10] local.INFO: TCP Data received {"connection_id":124699,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6a3830012d7b1c4005e2d3f0000a00ac19..."} 
[2026-07-07 17:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6a3830012d7b1c4005e2d3f0000a00ac19..."} 
[2026-07-07 17:21:10] local.INFO: Processing buffer {"connection_id":124699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6a3830012d7b1c4005e2d3f0000a00ac19..."} 
[2026-07-07 17:21:10] local.INFO: Packet analysis {"connection_id":124699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6a"} 
[2026-07-07 17:21:10] local.INFO: Extracted packet for processing {"connection_id":124699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6a"} 
[2026-07-07 17:21:10] local.INFO: GPS Element Parsed {"raw_longitude":763042880,"raw_latitude":98751472,"longitude_deg":76.304288,"latitude_deg":9.8751472,"altitude":10,"angle":172,"satellites":25,"speed":30,"hex_longitude":"2d7b1c40","hex_latitude":"05e2d3f0","is_valid_coordinates":true} 
[2026-07-07 17:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556802304001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103389101289373696,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869487647668060160,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783425022000,"timestamp_ms":1783425022000,"timestamp_seconds":1783425022,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6a3830"} 
[2026-07-07 17:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 17:21:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:10] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2701131776,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":9113033888944630528,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-07 17:21:10] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422374,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3814502400,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:10] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:10] local.WARNING: Large IO value detected {"io_id":104,"raw_value":6039328395151998981,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:10] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,97,85,24,241,157,16,79,159,198,45,64,28,11,34,10,66,155,128,48,12,37,78,77,1,240,122,227,60,4,113,205,9,228,7,184,42,239,51,2,111,5,23,94,104],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-07 17:21:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720764090013384704,"timestamp_seconds":720764090013384.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 17:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:21: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-07-07 17:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556802304001,"66":13624,"97":206,"85":15104,"24":30,"16":103389101289373696,"45":8869487647668060160},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-07 17:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556802304001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-07 17:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103389101289373696,"km_value":103389101289373.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869487647668060160,"description":"Unknown IO ID 45"} 
[2026-07-07 17:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556802304001,"power":13624,"unknown_97":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8869487647668060160}} 
[2026-07-07 17:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":124699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:21:10] local.INFO: GPS data processed {"connection_id":124699,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:21:10] local.INFO: Acknowledgment sent {"connection_id":124699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:21:26] local.INFO: TCP Data received {"connection_id":124617,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:21:26] local.INFO: Processing buffer {"connection_id":124617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:21:26] local.INFO: IMEI packet received {"connection_id":124617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":124617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:21:30] local.INFO: TCP Data received {"connection_id":124617,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:21:30] local.INFO: Processing buffer {"connection_id":124617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:21:30] local.INFO: IMEI packet received {"connection_id":124617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":124617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:21:31] local.INFO: TCP Data received {"connection_id":124617,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6a6af8012d7b214005e2af48000700ab21..."} 
[2026-07-07 17:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6a6af8012d7b214005e2af48000700ab21..."} 
[2026-07-07 17:21:31] local.INFO: Processing buffer {"connection_id":124617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6a6af8012d7b214005e2af48000700ab21..."} 
[2026-07-07 17:21:31] local.INFO: Packet analysis {"connection_id":124617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6a"} 
[2026-07-07 17:21:31] local.INFO: Extracted packet for processing {"connection_id":124617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6a"} 
[2026-07-07 17:21:31] local.INFO: GPS Element Parsed {"raw_longitude":763044160,"raw_latitude":98742088,"longitude_deg":76.304416,"latitude_deg":9.8742088,"altitude":7,"angle":171,"satellites":33,"speed":34,"hex_longitude":"2d7b2140","hex_latitude":"05e2af48","is_valid_coordinates":true} 
[2026-07-07 17:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556805632001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103389560850874368,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871035760037588992,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783425035000,"timestamp_ms":1783425035000,"timestamp_seconds":1783425035,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6a6af8"} 
[2026-07-07 17:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-07 17:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":124617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":124617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":124617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556805632001,"66":13276,"96":206,"85":15104,"24":34,"16":103389560850874368,"45":8871035760037588992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-07 17:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556805632001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:21:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 17:21:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103389560850874368,"km_value":103389560850874.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871035760037588992,"description":"Unknown IO ID 45"} 
[2026-07-07 17:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556805632001,"power":13276,"unknown_96":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8871035760037588992}} 
[2026-07-07 17:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":124617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:21:31] local.INFO: GPS data processed {"connection_id":124617,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:21:31] local.INFO: Acknowledgment sent {"connection_id":124617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:21:34] local.INFO: TCP Data received {"connection_id":124700,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6978c8012dc8db80052ee720002800ab2c..."} 
[2026-07-07 17:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6978c8012dc8db80052ee720002800ab2c..."} 
[2026-07-07 17:21:34] local.INFO: Processing buffer {"connection_id":124700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6978c8012dc8db80052ee720002800ab2c..."} 
[2026-07-07 17:21:34] local.INFO: Packet analysis {"connection_id":124700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c69"} 
[2026-07-07 17:21:34] local.INFO: Extracted packet for processing {"connection_id":124700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c69"} 
[2026-07-07 17:21:34] local.INFO: GPS Element Parsed {"raw_longitude":768138112,"raw_latitude":86959904,"longitude_deg":76.8138112,"latitude_deg":8.6959904,"altitude":40,"angle":171,"satellites":44,"speed":0,"hex_longitude":"2dc8db80","hex_latitude":"052ee720","is_valid_coordinates":true} 
[2026-07-07 17:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556787712001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341696276535967744,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3973441486474240000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783424973000,"timestamp_ms":1783424973000,"timestamp_seconds":1783424973,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6978c8"} 
[2026-07-07 17:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:21: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-07-07 17:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 17:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556787712001,"66":27974,"11":206,"80":35072,"24":0,"16":341696276535967744,"45":-3973441486474240000},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-07 17:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556787712001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:21:34] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-07 17:21:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341696276535967744,"km_value":341696276535967.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3973441486474240000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556787712001,"power":27974,"unknown_11":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3973441486474240000}} 
[2026-07-07 17:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":124700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:21:34] local.INFO: GPS data processed {"connection_id":124700,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:21:34] local.INFO: Acknowledgment sent {"connection_id":124700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:21:58] local.INFO: TCP Data received {"connection_id":126679,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:21:58] local.INFO: Processing buffer {"connection_id":126679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:21:58] local.INFO: IMEI packet received {"connection_id":126679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":126679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:21:58] local.INFO: TCP Data received {"connection_id":126679,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:21:58] local.INFO: Processing buffer {"connection_id":126679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:21:58] local.INFO: IMEI packet received {"connection_id":126679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":126679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:22:02] local.INFO: TCP Data received {"connection_id":126679,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:22:02] local.INFO: Processing buffer {"connection_id":126679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:22:02] local.INFO: IMEI packet received {"connection_id":126679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":126679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:22:03] local.INFO: TCP Data received {"connection_id":124617,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6a9dc0012d7b270005e28b50000300ad22..."} 
[2026-07-07 17:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6a9dc0012d7b270005e28b50000300ad22..."} 
[2026-07-07 17:22:03] local.INFO: Processing buffer {"connection_id":124617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6a9dc0012d7b270005e28b50000300ad22..."} 
[2026-07-07 17:22:03] local.INFO: Packet analysis {"connection_id":124617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6a"} 
[2026-07-07 17:22:03] local.INFO: Extracted packet for processing {"connection_id":124617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6a"} 
[2026-07-07 17:22:03] local.INFO: GPS Element Parsed {"raw_longitude":763045632,"raw_latitude":98732880,"longitude_deg":76.3045632,"latitude_deg":9.873288,"altitude":3,"angle":173,"satellites":34,"speed":29,"hex_longitude":"2d7b2700","hex_latitude":"05e28b50","is_valid_coordinates":true} 
[2026-07-07 17:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556808960001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103390016117407744,"note":"Value kept but may cause issues"} 
[2026-07-07 17:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872443134918739968,"note":"Value kept but may cause issues"} 
[2026-07-07 17:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783425048000,"timestamp_ms":1783425048000,"timestamp_seconds":1783425048,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6a9dc0"} 
[2026-07-07 17:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 17:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:22: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-07-07 17:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556808960001,"66":13135,"96":206,"85":15104,"24":29,"16":103390016117407744,"45":8872443134918739968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-07 17:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556808960001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:22:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 17:22:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103390016117407744,"km_value":103390016117407.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872443134918739968,"description":"Unknown IO ID 45"} 
[2026-07-07 17:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556808960001,"power":13135,"unknown_96":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8872443134918739968}} 
[2026-07-07 17:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":124617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:22:03] local.INFO: GPS data processed {"connection_id":124617,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:22:03] local.INFO: Acknowledgment sent {"connection_id":124617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:22:03] local.INFO: TCP Data received {"connection_id":126679,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6ae410012dc87dc0052e8c98002201022a..."} 
[2026-07-07 17:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6ae410012dc87dc0052e8c98002201022a..."} 
[2026-07-07 17:22:03] local.INFO: Processing buffer {"connection_id":126679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6ae410012dc87dc0052e8c98002201022a..."} 
[2026-07-07 17:22:03] local.INFO: Packet analysis {"connection_id":126679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6a"} 
[2026-07-07 17:22:03] local.INFO: Extracted packet for processing {"connection_id":126679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6a"} 
[2026-07-07 17:22:03] local.INFO: GPS Element Parsed {"raw_longitude":768114112,"raw_latitude":86936728,"longitude_deg":76.8114112,"latitude_deg":8.6936728,"altitude":34,"angle":258,"satellites":42,"speed":30,"hex_longitude":"2dc87dc0","hex_latitude":"052e8c98","is_valid_coordinates":true} 
[2026-07-07 17:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556813568001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341698114781970432,"note":"Value kept but may cause issues"} 
[2026-07-07 17:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3989978141361178624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783425066000,"timestamp_ms":1783425066000,"timestamp_seconds":1783425066,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6ae410"} 
[2026-07-07 17:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:22: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-07-07 17:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 17:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556813568001,"66":27843,"194":206,"80":35072,"24":30,"16":341698114781970432,"45":-3989978141361178624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-07-07 17:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556813568001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:22:03] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-07 17:22:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341698114781970432,"km_value":341698114781970.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3989978141361178624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556813568001,"power":27843,"unknown_194":206,"unknown_80":35072,"ignition":30,"odometer":null,"unknown_45":-3989978141361178624}} 
[2026-07-07 17:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":126679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:22:03] local.INFO: GPS data processed {"connection_id":126679,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:22:03] local.INFO: Acknowledgment sent {"connection_id":126679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:22:26] local.INFO: TCP Data received {"connection_id":125422,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:22:26] local.INFO: Processing buffer {"connection_id":125422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:22:26] local.INFO: IMEI packet received {"connection_id":125422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":125422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:22:28] local.INFO: TCP Data received {"connection_id":125422,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:22:28] local.INFO: Processing buffer {"connection_id":125422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:22:28] local.INFO: IMEI packet received {"connection_id":125422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":125422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:22:29] local.INFO: TCP Data received {"connection_id":125422,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6aebe0012d7b2b4005e27140000000a821..."} 
[2026-07-07 17:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6aebe0012d7b2b4005e27140000000a821..."} 
[2026-07-07 17:22:29] local.INFO: Processing buffer {"connection_id":125422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6aebe0012d7b2b4005e27140000000a821..."} 
[2026-07-07 17:22:29] local.INFO: Packet analysis {"connection_id":125422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6a"} 
[2026-07-07 17:22:29] local.INFO: Extracted packet for processing {"connection_id":125422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6a"} 
[2026-07-07 17:22:29] local.INFO: GPS Element Parsed {"raw_longitude":763046720,"raw_latitude":98726208,"longitude_deg":76.304672,"latitude_deg":9.8726208,"altitude":0,"angle":168,"satellites":33,"speed":0,"hex_longitude":"2d7b2b40","hex_latitude":"05e27140","is_valid_coordinates":true} 
[2026-07-07 17:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556812288001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103390346829889536,"note":"Value kept but may cause issues"} 
[2026-07-07 17:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874061616032468992,"note":"Value kept but may cause issues"} 
[2026-07-07 17:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783425068000,"timestamp_ms":1783425068000,"timestamp_seconds":1783425068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6aebe0"} 
[2026-07-07 17:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 17:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556812288001,"66":13178,"96":206,"85":15104,"24":0,"16":103390346829889536,"45":8874061616032468992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-07 17:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556812288001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:22:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 17:22:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103390346829889536,"km_value":103390346829889.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874061616032468992,"description":"Unknown IO ID 45"} 
[2026-07-07 17:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556812288001,"power":13178,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8874061616032468992}} 
[2026-07-07 17:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":125422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:22:29] local.INFO: GPS data processed {"connection_id":125422,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:22:29] local.INFO: Acknowledgment sent {"connection_id":125422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:22:34] local.INFO: TCP Data received {"connection_id":126679,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6b16d8012dc86340052e87700020010d2b..."} 
[2026-07-07 17:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6b16d8012dc86340052e87700020010d2b..."} 
[2026-07-07 17:22:34] local.INFO: Processing buffer {"connection_id":126679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6b16d8012dc86340052e87700020010d2b..."} 
[2026-07-07 17:22:34] local.INFO: Packet analysis {"connection_id":126679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6b"} 
[2026-07-07 17:22:34] local.INFO: Extracted packet for processing {"connection_id":126679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6b"} 
[2026-07-07 17:22:34] local.INFO: GPS Element Parsed {"raw_longitude":768107328,"raw_latitude":86935408,"longitude_deg":76.8107328,"latitude_deg":8.6935408,"altitude":32,"angle":269,"satellites":43,"speed":10,"hex_longitude":"2dc86340","hex_latitude":"052e8770","is_valid_coordinates":true} 
[2026-07-07 17:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556816896001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341698449789419520,"note":"Value kept but may cause issues"} 
[2026-07-07 17:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3999829765546797056,"note":"Value kept but may cause issues"} 
[2026-07-07 17:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783425079000,"timestamp_ms":1783425079000,"timestamp_seconds":1783425079,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6b16d8"} 
[2026-07-07 17:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:22: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-07-07 17:22: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":195,"data_length":795,"current_offset":136} 
[2026-07-07 17:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556816896001,"66":27908,"194":206,"80":35072,"24":10,"16":341698449789419520,"45":-3999829765546797056},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-07-07 17:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556816896001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:22:34] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-07 17:22:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341698449789419520,"km_value":341698449789419.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3999829765546797056,"description":"Unknown IO ID 45"} 
[2026-07-07 17:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556816896001,"power":27908,"unknown_194":206,"unknown_80":35072,"ignition":10,"odometer":null,"unknown_45":-3999829765546797056}} 
[2026-07-07 17:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":126679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:22:34] local.INFO: GPS data processed {"connection_id":126679,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:22:34] local.INFO: Acknowledgment sent {"connection_id":126679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:22:59] local.INFO: TCP Data received {"connection_id":124701,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:22:59] local.INFO: Processing buffer {"connection_id":124701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:22:59] local.INFO: IMEI packet received {"connection_id":124701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":124701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:22:59] local.INFO: TCP Data received {"connection_id":124701,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:22:59] local.INFO: Processing buffer {"connection_id":124701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:22:59] local.INFO: IMEI packet received {"connection_id":124701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":124701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:23:00] local.INFO: TCP Data received {"connection_id":125422,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6b3de8012d7b2f8005e25930000000ad27..."} 
[2026-07-07 17:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6b3de8012d7b2f8005e25930000000ad27..."} 
[2026-07-07 17:23:00] local.INFO: Processing buffer {"connection_id":125422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6b3de8012d7b2f8005e25930000000ad27..."} 
[2026-07-07 17:23:00] local.INFO: Packet analysis {"connection_id":125422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6b"} 
[2026-07-07 17:23:00] local.INFO: Extracted packet for processing {"connection_id":125422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6b"} 
[2026-07-07 17:23:00] local.INFO: GPS Element Parsed {"raw_longitude":763047808,"raw_latitude":98720048,"longitude_deg":76.3047808,"latitude_deg":9.8720048,"altitude":0,"angle":173,"satellites":39,"speed":16,"hex_longitude":"2d7b2f80","hex_latitude":"05e25930","is_valid_coordinates":true} 
[2026-07-07 17:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556817408001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103390651772567552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875257884681781248,"note":"Value kept but may cause issues"} 
[2026-07-07 17:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783425089000,"timestamp_ms":1783425089000,"timestamp_seconds":1783425089,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6b3de8"} 
[2026-07-07 17:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 17:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556817408001,"66":13298,"96":206,"85":15104,"24":16,"16":103390651772567552,"45":8875257884681781248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-07 17:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556817408001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:23:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 17:23:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103390651772567552,"km_value":103390651772567.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875257884681781248,"description":"Unknown IO ID 45"} 
[2026-07-07 17:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556817408001,"power":13298,"unknown_96":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8875257884681781248}} 
[2026-07-07 17:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":125422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:23:00] local.INFO: GPS data processed {"connection_id":125422,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:23:00] local.INFO: Acknowledgment sent {"connection_id":125422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:23:03] local.INFO: TCP Data received {"connection_id":124701,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:23:03] local.INFO: Processing buffer {"connection_id":124701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:23:03] local.INFO: IMEI packet received {"connection_id":124701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":124701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:23:04] local.INFO: TCP Data received {"connection_id":124701,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6b2678012dc85ec0052e86c0001f01012c..."} 
[2026-07-07 17:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6b2678012dc85ec0052e86c0001f01012c..."} 
[2026-07-07 17:23:04] local.INFO: Processing buffer {"connection_id":124701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6b2678012dc85ec0052e86c0001f01012c..."} 
[2026-07-07 17:23:04] local.INFO: Packet analysis {"connection_id":124701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6b"} 
[2026-07-07 17:23:04] local.INFO: Extracted packet for processing {"connection_id":124701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6b"} 
[2026-07-07 17:23:04] local.INFO: GPS Element Parsed {"raw_longitude":768106176,"raw_latitude":86935232,"longitude_deg":76.8106176,"latitude_deg":8.6935232,"altitude":31,"angle":257,"satellites":44,"speed":13,"hex_longitude":"2dc85ec0","hex_latitude":"052e86c0","is_valid_coordinates":true} 
[2026-07-07 17:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556820224001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341698501329027072,"note":"Value kept but may cause issues"} 
[2026-07-07 17:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4007288852429967360,"note":"Value kept but may cause issues"} 
[2026-07-07 17:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425083000,"timestamp_ms":1783425083000,"timestamp_seconds":1783425083,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6b2678"} 
[2026-07-07 17:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 17:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556820224001,"66":28050,"194":206,"80":35072,"24":13,"16":341698501329027072,"45":-4007288852429967360},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-07-07 17:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556820224001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:23:04] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-07 17:23:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341698501329027072,"km_value":341698501329027.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4007288852429967360,"description":"Unknown IO ID 45"} 
[2026-07-07 17:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556820224001,"power":28050,"unknown_194":206,"unknown_80":35072,"ignition":13,"odometer":null,"unknown_45":-4007288852429967360}} 
[2026-07-07 17:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":124701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:23:04] local.INFO: GPS data processed {"connection_id":124701,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:23:04] local.INFO: Acknowledgment sent {"connection_id":124701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:23:27] local.INFO: TCP Data received {"connection_id":124618,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:23:27] local.INFO: Processing buffer {"connection_id":124618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:23:27] local.INFO: IMEI packet received {"connection_id":124618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":124618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:23:29] local.INFO: TCP Data received {"connection_id":124702,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:23:29] local.INFO: Processing buffer {"connection_id":124702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:23:29] local.INFO: IMEI packet received {"connection_id":124702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 17:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":124702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:23:31] local.INFO: TCP Data received {"connection_id":124618,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:23:31] local.INFO: Processing buffer {"connection_id":124618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:23:31] local.INFO: IMEI packet received {"connection_id":124618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":124618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:23:32] local.INFO: TCP Data received {"connection_id":124618,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6b8050012d7b340005e23530000000ae22..."} 
[2026-07-07 17:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6b8050012d7b340005e23530000000ae22..."} 
[2026-07-07 17:23:32] local.INFO: Processing buffer {"connection_id":124618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6b8050012d7b340005e23530000000ae22..."} 
[2026-07-07 17:23:32] local.INFO: Packet analysis {"connection_id":124618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6b"} 
[2026-07-07 17:23:32] local.INFO: Extracted packet for processing {"connection_id":124618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6b"} 
[2026-07-07 17:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763048960,"raw_latitude":98710832,"longitude_deg":76.304896,"latitude_deg":9.8710832,"altitude":0,"angle":174,"satellites":34,"speed":26,"hex_longitude":"2d7b3400","hex_latitude":"05e23530","is_valid_coordinates":true} 
[2026-07-07 17:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556822784001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103391102744133632,"note":"Value kept but may cause issues"} 
[2026-07-07 17:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876454153331224576,"note":"Value kept but may cause issues"} 
[2026-07-07 17:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783425106000,"timestamp_ms":1783425106000,"timestamp_seconds":1783425106,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6b8050"} 
[2026-07-07 17:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-07 17:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556822784001,"66":13243,"96":206,"85":15104,"24":26,"16":103391102744133632,"45":8876454153331224576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-07 17:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556822784001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:23:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-07 17:23:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103391102744133632,"km_value":103391102744133.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876454153331224576,"description":"Unknown IO ID 45"} 
[2026-07-07 17:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556822784001,"power":13243,"unknown_96":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8876454153331224576}} 
[2026-07-07 17:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":124618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:23:32] local.INFO: GPS data processed {"connection_id":124618,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:23:32] local.INFO: Acknowledgment sent {"connection_id":124618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:23:37] local.INFO: TCP Data received {"connection_id":124701,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6b64f8012dc83b80052e80e8001f010426..."} 
[2026-07-07 17:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6b64f8012dc83b80052e80e8001f010426..."} 
[2026-07-07 17:23:37] local.INFO: Processing buffer {"connection_id":124701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6b64f8012dc83b80052e80e8001f010426..."} 
[2026-07-07 17:23:37] local.INFO: Packet analysis {"connection_id":124701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6b"} 
[2026-07-07 17:23:37] local.INFO: Extracted packet for processing {"connection_id":124701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6b"} 
[2026-07-07 17:23:37] local.INFO: GPS Element Parsed {"raw_longitude":768097152,"raw_latitude":86933736,"longitude_deg":76.8097152,"latitude_deg":8.6933736,"altitude":31,"angle":260,"satellites":38,"speed":24,"hex_longitude":"2dc83b80","hex_latitude":"052e80e8","is_valid_coordinates":true} 
[2026-07-07 17:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556821248001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341698939415691264,"note":"Value kept but may cause issues"} 
[2026-07-07 17:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4008555489825210368,"note":"Value kept but may cause issues"} 
[2026-07-07 17:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783425099000,"timestamp_ms":1783425099000,"timestamp_seconds":1783425099,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6b64f8"} 
[2026-07-07 17:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 17:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556821248001,"66":27995,"194":206,"80":35072,"24":24,"16":341698939415691264,"45":-4008555489825210368},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-07-07 17:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556821248001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:23:37] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-07 17:23:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341698939415691264,"km_value":341698939415691.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4008555489825210368,"description":"Unknown IO ID 45"} 
[2026-07-07 17:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556821248001,"power":27995,"unknown_194":206,"unknown_80":35072,"ignition":24,"odometer":null,"unknown_45":-4008555489825210368}} 
[2026-07-07 17:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":124701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:23:37] local.INFO: GPS data processed {"connection_id":124701,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:23:37] local.INFO: Acknowledgment sent {"connection_id":124701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:23:59] local.INFO: TCP Data received {"connection_id":124619,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:23:59] local.INFO: Processing buffer {"connection_id":124619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:23:59] local.INFO: IMEI packet received {"connection_id":124619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":124619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:24:03] local.INFO: TCP Data received {"connection_id":124618,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6d60c8012d7b4bc005e1afd00003004f25..."} 
[2026-07-07 17:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6d60c8012d7b4bc005e1afd00003004f25..."} 
[2026-07-07 17:24:03] local.INFO: Processing buffer {"connection_id":124618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6d60c8012d7b4bc005e1afd00003004f25..."} 
[2026-07-07 17:24:03] local.INFO: Packet analysis {"connection_id":124618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6d"} 
[2026-07-07 17:24:03] local.INFO: Extracted packet for processing {"connection_id":124618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6d"} 
[2026-07-07 17:24:03] local.INFO: GPS Element Parsed {"raw_longitude":763055040,"raw_latitude":98676688,"longitude_deg":76.305504,"latitude_deg":9.8676688,"altitude":3,"angle":79,"satellites":37,"speed":9,"hex_longitude":"2d7b4bc0","hex_latitude":"05e1afd0","is_valid_coordinates":true} 
[2026-07-07 17:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556856832001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103392936695169024,"note":"Value kept but may cause issues"} 
[2026-07-07 17:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882787340295960576,"note":"Value kept but may cause issues"} 
[2026-07-07 17:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783425229000,"timestamp_ms":1783425229000,"timestamp_seconds":1783425229,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6d60c8"} 
[2026-07-07 17:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 17:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:24: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-07-07 17:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556856832001,"66":13200,"169":206,"85":15104,"24":9,"16":103392936695169024,"45":8882787340295960576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 17:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556856832001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:24:03] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 17:24:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103392936695169024,"km_value":103392936695169.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882787340295960576,"description":"Unknown IO ID 45"} 
[2026-07-07 17:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556856832001,"power":13200,"unknown_169":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8882787340295960576}} 
[2026-07-07 17:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":124618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:24:03] local.INFO: GPS data processed {"connection_id":124618,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:24:03] local.INFO: Acknowledgment sent {"connection_id":124618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:24:03] local.INFO: TCP Data received {"connection_id":124619,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:24:03] local.INFO: Processing buffer {"connection_id":124619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:24:03] local.INFO: IMEI packet received {"connection_id":124619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":124619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:24:04] local.INFO: TCP Data received {"connection_id":124620,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:24:04] local.INFO: Processing buffer {"connection_id":124620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:24:04] local.INFO: IMEI packet received {"connection_id":124620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 17:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":124620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:24:04] local.INFO: TCP Data received {"connection_id":124619,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6bb700012dc825c0052e7bb8001d00fd2c..."} 
[2026-07-07 17:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6bb700012dc825c0052e7bb8001d00fd2c..."} 
[2026-07-07 17:24:04] local.INFO: Processing buffer {"connection_id":124619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6bb700012dc825c0052e7bb8001d00fd2c..."} 
[2026-07-07 17:24:04] local.INFO: Packet analysis {"connection_id":124619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6b"} 
[2026-07-07 17:24:04] local.INFO: Extracted packet for processing {"connection_id":124619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6b"} 
[2026-07-07 17:24:04] local.INFO: GPS Element Parsed {"raw_longitude":768091584,"raw_latitude":86932408,"longitude_deg":76.8091584,"latitude_deg":8.6932408,"altitude":29,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2dc825c0","hex_latitude":"052e7bb8","is_valid_coordinates":true} 
[2026-07-07 17:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556825344001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699218588565504,"note":"Value kept but may cause issues"} 
[2026-07-07 17:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4018477482754643968,"note":"Value kept but may cause issues"} 
[2026-07-07 17:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425120000,"timestamp_ms":1783425120000,"timestamp_seconds":1783425120,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6bb700"} 
[2026-07-07 17:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 17:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556825344001,"66":27908,"194":206,"80":35072,"24":0,"16":341699218588565504,"45":-4018477482754643968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-07-07 17:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556825344001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:24:04] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-07 17:24:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699218588565504,"km_value":341699218588565.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4018477482754643968,"description":"Unknown IO ID 45"} 
[2026-07-07 17:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556825344001,"power":27908,"unknown_194":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4018477482754643968}} 
[2026-07-07 17:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":124619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:24:04] local.INFO: GPS data processed {"connection_id":124619,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:24:04] local.INFO: Acknowledgment sent {"connection_id":124619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:24:26] local.INFO: TCP Data received {"connection_id":126680,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:24:26] local.INFO: Processing buffer {"connection_id":126680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:24:26] local.INFO: IMEI packet received {"connection_id":126680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":126680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:24:28] local.INFO: TCP Data received {"connection_id":126680,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:24:28] local.INFO: Processing buffer {"connection_id":126680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:24:28] local.INFO: IMEI packet received {"connection_id":126680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":126680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:24:31] local.INFO: TCP Data received {"connection_id":126680,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:24:31] local.INFO: Processing buffer {"connection_id":126680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:24:31] local.INFO: IMEI packet received {"connection_id":126680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":126680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:24:32] local.INFO: TCP Data received {"connection_id":126680,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6d7450012d7b518005e1b1600003004322..."} 
[2026-07-07 17:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6d7450012d7b518005e1b1600003004322..."} 
[2026-07-07 17:24:32] local.INFO: Processing buffer {"connection_id":126680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6d7450012d7b518005e1b1600003004322..."} 
[2026-07-07 17:24:32] local.INFO: Packet analysis {"connection_id":126680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6d"} 
[2026-07-07 17:24:32] local.INFO: Extracted packet for processing {"connection_id":126680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6d"} 
[2026-07-07 17:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98677088,"longitude_deg":76.3056512,"latitude_deg":9.8677088,"altitude":3,"angle":67,"satellites":34,"speed":15,"hex_longitude":"2d7b5180","hex_latitude":"05e1b160","is_valid_coordinates":true} 
[2026-07-07 17:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556858624001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103393005414645760,"note":"Value kept but may cause issues"} 
[2026-07-07 17:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884405821412200448,"note":"Value kept but may cause issues"} 
[2026-07-07 17:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783425234000,"timestamp_ms":1783425234000,"timestamp_seconds":1783425234,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6d7450"} 
[2026-07-07 17:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-07 17:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556858624001,"66":12917,"169":206,"85":15104,"24":15,"16":103393005414645760,"45":8884405821412200448},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 17:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556858624001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:24:32] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 17:24:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103393005414645760,"km_value":103393005414645.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884405821412200448,"description":"Unknown IO ID 45"} 
[2026-07-07 17:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556858624001,"power":12917,"unknown_169":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8884405821412200448}} 
[2026-07-07 17:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":126680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:24:32] local.INFO: GPS data processed {"connection_id":126680,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:24:32] local.INFO: Acknowledgment sent {"connection_id":126680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:24:35] local.INFO: TCP Data received {"connection_id":124619,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6c0908012dc820c0052e7a80001e00fd2c..."} 
[2026-07-07 17:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6c0908012dc820c0052e7a80001e00fd2c..."} 
[2026-07-07 17:24:35] local.INFO: Processing buffer {"connection_id":124619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6c0908012dc820c0052e7a80001e00fd2c..."} 
[2026-07-07 17:24:35] local.INFO: Packet analysis {"connection_id":124619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6c"} 
[2026-07-07 17:24:35] local.INFO: Extracted packet for processing {"connection_id":124619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6c"} 
[2026-07-07 17:24:35] local.INFO: GPS Element Parsed {"raw_longitude":768090304,"raw_latitude":86932096,"longitude_deg":76.8090304,"latitude_deg":8.6932096,"altitude":30,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2dc820c0","hex_latitude":"052e7a80","is_valid_coordinates":true} 
[2026-07-07 17:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556830720001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699283013074944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4024599563498440704,"note":"Value kept but may cause issues"} 
[2026-07-07 17:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783425141000,"timestamp_ms":1783425141000,"timestamp_seconds":1783425141,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6c0908"} 
[2026-07-07 17:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 17:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556830720001,"66":27919,"194":206,"80":35072,"24":0,"16":341699283013074944,"45":-4024599563498440704},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-07-07 17:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556830720001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:24:35] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-07 17:24:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699283013074944,"km_value":341699283013074.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4024599563498440704,"description":"Unknown IO ID 45"} 
[2026-07-07 17:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556830720001,"power":27919,"unknown_194":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4024599563498440704}} 
[2026-07-07 17:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":124619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:24:35] local.INFO: GPS data processed {"connection_id":124619,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:24:35] local.INFO: Acknowledgment sent {"connection_id":124619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:24:53] local.INFO: TCP Data received {"connection_id":124621,"ip":"117.224.75.78","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:24:53] local.INFO: Processing buffer {"connection_id":124621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:24:53] local.INFO: IMEI packet received {"connection_id":124621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":124621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:24:55] local.INFO: TCP Data received {"connection_id":124621,"ip":"117.224.75.78","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:24:55] local.INFO: Processing buffer {"connection_id":124621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:24:55] local.INFO: IMEI packet received {"connection_id":124621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":124621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:24:58] local.INFO: TCP Data received {"connection_id":125423,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:24:58] local.INFO: Processing buffer {"connection_id":125423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:24:58] local.INFO: IMEI packet received {"connection_id":125423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":125423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:24:59] local.INFO: TCP Data received {"connection_id":124621,"ip":"117.224.75.78","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:24:59] local.INFO: Processing buffer {"connection_id":124621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:24:59] local.INFO: IMEI packet received {"connection_id":124621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":124621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:25:01] local.INFO: TCP Data received {"connection_id":124621,"ip":"117.224.75.78","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6d58f8012d180d80072195d8004b000f25..."} 
[2026-07-07 17:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6d58f8012d180d80072195d8004b000f25..."} 
[2026-07-07 17:25:01] local.INFO: Processing buffer {"connection_id":124621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6d58f8012d180d80072195d8004b000f25..."} 
[2026-07-07 17:25:01] local.INFO: Packet analysis {"connection_id":124621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6d"} 
[2026-07-07 17:25:01] local.INFO: Extracted packet for processing {"connection_id":124621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6d"} 
[2026-07-07 17:25:01] local.INFO: GPS Element Parsed {"raw_longitude":756551040,"raw_latitude":119641560,"longitude_deg":75.655104,"latitude_deg":11.964156,"altitude":75,"angle":15,"satellites":37,"speed":0,"hex_longitude":"2d180d80","hex_latitude":"072195d8","is_valid_coordinates":true} 
[2026-07-07 17:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725069615988736,"note":"Value kept but may cause issues"} 
[2026-07-07 17:25:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,122,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 17:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783425227000,"timestamp_ms":1783425227000,"timestamp_seconds":1783425227,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6d58f8"} 
[2026-07-07 17:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-07 17:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.75.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12982,"122":206,"28":31744,"24":0,"16":4725069615988736},"client_ip":"117.224.75.78","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16]} 
[2026-07-07 17:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-07 17:25:01] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:25:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725069615988736,"km_value":4725069615988.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:25:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12982,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null}} 
[2026-07-07 17:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":124621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:25:01] local.INFO: GPS data processed {"connection_id":124621,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:25:01] local.INFO: Acknowledgment sent {"connection_id":124621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:25:03] local.INFO: TCP Data received {"connection_id":125423,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:25:03] local.INFO: Processing buffer {"connection_id":125423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:25:03] local.INFO: IMEI packet received {"connection_id":125423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":125423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:25:04] local.INFO: TCP Data received {"connection_id":125423,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6c5b10012dc81a80052e7888001e00f32d..."} 
[2026-07-07 17:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6c5b10012dc81a80052e7888001e00f32d..."} 
[2026-07-07 17:25:04] local.INFO: Processing buffer {"connection_id":125423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6c5b10012dc81a80052e7888001e00f32d..."} 
[2026-07-07 17:25:04] local.INFO: Packet analysis {"connection_id":125423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6c"} 
[2026-07-07 17:25:04] local.INFO: Extracted packet for processing {"connection_id":125423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6c"} 
[2026-07-07 17:25:04] local.INFO: GPS Element Parsed {"raw_longitude":768088704,"raw_latitude":86931592,"longitude_deg":76.8088704,"latitude_deg":8.6931592,"altitude":30,"angle":243,"satellites":45,"speed":8,"hex_longitude":"2dc81a80","hex_latitude":"052e7888","is_valid_coordinates":true} 
[2026-07-07 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-07-07 17:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556836096001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699368912420864,"note":"Value kept but may cause issues"} 
[2026-07-07 17:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4026006938382073856,"note":"Value kept but may cause issues"} 
[2026-07-07 17:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425162000,"timestamp_ms":1783425162000,"timestamp_seconds":1783425162,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6c5b10"} 
[2026-07-07 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-07-07 17:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 17:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 17:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556836096001,"66":27745,"194":206,"80":35072,"24":8,"16":341699368912420864,"45":-4026006938382073856},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-07-07 17:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556836096001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:25:04] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-07 17:25:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699368912420864,"km_value":341699368912420.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4026006938382073856,"description":"Unknown IO ID 45"} 
[2026-07-07 17:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556836096001,"power":27745,"unknown_194":206,"unknown_80":35072,"ignition":8,"odometer":null,"unknown_45":-4026006938382073856}} 
[2026-07-07 17:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":125423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:25:04] local.INFO: GPS data processed {"connection_id":125423,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:25:04] local.INFO: Acknowledgment sent {"connection_id":125423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:25:06] local.INFO: TCP Data received {"connection_id":126680,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6d8008012d7b560005e1b2800002005725..."} 
[2026-07-07 17:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6d8008012d7b560005e1b2800002005725..."} 
[2026-07-07 17:25:06] local.INFO: Processing buffer {"connection_id":126680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6d8008012d7b560005e1b2800002005725..."} 
[2026-07-07 17:25:06] local.INFO: Packet analysis {"connection_id":126680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6d"} 
[2026-07-07 17:25:06] local.INFO: Extracted packet for processing {"connection_id":126680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6d"} 
[2026-07-07 17:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763057664,"raw_latitude":98677376,"longitude_deg":76.3057664,"latitude_deg":9.8677376,"altitude":2,"angle":87,"satellites":37,"speed":16,"hex_longitude":"2d7b5600","hex_latitude":"05e1b280","is_valid_coordinates":true} 
[2026-07-07 17:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556859904001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103393065544187904,"note":"Value kept but may cause issues"} 
[2026-07-07 17:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302528389120,"note":"Value kept but may cause issues"} 
[2026-07-07 17:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783425237000,"timestamp_ms":1783425237000,"timestamp_seconds":1783425237,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6d8008"} 
[2026-07-07 17:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 17:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:25: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-07-07 17:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556859904001,"66":13222,"169":206,"85":15104,"24":16,"16":103393065544187904,"45":8886024302528389120},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 17:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556859904001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:25:06] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 17:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103393065544187904,"km_value":103393065544187.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302528389120,"description":"Unknown IO ID 45"} 
[2026-07-07 17:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556859904001,"power":13222,"unknown_169":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8886024302528389120}} 
[2026-07-07 17:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":126680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:25:06] local.INFO: GPS data processed {"connection_id":126680,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:25:06] local.INFO: Acknowledgment sent {"connection_id":126680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:25:26] local.INFO: TCP Data received {"connection_id":124704,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:25:26] local.INFO: Processing buffer {"connection_id":124704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:25:26] local.INFO: IMEI packet received {"connection_id":124704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":124704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:25:31] local.INFO: TCP Data received {"connection_id":124704,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:25:31] local.INFO: Processing buffer {"connection_id":124704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:25:31] local.INFO: IMEI packet received {"connection_id":124704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":124704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:25:33] local.INFO: TCP Data received {"connection_id":124704,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6dce28012d7b778005e1b530000200522b..."} 
[2026-07-07 17:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6dce28012d7b778005e1b530000200522b..."} 
[2026-07-07 17:25:33] local.INFO: Processing buffer {"connection_id":124704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6dce28012d7b778005e1b530000200522b..."} 
[2026-07-07 17:25:33] local.INFO: Packet analysis {"connection_id":124704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6d"} 
[2026-07-07 17:25:33] local.INFO: Extracted packet for processing {"connection_id":124704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6d"} 
[2026-07-07 17:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763066240,"raw_latitude":98678064,"longitude_deg":76.306624,"latitude_deg":9.8678064,"altitude":2,"angle":82,"satellites":43,"speed":21,"hex_longitude":"2d7b7780","hex_latitude":"05e1b530","is_valid_coordinates":true} 
[2026-07-07 17:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556860672001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103393477861048320,"note":"Value kept but may cause issues"} 
[2026-07-07 17:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887290939923660800,"note":"Value kept but may cause issues"} 
[2026-07-07 17:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783425257000,"timestamp_ms":1783425257000,"timestamp_seconds":1783425257,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6dce28"} 
[2026-07-07 17:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:25: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":166,"data_length":795,"current_offset":136} 
[2026-07-07 17:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556860672001,"66":13319,"169":206,"85":15104,"24":21,"16":103393477861048320,"45":8887290939923660800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-07 17:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556860672001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:25:33] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-07 17:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103393477861048320,"km_value":103393477861048.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887290939923660800,"description":"Unknown IO ID 45"} 
[2026-07-07 17:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556860672001,"power":13319,"unknown_169":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8887290939923660800}} 
[2026-07-07 17:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":124704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:25:33] local.INFO: GPS data processed {"connection_id":124704,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:25:33] local.INFO: Acknowledgment sent {"connection_id":124704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:25:33] local.INFO: TCP Data received {"connection_id":124621,"ip":"117.224.75.78","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6dce28012d180d80072195d8004b000f26..."} 
[2026-07-07 17:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6dce28012d180d80072195d8004b000f26..."} 
[2026-07-07 17:25:33] local.INFO: Processing buffer {"connection_id":124621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6dce28012d180d80072195d8004b000f26..."} 
[2026-07-07 17:25:33] local.INFO: Packet analysis {"connection_id":124621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6d"} 
[2026-07-07 17:25:33] local.INFO: Extracted packet for processing {"connection_id":124621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6d"} 
[2026-07-07 17:25:33] local.INFO: GPS Element Parsed {"raw_longitude":756551040,"raw_latitude":119641560,"longitude_deg":75.655104,"latitude_deg":11.964156,"altitude":75,"angle":15,"satellites":38,"speed":0,"hex_longitude":"2d180d80","hex_latitude":"072195d8","is_valid_coordinates":true} 
[2026-07-07 17:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556858112001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725069615988736,"note":"Value kept but may cause issues"} 
[2026-07-07 17:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733182199724103680,"note":"Value kept but may cause issues"} 
[2026-07-07 17:25:33] 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-07-07 17:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783425257000,"timestamp_ms":1783425257000,"timestamp_seconds":1783425257,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6dce28"} 
[2026-07-07 17:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:25: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":182,"data_length":795,"current_offset":136} 
[2026-07-07 17:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.75.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556858112001,"66":12145,"122":206,"28":31744,"24":0,"16":4725069615988736,"45":1733182199724103680},"client_ip":"117.224.75.78","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556858112001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:25:33] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:25:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725069615988736,"km_value":4725069615988.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733182199724103680,"description":"Unknown IO ID 45"} 
[2026-07-07 17:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556858112001,"power":12145,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1733182199724103680}} 
[2026-07-07 17:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":124621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:25:33] local.INFO: GPS data processed {"connection_id":124621,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:25:33] local.INFO: Acknowledgment sent {"connection_id":124621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:25:35] local.INFO: TCP Data received {"connection_id":125423,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6c62e0012dc818c0052e77f0001e00ff2b..."} 
[2026-07-07 17:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6c62e0012dc818c0052e77f0001e00ff2b..."} 
[2026-07-07 17:25:35] local.INFO: Processing buffer {"connection_id":125423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6c62e0012dc818c0052e77f0001e00ff2b..."} 
[2026-07-07 17:25:35] local.INFO: Packet analysis {"connection_id":125423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6c"} 
[2026-07-07 17:25:35] local.INFO: Extracted packet for processing {"connection_id":125423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6c"} 
[2026-07-07 17:25:35] local.INFO: GPS Element Parsed {"raw_longitude":768088256,"raw_latitude":86931440,"longitude_deg":76.8088256,"latitude_deg":8.693144,"altitude":30,"angle":255,"satellites":43,"speed":8,"hex_longitude":"2dc818c0","hex_latitude":"052e77f0","is_valid_coordinates":true} 
[2026-07-07 17:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556841472001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699390387257344,"note":"Value kept but may cause issues"} 
[2026-07-07 17:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4027766156986644480,"note":"Value kept but may cause issues"} 
[2026-07-07 17:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783425164000,"timestamp_ms":1783425164000,"timestamp_seconds":1783425164,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6c62e0"} 
[2026-07-07 17:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 17:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556841472001,"66":27745,"194":206,"80":35072,"24":8,"16":341699390387257344,"45":-4027766156986644480},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-07-07 17:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556841472001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:25:35] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-07 17:25:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699390387257344,"km_value":341699390387257.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4027766156986644480,"description":"Unknown IO ID 45"} 
[2026-07-07 17:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556841472001,"power":27745,"unknown_194":206,"unknown_80":35072,"ignition":8,"odometer":null,"unknown_45":-4027766156986644480}} 
[2026-07-07 17:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":125423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:25:35] local.INFO: GPS data processed {"connection_id":125423,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:25:35] local.INFO: Acknowledgment sent {"connection_id":125423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:26:03] local.INFO: TCP Data received {"connection_id":124705,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:26:03] local.INFO: Processing buffer {"connection_id":124705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:26:03] local.INFO: IMEI packet received {"connection_id":124705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":124705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:26:04] local.INFO: TCP Data received {"connection_id":124704,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6f31a0012d7c43c005e1f048000800322a..."} 
[2026-07-07 17:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6f31a0012d7c43c005e1f048000800322a..."} 
[2026-07-07 17:26:04] local.INFO: Processing buffer {"connection_id":124704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6f31a0012d7c43c005e1f048000800322a..."} 
[2026-07-07 17:26:04] local.INFO: Packet analysis {"connection_id":124704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6f"} 
[2026-07-07 17:26:04] local.INFO: Extracted packet for processing {"connection_id":124704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6f"} 
[2026-07-07 17:26:04] local.INFO: GPS Element Parsed {"raw_longitude":763118528,"raw_latitude":98693192,"longitude_deg":76.3118528,"latitude_deg":9.8693192,"altitude":8,"angle":50,"satellites":42,"speed":23,"hex_longitude":"2d7c43c0","hex_latitude":"05e1f048","is_valid_coordinates":true} 
[2026-07-07 17:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556888320001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103396243819986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953156084477765632,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425348000,"timestamp_ms":1783425348000,"timestamp_seconds":1783425348,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6f31a0"} 
[2026-07-07 17:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 17:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556888320001,"66":13396,"43":206,"85":15104,"24":23,"16":103396243819986944,"45":8953156084477765632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-07 17:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556888320001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:26:04] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 17:26:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103396243819986944,"km_value":103396243819986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953156084477765632,"description":"Unknown IO ID 45"} 
[2026-07-07 17:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556888320001,"power":13396,"unknown_43":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8953156084477765632}} 
[2026-07-07 17:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":124704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446740,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:26:04] local.INFO: GPS data processed {"connection_id":124704,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:26:04] local.INFO: Acknowledgment sent {"connection_id":124704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:26:04] local.INFO: TCP Data received {"connection_id":124621,"ip":"117.224.75.78","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6e2030012d180d80072195d8004b000f26..."} 
[2026-07-07 17:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6e2030012d180d80072195d8004b000f26..."} 
[2026-07-07 17:26:04] local.INFO: Processing buffer {"connection_id":124621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6e2030012d180d80072195d8004b000f26..."} 
[2026-07-07 17:26:04] local.INFO: Packet analysis {"connection_id":124621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6e"} 
[2026-07-07 17:26:04] local.INFO: Extracted packet for processing {"connection_id":124621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6e"} 
[2026-07-07 17:26:04] local.INFO: GPS Element Parsed {"raw_longitude":756551040,"raw_latitude":119641560,"longitude_deg":75.655104,"latitude_deg":11.964156,"altitude":75,"angle":15,"satellites":38,"speed":0,"hex_longitude":"2d180d80","hex_latitude":"072195d8","is_valid_coordinates":true} 
[2026-07-07 17:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556865792001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725069615988736,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733182199724103680,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:04] 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-07-07 17:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425278000,"timestamp_ms":1783425278000,"timestamp_seconds":1783425278,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6e2030"} 
[2026-07-07 17:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-07 17:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.75.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556865792001,"66":12841,"122":206,"28":31744,"24":0,"16":4725069615988736,"45":1733182199724103680},"client_ip":"117.224.75.78","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556865792001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:26:04] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:26:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725069615988736,"km_value":4725069615988.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733182199724103680,"description":"Unknown IO ID 45"} 
[2026-07-07 17:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556865792001,"power":12841,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1733182199724103680}} 
[2026-07-07 17:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":124621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:26:05] local.INFO: GPS data processed {"connection_id":124621,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:26:05] local.INFO: Acknowledgment sent {"connection_id":124621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:26:08] local.INFO: TCP Data received {"connection_id":124705,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:26:08] local.INFO: Processing buffer {"connection_id":124705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:26:08] local.INFO: IMEI packet received {"connection_id":124705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":124705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:26:09] local.INFO: TCP Data received {"connection_id":124705,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6cb4e8012dc7f740052e6d88001e00fb2d..."} 
[2026-07-07 17:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6cb4e8012dc7f740052e6d88001e00fb2d..."} 
[2026-07-07 17:26:09] local.INFO: Processing buffer {"connection_id":124705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6cb4e8012dc7f740052e6d88001e00fb2d..."} 
[2026-07-07 17:26:09] local.INFO: Packet analysis {"connection_id":124705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6c"} 
[2026-07-07 17:26:09] local.INFO: Extracted packet for processing {"connection_id":124705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6c"} 
[2026-07-07 17:26:09] local.INFO: GPS Element Parsed {"raw_longitude":768079680,"raw_latitude":86928776,"longitude_deg":76.807968,"latitude_deg":8.6928776,"altitude":30,"angle":251,"satellites":45,"speed":27,"hex_longitude":"2dc7f740","hex_latitude":"052e6d88","is_valid_coordinates":true} 
[2026-07-07 17:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556841984001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4028258738195927040,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783425185000,"timestamp_ms":1783425185000,"timestamp_seconds":1783425185,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6cb4e8"} 
[2026-07-07 17:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 17:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556841984001,"66":27767,"149":206,"80":35072,"24":27,"16":341699819883986944,"45":-4028258738195927040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556841984001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:26:09] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:26:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4028258738195927040,"description":"Unknown IO ID 45"} 
[2026-07-07 17:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556841984001,"power":27767,"unknown_149":206,"unknown_80":35072,"ignition":27,"odometer":null,"unknown_45":-4028258738195927040}} 
[2026-07-07 17:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":124705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:26:09] local.INFO: GPS data processed {"connection_id":124705,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:26:09] local.INFO: Acknowledgment sent {"connection_id":124705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:26:14] local.INFO: TCP Data received {"connection_id":124705,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6cb4e8012dc7f740052e6d88001e00fb2d..."} 
[2026-07-07 17:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6cb4e8012dc7f740052e6d88001e00fb2d..."} 
[2026-07-07 17:26:14] local.INFO: Processing buffer {"connection_id":124705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6cb4e8012dc7f740052e6d88001e00fb2d..."} 
[2026-07-07 17:26:14] local.INFO: Packet analysis {"connection_id":124705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6c"} 
[2026-07-07 17:26:14] local.INFO: Extracted packet for processing {"connection_id":124705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6c"} 
[2026-07-07 17:26:14] local.INFO: GPS Element Parsed {"raw_longitude":768079680,"raw_latitude":86928776,"longitude_deg":76.807968,"latitude_deg":8.6928776,"altitude":30,"angle":251,"satellites":45,"speed":27,"hex_longitude":"2dc7f740","hex_latitude":"052e6d88","is_valid_coordinates":true} 
[2026-07-07 17:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556847360001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4037688149916416000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783425185000,"timestamp_ms":1783425185000,"timestamp_seconds":1783425185,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6cb4e8"} 
[2026-07-07 17:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17: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-07-07 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 17:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556847360001,"66":27767,"149":206,"80":35072,"24":27,"16":341699819883986944,"45":-4037688149916416000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556847360001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:26:14] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:26:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4037688149916416000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556847360001,"power":27767,"unknown_149":206,"unknown_80":35072,"ignition":27,"odometer":null,"unknown_45":-4037688149916416000}} 
[2026-07-07 17:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":124705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:26:14] local.INFO: GPS data processed {"connection_id":124705,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:26:14] local.INFO: Acknowledgment sent {"connection_id":124705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:26:29] local.INFO: TCP Data received {"connection_id":125424,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:26:29] local.INFO: Processing buffer {"connection_id":125424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:26:29] local.INFO: IMEI packet received {"connection_id":125424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":125424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:26:31] local.INFO: TCP Data received {"connection_id":125424,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:26:31] local.INFO: Processing buffer {"connection_id":125424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:26:31] local.INFO: IMEI packet received {"connection_id":125424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":125424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:26:36] local.INFO: TCP Data received {"connection_id":124621,"ip":"117.224.75.78","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6e7238012d180d80072195d8004b000f28..."} 
[2026-07-07 17:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6e7238012d180d80072195d8004b000f28..."} 
[2026-07-07 17:26:36] local.INFO: Processing buffer {"connection_id":124621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6e7238012d180d80072195d8004b000f28..."} 
[2026-07-07 17:26:36] local.INFO: Packet analysis {"connection_id":124621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6e"} 
[2026-07-07 17:26:36] local.INFO: Extracted packet for processing {"connection_id":124621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6e"} 
[2026-07-07 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756551040,"raw_latitude":119641560,"longitude_deg":75.655104,"latitude_deg":11.964156,"altitude":75,"angle":15,"satellites":40,"speed":0,"hex_longitude":"2d180d80","hex_latitude":"072195d8","is_valid_coordinates":true} 
[2026-07-07 17:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556871168001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725069615988736,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733182199724103680,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:36] 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-07-07 17:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783425299000,"timestamp_ms":1783425299000,"timestamp_seconds":1783425299,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6e7238"} 
[2026-07-07 17:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-07 17:26: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-07-07 17:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.75.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556871168001,"66":12776,"122":206,"28":31744,"24":0,"16":4725069615988736,"45":1733182199724103680},"client_ip":"117.224.75.78","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556871168001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:26:36] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:26:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725069615988736,"km_value":4725069615988.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733182199724103680,"description":"Unknown IO ID 45"} 
[2026-07-07 17:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556871168001,"power":12776,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1733182199724103680}} 
[2026-07-07 17:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":124621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:26:36] local.INFO: GPS data processed {"connection_id":124621,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:26:36] local.INFO: Acknowledgment sent {"connection_id":124621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:26:36] local.INFO: TCP Data received {"connection_id":125424,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:26:36] local.INFO: Processing buffer {"connection_id":125424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:26:36] local.INFO: IMEI packet received {"connection_id":125424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":125424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:26:37] local.INFO: TCP Data received {"connection_id":125424,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6f4cf8012d7c524005e1fca00008002726..."} 
[2026-07-07 17:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6f4cf8012d7c524005e1fca00008002726..."} 
[2026-07-07 17:26:37] local.INFO: Processing buffer {"connection_id":125424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6f4cf8012d7c524005e1fca00008002726..."} 
[2026-07-07 17:26:37] local.INFO: Packet analysis {"connection_id":125424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6f"} 
[2026-07-07 17:26:37] local.INFO: Extracted packet for processing {"connection_id":125424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6f"} 
[2026-07-07 17:26:37] local.INFO: GPS Element Parsed {"raw_longitude":763122240,"raw_latitude":98696352,"longitude_deg":76.312224,"latitude_deg":9.8696352,"altitude":8,"angle":39,"satellites":38,"speed":23,"hex_longitude":"2d7c5240","hex_latitude":"05e1fca0","is_valid_coordinates":true} 
[2026-07-07 17:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556889088001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103396480043188224,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954211615640668160,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783425355000,"timestamp_ms":1783425355000,"timestamp_seconds":1783425355,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6f4cf8"} 
[2026-07-07 17:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-07 17:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17: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-07-07 17:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556889088001,"66":13341,"43":206,"85":15104,"24":23,"16":103396480043188224,"45":8954211615640668160},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-07 17:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556889088001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:26:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 17:26:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103396480043188224,"km_value":103396480043188.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954211615640668160,"description":"Unknown IO ID 45"} 
[2026-07-07 17:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556889088001,"power":13341,"unknown_43":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8954211615640668160}} 
[2026-07-07 17:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":125424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:26:37] local.INFO: GPS data processed {"connection_id":125424,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:26:37] local.INFO: Acknowledgment sent {"connection_id":125424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:26:43] local.INFO: TCP Data received {"connection_id":125424,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6f5c98012d7c56c005e203b80008001b27..."} 
[2026-07-07 17:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6f5c98012d7c56c005e203b80008001b27..."} 
[2026-07-07 17:26:43] local.INFO: Processing buffer {"connection_id":125424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6f5c98012d7c56c005e203b80008001b27..."} 
[2026-07-07 17:26:43] local.INFO: Packet analysis {"connection_id":125424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6f"} 
[2026-07-07 17:26:43] local.INFO: Extracted packet for processing {"connection_id":125424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6f"} 
[2026-07-07 17:26:43] local.INFO: GPS Element Parsed {"raw_longitude":763123392,"raw_latitude":98698168,"longitude_deg":76.3123392,"latitude_deg":9.8698168,"altitude":8,"angle":27,"satellites":39,"speed":22,"hex_longitude":"2d7c56c0","hex_latitude":"05e203b8","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556890880001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103396583122403328,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958293002803781632,"note":"Value kept but may cause issues"} 
[2026-07-07 17:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783425359000,"timestamp_ms":1783425359000,"timestamp_seconds":1783425359,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6f5c98"} 
[2026-07-07 17:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-07 17:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:26: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-07-07 17:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556890880001,"66":13363,"43":206,"85":15104,"24":22,"16":103396583122403328,"45":8958293002803781632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-07 17:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556890880001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:26:43] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 17:26:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103396583122403328,"km_value":103396583122403.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958293002803781632,"description":"Unknown IO ID 45"} 
[2026-07-07 17:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556890880001,"power":13363,"unknown_43":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8958293002803781632}} 
[2026-07-07 17:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":125424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:26:43] local.INFO: GPS data processed {"connection_id":125424,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:26:43] local.INFO: Acknowledgment sent {"connection_id":125424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:26:58] local.INFO: TCP Data received {"connection_id":124622,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:26:58] local.INFO: Processing buffer {"connection_id":124622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:26:58] local.INFO: IMEI packet received {"connection_id":124622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":124622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:27:03] local.INFO: TCP Data received {"connection_id":124622,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:27:03] local.INFO: Processing buffer {"connection_id":124622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:27:03] local.INFO: IMEI packet received {"connection_id":124622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":124622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:27:04] local.INFO: TCP Data received {"connection_id":124622,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6cb4e8012dc7f740052e6d88001e00fb2d..."} 
[2026-07-07 17:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6cb4e8012dc7f740052e6d88001e00fb2d..."} 
[2026-07-07 17:27:04] local.INFO: Processing buffer {"connection_id":124622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6cb4e8012dc7f740052e6d88001e00fb2d..."} 
[2026-07-07 17:27:04] local.INFO: Packet analysis {"connection_id":124622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6c"} 
[2026-07-07 17:27:04] local.INFO: Extracted packet for processing {"connection_id":124622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6c"} 
[2026-07-07 17:27:04] local.INFO: GPS Element Parsed {"raw_longitude":768079680,"raw_latitude":86928776,"longitude_deg":76.807968,"latitude_deg":8.6928776,"altitude":30,"angle":251,"satellites":45,"speed":27,"hex_longitude":"2dc7f740","hex_latitude":"052e6d88","is_valid_coordinates":true} 
[2026-07-07 17:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556847360001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4037688149916416000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425185000,"timestamp_ms":1783425185000,"timestamp_seconds":1783425185,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6cb4e8"} 
[2026-07-07 17:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 17:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556847360001,"66":27767,"149":206,"80":35072,"24":27,"16":341699819883986944,"45":-4037688149916416000},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556847360001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:27:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:27:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4037688149916416000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556847360001,"power":27767,"unknown_149":206,"unknown_80":35072,"ignition":27,"odometer":null,"unknown_45":-4037688149916416000}} 
[2026-07-07 17:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":124622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:27:04] local.INFO: GPS data processed {"connection_id":124622,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:27:04] local.INFO: Acknowledgment sent {"connection_id":124622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:27:07] local.INFO: TCP Data received {"connection_id":124621,"ip":"117.224.75.78","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6ec440012d180d80072195d8004b000f25..."} 
[2026-07-07 17:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6ec440012d180d80072195d8004b000f25..."} 
[2026-07-07 17:27:07] local.INFO: Processing buffer {"connection_id":124621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6ec440012d180d80072195d8004b000f25..."} 
[2026-07-07 17:27:07] local.INFO: Packet analysis {"connection_id":124621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6e"} 
[2026-07-07 17:27:07] local.INFO: Extracted packet for processing {"connection_id":124621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6e"} 
[2026-07-07 17:27:07] local.INFO: GPS Element Parsed {"raw_longitude":756551040,"raw_latitude":119641560,"longitude_deg":75.655104,"latitude_deg":11.964156,"altitude":75,"angle":15,"satellites":37,"speed":0,"hex_longitude":"2d180d80","hex_latitude":"072195d8","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556876544001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725069615988736,"note":"Value kept but may cause issues"} 
[2026-07-07 17:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733182199724103680,"note":"Value kept but may cause issues"} 
[2026-07-07 17:27:07] 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-07-07 17:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783425320000,"timestamp_ms":1783425320000,"timestamp_seconds":1783425320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6ec440"} 
[2026-07-07 17:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-07 17:27: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-07-07 17: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-07-07 17:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.75.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556876544001,"66":12722,"122":206,"28":31744,"24":0,"16":4725069615988736,"45":1733182199724103680},"client_ip":"117.224.75.78","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556876544001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:27:07] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:27:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725069615988736,"km_value":4725069615988.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733182199724103680,"description":"Unknown IO ID 45"} 
[2026-07-07 17:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556876544001,"power":12722,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1733182199724103680}} 
[2026-07-07 17:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":124621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:27:07] local.INFO: GPS data processed {"connection_id":124621,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:27:07] local.INFO: Acknowledgment sent {"connection_id":124621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:27:26] local.INFO: TCP Data received {"connection_id":124706,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:27:26] local.INFO: Processing buffer {"connection_id":124706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:27:26] local.INFO: IMEI packet received {"connection_id":124706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":124706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:27:27] local.INFO: TCP Data received {"connection_id":124706,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:27:27] local.INFO: Processing buffer {"connection_id":124706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:27:27] local.INFO: IMEI packet received {"connection_id":124706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":124706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:27:31] local.INFO: TCP Data received {"connection_id":124706,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:27:31] local.INFO: Processing buffer {"connection_id":124706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:27:31] local.INFO: IMEI packet received {"connection_id":124706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":124706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:27:32] local.INFO: TCP Data received {"connection_id":124706,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6f7408012d7c5e0005e211500009002d24..."} 
[2026-07-07 17:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6f7408012d7c5e0005e211500009002d24..."} 
[2026-07-07 17:27:32] local.INFO: Processing buffer {"connection_id":124706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6f7408012d7c5e0005e211500009002d24..."} 
[2026-07-07 17:27:32] local.INFO: Packet analysis {"connection_id":124706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6f"} 
[2026-07-07 17:27:32] local.INFO: Extracted packet for processing {"connection_id":124706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6f"} 
[2026-07-07 17:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763125248,"raw_latitude":98701648,"longitude_deg":76.3125248,"latitude_deg":9.8701648,"altitude":9,"angle":45,"satellites":36,"speed":25,"hex_longitude":"2d7c5e00","hex_latitude":"05e21150","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556891904001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103396776395931648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959559640199444480,"note":"Value kept but may cause issues"} 
[2026-07-07 17:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783425365000,"timestamp_ms":1783425365000,"timestamp_seconds":1783425365,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6f7408"} 
[2026-07-07 17:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 17:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556891904001,"66":13091,"43":206,"85":15104,"24":25,"16":103396776395931648,"45":8959559640199444480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-07 17:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556891904001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:27:32] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 17:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103396776395931648,"km_value":103396776395931.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959559640199444480,"description":"Unknown IO ID 45"} 
[2026-07-07 17:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556891904001,"power":13091,"unknown_43":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8959559640199444480}} 
[2026-07-07 17:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":124706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:27:32] local.INFO: GPS data processed {"connection_id":124706,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:27:32] local.INFO: Acknowledgment sent {"connection_id":124706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:27:35] local.INFO: TCP Data received {"connection_id":124622,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6cb4e8012dc7f740052e6d88001e00fb2d..."} 
[2026-07-07 17:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6cb4e8012dc7f740052e6d88001e00fb2d..."} 
[2026-07-07 17:27:35] local.INFO: Processing buffer {"connection_id":124622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6cb4e8012dc7f740052e6d88001e00fb2d..."} 
[2026-07-07 17:27:35] local.INFO: Packet analysis {"connection_id":124622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6c"} 
[2026-07-07 17:27:35] local.INFO: Extracted packet for processing {"connection_id":124622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6c"} 
[2026-07-07 17:27:35] local.INFO: GPS Element Parsed {"raw_longitude":768079680,"raw_latitude":86928776,"longitude_deg":76.807968,"latitude_deg":8.6928776,"altitude":30,"angle":251,"satellites":45,"speed":27,"hex_longitude":"2dc7f740","hex_latitude":"052e6d88","is_valid_coordinates":true} 
[2026-07-07 17:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556847360001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4037688149916416000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783425185000,"timestamp_ms":1783425185000,"timestamp_seconds":1783425185,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6cb4e8"} 
[2026-07-07 17:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 17:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556847360001,"66":27767,"149":206,"80":35072,"24":27,"16":341699819883986944,"45":-4037688149916416000},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556847360001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:27:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:27:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4037688149916416000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556847360001,"power":27767,"unknown_149":206,"unknown_80":35072,"ignition":27,"odometer":null,"unknown_45":-4037688149916416000}} 
[2026-07-07 17:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":124622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:27:35] local.INFO: GPS data processed {"connection_id":124622,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:27:35] local.INFO: Acknowledgment sent {"connection_id":124622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:27:39] local.INFO: TCP Data received {"connection_id":124621,"ip":"117.224.75.78","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6f1648012d180d80072195d8004b000f26..."} 
[2026-07-07 17:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6f1648012d180d80072195d8004b000f26..."} 
[2026-07-07 17:27:39] local.INFO: Processing buffer {"connection_id":124621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6f1648012d180d80072195d8004b000f26..."} 
[2026-07-07 17:27:39] local.INFO: Packet analysis {"connection_id":124621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6f"} 
[2026-07-07 17:27:39] local.INFO: Extracted packet for processing {"connection_id":124621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6f"} 
[2026-07-07 17:27:39] local.INFO: GPS Element Parsed {"raw_longitude":756551040,"raw_latitude":119641560,"longitude_deg":75.655104,"latitude_deg":11.964156,"altitude":75,"angle":15,"satellites":38,"speed":0,"hex_longitude":"2d180d80","hex_latitude":"072195d8","is_valid_coordinates":true} 
[2026-07-07 17:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556881920001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725069615988736,"note":"Value kept but may cause issues"} 
[2026-07-07 17:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733182199724103680,"note":"Value kept but may cause issues"} 
[2026-07-07 17:27:39] 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-07-07 17:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783425341000,"timestamp_ms":1783425341000,"timestamp_seconds":1783425341,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6f1648"} 
[2026-07-07 17:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 17:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.75.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556881920001,"66":12689,"122":206,"28":31744,"24":0,"16":4725069615988736,"45":1733182199724103680},"client_ip":"117.224.75.78","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556881920001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:27:39] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:27:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725069615988736,"km_value":4725069615988.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733182199724103680,"description":"Unknown IO ID 45"} 
[2026-07-07 17:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556881920001,"power":12689,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1733182199724103680}} 
[2026-07-07 17:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":124621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:27:39] local.INFO: GPS data processed {"connection_id":124621,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:27:39] local.INFO: Acknowledgment sent {"connection_id":124621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:27:40] local.INFO: TCP Data received {"connection_id":124706,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6f7bd8012d7c628005e213a00009004324..."} 
[2026-07-07 17:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6f7bd8012d7c628005e213a00009004324..."} 
[2026-07-07 17:27:40] local.INFO: Processing buffer {"connection_id":124706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6f7bd8012d7c628005e213a00009004324..."} 
[2026-07-07 17:27:40] local.INFO: Packet analysis {"connection_id":124706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6f"} 
[2026-07-07 17:27:40] local.INFO: Extracted packet for processing {"connection_id":124706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6f"} 
[2026-07-07 17:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763126400,"raw_latitude":98702240,"longitude_deg":76.31264,"latitude_deg":9.870224,"altitude":9,"angle":67,"satellites":36,"speed":26,"hex_longitude":"2d7c6280","hex_latitude":"05e213a0","is_valid_coordinates":true} 
[2026-07-07 17:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556893440001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103396836525473792,"note":"Value kept but may cause issues"} 
[2026-07-07 17:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961600333781487616,"note":"Value kept but may cause issues"} 
[2026-07-07 17:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783425367000,"timestamp_ms":1783425367000,"timestamp_seconds":1783425367,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6f7bd8"} 
[2026-07-07 17:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 17:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17: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-07-07 17:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556893440001,"66":12917,"43":206,"85":15104,"24":26,"16":103396836525473792,"45":8961600333781487616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-07 17:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556893440001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:27:40] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 17:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103396836525473792,"km_value":103396836525473.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961600333781487616,"description":"Unknown IO ID 45"} 
[2026-07-07 17:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556893440001,"power":12917,"unknown_43":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8961600333781487616}} 
[2026-07-07 17:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":124706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:27:40] local.INFO: GPS data processed {"connection_id":124706,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:27:40] local.INFO: Acknowledgment sent {"connection_id":124706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:27:58] local.INFO: TCP Data received {"connection_id":124623,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:27:58] local.INFO: Processing buffer {"connection_id":124623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:27:58] local.INFO: IMEI packet received {"connection_id":124623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":124623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:28:03] local.INFO: TCP Data received {"connection_id":124623,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:28:03] local.INFO: Processing buffer {"connection_id":124623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:28:03] local.INFO: IMEI packet received {"connection_id":124623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":124623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:28:04] local.INFO: TCP Data received {"connection_id":124623,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6cb4e8012dc7f740052e6d88001e00fb2d..."} 
[2026-07-07 17:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6cb4e8012dc7f740052e6d88001e00fb2d..."} 
[2026-07-07 17:28:04] local.INFO: Processing buffer {"connection_id":124623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6cb4e8012dc7f740052e6d88001e00fb2d..."} 
[2026-07-07 17:28:04] local.INFO: Packet analysis {"connection_id":124623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6c"} 
[2026-07-07 17:28:04] local.INFO: Extracted packet for processing {"connection_id":124623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6c"} 
[2026-07-07 17:28:04] local.INFO: GPS Element Parsed {"raw_longitude":768079680,"raw_latitude":86928776,"longitude_deg":76.807968,"latitude_deg":8.6928776,"altitude":30,"angle":251,"satellites":45,"speed":27,"hex_longitude":"2dc7f740","hex_latitude":"052e6d88","is_valid_coordinates":true} 
[2026-07-07 17:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556847360001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4037688149916416000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425185000,"timestamp_ms":1783425185000,"timestamp_seconds":1783425185,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6cb4e8"} 
[2026-07-07 17:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 17:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556847360001,"66":27767,"149":206,"80":35072,"24":27,"16":341699819883986944,"45":-4037688149916416000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556847360001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:28:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:28:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4037688149916416000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556847360001,"power":27767,"unknown_149":206,"unknown_80":35072,"ignition":27,"odometer":null,"unknown_45":-4037688149916416000}} 
[2026-07-07 17:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":124623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:28:04] local.INFO: GPS data processed {"connection_id":124623,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:28:04] local.INFO: Acknowledgment sent {"connection_id":124623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:28:11] local.INFO: TCP Data received {"connection_id":124621,"ip":"117.224.75.78","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6f6850012d180d80072195d8004b000f27..."} 
[2026-07-07 17:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6f6850012d180d80072195d8004b000f27..."} 
[2026-07-07 17:28:11] local.INFO: Processing buffer {"connection_id":124621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6f6850012d180d80072195d8004b000f27..."} 
[2026-07-07 17:28:11] local.INFO: Packet analysis {"connection_id":124621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6f"} 
[2026-07-07 17:28:11] local.INFO: Extracted packet for processing {"connection_id":124621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6f"} 
[2026-07-07 17:28:11] local.INFO: GPS Element Parsed {"raw_longitude":756551040,"raw_latitude":119641560,"longitude_deg":75.655104,"latitude_deg":11.964156,"altitude":75,"angle":15,"satellites":39,"speed":0,"hex_longitude":"2d180d80","hex_latitude":"072195d8","is_valid_coordinates":true} 
[2026-07-07 17:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556887296001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725069615988736,"note":"Value kept but may cause issues"} 
[2026-07-07 17:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733182199724103680,"note":"Value kept but may cause issues"} 
[2026-07-07 17:28:11] 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-07-07 17:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783425362000,"timestamp_ms":1783425362000,"timestamp_seconds":1783425362,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6f6850"} 
[2026-07-07 17:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-07 17:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.75.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556887296001,"66":12667,"122":206,"28":31744,"24":0,"16":4725069615988736,"45":1733182199724103680},"client_ip":"117.224.75.78","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556887296001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:28:11] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:28:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725069615988736,"km_value":4725069615988.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733182199724103680,"description":"Unknown IO ID 45"} 
[2026-07-07 17:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556887296001,"power":12667,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1733182199724103680}} 
[2026-07-07 17:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":124621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:28:11] local.INFO: GPS data processed {"connection_id":124621,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:28:11] local.INFO: Acknowledgment sent {"connection_id":124621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:28:15] local.INFO: TCP Data received {"connection_id":124706,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6f7fc0012d7c658005e213d80009005123..."} 
[2026-07-07 17:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6f7fc0012d7c658005e213d80009005123..."} 
[2026-07-07 17:28:15] local.INFO: Processing buffer {"connection_id":124706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6f7fc0012d7c658005e213d80009005123..."} 
[2026-07-07 17:28:15] local.INFO: Packet analysis {"connection_id":124706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6f"} 
[2026-07-07 17:28:15] local.INFO: Extracted packet for processing {"connection_id":124706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6f"} 
[2026-07-07 17:28:15] local.INFO: GPS Element Parsed {"raw_longitude":763127168,"raw_latitude":98702296,"longitude_deg":76.3127168,"latitude_deg":9.8702296,"altitude":9,"angle":81,"satellites":35,"speed":28,"hex_longitude":"2d7c6580","hex_latitude":"05e213d8","is_valid_coordinates":true} 
[2026-07-07 17:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556893952001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103396875180179456,"note":"Value kept but may cause issues"} 
[2026-07-07 17:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962866971176837120,"note":"Value kept but may cause issues"} 
[2026-07-07 17:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783425368000,"timestamp_ms":1783425368000,"timestamp_seconds":1783425368,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6f7fc0"} 
[2026-07-07 17:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 17:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:28: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-07-07 17:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556893952001,"66":13319,"43":206,"85":15104,"24":28,"16":103396875180179456,"45":8962866971176837120},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-07 17:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556893952001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:28:15] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-07 17:28:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103396875180179456,"km_value":103396875180179.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962866971176837120,"description":"Unknown IO ID 45"} 
[2026-07-07 17:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556893952001,"power":13319,"unknown_43":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8962866971176837120}} 
[2026-07-07 17:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":124706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:28:15] local.INFO: GPS data processed {"connection_id":124706,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:28:15] local.INFO: Acknowledgment sent {"connection_id":124706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:28:24] local.INFO: TCP Data received {"connection_id":125426,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:28:24] local.INFO: Processing buffer {"connection_id":125426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:28:24] local.INFO: IMEI packet received {"connection_id":125426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":125426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:28:26] local.INFO: TCP Data received {"connection_id":125426,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:28:26] local.INFO: Processing buffer {"connection_id":125426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:28:26] local.INFO: IMEI packet received {"connection_id":125426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":125426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:28:31] local.INFO: TCP Data received {"connection_id":125426,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:28:31] local.INFO: Processing buffer {"connection_id":125426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:28:31] local.INFO: IMEI packet received {"connection_id":125426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":125426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:28:35] local.INFO: TCP Data received {"connection_id":124623,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6cb4e8012dc7f740052e6d88001e00fb2d..."} 
[2026-07-07 17:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6cb4e8012dc7f740052e6d88001e00fb2d..."} 
[2026-07-07 17:28:35] local.INFO: Processing buffer {"connection_id":124623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6cb4e8012dc7f740052e6d88001e00fb2d..."} 
[2026-07-07 17:28:35] local.INFO: Packet analysis {"connection_id":124623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6c"} 
[2026-07-07 17:28:35] local.INFO: Extracted packet for processing {"connection_id":124623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6c"} 
[2026-07-07 17:28:35] local.INFO: GPS Element Parsed {"raw_longitude":768079680,"raw_latitude":86928776,"longitude_deg":76.807968,"latitude_deg":8.6928776,"altitude":30,"angle":251,"satellites":45,"speed":27,"hex_longitude":"2dc7f740","hex_latitude":"052e6d88","is_valid_coordinates":true} 
[2026-07-07 17:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556847360001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4037688149916416000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783425185000,"timestamp_ms":1783425185000,"timestamp_seconds":1783425185,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6cb4e8"} 
[2026-07-07 17:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:28: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-07-07 17:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 17:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556847360001,"66":27767,"149":206,"80":35072,"24":27,"16":341699819883986944,"45":-4037688149916416000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556847360001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:28:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:28:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4037688149916416000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556847360001,"power":27767,"unknown_149":206,"unknown_80":35072,"ignition":27,"odometer":null,"unknown_45":-4037688149916416000}} 
[2026-07-07 17:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":124623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:28:35] local.INFO: GPS data processed {"connection_id":124623,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:28:35] local.INFO: Acknowledgment sent {"connection_id":124623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:28:36] local.INFO: TCP Data received {"connection_id":125426,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c716038012d7dc60005e1fd20000900542c..."} 
[2026-07-07 17:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c716038012d7dc60005e1fd20000900542c..."} 
[2026-07-07 17:28:36] local.INFO: Processing buffer {"connection_id":125426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c716038012d7dc60005e1fd20000900542c..."} 
[2026-07-07 17:28:36] local.INFO: Packet analysis {"connection_id":125426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:28:36] local.INFO: Extracted packet for processing {"connection_id":125426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:28:36] local.INFO: GPS Element Parsed {"raw_longitude":763217408,"raw_latitude":98696480,"longitude_deg":76.3217408,"latitude_deg":9.869648,"altitude":9,"angle":84,"satellites":44,"speed":41,"hex_longitude":"2d7dc600","hex_latitude":"05e1fd20","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556924672001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103401221687083008,"note":"Value kept but may cause issues"} 
[2026-07-07 17:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9058286988280322048,"note":"Value kept but may cause issues"} 
[2026-07-07 17:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783425491000,"timestamp_ms":1783425491000,"timestamp_seconds":1783425491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c716038"} 
[2026-07-07 17:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 17:28: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-07-07 17: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-07-07 17:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:28: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-07-07 17:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556924672001,"66":13319,"61":206,"85":15104,"24":41,"16":103401221687083008,"45":9058286988280322048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-07 17:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556924672001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:28:36] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-07 17:28:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103401221687083008,"km_value":103401221687083.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9058286988280322048,"description":"Unknown IO ID 45"} 
[2026-07-07 17:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556924672001,"power":13319,"unknown_61":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9058286988280322048}} 
[2026-07-07 17:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":125426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:28:36] local.INFO: GPS data processed {"connection_id":125426,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:28:36] local.INFO: Acknowledgment sent {"connection_id":125426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:28:43] local.INFO: TCP Data received {"connection_id":124621,"ip":"117.224.75.78","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c6fba58012d180d80072195d8004b000f28..."} 
[2026-07-07 17:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c6fba58012d180d80072195d8004b000f28..."} 
[2026-07-07 17:28:43] local.INFO: Processing buffer {"connection_id":124621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c6fba58012d180d80072195d8004b000f28..."} 
[2026-07-07 17:28:43] local.INFO: Packet analysis {"connection_id":124621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c6f"} 
[2026-07-07 17:28:43] local.INFO: Extracted packet for processing {"connection_id":124621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c6f"} 
[2026-07-07 17:28:43] local.INFO: GPS Element Parsed {"raw_longitude":756551040,"raw_latitude":119641560,"longitude_deg":75.655104,"latitude_deg":11.964156,"altitude":75,"angle":15,"satellites":40,"speed":0,"hex_longitude":"2d180d80","hex_latitude":"072195d8","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556892672001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725069615988736,"note":"Value kept but may cause issues"} 
[2026-07-07 17:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733182199724103680,"note":"Value kept but may cause issues"} 
[2026-07-07 17:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783425383000,"timestamp_ms":1783425383000,"timestamp_seconds":1783425383,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c6fba58"} 
[2026-07-07 17:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-07 17:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.75.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556892672001,"66":12602,"122":206,"28":31744,"24":0,"16":4725069615988736,"45":1733182199724103680},"client_ip":"117.224.75.78","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556892672001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:28:43] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:28:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725069615988736,"km_value":4725069615988.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733182199724103680,"description":"Unknown IO ID 45"} 
[2026-07-07 17:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556892672001,"power":12602,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1733182199724103680}} 
[2026-07-07 17:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":124621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:28:43] local.INFO: GPS data processed {"connection_id":124621,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:28:43] local.INFO: Acknowledgment sent {"connection_id":124621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:28:59] local.INFO: TCP Data received {"connection_id":124707,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:28:59] local.INFO: Processing buffer {"connection_id":124707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:28:59] local.INFO: IMEI packet received {"connection_id":124707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":124707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:29:03] local.INFO: TCP Data received {"connection_id":124707,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:29:03] local.INFO: Processing buffer {"connection_id":124707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:29:03] local.INFO: IMEI packet received {"connection_id":124707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":124707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:29:07] local.INFO: TCP Data received {"connection_id":125426,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c716bf0012d7dd28005e20050000800422c..."} 
[2026-07-07 17:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c716bf0012d7dd28005e20050000800422c..."} 
[2026-07-07 17:29:07] local.INFO: Processing buffer {"connection_id":125426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c716bf0012d7dd28005e20050000800422c..."} 
[2026-07-07 17:29:07] local.INFO: Packet analysis {"connection_id":125426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:29:07] local.INFO: Extracted packet for processing {"connection_id":125426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763220608,"raw_latitude":98697296,"longitude_deg":76.3220608,"latitude_deg":9.8697296,"altitude":8,"angle":66,"satellites":44,"speed":45,"hex_longitude":"2d7dd280","hex_latitude":"05e20050","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556925696001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103401380600872960,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062931325396000768,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783425494000,"timestamp_ms":1783425494000,"timestamp_seconds":1783425494,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c716bf0"} 
[2026-07-07 17:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 17:29:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:07] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3623878656,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:07] local.WARNING: Large IO value detected {"io_id":226,"raw_value":481885194493699840,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:07] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4026609021,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-07-07 17:29:07] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2147869195,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:07] local.WARNING: Large IO value detected {"io_id":111,"raw_value":-234185885743513595,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792607232,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:07] local.WARNING: Large IO value detected {"io_id":63,"raw_value":57788316829766971,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,61,85,24,241,157,16,90,159,80,45,128,253,10,66,43,25,1,13,46,227,240,248,89,60,226,4,113,205,27,32,47,239,51,2,111,5,11,23,63],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-07-07 17:29:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648610894299332608,"timestamp_seconds":648610894299332.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 17:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:29: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-07-07 17:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556925696001,"66":12885,"61":206,"85":15104,"24":45,"16":103401380600872960,"45":9062931325396000768},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-07 17:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556925696001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:29:07] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-07 17:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103401380600872960,"km_value":103401380600872.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062931325396000768,"description":"Unknown IO ID 45"} 
[2026-07-07 17:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556925696001,"power":12885,"unknown_61":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9062931325396000768}} 
[2026-07-07 17:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":125426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:29:07] local.INFO: GPS data processed {"connection_id":125426,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:29:07] local.INFO: Acknowledgment sent {"connection_id":125426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:29:09] local.INFO: TCP Data received {"connection_id":124707,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:29:09] local.INFO: Processing buffer {"connection_id":124707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:29:09] local.INFO: Packet analysis {"connection_id":124707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:29:09] local.INFO: Extracted packet for processing {"connection_id":124707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:29:09] local.INFO: GPS Element Parsed {"raw_longitude":768067520,"raw_latitude":86921120,"longitude_deg":76.806752,"latitude_deg":8.692112,"altitude":22,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2dc7c7c0","hex_latitude":"052e4fa0","is_valid_coordinates":true} 
[2026-07-07 17:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556847360001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4037688149916416000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783425491000,"timestamp_ms":1783425491000,"timestamp_seconds":1783425491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c716038"} 
[2026-07-07 17:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 17:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556847360001,"66":26245,"149":206,"80":35072,"24":0,"16":341699819883986944,"45":-4037688149916416000},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556847360001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:29:09] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:29:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4037688149916416000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556847360001,"power":26245,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4037688149916416000}} 
[2026-07-07 17:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":124707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:29:09] local.INFO: GPS data processed {"connection_id":124707,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:29:09] local.INFO: Acknowledgment sent {"connection_id":124707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:29:26] local.INFO: TCP Data received {"connection_id":125427,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:29:26] local.INFO: Processing buffer {"connection_id":125427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:29:26] local.INFO: IMEI packet received {"connection_id":125427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":125427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:29:29] local.INFO: TCP Data received {"connection_id":125427,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:29:29] local.INFO: Processing buffer {"connection_id":125427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:29:29] local.INFO: IMEI packet received {"connection_id":125427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":125427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:29:30] local.INFO: TCP Data received {"connection_id":125427,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c724e80012d7e2bc005e1dc98000300b626..."} 
[2026-07-07 17:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c724e80012d7e2bc005e1dc98000300b626..."} 
[2026-07-07 17:29:30] local.INFO: Processing buffer {"connection_id":125427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c724e80012d7e2bc005e1dc98000300b626..."} 
[2026-07-07 17:29:30] local.INFO: Packet analysis {"connection_id":125427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c72"} 
[2026-07-07 17:29:30] local.INFO: Extracted packet for processing {"connection_id":125427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c72"} 
[2026-07-07 17:29:30] local.INFO: GPS Element Parsed {"raw_longitude":763243456,"raw_latitude":98688152,"longitude_deg":76.3243456,"latitude_deg":9.8688152,"altitude":3,"angle":182,"satellites":38,"speed":40,"hex_longitude":"2d7e2bc0","hex_latitude":"05e1dc98","is_valid_coordinates":true} 
[2026-07-07 17:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556938752001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103403132947529728,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092204722974138368,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783425552000,"timestamp_ms":1783425552000,"timestamp_seconds":1783425552,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c724e80"} 
[2026-07-07 17:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-07 17:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792887808,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3278059228138444040,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:30] local.WARNING: Large IO value detected {"io_id":226,"raw_value":1456914505231705856,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:30] local.WARNING: Large IO value detected {"io_id":113,"raw_value":-3350676827864301563,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-07-07 17:29:30] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070503,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:30] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57886250674050363,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:30] local.WARNING: Large IO value detected {"io_id":167,"raw_value":4395740101771008000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:30] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:30] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,61,85,24,241,157,16,92,159,31,45,5,4,39,10,66,27,192,8,23,128,1,240,215,227,60,226,113,205,21,41,152,38,239,51,2,111,6,18,79,167,86],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2805792974,"validated":0}]} 
[2026-07-07 17:29:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288430646183591936,"timestamp_seconds":288430646183591.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 17:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:29: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-07-07 17:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556938752001,"66":13059,"61":206,"85":15104,"24":40,"16":103403132947529728,"45":9092204722974138368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-07 17:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556938752001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:29:30] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-07 17:29:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103403132947529728,"km_value":103403132947529.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092204722974138368,"description":"Unknown IO ID 45"} 
[2026-07-07 17:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556938752001,"power":13059,"unknown_61":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9092204722974138368}} 
[2026-07-07 17:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":125427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:29:30] local.INFO: GPS data processed {"connection_id":125427,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:29:30] local.INFO: Acknowledgment sent {"connection_id":125427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:29:40] local.INFO: TCP Data received {"connection_id":124707,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:29:40] local.INFO: Processing buffer {"connection_id":124707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:29:40] local.INFO: Packet analysis {"connection_id":124707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:29:40] local.INFO: Extracted packet for processing {"connection_id":124707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:29:40] local.INFO: GPS Element Parsed {"raw_longitude":768067520,"raw_latitude":86921120,"longitude_deg":76.806752,"latitude_deg":8.692112,"altitude":22,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2dc7c7c0","hex_latitude":"052e4fa0","is_valid_coordinates":true} 
[2026-07-07 17:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556847360001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4037688149916416000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783425491000,"timestamp_ms":1783425491000,"timestamp_seconds":1783425491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c716038"} 
[2026-07-07 17:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 17:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556847360001,"66":26245,"149":206,"80":35072,"24":0,"16":341699819883986944,"45":-4037688149916416000},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556847360001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:29:40] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:29:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4037688149916416000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556847360001,"power":26245,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4037688149916416000}} 
[2026-07-07 17:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":124707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:29:40] local.INFO: GPS data processed {"connection_id":124707,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:29:40] local.INFO: Acknowledgment sent {"connection_id":124707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:30:01] local.INFO: TCP Data received {"connection_id":125427,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c726dc0012d7e294005e1bf58000400c424..."} 
[2026-07-07 17:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c726dc0012d7e294005e1bf58000400c424..."} 
[2026-07-07 17:30:01] local.INFO: Processing buffer {"connection_id":125427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c726dc0012d7e294005e1bf58000400c424..."} 
[2026-07-07 17:30:01] local.INFO: Packet analysis {"connection_id":125427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c72"} 
[2026-07-07 17:30:01] local.INFO: Extracted packet for processing {"connection_id":125427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c72"} 
[2026-07-07 17:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763242816,"raw_latitude":98680664,"longitude_deg":76.3242816,"latitude_deg":9.8680664,"altitude":4,"angle":196,"satellites":36,"speed":34,"hex_longitude":"2d7e2940","hex_latitude":"05e1bf58","is_valid_coordinates":true} 
[2026-07-07 17:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556941312001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103403498019749888,"note":"Value kept but may cause issues"} 
[2026-07-07 17:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091571404274178048,"note":"Value kept but may cause issues"} 
[2026-07-07 17:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783425560000,"timestamp_ms":1783425560000,"timestamp_seconds":1783425560,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c726dc0"} 
[2026-07-07 17:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:30: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-07-07 17:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 17:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547559,"note":"Value kept but may cause issues"} 
[2026-07-07 17:30:01] local.WARNING: Large IO value detected {"io_id":61,"raw_value":58077557095399446,"note":"Value kept but may cause issues"} 
[2026-07-07 17:30:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 17:30:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-07-07 17:30:01] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3892391294,"note":"Value kept but may cause issues"} 
[2026-07-07 17:30:01] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154087,"note":"Value kept but may cause issues"} 
[2026-07-07 17:30:01] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,61,85,24,241,157,16,92,159,39,45,4,37,10,66,31,5,27,192,1,240,198,227,60,226,113,205,22,19,43,128,38,239,50,2,111],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2805792974,"validated":0}]} 
[2026-07-07 17:30:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216373056441417728,"timestamp_seconds":216373056441417.72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 17:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556941312001,"66":13189,"61":206,"85":15104,"24":34,"16":103403498019749888,"45":9091571404274178048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-07 17:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556941312001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:30:01] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-07 17:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103403498019749888,"km_value":103403498019749.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091571404274178048,"description":"Unknown IO ID 45"} 
[2026-07-07 17:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556941312001,"power":13189,"unknown_61":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9091571404274178048}} 
[2026-07-07 17:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":125427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:30:01] local.INFO: GPS data processed {"connection_id":125427,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:30:01] local.INFO: Acknowledgment sent {"connection_id":125427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:30:03] local.INFO: TCP Data received {"connection_id":126684,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:30:03] local.INFO: Processing buffer {"connection_id":126684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:30:03] local.INFO: IMEI packet received {"connection_id":126684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":126684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:30:04] local.INFO: TCP Data received {"connection_id":126683,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:30:04] local.INFO: Processing buffer {"connection_id":126683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:30:04] local.INFO: IMEI packet received {"connection_id":126683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 17:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":126683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:30:08] local.INFO: TCP Data received {"connection_id":126684,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:30:08] local.INFO: Processing buffer {"connection_id":126684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:30:08] local.INFO: IMEI packet received {"connection_id":126684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":126684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:30:09] local.INFO: TCP Data received {"connection_id":126684,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:30:09] local.INFO: Processing buffer {"connection_id":126684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:30:09] local.INFO: Packet analysis {"connection_id":126684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:30:09] local.INFO: Extracted packet for processing {"connection_id":126684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:30:09] local.INFO: GPS Element Parsed {"raw_longitude":768067520,"raw_latitude":86921120,"longitude_deg":76.806752,"latitude_deg":8.692112,"altitude":22,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2dc7c7c0","hex_latitude":"052e4fa0","is_valid_coordinates":true} 
[2026-07-07 17:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556847360001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4037688149916416000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783425491000,"timestamp_ms":1783425491000,"timestamp_seconds":1783425491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c716038"} 
[2026-07-07 17:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 17:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556847360001,"66":26245,"149":206,"80":35072,"24":0,"16":341699819883986944,"45":-4037688149916416000},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556847360001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:30:09] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:30:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4037688149916416000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556847360001,"power":26245,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4037688149916416000}} 
[2026-07-07 17:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":126684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:30:09] local.INFO: GPS data processed {"connection_id":126684,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:30:09] local.INFO: Acknowledgment sent {"connection_id":126684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:30:14] local.INFO: TCP Data received {"connection_id":126684,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:30:14] local.INFO: Processing buffer {"connection_id":126684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:30:14] local.INFO: Packet analysis {"connection_id":126684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:30:14] local.INFO: Extracted packet for processing {"connection_id":126684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:30:14] local.INFO: GPS Element Parsed {"raw_longitude":768067520,"raw_latitude":86921120,"longitude_deg":76.806752,"latitude_deg":8.692112,"altitude":22,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2dc7c7c0","hex_latitude":"052e4fa0","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556847360001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4037688149916416000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783425491000,"timestamp_ms":1783425491000,"timestamp_seconds":1783425491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c716038"} 
[2026-07-07 17:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17: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":119,"data_length":795,"current_offset":136} 
[2026-07-07 17:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556847360001,"66":26245,"149":206,"80":35072,"24":0,"16":341699819883986944,"45":-4037688149916416000},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556847360001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:30:14] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:30:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4037688149916416000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556847360001,"power":26245,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4037688149916416000}} 
[2026-07-07 17:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":126684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:30:14] local.INFO: GPS data processed {"connection_id":126684,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:30:14] local.INFO: Acknowledgment sent {"connection_id":126684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:30:26] local.INFO: TCP Data received {"connection_id":126685,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:30:26] local.INFO: Processing buffer {"connection_id":126685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:30:26] local.INFO: IMEI packet received {"connection_id":126685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":126685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:30:27] local.INFO: TCP Data received {"connection_id":126685,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:30:27] local.INFO: Processing buffer {"connection_id":126685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:30:27] local.INFO: IMEI packet received {"connection_id":126685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":126685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:30:31] local.INFO: TCP Data received {"connection_id":126685,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:30:31] local.INFO: Processing buffer {"connection_id":126685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:30:31] local.INFO: IMEI packet received {"connection_id":126685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":126685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:30:32] local.INFO: TCP Data received {"connection_id":126685,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c727590012d7e268005e1b918000400d023..."} 
[2026-07-07 17:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c727590012d7e268005e1b918000400d023..."} 
[2026-07-07 17:30:32] local.INFO: Processing buffer {"connection_id":126685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c727590012d7e268005e1b918000400d023..."} 
[2026-07-07 17:30:32] local.INFO: Packet analysis {"connection_id":126685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c72"} 
[2026-07-07 17:30:32] local.INFO: Extracted packet for processing {"connection_id":126685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c72"} 
[2026-07-07 17:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763242112,"raw_latitude":98679064,"longitude_deg":76.3242112,"latitude_deg":9.8679064,"altitude":4,"angle":208,"satellites":35,"speed":35,"hex_longitude":"2d7e2680","hex_latitude":"05e1b918","is_valid_coordinates":true} 
[2026-07-07 17:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556943360001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103403583919095808,"note":"Value kept but may cause issues"} 
[2026-07-07 17:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090867716830484480,"note":"Value kept but may cause issues"} 
[2026-07-07 17:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783425562000,"timestamp_ms":1783425562000,"timestamp_seconds":1783425562,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c727590"} 
[2026-07-07 17:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 17:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556943360001,"66":12624,"61":206,"85":15104,"24":35,"16":103403583919095808,"45":9090867716830484480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-07 17:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556943360001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:30:32] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-07 17:30:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103403583919095808,"km_value":103403583919095.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090867716830484480,"description":"Unknown IO ID 45"} 
[2026-07-07 17:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556943360001,"power":12624,"unknown_61":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9090867716830484480}} 
[2026-07-07 17:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":126685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:30:32] local.INFO: GPS data processed {"connection_id":126685,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:30:32] local.INFO: Acknowledgment sent {"connection_id":126685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:30:58] local.INFO: TCP Data received {"connection_id":124625,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:30:58] local.INFO: Processing buffer {"connection_id":124625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:30:58] local.INFO: IMEI packet received {"connection_id":124625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":124625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:31:03] local.INFO: TCP Data received {"connection_id":124625,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:31:03] local.INFO: Processing buffer {"connection_id":124625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:31:03] local.INFO: IMEI packet received {"connection_id":124625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":124625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:31:04] local.INFO: TCP Data received {"connection_id":126685,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c73b5e0012d7e2fc005e0ac480002008c25..."} 
[2026-07-07 17:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c73b5e0012d7e2fc005e0ac480002008c25..."} 
[2026-07-07 17:31:04] local.INFO: Processing buffer {"connection_id":126685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c73b5e0012d7e2fc005e0ac480002008c25..."} 
[2026-07-07 17:31:04] local.INFO: Packet analysis {"connection_id":126685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c73"} 
[2026-07-07 17:31:04] local.INFO: Extracted packet for processing {"connection_id":126685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c73"} 
[2026-07-07 17:31:04] local.INFO: GPS Element Parsed {"raw_longitude":763244480,"raw_latitude":98610248,"longitude_deg":76.324448,"latitude_deg":9.8610248,"altitude":2,"angle":140,"satellites":37,"speed":29,"hex_longitude":"2d7e2fc0","hex_latitude":"05e0ac48","is_valid_coordinates":true} 
[2026-07-07 17:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556962816001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103407200281559040,"note":"Value kept but may cause issues"} 
[2026-07-07 17:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086223379697760256,"note":"Value kept but may cause issues"} 
[2026-07-07 17:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425644000,"timestamp_ms":1783425644000,"timestamp_seconds":1783425644,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c73b5e0"} 
[2026-07-07 17:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 17:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556962816001,"66":12939,"60":206,"85":15104,"24":29,"16":103407200281559040,"45":9086223379697760256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-07 17:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556962816001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:31:04] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-07 17:31:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103407200281559040,"km_value":103407200281559.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086223379697760256,"description":"Unknown IO ID 45"} 
[2026-07-07 17:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556962816001,"power":12939,"unknown_60":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9086223379697760256}} 
[2026-07-07 17:31:04] local.INFO: TCP Data received {"connection_id":124625,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:31:04] local.INFO: Processing buffer {"connection_id":124625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:31:04] local.INFO: Packet analysis {"connection_id":124625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:31:04] local.INFO: Extracted packet for processing {"connection_id":124625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:31:04] local.INFO: GPS Element Parsed {"raw_longitude":768067520,"raw_latitude":86921120,"longitude_deg":76.806752,"latitude_deg":8.692112,"altitude":22,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2dc7c7c0","hex_latitude":"052e4fa0","is_valid_coordinates":true} 
[2026-07-07 17:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556847360001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4037688149916416000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425491000,"timestamp_ms":1783425491000,"timestamp_seconds":1783425491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c716038"} 
[2026-07-07 17:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 17:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556847360001,"66":26245,"149":206,"80":35072,"24":0,"16":341699819883986944,"45":-4037688149916416000},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556847360001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:31:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:31:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4037688149916416000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556847360001,"power":26245,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4037688149916416000}} 
[2026-07-07 17:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":124625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:31:04] local.INFO: GPS data processed {"connection_id":124625,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:31:04] local.INFO: Acknowledgment sent {"connection_id":124625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":126685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:31:04] local.INFO: GPS data processed {"connection_id":126685,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:31:04] local.INFO: Acknowledgment sent {"connection_id":126685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:31:26] local.INFO: TCP Data received {"connection_id":126686,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:31:26] local.INFO: Processing buffer {"connection_id":126686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:31:26] local.INFO: IMEI packet received {"connection_id":126686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":126686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:31:31] local.INFO: TCP Data received {"connection_id":126686,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:31:31] local.INFO: Processing buffer {"connection_id":126686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:31:31] local.INFO: IMEI packet received {"connection_id":126686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":126686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:31:32] local.INFO: TCP Data received {"connection_id":126686,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c73bdb0012d7e320005e0a768000300a325..."} 
[2026-07-07 17:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c73bdb0012d7e320005e0a768000300a325..."} 
[2026-07-07 17:31:32] local.INFO: Processing buffer {"connection_id":126686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c73bdb0012d7e320005e0a768000300a325..."} 
[2026-07-07 17:31:32] local.INFO: Packet analysis {"connection_id":126686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c73"} 
[2026-07-07 17:31:32] local.INFO: Extracted packet for processing {"connection_id":126686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c73"} 
[2026-07-07 17:31:32] local.INFO: GPS Element Parsed {"raw_longitude":763245056,"raw_latitude":98609000,"longitude_deg":76.3245056,"latitude_deg":9.8609,"altitude":3,"angle":163,"satellites":37,"speed":28,"hex_longitude":"2d7e3200","hex_latitude":"05e0a768","is_valid_coordinates":true} 
[2026-07-07 17:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556964864001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103407264706068480,"note":"Value kept but may cause issues"} 
[2026-07-07 17:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092697304161077248,"note":"Value kept but may cause issues"} 
[2026-07-07 17:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783425646000,"timestamp_ms":1783425646000,"timestamp_seconds":1783425646,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c73bdb0"} 
[2026-07-07 17:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 17:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556964864001,"66":13363,"60":206,"85":15104,"24":28,"16":103407264706068480,"45":9092697304161077248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-07 17:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556964864001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:31:32] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-07 17:31:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103407264706068480,"km_value":103407264706068.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092697304161077248,"description":"Unknown IO ID 45"} 
[2026-07-07 17:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556964864001,"power":13363,"unknown_60":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9092697304161077248}} 
[2026-07-07 17:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":126686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:31:32] local.INFO: GPS data processed {"connection_id":126686,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:31:32] local.INFO: Acknowledgment sent {"connection_id":126686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:31:36] local.INFO: TCP Data received {"connection_id":124625,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:31:36] local.INFO: Processing buffer {"connection_id":124625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:31:36] local.INFO: Packet analysis {"connection_id":124625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:31:36] local.INFO: Extracted packet for processing {"connection_id":124625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:31:36] local.INFO: GPS Element Parsed {"raw_longitude":768067520,"raw_latitude":86921120,"longitude_deg":76.806752,"latitude_deg":8.692112,"altitude":22,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2dc7c7c0","hex_latitude":"052e4fa0","is_valid_coordinates":true} 
[2026-07-07 17:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556847360001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4037688149916416000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783425491000,"timestamp_ms":1783425491000,"timestamp_seconds":1783425491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c716038"} 
[2026-07-07 17:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 17:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556847360001,"66":26245,"149":206,"80":35072,"24":0,"16":341699819883986944,"45":-4037688149916416000},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556847360001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:31:36] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:31:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4037688149916416000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556847360001,"power":26245,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4037688149916416000}} 
[2026-07-07 17:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":124625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:31:36] local.INFO: GPS data processed {"connection_id":124625,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:31:36] local.INFO: Acknowledgment sent {"connection_id":124625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:31:58] local.INFO: TCP Data received {"connection_id":124626,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:31:58] local.INFO: Processing buffer {"connection_id":124626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:31:58] local.INFO: IMEI packet received {"connection_id":124626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":124626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:32:03] local.INFO: TCP Data received {"connection_id":124626,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:32:03] local.INFO: Processing buffer {"connection_id":124626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:32:03] local.INFO: IMEI packet received {"connection_id":124626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":124626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:32:04] local.INFO: TCP Data received {"connection_id":126686,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c73e8a8012d7e390005e08538000600a428..."} 
[2026-07-07 17:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c73e8a8012d7e390005e08538000600a428..."} 
[2026-07-07 17:32:04] local.INFO: Processing buffer {"connection_id":126686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c73e8a8012d7e390005e08538000600a428..."} 
[2026-07-07 17:32:04] local.INFO: Packet analysis {"connection_id":126686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c73"} 
[2026-07-07 17:32:04] local.INFO: Extracted packet for processing {"connection_id":126686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c73"} 
[2026-07-07 17:32:04] local.INFO: GPS Element Parsed {"raw_longitude":763246848,"raw_latitude":98600248,"longitude_deg":76.3246848,"latitude_deg":9.8600248,"altitude":6,"angle":164,"satellites":40,"speed":27,"hex_longitude":"2d7e3900","hex_latitude":"05e08538","is_valid_coordinates":true} 
[2026-07-07 17:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556965376001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103407698497765376,"note":"Value kept but may cause issues"} 
[2026-07-07 17:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093330622858356736,"note":"Value kept but may cause issues"} 
[2026-07-07 17:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425657000,"timestamp_ms":1783425657000,"timestamp_seconds":1783425657,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c73e8a8"} 
[2026-07-07 17:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 17:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556965376001,"66":13091,"60":206,"85":15104,"24":27,"16":103407698497765376,"45":9093330622858356736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-07 17:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556965376001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:32:04] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-07 17:32:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103407698497765376,"km_value":103407698497765.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093330622858356736,"description":"Unknown IO ID 45"} 
[2026-07-07 17:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556965376001,"power":13091,"unknown_60":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9093330622858356736}} 
[2026-07-07 17:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":126686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:32:04] local.INFO: GPS data processed {"connection_id":126686,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:32:04] local.INFO: Acknowledgment sent {"connection_id":126686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:32:04] local.INFO: TCP Data received {"connection_id":124626,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:32:04] local.INFO: Processing buffer {"connection_id":124626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:32:04] local.INFO: Packet analysis {"connection_id":124626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:32:04] local.INFO: Extracted packet for processing {"connection_id":124626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:32:04] local.INFO: GPS Element Parsed {"raw_longitude":768067520,"raw_latitude":86921120,"longitude_deg":76.806752,"latitude_deg":8.692112,"altitude":22,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2dc7c7c0","hex_latitude":"052e4fa0","is_valid_coordinates":true} 
[2026-07-07 17:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556847360001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4037688149916416000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425491000,"timestamp_ms":1783425491000,"timestamp_seconds":1783425491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c716038"} 
[2026-07-07 17:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 17:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556847360001,"66":26245,"149":206,"80":35072,"24":0,"16":341699819883986944,"45":-4037688149916416000},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556847360001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:32:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:32:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4037688149916416000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556847360001,"power":26245,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4037688149916416000}} 
[2026-07-07 17:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":124626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:32:04] local.INFO: GPS data processed {"connection_id":124626,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:32:04] local.INFO: Acknowledgment sent {"connection_id":124626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:32:26] local.INFO: TCP Data received {"connection_id":125429,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:32:26] local.INFO: Processing buffer {"connection_id":125429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:32:26] local.INFO: IMEI packet received {"connection_id":125429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":125429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:32:26] local.INFO: TCP Data received {"connection_id":125429,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:32:26] local.INFO: Processing buffer {"connection_id":125429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:32:26] local.INFO: IMEI packet received {"connection_id":125429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":125429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:32:31] local.INFO: TCP Data received {"connection_id":125429,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:32:31] local.INFO: Processing buffer {"connection_id":125429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:32:31] local.INFO: IMEI packet received {"connection_id":125429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":125429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:32:32] local.INFO: TCP Data received {"connection_id":125429,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c740bd0012d7e3ec005e06508000500b029..."} 
[2026-07-07 17:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c740bd0012d7e3ec005e06508000500b029..."} 
[2026-07-07 17:32:32] local.INFO: Processing buffer {"connection_id":125429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c740bd0012d7e3ec005e06508000500b029..."} 
[2026-07-07 17:32:32] local.INFO: Packet analysis {"connection_id":125429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c74"} 
[2026-07-07 17:32:32] local.INFO: Extracted packet for processing {"connection_id":125429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c74"} 
[2026-07-07 17:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763248320,"raw_latitude":98592008,"longitude_deg":76.324832,"latitude_deg":9.8592008,"altitude":5,"angle":176,"satellites":41,"speed":43,"hex_longitude":"2d7e3ec0","hex_latitude":"05e06508","is_valid_coordinates":true} 
[2026-07-07 17:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556968192001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103408106519658496,"note":"Value kept but may cause issues"} 
[2026-07-07 17:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095300947693090816,"note":"Value kept but may cause issues"} 
[2026-07-07 17:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783425666000,"timestamp_ms":1783425666000,"timestamp_seconds":1783425666,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c740bd0"} 
[2026-07-07 17:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 17:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556968192001,"66":13015,"60":206,"85":15104,"24":43,"16":103408106519658496,"45":9095300947693090816},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-07 17:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556968192001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:32:32] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-07 17:32:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103408106519658496,"km_value":103408106519658.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095300947693090816,"description":"Unknown IO ID 45"} 
[2026-07-07 17:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556968192001,"power":13015,"unknown_60":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9095300947693090816}} 
[2026-07-07 17:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":125429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:32:32] local.INFO: GPS data processed {"connection_id":125429,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:32:32] local.INFO: Acknowledgment sent {"connection_id":125429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:32:35] local.INFO: TCP Data received {"connection_id":124626,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:32:35] local.INFO: Processing buffer {"connection_id":124626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:32:35] local.INFO: Packet analysis {"connection_id":124626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:32:35] local.INFO: Extracted packet for processing {"connection_id":124626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:32:35] local.INFO: GPS Element Parsed {"raw_longitude":768067520,"raw_latitude":86921120,"longitude_deg":76.806752,"latitude_deg":8.692112,"altitude":22,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2dc7c7c0","hex_latitude":"052e4fa0","is_valid_coordinates":true} 
[2026-07-07 17:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556847360001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4037688149916416000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783425491000,"timestamp_ms":1783425491000,"timestamp_seconds":1783425491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c716038"} 
[2026-07-07 17:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 17:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556847360001,"66":26245,"149":206,"80":35072,"24":0,"16":341699819883986944,"45":-4037688149916416000},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556847360001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:32:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:32:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4037688149916416000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556847360001,"power":26245,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4037688149916416000}} 
[2026-07-07 17:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":124626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:32:35] local.INFO: GPS data processed {"connection_id":124626,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:32:35] local.INFO: Acknowledgment sent {"connection_id":124626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:32:58] local.INFO: TCP Data received {"connection_id":124709,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:32:58] local.INFO: Processing buffer {"connection_id":124709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:32:58] local.INFO: IMEI packet received {"connection_id":124709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":124709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:33:03] local.INFO: TCP Data received {"connection_id":125429,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c742b10012d7e438005e04170000500a528..."} 
[2026-07-07 17:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c742b10012d7e438005e04170000500a528..."} 
[2026-07-07 17:33:03] local.INFO: Processing buffer {"connection_id":125429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c742b10012d7e438005e04170000500a528..."} 
[2026-07-07 17:33:03] local.INFO: Packet analysis {"connection_id":125429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c74"} 
[2026-07-07 17:33:03] local.INFO: Extracted packet for processing {"connection_id":125429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c74"} 
[2026-07-07 17:33:03] local.INFO: GPS Element Parsed {"raw_longitude":763249536,"raw_latitude":98582896,"longitude_deg":76.3249536,"latitude_deg":9.8582896,"altitude":5,"angle":165,"satellites":40,"speed":47,"hex_longitude":"2d7e4380","hex_latitude":"05e04170","is_valid_coordinates":true} 
[2026-07-07 17:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556970496001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103408553196257280,"note":"Value kept but may cause issues"} 
[2026-07-07 17:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428807067648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783425674000,"timestamp_ms":1783425674000,"timestamp_seconds":1783425674,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c742b10"} 
[2026-07-07 17:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 17:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:33: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-07-07 17:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556970496001,"66":13124,"60":206,"85":15104,"24":47,"16":103408553196257280,"45":9096919428807067648},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-07 17:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556970496001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:33:03] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-07 17:33:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103408553196257280,"km_value":103408553196257.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428807067648,"description":"Unknown IO ID 45"} 
[2026-07-07 17:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556970496001,"power":13124,"unknown_60":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9096919428807067648}} 
[2026-07-07 17:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":125429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:33:03] local.INFO: GPS data processed {"connection_id":125429,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:33:03] local.INFO: Acknowledgment sent {"connection_id":125429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:33:03] local.INFO: TCP Data received {"connection_id":124709,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:33:03] local.INFO: Processing buffer {"connection_id":124709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:33:03] local.INFO: IMEI packet received {"connection_id":124709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":124709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:33:04] local.INFO: TCP Data received {"connection_id":124709,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:33:04] local.INFO: Processing buffer {"connection_id":124709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:33:04] local.INFO: Packet analysis {"connection_id":124709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:33:04] local.INFO: Extracted packet for processing {"connection_id":124709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:33:04] local.INFO: GPS Element Parsed {"raw_longitude":768067520,"raw_latitude":86921120,"longitude_deg":76.806752,"latitude_deg":8.692112,"altitude":22,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2dc7c7c0","hex_latitude":"052e4fa0","is_valid_coordinates":true} 
[2026-07-07 17:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556847360001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4037688149916416000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425491000,"timestamp_ms":1783425491000,"timestamp_seconds":1783425491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c716038"} 
[2026-07-07 17:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 17:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556847360001,"66":26245,"149":206,"80":35072,"24":0,"16":341699819883986944,"45":-4037688149916416000},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556847360001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:33:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:33:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4037688149916416000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556847360001,"power":26245,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4037688149916416000}} 
[2026-07-07 17:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":124709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:33:04] local.INFO: GPS data processed {"connection_id":124709,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:33:04] local.INFO: Acknowledgment sent {"connection_id":124709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:33:31] local.INFO: TCP Data received {"connection_id":124628,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:33:31] local.INFO: Processing buffer {"connection_id":124628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:33:31] local.INFO: IMEI packet received {"connection_id":124628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":124628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:33:32] local.INFO: TCP Data received {"connection_id":124628,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:33:32] local.INFO: Processing buffer {"connection_id":124628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:33:32] local.INFO: IMEI packet received {"connection_id":124628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":124628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:33:33] local.INFO: TCP Data received {"connection_id":124628,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c75d4d8012d7eccc005dee450000800a826..."} 
[2026-07-07 17:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c75d4d8012d7eccc005dee450000800a826..."} 
[2026-07-07 17:33:33] local.INFO: Processing buffer {"connection_id":124628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c75d4d8012d7eccc005dee450000800a826..."} 
[2026-07-07 17:33:33] local.INFO: Packet analysis {"connection_id":124628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c75"} 
[2026-07-07 17:33:33] local.INFO: Extracted packet for processing {"connection_id":124628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c75"} 
[2026-07-07 17:33:33] local.INFO: GPS Element Parsed {"raw_longitude":763284672,"raw_latitude":98493520,"longitude_deg":76.3284672,"latitude_deg":9.849352,"altitude":8,"angle":168,"satellites":38,"speed":44,"hex_longitude":"2d7eccc0","hex_latitude":"05dee450","is_valid_coordinates":true} 
[2026-07-07 17:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556999936001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103413247595511808,"note":"Value kept but may cause issues"} 
[2026-07-07 17:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136255556777715712,"note":"Value kept but may cause issues"} 
[2026-07-07 17:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783425783000,"timestamp_ms":1783425783000,"timestamp_seconds":1783425783,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c75d4d8"} 
[2026-07-07 17:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 17:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556999936001,"66":12906,"207":206,"85":15104,"24":44,"16":103413247595511808,"45":9136255556777715712},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-07 17:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556999936001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:33:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 17:33:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103413247595511808,"km_value":103413247595511.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136255556777715712,"description":"Unknown IO ID 45"} 
[2026-07-07 17:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556999936001,"power":12906,"unknown_207":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9136255556777715712}} 
[2026-07-07 17:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":124628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:33:33] local.INFO: GPS data processed {"connection_id":124628,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:33:33] local.INFO: Acknowledgment sent {"connection_id":124628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:33:35] local.INFO: TCP Data received {"connection_id":124709,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:33:35] local.INFO: Processing buffer {"connection_id":124709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c716038012dc7c7c0052e4fa0001600fa2c..."} 
[2026-07-07 17:33:35] local.INFO: Packet analysis {"connection_id":124709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:33:35] local.INFO: Extracted packet for processing {"connection_id":124709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:33:35] local.INFO: GPS Element Parsed {"raw_longitude":768067520,"raw_latitude":86921120,"longitude_deg":76.806752,"latitude_deg":8.692112,"altitude":22,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2dc7c7c0","hex_latitude":"052e4fa0","is_valid_coordinates":true} 
[2026-07-07 17:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556847360001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4037688149916416000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783425491000,"timestamp_ms":1783425491000,"timestamp_seconds":1783425491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c716038"} 
[2026-07-07 17:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 17:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556847360001,"66":26245,"149":206,"80":35072,"24":0,"16":341699819883986944,"45":-4037688149916416000},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556847360001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:33:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:33:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4037688149916416000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556847360001,"power":26245,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4037688149916416000}} 
[2026-07-07 17:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":124709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:33:35] local.INFO: GPS data processed {"connection_id":124709,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:33:35] local.INFO: Acknowledgment sent {"connection_id":124709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:33:36] local.INFO: TCP Data received {"connection_id":124628,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c75f418012d7ed10005dec030000600b429..."} 
[2026-07-07 17:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c75f418012d7ed10005dec030000600b429..."} 
[2026-07-07 17:33:36] local.INFO: Processing buffer {"connection_id":124628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c75f418012d7ed10005dec030000600b429..."} 
[2026-07-07 17:33:36] local.INFO: Packet analysis {"connection_id":124628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c75"} 
[2026-07-07 17:33:36] local.INFO: Extracted packet for processing {"connection_id":124628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c75"} 
[2026-07-07 17:33:36] local.INFO: GPS Element Parsed {"raw_longitude":763285760,"raw_latitude":98484272,"longitude_deg":76.328576,"latitude_deg":9.8484272,"altitude":6,"angle":180,"satellites":41,"speed":49,"hex_longitude":"2d7ed100","hex_latitude":"05dec030","is_valid_coordinates":true} 
[2026-07-07 17:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557000448001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103413698567077888,"note":"Value kept but may cause issues"} 
[2026-07-07 17:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136888875474767872,"note":"Value kept but may cause issues"} 
[2026-07-07 17:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783425791000,"timestamp_ms":1783425791000,"timestamp_seconds":1783425791,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c75f418"} 
[2026-07-07 17:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-07 17:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:33: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-07-07 17:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557000448001,"66":13341,"206":206,"85":15104,"24":49,"16":103413698567077888,"45":9136888875474767872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-07-07 17:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557000448001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:33:36] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-07 17:33:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103413698567077888,"km_value":103413698567077.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136888875474767872,"description":"Unknown IO ID 45"} 
[2026-07-07 17:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557000448001,"power":13341,"unknown_206":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9136888875474767872}} 
[2026-07-07 17:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":124628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:33:37] local.INFO: GPS data processed {"connection_id":124628,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:33:37] local.INFO: Acknowledgment sent {"connection_id":124628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:33:58] local.INFO: TCP Data received {"connection_id":126687,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:33:58] local.INFO: Processing buffer {"connection_id":126687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:33:58] local.INFO: IMEI packet received {"connection_id":126687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":126687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:33:58] local.INFO: TCP Data received {"connection_id":125430,"ip":"117.224.115.75","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:33:58] local.INFO: Processing buffer {"connection_id":125430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:33:58] local.INFO: IMEI packet received {"connection_id":125430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":125430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:34:03] local.INFO: TCP Data received {"connection_id":126687,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:34:03] local.INFO: Processing buffer {"connection_id":126687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:34:03] local.INFO: IMEI packet received {"connection_id":126687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":126687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:34:04] local.INFO: TCP Data received {"connection_id":125430,"ip":"117.224.115.75","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:34:04] local.INFO: Processing buffer {"connection_id":125430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:34:04] local.INFO: IMEI packet received {"connection_id":125430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":125430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:34:04] local.INFO: TCP Data received {"connection_id":126687,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c75f800012dc7c7c0052e4fa0001600fa2e..."} 
[2026-07-07 17:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c75f800012dc7c7c0052e4fa0001600fa2e..."} 
[2026-07-07 17:34:04] local.INFO: Processing buffer {"connection_id":126687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c75f800012dc7c7c0052e4fa0001600fa2e..."} 
[2026-07-07 17:34:04] local.INFO: Packet analysis {"connection_id":126687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c75"} 
[2026-07-07 17:34:04] local.INFO: Extracted packet for processing {"connection_id":126687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c75"} 
[2026-07-07 17:34:04] local.INFO: GPS Element Parsed {"raw_longitude":768067520,"raw_latitude":86921120,"longitude_deg":76.806752,"latitude_deg":8.692112,"altitude":22,"angle":250,"satellites":46,"speed":0,"hex_longitude":"2dc7c7c0","hex_latitude":"052e4fa0","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556925696001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4051058211312132096,"note":"Value kept but may cause issues"} 
[2026-07-07 17:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425792000,"timestamp_ms":1783425792000,"timestamp_seconds":1783425792,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c75f800"} 
[2026-07-07 17:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 17:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556925696001,"66":26006,"149":206,"80":35072,"24":0,"16":341699819883986944,"45":-4051058211312132096},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556925696001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:34:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:34:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4051058211312132096,"description":"Unknown IO ID 45"} 
[2026-07-07 17:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556925696001,"power":26006,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4051058211312132096}} 
[2026-07-07 17:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":126687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:34:04] local.INFO: GPS data processed {"connection_id":126687,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:34:04] local.INFO: Acknowledgment sent {"connection_id":126687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:34:06] local.INFO: TCP Data received {"connection_id":125430,"ip":"117.224.115.75","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c719eb8012d17f040072175f0004500cc27..."} 
[2026-07-07 17:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c719eb8012d17f040072175f0004500cc27..."} 
[2026-07-07 17:34:06] local.INFO: Processing buffer {"connection_id":125430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c719eb8012d17f040072175f0004500cc27..."} 
[2026-07-07 17:34:06] local.INFO: Packet analysis {"connection_id":125430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:34:06] local.INFO: Extracted packet for processing {"connection_id":125430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756543552,"raw_latitude":119633392,"longitude_deg":75.6543552,"latitude_deg":11.9633392,"altitude":69,"angle":204,"satellites":39,"speed":13,"hex_longitude":"2d17f040","hex_latitude":"072175f0","is_valid_coordinates":true} 
[2026-07-07 17:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556929792001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724949056653225984,"note":"Value kept but may cause issues"} 
[2026-07-07 17:34:06] 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-07-07 17:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783425507000,"timestamp_ms":1783425507000,"timestamp_seconds":1783425507,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c719eb8"} 
[2026-07-07 17:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.115.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556929792001,"66":13048,"122":206,"28":31744,"24":13,"16":4725623666769920,"45":1724949056653225984},"client_ip":"117.224.115.75","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556929792001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:34:06] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:34:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724949056653225984,"description":"Unknown IO ID 45"} 
[2026-07-07 17:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556929792001,"power":13048,"unknown_122":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1724949056653225984}} 
[2026-07-07 17:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":125430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:34:06] local.INFO: GPS data processed {"connection_id":125430,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:34:06] local.INFO: Acknowledgment sent {"connection_id":125430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:34:26] local.INFO: TCP Data received {"connection_id":125431,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:34:26] local.INFO: Processing buffer {"connection_id":125431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:34:26] local.INFO: IMEI packet received {"connection_id":125431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":125431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:34:31] local.INFO: TCP Data received {"connection_id":125431,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:34:31] local.INFO: Processing buffer {"connection_id":125431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:34:31] local.INFO: IMEI packet received {"connection_id":125431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":125431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:34:32] local.INFO: TCP Data received {"connection_id":125431,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c75ffd0012d7ed24005deb198000500a826..."} 
[2026-07-07 17:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c75ffd0012d7ed24005deb198000500a826..."} 
[2026-07-07 17:34:32] local.INFO: Processing buffer {"connection_id":125431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c75ffd0012d7ed24005deb198000500a826..."} 
[2026-07-07 17:34:32] local.INFO: Packet analysis {"connection_id":125431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c75"} 
[2026-07-07 17:34:32] local.INFO: Extracted packet for processing {"connection_id":125431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c75"} 
[2026-07-07 17:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763286080,"raw_latitude":98480536,"longitude_deg":76.328608,"latitude_deg":9.8480536,"altitude":5,"angle":168,"satellites":38,"speed":49,"hex_longitude":"2d7ed240","hex_latitude":"05deb198","is_valid_coordinates":true} 
[2026-07-07 17:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557002496001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103413883250671616,"note":"Value kept but may cause issues"} 
[2026-07-07 17:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138085144123420672,"note":"Value kept but may cause issues"} 
[2026-07-07 17:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783425794000,"timestamp_ms":1783425794000,"timestamp_seconds":1783425794,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c75ffd0"} 
[2026-07-07 17:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-07 17:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557002496001,"66":13363,"206":206,"85":15104,"24":49,"16":103413883250671616,"45":9138085144123420672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-07-07 17:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557002496001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:34:32] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-07 17:34:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103413883250671616,"km_value":103413883250671.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138085144123420672,"description":"Unknown IO ID 45"} 
[2026-07-07 17:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557002496001,"power":13363,"unknown_206":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9138085144123420672}} 
[2026-07-07 17:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":125431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:34:32] local.INFO: GPS data processed {"connection_id":125431,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:34:32] local.INFO: Acknowledgment sent {"connection_id":125431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:34:37] local.INFO: TCP Data received {"connection_id":125430,"ip":"117.224.115.75","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c719eb8012d17f040072175f0004500cc27..."} 
[2026-07-07 17:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c719eb8012d17f040072175f0004500cc27..."} 
[2026-07-07 17:34:37] local.INFO: Processing buffer {"connection_id":125430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c719eb8012d17f040072175f0004500cc27..."} 
[2026-07-07 17:34:37] local.INFO: Packet analysis {"connection_id":125430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:34:37] local.INFO: Extracted packet for processing {"connection_id":125430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756543552,"raw_latitude":119633392,"longitude_deg":75.6543552,"latitude_deg":11.9633392,"altitude":69,"angle":204,"satellites":39,"speed":13,"hex_longitude":"2d17f040","hex_latitude":"072175f0","is_valid_coordinates":true} 
[2026-07-07 17:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556929792001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724949056653225984,"note":"Value kept but may cause issues"} 
[2026-07-07 17:34: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-07-07 17:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783425507000,"timestamp_ms":1783425507000,"timestamp_seconds":1783425507,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c719eb8"} 
[2026-07-07 17:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.115.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556929792001,"66":13048,"122":206,"28":31744,"24":13,"16":4725623666769920,"45":1724949056653225984},"client_ip":"117.224.115.75","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556929792001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:34:37] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:34:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724949056653225984,"description":"Unknown IO ID 45"} 
[2026-07-07 17:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556929792001,"power":13048,"unknown_122":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1724949056653225984}} 
[2026-07-07 17:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":125430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:34:37] local.INFO: GPS data processed {"connection_id":125430,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:34:37] local.INFO: Acknowledgment sent {"connection_id":125430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:34:38] local.INFO: TCP Data received {"connection_id":126687,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c75f800012dc7c7c0052e4fa0001600fa2e..."} 
[2026-07-07 17:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c75f800012dc7c7c0052e4fa0001600fa2e..."} 
[2026-07-07 17:34:38] local.INFO: Processing buffer {"connection_id":126687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c75f800012dc7c7c0052e4fa0001600fa2e..."} 
[2026-07-07 17:34:38] local.INFO: Packet analysis {"connection_id":126687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c75"} 
[2026-07-07 17:34:38] local.INFO: Extracted packet for processing {"connection_id":126687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c75"} 
[2026-07-07 17:34:38] local.INFO: GPS Element Parsed {"raw_longitude":768067520,"raw_latitude":86921120,"longitude_deg":76.806752,"latitude_deg":8.692112,"altitude":22,"angle":250,"satellites":46,"speed":0,"hex_longitude":"2dc7c7c0","hex_latitude":"052e4fa0","is_valid_coordinates":true} 
[2026-07-07 17:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556925696001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4051058211312132096,"note":"Value kept but may cause issues"} 
[2026-07-07 17:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783425792000,"timestamp_ms":1783425792000,"timestamp_seconds":1783425792,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c75f800"} 
[2026-07-07 17:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 17:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556925696001,"66":26006,"149":206,"80":35072,"24":0,"16":341699819883986944,"45":-4051058211312132096},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556925696001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:34:38] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:34:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4051058211312132096,"description":"Unknown IO ID 45"} 
[2026-07-07 17:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556925696001,"power":26006,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4051058211312132096}} 
[2026-07-07 17:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":126687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:34:38] local.INFO: GPS data processed {"connection_id":126687,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:34:38] local.INFO: Acknowledgment sent {"connection_id":126687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:34:41] local.INFO: TCP Data received {"connection_id":124628,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c75f418012d7ed10005dec030000600b429..."} 
[2026-07-07 17:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c75f418012d7ed10005dec030000600b429..."} 
[2026-07-07 17:34:41] local.INFO: Processing buffer {"connection_id":124628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c75f418012d7ed10005dec030000600b429..."} 
[2026-07-07 17:34:41] local.INFO: Packet analysis {"connection_id":124628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c75"} 
[2026-07-07 17:34:41] local.INFO: Extracted packet for processing {"connection_id":124628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c75"} 
[2026-07-07 17:34:41] local.INFO: GPS Element Parsed {"raw_longitude":763285760,"raw_latitude":98484272,"longitude_deg":76.328576,"latitude_deg":9.8484272,"altitude":6,"angle":180,"satellites":41,"speed":49,"hex_longitude":"2d7ed100","hex_latitude":"05dec030","is_valid_coordinates":true} 
[2026-07-07 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-07-07 17:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557002496001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103413698567077888,"note":"Value kept but may cause issues"} 
[2026-07-07 17:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138085144123420672,"note":"Value kept but may cause issues"} 
[2026-07-07 17:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783425791000,"timestamp_ms":1783425791000,"timestamp_seconds":1783425791,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c75f418"} 
[2026-07-07 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-07-07 17:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-07 17:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 17:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:34: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-07-07 17:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557002496001,"66":13341,"206":206,"85":15104,"24":49,"16":103413698567077888,"45":9138085144123420672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-07-07 17:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557002496001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:34:41] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-07 17:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103413698567077888,"km_value":103413698567077.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138085144123420672,"description":"Unknown IO ID 45"} 
[2026-07-07 17:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557002496001,"power":13341,"unknown_206":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9138085144123420672}} 
[2026-07-07 17:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":124628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:34:41] local.INFO: GPS data processed {"connection_id":124628,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:34:41] local.INFO: Acknowledgment sent {"connection_id":124628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:34:58] local.INFO: TCP Data received {"connection_id":125432,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:34:58] local.INFO: Processing buffer {"connection_id":125432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:34:58] local.INFO: IMEI packet received {"connection_id":125432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":125432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:35:03] local.INFO: TCP Data received {"connection_id":125432,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:35:03] local.INFO: Processing buffer {"connection_id":125432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:35:03] local.INFO: IMEI packet received {"connection_id":125432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":125432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:35:04] local.INFO: TCP Data received {"connection_id":125431,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c777ab8012d7f3d8005dd8f70000300b823..."} 
[2026-07-07 17:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c777ab8012d7f3d8005dd8f70000300b823..."} 
[2026-07-07 17:35:04] local.INFO: Processing buffer {"connection_id":125431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c777ab8012d7f3d8005dd8f70000300b823..."} 
[2026-07-07 17:35:04] local.INFO: Packet analysis {"connection_id":125431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:35:04] local.INFO: Extracted packet for processing {"connection_id":125431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:35:04] local.INFO: GPS Element Parsed {"raw_longitude":763313536,"raw_latitude":98406256,"longitude_deg":76.3313536,"latitude_deg":9.8406256,"altitude":3,"angle":184,"satellites":35,"speed":48,"hex_longitude":"2d7f3d80","hex_latitude":"05dd8f70","is_valid_coordinates":true} 
[2026-07-07 17:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557027328001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103417753016205312,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168554810333315072,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425891000,"timestamp_ms":1783425891000,"timestamp_seconds":1783425891,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c777ab8"} 
[2026-07-07 17:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:35: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-07-07 17:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-07 17:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557027328001,"66":13319,"205":206,"85":15104,"24":48,"16":103417753016205312,"45":9168554810333315072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-07 17:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557027328001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:35:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103417753016205312,"km_value":103417753016205.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168554810333315072,"description":"Unknown IO ID 45"} 
[2026-07-07 17:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557027328001,"power":13319,"cell_id":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9168554810333315072}} 
[2026-07-07 17:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":125431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:35:04] local.INFO: GPS data processed {"connection_id":125431,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:35:04] local.INFO: Acknowledgment sent {"connection_id":125431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:35:04] local.INFO: TCP Data received {"connection_id":125432,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c75f800012dc7c7c0052e4fa0001600fa2e..."} 
[2026-07-07 17:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c75f800012dc7c7c0052e4fa0001600fa2e..."} 
[2026-07-07 17:35:04] local.INFO: Processing buffer {"connection_id":125432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c75f800012dc7c7c0052e4fa0001600fa2e..."} 
[2026-07-07 17:35:04] local.INFO: Packet analysis {"connection_id":125432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c75"} 
[2026-07-07 17:35:04] local.INFO: Extracted packet for processing {"connection_id":125432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c75"} 
[2026-07-07 17:35:04] local.INFO: GPS Element Parsed {"raw_longitude":768067520,"raw_latitude":86921120,"longitude_deg":76.806752,"latitude_deg":8.692112,"altitude":22,"angle":250,"satellites":46,"speed":0,"hex_longitude":"2dc7c7c0","hex_latitude":"052e4fa0","is_valid_coordinates":true} 
[2026-07-07 17:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556925696001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4051058211312132096,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425792000,"timestamp_ms":1783425792000,"timestamp_seconds":1783425792,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c75f800"} 
[2026-07-07 17:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 17:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556925696001,"66":26006,"149":206,"80":35072,"24":0,"16":341699819883986944,"45":-4051058211312132096},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556925696001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:35:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:35:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4051058211312132096,"description":"Unknown IO ID 45"} 
[2026-07-07 17:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556925696001,"power":26006,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4051058211312132096}} 
[2026-07-07 17:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":125432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:35:04] local.INFO: GPS data processed {"connection_id":125432,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:35:04] local.INFO: Acknowledgment sent {"connection_id":125432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:35:09] local.INFO: TCP Data received {"connection_id":125430,"ip":"117.224.115.75","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c719eb8012d17f040072175f0004500cc27..."} 
[2026-07-07 17:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c719eb8012d17f040072175f0004500cc27..."} 
[2026-07-07 17:35:09] local.INFO: Processing buffer {"connection_id":125430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c719eb8012d17f040072175f0004500cc27..."} 
[2026-07-07 17:35:09] local.INFO: Packet analysis {"connection_id":125430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:35:09] local.INFO: Extracted packet for processing {"connection_id":125430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:35:09] local.INFO: GPS Element Parsed {"raw_longitude":756543552,"raw_latitude":119633392,"longitude_deg":75.6543552,"latitude_deg":11.9633392,"altitude":69,"angle":204,"satellites":39,"speed":13,"hex_longitude":"2d17f040","hex_latitude":"072175f0","is_valid_coordinates":true} 
[2026-07-07 17:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556929792001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724949056653225984,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35: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-07-07 17:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783425507000,"timestamp_ms":1783425507000,"timestamp_seconds":1783425507,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c719eb8"} 
[2026-07-07 17:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:35: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-07-07 17:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.115.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556929792001,"66":13048,"122":206,"28":31744,"24":13,"16":4725623666769920,"45":1724949056653225984},"client_ip":"117.224.115.75","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556929792001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:35:09] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:35:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724949056653225984,"description":"Unknown IO ID 45"} 
[2026-07-07 17:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556929792001,"power":13048,"unknown_122":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1724949056653225984}} 
[2026-07-07 17:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":125430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:35:09] local.INFO: GPS data processed {"connection_id":125430,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:35:09] local.INFO: Acknowledgment sent {"connection_id":125430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:35:26] local.INFO: TCP Data received {"connection_id":124712,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:35:26] local.INFO: Processing buffer {"connection_id":124712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:35:26] local.INFO: IMEI packet received {"connection_id":124712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":124712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:35:29] local.INFO: TCP Data received {"connection_id":124711,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:35:29] local.INFO: Processing buffer {"connection_id":124711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:35:29] local.INFO: IMEI packet received {"connection_id":124711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 17:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":124711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:35:33] local.INFO: TCP Data received {"connection_id":124712,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 17:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124712,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 17:35:33] local.INFO: Processing buffer {"connection_id":124712,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 17:35:33] local.INFO: IMEI packet received {"connection_id":124712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":124712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:35:34] local.INFO: TCP Data received {"connection_id":124712,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c778a58012d7f3dc005dd7d38000300ad24..."} 
[2026-07-07 17:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c778a58012d7f3dc005dd7d38000300ad24..."} 
[2026-07-07 17:35:34] local.INFO: Processing buffer {"connection_id":124712,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f3c..."} 
[2026-07-07 17:35:34] local.INFO: IMEI packet received {"connection_id":124712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":124712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:35:34] local.INFO: TCP Data received {"connection_id":124712,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c779610012d7f404005dd71e8000200a123..."} 
[2026-07-07 17:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c779610012d7f404005dd71e8000200a123..."} 
[2026-07-07 17:35:34] local.INFO: Processing buffer {"connection_id":124712,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3c778a58012d7f3dc005dd7d38000300ad24..."} 
[2026-07-07 17:35:34] local.INFO: Packet analysis {"connection_id":124712,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:35:34] local.INFO: Extracted packet for processing {"connection_id":124712,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:35:34] local.INFO: GPS Element Parsed {"raw_longitude":763313600,"raw_latitude":98401592,"longitude_deg":76.33136,"latitude_deg":9.8401592,"altitude":3,"angle":173,"satellites":36,"speed":44,"hex_longitude":"2d7f3dc0","hex_latitude":"05dd7d38","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557028096001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103417980649472000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168625179076554752,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783425895000,"timestamp_ms":1783425895000,"timestamp_seconds":1783425895,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c778a58"} 
[2026-07-07 17:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 17:35:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:34] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3857186821,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:34] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070502,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57885769637713211,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:34] local.WARNING: Large IO value detected {"io_id":118,"raw_value":-5230929672273985531,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:34] local.WARNING: Large IO value detected {"io_id":222,"raw_value":162129608070539264,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:34] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,205,85,24,241,157,16,105,159,111,45,64,4,35,10,66,91,181,38,75,1,240,227,60,221,113,18,40,239,51,2,5,8,7,118,222],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[]} 
[2026-07-07 17:35:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216375242580295680,"timestamp_seconds":216375242580295.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 17:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:35: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-07-07 17:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557028096001,"66":13189,"205":206,"85":15104,"24":44,"16":103417980649472000,"45":9168625179076554752},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-07 17:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557028096001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:35:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103417980649472000,"km_value":103417980649472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168625179076554752,"description":"Unknown IO ID 45"} 
[2026-07-07 17:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557028096001,"power":13189,"cell_id":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9168625179076554752}} 
[2026-07-07 17:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":124712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:35:34] local.INFO: GPS data processed {"connection_id":124712,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:35:34] local.INFO: Acknowledgment sent {"connection_id":124712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:35:34] local.INFO: Packet analysis {"connection_id":124712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:35:34] local.INFO: Extracted packet for processing {"connection_id":124712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:35:34] local.INFO: GPS Element Parsed {"raw_longitude":763314240,"raw_latitude":98398696,"longitude_deg":76.331424,"latitude_deg":9.8398696,"altitude":2,"angle":161,"satellites":35,"speed":35,"hex_longitude":"2d7f4040","hex_latitude":"05dd71e8","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557029120001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103418122383392768,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168695547819538432,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783425898000,"timestamp_ms":1783425898000,"timestamp_seconds":1783425898,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c779610"} 
[2026-07-07 17:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 17:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:35: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-07-07 17:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557029120001,"66":13102,"205":206,"85":15104,"24":35,"16":103418122383392768,"45":9168695547819538432},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-07 17:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557029120001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:35:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103418122383392768,"km_value":103418122383392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168695547819538432,"description":"Unknown IO ID 45"} 
[2026-07-07 17:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557029120001,"power":13102,"cell_id":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9168695547819538432}} 
[2026-07-07 17:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":124712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:35:34] local.INFO: GPS data processed {"connection_id":124712,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:35:34] local.INFO: Acknowledgment sent {"connection_id":124712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:35:35] local.INFO: TCP Data received {"connection_id":125432,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c773080012dc7c7c0052e4fa0001600fa2d..."} 
[2026-07-07 17:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c773080012dc7c7c0052e4fa0001600fa2d..."} 
[2026-07-07 17:35:35] local.INFO: Processing buffer {"connection_id":125432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c773080012dc7c7c0052e4fa0001600fa2d..."} 
[2026-07-07 17:35:35] local.INFO: Packet analysis {"connection_id":125432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:35:35] local.INFO: Extracted packet for processing {"connection_id":125432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:35:35] local.INFO: GPS Element Parsed {"raw_longitude":768067520,"raw_latitude":86921120,"longitude_deg":76.806752,"latitude_deg":8.692112,"altitude":22,"angle":250,"satellites":45,"speed":0,"hex_longitude":"2dc7c7c0","hex_latitude":"052e4fa0","is_valid_coordinates":true} 
[2026-07-07 17:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557002752001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4051058211312132096,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783425872000,"timestamp_ms":1783425872000,"timestamp_seconds":1783425872,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c773080"} 
[2026-07-07 17:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-07 17:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557002752001,"66":25919,"149":206,"80":35072,"24":0,"16":341699819883986944,"45":-4051058211312132096},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557002752001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:35:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:35:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4051058211312132096,"description":"Unknown IO ID 45"} 
[2026-07-07 17:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557002752001,"power":25919,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4051058211312132096}} 
[2026-07-07 17:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":125432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:35:35] local.INFO: GPS data processed {"connection_id":125432,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:35:35] local.INFO: Acknowledgment sent {"connection_id":125432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:35:37] local.INFO: TCP Data received {"connection_id":124712,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c77c108012d7f478005dd4f18000100aa22..."} 
[2026-07-07 17:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c77c108012d7f478005dd4f18000100aa22..."} 
[2026-07-07 17:35:37] local.INFO: Processing buffer {"connection_id":124712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c77c108012d7f478005dd4f18000100aa22..."} 
[2026-07-07 17:35:37] local.INFO: Packet analysis {"connection_id":124712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:35:37] local.INFO: Extracted packet for processing {"connection_id":124712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763316096,"raw_latitude":98389784,"longitude_deg":76.3316096,"latitude_deg":9.8389784,"altitude":1,"angle":170,"satellites":34,"speed":37,"hex_longitude":"2d7f4780","hex_latitude":"05dd4f18","is_valid_coordinates":true} 
[2026-07-07 17:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557029888001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103418564765024256,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9169399235260573696,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783425909000,"timestamp_ms":1783425909000,"timestamp_seconds":1783425909,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c77c108"} 
[2026-07-07 17:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17: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-07-07 17:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 17:35: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-07-07 17:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17: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-07-07 17:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557029888001,"66":13428,"205":206,"85":15104,"24":37,"16":103418564765024256,"45":9169399235260573696},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-07 17:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557029888001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103418564765024256,"km_value":103418564765024.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9169399235260573696,"description":"Unknown IO ID 45"} 
[2026-07-07 17:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557029888001,"power":13428,"cell_id":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9169399235260573696}} 
[2026-07-07 17:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":124712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:35:37] local.INFO: GPS data processed {"connection_id":124712,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:35:37] local.INFO: Acknowledgment sent {"connection_id":124712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:35:41] local.INFO: TCP Data received {"connection_id":125430,"ip":"117.224.115.75","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:35:41] local.INFO: Processing buffer {"connection_id":125430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:35:41] local.INFO: Packet analysis {"connection_id":125430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:35:41] local.INFO: Extracted packet for processing {"connection_id":125430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:35:41] local.INFO: GPS Element Parsed {"raw_longitude":756543296,"raw_latitude":119632744,"longitude_deg":75.6543296,"latitude_deg":11.9632744,"altitude":70,"angle":225,"satellites":40,"speed":6,"hex_longitude":"2d17ef40","hex_latitude":"07217368","is_valid_coordinates":true} 
[2026-07-07 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-07-07 17:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556929792001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724949056653225984,"note":"Value kept but may cause issues"} 
[2026-07-07 17:35:41] 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-07-07 17:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783425510000,"timestamp_ms":1783425510000,"timestamp_seconds":1783425510,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c71aa70"} 
[2026-07-07 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-07-07 17:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 17:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.115.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556929792001,"66":2481,"122":206,"28":31744,"24":6,"16":4725623666769920,"45":1724949056653225984},"client_ip":"117.224.115.75","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556929792001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:35:41] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:35:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724949056653225984,"description":"Unknown IO ID 45"} 
[2026-07-07 17:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556929792001,"power":2481,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1724949056653225984}} 
[2026-07-07 17:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":125430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:35:41] local.INFO: GPS data processed {"connection_id":125430,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:35:41] local.INFO: Acknowledgment sent {"connection_id":125430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:35:58] local.INFO: TCP Data received {"connection_id":124713,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:35:58] local.INFO: Processing buffer {"connection_id":124713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:35:58] local.INFO: IMEI packet received {"connection_id":124713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":124713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:35:58] local.INFO: TCP Data received {"connection_id":124713,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:35:58] local.INFO: Processing buffer {"connection_id":124713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:35:58] local.INFO: IMEI packet received {"connection_id":124713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":124713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:36:01] local.INFO: TCP Data received {"connection_id":124713,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:36:01] local.INFO: Processing buffer {"connection_id":124713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:36:01] local.INFO: IMEI packet received {"connection_id":124713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":124713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:36:03] local.INFO: TCP Data received {"connection_id":124713,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:36:03] local.INFO: Processing buffer {"connection_id":124713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:36:03] local.INFO: IMEI packet received {"connection_id":124713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":124713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:36:03] local.INFO: TCP Data received {"connection_id":125433,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:36:03] local.INFO: Processing buffer {"connection_id":125433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:36:03] local.INFO: IMEI packet received {"connection_id":125433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 17:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":125433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:36:04] local.INFO: TCP Data received {"connection_id":124713,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c774020012dc7c0c0052e4948001600cf2e..."} 
[2026-07-07 17:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c774020012dc7c0c0052e4948001600cf2e..."} 
[2026-07-07 17:36:04] local.INFO: Processing buffer {"connection_id":124713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c774020012dc7c0c0052e4948001600cf2e..."} 
[2026-07-07 17:36:04] local.INFO: Packet analysis {"connection_id":124713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:36:04] local.INFO: Extracted packet for processing {"connection_id":124713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:36:04] local.INFO: GPS Element Parsed {"raw_longitude":768065728,"raw_latitude":86919496,"longitude_deg":76.8065728,"latitude_deg":8.6919496,"altitude":22,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2dc7c0c0","hex_latitude":"052e4948","is_valid_coordinates":true} 
[2026-07-07 17:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557023232001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4051058211312132096,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425876000,"timestamp_ms":1783425876000,"timestamp_seconds":1783425876,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c774020"} 
[2026-07-07 17:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 17:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557023232001,"66":23277,"149":206,"80":35072,"24":0,"16":341699819883986944,"45":-4051058211312132096},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557023232001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:36:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:36:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4051058211312132096,"description":"Unknown IO ID 45"} 
[2026-07-07 17:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557023232001,"power":23277,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4051058211312132096}} 
[2026-07-07 17:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":124713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:36:04] local.INFO: GPS data processed {"connection_id":124713,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:36:04] local.INFO: Acknowledgment sent {"connection_id":124713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:36:08] local.INFO: TCP Data received {"connection_id":124712,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c77e818012d7f4fc005dd2b10000200a624..."} 
[2026-07-07 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c77e818012d7f4fc005dd2b10000200a624..."} 
[2026-07-07 17:36:08] local.INFO: Processing buffer {"connection_id":124712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c77e818012d7f4fc005dd2b10000200a624..."} 
[2026-07-07 17:36:08] local.INFO: Packet analysis {"connection_id":124712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:36:08] local.INFO: Extracted packet for processing {"connection_id":124712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763318208,"raw_latitude":98380560,"longitude_deg":76.3318208,"latitude_deg":9.838056,"altitude":2,"angle":166,"satellites":36,"speed":26,"hex_longitude":"2d7f4fc0","hex_latitude":"05dd2b10","is_valid_coordinates":true} 
[2026-07-07 17:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557032704001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103419024326524928,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171439928839444480,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783425919000,"timestamp_ms":1783425919000,"timestamp_seconds":1783425919,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c77e818"} 
[2026-07-07 17:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-07 17:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17: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-07-07 17:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557032704001,"66":13319,"205":206,"85":15104,"24":26,"16":103419024326524928,"45":9171439928839444480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-07 17:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557032704001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103419024326524928,"km_value":103419024326524.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171439928839444480,"description":"Unknown IO ID 45"} 
[2026-07-07 17:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557032704001,"power":13319,"cell_id":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9171439928839444480}} 
[2026-07-07 17:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":124712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:36:08] local.INFO: GPS data processed {"connection_id":124712,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:36:08] local.INFO: Acknowledgment sent {"connection_id":124712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:36:09] local.INFO: TCP Data received {"connection_id":125433,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:36:09] local.INFO: Processing buffer {"connection_id":125433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:36:09] local.INFO: IMEI packet received {"connection_id":125433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 17:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":125433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:36:09] local.INFO: TCP Data received {"connection_id":125433,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c5ad6b0012d7fa88005afd790001100582c..."} 
[2026-07-07 17:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c5ad6b0012d7fa88005afd790001100582c..."} 
[2026-07-07 17:36:09] local.INFO: Processing buffer {"connection_id":125433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c5ad6b0012d7fa88005afd790001100582c..."} 
[2026-07-07 17:36:09] local.INFO: Packet analysis {"connection_id":125433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c5a"} 
[2026-07-07 17:36:09] local.INFO: Extracted packet for processing {"connection_id":125433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c5a"} 
[2026-07-07 17:36:09] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95410064,"longitude_deg":76.3340928,"latitude_deg":9.5410064,"altitude":17,"angle":88,"satellites":44,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afd790","is_valid_coordinates":true} 
[2026-07-07 17:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556547072001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132039221803220992,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000817569792,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783424014000,"timestamp_ms":1783424014000,"timestamp_seconds":1783424014,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c5ad6b0"} 
[2026-07-07 17:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-07 17:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 17:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 17:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 17:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 17:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556547072001,"66":28452,"250":206,"85":12544,"24":0,"16":132039221803220992,"45":9198743000817569792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-07 17:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 17:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 17:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556547072001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:36:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-07 17:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-07 17:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132039221803220992,"km_value":132039221803220.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000817569792,"description":"Unknown IO ID 45"} 
[2026-07-07 17:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556547072001,"power":28452,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000817569792}} 
[2026-07-07 17:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":125433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446796,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:36:10] local.INFO: GPS data processed {"connection_id":125433,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:36:10] local.INFO: Acknowledgment sent {"connection_id":125433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:36:13] local.INFO: TCP Data received {"connection_id":125430,"ip":"117.224.115.75","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:36:13] local.INFO: Processing buffer {"connection_id":125430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:36:13] local.INFO: Packet analysis {"connection_id":125430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:36:13] local.INFO: Extracted packet for processing {"connection_id":125430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:36:13] local.INFO: GPS Element Parsed {"raw_longitude":756543296,"raw_latitude":119632744,"longitude_deg":75.6543296,"latitude_deg":11.9632744,"altitude":70,"angle":225,"satellites":40,"speed":6,"hex_longitude":"2d17ef40","hex_latitude":"07217368","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556929792001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724949056653225984,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:13] 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-07-07 17:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783425510000,"timestamp_ms":1783425510000,"timestamp_seconds":1783425510,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c71aa70"} 
[2026-07-07 17:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.115.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556929792001,"66":2481,"122":206,"28":31744,"24":6,"16":4725623666769920,"45":1724949056653225984},"client_ip":"117.224.115.75","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556929792001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:36:13] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:36:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724949056653225984,"description":"Unknown IO ID 45"} 
[2026-07-07 17:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556929792001,"power":2481,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1724949056653225984}} 
[2026-07-07 17:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":125430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:36:13] local.INFO: GPS data processed {"connection_id":125430,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:36:13] local.INFO: Acknowledgment sent {"connection_id":125430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:36:28] local.INFO: TCP Data received {"connection_id":124714,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:36:28] local.INFO: Processing buffer {"connection_id":124714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:36:28] local.INFO: IMEI packet received {"connection_id":124714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":124714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:36:33] local.INFO: TCP Data received {"connection_id":124629,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:36:33] local.INFO: Processing buffer {"connection_id":124629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:36:33] local.INFO: IMEI packet received {"connection_id":124629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":124629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:36:35] local.INFO: TCP Data received {"connection_id":124713,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c779228012dc7c0c0052e4948001600cf2f..."} 
[2026-07-07 17:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c779228012dc7c0c0052e4948001600cf2f..."} 
[2026-07-07 17:36:35] local.INFO: Processing buffer {"connection_id":124713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c779228012dc7c0c0052e4948001600cf2f..."} 
[2026-07-07 17:36:35] local.INFO: Packet analysis {"connection_id":124713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:36:35] local.INFO: Extracted packet for processing {"connection_id":124713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:36:35] local.INFO: GPS Element Parsed {"raw_longitude":768065728,"raw_latitude":86919496,"longitude_deg":76.8065728,"latitude_deg":8.6919496,"altitude":22,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2dc7c0c0","hex_latitude":"052e4948","is_valid_coordinates":true} 
[2026-07-07 17:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557024256001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053028536149522432,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783425897000,"timestamp_ms":1783425897000,"timestamp_seconds":1783425897,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c779228"} 
[2026-07-07 17:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17: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-07-07 17: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":90,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 17:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557024256001,"66":27821,"149":206,"80":35072,"24":0,"16":341699819883986944,"45":-4053028536149522432},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557024256001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:36:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:36:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053028536149522432,"description":"Unknown IO ID 45"} 
[2026-07-07 17:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557024256001,"power":27821,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4053028536149522432}} 
[2026-07-07 17:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":124713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:36:35] local.INFO: GPS data processed {"connection_id":124713,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:36:35] local.INFO: Acknowledgment sent {"connection_id":124713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:36:37] local.INFO: TCP Data received {"connection_id":124714,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:36:37] local.INFO: Processing buffer {"connection_id":124714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:36:37] local.INFO: IMEI packet received {"connection_id":124714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":124714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:36:38] local.INFO: TCP Data received {"connection_id":124714,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 17:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124714,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 17:36:38] local.INFO: Processing buffer {"connection_id":124714,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 17:36:38] local.INFO: IMEI packet received {"connection_id":124714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":124714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:36:38] local.INFO: TCP Data received {"connection_id":124714,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c78f1b8012d7fa14005dc7fc80005008325..."} 
[2026-07-07 17:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c78f1b8012d7fa14005dc7fc80005008325..."} 
[2026-07-07 17:36:38] local.INFO: Processing buffer {"connection_id":124714,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f3c..."} 
[2026-07-07 17:36:38] local.INFO: IMEI packet received {"connection_id":124714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":124714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:36:39] local.INFO: TCP Data received {"connection_id":124629,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:36:39] local.INFO: Processing buffer {"connection_id":124629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:36:39] local.INFO: IMEI packet received {"connection_id":124629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":124629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:36:40] local.INFO: TCP Data received {"connection_id":124714,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c78fd70012d7fa40005dc7e600006006f29..."} 
[2026-07-07 17:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c78fd70012d7fa40005dc7e600006006f29..."} 
[2026-07-07 17:36:40] local.INFO: Processing buffer {"connection_id":124714,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3c78f1b8012d7fa14005dc7fc80005008325..."} 
[2026-07-07 17:36:40] local.INFO: Packet analysis {"connection_id":124714,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3c78"} 
[2026-07-07 17:36:40] local.INFO: Extracted packet for processing {"connection_id":124714,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c78"} 
[2026-07-07 17:36:40] local.INFO: GPS Element Parsed {"raw_longitude":763339072,"raw_latitude":98336712,"longitude_deg":76.3339072,"latitude_deg":9.8336712,"altitude":5,"angle":131,"satellites":37,"speed":13,"hex_longitude":"2d7fa140","hex_latitude":"05dc7fc8","is_valid_coordinates":true} 
[2026-07-07 17:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557052160001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103421412328341504,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196068989288192000,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783425987000,"timestamp_ms":1783425987000,"timestamp_seconds":1783425987,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c78f1b8"} 
[2026-07-07 17:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17: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-07-07 17:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-07 17:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:36: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-07-07 17:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557052160001,"66":13254,"111":206,"85":15104,"24":13,"16":103421412328341504,"45":9196068989288192000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-07 17:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557052160001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:36:40] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-07 17:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103421412328341504,"km_value":103421412328341.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196068989288192000,"description":"Unknown IO ID 45"} 
[2026-07-07 17:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557052160001,"power":13254,"unknown_111":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9196068989288192000}} 
[2026-07-07 17:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":124714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446799,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:36:40] local.INFO: GPS data processed {"connection_id":124714,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:36:40] local.INFO: Acknowledgment sent {"connection_id":124714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:36:40] local.INFO: Packet analysis {"connection_id":124714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c78"} 
[2026-07-07 17:36:40] local.INFO: Extracted packet for processing {"connection_id":124714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c78"} 
[2026-07-07 17:36:40] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":98336352,"longitude_deg":76.3339776,"latitude_deg":9.8336352,"altitude":6,"angle":111,"satellites":41,"speed":13,"hex_longitude":"2d7fa400","hex_latitude":"05dc7e60","is_valid_coordinates":true} 
[2026-07-07 17:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557052672001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103421450983047168,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196702307985639424,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783425990000,"timestamp_ms":1783425990000,"timestamp_seconds":1783425990,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c78fd70"} 
[2026-07-07 17:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-07 17:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:36: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-07-07 17:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557052672001,"66":13428,"111":206,"85":15104,"24":13,"16":103421450983047168,"45":9196702307985639424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-07 17:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557052672001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:36:40] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-07 17:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103421450983047168,"km_value":103421450983047.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196702307985639424,"description":"Unknown IO ID 45"} 
[2026-07-07 17:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557052672001,"power":13428,"unknown_111":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9196702307985639424}} 
[2026-07-07 17:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":124714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:36:40] local.INFO: GPS data processed {"connection_id":124714,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:36:40] local.INFO: Acknowledgment sent {"connection_id":124714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:36:40] local.INFO: TCP Data received {"connection_id":124629,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:36:40] local.INFO: Processing buffer {"connection_id":124629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:36:40] local.INFO: Packet analysis {"connection_id":124629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:36:40] local.INFO: Extracted packet for processing {"connection_id":124629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:36:40] local.INFO: GPS Element Parsed {"raw_longitude":756543296,"raw_latitude":119632744,"longitude_deg":75.6543296,"latitude_deg":11.9632744,"altitude":70,"angle":225,"satellites":40,"speed":6,"hex_longitude":"2d17ef40","hex_latitude":"07217368","is_valid_coordinates":true} 
[2026-07-07 17:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556929792001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724949056653225984,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:40] 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-07-07 17:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783425510000,"timestamp_ms":1783425510000,"timestamp_seconds":1783425510,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c71aa70"} 
[2026-07-07 17:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556929792001,"66":2481,"122":206,"28":31744,"24":6,"16":4725623666769920,"45":1724949056653225984},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556929792001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:36:40] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:36:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724949056653225984,"description":"Unknown IO ID 45"} 
[2026-07-07 17:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556929792001,"power":2481,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1724949056653225984}} 
[2026-07-07 17:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":124629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:36:40] local.INFO: GPS data processed {"connection_id":124629,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:36:40] local.INFO: Acknowledgment sent {"connection_id":124629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:36:41] local.INFO: TCP Data received {"connection_id":124714,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c790540012d7fa84005dc7e000006005a29..."} 
[2026-07-07 17:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c790540012d7fa84005dc7e000006005a29..."} 
[2026-07-07 17:36:41] local.INFO: Processing buffer {"connection_id":124714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c790540012d7fa84005dc7e000006005a29..."} 
[2026-07-07 17:36:41] local.INFO: Packet analysis {"connection_id":124714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c79"} 
[2026-07-07 17:36:41] local.INFO: Extracted packet for processing {"connection_id":124714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c79"} 
[2026-07-07 17:36:41] local.INFO: GPS Element Parsed {"raw_longitude":763340864,"raw_latitude":98336256,"longitude_deg":76.3340864,"latitude_deg":9.8336256,"altitude":6,"angle":90,"satellites":41,"speed":22,"hex_longitude":"2d7fa840","hex_latitude":"05dc7e00","is_valid_coordinates":true} 
[2026-07-07 17:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557053440001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103421502522654720,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476364171501568,"note":"Value kept but may cause issues"} 
[2026-07-07 17:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783425992000,"timestamp_ms":1783425992000,"timestamp_seconds":1783425992,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c790540"} 
[2026-07-07 17:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-07 17:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:36: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-07-07 17:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557053440001,"66":13059,"111":206,"85":15104,"24":22,"16":103421502522654720,"45":9197476364171501568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-07 17:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557053440001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:36:41] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-07 17:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103421502522654720,"km_value":103421502522654.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476364171501568,"description":"Unknown IO ID 45"} 
[2026-07-07 17:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557053440001,"power":13059,"unknown_111":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9197476364171501568}} 
[2026-07-07 17:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":124714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:36:41] local.INFO: GPS data processed {"connection_id":124714,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:36:41] local.INFO: Acknowledgment sent {"connection_id":124714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:36:58] local.INFO: TCP Data received {"connection_id":126688,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:36:58] local.INFO: Processing buffer {"connection_id":126688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:36:58] local.INFO: IMEI packet received {"connection_id":126688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":126688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:37:03] local.INFO: TCP Data received {"connection_id":126688,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:37:03] local.INFO: Processing buffer {"connection_id":126688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:37:03] local.INFO: IMEI packet received {"connection_id":126688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":126688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:37:04] local.INFO: TCP Data received {"connection_id":126688,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c77e430012dc7c0c0052e4948001600cf2f..."} 
[2026-07-07 17:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c77e430012dc7c0c0052e4948001600cf2f..."} 
[2026-07-07 17:37:04] local.INFO: Processing buffer {"connection_id":126688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c77e430012dc7c0c0052e4948001600cf2f..."} 
[2026-07-07 17:37:04] local.INFO: Packet analysis {"connection_id":126688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:37:04] local.INFO: Extracted packet for processing {"connection_id":126688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:37:04] local.INFO: GPS Element Parsed {"raw_longitude":768065728,"raw_latitude":86919496,"longitude_deg":76.8065728,"latitude_deg":8.6919496,"altitude":22,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2dc7c0c0","hex_latitude":"052e4948","is_valid_coordinates":true} 
[2026-07-07 17:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557029632001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699819883986944,"note":"Value kept but may cause issues"} 
[2026-07-07 17:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053028536149522432,"note":"Value kept but may cause issues"} 
[2026-07-07 17:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425918000,"timestamp_ms":1783425918000,"timestamp_seconds":1783425918,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c77e430"} 
[2026-07-07 17:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 17:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557029632001,"66":27974,"149":206,"80":35072,"24":0,"16":341699819883986944,"45":-4053028536149522432},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557029632001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:37:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:37:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699819883986944,"km_value":341699819883986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053028536149522432,"description":"Unknown IO ID 45"} 
[2026-07-07 17:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557029632001,"power":27974,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4053028536149522432}} 
[2026-07-07 17:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":126688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:37:04] local.INFO: GPS data processed {"connection_id":126688,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:37:04] local.INFO: Acknowledgment sent {"connection_id":126688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:37:12] local.INFO: TCP Data received {"connection_id":124629,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:37:12] local.INFO: Processing buffer {"connection_id":124629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:37:12] local.INFO: Packet analysis {"connection_id":124629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:37:12] local.INFO: Extracted packet for processing {"connection_id":124629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:37:12] local.INFO: GPS Element Parsed {"raw_longitude":756543296,"raw_latitude":119632744,"longitude_deg":75.6543296,"latitude_deg":11.9632744,"altitude":70,"angle":225,"satellites":40,"speed":6,"hex_longitude":"2d17ef40","hex_latitude":"07217368","is_valid_coordinates":true} 
[2026-07-07 17:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556929792001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724949056653225984,"note":"Value kept but may cause issues"} 
[2026-07-07 17:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783425510000,"timestamp_ms":1783425510000,"timestamp_seconds":1783425510,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c71aa70"} 
[2026-07-07 17:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556929792001,"66":2481,"122":206,"28":31744,"24":6,"16":4725623666769920,"45":1724949056653225984},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556929792001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:37:12] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:37:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724949056653225984,"description":"Unknown IO ID 45"} 
[2026-07-07 17:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556929792001,"power":2481,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1724949056653225984}} 
[2026-07-07 17:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":124629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:37:12] local.INFO: GPS data processed {"connection_id":124629,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:37:12] local.INFO: Acknowledgment sent {"connection_id":124629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:37:14] local.INFO: TCP Data received {"connection_id":125434,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:37:14] local.INFO: Processing buffer {"connection_id":125434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:37:14] local.INFO: IMEI packet received {"connection_id":125434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 17:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":125434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:37:24] local.INFO: TCP Data received {"connection_id":124715,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:37:24] local.INFO: Processing buffer {"connection_id":124715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:37:24] local.INFO: IMEI packet received {"connection_id":124715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":124715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:37:25] local.INFO: TCP Data received {"connection_id":124715,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:37:25] local.INFO: Processing buffer {"connection_id":124715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:37:25] local.INFO: IMEI packet received {"connection_id":124715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":124715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:37:26] local.INFO: TCP Data received {"connection_id":124715,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:37:26] local.INFO: Processing buffer {"connection_id":124715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:37:26] local.INFO: IMEI packet received {"connection_id":124715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":124715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:37:26] local.INFO: TCP Data received {"connection_id":124715,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:37:26] local.INFO: Processing buffer {"connection_id":124715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:37:26] local.INFO: IMEI packet received {"connection_id":124715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":124715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:37:34] local.INFO: TCP Data received {"connection_id":124630,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:37:34] local.INFO: Processing buffer {"connection_id":124630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:37:34] local.INFO: IMEI packet received {"connection_id":124630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":124630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:37:35] local.INFO: TCP Data received {"connection_id":126688,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c77ec00012dc7bfc0052e47e0001800e12e..."} 
[2026-07-07 17:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c77ec00012dc7bfc0052e47e0001800e12e..."} 
[2026-07-07 17:37:35] local.INFO: Processing buffer {"connection_id":126688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c77ec00012dc7bfc0052e47e0001800e12e..."} 
[2026-07-07 17:37:35] local.INFO: Packet analysis {"connection_id":126688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:37:35] local.INFO: Extracted packet for processing {"connection_id":126688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:37:35] local.INFO: GPS Element Parsed {"raw_longitude":768065472,"raw_latitude":86919136,"longitude_deg":76.8065472,"latitude_deg":8.6919136,"altitude":24,"angle":225,"satellites":46,"speed":3,"hex_longitude":"2dc7bfc0","hex_latitude":"052e47e0","is_valid_coordinates":true} 
[2026-07-07 17:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557035008001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699841358823424,"note":"Value kept but may cause issues"} 
[2026-07-07 17:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053028536149522432,"note":"Value kept but may cause issues"} 
[2026-07-07 17:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783425920000,"timestamp_ms":1783425920000,"timestamp_seconds":1783425920,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c77ec00"} 
[2026-07-07 17:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:37: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-07-07 17:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 17:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557035008001,"66":27745,"149":206,"80":35072,"24":3,"16":341699841358823424,"45":-4053028536149522432},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557035008001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:37:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:37:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699841358823424,"km_value":341699841358823.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053028536149522432,"description":"Unknown IO ID 45"} 
[2026-07-07 17:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557035008001,"power":27745,"unknown_149":206,"unknown_80":35072,"ignition":3,"odometer":null,"unknown_45":-4053028536149522432}} 
[2026-07-07 17:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":126688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:37:35] local.INFO: GPS data processed {"connection_id":126688,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:37:35] local.INFO: Acknowledgment sent {"connection_id":126688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:37:39] local.INFO: TCP Data received {"connection_id":124630,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:37:39] local.INFO: Processing buffer {"connection_id":124630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:37:39] local.INFO: IMEI packet received {"connection_id":124630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":124630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:37:40] local.INFO: TCP Data received {"connection_id":124630,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:37:40] local.INFO: Processing buffer {"connection_id":124630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:37:40] local.INFO: Packet analysis {"connection_id":124630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:37:40] local.INFO: Extracted packet for processing {"connection_id":124630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:37:40] local.INFO: GPS Element Parsed {"raw_longitude":756543296,"raw_latitude":119632744,"longitude_deg":75.6543296,"latitude_deg":11.9632744,"altitude":70,"angle":225,"satellites":40,"speed":6,"hex_longitude":"2d17ef40","hex_latitude":"07217368","is_valid_coordinates":true} 
[2026-07-07 17:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556929792001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724949056653225984,"note":"Value kept but may cause issues"} 
[2026-07-07 17:37:40] 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-07-07 17:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783425510000,"timestamp_ms":1783425510000,"timestamp_seconds":1783425510,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c71aa70"} 
[2026-07-07 17:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556929792001,"66":2481,"122":206,"28":31744,"24":6,"16":4725623666769920,"45":1724949056653225984},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556929792001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:37:40] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:37:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724949056653225984,"description":"Unknown IO ID 45"} 
[2026-07-07 17:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556929792001,"power":2481,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1724949056653225984}} 
[2026-07-07 17:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":124630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:37:40] local.INFO: GPS data processed {"connection_id":124630,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:37:40] local.INFO: Acknowledgment sent {"connection_id":124630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:38:03] local.INFO: TCP Data received {"connection_id":124716,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:38:03] local.INFO: Processing buffer {"connection_id":124716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:38:03] local.INFO: IMEI packet received {"connection_id":124716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":124716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:38:08] local.INFO: TCP Data received {"connection_id":124716,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:38:08] local.INFO: Processing buffer {"connection_id":124716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:38:08] local.INFO: IMEI packet received {"connection_id":124716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":124716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:38:09] local.INFO: TCP Data received {"connection_id":124716,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c77f7b8012dc7bec0052e46c8001800ca2d..."} 
[2026-07-07 17:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c77f7b8012dc7bec0052e46c8001800ca2d..."} 
[2026-07-07 17:38:09] local.INFO: Processing buffer {"connection_id":124716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c77f7b8012dc7bec0052e46c8001800ca2d..."} 
[2026-07-07 17:38:09] local.INFO: Packet analysis {"connection_id":124716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:38:09] local.INFO: Extracted packet for processing {"connection_id":124716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c77"} 
[2026-07-07 17:38:09] local.INFO: GPS Element Parsed {"raw_longitude":768065216,"raw_latitude":86918856,"longitude_deg":76.8065216,"latitude_deg":8.6918856,"altitude":24,"angle":202,"satellites":45,"speed":3,"hex_longitude":"2dc7bec0","hex_latitude":"052e46c8","is_valid_coordinates":true} 
[2026-07-07 17:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557035520001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699862833659904,"note":"Value kept but may cause issues"} 
[2026-07-07 17:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053310011126325248,"note":"Value kept but may cause issues"} 
[2026-07-07 17:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783425923000,"timestamp_ms":1783425923000,"timestamp_seconds":1783425923,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c77f7b8"} 
[2026-07-07 17:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 17:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557035520001,"66":27800,"149":206,"80":35072,"24":3,"16":341699862833659904,"45":-4053310011126325248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557035520001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:38:09] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:38:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699862833659904,"km_value":341699862833659.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053310011126325248,"description":"Unknown IO ID 45"} 
[2026-07-07 17:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557035520001,"power":27800,"unknown_149":206,"unknown_80":35072,"ignition":3,"odometer":null,"unknown_45":-4053310011126325248}} 
[2026-07-07 17:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":124716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:38:09] local.INFO: GPS data processed {"connection_id":124716,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:38:09] local.INFO: Acknowledgment sent {"connection_id":124716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:38:12] local.INFO: TCP Data received {"connection_id":124630,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:38:12] local.INFO: Processing buffer {"connection_id":124630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:38:12] local.INFO: Packet analysis {"connection_id":124630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:38:12] local.INFO: Extracted packet for processing {"connection_id":124630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:38:12] local.INFO: GPS Element Parsed {"raw_longitude":756543296,"raw_latitude":119632744,"longitude_deg":75.6543296,"latitude_deg":11.9632744,"altitude":70,"angle":225,"satellites":40,"speed":6,"hex_longitude":"2d17ef40","hex_latitude":"07217368","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556929792001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724949056653225984,"note":"Value kept but may cause issues"} 
[2026-07-07 17:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783425510000,"timestamp_ms":1783425510000,"timestamp_seconds":1783425510,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c71aa70"} 
[2026-07-07 17:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556929792001,"66":2481,"122":206,"28":31744,"24":6,"16":4725623666769920,"45":1724949056653225984},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556929792001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:38:12] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:38:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724949056653225984,"description":"Unknown IO ID 45"} 
[2026-07-07 17:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556929792001,"power":2481,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1724949056653225984}} 
[2026-07-07 17:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":124630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:38:12] local.INFO: GPS data processed {"connection_id":124630,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:38:12] local.INFO: Acknowledgment sent {"connection_id":124630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:38:13] local.INFO: TCP Data received {"connection_id":124716,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7822b0012dc7bec0052e46d8001800312e..."} 
[2026-07-07 17:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7822b0012dc7bec0052e46d8001800312e..."} 
[2026-07-07 17:38:13] local.INFO: Processing buffer {"connection_id":124716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7822b0012dc7bec0052e46d8001800312e..."} 
[2026-07-07 17:38:13] local.INFO: Packet analysis {"connection_id":124716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c78"} 
[2026-07-07 17:38:13] local.INFO: Extracted packet for processing {"connection_id":124716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c78"} 
[2026-07-07 17:38:13] local.INFO: GPS Element Parsed {"raw_longitude":768065216,"raw_latitude":86918872,"longitude_deg":76.8065216,"latitude_deg":8.6918872,"altitude":24,"angle":49,"satellites":46,"speed":2,"hex_longitude":"2dc7bec0","hex_latitude":"052e46d8","is_valid_coordinates":true} 
[2026-07-07 17:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557036288001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699871423594496,"note":"Value kept but may cause issues"} 
[2026-07-07 17:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053591486103107584,"note":"Value kept but may cause issues"} 
[2026-07-07 17:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783425934000,"timestamp_ms":1783425934000,"timestamp_seconds":1783425934,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7822b0"} 
[2026-07-07 17:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:38: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-07-07 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 17:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:38: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-07-07 17:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557036288001,"66":27908,"149":206,"80":35072,"24":2,"16":341699871423594496,"45":-4053591486103107584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557036288001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:38:13] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:38:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699871423594496,"km_value":341699871423594.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053591486103107584,"description":"Unknown IO ID 45"} 
[2026-07-07 17:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557036288001,"power":27908,"unknown_149":206,"unknown_80":35072,"ignition":2,"odometer":null,"unknown_45":-4053591486103107584}} 
[2026-07-07 17:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":124716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:38:13] local.INFO: GPS data processed {"connection_id":124716,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:38:13] local.INFO: Acknowledgment sent {"connection_id":124716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:38:14] local.INFO: TCP Data received {"connection_id":124631,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:38:14] local.INFO: Processing buffer {"connection_id":124631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:38:14] local.INFO: IMEI packet received {"connection_id":124631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 17:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":124631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:38:29] local.INFO: TCP Data received {"connection_id":124717,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:38:29] local.INFO: Processing buffer {"connection_id":124717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:38:29] local.INFO: IMEI packet received {"connection_id":124717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":124717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:38:34] local.INFO: TCP Data received {"connection_id":124717,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:38:34] local.INFO: Processing buffer {"connection_id":124717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:38:34] local.INFO: IMEI packet received {"connection_id":124717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":124717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:38:36] local.INFO: TCP Data received {"connection_id":124717,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:38:36] local.INFO: Processing buffer {"connection_id":124717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:38:36] local.INFO: Packet analysis {"connection_id":124717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:38:36] local.INFO: Extracted packet for processing {"connection_id":124717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756543296,"raw_latitude":119632744,"longitude_deg":75.6543296,"latitude_deg":11.9632744,"altitude":70,"angle":225,"satellites":40,"speed":6,"hex_longitude":"2d17ef40","hex_latitude":"07217368","is_valid_coordinates":true} 
[2026-07-07 17:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556929792001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724949056653225984,"note":"Value kept but may cause issues"} 
[2026-07-07 17:38:36] 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-07-07 17:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783425510000,"timestamp_ms":1783425510000,"timestamp_seconds":1783425510,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c71aa70"} 
[2026-07-07 17:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:38: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-07-07 17:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556929792001,"66":2481,"122":206,"28":31744,"24":6,"16":4725623666769920,"45":1724949056653225984},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556929792001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:38:36] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:38:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724949056653225984,"description":"Unknown IO ID 45"} 
[2026-07-07 17:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556929792001,"power":2481,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1724949056653225984}} 
[2026-07-07 17:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":124717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:38:36] local.INFO: GPS data processed {"connection_id":124717,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:38:36] local.INFO: Acknowledgment sent {"connection_id":124717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:38:58] local.INFO: TCP Data received {"connection_id":125435,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:38:58] local.INFO: Processing buffer {"connection_id":125435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:38:58] local.INFO: IMEI packet received {"connection_id":125435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":125435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:39:03] local.INFO: TCP Data received {"connection_id":125435,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:39:03] local.INFO: Processing buffer {"connection_id":125435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:39:03] local.INFO: IMEI packet received {"connection_id":125435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":125435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:39:04] local.INFO: TCP Data received {"connection_id":125435,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c783250012dc7bf80052e47d8001800122e..."} 
[2026-07-07 17:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c783250012dc7bf80052e47d8001800122e..."} 
[2026-07-07 17:39:04] local.INFO: Processing buffer {"connection_id":125435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c783250012dc7bf80052e47d8001800122e..."} 
[2026-07-07 17:39:04] local.INFO: Packet analysis {"connection_id":125435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c78"} 
[2026-07-07 17:39:04] local.INFO: Extracted packet for processing {"connection_id":125435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c78"} 
[2026-07-07 17:39:04] local.INFO: GPS Element Parsed {"raw_longitude":768065408,"raw_latitude":86919128,"longitude_deg":76.8065408,"latitude_deg":8.6919128,"altitude":24,"angle":18,"satellites":46,"speed":4,"hex_longitude":"2dc7bf80","hex_latitude":"052e47d8","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557039104001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699888603463680,"note":"Value kept but may cause issues"} 
[2026-07-07 17:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053591486103103488,"note":"Value kept but may cause issues"} 
[2026-07-07 17:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425938000,"timestamp_ms":1783425938000,"timestamp_seconds":1783425938,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c783250"} 
[2026-07-07 17:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 17:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557039104001,"66":27876,"149":206,"80":35072,"24":4,"16":341699888603463680,"45":-4053591486103103488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557039104001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:39:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:39:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699888603463680,"km_value":341699888603463.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053591486103103488,"description":"Unknown IO ID 45"} 
[2026-07-07 17:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557039104001,"power":27876,"unknown_149":206,"unknown_80":35072,"ignition":4,"odometer":null,"unknown_45":-4053591486103103488}} 
[2026-07-07 17:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":125435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:39:04] local.INFO: GPS data processed {"connection_id":125435,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:39:04] local.INFO: Acknowledgment sent {"connection_id":125435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:39:07] local.INFO: TCP Data received {"connection_id":124717,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:39:07] local.INFO: Processing buffer {"connection_id":124717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:39:07] local.INFO: Packet analysis {"connection_id":124717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:39:07] local.INFO: Extracted packet for processing {"connection_id":124717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756543296,"raw_latitude":119632744,"longitude_deg":75.6543296,"latitude_deg":11.9632744,"altitude":70,"angle":225,"satellites":40,"speed":6,"hex_longitude":"2d17ef40","hex_latitude":"07217368","is_valid_coordinates":true} 
[2026-07-07 17:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556929792001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724949056653225984,"note":"Value kept but may cause issues"} 
[2026-07-07 17:39:07] 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-07-07 17:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783425510000,"timestamp_ms":1783425510000,"timestamp_seconds":1783425510,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c71aa70"} 
[2026-07-07 17:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556929792001,"66":2481,"122":206,"28":31744,"24":6,"16":4725623666769920,"45":1724949056653225984},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556929792001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:39:07] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:39:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724949056653225984,"description":"Unknown IO ID 45"} 
[2026-07-07 17:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556929792001,"power":2481,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1724949056653225984}} 
[2026-07-07 17:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":124717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:39:07] local.INFO: GPS data processed {"connection_id":124717,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:39:07] local.INFO: Acknowledgment sent {"connection_id":124717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:39:33] local.INFO: TCP Data received {"connection_id":124633,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:39:33] local.INFO: Processing buffer {"connection_id":124633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:39:33] local.INFO: IMEI packet received {"connection_id":124633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":124633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:39:35] local.INFO: TCP Data received {"connection_id":125435,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c783638012dc7bf80052e4820001801642e..."} 
[2026-07-07 17:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c783638012dc7bf80052e4820001801642e..."} 
[2026-07-07 17:39:35] local.INFO: Processing buffer {"connection_id":125435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c783638012dc7bf80052e4820001801642e..."} 
[2026-07-07 17:39:35] local.INFO: Packet analysis {"connection_id":125435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c78"} 
[2026-07-07 17:39:35] local.INFO: Extracted packet for processing {"connection_id":125435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c78"} 
[2026-07-07 17:39:35] local.INFO: GPS Element Parsed {"raw_longitude":768065408,"raw_latitude":86919200,"longitude_deg":76.8065408,"latitude_deg":8.69192,"altitude":24,"angle":356,"satellites":46,"speed":2,"hex_longitude":"2dc7bf80","hex_latitude":"052e4820","is_valid_coordinates":true} 
[2026-07-07 17:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557040128001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699892898430976,"note":"Value kept but may cause issues"} 
[2026-07-07 17:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053380379870504960,"note":"Value kept but may cause issues"} 
[2026-07-07 17:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783425939000,"timestamp_ms":1783425939000,"timestamp_seconds":1783425939,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c783638"} 
[2026-07-07 17:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:39: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-07-07 17:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 17:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557040128001,"66":27908,"149":206,"80":35072,"24":2,"16":341699892898430976,"45":-4053380379870504960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557040128001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:39:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:39:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699892898430976,"km_value":341699892898431.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053380379870504960,"description":"Unknown IO ID 45"} 
[2026-07-07 17:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557040128001,"power":27908,"unknown_149":206,"unknown_80":35072,"ignition":2,"odometer":null,"unknown_45":-4053380379870504960}} 
[2026-07-07 17:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":125435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:39:35] local.INFO: GPS data processed {"connection_id":125435,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:39:35] local.INFO: Acknowledgment sent {"connection_id":125435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:39:39] local.INFO: TCP Data received {"connection_id":124633,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:39:39] local.INFO: Processing buffer {"connection_id":124633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:39:39] local.INFO: IMEI packet received {"connection_id":124633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":124633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:39:40] local.INFO: TCP Data received {"connection_id":124633,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:39:40] local.INFO: Processing buffer {"connection_id":124633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:39:40] local.INFO: Packet analysis {"connection_id":124633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:39:40] local.INFO: Extracted packet for processing {"connection_id":124633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:39:40] local.INFO: GPS Element Parsed {"raw_longitude":756543296,"raw_latitude":119632744,"longitude_deg":75.6543296,"latitude_deg":11.9632744,"altitude":70,"angle":225,"satellites":40,"speed":6,"hex_longitude":"2d17ef40","hex_latitude":"07217368","is_valid_coordinates":true} 
[2026-07-07 17:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556929792001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724949056653225984,"note":"Value kept but may cause issues"} 
[2026-07-07 17:39:40] 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-07-07 17:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783425510000,"timestamp_ms":1783425510000,"timestamp_seconds":1783425510,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c71aa70"} 
[2026-07-07 17:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556929792001,"66":2481,"122":206,"28":31744,"24":6,"16":4725623666769920,"45":1724949056653225984},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556929792001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:39:40] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:39:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724949056653225984,"description":"Unknown IO ID 45"} 
[2026-07-07 17:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556929792001,"power":2481,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1724949056653225984}} 
[2026-07-07 17:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":124633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:39:40] local.INFO: GPS data processed {"connection_id":124633,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:39:40] local.INFO: Acknowledgment sent {"connection_id":124633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:39:58] local.INFO: TCP Data received {"connection_id":125436,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:39:58] local.INFO: Processing buffer {"connection_id":125436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:39:58] local.INFO: IMEI packet received {"connection_id":125436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":125436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:40:03] local.INFO: TCP Data received {"connection_id":125436,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:40:03] local.INFO: Processing buffer {"connection_id":125436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:40:03] local.INFO: IMEI packet received {"connection_id":125436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":125436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:40:04] local.INFO: TCP Data received {"connection_id":125436,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7841f0012dc7bf80052e48b8001800082e..."} 
[2026-07-07 17:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7841f0012dc7bf80052e48b8001800082e..."} 
[2026-07-07 17:40:04] local.INFO: Processing buffer {"connection_id":125436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7841f0012dc7bf80052e48b8001800082e..."} 
[2026-07-07 17:40:04] local.INFO: Packet analysis {"connection_id":125436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c78"} 
[2026-07-07 17:40:04] local.INFO: Extracted packet for processing {"connection_id":125436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c78"} 
[2026-07-07 17:40:04] local.INFO: GPS Element Parsed {"raw_longitude":768065408,"raw_latitude":86919352,"longitude_deg":76.8065408,"latitude_deg":8.6919352,"altitude":24,"angle":8,"satellites":46,"speed":3,"hex_longitude":"2dc7bf80","hex_latitude":"052e48b8","is_valid_coordinates":true} 
[2026-07-07 17:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557040384001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699901488365568,"note":"Value kept but may cause issues"} 
[2026-07-07 17:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053380379870486528,"note":"Value kept but may cause issues"} 
[2026-07-07 17:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425942000,"timestamp_ms":1783425942000,"timestamp_seconds":1783425942,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7841f0"} 
[2026-07-07 17:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 17:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557040384001,"66":27691,"149":206,"80":35072,"24":3,"16":341699901488365568,"45":-4053380379870486528},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557040384001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:40:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:40:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699901488365568,"km_value":341699901488365.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053380379870486528,"description":"Unknown IO ID 45"} 
[2026-07-07 17:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557040384001,"power":27691,"unknown_149":206,"unknown_80":35072,"ignition":3,"odometer":null,"unknown_45":-4053380379870486528}} 
[2026-07-07 17:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":125436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:40:04] local.INFO: GPS data processed {"connection_id":125436,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:40:04] local.INFO: Acknowledgment sent {"connection_id":125436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:40:12] local.INFO: TCP Data received {"connection_id":124633,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:40:12] local.INFO: Processing buffer {"connection_id":124633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:40:12] local.INFO: Packet analysis {"connection_id":124633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:40:12] local.INFO: Extracted packet for processing {"connection_id":124633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:40:12] local.INFO: GPS Element Parsed {"raw_longitude":756543296,"raw_latitude":119632744,"longitude_deg":75.6543296,"latitude_deg":11.9632744,"altitude":70,"angle":225,"satellites":40,"speed":6,"hex_longitude":"2d17ef40","hex_latitude":"07217368","is_valid_coordinates":true} 
[2026-07-07 17:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556929792001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724949056653225984,"note":"Value kept but may cause issues"} 
[2026-07-07 17:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783425510000,"timestamp_ms":1783425510000,"timestamp_seconds":1783425510,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c71aa70"} 
[2026-07-07 17:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556929792001,"66":2481,"122":206,"28":31744,"24":6,"16":4725623666769920,"45":1724949056653225984},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556929792001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:40:12] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:40:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724949056653225984,"description":"Unknown IO ID 45"} 
[2026-07-07 17:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556929792001,"power":2481,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1724949056653225984}} 
[2026-07-07 17:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":124633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:40:12] local.INFO: GPS data processed {"connection_id":124633,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:40:12] local.INFO: Acknowledgment sent {"connection_id":124633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:40:33] local.INFO: TCP Data received {"connection_id":124634,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:40:33] local.INFO: Processing buffer {"connection_id":124634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:40:33] local.INFO: IMEI packet received {"connection_id":124634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":124634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:40:35] local.INFO: TCP Data received {"connection_id":125436,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c785960012dc7c000052e4a08001900162e..."} 
[2026-07-07 17:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c785960012dc7c000052e4a08001900162e..."} 
[2026-07-07 17:40:35] local.INFO: Processing buffer {"connection_id":125436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c785960012dc7c000052e4a08001900162e..."} 
[2026-07-07 17:40:35] local.INFO: Packet analysis {"connection_id":125436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c78"} 
[2026-07-07 17:40:35] local.INFO: Extracted packet for processing {"connection_id":125436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c78"} 
[2026-07-07 17:40:35] local.INFO: GPS Element Parsed {"raw_longitude":768065536,"raw_latitude":86919688,"longitude_deg":76.8065536,"latitude_deg":8.6919688,"altitude":25,"angle":22,"satellites":46,"speed":2,"hex_longitude":"2dc7c000","hex_latitude":"052e4a08","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557041152001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699922963202048,"note":"Value kept but may cause issues"} 
[2026-07-07 17:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053380379870447616,"note":"Value kept but may cause issues"} 
[2026-07-07 17:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783425948000,"timestamp_ms":1783425948000,"timestamp_seconds":1783425948,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c785960"} 
[2026-07-07 17:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-07 17:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557041152001,"66":27745,"149":206,"80":35072,"24":2,"16":341699922963202048,"45":-4053380379870447616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557041152001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:40:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:40:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699922963202048,"km_value":341699922963202.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053380379870447616,"description":"Unknown IO ID 45"} 
[2026-07-07 17:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557041152001,"power":27745,"unknown_149":206,"unknown_80":35072,"ignition":2,"odometer":null,"unknown_45":-4053380379870447616}} 
[2026-07-07 17:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":125436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:40:35] local.INFO: GPS data processed {"connection_id":125436,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:40:35] local.INFO: Acknowledgment sent {"connection_id":125436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:40:39] local.INFO: TCP Data received {"connection_id":124634,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:40:39] local.INFO: Processing buffer {"connection_id":124634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:40:39] local.INFO: IMEI packet received {"connection_id":124634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":124634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:40:40] local.INFO: TCP Data received {"connection_id":124634,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:40:40] local.INFO: Processing buffer {"connection_id":124634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:40:40] local.INFO: Packet analysis {"connection_id":124634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:40:40] local.INFO: Extracted packet for processing {"connection_id":124634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:40:40] local.INFO: GPS Element Parsed {"raw_longitude":756543296,"raw_latitude":119632744,"longitude_deg":75.6543296,"latitude_deg":11.9632744,"altitude":70,"angle":225,"satellites":40,"speed":6,"hex_longitude":"2d17ef40","hex_latitude":"07217368","is_valid_coordinates":true} 
[2026-07-07 17:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556929792001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724949056653225984,"note":"Value kept but may cause issues"} 
[2026-07-07 17:40:40] 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-07-07 17:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783425510000,"timestamp_ms":1783425510000,"timestamp_seconds":1783425510,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c71aa70"} 
[2026-07-07 17:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556929792001,"66":2481,"122":206,"28":31744,"24":6,"16":4725623666769920,"45":1724949056653225984},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556929792001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:40:40] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:40:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724949056653225984,"description":"Unknown IO ID 45"} 
[2026-07-07 17:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556929792001,"power":2481,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1724949056653225984}} 
[2026-07-07 17:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":124634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:40:40] local.INFO: GPS data processed {"connection_id":124634,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:40:40] local.INFO: Acknowledgment sent {"connection_id":124634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:40:59] local.INFO: TCP Data received {"connection_id":124719,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:40:59] local.INFO: Processing buffer {"connection_id":124719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:40:59] local.INFO: IMEI packet received {"connection_id":124719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":124719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:41:03] local.INFO: TCP Data received {"connection_id":124719,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:41:03] local.INFO: Processing buffer {"connection_id":124719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:41:03] local.INFO: IMEI packet received {"connection_id":124719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":124719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:41:04] local.INFO: TCP Data received {"connection_id":124719,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c786900012dc7c080052e4aa0001900232d..."} 
[2026-07-07 17:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c786900012dc7c080052e4aa0001900232d..."} 
[2026-07-07 17:41:04] local.INFO: Processing buffer {"connection_id":124719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c786900012dc7c080052e4aa0001900232d..."} 
[2026-07-07 17:41:04] local.INFO: Packet analysis {"connection_id":124719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c78"} 
[2026-07-07 17:41:04] local.INFO: Extracted packet for processing {"connection_id":124719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c78"} 
[2026-07-07 17:41:04] local.INFO: GPS Element Parsed {"raw_longitude":768065664,"raw_latitude":86919840,"longitude_deg":76.8065664,"latitude_deg":8.691984,"altitude":25,"angle":35,"satellites":45,"speed":1,"hex_longitude":"2dc7c080","hex_latitude":"052e4aa0","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557042688001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699931553136640,"note":"Value kept but may cause issues"} 
[2026-07-07 17:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053239642382006272,"note":"Value kept but may cause issues"} 
[2026-07-07 17:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425952000,"timestamp_ms":1783425952000,"timestamp_seconds":1783425952,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c786900"} 
[2026-07-07 17:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 17:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557042688001,"66":27974,"149":206,"80":35072,"24":1,"16":341699931553136640,"45":-4053239642382006272},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557042688001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:41:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:41:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699931553136640,"km_value":341699931553136.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053239642382006272,"description":"Unknown IO ID 45"} 
[2026-07-07 17:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557042688001,"power":27974,"unknown_149":206,"unknown_80":35072,"ignition":1,"odometer":null,"unknown_45":-4053239642382006272}} 
[2026-07-07 17:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":124719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:41:04] local.INFO: GPS data processed {"connection_id":124719,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:41:04] local.INFO: Acknowledgment sent {"connection_id":124719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:41:11] local.INFO: TCP Data received {"connection_id":124634,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:41:11] local.INFO: Processing buffer {"connection_id":124634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c71aa70012d17ef4007217368004600e128..."} 
[2026-07-07 17:41:11] local.INFO: Packet analysis {"connection_id":124634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:41:11] local.INFO: Extracted packet for processing {"connection_id":124634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c71"} 
[2026-07-07 17:41:11] local.INFO: GPS Element Parsed {"raw_longitude":756543296,"raw_latitude":119632744,"longitude_deg":75.6543296,"latitude_deg":11.9632744,"altitude":70,"angle":225,"satellites":40,"speed":6,"hex_longitude":"2d17ef40","hex_latitude":"07217368","is_valid_coordinates":true} 
[2026-07-07 17:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556929792001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724949056653225984,"note":"Value kept but may cause issues"} 
[2026-07-07 17:41:11] 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-07-07 17:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783425510000,"timestamp_ms":1783425510000,"timestamp_seconds":1783425510,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c71aa70"} 
[2026-07-07 17:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556929792001,"66":2481,"122":206,"28":31744,"24":6,"16":4725623666769920,"45":1724949056653225984},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556929792001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:41:11] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:41:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724949056653225984,"description":"Unknown IO ID 45"} 
[2026-07-07 17:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556929792001,"power":2481,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1724949056653225984}} 
[2026-07-07 17:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":124634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:41:11] local.INFO: GPS data processed {"connection_id":124634,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:41:11] local.INFO: Acknowledgment sent {"connection_id":124634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:41:35] local.INFO: TCP Data received {"connection_id":124719,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c78bb08012dc7c140052e4b980018002a2d..."} 
[2026-07-07 17:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c78bb08012dc7c140052e4b980018002a2d..."} 
[2026-07-07 17:41:35] local.INFO: Processing buffer {"connection_id":124719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c78bb08012dc7c140052e4b980018002a2d..."} 
[2026-07-07 17:41:35] local.INFO: Packet analysis {"connection_id":124719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c78"} 
[2026-07-07 17:41:35] local.INFO: Extracted packet for processing {"connection_id":124719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c78"} 
[2026-07-07 17:41:35] local.INFO: GPS Element Parsed {"raw_longitude":768065856,"raw_latitude":86920088,"longitude_deg":76.8065856,"latitude_deg":8.6920088,"altitude":24,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2dc7c140","hex_latitude":"052e4b98","is_valid_coordinates":true} 
[2026-07-07 17:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557043712001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053098904893612032,"note":"Value kept but may cause issues"} 
[2026-07-07 17:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783425973000,"timestamp_ms":1783425973000,"timestamp_seconds":1783425973,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c78bb08"} 
[2026-07-07 17:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:41: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-07-07 17:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 17:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557043712001,"66":27865,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4053098904893612032},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557043712001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:41:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:41:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053098904893612032,"description":"Unknown IO ID 45"} 
[2026-07-07 17:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557043712001,"power":27865,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4053098904893612032}} 
[2026-07-07 17:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":124719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:41:35] local.INFO: GPS data processed {"connection_id":124719,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:41:35] local.INFO: Acknowledgment sent {"connection_id":124719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:41:38] local.INFO: TCP Data received {"connection_id":125439,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:41:38] local.INFO: Processing buffer {"connection_id":125439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:41:38] local.INFO: IMEI packet received {"connection_id":125439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":125439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:41:43] local.INFO: TCP Data received {"connection_id":125439,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:41:43] local.INFO: Processing buffer {"connection_id":125439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:41:43] local.INFO: IMEI packet received {"connection_id":125439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":125439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:41:45] local.INFO: TCP Data received {"connection_id":125439,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7cd5d0012d17ee00072177f8004700e12e..."} 
[2026-07-07 17:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7cd5d0012d17ee00072177f8004700e12e..."} 
[2026-07-07 17:41:45] local.INFO: Processing buffer {"connection_id":125439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7cd5d0012d17ee00072177f8004700e12e..."} 
[2026-07-07 17:41:45] local.INFO: Packet analysis {"connection_id":125439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7c"} 
[2026-07-07 17:41:45] local.INFO: Extracted packet for processing {"connection_id":125439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7c"} 
[2026-07-07 17:41:45] local.INFO: GPS Element Parsed {"raw_longitude":756542976,"raw_latitude":119633912,"longitude_deg":75.6542976,"latitude_deg":11.9633912,"altitude":71,"angle":225,"satellites":46,"speed":0,"hex_longitude":"2d17ee00","hex_latitude":"072177f8","is_valid_coordinates":true} 
[2026-07-07 17:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556930560001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724667581676349440,"note":"Value kept but may cause issues"} 
[2026-07-07 17:41:45] 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-07-07 17:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783426242000,"timestamp_ms":1783426242000,"timestamp_seconds":1783426242,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7cd5d0"} 
[2026-07-07 17:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 17:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1836,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":125439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":125439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":125439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556930560001,"66":2166,"122":206,"28":31744,"24":0,"16":4725623666769920,"45":1724667581676349440},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556930560001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:41:45] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:41:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724667581676349440,"description":"Unknown IO ID 45"} 
[2026-07-07 17:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556930560001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1724667581676349440}} 
[2026-07-07 17:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":125439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:41:45] local.INFO: GPS data processed {"connection_id":125439,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:41:45] local.INFO: Acknowledgment sent {"connection_id":125439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:41:58] local.INFO: TCP Data received {"connection_id":124721,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:41:58] local.INFO: Processing buffer {"connection_id":124721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:41:58] local.INFO: IMEI packet received {"connection_id":124721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":124721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:42:03] local.INFO: TCP Data received {"connection_id":124721,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:42:03] local.INFO: Processing buffer {"connection_id":124721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:42:03] local.INFO: IMEI packet received {"connection_id":124721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":124721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:42:04] local.INFO: TCP Data received {"connection_id":124721,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c78bef0012dc7c140052e4b980018002a2d..."} 
[2026-07-07 17:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c78bef0012dc7c140052e4b980018002a2d..."} 
[2026-07-07 17:42:04] local.INFO: Processing buffer {"connection_id":124721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c78bef0012dc7c140052e4b980018002a2d..."} 
[2026-07-07 17:42:04] local.INFO: Packet analysis {"connection_id":124721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c78"} 
[2026-07-07 17:42:04] local.INFO: Extracted packet for processing {"connection_id":124721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c78"} 
[2026-07-07 17:42:04] local.INFO: GPS Element Parsed {"raw_longitude":768065856,"raw_latitude":86920088,"longitude_deg":76.8065856,"latitude_deg":8.6920088,"altitude":24,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2dc7c140","hex_latitude":"052e4b98","is_valid_coordinates":true} 
[2026-07-07 17:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557049088001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052887798661015552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783425974000,"timestamp_ms":1783425974000,"timestamp_seconds":1783425974,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c78bef0"} 
[2026-07-07 17:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 17:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557049088001,"66":27865,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052887798661015552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557049088001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:42:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:42:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052887798661015552,"description":"Unknown IO ID 45"} 
[2026-07-07 17:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557049088001,"power":27865,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052887798661015552}} 
[2026-07-07 17:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":124721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:42:04] local.INFO: GPS data processed {"connection_id":124721,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:42:04] local.INFO: Acknowledgment sent {"connection_id":124721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:42:16] local.INFO: TCP Data received {"connection_id":125439,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7cd5d0012d17ee00072177f8004700e12e..."} 
[2026-07-07 17:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7cd5d0012d17ee00072177f8004700e12e..."} 
[2026-07-07 17:42:16] local.INFO: Processing buffer {"connection_id":125439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7cd5d0012d17ee00072177f8004700e12e..."} 
[2026-07-07 17:42:16] local.INFO: Packet analysis {"connection_id":125439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7c"} 
[2026-07-07 17:42:16] local.INFO: Extracted packet for processing {"connection_id":125439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7c"} 
[2026-07-07 17:42:16] local.INFO: GPS Element Parsed {"raw_longitude":756542976,"raw_latitude":119633912,"longitude_deg":75.6542976,"latitude_deg":11.9633912,"altitude":71,"angle":225,"satellites":46,"speed":0,"hex_longitude":"2d17ee00","hex_latitude":"072177f8","is_valid_coordinates":true} 
[2026-07-07 17:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556930560001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724667581676349440,"note":"Value kept but may cause issues"} 
[2026-07-07 17:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783426242000,"timestamp_ms":1783426242000,"timestamp_seconds":1783426242,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7cd5d0"} 
[2026-07-07 17:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 17:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1836,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556930560001,"66":2166,"122":206,"28":31744,"24":0,"16":4725623666769920,"45":1724667581676349440},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556930560001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:42:16] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:42:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724667581676349440,"description":"Unknown IO ID 45"} 
[2026-07-07 17:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556930560001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1724667581676349440}} 
[2026-07-07 17:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":125439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:42:16] local.INFO: GPS data processed {"connection_id":125439,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:42:16] local.INFO: Acknowledgment sent {"connection_id":125439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:42:31] local.INFO: TCP Data received {"connection_id":124635,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:42:31] local.INFO: Processing buffer {"connection_id":124635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:42:31] local.INFO: IMEI packet received {"connection_id":124635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":124635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:42:32] local.INFO: TCP Data received {"connection_id":124635,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7dcbe8012d82200005da8a100006008b29..."} 
[2026-07-07 17:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7dcbe8012d82200005da8a100006008b29..."} 
[2026-07-07 17:42:32] local.INFO: Processing buffer {"connection_id":124635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7dcbe8012d82200005da8a100006008b29..."} 
[2026-07-07 17:42:32] local.INFO: Packet analysis {"connection_id":124635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:42:32] local.INFO: Extracted packet for processing {"connection_id":124635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763502592,"raw_latitude":98208272,"longitude_deg":76.3502592,"latitude_deg":9.8208272,"altitude":6,"angle":139,"satellites":41,"speed":25,"hex_longitude":"2d822000","hex_latitude":"05da8a10","is_valid_coordinates":true} 
[2026-07-07 17:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557133824001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103433820488859648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9070742205591986176,"note":"Value kept but may cause issues"} 
[2026-07-07 17:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783426305000,"timestamp_ms":1783426305000,"timestamp_seconds":1783426305,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7dcbe8"} 
[2026-07-07 17:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:42: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-07-07 17:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 17:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557133824001,"66":13374,"153":206,"85":15104,"24":25,"16":103433820488859648,"45":-9070742205591986176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-07 17:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557133824001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:42:32] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 17:42:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103433820488859648,"km_value":103433820488859.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9070742205591986176,"description":"Unknown IO ID 45"} 
[2026-07-07 17:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557133824001,"power":13374,"unknown_153":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9070742205591986176}} 
[2026-07-07 17:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":124635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:42:32] local.INFO: GPS data processed {"connection_id":124635,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:42:32] local.INFO: Acknowledgment sent {"connection_id":124635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:42:33] local.INFO: TCP Data received {"connection_id":124636,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:42:33] local.INFO: Processing buffer {"connection_id":124636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:42:33] local.INFO: IMEI packet received {"connection_id":124636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":124636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:42:35] local.INFO: TCP Data received {"connection_id":124721,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:42:35] local.INFO: Processing buffer {"connection_id":124721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:42:35] local.INFO: Packet analysis {"connection_id":124721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:42:35] local.INFO: Extracted packet for processing {"connection_id":124721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:42:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557049344001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052887798661015552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783426276000,"timestamp_ms":1783426276000,"timestamp_seconds":1783426276,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7d5aa0"} 
[2026-07-07 17:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 17:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557049344001,"66":26223,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052887798661015552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557049344001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:42:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:42:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052887798661015552,"description":"Unknown IO ID 45"} 
[2026-07-07 17:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557049344001,"power":26223,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052887798661015552}} 
[2026-07-07 17:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":124721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:42:35] local.INFO: GPS data processed {"connection_id":124721,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:42:35] local.INFO: Acknowledgment sent {"connection_id":124721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:42:39] local.INFO: TCP Data received {"connection_id":124636,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:42:39] local.INFO: Processing buffer {"connection_id":124636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:42:39] local.INFO: IMEI packet received {"connection_id":124636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":124636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:42:40] local.INFO: TCP Data received {"connection_id":124636,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7cd5d0012d17ee00072177f8004700e12e..."} 
[2026-07-07 17:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7cd5d0012d17ee00072177f8004700e12e..."} 
[2026-07-07 17:42:40] local.INFO: Processing buffer {"connection_id":124636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7cd5d0012d17ee00072177f8004700e12e..."} 
[2026-07-07 17:42:40] local.INFO: Packet analysis {"connection_id":124636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7c"} 
[2026-07-07 17:42:40] local.INFO: Extracted packet for processing {"connection_id":124636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7c"} 
[2026-07-07 17:42:40] local.INFO: GPS Element Parsed {"raw_longitude":756542976,"raw_latitude":119633912,"longitude_deg":75.6542976,"latitude_deg":11.9633912,"altitude":71,"angle":225,"satellites":46,"speed":0,"hex_longitude":"2d17ee00","hex_latitude":"072177f8","is_valid_coordinates":true} 
[2026-07-07 17:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456556930560001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724667581676349440,"note":"Value kept but may cause issues"} 
[2026-07-07 17:42:40] 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-07-07 17:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783426242000,"timestamp_ms":1783426242000,"timestamp_seconds":1783426242,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7cd5d0"} 
[2026-07-07 17:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 17:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1836,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456556930560001,"66":2166,"122":206,"28":31744,"24":0,"16":4725623666769920,"45":1724667581676349440},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456556930560001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:42:40] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:42:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724667581676349440,"description":"Unknown IO ID 45"} 
[2026-07-07 17:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456556930560001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1724667581676349440}} 
[2026-07-07 17:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":124636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:42:40] local.INFO: GPS data processed {"connection_id":124636,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:42:40] local.INFO: Acknowledgment sent {"connection_id":124636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:42:58] local.INFO: TCP Data received {"connection_id":126691,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:42:58] local.INFO: Processing buffer {"connection_id":126691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:42:58] local.INFO: IMEI packet received {"connection_id":126691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":126691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:43:03] local.INFO: TCP Data received {"connection_id":124635,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7dd3b8012d82224005da85300006009f2a..."} 
[2026-07-07 17:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7dd3b8012d82224005da85300006009f2a..."} 
[2026-07-07 17:43:03] local.INFO: Processing buffer {"connection_id":124635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7dd3b8012d82224005da85300006009f2a..."} 
[2026-07-07 17:43:03] local.INFO: Packet analysis {"connection_id":124635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:43:03] local.INFO: Extracted packet for processing {"connection_id":124635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:43:03] local.INFO: GPS Element Parsed {"raw_longitude":763503168,"raw_latitude":98207024,"longitude_deg":76.3503168,"latitude_deg":9.8207024,"altitude":6,"angle":159,"satellites":42,"speed":29,"hex_longitude":"2d822240","hex_latitude":"05da8530","is_valid_coordinates":true} 
[2026-07-07 17:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557134080001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103433884913369088,"note":"Value kept but may cause issues"} 
[2026-07-07 17:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9070249624382861312,"note":"Value kept but may cause issues"} 
[2026-07-07 17:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783426307000,"timestamp_ms":1783426307000,"timestamp_seconds":1783426307,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7dd3b8"} 
[2026-07-07 17:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-07 17:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:43: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-07-07 17:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557134080001,"66":13254,"153":206,"85":15104,"24":29,"16":103433884913369088,"45":-9070249624382861312},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-07 17:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557134080001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:43:03] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-07 17:43:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103433884913369088,"km_value":103433884913369.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9070249624382861312,"description":"Unknown IO ID 45"} 
[2026-07-07 17:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557134080001,"power":13254,"unknown_153":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9070249624382861312}} 
[2026-07-07 17:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":124635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:43:03] local.INFO: GPS data processed {"connection_id":124635,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:43:03] local.INFO: Acknowledgment sent {"connection_id":124635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:43:03] local.INFO: TCP Data received {"connection_id":126691,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:43:03] local.INFO: Processing buffer {"connection_id":126691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:43:03] local.INFO: IMEI packet received {"connection_id":126691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":126691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:43:04] local.INFO: TCP Data received {"connection_id":126691,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:43:04] local.INFO: Processing buffer {"connection_id":126691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:43:04] local.INFO: Packet analysis {"connection_id":126691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:43:04] local.INFO: Extracted packet for processing {"connection_id":126691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:43:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557049344001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052887798661015552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783426276000,"timestamp_ms":1783426276000,"timestamp_seconds":1783426276,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7d5aa0"} 
[2026-07-07 17:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 17:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557049344001,"66":26223,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052887798661015552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557049344001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:43:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:43:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052887798661015552,"description":"Unknown IO ID 45"} 
[2026-07-07 17:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557049344001,"power":26223,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052887798661015552}} 
[2026-07-07 17:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":126691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:43:04] local.INFO: GPS data processed {"connection_id":126691,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:43:04] local.INFO: Acknowledgment sent {"connection_id":126691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:43:11] local.INFO: TCP Data received {"connection_id":124636,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7e7bb0012d17ee00072177f8004700e12c..."} 
[2026-07-07 17:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7e7bb0012d17ee00072177f8004700e12c..."} 
[2026-07-07 17:43:11] local.INFO: Processing buffer {"connection_id":124636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7e7bb0012d17ee00072177f8004700e12c..."} 
[2026-07-07 17:43:11] local.INFO: Packet analysis {"connection_id":124636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7e"} 
[2026-07-07 17:43:11] local.INFO: Extracted packet for processing {"connection_id":124636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7e"} 
[2026-07-07 17:43:11] local.INFO: GPS Element Parsed {"raw_longitude":756542976,"raw_latitude":119633912,"longitude_deg":75.6542976,"latitude_deg":11.9633912,"altitude":71,"angle":225,"satellites":44,"speed":0,"hex_longitude":"2d17ee00","hex_latitude":"072177f8","is_valid_coordinates":true} 
[2026-07-07 17:43: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-07-07 17:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557117952001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724315737955760128,"note":"Value kept but may cause issues"} 
[2026-07-07 17:43:11] 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-07-07 17:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783426350000,"timestamp_ms":1783426350000,"timestamp_seconds":1783426350,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7e7bb0"} 
[2026-07-07 17:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 17:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557117952001,"66":2155,"122":206,"28":31744,"24":0,"16":4725623666769920,"45":1724315737955760128},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557117952001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:43:11] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:43:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724315737955760128,"description":"Unknown IO ID 45"} 
[2026-07-07 17:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557117952001,"power":2155,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1724315737955760128}} 
[2026-07-07 17:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":124636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:43:11] local.INFO: GPS data processed {"connection_id":124636,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:43:11] local.INFO: Acknowledgment sent {"connection_id":124636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:43:13] local.INFO: TCP Data received {"connection_id":125440,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:43:13] local.INFO: Processing buffer {"connection_id":125440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:43:13] local.INFO: IMEI packet received {"connection_id":125440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 17:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":125440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:43:24] local.INFO: TCP Data received {"connection_id":125441,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:43:24] local.INFO: Processing buffer {"connection_id":125441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:43:24] local.INFO: IMEI packet received {"connection_id":125441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":125441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:43:26] local.INFO: TCP Data received {"connection_id":125441,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:43:26] local.INFO: Processing buffer {"connection_id":125441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:43:26] local.INFO: IMEI packet received {"connection_id":125441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":125441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:43:31] local.INFO: TCP Data received {"connection_id":125441,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:43:31] local.INFO: Processing buffer {"connection_id":125441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:43:31] local.INFO: IMEI packet received {"connection_id":125441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":125441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:43:32] local.INFO: TCP Data received {"connection_id":125441,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7f1408012d825ac005d98430000900a725..."} 
[2026-07-07 17:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7f1408012d825ac005d98430000900a725..."} 
[2026-07-07 17:43:32] local.INFO: Processing buffer {"connection_id":125441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7f1408012d825ac005d98430000900a725..."} 
[2026-07-07 17:43:32] local.INFO: Packet analysis {"connection_id":125441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:43:32] local.INFO: Extracted packet for processing {"connection_id":125441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:43:32] local.INFO: GPS Element Parsed {"raw_longitude":763517632,"raw_latitude":98141232,"longitude_deg":76.3517632,"latitude_deg":9.8141232,"altitude":9,"angle":167,"satellites":37,"speed":50,"hex_longitude":"2d825ac0","hex_latitude":"05d98430","is_valid_coordinates":true} 
[2026-07-07 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-07-07 17:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557153536001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103437161973415936,"note":"Value kept but may cause issues"} 
[2026-07-07 17:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055894400585340928,"note":"Value kept but may cause issues"} 
[2026-07-07 17:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783426389000,"timestamp_ms":1783426389000,"timestamp_seconds":1783426389,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7f1408"} 
[2026-07-07 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-07-07 17:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":94,"data_length":795,"current_offset":136} 
[2026-07-07 17:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 17:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557153536001,"66":13298,"69":206,"85":15104,"24":50,"16":103437161973415936,"45":-9055894400585340928},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-07-07 17:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557153536001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:43:32] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-07 17:43:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103437161973415936,"km_value":103437161973415.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055894400585340928,"description":"Unknown IO ID 45"} 
[2026-07-07 17:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557153536001,"power":13298,"unknown_69":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":-9055894400585340928}} 
[2026-07-07 17:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":125441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:43:32] local.INFO: GPS data processed {"connection_id":125441,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:43:32] local.INFO: Acknowledgment sent {"connection_id":125441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:43:33] local.INFO: TCP Data received {"connection_id":125442,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:43:33] local.INFO: Processing buffer {"connection_id":125442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:43:33] local.INFO: IMEI packet received {"connection_id":125442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":125442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:43:35] local.INFO: TCP Data received {"connection_id":126691,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:43:35] local.INFO: Processing buffer {"connection_id":126691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:43:35] local.INFO: Packet analysis {"connection_id":126691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:43:35] local.INFO: Extracted packet for processing {"connection_id":126691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:43:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557049344001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052887798661015552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783426276000,"timestamp_ms":1783426276000,"timestamp_seconds":1783426276,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7d5aa0"} 
[2026-07-07 17:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 17:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557049344001,"66":26223,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052887798661015552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557049344001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:43:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:43:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052887798661015552,"description":"Unknown IO ID 45"} 
[2026-07-07 17:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557049344001,"power":26223,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052887798661015552}} 
[2026-07-07 17:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":126691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:43:35] local.INFO: GPS data processed {"connection_id":126691,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:43:35] local.INFO: Acknowledgment sent {"connection_id":126691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:43:36] local.INFO: TCP Data received {"connection_id":125442,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:43:36] local.INFO: Processing buffer {"connection_id":125442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:43:36] local.INFO: IMEI packet received {"connection_id":125442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":125442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:43:38] local.INFO: TCP Data received {"connection_id":125442,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:43:38] local.INFO: Processing buffer {"connection_id":125442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:43:38] local.INFO: IMEI packet received {"connection_id":125442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":125442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:43:39] local.INFO: TCP Data received {"connection_id":125442,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7e7bb0012d17ee00072177f8004700e12c..."} 
[2026-07-07 17:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7e7bb0012d17ee00072177f8004700e12c..."} 
[2026-07-07 17:43:39] local.INFO: Processing buffer {"connection_id":125442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7e7bb0012d17ee00072177f8004700e12c..."} 
[2026-07-07 17:43:39] local.INFO: Packet analysis {"connection_id":125442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7e"} 
[2026-07-07 17:43:39] local.INFO: Extracted packet for processing {"connection_id":125442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7e"} 
[2026-07-07 17:43:39] local.INFO: GPS Element Parsed {"raw_longitude":756542976,"raw_latitude":119633912,"longitude_deg":75.6542976,"latitude_deg":11.9633912,"altitude":71,"angle":225,"satellites":44,"speed":0,"hex_longitude":"2d17ee00","hex_latitude":"072177f8","is_valid_coordinates":true} 
[2026-07-07 17:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557145600001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724315737955760128,"note":"Value kept but may cause issues"} 
[2026-07-07 17:43:39] 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-07-07 17:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783426350000,"timestamp_ms":1783426350000,"timestamp_seconds":1783426350,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7e7bb0"} 
[2026-07-07 17:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:43: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-07-07 17:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 17:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557145600001,"66":2155,"122":206,"28":31744,"24":0,"16":4725623666769920,"45":1724315737955760128},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557145600001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:43:39] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:43:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724315737955760128,"description":"Unknown IO ID 45"} 
[2026-07-07 17:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557145600001,"power":2155,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1724315737955760128}} 
[2026-07-07 17:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":125442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:43:39] local.INFO: GPS data processed {"connection_id":125442,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:43:39] local.INFO: Acknowledgment sent {"connection_id":125442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:43:58] local.INFO: TCP Data received {"connection_id":125443,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:43:58] local.INFO: Processing buffer {"connection_id":125443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:43:58] local.INFO: IMEI packet received {"connection_id":125443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":125443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:44:03] local.INFO: TCP Data received {"connection_id":125443,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:44:03] local.INFO: Processing buffer {"connection_id":125443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:44:03] local.INFO: IMEI packet received {"connection_id":125443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":125443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:44:04] local.INFO: TCP Data received {"connection_id":125441,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7f2f60012d82638005d960f8000900a128..."} 
[2026-07-07 17:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7f2f60012d82638005d960f8000900a128..."} 
[2026-07-07 17:44:04] local.INFO: Processing buffer {"connection_id":125441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7f2f60012d82638005d960f8000900a128..."} 
[2026-07-07 17:44:04] local.INFO: Packet analysis {"connection_id":125441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:44:04] local.INFO: Extracted packet for processing {"connection_id":125441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:44:04] local.INFO: GPS Element Parsed {"raw_longitude":763519872,"raw_latitude":98132216,"longitude_deg":76.3519872,"latitude_deg":9.8132216,"altitude":9,"angle":161,"satellites":40,"speed":51,"hex_longitude":"2d826380","hex_latitude":"05d960f8","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557155584001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103437612944982016,"note":"Value kept but may cause issues"} 
[2026-07-07 17:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9053712969518272512,"note":"Value kept but may cause issues"} 
[2026-07-07 17:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783426396000,"timestamp_ms":1783426396000,"timestamp_seconds":1783426396,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7f2f60"} 
[2026-07-07 17:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-07 17:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557155584001,"66":13178,"69":206,"85":15104,"24":51,"16":103437612944982016,"45":-9053712969518272512},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-07-07 17:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557155584001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:44:04] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-07 17:44:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103437612944982016,"km_value":103437612944982.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9053712969518272512,"description":"Unknown IO ID 45"} 
[2026-07-07 17:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557155584001,"power":13178,"unknown_69":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":-9053712969518272512}} 
[2026-07-07 17:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":125441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:44:04] local.INFO: GPS data processed {"connection_id":125441,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:44:04] local.INFO: Acknowledgment sent {"connection_id":125441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:44:04] local.INFO: TCP Data received {"connection_id":125443,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:44:04] local.INFO: Processing buffer {"connection_id":125443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:44:04] local.INFO: Packet analysis {"connection_id":125443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:44:04] local.INFO: Extracted packet for processing {"connection_id":125443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:44:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557049344001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052887798661015552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783426276000,"timestamp_ms":1783426276000,"timestamp_seconds":1783426276,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7d5aa0"} 
[2026-07-07 17:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 17:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557049344001,"66":26223,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052887798661015552},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557049344001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:44:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:44:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052887798661015552,"description":"Unknown IO ID 45"} 
[2026-07-07 17:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557049344001,"power":26223,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052887798661015552}} 
[2026-07-07 17:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":125443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:44:04] local.INFO: GPS data processed {"connection_id":125443,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:44:04] local.INFO: Acknowledgment sent {"connection_id":125443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:44:10] local.INFO: TCP Data received {"connection_id":125442,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7e7bb0012d17ee00072177f8004700e12c..."} 
[2026-07-07 17:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7e7bb0012d17ee00072177f8004700e12c..."} 
[2026-07-07 17:44:10] local.INFO: Processing buffer {"connection_id":125442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7e7bb0012d17ee00072177f8004700e12c..."} 
[2026-07-07 17:44:10] local.INFO: Packet analysis {"connection_id":125442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7e"} 
[2026-07-07 17:44:10] local.INFO: Extracted packet for processing {"connection_id":125442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7e"} 
[2026-07-07 17:44:10] local.INFO: GPS Element Parsed {"raw_longitude":756542976,"raw_latitude":119633912,"longitude_deg":75.6542976,"latitude_deg":11.9633912,"altitude":71,"angle":225,"satellites":44,"speed":0,"hex_longitude":"2d17ee00","hex_latitude":"072177f8","is_valid_coordinates":true} 
[2026-07-07 17:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557145600001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724315737955760128,"note":"Value kept but may cause issues"} 
[2026-07-07 17:44:10] 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-07-07 17:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783426350000,"timestamp_ms":1783426350000,"timestamp_seconds":1783426350,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7e7bb0"} 
[2026-07-07 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-07-07 17:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 17:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 17:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557145600001,"66":2155,"122":206,"28":31744,"24":0,"16":4725623666769920,"45":1724315737955760128},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557145600001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:44:10] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:44:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724315737955760128,"description":"Unknown IO ID 45"} 
[2026-07-07 17:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557145600001,"power":2155,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1724315737955760128}} 
[2026-07-07 17:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":125442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:44:11] local.INFO: GPS data processed {"connection_id":125442,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:44:11] local.INFO: Acknowledgment sent {"connection_id":125442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:44:26] local.INFO: TCP Data received {"connection_id":124723,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:44:26] local.INFO: Processing buffer {"connection_id":124723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:44:26] local.INFO: IMEI packet received {"connection_id":124723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":124723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:44:31] local.INFO: TCP Data received {"connection_id":124723,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:44:31] local.INFO: Processing buffer {"connection_id":124723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:44:31] local.INFO: IMEI packet received {"connection_id":124723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":124723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:44:32] local.INFO: TCP Data received {"connection_id":124723,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7f4ab8012d82708005d93f300009009e2a..."} 
[2026-07-07 17:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7f4ab8012d82708005d93f300009009e2a..."} 
[2026-07-07 17:44:32] local.INFO: Processing buffer {"connection_id":124723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7f4ab8012d82708005d93f300009009e2a..."} 
[2026-07-07 17:44:32] local.INFO: Packet analysis {"connection_id":124723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:44:32] local.INFO: Extracted packet for processing {"connection_id":124723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763523200,"raw_latitude":98123568,"longitude_deg":76.35232,"latitude_deg":9.8123568,"altitude":9,"angle":158,"satellites":42,"speed":52,"hex_longitude":"2d827080","hex_latitude":"05d93f30","is_valid_coordinates":true} 
[2026-07-07 17:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557157376001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103438059621580800,"note":"Value kept but may cause issues"} 
[2026-07-07 17:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9051250063474362368,"note":"Value kept but may cause issues"} 
[2026-07-07 17:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783426403000,"timestamp_ms":1783426403000,"timestamp_seconds":1783426403,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7f4ab8"} 
[2026-07-07 17:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 17:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557157376001,"66":13363,"69":206,"85":15104,"24":52,"16":103438059621580800,"45":-9051250063474362368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-07-07 17:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557157376001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:44:32] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-07 17:44:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103438059621580800,"km_value":103438059621580.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9051250063474362368,"description":"Unknown IO ID 45"} 
[2026-07-07 17:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557157376001,"power":13363,"unknown_69":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":-9051250063474362368}} 
[2026-07-07 17:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":124723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:44:32] local.INFO: GPS data processed {"connection_id":124723,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:44:32] local.INFO: Acknowledgment sent {"connection_id":124723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:44:34] local.INFO: TCP Data received {"connection_id":125444,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:44:34] local.INFO: Processing buffer {"connection_id":125444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:44:34] local.INFO: IMEI packet received {"connection_id":125444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":125444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:44:35] local.INFO: TCP Data received {"connection_id":125444,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:44:35] local.INFO: Processing buffer {"connection_id":125444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:44:35] local.INFO: IMEI packet received {"connection_id":125444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":125444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:44:35] local.INFO: TCP Data received {"connection_id":125443,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:44:35] local.INFO: Processing buffer {"connection_id":125443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:44:35] local.INFO: Packet analysis {"connection_id":125443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:44:35] local.INFO: Extracted packet for processing {"connection_id":125443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:44:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557049344001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052887798661015552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783426276000,"timestamp_ms":1783426276000,"timestamp_seconds":1783426276,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7d5aa0"} 
[2026-07-07 17:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 17:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557049344001,"66":26223,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052887798661015552},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557049344001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:44:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:44:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052887798661015552,"description":"Unknown IO ID 45"} 
[2026-07-07 17:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557049344001,"power":26223,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052887798661015552}} 
[2026-07-07 17:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":125443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:44:35] local.INFO: GPS data processed {"connection_id":125443,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:44:35] local.INFO: Acknowledgment sent {"connection_id":125443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:44:39] local.INFO: TCP Data received {"connection_id":125444,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:44:39] local.INFO: Processing buffer {"connection_id":125444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:44:39] local.INFO: IMEI packet received {"connection_id":125444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":125444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:44:40] local.INFO: TCP Data received {"connection_id":125444,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7e9320012d17eec0072179b8004701672d..."} 
[2026-07-07 17:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7e9320012d17eec0072179b8004701672d..."} 
[2026-07-07 17:44:40] local.INFO: Processing buffer {"connection_id":125444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7e9320012d17eec0072179b8004701672d..."} 
[2026-07-07 17:44:40] local.INFO: Packet analysis {"connection_id":125444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7e"} 
[2026-07-07 17:44:40] local.INFO: Extracted packet for processing {"connection_id":125444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7e"} 
[2026-07-07 17:44:40] local.INFO: GPS Element Parsed {"raw_longitude":756543168,"raw_latitude":119634360,"longitude_deg":75.6543168,"latitude_deg":11.963436,"altitude":71,"angle":359,"satellites":45,"speed":0,"hex_longitude":"2d17eec0","hex_latitude":"072179b8","is_valid_coordinates":true} 
[2026-07-07 17:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557145600001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724315737955760128,"note":"Value kept but may cause issues"} 
[2026-07-07 17:44:40] 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-07-07 17:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783426356000,"timestamp_ms":1783426356000,"timestamp_seconds":1783426356,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7e9320"} 
[2026-07-07 17:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 17:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557145600001,"66":12178,"122":206,"28":31744,"24":0,"16":4725623666769920,"45":1724315737955760128},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557145600001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:44:40] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:44:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724315737955760128,"description":"Unknown IO ID 45"} 
[2026-07-07 17:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557145600001,"power":12178,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1724315737955760128}} 
[2026-07-07 17:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":125444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:44:40] local.INFO: GPS data processed {"connection_id":125444,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:44:40] local.INFO: Acknowledgment sent {"connection_id":125444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:44:59] local.INFO: TCP Data received {"connection_id":124724,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:44:59] local.INFO: Processing buffer {"connection_id":124724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:44:59] local.INFO: IMEI packet received {"connection_id":124724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":124724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:45:03] local.INFO: TCP Data received {"connection_id":124723,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7f6610012d827d4005d91cc8000900a328..."} 
[2026-07-07 17:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7f6610012d827d4005d91cc8000900a328..."} 
[2026-07-07 17:45:03] local.INFO: Processing buffer {"connection_id":124723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7f6610012d827d4005d91cc8000900a328..."} 
[2026-07-07 17:45:03] local.INFO: Packet analysis {"connection_id":124723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:45:03] local.INFO: Extracted packet for processing {"connection_id":124723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:45:03] local.INFO: GPS Element Parsed {"raw_longitude":763526464,"raw_latitude":98114760,"longitude_deg":76.3526464,"latitude_deg":9.811476,"altitude":9,"angle":163,"satellites":40,"speed":52,"hex_longitude":"2d827d40","hex_latitude":"05d91cc8","is_valid_coordinates":true} 
[2026-07-07 17:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557159168001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103438514888114176,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9047590888779337728,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783426410000,"timestamp_ms":1783426410000,"timestamp_seconds":1783426410,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7f6610"} 
[2026-07-07 17:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 17:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:45: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-07-07 17:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557159168001,"66":13091,"69":206,"85":15104,"24":52,"16":103438514888114176,"45":-9047590888779337728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-07-07 17:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557159168001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:45:03] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-07 17:45:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103438514888114176,"km_value":103438514888114.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9047590888779337728,"description":"Unknown IO ID 45"} 
[2026-07-07 17:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557159168001,"power":13091,"unknown_69":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":-9047590888779337728}} 
[2026-07-07 17:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":124723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:45:03] local.INFO: GPS data processed {"connection_id":124723,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:45:03] local.INFO: Acknowledgment sent {"connection_id":124723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:45:03] local.INFO: TCP Data received {"connection_id":124724,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:45:03] local.INFO: Processing buffer {"connection_id":124724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:45:03] local.INFO: IMEI packet received {"connection_id":124724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":124724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:45:04] local.INFO: TCP Data received {"connection_id":124724,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:45:04] local.INFO: Processing buffer {"connection_id":124724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:45:04] local.INFO: Packet analysis {"connection_id":124724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:45:04] local.INFO: Extracted packet for processing {"connection_id":124724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:45:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557049344001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052887798661015552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783426276000,"timestamp_ms":1783426276000,"timestamp_seconds":1783426276,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7d5aa0"} 
[2026-07-07 17:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 17:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557049344001,"66":26223,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052887798661015552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557049344001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:45:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:45:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052887798661015552,"description":"Unknown IO ID 45"} 
[2026-07-07 17:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557049344001,"power":26223,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052887798661015552}} 
[2026-07-07 17:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":124724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:45:04] local.INFO: GPS data processed {"connection_id":124724,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:45:04] local.INFO: Acknowledgment sent {"connection_id":124724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:45:12] local.INFO: TCP Data received {"connection_id":125444,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7ee528012d17eec0072179b8004701672e..."} 
[2026-07-07 17:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7ee528012d17eec0072179b8004701672e..."} 
[2026-07-07 17:45:12] local.INFO: Processing buffer {"connection_id":125444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7ee528012d17eec0072179b8004701672e..."} 
[2026-07-07 17:45:12] local.INFO: Packet analysis {"connection_id":125444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7e"} 
[2026-07-07 17:45:12] local.INFO: Extracted packet for processing {"connection_id":125444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7e"} 
[2026-07-07 17:45:12] local.INFO: GPS Element Parsed {"raw_longitude":756543168,"raw_latitude":119634360,"longitude_deg":75.6543168,"latitude_deg":11.963436,"altitude":71,"angle":359,"satellites":46,"speed":0,"hex_longitude":"2d17eec0","hex_latitude":"072179b8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 17:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557147136001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725623666769920,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724526844188407808,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783426377000,"timestamp_ms":1783426377000,"timestamp_seconds":1783426377,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7ee528"} 
[2026-07-07 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-07-07 17:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 17:45: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-07-07 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-07-07 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-07-07 17:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557147136001,"66":14113,"122":206,"28":31744,"24":0,"16":4725623666769920,"45":1724526844188407808},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557147136001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:45:12] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:45:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725623666769920,"km_value":4725623666769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724526844188407808,"description":"Unknown IO ID 45"} 
[2026-07-07 17:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557147136001,"power":14113,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1724526844188407808}} 
[2026-07-07 17:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":125444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:45:12] local.INFO: GPS data processed {"connection_id":125444,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:45:12] local.INFO: Acknowledgment sent {"connection_id":125444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:45:26] local.INFO: TCP Data received {"connection_id":124725,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:45:26] local.INFO: Processing buffer {"connection_id":124725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:45:26] local.INFO: IMEI packet received {"connection_id":124725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":124725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:45:27] local.INFO: TCP Data received {"connection_id":124725,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:45:27] local.INFO: Processing buffer {"connection_id":124725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:45:27] local.INFO: IMEI packet received {"connection_id":124725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":124725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:45:31] local.INFO: TCP Data received {"connection_id":124725,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:45:31] local.INFO: Processing buffer {"connection_id":124725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:45:31] local.INFO: IMEI packet received {"connection_id":124725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":124725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:45:32] local.INFO: TCP Data received {"connection_id":124725,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7f8938012d82830005d90078000900b02a..."} 
[2026-07-07 17:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7f8938012d82830005d90078000900b02a..."} 
[2026-07-07 17:45:32] local.INFO: Processing buffer {"connection_id":124725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7f8938012d82830005d90078000900b02a..."} 
[2026-07-07 17:45:32] local.INFO: Packet analysis {"connection_id":124725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:45:32] local.INFO: Extracted packet for processing {"connection_id":124725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763527936,"raw_latitude":98107512,"longitude_deg":76.3527936,"latitude_deg":9.8107512,"altitude":9,"angle":176,"satellites":42,"speed":8,"hex_longitude":"2d828300","hex_latitude":"05d90078","is_valid_coordinates":true} 
[2026-07-07 17:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557160960001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103438875665367040,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044002082828531712,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783426419000,"timestamp_ms":1783426419000,"timestamp_seconds":1783426419,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7f8938"} 
[2026-07-07 17:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:45: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-07-07 17:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 17:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557160960001,"66":13276,"69":206,"85":15104,"24":8,"16":103438875665367040,"45":-9044002082828531712},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-07-07 17:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557160960001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:45:32] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-07 17:45:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103438875665367040,"km_value":103438875665367.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044002082828531712,"description":"Unknown IO ID 45"} 
[2026-07-07 17:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557160960001,"power":13276,"unknown_69":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9044002082828531712}} 
[2026-07-07 17:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":124725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:45:32] local.INFO: GPS data processed {"connection_id":124725,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:45:32] local.INFO: Acknowledgment sent {"connection_id":124725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:45:35] local.INFO: TCP Data received {"connection_id":124724,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:45:35] local.INFO: Processing buffer {"connection_id":124724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:45:35] local.INFO: Packet analysis {"connection_id":124724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:45:35] local.INFO: Extracted packet for processing {"connection_id":124724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:45:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557049344001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052887798661015552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783426276000,"timestamp_ms":1783426276000,"timestamp_seconds":1783426276,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7d5aa0"} 
[2026-07-07 17:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 17:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557049344001,"66":26223,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052887798661015552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557049344001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:45:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:45:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052887798661015552,"description":"Unknown IO ID 45"} 
[2026-07-07 17:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557049344001,"power":26223,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052887798661015552}} 
[2026-07-07 17:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":124724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:45:35] local.INFO: GPS data processed {"connection_id":124724,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:45:35] local.INFO: Acknowledgment sent {"connection_id":124724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:45:39] local.INFO: TCP Data received {"connection_id":126692,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:45:39] local.INFO: Processing buffer {"connection_id":126692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:45:39] local.INFO: IMEI packet received {"connection_id":126692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":126692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:45:44] local.INFO: TCP Data received {"connection_id":126692,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:45:44] local.INFO: Processing buffer {"connection_id":126692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:45:44] local.INFO: IMEI packet received {"connection_id":126692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":126692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:45:45] local.INFO: TCP Data received {"connection_id":126692,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7f3348012d17ef40072178c0004a00c72d..."} 
[2026-07-07 17:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7f3348012d17ef40072178c0004a00c72d..."} 
[2026-07-07 17:45:45] local.INFO: Processing buffer {"connection_id":126692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7f3348012d17ef40072178c0004a00c72d..."} 
[2026-07-07 17:45:45] local.INFO: Packet analysis {"connection_id":126692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:45:45] local.INFO: Extracted packet for processing {"connection_id":126692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756543296,"raw_latitude":119634112,"longitude_deg":75.6543296,"latitude_deg":11.9634112,"altitude":74,"angle":199,"satellites":45,"speed":1,"hex_longitude":"2d17ef40","hex_latitude":"072178c0","is_valid_coordinates":true} 
[2026-07-07 17:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557152512001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725636551671808,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724526844188407808,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:45] 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-07-07 17:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783426397000,"timestamp_ms":1783426397000,"timestamp_seconds":1783426397,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7f3348"} 
[2026-07-07 17:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 17:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":126692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":126692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":126692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557152512001,"66":13993,"122":206,"28":31744,"24":1,"16":4725636551671808,"45":1724526844188407808},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557152512001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:45:45] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:45:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725636551671808,"km_value":4725636551671.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724526844188407808,"description":"Unknown IO ID 45"} 
[2026-07-07 17:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557152512001,"power":13993,"unknown_122":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1724526844188407808}} 
[2026-07-07 17:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":126692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:45:45] local.INFO: GPS data processed {"connection_id":126692,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:45:45] local.INFO: Acknowledgment sent {"connection_id":126692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:45:49] local.INFO: TCP Data received {"connection_id":126692,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7f4ea0012d17efc0072179a0004a00312d..."} 
[2026-07-07 17:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7f4ea0012d17efc0072179a0004a00312d..."} 
[2026-07-07 17:45:49] local.INFO: Processing buffer {"connection_id":126692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7f4ea0012d17efc0072179a0004a00312d..."} 
[2026-07-07 17:45:49] local.INFO: Packet analysis {"connection_id":126692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:45:49] local.INFO: Extracted packet for processing {"connection_id":126692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:45:49] local.INFO: GPS Element Parsed {"raw_longitude":756543424,"raw_latitude":119634336,"longitude_deg":75.6543424,"latitude_deg":11.9634336,"altitude":74,"angle":49,"satellites":45,"speed":5,"hex_longitude":"2d17efc0","hex_latitude":"072179a0","is_valid_coordinates":true} 
[2026-07-07 17:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557157632001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725658026508288,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724667581676699648,"note":"Value kept but may cause issues"} 
[2026-07-07 17:45:49] 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-07-07 17:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783426404000,"timestamp_ms":1783426404000,"timestamp_seconds":1783426404,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7f4ea0"} 
[2026-07-07 17:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-07 17:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":126692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":126692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":126692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557157632001,"66":13515,"122":206,"28":31744,"24":5,"16":4725658026508288,"45":1724667581676699648},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 17:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557157632001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:45:49] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 17:45:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725658026508288,"km_value":4725658026508.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724667581676699648,"description":"Unknown IO ID 45"} 
[2026-07-07 17:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557157632001,"power":13515,"unknown_122":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1724667581676699648}} 
[2026-07-07 17:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":126692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:45:49] local.INFO: GPS data processed {"connection_id":126692,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:45:49] local.INFO: Acknowledgment sent {"connection_id":126692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:45:58] local.INFO: TCP Data received {"connection_id":124727,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:45:58] local.INFO: Processing buffer {"connection_id":124727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:45:58] local.INFO: IMEI packet received {"connection_id":124727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":124727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:46:03] local.INFO: TCP Data received {"connection_id":124725,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7fd758012d82840005d8ea40000b00af27..."} 
[2026-07-07 17:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7fd758012d82840005d8ea40000b00af27..."} 
[2026-07-07 17:46:03] local.INFO: Processing buffer {"connection_id":124725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7fd758012d82840005d8ea40000b00af27..."} 
[2026-07-07 17:46:03] local.INFO: Packet analysis {"connection_id":124725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:46:03] local.INFO: Extracted packet for processing {"connection_id":124725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:46:03] local.INFO: GPS Element Parsed {"raw_longitude":763528192,"raw_latitude":98101824,"longitude_deg":76.3528192,"latitude_deg":9.8101824,"altitude":11,"angle":175,"satellites":39,"speed":34,"hex_longitude":"2d828400","hex_latitude":"05d8ea40","is_valid_coordinates":true} 
[2026-07-07 17:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557163264001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103439150543273984,"note":"Value kept but may cause issues"} 
[2026-07-07 17:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042383601714300928,"note":"Value kept but may cause issues"} 
[2026-07-07 17:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783426439000,"timestamp_ms":1783426439000,"timestamp_seconds":1783426439,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7fd758"} 
[2026-07-07 17:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 17:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:46: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-07-07 17:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557163264001,"66":13319,"49":206,"85":15104,"24":34,"16":103439150543273984,"45":-9042383601714300928},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-07 17:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557163264001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:46:03] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-07 17:46:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103439150543273984,"km_value":103439150543273.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042383601714300928,"description":"Unknown IO ID 45"} 
[2026-07-07 17:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557163264001,"power":13319,"unknown_49":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9042383601714300928}} 
[2026-07-07 17:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":124725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:46:03] local.INFO: GPS data processed {"connection_id":124725,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:46:03] local.INFO: Acknowledgment sent {"connection_id":124725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:46:03] local.INFO: TCP Data received {"connection_id":124727,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:46:03] local.INFO: Processing buffer {"connection_id":124727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:46:03] local.INFO: IMEI packet received {"connection_id":124727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":124727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:46:04] local.INFO: TCP Data received {"connection_id":124727,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:46:04] local.INFO: Processing buffer {"connection_id":124727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:46:04] local.INFO: Packet analysis {"connection_id":124727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:46:04] local.INFO: Extracted packet for processing {"connection_id":124727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:46:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557049344001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052887798661015552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783426276000,"timestamp_ms":1783426276000,"timestamp_seconds":1783426276,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7d5aa0"} 
[2026-07-07 17:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 17:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557049344001,"66":26223,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052887798661015552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557049344001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:46:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:46:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052887798661015552,"description":"Unknown IO ID 45"} 
[2026-07-07 17:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557049344001,"power":26223,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052887798661015552}} 
[2026-07-07 17:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":124727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:46:04] local.INFO: GPS data processed {"connection_id":124727,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:46:04] local.INFO: Acknowledgment sent {"connection_id":124727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:46:26] local.INFO: TCP Data received {"connection_id":126693,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:46:26] local.INFO: Processing buffer {"connection_id":126693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:46:26] local.INFO: IMEI packet received {"connection_id":126693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":126693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:46:31] local.INFO: TCP Data received {"connection_id":126693,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:46:31] local.INFO: Processing buffer {"connection_id":126693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:46:31] local.INFO: IMEI packet received {"connection_id":126693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":126693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:46:32] local.INFO: TCP Data received {"connection_id":124728,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:46:32] local.INFO: Processing buffer {"connection_id":124728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:46:32] local.INFO: IMEI packet received {"connection_id":124728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":124728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:46:32] local.INFO: TCP Data received {"connection_id":126693,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c81b7d0012d829f4005d83ca0000c00b527..."} 
[2026-07-07 17:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c81b7d0012d829f4005d83ca0000c00b527..."} 
[2026-07-07 17:46:32] local.INFO: Processing buffer {"connection_id":126693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c81b7d0012d829f4005d83ca0000c00b527..."} 
[2026-07-07 17:46:32] local.INFO: Packet analysis {"connection_id":126693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:46:32] local.INFO: Extracted packet for processing {"connection_id":126693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763535168,"raw_latitude":98057376,"longitude_deg":76.3535168,"latitude_deg":9.8057376,"altitude":12,"angle":181,"satellites":39,"speed":9,"hex_longitude":"2d829f40","hex_latitude":"05d83ca0","is_valid_coordinates":true} 
[2026-07-07 17:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557199616001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103441362451431424,"note":"Value kept but may cause issues"} 
[2026-07-07 17:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034431933635006464,"note":"Value kept but may cause issues"} 
[2026-07-07 17:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783426562000,"timestamp_ms":1783426562000,"timestamp_seconds":1783426562,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c81b7d0"} 
[2026-07-07 17:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557199616001,"66":13048,"155":206,"85":15104,"24":9,"16":103441362451431424,"45":-9034431933635006464},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-07 17:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557199616001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:46:32] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-07 17:46:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103441362451431424,"km_value":103441362451431.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034431933635006464,"description":"Unknown IO ID 45"} 
[2026-07-07 17:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557199616001,"power":13048,"unknown_155":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9034431933635006464}} 
[2026-07-07 17:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":126693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:46:32] local.INFO: GPS data processed {"connection_id":126693,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:46:32] local.INFO: Acknowledgment sent {"connection_id":126693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:46:33] local.INFO: TCP Data received {"connection_id":124728,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:46:33] local.INFO: Processing buffer {"connection_id":124728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:46:33] local.INFO: IMEI packet received {"connection_id":124728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":124728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:46:35] local.INFO: TCP Data received {"connection_id":124727,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:46:35] local.INFO: Processing buffer {"connection_id":124727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7d5aa0012dc7c300052e4b200017002a2b..."} 
[2026-07-07 17:46:35] local.INFO: Packet analysis {"connection_id":124727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:46:35] local.INFO: Extracted packet for processing {"connection_id":124727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7d"} 
[2026-07-07 17:46:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557049344001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052887798661015552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783426276000,"timestamp_ms":1783426276000,"timestamp_seconds":1783426276,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7d5aa0"} 
[2026-07-07 17:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 17:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557049344001,"66":26223,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052887798661015552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557049344001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:46:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:46:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052887798661015552,"description":"Unknown IO ID 45"} 
[2026-07-07 17:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557049344001,"power":26223,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052887798661015552}} 
[2026-07-07 17:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":124727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:46:35] local.INFO: GPS data processed {"connection_id":124727,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:46:35] local.INFO: Acknowledgment sent {"connection_id":124727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:46:38] local.INFO: TCP Data received {"connection_id":124728,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:46:38] local.INFO: Processing buffer {"connection_id":124728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:46:38] local.INFO: IMEI packet received {"connection_id":124728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":124728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:46:39] local.INFO: TCP Data received {"connection_id":124728,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7fa0a8012d18014007218688004a00352d..."} 
[2026-07-07 17:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7fa0a8012d18014007218688004a00352d..."} 
[2026-07-07 17:46:40] local.INFO: Processing buffer {"connection_id":124728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7fa0a8012d18014007218688004a00352d..."} 
[2026-07-07 17:46:40] local.INFO: Packet analysis {"connection_id":124728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:46:40] local.INFO: Extracted packet for processing {"connection_id":124728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:46:40] local.INFO: GPS Element Parsed {"raw_longitude":756547904,"raw_latitude":119637640,"longitude_deg":75.6547904,"latitude_deg":11.963764,"altitude":74,"angle":53,"satellites":45,"speed":28,"hex_longitude":"2d180140","hex_latitude":"07218688","is_valid_coordinates":true} 
[2026-07-07 17:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557159424001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725924314480640,"note":"Value kept but may cause issues"} 
[2026-07-07 17:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724808319165112320,"note":"Value kept but may cause issues"} 
[2026-07-07 17:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783426425000,"timestamp_ms":1783426425000,"timestamp_seconds":1783426425,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7fa0a8"} 
[2026-07-07 17:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-07 17:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557159424001,"66":12852,"120":206,"28":31744,"24":28,"16":4725924314480640,"45":1724808319165112320},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557159424001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:46:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:46:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725924314480640,"km_value":4725924314480.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724808319165112320,"description":"Unknown IO ID 45"} 
[2026-07-07 17:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557159424001,"power":12852,"unknown_120":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1724808319165112320}} 
[2026-07-07 17:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":124728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:46:40] local.INFO: GPS data processed {"connection_id":124728,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:46:40] local.INFO: Acknowledgment sent {"connection_id":124728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:46:44] local.INFO: TCP Data received {"connection_id":124728,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7fb430012d180cc0072191c0004a00282d..."} 
[2026-07-07 17:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7fb430012d180cc0072191c0004a00282d..."} 
[2026-07-07 17:46:44] local.INFO: Processing buffer {"connection_id":124728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7fb430012d180cc0072191c0004a00282d..."} 
[2026-07-07 17:46:44] local.INFO: Packet analysis {"connection_id":124728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:46:44] local.INFO: Extracted packet for processing {"connection_id":124728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:46:44] local.INFO: GPS Element Parsed {"raw_longitude":756550848,"raw_latitude":119640512,"longitude_deg":75.6550848,"latitude_deg":11.9640512,"altitude":74,"angle":40,"satellites":45,"speed":34,"hex_longitude":"2d180cc0","hex_latitude":"072191c0","is_valid_coordinates":true} 
[2026-07-07 17:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557164800001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726121882976256,"note":"Value kept but may cause issues"} 
[2026-07-07 17:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1729734131258394624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783426430000,"timestamp_ms":1783426430000,"timestamp_seconds":1783426430,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7fb430"} 
[2026-07-07 17:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-07 17:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557164800001,"66":12885,"120":206,"28":31744,"24":34,"16":4726121882976256,"45":1729734131258394624},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557164800001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:46:44] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:46:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726121882976256,"km_value":4726121882976.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1729734131258394624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557164800001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1729734131258394624}} 
[2026-07-07 17:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":124728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:46:44] local.INFO: GPS data processed {"connection_id":124728,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:46:44] local.INFO: Acknowledgment sent {"connection_id":124728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:46:58] local.INFO: TCP Data received {"connection_id":125445,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:46:58] local.INFO: Processing buffer {"connection_id":125445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:46:58] local.INFO: IMEI packet received {"connection_id":125445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":125445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:47:03] local.INFO: TCP Data received {"connection_id":126693,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c81e6b0012d82a00005d81830000b00b428..."} 
[2026-07-07 17:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c81e6b0012d82a00005d81830000b00b428..."} 
[2026-07-07 17:47:03] local.INFO: Processing buffer {"connection_id":126693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c81e6b0012d82a00005d81830000b00b428..."} 
[2026-07-07 17:47:03] local.INFO: Packet analysis {"connection_id":126693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:47:03] local.INFO: Extracted packet for processing {"connection_id":126693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:47:03] local.INFO: GPS Element Parsed {"raw_longitude":763535360,"raw_latitude":98048048,"longitude_deg":76.353536,"latitude_deg":9.8048048,"altitude":11,"angle":180,"satellites":40,"speed":36,"hex_longitude":"2d82a000","hex_latitude":"05d81830","is_valid_coordinates":true} 
[2026-07-07 17:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557199872001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103441817717964800,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034431933635059712,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783426574000,"timestamp_ms":1783426574000,"timestamp_seconds":1783426574,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c81e6b0"} 
[2026-07-07 17:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:47: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-07-07 17:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557199872001,"66":13254,"155":206,"85":15104,"24":36,"16":103441817717964800,"45":-9034431933635059712},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-07 17:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557199872001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:47:03] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-07 17:47:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103441817717964800,"km_value":103441817717964.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034431933635059712,"description":"Unknown IO ID 45"} 
[2026-07-07 17:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557199872001,"power":13254,"unknown_155":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9034431933635059712}} 
[2026-07-07 17:47:03] local.INFO: TCP Data received {"connection_id":125445,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:47:03] local.INFO: Processing buffer {"connection_id":125445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:47:03] local.INFO: IMEI packet received {"connection_id":125445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":125445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":126693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:47:03] local.INFO: GPS data processed {"connection_id":126693,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:47:03] local.INFO: Acknowledgment sent {"connection_id":126693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:47:04] local.INFO: TCP Data received {"connection_id":125445,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:47:04] local.INFO: Processing buffer {"connection_id":125445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:47:04] local.INFO: Packet analysis {"connection_id":125445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:47:04] local.INFO: Extracted packet for processing {"connection_id":125445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:47:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557126656001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783426577000,"timestamp_ms":1783426577000,"timestamp_seconds":1783426577,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c81f268"} 
[2026-07-07 17:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 17:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557126656001,"66":25973,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557126656001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:47:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:47:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557126656001,"power":25973,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":125445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:47:04] local.INFO: GPS data processed {"connection_id":125445,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:47:04] local.INFO: Acknowledgment sent {"connection_id":125445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:47:16] local.INFO: TCP Data received {"connection_id":124728,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7fcba0012d1817000721a050004a001c2b..."} 
[2026-07-07 17:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7fcba0012d1817000721a050004a001c2b..."} 
[2026-07-07 17:47:16] local.INFO: Processing buffer {"connection_id":124728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7fcba0012d1817000721a050004a001c2b..."} 
[2026-07-07 17:47:16] local.INFO: Packet analysis {"connection_id":124728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:47:16] local.INFO: Extracted packet for processing {"connection_id":124728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:47:16] local.INFO: GPS Element Parsed {"raw_longitude":756553472,"raw_latitude":119644240,"longitude_deg":75.6553472,"latitude_deg":11.964424,"altitude":74,"angle":28,"satellites":43,"speed":27,"hex_longitude":"2d181700","hex_latitude":"0721a050","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557166080001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726340926308352,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732971093491302400,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783426436000,"timestamp_ms":1783426436000,"timestamp_seconds":1783426436,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7fcba0"} 
[2026-07-07 17:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-07 17:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557166080001,"66":12863,"120":206,"28":31744,"24":27,"16":4726340926308352,"45":1732971093491302400},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557166080001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:47:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:47:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726340926308352,"km_value":4726340926308.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732971093491302400,"description":"Unknown IO ID 45"} 
[2026-07-07 17:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557166080001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1732971093491302400}} 
[2026-07-07 17:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":124728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:47:16] local.INFO: GPS data processed {"connection_id":124728,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:47:16] local.INFO: Acknowledgment sent {"connection_id":124728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:47:27] local.INFO: TCP Data received {"connection_id":124729,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:47:27] local.INFO: Processing buffer {"connection_id":124729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:47:27] local.INFO: IMEI packet received {"connection_id":124729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":124729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:47:31] local.INFO: TCP Data received {"connection_id":124729,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:47:31] local.INFO: Processing buffer {"connection_id":124729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:47:31] local.INFO: IMEI packet received {"connection_id":124729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":124729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:47:32] local.INFO: TCP Data received {"connection_id":124729,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:47:32] local.INFO: Processing buffer {"connection_id":124729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:47:32] local.INFO: IMEI packet received {"connection_id":124729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":124729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:47:33] local.INFO: TCP Data received {"connection_id":124729,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8209d8012d82a0c005d7f488000c00b229..."} 
[2026-07-07 17:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8209d8012d82a0c005d7f488000c00b229..."} 
[2026-07-07 17:47:33] local.INFO: Processing buffer {"connection_id":124729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8209d8012d82a0c005d7f488000c00b229..."} 
[2026-07-07 17:47:33] local.INFO: Packet analysis {"connection_id":124729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c82"} 
[2026-07-07 17:47:33] local.INFO: Extracted packet for processing {"connection_id":124729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c82"} 
[2026-07-07 17:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763535552,"raw_latitude":98038920,"longitude_deg":76.3535552,"latitude_deg":9.803892,"altitude":12,"angle":178,"satellites":41,"speed":44,"hex_longitude":"2d82a0c0","hex_latitude":"05d7f488","is_valid_coordinates":true} 
[2026-07-07 17:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557202944001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103442260099596288,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034220827404914688,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783426583000,"timestamp_ms":1783426583000,"timestamp_seconds":1783426583,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8209d8"} 
[2026-07-07 17:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-07 17:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557202944001,"66":13102,"155":206,"85":15104,"24":44,"16":103442260099596288,"45":-9034220827404914688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-07 17:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557202944001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:47:33] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-07 17:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103442260099596288,"km_value":103442260099596.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034220827404914688,"description":"Unknown IO ID 45"} 
[2026-07-07 17:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557202944001,"power":13102,"unknown_155":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9034220827404914688}} 
[2026-07-07 17:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":124729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:47:33] local.INFO: GPS data processed {"connection_id":124729,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:47:33] local.INFO: Acknowledgment sent {"connection_id":124729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:47:34] local.INFO: TCP Data received {"connection_id":124730,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:47:34] local.INFO: Processing buffer {"connection_id":124730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:47:34] local.INFO: IMEI packet received {"connection_id":124730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":124730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:47:35] local.INFO: TCP Data received {"connection_id":124730,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:47:35] local.INFO: Processing buffer {"connection_id":124730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:47:35] local.INFO: IMEI packet received {"connection_id":124730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":124730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:47:35] local.INFO: TCP Data received {"connection_id":125445,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:47:35] local.INFO: Processing buffer {"connection_id":125445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:47:35] local.INFO: Packet analysis {"connection_id":125445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:47:35] local.INFO: Extracted packet for processing {"connection_id":125445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:47:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557126656001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783426577000,"timestamp_ms":1783426577000,"timestamp_seconds":1783426577,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c81f268"} 
[2026-07-07 17:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 17:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557126656001,"66":25973,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557126656001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:47:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:47:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557126656001,"power":25973,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":125445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:47:35] local.INFO: GPS data processed {"connection_id":125445,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:47:35] local.INFO: Acknowledgment sent {"connection_id":125445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:47:36] local.INFO: TCP Data received {"connection_id":124729,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c822918012d82a24005d7cfc8000b00b027..."} 
[2026-07-07 17:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c822918012d82a24005d7cfc8000b00b027..."} 
[2026-07-07 17:47:36] local.INFO: Processing buffer {"connection_id":124729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c822918012d82a24005d7cfc8000b00b027..."} 
[2026-07-07 17:47:36] local.INFO: Packet analysis {"connection_id":124729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c82"} 
[2026-07-07 17:47:36] local.INFO: Extracted packet for processing {"connection_id":124729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c82"} 
[2026-07-07 17:47:36] local.INFO: GPS Element Parsed {"raw_longitude":763535936,"raw_latitude":98029512,"longitude_deg":76.3535936,"latitude_deg":9.8029512,"altitude":11,"angle":176,"satellites":39,"speed":48,"hex_longitude":"2d82a240","hex_latitude":"05d7cfc8","is_valid_coordinates":true} 
[2026-07-07 17:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557205248001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103442715366129664,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034009721174718464,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783426591000,"timestamp_ms":1783426591000,"timestamp_seconds":1783426591,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c822918"} 
[2026-07-07 17:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-07 17:47: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-07-07 17:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:47: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-07-07 17:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557205248001,"66":12765,"155":206,"85":15104,"24":48,"16":103442715366129664,"45":-9034009721174718464},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-07 17:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557205248001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:47:36] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-07 17:47:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103442715366129664,"km_value":103442715366129.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034009721174718464,"description":"Unknown IO ID 45"} 
[2026-07-07 17:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557205248001,"power":12765,"unknown_155":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9034009721174718464}} 
[2026-07-07 17:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":124729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:47:37] local.INFO: GPS data processed {"connection_id":124729,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:47:37] local.INFO: Acknowledgment sent {"connection_id":124729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:47:38] local.INFO: TCP Data received {"connection_id":124730,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:47:38] local.INFO: Processing buffer {"connection_id":124730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:47:38] local.INFO: IMEI packet received {"connection_id":124730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":124730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:47:40] local.INFO: TCP Data received {"connection_id":124730,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7feae0012d1820c00721ae00004b002d25..."} 
[2026-07-07 17:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7feae0012d1820c00721ae00004b002d25..."} 
[2026-07-07 17:47:40] local.INFO: Processing buffer {"connection_id":124730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7feae0012d1820c00721ae00004b002d25..."} 
[2026-07-07 17:47:40] local.INFO: Packet analysis {"connection_id":124730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:47:40] local.INFO: Extracted packet for processing {"connection_id":124730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:47:40] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119647744,"longitude_deg":75.6555968,"latitude_deg":11.9647744,"altitude":75,"angle":45,"satellites":37,"speed":15,"hex_longitude":"2d1820c0","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-07-07 17:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557167616001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726547084738560,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735856212003540992,"note":"Value kept but may cause issues"} 
[2026-07-07 17:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783426444000,"timestamp_ms":1783426444000,"timestamp_seconds":1783426444,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7feae0"} 
[2026-07-07 17:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 17:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557167616001,"66":12841,"120":206,"28":31744,"24":15,"16":4726547084738560,"45":1735856212003540992},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557167616001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:47:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:47:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726547084738560,"km_value":4726547084738.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735856212003540992,"description":"Unknown IO ID 45"} 
[2026-07-07 17:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557167616001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1735856212003540992}} 
[2026-07-07 17:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":124730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:47:40] local.INFO: GPS data processed {"connection_id":124730,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:47:40] local.INFO: Acknowledgment sent {"connection_id":124730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:47:58] local.INFO: TCP Data received {"connection_id":125446,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:47:58] local.INFO: Processing buffer {"connection_id":125446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:47:58] local.INFO: IMEI packet received {"connection_id":125446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":125446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:48:03] local.INFO: TCP Data received {"connection_id":125446,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:48:03] local.INFO: Processing buffer {"connection_id":125446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:48:03] local.INFO: IMEI packet received {"connection_id":125446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":125446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:48:04] local.INFO: TCP Data received {"connection_id":125446,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:48:04] local.INFO: Processing buffer {"connection_id":125446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:48:04] local.INFO: Packet analysis {"connection_id":125446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:48:04] local.INFO: Extracted packet for processing {"connection_id":125446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:48:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557126656001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783426577000,"timestamp_ms":1783426577000,"timestamp_seconds":1783426577,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c81f268"} 
[2026-07-07 17:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 17:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557126656001,"66":25973,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557126656001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:48:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:48:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557126656001,"power":25973,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":125446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:48:04] local.INFO: GPS data processed {"connection_id":125446,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:48:04] local.INFO: Acknowledgment sent {"connection_id":125446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:48:08] local.INFO: TCP Data received {"connection_id":124729,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c824858012d82a44005d7ac00000b00b028..."} 
[2026-07-07 17:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c824858012d82a44005d7ac00000b00b028..."} 
[2026-07-07 17:48:08] local.INFO: Processing buffer {"connection_id":124729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c824858012d82a44005d7ac00000b00b028..."} 
[2026-07-07 17:48:08] local.INFO: Packet analysis {"connection_id":124729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c82"} 
[2026-07-07 17:48:08] local.INFO: Extracted packet for processing {"connection_id":124729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c82"} 
[2026-07-07 17:48:08] local.INFO: GPS Element Parsed {"raw_longitude":763536448,"raw_latitude":98020352,"longitude_deg":76.3536448,"latitude_deg":9.8020352,"altitude":11,"angle":176,"satellites":40,"speed":43,"hex_longitude":"2d82a440","hex_latitude":"05d7ac00","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557207296001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103443162042728448,"note":"Value kept but may cause issues"} 
[2026-07-07 17:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033587508712060928,"note":"Value kept but may cause issues"} 
[2026-07-07 17:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783426599000,"timestamp_ms":1783426599000,"timestamp_seconds":1783426599,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c824858"} 
[2026-07-07 17:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:48: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-07-07 17:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 17:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17: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-07-07 17:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557207296001,"66":13243,"155":206,"85":15104,"24":43,"16":103443162042728448,"45":-9033587508712060928},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-07 17:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557207296001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:48:08] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-07 17:48:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103443162042728448,"km_value":103443162042728.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033587508712060928,"description":"Unknown IO ID 45"} 
[2026-07-07 17:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557207296001,"power":13243,"unknown_155":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9033587508712060928}} 
[2026-07-07 17:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":124729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:48:08] local.INFO: GPS data processed {"connection_id":124729,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:48:08] local.INFO: Acknowledgment sent {"connection_id":124729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:48:12] local.INFO: TCP Data received {"connection_id":124730,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7ff2b0012d1822c00721af98004c003e26..."} 
[2026-07-07 17:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7ff2b0012d1822c00721af98004c003e26..."} 
[2026-07-07 17:48:12] local.INFO: Processing buffer {"connection_id":124730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7ff2b0012d1822c00721af98004c003e26..."} 
[2026-07-07 17:48:12] local.INFO: Packet analysis {"connection_id":124730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:48:12] local.INFO: Extracted packet for processing {"connection_id":124730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:48:12] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119648152,"longitude_deg":75.655648,"latitude_deg":11.9648152,"altitude":76,"angle":62,"satellites":38,"speed":11,"hex_longitude":"2d1822c0","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-07-07 17:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557169664001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726581444476928,"note":"Value kept but may cause issues"} 
[2026-07-07 17:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027366912,"note":"Value kept but may cause issues"} 
[2026-07-07 17:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783426446000,"timestamp_ms":1783426446000,"timestamp_seconds":1783426446,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7ff2b0"} 
[2026-07-07 17:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":41,"data_length":795,"current_offset":136} 
[2026-07-07 17:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557169664001,"66":12178,"120":206,"28":31744,"24":11,"16":4726581444476928,"45":1738600593027366912},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557169664001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:48:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:48:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726581444476928,"km_value":4726581444476.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027366912,"description":"Unknown IO ID 45"} 
[2026-07-07 17:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557169664001,"power":12178,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1738600593027366912}} 
[2026-07-07 17:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":124730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:48:12] local.INFO: GPS data processed {"connection_id":124730,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:48:12] local.INFO: Acknowledgment sent {"connection_id":124730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:48:26] local.INFO: TCP Data received {"connection_id":126694,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:48:26] local.INFO: Processing buffer {"connection_id":126694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:48:26] local.INFO: IMEI packet received {"connection_id":126694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":126694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:48:30] local.INFO: TCP Data received {"connection_id":126694,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:48:30] local.INFO: Processing buffer {"connection_id":126694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:48:30] local.INFO: IMEI packet received {"connection_id":126694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":126694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:48:31] local.INFO: TCP Data received {"connection_id":126694,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c827738012d82a6c005d786f8000900b329..."} 
[2026-07-07 17:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c827738012d82a6c005d786f8000900b329..."} 
[2026-07-07 17:48:31] local.INFO: Processing buffer {"connection_id":126694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c827738012d82a6c005d786f8000900b329..."} 
[2026-07-07 17:48:31] local.INFO: Packet analysis {"connection_id":126694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c82"} 
[2026-07-07 17:48:31] local.INFO: Extracted packet for processing {"connection_id":126694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c82"} 
[2026-07-07 17:48:31] local.INFO: GPS Element Parsed {"raw_longitude":763537088,"raw_latitude":98010872,"longitude_deg":76.3537088,"latitude_deg":9.8010872,"altitude":9,"angle":179,"satellites":41,"speed":26,"hex_longitude":"2d82a6c0","hex_latitude":"05d786f8","is_valid_coordinates":true} 
[2026-07-07 17:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557209344001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103443621604229120,"note":"Value kept but may cause issues"} 
[2026-07-07 17:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033024558760984576,"note":"Value kept but may cause issues"} 
[2026-07-07 17:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783426611000,"timestamp_ms":1783426611000,"timestamp_seconds":1783426611,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c827738"} 
[2026-07-07 17:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 17:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557209344001,"66":13135,"155":206,"85":15104,"24":26,"16":103443621604229120,"45":-9033024558760984576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-07 17:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557209344001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:48:31] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-07 17:48:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103443621604229120,"km_value":103443621604229.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033024558760984576,"description":"Unknown IO ID 45"} 
[2026-07-07 17:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557209344001,"power":13135,"unknown_155":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9033024558760984576}} 
[2026-07-07 17:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":126694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:48:31] local.INFO: GPS data processed {"connection_id":126694,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:48:31] local.INFO: Acknowledgment sent {"connection_id":126694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:48:34] local.INFO: TCP Data received {"connection_id":125447,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:48:34] local.INFO: Processing buffer {"connection_id":125447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:48:34] local.INFO: IMEI packet received {"connection_id":125447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":125447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:48:35] local.INFO: TCP Data received {"connection_id":125446,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:48:35] local.INFO: Processing buffer {"connection_id":125446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:48:35] local.INFO: Packet analysis {"connection_id":125446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:48:35] local.INFO: Extracted packet for processing {"connection_id":125446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:48:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557126656001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783426577000,"timestamp_ms":1783426577000,"timestamp_seconds":1783426577,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c81f268"} 
[2026-07-07 17:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 17:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557126656001,"66":25973,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557126656001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:48:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:48:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557126656001,"power":25973,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":125446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:48:35] local.INFO: GPS data processed {"connection_id":125446,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:48:35] local.INFO: Acknowledgment sent {"connection_id":125446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:48:38] local.INFO: TCP Data received {"connection_id":125447,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:48:38] local.INFO: Processing buffer {"connection_id":125447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:48:38] local.INFO: IMEI packet received {"connection_id":125447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":125447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:48:39] local.INFO: TCP Data received {"connection_id":125447,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c7ffa80012d1824400721b038004c005128..."} 
[2026-07-07 17:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c7ffa80012d1824400721b038004c005128..."} 
[2026-07-07 17:48:39] local.INFO: Processing buffer {"connection_id":125447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c7ffa80012d1824400721b038004c005128..."} 
[2026-07-07 17:48:39] local.INFO: Packet analysis {"connection_id":125447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:48:39] local.INFO: Extracted packet for processing {"connection_id":125447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c7f"} 
[2026-07-07 17:48:39] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119648312,"longitude_deg":75.6556864,"latitude_deg":11.9648312,"altitude":76,"angle":81,"satellites":40,"speed":6,"hex_longitude":"2d182440","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-07-07 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-07-07 17:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557170176001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726598624346112,"note":"Value kept but may cause issues"} 
[2026-07-07 17:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542980892672,"note":"Value kept but may cause issues"} 
[2026-07-07 17:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783426448000,"timestamp_ms":1783426448000,"timestamp_seconds":1783426448,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c7ffa80"} 
[2026-07-07 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-07-07 17:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 17:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 17:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557170176001,"66":12863,"120":206,"28":31744,"24":6,"16":4726598624346112,"45":1739163542980892672},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557170176001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:48:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:48:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726598624346112,"km_value":4726598624346.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542980892672,"description":"Unknown IO ID 45"} 
[2026-07-07 17:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557170176001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1739163542980892672}} 
[2026-07-07 17:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":125447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:48:39] local.INFO: GPS data processed {"connection_id":125447,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:48:39] local.INFO: Acknowledgment sent {"connection_id":125447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:48:58] local.INFO: TCP Data received {"connection_id":124641,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:48:58] local.INFO: Processing buffer {"connection_id":124641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:48:58] local.INFO: IMEI packet received {"connection_id":124641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":124641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:48:59] local.INFO: TCP Data received {"connection_id":124640,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:48:59] local.INFO: Processing buffer {"connection_id":124640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:48:59] local.INFO: IMEI packet received {"connection_id":124640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 17:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":124640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:49:02] local.INFO: TCP Data received {"connection_id":126694,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8453c8012d82d10005d68510000800992c..."} 
[2026-07-07 17:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8453c8012d82d10005d68510000800992c..."} 
[2026-07-07 17:49:02] local.INFO: Processing buffer {"connection_id":126694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8453c8012d82d10005d68510000800992c..."} 
[2026-07-07 17:49:02] local.INFO: Packet analysis {"connection_id":126694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c84"} 
[2026-07-07 17:49:02] local.INFO: Extracted packet for processing {"connection_id":126694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c84"} 
[2026-07-07 17:49:02] local.INFO: GPS Element Parsed {"raw_longitude":763547904,"raw_latitude":97944848,"longitude_deg":76.3547904,"latitude_deg":9.7944848,"altitude":8,"angle":153,"satellites":44,"speed":13,"hex_longitude":"2d82d100","hex_latitude":"05d68510","is_valid_coordinates":true} 
[2026-07-07 17:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557243392001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103446975973687296,"note":"Value kept but may cause issues"} 
[2026-07-07 17:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020710028549140480,"note":"Value kept but may cause issues"} 
[2026-07-07 17:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783426733000,"timestamp_ms":1783426733000,"timestamp_seconds":1783426733,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8453c8"} 
[2026-07-07 17:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:49: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-07-07 17:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 17:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557243392001,"66":13048,"156":206,"85":15104,"24":13,"16":103446975973687296,"45":-9020710028549140480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-07 17:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557243392001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:49:02] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 17:49:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103446975973687296,"km_value":103446975973687.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020710028549140480,"description":"Unknown IO ID 45"} 
[2026-07-07 17:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557243392001,"power":13048,"unknown_156":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9020710028549140480}} 
[2026-07-07 17:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":126694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:49:02] local.INFO: GPS data processed {"connection_id":126694,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:49:02] local.INFO: Acknowledgment sent {"connection_id":126694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:49:03] local.INFO: TCP Data received {"connection_id":124641,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:49:03] local.INFO: Processing buffer {"connection_id":124641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:49:03] local.INFO: IMEI packet received {"connection_id":124641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":124641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:49:04] local.INFO: TCP Data received {"connection_id":124641,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:49:04] local.INFO: Processing buffer {"connection_id":124641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:49:04] local.INFO: Packet analysis {"connection_id":124641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:49:04] local.INFO: Extracted packet for processing {"connection_id":124641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:49:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557126656001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783426577000,"timestamp_ms":1783426577000,"timestamp_seconds":1783426577,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c81f268"} 
[2026-07-07 17:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 17:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557126656001,"66":25973,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557126656001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:49:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:49:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557126656001,"power":25973,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":124641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:49:04] local.INFO: GPS data processed {"connection_id":124641,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:49:04] local.INFO: Acknowledgment sent {"connection_id":124641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:49:11] local.INFO: TCP Data received {"connection_id":125447,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c805070012d1829400721b090004c004e24..."} 
[2026-07-07 17:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c805070012d1829400721b090004c004e24..."} 
[2026-07-07 17:49:11] local.INFO: Processing buffer {"connection_id":125447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c805070012d1829400721b090004c004e24..."} 
[2026-07-07 17:49:11] local.INFO: Packet analysis {"connection_id":125447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c80"} 
[2026-07-07 17:49:11] local.INFO: Extracted packet for processing {"connection_id":125447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c80"} 
[2026-07-07 17:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119648400,"longitude_deg":75.6558144,"latitude_deg":11.96484,"altitude":76,"angle":78,"satellites":36,"speed":0,"hex_longitude":"2d182940","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-07-07 17:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557170688001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726663048855552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755445999616,"note":"Value kept but may cause issues"} 
[2026-07-07 17:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783426470000,"timestamp_ms":1783426470000,"timestamp_seconds":1783426470,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c805070"} 
[2026-07-07 17:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 17:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557170688001,"66":12863,"120":206,"28":31744,"24":0,"16":4726663048855552,"45":1739585755445999616},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557170688001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:49:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:49:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726663048855552,"km_value":4726663048855.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755445999616,"description":"Unknown IO ID 45"} 
[2026-07-07 17:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557170688001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755445999616}} 
[2026-07-07 17:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":125447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:49:11] local.INFO: GPS data processed {"connection_id":125447,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:49:11] local.INFO: Acknowledgment sent {"connection_id":125447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:49:26] local.INFO: TCP Data received {"connection_id":125448,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:49:26] local.INFO: Processing buffer {"connection_id":125448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:49:26] local.INFO: IMEI packet received {"connection_id":125448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":125448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:49:30] local.INFO: TCP Data received {"connection_id":125448,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:49:30] local.INFO: Processing buffer {"connection_id":125448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:49:30] local.INFO: IMEI packet received {"connection_id":125448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":125448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:49:31] local.INFO: TCP Data received {"connection_id":125448,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8457b0012d82d14005d683e0000900ab2c..."} 
[2026-07-07 17:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8457b0012d82d14005d683e0000900ab2c..."} 
[2026-07-07 17:49:31] local.INFO: Processing buffer {"connection_id":125448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8457b0012d82d14005d683e0000900ab2c..."} 
[2026-07-07 17:49:31] local.INFO: Packet analysis {"connection_id":125448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c84"} 
[2026-07-07 17:49:31] local.INFO: Extracted packet for processing {"connection_id":125448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c84"} 
[2026-07-07 17:49:31] local.INFO: GPS Element Parsed {"raw_longitude":763547968,"raw_latitude":97944544,"longitude_deg":76.3547968,"latitude_deg":9.7944544,"altitude":9,"angle":171,"satellites":44,"speed":12,"hex_longitude":"2d82d140","hex_latitude":"05d683e0","is_valid_coordinates":true} 
[2026-07-07 17:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557243648001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103446988858589184,"note":"Value kept but may cause issues"} 
[2026-07-07 17:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020428553572511744,"note":"Value kept but may cause issues"} 
[2026-07-07 17:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783426734000,"timestamp_ms":1783426734000,"timestamp_seconds":1783426734,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8457b0"} 
[2026-07-07 17:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557243648001,"66":13048,"156":206,"85":15104,"24":12,"16":103446988858589184,"45":-9020428553572511744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-07 17:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557243648001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:49:31] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 17:49:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103446988858589184,"km_value":103446988858589.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020428553572511744,"description":"Unknown IO ID 45"} 
[2026-07-07 17:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557243648001,"power":13048,"unknown_156":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9020428553572511744}} 
[2026-07-07 17:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":125448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:49:31] local.INFO: GPS data processed {"connection_id":125448,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:49:31] local.INFO: Acknowledgment sent {"connection_id":125448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:49:33] local.INFO: TCP Data received {"connection_id":124731,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:49:33] local.INFO: Processing buffer {"connection_id":124731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:49:33] local.INFO: IMEI packet received {"connection_id":124731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":124731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:49:35] local.INFO: TCP Data received {"connection_id":124641,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:49:35] local.INFO: Processing buffer {"connection_id":124641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:49:35] local.INFO: Packet analysis {"connection_id":124641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:49:35] local.INFO: Extracted packet for processing {"connection_id":124641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:49:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557126656001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783426577000,"timestamp_ms":1783426577000,"timestamp_seconds":1783426577,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c81f268"} 
[2026-07-07 17:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 17:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557126656001,"66":25973,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557126656001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:49:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:49:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557126656001,"power":25973,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":124641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:49:35] local.INFO: GPS data processed {"connection_id":124641,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:49:35] local.INFO: Acknowledgment sent {"connection_id":124641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:49:39] local.INFO: TCP Data received {"connection_id":124731,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:49:39] local.INFO: Processing buffer {"connection_id":124731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:49:39] local.INFO: IMEI packet received {"connection_id":124731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":124731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:49:40] local.INFO: TCP Data received {"connection_id":124731,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c80a278012d1829400721b090004c004e23..."} 
[2026-07-07 17:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c80a278012d1829400721b090004c004e23..."} 
[2026-07-07 17:49:40] local.INFO: Processing buffer {"connection_id":124731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c80a278012d1829400721b090004c004e23..."} 
[2026-07-07 17:49:40] local.INFO: Packet analysis {"connection_id":124731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c80"} 
[2026-07-07 17:49:40] local.INFO: Extracted packet for processing {"connection_id":124731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c80"} 
[2026-07-07 17:49:40] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119648400,"longitude_deg":75.6558144,"latitude_deg":11.96484,"altitude":76,"angle":78,"satellites":35,"speed":0,"hex_longitude":"2d182940","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-07-07 17:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557176320001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726663048855552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130329575424,"note":"Value kept but may cause issues"} 
[2026-07-07 17:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783426491000,"timestamp_ms":1783426491000,"timestamp_seconds":1783426491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c80a278"} 
[2026-07-07 17:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 17:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557176320001,"66":12319,"120":206,"28":31744,"24":0,"16":4726663048855552,"45":1740993130329575424},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557176320001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:49:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:49:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726663048855552,"km_value":4726663048855.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130329575424,"description":"Unknown IO ID 45"} 
[2026-07-07 17:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557176320001,"power":12319,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740993130329575424}} 
[2026-07-07 17:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":124731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:49:40] local.INFO: GPS data processed {"connection_id":124731,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:49:40] local.INFO: Acknowledgment sent {"connection_id":124731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:49:58] local.INFO: TCP Data received {"connection_id":124642,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:49:58] local.INFO: Processing buffer {"connection_id":124642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:49:58] local.INFO: IMEI packet received {"connection_id":124642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":124642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:50:02] local.INFO: TCP Data received {"connection_id":125448,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c845f80012d82d14005d68210000900b82c..."} 
[2026-07-07 17:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c845f80012d82d14005d68210000900b82c..."} 
[2026-07-07 17:50:02] local.INFO: Processing buffer {"connection_id":125448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c845f80012d82d14005d68210000900b82c..."} 
[2026-07-07 17:50:02] local.INFO: Packet analysis {"connection_id":125448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c84"} 
[2026-07-07 17:50:02] local.INFO: Extracted packet for processing {"connection_id":125448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c84"} 
[2026-07-07 17:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763547968,"raw_latitude":97944080,"longitude_deg":76.3547968,"latitude_deg":9.794408,"altitude":9,"angle":184,"satellites":44,"speed":7,"hex_longitude":"2d82d140","hex_latitude":"05d68210","is_valid_coordinates":true} 
[2026-07-07 17:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557243904001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103447010333425664,"note":"Value kept but may cause issues"} 
[2026-07-07 17:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020358184828411904,"note":"Value kept but may cause issues"} 
[2026-07-07 17:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783426736000,"timestamp_ms":1783426736000,"timestamp_seconds":1783426736,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c845f80"} 
[2026-07-07 17:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:50: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-07-07 17:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557243904001,"66":12145,"156":206,"85":15104,"24":7,"16":103447010333425664,"45":-9020358184828411904},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-07 17:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557243904001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:50:02] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 17:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103447010333425664,"km_value":103447010333425.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020358184828411904,"description":"Unknown IO ID 45"} 
[2026-07-07 17:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557243904001,"power":12145,"unknown_156":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9020358184828411904}} 
[2026-07-07 17:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":125448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:50:02] local.INFO: GPS data processed {"connection_id":125448,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:50:02] local.INFO: Acknowledgment sent {"connection_id":125448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:50:03] local.INFO: TCP Data received {"connection_id":124642,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:50:03] local.INFO: Processing buffer {"connection_id":124642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:50:03] local.INFO: IMEI packet received {"connection_id":124642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":124642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:50:04] local.INFO: TCP Data received {"connection_id":124642,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:50:04] local.INFO: Processing buffer {"connection_id":124642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:50:04] local.INFO: Packet analysis {"connection_id":124642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:50:04] local.INFO: Extracted packet for processing {"connection_id":124642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:50:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557126656001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783426577000,"timestamp_ms":1783426577000,"timestamp_seconds":1783426577,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c81f268"} 
[2026-07-07 17:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 17:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557126656001,"66":25973,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557126656001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:50:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:50:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557126656001,"power":25973,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":124642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:50:04] local.INFO: GPS data processed {"connection_id":124642,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:50:04] local.INFO: Acknowledgment sent {"connection_id":124642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:50:12] local.INFO: TCP Data received {"connection_id":124731,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8428d0012d1829400721b090004c004e28..."} 
[2026-07-07 17:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8428d0012d1829400721b090004c004e28..."} 
[2026-07-07 17:50:12] local.INFO: Processing buffer {"connection_id":124731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8428d0012d1829400721b090004c004e28..."} 
[2026-07-07 17:50:12] local.INFO: Packet analysis {"connection_id":124731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c84"} 
[2026-07-07 17:50:12] local.INFO: Extracted packet for processing {"connection_id":124731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c84"} 
[2026-07-07 17:50:12] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119648400,"longitude_deg":75.6558144,"latitude_deg":11.96484,"altitude":76,"angle":78,"satellites":40,"speed":0,"hex_longitude":"2d182940","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-07-07 17:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557235456001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726663048855552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130329575424,"note":"Value kept but may cause issues"} 
[2026-07-07 17:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783426722000,"timestamp_ms":1783426722000,"timestamp_seconds":1783426722,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8428d0"} 
[2026-07-07 17:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-07 17:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557235456001,"66":12667,"120":206,"28":31744,"24":0,"16":4726663048855552,"45":1740993130329575424},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557235456001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:50:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:50:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726663048855552,"km_value":4726663048855.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130329575424,"description":"Unknown IO ID 45"} 
[2026-07-07 17:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557235456001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740993130329575424}} 
[2026-07-07 17:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":124731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:50:12] local.INFO: GPS data processed {"connection_id":124731,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:50:12] local.INFO: Acknowledgment sent {"connection_id":124731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:50:26] local.INFO: TCP Data received {"connection_id":126696,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:50:26] local.INFO: Processing buffer {"connection_id":126696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:50:26] local.INFO: IMEI packet received {"connection_id":126696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":126696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:50:31] local.INFO: TCP Data received {"connection_id":126696,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:50:31] local.INFO: Processing buffer {"connection_id":126696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:50:31] local.INFO: IMEI packet received {"connection_id":126696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":126696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:50:32] local.INFO: TCP Data received {"connection_id":126696,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c859fd0012d829dc005d612c0000a00c52b..."} 
[2026-07-07 17:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c859fd0012d829dc005d612c0000a00c52b..."} 
[2026-07-07 17:50:32] local.INFO: Processing buffer {"connection_id":126696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c859fd0012d829dc005d612c0000a00c52b..."} 
[2026-07-07 17:50:32] local.INFO: Packet analysis {"connection_id":126696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c85"} 
[2026-07-07 17:50:32] local.INFO: Extracted packet for processing {"connection_id":126696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c85"} 
[2026-07-07 17:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763534784,"raw_latitude":97915584,"longitude_deg":76.3534784,"latitude_deg":9.7915584,"altitude":10,"angle":197,"satellites":43,"speed":12,"hex_longitude":"2d829dc0","hex_latitude":"05d612c0","is_valid_coordinates":true} 
[2026-07-07 17:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557265152001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103448608061259776,"note":"Value kept but may cause issues"} 
[2026-07-07 17:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034713408648001536,"note":"Value kept but may cause issues"} 
[2026-07-07 17:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783426818000,"timestamp_ms":1783426818000,"timestamp_seconds":1783426818,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c859fd0"} 
[2026-07-07 17:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557265152001,"66":13048,"156":206,"85":15104,"24":12,"16":103448608061259776,"45":-9034713408648001536},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-07 17:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557265152001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:50:32] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 17:50:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103448608061259776,"km_value":103448608061259.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034713408648001536,"description":"Unknown IO ID 45"} 
[2026-07-07 17:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557265152001,"power":13048,"unknown_156":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9034713408648001536}} 
[2026-07-07 17:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":126696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:50:32] local.INFO: GPS data processed {"connection_id":126696,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:50:32] local.INFO: Acknowledgment sent {"connection_id":126696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:50:35] local.INFO: TCP Data received {"connection_id":124642,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:50:35] local.INFO: Processing buffer {"connection_id":124642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:50:35] local.INFO: Packet analysis {"connection_id":124642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:50:35] local.INFO: Extracted packet for processing {"connection_id":124642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:50:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557126656001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783426577000,"timestamp_ms":1783426577000,"timestamp_seconds":1783426577,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c81f268"} 
[2026-07-07 17:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 17:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557126656001,"66":25973,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557126656001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:50:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:50:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557126656001,"power":25973,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":124642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:50:35] local.INFO: GPS data processed {"connection_id":124642,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:50:35] local.INFO: Acknowledgment sent {"connection_id":124642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:50:39] local.INFO: TCP Data received {"connection_id":125449,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:50:39] local.INFO: Processing buffer {"connection_id":125449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:50:39] local.INFO: IMEI packet received {"connection_id":125449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":125449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:50:40] local.INFO: TCP Data received {"connection_id":125449,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c847ec0012d1829400721b090004c004e27..."} 
[2026-07-07 17:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c847ec0012d1829400721b090004c004e27..."} 
[2026-07-07 17:50:40] local.INFO: Processing buffer {"connection_id":125449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c847ec0012d1829400721b090004c004e27..."} 
[2026-07-07 17:50:40] local.INFO: Packet analysis {"connection_id":125449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c84"} 
[2026-07-07 17:50:40] local.INFO: Extracted packet for processing {"connection_id":125449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c84"} 
[2026-07-07 17:50:40] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119648400,"longitude_deg":75.6558144,"latitude_deg":11.96484,"altitude":76,"angle":78,"satellites":39,"speed":0,"hex_longitude":"2d182940","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-07-07 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-07-07 17:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557240832001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726663048855552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130329575424,"note":"Value kept but may cause issues"} 
[2026-07-07 17:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783426744000,"timestamp_ms":1783426744000,"timestamp_seconds":1783426744,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c847ec0"} 
[2026-07-07 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-07-07 17:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-07 17:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 17:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557240832001,"66":12113,"120":206,"28":31744,"24":0,"16":4726663048855552,"45":1740993130329575424},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557240832001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:50:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:50:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726663048855552,"km_value":4726663048855.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130329575424,"description":"Unknown IO ID 45"} 
[2026-07-07 17:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557240832001,"power":12113,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740993130329575424}} 
[2026-07-07 17:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":125449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:50:40] local.INFO: GPS data processed {"connection_id":125449,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:50:40] local.INFO: Acknowledgment sent {"connection_id":125449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:50:58] local.INFO: TCP Data received {"connection_id":125451,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:50:58] local.INFO: Processing buffer {"connection_id":125451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:50:58] local.INFO: IMEI packet received {"connection_id":125451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":125451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:51:03] local.INFO: TCP Data received {"connection_id":125451,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:51:03] local.INFO: Processing buffer {"connection_id":125451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:51:03] local.INFO: IMEI packet received {"connection_id":125451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":125451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:51:04] local.INFO: TCP Data received {"connection_id":125451,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:51:04] local.INFO: Processing buffer {"connection_id":125451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:51:04] local.INFO: Packet analysis {"connection_id":125451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:51:04] local.INFO: Extracted packet for processing {"connection_id":125451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:51:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557126656001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783426577000,"timestamp_ms":1783426577000,"timestamp_seconds":1783426577,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c81f268"} 
[2026-07-07 17:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 17:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557126656001,"66":25973,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557126656001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:51:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:51:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557126656001,"power":25973,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":125451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:51:04] local.INFO: GPS data processed {"connection_id":125451,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:51:04] local.INFO: Acknowledgment sent {"connection_id":125451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:51:05] local.INFO: TCP Data received {"connection_id":126696,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c85a3b8012d829e0005d61168000900b02b..."} 
[2026-07-07 17:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c85a3b8012d829e0005d61168000900b02b..."} 
[2026-07-07 17:51:05] local.INFO: Processing buffer {"connection_id":126696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c85a3b8012d829e0005d61168000900b02b..."} 
[2026-07-07 17:51:05] local.INFO: Packet analysis {"connection_id":126696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c85"} 
[2026-07-07 17:51:05] local.INFO: Extracted packet for processing {"connection_id":126696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c85"} 
[2026-07-07 17:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763534848,"raw_latitude":97915240,"longitude_deg":76.3534848,"latitude_deg":9.791524,"altitude":9,"angle":176,"satellites":43,"speed":14,"hex_longitude":"2d829e00","hex_latitude":"05d61168","is_valid_coordinates":true} 
[2026-07-07 17:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557265408001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103448625241128960,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034854146136424448,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783426819000,"timestamp_ms":1783426819000,"timestamp_seconds":1783426819,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c85a3b8"} 
[2026-07-07 17:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 17:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:51: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-07-07 17:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557265408001,"66":12993,"156":206,"85":15104,"24":14,"16":103448625241128960,"45":-9034854146136424448},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-07 17:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557265408001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:51:05] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 17:51:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103448625241128960,"km_value":103448625241128.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034854146136424448,"description":"Unknown IO ID 45"} 
[2026-07-07 17:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557265408001,"power":12993,"unknown_156":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9034854146136424448}} 
[2026-07-07 17:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":126696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:51:05] local.INFO: GPS data processed {"connection_id":126696,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:51:05] local.INFO: Acknowledgment sent {"connection_id":126696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:51:12] local.INFO: TCP Data received {"connection_id":125449,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c84d0c8012d1829400721b090004c004e27..."} 
[2026-07-07 17:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c84d0c8012d1829400721b090004c004e27..."} 
[2026-07-07 17:51:12] local.INFO: Processing buffer {"connection_id":125449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c84d0c8012d1829400721b090004c004e27..."} 
[2026-07-07 17:51:12] local.INFO: Packet analysis {"connection_id":125449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c84"} 
[2026-07-07 17:51:12] local.INFO: Extracted packet for processing {"connection_id":125449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c84"} 
[2026-07-07 17:51:12] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119648400,"longitude_deg":75.6558144,"latitude_deg":11.96484,"altitude":76,"angle":78,"satellites":39,"speed":0,"hex_longitude":"2d182940","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-07-07 17:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557246464001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726663048855552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130329575424,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783426765000,"timestamp_ms":1783426765000,"timestamp_seconds":1783426765,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c84d0c8"} 
[2026-07-07 17:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-07 17:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557246464001,"66":12635,"120":206,"28":31744,"24":0,"16":4726663048855552,"45":1740993130329575424},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557246464001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:51:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:51:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726663048855552,"km_value":4726663048855.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130329575424,"description":"Unknown IO ID 45"} 
[2026-07-07 17:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557246464001,"power":12635,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740993130329575424}} 
[2026-07-07 17:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":125449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:51:12] local.INFO: GPS data processed {"connection_id":125449,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:51:12] local.INFO: Acknowledgment sent {"connection_id":125449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:51:27] local.INFO: TCP Data received {"connection_id":124732,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:51:27] local.INFO: Processing buffer {"connection_id":124732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:51:27] local.INFO: IMEI packet received {"connection_id":124732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":124732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:51:27] local.INFO: TCP Data received {"connection_id":124732,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:51:27] local.INFO: Processing buffer {"connection_id":124732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:51:27] local.INFO: IMEI packet received {"connection_id":124732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":124732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:51:28] local.INFO: TCP Data received {"connection_id":124732,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:51:28] local.INFO: Processing buffer {"connection_id":124732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:51:28] local.INFO: IMEI packet received {"connection_id":124732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":124732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:51:31] local.INFO: TCP Data received {"connection_id":124732,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:51:31] local.INFO: Processing buffer {"connection_id":124732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:51:31] local.INFO: IMEI packet received {"connection_id":124732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":124732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:51:32] local.INFO: TCP Data received {"connection_id":124732,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c867a90012d8277c005d5ebf0000600f32a..."} 
[2026-07-07 17:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c867a90012d8277c005d5ebf0000600f32a..."} 
[2026-07-07 17:51:32] local.INFO: Processing buffer {"connection_id":124732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c867a90012d8277c005d5ebf0000600f32a..."} 
[2026-07-07 17:51:32] local.INFO: Packet analysis {"connection_id":124732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:51:32] local.INFO: Extracted packet for processing {"connection_id":124732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763525056,"raw_latitude":97905648,"longitude_deg":76.3525056,"latitude_deg":9.7905648,"altitude":6,"angle":243,"satellites":42,"speed":8,"hex_longitude":"2d8277c0","hex_latitude":"05d5ebf0","is_valid_coordinates":true} 
[2026-07-07 17:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557278976001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103449492824522752,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044565032835264512,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783426874000,"timestamp_ms":1783426874000,"timestamp_seconds":1783426874,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c867a90"} 
[2026-07-07 17:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-07 17:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557278976001,"66":12993,"156":206,"85":15104,"24":8,"16":103449492824522752,"45":-9044565032835264512},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-07 17:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557278976001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:51:32] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 17:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103449492824522752,"km_value":103449492824522.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044565032835264512,"description":"Unknown IO ID 45"} 
[2026-07-07 17:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557278976001,"power":12993,"unknown_156":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9044565032835264512}} 
[2026-07-07 17:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":124732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:51:33] local.INFO: GPS data processed {"connection_id":124732,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:51:33] local.INFO: Acknowledgment sent {"connection_id":124732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:51:35] local.INFO: TCP Data received {"connection_id":125451,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:51:35] local.INFO: Processing buffer {"connection_id":125451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c81f268012dc7c300052e4b200017002a2a..."} 
[2026-07-07 17:51:35] local.INFO: Packet analysis {"connection_id":125451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:51:35] local.INFO: Extracted packet for processing {"connection_id":125451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c81"} 
[2026-07-07 17:51:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557126656001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783426577000,"timestamp_ms":1783426577000,"timestamp_seconds":1783426577,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c81f268"} 
[2026-07-07 17:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 17:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557126656001,"66":25973,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557126656001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:51:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:51:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557126656001,"power":25973,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":125451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:51:35] local.INFO: GPS data processed {"connection_id":125451,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:51:35] local.INFO: Acknowledgment sent {"connection_id":125451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:51:39] local.INFO: TCP Data received {"connection_id":124733,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:51:39] local.INFO: Processing buffer {"connection_id":124733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:51:39] local.INFO: IMEI packet received {"connection_id":124733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":124733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:51:43] local.INFO: TCP Data received {"connection_id":124733,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:51:43] local.INFO: Processing buffer {"connection_id":124733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:51:43] local.INFO: IMEI packet received {"connection_id":124733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":124733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:51:48] local.INFO: TCP Data received {"connection_id":124733,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c851ee8012d1829400721b090004c004e2b..."} 
[2026-07-07 17:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c851ee8012d1829400721b090004c004e2b..."} 
[2026-07-07 17:51:48] local.INFO: Processing buffer {"connection_id":124733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c851ee8012d1829400721b090004c004e2b..."} 
[2026-07-07 17:51:48] local.INFO: Packet analysis {"connection_id":124733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c85"} 
[2026-07-07 17:51:48] local.INFO: Extracted packet for processing {"connection_id":124733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c85"} 
[2026-07-07 17:51:48] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119648400,"longitude_deg":75.6558144,"latitude_deg":11.96484,"altitude":76,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d182940","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-07-07 17:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557251840001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726663048855552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130329575424,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783426785000,"timestamp_ms":1783426785000,"timestamp_seconds":1783426785,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c851ee8"} 
[2026-07-07 17:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 17:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":124733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":124733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":124733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557251840001,"66":12613,"120":206,"28":31744,"24":0,"16":4726663048855552,"45":1740993130329575424},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557251840001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:51:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:51:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726663048855552,"km_value":4726663048855.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130329575424,"description":"Unknown IO ID 45"} 
[2026-07-07 17:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557251840001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740993130329575424}} 
[2026-07-07 17:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":124733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:51:49] local.INFO: GPS data processed {"connection_id":124733,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:51:49] local.INFO: Acknowledgment sent {"connection_id":124733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:51:50] local.INFO: TCP Data received {"connection_id":124733,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8570f0012d1829400721b090004c004e25..."} 
[2026-07-07 17:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8570f0012d1829400721b090004c004e25..."} 
[2026-07-07 17:51:50] local.INFO: Processing buffer {"connection_id":124733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8570f0012d1829400721b090004c004e25..."} 
[2026-07-07 17:51:50] local.INFO: Packet analysis {"connection_id":124733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c85"} 
[2026-07-07 17:51:50] local.INFO: Extracted packet for processing {"connection_id":124733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c85"} 
[2026-07-07 17:51:50] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119648400,"longitude_deg":75.6558144,"latitude_deg":11.96484,"altitude":76,"angle":78,"satellites":37,"speed":0,"hex_longitude":"2d182940","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-07-07 17:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557256960001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726663048855552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130329575424,"note":"Value kept but may cause issues"} 
[2026-07-07 17:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783426806000,"timestamp_ms":1783426806000,"timestamp_seconds":1783426806,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8570f0"} 
[2026-07-07 17:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-07 17:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":124733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":124733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":124733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557256960001,"66":12591,"120":206,"28":31744,"24":0,"16":4726663048855552,"45":1740993130329575424},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557256960001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:51:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:51:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726663048855552,"km_value":4726663048855.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130329575424,"description":"Unknown IO ID 45"} 
[2026-07-07 17:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557256960001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740993130329575424}} 
[2026-07-07 17:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":124733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:51:50] local.INFO: GPS data processed {"connection_id":124733,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:51:50] local.INFO: Acknowledgment sent {"connection_id":124733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:52:03] local.INFO: TCP Data received {"connection_id":124735,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:52:03] local.INFO: Processing buffer {"connection_id":124735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:52:03] local.INFO: IMEI packet received {"connection_id":124735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":124735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:52:08] local.INFO: TCP Data received {"connection_id":124735,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:52:08] local.INFO: Processing buffer {"connection_id":124735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:52:08] local.INFO: IMEI packet received {"connection_id":124735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":124735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:52:09] local.INFO: TCP Data received {"connection_id":124735,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:52:09] local.INFO: Processing buffer {"connection_id":124735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:52:09] local.INFO: Packet analysis {"connection_id":124735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:52:09] local.INFO: Extracted packet for processing {"connection_id":124735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:52:09] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557203712001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783426878000,"timestamp_ms":1783426878000,"timestamp_seconds":1783426878,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c868a30"} 
[2026-07-07 17:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 17:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557203712001,"66":25832,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557203712001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:52:09] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:52:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557203712001,"power":25832,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":124735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:52:09] local.INFO: GPS data processed {"connection_id":124735,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:52:09] local.INFO: Acknowledgment sent {"connection_id":124735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:52:14] local.INFO: TCP Data received {"connection_id":124735,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:52:14] local.INFO: Processing buffer {"connection_id":124735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:52:14] local.INFO: Packet analysis {"connection_id":124735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:52:14] local.INFO: Extracted packet for processing {"connection_id":124735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:52:14] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557203712001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783426878000,"timestamp_ms":1783426878000,"timestamp_seconds":1783426878,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c868a30"} 
[2026-07-07 17:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 17:52: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-07-07 17:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557203712001,"66":25832,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557203712001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:52:14] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:52:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557203712001,"power":25832,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":124735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:52:14] local.INFO: GPS data processed {"connection_id":124735,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:52:14] local.INFO: Acknowledgment sent {"connection_id":124735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:52:15] local.INFO: TCP Data received {"connection_id":124732,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c868260012d8276c005d5eb90000601082a..."} 
[2026-07-07 17:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c868260012d8276c005d5eb90000601082a..."} 
[2026-07-07 17:52:15] local.INFO: Processing buffer {"connection_id":124732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c868260012d8276c005d5eb90000601082a..."} 
[2026-07-07 17:52:15] local.INFO: Packet analysis {"connection_id":124732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:52:15] local.INFO: Extracted packet for processing {"connection_id":124732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:52:15] local.INFO: GPS Element Parsed {"raw_longitude":763524800,"raw_latitude":97905552,"longitude_deg":76.35248,"latitude_deg":9.7905552,"altitude":6,"angle":264,"satellites":42,"speed":5,"hex_longitude":"2d8276c0","hex_latitude":"05d5eb90","is_valid_coordinates":true} 
[2026-07-07 17:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557279744001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103449510004391936,"note":"Value kept but may cause issues"} 
[2026-07-07 17:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9045550195253972992,"note":"Value kept but may cause issues"} 
[2026-07-07 17:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783426876000,"timestamp_ms":1783426876000,"timestamp_seconds":1783426876,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c868260"} 
[2026-07-07 17:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:52: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-07-07 17: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-07 17:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:52: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-07-07 17:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557279744001,"66":13222,"156":206,"85":15104,"24":5,"16":103449510004391936,"45":-9045550195253972992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-07 17:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557279744001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:52:15] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 17:52:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103449510004391936,"km_value":103449510004391.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9045550195253972992,"description":"Unknown IO ID 45"} 
[2026-07-07 17:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557279744001,"power":13222,"unknown_156":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9045550195253972992}} 
[2026-07-07 17:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":124732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:52:15] local.INFO: GPS data processed {"connection_id":124732,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:52:15] local.INFO: Acknowledgment sent {"connection_id":124732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:52:34] local.INFO: TCP Data received {"connection_id":126698,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:52:34] local.INFO: Processing buffer {"connection_id":126698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:52:34] local.INFO: IMEI packet received {"connection_id":126698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":126698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:52:37] local.INFO: TCP Data received {"connection_id":126697,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:52:37] local.INFO: Processing buffer {"connection_id":126697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:52:37] local.INFO: IMEI packet received {"connection_id":126697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":126697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:52:38] local.INFO: TCP Data received {"connection_id":126697,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:52:38] local.INFO: Processing buffer {"connection_id":126697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:52:38] local.INFO: IMEI packet received {"connection_id":126697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":126697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:52:38] local.INFO: TCP Data received {"connection_id":126697,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:52:38] local.INFO: Processing buffer {"connection_id":126697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:52:38] local.INFO: IMEI packet received {"connection_id":126697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":126697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:52:39] local.INFO: TCP Data received {"connection_id":126698,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:52:39] local.INFO: Processing buffer {"connection_id":126698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:52:39] local.INFO: IMEI packet received {"connection_id":126698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":126698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:52:40] local.INFO: TCP Data received {"connection_id":126698,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c85c2f8012d1829400721b090004c004e28..."} 
[2026-07-07 17:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c85c2f8012d1829400721b090004c004e28..."} 
[2026-07-07 17:52:40] local.INFO: Processing buffer {"connection_id":126698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c85c2f8012d1829400721b090004c004e28..."} 
[2026-07-07 17:52:40] local.INFO: Packet analysis {"connection_id":126698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c85"} 
[2026-07-07 17:52:40] local.INFO: Extracted packet for processing {"connection_id":126698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c85"} 
[2026-07-07 17:52:40] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119648400,"longitude_deg":75.6558144,"latitude_deg":11.96484,"altitude":76,"angle":78,"satellites":40,"speed":0,"hex_longitude":"2d182940","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-07-07 17:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557262336001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726663048855552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130329575424,"note":"Value kept but may cause issues"} 
[2026-07-07 17:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783426827000,"timestamp_ms":1783426827000,"timestamp_seconds":1783426827,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c85c2f8"} 
[2026-07-07 17:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 17:52: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-07-07 17:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557262336001,"66":12591,"120":206,"28":31744,"24":0,"16":4726663048855552,"45":1740993130329575424},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557262336001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:52:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:52:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726663048855552,"km_value":4726663048855.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130329575424,"description":"Unknown IO ID 45"} 
[2026-07-07 17:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557262336001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740993130329575424}} 
[2026-07-07 17:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":126698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:52:40] local.INFO: GPS data processed {"connection_id":126698,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:52:40] local.INFO: Acknowledgment sent {"connection_id":126698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:52:41] local.INFO: TCP Data received {"connection_id":126697,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:52:41] local.INFO: Processing buffer {"connection_id":126697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:52:41] local.INFO: IMEI packet received {"connection_id":126697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":126697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:52:42] local.INFO: TCP Data received {"connection_id":126697,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8745b0012d82060005d5c3780003014629..."} 
[2026-07-07 17:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8745b0012d82060005d5c3780003014629..."} 
[2026-07-07 17:52:42] local.INFO: Processing buffer {"connection_id":126697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8745b0012d82060005d5c3780003014629..."} 
[2026-07-07 17:52:42] local.INFO: Packet analysis {"connection_id":126697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c87"} 
[2026-07-07 17:52:42] local.INFO: Extracted packet for processing {"connection_id":126697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c87"} 
[2026-07-07 17:52:42] local.INFO: GPS Element Parsed {"raw_longitude":763495936,"raw_latitude":97895288,"longitude_deg":76.3495936,"latitude_deg":9.7895288,"altitude":3,"angle":326,"satellites":41,"speed":11,"hex_longitude":"2d820600","hex_latitude":"05d5c378","is_valid_coordinates":true} 
[2026-07-07 17:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557292288001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103451103437258752,"note":"Value kept but may cause issues"} 
[2026-07-07 17:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9076723548927520768,"note":"Value kept but may cause issues"} 
[2026-07-07 17:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783426926000,"timestamp_ms":1783426926000,"timestamp_seconds":1783426926,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8745b0"} 
[2026-07-07 17:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:52: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-07-07 17:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-07 17:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17: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-07-07 17:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557292288001,"66":13048,"156":206,"85":15104,"24":11,"16":103451103437258752,"45":-9076723548927520768},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-07 17:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557292288001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:52:42] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-07 17:52:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103451103437258752,"km_value":103451103437258.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9076723548927520768,"description":"Unknown IO ID 45"} 
[2026-07-07 17:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557292288001,"power":13048,"unknown_156":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9076723548927520768}} 
[2026-07-07 17:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":126697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:52:42] local.INFO: GPS data processed {"connection_id":126697,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:52:42] local.INFO: Acknowledgment sent {"connection_id":126697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:52:58] local.INFO: TCP Data received {"connection_id":124643,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:52:58] local.INFO: Processing buffer {"connection_id":124643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:52:58] local.INFO: IMEI packet received {"connection_id":124643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":124643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:53:03] local.INFO: TCP Data received {"connection_id":124643,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:53:03] local.INFO: Processing buffer {"connection_id":124643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:53:03] local.INFO: IMEI packet received {"connection_id":124643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":124643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:53:04] local.INFO: TCP Data received {"connection_id":124643,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:53:04] local.INFO: Processing buffer {"connection_id":124643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:53:04] local.INFO: Packet analysis {"connection_id":124643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:53:04] local.INFO: Extracted packet for processing {"connection_id":124643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:53:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557203712001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783426878000,"timestamp_ms":1783426878000,"timestamp_seconds":1783426878,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c868a30"} 
[2026-07-07 17:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 17:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557203712001,"66":25832,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557203712001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:53:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:53:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557203712001,"power":25832,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":124643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:53:04] local.INFO: GPS data processed {"connection_id":124643,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:53:04] local.INFO: Acknowledgment sent {"connection_id":124643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:53:11] local.INFO: TCP Data received {"connection_id":126698,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c861500012d1829400721b090004c004e28..."} 
[2026-07-07 17:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c861500012d1829400721b090004c004e28..."} 
[2026-07-07 17:53:11] local.INFO: Processing buffer {"connection_id":126698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c861500012d1829400721b090004c004e28..."} 
[2026-07-07 17:53:11] local.INFO: Packet analysis {"connection_id":126698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:53:11] local.INFO: Extracted packet for processing {"connection_id":126698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:53:11] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119648400,"longitude_deg":75.6558144,"latitude_deg":11.96484,"altitude":76,"angle":78,"satellites":40,"speed":0,"hex_longitude":"2d182940","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-07-07 17:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557267712001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726663048855552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130329575424,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783426848000,"timestamp_ms":1783426848000,"timestamp_seconds":1783426848,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c861500"} 
[2026-07-07 17:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 17:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557267712001,"66":12580,"120":206,"28":31744,"24":0,"16":4726663048855552,"45":1740993130329575424},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557267712001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:53:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:53:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726663048855552,"km_value":4726663048855.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130329575424,"description":"Unknown IO ID 45"} 
[2026-07-07 17:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557267712001,"power":12580,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740993130329575424}} 
[2026-07-07 17:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":126698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:53:12] local.INFO: GPS data processed {"connection_id":126698,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:53:12] local.INFO: Acknowledgment sent {"connection_id":126698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:53:27] local.INFO: TCP Data received {"connection_id":124736,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:53:27] local.INFO: Processing buffer {"connection_id":124736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:53:27] local.INFO: IMEI packet received {"connection_id":124736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":124736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:53:31] local.INFO: TCP Data received {"connection_id":124736,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:53:31] local.INFO: Processing buffer {"connection_id":124736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:53:31] local.INFO: IMEI packet received {"connection_id":124736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":124736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:53:32] local.INFO: TCP Data received {"connection_id":124737,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:53:32] local.INFO: Processing buffer {"connection_id":124737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:53:32] local.INFO: IMEI packet received {"connection_id":124737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":124737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:53:32] local.INFO: TCP Data received {"connection_id":124736,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c883bc8012d81be4005d55790000500ba29..."} 
[2026-07-07 17:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c883bc8012d81be4005d55790000500ba29..."} 
[2026-07-07 17:53:32] local.INFO: Processing buffer {"connection_id":124736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c883bc8012d81be4005d55790000500ba29..."} 
[2026-07-07 17:53:32] local.INFO: Packet analysis {"connection_id":124736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c88"} 
[2026-07-07 17:53:32] local.INFO: Extracted packet for processing {"connection_id":124736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c88"} 
[2026-07-07 17:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763477568,"raw_latitude":97867664,"longitude_deg":76.3477568,"latitude_deg":9.7867664,"altitude":5,"angle":186,"satellites":41,"speed":49,"hex_longitude":"2d81be40","hex_latitude":"05d55790","is_valid_coordinates":true} 
[2026-07-07 17:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557307392001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103453547273650176,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098397122138765312,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783426989000,"timestamp_ms":1783426989000,"timestamp_seconds":1783426989,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c883bc8"} 
[2026-07-07 17:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 17:53:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2178236421,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:32] local.WARNING: Large IO value detected {"io_id":60,"raw_value":2274867201,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:32] local.WARNING: Large IO value detected {"io_id":213,"raw_value":-3470023499984197120,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795831502,"corrected_to":0} 
[2026-07-07 17:53:32] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3221302657,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:32] local.WARNING: Large IO value detected {"io_id":250,"raw_value":3221607888,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:32] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070502,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:32] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2289041408,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3587207168,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:32] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57885559184315707,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:32] local.WARNING: Large IO value detected {"io_id":135,"raw_value":7273314693169446917,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:32] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,165,85,24,241,157,16,138,159,1,45,163,8,43,10,66,137,210,64,198,9,42,190,240,221,227,60,213,4,113,205,108,250,96,41,239,51,156,2,111,5,166,135],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2795831502,"validated":0}]} 
[2026-07-07 17:53:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504594657975730176,"timestamp_seconds":504594657975730.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 17:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557307392001,"66":13341,"165":206,"85":15104,"24":49,"16":103453547273650176,"45":-9098397122138765312},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-07 17:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557307392001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:53:32] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 17:53:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103453547273650176,"km_value":103453547273650.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098397122138765312,"description":"Unknown IO ID 45"} 
[2026-07-07 17:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557307392001,"power":13341,"unknown_165":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-9098397122138765312}} 
[2026-07-07 17:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":124736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:53:32] local.INFO: GPS data processed {"connection_id":124736,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:53:32] local.INFO: Acknowledgment sent {"connection_id":124736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:53:33] local.INFO: TCP Data received {"connection_id":124737,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:53:33] local.INFO: Processing buffer {"connection_id":124737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:53:33] local.INFO: IMEI packet received {"connection_id":124737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":124737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:53:35] local.INFO: TCP Data received {"connection_id":124643,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:53:35] local.INFO: Processing buffer {"connection_id":124643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:53:35] local.INFO: Packet analysis {"connection_id":124643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:53:35] local.INFO: Extracted packet for processing {"connection_id":124643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:53:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557203712001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783426878000,"timestamp_ms":1783426878000,"timestamp_seconds":1783426878,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c868a30"} 
[2026-07-07 17:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 17:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557203712001,"66":25832,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557203712001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:53:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:53:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557203712001,"power":25832,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":124643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:53:35] local.INFO: GPS data processed {"connection_id":124643,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:53:35] local.INFO: Acknowledgment sent {"connection_id":124643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:53:39] local.INFO: TCP Data received {"connection_id":124737,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:53:39] local.INFO: Processing buffer {"connection_id":124737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:53:39] local.INFO: IMEI packet received {"connection_id":124737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":124737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:53:40] local.INFO: TCP Data received {"connection_id":124737,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c866320012d1829400721b090004c004e28..."} 
[2026-07-07 17:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c866320012d1829400721b090004c004e28..."} 
[2026-07-07 17:53:40] local.INFO: Processing buffer {"connection_id":124737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c866320012d1829400721b090004c004e28..."} 
[2026-07-07 17:53:40] local.INFO: Packet analysis {"connection_id":124737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:53:40] local.INFO: Extracted packet for processing {"connection_id":124737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:53:40] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119648400,"longitude_deg":75.6558144,"latitude_deg":11.96484,"altitude":76,"angle":78,"satellites":40,"speed":0,"hex_longitude":"2d182940","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-07-07 17:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557273088001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726663048855552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130329575424,"note":"Value kept but may cause issues"} 
[2026-07-07 17:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783426868000,"timestamp_ms":1783426868000,"timestamp_seconds":1783426868,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c866320"} 
[2026-07-07 17:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-07 17:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557273088001,"66":12548,"120":206,"28":31744,"24":0,"16":4726663048855552,"45":1740993130329575424},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557273088001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:53:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:53:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726663048855552,"km_value":4726663048855.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130329575424,"description":"Unknown IO ID 45"} 
[2026-07-07 17:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557273088001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740993130329575424}} 
[2026-07-07 17:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":124737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:53:40] local.INFO: GPS data processed {"connection_id":124737,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:53:40] local.INFO: Acknowledgment sent {"connection_id":124737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:53:59] local.INFO: TCP Data received {"connection_id":125452,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:53:59] local.INFO: Processing buffer {"connection_id":125452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:53:59] local.INFO: IMEI packet received {"connection_id":125452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":125452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:54:03] local.INFO: TCP Data received {"connection_id":124736,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c88e3c0012d81ba0005d4b650000800ff2b..."} 
[2026-07-07 17:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c88e3c0012d81ba0005d4b650000800ff2b..."} 
[2026-07-07 17:54:03] local.INFO: Processing buffer {"connection_id":124736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c88e3c0012d81ba0005d4b650000800ff2b..."} 
[2026-07-07 17:54:03] local.INFO: Packet analysis {"connection_id":124736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c88"} 
[2026-07-07 17:54:03] local.INFO: Extracted packet for processing {"connection_id":124736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c88"} 
[2026-07-07 17:54:03] local.INFO: GPS Element Parsed {"raw_longitude":763476480,"raw_latitude":97826384,"longitude_deg":76.347648,"latitude_deg":9.7826384,"altitude":8,"angle":255,"satellites":43,"speed":29,"hex_longitude":"2d81ba00","hex_latitude":"05d4b650","is_valid_coordinates":true} 
[2026-07-07 17:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557319936001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103455656102592512,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098115647174940672,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783427032000,"timestamp_ms":1783427032000,"timestamp_seconds":1783427032,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c88e3c0"} 
[2026-07-07 17:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 17:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:54: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-07-07 17:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557319936001,"66":12439,"165":206,"85":15104,"24":29,"16":103455656102592512,"45":-9098115647174940672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-07 17:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557319936001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:54:03] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 17:54:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103455656102592512,"km_value":103455656102592.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098115647174940672,"description":"Unknown IO ID 45"} 
[2026-07-07 17:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557319936001,"power":12439,"unknown_165":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9098115647174940672}} 
[2026-07-07 17:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":124736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:54:03] local.INFO: GPS data processed {"connection_id":124736,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:54:03] local.INFO: Acknowledgment sent {"connection_id":124736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:54:03] local.INFO: TCP Data received {"connection_id":125452,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:54:03] local.INFO: Processing buffer {"connection_id":125452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:54:03] local.INFO: IMEI packet received {"connection_id":125452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":125452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:54:04] local.INFO: TCP Data received {"connection_id":125452,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:54:04] local.INFO: Processing buffer {"connection_id":125452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:54:04] local.INFO: Packet analysis {"connection_id":125452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:54:04] local.INFO: Extracted packet for processing {"connection_id":125452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:54:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557203712001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783426878000,"timestamp_ms":1783426878000,"timestamp_seconds":1783426878,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c868a30"} 
[2026-07-07 17:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 17:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557203712001,"66":25832,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557203712001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:54:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:54:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557203712001,"power":25832,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":125452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:54:04] local.INFO: GPS data processed {"connection_id":125452,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:54:04] local.INFO: Acknowledgment sent {"connection_id":125452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:54:12] local.INFO: TCP Data received {"connection_id":124737,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c86b528012d1829400721b090004c004e2a..."} 
[2026-07-07 17:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c86b528012d1829400721b090004c004e2a..."} 
[2026-07-07 17:54:12] local.INFO: Processing buffer {"connection_id":124737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c86b528012d1829400721b090004c004e2a..."} 
[2026-07-07 17:54:12] local.INFO: Packet analysis {"connection_id":124737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:54:12] local.INFO: Extracted packet for processing {"connection_id":124737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:54:12] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119648400,"longitude_deg":75.6558144,"latitude_deg":11.96484,"altitude":76,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d182940","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-07-07 17:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557278208001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726663048855552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130329575424,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783426889000,"timestamp_ms":1783426889000,"timestamp_seconds":1783426889,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c86b528"} 
[2026-07-07 17:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 17:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3403677696,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:12] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3758096384,"corrected_to":0} 
[2026-07-07 17:54:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184168521933,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:12] local.WARNING: Large IO value detected {"io_id":60,"raw_value":2233395201,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:12] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2962227276,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-07 17:54:12] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:12] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:12] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,202,159,21,45,64,176,76,40,10,66,194,112,1,240,47,60,33,4,113,205,208,41,144,39,239,49,2,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":202,"original":3758096384,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-07 17:54:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476463080588181504,"timestamp_seconds":5476463080588182.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 17:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557278208001,"66":12319,"120":206,"28":31744,"24":0,"16":4726663048855552,"45":1740993130329575424},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557278208001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:54:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:54:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726663048855552,"km_value":4726663048855.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130329575424,"description":"Unknown IO ID 45"} 
[2026-07-07 17:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557278208001,"power":12319,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740993130329575424}} 
[2026-07-07 17:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":124737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:54:12] local.INFO: GPS data processed {"connection_id":124737,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:54:12] local.INFO: Acknowledgment sent {"connection_id":124737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:54:26] local.INFO: TCP Data received {"connection_id":125454,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:54:26] local.INFO: Processing buffer {"connection_id":125454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:54:26] local.INFO: IMEI packet received {"connection_id":125454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":125454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:54:28] local.INFO: TCP Data received {"connection_id":125454,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:54:28] local.INFO: Processing buffer {"connection_id":125454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:54:28] local.INFO: IMEI packet received {"connection_id":125454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":125454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:54:29] local.INFO: TCP Data received {"connection_id":125453,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:54:29] local.INFO: Processing buffer {"connection_id":125453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:54:29] local.INFO: IMEI packet received {"connection_id":125453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 17:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":125453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:54:31] local.INFO: TCP Data received {"connection_id":125454,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:54:31] local.INFO: Processing buffer {"connection_id":125454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:54:31] local.INFO: IMEI packet received {"connection_id":125454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":125454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:54:32] local.INFO: TCP Data received {"connection_id":125454,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c890300012d819f4005d4b228000b00f02b..."} 
[2026-07-07 17:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c890300012d819f4005d4b228000b00f02b..."} 
[2026-07-07 17:54:32] local.INFO: Processing buffer {"connection_id":125454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c890300012d819f4005d4b228000b00f02b..."} 
[2026-07-07 17:54:32] local.INFO: Packet analysis {"connection_id":125454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c89"} 
[2026-07-07 17:54:32] local.INFO: Extracted packet for processing {"connection_id":125454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c89"} 
[2026-07-07 17:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763469632,"raw_latitude":97825320,"longitude_deg":76.3469632,"latitude_deg":9.782532,"altitude":11,"angle":240,"satellites":43,"speed":26,"hex_longitude":"2d819f40","hex_latitude":"05d4b228","is_valid_coordinates":true} 
[2026-07-07 17:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557320192001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103455991110041600,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098960072105111552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783427040000,"timestamp_ms":1783427040000,"timestamp_seconds":1783427040,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c890300"} 
[2026-07-07 17:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 17:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557320192001,"66":12798,"165":206,"85":15104,"24":26,"16":103455991110041600,"45":-9098960072105111552},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-07 17:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557320192001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:54:32] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 17:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103455991110041600,"km_value":103455991110041.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098960072105111552,"description":"Unknown IO ID 45"} 
[2026-07-07 17:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557320192001,"power":12798,"unknown_165":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9098960072105111552}} 
[2026-07-07 17:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":125454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:54:32] local.INFO: GPS data processed {"connection_id":125454,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:54:32] local.INFO: Acknowledgment sent {"connection_id":125454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:54:33] local.INFO: TCP Data received {"connection_id":126699,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:54:33] local.INFO: Processing buffer {"connection_id":126699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:54:33] local.INFO: IMEI packet received {"connection_id":126699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":126699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:54:35] local.INFO: TCP Data received {"connection_id":126699,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:54:35] local.INFO: Processing buffer {"connection_id":126699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:54:35] local.INFO: IMEI packet received {"connection_id":126699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":126699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:54:35] local.INFO: TCP Data received {"connection_id":125452,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:54:35] local.INFO: Processing buffer {"connection_id":125452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:54:35] local.INFO: Packet analysis {"connection_id":125452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:54:35] local.INFO: Extracted packet for processing {"connection_id":125452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:54:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557203712001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783426878000,"timestamp_ms":1783426878000,"timestamp_seconds":1783426878,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c868a30"} 
[2026-07-07 17:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 17:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557203712001,"66":25832,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557203712001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:54:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:54:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557203712001,"power":25832,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":125452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:54:35] local.INFO: GPS data processed {"connection_id":125452,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:54:35] local.INFO: Acknowledgment sent {"connection_id":125452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:54:39] local.INFO: TCP Data received {"connection_id":126699,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:54:39] local.INFO: Processing buffer {"connection_id":126699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:54:39] local.INFO: IMEI packet received {"connection_id":126699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":126699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:54:40] local.INFO: TCP Data received {"connection_id":126699,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c870730012d1829400721b090004c004e2b..."} 
[2026-07-07 17:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c870730012d1829400721b090004c004e2b..."} 
[2026-07-07 17:54:40] local.INFO: Processing buffer {"connection_id":126699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c870730012d1829400721b090004c004e2b..."} 
[2026-07-07 17:54:40] local.INFO: Packet analysis {"connection_id":126699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c87"} 
[2026-07-07 17:54:40] local.INFO: Extracted packet for processing {"connection_id":126699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c87"} 
[2026-07-07 17:54:40] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119648400,"longitude_deg":75.6558144,"latitude_deg":11.96484,"altitude":76,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d182940","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-07-07 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-07-07 17:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557283584001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726663048855552,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130329575424,"note":"Value kept but may cause issues"} 
[2026-07-07 17:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783426910000,"timestamp_ms":1783426910000,"timestamp_seconds":1783426910,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c870730"} 
[2026-07-07 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-07-07 17:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-07 17:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 17:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557283584001,"66":12461,"120":206,"28":31744,"24":0,"16":4726663048855552,"45":1740993130329575424},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557283584001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:54:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:54:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726663048855552,"km_value":4726663048855.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130329575424,"description":"Unknown IO ID 45"} 
[2026-07-07 17:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557283584001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740993130329575424}} 
[2026-07-07 17:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":126699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:54:40] local.INFO: GPS data processed {"connection_id":126699,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:54:40] local.INFO: Acknowledgment sent {"connection_id":126699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:54:58] local.INFO: TCP Data received {"connection_id":124738,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:54:58] local.INFO: Processing buffer {"connection_id":124738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:54:58] local.INFO: IMEI packet received {"connection_id":124738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":124738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:54:58] local.INFO: TCP Data received {"connection_id":124739,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:54:58] local.INFO: Processing buffer {"connection_id":124739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 17:54:58] local.INFO: IMEI packet received {"connection_id":124739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 17:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":124739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:55:03] local.INFO: TCP Data received {"connection_id":124738,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:55:03] local.INFO: Processing buffer {"connection_id":124738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:55:03] local.INFO: IMEI packet received {"connection_id":124738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":124738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:55:04] local.INFO: TCP Data received {"connection_id":124738,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:55:04] local.INFO: Processing buffer {"connection_id":124738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:55:04] local.INFO: Packet analysis {"connection_id":124738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:55:04] local.INFO: Extracted packet for processing {"connection_id":124738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:55:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557203712001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783426878000,"timestamp_ms":1783426878000,"timestamp_seconds":1783426878,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c868a30"} 
[2026-07-07 17:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 17:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557203712001,"66":25832,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557203712001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:55:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:55:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557203712001,"power":25832,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":124738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:55:04] local.INFO: GPS data processed {"connection_id":124738,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:55:04] local.INFO: Acknowledgment sent {"connection_id":124738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:55:05] local.INFO: TCP Data received {"connection_id":125454,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c89be80012d81a88005d3f448000700d12b..."} 
[2026-07-07 17:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c89be80012d81a88005d3f448000700d12b..."} 
[2026-07-07 17:55:05] local.INFO: Processing buffer {"connection_id":125454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c89be80012d81a88005d3f448000700d12b..."} 
[2026-07-07 17:55:05] local.INFO: Packet analysis {"connection_id":125454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c89"} 
[2026-07-07 17:55:05] local.INFO: Extracted packet for processing {"connection_id":125454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c89"} 
[2026-07-07 17:55:05] local.INFO: GPS Element Parsed {"raw_longitude":763472000,"raw_latitude":97776712,"longitude_deg":76.3472,"latitude_deg":9.7776712,"altitude":7,"angle":209,"satellites":43,"speed":33,"hex_longitude":"2d81a880","hex_latitude":"05d3f448","is_valid_coordinates":true} 
[2026-07-07 17:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557334272001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103458409176629248,"note":"Value kept but may cause issues"} 
[2026-07-07 17:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9103463671745003520,"note":"Value kept but may cause issues"} 
[2026-07-07 17:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783427088000,"timestamp_ms":1783427088000,"timestamp_seconds":1783427088,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c89be80"} 
[2026-07-07 17:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-07 17:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 17:55: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-07-07 17:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 17:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 17:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557334272001,"66":12602,"165":206,"85":15104,"24":33,"16":103458409176629248,"45":-9103463671745003520},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-07 17:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 17:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 17:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557334272001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:55:05] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-07 17:55:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 17:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103458409176629248,"km_value":103458409176629.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9103463671745003520,"description":"Unknown IO ID 45"} 
[2026-07-07 17:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557334272001,"power":12602,"unknown_165":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9103463671745003520}} 
[2026-07-07 17:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":125454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:55:05] local.INFO: GPS data processed {"connection_id":125454,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:55:05] local.INFO: Acknowledgment sent {"connection_id":125454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:55:11] local.INFO: TCP Data received {"connection_id":126699,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c897448012d1823800721b118005100fd27..."} 
[2026-07-07 17:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c897448012d1823800721b118005100fd27..."} 
[2026-07-07 17:55:11] local.INFO: Processing buffer {"connection_id":126699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c897448012d1823800721b118005100fd27..."} 
[2026-07-07 17:55:11] local.INFO: Packet analysis {"connection_id":126699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c89"} 
[2026-07-07 17:55:11] local.INFO: Extracted packet for processing {"connection_id":126699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c89"} 
[2026-07-07 17:55:11] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119648536,"longitude_deg":75.6556672,"latitude_deg":11.9648536,"altitude":81,"angle":253,"satellites":39,"speed":3,"hex_longitude":"2d182380","hex_latitude":"0721b118","is_valid_coordinates":true} 
[2026-07-07 17:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557329408001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726770423037952,"note":"Value kept but may cause issues"} 
[2026-07-07 17:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213530112,"note":"Value kept but may cause issues"} 
[2026-07-07 17:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783427069000,"timestamp_ms":1783427069000,"timestamp_seconds":1783427069,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c897448"} 
[2026-07-07 17:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-07 17:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557329408001,"66":14189,"120":206,"28":31744,"24":3,"16":4726770423037952,"45":1739374649213530112},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557329408001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:55:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:55:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726770423037952,"km_value":4726770423037.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213530112,"description":"Unknown IO ID 45"} 
[2026-07-07 17:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557329408001,"power":14189,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1739374649213530112}} 
[2026-07-07 17:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":126699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:55:11] local.INFO: GPS data processed {"connection_id":126699,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:55:11] local.INFO: Acknowledgment sent {"connection_id":126699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:55:26] local.INFO: TCP Data received {"connection_id":124740,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:55:26] local.INFO: Processing buffer {"connection_id":124740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:55:26] local.INFO: IMEI packet received {"connection_id":124740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 17:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":124740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:55:26] local.INFO: TCP Data received {"connection_id":124740,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:55:26] local.INFO: Processing buffer {"connection_id":124740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:55:26] local.INFO: IMEI packet received {"connection_id":124740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":124740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:55:27] local.INFO: TCP Data received {"connection_id":124740,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:55:27] local.INFO: Processing buffer {"connection_id":124740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:55:27] local.INFO: IMEI packet received {"connection_id":124740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":124740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:55:29] local.INFO: TCP Data received {"connection_id":124740,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:55:29] local.INFO: Processing buffer {"connection_id":124740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 17:55:29] local.INFO: IMEI packet received {"connection_id":124740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 17:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":124740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:55:35] local.INFO: TCP Data received {"connection_id":124738,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:55:35] local.INFO: Processing buffer {"connection_id":124738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:55:35] local.INFO: Packet analysis {"connection_id":124738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:55:35] local.INFO: Extracted packet for processing {"connection_id":124738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:55:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557203712001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783426878000,"timestamp_ms":1783426878000,"timestamp_seconds":1783426878,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c868a30"} 
[2026-07-07 17:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 17:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557203712001,"66":25832,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557203712001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:55:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:55:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557203712001,"power":25832,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":124738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:55:35] local.INFO: GPS data processed {"connection_id":124738,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:55:35] local.INFO: Acknowledgment sent {"connection_id":124738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:55:38] local.INFO: TCP Data received {"connection_id":126701,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:55:38] local.INFO: Processing buffer {"connection_id":126701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:55:38] local.INFO: IMEI packet received {"connection_id":126701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":126701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:55:43] local.INFO: TCP Data received {"connection_id":126701,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:55:43] local.INFO: Processing buffer {"connection_id":126701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:55:43] local.INFO: IMEI packet received {"connection_id":126701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":126701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:55:44] local.INFO: TCP Data received {"connection_id":126701,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c897830012d1823000721b0a8005100e729..."} 
[2026-07-07 17:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c897830012d1823000721b0a8005100e729..."} 
[2026-07-07 17:55:44] local.INFO: Processing buffer {"connection_id":126701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c897830012d1823000721b0a8005100e729..."} 
[2026-07-07 17:55:44] local.INFO: Packet analysis {"connection_id":126701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c89"} 
[2026-07-07 17:55:44] local.INFO: Extracted packet for processing {"connection_id":126701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c89"} 
[2026-07-07 17:55:44] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119648424,"longitude_deg":75.6556544,"latitude_deg":11.9648424,"altitude":81,"angle":231,"satellites":41,"speed":5,"hex_longitude":"2d182300","hex_latitude":"0721b0a8","is_valid_coordinates":true} 
[2026-07-07 17:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557329664001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726779012972544,"note":"Value kept but may cause issues"} 
[2026-07-07 17:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213523968,"note":"Value kept but may cause issues"} 
[2026-07-07 17:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783427070000,"timestamp_ms":1783427070000,"timestamp_seconds":1783427070,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c897830"} 
[2026-07-07 17:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 17:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":126701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":126701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":126701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557329664001,"66":14189,"120":206,"28":31744,"24":5,"16":4726779012972544,"45":1739374649213523968},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557329664001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:55:44] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:55:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726779012972544,"km_value":4726779012972.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213523968,"description":"Unknown IO ID 45"} 
[2026-07-07 17:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557329664001,"power":14189,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1739374649213523968}} 
[2026-07-07 17:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":126701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:55:44] local.INFO: GPS data processed {"connection_id":126701,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:55:44] local.INFO: Acknowledgment sent {"connection_id":126701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:56:03] local.INFO: TCP Data received {"connection_id":124741,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:56:03] local.INFO: Processing buffer {"connection_id":124741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:56:03] local.INFO: IMEI packet received {"connection_id":124741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":124741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:56:08] local.INFO: TCP Data received {"connection_id":124741,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:56:08] local.INFO: Processing buffer {"connection_id":124741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:56:08] local.INFO: IMEI packet received {"connection_id":124741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":124741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:56:16] local.INFO: TCP Data received {"connection_id":126701,"ip":"117.224.51.203","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c898000012d1822400721af78005000d92a..."} 
[2026-07-07 17:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c898000012d1822400721af78005000d92a..."} 
[2026-07-07 17:56:16] local.INFO: Processing buffer {"connection_id":126701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c898000012d1822400721af78005000d92a..."} 
[2026-07-07 17:56:16] local.INFO: Packet analysis {"connection_id":126701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c89"} 
[2026-07-07 17:56:16] local.INFO: Extracted packet for processing {"connection_id":126701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c89"} 
[2026-07-07 17:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119648120,"longitude_deg":75.6556352,"latitude_deg":11.964812,"altitude":80,"angle":217,"satellites":42,"speed":9,"hex_longitude":"2d182240","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-07-07 17:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557329920001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726796192841728,"note":"Value kept but may cause issues"} 
[2026-07-07 17:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725139968,"note":"Value kept but may cause issues"} 
[2026-07-07 17:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783427072000,"timestamp_ms":1783427072000,"timestamp_seconds":1783427072,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c898000"} 
[2026-07-07 17:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 17: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 17:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 17:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.51.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 17:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 17:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557329920001,"66":14243,"120":206,"28":31744,"24":9,"16":4726796192841728,"45":1739233911725139968},"client_ip":"117.224.51.203","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 17:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 17:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 17:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557329920001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:56:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 17:56:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 17:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726796192841728,"km_value":4726796192841.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725139968,"description":"Unknown IO ID 45"} 
[2026-07-07 17:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557329920001,"power":14243,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1739233911725139968}} 
[2026-07-07 17:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":126701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:56:16] local.INFO: GPS data processed {"connection_id":126701,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:56:16] local.INFO: Acknowledgment sent {"connection_id":126701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:56:20] local.INFO: TCP Data received {"connection_id":124741,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:56:20] local.INFO: Processing buffer {"connection_id":124741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:56:20] local.INFO: Packet analysis {"connection_id":124741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:56:20] local.INFO: Extracted packet for processing {"connection_id":124741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:56:20] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557203712001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783426878000,"timestamp_ms":1783426878000,"timestamp_seconds":1783426878,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c868a30"} 
[2026-07-07 17:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17: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-07-07 17: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":117,"data_length":795,"current_offset":136} 
[2026-07-07 17:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:56: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-07-07 17:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557203712001,"66":25832,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557203712001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:56:20] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:56:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557203712001,"power":25832,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":124741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:56:20] local.INFO: GPS data processed {"connection_id":124741,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:56:20] local.INFO: Acknowledgment sent {"connection_id":124741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:56:34] local.INFO: TCP Data received {"connection_id":124741,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:56:34] local.INFO: Processing buffer {"connection_id":124741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c868a30012dc7c300052e4b200017002a29..."} 
[2026-07-07 17:56:34] local.INFO: Packet analysis {"connection_id":124741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:56:34] local.INFO: Extracted packet for processing {"connection_id":124741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c86"} 
[2026-07-07 17:56:34] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557203712001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783426878000,"timestamp_ms":1783426878000,"timestamp_seconds":1783426878,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c868a30"} 
[2026-07-07 17:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 17:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557203712001,"66":25832,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557203712001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:56:34] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:56:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557203712001,"power":25832,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":124741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:56:34] local.INFO: GPS data processed {"connection_id":124741,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:56:34] local.INFO: Acknowledgment sent {"connection_id":124741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:56:35] local.INFO: TCP Data received {"connection_id":126702,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:56:35] local.INFO: Processing buffer {"connection_id":126702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:56:35] local.INFO: IMEI packet received {"connection_id":126702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 17:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":126702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:56:38] local.INFO: TCP Data received {"connection_id":126702,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:56:38] local.INFO: Processing buffer {"connection_id":126702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:56:38] local.INFO: IMEI packet received {"connection_id":126702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":126702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:56:39] local.INFO: TCP Data received {"connection_id":126702,"ip":"117.224.51.203","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:56:39] local.INFO: Processing buffer {"connection_id":126702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 17:56:39] local.INFO: IMEI packet received {"connection_id":126702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 17:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":126702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:56:57] local.INFO: TCP Data received {"connection_id":125455,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:56:57] local.INFO: Processing buffer {"connection_id":125455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:56:57] local.INFO: IMEI packet received {"connection_id":125455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":125455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:56:58] local.INFO: TCP Data received {"connection_id":125455,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:56:58] local.INFO: Processing buffer {"connection_id":125455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:56:58] local.INFO: IMEI packet received {"connection_id":125455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":125455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:57:03] local.INFO: TCP Data received {"connection_id":125455,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:57:03] local.INFO: Processing buffer {"connection_id":125455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:57:03] local.INFO: IMEI packet received {"connection_id":125455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":125455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:57:04] local.INFO: TCP Data received {"connection_id":125455,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 17:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 17:57:04] local.INFO: Processing buffer {"connection_id":125455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 17:57:04] local.INFO: Packet analysis {"connection_id":125455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8b"} 
[2026-07-07 17:57:04] local.INFO: Extracted packet for processing {"connection_id":125455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8b"} 
[2026-07-07 17:57:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557280768001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783427179000,"timestamp_ms":1783427179000,"timestamp_seconds":1783427179,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8b21f8"} 
[2026-07-07 17:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-07 17:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557280768001,"66":25702,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557280768001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:57:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:57:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557280768001,"power":25702,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":125455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:57:04] local.INFO: GPS data processed {"connection_id":125455,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:57:04] local.INFO: Acknowledgment sent {"connection_id":125455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:57:47] local.INFO: TCP Data received {"connection_id":125455,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 17:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 17:57:47] local.INFO: Processing buffer {"connection_id":125455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 17:57:47] local.INFO: Packet analysis {"connection_id":125455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8b"} 
[2026-07-07 17:57:47] local.INFO: Extracted packet for processing {"connection_id":125455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8b"} 
[2026-07-07 17:57:47] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557280768001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783427179000,"timestamp_ms":1783427179000,"timestamp_seconds":1783427179,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8b21f8"} 
[2026-07-07 17:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-07 17:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":125455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":125455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":125455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557280768001,"66":25702,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557280768001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:57:47] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:57:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557280768001,"power":25702,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":125455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:57:47] local.INFO: GPS data processed {"connection_id":125455,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:57:47] local.INFO: Acknowledgment sent {"connection_id":125455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:57:58] local.INFO: TCP Data received {"connection_id":124647,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:57:58] local.INFO: Processing buffer {"connection_id":124647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:57:58] local.INFO: IMEI packet received {"connection_id":124647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":124647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:58:03] local.INFO: TCP Data received {"connection_id":124647,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:58:03] local.INFO: Processing buffer {"connection_id":124647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:58:03] local.INFO: IMEI packet received {"connection_id":124647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":124647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:58:04] local.INFO: TCP Data received {"connection_id":124647,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 17:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 17:58:04] local.INFO: Processing buffer {"connection_id":124647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 17:58:04] local.INFO: Packet analysis {"connection_id":124647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8b"} 
[2026-07-07 17:58:04] local.INFO: Extracted packet for processing {"connection_id":124647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8b"} 
[2026-07-07 17:58:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557280768001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783427179000,"timestamp_ms":1783427179000,"timestamp_seconds":1783427179,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8b21f8"} 
[2026-07-07 17:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-07 17:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557280768001,"66":25702,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557280768001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:58:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:58:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557280768001,"power":25702,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":124647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:58:04] local.INFO: GPS data processed {"connection_id":124647,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:58:04] local.INFO: Acknowledgment sent {"connection_id":124647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:58:35] local.INFO: TCP Data received {"connection_id":124647,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 17:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 17:58:35] local.INFO: Processing buffer {"connection_id":124647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 17:58:35] local.INFO: Packet analysis {"connection_id":124647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8b"} 
[2026-07-07 17:58:35] local.INFO: Extracted packet for processing {"connection_id":124647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8b"} 
[2026-07-07 17:58:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557280768001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783427179000,"timestamp_ms":1783427179000,"timestamp_seconds":1783427179,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8b21f8"} 
[2026-07-07 17:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-07 17:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557280768001,"66":25702,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557280768001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:58:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:58:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557280768001,"power":25702,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":124647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:58:35] local.INFO: GPS data processed {"connection_id":124647,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:58:35] local.INFO: Acknowledgment sent {"connection_id":124647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:58:58] local.INFO: TCP Data received {"connection_id":124649,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:58:58] local.INFO: Processing buffer {"connection_id":124649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:58:58] local.INFO: IMEI packet received {"connection_id":124649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":124649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 17:59:03] local.INFO: TCP Data received {"connection_id":124649,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:59:03] local.INFO: Processing buffer {"connection_id":124649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:59:03] local.INFO: IMEI packet received {"connection_id":124649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 17:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":124649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 17:59:04] local.INFO: TCP Data received {"connection_id":124649,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 17:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 17:59:04] local.INFO: Processing buffer {"connection_id":124649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 17:59:04] local.INFO: Packet analysis {"connection_id":124649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8b"} 
[2026-07-07 17:59:04] local.INFO: Extracted packet for processing {"connection_id":124649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8b"} 
[2026-07-07 17:59:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17: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-07-07 17:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557280768001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783427179000,"timestamp_ms":1783427179000,"timestamp_seconds":1783427179,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8b21f8"} 
[2026-07-07 17:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-07 17:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17: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-07-07 17:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557280768001,"66":25702,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557280768001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:59:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:59:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557280768001,"power":25702,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":124649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:59:04] local.INFO: GPS data processed {"connection_id":124649,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:59:04] local.INFO: Acknowledgment sent {"connection_id":124649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:59:35] local.INFO: TCP Data received {"connection_id":124649,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 17:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 17:59:35] local.INFO: Processing buffer {"connection_id":124649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 17:59:35] local.INFO: Packet analysis {"connection_id":124649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8b"} 
[2026-07-07 17:59:35] local.INFO: Extracted packet for processing {"connection_id":124649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8b"} 
[2026-07-07 17:59:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 17:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 17:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557280768001,"note":"Value kept but may cause issues"} 
[2026-07-07 17:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 17:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 17:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 17:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783427179000,"timestamp_ms":1783427179000,"timestamp_seconds":1783427179,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8b21f8"} 
[2026-07-07 17:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 17:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 17:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-07 17:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 17:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 17:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 17:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 17:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 17:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 17:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 17:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 17:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 17:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557280768001,"66":25702,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 17:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 17:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 17:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557280768001,"description":"Unknown IO ID 0"} 
[2026-07-07 17:59:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 17:59:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 17:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 17:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 17:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557280768001,"power":25702,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 17:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":124649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 17:59:35] local.INFO: GPS data processed {"connection_id":124649,"processed":1,"errors":0,"total":1} 
[2026-07-07 17:59:35] local.INFO: Acknowledgment sent {"connection_id":124649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 17:59:58] local.INFO: TCP Data received {"connection_id":125457,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:59:58] local.INFO: Processing buffer {"connection_id":125457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 17:59:58] local.INFO: IMEI packet received {"connection_id":125457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 17:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":125457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:00:03] local.INFO: TCP Data received {"connection_id":125457,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:00:03] local.INFO: Processing buffer {"connection_id":125457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:00:03] local.INFO: IMEI packet received {"connection_id":125457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":125457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:00:04] local.INFO: TCP Data received {"connection_id":125457,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 18:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 18:00:04] local.INFO: Processing buffer {"connection_id":125457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 18:00:04] local.INFO: Packet analysis {"connection_id":125457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8b"} 
[2026-07-07 18:00:04] local.INFO: Extracted packet for processing {"connection_id":125457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8b"} 
[2026-07-07 18:00:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557280768001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783427179000,"timestamp_ms":1783427179000,"timestamp_seconds":1783427179,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8b21f8"} 
[2026-07-07 18:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-07 18:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557280768001,"66":25702,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557280768001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:00:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:00:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557280768001,"power":25702,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":125457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:00:04] local.INFO: GPS data processed {"connection_id":125457,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:00:04] local.INFO: Acknowledgment sent {"connection_id":125457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:00:19] local.INFO: TCP Data received {"connection_id":124743,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:00:19] local.INFO: Processing buffer {"connection_id":124743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:00:19] local.INFO: IMEI packet received {"connection_id":124743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 18:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":124743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:00:25] local.INFO: TCP Data received {"connection_id":126707,"ip":"117.224.180.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:00:25] local.INFO: Processing buffer {"connection_id":126707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:00:25] local.INFO: IMEI packet received {"connection_id":126707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":126707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:00:31] local.INFO: TCP Data received {"connection_id":126707,"ip":"117.224.180.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:00:31] local.INFO: Processing buffer {"connection_id":126707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:00:31] local.INFO: IMEI packet received {"connection_id":126707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":126707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:00:31] local.INFO: TCP Data received {"connection_id":126706,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:00:31] local.INFO: Processing buffer {"connection_id":126706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:00:31] local.INFO: IMEI packet received {"connection_id":126706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":126706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:00:32] local.INFO: TCP Data received {"connection_id":126706,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8e0ff8012d8296c005d226d0000b00b429..."} 
[2026-07-07 18:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8e0ff8012d8296c005d226d0000b00b429..."} 
[2026-07-07 18:00:32] local.INFO: Processing buffer {"connection_id":126706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8e0ff8012d8296c005d226d0000b00b429..."} 
[2026-07-07 18:00:32] local.INFO: Packet analysis {"connection_id":126706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8e"} 
[2026-07-07 18:00:32] local.INFO: Extracted packet for processing {"connection_id":126706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8e"} 
[2026-07-07 18:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763532992,"raw_latitude":97658576,"longitude_deg":76.3532992,"latitude_deg":9.7658576,"altitude":11,"angle":180,"satellites":41,"speed":27,"hex_longitude":"2d8296c0","hex_latitude":"05d226d0","is_valid_coordinates":true} 
[2026-07-07 18:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557403648001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103466676988674048,"note":"Value kept but may cause issues"} 
[2026-07-07 18:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036472627315900416,"note":"Value kept but may cause issues"} 
[2026-07-07 18:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783427371000,"timestamp_ms":1783427371000,"timestamp_seconds":1783427371,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8e0ff8"} 
[2026-07-07 18:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 18:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557403648001,"66":13319,"221":206,"85":15104,"24":27,"16":103466676988674048,"45":-9036472627315900416},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-07 18:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557403648001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:00:32] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 18:00:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103466676988674048,"km_value":103466676988674.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036472627315900416,"description":"Unknown IO ID 45"} 
[2026-07-07 18:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557403648001,"power":13319,"unknown_221":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9036472627315900416}} 
[2026-07-07 18:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":126706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:00:32] local.INFO: GPS data processed {"connection_id":126706,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:00:32] local.INFO: Acknowledgment sent {"connection_id":126706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:00:34] local.INFO: TCP Data received {"connection_id":126707,"ip":"117.224.180.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8e2380012d190d80072018c0003c006d2a..."} 
[2026-07-07 18:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8e2380012d190d80072018c0003c006d2a..."} 
[2026-07-07 18:00:34] local.INFO: Processing buffer {"connection_id":126707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8e2380012d190d80072018c0003c006d2a..."} 
[2026-07-07 18:00:34] local.INFO: Packet analysis {"connection_id":126707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8e"} 
[2026-07-07 18:00:34] local.INFO: Extracted packet for processing {"connection_id":126707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8e"} 
[2026-07-07 18:00:34] local.INFO: GPS Element Parsed {"raw_longitude":756616576,"raw_latitude":119544000,"longitude_deg":75.6616576,"latitude_deg":11.9544,"altitude":60,"angle":109,"satellites":42,"speed":15,"hex_longitude":"2d190d80","hex_latitude":"072018c0","is_valid_coordinates":true} 
[2026-07-07 18:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557403648001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4733745449926656,"note":"Value kept but may cause issues"} 
[2026-07-07 18:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796584438203305984,"note":"Value kept but may cause issues"} 
[2026-07-07 18:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783427376000,"timestamp_ms":1783427376000,"timestamp_seconds":1783427376,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8e2380"} 
[2026-07-07 18:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-07 18:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.180.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557403648001,"66":14396,"121":206,"28":31744,"24":15,"16":4733745449926656,"45":1796584438203305984},"client_ip":"117.224.180.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557403648001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:00:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:00:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4733745449926656,"km_value":4733745449926.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796584438203305984,"description":"Unknown IO ID 45"} 
[2026-07-07 18:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557403648001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1796584438203305984}} 
[2026-07-07 18:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":126707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:00:34] local.INFO: GPS data processed {"connection_id":126707,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:00:34] local.INFO: Acknowledgment sent {"connection_id":126707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:00:38] local.INFO: TCP Data received {"connection_id":125457,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 18:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 18:00:38] local.INFO: Processing buffer {"connection_id":125457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 18:00:38] local.INFO: Packet analysis {"connection_id":125457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8b"} 
[2026-07-07 18:00:38] local.INFO: Extracted packet for processing {"connection_id":125457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8b"} 
[2026-07-07 18:00:38] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557280768001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783427179000,"timestamp_ms":1783427179000,"timestamp_seconds":1783427179,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8b21f8"} 
[2026-07-07 18:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-07 18:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557280768001,"66":25702,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557280768001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:00:38] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:00:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557280768001,"power":25702,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":125457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:00:38] local.INFO: GPS data processed {"connection_id":125457,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:00:38] local.INFO: Acknowledgment sent {"connection_id":125457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:01:03] local.INFO: TCP Data received {"connection_id":126709,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:01:03] local.INFO: Processing buffer {"connection_id":126709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:01:03] local.INFO: IMEI packet received {"connection_id":126709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":126709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:01:04] local.INFO: TCP Data received {"connection_id":126708,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:01:04] local.INFO: Processing buffer {"connection_id":126708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:01:04] local.INFO: IMEI packet received {"connection_id":126708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 18:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":126708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:01:06] local.INFO: TCP Data received {"connection_id":126707,"ip":"117.224.180.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8e2b50012d19100007201788003d007b29..."} 
[2026-07-07 18:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8e2b50012d19100007201788003d007b29..."} 
[2026-07-07 18:01:06] local.INFO: Processing buffer {"connection_id":126707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8e2b50012d19100007201788003d007b29..."} 
[2026-07-07 18:01:06] local.INFO: Packet analysis {"connection_id":126707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8e"} 
[2026-07-07 18:01:06] local.INFO: Extracted packet for processing {"connection_id":126707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8e"} 
[2026-07-07 18:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756617216,"raw_latitude":119543688,"longitude_deg":75.6617216,"latitude_deg":11.9543688,"altitude":61,"angle":123,"satellites":41,"speed":13,"hex_longitude":"2d191000","hex_latitude":"07201788","is_valid_coordinates":true} 
[2026-07-07 18:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557408256001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4733779809665024,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805239793737056256,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783427378000,"timestamp_ms":1783427378000,"timestamp_seconds":1783427378,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8e2b50"} 
[2026-07-07 18:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 18:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.180.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557408256001,"66":13993,"121":206,"28":31744,"24":13,"16":4733779809665024,"45":1805239793737056256},"client_ip":"117.224.180.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557408256001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:01:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:01:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4733779809665024,"km_value":4733779809665.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805239793737056256,"description":"Unknown IO ID 45"} 
[2026-07-07 18:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557408256001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1805239793737056256}} 
[2026-07-07 18:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":126707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:01:06] local.INFO: GPS data processed {"connection_id":126707,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:01:06] local.INFO: Acknowledgment sent {"connection_id":126707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:01:08] local.INFO: TCP Data received {"connection_id":126709,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:01:08] local.INFO: Processing buffer {"connection_id":126709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:01:08] local.INFO: IMEI packet received {"connection_id":126709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":126709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:01:09] local.INFO: TCP Data received {"connection_id":126709,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 18:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 18:01:09] local.INFO: Processing buffer {"connection_id":126709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 18:01:09] local.INFO: Packet analysis {"connection_id":126709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8b"} 
[2026-07-07 18:01:09] local.INFO: Extracted packet for processing {"connection_id":126709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8b"} 
[2026-07-07 18:01:09] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557280768001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783427179000,"timestamp_ms":1783427179000,"timestamp_seconds":1783427179,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8b21f8"} 
[2026-07-07 18:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-07 18:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557280768001,"66":25702,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557280768001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:01:09] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:01:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557280768001,"power":25702,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":126709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:01:09] local.INFO: GPS data processed {"connection_id":126709,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:01:09] local.INFO: Acknowledgment sent {"connection_id":126709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:01:13] local.INFO: TCP Data received {"connection_id":126706,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8e3ed8012d82978005d20648000a00b42b..."} 
[2026-07-07 18:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8e3ed8012d82978005d20648000a00b42b..."} 
[2026-07-07 18:01:13] local.INFO: Processing buffer {"connection_id":126706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8e3ed8012d82978005d20648000a00b42b..."} 
[2026-07-07 18:01:13] local.INFO: Packet analysis {"connection_id":126706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8e"} 
[2026-07-07 18:01:13] local.INFO: Extracted packet for processing {"connection_id":126706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8e"} 
[2026-07-07 18:01:13] local.INFO: GPS Element Parsed {"raw_longitude":763533184,"raw_latitude":97650248,"longitude_deg":76.3533184,"latitude_deg":9.7650248,"altitude":10,"angle":180,"satellites":43,"speed":28,"hex_longitude":"2d829780","hex_latitude":"05d20648","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557406976001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103467115075338240,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036824471039193088,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783427383000,"timestamp_ms":1783427383000,"timestamp_seconds":1783427383,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8e3ed8"} 
[2026-07-07 18:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:01: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-07-07 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 18:01:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190819333,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:13] local.WARNING: Large IO value detected {"io_id":149,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:13] local.WARNING: Large IO value detected {"io_id":60,"raw_value":2376243201,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:13] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-3884354609876621056,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816278734,"corrected_to":0} 
[2026-07-07 18:01:13] local.WARNING: Large IO value detected {"io_id":145,"raw_value":2147865226,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:13] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2504261632,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3534766080,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:13] local.WARNING: Large IO value detected {"io_id":35,"raw_value":57886937868817723,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:13] local.WARNING: Large IO value detected {"io_id":141,"raw_value":457116657153605637,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:13] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,221,85,24,241,157,16,150,159,45,75,14,42,10,66,149,189,95,15,178,64,1,240,215,227,60,210,4,113,205,104,145,39,239,52,2,111,5,25,35,141],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2816278734,"validated":0}]} 
[2026-07-07 18:01:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792831622605635584,"timestamp_seconds":792831622605635.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 18:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18: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-07-07 18:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557406976001,"66":13363,"221":206,"85":15104,"24":28,"16":103467115075338240,"45":-9036824471039193088},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-07 18:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557406976001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:01:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 18:01:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103467115075338240,"km_value":103467115075338.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036824471039193088,"description":"Unknown IO ID 45"} 
[2026-07-07 18:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557406976001,"power":13363,"unknown_221":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9036824471039193088}} 
[2026-07-07 18:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":126706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:01:13] local.INFO: GPS data processed {"connection_id":126706,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:01:13] local.INFO: Acknowledgment sent {"connection_id":126706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:01:26] local.INFO: TCP Data received {"connection_id":125458,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:01:26] local.INFO: Processing buffer {"connection_id":125458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:01:26] local.INFO: IMEI packet received {"connection_id":125458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":125458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:01:31] local.INFO: TCP Data received {"connection_id":125458,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:01:31] local.INFO: Processing buffer {"connection_id":125458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:01:31] local.INFO: IMEI packet received {"connection_id":125458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":125458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:01:32] local.INFO: TCP Data received {"connection_id":125458,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8e69d0012d82980005d1eb80000900a729..."} 
[2026-07-07 18:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8e69d0012d82980005d1eb80000900a729..."} 
[2026-07-07 18:01:32] local.INFO: Processing buffer {"connection_id":125458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8e69d0012d82980005d1eb80000900a729..."} 
[2026-07-07 18:01:32] local.INFO: Packet analysis {"connection_id":125458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8e"} 
[2026-07-07 18:01:32] local.INFO: Extracted packet for processing {"connection_id":125458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8e"} 
[2026-07-07 18:01:32] local.INFO: GPS Element Parsed {"raw_longitude":763533312,"raw_latitude":97643392,"longitude_deg":76.3533312,"latitude_deg":9.7643392,"altitude":9,"angle":167,"satellites":41,"speed":15,"hex_longitude":"2d829800","hex_latitude":"05d1eb80","is_valid_coordinates":true} 
[2026-07-07 18:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557410048001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103467420018016256,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036613364808792064,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783427394000,"timestamp_ms":1783427394000,"timestamp_seconds":1783427394,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8e69d0"} 
[2026-07-07 18:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 18:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557410048001,"66":13189,"221":206,"85":15104,"24":15,"16":103467420018016256,"45":-9036613364808792064},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-07 18:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557410048001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:01:32] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 18:01:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103467420018016256,"km_value":103467420018016.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036613364808792064,"description":"Unknown IO ID 45"} 
[2026-07-07 18:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557410048001,"power":13189,"unknown_221":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9036613364808792064}} 
[2026-07-07 18:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":125458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:01:32] local.INFO: GPS data processed {"connection_id":125458,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:01:32] local.INFO: Acknowledgment sent {"connection_id":125458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:01:38] local.INFO: TCP Data received {"connection_id":126707,"ip":"117.224.180.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8f5818012d18de8007201a38002c01182b..."} 
[2026-07-07 18:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8f5818012d18de8007201a38002c01182b..."} 
[2026-07-07 18:01:38] local.INFO: Processing buffer {"connection_id":126707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8f5818012d18de8007201a38002c01182b..."} 
[2026-07-07 18:01:38] local.INFO: Packet analysis {"connection_id":126707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:01:38] local.INFO: Extracted packet for processing {"connection_id":126707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756604544,"raw_latitude":119544376,"longitude_deg":75.6604544,"latitude_deg":11.9544376,"altitude":44,"angle":280,"satellites":43,"speed":15,"hex_longitude":"2d18de80","hex_latitude":"07201a38","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557427200001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4734531428941824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794543744622139392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783427455000,"timestamp_ms":1783427455000,"timestamp_seconds":1783427455,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8f5818"} 
[2026-07-07 18:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 18:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.180.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557427200001,"66":14363,"121":206,"28":31744,"24":15,"16":4734531428941824,"45":1794543744622139392},"client_ip":"117.224.180.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557427200001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:01:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:01:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4734531428941824,"km_value":4734531428941.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794543744622139392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557427200001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1794543744622139392}} 
[2026-07-07 18:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":126707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:01:38] local.INFO: GPS data processed {"connection_id":126707,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:01:38] local.INFO: Acknowledgment sent {"connection_id":126707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:01:40] local.INFO: TCP Data received {"connection_id":126709,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 18:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 18:01:40] local.INFO: Processing buffer {"connection_id":126709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8b21f8012dc7c300052e4b200017002a2d..."} 
[2026-07-07 18:01:40] local.INFO: Packet analysis {"connection_id":126709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8b"} 
[2026-07-07 18:01:40] local.INFO: Extracted packet for processing {"connection_id":126709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8b"} 
[2026-07-07 18:01:40] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557280768001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783427179000,"timestamp_ms":1783427179000,"timestamp_seconds":1783427179,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8b21f8"} 
[2026-07-07 18:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-07 18:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557280768001,"66":25702,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557280768001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:01:40] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:01:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557280768001,"power":25702,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":126709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:01:40] local.INFO: GPS data processed {"connection_id":126709,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:01:40] local.INFO: Acknowledgment sent {"connection_id":126709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:01:58] local.INFO: TCP Data received {"connection_id":124651,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:01:58] local.INFO: Processing buffer {"connection_id":124651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:01:58] local.INFO: IMEI packet received {"connection_id":124651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":124651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:01:59] local.INFO: TCP Data received {"connection_id":124651,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:01:59] local.INFO: Processing buffer {"connection_id":124651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:01:59] local.INFO: IMEI packet received {"connection_id":124651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":124651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:02:03] local.INFO: TCP Data received {"connection_id":125458,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9032d8012d82980005d16470000700a72b..."} 
[2026-07-07 18:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9032d8012d82980005d16470000700a72b..."} 
[2026-07-07 18:02:03] local.INFO: Processing buffer {"connection_id":125458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9032d8012d82980005d16470000700a72b..."} 
[2026-07-07 18:02:03] local.INFO: Packet analysis {"connection_id":125458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c90"} 
[2026-07-07 18:02:03] local.INFO: Extracted packet for processing {"connection_id":125458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c90"} 
[2026-07-07 18:02:03] local.INFO: GPS Element Parsed {"raw_longitude":763533312,"raw_latitude":97608816,"longitude_deg":76.3533312,"latitude_deg":9.7608816,"altitude":7,"angle":167,"satellites":43,"speed":4,"hex_longitude":"2d829800","hex_latitude":"05d16470","is_valid_coordinates":true} 
[2026-07-07 18:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557442048001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103469150889836544,"note":"Value kept but may cause issues"} 
[2026-07-07 18:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036542996075134976,"note":"Value kept but may cause issues"} 
[2026-07-07 18:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783427511000,"timestamp_ms":1783427511000,"timestamp_seconds":1783427511,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9032d8"} 
[2026-07-07 18:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:02: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-07-07 18:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 18:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:02: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-07-07 18:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557442048001,"66":12961,"221":206,"85":15104,"24":4,"16":103469150889836544,"45":-9036542996075134976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-07 18:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557442048001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:02:03] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 18:02:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103469150889836544,"km_value":103469150889836.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036542996075134976,"description":"Unknown IO ID 45"} 
[2026-07-07 18:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557442048001,"power":12961,"unknown_221":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":-9036542996075134976}} 
[2026-07-07 18:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":125458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:02:03] local.INFO: GPS data processed {"connection_id":125458,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:02:03] local.INFO: Acknowledgment sent {"connection_id":125458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:02:03] local.INFO: TCP Data received {"connection_id":124651,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:02:03] local.INFO: Processing buffer {"connection_id":124651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:02:03] local.INFO: IMEI packet received {"connection_id":124651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":124651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:02:04] local.INFO: TCP Data received {"connection_id":124651,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:02:04] local.INFO: Processing buffer {"connection_id":124651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:02:04] local.INFO: Packet analysis {"connection_id":124651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:02:04] local.INFO: Extracted packet for processing {"connection_id":124651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:02:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557357824001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783427480000,"timestamp_ms":1783427480000,"timestamp_seconds":1783427480,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8fb9c0"} 
[2026-07-07 18:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 18:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557357824001,"66":25647,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557357824001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:02:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:02:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557357824001,"power":25647,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":124651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:02:04] local.INFO: GPS data processed {"connection_id":124651,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:02:04] local.INFO: Acknowledgment sent {"connection_id":124651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:02:09] local.INFO: TCP Data received {"connection_id":126707,"ip":"117.224.180.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8f63d0012d18db4007201b60002b01312a..."} 
[2026-07-07 18:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8f63d0012d18db4007201b60002b01312a..."} 
[2026-07-07 18:02:09] local.INFO: Processing buffer {"connection_id":126707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8f63d0012d18db4007201b60002b01312a..."} 
[2026-07-07 18:02:09] local.INFO: Packet analysis {"connection_id":126707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:02:09] local.INFO: Extracted packet for processing {"connection_id":126707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:02:09] local.INFO: GPS Element Parsed {"raw_longitude":756603712,"raw_latitude":119544672,"longitude_deg":75.6603712,"latitude_deg":11.9544672,"altitude":43,"angle":305,"satellites":42,"speed":11,"hex_longitude":"2d18db40","hex_latitude":"07201b60","is_valid_coordinates":true} 
[2026-07-07 18:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557428480001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4734574378614784,"note":"Value kept but may cause issues"} 
[2026-07-07 18:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792010469831751680,"note":"Value kept but may cause issues"} 
[2026-07-07 18:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783427458000,"timestamp_ms":1783427458000,"timestamp_seconds":1783427458,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8f63d0"} 
[2026-07-07 18:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-07 18:02: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-07-07 18:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.180.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557428480001,"66":14494,"121":206,"28":31744,"24":11,"16":4734574378614784,"45":1792010469831751680},"client_ip":"117.224.180.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557428480001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:02:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:02:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4734574378614784,"km_value":4734574378614.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792010469831751680,"description":"Unknown IO ID 45"} 
[2026-07-07 18:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557428480001,"power":14494,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1792010469831751680}} 
[2026-07-07 18:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":126707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:02:10] local.INFO: GPS data processed {"connection_id":126707,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:02:10] local.INFO: Acknowledgment sent {"connection_id":126707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:02:26] local.INFO: TCP Data received {"connection_id":125459,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:02:26] local.INFO: Processing buffer {"connection_id":125459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:02:26] local.INFO: IMEI packet received {"connection_id":125459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":125459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:02:31] local.INFO: TCP Data received {"connection_id":125459,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:02:31] local.INFO: Processing buffer {"connection_id":125459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:02:31] local.INFO: IMEI packet received {"connection_id":125459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":125459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:02:32] local.INFO: TCP Data received {"connection_id":125459,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c903aa8012d82980005d16318000800b22a..."} 
[2026-07-07 18:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c903aa8012d82980005d16318000800b22a..."} 
[2026-07-07 18:02:32] local.INFO: Processing buffer {"connection_id":125459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c903aa8012d82980005d16318000800b22a..."} 
[2026-07-07 18:02:32] local.INFO: Packet analysis {"connection_id":125459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c90"} 
[2026-07-07 18:02:32] local.INFO: Extracted packet for processing {"connection_id":125459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c90"} 
[2026-07-07 18:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763533312,"raw_latitude":97608472,"longitude_deg":76.3533312,"latitude_deg":9.7608472,"altitude":8,"angle":178,"satellites":42,"speed":8,"hex_longitude":"2d829800","hex_latitude":"05d16318","is_valid_coordinates":true} 
[2026-07-07 18:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557442816001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103469168069705728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036472627331043328,"note":"Value kept but may cause issues"} 
[2026-07-07 18:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783427513000,"timestamp_ms":1783427513000,"timestamp_seconds":1783427513,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c903aa8"} 
[2026-07-07 18:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:02: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-07-07 18:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-07 18:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557442816001,"66":12961,"221":206,"85":15104,"24":8,"16":103469168069705728,"45":-9036472627331043328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-07 18:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557442816001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:02:32] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 18:02:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103469168069705728,"km_value":103469168069705.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036472627331043328,"description":"Unknown IO ID 45"} 
[2026-07-07 18:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557442816001,"power":12961,"unknown_221":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9036472627331043328}} 
[2026-07-07 18:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":125459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:02:32] local.INFO: GPS data processed {"connection_id":125459,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:02:32] local.INFO: Acknowledgment sent {"connection_id":125459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:02:35] local.INFO: TCP Data received {"connection_id":124651,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:02:35] local.INFO: Processing buffer {"connection_id":124651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:02:35] local.INFO: Packet analysis {"connection_id":124651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:02:35] local.INFO: Extracted packet for processing {"connection_id":124651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:02:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557357824001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783427480000,"timestamp_ms":1783427480000,"timestamp_seconds":1783427480,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8fb9c0"} 
[2026-07-07 18:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 18:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557357824001,"66":25647,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557357824001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:02:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:02:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557357824001,"power":25647,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":124651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:02:35] local.INFO: GPS data processed {"connection_id":124651,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:02:35] local.INFO: Acknowledgment sent {"connection_id":124651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:02:47] local.INFO: TCP Data received {"connection_id":126707,"ip":"117.224.180.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c900bc8012d18d1c007205d78002c014d29..."} 
[2026-07-07 18:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c900bc8012d18d1c007205d78002c014d29..."} 
[2026-07-07 18:02:47] local.INFO: Processing buffer {"connection_id":126707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c900bc8012d18d1c007205d78002c014d29..."} 
[2026-07-07 18:02:47] local.INFO: Packet analysis {"connection_id":126707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c90"} 
[2026-07-07 18:02:47] local.INFO: Extracted packet for processing {"connection_id":126707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c90"} 
[2026-07-07 18:02:47] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119561592,"longitude_deg":75.660128,"latitude_deg":11.9561592,"altitude":44,"angle":333,"satellites":41,"speed":11,"hex_longitude":"2d18d1c0","hex_latitude":"07205d78","is_valid_coordinates":true} 
[2026-07-07 18:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557440000001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4735484911681536,"note":"Value kept but may cause issues"} 
[2026-07-07 18:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401371387904,"note":"Value kept but may cause issues"} 
[2026-07-07 18:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783427501000,"timestamp_ms":1783427501000,"timestamp_seconds":1783427501,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c900bc8"} 
[2026-07-07 18:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 18:02: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-07-07 18:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":126707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":126707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":126707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.180.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557440000001,"66":14396,"121":206,"28":31744,"24":11,"16":4735484911681536,"45":1788562401371387904},"client_ip":"117.224.180.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557440000001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:02:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:02:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4735484911681536,"km_value":4735484911681.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401371387904,"description":"Unknown IO ID 45"} 
[2026-07-07 18:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557440000001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1788562401371387904}} 
[2026-07-07 18:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":126707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:02:47] local.INFO: GPS data processed {"connection_id":126707,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:02:47] local.INFO: Acknowledgment sent {"connection_id":126707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:02:58] local.INFO: TCP Data received {"connection_id":126710,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:02:58] local.INFO: Processing buffer {"connection_id":126710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:02:58] local.INFO: IMEI packet received {"connection_id":126710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":126710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:03:03] local.INFO: TCP Data received {"connection_id":126710,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:03:03] local.INFO: Processing buffer {"connection_id":126710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:03:03] local.INFO: IMEI packet received {"connection_id":126710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":126710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:03:04] local.INFO: TCP Data received {"connection_id":125459,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c904e30012d8297c005d16040000800982a..."} 
[2026-07-07 18:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c904e30012d8297c005d16040000800982a..."} 
[2026-07-07 18:03:04] local.INFO: Processing buffer {"connection_id":125459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c904e30012d8297c005d16040000800982a..."} 
[2026-07-07 18:03:04] local.INFO: Packet analysis {"connection_id":125459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c90"} 
[2026-07-07 18:03:04] local.INFO: Extracted packet for processing {"connection_id":125459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c90"} 
[2026-07-07 18:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763533248,"raw_latitude":97607744,"longitude_deg":76.3533248,"latitude_deg":9.7607744,"altitude":8,"angle":152,"satellites":42,"speed":0,"hex_longitude":"2d8297c0","hex_latitude":"05d16040","is_valid_coordinates":true} 
[2026-07-07 18:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557443328001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103469202429444096,"note":"Value kept but may cause issues"} 
[2026-07-07 18:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036472627331131392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783427518000,"timestamp_ms":1783427518000,"timestamp_seconds":1783427518,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c904e30"} 
[2026-07-07 18:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-07 18:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557443328001,"66":12232,"221":206,"85":15104,"24":0,"16":103469202429444096,"45":-9036472627331131392},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-07 18:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557443328001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:03:04] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 18:03:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103469202429444096,"km_value":103469202429444.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036472627331131392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557443328001,"power":12232,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9036472627331131392}} 
[2026-07-07 18:03:04] local.INFO: TCP Data received {"connection_id":126710,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:03:04] local.INFO: Processing buffer {"connection_id":126710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:03:04] local.INFO: Packet analysis {"connection_id":126710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:03:04] local.INFO: Extracted packet for processing {"connection_id":126710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:03:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557357824001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783427480000,"timestamp_ms":1783427480000,"timestamp_seconds":1783427480,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8fb9c0"} 
[2026-07-07 18:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 18:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557357824001,"66":25647,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557357824001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:03:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:03:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557357824001,"power":25647,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":125459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:03:04] local.INFO: GPS data processed {"connection_id":125459,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:03:04] local.INFO: Acknowledgment sent {"connection_id":125459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":126710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:03:04] local.INFO: GPS data processed {"connection_id":126710,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:03:04] local.INFO: Acknowledgment sent {"connection_id":126710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:03:19] local.INFO: TCP Data received {"connection_id":126707,"ip":"117.224.180.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c90cf18012d18b4c0072090a8002c00f92a..."} 
[2026-07-07 18:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c90cf18012d18b4c0072090a8002c00f92a..."} 
[2026-07-07 18:03:19] local.INFO: Processing buffer {"connection_id":126707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c90cf18012d18b4c0072090a8002c00f92a..."} 
[2026-07-07 18:03:19] local.INFO: Packet analysis {"connection_id":126707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c90"} 
[2026-07-07 18:03:19] local.INFO: Extracted packet for processing {"connection_id":126707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c90"} 
[2026-07-07 18:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756593856,"raw_latitude":119574696,"longitude_deg":75.6593856,"latitude_deg":11.9574696,"altitude":44,"angle":249,"satellites":42,"speed":9,"hex_longitude":"2d18b4c0","hex_latitude":"072090a8","is_valid_coordinates":true} 
[2026-07-07 18:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557452800001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4736262300762112,"note":"Value kept but may cause issues"} 
[2026-07-07 18:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780610733282750464,"note":"Value kept but may cause issues"} 
[2026-07-07 18:03: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-07-07 18:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783427551000,"timestamp_ms":1783427551000,"timestamp_seconds":1783427551,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c90cf18"} 
[2026-07-07 18:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 18:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":126707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":126707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":126707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.180.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557452800001,"66":14461,"121":206,"28":31744,"24":9,"16":4736262300762112,"45":1780610733282750464},"client_ip":"117.224.180.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557452800001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:03:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:03:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4736262300762112,"km_value":4736262300762.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780610733282750464,"description":"Unknown IO ID 45"} 
[2026-07-07 18:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557452800001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1780610733282750464}} 
[2026-07-07 18:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":126707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:03:19] local.INFO: GPS data processed {"connection_id":126707,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:03:19] local.INFO: Acknowledgment sent {"connection_id":126707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:03:26] local.INFO: TCP Data received {"connection_id":125460,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:03:26] local.INFO: Processing buffer {"connection_id":125460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:03:26] local.INFO: IMEI packet received {"connection_id":125460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":125460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:03:31] local.INFO: TCP Data received {"connection_id":125460,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:03:31] local.INFO: Processing buffer {"connection_id":125460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:03:31] local.INFO: IMEI packet received {"connection_id":125460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":125460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:03:31] local.INFO: TCP Data received {"connection_id":125460,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c909c50012d8297c005d16010000800982a..."} 
[2026-07-07 18:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c909c50012d8297c005d16010000800982a..."} 
[2026-07-07 18:03:31] local.INFO: Processing buffer {"connection_id":125460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c909c50012d8297c005d16010000800982a..."} 
[2026-07-07 18:03:31] local.INFO: Packet analysis {"connection_id":125460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c90"} 
[2026-07-07 18:03:31] local.INFO: Extracted packet for processing {"connection_id":125460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c90"} 
[2026-07-07 18:03:31] local.INFO: GPS Element Parsed {"raw_longitude":763533248,"raw_latitude":97607696,"longitude_deg":76.3533248,"latitude_deg":9.7607696,"altitude":8,"angle":152,"satellites":42,"speed":0,"hex_longitude":"2d8297c0","hex_latitude":"05d16010","is_valid_coordinates":true} 
[2026-07-07 18:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557444608001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103469206724411392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036542996075495424,"note":"Value kept but may cause issues"} 
[2026-07-07 18:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783427538000,"timestamp_ms":1783427538000,"timestamp_seconds":1783427538,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c909c50"} 
[2026-07-07 18:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:03: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-07-07 18:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-07 18:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557444608001,"66":12461,"221":206,"85":15104,"24":0,"16":103469206724411392,"45":-9036542996075495424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-07 18:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557444608001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:03:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 18:03:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103469206724411392,"km_value":103469206724411.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036542996075495424,"description":"Unknown IO ID 45"} 
[2026-07-07 18:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557444608001,"power":12461,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9036542996075495424}} 
[2026-07-07 18:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":125460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:03:32] local.INFO: GPS data processed {"connection_id":125460,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:03:32] local.INFO: Acknowledgment sent {"connection_id":125460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:03:35] local.INFO: TCP Data received {"connection_id":126710,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:03:35] local.INFO: Processing buffer {"connection_id":126710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:03:35] local.INFO: Packet analysis {"connection_id":126710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:03:35] local.INFO: Extracted packet for processing {"connection_id":126710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:03:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557357824001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783427480000,"timestamp_ms":1783427480000,"timestamp_seconds":1783427480,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8fb9c0"} 
[2026-07-07 18:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 18:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557357824001,"66":25647,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557357824001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:03:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:03:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557357824001,"power":25647,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":126710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:03:35] local.INFO: GPS data processed {"connection_id":126710,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:03:35] local.INFO: Acknowledgment sent {"connection_id":126710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:03:50] local.INFO: TCP Data received {"connection_id":126707,"ip":"117.224.180.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9130c0012d189a8007208c50002f01512a..."} 
[2026-07-07 18:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9130c0012d189a8007208c50002f01512a..."} 
[2026-07-07 18:03:50] local.INFO: Processing buffer {"connection_id":126707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9130c0012d189a8007208c50002f01512a..."} 
[2026-07-07 18:03:50] local.INFO: Packet analysis {"connection_id":126707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c91"} 
[2026-07-07 18:03:50] local.INFO: Extracted packet for processing {"connection_id":126707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c91"} 
[2026-07-07 18:03:50] local.INFO: GPS Element Parsed {"raw_longitude":756587136,"raw_latitude":119573584,"longitude_deg":75.6587136,"latitude_deg":11.9573584,"altitude":47,"angle":337,"satellites":42,"speed":16,"hex_longitude":"2d189a80","hex_latitude":"07208c50","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557459200001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4736713272328192,"note":"Value kept but may cause issues"} 
[2026-07-07 18:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773010908911161344,"note":"Value kept but may cause issues"} 
[2026-07-07 18:03: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-07-07 18:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783427576000,"timestamp_ms":1783427576000,"timestamp_seconds":1783427576,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9130c0"} 
[2026-07-07 18:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-07 18:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.180.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557459200001,"66":13993,"121":206,"28":31744,"24":16,"16":4736713272328192,"45":1773010908911161344},"client_ip":"117.224.180.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557459200001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:03:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:03:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4736713272328192,"km_value":4736713272328.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773010908911161344,"description":"Unknown IO ID 45"} 
[2026-07-07 18:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557459200001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1773010908911161344}} 
[2026-07-07 18:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":126707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:03:50] local.INFO: GPS data processed {"connection_id":126707,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:03:50] local.INFO: Acknowledgment sent {"connection_id":126707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:04:03] local.INFO: TCP Data received {"connection_id":125460,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c90ee58012d8297c005d160100008009829..."} 
[2026-07-07 18:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c90ee58012d8297c005d160100008009829..."} 
[2026-07-07 18:04:03] local.INFO: Processing buffer {"connection_id":125460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c90ee58012d8297c005d160100008009829..."} 
[2026-07-07 18:04:03] local.INFO: Packet analysis {"connection_id":125460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c90"} 
[2026-07-07 18:04:03] local.INFO: Extracted packet for processing {"connection_id":125460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c90"} 
[2026-07-07 18:04:03] local.INFO: GPS Element Parsed {"raw_longitude":763533248,"raw_latitude":97607696,"longitude_deg":76.3533248,"latitude_deg":9.7607696,"altitude":8,"angle":152,"satellites":41,"speed":0,"hex_longitude":"2d8297c0","hex_latitude":"05d16010","is_valid_coordinates":true} 
[2026-07-07 18:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557449728001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103469206724411392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036542996075507712,"note":"Value kept but may cause issues"} 
[2026-07-07 18:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783427559000,"timestamp_ms":1783427559000,"timestamp_seconds":1783427559,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c90ee58"} 
[2026-07-07 18:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:04: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-07-07 18:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 18:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:04: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-07-07 18:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557449728001,"66":13276,"221":206,"85":15104,"24":0,"16":103469206724411392,"45":-9036542996075507712},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-07 18:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557449728001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:04:03] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-07 18:04:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103469206724411392,"km_value":103469206724411.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036542996075507712,"description":"Unknown IO ID 45"} 
[2026-07-07 18:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557449728001,"power":13276,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9036542996075507712}} 
[2026-07-07 18:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":125460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:04:03] local.INFO: GPS data processed {"connection_id":125460,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:04:03] local.INFO: Acknowledgment sent {"connection_id":125460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:04:03] local.INFO: TCP Data received {"connection_id":125461,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:04:03] local.INFO: Processing buffer {"connection_id":125461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:04:03] local.INFO: IMEI packet received {"connection_id":125461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":125461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:04:08] local.INFO: TCP Data received {"connection_id":125461,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:04:08] local.INFO: Processing buffer {"connection_id":125461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:04:08] local.INFO: IMEI packet received {"connection_id":125461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":125461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:04:09] local.INFO: TCP Data received {"connection_id":125461,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:04:09] local.INFO: Processing buffer {"connection_id":125461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:04:09] local.INFO: Packet analysis {"connection_id":125461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:04:09] local.INFO: Extracted packet for processing {"connection_id":125461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:04:09] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557357824001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783427480000,"timestamp_ms":1783427480000,"timestamp_seconds":1783427480,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8fb9c0"} 
[2026-07-07 18:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 18:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557357824001,"66":25647,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557357824001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:04:09] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:04:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557357824001,"power":25647,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":125461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:04:09] local.INFO: GPS data processed {"connection_id":125461,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:04:09] local.INFO: Acknowledgment sent {"connection_id":125461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:04:14] local.INFO: TCP Data received {"connection_id":125461,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:04:14] local.INFO: Processing buffer {"connection_id":125461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:04:14] local.INFO: Packet analysis {"connection_id":125461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:04:14] local.INFO: Extracted packet for processing {"connection_id":125461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:04:14] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557357824001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783427480000,"timestamp_ms":1783427480000,"timestamp_seconds":1783427480,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8fb9c0"} 
[2026-07-07 18:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 18:04: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-07-07 18:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:04: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-07-07 18:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557357824001,"66":25647,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557357824001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:04:14] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:04:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557357824001,"power":25647,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":125461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:04:14] local.INFO: GPS data processed {"connection_id":125461,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:04:14] local.INFO: Acknowledgment sent {"connection_id":125461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:04:21] local.INFO: TCP Data received {"connection_id":126707,"ip":"117.224.180.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c91e088012d186b800720d290003c01392a..."} 
[2026-07-07 18:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c91e088012d186b800720d290003c01392a..."} 
[2026-07-07 18:04:21] local.INFO: Processing buffer {"connection_id":126707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c91e088012d186b800720d290003c01392a..."} 
[2026-07-07 18:04:21] local.INFO: Packet analysis {"connection_id":126707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c91"} 
[2026-07-07 18:04:21] local.INFO: Extracted packet for processing {"connection_id":126707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c91"} 
[2026-07-07 18:04:21] local.INFO: GPS Element Parsed {"raw_longitude":756575104,"raw_latitude":119591568,"longitude_deg":75.6575104,"latitude_deg":11.9591568,"altitude":60,"angle":313,"satellites":42,"speed":21,"hex_longitude":"2d186b80","hex_latitude":"0720d290","is_valid_coordinates":true} 
[2026-07-07 18:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557470720001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737937338007552,"note":"Value kept but may cause issues"} 
[2026-07-07 18:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760063059987085312,"note":"Value kept but may cause issues"} 
[2026-07-07 18:04: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-07-07 18:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783427621000,"timestamp_ms":1783427621000,"timestamp_seconds":1783427621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c91e088"} 
[2026-07-07 18:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-07 18:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.180.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557470720001,"66":14298,"121":206,"28":31744,"24":21,"16":4737937338007552,"45":1760063059987085312},"client_ip":"117.224.180.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557470720001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:04:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:04:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737937338007552,"km_value":4737937338007.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760063059987085312,"description":"Unknown IO ID 45"} 
[2026-07-07 18:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557470720001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1760063059987085312}} 
[2026-07-07 18:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":126707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:04:22] local.INFO: GPS data processed {"connection_id":126707,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:04:22] local.INFO: Acknowledgment sent {"connection_id":126707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:04:30] local.INFO: TCP Data received {"connection_id":124744,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:04:30] local.INFO: Processing buffer {"connection_id":124744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:04:30] local.INFO: IMEI packet received {"connection_id":124744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":124744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:04:31] local.INFO: TCP Data received {"connection_id":124744,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:04:31] local.INFO: Processing buffer {"connection_id":124744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:04:31] local.INFO: IMEI packet received {"connection_id":124744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":124744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:04:31] local.INFO: TCP Data received {"connection_id":124744,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:04:31] local.INFO: Processing buffer {"connection_id":124744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:04:31] local.INFO: IMEI packet received {"connection_id":124744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":124744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:04:32] local.INFO: TCP Data received {"connection_id":124744,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:04:32] local.INFO: Processing buffer {"connection_id":124744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:04:32] local.INFO: IMEI packet received {"connection_id":124744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":124744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:04:33] local.INFO: TCP Data received {"connection_id":124744,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c921738012d82954005d149b00008016728..."} 
[2026-07-07 18:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c921738012d82954005d149b00008016728..."} 
[2026-07-07 18:04:33] local.INFO: Processing buffer {"connection_id":124744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c921738012d82954005d149b00008016728..."} 
[2026-07-07 18:04:33] local.INFO: Packet analysis {"connection_id":124744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c92"} 
[2026-07-07 18:04:33] local.INFO: Extracted packet for processing {"connection_id":124744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c92"} 
[2026-07-07 18:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763532608,"raw_latitude":97601968,"longitude_deg":76.3532608,"latitude_deg":9.7601968,"altitude":8,"angle":359,"satellites":40,"speed":2,"hex_longitude":"2d829540","hex_latitude":"05d149b0","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557474304001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103469550321795072,"note":"Value kept but may cause issues"} 
[2026-07-07 18:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037105946030409728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783427635000,"timestamp_ms":1783427635000,"timestamp_seconds":1783427635,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c921738"} 
[2026-07-07 18:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 18:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557474304001,"66":13091,"65":206,"85":15104,"24":2,"16":103469550321795072,"45":-9037105946030409728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-07 18:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557474304001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:04:33] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-07 18:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103469550321795072,"km_value":103469550321795.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037105946030409728,"description":"Unknown IO ID 45"} 
[2026-07-07 18:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557474304001,"power":13091,"unknown_65":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":-9037105946030409728}} 
[2026-07-07 18:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":124744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:04:33] local.INFO: GPS data processed {"connection_id":124744,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:04:33] local.INFO: Acknowledgment sent {"connection_id":124744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:04:36] local.INFO: TCP Data received {"connection_id":124744,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c926558012d82954005d14a28000801622a..."} 
[2026-07-07 18:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c926558012d82954005d14a28000801622a..."} 
[2026-07-07 18:04:36] local.INFO: Processing buffer {"connection_id":124744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c926558012d82954005d14a28000801622a..."} 
[2026-07-07 18:04:36] local.INFO: Packet analysis {"connection_id":124744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c92"} 
[2026-07-07 18:04:36] local.INFO: Extracted packet for processing {"connection_id":124744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c92"} 
[2026-07-07 18:04:36] local.INFO: GPS Element Parsed {"raw_longitude":763532608,"raw_latitude":97602088,"longitude_deg":76.3532608,"latitude_deg":9.7602088,"altitude":8,"angle":354,"satellites":42,"speed":0,"hex_longitude":"2d829540","hex_latitude":"05d14a28","is_valid_coordinates":true} 
[2026-07-07 18:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557474560001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103469558911729664,"note":"Value kept but may cause issues"} 
[2026-07-07 18:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037246683518750720,"note":"Value kept but may cause issues"} 
[2026-07-07 18:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783427655000,"timestamp_ms":1783427655000,"timestamp_seconds":1783427655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c926558"} 
[2026-07-07 18:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 18:04: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-07-07 18:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:04: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-07-07 18:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557474560001,"66":13037,"64":206,"85":15104,"24":0,"16":103469558911729664,"45":-9037246683518750720},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-07 18:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557474560001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:04:36] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-07 18:04:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103469558911729664,"km_value":103469558911729.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037246683518750720,"description":"Unknown IO ID 45"} 
[2026-07-07 18:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557474560001,"power":13037,"unknown_64":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9037246683518750720}} 
[2026-07-07 18:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":124744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:04:37] local.INFO: GPS data processed {"connection_id":124744,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:04:37] local.INFO: Acknowledgment sent {"connection_id":124744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:04:58] local.INFO: TCP Data received {"connection_id":126711,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:04:58] local.INFO: Processing buffer {"connection_id":126711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:04:58] local.INFO: IMEI packet received {"connection_id":126711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":126711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:05:03] local.INFO: TCP Data received {"connection_id":126711,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:05:03] local.INFO: Processing buffer {"connection_id":126711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:05:03] local.INFO: IMEI packet received {"connection_id":126711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":126711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:05:04] local.INFO: TCP Data received {"connection_id":126711,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:05:04] local.INFO: Processing buffer {"connection_id":126711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:05:04] local.INFO: Packet analysis {"connection_id":126711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:05:04] local.INFO: Extracted packet for processing {"connection_id":126711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:05:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557357824001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783427480000,"timestamp_ms":1783427480000,"timestamp_seconds":1783427480,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8fb9c0"} 
[2026-07-07 18:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 18:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557357824001,"66":25647,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557357824001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:05:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:05:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557357824001,"power":25647,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":126711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:05:04] local.INFO: GPS data processed {"connection_id":126711,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:05:04] local.INFO: Acknowledgment sent {"connection_id":126711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:05:05] local.INFO: TCP Data received {"connection_id":124745,"ip":"117.224.180.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:05:05] local.INFO: Processing buffer {"connection_id":124745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:05:05] local.INFO: IMEI packet received {"connection_id":124745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":124745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:05:05] local.INFO: TCP Data received {"connection_id":124745,"ip":"117.224.180.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:05:05] local.INFO: Processing buffer {"connection_id":124745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:05:05] local.INFO: IMEI packet received {"connection_id":124745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":124745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:05:07] local.INFO: TCP Data received {"connection_id":124744,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c929820012d82950005d14b780008001a2a..."} 
[2026-07-07 18:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c929820012d82950005d14b780008001a2a..."} 
[2026-07-07 18:05:07] local.INFO: Processing buffer {"connection_id":124744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c929820012d82950005d14b780008001a2a..."} 
[2026-07-07 18:05:07] local.INFO: Packet analysis {"connection_id":124744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c92"} 
[2026-07-07 18:05:07] local.INFO: Extracted packet for processing {"connection_id":124744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c92"} 
[2026-07-07 18:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763532544,"raw_latitude":97602424,"longitude_deg":76.3532544,"latitude_deg":9.7602424,"altitude":8,"angle":26,"satellites":42,"speed":3,"hex_longitude":"2d829500","hex_latitude":"05d14b78","is_valid_coordinates":true} 
[2026-07-07 18:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557479680001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103469576091598848,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037246683518720000,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783427668000,"timestamp_ms":1783427668000,"timestamp_seconds":1783427668,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c929820"} 
[2026-07-07 18:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 18:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:05: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-07-07 18:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557479680001,"66":13254,"64":206,"85":15104,"24":3,"16":103469576091598848,"45":-9037246683518720000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-07 18:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557479680001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:05:07] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-07 18:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103469576091598848,"km_value":103469576091598.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037246683518720000,"description":"Unknown IO ID 45"} 
[2026-07-07 18:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557479680001,"power":13254,"unknown_64":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":-9037246683518720000}} 
[2026-07-07 18:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":124744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:05:07] local.INFO: GPS data processed {"connection_id":124744,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:05:07] local.INFO: Acknowledgment sent {"connection_id":124744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:05:10] local.INFO: TCP Data received {"connection_id":124745,"ip":"117.224.180.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:05:10] local.INFO: Processing buffer {"connection_id":124745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:05:10] local.INFO: IMEI packet received {"connection_id":124745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":124745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:05:12] local.INFO: TCP Data received {"connection_id":124745,"ip":"117.224.180.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9259a0012d184100072101680040011127..."} 
[2026-07-07 18:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9259a0012d184100072101680040011127..."} 
[2026-07-07 18:05:12] local.INFO: Processing buffer {"connection_id":124745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9259a0012d184100072101680040011127..."} 
[2026-07-07 18:05:12] local.INFO: Packet analysis {"connection_id":124745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c92"} 
[2026-07-07 18:05:12] local.INFO: Extracted packet for processing {"connection_id":124745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c92"} 
[2026-07-07 18:05:12] local.INFO: GPS Element Parsed {"raw_longitude":756564224,"raw_latitude":119603560,"longitude_deg":75.6564224,"latitude_deg":11.960356,"altitude":64,"angle":273,"satellites":39,"speed":22,"hex_longitude":"2d184100","hex_latitude":"07210168","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557478144001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738916590551040,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749648485852033024,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 18:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783427652000,"timestamp_ms":1783427652000,"timestamp_seconds":1783427652,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9259a0"} 
[2026-07-07 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-07-07 18:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-07 18:05: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-07-07 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-07-07 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-07-07 18:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.180.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557478144001,"66":13906,"121":206,"28":31744,"24":22,"16":4738916590551040,"45":1749648485852033024},"client_ip":"117.224.180.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557478144001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:05:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:05:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738916590551040,"km_value":4738916590551.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749648485852033024,"description":"Unknown IO ID 45"} 
[2026-07-07 18:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557478144001,"power":13906,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1749648485852033024}} 
[2026-07-07 18:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":124745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:05:12] local.INFO: GPS data processed {"connection_id":124745,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:05:12] local.INFO: Acknowledgment sent {"connection_id":124745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:05:26] local.INFO: TCP Data received {"connection_id":126713,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:05:26] local.INFO: Processing buffer {"connection_id":126713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:05:26] local.INFO: IMEI packet received {"connection_id":126713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":126713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:05:27] local.INFO: TCP Data received {"connection_id":126713,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:05:27] local.INFO: Processing buffer {"connection_id":126713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:05:27] local.INFO: IMEI packet received {"connection_id":126713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":126713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:05:30] local.INFO: TCP Data received {"connection_id":126713,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:05:30] local.INFO: Processing buffer {"connection_id":126713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:05:30] local.INFO: IMEI packet received {"connection_id":126713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":126713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:05:31] local.INFO: TCP Data received {"connection_id":126713,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9353a0012d82460005d16468000d011128..."} 
[2026-07-07 18:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9353a0012d82460005d16468000d011128..."} 
[2026-07-07 18:05:31] local.INFO: Processing buffer {"connection_id":126713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9353a0012d82460005d16468000d011128..."} 
[2026-07-07 18:05:31] local.INFO: Packet analysis {"connection_id":126713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c93"} 
[2026-07-07 18:05:31] local.INFO: Extracted packet for processing {"connection_id":126713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c93"} 
[2026-07-07 18:05:31] local.INFO: GPS Element Parsed {"raw_longitude":763512320,"raw_latitude":97608808,"longitude_deg":76.351232,"latitude_deg":9.7608808,"altitude":13,"angle":273,"satellites":40,"speed":34,"hex_longitude":"2d824600","hex_latitude":"05d16468","is_valid_coordinates":true} 
[2026-07-07 18:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557492480001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103470903236493312,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9048716788817836032,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783427716000,"timestamp_ms":1783427716000,"timestamp_seconds":1783427716,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9353a0"} 
[2026-07-07 18:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:05: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-07-07 18:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-07 18:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557492480001,"66":13330,"64":206,"85":15104,"24":34,"16":103470903236493312,"45":-9048716788817836032},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-07 18:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557492480001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:05:31] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-07 18:05:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103470903236493312,"km_value":103470903236493.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9048716788817836032,"description":"Unknown IO ID 45"} 
[2026-07-07 18:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557492480001,"power":13330,"unknown_64":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9048716788817836032}} 
[2026-07-07 18:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":126713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:05:31] local.INFO: GPS data processed {"connection_id":126713,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:05:31] local.INFO: Acknowledgment sent {"connection_id":126713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:05:32] local.INFO: TCP Data received {"connection_id":126713,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c935f58012d823c4005d16670000d012128..."} 
[2026-07-07 18:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c935f58012d823c4005d16670000d012128..."} 
[2026-07-07 18:05:32] local.INFO: Processing buffer {"connection_id":126713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c935f58012d823c4005d16670000d012128..."} 
[2026-07-07 18:05:32] local.INFO: Packet analysis {"connection_id":126713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c93"} 
[2026-07-07 18:05:32] local.INFO: Extracted packet for processing {"connection_id":126713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c93"} 
[2026-07-07 18:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763509824,"raw_latitude":97609328,"longitude_deg":76.3509824,"latitude_deg":9.7609328,"altitude":13,"angle":289,"satellites":40,"speed":33,"hex_longitude":"2d823c40","hex_latitude":"05d16670","is_valid_coordinates":true} 
[2026-07-07 18:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557495296001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103471023495577600,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9059553575421319168,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783427719000,"timestamp_ms":1783427719000,"timestamp_seconds":1783427719,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c935f58"} 
[2026-07-07 18:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:05: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-07-07 18:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-07 18:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190671877,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3279347306009285248,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:32] local.WARNING: Large IO value detected {"io_id":60,"raw_value":2464819201,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:32] local.WARNING: Large IO value detected {"io_id":209,"raw_value":7237284648452172288,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-07-07 18:05:32] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718542,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:32] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2573008896,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3513204736,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:32] local.WARNING: Large IO value detected {"io_id":199,"raw_value":57788407024080187,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:32] local.WARNING: Large IO value detected {"io_id":146,"raw_value":-2699906681632604155,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:32] local.WARNING: Large IO value detected {"io_id":78,"raw_value":4611912883884791808,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:32] local.WARNING: Large IO value detected {"io_id":95,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:32] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,64,85,24,241,157,16,154,159,40,45,128,102,14,41,10,66,153,105,13,238,1,240,63,227,60,209,4,113,205,11,230,148,80,239,49,2,111,5,12,199,146,78,95],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-07-07 18:05:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937049060968366080,"timestamp_seconds":937049060968366.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 18:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557495296001,"66":13059,"64":206,"85":15104,"24":33,"16":103471023495577600,"45":-9059553575421319168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-07 18:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557495296001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:05:32] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-07 18:05:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103471023495577600,"km_value":103471023495577.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9059553575421319168,"description":"Unknown IO ID 45"} 
[2026-07-07 18:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557495296001,"power":13059,"unknown_64":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9059553575421319168}} 
[2026-07-07 18:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":126713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:05:32] local.INFO: GPS data processed {"connection_id":126713,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:05:32] local.INFO: Acknowledgment sent {"connection_id":126713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:05:36] local.INFO: TCP Data received {"connection_id":126711,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:05:36] local.INFO: Processing buffer {"connection_id":126711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:05:36] local.INFO: Packet analysis {"connection_id":126711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:05:36] local.INFO: Extracted packet for processing {"connection_id":126711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:05:36] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557357824001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783427480000,"timestamp_ms":1783427480000,"timestamp_seconds":1783427480,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8fb9c0"} 
[2026-07-07 18:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 18:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557357824001,"66":25647,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557357824001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:05:36] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:05:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557357824001,"power":25647,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":126711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:05:36] local.INFO: GPS data processed {"connection_id":126711,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:05:36] local.INFO: Acknowledgment sent {"connection_id":126711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:05:58] local.INFO: TCP Data received {"connection_id":124654,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:05:58] local.INFO: Processing buffer {"connection_id":124654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:05:58] local.INFO: IMEI packet received {"connection_id":124654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":124654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:06:02] local.INFO: TCP Data received {"connection_id":126713,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9372e0012d822f8005d16d10000c012d26..."} 
[2026-07-07 18:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9372e0012d822f8005d16d10000c012d26..."} 
[2026-07-07 18:06:02] local.INFO: Processing buffer {"connection_id":126713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9372e0012d822f8005d16d10000c012d26..."} 
[2026-07-07 18:06:02] local.INFO: Packet analysis {"connection_id":126713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c93"} 
[2026-07-07 18:06:02] local.INFO: Extracted packet for processing {"connection_id":126713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c93"} 
[2026-07-07 18:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763506560,"raw_latitude":97611024,"longitude_deg":76.350656,"latitude_deg":9.7611024,"altitude":12,"angle":301,"satellites":38,"speed":24,"hex_longitude":"2d822f80","hex_latitude":"05d16d10","is_valid_coordinates":true} 
[2026-07-07 18:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557496064001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103471203884204032,"note":"Value kept but may cause issues"} 
[2026-07-07 18:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9062297956444114944,"note":"Value kept but may cause issues"} 
[2026-07-07 18:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783427724000,"timestamp_ms":1783427724000,"timestamp_seconds":1783427724,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9372e0"} 
[2026-07-07 18:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 18:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303157711261006,"note":"Value kept but may cause issues"} 
[2026-07-07 18:06:02] local.WARNING: Large IO value detected {"io_id":64,"raw_value":58077557095399436,"note":"Value kept but may cause issues"} 
[2026-07-07 18:06:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 18:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190606341,"note":"Value kept but may cause issues"} 
[2026-07-07 18:06:02] local.WARNING: Large IO value detected {"io_id":60,"raw_value":2465075201,"note":"Value kept but may cause issues"} 
[2026-07-07 18:06:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-07-07 18:06:02] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718542,"note":"Value kept but may cause issues"} 
[2026-07-07 18:06:02] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2573271040,"note":"Value kept but may cause issues"} 
[2026-07-07 18:06:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3513274368,"note":"Value kept but may cause issues"} 
[2026-07-07 18:06:02] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,64,85,24,241,157,16,154,159,83,45,100,13,40,10,66,128,102,14,41,153,1,240,63,227,60,209,4,113,205,12,234,147,239,49,2,111,5],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-07-07 18:06:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937066653154344960,"timestamp_seconds":937066653154345.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 18:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557496064001,"66":13450,"64":206,"85":15104,"24":24,"16":103471203884204032,"45":-9062297956444114944},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-07 18:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557496064001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:06:02] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-07 18:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103471203884204032,"km_value":103471203884204.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9062297956444114944,"description":"Unknown IO ID 45"} 
[2026-07-07 18:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557496064001,"power":13450,"unknown_64":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9062297956444114944}} 
[2026-07-07 18:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":126713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:06:02] local.INFO: GPS data processed {"connection_id":126713,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:06:02] local.INFO: Acknowledgment sent {"connection_id":126713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:06:03] local.INFO: TCP Data received {"connection_id":124654,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:06:03] local.INFO: Processing buffer {"connection_id":124654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:06:03] local.INFO: IMEI packet received {"connection_id":124654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":124654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:06:04] local.INFO: TCP Data received {"connection_id":124654,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:06:04] local.INFO: Processing buffer {"connection_id":124654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:06:04] local.INFO: Packet analysis {"connection_id":124654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:06:04] local.INFO: Extracted packet for processing {"connection_id":124654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:06:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557357824001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783427480000,"timestamp_ms":1783427480000,"timestamp_seconds":1783427480,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8fb9c0"} 
[2026-07-07 18:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 18:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557357824001,"66":25647,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557357824001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:06:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:06:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557357824001,"power":25647,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":124654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:06:04] local.INFO: GPS data processed {"connection_id":124654,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:06:04] local.INFO: Acknowledgment sent {"connection_id":124654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:06:23] local.INFO: TCP Data received {"connection_id":124655,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:06:23] local.INFO: Processing buffer {"connection_id":124655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:06:23] local.INFO: IMEI packet received {"connection_id":124655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":124655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:06:23] local.INFO: TCP Data received {"connection_id":124746,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:06:23] local.INFO: Processing buffer {"connection_id":124746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:06:23] local.INFO: IMEI packet received {"connection_id":124746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 18:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":124746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:06:26] local.INFO: TCP Data received {"connection_id":124655,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:06:26] local.INFO: Processing buffer {"connection_id":124655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:06:26] local.INFO: IMEI packet received {"connection_id":124655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":124655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:06:28] local.INFO: TCP Data received {"connection_id":124655,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:06:28] local.INFO: Processing buffer {"connection_id":124655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:06:28] local.INFO: IMEI packet received {"connection_id":124655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":124655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:06:29] local.INFO: TCP Data received {"connection_id":124655,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c938280012d8226c005d170f0000c011c27..."} 
[2026-07-07 18:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c938280012d8226c005d170f0000c011c27..."} 
[2026-07-07 18:06:29] local.INFO: Processing buffer {"connection_id":124655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c938280012d8226c005d170f0000c011c27..."} 
[2026-07-07 18:06:29] local.INFO: Packet analysis {"connection_id":124655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c93"} 
[2026-07-07 18:06:29] local.INFO: Extracted packet for processing {"connection_id":124655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c93"} 
[2026-07-07 18:06:29] local.INFO: GPS Element Parsed {"raw_longitude":763504320,"raw_latitude":97612016,"longitude_deg":76.350432,"latitude_deg":9.7612016,"altitude":12,"angle":284,"satellites":39,"speed":24,"hex_longitude":"2d8226c0","hex_latitude":"05d170f0","is_valid_coordinates":true} 
[2026-07-07 18:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557497344001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103471319848321024,"note":"Value kept but may cause issues"} 
[2026-07-07 18:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9065886762396741632,"note":"Value kept but may cause issues"} 
[2026-07-07 18:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783427728000,"timestamp_ms":1783427728000,"timestamp_seconds":1783427728,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c938280"} 
[2026-07-07 18:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:06: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-07-07 18:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-07 18:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":124655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":124655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":124655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557497344001,"66":13341,"64":206,"85":15104,"24":24,"16":103471319848321024,"45":-9065886762396741632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-07 18:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557497344001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:06:29] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-07 18:06:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103471319848321024,"km_value":103471319848321.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9065886762396741632,"description":"Unknown IO ID 45"} 
[2026-07-07 18:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557497344001,"power":13341,"unknown_64":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9065886762396741632}} 
[2026-07-07 18:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":124655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:06:29] local.INFO: GPS data processed {"connection_id":124655,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:06:29] local.INFO: Acknowledgment sent {"connection_id":124655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:06:35] local.INFO: TCP Data received {"connection_id":124654,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:06:35] local.INFO: Processing buffer {"connection_id":124654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c8fb9c0012dc7c300052e4b200017002a28..."} 
[2026-07-07 18:06:35] local.INFO: Packet analysis {"connection_id":124654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:06:35] local.INFO: Extracted packet for processing {"connection_id":124654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c8f"} 
[2026-07-07 18:06:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557357824001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783427480000,"timestamp_ms":1783427480000,"timestamp_seconds":1783427480,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c8fb9c0"} 
[2026-07-07 18:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 18:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557357824001,"66":25647,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557357824001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:06:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:06:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557357824001,"power":25647,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":124654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:06:35] local.INFO: GPS data processed {"connection_id":124654,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:06:35] local.INFO: Acknowledgment sent {"connection_id":124654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:06:55] local.INFO: TCP Data received {"connection_id":124747,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:06:55] local.INFO: Processing buffer {"connection_id":124747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:06:55] local.INFO: IMEI packet received {"connection_id":124747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 18:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":124747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:06:59] local.INFO: TCP Data received {"connection_id":124747,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:06:59] local.INFO: Processing buffer {"connection_id":124747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:06:59] local.INFO: IMEI packet received {"connection_id":124747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 18:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":124747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:06:59] local.INFO: TCP Data received {"connection_id":124748,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:06:59] local.INFO: Processing buffer {"connection_id":124748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:06:59] local.INFO: IMEI packet received {"connection_id":124748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":124748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:06:59] local.INFO: TCP Data received {"connection_id":124748,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:06:59] local.INFO: Processing buffer {"connection_id":124748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:06:59] local.INFO: IMEI packet received {"connection_id":124748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":124748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:07:00] local.INFO: TCP Data received {"connection_id":124655,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c948068012d816d4005d18260000b01052b..."} 
[2026-07-07 18:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c948068012d816d4005d18260000b01052b..."} 
[2026-07-07 18:07:00] local.INFO: Processing buffer {"connection_id":124655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c948068012d816d4005d18260000b01052b..."} 
[2026-07-07 18:07:00] local.INFO: Packet analysis {"connection_id":124655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:07:00] local.INFO: Extracted packet for processing {"connection_id":124655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:07:00] local.INFO: GPS Element Parsed {"raw_longitude":763456832,"raw_latitude":97616480,"longitude_deg":76.3456832,"latitude_deg":9.761648,"altitude":11,"angle":261,"satellites":43,"speed":27,"hex_longitude":"2d816d40","hex_latitude":"05d18260","is_valid_coordinates":true} 
[2026-07-07 18:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557513728001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103473664900464640,"note":"Value kept but may cause issues"} 
[2026-07-07 18:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9116904101923852288,"note":"Value kept but may cause issues"} 
[2026-07-07 18:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783427793000,"timestamp_ms":1783427793000,"timestamp_seconds":1783427793,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c948068"} 
[2026-07-07 18:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:07: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-07-07 18:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 18:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557513728001,"66":12624,"65":206,"85":15104,"24":27,"16":103473664900464640,"45":-9116904101923852288},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-07 18:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557513728001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:07:00] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-07 18:07:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103473664900464640,"km_value":103473664900464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9116904101923852288,"description":"Unknown IO ID 45"} 
[2026-07-07 18:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557513728001,"power":12624,"unknown_65":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9116904101923852288}} 
[2026-07-07 18:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":124655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:07:00] local.INFO: GPS data processed {"connection_id":124655,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:07:00] local.INFO: Acknowledgment sent {"connection_id":124655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:07:03] local.INFO: TCP Data received {"connection_id":124747,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:07:03] local.INFO: Processing buffer {"connection_id":124747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:07:03] local.INFO: IMEI packet received {"connection_id":124747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 18:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":124747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:07:03] local.INFO: TCP Data received {"connection_id":124748,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:07:03] local.INFO: Processing buffer {"connection_id":124748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:07:03] local.INFO: IMEI packet received {"connection_id":124748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":124748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:07:04] local.INFO: TCP Data received {"connection_id":124748,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:07:04] local.INFO: Processing buffer {"connection_id":124748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:07:04] local.INFO: Packet analysis {"connection_id":124748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:07:04] local.INFO: Extracted packet for processing {"connection_id":124748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:07:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557434880001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783427781000,"timestamp_ms":1783427781000,"timestamp_seconds":1783427781,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c945188"} 
[2026-07-07 18:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 18:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557434880001,"66":25647,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557434880001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:07:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:07:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557434880001,"power":25647,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":124748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:07:04] local.INFO: GPS data processed {"connection_id":124748,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:07:04] local.INFO: Acknowledgment sent {"connection_id":124748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:07:26] local.INFO: TCP Data received {"connection_id":126714,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:07:26] local.INFO: Processing buffer {"connection_id":126714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:07:26] local.INFO: IMEI packet received {"connection_id":126714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":126714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:07:31] local.INFO: TCP Data received {"connection_id":126714,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:07:31] local.INFO: Processing buffer {"connection_id":126714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:07:31] local.INFO: IMEI packet received {"connection_id":126714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":126714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:07:32] local.INFO: TCP Data received {"connection_id":126714,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c949008012d81648005d18200000b011128..."} 
[2026-07-07 18:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c949008012d81648005d18200000b011128..."} 
[2026-07-07 18:07:32] local.INFO: Processing buffer {"connection_id":126714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c949008012d81648005d18200000b011128..."} 
[2026-07-07 18:07:32] local.INFO: Packet analysis {"connection_id":126714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:07:32] local.INFO: Extracted packet for processing {"connection_id":126714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:07:32] local.INFO: GPS Element Parsed {"raw_longitude":763454592,"raw_latitude":97616384,"longitude_deg":76.3454592,"latitude_deg":9.7616384,"altitude":11,"angle":273,"satellites":40,"speed":14,"hex_longitude":"2d816480","hex_latitude":"05d18200","is_valid_coordinates":true} 
[2026-07-07 18:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557515008001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103473767979679744,"note":"Value kept but may cause issues"} 
[2026-07-07 18:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9120563276621389824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783427797000,"timestamp_ms":1783427797000,"timestamp_seconds":1783427797,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c949008"} 
[2026-07-07 18:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:07: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-07-07 18:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 18:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557515008001,"66":12385,"65":206,"85":15104,"24":14,"16":103473767979679744,"45":-9120563276621389824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-07 18:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557515008001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:07:32] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-07 18:07:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103473767979679744,"km_value":103473767979679.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9120563276621389824,"description":"Unknown IO ID 45"} 
[2026-07-07 18:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557515008001,"power":12385,"unknown_65":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9120563276621389824}} 
[2026-07-07 18:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":126714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:07:32] local.INFO: GPS data processed {"connection_id":126714,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:07:32] local.INFO: Acknowledgment sent {"connection_id":126714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:07:35] local.INFO: TCP Data received {"connection_id":124748,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:07:35] local.INFO: Processing buffer {"connection_id":124748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:07:35] local.INFO: Packet analysis {"connection_id":124748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:07:35] local.INFO: Extracted packet for processing {"connection_id":124748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:07:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557434880001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783427781000,"timestamp_ms":1783427781000,"timestamp_seconds":1783427781,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c945188"} 
[2026-07-07 18:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 18:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557434880001,"66":25647,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557434880001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:07:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:07:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557434880001,"power":25647,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":124748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:07:35] local.INFO: GPS data processed {"connection_id":124748,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:07:35] local.INFO: Acknowledgment sent {"connection_id":124748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:08:03] local.INFO: TCP Data received {"connection_id":126714,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c94de28012d81620005d181f0000a011229..."} 
[2026-07-07 18:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c94de28012d81620005d181f0000a011229..."} 
[2026-07-07 18:08:03] local.INFO: Processing buffer {"connection_id":126714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c94de28012d81620005d181f0000a011229..."} 
[2026-07-07 18:08:03] local.INFO: Packet analysis {"connection_id":126714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:08:03] local.INFO: Extracted packet for processing {"connection_id":126714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:08:03] local.INFO: GPS Element Parsed {"raw_longitude":763453952,"raw_latitude":97616368,"longitude_deg":76.3453952,"latitude_deg":9.7616368,"altitude":10,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d816200","hex_latitude":"05d181f0","is_valid_coordinates":true} 
[2026-07-07 18:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557516032001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103473798044450816,"note":"Value kept but may cause issues"} 
[2026-07-07 18:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123026182667632640,"note":"Value kept but may cause issues"} 
[2026-07-07 18:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783427817000,"timestamp_ms":1783427817000,"timestamp_seconds":1783427817,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c94de28"} 
[2026-07-07 18:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:08: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-07-07 18:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 18:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:08: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-07-07 18:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557516032001,"66":13124,"65":206,"85":15104,"24":0,"16":103473798044450816,"45":-9123026182667632640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-07 18:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557516032001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:08:03] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-07 18:08:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103473798044450816,"km_value":103473798044450.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123026182667632640,"description":"Unknown IO ID 45"} 
[2026-07-07 18:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557516032001,"power":13124,"unknown_65":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9123026182667632640}} 
[2026-07-07 18:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":126714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:08:03] local.INFO: GPS data processed {"connection_id":126714,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:08:03] local.INFO: Acknowledgment sent {"connection_id":126714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:08:03] local.INFO: TCP Data received {"connection_id":126715,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:08:03] local.INFO: Processing buffer {"connection_id":126715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:08:03] local.INFO: IMEI packet received {"connection_id":126715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":126715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:08:08] local.INFO: TCP Data received {"connection_id":126715,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:08:08] local.INFO: Processing buffer {"connection_id":126715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:08:08] local.INFO: IMEI packet received {"connection_id":126715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":126715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:08:09] local.INFO: TCP Data received {"connection_id":126715,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:08:09] local.INFO: Processing buffer {"connection_id":126715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:08:09] local.INFO: Packet analysis {"connection_id":126715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:08:09] local.INFO: Extracted packet for processing {"connection_id":126715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:08:09] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557434880001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783427781000,"timestamp_ms":1783427781000,"timestamp_seconds":1783427781,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c945188"} 
[2026-07-07 18:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 18:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557434880001,"66":25647,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557434880001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:08:09] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:08:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557434880001,"power":25647,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":126715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:08:09] local.INFO: GPS data processed {"connection_id":126715,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:08:09] local.INFO: Acknowledgment sent {"connection_id":126715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:08:14] local.INFO: TCP Data received {"connection_id":126715,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:08:14] local.INFO: Processing buffer {"connection_id":126715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:08:14] local.INFO: Packet analysis {"connection_id":126715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:08:14] local.INFO: Extracted packet for processing {"connection_id":126715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:08:14] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557434880001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783427781000,"timestamp_ms":1783427781000,"timestamp_seconds":1783427781,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c945188"} 
[2026-07-07 18:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 18:08: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-07-07 18:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557434880001,"66":25647,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557434880001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:08:14] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:08:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557434880001,"power":25647,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":126715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:08:14] local.INFO: GPS data processed {"connection_id":126715,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:08:14] local.INFO: Acknowledgment sent {"connection_id":126715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:08:26] local.INFO: TCP Data received {"connection_id":124656,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:08:26] local.INFO: Processing buffer {"connection_id":124656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:08:26] local.INFO: IMEI packet received {"connection_id":124656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":124656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:08:31] local.INFO: TCP Data received {"connection_id":124656,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:08:31] local.INFO: Processing buffer {"connection_id":124656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:08:31] local.INFO: IMEI packet received {"connection_id":124656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":124656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:08:53] local.INFO: TCP Data received {"connection_id":124656,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c953030012d8153c005d18320000a01132b..."} 
[2026-07-07 18:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c953030012d8153c005d18320000a01132b..."} 
[2026-07-07 18:08:53] local.INFO: Processing buffer {"connection_id":124656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c953030012d8153c005d18320000a01132b..."} 
[2026-07-07 18:08:53] local.INFO: Packet analysis {"connection_id":124656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c95"} 
[2026-07-07 18:08:53] local.INFO: Extracted packet for processing {"connection_id":124656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c95"} 
[2026-07-07 18:08:53] local.INFO: GPS Element Parsed {"raw_longitude":763450304,"raw_latitude":97616672,"longitude_deg":76.3450304,"latitude_deg":9.7616672,"altitude":10,"angle":275,"satellites":43,"speed":22,"hex_longitude":"2d8153c0","hex_latitude":"05d18320","is_valid_coordinates":true} 
[2026-07-07 18:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557521152001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103473974138109952,"note":"Value kept but may cause issues"} 
[2026-07-07 18:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123729870109413376,"note":"Value kept but may cause issues"} 
[2026-07-07 18:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783427838000,"timestamp_ms":1783427838000,"timestamp_seconds":1783427838,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c953030"} 
[2026-07-07 18:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-07 18:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":124656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":124656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":124656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:08: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-07-07 18:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557521152001,"66":13189,"65":206,"85":15104,"24":22,"16":103473974138109952,"45":-9123729870109413376},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-07 18:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557521152001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:08:53] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-07 18:08:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103473974138109952,"km_value":103473974138109.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123729870109413376,"description":"Unknown IO ID 45"} 
[2026-07-07 18:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557521152001,"power":13189,"unknown_65":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9123729870109413376}} 
[2026-07-07 18:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":124656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:08:53] local.INFO: GPS data processed {"connection_id":124656,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:08:53] local.INFO: Acknowledgment sent {"connection_id":124656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:08:53] local.INFO: TCP Data received {"connection_id":125462,"ip":"117.225.153.247","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:08:53] local.INFO: Processing buffer {"connection_id":125462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:08:53] local.INFO: IMEI packet received {"connection_id":125462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":125462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:08:58] local.INFO: TCP Data received {"connection_id":124751,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:08:58] local.INFO: Processing buffer {"connection_id":124751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:08:58] local.INFO: IMEI packet received {"connection_id":124751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":124751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:08:59] local.INFO: TCP Data received {"connection_id":125462,"ip":"117.225.153.247","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:08:59] local.INFO: Processing buffer {"connection_id":125462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:08:59] local.INFO: IMEI packet received {"connection_id":125462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":125462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:08:59] local.INFO: TCP Data received {"connection_id":125462,"ip":"117.225.153.247","data_length":249,"data_hex":"00000000000000ed8e030000019f3c95e7c8012d16e1c007205710002a00df2b..."} 
[2026-07-07 18:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125462,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f3c95e7c8012d16e1c007205710002a00df2b..."} 
[2026-07-07 18:08:59] local.INFO: Processing buffer {"connection_id":125462,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f3c95e7c8012d16e1c007205710002a00df2b..."} 
[2026-07-07 18:08:59] local.INFO: Packet analysis {"connection_id":125462,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f3c95"} 
[2026-07-07 18:08:59] local.INFO: Extracted packet for processing {"connection_id":125462,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f3c95"} 
[2026-07-07 18:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756474304,"raw_latitude":119559952,"longitude_deg":75.6474304,"latitude_deg":11.9559952,"altitude":42,"angle":223,"satellites":43,"speed":4,"hex_longitude":"2d16e1c0","hex_latitude":"07205710","is_valid_coordinates":true} 
[2026-07-07 18:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-07-07 18:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557533952001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4745479300579328,"note":"Value kept but may cause issues"} 
[2026-07-07 18:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1655283999900289024,"note":"Value kept but may cause issues"} 
[2026-07-07 18:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783427885000,"timestamp_ms":1783427885000,"timestamp_seconds":1783427885,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c95e7c8"} 
[2026-07-07 18:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":249,"current_offset":136} 
[2026-07-07 18:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:08:59] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125462,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-07 18:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.153.247","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557533952001,"66":12885,"130":206,"28":31744,"24":4,"16":4745479300579328,"45":1655283999900289024},"client_ip":"117.225.153.247","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-07-07 18:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557533952001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:08:59] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-07 18:08:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4745479300579328,"km_value":4745479300579.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1655283999900289024,"description":"Unknown IO ID 45"} 
[2026-07-07 18:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557533952001,"power":12885,"unknown_130":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1655283999900289024}} 
[2026-07-07 18:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":125462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:09:00] local.INFO: GPS data processed {"connection_id":125462,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:09:00] local.INFO: Acknowledgment sent {"connection_id":125462,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:09:03] local.INFO: TCP Data received {"connection_id":124751,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:09:03] local.INFO: Processing buffer {"connection_id":124751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:09:03] local.INFO: IMEI packet received {"connection_id":124751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":124751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:09:04] local.INFO: TCP Data received {"connection_id":124751,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:09:04] local.INFO: Processing buffer {"connection_id":124751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:09:04] local.INFO: Packet analysis {"connection_id":124751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:09:04] local.INFO: Extracted packet for processing {"connection_id":124751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:09:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557434880001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783427781000,"timestamp_ms":1783427781000,"timestamp_seconds":1783427781,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c945188"} 
[2026-07-07 18:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 18:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557434880001,"66":25647,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557434880001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:09:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:09:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557434880001,"power":25647,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":124751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:09:04] local.INFO: GPS data processed {"connection_id":124751,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:09:04] local.INFO: Acknowledgment sent {"connection_id":124751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:09:26] local.INFO: TCP Data received {"connection_id":124752,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:09:26] local.INFO: Processing buffer {"connection_id":124752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:09:26] local.INFO: IMEI packet received {"connection_id":124752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":124752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:09:26] local.INFO: TCP Data received {"connection_id":124752,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 18:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124752,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 18:09:26] local.INFO: Processing buffer {"connection_id":124752,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 18:09:26] local.INFO: IMEI packet received {"connection_id":124752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":124752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:09:30] local.INFO: TCP Data received {"connection_id":124752,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:09:30] local.INFO: Processing buffer {"connection_id":124752,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 18:09:30] local.INFO: IMEI packet received {"connection_id":124752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":124752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:09:31] local.INFO: TCP Data received {"connection_id":125462,"ip":"117.225.153.247","data_length":93,"data_hex":"00000000000000518e010000019f3c963db8012d16e18007205690002900df29..."} 
[2026-07-07 18:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125462,"packet_length":93,"packet_hex":"00000000000000518e010000019f3c963db8012d16e18007205690002900df29..."} 
[2026-07-07 18:09:31] local.INFO: Processing buffer {"connection_id":125462,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f3c963db8012d16e18007205690002900df29..."} 
[2026-07-07 18:09:31] local.INFO: Packet analysis {"connection_id":125462,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f3c96"} 
[2026-07-07 18:09:31] local.INFO: Extracted packet for processing {"connection_id":125462,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f3c96"} 
[2026-07-07 18:09:31] local.INFO: GPS Element Parsed {"raw_longitude":756474240,"raw_latitude":119559824,"longitude_deg":75.647424,"latitude_deg":11.9559824,"altitude":41,"angle":223,"satellites":41,"speed":0,"hex_longitude":"2d16e180","hex_latitude":"07205690","is_valid_coordinates":true} 
[2026-07-07 18:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-07 18:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:09:31] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:09:31] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 18:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125462,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-07 18:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125462,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 18:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125462,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 18:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.153.247","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 18:09:31] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 18:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":125462,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 18:09:31] local.ERROR: GPS data processing failed {"connection_id":125462,"error":"No valid data to process"} 
[2026-07-07 18:09:31] local.INFO: Acknowledgment sent {"connection_id":125462,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 18:09:35] local.INFO: TCP Data received {"connection_id":124751,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:09:35] local.INFO: Processing buffer {"connection_id":124751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:09:35] local.INFO: Packet analysis {"connection_id":124751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:09:35] local.INFO: Extracted packet for processing {"connection_id":124751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:09:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557434880001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783427781000,"timestamp_ms":1783427781000,"timestamp_seconds":1783427781,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c945188"} 
[2026-07-07 18:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 18:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557434880001,"66":25647,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557434880001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:09:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:09:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557434880001,"power":25647,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":124751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:09:35] local.INFO: GPS data processed {"connection_id":124751,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:09:35] local.INFO: Acknowledgment sent {"connection_id":124751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:09:58] local.INFO: TCP Data received {"connection_id":126716,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:09:58] local.INFO: Processing buffer {"connection_id":126716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:09:58] local.INFO: IMEI packet received {"connection_id":126716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":126716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:10:02] local.INFO: TCP Data received {"connection_id":125462,"ip":"117.225.153.247","data_length":93,"data_hex":"00000000000000518e010000019f3c968fc0012d16e18007205690002900df2c..."} 
[2026-07-07 18:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125462,"packet_length":93,"packet_hex":"00000000000000518e010000019f3c968fc0012d16e18007205690002900df2c..."} 
[2026-07-07 18:10:02] local.INFO: Processing buffer {"connection_id":125462,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f3c968fc0012d16e18007205690002900df2c..."} 
[2026-07-07 18:10:02] local.INFO: Packet analysis {"connection_id":125462,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f3c96"} 
[2026-07-07 18:10:02] local.INFO: Extracted packet for processing {"connection_id":125462,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f3c96"} 
[2026-07-07 18:10:02] local.INFO: GPS Element Parsed {"raw_longitude":756474240,"raw_latitude":119559824,"longitude_deg":75.647424,"latitude_deg":11.9559824,"altitude":41,"angle":223,"satellites":44,"speed":0,"hex_longitude":"2d16e180","hex_latitude":"07205690","is_valid_coordinates":true} 
[2026-07-07 18:10: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-07-07 18:10: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-07-07 18:10: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-07-07 18:10:02] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:10:02] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 18:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125462,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-07 18:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125462,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 18:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125462,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 18:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.153.247","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 18:10:02] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 18:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":125462,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 18:10:02] local.ERROR: GPS data processing failed {"connection_id":125462,"error":"No valid data to process"} 
[2026-07-07 18:10:02] local.INFO: Acknowledgment sent {"connection_id":125462,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 18:10:03] local.INFO: TCP Data received {"connection_id":126716,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:10:03] local.INFO: Processing buffer {"connection_id":126716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:10:03] local.INFO: IMEI packet received {"connection_id":126716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":126716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:10:04] local.INFO: TCP Data received {"connection_id":126716,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:10:04] local.INFO: Processing buffer {"connection_id":126716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:10:04] local.INFO: Packet analysis {"connection_id":126716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:10:04] local.INFO: Extracted packet for processing {"connection_id":126716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:10:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557434880001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783427781000,"timestamp_ms":1783427781000,"timestamp_seconds":1783427781,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c945188"} 
[2026-07-07 18:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 18:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557434880001,"66":25647,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557434880001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:10:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:10:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557434880001,"power":25647,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":126716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:10:04] local.INFO: GPS data processed {"connection_id":126716,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:10:04] local.INFO: Acknowledgment sent {"connection_id":126716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:10:33] local.INFO: TCP Data received {"connection_id":125462,"ip":"117.225.153.247","data_length":93,"data_hex":"00000000000000518e010000019f3c96e1c8012d16e18007205690002900df2b..."} 
[2026-07-07 18:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125462,"packet_length":93,"packet_hex":"00000000000000518e010000019f3c96e1c8012d16e18007205690002900df2b..."} 
[2026-07-07 18:10:33] local.INFO: Processing buffer {"connection_id":125462,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f3c96e1c8012d16e18007205690002900df2b..."} 
[2026-07-07 18:10:33] local.INFO: Packet analysis {"connection_id":125462,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f3c96"} 
[2026-07-07 18:10:33] local.INFO: Extracted packet for processing {"connection_id":125462,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f3c96"} 
[2026-07-07 18:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756474240,"raw_latitude":119559824,"longitude_deg":75.647424,"latitude_deg":11.9559824,"altitude":41,"angle":223,"satellites":43,"speed":0,"hex_longitude":"2d16e180","hex_latitude":"07205690","is_valid_coordinates":true} 
[2026-07-07 18:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-07 18:10: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-07-07 18:10: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-07-07 18:10:33] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:10:33] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 18:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125462,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-07 18:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125462,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 18:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125462,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 18:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.153.247","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 18:10:33] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 18:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":125462,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 18:10:33] local.ERROR: GPS data processing failed {"connection_id":125462,"error":"No valid data to process"} 
[2026-07-07 18:10:33] local.INFO: Acknowledgment sent {"connection_id":125462,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 18:10:35] local.INFO: TCP Data received {"connection_id":126716,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:10:35] local.INFO: Processing buffer {"connection_id":126716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:10:35] local.INFO: Packet analysis {"connection_id":126716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:10:35] local.INFO: Extracted packet for processing {"connection_id":126716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:10:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557434880001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783427781000,"timestamp_ms":1783427781000,"timestamp_seconds":1783427781,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c945188"} 
[2026-07-07 18:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 18:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557434880001,"66":25647,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557434880001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:10:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:10:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557434880001,"power":25647,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":126716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:10:35] local.INFO: GPS data processed {"connection_id":126716,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:10:35] local.INFO: Acknowledgment sent {"connection_id":126716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:10:58] local.INFO: TCP Data received {"connection_id":124753,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:10:58] local.INFO: Processing buffer {"connection_id":124753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:10:58] local.INFO: IMEI packet received {"connection_id":124753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":124753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:11:03] local.INFO: TCP Data received {"connection_id":124753,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:11:03] local.INFO: Processing buffer {"connection_id":124753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:11:03] local.INFO: IMEI packet received {"connection_id":124753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":124753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:11:04] local.INFO: TCP Data received {"connection_id":124753,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:11:04] local.INFO: Processing buffer {"connection_id":124753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:11:04] local.INFO: Packet analysis {"connection_id":124753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:11:04] local.INFO: Extracted packet for processing {"connection_id":124753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:11:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557434880001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783427781000,"timestamp_ms":1783427781000,"timestamp_seconds":1783427781,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c945188"} 
[2026-07-07 18:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 18:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557434880001,"66":25647,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557434880001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:11:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:11:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557434880001,"power":25647,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":124753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:11:04] local.INFO: GPS data processed {"connection_id":124753,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:11:04] local.INFO: Acknowledgment sent {"connection_id":124753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:11:05] local.INFO: TCP Data received {"connection_id":125462,"ip":"117.225.153.247","data_length":93,"data_hex":"00000000000000518e010000019f3c9733d0012d16e18007205690002900df2b..."} 
[2026-07-07 18:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125462,"packet_length":93,"packet_hex":"00000000000000518e010000019f3c9733d0012d16e18007205690002900df2b..."} 
[2026-07-07 18:11:05] local.INFO: Processing buffer {"connection_id":125462,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f3c9733d0012d16e18007205690002900df2b..."} 
[2026-07-07 18:11:05] local.INFO: Packet analysis {"connection_id":125462,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f3c97"} 
[2026-07-07 18:11:05] local.INFO: Extracted packet for processing {"connection_id":125462,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f3c97"} 
[2026-07-07 18:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756474240,"raw_latitude":119559824,"longitude_deg":75.647424,"latitude_deg":11.9559824,"altitude":41,"angle":223,"satellites":43,"speed":0,"hex_longitude":"2d16e180","hex_latitude":"07205690","is_valid_coordinates":true} 
[2026-07-07 18:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-07 18:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:11:05] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:11:05] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 18:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125462,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-07 18:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125462,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 18:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125462,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-07 18:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.153.247","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 18:11:05] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 18:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":125462,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 18:11:05] local.ERROR: GPS data processing failed {"connection_id":125462,"error":"No valid data to process"} 
[2026-07-07 18:11:05] local.INFO: Acknowledgment sent {"connection_id":125462,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 18:11:35] local.INFO: TCP Data received {"connection_id":124753,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:11:35] local.INFO: Processing buffer {"connection_id":124753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c945188012dc7c300052e4b200017002a29..."} 
[2026-07-07 18:11:35] local.INFO: Packet analysis {"connection_id":124753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:11:35] local.INFO: Extracted packet for processing {"connection_id":124753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c94"} 
[2026-07-07 18:11:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557434880001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783427781000,"timestamp_ms":1783427781000,"timestamp_seconds":1783427781,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c945188"} 
[2026-07-07 18:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 18:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557434880001,"66":25647,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557434880001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:11:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:11:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557434880001,"power":25647,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":124753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:11:35] local.INFO: GPS data processed {"connection_id":124753,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:11:35] local.INFO: Acknowledgment sent {"connection_id":124753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:11:36] local.INFO: TCP Data received {"connection_id":125462,"ip":"117.225.153.247","data_length":171,"data_hex":"000000000000009f8e020000019f3c9785d8012d16e18007205690002900df2b..."} 
[2026-07-07 18:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125462,"packet_length":171,"packet_hex":"000000000000009f8e020000019f3c9785d8012d16e18007205690002900df2b..."} 
[2026-07-07 18:11:36] local.INFO: Processing buffer {"connection_id":125462,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019f3c9785d8012d16e18007205690002900df2b..."} 
[2026-07-07 18:11:36] local.INFO: Packet analysis {"connection_id":125462,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019f3c97"} 
[2026-07-07 18:11:36] local.INFO: Extracted packet for processing {"connection_id":125462,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019f3c97"} 
[2026-07-07 18:11:36] local.INFO: GPS Element Parsed {"raw_longitude":756474240,"raw_latitude":119559824,"longitude_deg":75.647424,"latitude_deg":11.9559824,"altitude":41,"angle":223,"satellites":43,"speed":0,"hex_longitude":"2d16e180","hex_latitude":"07205690","is_valid_coordinates":true} 
[2026-07-07 18:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-07-07 18:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557560320001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4745487890513920,"note":"Value kept but may cause issues"} 
[2026-07-07 18:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1648739706689982464,"note":"Value kept but may cause issues"} 
[2026-07-07 18:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783427991000,"timestamp_ms":1783427991000,"timestamp_seconds":1783427991,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9785d8"} 
[2026-07-07 18:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:11: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-07-07 18:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":171,"current_offset":136} 
[2026-07-07 18:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:11:36] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125462,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-07-07 18:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.153.247","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557560320001,"66":12765,"130":206,"28":31744,"24":0,"16":4745487890513920,"45":1648739706689982464},"client_ip":"117.225.153.247","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-07-07 18:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557560320001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:11:36] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-07 18:11:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4745487890513920,"km_value":4745487890513.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1648739706689982464,"description":"Unknown IO ID 45"} 
[2026-07-07 18:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557560320001,"power":12765,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1648739706689982464}} 
[2026-07-07 18:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":125462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:11:36] local.INFO: GPS data processed {"connection_id":125462,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:11:36] local.INFO: Acknowledgment sent {"connection_id":125462,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:11:58] local.INFO: TCP Data received {"connection_id":126718,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:11:58] local.INFO: Processing buffer {"connection_id":126718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:11:58] local.INFO: IMEI packet received {"connection_id":126718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":126718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:12:00] local.INFO: TCP Data received {"connection_id":126718,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:12:00] local.INFO: Processing buffer {"connection_id":126718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:12:00] local.INFO: IMEI packet received {"connection_id":126718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":126718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:12:03] local.INFO: TCP Data received {"connection_id":126718,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:12:03] local.INFO: Processing buffer {"connection_id":126718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:12:03] local.INFO: IMEI packet received {"connection_id":126718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":126718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:12:04] local.INFO: TCP Data received {"connection_id":126718,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:12:04] local.INFO: Processing buffer {"connection_id":126718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:12:04] local.INFO: Packet analysis {"connection_id":126718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c98"} 
[2026-07-07 18:12:04] local.INFO: Extracted packet for processing {"connection_id":126718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c98"} 
[2026-07-07 18:12:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557511936001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783428082000,"timestamp_ms":1783428082000,"timestamp_seconds":1783428082,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c98e950"} 
[2026-07-07 18:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 18:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557511936001,"66":25625,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557511936001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:12:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:12:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557511936001,"power":25625,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":126718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:12:04] local.INFO: GPS data processed {"connection_id":126718,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:12:04] local.INFO: Acknowledgment sent {"connection_id":126718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:12:07] local.INFO: TCP Data received {"connection_id":125462,"ip":"117.225.153.247","data_length":249,"data_hex":"00000000000000ed8e030000019f3c97d7e0012d16e18007205690002900df2a..."} 
[2026-07-07 18:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125462,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f3c97d7e0012d16e18007205690002900df2a..."} 
[2026-07-07 18:12:07] local.INFO: Processing buffer {"connection_id":125462,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f3c97d7e0012d16e18007205690002900df2a..."} 
[2026-07-07 18:12:07] local.INFO: Packet analysis {"connection_id":125462,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f3c97"} 
[2026-07-07 18:12:07] local.INFO: Extracted packet for processing {"connection_id":125462,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f3c97"} 
[2026-07-07 18:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756474240,"raw_latitude":119559824,"longitude_deg":75.647424,"latitude_deg":11.9559824,"altitude":41,"angle":223,"satellites":42,"speed":0,"hex_longitude":"2d16e180","hex_latitude":"07205690","is_valid_coordinates":true} 
[2026-07-07 18:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-07-07 18:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557565696001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4745487890513920,"note":"Value kept but may cause issues"} 
[2026-07-07 18:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1648739706689982464,"note":"Value kept but may cause issues"} 
[2026-07-07 18:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783428012000,"timestamp_ms":1783428012000,"timestamp_seconds":1783428012,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c97d7e0"} 
[2026-07-07 18:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":249,"current_offset":136} 
[2026-07-07 18:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:12:07] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125462,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-07 18:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.153.247","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557565696001,"66":12765,"130":206,"28":31744,"24":0,"16":4745487890513920,"45":1648739706689982464},"client_ip":"117.225.153.247","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-07-07 18:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557565696001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:12:07] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-07 18:12:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4745487890513920,"km_value":4745487890513.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1648739706689982464,"description":"Unknown IO ID 45"} 
[2026-07-07 18:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557565696001,"power":12765,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1648739706689982464}} 
[2026-07-07 18:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":125462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:12:07] local.INFO: GPS data processed {"connection_id":125462,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:12:07] local.INFO: Acknowledgment sent {"connection_id":125462,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:12:25] local.INFO: TCP Data received {"connection_id":124660,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:12:25] local.INFO: Processing buffer {"connection_id":124660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:12:25] local.INFO: IMEI packet received {"connection_id":124660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 18:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":124660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:12:35] local.INFO: TCP Data received {"connection_id":126718,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:12:35] local.INFO: Processing buffer {"connection_id":126718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:12:35] local.INFO: Packet analysis {"connection_id":126718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c98"} 
[2026-07-07 18:12:35] local.INFO: Extracted packet for processing {"connection_id":126718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c98"} 
[2026-07-07 18:12:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557511936001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783428082000,"timestamp_ms":1783428082000,"timestamp_seconds":1783428082,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c98e950"} 
[2026-07-07 18:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 18:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557511936001,"66":25625,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557511936001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:12:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:12:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557511936001,"power":25625,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":126718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:12:35] local.INFO: GPS data processed {"connection_id":126718,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:12:35] local.INFO: Acknowledgment sent {"connection_id":126718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:12:38] local.INFO: TCP Data received {"connection_id":125462,"ip":"117.225.153.247","data_length":327,"data_hex":"000000000000013b8e040000019f3c9829e8012d16e18007205690002900df2a..."} 
[2026-07-07 18:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125462,"packet_length":327,"packet_hex":"000000000000013b8e040000019f3c9829e8012d16e18007205690002900df2a..."} 
[2026-07-07 18:12:38] local.INFO: Processing buffer {"connection_id":125462,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019f3c9829e8012d16e18007205690002900df2a..."} 
[2026-07-07 18:12:38] local.INFO: Packet analysis {"connection_id":125462,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019f3c98"} 
[2026-07-07 18:12:38] local.INFO: Extracted packet for processing {"connection_id":125462,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019f3c98"} 
[2026-07-07 18:12:38] local.INFO: GPS Element Parsed {"raw_longitude":756474240,"raw_latitude":119559824,"longitude_deg":75.647424,"latitude_deg":11.9559824,"altitude":41,"angle":223,"satellites":42,"speed":0,"hex_longitude":"2d16e180","hex_latitude":"07205690","is_valid_coordinates":true} 
[2026-07-07 18:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-07-07 18:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557571072001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4745487890513920,"note":"Value kept but may cause issues"} 
[2026-07-07 18:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1648739706689982464,"note":"Value kept but may cause issues"} 
[2026-07-07 18:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783428033000,"timestamp_ms":1783428033000,"timestamp_seconds":1783428033,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9829e8"} 
[2026-07-07 18:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":327,"current_offset":136} 
[2026-07-07 18:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:12:38] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125462,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-07-07 18:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.153.247","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557571072001,"66":12722,"130":206,"28":31744,"24":0,"16":4745487890513920,"45":1648739706689982464},"client_ip":"117.225.153.247","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-07-07 18:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557571072001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:12:38] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-07 18:12:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4745487890513920,"km_value":4745487890513.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1648739706689982464,"description":"Unknown IO ID 45"} 
[2026-07-07 18:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557571072001,"power":12722,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1648739706689982464}} 
[2026-07-07 18:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":125462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:12:38] local.INFO: GPS data processed {"connection_id":125462,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:12:38] local.INFO: Acknowledgment sent {"connection_id":125462,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:12:58] local.INFO: TCP Data received {"connection_id":124755,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:12:58] local.INFO: Processing buffer {"connection_id":124755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:12:58] local.INFO: IMEI packet received {"connection_id":124755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":124755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:12:59] local.INFO: TCP Data received {"connection_id":124756,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:12:59] local.INFO: Processing buffer {"connection_id":124756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:12:59] local.INFO: IMEI packet received {"connection_id":124756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 18:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":124756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:13:03] local.INFO: TCP Data received {"connection_id":124755,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:13:03] local.INFO: Processing buffer {"connection_id":124755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:13:03] local.INFO: IMEI packet received {"connection_id":124755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":124755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:13:04] local.INFO: TCP Data received {"connection_id":124755,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:13:04] local.INFO: Processing buffer {"connection_id":124755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:13:04] local.INFO: Packet analysis {"connection_id":124755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c98"} 
[2026-07-07 18:13:04] local.INFO: Extracted packet for processing {"connection_id":124755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c98"} 
[2026-07-07 18:13:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557511936001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783428082000,"timestamp_ms":1783428082000,"timestamp_seconds":1783428082,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c98e950"} 
[2026-07-07 18:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 18:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557511936001,"66":25625,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557511936001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:13:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:13:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557511936001,"power":25625,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":124755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:13:04] local.INFO: GPS data processed {"connection_id":124755,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:13:04] local.INFO: Acknowledgment sent {"connection_id":124755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:13:29] local.INFO: TCP Data received {"connection_id":124757,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:13:29] local.INFO: Processing buffer {"connection_id":124757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:13:29] local.INFO: IMEI packet received {"connection_id":124757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":124757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:13:33] local.INFO: TCP Data received {"connection_id":124757,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:13:33] local.INFO: Processing buffer {"connection_id":124757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:13:33] local.INFO: IMEI packet received {"connection_id":124757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":124757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:13:33] local.INFO: TCP Data received {"connection_id":124757,"ip":"117.225.141.88","data_length":405,"data_hex":"00000000000001898e050000019f3c987bf0012d16e18007205690002900df2c..."} 
[2026-07-07 18:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124757,"packet_length":405,"packet_hex":"00000000000001898e050000019f3c987bf0012d16e18007205690002900df2c..."} 
[2026-07-07 18:13:33] local.INFO: Processing buffer {"connection_id":124757,"buffer_length":405,"buffer_hex":"00000000000001898e050000019f3c987bf0012d16e18007205690002900df2c..."} 
[2026-07-07 18:13:33] local.INFO: Packet analysis {"connection_id":124757,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019f3c98"} 
[2026-07-07 18:13:33] local.INFO: Extracted packet for processing {"connection_id":124757,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019f3c98"} 
[2026-07-07 18:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756474240,"raw_latitude":119559824,"longitude_deg":75.647424,"latitude_deg":11.9559824,"altitude":41,"angle":223,"satellites":44,"speed":0,"hex_longitude":"2d16e180","hex_latitude":"07205690","is_valid_coordinates":true} 
[2026-07-07 18:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":405,"current_offset":40} 
[2026-07-07 18:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557576448001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4745487890513920,"note":"Value kept but may cause issues"} 
[2026-07-07 18:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1648739706689982464,"note":"Value kept but may cause issues"} 
[2026-07-07 18:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783428054000,"timestamp_ms":1783428054000,"timestamp_seconds":1783428054,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c987bf0"} 
[2026-07-07 18:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":405,"current_offset":136} 
[2026-07-07 18:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:13:33] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124757,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-07-07 18:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557576448001,"66":12776,"130":206,"28":31744,"24":0,"16":4745487890513920,"45":1648739706689982464},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-07-07 18:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557576448001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:13:33] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-07 18:13:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4745487890513920,"km_value":4745487890513.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1648739706689982464,"description":"Unknown IO ID 45"} 
[2026-07-07 18:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557576448001,"power":12776,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1648739706689982464}} 
[2026-07-07 18:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":124757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:13:34] local.INFO: GPS data processed {"connection_id":124757,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:13:34] local.INFO: Acknowledgment sent {"connection_id":124757,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:13:35] local.INFO: TCP Data received {"connection_id":124755,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:13:35] local.INFO: Processing buffer {"connection_id":124755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:13:35] local.INFO: Packet analysis {"connection_id":124755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c98"} 
[2026-07-07 18:13:35] local.INFO: Extracted packet for processing {"connection_id":124755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c98"} 
[2026-07-07 18:13:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557511936001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783428082000,"timestamp_ms":1783428082000,"timestamp_seconds":1783428082,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c98e950"} 
[2026-07-07 18:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 18:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557511936001,"66":25625,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557511936001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:13:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:13:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557511936001,"power":25625,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":124755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:13:35] local.INFO: GPS data processed {"connection_id":124755,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:13:35] local.INFO: Acknowledgment sent {"connection_id":124755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:13:58] local.INFO: TCP Data received {"connection_id":126720,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:13:58] local.INFO: Processing buffer {"connection_id":126720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:13:58] local.INFO: IMEI packet received {"connection_id":126720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":126720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:14:03] local.INFO: TCP Data received {"connection_id":126720,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:14:03] local.INFO: Processing buffer {"connection_id":126720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:14:03] local.INFO: IMEI packet received {"connection_id":126720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":126720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:14:04] local.INFO: TCP Data received {"connection_id":126720,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:14:04] local.INFO: Processing buffer {"connection_id":126720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:14:04] local.INFO: Packet analysis {"connection_id":126720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c98"} 
[2026-07-07 18:14:04] local.INFO: Extracted packet for processing {"connection_id":126720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c98"} 
[2026-07-07 18:14:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557511936001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783428082000,"timestamp_ms":1783428082000,"timestamp_seconds":1783428082,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c98e950"} 
[2026-07-07 18:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 18:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557511936001,"66":25625,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557511936001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:14:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:14:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557511936001,"power":25625,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":126720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:14:04] local.INFO: GPS data processed {"connection_id":126720,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:14:04] local.INFO: Acknowledgment sent {"connection_id":126720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:14:05] local.INFO: TCP Data received {"connection_id":124757,"ip":"117.225.141.88","data_length":483,"data_hex":"00000000000001d78e060000019f3c98cdf8012d16e18007205690002900df2b..."} 
[2026-07-07 18:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124757,"packet_length":483,"packet_hex":"00000000000001d78e060000019f3c98cdf8012d16e18007205690002900df2b..."} 
[2026-07-07 18:14:05] local.INFO: Processing buffer {"connection_id":124757,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019f3c98cdf8012d16e18007205690002900df2b..."} 
[2026-07-07 18:14:05] local.INFO: Packet analysis {"connection_id":124757,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019f3c98"} 
[2026-07-07 18:14:05] local.INFO: Extracted packet for processing {"connection_id":124757,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019f3c98"} 
[2026-07-07 18:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756474240,"raw_latitude":119559824,"longitude_deg":75.647424,"latitude_deg":11.9559824,"altitude":41,"angle":223,"satellites":43,"speed":0,"hex_longitude":"2d16e180","hex_latitude":"07205690","is_valid_coordinates":true} 
[2026-07-07 18: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":483,"current_offset":40} 
[2026-07-07 18:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557581824001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4745487890513920,"note":"Value kept but may cause issues"} 
[2026-07-07 18:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1648739706689982464,"note":"Value kept but may cause issues"} 
[2026-07-07 18:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783428075000,"timestamp_ms":1783428075000,"timestamp_seconds":1783428075,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c98cdf8"} 
[2026-07-07 18:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:14: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-07-07 18: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":49,"n8_eight_byte":232,"data_length":483,"current_offset":136} 
[2026-07-07 18:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:14:05] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124757,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-07-07 18:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557581824001,"66":12743,"130":206,"28":31744,"24":0,"16":4745487890513920,"45":1648739706689982464},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-07-07 18:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557581824001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:14:05] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-07 18:14:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4745487890513920,"km_value":4745487890513.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1648739706689982464,"description":"Unknown IO ID 45"} 
[2026-07-07 18:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557581824001,"power":12743,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1648739706689982464}} 
[2026-07-07 18:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":124757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:14:05] local.INFO: GPS data processed {"connection_id":124757,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:14:05] local.INFO: Acknowledgment sent {"connection_id":124757,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:14:31] local.INFO: TCP Data received {"connection_id":125464,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:14:31] local.INFO: Processing buffer {"connection_id":125464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:14:31] local.INFO: IMEI packet received {"connection_id":125464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":125464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:14:32] local.INFO: TCP Data received {"connection_id":125464,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9b69f0012d819f4005d33ff8000d00d92d..."} 
[2026-07-07 18:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9b69f0012d819f4005d33ff8000d00d92d..."} 
[2026-07-07 18:14:32] local.INFO: Processing buffer {"connection_id":125464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9b69f0012d819f4005d33ff8000d00d92d..."} 
[2026-07-07 18:14:32] local.INFO: Packet analysis {"connection_id":125464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:14:32] local.INFO: Extracted packet for processing {"connection_id":125464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763469632,"raw_latitude":97730552,"longitude_deg":76.3469632,"latitude_deg":9.7730552,"altitude":13,"angle":217,"satellites":45,"speed":7,"hex_longitude":"2d819f40","hex_latitude":"05d33ff8","is_valid_coordinates":true} 
[2026-07-07 18:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557630464001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103484934894649344,"note":"Value kept but may cause issues"} 
[2026-07-07 18:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106419159012411392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783428246000,"timestamp_ms":1783428246000,"timestamp_seconds":1783428246,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9b69f0"} 
[2026-07-07 18:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 18:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557630464001,"66":13124,"207":206,"85":15104,"24":7,"16":103484934894649344,"45":-9106419159012411392},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-07 18:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557630464001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:14:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 18:14:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103484934894649344,"km_value":103484934894649.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106419159012411392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557630464001,"power":13124,"unknown_207":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9106419159012411392}} 
[2026-07-07 18:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":125464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:14:32] local.INFO: GPS data processed {"connection_id":125464,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:14:32] local.INFO: Acknowledgment sent {"connection_id":125464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:14:35] local.INFO: TCP Data received {"connection_id":126720,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:14:35] local.INFO: Processing buffer {"connection_id":126720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:14:35] local.INFO: Packet analysis {"connection_id":126720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c98"} 
[2026-07-07 18:14:35] local.INFO: Extracted packet for processing {"connection_id":126720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c98"} 
[2026-07-07 18:14:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557511936001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783428082000,"timestamp_ms":1783428082000,"timestamp_seconds":1783428082,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c98e950"} 
[2026-07-07 18:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 18:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557511936001,"66":25625,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557511936001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:14:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:14:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557511936001,"power":25625,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":126720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:14:35] local.INFO: GPS data processed {"connection_id":126720,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:14:35] local.INFO: Acknowledgment sent {"connection_id":126720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:14:37] local.INFO: TCP Data received {"connection_id":124757,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9b0460012d177d800720f3d8003c002d2a..."} 
[2026-07-07 18:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9b0460012d177d800720f3d8003c002d2a..."} 
[2026-07-07 18:14:37] local.INFO: Processing buffer {"connection_id":124757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9b0460012d177d800720f3d8003c002d2a..."} 
[2026-07-07 18:14:37] local.INFO: Packet analysis {"connection_id":124757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:14:37] local.INFO: Extracted packet for processing {"connection_id":124757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756514176,"raw_latitude":119600088,"longitude_deg":75.6514176,"latitude_deg":11.9600088,"altitude":60,"angle":45,"satellites":42,"speed":39,"hex_longitude":"2d177d80","hex_latitude":"0720f3d8","is_valid_coordinates":true} 
[2026-07-07 18:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557622016001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4748292504158208,"note":"Value kept but may cause issues"} 
[2026-07-07 18:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1685894403624417280,"note":"Value kept but may cause issues"} 
[2026-07-07 18:14: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-07-07 18:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783428220000,"timestamp_ms":1783428220000,"timestamp_seconds":1783428220,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9b0460"} 
[2026-07-07 18:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-07 18:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557622016001,"66":14363,"122":206,"28":31744,"24":39,"16":4748292504158208,"45":1685894403624417280},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 18:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557622016001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:14:37] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 18:14:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4748292504158208,"km_value":4748292504158.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1685894403624417280,"description":"Unknown IO ID 45"} 
[2026-07-07 18:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557622016001,"power":14363,"unknown_122":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1685894403624417280}} 
[2026-07-07 18:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":124757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:14:37] local.INFO: GPS data processed {"connection_id":124757,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:14:37] local.INFO: Acknowledgment sent {"connection_id":124757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:14:58] local.INFO: TCP Data received {"connection_id":124758,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:14:58] local.INFO: Processing buffer {"connection_id":124758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:14:58] local.INFO: IMEI packet received {"connection_id":124758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":124758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:15:03] local.INFO: TCP Data received {"connection_id":125464,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9b6dd8012d819f0005d33f58000e00ed2d..."} 
[2026-07-07 18:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9b6dd8012d819f0005d33f58000e00ed2d..."} 
[2026-07-07 18:15:03] local.INFO: Processing buffer {"connection_id":125464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9b6dd8012d819f0005d33f58000e00ed2d..."} 
[2026-07-07 18:15:03] local.INFO: Packet analysis {"connection_id":125464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:15:03] local.INFO: Extracted packet for processing {"connection_id":125464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:15:03] local.INFO: GPS Element Parsed {"raw_longitude":763469568,"raw_latitude":97730392,"longitude_deg":76.3469568,"latitude_deg":9.7730392,"altitude":14,"angle":237,"satellites":45,"speed":11,"hex_longitude":"2d819f00","hex_latitude":"05d33f58","is_valid_coordinates":true} 
[2026-07-07 18:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557630976001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103484943484583936,"note":"Value kept but may cause issues"} 
[2026-07-07 18:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106489527756654592,"note":"Value kept but may cause issues"} 
[2026-07-07 18:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783428247000,"timestamp_ms":1783428247000,"timestamp_seconds":1783428247,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9b6dd8"} 
[2026-07-07 18:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:15: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-07-07 18:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-07 18:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:15: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-07-07 18:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557630976001,"66":13124,"207":206,"85":15104,"24":11,"16":103484943484583936,"45":-9106489527756654592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-07 18:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557630976001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:15:03] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 18:15:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103484943484583936,"km_value":103484943484583.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106489527756654592,"description":"Unknown IO ID 45"} 
[2026-07-07 18:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557630976001,"power":13124,"unknown_207":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9106489527756654592}} 
[2026-07-07 18:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":125464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:15:03] local.INFO: GPS data processed {"connection_id":125464,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:15:03] local.INFO: Acknowledgment sent {"connection_id":125464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:15:03] local.INFO: TCP Data received {"connection_id":124758,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:15:03] local.INFO: Processing buffer {"connection_id":124758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:15:03] local.INFO: IMEI packet received {"connection_id":124758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":124758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:15:04] local.INFO: TCP Data received {"connection_id":124758,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:15:04] local.INFO: Processing buffer {"connection_id":124758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:15:04] local.INFO: Packet analysis {"connection_id":124758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c98"} 
[2026-07-07 18:15:04] local.INFO: Extracted packet for processing {"connection_id":124758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c98"} 
[2026-07-07 18:15:04] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557511936001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783428082000,"timestamp_ms":1783428082000,"timestamp_seconds":1783428082,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c98e950"} 
[2026-07-07 18:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 18:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557511936001,"66":25625,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557511936001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:15:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:15:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557511936001,"power":25625,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":124758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:15:04] local.INFO: GPS data processed {"connection_id":124758,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:15:04] local.INFO: Acknowledgment sent {"connection_id":124758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:15:08] local.INFO: TCP Data received {"connection_id":124757,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9b1bd0012d178d8007210138003d003b2b..."} 
[2026-07-07 18:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9b1bd0012d178d8007210138003d003b2b..."} 
[2026-07-07 18:15:08] local.INFO: Processing buffer {"connection_id":124757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9b1bd0012d178d8007210138003d003b2b..."} 
[2026-07-07 18:15:08] local.INFO: Packet analysis {"connection_id":124757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:15:08] local.INFO: Extracted packet for processing {"connection_id":124757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:15:08] local.INFO: GPS Element Parsed {"raw_longitude":756518272,"raw_latitude":119603512,"longitude_deg":75.6518272,"latitude_deg":11.9603512,"altitude":61,"angle":59,"satellites":43,"speed":32,"hex_longitude":"2d178d80","hex_latitude":"07210138","is_valid_coordinates":true} 
[2026-07-07 18:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557624320001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4748545907228672,"note":"Value kept but may cause issues"} 
[2026-07-07 18:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1692649803067152384,"note":"Value kept but may cause issues"} 
[2026-07-07 18:15:08] 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-07-07 18:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783428226000,"timestamp_ms":1783428226000,"timestamp_seconds":1783428226,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9b1bd0"} 
[2026-07-07 18:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-07 18:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557624320001,"66":14265,"122":206,"28":31744,"24":32,"16":4748545907228672,"45":1692649803067152384},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 18:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557624320001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:15:08] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 18:15:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4748545907228672,"km_value":4748545907228.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1692649803067152384,"description":"Unknown IO ID 45"} 
[2026-07-07 18:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557624320001,"power":14265,"unknown_122":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1692649803067152384}} 
[2026-07-07 18:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":124757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:15:08] local.INFO: GPS data processed {"connection_id":124757,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:15:08] local.INFO: Acknowledgment sent {"connection_id":124757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:15:26] local.INFO: TCP Data received {"connection_id":124663,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:15:26] local.INFO: Processing buffer {"connection_id":124663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:15:26] local.INFO: IMEI packet received {"connection_id":124663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":124663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:15:31] local.INFO: TCP Data received {"connection_id":124663,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:15:31] local.INFO: Processing buffer {"connection_id":124663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:15:31] local.INFO: IMEI packet received {"connection_id":124663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":124663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:15:32] local.INFO: TCP Data received {"connection_id":124663,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9b75a8012d819c4005d33e20000e01012e..."} 
[2026-07-07 18:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9b75a8012d819c4005d33e20000e01012e..."} 
[2026-07-07 18:15:32] local.INFO: Processing buffer {"connection_id":124663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9b75a8012d819c4005d33e20000e01012e..."} 
[2026-07-07 18:15:32] local.INFO: Packet analysis {"connection_id":124663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:15:32] local.INFO: Extracted packet for processing {"connection_id":124663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763468864,"raw_latitude":97730080,"longitude_deg":76.3468864,"latitude_deg":9.773008,"altitude":14,"angle":257,"satellites":46,"speed":17,"hex_longitude":"2d819c40","hex_latitude":"05d33e20","is_valid_coordinates":true} 
[2026-07-07 18:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557631232001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103484982139289600,"note":"Value kept but may cause issues"} 
[2026-07-07 18:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106559896500873216,"note":"Value kept but may cause issues"} 
[2026-07-07 18:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783428249000,"timestamp_ms":1783428249000,"timestamp_seconds":1783428249,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9b75a8"} 
[2026-07-07 18:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-07 18:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557631232001,"66":13254,"207":206,"85":15104,"24":17,"16":103484982139289600,"45":-9106559896500873216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-07 18:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557631232001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:15:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 18:15:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103484982139289600,"km_value":103484982139289.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106559896500873216,"description":"Unknown IO ID 45"} 
[2026-07-07 18:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557631232001,"power":13254,"unknown_207":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9106559896500873216}} 
[2026-07-07 18:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":124663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:15:32] local.INFO: GPS data processed {"connection_id":124663,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:15:32] local.INFO: Acknowledgment sent {"connection_id":124663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:15:33] local.INFO: TCP Data received {"connection_id":125465,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:15:33] local.INFO: Processing buffer {"connection_id":125465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:15:33] local.INFO: IMEI packet received {"connection_id":125465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":125465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:15:35] local.INFO: TCP Data received {"connection_id":124758,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:15:35] local.INFO: Processing buffer {"connection_id":124758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c98e950012dc7c300052e4b200017002a2b..."} 
[2026-07-07 18:15:35] local.INFO: Packet analysis {"connection_id":124758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c98"} 
[2026-07-07 18:15:35] local.INFO: Extracted packet for processing {"connection_id":124758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c98"} 
[2026-07-07 18:15:35] local.INFO: GPS Element Parsed {"raw_longitude":768066304,"raw_latitude":86919968,"longitude_deg":76.8066304,"latitude_deg":8.6919968,"altitude":23,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2dc7c300","hex_latitude":"052e4b20","is_valid_coordinates":true} 
[2026-07-07 18:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557511936001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783428082000,"timestamp_ms":1783428082000,"timestamp_seconds":1783428082,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c98e950"} 
[2026-07-07 18:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 18:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557511936001,"66":25625,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557511936001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:15:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:15:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557511936001,"power":25625,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":124758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:15:35] local.INFO: GPS data processed {"connection_id":124758,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:15:35] local.INFO: Acknowledgment sent {"connection_id":124758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:15:39] local.INFO: TCP Data received {"connection_id":125465,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:15:39] local.INFO: Processing buffer {"connection_id":125465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:15:39] local.INFO: IMEI packet received {"connection_id":125465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":125465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:15:40] local.INFO: TCP Data received {"connection_id":125465,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9b3ef8012d17ab8007211710003a00322a..."} 
[2026-07-07 18:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9b3ef8012d17ab8007211710003a00322a..."} 
[2026-07-07 18:15:40] local.INFO: Processing buffer {"connection_id":125465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9b3ef8012d17ab8007211710003a00322a..."} 
[2026-07-07 18:15:40] local.INFO: Packet analysis {"connection_id":125465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:15:40] local.INFO: Extracted packet for processing {"connection_id":125465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:15:40] local.INFO: GPS Element Parsed {"raw_longitude":756525952,"raw_latitude":119609104,"longitude_deg":75.6525952,"latitude_deg":11.9609104,"altitude":58,"angle":50,"satellites":42,"speed":49,"hex_longitude":"2d17ab80","hex_latitude":"07211710","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557625856001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4749001173762048,"note":"Value kept but may cause issues"} 
[2026-07-07 18:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1697153402695399424,"note":"Value kept but may cause issues"} 
[2026-07-07 18:15:40] 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-07-07 18:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783428235000,"timestamp_ms":1783428235000,"timestamp_seconds":1783428235,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9b3ef8"} 
[2026-07-07 18:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 18:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557625856001,"66":14276,"122":206,"28":31744,"24":49,"16":4749001173762048,"45":1697153402695399424},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 18:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557625856001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:15:40] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 18:15:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4749001173762048,"km_value":4749001173762.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1697153402695399424,"description":"Unknown IO ID 45"} 
[2026-07-07 18:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557625856001,"power":14276,"unknown_122":206,"unknown_28":31744,"ignition":49,"odometer":null,"unknown_45":1697153402695399424}} 
[2026-07-07 18:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":125465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:15:40] local.INFO: GPS data processed {"connection_id":125465,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:15:40] local.INFO: Acknowledgment sent {"connection_id":125465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:15:58] local.INFO: TCP Data received {"connection_id":125467,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:15:58] local.INFO: Processing buffer {"connection_id":125467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:15:58] local.INFO: IMEI packet received {"connection_id":125467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":125467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:16:03] local.INFO: TCP Data received {"connection_id":124663,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9b8160012d81964005d33d68000e010c2e..."} 
[2026-07-07 18:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9b8160012d81964005d33d68000e010c2e..."} 
[2026-07-07 18:16:03] local.INFO: Processing buffer {"connection_id":124663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9b8160012d81964005d33d68000e010c2e..."} 
[2026-07-07 18:16:03] local.INFO: Packet analysis {"connection_id":124663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:16:03] local.INFO: Extracted packet for processing {"connection_id":124663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:16:03] local.INFO: GPS Element Parsed {"raw_longitude":763467328,"raw_latitude":97729896,"longitude_deg":76.3467328,"latitude_deg":9.7729896,"altitude":14,"angle":268,"satellites":46,"speed":19,"hex_longitude":"2d819640","hex_latitude":"05d33d68","is_valid_coordinates":true} 
[2026-07-07 18:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557631744001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103485055153733632,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107333952686907392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783428252000,"timestamp_ms":1783428252000,"timestamp_seconds":1783428252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9b8160"} 
[2026-07-07 18:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:16: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-07-07 18:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-07 18:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:16: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-07-07 18:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557631744001,"66":12765,"207":206,"85":15104,"24":19,"16":103485055153733632,"45":-9107333952686907392},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-07 18:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557631744001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:16:03] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 18:16:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103485055153733632,"km_value":103485055153733.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107333952686907392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557631744001,"power":12765,"unknown_207":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9107333952686907392}} 
[2026-07-07 18:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":124663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:16:03] local.INFO: GPS data processed {"connection_id":124663,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:16:03] local.INFO: Acknowledgment sent {"connection_id":124663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:16:03] local.INFO: TCP Data received {"connection_id":125467,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:16:03] local.INFO: Processing buffer {"connection_id":125467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:16:03] local.INFO: IMEI packet received {"connection_id":125467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":125467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:16:04] local.INFO: TCP Data received {"connection_id":125467,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:16:04] local.INFO: Processing buffer {"connection_id":125467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:16:04] local.INFO: Packet analysis {"connection_id":125467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9c"} 
[2026-07-07 18:16:04] local.INFO: Extracted packet for processing {"connection_id":125467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9c"} 
[2026-07-07 18:16:04] local.INFO: GPS Element Parsed {"raw_longitude":768066880,"raw_latitude":86919992,"longitude_deg":76.806688,"latitude_deg":8.6919992,"altitude":23,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2dc7c540","hex_latitude":"052e4b38","is_valid_coordinates":true} 
[2026-07-07 18:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557588992001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783428309000,"timestamp_ms":1783428309000,"timestamp_seconds":1783428309,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9c6008"} 
[2026-07-07 18:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 18:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557588992001,"66":25615,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557588992001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:16:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:16:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557588992001,"power":25615,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":125467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:16:04] local.INFO: GPS data processed {"connection_id":125467,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:16:04] local.INFO: Acknowledgment sent {"connection_id":125467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:16:12] local.INFO: TCP Data received {"connection_id":125465,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9b5668012d17c04007212bf0003a00252a..."} 
[2026-07-07 18:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9b5668012d17c04007212bf0003a00252a..."} 
[2026-07-07 18:16:12] local.INFO: Processing buffer {"connection_id":125465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9b5668012d17c04007212bf0003a00252a..."} 
[2026-07-07 18:16:12] local.INFO: Packet analysis {"connection_id":125465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:16:12] local.INFO: Extracted packet for processing {"connection_id":125465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:16:12] local.INFO: GPS Element Parsed {"raw_longitude":756531264,"raw_latitude":119614448,"longitude_deg":75.6531264,"latitude_deg":11.9614448,"altitude":58,"angle":37,"satellites":42,"speed":49,"hex_longitude":"2d17c040","hex_latitude":"07212bf0","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557628160001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4749366245982208,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705597651998150656,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783428241000,"timestamp_ms":1783428241000,"timestamp_seconds":1783428241,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9b5668"} 
[2026-07-07 18:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 18:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557628160001,"66":14298,"122":206,"28":31744,"24":49,"16":4749366245982208,"45":1705597651998150656},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 18:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557628160001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:16:12] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 18:16:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4749366245982208,"km_value":4749366245982.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705597651998150656,"description":"Unknown IO ID 45"} 
[2026-07-07 18:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557628160001,"power":14298,"unknown_122":206,"unknown_28":31744,"ignition":49,"odometer":null,"unknown_45":1705597651998150656}} 
[2026-07-07 18:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":125465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:16:12] local.INFO: GPS data processed {"connection_id":125465,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:16:12] local.INFO: Acknowledgment sent {"connection_id":125465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:16:28] local.INFO: TCP Data received {"connection_id":125468,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:16:28] local.INFO: Processing buffer {"connection_id":125468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:16:28] local.INFO: IMEI packet received {"connection_id":125468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":125468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:16:31] local.INFO: TCP Data received {"connection_id":125468,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:16:31] local.INFO: Processing buffer {"connection_id":125468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:16:31] local.INFO: IMEI packet received {"connection_id":125468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":125468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:16:33] local.INFO: TCP Data received {"connection_id":125469,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:16:33] local.INFO: Processing buffer {"connection_id":125469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:16:33] local.INFO: IMEI packet received {"connection_id":125469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":125469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:16:35] local.INFO: TCP Data received {"connection_id":125467,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:16:35] local.INFO: Processing buffer {"connection_id":125467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:16:35] local.INFO: Packet analysis {"connection_id":125467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9c"} 
[2026-07-07 18:16:35] local.INFO: Extracted packet for processing {"connection_id":125467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9c"} 
[2026-07-07 18:16:35] local.INFO: GPS Element Parsed {"raw_longitude":768066880,"raw_latitude":86919992,"longitude_deg":76.806688,"latitude_deg":8.6919992,"altitude":23,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2dc7c540","hex_latitude":"052e4b38","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557588992001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783428309000,"timestamp_ms":1783428309000,"timestamp_seconds":1783428309,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9c6008"} 
[2026-07-07 18:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 18:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557588992001,"66":25615,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557588992001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:16:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:16:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557588992001,"power":25615,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":125467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:16:35] local.INFO: GPS data processed {"connection_id":125467,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:16:35] local.INFO: Acknowledgment sent {"connection_id":125467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:16:36] local.INFO: TCP Data received {"connection_id":125468,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:16:36] local.INFO: Processing buffer {"connection_id":125468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:16:36] local.INFO: IMEI packet received {"connection_id":125468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":125468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:16:37] local.INFO: TCP Data received {"connection_id":125468,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9bb810012d818c8005d33d58000e01192c..."} 
[2026-07-07 18:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9bb810012d818c8005d33d58000e01192c..."} 
[2026-07-07 18:16:37] local.INFO: Processing buffer {"connection_id":125468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9bb810012d818c8005d33d58000e01192c..."} 
[2026-07-07 18:16:37] local.INFO: Packet analysis {"connection_id":125468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:16:37] local.INFO: Extracted packet for processing {"connection_id":125468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763464832,"raw_latitude":97729880,"longitude_deg":76.3464832,"latitude_deg":9.772988,"altitude":14,"angle":281,"satellites":44,"speed":12,"hex_longitude":"2d818c80","hex_latitude":"05d33d58","is_valid_coordinates":true} 
[2026-07-07 18:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557632512001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103485175412817920,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9109022802547218432,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783428266000,"timestamp_ms":1783428266000,"timestamp_seconds":1783428266,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9bb810"} 
[2026-07-07 18:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:16: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-07-07 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-07 18:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18: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-07-07 18:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557632512001,"66":12461,"207":206,"85":15104,"24":12,"16":103485175412817920,"45":-9109022802547218432},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-07 18:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557632512001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:16:37] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 18:16:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103485175412817920,"km_value":103485175412817.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9109022802547218432,"description":"Unknown IO ID 45"} 
[2026-07-07 18:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557632512001,"power":12461,"unknown_207":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9109022802547218432}} 
[2026-07-07 18:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":125468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:16:37] local.INFO: GPS data processed {"connection_id":125468,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:16:37] local.INFO: Acknowledgment sent {"connection_id":125468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:16:38] local.INFO: TCP Data received {"connection_id":125469,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:16:38] local.INFO: Processing buffer {"connection_id":125469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:16:38] local.INFO: IMEI packet received {"connection_id":125469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":125469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:16:40] local.INFO: TCP Data received {"connection_id":125469,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9b75a8012d17d38007214978003f001d2b..."} 
[2026-07-07 18:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9b75a8012d17d38007214978003f001d2b..."} 
[2026-07-07 18:16:40] local.INFO: Processing buffer {"connection_id":125469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9b75a8012d17d38007214978003f001d2b..."} 
[2026-07-07 18:16:40] local.INFO: Packet analysis {"connection_id":125469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:16:40] local.INFO: Extracted packet for processing {"connection_id":125469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:16:40] local.INFO: GPS Element Parsed {"raw_longitude":756536192,"raw_latitude":119622008,"longitude_deg":75.6536192,"latitude_deg":11.9622008,"altitude":63,"angle":29,"satellites":43,"speed":33,"hex_longitude":"2d17d380","hex_latitude":"07214978","is_valid_coordinates":true} 
[2026-07-07 18:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557629696001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4749800037679104,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1711438257766264832,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:40] 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-07-07 18:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783428249000,"timestamp_ms":1783428249000,"timestamp_seconds":1783428249,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9b75a8"} 
[2026-07-07 18:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-07 18:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557629696001,"66":13906,"122":206,"28":31744,"24":33,"16":4749800037679104,"45":1711438257766264832},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 18:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557629696001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:16:40] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 18:16:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4749800037679104,"km_value":4749800037679.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1711438257766264832,"description":"Unknown IO ID 45"} 
[2026-07-07 18:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557629696001,"power":13906,"unknown_122":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1711438257766264832}} 
[2026-07-07 18:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":125469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:16:40] local.INFO: GPS data processed {"connection_id":125469,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:16:40] local.INFO: Acknowledgment sent {"connection_id":125469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:16:42] local.INFO: TCP Data received {"connection_id":125468,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9be308012d8177c005d33e70000a010d2a..."} 
[2026-07-07 18:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9be308012d8177c005d33e70000a010d2a..."} 
[2026-07-07 18:16:42] local.INFO: Processing buffer {"connection_id":125468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9be308012d8177c005d33e70000a010d2a..."} 
[2026-07-07 18:16:42] local.INFO: Packet analysis {"connection_id":125468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:16:42] local.INFO: Extracted packet for processing {"connection_id":125468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:16:42] local.INFO: GPS Element Parsed {"raw_longitude":763459520,"raw_latitude":97730160,"longitude_deg":76.345952,"latitude_deg":9.773016,"altitude":10,"angle":269,"satellites":42,"speed":7,"hex_longitude":"2d8177c0","hex_latitude":"05d33e70","is_valid_coordinates":true} 
[2026-07-07 18:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557636096001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103485428815888384,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9111767183570151424,"note":"Value kept but may cause issues"} 
[2026-07-07 18:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783428277000,"timestamp_ms":1783428277000,"timestamp_seconds":1783428277,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9be308"} 
[2026-07-07 18:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18: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-07-07 18:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 18:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:16: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-07-07 18:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557636096001,"66":12504,"207":206,"85":15104,"24":7,"16":103485428815888384,"45":-9111767183570151424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-07 18:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557636096001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:16:42] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-07 18:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103485428815888384,"km_value":103485428815888.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9111767183570151424,"description":"Unknown IO ID 45"} 
[2026-07-07 18:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557636096001,"power":12504,"unknown_207":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9111767183570151424}} 
[2026-07-07 18:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":125468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:16:42] local.INFO: GPS data processed {"connection_id":125468,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:16:42] local.INFO: Acknowledgment sent {"connection_id":125468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:17:03] local.INFO: TCP Data received {"connection_id":124665,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:17:03] local.INFO: Processing buffer {"connection_id":124665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:17:03] local.INFO: IMEI packet received {"connection_id":124665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":124665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:17:08] local.INFO: TCP Data received {"connection_id":124665,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:17:08] local.INFO: Processing buffer {"connection_id":124665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:17:08] local.INFO: IMEI packet received {"connection_id":124665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":124665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:17:09] local.INFO: TCP Data received {"connection_id":124665,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:17:09] local.INFO: Processing buffer {"connection_id":124665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:17:09] local.INFO: Packet analysis {"connection_id":124665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9c"} 
[2026-07-07 18:17:09] local.INFO: Extracted packet for processing {"connection_id":124665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9c"} 
[2026-07-07 18:17:09] local.INFO: GPS Element Parsed {"raw_longitude":768066880,"raw_latitude":86919992,"longitude_deg":76.806688,"latitude_deg":8.6919992,"altitude":23,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2dc7c540","hex_latitude":"052e4b38","is_valid_coordinates":true} 
[2026-07-07 18:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557588992001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783428309000,"timestamp_ms":1783428309000,"timestamp_seconds":1783428309,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9c6008"} 
[2026-07-07 18:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 18:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557588992001,"66":25615,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557588992001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:17:09] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:17:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557588992001,"power":25615,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":124665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:17:09] local.INFO: GPS data processed {"connection_id":124665,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:17:09] local.INFO: Acknowledgment sent {"connection_id":124665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:17:14] local.INFO: TCP Data received {"connection_id":124665,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:17:14] local.INFO: Processing buffer {"connection_id":124665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:17:14] local.INFO: Packet analysis {"connection_id":124665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9c"} 
[2026-07-07 18:17:14] local.INFO: Extracted packet for processing {"connection_id":124665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9c"} 
[2026-07-07 18:17:14] local.INFO: GPS Element Parsed {"raw_longitude":768066880,"raw_latitude":86919992,"longitude_deg":76.806688,"latitude_deg":8.6919992,"altitude":23,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2dc7c540","hex_latitude":"052e4b38","is_valid_coordinates":true} 
[2026-07-07 18:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557588992001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783428309000,"timestamp_ms":1783428309000,"timestamp_seconds":1783428309,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9c6008"} 
[2026-07-07 18:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 18:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:17: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-07-07 18:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557588992001,"66":25615,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557588992001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:17:14] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:17:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557588992001,"power":25615,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":124665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:17:14] local.INFO: GPS data processed {"connection_id":124665,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:17:14] local.INFO: Acknowledgment sent {"connection_id":124665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:17:16] local.INFO: TCP Data received {"connection_id":125469,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9ba488012d17e500072168600045001b2c..."} 
[2026-07-07 18:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9ba488012d17e500072168600045001b2c..."} 
[2026-07-07 18:17:16] local.INFO: Processing buffer {"connection_id":125469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9ba488012d17e500072168600045001b2c..."} 
[2026-07-07 18:17:16] local.INFO: Packet analysis {"connection_id":125469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:17:16] local.INFO: Extracted packet for processing {"connection_id":125469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:17:16] local.INFO: GPS Element Parsed {"raw_longitude":756540672,"raw_latitude":119629920,"longitude_deg":75.6540672,"latitude_deg":11.962992,"altitude":69,"angle":27,"satellites":44,"speed":31,"hex_longitude":"2d17e500","hex_latitude":"07216860","is_valid_coordinates":true} 
[2026-07-07 18:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557631744001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4750238124343296,"note":"Value kept but may cause issues"} 
[2026-07-07 18:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1716856651069880320,"note":"Value kept but may cause issues"} 
[2026-07-07 18:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783428261000,"timestamp_ms":1783428261000,"timestamp_seconds":1783428261,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9ba488"} 
[2026-07-07 18:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-07 18:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557631744001,"66":13961,"122":206,"28":31744,"24":31,"16":4750238124343296,"45":1716856651069880320},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 18:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557631744001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:17:16] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 18:17:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4750238124343296,"km_value":4750238124343.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1716856651069880320,"description":"Unknown IO ID 45"} 
[2026-07-07 18:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557631744001,"power":13961,"unknown_122":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1716856651069880320}} 
[2026-07-07 18:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":125469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:17:16] local.INFO: GPS data processed {"connection_id":125469,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:17:16] local.INFO: Acknowledgment sent {"connection_id":125469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:17:26] local.INFO: TCP Data received {"connection_id":125470,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:17:26] local.INFO: Processing buffer {"connection_id":125470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:17:26] local.INFO: IMEI packet received {"connection_id":125470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":125470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:17:28] local.INFO: TCP Data received {"connection_id":125470,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:17:28] local.INFO: Processing buffer {"connection_id":125470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:17:28] local.INFO: IMEI packet received {"connection_id":125470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":125470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:17:29] local.INFO: TCP Data received {"connection_id":125470,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9e1d58012d803f8005d38338000501372c..."} 
[2026-07-07 18:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9e1d58012d803f8005d38338000501372c..."} 
[2026-07-07 18:17:29] local.INFO: Processing buffer {"connection_id":125470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9e1d58012d803f8005d38338000501372c..."} 
[2026-07-07 18:17:29] local.INFO: Packet analysis {"connection_id":125470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9e"} 
[2026-07-07 18:17:29] local.INFO: Extracted packet for processing {"connection_id":125470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9e"} 
[2026-07-07 18:17:29] local.INFO: GPS Element Parsed {"raw_longitude":763379584,"raw_latitude":97747768,"longitude_deg":76.3379584,"latitude_deg":9.7747768,"altitude":5,"angle":311,"satellites":44,"speed":20,"hex_longitude":"2d803f80","hex_latitude":"05d38338","is_valid_coordinates":true} 
[2026-07-07 18:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557675776001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103489436020375552,"note":"Value kept but may cause issues"} 
[2026-07-07 18:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204513188391880704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783428423000,"timestamp_ms":1783428423000,"timestamp_seconds":1783428423,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9e1d58"} 
[2026-07-07 18:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 18:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557675776001,"66":13135,"167":206,"85":15104,"24":20,"16":103489436020375552,"45":-9204513188391880704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-07 18:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557675776001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:17:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 18:17:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103489436020375552,"km_value":103489436020375.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204513188391880704,"description":"Unknown IO ID 45"} 
[2026-07-07 18:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557675776001,"power":13135,"unknown_167":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9204513188391880704}} 
[2026-07-07 18:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":125470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:17:29] local.INFO: GPS data processed {"connection_id":125470,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:17:29] local.INFO: Acknowledgment sent {"connection_id":125470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:17:39] local.INFO: TCP Data received {"connection_id":124759,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:17:39] local.INFO: Processing buffer {"connection_id":124759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:17:39] local.INFO: IMEI packet received {"connection_id":124759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":124759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:17:43] local.INFO: TCP Data received {"connection_id":124759,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:17:43] local.INFO: Processing buffer {"connection_id":124759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:17:43] local.INFO: IMEI packet received {"connection_id":124759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":124759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:17:45] local.INFO: TCP Data received {"connection_id":124759,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9bb810012d17ee8007217600004800282e..."} 
[2026-07-07 18:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9bb810012d17ee8007217600004800282e..."} 
[2026-07-07 18:17:45] local.INFO: Processing buffer {"connection_id":124759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9bb810012d17ee8007217600004800282e..."} 
[2026-07-07 18:17:45] local.INFO: Packet analysis {"connection_id":124759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:17:45] local.INFO: Extracted packet for processing {"connection_id":124759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756543104,"raw_latitude":119633408,"longitude_deg":75.6543104,"latitude_deg":11.9633408,"altitude":72,"angle":40,"satellites":46,"speed":35,"hex_longitude":"2d17ee80","hex_latitude":"07217600","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557634816001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4750444282773504,"note":"Value kept but may cause issues"} 
[2026-07-07 18:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1721782463164342272,"note":"Value kept but may cause issues"} 
[2026-07-07 18:17:45] 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-07-07 18:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783428266000,"timestamp_ms":1783428266000,"timestamp_seconds":1783428266,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9bb810"} 
[2026-07-07 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-07-07 18:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-07 18:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 18:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557634816001,"66":13820,"122":206,"28":31744,"24":35,"16":4750444282773504,"45":1721782463164342272},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-07 18:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557634816001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:17:45] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-07 18:17:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4750444282773504,"km_value":4750444282773.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1721782463164342272,"description":"Unknown IO ID 45"} 
[2026-07-07 18:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557634816001,"power":13820,"unknown_122":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1721782463164342272}} 
[2026-07-07 18:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":124759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:17:45] local.INFO: GPS data processed {"connection_id":124759,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:17:45] local.INFO: Acknowledgment sent {"connection_id":124759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:17:49] local.INFO: TCP Data received {"connection_id":124759,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9be308012d180a00072190200048002a2c..."} 
[2026-07-07 18:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9be308012d180a00072190200048002a2c..."} 
[2026-07-07 18:17:49] local.INFO: Processing buffer {"connection_id":124759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9be308012d180a00072190200048002a2c..."} 
[2026-07-07 18:17:49] local.INFO: Packet analysis {"connection_id":124759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:17:49] local.INFO: Extracted packet for processing {"connection_id":124759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9b"} 
[2026-07-07 18:17:49] local.INFO: GPS Element Parsed {"raw_longitude":756550144,"raw_latitude":119640096,"longitude_deg":75.6550144,"latitude_deg":11.9640096,"altitude":72,"angle":42,"satellites":44,"speed":32,"hex_longitude":"2d180a00","hex_latitude":"07219020","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557636096001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4750908139241472,"note":"Value kept but may cause issues"} 
[2026-07-07 18:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724456475443986432,"note":"Value kept but may cause issues"} 
[2026-07-07 18:17: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-07-07 18:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783428277000,"timestamp_ms":1783428277000,"timestamp_seconds":1783428277,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9be308"} 
[2026-07-07 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-07-07 18:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-07 18:17:49] 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-07-07 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-07-07 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-07-07 18:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":124759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":124759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":124759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557636096001,"66":14070,"120":206,"28":31744,"24":32,"16":4750908139241472,"45":1724456475443986432},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557636096001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:17:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:17:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4750908139241472,"km_value":4750908139241.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724456475443986432,"description":"Unknown IO ID 45"} 
[2026-07-07 18:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557636096001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1724456475443986432}} 
[2026-07-07 18:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":124759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:17:50] local.INFO: GPS data processed {"connection_id":124759,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:17:50] local.INFO: Acknowledgment sent {"connection_id":124759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:17:58] local.INFO: TCP Data received {"connection_id":124666,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:17:58] local.INFO: Processing buffer {"connection_id":124666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:17:58] local.INFO: IMEI packet received {"connection_id":124666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":124666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:18:00] local.INFO: TCP Data received {"connection_id":125470,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9e2140012d803e4005d384b0000501462c..."} 
[2026-07-07 18:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9e2140012d803e4005d384b0000501462c..."} 
[2026-07-07 18:18:00] local.INFO: Processing buffer {"connection_id":125470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9e2140012d803e4005d384b0000501462c..."} 
[2026-07-07 18:18:00] local.INFO: Packet analysis {"connection_id":125470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9e"} 
[2026-07-07 18:18:00] local.INFO: Extracted packet for processing {"connection_id":125470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9e"} 
[2026-07-07 18:18:00] local.INFO: GPS Element Parsed {"raw_longitude":763379264,"raw_latitude":97748144,"longitude_deg":76.3379264,"latitude_deg":9.7748144,"altitude":5,"angle":326,"satellites":44,"speed":20,"hex_longitude":"2d803e40","hex_latitude":"05d384b0","is_valid_coordinates":true} 
[2026-07-07 18:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557676288001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103489461790179328,"note":"Value kept but may cause issues"} 
[2026-07-07 18:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9205498350810220544,"note":"Value kept but may cause issues"} 
[2026-07-07 18:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783428424000,"timestamp_ms":1783428424000,"timestamp_seconds":1783428424,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9e2140"} 
[2026-07-07 18:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:18:00] 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-07-07 18:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 18:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557676288001,"66":13135,"167":206,"85":15104,"24":20,"16":103489461790179328,"45":-9205498350810220544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-07 18:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557676288001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:18:00] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 18:18:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103489461790179328,"km_value":103489461790179.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9205498350810220544,"description":"Unknown IO ID 45"} 
[2026-07-07 18:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557676288001,"power":13135,"unknown_167":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9205498350810220544}} 
[2026-07-07 18:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":125470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:18:00] local.INFO: GPS data processed {"connection_id":125470,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:18:00] local.INFO: Acknowledgment sent {"connection_id":125470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:18:03] local.INFO: TCP Data received {"connection_id":124666,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:18:03] local.INFO: Processing buffer {"connection_id":124666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:18:03] local.INFO: IMEI packet received {"connection_id":124666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":124666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:18:04] local.INFO: TCP Data received {"connection_id":124666,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:18:04] local.INFO: Processing buffer {"connection_id":124666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:18:04] local.INFO: Packet analysis {"connection_id":124666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9c"} 
[2026-07-07 18:18:04] local.INFO: Extracted packet for processing {"connection_id":124666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9c"} 
[2026-07-07 18:18:04] local.INFO: GPS Element Parsed {"raw_longitude":768066880,"raw_latitude":86919992,"longitude_deg":76.806688,"latitude_deg":8.6919992,"altitude":23,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2dc7c540","hex_latitude":"052e4b38","is_valid_coordinates":true} 
[2026-07-07 18:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557588992001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783428309000,"timestamp_ms":1783428309000,"timestamp_seconds":1783428309,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9c6008"} 
[2026-07-07 18:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 18:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557588992001,"66":25615,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557588992001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:18:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:18:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557588992001,"power":25615,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":124666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:18:04] local.INFO: GPS data processed {"connection_id":124666,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:18:04] local.INFO: Acknowledgment sent {"connection_id":124666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:18:26] local.INFO: TCP Data received {"connection_id":126722,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:18:26] local.INFO: Processing buffer {"connection_id":126722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:18:26] local.INFO: IMEI packet received {"connection_id":126722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":126722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:18:29] local.INFO: TCP Data received {"connection_id":124667,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:18:29] local.INFO: Processing buffer {"connection_id":124667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:18:29] local.INFO: IMEI packet received {"connection_id":124667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 18:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":124667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:18:29] local.INFO: TCP Data received {"connection_id":126722,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:18:29] local.INFO: Processing buffer {"connection_id":126722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:18:29] local.INFO: IMEI packet received {"connection_id":126722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":126722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:18:29] local.INFO: TCP Data received {"connection_id":126722,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9e2910012d803c8005d38898000501542d..."} 
[2026-07-07 18:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9e2910012d803c8005d38898000501542d..."} 
[2026-07-07 18:18:29] local.INFO: Processing buffer {"connection_id":126722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9e2910012d803c8005d38898000501542d..."} 
[2026-07-07 18:18:29] local.INFO: Packet analysis {"connection_id":126722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9e"} 
[2026-07-07 18:18:29] local.INFO: Extracted packet for processing {"connection_id":126722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9e"} 
[2026-07-07 18:18:29] local.INFO: GPS Element Parsed {"raw_longitude":763378816,"raw_latitude":97749144,"longitude_deg":76.3378816,"latitude_deg":9.7749144,"altitude":5,"angle":340,"satellites":45,"speed":22,"hex_longitude":"2d803c80","hex_latitude":"05d38898","is_valid_coordinates":true} 
[2026-07-07 18:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557676544001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103489513329786880,"note":"Value kept but may cause issues"} 
[2026-07-07 18:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9205850194531012608,"note":"Value kept but may cause issues"} 
[2026-07-07 18:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783428426000,"timestamp_ms":1783428426000,"timestamp_seconds":1783428426,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9e2910"} 
[2026-07-07 18:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:18:29] 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-07-07 18:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 18:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":126722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":126722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":126722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557676544001,"66":13091,"167":206,"85":15104,"24":22,"16":103489513329786880,"45":-9205850194531012608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-07 18:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557676544001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:18:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 18:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103489513329786880,"km_value":103489513329786.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9205850194531012608,"description":"Unknown IO ID 45"} 
[2026-07-07 18:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557676544001,"power":13091,"unknown_167":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9205850194531012608}} 
[2026-07-07 18:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":126722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:18:29] local.INFO: GPS data processed {"connection_id":126722,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:18:29] local.INFO: Acknowledgment sent {"connection_id":126722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:18:33] local.INFO: TCP Data received {"connection_id":126723,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:18:33] local.INFO: Processing buffer {"connection_id":126723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:18:33] local.INFO: IMEI packet received {"connection_id":126723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":126723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:18:35] local.INFO: TCP Data received {"connection_id":124666,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:18:35] local.INFO: Processing buffer {"connection_id":124666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:18:35] local.INFO: Packet analysis {"connection_id":124666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9c"} 
[2026-07-07 18:18:35] local.INFO: Extracted packet for processing {"connection_id":124666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9c"} 
[2026-07-07 18:18:35] local.INFO: GPS Element Parsed {"raw_longitude":768066880,"raw_latitude":86919992,"longitude_deg":76.806688,"latitude_deg":8.6919992,"altitude":23,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2dc7c540","hex_latitude":"052e4b38","is_valid_coordinates":true} 
[2026-07-07 18:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557588992001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783428309000,"timestamp_ms":1783428309000,"timestamp_seconds":1783428309,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9c6008"} 
[2026-07-07 18:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 18:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557588992001,"66":25615,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557588992001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:18:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:18:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557588992001,"power":25615,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":124666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:18:35] local.INFO: GPS data processed {"connection_id":124666,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:18:35] local.INFO: Acknowledgment sent {"connection_id":124666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:18:36] local.INFO: TCP Data received {"connection_id":126723,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:18:36] local.INFO: Processing buffer {"connection_id":126723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:18:36] local.INFO: IMEI packet received {"connection_id":126723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":126723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:18:37] local.INFO: TCP Data received {"connection_id":126723,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9ea610012d181f400721a780004a009c29..."} 
[2026-07-07 18:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9ea610012d181f400721a780004a009c29..."} 
[2026-07-07 18:18:37] local.INFO: Processing buffer {"connection_id":126723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9ea610012d181f400721a780004a009c29..."} 
[2026-07-07 18:18:37] local.INFO: Packet analysis {"connection_id":126723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9e"} 
[2026-07-07 18:18:37] local.INFO: Extracted packet for processing {"connection_id":126723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9e"} 
[2026-07-07 18:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646080,"longitude_deg":75.6555584,"latitude_deg":11.964608,"altitude":74,"angle":156,"satellites":41,"speed":7,"hex_longitude":"2d181f40","hex_latitude":"0721a780","is_valid_coordinates":true} 
[2026-07-07 18:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557684992001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4751668348452864,"note":"Value kept but may cause issues"} 
[2026-07-07 18:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073566720,"note":"Value kept but may cause issues"} 
[2026-07-07 18:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783428458000,"timestamp_ms":1783428458000,"timestamp_seconds":1783428458,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9ea610"} 
[2026-07-07 18:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 18:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557684992001,"66":14374,"120":206,"28":31744,"24":7,"16":4751668348452864,"45":1738037643073566720},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557684992001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:18:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:18:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4751668348452864,"km_value":4751668348452.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073566720,"description":"Unknown IO ID 45"} 
[2026-07-07 18:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557684992001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1738037643073566720}} 
[2026-07-07 18:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":126723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:18:37] local.INFO: GPS data processed {"connection_id":126723,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:18:37] local.INFO: Acknowledgment sent {"connection_id":126723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:18:58] local.INFO: TCP Data received {"connection_id":125471,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:18:58] local.INFO: Processing buffer {"connection_id":125471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:18:58] local.INFO: IMEI packet received {"connection_id":125471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":125471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:18:58] local.INFO: TCP Data received {"connection_id":124760,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:18:58] local.INFO: Processing buffer {"connection_id":124760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:18:58] local.INFO: IMEI packet received {"connection_id":124760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 18:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":124760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:19:01] local.INFO: TCP Data received {"connection_id":126722,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9f9070012d7f3fc005d37ab8000400e62e..."} 
[2026-07-07 18:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9f9070012d7f3fc005d37ab8000400e62e..."} 
[2026-07-07 18:19:01] local.INFO: Processing buffer {"connection_id":126722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9f9070012d7f3fc005d37ab8000400e62e..."} 
[2026-07-07 18:19:01] local.INFO: Packet analysis {"connection_id":126722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9f"} 
[2026-07-07 18:19:01] local.INFO: Extracted packet for processing {"connection_id":126722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9f"} 
[2026-07-07 18:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763314112,"raw_latitude":97745592,"longitude_deg":76.3314112,"latitude_deg":9.7745592,"altitude":4,"angle":230,"satellites":46,"speed":38,"hex_longitude":"2d7f3fc0","hex_latitude":"05d37ab8","is_valid_coordinates":true} 
[2026-07-07 18:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557698816001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103492764620029952,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9175310209605255168,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783428518000,"timestamp_ms":1783428518000,"timestamp_seconds":1783428518,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9f9070"} 
[2026-07-07 18:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 18:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557698816001,"66":13189,"167":206,"85":15104,"24":38,"16":103492764620029952,"45":9175310209605255168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-07 18:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557698816001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:19:01] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 18:19:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103492764620029952,"km_value":103492764620029.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9175310209605255168,"description":"Unknown IO ID 45"} 
[2026-07-07 18:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557698816001,"power":13189,"unknown_167":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9175310209605255168}} 
[2026-07-07 18:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":126722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:19:01] local.INFO: GPS data processed {"connection_id":126722,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:19:01] local.INFO: Acknowledgment sent {"connection_id":126722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:19:03] local.INFO: TCP Data received {"connection_id":125471,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:19:03] local.INFO: Processing buffer {"connection_id":125471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:19:03] local.INFO: IMEI packet received {"connection_id":125471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":125471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:19:04] local.INFO: TCP Data received {"connection_id":125471,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:19:04] local.INFO: Processing buffer {"connection_id":125471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:19:04] local.INFO: Packet analysis {"connection_id":125471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9c"} 
[2026-07-07 18:19:04] local.INFO: Extracted packet for processing {"connection_id":125471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9c"} 
[2026-07-07 18:19:04] local.INFO: GPS Element Parsed {"raw_longitude":768066880,"raw_latitude":86919992,"longitude_deg":76.806688,"latitude_deg":8.6919992,"altitude":23,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2dc7c540","hex_latitude":"052e4b38","is_valid_coordinates":true} 
[2026-07-07 18:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557588992001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783428309000,"timestamp_ms":1783428309000,"timestamp_seconds":1783428309,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9c6008"} 
[2026-07-07 18:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 18:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557588992001,"66":25615,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557588992001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:19:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:19:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557588992001,"power":25615,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":125471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:19:04] local.INFO: GPS data processed {"connection_id":125471,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:19:04] local.INFO: Acknowledgment sent {"connection_id":125471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:19:09] local.INFO: TCP Data received {"connection_id":126723,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9ea9f8012d181f800721a6e8004a008f29..."} 
[2026-07-07 18:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9ea9f8012d181f800721a6e8004a008f29..."} 
[2026-07-07 18:19:09] local.INFO: Processing buffer {"connection_id":126723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9ea9f8012d181f800721a6e8004a008f29..."} 
[2026-07-07 18:19:09] local.INFO: Packet analysis {"connection_id":126723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9e"} 
[2026-07-07 18:19:09] local.INFO: Extracted packet for processing {"connection_id":126723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9e"} 
[2026-07-07 18:19:09] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645928,"longitude_deg":75.6555648,"latitude_deg":11.9645928,"altitude":74,"angle":143,"satellites":41,"speed":7,"hex_longitude":"2d181f80","hex_latitude":"0721a6e8","is_valid_coordinates":true} 
[2026-07-07 18:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557685248001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4751676938387456,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561874944,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783428459000,"timestamp_ms":1783428459000,"timestamp_seconds":1783428459,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9ea9f8"} 
[2026-07-07 18:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 18:19: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-07-07 18:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557685248001,"66":14374,"120":206,"28":31744,"24":7,"16":4751676938387456,"45":1738178380561874944},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557685248001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:19:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:19:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4751676938387456,"km_value":4751676938387.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561874944,"description":"Unknown IO ID 45"} 
[2026-07-07 18:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557685248001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1738178380561874944}} 
[2026-07-07 18:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":126723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:19:09] local.INFO: GPS data processed {"connection_id":126723,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:19:09] local.INFO: Acknowledgment sent {"connection_id":126723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:19:26] local.INFO: TCP Data received {"connection_id":125472,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:19:26] local.INFO: Processing buffer {"connection_id":125472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:19:26] local.INFO: IMEI packet received {"connection_id":125472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":125472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:19:31] local.INFO: TCP Data received {"connection_id":125472,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:19:31] local.INFO: Processing buffer {"connection_id":125472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:19:31] local.INFO: IMEI packet received {"connection_id":125472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":125472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:19:34] local.INFO: TCP Data received {"connection_id":124668,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:19:34] local.INFO: Processing buffer {"connection_id":124668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:19:34] local.INFO: IMEI packet received {"connection_id":124668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":124668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:19:35] local.INFO: TCP Data received {"connection_id":124668,"ip":"117.225.141.88","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 18:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124668,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 18:19:35] local.INFO: Processing buffer {"connection_id":124668,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 18:19:35] local.INFO: IMEI packet received {"connection_id":124668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":124668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:19:36] local.INFO: TCP Data received {"connection_id":125472,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9f9c28012d7f37c005d37320000500da2d..."} 
[2026-07-07 18:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9f9c28012d7f37c005d37320000500da2d..."} 
[2026-07-07 18:19:36] local.INFO: Processing buffer {"connection_id":125472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9f9c28012d7f37c005d37320000500da2d..."} 
[2026-07-07 18:19:36] local.INFO: Packet analysis {"connection_id":125472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9f"} 
[2026-07-07 18:19:36] local.INFO: Extracted packet for processing {"connection_id":125472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9f"} 
[2026-07-07 18:19:36] local.INFO: GPS Element Parsed {"raw_longitude":763312064,"raw_latitude":97743648,"longitude_deg":76.3312064,"latitude_deg":9.7743648,"altitude":5,"angle":218,"satellites":45,"speed":36,"hex_longitude":"2d7f37c0","hex_latitude":"05d37320","is_valid_coordinates":true} 
[2026-07-07 18:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557700608001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103492902058983424,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9169258497605023744,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783428521000,"timestamp_ms":1783428521000,"timestamp_seconds":1783428521,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9f9c28"} 
[2026-07-07 18:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 18:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:19: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-07-07 18:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557700608001,"66":13243,"167":206,"85":15104,"24":36,"16":103492902058983424,"45":9169258497605023744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-07 18:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557700608001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:19:36] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 18:19:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103492902058983424,"km_value":103492902058983.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9169258497605023744,"description":"Unknown IO ID 45"} 
[2026-07-07 18:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557700608001,"power":13243,"unknown_167":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9169258497605023744}} 
[2026-07-07 18:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":125472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:19:36] local.INFO: GPS data processed {"connection_id":125472,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:19:36] local.INFO: Acknowledgment sent {"connection_id":125472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:19:37] local.INFO: TCP Data received {"connection_id":124668,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:19:37] local.INFO: Processing buffer {"connection_id":124668,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-07 18:19:37] local.INFO: IMEI packet received {"connection_id":124668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":124668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:19:38] local.INFO: TCP Data received {"connection_id":124668,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9eade0012d1820000721a660004a008129..."} 
[2026-07-07 18:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9eade0012d1820000721a660004a008129..."} 
[2026-07-07 18:19:38] local.INFO: Processing buffer {"connection_id":124668,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f3c..."} 
[2026-07-07 18:19:38] local.INFO: IMEI packet received {"connection_id":124668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":124668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:19:38] local.INFO: TCP Data received {"connection_id":124761,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:19:38] local.INFO: Processing buffer {"connection_id":124761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:19:38] local.INFO: IMEI packet received {"connection_id":124761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":124761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:19:39] local.INFO: TCP Data received {"connection_id":124668,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9ef048012d1832c0072197d0004d007429..."} 
[2026-07-07 18:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9ef048012d1832c0072197d0004d007429..."} 
[2026-07-07 18:19:39] local.INFO: Processing buffer {"connection_id":124668,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3c9eade0012d1820000721a660004a008129..."} 
[2026-07-07 18:19:39] local.INFO: Packet analysis {"connection_id":124668,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3c9e"} 
[2026-07-07 18:19:39] local.INFO: Extracted packet for processing {"connection_id":124668,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9e"} 
[2026-07-07 18:19:39] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119645792,"longitude_deg":75.6555776,"latitude_deg":11.9645792,"altitude":74,"angle":129,"satellites":41,"speed":8,"hex_longitude":"2d182000","hex_latitude":"0721a660","is_valid_coordinates":true} 
[2026-07-07 18:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557685504001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4751685528322048,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306013696,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783428460000,"timestamp_ms":1783428460000,"timestamp_seconds":1783428460,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9eade0"} 
[2026-07-07 18:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 18:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557685504001,"66":14341,"120":206,"28":31744,"24":8,"16":4751685528322048,"45":1738248749306013696},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557685504001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:19:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:19:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4751685528322048,"km_value":4751685528322.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306013696,"description":"Unknown IO ID 45"} 
[2026-07-07 18:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557685504001,"power":14341,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1738248749306013696}} 
[2026-07-07 18:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":124668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:19:39] local.INFO: GPS data processed {"connection_id":124668,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:19:39] local.INFO: Acknowledgment sent {"connection_id":124668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:19:39] local.INFO: Packet analysis {"connection_id":124668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9e"} 
[2026-07-07 18:19:39] local.INFO: Extracted packet for processing {"connection_id":124668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9e"} 
[2026-07-07 18:19:39] local.INFO: GPS Element Parsed {"raw_longitude":756560576,"raw_latitude":119642064,"longitude_deg":75.6560576,"latitude_deg":11.9642064,"altitude":77,"angle":116,"satellites":41,"speed":18,"hex_longitude":"2d1832c0","hex_latitude":"072197d0","is_valid_coordinates":true} 
[2026-07-07 18:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557685760001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4751981881065472,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794334208,"note":"Value kept but may cause issues"} 
[2026-07-07 18: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-07-07 18:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783428477000,"timestamp_ms":1783428477000,"timestamp_seconds":1783428477,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9ef048"} 
[2026-07-07 18:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 18:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6966517308,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:39] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503672130174976,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3784835072,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:39] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2617245696,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:39] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2834825291,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:39] local.WARNING: Large IO value detected {"io_id":60,"raw_value":2661171201,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-07 18:19:39] local.WARNING: Large IO value detected {"io_id":152,"raw_value":84750515183231410,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:39] local.WARNING: Large IO value detected {"io_id":96,"raw_value":20829900617285632,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:39] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,120,28,24,241,158,16,225,159,169,45,128,166,74,41,10,66,64,167,162,192,1,240,33,60,4,113,205,7,154,31,184,44,239,56,2,75,206,152,96],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-07 18:19:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332403971900833792,"timestamp_seconds":5332403971900834.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 18:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557685760001,"66":14363,"121":206,"28":31744,"24":18,"16":4751981881065472,"45":1738389486794334208},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557685760001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:19:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:19:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4751981881065472,"km_value":4751981881065.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794334208,"description":"Unknown IO ID 45"} 
[2026-07-07 18:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557685760001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1738389486794334208}} 
[2026-07-07 18:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":124668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:19:39] local.INFO: GPS data processed {"connection_id":124668,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:19:39] local.INFO: Acknowledgment sent {"connection_id":124668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:19:40] local.INFO: TCP Data received {"connection_id":124668,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9f32b0012d185500072188d80050007528..."} 
[2026-07-07 18:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9f32b0012d185500072188d80050007528..."} 
[2026-07-07 18:19:40] local.INFO: Processing buffer {"connection_id":124668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9f32b0012d185500072188d80050007528..."} 
[2026-07-07 18:19:40] local.INFO: Packet analysis {"connection_id":124668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9f"} 
[2026-07-07 18:19:40] local.INFO: Extracted packet for processing {"connection_id":124668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9f"} 
[2026-07-07 18:19:40] local.INFO: GPS Element Parsed {"raw_longitude":756569344,"raw_latitude":119638232,"longitude_deg":75.6569344,"latitude_deg":11.9638232,"altitude":80,"angle":117,"satellites":40,"speed":31,"hex_longitude":"2d185500","hex_latitude":"072188d8","is_valid_coordinates":true} 
[2026-07-07 18:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557690112001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4752437147598848,"note":"Value kept but may cause issues"} 
[2026-07-07 18:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743667142606704640,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 18:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783428494000,"timestamp_ms":1783428494000,"timestamp_seconds":1783428494,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9f32b0"} 
[2026-07-07 18:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-07 18:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557690112001,"66":14428,"121":206,"28":31744,"24":31,"16":4752437147598848,"45":1743667142606704640},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557690112001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:19:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:19:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4752437147598848,"km_value":4752437147598.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743667142606704640,"description":"Unknown IO ID 45"} 
[2026-07-07 18:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557690112001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1743667142606704640}} 
[2026-07-07 18:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":124668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:19:40] local.INFO: GPS data processed {"connection_id":124668,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:19:40] local.INFO: Acknowledgment sent {"connection_id":124668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:20:08] local.INFO: TCP Data received {"connection_id":124669,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:20:08] local.INFO: Processing buffer {"connection_id":124669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:20:08] local.INFO: IMEI packet received {"connection_id":124669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":124669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:20:12] local.INFO: TCP Data received {"connection_id":124668,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca02cb0012d18d2c007211aa8004000812c..."} 
[2026-07-07 18:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca02cb0012d18d2c007211aa8004000812c..."} 
[2026-07-07 18:20:12] local.INFO: Processing buffer {"connection_id":124668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca02cb0012d18d2c007211aa8004000812c..."} 
[2026-07-07 18:20:12] local.INFO: Packet analysis {"connection_id":124668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:20:12] local.INFO: Extracted packet for processing {"connection_id":124668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:20:12] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119610024,"longitude_deg":75.6601536,"latitude_deg":11.9610024,"altitude":64,"angle":129,"satellites":44,"speed":8,"hex_longitude":"2d18d2c0","hex_latitude":"07211aa8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557710592001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4754769314840576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128070656,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 18:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783428558000,"timestamp_ms":1783428558000,"timestamp_seconds":1783428558,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca02cb0"} 
[2026-07-07 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-07-07 18:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 18:20: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-07-07 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-07-07 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-07-07 18:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557710592001,"66":14048,"121":206,"28":31744,"24":8,"16":4754769314840576,"45":1788632770128070656},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557710592001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:20:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:20:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4754769314840576,"km_value":4754769314840.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128070656,"description":"Unknown IO ID 45"} 
[2026-07-07 18:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557710592001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1788632770128070656}} 
[2026-07-07 18:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":124668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:20:12] local.INFO: GPS data processed {"connection_id":124668,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:20:12] local.INFO: Acknowledgment sent {"connection_id":124668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:20:13] local.INFO: TCP Data received {"connection_id":124669,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:20:13] local.INFO: Processing buffer {"connection_id":124669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:20:13] local.INFO: IMEI packet received {"connection_id":124669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":124669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:20:14] local.INFO: TCP Data received {"connection_id":124669,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:20:14] local.INFO: Processing buffer {"connection_id":124669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9c6008012dc7c540052e4b380017004e2c..."} 
[2026-07-07 18:20:14] local.INFO: Packet analysis {"connection_id":124669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9c"} 
[2026-07-07 18:20:14] local.INFO: Extracted packet for processing {"connection_id":124669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9c"} 
[2026-07-07 18:20:14] local.INFO: GPS Element Parsed {"raw_longitude":768066880,"raw_latitude":86919992,"longitude_deg":76.806688,"latitude_deg":8.6919992,"altitude":23,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2dc7c540","hex_latitude":"052e4b38","is_valid_coordinates":true} 
[2026-07-07 18:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557588992001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052395217451802624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783428309000,"timestamp_ms":1783428309000,"timestamp_seconds":1783428309,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9c6008"} 
[2026-07-07 18:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18: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-07-07 18:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 18:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:20: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-07-07 18:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557588992001,"66":25615,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052395217451802624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557588992001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:20:14] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:20:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052395217451802624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557588992001,"power":25615,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052395217451802624}} 
[2026-07-07 18:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":124669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:20:14] local.INFO: GPS data processed {"connection_id":124669,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:20:14] local.INFO: Acknowledgment sent {"connection_id":124669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:20:18] local.INFO: TCP Data received {"connection_id":125472,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9fcb08012d7f254005d35560000400d02e..."} 
[2026-07-07 18:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9fcb08012d7f254005d35560000400d02e..."} 
[2026-07-07 18:20:18] local.INFO: Processing buffer {"connection_id":125472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9fcb08012d7f254005d35560000400d02e..."} 
[2026-07-07 18:20:18] local.INFO: Packet analysis {"connection_id":125472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9f"} 
[2026-07-07 18:20:18] local.INFO: Extracted packet for processing {"connection_id":125472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9f"} 
[2026-07-07 18:20:18] local.INFO: GPS Element Parsed {"raw_longitude":763307328,"raw_latitude":97736032,"longitude_deg":76.3307328,"latitude_deg":9.7736032,"altitude":4,"angle":208,"satellites":46,"speed":25,"hex_longitude":"2d7f2540","hex_latitude":"05d35560","is_valid_coordinates":true} 
[2026-07-07 18:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557701376001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103493335850680320,"note":"Value kept but may cause issues"} 
[2026-07-07 18:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167006697790840832,"note":"Value kept but may cause issues"} 
[2026-07-07 18:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783428533000,"timestamp_ms":1783428533000,"timestamp_seconds":1783428533,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9fcb08"} 
[2026-07-07 18:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:20: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-07-07 18:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 18:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":125472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":125472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":125472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557701376001,"66":13276,"167":206,"85":15104,"24":25,"16":103493335850680320,"45":9167006697790840832},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-07 18:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557701376001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:20:18] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 18:20:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103493335850680320,"km_value":103493335850680.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167006697790840832,"description":"Unknown IO ID 45"} 
[2026-07-07 18:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557701376001,"power":13276,"unknown_167":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9167006697790840832}} 
[2026-07-07 18:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":125472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:20:18] local.INFO: GPS data processed {"connection_id":125472,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:20:18] local.INFO: Acknowledgment sent {"connection_id":125472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:20:29] local.INFO: TCP Data received {"connection_id":124762,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:20:29] local.INFO: Processing buffer {"connection_id":124762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:20:29] local.INFO: IMEI packet received {"connection_id":124762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":124762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:20:31] local.INFO: TCP Data received {"connection_id":124762,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:20:31] local.INFO: Processing buffer {"connection_id":124762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:20:31] local.INFO: IMEI packet received {"connection_id":124762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":124762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:20:33] local.INFO: TCP Data received {"connection_id":124763,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:20:33] local.INFO: Processing buffer {"connection_id":124763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:20:33] local.INFO: IMEI packet received {"connection_id":124763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":124763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:20:36] local.INFO: TCP Data received {"connection_id":124762,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:20:36] local.INFO: Processing buffer {"connection_id":124762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:20:36] local.INFO: IMEI packet received {"connection_id":124762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":124762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:20:37] local.INFO: TCP Data received {"connection_id":124762,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3c9fea48012d7f158005d33f48000600dc2d..."} 
[2026-07-07 18:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3c9fea48012d7f158005d33f48000600dc2d..."} 
[2026-07-07 18:20:37] local.INFO: Processing buffer {"connection_id":124762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3c9fea48012d7f158005d33f48000600dc2d..."} 
[2026-07-07 18:20:37] local.INFO: Packet analysis {"connection_id":124762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3c9f"} 
[2026-07-07 18:20:37] local.INFO: Extracted packet for processing {"connection_id":124762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3c9f"} 
[2026-07-07 18:20:37] local.INFO: GPS Element Parsed {"raw_longitude":763303296,"raw_latitude":97730376,"longitude_deg":76.3303296,"latitude_deg":9.7730376,"altitude":6,"angle":220,"satellites":45,"speed":38,"hex_longitude":"2d7f1580","hex_latitude":"05d33f48","is_valid_coordinates":true} 
[2026-07-07 18:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557704448001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103493670858129408,"note":"Value kept but may cause issues"} 
[2026-07-07 18:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161799410719744000,"note":"Value kept but may cause issues"} 
[2026-07-07 18:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783428541000,"timestamp_ms":1783428541000,"timestamp_seconds":1783428541,"priority":1,"record_length":96,"hex_timestamp":"0000019f3c9fea48"} 
[2026-07-07 18:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:20: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-07-07 18:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 18:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:20: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-07-07 18:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557704448001,"66":13048,"167":206,"85":15104,"24":38,"16":103493670858129408,"45":9161799410719744000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-07 18:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557704448001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:20:37] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 18:20:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103493670858129408,"km_value":103493670858129.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161799410719744000,"description":"Unknown IO ID 45"} 
[2026-07-07 18:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557704448001,"power":13048,"unknown_167":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9161799410719744000}} 
[2026-07-07 18:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":124762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447015,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:20:37] local.INFO: GPS data processed {"connection_id":124762,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:20:37] local.INFO: Acknowledgment sent {"connection_id":124762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:20:39] local.INFO: TCP Data received {"connection_id":124763,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:20:39] local.INFO: Processing buffer {"connection_id":124763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:20:39] local.INFO: IMEI packet received {"connection_id":124763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":124763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:20:40] local.INFO: TCP Data received {"connection_id":124763,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca03098012d18d3c007211a480040006e29..."} 
[2026-07-07 18:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca03098012d18d3c007211a480040006e29..."} 
[2026-07-07 18:20:40] local.INFO: Processing buffer {"connection_id":124763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca03098012d18d3c007211a480040006e29..."} 
[2026-07-07 18:20:40] local.INFO: Packet analysis {"connection_id":124763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:20:40] local.INFO: Extracted packet for processing {"connection_id":124763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:20:40] local.INFO: GPS Element Parsed {"raw_longitude":756601792,"raw_latitude":119609928,"longitude_deg":75.6601792,"latitude_deg":11.9609928,"altitude":64,"angle":110,"satellites":41,"speed":9,"hex_longitude":"2d18d3c0","hex_latitude":"07211a48","is_valid_coordinates":true} 
[2026-07-07 18:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557710848001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4754782199742464,"note":"Value kept but may cause issues"} 
[2026-07-07 18:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138872207360,"note":"Value kept but may cause issues"} 
[2026-07-07 18:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783428559000,"timestamp_ms":1783428559000,"timestamp_seconds":1783428559,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca03098"} 
[2026-07-07 18:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 18:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557710848001,"66":13993,"121":206,"28":31744,"24":9,"16":4754782199742464,"45":1788703138872207360},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557710848001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:20:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:20:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4754782199742464,"km_value":4754782199742.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138872207360,"description":"Unknown IO ID 45"} 
[2026-07-07 18:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557710848001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1788703138872207360}} 
[2026-07-07 18:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":124763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:20:40] local.INFO: GPS data processed {"connection_id":124763,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:20:40] local.INFO: Acknowledgment sent {"connection_id":124763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:20:58] local.INFO: TCP Data received {"connection_id":124764,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:20:58] local.INFO: Processing buffer {"connection_id":124764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:20:58] local.INFO: IMEI packet received {"connection_id":124764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":124764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:21:03] local.INFO: TCP Data received {"connection_id":124764,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:21:03] local.INFO: Processing buffer {"connection_id":124764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:21:03] local.INFO: IMEI packet received {"connection_id":124764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":124764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:21:04] local.INFO: TCP Data received {"connection_id":124764,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:21:04] local.INFO: Processing buffer {"connection_id":124764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:21:04] local.INFO: Packet analysis {"connection_id":124764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:21:04] local.INFO: Extracted packet for processing {"connection_id":124764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:21:04] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557647104001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4051761898754197504,"note":"Value kept but may cause issues"} 
[2026-07-07 18:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783428610000,"timestamp_ms":1783428610000,"timestamp_seconds":1783428610,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca0f7d0"} 
[2026-07-07 18:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 18:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557647104001,"66":25625,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4051761898754197504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557647104001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:21:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:21:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4051761898754197504,"description":"Unknown IO ID 45"} 
[2026-07-07 18:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557647104001,"power":25625,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4051761898754197504}} 
[2026-07-07 18:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":124764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:21:04] local.INFO: GPS data processed {"connection_id":124764,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:21:04] local.INFO: Acknowledgment sent {"connection_id":124764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:21:08] local.INFO: TCP Data received {"connection_id":124762,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca18088012d7e8bc005d30b98000600f52b..."} 
[2026-07-07 18:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca18088012d7e8bc005d30b98000600f52b..."} 
[2026-07-07 18:21:08] local.INFO: Processing buffer {"connection_id":124762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca18088012d7e8bc005d30b98000600f52b..."} 
[2026-07-07 18:21:08] local.INFO: Packet analysis {"connection_id":124762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca1"} 
[2026-07-07 18:21:08] local.INFO: Extracted packet for processing {"connection_id":124762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca1"} 
[2026-07-07 18:21:08] local.INFO: GPS Element Parsed {"raw_longitude":763268032,"raw_latitude":97717144,"longitude_deg":76.3268032,"latitude_deg":9.7717144,"altitude":6,"angle":245,"satellites":43,"speed":7,"hex_longitude":"2d7e8bc0","hex_latitude":"05d30b98","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557730560001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103495530578968576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121829964022534144,"note":"Value kept but may cause issues"} 
[2026-07-07 18:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783428645000,"timestamp_ms":1783428645000,"timestamp_seconds":1783428645,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca18088"} 
[2026-07-07 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-07-07 18:21: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-07-07 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-07 18:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 18:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:21: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-07-07 18:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557730560001,"66":13222,"109":206,"85":15104,"24":7,"16":103495530578968576,"45":9121829964022534144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557730560001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:21:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:21:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103495530578968576,"km_value":103495530578968.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121829964022534144,"description":"Unknown IO ID 45"} 
[2026-07-07 18:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557730560001,"power":13222,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9121829964022534144}} 
[2026-07-07 18:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":124762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:21:08] local.INFO: GPS data processed {"connection_id":124762,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:21:08] local.INFO: Acknowledgment sent {"connection_id":124762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:21:12] local.INFO: TCP Data received {"connection_id":124763,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca03480012d18d4c007211a20004000602b..."} 
[2026-07-07 18:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca03480012d18d4c007211a20004000602b..."} 
[2026-07-07 18:21:12] local.INFO: Processing buffer {"connection_id":124763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca03480012d18d4c007211a20004000602b..."} 
[2026-07-07 18:21:12] local.INFO: Packet analysis {"connection_id":124763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:21:12] local.INFO: Extracted packet for processing {"connection_id":124763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:21:12] local.INFO: GPS Element Parsed {"raw_longitude":756602048,"raw_latitude":119609888,"longitude_deg":75.6602048,"latitude_deg":11.9609888,"altitude":64,"angle":96,"satellites":43,"speed":8,"hex_longitude":"2d18d4c0","hex_latitude":"07211a20","is_valid_coordinates":true} 
[2026-07-07 18:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557711104001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4754790789677056,"note":"Value kept but may cause issues"} 
[2026-07-07 18:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788984613848893440,"note":"Value kept but may cause issues"} 
[2026-07-07 18:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783428560000,"timestamp_ms":1783428560000,"timestamp_seconds":1783428560,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca03480"} 
[2026-07-07 18:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-07 18:21: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-07-07 18:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557711104001,"66":13993,"121":206,"28":31744,"24":8,"16":4754790789677056,"45":1788984613848893440},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557711104001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:21:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:21:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4754790789677056,"km_value":4754790789677.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788984613848893440,"description":"Unknown IO ID 45"} 
[2026-07-07 18:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557711104001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1788984613848893440}} 
[2026-07-07 18:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":124763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:21:12] local.INFO: GPS data processed {"connection_id":124763,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:21:12] local.INFO: Acknowledgment sent {"connection_id":124763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:21:26] local.INFO: TCP Data received {"connection_id":126725,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:21:26] local.INFO: Processing buffer {"connection_id":126725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:21:26] local.INFO: IMEI packet received {"connection_id":126725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":126725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:21:31] local.INFO: TCP Data received {"connection_id":126725,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:21:31] local.INFO: Processing buffer {"connection_id":126725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:21:31] local.INFO: IMEI packet received {"connection_id":126725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":126725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:21:32] local.INFO: TCP Data received {"connection_id":126725,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca1a3b0012d7e7a4005d30578000601012c..."} 
[2026-07-07 18:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca1a3b0012d7e7a4005d30578000601012c..."} 
[2026-07-07 18:21:32] local.INFO: Processing buffer {"connection_id":126725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca1a3b0012d7e7a4005d30578000601012c..."} 
[2026-07-07 18:21:32] local.INFO: Packet analysis {"connection_id":126725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca1"} 
[2026-07-07 18:21:32] local.INFO: Extracted packet for processing {"connection_id":126725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca1"} 
[2026-07-07 18:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763263552,"raw_latitude":97715576,"longitude_deg":76.3263552,"latitude_deg":9.7715576,"altitude":6,"angle":257,"satellites":44,"speed":24,"hex_longitude":"2d7e7a40","hex_latitude":"05d30578","is_valid_coordinates":true} 
[2026-07-07 18:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557733120001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103495758212235264,"note":"Value kept but may cause issues"} 
[2026-07-07 18:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9118593001789822976,"note":"Value kept but may cause issues"} 
[2026-07-07 18:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783428654000,"timestamp_ms":1783428654000,"timestamp_seconds":1783428654,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca1a3b0"} 
[2026-07-07 18:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 18:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557733120001,"66":13091,"109":206,"85":15104,"24":24,"16":103495758212235264,"45":9118593001789822976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557733120001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:21:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103495758212235264,"km_value":103495758212235.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9118593001789822976,"description":"Unknown IO ID 45"} 
[2026-07-07 18:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557733120001,"power":13091,"unknown_109":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9118593001789822976}} 
[2026-07-07 18:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":126725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:21:32] local.INFO: GPS data processed {"connection_id":126725,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:21:32] local.INFO: Acknowledgment sent {"connection_id":126725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:21:33] local.INFO: TCP Data received {"connection_id":125474,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:21:33] local.INFO: Processing buffer {"connection_id":125474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:21:33] local.INFO: IMEI packet received {"connection_id":125474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":125474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:21:35] local.INFO: TCP Data received {"connection_id":124764,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:21:35] local.INFO: Processing buffer {"connection_id":124764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:21:35] local.INFO: Packet analysis {"connection_id":124764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:21:35] local.INFO: Extracted packet for processing {"connection_id":124764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:21:35] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 18:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557647104001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4051761898754197504,"note":"Value kept but may cause issues"} 
[2026-07-07 18:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783428610000,"timestamp_ms":1783428610000,"timestamp_seconds":1783428610,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca0f7d0"} 
[2026-07-07 18:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 18:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557647104001,"66":25625,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4051761898754197504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557647104001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:21:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:21:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4051761898754197504,"description":"Unknown IO ID 45"} 
[2026-07-07 18:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557647104001,"power":25625,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4051761898754197504}} 
[2026-07-07 18:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":124764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:21:35] local.INFO: GPS data processed {"connection_id":124764,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:21:35] local.INFO: Acknowledgment sent {"connection_id":124764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:21:38] local.INFO: TCP Data received {"connection_id":125474,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:21:38] local.INFO: Processing buffer {"connection_id":125474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:21:38] local.INFO: IMEI packet received {"connection_id":125474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":125474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:21:39] local.INFO: TCP Data received {"connection_id":125474,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca08688012d18ec4007211a48003f006122..."} 
[2026-07-07 18:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca08688012d18ec4007211a48003f006122..."} 
[2026-07-07 18:21:39] local.INFO: Processing buffer {"connection_id":125474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca08688012d18ec4007211a48003f006122..."} 
[2026-07-07 18:21:39] local.INFO: Packet analysis {"connection_id":125474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:21:39] local.INFO: Extracted packet for processing {"connection_id":125474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:21:39] local.INFO: GPS Element Parsed {"raw_longitude":756608064,"raw_latitude":119609928,"longitude_deg":75.6608064,"latitude_deg":11.9609928,"altitude":63,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d18ec40","hex_latitude":"07211a48","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557711360001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4755078552485888,"note":"Value kept but may cause issues"} 
[2026-07-07 18:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789266088825593856,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 18:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783428581000,"timestamp_ms":1783428581000,"timestamp_seconds":1783428581,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca08688"} 
[2026-07-07 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-07-07 18:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-07 18:21: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-07-07 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-07-07 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-07-07 18:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557711360001,"66":14102,"121":206,"28":31744,"24":0,"16":4755078552485888,"45":1789266088825593856},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557711360001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:21:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:21:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4755078552485888,"km_value":4755078552485.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789266088825593856,"description":"Unknown IO ID 45"} 
[2026-07-07 18:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557711360001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789266088825593856}} 
[2026-07-07 18:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":125474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:21:40] local.INFO: GPS data processed {"connection_id":125474,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:21:40] local.INFO: Acknowledgment sent {"connection_id":125474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:21:58] local.INFO: TCP Data received {"connection_id":124670,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:21:58] local.INFO: Processing buffer {"connection_id":124670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:21:58] local.INFO: IMEI packet received {"connection_id":124670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":124670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:22:03] local.INFO: TCP Data received {"connection_id":126725,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca1c6d8012d7e680005d302f00007010f2e..."} 
[2026-07-07 18:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca1c6d8012d7e680005d302f00007010f2e..."} 
[2026-07-07 18:22:03] local.INFO: Processing buffer {"connection_id":126725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca1c6d8012d7e680005d302f00007010f2e..."} 
[2026-07-07 18:22:03] local.INFO: Packet analysis {"connection_id":126725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca1"} 
[2026-07-07 18:22:03] local.INFO: Extracted packet for processing {"connection_id":126725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca1"} 
[2026-07-07 18:22:03] local.INFO: GPS Element Parsed {"raw_longitude":763258880,"raw_latitude":97714928,"longitude_deg":76.325888,"latitude_deg":9.7714928,"altitude":7,"angle":271,"satellites":46,"speed":9,"hex_longitude":"2d7e6800","hex_latitude":"05d302f0","is_valid_coordinates":true} 
[2026-07-07 18:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557735424001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103495981550534656,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9113667189696985088,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783428663000,"timestamp_ms":1783428663000,"timestamp_seconds":1783428663,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca1c6d8"} 
[2026-07-07 18:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:22: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-07-07 18:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 18:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:22: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-07-07 18:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557735424001,"66":12385,"109":206,"85":15104,"24":9,"16":103495981550534656,"45":9113667189696985088},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557735424001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:22:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:22:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103495981550534656,"km_value":103495981550534.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9113667189696985088,"description":"Unknown IO ID 45"} 
[2026-07-07 18:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557735424001,"power":12385,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9113667189696985088}} 
[2026-07-07 18:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":126725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:22:03] local.INFO: GPS data processed {"connection_id":126725,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:22:03] local.INFO: Acknowledgment sent {"connection_id":126725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:22:03] local.INFO: TCP Data received {"connection_id":124670,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:22:03] local.INFO: Processing buffer {"connection_id":124670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:22:03] local.INFO: IMEI packet received {"connection_id":124670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":124670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:22:04] local.INFO: TCP Data received {"connection_id":124670,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:22:04] local.INFO: Processing buffer {"connection_id":124670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:22:04] local.INFO: Packet analysis {"connection_id":124670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:22:04] local.INFO: Extracted packet for processing {"connection_id":124670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:22:04] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 18:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557647104001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4051761898754197504,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783428610000,"timestamp_ms":1783428610000,"timestamp_seconds":1783428610,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca0f7d0"} 
[2026-07-07 18:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 18:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557647104001,"66":25625,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4051761898754197504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557647104001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:22:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:22:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4051761898754197504,"description":"Unknown IO ID 45"} 
[2026-07-07 18:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557647104001,"power":25625,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4051761898754197504}} 
[2026-07-07 18:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":124670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:22:04] local.INFO: GPS data processed {"connection_id":124670,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:22:04] local.INFO: Acknowledgment sent {"connection_id":124670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:22:11] local.INFO: TCP Data received {"connection_id":125474,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca218e0012d18ee0007211a08004401122c..."} 
[2026-07-07 18:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca218e0012d18ee0007211a08004401122c..."} 
[2026-07-07 18:22:11] local.INFO: Processing buffer {"connection_id":125474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca218e0012d18ee0007211a08004401122c..."} 
[2026-07-07 18:22:11] local.INFO: Packet analysis {"connection_id":125474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:22:11] local.INFO: Extracted packet for processing {"connection_id":125474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:22:11] local.INFO: GPS Element Parsed {"raw_longitude":756608512,"raw_latitude":119609864,"longitude_deg":75.6608512,"latitude_deg":11.9609864,"altitude":68,"angle":274,"satellites":44,"speed":3,"hex_longitude":"2d18ee00","hex_latitude":"07211a08","is_valid_coordinates":true} 
[2026-07-07 18:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557741568001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4755168746799104,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796584438220056576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783428684000,"timestamp_ms":1783428684000,"timestamp_seconds":1783428684,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca218e0"} 
[2026-07-07 18:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-07 18:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557741568001,"66":14048,"121":206,"28":31744,"24":3,"16":4755168746799104,"45":1796584438220056576},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557741568001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:22:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:22:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4755168746799104,"km_value":4755168746799.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796584438220056576,"description":"Unknown IO ID 45"} 
[2026-07-07 18:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557741568001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1796584438220056576}} 
[2026-07-07 18:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":125474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:22:11] local.INFO: GPS data processed {"connection_id":125474,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:22:11] local.INFO: Acknowledgment sent {"connection_id":125474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:22:25] local.INFO: TCP Data received {"connection_id":126726,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:22:26] local.INFO: Processing buffer {"connection_id":126726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:22:26] local.INFO: IMEI packet received {"connection_id":126726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":126726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:22:26] local.INFO: TCP Data received {"connection_id":126726,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 18:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126726,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 18:22:26] local.INFO: Processing buffer {"connection_id":126726,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 18:22:26] local.INFO: IMEI packet received {"connection_id":126726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":126726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:22:31] local.INFO: TCP Data received {"connection_id":126726,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:22:31] local.INFO: Processing buffer {"connection_id":126726,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-07 18:22:31] local.INFO: IMEI packet received {"connection_id":126726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":126726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:22:32] local.INFO: TCP Data received {"connection_id":126726,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca2cc90012d7e3c8005d357a80008010a2e..."} 
[2026-07-07 18:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca2cc90012d7e3c8005d357a80008010a2e..."} 
[2026-07-07 18:22:32] local.INFO: Processing buffer {"connection_id":126726,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f3c..."} 
[2026-07-07 18:22:32] local.INFO: IMEI packet received {"connection_id":126726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":126726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:22:35] local.INFO: TCP Data received {"connection_id":124670,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:22:35] local.INFO: Processing buffer {"connection_id":124670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:22:35] local.INFO: Packet analysis {"connection_id":124670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:22:35] local.INFO: Extracted packet for processing {"connection_id":124670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:22:35] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 18:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557647104001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4051761898754197504,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783428610000,"timestamp_ms":1783428610000,"timestamp_seconds":1783428610,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca0f7d0"} 
[2026-07-07 18:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 18:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557647104001,"66":25625,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4051761898754197504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557647104001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:22:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:22:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4051761898754197504,"description":"Unknown IO ID 45"} 
[2026-07-07 18:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557647104001,"power":25625,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4051761898754197504}} 
[2026-07-07 18:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":124670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:22:35] local.INFO: GPS data processed {"connection_id":124670,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:22:35] local.INFO: Acknowledgment sent {"connection_id":124670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:22:36] local.INFO: TCP Data received {"connection_id":126726,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca2e7e8012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca2e7e8012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:22:36] local.INFO: Processing buffer {"connection_id":126726,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3ca2cc90012d7e3c8005d357a80008010a2e..."} 
[2026-07-07 18:22:36] local.INFO: Packet analysis {"connection_id":126726,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:22:36] local.INFO: Extracted packet for processing {"connection_id":126726,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:22:36] local.INFO: GPS Element Parsed {"raw_longitude":763247744,"raw_latitude":97736616,"longitude_deg":76.3247744,"latitude_deg":9.7736616,"altitude":8,"angle":266,"satellites":46,"speed":8,"hex_longitude":"2d7e3c80","hex_latitude":"05d357a8","is_valid_coordinates":true} 
[2026-07-07 18:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557753856001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103497403184709632,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097412009797275648,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783428730000,"timestamp_ms":1783428730000,"timestamp_seconds":1783428730,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca2cc90"} 
[2026-07-07 18:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 18:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:22: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-07-07 18:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557753856001,"66":12819,"109":206,"85":15104,"24":8,"16":103497403184709632,"45":9097412009797275648},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557753856001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:22:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:22:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103497403184709632,"km_value":103497403184709.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097412009797275648,"description":"Unknown IO ID 45"} 
[2026-07-07 18:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557753856001,"power":12819,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9097412009797275648}} 
[2026-07-07 18:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":126726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:22:36] local.INFO: GPS data processed {"connection_id":126726,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:22:36] local.INFO: Acknowledgment sent {"connection_id":126726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:22:36] local.INFO: Packet analysis {"connection_id":126726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:22:36] local.INFO: Extracted packet for processing {"connection_id":126726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:22:36] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736624,"longitude_deg":76.3247168,"latitude_deg":9.7736624,"altitude":9,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d357b0","is_valid_coordinates":true} 
[2026-07-07 18:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557754880001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103497433249480704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096286109890488320,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783428737000,"timestamp_ms":1783428737000,"timestamp_seconds":1783428737,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca2e7e8"} 
[2026-07-07 18:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505178865336320,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":60,"raw_value":-6746620935161356608,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6989850508769165568,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3221607248,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182255479423232,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2985754624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220777420810266837,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3675163028359269973,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755485340532977,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195156224,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84862926288442156,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2816283808638208,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:36] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,109,85,24,241,157,16,178,159,188,45,128,86,9,46,10,66,64,87,118,1,240,221,227,60,211,4,113,205,19,103,92,192,44,239,51,2,111,5,12,20,52,59,69,56,184],"length":625,"final_offset":755,"validated_count":46,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-07-07 18:22:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576753419965431808,"timestamp_seconds":576753419965431.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 18:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:22: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-07-07 18:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557754880001,"66":12798,"109":206,"85":15104,"24":0,"16":103497433249480704,"45":9096286109890488320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557754880001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:22:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:22:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103497433249480704,"km_value":103497433249480.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096286109890488320,"description":"Unknown IO ID 45"} 
[2026-07-07 18:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557754880001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096286109890488320}} 
[2026-07-07 18:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":126726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:22:36] local.INFO: GPS data processed {"connection_id":126726,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:22:36] local.INFO: Acknowledgment sent {"connection_id":126726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:22:37] local.INFO: TCP Data received {"connection_id":126727,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:22:37] local.INFO: Processing buffer {"connection_id":126727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:22:37] local.INFO: IMEI packet received {"connection_id":126727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":126727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:22:38] local.INFO: TCP Data received {"connection_id":126727,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:22:38] local.INFO: Processing buffer {"connection_id":126727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:22:38] local.INFO: IMEI packet received {"connection_id":126727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":126727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:22:41] local.INFO: TCP Data received {"connection_id":126727,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:22:41] local.INFO: Processing buffer {"connection_id":126727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:22:41] local.INFO: IMEI packet received {"connection_id":126727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":126727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:22:42] local.INFO: TCP Data received {"connection_id":126727,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca21cc8012d18ed80072119e8004401052c..."} 
[2026-07-07 18:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca21cc8012d18ed80072119e8004401052c..."} 
[2026-07-07 18:22:42] local.INFO: Processing buffer {"connection_id":126727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca21cc8012d18ed80072119e8004401052c..."} 
[2026-07-07 18:22:42] local.INFO: Packet analysis {"connection_id":126727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:22:42] local.INFO: Extracted packet for processing {"connection_id":126727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:22:42] local.INFO: GPS Element Parsed {"raw_longitude":756608384,"raw_latitude":119609832,"longitude_deg":75.6608384,"latitude_deg":11.9609832,"altitude":68,"angle":261,"satellites":44,"speed":5,"hex_longitude":"2d18ed80","hex_latitude":"072119e8","is_valid_coordinates":true} 
[2026-07-07 18:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557743104001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4755177336733696,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796373331987531776,"note":"Value kept but may cause issues"} 
[2026-07-07 18: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-07-07 18:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783428685000,"timestamp_ms":1783428685000,"timestamp_seconds":1783428685,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca21cc8"} 
[2026-07-07 18:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:22: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-07-07 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 18:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557743104001,"66":13972,"121":206,"28":31744,"24":5,"16":4755177336733696,"45":1796373331987531776},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557743104001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:22:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:22:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4755177336733696,"km_value":4755177336733.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796373331987531776,"description":"Unknown IO ID 45"} 
[2026-07-07 18:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557743104001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1796373331987531776}} 
[2026-07-07 18:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":126727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:22:42] local.INFO: GPS data processed {"connection_id":126727,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:22:42] local.INFO: Acknowledgment sent {"connection_id":126727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:22:44] local.INFO: TCP Data received {"connection_id":126727,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca23438012d18e700072119e0004401122c..."} 
[2026-07-07 18:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca23438012d18e700072119e0004401122c..."} 
[2026-07-07 18:22:44] local.INFO: Processing buffer {"connection_id":126727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca23438012d18e700072119e0004401122c..."} 
[2026-07-07 18:22:44] local.INFO: Packet analysis {"connection_id":126727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:22:44] local.INFO: Extracted packet for processing {"connection_id":126727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:22:44] local.INFO: GPS Element Parsed {"raw_longitude":756606720,"raw_latitude":119609824,"longitude_deg":75.660672,"latitude_deg":11.9609824,"altitude":68,"angle":274,"satellites":44,"speed":13,"hex_longitude":"2d18e700","hex_latitude":"072119e0","is_valid_coordinates":true} 
[2026-07-07 18:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557743360001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4755250351177728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796232594499168256,"note":"Value kept but may cause issues"} 
[2026-07-07 18: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-07-07 18:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783428691000,"timestamp_ms":1783428691000,"timestamp_seconds":1783428691,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca23438"} 
[2026-07-07 18:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-07 18:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":126727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":126727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":126727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557743360001,"66":14048,"121":206,"28":31744,"24":13,"16":4755250351177728,"45":1796232594499168256},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557743360001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:22:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:22:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4755250351177728,"km_value":4755250351177.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796232594499168256,"description":"Unknown IO ID 45"} 
[2026-07-07 18:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557743360001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1796232594499168256}} 
[2026-07-07 18:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":126727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:22:44] local.INFO: GPS data processed {"connection_id":126727,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:22:44] local.INFO: Acknowledgment sent {"connection_id":126727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:22:58] local.INFO: TCP Data received {"connection_id":124767,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:22:58] local.INFO: Processing buffer {"connection_id":124767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:22:58] local.INFO: IMEI packet received {"connection_id":124767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":124767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:23:03] local.INFO: TCP Data received {"connection_id":124767,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:23:03] local.INFO: Processing buffer {"connection_id":124767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:23:03] local.INFO: IMEI packet received {"connection_id":124767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":124767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:23:04] local.INFO: TCP Data received {"connection_id":124767,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:23:04] local.INFO: Processing buffer {"connection_id":124767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:23:04] local.INFO: Packet analysis {"connection_id":124767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:23:04] local.INFO: Extracted packet for processing {"connection_id":124767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:23:04] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 18:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557647104001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4051761898754197504,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783428610000,"timestamp_ms":1783428610000,"timestamp_seconds":1783428610,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca0f7d0"} 
[2026-07-07 18:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 18:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557647104001,"66":25625,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4051761898754197504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557647104001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:23:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:23:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4051761898754197504,"description":"Unknown IO ID 45"} 
[2026-07-07 18:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557647104001,"power":25625,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4051761898754197504}} 
[2026-07-07 18:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":124767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:23:04] local.INFO: GPS data processed {"connection_id":124767,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:23:04] local.INFO: Acknowledgment sent {"connection_id":124767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:23:07] local.INFO: TCP Data received {"connection_id":126726,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca2e7e8012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca2e7e8012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:23:07] local.INFO: Processing buffer {"connection_id":126726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca2e7e8012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:23:07] local.INFO: Packet analysis {"connection_id":126726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:23:07] local.INFO: Extracted packet for processing {"connection_id":126726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:23:07] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736624,"longitude_deg":76.3247168,"latitude_deg":9.7736624,"altitude":9,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d357b0","is_valid_coordinates":true} 
[2026-07-07 18:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557756672001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103497433249480704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192891392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23: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-07-07 18:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783428737000,"timestamp_ms":1783428737000,"timestamp_seconds":1783428737,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca2e7e8"} 
[2026-07-07 18:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:23:07] 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-07-07 18:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 18:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:23: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-07-07 18:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557756672001,"66":12798,"109":206,"85":15104,"24":0,"16":103497433249480704,"45":9095652791192891392},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557756672001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:23:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:23:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103497433249480704,"km_value":103497433249480.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192891392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557756672001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192891392}} 
[2026-07-07 18:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":126726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:23:07] local.INFO: GPS data processed {"connection_id":126726,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:23:07] local.INFO: Acknowledgment sent {"connection_id":126726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:23:15] local.INFO: TCP Data received {"connection_id":126727,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca26ae8012d18d3c007211a98004601062e..."} 
[2026-07-07 18:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca26ae8012d18d3c007211a98004601062e..."} 
[2026-07-07 18:23:15] local.INFO: Processing buffer {"connection_id":126727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca26ae8012d18d3c007211a98004601062e..."} 
[2026-07-07 18:23:15] local.INFO: Packet analysis {"connection_id":126727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:23:15] local.INFO: Extracted packet for processing {"connection_id":126727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:23:15] local.INFO: GPS Element Parsed {"raw_longitude":756601792,"raw_latitude":119610008,"longitude_deg":75.6601792,"latitude_deg":11.9610008,"altitude":70,"angle":262,"satellites":46,"speed":6,"hex_longitude":"2d18d3c0","hex_latitude":"07211a98","is_valid_coordinates":true} 
[2026-07-07 18:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557744896001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4755486574379008,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794403007150546944,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783428705000,"timestamp_ms":1783428705000,"timestamp_seconds":1783428705,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca26ae8"} 
[2026-07-07 18:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 18:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557744896001,"66":13243,"121":206,"28":31744,"24":6,"16":4755486574379008,"45":1794403007150546944},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557744896001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:23:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:23:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4755486574379008,"km_value":4755486574379.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794403007150546944,"description":"Unknown IO ID 45"} 
[2026-07-07 18:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557744896001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1794403007150546944}} 
[2026-07-07 18:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":126727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:23:15] local.INFO: GPS data processed {"connection_id":126727,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:23:15] local.INFO: Acknowledgment sent {"connection_id":126727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:23:26] local.INFO: TCP Data received {"connection_id":126728,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:23:26] local.INFO: Processing buffer {"connection_id":126728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:23:26] local.INFO: IMEI packet received {"connection_id":126728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":126728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:23:31] local.INFO: TCP Data received {"connection_id":126728,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:23:31] local.INFO: Processing buffer {"connection_id":126728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:23:31] local.INFO: IMEI packet received {"connection_id":126728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":126728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:23:32] local.INFO: TCP Data received {"connection_id":126728,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca2f788012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca2f788012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:23:32] local.INFO: Processing buffer {"connection_id":126728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca2f788012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:23:32] local.INFO: Packet analysis {"connection_id":126728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:23:32] local.INFO: Extracted packet for processing {"connection_id":126728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736624,"longitude_deg":76.3247168,"latitude_deg":9.7736624,"altitude":9,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d357b0","is_valid_coordinates":true} 
[2026-07-07 18:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557756672001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103497433249480704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192891392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783428741000,"timestamp_ms":1783428741000,"timestamp_seconds":1783428741,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca2f788"} 
[2026-07-07 18:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:23:32] 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-07-07 18:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 18:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557756672001,"66":13406,"109":206,"85":15104,"24":0,"16":103497433249480704,"45":9095652791192891392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557756672001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:23:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:23:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103497433249480704,"km_value":103497433249480.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192891392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557756672001,"power":13406,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192891392}} 
[2026-07-07 18:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":126728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:23:32] local.INFO: GPS data processed {"connection_id":126728,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:23:32] local.INFO: Acknowledgment sent {"connection_id":126728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:23:34] local.INFO: TCP Data received {"connection_id":126729,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:23:34] local.INFO: Processing buffer {"connection_id":126729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:23:34] local.INFO: IMEI packet received {"connection_id":126729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":126729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:23:35] local.INFO: TCP Data received {"connection_id":124767,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:23:35] local.INFO: Processing buffer {"connection_id":124767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:23:35] local.INFO: Packet analysis {"connection_id":124767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:23:35] local.INFO: Extracted packet for processing {"connection_id":124767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:23:35] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 18:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557647104001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4051761898754197504,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783428610000,"timestamp_ms":1783428610000,"timestamp_seconds":1783428610,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca0f7d0"} 
[2026-07-07 18:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 18:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557647104001,"66":25625,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4051761898754197504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557647104001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:23:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:23:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4051761898754197504,"description":"Unknown IO ID 45"} 
[2026-07-07 18:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557647104001,"power":25625,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4051761898754197504}} 
[2026-07-07 18:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":124767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:23:35] local.INFO: GPS data processed {"connection_id":124767,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:23:35] local.INFO: Acknowledgment sent {"connection_id":124767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:23:39] local.INFO: TCP Data received {"connection_id":126729,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:23:39] local.INFO: Processing buffer {"connection_id":126729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:23:39] local.INFO: IMEI packet received {"connection_id":126729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":126729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:23:40] local.INFO: TCP Data received {"connection_id":126729,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca28e10012d18d280072119b0004600ce2d..."} 
[2026-07-07 18:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca28e10012d18d280072119b0004600ce2d..."} 
[2026-07-07 18:23:40] local.INFO: Processing buffer {"connection_id":126729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca28e10012d18d280072119b0004600ce2d..."} 
[2026-07-07 18:23:40] local.INFO: Packet analysis {"connection_id":126729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:23:40] local.INFO: Extracted packet for processing {"connection_id":126729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:23:40] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119609776,"longitude_deg":75.6601472,"latitude_deg":11.9609776,"altitude":70,"angle":206,"satellites":45,"speed":7,"hex_longitude":"2d18d280","hex_latitude":"072119b0","is_valid_coordinates":true} 
[2026-07-07 18:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557748480001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4755508049215488,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788984613848913920,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783428714000,"timestamp_ms":1783428714000,"timestamp_seconds":1783428714,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca28e10"} 
[2026-07-07 18:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 18:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557748480001,"66":13156,"121":206,"28":31744,"24":7,"16":4755508049215488,"45":1788984613848913920},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557748480001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:23:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:23:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4755508049215488,"km_value":4755508049215.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788984613848913920,"description":"Unknown IO ID 45"} 
[2026-07-07 18:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557748480001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1788984613848913920}} 
[2026-07-07 18:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":126729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:23:40] local.INFO: GPS data processed {"connection_id":126729,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:23:40] local.INFO: Acknowledgment sent {"connection_id":126729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:23:44] local.INFO: TCP Data received {"connection_id":126729,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca291f8012d18d240072118c8004600bc2b..."} 
[2026-07-07 18:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca291f8012d18d240072118c8004600bc2b..."} 
[2026-07-07 18:23:44] local.INFO: Processing buffer {"connection_id":126729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca291f8012d18d240072118c8004600bc2b..."} 
[2026-07-07 18:23:44] local.INFO: Packet analysis {"connection_id":126729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:23:44] local.INFO: Extracted packet for processing {"connection_id":126729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:23:44] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119609544,"longitude_deg":75.6601408,"latitude_deg":11.9609544,"altitude":70,"angle":188,"satellites":43,"speed":11,"hex_longitude":"2d18d240","hex_latitude":"072118c8","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557750784001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4755520934117376,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770127966208,"note":"Value kept but may cause issues"} 
[2026-07-07 18:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783428715000,"timestamp_ms":1783428715000,"timestamp_seconds":1783428715,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca291f8"} 
[2026-07-07 18:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:23: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-07-07 18: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-07 18:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":126729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":126729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":126729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557750784001,"66":13156,"121":206,"28":31744,"24":11,"16":4755520934117376,"45":1788632770127966208},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557750784001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:23:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:23:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4755520934117376,"km_value":4755520934117.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770127966208,"description":"Unknown IO ID 45"} 
[2026-07-07 18:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557750784001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1788632770127966208}} 
[2026-07-07 18:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":126729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:23:45] local.INFO: GPS data processed {"connection_id":126729,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:23:45] local.INFO: Acknowledgment sent {"connection_id":126729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:23:58] local.INFO: TCP Data received {"connection_id":125475,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:23:58] local.INFO: Processing buffer {"connection_id":125475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:23:58] local.INFO: IMEI packet received {"connection_id":125475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":125475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:24:02] local.INFO: TCP Data received {"connection_id":126728,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca2fb70012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca2fb70012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:24:02] local.INFO: Processing buffer {"connection_id":126728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca2fb70012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:24:02] local.INFO: Packet analysis {"connection_id":126728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:24:02] local.INFO: Extracted packet for processing {"connection_id":126728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736624,"longitude_deg":76.3247168,"latitude_deg":9.7736624,"altitude":9,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d357b0","is_valid_coordinates":true} 
[2026-07-07 18:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557757696001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103497433249480704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192891392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783428742000,"timestamp_ms":1783428742000,"timestamp_seconds":1783428742,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca2fb70"} 
[2026-07-07 18:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:24:02] 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-07-07 18:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-07 18:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557757696001,"66":13406,"109":206,"85":15104,"24":0,"16":103497433249480704,"45":9095652791192891392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557757696001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:24:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103497433249480704,"km_value":103497433249480.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192891392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557757696001,"power":13406,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192891392}} 
[2026-07-07 18:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":126728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:24:03] local.INFO: GPS data processed {"connection_id":126728,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:24:03] local.INFO: Acknowledgment sent {"connection_id":126728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:24:03] local.INFO: TCP Data received {"connection_id":125475,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:24:03] local.INFO: Processing buffer {"connection_id":125475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:24:03] local.INFO: IMEI packet received {"connection_id":125475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":125475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:24:04] local.INFO: TCP Data received {"connection_id":125475,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:24:04] local.INFO: Processing buffer {"connection_id":125475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:24:04] local.INFO: Packet analysis {"connection_id":125475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:24:04] local.INFO: Extracted packet for processing {"connection_id":125475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:24:04] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 18:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557647104001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4051761898754197504,"note":"Value kept but may cause issues"} 
[2026-07-07 18:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783428610000,"timestamp_ms":1783428610000,"timestamp_seconds":1783428610,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca0f7d0"} 
[2026-07-07 18:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 18:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557647104001,"66":25625,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4051761898754197504},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557647104001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:24:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:24:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4051761898754197504,"description":"Unknown IO ID 45"} 
[2026-07-07 18:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557647104001,"power":25625,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4051761898754197504}} 
[2026-07-07 18:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":125475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:24:04] local.INFO: GPS data processed {"connection_id":125475,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:24:04] local.INFO: Acknowledgment sent {"connection_id":125475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:24:16] local.INFO: TCP Data received {"connection_id":126729,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca29db0012d18d24007211450004600ad2c..."} 
[2026-07-07 18:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca29db0012d18d24007211450004600ad2c..."} 
[2026-07-07 18:24:16] local.INFO: Processing buffer {"connection_id":126729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca29db0012d18d24007211450004600ad2c..."} 
[2026-07-07 18:24:16] local.INFO: Packet analysis {"connection_id":126729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:24:16] local.INFO: Extracted packet for processing {"connection_id":126729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:24:16] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119608400,"longitude_deg":75.6601408,"latitude_deg":11.96084,"altitude":70,"angle":173,"satellites":44,"speed":17,"hex_longitude":"2d18d240","hex_latitude":"07211450","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557751040001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4755576768692224,"note":"Value kept but may cause issues"} 
[2026-07-07 18:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401383729152,"note":"Value kept but may cause issues"} 
[2026-07-07 18:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783428718000,"timestamp_ms":1783428718000,"timestamp_seconds":1783428718,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca29db0"} 
[2026-07-07 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-07-07 18:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-07 18:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 18:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557751040001,"66":13091,"121":206,"28":31744,"24":17,"16":4755576768692224,"45":1788562401383729152},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557751040001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:24:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:24:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4755576768692224,"km_value":4755576768692.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401383729152,"description":"Unknown IO ID 45"} 
[2026-07-07 18:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557751040001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1788562401383729152}} 
[2026-07-07 18:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":126729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:24:16] local.INFO: GPS data processed {"connection_id":126729,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:24:16] local.INFO: Acknowledgment sent {"connection_id":126729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:24:23] local.INFO: TCP Data received {"connection_id":124671,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:24:23] local.INFO: Processing buffer {"connection_id":124671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:24:23] local.INFO: IMEI packet received {"connection_id":124671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 18:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":124671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:24:26] local.INFO: TCP Data received {"connection_id":125476,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:24:26] local.INFO: Processing buffer {"connection_id":125476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:24:26] local.INFO: IMEI packet received {"connection_id":125476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":125476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:24:31] local.INFO: TCP Data received {"connection_id":125476,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:24:31] local.INFO: Processing buffer {"connection_id":125476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:24:31] local.INFO: IMEI packet received {"connection_id":125476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":125476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:24:31] local.INFO: TCP Data received {"connection_id":124768,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:24:31] local.INFO: Processing buffer {"connection_id":124768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:24:31] local.INFO: IMEI packet received {"connection_id":124768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":124768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:24:32] local.INFO: TCP Data received {"connection_id":125476,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca2ff58012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca2ff58012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:24:32] local.INFO: Processing buffer {"connection_id":125476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca2ff58012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:24:32] local.INFO: Packet analysis {"connection_id":125476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:24:32] local.INFO: Extracted packet for processing {"connection_id":125476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736624,"longitude_deg":76.3247168,"latitude_deg":9.7736624,"altitude":9,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d357b0","is_valid_coordinates":true} 
[2026-07-07 18:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557757952001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103497433249480704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192891392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783428743000,"timestamp_ms":1783428743000,"timestamp_seconds":1783428743,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca2ff58"} 
[2026-07-07 18:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:24:32] 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-07-07 18:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-07 18:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557757952001,"66":2938,"109":206,"85":15104,"24":0,"16":103497433249480704,"45":9095652791192891392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557757952001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:24:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:24:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103497433249480704,"km_value":103497433249480.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192891392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557757952001,"power":2938,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192891392}} 
[2026-07-07 18:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":125476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:24:32] local.INFO: GPS data processed {"connection_id":125476,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:24:32] local.INFO: Acknowledgment sent {"connection_id":125476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:24:34] local.INFO: TCP Data received {"connection_id":124768,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:24:34] local.INFO: Processing buffer {"connection_id":124768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:24:34] local.INFO: IMEI packet received {"connection_id":124768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":124768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:24:35] local.INFO: TCP Data received {"connection_id":125475,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:24:35] local.INFO: Processing buffer {"connection_id":125475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:24:35] local.INFO: Packet analysis {"connection_id":125475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:24:35] local.INFO: Extracted packet for processing {"connection_id":125475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:24:35] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 18:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557647104001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4051761898754197504,"note":"Value kept but may cause issues"} 
[2026-07-07 18:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783428610000,"timestamp_ms":1783428610000,"timestamp_seconds":1783428610,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca0f7d0"} 
[2026-07-07 18:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 18:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557647104001,"66":25625,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4051761898754197504},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557647104001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:24:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:24:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4051761898754197504,"description":"Unknown IO ID 45"} 
[2026-07-07 18:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557647104001,"power":25625,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4051761898754197504}} 
[2026-07-07 18:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":125475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:24:35] local.INFO: GPS data processed {"connection_id":125475,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:24:35] local.INFO: Acknowledgment sent {"connection_id":125475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:24:39] local.INFO: TCP Data received {"connection_id":124768,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:24:39] local.INFO: Processing buffer {"connection_id":124768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:24:39] local.INFO: IMEI packet received {"connection_id":124768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":124768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:24:39] local.INFO: TCP Data received {"connection_id":124768,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca2ad50012d18d34007210f40004600a02b..."} 
[2026-07-07 18:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca2ad50012d18d34007210f40004600a02b..."} 
[2026-07-07 18:24:39] local.INFO: Processing buffer {"connection_id":124768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca2ad50012d18d34007210f40004600a02b..."} 
[2026-07-07 18:24:39] local.INFO: Packet analysis {"connection_id":124768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:24:39] local.INFO: Extracted packet for processing {"connection_id":124768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:24:39] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119607104,"longitude_deg":75.6601664,"latitude_deg":11.9607104,"altitude":70,"angle":160,"satellites":43,"speed":10,"hex_longitude":"2d18d340","hex_latitude":"07210f40","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557751808001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4755641193201664,"note":"Value kept but may cause issues"} 
[2026-07-07 18:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401383436288,"note":"Value kept but may cause issues"} 
[2026-07-07 18:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783428722000,"timestamp_ms":1783428722000,"timestamp_seconds":1783428722,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca2ad50"} 
[2026-07-07 18:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:24: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-07-07 18: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 18:24: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-07-07 18: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-07-07 18:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557751808001,"66":13080,"121":206,"28":31744,"24":10,"16":4755641193201664,"45":1788562401383436288},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557751808001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:24:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:24:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4755641193201664,"km_value":4755641193201.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401383436288,"description":"Unknown IO ID 45"} 
[2026-07-07 18:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557751808001,"power":13080,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1788562401383436288}} 
[2026-07-07 18:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":124768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:24:40] local.INFO: GPS data processed {"connection_id":124768,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:24:40] local.INFO: Acknowledgment sent {"connection_id":124768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:24:58] local.INFO: TCP Data received {"connection_id":126731,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:24:58] local.INFO: Processing buffer {"connection_id":126731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:24:58] local.INFO: IMEI packet received {"connection_id":126731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":126731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:24:58] local.INFO: TCP Data received {"connection_id":126730,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:24:58] local.INFO: Processing buffer {"connection_id":126730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:24:58] local.INFO: IMEI packet received {"connection_id":126730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 18:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":126730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:25:02] local.INFO: TCP Data received {"connection_id":125476,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca2ff58012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca2ff58012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:25:02] local.INFO: Processing buffer {"connection_id":125476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca2ff58012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:25:02] local.INFO: Packet analysis {"connection_id":125476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:25:02] local.INFO: Extracted packet for processing {"connection_id":125476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736624,"longitude_deg":76.3247168,"latitude_deg":9.7736624,"altitude":9,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d357b0","is_valid_coordinates":true} 
[2026-07-07 18:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557758208001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103497433249480704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192891392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783428743000,"timestamp_ms":1783428743000,"timestamp_seconds":1783428743,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca2ff58"} 
[2026-07-07 18:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:25:02] 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-07-07 18:25: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":11,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 18:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1351,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557758208001,"66":2938,"109":206,"85":15104,"24":0,"16":103497433249480704,"45":9095652791192891392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557758208001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:25:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103497433249480704,"km_value":103497433249480.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192891392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557758208001,"power":2938,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192891392}} 
[2026-07-07 18:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":125476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:25:02] local.INFO: GPS data processed {"connection_id":125476,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:25:02] local.INFO: Acknowledgment sent {"connection_id":125476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:25:03] local.INFO: TCP Data received {"connection_id":126731,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:25:03] local.INFO: Processing buffer {"connection_id":126731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:25:03] local.INFO: IMEI packet received {"connection_id":126731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":126731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:25:08] local.INFO: TCP Data received {"connection_id":126731,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:25:08] local.INFO: Processing buffer {"connection_id":126731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:25:08] local.INFO: Packet analysis {"connection_id":126731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:25:08] local.INFO: Extracted packet for processing {"connection_id":126731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:25:08] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557647104001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4051761898754197504,"note":"Value kept but may cause issues"} 
[2026-07-07 18:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783428610000,"timestamp_ms":1783428610000,"timestamp_seconds":1783428610,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca0f7d0"} 
[2026-07-07 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-07-07 18:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 18:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 18:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557647104001,"66":25625,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4051761898754197504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557647104001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:25:08] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:25:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4051761898754197504,"description":"Unknown IO ID 45"} 
[2026-07-07 18:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557647104001,"power":25625,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4051761898754197504}} 
[2026-07-07 18:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":126731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:25:08] local.INFO: GPS data processed {"connection_id":126731,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:25:08] local.INFO: Acknowledgment sent {"connection_id":126731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:25:11] local.INFO: TCP Data received {"connection_id":124768,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca2c0d8012d18d44007210b68004600932c..."} 
[2026-07-07 18:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca2c0d8012d18d44007210b68004600932c..."} 
[2026-07-07 18:25:11] local.INFO: Processing buffer {"connection_id":124768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca2c0d8012d18d44007210b68004600932c..."} 
[2026-07-07 18:25:11] local.INFO: Packet analysis {"connection_id":124768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:25:11] local.INFO: Extracted packet for processing {"connection_id":124768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119606120,"longitude_deg":75.660192,"latitude_deg":11.960612,"altitude":70,"angle":147,"satellites":44,"speed":6,"hex_longitude":"2d18d440","hex_latitude":"07210b68","is_valid_coordinates":true} 
[2026-07-07 18:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557752832001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4755688437841920,"note":"Value kept but may cause issues"} 
[2026-07-07 18:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876359815168,"note":"Value kept but may cause issues"} 
[2026-07-07 18:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783428727000,"timestamp_ms":1783428727000,"timestamp_seconds":1783428727,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca2c0d8"} 
[2026-07-07 18:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-07 18:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557752832001,"66":13080,"121":206,"28":31744,"24":6,"16":4755688437841920,"45":1788843876359815168},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557752832001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:25:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:25:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4755688437841920,"km_value":4755688437841.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876359815168,"description":"Unknown IO ID 45"} 
[2026-07-07 18:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557752832001,"power":13080,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1788843876359815168}} 
[2026-07-07 18:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":124768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:25:11] local.INFO: GPS data processed {"connection_id":124768,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:25:11] local.INFO: Acknowledgment sent {"connection_id":124768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:25:26] local.INFO: TCP Data received {"connection_id":124672,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:25:26] local.INFO: Processing buffer {"connection_id":124672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:25:26] local.INFO: IMEI packet received {"connection_id":124672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":124672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:25:31] local.INFO: TCP Data received {"connection_id":124672,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:25:31] local.INFO: Processing buffer {"connection_id":124672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:25:31] local.INFO: IMEI packet received {"connection_id":124672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":124672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:25:32] local.INFO: TCP Data received {"connection_id":124672,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca2ff58012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca2ff58012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:25:32] local.INFO: Processing buffer {"connection_id":124672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca2ff58012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:25:32] local.INFO: Packet analysis {"connection_id":124672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:25:32] local.INFO: Extracted packet for processing {"connection_id":124672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736624,"longitude_deg":76.3247168,"latitude_deg":9.7736624,"altitude":9,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d357b0","is_valid_coordinates":true} 
[2026-07-07 18:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557758208001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103497433249480704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192891392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783428743000,"timestamp_ms":1783428743000,"timestamp_seconds":1783428743,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca2ff58"} 
[2026-07-07 18:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:25:32] 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-07-07 18:25: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":11,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 18:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1351,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557758208001,"66":2938,"109":206,"85":15104,"24":0,"16":103497433249480704,"45":9095652791192891392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557758208001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:25:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:25:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103497433249480704,"km_value":103497433249480.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192891392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557758208001,"power":2938,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192891392}} 
[2026-07-07 18:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":124672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:25:32] local.INFO: GPS data processed {"connection_id":124672,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:25:32] local.INFO: Acknowledgment sent {"connection_id":124672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:25:35] local.INFO: TCP Data received {"connection_id":124769,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:25:35] local.INFO: Processing buffer {"connection_id":124769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:25:35] local.INFO: IMEI packet received {"connection_id":124769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":124769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:25:35] local.INFO: TCP Data received {"connection_id":124769,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:25:35] local.INFO: Processing buffer {"connection_id":124769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:25:35] local.INFO: IMEI packet received {"connection_id":124769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":124769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:25:39] local.INFO: TCP Data received {"connection_id":124769,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:25:39] local.INFO: Processing buffer {"connection_id":124769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:25:39] local.INFO: IMEI packet received {"connection_id":124769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":124769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:25:39] local.INFO: TCP Data received {"connection_id":126731,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:25:39] local.INFO: Processing buffer {"connection_id":126731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca0f7d0012dc7c400052e4b080017004e2f..."} 
[2026-07-07 18:25:39] local.INFO: Packet analysis {"connection_id":126731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:25:39] local.INFO: Extracted packet for processing {"connection_id":126731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca0"} 
[2026-07-07 18:25:39] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557647104001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4051761898754197504,"note":"Value kept but may cause issues"} 
[2026-07-07 18:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783428610000,"timestamp_ms":1783428610000,"timestamp_seconds":1783428610,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca0f7d0"} 
[2026-07-07 18:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 18:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557647104001,"66":25625,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4051761898754197504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557647104001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:25:39] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:25:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4051761898754197504,"description":"Unknown IO ID 45"} 
[2026-07-07 18:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557647104001,"power":25625,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4051761898754197504}} 
[2026-07-07 18:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":126731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:25:39] local.INFO: GPS data processed {"connection_id":126731,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:25:39] local.INFO: Acknowledgment sent {"connection_id":126731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:25:40] local.INFO: TCP Data received {"connection_id":124769,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca312e0012d18d4c007210a200045009a2d..."} 
[2026-07-07 18:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca312e0012d18d4c007210a200045009a2d..."} 
[2026-07-07 18:25:40] local.INFO: Processing buffer {"connection_id":124769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca312e0012d18d4c007210a200045009a2d..."} 
[2026-07-07 18:25:40] local.INFO: Packet analysis {"connection_id":124769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca3"} 
[2026-07-07 18:25:40] local.INFO: Extracted packet for processing {"connection_id":124769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca3"} 
[2026-07-07 18:25:40] local.INFO: GPS Element Parsed {"raw_longitude":756602048,"raw_latitude":119605792,"longitude_deg":75.6602048,"latitude_deg":11.9605792,"altitude":69,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d18d4c0","hex_latitude":"07210a20","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557754112001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4755705617711104,"note":"Value kept but may cause issues"} 
[2026-07-07 18:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789125351336273920,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 18:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783428748000,"timestamp_ms":1783428748000,"timestamp_seconds":1783428748,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca312e0"} 
[2026-07-07 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-07-07 18:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-07 18:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 18:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557754112001,"66":13015,"121":206,"28":31744,"24":0,"16":4755705617711104,"45":1789125351336273920},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557754112001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:25:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:25:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4755705617711104,"km_value":4755705617711.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789125351336273920,"description":"Unknown IO ID 45"} 
[2026-07-07 18:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557754112001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789125351336273920}} 
[2026-07-07 18:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":124769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:25:40] local.INFO: GPS data processed {"connection_id":124769,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:25:40] local.INFO: Acknowledgment sent {"connection_id":124769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:25:44] local.INFO: TCP Data received {"connection_id":124769,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca364e8012d18d4c007210a200045009a2b..."} 
[2026-07-07 18:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca364e8012d18d4c007210a200045009a2b..."} 
[2026-07-07 18:25:44] local.INFO: Processing buffer {"connection_id":124769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca364e8012d18d4c007210a200045009a2b..."} 
[2026-07-07 18:25:44] local.INFO: Packet analysis {"connection_id":124769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca3"} 
[2026-07-07 18:25:44] local.INFO: Extracted packet for processing {"connection_id":124769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca3"} 
[2026-07-07 18:25:44] local.INFO: GPS Element Parsed {"raw_longitude":756602048,"raw_latitude":119605792,"longitude_deg":75.6602048,"latitude_deg":11.9605792,"altitude":69,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d18d4c0","hex_latitude":"07210a20","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557759488001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4755705617711104,"note":"Value kept but may cause issues"} 
[2026-07-07 18:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789266088824545280,"note":"Value kept but may cause issues"} 
[2026-07-07 18:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783428769000,"timestamp_ms":1783428769000,"timestamp_seconds":1783428769,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca364e8"} 
[2026-07-07 18:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 18:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557759488001,"66":13004,"121":206,"28":31744,"24":0,"16":4755705617711104,"45":1789266088824545280},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557759488001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:25:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:25:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4755705617711104,"km_value":4755705617711.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789266088824545280,"description":"Unknown IO ID 45"} 
[2026-07-07 18:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557759488001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789266088824545280}} 
[2026-07-07 18:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":124769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:25:44] local.INFO: GPS data processed {"connection_id":124769,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:25:44] local.INFO: Acknowledgment sent {"connection_id":124769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:26:03] local.INFO: TCP Data received {"connection_id":124770,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:26:03] local.INFO: Processing buffer {"connection_id":124770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:26:03] local.INFO: IMEI packet received {"connection_id":124770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":124770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:26:04] local.INFO: TCP Data received {"connection_id":124672,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca2ff58012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca2ff58012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:26:04] local.INFO: Processing buffer {"connection_id":124672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca2ff58012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:26:04] local.INFO: Packet analysis {"connection_id":124672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:26:04] local.INFO: Extracted packet for processing {"connection_id":124672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:26:04] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736624,"longitude_deg":76.3247168,"latitude_deg":9.7736624,"altitude":9,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d357b0","is_valid_coordinates":true} 
[2026-07-07 18:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557758208001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103497433249480704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192891392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783428743000,"timestamp_ms":1783428743000,"timestamp_seconds":1783428743,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca2ff58"} 
[2026-07-07 18:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:26:04] 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-07-07 18:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 18:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1351,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557758208001,"66":2938,"109":206,"85":15104,"24":0,"16":103497433249480704,"45":9095652791192891392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557758208001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:26:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:26:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103497433249480704,"km_value":103497433249480.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192891392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557758208001,"power":2938,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192891392}} 
[2026-07-07 18:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":124672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:26:04] local.INFO: GPS data processed {"connection_id":124672,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:26:04] local.INFO: Acknowledgment sent {"connection_id":124672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:26:12] local.INFO: TCP Data received {"connection_id":124770,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:26:12] local.INFO: Processing buffer {"connection_id":124770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:26:12] local.INFO: IMEI packet received {"connection_id":124770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":124770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:26:12] local.INFO: TCP Data received {"connection_id":124770,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:26:12] local.INFO: Processing buffer {"connection_id":124770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:26:12] local.INFO: Packet analysis {"connection_id":124770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca5"} 
[2026-07-07 18:26:12] local.INFO: Extracted packet for processing {"connection_id":124770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca5"} 
[2026-07-07 18:26:12] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":46,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557724160001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052113742475098112,"note":"Value kept but may cause issues"} 
[2026-07-07 18:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783428911000,"timestamp_ms":1783428911000,"timestamp_seconds":1783428911,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca58f98"} 
[2026-07-07 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-07-07 18:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 18:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 18:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557724160001,"66":25593,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052113742475098112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557724160001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:26:12] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:26:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052113742475098112,"description":"Unknown IO ID 45"} 
[2026-07-07 18:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557724160001,"power":25593,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052113742475098112}} 
[2026-07-07 18:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":124770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:26:12] local.INFO: GPS data processed {"connection_id":124770,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:26:12] local.INFO: Acknowledgment sent {"connection_id":124770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:26:16] local.INFO: TCP Data received {"connection_id":124769,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca3bad8012d18d4c007210a200045009a2d..."} 
[2026-07-07 18:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca3bad8012d18d4c007210a200045009a2d..."} 
[2026-07-07 18:26:16] local.INFO: Processing buffer {"connection_id":124769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca3bad8012d18d4c007210a200045009a2d..."} 
[2026-07-07 18:26:16] local.INFO: Packet analysis {"connection_id":124769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca3"} 
[2026-07-07 18:26:16] local.INFO: Extracted packet for processing {"connection_id":124769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca3"} 
[2026-07-07 18:26:16] local.INFO: GPS Element Parsed {"raw_longitude":756602048,"raw_latitude":119605792,"longitude_deg":75.6602048,"latitude_deg":11.9605792,"altitude":69,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d18d4c0","hex_latitude":"07210a20","is_valid_coordinates":true} 
[2026-07-07 18:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557764864001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4755705617711104,"note":"Value kept but may cause issues"} 
[2026-07-07 18:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789266088824545280,"note":"Value kept but may cause issues"} 
[2026-07-07 18:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783428791000,"timestamp_ms":1783428791000,"timestamp_seconds":1783428791,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca3bad8"} 
[2026-07-07 18:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-07 18:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557764864001,"66":12961,"121":206,"28":31744,"24":0,"16":4755705617711104,"45":1789266088824545280},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557764864001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:26:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:26:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4755705617711104,"km_value":4755705617711.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789266088824545280,"description":"Unknown IO ID 45"} 
[2026-07-07 18:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557764864001,"power":12961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789266088824545280}} 
[2026-07-07 18:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":124769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:26:16] local.INFO: GPS data processed {"connection_id":124769,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:26:16] local.INFO: Acknowledgment sent {"connection_id":124769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:26:24] local.INFO: TCP Data received {"connection_id":124770,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:26:24] local.INFO: Processing buffer {"connection_id":124770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:26:24] local.INFO: Packet analysis {"connection_id":124770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca5"} 
[2026-07-07 18:26:24] local.INFO: Extracted packet for processing {"connection_id":124770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca5"} 
[2026-07-07 18:26:24] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":46,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 18:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557724160001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052113742475098112,"note":"Value kept but may cause issues"} 
[2026-07-07 18:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783428911000,"timestamp_ms":1783428911000,"timestamp_seconds":1783428911,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca58f98"} 
[2026-07-07 18:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 18:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":124770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":124770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":124770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557724160001,"66":25593,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052113742475098112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557724160001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:26:24] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:26:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052113742475098112,"description":"Unknown IO ID 45"} 
[2026-07-07 18:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557724160001,"power":25593,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052113742475098112}} 
[2026-07-07 18:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":124770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:26:24] local.INFO: GPS data processed {"connection_id":124770,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:26:24] local.INFO: Acknowledgment sent {"connection_id":124770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:26:26] local.INFO: TCP Data received {"connection_id":124673,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:26:26] local.INFO: Processing buffer {"connection_id":124673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:26:26] local.INFO: IMEI packet received {"connection_id":124673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":124673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:26:31] local.INFO: TCP Data received {"connection_id":124673,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:26:31] local.INFO: Processing buffer {"connection_id":124673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:26:31] local.INFO: IMEI packet received {"connection_id":124673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":124673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:26:32] local.INFO: TCP Data received {"connection_id":124673,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca2ff58012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca2ff58012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:26:32] local.INFO: Processing buffer {"connection_id":124673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca2ff58012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:26:32] local.INFO: Packet analysis {"connection_id":124673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:26:32] local.INFO: Extracted packet for processing {"connection_id":124673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736624,"longitude_deg":76.3247168,"latitude_deg":9.7736624,"altitude":9,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d357b0","is_valid_coordinates":true} 
[2026-07-07 18:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557758208001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103497433249480704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192891392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783428743000,"timestamp_ms":1783428743000,"timestamp_seconds":1783428743,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca2ff58"} 
[2026-07-07 18:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:26:32] 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-07-07 18:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 18:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1351,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:26:32] 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-07-07 18:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557758208001,"66":2938,"109":206,"85":15104,"24":0,"16":103497433249480704,"45":9095652791192891392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557758208001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:26:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:26:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103497433249480704,"km_value":103497433249480.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192891392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557758208001,"power":2938,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192891392}} 
[2026-07-07 18:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":124673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:26:32] local.INFO: GPS data processed {"connection_id":124673,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:26:32] local.INFO: Acknowledgment sent {"connection_id":124673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:26:33] local.INFO: TCP Data received {"connection_id":126732,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:26:33] local.INFO: Processing buffer {"connection_id":126732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:26:33] local.INFO: IMEI packet received {"connection_id":126732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":126732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:26:37] local.INFO: TCP Data received {"connection_id":126732,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:26:37] local.INFO: Processing buffer {"connection_id":126732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:26:37] local.INFO: IMEI packet received {"connection_id":126732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":126732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:26:38] local.INFO: TCP Data received {"connection_id":126732,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca40ce0012d18d4c007210a200045009a2c..."} 
[2026-07-07 18:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca40ce0012d18d4c007210a200045009a2c..."} 
[2026-07-07 18:26:38] local.INFO: Processing buffer {"connection_id":126732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca40ce0012d18d4c007210a200045009a2c..."} 
[2026-07-07 18:26:38] local.INFO: Packet analysis {"connection_id":126732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca4"} 
[2026-07-07 18:26:38] local.INFO: Extracted packet for processing {"connection_id":126732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca4"} 
[2026-07-07 18:26:38] local.INFO: GPS Element Parsed {"raw_longitude":756602048,"raw_latitude":119605792,"longitude_deg":75.6602048,"latitude_deg":11.9605792,"altitude":69,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d18d4c0","hex_latitude":"07210a20","is_valid_coordinates":true} 
[2026-07-07 18:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557770496001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4755705617711104,"note":"Value kept but may cause issues"} 
[2026-07-07 18:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789266088824545280,"note":"Value kept but may cause issues"} 
[2026-07-07 18:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783428812000,"timestamp_ms":1783428812000,"timestamp_seconds":1783428812,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca40ce0"} 
[2026-07-07 18:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-07 18:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557770496001,"66":12885,"121":206,"28":31744,"24":0,"16":4755705617711104,"45":1789266088824545280},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557770496001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:26:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:26:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4755705617711104,"km_value":4755705617711.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789266088824545280,"description":"Unknown IO ID 45"} 
[2026-07-07 18:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557770496001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789266088824545280}} 
[2026-07-07 18:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":126732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:26:38] local.INFO: GPS data processed {"connection_id":126732,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:26:38] local.INFO: Acknowledgment sent {"connection_id":126732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:26:58] local.INFO: TCP Data received {"connection_id":125478,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:26:58] local.INFO: Processing buffer {"connection_id":125478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:26:58] local.INFO: IMEI packet received {"connection_id":125478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":125478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:27:03] local.INFO: TCP Data received {"connection_id":124673,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca2ff58012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca2ff58012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:27:03] local.INFO: Processing buffer {"connection_id":124673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca2ff58012d7e3a4005d357b00009010b2d..."} 
[2026-07-07 18:27:03] local.INFO: Packet analysis {"connection_id":124673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:27:03] local.INFO: Extracted packet for processing {"connection_id":124673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca2"} 
[2026-07-07 18:27:03] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736624,"longitude_deg":76.3247168,"latitude_deg":9.7736624,"altitude":9,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d357b0","is_valid_coordinates":true} 
[2026-07-07 18:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557758208001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103497433249480704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192891392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783428743000,"timestamp_ms":1783428743000,"timestamp_seconds":1783428743,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca2ff58"} 
[2026-07-07 18:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:27:03] 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-07-07 18:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 18:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1351,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:27:03] 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-07-07 18:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557758208001,"66":2938,"109":206,"85":15104,"24":0,"16":103497433249480704,"45":9095652791192891392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557758208001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:27:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:27:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103497433249480704,"km_value":103497433249480.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192891392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557758208001,"power":2938,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192891392}} 
[2026-07-07 18:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":124673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:27:03] local.INFO: GPS data processed {"connection_id":124673,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:27:03] local.INFO: Acknowledgment sent {"connection_id":124673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:27:03] local.INFO: TCP Data received {"connection_id":125478,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:27:03] local.INFO: Processing buffer {"connection_id":125478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:27:03] local.INFO: IMEI packet received {"connection_id":125478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":125478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:27:04] local.INFO: TCP Data received {"connection_id":125478,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:27:04] local.INFO: Processing buffer {"connection_id":125478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:27:04] local.INFO: Packet analysis {"connection_id":125478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca5"} 
[2026-07-07 18:27:04] local.INFO: Extracted packet for processing {"connection_id":125478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca5"} 
[2026-07-07 18:27:04] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":46,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 18:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557724160001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052113742475098112,"note":"Value kept but may cause issues"} 
[2026-07-07 18:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783428911000,"timestamp_ms":1783428911000,"timestamp_seconds":1783428911,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca58f98"} 
[2026-07-07 18:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 18:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557724160001,"66":25593,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052113742475098112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557724160001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:27:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:27:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052113742475098112,"description":"Unknown IO ID 45"} 
[2026-07-07 18:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557724160001,"power":25593,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052113742475098112}} 
[2026-07-07 18:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":125478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:27:04] local.INFO: GPS data processed {"connection_id":125478,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:27:04] local.INFO: Acknowledgment sent {"connection_id":125478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:27:10] local.INFO: TCP Data received {"connection_id":126732,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca45ee8012d18d4c007210a200045009a2d..."} 
[2026-07-07 18:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca45ee8012d18d4c007210a200045009a2d..."} 
[2026-07-07 18:27:10] local.INFO: Processing buffer {"connection_id":126732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca45ee8012d18d4c007210a200045009a2d..."} 
[2026-07-07 18:27:10] local.INFO: Packet analysis {"connection_id":126732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca4"} 
[2026-07-07 18:27:10] local.INFO: Extracted packet for processing {"connection_id":126732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca4"} 
[2026-07-07 18:27:10] local.INFO: GPS Element Parsed {"raw_longitude":756602048,"raw_latitude":119605792,"longitude_deg":75.6602048,"latitude_deg":11.9605792,"altitude":69,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d18d4c0","hex_latitude":"07210a20","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557775872001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4755705617711104,"note":"Value kept but may cause issues"} 
[2026-07-07 18:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789266088824545280,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 18:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783428833000,"timestamp_ms":1783428833000,"timestamp_seconds":1783428833,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca45ee8"} 
[2026-07-07 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-07-07 18:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-07 18:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 18:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557775872001,"66":12841,"121":206,"28":31744,"24":0,"16":4755705617711104,"45":1789266088824545280},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557775872001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:27:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:27:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4755705617711104,"km_value":4755705617711.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789266088824545280,"description":"Unknown IO ID 45"} 
[2026-07-07 18:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557775872001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789266088824545280}} 
[2026-07-07 18:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":126732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:27:10] local.INFO: GPS data processed {"connection_id":126732,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:27:10] local.INFO: Acknowledgment sent {"connection_id":126732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:27:26] local.INFO: TCP Data received {"connection_id":124675,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:27:26] local.INFO: Processing buffer {"connection_id":124675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:27:26] local.INFO: IMEI packet received {"connection_id":124675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":124675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:27:31] local.INFO: TCP Data received {"connection_id":124675,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:27:31] local.INFO: Processing buffer {"connection_id":124675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:27:31] local.INFO: IMEI packet received {"connection_id":124675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":124675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:27:32] local.INFO: TCP Data received {"connection_id":124675,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:27:32] local.INFO: Processing buffer {"connection_id":124675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:27:32] local.INFO: Packet analysis {"connection_id":124675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:27:32] local.INFO: Extracted packet for processing {"connection_id":124675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736616,"longitude_deg":76.3247168,"latitude_deg":9.7736616,"altitude":9,"angle":267,"satellites":46,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d357a8","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557758208001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103497433249480704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192891392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783429039000,"timestamp_ms":1783429039000,"timestamp_seconds":1783429039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca78398"} 
[2026-07-07 18:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:27:32] 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-07-07 18: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":11,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 18:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1351,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":124675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":124675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":124675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:27:32] 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-07-07 18:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557758208001,"66":12667,"109":206,"85":15104,"24":0,"16":103497433249480704,"45":9095652791192891392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557758208001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:27:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103497433249480704,"km_value":103497433249480.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192891392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557758208001,"power":12667,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192891392}} 
[2026-07-07 18:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":124675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:27:32] local.INFO: GPS data processed {"connection_id":124675,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:27:32] local.INFO: Acknowledgment sent {"connection_id":124675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:27:33] local.INFO: TCP Data received {"connection_id":125479,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:27:33] local.INFO: Processing buffer {"connection_id":125479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:27:33] local.INFO: IMEI packet received {"connection_id":125479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":125479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:27:35] local.INFO: TCP Data received {"connection_id":125478,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:27:35] local.INFO: Processing buffer {"connection_id":125478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:27:35] local.INFO: Packet analysis {"connection_id":125478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca5"} 
[2026-07-07 18:27:35] local.INFO: Extracted packet for processing {"connection_id":125478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca5"} 
[2026-07-07 18:27:35] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":46,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 18:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557724160001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052113742475098112,"note":"Value kept but may cause issues"} 
[2026-07-07 18:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783428911000,"timestamp_ms":1783428911000,"timestamp_seconds":1783428911,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca58f98"} 
[2026-07-07 18:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 18:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557724160001,"66":25593,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052113742475098112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557724160001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:27:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:27:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052113742475098112,"description":"Unknown IO ID 45"} 
[2026-07-07 18:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557724160001,"power":25593,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052113742475098112}} 
[2026-07-07 18:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":125478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:27:35] local.INFO: GPS data processed {"connection_id":125478,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:27:35] local.INFO: Acknowledgment sent {"connection_id":125478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:27:35] local.INFO: TCP Data received {"connection_id":125479,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:27:35] local.INFO: Processing buffer {"connection_id":125479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:27:35] local.INFO: IMEI packet received {"connection_id":125479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":125479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:27:38] local.INFO: TCP Data received {"connection_id":125479,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:27:38] local.INFO: Processing buffer {"connection_id":125479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:27:38] local.INFO: IMEI packet received {"connection_id":125479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":125479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:27:39] local.INFO: TCP Data received {"connection_id":125479,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca71250012d18d8800720fec80045008f2b..."} 
[2026-07-07 18:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca71250012d18d8800720fec80045008f2b..."} 
[2026-07-07 18:27:39] local.INFO: Processing buffer {"connection_id":125479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca71250012d18d8800720fec80045008f2b..."} 
[2026-07-07 18:27:39] local.INFO: Packet analysis {"connection_id":125479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:27:39] local.INFO: Extracted packet for processing {"connection_id":125479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:27:39] local.INFO: GPS Element Parsed {"raw_longitude":756603008,"raw_latitude":119602888,"longitude_deg":75.6603008,"latitude_deg":11.9602888,"altitude":69,"angle":143,"satellites":43,"speed":21,"hex_longitude":"2d18d880","hex_latitude":"0720fec8","is_valid_coordinates":true} 
[2026-07-07 18:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557826048001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4755855941566464,"note":"Value kept but may cause issues"} 
[2026-07-07 18:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789758670033274880,"note":"Value kept but may cause issues"} 
[2026-07-07 18:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783429010000,"timestamp_ms":1783429010000,"timestamp_seconds":1783429010,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca71250"} 
[2026-07-07 18:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:27: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-07-07 18:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-07 18:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557826048001,"66":14233,"121":206,"28":31744,"24":21,"16":4755855941566464,"45":1789758670033274880},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557826048001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:27:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:27:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4755855941566464,"km_value":4755855941566.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789758670033274880,"description":"Unknown IO ID 45"} 
[2026-07-07 18:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557826048001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1789758670033274880}} 
[2026-07-07 18:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":125479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:27:39] local.INFO: GPS data processed {"connection_id":125479,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:27:39] local.INFO: Acknowledgment sent {"connection_id":125479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:27:44] local.INFO: TCP Data received {"connection_id":125479,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca71a20012d18dc000720fb500045008428..."} 
[2026-07-07 18:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca71a20012d18dc000720fb500045008428..."} 
[2026-07-07 18:27:44] local.INFO: Processing buffer {"connection_id":125479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca71a20012d18dc000720fb500045008428..."} 
[2026-07-07 18:27:44] local.INFO: Packet analysis {"connection_id":125479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:27:44] local.INFO: Extracted packet for processing {"connection_id":125479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:27:44] local.INFO: GPS Element Parsed {"raw_longitude":756603904,"raw_latitude":119602000,"longitude_deg":75.6603904,"latitude_deg":11.9602,"altitude":69,"angle":132,"satellites":40,"speed":26,"hex_longitude":"2d18dc00","hex_latitude":"0720fb50","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557826560001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4755920366075904,"note":"Value kept but may cause issues"} 
[2026-07-07 18:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790321619986466816,"note":"Value kept but may cause issues"} 
[2026-07-07 18:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783429012000,"timestamp_ms":1783429012000,"timestamp_seconds":1783429012,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca71a20"} 
[2026-07-07 18:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:27: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-07-07 18: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-07 18:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":125479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":125479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":125479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557826560001,"66":13537,"121":206,"28":31744,"24":26,"16":4755920366075904,"45":1790321619986466816},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557826560001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:27:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:27:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4755920366075904,"km_value":4755920366075.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790321619986466816,"description":"Unknown IO ID 45"} 
[2026-07-07 18:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557826560001,"power":13537,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1790321619986466816}} 
[2026-07-07 18:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":125479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:27:45] local.INFO: GPS data processed {"connection_id":125479,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:27:45] local.INFO: Acknowledgment sent {"connection_id":125479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:27:58] local.INFO: TCP Data received {"connection_id":124676,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:27:58] local.INFO: Processing buffer {"connection_id":124676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:27:58] local.INFO: IMEI packet received {"connection_id":124676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":124676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:28:03] local.INFO: TCP Data received {"connection_id":124675,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:28:03] local.INFO: Processing buffer {"connection_id":124675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:28:03] local.INFO: Packet analysis {"connection_id":124675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:28:03] local.INFO: Extracted packet for processing {"connection_id":124675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:28:03] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736616,"longitude_deg":76.3247168,"latitude_deg":9.7736616,"altitude":9,"angle":267,"satellites":46,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d357a8","is_valid_coordinates":true} 
[2026-07-07 18:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557758208001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103497433249480704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192891392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783429039000,"timestamp_ms":1783429039000,"timestamp_seconds":1783429039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca78398"} 
[2026-07-07 18:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:28:03] 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-07-07 18:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 18:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1351,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:28:03] 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-07-07 18:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557758208001,"66":12667,"109":206,"85":15104,"24":0,"16":103497433249480704,"45":9095652791192891392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557758208001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:28:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:28:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103497433249480704,"km_value":103497433249480.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192891392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557758208001,"power":12667,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192891392}} 
[2026-07-07 18:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":124675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:28:03] local.INFO: GPS data processed {"connection_id":124675,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:28:03] local.INFO: Acknowledgment sent {"connection_id":124675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:28:03] local.INFO: TCP Data received {"connection_id":124676,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:28:03] local.INFO: Processing buffer {"connection_id":124676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:28:03] local.INFO: IMEI packet received {"connection_id":124676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":124676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:28:04] local.INFO: TCP Data received {"connection_id":124676,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:28:04] local.INFO: Processing buffer {"connection_id":124676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:28:04] local.INFO: Packet analysis {"connection_id":124676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca5"} 
[2026-07-07 18:28:04] local.INFO: Extracted packet for processing {"connection_id":124676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca5"} 
[2026-07-07 18:28:04] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":46,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 18:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557724160001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052113742475098112,"note":"Value kept but may cause issues"} 
[2026-07-07 18:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783428911000,"timestamp_ms":1783428911000,"timestamp_seconds":1783428911,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca58f98"} 
[2026-07-07 18:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 18:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557724160001,"66":25593,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052113742475098112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557724160001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:28:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:28:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052113742475098112,"description":"Unknown IO ID 45"} 
[2026-07-07 18:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557724160001,"power":25593,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052113742475098112}} 
[2026-07-07 18:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":124676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:28:04] local.INFO: GPS data processed {"connection_id":124676,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:28:04] local.INFO: Acknowledgment sent {"connection_id":124676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:28:16] local.INFO: TCP Data received {"connection_id":125479,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca72da8012d18e5c00720f020004500922b..."} 
[2026-07-07 18:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca72da8012d18e5c00720f020004500922b..."} 
[2026-07-07 18:28:16] local.INFO: Processing buffer {"connection_id":125479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca72da8012d18e5c00720f020004500922b..."} 
[2026-07-07 18:28:16] local.INFO: Packet analysis {"connection_id":125479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:28:16] local.INFO: Extracted packet for processing {"connection_id":125479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:28:16] local.INFO: GPS Element Parsed {"raw_longitude":756606400,"raw_latitude":119599136,"longitude_deg":75.66064,"latitude_deg":11.9599136,"altitude":69,"angle":146,"satellites":43,"speed":31,"hex_longitude":"2d18e5c0","hex_latitude":"0720f020","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557827072001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4756100754702336,"note":"Value kept but may cause issues"} 
[2026-07-07 18:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791306782404726784,"note":"Value kept but may cause issues"} 
[2026-07-07 18:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783429017000,"timestamp_ms":1783429017000,"timestamp_seconds":1783429017,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca72da8"} 
[2026-07-07 18:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-07-07 18:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557827072001,"66":14211,"121":206,"28":31744,"24":31,"16":4756100754702336,"45":1791306782404726784},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557827072001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:28:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:28:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4756100754702336,"km_value":4756100754702.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791306782404726784,"description":"Unknown IO ID 45"} 
[2026-07-07 18:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557827072001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1791306782404726784}} 
[2026-07-07 18:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":125479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:28:16] local.INFO: GPS data processed {"connection_id":125479,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:28:16] local.INFO: Acknowledgment sent {"connection_id":125479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:28:26] local.INFO: TCP Data received {"connection_id":126733,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:28:26] local.INFO: Processing buffer {"connection_id":126733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:28:26] local.INFO: IMEI packet received {"connection_id":126733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":126733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:28:31] local.INFO: TCP Data received {"connection_id":126733,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:28:31] local.INFO: Processing buffer {"connection_id":126733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:28:31] local.INFO: IMEI packet received {"connection_id":126733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":126733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:28:32] local.INFO: TCP Data received {"connection_id":126733,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:28:32] local.INFO: Processing buffer {"connection_id":126733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:28:32] local.INFO: Packet analysis {"connection_id":126733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:28:32] local.INFO: Extracted packet for processing {"connection_id":126733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736616,"longitude_deg":76.3247168,"latitude_deg":9.7736616,"altitude":9,"angle":267,"satellites":46,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d357a8","is_valid_coordinates":true} 
[2026-07-07 18:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557758208001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103497433249480704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192891392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783429039000,"timestamp_ms":1783429039000,"timestamp_seconds":1783429039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca78398"} 
[2026-07-07 18:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:28:32] 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-07-07 18:28: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":11,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 18:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1351,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:28:32] 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-07-07 18:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557758208001,"66":12667,"109":206,"85":15104,"24":0,"16":103497433249480704,"45":9095652791192891392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557758208001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:28:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:28:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103497433249480704,"km_value":103497433249480.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192891392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557758208001,"power":12667,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192891392}} 
[2026-07-07 18:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":126733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:28:32] local.INFO: GPS data processed {"connection_id":126733,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:28:32] local.INFO: Acknowledgment sent {"connection_id":126733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:28:33] local.INFO: TCP Data received {"connection_id":124677,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:28:33] local.INFO: Processing buffer {"connection_id":124677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:28:33] local.INFO: IMEI packet received {"connection_id":124677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":124677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:28:35] local.INFO: TCP Data received {"connection_id":124676,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:28:35] local.INFO: Processing buffer {"connection_id":124676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:28:35] local.INFO: Packet analysis {"connection_id":124676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca5"} 
[2026-07-07 18:28:35] local.INFO: Extracted packet for processing {"connection_id":124676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca5"} 
[2026-07-07 18:28:35] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":46,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 18:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557724160001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052113742475098112,"note":"Value kept but may cause issues"} 
[2026-07-07 18:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783428911000,"timestamp_ms":1783428911000,"timestamp_seconds":1783428911,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca58f98"} 
[2026-07-07 18:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 18:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557724160001,"66":25593,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052113742475098112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557724160001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:28:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:28:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052113742475098112,"description":"Unknown IO ID 45"} 
[2026-07-07 18:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557724160001,"power":25593,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052113742475098112}} 
[2026-07-07 18:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":124676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:28:35] local.INFO: GPS data processed {"connection_id":124676,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:28:35] local.INFO: Acknowledgment sent {"connection_id":124676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:28:36] local.INFO: TCP Data received {"connection_id":124677,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:28:36] local.INFO: Processing buffer {"connection_id":124677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:28:36] local.INFO: IMEI packet received {"connection_id":124677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":124677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:28:38] local.INFO: TCP Data received {"connection_id":124677,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:28:38] local.INFO: Processing buffer {"connection_id":124677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:28:38] local.INFO: IMEI packet received {"connection_id":124677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":124677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:28:38] local.INFO: TCP Data received {"connection_id":124677,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca750d0012d18f7800720d608004400832b..."} 
[2026-07-07 18:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca750d0012d18f7800720d608004400832b..."} 
[2026-07-07 18:28:38] local.INFO: Processing buffer {"connection_id":124677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca750d0012d18f7800720d608004400832b..."} 
[2026-07-07 18:28:38] local.INFO: Packet analysis {"connection_id":124677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:28:38] local.INFO: Extracted packet for processing {"connection_id":124677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756610944,"raw_latitude":119592456,"longitude_deg":75.6610944,"latitude_deg":11.9592456,"altitude":68,"angle":131,"satellites":43,"speed":35,"hex_longitude":"2d18f780","hex_latitude":"0720d608","is_valid_coordinates":true} 
[2026-07-07 18:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557828352001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4756491596726272,"note":"Value kept but may cause issues"} 
[2026-07-07 18:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794051163426922496,"note":"Value kept but may cause issues"} 
[2026-07-07 18:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783429026000,"timestamp_ms":1783429026000,"timestamp_seconds":1783429026,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca750d0"} 
[2026-07-07 18:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 18:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557828352001,"66":14265,"121":206,"28":31744,"24":35,"16":4756491596726272,"45":1794051163426922496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557828352001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:28:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:28:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4756491596726272,"km_value":4756491596726.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794051163426922496,"description":"Unknown IO ID 45"} 
[2026-07-07 18:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557828352001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1794051163426922496}} 
[2026-07-07 18:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":124677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:28:39] local.INFO: GPS data processed {"connection_id":124677,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:28:39] local.INFO: Acknowledgment sent {"connection_id":124677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:28:58] local.INFO: TCP Data received {"connection_id":125481,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:28:58] local.INFO: Processing buffer {"connection_id":125481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:28:58] local.INFO: IMEI packet received {"connection_id":125481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":125481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:29:03] local.INFO: TCP Data received {"connection_id":126733,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:29:03] local.INFO: Processing buffer {"connection_id":126733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:29:03] local.INFO: Packet analysis {"connection_id":126733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:29:03] local.INFO: Extracted packet for processing {"connection_id":126733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:29:03] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736616,"longitude_deg":76.3247168,"latitude_deg":9.7736616,"altitude":9,"angle":267,"satellites":46,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d357a8","is_valid_coordinates":true} 
[2026-07-07 18:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557758208001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103497433249480704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192891392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783429039000,"timestamp_ms":1783429039000,"timestamp_seconds":1783429039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca78398"} 
[2026-07-07 18:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:29:03] 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-07-07 18:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 18:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1351,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:29:03] 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-07-07 18:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557758208001,"66":12667,"109":206,"85":15104,"24":0,"16":103497433249480704,"45":9095652791192891392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557758208001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:29:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:29:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103497433249480704,"km_value":103497433249480.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192891392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557758208001,"power":12667,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192891392}} 
[2026-07-07 18:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":126733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:29:03] local.INFO: GPS data processed {"connection_id":126733,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:29:03] local.INFO: Acknowledgment sent {"connection_id":126733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:29:03] local.INFO: TCP Data received {"connection_id":125481,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:29:03] local.INFO: Processing buffer {"connection_id":125481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:29:03] local.INFO: IMEI packet received {"connection_id":125481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":125481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:29:04] local.INFO: TCP Data received {"connection_id":125481,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:29:04] local.INFO: Processing buffer {"connection_id":125481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:29:04] local.INFO: Packet analysis {"connection_id":125481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca5"} 
[2026-07-07 18:29:04] local.INFO: Extracted packet for processing {"connection_id":125481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca5"} 
[2026-07-07 18:29:04] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":46,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 18:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557724160001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052113742475098112,"note":"Value kept but may cause issues"} 
[2026-07-07 18:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783428911000,"timestamp_ms":1783428911000,"timestamp_seconds":1783428911,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca58f98"} 
[2026-07-07 18:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 18:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557724160001,"66":25593,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052113742475098112},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557724160001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:29:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:29:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052113742475098112,"description":"Unknown IO ID 45"} 
[2026-07-07 18:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557724160001,"power":25593,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052113742475098112}} 
[2026-07-07 18:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":125481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:29:04] local.INFO: GPS data processed {"connection_id":125481,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:29:04] local.INFO: Acknowledgment sent {"connection_id":125481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:29:10] local.INFO: TCP Data received {"connection_id":124677,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca852a0012d19ad0007208c30003600b428..."} 
[2026-07-07 18:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca852a0012d19ad0007208c30003600b428..."} 
[2026-07-07 18:29:10] local.INFO: Processing buffer {"connection_id":124677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca852a0012d19ad0007208c30003600b428..."} 
[2026-07-07 18:29:10] local.INFO: Packet analysis {"connection_id":124677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca8"} 
[2026-07-07 18:29:10] local.INFO: Extracted packet for processing {"connection_id":124677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca8"} 
[2026-07-07 18:29:10] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119573552,"longitude_deg":75.6657408,"latitude_deg":11.9573552,"altitude":54,"angle":180,"satellites":40,"speed":30,"hex_longitude":"2d19ad00","hex_latitude":"07208c30","is_valid_coordinates":true} 
[2026-07-07 18:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557847040001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4759463714095104,"note":"Value kept but may cause issues"} 
[2026-07-07 18:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527507054592,"note":"Value kept but may cause issues"} 
[2026-07-07 18:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783429092000,"timestamp_ms":1783429092000,"timestamp_seconds":1783429092,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca852a0"} 
[2026-07-07 18:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 18:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557847040001,"66":14461,"121":206,"28":31744,"24":30,"16":4759463714095104,"45":1850416527507054592},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557847040001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:29:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:29:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4759463714095104,"km_value":4759463714095.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527507054592,"description":"Unknown IO ID 45"} 
[2026-07-07 18:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557847040001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1850416527507054592}} 
[2026-07-07 18:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":124677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:29:10] local.INFO: GPS data processed {"connection_id":124677,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:29:10] local.INFO: Acknowledgment sent {"connection_id":124677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:29:31] local.INFO: TCP Data received {"connection_id":124772,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:29:31] local.INFO: Processing buffer {"connection_id":124772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:29:31] local.INFO: IMEI packet received {"connection_id":124772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":124772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:29:34] local.INFO: TCP Data received {"connection_id":126734,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:29:34] local.INFO: Processing buffer {"connection_id":126734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:29:34] local.INFO: IMEI packet received {"connection_id":126734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":126734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:29:35] local.INFO: TCP Data received {"connection_id":126734,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:29:35] local.INFO: Processing buffer {"connection_id":126734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:29:35] local.INFO: IMEI packet received {"connection_id":126734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":126734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:29:35] local.INFO: TCP Data received {"connection_id":125481,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:29:35] local.INFO: Processing buffer {"connection_id":125481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:29:35] local.INFO: Packet analysis {"connection_id":125481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca5"} 
[2026-07-07 18:29:35] local.INFO: Extracted packet for processing {"connection_id":125481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca5"} 
[2026-07-07 18:29:35] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":46,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557724160001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052113742475098112,"note":"Value kept but may cause issues"} 
[2026-07-07 18:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783428911000,"timestamp_ms":1783428911000,"timestamp_seconds":1783428911,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca58f98"} 
[2026-07-07 18:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 18:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557724160001,"66":25593,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052113742475098112},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557724160001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:29:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:29:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052113742475098112,"description":"Unknown IO ID 45"} 
[2026-07-07 18:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557724160001,"power":25593,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052113742475098112}} 
[2026-07-07 18:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":125481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:29:35] local.INFO: GPS data processed {"connection_id":125481,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:29:35] local.INFO: Acknowledgment sent {"connection_id":125481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:29:36] local.INFO: TCP Data received {"connection_id":124772,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:29:36] local.INFO: Processing buffer {"connection_id":124772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:29:36] local.INFO: IMEI packet received {"connection_id":124772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":124772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:29:36] local.INFO: TCP Data received {"connection_id":126734,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:29:36] local.INFO: Processing buffer {"connection_id":126734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:29:36] local.INFO: IMEI packet received {"connection_id":126734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":126734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:29:37] local.INFO: TCP Data received {"connection_id":124772,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:29:37] local.INFO: Processing buffer {"connection_id":124772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:29:37] local.INFO: Packet analysis {"connection_id":124772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:29:37] local.INFO: Extracted packet for processing {"connection_id":124772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736616,"longitude_deg":76.3247168,"latitude_deg":9.7736616,"altitude":9,"angle":267,"satellites":46,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d357a8","is_valid_coordinates":true} 
[2026-07-07 18:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557758208001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103497433249480704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192891392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:29: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-07-07 18:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783429039000,"timestamp_ms":1783429039000,"timestamp_seconds":1783429039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca78398"} 
[2026-07-07 18:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:29:37] 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-07-07 18:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 18:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1351,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:29:37] 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-07-07 18:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557758208001,"66":12667,"109":206,"85":15104,"24":0,"16":103497433249480704,"45":9095652791192891392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557758208001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:29:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103497433249480704,"km_value":103497433249480.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192891392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557758208001,"power":12667,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192891392}} 
[2026-07-07 18:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":124772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:29:37] local.INFO: GPS data processed {"connection_id":124772,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:29:37] local.INFO: Acknowledgment sent {"connection_id":124772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:29:38] local.INFO: TCP Data received {"connection_id":126734,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:29:38] local.INFO: Processing buffer {"connection_id":126734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:29:38] local.INFO: IMEI packet received {"connection_id":126734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":126734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:29:39] local.INFO: TCP Data received {"connection_id":126734,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca8fa98012d19d100072023a80031001f25..."} 
[2026-07-07 18:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca8fa98012d19d100072023a80031001f25..."} 
[2026-07-07 18:29:39] local.INFO: Processing buffer {"connection_id":126734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca8fa98012d19d100072023a80031001f25..."} 
[2026-07-07 18:29:39] local.INFO: Packet analysis {"connection_id":126734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca8"} 
[2026-07-07 18:29:39] local.INFO: Extracted packet for processing {"connection_id":126734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca8"} 
[2026-07-07 18:29:39] local.INFO: GPS Element Parsed {"raw_longitude":756666624,"raw_latitude":119546792,"longitude_deg":75.6666624,"latitude_deg":11.9546792,"altitude":49,"angle":31,"satellites":37,"speed":12,"hex_longitude":"2d19d100","hex_latitude":"072023a8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557857024001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4761018492256256,"note":"Value kept but may cause issues"} 
[2026-07-07 18:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777505280,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 18:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783429135000,"timestamp_ms":1783429135000,"timestamp_seconds":1783429135,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca8fa98"} 
[2026-07-07 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-07-07 18:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-07 18:29: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-07-07 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-07-07 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-07-07 18:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557857024001,"66":13972,"121":206,"28":31744,"24":12,"16":4761018492256256,"45":1859142251777505280},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557857024001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:29:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:29:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4761018492256256,"km_value":4761018492256.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777505280,"description":"Unknown IO ID 45"} 
[2026-07-07 18:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557857024001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1859142251777505280}} 
[2026-07-07 18:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":126734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:29:39] local.INFO: GPS data processed {"connection_id":126734,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:29:39] local.INFO: Acknowledgment sent {"connection_id":126734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:29:41] local.INFO: TCP Data received {"connection_id":124772,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:29:41] local.INFO: Processing buffer {"connection_id":124772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:29:41] local.INFO: Packet analysis {"connection_id":124772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:29:41] local.INFO: Extracted packet for processing {"connection_id":124772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:29:41] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736616,"longitude_deg":76.3247168,"latitude_deg":9.7736616,"altitude":9,"angle":267,"satellites":46,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d357a8","is_valid_coordinates":true} 
[2026-07-07 18:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557758208001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103497433249480704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192891392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783429039000,"timestamp_ms":1783429039000,"timestamp_seconds":1783429039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca78398"} 
[2026-07-07 18:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:29: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-07-07 18: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":11,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 18:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1351,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:29:41] 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-07-07 18:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557758208001,"66":12667,"109":206,"85":15104,"24":0,"16":103497433249480704,"45":9095652791192891392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557758208001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:29:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103497433249480704,"km_value":103497433249480.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192891392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557758208001,"power":12667,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192891392}} 
[2026-07-07 18:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":124772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:29:41] local.INFO: GPS data processed {"connection_id":124772,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:29:41] local.INFO: Acknowledgment sent {"connection_id":124772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:29:58] local.INFO: TCP Data received {"connection_id":124773,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:29:58] local.INFO: Processing buffer {"connection_id":124773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:29:58] local.INFO: IMEI packet received {"connection_id":124773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":124773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:30:03] local.INFO: TCP Data received {"connection_id":124773,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:30:03] local.INFO: Processing buffer {"connection_id":124773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:30:03] local.INFO: IMEI packet received {"connection_id":124773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":124773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:30:04] local.INFO: TCP Data received {"connection_id":124773,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:30:04] local.INFO: Processing buffer {"connection_id":124773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:30:04] local.INFO: Packet analysis {"connection_id":124773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca5"} 
[2026-07-07 18:30:04] local.INFO: Extracted packet for processing {"connection_id":124773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca5"} 
[2026-07-07 18:30:04] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":46,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 18:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557724160001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052113742475098112,"note":"Value kept but may cause issues"} 
[2026-07-07 18:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783428911000,"timestamp_ms":1783428911000,"timestamp_seconds":1783428911,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca58f98"} 
[2026-07-07 18:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 18:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557724160001,"66":25593,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052113742475098112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557724160001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:30:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:30:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052113742475098112,"description":"Unknown IO ID 45"} 
[2026-07-07 18:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557724160001,"power":25593,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052113742475098112}} 
[2026-07-07 18:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":124773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:30:04] local.INFO: GPS data processed {"connection_id":124773,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:30:04] local.INFO: Acknowledgment sent {"connection_id":124773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:30:10] local.INFO: TCP Data received {"connection_id":126734,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca90268012d19d2c0072025b00032003228..."} 
[2026-07-07 18:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca90268012d19d2c0072025b00032003228..."} 
[2026-07-07 18:30:10] local.INFO: Processing buffer {"connection_id":126734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca90268012d19d2c0072025b00032003228..."} 
[2026-07-07 18:30:10] local.INFO: Packet analysis {"connection_id":126734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca9"} 
[2026-07-07 18:30:10] local.INFO: Extracted packet for processing {"connection_id":126734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca9"} 
[2026-07-07 18:30:10] local.INFO: GPS Element Parsed {"raw_longitude":756667072,"raw_latitude":119547312,"longitude_deg":75.6667072,"latitude_deg":11.9547312,"altitude":50,"angle":50,"satellites":40,"speed":15,"hex_longitude":"2d19d2c0","hex_latitude":"072025b0","is_valid_coordinates":true} 
[2026-07-07 18:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557858560001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4761048557027328,"note":"Value kept but may cause issues"} 
[2026-07-07 18:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860268151684704256,"note":"Value kept but may cause issues"} 
[2026-07-07 18:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783429137000,"timestamp_ms":1783429137000,"timestamp_seconds":1783429137,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca90268"} 
[2026-07-07 18:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-07 18:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557858560001,"66":13396,"121":206,"28":31744,"24":15,"16":4761048557027328,"45":1860268151684704256},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557858560001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:30:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:30:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4761048557027328,"km_value":4761048557027.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860268151684704256,"description":"Unknown IO ID 45"} 
[2026-07-07 18:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557858560001,"power":13396,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1860268151684704256}} 
[2026-07-07 18:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":126734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:30:10] local.INFO: GPS data processed {"connection_id":126734,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:30:10] local.INFO: Acknowledgment sent {"connection_id":126734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:30:26] local.INFO: TCP Data received {"connection_id":124678,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:30:26] local.INFO: Processing buffer {"connection_id":124678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:30:26] local.INFO: IMEI packet received {"connection_id":124678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":124678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:30:29] local.INFO: TCP Data received {"connection_id":126735,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:30:29] local.INFO: Processing buffer {"connection_id":126735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:30:29] local.INFO: IMEI packet received {"connection_id":126735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 18:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":126735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:30:31] local.INFO: TCP Data received {"connection_id":124678,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:30:31] local.INFO: Processing buffer {"connection_id":124678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:30:31] local.INFO: IMEI packet received {"connection_id":124678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":124678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:30:31] local.INFO: TCP Data received {"connection_id":124678,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:30:31] local.INFO: Processing buffer {"connection_id":124678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:30:31] local.INFO: Packet analysis {"connection_id":124678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:30:31] local.INFO: Extracted packet for processing {"connection_id":124678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:30:31] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736616,"longitude_deg":76.3247168,"latitude_deg":9.7736616,"altitude":9,"angle":267,"satellites":46,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d357a8","is_valid_coordinates":true} 
[2026-07-07 18:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557758208001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103497433249480704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192891392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783429039000,"timestamp_ms":1783429039000,"timestamp_seconds":1783429039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca78398"} 
[2026-07-07 18:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:30:31] 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-07-07 18:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 18:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1351,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":124678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":124678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":124678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:30:31] 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-07-07 18:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557758208001,"66":12667,"109":206,"85":15104,"24":0,"16":103497433249480704,"45":9095652791192891392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557758208001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:30:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:30:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103497433249480704,"km_value":103497433249480.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192891392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557758208001,"power":12667,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192891392}} 
[2026-07-07 18:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":124678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:30:31] local.INFO: GPS data processed {"connection_id":124678,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:30:31] local.INFO: Acknowledgment sent {"connection_id":124678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:30:35] local.INFO: TCP Data received {"connection_id":124773,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:30:35] local.INFO: Processing buffer {"connection_id":124773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca58f98012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:30:35] local.INFO: Packet analysis {"connection_id":124773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca5"} 
[2026-07-07 18:30:35] local.INFO: Extracted packet for processing {"connection_id":124773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca5"} 
[2026-07-07 18:30:35] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":46,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 18:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557724160001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052113742475098112,"note":"Value kept but may cause issues"} 
[2026-07-07 18:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783428911000,"timestamp_ms":1783428911000,"timestamp_seconds":1783428911,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca58f98"} 
[2026-07-07 18:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 18:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557724160001,"66":25593,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052113742475098112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557724160001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:30:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:30:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052113742475098112,"description":"Unknown IO ID 45"} 
[2026-07-07 18:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557724160001,"power":25593,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052113742475098112}} 
[2026-07-07 18:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":124773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:30:35] local.INFO: GPS data processed {"connection_id":124773,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:30:35] local.INFO: Acknowledgment sent {"connection_id":124773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:30:39] local.INFO: TCP Data received {"connection_id":124774,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:30:39] local.INFO: Processing buffer {"connection_id":124774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:30:39] local.INFO: IMEI packet received {"connection_id":124774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":124774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:30:43] local.INFO: TCP Data received {"connection_id":124774,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:30:43] local.INFO: Processing buffer {"connection_id":124774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:30:43] local.INFO: IMEI packet received {"connection_id":124774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":124774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:30:44] local.INFO: TCP Data received {"connection_id":124774,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca90a38012d19d5c0072026e80032004a2b..."} 
[2026-07-07 18:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca90a38012d19d5c0072026e80032004a2b..."} 
[2026-07-07 18:30:44] local.INFO: Processing buffer {"connection_id":124774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca90a38012d19d5c0072026e80032004a2b..."} 
[2026-07-07 18:30:44] local.INFO: Packet analysis {"connection_id":124774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca9"} 
[2026-07-07 18:30:44] local.INFO: Extracted packet for processing {"connection_id":124774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca9"} 
[2026-07-07 18:30:44] local.INFO: GPS Element Parsed {"raw_longitude":756667840,"raw_latitude":119547624,"longitude_deg":75.666784,"latitude_deg":11.9547624,"altitude":50,"angle":74,"satellites":43,"speed":16,"hex_longitude":"2d19d5c0","hex_latitude":"072026e8","is_valid_coordinates":true} 
[2026-07-07 18:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557859072001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4761091506700288,"note":"Value kept but may cause issues"} 
[2026-07-07 18:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860760732894081024,"note":"Value kept but may cause issues"} 
[2026-07-07 18:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783429139000,"timestamp_ms":1783429139000,"timestamp_seconds":1783429139,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca90a38"} 
[2026-07-07 18:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-07 18:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557859072001,"66":13961,"121":206,"28":31744,"24":16,"16":4761091506700288,"45":1860760732894081024},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557859072001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:30:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:30:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4761091506700288,"km_value":4761091506700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860760732894081024,"description":"Unknown IO ID 45"} 
[2026-07-07 18:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557859072001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1860760732894081024}} 
[2026-07-07 18:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":124774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:30:44] local.INFO: GPS data processed {"connection_id":124774,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:30:44] local.INFO: Acknowledgment sent {"connection_id":124774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:30:46] local.INFO: TCP Data received {"connection_id":124774,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca93918012d19f24007202e300033003f28..."} 
[2026-07-07 18:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca93918012d19f24007202e300033003f28..."} 
[2026-07-07 18:30:46] local.INFO: Processing buffer {"connection_id":124774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca93918012d19f24007202e300033003f28..."} 
[2026-07-07 18:30:46] local.INFO: Packet analysis {"connection_id":124774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca9"} 
[2026-07-07 18:30:46] local.INFO: Extracted packet for processing {"connection_id":124774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca9"} 
[2026-07-07 18:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756675136,"raw_latitude":119549488,"longitude_deg":75.6675136,"latitude_deg":11.9549488,"altitude":51,"angle":63,"satellites":40,"speed":28,"hex_longitude":"2d19f240","hex_latitude":"07202e30","is_valid_coordinates":true} 
[2026-07-07 18:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557859584001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4761447988985856,"note":"Value kept but may cause issues"} 
[2026-07-07 18:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861605157824292864,"note":"Value kept but may cause issues"} 
[2026-07-07 18:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783429151000,"timestamp_ms":1783429151000,"timestamp_seconds":1783429151,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca93918"} 
[2026-07-07 18:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-07 18:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557859584001,"66":14450,"121":206,"28":31744,"24":28,"16":4761447988985856,"45":1861605157824292864},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557859584001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:30:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:30:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4761447988985856,"km_value":4761447988985.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861605157824292864,"description":"Unknown IO ID 45"} 
[2026-07-07 18:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557859584001,"power":14450,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1861605157824292864}} 
[2026-07-07 18:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":124774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:30:46] local.INFO: GPS data processed {"connection_id":124774,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:30:46] local.INFO: Acknowledgment sent {"connection_id":124774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:30:59] local.INFO: TCP Data received {"connection_id":124775,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:30:59] local.INFO: Processing buffer {"connection_id":124775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:30:59] local.INFO: IMEI packet received {"connection_id":124775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 18:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":124775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:31:02] local.INFO: TCP Data received {"connection_id":124678,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:31:02] local.INFO: Processing buffer {"connection_id":124678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca78398012d7e3a4005d357a80009010b2e..."} 
[2026-07-07 18:31:02] local.INFO: Packet analysis {"connection_id":124678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:31:02] local.INFO: Extracted packet for processing {"connection_id":124678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca7"} 
[2026-07-07 18:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736616,"longitude_deg":76.3247168,"latitude_deg":9.7736616,"altitude":9,"angle":267,"satellites":46,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d357a8","is_valid_coordinates":true} 
[2026-07-07 18:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557758208001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103497433249480704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192891392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783429039000,"timestamp_ms":1783429039000,"timestamp_seconds":1783429039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca78398"} 
[2026-07-07 18:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:31:02] 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-07-07 18:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 18:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1351,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:31:02] 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-07-07 18:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557758208001,"66":12667,"109":206,"85":15104,"24":0,"16":103497433249480704,"45":9095652791192891392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557758208001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:31:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103497433249480704,"km_value":103497433249480.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192891392,"description":"Unknown IO ID 45"} 
[2026-07-07 18:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557758208001,"power":12667,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192891392}} 
[2026-07-07 18:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":124678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:31:02] local.INFO: GPS data processed {"connection_id":124678,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:31:02] local.INFO: Acknowledgment sent {"connection_id":124678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:31:03] local.INFO: TCP Data received {"connection_id":124776,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:31:03] local.INFO: Processing buffer {"connection_id":124776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:31:03] local.INFO: IMEI packet received {"connection_id":124776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":124776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:31:08] local.INFO: TCP Data received {"connection_id":124776,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:31:08] local.INFO: Processing buffer {"connection_id":124776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:31:08] local.INFO: IMEI packet received {"connection_id":124776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":124776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:31:09] local.INFO: TCP Data received {"connection_id":124776,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3caa2760012dc7c400052e4b080017004e2d..."} 
[2026-07-07 18:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3caa2760012dc7c400052e4b080017004e2d..."} 
[2026-07-07 18:31:09] local.INFO: Processing buffer {"connection_id":124776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3caa2760012dc7c400052e4b080017004e2d..."} 
[2026-07-07 18:31:09] local.INFO: Packet analysis {"connection_id":124776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3caa"} 
[2026-07-07 18:31:09] local.INFO: Extracted packet for processing {"connection_id":124776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3caa"} 
[2026-07-07 18:31:09] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":45,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 18:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557801216001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052113742475098112,"note":"Value kept but may cause issues"} 
[2026-07-07 18:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783429212000,"timestamp_ms":1783429212000,"timestamp_seconds":1783429212,"priority":1,"record_length":96,"hex_timestamp":"0000019f3caa2760"} 
[2026-07-07 18:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-07 18:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557801216001,"66":25604,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052113742475098112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557801216001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:31:09] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:31:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052113742475098112,"description":"Unknown IO ID 45"} 
[2026-07-07 18:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557801216001,"power":25604,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052113742475098112}} 
[2026-07-07 18:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":124776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:31:09] local.INFO: GPS data processed {"connection_id":124776,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:31:09] local.INFO: Acknowledgment sent {"connection_id":124776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:31:12] local.INFO: TCP Data received {"connection_id":124776,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3caa7968012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3caa7968012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:31:12] local.INFO: Processing buffer {"connection_id":124776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3caa7968012dc7c400052e4b080017004e2e..."} 
[2026-07-07 18:31:12] local.INFO: Packet analysis {"connection_id":124776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3caa"} 
[2026-07-07 18:31:12] local.INFO: Extracted packet for processing {"connection_id":124776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3caa"} 
[2026-07-07 18:31:12] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86919944,"longitude_deg":76.806656,"latitude_deg":8.6919944,"altitude":23,"angle":78,"satellites":46,"speed":0,"hex_longitude":"2dc7c400","hex_latitude":"052e4b08","is_valid_coordinates":true} 
[2026-07-07 18:31: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-07-07 18:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557878272001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052113742475098112,"note":"Value kept but may cause issues"} 
[2026-07-07 18:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783429233000,"timestamp_ms":1783429233000,"timestamp_seconds":1783429233,"priority":1,"record_length":96,"hex_timestamp":"0000019f3caa7968"} 
[2026-07-07 18:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:31: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-07-07 18: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 18:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557878272001,"66":25549,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052113742475098112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557878272001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:31:12] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:31:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052113742475098112,"description":"Unknown IO ID 45"} 
[2026-07-07 18:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557878272001,"power":25549,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052113742475098112}} 
[2026-07-07 18:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":124776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:31:12] local.INFO: GPS data processed {"connection_id":124776,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:31:12] local.INFO: Acknowledgment sent {"connection_id":124776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:31:17] local.INFO: TCP Data received {"connection_id":124774,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca948b8012d19fac0072033f00036003129..."} 
[2026-07-07 18:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca948b8012d19fac0072033f00036003129..."} 
[2026-07-07 18:31:17] local.INFO: Processing buffer {"connection_id":124774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca948b8012d19fac0072033f00036003129..."} 
[2026-07-07 18:31:17] local.INFO: Packet analysis {"connection_id":124774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca9"} 
[2026-07-07 18:31:17] local.INFO: Extracted packet for processing {"connection_id":124774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca9"} 
[2026-07-07 18:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756677312,"raw_latitude":119550960,"longitude_deg":75.6677312,"latitude_deg":11.955096,"altitude":54,"angle":49,"satellites":41,"speed":20,"hex_longitude":"2d19fac0","hex_latitude":"072033f0","is_valid_coordinates":true} 
[2026-07-07 18:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557862656001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4761576838004736,"note":"Value kept but may cause issues"} 
[2026-07-07 18:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869627194661023744,"note":"Value kept but may cause issues"} 
[2026-07-07 18: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-07-07 18:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783429155000,"timestamp_ms":1783429155000,"timestamp_seconds":1783429155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca948b8"} 
[2026-07-07 18:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-07 18:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557862656001,"66":14407,"121":206,"28":31744,"24":20,"16":4761576838004736,"45":1869627194661023744},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557862656001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:31:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:31:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4761576838004736,"km_value":4761576838004.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869627194661023744,"description":"Unknown IO ID 45"} 
[2026-07-07 18:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557862656001,"power":14407,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1869627194661023744}} 
[2026-07-07 18:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":124774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:31:17] local.INFO: GPS data processed {"connection_id":124774,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:31:17] local.INFO: Acknowledgment sent {"connection_id":124774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:31:33] local.INFO: TCP Data received {"connection_id":126737,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:31:33] local.INFO: Processing buffer {"connection_id":126737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:31:33] local.INFO: IMEI packet received {"connection_id":126737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":126737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:31:37] local.INFO: TCP Data received {"connection_id":126737,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:31:37] local.INFO: Processing buffer {"connection_id":126737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:31:37] local.INFO: IMEI packet received {"connection_id":126737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":126737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:31:39] local.INFO: TCP Data received {"connection_id":126737,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ca97b80012d1a0a8007204020003c003e27..."} 
[2026-07-07 18:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ca97b80012d1a0a8007204020003c003e27..."} 
[2026-07-07 18:31:39] local.INFO: Processing buffer {"connection_id":126737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ca97b80012d1a0a8007204020003c003e27..."} 
[2026-07-07 18:31:39] local.INFO: Packet analysis {"connection_id":126737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ca9"} 
[2026-07-07 18:31:39] local.INFO: Extracted packet for processing {"connection_id":126737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ca9"} 
[2026-07-07 18:31:39] local.INFO: GPS Element Parsed {"raw_longitude":756681344,"raw_latitude":119554080,"longitude_deg":75.6681344,"latitude_deg":11.955408,"altitude":60,"angle":62,"satellites":39,"speed":17,"hex_longitude":"2d1a0a80","hex_latitude":"07204020","is_valid_coordinates":true} 
[2026-07-07 18:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557863680001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4761821651140608,"note":"Value kept but may cause issues"} 
[2026-07-07 18:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872019731963441152,"note":"Value kept but may cause issues"} 
[2026-07-07 18:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783429168000,"timestamp_ms":1783429168000,"timestamp_seconds":1783429168,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ca97b80"} 
[2026-07-07 18:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 18:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557863680001,"66":14004,"121":206,"28":31744,"24":17,"16":4761821651140608,"45":1872019731963441152},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557863680001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:31:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:31:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4761821651140608,"km_value":4761821651140.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872019731963441152,"description":"Unknown IO ID 45"} 
[2026-07-07 18:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557863680001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1872019731963441152}} 
[2026-07-07 18:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":126737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:31:39] local.INFO: GPS data processed {"connection_id":126737,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:31:39] local.INFO: Acknowledgment sent {"connection_id":126737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:31:43] local.INFO: TCP Data received {"connection_id":124776,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3caad340012dc7c540052e4b380017004e2d..."} 
[2026-07-07 18:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3caad340012dc7c540052e4b380017004e2d..."} 
[2026-07-07 18:31:43] local.INFO: Processing buffer {"connection_id":124776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3caad340012dc7c540052e4b380017004e2d..."} 
[2026-07-07 18:31:43] local.INFO: Packet analysis {"connection_id":124776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3caa"} 
[2026-07-07 18:31:43] local.INFO: Extracted packet for processing {"connection_id":124776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3caa"} 
[2026-07-07 18:31:43] local.INFO: GPS Element Parsed {"raw_longitude":768066880,"raw_latitude":86919992,"longitude_deg":76.806688,"latitude_deg":8.6919992,"altitude":23,"angle":78,"satellites":45,"speed":0,"hex_longitude":"2dc7c540","hex_latitude":"052e4b38","is_valid_coordinates":true} 
[2026-07-07 18:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557883648001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052113742475098112,"note":"Value kept but may cause issues"} 
[2026-07-07 18:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783429256000,"timestamp_ms":1783429256000,"timestamp_seconds":1783429256,"priority":1,"record_length":96,"hex_timestamp":"0000019f3caad340"} 
[2026-07-07 18:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:31: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-07-07 18: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 18:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557883648001,"66":26963,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4052113742475098112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557883648001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:31:43] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:31:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052113742475098112,"description":"Unknown IO ID 45"} 
[2026-07-07 18:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557883648001,"power":26963,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052113742475098112}} 
[2026-07-07 18:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":124776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:31:43] local.INFO: GPS data processed {"connection_id":124776,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:31:43] local.INFO: Acknowledgment sent {"connection_id":124776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:31:58] local.INFO: TCP Data received {"connection_id":126738,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:31:58] local.INFO: Processing buffer {"connection_id":126738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:31:58] local.INFO: IMEI packet received {"connection_id":126738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":126738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:32:03] local.INFO: TCP Data received {"connection_id":126738,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:32:03] local.INFO: Processing buffer {"connection_id":126738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:32:03] local.INFO: IMEI packet received {"connection_id":126738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":126738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:32:04] local.INFO: TCP Data received {"connection_id":126738,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cab2548012dc7c540052e4b380017004e2e..."} 
[2026-07-07 18:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cab2548012dc7c540052e4b380017004e2e..."} 
[2026-07-07 18:32:04] local.INFO: Processing buffer {"connection_id":126738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cab2548012dc7c540052e4b380017004e2e..."} 
[2026-07-07 18:32:04] local.INFO: Packet analysis {"connection_id":126738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cab"} 
[2026-07-07 18:32:04] local.INFO: Extracted packet for processing {"connection_id":126738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cab"} 
[2026-07-07 18:32:04] local.INFO: GPS Element Parsed {"raw_longitude":768066880,"raw_latitude":86919992,"longitude_deg":76.806688,"latitude_deg":8.6919992,"altitude":23,"angle":78,"satellites":46,"speed":0,"hex_longitude":"2dc7c540","hex_latitude":"052e4b38","is_valid_coordinates":true} 
[2026-07-07 18:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557889536001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699948733005824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4051761898754197504,"note":"Value kept but may cause issues"} 
[2026-07-07 18:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783429277000,"timestamp_ms":1783429277000,"timestamp_seconds":1783429277,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cab2548"} 
[2026-07-07 18:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-07-07 18:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557889536001,"66":27713,"149":206,"80":35072,"24":0,"16":341699948733005824,"45":-4051761898754197504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557889536001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:32:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:32:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699948733005824,"km_value":341699948733005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4051761898754197504,"description":"Unknown IO ID 45"} 
[2026-07-07 18:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557889536001,"power":27713,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4051761898754197504}} 
[2026-07-07 18:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":126738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:32:04] local.INFO: GPS data processed {"connection_id":126738,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:32:04] local.INFO: Acknowledgment sent {"connection_id":126738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:32:11] local.INFO: TCP Data received {"connection_id":126737,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cab5428012d1a67c007204d20003f00cb29..."} 
[2026-07-07 18:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cab5428012d1a67c007204d20003f00cb29..."} 
[2026-07-07 18:32:11] local.INFO: Processing buffer {"connection_id":126737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cab5428012d1a67c007204d20003f00cb29..."} 
[2026-07-07 18:32:11] local.INFO: Packet analysis {"connection_id":126737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cab"} 
[2026-07-07 18:32:11] local.INFO: Extracted packet for processing {"connection_id":126737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cab"} 
[2026-07-07 18:32:11] local.INFO: GPS Element Parsed {"raw_longitude":756705216,"raw_latitude":119557408,"longitude_deg":75.6705216,"latitude_deg":11.9557408,"altitude":63,"angle":203,"satellites":41,"speed":9,"hex_longitude":"2d1a67c0","hex_latitude":"07204d20","is_valid_coordinates":true} 
[2026-07-07 18:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557897472001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4763157385969664,"note":"Value kept but may cause issues"} 
[2026-07-07 18:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902841241915021312,"note":"Value kept but may cause issues"} 
[2026-07-07 18: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-07-07 18:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783429289000,"timestamp_ms":1783429289000,"timestamp_seconds":1783429289,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cab5428"} 
[2026-07-07 18:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":180,"data_length":795,"current_offset":136} 
[2026-07-07 18:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557897472001,"66":14026,"121":206,"28":31744,"24":9,"16":4763157385969664,"45":1902841241915021312},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557897472001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:32:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:32:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4763157385969664,"km_value":4763157385969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902841241915021312,"description":"Unknown IO ID 45"} 
[2026-07-07 18:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557897472001,"power":14026,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1902841241915021312}} 
[2026-07-07 18:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":126737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:32:11] local.INFO: GPS data processed {"connection_id":126737,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:32:11] local.INFO: Acknowledgment sent {"connection_id":126737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:32:34] local.INFO: TCP Data received {"connection_id":124679,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:32:34] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:32:34] local.INFO: IMEI packet received {"connection_id":124679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":124679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:32:35] local.INFO: TCP Data received {"connection_id":124679,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:32:35] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:32:35] local.INFO: IMEI packet received {"connection_id":124679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":124679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:32:37] local.INFO: TCP Data received {"connection_id":126738,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cab4870012dc7c440052e4c38002301092f..."} 
[2026-07-07 18:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cab4870012dc7c440052e4c38002301092f..."} 
[2026-07-07 18:32:37] local.INFO: Processing buffer {"connection_id":126738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cab4870012dc7c440052e4c38002301092f..."} 
[2026-07-07 18:32:37] local.INFO: Packet analysis {"connection_id":126738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cab"} 
[2026-07-07 18:32:37] local.INFO: Extracted packet for processing {"connection_id":126738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cab"} 
[2026-07-07 18:32:37] local.INFO: GPS Element Parsed {"raw_longitude":768066624,"raw_latitude":86920248,"longitude_deg":76.8066624,"latitude_deg":8.6920248,"altitude":35,"angle":265,"satellites":47,"speed":2,"hex_longitude":"2dc7c440","hex_latitude":"052e4c38","is_valid_coordinates":true} 
[2026-07-07 18:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557894912001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699965912875008,"note":"Value kept but may cause issues"} 
[2026-07-07 18:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4051761898754197504,"note":"Value kept but may cause issues"} 
[2026-07-07 18:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783429286000,"timestamp_ms":1783429286000,"timestamp_seconds":1783429286,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cab4870"} 
[2026-07-07 18:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-07 18:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557894912001,"66":27876,"149":206,"80":35072,"24":2,"16":341699965912875008,"45":-4051761898754197504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557894912001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:32:37] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:32:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699965912875008,"km_value":341699965912875.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4051761898754197504,"description":"Unknown IO ID 45"} 
[2026-07-07 18:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557894912001,"power":27876,"unknown_149":206,"unknown_80":35072,"ignition":2,"odometer":null,"unknown_45":-4051761898754197504}} 
[2026-07-07 18:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":126738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:32:37] local.INFO: GPS data processed {"connection_id":126738,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:32:37] local.INFO: Acknowledgment sent {"connection_id":126738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:32:38] local.INFO: TCP Data received {"connection_id":124679,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:32:38] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:32:38] local.INFO: IMEI packet received {"connection_id":124679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":124679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:32:39] local.INFO: TCP Data received {"connection_id":124679,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cab5810012d1a674007204c78003f00e929..."} 
[2026-07-07 18:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cab5810012d1a674007204c78003f00e929..."} 
[2026-07-07 18:32:39] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cab5810012d1a674007204c78003f00e929..."} 
[2026-07-07 18:32:39] local.INFO: Packet analysis {"connection_id":124679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cab"} 
[2026-07-07 18:32:39] local.INFO: Extracted packet for processing {"connection_id":124679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cab"} 
[2026-07-07 18:32:39] local.INFO: GPS Element Parsed {"raw_longitude":756705088,"raw_latitude":119557240,"longitude_deg":75.6705088,"latitude_deg":11.955724,"altitude":63,"angle":233,"satellites":41,"speed":8,"hex_longitude":"2d1a6740","hex_latitude":"07204c78","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557897984001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4763165975904256,"note":"Value kept but may cause issues"} 
[2026-07-07 18:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902700504426553344,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 18:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783429290000,"timestamp_ms":1783429290000,"timestamp_seconds":1783429290,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cab5810"} 
[2026-07-07 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-07-07 18:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-07 18:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 18:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557897984001,"66":13993,"121":206,"28":31744,"24":8,"16":4763165975904256,"45":1902700504426553344},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557897984001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:32:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:32:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4763165975904256,"km_value":4763165975904.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902700504426553344,"description":"Unknown IO ID 45"} 
[2026-07-07 18:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557897984001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1902700504426553344}} 
[2026-07-07 18:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":124679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:32:39] local.INFO: GPS data processed {"connection_id":124679,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:32:39] local.INFO: Acknowledgment sent {"connection_id":124679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:32:58] local.INFO: TCP Data received {"connection_id":125482,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:32:58] local.INFO: Processing buffer {"connection_id":125482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:32:58] local.INFO: IMEI packet received {"connection_id":125482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":125482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:33:03] local.INFO: TCP Data received {"connection_id":125482,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:33:03] local.INFO: Processing buffer {"connection_id":125482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:33:03] local.INFO: IMEI packet received {"connection_id":125482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":125482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:33:05] local.INFO: TCP Data received {"connection_id":125482,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cab5040012dc7c380052e4c28002201182f..."} 
[2026-07-07 18:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cab5040012dc7c380052e4c28002201182f..."} 
[2026-07-07 18:33:05] local.INFO: Processing buffer {"connection_id":125482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cab5040012dc7c380052e4c28002201182f..."} 
[2026-07-07 18:33:05] local.INFO: Packet analysis {"connection_id":125482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cab"} 
[2026-07-07 18:33:05] local.INFO: Extracted packet for processing {"connection_id":125482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cab"} 
[2026-07-07 18:33:05] local.INFO: GPS Element Parsed {"raw_longitude":768066432,"raw_latitude":86920232,"longitude_deg":76.8066432,"latitude_deg":8.6920232,"altitude":34,"angle":280,"satellites":47,"speed":3,"hex_longitude":"2dc7c380","hex_latitude":"052e4c28","is_valid_coordinates":true} 
[2026-07-07 18:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557897216001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341699978797776896,"note":"Value kept but may cause issues"} 
[2026-07-07 18:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052043373730842624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783429288000,"timestamp_ms":1783429288000,"timestamp_seconds":1783429288,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cab5040"} 
[2026-07-07 18:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 18:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557897216001,"66":27843,"149":206,"80":35072,"24":3,"16":341699978797776896,"45":-4052043373730842624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-07 18:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557897216001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:33:05] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-07 18:33:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341699978797776896,"km_value":341699978797776.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052043373730842624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557897216001,"power":27843,"unknown_149":206,"unknown_80":35072,"ignition":3,"odometer":null,"unknown_45":-4052043373730842624}} 
[2026-07-07 18:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":125482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:33:05] local.INFO: GPS data processed {"connection_id":125482,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:33:05] local.INFO: Acknowledgment sent {"connection_id":125482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:33:10] local.INFO: TCP Data received {"connection_id":124679,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cab5bf8012d1a668007204c28003f010229..."} 
[2026-07-07 18:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cab5bf8012d1a668007204c28003f010229..."} 
[2026-07-07 18:33:10] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cab5bf8012d1a668007204c28003f010229..."} 
[2026-07-07 18:33:10] local.INFO: Packet analysis {"connection_id":124679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cab"} 
[2026-07-07 18:33:10] local.INFO: Extracted packet for processing {"connection_id":124679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cab"} 
[2026-07-07 18:33:10] local.INFO: GPS Element Parsed {"raw_longitude":756704896,"raw_latitude":119557160,"longitude_deg":75.6704896,"latitude_deg":11.955716,"altitude":63,"angle":258,"satellites":41,"speed":9,"hex_longitude":"2d1a6680","hex_latitude":"07204c28","is_valid_coordinates":true} 
[2026-07-07 18:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557898240001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4763178860806144,"note":"Value kept but may cause issues"} 
[2026-07-07 18:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902559766938155008,"note":"Value kept but may cause issues"} 
[2026-07-07 18:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783429291000,"timestamp_ms":1783429291000,"timestamp_seconds":1783429291,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cab5bf8"} 
[2026-07-07 18:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-07 18:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557898240001,"66":13993,"121":206,"28":31744,"24":9,"16":4763178860806144,"45":1902559766938155008},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557898240001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:33:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:33:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4763178860806144,"km_value":4763178860806.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902559766938155008,"description":"Unknown IO ID 45"} 
[2026-07-07 18:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557898240001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1902559766938155008}} 
[2026-07-07 18:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":124679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:33:10] local.INFO: GPS data processed {"connection_id":124679,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:33:10] local.INFO: Acknowledgment sent {"connection_id":124679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:33:33] local.INFO: TCP Data received {"connection_id":124680,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:33:33] local.INFO: Processing buffer {"connection_id":124680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:33:33] local.INFO: IMEI packet received {"connection_id":124680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":124680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:33:33] local.INFO: TCP Data received {"connection_id":124680,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:33:33] local.INFO: Processing buffer {"connection_id":124680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:33:33] local.INFO: IMEI packet received {"connection_id":124680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":124680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:33:37] local.INFO: TCP Data received {"connection_id":125482,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cac32d0012dc7d480052e5fc8001a00362f..."} 
[2026-07-07 18:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cac32d0012dc7d480052e5fc8001a00362f..."} 
[2026-07-07 18:33:37] local.INFO: Processing buffer {"connection_id":125482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cac32d0012dc7d480052e5fc8001a00362f..."} 
[2026-07-07 18:33:37] local.INFO: Packet analysis {"connection_id":125482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cac"} 
[2026-07-07 18:33:37] local.INFO: Extracted packet for processing {"connection_id":125482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cac"} 
[2026-07-07 18:33:37] local.INFO: GPS Element Parsed {"raw_longitude":768070784,"raw_latitude":86925256,"longitude_deg":76.8070784,"latitude_deg":8.6925256,"altitude":26,"angle":54,"satellites":47,"speed":14,"hex_longitude":"2dc7d480","hex_latitude":"052e5fc8","is_valid_coordinates":true} 
[2026-07-07 18:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557907200001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341700352459931648,"note":"Value kept but may cause issues"} 
[2026-07-07 18:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4051832267498014720,"note":"Value kept but may cause issues"} 
[2026-07-07 18:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783429346000,"timestamp_ms":1783429346000,"timestamp_seconds":1783429346,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cac32d0"} 
[2026-07-07 18:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 18:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557907200001,"66":27800,"194":206,"80":35072,"24":14,"16":341700352459931648,"45":-4051832267498014720},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-07-07 18:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557907200001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:33:37] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-07 18:33:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341700352459931648,"km_value":341700352459931.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4051832267498014720,"description":"Unknown IO ID 45"} 
[2026-07-07 18:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557907200001,"power":27800,"unknown_194":206,"unknown_80":35072,"ignition":14,"odometer":null,"unknown_45":-4051832267498014720}} 
[2026-07-07 18:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":125482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:33:37] local.INFO: GPS data processed {"connection_id":125482,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:33:37] local.INFO: Acknowledgment sent {"connection_id":125482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:33:39] local.INFO: TCP Data received {"connection_id":124680,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:33:39] local.INFO: Processing buffer {"connection_id":124680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:33:39] local.INFO: IMEI packet received {"connection_id":124680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":124680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:33:40] local.INFO: TCP Data received {"connection_id":124680,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cac6980012d19d4c0072026a8003500f82b..."} 
[2026-07-07 18:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cac6980012d19d4c0072026a8003500f82b..."} 
[2026-07-07 18:33:40] local.INFO: Processing buffer {"connection_id":124680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cac6980012d19d4c0072026a8003500f82b..."} 
[2026-07-07 18:33:40] local.INFO: Packet analysis {"connection_id":124680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cac"} 
[2026-07-07 18:33:40] local.INFO: Extracted packet for processing {"connection_id":124680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cac"} 
[2026-07-07 18:33:40] local.INFO: GPS Element Parsed {"raw_longitude":756667584,"raw_latitude":119547560,"longitude_deg":75.6667584,"latitude_deg":11.954756,"altitude":53,"angle":248,"satellites":43,"speed":16,"hex_longitude":"2d19d4c0","hex_latitude":"072026a8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557914880001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4765060056481792,"note":"Value kept but may cause issues"} 
[2026-07-07 18:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864419907591475200,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 18:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783429360000,"timestamp_ms":1783429360000,"timestamp_seconds":1783429360,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cac6980"} 
[2026-07-07 18:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 18:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557914880001,"66":14363,"121":206,"28":31744,"24":16,"16":4765060056481792,"45":1864419907591475200},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557914880001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:33:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:33:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4765060056481792,"km_value":4765060056481.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864419907591475200,"description":"Unknown IO ID 45"} 
[2026-07-07 18:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557914880001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1864419907591475200}} 
[2026-07-07 18:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":124680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:33:40] local.INFO: GPS data processed {"connection_id":124680,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:33:40] local.INFO: Acknowledgment sent {"connection_id":124680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:33:58] local.INFO: TCP Data received {"connection_id":124681,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:33:58] local.INFO: Processing buffer {"connection_id":124681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:33:58] local.INFO: IMEI packet received {"connection_id":124681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":124681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:34:03] local.INFO: TCP Data received {"connection_id":124681,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:34:03] local.INFO: Processing buffer {"connection_id":124681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:34:03] local.INFO: IMEI packet received {"connection_id":124681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":124681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:34:03] local.INFO: TCP Data received {"connection_id":124681,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:34:03] local.INFO: Processing buffer {"connection_id":124681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:34:03] local.INFO: IMEI packet received {"connection_id":124681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":124681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:34:04] local.INFO: TCP Data received {"connection_id":124681,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cac4e28012dc7de80052e6580001a00422f..."} 
[2026-07-07 18:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cac4e28012dc7de80052e6580001a00422f..."} 
[2026-07-07 18:34:04] local.INFO: Processing buffer {"connection_id":124681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cac4e28012dc7de80052e6580001a00422f..."} 
[2026-07-07 18:34:04] local.INFO: Packet analysis {"connection_id":124681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cac"} 
[2026-07-07 18:34:04] local.INFO: Extracted packet for processing {"connection_id":124681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cac"} 
[2026-07-07 18:34:04] local.INFO: GPS Element Parsed {"raw_longitude":768073344,"raw_latitude":86926720,"longitude_deg":76.8073344,"latitude_deg":8.692672,"altitude":26,"angle":66,"satellites":47,"speed":21,"hex_longitude":"2dc7de80","hex_latitude":"052e6580","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557912576001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341700494193852416,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4047469405358012416,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783429353000,"timestamp_ms":1783429353000,"timestamp_seconds":1783429353,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cac4e28"} 
[2026-07-07 18:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 18:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557912576001,"66":27865,"194":206,"80":35072,"24":21,"16":341700494193852416,"45":-4047469405358012416},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-07-07 18:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557912576001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:34:04] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-07 18:34:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341700494193852416,"km_value":341700494193852.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4047469405358012416,"description":"Unknown IO ID 45"} 
[2026-07-07 18:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557912576001,"power":27865,"unknown_194":206,"unknown_80":35072,"ignition":21,"odometer":null,"unknown_45":-4047469405358012416}} 
[2026-07-07 18:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":124681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:34:04] local.INFO: GPS data processed {"connection_id":124681,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:34:04] local.INFO: Acknowledgment sent {"connection_id":124681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:34:09] local.INFO: TCP Data received {"connection_id":124681,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cac84d8012dc80000052e7068001d00472c..."} 
[2026-07-07 18:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cac84d8012dc80000052e7068001d00472c..."} 
[2026-07-07 18:34:09] local.INFO: Processing buffer {"connection_id":124681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cac84d8012dc80000052e7068001d00472c..."} 
[2026-07-07 18:34:09] local.INFO: Packet analysis {"connection_id":124681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cac"} 
[2026-07-07 18:34:09] local.INFO: Extracted packet for processing {"connection_id":124681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cac"} 
[2026-07-07 18:34:09] local.INFO: GPS Element Parsed {"raw_longitude":768081920,"raw_latitude":86929512,"longitude_deg":76.808192,"latitude_deg":8.6929512,"altitude":29,"angle":71,"satellites":44,"speed":26,"hex_longitude":"2dc80000","hex_latitude":"052e7068","is_valid_coordinates":true} 
[2026-07-07 18:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557914368001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341700927985549312,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4044654655590531072,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783429367000,"timestamp_ms":1783429367000,"timestamp_seconds":1783429367,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cac84d8"} 
[2026-07-07 18:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:34: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-07-07 18:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 18:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557914368001,"66":27930,"194":206,"80":35072,"24":26,"16":341700927985549312,"45":-4044654655590531072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-07-07 18:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557914368001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:34:09] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-07 18:34:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341700927985549312,"km_value":341700927985549.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4044654655590531072,"description":"Unknown IO ID 45"} 
[2026-07-07 18:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557914368001,"power":27930,"unknown_194":206,"unknown_80":35072,"ignition":26,"odometer":null,"unknown_45":-4044654655590531072}} 
[2026-07-07 18:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":124681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:34:09] local.INFO: GPS data processed {"connection_id":124681,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:34:09] local.INFO: Acknowledgment sent {"connection_id":124681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:34:12] local.INFO: TCP Data received {"connection_id":124680,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cac6d68012d19d38007202598003600e02c..."} 
[2026-07-07 18:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cac6d68012d19d38007202598003600e02c..."} 
[2026-07-07 18:34:12] local.INFO: Processing buffer {"connection_id":124680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cac6d68012d19d38007202598003600e02c..."} 
[2026-07-07 18:34:12] local.INFO: Packet analysis {"connection_id":124680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cac"} 
[2026-07-07 18:34:12] local.INFO: Extracted packet for processing {"connection_id":124680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cac"} 
[2026-07-07 18:34:12] local.INFO: GPS Element Parsed {"raw_longitude":756667264,"raw_latitude":119547288,"longitude_deg":75.6667264,"latitude_deg":11.9547288,"altitude":54,"angle":224,"satellites":44,"speed":16,"hex_longitude":"2d19d380","hex_latitude":"07202598","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557916160001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4765077236350976,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861323682847565824,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 18:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783429361000,"timestamp_ms":1783429361000,"timestamp_seconds":1783429361,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cac6d68"} 
[2026-07-07 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-07-07 18:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-07 18:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 18:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557916160001,"66":14363,"121":206,"28":31744,"24":16,"16":4765077236350976,"45":1861323682847565824},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557916160001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:34:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:34:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4765077236350976,"km_value":4765077236350.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861323682847565824,"description":"Unknown IO ID 45"} 
[2026-07-07 18:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557916160001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1861323682847565824}} 
[2026-07-07 18:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":124680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:34:12] local.INFO: GPS data processed {"connection_id":124680,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:34:12] local.INFO: Acknowledgment sent {"connection_id":124680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:34:18] local.INFO: TCP Data received {"connection_id":125484,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:34:18] local.INFO: Processing buffer {"connection_id":125484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:34:18] local.INFO: IMEI packet received {"connection_id":125484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":125484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:34:20] local.INFO: TCP Data received {"connection_id":125484,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:34:20] local.INFO: Processing buffer {"connection_id":125484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:34:20] local.INFO: IMEI packet received {"connection_id":125484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":125484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:34:22] local.INFO: TCP Data received {"connection_id":125484,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:34:22] local.INFO: Processing buffer {"connection_id":125484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:34:22] local.INFO: IMEI packet received {"connection_id":125484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":125484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:34:23] local.INFO: TCP Data received {"connection_id":125484,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cad7708012d7e3d8005d359f8000400001e..."} 
[2026-07-07 18:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cad7708012d7e3d8005d359f8000400001e..."} 
[2026-07-07 18:34:23] local.INFO: Processing buffer {"connection_id":125484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cad7708012d7e3d8005d359f8000400001e..."} 
[2026-07-07 18:34:23] local.INFO: Packet analysis {"connection_id":125484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cad"} 
[2026-07-07 18:34:23] local.INFO: Extracted packet for processing {"connection_id":125484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cad"} 
[2026-07-07 18:34:23] local.INFO: GPS Element Parsed {"raw_longitude":763248000,"raw_latitude":97737208,"longitude_deg":76.3248,"latitude_deg":9.7737208,"altitude":4,"angle":0,"satellites":30,"speed":0,"hex_longitude":"2d7e3d80","hex_latitude":"05d359f8","is_valid_coordinates":true} 
[2026-07-07 18:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103497755372027904,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 18:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783429429000,"timestamp_ms":1783429429000,"timestamp_seconds":1783429429,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cad7708"} 
[2026-07-07 18:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:34:23] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-07 18:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":504403158433268736,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:23] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:23] local.WARNING: Large IO value detected {"io_id":60,"raw_value":-6016545214318104512,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-07 18:34:23] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366669,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:23] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2997223424,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3217953875017319891,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:23] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964234862513749,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:23] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:23] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,24,241,16,178,159,60,10,66,1,240,9,45,211,4,113,205,85,160,55,216,43,239,49,109,2,157,111,5,8,50,59,148],"length":535,"final_offset":665,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-07 18:34:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":240,"timestamp_seconds":0.24,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 18:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12885,"109":206,"85":15104,"24":0,"16":103497755372027904},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-07-07 18:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-07 18:34:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:34:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103497755372027904,"km_value":103497755372027.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:34:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12885,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-07 18:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":125484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:34:23] local.INFO: GPS data processed {"connection_id":125484,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:34:23] local.INFO: Acknowledgment sent {"connection_id":125484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:34:33] local.INFO: TCP Data received {"connection_id":124682,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:34:33] local.INFO: Processing buffer {"connection_id":124682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:34:33] local.INFO: IMEI packet received {"connection_id":124682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":124682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:34:38] local.INFO: TCP Data received {"connection_id":124682,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:34:38] local.INFO: Processing buffer {"connection_id":124682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:34:38] local.INFO: IMEI packet received {"connection_id":124682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":124682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:34:40] local.INFO: TCP Data received {"connection_id":124681,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cacd6e0012dc81f80052e7988001b004d2d..."} 
[2026-07-07 18:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cacd6e0012dc81f80052e7988001b004d2d..."} 
[2026-07-07 18:34:40] local.INFO: Processing buffer {"connection_id":124681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cacd6e0012dc81f80052e7988001b004d2d..."} 
[2026-07-07 18:34:40] local.INFO: Packet analysis {"connection_id":124681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cac"} 
[2026-07-07 18:34:40] local.INFO: Extracted packet for processing {"connection_id":124681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cac"} 
[2026-07-07 18:34:40] local.INFO: GPS Element Parsed {"raw_longitude":768089984,"raw_latitude":86931848,"longitude_deg":76.8089984,"latitude_deg":8.6931848,"altitude":27,"angle":77,"satellites":45,"speed":13,"hex_longitude":"2dc81f80","hex_latitude":"052e7988","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557917952001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341701331712475136,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4035225243870009344,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783429388000,"timestamp_ms":1783429388000,"timestamp_seconds":1783429388,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cacd6e0"} 
[2026-07-07 18:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18: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-07-07 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 18:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:34: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-07-07 18:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557917952001,"66":27745,"194":206,"80":35072,"24":13,"16":341701331712475136,"45":-4035225243870009344},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-07-07 18:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557917952001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:34:40] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-07 18:34:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341701331712475136,"km_value":341701331712475.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4035225243870009344,"description":"Unknown IO ID 45"} 
[2026-07-07 18:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557917952001,"power":27745,"unknown_194":206,"unknown_80":35072,"ignition":13,"odometer":null,"unknown_45":-4035225243870009344}} 
[2026-07-07 18:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":124681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:34:40] local.INFO: GPS data processed {"connection_id":124681,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:34:40] local.INFO: Acknowledgment sent {"connection_id":124681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:34:41] local.INFO: TCP Data received {"connection_id":124682,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cad3888012d19acc0072092000034000d2c..."} 
[2026-07-07 18:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cad3888012d19acc0072092000034000d2c..."} 
[2026-07-07 18:34:41] local.INFO: Processing buffer {"connection_id":124682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cad3888012d19acc0072092000034000d2c..."} 
[2026-07-07 18:34:41] local.INFO: Packet analysis {"connection_id":124682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cad"} 
[2026-07-07 18:34:41] local.INFO: Extracted packet for processing {"connection_id":124682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cad"} 
[2026-07-07 18:34:41] local.INFO: GPS Element Parsed {"raw_longitude":756657344,"raw_latitude":119575040,"longitude_deg":75.6657344,"latitude_deg":11.957504,"altitude":52,"angle":13,"satellites":44,"speed":30,"hex_longitude":"2d19acc0","hex_latitude":"07209200","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557928960001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4766730798759936,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850135052529756160,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783429413000,"timestamp_ms":1783429413000,"timestamp_seconds":1783429413,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cad3888"} 
[2026-07-07 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-07-07 18:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 18:34: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-07-07 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-07-07 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-07-07 18:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557928960001,"66":14483,"121":206,"28":31744,"24":30,"16":4766730798759936,"45":1850135052529756160},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557928960001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:34:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:34:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4766730798759936,"km_value":4766730798759.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850135052529756160,"description":"Unknown IO ID 45"} 
[2026-07-07 18:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557928960001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1850135052529756160}} 
[2026-07-07 18:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":124682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:34:41] local.INFO: GPS data processed {"connection_id":124682,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:34:41] local.INFO: Acknowledgment sent {"connection_id":124682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:34:54] local.INFO: TCP Data received {"connection_id":125484,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cae51c8012d7e560005d357a8000801462c..."} 
[2026-07-07 18:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cae51c8012d7e560005d357a8000801462c..."} 
[2026-07-07 18:34:54] local.INFO: Processing buffer {"connection_id":125484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cae51c8012d7e560005d357a8000801462c..."} 
[2026-07-07 18:34:54] local.INFO: Packet analysis {"connection_id":125484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cae"} 
[2026-07-07 18:34:54] local.INFO: Extracted packet for processing {"connection_id":125484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cae"} 
[2026-07-07 18:34:54] local.INFO: GPS Element Parsed {"raw_longitude":763254272,"raw_latitude":97736616,"longitude_deg":76.3254272,"latitude_deg":9.7736616,"altitude":8,"angle":326,"satellites":44,"speed":4,"hex_longitude":"2d7e5600","hex_latitude":"05d357a8","is_valid_coordinates":true} 
[2026-07-07 18:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557947904001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103498133329149952,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103604459284938752,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783429485000,"timestamp_ms":1783429485000,"timestamp_seconds":1783429485,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cae51c8"} 
[2026-07-07 18:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:34: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-07-07 18:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-07 18:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":360287970357412864,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:54] local.WARNING: Large IO value detected {"io_id":178,"raw_value":4227858432,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:54] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2147865431,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:54] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:54] local.WARNING: Large IO value detected {"io_id":60,"raw_value":-5902196005029390784,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-07 18:34:54] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3892391294,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:54] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495757,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:54] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3002662912,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3218358495296347092,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:54] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521790058902532523,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:54] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-07-07 18:34:54] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,85,24,241,157,16,178,159,73,45,128,86,8,44,10,66,70,58,1,240,227,60,211,4,113,205,34,32,239,47,2,111,5,3,49,59,248],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-07 18:34:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576832576212369408,"timestamp_seconds":576832576212369.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 18:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557947904001,"66":12809,"109":206,"85":15104,"24":4,"16":103498133329149952,"45":9103604459284938752},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557947904001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:34:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:34:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103498133329149952,"km_value":103498133329149.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103604459284938752,"description":"Unknown IO ID 45"} 
[2026-07-07 18:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557947904001,"power":12809,"unknown_109":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9103604459284938752}} 
[2026-07-07 18:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":125484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:34:54] local.INFO: GPS data processed {"connection_id":125484,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:34:54] local.INFO: Acknowledgment sent {"connection_id":125484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:34:58] local.INFO: TCP Data received {"connection_id":124779,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:34:58] local.INFO: Processing buffer {"connection_id":124779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:34:58] local.INFO: IMEI packet received {"connection_id":124779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":124779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:35:02] local.INFO: TCP Data received {"connection_id":124779,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:35:02] local.INFO: Processing buffer {"connection_id":124779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:35:02] local.INFO: IMEI packet received {"connection_id":124779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":124779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:35:03] local.INFO: TCP Data received {"connection_id":124779,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:35:03] local.INFO: Processing buffer {"connection_id":124779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:35:03] local.INFO: IMEI packet received {"connection_id":124779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":124779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:35:04] local.INFO: TCP Data received {"connection_id":124779,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cad1560012dc84340052e8198001d00512e..."} 
[2026-07-07 18:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cad1560012dc84340052e8198001d00512e..."} 
[2026-07-07 18:35:04] local.INFO: Processing buffer {"connection_id":124779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cad1560012dc84340052e8198001d00512e..."} 
[2026-07-07 18:35:04] local.INFO: Packet analysis {"connection_id":124779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cad"} 
[2026-07-07 18:35:04] local.INFO: Extracted packet for processing {"connection_id":124779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cad"} 
[2026-07-07 18:35:04] local.INFO: GPS Element Parsed {"raw_longitude":768099136,"raw_latitude":86933912,"longitude_deg":76.8099136,"latitude_deg":8.6933912,"altitude":29,"angle":81,"satellites":46,"speed":27,"hex_longitude":"2dc84340","hex_latitude":"052e8198","is_valid_coordinates":true} 
[2026-07-07 18:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557923328001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341701782684041216,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4026358782103025664,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783429404000,"timestamp_ms":1783429404000,"timestamp_seconds":1783429404,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cad1560"} 
[2026-07-07 18:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 18:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557923328001,"66":27876,"194":206,"80":35072,"24":27,"16":341701782684041216,"45":-4026358782103025664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-07-07 18:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557923328001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:35:04] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-07 18:35:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341701782684041216,"km_value":341701782684041.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4026358782103025664,"description":"Unknown IO ID 45"} 
[2026-07-07 18:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557923328001,"power":27876,"unknown_194":206,"unknown_80":35072,"ignition":27,"odometer":null,"unknown_45":-4026358782103025664}} 
[2026-07-07 18:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":124779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:35:04] local.INFO: GPS data processed {"connection_id":124779,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:35:04] local.INFO: Acknowledgment sent {"connection_id":124779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:35:13] local.INFO: TCP Data received {"connection_id":124682,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cad3c70012d19ae00072094b00034001c2b..."} 
[2026-07-07 18:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cad3c70012d19ae00072094b00034001c2b..."} 
[2026-07-07 18:35:13] local.INFO: Processing buffer {"connection_id":124682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cad3c70012d19ae00072094b00034001c2b..."} 
[2026-07-07 18:35:13] local.INFO: Packet analysis {"connection_id":124682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cad"} 
[2026-07-07 18:35:13] local.INFO: Extracted packet for processing {"connection_id":124682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cad"} 
[2026-07-07 18:35:13] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119575728,"longitude_deg":75.6657664,"latitude_deg":11.9575728,"altitude":52,"angle":28,"satellites":43,"speed":29,"hex_longitude":"2d19ae00","hex_latitude":"072094b0","is_valid_coordinates":true} 
[2026-07-07 18:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557929728001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4766769453465600,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683786174464,"note":"Value kept but may cause issues"} 
[2026-07-07 18: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-07-07 18:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783429414000,"timestamp_ms":1783429414000,"timestamp_seconds":1783429414,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cad3c70"} 
[2026-07-07 18:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 18:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557929728001,"66":14483,"121":206,"28":31744,"24":29,"16":4766769453465600,"45":1850064683786174464},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557929728001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:35:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:35:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4766769453465600,"km_value":4766769453465.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683786174464,"description":"Unknown IO ID 45"} 
[2026-07-07 18:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557929728001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1850064683786174464}} 
[2026-07-07 18:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":124682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:35:13] local.INFO: GPS data processed {"connection_id":124682,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:35:13] local.INFO: Acknowledgment sent {"connection_id":124682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:35:25] local.INFO: TCP Data received {"connection_id":125484,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cae5d80012d7e548005d359d8000801512f..."} 
[2026-07-07 18:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cae5d80012d7e548005d359d8000801512f..."} 
[2026-07-07 18:35:25] local.INFO: Processing buffer {"connection_id":125484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cae5d80012d7e548005d359d8000801512f..."} 
[2026-07-07 18:35:25] local.INFO: Packet analysis {"connection_id":125484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cae"} 
[2026-07-07 18:35:25] local.INFO: Extracted packet for processing {"connection_id":125484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cae"} 
[2026-07-07 18:35:25] local.INFO: GPS Element Parsed {"raw_longitude":763253888,"raw_latitude":97737176,"longitude_deg":76.3253888,"latitude_deg":9.7737176,"altitude":8,"angle":337,"satellites":47,"speed":14,"hex_longitude":"2d7e5480","hex_latitude":"05d359d8","is_valid_coordinates":true} 
[2026-07-07 18:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557948160001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103498163393921024,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103463721796610048,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783429488000,"timestamp_ms":1783429488000,"timestamp_seconds":1783429488,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cae5d80"} 
[2026-07-07 18:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:35: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-07-07 18:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-07 18:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":216172782281556992,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:25] local.WARNING: Large IO value detected {"io_id":178,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:25] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2147865430,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:25] local.WARNING: Large IO value detected {"io_id":60,"raw_value":-5899996981773838720,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-07 18:35:25] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748877,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:25] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3002793984,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3218129796877686995,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:25] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-4034999533699019179,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:25] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:25] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,109,85,24,241,157,16,179,159,77,45,128,87,8,44,10,66,178,73,86,70,1,240,80,227,60,211,4,113,205,54,168,239,49,2,111,5,47,59,249],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-07 18:35:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576819382072901632,"timestamp_seconds":576819382072901.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 18:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557948160001,"66":12939,"109":206,"85":15104,"24":14,"16":103498163393921024,"45":9103463721796610048},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557948160001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:35:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:35:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103498163393921024,"km_value":103498163393921.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103463721796610048,"description":"Unknown IO ID 45"} 
[2026-07-07 18:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557948160001,"power":12939,"unknown_109":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9103463721796610048}} 
[2026-07-07 18:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":125484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:35:25] local.INFO: GPS data processed {"connection_id":125484,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:35:25] local.INFO: Acknowledgment sent {"connection_id":125484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:35:34] local.INFO: TCP Data received {"connection_id":126740,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:35:34] local.INFO: Processing buffer {"connection_id":126740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:35:34] local.INFO: IMEI packet received {"connection_id":126740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":126740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:35:35] local.INFO: TCP Data received {"connection_id":126740,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:35:35] local.INFO: Processing buffer {"connection_id":126740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:35:35] local.INFO: IMEI packet received {"connection_id":126740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":126740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:35:35] local.INFO: TCP Data received {"connection_id":124779,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cad53e0012dc86380052e8748002100452d..."} 
[2026-07-07 18:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cad53e0012dc86380052e8748002100452d..."} 
[2026-07-07 18:35:35] local.INFO: Processing buffer {"connection_id":124779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cad53e0012dc86380052e8748002100452d..."} 
[2026-07-07 18:35:35] local.INFO: Packet analysis {"connection_id":124779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cad"} 
[2026-07-07 18:35:35] local.INFO: Extracted packet for processing {"connection_id":124779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cad"} 
[2026-07-07 18:35:35] local.INFO: GPS Element Parsed {"raw_longitude":768107392,"raw_latitude":86935368,"longitude_deg":76.8107392,"latitude_deg":8.6935368,"altitude":33,"angle":69,"satellites":45,"speed":9,"hex_longitude":"2dc86380","hex_latitude":"052e8748","is_valid_coordinates":true} 
[2026-07-07 18:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557927424001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341702182115999744,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4016296051685091328,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783429420000,"timestamp_ms":1783429420000,"timestamp_seconds":1783429420,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cad53e0"} 
[2026-07-07 18:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 18:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557927424001,"66":27930,"194":206,"80":35072,"24":9,"16":341702182115999744,"45":-4016296051685091328},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-07-07 18:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557927424001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:35:35] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-07 18:35:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341702182115999744,"km_value":341702182115999.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4016296051685091328,"description":"Unknown IO ID 45"} 
[2026-07-07 18:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557927424001,"power":27930,"unknown_194":206,"unknown_80":35072,"ignition":9,"odometer":null,"unknown_45":-4016296051685091328}} 
[2026-07-07 18:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":124779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:35:35] local.INFO: GPS data processed {"connection_id":124779,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:35:35] local.INFO: Acknowledgment sent {"connection_id":124779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:35:38] local.INFO: TCP Data received {"connection_id":126740,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:35:38] local.INFO: Processing buffer {"connection_id":126740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:35:38] local.INFO: IMEI packet received {"connection_id":126740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":126740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:35:40] local.INFO: TCP Data received {"connection_id":126740,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cae26d0012d1943000720ae980035012429..."} 
[2026-07-07 18:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cae26d0012d1943000720ae980035012429..."} 
[2026-07-07 18:35:40] local.INFO: Processing buffer {"connection_id":126740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cae26d0012d1943000720ae980035012429..."} 
[2026-07-07 18:35:40] local.INFO: Packet analysis {"connection_id":126740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cae"} 
[2026-07-07 18:35:40] local.INFO: Extracted packet for processing {"connection_id":126740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cae"} 
[2026-07-07 18:35:40] local.INFO: GPS Element Parsed {"raw_longitude":756630272,"raw_latitude":119582360,"longitude_deg":75.6630272,"latitude_deg":11.958236,"altitude":53,"angle":292,"satellites":41,"speed":28,"hex_longitude":"2d194300","hex_latitude":"0720ae98","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557944064001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4768547569926144,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823957879697893376,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 18:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783429474000,"timestamp_ms":1783429474000,"timestamp_seconds":1783429474,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cae26d0"} 
[2026-07-07 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-07-07 18:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 18:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 18:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557944064001,"66":14396,"121":206,"28":31744,"24":28,"16":4768547569926144,"45":1823957879697893376},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557944064001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:35:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:35:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4768547569926144,"km_value":4768547569926.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823957879697893376,"description":"Unknown IO ID 45"} 
[2026-07-07 18:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557944064001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1823957879697893376}} 
[2026-07-07 18:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":126740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:35:40] local.INFO: GPS data processed {"connection_id":126740,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:35:40] local.INFO: Acknowledgment sent {"connection_id":126740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:35:56] local.INFO: TCP Data received {"connection_id":125484,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cae6550012d7e538005d35ca80008015f2e..."} 
[2026-07-07 18:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cae6550012d7e538005d35ca80008015f2e..."} 
[2026-07-07 18:35:56] local.INFO: Processing buffer {"connection_id":125484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cae6550012d7e538005d35ca80008015f2e..."} 
[2026-07-07 18:35:56] local.INFO: Packet analysis {"connection_id":125484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cae"} 
[2026-07-07 18:35:56] local.INFO: Extracted packet for processing {"connection_id":125484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cae"} 
[2026-07-07 18:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763253632,"raw_latitude":97737896,"longitude_deg":76.3253632,"latitude_deg":9.7737896,"altitude":8,"angle":351,"satellites":46,"speed":16,"hex_longitude":"2d7e5380","hex_latitude":"05d35ca8","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557948928001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103498202048626688,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103041509331687424,"note":"Value kept but may cause issues"} 
[2026-07-07 18:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783429490000,"timestamp_ms":1783429490000,"timestamp_seconds":1783429490,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cae6550"} 
[2026-07-07 18:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 18:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557948928001,"66":12645,"109":206,"85":15104,"24":16,"16":103498202048626688,"45":9103041509331687424},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557948928001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:35:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103498202048626688,"km_value":103498202048626.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103041509331687424,"description":"Unknown IO ID 45"} 
[2026-07-07 18:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557948928001,"power":12645,"unknown_109":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9103041509331687424}} 
[2026-07-07 18:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":125484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:35:56] local.INFO: GPS data processed {"connection_id":125484,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:35:56] local.INFO: Acknowledgment sent {"connection_id":125484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:36:03] local.INFO: TCP Data received {"connection_id":125485,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:36:03] local.INFO: Processing buffer {"connection_id":125485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:36:03] local.INFO: IMEI packet received {"connection_id":125485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":125485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:36:08] local.INFO: TCP Data received {"connection_id":125485,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:36:08] local.INFO: Processing buffer {"connection_id":125485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:36:08] local.INFO: IMEI packet received {"connection_id":125485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":125485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:36:09] local.INFO: TCP Data received {"connection_id":125485,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cae9048012dc8b980052f16f80025000d26..."} 
[2026-07-07 18:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cae9048012dc8b980052f16f80025000d26..."} 
[2026-07-07 18:36:09] local.INFO: Processing buffer {"connection_id":125485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cae9048012dc8b980052f16f80025000d26..."} 
[2026-07-07 18:36:09] local.INFO: Packet analysis {"connection_id":125485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cae"} 
[2026-07-07 18:36:09] local.INFO: Extracted packet for processing {"connection_id":125485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cae"} 
[2026-07-07 18:36:09] local.INFO: GPS Element Parsed {"raw_longitude":768129408,"raw_latitude":86972152,"longitude_deg":76.8129408,"latitude_deg":8.6972152,"altitude":37,"angle":13,"satellites":38,"speed":25,"hex_longitude":"2dc8b980","hex_latitude":"052f16f8","is_valid_coordinates":true} 
[2026-07-07 18:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557949440001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341704428383895552,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3983504216890509312,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783429501000,"timestamp_ms":1783429501000,"timestamp_seconds":1783429501,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cae9048"} 
[2026-07-07 18:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:36: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-07-07 18:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 18:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557949440001,"66":27767,"11":206,"80":35072,"24":25,"16":341704428383895552,"45":-3983504216890509312},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-07 18:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557949440001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:36:09] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-07 18:36:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341704428383895552,"km_value":341704428383895.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3983504216890509312,"description":"Unknown IO ID 45"} 
[2026-07-07 18:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557949440001,"power":27767,"unknown_11":206,"unknown_80":35072,"ignition":25,"odometer":null,"unknown_45":-3983504216890509312}} 
[2026-07-07 18:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":125485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:36:09] local.INFO: GPS data processed {"connection_id":125485,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:36:09] local.INFO: Acknowledgment sent {"connection_id":125485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:36:11] local.INFO: TCP Data received {"connection_id":126740,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cae3288012d193b400720b2d80034013028..."} 
[2026-07-07 18:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cae3288012d193b400720b2d80034013028..."} 
[2026-07-07 18:36:11] local.INFO: Processing buffer {"connection_id":126740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cae3288012d193b400720b2d80034013028..."} 
[2026-07-07 18:36:11] local.INFO: Packet analysis {"connection_id":126740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cae"} 
[2026-07-07 18:36:11] local.INFO: Extracted packet for processing {"connection_id":126740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cae"} 
[2026-07-07 18:36:11] local.INFO: GPS Element Parsed {"raw_longitude":756628288,"raw_latitude":119583448,"longitude_deg":75.6628288,"latitude_deg":11.9583448,"altitude":52,"angle":304,"satellites":40,"speed":28,"hex_longitude":"2d193b40","hex_latitude":"0720b2d8","is_valid_coordinates":true} 
[2026-07-07 18:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557945344001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4768654944108544,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820298705000896512,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783429477000,"timestamp_ms":1783429477000,"timestamp_seconds":1783429477,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cae3288"} 
[2026-07-07 18:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 18:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557945344001,"66":14396,"121":206,"28":31744,"24":28,"16":4768654944108544,"45":1820298705000896512},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557945344001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:36:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:36:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4768654944108544,"km_value":4768654944108.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820298705000896512,"description":"Unknown IO ID 45"} 
[2026-07-07 18:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557945344001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1820298705000896512}} 
[2026-07-07 18:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":126740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:36:11] local.INFO: GPS data processed {"connection_id":126740,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:36:11] local.INFO: Acknowledgment sent {"connection_id":126740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:36:12] local.INFO: TCP Data received {"connection_id":125485,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cae9c00012dc8bbc0052f1d880025001d28..."} 
[2026-07-07 18:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cae9c00012dc8bbc0052f1d880025001d28..."} 
[2026-07-07 18:36:12] local.INFO: Processing buffer {"connection_id":125485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cae9c00012dc8bbc0052f1d880025001d28..."} 
[2026-07-07 18:36:12] local.INFO: Packet analysis {"connection_id":125485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cae"} 
[2026-07-07 18:36:12] local.INFO: Extracted packet for processing {"connection_id":125485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cae"} 
[2026-07-07 18:36:12] local.INFO: GPS Element Parsed {"raw_longitude":768129984,"raw_latitude":86973832,"longitude_deg":76.8129984,"latitude_deg":8.6973832,"altitude":37,"angle":29,"satellites":40,"speed":21,"hex_longitude":"2dc8bbc0","hex_latitude":"052f1d88","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557952256001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341704514283241472,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3983011635679266816,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783429504000,"timestamp_ms":1783429504000,"timestamp_seconds":1783429504,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cae9c00"} 
[2026-07-07 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-07-07 18:36: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-07-07 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 18:36: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-07-07 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-07-07 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-07-07 18:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557952256001,"66":27647,"11":206,"80":35072,"24":21,"16":341704514283241472,"45":-3983011635679266816},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-07 18:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557952256001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:36:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-07 18:36:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341704514283241472,"km_value":341704514283241.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3983011635679266816,"description":"Unknown IO ID 45"} 
[2026-07-07 18:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557952256001,"power":27647,"unknown_11":206,"unknown_80":35072,"ignition":21,"odometer":null,"unknown_45":-3983011635679266816}} 
[2026-07-07 18:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":125485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:36:12] local.INFO: GPS data processed {"connection_id":125485,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:36:12] local.INFO: Acknowledgment sent {"connection_id":125485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:36:27] local.INFO: TCP Data received {"connection_id":125484,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3caf9600012d7e174005d3a7b8000a01042b..."} 
[2026-07-07 18:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3caf9600012d7e174005d3a7b8000a01042b..."} 
[2026-07-07 18:36:27] local.INFO: Processing buffer {"connection_id":125484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3caf9600012d7e174005d3a7b8000a01042b..."} 
[2026-07-07 18:36:27] local.INFO: Packet analysis {"connection_id":125484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3caf"} 
[2026-07-07 18:36:27] local.INFO: Extracted packet for processing {"connection_id":125484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3caf"} 
[2026-07-07 18:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763238208,"raw_latitude":97757112,"longitude_deg":76.3238208,"latitude_deg":9.7757112,"altitude":10,"angle":260,"satellites":43,"speed":13,"hex_longitude":"2d7e1740","hex_latitude":"05d3a7b8","is_valid_coordinates":true} 
[2026-07-07 18:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557968896001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103499774006657024,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086504854455027712,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783429568000,"timestamp_ms":1783429568000,"timestamp_seconds":1783429568,"priority":1,"record_length":96,"hex_timestamp":"0000019f3caf9600"} 
[2026-07-07 18:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-07 18:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557968896001,"66":12885,"109":206,"85":15104,"24":13,"16":103499774006657024,"45":9086504854455027712},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557968896001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:36:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:36:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103499774006657024,"km_value":103499774006657.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086504854455027712,"description":"Unknown IO ID 45"} 
[2026-07-07 18:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557968896001,"power":12885,"unknown_109":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9086504854455027712}} 
[2026-07-07 18:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":125484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:36:27] local.INFO: GPS data processed {"connection_id":125484,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:36:27] local.INFO: Acknowledgment sent {"connection_id":125484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:36:29] local.INFO: TCP Data received {"connection_id":126741,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:36:29] local.INFO: Processing buffer {"connection_id":126741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:36:29] local.INFO: IMEI packet received {"connection_id":126741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 18:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":126741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:36:38] local.INFO: TCP Data received {"connection_id":126742,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:36:38] local.INFO: Processing buffer {"connection_id":126742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:36:38] local.INFO: IMEI packet received {"connection_id":126742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":126742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:36:41] local.INFO: TCP Data received {"connection_id":126742,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:36:41] local.INFO: Processing buffer {"connection_id":126742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:36:41] local.INFO: IMEI packet received {"connection_id":126742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":126742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:36:42] local.INFO: TCP Data received {"connection_id":126742,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3caf3458012d18c4c007213f00004601592b..."} 
[2026-07-07 18:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3caf3458012d18c4c007213f00004601592b..."} 
[2026-07-07 18:36:42] local.INFO: Processing buffer {"connection_id":126742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3caf3458012d18c4c007213f00004601592b..."} 
[2026-07-07 18:36:42] local.INFO: Packet analysis {"connection_id":126742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3caf"} 
[2026-07-07 18:36:42] local.INFO: Extracted packet for processing {"connection_id":126742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3caf"} 
[2026-07-07 18:36:42] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119619328,"longitude_deg":75.6597952,"latitude_deg":11.9619328,"altitude":70,"angle":345,"satellites":43,"speed":34,"hex_longitude":"2d18c4c0","hex_latitude":"07213f00","is_valid_coordinates":true} 
[2026-07-07 18:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557961472001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4771085895598080,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787647607710758912,"note":"Value kept but may cause issues"} 
[2026-07-07 18: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-07-07 18:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783429543000,"timestamp_ms":1783429543000,"timestamp_seconds":1783429543,"priority":1,"record_length":96,"hex_timestamp":"0000019f3caf3458"} 
[2026-07-07 18:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-07-07 18:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557961472001,"66":13961,"121":206,"28":31744,"24":34,"16":4771085895598080,"45":1787647607710758912},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557961472001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:36:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:36:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4771085895598080,"km_value":4771085895598.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787647607710758912,"description":"Unknown IO ID 45"} 
[2026-07-07 18:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557961472001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1787647607710758912}} 
[2026-07-07 18:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":126742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:36:42] local.INFO: GPS data processed {"connection_id":126742,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:36:42] local.INFO: Acknowledgment sent {"connection_id":126742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:36:43] local.INFO: TCP Data received {"connection_id":126742,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3caf3c28012d18c40007214598004601662b..."} 
[2026-07-07 18:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3caf3c28012d18c40007214598004601662b..."} 
[2026-07-07 18:36:43] local.INFO: Processing buffer {"connection_id":126742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3caf3c28012d18c40007214598004601662b..."} 
[2026-07-07 18:36:43] local.INFO: Packet analysis {"connection_id":126742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3caf"} 
[2026-07-07 18:36:43] local.INFO: Extracted packet for processing {"connection_id":126742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3caf"} 
[2026-07-07 18:36:43] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119621016,"longitude_deg":75.659776,"latitude_deg":11.9621016,"altitude":70,"angle":358,"satellites":43,"speed":34,"hex_longitude":"2d18c400","hex_latitude":"07214598","is_valid_coordinates":true} 
[2026-07-07 18:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557963008001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4771167499976704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489200640000,"note":"Value kept but may cause issues"} 
[2026-07-07 18: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-07-07 18:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783429545000,"timestamp_ms":1783429545000,"timestamp_seconds":1783429545,"priority":1,"record_length":96,"hex_timestamp":"0000019f3caf3c28"} 
[2026-07-07 18:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-07 18:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":126742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":126742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":126742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557963008001,"66":14004,"121":206,"28":31744,"24":34,"16":4771167499976704,"45":1784762489200640000},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557963008001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:36:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:36:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4771167499976704,"km_value":4771167499976.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489200640000,"description":"Unknown IO ID 45"} 
[2026-07-07 18:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557963008001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1784762489200640000}} 
[2026-07-07 18:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":126742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:36:43] local.INFO: GPS data processed {"connection_id":126742,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:36:43] local.INFO: Acknowledgment sent {"connection_id":126742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:36:55] local.INFO: TCP Data received {"connection_id":125485,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3caebf28012dc8c680052f2c300026002a2a..."} 
[2026-07-07 18:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3caebf28012dc8c680052f2c300026002a2a..."} 
[2026-07-07 18:36:55] local.INFO: Processing buffer {"connection_id":125485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3caebf28012dc8c680052f2c300026002a2a..."} 
[2026-07-07 18:36:55] local.INFO: Packet analysis {"connection_id":125485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cae"} 
[2026-07-07 18:36:55] local.INFO: Extracted packet for processing {"connection_id":125485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cae"} 
[2026-07-07 18:36:55] local.INFO: GPS Element Parsed {"raw_longitude":768132736,"raw_latitude":86977584,"longitude_deg":76.8132736,"latitude_deg":8.6977584,"altitude":38,"angle":42,"satellites":42,"speed":22,"hex_longitude":"2dc8c680","hex_latitude":"052f2c30","is_valid_coordinates":true} 
[2026-07-07 18:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557953024001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341704741916508160,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3982378316981237760,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783429513000,"timestamp_ms":1783429513000,"timestamp_seconds":1783429513,"priority":1,"record_length":96,"hex_timestamp":"0000019f3caebf28"} 
[2026-07-07 18:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:36: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":255,"data_length":795,"current_offset":136} 
[2026-07-07 18:36:55] 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-07-07 18:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557953024001,"66":27974,"11":206,"80":35072,"24":22,"16":341704741916508160,"45":-3982378316981237760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-07 18:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557953024001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:36:55] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-07 18:36:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341704741916508160,"km_value":341704741916508.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3982378316981237760,"description":"Unknown IO ID 45"} 
[2026-07-07 18:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557953024001,"power":27974,"unknown_11":206,"unknown_80":35072,"ignition":22,"odometer":null,"unknown_45":-3982378316981237760}} 
[2026-07-07 18:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":125485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:36:55] local.INFO: GPS data processed {"connection_id":125485,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:36:55] local.INFO: Acknowledgment sent {"connection_id":125485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:36:58] local.INFO: TCP Data received {"connection_id":124683,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:36:58] local.INFO: Processing buffer {"connection_id":124683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:36:58] local.INFO: IMEI packet received {"connection_id":124683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":124683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:36:58] local.INFO: TCP Data received {"connection_id":125484,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cafa988012d7e128005d3a768000901152b..."} 
[2026-07-07 18:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cafa988012d7e128005d3a768000901152b..."} 
[2026-07-07 18:36:58] local.INFO: Processing buffer {"connection_id":125484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cafa988012d7e128005d3a768000901152b..."} 
[2026-07-07 18:36:58] local.INFO: Packet analysis {"connection_id":125484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3caf"} 
[2026-07-07 18:36:58] local.INFO: Extracted packet for processing {"connection_id":125484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3caf"} 
[2026-07-07 18:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763236992,"raw_latitude":97757032,"longitude_deg":76.3236992,"latitude_deg":9.7757032,"altitude":9,"angle":277,"satellites":43,"speed":5,"hex_longitude":"2d7e1280","hex_latitude":"05d3a768","is_valid_coordinates":true} 
[2026-07-07 18:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557969408001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103499829841231872,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085801167013263360,"note":"Value kept but may cause issues"} 
[2026-07-07 18:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783429573000,"timestamp_ms":1783429573000,"timestamp_seconds":1783429573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cafa988"} 
[2026-07-07 18:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:36: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-07-07 18:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-07 18:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557969408001,"66":12722,"109":206,"85":15104,"24":5,"16":103499829841231872,"45":9085801167013263360},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557969408001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:36:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:36:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103499829841231872,"km_value":103499829841231.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085801167013263360,"description":"Unknown IO ID 45"} 
[2026-07-07 18:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557969408001,"power":12722,"unknown_109":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9085801167013263360}} 
[2026-07-07 18:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":125484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:36:59] local.INFO: GPS data processed {"connection_id":125484,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:36:59] local.INFO: Acknowledgment sent {"connection_id":125484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:37:03] local.INFO: TCP Data received {"connection_id":124780,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:37:03] local.INFO: Processing buffer {"connection_id":124780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:37:03] local.INFO: IMEI packet received {"connection_id":124780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 18:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":124780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:37:03] local.INFO: TCP Data received {"connection_id":124683,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:37:03] local.INFO: Processing buffer {"connection_id":124683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:37:03] local.INFO: IMEI packet received {"connection_id":124683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":124683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:37:04] local.INFO: TCP Data received {"connection_id":124683,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3caf1130012dc8d580052f3cd0002b002e2c..."} 
[2026-07-07 18:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3caf1130012dc8d580052f3cd0002b002e2c..."} 
[2026-07-07 18:37:04] local.INFO: Processing buffer {"connection_id":124683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3caf1130012dc8d580052f3cd0002b002e2c..."} 
[2026-07-07 18:37:04] local.INFO: Packet analysis {"connection_id":124683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3caf"} 
[2026-07-07 18:37:04] local.INFO: Extracted packet for processing {"connection_id":124683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3caf"} 
[2026-07-07 18:37:04] local.INFO: GPS Element Parsed {"raw_longitude":768136576,"raw_latitude":86981840,"longitude_deg":76.8136576,"latitude_deg":8.698184,"altitude":43,"angle":46,"satellites":44,"speed":0,"hex_longitude":"2dc8d580","hex_latitude":"052f3cd0","is_valid_coordinates":true} 
[2026-07-07 18:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557955328001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341705021089382400,"note":"Value kept but may cause issues"} 
[2026-07-07 18:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3979352460980637696,"note":"Value kept but may cause issues"} 
[2026-07-07 18:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783429534000,"timestamp_ms":1783429534000,"timestamp_seconds":1783429534,"priority":1,"record_length":96,"hex_timestamp":"0000019f3caf1130"} 
[2026-07-07 18:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 18:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557955328001,"66":27865,"11":206,"80":35072,"24":0,"16":341705021089382400,"45":-3979352460980637696},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-07 18:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557955328001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:37:04] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-07 18:37:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341705021089382400,"km_value":341705021089382.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3979352460980637696,"description":"Unknown IO ID 45"} 
[2026-07-07 18:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557955328001,"power":27865,"unknown_11":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3979352460980637696}} 
[2026-07-07 18:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":124683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:37:04] local.INFO: GPS data processed {"connection_id":124683,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:37:04] local.INFO: Acknowledgment sent {"connection_id":124683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:37:15] local.INFO: TCP Data received {"connection_id":126742,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3caf47e0012d18c34007214f580047015a2d..."} 
[2026-07-07 18:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3caf47e0012d18c34007214f580047015a2d..."} 
[2026-07-07 18:37:15] local.INFO: Processing buffer {"connection_id":126742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3caf47e0012d18c34007214f580047015a2d..."} 
[2026-07-07 18:37:15] local.INFO: Packet analysis {"connection_id":126742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3caf"} 
[2026-07-07 18:37:15] local.INFO: Extracted packet for processing {"connection_id":126742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3caf"} 
[2026-07-07 18:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756597568,"raw_latitude":119623512,"longitude_deg":75.6597568,"latitude_deg":11.9623512,"altitude":71,"angle":346,"satellites":45,"speed":32,"hex_longitude":"2d18c340","hex_latitude":"07214f58","is_valid_coordinates":true} 
[2026-07-07 18:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557963520001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4771292054028288,"note":"Value kept but may cause issues"} 
[2026-07-07 18:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382968539136,"note":"Value kept but may cause issues"} 
[2026-07-07 18:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783429548000,"timestamp_ms":1783429548000,"timestamp_seconds":1783429548,"priority":1,"record_length":96,"hex_timestamp":"0000019f3caf47e0"} 
[2026-07-07 18:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-07 18:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557963520001,"66":13852,"121":206,"28":31744,"24":32,"16":4771292054028288,"45":1784551382968539136},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557963520001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:37:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:37:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4771292054028288,"km_value":4771292054028.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382968539136,"description":"Unknown IO ID 45"} 
[2026-07-07 18:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557963520001,"power":13852,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1784551382968539136}} 
[2026-07-07 18:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":126742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:37:15] local.INFO: GPS data processed {"connection_id":126742,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:37:15] local.INFO: Acknowledgment sent {"connection_id":126742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:37:30] local.INFO: TCP Data received {"connection_id":124684,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:37:30] local.INFO: Processing buffer {"connection_id":124684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:37:30] local.INFO: IMEI packet received {"connection_id":124684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":124684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:37:30] local.INFO: TCP Data received {"connection_id":125484,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb0af40012d7e158005d3bea0000801552c..."} 
[2026-07-07 18:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb0af40012d7e158005d3bea0000801552c..."} 
[2026-07-07 18:37:30] local.INFO: Processing buffer {"connection_id":125484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb0af40012d7e158005d3bea0000801552c..."} 
[2026-07-07 18:37:30] local.INFO: Packet analysis {"connection_id":125484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb0"} 
[2026-07-07 18:37:30] local.INFO: Extracted packet for processing {"connection_id":125484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb0"} 
[2026-07-07 18:37:30] local.INFO: GPS Element Parsed {"raw_longitude":763237760,"raw_latitude":97762976,"longitude_deg":76.323776,"latitude_deg":9.7762976,"altitude":8,"angle":341,"satellites":44,"speed":2,"hex_longitude":"2d7e1580","hex_latitude":"05d3bea0","is_valid_coordinates":true} 
[2026-07-07 18:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557987584001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103500156258746368,"note":"Value kept but may cause issues"} 
[2026-07-07 18:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085308585805500416,"note":"Value kept but may cause issues"} 
[2026-07-07 18:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783429640000,"timestamp_ms":1783429640000,"timestamp_seconds":1783429640,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb0af40"} 
[2026-07-07 18:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-07 18:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557987584001,"66":13124,"110":206,"85":15104,"24":2,"16":103500156258746368,"45":9085308585805500416},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-07 18:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557987584001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:37:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 18:37:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103500156258746368,"km_value":103500156258746.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085308585805500416,"description":"Unknown IO ID 45"} 
[2026-07-07 18:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557987584001,"power":13124,"unknown_110":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9085308585805500416}} 
[2026-07-07 18:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":125484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:37:30] local.INFO: GPS data processed {"connection_id":125484,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:37:30] local.INFO: Acknowledgment sent {"connection_id":125484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:37:34] local.INFO: TCP Data received {"connection_id":124684,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:37:34] local.INFO: Processing buffer {"connection_id":124684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:37:34] local.INFO: IMEI packet received {"connection_id":124684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":124684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:37:39] local.INFO: TCP Data received {"connection_id":124684,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:37:39] local.INFO: Processing buffer {"connection_id":124684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:37:39] local.INFO: IMEI packet received {"connection_id":124684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":124684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:37:40] local.INFO: TCP Data received {"connection_id":124684,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3caf4bc8012d18c280072152500047014e2d..."} 
[2026-07-07 18:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3caf4bc8012d18c280072152500047014e2d..."} 
[2026-07-07 18:37:40] local.INFO: Processing buffer {"connection_id":124684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3caf4bc8012d18c280072152500047014e2d..."} 
[2026-07-07 18:37:40] local.INFO: Packet analysis {"connection_id":124684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3caf"} 
[2026-07-07 18:37:40] local.INFO: Extracted packet for processing {"connection_id":124684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3caf"} 
[2026-07-07 18:37:40] local.INFO: GPS Element Parsed {"raw_longitude":756597376,"raw_latitude":119624272,"longitude_deg":75.6597376,"latitude_deg":11.9624272,"altitude":71,"angle":334,"satellites":45,"speed":32,"hex_longitude":"2d18c280","hex_latitude":"07215250","is_valid_coordinates":true} 
[2026-07-07 18:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557964288001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4771330708733952,"note":"Value kept but may cause issues"} 
[2026-07-07 18:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784340276736645120,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 18:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783429549000,"timestamp_ms":1783429549000,"timestamp_seconds":1783429549,"priority":1,"record_length":96,"hex_timestamp":"0000019f3caf4bc8"} 
[2026-07-07 18:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-07 18:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557964288001,"66":13852,"121":206,"28":31744,"24":32,"16":4771330708733952,"45":1784340276736645120},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557964288001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:37:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:37:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4771330708733952,"km_value":4771330708733.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784340276736645120,"description":"Unknown IO ID 45"} 
[2026-07-07 18:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557964288001,"power":13852,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1784340276736645120}} 
[2026-07-07 18:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":124684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:37:40] local.INFO: GPS data processed {"connection_id":124684,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:37:40] local.INFO: Acknowledgment sent {"connection_id":124684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:37:40] local.INFO: TCP Data received {"connection_id":124683,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3caf6338012dc8d580052f3cd0002b002e2c..."} 
[2026-07-07 18:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3caf6338012dc8d580052f3cd0002b002e2c..."} 
[2026-07-07 18:37:40] local.INFO: Processing buffer {"connection_id":124683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3caf6338012dc8d580052f3cd0002b002e2c..."} 
[2026-07-07 18:37:40] local.INFO: Packet analysis {"connection_id":124683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3caf"} 
[2026-07-07 18:37:40] local.INFO: Extracted packet for processing {"connection_id":124683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3caf"} 
[2026-07-07 18:37:40] local.INFO: GPS Element Parsed {"raw_longitude":768136576,"raw_latitude":86981840,"longitude_deg":76.8136576,"latitude_deg":8.698184,"altitude":43,"angle":46,"satellites":44,"speed":0,"hex_longitude":"2dc8d580","hex_latitude":"052f3cd0","is_valid_coordinates":true} 
[2026-07-07 18:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557960704001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341705021089382400,"note":"Value kept but may cause issues"} 
[2026-07-07 18:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3975130336328888320,"note":"Value kept but may cause issues"} 
[2026-07-07 18:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783429555000,"timestamp_ms":1783429555000,"timestamp_seconds":1783429555,"priority":1,"record_length":96,"hex_timestamp":"0000019f3caf6338"} 
[2026-07-07 18:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:37: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-07-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 18:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:37: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-07-07 18:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557960704001,"66":27843,"11":206,"80":35072,"24":0,"16":341705021089382400,"45":-3975130336328888320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-07-07 18:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557960704001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:37:40] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-07 18:37:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 18:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341705021089382400,"km_value":341705021089382.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3975130336328888320,"description":"Unknown IO ID 45"} 
[2026-07-07 18:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557960704001,"power":27843,"unknown_11":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3975130336328888320}} 
[2026-07-07 18:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":124683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:37:40] local.INFO: GPS data processed {"connection_id":124683,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:37:40] local.INFO: Acknowledgment sent {"connection_id":124683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:37:45] local.INFO: TCP Data received {"connection_id":124684,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3caf5398012d18bf0007215770004801422c..."} 
[2026-07-07 18:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3caf5398012d18bf0007215770004801422c..."} 
[2026-07-07 18:37:45] local.INFO: Processing buffer {"connection_id":124684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3caf5398012d18bf0007215770004801422c..."} 
[2026-07-07 18:37:45] local.INFO: Packet analysis {"connection_id":124684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3caf"} 
[2026-07-07 18:37:45] local.INFO: Extracted packet for processing {"connection_id":124684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3caf"} 
[2026-07-07 18:37:45] local.INFO: GPS Element Parsed {"raw_longitude":756596480,"raw_latitude":119625584,"longitude_deg":75.659648,"latitude_deg":11.9625584,"altitude":72,"angle":322,"satellites":44,"speed":31,"hex_longitude":"2d18bf00","hex_latitude":"07215770","is_valid_coordinates":true} 
[2026-07-07 18:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557964544001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4771403723177984,"note":"Value kept but may cause issues"} 
[2026-07-07 18:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784129170504306688,"note":"Value kept but may cause issues"} 
[2026-07-07 18:37: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-07-07 18:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783429551000,"timestamp_ms":1783429551000,"timestamp_seconds":1783429551,"priority":1,"record_length":96,"hex_timestamp":"0000019f3caf5398"} 
[2026-07-07 18:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-07 18:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557964544001,"66":13798,"121":206,"28":31744,"24":31,"16":4771403723177984,"45":1784129170504306688},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 18:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557964544001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:37:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 18:37:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4771403723177984,"km_value":4771403723177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784129170504306688,"description":"Unknown IO ID 45"} 
[2026-07-07 18:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557964544001,"power":13798,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1784129170504306688}} 
[2026-07-07 18:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":124684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:37:45] local.INFO: GPS data processed {"connection_id":124684,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:37:45] local.INFO: Acknowledgment sent {"connection_id":124684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:37:58] local.INFO: TCP Data received {"connection_id":126744,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:37:58] local.INFO: Processing buffer {"connection_id":126744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:37:58] local.INFO: IMEI packet received {"connection_id":126744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":126744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:37:58] local.INFO: TCP Data received {"connection_id":126744,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:37:58] local.INFO: Processing buffer {"connection_id":126744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:37:58] local.INFO: IMEI packet received {"connection_id":126744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":126744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:38:01] local.INFO: TCP Data received {"connection_id":125484,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb13fc8012d7e16c005d3b730000700c92c..."} 
[2026-07-07 18:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb13fc8012d7e16c005d3b730000700c92c..."} 
[2026-07-07 18:38:01] local.INFO: Processing buffer {"connection_id":125484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb13fc8012d7e16c005d3b730000700c92c..."} 
[2026-07-07 18:38:01] local.INFO: Packet analysis {"connection_id":125484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb1"} 
[2026-07-07 18:38:01] local.INFO: Extracted packet for processing {"connection_id":125484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb1"} 
[2026-07-07 18:38:01] local.INFO: GPS Element Parsed {"raw_longitude":763238080,"raw_latitude":97761072,"longitude_deg":76.323808,"latitude_deg":9.7761072,"altitude":7,"angle":201,"satellites":44,"speed":10,"hex_longitude":"2d7e16c0","hex_latitude":"05d3b730","is_valid_coordinates":true} 
[2026-07-07 18:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557997056001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103500289402732544,"note":"Value kept but may cause issues"} 
[2026-07-07 18:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085730798270158848,"note":"Value kept but may cause issues"} 
[2026-07-07 18:38: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-07-07 18:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783429677000,"timestamp_ms":1783429677000,"timestamp_seconds":1783429677,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb13fc8"} 
[2026-07-07 18:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 18:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557997056001,"66":13243,"81":206,"85":15104,"24":10,"16":103500289402732544,"45":9085730798270158848},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-07 18:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557997056001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:38:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-07 18:38:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103500289402732544,"km_value":103500289402732.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085730798270158848,"description":"Unknown IO ID 45"} 
[2026-07-07 18:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557997056001,"power":13243,"unknown_81":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9085730798270158848}} 
[2026-07-07 18:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":125484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:38:01] local.INFO: GPS data processed {"connection_id":125484,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:38:01] local.INFO: Acknowledgment sent {"connection_id":125484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:38:03] local.INFO: TCP Data received {"connection_id":126744,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:38:03] local.INFO: Processing buffer {"connection_id":126744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:38:03] local.INFO: IMEI packet received {"connection_id":126744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":126744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:38:04] local.INFO: TCP Data received {"connection_id":126744,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb04d98012dc95900052eefe0002000702f..."} 
[2026-07-07 18:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb04d98012dc95900052eefe0002000702f..."} 
[2026-07-07 18:38:04] local.INFO: Processing buffer {"connection_id":126744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb04d98012dc95900052eefe0002000702f..."} 
[2026-07-07 18:38:04] local.INFO: Packet analysis {"connection_id":126744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb0"} 
[2026-07-07 18:38:04] local.INFO: Extracted packet for processing {"connection_id":126744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb0"} 
[2026-07-07 18:38:04] local.INFO: GPS Element Parsed {"raw_longitude":768170240,"raw_latitude":86962144,"longitude_deg":76.817024,"latitude_deg":8.6962144,"altitude":32,"angle":112,"satellites":47,"speed":35,"hex_longitude":"2dc95900","hex_latitude":"052eefe0","is_valid_coordinates":true} 
[2026-07-07 18:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557978880001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341706979594469376,"note":"Value kept but may cause issues"} 
[2026-07-07 18:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3947686526104018944,"note":"Value kept but may cause issues"} 
[2026-07-07 18:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783429615000,"timestamp_ms":1783429615000,"timestamp_seconds":1783429615,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb04d98"} 
[2026-07-07 18:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 18:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557978880001,"66":27995,"32":206,"80":36352,"24":35,"16":341706979594469376,"45":-3947686526104018944},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,80,24,16,45]} 
[2026-07-07 18:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557978880001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:38:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-07 18:38:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341706979594469376,"km_value":341706979594469.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3947686526104018944,"description":"Unknown IO ID 45"} 
[2026-07-07 18:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557978880001,"power":27995,"unknown_32":206,"unknown_80":36352,"ignition":35,"odometer":null,"unknown_45":-3947686526104018944}} 
[2026-07-07 18:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":126744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:38:04] local.INFO: GPS data processed {"connection_id":126744,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:38:04] local.INFO: Acknowledgment sent {"connection_id":126744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:38:17] local.INFO: TCP Data received {"connection_id":124684,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb093e8012d1869c007218078005101172b..."} 
[2026-07-07 18:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb093e8012d1869c007218078005101172b..."} 
[2026-07-07 18:38:17] local.INFO: Processing buffer {"connection_id":124684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb093e8012d1869c007218078005101172b..."} 
[2026-07-07 18:38:17] local.INFO: Packet analysis {"connection_id":124684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb0"} 
[2026-07-07 18:38:17] local.INFO: Extracted packet for processing {"connection_id":124684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb0"} 
[2026-07-07 18:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756574656,"raw_latitude":119636088,"longitude_deg":75.6574656,"latitude_deg":11.9636088,"altitude":81,"angle":279,"satellites":43,"speed":23,"hex_longitude":"2d1869c0","hex_latitude":"07218078","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557984768001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4772649263693824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761822278603030528,"note":"Value kept but may cause issues"} 
[2026-07-07 18:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783429633000,"timestamp_ms":1783429633000,"timestamp_seconds":1783429633,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb093e8"} 
[2026-07-07 18:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-07 18:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557984768001,"66":14396,"120":206,"28":31744,"24":23,"16":4772649263693824,"45":1761822278603030528},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557984768001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:38:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:38:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4772649263693824,"km_value":4772649263693.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761822278603030528,"description":"Unknown IO ID 45"} 
[2026-07-07 18:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557984768001,"power":14396,"unknown_120":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1761822278603030528}} 
[2026-07-07 18:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":124684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:38:17] local.INFO: GPS data processed {"connection_id":124684,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:38:17] local.INFO: Acknowledgment sent {"connection_id":124684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:38:33] local.INFO: TCP Data received {"connection_id":125484,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb1a558012d7e11c005d3a908000700802b..."} 
[2026-07-07 18:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb1a558012d7e11c005d3a908000700802b..."} 
[2026-07-07 18:38:33] local.INFO: Processing buffer {"connection_id":125484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb1a558012d7e11c005d3a908000700802b..."} 
[2026-07-07 18:38:33] local.INFO: Packet analysis {"connection_id":125484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb1"} 
[2026-07-07 18:38:33] local.INFO: Extracted packet for processing {"connection_id":125484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb1"} 
[2026-07-07 18:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763236800,"raw_latitude":97757448,"longitude_deg":76.32368,"latitude_deg":9.7757448,"altitude":7,"angle":128,"satellites":43,"speed":2,"hex_longitude":"2d7e11c0","hex_latitude":"05d3a908","is_valid_coordinates":true} 
[2026-07-07 18:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558003712001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103500512741031936,"note":"Value kept but may cause issues"} 
[2026-07-07 18:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084041948408920064,"note":"Value kept but may cause issues"} 
[2026-07-07 18:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783429703000,"timestamp_ms":1783429703000,"timestamp_seconds":1783429703,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb1a558"} 
[2026-07-07 18:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:38: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-07-07 18:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 18:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558003712001,"66":13178,"110":206,"85":15104,"24":2,"16":103500512741031936,"45":9084041948408920064},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-07 18:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558003712001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:38:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 18:38:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103500512741031936,"km_value":103500512741031.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084041948408920064,"description":"Unknown IO ID 45"} 
[2026-07-07 18:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558003712001,"power":13178,"unknown_110":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9084041948408920064}} 
[2026-07-07 18:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":125484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:38:33] local.INFO: GPS data processed {"connection_id":125484,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:38:33] local.INFO: Acknowledgment sent {"connection_id":125484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:38:34] local.INFO: TCP Data received {"connection_id":124685,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:38:34] local.INFO: Processing buffer {"connection_id":124685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:38:34] local.INFO: IMEI packet received {"connection_id":124685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":124685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:38:37] local.INFO: TCP Data received {"connection_id":126744,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb07890012dc979c0052edfc0002300762d..."} 
[2026-07-07 18:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb07890012dc979c0052edfc0002300762d..."} 
[2026-07-07 18:38:37] local.INFO: Processing buffer {"connection_id":126744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb07890012dc979c0052edfc0002300762d..."} 
[2026-07-07 18:38:37] local.INFO: Packet analysis {"connection_id":126744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb0"} 
[2026-07-07 18:38:37] local.INFO: Extracted packet for processing {"connection_id":126744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb0"} 
[2026-07-07 18:38:37] local.INFO: GPS Element Parsed {"raw_longitude":768178624,"raw_latitude":86958016,"longitude_deg":76.8178624,"latitude_deg":8.6958016,"altitude":35,"angle":118,"satellites":45,"speed":30,"hex_longitude":"2dc979c0","hex_latitude":"052edfc0","is_valid_coordinates":true} 
[2026-07-07 18:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557981440001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341707426271068160,"note":"Value kept but may cause issues"} 
[2026-07-07 18:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3938116376896479232,"note":"Value kept but may cause issues"} 
[2026-07-07 18:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783429626000,"timestamp_ms":1783429626000,"timestamp_seconds":1783429626,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb07890"} 
[2026-07-07 18:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 18:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557981440001,"66":27832,"32":206,"80":36352,"24":30,"16":341707426271068160,"45":-3938116376896479232},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,80,24,16,45]} 
[2026-07-07 18:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557981440001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:38:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-07 18:38:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341707426271068160,"km_value":341707426271068.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3938116376896479232,"description":"Unknown IO ID 45"} 
[2026-07-07 18:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557981440001,"power":27832,"unknown_32":206,"unknown_80":36352,"ignition":30,"odometer":null,"unknown_45":-3938116376896479232}} 
[2026-07-07 18:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":126744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:38:37] local.INFO: GPS data processed {"connection_id":126744,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:38:37] local.INFO: Acknowledgment sent {"connection_id":126744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:38:39] local.INFO: TCP Data received {"connection_id":124685,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:38:39] local.INFO: Processing buffer {"connection_id":124685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:38:39] local.INFO: IMEI packet received {"connection_id":124685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":124685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:38:40] local.INFO: TCP Data received {"connection_id":124685,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb09fa0012d18618007218258005101242a..."} 
[2026-07-07 18:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb09fa0012d18618007218258005101242a..."} 
[2026-07-07 18:38:40] local.INFO: Processing buffer {"connection_id":124685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb09fa0012d18618007218258005101242a..."} 
[2026-07-07 18:38:40] local.INFO: Packet analysis {"connection_id":124685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb0"} 
[2026-07-07 18:38:40] local.INFO: Extracted packet for processing {"connection_id":124685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb0"} 
[2026-07-07 18:38:40] local.INFO: GPS Element Parsed {"raw_longitude":756572544,"raw_latitude":119636568,"longitude_deg":75.6572544,"latitude_deg":11.9636568,"altitude":81,"angle":292,"satellites":42,"speed":29,"hex_longitude":"2d186180","hex_latitude":"07218258","is_valid_coordinates":true} 
[2026-07-07 18:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557986048001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4772748047941632,"note":"Value kept but may cause issues"} 
[2026-07-07 18:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759148266324260864,"note":"Value kept but may cause issues"} 
[2026-07-07 18:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783429636000,"timestamp_ms":1783429636000,"timestamp_seconds":1783429636,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb09fa0"} 
[2026-07-07 18:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 18:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557986048001,"66":14102,"120":206,"28":31744,"24":29,"16":4772748047941632,"45":1759148266324260864},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557986048001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:38:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:38:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4772748047941632,"km_value":4772748047941.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759148266324260864,"description":"Unknown IO ID 45"} 
[2026-07-07 18:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557986048001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1759148266324260864}} 
[2026-07-07 18:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":124685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:38:40] local.INFO: GPS data processed {"connection_id":124685,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:38:40] local.INFO: Acknowledgment sent {"connection_id":124685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:38:57] local.INFO: TCP Data received {"connection_id":124687,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:38:57] local.INFO: Processing buffer {"connection_id":124687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:38:57] local.INFO: IMEI packet received {"connection_id":124687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":124687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:39:03] local.INFO: TCP Data received {"connection_id":124687,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:39:03] local.INFO: Processing buffer {"connection_id":124687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:39:03] local.INFO: IMEI packet received {"connection_id":124687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":124687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:39:07] local.INFO: TCP Data received {"connection_id":124687,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb1a940012d7e120005d3a8f8000600722b..."} 
[2026-07-07 18:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb1a940012d7e120005d3a8f8000600722b..."} 
[2026-07-07 18:39:07] local.INFO: Processing buffer {"connection_id":124687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb1a940012d7e120005d3a8f8000600722b..."} 
[2026-07-07 18:39:07] local.INFO: Packet analysis {"connection_id":124687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb1"} 
[2026-07-07 18:39:07] local.INFO: Extracted packet for processing {"connection_id":124687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb1"} 
[2026-07-07 18:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763236864,"raw_latitude":97757432,"longitude_deg":76.3236864,"latitude_deg":9.7757432,"altitude":6,"angle":114,"satellites":43,"speed":2,"hex_longitude":"2d7e1200","hex_latitude":"05d3a8f8","is_valid_coordinates":true} 
[2026-07-07 18:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558003968001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103500517035999232,"note":"Value kept but may cause issues"} 
[2026-07-07 18:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084253054641440768,"note":"Value kept but may cause issues"} 
[2026-07-07 18:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783429704000,"timestamp_ms":1783429704000,"timestamp_seconds":1783429704,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb1a940"} 
[2026-07-07 18:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:39: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-07-07 18:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 18:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558003968001,"66":13178,"110":206,"85":15104,"24":2,"16":103500517035999232,"45":9084253054641440768},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-07 18:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558003968001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:39:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-07 18:39:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103500517035999232,"km_value":103500517035999.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084253054641440768,"description":"Unknown IO ID 45"} 
[2026-07-07 18:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558003968001,"power":13178,"unknown_110":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9084253054641440768}} 
[2026-07-07 18:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":124687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:39:07] local.INFO: GPS data processed {"connection_id":124687,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:39:07] local.INFO: Acknowledgment sent {"connection_id":124687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:39:09] local.INFO: TCP Data received {"connection_id":124781,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:39:09] local.INFO: Processing buffer {"connection_id":124781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:39:09] local.INFO: IMEI packet received {"connection_id":124781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":124781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:39:12] local.INFO: TCP Data received {"connection_id":124685,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb0ce80012d183f40072191a0005301262a..."} 
[2026-07-07 18:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb0ce80012d183f40072191a0005301262a..."} 
[2026-07-07 18:39:12] local.INFO: Processing buffer {"connection_id":124685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb0ce80012d183f40072191a0005301262a..."} 
[2026-07-07 18:39:12] local.INFO: Packet analysis {"connection_id":124685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb0"} 
[2026-07-07 18:39:12] local.INFO: Extracted packet for processing {"connection_id":124685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb0"} 
[2026-07-07 18:39:12] local.INFO: GPS Element Parsed {"raw_longitude":756563776,"raw_latitude":119640480,"longitude_deg":75.6563776,"latitude_deg":11.964048,"altitude":83,"angle":294,"satellites":42,"speed":26,"hex_longitude":"2d183f40","hex_latitude":"072191a0","is_valid_coordinates":true} 
[2026-07-07 18:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557986816001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4773203314475008,"note":"Value kept but may cause issues"} 
[2026-07-07 18:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756826097766520832,"note":"Value kept but may cause issues"} 
[2026-07-07 18:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783429648000,"timestamp_ms":1783429648000,"timestamp_seconds":1783429648,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb0ce80"} 
[2026-07-07 18:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-07 18:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557986816001,"66":12950,"120":206,"28":31744,"24":26,"16":4773203314475008,"45":1756826097766520832},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557986816001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:39:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:39:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4773203314475008,"km_value":4773203314475.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756826097766520832,"description":"Unknown IO ID 45"} 
[2026-07-07 18:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557986816001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1756826097766520832}} 
[2026-07-07 18:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":124685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:39:12] local.INFO: GPS data processed {"connection_id":124685,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:39:12] local.INFO: Acknowledgment sent {"connection_id":124685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:39:18] local.INFO: TCP Data received {"connection_id":124781,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:39:18] local.INFO: Processing buffer {"connection_id":124781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:39:18] local.INFO: IMEI packet received {"connection_id":124781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":124781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:39:19] local.INFO: TCP Data received {"connection_id":124781,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 18:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124781,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 18:39:19] local.INFO: Processing buffer {"connection_id":124781,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 18:39:19] local.INFO: IMEI packet received {"connection_id":124781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":124781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:39:33] local.INFO: TCP Data received {"connection_id":126745,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:39:33] local.INFO: Processing buffer {"connection_id":126745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:39:33] local.INFO: IMEI packet received {"connection_id":126745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":126745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:39:38] local.INFO: TCP Data received {"connection_id":124687,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb28018012d7e4bc005d3a1d0000800952b..."} 
[2026-07-07 18:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb28018012d7e4bc005d3a1d0000800952b..."} 
[2026-07-07 18:39:38] local.INFO: Processing buffer {"connection_id":124687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb28018012d7e4bc005d3a1d0000800952b..."} 
[2026-07-07 18:39:38] local.INFO: Packet analysis {"connection_id":124687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb2"} 
[2026-07-07 18:39:38] local.INFO: Extracted packet for processing {"connection_id":124687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb2"} 
[2026-07-07 18:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763251648,"raw_latitude":97755600,"longitude_deg":76.3251648,"latitude_deg":9.77556,"altitude":8,"angle":149,"satellites":43,"speed":9,"hex_longitude":"2d7e4bc0","hex_latitude":"05d3a1d0","is_valid_coordinates":true} 
[2026-07-07 18:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558018048001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103501277245210624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100437865801877504,"note":"Value kept but may cause issues"} 
[2026-07-07 18:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783429759000,"timestamp_ms":1783429759000,"timestamp_seconds":1783429759,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb28018"} 
[2026-07-07 18:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:39: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-07-07 18:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 18:39: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-07-07 18:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558018048001,"66":13189,"109":206,"85":15104,"24":9,"16":103501277245210624,"45":9100437865801877504},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558018048001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:39:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103501277245210624,"km_value":103501277245210.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100437865801877504,"description":"Unknown IO ID 45"} 
[2026-07-07 18:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558018048001,"power":13189,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9100437865801877504}} 
[2026-07-07 18:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":124687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:39:38] local.INFO: GPS data processed {"connection_id":124687,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:39:38] local.INFO: Acknowledgment sent {"connection_id":124687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:39:39] local.INFO: TCP Data received {"connection_id":126745,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:39:39] local.INFO: Processing buffer {"connection_id":126745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:39:39] local.INFO: IMEI packet received {"connection_id":126745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":126745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:39:40] local.INFO: TCP Data received {"connection_id":126745,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb114d0012d182ac007219b500051013628..."} 
[2026-07-07 18:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb114d0012d182ac007219b500051013628..."} 
[2026-07-07 18:39:40] local.INFO: Processing buffer {"connection_id":126745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb114d0012d182ac007219b500051013628..."} 
[2026-07-07 18:39:40] local.INFO: Packet analysis {"connection_id":126745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb1"} 
[2026-07-07 18:39:40] local.INFO: Extracted packet for processing {"connection_id":126745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb1"} 
[2026-07-07 18:39:40] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119642960,"longitude_deg":75.6558528,"latitude_deg":11.964296,"altitude":81,"angle":310,"satellites":40,"speed":7,"hex_longitude":"2d182ac0","hex_latitude":"07219b50","is_valid_coordinates":true} 
[2026-07-07 18:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557989888001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4773486782316544,"note":"Value kept but may cause issues"} 
[2026-07-07 18:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747185579815182336,"note":"Value kept but may cause issues"} 
[2026-07-07 18:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783429666000,"timestamp_ms":1783429666000,"timestamp_seconds":1783429666,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb114d0"} 
[2026-07-07 18:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-07 18:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557989888001,"66":13167,"120":206,"28":31744,"24":7,"16":4773486782316544,"45":1747185579815182336},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557989888001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:39:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:39:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4773486782316544,"km_value":4773486782316.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747185579815182336,"description":"Unknown IO ID 45"} 
[2026-07-07 18:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557989888001,"power":13167,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1747185579815182336}} 
[2026-07-07 18:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":126745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:39:40] local.INFO: GPS data processed {"connection_id":126745,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:39:40] local.INFO: Acknowledgment sent {"connection_id":126745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:40:12] local.INFO: TCP Data received {"connection_id":126745,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb16ac0012d1824c007219fa00050013924..."} 
[2026-07-07 18:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb16ac0012d1824c007219fa00050013924..."} 
[2026-07-07 18:40:12] local.INFO: Processing buffer {"connection_id":126745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb16ac0012d1824c007219fa00050013924..."} 
[2026-07-07 18:40:12] local.INFO: Packet analysis {"connection_id":126745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb1"} 
[2026-07-07 18:40:12] local.INFO: Extracted packet for processing {"connection_id":126745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb1"} 
[2026-07-07 18:40:12] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119644064,"longitude_deg":75.6556992,"latitude_deg":11.9644064,"altitude":80,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"07219fa0","is_valid_coordinates":true} 
[2026-07-07 18:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456557994496001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4773581271597056,"note":"Value kept but may cause issues"} 
[2026-07-07 18:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793248768,"note":"Value kept but may cause issues"} 
[2026-07-07 18:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783429688000,"timestamp_ms":1783429688000,"timestamp_seconds":1783429688,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb16ac0"} 
[2026-07-07 18:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18: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-07-07 18:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456557994496001,"66":13167,"120":206,"28":31744,"24":0,"16":4773581271597056,"45":1741415342793248768},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456557994496001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:40:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:40:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4773581271597056,"km_value":4773581271597.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793248768,"description":"Unknown IO ID 45"} 
[2026-07-07 18:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456557994496001,"power":13167,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741415342793248768}} 
[2026-07-07 18:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":126745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:40:12] local.INFO: GPS data processed {"connection_id":126745,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:40:12] local.INFO: Acknowledgment sent {"connection_id":126745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:40:22] local.INFO: TCP Data received {"connection_id":124687,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb28400012d7e4c4005d3a0f0000800a12d..."} 
[2026-07-07 18:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb28400012d7e4c4005d3a0f0000800a12d..."} 
[2026-07-07 18:40:22] local.INFO: Processing buffer {"connection_id":124687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb28400012d7e4c4005d3a0f0000800a12d..."} 
[2026-07-07 18:40:22] local.INFO: Packet analysis {"connection_id":124687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb2"} 
[2026-07-07 18:40:22] local.INFO: Extracted packet for processing {"connection_id":124687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb2"} 
[2026-07-07 18:40:22] local.INFO: GPS Element Parsed {"raw_longitude":763251776,"raw_latitude":97755376,"longitude_deg":76.3251776,"latitude_deg":9.7755376,"altitude":8,"angle":161,"satellites":45,"speed":9,"hex_longitude":"2d7e4c40","hex_latitude":"05d3a0f0","is_valid_coordinates":true} 
[2026-07-07 18:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558018304001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103501290130112512,"note":"Value kept but may cause issues"} 
[2026-07-07 18:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100578603290185728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783429760000,"timestamp_ms":1783429760000,"timestamp_seconds":1783429760,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb28400"} 
[2026-07-07 18:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:40: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-07-07 18:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 18:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558018304001,"66":13189,"109":206,"85":15104,"24":9,"16":103501290130112512,"45":9100578603290185728},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558018304001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:40:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:40:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103501290130112512,"km_value":103501290130112.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100578603290185728,"description":"Unknown IO ID 45"} 
[2026-07-07 18:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558018304001,"power":13189,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9100578603290185728}} 
[2026-07-07 18:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":124687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:40:22] local.INFO: GPS data processed {"connection_id":124687,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:40:22] local.INFO: Acknowledgment sent {"connection_id":124687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:40:33] local.INFO: TCP Data received {"connection_id":124784,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:40:33] local.INFO: Processing buffer {"connection_id":124784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:40:33] local.INFO: IMEI packet received {"connection_id":124784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":124784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:40:37] local.INFO: TCP Data received {"connection_id":124784,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:40:37] local.INFO: Processing buffer {"connection_id":124784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:40:37] local.INFO: IMEI packet received {"connection_id":124784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":124784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:40:39] local.INFO: TCP Data received {"connection_id":124784,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb2d608012d181c400721a800004f00072b..."} 
[2026-07-07 18:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb2d608012d181c400721a800004f00072b..."} 
[2026-07-07 18:40:39] local.INFO: Processing buffer {"connection_id":124784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb2d608012d181c400721a800004f00072b..."} 
[2026-07-07 18:40:39] local.INFO: Packet analysis {"connection_id":124784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb2"} 
[2026-07-07 18:40:39] local.INFO: Extracted packet for processing {"connection_id":124784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb2"} 
[2026-07-07 18:40:39] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119646208,"longitude_deg":75.6554816,"latitude_deg":11.9646208,"altitude":79,"angle":7,"satellites":43,"speed":10,"hex_longitude":"2d181c40","hex_latitude":"0721a800","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558023680001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4773753070288896,"note":"Value kept but may cause issues"} 
[2026-07-07 18:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143361024,"note":"Value kept but may cause issues"} 
[2026-07-07 18:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783429781000,"timestamp_ms":1783429781000,"timestamp_seconds":1783429781,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb2d608"} 
[2026-07-07 18:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-07-07 18:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558023680001,"66":13863,"120":206,"28":31744,"24":10,"16":4773753070288896,"45":1737193218143361024},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558023680001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:40:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:40:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4773753070288896,"km_value":4773753070288.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143361024,"description":"Unknown IO ID 45"} 
[2026-07-07 18:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558023680001,"power":13863,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1737193218143361024}} 
[2026-07-07 18:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":124784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:40:39] local.INFO: GPS data processed {"connection_id":124784,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:40:39] local.INFO: Acknowledgment sent {"connection_id":124784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:41:02] local.INFO: TCP Data received {"connection_id":125487,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:41:02] local.INFO: Processing buffer {"connection_id":125487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:41:02] local.INFO: IMEI packet received {"connection_id":125487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":125487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:41:08] local.INFO: TCP Data received {"connection_id":125487,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:41:08] local.INFO: Processing buffer {"connection_id":125487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:41:08] local.INFO: IMEI packet received {"connection_id":125487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":125487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:41:08] local.INFO: TCP Data received {"connection_id":125487,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb2be98012d7e528005d39218000800ad2b..."} 
[2026-07-07 18:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb2be98012d7e528005d39218000800ad2b..."} 
[2026-07-07 18:41:08] local.INFO: Processing buffer {"connection_id":125487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb2be98012d7e528005d39218000800ad2b..."} 
[2026-07-07 18:41:08] local.INFO: Packet analysis {"connection_id":125487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb2"} 
[2026-07-07 18:41:08] local.INFO: Extracted packet for processing {"connection_id":125487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb2"} 
[2026-07-07 18:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763253376,"raw_latitude":97751576,"longitude_deg":76.3253376,"latitude_deg":9.7751576,"altitude":8,"angle":173,"satellites":43,"speed":9,"hex_longitude":"2d7e5280","hex_latitude":"05d39218","is_valid_coordinates":true} 
[2026-07-07 18:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558018560001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103501491993575424,"note":"Value kept but may cause issues"} 
[2026-07-07 18:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100719340778483712,"note":"Value kept but may cause issues"} 
[2026-07-07 18:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783429775000,"timestamp_ms":1783429775000,"timestamp_seconds":1783429775,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb2be98"} 
[2026-07-07 18:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:41: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-07-07 18:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-07 18:41: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-07-07 18:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558018560001,"66":13254,"109":206,"85":15104,"24":9,"16":103501491993575424,"45":9100719340778483712},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558018560001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:41:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103501491993575424,"km_value":103501491993575.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100719340778483712,"description":"Unknown IO ID 45"} 
[2026-07-07 18:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558018560001,"power":13254,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9100719340778483712}} 
[2026-07-07 18:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":125487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:41:08] local.INFO: GPS data processed {"connection_id":125487,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:41:08] local.INFO: Acknowledgment sent {"connection_id":125487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:41:10] local.INFO: TCP Data received {"connection_id":124784,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb2ddd8012d181d000721aa60004f00202b..."} 
[2026-07-07 18:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb2ddd8012d181d000721aa60004f00202b..."} 
[2026-07-07 18:41:10] local.INFO: Processing buffer {"connection_id":124784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb2ddd8012d181d000721aa60004f00202b..."} 
[2026-07-07 18:41:10] local.INFO: Packet analysis {"connection_id":124784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb2"} 
[2026-07-07 18:41:10] local.INFO: Extracted packet for processing {"connection_id":124784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb2"} 
[2026-07-07 18:41:10] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646816,"longitude_deg":75.6555008,"latitude_deg":11.9646816,"altitude":79,"angle":32,"satellites":43,"speed":16,"hex_longitude":"2d181d00","hex_latitude":"0721aa60","is_valid_coordinates":true} 
[2026-07-07 18:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558023936001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4773783135059968,"note":"Value kept but may cause issues"} 
[2026-07-07 18:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631775744,"note":"Value kept but may cause issues"} 
[2026-07-07 18:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783429783000,"timestamp_ms":1783429783000,"timestamp_seconds":1783429783,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb2ddd8"} 
[2026-07-07 18:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-07-07 18:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558023936001,"66":13428,"120":206,"28":31744,"24":16,"16":4773783135059968,"45":1737333955631775744},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558023936001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:41:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:41:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4773783135059968,"km_value":4773783135059.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631775744,"description":"Unknown IO ID 45"} 
[2026-07-07 18:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558023936001,"power":13428,"unknown_120":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1737333955631775744}} 
[2026-07-07 18:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":124784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:41:11] local.INFO: GPS data processed {"connection_id":124784,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:41:11] local.INFO: Acknowledgment sent {"connection_id":124784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:41:33] local.INFO: TCP Data received {"connection_id":124689,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:41:33] local.INFO: Processing buffer {"connection_id":124689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:41:33] local.INFO: IMEI packet received {"connection_id":124689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":124689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:41:38] local.INFO: TCP Data received {"connection_id":124689,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:41:38] local.INFO: Processing buffer {"connection_id":124689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:41:38] local.INFO: IMEI packet received {"connection_id":124689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":124689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:41:39] local.INFO: TCP Data received {"connection_id":125487,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb483b8012d7e2fc005d354f8000500bf2c..."} 
[2026-07-07 18:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb483b8012d7e2fc005d354f8000500bf2c..."} 
[2026-07-07 18:41:39] local.INFO: Processing buffer {"connection_id":125487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb483b8012d7e2fc005d354f8000500bf2c..."} 
[2026-07-07 18:41:39] local.INFO: Packet analysis {"connection_id":125487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb4"} 
[2026-07-07 18:41:39] local.INFO: Extracted packet for processing {"connection_id":125487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb4"} 
[2026-07-07 18:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763244480,"raw_latitude":97735928,"longitude_deg":76.324448,"latitude_deg":9.7735928,"altitude":5,"angle":191,"satellites":44,"speed":6,"hex_longitude":"2d7e2fc0","hex_latitude":"05d354f8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558051840001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502759008927744,"note":"Value kept but may cause issues"} 
[2026-07-07 18:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092767672681465856,"note":"Value kept but may cause issues"} 
[2026-07-07 18:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783429891000,"timestamp_ms":1783429891000,"timestamp_seconds":1783429891,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb483b8"} 
[2026-07-07 18:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 18:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558051840001,"66":13178,"109":206,"85":15104,"24":6,"16":103502759008927744,"45":9092767672681465856},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558051840001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:41:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502759008927744,"km_value":103502759008927.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092767672681465856,"description":"Unknown IO ID 45"} 
[2026-07-07 18:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558051840001,"power":13178,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9092767672681465856}} 
[2026-07-07 18:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":125487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447139,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:41:39] local.INFO: GPS data processed {"connection_id":125487,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:41:39] local.INFO: Acknowledgment sent {"connection_id":125487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:41:39] local.INFO: TCP Data received {"connection_id":124689,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb31c58012d1827400721bb50004f00012a..."} 
[2026-07-07 18:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb31c58012d1827400721bb50004f00012a..."} 
[2026-07-07 18:41:39] local.INFO: Processing buffer {"connection_id":124689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb31c58012d1827400721bb50004f00012a..."} 
[2026-07-07 18:41:39] local.INFO: Packet analysis {"connection_id":124689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb3"} 
[2026-07-07 18:41:39] local.INFO: Extracted packet for processing {"connection_id":124689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb3"} 
[2026-07-07 18:41:39] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119651152,"longitude_deg":75.6557632,"latitude_deg":11.9651152,"altitude":79,"angle":1,"satellites":42,"speed":8,"hex_longitude":"2d182740","hex_latitude":"0721bb50","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558024448001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774032243163136,"note":"Value kept but may cause issues"} 
[2026-07-07 18:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864464384,"note":"Value kept but may cause issues"} 
[2026-07-07 18:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783429799000,"timestamp_ms":1783429799000,"timestamp_seconds":1783429799,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb31c58"} 
[2026-07-07 18:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-07 18:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558024448001,"66":12319,"120":206,"28":31744,"24":8,"16":4774032243163136,"45":1737545061864464384},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558024448001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:41:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:41:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774032243163136,"km_value":4774032243163.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864464384,"description":"Unknown IO ID 45"} 
[2026-07-07 18:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558024448001,"power":12319,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1737545061864464384}} 
[2026-07-07 18:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":124689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:41:40] local.INFO: GPS data processed {"connection_id":124689,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:41:40] local.INFO: Acknowledgment sent {"connection_id":124689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:41:57] local.INFO: TCP Data received {"connection_id":124785,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:41:57] local.INFO: Processing buffer {"connection_id":124785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:41:57] local.INFO: IMEI packet received {"connection_id":124785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":124785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:42:02] local.INFO: TCP Data received {"connection_id":124785,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:42:02] local.INFO: Processing buffer {"connection_id":124785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:42:02] local.INFO: IMEI packet received {"connection_id":124785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":124785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:42:05] local.INFO: TCP Data received {"connection_id":124785,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb487a0012d7e2fc005d35448000500ac2c..."} 
[2026-07-07 18:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb487a0012d7e2fc005d35448000500ac2c..."} 
[2026-07-07 18:42:05] local.INFO: Processing buffer {"connection_id":124785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb487a0012d7e2fc005d35448000500ac2c..."} 
[2026-07-07 18:42:05] local.INFO: Packet analysis {"connection_id":124785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb4"} 
[2026-07-07 18:42:05] local.INFO: Extracted packet for processing {"connection_id":124785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb4"} 
[2026-07-07 18:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763244480,"raw_latitude":97735752,"longitude_deg":76.324448,"latitude_deg":9.7735752,"altitude":5,"angle":172,"satellites":44,"speed":7,"hex_longitude":"2d7e2fc0","hex_latitude":"05d35448","is_valid_coordinates":true} 
[2026-07-07 18:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558052096001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502767598862336,"note":"Value kept but may cause issues"} 
[2026-07-07 18:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092697303937251328,"note":"Value kept but may cause issues"} 
[2026-07-07 18:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783429892000,"timestamp_ms":1783429892000,"timestamp_seconds":1783429892,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb487a0"} 
[2026-07-07 18:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-07 18:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558052096001,"66":13222,"109":206,"85":15104,"24":7,"16":103502767598862336,"45":9092697303937251328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558052096001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:42:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:42:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502767598862336,"km_value":103502767598862.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092697303937251328,"description":"Unknown IO ID 45"} 
[2026-07-07 18:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558052096001,"power":13222,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9092697303937251328}} 
[2026-07-07 18:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":124785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:42:05] local.INFO: GPS data processed {"connection_id":124785,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:42:05] local.INFO: Acknowledgment sent {"connection_id":124785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:42:11] local.INFO: TCP Data received {"connection_id":124689,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb32040012d1827400721bbf8004f01412b..."} 
[2026-07-07 18:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb32040012d1827400721bbf8004f01412b..."} 
[2026-07-07 18:42:11] local.INFO: Processing buffer {"connection_id":124689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb32040012d1827400721bbf8004f01412b..."} 
[2026-07-07 18:42:11] local.INFO: Packet analysis {"connection_id":124689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb3"} 
[2026-07-07 18:42:11] local.INFO: Extracted packet for processing {"connection_id":124689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb3"} 
[2026-07-07 18:42:11] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119651320,"longitude_deg":75.6557632,"latitude_deg":11.965132,"altitude":79,"angle":321,"satellites":43,"speed":6,"hex_longitude":"2d182740","hex_latitude":"0721bbf8","is_valid_coordinates":true} 
[2026-07-07 18:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558028544001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774036538130432,"note":"Value kept but may cause issues"} 
[2026-07-07 18:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740430180376858624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783429800000,"timestamp_ms":1783429800000,"timestamp_seconds":1783429800,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb32040"} 
[2026-07-07 18:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:42: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-07-07 18: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-07 18:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558028544001,"66":13080,"120":206,"28":31744,"24":6,"16":4774036538130432,"45":1740430180376858624},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558028544001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:42:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:42:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774036538130432,"km_value":4774036538130.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740430180376858624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558028544001,"power":13080,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1740430180376858624}} 
[2026-07-07 18:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":124689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:42:11] local.INFO: GPS data processed {"connection_id":124689,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:42:11] local.INFO: Acknowledgment sent {"connection_id":124689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:42:28] local.INFO: TCP Data received {"connection_id":126746,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:42:28] local.INFO: Processing buffer {"connection_id":126746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:42:28] local.INFO: IMEI packet received {"connection_id":126746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 18:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":126746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:42:39] local.INFO: TCP Data received {"connection_id":124786,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:42:39] local.INFO: Processing buffer {"connection_id":124786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:42:39] local.INFO: IMEI packet received {"connection_id":124786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":124786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:42:41] local.INFO: TCP Data received {"connection_id":124785,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb48f70012d7e304005d352e0000600962c..."} 
[2026-07-07 18:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb48f70012d7e304005d352e0000600962c..."} 
[2026-07-07 18:42:41] local.INFO: Processing buffer {"connection_id":124785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb48f70012d7e304005d352e0000600962c..."} 
[2026-07-07 18:42:41] local.INFO: Packet analysis {"connection_id":124785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb4"} 
[2026-07-07 18:42:41] local.INFO: Extracted packet for processing {"connection_id":124785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb4"} 
[2026-07-07 18:42:41] local.INFO: GPS Element Parsed {"raw_longitude":763244608,"raw_latitude":97735392,"longitude_deg":76.3244608,"latitude_deg":9.7735392,"altitude":6,"angle":150,"satellites":44,"speed":8,"hex_longitude":"2d7e3040","hex_latitude":"05d352e0","is_valid_coordinates":true} 
[2026-07-07 18:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558052352001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502789073698816,"note":"Value kept but may cause issues"} 
[2026-07-07 18:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092697303937206272,"note":"Value kept but may cause issues"} 
[2026-07-07 18:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783429894000,"timestamp_ms":1783429894000,"timestamp_seconds":1783429894,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb48f70"} 
[2026-07-07 18:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:42: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-07-07 18:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-07 18:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558052352001,"66":13200,"109":206,"85":15104,"24":8,"16":103502789073698816,"45":9092697303937206272},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558052352001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:42:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502789073698816,"km_value":103502789073698.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092697303937206272,"description":"Unknown IO ID 45"} 
[2026-07-07 18:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558052352001,"power":13200,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9092697303937206272}} 
[2026-07-07 18:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":124785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:42:41] local.INFO: GPS data processed {"connection_id":124785,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:42:41] local.INFO: Acknowledgment sent {"connection_id":124785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:42:43] local.INFO: TCP Data received {"connection_id":124786,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:42:43] local.INFO: Processing buffer {"connection_id":124786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:42:43] local.INFO: IMEI packet received {"connection_id":124786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":124786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:42:44] local.INFO: TCP Data received {"connection_id":124786,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb37248012d1826800721bad0004f01412b..."} 
[2026-07-07 18:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb37248012d1826800721bad0004f01412b..."} 
[2026-07-07 18:42:44] local.INFO: Processing buffer {"connection_id":124786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb37248012d1826800721bad0004f01412b..."} 
[2026-07-07 18:42:44] local.INFO: Packet analysis {"connection_id":124786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb3"} 
[2026-07-07 18:42:44] local.INFO: Extracted packet for processing {"connection_id":124786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb3"} 
[2026-07-07 18:42:44] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651024,"longitude_deg":75.655744,"latitude_deg":11.9651024,"altitude":79,"angle":321,"satellites":43,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bad0","is_valid_coordinates":true} 
[2026-07-07 18:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558028800001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774079487803392,"note":"Value kept but may cause issues"} 
[2026-07-07 18:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740430180376901632,"note":"Value kept but may cause issues"} 
[2026-07-07 18:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783429821000,"timestamp_ms":1783429821000,"timestamp_seconds":1783429821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb37248"} 
[2026-07-07 18:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-07 18:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558028800001,"66":13080,"120":206,"28":31744,"24":0,"16":4774079487803392,"45":1740430180376901632},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558028800001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:42:44] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:42:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774079487803392,"km_value":4774079487803.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740430180376901632,"description":"Unknown IO ID 45"} 
[2026-07-07 18:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558028800001,"power":13080,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740430180376901632}} 
[2026-07-07 18:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":124786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:42:44] local.INFO: GPS data processed {"connection_id":124786,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:42:44] local.INFO: Acknowledgment sent {"connection_id":124786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:42:45] local.INFO: TCP Data received {"connection_id":124786,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb3c450012d1827000721bb20004f01412b..."} 
[2026-07-07 18:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb3c450012d1827000721bb20004f01412b..."} 
[2026-07-07 18:42:45] local.INFO: Processing buffer {"connection_id":124786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb3c450012d1827000721bb20004f01412b..."} 
[2026-07-07 18:42:45] local.INFO: Packet analysis {"connection_id":124786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb3"} 
[2026-07-07 18:42:45] local.INFO: Extracted packet for processing {"connection_id":124786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb3"} 
[2026-07-07 18:42:45] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119651104,"longitude_deg":75.6557568,"latitude_deg":11.9651104,"altitude":79,"angle":321,"satellites":43,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721bb20","is_valid_coordinates":true} 
[2026-07-07 18:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558034176001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774088077737984,"note":"Value kept but may cause issues"} 
[2026-07-07 18:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144292864,"note":"Value kept but may cause issues"} 
[2026-07-07 18:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783429842000,"timestamp_ms":1783429842000,"timestamp_seconds":1783429842,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb3c450"} 
[2026-07-07 18:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-07 18:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558034176001,"66":12993,"120":206,"28":31744,"24":0,"16":4774088077737984,"45":1740219074144292864},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558034176001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:42:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:42:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774088077737984,"km_value":4774088077737.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144292864,"description":"Unknown IO ID 45"} 
[2026-07-07 18:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558034176001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740219074144292864}} 
[2026-07-07 18:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":124786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:42:46] local.INFO: GPS data processed {"connection_id":124786,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:42:46] local.INFO: Acknowledgment sent {"connection_id":124786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:42:58] local.INFO: TCP Data received {"connection_id":125489,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:42:58] local.INFO: Processing buffer {"connection_id":125489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:42:58] local.INFO: IMEI packet received {"connection_id":125489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":125489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:43:01] local.INFO: TCP Data received {"connection_id":125488,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:43:01] local.INFO: Processing buffer {"connection_id":125488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:43:01] local.INFO: IMEI packet received {"connection_id":125488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 18:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":125488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:43:06] local.INFO: TCP Data received {"connection_id":125489,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:43:06] local.INFO: Processing buffer {"connection_id":125489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:43:06] local.INFO: IMEI packet received {"connection_id":125489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":125489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:43:14] local.INFO: TCP Data received {"connection_id":125489,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb4be50012d7e34c005d34df8000700712c..."} 
[2026-07-07 18:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb4be50012d7e34c005d34df8000700712c..."} 
[2026-07-07 18:43:14] local.INFO: Processing buffer {"connection_id":125489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb4be50012d7e34c005d34df8000700712c..."} 
[2026-07-07 18:43:14] local.INFO: Packet analysis {"connection_id":125489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb4"} 
[2026-07-07 18:43:14] local.INFO: Extracted packet for processing {"connection_id":125489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb4"} 
[2026-07-07 18:43:14] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97734136,"longitude_deg":76.324576,"latitude_deg":9.7734136,"altitude":7,"angle":113,"satellites":44,"speed":6,"hex_longitude":"2d7e34c0","hex_latitude":"05d34df8","is_valid_coordinates":true} 
[2026-07-07 18:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558052864001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502870678077440,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092838041425469440,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783429906000,"timestamp_ms":1783429906000,"timestamp_seconds":1783429906,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb4be50"} 
[2026-07-07 18:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:43:14] 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-07-07 18:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-07 18:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558052864001,"66":13243,"109":206,"85":15104,"24":6,"16":103502870678077440,"45":9092838041425469440},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558052864001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:43:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:43:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502870678077440,"km_value":103502870678077.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092838041425469440,"description":"Unknown IO ID 45"} 
[2026-07-07 18:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558052864001,"power":13243,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9092838041425469440}} 
[2026-07-07 18:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":125489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:43:14] local.INFO: GPS data processed {"connection_id":125489,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:43:14] local.INFO: Acknowledgment sent {"connection_id":125489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:43:15] local.INFO: TCP Data received {"connection_id":125489,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb4c238012d7e358005d34dd8000700632a..."} 
[2026-07-07 18:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb4c238012d7e358005d34dd8000700632a..."} 
[2026-07-07 18:43:15] local.INFO: Processing buffer {"connection_id":125489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb4c238012d7e358005d34dd8000700632a..."} 
[2026-07-07 18:43:15] local.INFO: Packet analysis {"connection_id":125489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb4"} 
[2026-07-07 18:43:15] local.INFO: Extracted packet for processing {"connection_id":125489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb4"} 
[2026-07-07 18:43:15] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97734104,"longitude_deg":76.3245952,"latitude_deg":9.7734104,"altitude":7,"angle":99,"satellites":42,"speed":6,"hex_longitude":"2d7e3580","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-07 18:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558055936001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502879268012032,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820345856,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783429907000,"timestamp_ms":1783429907000,"timestamp_seconds":1783429907,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb4c238"} 
[2026-07-07 18:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:43: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-07-07 18:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 18:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558055936001,"66":13059,"109":206,"85":15104,"24":6,"16":103502879268012032,"45":9094104678820345856},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558055936001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:43:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:43:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502879268012032,"km_value":103502879268012.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820345856,"description":"Unknown IO ID 45"} 
[2026-07-07 18:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558055936001,"power":13059,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9094104678820345856}} 
[2026-07-07 18:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":125489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:43:15] local.INFO: GPS data processed {"connection_id":125489,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:43:15] local.INFO: Acknowledgment sent {"connection_id":125489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:43:17] local.INFO: TCP Data received {"connection_id":124786,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb41658012d1827000721bb20004f014129..."} 
[2026-07-07 18:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb41658012d1827000721bb20004f014129..."} 
[2026-07-07 18:43:17] local.INFO: Processing buffer {"connection_id":124786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb41658012d1827000721bb20004f014129..."} 
[2026-07-07 18:43:17] local.INFO: Packet analysis {"connection_id":124786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb4"} 
[2026-07-07 18:43:17] local.INFO: Extracted packet for processing {"connection_id":124786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb4"} 
[2026-07-07 18:43:17] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119651104,"longitude_deg":75.6557568,"latitude_deg":11.9651104,"altitude":79,"angle":321,"satellites":41,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721bb20","is_valid_coordinates":true} 
[2026-07-07 18:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558039552001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774088077737984,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632668672,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783429863000,"timestamp_ms":1783429863000,"timestamp_seconds":1783429863,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb41658"} 
[2026-07-07 18:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-07 18:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558039552001,"66":12809,"120":206,"28":31744,"24":0,"16":4774088077737984,"45":1740359811632668672},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558039552001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:43:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:43:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774088077737984,"km_value":4774088077737.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632668672,"description":"Unknown IO ID 45"} 
[2026-07-07 18:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558039552001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740359811632668672}} 
[2026-07-07 18:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":124786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:43:17] local.INFO: GPS data processed {"connection_id":124786,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:43:17] local.INFO: Acknowledgment sent {"connection_id":124786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:43:34] local.INFO: TCP Data received {"connection_id":124691,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:43:34] local.INFO: Processing buffer {"connection_id":124691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:43:34] local.INFO: IMEI packet received {"connection_id":124691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":124691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:43:39] local.INFO: TCP Data received {"connection_id":124691,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:43:39] local.INFO: Processing buffer {"connection_id":124691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:43:39] local.INFO: IMEI packet received {"connection_id":124691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":124691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:43:41] local.INFO: TCP Data received {"connection_id":124691,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb46860012d1827000721bb20004f01412b..."} 
[2026-07-07 18:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb46860012d1827000721bb20004f01412b..."} 
[2026-07-07 18:43:41] local.INFO: Processing buffer {"connection_id":124691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb46860012d1827000721bb20004f01412b..."} 
[2026-07-07 18:43:41] local.INFO: Packet analysis {"connection_id":124691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb4"} 
[2026-07-07 18:43:41] local.INFO: Extracted packet for processing {"connection_id":124691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb4"} 
[2026-07-07 18:43:41] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119651104,"longitude_deg":75.6557568,"latitude_deg":11.9651104,"altitude":79,"angle":321,"satellites":43,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721bb20","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558044928001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774088077737984,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632668672,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783429884000,"timestamp_ms":1783429884000,"timestamp_seconds":1783429884,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb46860"} 
[2026-07-07 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-07-07 18:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-07 18:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":576460752471196672,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4122673152,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:41] local.WARNING: Large IO value detected {"io_id":245,"raw_value":4127195136,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:41] local.WARNING: Large IO value detected {"io_id":60,"raw_value":-5561347400425530432,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:41] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3142582351,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-07 18:43:41] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:41] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2424933313966859051,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:41] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2810472561513647644,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:41] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:41] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,120,28,24,241,158,16,246,159,196,45,187,79,43,10,66,114,128,186,32,64,1,240,245,60,33,4,113,205,8,221,29,96,239,52,2,7,54,124,180],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-07 18:43:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692903048322482176,"timestamp_seconds":5692903048322482.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 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-07-07 18:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558044928001,"66":13004,"120":206,"28":31744,"24":0,"16":4774088077737984,"45":1740359811632668672},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558044928001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:43:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:43:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774088077737984,"km_value":4774088077737.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632668672,"description":"Unknown IO ID 45"} 
[2026-07-07 18:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558044928001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740359811632668672}} 
[2026-07-07 18:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":124691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:43:41] local.INFO: GPS data processed {"connection_id":124691,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:43:41] local.INFO: Acknowledgment sent {"connection_id":124691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:43:44] local.INFO: TCP Data received {"connection_id":124691,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb4ba68012d1827000721bb20004f01412c..."} 
[2026-07-07 18:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb4ba68012d1827000721bb20004f01412c..."} 
[2026-07-07 18:43:44] local.INFO: Processing buffer {"connection_id":124691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb4ba68012d1827000721bb20004f01412c..."} 
[2026-07-07 18:43:44] local.INFO: Packet analysis {"connection_id":124691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb4"} 
[2026-07-07 18:43:44] local.INFO: Extracted packet for processing {"connection_id":124691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb4"} 
[2026-07-07 18:43:44] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119651104,"longitude_deg":75.6557568,"latitude_deg":11.9651104,"altitude":79,"angle":321,"satellites":44,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721bb20","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558050304001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774088077737984,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632668672,"note":"Value kept but may cause issues"} 
[2026-07-07 18:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783429905000,"timestamp_ms":1783429905000,"timestamp_seconds":1783429905,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb4ba68"} 
[2026-07-07 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-07-07 18:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-07 18:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 18:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558050304001,"66":12993,"120":206,"28":31744,"24":0,"16":4774088077737984,"45":1740359811632668672},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558050304001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:43:44] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:43:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774088077737984,"km_value":4774088077737.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632668672,"description":"Unknown IO ID 45"} 
[2026-07-07 18:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558050304001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740359811632668672}} 
[2026-07-07 18:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":124691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:43:44] local.INFO: GPS data processed {"connection_id":124691,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:43:44] local.INFO: Acknowledgment sent {"connection_id":124691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:44:03] local.INFO: TCP Data received {"connection_id":124788,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:44:03] local.INFO: Processing buffer {"connection_id":124788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:44:03] local.INFO: IMEI packet received {"connection_id":124788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":124788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:44:08] local.INFO: TCP Data received {"connection_id":124788,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:44:08] local.INFO: Processing buffer {"connection_id":124788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:44:08] local.INFO: IMEI packet received {"connection_id":124788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":124788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:44:09] local.INFO: TCP Data received {"connection_id":124788,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb4c620012d7e360005d34de8000700532c..."} 
[2026-07-07 18:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb4c620012d7e360005d34de8000700532c..."} 
[2026-07-07 18:44:09] local.INFO: Processing buffer {"connection_id":124788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb4c620012d7e360005d34de8000700532c..."} 
[2026-07-07 18:44:09] local.INFO: Packet analysis {"connection_id":124788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb4"} 
[2026-07-07 18:44:09] local.INFO: Extracted packet for processing {"connection_id":124788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb4"} 
[2026-07-07 18:44:09] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734120,"longitude_deg":76.324608,"latitude_deg":9.773412,"altitude":7,"angle":83,"satellites":44,"speed":6,"hex_longitude":"2d7e3600","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-07-07 18:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558056192001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502887857946624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052870656,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44: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-07-07 18:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783429908000,"timestamp_ms":1783429908000,"timestamp_seconds":1783429908,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb4c620"} 
[2026-07-07 18:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:44: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-07-07 18: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 18:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303155530222925,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:09] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58077557095399432,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:09] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3028531201,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-07 18:44:09] local.WARNING: Large IO value detected {"io_id":127,"raw_value":3489738110,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:09] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3073638400,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:09] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,109,85,24,241,157,16,183,159,190,45,192,77,7,44,10,66,143,64,82,6,135,1,240,166,227,60,211,4,113,205,127,48,136,239,51,2,111,5,8],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-07 18:44:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504512190305665024,"timestamp_seconds":504512190305665.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 18:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558056192001,"66":13059,"109":206,"85":15104,"24":6,"16":103502887857946624,"45":9094315785052870656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558056192001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:44:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:44:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502887857946624,"km_value":103502887857946.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052870656,"description":"Unknown IO ID 45"} 
[2026-07-07 18:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558056192001,"power":13059,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9094315785052870656}} 
[2026-07-07 18:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":124788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:44:09] local.INFO: GPS data processed {"connection_id":124788,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:44:09] local.INFO: Acknowledgment sent {"connection_id":124788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:44:15] local.INFO: TCP Data received {"connection_id":124691,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb50c70012d1827000721bb20004f01412c..."} 
[2026-07-07 18:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb50c70012d1827000721bb20004f01412c..."} 
[2026-07-07 18:44:15] local.INFO: Processing buffer {"connection_id":124691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb50c70012d1827000721bb20004f01412c..."} 
[2026-07-07 18:44:15] local.INFO: Packet analysis {"connection_id":124691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb5"} 
[2026-07-07 18:44:15] local.INFO: Extracted packet for processing {"connection_id":124691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb5"} 
[2026-07-07 18:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119651104,"longitude_deg":75.6557568,"latitude_deg":11.9651104,"altitude":79,"angle":321,"satellites":44,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721bb20","is_valid_coordinates":true} 
[2026-07-07 18:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558055680001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774088077737984,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632668672,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783429926000,"timestamp_ms":1783429926000,"timestamp_seconds":1783429926,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb50c70"} 
[2026-07-07 18:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-07 18:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558055680001,"66":12950,"120":206,"28":31744,"24":0,"16":4774088077737984,"45":1740359811632668672},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558055680001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:44:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:44:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774088077737984,"km_value":4774088077737.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632668672,"description":"Unknown IO ID 45"} 
[2026-07-07 18:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558055680001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740359811632668672}} 
[2026-07-07 18:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":124691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:44:15] local.INFO: GPS data processed {"connection_id":124691,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:44:15] local.INFO: Acknowledgment sent {"connection_id":124691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:44:22] local.INFO: TCP Data received {"connection_id":126747,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:44:22] local.INFO: Processing buffer {"connection_id":126747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:44:22] local.INFO: IMEI packet received {"connection_id":126747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":126747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:44:23] local.INFO: TCP Data received {"connection_id":126747,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb63168012dcc22c0052af850002c009031..."} 
[2026-07-07 18:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb63168012dcc22c0052af850002c009031..."} 
[2026-07-07 18:44:23] local.INFO: Processing buffer {"connection_id":126747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb63168012dcc22c0052af850002c009031..."} 
[2026-07-07 18:44:23] local.INFO: Packet analysis {"connection_id":126747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:44:23] local.INFO: Extracted packet for processing {"connection_id":126747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:44:23] local.INFO: GPS Element Parsed {"raw_longitude":768352960,"raw_latitude":86702160,"longitude_deg":76.835296,"latitude_deg":8.670216,"altitude":44,"angle":144,"satellites":49,"speed":39,"hex_longitude":"2dcc22c0","hex_latitude":"052af850","is_valid_coordinates":true} 
[2026-07-07 18:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558078720001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341723446499082240,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3739887624613351424,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783430001000,"timestamp_ms":1783430001000,"timestamp_seconds":1783430001,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb63168"} 
[2026-07-07 18:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:44: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-07-07 18:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 18:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558078720001,"66":27908,"160":206,"80":36352,"24":39,"16":341723446499082240,"45":-3739887624613351424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-07-07 18:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558078720001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:44:23] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-07 18:44:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341723446499082240,"km_value":341723446499082.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3739887624613351424,"description":"Unknown IO ID 45"} 
[2026-07-07 18:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558078720001,"power":27908,"unknown_160":206,"unknown_80":36352,"ignition":39,"odometer":null,"unknown_45":-3739887624613351424}} 
[2026-07-07 18:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":126747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:44:23] local.INFO: GPS data processed {"connection_id":126747,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:44:23] local.INFO: Acknowledgment sent {"connection_id":126747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:44:34] local.INFO: TCP Data received {"connection_id":124692,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:44:34] local.INFO: Processing buffer {"connection_id":124692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:44:34] local.INFO: IMEI packet received {"connection_id":124692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":124692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:44:39] local.INFO: TCP Data received {"connection_id":124692,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:44:39] local.INFO: Processing buffer {"connection_id":124692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:44:39] local.INFO: IMEI packet received {"connection_id":124692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":124692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:44:40] local.INFO: TCP Data received {"connection_id":124692,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb55e78012d1827000721bb20004f01412d..."} 
[2026-07-07 18:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb55e78012d1827000721bb20004f01412d..."} 
[2026-07-07 18:44:40] local.INFO: Processing buffer {"connection_id":124692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb55e78012d1827000721bb20004f01412d..."} 
[2026-07-07 18:44:40] local.INFO: Packet analysis {"connection_id":124692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb5"} 
[2026-07-07 18:44:40] local.INFO: Extracted packet for processing {"connection_id":124692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb5"} 
[2026-07-07 18:44:40] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119651104,"longitude_deg":75.6557568,"latitude_deg":11.9651104,"altitude":79,"angle":321,"satellites":45,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721bb20","is_valid_coordinates":true} 
[2026-07-07 18:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558061056001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774088077737984,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632668672,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783429947000,"timestamp_ms":1783429947000,"timestamp_seconds":1783429947,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb55e78"} 
[2026-07-07 18:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:44: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-07-07 18: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-07 18:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558061056001,"66":12950,"120":206,"28":31744,"24":0,"16":4774088077737984,"45":1740359811632668672},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558061056001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:44:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:44:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774088077737984,"km_value":4774088077737.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632668672,"description":"Unknown IO ID 45"} 
[2026-07-07 18:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558061056001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740359811632668672}} 
[2026-07-07 18:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":124692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:44:40] local.INFO: GPS data processed {"connection_id":124692,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:44:40] local.INFO: Acknowledgment sent {"connection_id":124692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:44:41] local.INFO: TCP Data received {"connection_id":124788,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb51828012d7e35c005d34e18000700532b..."} 
[2026-07-07 18:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb51828012d7e35c005d34e18000700532b..."} 
[2026-07-07 18:44:41] local.INFO: Processing buffer {"connection_id":124788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb51828012d7e35c005d34e18000700532b..."} 
[2026-07-07 18:44:41] local.INFO: Packet analysis {"connection_id":124788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb5"} 
[2026-07-07 18:44:41] local.INFO: Extracted packet for processing {"connection_id":124788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb5"} 
[2026-07-07 18:44:41] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734168,"longitude_deg":76.3246016,"latitude_deg":9.7734168,"altitude":7,"angle":83,"satellites":43,"speed":2,"hex_longitude":"2d7e35c0","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-07-07 18:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558056448001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502939397554176,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541230080,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783429929000,"timestamp_ms":1783429929000,"timestamp_seconds":1783429929,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb51828"} 
[2026-07-07 18:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:44: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-07-07 18: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 18:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165009349965,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:41] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58077557095399430,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:41] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3028787201,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-07 18:44:41] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3087084926,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:41] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3221607252,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:41] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3073769472,"note":"Value kept but may cause issues"} 
[2026-07-07 18:44:41] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,109,85,24,241,157,16,183,159,194,45,128,77,7,42,10,66,190,192,44,143,64,1,240,144,227,60,211,4,113,205,131,47,248,239,51,2,111,5,6],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-07 18:44:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504494606709555200,"timestamp_seconds":504494606709555.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 18:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558056448001,"66":13319,"109":206,"85":15104,"24":2,"16":103502939397554176,"45":9094456522541230080},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558056448001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:44:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502939397554176,"km_value":103502939397554.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541230080,"description":"Unknown IO ID 45"} 
[2026-07-07 18:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558056448001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9094456522541230080}} 
[2026-07-07 18:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":124788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:44:41] local.INFO: GPS data processed {"connection_id":124788,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:44:41] local.INFO: Acknowledgment sent {"connection_id":124788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:44:58] local.INFO: TCP Data received {"connection_id":125491,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:44:58] local.INFO: Processing buffer {"connection_id":125491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:44:58] local.INFO: IMEI packet received {"connection_id":125491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":125491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:44:58] local.INFO: TCP Data received {"connection_id":125492,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:44:58] local.INFO: Processing buffer {"connection_id":125492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:44:58] local.INFO: IMEI packet received {"connection_id":125492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":125492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:44:58] local.INFO: TCP Data received {"connection_id":125491,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:44:58] local.INFO: Processing buffer {"connection_id":125491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:44:58] local.INFO: IMEI packet received {"connection_id":125491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":125491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:45:01] local.INFO: TCP Data received {"connection_id":125492,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:45:01] local.INFO: Processing buffer {"connection_id":125492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:45:01] local.INFO: IMEI packet received {"connection_id":125492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":125492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:45:03] local.INFO: TCP Data received {"connection_id":125491,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:45:03] local.INFO: Processing buffer {"connection_id":125491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:45:03] local.INFO: IMEI packet received {"connection_id":125491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":125491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:45:04] local.INFO: TCP Data received {"connection_id":125491,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb56a30012d7e344005d34e80000700532d..."} 
[2026-07-07 18:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb56a30012d7e344005d34e80000700532d..."} 
[2026-07-07 18:45:04] local.INFO: Processing buffer {"connection_id":125491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb56a30012d7e344005d34e80000700532d..."} 
[2026-07-07 18:45:04] local.INFO: Packet analysis {"connection_id":125491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb5"} 
[2026-07-07 18:45:04] local.INFO: Extracted packet for processing {"connection_id":125491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb5"} 
[2026-07-07 18:45:04] local.INFO: GPS Element Parsed {"raw_longitude":763245632,"raw_latitude":97734272,"longitude_deg":76.3245632,"latitude_deg":9.7734272,"altitude":7,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7e3440","hex_latitude":"05d34e80","is_valid_coordinates":true} 
[2026-07-07 18:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558061824001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502973757292544,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797064704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783429950000,"timestamp_ms":1783429950000,"timestamp_seconds":1783429950,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb56a30"} 
[2026-07-07 18:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:45:04] 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-07-07 18:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-07 18:45:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:04] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3029299201,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:04] local.WARNING: Large IO value detected {"io_id":211,"raw_value":6163176111545003008,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-07 18:45:04] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2684431742,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:04] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3221607252,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:04] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070413,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:04] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3073900544,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:04] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:04] local.WARNING: Large IO value detected {"io_id":180,"raw_value":9209862532874895365,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:04] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,109,85,24,241,157,16,183,159,198,45,77,7,44,10,66,194,128,42,190,192,1,240,187,227,60,211,4,113,205,8,135,47,72,239,51,2,111,5,6,122,180],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-07 18:45:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504494602414325760,"timestamp_seconds":504494602414325.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 18:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558061824001,"66":12602,"109":206,"85":15104,"24":0,"16":103502973757292544,"45":9094386153797064704},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558061824001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:45:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:45:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502973757292544,"km_value":103502973757292.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797064704,"description":"Unknown IO ID 45"} 
[2026-07-07 18:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558061824001,"power":12602,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797064704}} 
[2026-07-07 18:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":125491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:45:04] local.INFO: GPS data processed {"connection_id":125491,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:45:04] local.INFO: Acknowledgment sent {"connection_id":125491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:45:05] local.INFO: TCP Data received {"connection_id":125492,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:45:05] local.INFO: Processing buffer {"connection_id":125492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:45:05] local.INFO: IMEI packet received {"connection_id":125492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":125492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:45:06] local.INFO: TCP Data received {"connection_id":125492,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb65490012dcc3580052ad6d80029009732..."} 
[2026-07-07 18:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb65490012dcc3580052ad6d80029009732..."} 
[2026-07-07 18:45:06] local.INFO: Processing buffer {"connection_id":125492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb65490012dcc3580052ad6d80029009732..."} 
[2026-07-07 18:45:06] local.INFO: Packet analysis {"connection_id":125492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:45:06] local.INFO: Extracted packet for processing {"connection_id":125492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:45:06] local.INFO: GPS Element Parsed {"raw_longitude":768357760,"raw_latitude":86693592,"longitude_deg":76.835776,"latitude_deg":8.6693592,"altitude":41,"angle":151,"satellites":50,"speed":50,"hex_longitude":"2dcc3580","hex_latitude":"052ad6d8","is_valid_coordinates":true} 
[2026-07-07 18:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558080256001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341723918945484800,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3737213612335804416,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783430010000,"timestamp_ms":1783430010000,"timestamp_seconds":1783430010,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb65490"} 
[2026-07-07 18:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 18:45: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-07-07 18:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558080256001,"66":27974,"160":206,"80":36352,"24":50,"16":341723918945484800,"45":-3737213612335804416},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-07-07 18:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558080256001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:45:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-07 18:45:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341723918945484800,"km_value":341723918945484.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3737213612335804416,"description":"Unknown IO ID 45"} 
[2026-07-07 18:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558080256001,"power":27974,"unknown_160":206,"unknown_80":36352,"ignition":50,"odometer":null,"unknown_45":-3737213612335804416}} 
[2026-07-07 18:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":125492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:45:06] local.INFO: GPS data processed {"connection_id":125492,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:45:06] local.INFO: Acknowledgment sent {"connection_id":125492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:45:09] local.INFO: TCP Data received {"connection_id":125492,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb66fe8012dcc4900052ab6d80026009232..."} 
[2026-07-07 18:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb66fe8012dcc4900052ab6d80026009232..."} 
[2026-07-07 18:45:09] local.INFO: Processing buffer {"connection_id":125492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb66fe8012dcc4900052ab6d80026009232..."} 
[2026-07-07 18:45:09] local.INFO: Packet analysis {"connection_id":125492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:45:09] local.INFO: Extracted packet for processing {"connection_id":125492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:45:09] local.INFO: GPS Element Parsed {"raw_longitude":768362752,"raw_latitude":86685400,"longitude_deg":76.8362752,"latitude_deg":8.66854,"altitude":38,"angle":146,"satellites":50,"speed":57,"hex_longitude":"2dcc4900","hex_latitude":"052ab6d8","is_valid_coordinates":true} 
[2026-07-07 18:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558082560001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341724382801952768,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3731935956524673024,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783430017000,"timestamp_ms":1783430017000,"timestamp_seconds":1783430017,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb66fe8"} 
[2026-07-07 18:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 18:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558082560001,"66":28093,"160":206,"80":36352,"24":57,"16":341724382801952768,"45":-3731935956524673024},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-07-07 18:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558082560001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:45:09] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-07 18:45:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341724382801952768,"km_value":341724382801952.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3731935956524673024,"description":"Unknown IO ID 45"} 
[2026-07-07 18:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558082560001,"power":28093,"unknown_160":206,"unknown_80":36352,"ignition":57,"odometer":null,"unknown_45":-3731935956524673024}} 
[2026-07-07 18:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":125492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:45:09] local.INFO: GPS data processed {"connection_id":125492,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:45:09] local.INFO: Acknowledgment sent {"connection_id":125492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:45:12] local.INFO: TCP Data received {"connection_id":124692,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb5b080012d1827000721bb20004f01412d..."} 
[2026-07-07 18:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb5b080012d1827000721bb20004f01412d..."} 
[2026-07-07 18:45:12] local.INFO: Processing buffer {"connection_id":124692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb5b080012d1827000721bb20004f01412d..."} 
[2026-07-07 18:45:12] local.INFO: Packet analysis {"connection_id":124692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb5"} 
[2026-07-07 18:45:12] local.INFO: Extracted packet for processing {"connection_id":124692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb5"} 
[2026-07-07 18:45:12] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119651104,"longitude_deg":75.6557568,"latitude_deg":11.9651104,"altitude":79,"angle":321,"satellites":45,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721bb20","is_valid_coordinates":true} 
[2026-07-07 18:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558066432001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774088077737984,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632668672,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783429968000,"timestamp_ms":1783429968000,"timestamp_seconds":1783429968,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb5b080"} 
[2026-07-07 18:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-07 18:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558066432001,"66":12939,"120":206,"28":31744,"24":0,"16":4774088077737984,"45":1740359811632668672},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558066432001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:45:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:45:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774088077737984,"km_value":4774088077737.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632668672,"description":"Unknown IO ID 45"} 
[2026-07-07 18:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558066432001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740359811632668672}} 
[2026-07-07 18:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":124692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:45:12] local.INFO: GPS data processed {"connection_id":124692,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:45:12] local.INFO: Acknowledgment sent {"connection_id":124692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:45:32] local.INFO: TCP Data received {"connection_id":125493,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:45:32] local.INFO: Processing buffer {"connection_id":125493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:45:32] local.INFO: IMEI packet received {"connection_id":125493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":125493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:45:33] local.INFO: TCP Data received {"connection_id":125493,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:45:33] local.INFO: Processing buffer {"connection_id":125493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:45:33] local.INFO: IMEI packet received {"connection_id":125493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":125493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:45:35] local.INFO: TCP Data received {"connection_id":125491,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb5bc38012d7e34c005d34d60000700532b..."} 
[2026-07-07 18:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb5bc38012d7e34c005d34d60000700532b..."} 
[2026-07-07 18:45:35] local.INFO: Processing buffer {"connection_id":125491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb5bc38012d7e34c005d34d60000700532b..."} 
[2026-07-07 18:45:35] local.INFO: Packet analysis {"connection_id":125491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb5"} 
[2026-07-07 18:45:35] local.INFO: Extracted packet for processing {"connection_id":125491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb5"} 
[2026-07-07 18:45:35] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97733984,"longitude_deg":76.324576,"latitude_deg":9.7733984,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-07-07 18:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558067200001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093963941332025344,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783429971000,"timestamp_ms":1783429971000,"timestamp_seconds":1783429971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb5bc38"} 
[2026-07-07 18:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:45:35] 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-07-07 18:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-07 18:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558067200001,"66":12798,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093963941332025344},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558067200001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:45:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:45:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093963941332025344,"description":"Unknown IO ID 45"} 
[2026-07-07 18:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558067200001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093963941332025344}} 
[2026-07-07 18:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":125491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:45:35] local.INFO: GPS data processed {"connection_id":125491,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:45:35] local.INFO: Acknowledgment sent {"connection_id":125491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:45:39] local.INFO: TCP Data received {"connection_id":125493,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:45:39] local.INFO: Processing buffer {"connection_id":125493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:45:39] local.INFO: IMEI packet received {"connection_id":125493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":125493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:45:40] local.INFO: TCP Data received {"connection_id":125492,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb68b40012dcc5f40052a96d80022009232..."} 
[2026-07-07 18:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb68b40012dcc5f40052a96d80022009232..."} 
[2026-07-07 18:45:40] local.INFO: Processing buffer {"connection_id":125492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb68b40012dcc5f40052a96d80022009232..."} 
[2026-07-07 18:45:40] local.INFO: Packet analysis {"connection_id":125492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:45:40] local.INFO: Extracted packet for processing {"connection_id":125492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:45:40] local.INFO: GPS Element Parsed {"raw_longitude":768368448,"raw_latitude":86677208,"longitude_deg":76.8368448,"latitude_deg":8.6677208,"altitude":34,"angle":146,"satellites":50,"speed":53,"hex_longitude":"2dcc5f40","hex_latitude":"052a96d8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558084352001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341724868133257216,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3726447194480912384,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783430024000,"timestamp_ms":1783430024000,"timestamp_seconds":1783430024,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb68b40"} 
[2026-07-07 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-07-07 18:45: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-07-07 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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-07 18:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 18:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:45: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-07-07 18:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558084352001,"66":27908,"160":206,"80":36352,"24":53,"16":341724868133257216,"45":-3726447194480912384},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-07-07 18:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558084352001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:45:40] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-07 18:45:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341724868133257216,"km_value":341724868133257.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3726447194480912384,"description":"Unknown IO ID 45"} 
[2026-07-07 18:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558084352001,"power":27908,"unknown_160":206,"unknown_80":36352,"ignition":53,"odometer":null,"unknown_45":-3726447194480912384}} 
[2026-07-07 18:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":125492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:45:40] local.INFO: GPS data processed {"connection_id":125492,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:45:40] local.INFO: Acknowledgment sent {"connection_id":125492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:45:40] local.INFO: TCP Data received {"connection_id":125493,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb60670012d1827000721bb20004f01412d..."} 
[2026-07-07 18:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb60670012d1827000721bb20004f01412d..."} 
[2026-07-07 18:45:40] local.INFO: Processing buffer {"connection_id":125493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb60670012d1827000721bb20004f01412d..."} 
[2026-07-07 18:45:40] local.INFO: Packet analysis {"connection_id":125493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:45:40] local.INFO: Extracted packet for processing {"connection_id":125493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:45:40] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119651104,"longitude_deg":75.6557568,"latitude_deg":11.9651104,"altitude":79,"angle":321,"satellites":45,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721bb20","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558071808001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774088077737984,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632668672,"note":"Value kept but may cause issues"} 
[2026-07-07 18:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783429990000,"timestamp_ms":1783429990000,"timestamp_seconds":1783429990,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb60670"} 
[2026-07-07 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-07-07 18:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-07 18:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 18:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558071808001,"66":12841,"120":206,"28":31744,"24":0,"16":4774088077737984,"45":1740359811632668672},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558071808001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:45:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:45:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774088077737984,"km_value":4774088077737.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632668672,"description":"Unknown IO ID 45"} 
[2026-07-07 18:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558071808001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740359811632668672}} 
[2026-07-07 18:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":125493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:45:40] local.INFO: GPS data processed {"connection_id":125493,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:45:40] local.INFO: Acknowledgment sent {"connection_id":125493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:45:58] local.INFO: TCP Data received {"connection_id":126749,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:45:58] local.INFO: Processing buffer {"connection_id":126749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:45:58] local.INFO: IMEI packet received {"connection_id":126749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":126749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:45:58] local.INFO: TCP Data received {"connection_id":124789,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:45:58] local.INFO: Processing buffer {"connection_id":124789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:45:58] local.INFO: IMEI packet received {"connection_id":124789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":124789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:46:01] local.INFO: TCP Data received {"connection_id":126749,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:46:01] local.INFO: Processing buffer {"connection_id":126749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:46:01] local.INFO: IMEI packet received {"connection_id":126749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":126749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:46:02] local.INFO: TCP Data received {"connection_id":126749,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:46:02] local.INFO: Processing buffer {"connection_id":126749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:46:02] local.INFO: IMEI packet received {"connection_id":126749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":126749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:46:03] local.INFO: TCP Data received {"connection_id":124789,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:46:03] local.INFO: Processing buffer {"connection_id":124789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:46:03] local.INFO: IMEI packet received {"connection_id":124789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":124789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:46:03] local.INFO: TCP Data received {"connection_id":126749,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:46:03] local.INFO: Processing buffer {"connection_id":126749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:46:03] local.INFO: IMEI packet received {"connection_id":126749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":126749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:46:04] local.INFO: TCP Data received {"connection_id":126749,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb6a698012dcc74c0052a78d8001e008e32..."} 
[2026-07-07 18:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb6a698012dcc74c0052a78d8001e008e32..."} 
[2026-07-07 18:46:04] local.INFO: Processing buffer {"connection_id":126749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb6a698012dcc74c0052a78d8001e008e32..."} 
[2026-07-07 18:46:04] local.INFO: Packet analysis {"connection_id":126749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:46:04] local.INFO: Extracted packet for processing {"connection_id":126749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:46:04] local.INFO: GPS Element Parsed {"raw_longitude":768373952,"raw_latitude":86669528,"longitude_deg":76.8373952,"latitude_deg":8.6669528,"altitude":30,"angle":142,"satellites":50,"speed":53,"hex_longitude":"2dcc74c0","hex_latitude":"052a78d8","is_valid_coordinates":true} 
[2026-07-07 18:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558086144001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341725323399790592,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3720184376251197440,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783430031000,"timestamp_ms":1783430031000,"timestamp_seconds":1783430031,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb6a698"} 
[2026-07-07 18:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 18:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558086144001,"66":27887,"160":206,"80":36352,"24":53,"16":341725323399790592,"45":-3720184376251197440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-07-07 18:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558086144001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:46:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-07 18:46:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341725323399790592,"km_value":341725323399790.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3720184376251197440,"description":"Unknown IO ID 45"} 
[2026-07-07 18:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558086144001,"power":27887,"unknown_160":206,"unknown_80":36352,"ignition":53,"odometer":null,"unknown_45":-3720184376251197440}} 
[2026-07-07 18:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":126749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:46:04] local.INFO: GPS data processed {"connection_id":126749,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:46:04] local.INFO: Acknowledgment sent {"connection_id":126749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:46:04] local.INFO: TCP Data received {"connection_id":124789,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb60e40012d7e34c005d34d600007005329..."} 
[2026-07-07 18:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb60e40012d7e34c005d34d600007005329..."} 
[2026-07-07 18:46:04] local.INFO: Processing buffer {"connection_id":124789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb60e40012d7e34c005d34d600007005329..."} 
[2026-07-07 18:46:04] local.INFO: Packet analysis {"connection_id":124789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:46:04] local.INFO: Extracted packet for processing {"connection_id":124789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97733984,"longitude_deg":76.324576,"latitude_deg":9.7733984,"altitude":7,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-07-07 18:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558072576001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820306944,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783429992000,"timestamp_ms":1783429992000,"timestamp_seconds":1783429992,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb60e40"} 
[2026-07-07 18:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:46:04] 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-07-07 18:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 18:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558072576001,"66":13048,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9094104678820306944},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558072576001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:46:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:46:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820306944,"description":"Unknown IO ID 45"} 
[2026-07-07 18:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558072576001,"power":13048,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820306944}} 
[2026-07-07 18:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":124789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:46:04] local.INFO: GPS data processed {"connection_id":124789,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:46:04] local.INFO: Acknowledgment sent {"connection_id":124789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:46:09] local.INFO: TCP Data received {"connection_id":126749,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb6c1f0012dcc8a40052a5c08001a008f31..."} 
[2026-07-07 18:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb6c1f0012dcc8a40052a5c08001a008f31..."} 
[2026-07-07 18:46:09] local.INFO: Processing buffer {"connection_id":126749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb6c1f0012dcc8a40052a5c08001a008f31..."} 
[2026-07-07 18:46:09] local.INFO: Packet analysis {"connection_id":126749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:46:09] local.INFO: Extracted packet for processing {"connection_id":126749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:46:09] local.INFO: GPS Element Parsed {"raw_longitude":768379456,"raw_latitude":86662152,"longitude_deg":76.8379456,"latitude_deg":8.6662152,"altitude":26,"angle":143,"satellites":49,"speed":52,"hex_longitude":"2dcc8a40","hex_latitude":"052a5c08","is_valid_coordinates":true} 
[2026-07-07 18:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558087936001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341725765781422080,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3714132664253884416,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783430038000,"timestamp_ms":1783430038000,"timestamp_seconds":1783430038,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb6c1f0"} 
[2026-07-07 18:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:46: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-07-07 18:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 18:46: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-07-07 18:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558087936001,"66":27995,"160":206,"80":36352,"24":52,"16":341725765781422080,"45":-3714132664253884416},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-07-07 18:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558087936001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:46:09] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-07 18:46:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341725765781422080,"km_value":341725765781422.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3714132664253884416,"description":"Unknown IO ID 45"} 
[2026-07-07 18:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558087936001,"power":27995,"unknown_160":206,"unknown_80":36352,"ignition":52,"odometer":null,"unknown_45":-3714132664253884416}} 
[2026-07-07 18:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":126749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:46:09] local.INFO: GPS data processed {"connection_id":126749,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:46:09] local.INFO: Acknowledgment sent {"connection_id":126749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:46:12] local.INFO: TCP Data received {"connection_id":125493,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb65878012d1825800721baa0004e01412b..."} 
[2026-07-07 18:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb65878012d1825800721baa0004e01412b..."} 
[2026-07-07 18:46:12] local.INFO: Processing buffer {"connection_id":125493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb65878012d1825800721baa0004e01412b..."} 
[2026-07-07 18:46:12] local.INFO: Packet analysis {"connection_id":125493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:46:12] local.INFO: Extracted packet for processing {"connection_id":125493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:46:12] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650976,"longitude_deg":75.6557184,"latitude_deg":11.9650976,"altitude":78,"angle":321,"satellites":43,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558077440001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774113847541760,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632668672,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783430011000,"timestamp_ms":1783430011000,"timestamp_seconds":1783430011,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb65878"} 
[2026-07-07 18:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-07 18:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558077440001,"66":12885,"120":206,"28":31744,"24":0,"16":4774113847541760,"45":1740359811632668672},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558077440001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:46:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:46:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774113847541760,"km_value":4774113847541.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632668672,"description":"Unknown IO ID 45"} 
[2026-07-07 18:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558077440001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740359811632668672}} 
[2026-07-07 18:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":125493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:46:12] local.INFO: GPS data processed {"connection_id":125493,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:46:12] local.INFO: Acknowledgment sent {"connection_id":125493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:46:33] local.INFO: TCP Data received {"connection_id":125494,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:46:33] local.INFO: Processing buffer {"connection_id":125494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:46:33] local.INFO: IMEI packet received {"connection_id":125494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":125494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:46:36] local.INFO: TCP Data received {"connection_id":125494,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:46:36] local.INFO: Processing buffer {"connection_id":125494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:46:36] local.INFO: IMEI packet received {"connection_id":125494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":125494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:46:36] local.INFO: TCP Data received {"connection_id":124789,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb8f470012d7e338005d34d580007005328..."} 
[2026-07-07 18:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb8f470012d7e338005d34d580007005328..."} 
[2026-07-07 18:46:36] local.INFO: Processing buffer {"connection_id":124789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb8f470012d7e338005d34d580007005328..."} 
[2026-07-07 18:46:36] local.INFO: Packet analysis {"connection_id":124789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:46:36] local.INFO: Extracted packet for processing {"connection_id":124789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":40,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 18:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558126592001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783430182000,"timestamp_ms":1783430182000,"timestamp_seconds":1783430182,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb8f470"} 
[2026-07-07 18:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 18:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558126592001,"66":2253,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558126592001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:46:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 18:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558126592001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 18:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":124789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:46:36] local.INFO: GPS data processed {"connection_id":124789,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:46:36] local.INFO: Acknowledgment sent {"connection_id":124789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:46:39] local.INFO: TCP Data received {"connection_id":125494,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:46:39] local.INFO: Processing buffer {"connection_id":125494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:46:39] local.INFO: IMEI packet received {"connection_id":125494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":125494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:46:40] local.INFO: TCP Data received {"connection_id":126749,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb838f0012dcd0280052974b8001800a82e..."} 
[2026-07-07 18:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb838f0012dcd0280052974b8001800a82e..."} 
[2026-07-07 18:46:40] local.INFO: Processing buffer {"connection_id":126749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb838f0012dcd0280052974b8001800a82e..."} 
[2026-07-07 18:46:40] local.INFO: Packet analysis {"connection_id":126749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:46:40] local.INFO: Extracted packet for processing {"connection_id":126749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:46:40] local.INFO: GPS Element Parsed {"raw_longitude":768410240,"raw_latitude":86602936,"longitude_deg":76.841024,"latitude_deg":8.6602936,"altitude":24,"angle":168,"satellites":46,"speed":31,"hex_longitude":"2dcd0280","hex_latitude":"052974b8","is_valid_coordinates":true} 
[2026-07-07 18:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558111232001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341729051431403520,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3676696492366098432,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783430134000,"timestamp_ms":1783430134000,"timestamp_seconds":1783430134,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb838f0"} 
[2026-07-07 18:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:46: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-07-07 18:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 18:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:46: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-07-07 18:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558111232001,"66":27843,"160":206,"80":36352,"24":31,"16":341729051431403520,"45":-3676696492366098432},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-07-07 18:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558111232001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:46:40] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-07 18:46:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341729051431403520,"km_value":341729051431403.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3676696492366098432,"description":"Unknown IO ID 45"} 
[2026-07-07 18:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558111232001,"power":27843,"unknown_160":206,"unknown_80":36352,"ignition":31,"odometer":null,"unknown_45":-3676696492366098432}} 
[2026-07-07 18:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":126749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:46:40] local.INFO: GPS data processed {"connection_id":126749,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:46:40] local.INFO: Acknowledgment sent {"connection_id":126749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:46:41] local.INFO: TCP Data received {"connection_id":125494,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb6a698012d1825800721baa0004e01412a..."} 
[2026-07-07 18:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb6a698012d1825800721baa0004e01412a..."} 
[2026-07-07 18:46:41] local.INFO: Processing buffer {"connection_id":125494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb6a698012d1825800721baa0004e01412a..."} 
[2026-07-07 18:46:41] local.INFO: Packet analysis {"connection_id":125494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:46:41] local.INFO: Extracted packet for processing {"connection_id":125494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:46:41] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650976,"longitude_deg":75.6557184,"latitude_deg":11.9650976,"altitude":78,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-07-07 18:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558082816001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774113847541760,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167569920,"note":"Value kept but may cause issues"} 
[2026-07-07 18:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783430031000,"timestamp_ms":1783430031000,"timestamp_seconds":1783430031,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb6a698"} 
[2026-07-07 18:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-07 18:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558082816001,"66":12809,"120":206,"28":31744,"24":0,"16":4774113847541760,"45":1739937599167569920},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558082816001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:46:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:46:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774113847541760,"km_value":4774113847541.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167569920,"description":"Unknown IO ID 45"} 
[2026-07-07 18:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558082816001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739937599167569920}} 
[2026-07-07 18:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":125494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:46:41] local.INFO: GPS data processed {"connection_id":125494,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:46:41] local.INFO: Acknowledgment sent {"connection_id":125494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:46:58] local.INFO: TCP Data received {"connection_id":126750,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:46:58] local.INFO: Processing buffer {"connection_id":126750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:46:58] local.INFO: IMEI packet received {"connection_id":126750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":126750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:47:02] local.INFO: TCP Data received {"connection_id":124694,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:47:02] local.INFO: Processing buffer {"connection_id":124694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:47:02] local.INFO: IMEI packet received {"connection_id":124694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":124694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:47:03] local.INFO: TCP Data received {"connection_id":126750,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:47:03] local.INFO: Processing buffer {"connection_id":126750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:47:03] local.INFO: IMEI packet received {"connection_id":126750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":126750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:47:03] local.INFO: TCP Data received {"connection_id":124694,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:47:03] local.INFO: Processing buffer {"connection_id":124694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:47:03] local.INFO: IMEI packet received {"connection_id":124694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":124694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:47:03] local.INFO: TCP Data received {"connection_id":126750,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb8f858012d7e338005d34d580007005328..."} 
[2026-07-07 18:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb8f858012d7e338005d34d580007005328..."} 
[2026-07-07 18:47:03] local.INFO: Processing buffer {"connection_id":126750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb8f858012d7e338005d34d580007005328..."} 
[2026-07-07 18:47:03] local.INFO: Packet analysis {"connection_id":126750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:47:03] local.INFO: Extracted packet for processing {"connection_id":126750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:47:03] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":40,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 18:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558126592001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783430183000,"timestamp_ms":1783430183000,"timestamp_seconds":1783430183,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb8f858"} 
[2026-07-07 18:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 18:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558126592001,"66":12613,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558126592001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:47:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:47:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 18:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558126592001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 18:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":126750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:47:04] local.INFO: GPS data processed {"connection_id":126750,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:47:04] local.INFO: Acknowledgment sent {"connection_id":126750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:47:08] local.INFO: TCP Data received {"connection_id":124694,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:47:08] local.INFO: Processing buffer {"connection_id":124694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:47:08] local.INFO: IMEI packet received {"connection_id":124694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":124694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:47:09] local.INFO: TCP Data received {"connection_id":124694,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb863e8012dcd07c0052951f0001b00ae2e..."} 
[2026-07-07 18:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb863e8012dcd07c0052951f0001b00ae2e..."} 
[2026-07-07 18:47:09] local.INFO: Processing buffer {"connection_id":124694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb863e8012dcd07c0052951f0001b00ae2e..."} 
[2026-07-07 18:47:09] local.INFO: Packet analysis {"connection_id":124694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:47:09] local.INFO: Extracted packet for processing {"connection_id":124694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:47:09] local.INFO: GPS Element Parsed {"raw_longitude":768411584,"raw_latitude":86594032,"longitude_deg":76.8411584,"latitude_deg":8.6594032,"altitude":27,"angle":174,"satellites":46,"speed":32,"hex_longitude":"2dcd07c0","hex_latitude":"052951f0","is_valid_coordinates":true} 
[2026-07-07 18:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558114304001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341729485223100416,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3674233586322196480,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783430145000,"timestamp_ms":1783430145000,"timestamp_seconds":1783430145,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb863e8"} 
[2026-07-07 18:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:47: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-07-07 18:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 18:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558114304001,"66":27876,"160":206,"80":36352,"24":32,"16":341729485223100416,"45":-3674233586322196480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-07-07 18:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558114304001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:47:09] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-07 18:47:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341729485223100416,"km_value":341729485223100.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3674233586322196480,"description":"Unknown IO ID 45"} 
[2026-07-07 18:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558114304001,"power":27876,"unknown_160":206,"unknown_80":36352,"ignition":32,"odometer":null,"unknown_45":-3674233586322196480}} 
[2026-07-07 18:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":124694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:47:09] local.INFO: GPS data processed {"connection_id":124694,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:47:09] local.INFO: Acknowledgment sent {"connection_id":124694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:47:10] local.INFO: TCP Data received {"connection_id":124694,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb88ee0012dcd088005292d20001a00b62f..."} 
[2026-07-07 18:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb88ee0012dcd088005292d20001a00b62f..."} 
[2026-07-07 18:47:10] local.INFO: Processing buffer {"connection_id":124694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb88ee0012dcd088005292d20001a00b62f..."} 
[2026-07-07 18:47:10] local.INFO: Packet analysis {"connection_id":124694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:47:10] local.INFO: Extracted packet for processing {"connection_id":124694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:47:10] local.INFO: GPS Element Parsed {"raw_longitude":768411776,"raw_latitude":86584608,"longitude_deg":76.8411776,"latitude_deg":8.6584608,"altitude":26,"angle":182,"satellites":47,"speed":36,"hex_longitude":"2dcd0880","hex_latitude":"05292d20","is_valid_coordinates":true} 
[2026-07-07 18:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558117120001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341729944784601088,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3672755842696744960,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783430156000,"timestamp_ms":1783430156000,"timestamp_seconds":1783430156,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb88ee0"} 
[2026-07-07 18:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 18:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558117120001,"66":27908,"134":206,"80":36352,"24":36,"16":341729944784601088,"45":-3672755842696744960},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,80,24,16,45]} 
[2026-07-07 18:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558117120001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:47:10] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-07 18:47:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341729944784601088,"km_value":341729944784601.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3672755842696744960,"description":"Unknown IO ID 45"} 
[2026-07-07 18:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558117120001,"power":27908,"unknown_134":206,"unknown_80":36352,"ignition":36,"odometer":null,"unknown_45":-3672755842696744960}} 
[2026-07-07 18:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":124694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:47:10] local.INFO: GPS data processed {"connection_id":124694,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:47:10] local.INFO: Acknowledgment sent {"connection_id":124694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:47:13] local.INFO: TCP Data received {"connection_id":125494,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb6f8a0012d1825800721baa0004e01412b..."} 
[2026-07-07 18:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb6f8a0012d1825800721baa0004e01412b..."} 
[2026-07-07 18:47:13] local.INFO: Processing buffer {"connection_id":125494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb6f8a0012d1825800721baa0004e01412b..."} 
[2026-07-07 18:47:13] local.INFO: Packet analysis {"connection_id":125494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:47:13] local.INFO: Extracted packet for processing {"connection_id":125494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb6"} 
[2026-07-07 18:47:13] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650976,"longitude_deg":75.6557184,"latitude_deg":11.9650976,"altitude":78,"angle":321,"satellites":43,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-07-07 18:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558087936001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774113847541760,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167569920,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783430052000,"timestamp_ms":1783430052000,"timestamp_seconds":1783430052,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb6f8a0"} 
[2026-07-07 18:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-07 18:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4127326208,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:13] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":33554432,"corrected_to":0} 
[2026-07-07 18:47:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:13] local.WARNING: Large IO value detected {"io_id":60,"raw_value":-5446998191136823552,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:13] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3139436623,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-07 18:47:13] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-4539402030355001828,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:13] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2430571609594085675,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:13] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:13] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,246,159,88,45,128,186,78,43,10,66,6,187,79,176,1,240,139,60,33,4,113,205,12,39,32,44,239,50,2,7,124],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":246,"original":33554432,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-07 18:47:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620845458579521536,"timestamp_seconds":5620845458579522.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 18:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558087936001,"66":12852,"120":206,"28":31744,"24":0,"16":4774113847541760,"45":1739937599167569920},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558087936001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:47:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:47:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774113847541760,"km_value":4774113847541.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167569920,"description":"Unknown IO ID 45"} 
[2026-07-07 18:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558087936001,"power":12852,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739937599167569920}} 
[2026-07-07 18:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":125494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:47:13] local.INFO: GPS data processed {"connection_id":125494,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:47:13] local.INFO: Acknowledgment sent {"connection_id":125494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:47:33] local.INFO: TCP Data received {"connection_id":124790,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:47:33] local.INFO: Processing buffer {"connection_id":124790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:47:33] local.INFO: IMEI packet received {"connection_id":124790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":124790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:47:35] local.INFO: TCP Data received {"connection_id":126750,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb8f858012d7e338005d34d580007005328..."} 
[2026-07-07 18:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb8f858012d7e338005d34d580007005328..."} 
[2026-07-07 18:47:35] local.INFO: Processing buffer {"connection_id":126750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb8f858012d7e338005d34d580007005328..."} 
[2026-07-07 18:47:35] local.INFO: Packet analysis {"connection_id":126750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:47:35] local.INFO: Extracted packet for processing {"connection_id":126750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:47:35] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":40,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 18:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558126848001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783430183000,"timestamp_ms":1783430183000,"timestamp_seconds":1783430183,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb8f858"} 
[2026-07-07 18:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-07 18:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558126848001,"66":12613,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558126848001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:47:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:47:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 18:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558126848001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 18:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":126750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:47:35] local.INFO: GPS data processed {"connection_id":126750,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:47:35] local.INFO: Acknowledgment sent {"connection_id":126750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:47:38] local.INFO: TCP Data received {"connection_id":124790,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:47:38] local.INFO: Processing buffer {"connection_id":124790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:47:38] local.INFO: IMEI packet received {"connection_id":124790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":124790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:47:40] local.INFO: TCP Data received {"connection_id":124790,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb74aa8012d1825800721baa0004e01412b..."} 
[2026-07-07 18:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb74aa8012d1825800721baa0004e01412b..."} 
[2026-07-07 18:47:40] local.INFO: Processing buffer {"connection_id":124790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb74aa8012d1825800721baa0004e01412b..."} 
[2026-07-07 18:47:40] local.INFO: Packet analysis {"connection_id":124790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb7"} 
[2026-07-07 18:47:40] local.INFO: Extracted packet for processing {"connection_id":124790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb7"} 
[2026-07-07 18:47:40] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650976,"longitude_deg":75.6557184,"latitude_deg":11.9650976,"altitude":78,"angle":321,"satellites":43,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-07-07 18:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558093312001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774113847541760,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167569920,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783430073000,"timestamp_ms":1783430073000,"timestamp_seconds":1783430073,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb74aa8"} 
[2026-07-07 18:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-07 18:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558093312001,"66":12841,"120":206,"28":31744,"24":0,"16":4774113847541760,"45":1739937599167569920},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558093312001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:47:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:47:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774113847541760,"km_value":4774113847541.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167569920,"description":"Unknown IO ID 45"} 
[2026-07-07 18:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558093312001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739937599167569920}} 
[2026-07-07 18:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":124790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:47:40] local.INFO: GPS data processed {"connection_id":124790,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:47:40] local.INFO: Acknowledgment sent {"connection_id":124790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:47:41] local.INFO: TCP Data received {"connection_id":124694,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb8b5f0012dcd050005290938001b00bc2e..."} 
[2026-07-07 18:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb8b5f0012dcd050005290938001b00bc2e..."} 
[2026-07-07 18:47:41] local.INFO: Processing buffer {"connection_id":124694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb8b5f0012dcd050005290938001b00bc2e..."} 
[2026-07-07 18:47:41] local.INFO: Packet analysis {"connection_id":124694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:47:41] local.INFO: Extracted packet for processing {"connection_id":124694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:47:41] local.INFO: GPS Element Parsed {"raw_longitude":768410880,"raw_latitude":86575416,"longitude_deg":76.841088,"latitude_deg":8.6575416,"altitude":27,"angle":188,"satellites":46,"speed":38,"hex_longitude":"2dcd0500","hex_latitude":"05290938","is_valid_coordinates":true} 
[2026-07-07 18:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558119936001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341730391461199872,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3672544736466624512,"note":"Value kept but may cause issues"} 
[2026-07-07 18:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783430166000,"timestamp_ms":1783430166000,"timestamp_seconds":1783430166,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb8b5f0"} 
[2026-07-07 18:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 18:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558119936001,"66":27974,"134":206,"80":36352,"24":38,"16":341730391461199872,"45":-3672544736466624512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,80,24,16,45]} 
[2026-07-07 18:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558119936001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:47:41] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-07 18:47:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341730391461199872,"km_value":341730391461199.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3672544736466624512,"description":"Unknown IO ID 45"} 
[2026-07-07 18:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558119936001,"power":27974,"unknown_134":206,"unknown_80":36352,"ignition":38,"odometer":null,"unknown_45":-3672544736466624512}} 
[2026-07-07 18:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":124694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:47:41] local.INFO: GPS data processed {"connection_id":124694,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:47:41] local.INFO: Acknowledgment sent {"connection_id":124694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:47:57] local.INFO: TCP Data received {"connection_id":126751,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:47:57] local.INFO: Processing buffer {"connection_id":126751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:47:57] local.INFO: IMEI packet received {"connection_id":126751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":126751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:48:02] local.INFO: TCP Data received {"connection_id":126752,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:48:02] local.INFO: Processing buffer {"connection_id":126752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:48:02] local.INFO: IMEI packet received {"connection_id":126752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":126752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:48:03] local.INFO: TCP Data received {"connection_id":126751,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:48:03] local.INFO: Processing buffer {"connection_id":126751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:48:03] local.INFO: IMEI packet received {"connection_id":126751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":126751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:48:03] local.INFO: TCP Data received {"connection_id":126752,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:48:03] local.INFO: Processing buffer {"connection_id":126752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:48:03] local.INFO: IMEI packet received {"connection_id":126752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":126752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:48:03] local.INFO: TCP Data received {"connection_id":126751,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb94290012d7e338005d34d580007005329..."} 
[2026-07-07 18:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb94290012d7e338005d34d580007005329..."} 
[2026-07-07 18:48:03] local.INFO: Processing buffer {"connection_id":126751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb94290012d7e338005d34d580007005329..."} 
[2026-07-07 18:48:03] local.INFO: Packet analysis {"connection_id":126751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb9"} 
[2026-07-07 18:48:03] local.INFO: Extracted packet for processing {"connection_id":126751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb9"} 
[2026-07-07 18:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 18:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558126848001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783430202000,"timestamp_ms":1783430202000,"timestamp_seconds":1783430202,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb94290"} 
[2026-07-07 18:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:48: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-07 18:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558126848001,"66":2438,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558126848001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:48:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:48:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 18:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558126848001,"power":2438,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 18:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":126751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:48:04] local.INFO: GPS data processed {"connection_id":126751,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:48:04] local.INFO: Acknowledgment sent {"connection_id":126751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:48:08] local.INFO: TCP Data received {"connection_id":126752,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:48:08] local.INFO: Processing buffer {"connection_id":126752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:48:08] local.INFO: IMEI packet received {"connection_id":126752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":126752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:48:09] local.INFO: TCP Data received {"connection_id":126752,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb8d918012dccfd800528e600001c00c22e..."} 
[2026-07-07 18:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb8d918012dccfd800528e600001c00c22e..."} 
[2026-07-07 18:48:09] local.INFO: Processing buffer {"connection_id":126752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb8d918012dccfd800528e600001c00c22e..."} 
[2026-07-07 18:48:09] local.INFO: Packet analysis {"connection_id":126752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:48:09] local.INFO: Extracted packet for processing {"connection_id":126752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:48:09] local.INFO: GPS Element Parsed {"raw_longitude":768408960,"raw_latitude":86566400,"longitude_deg":76.840896,"latitude_deg":8.65664,"altitude":28,"angle":194,"satellites":46,"speed":42,"hex_longitude":"2dccfd80","hex_latitude":"0528e600","is_valid_coordinates":true} 
[2026-07-07 18:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558122496001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341730838137798656,"note":"Value kept but may cause issues"} 
[2026-07-07 18:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3673529898887464960,"note":"Value kept but may cause issues"} 
[2026-07-07 18:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783430175000,"timestamp_ms":1783430175000,"timestamp_seconds":1783430175,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb8d918"} 
[2026-07-07 18:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-07 18:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558122496001,"66":27876,"134":206,"80":36352,"24":42,"16":341730838137798656,"45":-3673529898887464960},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,80,24,16,45]} 
[2026-07-07 18:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558122496001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:48:09] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-07 18:48:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341730838137798656,"km_value":341730838137798.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3673529898887464960,"description":"Unknown IO ID 45"} 
[2026-07-07 18:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558122496001,"power":27876,"unknown_134":206,"unknown_80":36352,"ignition":42,"odometer":null,"unknown_45":-3673529898887464960}} 
[2026-07-07 18:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":126752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:48:09] local.INFO: GPS data processed {"connection_id":126752,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:48:09] local.INFO: Acknowledgment sent {"connection_id":126752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:48:11] local.INFO: TCP Data received {"connection_id":124790,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb79cb0012d1825800721baa0004e01412c..."} 
[2026-07-07 18:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb79cb0012d1825800721baa0004e01412c..."} 
[2026-07-07 18:48:11] local.INFO: Processing buffer {"connection_id":124790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb79cb0012d1825800721baa0004e01412c..."} 
[2026-07-07 18:48:11] local.INFO: Packet analysis {"connection_id":124790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb7"} 
[2026-07-07 18:48:11] local.INFO: Extracted packet for processing {"connection_id":124790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb7"} 
[2026-07-07 18:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650976,"longitude_deg":75.6557184,"latitude_deg":11.9650976,"altitude":78,"angle":321,"satellites":44,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558098688001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774113847541760,"note":"Value kept but may cause issues"} 
[2026-07-07 18:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167569920,"note":"Value kept but may cause issues"} 
[2026-07-07 18:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783430094000,"timestamp_ms":1783430094000,"timestamp_seconds":1783430094,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb79cb0"} 
[2026-07-07 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-07-07 18:48: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-07-07 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-07 18:48: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-07-07 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-07-07 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-07-07 18:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558098688001,"66":12776,"120":206,"28":31744,"24":0,"16":4774113847541760,"45":1739937599167569920},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558098688001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:48:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:48:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774113847541760,"km_value":4774113847541.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167569920,"description":"Unknown IO ID 45"} 
[2026-07-07 18:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558098688001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739937599167569920}} 
[2026-07-07 18:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":124790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:48:12] local.INFO: GPS data processed {"connection_id":124790,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:48:12] local.INFO: Acknowledgment sent {"connection_id":124790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:48:14] local.INFO: TCP Data received {"connection_id":126752,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb8fc40012dccf3c00528c030001c00c02c..."} 
[2026-07-07 18:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb8fc40012dccf3c00528c030001c00c02c..."} 
[2026-07-07 18:48:14] local.INFO: Processing buffer {"connection_id":126752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb8fc40012dccf3c00528c030001c00c02c..."} 
[2026-07-07 18:48:14] local.INFO: Packet analysis {"connection_id":126752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:48:14] local.INFO: Extracted packet for processing {"connection_id":126752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:48:14] local.INFO: GPS Element Parsed {"raw_longitude":768406464,"raw_latitude":86556720,"longitude_deg":76.8406464,"latitude_deg":8.655672,"altitude":28,"angle":192,"satellites":44,"speed":46,"hex_longitude":"2dccf3c0","hex_latitude":"0528c030","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558124800001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341731323469103104,"note":"Value kept but may cause issues"} 
[2026-07-07 18:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3675640961215102976,"note":"Value kept but may cause issues"} 
[2026-07-07 18:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783430184000,"timestamp_ms":1783430184000,"timestamp_seconds":1783430184,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb8fc40"} 
[2026-07-07 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-07-07 18:48: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-07-07 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 18:48: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-07-07 18:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 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-07-07 18:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:48: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-07-07 18:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558124800001,"66":27908,"134":206,"80":36352,"24":46,"16":341731323469103104,"45":-3675640961215102976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,80,24,16,45]} 
[2026-07-07 18:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558124800001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:48:14] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-07 18:48:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341731323469103104,"km_value":341731323469103.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3675640961215102976,"description":"Unknown IO ID 45"} 
[2026-07-07 18:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558124800001,"power":27908,"unknown_134":206,"unknown_80":36352,"ignition":46,"odometer":null,"unknown_45":-3675640961215102976}} 
[2026-07-07 18:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":126752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:48:14] local.INFO: GPS data processed {"connection_id":126752,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:48:14] local.INFO: Acknowledgment sent {"connection_id":126752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:48:23] local.INFO: TCP Data received {"connection_id":125496,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:48:23] local.INFO: Processing buffer {"connection_id":125496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:48:23] local.INFO: IMEI packet received {"connection_id":125496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 18:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":125496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:48:33] local.INFO: TCP Data received {"connection_id":125497,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:48:33] local.INFO: Processing buffer {"connection_id":125497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:48:33] local.INFO: IMEI packet received {"connection_id":125497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":125497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:48:35] local.INFO: TCP Data received {"connection_id":126751,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb94290012d7e338005d34d580007005329..."} 
[2026-07-07 18:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb94290012d7e338005d34d580007005329..."} 
[2026-07-07 18:48:35] local.INFO: Processing buffer {"connection_id":126751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb94290012d7e338005d34d580007005329..."} 
[2026-07-07 18:48:35] local.INFO: Packet analysis {"connection_id":126751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb9"} 
[2026-07-07 18:48:35] local.INFO: Extracted packet for processing {"connection_id":126751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb9"} 
[2026-07-07 18:48:35] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 18:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558131712001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783430202000,"timestamp_ms":1783430202000,"timestamp_seconds":1783430202,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb94290"} 
[2026-07-07 18:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-07 18:48:35] 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-07-07 18:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558131712001,"66":2438,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558131712001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:48:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:48:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 18:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558131712001,"power":2438,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 18:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":126751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:48:35] local.INFO: GPS data processed {"connection_id":126751,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:48:35] local.INFO: Acknowledgment sent {"connection_id":126751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:48:38] local.INFO: TCP Data received {"connection_id":125497,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:48:38] local.INFO: Processing buffer {"connection_id":125497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:48:38] local.INFO: IMEI packet received {"connection_id":125497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":125497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:48:40] local.INFO: TCP Data received {"connection_id":125497,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb7eeb8012d1825800721baa0004e01412a..."} 
[2026-07-07 18:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb7eeb8012d1825800721baa0004e01412a..."} 
[2026-07-07 18:48:40] local.INFO: Processing buffer {"connection_id":125497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb7eeb8012d1825800721baa0004e01412a..."} 
[2026-07-07 18:48:40] local.INFO: Packet analysis {"connection_id":125497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb7"} 
[2026-07-07 18:48:40] local.INFO: Extracted packet for processing {"connection_id":125497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb7"} 
[2026-07-07 18:48:40] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650976,"longitude_deg":75.6557184,"latitude_deg":11.9650976,"altitude":78,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-07-07 18:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558104064001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774113847541760,"note":"Value kept but may cause issues"} 
[2026-07-07 18:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167569920,"note":"Value kept but may cause issues"} 
[2026-07-07 18:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783430115000,"timestamp_ms":1783430115000,"timestamp_seconds":1783430115,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb7eeb8"} 
[2026-07-07 18:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-07 18:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558104064001,"66":12798,"120":206,"28":31744,"24":0,"16":4774113847541760,"45":1739937599167569920},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558104064001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:48:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:48:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774113847541760,"km_value":4774113847541.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167569920,"description":"Unknown IO ID 45"} 
[2026-07-07 18:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558104064001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739937599167569920}} 
[2026-07-07 18:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":125497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:48:40] local.INFO: GPS data processed {"connection_id":125497,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:48:40] local.INFO: Acknowledgment sent {"connection_id":125497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:48:57] local.INFO: TCP Data received {"connection_id":125498,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:48:57] local.INFO: Processing buffer {"connection_id":125498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:48:57] local.INFO: IMEI packet received {"connection_id":125498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":125498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:48:58] local.INFO: TCP Data received {"connection_id":126753,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:48:58] local.INFO: Processing buffer {"connection_id":126753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:48:58] local.INFO: IMEI packet received {"connection_id":126753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":126753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:48:58] local.INFO: TCP Data received {"connection_id":126754,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126754,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:48:58] local.INFO: Processing buffer {"connection_id":126754,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:48:58] local.INFO: IMEI packet received {"connection_id":126754,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 18:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":126754,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:49:00] local.INFO: TCP Data received {"connection_id":126753,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:49:00] local.INFO: Processing buffer {"connection_id":126753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:49:00] local.INFO: IMEI packet received {"connection_id":126753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":126753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:49:01] local.INFO: TCP Data received {"connection_id":126753,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cba6b70012dcd3c80052769e8002700a32b..."} 
[2026-07-07 18:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cba6b70012dcd3c80052769e8002700a32b..."} 
[2026-07-07 18:49:01] local.INFO: Processing buffer {"connection_id":126753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cba6b70012dcd3c80052769e8002700a32b..."} 
[2026-07-07 18:49:01] local.INFO: Packet analysis {"connection_id":126753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cba"} 
[2026-07-07 18:49:01] local.INFO: Extracted packet for processing {"connection_id":126753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cba"} 
[2026-07-07 18:49:01] local.INFO: GPS Element Parsed {"raw_longitude":768425088,"raw_latitude":86469096,"longitude_deg":76.8425088,"latitude_deg":8.6469096,"altitude":39,"angle":163,"satellites":43,"speed":42,"hex_longitude":"2dcd3c80","hex_latitude":"052769e8","is_valid_coordinates":true} 
[2026-07-07 18:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558148608001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341735717220646912,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3660511681239373824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783430278000,"timestamp_ms":1783430278000,"timestamp_seconds":1783430278,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cba6b70"} 
[2026-07-07 18:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:49: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-07-07 18:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 18:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558148608001,"66":27604,"162":206,"80":36352,"24":42,"16":341735717220646912,"45":-3660511681239373824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,80,24,16,45]} 
[2026-07-07 18:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558148608001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:49:01] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-07 18:49:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341735717220646912,"km_value":341735717220646.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3660511681239373824,"description":"Unknown IO ID 45"} 
[2026-07-07 18:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558148608001,"power":27604,"unknown_162":206,"unknown_80":36352,"ignition":42,"odometer":null,"unknown_45":-3660511681239373824}} 
[2026-07-07 18:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":126753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:49:01] local.INFO: GPS data processed {"connection_id":126753,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:49:01] local.INFO: Acknowledgment sent {"connection_id":126753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:49:03] local.INFO: TCP Data received {"connection_id":125498,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:49:03] local.INFO: Processing buffer {"connection_id":125498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:49:03] local.INFO: IMEI packet received {"connection_id":125498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":125498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:49:04] local.INFO: TCP Data received {"connection_id":126753,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cba8ab0012dcd468005274878002600a22c..."} 
[2026-07-07 18:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cba8ab0012dcd468005274878002600a22c..."} 
[2026-07-07 18:49:04] local.INFO: Processing buffer {"connection_id":126753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cba8ab0012dcd468005274878002600a22c..."} 
[2026-07-07 18:49:04] local.INFO: Packet analysis {"connection_id":126753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cba"} 
[2026-07-07 18:49:04] local.INFO: Extracted packet for processing {"connection_id":126753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cba"} 
[2026-07-07 18:49:04] local.INFO: GPS Element Parsed {"raw_longitude":768427648,"raw_latitude":86460536,"longitude_deg":76.8427648,"latitude_deg":8.6460536,"altitude":38,"angle":162,"satellites":44,"speed":46,"hex_longitude":"2dcd4680","hex_latitude":"05274878","is_valid_coordinates":true} 
[2026-07-07 18:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558151168001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341736151012343808,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3657908037707241472,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783430286000,"timestamp_ms":1783430286000,"timestamp_seconds":1783430286,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cba8ab0"} 
[2026-07-07 18:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-07 18:49:04] 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-07-07 18:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558151168001,"66":27843,"162":206,"80":36352,"24":46,"16":341736151012343808,"45":-3657908037707241472},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,80,24,16,45]} 
[2026-07-07 18:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558151168001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:49:04] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-07 18:49:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341736151012343808,"km_value":341736151012343.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3657908037707241472,"description":"Unknown IO ID 45"} 
[2026-07-07 18:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558151168001,"power":27843,"unknown_162":206,"unknown_80":36352,"ignition":46,"odometer":null,"unknown_45":-3657908037707241472}} 
[2026-07-07 18:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":126753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:49:04] local.INFO: GPS data processed {"connection_id":126753,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:49:04] local.INFO: Acknowledgment sent {"connection_id":126753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:49:04] local.INFO: TCP Data received {"connection_id":125498,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb9e2b8012d7e338005d34d580007005329..."} 
[2026-07-07 18:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb9e2b8012d7e338005d34d580007005329..."} 
[2026-07-07 18:49:04] local.INFO: Processing buffer {"connection_id":125498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb9e2b8012d7e338005d34d580007005329..."} 
[2026-07-07 18:49:04] local.INFO: Packet analysis {"connection_id":125498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb9"} 
[2026-07-07 18:49:04] local.INFO: Extracted packet for processing {"connection_id":125498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb9"} 
[2026-07-07 18:49:04] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 18:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558131712001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783430243000,"timestamp_ms":1783430243000,"timestamp_seconds":1783430243,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb9e2b8"} 
[2026-07-07 18:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18: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":9,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-07 18:49:04] 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-07-07 18:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558131712001,"66":12287,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558131712001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:49:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:49:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 18:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558131712001,"power":12287,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 18:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":125498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:49:04] local.INFO: GPS data processed {"connection_id":125498,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:49:04] local.INFO: Acknowledgment sent {"connection_id":125498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:49:11] local.INFO: TCP Data received {"connection_id":125497,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb840c0012d1825800721baa0004e01412b..."} 
[2026-07-07 18:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb840c0012d1825800721baa0004e01412b..."} 
[2026-07-07 18:49:11] local.INFO: Processing buffer {"connection_id":125497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb840c0012d1825800721baa0004e01412b..."} 
[2026-07-07 18:49:11] local.INFO: Packet analysis {"connection_id":125497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:49:11] local.INFO: Extracted packet for processing {"connection_id":125497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650976,"longitude_deg":75.6557184,"latitude_deg":11.9650976,"altitude":78,"angle":321,"satellites":43,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558109440001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774113847541760,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167569920,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783430136000,"timestamp_ms":1783430136000,"timestamp_seconds":1783430136,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb840c0"} 
[2026-07-07 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-07-07 18:49: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-07-07 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 18:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 18:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558109440001,"66":12798,"120":206,"28":31744,"24":0,"16":4774113847541760,"45":1739937599167569920},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558109440001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:49:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:49:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774113847541760,"km_value":4774113847541.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167569920,"description":"Unknown IO ID 45"} 
[2026-07-07 18:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558109440001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739937599167569920}} 
[2026-07-07 18:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":125497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:49:11] local.INFO: GPS data processed {"connection_id":125497,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:49:11] local.INFO: Acknowledgment sent {"connection_id":125497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:49:34] local.INFO: TCP Data received {"connection_id":126753,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbaa9f0012dcd524005272720002600a12d..."} 
[2026-07-07 18:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbaa9f0012dcd524005272720002600a12d..."} 
[2026-07-07 18:49:34] local.INFO: Processing buffer {"connection_id":126753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbaa9f0012dcd524005272720002600a12d..."} 
[2026-07-07 18:49:34] local.INFO: Packet analysis {"connection_id":126753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cba"} 
[2026-07-07 18:49:34] local.INFO: Extracted packet for processing {"connection_id":126753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cba"} 
[2026-07-07 18:49:34] local.INFO: GPS Element Parsed {"raw_longitude":768430656,"raw_latitude":86452000,"longitude_deg":76.8430656,"latitude_deg":8.6452,"altitude":38,"angle":161,"satellites":45,"speed":44,"hex_longitude":"2dcd5240","hex_latitude":"05272720","is_valid_coordinates":true} 
[2026-07-07 18:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558153216001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341736584804040704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3655093287942326272,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783430294000,"timestamp_ms":1783430294000,"timestamp_seconds":1783430294,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbaa9f0"} 
[2026-07-07 18:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18: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-07-07 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 18:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558153216001,"66":27745,"162":206,"80":36352,"24":44,"16":341736584804040704,"45":-3655093287942326272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,80,24,16,45]} 
[2026-07-07 18:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558153216001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:49:34] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-07 18:49:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341736584804040704,"km_value":341736584804040.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3655093287942326272,"description":"Unknown IO ID 45"} 
[2026-07-07 18:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558153216001,"power":27745,"unknown_162":206,"unknown_80":36352,"ignition":44,"odometer":null,"unknown_45":-3655093287942326272}} 
[2026-07-07 18:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":126753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:49:34] local.INFO: GPS data processed {"connection_id":126753,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:49:34] local.INFO: Acknowledgment sent {"connection_id":126753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:49:35] local.INFO: TCP Data received {"connection_id":125498,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb9e2b8012d7e338005d34d580007005329..."} 
[2026-07-07 18:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb9e2b8012d7e338005d34d580007005329..."} 
[2026-07-07 18:49:35] local.INFO: Processing buffer {"connection_id":125498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb9e2b8012d7e338005d34d580007005329..."} 
[2026-07-07 18:49:35] local.INFO: Packet analysis {"connection_id":125498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb9"} 
[2026-07-07 18:49:35] local.INFO: Extracted packet for processing {"connection_id":125498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb9"} 
[2026-07-07 18:49:35] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 18:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558142208001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783430243000,"timestamp_ms":1783430243000,"timestamp_seconds":1783430243,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb9e2b8"} 
[2026-07-07 18:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-07 18:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558142208001,"66":12287,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558142208001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:49:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:49:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 18:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558142208001,"power":12287,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 18:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":125498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:49:35] local.INFO: GPS data processed {"connection_id":125498,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:49:35] local.INFO: Acknowledgment sent {"connection_id":125498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:49:38] local.INFO: TCP Data received {"connection_id":126755,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:49:38] local.INFO: Processing buffer {"connection_id":126755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:49:38] local.INFO: IMEI packet received {"connection_id":126755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":126755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:49:43] local.INFO: TCP Data received {"connection_id":126755,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:49:43] local.INFO: Processing buffer {"connection_id":126755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:49:43] local.INFO: IMEI packet received {"connection_id":126755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":126755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:49:44] local.INFO: TCP Data received {"connection_id":126755,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cb892c8012d1825800721baa0004e01412b..."} 
[2026-07-07 18:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cb892c8012d1825800721baa0004e01412b..."} 
[2026-07-07 18:49:44] local.INFO: Processing buffer {"connection_id":126755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cb892c8012d1825800721baa0004e01412b..."} 
[2026-07-07 18:49:44] local.INFO: Packet analysis {"connection_id":126755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:49:44] local.INFO: Extracted packet for processing {"connection_id":126755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cb8"} 
[2026-07-07 18:49:44] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650976,"longitude_deg":75.6557184,"latitude_deg":11.9650976,"altitude":78,"angle":321,"satellites":43,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558114816001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774113847541760,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167569920,"note":"Value kept but may cause issues"} 
[2026-07-07 18:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783430157000,"timestamp_ms":1783430157000,"timestamp_seconds":1783430157,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cb892c8"} 
[2026-07-07 18:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 18:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":126755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":126755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":126755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558114816001,"66":13276,"120":206,"28":31744,"24":0,"16":4774113847541760,"45":1739937599167569920},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558114816001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:49:44] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:49:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774113847541760,"km_value":4774113847541.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167569920,"description":"Unknown IO ID 45"} 
[2026-07-07 18:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558114816001,"power":13276,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739937599167569920}} 
[2026-07-07 18:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":126755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:49:45] local.INFO: GPS data processed {"connection_id":126755,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:49:45] local.INFO: Acknowledgment sent {"connection_id":126755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:49:58] local.INFO: TCP Data received {"connection_id":126756,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:49:58] local.INFO: Processing buffer {"connection_id":126756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:49:58] local.INFO: IMEI packet received {"connection_id":126756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":126756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:49:59] local.INFO: TCP Data received {"connection_id":126756,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:49:59] local.INFO: Processing buffer {"connection_id":126756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:49:59] local.INFO: IMEI packet received {"connection_id":126756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":126756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:50:03] local.INFO: TCP Data received {"connection_id":125499,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:50:03] local.INFO: Processing buffer {"connection_id":125499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:50:03] local.INFO: IMEI packet received {"connection_id":125499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":125499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:50:03] local.INFO: TCP Data received {"connection_id":126756,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:50:03] local.INFO: Processing buffer {"connection_id":126756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:50:03] local.INFO: IMEI packet received {"connection_id":126756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":126756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:50:04] local.INFO: TCP Data received {"connection_id":126756,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbac930012dcd5d40052704d0002600a22c..."} 
[2026-07-07 18:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbac930012dcd5d40052704d0002600a22c..."} 
[2026-07-07 18:50:04] local.INFO: Processing buffer {"connection_id":126756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbac930012dcd5d40052704d0002600a22c..."} 
[2026-07-07 18:50:04] local.INFO: Packet analysis {"connection_id":126756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cba"} 
[2026-07-07 18:50:04] local.INFO: Extracted packet for processing {"connection_id":126756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cba"} 
[2026-07-07 18:50:04] local.INFO: GPS Element Parsed {"raw_longitude":768433472,"raw_latitude":86443216,"longitude_deg":76.8433472,"latitude_deg":8.6443216,"altitude":38,"angle":162,"satellites":44,"speed":47,"hex_longitude":"2dcd5d40","hex_latitude":"052704d0","is_valid_coordinates":true} 
[2026-07-07 18:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558155264001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341737035775606784,"note":"Value kept but may cause issues"} 
[2026-07-07 18:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3651785956968161280,"note":"Value kept but may cause issues"} 
[2026-07-07 18:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783430302000,"timestamp_ms":1783430302000,"timestamp_seconds":1783430302,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbac930"} 
[2026-07-07 18:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 18:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558155264001,"66":27017,"101":206,"80":36352,"24":47,"16":341737035775606784,"45":-3651785956968161280},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,80,24,16,45]} 
[2026-07-07 18:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558155264001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:50:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 18:50:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341737035775606784,"km_value":341737035775606.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3651785956968161280,"description":"Unknown IO ID 45"} 
[2026-07-07 18:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558155264001,"power":27017,"unknown_101":206,"unknown_80":36352,"ignition":47,"odometer":null,"unknown_45":-3651785956968161280}} 
[2026-07-07 18:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":126756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:50:04] local.INFO: GPS data processed {"connection_id":126756,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:50:04] local.INFO: Acknowledgment sent {"connection_id":126756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:50:08] local.INFO: TCP Data received {"connection_id":125499,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:50:08] local.INFO: Processing buffer {"connection_id":125499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:50:08] local.INFO: IMEI packet received {"connection_id":125499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":125499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:50:08] local.INFO: TCP Data received {"connection_id":125499,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbb0f80012d7e338005d34d58000700532a..."} 
[2026-07-07 18:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbb0f80012d7e338005d34d58000700532a..."} 
[2026-07-07 18:50:08] local.INFO: Processing buffer {"connection_id":125499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbb0f80012d7e338005d34d58000700532a..."} 
[2026-07-07 18:50:08] local.INFO: Packet analysis {"connection_id":125499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbb"} 
[2026-07-07 18:50:08] local.INFO: Extracted packet for processing {"connection_id":125499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbb"} 
[2026-07-07 18:50:08] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 18:50: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-07-07 18:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558142208001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783430320000,"timestamp_ms":1783430320000,"timestamp_seconds":1783430320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbb0f80"} 
[2026-07-07 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-07-07 18:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-07 18:50: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-07-07 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-07-07 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-07-07 18:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558142208001,"66":2264,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558142208001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:50:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:50:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 18:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558142208001,"power":2264,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 18:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":125499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:50:08] local.INFO: GPS data processed {"connection_id":125499,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:50:08] local.INFO: Acknowledgment sent {"connection_id":125499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:50:09] local.INFO: TCP Data received {"connection_id":126756,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbae870012dcd67400526e250002b00a32e..."} 
[2026-07-07 18:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbae870012dcd67400526e250002b00a32e..."} 
[2026-07-07 18:50:09] local.INFO: Processing buffer {"connection_id":126756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbae870012dcd67400526e250002b00a32e..."} 
[2026-07-07 18:50:09] local.INFO: Packet analysis {"connection_id":126756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cba"} 
[2026-07-07 18:50:09] local.INFO: Extracted packet for processing {"connection_id":126756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cba"} 
[2026-07-07 18:50:09] local.INFO: GPS Element Parsed {"raw_longitude":768436032,"raw_latitude":86434384,"longitude_deg":76.8436032,"latitude_deg":8.6434384,"altitude":43,"angle":163,"satellites":46,"speed":43,"hex_longitude":"2dcd6740","hex_latitude":"0526e250","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558157312001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341737478157238272,"note":"Value kept but may cause issues"} 
[2026-07-07 18:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3648689732226592768,"note":"Value kept but may cause issues"} 
[2026-07-07 18:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783430310000,"timestamp_ms":1783430310000,"timestamp_seconds":1783430310,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbae870"} 
[2026-07-07 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-07-07 18:50: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-07-07 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":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-07 18:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 18:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558157312001,"66":27713,"101":206,"80":36352,"24":43,"16":341737478157238272,"45":-3648689732226592768},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,80,24,16,45]} 
[2026-07-07 18:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558157312001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:50:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 18:50:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341737478157238272,"km_value":341737478157238.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3648689732226592768,"description":"Unknown IO ID 45"} 
[2026-07-07 18:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558157312001,"power":27713,"unknown_101":206,"unknown_80":36352,"ignition":43,"odometer":null,"unknown_45":-3648689732226592768}} 
[2026-07-07 18:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":126756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:50:09] local.INFO: GPS data processed {"connection_id":126756,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:50:09] local.INFO: Acknowledgment sent {"connection_id":126756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:50:16] local.INFO: TCP Data received {"connection_id":126755,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbb2308012d1820c00721b320004b00d02b..."} 
[2026-07-07 18:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbb2308012d1820c00721b320004b00d02b..."} 
[2026-07-07 18:50:16] local.INFO: Processing buffer {"connection_id":126755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbb2308012d1820c00721b320004b00d02b..."} 
[2026-07-07 18:50:16] local.INFO: Packet analysis {"connection_id":126755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbb"} 
[2026-07-07 18:50:16] local.INFO: Extracted packet for processing {"connection_id":126755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbb"} 
[2026-07-07 18:50:16] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649056,"longitude_deg":75.6555968,"latitude_deg":11.9649056,"altitude":75,"angle":208,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b320","is_valid_coordinates":true} 
[2026-07-07 18:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558157824001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774229811658752,"note":"Value kept but may cause issues"} 
[2026-07-07 18:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027702784,"note":"Value kept but may cause issues"} 
[2026-07-07 18:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783430325000,"timestamp_ms":1783430325000,"timestamp_seconds":1783430325,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbb2308"} 
[2026-07-07 18:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 18:50: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-07-07 18:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558157824001,"66":12504,"120":206,"28":31744,"24":0,"16":4774229811658752,"45":1738600593027702784},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558157824001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:50:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:50:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774229811658752,"km_value":4774229811658.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027702784,"description":"Unknown IO ID 45"} 
[2026-07-07 18:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558157824001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027702784}} 
[2026-07-07 18:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":126755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:50:16] local.INFO: GPS data processed {"connection_id":126755,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:50:16] local.INFO: Acknowledgment sent {"connection_id":126755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:50:33] local.INFO: TCP Data received {"connection_id":126758,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:50:33] local.INFO: Processing buffer {"connection_id":126758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:50:33] local.INFO: IMEI packet received {"connection_id":126758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":126758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:50:38] local.INFO: TCP Data received {"connection_id":126758,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:50:38] local.INFO: Processing buffer {"connection_id":126758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:50:38] local.INFO: IMEI packet received {"connection_id":126758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":126758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:50:39] local.INFO: TCP Data received {"connection_id":126758,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbb7510012d1820000721b270004a00d62b..."} 
[2026-07-07 18:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbb7510012d1820000721b270004a00d62b..."} 
[2026-07-07 18:50:39] local.INFO: Processing buffer {"connection_id":126758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbb7510012d1820000721b270004a00d62b..."} 
[2026-07-07 18:50:39] local.INFO: Packet analysis {"connection_id":126758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbb"} 
[2026-07-07 18:50:39] local.INFO: Extracted packet for processing {"connection_id":126758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbb"} 
[2026-07-07 18:50:39] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648880,"longitude_deg":75.6555776,"latitude_deg":11.964888,"altitude":74,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558163200001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774242696560640,"note":"Value kept but may cause issues"} 
[2026-07-07 18:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027702784,"note":"Value kept but may cause issues"} 
[2026-07-07 18:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783430346000,"timestamp_ms":1783430346000,"timestamp_seconds":1783430346,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbb7510"} 
[2026-07-07 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-07-07 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-07-07 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":216,"data_length":795,"current_offset":136} 
[2026-07-07 18:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 18:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558163200001,"66":12504,"120":206,"28":31744,"24":0,"16":4774242696560640,"45":1738600593027702784},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558163200001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:50:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:50:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774242696560640,"km_value":4774242696560.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027702784,"description":"Unknown IO ID 45"} 
[2026-07-07 18:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558163200001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027702784}} 
[2026-07-07 18:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":126758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:50:39] local.INFO: GPS data processed {"connection_id":126758,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:50:39] local.INFO: Acknowledgment sent {"connection_id":126758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:50:40] local.INFO: TCP Data received {"connection_id":126756,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbb1b38012dcd71c00526c0f0002f00a030..."} 
[2026-07-07 18:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbb1b38012dcd71c00526c0f0002f00a030..."} 
[2026-07-07 18:50:40] local.INFO: Processing buffer {"connection_id":126756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbb1b38012dcd71c00526c0f0002f00a030..."} 
[2026-07-07 18:50:40] local.INFO: Packet analysis {"connection_id":126756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbb"} 
[2026-07-07 18:50:40] local.INFO: Extracted packet for processing {"connection_id":126756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbb"} 
[2026-07-07 18:50:40] local.INFO: GPS Element Parsed {"raw_longitude":768438720,"raw_latitude":86425840,"longitude_deg":76.843872,"latitude_deg":8.642584,"altitude":47,"angle":160,"satellites":48,"speed":10,"hex_longitude":"2dcd71c0","hex_latitude":"0526c0f0","is_valid_coordinates":true} 
[2026-07-07 18:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558159360001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341737911948935168,"note":"Value kept but may cause issues"} 
[2026-07-07 18:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3645874982461747200,"note":"Value kept but may cause issues"} 
[2026-07-07 18:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783430323000,"timestamp_ms":1783430323000,"timestamp_seconds":1783430323,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbb1b38"} 
[2026-07-07 18:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:50: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-07-07 18: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-07 18:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:50: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-07-07 18:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558159360001,"66":27821,"101":206,"80":36352,"24":10,"16":341737911948935168,"45":-3645874982461747200},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,80,24,16,45]} 
[2026-07-07 18:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558159360001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:50:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 18:50:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341737911948935168,"km_value":341737911948935.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3645874982461747200,"description":"Unknown IO ID 45"} 
[2026-07-07 18:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558159360001,"power":27821,"unknown_101":206,"unknown_80":36352,"ignition":10,"odometer":null,"unknown_45":-3645874982461747200}} 
[2026-07-07 18:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":126756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:50:40] local.INFO: GPS data processed {"connection_id":126756,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:50:40] local.INFO: Acknowledgment sent {"connection_id":126756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:50:55] local.INFO: TCP Data received {"connection_id":124791,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:50:55] local.INFO: Processing buffer {"connection_id":124791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:50:55] local.INFO: IMEI packet received {"connection_id":124791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":124791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:50:58] local.INFO: TCP Data received {"connection_id":124791,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:50:58] local.INFO: Processing buffer {"connection_id":124791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:50:58] local.INFO: IMEI packet received {"connection_id":124791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":124791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:51:03] local.INFO: TCP Data received {"connection_id":124791,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:51:03] local.INFO: Processing buffer {"connection_id":124791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:51:03] local.INFO: IMEI packet received {"connection_id":124791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":124791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:51:04] local.INFO: TCP Data received {"connection_id":124791,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbb59b8012dcd7b8005269e70002c00a02f..."} 
[2026-07-07 18:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbb59b8012dcd7b8005269e70002c00a02f..."} 
[2026-07-07 18:51:04] local.INFO: Processing buffer {"connection_id":124791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbb59b8012dcd7b8005269e70002c00a02f..."} 
[2026-07-07 18:51:04] local.INFO: Packet analysis {"connection_id":124791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbb"} 
[2026-07-07 18:51:04] local.INFO: Extracted packet for processing {"connection_id":124791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbb"} 
[2026-07-07 18:51:04] local.INFO: GPS Element Parsed {"raw_longitude":768441216,"raw_latitude":86417008,"longitude_deg":76.8441216,"latitude_deg":8.6417008,"altitude":44,"angle":160,"satellites":47,"speed":30,"hex_longitude":"2dcd7b80","hex_latitude":"05269e70","is_valid_coordinates":true} 
[2026-07-07 18:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558162688001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341738358625533952,"note":"Value kept but may cause issues"} 
[2026-07-07 18:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3642919495208472576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783430339000,"timestamp_ms":1783430339000,"timestamp_seconds":1783430339,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbb59b8"} 
[2026-07-07 18:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 18:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558162688001,"66":27800,"101":206,"80":36352,"24":30,"16":341738358625533952,"45":-3642919495208472576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,80,24,16,45]} 
[2026-07-07 18:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558162688001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:51:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 18:51:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341738358625533952,"km_value":341738358625533.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3642919495208472576,"description":"Unknown IO ID 45"} 
[2026-07-07 18:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558162688001,"power":27800,"unknown_101":206,"unknown_80":36352,"ignition":30,"odometer":null,"unknown_45":-3642919495208472576}} 
[2026-07-07 18:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":124791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:51:04] local.INFO: GPS data processed {"connection_id":124791,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:51:04] local.INFO: Acknowledgment sent {"connection_id":124791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:51:11] local.INFO: TCP Data received {"connection_id":126758,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbbc718012d1820000721b270004a00d62c..."} 
[2026-07-07 18:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbbc718012d1820000721b270004a00d62c..."} 
[2026-07-07 18:51:11] local.INFO: Processing buffer {"connection_id":126758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbbc718012d1820000721b270004a00d62c..."} 
[2026-07-07 18:51:11] local.INFO: Packet analysis {"connection_id":126758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbb"} 
[2026-07-07 18:51:11] local.INFO: Extracted packet for processing {"connection_id":126758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbb"} 
[2026-07-07 18:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648880,"longitude_deg":75.6555776,"latitude_deg":11.964888,"altitude":74,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558168576001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774242696560640,"note":"Value kept but may cause issues"} 
[2026-07-07 18:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795124736,"note":"Value kept but may cause issues"} 
[2026-07-07 18:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783430367000,"timestamp_ms":1783430367000,"timestamp_seconds":1783430367,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbbc718"} 
[2026-07-07 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-07-07 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-07-07 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":216,"data_length":795,"current_offset":136} 
[2026-07-07 18:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 18:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558168576001,"66":12504,"120":206,"28":31744,"24":0,"16":4774242696560640,"45":1738389486795124736},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558168576001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:51:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:51:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774242696560640,"km_value":4774242696560.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795124736,"description":"Unknown IO ID 45"} 
[2026-07-07 18:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558168576001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795124736}} 
[2026-07-07 18:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":126758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:51:11] local.INFO: GPS data processed {"connection_id":126758,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:51:11] local.INFO: Acknowledgment sent {"connection_id":126758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:51:34] local.INFO: TCP Data received {"connection_id":126759,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:51:34] local.INFO: Processing buffer {"connection_id":126759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:51:34] local.INFO: IMEI packet received {"connection_id":126759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":126759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:51:35] local.INFO: TCP Data received {"connection_id":124791,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbb84b0012dcd888005267ad80023009f2c..."} 
[2026-07-07 18:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbb84b0012dcd888005267ad80023009f2c..."} 
[2026-07-07 18:51:35] local.INFO: Processing buffer {"connection_id":124791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbb84b0012dcd888005267ad80023009f2c..."} 
[2026-07-07 18:51:35] local.INFO: Packet analysis {"connection_id":124791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbb"} 
[2026-07-07 18:51:35] local.INFO: Extracted packet for processing {"connection_id":124791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbb"} 
[2026-07-07 18:51:35] local.INFO: GPS Element Parsed {"raw_longitude":768444544,"raw_latitude":86407896,"longitude_deg":76.8444544,"latitude_deg":8.6407896,"altitude":35,"angle":159,"satellites":44,"speed":41,"hex_longitude":"2dcd8880","hex_latitude":"05267ad8","is_valid_coordinates":true} 
[2026-07-07 18:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558166784001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341738826776969216,"note":"Value kept but may cause issues"} 
[2026-07-07 18:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3640175114187804672,"note":"Value kept but may cause issues"} 
[2026-07-07 18:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783430350000,"timestamp_ms":1783430350000,"timestamp_seconds":1783430350,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbb84b0"} 
[2026-07-07 18:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 18:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558166784001,"66":27745,"101":206,"80":36352,"24":41,"16":341738826776969216,"45":-3640175114187804672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,80,24,16,45]} 
[2026-07-07 18:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558166784001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:51:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 18:51:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341738826776969216,"km_value":341738826776969.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3640175114187804672,"description":"Unknown IO ID 45"} 
[2026-07-07 18:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558166784001,"power":27745,"unknown_101":206,"unknown_80":36352,"ignition":41,"odometer":null,"unknown_45":-3640175114187804672}} 
[2026-07-07 18:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":124791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:51:35] local.INFO: GPS data processed {"connection_id":124791,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:51:35] local.INFO: Acknowledgment sent {"connection_id":124791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:51:38] local.INFO: TCP Data received {"connection_id":126759,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:51:38] local.INFO: Processing buffer {"connection_id":126759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:51:38] local.INFO: IMEI packet received {"connection_id":126759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":126759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:51:39] local.INFO: TCP Data received {"connection_id":126759,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbc1920012d1820000721b270004a00d62d..."} 
[2026-07-07 18:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbc1920012d1820000721b270004a00d62d..."} 
[2026-07-07 18:51:39] local.INFO: Processing buffer {"connection_id":126759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbc1920012d1820000721b270004a00d62d..."} 
[2026-07-07 18:51:39] local.INFO: Packet analysis {"connection_id":126759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbc"} 
[2026-07-07 18:51:39] local.INFO: Extracted packet for processing {"connection_id":126759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbc"} 
[2026-07-07 18:51:39] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648880,"longitude_deg":75.6555776,"latitude_deg":11.964888,"altitude":74,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558173952001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774242696560640,"note":"Value kept but may cause issues"} 
[2026-07-07 18:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795124736,"note":"Value kept but may cause issues"} 
[2026-07-07 18:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783430388000,"timestamp_ms":1783430388000,"timestamp_seconds":1783430388,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbc1920"} 
[2026-07-07 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-07-07 18:51: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-07-07 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 18:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 18:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558173952001,"66":12526,"120":206,"28":31744,"24":0,"16":4774242696560640,"45":1738389486795124736},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558173952001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:51:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:51:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774242696560640,"km_value":4774242696560.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795124736,"description":"Unknown IO ID 45"} 
[2026-07-07 18:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558173952001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795124736}} 
[2026-07-07 18:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":126759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:51:39] local.INFO: GPS data processed {"connection_id":126759,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:51:39] local.INFO: Acknowledgment sent {"connection_id":126759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:51:56] local.INFO: TCP Data received {"connection_id":124792,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:51:56] local.INFO: Processing buffer {"connection_id":124792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:51:56] local.INFO: IMEI packet received {"connection_id":124792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":124792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:51:58] local.INFO: TCP Data received {"connection_id":124792,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:51:58] local.INFO: Processing buffer {"connection_id":124792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:51:58] local.INFO: IMEI packet received {"connection_id":124792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":124792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:52:03] local.INFO: TCP Data received {"connection_id":124792,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:52:03] local.INFO: Processing buffer {"connection_id":124792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:52:03] local.INFO: IMEI packet received {"connection_id":124792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":124792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:52:04] local.INFO: TCP Data received {"connection_id":124792,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbbafa8012dcd9680052658380027009d2d..."} 
[2026-07-07 18:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbbafa8012dcd9680052658380027009d2d..."} 
[2026-07-07 18:52:04] local.INFO: Processing buffer {"connection_id":124792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbbafa8012dcd9680052658380027009d2d..."} 
[2026-07-07 18:52:04] local.INFO: Packet analysis {"connection_id":124792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbb"} 
[2026-07-07 18:52:04] local.INFO: Extracted packet for processing {"connection_id":124792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbb"} 
[2026-07-07 18:52:04] local.INFO: GPS Element Parsed {"raw_longitude":768448128,"raw_latitude":86399032,"longitude_deg":76.8448128,"latitude_deg":8.6399032,"altitude":39,"angle":157,"satellites":45,"speed":31,"hex_longitude":"2dcd9680","hex_latitude":"05265838","is_valid_coordinates":true} 
[2026-07-07 18:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558169600001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341739290633437184,"note":"Value kept but may cause issues"} 
[2026-07-07 18:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3636515939492898816,"note":"Value kept but may cause issues"} 
[2026-07-07 18:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783430361000,"timestamp_ms":1783430361000,"timestamp_seconds":1783430361,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbbafa8"} 
[2026-07-07 18:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 18:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558169600001,"66":27767,"101":206,"80":36352,"24":31,"16":341739290633437184,"45":-3636515939492898816},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,80,24,16,45]} 
[2026-07-07 18:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558169600001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:52:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 18:52:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341739290633437184,"km_value":341739290633437.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3636515939492898816,"description":"Unknown IO ID 45"} 
[2026-07-07 18:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558169600001,"power":27767,"unknown_101":206,"unknown_80":36352,"ignition":31,"odometer":null,"unknown_45":-3636515939492898816}} 
[2026-07-07 18:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":124792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:52:04] local.INFO: GPS data processed {"connection_id":124792,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:52:04] local.INFO: Acknowledgment sent {"connection_id":124792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:52:11] local.INFO: TCP Data received {"connection_id":126759,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbc6b28012d1820000721b270004a00d62d..."} 
[2026-07-07 18:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbc6b28012d1820000721b270004a00d62d..."} 
[2026-07-07 18:52:11] local.INFO: Processing buffer {"connection_id":126759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbc6b28012d1820000721b270004a00d62d..."} 
[2026-07-07 18:52:11] local.INFO: Packet analysis {"connection_id":126759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbc"} 
[2026-07-07 18:52:11] local.INFO: Extracted packet for processing {"connection_id":126759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbc"} 
[2026-07-07 18:52:11] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648880,"longitude_deg":75.6555776,"latitude_deg":11.964888,"altitude":74,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b270","is_valid_coordinates":true} 
[2026-07-07 18:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558179328001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774242696560640,"note":"Value kept but may cause issues"} 
[2026-07-07 18:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795124736,"note":"Value kept but may cause issues"} 
[2026-07-07 18:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783430409000,"timestamp_ms":1783430409000,"timestamp_seconds":1783430409,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbc6b28"} 
[2026-07-07 18:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-07 18:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558179328001,"66":12504,"120":206,"28":31744,"24":0,"16":4774242696560640,"45":1738389486795124736},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558179328001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:52:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:52:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774242696560640,"km_value":4774242696560.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795124736,"description":"Unknown IO ID 45"} 
[2026-07-07 18:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558179328001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795124736}} 
[2026-07-07 18:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":126759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:52:11] local.INFO: GPS data processed {"connection_id":126759,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:52:11] local.INFO: Acknowledgment sent {"connection_id":126759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:52:32] local.INFO: TCP Data received {"connection_id":126760,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:52:32] local.INFO: Processing buffer {"connection_id":126760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:52:32] local.INFO: IMEI packet received {"connection_id":126760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":126760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:52:33] local.INFO: TCP Data received {"connection_id":126760,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:52:33] local.INFO: Processing buffer {"connection_id":126760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:52:33] local.INFO: IMEI packet received {"connection_id":126760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":126760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:52:35] local.INFO: TCP Data received {"connection_id":124792,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbdc6d0012dce1800052471e8003000a22d..."} 
[2026-07-07 18:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbdc6d0012dce1800052471e8003000a22d..."} 
[2026-07-07 18:52:35] local.INFO: Processing buffer {"connection_id":124792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbdc6d0012dce1800052471e8003000a22d..."} 
[2026-07-07 18:52:35] local.INFO: Packet analysis {"connection_id":124792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbd"} 
[2026-07-07 18:52:35] local.INFO: Extracted packet for processing {"connection_id":124792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbd"} 
[2026-07-07 18:52:35] local.INFO: GPS Element Parsed {"raw_longitude":768481280,"raw_latitude":86274536,"longitude_deg":76.848128,"latitude_deg":8.6274536,"altitude":48,"angle":162,"satellites":45,"speed":59,"hex_longitude":"2dce1800","hex_latitude":"052471e8","is_valid_coordinates":true} 
[2026-07-07 18:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558205952001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341745552695754752,"note":"Value kept but may cause issues"} 
[2026-07-07 18:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3598868661389805568,"note":"Value kept but may cause issues"} 
[2026-07-07 18:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783430498000,"timestamp_ms":1783430498000,"timestamp_seconds":1783430498,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbdc6d0"} 
[2026-07-07 18:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:52: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-07-07 18:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 18:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558205952001,"66":27397,"99":206,"80":36352,"24":59,"16":341745552695754752,"45":-3598868661389805568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,80,24,16,45]} 
[2026-07-07 18:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558205952001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:52:35] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-07 18:52:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341745552695754752,"km_value":341745552695754.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3598868661389805568,"description":"Unknown IO ID 45"} 
[2026-07-07 18:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558205952001,"power":27397,"unknown_99":206,"unknown_80":36352,"ignition":59,"odometer":null,"unknown_45":-3598868661389805568}} 
[2026-07-07 18:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":124792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:52:35] local.INFO: GPS data processed {"connection_id":124792,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:52:35] local.INFO: Acknowledgment sent {"connection_id":124792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:52:38] local.INFO: TCP Data received {"connection_id":126760,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:52:38] local.INFO: Processing buffer {"connection_id":126760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:52:38] local.INFO: IMEI packet received {"connection_id":126760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":126760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:52:39] local.INFO: TCP Data received {"connection_id":126760,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbcbd30012d181f400721b200004e00dc29..."} 
[2026-07-07 18:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbcbd30012d181f400721b200004e00dc29..."} 
[2026-07-07 18:52:39] local.INFO: Processing buffer {"connection_id":126760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbcbd30012d181f400721b200004e00dc29..."} 
[2026-07-07 18:52:39] local.INFO: Packet analysis {"connection_id":126760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbc"} 
[2026-07-07 18:52:39] local.INFO: Extracted packet for processing {"connection_id":126760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbc"} 
[2026-07-07 18:52:39] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":78,"angle":220,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558184704001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774255581462528,"note":"Value kept but may cause issues"} 
[2026-07-07 18:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795124736,"note":"Value kept but may cause issues"} 
[2026-07-07 18:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783430430000,"timestamp_ms":1783430430000,"timestamp_seconds":1783430430,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbcbd30"} 
[2026-07-07 18:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":216,"data_length":795,"current_offset":136} 
[2026-07-07 18:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558184704001,"66":12461,"120":206,"28":31744,"24":0,"16":4774255581462528,"45":1738389486795124736},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558184704001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:52:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:52:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774255581462528,"km_value":4774255581462.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795124736,"description":"Unknown IO ID 45"} 
[2026-07-07 18:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558184704001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795124736}} 
[2026-07-07 18:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":126760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:52:39] local.INFO: GPS data processed {"connection_id":126760,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:52:39] local.INFO: Acknowledgment sent {"connection_id":126760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:53:00] local.INFO: TCP Data received {"connection_id":126761,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:53:00] local.INFO: Processing buffer {"connection_id":126761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:53:00] local.INFO: IMEI packet received {"connection_id":126761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":126761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:53:00] local.INFO: TCP Data received {"connection_id":126761,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 18:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126761,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 18:53:00] local.INFO: Processing buffer {"connection_id":126761,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 18:53:00] local.INFO: IMEI packet received {"connection_id":126761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":126761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:53:03] local.INFO: TCP Data received {"connection_id":126761,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:53:03] local.INFO: Processing buffer {"connection_id":126761,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 18:53:03] local.INFO: IMEI packet received {"connection_id":126761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":126761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:53:04] local.INFO: TCP Data received {"connection_id":126761,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbde228012dce23c005244c30003200a42c..."} 
[2026-07-07 18:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbde228012dce23c005244c30003200a42c..."} 
[2026-07-07 18:53:04] local.INFO: Processing buffer {"connection_id":126761,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f3c..."} 
[2026-07-07 18:53:04] local.INFO: IMEI packet received {"connection_id":126761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":126761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:53:05] local.INFO: TCP Data received {"connection_id":126761,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbe0168012dce2c00052427e8003200aa2b..."} 
[2026-07-07 18:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbe0168012dce2c00052427e8003200aa2b..."} 
[2026-07-07 18:53:05] local.INFO: Processing buffer {"connection_id":126761,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3cbde228012dce23c005244c30003200a42c..."} 
[2026-07-07 18:53:05] local.INFO: Packet analysis {"connection_id":126761,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3cbd"} 
[2026-07-07 18:53:05] local.INFO: Extracted packet for processing {"connection_id":126761,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbd"} 
[2026-07-07 18:53:05] local.INFO: GPS Element Parsed {"raw_longitude":768484288,"raw_latitude":86264880,"longitude_deg":76.8484288,"latitude_deg":8.626488,"altitude":50,"angle":164,"satellites":44,"speed":52,"hex_longitude":"2dce23c0","hex_latitude":"05244c30","is_valid_coordinates":true} 
[2026-07-07 18:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558207488001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341746042322026496,"note":"Value kept but may cause issues"} 
[2026-07-07 18:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3596124280369059840,"note":"Value kept but may cause issues"} 
[2026-07-07 18:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783430505000,"timestamp_ms":1783430505000,"timestamp_seconds":1783430505,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbde228"} 
[2026-07-07 18:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 18:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558207488001,"66":27821,"99":206,"80":36352,"24":52,"16":341746042322026496,"45":-3596124280369059840},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,80,24,16,45]} 
[2026-07-07 18:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558207488001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:53:05] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-07 18:53:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341746042322026496,"km_value":341746042322026.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3596124280369059840,"description":"Unknown IO ID 45"} 
[2026-07-07 18:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558207488001,"power":27821,"unknown_99":206,"unknown_80":36352,"ignition":52,"odometer":null,"unknown_45":-3596124280369059840}} 
[2026-07-07 18:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":126761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:53:05] local.INFO: GPS data processed {"connection_id":126761,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:53:05] local.INFO: Acknowledgment sent {"connection_id":126761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:53:05] local.INFO: Packet analysis {"connection_id":126761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbe"} 
[2026-07-07 18:53:05] local.INFO: Extracted packet for processing {"connection_id":126761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbe"} 
[2026-07-07 18:53:05] local.INFO: GPS Element Parsed {"raw_longitude":768486400,"raw_latitude":86255592,"longitude_deg":76.84864,"latitude_deg":8.6255592,"altitude":50,"angle":170,"satellites":43,"speed":42,"hex_longitude":"2dce2c00","hex_latitude":"052427e8","is_valid_coordinates":true} 
[2026-07-07 18:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558209280001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341746506178494464,"note":"Value kept but may cause issues"} 
[2026-07-07 18:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3592816949395181568,"note":"Value kept but may cause issues"} 
[2026-07-07 18:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783430513000,"timestamp_ms":1783430513000,"timestamp_seconds":1783430513,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbe0168"} 
[2026-07-07 18:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 18:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558209280001,"66":27800,"99":206,"80":36352,"24":42,"16":341746506178494464,"45":-3592816949395181568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,80,24,16,45]} 
[2026-07-07 18:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558209280001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:53:05] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-07 18:53:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341746506178494464,"km_value":341746506178494.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3592816949395181568,"description":"Unknown IO ID 45"} 
[2026-07-07 18:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558209280001,"power":27800,"unknown_99":206,"unknown_80":36352,"ignition":42,"odometer":null,"unknown_45":-3592816949395181568}} 
[2026-07-07 18:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":126761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:53:05] local.INFO: GPS data processed {"connection_id":126761,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:53:05] local.INFO: Acknowledgment sent {"connection_id":126761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:53:11] local.INFO: TCP Data received {"connection_id":126760,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbd0f38012d181f400721b200004e00dc26..."} 
[2026-07-07 18:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbd0f38012d181f400721b200004e00dc26..."} 
[2026-07-07 18:53:11] local.INFO: Processing buffer {"connection_id":126760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbd0f38012d181f400721b200004e00dc26..."} 
[2026-07-07 18:53:11] local.INFO: Packet analysis {"connection_id":126760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbd"} 
[2026-07-07 18:53:11] local.INFO: Extracted packet for processing {"connection_id":126760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbd"} 
[2026-07-07 18:53:11] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":78,"angle":220,"satellites":38,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-07-07 18:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558190080001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774255581462528,"note":"Value kept but may cause issues"} 
[2026-07-07 18:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-07-07 18:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783430451000,"timestamp_ms":1783430451000,"timestamp_seconds":1783430451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbd0f38"} 
[2026-07-07 18:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 18:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558190080001,"66":12504,"120":206,"28":31744,"24":0,"16":4774255581462528,"45":1738178380562563072},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558190080001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:53:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:53:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774255581462528,"km_value":4774255581462.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-07-07 18:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558190080001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-07-07 18:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":126760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:53:11] local.INFO: GPS data processed {"connection_id":126760,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:53:11] local.INFO: Acknowledgment sent {"connection_id":126760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:53:33] local.INFO: TCP Data received {"connection_id":124696,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:53:33] local.INFO: Processing buffer {"connection_id":124696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:53:33] local.INFO: IMEI packet received {"connection_id":124696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":124696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:53:36] local.INFO: TCP Data received {"connection_id":124696,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:53:36] local.INFO: Processing buffer {"connection_id":124696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:53:36] local.INFO: IMEI packet received {"connection_id":124696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":124696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:53:36] local.INFO: TCP Data received {"connection_id":126761,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbe2490012dce308005240508003100ad2c..."} 
[2026-07-07 18:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbe2490012dce308005240508003100ad2c..."} 
[2026-07-07 18:53:36] local.INFO: Processing buffer {"connection_id":126761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbe2490012dce308005240508003100ad2c..."} 
[2026-07-07 18:53:36] local.INFO: Packet analysis {"connection_id":126761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbe"} 
[2026-07-07 18:53:36] local.INFO: Extracted packet for processing {"connection_id":126761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbe"} 
[2026-07-07 18:53:36] local.INFO: GPS Element Parsed {"raw_longitude":768487552,"raw_latitude":86246664,"longitude_deg":76.8487552,"latitude_deg":8.6246664,"altitude":49,"angle":173,"satellites":44,"speed":29,"hex_longitude":"2dce3080","hex_latitude":"05240508","is_valid_coordinates":true} 
[2026-07-07 18:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558211328001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341746944265158656,"note":"Value kept but may cause issues"} 
[2026-07-07 18:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3590494780839696384,"note":"Value kept but may cause issues"} 
[2026-07-07 18:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783430522000,"timestamp_ms":1783430522000,"timestamp_seconds":1783430522,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbe2490"} 
[2026-07-07 18:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 18:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558211328001,"66":27745,"191":206,"80":36352,"24":29,"16":341746944265158656,"45":-3590494780839696384},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,80,24,16,45]} 
[2026-07-07 18:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558211328001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:53:36] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-07-07 18:53:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341746944265158656,"km_value":341746944265158.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3590494780839696384,"description":"Unknown IO ID 45"} 
[2026-07-07 18:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558211328001,"power":27745,"unknown_191":206,"unknown_80":36352,"ignition":29,"odometer":null,"unknown_45":-3590494780839696384}} 
[2026-07-07 18:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":126761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:53:36] local.INFO: GPS data processed {"connection_id":126761,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:53:36] local.INFO: Acknowledgment sent {"connection_id":126761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:53:38] local.INFO: TCP Data received {"connection_id":124696,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:53:38] local.INFO: Processing buffer {"connection_id":124696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:53:38] local.INFO: IMEI packet received {"connection_id":124696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":124696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:53:39] local.INFO: TCP Data received {"connection_id":124696,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbd6140012d181f400721b200004e00dc2b..."} 
[2026-07-07 18:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbd6140012d181f400721b200004e00dc2b..."} 
[2026-07-07 18:53:39] local.INFO: Processing buffer {"connection_id":124696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbd6140012d181f400721b200004e00dc2b..."} 
[2026-07-07 18:53:39] local.INFO: Packet analysis {"connection_id":124696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbd"} 
[2026-07-07 18:53:39] local.INFO: Extracted packet for processing {"connection_id":124696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbd"} 
[2026-07-07 18:53:39] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":78,"angle":220,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-07-07 18:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558195456001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774255581462528,"note":"Value kept but may cause issues"} 
[2026-07-07 18:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-07-07 18:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783430472000,"timestamp_ms":1783430472000,"timestamp_seconds":1783430472,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbd6140"} 
[2026-07-07 18:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:53: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-07-07 18:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 18:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558195456001,"66":12504,"120":206,"28":31744,"24":0,"16":4774255581462528,"45":1738178380562563072},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558195456001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:53:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:53:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774255581462528,"km_value":4774255581462.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-07-07 18:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558195456001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-07-07 18:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":124696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:53:39] local.INFO: GPS data processed {"connection_id":124696,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:53:39] local.INFO: Acknowledgment sent {"connection_id":124696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:53:58] local.INFO: TCP Data received {"connection_id":126763,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:53:58] local.INFO: Processing buffer {"connection_id":126763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:53:58] local.INFO: IMEI packet received {"connection_id":126763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":126763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:53:58] local.INFO: TCP Data received {"connection_id":126763,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:53:58] local.INFO: Processing buffer {"connection_id":126763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:53:58] local.INFO: IMEI packet received {"connection_id":126763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":126763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:54:03] local.INFO: TCP Data received {"connection_id":126763,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:54:03] local.INFO: Processing buffer {"connection_id":126763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:54:03] local.INFO: IMEI packet received {"connection_id":126763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":126763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:54:04] local.INFO: TCP Data received {"connection_id":126763,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbe6ae0012dce32c00523ede0002f00b92f..."} 
[2026-07-07 18:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbe6ae0012dce32c00523ede0002f00b92f..."} 
[2026-07-07 18:54:04] local.INFO: Processing buffer {"connection_id":126763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbe6ae0012dce32c00523ede0002f00b92f..."} 
[2026-07-07 18:54:04] local.INFO: Packet analysis {"connection_id":126763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbe"} 
[2026-07-07 18:54:04] local.INFO: Extracted packet for processing {"connection_id":126763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbe"} 
[2026-07-07 18:54:04] local.INFO: GPS Element Parsed {"raw_longitude":768488128,"raw_latitude":86240736,"longitude_deg":76.8488128,"latitude_deg":8.6240736,"altitude":47,"angle":185,"satellites":47,"speed":19,"hex_longitude":"2dce32c0","hex_latitude":"0523ede0","is_valid_coordinates":true} 
[2026-07-07 18:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558213632001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341747232027967488,"note":"Value kept but may cause issues"} 
[2026-07-07 18:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3589228143446784000,"note":"Value kept but may cause issues"} 
[2026-07-07 18:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783430540000,"timestamp_ms":1783430540000,"timestamp_seconds":1783430540,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbe6ae0"} 
[2026-07-07 18:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 18:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558213632001,"66":27767,"171":206,"80":36352,"24":19,"16":341747232027967488,"45":-3589228143446784000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,80,24,16,45]} 
[2026-07-07 18:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558213632001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:54:04] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-07 18:54:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341747232027967488,"km_value":341747232027967.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3589228143446784000,"description":"Unknown IO ID 45"} 
[2026-07-07 18:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558213632001,"power":27767,"unknown_171":206,"unknown_80":36352,"ignition":19,"odometer":null,"unknown_45":-3589228143446784000}} 
[2026-07-07 18:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":126763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:54:04] local.INFO: GPS data processed {"connection_id":126763,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:54:04] local.INFO: Acknowledgment sent {"connection_id":126763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:54:10] local.INFO: TCP Data received {"connection_id":124696,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbdb348012d181f400721b200004e00dc29..."} 
[2026-07-07 18:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbdb348012d181f400721b200004e00dc29..."} 
[2026-07-07 18:54:10] local.INFO: Processing buffer {"connection_id":124696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbdb348012d181f400721b200004e00dc29..."} 
[2026-07-07 18:54:10] local.INFO: Packet analysis {"connection_id":124696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbd"} 
[2026-07-07 18:54:10] local.INFO: Extracted packet for processing {"connection_id":124696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbd"} 
[2026-07-07 18:54:10] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":78,"angle":220,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-07-07 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-07-07 18:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558200832001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774255581462528,"note":"Value kept but may cause issues"} 
[2026-07-07 18:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-07-07 18:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783430493000,"timestamp_ms":1783430493000,"timestamp_seconds":1783430493,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbdb348"} 
[2026-07-07 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-07-07 18:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":216,"data_length":795,"current_offset":136} 
[2026-07-07 18:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 18:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558200832001,"66":12504,"120":206,"28":31744,"24":0,"16":4774255581462528,"45":1738178380562563072},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558200832001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:54:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:54:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774255581462528,"km_value":4774255581462.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-07-07 18:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558200832001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-07-07 18:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":124696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:54:11] local.INFO: GPS data processed {"connection_id":124696,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:54:11] local.INFO: Acknowledgment sent {"connection_id":124696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:54:23] local.INFO: TCP Data received {"connection_id":124793,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:54:23] local.INFO: Processing buffer {"connection_id":124793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:54:23] local.INFO: IMEI packet received {"connection_id":124793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 18:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":124793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:54:33] local.INFO: TCP Data received {"connection_id":124794,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:54:33] local.INFO: Processing buffer {"connection_id":124794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:54:33] local.INFO: IMEI packet received {"connection_id":124794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":124794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:54:35] local.INFO: TCP Data received {"connection_id":126763,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbf93c0012dce8c000522c1f80015008c30..."} 
[2026-07-07 18:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbf93c0012dce8c000522c1f80015008c30..."} 
[2026-07-07 18:54:35] local.INFO: Processing buffer {"connection_id":126763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbf93c0012dce8c000522c1f80015008c30..."} 
[2026-07-07 18:54:35] local.INFO: Packet analysis {"connection_id":126763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbf"} 
[2026-07-07 18:54:35] local.INFO: Extracted packet for processing {"connection_id":126763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbf"} 
[2026-07-07 18:54:35] local.INFO: GPS Element Parsed {"raw_longitude":768510976,"raw_latitude":86163960,"longitude_deg":76.8510976,"latitude_deg":8.616396,"altitude":21,"angle":140,"satellites":48,"speed":58,"hex_longitude":"2dce8c00","hex_latitude":"0522c1f8","is_valid_coordinates":true} 
[2026-07-07 18:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558235904001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341751187692847104,"note":"Value kept but may cause issues"} 
[2026-07-07 18:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3569947107561218048,"note":"Value kept but may cause issues"} 
[2026-07-07 18:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783430616000,"timestamp_ms":1783430616000,"timestamp_seconds":1783430616,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbf93c0"} 
[2026-07-07 18:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:54: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-07-07 18:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 18:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558235904001,"66":27767,"172":206,"80":36352,"24":58,"16":341751187692847104,"45":-3569947107561218048},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,80,24,16,45]} 
[2026-07-07 18:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558235904001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:54:35] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-07 18:54:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341751187692847104,"km_value":341751187692847.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3569947107561218048,"description":"Unknown IO ID 45"} 
[2026-07-07 18:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558235904001,"power":27767,"unknown_172":206,"unknown_80":36352,"ignition":58,"odometer":null,"unknown_45":-3569947107561218048}} 
[2026-07-07 18:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":126763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:54:35] local.INFO: GPS data processed {"connection_id":126763,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:54:35] local.INFO: Acknowledgment sent {"connection_id":126763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:54:38] local.INFO: TCP Data received {"connection_id":124794,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:54:38] local.INFO: Processing buffer {"connection_id":124794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:54:38] local.INFO: IMEI packet received {"connection_id":124794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":124794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:54:40] local.INFO: TCP Data received {"connection_id":124794,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbe0550012d181f400721b200004e00dc29..."} 
[2026-07-07 18:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbe0550012d181f400721b200004e00dc29..."} 
[2026-07-07 18:54:40] local.INFO: Processing buffer {"connection_id":124794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbe0550012d181f400721b200004e00dc29..."} 
[2026-07-07 18:54:40] local.INFO: Packet analysis {"connection_id":124794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbe"} 
[2026-07-07 18:54:40] local.INFO: Extracted packet for processing {"connection_id":124794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbe"} 
[2026-07-07 18:54:40] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":78,"angle":220,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-07-07 18:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558206208001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774255581462528,"note":"Value kept but may cause issues"} 
[2026-07-07 18:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-07-07 18:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783430514000,"timestamp_ms":1783430514000,"timestamp_seconds":1783430514,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbe0550"} 
[2026-07-07 18:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":216,"data_length":795,"current_offset":136} 
[2026-07-07 18:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558206208001,"66":12461,"120":206,"28":31744,"24":0,"16":4774255581462528,"45":1738178380562563072},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558206208001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:54:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:54:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774255581462528,"km_value":4774255581462.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-07-07 18:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558206208001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-07-07 18:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":124794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:54:40] local.INFO: GPS data processed {"connection_id":124794,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:54:40] local.INFO: Acknowledgment sent {"connection_id":124794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:54:52] local.INFO: TCP Data received {"connection_id":124697,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:54:52] local.INFO: Processing buffer {"connection_id":124697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:54:52] local.INFO: IMEI packet received {"connection_id":124697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":124697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:54:52] local.INFO: TCP Data received {"connection_id":124697,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:54:52] local.INFO: Processing buffer {"connection_id":124697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:54:52] local.INFO: IMEI packet received {"connection_id":124697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":124697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:54:53] local.INFO: TCP Data received {"connection_id":124697,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:54:53] local.INFO: Processing buffer {"connection_id":124697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:54:53] local.INFO: IMEI packet received {"connection_id":124697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":124697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:54:57] local.INFO: TCP Data received {"connection_id":124697,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:54:57] local.INFO: Processing buffer {"connection_id":124697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:54:57] local.INFO: IMEI packet received {"connection_id":124697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":124697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:54:58] local.INFO: TCP Data received {"connection_id":124795,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:54:58] local.INFO: Processing buffer {"connection_id":124795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 18:54:58] local.INFO: IMEI packet received {"connection_id":124795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 18:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":124795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:54:58] local.INFO: TCP Data received {"connection_id":124697,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc0a148012d7e338005d34d58000700532c..."} 
[2026-07-07 18:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc0a148012d7e338005d34d58000700532c..."} 
[2026-07-07 18:54:58] local.INFO: Processing buffer {"connection_id":124697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc0a148012d7e338005d34d58000700532c..."} 
[2026-07-07 18:54:58] local.INFO: Packet analysis {"connection_id":124697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc0"} 
[2026-07-07 18:54:58] local.INFO: Extracted packet for processing {"connection_id":124697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc0"} 
[2026-07-07 18:54:58] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":44,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 18:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558255360001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783430685000,"timestamp_ms":1783430685000,"timestamp_seconds":1783430685,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc0a148"} 
[2026-07-07 18:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-07 18:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":124697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":124697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":124697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558255360001,"66":12232,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558255360001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:54:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:54:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 18:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558255360001,"power":12232,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 18:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":124697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:54:59] local.INFO: GPS data processed {"connection_id":124697,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:54:59] local.INFO: Acknowledgment sent {"connection_id":124697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:55:03] local.INFO: TCP Data received {"connection_id":125501,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:55:03] local.INFO: Processing buffer {"connection_id":125501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:55:03] local.INFO: IMEI packet received {"connection_id":125501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":125501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:55:06] local.INFO: TCP Data received {"connection_id":125501,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:55:06] local.INFO: Processing buffer {"connection_id":125501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:55:06] local.INFO: IMEI packet received {"connection_id":125501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":125501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:55:07] local.INFO: TCP Data received {"connection_id":125501,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbfab30012dcea1800522a6800013008e2f..."} 
[2026-07-07 18:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbfab30012dcea1800522a6800013008e2f..."} 
[2026-07-07 18:55:07] local.INFO: Processing buffer {"connection_id":125501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbfab30012dcea1800522a6800013008e2f..."} 
[2026-07-07 18:55:07] local.INFO: Packet analysis {"connection_id":125501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbf"} 
[2026-07-07 18:55:07] local.INFO: Extracted packet for processing {"connection_id":125501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbf"} 
[2026-07-07 18:55:07] local.INFO: GPS Element Parsed {"raw_longitude":768516480,"raw_latitude":86156928,"longitude_deg":76.851648,"latitude_deg":8.6156928,"altitude":19,"angle":142,"satellites":47,"speed":60,"hex_longitude":"2dcea180","hex_latitude":"0522a680","is_valid_coordinates":true} 
[2026-07-07 18:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558237696001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341751617189576704,"note":"Value kept but may cause issues"} 
[2026-07-07 18:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3563473183098931200,"note":"Value kept but may cause issues"} 
[2026-07-07 18:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783430622000,"timestamp_ms":1783430622000,"timestamp_seconds":1783430622,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbfab30"} 
[2026-07-07 18:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:55: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-07-07 18:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 18:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558237696001,"66":27821,"172":206,"80":36352,"24":60,"16":341751617189576704,"45":-3563473183098931200},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,80,24,16,45]} 
[2026-07-07 18:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558237696001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:55:07] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-07 18:55:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341751617189576704,"km_value":341751617189576.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3563473183098931200,"description":"Unknown IO ID 45"} 
[2026-07-07 18:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558237696001,"power":27821,"unknown_172":206,"unknown_80":36352,"ignition":60,"odometer":null,"unknown_45":-3563473183098931200}} 
[2026-07-07 18:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":125501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:55:07] local.INFO: GPS data processed {"connection_id":125501,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:55:07] local.INFO: Acknowledgment sent {"connection_id":125501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:55:11] local.INFO: TCP Data received {"connection_id":124794,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbe5758012d181f400721b200004e00dc2b..."} 
[2026-07-07 18:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbe5758012d181f400721b200004e00dc2b..."} 
[2026-07-07 18:55:11] local.INFO: Processing buffer {"connection_id":124794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbe5758012d181f400721b200004e00dc2b..."} 
[2026-07-07 18:55:11] local.INFO: Packet analysis {"connection_id":124794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbe"} 
[2026-07-07 18:55:11] local.INFO: Extracted packet for processing {"connection_id":124794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbe"} 
[2026-07-07 18:55:11] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":78,"angle":220,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-07-07 18:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558211584001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774255581462528,"note":"Value kept but may cause issues"} 
[2026-07-07 18:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-07-07 18:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783430535000,"timestamp_ms":1783430535000,"timestamp_seconds":1783430535,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbe5758"} 
[2026-07-07 18:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 18:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558211584001,"66":12504,"120":206,"28":31744,"24":0,"16":4774255581462528,"45":1738178380562563072},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558211584001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:55:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:55:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774255581462528,"km_value":4774255581462.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-07-07 18:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558211584001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-07-07 18:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":124794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:55:11] local.INFO: GPS data processed {"connection_id":124794,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:55:11] local.INFO: Acknowledgment sent {"connection_id":124794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:55:33] local.INFO: TCP Data received {"connection_id":126764,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:55:33] local.INFO: Processing buffer {"connection_id":126764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:55:33] local.INFO: IMEI packet received {"connection_id":126764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":126764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:55:38] local.INFO: TCP Data received {"connection_id":124697,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc0b4d0012d7e338005d34d58000700532b..."} 
[2026-07-07 18:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc0b4d0012d7e338005d34d58000700532b..."} 
[2026-07-07 18:55:38] local.INFO: Processing buffer {"connection_id":124697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc0b4d0012d7e338005d34d58000700532b..."} 
[2026-07-07 18:55:38] local.INFO: Packet analysis {"connection_id":124697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc0"} 
[2026-07-07 18:55:38] local.INFO: Extracted packet for processing {"connection_id":124697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc0"} 
[2026-07-07 18:55:38] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 18:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558255360001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783430690000,"timestamp_ms":1783430690000,"timestamp_seconds":1783430690,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc0b4d0"} 
[2026-07-07 18:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18: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-07-07 18: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":200,"data_length":795,"current_offset":136} 
[2026-07-07 18:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558255360001,"66":12298,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558255360001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:55:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:55:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 18:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558255360001,"power":12298,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 18:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":124697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:55:38] local.INFO: GPS data processed {"connection_id":124697,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:55:38] local.INFO: Acknowledgment sent {"connection_id":124697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:55:38] local.INFO: TCP Data received {"connection_id":125501,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbfc688012dceb70005228a200010008e2f..."} 
[2026-07-07 18:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbfc688012dceb70005228a200010008e2f..."} 
[2026-07-07 18:55:38] local.INFO: Processing buffer {"connection_id":125501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbfc688012dceb70005228a200010008e2f..."} 
[2026-07-07 18:55:38] local.INFO: Packet analysis {"connection_id":125501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbf"} 
[2026-07-07 18:55:38] local.INFO: Extracted packet for processing {"connection_id":125501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbf"} 
[2026-07-07 18:55:38] local.INFO: GPS Element Parsed {"raw_longitude":768521984,"raw_latitude":86149664,"longitude_deg":76.8521984,"latitude_deg":8.6149664,"altitude":16,"angle":142,"satellites":47,"speed":43,"hex_longitude":"2dceb700","hex_latitude":"05228a20","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558239232001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341752055276240896,"note":"Value kept but may cause issues"} 
[2026-07-07 18:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3557421471101452288,"note":"Value kept but may cause issues"} 
[2026-07-07 18:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783430629000,"timestamp_ms":1783430629000,"timestamp_seconds":1783430629,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbfc688"} 
[2026-07-07 18:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 18:55: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-07-07 18: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-07-07 18:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558239232001,"66":27691,"172":206,"80":36352,"24":43,"16":341752055276240896,"45":-3557421471101452288},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,80,24,16,45]} 
[2026-07-07 18:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558239232001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:55:38] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-07 18:55:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341752055276240896,"km_value":341752055276240.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3557421471101452288,"description":"Unknown IO ID 45"} 
[2026-07-07 18:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558239232001,"power":27691,"unknown_172":206,"unknown_80":36352,"ignition":43,"odometer":null,"unknown_45":-3557421471101452288}} 
[2026-07-07 18:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":125501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:55:38] local.INFO: GPS data processed {"connection_id":125501,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:55:38] local.INFO: Acknowledgment sent {"connection_id":125501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:55:38] local.INFO: TCP Data received {"connection_id":126764,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:55:38] local.INFO: Processing buffer {"connection_id":126764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:55:38] local.INFO: IMEI packet received {"connection_id":126764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":126764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:55:39] local.INFO: TCP Data received {"connection_id":126764,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbea960012d181f400721b200004e00dc2a..."} 
[2026-07-07 18:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbea960012d181f400721b200004e00dc2a..."} 
[2026-07-07 18:55:39] local.INFO: Processing buffer {"connection_id":126764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbea960012d181f400721b200004e00dc2a..."} 
[2026-07-07 18:55:39] local.INFO: Packet analysis {"connection_id":126764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbe"} 
[2026-07-07 18:55:39] local.INFO: Extracted packet for processing {"connection_id":126764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbe"} 
[2026-07-07 18:55:39] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":78,"angle":220,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-07-07 18:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558216960001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774255581462528,"note":"Value kept but may cause issues"} 
[2026-07-07 18:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-07-07 18:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783430556000,"timestamp_ms":1783430556000,"timestamp_seconds":1783430556,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbea960"} 
[2026-07-07 18:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:55: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-07-07 18:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 18:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558216960001,"66":12461,"120":206,"28":31744,"24":0,"16":4774255581462528,"45":1738178380562563072},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558216960001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:55:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:55:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774255581462528,"km_value":4774255581462.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-07-07 18:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558216960001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-07-07 18:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":126764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:55:40] local.INFO: GPS data processed {"connection_id":126764,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:55:40] local.INFO: Acknowledgment sent {"connection_id":126764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:56:03] local.INFO: TCP Data received {"connection_id":126765,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:56:03] local.INFO: Processing buffer {"connection_id":126765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:56:03] local.INFO: IMEI packet received {"connection_id":126765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":126765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:56:03] local.INFO: TCP Data received {"connection_id":125502,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:56:03] local.INFO: Processing buffer {"connection_id":125502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:56:03] local.INFO: IMEI packet received {"connection_id":125502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":125502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:56:08] local.INFO: TCP Data received {"connection_id":126765,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:56:08] local.INFO: Processing buffer {"connection_id":126765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:56:08] local.INFO: IMEI packet received {"connection_id":126765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":126765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:56:08] local.INFO: TCP Data received {"connection_id":126765,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc0b4d0012d7e338005d34d58000700532b..."} 
[2026-07-07 18:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc0b4d0012d7e338005d34d58000700532b..."} 
[2026-07-07 18:56:08] local.INFO: Processing buffer {"connection_id":126765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc0b4d0012d7e338005d34d58000700532b..."} 
[2026-07-07 18:56:08] local.INFO: Packet analysis {"connection_id":126765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc0"} 
[2026-07-07 18:56:08] local.INFO: Extracted packet for processing {"connection_id":126765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc0"} 
[2026-07-07 18:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 18:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558256640001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783430690000,"timestamp_ms":1783430690000,"timestamp_seconds":1783430690,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc0b4d0"} 
[2026-07-07 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-07-07 18:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 18:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":26388279067136,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3221302654,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:08] local.WARNING: Large IO value detected {"io_id":183,"raw_value":7782220156096217089,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4377457125101502003,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:08] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419764230628507731,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":23411901090242304,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055377,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:08] local.WARNING: Large IO value detected {"io_id":66,"raw_value":667659525225971918,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:08] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3223859201,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:08] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147865421,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:08] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3077308416,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545061376,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:08] local.WARNING: Large IO value detected {"io_id":43,"raw_value":283468496900,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:08] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,109,85,24,241,157,16,183,159,161,45,128,77,7,44,10,66,40,240,75,60,211,4,113,205,51,88,239,1,9,2,111,5,43],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[]} 
[2026-07-07 18:56:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504494602414194719,"timestamp_seconds":504494602414194.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 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-07-07 18:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558256640001,"66":12298,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 18:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558256640001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:56:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 18:56:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 18:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558256640001,"power":12298,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 18:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":126765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:56:08] local.INFO: GPS data processed {"connection_id":126765,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:56:08] local.INFO: Acknowledgment sent {"connection_id":126765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:56:08] local.INFO: TCP Data received {"connection_id":125502,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:56:08] local.INFO: Processing buffer {"connection_id":125502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:56:08] local.INFO: IMEI packet received {"connection_id":125502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":125502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:56:09] local.INFO: TCP Data received {"connection_id":125502,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbfed98012dcecdc005226f38000d00912c..."} 
[2026-07-07 18:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbfed98012dcecdc005226f38000d00912c..."} 
[2026-07-07 18:56:09] local.INFO: Processing buffer {"connection_id":125502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbfed98012dcecdc005226f38000d00912c..."} 
[2026-07-07 18:56:09] local.INFO: Packet analysis {"connection_id":125502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbf"} 
[2026-07-07 18:56:09] local.INFO: Extracted packet for processing {"connection_id":125502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbf"} 
[2026-07-07 18:56:09] local.INFO: GPS Element Parsed {"raw_longitude":768527808,"raw_latitude":86142776,"longitude_deg":76.8527808,"latitude_deg":8.6142776,"altitude":13,"angle":145,"satellites":44,"speed":32,"hex_longitude":"2dcecdc0","hex_latitude":"05226f38","is_valid_coordinates":true} 
[2026-07-07 18:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558241024001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341752493362905088,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3551369759104032768,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783430639000,"timestamp_ms":1783430639000,"timestamp_seconds":1783430639,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbfed98"} 
[2026-07-07 18:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-07 18:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558241024001,"66":27745,"172":206,"80":36352,"24":32,"16":341752493362905088,"45":-3551369759104032768},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,80,24,16,45]} 
[2026-07-07 18:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558241024001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:56:09] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-07 18:56:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341752493362905088,"km_value":341752493362905.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3551369759104032768,"description":"Unknown IO ID 45"} 
[2026-07-07 18:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558241024001,"power":27745,"unknown_172":206,"unknown_80":36352,"ignition":32,"odometer":null,"unknown_45":-3551369759104032768}} 
[2026-07-07 18:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":125502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:56:09] local.INFO: GPS data processed {"connection_id":125502,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:56:09] local.INFO: Acknowledgment sent {"connection_id":125502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:56:11] local.INFO: TCP Data received {"connection_id":126764,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbefb68012d181f400721b200004e00dc29..."} 
[2026-07-07 18:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbefb68012d181f400721b200004e00dc29..."} 
[2026-07-07 18:56:11] local.INFO: Processing buffer {"connection_id":126764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbefb68012d181f400721b200004e00dc29..."} 
[2026-07-07 18:56:11] local.INFO: Packet analysis {"connection_id":126764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbe"} 
[2026-07-07 18:56:11] local.INFO: Extracted packet for processing {"connection_id":126764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbe"} 
[2026-07-07 18:56:11] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":78,"angle":220,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-07-07 18:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558222336001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774255581462528,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783430577000,"timestamp_ms":1783430577000,"timestamp_seconds":1783430577,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbefb68"} 
[2026-07-07 18:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 18:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558222336001,"66":11830,"120":206,"28":31744,"24":0,"16":4774255581462528,"45":1738178380562563072},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558222336001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:56:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:56:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774255581462528,"km_value":4774255581462.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-07-07 18:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558222336001,"power":11830,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-07-07 18:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":126764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:56:11] local.INFO: GPS data processed {"connection_id":126764,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:56:11] local.INFO: Acknowledgment sent {"connection_id":126764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:56:38] local.INFO: TCP Data received {"connection_id":124798,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:56:38] local.INFO: Processing buffer {"connection_id":124798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:56:38] local.INFO: IMEI packet received {"connection_id":124798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":124798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:56:39] local.INFO: TCP Data received {"connection_id":126765,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc11a60012d7e338005d34d58000700532b..."} 
[2026-07-07 18:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc11a60012d7e338005d34d58000700532b..."} 
[2026-07-07 18:56:39] local.INFO: Processing buffer {"connection_id":126765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc11a60012d7e338005d34d58000700532b..."} 
[2026-07-07 18:56:39] local.INFO: Packet analysis {"connection_id":126765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc1"} 
[2026-07-07 18:56:39] local.INFO: Extracted packet for processing {"connection_id":126765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc1"} 
[2026-07-07 18:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 18:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558256640001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783430716000,"timestamp_ms":1783430716000,"timestamp_seconds":1783430716,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc11a60"} 
[2026-07-07 18:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 18:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":26388279067136,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:39] local.WARNING: Large IO value detected {"io_id":183,"raw_value":7782220156096217089,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4377517254643646003,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":133144641540,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:39] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419764230628507731,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:39] local.WARNING: Large IO value detected {"io_id":7,"raw_value":23411901090251264,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055377,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":667659525225971918,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13454701,"corrected_to":0} 
[2026-07-07 18:56:39] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3223859201,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:39] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147865421,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:39] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3077308416,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545061376,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:39] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,183,159,180,45,128,77,7,43,10,66,161,44,240,200,60,211,4,113,205,40,51,88,239,1,48,2,111,5],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":200,"original":13454701,"validated":0}]} 
[2026-07-07 18:56:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504494602414194754,"timestamp_seconds":504494602414194.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 18:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558256640001,"66":2253,"115":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-07 18:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558256640001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:56:39] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 18:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 18:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558256640001,"power":2253,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 18:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":126765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:56:39] local.INFO: GPS data processed {"connection_id":126765,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:56:39] local.INFO: Acknowledgment sent {"connection_id":126765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:56:40] local.INFO: TCP Data received {"connection_id":125502,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc014a8012dcee44005224f98000d008e2f..."} 
[2026-07-07 18:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc014a8012dcee44005224f98000d008e2f..."} 
[2026-07-07 18:56:40] local.INFO: Processing buffer {"connection_id":125502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc014a8012dcee44005224f98000d008e2f..."} 
[2026-07-07 18:56:40] local.INFO: Packet analysis {"connection_id":125502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc0"} 
[2026-07-07 18:56:40] local.INFO: Extracted packet for processing {"connection_id":125502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc0"} 
[2026-07-07 18:56:40] local.INFO: GPS Element Parsed {"raw_longitude":768533568,"raw_latitude":86134680,"longitude_deg":76.8533568,"latitude_deg":8.613468,"altitude":13,"angle":142,"satellites":47,"speed":43,"hex_longitude":"2dcee440","hex_latitude":"05224f98","is_valid_coordinates":true} 
[2026-07-07 18:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558243584001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341752974399242240,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3544966203385628672,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783430649000,"timestamp_ms":1783430649000,"timestamp_seconds":1783430649,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc014a8"} 
[2026-07-07 18:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:56: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-07-07 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 18:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:56: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-07-07 18:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558243584001,"66":27767,"172":206,"80":36352,"24":43,"16":341752974399242240,"45":-3544966203385628672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,80,24,16,45]} 
[2026-07-07 18:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558243584001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:56:40] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-07 18:56:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 18:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341752974399242240,"km_value":341752974399242.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3544966203385628672,"description":"Unknown IO ID 45"} 
[2026-07-07 18:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558243584001,"power":27767,"unknown_172":206,"unknown_80":36352,"ignition":43,"odometer":null,"unknown_45":-3544966203385628672}} 
[2026-07-07 18:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":125502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:56:40] local.INFO: GPS data processed {"connection_id":125502,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:56:40] local.INFO: Acknowledgment sent {"connection_id":125502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:56:44] local.INFO: TCP Data received {"connection_id":124798,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:56:44] local.INFO: Processing buffer {"connection_id":124798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:56:44] local.INFO: IMEI packet received {"connection_id":124798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":124798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:56:45] local.INFO: TCP Data received {"connection_id":124798,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbf4d70012d181f400721b200004e00dc29..."} 
[2026-07-07 18:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbf4d70012d181f400721b200004e00dc29..."} 
[2026-07-07 18:56:45] local.INFO: Processing buffer {"connection_id":124798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbf4d70012d181f400721b200004e00dc29..."} 
[2026-07-07 18:56:45] local.INFO: Packet analysis {"connection_id":124798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbf"} 
[2026-07-07 18:56:45] local.INFO: Extracted packet for processing {"connection_id":124798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbf"} 
[2026-07-07 18:56:45] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":78,"angle":220,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-07-07 18:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558227712001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774255581462528,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783430598000,"timestamp_ms":1783430598000,"timestamp_seconds":1783430598,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbf4d70"} 
[2026-07-07 18:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-07-07 18:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558227712001,"66":12461,"120":206,"28":31744,"24":0,"16":4774255581462528,"45":1738178380562563072},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558227712001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:56:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:56:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774255581462528,"km_value":4774255581462.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-07-07 18:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558227712001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-07-07 18:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":124798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:56:45] local.INFO: GPS data processed {"connection_id":124798,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:56:45] local.INFO: Acknowledgment sent {"connection_id":124798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:56:46] local.INFO: TCP Data received {"connection_id":124798,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cbfa360012d181f400721b200004e00dc28..."} 
[2026-07-07 18:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cbfa360012d181f400721b200004e00dc28..."} 
[2026-07-07 18:56:46] local.INFO: Processing buffer {"connection_id":124798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cbfa360012d181f400721b200004e00dc28..."} 
[2026-07-07 18:56:46] local.INFO: Packet analysis {"connection_id":124798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cbf"} 
[2026-07-07 18:56:46] local.INFO: Extracted packet for processing {"connection_id":124798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cbf"} 
[2026-07-07 18:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":78,"angle":220,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-07-07 18:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558233088001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774255581462528,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-07-07 18:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783430620000,"timestamp_ms":1783430620000,"timestamp_seconds":1783430620,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cbfa360"} 
[2026-07-07 18:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 18:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558233088001,"66":11906,"120":206,"28":31744,"24":0,"16":4774255581462528,"45":1738178380562563072},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558233088001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:56:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:56:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774255581462528,"km_value":4774255581462.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-07-07 18:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558233088001,"power":11906,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-07-07 18:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":124798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:56:46] local.INFO: GPS data processed {"connection_id":124798,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:56:46] local.INFO: Acknowledgment sent {"connection_id":124798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:56:59] local.INFO: TCP Data received {"connection_id":126766,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:56:59] local.INFO: Processing buffer {"connection_id":126766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:56:59] local.INFO: IMEI packet received {"connection_id":126766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":126766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:56:59] local.INFO: TCP Data received {"connection_id":126766,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:56:59] local.INFO: Processing buffer {"connection_id":126766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:56:59] local.INFO: IMEI packet received {"connection_id":126766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":126766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:57:00] local.INFO: TCP Data received {"connection_id":126766,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:57:00] local.INFO: Processing buffer {"connection_id":126766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:57:00] local.INFO: IMEI packet received {"connection_id":126766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":126766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:57:03] local.INFO: TCP Data received {"connection_id":124800,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:57:03] local.INFO: Processing buffer {"connection_id":124800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:57:03] local.INFO: IMEI packet received {"connection_id":124800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":124800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:57:03] local.INFO: TCP Data received {"connection_id":126766,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:57:03] local.INFO: Processing buffer {"connection_id":126766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:57:03] local.INFO: IMEI packet received {"connection_id":126766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":126766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:57:04] local.INFO: TCP Data received {"connection_id":126766,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc1f908012dcf704005214630002300af30..."} 
[2026-07-07 18:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc1f908012dcf704005214630002300af30..."} 
[2026-07-07 18:57:04] local.INFO: Processing buffer {"connection_id":126766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc1f908012dcf704005214630002300af30..."} 
[2026-07-07 18:57:04] local.INFO: Packet analysis {"connection_id":126766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc1"} 
[2026-07-07 18:57:04] local.INFO: Extracted packet for processing {"connection_id":126766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc1"} 
[2026-07-07 18:57:04] local.INFO: GPS Element Parsed {"raw_longitude":768569408,"raw_latitude":86066736,"longitude_deg":76.8569408,"latitude_deg":8.6066736,"altitude":35,"angle":175,"satellites":48,"speed":13,"hex_longitude":"2dcf7040","hex_latitude":"05214630","is_valid_coordinates":true} 
[2026-07-07 18:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558274560001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341756857049677824,"note":"Value kept but may cause issues"} 
[2026-07-07 18:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3497889513548541952,"note":"Value kept but may cause issues"} 
[2026-07-07 18:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783430773000,"timestamp_ms":1783430773000,"timestamp_seconds":1783430773,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc1f908"} 
[2026-07-07 18:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-07 18:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558274560001,"66":27745,"167":206,"80":34816,"24":13,"16":341756857049677824,"45":-3497889513548541952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-07-07 18:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558274560001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:57:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 18:57:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 18:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341756857049677824,"km_value":341756857049677.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3497889513548541952,"description":"Unknown IO ID 45"} 
[2026-07-07 18:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558274560001,"power":27745,"unknown_167":206,"unknown_80":34816,"ignition":13,"odometer":null,"unknown_45":-3497889513548541952}} 
[2026-07-07 18:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":126766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:57:04] local.INFO: GPS data processed {"connection_id":126766,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:57:04] local.INFO: Acknowledgment sent {"connection_id":126766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:57:08] local.INFO: TCP Data received {"connection_id":124800,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:57:08] local.INFO: Processing buffer {"connection_id":124800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:57:08] local.INFO: IMEI packet received {"connection_id":124800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":124800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:57:11] local.INFO: TCP Data received {"connection_id":124800,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc11a60012d7e338005d34d58000700532b..."} 
[2026-07-07 18:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc11a60012d7e338005d34d58000700532b..."} 
[2026-07-07 18:57:11] local.INFO: Processing buffer {"connection_id":124800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc11a60012d7e338005d34d58000700532b..."} 
[2026-07-07 18:57:11] local.INFO: Packet analysis {"connection_id":124800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc1"} 
[2026-07-07 18:57:11] local.INFO: Extracted packet for processing {"connection_id":124800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc1"} 
[2026-07-07 18:57:11] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 18:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558263296001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783430716000,"timestamp_ms":1783430716000,"timestamp_seconds":1783430716,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc11a60"} 
[2026-07-07 18:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:57: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-07-07 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 18:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558263296001,"66":2253,"115":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-07 18:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558263296001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:57:11] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 18:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 18:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558263296001,"power":2253,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 18:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":124800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:57:11] local.INFO: GPS data processed {"connection_id":124800,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:57:11] local.INFO: Acknowledgment sent {"connection_id":124800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:57:18] local.INFO: TCP Data received {"connection_id":124798,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc21460012d1821000721a6080050007e2a..."} 
[2026-07-07 18:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc21460012d1821000721a6080050007e2a..."} 
[2026-07-07 18:57:18] local.INFO: Processing buffer {"connection_id":124798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc21460012d1821000721a6080050007e2a..."} 
[2026-07-07 18:57:18] local.INFO: Packet analysis {"connection_id":124798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc2"} 
[2026-07-07 18:57:18] local.INFO: Extracted packet for processing {"connection_id":124798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc2"} 
[2026-07-07 18:57:18] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119645704,"longitude_deg":75.6556032,"latitude_deg":11.9645704,"altitude":80,"angle":126,"satellites":42,"speed":11,"hex_longitude":"2d182100","hex_latitude":"0721a608","is_valid_coordinates":true} 
[2026-07-07 18:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558278656001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774427380154368,"note":"Value kept but may cause issues"} 
[2026-07-07 18:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585223680,"note":"Value kept but may cause issues"} 
[2026-07-07 18:57: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-07-07 18:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783430780000,"timestamp_ms":1783430780000,"timestamp_seconds":1783430780,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc21460"} 
[2026-07-07 18:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-07 18:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 18:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 18:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 18:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558278656001,"66":14135,"120":206,"28":31744,"24":11,"16":4774427380154368,"45":1737896905585223680},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-07 18:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 18:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 18:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558278656001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:57:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-07 18:57:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 18:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774427380154368,"km_value":4774427380154.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585223680,"description":"Unknown IO ID 45"} 
[2026-07-07 18:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558278656001,"power":14135,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1737896905585223680}} 
[2026-07-07 18:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":124798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:57:18] local.INFO: GPS data processed {"connection_id":124798,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:57:18] local.INFO: Acknowledgment sent {"connection_id":124798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:57:29] local.INFO: TCP Data received {"connection_id":125503,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:57:29] local.INFO: Processing buffer {"connection_id":125503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:57:29] local.INFO: IMEI packet received {"connection_id":125503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 18:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":125503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:57:30] local.INFO: TCP Data received {"connection_id":125503,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:57:30] local.INFO: Processing buffer {"connection_id":125503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:57:30] local.INFO: IMEI packet received {"connection_id":125503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":125503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:57:33] local.INFO: TCP Data received {"connection_id":125503,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:57:33] local.INFO: Processing buffer {"connection_id":125503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:57:33] local.INFO: IMEI packet received {"connection_id":125503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":125503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:57:34] local.INFO: TCP Data received {"connection_id":125503,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:57:34] local.INFO: Processing buffer {"connection_id":125503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 18:57:34] local.INFO: IMEI packet received {"connection_id":125503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 18:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":125503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:57:35] local.INFO: TCP Data received {"connection_id":126766,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc200d8012dcf7080052143b0002300a130..."} 
[2026-07-07 18:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc200d8012dcf7080052143b0002300a130..."} 
[2026-07-07 18:57:35] local.INFO: Processing buffer {"connection_id":126766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc200d8012dcf7080052143b0002300a130..."} 
[2026-07-07 18:57:35] local.INFO: Packet analysis {"connection_id":126766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc2"} 
[2026-07-07 18:57:35] local.INFO: Extracted packet for processing {"connection_id":126766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc2"} 
[2026-07-07 18:57:35] local.INFO: GPS Element Parsed {"raw_longitude":768569472,"raw_latitude":86066096,"longitude_deg":76.8569472,"latitude_deg":8.6066096,"altitude":35,"angle":161,"satellites":48,"speed":12,"hex_longitude":"2dcf7080","hex_latitude":"052143b0","is_valid_coordinates":true} 
[2026-07-07 18:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558277888001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341756891409416192,"note":"Value kept but may cause issues"} 
[2026-07-07 18:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3499226519689613312,"note":"Value kept but may cause issues"} 
[2026-07-07 18:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783430775000,"timestamp_ms":1783430775000,"timestamp_seconds":1783430775,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc200d8"} 
[2026-07-07 18:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:57: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-07-07 18:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 18:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558277888001,"66":27158,"167":206,"80":34816,"24":12,"16":341756891409416192,"45":-3499226519689613312},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-07-07 18:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558277888001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:57:35] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 18:57:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 18:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341756891409416192,"km_value":341756891409416.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3499226519689613312,"description":"Unknown IO ID 45"} 
[2026-07-07 18:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558277888001,"power":27158,"unknown_167":206,"unknown_80":34816,"ignition":12,"odometer":null,"unknown_45":-3499226519689613312}} 
[2026-07-07 18:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":126766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:57:35] local.INFO: GPS data processed {"connection_id":126766,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:57:35] local.INFO: Acknowledgment sent {"connection_id":126766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:57:43] local.INFO: TCP Data received {"connection_id":124800,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc204c0012d7e338005d34d58000700532a..."} 
[2026-07-07 18:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc204c0012d7e338005d34d58000700532a..."} 
[2026-07-07 18:57:43] local.INFO: Processing buffer {"connection_id":124800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc204c0012d7e338005d34d58000700532a..."} 
[2026-07-07 18:57:43] local.INFO: Packet analysis {"connection_id":124800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc2"} 
[2026-07-07 18:57:43] local.INFO: Extracted packet for processing {"connection_id":124800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc2"} 
[2026-07-07 18:57:43] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 18:57: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-07-07 18:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558263296001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783430776000,"timestamp_ms":1783430776000,"timestamp_seconds":1783430776,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc204c0"} 
[2026-07-07 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-07-07 18:57: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-07-07 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 18:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 18:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:57: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-07-07 18:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558263296001,"66":12298,"115":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-07 18:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558263296001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:57:43] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 18:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 18:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558263296001,"power":12298,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 18:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":124800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:57:43] local.INFO: GPS data processed {"connection_id":124800,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:57:43] local.INFO: Acknowledgment sent {"connection_id":124800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:57:58] local.INFO: TCP Data received {"connection_id":124698,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:57:58] local.INFO: Processing buffer {"connection_id":124698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:57:58] local.INFO: IMEI packet received {"connection_id":124698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":124698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:57:58] local.INFO: TCP Data received {"connection_id":125504,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:57:58] local.INFO: Processing buffer {"connection_id":125504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:57:58] local.INFO: IMEI packet received {"connection_id":125504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":125504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:58:02] local.INFO: TCP Data received {"connection_id":125504,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:58:02] local.INFO: Processing buffer {"connection_id":125504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:58:02] local.INFO: IMEI packet received {"connection_id":125504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":125504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:58:03] local.INFO: TCP Data received {"connection_id":124698,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:58:03] local.INFO: Processing buffer {"connection_id":124698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:58:03] local.INFO: IMEI packet received {"connection_id":124698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":124698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:58:03] local.INFO: TCP Data received {"connection_id":125504,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:58:03] local.INFO: Processing buffer {"connection_id":125504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:58:03] local.INFO: IMEI packet received {"connection_id":125504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":125504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:58:04] local.INFO: TCP Data received {"connection_id":124698,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc204c0012d7e338005d34d58000700532a..."} 
[2026-07-07 18:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc204c0012d7e338005d34d58000700532a..."} 
[2026-07-07 18:58:04] local.INFO: Processing buffer {"connection_id":124698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc204c0012d7e338005d34d58000700532a..."} 
[2026-07-07 18:58:04] local.INFO: Packet analysis {"connection_id":124698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc2"} 
[2026-07-07 18:58:04] local.INFO: Extracted packet for processing {"connection_id":124698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc2"} 
[2026-07-07 18:58:04] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 18:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558278656001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783430776000,"timestamp_ms":1783430776000,"timestamp_seconds":1783430776,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc204c0"} 
[2026-07-07 18:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 18:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:04] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436516815360,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:04] local.WARNING: Large IO value detected {"io_id":183,"raw_value":7782220156096217089,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4377543024447422003,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:04] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419764230628507731,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":23410801578614528,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:04] local.WARNING: Large IO value detected {"io_id":43,"raw_value":283468496900,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055375,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:04] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002796892029134,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:04] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3233075201,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-07 18:58:04] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147865421,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:04] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495757,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:04] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3077308416,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545061376,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:04] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,115,85,24,241,157,16,183,159,26,45,128,77,7,43,10,66,180,240,227,60,211,4,113,205,161,51,88,44,239,1,47,109,2,111,5],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-07 18:58:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504494598119227423,"timestamp_seconds":504494598119227.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 18:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558278656001,"66":12298,"115":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-07 18:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:58:04] local.INFO: TCP Data received {"connection_id":125504,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc21460012dcf72c005213e10002200ac2f..."} 
[2026-07-07 18:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558278656001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:58:04] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 18:58:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 18:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558278656001,"power":12298,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 18:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc21460012dcf72c005213e10002200ac2f..."} 
[2026-07-07 18:58:04] local.INFO: Processing buffer {"connection_id":125504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc21460012dcf72c005213e10002200ac2f..."} 
[2026-07-07 18:58:04] local.INFO: Packet analysis {"connection_id":125504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc2"} 
[2026-07-07 18:58:04] local.INFO: Extracted packet for processing {"connection_id":125504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc2"} 
[2026-07-07 18:58:04] local.INFO: GPS Element Parsed {"raw_longitude":768570048,"raw_latitude":86064656,"longitude_deg":76.8570048,"latitude_deg":8.6064656,"altitude":34,"angle":172,"satellites":47,"speed":15,"hex_longitude":"2dcf72c0","hex_latitude":"05213e10","is_valid_coordinates":true} 
[2026-07-07 18:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558278400001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341756964423860224,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3499156150945599488,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783430780000,"timestamp_ms":1783430780000,"timestamp_seconds":1783430780,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc21460"} 
[2026-07-07 18:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-07 18:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558278400001,"66":27767,"167":206,"80":34816,"24":15,"16":341756964423860224,"45":-3499156150945599488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-07-07 18:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558278400001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:58:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 18:58:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 18:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341756964423860224,"km_value":341756964423860.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3499156150945599488,"description":"Unknown IO ID 45"} 
[2026-07-07 18:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558278400001,"power":27767,"unknown_167":206,"unknown_80":34816,"ignition":15,"odometer":null,"unknown_45":-3499156150945599488}} 
[2026-07-07 18:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":125504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:58:04] local.INFO: GPS data processed {"connection_id":125504,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:58:04] local.INFO: Acknowledgment sent {"connection_id":125504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":124698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:58:04] local.INFO: GPS data processed {"connection_id":124698,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:58:04] local.INFO: Acknowledgment sent {"connection_id":124698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:58:08] local.INFO: TCP Data received {"connection_id":125504,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc21c30012dcf72c005213a80002100bd30..."} 
[2026-07-07 18:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc21c30012dcf72c005213a80002100bd30..."} 
[2026-07-07 18:58:08] local.INFO: Processing buffer {"connection_id":125504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc21c30012dcf72c005213a80002100bd30..."} 
[2026-07-07 18:58:08] local.INFO: Packet analysis {"connection_id":125504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc2"} 
[2026-07-07 18:58:08] local.INFO: Extracted packet for processing {"connection_id":125504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc2"} 
[2026-07-07 18:58:08] local.INFO: GPS Element Parsed {"raw_longitude":768570048,"raw_latitude":86063744,"longitude_deg":76.8570048,"latitude_deg":8.6063744,"altitude":33,"angle":189,"satellites":48,"speed":21,"hex_longitude":"2dcf72c0","hex_latitude":"05213a80","is_valid_coordinates":true} 
[2026-07-07 18:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558279680001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341757011668500480,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3498522832248369152,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783430782000,"timestamp_ms":1783430782000,"timestamp_seconds":1783430782,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc21c30"} 
[2026-07-07 18:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:58: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-07-07 18:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 18:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558279680001,"66":27876,"167":206,"80":34816,"24":21,"16":341757011668500480,"45":-3498522832248369152},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-07-07 18:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558279680001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:58:08] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 18:58:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 18:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341757011668500480,"km_value":341757011668500.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3498522832248369152,"description":"Unknown IO ID 45"} 
[2026-07-07 18:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558279680001,"power":27876,"unknown_167":206,"unknown_80":34816,"ignition":21,"odometer":null,"unknown_45":-3498522832248369152}} 
[2026-07-07 18:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":125504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:58:08] local.INFO: GPS data processed {"connection_id":125504,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:58:08] local.INFO: Acknowledgment sent {"connection_id":125504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:58:35] local.INFO: TCP Data received {"connection_id":124698,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc204c0012d7e338005d34d58000700532a..."} 
[2026-07-07 18:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc204c0012d7e338005d34d58000700532a..."} 
[2026-07-07 18:58:35] local.INFO: Processing buffer {"connection_id":124698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc204c0012d7e338005d34d58000700532a..."} 
[2026-07-07 18:58:35] local.INFO: Packet analysis {"connection_id":124698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc2"} 
[2026-07-07 18:58:35] local.INFO: Extracted packet for processing {"connection_id":124698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc2"} 
[2026-07-07 18:58:35] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 18:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558278656001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783430776000,"timestamp_ms":1783430776000,"timestamp_seconds":1783430776,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc204c0"} 
[2026-07-07 18:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 18:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:35] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436516815360,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:35] local.WARNING: Large IO value detected {"io_id":183,"raw_value":7782220156096217089,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4377543024447422003,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:35] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419764230628507731,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:35] local.WARNING: Large IO value detected {"io_id":7,"raw_value":23410801578614528,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:35] local.WARNING: Large IO value detected {"io_id":43,"raw_value":283468496900,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055375,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002796892029134,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:35] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3233075201,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-07 18:58:35] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147865421,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:35] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495757,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:35] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3077308416,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545061376,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:35] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,115,85,24,241,157,16,183,159,26,45,128,77,7,43,10,66,180,240,227,60,211,4,113,205,161,51,88,44,239,1,47,109,2,111,5],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-07 18:58:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504494598119227423,"timestamp_seconds":504494598119227.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 18:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558278656001,"66":12298,"115":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-07 18:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558278656001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:58:35] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 18:58:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 18:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558278656001,"power":12298,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 18:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":124698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:58:35] local.INFO: GPS data processed {"connection_id":124698,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:58:35] local.INFO: Acknowledgment sent {"connection_id":124698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:58:40] local.INFO: TCP Data received {"connection_id":125504,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc24ef8012dcf6880052117b8002000c42e..."} 
[2026-07-07 18:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc24ef8012dcf6880052117b8002000c42e..."} 
[2026-07-07 18:58:40] local.INFO: Processing buffer {"connection_id":125504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc24ef8012dcf6880052117b8002000c42e..."} 
[2026-07-07 18:58:40] local.INFO: Packet analysis {"connection_id":125504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc2"} 
[2026-07-07 18:58:40] local.INFO: Extracted packet for processing {"connection_id":125504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc2"} 
[2026-07-07 18:58:40] local.INFO: GPS Element Parsed {"raw_longitude":768567424,"raw_latitude":86054840,"longitude_deg":76.8567424,"latitude_deg":8.605484,"altitude":32,"angle":196,"satellites":46,"speed":31,"hex_longitude":"2dcf6880","hex_latitude":"052117b8","is_valid_coordinates":true} 
[2026-07-07 18:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558280192001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341757458345099264,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3498522832248602624,"note":"Value kept but may cause issues"} 
[2026-07-07 18:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783430795000,"timestamp_ms":1783430795000,"timestamp_seconds":1783430795,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc24ef8"} 
[2026-07-07 18:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 18:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:58: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-07-07 18:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558280192001,"66":27876,"167":206,"80":34816,"24":31,"16":341757458345099264,"45":-3498522832248602624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-07-07 18:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558280192001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:58:40] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-07 18:58:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 18:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341757458345099264,"km_value":341757458345099.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3498522832248602624,"description":"Unknown IO ID 45"} 
[2026-07-07 18:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558280192001,"power":27876,"unknown_167":206,"unknown_80":34816,"ignition":31,"odometer":null,"unknown_45":-3498522832248602624}} 
[2026-07-07 18:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":125504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:58:40] local.INFO: GPS data processed {"connection_id":125504,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:58:40] local.INFO: Acknowledgment sent {"connection_id":125504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:58:58] local.INFO: TCP Data received {"connection_id":126767,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:58:58] local.INFO: Processing buffer {"connection_id":126767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:58:58] local.INFO: IMEI packet received {"connection_id":126767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 18:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":126767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:58:58] local.INFO: TCP Data received {"connection_id":126768,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:58:58] local.INFO: Processing buffer {"connection_id":126768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:58:58] local.INFO: IMEI packet received {"connection_id":126768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":126768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 18:59:00] local.INFO: TCP Data received {"connection_id":126768,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:59:00] local.INFO: Processing buffer {"connection_id":126768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:59:00] local.INFO: IMEI packet received {"connection_id":126768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":126768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:59:03] local.INFO: TCP Data received {"connection_id":126767,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:59:03] local.INFO: Processing buffer {"connection_id":126767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 18:59:03] local.INFO: IMEI packet received {"connection_id":126767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 18:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":126767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:59:03] local.INFO: TCP Data received {"connection_id":126768,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:59:03] local.INFO: Processing buffer {"connection_id":126768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:59:03] local.INFO: IMEI packet received {"connection_id":126768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 18:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":126768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 18:59:03] local.INFO: TCP Data received {"connection_id":126767,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc204c0012d7e338005d34d58000700532a..."} 
[2026-07-07 18:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc204c0012d7e338005d34d58000700532a..."} 
[2026-07-07 18:59:03] local.INFO: Processing buffer {"connection_id":126767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc204c0012d7e338005d34d58000700532a..."} 
[2026-07-07 18:59:03] local.INFO: Packet analysis {"connection_id":126767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc2"} 
[2026-07-07 18:59:03] local.INFO: Extracted packet for processing {"connection_id":126767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc2"} 
[2026-07-07 18:59:03] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 18:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558278656001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783430776000,"timestamp_ms":1783430776000,"timestamp_seconds":1783430776,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc204c0"} 
[2026-07-07 18:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 18:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:03] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436516815360,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:03] local.WARNING: Large IO value detected {"io_id":183,"raw_value":7782220156096217089,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:03] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4377543024447422003,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419764230628507731,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":23410801578614528,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:03] local.WARNING: Large IO value detected {"io_id":43,"raw_value":283468496900,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055375,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002796892029134,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:03] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3233075201,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-07 18:59:03] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147865421,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:03] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495757,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:03] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3077308416,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545061376,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:03] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,115,85,24,241,157,16,183,159,26,45,128,77,7,43,10,66,180,240,227,60,211,4,113,205,161,51,88,44,239,1,47,109,2,111,5],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-07 18:59:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504494598119227423,"timestamp_seconds":504494598119227.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 18:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558278656001,"66":12298,"115":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-07 18:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558278656001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:59:03] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 18:59:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 18:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558278656001,"power":12298,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 18:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":126767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:59:03] local.INFO: GPS data processed {"connection_id":126767,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:59:03] local.INFO: Acknowledgment sent {"connection_id":126767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:59:04] local.INFO: TCP Data received {"connection_id":126768,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc3c210012dcf2100051fda98000d00af2f..."} 
[2026-07-07 18:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc3c210012dcf2100051fda98000d00af2f..."} 
[2026-07-07 18:59:04] local.INFO: Processing buffer {"connection_id":126768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc3c210012dcf2100051fda98000d00af2f..."} 
[2026-07-07 18:59:04] local.INFO: Packet analysis {"connection_id":126768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc3"} 
[2026-07-07 18:59:04] local.INFO: Extracted packet for processing {"connection_id":126768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc3"} 
[2026-07-07 18:59:04] local.INFO: GPS Element Parsed {"raw_longitude":768549120,"raw_latitude":85973656,"longitude_deg":76.854912,"latitude_deg":8.5973656,"altitude":13,"angle":175,"satellites":47,"speed":12,"hex_longitude":"2dcf2100","hex_latitude":"051fda98","is_valid_coordinates":true} 
[2026-07-07 18: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-07-07 18:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558305024001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341761628758343680,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3523433367709065216,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783430890000,"timestamp_ms":1783430890000,"timestamp_seconds":1783430890,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc3c210"} 
[2026-07-07 18:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 18:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 18: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-07-07 18:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558305024001,"66":27843,"69":206,"80":34816,"24":12,"16":341761628758343680,"45":-3523433367709065216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,80,24,16,45]} 
[2026-07-07 18:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558305024001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:59:04] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-07 18:59:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 18:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341761628758343680,"km_value":341761628758343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3523433367709065216,"description":"Unknown IO ID 45"} 
[2026-07-07 18:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558305024001,"power":27843,"unknown_69":206,"unknown_80":34816,"ignition":12,"odometer":null,"unknown_45":-3523433367709065216}} 
[2026-07-07 18:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":126768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:59:04] local.INFO: GPS data processed {"connection_id":126768,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:59:04] local.INFO: Acknowledgment sent {"connection_id":126768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:59:35] local.INFO: TCP Data received {"connection_id":126767,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc4eed8012d7e338005d34d58000700532a..."} 
[2026-07-07 18:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc4eed8012d7e338005d34d58000700532a..."} 
[2026-07-07 18:59:35] local.INFO: Processing buffer {"connection_id":126767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc4eed8012d7e338005d34d58000700532a..."} 
[2026-07-07 18:59:35] local.INFO: Packet analysis {"connection_id":126767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc4"} 
[2026-07-07 18:59:35] local.INFO: Extracted packet for processing {"connection_id":126767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc4"} 
[2026-07-07 18:59:35] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 18:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558278656001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783430967000,"timestamp_ms":1783430967000,"timestamp_seconds":1783430967,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc4eed8"} 
[2026-07-07 18:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 18:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436516815360,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":183,"raw_value":7782220156096217089,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4377676168433598003,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419764230628507731,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":7,"raw_value":23410801578623488,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055375,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002796892029134,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3233075201,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3489738110,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147865421,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3077308416,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545061376,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":133144641540,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,115,85,24,241,157,16,183,159,4,45,128,77,7,42,10,66,26,43,240,205,227,60,211,113,180,51,88,239,1,48,109,2,111,5,44],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-07 18:59:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504494598119227458,"timestamp_seconds":504494598119227.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 18:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 18:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 18:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 18:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558278656001,"66":2253,"115":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-07 18:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 18:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 18:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558278656001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:59:35] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 18:59:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 18:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 18:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558278656001,"power":2253,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 18:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":126767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:59:35] local.INFO: GPS data processed {"connection_id":126767,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:59:35] local.INFO: Acknowledgment sent {"connection_id":126767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:59:35] local.INFO: TCP Data received {"connection_id":126768,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc3c9e0012dcf20c0051fd7f0000d00c030..."} 
[2026-07-07 18:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc3c9e0012dcf20c0051fd7f0000d00c030..."} 
[2026-07-07 18:59:35] local.INFO: Processing buffer {"connection_id":126768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc3c9e0012dcf20c0051fd7f0000d00c030..."} 
[2026-07-07 18:59:35] local.INFO: Packet analysis {"connection_id":126768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc3"} 
[2026-07-07 18:59:35] local.INFO: Extracted packet for processing {"connection_id":126768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc3"} 
[2026-07-07 18:59:35] local.INFO: GPS Element Parsed {"raw_longitude":768549056,"raw_latitude":85972976,"longitude_deg":76.8549056,"latitude_deg":8.5972976,"altitude":13,"angle":192,"satellites":48,"speed":14,"hex_longitude":"2dcf20c0","hex_latitude":"051fd7f0","is_valid_coordinates":true} 
[2026-07-07 18:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558307840001,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341761663118082048,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3521533411617761280,"note":"Value kept but may cause issues"} 
[2026-07-07 18:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 18:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783430892000,"timestamp_ms":1783430892000,"timestamp_seconds":1783430892,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc3c9e0"} 
[2026-07-07 18:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 18:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 18:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 18:59: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-07-07 18:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 18:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 18:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 18:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 18:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 18:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 18:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 18:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 18:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558307840001,"66":27789,"69":206,"80":34816,"24":14,"16":341761663118082048,"45":-3521533411617761280},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,80,24,16,45]} 
[2026-07-07 18:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 18:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 18:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558307840001,"description":"Unknown IO ID 0"} 
[2026-07-07 18:59:35] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-07 18:59:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 18:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341761663118082048,"km_value":341761663118082.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 18:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3521533411617761280,"description":"Unknown IO ID 45"} 
[2026-07-07 18:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558307840001,"power":27789,"unknown_69":206,"unknown_80":34816,"ignition":14,"odometer":null,"unknown_45":-3521533411617761280}} 
[2026-07-07 18:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":126768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 18:59:35] local.INFO: GPS data processed {"connection_id":126768,"processed":1,"errors":0,"total":1} 
[2026-07-07 18:59:35] local.INFO: Acknowledgment sent {"connection_id":126768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 18:59:58] local.INFO: TCP Data received {"connection_id":124802,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:59:58] local.INFO: Processing buffer {"connection_id":124802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 18:59:58] local.INFO: IMEI packet received {"connection_id":124802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 18:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":124802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:00:03] local.INFO: TCP Data received {"connection_id":124702,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:00:03] local.INFO: Processing buffer {"connection_id":124702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:00:03] local.INFO: IMEI packet received {"connection_id":124702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 19:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":124702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:00:03] local.INFO: TCP Data received {"connection_id":124802,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:00:03] local.INFO: Processing buffer {"connection_id":124802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:00:03] local.INFO: IMEI packet received {"connection_id":124802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":124802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:00:04] local.INFO: TCP Data received {"connection_id":124802,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc3dd68012dcf1f80051fd160000d00b430..."} 
[2026-07-07 19:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc3dd68012dcf1f80051fd160000d00b430..."} 
[2026-07-07 19:00:04] local.INFO: Processing buffer {"connection_id":124802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc3dd68012dcf1f80051fd160000d00b430..."} 
[2026-07-07 19:00:04] local.INFO: Packet analysis {"connection_id":124802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc3"} 
[2026-07-07 19:00:04] local.INFO: Extracted packet for processing {"connection_id":124802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc3"} 
[2026-07-07 19:00:04] local.INFO: GPS Element Parsed {"raw_longitude":768548736,"raw_latitude":85971296,"longitude_deg":76.8548736,"latitude_deg":8.5971296,"altitude":13,"angle":180,"satellites":48,"speed":12,"hex_longitude":"2dcf1f80","hex_latitude":"051fd160","is_valid_coordinates":true} 
[2026-07-07 19:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558308352001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341761744722460672,"note":"Value kept but may cause issues"} 
[2026-07-07 19:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3521603780362113024,"note":"Value kept but may cause issues"} 
[2026-07-07 19:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783430897000,"timestamp_ms":1783430897000,"timestamp_seconds":1783430897,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc3dd68"} 
[2026-07-07 19:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-07 19:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558308352001,"66":27713,"69":206,"80":34816,"24":12,"16":341761744722460672,"45":-3521603780362113024},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,80,24,16,45]} 
[2026-07-07 19:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558308352001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:00:04] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-07 19:00:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 19:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341761744722460672,"km_value":341761744722460.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3521603780362113024,"description":"Unknown IO ID 45"} 
[2026-07-07 19:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558308352001,"power":27713,"unknown_69":206,"unknown_80":34816,"ignition":12,"odometer":null,"unknown_45":-3521603780362113024}} 
[2026-07-07 19:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":124802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:00:04] local.INFO: GPS data processed {"connection_id":124802,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:00:04] local.INFO: Acknowledgment sent {"connection_id":124802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:00:09] local.INFO: TCP Data received {"connection_id":124702,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:00:09] local.INFO: Processing buffer {"connection_id":124702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:00:09] local.INFO: IMEI packet received {"connection_id":124702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 19:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":124702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:00:18] local.INFO: TCP Data received {"connection_id":124702,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc4eed8012d7e338005d34d58000700532a..."} 
[2026-07-07 19:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc4eed8012d7e338005d34d58000700532a..."} 
[2026-07-07 19:00:18] local.INFO: Processing buffer {"connection_id":124702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc4eed8012d7e338005d34d58000700532a..."} 
[2026-07-07 19:00:18] local.INFO: Packet analysis {"connection_id":124702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc4"} 
[2026-07-07 19:00:18] local.INFO: Extracted packet for processing {"connection_id":124702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc4"} 
[2026-07-07 19:00:18] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558327552001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 19:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783430967000,"timestamp_ms":1783430967000,"timestamp_seconds":1783430967,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc4eed8"} 
[2026-07-07 19:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 19:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558327552001,"66":2253,"115":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-07 19:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558327552001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:00:18] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-07 19:00:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 19:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558327552001,"power":2253,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 19:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":124702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:00:18] local.INFO: GPS data processed {"connection_id":124702,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:00:18] local.INFO: Acknowledgment sent {"connection_id":124702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:00:33] local.INFO: TCP Data received {"connection_id":124701,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124701,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:00:33] local.INFO: Processing buffer {"connection_id":124701,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:00:33] local.INFO: IMEI packet received {"connection_id":124701,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 19:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":124701,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:00:35] local.INFO: TCP Data received {"connection_id":124802,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc3f0f0012dcf2000051fcae8000d00a72e..."} 
[2026-07-07 19:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc3f0f0012dcf2000051fcae8000d00a72e..."} 
[2026-07-07 19:00:35] local.INFO: Processing buffer {"connection_id":124802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc3f0f0012dcf2000051fcae8000d00a72e..."} 
[2026-07-07 19:00:35] local.INFO: Packet analysis {"connection_id":124802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc3"} 
[2026-07-07 19:00:35] local.INFO: Extracted packet for processing {"connection_id":124802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc3"} 
[2026-07-07 19:00:35] local.INFO: GPS Element Parsed {"raw_longitude":768548864,"raw_latitude":85969640,"longitude_deg":76.8548864,"latitude_deg":8.596964,"altitude":13,"angle":167,"satellites":46,"speed":17,"hex_longitude":"2dcf2000","hex_latitude":"051fcae8","is_valid_coordinates":true} 
[2026-07-07 19:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558309632001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341761826326839296,"note":"Value kept but may cause issues"} 
[2026-07-07 19:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3521955624083431424,"note":"Value kept but may cause issues"} 
[2026-07-07 19:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783430902000,"timestamp_ms":1783430902000,"timestamp_seconds":1783430902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc3f0f0"} 
[2026-07-07 19:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:00: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-07-07 19:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-07 19:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558309632001,"66":27821,"69":206,"80":34816,"24":17,"16":341761826326839296,"45":-3521955624083431424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,80,24,16,45]} 
[2026-07-07 19:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558309632001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:00:35] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-07 19:00:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 19:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341761826326839296,"km_value":341761826326839.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3521955624083431424,"description":"Unknown IO ID 45"} 
[2026-07-07 19:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558309632001,"power":27821,"unknown_69":206,"unknown_80":34816,"ignition":17,"odometer":null,"unknown_45":-3521955624083431424}} 
[2026-07-07 19:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":124802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:00:35] local.INFO: GPS data processed {"connection_id":124802,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:00:35] local.INFO: Acknowledgment sent {"connection_id":124802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:00:57] local.INFO: TCP Data received {"connection_id":124803,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:00:57] local.INFO: Processing buffer {"connection_id":124803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:00:57] local.INFO: IMEI packet received {"connection_id":124803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 19:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":124803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:00:58] local.INFO: TCP Data received {"connection_id":126770,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:00:58] local.INFO: Processing buffer {"connection_id":126770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:00:58] local.INFO: IMEI packet received {"connection_id":126770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 19:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":126770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:01:01] local.INFO: TCP Data received {"connection_id":125506,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:01:01] local.INFO: Processing buffer {"connection_id":125506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:01:01] local.INFO: IMEI packet received {"connection_id":125506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":125506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:01:03] local.INFO: TCP Data received {"connection_id":124803,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:01:03] local.INFO: Processing buffer {"connection_id":124803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:01:03] local.INFO: IMEI packet received {"connection_id":124803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 19:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":124803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:01:04] local.INFO: TCP Data received {"connection_id":125506,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:01:04] local.INFO: Processing buffer {"connection_id":125506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:01:04] local.INFO: IMEI packet received {"connection_id":125506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":125506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:01:04] local.INFO: TCP Data received {"connection_id":124803,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc51200012d7e338005d34d58000700532b..."} 
[2026-07-07 19:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc51200012d7e338005d34d58000700532b..."} 
[2026-07-07 19:01:04] local.INFO: Processing buffer {"connection_id":124803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc51200012d7e338005d34d58000700532b..."} 
[2026-07-07 19:01:04] local.INFO: Packet analysis {"connection_id":124803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc5"} 
[2026-07-07 19:01:04] local.INFO: Extracted packet for processing {"connection_id":124803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc5"} 
[2026-07-07 19:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558327552001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 19:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783430976000,"timestamp_ms":1783430976000,"timestamp_seconds":1783430976,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc51200"} 
[2026-07-07 19:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 19:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558327552001,"66":12385,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558327552001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:01:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:01:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 19:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558327552001,"power":12385,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 19:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":124803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:01:04] local.INFO: GPS data processed {"connection_id":124803,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:01:04] local.INFO: Acknowledgment sent {"connection_id":124803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:01:08] local.INFO: TCP Data received {"connection_id":125506,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:01:08] local.INFO: Processing buffer {"connection_id":125506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:01:08] local.INFO: IMEI packet received {"connection_id":125506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":125506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:01:12] local.INFO: TCP Data received {"connection_id":125506,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc427a0012dcf2ac0051fa898000b00a22e..."} 
[2026-07-07 19:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc427a0012dcf2ac0051fa898000b00a22e..."} 
[2026-07-07 19:01:12] local.INFO: Processing buffer {"connection_id":125506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc427a0012dcf2ac0051fa898000b00a22e..."} 
[2026-07-07 19:01:12] local.INFO: Packet analysis {"connection_id":125506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc4"} 
[2026-07-07 19:01:12] local.INFO: Extracted packet for processing {"connection_id":125506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc4"} 
[2026-07-07 19:01:12] local.INFO: GPS Element Parsed {"raw_longitude":768551616,"raw_latitude":85960856,"longitude_deg":76.8551616,"latitude_deg":8.5960856,"altitude":11,"angle":162,"satellites":46,"speed":27,"hex_longitude":"2dcf2ac0","hex_latitude":"051fa898","is_valid_coordinates":true} 
[2026-07-07 19:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558310912001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341762273003438080,"note":"Value kept but may cause issues"} 
[2026-07-07 19:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3521814886595500032,"note":"Value kept but may cause issues"} 
[2026-07-07 19:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783430916000,"timestamp_ms":1783430916000,"timestamp_seconds":1783430916,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc427a0"} 
[2026-07-07 19:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 19:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558310912001,"66":27647,"69":206,"80":34816,"24":27,"16":341762273003438080,"45":-3521814886595500032},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,80,24,16,45]} 
[2026-07-07 19:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558310912001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:01:12] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-07 19:01:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 19:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341762273003438080,"km_value":341762273003438.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3521814886595500032,"description":"Unknown IO ID 45"} 
[2026-07-07 19:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558310912001,"power":27647,"unknown_69":206,"unknown_80":34816,"ignition":27,"odometer":null,"unknown_45":-3521814886595500032}} 
[2026-07-07 19:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":125506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:01:12] local.INFO: GPS data processed {"connection_id":125506,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:01:12] local.INFO: Acknowledgment sent {"connection_id":125506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:01:13] local.INFO: TCP Data received {"connection_id":125506,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc45e50012dcf3540051f84a8000a00a330..."} 
[2026-07-07 19:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc45e50012dcf3540051f84a8000a00a330..."} 
[2026-07-07 19:01:13] local.INFO: Processing buffer {"connection_id":125506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc45e50012dcf3540051f84a8000a00a330..."} 
[2026-07-07 19:01:13] local.INFO: Packet analysis {"connection_id":125506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc4"} 
[2026-07-07 19:01:13] local.INFO: Extracted packet for processing {"connection_id":125506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc4"} 
[2026-07-07 19:01:13] local.INFO: GPS Element Parsed {"raw_longitude":768554304,"raw_latitude":85951656,"longitude_deg":76.8554304,"latitude_deg":8.5951656,"altitude":10,"angle":163,"satellites":48,"speed":32,"hex_longitude":"2dcf3540","hex_latitude":"051f84a8","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558314496001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341762736859906048,"note":"Value kept but may cause issues"} 
[2026-07-07 19:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3518789030598109184,"note":"Value kept but may cause issues"} 
[2026-07-07 19:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783430930000,"timestamp_ms":1783430930000,"timestamp_seconds":1783430930,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc45e50"} 
[2026-07-07 19:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:01: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-07-07 19: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-07 19:01:13] 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-07-07 19: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-07-07 19:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558314496001,"66":27865,"69":206,"80":34816,"24":32,"16":341762736859906048,"45":-3518789030598109184},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,80,24,16,45]} 
[2026-07-07 19:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558314496001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:01:13] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-07 19:01:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 19:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341762736859906048,"km_value":341762736859906.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3518789030598109184,"description":"Unknown IO ID 45"} 
[2026-07-07 19:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558314496001,"power":27865,"unknown_69":206,"unknown_80":34816,"ignition":32,"odometer":null,"unknown_45":-3518789030598109184}} 
[2026-07-07 19:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":125506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:01:13] local.INFO: GPS data processed {"connection_id":125506,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:01:13] local.INFO: Acknowledgment sent {"connection_id":125506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:01:36] local.INFO: TCP Data received {"connection_id":124803,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc51200012d7e338005d34d58000700532b..."} 
[2026-07-07 19:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc51200012d7e338005d34d58000700532b..."} 
[2026-07-07 19:01:36] local.INFO: Processing buffer {"connection_id":124803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc51200012d7e338005d34d58000700532b..."} 
[2026-07-07 19:01:36] local.INFO: Packet analysis {"connection_id":124803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc5"} 
[2026-07-07 19:01:36] local.INFO: Extracted packet for processing {"connection_id":124803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc5"} 
[2026-07-07 19:01:36] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558327552001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 19:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783430976000,"timestamp_ms":1783430976000,"timestamp_seconds":1783430976,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc51200"} 
[2026-07-07 19:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 19:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558327552001,"66":12385,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558327552001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:01:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:01:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 19:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558327552001,"power":12385,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 19:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":124803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:01:36] local.INFO: GPS data processed {"connection_id":124803,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:01:36] local.INFO: Acknowledgment sent {"connection_id":124803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:02:03] local.INFO: TCP Data received {"connection_id":126772,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:02:03] local.INFO: Processing buffer {"connection_id":126772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:02:03] local.INFO: IMEI packet received {"connection_id":126772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":126772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:02:08] local.INFO: TCP Data received {"connection_id":126772,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:02:08] local.INFO: Processing buffer {"connection_id":126772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:02:08] local.INFO: IMEI packet received {"connection_id":126772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":126772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:02:09] local.INFO: TCP Data received {"connection_id":124704,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:02:09] local.INFO: Processing buffer {"connection_id":124704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:02:09] local.INFO: IMEI packet received {"connection_id":124704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 19:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":124704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:02:13] local.INFO: TCP Data received {"connection_id":124704,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:02:13] local.INFO: Processing buffer {"connection_id":124704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:02:13] local.INFO: IMEI packet received {"connection_id":124704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 19:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":124704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:02:13] local.INFO: TCP Data received {"connection_id":126772,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc5f0a8012dcf8180051ebd98000d009d2e..."} 
[2026-07-07 19:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc5f0a8012dcf8180051ebd98000d009d2e..."} 
[2026-07-07 19:02:13] local.INFO: Processing buffer {"connection_id":126772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc5f0a8012dcf8180051ebd98000d009d2e..."} 
[2026-07-07 19:02:13] local.INFO: Packet analysis {"connection_id":126772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc5"} 
[2026-07-07 19:02:13] local.INFO: Extracted packet for processing {"connection_id":126772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc5"} 
[2026-07-07 19:02:13] local.INFO: GPS Element Parsed {"raw_longitude":768573824,"raw_latitude":85900696,"longitude_deg":76.8573824,"latitude_deg":8.5900696,"altitude":13,"angle":157,"satellites":46,"speed":36,"hex_longitude":"2dcf8180","hex_latitude":"051ebd98","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558341888001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341765404034596864,"note":"Value kept but may cause issues"} 
[2026-07-07 19:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3497959882334812160,"note":"Value kept but may cause issues"} 
[2026-07-07 19:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783431033000,"timestamp_ms":1783431033000,"timestamp_seconds":1783431033,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc5f0a8"} 
[2026-07-07 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-07-07 19: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-07-07 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 19:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 19:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558341888001,"66":27213,"69":206,"80":34816,"24":36,"16":341765404034596864,"45":-3497959882334812160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,80,24,16,45]} 
[2026-07-07 19:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558341888001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:02:13] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-07 19:02:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 19:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341765404034596864,"km_value":341765404034596.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3497959882334812160,"description":"Unknown IO ID 45"} 
[2026-07-07 19:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558341888001,"power":27213,"unknown_69":206,"unknown_80":34816,"ignition":36,"odometer":null,"unknown_45":-3497959882334812160}} 
[2026-07-07 19:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":126772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:02:13] local.INFO: GPS data processed {"connection_id":126772,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:02:13] local.INFO: Acknowledgment sent {"connection_id":126772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:02:13] local.INFO: TCP Data received {"connection_id":124704,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc6f660012d7e338005d34d58000700532b..."} 
[2026-07-07 19:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc6f660012d7e338005d34d58000700532b..."} 
[2026-07-07 19:02:13] local.INFO: Processing buffer {"connection_id":124704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc6f660012d7e338005d34d58000700532b..."} 
[2026-07-07 19:02:13] local.INFO: Packet analysis {"connection_id":124704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc6"} 
[2026-07-07 19:02:13] local.INFO: Extracted packet for processing {"connection_id":124704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc6"} 
[2026-07-07 19:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558329856001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 19:02: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-07-07 19:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783431100000,"timestamp_ms":1783431100000,"timestamp_seconds":1783431100,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc6f660"} 
[2026-07-07 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-07-07 19:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 19:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 19:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558329856001,"66":12472,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558329856001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:02:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:02:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 19:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558329856001,"power":12472,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 19:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":124704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:02:14] local.INFO: GPS data processed {"connection_id":124704,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:02:14] local.INFO: Acknowledgment sent {"connection_id":124704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:02:18] local.INFO: TCP Data received {"connection_id":124704,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc6f660012d7e338005d34d58000700532b..."} 
[2026-07-07 19:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc6f660012d7e338005d34d58000700532b..."} 
[2026-07-07 19:02:18] local.INFO: Processing buffer {"connection_id":124704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc6f660012d7e338005d34d58000700532b..."} 
[2026-07-07 19:02:18] local.INFO: Packet analysis {"connection_id":124704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc6"} 
[2026-07-07 19:02:18] local.INFO: Extracted packet for processing {"connection_id":124704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc6"} 
[2026-07-07 19:02:18] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558361600001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 19:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783431100000,"timestamp_ms":1783431100000,"timestamp_seconds":1783431100,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc6f660"} 
[2026-07-07 19:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 19:02:18] 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-07-07 19:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558361600001,"66":12472,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558361600001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:02:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:02:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 19:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558361600001,"power":12472,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 19:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":124704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:02:18] local.INFO: GPS data processed {"connection_id":124704,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:02:18] local.INFO: Acknowledgment sent {"connection_id":124704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:02:35] local.INFO: TCP Data received {"connection_id":124705,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:02:35] local.INFO: Processing buffer {"connection_id":124705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:02:35] local.INFO: IMEI packet received {"connection_id":124705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":124705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:02:38] local.INFO: TCP Data received {"connection_id":124705,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:02:38] local.INFO: Processing buffer {"connection_id":124705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:02:38] local.INFO: IMEI packet received {"connection_id":124705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":124705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:02:39] local.INFO: TCP Data received {"connection_id":124705,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc6f660012d19538007200a68004000de28..."} 
[2026-07-07 19:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc6f660012d19538007200a68004000de28..."} 
[2026-07-07 19:02:39] local.INFO: Processing buffer {"connection_id":124705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc6f660012d19538007200a68004000de28..."} 
[2026-07-07 19:02:39] local.INFO: Packet analysis {"connection_id":124705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc6"} 
[2026-07-07 19:02:39] local.INFO: Extracted packet for processing {"connection_id":124705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc6"} 
[2026-07-07 19:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756634496,"raw_latitude":119540328,"longitude_deg":75.6634496,"latitude_deg":11.9540328,"altitude":64,"angle":222,"satellites":40,"speed":9,"hex_longitude":"2d195380","hex_latitude":"07200a68","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558361344001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4782231335731200,"note":"Value kept but may cause issues"} 
[2026-07-07 19:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825224517082619904,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 19:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783431100000,"timestamp_ms":1783431100000,"timestamp_seconds":1783431100,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc6f660"} 
[2026-07-07 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-07-07 19:02: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-07-07 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-07 19:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 19:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558361344001,"66":13798,"121":206,"28":31744,"24":9,"16":4782231335731200,"45":1825224517082619904},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558361344001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:02:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:02:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4782231335731200,"km_value":4782231335731.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825224517082619904,"description":"Unknown IO ID 45"} 
[2026-07-07 19:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558361344001,"power":13798,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1825224517082619904}} 
[2026-07-07 19:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":124705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:02:39] local.INFO: GPS data processed {"connection_id":124705,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:02:39] local.INFO: Acknowledgment sent {"connection_id":124705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:02:57] local.INFO: TCP Data received {"connection_id":125507,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:02:57] local.INFO: Processing buffer {"connection_id":125507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:02:57] local.INFO: IMEI packet received {"connection_id":125507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 19:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":125507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:02:57] local.INFO: TCP Data received {"connection_id":125507,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:02:57] local.INFO: Processing buffer {"connection_id":125507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:02:57] local.INFO: IMEI packet received {"connection_id":125507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 19:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":125507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:02:57] local.INFO: TCP Data received {"connection_id":125507,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:02:57] local.INFO: Processing buffer {"connection_id":125507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:02:57] local.INFO: IMEI packet received {"connection_id":125507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 19:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":125507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:02:58] local.INFO: TCP Data received {"connection_id":125508,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:02:58] local.INFO: Processing buffer {"connection_id":125508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:02:58] local.INFO: IMEI packet received {"connection_id":125508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":125508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:03:02] local.INFO: TCP Data received {"connection_id":125507,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:03:02] local.INFO: Processing buffer {"connection_id":125507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:03:02] local.INFO: IMEI packet received {"connection_id":125507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 19:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":125507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:03:03] local.INFO: TCP Data received {"connection_id":125507,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc709e8012d7e34c005d34d60000700532b..."} 
[2026-07-07 19:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc709e8012d7e34c005d34d60000700532b..."} 
[2026-07-07 19:03:03] local.INFO: Processing buffer {"connection_id":125507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc709e8012d7e34c005d34d60000700532b..."} 
[2026-07-07 19:03:03] local.INFO: Packet analysis {"connection_id":125507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc7"} 
[2026-07-07 19:03:03] local.INFO: Extracted packet for processing {"connection_id":125507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc7"} 
[2026-07-07 19:03:03] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97733984,"longitude_deg":76.324576,"latitude_deg":9.7733984,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-07-07 19:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558361600001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 19:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783431105000,"timestamp_ms":1783431105000,"timestamp_seconds":1783431105,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc709e8"} 
[2026-07-07 19:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 19:03:03] 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-07-07 19:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558361600001,"66":11504,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558361600001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:03:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:03:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 19:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558361600001,"power":11504,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 19:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":125507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:03:03] local.INFO: GPS data processed {"connection_id":125507,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:03:03] local.INFO: Acknowledgment sent {"connection_id":125507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:03:03] local.INFO: TCP Data received {"connection_id":125508,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:03:03] local.INFO: Processing buffer {"connection_id":125508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:03:03] local.INFO: IMEI packet received {"connection_id":125508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":125508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:03:04] local.INFO: TCP Data received {"connection_id":125508,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc61f88012dcf8fc0051e9ca0000d009b2c..."} 
[2026-07-07 19:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc61f88012dcf8fc0051e9ca0000d009b2c..."} 
[2026-07-07 19:03:04] local.INFO: Processing buffer {"connection_id":125508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc61f88012dcf8fc0051e9ca0000d009b2c..."} 
[2026-07-07 19:03:04] local.INFO: Packet analysis {"connection_id":125508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc6"} 
[2026-07-07 19:03:04] local.INFO: Extracted packet for processing {"connection_id":125508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc6"} 
[2026-07-07 19:03:04] local.INFO: GPS Element Parsed {"raw_longitude":768577472,"raw_latitude":85892256,"longitude_deg":76.8577472,"latitude_deg":8.5892256,"altitude":13,"angle":155,"satellites":44,"speed":28,"hex_longitude":"2dcf8fc0","hex_latitude":"051e9ca0","is_valid_coordinates":true} 
[2026-07-07 19:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558344448001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341765846416228352,"note":"Value kept but may cause issues"} 
[2026-07-07 19:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3494371076383860736,"note":"Value kept but may cause issues"} 
[2026-07-07 19:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783431045000,"timestamp_ms":1783431045000,"timestamp_seconds":1783431045,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc61f88"} 
[2026-07-07 19:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 19:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558344448001,"66":27365,"69":206,"80":34816,"24":28,"16":341765846416228352,"45":-3494371076383860736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,80,24,16,45]} 
[2026-07-07 19:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558344448001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:03:04] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-07 19:03:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 19:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341765846416228352,"km_value":341765846416228.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3494371076383860736,"description":"Unknown IO ID 45"} 
[2026-07-07 19:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558344448001,"power":27365,"unknown_69":206,"unknown_80":34816,"ignition":28,"odometer":null,"unknown_45":-3494371076383860736}} 
[2026-07-07 19:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":125508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:03:04] local.INFO: GPS data processed {"connection_id":125508,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:03:04] local.INFO: Acknowledgment sent {"connection_id":125508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:03:12] local.INFO: TCP Data received {"connection_id":124705,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc79e58012d192940071ffee80038014626..."} 
[2026-07-07 19:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc79e58012d192940071ffee80038014626..."} 
[2026-07-07 19:03:12] local.INFO: Processing buffer {"connection_id":124705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc79e58012d192940071ffee80038014626..."} 
[2026-07-07 19:03:12] local.INFO: Packet analysis {"connection_id":124705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc7"} 
[2026-07-07 19:03:12] local.INFO: Extracted packet for processing {"connection_id":124705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc7"} 
[2026-07-07 19:03:12] local.INFO: GPS Element Parsed {"raw_longitude":756623680,"raw_latitude":119537384,"longitude_deg":75.662368,"latitude_deg":11.9537384,"altitude":56,"angle":326,"satellites":38,"speed":9,"hex_longitude":"2d192940","hex_latitude":"071ffee8","is_valid_coordinates":true} 
[2026-07-07 19:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558372352001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4782905645596672,"note":"Value kept but may cause issues"} 
[2026-07-07 19:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1813261830571563008,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783431143000,"timestamp_ms":1783431143000,"timestamp_seconds":1783431143,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc79e58"} 
[2026-07-07 19:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:03: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-07-07 19: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-07-07 19: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-07-07 19:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558372352001,"66":14211,"121":206,"28":31744,"24":9,"16":4782905645596672,"45":1813261830571563008},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558372352001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:03:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:03:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4782905645596672,"km_value":4782905645596.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1813261830571563008,"description":"Unknown IO ID 45"} 
[2026-07-07 19:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558372352001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1813261830571563008}} 
[2026-07-07 19:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":124705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:03:12] local.INFO: GPS data processed {"connection_id":124705,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:03:12] local.INFO: Acknowledgment sent {"connection_id":124705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:03:34] local.INFO: TCP Data received {"connection_id":125507,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc709e8012d7e34c005d34d60000700532b..."} 
[2026-07-07 19:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc709e8012d7e34c005d34d60000700532b..."} 
[2026-07-07 19:03:34] local.INFO: Processing buffer {"connection_id":125507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc709e8012d7e34c005d34d60000700532b..."} 
[2026-07-07 19:03:34] local.INFO: Packet analysis {"connection_id":125507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc7"} 
[2026-07-07 19:03:34] local.INFO: Extracted packet for processing {"connection_id":125507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc7"} 
[2026-07-07 19:03:34] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97733984,"longitude_deg":76.324576,"latitude_deg":9.7733984,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-07-07 19:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558362880001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820306944,"note":"Value kept but may cause issues"} 
[2026-07-07 19:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783431105000,"timestamp_ms":1783431105000,"timestamp_seconds":1783431105,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc709e8"} 
[2026-07-07 19:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19: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":44,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 19:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2578,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19: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-07-07 19:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558362880001,"66":11504,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9094104678820306944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558362880001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:03:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:03:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820306944,"description":"Unknown IO ID 45"} 
[2026-07-07 19:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558362880001,"power":11504,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820306944}} 
[2026-07-07 19:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":125507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:03:34] local.INFO: GPS data processed {"connection_id":125507,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:03:34] local.INFO: Acknowledgment sent {"connection_id":125507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:03:35] local.INFO: TCP Data received {"connection_id":125508,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc65e08012dcf9fc0051e7c98000d00972f..."} 
[2026-07-07 19:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc65e08012dcf9fc0051e7c98000d00972f..."} 
[2026-07-07 19:03:35] local.INFO: Processing buffer {"connection_id":125508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc65e08012dcf9fc0051e7c98000d00972f..."} 
[2026-07-07 19:03:35] local.INFO: Packet analysis {"connection_id":125508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc6"} 
[2026-07-07 19:03:35] local.INFO: Extracted packet for processing {"connection_id":125508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc6"} 
[2026-07-07 19:03:35] local.INFO: GPS Element Parsed {"raw_longitude":768581568,"raw_latitude":85884056,"longitude_deg":76.8581568,"latitude_deg":8.5884056,"altitude":13,"angle":151,"satellites":47,"speed":24,"hex_longitude":"2dcf9fc0","hex_latitude":"051e7c98","is_valid_coordinates":true} 
[2026-07-07 19:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558347520001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341766288797859840,"note":"Value kept but may cause issues"} 
[2026-07-07 19:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3490360057967894528,"note":"Value kept but may cause issues"} 
[2026-07-07 19:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783431061000,"timestamp_ms":1783431061000,"timestamp_seconds":1783431061,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc65e08"} 
[2026-07-07 19:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 19:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558347520001,"66":27484,"69":206,"80":34816,"24":24,"16":341766288797859840,"45":-3490360057967894528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,80,24,16,45]} 
[2026-07-07 19:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558347520001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:03:35] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-07 19:03:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 19:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341766288797859840,"km_value":341766288797859.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3490360057967894528,"description":"Unknown IO ID 45"} 
[2026-07-07 19:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558347520001,"power":27484,"unknown_69":206,"unknown_80":34816,"ignition":24,"odometer":null,"unknown_45":-3490360057967894528}} 
[2026-07-07 19:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":125508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:03:35] local.INFO: GPS data processed {"connection_id":125508,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:03:35] local.INFO: Acknowledgment sent {"connection_id":125508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:03:40] local.INFO: TCP Data received {"connection_id":124804,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:03:40] local.INFO: Processing buffer {"connection_id":124804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:03:40] local.INFO: IMEI packet received {"connection_id":124804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":124804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:03:44] local.INFO: TCP Data received {"connection_id":124804,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:03:44] local.INFO: Processing buffer {"connection_id":124804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:03:44] local.INFO: IMEI packet received {"connection_id":124804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":124804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:03:45] local.INFO: TCP Data received {"connection_id":124804,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc7a628012d1928c0072000880037015c26..."} 
[2026-07-07 19:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc7a628012d1928c0072000880037015c26..."} 
[2026-07-07 19:03:45] local.INFO: Processing buffer {"connection_id":124804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc7a628012d1928c0072000880037015c26..."} 
[2026-07-07 19:03:45] local.INFO: Packet analysis {"connection_id":124804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc7"} 
[2026-07-07 19:03:45] local.INFO: Extracted packet for processing {"connection_id":124804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc7"} 
[2026-07-07 19:03:45] local.INFO: GPS Element Parsed {"raw_longitude":756623552,"raw_latitude":119537800,"longitude_deg":75.6623552,"latitude_deg":11.95378,"altitude":55,"angle":348,"satellites":38,"speed":8,"hex_longitude":"2d1928c0","hex_latitude":"07200088","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558372608001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4782931415400448,"note":"Value kept but may cause issues"} 
[2026-07-07 19:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1813050724339083264,"note":"Value kept but may cause issues"} 
[2026-07-07 19:03: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-07-07 19:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783431145000,"timestamp_ms":1783431145000,"timestamp_seconds":1783431145,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc7a628"} 
[2026-07-07 19:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 19:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19: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-07-07 19:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558372608001,"66":14211,"121":206,"28":31744,"24":8,"16":4782931415400448,"45":1813050724339083264},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558372608001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:03:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:03:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4782931415400448,"km_value":4782931415400.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1813050724339083264,"description":"Unknown IO ID 45"} 
[2026-07-07 19:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558372608001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1813050724339083264}} 
[2026-07-07 19:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":124804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:03:46] local.INFO: GPS data processed {"connection_id":124804,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:03:46] local.INFO: Acknowledgment sent {"connection_id":124804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:03:50] local.INFO: TCP Data received {"connection_id":124804,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc7b1e0012d192880072003100036000627..."} 
[2026-07-07 19:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc7b1e0012d192880072003100036000627..."} 
[2026-07-07 19:03:50] local.INFO: Processing buffer {"connection_id":124804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc7b1e0012d192880072003100036000627..."} 
[2026-07-07 19:03:50] local.INFO: Packet analysis {"connection_id":124804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc7"} 
[2026-07-07 19:03:50] local.INFO: Extracted packet for processing {"connection_id":124804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc7"} 
[2026-07-07 19:03:50] local.INFO: GPS Element Parsed {"raw_longitude":756623488,"raw_latitude":119538448,"longitude_deg":75.6623488,"latitude_deg":11.9538448,"altitude":54,"angle":6,"satellites":39,"speed":7,"hex_longitude":"2d192880","hex_latitude":"07200310","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558373120001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4782961480171520,"note":"Value kept but may cause issues"} 
[2026-07-07 19:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812909986850834432,"note":"Value kept but may cause issues"} 
[2026-07-07 19:03: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-07-07 19:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783431148000,"timestamp_ms":1783431148000,"timestamp_seconds":1783431148,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc7b1e0"} 
[2026-07-07 19:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 19:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19: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-07-07 19:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":124804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":124804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":124804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558373120001,"66":14070,"121":206,"28":31744,"24":7,"16":4782961480171520,"45":1812909986850834432},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558373120001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:03:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:03:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4782961480171520,"km_value":4782961480171.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812909986850834432,"description":"Unknown IO ID 45"} 
[2026-07-07 19:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558373120001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1812909986850834432}} 
[2026-07-07 19:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":124804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:03:50] local.INFO: GPS data processed {"connection_id":124804,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:03:50] local.INFO: Acknowledgment sent {"connection_id":124804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:03:56] local.INFO: TCP Data received {"connection_id":126774,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:03:56] local.INFO: Processing buffer {"connection_id":126774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:03:56] local.INFO: IMEI packet received {"connection_id":126774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":126774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:04:00] local.INFO: TCP Data received {"connection_id":126774,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:04:00] local.INFO: Processing buffer {"connection_id":126774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:04:00] local.INFO: IMEI packet received {"connection_id":126774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":126774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:04:02] local.INFO: TCP Data received {"connection_id":126775,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:04:02] local.INFO: Processing buffer {"connection_id":126775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:04:02] local.INFO: IMEI packet received {"connection_id":126775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 19:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":126775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:04:03] local.INFO: TCP Data received {"connection_id":126775,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc71d70012d7e34c005d34d60000700532b..."} 
[2026-07-07 19:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc71d70012d7e34c005d34d60000700532b..."} 
[2026-07-07 19:04:03] local.INFO: Processing buffer {"connection_id":126775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc71d70012d7e34c005d34d60000700532b..."} 
[2026-07-07 19:04:03] local.INFO: Packet analysis {"connection_id":126775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc7"} 
[2026-07-07 19:04:03] local.INFO: Extracted packet for processing {"connection_id":126775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc7"} 
[2026-07-07 19:04:03] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97733984,"longitude_deg":76.324576,"latitude_deg":9.7733984,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-07-07 19:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558362880001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820306944,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783431110000,"timestamp_ms":1783431110000,"timestamp_seconds":1783431110,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc71d70"} 
[2026-07-07 19:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 19:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2578,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558362880001,"66":12298,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9094104678820306944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558362880001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:04:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:04:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820306944,"description":"Unknown IO ID 45"} 
[2026-07-07 19:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558362880001,"power":12298,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820306944}} 
[2026-07-07 19:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":126775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:04:03] local.INFO: GPS data processed {"connection_id":126775,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:04:03] local.INFO: Acknowledgment sent {"connection_id":126775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:04:03] local.INFO: TCP Data received {"connection_id":126774,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:04:03] local.INFO: Processing buffer {"connection_id":126774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:04:03] local.INFO: IMEI packet received {"connection_id":126774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":126774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:04:04] local.INFO: TCP Data received {"connection_id":126774,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc68518012dcfae40051e6750000d008a2f..."} 
[2026-07-07 19:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc68518012dcfae40051e6750000d008a2f..."} 
[2026-07-07 19:04:04] local.INFO: Processing buffer {"connection_id":126774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc68518012dcfae40051e6750000d008a2f..."} 
[2026-07-07 19:04:04] local.INFO: Packet analysis {"connection_id":126774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc6"} 
[2026-07-07 19:04:04] local.INFO: Extracted packet for processing {"connection_id":126774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc6"} 
[2026-07-07 19:04:04] local.INFO: GPS Element Parsed {"raw_longitude":768585280,"raw_latitude":85878608,"longitude_deg":76.858528,"latitude_deg":8.5878608,"altitude":13,"angle":138,"satellites":47,"speed":27,"hex_longitude":"2dcfae40","hex_latitude":"051e6750","is_valid_coordinates":true} 
[2026-07-07 19:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558351616001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341766610920407040,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3485856458342623232,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783431071000,"timestamp_ms":1783431071000,"timestamp_seconds":1783431071,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc68518"} 
[2026-07-07 19:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 19:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558351616001,"66":27267,"69":206,"80":34816,"24":27,"16":341766610920407040,"45":-3485856458342623232},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,80,24,16,45]} 
[2026-07-07 19:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558351616001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:04:04] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-07 19:04:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 19:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341766610920407040,"km_value":341766610920407.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3485856458342623232,"description":"Unknown IO ID 45"} 
[2026-07-07 19:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558351616001,"power":27267,"unknown_69":206,"unknown_80":34816,"ignition":27,"odometer":null,"unknown_45":-3485856458342623232}} 
[2026-07-07 19:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":126774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:04:04] local.INFO: GPS data processed {"connection_id":126774,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:04:04] local.INFO: Acknowledgment sent {"connection_id":126774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:04:32] local.INFO: TCP Data received {"connection_id":124706,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:04:32] local.INFO: Processing buffer {"connection_id":124706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:04:32] local.INFO: IMEI packet received {"connection_id":124706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":124706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:04:33] local.INFO: TCP Data received {"connection_id":124706,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:04:33] local.INFO: Processing buffer {"connection_id":124706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:04:33] local.INFO: IMEI packet received {"connection_id":124706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":124706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:04:34] local.INFO: TCP Data received {"connection_id":126775,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc71d70012d7e34c005d34d60000700532b..."} 
[2026-07-07 19:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc71d70012d7e34c005d34d60000700532b..."} 
[2026-07-07 19:04:34] local.INFO: Processing buffer {"connection_id":126775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc71d70012d7e34c005d34d60000700532b..."} 
[2026-07-07 19:04:34] local.INFO: Packet analysis {"connection_id":126775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc7"} 
[2026-07-07 19:04:34] local.INFO: Extracted packet for processing {"connection_id":126775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc7"} 
[2026-07-07 19:04:34] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97733984,"longitude_deg":76.324576,"latitude_deg":9.7733984,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-07-07 19:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558364160001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820306944,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783431110000,"timestamp_ms":1783431110000,"timestamp_seconds":1783431110,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc71d70"} 
[2026-07-07 19:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 19:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:34] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436516815360,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185967,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:34] local.WARNING: Large IO value detected {"io_id":183,"raw_value":7782220156096217089,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:34] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4378887349211070003,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":23408602555367936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055369,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":634164005789958350,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:34] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":24577,"corrected_to":0} 
[2026-07-07 19:04:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419764230628507731,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:34] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3338035201,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-07 19:04:34] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147865421,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:34] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3077308416,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545061376,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:34] local.WARNING: Large IO value detected {"io_id":42,"raw_value":133144641540,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,109,85,24,241,157,16,183,159,9,45,192,77,7,43,10,66,246,128,1,240,184,227,60,211,4,113,205,18,51,88,239,48,2,111,5,42],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":246,"original":24577,"validated":0},{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-07 19:04:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504494602414194927,"timestamp_seconds":504494602414194.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 19:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558364160001,"66":12298,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9094104678820306944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558364160001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:04:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:04:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820306944,"description":"Unknown IO ID 45"} 
[2026-07-07 19:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558364160001,"power":12298,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820306944}} 
[2026-07-07 19:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":126775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:04:34] local.INFO: GPS data processed {"connection_id":126775,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:04:34] local.INFO: Acknowledgment sent {"connection_id":126775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:04:35] local.INFO: TCP Data received {"connection_id":126774,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc6cf50012dcfc880051e4cf0000c00872f..."} 
[2026-07-07 19:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc6cf50012dcfc880051e4cf0000c00872f..."} 
[2026-07-07 19:04:35] local.INFO: Processing buffer {"connection_id":126774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc6cf50012dcfc880051e4cf0000c00872f..."} 
[2026-07-07 19:04:35] local.INFO: Packet analysis {"connection_id":126774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc6"} 
[2026-07-07 19:04:35] local.INFO: Extracted packet for processing {"connection_id":126774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc6"} 
[2026-07-07 19:04:35] local.INFO: GPS Element Parsed {"raw_longitude":768592000,"raw_latitude":85871856,"longitude_deg":76.8592,"latitude_deg":8.5871856,"altitude":12,"angle":135,"satellites":47,"speed":31,"hex_longitude":"2dcfc880","hex_latitude":"051e4cf0","is_valid_coordinates":true} 
[2026-07-07 19:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558354176001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341767070481907712,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3481775071181713408,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783431090000,"timestamp_ms":1783431090000,"timestamp_seconds":1783431090,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc6cf50"} 
[2026-07-07 19:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:04: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-07-07 19:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 19:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558354176001,"66":27223,"67":206,"80":34816,"24":31,"16":341767070481907712,"45":-3481775071181713408},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-07-07 19:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558354176001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:04:35] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-07 19:04:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 19:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341767070481907712,"km_value":341767070481907.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3481775071181713408,"description":"Unknown IO ID 45"} 
[2026-07-07 19:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558354176001,"power":27223,"unknown_67":206,"unknown_80":34816,"ignition":31,"odometer":null,"unknown_45":-3481775071181713408}} 
[2026-07-07 19:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":126774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:04:35] local.INFO: GPS data processed {"connection_id":126774,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:04:35] local.INFO: Acknowledgment sent {"connection_id":126774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:04:37] local.INFO: TCP Data received {"connection_id":124706,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:04:37] local.INFO: Processing buffer {"connection_id":124706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:04:37] local.INFO: IMEI packet received {"connection_id":124706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":124706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:04:37] local.INFO: TCP Data received {"connection_id":124706,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc8dea8012d192900071fff600034008f25..."} 
[2026-07-07 19:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc8dea8012d192900071fff600034008f25..."} 
[2026-07-07 19:04:37] local.INFO: Processing buffer {"connection_id":124706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc8dea8012d192900071fff600034008f25..."} 
[2026-07-07 19:04:37] local.INFO: Packet analysis {"connection_id":124706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:04:37] local.INFO: Extracted packet for processing {"connection_id":124706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756623616,"raw_latitude":119537504,"longitude_deg":75.6623616,"latitude_deg":11.9537504,"altitude":52,"angle":143,"satellites":37,"speed":7,"hex_longitude":"2d192900","hex_latitude":"071fff60","is_valid_coordinates":true} 
[2026-07-07 19:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558393088001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783107509059584,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812839618106654720,"note":"Value kept but may cause issues"} 
[2026-07-07 19:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783431225000,"timestamp_ms":1783431225000,"timestamp_seconds":1783431225,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc8dea8"} 
[2026-07-07 19:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:04: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-07-07 19:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 19:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558393088001,"66":13135,"121":206,"28":31744,"24":7,"16":4783107509059584,"45":1812839618106654720},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558393088001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:04:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:04:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783107509059584,"km_value":4783107509059.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812839618106654720,"description":"Unknown IO ID 45"} 
[2026-07-07 19:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558393088001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1812839618106654720}} 
[2026-07-07 19:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":124706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:04:38] local.INFO: GPS data processed {"connection_id":124706,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:04:38] local.INFO: Acknowledgment sent {"connection_id":124706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:04:58] local.INFO: TCP Data received {"connection_id":125510,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:04:58] local.INFO: Processing buffer {"connection_id":125510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:04:58] local.INFO: IMEI packet received {"connection_id":125510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 19:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":125510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:04:58] local.INFO: TCP Data received {"connection_id":126776,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:04:58] local.INFO: Processing buffer {"connection_id":126776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:04:58] local.INFO: IMEI packet received {"connection_id":126776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":126776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:05:02] local.INFO: TCP Data received {"connection_id":125510,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:05:02] local.INFO: Processing buffer {"connection_id":125510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:05:02] local.INFO: IMEI packet received {"connection_id":125510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 19:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":125510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:05:02] local.INFO: TCP Data received {"connection_id":126776,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:05:02] local.INFO: Processing buffer {"connection_id":126776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:05:02] local.INFO: IMEI packet received {"connection_id":126776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":126776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:05:03] local.INFO: TCP Data received {"connection_id":125510,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc738c8012d7e34c005d34d60000700532b..."} 
[2026-07-07 19:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc738c8012d7e34c005d34d60000700532b..."} 
[2026-07-07 19:05:03] local.INFO: Processing buffer {"connection_id":125510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc738c8012d7e34c005d34d60000700532b..."} 
[2026-07-07 19:05:03] local.INFO: Packet analysis {"connection_id":125510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc7"} 
[2026-07-07 19:05:03] local.INFO: Extracted packet for processing {"connection_id":125510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc7"} 
[2026-07-07 19:05:03] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97733984,"longitude_deg":76.324576,"latitude_deg":9.7733984,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-07-07 19:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558364160001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820306944,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783431117000,"timestamp_ms":1783431117000,"timestamp_seconds":1783431117,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc738c8"} 
[2026-07-07 19:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436516815360,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185967,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":183,"raw_value":7782220156096217089,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4378887349211070003,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":23409702066978816,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055374,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068468328759502,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3338035201,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-07 19:05:03] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1610689918,"corrected_to":0} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147865421,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3087060301,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3077308416,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545061376,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419764230628507731,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":42,"raw_value":283468496900,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,183,159,29,45,192,77,7,43,10,66,9,240,227,60,211,4,113,205,246,51,88,239,1,48,2,111,5,128,42],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":246,"original":1610689918,"validated":0}]} 
[2026-07-07 19:05:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504494602414194928,"timestamp_seconds":504494602414194.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 19:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558364160001,"66":11602,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9094104678820306944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558364160001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:05:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:05:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820306944,"description":"Unknown IO ID 45"} 
[2026-07-07 19:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558364160001,"power":11602,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820306944}} 
[2026-07-07 19:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":125510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:05:03] local.INFO: GPS data processed {"connection_id":125510,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:05:03] local.INFO: Acknowledgment sent {"connection_id":125510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:05:03] local.INFO: TCP Data received {"connection_id":126776,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc8c738012dd06bc0051d8b08001200892f..."} 
[2026-07-07 19:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc8c738012dd06bc0051d8b08001200892f..."} 
[2026-07-07 19:05:03] local.INFO: Processing buffer {"connection_id":126776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc8c738012dd06bc0051d8b08001200892f..."} 
[2026-07-07 19:05:03] local.INFO: Packet analysis {"connection_id":126776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:05:03] local.INFO: Extracted packet for processing {"connection_id":126776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:05:03] local.INFO: GPS Element Parsed {"raw_longitude":768633792,"raw_latitude":85822216,"longitude_deg":76.8633792,"latitude_deg":8.5822216,"altitude":18,"angle":137,"satellites":47,"speed":0,"hex_longitude":"2dd06bc0","hex_latitude":"051d8b08","is_valid_coordinates":true} 
[2026-07-07 19:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558386688001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341770214397968384,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3430265150457573376,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783431219000,"timestamp_ms":1783431219000,"timestamp_seconds":1783431219,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc8c738"} 
[2026-07-07 19:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:05: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-07-07 19:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 19:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558386688001,"66":27365,"81":206,"80":34816,"24":0,"16":341770214397968384,"45":-3430265150457573376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-07 19:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558386688001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-07 19:05:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 19:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341770214397968384,"km_value":341770214397968.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3430265150457573376,"description":"Unknown IO ID 45"} 
[2026-07-07 19:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558386688001,"power":27365,"unknown_81":206,"unknown_80":34816,"ignition":0,"odometer":null,"unknown_45":-3430265150457573376}} 
[2026-07-07 19:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":126776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:05:03] local.INFO: GPS data processed {"connection_id":126776,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:05:03] local.INFO: Acknowledgment sent {"connection_id":126776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:05:09] local.INFO: TCP Data received {"connection_id":124706,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc8e290012d192980071ffee80034008325..."} 
[2026-07-07 19:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc8e290012d192980071ffee80034008325..."} 
[2026-07-07 19:05:09] local.INFO: Processing buffer {"connection_id":124706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc8e290012d192980071ffee80034008325..."} 
[2026-07-07 19:05:09] local.INFO: Packet analysis {"connection_id":124706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:05:09] local.INFO: Extracted packet for processing {"connection_id":124706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:05:09] local.INFO: GPS Element Parsed {"raw_longitude":756623744,"raw_latitude":119537384,"longitude_deg":75.6623744,"latitude_deg":11.9537384,"altitude":52,"angle":131,"satellites":37,"speed":7,"hex_longitude":"2d192980","hex_latitude":"071ffee8","is_valid_coordinates":true} 
[2026-07-07 19:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558393600001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783116098994176,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812980355594936320,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783431226000,"timestamp_ms":1783431226000,"timestamp_seconds":1783431226,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc8e290"} 
[2026-07-07 19:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:05: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-07-07 19: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 19:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558393600001,"66":13135,"121":206,"28":31744,"24":7,"16":4783116098994176,"45":1812980355594936320},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558393600001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:05:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:05:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783116098994176,"km_value":4783116098994.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812980355594936320,"description":"Unknown IO ID 45"} 
[2026-07-07 19:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558393600001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1812980355594936320}} 
[2026-07-07 19:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":124706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:05:09] local.INFO: GPS data processed {"connection_id":124706,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:05:09] local.INFO: Acknowledgment sent {"connection_id":124706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:05:33] local.INFO: TCP Data received {"connection_id":124805,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:05:33] local.INFO: Processing buffer {"connection_id":124805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:05:33] local.INFO: IMEI packet received {"connection_id":124805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":124805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:05:34] local.INFO: TCP Data received {"connection_id":125510,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc738c8012d7e34c005d34d60000700532b..."} 
[2026-07-07 19:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc738c8012d7e34c005d34d60000700532b..."} 
[2026-07-07 19:05:34] local.INFO: Processing buffer {"connection_id":125510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc738c8012d7e34c005d34d60000700532b..."} 
[2026-07-07 19:05:34] local.INFO: Packet analysis {"connection_id":125510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc7"} 
[2026-07-07 19:05:34] local.INFO: Extracted packet for processing {"connection_id":125510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc7"} 
[2026-07-07 19:05:34] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97733984,"longitude_deg":76.324576,"latitude_deg":9.7733984,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-07-07 19:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558365952001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820306944,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783431117000,"timestamp_ms":1783431117000,"timestamp_seconds":1783431117,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc738c8"} 
[2026-07-07 19:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:05: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":82,"data_length":795,"current_offset":136} 
[2026-07-07 19:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558365952001,"66":11602,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9094104678820306944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558365952001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:05:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:05:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820306944,"description":"Unknown IO ID 45"} 
[2026-07-07 19:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558365952001,"power":11602,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820306944}} 
[2026-07-07 19:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":125510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:05:34] local.INFO: GPS data processed {"connection_id":125510,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:05:34] local.INFO: Acknowledgment sent {"connection_id":125510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:05:38] local.INFO: TCP Data received {"connection_id":124805,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:05:38] local.INFO: Processing buffer {"connection_id":124805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:05:38] local.INFO: IMEI packet received {"connection_id":124805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":124805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:05:40] local.INFO: TCP Data received {"connection_id":124805,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc8ea60012d192ac0071ffe280035007427..."} 
[2026-07-07 19:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc8ea60012d192ac0071ffe280035007427..."} 
[2026-07-07 19:05:40] local.INFO: Processing buffer {"connection_id":124805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc8ea60012d192ac0071ffe280035007427..."} 
[2026-07-07 19:05:40] local.INFO: Packet analysis {"connection_id":124805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:05:40] local.INFO: Extracted packet for processing {"connection_id":124805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:05:40] local.INFO: GPS Element Parsed {"raw_longitude":756624064,"raw_latitude":119537192,"longitude_deg":75.6624064,"latitude_deg":11.9537192,"altitude":53,"angle":116,"satellites":39,"speed":7,"hex_longitude":"2d192ac0","hex_latitude":"071ffe28","is_valid_coordinates":true} 
[2026-07-07 19:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558393856001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783133278863360,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1813121093083260928,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783431228000,"timestamp_ms":1783431228000,"timestamp_seconds":1783431228,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc8ea60"} 
[2026-07-07 19:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:05: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-07-07 19:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 19:05: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-07-07 19:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558393856001,"66":13059,"121":206,"28":31744,"24":7,"16":4783133278863360,"45":1813121093083260928},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558393856001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:05:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:05:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783133278863360,"km_value":4783133278863.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1813121093083260928,"description":"Unknown IO ID 45"} 
[2026-07-07 19:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558393856001,"power":13059,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1813121093083260928}} 
[2026-07-07 19:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":124805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:05:40] local.INFO: GPS data processed {"connection_id":124805,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:05:40] local.INFO: Acknowledgment sent {"connection_id":124805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:05:51] local.INFO: TCP Data received {"connection_id":126776,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc91940012dd07a00051d79880011008d2e..."} 
[2026-07-07 19:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc91940012dd07a00051d79880011008d2e..."} 
[2026-07-07 19:05:51] local.INFO: Processing buffer {"connection_id":126776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc91940012dd07a00051d79880011008d2e..."} 
[2026-07-07 19:05:51] local.INFO: Packet analysis {"connection_id":126776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc9"} 
[2026-07-07 19:05:51] local.INFO: Extracted packet for processing {"connection_id":126776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc9"} 
[2026-07-07 19:05:51] local.INFO: GPS Element Parsed {"raw_longitude":768637440,"raw_latitude":85817736,"longitude_deg":76.863744,"latitude_deg":8.5817736,"altitude":17,"angle":141,"satellites":46,"speed":24,"hex_longitude":"2dd07a00","hex_latitude":"051d7988","is_valid_coordinates":true} 
[2026-07-07 19:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558392064001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341770493570842624,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3428435563109480448,"note":"Value kept but may cause issues"} 
[2026-07-07 19:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783431240000,"timestamp_ms":1783431240000,"timestamp_seconds":1783431240,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc91940"} 
[2026-07-07 19:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 19:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:05: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-07-07 19:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558392064001,"66":27376,"10":206,"80":34816,"24":24,"16":341770493570842624,"45":-3428435563109480448},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-07-07 19:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558392064001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:05:51] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-07 19:05:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 19:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341770493570842624,"km_value":341770493570842.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3428435563109480448,"description":"Unknown IO ID 45"} 
[2026-07-07 19:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558392064001,"power":27376,"unknown_10":206,"unknown_80":34816,"ignition":24,"odometer":null,"unknown_45":-3428435563109480448}} 
[2026-07-07 19:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":126776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:05:51] local.INFO: GPS data processed {"connection_id":126776,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:05:51] local.INFO: Acknowledgment sent {"connection_id":126776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:05:58] local.INFO: TCP Data received {"connection_id":125511,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:05:58] local.INFO: Processing buffer {"connection_id":125511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:05:58] local.INFO: IMEI packet received {"connection_id":125511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 19:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":125511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:05:59] local.INFO: TCP Data received {"connection_id":124806,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:05:59] local.INFO: Processing buffer {"connection_id":124806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:05:59] local.INFO: IMEI packet received {"connection_id":124806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":124806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:06:02] local.INFO: TCP Data received {"connection_id":125511,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:06:02] local.INFO: Processing buffer {"connection_id":125511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:06:02] local.INFO: IMEI packet received {"connection_id":125511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 19:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":125511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:06:03] local.INFO: TCP Data received {"connection_id":124806,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:06:03] local.INFO: Processing buffer {"connection_id":124806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:06:03] local.INFO: IMEI packet received {"connection_id":124806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":124806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:06:04] local.INFO: TCP Data received {"connection_id":124806,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc94c08012dd08fc0051d5e08000e008d30..."} 
[2026-07-07 19:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc94c08012dd08fc0051d5e08000e008d30..."} 
[2026-07-07 19:06:04] local.INFO: Processing buffer {"connection_id":124806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc94c08012dd08fc0051d5e08000e008d30..."} 
[2026-07-07 19:06:04] local.INFO: Packet analysis {"connection_id":124806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc9"} 
[2026-07-07 19:06:04] local.INFO: Extracted packet for processing {"connection_id":124806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc9"} 
[2026-07-07 19:06:04] local.INFO: GPS Element Parsed {"raw_longitude":768643008,"raw_latitude":85810696,"longitude_deg":76.8643008,"latitude_deg":8.5810696,"altitude":14,"angle":141,"satellites":48,"speed":32,"hex_longitude":"2dd08fc0","hex_latitude":"051d5e08","is_valid_coordinates":true} 
[2026-07-07 19:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558397440001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341770927362539520,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3424424544692500480,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783431253000,"timestamp_ms":1783431253000,"timestamp_seconds":1783431253,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc94c08"} 
[2026-07-07 19:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 19:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558397440001,"66":27397,"10":206,"80":34816,"24":32,"16":341770927362539520,"45":-3424424544692500480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-07-07 19:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558397440001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:06:04] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-07 19:06:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 19:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341770927362539520,"km_value":341770927362539.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3424424544692500480,"description":"Unknown IO ID 45"} 
[2026-07-07 19:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558397440001,"power":27397,"unknown_10":206,"unknown_80":34816,"ignition":32,"odometer":null,"unknown_45":-3424424544692500480}} 
[2026-07-07 19:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":124806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:06:04] local.INFO: GPS data processed {"connection_id":124806,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:06:04] local.INFO: Acknowledgment sent {"connection_id":124806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:06:05] local.INFO: TCP Data received {"connection_id":125511,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc81b58012d7e32c005d34d70000700532c..."} 
[2026-07-07 19:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc81b58012d7e32c005d34d70000700532c..."} 
[2026-07-07 19:06:05] local.INFO: Processing buffer {"connection_id":125511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc81b58012d7e32c005d34d70000700532c..."} 
[2026-07-07 19:06:05] local.INFO: Packet analysis {"connection_id":125511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:06:05] local.INFO: Extracted packet for processing {"connection_id":125511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:06:05] local.INFO: GPS Element Parsed {"raw_longitude":763245248,"raw_latitude":97734000,"longitude_deg":76.3245248,"latitude_deg":9.7734,"altitude":7,"angle":83,"satellites":44,"speed":0,"hex_longitude":"2d7e32c0","hex_latitude":"05d34d70","is_valid_coordinates":true} 
[2026-07-07 19:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558365952001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820306944,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783431175000,"timestamp_ms":1783431175000,"timestamp_seconds":1783431175,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc81b58"} 
[2026-07-07 19:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-07 19:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558365952001,"66":12526,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9094104678820306944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558365952001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:06:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:06:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820306944,"description":"Unknown IO ID 45"} 
[2026-07-07 19:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558365952001,"power":12526,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820306944}} 
[2026-07-07 19:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":125511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:06:05] local.INFO: GPS data processed {"connection_id":125511,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:06:05] local.INFO: Acknowledgment sent {"connection_id":125511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:06:11] local.INFO: TCP Data received {"connection_id":124805,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc8f230012d192c40071ffd880035006727..."} 
[2026-07-07 19:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc8f230012d192c40071ffd880035006727..."} 
[2026-07-07 19:06:11] local.INFO: Processing buffer {"connection_id":124805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc8f230012d192c40071ffd880035006727..."} 
[2026-07-07 19:06:11] local.INFO: Packet analysis {"connection_id":124805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:06:11] local.INFO: Extracted packet for processing {"connection_id":124805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:06:11] local.INFO: GPS Element Parsed {"raw_longitude":756624448,"raw_latitude":119537032,"longitude_deg":75.6624448,"latitude_deg":11.9537032,"altitude":53,"angle":103,"satellites":39,"speed":9,"hex_longitude":"2d192c40","hex_latitude":"071ffd88","is_valid_coordinates":true} 
[2026-07-07 19:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558394368001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783154753699840,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1813472936804100096,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783431230000,"timestamp_ms":1783431230000,"timestamp_seconds":1783431230,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc8f230"} 
[2026-07-07 19:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-07 19:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303182340214247,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:11] local.WARNING: Large IO value detected {"io_id":121,"raw_value":58015164105490435,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4264099840,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3368755201,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-07 19:06:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3408068,"corrected_to":0} 
[2026-07-07 19:06:11] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2197868007,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:11] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,254,159,226,45,128,52,37,10,66,222,255,214,1,240,224,60,32,4,113,205,5,191,40,200,239,55,2,7,3],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":200,"original":3408068,"validated":0}]} 
[2026-07-07 19:06:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819180194863185920,"timestamp_seconds":3819180194863186.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 19:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558394368001,"66":12374,"121":206,"28":31744,"24":9,"16":4783154753699840,"45":1813472936804100096},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558394368001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:06:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:06:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783154753699840,"km_value":4783154753699.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1813472936804100096,"description":"Unknown IO ID 45"} 
[2026-07-07 19:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558394368001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1813472936804100096}} 
[2026-07-07 19:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":124805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:06:11] local.INFO: GPS data processed {"connection_id":124805,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:06:11] local.INFO: Acknowledgment sent {"connection_id":124805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:06:23] local.INFO: TCP Data received {"connection_id":124807,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:06:23] local.INFO: Processing buffer {"connection_id":124807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:06:23] local.INFO: IMEI packet received {"connection_id":124807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 19:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":124807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:06:34] local.INFO: TCP Data received {"connection_id":126777,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:06:34] local.INFO: Processing buffer {"connection_id":126777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:06:34] local.INFO: IMEI packet received {"connection_id":126777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":126777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:06:35] local.INFO: TCP Data received {"connection_id":124806,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc97700012dd0a700051d40e8000d008e2d..."} 
[2026-07-07 19:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc97700012dd0a700051d40e8000d008e2d..."} 
[2026-07-07 19:06:35] local.INFO: Processing buffer {"connection_id":124806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc97700012dd0a700051d40e8000d008e2d..."} 
[2026-07-07 19:06:35] local.INFO: Packet analysis {"connection_id":124806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc9"} 
[2026-07-07 19:06:35] local.INFO: Extracted packet for processing {"connection_id":124806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc9"} 
[2026-07-07 19:06:35] local.INFO: GPS Element Parsed {"raw_longitude":768648960,"raw_latitude":85803240,"longitude_deg":76.864896,"latitude_deg":8.580324,"altitude":13,"angle":142,"satellites":45,"speed":29,"hex_longitude":"2dd0a700","hex_latitude":"051d40e8","is_valid_coordinates":true} 
[2026-07-07 19:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558400768001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341771391219007488,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3418302463950845952,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783431264000,"timestamp_ms":1783431264000,"timestamp_seconds":1783431264,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc97700"} 
[2026-07-07 19:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:06: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-07-07 19:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 19:06: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-07-07 19:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558400768001,"66":27300,"10":206,"80":34816,"24":29,"16":341771391219007488,"45":-3418302463950845952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-07-07 19:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558400768001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:06:35] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-07 19:06:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 19:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341771391219007488,"km_value":341771391219007.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3418302463950845952,"description":"Unknown IO ID 45"} 
[2026-07-07 19:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558400768001,"power":27300,"unknown_10":206,"unknown_80":34816,"ignition":29,"odometer":null,"unknown_45":-3418302463950845952}} 
[2026-07-07 19:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":124806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:06:35] local.INFO: GPS data processed {"connection_id":124806,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:06:35] local.INFO: Acknowledgment sent {"connection_id":124806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:06:36] local.INFO: TCP Data received {"connection_id":125511,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc81b58012d7e32c005d34d70000700532c..."} 
[2026-07-07 19:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc81b58012d7e32c005d34d70000700532c..."} 
[2026-07-07 19:06:36] local.INFO: Processing buffer {"connection_id":125511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc81b58012d7e32c005d34d70000700532c..."} 
[2026-07-07 19:06:36] local.INFO: Packet analysis {"connection_id":125511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:06:36] local.INFO: Extracted packet for processing {"connection_id":125511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763245248,"raw_latitude":97734000,"longitude_deg":76.3245248,"latitude_deg":9.7734,"altitude":7,"angle":83,"satellites":44,"speed":0,"hex_longitude":"2d7e32c0","hex_latitude":"05d34d70","is_valid_coordinates":true} 
[2026-07-07 19:06: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-07-07 19:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558380800001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093541728866889728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783431175000,"timestamp_ms":1783431175000,"timestamp_seconds":1783431175,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc81b58"} 
[2026-07-07 19:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:06: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-07-07 19:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-07 19:06: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-07-07 19:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558380800001,"66":12526,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093541728866889728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558380800001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:06:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:06:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093541728866889728,"description":"Unknown IO ID 45"} 
[2026-07-07 19:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558380800001,"power":12526,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093541728866889728}} 
[2026-07-07 19:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":125511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:06:36] local.INFO: GPS data processed {"connection_id":125511,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:06:36] local.INFO: Acknowledgment sent {"connection_id":125511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:06:38] local.INFO: TCP Data received {"connection_id":126777,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:06:38] local.INFO: Processing buffer {"connection_id":126777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:06:38] local.INFO: IMEI packet received {"connection_id":126777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":126777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:06:39] local.INFO: TCP Data received {"connection_id":126777,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc901d0012d192f40071ffd380037005527..."} 
[2026-07-07 19:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc901d0012d192f40071ffd380037005527..."} 
[2026-07-07 19:06:39] local.INFO: Processing buffer {"connection_id":126777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc901d0012d192f40071ffd380037005527..."} 
[2026-07-07 19:06:39] local.INFO: Packet analysis {"connection_id":126777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc9"} 
[2026-07-07 19:06:39] local.INFO: Extracted packet for processing {"connection_id":126777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc9"} 
[2026-07-07 19:06:39] local.INFO: GPS Element Parsed {"raw_longitude":756625216,"raw_latitude":119536952,"longitude_deg":75.6625216,"latitude_deg":11.9536952,"altitude":55,"angle":85,"satellites":39,"speed":3,"hex_longitude":"2d192f40","hex_latitude":"071ffd38","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558394880001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783193408405504,"note":"Value kept but may cause issues"} 
[2026-07-07 19:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1813895149269125120,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 19:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783431234000,"timestamp_ms":1783431234000,"timestamp_seconds":1783431234,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc901d0"} 
[2026-07-07 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-07-07 19:06: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-07-07 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-07-07 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-07-07 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-07-07 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-07-07 19:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558394880001,"66":13167,"121":206,"28":31744,"24":3,"16":4783193408405504,"45":1813895149269125120},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558394880001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:06:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:06:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783193408405504,"km_value":4783193408405.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1813895149269125120,"description":"Unknown IO ID 45"} 
[2026-07-07 19:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558394880001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1813895149269125120}} 
[2026-07-07 19:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":126777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:06:39] local.INFO: GPS data processed {"connection_id":126777,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:06:39] local.INFO: Acknowledgment sent {"connection_id":126777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:06:58] local.INFO: TCP Data received {"connection_id":124708,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:06:58] local.INFO: Processing buffer {"connection_id":124708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:06:58] local.INFO: IMEI packet received {"connection_id":124708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 19:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":124708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:06:58] local.INFO: TCP Data received {"connection_id":124808,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:06:58] local.INFO: Processing buffer {"connection_id":124808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:06:58] local.INFO: IMEI packet received {"connection_id":124808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":124808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:06:58] local.INFO: TCP Data received {"connection_id":124808,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:06:58] local.INFO: Processing buffer {"connection_id":124808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:06:58] local.INFO: IMEI packet received {"connection_id":124808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":124808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:07:03] local.INFO: TCP Data received {"connection_id":124708,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:07:03] local.INFO: Processing buffer {"connection_id":124708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:07:03] local.INFO: IMEI packet received {"connection_id":124708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 19:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":124708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:07:03] local.INFO: TCP Data received {"connection_id":124808,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:07:03] local.INFO: Processing buffer {"connection_id":124808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:07:03] local.INFO: IMEI packet received {"connection_id":124808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":124808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:07:04] local.INFO: TCP Data received {"connection_id":124808,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc9a9c8012dd0bdc0051d2370000e009028..."} 
[2026-07-07 19:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc9a9c8012dd0bdc0051d2370000e009028..."} 
[2026-07-07 19:07:04] local.INFO: Processing buffer {"connection_id":124808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc9a9c8012dd0bdc0051d2370000e009028..."} 
[2026-07-07 19:07:04] local.INFO: Packet analysis {"connection_id":124808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc9"} 
[2026-07-07 19:07:04] local.INFO: Extracted packet for processing {"connection_id":124808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc9"} 
[2026-07-07 19:07:04] local.INFO: GPS Element Parsed {"raw_longitude":768654784,"raw_latitude":85795696,"longitude_deg":76.8654784,"latitude_deg":8.5795696,"altitude":14,"angle":144,"satellites":40,"speed":31,"hex_longitude":"2dd0bdc0","hex_latitude":"051d2370","is_valid_coordinates":true} 
[2026-07-07 19:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558403584001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341771850780508160,"note":"Value kept but may cause issues"} 
[2026-07-07 19:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3411758170744231936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783431277000,"timestamp_ms":1783431277000,"timestamp_seconds":1783431277,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc9a9c8"} 
[2026-07-07 19:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 19:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558403584001,"66":27463,"10":206,"80":34816,"24":31,"16":341771850780508160,"45":-3411758170744231936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-07-07 19:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558403584001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:07:04] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-07 19:07:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 19:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341771850780508160,"km_value":341771850780508.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3411758170744231936,"description":"Unknown IO ID 45"} 
[2026-07-07 19:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558403584001,"power":27463,"unknown_10":206,"unknown_80":34816,"ignition":31,"odometer":null,"unknown_45":-3411758170744231936}} 
[2026-07-07 19:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":124808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:07:05] local.INFO: GPS data processed {"connection_id":124808,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:07:05] local.INFO: Acknowledgment sent {"connection_id":124808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:07:11] local.INFO: TCP Data received {"connection_id":126777,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc91170012d192f00071ffd280037010526..."} 
[2026-07-07 19:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc91170012d192f00071ffd280037010526..."} 
[2026-07-07 19:07:11] local.INFO: Processing buffer {"connection_id":126777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc91170012d192f00071ffd280037010526..."} 
[2026-07-07 19:07:11] local.INFO: Packet analysis {"connection_id":126777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc9"} 
[2026-07-07 19:07:11] local.INFO: Extracted packet for processing {"connection_id":126777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc9"} 
[2026-07-07 19:07:11] local.INFO: GPS Element Parsed {"raw_longitude":756625152,"raw_latitude":119536936,"longitude_deg":75.6625152,"latitude_deg":11.9536936,"altitude":55,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d192f00","hex_latitude":"071ffd28","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558395904001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783193408405504,"note":"Value kept but may cause issues"} 
[2026-07-07 19:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814739574199236608,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 19:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783431238000,"timestamp_ms":1783431238000,"timestamp_seconds":1783431238,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc91170"} 
[2026-07-07 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-07-07 19:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 19:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 19:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558395904001,"66":13037,"121":206,"28":31744,"24":0,"16":4783193408405504,"45":1814739574199236608},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558395904001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:07:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:07:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783193408405504,"km_value":4783193408405.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814739574199236608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558395904001,"power":13037,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1814739574199236608}} 
[2026-07-07 19:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":126777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:07:11] local.INFO: GPS data processed {"connection_id":126777,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:07:11] local.INFO: Acknowledgment sent {"connection_id":126777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:07:28] local.INFO: TCP Data received {"connection_id":124708,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc86d60012d7e34c005d34d60000700532c..."} 
[2026-07-07 19:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc86d60012d7e34c005d34d60000700532c..."} 
[2026-07-07 19:07:28] local.INFO: Processing buffer {"connection_id":124708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc86d60012d7e34c005d34d60000700532c..."} 
[2026-07-07 19:07:28] local.INFO: Packet analysis {"connection_id":124708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:07:28] local.INFO: Extracted packet for processing {"connection_id":124708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97733984,"longitude_deg":76.324576,"latitude_deg":9.7733984,"altitude":7,"angle":83,"satellites":44,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-07-07 19:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558380800001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093541728866889728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783431196000,"timestamp_ms":1783431196000,"timestamp_seconds":1783431196,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc86d60"} 
[2026-07-07 19:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-07 19:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558380800001,"66":11580,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093541728866889728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558380800001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:07:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093541728866889728,"description":"Unknown IO ID 45"} 
[2026-07-07 19:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558380800001,"power":11580,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093541728866889728}} 
[2026-07-07 19:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":124708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:07:28] local.INFO: GPS data processed {"connection_id":124708,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:07:28] local.INFO: Acknowledgment sent {"connection_id":124708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:07:34] local.INFO: TCP Data received {"connection_id":124809,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:07:34] local.INFO: Processing buffer {"connection_id":124809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:07:34] local.INFO: IMEI packet received {"connection_id":124809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":124809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:07:36] local.INFO: TCP Data received {"connection_id":124808,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccb7aa0012dd19600051be0b00013008c2d..."} 
[2026-07-07 19:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccb7aa0012dd19600051be0b00013008c2d..."} 
[2026-07-07 19:07:36] local.INFO: Processing buffer {"connection_id":124808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccb7aa0012dd19600051be0b00013008c2d..."} 
[2026-07-07 19:07:36] local.INFO: Packet analysis {"connection_id":124808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccb"} 
[2026-07-07 19:07:36] local.INFO: Extracted packet for processing {"connection_id":124808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccb"} 
[2026-07-07 19:07:36] local.INFO: GPS Element Parsed {"raw_longitude":768710144,"raw_latitude":85713072,"longitude_deg":76.8710144,"latitude_deg":8.5713072,"altitude":19,"angle":140,"satellites":45,"speed":46,"hex_longitude":"2dd19600","hex_latitude":"051be0b0","is_valid_coordinates":true} 
[2026-07-07 19:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558435328001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341776682618716160,"note":"Value kept but may cause issues"} 
[2026-07-07 19:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3350466994586673152,"note":"Value kept but may cause issues"} 
[2026-07-07 19:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783431396000,"timestamp_ms":1783431396000,"timestamp_seconds":1783431396,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccb7aa0"} 
[2026-07-07 19:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 19:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558435328001,"66":27332,"254":206,"80":34816,"24":46,"16":341776682618716160,"45":-3350466994586673152},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,80,24,16,45]} 
[2026-07-07 19:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558435328001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:07:36] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-07 19:07:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 19:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341776682618716160,"km_value":341776682618716.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3350466994586673152,"description":"Unknown IO ID 45"} 
[2026-07-07 19:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558435328001,"power":27332,"unknown_254":206,"unknown_80":34816,"ignition":46,"odometer":null,"unknown_45":-3350466994586673152}} 
[2026-07-07 19:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":124808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:07:36] local.INFO: GPS data processed {"connection_id":124808,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:07:36] local.INFO: Acknowledgment sent {"connection_id":124808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:07:38] local.INFO: TCP Data received {"connection_id":124809,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:07:38] local.INFO: Processing buffer {"connection_id":124809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:07:38] local.INFO: IMEI packet received {"connection_id":124809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":124809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:07:39] local.INFO: TCP Data received {"connection_id":124809,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc91940012d192e40071ffd200037011228..."} 
[2026-07-07 19:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc91940012d192e40071ffd200037011228..."} 
[2026-07-07 19:07:39] local.INFO: Processing buffer {"connection_id":124809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc91940012d192e40071ffd200037011228..."} 
[2026-07-07 19:07:39] local.INFO: Packet analysis {"connection_id":124809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc9"} 
[2026-07-07 19:07:39] local.INFO: Extracted packet for processing {"connection_id":124809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc9"} 
[2026-07-07 19:07:39] local.INFO: GPS Element Parsed {"raw_longitude":756624960,"raw_latitude":119536928,"longitude_deg":75.662496,"latitude_deg":11.9536928,"altitude":55,"angle":274,"satellites":40,"speed":1,"hex_longitude":"2d192e40","hex_latitude":"071ffd20","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558396928001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783201998340096,"note":"Value kept but may cause issues"} 
[2026-07-07 19:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814669205455054848,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 19:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783431240000,"timestamp_ms":1783431240000,"timestamp_seconds":1783431240,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc91940"} 
[2026-07-07 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-07-07 19:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-07 19:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 19:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558396928001,"66":13167,"121":206,"28":31744,"24":1,"16":4783201998340096,"45":1814669205455054848},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558396928001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:07:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:07:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783201998340096,"km_value":4783201998340.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814669205455054848,"description":"Unknown IO ID 45"} 
[2026-07-07 19:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558396928001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1814669205455054848}} 
[2026-07-07 19:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":124809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:07:40] local.INFO: GPS data processed {"connection_id":124809,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:07:40] local.INFO: Acknowledgment sent {"connection_id":124809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:07:57] local.INFO: TCP Data received {"connection_id":124709,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:07:57] local.INFO: Processing buffer {"connection_id":124709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:07:57] local.INFO: IMEI packet received {"connection_id":124709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 19:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":124709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:07:58] local.INFO: TCP Data received {"connection_id":126778,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:07:58] local.INFO: Processing buffer {"connection_id":126778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:07:58] local.INFO: IMEI packet received {"connection_id":126778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":126778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:07:58] local.INFO: TCP Data received {"connection_id":126778,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:07:58] local.INFO: Processing buffer {"connection_id":126778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:07:58] local.INFO: IMEI packet received {"connection_id":126778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":126778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:08:03] local.INFO: TCP Data received {"connection_id":124709,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:08:03] local.INFO: Processing buffer {"connection_id":124709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:08:03] local.INFO: IMEI packet received {"connection_id":124709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 19:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":124709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:08:04] local.INFO: TCP Data received {"connection_id":124709,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc8b3b0012d7e34c005d34d60000700532c..."} 
[2026-07-07 19:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc8b3b0012d7e34c005d34d60000700532c..."} 
[2026-07-07 19:08:04] local.INFO: Processing buffer {"connection_id":124709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc8b3b0012d7e34c005d34d60000700532c..."} 
[2026-07-07 19:08:04] local.INFO: Packet analysis {"connection_id":124709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:08:04] local.INFO: Extracted packet for processing {"connection_id":124709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:08:04] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97733984,"longitude_deg":76.324576,"latitude_deg":9.7733984,"altitude":7,"angle":83,"satellites":44,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-07-07 19:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558386176001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820306944,"note":"Value kept but may cause issues"} 
[2026-07-07 19:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783431214000,"timestamp_ms":1783431214000,"timestamp_seconds":1783431214,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc8b3b0"} 
[2026-07-07 19:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-07 19:08:04] 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-07-07 19:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558386176001,"66":11558,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9094104678820306944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558386176001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:08:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:08:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820306944,"description":"Unknown IO ID 45"} 
[2026-07-07 19:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558386176001,"power":11558,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820306944}} 
[2026-07-07 19:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":124709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:08:04] local.INFO: GPS data processed {"connection_id":124709,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:08:04] local.INFO: Acknowledgment sent {"connection_id":124709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:08:06] local.INFO: TCP Data received {"connection_id":126778,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:08:06] local.INFO: Processing buffer {"connection_id":126778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:08:06] local.INFO: IMEI packet received {"connection_id":126778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":126778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:08:07] local.INFO: TCP Data received {"connection_id":126778,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccb99e0012dd1ae80051bc4900015008a2c..."} 
[2026-07-07 19:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccb99e0012dd1ae80051bc4900015008a2c..."} 
[2026-07-07 19:08:07] local.INFO: Processing buffer {"connection_id":126778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccb99e0012dd1ae80051bc4900015008a2c..."} 
[2026-07-07 19:08:07] local.INFO: Packet analysis {"connection_id":126778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccb"} 
[2026-07-07 19:08:07] local.INFO: Extracted packet for processing {"connection_id":126778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccb"} 
[2026-07-07 19:08:07] local.INFO: GPS Element Parsed {"raw_longitude":768716416,"raw_latitude":85705872,"longitude_deg":76.8716416,"latitude_deg":8.5705872,"altitude":21,"angle":138,"satellites":44,"speed":48,"hex_longitude":"2dd1ae80","hex_latitude":"051bc490","is_valid_coordinates":true} 
[2026-07-07 19:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558437376001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341777142180216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3344485651333468160,"note":"Value kept but may cause issues"} 
[2026-07-07 19:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783431404000,"timestamp_ms":1783431404000,"timestamp_seconds":1783431404,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccb99e0"} 
[2026-07-07 19:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 19:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558437376001,"66":27332,"254":206,"80":34816,"24":48,"16":341777142180216832,"45":-3344485651333468160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,80,24,16,45]} 
[2026-07-07 19:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558437376001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:08:07] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-07 19:08:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 19:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341777142180216832,"km_value":341777142180216.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3344485651333468160,"description":"Unknown IO ID 45"} 
[2026-07-07 19:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558437376001,"power":27332,"unknown_254":206,"unknown_80":34816,"ignition":48,"odometer":null,"unknown_45":-3344485651333468160}} 
[2026-07-07 19:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":126778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:08:07] local.INFO: GPS data processed {"connection_id":126778,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:08:07] local.INFO: Acknowledgment sent {"connection_id":126778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:08:11] local.INFO: TCP Data received {"connection_id":124809,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc924f8012d192dc0071ffd30003801262a..."} 
[2026-07-07 19:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc924f8012d192dc0071ffd30003801262a..."} 
[2026-07-07 19:08:11] local.INFO: Processing buffer {"connection_id":124809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc924f8012d192dc0071ffd30003801262a..."} 
[2026-07-07 19:08:11] local.INFO: Packet analysis {"connection_id":124809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc9"} 
[2026-07-07 19:08:11] local.INFO: Extracted packet for processing {"connection_id":124809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc9"} 
[2026-07-07 19:08:11] local.INFO: GPS Element Parsed {"raw_longitude":756624832,"raw_latitude":119536944,"longitude_deg":75.6624832,"latitude_deg":11.9536944,"altitude":56,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d192dc0","hex_latitude":"071ffd30","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558397440001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783210588274688,"note":"Value kept but may cause issues"} 
[2026-07-07 19:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814458099222519808,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 19:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783431243000,"timestamp_ms":1783431243000,"timestamp_seconds":1783431243,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc924f8"} 
[2026-07-07 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-07-07 19:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 19:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 19:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558397440001,"66":13167,"121":206,"28":31744,"24":0,"16":4783210588274688,"45":1814458099222519808},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558397440001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:08:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:08:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783210588274688,"km_value":4783210588274.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814458099222519808,"description":"Unknown IO ID 45"} 
[2026-07-07 19:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558397440001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1814458099222519808}} 
[2026-07-07 19:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":124809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:08:11] local.INFO: GPS data processed {"connection_id":124809,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:08:11] local.INFO: Acknowledgment sent {"connection_id":124809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:08:33] local.INFO: TCP Data received {"connection_id":125513,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:08:33] local.INFO: Processing buffer {"connection_id":125513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:08:33] local.INFO: IMEI packet received {"connection_id":125513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":125513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:08:35] local.INFO: TCP Data received {"connection_id":124709,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc8b3b0012d7e34c005d34d60000700532c..."} 
[2026-07-07 19:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc8b3b0012d7e34c005d34d60000700532c..."} 
[2026-07-07 19:08:35] local.INFO: Processing buffer {"connection_id":124709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc8b3b0012d7e34c005d34d60000700532c..."} 
[2026-07-07 19:08:35] local.INFO: Packet analysis {"connection_id":124709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:08:35] local.INFO: Extracted packet for processing {"connection_id":124709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:08:35] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97733984,"longitude_deg":76.324576,"latitude_deg":9.7733984,"altitude":7,"angle":83,"satellites":44,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-07-07 19:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558390784001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820306944,"note":"Value kept but may cause issues"} 
[2026-07-07 19:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783431214000,"timestamp_ms":1783431214000,"timestamp_seconds":1783431214,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc8b3b0"} 
[2026-07-07 19:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 19:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":765,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558390784001,"66":11558,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9094104678820306944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558390784001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:08:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:08:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820306944,"description":"Unknown IO ID 45"} 
[2026-07-07 19:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558390784001,"power":11558,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820306944}} 
[2026-07-07 19:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":124709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:08:35] local.INFO: GPS data processed {"connection_id":124709,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:08:35] local.INFO: Acknowledgment sent {"connection_id":124709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:08:38] local.INFO: TCP Data received {"connection_id":126778,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccbb920012dd1c780051ba7a80017008c2d..."} 
[2026-07-07 19:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccbb920012dd1c780051ba7a80017008c2d..."} 
[2026-07-07 19:08:38] local.INFO: Processing buffer {"connection_id":126778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccbb920012dd1c780051ba7a80017008c2d..."} 
[2026-07-07 19:08:38] local.INFO: Packet analysis {"connection_id":126778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccb"} 
[2026-07-07 19:08:38] local.INFO: Extracted packet for processing {"connection_id":126778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccb"} 
[2026-07-07 19:08:38] local.INFO: GPS Element Parsed {"raw_longitude":768722816,"raw_latitude":85698472,"longitude_deg":76.8722816,"latitude_deg":8.5698472,"altitude":23,"angle":140,"satellites":45,"speed":49,"hex_longitude":"2dd1c780","hex_latitude":"051ba7a8","is_valid_coordinates":true} 
[2026-07-07 19:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558439424001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341777614626619392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3337589514405900288,"note":"Value kept but may cause issues"} 
[2026-07-07 19:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783431412000,"timestamp_ms":1783431412000,"timestamp_seconds":1783431412,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccbb920"} 
[2026-07-07 19:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 19:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558439424001,"66":27321,"254":206,"80":34816,"24":49,"16":341777614626619392,"45":-3337589514405900288},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,80,24,16,45]} 
[2026-07-07 19:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558439424001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:08:38] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-07 19:08:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 19:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341777614626619392,"km_value":341777614626619.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3337589514405900288,"description":"Unknown IO ID 45"} 
[2026-07-07 19:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558439424001,"power":27321,"unknown_254":206,"unknown_80":34816,"ignition":49,"odometer":null,"unknown_45":-3337589514405900288}} 
[2026-07-07 19:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":126778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:08:38] local.INFO: GPS data processed {"connection_id":126778,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:08:38] local.INFO: Acknowledgment sent {"connection_id":126778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:08:38] local.INFO: TCP Data received {"connection_id":125513,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:08:38] local.INFO: Processing buffer {"connection_id":125513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:08:38] local.INFO: IMEI packet received {"connection_id":125513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":125513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:08:40] local.INFO: TCP Data received {"connection_id":125513,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc93c68012d192f40071ffd000038006128..."} 
[2026-07-07 19:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc93c68012d192f40071ffd000038006128..."} 
[2026-07-07 19:08:40] local.INFO: Processing buffer {"connection_id":125513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc93c68012d192f40071ffd000038006128..."} 
[2026-07-07 19:08:40] local.INFO: Packet analysis {"connection_id":125513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc9"} 
[2026-07-07 19:08:40] local.INFO: Extracted packet for processing {"connection_id":125513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc9"} 
[2026-07-07 19:08:40] local.INFO: GPS Element Parsed {"raw_longitude":756625216,"raw_latitude":119536896,"longitude_deg":75.6625216,"latitude_deg":11.9536896,"altitude":56,"angle":97,"satellites":40,"speed":6,"hex_longitude":"2d192f40","hex_latitude":"071ffd00","is_valid_coordinates":true} 
[2026-07-07 19:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558398208001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783232063111168,"note":"Value kept but may cause issues"} 
[2026-07-07 19:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814317361734168576,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 19:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783431249000,"timestamp_ms":1783431249000,"timestamp_seconds":1783431249,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc93c68"} 
[2026-07-07 19:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:08: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-07-07 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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-07 19:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558398208001,"66":13243,"121":206,"28":31744,"24":6,"16":4783232063111168,"45":1814317361734168576},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558398208001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:08:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:08:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783232063111168,"km_value":4783232063111.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814317361734168576,"description":"Unknown IO ID 45"} 
[2026-07-07 19:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558398208001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1814317361734168576}} 
[2026-07-07 19:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":125513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:08:40] local.INFO: GPS data processed {"connection_id":125513,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:08:40] local.INFO: Acknowledgment sent {"connection_id":125513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:09:02] local.INFO: TCP Data received {"connection_id":124711,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:09:02] local.INFO: Processing buffer {"connection_id":124711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:09:02] local.INFO: IMEI packet received {"connection_id":124711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":124711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:09:02] local.INFO: TCP Data received {"connection_id":125514,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:09:02] local.INFO: Processing buffer {"connection_id":125514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:09:02] local.INFO: IMEI packet received {"connection_id":125514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 19:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":125514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:09:03] local.INFO: TCP Data received {"connection_id":124711,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:09:03] local.INFO: Processing buffer {"connection_id":124711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:09:03] local.INFO: IMEI packet received {"connection_id":124711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":124711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:09:07] local.INFO: TCP Data received {"connection_id":124711,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:09:07] local.INFO: Processing buffer {"connection_id":124711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:09:07] local.INFO: IMEI packet received {"connection_id":124711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":124711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:09:07] local.INFO: TCP Data received {"connection_id":125514,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:09:07] local.INFO: Processing buffer {"connection_id":125514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:09:07] local.INFO: IMEI packet received {"connection_id":125514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 19:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":125514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:09:08] local.INFO: TCP Data received {"connection_id":124711,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cccbed8012dd25d80051a6018001400b12e..."} 
[2026-07-07 19:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cccbed8012dd25d80051a6018001400b12e..."} 
[2026-07-07 19:09:08] local.INFO: Processing buffer {"connection_id":124711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cccbed8012dd25d80051a6018001400b12e..."} 
[2026-07-07 19:09:08] local.INFO: Packet analysis {"connection_id":124711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccc"} 
[2026-07-07 19:09:08] local.INFO: Extracted packet for processing {"connection_id":124711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccc"} 
[2026-07-07 19:09:08] local.INFO: GPS Element Parsed {"raw_longitude":768761216,"raw_latitude":85614616,"longitude_deg":76.8761216,"latitude_deg":8.5614616,"altitude":20,"angle":177,"satellites":46,"speed":59,"hex_longitude":"2dd25d80","hex_latitude":"051a6018","is_valid_coordinates":true} 
[2026-07-07 19:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558456832001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341782180176855040,"note":"Value kept but may cause issues"} 
[2026-07-07 19:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3289105449688221696,"note":"Value kept but may cause issues"} 
[2026-07-07 19:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783431479000,"timestamp_ms":1783431479000,"timestamp_seconds":1783431479,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cccbed8"} 
[2026-07-07 19:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:09: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-07-07 19:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 19:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558456832001,"66":27365,"209":206,"80":34816,"24":59,"16":341782180176855040,"45":-3289105449688221696},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,80,24,16,45]} 
[2026-07-07 19:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558456832001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:09:08] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-07 19:09:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 19:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341782180176855040,"km_value":341782180176855.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3289105449688221696,"description":"Unknown IO ID 45"} 
[2026-07-07 19:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558456832001,"power":27365,"unknown_209":206,"unknown_80":34816,"ignition":59,"odometer":null,"unknown_45":-3289105449688221696}} 
[2026-07-07 19:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":124711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:09:08] local.INFO: GPS data processed {"connection_id":124711,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:09:08] local.INFO: Acknowledgment sent {"connection_id":124711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:09:08] local.INFO: TCP Data received {"connection_id":125514,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc8dac0012d7e34c005d34d60000700532d..."} 
[2026-07-07 19:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc8dac0012d7e34c005d34d60000700532d..."} 
[2026-07-07 19:09:08] local.INFO: Processing buffer {"connection_id":125514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc8dac0012d7e34c005d34d60000700532d..."} 
[2026-07-07 19:09:08] local.INFO: Packet analysis {"connection_id":125514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:09:08] local.INFO: Extracted packet for processing {"connection_id":125514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:09:08] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97733984,"longitude_deg":76.324576,"latitude_deg":9.7733984,"altitude":7,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-07-07 19:09: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-07-07 19:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558390784001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820306944,"note":"Value kept but may cause issues"} 
[2026-07-07 19:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783431224000,"timestamp_ms":1783431224000,"timestamp_seconds":1783431224,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc8dac0"} 
[2026-07-07 19:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-07 19:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":765,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558390784001,"66":12135,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9094104678820306944},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558390784001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:09:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:09:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820306944,"description":"Unknown IO ID 45"} 
[2026-07-07 19:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558390784001,"power":12135,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820306944}} 
[2026-07-07 19:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":125514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:09:08] local.INFO: GPS data processed {"connection_id":125514,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:09:08] local.INFO: Acknowledgment sent {"connection_id":125514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:09:11] local.INFO: TCP Data received {"connection_id":125513,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc96760012d193a80071ffab8003b005027..."} 
[2026-07-07 19:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc96760012d193a80071ffab8003b005027..."} 
[2026-07-07 19:09:11] local.INFO: Processing buffer {"connection_id":125513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc96760012d193a80071ffab8003b005027..."} 
[2026-07-07 19:09:11] local.INFO: Packet analysis {"connection_id":125513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc9"} 
[2026-07-07 19:09:11] local.INFO: Extracted packet for processing {"connection_id":125513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc9"} 
[2026-07-07 19:09:11] local.INFO: GPS Element Parsed {"raw_longitude":756628096,"raw_latitude":119536312,"longitude_deg":75.6628096,"latitude_deg":11.9536312,"altitude":59,"angle":80,"satellites":39,"speed":6,"hex_longitude":"2d193a80","hex_latitude":"071ffab8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558399744001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783373797031936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814739574199222272,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 19:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783431260000,"timestamp_ms":1783431260000,"timestamp_seconds":1783431260,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc96760"} 
[2026-07-07 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-07-07 19:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 19:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 19:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558399744001,"66":13222,"121":206,"28":31744,"24":6,"16":4783373797031936,"45":1814739574199222272},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558399744001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:09:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:09:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783373797031936,"km_value":4783373797031.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814739574199222272,"description":"Unknown IO ID 45"} 
[2026-07-07 19:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558399744001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1814739574199222272}} 
[2026-07-07 19:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":125513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:09:11] local.INFO: GPS data processed {"connection_id":125513,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:09:11] local.INFO: Acknowledgment sent {"connection_id":125513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:09:13] local.INFO: TCP Data received {"connection_id":125514,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cc8dac0012d7e34c005d34d60000700532d..."} 
[2026-07-07 19:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cc8dac0012d7e34c005d34d60000700532d..."} 
[2026-07-07 19:09:13] local.INFO: Processing buffer {"connection_id":125514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cc8dac0012d7e34c005d34d60000700532d..."} 
[2026-07-07 19:09:13] local.INFO: Packet analysis {"connection_id":125514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:09:13] local.INFO: Extracted packet for processing {"connection_id":125514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cc8"} 
[2026-07-07 19:09:13] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97733984,"longitude_deg":76.324576,"latitude_deg":9.7733984,"altitude":7,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-07-07 19:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558393344001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820306944,"note":"Value kept but may cause issues"} 
[2026-07-07 19:09: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-07-07 19:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783431224000,"timestamp_ms":1783431224000,"timestamp_seconds":1783431224,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cc8dac0"} 
[2026-07-07 19:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 19:09: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-07-07 19:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558393344001,"66":12135,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9094104678820306944},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558393344001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:09:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:09:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820306944,"description":"Unknown IO ID 45"} 
[2026-07-07 19:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558393344001,"power":12135,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820306944}} 
[2026-07-07 19:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":125514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:09:13] local.INFO: GPS data processed {"connection_id":125514,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:09:13] local.INFO: Acknowledgment sent {"connection_id":125514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:09:33] local.INFO: TCP Data received {"connection_id":126779,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:09:33] local.INFO: Processing buffer {"connection_id":126779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:09:33] local.INFO: IMEI packet received {"connection_id":126779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":126779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:09:39] local.INFO: TCP Data received {"connection_id":126779,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:09:39] local.INFO: Processing buffer {"connection_id":126779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:09:39] local.INFO: IMEI packet received {"connection_id":126779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":126779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:09:39] local.INFO: TCP Data received {"connection_id":124711,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cccd648012dd26000051a3cd8001400b02e..."} 
[2026-07-07 19:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cccd648012dd26000051a3cd8001400b02e..."} 
[2026-07-07 19:09:39] local.INFO: Processing buffer {"connection_id":124711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cccd648012dd26000051a3cd8001400b02e..."} 
[2026-07-07 19:09:39] local.INFO: Packet analysis {"connection_id":124711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccc"} 
[2026-07-07 19:09:39] local.INFO: Extracted packet for processing {"connection_id":124711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccc"} 
[2026-07-07 19:09:39] local.INFO: GPS Element Parsed {"raw_longitude":768761856,"raw_latitude":85605592,"longitude_deg":76.8761856,"latitude_deg":8.5605592,"altitude":20,"angle":176,"satellites":46,"speed":60,"hex_longitude":"2dd26000","hex_latitude":"051a3cd8","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558458624001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341782618263519232,"note":"Value kept but may cause issues"} 
[2026-07-07 19:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3288331393504897024,"note":"Value kept but may cause issues"} 
[2026-07-07 19:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783431485000,"timestamp_ms":1783431485000,"timestamp_seconds":1783431485,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cccd648"} 
[2026-07-07 19:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:09: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-07-07 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 19:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19: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-07-07 19:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558458624001,"66":27343,"209":206,"80":34816,"24":60,"16":341782618263519232,"45":-3288331393504897024},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,80,24,16,45]} 
[2026-07-07 19:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558458624001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:09:39] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-07 19:09:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 19:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341782618263519232,"km_value":341782618263519.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3288331393504897024,"description":"Unknown IO ID 45"} 
[2026-07-07 19:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558458624001,"power":27343,"unknown_209":206,"unknown_80":34816,"ignition":60,"odometer":null,"unknown_45":-3288331393504897024}} 
[2026-07-07 19:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":124711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:09:39] local.INFO: GPS data processed {"connection_id":124711,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:09:39] local.INFO: Acknowledgment sent {"connection_id":124711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:09:40] local.INFO: TCP Data received {"connection_id":126779,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cccedb8012d193b80071ffad8003c005427..."} 
[2026-07-07 19:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cccedb8012d193b80071ffad8003c005427..."} 
[2026-07-07 19:09:40] local.INFO: Processing buffer {"connection_id":126779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cccedb8012d193b80071ffad8003c005427..."} 
[2026-07-07 19:09:40] local.INFO: Packet analysis {"connection_id":126779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccc"} 
[2026-07-07 19:09:40] local.INFO: Extracted packet for processing {"connection_id":126779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccc"} 
[2026-07-07 19:09:40] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":39,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558456320001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783431491000,"timestamp_ms":1783431491000,"timestamp_seconds":1783431491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cccedb8"} 
[2026-07-07 19:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:09: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-07-07 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 19:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558456320001,"66":12852,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558456320001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:09:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:09:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558456320001,"power":12852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":126779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:09:40] local.INFO: GPS data processed {"connection_id":126779,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:09:40] local.INFO: Acknowledgment sent {"connection_id":126779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:09:58] local.INFO: TCP Data received {"connection_id":126780,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:09:58] local.INFO: Processing buffer {"connection_id":126780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:09:58] local.INFO: IMEI packet received {"connection_id":126780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 19:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":126780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:09:58] local.INFO: TCP Data received {"connection_id":126781,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:09:58] local.INFO: Processing buffer {"connection_id":126781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:09:58] local.INFO: IMEI packet received {"connection_id":126781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":126781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:10:00] local.INFO: TCP Data received {"connection_id":126781,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:10:00] local.INFO: Processing buffer {"connection_id":126781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:10:00] local.INFO: IMEI packet received {"connection_id":126781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":126781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:10:01] local.INFO: TCP Data received {"connection_id":126781,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cccedb8012dd26240051a1960001400af2d..."} 
[2026-07-07 19:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cccedb8012dd26240051a1960001400af2d..."} 
[2026-07-07 19:10:01] local.INFO: Processing buffer {"connection_id":126781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cccedb8012dd26240051a1960001400af2d..."} 
[2026-07-07 19:10:01] local.INFO: Packet analysis {"connection_id":126781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccc"} 
[2026-07-07 19:10:01] local.INFO: Extracted packet for processing {"connection_id":126781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccc"} 
[2026-07-07 19:10:01] local.INFO: GPS Element Parsed {"raw_longitude":768762432,"raw_latitude":85596512,"longitude_deg":76.8762432,"latitude_deg":8.5596512,"altitude":20,"angle":175,"satellites":45,"speed":60,"hex_longitude":"2dd26240","hex_latitude":"051a1960","is_valid_coordinates":true} 
[2026-07-07 19:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558460160001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341783060645150720,"note":"Value kept but may cause issues"} 
[2026-07-07 19:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3287627706065430528,"note":"Value kept but may cause issues"} 
[2026-07-07 19:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783431491000,"timestamp_ms":1783431491000,"timestamp_seconds":1783431491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cccedb8"} 
[2026-07-07 19:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:10: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-07-07 19:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 19:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558460160001,"66":27397,"209":206,"80":34816,"24":60,"16":341783060645150720,"45":-3287627706065430528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,80,24,16,45]} 
[2026-07-07 19:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558460160001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:10:01] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-07 19:10:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 19:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341783060645150720,"km_value":341783060645150.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3287627706065430528,"description":"Unknown IO ID 45"} 
[2026-07-07 19:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558460160001,"power":27397,"unknown_209":206,"unknown_80":34816,"ignition":60,"odometer":null,"unknown_45":-3287627706065430528}} 
[2026-07-07 19:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":126781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:10:01] local.INFO: GPS data processed {"connection_id":126781,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:10:01] local.INFO: Acknowledgment sent {"connection_id":126781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:10:03] local.INFO: TCP Data received {"connection_id":126780,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:10:03] local.INFO: Processing buffer {"connection_id":126780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:10:03] local.INFO: IMEI packet received {"connection_id":126780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 19:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":126780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:10:03] local.INFO: TCP Data received {"connection_id":126780,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:10:03] local.INFO: Processing buffer {"connection_id":126780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:10:03] local.INFO: Packet analysis {"connection_id":126780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:10:03] local.INFO: Extracted packet for processing {"connection_id":126780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:10:03] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558393344001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820306944,"note":"Value kept but may cause issues"} 
[2026-07-07 19:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783431516000,"timestamp_ms":1783431516000,"timestamp_seconds":1783431516,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccd4f60"} 
[2026-07-07 19:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 19:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558393344001,"66":2253,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9094104678820306944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558393344001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:10:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:10:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820306944,"description":"Unknown IO ID 45"} 
[2026-07-07 19:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558393344001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820306944}} 
[2026-07-07 19:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":126780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:10:03] local.INFO: GPS data processed {"connection_id":126780,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:10:03] local.INFO: Acknowledgment sent {"connection_id":126780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:10:12] local.INFO: TCP Data received {"connection_id":126779,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccd3fc0012d193b80071ffad8003c005425..."} 
[2026-07-07 19:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccd3fc0012d193b80071ffad8003c005425..."} 
[2026-07-07 19:10:12] local.INFO: Processing buffer {"connection_id":126779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccd3fc0012d193b80071ffad8003c005425..."} 
[2026-07-07 19:10:12] local.INFO: Packet analysis {"connection_id":126779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:10:12] local.INFO: Extracted packet for processing {"connection_id":126779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:10:12] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":37,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558461696001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783431512000,"timestamp_ms":1783431512000,"timestamp_seconds":1783431512,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccd3fc0"} 
[2026-07-07 19:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:10: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-07-07 19: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":52,"data_length":795,"current_offset":136} 
[2026-07-07 19:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558461696001,"66":12113,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558461696001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:10:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:10:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558461696001,"power":12113,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":126779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:10:12] local.INFO: GPS data processed {"connection_id":126779,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:10:12] local.INFO: Acknowledgment sent {"connection_id":126779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:10:32] local.INFO: TCP Data received {"connection_id":126781,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cce2250012dd2840005186fa0000b00af2e..."} 
[2026-07-07 19:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cce2250012dd2840005186fa0000b00af2e..."} 
[2026-07-07 19:10:32] local.INFO: Processing buffer {"connection_id":126781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cce2250012dd2840005186fa0000b00af2e..."} 
[2026-07-07 19:10:32] local.INFO: Packet analysis {"connection_id":126781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cce"} 
[2026-07-07 19:10:32] local.INFO: Extracted packet for processing {"connection_id":126781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cce"} 
[2026-07-07 19:10:32] local.INFO: GPS Element Parsed {"raw_longitude":768771072,"raw_latitude":85487520,"longitude_deg":76.8771072,"latitude_deg":8.548752,"altitude":11,"angle":175,"satellites":46,"speed":46,"hex_longitude":"2dd28400","hex_latitude":"05186fa0","is_valid_coordinates":true} 
[2026-07-07 19:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558479872001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341788360634793984,"note":"Value kept but may cause issues"} 
[2026-07-07 19:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3278198294373519360,"note":"Value kept but may cause issues"} 
[2026-07-07 19:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783431570000,"timestamp_ms":1783431570000,"timestamp_seconds":1783431570,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cce2250"} 
[2026-07-07 19:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-07 19:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558479872001,"66":27343,"177":206,"80":34304,"24":46,"16":341788360634793984,"45":-3278198294373519360},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-07 19:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558479872001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:10:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 19:10:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341788360634793984,"km_value":341788360634794.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3278198294373519360,"description":"Unknown IO ID 45"} 
[2026-07-07 19:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558479872001,"power":27343,"unknown_177":206,"unknown_80":34304,"ignition":46,"odometer":null,"unknown_45":-3278198294373519360}} 
[2026-07-07 19:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":126781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:10:32] local.INFO: GPS data processed {"connection_id":126781,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:10:32] local.INFO: Acknowledgment sent {"connection_id":126781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:10:35] local.INFO: TCP Data received {"connection_id":126780,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:10:35] local.INFO: Processing buffer {"connection_id":126780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:10:35] local.INFO: Packet analysis {"connection_id":126780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:10:35] local.INFO: Extracted packet for processing {"connection_id":126780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:10:35] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558393344001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820306944,"note":"Value kept but may cause issues"} 
[2026-07-07 19:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783431516000,"timestamp_ms":1783431516000,"timestamp_seconds":1783431516,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccd4f60"} 
[2026-07-07 19:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 19:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558393344001,"66":2253,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9094104678820306944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558393344001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:10:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:10:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820306944,"description":"Unknown IO ID 45"} 
[2026-07-07 19:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558393344001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820306944}} 
[2026-07-07 19:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":126780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:10:35] local.INFO: GPS data processed {"connection_id":126780,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:10:35] local.INFO: Acknowledgment sent {"connection_id":126780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:10:38] local.INFO: TCP Data received {"connection_id":125515,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:10:38] local.INFO: Processing buffer {"connection_id":125515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:10:38] local.INFO: IMEI packet received {"connection_id":125515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":125515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:10:43] local.INFO: TCP Data received {"connection_id":125515,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:10:43] local.INFO: Processing buffer {"connection_id":125515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:10:43] local.INFO: IMEI packet received {"connection_id":125515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":125515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:10:44] local.INFO: TCP Data received {"connection_id":125515,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccd91c8012d193b80071ffad8003c005426..."} 
[2026-07-07 19:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccd91c8012d193b80071ffad8003c005426..."} 
[2026-07-07 19:10:44] local.INFO: Processing buffer {"connection_id":125515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccd91c8012d193b80071ffad8003c005426..."} 
[2026-07-07 19:10:44] local.INFO: Packet analysis {"connection_id":125515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:10:44] local.INFO: Extracted packet for processing {"connection_id":125515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:10:44] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":38,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558467072001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783431533000,"timestamp_ms":1783431533000,"timestamp_seconds":1783431533,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccd91c8"} 
[2026-07-07 19:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-07 19:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19: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-07-07 19:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":125515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":125515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":125515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558467072001,"66":12819,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558467072001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:10:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:10:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558467072001,"power":12819,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":125515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:10:45] local.INFO: GPS data processed {"connection_id":125515,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:10:45] local.INFO: Acknowledgment sent {"connection_id":125515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:10:57] local.INFO: TCP Data received {"connection_id":126784,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:10:57] local.INFO: Processing buffer {"connection_id":126784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:10:57] local.INFO: IMEI packet received {"connection_id":126784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 19:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":126784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:10:58] local.INFO: TCP Data received {"connection_id":126785,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:10:58] local.INFO: Processing buffer {"connection_id":126785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:10:58] local.INFO: IMEI packet received {"connection_id":126785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":126785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:10:59] local.INFO: TCP Data received {"connection_id":126785,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:10:59] local.INFO: Processing buffer {"connection_id":126785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:10:59] local.INFO: IMEI packet received {"connection_id":126785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":126785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:11:03] local.INFO: TCP Data received {"connection_id":126784,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:11:03] local.INFO: Processing buffer {"connection_id":126784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:11:03] local.INFO: IMEI packet received {"connection_id":126784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 19:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":126784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:11:03] local.INFO: TCP Data received {"connection_id":126785,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:11:03] local.INFO: Processing buffer {"connection_id":126785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:11:03] local.INFO: IMEI packet received {"connection_id":126785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":126785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:11:04] local.INFO: TCP Data received {"connection_id":126785,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cce4190012dd2860005184b68000c00b12d..."} 
[2026-07-07 19:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cce4190012dd2860005184b68000c00b12d..."} 
[2026-07-07 19:11:04] local.INFO: Processing buffer {"connection_id":126785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cce4190012dd2860005184b68000c00b12d..."} 
[2026-07-07 19:11:04] local.INFO: Packet analysis {"connection_id":126785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cce"} 
[2026-07-07 19:11:04] local.INFO: Extracted packet for processing {"connection_id":126785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cce"} 
[2026-07-07 19:11:04] local.INFO: GPS Element Parsed {"raw_longitude":768771584,"raw_latitude":85478248,"longitude_deg":76.8771584,"latitude_deg":8.5478248,"altitude":12,"angle":177,"satellites":45,"speed":38,"hex_longitude":"2dd28600","hex_latitude":"05184b68","is_valid_coordinates":true} 
[2026-07-07 19:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558481920001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341788811606360064,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3277494606934073344,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783431578000,"timestamp_ms":1783431578000,"timestamp_seconds":1783431578,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cce4190"} 
[2026-07-07 19:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 19:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558481920001,"66":27332,"177":206,"80":34304,"24":38,"16":341788811606360064,"45":-3277494606934073344},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-07 19:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558481920001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:11:04] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 19:11:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341788811606360064,"km_value":341788811606360.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3277494606934073344,"description":"Unknown IO ID 45"} 
[2026-07-07 19:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558481920001,"power":27332,"unknown_177":206,"unknown_80":34304,"ignition":38,"odometer":null,"unknown_45":-3277494606934073344}} 
[2026-07-07 19:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":126785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:11:04] local.INFO: GPS data processed {"connection_id":126785,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:11:04] local.INFO: Acknowledgment sent {"connection_id":126785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:11:05] local.INFO: TCP Data received {"connection_id":126784,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:11:05] local.INFO: Processing buffer {"connection_id":126784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:11:05] local.INFO: Packet analysis {"connection_id":126784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:11:05] local.INFO: Extracted packet for processing {"connection_id":126784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:11:05] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558393344001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820306944,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783431516000,"timestamp_ms":1783431516000,"timestamp_seconds":1783431516,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccd4f60"} 
[2026-07-07 19:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 19:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558393344001,"66":2253,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9094104678820306944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558393344001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:11:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:11:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820306944,"description":"Unknown IO ID 45"} 
[2026-07-07 19:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558393344001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820306944}} 
[2026-07-07 19:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":126784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:11:05] local.INFO: GPS data processed {"connection_id":126784,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:11:05] local.INFO: Acknowledgment sent {"connection_id":126784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:11:16] local.INFO: TCP Data received {"connection_id":125515,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccde3d0012d193b80071ffad8003c005423..."} 
[2026-07-07 19:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccde3d0012d193b80071ffad8003c005423..."} 
[2026-07-07 19:11:16] local.INFO: Processing buffer {"connection_id":125515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccde3d0012d193b80071ffad8003c005423..."} 
[2026-07-07 19:11:16] local.INFO: Packet analysis {"connection_id":125515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:11:16] local.INFO: Extracted packet for processing {"connection_id":125515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:11:16] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":35,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558472448001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783431554000,"timestamp_ms":1783431554000,"timestamp_seconds":1783431554,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccde3d0"} 
[2026-07-07 19:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 19:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:16] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503672616124416,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4269277184,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:16] local.WARNING: Large IO value detected {"io_id":60,"raw_value":-3795531726217200768,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:16] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4208459836,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:16] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5044295469745111296,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-07 19:11:16] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2684431641,"corrected_to":0} 
[2026-07-07 19:11:16] local.WARNING: Large IO value detected {"io_id":59,"raw_value":2147950586,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:16] local.WARNING: Large IO value detected {"io_id":216,"raw_value":16888860067758080,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:16] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182139515306240,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:16] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-4539402030338224612,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:16] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2304391654871684137,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:16] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195064320,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:16] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84751711331622906,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:16] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,254,159,63,45,128,250,60,37,10,66,237,39,155,1,240,124,31,4,113,205,247,59,216,239,50,2,7,120,69,136],"length":625,"final_offset":755,"validated_count":37,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0},{"io_id":247,"original":2684431641,"validated":0}]} 
[2026-07-07 19:11:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323548164461166592,"timestamp_seconds":4323548164461166.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 19:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558472448001,"66":12711,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558472448001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:11:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:11:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558472448001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":125515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:11:17] local.INFO: GPS data processed {"connection_id":125515,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:11:17] local.INFO: Acknowledgment sent {"connection_id":125515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:11:33] local.INFO: TCP Data received {"connection_id":124712,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:11:33] local.INFO: Processing buffer {"connection_id":124712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:11:33] local.INFO: IMEI packet received {"connection_id":124712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":124712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:11:36] local.INFO: TCP Data received {"connection_id":126785,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cce7070012dd287c0051828c0000c00b22d..."} 
[2026-07-07 19:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cce7070012dd287c0051828c0000c00b22d..."} 
[2026-07-07 19:11:36] local.INFO: Processing buffer {"connection_id":126785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cce7070012dd287c0051828c0000c00b22d..."} 
[2026-07-07 19:11:36] local.INFO: Packet analysis {"connection_id":126785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cce"} 
[2026-07-07 19:11:36] local.INFO: Extracted packet for processing {"connection_id":126785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cce"} 
[2026-07-07 19:11:36] local.INFO: GPS Element Parsed {"raw_longitude":768772032,"raw_latitude":85469376,"longitude_deg":76.8772032,"latitude_deg":8.5469376,"altitude":12,"angle":178,"satellites":45,"speed":25,"hex_longitude":"2dd287c0","hex_latitude":"051828c0","is_valid_coordinates":true} 
[2026-07-07 19:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558483968001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341789241103089664,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3276931656983025664,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783431590000,"timestamp_ms":1783431590000,"timestamp_seconds":1783431590,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cce7070"} 
[2026-07-07 19:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:11: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-07-07 19:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 19:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558483968001,"66":27245,"177":206,"80":34304,"24":25,"16":341789241103089664,"45":-3276931656983025664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-07 19:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558483968001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:11:36] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 19:11:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341789241103089664,"km_value":341789241103089.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3276931656983025664,"description":"Unknown IO ID 45"} 
[2026-07-07 19:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558483968001,"power":27245,"unknown_177":206,"unknown_80":34304,"ignition":25,"odometer":null,"unknown_45":-3276931656983025664}} 
[2026-07-07 19:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":126785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:11:36] local.INFO: GPS data processed {"connection_id":126785,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:11:36] local.INFO: Acknowledgment sent {"connection_id":126785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:11:38] local.INFO: TCP Data received {"connection_id":124712,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:11:38] local.INFO: Processing buffer {"connection_id":124712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:11:38] local.INFO: IMEI packet received {"connection_id":124712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":124712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:11:38] local.INFO: TCP Data received {"connection_id":124712,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:11:38] local.INFO: Processing buffer {"connection_id":124712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:11:38] local.INFO: IMEI packet received {"connection_id":124712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":124712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:11:38] local.INFO: TCP Data received {"connection_id":126783,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:11:38] local.INFO: Processing buffer {"connection_id":126783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:11:38] local.INFO: IMEI packet received {"connection_id":126783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 19:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":126783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:11:40] local.INFO: TCP Data received {"connection_id":124712,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cce35d8012d193b80071ffad8003c005426..."} 
[2026-07-07 19:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cce35d8012d193b80071ffad8003c005426..."} 
[2026-07-07 19:11:40] local.INFO: Processing buffer {"connection_id":124712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cce35d8012d193b80071ffad8003c005426..."} 
[2026-07-07 19:11:40] local.INFO: Packet analysis {"connection_id":124712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cce"} 
[2026-07-07 19:11:40] local.INFO: Extracted packet for processing {"connection_id":124712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cce"} 
[2026-07-07 19:11:40] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":38,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558477824001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783431575000,"timestamp_ms":1783431575000,"timestamp_seconds":1783431575,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cce35d8"} 
[2026-07-07 19:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:11: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-07-07 19:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-07 19:11: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-07-07 19:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558477824001,"66":12819,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558477824001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:11:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:11:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558477824001,"power":12819,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":124712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:11:40] local.INFO: GPS data processed {"connection_id":124712,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:11:40] local.INFO: Acknowledgment sent {"connection_id":124712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:11:44] local.INFO: TCP Data received {"connection_id":124712,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cce87e0012d193b80071ffad8003c005427..."} 
[2026-07-07 19:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cce87e0012d193b80071ffad8003c005427..."} 
[2026-07-07 19:11:44] local.INFO: Processing buffer {"connection_id":124712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cce87e0012d193b80071ffad8003c005427..."} 
[2026-07-07 19:11:44] local.INFO: Packet analysis {"connection_id":124712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cce"} 
[2026-07-07 19:11:44] local.INFO: Extracted packet for processing {"connection_id":124712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cce"} 
[2026-07-07 19:11:44] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":39,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558483200001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783431596000,"timestamp_ms":1783431596000,"timestamp_seconds":1783431596,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cce87e0"} 
[2026-07-07 19:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 19:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:44] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503672616124416,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4269277184,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:44] local.WARNING: Large IO value detected {"io_id":60,"raw_value":-3749352237850608768,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:44] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4208459836,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:44] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5044295469745111296,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-07 19:11:44] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:44] local.WARNING: Large IO value detected {"io_id":59,"raw_value":2147950586,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:44] local.WARNING: Large IO value detected {"io_id":216,"raw_value":16888860067758080,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:44] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182139515306240,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:44] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2304391654871684133,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:44] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637878573969125860,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:44] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:44] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195047680,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:44] local.WARNING: Large IO value detected {"io_id":152,"raw_value":84751711331622906,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:44] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,254,159,227,45,128,250,60,35,10,66,145,38,63,1,240,81,31,4,113,205,155,59,216,39,239,47,2,7,50,124,120,69,152],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-07 19:11:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323548164461166592,"timestamp_seconds":4323548164461166.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 19:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558483200001,"66":12809,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558483200001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:11:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:11:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558483200001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":124712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:11:44] local.INFO: GPS data processed {"connection_id":124712,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:11:44] local.INFO: Acknowledgment sent {"connection_id":124712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:11:50] local.INFO: TCP Data received {"connection_id":126784,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:11:50] local.INFO: Processing buffer {"connection_id":126784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:11:50] local.INFO: Packet analysis {"connection_id":126784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:11:50] local.INFO: Extracted packet for processing {"connection_id":126784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:11:50] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558393344001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820306944,"note":"Value kept but may cause issues"} 
[2026-07-07 19:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783431516000,"timestamp_ms":1783431516000,"timestamp_seconds":1783431516,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccd4f60"} 
[2026-07-07 19:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 19:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558393344001,"66":2253,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9094104678820306944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558393344001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:11:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:11:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820306944,"description":"Unknown IO ID 45"} 
[2026-07-07 19:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558393344001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820306944}} 
[2026-07-07 19:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":126784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:11:50] local.INFO: GPS data processed {"connection_id":126784,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:11:50] local.INFO: Acknowledgment sent {"connection_id":126784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:11:57] local.INFO: TCP Data received {"connection_id":125516,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:11:57] local.INFO: Processing buffer {"connection_id":125516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:11:57] local.INFO: IMEI packet received {"connection_id":125516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 19:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":125516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:11:58] local.INFO: TCP Data received {"connection_id":125517,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:11:58] local.INFO: Processing buffer {"connection_id":125517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:11:58] local.INFO: IMEI packet received {"connection_id":125517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 19:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":125517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:11:59] local.INFO: TCP Data received {"connection_id":126786,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:11:59] local.INFO: Processing buffer {"connection_id":126786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:11:59] local.INFO: IMEI packet received {"connection_id":126786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":126786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:12:03] local.INFO: TCP Data received {"connection_id":125516,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:12:03] local.INFO: Processing buffer {"connection_id":125516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:12:03] local.INFO: IMEI packet received {"connection_id":125516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 19:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":125516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:12:03] local.INFO: TCP Data received {"connection_id":125516,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:12:03] local.INFO: Processing buffer {"connection_id":125516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:12:03] local.INFO: Packet analysis {"connection_id":125516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:12:03] local.INFO: Extracted packet for processing {"connection_id":125516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:12:03] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558393344001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820306944,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783431516000,"timestamp_ms":1783431516000,"timestamp_seconds":1783431516,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccd4f60"} 
[2026-07-07 19:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 19:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558393344001,"66":2253,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9094104678820306944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558393344001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:12:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:12:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820306944,"description":"Unknown IO ID 45"} 
[2026-07-07 19:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558393344001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820306944}} 
[2026-07-07 19:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":125516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:12:03] local.INFO: GPS data processed {"connection_id":125516,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:12:03] local.INFO: Acknowledgment sent {"connection_id":125516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:12:16] local.INFO: TCP Data received {"connection_id":126786,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 19:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126786,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 19:12:16] local.INFO: Processing buffer {"connection_id":126786,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 19:12:16] local.INFO: IMEI packet received {"connection_id":126786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":126786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:12:16] local.INFO: TCP Data received {"connection_id":124712,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cced9e8012d193b80071ffad8003c005427..."} 
[2026-07-07 19:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cced9e8012d193b80071ffad8003c005427..."} 
[2026-07-07 19:12:16] local.INFO: Processing buffer {"connection_id":124712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cced9e8012d193b80071ffad8003c005427..."} 
[2026-07-07 19:12:16] local.INFO: Packet analysis {"connection_id":124712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cce"} 
[2026-07-07 19:12:16] local.INFO: Extracted packet for processing {"connection_id":124712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cce"} 
[2026-07-07 19:12:16] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":39,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558488576001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783431617000,"timestamp_ms":1783431617000,"timestamp_seconds":1783431617,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cced9e8"} 
[2026-07-07 19:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-07 19:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4269277184,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:16] local.WARNING: Large IO value detected {"io_id":60,"raw_value":-3726262493667312768,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4208459836,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-07 19:12:16] local.WARNING: Large IO value detected {"io_id":237,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:16] local.WARNING: Large IO value detected {"io_id":59,"raw_value":2147950586,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:16] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2304391654871684134,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:16] local.WARNING: Large IO value detected {"io_id":47,"raw_value":8935368054754299420,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:16] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:16] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,254,159,53,45,128,250,60,38,10,66,227,35,145,1,240,19,31,4,113,205,237,59,216,39,239,50,2,7,47,124,120],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-07 19:12:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323548168756133888,"timestamp_seconds":4323548168756134.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 19:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558488576001,"66":12809,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558488576001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:12:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:12:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558488576001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":124712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:12:16] local.INFO: GPS data processed {"connection_id":124712,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:12:16] local.INFO: Acknowledgment sent {"connection_id":124712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:12:17] local.INFO: TCP Data received {"connection_id":126786,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cce9b68012dd2890005180458000c00b12e..."} 
[2026-07-07 19:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cce9b68012dd2890005180458000c00b12e..."} 
[2026-07-07 19:12:17] local.INFO: Processing buffer {"connection_id":126786,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f3c..."} 
[2026-07-07 19:12:17] local.INFO: IMEI packet received {"connection_id":126786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":126786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:12:18] local.INFO: TCP Data received {"connection_id":126786,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccec278012dd28a400517dfc8000b00b22e..."} 
[2026-07-07 19:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccec278012dd28a400517dfc8000b00b22e..."} 
[2026-07-07 19:12:18] local.INFO: Processing buffer {"connection_id":126786,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3cce9b68012dd2890005180458000c00b12e..."} 
[2026-07-07 19:12:18] local.INFO: Packet analysis {"connection_id":126786,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3cce"} 
[2026-07-07 19:12:18] local.INFO: Extracted packet for processing {"connection_id":126786,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cce"} 
[2026-07-07 19:12:18] local.INFO: GPS Element Parsed {"raw_longitude":768772352,"raw_latitude":85460056,"longitude_deg":76.8772352,"latitude_deg":8.5460056,"altitude":12,"angle":177,"satellites":46,"speed":37,"hex_longitude":"2dd28900","hex_latitude":"05180458","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558487040001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341789692074655744,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3276439075776053248,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783431601000,"timestamp_ms":1783431601000,"timestamp_seconds":1783431601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cce9b68"} 
[2026-07-07 19:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19: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-07-07 19:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 19:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":126786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":126786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":126786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:12: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-07-07 19:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558487040001,"66":27376,"177":206,"80":34304,"24":37,"16":341789692074655744,"45":-3276439075776053248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-07 19:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558487040001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:12:18] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 19:12:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341789692074655744,"km_value":341789692074655.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3276439075776053248,"description":"Unknown IO ID 45"} 
[2026-07-07 19:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558487040001,"power":27376,"unknown_177":206,"unknown_80":34304,"ignition":37,"odometer":null,"unknown_45":-3276439075776053248}} 
[2026-07-07 19:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":126786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:12:18] local.INFO: GPS data processed {"connection_id":126786,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:12:18] local.INFO: Acknowledgment sent {"connection_id":126786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:12:18] local.INFO: Packet analysis {"connection_id":126786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cce"} 
[2026-07-07 19:12:18] local.INFO: Extracted packet for processing {"connection_id":126786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cce"} 
[2026-07-07 19:12:18] local.INFO: GPS Element Parsed {"raw_longitude":768772672,"raw_latitude":85450696,"longitude_deg":76.8772672,"latitude_deg":8.5450696,"altitude":11,"angle":178,"satellites":46,"speed":37,"hex_longitude":"2dd28a40","hex_latitude":"0517dfc8","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558489856001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341790147341189120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3276087232057550848,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783431611000,"timestamp_ms":1783431611000,"timestamp_seconds":1783431611,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccec278"} 
[2026-07-07 19:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19: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-07-07 19:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 19:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":126786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":126786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":126786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:12: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-07-07 19:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558489856001,"66":27365,"178":206,"80":34304,"24":37,"16":341790147341189120,"45":-3276087232057550848},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,80,24,16,45]} 
[2026-07-07 19:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558489856001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:12:18] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-07 19:12:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341790147341189120,"km_value":341790147341189.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3276087232057550848,"description":"Unknown IO ID 45"} 
[2026-07-07 19:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558489856001,"power":27365,"unknown_178":206,"unknown_80":34304,"ignition":37,"odometer":null,"unknown_45":-3276087232057550848}} 
[2026-07-07 19:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":126786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:12:18] local.INFO: GPS data processed {"connection_id":126786,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:12:18] local.INFO: Acknowledgment sent {"connection_id":126786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:12:19] local.INFO: TCP Data received {"connection_id":126786,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccee988012dd28b000517b980000a00b22e..."} 
[2026-07-07 19:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccee988012dd28b000517b980000a00b22e..."} 
[2026-07-07 19:12:19] local.INFO: Processing buffer {"connection_id":126786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccee988012dd28b000517b980000a00b22e..."} 
[2026-07-07 19:12:19] local.INFO: Packet analysis {"connection_id":126786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cce"} 
[2026-07-07 19:12:19] local.INFO: Extracted packet for processing {"connection_id":126786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cce"} 
[2026-07-07 19:12:19] local.INFO: GPS Element Parsed {"raw_longitude":768772864,"raw_latitude":85440896,"longitude_deg":76.8772864,"latitude_deg":8.5440896,"altitude":10,"angle":178,"satellites":46,"speed":40,"hex_longitude":"2dd28b00","hex_latitude":"0517b980","is_valid_coordinates":true} 
[2026-07-07 19:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558492416001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341790624082558976,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3275735388339058688,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783431621000,"timestamp_ms":1783431621000,"timestamp_seconds":1783431621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccee988"} 
[2026-07-07 19:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19: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-07-07 19:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 19:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":126786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":126786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":126786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:12: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-07-07 19:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558492416001,"66":27267,"178":206,"80":34304,"24":40,"16":341790624082558976,"45":-3275735388339058688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,80,24,16,45]} 
[2026-07-07 19:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558492416001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:12:19] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-07 19:12:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341790624082558976,"km_value":341790624082559.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3275735388339058688,"description":"Unknown IO ID 45"} 
[2026-07-07 19:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558492416001,"power":27267,"unknown_178":206,"unknown_80":34304,"ignition":40,"odometer":null,"unknown_45":-3275735388339058688}} 
[2026-07-07 19:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":126786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:12:19] local.INFO: GPS data processed {"connection_id":126786,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:12:19] local.INFO: Acknowledgment sent {"connection_id":126786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:12:35] local.INFO: TCP Data received {"connection_id":125516,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:12:35] local.INFO: Processing buffer {"connection_id":125516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:12:35] local.INFO: Packet analysis {"connection_id":125516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:12:35] local.INFO: Extracted packet for processing {"connection_id":125516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:12:35] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558393344001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820306944,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783431516000,"timestamp_ms":1783431516000,"timestamp_seconds":1783431516,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccd4f60"} 
[2026-07-07 19:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 19:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558393344001,"66":2253,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9094104678820306944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558393344001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:12:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:12:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820306944,"description":"Unknown IO ID 45"} 
[2026-07-07 19:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558393344001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820306944}} 
[2026-07-07 19:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":125516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:12:35] local.INFO: GPS data processed {"connection_id":125516,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:12:35] local.INFO: Acknowledgment sent {"connection_id":125516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:12:38] local.INFO: TCP Data received {"connection_id":124713,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:12:38] local.INFO: Processing buffer {"connection_id":124713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:12:38] local.INFO: IMEI packet received {"connection_id":124713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":124713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:12:41] local.INFO: TCP Data received {"connection_id":124713,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:12:41] local.INFO: Processing buffer {"connection_id":124713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:12:41] local.INFO: IMEI packet received {"connection_id":124713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":124713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:12:44] local.INFO: TCP Data received {"connection_id":124713,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:12:44] local.INFO: Processing buffer {"connection_id":124713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:12:44] local.INFO: IMEI packet received {"connection_id":124713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":124713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:12:45] local.INFO: TCP Data received {"connection_id":124713,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccf2bf0012d193b80071ffad8003c005429..."} 
[2026-07-07 19:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccf2bf0012d193b80071ffad8003c005429..."} 
[2026-07-07 19:12:45] local.INFO: Processing buffer {"connection_id":124713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccf2bf0012d193b80071ffad8003c005429..."} 
[2026-07-07 19:12:45] local.INFO: Packet analysis {"connection_id":124713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccf"} 
[2026-07-07 19:12:45] local.INFO: Extracted packet for processing {"connection_id":124713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccf"} 
[2026-07-07 19:12:45] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":41,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558493952001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12: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-07-07 19:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783431638000,"timestamp_ms":1783431638000,"timestamp_seconds":1783431638,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccf2bf0"} 
[2026-07-07 19:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-07 19:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4269277184,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:45] local.WARNING: Large IO value detected {"io_id":60,"raw_value":-3703172749484016768,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4208459836,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-07 19:12:45] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:45] local.WARNING: Large IO value detected {"io_id":59,"raw_value":2147950586,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2304391654871684135,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3747221284023488028,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:45] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:45] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,254,159,135,45,128,250,60,39,10,66,53,38,227,1,240,167,31,4,113,205,63,59,216,37,239,47,2,7,50,124,120],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-07 19:12:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323548168756133888,"timestamp_seconds":4323548168756134.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 19:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558493952001,"66":12722,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558493952001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:12:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:12:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558493952001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":124713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:12:45] local.INFO: GPS data processed {"connection_id":124713,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:12:45] local.INFO: Acknowledgment sent {"connection_id":124713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:12:49] local.INFO: TCP Data received {"connection_id":124713,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccf7df8012d193b80071ffad8003c005426..."} 
[2026-07-07 19:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccf7df8012d193b80071ffad8003c005426..."} 
[2026-07-07 19:12:49] local.INFO: Processing buffer {"connection_id":124713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccf7df8012d193b80071ffad8003c005426..."} 
[2026-07-07 19:12:49] local.INFO: Packet analysis {"connection_id":124713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccf"} 
[2026-07-07 19:12:49] local.INFO: Extracted packet for processing {"connection_id":124713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccf"} 
[2026-07-07 19:12:49] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":38,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558499328001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783431659000,"timestamp_ms":1783431659000,"timestamp_seconds":1783431659,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccf7df8"} 
[2026-07-07 19:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 19:12: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-07-07 19:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":124713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":124713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":124713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558499328001,"66":12776,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558499328001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:12:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:12:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558499328001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":124713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:12:49] local.INFO: GPS data processed {"connection_id":124713,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:12:49] local.INFO: Acknowledgment sent {"connection_id":124713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:12:57] local.INFO: TCP Data received {"connection_id":124812,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:12:57] local.INFO: Processing buffer {"connection_id":124812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:12:57] local.INFO: IMEI packet received {"connection_id":124812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 19:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":124812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:13:02] local.INFO: TCP Data received {"connection_id":124811,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:13:02] local.INFO: Processing buffer {"connection_id":124811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:13:02] local.INFO: IMEI packet received {"connection_id":124811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":124811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:13:03] local.INFO: TCP Data received {"connection_id":124811,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:13:03] local.INFO: Processing buffer {"connection_id":124811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:13:03] local.INFO: IMEI packet received {"connection_id":124811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":124811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:13:03] local.INFO: TCP Data received {"connection_id":124812,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:13:03] local.INFO: Processing buffer {"connection_id":124812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:13:03] local.INFO: IMEI packet received {"connection_id":124812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 19:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":124812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:13:04] local.INFO: TCP Data received {"connection_id":124811,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccf1098012dd28bc0051793f8000a00b22d..."} 
[2026-07-07 19:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccf1098012dd28bc0051793f8000a00b22d..."} 
[2026-07-07 19:13:04] local.INFO: Processing buffer {"connection_id":124811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccf1098012dd28bc0051793f8000a00b22d..."} 
[2026-07-07 19:13:04] local.INFO: Packet analysis {"connection_id":124811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccf"} 
[2026-07-07 19:13:04] local.INFO: Extracted packet for processing {"connection_id":124811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccf"} 
[2026-07-07 19:13:04] local.INFO: GPS Element Parsed {"raw_longitude":768773056,"raw_latitude":85431288,"longitude_deg":76.8773056,"latitude_deg":8.5431288,"altitude":10,"angle":178,"satellites":45,"speed":38,"hex_longitude":"2dd28bc0","hex_latitude":"051793f8","is_valid_coordinates":true} 
[2026-07-07 19:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558494976001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341791087939026944,"note":"Value kept but may cause issues"} 
[2026-07-07 19:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3275524282109034496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783431631000,"timestamp_ms":1783431631000,"timestamp_seconds":1783431631,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccf1098"} 
[2026-07-07 19:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 19:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558494976001,"66":27343,"227":206,"80":34304,"24":38,"16":341791087939026944,"45":-3275524282109034496},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-07-07 19:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558494976001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:13:04] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-07 19:13:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341791087939026944,"km_value":341791087939026.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3275524282109034496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558494976001,"power":27343,"unknown_227":206,"unknown_80":34304,"ignition":38,"odometer":null,"unknown_45":-3275524282109034496}} 
[2026-07-07 19:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":124811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:13:04] local.INFO: GPS data processed {"connection_id":124811,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:13:04] local.INFO: Acknowledgment sent {"connection_id":124811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:13:04] local.INFO: TCP Data received {"connection_id":124812,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:13:04] local.INFO: Processing buffer {"connection_id":124812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:13:04] local.INFO: Packet analysis {"connection_id":124812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:13:04] local.INFO: Extracted packet for processing {"connection_id":124812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558393344001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820306944,"note":"Value kept but may cause issues"} 
[2026-07-07 19:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783431516000,"timestamp_ms":1783431516000,"timestamp_seconds":1783431516,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccd4f60"} 
[2026-07-07 19:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 19:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558393344001,"66":2253,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9094104678820306944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558393344001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:13:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:13:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820306944,"description":"Unknown IO ID 45"} 
[2026-07-07 19:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558393344001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820306944}} 
[2026-07-07 19:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":124812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:13:04] local.INFO: GPS data processed {"connection_id":124812,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:13:04] local.INFO: Acknowledgment sent {"connection_id":124812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:13:08] local.INFO: TCP Data received {"connection_id":124811,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccf33c0012dd28dc005176e18000a00b12d..."} 
[2026-07-07 19:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccf33c0012dd28dc005176e18000a00b12d..."} 
[2026-07-07 19:13:08] local.INFO: Processing buffer {"connection_id":124811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccf33c0012dd28dc005176e18000a00b12d..."} 
[2026-07-07 19:13:08] local.INFO: Packet analysis {"connection_id":124811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccf"} 
[2026-07-07 19:13:08] local.INFO: Extracted packet for processing {"connection_id":124811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccf"} 
[2026-07-07 19:13:08] local.INFO: GPS Element Parsed {"raw_longitude":768773568,"raw_latitude":85421592,"longitude_deg":76.8773568,"latitude_deg":8.5421592,"altitude":10,"angle":177,"satellites":45,"speed":45,"hex_longitude":"2dd28dc0","hex_latitude":"05176e18","is_valid_coordinates":true} 
[2026-07-07 19:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558497536001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341791560385429504,"note":"Value kept but may cause issues"} 
[2026-07-07 19:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3275313175878961152,"note":"Value kept but may cause issues"} 
[2026-07-07 19:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783431640000,"timestamp_ms":1783431640000,"timestamp_seconds":1783431640,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccf33c0"} 
[2026-07-07 19:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:13: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-07-07 19:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 19:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558497536001,"66":27343,"227":206,"80":34304,"24":45,"16":341791560385429504,"45":-3275313175878961152},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-07-07 19:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558497536001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:13:08] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-07 19:13:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341791560385429504,"km_value":341791560385429.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3275313175878961152,"description":"Unknown IO ID 45"} 
[2026-07-07 19:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558497536001,"power":27343,"unknown_227":206,"unknown_80":34304,"ignition":45,"odometer":null,"unknown_45":-3275313175878961152}} 
[2026-07-07 19:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":124811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:13:08] local.INFO: GPS data processed {"connection_id":124811,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:13:08] local.INFO: Acknowledgment sent {"connection_id":124811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:13:33] local.INFO: TCP Data received {"connection_id":126787,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:13:33] local.INFO: Processing buffer {"connection_id":126787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:13:33] local.INFO: IMEI packet received {"connection_id":126787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":126787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:13:35] local.INFO: TCP Data received {"connection_id":124812,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:13:35] local.INFO: Processing buffer {"connection_id":124812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccd4f60012d7e338005d34d58000700532b..."} 
[2026-07-07 19:13:35] local.INFO: Packet analysis {"connection_id":124812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:13:35] local.INFO: Extracted packet for processing {"connection_id":124812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccd"} 
[2026-07-07 19:13:35] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558393344001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820306944,"note":"Value kept but may cause issues"} 
[2026-07-07 19:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783431516000,"timestamp_ms":1783431516000,"timestamp_seconds":1783431516,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccd4f60"} 
[2026-07-07 19:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-07 19:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558393344001,"66":2253,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9094104678820306944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558393344001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:13:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:13:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820306944,"description":"Unknown IO ID 45"} 
[2026-07-07 19:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558393344001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820306944}} 
[2026-07-07 19:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":124812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:13:35] local.INFO: GPS data processed {"connection_id":124812,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:13:35] local.INFO: Acknowledgment sent {"connection_id":124812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:13:39] local.INFO: TCP Data received {"connection_id":126787,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:13:39] local.INFO: Processing buffer {"connection_id":126787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:13:39] local.INFO: IMEI packet received {"connection_id":126787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":126787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:13:39] local.INFO: TCP Data received {"connection_id":124811,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccf5300012dd29040051749e0000900ad2d..."} 
[2026-07-07 19:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccf5300012dd29040051749e0000900ad2d..."} 
[2026-07-07 19:13:39] local.INFO: Processing buffer {"connection_id":124811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccf5300012dd29040051749e0000900ad2d..."} 
[2026-07-07 19:13:39] local.INFO: Packet analysis {"connection_id":124811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccf"} 
[2026-07-07 19:13:39] local.INFO: Extracted packet for processing {"connection_id":124811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccf"} 
[2026-07-07 19:13:39] local.INFO: GPS Element Parsed {"raw_longitude":768774208,"raw_latitude":85412320,"longitude_deg":76.8774208,"latitude_deg":8.541232,"altitude":9,"angle":173,"satellites":45,"speed":44,"hex_longitude":"2dd29040","hex_latitude":"051749e0","is_valid_coordinates":true} 
[2026-07-07 19:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558499840001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341792011356995584,"note":"Value kept but may cause issues"} 
[2026-07-07 19:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3274750225928022016,"note":"Value kept but may cause issues"} 
[2026-07-07 19:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783431648000,"timestamp_ms":1783431648000,"timestamp_seconds":1783431648,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccf5300"} 
[2026-07-07 19:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:13: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-07-07 19:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 19:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558499840001,"66":27365,"227":206,"80":34304,"24":44,"16":341792011356995584,"45":-3274750225928022016},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-07-07 19:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558499840001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:13:39] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-07 19:13:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341792011356995584,"km_value":341792011356995.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3274750225928022016,"description":"Unknown IO ID 45"} 
[2026-07-07 19:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558499840001,"power":27365,"unknown_227":206,"unknown_80":34304,"ignition":44,"odometer":null,"unknown_45":-3274750225928022016}} 
[2026-07-07 19:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":124811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:13:39] local.INFO: GPS data processed {"connection_id":124811,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:13:39] local.INFO: Acknowledgment sent {"connection_id":124811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:13:40] local.INFO: TCP Data received {"connection_id":126787,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ccfd000012d193b80071ffad8003c005426..."} 
[2026-07-07 19:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ccfd000012d193b80071ffad8003c005426..."} 
[2026-07-07 19:13:40] local.INFO: Processing buffer {"connection_id":126787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ccfd000012d193b80071ffad8003c005426..."} 
[2026-07-07 19:13:40] local.INFO: Packet analysis {"connection_id":126787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ccf"} 
[2026-07-07 19:13:40] local.INFO: Extracted packet for processing {"connection_id":126787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ccf"} 
[2026-07-07 19:13:40] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":38,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558504704001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 19:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783431680000,"timestamp_ms":1783431680000,"timestamp_seconds":1783431680,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ccfd000"} 
[2026-07-07 19:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:13: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-07-07 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-07 19:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558504704001,"66":12722,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558504704001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:13:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:13:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558504704001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":126787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:13:40] local.INFO: GPS data processed {"connection_id":126787,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:13:40] local.INFO: Acknowledgment sent {"connection_id":126787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:13:55] local.INFO: TCP Data received {"connection_id":124715,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:13:55] local.INFO: Processing buffer {"connection_id":124715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:13:55] local.INFO: IMEI packet received {"connection_id":124715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":124715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:13:58] local.INFO: TCP Data received {"connection_id":124714,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:13:58] local.INFO: Processing buffer {"connection_id":124714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:13:58] local.INFO: IMEI packet received {"connection_id":124714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 19:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":124714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:13:58] local.INFO: TCP Data received {"connection_id":124715,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:13:58] local.INFO: Processing buffer {"connection_id":124715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:13:58] local.INFO: IMEI packet received {"connection_id":124715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":124715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:14:03] local.INFO: TCP Data received {"connection_id":124714,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:14:03] local.INFO: Processing buffer {"connection_id":124714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:14:03] local.INFO: IMEI packet received {"connection_id":124714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 19:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":124714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:14:03] local.INFO: TCP Data received {"connection_id":124715,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:14:03] local.INFO: Processing buffer {"connection_id":124715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:14:03] local.INFO: IMEI packet received {"connection_id":124715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":124715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:14:08] local.INFO: TCP Data received {"connection_id":124715,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd14ae8012dd352c005161870000800912e..."} 
[2026-07-07 19:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd14ae8012dd352c005161870000800912e..."} 
[2026-07-07 19:14:08] local.INFO: Processing buffer {"connection_id":124715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd14ae8012dd352c005161870000800912e..."} 
[2026-07-07 19:14:08] local.INFO: Packet analysis {"connection_id":124715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:14:08] local.INFO: Extracted packet for processing {"connection_id":124715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:14:08] local.INFO: GPS Element Parsed {"raw_longitude":768824000,"raw_latitude":85334128,"longitude_deg":76.8824,"latitude_deg":8.5334128,"altitude":8,"angle":145,"satellites":46,"speed":30,"hex_longitude":"2dd352c0","hex_latitude":"05161870","is_valid_coordinates":true} 
[2026-07-07 19:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558529536001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341796529662590976,"note":"Value kept but may cause issues"} 
[2026-07-07 19:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3224084730140887040,"note":"Value kept but may cause issues"} 
[2026-07-07 19:14:08] 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-07-07 19:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783431777000,"timestamp_ms":1783431777000,"timestamp_seconds":1783431777,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd14ae8"} 
[2026-07-07 19:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:14: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-07-07 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 19:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558529536001,"66":27484,"245":206,"80":34304,"24":30,"16":341796529662590976,"45":-3224084730140887040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-07 19:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558529536001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:14:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341796529662590976,"km_value":341796529662591.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3224084730140887040,"description":"Unknown IO ID 45"} 
[2026-07-07 19:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558529536001,"power":27484,"geofence_id":206,"unknown_80":34304,"ignition":30,"odometer":null,"unknown_45":-3224084730140887040}} 
[2026-07-07 19:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":124715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:14:08] local.INFO: GPS data processed {"connection_id":124715,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:14:08] local.INFO: Acknowledgment sent {"connection_id":124715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:14:12] local.INFO: TCP Data received {"connection_id":126787,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd02208012d193b80071ffad8003c005427..."} 
[2026-07-07 19:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd02208012d193b80071ffad8003c005427..."} 
[2026-07-07 19:14:12] local.INFO: Processing buffer {"connection_id":126787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd02208012d193b80071ffad8003c005427..."} 
[2026-07-07 19:14:12] local.INFO: Packet analysis {"connection_id":126787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd0"} 
[2026-07-07 19:14:12] local.INFO: Extracted packet for processing {"connection_id":126787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd0"} 
[2026-07-07 19:14:12] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":39,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558510080001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 19:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783431701000,"timestamp_ms":1783431701000,"timestamp_seconds":1783431701,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd02208"} 
[2026-07-07 19:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:14: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-07-07 19:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 19:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558510080001,"66":12722,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558510080001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:14:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:14:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558510080001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":126787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:14:12] local.INFO: GPS data processed {"connection_id":126787,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:14:12] local.INFO: Acknowledgment sent {"connection_id":126787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:14:35] local.INFO: TCP Data received {"connection_id":124714,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:14:35] local.INFO: Processing buffer {"connection_id":124714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:14:35] local.INFO: Packet analysis {"connection_id":124714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:14:35] local.INFO: Extracted packet for processing {"connection_id":124714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:14:35] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558468096001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 19:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783431817000,"timestamp_ms":1783431817000,"timestamp_seconds":1783431817,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd1e728"} 
[2026-07-07 19:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 19:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558468096001,"66":2253,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558468096001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:14:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:14:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 19:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558468096001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 19:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":124714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:14:35] local.INFO: GPS data processed {"connection_id":124714,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:14:35] local.INFO: Acknowledgment sent {"connection_id":124714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:14:39] local.INFO: TCP Data received {"connection_id":124717,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:14:39] local.INFO: Processing buffer {"connection_id":124717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:14:39] local.INFO: IMEI packet received {"connection_id":124717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":124717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:14:43] local.INFO: TCP Data received {"connection_id":124715,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd171f8012dd369000515f9900007008f2e..."} 
[2026-07-07 19:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd171f8012dd369000515f9900007008f2e..."} 
[2026-07-07 19:14:43] local.INFO: Processing buffer {"connection_id":124715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd171f8012dd369000515f9900007008f2e..."} 
[2026-07-07 19:14:43] local.INFO: Packet analysis {"connection_id":124715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:14:43] local.INFO: Extracted packet for processing {"connection_id":124715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:14:43] local.INFO: GPS Element Parsed {"raw_longitude":768829696,"raw_latitude":85326224,"longitude_deg":76.8829696,"latitude_deg":8.5326224,"altitude":7,"angle":143,"satellites":46,"speed":40,"hex_longitude":"2dd36900","hex_latitude":"0515f990","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558534912001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341796997814026240,"note":"Value kept but may cause issues"} 
[2026-07-07 19:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3219299655538413568,"note":"Value kept but may cause issues"} 
[2026-07-07 19:14:43] 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-07-07 19:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783431787000,"timestamp_ms":1783431787000,"timestamp_seconds":1783431787,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd171f8"} 
[2026-07-07 19:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19: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-07-07 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 19:14: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-07-07 19: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-07-07 19:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558534912001,"66":27104,"245":206,"80":34304,"24":40,"16":341796997814026240,"45":-3219299655538413568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-07 19:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558534912001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:14:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341796997814026240,"km_value":341796997814026.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3219299655538413568,"description":"Unknown IO ID 45"} 
[2026-07-07 19:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558534912001,"power":27104,"geofence_id":206,"unknown_80":34304,"ignition":40,"odometer":null,"unknown_45":-3219299655538413568}} 
[2026-07-07 19:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":124715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:14:43] local.INFO: GPS data processed {"connection_id":124715,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:14:43] local.INFO: Acknowledgment sent {"connection_id":124715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:14:43] local.INFO: TCP Data received {"connection_id":124717,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:14:43] local.INFO: Processing buffer {"connection_id":124717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:14:43] local.INFO: IMEI packet received {"connection_id":124717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":124717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:14:44] local.INFO: TCP Data received {"connection_id":124717,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd07410012d193b80071ffad8003c005427..."} 
[2026-07-07 19:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd07410012d193b80071ffad8003c005427..."} 
[2026-07-07 19:14:44] local.INFO: Processing buffer {"connection_id":124717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd07410012d193b80071ffad8003c005427..."} 
[2026-07-07 19:14:44] local.INFO: Packet analysis {"connection_id":124717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd0"} 
[2026-07-07 19:14:44] local.INFO: Extracted packet for processing {"connection_id":124717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd0"} 
[2026-07-07 19:14:44] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":39,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558515456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783431722000,"timestamp_ms":1783431722000,"timestamp_seconds":1783431722,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd07410"} 
[2026-07-07 19:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 19:14: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-07-07 19: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-07-07 19:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558515456001,"66":12722,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558515456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:14:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:14:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558515456001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":124717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:14:45] local.INFO: GPS data processed {"connection_id":124717,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:14:45] local.INFO: Acknowledgment sent {"connection_id":124717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:14:47] local.INFO: TCP Data received {"connection_id":124717,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd0c618012d193b80071ffad8003c005429..."} 
[2026-07-07 19:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd0c618012d193b80071ffad8003c005429..."} 
[2026-07-07 19:14:47] local.INFO: Processing buffer {"connection_id":124717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd0c618012d193b80071ffad8003c005429..."} 
[2026-07-07 19:14:47] local.INFO: Packet analysis {"connection_id":124717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd0"} 
[2026-07-07 19:14:47] local.INFO: Extracted packet for processing {"connection_id":124717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd0"} 
[2026-07-07 19:14:47] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":41,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558520832001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783431743000,"timestamp_ms":1783431743000,"timestamp_seconds":1783431743,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd0c618"} 
[2026-07-07 19:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 19:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558520832001,"66":12711,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558520832001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:14:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:14:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558520832001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":124717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:14:47] local.INFO: GPS data processed {"connection_id":124717,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:14:47] local.INFO: Acknowledgment sent {"connection_id":124717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:14:58] local.INFO: TCP Data received {"connection_id":124814,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:14:58] local.INFO: Processing buffer {"connection_id":124814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:14:58] local.INFO: IMEI packet received {"connection_id":124814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 19:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":124814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:14:58] local.INFO: TCP Data received {"connection_id":125520,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:14:58] local.INFO: Processing buffer {"connection_id":125520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:14:58] local.INFO: IMEI packet received {"connection_id":125520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":125520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:15:03] local.INFO: TCP Data received {"connection_id":124814,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:15:03] local.INFO: Processing buffer {"connection_id":124814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:15:03] local.INFO: IMEI packet received {"connection_id":124814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 19:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":124814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:15:03] local.INFO: TCP Data received {"connection_id":125520,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:15:03] local.INFO: Processing buffer {"connection_id":125520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:15:03] local.INFO: IMEI packet received {"connection_id":125520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":125520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:15:03] local.INFO: TCP Data received {"connection_id":124814,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:15:03] local.INFO: Processing buffer {"connection_id":124814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:15:03] local.INFO: Packet analysis {"connection_id":124814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:15:03] local.INFO: Extracted packet for processing {"connection_id":124814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:15:03] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558468096001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783431817000,"timestamp_ms":1783431817000,"timestamp_seconds":1783431817,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd1e728"} 
[2026-07-07 19:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 19:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558468096001,"66":2253,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558468096001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:15:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:15:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 19:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558468096001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 19:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":124814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:15:04] local.INFO: GPS data processed {"connection_id":124814,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:15:04] local.INFO: Acknowledgment sent {"connection_id":124814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:15:04] local.INFO: TCP Data received {"connection_id":125520,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd19908012dd380400515dc100007008c2c..."} 
[2026-07-07 19:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd19908012dd380400515dc100007008c2c..."} 
[2026-07-07 19:15:04] local.INFO: Processing buffer {"connection_id":125520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd19908012dd380400515dc100007008c2c..."} 
[2026-07-07 19:15:04] local.INFO: Packet analysis {"connection_id":125520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:15:04] local.INFO: Extracted packet for processing {"connection_id":125520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:15:04] local.INFO: GPS Element Parsed {"raw_longitude":768835648,"raw_latitude":85318672,"longitude_deg":76.8835648,"latitude_deg":8.5318672,"altitude":7,"angle":140,"satellites":44,"speed":39,"hex_longitude":"2dd38040","hex_latitude":"0515dc10","is_valid_coordinates":true} 
[2026-07-07 19:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558537472001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341797461670494208,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3213036837308624896,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15:04] 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-07-07 19:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783431797000,"timestamp_ms":1783431797000,"timestamp_seconds":1783431797,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd19908"} 
[2026-07-07 19:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 19:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558537472001,"66":27376,"236":206,"80":34304,"24":39,"16":341797461670494208,"45":-3213036837308624896},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-07-07 19:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558537472001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:15:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-07 19:15:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341797461670494208,"km_value":341797461670494.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3213036837308624896,"description":"Unknown IO ID 45"} 
[2026-07-07 19:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558537472001,"power":27376,"unknown_236":206,"unknown_80":34304,"ignition":39,"odometer":null,"unknown_45":-3213036837308624896}} 
[2026-07-07 19:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":125520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:15:04] local.INFO: GPS data processed {"connection_id":125520,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:15:04] local.INFO: Acknowledgment sent {"connection_id":125520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:15:04] local.INFO: TCP Data received {"connection_id":124714,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:15:04] local.INFO: Processing buffer {"connection_id":124714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:15:04] local.INFO: Packet analysis {"connection_id":124714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:15:04] local.INFO: Extracted packet for processing {"connection_id":124714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:15:04] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558468096001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783431817000,"timestamp_ms":1783431817000,"timestamp_seconds":1783431817,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd1e728"} 
[2026-07-07 19:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 19:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558468096001,"66":2253,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558468096001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:15:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:15:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 19:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558468096001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 19:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":124714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:15:04] local.INFO: GPS data processed {"connection_id":124714,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:15:04] local.INFO: Acknowledgment sent {"connection_id":124714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:15:19] local.INFO: TCP Data received {"connection_id":124717,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd11820012d193b80071ffad8003c005427..."} 
[2026-07-07 19:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd11820012d193b80071ffad8003c005427..."} 
[2026-07-07 19:15:19] local.INFO: Processing buffer {"connection_id":124717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd11820012d193b80071ffad8003c005427..."} 
[2026-07-07 19:15:19] local.INFO: Packet analysis {"connection_id":124717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:15:19] local.INFO: Extracted packet for processing {"connection_id":124717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:15:19] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":39,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558526208001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15: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-07-07 19:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783431764000,"timestamp_ms":1783431764000,"timestamp_seconds":1783431764,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd11820"} 
[2026-07-07 19:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-07 19:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558526208001,"66":12711,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558526208001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:15:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:15:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558526208001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":124717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:15:19] local.INFO: GPS data processed {"connection_id":124717,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:15:19] local.INFO: Acknowledgment sent {"connection_id":124717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:15:34] local.INFO: TCP Data received {"connection_id":126788,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:15:34] local.INFO: Processing buffer {"connection_id":126788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:15:34] local.INFO: IMEI packet received {"connection_id":126788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":126788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:15:35] local.INFO: TCP Data received {"connection_id":124814,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:15:35] local.INFO: Processing buffer {"connection_id":124814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:15:35] local.INFO: Packet analysis {"connection_id":124814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:15:35] local.INFO: Extracted packet for processing {"connection_id":124814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:15:35] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558468096001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783431817000,"timestamp_ms":1783431817000,"timestamp_seconds":1783431817,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd1e728"} 
[2026-07-07 19:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 19:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558468096001,"66":2253,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558468096001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:15:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:15:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 19:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558468096001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 19:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":124814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:15:35] local.INFO: GPS data processed {"connection_id":124814,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:15:35] local.INFO: Acknowledgment sent {"connection_id":124814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:15:36] local.INFO: TCP Data received {"connection_id":125520,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd1c018012dd398400515c1280007008a2c..."} 
[2026-07-07 19:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd1c018012dd398400515c1280007008a2c..."} 
[2026-07-07 19:15:36] local.INFO: Processing buffer {"connection_id":125520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd1c018012dd398400515c1280007008a2c..."} 
[2026-07-07 19:15:36] local.INFO: Packet analysis {"connection_id":125520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:15:36] local.INFO: Extracted packet for processing {"connection_id":125520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:15:36] local.INFO: GPS Element Parsed {"raw_longitude":768841792,"raw_latitude":85311784,"longitude_deg":76.8841792,"latitude_deg":8.5311784,"altitude":7,"angle":138,"satellites":44,"speed":30,"hex_longitude":"2dd39840","hex_latitude":"0515c128","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558540032001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341797908347092992,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3206492544102035456,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15:36] 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-07-07 19:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783431807000,"timestamp_ms":1783431807000,"timestamp_seconds":1783431807,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd1c018"} 
[2026-07-07 19:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 19:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19: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-07-07 19:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558540032001,"66":27365,"236":206,"80":34304,"24":30,"16":341797908347092992,"45":-3206492544102035456},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-07-07 19:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558540032001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:15:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-07 19:15:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341797908347092992,"km_value":341797908347093.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3206492544102035456,"description":"Unknown IO ID 45"} 
[2026-07-07 19:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558540032001,"power":27365,"unknown_236":206,"unknown_80":34304,"ignition":30,"odometer":null,"unknown_45":-3206492544102035456}} 
[2026-07-07 19:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":125520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:15:36] local.INFO: GPS data processed {"connection_id":125520,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:15:36] local.INFO: Acknowledgment sent {"connection_id":125520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:15:38] local.INFO: TCP Data received {"connection_id":126788,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:15:38] local.INFO: Processing buffer {"connection_id":126788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:15:38] local.INFO: IMEI packet received {"connection_id":126788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":126788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:15:39] local.INFO: TCP Data received {"connection_id":126788,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd16a28012d193b80071ffad8003c005429..."} 
[2026-07-07 19:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd16a28012d193b80071ffad8003c005429..."} 
[2026-07-07 19:15:39] local.INFO: Processing buffer {"connection_id":126788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd16a28012d193b80071ffad8003c005429..."} 
[2026-07-07 19:15:39] local.INFO: Packet analysis {"connection_id":126788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:15:39] local.INFO: Extracted packet for processing {"connection_id":126788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:15:39] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":41,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558531584001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783431785000,"timestamp_ms":1783431785000,"timestamp_seconds":1783431785,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd16a28"} 
[2026-07-07 19:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:15: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-07-07 19:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-07 19:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558531584001,"66":12591,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558531584001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:15:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:15:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558531584001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":126788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:15:40] local.INFO: GPS data processed {"connection_id":126788,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:15:40] local.INFO: Acknowledgment sent {"connection_id":126788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:15:57] local.INFO: TCP Data received {"connection_id":126789,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:15:57] local.INFO: Processing buffer {"connection_id":126789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:15:57] local.INFO: IMEI packet received {"connection_id":126789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 19:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":126789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:15:58] local.INFO: TCP Data received {"connection_id":126790,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:15:58] local.INFO: Processing buffer {"connection_id":126790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:15:58] local.INFO: IMEI packet received {"connection_id":126790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":126790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:16:02] local.INFO: TCP Data received {"connection_id":126790,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:16:02] local.INFO: Processing buffer {"connection_id":126790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:16:02] local.INFO: IMEI packet received {"connection_id":126790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":126790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:16:03] local.INFO: TCP Data received {"connection_id":126789,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:16:03] local.INFO: Processing buffer {"connection_id":126789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:16:03] local.INFO: IMEI packet received {"connection_id":126789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 19:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":126789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:16:03] local.INFO: TCP Data received {"connection_id":126790,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd21220012dd3a9800515ae280007008a2d..."} 
[2026-07-07 19:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd21220012dd3a9800515ae280007008a2d..."} 
[2026-07-07 19:16:03] local.INFO: Processing buffer {"connection_id":126790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd21220012dd3a9800515ae280007008a2d..."} 
[2026-07-07 19:16:03] local.INFO: Packet analysis {"connection_id":126790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd2"} 
[2026-07-07 19:16:03] local.INFO: Extracted packet for processing {"connection_id":126790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd2"} 
[2026-07-07 19:16:03] local.INFO: GPS Element Parsed {"raw_longitude":768846208,"raw_latitude":85306920,"longitude_deg":76.8846208,"latitude_deg":8.530692,"altitude":7,"angle":138,"satellites":45,"speed":0,"hex_longitude":"2dd3a980","hex_latitude":"0515ae28","is_valid_coordinates":true} 
[2026-07-07 19:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558542592001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341798226174672896,"note":"Value kept but may cause issues"} 
[2026-07-07 19:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3199737144662743040,"note":"Value kept but may cause issues"} 
[2026-07-07 19:16:03] 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-07-07 19:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783431828000,"timestamp_ms":1783431828000,"timestamp_seconds":1783431828,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd21220"} 
[2026-07-07 19:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:16: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-07-07 19:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 19:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558542592001,"66":27484,"236":206,"80":34304,"24":0,"16":341798226174672896,"45":-3199737144662743040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-07-07 19:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558542592001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:16:03] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-07 19:16:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341798226174672896,"km_value":341798226174672.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3199737144662743040,"description":"Unknown IO ID 45"} 
[2026-07-07 19:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558542592001,"power":27484,"unknown_236":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-3199737144662743040}} 
[2026-07-07 19:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":126790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:16:03] local.INFO: GPS data processed {"connection_id":126790,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:16:03] local.INFO: Acknowledgment sent {"connection_id":126790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:16:03] local.INFO: TCP Data received {"connection_id":126789,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:16:03] local.INFO: Processing buffer {"connection_id":126789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:16:03] local.INFO: Packet analysis {"connection_id":126789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:16:03] local.INFO: Extracted packet for processing {"connection_id":126789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:16:03] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558468096001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 19:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783431817000,"timestamp_ms":1783431817000,"timestamp_seconds":1783431817,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd1e728"} 
[2026-07-07 19:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 19:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558468096001,"66":2253,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558468096001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:16:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:16:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 19:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558468096001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 19:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":126789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:16:03] local.INFO: GPS data processed {"connection_id":126789,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:16:03] local.INFO: Acknowledgment sent {"connection_id":126789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:16:11] local.INFO: TCP Data received {"connection_id":126788,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd1bc30012d193b80071ffad8003c005429..."} 
[2026-07-07 19:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd1bc30012d193b80071ffad8003c005429..."} 
[2026-07-07 19:16:11] local.INFO: Processing buffer {"connection_id":126788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd1bc30012d193b80071ffad8003c005429..."} 
[2026-07-07 19:16:11] local.INFO: Packet analysis {"connection_id":126788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:16:11] local.INFO: Extracted packet for processing {"connection_id":126788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":41,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558536960001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783431806000,"timestamp_ms":1783431806000,"timestamp_seconds":1783431806,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd1bc30"} 
[2026-07-07 19:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 19:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558536960001,"66":12667,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558536960001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:16:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:16:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558536960001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":126788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:16:11] local.INFO: GPS data processed {"connection_id":126788,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:16:11] local.INFO: Acknowledgment sent {"connection_id":126788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:16:31] local.INFO: TCP Data received {"connection_id":124718,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:16:31] local.INFO: Processing buffer {"connection_id":124718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:16:31] local.INFO: IMEI packet received {"connection_id":124718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":124718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:16:33] local.INFO: TCP Data received {"connection_id":124718,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:16:33] local.INFO: Processing buffer {"connection_id":124718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:16:33] local.INFO: IMEI packet received {"connection_id":124718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":124718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:16:35] local.INFO: TCP Data received {"connection_id":126789,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:16:35] local.INFO: Processing buffer {"connection_id":126789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:16:35] local.INFO: Packet analysis {"connection_id":126789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:16:35] local.INFO: Extracted packet for processing {"connection_id":126789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:16:35] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558468096001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 19:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783431817000,"timestamp_ms":1783431817000,"timestamp_seconds":1783431817,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd1e728"} 
[2026-07-07 19:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 19:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558468096001,"66":2253,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558468096001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:16:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:16:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 19:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558468096001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 19:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":126789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:16:35] local.INFO: GPS data processed {"connection_id":126789,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:16:35] local.INFO: Acknowledgment sent {"connection_id":126789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:16:38] local.INFO: TCP Data received {"connection_id":124718,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:16:38] local.INFO: Processing buffer {"connection_id":124718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:16:38] local.INFO: IMEI packet received {"connection_id":124718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":124718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:16:39] local.INFO: TCP Data received {"connection_id":126790,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd26428012dd3a9800515ae280007008a2d..."} 
[2026-07-07 19:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd26428012dd3a9800515ae280007008a2d..."} 
[2026-07-07 19:16:39] local.INFO: Processing buffer {"connection_id":126790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd26428012dd3a9800515ae280007008a2d..."} 
[2026-07-07 19:16:39] local.INFO: Packet analysis {"connection_id":126790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd2"} 
[2026-07-07 19:16:39] local.INFO: Extracted packet for processing {"connection_id":126790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd2"} 
[2026-07-07 19:16:39] local.INFO: GPS Element Parsed {"raw_longitude":768846208,"raw_latitude":85306920,"longitude_deg":76.8846208,"latitude_deg":8.530692,"altitude":7,"angle":138,"satellites":45,"speed":0,"hex_longitude":"2dd3a980","hex_latitude":"0515ae28","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558547968001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341798226174672896,"note":"Value kept but may cause issues"} 
[2026-07-07 19:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3194881701315729408,"note":"Value kept but may cause issues"} 
[2026-07-07 19:16:39] 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-07-07 19:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783431849000,"timestamp_ms":1783431849000,"timestamp_seconds":1783431849,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd26428"} 
[2026-07-07 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-07-07 19:16: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-07-07 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 19:16: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-07-07 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-07-07 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-07-07 19:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558547968001,"66":27343,"236":206,"80":34304,"24":0,"16":341798226174672896,"45":-3194881701315729408},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-07-07 19:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558547968001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:16:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-07 19:16:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341798226174672896,"km_value":341798226174672.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3194881701315729408,"description":"Unknown IO ID 45"} 
[2026-07-07 19:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558547968001,"power":27343,"unknown_236":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-3194881701315729408}} 
[2026-07-07 19:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":126790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:16:39] local.INFO: GPS data processed {"connection_id":126790,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:16:39] local.INFO: Acknowledgment sent {"connection_id":126790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:16:39] local.INFO: TCP Data received {"connection_id":124718,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd20e38012d193b80071ffad8003c005420..."} 
[2026-07-07 19:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd20e38012d193b80071ffad8003c005420..."} 
[2026-07-07 19:16:39] local.INFO: Processing buffer {"connection_id":124718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd20e38012d193b80071ffad8003c005420..."} 
[2026-07-07 19:16:39] local.INFO: Packet analysis {"connection_id":124718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd2"} 
[2026-07-07 19:16:39] local.INFO: Extracted packet for processing {"connection_id":124718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd2"} 
[2026-07-07 19:16:39] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":32,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558542336001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 19:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783431827000,"timestamp_ms":1783431827000,"timestamp_seconds":1783431827,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd20e38"} 
[2026-07-07 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-07-07 19:16: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-07-07 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-07 19:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 19:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558542336001,"66":12613,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558542336001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:16:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:16:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558542336001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":124718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:16:40] local.INFO: GPS data processed {"connection_id":124718,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:16:40] local.INFO: Acknowledgment sent {"connection_id":124718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:16:57] local.INFO: TCP Data received {"connection_id":125521,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:16:57] local.INFO: Processing buffer {"connection_id":125521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:16:57] local.INFO: IMEI packet received {"connection_id":125521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 19:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":125521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:17:03] local.INFO: TCP Data received {"connection_id":125521,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:17:03] local.INFO: Processing buffer {"connection_id":125521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:17:03] local.INFO: IMEI packet received {"connection_id":125521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 19:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":125521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:17:06] local.INFO: TCP Data received {"connection_id":125521,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:17:06] local.INFO: Processing buffer {"connection_id":125521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:17:06] local.INFO: Packet analysis {"connection_id":125521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:17:06] local.INFO: Extracted packet for processing {"connection_id":125521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558468096001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 19:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783431817000,"timestamp_ms":1783431817000,"timestamp_seconds":1783431817,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd1e728"} 
[2026-07-07 19:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 19:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558468096001,"66":2253,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558468096001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:17:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 19:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558468096001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 19:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":125521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:17:06] local.INFO: GPS data processed {"connection_id":125521,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:17:06] local.INFO: Acknowledgment sent {"connection_id":125521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:17:11] local.INFO: TCP Data received {"connection_id":124718,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd26040012d193b80071ffad8003c005425..."} 
[2026-07-07 19:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd26040012d193b80071ffad8003c005425..."} 
[2026-07-07 19:17:11] local.INFO: Processing buffer {"connection_id":124718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd26040012d193b80071ffad8003c005425..."} 
[2026-07-07 19:17:11] local.INFO: Packet analysis {"connection_id":124718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd2"} 
[2026-07-07 19:17:11] local.INFO: Extracted packet for processing {"connection_id":124718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd2"} 
[2026-07-07 19:17:11] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":37,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558547712001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 19:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783431848000,"timestamp_ms":1783431848000,"timestamp_seconds":1783431848,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd26040"} 
[2026-07-07 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-07-07 19:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-07 19:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 19:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558547712001,"66":11961,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558547712001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:17:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:17:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558547712001,"power":11961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":124718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:17:11] local.INFO: GPS data processed {"connection_id":124718,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:17:11] local.INFO: Acknowledgment sent {"connection_id":124718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:17:23] local.INFO: TCP Data received {"connection_id":126791,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:17:23] local.INFO: Processing buffer {"connection_id":126791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:17:23] local.INFO: IMEI packet received {"connection_id":126791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 19:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":126791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:17:33] local.INFO: TCP Data received {"connection_id":124816,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:17:33] local.INFO: Processing buffer {"connection_id":124816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:17:33] local.INFO: IMEI packet received {"connection_id":124816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":124816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:17:34] local.INFO: TCP Data received {"connection_id":124816,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:17:34] local.INFO: Processing buffer {"connection_id":124816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:17:34] local.INFO: IMEI packet received {"connection_id":124816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":124816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:17:37] local.INFO: TCP Data received {"connection_id":125521,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:17:37] local.INFO: Processing buffer {"connection_id":125521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd1e728012d7e338005d34d58000700532d..."} 
[2026-07-07 19:17:37] local.INFO: Packet analysis {"connection_id":125521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:17:37] local.INFO: Extracted packet for processing {"connection_id":125521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd1"} 
[2026-07-07 19:17:37] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558468096001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783431817000,"timestamp_ms":1783431817000,"timestamp_seconds":1783431817,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd1e728"} 
[2026-07-07 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-07-07 19:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 19:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 19:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558468096001,"66":2253,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558468096001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:17:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:17:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 19:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558468096001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 19:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":125521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:17:37] local.INFO: GPS data processed {"connection_id":125521,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:17:37] local.INFO: Acknowledgment sent {"connection_id":125521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:17:38] local.INFO: TCP Data received {"connection_id":126792,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:17:38] local.INFO: Processing buffer {"connection_id":126792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:17:38] local.INFO: IMEI packet received {"connection_id":126792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":126792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:17:39] local.INFO: TCP Data received {"connection_id":124816,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:17:39] local.INFO: Processing buffer {"connection_id":124816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:17:39] local.INFO: IMEI packet received {"connection_id":124816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":124816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:17:40] local.INFO: TCP Data received {"connection_id":124816,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd2b248012d193b80071ffad8003c005428..."} 
[2026-07-07 19:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd2b248012d193b80071ffad8003c005428..."} 
[2026-07-07 19:17:40] local.INFO: Processing buffer {"connection_id":124816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd2b248012d193b80071ffad8003c005428..."} 
[2026-07-07 19:17:40] local.INFO: Packet analysis {"connection_id":124816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd2"} 
[2026-07-07 19:17:40] local.INFO: Extracted packet for processing {"connection_id":124816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd2"} 
[2026-07-07 19:17:40] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":40,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558553088001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783431869000,"timestamp_ms":1783431869000,"timestamp_seconds":1783431869,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd2b248"} 
[2026-07-07 19:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:17: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-07-07 19:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 19:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558553088001,"66":12613,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558553088001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:17:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:17:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558553088001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":124816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:17:40] local.INFO: GPS data processed {"connection_id":124816,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:17:40] local.INFO: Acknowledgment sent {"connection_id":124816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:17:40] local.INFO: TCP Data received {"connection_id":126792,"ip":"42.106.6.32","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 19:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126792,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 19:17:40] local.INFO: Processing buffer {"connection_id":126792,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 19:17:40] local.INFO: IMEI packet received {"connection_id":126792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":126792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:17:57] local.INFO: TCP Data received {"connection_id":125522,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:17:57] local.INFO: Processing buffer {"connection_id":125522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:17:57] local.INFO: IMEI packet received {"connection_id":125522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 19:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":125522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:18:11] local.INFO: TCP Data received {"connection_id":124816,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd30450012d193b80071ffad8003c005428..."} 
[2026-07-07 19:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd30450012d193b80071ffad8003c005428..."} 
[2026-07-07 19:18:11] local.INFO: Processing buffer {"connection_id":124816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd30450012d193b80071ffad8003c005428..."} 
[2026-07-07 19:18:11] local.INFO: Packet analysis {"connection_id":124816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd3"} 
[2026-07-07 19:18:11] local.INFO: Extracted packet for processing {"connection_id":124816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd3"} 
[2026-07-07 19:18:11] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":40,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558558464001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 19:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783431890000,"timestamp_ms":1783431890000,"timestamp_seconds":1783431890,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd30450"} 
[2026-07-07 19:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-07 19:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558558464001,"66":12537,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558558464001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:18:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:18:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558558464001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":124816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:18:12] local.INFO: GPS data processed {"connection_id":124816,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:18:12] local.INFO: Acknowledgment sent {"connection_id":124816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:18:34] local.INFO: TCP Data received {"connection_id":124818,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:18:34] local.INFO: Processing buffer {"connection_id":124818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:18:34] local.INFO: IMEI packet received {"connection_id":124818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":124818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:18:38] local.INFO: TCP Data received {"connection_id":124818,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:18:38] local.INFO: Processing buffer {"connection_id":124818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:18:38] local.INFO: IMEI packet received {"connection_id":124818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":124818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:18:40] local.INFO: TCP Data received {"connection_id":124818,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd35658012d193b80071ffad8003c005429..."} 
[2026-07-07 19:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd35658012d193b80071ffad8003c005429..."} 
[2026-07-07 19:18:40] local.INFO: Processing buffer {"connection_id":124818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd35658012d193b80071ffad8003c005429..."} 
[2026-07-07 19:18:40] local.INFO: Packet analysis {"connection_id":124818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd3"} 
[2026-07-07 19:18:40] local.INFO: Extracted packet for processing {"connection_id":124818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd3"} 
[2026-07-07 19:18:40] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":41,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558563840001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783431911000,"timestamp_ms":1783431911000,"timestamp_seconds":1783431911,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd35658"} 
[2026-07-07 19:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:18: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-07-07 19:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-07 19:18: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-07-07 19:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558563840001,"66":12548,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558563840001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:18:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:18:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558563840001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":124818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:18:40] local.INFO: GPS data processed {"connection_id":124818,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:18:40] local.INFO: Acknowledgment sent {"connection_id":124818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:19:11] local.INFO: TCP Data received {"connection_id":124818,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd3a860012d193b80071ffad8003c005428..."} 
[2026-07-07 19:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd3a860012d193b80071ffad8003c005428..."} 
[2026-07-07 19:19:11] local.INFO: Processing buffer {"connection_id":124818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd3a860012d193b80071ffad8003c005428..."} 
[2026-07-07 19:19:11] local.INFO: Packet analysis {"connection_id":124818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd3"} 
[2026-07-07 19:19:11] local.INFO: Extracted packet for processing {"connection_id":124818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd3"} 
[2026-07-07 19:19:11] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":40,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558569216001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 19:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783431932000,"timestamp_ms":1783431932000,"timestamp_seconds":1783431932,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd3a860"} 
[2026-07-07 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-07-07 19:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 19:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-07 19:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4269277184,"note":"Value kept but may cause issues"} 
[2026-07-07 19:19:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-07-07 19:19:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4208459836,"note":"Value kept but may cause issues"} 
[2026-07-07 19:19:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-07 19:19:11] local.WARNING: Large IO value detected {"io_id":59,"raw_value":2147950586,"note":"Value kept but may cause issues"} 
[2026-07-07 19:19:11] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-07 19:19:11] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,254,159,4,45,128,250,60,40,10,66,178,96,1,240,185,31,113,205,188,59,216,41,239,49,2,7,231],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-07 19:19:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323548177346068480,"timestamp_seconds":4323548177346068.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 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-07-07 19:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558569216001,"66":12548,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558569216001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:19:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:19:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558569216001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":124818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:19:11] local.INFO: GPS data processed {"connection_id":124818,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:19:11] local.INFO: Acknowledgment sent {"connection_id":124818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:19:33] local.INFO: TCP Data received {"connection_id":124719,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:19:33] local.INFO: Processing buffer {"connection_id":124719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:19:33] local.INFO: IMEI packet received {"connection_id":124719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":124719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:19:38] local.INFO: TCP Data received {"connection_id":124719,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:19:38] local.INFO: Processing buffer {"connection_id":124719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:19:38] local.INFO: IMEI packet received {"connection_id":124719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":124719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:19:42] local.INFO: TCP Data received {"connection_id":124719,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd3fa68012d193b80071ffad8003c005426..."} 
[2026-07-07 19:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd3fa68012d193b80071ffad8003c005426..."} 
[2026-07-07 19:19:42] local.INFO: Processing buffer {"connection_id":124719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd3fa68012d193b80071ffad8003c005426..."} 
[2026-07-07 19:19:42] local.INFO: Packet analysis {"connection_id":124719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd3"} 
[2026-07-07 19:19:42] local.INFO: Extracted packet for processing {"connection_id":124719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd3"} 
[2026-07-07 19:19:42] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":38,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558574592001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783431953000,"timestamp_ms":1783431953000,"timestamp_seconds":1783431953,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd3fa68"} 
[2026-07-07 19:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:19: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-07-07 19: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":4,"data_length":795,"current_offset":136} 
[2026-07-07 19:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-07 19:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4269277184,"note":"Value kept but may cause issues"} 
[2026-07-07 19:19:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184204828877,"note":"Value kept but may cause issues"} 
[2026-07-07 19:19:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4208459836,"note":"Value kept but may cause issues"} 
[2026-07-07 19:19:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-07 19:19:42] local.WARNING: Large IO value detected {"io_id":59,"raw_value":2147950586,"note":"Value kept but may cause issues"} 
[2026-07-07 19:19:42] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-07 19:19:42] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,254,159,86,45,128,250,60,41,10,66,4,40,178,1,240,69,31,113,205,14,59,216,32,239,49,2,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-07 19:19:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323548173051101184,"timestamp_seconds":4323548173051101.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 19:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558574592001,"66":12548,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558574592001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:19:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:19:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558574592001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":124719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:19:42] local.INFO: GPS data processed {"connection_id":124719,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:19:42] local.INFO: Acknowledgment sent {"connection_id":124719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:20:16] local.INFO: TCP Data received {"connection_id":124719,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd44c70012d193b80071ffad8003c005428..."} 
[2026-07-07 19:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd44c70012d193b80071ffad8003c005428..."} 
[2026-07-07 19:20:16] local.INFO: Processing buffer {"connection_id":124719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd44c70012d193b80071ffad8003c005428..."} 
[2026-07-07 19:20:16] local.INFO: Packet analysis {"connection_id":124719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd4"} 
[2026-07-07 19:20:16] local.INFO: Extracted packet for processing {"connection_id":124719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd4"} 
[2026-07-07 19:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":40,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558579968001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783431974000,"timestamp_ms":1783431974000,"timestamp_seconds":1783431974,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd44c70"} 
[2026-07-07 19:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 19:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-07 19:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4269277184,"note":"Value kept but may cause issues"} 
[2026-07-07 19:20:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-07 19:20:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4208459836,"note":"Value kept but may cause issues"} 
[2026-07-07 19:20:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-07 19:20:16] local.WARNING: Large IO value detected {"io_id":59,"raw_value":2147950586,"note":"Value kept but may cause issues"} 
[2026-07-07 19:20:16] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3103837671,"note":"Value kept but may cause issues"} 
[2026-07-07 19:20:16] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-07 19:20:16] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,254,159,168,45,128,250,60,40,10,66,86,41,4,1,240,249,31,113,205,96,59,216,37,239,46,2,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-07 19:20:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323548164461166592,"timestamp_seconds":4323548164461166.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 19:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558579968001,"66":12504,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558579968001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:20:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:20:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558579968001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":124719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:20:17] local.INFO: GPS data processed {"connection_id":124719,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:20:17] local.INFO: Acknowledgment sent {"connection_id":124719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:20:33] local.INFO: TCP Data received {"connection_id":126796,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:20:33] local.INFO: Processing buffer {"connection_id":126796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:20:33] local.INFO: IMEI packet received {"connection_id":126796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":126796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:20:38] local.INFO: TCP Data received {"connection_id":126796,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:20:38] local.INFO: Processing buffer {"connection_id":126796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:20:38] local.INFO: IMEI packet received {"connection_id":126796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":126796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:20:40] local.INFO: TCP Data received {"connection_id":126796,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd49e78012d193b80071ffad8003c005427..."} 
[2026-07-07 19:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd49e78012d193b80071ffad8003c005427..."} 
[2026-07-07 19:20:40] local.INFO: Processing buffer {"connection_id":126796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd49e78012d193b80071ffad8003c005427..."} 
[2026-07-07 19:20:40] local.INFO: Packet analysis {"connection_id":126796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd4"} 
[2026-07-07 19:20:40] local.INFO: Extracted packet for processing {"connection_id":126796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd4"} 
[2026-07-07 19:20:40] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":39,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558585344001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 19:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783431995000,"timestamp_ms":1783431995000,"timestamp_seconds":1783431995,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd49e78"} 
[2026-07-07 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-07-07 19:20: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-07-07 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 19:20: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-07-07 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-07-07 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-07-07 19:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558585344001,"66":11787,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558585344001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:20:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:20:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558585344001,"power":11787,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":126796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:20:40] local.INFO: GPS data processed {"connection_id":126796,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:20:40] local.INFO: Acknowledgment sent {"connection_id":126796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:21:12] local.INFO: TCP Data received {"connection_id":126796,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd4f080012d193b80071ffad8003c005426..."} 
[2026-07-07 19:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd4f080012d193b80071ffad8003c005426..."} 
[2026-07-07 19:21:12] local.INFO: Processing buffer {"connection_id":126796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd4f080012d193b80071ffad8003c005426..."} 
[2026-07-07 19:21:12] local.INFO: Packet analysis {"connection_id":126796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd4"} 
[2026-07-07 19:21:12] local.INFO: Extracted packet for processing {"connection_id":126796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd4"} 
[2026-07-07 19:21:12] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":38,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558590720001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783432016000,"timestamp_ms":1783432016000,"timestamp_seconds":1783432016,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd4f080"} 
[2026-07-07 19:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19: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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-07-07 19:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-07 19:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":-110338190870577152,"note":"Value kept but may cause issues"} 
[2026-07-07 19:21:12] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3545651201,"note":"Value kept but may cause issues"} 
[2026-07-07 19:21:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6972466812243858151,"note":"Value kept but may cause issues"} 
[2026-07-07 19:21:12] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4208459836,"note":"Value kept but may cause issues"} 
[2026-07-07 19:21:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-07 19:21:12] local.WARNING: Large IO value detected {"io_id":59,"raw_value":-9221366549791622144,"note":"Value kept but may cause issues"} 
[2026-07-07 19:21:12] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579495,"note":"Value kept but may cause issues"} 
[2026-07-07 19:21:12] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-07 19:21:12] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-07 19:21:12] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2666130979403336192,"note":"Value kept but may cause issues"} 
[2026-07-07 19:21:12] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,121,28,24,241,158,16,254,159,76,45,128,250,60,40,10,66,38,168,1,240,4,31,113,205,59,216,239,48,2,70,206,84],"length":533,"final_offset":663,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-07 19:21:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323548168756133888,"timestamp_seconds":4323548168756134.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 19:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558590720001,"66":12515,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558590720001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:21:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:21:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558590720001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":126796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:21:12] local.INFO: GPS data processed {"connection_id":126796,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:21:12] local.INFO: Acknowledgment sent {"connection_id":126796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:21:39] local.INFO: TCP Data received {"connection_id":124720,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:21:39] local.INFO: Processing buffer {"connection_id":124720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:21:39] local.INFO: IMEI packet received {"connection_id":124720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":124720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:21:43] local.INFO: TCP Data received {"connection_id":124720,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:21:43] local.INFO: Processing buffer {"connection_id":124720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:21:43] local.INFO: IMEI packet received {"connection_id":124720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":124720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:21:44] local.INFO: TCP Data received {"connection_id":124720,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd54288012d193b80071ffad8003c005427..."} 
[2026-07-07 19:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd54288012d193b80071ffad8003c005427..."} 
[2026-07-07 19:21:44] local.INFO: Processing buffer {"connection_id":124720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd54288012d193b80071ffad8003c005427..."} 
[2026-07-07 19:21:44] local.INFO: Packet analysis {"connection_id":124720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd5"} 
[2026-07-07 19:21:44] local.INFO: Extracted packet for processing {"connection_id":124720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd5"} 
[2026-07-07 19:21:44] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":39,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558596096001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783432037000,"timestamp_ms":1783432037000,"timestamp_seconds":1783432037,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd54288"} 
[2026-07-07 19:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-07 19:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558596096001,"66":12526,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558596096001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:21:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:21:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558596096001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":124720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:21:45] local.INFO: GPS data processed {"connection_id":124720,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:21:45] local.INFO: Acknowledgment sent {"connection_id":124720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:21:51] local.INFO: TCP Data received {"connection_id":124720,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd59490012d193b80071ffad8003c005422..."} 
[2026-07-07 19:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd59490012d193b80071ffad8003c005422..."} 
[2026-07-07 19:21:51] local.INFO: Processing buffer {"connection_id":124720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd59490012d193b80071ffad8003c005422..."} 
[2026-07-07 19:21:51] local.INFO: Packet analysis {"connection_id":124720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd5"} 
[2026-07-07 19:21:51] local.INFO: Extracted packet for processing {"connection_id":124720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd5"} 
[2026-07-07 19:21:51] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":34,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558601472001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:21: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-07-07 19:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783432058000,"timestamp_ms":1783432058000,"timestamp_seconds":1783432058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd59490"} 
[2026-07-07 19:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-07 19:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19: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-07-07 19:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":124720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":124720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":124720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558601472001,"66":12504,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558601472001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:21:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:21:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558601472001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":124720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:21:51] local.INFO: GPS data processed {"connection_id":124720,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:21:51] local.INFO: Acknowledgment sent {"connection_id":124720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:22:28] local.INFO: TCP Data received {"connection_id":125526,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:22:28] local.INFO: Processing buffer {"connection_id":125526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:22:28] local.INFO: IMEI packet received {"connection_id":125526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":125526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:22:30] local.INFO: TCP Data received {"connection_id":125526,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd91ae8012dd5d600051358980006008a2b..."} 
[2026-07-07 19:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd91ae8012dd5d600051358980006008a2b..."} 
[2026-07-07 19:22:30] local.INFO: Processing buffer {"connection_id":125526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd91ae8012dd5d600051358980006008a2b..."} 
[2026-07-07 19:22:30] local.INFO: Packet analysis {"connection_id":125526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd9"} 
[2026-07-07 19:22:30] local.INFO: Extracted packet for processing {"connection_id":125526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd9"} 
[2026-07-07 19:22:30] local.INFO: GPS Element Parsed {"raw_longitude":768988672,"raw_latitude":85153944,"longitude_deg":76.8988672,"latitude_deg":8.5153944,"altitude":6,"angle":138,"satellites":43,"speed":51,"hex_longitude":"2dd5d600","hex_latitude":"05135898","is_valid_coordinates":true} 
[2026-07-07 19:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558663936001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341808327937753088,"note":"Value kept but may cause issues"} 
[2026-07-07 19:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3045488857463844864,"note":"Value kept but may cause issues"} 
[2026-07-07 19:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783432289000,"timestamp_ms":1783432289000,"timestamp_seconds":1783432289,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd91ae8"} 
[2026-07-07 19:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:22: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-07-07 19:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 19:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558663936001,"66":27365,"38":206,"80":34304,"24":51,"16":341808327937753088,"45":-3045488857463844864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-07-07 19:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558663936001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:22:30] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-07 19:22:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341808327937753088,"km_value":341808327937753.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3045488857463844864,"description":"Unknown IO ID 45"} 
[2026-07-07 19:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558663936001,"power":27365,"unknown_38":206,"unknown_80":34304,"ignition":51,"odometer":null,"unknown_45":-3045488857463844864}} 
[2026-07-07 19:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":125526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:22:30] local.INFO: GPS data processed {"connection_id":125526,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:22:30] local.INFO: Acknowledgment sent {"connection_id":125526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:22:34] local.INFO: TCP Data received {"connection_id":124820,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:22:34] local.INFO: Processing buffer {"connection_id":124820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:22:34] local.INFO: IMEI packet received {"connection_id":124820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":124820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:22:39] local.INFO: TCP Data received {"connection_id":124820,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:22:39] local.INFO: Processing buffer {"connection_id":124820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:22:39] local.INFO: IMEI packet received {"connection_id":124820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":124820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:22:40] local.INFO: TCP Data received {"connection_id":124820,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd5e698012d193b80071ffad8003c005426..."} 
[2026-07-07 19:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd5e698012d193b80071ffad8003c005426..."} 
[2026-07-07 19:22:40] local.INFO: Processing buffer {"connection_id":124820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd5e698012d193b80071ffad8003c005426..."} 
[2026-07-07 19:22:40] local.INFO: Packet analysis {"connection_id":124820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd5"} 
[2026-07-07 19:22:40] local.INFO: Extracted packet for processing {"connection_id":124820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd5"} 
[2026-07-07 19:22:40] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":38,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558606848001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783432079000,"timestamp_ms":1783432079000,"timestamp_seconds":1783432079,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd5e698"} 
[2026-07-07 19:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:22: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-07-07 19:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 19:22: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-07-07 19:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558606848001,"66":12504,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558606848001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:22:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:22:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558606848001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":124820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:22:40] local.INFO: GPS data processed {"connection_id":124820,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:22:40] local.INFO: Acknowledgment sent {"connection_id":124820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:22:44] local.INFO: TCP Data received {"connection_id":124820,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd638a0012d193b80071ffad8003c005426..."} 
[2026-07-07 19:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd638a0012d193b80071ffad8003c005426..."} 
[2026-07-07 19:22:44] local.INFO: Processing buffer {"connection_id":124820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd638a0012d193b80071ffad8003c005426..."} 
[2026-07-07 19:22:44] local.INFO: Packet analysis {"connection_id":124820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd6"} 
[2026-07-07 19:22:44] local.INFO: Extracted packet for processing {"connection_id":124820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd6"} 
[2026-07-07 19:22:44] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":38,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558612224001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783432100000,"timestamp_ms":1783432100000,"timestamp_seconds":1783432100,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd638a0"} 
[2026-07-07 19:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 19:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558612224001,"66":12504,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558612224001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:22:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:22:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558612224001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":124820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:22:44] local.INFO: GPS data processed {"connection_id":124820,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:22:44] local.INFO: Acknowledgment sent {"connection_id":124820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:22:53] local.INFO: TCP Data received {"connection_id":126797,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:22:53] local.INFO: Processing buffer {"connection_id":126797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:22:53] local.INFO: IMEI packet received {"connection_id":126797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-07 19:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":126797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:22:58] local.INFO: TCP Data received {"connection_id":126797,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:22:58] local.INFO: Processing buffer {"connection_id":126797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-07 19:22:58] local.INFO: IMEI packet received {"connection_id":126797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-07 19:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":126797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:22:58] local.INFO: TCP Data received {"connection_id":126798,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:22:58] local.INFO: Processing buffer {"connection_id":126798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:22:58] local.INFO: IMEI packet received {"connection_id":126798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":126798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:22:59] local.INFO: TCP Data received {"connection_id":126797,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd67ef0012d7e338005d34d58000700532e..."} 
[2026-07-07 19:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd67ef0012d7e338005d34d58000700532e..."} 
[2026-07-07 19:22:59] local.INFO: Processing buffer {"connection_id":126797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd67ef0012d7e338005d34d58000700532e..."} 
[2026-07-07 19:22:59] local.INFO: Packet analysis {"connection_id":126797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd6"} 
[2026-07-07 19:22:59] local.INFO: Extracted packet for processing {"connection_id":126797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd6"} 
[2026-07-07 19:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":46,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558545152001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 19:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783432118000,"timestamp_ms":1783432118000,"timestamp_seconds":1783432118,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd67ef0"} 
[2026-07-07 19:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:22:59] 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-07-07 19:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 19:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19: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-07-07 19:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":126797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":126797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":126797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558545152001,"66":2253,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558545152001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:22:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:22:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 19:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558545152001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 19:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":126797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:22:59] local.INFO: GPS data processed {"connection_id":126797,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:22:59] local.INFO: Acknowledgment sent {"connection_id":126797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:23:03] local.INFO: TCP Data received {"connection_id":126798,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:23:03] local.INFO: Processing buffer {"connection_id":126798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:23:03] local.INFO: IMEI packet received {"connection_id":126798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":126798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:23:04] local.INFO: TCP Data received {"connection_id":126798,"ip":"42.106.6.32","data_length":93,"data_hex":"00000000000000518e010000019f3cd93640012dd5edc005133e080007008a2d..."} 
[2026-07-07 19:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126798,"packet_length":93,"packet_hex":"00000000000000518e010000019f3cd93640012dd5edc005133e080007008a2d..."} 
[2026-07-07 19:23:04] local.INFO: Processing buffer {"connection_id":126798,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f3cd93640012dd5edc005133e080007008a2d..."} 
[2026-07-07 19:23:04] local.INFO: Packet analysis {"connection_id":126798,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f3cd9"} 
[2026-07-07 19:23:04] local.INFO: Extracted packet for processing {"connection_id":126798,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f3cd9"} 
[2026-07-07 19:23:04] local.INFO: GPS Element Parsed {"raw_longitude":768994752,"raw_latitude":85147144,"longitude_deg":76.8994752,"latitude_deg":8.5147144,"altitude":7,"angle":138,"satellites":45,"speed":51,"hex_longitude":"2dd5edc0","hex_latitude":"05133e08","is_valid_coordinates":true} 
[2026-07-07 19: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":93,"current_offset":40} 
[2026-07-07 19:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:23:04] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:23:04] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-07 19:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126798,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-07 19:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126798,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-07 19:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126798,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-07 19:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-07 19:23:04] local.WARNING: DEBUG: No valid data to process  
[2026-07-07 19:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":126798,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-07 19:23:04] local.ERROR: GPS data processing failed {"connection_id":126798,"error":"No valid data to process"} 
[2026-07-07 19:23:04] local.INFO: Acknowledgment sent {"connection_id":126798,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-07 19:23:16] local.INFO: TCP Data received {"connection_id":124820,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd68aa8012d193b80071ffad8003c005427..."} 
[2026-07-07 19:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd68aa8012d193b80071ffad8003c005427..."} 
[2026-07-07 19:23:16] local.INFO: Processing buffer {"connection_id":124820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd68aa8012d193b80071ffad8003c005427..."} 
[2026-07-07 19:23:16] local.INFO: Packet analysis {"connection_id":124820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd6"} 
[2026-07-07 19:23:16] local.INFO: Extracted packet for processing {"connection_id":124820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd6"} 
[2026-07-07 19:23:16] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":39,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558617600001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783432121000,"timestamp_ms":1783432121000,"timestamp_seconds":1783432121,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd68aa8"} 
[2026-07-07 19:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 19:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558617600001,"66":12504,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558617600001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:23:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:23:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558617600001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":124820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:23:16] local.INFO: GPS data processed {"connection_id":124820,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:23:16] local.INFO: Acknowledgment sent {"connection_id":124820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:23:31] local.INFO: TCP Data received {"connection_id":126797,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd67ef0012d7e338005d34d58000700532e..."} 
[2026-07-07 19:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd67ef0012d7e338005d34d58000700532e..."} 
[2026-07-07 19:23:31] local.INFO: Processing buffer {"connection_id":126797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd67ef0012d7e338005d34d58000700532e..."} 
[2026-07-07 19:23:31] local.INFO: Packet analysis {"connection_id":126797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd6"} 
[2026-07-07 19:23:31] local.INFO: Extracted packet for processing {"connection_id":126797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd6"} 
[2026-07-07 19:23:31] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97733976,"longitude_deg":76.324544,"latitude_deg":9.7733976,"altitude":7,"angle":83,"satellites":46,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34d58","is_valid_coordinates":true} 
[2026-07-07 19:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558545152001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099416576,"note":"Value kept but may cause issues"} 
[2026-07-07 19:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783432118000,"timestamp_ms":1783432118000,"timestamp_seconds":1783432118,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd67ef0"} 
[2026-07-07 19:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:23:31] 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-07-07 19:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 19:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-07 19:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-07 19:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-07 19:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558545152001,"66":2253,"109":206,"85":15104,"24":0,"16":103502990937161728,"45":9093752835099416576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-07 19:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-07 19:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-07 19:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558545152001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:23:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:23:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-07 19:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103502990937161728,"km_value":103502990937161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099416576,"description":"Unknown IO ID 45"} 
[2026-07-07 19:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558545152001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099416576}} 
[2026-07-07 19:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":126797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:23:31] local.INFO: GPS data processed {"connection_id":126797,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:23:31] local.INFO: Acknowledgment sent {"connection_id":126797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:23:31] local.INFO: TCP Data received {"connection_id":124721,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:23:31] local.INFO: Processing buffer {"connection_id":124721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:23:31] local.INFO: IMEI packet received {"connection_id":124721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":124721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:23:33] local.INFO: TCP Data received {"connection_id":124721,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:23:33] local.INFO: Processing buffer {"connection_id":124721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:23:33] local.INFO: IMEI packet received {"connection_id":124721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":124721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:23:36] local.INFO: TCP Data received {"connection_id":126798,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd95198012dd60540051323f0000600892c..."} 
[2026-07-07 19:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd95198012dd60540051323f0000600892c..."} 
[2026-07-07 19:23:36] local.INFO: Processing buffer {"connection_id":126798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd95198012dd60540051323f0000600892c..."} 
[2026-07-07 19:23:36] local.INFO: Packet analysis {"connection_id":126798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd9"} 
[2026-07-07 19:23:36] local.INFO: Extracted packet for processing {"connection_id":126798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd9"} 
[2026-07-07 19:23:36] local.INFO: GPS Element Parsed {"raw_longitude":769000768,"raw_latitude":85140464,"longitude_deg":76.9000768,"latitude_deg":8.5140464,"altitude":6,"angle":137,"satellites":44,"speed":48,"hex_longitude":"2dd60540","hex_latitude":"051323f0","is_valid_coordinates":true} 
[2026-07-07 19:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558667776001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341809199816114176,"note":"Value kept but may cause issues"} 
[2026-07-07 19:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3031555846120273920,"note":"Value kept but may cause issues"} 
[2026-07-07 19:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783432303000,"timestamp_ms":1783432303000,"timestamp_seconds":1783432303,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd95198"} 
[2026-07-07 19:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 19:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558667776001,"66":27376,"38":206,"80":34304,"24":48,"16":341809199816114176,"45":-3031555846120273920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-07-07 19:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558667776001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:23:36] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-07 19:23:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341809199816114176,"km_value":341809199816114.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3031555846120273920,"description":"Unknown IO ID 45"} 
[2026-07-07 19:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558667776001,"power":27376,"unknown_38":206,"unknown_80":34304,"ignition":48,"odometer":null,"unknown_45":-3031555846120273920}} 
[2026-07-07 19:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":126798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:23:36] local.INFO: GPS data processed {"connection_id":126798,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:23:36] local.INFO: Acknowledgment sent {"connection_id":126798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:23:38] local.INFO: TCP Data received {"connection_id":126799,"ip":"88.214.25.124","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-07 19:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126799,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-07 19:23:38] local.INFO: Processing buffer {"connection_id":126799,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-07 19:23:38] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":126799,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-07-07 19:23:39] local.INFO: TCP Data received {"connection_id":124721,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:23:39] local.INFO: Processing buffer {"connection_id":124721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:23:39] local.INFO: IMEI packet received {"connection_id":124721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":124721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:23:39] local.INFO: TCP Data received {"connection_id":124721,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd6dcb0012d193b80071ffad8003c005429..."} 
[2026-07-07 19:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd6dcb0012d193b80071ffad8003c005429..."} 
[2026-07-07 19:23:39] local.INFO: Processing buffer {"connection_id":124721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd6dcb0012d193b80071ffad8003c005429..."} 
[2026-07-07 19:23:39] local.INFO: Packet analysis {"connection_id":124721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd6"} 
[2026-07-07 19:23:39] local.INFO: Extracted packet for processing {"connection_id":124721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd6"} 
[2026-07-07 19:23:39] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":41,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558622976001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783432142000,"timestamp_ms":1783432142000,"timestamp_seconds":1783432142,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd6dcb0"} 
[2026-07-07 19:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19: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":216,"data_length":795,"current_offset":136} 
[2026-07-07 19:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19: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-07-07 19:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558622976001,"66":12461,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558622976001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:23:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:23:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558622976001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":124721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:23:40] local.INFO: GPS data processed {"connection_id":124721,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:23:40] local.INFO: Acknowledgment sent {"connection_id":124721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:23:53] local.INFO: TCP Data received {"connection_id":124821,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:23:53] local.INFO: Processing buffer {"connection_id":124821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:23:53] local.INFO: IMEI packet received {"connection_id":124821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 19:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":124821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:23:58] local.INFO: TCP Data received {"connection_id":125528,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:23:58] local.INFO: Processing buffer {"connection_id":125528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:23:58] local.INFO: IMEI packet received {"connection_id":125528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":125528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:24:03] local.INFO: TCP Data received {"connection_id":125528,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:24:03] local.INFO: Processing buffer {"connection_id":125528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:24:03] local.INFO: IMEI packet received {"connection_id":125528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":125528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:24:11] local.INFO: TCP Data received {"connection_id":124721,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd72eb8012d193b80071ffad8003c005426..."} 
[2026-07-07 19:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd72eb8012d193b80071ffad8003c005426..."} 
[2026-07-07 19:24:11] local.INFO: Processing buffer {"connection_id":124721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd72eb8012d193b80071ffad8003c005426..."} 
[2026-07-07 19:24:11] local.INFO: Packet analysis {"connection_id":124721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd7"} 
[2026-07-07 19:24:11] local.INFO: Extracted packet for processing {"connection_id":124721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd7"} 
[2026-07-07 19:24:11] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":38,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558628352001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783432163000,"timestamp_ms":1783432163000,"timestamp_seconds":1783432163,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd72eb8"} 
[2026-07-07 19:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 19:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558628352001,"66":12504,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558628352001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:24:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:24:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558628352001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":124721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:24:11] local.INFO: GPS data processed {"connection_id":124721,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:24:11] local.INFO: Acknowledgment sent {"connection_id":124721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:24:22] local.INFO: TCP Data received {"connection_id":125528,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cd970d8012dd62000051306600005008a2d..."} 
[2026-07-07 19:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cd970d8012dd62000051306600005008a2d..."} 
[2026-07-07 19:24:22] local.INFO: Processing buffer {"connection_id":125528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cd970d8012dd62000051306600005008a2d..."} 
[2026-07-07 19:24:22] local.INFO: Packet analysis {"connection_id":125528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cd9"} 
[2026-07-07 19:24:22] local.INFO: Extracted packet for processing {"connection_id":125528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cd9"} 
[2026-07-07 19:24:22] local.INFO: GPS Element Parsed {"raw_longitude":769007616,"raw_latitude":85132896,"longitude_deg":76.9007616,"latitude_deg":8.5132896,"altitude":5,"angle":138,"satellites":45,"speed":54,"hex_longitude":"2dd62000","hex_latitude":"05130660","is_valid_coordinates":true} 
[2026-07-07 19:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558669568001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341809693737353216,"note":"Value kept but may cause issues"} 
[2026-07-07 19:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3024941184169283584,"note":"Value kept but may cause issues"} 
[2026-07-07 19:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783432311000,"timestamp_ms":1783432311000,"timestamp_seconds":1783432311,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cd970d8"} 
[2026-07-07 19:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 19:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558669568001,"66":27310,"98":206,"80":34304,"24":54,"16":341809693737353216,"45":-3024941184169283584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,80,24,16,45]} 
[2026-07-07 19:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558669568001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:24:22] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-07-07 19:24:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341809693737353216,"km_value":341809693737353.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3024941184169283584,"description":"Unknown IO ID 45"} 
[2026-07-07 19:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558669568001,"power":27310,"unknown_98":206,"unknown_80":34304,"ignition":54,"odometer":null,"unknown_45":-3024941184169283584}} 
[2026-07-07 19:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":125528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:24:22] local.INFO: GPS data processed {"connection_id":125528,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:24:22] local.INFO: Acknowledgment sent {"connection_id":125528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:24:33] local.INFO: TCP Data received {"connection_id":126800,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:24:33] local.INFO: Processing buffer {"connection_id":126800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:24:33] local.INFO: IMEI packet received {"connection_id":126800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":126800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:24:34] local.INFO: TCP Data received {"connection_id":126800,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:24:34] local.INFO: Processing buffer {"connection_id":126800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:24:34] local.INFO: IMEI packet received {"connection_id":126800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":126800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:24:39] local.INFO: TCP Data received {"connection_id":126800,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:24:39] local.INFO: Processing buffer {"connection_id":126800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:24:39] local.INFO: IMEI packet received {"connection_id":126800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":126800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:24:40] local.INFO: TCP Data received {"connection_id":126800,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdab510012d193b80071ffad8003c005427..."} 
[2026-07-07 19:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdab510012d193b80071ffad8003c005427..."} 
[2026-07-07 19:24:40] local.INFO: Processing buffer {"connection_id":126800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdab510012d193b80071ffad8003c005427..."} 
[2026-07-07 19:24:40] local.INFO: Packet analysis {"connection_id":126800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cda"} 
[2026-07-07 19:24:40] local.INFO: Extracted packet for processing {"connection_id":126800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cda"} 
[2026-07-07 19:24:40] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":39,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558687488001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 19:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783432394000,"timestamp_ms":1783432394000,"timestamp_seconds":1783432394,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdab510"} 
[2026-07-07 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-07-07 19:24: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-07-07 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":140,"data_length":795,"current_offset":136} 
[2026-07-07 19:24: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-07-07 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-07-07 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-07-07 19:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558687488001,"66":12406,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558687488001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:24:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:24:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558687488001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":126800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:24:40] local.INFO: GPS data processed {"connection_id":126800,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:24:40] local.INFO: Acknowledgment sent {"connection_id":126800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:24:58] local.INFO: TCP Data received {"connection_id":126801,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:24:58] local.INFO: Processing buffer {"connection_id":126801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:24:58] local.INFO: IMEI packet received {"connection_id":126801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":126801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:25:05] local.INFO: TCP Data received {"connection_id":126801,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:25:05] local.INFO: Processing buffer {"connection_id":126801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:25:05] local.INFO: IMEI packet received {"connection_id":126801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":126801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:25:06] local.INFO: TCP Data received {"connection_id":126801,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:25:06] local.INFO: Processing buffer {"connection_id":126801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:25:06] local.INFO: IMEI packet received {"connection_id":126801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":126801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:25:07] local.INFO: TCP Data received {"connection_id":126801,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdb2a40012dd791400511b850000600842e..."} 
[2026-07-07 19:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdb2a40012dd791400511b850000600842e..."} 
[2026-07-07 19:25:07] local.INFO: Processing buffer {"connection_id":126801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdb2a40012dd791400511b850000600842e..."} 
[2026-07-07 19:25:07] local.INFO: Packet analysis {"connection_id":126801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdb"} 
[2026-07-07 19:25:07] local.INFO: Extracted packet for processing {"connection_id":126801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdb"} 
[2026-07-07 19:25:07] local.INFO: GPS Element Parsed {"raw_longitude":769102144,"raw_latitude":85047376,"longitude_deg":76.9102144,"latitude_deg":8.5047376,"altitude":6,"angle":132,"satellites":46,"speed":42,"hex_longitude":"2dd79140","hex_latitude":"0511b850","is_valid_coordinates":true} 
[2026-07-07 19:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558697728001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341815088216276992,"note":"Value kept but may cause issues"} 
[2026-07-07 19:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2920936180296984576,"note":"Value kept but may cause issues"} 
[2026-07-07 19:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783432424000,"timestamp_ms":1783432424000,"timestamp_seconds":1783432424,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdb2a40"} 
[2026-07-07 19:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 19:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558697728001,"66":27267,"124":206,"80":34304,"24":42,"16":341815088216276992,"45":-2920936180296984576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,80,24,16,45]} 
[2026-07-07 19:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558697728001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:25:07] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-07 19:25:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341815088216276992,"km_value":341815088216277.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2920936180296984576,"description":"Unknown IO ID 45"} 
[2026-07-07 19:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558697728001,"power":27267,"unknown_124":206,"unknown_80":34304,"ignition":42,"odometer":null,"unknown_45":-2920936180296984576}} 
[2026-07-07 19:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":126801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:25:07] local.INFO: GPS data processed {"connection_id":126801,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:25:07] local.INFO: Acknowledgment sent {"connection_id":126801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:25:08] local.INFO: TCP Data received {"connection_id":126801,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdb4980012dd7ab8005119f30000700872c..."} 
[2026-07-07 19:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdb4980012dd7ab8005119f30000700872c..."} 
[2026-07-07 19:25:08] local.INFO: Processing buffer {"connection_id":126801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdb4980012dd7ab8005119f30000700872c..."} 
[2026-07-07 19:25:08] local.INFO: Packet analysis {"connection_id":126801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdb"} 
[2026-07-07 19:25:08] local.INFO: Extracted packet for processing {"connection_id":126801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdb"} 
[2026-07-07 19:25:08] local.INFO: GPS Element Parsed {"raw_longitude":769108864,"raw_latitude":85040944,"longitude_deg":76.9108864,"latitude_deg":8.5040944,"altitude":7,"angle":135,"satellites":44,"speed":48,"hex_longitude":"2dd7ab80","hex_latitude":"05119f30","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558700544001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341815539187843072,"note":"Value kept but may cause issues"} 
[2026-07-07 19:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2913477093415694336,"note":"Value kept but may cause issues"} 
[2026-07-07 19:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783432432000,"timestamp_ms":1783432432000,"timestamp_seconds":1783432432,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdb4980"} 
[2026-07-07 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-07-07 19:25: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-07-07 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 19:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 19:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558700544001,"66":27332,"124":206,"80":34304,"24":48,"16":341815539187843072,"45":-2913477093415694336},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,80,24,16,45]} 
[2026-07-07 19:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558700544001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:25:09] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-07 19:25:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341815539187843072,"km_value":341815539187843.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2913477093415694336,"description":"Unknown IO ID 45"} 
[2026-07-07 19:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558700544001,"power":27332,"unknown_124":206,"unknown_80":34304,"ignition":48,"odometer":null,"unknown_45":-2913477093415694336}} 
[2026-07-07 19:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":126801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:25:09] local.INFO: GPS data processed {"connection_id":126801,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:25:09] local.INFO: Acknowledgment sent {"connection_id":126801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:25:11] local.INFO: TCP Data received {"connection_id":126800,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdb0718012d193b80071ffad8003c005427..."} 
[2026-07-07 19:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdb0718012d193b80071ffad8003c005427..."} 
[2026-07-07 19:25:11] local.INFO: Processing buffer {"connection_id":126800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdb0718012d193b80071ffad8003c005427..."} 
[2026-07-07 19:25:11] local.INFO: Packet analysis {"connection_id":126800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdb"} 
[2026-07-07 19:25:11] local.INFO: Extracted packet for processing {"connection_id":126800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdb"} 
[2026-07-07 19:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":39,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558692864001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783432415000,"timestamp_ms":1783432415000,"timestamp_seconds":1783432415,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdb0718"} 
[2026-07-07 19:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:25: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-07-07 19:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558692864001,"66":12385,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558692864001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:25:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:25:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558692864001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":126800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:25:12] local.INFO: GPS data processed {"connection_id":126800,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:25:12] local.INFO: Acknowledgment sent {"connection_id":126800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:25:33] local.INFO: TCP Data received {"connection_id":125530,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:25:33] local.INFO: Processing buffer {"connection_id":125530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:25:33] local.INFO: IMEI packet received {"connection_id":125530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":125530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:25:38] local.INFO: TCP Data received {"connection_id":125530,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:25:38] local.INFO: Processing buffer {"connection_id":125530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:25:38] local.INFO: IMEI packet received {"connection_id":125530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":125530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:25:39] local.INFO: TCP Data received {"connection_id":125530,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdb5920012d193b80071ffad8003c005427..."} 
[2026-07-07 19:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdb5920012d193b80071ffad8003c005427..."} 
[2026-07-07 19:25:39] local.INFO: Processing buffer {"connection_id":125530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdb5920012d193b80071ffad8003c005427..."} 
[2026-07-07 19:25:39] local.INFO: Packet analysis {"connection_id":125530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdb"} 
[2026-07-07 19:25:39] local.INFO: Extracted packet for processing {"connection_id":125530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdb"} 
[2026-07-07 19:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":39,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558698240001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783432436000,"timestamp_ms":1783432436000,"timestamp_seconds":1783432436,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdb5920"} 
[2026-07-07 19:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 19:25: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-07-07 19:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558698240001,"66":11798,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558698240001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:25:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:25:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558698240001,"power":11798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":125530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:25:39] local.INFO: GPS data processed {"connection_id":125530,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:25:39] local.INFO: Acknowledgment sent {"connection_id":125530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:25:40] local.INFO: TCP Data received {"connection_id":126801,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdb64d8012dd7c54005118588000700872d..."} 
[2026-07-07 19:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdb64d8012dd7c54005118588000700872d..."} 
[2026-07-07 19:25:40] local.INFO: Processing buffer {"connection_id":126801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdb64d8012dd7c54005118588000700872d..."} 
[2026-07-07 19:25:40] local.INFO: Packet analysis {"connection_id":126801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdb"} 
[2026-07-07 19:25:40] local.INFO: Extracted packet for processing {"connection_id":126801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdb"} 
[2026-07-07 19:25:40] local.INFO: GPS Element Parsed {"raw_longitude":769115456,"raw_latitude":85034376,"longitude_deg":76.9115456,"latitude_deg":8.5034376,"altitude":7,"angle":135,"satellites":45,"speed":56,"hex_longitude":"2dd7c540","hex_latitude":"05118588","is_valid_coordinates":true} 
[2026-07-07 19:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558702592001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341815985864441856,"note":"Value kept but may cause issues"} 
[2026-07-07 19:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2906088375278686208,"note":"Value kept but may cause issues"} 
[2026-07-07 19:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783432439000,"timestamp_ms":1783432439000,"timestamp_seconds":1783432439,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdb64d8"} 
[2026-07-07 19:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:25: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-07-07 19:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 19:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:25: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-07-07 19:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558702592001,"66":27343,"124":206,"80":34304,"24":56,"16":341815985864441856,"45":-2906088375278686208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,80,24,16,45]} 
[2026-07-07 19:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558702592001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:25:40] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-07 19:25:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341815985864441856,"km_value":341815985864441.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2906088375278686208,"description":"Unknown IO ID 45"} 
[2026-07-07 19:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558702592001,"power":27343,"unknown_124":206,"unknown_80":34304,"ignition":56,"odometer":null,"unknown_45":-2906088375278686208}} 
[2026-07-07 19:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":126801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:25:40] local.INFO: GPS data processed {"connection_id":126801,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:25:40] local.INFO: Acknowledgment sent {"connection_id":126801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:26:10] local.INFO: TCP Data received {"connection_id":125530,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdbab28012d193b80071ffad8003c005426..."} 
[2026-07-07 19:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdbab28012d193b80071ffad8003c005426..."} 
[2026-07-07 19:26:10] local.INFO: Processing buffer {"connection_id":125530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdbab28012d193b80071ffad8003c005426..."} 
[2026-07-07 19:26:10] local.INFO: Packet analysis {"connection_id":125530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdb"} 
[2026-07-07 19:26:10] local.INFO: Extracted packet for processing {"connection_id":125530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdb"} 
[2026-07-07 19:26:10] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":38,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558703616001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783432457000,"timestamp_ms":1783432457000,"timestamp_seconds":1783432457,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdbab28"} 
[2026-07-07 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-07-07 19:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-07 19:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":-110338190870577152,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:10] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3658547201,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184168521933,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:10] local.WARNING: Large IO value detected {"io_id":140,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:10] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-371546711554513664,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845953264,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-07 19:26:10] local.WARNING: Large IO value detected {"io_id":190,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:10] local.WARNING: Large IO value detected {"io_id":59,"raw_value":-9221366549791622144,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:10] local.WARNING: Large IO value detected {"io_id":216,"raw_value":-3972173578132291577,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:10] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:10] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:10] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2954361355555047936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:10] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,254,159,7,45,128,250,60,39,10,66,181,99,1,240,140,31,4,113,205,190,59,216,38,239,48,2,71,206,84],"length":632,"final_offset":762,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-07 19:26:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323548168756133888,"timestamp_seconds":4323548168756134.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 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-07-07 19:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558703616001,"66":12428,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558703616001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:26:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:26:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558703616001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":125530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:26:10] local.INFO: GPS data processed {"connection_id":125530,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:26:10] local.INFO: Acknowledgment sent {"connection_id":125530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:26:21] local.INFO: TCP Data received {"connection_id":125531,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:26:21] local.INFO: Processing buffer {"connection_id":125531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:26:21] local.INFO: IMEI packet received {"connection_id":125531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":125531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:26:22] local.INFO: TCP Data received {"connection_id":125531,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 19:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125531,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 19:26:22] local.INFO: Processing buffer {"connection_id":125531,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 19:26:22] local.INFO: IMEI packet received {"connection_id":125531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":125531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:26:23] local.INFO: TCP Data received {"connection_id":125531,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdc7648012dd8e34005106438000d008725..."} 
[2026-07-07 19:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdc7648012dd8e34005106438000d008725..."} 
[2026-07-07 19:26:23] local.INFO: Processing buffer {"connection_id":125531,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f3c..."} 
[2026-07-07 19:26:23] local.INFO: IMEI packet received {"connection_id":125531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":125531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:26:24] local.INFO: TCP Data received {"connection_id":125531,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdc9588012dd8ff0005104890001100862d..."} 
[2026-07-07 19:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdc9588012dd8ff0005104890001100862d..."} 
[2026-07-07 19:26:24] local.INFO: Processing buffer {"connection_id":125531,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3cdc7648012dd8e34005106438000d008725..."} 
[2026-07-07 19:26:24] local.INFO: Packet analysis {"connection_id":125531,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3cdc"} 
[2026-07-07 19:26:24] local.INFO: Extracted packet for processing {"connection_id":125531,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdc"} 
[2026-07-07 19:26:24] local.INFO: GPS Element Parsed {"raw_longitude":769188672,"raw_latitude":84960312,"longitude_deg":76.9188672,"latitude_deg":8.4960312,"altitude":13,"angle":135,"satellites":37,"speed":53,"hex_longitude":"2dd8e340","hex_latitude":"05106438","is_valid_coordinates":true} 
[2026-07-07 19:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558720512001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341821006681210880,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2825727269446590464,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783432509000,"timestamp_ms":1783432509000,"timestamp_seconds":1783432509,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdc7648"} 
[2026-07-07 19:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:26: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-07-07 19:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 19:26: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-07-07 19:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558720512001,"66":27267,"113":206,"80":34048,"24":53,"16":341821006681210880,"45":-2825727269446590464},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 19:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558720512001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:26:24] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 19:26:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-07-07 19:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341821006681210880,"km_value":341821006681210.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2825727269446590464,"description":"Unknown IO ID 45"} 
[2026-07-07 19:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558720512001,"power":27267,"unknown_113":206,"unknown_80":34048,"ignition":53,"odometer":null,"unknown_45":-2825727269446590464}} 
[2026-07-07 19:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":125531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:26:24] local.INFO: GPS data processed {"connection_id":125531,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:26:24] local.INFO: Acknowledgment sent {"connection_id":125531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:26:24] local.INFO: Packet analysis {"connection_id":125531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdc"} 
[2026-07-07 19:26:24] local.INFO: Extracted packet for processing {"connection_id":125531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdc"} 
[2026-07-07 19:26:24] local.INFO: GPS Element Parsed {"raw_longitude":769195776,"raw_latitude":84953232,"longitude_deg":76.9195776,"latitude_deg":8.4953232,"altitude":17,"angle":134,"satellites":45,"speed":45,"hex_longitude":"2dd8ff00","hex_latitude":"05104890","is_valid_coordinates":true} 
[2026-07-07 19:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558722304001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341821492012515328,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2818338551309780992,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783432517000,"timestamp_ms":1783432517000,"timestamp_seconds":1783432517,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdc9588"} 
[2026-07-07 19:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:26: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-07-07 19:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 19:26: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-07-07 19:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558722304001,"66":27332,"113":206,"80":34048,"24":45,"16":341821492012515328,"45":-2818338551309780992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 19:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558722304001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:26:24] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 19:26:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-07-07 19:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341821492012515328,"km_value":341821492012515.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2818338551309780992,"description":"Unknown IO ID 45"} 
[2026-07-07 19:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558722304001,"power":27332,"unknown_113":206,"unknown_80":34048,"ignition":45,"odometer":null,"unknown_45":-2818338551309780992}} 
[2026-07-07 19:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":125531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:26:24] local.INFO: GPS data processed {"connection_id":125531,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:26:24] local.INFO: Acknowledgment sent {"connection_id":125531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:26:24] local.INFO: TCP Data received {"connection_id":125531,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdcb8b0012dd91a8005102ce0000f00862d..."} 
[2026-07-07 19:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdcb8b0012dd91a8005102ce0000f00862d..."} 
[2026-07-07 19:26:24] local.INFO: Processing buffer {"connection_id":125531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdcb8b0012dd91a8005102ce0000f00862d..."} 
[2026-07-07 19:26:24] local.INFO: Packet analysis {"connection_id":125531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdc"} 
[2026-07-07 19:26:24] local.INFO: Extracted packet for processing {"connection_id":125531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdc"} 
[2026-07-07 19:26:24] local.INFO: GPS Element Parsed {"raw_longitude":769202816,"raw_latitude":84946144,"longitude_deg":76.9202816,"latitude_deg":8.4946144,"altitude":15,"angle":134,"satellites":45,"speed":43,"hex_longitude":"2dd91a80","hex_latitude":"05102ce0","is_valid_coordinates":true} 
[2026-07-07 19:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558724352001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341821973048852480,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2810527620707872768,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783432526000,"timestamp_ms":1783432526000,"timestamp_seconds":1783432526,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdcb8b0"} 
[2026-07-07 19:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:26: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-07-07 19:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 19:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558724352001,"66":27245,"113":206,"80":34048,"24":43,"16":341821973048852480,"45":-2810527620707872768},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 19:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558724352001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:26:24] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 19:26:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-07-07 19:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341821973048852480,"km_value":341821973048852.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2810527620707872768,"description":"Unknown IO ID 45"} 
[2026-07-07 19:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558724352001,"power":27245,"unknown_113":206,"unknown_80":34048,"ignition":43,"odometer":null,"unknown_45":-2810527620707872768}} 
[2026-07-07 19:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":125531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:26:24] local.INFO: GPS data processed {"connection_id":125531,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:26:24] local.INFO: Acknowledgment sent {"connection_id":125531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:26:33] local.INFO: TCP Data received {"connection_id":124822,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:26:33] local.INFO: Processing buffer {"connection_id":124822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:26:33] local.INFO: IMEI packet received {"connection_id":124822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":124822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:26:38] local.INFO: TCP Data received {"connection_id":124822,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:26:38] local.INFO: Processing buffer {"connection_id":124822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:26:38] local.INFO: IMEI packet received {"connection_id":124822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":124822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:26:39] local.INFO: TCP Data received {"connection_id":124822,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdbfd30012d193b80071ffad8003c005425..."} 
[2026-07-07 19:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdbfd30012d193b80071ffad8003c005425..."} 
[2026-07-07 19:26:39] local.INFO: Processing buffer {"connection_id":124822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdbfd30012d193b80071ffad8003c005425..."} 
[2026-07-07 19:26:39] local.INFO: Packet analysis {"connection_id":124822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdb"} 
[2026-07-07 19:26:39] local.INFO: Extracted packet for processing {"connection_id":124822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdb"} 
[2026-07-07 19:26:39] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":37,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558708992001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783432478000,"timestamp_ms":1783432478000,"timestamp_seconds":1783432478,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdbfd30"} 
[2026-07-07 19:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-07 19:26: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-07-07 19:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558708992001,"66":12428,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558708992001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:26:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:26:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558708992001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":124822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:26:40] local.INFO: GPS data processed {"connection_id":124822,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:26:40] local.INFO: Acknowledgment sent {"connection_id":124822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:26:58] local.INFO: TCP Data received {"connection_id":124723,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:26:58] local.INFO: Processing buffer {"connection_id":124723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:26:58] local.INFO: IMEI packet received {"connection_id":124723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":124723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:26:58] local.INFO: TCP Data received {"connection_id":124723,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:26:58] local.INFO: Processing buffer {"connection_id":124723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:26:58] local.INFO: IMEI packet received {"connection_id":124723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":124723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:27:03] local.INFO: TCP Data received {"connection_id":124723,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:27:03] local.INFO: Processing buffer {"connection_id":124723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:27:03] local.INFO: IMEI packet received {"connection_id":124723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":124723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:27:04] local.INFO: TCP Data received {"connection_id":124723,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdcd7f0012dd9348005101200000d00862d..."} 
[2026-07-07 19:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdcd7f0012dd9348005101200000d00862d..."} 
[2026-07-07 19:27:04] local.INFO: Processing buffer {"connection_id":124723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdcd7f0012dd9348005101200000d00862d..."} 
[2026-07-07 19:27:04] local.INFO: Packet analysis {"connection_id":124723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdc"} 
[2026-07-07 19:27:04] local.INFO: Extracted packet for processing {"connection_id":124723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdc"} 
[2026-07-07 19:27:04] local.INFO: GPS Element Parsed {"raw_longitude":769209472,"raw_latitude":84939264,"longitude_deg":76.9209472,"latitude_deg":8.4939264,"altitude":13,"angle":134,"satellites":45,"speed":52,"hex_longitude":"2dd93480","hex_latitude":"05101200","is_valid_coordinates":true} 
[2026-07-07 19:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558726656001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341822432610353152,"note":"Value kept but may cause issues"} 
[2026-07-07 19:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2802787058850144256,"note":"Value kept but may cause issues"} 
[2026-07-07 19:27:04] 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-07-07 19:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783432534000,"timestamp_ms":1783432534000,"timestamp_seconds":1783432534,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdcd7f0"} 
[2026-07-07 19:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 19:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558726656001,"66":27343,"158":206,"80":34048,"24":52,"16":341822432610353152,"45":-2802787058850144256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,80,24,16,45]} 
[2026-07-07 19:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558726656001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:27:04] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 19:27:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-07-07 19:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341822432610353152,"km_value":341822432610353.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2802787058850144256,"description":"Unknown IO ID 45"} 
[2026-07-07 19:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558726656001,"power":27343,"unknown_158":206,"unknown_80":34048,"ignition":52,"odometer":null,"unknown_45":-2802787058850144256}} 
[2026-07-07 19:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":124723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:27:04] local.INFO: GPS data processed {"connection_id":124723,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:27:04] local.INFO: Acknowledgment sent {"connection_id":124723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:27:11] local.INFO: TCP Data received {"connection_id":124822,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdc4f38012d193b80071ffad8003c005427..."} 
[2026-07-07 19:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdc4f38012d193b80071ffad8003c005427..."} 
[2026-07-07 19:27:11] local.INFO: Processing buffer {"connection_id":124822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdc4f38012d193b80071ffad8003c005427..."} 
[2026-07-07 19:27:11] local.INFO: Packet analysis {"connection_id":124822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdc"} 
[2026-07-07 19:27:11] local.INFO: Extracted packet for processing {"connection_id":124822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdc"} 
[2026-07-07 19:27:11] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":39,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558714368001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783432499000,"timestamp_ms":1783432499000,"timestamp_seconds":1783432499,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdc4f38"} 
[2026-07-07 19:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-07 19:27: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-07-07 19:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558714368001,"66":12428,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558714368001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:27:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:27:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558714368001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":124822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:27:11] local.INFO: GPS data processed {"connection_id":124822,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:27:11] local.INFO: Acknowledgment sent {"connection_id":124822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:27:35] local.INFO: TCP Data received {"connection_id":124723,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdcf348012dd94e80050ff7e0000c00872b..."} 
[2026-07-07 19:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdcf348012dd94e80050ff7e0000c00872b..."} 
[2026-07-07 19:27:35] local.INFO: Processing buffer {"connection_id":124723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdcf348012dd94e80050ff7e0000c00872b..."} 
[2026-07-07 19:27:35] local.INFO: Packet analysis {"connection_id":124723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdc"} 
[2026-07-07 19:27:35] local.INFO: Extracted packet for processing {"connection_id":124723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdc"} 
[2026-07-07 19:27:35] local.INFO: GPS Element Parsed {"raw_longitude":769216128,"raw_latitude":84932576,"longitude_deg":76.9216128,"latitude_deg":8.4932576,"altitude":12,"angle":135,"satellites":43,"speed":55,"hex_longitude":"2dd94e80","hex_latitude":"050ff7e0","is_valid_coordinates":true} 
[2026-07-07 19:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558728704001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341822887876886528,"note":"Value kept but may cause issues"} 
[2026-07-07 19:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2795468709457428480,"note":"Value kept but may cause issues"} 
[2026-07-07 19:27:35] 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-07-07 19:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783432541000,"timestamp_ms":1783432541000,"timestamp_seconds":1783432541,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdcf348"} 
[2026-07-07 19:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 19:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558728704001,"66":27343,"158":206,"80":34048,"24":55,"16":341822887876886528,"45":-2795468709457428480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,80,24,16,45]} 
[2026-07-07 19:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558728704001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:27:35] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 19:27:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-07-07 19:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341822887876886528,"km_value":341822887876886.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2795468709457428480,"description":"Unknown IO ID 45"} 
[2026-07-07 19:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558728704001,"power":27343,"unknown_158":206,"unknown_80":34048,"ignition":55,"odometer":null,"unknown_45":-2795468709457428480}} 
[2026-07-07 19:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":124723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:27:35] local.INFO: GPS data processed {"connection_id":124723,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:27:35] local.INFO: Acknowledgment sent {"connection_id":124723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:27:37] local.INFO: TCP Data received {"connection_id":124824,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:27:37] local.INFO: Processing buffer {"connection_id":124824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:27:37] local.INFO: IMEI packet received {"connection_id":124824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":124824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:27:38] local.INFO: TCP Data received {"connection_id":124824,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:27:38] local.INFO: Processing buffer {"connection_id":124824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:27:38] local.INFO: IMEI packet received {"connection_id":124824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":124824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:27:43] local.INFO: TCP Data received {"connection_id":124824,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:27:43] local.INFO: Processing buffer {"connection_id":124824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:27:43] local.INFO: IMEI packet received {"connection_id":124824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":124824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:27:45] local.INFO: TCP Data received {"connection_id":124824,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdca140012d193b80071ffad8003c005424..."} 
[2026-07-07 19:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdca140012d193b80071ffad8003c005424..."} 
[2026-07-07 19:27:45] local.INFO: Processing buffer {"connection_id":124824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdca140012d193b80071ffad8003c005424..."} 
[2026-07-07 19:27:45] local.INFO: Packet analysis {"connection_id":124824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdc"} 
[2026-07-07 19:27:45] local.INFO: Extracted packet for processing {"connection_id":124824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdc"} 
[2026-07-07 19:27:45] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":36,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558719744001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:27: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-07-07 19:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783432520000,"timestamp_ms":1783432520000,"timestamp_seconds":1783432520,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdca140"} 
[2026-07-07 19:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:27: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-07-07 19: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":140,"data_length":795,"current_offset":136} 
[2026-07-07 19:27: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-07-07 19: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-07-07 19:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558719744001,"66":12428,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558719744001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:27:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:27:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558719744001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":124824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:27:45] local.INFO: GPS data processed {"connection_id":124824,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:27:45] local.INFO: Acknowledgment sent {"connection_id":124824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:27:46] local.INFO: TCP Data received {"connection_id":124824,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdcf348012d193b80071ffad8003c005426..."} 
[2026-07-07 19:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdcf348012d193b80071ffad8003c005426..."} 
[2026-07-07 19:27:46] local.INFO: Processing buffer {"connection_id":124824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdcf348012d193b80071ffad8003c005426..."} 
[2026-07-07 19:27:46] local.INFO: Packet analysis {"connection_id":124824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdc"} 
[2026-07-07 19:27:46] local.INFO: Extracted packet for processing {"connection_id":124824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdc"} 
[2026-07-07 19:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119536344,"longitude_deg":75.6628352,"latitude_deg":11.9536344,"altitude":60,"angle":84,"satellites":38,"speed":0,"hex_longitude":"2d193b80","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-07-07 19:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558725120001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783390976901120,"note":"Value kept but may cause issues"} 
[2026-07-07 19:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642663786496,"note":"Value kept but may cause issues"} 
[2026-07-07 19:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783432541000,"timestamp_ms":1783432541000,"timestamp_seconds":1783432541,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdcf348"} 
[2026-07-07 19:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-07 19:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558725120001,"66":12406,"121":206,"28":31744,"24":0,"16":4783390976901120,"45":1818187642663786496},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558725120001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:27:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:27:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783390976901120,"km_value":4783390976901.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642663786496,"description":"Unknown IO ID 45"} 
[2026-07-07 19:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558725120001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818187642663786496}} 
[2026-07-07 19:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":124824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:27:46] local.INFO: GPS data processed {"connection_id":124824,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:27:46] local.INFO: Acknowledgment sent {"connection_id":124824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:27:58] local.INFO: TCP Data received {"connection_id":125532,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:27:58] local.INFO: Processing buffer {"connection_id":125532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:27:58] local.INFO: IMEI packet received {"connection_id":125532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":125532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:28:00] local.INFO: TCP Data received {"connection_id":125532,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:28:00] local.INFO: Processing buffer {"connection_id":125532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:28:00] local.INFO: IMEI packet received {"connection_id":125532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":125532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:28:03] local.INFO: TCP Data received {"connection_id":125532,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:28:03] local.INFO: Processing buffer {"connection_id":125532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:28:03] local.INFO: IMEI packet received {"connection_id":125532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":125532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:28:04] local.INFO: TCP Data received {"connection_id":125532,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdd0ea0012dd96a00050fdca0000d00862b..."} 
[2026-07-07 19:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdd0ea0012dd96a00050fdca0000d00862b..."} 
[2026-07-07 19:28:04] local.INFO: Processing buffer {"connection_id":125532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdd0ea0012dd96a00050fdca0000d00862b..."} 
[2026-07-07 19:28:04] local.INFO: Packet analysis {"connection_id":125532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdd"} 
[2026-07-07 19:28:04] local.INFO: Extracted packet for processing {"connection_id":125532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdd"} 
[2026-07-07 19:28:04] local.INFO: GPS Element Parsed {"raw_longitude":769223168,"raw_latitude":84925600,"longitude_deg":76.9223168,"latitude_deg":8.49256,"altitude":13,"angle":134,"satellites":43,"speed":55,"hex_longitude":"2dd96a00","hex_latitude":"050fdca0","is_valid_coordinates":true} 
[2026-07-07 19:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558730496001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341823368913223680,"note":"Value kept but may cause issues"} 
[2026-07-07 19:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2788150360064663552,"note":"Value kept but may cause issues"} 
[2026-07-07 19:28:04] 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-07-07 19:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783432548000,"timestamp_ms":1783432548000,"timestamp_seconds":1783432548,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdd0ea0"} 
[2026-07-07 19:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 19:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558730496001,"66":27300,"158":206,"80":34048,"24":55,"16":341823368913223680,"45":-2788150360064663552},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,80,24,16,45]} 
[2026-07-07 19:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558730496001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:28:04] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-07 19:28:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-07-07 19:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341823368913223680,"km_value":341823368913223.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2788150360064663552,"description":"Unknown IO ID 45"} 
[2026-07-07 19:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558730496001,"power":27300,"unknown_158":206,"unknown_80":34048,"ignition":55,"odometer":null,"unknown_45":-2788150360064663552}} 
[2026-07-07 19:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":125532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:28:04] local.INFO: GPS data processed {"connection_id":125532,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:28:04] local.INFO: Acknowledgment sent {"connection_id":125532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:28:18] local.INFO: TCP Data received {"connection_id":124824,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cde5e90012d195080071ff3880037008e25..."} 
[2026-07-07 19:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cde5e90012d195080071ff3880037008e25..."} 
[2026-07-07 19:28:18] local.INFO: Processing buffer {"connection_id":124824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cde5e90012d195080071ff3880037008e25..."} 
[2026-07-07 19:28:18] local.INFO: Packet analysis {"connection_id":124824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cde"} 
[2026-07-07 19:28:18] local.INFO: Extracted packet for processing {"connection_id":124824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cde"} 
[2026-07-07 19:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756633728,"raw_latitude":119534472,"longitude_deg":75.6633728,"latitude_deg":11.9534472,"altitude":55,"angle":142,"satellites":37,"speed":7,"hex_longitude":"2d195080","hex_latitude":"071ff388","is_valid_coordinates":true} 
[2026-07-07 19:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558753024001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783695919579136,"note":"Value kept but may cause issues"} 
[2026-07-07 19:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823535667221088256,"note":"Value kept but may cause issues"} 
[2026-07-07 19:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783432634000,"timestamp_ms":1783432634000,"timestamp_seconds":1783432634,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cde5e90"} 
[2026-07-07 19:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 19:28:18] 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-07-07 19:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558753024001,"66":13135,"121":206,"28":31744,"24":7,"16":4783695919579136,"45":1823535667221088256},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558753024001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:28:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:28:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783695919579136,"km_value":4783695919579.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823535667221088256,"description":"Unknown IO ID 45"} 
[2026-07-07 19:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558753024001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1823535667221088256}} 
[2026-07-07 19:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":124824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:28:18] local.INFO: GPS data processed {"connection_id":124824,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:28:18] local.INFO: Acknowledgment sent {"connection_id":124824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:28:36] local.INFO: TCP Data received {"connection_id":125532,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cded3c0012ddab7c0050e7bd00005007c2f..."} 
[2026-07-07 19:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cded3c0012ddab7c0050e7bd00005007c2f..."} 
[2026-07-07 19:28:36] local.INFO: Processing buffer {"connection_id":125532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cded3c0012ddab7c0050e7bd00005007c2f..."} 
[2026-07-07 19:28:36] local.INFO: Packet analysis {"connection_id":125532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cde"} 
[2026-07-07 19:28:36] local.INFO: Extracted packet for processing {"connection_id":125532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cde"} 
[2026-07-07 19:28:36] local.INFO: GPS Element Parsed {"raw_longitude":769308608,"raw_latitude":84835280,"longitude_deg":76.9308608,"latitude_deg":8.483528,"altitude":5,"angle":124,"satellites":47,"speed":11,"hex_longitude":"2ddab7c0","hex_latitude":"050e7bd0","is_valid_coordinates":true} 
[2026-07-07 19:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558758400001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341829368982536192,"note":"Value kept but may cause issues"} 
[2026-07-07 19:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2693574767913203712,"note":"Value kept but may cause issues"} 
[2026-07-07 19:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783432664000,"timestamp_ms":1783432664000,"timestamp_seconds":1783432664,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cded3c0"} 
[2026-07-07 19:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 19:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558758400001,"66":27343,"180":206,"80":34304,"24":11,"16":341829368982536192,"45":-2693574767913203712},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-07-07 19:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558758400001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:28:36] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-07 19:28:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341829368982536192,"km_value":341829368982536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2693574767913203712,"description":"Unknown IO ID 45"} 
[2026-07-07 19:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558758400001,"power":27343,"unknown_180":206,"unknown_80":34304,"ignition":11,"odometer":null,"unknown_45":-2693574767913203712}} 
[2026-07-07 19:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":125532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:28:36] local.INFO: GPS data processed {"connection_id":125532,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:28:36] local.INFO: Acknowledgment sent {"connection_id":125532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:28:36] local.INFO: TCP Data received {"connection_id":124825,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:28:36] local.INFO: Processing buffer {"connection_id":124825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:28:36] local.INFO: IMEI packet received {"connection_id":124825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":124825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:28:37] local.INFO: TCP Data received {"connection_id":124825,"ip":"117.225.141.88","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:28:37] local.INFO: Processing buffer {"connection_id":124825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:28:37] local.INFO: IMEI packet received {"connection_id":124825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":124825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:28:38] local.INFO: TCP Data received {"connection_id":124825,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cde6278012d195140071ff3100037008121..."} 
[2026-07-07 19:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cde6278012d195140071ff3100037008121..."} 
[2026-07-07 19:28:38] local.INFO: Processing buffer {"connection_id":124825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cde6278012d195140071ff3100037008121..."} 
[2026-07-07 19:28:38] local.INFO: Packet analysis {"connection_id":124825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cde"} 
[2026-07-07 19:28:38] local.INFO: Extracted packet for processing {"connection_id":124825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cde"} 
[2026-07-07 19:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756633920,"raw_latitude":119534352,"longitude_deg":75.663392,"latitude_deg":11.9534352,"altitude":55,"angle":129,"satellites":33,"speed":7,"hex_longitude":"2d195140","hex_latitude":"071ff310","is_valid_coordinates":true} 
[2026-07-07 19:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558754304001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783704509513728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824098617174231040,"note":"Value kept but may cause issues"} 
[2026-07-07 19:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783432635000,"timestamp_ms":1783432635000,"timestamp_seconds":1783432635,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cde6278"} 
[2026-07-07 19:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 19:28: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-07-07 19:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558754304001,"66":13135,"121":206,"28":31744,"24":7,"16":4783704509513728,"45":1824098617174231040},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558754304001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:28:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:28:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783704509513728,"km_value":4783704509513.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824098617174231040,"description":"Unknown IO ID 45"} 
[2026-07-07 19:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558754304001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1824098617174231040}} 
[2026-07-07 19:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":124825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:28:39] local.INFO: GPS data processed {"connection_id":124825,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:28:39] local.INFO: Acknowledgment sent {"connection_id":124825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:28:40] local.INFO: TCP Data received {"connection_id":124825,"ip":"117.225.141.88","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdeb480012d195280071ff2480038007e28..."} 
[2026-07-07 19:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdeb480012d195280071ff2480038007e28..."} 
[2026-07-07 19:28:40] local.INFO: Processing buffer {"connection_id":124825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdeb480012d195280071ff2480038007e28..."} 
[2026-07-07 19:28:40] local.INFO: Packet analysis {"connection_id":124825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cde"} 
[2026-07-07 19:28:40] local.INFO: Extracted packet for processing {"connection_id":124825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cde"} 
[2026-07-07 19:28:40] local.INFO: GPS Element Parsed {"raw_longitude":756634240,"raw_latitude":119534152,"longitude_deg":75.663424,"latitude_deg":11.9534152,"altitude":56,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d195280","hex_latitude":"071ff248","is_valid_coordinates":true} 
[2026-07-07 19:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558754560001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783721689382912,"note":"Value kept but may cause issues"} 
[2026-07-07 19:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824309723406733312,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783432656000,"timestamp_ms":1783432656000,"timestamp_seconds":1783432656,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdeb480"} 
[2026-07-07 19:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-07 19:28: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-07-07 19:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.141.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558754560001,"66":12798,"121":206,"28":31744,"24":0,"16":4783721689382912,"45":1824309723406733312},"client_ip":"117.225.141.88","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558754560001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:28:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:28:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783721689382912,"km_value":4783721689382.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824309723406733312,"description":"Unknown IO ID 45"} 
[2026-07-07 19:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558754560001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1824309723406733312}} 
[2026-07-07 19:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":124825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:28:40] local.INFO: GPS data processed {"connection_id":124825,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:28:40] local.INFO: Acknowledgment sent {"connection_id":124825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:28:58] local.INFO: TCP Data received {"connection_id":124826,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:28:58] local.INFO: Processing buffer {"connection_id":124826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:28:58] local.INFO: IMEI packet received {"connection_id":124826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":124826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:29:03] local.INFO: TCP Data received {"connection_id":124826,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:29:03] local.INFO: Processing buffer {"connection_id":124826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:29:03] local.INFO: IMEI packet received {"connection_id":124826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":124826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:29:04] local.INFO: TCP Data received {"connection_id":124826,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cded3c0012ddab7c0050e7bd00005007c2f..."} 
[2026-07-07 19:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cded3c0012ddab7c0050e7bd00005007c2f..."} 
[2026-07-07 19:29:04] local.INFO: Processing buffer {"connection_id":124826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cded3c0012ddab7c0050e7bd00005007c2f..."} 
[2026-07-07 19:29:04] local.INFO: Packet analysis {"connection_id":124826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cde"} 
[2026-07-07 19:29:04] local.INFO: Extracted packet for processing {"connection_id":124826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cde"} 
[2026-07-07 19:29:04] local.INFO: GPS Element Parsed {"raw_longitude":769308608,"raw_latitude":84835280,"longitude_deg":76.9308608,"latitude_deg":8.483528,"altitude":5,"angle":124,"satellites":47,"speed":11,"hex_longitude":"2ddab7c0","hex_latitude":"050e7bd0","is_valid_coordinates":true} 
[2026-07-07 19:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558761984001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341829368982536192,"note":"Value kept but may cause issues"} 
[2026-07-07 19:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2686467524752846848,"note":"Value kept but may cause issues"} 
[2026-07-07 19:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783432664000,"timestamp_ms":1783432664000,"timestamp_seconds":1783432664,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cded3c0"} 
[2026-07-07 19:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 19:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558761984001,"66":27343,"180":206,"80":34304,"24":11,"16":341829368982536192,"45":-2686467524752846848},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-07-07 19:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558761984001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:29:04] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-07 19:29:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341829368982536192,"km_value":341829368982536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2686467524752846848,"description":"Unknown IO ID 45"} 
[2026-07-07 19:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558761984001,"power":27343,"unknown_180":206,"unknown_80":34304,"ignition":11,"odometer":null,"unknown_45":-2686467524752846848}} 
[2026-07-07 19:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":124826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:29:04] local.INFO: GPS data processed {"connection_id":124826,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:29:04] local.INFO: Acknowledgment sent {"connection_id":124826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:29:33] local.INFO: TCP Data received {"connection_id":124724,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:29:33] local.INFO: Processing buffer {"connection_id":124724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:29:33] local.INFO: IMEI packet received {"connection_id":124724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 19:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":124724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:29:35] local.INFO: TCP Data received {"connection_id":124826,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdeef18012ddac2c0050e73f8000500882e..."} 
[2026-07-07 19:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdeef18012ddac2c0050e73f8000500882e..."} 
[2026-07-07 19:29:35] local.INFO: Processing buffer {"connection_id":124826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdeef18012ddac2c0050e73f8000500882e..."} 
[2026-07-07 19:29:35] local.INFO: Packet analysis {"connection_id":124826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cde"} 
[2026-07-07 19:29:35] local.INFO: Extracted packet for processing {"connection_id":124826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cde"} 
[2026-07-07 19:29:35] local.INFO: GPS Element Parsed {"raw_longitude":769311424,"raw_latitude":84833272,"longitude_deg":76.9311424,"latitude_deg":8.4833272,"altitude":5,"angle":136,"satellites":46,"speed":23,"hex_longitude":"2ddac2c0","hex_latitude":"050e73f8","is_valid_coordinates":true} 
[2026-07-07 19:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558761984001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341829536486260736,"note":"Value kept but may cause issues"} 
[2026-07-07 19:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2686467524752846848,"note":"Value kept but may cause issues"} 
[2026-07-07 19:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783432671000,"timestamp_ms":1783432671000,"timestamp_seconds":1783432671,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdeef18"} 
[2026-07-07 19:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 19:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558761984001,"66":27300,"180":206,"80":34304,"24":23,"16":341829536486260736,"45":-2686467524752846848},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-07-07 19:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558761984001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:29:35] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-07 19:29:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341829536486260736,"km_value":341829536486260.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2686467524752846848,"description":"Unknown IO ID 45"} 
[2026-07-07 19:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558761984001,"power":27300,"unknown_180":206,"unknown_80":34304,"ignition":23,"odometer":null,"unknown_45":-2686467524752846848}} 
[2026-07-07 19:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":124826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:29:35] local.INFO: GPS data processed {"connection_id":124826,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:29:35] local.INFO: Acknowledgment sent {"connection_id":124826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:29:58] local.INFO: TCP Data received {"connection_id":126802,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:29:58] local.INFO: Processing buffer {"connection_id":126802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:29:58] local.INFO: IMEI packet received {"connection_id":126802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":126802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:29:58] local.INFO: TCP Data received {"connection_id":126802,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:29:58] local.INFO: Processing buffer {"connection_id":126802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:29:58] local.INFO: IMEI packet received {"connection_id":126802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":126802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:30:03] local.INFO: TCP Data received {"connection_id":126802,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:30:03] local.INFO: Processing buffer {"connection_id":126802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:30:03] local.INFO: IMEI packet received {"connection_id":126802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":126802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:30:03] local.INFO: TCP Data received {"connection_id":126803,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:30:03] local.INFO: Processing buffer {"connection_id":126803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:30:03] local.INFO: IMEI packet received {"connection_id":126803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 19:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":126803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:30:04] local.INFO: TCP Data received {"connection_id":126802,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdf25c8012ddadc40050e59b8000400882f..."} 
[2026-07-07 19:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdf25c8012ddadc40050e59b8000400882f..."} 
[2026-07-07 19:30:04] local.INFO: Processing buffer {"connection_id":126802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdf25c8012ddadc40050e59b8000400882f..."} 
[2026-07-07 19:30:04] local.INFO: Packet analysis {"connection_id":126802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:30:04] local.INFO: Extracted packet for processing {"connection_id":126802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:30:04] local.INFO: GPS Element Parsed {"raw_longitude":769317952,"raw_latitude":84826552,"longitude_deg":76.9317952,"latitude_deg":8.4826552,"altitude":4,"angle":136,"satellites":47,"speed":31,"hex_longitude":"2ddadc40","hex_latitude":"050e59b8","is_valid_coordinates":true} 
[2026-07-07 19:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558763776001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341829987457826816,"note":"Value kept but may cause issues"} 
[2026-07-07 19:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2683371300009543680,"note":"Value kept but may cause issues"} 
[2026-07-07 19:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783432685000,"timestamp_ms":1783432685000,"timestamp_seconds":1783432685,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdf25c8"} 
[2026-07-07 19:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 19:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558763776001,"66":27365,"179":206,"80":34304,"24":31,"16":341829987457826816,"45":-2683371300009543680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,80,24,16,45]} 
[2026-07-07 19:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558763776001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:30:04] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-07 19:30:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 19:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341829987457826816,"km_value":341829987457826.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2683371300009543680,"description":"Unknown IO ID 45"} 
[2026-07-07 19:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558763776001,"power":27365,"unknown_179":206,"unknown_80":34304,"ignition":31,"odometer":null,"unknown_45":-2683371300009543680}} 
[2026-07-07 19:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":126802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:30:04] local.INFO: GPS data processed {"connection_id":126802,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:30:04] local.INFO: Acknowledgment sent {"connection_id":126802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:30:35] local.INFO: TCP Data received {"connection_id":126802,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce05e48012ddb52c0050def58000800732f..."} 
[2026-07-07 19:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce05e48012ddb52c0050def58000800732f..."} 
[2026-07-07 19:30:35] local.INFO: Processing buffer {"connection_id":126802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce05e48012ddb52c0050def58000800732f..."} 
[2026-07-07 19:30:35] local.INFO: Packet analysis {"connection_id":126802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce0"} 
[2026-07-07 19:30:35] local.INFO: Extracted packet for processing {"connection_id":126802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce0"} 
[2026-07-07 19:30:35] local.INFO: GPS Element Parsed {"raw_longitude":769348288,"raw_latitude":84799320,"longitude_deg":76.9348288,"latitude_deg":8.479932,"altitude":8,"angle":115,"satellites":47,"speed":23,"hex_longitude":"2ddb52c0","hex_latitude":"050def58","is_valid_coordinates":true} 
[2026-07-07 19:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558786560001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341832070516965376,"note":"Value kept but may cause issues"} 
[2026-07-07 19:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2644809228208590848,"note":"Value kept but may cause issues"} 
[2026-07-07 19:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783432765000,"timestamp_ms":1783432765000,"timestamp_seconds":1783432765,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce05e48"} 
[2026-07-07 19:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 19:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558786560001,"66":27463,"89":206,"80":33792,"24":23,"16":341832070516965376,"45":-2644809228208590848},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,80,24,16,45]} 
[2026-07-07 19:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558786560001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:30:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-07 19:30:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341832070516965376,"km_value":341832070516965.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2644809228208590848,"description":"Unknown IO ID 45"} 
[2026-07-07 19:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558786560001,"power":27463,"unknown_89":206,"unknown_80":33792,"ignition":23,"odometer":null,"unknown_45":-2644809228208590848}} 
[2026-07-07 19:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":126802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:30:35] local.INFO: GPS data processed {"connection_id":126802,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:30:35] local.INFO: Acknowledgment sent {"connection_id":126802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:30:58] local.INFO: TCP Data received {"connection_id":124726,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:30:58] local.INFO: Processing buffer {"connection_id":124726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:30:58] local.INFO: IMEI packet received {"connection_id":124726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":124726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:30:59] local.INFO: TCP Data received {"connection_id":124726,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:30:59] local.INFO: Processing buffer {"connection_id":124726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:30:59] local.INFO: IMEI packet received {"connection_id":124726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":124726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:31:03] local.INFO: TCP Data received {"connection_id":124726,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:31:03] local.INFO: Processing buffer {"connection_id":124726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:31:03] local.INFO: IMEI packet received {"connection_id":124726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":124726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:31:04] local.INFO: TCP Data received {"connection_id":124726,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:31:04] local.INFO: Processing buffer {"connection_id":124726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:31:04] local.INFO: IMEI packet received {"connection_id":124726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":124726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:31:05] local.INFO: TCP Data received {"connection_id":124726,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce08d28012ddb7440050de0d0000700742d..."} 
[2026-07-07 19:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce08d28012ddb7440050de0d0000700742d..."} 
[2026-07-07 19:31:05] local.INFO: Processing buffer {"connection_id":124726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce08d28012ddb7440050de0d0000700742d..."} 
[2026-07-07 19:31:05] local.INFO: Packet analysis {"connection_id":124726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce0"} 
[2026-07-07 19:31:05] local.INFO: Extracted packet for processing {"connection_id":124726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce0"} 
[2026-07-07 19:31:05] local.INFO: GPS Element Parsed {"raw_longitude":769356864,"raw_latitude":84795600,"longitude_deg":76.9356864,"latitude_deg":8.47956,"altitude":7,"angle":116,"satellites":45,"speed":35,"hex_longitude":"2ddb7440","hex_latitude":"050de0d0","is_valid_coordinates":true} 
[2026-07-07 19:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558787840001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341832517193564160,"note":"Value kept but may cause issues"} 
[2026-07-07 19:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2642838903371900928,"note":"Value kept but may cause issues"} 
[2026-07-07 19:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783432777000,"timestamp_ms":1783432777000,"timestamp_seconds":1783432777,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce08d28"} 
[2026-07-07 19:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 19:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558787840001,"66":27343,"89":206,"80":33792,"24":35,"16":341832517193564160,"45":-2642838903371900928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,80,24,16,45]} 
[2026-07-07 19:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558787840001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:31:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-07 19:31:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341832517193564160,"km_value":341832517193564.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2642838903371900928,"description":"Unknown IO ID 45"} 
[2026-07-07 19:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558787840001,"power":27343,"unknown_89":206,"unknown_80":33792,"ignition":35,"odometer":null,"unknown_45":-2642838903371900928}} 
[2026-07-07 19:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":124726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:31:05] local.INFO: GPS data processed {"connection_id":124726,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:31:05] local.INFO: Acknowledgment sent {"connection_id":124726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:31:09] local.INFO: TCP Data received {"connection_id":124726,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce0c3d8012ddb93c0050dd0380007007a2d..."} 
[2026-07-07 19:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce0c3d8012ddb93c0050dd0380007007a2d..."} 
[2026-07-07 19:31:09] local.INFO: Processing buffer {"connection_id":124726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce0c3d8012ddb93c0050dd0380007007a2d..."} 
[2026-07-07 19:31:09] local.INFO: Packet analysis {"connection_id":124726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce0"} 
[2026-07-07 19:31:09] local.INFO: Extracted packet for processing {"connection_id":124726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce0"} 
[2026-07-07 19:31:09] local.INFO: GPS Element Parsed {"raw_longitude":769364928,"raw_latitude":84791352,"longitude_deg":76.9364928,"latitude_deg":8.4791352,"altitude":7,"angle":122,"satellites":45,"speed":9,"hex_longitude":"2ddb93c0","hex_latitude":"050dd038","is_valid_coordinates":true} 
[2026-07-07 19:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558790912001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341832959575195648,"note":"Value kept but may cause issues"} 
[2026-07-07 19:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2633409491653046272,"note":"Value kept but may cause issues"} 
[2026-07-07 19:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783432791000,"timestamp_ms":1783432791000,"timestamp_seconds":1783432791,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce0c3d8"} 
[2026-07-07 19:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:31: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-07-07 19:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 19:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558790912001,"66":27376,"89":206,"80":33792,"24":9,"16":341832959575195648,"45":-2633409491653046272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,80,24,16,45]} 
[2026-07-07 19:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558790912001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:31:09] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-07 19:31:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341832959575195648,"km_value":341832959575195.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2633409491653046272,"description":"Unknown IO ID 45"} 
[2026-07-07 19:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558790912001,"power":27376,"unknown_89":206,"unknown_80":33792,"ignition":9,"odometer":null,"unknown_45":-2633409491653046272}} 
[2026-07-07 19:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":124726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:31:09] local.INFO: GPS data processed {"connection_id":124726,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:31:09] local.INFO: Acknowledgment sent {"connection_id":124726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:31:40] local.INFO: TCP Data received {"connection_id":124726,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce0e318012ddb9b00050dcbe80009006b2d..."} 
[2026-07-07 19:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce0e318012ddb9b00050dcbe80009006b2d..."} 
[2026-07-07 19:31:40] local.INFO: Processing buffer {"connection_id":124726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce0e318012ddb9b00050dcbe80009006b2d..."} 
[2026-07-07 19:31:40] local.INFO: Packet analysis {"connection_id":124726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce0"} 
[2026-07-07 19:31:40] local.INFO: Extracted packet for processing {"connection_id":124726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce0"} 
[2026-07-07 19:31:40] local.INFO: GPS Element Parsed {"raw_longitude":769366784,"raw_latitude":84790248,"longitude_deg":76.9366784,"latitude_deg":8.4790248,"altitude":9,"angle":107,"satellites":45,"speed":9,"hex_longitude":"2ddb9b00","hex_latitude":"050dcbe8","is_valid_coordinates":true} 
[2026-07-07 19:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558794496001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341833062654410752,"note":"Value kept but may cause issues"} 
[2026-07-07 19:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2624543029887748096,"note":"Value kept but may cause issues"} 
[2026-07-07 19:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783432799000,"timestamp_ms":1783432799000,"timestamp_seconds":1783432799,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce0e318"} 
[2026-07-07 19:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:31: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-07-07 19:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 19:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:31: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-07-07 19:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558794496001,"66":27310,"89":206,"80":33792,"24":9,"16":341833062654410752,"45":-2624543029887748096},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,80,24,16,45]} 
[2026-07-07 19:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558794496001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:31:40] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-07 19:31:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341833062654410752,"km_value":341833062654410.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2624543029887748096,"description":"Unknown IO ID 45"} 
[2026-07-07 19:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558794496001,"power":27310,"unknown_89":206,"unknown_80":33792,"ignition":9,"odometer":null,"unknown_45":-2624543029887748096}} 
[2026-07-07 19:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":124726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:31:40] local.INFO: GPS data processed {"connection_id":124726,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:31:40] local.INFO: Acknowledgment sent {"connection_id":124726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:31:58] local.INFO: TCP Data received {"connection_id":125535,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:31:58] local.INFO: Processing buffer {"connection_id":125535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:31:58] local.INFO: IMEI packet received {"connection_id":125535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":125535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:32:04] local.INFO: TCP Data received {"connection_id":125535,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:32:04] local.INFO: Processing buffer {"connection_id":125535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:32:04] local.INFO: IMEI packet received {"connection_id":125535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":125535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:32:04] local.INFO: TCP Data received {"connection_id":125535,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce10258012ddba300050dc8d80008007a2e..."} 
[2026-07-07 19:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce10258012ddba300050dc8d80008007a2e..."} 
[2026-07-07 19:32:04] local.INFO: Processing buffer {"connection_id":125535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce10258012ddba300050dc8d80008007a2e..."} 
[2026-07-07 19:32:04] local.INFO: Packet analysis {"connection_id":125535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce1"} 
[2026-07-07 19:32:04] local.INFO: Extracted packet for processing {"connection_id":125535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce1"} 
[2026-07-07 19:32:04] local.INFO: GPS Element Parsed {"raw_longitude":769368832,"raw_latitude":84789464,"longitude_deg":76.9368832,"latitude_deg":8.4789464,"altitude":8,"angle":122,"satellites":46,"speed":11,"hex_longitude":"2ddba300","hex_latitude":"050dc8d8","is_valid_coordinates":true} 
[2026-07-07 19:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558796544001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341833170028593152,"note":"Value kept but may cause issues"} 
[2026-07-07 19:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2622502336306878464,"note":"Value kept but may cause issues"} 
[2026-07-07 19:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783432807000,"timestamp_ms":1783432807000,"timestamp_seconds":1783432807,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce10258"} 
[2026-07-07 19:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-07 19:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558796544001,"66":27310,"89":206,"80":33792,"24":11,"16":341833170028593152,"45":-2622502336306878464},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,80,24,16,45]} 
[2026-07-07 19:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558796544001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:32:04] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-07 19:32:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341833170028593152,"km_value":341833170028593.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2622502336306878464,"description":"Unknown IO ID 45"} 
[2026-07-07 19:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558796544001,"power":27310,"unknown_89":206,"unknown_80":33792,"ignition":11,"odometer":null,"unknown_45":-2622502336306878464}} 
[2026-07-07 19:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":125535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:32:04] local.INFO: GPS data processed {"connection_id":125535,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:32:04] local.INFO: Acknowledgment sent {"connection_id":125535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:32:37] local.INFO: TCP Data received {"connection_id":125535,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce265d0012ddc5f40050dc5d8000800402b..."} 
[2026-07-07 19:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce265d0012ddc5f40050dc5d8000800402b..."} 
[2026-07-07 19:32:37] local.INFO: Processing buffer {"connection_id":125535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce265d0012ddc5f40050dc5d8000800402b..."} 
[2026-07-07 19:32:37] local.INFO: Packet analysis {"connection_id":125535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce2"} 
[2026-07-07 19:32:37] local.INFO: Extracted packet for processing {"connection_id":125535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce2"} 
[2026-07-07 19:32:37] local.INFO: GPS Element Parsed {"raw_longitude":769417024,"raw_latitude":84788696,"longitude_deg":76.9417024,"latitude_deg":8.4788696,"altitude":8,"angle":64,"satellites":43,"speed":17,"hex_longitude":"2ddc5f40","hex_latitude":"050dc5d8","is_valid_coordinates":true} 
[2026-07-07 19:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558821376001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341835527965638656,"note":"Value kept but may cause issues"} 
[2026-07-07 19:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2568177665802188800,"note":"Value kept but may cause issues"} 
[2026-07-07 19:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783432898000,"timestamp_ms":1783432898000,"timestamp_seconds":1783432898,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce265d0"} 
[2026-07-07 19:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:32: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-07-07 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 19:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558821376001,"66":27332,"214":206,"80":33792,"24":17,"16":341835527965638656,"45":-2568177665802188800},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,80,24,16,45]} 
[2026-07-07 19:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558821376001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:32:37] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-07 19:32:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341835527965638656,"km_value":341835527965638.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2568177665802188800,"description":"Unknown IO ID 45"} 
[2026-07-07 19:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558821376001,"power":27332,"unknown_214":206,"unknown_80":33792,"ignition":17,"odometer":null,"unknown_45":-2568177665802188800}} 
[2026-07-07 19:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":125535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:32:37] local.INFO: GPS data processed {"connection_id":125535,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:32:37] local.INFO: Acknowledgment sent {"connection_id":125535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:32:55] local.INFO: TCP Data received {"connection_id":126804,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:32:55] local.INFO: Processing buffer {"connection_id":126804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:32:55] local.INFO: IMEI packet received {"connection_id":126804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":126804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:32:58] local.INFO: TCP Data received {"connection_id":126804,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:32:58] local.INFO: Processing buffer {"connection_id":126804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:32:58] local.INFO: IMEI packet received {"connection_id":126804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":126804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:33:03] local.INFO: TCP Data received {"connection_id":126804,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:33:03] local.INFO: Processing buffer {"connection_id":126804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:33:03] local.INFO: IMEI packet received {"connection_id":126804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":126804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:33:04] local.INFO: TCP Data received {"connection_id":126804,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce27188012ddc6440050dc7800008004b2d..."} 
[2026-07-07 19:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce27188012ddc6440050dc7800008004b2d..."} 
[2026-07-07 19:33:04] local.INFO: Processing buffer {"connection_id":126804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce27188012ddc6440050dc7800008004b2d..."} 
[2026-07-07 19:33:04] local.INFO: Packet analysis {"connection_id":126804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce2"} 
[2026-07-07 19:33:04] local.INFO: Extracted packet for processing {"connection_id":126804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce2"} 
[2026-07-07 19:33:04] local.INFO: GPS Element Parsed {"raw_longitude":769418304,"raw_latitude":84789120,"longitude_deg":76.9418304,"latitude_deg":8.478912,"altitude":8,"angle":75,"satellites":45,"speed":18,"hex_longitude":"2ddc6440","hex_latitude":"050dc780","is_valid_coordinates":true} 
[2026-07-07 19:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558821888001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341835592390148096,"note":"Value kept but may cause issues"} 
[2026-07-07 19:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2567262872127809536,"note":"Value kept but may cause issues"} 
[2026-07-07 19:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783432901000,"timestamp_ms":1783432901000,"timestamp_seconds":1783432901,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce27188"} 
[2026-07-07 19:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 19:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558821888001,"66":27365,"214":206,"80":33792,"24":18,"16":341835592390148096,"45":-2567262872127809536},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,80,24,16,45]} 
[2026-07-07 19:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558821888001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:33:04] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-07 19:33:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341835592390148096,"km_value":341835592390148.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2567262872127809536,"description":"Unknown IO ID 45"} 
[2026-07-07 19:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558821888001,"power":27365,"unknown_214":206,"unknown_80":33792,"ignition":18,"odometer":null,"unknown_45":-2567262872127809536}} 
[2026-07-07 19:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":126804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:33:04] local.INFO: GPS data processed {"connection_id":126804,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:33:04] local.INFO: Acknowledgment sent {"connection_id":126804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:33:35] local.INFO: TCP Data received {"connection_id":126804,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce2b3f0012ddc7900050dc9d0000b00582e..."} 
[2026-07-07 19:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce2b3f0012ddc7900050dc9d0000b00582e..."} 
[2026-07-07 19:33:35] local.INFO: Processing buffer {"connection_id":126804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce2b3f0012ddc7900050dc9d0000b00582e..."} 
[2026-07-07 19:33:35] local.INFO: Packet analysis {"connection_id":126804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce2"} 
[2026-07-07 19:33:35] local.INFO: Extracted packet for processing {"connection_id":126804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce2"} 
[2026-07-07 19:33:35] local.INFO: GPS Element Parsed {"raw_longitude":769423616,"raw_latitude":84789712,"longitude_deg":76.9423616,"latitude_deg":8.4789712,"altitude":11,"angle":88,"satellites":46,"speed":9,"hex_longitude":"2ddc7900","hex_latitude":"050dc9d0","is_valid_coordinates":true} 
[2026-07-07 19:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558822656001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341835845793218560,"note":"Value kept but may cause issues"} 
[2026-07-07 19:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2565855497244147712,"note":"Value kept but may cause issues"} 
[2026-07-07 19:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783432918000,"timestamp_ms":1783432918000,"timestamp_seconds":1783432918,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce2b3f0"} 
[2026-07-07 19:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 19:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558822656001,"66":27332,"214":206,"80":33792,"24":9,"16":341835845793218560,"45":-2565855497244147712},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,80,24,16,45]} 
[2026-07-07 19:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558822656001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:33:35] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-07 19:33:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341835845793218560,"km_value":341835845793218.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2565855497244147712,"description":"Unknown IO ID 45"} 
[2026-07-07 19:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558822656001,"power":27332,"unknown_214":206,"unknown_80":33792,"ignition":9,"odometer":null,"unknown_45":-2565855497244147712}} 
[2026-07-07 19:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":126804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:33:35] local.INFO: GPS data processed {"connection_id":126804,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:33:35] local.INFO: Acknowledgment sent {"connection_id":126804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:33:58] local.INFO: TCP Data received {"connection_id":125537,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:33:58] local.INFO: Processing buffer {"connection_id":125537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:33:58] local.INFO: IMEI packet received {"connection_id":125537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":125537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:34:03] local.INFO: TCP Data received {"connection_id":125537,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:34:03] local.INFO: Processing buffer {"connection_id":125537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:34:03] local.INFO: IMEI packet received {"connection_id":125537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":125537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:34:04] local.INFO: TCP Data received {"connection_id":125537,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce2fe28012ddc9c00050dcb20000c00582d..."} 
[2026-07-07 19:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce2fe28012ddc9c00050dcb20000c00582d..."} 
[2026-07-07 19:34:04] local.INFO: Processing buffer {"connection_id":125537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce2fe28012ddc9c00050dcb20000c00582d..."} 
[2026-07-07 19:34:04] local.INFO: Packet analysis {"connection_id":125537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce2"} 
[2026-07-07 19:34:04] local.INFO: Extracted packet for processing {"connection_id":125537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce2"} 
[2026-07-07 19:34:04] local.INFO: GPS Element Parsed {"raw_longitude":769432576,"raw_latitude":84790048,"longitude_deg":76.9432576,"latitude_deg":8.4790048,"altitude":12,"angle":88,"satellites":45,"speed":22,"hex_longitude":"2ddc9c00","hex_latitude":"050dcb20","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558827008001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341836279584915456,"note":"Value kept but may cause issues"} 
[2026-07-07 19:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2560014891477250048,"note":"Value kept but may cause issues"} 
[2026-07-07 19:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783432937000,"timestamp_ms":1783432937000,"timestamp_seconds":1783432937,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce2fe28"} 
[2026-07-07 19:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 19:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19: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-07-07 19:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558827008001,"66":27310,"214":206,"80":33792,"24":22,"16":341836279584915456,"45":-2560014891477250048},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,80,24,16,45]} 
[2026-07-07 19:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558827008001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:34:04] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-07 19:34:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341836279584915456,"km_value":341836279584915.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2560014891477250048,"description":"Unknown IO ID 45"} 
[2026-07-07 19:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558827008001,"power":27310,"unknown_214":206,"unknown_80":33792,"ignition":22,"odometer":null,"unknown_45":-2560014891477250048}} 
[2026-07-07 19:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":125537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:34:04] local.INFO: GPS data processed {"connection_id":125537,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:34:04] local.INFO: Acknowledgment sent {"connection_id":125537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:34:35] local.INFO: TCP Data received {"connection_id":124829,"ip":"117.224.162.248","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:34:35] local.INFO: Processing buffer {"connection_id":124829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:34:35] local.INFO: IMEI packet received {"connection_id":124829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":124829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:34:35] local.INFO: TCP Data received {"connection_id":125537,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce34860012ddcbf40050dcbf8000c00592e..."} 
[2026-07-07 19:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce34860012ddcbf40050dcbf8000c00592e..."} 
[2026-07-07 19:34:35] local.INFO: Processing buffer {"connection_id":125537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce34860012ddcbf40050dcbf8000c00592e..."} 
[2026-07-07 19:34:35] local.INFO: Packet analysis {"connection_id":125537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce3"} 
[2026-07-07 19:34:35] local.INFO: Extracted packet for processing {"connection_id":125537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce3"} 
[2026-07-07 19:34:35] local.INFO: GPS Element Parsed {"raw_longitude":769441600,"raw_latitude":84790264,"longitude_deg":76.94416,"latitude_deg":8.4790264,"altitude":12,"angle":89,"satellites":46,"speed":12,"hex_longitude":"2ddcbf40","hex_latitude":"050dcbf8","is_valid_coordinates":true} 
[2026-07-07 19:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558831872001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341836709081645056,"note":"Value kept but may cause issues"} 
[2026-07-07 19:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2550163267292291072,"note":"Value kept but may cause issues"} 
[2026-07-07 19:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783432956000,"timestamp_ms":1783432956000,"timestamp_seconds":1783432956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce34860"} 
[2026-07-07 19:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-07 19:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558831872001,"66":27463,"214":206,"80":33792,"24":12,"16":341836709081645056,"45":-2550163267292291072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,80,24,16,45]} 
[2026-07-07 19:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558831872001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:34:35] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-07 19:34:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341836709081645056,"km_value":341836709081645.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2550163267292291072,"description":"Unknown IO ID 45"} 
[2026-07-07 19:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558831872001,"power":27463,"unknown_214":206,"unknown_80":33792,"ignition":12,"odometer":null,"unknown_45":-2550163267292291072}} 
[2026-07-07 19:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":125537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:34:35] local.INFO: GPS data processed {"connection_id":125537,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:34:35] local.INFO: Acknowledgment sent {"connection_id":125537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:34:39] local.INFO: TCP Data received {"connection_id":124829,"ip":"117.224.162.248","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:34:39] local.INFO: Processing buffer {"connection_id":124829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:34:39] local.INFO: IMEI packet received {"connection_id":124829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":124829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:34:41] local.INFO: TCP Data received {"connection_id":124829,"ip":"117.224.162.248","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdf5890012d195340071ff280003800642a..."} 
[2026-07-07 19:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdf5890012d195340071ff280003800642a..."} 
[2026-07-07 19:34:41] local.INFO: Processing buffer {"connection_id":124829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdf5890012d195340071ff280003800642a..."} 
[2026-07-07 19:34:41] local.INFO: Packet analysis {"connection_id":124829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:34:41] local.INFO: Extracted packet for processing {"connection_id":124829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:34:41] local.INFO: GPS Element Parsed {"raw_longitude":756634432,"raw_latitude":119534208,"longitude_deg":75.6634432,"latitude_deg":11.9534208,"altitude":56,"angle":100,"satellites":42,"speed":3,"hex_longitude":"2d195340","hex_latitude":"071ff280","is_valid_coordinates":true} 
[2026-07-07 19:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558765312001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783734574284800,"note":"Value kept but may cause issues"} 
[2026-07-07 19:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824661567127570432,"note":"Value kept but may cause issues"} 
[2026-07-07 19:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783432698000,"timestamp_ms":1783432698000,"timestamp_seconds":1783432698,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdf5890"} 
[2026-07-07 19:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-07 19:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.162.248","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558765312001,"66":12917,"121":206,"28":31744,"24":3,"16":4783734574284800,"45":1824661567127570432},"client_ip":"117.224.162.248","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558765312001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:34:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:34:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783734574284800,"km_value":4783734574284.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824661567127570432,"description":"Unknown IO ID 45"} 
[2026-07-07 19:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558765312001,"power":12917,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1824661567127570432}} 
[2026-07-07 19:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":124829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:34:41] local.INFO: GPS data processed {"connection_id":124829,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:34:41] local.INFO: Acknowledgment sent {"connection_id":124829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:34:58] local.INFO: TCP Data received {"connection_id":125538,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:34:58] local.INFO: Processing buffer {"connection_id":125538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:34:58] local.INFO: IMEI packet received {"connection_id":125538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":125538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:35:03] local.INFO: TCP Data received {"connection_id":125538,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:35:03] local.INFO: Processing buffer {"connection_id":125538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:35:03] local.INFO: IMEI packet received {"connection_id":125538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":125538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:35:04] local.INFO: TCP Data received {"connection_id":125538,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce39a68012ddcd500050dcbd0000f00582e..."} 
[2026-07-07 19:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce39a68012ddcd500050dcbd0000f00582e..."} 
[2026-07-07 19:35:04] local.INFO: Processing buffer {"connection_id":125538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce39a68012ddcd500050dcbd0000f00582e..."} 
[2026-07-07 19:35:04] local.INFO: Packet analysis {"connection_id":125538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce3"} 
[2026-07-07 19:35:04] local.INFO: Extracted packet for processing {"connection_id":125538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce3"} 
[2026-07-07 19:35:04] local.INFO: GPS Element Parsed {"raw_longitude":769447168,"raw_latitude":84790224,"longitude_deg":76.9447168,"latitude_deg":8.4790224,"altitude":15,"angle":88,"satellites":46,"speed":23,"hex_longitude":"2ddcd500","hex_latitude":"050dcbd0","is_valid_coordinates":true} 
[2026-07-07 19:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558836736001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341836979664584704,"note":"Value kept but may cause issues"} 
[2026-07-07 19:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2540241274363185152,"note":"Value kept but may cause issues"} 
[2026-07-07 19:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783432977000,"timestamp_ms":1783432977000,"timestamp_seconds":1783432977,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce39a68"} 
[2026-07-07 19:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 19:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558836736001,"66":27234,"214":206,"80":33792,"24":23,"16":341836979664584704,"45":-2540241274363185152},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,80,24,16,45]} 
[2026-07-07 19:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558836736001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:35:04] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-07 19:35:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341836979664584704,"km_value":341836979664584.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2540241274363185152,"description":"Unknown IO ID 45"} 
[2026-07-07 19:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558836736001,"power":27234,"unknown_214":206,"unknown_80":33792,"ignition":23,"odometer":null,"unknown_45":-2540241274363185152}} 
[2026-07-07 19:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":125538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:35:04] local.INFO: GPS data processed {"connection_id":125538,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:35:04] local.INFO: Acknowledgment sent {"connection_id":125538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:35:13] local.INFO: TCP Data received {"connection_id":124829,"ip":"117.224.162.248","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdf5890012d195340071ff280003800642a..."} 
[2026-07-07 19:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdf5890012d195340071ff280003800642a..."} 
[2026-07-07 19:35:13] local.INFO: Processing buffer {"connection_id":124829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdf5890012d195340071ff280003800642a..."} 
[2026-07-07 19:35:13] local.INFO: Packet analysis {"connection_id":124829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:35:13] local.INFO: Extracted packet for processing {"connection_id":124829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:35:13] local.INFO: GPS Element Parsed {"raw_longitude":756634432,"raw_latitude":119534208,"longitude_deg":75.6634432,"latitude_deg":11.9534208,"altitude":56,"angle":100,"satellites":42,"speed":3,"hex_longitude":"2d195340","hex_latitude":"071ff280","is_valid_coordinates":true} 
[2026-07-07 19:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558770688001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783734574284800,"note":"Value kept but may cause issues"} 
[2026-07-07 19:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824872673360117760,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783432698000,"timestamp_ms":1783432698000,"timestamp_seconds":1783432698,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdf5890"} 
[2026-07-07 19:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19: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":117,"data_length":795,"current_offset":136} 
[2026-07-07 19:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.162.248","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558770688001,"66":12917,"121":206,"28":31744,"24":3,"16":4783734574284800,"45":1824872673360117760},"client_ip":"117.224.162.248","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558770688001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:35:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:35:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783734574284800,"km_value":4783734574284.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824872673360117760,"description":"Unknown IO ID 45"} 
[2026-07-07 19:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558770688001,"power":12917,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1824872673360117760}} 
[2026-07-07 19:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":124829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:35:13] local.INFO: GPS data processed {"connection_id":124829,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:35:13] local.INFO: Acknowledgment sent {"connection_id":124829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:35:33] local.INFO: TCP Data received {"connection_id":126805,"ip":"117.224.162.248","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:35:33] local.INFO: Processing buffer {"connection_id":126805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:35:33] local.INFO: IMEI packet received {"connection_id":126805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":126805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:35:33] local.INFO: TCP Data received {"connection_id":124830,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:35:33] local.INFO: Processing buffer {"connection_id":124830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:35:33] local.INFO: IMEI packet received {"connection_id":124830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 19:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":124830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:35:35] local.INFO: TCP Data received {"connection_id":125538,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce3d118012ddcf9c0050dcc80000e00582b..."} 
[2026-07-07 19:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce3d118012ddcf9c0050dcc80000e00582b..."} 
[2026-07-07 19:35:35] local.INFO: Processing buffer {"connection_id":125538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce3d118012ddcf9c0050dcc80000e00582b..."} 
[2026-07-07 19:35:35] local.INFO: Packet analysis {"connection_id":125538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce3"} 
[2026-07-07 19:35:35] local.INFO: Extracted packet for processing {"connection_id":125538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce3"} 
[2026-07-07 19:35:35] local.INFO: GPS Element Parsed {"raw_longitude":769456576,"raw_latitude":84790400,"longitude_deg":76.9456576,"latitude_deg":8.47904,"altitude":14,"angle":88,"satellites":43,"speed":23,"hex_longitude":"2ddcf9c0","hex_latitude":"050dcc80","is_valid_coordinates":true} 
[2026-07-07 19:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558842112001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341837430636150784,"note":"Value kept but may cause issues"} 
[2026-07-07 19:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2534119193619738624,"note":"Value kept but may cause issues"} 
[2026-07-07 19:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783432991000,"timestamp_ms":1783432991000,"timestamp_seconds":1783432991,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce3d118"} 
[2026-07-07 19:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 19:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558842112001,"66":27213,"214":206,"80":33792,"24":23,"16":341837430636150784,"45":-2534119193619738624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,80,24,16,45]} 
[2026-07-07 19:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558842112001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:35:35] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-07 19:35:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341837430636150784,"km_value":341837430636150.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2534119193619738624,"description":"Unknown IO ID 45"} 
[2026-07-07 19:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558842112001,"power":27213,"unknown_214":206,"unknown_80":33792,"ignition":23,"odometer":null,"unknown_45":-2534119193619738624}} 
[2026-07-07 19:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":125538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:35:35] local.INFO: GPS data processed {"connection_id":125538,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:35:35] local.INFO: Acknowledgment sent {"connection_id":125538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:35:39] local.INFO: TCP Data received {"connection_id":126805,"ip":"117.224.162.248","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:35:39] local.INFO: Processing buffer {"connection_id":126805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:35:39] local.INFO: IMEI packet received {"connection_id":126805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":126805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:35:40] local.INFO: TCP Data received {"connection_id":126805,"ip":"117.224.162.248","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdf5c78012d195400071ff2780038005b2b..."} 
[2026-07-07 19:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdf5c78012d195400071ff2780038005b2b..."} 
[2026-07-07 19:35:40] local.INFO: Processing buffer {"connection_id":126805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdf5c78012d195400071ff2780038005b2b..."} 
[2026-07-07 19:35:40] local.INFO: Packet analysis {"connection_id":126805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:35:40] local.INFO: Extracted packet for processing {"connection_id":126805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:35:40] local.INFO: GPS Element Parsed {"raw_longitude":756634624,"raw_latitude":119534200,"longitude_deg":75.6634624,"latitude_deg":11.95342,"altitude":56,"angle":91,"satellites":43,"speed":7,"hex_longitude":"2d195400","hex_latitude":"071ff278","is_valid_coordinates":true} 
[2026-07-07 19:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558770688001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824872673360117760,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783432699000,"timestamp_ms":1783432699000,"timestamp_seconds":1783432699,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdf5c78"} 
[2026-07-07 19:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 19:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.162.248","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558770688001,"66":12917,"121":206,"28":31744,"24":7,"16":4783743164219392,"45":1824872673360117760},"client_ip":"117.224.162.248","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558770688001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:35:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:35:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824872673360117760,"description":"Unknown IO ID 45"} 
[2026-07-07 19:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558770688001,"power":12917,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1824872673360117760}} 
[2026-07-07 19:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":126805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:35:40] local.INFO: GPS data processed {"connection_id":126805,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:35:40] local.INFO: Acknowledgment sent {"connection_id":126805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:35:58] local.INFO: TCP Data received {"connection_id":124727,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:35:58] local.INFO: Processing buffer {"connection_id":124727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:35:58] local.INFO: IMEI packet received {"connection_id":124727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 19:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":124727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:36:03] local.INFO: TCP Data received {"connection_id":126806,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:36:03] local.INFO: Processing buffer {"connection_id":126806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:36:03] local.INFO: IMEI packet received {"connection_id":126806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":126806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:36:08] local.INFO: TCP Data received {"connection_id":126806,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:36:08] local.INFO: Processing buffer {"connection_id":126806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:36:08] local.INFO: IMEI packet received {"connection_id":126806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":126806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:36:09] local.INFO: TCP Data received {"connection_id":126806,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce41380012ddd1cc0050dcd50000e00582c..."} 
[2026-07-07 19:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce41380012ddd1cc0050dcd50000e00582c..."} 
[2026-07-07 19:36:09] local.INFO: Processing buffer {"connection_id":126806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce41380012ddd1cc0050dcd50000e00582c..."} 
[2026-07-07 19:36:09] local.INFO: Packet analysis {"connection_id":126806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce4"} 
[2026-07-07 19:36:09] local.INFO: Extracted packet for processing {"connection_id":126806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce4"} 
[2026-07-07 19:36:09] local.INFO: GPS Element Parsed {"raw_longitude":769465536,"raw_latitude":84790608,"longitude_deg":76.9465536,"latitude_deg":8.4790608,"altitude":14,"angle":88,"satellites":44,"speed":11,"hex_longitude":"2ddd1cc0","hex_latitude":"050dcd50","is_valid_coordinates":true} 
[2026-07-07 19:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558845696001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341837860132880384,"note":"Value kept but may cause issues"} 
[2026-07-07 19:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2523774988225576960,"note":"Value kept but may cause issues"} 
[2026-07-07 19:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783433008000,"timestamp_ms":1783433008000,"timestamp_seconds":1783433008,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce41380"} 
[2026-07-07 19:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:36: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-07-07 19:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 19:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558845696001,"66":27310,"212":206,"80":33792,"24":11,"16":341837860132880384,"45":-2523774988225576960},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-07-07 19:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558845696001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:36:09] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-07-07 19:36:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341837860132880384,"km_value":341837860132880.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2523774988225576960,"description":"Unknown IO ID 45"} 
[2026-07-07 19:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558845696001,"power":27310,"unknown_212":206,"unknown_80":33792,"ignition":11,"odometer":null,"unknown_45":-2523774988225576960}} 
[2026-07-07 19:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":126806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:36:09] local.INFO: GPS data processed {"connection_id":126806,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:36:09] local.INFO: Acknowledgment sent {"connection_id":126806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:36:10] local.INFO: TCP Data received {"connection_id":126806,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce459d0012ddd3bc0050dce88000e00492b..."} 
[2026-07-07 19:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce459d0012ddd3bc0050dce88000e00492b..."} 
[2026-07-07 19:36:10] local.INFO: Processing buffer {"connection_id":126806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce459d0012ddd3bc0050dce88000e00492b..."} 
[2026-07-07 19:36:10] local.INFO: Packet analysis {"connection_id":126806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce4"} 
[2026-07-07 19:36:10] local.INFO: Extracted packet for processing {"connection_id":126806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce4"} 
[2026-07-07 19:36:10] local.INFO: GPS Element Parsed {"raw_longitude":769473472,"raw_latitude":84790920,"longitude_deg":76.9473472,"latitude_deg":8.479092,"altitude":14,"angle":73,"satellites":43,"speed":10,"hex_longitude":"2ddd3bc0","hex_latitude":"050dce88","is_valid_coordinates":true} 
[2026-07-07 19:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558850048001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341838242384969728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2513923364040650752,"note":"Value kept but may cause issues"} 
[2026-07-07 19:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783433026000,"timestamp_ms":1783433026000,"timestamp_seconds":1783433026,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce459d0"} 
[2026-07-07 19:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:36: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-07-07 19:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-07 19:36: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-07-07 19:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558850048001,"66":27321,"212":206,"80":33792,"24":10,"16":341838242384969728,"45":-2513923364040650752},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-07-07 19:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558850048001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:36:10] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-07-07 19:36:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341838242384969728,"km_value":341838242384969.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2513923364040650752,"description":"Unknown IO ID 45"} 
[2026-07-07 19:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558850048001,"power":27321,"unknown_212":206,"unknown_80":33792,"ignition":10,"odometer":null,"unknown_45":-2513923364040650752}} 
[2026-07-07 19:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":126806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:36:10] local.INFO: GPS data processed {"connection_id":126806,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:36:10] local.INFO: Acknowledgment sent {"connection_id":126806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:36:15] local.INFO: TCP Data received {"connection_id":126805,"ip":"117.224.162.248","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdf5c78012d195400071ff2780038005b2b..."} 
[2026-07-07 19:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdf5c78012d195400071ff2780038005b2b..."} 
[2026-07-07 19:36:15] local.INFO: Processing buffer {"connection_id":126805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdf5c78012d195400071ff2780038005b2b..."} 
[2026-07-07 19:36:15] local.INFO: Packet analysis {"connection_id":126805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:36:15] local.INFO: Extracted packet for processing {"connection_id":126805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756634624,"raw_latitude":119534200,"longitude_deg":75.6634624,"latitude_deg":11.95342,"altitude":56,"angle":91,"satellites":43,"speed":7,"hex_longitude":"2d195400","hex_latitude":"071ff278","is_valid_coordinates":true} 
[2026-07-07 19:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558770944001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825083779592648704,"note":"Value kept but may cause issues"} 
[2026-07-07 19:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783432699000,"timestamp_ms":1783432699000,"timestamp_seconds":1783432699,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdf5c78"} 
[2026-07-07 19:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 19:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.162.248","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558770944001,"66":12917,"121":206,"28":31744,"24":7,"16":4783743164219392,"45":1825083779592648704},"client_ip":"117.224.162.248","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558770944001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:36:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:36:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825083779592648704,"description":"Unknown IO ID 45"} 
[2026-07-07 19:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558770944001,"power":12917,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1825083779592648704}} 
[2026-07-07 19:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":126805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:36:16] local.INFO: GPS data processed {"connection_id":126805,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:36:16] local.INFO: Acknowledgment sent {"connection_id":126805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:36:43] local.INFO: TCP Data received {"connection_id":126806,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce5f3f8012dddb180050de5200010006130..."} 
[2026-07-07 19:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce5f3f8012dddb180050de5200010006130..."} 
[2026-07-07 19:36:43] local.INFO: Processing buffer {"connection_id":126806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce5f3f8012dddb180050de5200010006130..."} 
[2026-07-07 19:36:43] local.INFO: Packet analysis {"connection_id":126806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce5"} 
[2026-07-07 19:36:43] local.INFO: Extracted packet for processing {"connection_id":126806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce5"} 
[2026-07-07 19:36:43] local.INFO: GPS Element Parsed {"raw_longitude":769503616,"raw_latitude":84796704,"longitude_deg":76.9503616,"latitude_deg":8.4796704,"altitude":16,"angle":97,"satellites":48,"speed":20,"hex_longitude":"2dddb180","hex_latitude":"050de520","is_valid_coordinates":true} 
[2026-07-07 19:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558877696001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341839822932934656,"note":"Value kept but may cause issues"} 
[2026-07-07 19:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2478387148229400576,"note":"Value kept but may cause issues"} 
[2026-07-07 19:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783433131000,"timestamp_ms":1783433131000,"timestamp_seconds":1783433131,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce5f3f8"} 
[2026-07-07 19:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:36: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-07-07 19:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 19:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":126806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":126806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":126806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558877696001,"66":27376,"111":206,"80":33792,"24":20,"16":341839822932934656,"45":-2478387148229400576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-07-07 19:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558877696001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:36:43] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-07 19:36:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341839822932934656,"km_value":341839822932934.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2478387148229400576,"description":"Unknown IO ID 45"} 
[2026-07-07 19:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558877696001,"power":27376,"unknown_111":206,"unknown_80":33792,"ignition":20,"odometer":null,"unknown_45":-2478387148229400576}} 
[2026-07-07 19:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":126806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:36:43] local.INFO: GPS data processed {"connection_id":126806,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:36:43] local.INFO: Acknowledgment sent {"connection_id":126806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:36:57] local.INFO: TCP Data received {"connection_id":125540,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:36:57] local.INFO: Processing buffer {"connection_id":125540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:36:57] local.INFO: IMEI packet received {"connection_id":125540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":125540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:36:57] local.INFO: TCP Data received {"connection_id":125540,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:36:57] local.INFO: Processing buffer {"connection_id":125540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:36:57] local.INFO: IMEI packet received {"connection_id":125540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":125540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:36:58] local.INFO: TCP Data received {"connection_id":125540,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:36:58] local.INFO: Processing buffer {"connection_id":125540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:36:58] local.INFO: IMEI packet received {"connection_id":125540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":125540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:37:03] local.INFO: TCP Data received {"connection_id":125540,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:37:03] local.INFO: Processing buffer {"connection_id":125540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:37:03] local.INFO: IMEI packet received {"connection_id":125540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":125540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:37:04] local.INFO: TCP Data received {"connection_id":125540,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce62aa8012dddd580050de2680010005a2c..."} 
[2026-07-07 19:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce62aa8012dddd580050de2680010005a2c..."} 
[2026-07-07 19:37:04] local.INFO: Processing buffer {"connection_id":125540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce62aa8012dddd580050de2680010005a2c..."} 
[2026-07-07 19:37:04] local.INFO: Packet analysis {"connection_id":125540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce6"} 
[2026-07-07 19:37:04] local.INFO: Extracted packet for processing {"connection_id":125540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce6"} 
[2026-07-07 19:37:04] local.INFO: GPS Element Parsed {"raw_longitude":769512832,"raw_latitude":84796008,"longitude_deg":76.9512832,"latitude_deg":8.4796008,"altitude":16,"angle":90,"satellites":44,"speed":29,"hex_longitude":"2dddd580","hex_latitude":"050de268","is_valid_coordinates":true} 
[2026-07-07 19:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558881536001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341840269609533440,"note":"Value kept but may cause issues"} 
[2026-07-07 19:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2472053961253380096,"note":"Value kept but may cause issues"} 
[2026-07-07 19:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783433145000,"timestamp_ms":1783433145000,"timestamp_seconds":1783433145,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce62aa8"} 
[2026-07-07 19:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 19:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558881536001,"66":27267,"111":206,"80":33792,"24":29,"16":341840269609533440,"45":-2472053961253380096},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-07-07 19:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558881536001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:37:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-07 19:37:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341840269609533440,"km_value":341840269609533.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2472053961253380096,"description":"Unknown IO ID 45"} 
[2026-07-07 19:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558881536001,"power":27267,"unknown_111":206,"unknown_80":33792,"ignition":29,"odometer":null,"unknown_45":-2472053961253380096}} 
[2026-07-07 19:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":125540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:37:04] local.INFO: GPS data processed {"connection_id":125540,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:37:04] local.INFO: Acknowledgment sent {"connection_id":125540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:37:35] local.INFO: TCP Data received {"connection_id":125540,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce65d70012dddf8c0050ddfe0000e005e2d..."} 
[2026-07-07 19:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce65d70012dddf8c0050ddfe0000e005e2d..."} 
[2026-07-07 19:37:35] local.INFO: Processing buffer {"connection_id":125540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce65d70012dddf8c0050ddfe0000e005e2d..."} 
[2026-07-07 19:37:35] local.INFO: Packet analysis {"connection_id":125540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce6"} 
[2026-07-07 19:37:35] local.INFO: Extracted packet for processing {"connection_id":125540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce6"} 
[2026-07-07 19:37:35] local.INFO: GPS Element Parsed {"raw_longitude":769521856,"raw_latitude":84795360,"longitude_deg":76.9521856,"latitude_deg":8.479536,"altitude":14,"angle":94,"satellites":45,"speed":24,"hex_longitude":"2dddf8c0","hex_latitude":"050ddfe0","is_valid_coordinates":true} 
[2026-07-07 19:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558885120001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341840699106263040,"note":"Value kept but may cause issues"} 
[2026-07-07 19:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2461920862091974656,"note":"Value kept but may cause issues"} 
[2026-07-07 19:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783433158000,"timestamp_ms":1783433158000,"timestamp_seconds":1783433158,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce65d70"} 
[2026-07-07 19:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 19:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558885120001,"66":27365,"111":206,"80":33792,"24":24,"16":341840699106263040,"45":-2461920862091974656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-07-07 19:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558885120001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:37:35] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-07 19:37:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341840699106263040,"km_value":341840699106263.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2461920862091974656,"description":"Unknown IO ID 45"} 
[2026-07-07 19:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558885120001,"power":27365,"unknown_111":206,"unknown_80":33792,"ignition":24,"odometer":null,"unknown_45":-2461920862091974656}} 
[2026-07-07 19:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":125540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:37:35] local.INFO: GPS data processed {"connection_id":125540,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:37:35] local.INFO: Acknowledgment sent {"connection_id":125540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:37:49] local.INFO: TCP Data received {"connection_id":125541,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:37:49] local.INFO: Processing buffer {"connection_id":125541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:37:49] local.INFO: IMEI packet received {"connection_id":125541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":125541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:37:54] local.INFO: TCP Data received {"connection_id":125541,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:37:54] local.INFO: Processing buffer {"connection_id":125541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:37:54] local.INFO: IMEI packet received {"connection_id":125541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":125541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:37:55] local.INFO: TCP Data received {"connection_id":125541,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdf5c78012d195400071ff2780038005b2b..."} 
[2026-07-07 19:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdf5c78012d195400071ff2780038005b2b..."} 
[2026-07-07 19:37:55] local.INFO: Processing buffer {"connection_id":125541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdf5c78012d195400071ff2780038005b2b..."} 
[2026-07-07 19:37:55] local.INFO: Packet analysis {"connection_id":125541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:37:55] local.INFO: Extracted packet for processing {"connection_id":125541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:37:55] local.INFO: GPS Element Parsed {"raw_longitude":756634624,"raw_latitude":119534200,"longitude_deg":75.6634624,"latitude_deg":11.95342,"altitude":56,"angle":91,"satellites":43,"speed":7,"hex_longitude":"2d195400","hex_latitude":"071ff278","is_valid_coordinates":true} 
[2026-07-07 19:37: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-07-07 19:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558770944001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825083779592648704,"note":"Value kept but may cause issues"} 
[2026-07-07 19:37: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-07-07 19:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783432699000,"timestamp_ms":1783432699000,"timestamp_seconds":1783432699,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdf5c78"} 
[2026-07-07 19:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 19:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558770944001,"66":12917,"121":206,"28":31744,"24":7,"16":4783743164219392,"45":1825083779592648704},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558770944001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:37:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:37:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825083779592648704,"description":"Unknown IO ID 45"} 
[2026-07-07 19:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558770944001,"power":12917,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1825083779592648704}} 
[2026-07-07 19:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":125541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:37:55] local.INFO: GPS data processed {"connection_id":125541,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:37:55] local.INFO: Acknowledgment sent {"connection_id":125541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:37:59] local.INFO: TCP Data received {"connection_id":124831,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:37:59] local.INFO: Processing buffer {"connection_id":124831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:37:59] local.INFO: IMEI packet received {"connection_id":124831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":124831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:37:59] local.INFO: TCP Data received {"connection_id":125541,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:37:59] local.INFO: Processing buffer {"connection_id":125541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:37:59] local.INFO: Packet analysis {"connection_id":125541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:37:59] local.INFO: Extracted packet for processing {"connection_id":125541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:37:59] local.INFO: GPS Element Parsed {"raw_longitude":756635136,"raw_latitude":119534080,"longitude_deg":75.6635136,"latitude_deg":11.953408,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d195600","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-07-07 19:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558770944001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825083779592648704,"note":"Value kept but may cause issues"} 
[2026-07-07 19:37: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-07-07 19:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783432701000,"timestamp_ms":1783432701000,"timestamp_seconds":1783432701,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdf6448"} 
[2026-07-07 19:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 19:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558770944001,"66":3351,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1825083779592648704},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558770944001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:37:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:37:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825083779592648704,"description":"Unknown IO ID 45"} 
[2026-07-07 19:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558770944001,"power":3351,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825083779592648704}} 
[2026-07-07 19:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":125541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:37:59] local.INFO: GPS data processed {"connection_id":125541,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:37:59] local.INFO: Acknowledgment sent {"connection_id":125541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:38:03] local.INFO: TCP Data received {"connection_id":124831,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:38:03] local.INFO: Processing buffer {"connection_id":124831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:38:03] local.INFO: IMEI packet received {"connection_id":124831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":124831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:38:04] local.INFO: TCP Data received {"connection_id":124831,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce6af78012dde1c00050ddf98000c00562f..."} 
[2026-07-07 19:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce6af78012dde1c00050ddf98000c00562f..."} 
[2026-07-07 19:38:04] local.INFO: Processing buffer {"connection_id":124831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce6af78012dde1c00050ddf98000c00562f..."} 
[2026-07-07 19:38:04] local.INFO: Packet analysis {"connection_id":124831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce6"} 
[2026-07-07 19:38:04] local.INFO: Extracted packet for processing {"connection_id":124831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce6"} 
[2026-07-07 19:38:04] local.INFO: GPS Element Parsed {"raw_longitude":769530880,"raw_latitude":84795288,"longitude_deg":76.953088,"latitude_deg":8.4795288,"altitude":12,"angle":86,"satellites":47,"speed":14,"hex_longitude":"2dde1c00","hex_latitude":"050ddf98","is_valid_coordinates":true} 
[2026-07-07 19:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558888448001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841132897959936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2451998869163089920,"note":"Value kept but may cause issues"} 
[2026-07-07 19:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783433179000,"timestamp_ms":1783433179000,"timestamp_seconds":1783433179,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce6af78"} 
[2026-07-07 19:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 19:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558888448001,"66":27463,"109":206,"80":33792,"24":14,"16":341841132897959936,"45":-2451998869163089920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558888448001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:38:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:38:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841132897959936,"km_value":341841132897959.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2451998869163089920,"description":"Unknown IO ID 45"} 
[2026-07-07 19:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558888448001,"power":27463,"unknown_109":206,"unknown_80":33792,"ignition":14,"odometer":null,"unknown_45":-2451998869163089920}} 
[2026-07-07 19:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":124831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:38:04] local.INFO: GPS data processed {"connection_id":124831,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:38:04] local.INFO: Acknowledgment sent {"connection_id":124831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:38:34] local.INFO: TCP Data received {"connection_id":124728,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:38:34] local.INFO: Processing buffer {"connection_id":124728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:38:34] local.INFO: IMEI packet received {"connection_id":124728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":124728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:38:35] local.INFO: TCP Data received {"connection_id":124831,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce6af78012dde1c00050ddf98000c00562f..."} 
[2026-07-07 19:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce6af78012dde1c00050ddf98000c00562f..."} 
[2026-07-07 19:38:35] local.INFO: Processing buffer {"connection_id":124831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce6af78012dde1c00050ddf98000c00562f..."} 
[2026-07-07 19:38:35] local.INFO: Packet analysis {"connection_id":124831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce6"} 
[2026-07-07 19:38:35] local.INFO: Extracted packet for processing {"connection_id":124831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce6"} 
[2026-07-07 19:38:35] local.INFO: GPS Element Parsed {"raw_longitude":769530880,"raw_latitude":84795288,"longitude_deg":76.953088,"latitude_deg":8.4795288,"altitude":12,"angle":86,"satellites":47,"speed":14,"hex_longitude":"2dde1c00","hex_latitude":"050ddf98","is_valid_coordinates":true} 
[2026-07-07 19:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558893824001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841132897959936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2442076876234057728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783433179000,"timestamp_ms":1783433179000,"timestamp_seconds":1783433179,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce6af78"} 
[2026-07-07 19:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 19:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558893824001,"66":27463,"109":206,"80":33792,"24":14,"16":341841132897959936,"45":-2442076876234057728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558893824001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:38:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:38:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841132897959936,"km_value":341841132897959.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2442076876234057728,"description":"Unknown IO ID 45"} 
[2026-07-07 19:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558893824001,"power":27463,"unknown_109":206,"unknown_80":33792,"ignition":14,"odometer":null,"unknown_45":-2442076876234057728}} 
[2026-07-07 19:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":124831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:38:35] local.INFO: GPS data processed {"connection_id":124831,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:38:35] local.INFO: Acknowledgment sent {"connection_id":124831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:38:38] local.INFO: TCP Data received {"connection_id":124728,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:38:38] local.INFO: Processing buffer {"connection_id":124728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:38:38] local.INFO: IMEI packet received {"connection_id":124728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":124728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:38:39] local.INFO: TCP Data received {"connection_id":124728,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:38:39] local.INFO: Processing buffer {"connection_id":124728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:38:39] local.INFO: Packet analysis {"connection_id":124728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:38:39] local.INFO: Extracted packet for processing {"connection_id":124728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:38:39] local.INFO: GPS Element Parsed {"raw_longitude":756635136,"raw_latitude":119534080,"longitude_deg":75.6635136,"latitude_deg":11.953408,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d195600","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558770944001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825083779592648704,"note":"Value kept but may cause issues"} 
[2026-07-07 19:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783432701000,"timestamp_ms":1783432701000,"timestamp_seconds":1783432701,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdf6448"} 
[2026-07-07 19:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:38: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-07-07 19: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 19:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19: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-07-07 19:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558770944001,"66":3351,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1825083779592648704},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558770944001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:38:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:38:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825083779592648704,"description":"Unknown IO ID 45"} 
[2026-07-07 19:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558770944001,"power":3351,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825083779592648704}} 
[2026-07-07 19:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":124728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:38:39] local.INFO: GPS data processed {"connection_id":124728,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:38:39] local.INFO: Acknowledgment sent {"connection_id":124728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:38:58] local.INFO: TCP Data received {"connection_id":125543,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:38:58] local.INFO: Processing buffer {"connection_id":125543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:38:58] local.INFO: IMEI packet received {"connection_id":125543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":125543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:39:03] local.INFO: TCP Data received {"connection_id":125543,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:39:03] local.INFO: Processing buffer {"connection_id":125543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:39:03] local.INFO: IMEI packet received {"connection_id":125543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":125543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:39:04] local.INFO: TCP Data received {"connection_id":125543,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce70180012dde3f00050de138000b005430..."} 
[2026-07-07 19:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce70180012dde3f00050de138000b005430..."} 
[2026-07-07 19:39:04] local.INFO: Processing buffer {"connection_id":125543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce70180012dde3f00050de138000b005430..."} 
[2026-07-07 19:39:04] local.INFO: Packet analysis {"connection_id":125543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce7"} 
[2026-07-07 19:39:04] local.INFO: Extracted packet for processing {"connection_id":125543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce7"} 
[2026-07-07 19:39:04] local.INFO: GPS Element Parsed {"raw_longitude":769539840,"raw_latitude":84795704,"longitude_deg":76.953984,"latitude_deg":8.4795704,"altitude":11,"angle":84,"satellites":48,"speed":14,"hex_longitude":"2dde3f00","hex_latitude":"050de138","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558893824001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841566689656832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2442076876234057728,"note":"Value kept but may cause issues"} 
[2026-07-07 19:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783433200000,"timestamp_ms":1783433200000,"timestamp_seconds":1783433200,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce70180"} 
[2026-07-07 19:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 19:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19: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-07-07 19:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558893824001,"66":27169,"109":206,"80":33792,"24":14,"16":341841566689656832,"45":-2442076876234057728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558893824001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:39:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:39:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841566689656832,"km_value":341841566689656.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2442076876234057728,"description":"Unknown IO ID 45"} 
[2026-07-07 19:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558893824001,"power":27169,"unknown_109":206,"unknown_80":33792,"ignition":14,"odometer":null,"unknown_45":-2442076876234057728}} 
[2026-07-07 19:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":125543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:39:04] local.INFO: GPS data processed {"connection_id":125543,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:39:04] local.INFO: Acknowledgment sent {"connection_id":125543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:39:11] local.INFO: TCP Data received {"connection_id":124728,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:39:11] local.INFO: Processing buffer {"connection_id":124728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:39:11] local.INFO: Packet analysis {"connection_id":124728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:39:11] local.INFO: Extracted packet for processing {"connection_id":124728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756635136,"raw_latitude":119534080,"longitude_deg":75.6635136,"latitude_deg":11.953408,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d195600","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558770944001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825083779592648704,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 19:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783432701000,"timestamp_ms":1783432701000,"timestamp_seconds":1783432701,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdf6448"} 
[2026-07-07 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-07-07 19:39: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-07-07 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 19:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 19:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558770944001,"66":3351,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1825083779592648704},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558770944001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:39:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:39:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825083779592648704,"description":"Unknown IO ID 45"} 
[2026-07-07 19:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558770944001,"power":3351,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825083779592648704}} 
[2026-07-07 19:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":124728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:39:11] local.INFO: GPS data processed {"connection_id":124728,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:39:11] local.INFO: Acknowledgment sent {"connection_id":124728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:39:33] local.INFO: TCP Data received {"connection_id":124832,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:39:33] local.INFO: Processing buffer {"connection_id":124832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:39:33] local.INFO: IMEI packet received {"connection_id":124832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":124832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:39:35] local.INFO: TCP Data received {"connection_id":125543,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce70180012dde3f00050de138000b005430..."} 
[2026-07-07 19:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce70180012dde3f00050de138000b005430..."} 
[2026-07-07 19:39:35] local.INFO: Processing buffer {"connection_id":125543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce70180012dde3f00050de138000b005430..."} 
[2026-07-07 19:39:35] local.INFO: Packet analysis {"connection_id":125543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce7"} 
[2026-07-07 19:39:35] local.INFO: Extracted packet for processing {"connection_id":125543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce7"} 
[2026-07-07 19:39:35] local.INFO: GPS Element Parsed {"raw_longitude":769539840,"raw_latitude":84795704,"longitude_deg":76.953984,"latitude_deg":8.4795704,"altitude":11,"angle":84,"satellites":48,"speed":14,"hex_longitude":"2dde3f00","hex_latitude":"050de138","is_valid_coordinates":true} 
[2026-07-07 19:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558899200001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841566689656832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2432225252049078272,"note":"Value kept but may cause issues"} 
[2026-07-07 19:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783433200000,"timestamp_ms":1783433200000,"timestamp_seconds":1783433200,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce70180"} 
[2026-07-07 19:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 19:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558899200001,"66":27169,"109":206,"80":33792,"24":14,"16":341841566689656832,"45":-2432225252049078272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558899200001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:39:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:39:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841566689656832,"km_value":341841566689656.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2432225252049078272,"description":"Unknown IO ID 45"} 
[2026-07-07 19:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558899200001,"power":27169,"unknown_109":206,"unknown_80":33792,"ignition":14,"odometer":null,"unknown_45":-2432225252049078272}} 
[2026-07-07 19:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":125543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:39:35] local.INFO: GPS data processed {"connection_id":125543,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:39:35] local.INFO: Acknowledgment sent {"connection_id":125543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:39:39] local.INFO: TCP Data received {"connection_id":124832,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:39:39] local.INFO: Processing buffer {"connection_id":124832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:39:39] local.INFO: IMEI packet received {"connection_id":124832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":124832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:39:40] local.INFO: TCP Data received {"connection_id":124832,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:39:40] local.INFO: Processing buffer {"connection_id":124832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:39:40] local.INFO: Packet analysis {"connection_id":124832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:39:40] local.INFO: Extracted packet for processing {"connection_id":124832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:39:40] local.INFO: GPS Element Parsed {"raw_longitude":756635136,"raw_latitude":119534080,"longitude_deg":75.6635136,"latitude_deg":11.953408,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d195600","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-07-07 19:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558770944001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825083779592648704,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783432701000,"timestamp_ms":1783432701000,"timestamp_seconds":1783432701,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdf6448"} 
[2026-07-07 19:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 19:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558770944001,"66":3351,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1825083779592648704},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558770944001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:39:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:39:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825083779592648704,"description":"Unknown IO ID 45"} 
[2026-07-07 19:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558770944001,"power":3351,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825083779592648704}} 
[2026-07-07 19:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":124832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:39:40] local.INFO: GPS data processed {"connection_id":124832,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:39:40] local.INFO: Acknowledgment sent {"connection_id":124832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:39:58] local.INFO: TCP Data received {"connection_id":125544,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:39:58] local.INFO: Processing buffer {"connection_id":125544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:39:58] local.INFO: IMEI packet received {"connection_id":125544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":125544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:40:03] local.INFO: TCP Data received {"connection_id":125544,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:40:03] local.INFO: Processing buffer {"connection_id":125544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:40:03] local.INFO: IMEI packet received {"connection_id":125544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":125544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:40:04] local.INFO: TCP Data received {"connection_id":125544,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce73060012dde4640050de3d0000a005b2f..."} 
[2026-07-07 19:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce73060012dde4640050de3d0000a005b2f..."} 
[2026-07-07 19:40:04] local.INFO: Processing buffer {"connection_id":125544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce73060012dde4640050de3d0000a005b2f..."} 
[2026-07-07 19:40:04] local.INFO: Packet analysis {"connection_id":125544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce7"} 
[2026-07-07 19:40:04] local.INFO: Extracted packet for processing {"connection_id":125544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce7"} 
[2026-07-07 19:40:04] local.INFO: GPS Element Parsed {"raw_longitude":769541696,"raw_latitude":84796368,"longitude_deg":76.9541696,"latitude_deg":8.4796368,"altitude":10,"angle":91,"satellites":47,"speed":4,"hex_longitude":"2dde4640","hex_latitude":"050de3d0","is_valid_coordinates":true} 
[2026-07-07 19:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558899200001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2432225252049078272,"note":"Value kept but may cause issues"} 
[2026-07-07 19:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783433212000,"timestamp_ms":1783433212000,"timestamp_seconds":1783433212,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce73060"} 
[2026-07-07 19:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 19:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-07 19:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558899200001,"66":27626,"109":206,"80":33792,"24":4,"16":341841669768871936,"45":-2432225252049078272},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558899200001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:40:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:40:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2432225252049078272,"description":"Unknown IO ID 45"} 
[2026-07-07 19:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558899200001,"power":27626,"unknown_109":206,"unknown_80":33792,"ignition":4,"odometer":null,"unknown_45":-2432225252049078272}} 
[2026-07-07 19:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":125544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:40:04] local.INFO: GPS data processed {"connection_id":125544,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:40:04] local.INFO: Acknowledgment sent {"connection_id":125544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:40:12] local.INFO: TCP Data received {"connection_id":124832,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:40:12] local.INFO: Processing buffer {"connection_id":124832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:40:12] local.INFO: Packet analysis {"connection_id":124832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:40:12] local.INFO: Extracted packet for processing {"connection_id":124832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:40:12] local.INFO: GPS Element Parsed {"raw_longitude":756635136,"raw_latitude":119534080,"longitude_deg":75.6635136,"latitude_deg":11.953408,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d195600","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-07-07 19:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558770944001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825083779592648704,"note":"Value kept but may cause issues"} 
[2026-07-07 19:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783432701000,"timestamp_ms":1783432701000,"timestamp_seconds":1783432701,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdf6448"} 
[2026-07-07 19:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 19:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558770944001,"66":3351,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1825083779592648704},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558770944001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:40:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:40:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825083779592648704,"description":"Unknown IO ID 45"} 
[2026-07-07 19:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558770944001,"power":3351,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825083779592648704}} 
[2026-07-07 19:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":124832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:40:12] local.INFO: GPS data processed {"connection_id":124832,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:40:12] local.INFO: Acknowledgment sent {"connection_id":124832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:40:33] local.INFO: TCP Data received {"connection_id":124730,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:40:33] local.INFO: Processing buffer {"connection_id":124730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:40:33] local.INFO: IMEI packet received {"connection_id":124730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":124730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:40:35] local.INFO: TCP Data received {"connection_id":125544,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce74000012dde4640050de5700009014130..."} 
[2026-07-07 19:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce74000012dde4640050de5700009014130..."} 
[2026-07-07 19:40:35] local.INFO: Processing buffer {"connection_id":125544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce74000012dde4640050de5700009014130..."} 
[2026-07-07 19:40:35] local.INFO: Packet analysis {"connection_id":125544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce7"} 
[2026-07-07 19:40:35] local.INFO: Extracted packet for processing {"connection_id":125544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce7"} 
[2026-07-07 19:40:35] local.INFO: GPS Element Parsed {"raw_longitude":769541696,"raw_latitude":84796784,"longitude_deg":76.9541696,"latitude_deg":8.4796784,"altitude":9,"angle":321,"satellites":48,"speed":0,"hex_longitude":"2dde4640","hex_latitude":"050de570","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558902272001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430184558467756032,"note":"Value kept but may cause issues"} 
[2026-07-07 19:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783433216000,"timestamp_ms":1783433216000,"timestamp_seconds":1783433216,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce74000"} 
[2026-07-07 19:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-07 19:40:35] 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-07-07 19:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558902272001,"66":26930,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430184558467756032},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558902272001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:40:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:40:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430184558467756032,"description":"Unknown IO ID 45"} 
[2026-07-07 19:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558902272001,"power":26930,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430184558467756032}} 
[2026-07-07 19:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":125544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:40:35] local.INFO: GPS data processed {"connection_id":125544,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:40:35] local.INFO: Acknowledgment sent {"connection_id":125544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:40:39] local.INFO: TCP Data received {"connection_id":124730,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:40:39] local.INFO: Processing buffer {"connection_id":124730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:40:39] local.INFO: IMEI packet received {"connection_id":124730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":124730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:40:42] local.INFO: TCP Data received {"connection_id":124730,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:40:42] local.INFO: Processing buffer {"connection_id":124730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:40:42] local.INFO: Packet analysis {"connection_id":124730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:40:42] local.INFO: Extracted packet for processing {"connection_id":124730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:40:42] local.INFO: GPS Element Parsed {"raw_longitude":756635136,"raw_latitude":119534080,"longitude_deg":75.6635136,"latitude_deg":11.953408,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d195600","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-07-07 19:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558770944001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825083779592648704,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783432701000,"timestamp_ms":1783432701000,"timestamp_seconds":1783432701,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdf6448"} 
[2026-07-07 19:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 19:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558770944001,"66":3351,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1825083779592648704},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558770944001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:40:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:40:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825083779592648704,"description":"Unknown IO ID 45"} 
[2026-07-07 19:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558770944001,"power":3351,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825083779592648704}} 
[2026-07-07 19:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":124730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:40:42] local.INFO: GPS data processed {"connection_id":124730,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:40:42] local.INFO: Acknowledgment sent {"connection_id":124730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:41:03] local.INFO: TCP Data received {"connection_id":124833,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:41:03] local.INFO: Processing buffer {"connection_id":124833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:41:03] local.INFO: IMEI packet received {"connection_id":124833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":124833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:41:08] local.INFO: TCP Data received {"connection_id":124833,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:41:08] local.INFO: Processing buffer {"connection_id":124833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:41:08] local.INFO: IMEI packet received {"connection_id":124833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":124833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:41:09] local.INFO: TCP Data received {"connection_id":124833,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce74000012dde4640050de5700009014130..."} 
[2026-07-07 19:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce74000012dde4640050de5700009014130..."} 
[2026-07-07 19:41:09] local.INFO: Processing buffer {"connection_id":124833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce74000012dde4640050de5700009014130..."} 
[2026-07-07 19:41:09] local.INFO: Packet analysis {"connection_id":124833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce7"} 
[2026-07-07 19:41:09] local.INFO: Extracted packet for processing {"connection_id":124833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce7"} 
[2026-07-07 19:41:09] local.INFO: GPS Element Parsed {"raw_longitude":769541696,"raw_latitude":84796784,"longitude_deg":76.9541696,"latitude_deg":8.4796784,"altitude":9,"angle":321,"satellites":48,"speed":0,"hex_longitude":"2dde4640","hex_latitude":"050de570","is_valid_coordinates":true} 
[2026-07-07 19:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558902272001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430184558467756032,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783433216000,"timestamp_ms":1783433216000,"timestamp_seconds":1783433216,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce74000"} 
[2026-07-07 19:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-07 19:41:09] 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-07-07 19:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558902272001,"66":26930,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430184558467756032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558902272001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:41:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:41:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430184558467756032,"description":"Unknown IO ID 45"} 
[2026-07-07 19:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558902272001,"power":26930,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430184558467756032}} 
[2026-07-07 19:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":124833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:41:09] local.INFO: GPS data processed {"connection_id":124833,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:41:09] local.INFO: Acknowledgment sent {"connection_id":124833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:41:13] local.INFO: TCP Data received {"connection_id":124833,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce74000012dde4640050de5700009014130..."} 
[2026-07-07 19:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce74000012dde4640050de5700009014130..."} 
[2026-07-07 19:41:13] local.INFO: Processing buffer {"connection_id":124833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce74000012dde4640050de5700009014130..."} 
[2026-07-07 19:41:13] local.INFO: Packet analysis {"connection_id":124833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce7"} 
[2026-07-07 19:41:13] local.INFO: Extracted packet for processing {"connection_id":124833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce7"} 
[2026-07-07 19:41:13] local.INFO: GPS Element Parsed {"raw_longitude":769541696,"raw_latitude":84796784,"longitude_deg":76.9541696,"latitude_deg":8.4796784,"altitude":9,"angle":321,"satellites":48,"speed":0,"hex_longitude":"2dde4640","hex_latitude":"050de570","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558902272001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430184558467756032,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783433216000,"timestamp_ms":1783433216000,"timestamp_seconds":1783433216,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce74000"} 
[2026-07-07 19:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:41: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-07-07 19: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-07 19:41:13] 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-07-07 19: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-07-07 19:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558902272001,"66":26930,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430184558467756032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558902272001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:41:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:41:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430184558467756032,"description":"Unknown IO ID 45"} 
[2026-07-07 19:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558902272001,"power":26930,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430184558467756032}} 
[2026-07-07 19:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":124833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:41:13] local.INFO: GPS data processed {"connection_id":124833,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:41:13] local.INFO: Acknowledgment sent {"connection_id":124833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:41:14] local.INFO: TCP Data received {"connection_id":124730,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:41:14] local.INFO: Processing buffer {"connection_id":124730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cdf6448012d195600071ff200003800682a..."} 
[2026-07-07 19:41:14] local.INFO: Packet analysis {"connection_id":124730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:41:14] local.INFO: Extracted packet for processing {"connection_id":124730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cdf"} 
[2026-07-07 19:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756635136,"raw_latitude":119534080,"longitude_deg":75.6635136,"latitude_deg":11.953408,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d195600","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558770944001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825083779592648704,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 19:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783432701000,"timestamp_ms":1783432701000,"timestamp_seconds":1783432701,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cdf6448"} 
[2026-07-07 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-07-07 19:41: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-07-07 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-07 19:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 19:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558770944001,"66":3351,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1825083779592648704},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558770944001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:41:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:41:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825083779592648704,"description":"Unknown IO ID 45"} 
[2026-07-07 19:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558770944001,"power":3351,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825083779592648704}} 
[2026-07-07 19:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":124730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:41:14] local.INFO: GPS data processed {"connection_id":124730,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:41:14] local.INFO: Acknowledgment sent {"connection_id":124730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:41:25] local.INFO: TCP Data received {"connection_id":124731,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:41:25] local.INFO: Processing buffer {"connection_id":124731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:41:25] local.INFO: IMEI packet received {"connection_id":124731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 19:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":124731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:41:38] local.INFO: TCP Data received {"connection_id":126808,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:41:38] local.INFO: Processing buffer {"connection_id":126808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:41:38] local.INFO: IMEI packet received {"connection_id":126808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":126808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:41:44] local.INFO: TCP Data received {"connection_id":126808,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:41:44] local.INFO: Processing buffer {"connection_id":126808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:41:44] local.INFO: IMEI packet received {"connection_id":126808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":126808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:41:45] local.INFO: TCP Data received {"connection_id":126808,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:41:45] local.INFO: Processing buffer {"connection_id":126808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:41:45] local.INFO: Packet analysis {"connection_id":126808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cea"} 
[2026-07-07 19:41:45] local.INFO: Extracted packet for processing {"connection_id":126808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cea"} 
[2026-07-07 19:41:45] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558771456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825646729546039296,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41: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-07-07 19:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783433451000,"timestamp_ms":1783433451000,"timestamp_seconds":1783433451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cead5f8"} 
[2026-07-07 19:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-07-07 19:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":-87820192733724672,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:45] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:45] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184267546829,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:45] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:45] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253515266,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":4613691469654407168,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:45] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3026422248127859200,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:45] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846018800,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:45] local.WARNING: Large IO value detected {"io_id":223,"raw_value":470627454270210055,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-988539877681387008,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:45] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,121,28,24,241,158,16,254,159,92,45,242,56,43,10,66,240,117,1,72,206,83,100,4,223,31],"length":476,"final_offset":606,"validated_count":26,"validation_warnings":[]} 
[2026-07-07 19:41:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035339795721879552,"timestamp_seconds":4035339795721879.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 19:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":126808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":126808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":126808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558771456001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1825646729546039296},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558771456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:41:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:41:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825646729546039296,"description":"Unknown IO ID 45"} 
[2026-07-07 19:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558771456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825646729546039296}} 
[2026-07-07 19:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":126808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:41:45] local.INFO: GPS data processed {"connection_id":126808,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:41:45] local.INFO: Acknowledgment sent {"connection_id":126808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:41:50] local.INFO: TCP Data received {"connection_id":126808,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:41:50] local.INFO: Processing buffer {"connection_id":126808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:41:50] local.INFO: Packet analysis {"connection_id":126808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cea"} 
[2026-07-07 19:41:50] local.INFO: Extracted packet for processing {"connection_id":126808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cea"} 
[2026-07-07 19:41:50] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558771456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825646729546039296,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41: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-07-07 19:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783433451000,"timestamp_ms":1783433451000,"timestamp_seconds":1783433451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cead5f8"} 
[2026-07-07 19:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19: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":13,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-07-07 19:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":-87820192733724672,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:50] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:50] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184267546829,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:50] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:50] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253515266,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":4613691469654407168,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:50] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3026422248127859200,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846018800,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:50] local.WARNING: Large IO value detected {"io_id":223,"raw_value":470627454270210055,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-988539877681387008,"note":"Value kept but may cause issues"} 
[2026-07-07 19:41:50] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,121,28,24,241,158,16,254,159,92,45,242,56,43,10,66,240,117,1,72,206,83,100,4,223,31],"length":476,"final_offset":606,"validated_count":26,"validation_warnings":[]} 
[2026-07-07 19:41:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035339795721879552,"timestamp_seconds":4035339795721879.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 19:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558771456001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1825646729546039296},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558771456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:41:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:41:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825646729546039296,"description":"Unknown IO ID 45"} 
[2026-07-07 19:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558771456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825646729546039296}} 
[2026-07-07 19:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":126808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:41:50] local.INFO: GPS data processed {"connection_id":126808,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:41:50] local.INFO: Acknowledgment sent {"connection_id":126808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:41:56] local.INFO: TCP Data received {"connection_id":125545,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:41:56] local.INFO: Processing buffer {"connection_id":125545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:41:56] local.INFO: IMEI packet received {"connection_id":125545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 19:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":125545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:41:58] local.INFO: TCP Data received {"connection_id":124834,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:41:58] local.INFO: Processing buffer {"connection_id":124834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:41:58] local.INFO: IMEI packet received {"connection_id":124834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":124834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:42:03] local.INFO: TCP Data received {"connection_id":124834,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:42:03] local.INFO: Processing buffer {"connection_id":124834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:42:03] local.INFO: IMEI packet received {"connection_id":124834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":124834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:42:04] local.INFO: TCP Data received {"connection_id":124834,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce74000012dde4640050de5700009014130..."} 
[2026-07-07 19:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce74000012dde4640050de5700009014130..."} 
[2026-07-07 19:42:04] local.INFO: Processing buffer {"connection_id":124834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce74000012dde4640050de5700009014130..."} 
[2026-07-07 19:42:04] local.INFO: Packet analysis {"connection_id":124834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce7"} 
[2026-07-07 19:42:04] local.INFO: Extracted packet for processing {"connection_id":124834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce7"} 
[2026-07-07 19:42:04] local.INFO: GPS Element Parsed {"raw_longitude":769541696,"raw_latitude":84796784,"longitude_deg":76.9541696,"latitude_deg":8.4796784,"altitude":9,"angle":321,"satellites":48,"speed":0,"hex_longitude":"2dde4640","hex_latitude":"050de570","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558902272001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430184558467756032,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783433216000,"timestamp_ms":1783433216000,"timestamp_seconds":1783433216,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce74000"} 
[2026-07-07 19:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-07 19:42:04] 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-07-07 19: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-07-07 19:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558902272001,"66":26930,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430184558467756032},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558902272001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:42:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:42:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430184558467756032,"description":"Unknown IO ID 45"} 
[2026-07-07 19:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558902272001,"power":26930,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430184558467756032}} 
[2026-07-07 19:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":124834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:42:04] local.INFO: GPS data processed {"connection_id":124834,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:42:04] local.INFO: Acknowledgment sent {"connection_id":124834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:42:35] local.INFO: TCP Data received {"connection_id":124834,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ce74000012dde4640050de5700009014130..."} 
[2026-07-07 19:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ce74000012dde4640050de5700009014130..."} 
[2026-07-07 19:42:35] local.INFO: Processing buffer {"connection_id":124834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ce74000012dde4640050de5700009014130..."} 
[2026-07-07 19:42:35] local.INFO: Packet analysis {"connection_id":124834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ce7"} 
[2026-07-07 19:42:35] local.INFO: Extracted packet for processing {"connection_id":124834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ce7"} 
[2026-07-07 19:42:35] local.INFO: GPS Element Parsed {"raw_longitude":769541696,"raw_latitude":84796784,"longitude_deg":76.9541696,"latitude_deg":8.4796784,"altitude":9,"angle":321,"satellites":48,"speed":0,"hex_longitude":"2dde4640","hex_latitude":"050de570","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558902272001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430184558467756032,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783433216000,"timestamp_ms":1783433216000,"timestamp_seconds":1783433216,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ce74000"} 
[2026-07-07 19:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-07 19:42:35] 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-07-07 19: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-07-07 19:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558902272001,"66":26930,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430184558467756032},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558902272001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:42:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:42:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430184558467756032,"description":"Unknown IO ID 45"} 
[2026-07-07 19:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558902272001,"power":26930,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430184558467756032}} 
[2026-07-07 19:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":124834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:42:35] local.INFO: GPS data processed {"connection_id":124834,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:42:35] local.INFO: Acknowledgment sent {"connection_id":124834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:42:41] local.INFO: TCP Data received {"connection_id":125546,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:42:41] local.INFO: Processing buffer {"connection_id":125546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:42:41] local.INFO: IMEI packet received {"connection_id":125546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":125546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:42:44] local.INFO: TCP Data received {"connection_id":125546,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:42:44] local.INFO: Processing buffer {"connection_id":125546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:42:44] local.INFO: IMEI packet received {"connection_id":125546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":125546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:42:45] local.INFO: TCP Data received {"connection_id":125546,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:42:45] local.INFO: Processing buffer {"connection_id":125546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:42:45] local.INFO: Packet analysis {"connection_id":125546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cea"} 
[2026-07-07 19:42:45] local.INFO: Extracted packet for processing {"connection_id":125546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cea"} 
[2026-07-07 19:42:45] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558771456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825646729546039296,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42: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-07-07 19:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783433451000,"timestamp_ms":1783433451000,"timestamp_seconds":1783433451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cead5f8"} 
[2026-07-07 19:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-07-07 19:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":-87820192733724672,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:45] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:45] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184267546829,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:45] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:45] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253515266,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":4613691469654407168,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:45] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3026422248127859200,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:45] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846018800,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:45] local.WARNING: Large IO value detected {"io_id":223,"raw_value":470627454270210055,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-988539877681387008,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:45] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,121,28,24,241,158,16,254,159,92,45,242,56,43,10,66,240,117,1,72,206,83,100,4,223,31],"length":476,"final_offset":606,"validated_count":26,"validation_warnings":[]} 
[2026-07-07 19:42:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035339795721879552,"timestamp_seconds":4035339795721879.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 19:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":125546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":125546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":125546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558771456001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1825646729546039296},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558771456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:42:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:42:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825646729546039296,"description":"Unknown IO ID 45"} 
[2026-07-07 19:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558771456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825646729546039296}} 
[2026-07-07 19:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":125546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:42:45] local.INFO: GPS data processed {"connection_id":125546,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:42:45] local.INFO: Acknowledgment sent {"connection_id":125546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:42:51] local.INFO: TCP Data received {"connection_id":125546,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:42:51] local.INFO: Processing buffer {"connection_id":125546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:42:51] local.INFO: Packet analysis {"connection_id":125546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cea"} 
[2026-07-07 19:42:51] local.INFO: Extracted packet for processing {"connection_id":125546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cea"} 
[2026-07-07 19:42:51] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558771456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825646729546039296,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783433451000,"timestamp_ms":1783433451000,"timestamp_seconds":1783433451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cead5f8"} 
[2026-07-07 19:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19: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":13,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-07-07 19:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":-87820192733724672,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:51] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:51] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184267546829,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:51] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253515266,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":4613691469654407168,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:51] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3026422248127859200,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:51] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846018800,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:51] local.WARNING: Large IO value detected {"io_id":223,"raw_value":470627454270210055,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-988539877681387008,"note":"Value kept but may cause issues"} 
[2026-07-07 19:42:51] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,121,28,24,241,158,16,254,159,92,45,242,56,43,10,66,240,117,1,72,206,83,100,4,223,31],"length":476,"final_offset":606,"validated_count":26,"validation_warnings":[]} 
[2026-07-07 19:42:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035339795721879552,"timestamp_seconds":4035339795721879.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 19:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558771456001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1825646729546039296},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558771456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:42:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:42:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825646729546039296,"description":"Unknown IO ID 45"} 
[2026-07-07 19:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558771456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825646729546039296}} 
[2026-07-07 19:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":125546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:42:52] local.INFO: GPS data processed {"connection_id":125546,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:42:52] local.INFO: Acknowledgment sent {"connection_id":125546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:42:58] local.INFO: TCP Data received {"connection_id":124835,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:42:58] local.INFO: Processing buffer {"connection_id":124835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:42:58] local.INFO: IMEI packet received {"connection_id":124835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":124835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:43:03] local.INFO: TCP Data received {"connection_id":124835,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:43:03] local.INFO: Processing buffer {"connection_id":124835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:43:03] local.INFO: IMEI packet received {"connection_id":124835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":124835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:43:04] local.INFO: TCP Data received {"connection_id":124835,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:43:04] local.INFO: Processing buffer {"connection_id":124835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:43:04] local.INFO: Packet analysis {"connection_id":124835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ceb"} 
[2026-07-07 19:43:04] local.INFO: Extracted packet for processing {"connection_id":124835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ceb"} 
[2026-07-07 19:43:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":46,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558903296001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430184558467649536,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783433517000,"timestamp_ms":1783433517000,"timestamp_seconds":1783433517,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cebd7c8"} 
[2026-07-07 19:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-07-07 19:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558903296001,"66":25462,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430184558467649536},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558903296001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:43:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:43:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430184558467649536,"description":"Unknown IO ID 45"} 
[2026-07-07 19:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558903296001,"power":25462,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430184558467649536}} 
[2026-07-07 19:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":124835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:43:04] local.INFO: GPS data processed {"connection_id":124835,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:43:04] local.INFO: Acknowledgment sent {"connection_id":124835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:43:33] local.INFO: TCP Data received {"connection_id":126810,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:43:33] local.INFO: Processing buffer {"connection_id":126810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:43:33] local.INFO: IMEI packet received {"connection_id":126810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":126810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:43:35] local.INFO: TCP Data received {"connection_id":124835,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:43:35] local.INFO: Processing buffer {"connection_id":124835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:43:35] local.INFO: Packet analysis {"connection_id":124835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ceb"} 
[2026-07-07 19:43:35] local.INFO: Extracted packet for processing {"connection_id":124835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ceb"} 
[2026-07-07 19:43:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":46,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558903296001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430184558467649536,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783433517000,"timestamp_ms":1783433517000,"timestamp_seconds":1783433517,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cebd7c8"} 
[2026-07-07 19:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-07-07 19:43:35] 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-07-07 19: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-07-07 19:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558903296001,"66":25462,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430184558467649536},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558903296001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:43:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:43:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430184558467649536,"description":"Unknown IO ID 45"} 
[2026-07-07 19:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558903296001,"power":25462,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430184558467649536}} 
[2026-07-07 19:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":124835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:43:35] local.INFO: GPS data processed {"connection_id":124835,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:43:35] local.INFO: Acknowledgment sent {"connection_id":124835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:43:39] local.INFO: TCP Data received {"connection_id":126810,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:43:39] local.INFO: Processing buffer {"connection_id":126810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:43:39] local.INFO: IMEI packet received {"connection_id":126810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":126810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:43:40] local.INFO: TCP Data received {"connection_id":126810,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:43:40] local.INFO: Processing buffer {"connection_id":126810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:43:40] local.INFO: Packet analysis {"connection_id":126810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cea"} 
[2026-07-07 19:43:40] local.INFO: Extracted packet for processing {"connection_id":126810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cea"} 
[2026-07-07 19:43:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558771456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825646729546039296,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783433451000,"timestamp_ms":1783433451000,"timestamp_seconds":1783433451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cead5f8"} 
[2026-07-07 19:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-07-07 19:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":-87820192733724672,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:40] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:40] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184267546829,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:40] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:40] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253515266,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":4613691469654407168,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:40] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3026422248127859200,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:40] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846018800,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:40] local.WARNING: Large IO value detected {"io_id":223,"raw_value":470627454270210055,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:40] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-988539877681387008,"note":"Value kept but may cause issues"} 
[2026-07-07 19:43:40] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,121,28,24,241,158,16,254,159,92,45,242,56,43,10,66,240,117,1,72,206,83,100,4,223,31],"length":476,"final_offset":606,"validated_count":26,"validation_warnings":[]} 
[2026-07-07 19:43:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035339795721879552,"timestamp_seconds":4035339795721879.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 19:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558771456001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1825646729546039296},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558771456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:43:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:43:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825646729546039296,"description":"Unknown IO ID 45"} 
[2026-07-07 19:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558771456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825646729546039296}} 
[2026-07-07 19:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":126810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:43:40] local.INFO: GPS data processed {"connection_id":126810,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:43:40] local.INFO: Acknowledgment sent {"connection_id":126810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:44:03] local.INFO: TCP Data received {"connection_id":124837,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:44:03] local.INFO: Processing buffer {"connection_id":124837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:44:03] local.INFO: IMEI packet received {"connection_id":124837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":124837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:44:08] local.INFO: TCP Data received {"connection_id":124837,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:44:08] local.INFO: Processing buffer {"connection_id":124837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:44:08] local.INFO: IMEI packet received {"connection_id":124837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":124837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:44:09] local.INFO: TCP Data received {"connection_id":124837,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:44:09] local.INFO: Processing buffer {"connection_id":124837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:44:09] local.INFO: Packet analysis {"connection_id":124837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ceb"} 
[2026-07-07 19:44:09] local.INFO: Extracted packet for processing {"connection_id":124837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ceb"} 
[2026-07-07 19:44:09] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":46,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558903296001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430184558467649536,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783433517000,"timestamp_ms":1783433517000,"timestamp_seconds":1783433517,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cebd7c8"} 
[2026-07-07 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-07-07 19:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-07-07 19:44:09] 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-07-07 19:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 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-07-07 19:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558903296001,"66":25462,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430184558467649536},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558903296001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:44:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:44:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430184558467649536,"description":"Unknown IO ID 45"} 
[2026-07-07 19:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558903296001,"power":25462,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430184558467649536}} 
[2026-07-07 19:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":124837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:44:09] local.INFO: GPS data processed {"connection_id":124837,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:44:09] local.INFO: Acknowledgment sent {"connection_id":124837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:44:12] local.INFO: TCP Data received {"connection_id":126810,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:44:12] local.INFO: Processing buffer {"connection_id":126810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:44:12] local.INFO: Packet analysis {"connection_id":126810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cea"} 
[2026-07-07 19:44:12] local.INFO: Extracted packet for processing {"connection_id":126810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cea"} 
[2026-07-07 19:44:12] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558771456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825646729546039296,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783433451000,"timestamp_ms":1783433451000,"timestamp_seconds":1783433451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cead5f8"} 
[2026-07-07 19:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-07-07 19:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":-87820192733724672,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:12] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:12] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184267546829,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:12] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:12] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253515266,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":4613691469654407168,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:12] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3026422248127859200,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:12] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846018800,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:12] local.WARNING: Large IO value detected {"io_id":223,"raw_value":470627454270210055,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:12] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-988539877681387008,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:12] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,121,28,24,241,158,16,254,159,92,45,242,56,43,10,66,240,117,1,72,206,83,100,4,223,31],"length":476,"final_offset":606,"validated_count":26,"validation_warnings":[]} 
[2026-07-07 19:44:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035339795721879552,"timestamp_seconds":4035339795721879.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 19:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558771456001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1825646729546039296},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558771456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:44:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:44:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825646729546039296,"description":"Unknown IO ID 45"} 
[2026-07-07 19:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558771456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825646729546039296}} 
[2026-07-07 19:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":126810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:44:12] local.INFO: GPS data processed {"connection_id":126810,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:44:12] local.INFO: Acknowledgment sent {"connection_id":126810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:44:14] local.INFO: TCP Data received {"connection_id":124837,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:44:14] local.INFO: Processing buffer {"connection_id":124837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:44:14] local.INFO: Packet analysis {"connection_id":124837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ceb"} 
[2026-07-07 19:44:14] local.INFO: Extracted packet for processing {"connection_id":124837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ceb"} 
[2026-07-07 19:44:14] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":46,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558903296001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430184558467649536,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783433517000,"timestamp_ms":1783433517000,"timestamp_seconds":1783433517,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cebd7c8"} 
[2026-07-07 19:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:44: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-07-07 19:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-07-07 19:44:14] 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-07-07 19:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558903296001,"66":25462,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430184558467649536},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558903296001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:44:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:44:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430184558467649536,"description":"Unknown IO ID 45"} 
[2026-07-07 19:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558903296001,"power":25462,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430184558467649536}} 
[2026-07-07 19:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":124837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:44:14] local.INFO: GPS data processed {"connection_id":124837,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:44:14] local.INFO: Acknowledgment sent {"connection_id":124837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:44:33] local.INFO: TCP Data received {"connection_id":126811,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:44:33] local.INFO: Processing buffer {"connection_id":126811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:44:33] local.INFO: IMEI packet received {"connection_id":126811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":126811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:44:39] local.INFO: TCP Data received {"connection_id":126811,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:44:39] local.INFO: Processing buffer {"connection_id":126811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:44:39] local.INFO: IMEI packet received {"connection_id":126811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":126811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:44:41] local.INFO: TCP Data received {"connection_id":126811,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:44:41] local.INFO: Processing buffer {"connection_id":126811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:44:41] local.INFO: Packet analysis {"connection_id":126811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cea"} 
[2026-07-07 19:44:41] local.INFO: Extracted packet for processing {"connection_id":126811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cea"} 
[2026-07-07 19:44:41] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558771456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825646729546039296,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783433451000,"timestamp_ms":1783433451000,"timestamp_seconds":1783433451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cead5f8"} 
[2026-07-07 19:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19: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":13,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-07-07 19:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":-87820192733724672,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:41] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:41] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184267546829,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:41] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:41] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253515266,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":4613691469654407168,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:41] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3026422248127859200,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:41] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846018800,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:41] local.WARNING: Large IO value detected {"io_id":223,"raw_value":470627454270210055,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:41] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-988539877681387008,"note":"Value kept but may cause issues"} 
[2026-07-07 19:44:41] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,121,28,24,241,158,16,254,159,92,45,242,56,43,10,66,240,117,1,72,206,83,100,4,223,31],"length":476,"final_offset":606,"validated_count":26,"validation_warnings":[]} 
[2026-07-07 19:44:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035339795721879552,"timestamp_seconds":4035339795721879.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 19:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558771456001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1825646729546039296},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558771456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:44:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:44:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825646729546039296,"description":"Unknown IO ID 45"} 
[2026-07-07 19:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558771456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825646729546039296}} 
[2026-07-07 19:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":126811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:44:41] local.INFO: GPS data processed {"connection_id":126811,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:44:41] local.INFO: Acknowledgment sent {"connection_id":126811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:44:58] local.INFO: TCP Data received {"connection_id":124733,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:44:58] local.INFO: Processing buffer {"connection_id":124733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:44:58] local.INFO: IMEI packet received {"connection_id":124733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":124733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:45:03] local.INFO: TCP Data received {"connection_id":124733,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:45:03] local.INFO: Processing buffer {"connection_id":124733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:45:03] local.INFO: IMEI packet received {"connection_id":124733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":124733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:45:04] local.INFO: TCP Data received {"connection_id":124733,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:45:04] local.INFO: Processing buffer {"connection_id":124733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:45:04] local.INFO: Packet analysis {"connection_id":124733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ceb"} 
[2026-07-07 19:45:04] local.INFO: Extracted packet for processing {"connection_id":124733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ceb"} 
[2026-07-07 19:45:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":46,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558903296001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430184558467649536,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783433517000,"timestamp_ms":1783433517000,"timestamp_seconds":1783433517,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cebd7c8"} 
[2026-07-07 19:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-07-07 19:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558903296001,"66":25462,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430184558467649536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558903296001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:45:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:45:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430184558467649536,"description":"Unknown IO ID 45"} 
[2026-07-07 19:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558903296001,"power":25462,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430184558467649536}} 
[2026-07-07 19:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":124733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:45:04] local.INFO: GPS data processed {"connection_id":124733,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:45:04] local.INFO: Acknowledgment sent {"connection_id":124733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:45:13] local.INFO: TCP Data received {"connection_id":126811,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:45:13] local.INFO: Processing buffer {"connection_id":126811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:45:13] local.INFO: Packet analysis {"connection_id":126811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cea"} 
[2026-07-07 19:45:13] local.INFO: Extracted packet for processing {"connection_id":126811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cea"} 
[2026-07-07 19:45:13] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558771456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825646729546039296,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783433451000,"timestamp_ms":1783433451000,"timestamp_seconds":1783433451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cead5f8"} 
[2026-07-07 19:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19: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":13,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-07-07 19:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":-87820192733724672,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:13] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:13] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184267546829,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:13] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:13] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253515266,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":4613691469654407168,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:13] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3026422248127859200,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:13] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846018800,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:13] local.WARNING: Large IO value detected {"io_id":223,"raw_value":470627454270210055,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:13] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-988539877681387008,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:13] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,121,28,24,241,158,16,254,159,92,45,242,56,43,10,66,240,117,1,72,206,83,100,4,223,31],"length":476,"final_offset":606,"validated_count":26,"validation_warnings":[]} 
[2026-07-07 19:45:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035339795721879552,"timestamp_seconds":4035339795721879.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 19:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558771456001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1825646729546039296},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558771456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:45:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:45:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825646729546039296,"description":"Unknown IO ID 45"} 
[2026-07-07 19:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558771456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825646729546039296}} 
[2026-07-07 19:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":126811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:45:13] local.INFO: GPS data processed {"connection_id":126811,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:45:13] local.INFO: Acknowledgment sent {"connection_id":126811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:45:35] local.INFO: TCP Data received {"connection_id":124733,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:45:35] local.INFO: Processing buffer {"connection_id":124733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:45:35] local.INFO: Packet analysis {"connection_id":124733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ceb"} 
[2026-07-07 19:45:35] local.INFO: Extracted packet for processing {"connection_id":124733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ceb"} 
[2026-07-07 19:45:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":46,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558903296001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430184558467649536,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783433517000,"timestamp_ms":1783433517000,"timestamp_seconds":1783433517,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cebd7c8"} 
[2026-07-07 19:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-07-07 19:45:35] 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-07-07 19:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558903296001,"66":25462,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430184558467649536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558903296001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:45:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:45:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430184558467649536,"description":"Unknown IO ID 45"} 
[2026-07-07 19:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558903296001,"power":25462,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430184558467649536}} 
[2026-07-07 19:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":124733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:45:35] local.INFO: GPS data processed {"connection_id":124733,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:45:35] local.INFO: Acknowledgment sent {"connection_id":124733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:45:38] local.INFO: TCP Data received {"connection_id":124838,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:45:38] local.INFO: Processing buffer {"connection_id":124838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:45:38] local.INFO: IMEI packet received {"connection_id":124838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":124838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:45:44] local.INFO: TCP Data received {"connection_id":124838,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:45:44] local.INFO: Processing buffer {"connection_id":124838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:45:44] local.INFO: IMEI packet received {"connection_id":124838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":124838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:45:45] local.INFO: TCP Data received {"connection_id":124838,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:45:45] local.INFO: Processing buffer {"connection_id":124838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:45:45] local.INFO: Packet analysis {"connection_id":124838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cea"} 
[2026-07-07 19:45:45] local.INFO: Extracted packet for processing {"connection_id":124838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cea"} 
[2026-07-07 19:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558771456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825646729546039296,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45: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-07-07 19:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783433451000,"timestamp_ms":1783433451000,"timestamp_seconds":1783433451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cead5f8"} 
[2026-07-07 19:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-07-07 19:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":-87820192733724672,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:45] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:45] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184267546829,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:45] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:45] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253515266,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":4613691469654407168,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:45] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3026422248127859200,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:45] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846018800,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:45] local.WARNING: Large IO value detected {"io_id":223,"raw_value":470627454270210055,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-988539877681387008,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:45] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,121,28,24,241,158,16,254,159,92,45,242,56,43,10,66,240,117,1,72,206,83,100,4,223,31],"length":476,"final_offset":606,"validated_count":26,"validation_warnings":[]} 
[2026-07-07 19:45:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035339795721879552,"timestamp_seconds":4035339795721879.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 19:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558771456001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1825646729546039296},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558771456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:45:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:45:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825646729546039296,"description":"Unknown IO ID 45"} 
[2026-07-07 19:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558771456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825646729546039296}} 
[2026-07-07 19:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":124838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:45:46] local.INFO: GPS data processed {"connection_id":124838,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:45:46] local.INFO: Acknowledgment sent {"connection_id":124838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:45:49] local.INFO: TCP Data received {"connection_id":124838,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:45:49] local.INFO: Processing buffer {"connection_id":124838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cead5f8012d1962c0071fefb0003c00682a..."} 
[2026-07-07 19:45:49] local.INFO: Packet analysis {"connection_id":124838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cea"} 
[2026-07-07 19:45:49] local.INFO: Extracted packet for processing {"connection_id":124838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cea"} 
[2026-07-07 19:45:49] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558771456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825646729546039296,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783433451000,"timestamp_ms":1783433451000,"timestamp_seconds":1783433451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cead5f8"} 
[2026-07-07 19:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-07-07 19:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":-87820192733724672,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:49] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:49] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184267546829,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:49] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:49] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253515266,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":4613691469654407168,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:49] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3026422248127859200,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846018800,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:49] local.WARNING: Large IO value detected {"io_id":223,"raw_value":470627454270210055,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:49] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-988539877681387008,"note":"Value kept but may cause issues"} 
[2026-07-07 19:45:49] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,121,28,24,241,158,16,254,159,92,45,242,56,43,10,66,240,117,1,72,206,83,100,4,223,31],"length":476,"final_offset":606,"validated_count":26,"validation_warnings":[]} 
[2026-07-07 19:45:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035339795721879552,"timestamp_seconds":4035339795721879.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-07 19:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":124838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":124838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":124838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558771456001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1825646729546039296},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558771456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:45:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:45:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825646729546039296,"description":"Unknown IO ID 45"} 
[2026-07-07 19:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558771456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825646729546039296}} 
[2026-07-07 19:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":124838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:45:49] local.INFO: GPS data processed {"connection_id":124838,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:45:49] local.INFO: Acknowledgment sent {"connection_id":124838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:45:58] local.INFO: TCP Data received {"connection_id":126812,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:45:58] local.INFO: Processing buffer {"connection_id":126812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:45:58] local.INFO: IMEI packet received {"connection_id":126812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":126812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:46:03] local.INFO: TCP Data received {"connection_id":126812,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:46:03] local.INFO: Processing buffer {"connection_id":126812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:46:03] local.INFO: IMEI packet received {"connection_id":126812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":126812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:46:04] local.INFO: TCP Data received {"connection_id":126812,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:46:04] local.INFO: Processing buffer {"connection_id":126812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:46:04] local.INFO: Packet analysis {"connection_id":126812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ceb"} 
[2026-07-07 19:46:04] local.INFO: Extracted packet for processing {"connection_id":126812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ceb"} 
[2026-07-07 19:46:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":46,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558903296001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430184558467649536,"note":"Value kept but may cause issues"} 
[2026-07-07 19:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783433517000,"timestamp_ms":1783433517000,"timestamp_seconds":1783433517,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cebd7c8"} 
[2026-07-07 19:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-07-07 19:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558903296001,"66":25462,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430184558467649536},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558903296001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:46:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:46:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430184558467649536,"description":"Unknown IO ID 45"} 
[2026-07-07 19:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558903296001,"power":25462,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430184558467649536}} 
[2026-07-07 19:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":126812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:46:04] local.INFO: GPS data processed {"connection_id":126812,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:46:04] local.INFO: Acknowledgment sent {"connection_id":126812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:46:30] local.INFO: TCP Data received {"connection_id":124839,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:46:30] local.INFO: Processing buffer {"connection_id":124839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:46:30] local.INFO: IMEI packet received {"connection_id":124839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":124839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:46:35] local.INFO: TCP Data received {"connection_id":124839,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:46:35] local.INFO: Processing buffer {"connection_id":124839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:46:35] local.INFO: IMEI packet received {"connection_id":124839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":124839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:46:35] local.INFO: TCP Data received {"connection_id":126812,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:46:35] local.INFO: Processing buffer {"connection_id":126812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:46:35] local.INFO: Packet analysis {"connection_id":126812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ceb"} 
[2026-07-07 19:46:35] local.INFO: Extracted packet for processing {"connection_id":126812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ceb"} 
[2026-07-07 19:46:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":46,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558903296001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430184558467649536,"note":"Value kept but may cause issues"} 
[2026-07-07 19:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783433517000,"timestamp_ms":1783433517000,"timestamp_seconds":1783433517,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cebd7c8"} 
[2026-07-07 19:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-07-07 19:46:35] 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-07-07 19:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558903296001,"66":25462,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430184558467649536},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558903296001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:46:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:46:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430184558467649536,"description":"Unknown IO ID 45"} 
[2026-07-07 19:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558903296001,"power":25462,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430184558467649536}} 
[2026-07-07 19:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":126812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:46:35] local.INFO: GPS data processed {"connection_id":126812,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:46:35] local.INFO: Acknowledgment sent {"connection_id":126812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:46:39] local.INFO: TCP Data received {"connection_id":124839,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:46:39] local.INFO: Processing buffer {"connection_id":124839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:46:39] local.INFO: IMEI packet received {"connection_id":124839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":124839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:46:40] local.INFO: TCP Data received {"connection_id":124839,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:46:40] local.INFO: Processing buffer {"connection_id":124839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:46:40] local.INFO: Packet analysis {"connection_id":124839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:46:40] local.INFO: Extracted packet for processing {"connection_id":124839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:46:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558963456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783433752000,"timestamp_ms":1783433752000,"timestamp_seconds":1783433752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cef6dc0"} 
[2026-07-07 19:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558963456001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558963456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:46:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:46:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558963456001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":124839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:46:40] local.INFO: GPS data processed {"connection_id":124839,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:46:40] local.INFO: Acknowledgment sent {"connection_id":124839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:46:45] local.INFO: TCP Data received {"connection_id":124839,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:46:45] local.INFO: Processing buffer {"connection_id":124839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:46:45] local.INFO: Packet analysis {"connection_id":124839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:46:45] local.INFO: Extracted packet for processing {"connection_id":124839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:46:45] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558963456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783433752000,"timestamp_ms":1783433752000,"timestamp_seconds":1783433752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cef6dc0"} 
[2026-07-07 19:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558963456001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558963456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:46:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:46:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558963456001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":124839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:46:45] local.INFO: GPS data processed {"connection_id":124839,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:46:45] local.INFO: Acknowledgment sent {"connection_id":124839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:46:58] local.INFO: TCP Data received {"connection_id":126814,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:46:58] local.INFO: Processing buffer {"connection_id":126814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:46:58] local.INFO: IMEI packet received {"connection_id":126814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":126814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:47:03] local.INFO: TCP Data received {"connection_id":126814,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:47:03] local.INFO: Processing buffer {"connection_id":126814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:47:03] local.INFO: IMEI packet received {"connection_id":126814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":126814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:47:04] local.INFO: TCP Data received {"connection_id":126814,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:47:04] local.INFO: Processing buffer {"connection_id":126814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:47:04] local.INFO: Packet analysis {"connection_id":126814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ceb"} 
[2026-07-07 19:47:04] local.INFO: Extracted packet for processing {"connection_id":126814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ceb"} 
[2026-07-07 19:47:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":46,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558903296001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430184558467649536,"note":"Value kept but may cause issues"} 
[2026-07-07 19:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783433517000,"timestamp_ms":1783433517000,"timestamp_seconds":1783433517,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cebd7c8"} 
[2026-07-07 19:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-07-07 19:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558903296001,"66":25462,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430184558467649536},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558903296001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:47:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:47:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430184558467649536,"description":"Unknown IO ID 45"} 
[2026-07-07 19:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558903296001,"power":25462,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430184558467649536}} 
[2026-07-07 19:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":126814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:47:04] local.INFO: GPS data processed {"connection_id":126814,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:47:04] local.INFO: Acknowledgment sent {"connection_id":126814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:47:17] local.INFO: TCP Data received {"connection_id":124839,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:47:17] local.INFO: Processing buffer {"connection_id":124839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:47:17] local.INFO: Packet analysis {"connection_id":124839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:47:17] local.INFO: Extracted packet for processing {"connection_id":124839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:47:17] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558963456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783433752000,"timestamp_ms":1783433752000,"timestamp_seconds":1783433752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cef6dc0"} 
[2026-07-07 19:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19: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-07-07 19:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558963456001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558963456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:47:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:47:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558963456001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":124839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:47:17] local.INFO: GPS data processed {"connection_id":124839,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:47:17] local.INFO: Acknowledgment sent {"connection_id":124839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:47:19] local.INFO: TCP Data received {"connection_id":126815,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:47:19] local.INFO: Processing buffer {"connection_id":126815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:47:19] local.INFO: IMEI packet received {"connection_id":126815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 19:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":126815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:47:35] local.INFO: TCP Data received {"connection_id":126814,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:47:35] local.INFO: Processing buffer {"connection_id":126814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cebd7c8012dde4440050df278000c01412e..."} 
[2026-07-07 19:47:35] local.INFO: Packet analysis {"connection_id":126814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ceb"} 
[2026-07-07 19:47:35] local.INFO: Extracted packet for processing {"connection_id":126814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ceb"} 
[2026-07-07 19:47:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":46,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558903296001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430184558467649536,"note":"Value kept but may cause issues"} 
[2026-07-07 19:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783433517000,"timestamp_ms":1783433517000,"timestamp_seconds":1783433517,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cebd7c8"} 
[2026-07-07 19:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-07-07 19:47:35] 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-07-07 19:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558903296001,"66":25462,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430184558467649536},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558903296001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:47:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:47:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430184558467649536,"description":"Unknown IO ID 45"} 
[2026-07-07 19:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558903296001,"power":25462,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430184558467649536}} 
[2026-07-07 19:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":126814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:47:35] local.INFO: GPS data processed {"connection_id":126814,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:47:35] local.INFO: Acknowledgment sent {"connection_id":126814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:47:38] local.INFO: TCP Data received {"connection_id":124734,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:47:38] local.INFO: Processing buffer {"connection_id":124734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:47:38] local.INFO: IMEI packet received {"connection_id":124734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":124734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:47:44] local.INFO: TCP Data received {"connection_id":124734,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:47:44] local.INFO: Processing buffer {"connection_id":124734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:47:44] local.INFO: IMEI packet received {"connection_id":124734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":124734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:47:46] local.INFO: TCP Data received {"connection_id":124734,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:47:46] local.INFO: Processing buffer {"connection_id":124734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:47:46] local.INFO: Packet analysis {"connection_id":124734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:47:46] local.INFO: Extracted packet for processing {"connection_id":124734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558963456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783433752000,"timestamp_ms":1783433752000,"timestamp_seconds":1783433752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cef6dc0"} 
[2026-07-07 19:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558963456001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558963456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:47:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:47:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558963456001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":124734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:47:46] local.INFO: GPS data processed {"connection_id":124734,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:47:46] local.INFO: Acknowledgment sent {"connection_id":124734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:47:58] local.INFO: TCP Data received {"connection_id":126816,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:47:58] local.INFO: Processing buffer {"connection_id":126816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:47:58] local.INFO: IMEI packet received {"connection_id":126816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":126816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:48:03] local.INFO: TCP Data received {"connection_id":126816,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:48:03] local.INFO: Processing buffer {"connection_id":126816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:48:03] local.INFO: IMEI packet received {"connection_id":126816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":126816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:48:04] local.INFO: TCP Data received {"connection_id":125548,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:48:04] local.INFO: Processing buffer {"connection_id":125548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:48:04] local.INFO: IMEI packet received {"connection_id":125548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 19:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":125548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:48:04] local.INFO: TCP Data received {"connection_id":126816,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:48:04] local.INFO: Processing buffer {"connection_id":126816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:48:04] local.INFO: Packet analysis {"connection_id":126816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf0"} 
[2026-07-07 19:48:04] local.INFO: Extracted packet for processing {"connection_id":126816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf0"} 
[2026-07-07 19:48:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":45,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558980352001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783433818000,"timestamp_ms":1783433818000,"timestamp_seconds":1783433818,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf06f90"} 
[2026-07-07 19:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558980352001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558980352001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:48:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:48:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558980352001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":126816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:48:04] local.INFO: GPS data processed {"connection_id":126816,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:48:04] local.INFO: Acknowledgment sent {"connection_id":126816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:48:18] local.INFO: TCP Data received {"connection_id":124734,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:48:18] local.INFO: Processing buffer {"connection_id":124734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:48:18] local.INFO: Packet analysis {"connection_id":124734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:48:18] local.INFO: Extracted packet for processing {"connection_id":124734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:48:18] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558963456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783433752000,"timestamp_ms":1783433752000,"timestamp_seconds":1783433752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cef6dc0"} 
[2026-07-07 19:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:48: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-07-07 19: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-07-07 19:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558963456001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558963456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:48:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:48:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558963456001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":124734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:48:18] local.INFO: GPS data processed {"connection_id":124734,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:48:18] local.INFO: Acknowledgment sent {"connection_id":124734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:48:33] local.INFO: TCP Data received {"connection_id":124840,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:48:33] local.INFO: Processing buffer {"connection_id":124840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:48:33] local.INFO: IMEI packet received {"connection_id":124840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":124840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:48:35] local.INFO: TCP Data received {"connection_id":126816,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:48:35] local.INFO: Processing buffer {"connection_id":126816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:48:35] local.INFO: Packet analysis {"connection_id":126816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf0"} 
[2026-07-07 19:48:35] local.INFO: Extracted packet for processing {"connection_id":126816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf0"} 
[2026-07-07 19:48:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":45,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558980352001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783433818000,"timestamp_ms":1783433818000,"timestamp_seconds":1783433818,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf06f90"} 
[2026-07-07 19:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558980352001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558980352001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:48:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:48:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558980352001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":126816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:48:35] local.INFO: GPS data processed {"connection_id":126816,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:48:35] local.INFO: Acknowledgment sent {"connection_id":126816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:48:39] local.INFO: TCP Data received {"connection_id":124840,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:48:39] local.INFO: Processing buffer {"connection_id":124840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:48:39] local.INFO: IMEI packet received {"connection_id":124840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":124840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:48:41] local.INFO: TCP Data received {"connection_id":124840,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:48:41] local.INFO: Processing buffer {"connection_id":124840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:48:41] local.INFO: Packet analysis {"connection_id":124840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:48:41] local.INFO: Extracted packet for processing {"connection_id":124840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:48:41] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558963456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783433752000,"timestamp_ms":1783433752000,"timestamp_seconds":1783433752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cef6dc0"} 
[2026-07-07 19:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558963456001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558963456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:48:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:48:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558963456001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":124840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:48:41] local.INFO: GPS data processed {"connection_id":124840,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:48:41] local.INFO: Acknowledgment sent {"connection_id":124840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:49:03] local.INFO: TCP Data received {"connection_id":125549,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:49:03] local.INFO: Processing buffer {"connection_id":125549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:49:03] local.INFO: IMEI packet received {"connection_id":125549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":125549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:49:08] local.INFO: TCP Data received {"connection_id":125549,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:49:08] local.INFO: Processing buffer {"connection_id":125549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:49:08] local.INFO: IMEI packet received {"connection_id":125549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":125549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:49:09] local.INFO: TCP Data received {"connection_id":125549,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:49:09] local.INFO: Processing buffer {"connection_id":125549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:49:09] local.INFO: Packet analysis {"connection_id":125549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf0"} 
[2026-07-07 19:49:09] local.INFO: Extracted packet for processing {"connection_id":125549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf0"} 
[2026-07-07 19:49:09] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":45,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558980352001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783433818000,"timestamp_ms":1783433818000,"timestamp_seconds":1783433818,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf06f90"} 
[2026-07-07 19:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558980352001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558980352001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:49:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:49:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558980352001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":125549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:49:09] local.INFO: GPS data processed {"connection_id":125549,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:49:09] local.INFO: Acknowledgment sent {"connection_id":125549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:49:12] local.INFO: TCP Data received {"connection_id":124840,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:49:12] local.INFO: Processing buffer {"connection_id":124840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:49:12] local.INFO: Packet analysis {"connection_id":124840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:49:12] local.INFO: Extracted packet for processing {"connection_id":124840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558963456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783433752000,"timestamp_ms":1783433752000,"timestamp_seconds":1783433752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cef6dc0"} 
[2026-07-07 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-07-07 19:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 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-07-07 19:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558963456001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558963456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:49:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:49:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558963456001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":124840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:49:12] local.INFO: GPS data processed {"connection_id":124840,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:49:12] local.INFO: Acknowledgment sent {"connection_id":124840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:49:16] local.INFO: TCP Data received {"connection_id":125549,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:49:16] local.INFO: Processing buffer {"connection_id":125549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:49:16] local.INFO: Packet analysis {"connection_id":125549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf0"} 
[2026-07-07 19:49:16] local.INFO: Extracted packet for processing {"connection_id":125549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf0"} 
[2026-07-07 19:49:16] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":45,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558980352001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783433818000,"timestamp_ms":1783433818000,"timestamp_seconds":1783433818,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf06f90"} 
[2026-07-07 19:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:49: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-07-07 19: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558980352001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558980352001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:49:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:49:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558980352001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":125549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:49:16] local.INFO: GPS data processed {"connection_id":125549,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:49:16] local.INFO: Acknowledgment sent {"connection_id":125549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:49:33] local.INFO: TCP Data received {"connection_id":126818,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:49:33] local.INFO: Processing buffer {"connection_id":126818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:49:33] local.INFO: IMEI packet received {"connection_id":126818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":126818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:49:39] local.INFO: TCP Data received {"connection_id":126818,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:49:39] local.INFO: Processing buffer {"connection_id":126818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:49:39] local.INFO: IMEI packet received {"connection_id":126818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":126818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:49:40] local.INFO: TCP Data received {"connection_id":126818,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:49:40] local.INFO: Processing buffer {"connection_id":126818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:49:40] local.INFO: Packet analysis {"connection_id":126818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:49:40] local.INFO: Extracted packet for processing {"connection_id":126818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:49:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558963456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783433752000,"timestamp_ms":1783433752000,"timestamp_seconds":1783433752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cef6dc0"} 
[2026-07-07 19:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558963456001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558963456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:49:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:49:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558963456001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":126818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:49:40] local.INFO: GPS data processed {"connection_id":126818,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:49:40] local.INFO: Acknowledgment sent {"connection_id":126818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:49:58] local.INFO: TCP Data received {"connection_id":124735,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:49:58] local.INFO: Processing buffer {"connection_id":124735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:49:58] local.INFO: IMEI packet received {"connection_id":124735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":124735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:50:03] local.INFO: TCP Data received {"connection_id":124735,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:50:03] local.INFO: Processing buffer {"connection_id":124735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:50:03] local.INFO: IMEI packet received {"connection_id":124735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":124735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:50:12] local.INFO: TCP Data received {"connection_id":126818,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:50:12] local.INFO: Processing buffer {"connection_id":126818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:50:12] local.INFO: Packet analysis {"connection_id":126818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:50:12] local.INFO: Extracted packet for processing {"connection_id":126818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:50:12] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558963456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783433752000,"timestamp_ms":1783433752000,"timestamp_seconds":1783433752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cef6dc0"} 
[2026-07-07 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-07-07 19:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 19:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558963456001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558963456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:50:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:50:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558963456001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":126818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:50:12] local.INFO: GPS data processed {"connection_id":126818,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:50:12] local.INFO: Acknowledgment sent {"connection_id":126818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:50:19] local.INFO: TCP Data received {"connection_id":124735,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:50:19] local.INFO: Processing buffer {"connection_id":124735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:50:19] local.INFO: Packet analysis {"connection_id":124735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf0"} 
[2026-07-07 19:50:19] local.INFO: Extracted packet for processing {"connection_id":124735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf0"} 
[2026-07-07 19:50:19] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":45,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558980352001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783433818000,"timestamp_ms":1783433818000,"timestamp_seconds":1783433818,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf06f90"} 
[2026-07-07 19:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19: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-07-07 19: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19: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-07-07 19:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558980352001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558980352001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:50:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:50:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558980352001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":124735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:50:19] local.INFO: GPS data processed {"connection_id":124735,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:50:19] local.INFO: Acknowledgment sent {"connection_id":124735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:50:34] local.INFO: TCP Data received {"connection_id":124735,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:50:34] local.INFO: Processing buffer {"connection_id":124735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:50:34] local.INFO: Packet analysis {"connection_id":124735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf0"} 
[2026-07-07 19:50:34] local.INFO: Extracted packet for processing {"connection_id":124735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf0"} 
[2026-07-07 19:50:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":45,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558980352001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783433818000,"timestamp_ms":1783433818000,"timestamp_seconds":1783433818,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf06f90"} 
[2026-07-07 19:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558980352001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558980352001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:50:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:50:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558980352001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":124735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:50:34] local.INFO: GPS data processed {"connection_id":124735,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:50:34] local.INFO: Acknowledgment sent {"connection_id":124735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:50:39] local.INFO: TCP Data received {"connection_id":124842,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:50:39] local.INFO: Processing buffer {"connection_id":124842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:50:39] local.INFO: IMEI packet received {"connection_id":124842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":124842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:50:44] local.INFO: TCP Data received {"connection_id":124842,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:50:44] local.INFO: Processing buffer {"connection_id":124842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:50:44] local.INFO: IMEI packet received {"connection_id":124842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":124842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:50:45] local.INFO: TCP Data received {"connection_id":124842,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:50:45] local.INFO: Processing buffer {"connection_id":124842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:50:45] local.INFO: Packet analysis {"connection_id":124842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:50:45] local.INFO: Extracted packet for processing {"connection_id":124842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:50:45] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558963456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19:50: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-07-07 19:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783433752000,"timestamp_ms":1783433752000,"timestamp_seconds":1783433752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cef6dc0"} 
[2026-07-07 19:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558963456001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558963456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:50:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:50:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558963456001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":124842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:50:45] local.INFO: GPS data processed {"connection_id":124842,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:50:45] local.INFO: Acknowledgment sent {"connection_id":124842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:50:49] local.INFO: TCP Data received {"connection_id":124842,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:50:49] local.INFO: Processing buffer {"connection_id":124842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cef6dc0012d1962c0071fefb0003c006823..."} 
[2026-07-07 19:50:49] local.INFO: Packet analysis {"connection_id":124842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:50:49] local.INFO: Extracted packet for processing {"connection_id":124842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cef"} 
[2026-07-07 19:50:49] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558963456001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783433752000,"timestamp_ms":1783433752000,"timestamp_seconds":1783433752,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cef6dc0"} 
[2026-07-07 19:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":124842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":124842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":124842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558963456001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558963456001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:50:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:50:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558963456001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":124842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:50:49] local.INFO: GPS data processed {"connection_id":124842,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:50:49] local.INFO: Acknowledgment sent {"connection_id":124842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:50:58] local.INFO: TCP Data received {"connection_id":125550,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:50:58] local.INFO: Processing buffer {"connection_id":125550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:50:58] local.INFO: IMEI packet received {"connection_id":125550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":125550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:51:03] local.INFO: TCP Data received {"connection_id":125550,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:51:03] local.INFO: Processing buffer {"connection_id":125550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:51:03] local.INFO: IMEI packet received {"connection_id":125550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":125550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:51:16] local.INFO: TCP Data received {"connection_id":125550,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:51:16] local.INFO: Processing buffer {"connection_id":125550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:51:16] local.INFO: Packet analysis {"connection_id":125550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf0"} 
[2026-07-07 19:51:16] local.INFO: Extracted packet for processing {"connection_id":125550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf0"} 
[2026-07-07 19:51:16] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":45,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558980352001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783433818000,"timestamp_ms":1783433818000,"timestamp_seconds":1783433818,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf06f90"} 
[2026-07-07 19:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:51: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-07-07 19:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558980352001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558980352001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:51:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:51:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558980352001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":125550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:51:16] local.INFO: GPS data processed {"connection_id":125550,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:51:16] local.INFO: Acknowledgment sent {"connection_id":125550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:51:31] local.INFO: TCP Data received {"connection_id":124738,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:51:31] local.INFO: Processing buffer {"connection_id":124738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:51:31] local.INFO: IMEI packet received {"connection_id":124738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":124738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:51:33] local.INFO: TCP Data received {"connection_id":124738,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:51:33] local.INFO: Processing buffer {"connection_id":124738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:51:33] local.INFO: IMEI packet received {"connection_id":124738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":124738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:51:39] local.INFO: TCP Data received {"connection_id":124738,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:51:39] local.INFO: Processing buffer {"connection_id":124738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:51:39] local.INFO: IMEI packet received {"connection_id":124738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":124738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:51:40] local.INFO: TCP Data received {"connection_id":124738,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:51:40] local.INFO: Processing buffer {"connection_id":124738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:51:40] local.INFO: Packet analysis {"connection_id":124738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:51:40] local.INFO: Extracted packet for processing {"connection_id":124738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:51:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559040512001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783434053000,"timestamp_ms":1783434053000,"timestamp_seconds":1783434053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf40588"} 
[2026-07-07 19:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 19:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559040512001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559040512001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:51:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:51:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559040512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":124738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:51:40] local.INFO: GPS data processed {"connection_id":124738,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:51:40] local.INFO: Acknowledgment sent {"connection_id":124738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:51:44] local.INFO: TCP Data received {"connection_id":124738,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:51:44] local.INFO: Processing buffer {"connection_id":124738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:51:44] local.INFO: Packet analysis {"connection_id":124738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:51:44] local.INFO: Extracted packet for processing {"connection_id":124738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:51:44] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559040512001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783434053000,"timestamp_ms":1783434053000,"timestamp_seconds":1783434053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf40588"} 
[2026-07-07 19:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 19:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19: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-07-07 19:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559040512001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559040512001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:51:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:51:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559040512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":124738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:51:45] local.INFO: GPS data processed {"connection_id":124738,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:51:45] local.INFO: Acknowledgment sent {"connection_id":124738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:51:59] local.INFO: TCP Data received {"connection_id":124843,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:51:59] local.INFO: Processing buffer {"connection_id":124843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:51:59] local.INFO: IMEI packet received {"connection_id":124843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":124843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:52:03] local.INFO: TCP Data received {"connection_id":124843,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:52:03] local.INFO: Processing buffer {"connection_id":124843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:52:03] local.INFO: IMEI packet received {"connection_id":124843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":124843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:52:04] local.INFO: TCP Data received {"connection_id":124843,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:52:04] local.INFO: Processing buffer {"connection_id":124843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:52:04] local.INFO: Packet analysis {"connection_id":124843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf0"} 
[2026-07-07 19:52:04] local.INFO: Extracted packet for processing {"connection_id":124843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf0"} 
[2026-07-07 19:52:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":45,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558980352001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783433818000,"timestamp_ms":1783433818000,"timestamp_seconds":1783433818,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf06f90"} 
[2026-07-07 19:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558980352001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558980352001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:52:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:52:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558980352001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":124843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:52:04] local.INFO: GPS data processed {"connection_id":124843,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:52:04] local.INFO: Acknowledgment sent {"connection_id":124843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:52:16] local.INFO: TCP Data received {"connection_id":124738,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:52:16] local.INFO: Processing buffer {"connection_id":124738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:52:16] local.INFO: Packet analysis {"connection_id":124738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:52:16] local.INFO: Extracted packet for processing {"connection_id":124738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:52:16] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559040512001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783434053000,"timestamp_ms":1783434053000,"timestamp_seconds":1783434053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf40588"} 
[2026-07-07 19:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 19:52: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-07-07 19:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559040512001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559040512001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:52:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:52:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559040512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":124738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:52:16] local.INFO: GPS data processed {"connection_id":124738,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:52:16] local.INFO: Acknowledgment sent {"connection_id":124738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:52:33] local.INFO: TCP Data received {"connection_id":125551,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:52:33] local.INFO: Processing buffer {"connection_id":125551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:52:33] local.INFO: IMEI packet received {"connection_id":125551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":125551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:52:35] local.INFO: TCP Data received {"connection_id":124843,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:52:35] local.INFO: Processing buffer {"connection_id":124843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf06f90012dde4440050df278000c01412d..."} 
[2026-07-07 19:52:35] local.INFO: Packet analysis {"connection_id":124843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf0"} 
[2026-07-07 19:52:35] local.INFO: Extracted packet for processing {"connection_id":124843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf0"} 
[2026-07-07 19:52:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":45,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456558980352001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783433818000,"timestamp_ms":1783433818000,"timestamp_seconds":1783433818,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf06f90"} 
[2026-07-07 19:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456558980352001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456558980352001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:52:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:52:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456558980352001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":124843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:52:35] local.INFO: GPS data processed {"connection_id":124843,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:52:35] local.INFO: Acknowledgment sent {"connection_id":124843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:52:39] local.INFO: TCP Data received {"connection_id":125551,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:52:39] local.INFO: Processing buffer {"connection_id":125551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:52:39] local.INFO: IMEI packet received {"connection_id":125551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":125551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:52:40] local.INFO: TCP Data received {"connection_id":125551,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:52:40] local.INFO: Processing buffer {"connection_id":125551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:52:40] local.INFO: Packet analysis {"connection_id":125551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:52:40] local.INFO: Extracted packet for processing {"connection_id":125551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:52:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559040512001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783434053000,"timestamp_ms":1783434053000,"timestamp_seconds":1783434053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf40588"} 
[2026-07-07 19:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 19:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559040512001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559040512001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:52:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:52:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559040512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":125551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:52:40] local.INFO: GPS data processed {"connection_id":125551,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:52:40] local.INFO: Acknowledgment sent {"connection_id":125551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:53:03] local.INFO: TCP Data received {"connection_id":126820,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:53:03] local.INFO: Processing buffer {"connection_id":126820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:53:03] local.INFO: IMEI packet received {"connection_id":126820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":126820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:53:08] local.INFO: TCP Data received {"connection_id":126820,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:53:08] local.INFO: Processing buffer {"connection_id":126820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:53:08] local.INFO: IMEI packet received {"connection_id":126820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":126820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:53:10] local.INFO: TCP Data received {"connection_id":126820,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:53:10] local.INFO: Processing buffer {"connection_id":126820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:53:10] local.INFO: Packet analysis {"connection_id":126820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf5"} 
[2026-07-07 19:53:10] local.INFO: Extracted packet for processing {"connection_id":126820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf5"} 
[2026-07-07 19:53:10] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559057408001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783434119000,"timestamp_ms":1783434119000,"timestamp_seconds":1783434119,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf50758"} 
[2026-07-07 19:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 19:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19: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-07-07 19:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559057408001,"66":25180,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559057408001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:53:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:53:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559057408001,"power":25180,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":126820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:53:10] local.INFO: GPS data processed {"connection_id":126820,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:53:10] local.INFO: Acknowledgment sent {"connection_id":126820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:53:12] local.INFO: TCP Data received {"connection_id":125551,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:53:12] local.INFO: Processing buffer {"connection_id":125551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:53:12] local.INFO: Packet analysis {"connection_id":125551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:53:12] local.INFO: Extracted packet for processing {"connection_id":125551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:53:12] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559040512001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783434053000,"timestamp_ms":1783434053000,"timestamp_seconds":1783434053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf40588"} 
[2026-07-07 19:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 19:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559040512001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559040512001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:53:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:53:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559040512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":125551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:53:12] local.INFO: GPS data processed {"connection_id":125551,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:53:12] local.INFO: Acknowledgment sent {"connection_id":125551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:53:33] local.INFO: TCP Data received {"connection_id":125552,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:53:33] local.INFO: Processing buffer {"connection_id":125552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:53:33] local.INFO: IMEI packet received {"connection_id":125552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 19:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":125552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:53:40] local.INFO: TCP Data received {"connection_id":125553,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:53:40] local.INFO: Processing buffer {"connection_id":125553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:53:40] local.INFO: IMEI packet received {"connection_id":125553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":125553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:53:41] local.INFO: TCP Data received {"connection_id":126820,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:53:41] local.INFO: Processing buffer {"connection_id":126820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:53:41] local.INFO: Packet analysis {"connection_id":126820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf5"} 
[2026-07-07 19:53:41] local.INFO: Extracted packet for processing {"connection_id":126820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf5"} 
[2026-07-07 19:53:41] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559057408001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783434119000,"timestamp_ms":1783434119000,"timestamp_seconds":1783434119,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf50758"} 
[2026-07-07 19:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 19:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19: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-07-07 19:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559057408001,"66":25180,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559057408001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:53:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:53:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559057408001,"power":25180,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":126820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:53:41] local.INFO: GPS data processed {"connection_id":126820,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:53:41] local.INFO: Acknowledgment sent {"connection_id":126820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:53:44] local.INFO: TCP Data received {"connection_id":125553,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:53:44] local.INFO: Processing buffer {"connection_id":125553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:53:44] local.INFO: IMEI packet received {"connection_id":125553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":125553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:53:49] local.INFO: TCP Data received {"connection_id":125553,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:53:49] local.INFO: Processing buffer {"connection_id":125553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:53:49] local.INFO: Packet analysis {"connection_id":125553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:53:49] local.INFO: Extracted packet for processing {"connection_id":125553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:53:49] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559040512001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783434053000,"timestamp_ms":1783434053000,"timestamp_seconds":1783434053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf40588"} 
[2026-07-07 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-07-07 19:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 19:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 19:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":125553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":125553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":125553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559040512001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559040512001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:53:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:53:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559040512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":125553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:53:49] local.INFO: GPS data processed {"connection_id":125553,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:53:49] local.INFO: Acknowledgment sent {"connection_id":125553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:53:53] local.INFO: TCP Data received {"connection_id":125553,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:53:53] local.INFO: Processing buffer {"connection_id":125553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:53:53] local.INFO: Packet analysis {"connection_id":125553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:53:53] local.INFO: Extracted packet for processing {"connection_id":125553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:53:53] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559040512001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19:53: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-07-07 19:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783434053000,"timestamp_ms":1783434053000,"timestamp_seconds":1783434053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf40588"} 
[2026-07-07 19:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 19:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19: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-07-07 19:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559040512001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559040512001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:53:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:53:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559040512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":125553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:53:53] local.INFO: GPS data processed {"connection_id":125553,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:53:53] local.INFO: Acknowledgment sent {"connection_id":125553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:53:58] local.INFO: TCP Data received {"connection_id":125554,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:53:58] local.INFO: Processing buffer {"connection_id":125554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:53:58] local.INFO: IMEI packet received {"connection_id":125554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":125554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:53:58] local.INFO: TCP Data received {"connection_id":124844,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:53:58] local.INFO: Processing buffer {"connection_id":124844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:53:58] local.INFO: IMEI packet received {"connection_id":124844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 19:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":124844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:54:03] local.INFO: TCP Data received {"connection_id":125554,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:54:03] local.INFO: Processing buffer {"connection_id":125554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:54:03] local.INFO: IMEI packet received {"connection_id":125554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":125554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:54:04] local.INFO: TCP Data received {"connection_id":125554,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:54:04] local.INFO: Processing buffer {"connection_id":125554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:54:04] local.INFO: Packet analysis {"connection_id":125554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf5"} 
[2026-07-07 19:54:04] local.INFO: Extracted packet for processing {"connection_id":125554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf5"} 
[2026-07-07 19:54:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559057408001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783434119000,"timestamp_ms":1783434119000,"timestamp_seconds":1783434119,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf50758"} 
[2026-07-07 19:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 19:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559057408001,"66":25180,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559057408001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:54:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:54:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559057408001,"power":25180,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":125554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:54:04] local.INFO: GPS data processed {"connection_id":125554,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:54:04] local.INFO: Acknowledgment sent {"connection_id":125554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:54:33] local.INFO: TCP Data received {"connection_id":125555,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:54:33] local.INFO: Processing buffer {"connection_id":125555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:54:33] local.INFO: IMEI packet received {"connection_id":125555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":125555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:54:35] local.INFO: TCP Data received {"connection_id":125554,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:54:35] local.INFO: Processing buffer {"connection_id":125554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:54:35] local.INFO: Packet analysis {"connection_id":125554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf5"} 
[2026-07-07 19:54:35] local.INFO: Extracted packet for processing {"connection_id":125554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf5"} 
[2026-07-07 19:54:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559057408001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783434119000,"timestamp_ms":1783434119000,"timestamp_seconds":1783434119,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf50758"} 
[2026-07-07 19:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 19:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559057408001,"66":25180,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559057408001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:54:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:54:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559057408001,"power":25180,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":125554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:54:35] local.INFO: GPS data processed {"connection_id":125554,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:54:35] local.INFO: Acknowledgment sent {"connection_id":125554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:54:38] local.INFO: TCP Data received {"connection_id":125555,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:54:38] local.INFO: Processing buffer {"connection_id":125555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:54:38] local.INFO: IMEI packet received {"connection_id":125555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":125555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:54:40] local.INFO: TCP Data received {"connection_id":125555,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:54:40] local.INFO: Processing buffer {"connection_id":125555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:54:40] local.INFO: Packet analysis {"connection_id":125555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:54:40] local.INFO: Extracted packet for processing {"connection_id":125555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:54:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559040512001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783434053000,"timestamp_ms":1783434053000,"timestamp_seconds":1783434053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf40588"} 
[2026-07-07 19:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 19:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559040512001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559040512001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:54:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:54:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559040512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":125555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:54:40] local.INFO: GPS data processed {"connection_id":125555,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:54:40] local.INFO: Acknowledgment sent {"connection_id":125555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:54:58] local.INFO: TCP Data received {"connection_id":124845,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:54:58] local.INFO: Processing buffer {"connection_id":124845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:54:58] local.INFO: IMEI packet received {"connection_id":124845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":124845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:55:03] local.INFO: TCP Data received {"connection_id":124845,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:55:03] local.INFO: Processing buffer {"connection_id":124845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:55:03] local.INFO: IMEI packet received {"connection_id":124845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":124845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:55:07] local.INFO: TCP Data received {"connection_id":124845,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:55:07] local.INFO: Processing buffer {"connection_id":124845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:55:07] local.INFO: Packet analysis {"connection_id":124845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf5"} 
[2026-07-07 19:55:07] local.INFO: Extracted packet for processing {"connection_id":124845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf5"} 
[2026-07-07 19:55:07] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559057408001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783434119000,"timestamp_ms":1783434119000,"timestamp_seconds":1783434119,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf50758"} 
[2026-07-07 19:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 19:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:55: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-07-07 19:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559057408001,"66":25180,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559057408001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:55:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:55:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559057408001,"power":25180,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":124845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:55:07] local.INFO: GPS data processed {"connection_id":124845,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:55:07] local.INFO: Acknowledgment sent {"connection_id":124845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:55:12] local.INFO: TCP Data received {"connection_id":125555,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:55:12] local.INFO: Processing buffer {"connection_id":125555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:55:12] local.INFO: Packet analysis {"connection_id":125555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:55:12] local.INFO: Extracted packet for processing {"connection_id":125555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:55:12] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559040512001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783434053000,"timestamp_ms":1783434053000,"timestamp_seconds":1783434053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf40588"} 
[2026-07-07 19:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 19:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559040512001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559040512001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:55:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:55:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559040512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":125555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:55:12] local.INFO: GPS data processed {"connection_id":125555,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:55:12] local.INFO: Acknowledgment sent {"connection_id":125555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:55:33] local.INFO: TCP Data received {"connection_id":124739,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:55:33] local.INFO: Processing buffer {"connection_id":124739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:55:33] local.INFO: IMEI packet received {"connection_id":124739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":124739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:55:37] local.INFO: TCP Data received {"connection_id":124845,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:55:37] local.INFO: Processing buffer {"connection_id":124845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:55:37] local.INFO: Packet analysis {"connection_id":124845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf5"} 
[2026-07-07 19:55:37] local.INFO: Extracted packet for processing {"connection_id":124845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf5"} 
[2026-07-07 19:55:37] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559057408001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783434119000,"timestamp_ms":1783434119000,"timestamp_seconds":1783434119,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf50758"} 
[2026-07-07 19:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 19:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:55: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-07-07 19:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559057408001,"66":25180,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559057408001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:55:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:55:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559057408001,"power":25180,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":124845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:55:37] local.INFO: GPS data processed {"connection_id":124845,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:55:37] local.INFO: Acknowledgment sent {"connection_id":124845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:55:39] local.INFO: TCP Data received {"connection_id":124739,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:55:39] local.INFO: Processing buffer {"connection_id":124739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:55:39] local.INFO: IMEI packet received {"connection_id":124739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":124739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:55:40] local.INFO: TCP Data received {"connection_id":124739,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:55:40] local.INFO: Processing buffer {"connection_id":124739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:55:40] local.INFO: Packet analysis {"connection_id":124739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:55:40] local.INFO: Extracted packet for processing {"connection_id":124739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:55:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559040512001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783434053000,"timestamp_ms":1783434053000,"timestamp_seconds":1783434053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf40588"} 
[2026-07-07 19:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 19:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559040512001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559040512001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:55:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:55:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559040512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":124739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:55:40] local.INFO: GPS data processed {"connection_id":124739,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:55:40] local.INFO: Acknowledgment sent {"connection_id":124739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:55:58] local.INFO: TCP Data received {"connection_id":124740,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:55:58] local.INFO: Processing buffer {"connection_id":124740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:55:58] local.INFO: IMEI packet received {"connection_id":124740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":124740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:56:03] local.INFO: TCP Data received {"connection_id":124740,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:56:03] local.INFO: Processing buffer {"connection_id":124740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:56:03] local.INFO: IMEI packet received {"connection_id":124740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":124740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:56:04] local.INFO: TCP Data received {"connection_id":124740,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:56:04] local.INFO: Processing buffer {"connection_id":124740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:56:04] local.INFO: Packet analysis {"connection_id":124740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf5"} 
[2026-07-07 19:56:04] local.INFO: Extracted packet for processing {"connection_id":124740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf5"} 
[2026-07-07 19:56:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559057408001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783434119000,"timestamp_ms":1783434119000,"timestamp_seconds":1783434119,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf50758"} 
[2026-07-07 19:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 19:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559057408001,"66":25180,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559057408001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:56:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:56:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559057408001,"power":25180,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":124740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:56:04] local.INFO: GPS data processed {"connection_id":124740,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:56:04] local.INFO: Acknowledgment sent {"connection_id":124740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:56:13] local.INFO: TCP Data received {"connection_id":124739,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:56:13] local.INFO: Processing buffer {"connection_id":124739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf40588012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:56:13] local.INFO: Packet analysis {"connection_id":124739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:56:13] local.INFO: Extracted packet for processing {"connection_id":124739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf4"} 
[2026-07-07 19:56:13] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559040512001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783434053000,"timestamp_ms":1783434053000,"timestamp_seconds":1783434053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf40588"} 
[2026-07-07 19:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 19:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19: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-07-07 19:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559040512001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559040512001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:56:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:56:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559040512001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":124739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:56:13] local.INFO: GPS data processed {"connection_id":124739,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:56:13] local.INFO: Acknowledgment sent {"connection_id":124739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:56:35] local.INFO: TCP Data received {"connection_id":124740,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:56:35] local.INFO: Processing buffer {"connection_id":124740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:56:35] local.INFO: Packet analysis {"connection_id":124740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf5"} 
[2026-07-07 19:56:35] local.INFO: Extracted packet for processing {"connection_id":124740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf5"} 
[2026-07-07 19:56:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559057408001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783434119000,"timestamp_ms":1783434119000,"timestamp_seconds":1783434119,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf50758"} 
[2026-07-07 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-07-07 19:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 19:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 19:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:56: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-07-07 19:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559057408001,"66":25180,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559057408001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:56:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:56:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559057408001,"power":25180,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":124740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:56:35] local.INFO: GPS data processed {"connection_id":124740,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:56:35] local.INFO: Acknowledgment sent {"connection_id":124740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:56:38] local.INFO: TCP Data received {"connection_id":126824,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:56:38] local.INFO: Processing buffer {"connection_id":126824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:56:38] local.INFO: IMEI packet received {"connection_id":126824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":126824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:56:46] local.INFO: TCP Data received {"connection_id":126824,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:56:46] local.INFO: Processing buffer {"connection_id":126824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:56:46] local.INFO: IMEI packet received {"connection_id":126824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":126824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:56:47] local.INFO: TCP Data received {"connection_id":126824,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:56:47] local.INFO: Processing buffer {"connection_id":126824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:56:47] local.INFO: Packet analysis {"connection_id":126824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 19:56:47] local.INFO: Extracted packet for processing {"connection_id":126824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 19:56:47] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559117568001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783434354000,"timestamp_ms":1783434354000,"timestamp_seconds":1783434354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf89d50"} 
[2026-07-07 19:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:56: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-07-07 19:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19: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-07-07 19:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":126824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":126824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":126824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559117568001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559117568001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:56:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:56:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559117568001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":126824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:56:47] local.INFO: GPS data processed {"connection_id":126824,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:56:47] local.INFO: Acknowledgment sent {"connection_id":126824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:57:03] local.INFO: TCP Data received {"connection_id":125556,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:57:03] local.INFO: Processing buffer {"connection_id":125556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:57:03] local.INFO: IMEI packet received {"connection_id":125556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":125556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:57:08] local.INFO: TCP Data received {"connection_id":125556,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:57:08] local.INFO: Processing buffer {"connection_id":125556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:57:08] local.INFO: IMEI packet received {"connection_id":125556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":125556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:57:09] local.INFO: TCP Data received {"connection_id":125556,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:57:09] local.INFO: Processing buffer {"connection_id":125556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:57:09] local.INFO: Packet analysis {"connection_id":125556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf5"} 
[2026-07-07 19:57:09] local.INFO: Extracted packet for processing {"connection_id":125556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf5"} 
[2026-07-07 19:57:09] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559057408001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783434119000,"timestamp_ms":1783434119000,"timestamp_seconds":1783434119,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf50758"} 
[2026-07-07 19:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 19:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:57: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-07-07 19:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559057408001,"66":25180,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559057408001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:57:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:57:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559057408001,"power":25180,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":125556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:57:09] local.INFO: GPS data processed {"connection_id":125556,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:57:09] local.INFO: Acknowledgment sent {"connection_id":125556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:57:13] local.INFO: TCP Data received {"connection_id":125556,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:57:13] local.INFO: Processing buffer {"connection_id":125556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf50758012dde4440050df278000c01412a..."} 
[2026-07-07 19:57:13] local.INFO: Packet analysis {"connection_id":125556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf5"} 
[2026-07-07 19:57:13] local.INFO: Extracted packet for processing {"connection_id":125556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf5"} 
[2026-07-07 19:57:13] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559057408001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783434119000,"timestamp_ms":1783434119000,"timestamp_seconds":1783434119,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf50758"} 
[2026-07-07 19:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19: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-07-07 19: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 19:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19: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-07-07 19:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:57: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-07-07 19:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559057408001,"66":25180,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559057408001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:57:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:57:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559057408001,"power":25180,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":125556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:57:13] local.INFO: GPS data processed {"connection_id":125556,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:57:13] local.INFO: Acknowledgment sent {"connection_id":125556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:57:18] local.INFO: TCP Data received {"connection_id":126824,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:57:18] local.INFO: Processing buffer {"connection_id":126824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:57:18] local.INFO: Packet analysis {"connection_id":126824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 19:57:18] local.INFO: Extracted packet for processing {"connection_id":126824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 19:57:18] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559117568001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783434354000,"timestamp_ms":1783434354000,"timestamp_seconds":1783434354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf89d50"} 
[2026-07-07 19:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:57: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-07-07 19:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":126824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":126824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":126824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559117568001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559117568001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:57:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:57:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559117568001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":126824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:57:19] local.INFO: GPS data processed {"connection_id":126824,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:57:19] local.INFO: Acknowledgment sent {"connection_id":126824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:57:39] local.INFO: TCP Data received {"connection_id":124741,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:57:39] local.INFO: Processing buffer {"connection_id":124741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:57:39] local.INFO: IMEI packet received {"connection_id":124741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":124741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:57:44] local.INFO: TCP Data received {"connection_id":124741,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:57:44] local.INFO: Processing buffer {"connection_id":124741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:57:44] local.INFO: IMEI packet received {"connection_id":124741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":124741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:57:45] local.INFO: TCP Data received {"connection_id":124741,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:57:45] local.INFO: Processing buffer {"connection_id":124741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:57:45] local.INFO: Packet analysis {"connection_id":124741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 19:57:45] local.INFO: Extracted packet for processing {"connection_id":124741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 19:57:45] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559117568001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783434354000,"timestamp_ms":1783434354000,"timestamp_seconds":1783434354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf89d50"} 
[2026-07-07 19:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:57: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-07-07 19:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559117568001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559117568001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:57:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:57:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559117568001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":124741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:57:45] local.INFO: GPS data processed {"connection_id":124741,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:57:45] local.INFO: Acknowledgment sent {"connection_id":124741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:57:51] local.INFO: TCP Data received {"connection_id":124741,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:57:51] local.INFO: Processing buffer {"connection_id":124741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:57:51] local.INFO: Packet analysis {"connection_id":124741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 19:57:51] local.INFO: Extracted packet for processing {"connection_id":124741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 19:57:51] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559117568001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783434354000,"timestamp_ms":1783434354000,"timestamp_seconds":1783434354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf89d50"} 
[2026-07-07 19:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19: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-07-07 19: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-07-07 19:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":124741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":124741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":124741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559117568001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559117568001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:57:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:57:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559117568001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":124741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:57:51] local.INFO: GPS data processed {"connection_id":124741,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:57:51] local.INFO: Acknowledgment sent {"connection_id":124741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:57:58] local.INFO: TCP Data received {"connection_id":126825,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:57:58] local.INFO: Processing buffer {"connection_id":126825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:57:58] local.INFO: IMEI packet received {"connection_id":126825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":126825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:58:03] local.INFO: TCP Data received {"connection_id":126825,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:58:03] local.INFO: Processing buffer {"connection_id":126825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:58:03] local.INFO: IMEI packet received {"connection_id":126825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":126825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:58:04] local.INFO: TCP Data received {"connection_id":126825,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 19:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 19:58:04] local.INFO: Processing buffer {"connection_id":126825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 19:58:04] local.INFO: Packet analysis {"connection_id":126825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf9"} 
[2026-07-07 19:58:04] local.INFO: Extracted packet for processing {"connection_id":126825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf9"} 
[2026-07-07 19:58:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559134464001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783434420000,"timestamp_ms":1783434420000,"timestamp_seconds":1783434420,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf99f20"} 
[2026-07-07 19:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 19:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19: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-07-07 19:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559134464001,"66":25212,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559134464001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:58:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:58:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559134464001,"power":25212,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":126825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:58:04] local.INFO: GPS data processed {"connection_id":126825,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:58:04] local.INFO: Acknowledgment sent {"connection_id":126825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:58:34] local.INFO: TCP Data received {"connection_id":126826,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:58:34] local.INFO: Processing buffer {"connection_id":126826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:58:34] local.INFO: IMEI packet received {"connection_id":126826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":126826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:58:35] local.INFO: TCP Data received {"connection_id":126825,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 19:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 19:58:35] local.INFO: Processing buffer {"connection_id":126825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 19:58:35] local.INFO: Packet analysis {"connection_id":126825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf9"} 
[2026-07-07 19:58:35] local.INFO: Extracted packet for processing {"connection_id":126825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf9"} 
[2026-07-07 19:58:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559134464001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783434420000,"timestamp_ms":1783434420000,"timestamp_seconds":1783434420,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf99f20"} 
[2026-07-07 19:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 19:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559134464001,"66":25212,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559134464001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:58:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:58:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559134464001,"power":25212,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":126825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:58:35] local.INFO: GPS data processed {"connection_id":126825,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:58:35] local.INFO: Acknowledgment sent {"connection_id":126825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:58:39] local.INFO: TCP Data received {"connection_id":126826,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:58:39] local.INFO: Processing buffer {"connection_id":126826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:58:39] local.INFO: IMEI packet received {"connection_id":126826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":126826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:58:40] local.INFO: TCP Data received {"connection_id":126826,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:58:40] local.INFO: Processing buffer {"connection_id":126826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:58:40] local.INFO: Packet analysis {"connection_id":126826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 19:58:40] local.INFO: Extracted packet for processing {"connection_id":126826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 19:58:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559117568001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783434354000,"timestamp_ms":1783434354000,"timestamp_seconds":1783434354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf89d50"} 
[2026-07-07 19:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559117568001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559117568001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:58:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:58:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559117568001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":126826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:58:40] local.INFO: GPS data processed {"connection_id":126826,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:58:40] local.INFO: Acknowledgment sent {"connection_id":126826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:58:44] local.INFO: TCP Data received {"connection_id":126826,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:58:44] local.INFO: Processing buffer {"connection_id":126826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:58:44] local.INFO: Packet analysis {"connection_id":126826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 19:58:44] local.INFO: Extracted packet for processing {"connection_id":126826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 19:58:44] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559117568001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783434354000,"timestamp_ms":1783434354000,"timestamp_seconds":1783434354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf89d50"} 
[2026-07-07 19:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":126826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":126826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":126826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559117568001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559117568001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:58:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:58:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559117568001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":126826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:58:44] local.INFO: GPS data processed {"connection_id":126826,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:58:44] local.INFO: Acknowledgment sent {"connection_id":126826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:58:59] local.INFO: TCP Data received {"connection_id":124743,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:58:59] local.INFO: Processing buffer {"connection_id":124743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:58:59] local.INFO: IMEI packet received {"connection_id":124743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 19:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":124743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:59:03] local.INFO: TCP Data received {"connection_id":124743,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:59:03] local.INFO: Processing buffer {"connection_id":124743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 19:59:03] local.INFO: IMEI packet received {"connection_id":124743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 19:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":124743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:59:04] local.INFO: TCP Data received {"connection_id":124743,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 19:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 19:59:04] local.INFO: Processing buffer {"connection_id":124743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 19:59:04] local.INFO: Packet analysis {"connection_id":124743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf9"} 
[2026-07-07 19:59:04] local.INFO: Extracted packet for processing {"connection_id":124743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf9"} 
[2026-07-07 19:59:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559134464001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783434420000,"timestamp_ms":1783434420000,"timestamp_seconds":1783434420,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf99f20"} 
[2026-07-07 19:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 19:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19: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-07-07 19:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559134464001,"66":25212,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559134464001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:59:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:59:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559134464001,"power":25212,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":124743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:59:04] local.INFO: GPS data processed {"connection_id":124743,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:59:04] local.INFO: Acknowledgment sent {"connection_id":124743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:59:16] local.INFO: TCP Data received {"connection_id":126826,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:59:16] local.INFO: Processing buffer {"connection_id":126826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:59:16] local.INFO: Packet analysis {"connection_id":126826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 19:59:16] local.INFO: Extracted packet for processing {"connection_id":126826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 19:59:16] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 19:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559117568001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19: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-07-07 19:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783434354000,"timestamp_ms":1783434354000,"timestamp_seconds":1783434354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf89d50"} 
[2026-07-07 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-07-07 19:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 19:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559117568001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559117568001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:59:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:59:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559117568001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":126826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:59:16] local.INFO: GPS data processed {"connection_id":126826,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:59:16] local.INFO: Acknowledgment sent {"connection_id":126826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:59:30] local.INFO: TCP Data received {"connection_id":124744,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:59:30] local.INFO: Processing buffer {"connection_id":124744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:59:30] local.INFO: IMEI packet received {"connection_id":124744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 19:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":124744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:59:34] local.INFO: TCP Data received {"connection_id":126827,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:59:34] local.INFO: Processing buffer {"connection_id":126827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:59:34] local.INFO: IMEI packet received {"connection_id":126827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 19:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":126827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:59:35] local.INFO: TCP Data received {"connection_id":124743,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 19:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 19:59:35] local.INFO: Processing buffer {"connection_id":124743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 19:59:35] local.INFO: Packet analysis {"connection_id":124743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf9"} 
[2026-07-07 19:59:35] local.INFO: Extracted packet for processing {"connection_id":124743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf9"} 
[2026-07-07 19:59:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 19:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559134464001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 19:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 19:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783434420000,"timestamp_ms":1783434420000,"timestamp_seconds":1783434420,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf99f20"} 
[2026-07-07 19:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 19:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 19:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 19:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 19:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559134464001,"66":25212,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 19:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 19:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 19:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559134464001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:59:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 19:59:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 19:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 19:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559134464001,"power":25212,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 19:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":124743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:59:35] local.INFO: GPS data processed {"connection_id":124743,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:59:35] local.INFO: Acknowledgment sent {"connection_id":124743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:59:44] local.INFO: TCP Data received {"connection_id":126827,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:59:44] local.INFO: Processing buffer {"connection_id":126827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 19:59:44] local.INFO: IMEI packet received {"connection_id":126827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 19:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":126827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 19:59:49] local.INFO: TCP Data received {"connection_id":126827,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:59:49] local.INFO: Processing buffer {"connection_id":126827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:59:49] local.INFO: Packet analysis {"connection_id":126827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 19:59:49] local.INFO: Extracted packet for processing {"connection_id":126827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 19:59:49] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19: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-07-07 19:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559117568001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 19:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783434354000,"timestamp_ms":1783434354000,"timestamp_seconds":1783434354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf89d50"} 
[2026-07-07 19:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19: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-07-07 19:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":126827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":126827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":126827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559117568001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559117568001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:59:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:59:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559117568001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":126827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:59:49] local.INFO: GPS data processed {"connection_id":126827,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:59:49] local.INFO: Acknowledgment sent {"connection_id":126827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:59:50] local.INFO: TCP Data received {"connection_id":126827,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:59:50] local.INFO: Processing buffer {"connection_id":126827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 19:59:50] local.INFO: Packet analysis {"connection_id":126827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 19:59:50] local.INFO: Extracted packet for processing {"connection_id":126827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 19:59:50] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 19:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 19:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559117568001,"note":"Value kept but may cause issues"} 
[2026-07-07 19:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 19:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 19:59: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-07-07 19:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783434354000,"timestamp_ms":1783434354000,"timestamp_seconds":1783434354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf89d50"} 
[2026-07-07 19:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 19:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 19:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 19:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 19:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 19:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 19:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 19:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 19:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 19:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 19:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 19:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 19:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559117568001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 19:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 19:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 19:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559117568001,"description":"Unknown IO ID 0"} 
[2026-07-07 19:59:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 19:59:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 19:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 19:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 19:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559117568001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 19:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":126827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 19:59:51] local.INFO: GPS data processed {"connection_id":126827,"processed":1,"errors":0,"total":1} 
[2026-07-07 19:59:51] local.INFO: Acknowledgment sent {"connection_id":126827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 19:59:58] local.INFO: TCP Data received {"connection_id":124848,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:59:58] local.INFO: Processing buffer {"connection_id":124848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:59:58] local.INFO: IMEI packet received {"connection_id":124848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 19:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":124848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 19:59:59] local.INFO: TCP Data received {"connection_id":124848,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:59:59] local.INFO: Processing buffer {"connection_id":124848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 19:59:59] local.INFO: IMEI packet received {"connection_id":124848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 19:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":124848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:00:03] local.INFO: TCP Data received {"connection_id":124847,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:00:03] local.INFO: Processing buffer {"connection_id":124847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:00:03] local.INFO: IMEI packet received {"connection_id":124847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":124847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:00:03] local.INFO: TCP Data received {"connection_id":124848,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:00:03] local.INFO: Processing buffer {"connection_id":124848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:00:03] local.INFO: IMEI packet received {"connection_id":124848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":124848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:00:08] local.INFO: TCP Data received {"connection_id":124847,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:00:08] local.INFO: Processing buffer {"connection_id":124847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:00:08] local.INFO: IMEI packet received {"connection_id":124847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":124847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:00:10] local.INFO: TCP Data received {"connection_id":124847,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 20:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 20:00:10] local.INFO: Processing buffer {"connection_id":124847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 20:00:10] local.INFO: Packet analysis {"connection_id":124847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf9"} 
[2026-07-07 20:00:10] local.INFO: Extracted packet for processing {"connection_id":124847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf9"} 
[2026-07-07 20:00:10] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 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-07-07 20:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559134464001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783434420000,"timestamp_ms":1783434420000,"timestamp_seconds":1783434420,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf99f20"} 
[2026-07-07 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-07-07 20:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 20:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 20:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 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-07-07 20:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559134464001,"66":25212,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559134464001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:00:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:00:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559134464001,"power":25212,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":124847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:00:10] local.INFO: GPS data processed {"connection_id":124847,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:00:10] local.INFO: Acknowledgment sent {"connection_id":124847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:00:14] local.INFO: TCP Data received {"connection_id":124847,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 20:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 20:00:14] local.INFO: Processing buffer {"connection_id":124847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 20:00:14] local.INFO: Packet analysis {"connection_id":124847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf9"} 
[2026-07-07 20:00:14] local.INFO: Extracted packet for processing {"connection_id":124847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf9"} 
[2026-07-07 20:00:14] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559134464001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783434420000,"timestamp_ms":1783434420000,"timestamp_seconds":1783434420,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf99f20"} 
[2026-07-07 20:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20: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-07-07 20:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 20:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559134464001,"66":25212,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559134464001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:00:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:00:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559134464001,"power":25212,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":124847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:00:14] local.INFO: GPS data processed {"connection_id":124847,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:00:14] local.INFO: Acknowledgment sent {"connection_id":124847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:00:33] local.INFO: TCP Data received {"connection_id":125557,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:00:33] local.INFO: Processing buffer {"connection_id":125557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:00:33] local.INFO: IMEI packet received {"connection_id":125557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":125557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:00:39] local.INFO: TCP Data received {"connection_id":125557,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:00:39] local.INFO: Processing buffer {"connection_id":125557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:00:39] local.INFO: IMEI packet received {"connection_id":125557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":125557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:00:41] local.INFO: TCP Data received {"connection_id":125557,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 20:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 20:00:41] local.INFO: Processing buffer {"connection_id":125557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 20:00:41] local.INFO: Packet analysis {"connection_id":125557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 20:00:41] local.INFO: Extracted packet for processing {"connection_id":125557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 20:00:41] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 20:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559117568001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783434354000,"timestamp_ms":1783434354000,"timestamp_seconds":1783434354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf89d50"} 
[2026-07-07 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-07-07 20:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 20:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559117568001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559117568001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:00:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:00:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559117568001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":125557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:00:41] local.INFO: GPS data processed {"connection_id":125557,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:00:41] local.INFO: Acknowledgment sent {"connection_id":125557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:00:44] local.INFO: TCP Data received {"connection_id":125557,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 20:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 20:00:44] local.INFO: Processing buffer {"connection_id":125557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 20:00:44] local.INFO: Packet analysis {"connection_id":125557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 20:00:44] local.INFO: Extracted packet for processing {"connection_id":125557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 20:00:44] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559117568001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783434354000,"timestamp_ms":1783434354000,"timestamp_seconds":1783434354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf89d50"} 
[2026-07-07 20:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":125557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":125557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":125557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559117568001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559117568001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:00:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:00:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559117568001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":125557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:00:44] local.INFO: GPS data processed {"connection_id":125557,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:00:44] local.INFO: Acknowledgment sent {"connection_id":125557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:00:58] local.INFO: TCP Data received {"connection_id":124745,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:00:58] local.INFO: Processing buffer {"connection_id":124745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:00:58] local.INFO: IMEI packet received {"connection_id":124745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":124745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:01:03] local.INFO: TCP Data received {"connection_id":124745,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:01:03] local.INFO: Processing buffer {"connection_id":124745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:01:03] local.INFO: IMEI packet received {"connection_id":124745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":124745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:01:04] local.INFO: TCP Data received {"connection_id":124745,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 20:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 20:01:04] local.INFO: Processing buffer {"connection_id":124745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 20:01:04] local.INFO: Packet analysis {"connection_id":124745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf9"} 
[2026-07-07 20:01:04] local.INFO: Extracted packet for processing {"connection_id":124745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf9"} 
[2026-07-07 20:01:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559134464001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783434420000,"timestamp_ms":1783434420000,"timestamp_seconds":1783434420,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf99f20"} 
[2026-07-07 20:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 20:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559134464001,"66":25212,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559134464001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:01:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:01:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559134464001,"power":25212,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":124745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:01:04] local.INFO: GPS data processed {"connection_id":124745,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:01:04] local.INFO: Acknowledgment sent {"connection_id":124745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:01:16] local.INFO: TCP Data received {"connection_id":125557,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 20:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 20:01:16] local.INFO: Processing buffer {"connection_id":125557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf89d50012d1962c0071fefb0003c006825..."} 
[2026-07-07 20:01:16] local.INFO: Packet analysis {"connection_id":125557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 20:01:16] local.INFO: Extracted packet for processing {"connection_id":125557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf8"} 
[2026-07-07 20:01:16] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559117568001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783434354000,"timestamp_ms":1783434354000,"timestamp_seconds":1783434354,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf89d50"} 
[2026-07-07 20:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559117568001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559117568001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:01:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:01:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559117568001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":125557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:01:16] local.INFO: GPS data processed {"connection_id":125557,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:01:16] local.INFO: Acknowledgment sent {"connection_id":125557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:01:33] local.INFO: TCP Data received {"connection_id":124747,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:01:33] local.INFO: Processing buffer {"connection_id":124747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:01:33] local.INFO: IMEI packet received {"connection_id":124747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":124747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:01:34] local.INFO: TCP Data received {"connection_id":124747,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:01:34] local.INFO: Processing buffer {"connection_id":124747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:01:34] local.INFO: IMEI packet received {"connection_id":124747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":124747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:01:35] local.INFO: TCP Data received {"connection_id":124745,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 20:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 20:01:35] local.INFO: Processing buffer {"connection_id":124745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 20:01:35] local.INFO: Packet analysis {"connection_id":124745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf9"} 
[2026-07-07 20:01:35] local.INFO: Extracted packet for processing {"connection_id":124745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf9"} 
[2026-07-07 20:01:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559134464001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783434420000,"timestamp_ms":1783434420000,"timestamp_seconds":1783434420,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf99f20"} 
[2026-07-07 20:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 20:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559134464001,"66":25212,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559134464001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:01:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:01:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559134464001,"power":25212,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":124745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:01:35] local.INFO: GPS data processed {"connection_id":124745,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:01:35] local.INFO: Acknowledgment sent {"connection_id":124745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:01:39] local.INFO: TCP Data received {"connection_id":124747,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:01:39] local.INFO: Processing buffer {"connection_id":124747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:01:39] local.INFO: IMEI packet received {"connection_id":124747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":124747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:01:40] local.INFO: TCP Data received {"connection_id":124747,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:01:40] local.INFO: Processing buffer {"connection_id":124747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:01:40] local.INFO: Packet analysis {"connection_id":124747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:01:40] local.INFO: Extracted packet for processing {"connection_id":124747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:01:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559194624001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783434655000,"timestamp_ms":1783434655000,"timestamp_seconds":1783434655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cfd3518"} 
[2026-07-07 20:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559194624001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559194624001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:01:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:01:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559194624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":124747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:01:40] local.INFO: GPS data processed {"connection_id":124747,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:01:40] local.INFO: Acknowledgment sent {"connection_id":124747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:01:58] local.INFO: TCP Data received {"connection_id":126828,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:01:58] local.INFO: Processing buffer {"connection_id":126828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:01:58] local.INFO: IMEI packet received {"connection_id":126828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":126828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:02:03] local.INFO: TCP Data received {"connection_id":126828,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:02:03] local.INFO: Processing buffer {"connection_id":126828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:02:03] local.INFO: IMEI packet received {"connection_id":126828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":126828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:02:04] local.INFO: TCP Data received {"connection_id":126828,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 20:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 20:02:05] local.INFO: Processing buffer {"connection_id":126828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 20:02:05] local.INFO: Packet analysis {"connection_id":126828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf9"} 
[2026-07-07 20:02:05] local.INFO: Extracted packet for processing {"connection_id":126828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf9"} 
[2026-07-07 20:02:05] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559134464001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783434420000,"timestamp_ms":1783434420000,"timestamp_seconds":1783434420,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf99f20"} 
[2026-07-07 20:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 20:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559134464001,"66":25212,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559134464001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:02:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:02:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559134464001,"power":25212,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":126828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:02:05] local.INFO: GPS data processed {"connection_id":126828,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:02:05] local.INFO: Acknowledgment sent {"connection_id":126828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:02:12] local.INFO: TCP Data received {"connection_id":124747,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:02:12] local.INFO: Processing buffer {"connection_id":124747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:02:12] local.INFO: Packet analysis {"connection_id":124747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:02:12] local.INFO: Extracted packet for processing {"connection_id":124747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:02:12] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559194624001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783434655000,"timestamp_ms":1783434655000,"timestamp_seconds":1783434655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cfd3518"} 
[2026-07-07 20:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559194624001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559194624001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:02:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:02:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559194624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":124747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:02:12] local.INFO: GPS data processed {"connection_id":124747,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:02:12] local.INFO: Acknowledgment sent {"connection_id":124747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:02:36] local.INFO: TCP Data received {"connection_id":126828,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 20:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 20:02:36] local.INFO: Processing buffer {"connection_id":126828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cf99f20012dde4440050df278000c01412a..."} 
[2026-07-07 20:02:36] local.INFO: Packet analysis {"connection_id":126828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cf9"} 
[2026-07-07 20:02:36] local.INFO: Extracted packet for processing {"connection_id":126828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cf9"} 
[2026-07-07 20:02:36] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559134464001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783434420000,"timestamp_ms":1783434420000,"timestamp_seconds":1783434420,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cf99f20"} 
[2026-07-07 20:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 20:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559134464001,"66":25212,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559134464001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:02:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:02:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559134464001,"power":25212,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":126828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:02:36] local.INFO: GPS data processed {"connection_id":126828,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:02:36] local.INFO: Acknowledgment sent {"connection_id":126828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:02:37] local.INFO: TCP Data received {"connection_id":125558,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:02:37] local.INFO: Processing buffer {"connection_id":125558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:02:37] local.INFO: IMEI packet received {"connection_id":125558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":125558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:02:38] local.INFO: TCP Data received {"connection_id":125558,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:02:38] local.INFO: Processing buffer {"connection_id":125558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:02:38] local.INFO: IMEI packet received {"connection_id":125558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":125558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:02:40] local.INFO: TCP Data received {"connection_id":125558,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:02:40] local.INFO: Processing buffer {"connection_id":125558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:02:40] local.INFO: Packet analysis {"connection_id":125558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:02:40] local.INFO: Extracted packet for processing {"connection_id":125558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:02:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559194624001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783434655000,"timestamp_ms":1783434655000,"timestamp_seconds":1783434655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cfd3518"} 
[2026-07-07 20:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559194624001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559194624001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:02:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:02:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559194624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":125558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:02:40] local.INFO: GPS data processed {"connection_id":125558,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:02:40] local.INFO: Acknowledgment sent {"connection_id":125558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:02:44] local.INFO: TCP Data received {"connection_id":125558,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:02:44] local.INFO: Processing buffer {"connection_id":125558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:02:44] local.INFO: Packet analysis {"connection_id":125558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:02:44] local.INFO: Extracted packet for processing {"connection_id":125558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:02:44] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559194624001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783434655000,"timestamp_ms":1783434655000,"timestamp_seconds":1783434655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cfd3518"} 
[2026-07-07 20:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":125558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":125558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":125558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559194624001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559194624001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:02:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:02:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559194624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":125558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:02:44] local.INFO: GPS data processed {"connection_id":125558,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:02:44] local.INFO: Acknowledgment sent {"connection_id":125558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:02:58] local.INFO: TCP Data received {"connection_id":124850,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:02:58] local.INFO: Processing buffer {"connection_id":124850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:02:58] local.INFO: IMEI packet received {"connection_id":124850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":124850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:03:03] local.INFO: TCP Data received {"connection_id":124850,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:03:03] local.INFO: Processing buffer {"connection_id":124850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:03:03] local.INFO: IMEI packet received {"connection_id":124850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":124850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:03:04] local.INFO: TCP Data received {"connection_id":124850,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:03:04] local.INFO: Processing buffer {"connection_id":124850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:03:04] local.INFO: Packet analysis {"connection_id":124850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cfe"} 
[2026-07-07 20:03:04] local.INFO: Extracted packet for processing {"connection_id":124850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cfe"} 
[2026-07-07 20:03:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":39,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559211520001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783434721000,"timestamp_ms":1783434721000,"timestamp_seconds":1783434721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cfe36e8"} 
[2026-07-07 20:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 20:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559211520001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559211520001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:03:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:03:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559211520001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":124850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:03:04] local.INFO: GPS data processed {"connection_id":124850,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:03:04] local.INFO: Acknowledgment sent {"connection_id":124850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:03:16] local.INFO: TCP Data received {"connection_id":125558,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:03:16] local.INFO: Processing buffer {"connection_id":125558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:03:16] local.INFO: Packet analysis {"connection_id":125558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:03:16] local.INFO: Extracted packet for processing {"connection_id":125558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:03:16] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559194624001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783434655000,"timestamp_ms":1783434655000,"timestamp_seconds":1783434655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cfd3518"} 
[2026-07-07 20:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559194624001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559194624001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:03:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:03:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559194624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":125558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:03:16] local.INFO: GPS data processed {"connection_id":125558,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:03:16] local.INFO: Acknowledgment sent {"connection_id":125558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:03:33] local.INFO: TCP Data received {"connection_id":124852,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:03:33] local.INFO: Processing buffer {"connection_id":124852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:03:33] local.INFO: IMEI packet received {"connection_id":124852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":124852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:03:35] local.INFO: TCP Data received {"connection_id":124850,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:03:35] local.INFO: Processing buffer {"connection_id":124850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:03:35] local.INFO: Packet analysis {"connection_id":124850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cfe"} 
[2026-07-07 20:03:35] local.INFO: Extracted packet for processing {"connection_id":124850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cfe"} 
[2026-07-07 20:03:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":39,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559211520001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783434721000,"timestamp_ms":1783434721000,"timestamp_seconds":1783434721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cfe36e8"} 
[2026-07-07 20:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 20:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559211520001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559211520001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:03:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:03:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559211520001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":124850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:03:35] local.INFO: GPS data processed {"connection_id":124850,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:03:35] local.INFO: Acknowledgment sent {"connection_id":124850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:03:39] local.INFO: TCP Data received {"connection_id":124852,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:03:39] local.INFO: Processing buffer {"connection_id":124852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:03:39] local.INFO: IMEI packet received {"connection_id":124852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":124852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:03:40] local.INFO: TCP Data received {"connection_id":124852,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:03:40] local.INFO: Processing buffer {"connection_id":124852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:03:40] local.INFO: Packet analysis {"connection_id":124852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:03:40] local.INFO: Extracted packet for processing {"connection_id":124852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:03:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559194624001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783434655000,"timestamp_ms":1783434655000,"timestamp_seconds":1783434655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cfd3518"} 
[2026-07-07 20:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559194624001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559194624001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:03:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:03:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559194624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":124852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:03:40] local.INFO: GPS data processed {"connection_id":124852,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:03:40] local.INFO: Acknowledgment sent {"connection_id":124852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:04:03] local.INFO: TCP Data received {"connection_id":126829,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:04:03] local.INFO: Processing buffer {"connection_id":126829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:04:03] local.INFO: IMEI packet received {"connection_id":126829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":126829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:04:08] local.INFO: TCP Data received {"connection_id":126829,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:04:08] local.INFO: Processing buffer {"connection_id":126829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:04:08] local.INFO: IMEI packet received {"connection_id":126829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":126829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:04:09] local.INFO: TCP Data received {"connection_id":126829,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:04:09] local.INFO: Processing buffer {"connection_id":126829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:04:09] local.INFO: Packet analysis {"connection_id":126829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cfe"} 
[2026-07-07 20:04:09] local.INFO: Extracted packet for processing {"connection_id":126829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cfe"} 
[2026-07-07 20:04:09] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":39,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559211520001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783434721000,"timestamp_ms":1783434721000,"timestamp_seconds":1783434721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cfe36e8"} 
[2026-07-07 20:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 20:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559211520001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559211520001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:04:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:04:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559211520001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":126829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:04:09] local.INFO: GPS data processed {"connection_id":126829,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:04:09] local.INFO: Acknowledgment sent {"connection_id":126829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:04:13] local.INFO: TCP Data received {"connection_id":124852,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:04:13] local.INFO: Processing buffer {"connection_id":124852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:04:13] local.INFO: Packet analysis {"connection_id":124852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:04:13] local.INFO: Extracted packet for processing {"connection_id":124852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:04:13] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559194624001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783434655000,"timestamp_ms":1783434655000,"timestamp_seconds":1783434655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cfd3518"} 
[2026-07-07 20:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559194624001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559194624001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:04:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:04:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559194624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":124852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:04:13] local.INFO: GPS data processed {"connection_id":124852,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:04:13] local.INFO: Acknowledgment sent {"connection_id":124852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:04:13] local.INFO: TCP Data received {"connection_id":126829,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:04:13] local.INFO: Processing buffer {"connection_id":126829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:04:13] local.INFO: Packet analysis {"connection_id":126829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cfe"} 
[2026-07-07 20:04:13] local.INFO: Extracted packet for processing {"connection_id":126829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cfe"} 
[2026-07-07 20:04:13] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":39,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559211520001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783434721000,"timestamp_ms":1783434721000,"timestamp_seconds":1783434721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cfe36e8"} 
[2026-07-07 20:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:04: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-07-07 20: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 20:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559211520001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559211520001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:04:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:04:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559211520001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":126829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:04:13] local.INFO: GPS data processed {"connection_id":126829,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:04:13] local.INFO: Acknowledgment sent {"connection_id":126829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:04:33] local.INFO: TCP Data received {"connection_id":125559,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:04:33] local.INFO: Processing buffer {"connection_id":125559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:04:33] local.INFO: IMEI packet received {"connection_id":125559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":125559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:04:39] local.INFO: TCP Data received {"connection_id":125559,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:04:39] local.INFO: Processing buffer {"connection_id":125559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:04:39] local.INFO: IMEI packet received {"connection_id":125559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":125559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:04:40] local.INFO: TCP Data received {"connection_id":125559,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:04:40] local.INFO: Processing buffer {"connection_id":125559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:04:40] local.INFO: Packet analysis {"connection_id":125559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:04:40] local.INFO: Extracted packet for processing {"connection_id":125559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:04:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559194624001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783434655000,"timestamp_ms":1783434655000,"timestamp_seconds":1783434655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cfd3518"} 
[2026-07-07 20:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559194624001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559194624001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:04:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:04:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559194624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":125559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:04:40] local.INFO: GPS data processed {"connection_id":125559,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:04:40] local.INFO: Acknowledgment sent {"connection_id":125559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:04:58] local.INFO: TCP Data received {"connection_id":124749,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:04:58] local.INFO: Processing buffer {"connection_id":124749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:04:58] local.INFO: IMEI packet received {"connection_id":124749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":124749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:05:03] local.INFO: TCP Data received {"connection_id":124749,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:05:03] local.INFO: Processing buffer {"connection_id":124749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:05:03] local.INFO: IMEI packet received {"connection_id":124749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":124749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:05:11] local.INFO: TCP Data received {"connection_id":125559,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:05:11] local.INFO: Processing buffer {"connection_id":125559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:05:11] local.INFO: Packet analysis {"connection_id":125559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:05:11] local.INFO: Extracted packet for processing {"connection_id":125559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:05:11] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 20:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559194624001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783434655000,"timestamp_ms":1783434655000,"timestamp_seconds":1783434655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cfd3518"} 
[2026-07-07 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-07-07 20:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 20:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559194624001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559194624001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:05:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:05:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559194624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":125559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:05:12] local.INFO: GPS data processed {"connection_id":125559,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:05:12] local.INFO: Acknowledgment sent {"connection_id":125559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:05:33] local.INFO: TCP Data received {"connection_id":124853,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:05:33] local.INFO: Processing buffer {"connection_id":124853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:05:33] local.INFO: IMEI packet received {"connection_id":124853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":124853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:05:40] local.INFO: TCP Data received {"connection_id":124750,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:05:40] local.INFO: Processing buffer {"connection_id":124750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:05:40] local.INFO: IMEI packet received {"connection_id":124750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":124750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:05:44] local.INFO: TCP Data received {"connection_id":124750,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:05:44] local.INFO: Processing buffer {"connection_id":124750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:05:44] local.INFO: IMEI packet received {"connection_id":124750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":124750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:05:47] local.INFO: TCP Data received {"connection_id":124750,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:05:47] local.INFO: Processing buffer {"connection_id":124750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:05:47] local.INFO: Packet analysis {"connection_id":124750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:05:47] local.INFO: Extracted packet for processing {"connection_id":124750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:05:47] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559194624001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783434655000,"timestamp_ms":1783434655000,"timestamp_seconds":1783434655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cfd3518"} 
[2026-07-07 20:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:05: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-07-07 20:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559194624001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559194624001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:05:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:05:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559194624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":124750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:05:47] local.INFO: GPS data processed {"connection_id":124750,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:05:47] local.INFO: Acknowledgment sent {"connection_id":124750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:05:58] local.INFO: TCP Data received {"connection_id":124854,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:05:58] local.INFO: Processing buffer {"connection_id":124854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:05:58] local.INFO: IMEI packet received {"connection_id":124854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":124854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:05:58] local.INFO: TCP Data received {"connection_id":125560,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:05:58] local.INFO: Processing buffer {"connection_id":125560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:05:58] local.INFO: IMEI packet received {"connection_id":125560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":125560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:06:03] local.INFO: TCP Data received {"connection_id":124854,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:06:03] local.INFO: Processing buffer {"connection_id":124854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:06:03] local.INFO: IMEI packet received {"connection_id":124854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":124854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:06:04] local.INFO: TCP Data received {"connection_id":124854,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:06:04] local.INFO: Processing buffer {"connection_id":124854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:06:04] local.INFO: Packet analysis {"connection_id":124854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cfe"} 
[2026-07-07 20:06:04] local.INFO: Extracted packet for processing {"connection_id":124854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cfe"} 
[2026-07-07 20:06:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":39,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559211520001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783434721000,"timestamp_ms":1783434721000,"timestamp_seconds":1783434721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cfe36e8"} 
[2026-07-07 20:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 20:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559211520001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559211520001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:06:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:06:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559211520001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":124854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:06:04] local.INFO: GPS data processed {"connection_id":124854,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:06:04] local.INFO: Acknowledgment sent {"connection_id":124854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:06:19] local.INFO: TCP Data received {"connection_id":124750,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:06:19] local.INFO: Processing buffer {"connection_id":124750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cfd3518012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:06:19] local.INFO: Packet analysis {"connection_id":124750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:06:19] local.INFO: Extracted packet for processing {"connection_id":124750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cfd"} 
[2026-07-07 20:06:19] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559194624001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:06: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-07-07 20:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783434655000,"timestamp_ms":1783434655000,"timestamp_seconds":1783434655,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cfd3518"} 
[2026-07-07 20:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:06: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-07-07 20:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559194624001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559194624001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:06:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:06:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559194624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":124750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:06:19] local.INFO: GPS data processed {"connection_id":124750,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:06:19] local.INFO: Acknowledgment sent {"connection_id":124750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:06:33] local.INFO: TCP Data received {"connection_id":126830,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:06:33] local.INFO: Processing buffer {"connection_id":126830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:06:33] local.INFO: IMEI packet received {"connection_id":126830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":126830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:06:34] local.INFO: TCP Data received {"connection_id":126830,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:06:34] local.INFO: Processing buffer {"connection_id":126830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:06:34] local.INFO: IMEI packet received {"connection_id":126830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":126830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:06:35] local.INFO: TCP Data received {"connection_id":124854,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:06:35] local.INFO: Processing buffer {"connection_id":124854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:06:35] local.INFO: Packet analysis {"connection_id":124854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cfe"} 
[2026-07-07 20:06:35] local.INFO: Extracted packet for processing {"connection_id":124854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cfe"} 
[2026-07-07 20:06:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":39,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559211520001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783434721000,"timestamp_ms":1783434721000,"timestamp_seconds":1783434721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cfe36e8"} 
[2026-07-07 20:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 20:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559211520001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559211520001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:06:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:06:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559211520001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":124854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:06:35] local.INFO: GPS data processed {"connection_id":124854,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:06:35] local.INFO: Acknowledgment sent {"connection_id":124854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:06:39] local.INFO: TCP Data received {"connection_id":126830,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:06:39] local.INFO: Processing buffer {"connection_id":126830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:06:39] local.INFO: IMEI packet received {"connection_id":126830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":126830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:06:40] local.INFO: TCP Data received {"connection_id":126830,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:06:40] local.INFO: Processing buffer {"connection_id":126830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:06:40] local.INFO: Packet analysis {"connection_id":126830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d01"} 
[2026-07-07 20:06:40] local.INFO: Extracted packet for processing {"connection_id":126830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d01"} 
[2026-07-07 20:06:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559271680001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783434956000,"timestamp_ms":1783434956000,"timestamp_seconds":1783434956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d01cce0"} 
[2026-07-07 20:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559271680001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559271680001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:06:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:06:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559271680001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":126830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:06:40] local.INFO: GPS data processed {"connection_id":126830,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:06:40] local.INFO: Acknowledgment sent {"connection_id":126830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:06:58] local.INFO: TCP Data received {"connection_id":124855,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:06:58] local.INFO: Processing buffer {"connection_id":124855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:06:58] local.INFO: IMEI packet received {"connection_id":124855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":124855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:07:03] local.INFO: TCP Data received {"connection_id":124855,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:07:03] local.INFO: Processing buffer {"connection_id":124855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:07:03] local.INFO: IMEI packet received {"connection_id":124855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":124855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:07:04] local.INFO: TCP Data received {"connection_id":124855,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:07:04] local.INFO: Processing buffer {"connection_id":124855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:07:04] local.INFO: Packet analysis {"connection_id":124855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cfe"} 
[2026-07-07 20:07:04] local.INFO: Extracted packet for processing {"connection_id":124855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cfe"} 
[2026-07-07 20:07:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":39,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559211520001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783434721000,"timestamp_ms":1783434721000,"timestamp_seconds":1783434721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cfe36e8"} 
[2026-07-07 20:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 20:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559211520001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559211520001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:07:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:07:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559211520001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":124855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:07:04] local.INFO: GPS data processed {"connection_id":124855,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:07:04] local.INFO: Acknowledgment sent {"connection_id":124855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:07:09] local.INFO: TCP Data received {"connection_id":124749,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:07:09] local.INFO: Processing buffer {"connection_id":124749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:07:09] local.INFO: Packet analysis {"connection_id":124749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cfe"} 
[2026-07-07 20:07:09] local.INFO: Extracted packet for processing {"connection_id":124749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cfe"} 
[2026-07-07 20:07:09] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":39,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 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-07-07 20:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559211520001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783434721000,"timestamp_ms":1783434721000,"timestamp_seconds":1783434721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cfe36e8"} 
[2026-07-07 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-07-07 20:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 20:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 20:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559211520001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559211520001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:07:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:07:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559211520001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":124749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:07:09] local.INFO: GPS data processed {"connection_id":124749,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:07:09] local.INFO: Acknowledgment sent {"connection_id":124749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:07:12] local.INFO: TCP Data received {"connection_id":126830,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:07:12] local.INFO: Processing buffer {"connection_id":126830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:07:12] local.INFO: Packet analysis {"connection_id":126830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d01"} 
[2026-07-07 20:07:12] local.INFO: Extracted packet for processing {"connection_id":126830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d01"} 
[2026-07-07 20:07:12] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 20:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559271680001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783434956000,"timestamp_ms":1783434956000,"timestamp_seconds":1783434956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d01cce0"} 
[2026-07-07 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-07-07 20:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 20:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559271680001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559271680001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:07:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:07:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559271680001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":126830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:07:12] local.INFO: GPS data processed {"connection_id":126830,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:07:12] local.INFO: Acknowledgment sent {"connection_id":126830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:07:33] local.INFO: TCP Data received {"connection_id":124752,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:07:33] local.INFO: Processing buffer {"connection_id":124752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:07:33] local.INFO: IMEI packet received {"connection_id":124752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":124752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:07:40] local.INFO: TCP Data received {"connection_id":124752,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:07:40] local.INFO: Processing buffer {"connection_id":124752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:07:40] local.INFO: IMEI packet received {"connection_id":124752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":124752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:07:41] local.INFO: TCP Data received {"connection_id":124855,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:07:41] local.INFO: Processing buffer {"connection_id":124855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3cfe36e8012dde4440050df278000c014127..."} 
[2026-07-07 20:07:41] local.INFO: Packet analysis {"connection_id":124855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3cfe"} 
[2026-07-07 20:07:41] local.INFO: Extracted packet for processing {"connection_id":124855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3cfe"} 
[2026-07-07 20:07:41] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":39,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559211520001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783434721000,"timestamp_ms":1783434721000,"timestamp_seconds":1783434721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3cfe36e8"} 
[2026-07-07 20:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 20:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559211520001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559211520001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:07:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:07:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559211520001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":124855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:07:41] local.INFO: GPS data processed {"connection_id":124855,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:07:41] local.INFO: Acknowledgment sent {"connection_id":124855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:07:41] local.INFO: TCP Data received {"connection_id":124752,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:07:41] local.INFO: Processing buffer {"connection_id":124752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:07:41] local.INFO: Packet analysis {"connection_id":124752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d01"} 
[2026-07-07 20:07:41] local.INFO: Extracted packet for processing {"connection_id":124752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d01"} 
[2026-07-07 20:07:41] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559271680001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783434956000,"timestamp_ms":1783434956000,"timestamp_seconds":1783434956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d01cce0"} 
[2026-07-07 20:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559271680001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559271680001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:07:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:07:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559271680001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":124752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:07:41] local.INFO: GPS data processed {"connection_id":124752,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:07:41] local.INFO: Acknowledgment sent {"connection_id":124752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:07:58] local.INFO: TCP Data received {"connection_id":125561,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:07:58] local.INFO: Processing buffer {"connection_id":125561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:07:58] local.INFO: IMEI packet received {"connection_id":125561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":125561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:08:03] local.INFO: TCP Data received {"connection_id":125561,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:08:03] local.INFO: Processing buffer {"connection_id":125561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:08:03] local.INFO: IMEI packet received {"connection_id":125561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":125561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:08:04] local.INFO: TCP Data received {"connection_id":125561,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:08:04] local.INFO: Processing buffer {"connection_id":125561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:08:04] local.INFO: Packet analysis {"connection_id":125561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d02"} 
[2026-07-07 20:08:04] local.INFO: Extracted packet for processing {"connection_id":125561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d02"} 
[2026-07-07 20:08:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559288576001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783435022000,"timestamp_ms":1783435022000,"timestamp_seconds":1783435022,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d02ceb0"} 
[2026-07-07 20:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 20:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559288576001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559288576001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:08:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:08:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559288576001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":125561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:08:04] local.INFO: GPS data processed {"connection_id":125561,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:08:04] local.INFO: Acknowledgment sent {"connection_id":125561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:08:13] local.INFO: TCP Data received {"connection_id":124752,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:08:13] local.INFO: Processing buffer {"connection_id":124752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:08:13] local.INFO: Packet analysis {"connection_id":124752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d01"} 
[2026-07-07 20:08:13] local.INFO: Extracted packet for processing {"connection_id":124752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d01"} 
[2026-07-07 20:08:13] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559271680001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783434956000,"timestamp_ms":1783434956000,"timestamp_seconds":1783434956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d01cce0"} 
[2026-07-07 20:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:08: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-07-07 20:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559271680001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559271680001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:08:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:08:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559271680001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":124752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:08:13] local.INFO: GPS data processed {"connection_id":124752,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:08:13] local.INFO: Acknowledgment sent {"connection_id":124752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:08:35] local.INFO: TCP Data received {"connection_id":125561,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:08:35] local.INFO: Processing buffer {"connection_id":125561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:08:35] local.INFO: Packet analysis {"connection_id":125561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d02"} 
[2026-07-07 20:08:35] local.INFO: Extracted packet for processing {"connection_id":125561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d02"} 
[2026-07-07 20:08:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559288576001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783435022000,"timestamp_ms":1783435022000,"timestamp_seconds":1783435022,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d02ceb0"} 
[2026-07-07 20:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 20:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559288576001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559288576001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:08:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:08:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559288576001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":125561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:08:35] local.INFO: GPS data processed {"connection_id":125561,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:08:35] local.INFO: Acknowledgment sent {"connection_id":125561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:08:39] local.INFO: TCP Data received {"connection_id":125562,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:08:39] local.INFO: Processing buffer {"connection_id":125562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:08:39] local.INFO: IMEI packet received {"connection_id":125562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":125562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:08:44] local.INFO: TCP Data received {"connection_id":125562,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:08:44] local.INFO: Processing buffer {"connection_id":125562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:08:44] local.INFO: IMEI packet received {"connection_id":125562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":125562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:08:45] local.INFO: TCP Data received {"connection_id":125562,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:08:45] local.INFO: Processing buffer {"connection_id":125562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:08:45] local.INFO: Packet analysis {"connection_id":125562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d01"} 
[2026-07-07 20:08:45] local.INFO: Extracted packet for processing {"connection_id":125562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d01"} 
[2026-07-07 20:08:45] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559271680001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:08: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-07-07 20:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783434956000,"timestamp_ms":1783434956000,"timestamp_seconds":1783434956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d01cce0"} 
[2026-07-07 20:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":125562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":125562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":125562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559271680001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559271680001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:08:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:08:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559271680001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":125562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:08:45] local.INFO: GPS data processed {"connection_id":125562,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:08:45] local.INFO: Acknowledgment sent {"connection_id":125562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:09:03] local.INFO: TCP Data received {"connection_id":124754,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:09:03] local.INFO: Processing buffer {"connection_id":124754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:09:03] local.INFO: IMEI packet received {"connection_id":124754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":124754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:09:08] local.INFO: TCP Data received {"connection_id":124754,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:09:08] local.INFO: Processing buffer {"connection_id":124754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:09:08] local.INFO: IMEI packet received {"connection_id":124754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":124754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:09:09] local.INFO: TCP Data received {"connection_id":124754,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:09:09] local.INFO: Processing buffer {"connection_id":124754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:09:09] local.INFO: Packet analysis {"connection_id":124754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d02"} 
[2026-07-07 20:09:09] local.INFO: Extracted packet for processing {"connection_id":124754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d02"} 
[2026-07-07 20:09:09] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559288576001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783435022000,"timestamp_ms":1783435022000,"timestamp_seconds":1783435022,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d02ceb0"} 
[2026-07-07 20:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 20:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559288576001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559288576001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:09:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:09:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559288576001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":124754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:09:09] local.INFO: GPS data processed {"connection_id":124754,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:09:09] local.INFO: Acknowledgment sent {"connection_id":124754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:09:13] local.INFO: TCP Data received {"connection_id":124754,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:09:13] local.INFO: Processing buffer {"connection_id":124754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:09:13] local.INFO: Packet analysis {"connection_id":124754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d02"} 
[2026-07-07 20:09:13] local.INFO: Extracted packet for processing {"connection_id":124754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d02"} 
[2026-07-07 20:09:13] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559288576001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783435022000,"timestamp_ms":1783435022000,"timestamp_seconds":1783435022,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d02ceb0"} 
[2026-07-07 20:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:09: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-07-07 20:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 20:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559288576001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559288576001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:09:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:09:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559288576001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":124754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:09:13] local.INFO: GPS data processed {"connection_id":124754,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:09:13] local.INFO: Acknowledgment sent {"connection_id":124754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:09:17] local.INFO: TCP Data received {"connection_id":125562,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:09:17] local.INFO: Processing buffer {"connection_id":125562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:09:17] local.INFO: Packet analysis {"connection_id":125562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d01"} 
[2026-07-07 20:09:17] local.INFO: Extracted packet for processing {"connection_id":125562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d01"} 
[2026-07-07 20:09:17] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559271680001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783434956000,"timestamp_ms":1783434956000,"timestamp_seconds":1783434956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d01cce0"} 
[2026-07-07 20:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:09: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-07-07 20:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":125562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":125562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":125562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559271680001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559271680001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:09:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:09:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559271680001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":125562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:09:17] local.INFO: GPS data processed {"connection_id":125562,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:09:17] local.INFO: Acknowledgment sent {"connection_id":125562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:09:33] local.INFO: TCP Data received {"connection_id":124857,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:09:33] local.INFO: Processing buffer {"connection_id":124857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:09:33] local.INFO: IMEI packet received {"connection_id":124857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":124857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:09:39] local.INFO: TCP Data received {"connection_id":124857,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:09:39] local.INFO: Processing buffer {"connection_id":124857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:09:39] local.INFO: IMEI packet received {"connection_id":124857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":124857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:09:40] local.INFO: TCP Data received {"connection_id":124857,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:09:40] local.INFO: Processing buffer {"connection_id":124857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:09:40] local.INFO: Packet analysis {"connection_id":124857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d01"} 
[2026-07-07 20:09:40] local.INFO: Extracted packet for processing {"connection_id":124857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d01"} 
[2026-07-07 20:09:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559271680001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783434956000,"timestamp_ms":1783434956000,"timestamp_seconds":1783434956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d01cce0"} 
[2026-07-07 20:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559271680001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559271680001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:09:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:09:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559271680001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":124857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:09:40] local.INFO: GPS data processed {"connection_id":124857,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:09:40] local.INFO: Acknowledgment sent {"connection_id":124857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:09:58] local.INFO: TCP Data received {"connection_id":125563,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:09:58] local.INFO: Processing buffer {"connection_id":125563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:09:58] local.INFO: IMEI packet received {"connection_id":125563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":125563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:10:03] local.INFO: TCP Data received {"connection_id":125563,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:10:03] local.INFO: Processing buffer {"connection_id":125563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:10:03] local.INFO: IMEI packet received {"connection_id":125563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":125563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:10:04] local.INFO: TCP Data received {"connection_id":125563,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:10:04] local.INFO: Processing buffer {"connection_id":125563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:10:04] local.INFO: Packet analysis {"connection_id":125563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d02"} 
[2026-07-07 20:10:04] local.INFO: Extracted packet for processing {"connection_id":125563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d02"} 
[2026-07-07 20:10:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559288576001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783435022000,"timestamp_ms":1783435022000,"timestamp_seconds":1783435022,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d02ceb0"} 
[2026-07-07 20:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 20:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559288576001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559288576001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:10:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:10:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559288576001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":125563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:10:04] local.INFO: GPS data processed {"connection_id":125563,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:10:04] local.INFO: Acknowledgment sent {"connection_id":125563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:10:12] local.INFO: TCP Data received {"connection_id":124857,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:10:12] local.INFO: Processing buffer {"connection_id":124857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:10:12] local.INFO: Packet analysis {"connection_id":124857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d01"} 
[2026-07-07 20:10:12] local.INFO: Extracted packet for processing {"connection_id":124857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d01"} 
[2026-07-07 20:10:12] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559271680001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783434956000,"timestamp_ms":1783434956000,"timestamp_seconds":1783434956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d01cce0"} 
[2026-07-07 20:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559271680001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559271680001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:10:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:10:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559271680001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":124857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:10:12] local.INFO: GPS data processed {"connection_id":124857,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:10:12] local.INFO: Acknowledgment sent {"connection_id":124857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:10:33] local.INFO: TCP Data received {"connection_id":124755,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:10:33] local.INFO: Processing buffer {"connection_id":124755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:10:33] local.INFO: IMEI packet received {"connection_id":124755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":124755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:10:35] local.INFO: TCP Data received {"connection_id":125563,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:10:35] local.INFO: Processing buffer {"connection_id":125563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:10:35] local.INFO: Packet analysis {"connection_id":125563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d02"} 
[2026-07-07 20:10:35] local.INFO: Extracted packet for processing {"connection_id":125563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d02"} 
[2026-07-07 20:10:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559288576001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783435022000,"timestamp_ms":1783435022000,"timestamp_seconds":1783435022,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d02ceb0"} 
[2026-07-07 20:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 20:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559288576001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559288576001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:10:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:10:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559288576001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":125563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:10:35] local.INFO: GPS data processed {"connection_id":125563,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:10:35] local.INFO: Acknowledgment sent {"connection_id":125563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:10:39] local.INFO: TCP Data received {"connection_id":124755,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:10:39] local.INFO: Processing buffer {"connection_id":124755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:10:39] local.INFO: IMEI packet received {"connection_id":124755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":124755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:10:40] local.INFO: TCP Data received {"connection_id":124755,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:10:40] local.INFO: Processing buffer {"connection_id":124755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:10:40] local.INFO: Packet analysis {"connection_id":124755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d01"} 
[2026-07-07 20:10:40] local.INFO: Extracted packet for processing {"connection_id":124755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d01"} 
[2026-07-07 20:10:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559271680001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783434956000,"timestamp_ms":1783434956000,"timestamp_seconds":1783434956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d01cce0"} 
[2026-07-07 20:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559271680001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559271680001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:10:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:10:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559271680001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":124755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:10:40] local.INFO: GPS data processed {"connection_id":124755,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:10:40] local.INFO: Acknowledgment sent {"connection_id":124755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:10:58] local.INFO: TCP Data received {"connection_id":126831,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:10:58] local.INFO: Processing buffer {"connection_id":126831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:10:58] local.INFO: IMEI packet received {"connection_id":126831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":126831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:11:03] local.INFO: TCP Data received {"connection_id":126831,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:11:03] local.INFO: Processing buffer {"connection_id":126831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:11:03] local.INFO: IMEI packet received {"connection_id":126831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":126831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:11:04] local.INFO: TCP Data received {"connection_id":126831,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:11:04] local.INFO: Processing buffer {"connection_id":126831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:11:04] local.INFO: Packet analysis {"connection_id":126831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d02"} 
[2026-07-07 20:11:04] local.INFO: Extracted packet for processing {"connection_id":126831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d02"} 
[2026-07-07 20:11:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559288576001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783435022000,"timestamp_ms":1783435022000,"timestamp_seconds":1783435022,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d02ceb0"} 
[2026-07-07 20:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 20:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559288576001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559288576001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:11:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:11:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559288576001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":126831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:11:04] local.INFO: GPS data processed {"connection_id":126831,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:11:04] local.INFO: Acknowledgment sent {"connection_id":126831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:11:12] local.INFO: TCP Data received {"connection_id":124755,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:11:12] local.INFO: Processing buffer {"connection_id":124755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d01cce0012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:11:12] local.INFO: Packet analysis {"connection_id":124755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d01"} 
[2026-07-07 20:11:12] local.INFO: Extracted packet for processing {"connection_id":124755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d01"} 
[2026-07-07 20:11:12] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559271680001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783434956000,"timestamp_ms":1783434956000,"timestamp_seconds":1783434956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d01cce0"} 
[2026-07-07 20:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559271680001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559271680001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:11:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:11:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559271680001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":124755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:11:12] local.INFO: GPS data processed {"connection_id":124755,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:11:12] local.INFO: Acknowledgment sent {"connection_id":124755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:11:23] local.INFO: TCP Data received {"connection_id":125565,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:11:23] local.INFO: Processing buffer {"connection_id":125565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:11:23] local.INFO: IMEI packet received {"connection_id":125565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":125565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:11:33] local.INFO: TCP Data received {"connection_id":125566,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:11:33] local.INFO: Processing buffer {"connection_id":125566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:11:33] local.INFO: IMEI packet received {"connection_id":125566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":125566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:11:35] local.INFO: TCP Data received {"connection_id":126831,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:11:35] local.INFO: Processing buffer {"connection_id":126831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:11:35] local.INFO: Packet analysis {"connection_id":126831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d02"} 
[2026-07-07 20:11:35] local.INFO: Extracted packet for processing {"connection_id":126831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d02"} 
[2026-07-07 20:11:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559288576001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783435022000,"timestamp_ms":1783435022000,"timestamp_seconds":1783435022,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d02ceb0"} 
[2026-07-07 20:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 20:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559288576001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559288576001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:11:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:11:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559288576001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":126831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:11:35] local.INFO: GPS data processed {"connection_id":126831,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:11:35] local.INFO: Acknowledgment sent {"connection_id":126831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:11:35] local.INFO: TCP Data received {"connection_id":125566,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:11:35] local.INFO: Processing buffer {"connection_id":125566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:11:35] local.INFO: IMEI packet received {"connection_id":125566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":125566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:11:39] local.INFO: TCP Data received {"connection_id":125566,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:11:39] local.INFO: Processing buffer {"connection_id":125566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:11:39] local.INFO: IMEI packet received {"connection_id":125566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":125566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:11:40] local.INFO: TCP Data received {"connection_id":125566,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:11:40] local.INFO: Processing buffer {"connection_id":125566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:11:40] local.INFO: Packet analysis {"connection_id":125566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:11:40] local.INFO: Extracted packet for processing {"connection_id":125566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:11:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559348736001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783435258000,"timestamp_ms":1783435258000,"timestamp_seconds":1783435258,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d066890"} 
[2026-07-07 20:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559348736001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559348736001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:11:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:11:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559348736001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":125566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:11:40] local.INFO: GPS data processed {"connection_id":125566,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:11:40] local.INFO: Acknowledgment sent {"connection_id":125566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:11:58] local.INFO: TCP Data received {"connection_id":126833,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:11:58] local.INFO: Processing buffer {"connection_id":126833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:11:58] local.INFO: IMEI packet received {"connection_id":126833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":126833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:11:59] local.INFO: TCP Data received {"connection_id":126832,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:11:59] local.INFO: Processing buffer {"connection_id":126832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:11:59] local.INFO: IMEI packet received {"connection_id":126832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":126832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:12:03] local.INFO: TCP Data received {"connection_id":126833,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:12:03] local.INFO: Processing buffer {"connection_id":126833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:12:03] local.INFO: IMEI packet received {"connection_id":126833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":126833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:12:04] local.INFO: TCP Data received {"connection_id":126833,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:12:04] local.INFO: Processing buffer {"connection_id":126833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:12:04] local.INFO: Packet analysis {"connection_id":126833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d02"} 
[2026-07-07 20:12:04] local.INFO: Extracted packet for processing {"connection_id":126833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d02"} 
[2026-07-07 20:12:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559288576001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783435022000,"timestamp_ms":1783435022000,"timestamp_seconds":1783435022,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d02ceb0"} 
[2026-07-07 20:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 20:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559288576001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559288576001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:12:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:12:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559288576001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":126833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:12:04] local.INFO: GPS data processed {"connection_id":126833,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:12:04] local.INFO: Acknowledgment sent {"connection_id":126833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:12:12] local.INFO: TCP Data received {"connection_id":125566,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:12:12] local.INFO: Processing buffer {"connection_id":125566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:12:12] local.INFO: Packet analysis {"connection_id":125566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:12:12] local.INFO: Extracted packet for processing {"connection_id":125566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:12:12] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559348736001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783435258000,"timestamp_ms":1783435258000,"timestamp_seconds":1783435258,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d066890"} 
[2026-07-07 20:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559348736001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559348736001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:12:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:12:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559348736001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":125566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:12:12] local.INFO: GPS data processed {"connection_id":125566,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:12:12] local.INFO: Acknowledgment sent {"connection_id":125566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:12:34] local.INFO: TCP Data received {"connection_id":124858,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:12:34] local.INFO: Processing buffer {"connection_id":124858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:12:34] local.INFO: IMEI packet received {"connection_id":124858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":124858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:12:35] local.INFO: TCP Data received {"connection_id":126833,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:12:35] local.INFO: Processing buffer {"connection_id":126833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d02ceb0012dde4440050df278000c01412a..."} 
[2026-07-07 20:12:35] local.INFO: Packet analysis {"connection_id":126833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d02"} 
[2026-07-07 20:12:35] local.INFO: Extracted packet for processing {"connection_id":126833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d02"} 
[2026-07-07 20:12:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559288576001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783435022000,"timestamp_ms":1783435022000,"timestamp_seconds":1783435022,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d02ceb0"} 
[2026-07-07 20:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 20:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559288576001,"66":25223,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559288576001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:12:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:12:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559288576001,"power":25223,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":126833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:12:35] local.INFO: GPS data processed {"connection_id":126833,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:12:35] local.INFO: Acknowledgment sent {"connection_id":126833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:12:39] local.INFO: TCP Data received {"connection_id":124858,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:12:39] local.INFO: Processing buffer {"connection_id":124858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:12:39] local.INFO: IMEI packet received {"connection_id":124858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":124858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:12:40] local.INFO: TCP Data received {"connection_id":124858,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:12:40] local.INFO: Processing buffer {"connection_id":124858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:12:40] local.INFO: Packet analysis {"connection_id":124858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:12:40] local.INFO: Extracted packet for processing {"connection_id":124858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:12:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559348736001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783435258000,"timestamp_ms":1783435258000,"timestamp_seconds":1783435258,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d066890"} 
[2026-07-07 20:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559348736001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559348736001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:12:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:12:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559348736001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":124858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:12:40] local.INFO: GPS data processed {"connection_id":124858,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:12:40] local.INFO: Acknowledgment sent {"connection_id":124858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:13:03] local.INFO: TCP Data received {"connection_id":125567,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:13:03] local.INFO: Processing buffer {"connection_id":125567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:13:03] local.INFO: IMEI packet received {"connection_id":125567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":125567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:13:04] local.INFO: TCP Data received {"connection_id":125567,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:13:04] local.INFO: Processing buffer {"connection_id":125567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:13:04] local.INFO: IMEI packet received {"connection_id":125567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":125567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:13:05] local.INFO: TCP Data received {"connection_id":125567,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d076678012dde4440050df278000c01412a..."} 
[2026-07-07 20:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d076678012dde4440050df278000c01412a..."} 
[2026-07-07 20:13:05] local.INFO: Processing buffer {"connection_id":125567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d076678012dde4440050df278000c01412a..."} 
[2026-07-07 20:13:05] local.INFO: Packet analysis {"connection_id":125567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d07"} 
[2026-07-07 20:13:05] local.INFO: Extracted packet for processing {"connection_id":125567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d07"} 
[2026-07-07 20:13:05] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559365632001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783435323000,"timestamp_ms":1783435323000,"timestamp_seconds":1783435323,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d076678"} 
[2026-07-07 20:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 20:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559365632001,"66":25321,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559365632001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:13:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:13:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559365632001,"power":25321,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":125567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:13:05] local.INFO: GPS data processed {"connection_id":125567,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:13:05] local.INFO: Acknowledgment sent {"connection_id":125567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:13:08] local.INFO: TCP Data received {"connection_id":125567,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d07a8e0012dde4440050df278000c01412c..."} 
[2026-07-07 20:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d07a8e0012dde4440050df278000c01412c..."} 
[2026-07-07 20:13:08] local.INFO: Processing buffer {"connection_id":125567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d07a8e0012dde4440050df278000c01412c..."} 
[2026-07-07 20:13:08] local.INFO: Packet analysis {"connection_id":125567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d07"} 
[2026-07-07 20:13:08] local.INFO: Extracted packet for processing {"connection_id":125567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d07"} 
[2026-07-07 20:13:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800120,"longitude_deg":76.9541184,"latitude_deg":8.480012,"altitude":12,"angle":321,"satellites":44,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df278","is_valid_coordinates":true} 
[2026-07-07 20:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559442688001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783435340000,"timestamp_ms":1783435340000,"timestamp_seconds":1783435340,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d07a8e0"} 
[2026-07-07 20:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 20:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559442688001,"66":25321,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559442688001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:13:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:13:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559442688001,"power":25321,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":125567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:13:08] local.INFO: GPS data processed {"connection_id":125567,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:13:08] local.INFO: Acknowledgment sent {"connection_id":125567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:13:12] local.INFO: TCP Data received {"connection_id":124858,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:13:12] local.INFO: Processing buffer {"connection_id":124858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:13:12] local.INFO: Packet analysis {"connection_id":124858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:13:12] local.INFO: Extracted packet for processing {"connection_id":124858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:13:12] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559348736001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783435258000,"timestamp_ms":1783435258000,"timestamp_seconds":1783435258,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d066890"} 
[2026-07-07 20:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559348736001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559348736001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:13:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:13:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559348736001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":124858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:13:12] local.INFO: GPS data processed {"connection_id":124858,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:13:12] local.INFO: Acknowledgment sent {"connection_id":124858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:13:33] local.INFO: TCP Data received {"connection_id":124757,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:13:33] local.INFO: Processing buffer {"connection_id":124757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:13:33] local.INFO: IMEI packet received {"connection_id":124757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":124757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:13:39] local.INFO: TCP Data received {"connection_id":124757,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:13:39] local.INFO: Processing buffer {"connection_id":124757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:13:39] local.INFO: IMEI packet received {"connection_id":124757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":124757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:13:39] local.INFO: TCP Data received {"connection_id":125567,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d07c050012dde4600050df920000c00152d..."} 
[2026-07-07 20:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d07c050012dde4600050df920000c00152d..."} 
[2026-07-07 20:13:39] local.INFO: Processing buffer {"connection_id":125567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d07c050012dde4600050df920000c00152d..."} 
[2026-07-07 20:13:39] local.INFO: Packet analysis {"connection_id":125567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d07"} 
[2026-07-07 20:13:39] local.INFO: Extracted packet for processing {"connection_id":125567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d07"} 
[2026-07-07 20:13:39] local.INFO: GPS Element Parsed {"raw_longitude":769541632,"raw_latitude":84801824,"longitude_deg":76.9541632,"latitude_deg":8.4801824,"altitude":12,"angle":21,"satellites":45,"speed":0,"hex_longitude":"2dde4600","hex_latitude":"050df920","is_valid_coordinates":true} 
[2026-07-07 20:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559447040001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420216832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783435346000,"timestamp_ms":1783435346000,"timestamp_seconds":1783435346,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d07c050"} 
[2026-07-07 20:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:13: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-07-07 20:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 20:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559447040001,"66":27517,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430747508420216832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559447040001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:13:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:13:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420216832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559447040001,"power":27517,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420216832}} 
[2026-07-07 20:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":125567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:13:39] local.INFO: GPS data processed {"connection_id":125567,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:13:39] local.INFO: Acknowledgment sent {"connection_id":125567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:13:41] local.INFO: TCP Data received {"connection_id":124757,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:13:41] local.INFO: Processing buffer {"connection_id":124757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:13:41] local.INFO: Packet analysis {"connection_id":124757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:13:41] local.INFO: Extracted packet for processing {"connection_id":124757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:13:41] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559348736001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783435258000,"timestamp_ms":1783435258000,"timestamp_seconds":1783435258,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d066890"} 
[2026-07-07 20:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559348736001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559348736001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:13:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:13:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559348736001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":124757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:13:41] local.INFO: GPS data processed {"connection_id":124757,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:13:41] local.INFO: Acknowledgment sent {"connection_id":124757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:13:58] local.INFO: TCP Data received {"connection_id":125568,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:13:58] local.INFO: Processing buffer {"connection_id":125568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:13:58] local.INFO: IMEI packet received {"connection_id":125568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":125568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:14:03] local.INFO: TCP Data received {"connection_id":125568,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:14:03] local.INFO: Processing buffer {"connection_id":125568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:14:03] local.INFO: IMEI packet received {"connection_id":125568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":125568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:14:05] local.INFO: TCP Data received {"connection_id":125568,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d081258012dde4600050df920000c00152f..."} 
[2026-07-07 20:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d081258012dde4600050df920000c00152f..."} 
[2026-07-07 20:14:05] local.INFO: Processing buffer {"connection_id":125568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d081258012dde4600050df920000c00152f..."} 
[2026-07-07 20:14:05] local.INFO: Packet analysis {"connection_id":125568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d08"} 
[2026-07-07 20:14:05] local.INFO: Extracted packet for processing {"connection_id":125568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d08"} 
[2026-07-07 20:14:05] local.INFO: GPS Element Parsed {"raw_longitude":769541632,"raw_latitude":84801824,"longitude_deg":76.9541632,"latitude_deg":8.4801824,"altitude":12,"angle":21,"satellites":47,"speed":0,"hex_longitude":"2dde4600","hex_latitude":"050df920","is_valid_coordinates":true} 
[2026-07-07 20:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559448576001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927210536960,"note":"Value kept but may cause issues"} 
[2026-07-07 20:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783435367000,"timestamp_ms":1783435367000,"timestamp_seconds":1783435367,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d081258"} 
[2026-07-07 20:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 20:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559448576001,"66":27343,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430254927210536960},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559448576001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:14:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:14:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927210536960,"description":"Unknown IO ID 45"} 
[2026-07-07 20:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559448576001,"power":27343,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430254927210536960}} 
[2026-07-07 20:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":125568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:14:05] local.INFO: GPS data processed {"connection_id":125568,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:14:05] local.INFO: Acknowledgment sent {"connection_id":125568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:14:12] local.INFO: TCP Data received {"connection_id":124757,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:14:12] local.INFO: Processing buffer {"connection_id":124757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:14:12] local.INFO: Packet analysis {"connection_id":124757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:14:12] local.INFO: Extracted packet for processing {"connection_id":124757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:14:12] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559348736001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783435258000,"timestamp_ms":1783435258000,"timestamp_seconds":1783435258,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d066890"} 
[2026-07-07 20:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559348736001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559348736001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:14:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:14:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559348736001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":124757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:14:13] local.INFO: GPS data processed {"connection_id":124757,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:14:13] local.INFO: Acknowledgment sent {"connection_id":124757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:14:36] local.INFO: TCP Data received {"connection_id":126834,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:14:36] local.INFO: Processing buffer {"connection_id":126834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:14:36] local.INFO: IMEI packet received {"connection_id":126834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":126834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:14:36] local.INFO: TCP Data received {"connection_id":125568,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d086460012dde4600050df920000c00152b..."} 
[2026-07-07 20:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d086460012dde4600050df920000c00152b..."} 
[2026-07-07 20:14:36] local.INFO: Processing buffer {"connection_id":125568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d086460012dde4600050df920000c00152b..."} 
[2026-07-07 20:14:36] local.INFO: Packet analysis {"connection_id":125568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d08"} 
[2026-07-07 20:14:36] local.INFO: Extracted packet for processing {"connection_id":125568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d08"} 
[2026-07-07 20:14:36] local.INFO: GPS Element Parsed {"raw_longitude":769541632,"raw_latitude":84801824,"longitude_deg":76.9541632,"latitude_deg":8.4801824,"altitude":12,"angle":21,"satellites":43,"speed":0,"hex_longitude":"2dde4600","hex_latitude":"050df920","is_valid_coordinates":true} 
[2026-07-07 20:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559453952001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927210536960,"note":"Value kept but may cause issues"} 
[2026-07-07 20:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783435388000,"timestamp_ms":1783435388000,"timestamp_seconds":1783435388,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d086460"} 
[2026-07-07 20:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 20:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559453952001,"66":27571,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430254927210536960},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559453952001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:14:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:14:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927210536960,"description":"Unknown IO ID 45"} 
[2026-07-07 20:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559453952001,"power":27571,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430254927210536960}} 
[2026-07-07 20:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":125568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:14:36] local.INFO: GPS data processed {"connection_id":125568,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:14:36] local.INFO: Acknowledgment sent {"connection_id":125568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:14:41] local.INFO: TCP Data received {"connection_id":126834,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:14:41] local.INFO: Processing buffer {"connection_id":126834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:14:41] local.INFO: IMEI packet received {"connection_id":126834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":126834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:14:43] local.INFO: TCP Data received {"connection_id":126834,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:14:43] local.INFO: Processing buffer {"connection_id":126834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:14:43] local.INFO: Packet analysis {"connection_id":126834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:14:43] local.INFO: Extracted packet for processing {"connection_id":126834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:14:43] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 20:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559348736001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 20:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783435258000,"timestamp_ms":1783435258000,"timestamp_seconds":1783435258,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d066890"} 
[2026-07-07 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-07-07 20:14: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-07-07 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":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:14: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-07-07 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-07-07 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-07-07 20:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":126834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":126834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":126834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559348736001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559348736001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:14:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:14:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559348736001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":126834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:14:43] local.INFO: GPS data processed {"connection_id":126834,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:14:43] local.INFO: Acknowledgment sent {"connection_id":126834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:14:44] local.INFO: TCP Data received {"connection_id":126834,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:14:44] local.INFO: Processing buffer {"connection_id":126834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:14:44] local.INFO: Packet analysis {"connection_id":126834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:14:44] local.INFO: Extracted packet for processing {"connection_id":126834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:14:44] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559348736001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783435258000,"timestamp_ms":1783435258000,"timestamp_seconds":1783435258,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d066890"} 
[2026-07-07 20:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":126834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":126834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":126834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559348736001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559348736001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:14:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:14:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559348736001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":126834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:14:44] local.INFO: GPS data processed {"connection_id":126834,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:14:44] local.INFO: Acknowledgment sent {"connection_id":126834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:15:03] local.INFO: TCP Data received {"connection_id":124860,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:15:03] local.INFO: Processing buffer {"connection_id":124860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:15:03] local.INFO: IMEI packet received {"connection_id":124860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":124860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:15:08] local.INFO: TCP Data received {"connection_id":124860,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:15:08] local.INFO: Processing buffer {"connection_id":124860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:15:08] local.INFO: IMEI packet received {"connection_id":124860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":124860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:15:09] local.INFO: TCP Data received {"connection_id":124860,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d08b668012dde4600050df920000c00152d..."} 
[2026-07-07 20:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d08b668012dde4600050df920000c00152d..."} 
[2026-07-07 20:15:09] local.INFO: Processing buffer {"connection_id":124860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d08b668012dde4600050df920000c00152d..."} 
[2026-07-07 20:15:09] local.INFO: Packet analysis {"connection_id":124860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d08"} 
[2026-07-07 20:15:09] local.INFO: Extracted packet for processing {"connection_id":124860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d08"} 
[2026-07-07 20:15:09] local.INFO: GPS Element Parsed {"raw_longitude":769541632,"raw_latitude":84801824,"longitude_deg":76.9541632,"latitude_deg":8.4801824,"altitude":12,"angle":21,"satellites":45,"speed":0,"hex_longitude":"2dde4600","hex_latitude":"050df920","is_valid_coordinates":true} 
[2026-07-07 20:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559459328001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927210536960,"note":"Value kept but may cause issues"} 
[2026-07-07 20:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783435409000,"timestamp_ms":1783435409000,"timestamp_seconds":1783435409,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d08b668"} 
[2026-07-07 20:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:15: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-07-07 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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-07 20:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559459328001,"66":27658,"109":206,"80":33792,"24":0,"16":341841669768871936,"45":-2430254927210536960},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-07 20:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559459328001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:15:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-07 20:15:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927210536960,"description":"Unknown IO ID 45"} 
[2026-07-07 20:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559459328001,"power":27658,"unknown_109":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430254927210536960}} 
[2026-07-07 20:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":124860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:15:09] local.INFO: GPS data processed {"connection_id":124860,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:15:09] local.INFO: Acknowledgment sent {"connection_id":124860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:15:10] local.INFO: TCP Data received {"connection_id":124860,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d090870012dde4600050df920000c00152a..."} 
[2026-07-07 20:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d090870012dde4600050df920000c00152a..."} 
[2026-07-07 20:15:10] local.INFO: Processing buffer {"connection_id":124860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d090870012dde4600050df920000c00152a..."} 
[2026-07-07 20:15:10] local.INFO: Packet analysis {"connection_id":124860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d09"} 
[2026-07-07 20:15:10] local.INFO: Extracted packet for processing {"connection_id":124860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d09"} 
[2026-07-07 20:15:10] local.INFO: GPS Element Parsed {"raw_longitude":769541632,"raw_latitude":84801824,"longitude_deg":76.9541632,"latitude_deg":8.4801824,"altitude":12,"angle":21,"satellites":42,"speed":0,"hex_longitude":"2dde4600","hex_latitude":"050df920","is_valid_coordinates":true} 
[2026-07-07 20:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559464704001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841669768871936,"note":"Value kept but may cause issues"} 
[2026-07-07 20:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927210536960,"note":"Value kept but may cause issues"} 
[2026-07-07 20:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783435430000,"timestamp_ms":1783435430000,"timestamp_seconds":1783435430,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d090870"} 
[2026-07-07 20:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-07 20:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559464704001,"66":27767,"174":206,"80":34048,"24":0,"16":341841669768871936,"45":-2430254927210536960},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-07-07 20:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559464704001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:15:10] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-07 20:15:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-07-07 20:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841669768871936,"km_value":341841669768871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927210536960,"description":"Unknown IO ID 45"} 
[2026-07-07 20:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559464704001,"power":27767,"unknown_174":206,"unknown_80":34048,"ignition":0,"odometer":null,"unknown_45":-2430254927210536960}} 
[2026-07-07 20:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":124860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:15:10] local.INFO: GPS data processed {"connection_id":124860,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:15:10] local.INFO: Acknowledgment sent {"connection_id":124860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:15:15] local.INFO: TCP Data received {"connection_id":126834,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:15:15] local.INFO: Processing buffer {"connection_id":126834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:15:15] local.INFO: Packet analysis {"connection_id":126834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:15:15] local.INFO: Extracted packet for processing {"connection_id":126834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559348736001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783435258000,"timestamp_ms":1783435258000,"timestamp_seconds":1783435258,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d066890"} 
[2026-07-07 20:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559348736001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559348736001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:15:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:15:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559348736001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":126834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:15:15] local.INFO: GPS data processed {"connection_id":126834,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:15:15] local.INFO: Acknowledgment sent {"connection_id":126834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:15:33] local.INFO: TCP Data received {"connection_id":124759,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:15:33] local.INFO: Processing buffer {"connection_id":124759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:15:33] local.INFO: IMEI packet received {"connection_id":124759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":124759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:15:39] local.INFO: TCP Data received {"connection_id":124759,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:15:39] local.INFO: Processing buffer {"connection_id":124759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:15:39] local.INFO: IMEI packet received {"connection_id":124759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":124759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:15:41] local.INFO: TCP Data received {"connection_id":124860,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d095a78012dde4380050dfc10000e00152c..."} 
[2026-07-07 20:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d095a78012dde4380050dfc10000e00152c..."} 
[2026-07-07 20:15:41] local.INFO: Processing buffer {"connection_id":124860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d095a78012dde4380050dfc10000e00152c..."} 
[2026-07-07 20:15:41] local.INFO: Packet analysis {"connection_id":124860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d09"} 
[2026-07-07 20:15:41] local.INFO: Extracted packet for processing {"connection_id":124860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d09"} 
[2026-07-07 20:15:41] local.INFO: GPS Element Parsed {"raw_longitude":769540992,"raw_latitude":84802576,"longitude_deg":76.9540992,"latitude_deg":8.4802576,"altitude":14,"angle":21,"satellites":44,"speed":0,"hex_longitude":"2dde4380","hex_latitude":"050dfc10","is_valid_coordinates":true} 
[2026-07-07 20:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559470080001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841717013512192,"note":"Value kept but may cause issues"} 
[2026-07-07 20:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927210536960,"note":"Value kept but may cause issues"} 
[2026-07-07 20:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783435451000,"timestamp_ms":1783435451000,"timestamp_seconds":1783435451,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d095a78"} 
[2026-07-07 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-07-07 20:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 20:15: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-07-07 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-07-07 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-07-07 20:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559470080001,"66":27767,"174":206,"80":34048,"24":0,"16":341841717013512192,"45":-2430254927210536960},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-07-07 20:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559470080001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:15:41] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-07 20:15:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-07-07 20:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841717013512192,"km_value":341841717013512.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927210536960,"description":"Unknown IO ID 45"} 
[2026-07-07 20:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559470080001,"power":27767,"unknown_174":206,"unknown_80":34048,"ignition":0,"odometer":null,"unknown_45":-2430254927210536960}} 
[2026-07-07 20:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":124860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:15:41] local.INFO: GPS data processed {"connection_id":124860,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:15:41] local.INFO: Acknowledgment sent {"connection_id":124860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:15:46] local.INFO: TCP Data received {"connection_id":124759,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:15:46] local.INFO: Processing buffer {"connection_id":124759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:15:46] local.INFO: Packet analysis {"connection_id":124759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:15:46] local.INFO: Extracted packet for processing {"connection_id":124759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559348736001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783435258000,"timestamp_ms":1783435258000,"timestamp_seconds":1783435258,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d066890"} 
[2026-07-07 20:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559348736001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559348736001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:15:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:15:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559348736001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":124759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:15:46] local.INFO: GPS data processed {"connection_id":124759,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:15:46] local.INFO: Acknowledgment sent {"connection_id":124759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:15:58] local.INFO: TCP Data received {"connection_id":124862,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:15:58] local.INFO: Processing buffer {"connection_id":124862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:15:58] local.INFO: IMEI packet received {"connection_id":124862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":124862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:16:03] local.INFO: TCP Data received {"connection_id":124862,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:16:03] local.INFO: Processing buffer {"connection_id":124862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:16:03] local.INFO: IMEI packet received {"connection_id":124862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":124862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:16:04] local.INFO: TCP Data received {"connection_id":124862,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d09ac80012dde4300050dfaa8000c00a62d..."} 
[2026-07-07 20:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d09ac80012dde4300050dfaa8000c00a62d..."} 
[2026-07-07 20:16:04] local.INFO: Processing buffer {"connection_id":124862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d09ac80012dde4300050dfaa8000c00a62d..."} 
[2026-07-07 20:16:04] local.INFO: Packet analysis {"connection_id":124862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d09"} 
[2026-07-07 20:16:04] local.INFO: Extracted packet for processing {"connection_id":124862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d09"} 
[2026-07-07 20:16:04] local.INFO: GPS Element Parsed {"raw_longitude":769540864,"raw_latitude":84802216,"longitude_deg":76.9540864,"latitude_deg":8.4802216,"altitude":12,"angle":166,"satellites":45,"speed":1,"hex_longitude":"2dde4300","hex_latitude":"050dfaa8","is_valid_coordinates":true} 
[2026-07-07 20:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559475456001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841734193381376,"note":"Value kept but may cause issues"} 
[2026-07-07 20:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430958614652121088,"note":"Value kept but may cause issues"} 
[2026-07-07 20:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783435472000,"timestamp_ms":1783435472000,"timestamp_seconds":1783435472,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d09ac80"} 
[2026-07-07 20:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 20:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559475456001,"66":27691,"174":206,"80":34048,"24":1,"16":341841734193381376,"45":-2430958614652121088},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-07-07 20:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559475456001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:16:04] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-07 20:16:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-07-07 20:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841734193381376,"km_value":341841734193381.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430958614652121088,"description":"Unknown IO ID 45"} 
[2026-07-07 20:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559475456001,"power":27691,"unknown_174":206,"unknown_80":34048,"ignition":1,"odometer":null,"unknown_45":-2430958614652121088}} 
[2026-07-07 20:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":124862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:16:04] local.INFO: GPS data processed {"connection_id":124862,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:16:04] local.INFO: Acknowledgment sent {"connection_id":124862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:16:18] local.INFO: TCP Data received {"connection_id":124759,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:16:18] local.INFO: Processing buffer {"connection_id":124759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d066890012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:16:18] local.INFO: Packet analysis {"connection_id":124759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:16:18] local.INFO: Extracted packet for processing {"connection_id":124759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d06"} 
[2026-07-07 20:16:18] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559348736001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783435258000,"timestamp_ms":1783435258000,"timestamp_seconds":1783435258,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d066890"} 
[2026-07-07 20:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559348736001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559348736001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:16:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:16:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559348736001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":124759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:16:18] local.INFO: GPS data processed {"connection_id":124759,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:16:18] local.INFO: Acknowledgment sent {"connection_id":124759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:16:35] local.INFO: TCP Data received {"connection_id":124862,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d09ac80012dde4300050dfaa8000c00a62d..."} 
[2026-07-07 20:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d09ac80012dde4300050dfaa8000c00a62d..."} 
[2026-07-07 20:16:35] local.INFO: Processing buffer {"connection_id":124862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d09ac80012dde4300050dfaa8000c00a62d..."} 
[2026-07-07 20:16:35] local.INFO: Packet analysis {"connection_id":124862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d09"} 
[2026-07-07 20:16:35] local.INFO: Extracted packet for processing {"connection_id":124862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d09"} 
[2026-07-07 20:16:35] local.INFO: GPS Element Parsed {"raw_longitude":769540864,"raw_latitude":84802216,"longitude_deg":76.9540864,"latitude_deg":8.4802216,"altitude":12,"angle":166,"satellites":45,"speed":1,"hex_longitude":"2dde4300","hex_latitude":"050dfaa8","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559480832001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841734193381376,"note":"Value kept but may cause issues"} 
[2026-07-07 20:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2431099352140568576,"note":"Value kept but may cause issues"} 
[2026-07-07 20:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783435472000,"timestamp_ms":1783435472000,"timestamp_seconds":1783435472,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d09ac80"} 
[2026-07-07 20:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-07 20:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559480832001,"66":27691,"174":206,"80":34048,"24":1,"16":341841734193381376,"45":-2431099352140568576},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-07-07 20:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559480832001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:16:35] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-07 20:16:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-07-07 20:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841734193381376,"km_value":341841734193381.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2431099352140568576,"description":"Unknown IO ID 45"} 
[2026-07-07 20:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559480832001,"power":27691,"unknown_174":206,"unknown_80":34048,"ignition":1,"odometer":null,"unknown_45":-2431099352140568576}} 
[2026-07-07 20:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":124862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:16:35] local.INFO: GPS data processed {"connection_id":124862,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:16:35] local.INFO: Acknowledgment sent {"connection_id":124862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:16:37] local.INFO: TCP Data received {"connection_id":126835,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:16:37] local.INFO: Processing buffer {"connection_id":126835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:16:37] local.INFO: IMEI packet received {"connection_id":126835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":126835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:16:38] local.INFO: TCP Data received {"connection_id":126835,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:16:38] local.INFO: Processing buffer {"connection_id":126835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:16:38] local.INFO: IMEI packet received {"connection_id":126835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":126835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:16:44] local.INFO: TCP Data received {"connection_id":126835,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:16:44] local.INFO: Processing buffer {"connection_id":126835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:16:44] local.INFO: IMEI packet received {"connection_id":126835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":126835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:16:45] local.INFO: TCP Data received {"connection_id":126835,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:16:45] local.INFO: Processing buffer {"connection_id":126835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:16:45] local.INFO: Packet analysis {"connection_id":126835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0b"} 
[2026-07-07 20:16:45] local.INFO: Extracted packet for processing {"connection_id":126835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0b"} 
[2026-07-07 20:16:45] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":32,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559426048001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:16: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-07-07 20:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783435560000,"timestamp_ms":1783435560000,"timestamp_seconds":1783435560,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0b0440"} 
[2026-07-07 20:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":126835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":126835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":126835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559426048001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559426048001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:16:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:16:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559426048001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":126835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:16:45] local.INFO: GPS data processed {"connection_id":126835,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:16:45] local.INFO: Acknowledgment sent {"connection_id":126835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:16:53] local.INFO: TCP Data received {"connection_id":126835,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:16:53] local.INFO: Processing buffer {"connection_id":126835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:16:53] local.INFO: Packet analysis {"connection_id":126835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0b"} 
[2026-07-07 20:16:53] local.INFO: Extracted packet for processing {"connection_id":126835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0b"} 
[2026-07-07 20:16:53] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":32,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559426048001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:16: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-07-07 20:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783435560000,"timestamp_ms":1783435560000,"timestamp_seconds":1783435560,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0b0440"} 
[2026-07-07 20:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":126835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":126835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":126835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559426048001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559426048001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:16:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:16:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559426048001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":126835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:16:53] local.INFO: GPS data processed {"connection_id":126835,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:16:53] local.INFO: Acknowledgment sent {"connection_id":126835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:16:58] local.INFO: TCP Data received {"connection_id":124760,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:16:58] local.INFO: Processing buffer {"connection_id":124760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:16:58] local.INFO: IMEI packet received {"connection_id":124760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":124760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:17:03] local.INFO: TCP Data received {"connection_id":124760,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:17:03] local.INFO: Processing buffer {"connection_id":124760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:17:03] local.INFO: IMEI packet received {"connection_id":124760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":124760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:17:04] local.INFO: TCP Data received {"connection_id":124760,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d09fe88012dde4300050dfa38000c00a62b..."} 
[2026-07-07 20:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d09fe88012dde4300050dfa38000c00a62b..."} 
[2026-07-07 20:17:04] local.INFO: Processing buffer {"connection_id":124760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d09fe88012dde4300050dfa38000c00a62b..."} 
[2026-07-07 20:17:04] local.INFO: Packet analysis {"connection_id":124760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d09"} 
[2026-07-07 20:17:04] local.INFO: Extracted packet for processing {"connection_id":124760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d09"} 
[2026-07-07 20:17:04] local.INFO: GPS Element Parsed {"raw_longitude":769540864,"raw_latitude":84802104,"longitude_deg":76.9540864,"latitude_deg":8.4802104,"altitude":12,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2dde4300","hex_latitude":"050dfa38","is_valid_coordinates":true} 
[2026-07-07 20:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559480832001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841747078283264,"note":"Value kept but may cause issues"} 
[2026-07-07 20:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2431099352140568576,"note":"Value kept but may cause issues"} 
[2026-07-07 20:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783435493000,"timestamp_ms":1783435493000,"timestamp_seconds":1783435493,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d09fe88"} 
[2026-07-07 20:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-07 20:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559480832001,"66":27745,"174":206,"80":34048,"24":0,"16":341841747078283264,"45":-2431099352140568576},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-07-07 20:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559480832001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:17:04] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-07 20:17:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-07-07 20:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841747078283264,"km_value":341841747078283.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2431099352140568576,"description":"Unknown IO ID 45"} 
[2026-07-07 20:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559480832001,"power":27745,"unknown_174":206,"unknown_80":34048,"ignition":0,"odometer":null,"unknown_45":-2431099352140568576}} 
[2026-07-07 20:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":124760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:17:04] local.INFO: GPS data processed {"connection_id":124760,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:17:04] local.INFO: Acknowledgment sent {"connection_id":124760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:17:33] local.INFO: TCP Data received {"connection_id":125569,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:17:33] local.INFO: Processing buffer {"connection_id":125569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:17:33] local.INFO: IMEI packet received {"connection_id":125569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":125569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:17:33] local.INFO: TCP Data received {"connection_id":124863,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:17:33] local.INFO: Processing buffer {"connection_id":124863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:17:33] local.INFO: IMEI packet received {"connection_id":124863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":124863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:17:35] local.INFO: TCP Data received {"connection_id":124760,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0a2d68012dde4440050df7c0000e00bd2c..."} 
[2026-07-07 20:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0a2d68012dde4440050df7c0000e00bd2c..."} 
[2026-07-07 20:17:35] local.INFO: Processing buffer {"connection_id":124760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0a2d68012dde4440050df7c0000e00bd2c..."} 
[2026-07-07 20:17:35] local.INFO: Packet analysis {"connection_id":124760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0a"} 
[2026-07-07 20:17:35] local.INFO: Extracted packet for processing {"connection_id":124760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0a"} 
[2026-07-07 20:17:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84801472,"longitude_deg":76.9541184,"latitude_deg":8.4801472,"altitude":14,"angle":189,"satellites":44,"speed":1,"hex_longitude":"2dde4440","hex_latitude":"050df7c0","is_valid_coordinates":true} 
[2026-07-07 20:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559486208001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341841781438021632,"note":"Value kept but may cause issues"} 
[2026-07-07 20:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2431099352140597248,"note":"Value kept but may cause issues"} 
[2026-07-07 20:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783435505000,"timestamp_ms":1783435505000,"timestamp_seconds":1783435505,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0a2d68"} 
[2026-07-07 20:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 20:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559486208001,"66":27745,"174":206,"80":34048,"24":1,"16":341841781438021632,"45":-2431099352140597248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-07-07 20:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559486208001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:17:35] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-07 20:17:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-07-07 20:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341841781438021632,"km_value":341841781438021.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2431099352140597248,"description":"Unknown IO ID 45"} 
[2026-07-07 20:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559486208001,"power":27745,"unknown_174":206,"unknown_80":34048,"ignition":1,"odometer":null,"unknown_45":-2431099352140597248}} 
[2026-07-07 20:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":124760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:17:35] local.INFO: GPS data processed {"connection_id":124760,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:17:35] local.INFO: Acknowledgment sent {"connection_id":124760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:17:38] local.INFO: TCP Data received {"connection_id":125569,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:17:38] local.INFO: Processing buffer {"connection_id":125569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:17:38] local.INFO: IMEI packet received {"connection_id":125569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":125569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:17:39] local.INFO: TCP Data received {"connection_id":125569,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:17:39] local.INFO: Processing buffer {"connection_id":125569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:17:39] local.INFO: Packet analysis {"connection_id":125569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0b"} 
[2026-07-07 20:17:39] local.INFO: Extracted packet for processing {"connection_id":125569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0b"} 
[2026-07-07 20:17:39] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":32,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559426048001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783435560000,"timestamp_ms":1783435560000,"timestamp_seconds":1783435560,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0b0440"} 
[2026-07-07 20:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559426048001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559426048001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:17:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:17:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559426048001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":125569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:17:40] local.INFO: GPS data processed {"connection_id":125569,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:17:40] local.INFO: Acknowledgment sent {"connection_id":125569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:17:55] local.INFO: TCP Data received {"connection_id":124761,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:17:55] local.INFO: Processing buffer {"connection_id":124761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:17:55] local.INFO: IMEI packet received {"connection_id":124761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":124761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:17:58] local.INFO: TCP Data received {"connection_id":124762,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:17:58] local.INFO: Processing buffer {"connection_id":124762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:17:58] local.INFO: IMEI packet received {"connection_id":124762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":124762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:18:07] local.INFO: TCP Data received {"connection_id":124762,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:18:07] local.INFO: Processing buffer {"connection_id":124762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:18:07] local.INFO: IMEI packet received {"connection_id":124762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":124762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:18:07] local.INFO: TCP Data received {"connection_id":124762,"ip":"42.106.6.30","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 20:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124762,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 20:18:07] local.INFO: Processing buffer {"connection_id":124762,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 20:18:07] local.INFO: IMEI packet received {"connection_id":124762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":124762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:18:14] local.INFO: TCP Data received {"connection_id":125569,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:18:14] local.INFO: Processing buffer {"connection_id":125569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:18:14] local.INFO: Packet analysis {"connection_id":125569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0b"} 
[2026-07-07 20:18:14] local.INFO: Extracted packet for processing {"connection_id":125569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0b"} 
[2026-07-07 20:18:14] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":32,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559426048001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 20:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783435560000,"timestamp_ms":1783435560000,"timestamp_seconds":1783435560,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0b0440"} 
[2026-07-07 20:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":96,"data_length":795,"current_offset":136} 
[2026-07-07 20: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-07-07 20:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559426048001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559426048001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:18:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:18:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559426048001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":125569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:18:14] local.INFO: GPS data processed {"connection_id":125569,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:18:14] local.INFO: Acknowledgment sent {"connection_id":125569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:18:34] local.INFO: TCP Data received {"connection_id":126836,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:18:34] local.INFO: Processing buffer {"connection_id":126836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:18:34] local.INFO: IMEI packet received {"connection_id":126836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":126836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:18:38] local.INFO: TCP Data received {"connection_id":126836,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:18:38] local.INFO: Processing buffer {"connection_id":126836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:18:38] local.INFO: IMEI packet received {"connection_id":126836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":126836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:18:39] local.INFO: TCP Data received {"connection_id":126836,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:18:39] local.INFO: Processing buffer {"connection_id":126836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:18:39] local.INFO: Packet analysis {"connection_id":126836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0b"} 
[2026-07-07 20:18:39] local.INFO: Extracted packet for processing {"connection_id":126836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0b"} 
[2026-07-07 20:18:39] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":32,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559426048001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783435560000,"timestamp_ms":1783435560000,"timestamp_seconds":1783435560,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0b0440"} 
[2026-07-07 20:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559426048001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559426048001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:18:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:18:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559426048001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":126836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:18:39] local.INFO: GPS data processed {"connection_id":126836,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:18:39] local.INFO: Acknowledgment sent {"connection_id":126836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:19:12] local.INFO: TCP Data received {"connection_id":126836,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:19:12] local.INFO: Processing buffer {"connection_id":126836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:19:12] local.INFO: Packet analysis {"connection_id":126836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0b"} 
[2026-07-07 20:19:12] local.INFO: Extracted packet for processing {"connection_id":126836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0b"} 
[2026-07-07 20:19:12] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":32,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559426048001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783435560000,"timestamp_ms":1783435560000,"timestamp_seconds":1783435560,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0b0440"} 
[2026-07-07 20:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559426048001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559426048001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:19:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:19:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559426048001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":126836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:19:12] local.INFO: GPS data processed {"connection_id":126836,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:19:12] local.INFO: Acknowledgment sent {"connection_id":126836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:19:33] local.INFO: TCP Data received {"connection_id":124763,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:19:33] local.INFO: Processing buffer {"connection_id":124763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:19:33] local.INFO: IMEI packet received {"connection_id":124763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":124763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:19:39] local.INFO: TCP Data received {"connection_id":124763,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:19:39] local.INFO: Processing buffer {"connection_id":124763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:19:39] local.INFO: IMEI packet received {"connection_id":124763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":124763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:19:40] local.INFO: TCP Data received {"connection_id":124763,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:19:40] local.INFO: Processing buffer {"connection_id":124763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:19:40] local.INFO: Packet analysis {"connection_id":124763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0b"} 
[2026-07-07 20:19:40] local.INFO: Extracted packet for processing {"connection_id":124763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0b"} 
[2026-07-07 20:19:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":32,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559426048001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783435560000,"timestamp_ms":1783435560000,"timestamp_seconds":1783435560,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0b0440"} 
[2026-07-07 20:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559426048001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559426048001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:19:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:19:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559426048001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":124763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:19:40] local.INFO: GPS data processed {"connection_id":124763,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:19:40] local.INFO: Acknowledgment sent {"connection_id":124763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:20:11] local.INFO: TCP Data received {"connection_id":124763,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:20:11] local.INFO: Processing buffer {"connection_id":124763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:20:11] local.INFO: Packet analysis {"connection_id":124763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0b"} 
[2026-07-07 20:20:11] local.INFO: Extracted packet for processing {"connection_id":124763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0b"} 
[2026-07-07 20:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":32,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559426048001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783435560000,"timestamp_ms":1783435560000,"timestamp_seconds":1783435560,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0b0440"} 
[2026-07-07 20:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559426048001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559426048001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:20:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:20:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559426048001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":124763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:20:11] local.INFO: GPS data processed {"connection_id":124763,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:20:11] local.INFO: Acknowledgment sent {"connection_id":124763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:20:33] local.INFO: TCP Data received {"connection_id":126837,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:20:33] local.INFO: Processing buffer {"connection_id":126837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:20:33] local.INFO: IMEI packet received {"connection_id":126837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":126837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:20:40] local.INFO: TCP Data received {"connection_id":126837,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:20:40] local.INFO: Processing buffer {"connection_id":126837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:20:40] local.INFO: IMEI packet received {"connection_id":126837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":126837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:20:41] local.INFO: TCP Data received {"connection_id":126837,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:20:41] local.INFO: Processing buffer {"connection_id":126837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:20:41] local.INFO: Packet analysis {"connection_id":126837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0b"} 
[2026-07-07 20:20:41] local.INFO: Extracted packet for processing {"connection_id":126837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0b"} 
[2026-07-07 20:20:41] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":32,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 20:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559426048001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783435560000,"timestamp_ms":1783435560000,"timestamp_seconds":1783435560,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0b0440"} 
[2026-07-07 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-07-07 20:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 20:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559426048001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559426048001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:20:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:20:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559426048001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":126837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:20:41] local.INFO: GPS data processed {"connection_id":126837,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:20:41] local.INFO: Acknowledgment sent {"connection_id":126837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:21:13] local.INFO: TCP Data received {"connection_id":126837,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:21:13] local.INFO: Processing buffer {"connection_id":126837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0b0440012d1962c0071fefb0003c006820..."} 
[2026-07-07 20:21:13] local.INFO: Packet analysis {"connection_id":126837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0b"} 
[2026-07-07 20:21:13] local.INFO: Extracted packet for processing {"connection_id":126837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0b"} 
[2026-07-07 20:21:13] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":32,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559426048001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783435560000,"timestamp_ms":1783435560000,"timestamp_seconds":1783435560,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0b0440"} 
[2026-07-07 20:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:21: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-07-07 20:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 20:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559426048001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559426048001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:21:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:21:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559426048001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":126837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:21:13] local.INFO: GPS data processed {"connection_id":126837,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:21:13] local.INFO: Acknowledgment sent {"connection_id":126837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:21:38] local.INFO: TCP Data received {"connection_id":125573,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:21:38] local.INFO: Processing buffer {"connection_id":125573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:21:38] local.INFO: IMEI packet received {"connection_id":125573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":125573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:21:38] local.INFO: TCP Data received {"connection_id":125573,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:21:38] local.INFO: Processing buffer {"connection_id":125573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:21:38] local.INFO: IMEI packet received {"connection_id":125573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":125573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:21:44] local.INFO: TCP Data received {"connection_id":125573,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:21:44] local.INFO: Processing buffer {"connection_id":125573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:21:44] local.INFO: IMEI packet received {"connection_id":125573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":125573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:21:45] local.INFO: TCP Data received {"connection_id":125573,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:21:45] local.INFO: Processing buffer {"connection_id":125573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:21:45] local.INFO: Packet analysis {"connection_id":125573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:21:45] local.INFO: Extracted packet for processing {"connection_id":125573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:21:45] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559503360001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783435860000,"timestamp_ms":1783435860000,"timestamp_seconds":1783435860,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0f9820"} 
[2026-07-07 20:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:21: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-07-07 20:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":125573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":125573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":125573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559503360001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559503360001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:21:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:21:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559503360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":125573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:21:45] local.INFO: GPS data processed {"connection_id":125573,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:21:45] local.INFO: Acknowledgment sent {"connection_id":125573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:21:49] local.INFO: TCP Data received {"connection_id":125573,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:21:49] local.INFO: Processing buffer {"connection_id":125573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:21:49] local.INFO: Packet analysis {"connection_id":125573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:21:49] local.INFO: Extracted packet for processing {"connection_id":125573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559503360001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783435860000,"timestamp_ms":1783435860000,"timestamp_seconds":1783435860,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0f9820"} 
[2026-07-07 20:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":125573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":125573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":125573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559503360001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559503360001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:21:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:21:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559503360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":125573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:21:49] local.INFO: GPS data processed {"connection_id":125573,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:21:49] local.INFO: Acknowledgment sent {"connection_id":125573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:21:54] local.INFO: TCP Data received {"connection_id":125573,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:21:54] local.INFO: Processing buffer {"connection_id":125573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:21:54] local.INFO: Packet analysis {"connection_id":125573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:21:54] local.INFO: Extracted packet for processing {"connection_id":125573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:21:54] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559503360001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783435860000,"timestamp_ms":1783435860000,"timestamp_seconds":1783435860,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0f9820"} 
[2026-07-07 20:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559503360001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559503360001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:21:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:21:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559503360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":125573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:21:54] local.INFO: GPS data processed {"connection_id":125573,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:21:54] local.INFO: Acknowledgment sent {"connection_id":125573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:22:33] local.INFO: TCP Data received {"connection_id":124866,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:22:33] local.INFO: Processing buffer {"connection_id":124866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:22:33] local.INFO: IMEI packet received {"connection_id":124866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":124866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:22:39] local.INFO: TCP Data received {"connection_id":124866,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:22:39] local.INFO: Processing buffer {"connection_id":124866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:22:39] local.INFO: IMEI packet received {"connection_id":124866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":124866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:22:40] local.INFO: TCP Data received {"connection_id":124866,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:22:40] local.INFO: Processing buffer {"connection_id":124866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:22:40] local.INFO: Packet analysis {"connection_id":124866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:22:40] local.INFO: Extracted packet for processing {"connection_id":124866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:22:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559503360001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783435860000,"timestamp_ms":1783435860000,"timestamp_seconds":1783435860,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0f9820"} 
[2026-07-07 20:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559503360001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559503360001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:22:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:22:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559503360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":124866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:22:41] local.INFO: GPS data processed {"connection_id":124866,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:22:41] local.INFO: Acknowledgment sent {"connection_id":124866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:23:08] local.INFO: TCP Data received {"connection_id":124765,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:23:08] local.INFO: Processing buffer {"connection_id":124765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:23:08] local.INFO: IMEI packet received {"connection_id":124765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":124765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:23:09] local.INFO: TCP Data received {"connection_id":124765,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0fb378012ddd7740050de040000d01062b..."} 
[2026-07-07 20:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0fb378012ddd7740050de040000d01062b..."} 
[2026-07-07 20:23:09] local.INFO: Processing buffer {"connection_id":124765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0fb378012ddd7740050de040000d01062b..."} 
[2026-07-07 20:23:09] local.INFO: Packet analysis {"connection_id":124765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:23:09] local.INFO: Extracted packet for processing {"connection_id":124765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:23:09] local.INFO: GPS Element Parsed {"raw_longitude":769488704,"raw_latitude":84795456,"longitude_deg":76.9488704,"latitude_deg":8.4795456,"altitude":13,"angle":262,"satellites":43,"speed":29,"hex_longitude":"2ddd7740","hex_latitude":"050de040","is_valid_coordinates":true} 
[2026-07-07 20:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559578624001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341846892449103872,"note":"Value kept but may cause issues"} 
[2026-07-07 20:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2478105673252712448,"note":"Value kept but may cause issues"} 
[2026-07-07 20:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783435867000,"timestamp_ms":1783435867000,"timestamp_seconds":1783435867,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0fb378"} 
[2026-07-07 20:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:23: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-07-07 20:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 20:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559578624001,"66":27376,"213":206,"80":33792,"24":29,"16":341846892449103872,"45":-2478105673252712448},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,80,24,16,45]} 
[2026-07-07 20:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559578624001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:23:09] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-07 20:23:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341846892449103872,"km_value":341846892449103.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2478105673252712448,"description":"Unknown IO ID 45"} 
[2026-07-07 20:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559578624001,"power":27376,"unknown_213":206,"unknown_80":33792,"ignition":29,"odometer":null,"unknown_45":-2478105673252712448}} 
[2026-07-07 20:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":124765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:23:09] local.INFO: GPS data processed {"connection_id":124765,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:23:09] local.INFO: Acknowledgment sent {"connection_id":124765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:23:12] local.INFO: TCP Data received {"connection_id":124866,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:23:12] local.INFO: Processing buffer {"connection_id":124866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:23:12] local.INFO: Packet analysis {"connection_id":124866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:23:12] local.INFO: Extracted packet for processing {"connection_id":124866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:23:12] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559503360001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783435860000,"timestamp_ms":1783435860000,"timestamp_seconds":1783435860,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0f9820"} 
[2026-07-07 20:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559503360001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559503360001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:23:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:23:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559503360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":124866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:23:12] local.INFO: GPS data processed {"connection_id":124866,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:23:12] local.INFO: Acknowledgment sent {"connection_id":124866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:23:33] local.INFO: TCP Data received {"connection_id":124766,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:23:33] local.INFO: Processing buffer {"connection_id":124766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:23:33] local.INFO: IMEI packet received {"connection_id":124766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":124766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:23:39] local.INFO: TCP Data received {"connection_id":124766,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:23:39] local.INFO: Processing buffer {"connection_id":124766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:23:39] local.INFO: IMEI packet received {"connection_id":124766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":124766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:23:40] local.INFO: TCP Data received {"connection_id":124765,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d100198012ddd5a40050ddd380010010629..."} 
[2026-07-07 20:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d100198012ddd5a40050ddd380010010629..."} 
[2026-07-07 20:23:40] local.INFO: Processing buffer {"connection_id":124765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d100198012ddd5a40050ddd380010010629..."} 
[2026-07-07 20:23:40] local.INFO: Packet analysis {"connection_id":124765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d10"} 
[2026-07-07 20:23:40] local.INFO: Extracted packet for processing {"connection_id":124765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d10"} 
[2026-07-07 20:23:40] local.INFO: GPS Element Parsed {"raw_longitude":769481280,"raw_latitude":84794680,"longitude_deg":76.948128,"latitude_deg":8.479468,"altitude":16,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2ddd5a40","hex_latitude":"050ddd38","is_valid_coordinates":true} 
[2026-07-07 20:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559581952001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341847248931389440,"note":"Value kept but may cause issues"} 
[2026-07-07 20:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2488449878647095296,"note":"Value kept but may cause issues"} 
[2026-07-07 20:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783435887000,"timestamp_ms":1783435887000,"timestamp_seconds":1783435887,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d100198"} 
[2026-07-07 20:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 20:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559581952001,"66":27376,"213":206,"80":33792,"24":0,"16":341847248931389440,"45":-2488449878647095296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,80,24,16,45]} 
[2026-07-07 20:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559581952001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:23:40] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-07 20:23:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341847248931389440,"km_value":341847248931389.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2488449878647095296,"description":"Unknown IO ID 45"} 
[2026-07-07 20:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559581952001,"power":27376,"unknown_213":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2488449878647095296}} 
[2026-07-07 20:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":124765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:23:40] local.INFO: GPS data processed {"connection_id":124765,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:23:40] local.INFO: Acknowledgment sent {"connection_id":124765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:23:41] local.INFO: TCP Data received {"connection_id":124766,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:23:41] local.INFO: Processing buffer {"connection_id":124766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:23:41] local.INFO: Packet analysis {"connection_id":124766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:23:41] local.INFO: Extracted packet for processing {"connection_id":124766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:23:41] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559503360001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783435860000,"timestamp_ms":1783435860000,"timestamp_seconds":1783435860,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0f9820"} 
[2026-07-07 20:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:23: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-07-07 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559503360001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559503360001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:23:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:23:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559503360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":124766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:23:41] local.INFO: GPS data processed {"connection_id":124766,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:23:41] local.INFO: Acknowledgment sent {"connection_id":124766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:24:08] local.INFO: TCP Data received {"connection_id":126838,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:24:08] local.INFO: Processing buffer {"connection_id":126838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:24:08] local.INFO: IMEI packet received {"connection_id":126838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":126838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:24:13] local.INFO: TCP Data received {"connection_id":124766,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:24:13] local.INFO: Processing buffer {"connection_id":124766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:24:13] local.INFO: Packet analysis {"connection_id":124766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:24:13] local.INFO: Extracted packet for processing {"connection_id":124766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:24:13] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559503360001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783435860000,"timestamp_ms":1783435860000,"timestamp_seconds":1783435860,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0f9820"} 
[2026-07-07 20:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:24: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-07-07 20:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:24: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-07-07 20:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559503360001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559503360001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:24:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:24:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559503360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:24:13] local.INFO: TCP Data received {"connection_id":126838,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:24:13] local.INFO: Processing buffer {"connection_id":126838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:24:13] local.INFO: IMEI packet received {"connection_id":126838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":126838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":124766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:24:13] local.INFO: GPS data processed {"connection_id":124766,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:24:13] local.INFO: Acknowledgment sent {"connection_id":124766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:24:15] local.INFO: TCP Data received {"connection_id":126838,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d11fd68012ddd3e80050dd458001600b02e..."} 
[2026-07-07 20:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d11fd68012ddd3e80050dd458001600b02e..."} 
[2026-07-07 20:24:15] local.INFO: Processing buffer {"connection_id":126838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d11fd68012ddd3e80050dd458001600b02e..."} 
[2026-07-07 20:24:15] local.INFO: Packet analysis {"connection_id":126838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d11"} 
[2026-07-07 20:24:15] local.INFO: Extracted packet for processing {"connection_id":126838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d11"} 
[2026-07-07 20:24:15] local.INFO: GPS Element Parsed {"raw_longitude":769474176,"raw_latitude":84792408,"longitude_deg":76.9474176,"latitude_deg":8.4792408,"altitude":22,"angle":176,"satellites":46,"speed":10,"hex_longitude":"2ddd3e80","hex_latitude":"050dd458","is_valid_coordinates":true} 
[2026-07-07 20:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559619840001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341847648363347968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2504423583576043520,"note":"Value kept but may cause issues"} 
[2026-07-07 20:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783436017000,"timestamp_ms":1783436017000,"timestamp_seconds":1783436017,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d11fd68"} 
[2026-07-07 20:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20: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":196,"data_length":795,"current_offset":136} 
[2026-07-07 20:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559619840001,"66":27343,"39":206,"80":34048,"24":10,"16":341847648363347968,"45":-2504423583576043520},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,80,24,16,45]} 
[2026-07-07 20:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559619840001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:24:15] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-07 20:24:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-07-07 20:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341847648363347968,"km_value":341847648363347.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2504423583576043520,"description":"Unknown IO ID 45"} 
[2026-07-07 20:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559619840001,"power":27343,"unknown_39":206,"unknown_80":34048,"ignition":10,"odometer":null,"unknown_45":-2504423583576043520}} 
[2026-07-07 20:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":126838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:24:15] local.INFO: GPS data processed {"connection_id":126838,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:24:15] local.INFO: Acknowledgment sent {"connection_id":126838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:24:16] local.INFO: TCP Data received {"connection_id":126838,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d120150012ddd3e80050dd300001600bf2e..."} 
[2026-07-07 20:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d120150012ddd3e80050dd300001600bf2e..."} 
[2026-07-07 20:24:16] local.INFO: Processing buffer {"connection_id":126838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d120150012ddd3e80050dd300001600bf2e..."} 
[2026-07-07 20:24:16] local.INFO: Packet analysis {"connection_id":126838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d12"} 
[2026-07-07 20:24:16] local.INFO: Extracted packet for processing {"connection_id":126838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d12"} 
[2026-07-07 20:24:16] local.INFO: GPS Element Parsed {"raw_longitude":769474176,"raw_latitude":84792064,"longitude_deg":76.9474176,"latitude_deg":8.4792064,"altitude":22,"angle":191,"satellites":46,"speed":14,"hex_longitude":"2ddd3e80","hex_latitude":"050dd300","is_valid_coordinates":true} 
[2026-07-07 20:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559620352001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341847665543217152,"note":"Value kept but may cause issues"} 
[2026-07-07 20:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2504423583576205312,"note":"Value kept but may cause issues"} 
[2026-07-07 20:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783436018000,"timestamp_ms":1783436018000,"timestamp_seconds":1783436018,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d120150"} 
[2026-07-07 20:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 20:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559620352001,"66":27343,"39":206,"80":34048,"24":14,"16":341847665543217152,"45":-2504423583576205312},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,80,24,16,45]} 
[2026-07-07 20:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559620352001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:24:16] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-07 20:24:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-07-07 20:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341847665543217152,"km_value":341847665543217.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2504423583576205312,"description":"Unknown IO ID 45"} 
[2026-07-07 20:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559620352001,"power":27343,"unknown_39":206,"unknown_80":34048,"ignition":14,"odometer":null,"unknown_45":-2504423583576205312}} 
[2026-07-07 20:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":126838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:24:16] local.INFO: GPS data processed {"connection_id":126838,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:24:16] local.INFO: Acknowledgment sent {"connection_id":126838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:24:38] local.INFO: TCP Data received {"connection_id":125574,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:24:38] local.INFO: Processing buffer {"connection_id":125574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:24:38] local.INFO: IMEI packet received {"connection_id":125574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":125574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:24:43] local.INFO: TCP Data received {"connection_id":125574,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:24:43] local.INFO: Processing buffer {"connection_id":125574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:24:43] local.INFO: IMEI packet received {"connection_id":125574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":125574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:24:44] local.INFO: TCP Data received {"connection_id":125574,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:24:44] local.INFO: Processing buffer {"connection_id":125574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:24:44] local.INFO: Packet analysis {"connection_id":125574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:24:44] local.INFO: Extracted packet for processing {"connection_id":125574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:24:44] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559503360001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783435860000,"timestamp_ms":1783435860000,"timestamp_seconds":1783435860,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0f9820"} 
[2026-07-07 20:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":125574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":125574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":125574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559503360001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559503360001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:24:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:24:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559503360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":125574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:24:44] local.INFO: GPS data processed {"connection_id":125574,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:24:44] local.INFO: Acknowledgment sent {"connection_id":125574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:24:49] local.INFO: TCP Data received {"connection_id":125574,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:24:49] local.INFO: Processing buffer {"connection_id":125574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:24:49] local.INFO: Packet analysis {"connection_id":125574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:24:49] local.INFO: Extracted packet for processing {"connection_id":125574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:24:49] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559503360001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783435860000,"timestamp_ms":1783435860000,"timestamp_seconds":1783435860,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0f9820"} 
[2026-07-07 20:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":125574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":125574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":125574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559503360001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559503360001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:24:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:24:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559503360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":125574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:24:49] local.INFO: GPS data processed {"connection_id":125574,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:24:49] local.INFO: Acknowledgment sent {"connection_id":125574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:24:58] local.INFO: TCP Data received {"connection_id":124867,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:24:58] local.INFO: Processing buffer {"connection_id":124867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:24:58] local.INFO: IMEI packet received {"connection_id":124867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":124867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:25:00] local.INFO: TCP Data received {"connection_id":124867,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:25:00] local.INFO: Processing buffer {"connection_id":124867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:25:00] local.INFO: IMEI packet received {"connection_id":124867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":124867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:25:01] local.INFO: TCP Data received {"connection_id":124867,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d120538012ddd3e40050dd180001600d12e..."} 
[2026-07-07 20:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d120538012ddd3e40050dd180001600d12e..."} 
[2026-07-07 20:25:01] local.INFO: Processing buffer {"connection_id":124867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d120538012ddd3e40050dd180001600d12e..."} 
[2026-07-07 20:25:01] local.INFO: Packet analysis {"connection_id":124867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d12"} 
[2026-07-07 20:25:01] local.INFO: Extracted packet for processing {"connection_id":124867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d12"} 
[2026-07-07 20:25:01] local.INFO: GPS Element Parsed {"raw_longitude":769474112,"raw_latitude":84791680,"longitude_deg":76.9474112,"latitude_deg":8.479168,"altitude":22,"angle":209,"satellites":46,"speed":16,"hex_longitude":"2ddd3e40","hex_latitude":"050dd180","is_valid_coordinates":true} 
[2026-07-07 20:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559620608001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341847687018053632,"note":"Value kept but may cause issues"} 
[2026-07-07 20:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2504423583576293376,"note":"Value kept but may cause issues"} 
[2026-07-07 20:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783436019000,"timestamp_ms":1783436019000,"timestamp_seconds":1783436019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d120538"} 
[2026-07-07 20:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:25: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-07-07 20:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 20:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559620608001,"66":27332,"39":206,"80":34048,"24":16,"16":341847687018053632,"45":-2504423583576293376},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,80,24,16,45]} 
[2026-07-07 20:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559620608001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:25:01] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-07 20:25:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-07-07 20:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341847687018053632,"km_value":341847687018053.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2504423583576293376,"description":"Unknown IO ID 45"} 
[2026-07-07 20:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559620608001,"power":27332,"unknown_39":206,"unknown_80":34048,"ignition":16,"odometer":null,"unknown_45":-2504423583576293376}} 
[2026-07-07 20:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":124867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:25:01] local.INFO: GPS data processed {"connection_id":124867,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:25:01] local.INFO: Acknowledgment sent {"connection_id":124867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:25:33] local.INFO: TCP Data received {"connection_id":124867,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1360e0012ddc6300050dc738000901012c..."} 
[2026-07-07 20:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1360e0012ddc6300050dc738000901012c..."} 
[2026-07-07 20:25:33] local.INFO: Processing buffer {"connection_id":124867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1360e0012ddc6300050dc738000901012c..."} 
[2026-07-07 20:25:33] local.INFO: Packet analysis {"connection_id":124867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d13"} 
[2026-07-07 20:25:33] local.INFO: Extracted packet for processing {"connection_id":124867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d13"} 
[2026-07-07 20:25:33] local.INFO: GPS Element Parsed {"raw_longitude":769417984,"raw_latitude":84789048,"longitude_deg":76.9417984,"latitude_deg":8.4789048,"altitude":9,"angle":257,"satellites":44,"speed":15,"hex_longitude":"2ddc6300","hex_latitude":"050dc738","is_valid_coordinates":true} 
[2026-07-07 20:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559642880001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341850397142417408,"note":"Value kept but may cause issues"} 
[2026-07-07 20:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2565011072314005504,"note":"Value kept but may cause issues"} 
[2026-07-07 20:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783436108000,"timestamp_ms":1783436108000,"timestamp_seconds":1783436108,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1360e0"} 
[2026-07-07 20:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:25: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":196,"data_length":795,"current_offset":136} 
[2026-07-07 20:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559642880001,"66":27343,"89":206,"80":33792,"24":15,"16":341850397142417408,"45":-2565011072314005504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,80,24,16,45]} 
[2026-07-07 20:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559642880001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:25:33] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-07 20:25:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341850397142417408,"km_value":341850397142417.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2565011072314005504,"description":"Unknown IO ID 45"} 
[2026-07-07 20:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559642880001,"power":27343,"unknown_89":206,"unknown_80":33792,"ignition":15,"odometer":null,"unknown_45":-2565011072314005504}} 
[2026-07-07 20:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":124867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:25:33] local.INFO: GPS data processed {"connection_id":124867,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:25:33] local.INFO: Acknowledgment sent {"connection_id":124867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:25:33] local.INFO: TCP Data received {"connection_id":126839,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:25:33] local.INFO: Processing buffer {"connection_id":126839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:25:33] local.INFO: IMEI packet received {"connection_id":126839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":126839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:25:39] local.INFO: TCP Data received {"connection_id":126839,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:25:39] local.INFO: Processing buffer {"connection_id":126839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:25:39] local.INFO: IMEI packet received {"connection_id":126839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":126839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:25:40] local.INFO: TCP Data received {"connection_id":126839,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:25:40] local.INFO: Processing buffer {"connection_id":126839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:25:40] local.INFO: Packet analysis {"connection_id":126839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:25:40] local.INFO: Extracted packet for processing {"connection_id":126839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:25:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559503360001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783435860000,"timestamp_ms":1783435860000,"timestamp_seconds":1783435860,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0f9820"} 
[2026-07-07 20:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559503360001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559503360001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:25:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:25:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559503360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":126839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:25:40] local.INFO: GPS data processed {"connection_id":126839,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:25:40] local.INFO: Acknowledgment sent {"connection_id":126839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:25:58] local.INFO: TCP Data received {"connection_id":125575,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:25:58] local.INFO: Processing buffer {"connection_id":125575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:25:58] local.INFO: IMEI packet received {"connection_id":125575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":125575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:25:59] local.INFO: TCP Data received {"connection_id":125575,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:25:59] local.INFO: Processing buffer {"connection_id":125575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:25:59] local.INFO: IMEI packet received {"connection_id":125575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":125575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:26:00] local.INFO: TCP Data received {"connection_id":125575,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:26:00] local.INFO: Processing buffer {"connection_id":125575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:26:00] local.INFO: IMEI packet received {"connection_id":125575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":125575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:26:00] local.INFO: TCP Data received {"connection_id":125575,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d137468012ddc5a40050dc518000901152c..."} 
[2026-07-07 20:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d137468012ddc5a40050dc518000901152c..."} 
[2026-07-07 20:26:00] local.INFO: Processing buffer {"connection_id":125575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d137468012ddc5a40050dc518000901152c..."} 
[2026-07-07 20:26:00] local.INFO: Packet analysis {"connection_id":125575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d13"} 
[2026-07-07 20:26:00] local.INFO: Extracted packet for processing {"connection_id":125575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d13"} 
[2026-07-07 20:26:00] local.INFO: GPS Element Parsed {"raw_longitude":769415744,"raw_latitude":84788504,"longitude_deg":76.9415744,"latitude_deg":8.4788504,"altitude":9,"angle":277,"satellites":44,"speed":21,"hex_longitude":"2ddc5a40","hex_latitude":"050dc518","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559643648001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341850508811567104,"note":"Value kept but may cause issues"} 
[2026-07-07 20:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2566207340965054464,"note":"Value kept but may cause issues"} 
[2026-07-07 20:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783436113000,"timestamp_ms":1783436113000,"timestamp_seconds":1783436113,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d137468"} 
[2026-07-07 20:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:26: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-07-07 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 20:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559643648001,"66":27376,"89":206,"80":33792,"24":21,"16":341850508811567104,"45":-2566207340965054464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,80,24,16,45]} 
[2026-07-07 20:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559643648001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:26:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-07 20:26:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341850508811567104,"km_value":341850508811567.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2566207340965054464,"description":"Unknown IO ID 45"} 
[2026-07-07 20:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559643648001,"power":27376,"unknown_89":206,"unknown_80":33792,"ignition":21,"odometer":null,"unknown_45":-2566207340965054464}} 
[2026-07-07 20:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":125575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:26:00] local.INFO: GPS data processed {"connection_id":125575,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:26:00] local.INFO: Acknowledgment sent {"connection_id":125575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:26:12] local.INFO: TCP Data received {"connection_id":126839,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:26:12] local.INFO: Processing buffer {"connection_id":126839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0f9820012d1962c0071fefb0003c006826..."} 
[2026-07-07 20:26:12] local.INFO: Packet analysis {"connection_id":126839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:26:12] local.INFO: Extracted packet for processing {"connection_id":126839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:26:12] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559503360001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783435860000,"timestamp_ms":1783435860000,"timestamp_seconds":1783435860,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0f9820"} 
[2026-07-07 20:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559503360001,"66":2166,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559503360001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:26:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:26:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559503360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":126839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:26:12] local.INFO: GPS data processed {"connection_id":126839,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:26:12] local.INFO: Acknowledgment sent {"connection_id":126839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:26:32] local.INFO: TCP Data received {"connection_id":125575,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d137850012ddc57c0050dc5b0000901222c..."} 
[2026-07-07 20:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d137850012ddc57c0050dc5b0000901222c..."} 
[2026-07-07 20:26:32] local.INFO: Processing buffer {"connection_id":125575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d137850012ddc57c0050dc5b0000901222c..."} 
[2026-07-07 20:26:32] local.INFO: Packet analysis {"connection_id":125575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d13"} 
[2026-07-07 20:26:32] local.INFO: Extracted packet for processing {"connection_id":125575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d13"} 
[2026-07-07 20:26:32] local.INFO: GPS Element Parsed {"raw_longitude":769415104,"raw_latitude":84788656,"longitude_deg":76.9415104,"latitude_deg":8.4788656,"altitude":9,"angle":290,"satellites":44,"speed":23,"hex_longitude":"2ddc57c0","hex_latitude":"050dc5b0","is_valid_coordinates":true} 
[2026-07-07 20:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559644928001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341850538876338176,"note":"Value kept but may cause issues"} 
[2026-07-07 20:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2568670247011411968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783436114000,"timestamp_ms":1783436114000,"timestamp_seconds":1783436114,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d137850"} 
[2026-07-07 20:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 20:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559644928001,"66":27376,"89":206,"80":33792,"24":23,"16":341850538876338176,"45":-2568670247011411968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,80,24,16,45]} 
[2026-07-07 20:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559644928001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:26:32] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-07 20:26:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341850538876338176,"km_value":341850538876338.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2568670247011411968,"description":"Unknown IO ID 45"} 
[2026-07-07 20:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559644928001,"power":27376,"unknown_89":206,"unknown_80":33792,"ignition":23,"odometer":null,"unknown_45":-2568670247011411968}} 
[2026-07-07 20:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":125575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:26:32] local.INFO: GPS data processed {"connection_id":125575,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:26:32] local.INFO: Acknowledgment sent {"connection_id":125575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:26:33] local.INFO: TCP Data received {"connection_id":124767,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:26:33] local.INFO: Processing buffer {"connection_id":124767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:26:33] local.INFO: IMEI packet received {"connection_id":124767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":124767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:26:38] local.INFO: TCP Data received {"connection_id":124767,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:26:38] local.INFO: Processing buffer {"connection_id":124767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:26:38] local.INFO: IMEI packet received {"connection_id":124767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":124767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:26:43] local.INFO: TCP Data received {"connection_id":124767,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:26:43] local.INFO: Processing buffer {"connection_id":124767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:26:43] local.INFO: Packet analysis {"connection_id":124767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:26:43] local.INFO: Extracted packet for processing {"connection_id":124767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:26:43] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 20:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559580160001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 20:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783436161000,"timestamp_ms":1783436161000,"timestamp_seconds":1783436161,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d142fe8"} 
[2026-07-07 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-07-07 20:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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-07-07 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-07-07 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-07-07 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-07-07 20:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559580160001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559580160001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:26:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:26:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559580160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":124767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:26:43] local.INFO: GPS data processed {"connection_id":124767,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:26:43] local.INFO: Acknowledgment sent {"connection_id":124767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:26:44] local.INFO: TCP Data received {"connection_id":124767,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:26:44] local.INFO: Processing buffer {"connection_id":124767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:26:44] local.INFO: Packet analysis {"connection_id":124767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:26:44] local.INFO: Extracted packet for processing {"connection_id":124767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:26:44] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559580160001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783436161000,"timestamp_ms":1783436161000,"timestamp_seconds":1783436161,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d142fe8"} 
[2026-07-07 20:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559580160001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559580160001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:26:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:26:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559580160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":124767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:26:44] local.INFO: GPS data processed {"connection_id":124767,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:26:44] local.INFO: Acknowledgment sent {"connection_id":124767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:27:03] local.INFO: TCP Data received {"connection_id":124868,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:27:03] local.INFO: Processing buffer {"connection_id":124868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:27:03] local.INFO: IMEI packet received {"connection_id":124868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":124868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:27:08] local.INFO: TCP Data received {"connection_id":124868,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:27:08] local.INFO: Processing buffer {"connection_id":124868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:27:08] local.INFO: IMEI packet received {"connection_id":124868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":124868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:27:09] local.INFO: TCP Data received {"connection_id":124868,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d138bd8012ddc4ac0050dc9f8000801142a..."} 
[2026-07-07 20:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d138bd8012ddc4ac0050dc9f8000801142a..."} 
[2026-07-07 20:27:09] local.INFO: Processing buffer {"connection_id":124868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d138bd8012ddc4ac0050dc9f8000801142a..."} 
[2026-07-07 20:27:09] local.INFO: Packet analysis {"connection_id":124868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d13"} 
[2026-07-07 20:27:09] local.INFO: Extracted packet for processing {"connection_id":124868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d13"} 
[2026-07-07 20:27:09] local.INFO: GPS Element Parsed {"raw_longitude":769411776,"raw_latitude":84789752,"longitude_deg":76.9411776,"latitude_deg":8.4789752,"altitude":8,"angle":276,"satellites":42,"speed":32,"hex_longitude":"2ddc4ac0","hex_latitude":"050dc9f8","is_valid_coordinates":true} 
[2026-07-07 20:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559645184001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341850706380062720,"note":"Value kept but may cause issues"} 
[2026-07-07 20:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2569373934453149696,"note":"Value kept but may cause issues"} 
[2026-07-07 20:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783436119000,"timestamp_ms":1783436119000,"timestamp_seconds":1783436119,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d138bd8"} 
[2026-07-07 20:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 20:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559645184001,"66":27245,"89":206,"80":33792,"24":32,"16":341850706380062720,"45":-2569373934453149696},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,80,24,16,45]} 
[2026-07-07 20:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559645184001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:27:09] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-07 20:27:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341850706380062720,"km_value":341850706380062.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2569373934453149696,"description":"Unknown IO ID 45"} 
[2026-07-07 20:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559645184001,"power":27245,"unknown_89":206,"unknown_80":33792,"ignition":32,"odometer":null,"unknown_45":-2569373934453149696}} 
[2026-07-07 20:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":124868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:27:09] local.INFO: GPS data processed {"connection_id":124868,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:27:09] local.INFO: Acknowledgment sent {"connection_id":124868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:27:16] local.INFO: TCP Data received {"connection_id":124767,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:27:16] local.INFO: Processing buffer {"connection_id":124767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:27:16] local.INFO: Packet analysis {"connection_id":124767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:27:16] local.INFO: Extracted packet for processing {"connection_id":124767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:27:16] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559580160001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783436161000,"timestamp_ms":1783436161000,"timestamp_seconds":1783436161,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d142fe8"} 
[2026-07-07 20:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:27: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-07-07 20:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559580160001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559580160001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:27:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:27:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559580160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":124767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:27:16] local.INFO: GPS data processed {"connection_id":124767,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:27:16] local.INFO: Acknowledgment sent {"connection_id":124767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:27:39] local.INFO: TCP Data received {"connection_id":126840,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:27:39] local.INFO: Processing buffer {"connection_id":126840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:27:39] local.INFO: IMEI packet received {"connection_id":126840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":126840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:27:41] local.INFO: TCP Data received {"connection_id":124868,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1531b8012ddb6d00050de498000701252d..."} 
[2026-07-07 20:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1531b8012ddb6d00050de498000701252d..."} 
[2026-07-07 20:27:41] local.INFO: Processing buffer {"connection_id":124868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1531b8012ddb6d00050de498000701252d..."} 
[2026-07-07 20:27:41] local.INFO: Packet analysis {"connection_id":124868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d15"} 
[2026-07-07 20:27:41] local.INFO: Extracted packet for processing {"connection_id":124868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d15"} 
[2026-07-07 20:27:41] local.INFO: GPS Element Parsed {"raw_longitude":769355008,"raw_latitude":84796568,"longitude_deg":76.9355008,"latitude_deg":8.4796568,"altitude":7,"angle":293,"satellites":45,"speed":36,"hex_longitude":"2ddb6d00","hex_latitude":"050de498","is_valid_coordinates":true} 
[2026-07-07 20:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559671040001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341853549648412672,"note":"Value kept but may cause issues"} 
[2026-07-07 20:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2626372617236105216,"note":"Value kept but may cause issues"} 
[2026-07-07 20:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783436227000,"timestamp_ms":1783436227000,"timestamp_seconds":1783436227,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1531b8"} 
[2026-07-07 20:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20: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":98,"data_length":795,"current_offset":136} 
[2026-07-07 20:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559671040001,"66":27539,"89":206,"80":33792,"24":36,"16":341853549648412672,"45":-2626372617236105216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,80,24,16,45]} 
[2026-07-07 20:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559671040001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:27:41] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-07 20:27:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341853549648412672,"km_value":341853549648412.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2626372617236105216,"description":"Unknown IO ID 45"} 
[2026-07-07 20:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559671040001,"power":27539,"unknown_89":206,"unknown_80":33792,"ignition":36,"odometer":null,"unknown_45":-2626372617236105216}} 
[2026-07-07 20:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":124868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:27:41] local.INFO: GPS data processed {"connection_id":124868,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:27:41] local.INFO: Acknowledgment sent {"connection_id":124868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:27:45] local.INFO: TCP Data received {"connection_id":126840,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:27:45] local.INFO: Processing buffer {"connection_id":126840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:27:45] local.INFO: IMEI packet received {"connection_id":126840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":126840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:27:46] local.INFO: TCP Data received {"connection_id":126840,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:27:46] local.INFO: Processing buffer {"connection_id":126840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:27:46] local.INFO: Packet analysis {"connection_id":126840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:27:46] local.INFO: Extracted packet for processing {"connection_id":126840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559580160001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783436161000,"timestamp_ms":1783436161000,"timestamp_seconds":1783436161,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d142fe8"} 
[2026-07-07 20:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":126840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":126840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":126840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559580160001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559580160001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:27:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:27:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559580160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":126840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:27:46] local.INFO: GPS data processed {"connection_id":126840,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:27:46] local.INFO: Acknowledgment sent {"connection_id":126840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:27:49] local.INFO: TCP Data received {"connection_id":126840,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:27:49] local.INFO: Processing buffer {"connection_id":126840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:27:49] local.INFO: Packet analysis {"connection_id":126840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:27:49] local.INFO: Extracted packet for processing {"connection_id":126840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:27:49] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559580160001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783436161000,"timestamp_ms":1783436161000,"timestamp_seconds":1783436161,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d142fe8"} 
[2026-07-07 20:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":126840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":126840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":126840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559580160001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559580160001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:27:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:27:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559580160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":126840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:27:49] local.INFO: GPS data processed {"connection_id":126840,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:27:49] local.INFO: Acknowledgment sent {"connection_id":126840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:27:57] local.INFO: TCP Data received {"connection_id":124768,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:27:57] local.INFO: Processing buffer {"connection_id":124768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:27:57] local.INFO: IMEI packet received {"connection_id":124768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":124768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:27:58] local.INFO: TCP Data received {"connection_id":124768,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:27:58] local.INFO: Processing buffer {"connection_id":124768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:27:58] local.INFO: IMEI packet received {"connection_id":124768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":124768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:27:58] local.INFO: TCP Data received {"connection_id":126841,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:27:58] local.INFO: Processing buffer {"connection_id":126841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:27:58] local.INFO: IMEI packet received {"connection_id":126841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":126841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:27:59] local.INFO: TCP Data received {"connection_id":124768,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:27:59] local.INFO: Processing buffer {"connection_id":124768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:27:59] local.INFO: IMEI packet received {"connection_id":124768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":124768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:28:03] local.INFO: TCP Data received {"connection_id":124768,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:28:03] local.INFO: Processing buffer {"connection_id":124768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:28:03] local.INFO: IMEI packet received {"connection_id":124768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":124768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:28:04] local.INFO: TCP Data received {"connection_id":124768,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d156098012ddb4bc0050df2d8000701132c..."} 
[2026-07-07 20:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d156098012ddb4bc0050df2d8000701132c..."} 
[2026-07-07 20:28:04] local.INFO: Processing buffer {"connection_id":124768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d156098012ddb4bc0050df2d8000701132c..."} 
[2026-07-07 20:28:04] local.INFO: Packet analysis {"connection_id":124768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d15"} 
[2026-07-07 20:28:04] local.INFO: Extracted packet for processing {"connection_id":124768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d15"} 
[2026-07-07 20:28:04] local.INFO: GPS Element Parsed {"raw_longitude":769346496,"raw_latitude":84800216,"longitude_deg":76.9346496,"latitude_deg":8.4800216,"altitude":7,"angle":275,"satellites":44,"speed":18,"hex_longitude":"2ddb4bc0","hex_latitude":"050df2d8","is_valid_coordinates":true} 
[2026-07-07 20:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559674112001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341854000619978752,"note":"Value kept but may cause issues"} 
[2026-07-07 20:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2635450185233950720,"note":"Value kept but may cause issues"} 
[2026-07-07 20:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783436239000,"timestamp_ms":1783436239000,"timestamp_seconds":1783436239,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d156098"} 
[2026-07-07 20:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-07 20:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559674112001,"66":27517,"89":206,"80":33792,"24":18,"16":341854000619978752,"45":-2635450185233950720},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,80,24,16,45]} 
[2026-07-07 20:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559674112001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:28:04] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-07 20:28:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341854000619978752,"km_value":341854000619978.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2635450185233950720,"description":"Unknown IO ID 45"} 
[2026-07-07 20:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559674112001,"power":27517,"unknown_89":206,"unknown_80":33792,"ignition":18,"odometer":null,"unknown_45":-2635450185233950720}} 
[2026-07-07 20:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":124768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:28:04] local.INFO: GPS data processed {"connection_id":124768,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:28:04] local.INFO: Acknowledgment sent {"connection_id":124768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:28:05] local.INFO: TCP Data received {"connection_id":126841,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:28:05] local.INFO: Processing buffer {"connection_id":126841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:28:05] local.INFO: IMEI packet received {"connection_id":126841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":126841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:28:06] local.INFO: TCP Data received {"connection_id":126841,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0f22f0012d77b88005f224f8000d015726..."} 
[2026-07-07 20:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0f22f0012d77b88005f224f8000d015726..."} 
[2026-07-07 20:28:06] local.INFO: Processing buffer {"connection_id":126841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0f22f0012d77b88005f224f8000d015726..."} 
[2026-07-07 20:28:06] local.INFO: Packet analysis {"connection_id":126841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:28:06] local.INFO: Extracted packet for processing {"connection_id":126841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:28:06] local.INFO: GPS Element Parsed {"raw_longitude":762820736,"raw_latitude":99755256,"longitude_deg":76.2820736,"latitude_deg":9.9755256,"altitude":13,"angle":343,"satellites":38,"speed":10,"hex_longitude":"2d77b880","hex_latitude":"05f224f8","is_valid_coordinates":true} 
[2026-07-07 20:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559567104001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132255366032392192,"note":"Value kept but may cause issues"} 
[2026-07-07 20:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8629319124042620928,"note":"Value kept but may cause issues"} 
[2026-07-07 20:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783435830000,"timestamp_ms":1783435830000,"timestamp_seconds":1783435830,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0f22f0"} 
[2026-07-07 20:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 20:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126841,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126841,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559567104001,"66":27908,"161":206,"87":13568,"24":10,"16":132255366032392192,"45":8629319124042620928},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-07 20:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559567104001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:28:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-07 20:28:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-07-07 20:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132255366032392192,"km_value":132255366032392.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8629319124042620928,"description":"Unknown IO ID 45"} 
[2026-07-07 20:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559567104001,"power":27908,"unknown_161":206,"unknown_87":13568,"ignition":10,"odometer":null,"unknown_45":8629319124042620928}} 
[2026-07-07 20:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":126841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447607,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:28:06] local.INFO: GPS data processed {"connection_id":126841,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:28:06] local.INFO: Acknowledgment sent {"connection_id":126841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:28:34] local.INFO: TCP Data received {"connection_id":124769,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:28:34] local.INFO: Processing buffer {"connection_id":124769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:28:34] local.INFO: IMEI packet received {"connection_id":124769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":124769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:28:36] local.INFO: TCP Data received {"connection_id":124768,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d156098012ddb4bc0050df2d8000701132c..."} 
[2026-07-07 20:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d156098012ddb4bc0050df2d8000701132c..."} 
[2026-07-07 20:28:36] local.INFO: Processing buffer {"connection_id":124768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d156098012ddb4bc0050df2d8000701132c..."} 
[2026-07-07 20:28:36] local.INFO: Packet analysis {"connection_id":124768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d15"} 
[2026-07-07 20:28:36] local.INFO: Extracted packet for processing {"connection_id":124768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d15"} 
[2026-07-07 20:28:36] local.INFO: GPS Element Parsed {"raw_longitude":769346496,"raw_latitude":84800216,"longitude_deg":76.9346496,"latitude_deg":8.4800216,"altitude":7,"angle":275,"satellites":44,"speed":18,"hex_longitude":"2ddb4bc0","hex_latitude":"050df2d8","is_valid_coordinates":true} 
[2026-07-07 20:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559677184001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341854000619978752,"note":"Value kept but may cause issues"} 
[2026-07-07 20:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2644809228208646144,"note":"Value kept but may cause issues"} 
[2026-07-07 20:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783436239000,"timestamp_ms":1783436239000,"timestamp_seconds":1783436239,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d156098"} 
[2026-07-07 20:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 20:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559677184001,"66":27517,"89":206,"80":33792,"24":18,"16":341854000619978752,"45":-2644809228208646144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,80,24,16,45]} 
[2026-07-07 20:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559677184001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:28:36] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-07 20:28:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341854000619978752,"km_value":341854000619978.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2644809228208646144,"description":"Unknown IO ID 45"} 
[2026-07-07 20:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559677184001,"power":27517,"unknown_89":206,"unknown_80":33792,"ignition":18,"odometer":null,"unknown_45":-2644809228208646144}} 
[2026-07-07 20:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":124768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:28:36] local.INFO: GPS data processed {"connection_id":124768,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:28:36] local.INFO: Acknowledgment sent {"connection_id":124768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:28:39] local.INFO: TCP Data received {"connection_id":124769,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:28:39] local.INFO: Processing buffer {"connection_id":124769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:28:39] local.INFO: IMEI packet received {"connection_id":124769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":124769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:28:40] local.INFO: TCP Data received {"connection_id":124769,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:28:40] local.INFO: Processing buffer {"connection_id":124769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:28:40] local.INFO: Packet analysis {"connection_id":124769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:28:40] local.INFO: Extracted packet for processing {"connection_id":124769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:28:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559580160001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783436161000,"timestamp_ms":1783436161000,"timestamp_seconds":1783436161,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d142fe8"} 
[2026-07-07 20:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559580160001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559580160001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:28:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:28:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559580160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":124769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:28:40] local.INFO: GPS data processed {"connection_id":124769,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:28:40] local.INFO: Acknowledgment sent {"connection_id":124769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:28:41] local.INFO: TCP Data received {"connection_id":126841,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0f6558012d77ac8005f24700000d015e23..."} 
[2026-07-07 20:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0f6558012d77ac8005f24700000d015e23..."} 
[2026-07-07 20:28:41] local.INFO: Processing buffer {"connection_id":126841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0f6558012d77ac8005f24700000d015e23..."} 
[2026-07-07 20:28:41] local.INFO: Packet analysis {"connection_id":126841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:28:41] local.INFO: Extracted packet for processing {"connection_id":126841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:28:41] local.INFO: GPS Element Parsed {"raw_longitude":762817664,"raw_latitude":99763968,"longitude_deg":76.2817664,"latitude_deg":9.9763968,"altitude":13,"angle":350,"satellites":35,"speed":25,"hex_longitude":"2d77ac80","hex_latitude":"05f24700","is_valid_coordinates":true} 
[2026-07-07 20:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559572480001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132255817003958272,"note":"Value kept but may cause issues"} 
[2026-07-07 20:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8626785849253885952,"note":"Value kept but may cause issues"} 
[2026-07-07 20:28:41] 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-07-07 20:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783435847000,"timestamp_ms":1783435847000,"timestamp_seconds":1783435847,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0f6558"} 
[2026-07-07 20:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:28: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-07-07 20: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 20:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126841,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126841,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559572480001,"66":27713,"134":206,"87":13568,"24":25,"16":132255817003958272,"45":8626785849253885952},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-07-07 20:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559572480001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:28:41] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-07 20:28:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-07-07 20:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132255817003958272,"km_value":132255817003958.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8626785849253885952,"description":"Unknown IO ID 45"} 
[2026-07-07 20:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559572480001,"power":27713,"unknown_134":206,"unknown_87":13568,"ignition":25,"odometer":null,"unknown_45":8626785849253885952}} 
[2026-07-07 20:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":126841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447610,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:28:41] local.INFO: GPS data processed {"connection_id":126841,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:28:41] local.INFO: Acknowledgment sent {"connection_id":126841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:28:57] local.INFO: TCP Data received {"connection_id":124770,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:28:57] local.INFO: Processing buffer {"connection_id":124770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:28:57] local.INFO: IMEI packet received {"connection_id":124770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":124770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:28:58] local.INFO: TCP Data received {"connection_id":124770,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:28:58] local.INFO: Processing buffer {"connection_id":124770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:28:58] local.INFO: IMEI packet received {"connection_id":124770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":124770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:29:03] local.INFO: TCP Data received {"connection_id":124770,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:29:03] local.INFO: Processing buffer {"connection_id":124770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:29:03] local.INFO: IMEI packet received {"connection_id":124770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":124770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:29:04] local.INFO: TCP Data received {"connection_id":124770,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d156868012ddb4800050df2a8000701012c..."} 
[2026-07-07 20:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d156868012ddb4800050df2a8000701012c..."} 
[2026-07-07 20:29:04] local.INFO: Processing buffer {"connection_id":124770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d156868012ddb4800050df2a8000701012c..."} 
[2026-07-07 20:29:04] local.INFO: Packet analysis {"connection_id":124770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d15"} 
[2026-07-07 20:29:04] local.INFO: Extracted packet for processing {"connection_id":124770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d15"} 
[2026-07-07 20:29:04] local.INFO: GPS Element Parsed {"raw_longitude":769345536,"raw_latitude":84800168,"longitude_deg":76.9345536,"latitude_deg":8.4800168,"altitude":7,"angle":257,"satellites":44,"speed":17,"hex_longitude":"2ddb4800","hex_latitude":"050df2a8","is_valid_coordinates":true} 
[2026-07-07 20:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559677184001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341854043569651712,"note":"Value kept but may cause issues"} 
[2026-07-07 20:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2644809228208646144,"note":"Value kept but may cause issues"} 
[2026-07-07 20:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783436241000,"timestamp_ms":1783436241000,"timestamp_seconds":1783436241,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d156868"} 
[2026-07-07 20:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 20:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559677184001,"66":27104,"89":206,"80":33792,"24":17,"16":341854043569651712,"45":-2644809228208646144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,80,24,16,45]} 
[2026-07-07 20:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559677184001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:29:04] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-07 20:29:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-07-07 20:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341854043569651712,"km_value":341854043569651.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2644809228208646144,"description":"Unknown IO ID 45"} 
[2026-07-07 20:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559677184001,"power":27104,"unknown_89":206,"unknown_80":33792,"ignition":17,"odometer":null,"unknown_45":-2644809228208646144}} 
[2026-07-07 20:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":124770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:29:04] local.INFO: GPS data processed {"connection_id":124770,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:29:04] local.INFO: Acknowledgment sent {"connection_id":124770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:29:12] local.INFO: TCP Data received {"connection_id":124769,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:29:12] local.INFO: Processing buffer {"connection_id":124769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:29:12] local.INFO: Packet analysis {"connection_id":124769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:29:12] local.INFO: Extracted packet for processing {"connection_id":124769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:29:12] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559580160001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783436161000,"timestamp_ms":1783436161000,"timestamp_seconds":1783436161,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d142fe8"} 
[2026-07-07 20:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559580160001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559580160001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:29:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:29:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559580160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":124769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:29:12] local.INFO: GPS data processed {"connection_id":124769,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:29:12] local.INFO: Acknowledgment sent {"connection_id":124769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:29:13] local.INFO: TCP Data received {"connection_id":125576,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:29:13] local.INFO: Processing buffer {"connection_id":125576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:29:13] local.INFO: IMEI packet received {"connection_id":125576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":125576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:29:18] local.INFO: TCP Data received {"connection_id":125576,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:29:18] local.INFO: Processing buffer {"connection_id":125576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:29:18] local.INFO: IMEI packet received {"connection_id":125576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":125576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:29:19] local.INFO: TCP Data received {"connection_id":125576,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0f78e0012d77ab8005f25098000d000023..."} 
[2026-07-07 20:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0f78e0012d77ab8005f25098000d000023..."} 
[2026-07-07 20:29:19] local.INFO: Processing buffer {"connection_id":125576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0f78e0012d77ab8005f25098000d000023..."} 
[2026-07-07 20:29:19] local.INFO: Packet analysis {"connection_id":125576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:29:19] local.INFO: Extracted packet for processing {"connection_id":125576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:29:19] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99766424,"longitude_deg":76.2817408,"latitude_deg":9.9766424,"altitude":13,"angle":0,"satellites":35,"speed":17,"hex_longitude":"2d77ab80","hex_latitude":"05f25098","is_valid_coordinates":true} 
[2026-07-07 20:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559576832001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132255937263042560,"note":"Value kept but may cause issues"} 
[2026-07-07 20:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623408149535588352,"note":"Value kept but may cause issues"} 
[2026-07-07 20:29:19] 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-07-07 20:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783435852000,"timestamp_ms":1783435852000,"timestamp_seconds":1783435852,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0f78e0"} 
[2026-07-07 20:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-07 20:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":125576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":125576,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":125576,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559576832001,"66":27908,"134":206,"87":13568,"24":17,"16":132255937263042560,"45":8623408149535588352},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-07-07 20:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559576832001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:29:19] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-07 20:29:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-07-07 20:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132255937263042560,"km_value":132255937263042.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623408149535588352,"description":"Unknown IO ID 45"} 
[2026-07-07 20:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559576832001,"power":27908,"unknown_134":206,"unknown_87":13568,"ignition":17,"odometer":null,"unknown_45":8623408149535588352}} 
[2026-07-07 20:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":125576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447613,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:29:19] local.INFO: GPS data processed {"connection_id":125576,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:29:19] local.INFO: Acknowledgment sent {"connection_id":125576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:29:33] local.INFO: TCP Data received {"connection_id":124869,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:29:33] local.INFO: Processing buffer {"connection_id":124869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:29:33] local.INFO: IMEI packet received {"connection_id":124869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":124869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:29:35] local.INFO: TCP Data received {"connection_id":124770,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d16b088012ddad980050e4ec00007013d2c..."} 
[2026-07-07 20:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d16b088012ddad980050e4ec00007013d2c..."} 
[2026-07-07 20:29:35] local.INFO: Processing buffer {"connection_id":124770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d16b088012ddad980050e4ec00007013d2c..."} 
[2026-07-07 20:29:35] local.INFO: Packet analysis {"connection_id":124770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d16"} 
[2026-07-07 20:29:35] local.INFO: Extracted packet for processing {"connection_id":124770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d16"} 
[2026-07-07 20:29:35] local.INFO: GPS Element Parsed {"raw_longitude":769317248,"raw_latitude":84823744,"longitude_deg":76.9317248,"latitude_deg":8.4823744,"altitude":7,"angle":317,"satellites":44,"speed":32,"hex_longitude":"2ddad980","hex_latitude":"050e4ec0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559696384001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341855972009967616,"note":"Value kept but may cause issues"} 
[2026-07-07 20:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2670001238619963392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783436325000,"timestamp_ms":1783436325000,"timestamp_seconds":1783436325,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d16b088"} 
[2026-07-07 20:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:29: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-07-07 20:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-07 20:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559696384001,"66":27376,"180":206,"80":34304,"24":32,"16":341855972009967616,"45":-2670001238619963392},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-07-07 20:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559696384001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:29:35] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-07 20:29:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341855972009967616,"km_value":341855972009967.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2670001238619963392,"description":"Unknown IO ID 45"} 
[2026-07-07 20:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559696384001,"power":27376,"unknown_180":206,"unknown_80":34304,"ignition":32,"odometer":null,"unknown_45":-2670001238619963392}} 
[2026-07-07 20:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":124770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:29:35] local.INFO: GPS data processed {"connection_id":124770,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:29:35] local.INFO: Acknowledgment sent {"connection_id":124770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:29:39] local.INFO: TCP Data received {"connection_id":124869,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:29:39] local.INFO: Processing buffer {"connection_id":124869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:29:39] local.INFO: IMEI packet received {"connection_id":124869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":124869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:29:40] local.INFO: TCP Data received {"connection_id":124869,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:29:40] local.INFO: Processing buffer {"connection_id":124869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:29:40] local.INFO: Packet analysis {"connection_id":124869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:29:40] local.INFO: Extracted packet for processing {"connection_id":124869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:29:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559580160001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783436161000,"timestamp_ms":1783436161000,"timestamp_seconds":1783436161,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d142fe8"} 
[2026-07-07 20:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559580160001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559580160001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:29:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:29:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559580160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":124869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:29:40] local.INFO: GPS data processed {"connection_id":124869,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:29:40] local.INFO: Acknowledgment sent {"connection_id":124869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:29:58] local.INFO: TCP Data received {"connection_id":126842,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:29:58] local.INFO: Processing buffer {"connection_id":126842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:29:58] local.INFO: IMEI packet received {"connection_id":126842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":126842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:29:58] local.INFO: TCP Data received {"connection_id":125577,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:29:58] local.INFO: Processing buffer {"connection_id":125577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:29:58] local.INFO: IMEI packet received {"connection_id":125577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":125577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:30:03] local.INFO: TCP Data received {"connection_id":125577,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:30:03] local.INFO: Processing buffer {"connection_id":125577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:30:03] local.INFO: IMEI packet received {"connection_id":125577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":125577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:30:04] local.INFO: TCP Data received {"connection_id":125577,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0fbf30012d77a94005f272080007015e23..."} 
[2026-07-07 20:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0fbf30012d77a94005f272080007015e23..."} 
[2026-07-07 20:30:04] local.INFO: Processing buffer {"connection_id":125577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0fbf30012d77a94005f272080007015e23..."} 
[2026-07-07 20:30:04] local.INFO: Packet analysis {"connection_id":125577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:30:04] local.INFO: Extracted packet for processing {"connection_id":125577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:30:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99774984,"longitude_deg":76.2816832,"latitude_deg":9.9774984,"altitude":7,"angle":350,"satellites":35,"speed":16,"hex_longitude":"2d77a940","hex_latitude":"05f27208","is_valid_coordinates":true} 
[2026-07-07 20:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559578112001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256353874870272,"note":"Value kept but may cause issues"} 
[2026-07-07 20:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674559506432,"note":"Value kept but may cause issues"} 
[2026-07-07 20:30:04] 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-07-07 20:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783435870000,"timestamp_ms":1783435870000,"timestamp_seconds":1783435870,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0fbf30"} 
[2026-07-07 20:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 20:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559578112001,"66":27767,"134":206,"87":13568,"24":16,"16":132256353874870272,"45":8623126674559506432},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-07-07 20:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559578112001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:30:04] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-07 20:30:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-07-07 20:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256353874870272,"km_value":132256353874870.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674559506432,"description":"Unknown IO ID 45"} 
[2026-07-07 20:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559578112001,"power":27767,"unknown_134":206,"unknown_87":13568,"ignition":16,"odometer":null,"unknown_45":8623126674559506432}} 
[2026-07-07 20:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":125577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447616,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:30:04] local.INFO: GPS data processed {"connection_id":125577,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:30:04] local.INFO: Acknowledgment sent {"connection_id":125577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:30:15] local.INFO: TCP Data received {"connection_id":124869,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:30:15] local.INFO: Processing buffer {"connection_id":124869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:30:15] local.INFO: Packet analysis {"connection_id":124869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:30:15] local.INFO: Extracted packet for processing {"connection_id":124869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559580160001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783436161000,"timestamp_ms":1783436161000,"timestamp_seconds":1783436161,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d142fe8"} 
[2026-07-07 20:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559580160001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559580160001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:30:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:30:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559580160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":124869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:30:15] local.INFO: GPS data processed {"connection_id":124869,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:30:15] local.INFO: Acknowledgment sent {"connection_id":124869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:30:15] local.INFO: TCP Data received {"connection_id":126842,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:30:15] local.INFO: Processing buffer {"connection_id":126842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:30:15] local.INFO: IMEI packet received {"connection_id":126842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":126842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:30:17] local.INFO: TCP Data received {"connection_id":126842,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:30:17] local.INFO: Processing buffer {"connection_id":126842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:30:17] local.INFO: IMEI packet received {"connection_id":126842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":126842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:30:18] local.INFO: TCP Data received {"connection_id":126842,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d16e738012ddac040050e68d80007013b2d..."} 
[2026-07-07 20:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d16e738012ddac040050e68d80007013b2d..."} 
[2026-07-07 20:30:18] local.INFO: Processing buffer {"connection_id":126842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d16e738012ddac040050e68d80007013b2d..."} 
[2026-07-07 20:30:18] local.INFO: Packet analysis {"connection_id":126842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d16"} 
[2026-07-07 20:30:18] local.INFO: Extracted packet for processing {"connection_id":126842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d16"} 
[2026-07-07 20:30:18] local.INFO: GPS Element Parsed {"raw_longitude":769310784,"raw_latitude":84830424,"longitude_deg":76.9310784,"latitude_deg":8.4830424,"altitude":7,"angle":315,"satellites":45,"speed":29,"hex_longitude":"2ddac040","hex_latitude":"050e68d8","is_valid_coordinates":true} 
[2026-07-07 20:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559699200001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341856422981533696,"note":"Value kept but may cause issues"} 
[2026-07-07 20:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2676967744291815424,"note":"Value kept but may cause issues"} 
[2026-07-07 20:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783436339000,"timestamp_ms":1783436339000,"timestamp_seconds":1783436339,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d16e738"} 
[2026-07-07 20:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 20:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":126842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":126842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":126842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559699200001,"66":27365,"180":206,"80":34304,"24":29,"16":341856422981533696,"45":-2676967744291815424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-07-07 20:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559699200001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:30:18] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-07 20:30:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341856422981533696,"km_value":341856422981533.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2676967744291815424,"description":"Unknown IO ID 45"} 
[2026-07-07 20:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559699200001,"power":27365,"unknown_180":206,"unknown_80":34304,"ignition":29,"odometer":null,"unknown_45":-2676967744291815424}} 
[2026-07-07 20:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":126842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:30:18] local.INFO: GPS data processed {"connection_id":126842,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:30:18] local.INFO: Acknowledgment sent {"connection_id":126842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:30:20] local.INFO: TCP Data received {"connection_id":126842,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d170e48012ddab480050e74b00006014f2d..."} 
[2026-07-07 20:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d170e48012ddab480050e74b00006014f2d..."} 
[2026-07-07 20:30:20] local.INFO: Processing buffer {"connection_id":126842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d170e48012ddab480050e74b00006014f2d..."} 
[2026-07-07 20:30:20] local.INFO: Packet analysis {"connection_id":126842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d17"} 
[2026-07-07 20:30:20] local.INFO: Extracted packet for processing {"connection_id":126842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d17"} 
[2026-07-07 20:30:20] local.INFO: GPS Element Parsed {"raw_longitude":769307776,"raw_latitude":84833456,"longitude_deg":76.9307776,"latitude_deg":8.4833456,"altitude":6,"angle":335,"satellites":45,"speed":14,"hex_longitude":"2ddab480","hex_latitude":"050e74b0","is_valid_coordinates":true} 
[2026-07-07 20:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559702784001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341856629139963904,"note":"Value kept but may cause issues"} 
[2026-07-07 20:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2684074987452049408,"note":"Value kept but may cause issues"} 
[2026-07-07 20:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783436349000,"timestamp_ms":1783436349000,"timestamp_seconds":1783436349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d170e48"} 
[2026-07-07 20:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 20:30: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-07-07 20:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":126842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":126842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":126842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559702784001,"66":27365,"180":206,"80":34304,"24":14,"16":341856629139963904,"45":-2684074987452049408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-07-07 20:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559702784001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:30:20] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-07 20:30:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341856629139963904,"km_value":341856629139963.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2684074987452049408,"description":"Unknown IO ID 45"} 
[2026-07-07 20:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559702784001,"power":27365,"unknown_180":206,"unknown_80":34304,"ignition":14,"odometer":null,"unknown_45":-2684074987452049408}} 
[2026-07-07 20:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":126842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:30:20] local.INFO: GPS data processed {"connection_id":126842,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:30:20] local.INFO: Acknowledgment sent {"connection_id":126842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:30:39] local.INFO: TCP Data received {"connection_id":125578,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:30:39] local.INFO: Processing buffer {"connection_id":125578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:30:39] local.INFO: IMEI packet received {"connection_id":125578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":125578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:30:40] local.INFO: TCP Data received {"connection_id":125577,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d0fd2b8012d77a80005f276f00009014f22..."} 
[2026-07-07 20:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d0fd2b8012d77a80005f276f00009014f22..."} 
[2026-07-07 20:30:40] local.INFO: Processing buffer {"connection_id":125577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d0fd2b8012d77a80005f276f00009014f22..."} 
[2026-07-07 20:30:40] local.INFO: Packet analysis {"connection_id":125577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:30:40] local.INFO: Extracted packet for processing {"connection_id":125577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d0f"} 
[2026-07-07 20:30:40] local.INFO: GPS Element Parsed {"raw_longitude":762816512,"raw_latitude":99776240,"longitude_deg":76.2816512,"latitude_deg":9.977624,"altitude":9,"angle":335,"satellites":34,"speed":6,"hex_longitude":"2d77a800","hex_latitude":"05f276f0","is_valid_coordinates":true} 
[2026-07-07 20:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559582720001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256418299379712,"note":"Value kept but may cause issues"} 
[2026-07-07 20:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864098816,"note":"Value kept but may cause issues"} 
[2026-07-07 20:30:40] 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-07-07 20:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783435875000,"timestamp_ms":1783435875000,"timestamp_seconds":1783435875,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d0fd2b8"} 
[2026-07-07 20:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 20:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559582720001,"66":27800,"134":206,"87":13568,"24":6,"16":132256418299379712,"45":8622493355864098816},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-07-07 20:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559582720001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:30:40] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-07 20:30:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-07-07 20:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256418299379712,"km_value":132256418299379.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864098816,"description":"Unknown IO ID 45"} 
[2026-07-07 20:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559582720001,"power":27800,"unknown_134":206,"unknown_87":13568,"ignition":6,"odometer":null,"unknown_45":8622493355864098816}} 
[2026-07-07 20:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":125577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447620,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:30:40] local.INFO: GPS data processed {"connection_id":125577,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:30:40] local.INFO: Acknowledgment sent {"connection_id":125577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:30:44] local.INFO: TCP Data received {"connection_id":125578,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:30:44] local.INFO: Processing buffer {"connection_id":125578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:30:44] local.INFO: IMEI packet received {"connection_id":125578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":125578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:30:45] local.INFO: TCP Data received {"connection_id":125578,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:30:45] local.INFO: Processing buffer {"connection_id":125578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:30:45] local.INFO: Packet analysis {"connection_id":125578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:30:45] local.INFO: Extracted packet for processing {"connection_id":125578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:30:45] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559580160001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783436161000,"timestamp_ms":1783436161000,"timestamp_seconds":1783436161,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d142fe8"} 
[2026-07-07 20:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:30: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-07-07 20:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:30: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-07-07 20:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":125578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":125578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":125578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559580160001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559580160001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:30:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:30:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559580160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":125578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:30:45] local.INFO: GPS data processed {"connection_id":125578,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:30:45] local.INFO: Acknowledgment sent {"connection_id":125578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:30:50] local.INFO: TCP Data received {"connection_id":125578,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:30:50] local.INFO: Processing buffer {"connection_id":125578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:30:50] local.INFO: Packet analysis {"connection_id":125578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:30:50] local.INFO: Extracted packet for processing {"connection_id":125578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:30:50] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559580160001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:30: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-07-07 20:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783436161000,"timestamp_ms":1783436161000,"timestamp_seconds":1783436161,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d142fe8"} 
[2026-07-07 20:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559580160001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559580160001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:30:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:30:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559580160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":125578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:30:50] local.INFO: GPS data processed {"connection_id":125578,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:30:50] local.INFO: Acknowledgment sent {"connection_id":125578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:30:58] local.INFO: TCP Data received {"connection_id":126843,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:30:58] local.INFO: Processing buffer {"connection_id":126843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:30:58] local.INFO: IMEI packet received {"connection_id":126843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":126843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:31:03] local.INFO: TCP Data received {"connection_id":126843,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:31:03] local.INFO: Processing buffer {"connection_id":126843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:31:03] local.INFO: IMEI packet received {"connection_id":126843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":126843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:31:13] local.INFO: TCP Data received {"connection_id":126843,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1024c0012d77a70005f27a80000c014f25..."} 
[2026-07-07 20:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1024c0012d77a70005f27a80000c014f25..."} 
[2026-07-07 20:31:13] local.INFO: Processing buffer {"connection_id":126843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1024c0012d77a70005f27a80000c014f25..."} 
[2026-07-07 20:31:13] local.INFO: Packet analysis {"connection_id":126843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d10"} 
[2026-07-07 20:31:13] local.INFO: Extracted packet for processing {"connection_id":126843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d10"} 
[2026-07-07 20:31:13] local.INFO: GPS Element Parsed {"raw_longitude":762816256,"raw_latitude":99777152,"longitude_deg":76.2816256,"latitude_deg":9.9777152,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a700","hex_latitude":"05f27a80","is_valid_coordinates":true} 
[2026-07-07 20:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559584000001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622141512143532032,"note":"Value kept but may cause issues"} 
[2026-07-07 20:31:13] 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-07-07 20:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783435896000,"timestamp_ms":1783435896000,"timestamp_seconds":1783435896,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1024c0"} 
[2026-07-07 20:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 20:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559584000001,"66":28452,"134":206,"87":13568,"24":0,"16":132256465544019968,"45":8622141512143532032},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-07-07 20:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559584000001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:31:13] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-07 20:31:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-07-07 20:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622141512143532032,"description":"Unknown IO ID 45"} 
[2026-07-07 20:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559584000001,"power":28452,"unknown_134":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622141512143532032}} 
[2026-07-07 20:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":126843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447623,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:31:13] local.INFO: GPS data processed {"connection_id":126843,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:31:13] local.INFO: Acknowledgment sent {"connection_id":126843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:31:13] local.INFO: TCP Data received {"connection_id":124771,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:31:13] local.INFO: Processing buffer {"connection_id":124771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:31:13] local.INFO: IMEI packet received {"connection_id":124771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":124771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:31:14] local.INFO: TCP Data received {"connection_id":124771,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:31:14] local.INFO: Processing buffer {"connection_id":124771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:31:14] local.INFO: IMEI packet received {"connection_id":124771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":124771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:31:27] local.INFO: TCP Data received {"connection_id":124771,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d185280012dd9bd00050f88500010013c2c..."} 
[2026-07-07 20:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d185280012dd9bd00050f88500010013c2c..."} 
[2026-07-07 20:31:27] local.INFO: Processing buffer {"connection_id":124771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d185280012dd9bd00050f88500010013c2c..."} 
[2026-07-07 20:31:27] local.INFO: Packet analysis {"connection_id":124771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:31:27] local.INFO: Extracted packet for processing {"connection_id":124771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:31:27] local.INFO: GPS Element Parsed {"raw_longitude":769244416,"raw_latitude":84904016,"longitude_deg":76.9244416,"latitude_deg":8.4904016,"altitude":16,"angle":316,"satellites":44,"speed":59,"hex_longitude":"2dd9bd00","hex_latitude":"050f8850","is_valid_coordinates":true} 
[2026-07-07 20:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559725056001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341861211870068736,"note":"Value kept but may cause issues"} 
[2026-07-07 20:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2750362344450285568,"note":"Value kept but may cause issues"} 
[2026-07-07 20:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783436432000,"timestamp_ms":1783436432000,"timestamp_seconds":1783436432,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d185280"} 
[2026-07-07 20:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 20:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559725056001,"66":27343,"157":206,"80":34048,"24":59,"16":341861211870068736,"45":-2750362344450285568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-07-07 20:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559725056001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:31:27] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 20:31:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-07-07 20:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341861211870068736,"km_value":341861211870068.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2750362344450285568,"description":"Unknown IO ID 45"} 
[2026-07-07 20:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559725056001,"power":27343,"unknown_157":206,"unknown_80":34048,"ignition":59,"odometer":null,"unknown_45":-2750362344450285568}} 
[2026-07-07 20:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":124771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:31:27] local.INFO: GPS data processed {"connection_id":124771,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:31:27] local.INFO: Acknowledgment sent {"connection_id":124771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:31:28] local.INFO: TCP Data received {"connection_id":124771,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1869f0012dd9a440050fa178000f013b2b..."} 
[2026-07-07 20:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1869f0012dd9a440050fa178000f013b2b..."} 
[2026-07-07 20:31:28] local.INFO: Processing buffer {"connection_id":124771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1869f0012dd9a440050fa178000f013b2b..."} 
[2026-07-07 20:31:28] local.INFO: Packet analysis {"connection_id":124771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:31:28] local.INFO: Extracted packet for processing {"connection_id":124771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:31:28] local.INFO: GPS Element Parsed {"raw_longitude":769238080,"raw_latitude":84910456,"longitude_deg":76.923808,"latitude_deg":8.4910456,"altitude":15,"angle":315,"satellites":43,"speed":59,"hex_longitude":"2dd9a440","hex_latitude":"050fa178","is_valid_coordinates":true} 
[2026-07-07 20:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559726592001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341861645661765632,"note":"Value kept but may cause issues"} 
[2026-07-07 20:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2757047375145447424,"note":"Value kept but may cause issues"} 
[2026-07-07 20:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783436438000,"timestamp_ms":1783436438000,"timestamp_seconds":1783436438,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1869f0"} 
[2026-07-07 20:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:31: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-07-07 20:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 20:31: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-07-07 20:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:31: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-07-07 20:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559726592001,"66":27332,"157":206,"80":34048,"24":59,"16":341861645661765632,"45":-2757047375145447424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-07-07 20:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559726592001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:31:28] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-07 20:31:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-07-07 20:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341861645661765632,"km_value":341861645661765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2757047375145447424,"description":"Unknown IO ID 45"} 
[2026-07-07 20:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559726592001,"power":27332,"unknown_157":206,"unknown_80":34048,"ignition":59,"odometer":null,"unknown_45":-2757047375145447424}} 
[2026-07-07 20:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":124771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:31:28] local.INFO: GPS data processed {"connection_id":124771,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:31:28] local.INFO: Acknowledgment sent {"connection_id":124771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:31:33] local.INFO: TCP Data received {"connection_id":124772,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:31:33] local.INFO: Processing buffer {"connection_id":124772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:31:33] local.INFO: IMEI packet received {"connection_id":124772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":124772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:31:39] local.INFO: TCP Data received {"connection_id":124772,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:31:39] local.INFO: Processing buffer {"connection_id":124772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:31:39] local.INFO: IMEI packet received {"connection_id":124772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":124772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:31:41] local.INFO: TCP Data received {"connection_id":124772,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:31:41] local.INFO: Processing buffer {"connection_id":124772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d142fe8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:31:41] local.INFO: Packet analysis {"connection_id":124772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:31:41] local.INFO: Extracted packet for processing {"connection_id":124772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d14"} 
[2026-07-07 20:31:41] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559580160001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783436161000,"timestamp_ms":1783436161000,"timestamp_seconds":1783436161,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d142fe8"} 
[2026-07-07 20:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 20:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559580160001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559580160001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:31:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:31:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559580160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":124772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:31:41] local.INFO: GPS data processed {"connection_id":124772,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:31:41] local.INFO: Acknowledgment sent {"connection_id":124772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:31:42] local.INFO: TCP Data received {"connection_id":124772,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:31:42] local.INFO: Processing buffer {"connection_id":124772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:31:42] local.INFO: Packet analysis {"connection_id":124772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:31:42] local.INFO: Extracted packet for processing {"connection_id":124772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:31:42] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 20:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559657216001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 20:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783436461000,"timestamp_ms":1783436461000,"timestamp_seconds":1783436461,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d18c3c8"} 
[2026-07-07 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-07-07 20:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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-07-07 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-07-07 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-07-07 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-07-07 20:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559657216001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559657216001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:31:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:31:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559657216001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":124772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:31:42] local.INFO: GPS data processed {"connection_id":124772,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:31:42] local.INFO: Acknowledgment sent {"connection_id":124772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:31:56] local.INFO: TCP Data received {"connection_id":126844,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:31:56] local.INFO: Processing buffer {"connection_id":126844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:31:56] local.INFO: IMEI packet received {"connection_id":126844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":126844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:31:58] local.INFO: TCP Data received {"connection_id":126844,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:31:58] local.INFO: Processing buffer {"connection_id":126844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:31:58] local.INFO: IMEI packet received {"connection_id":126844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":126844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:31:58] local.INFO: TCP Data received {"connection_id":124773,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:31:58] local.INFO: Processing buffer {"connection_id":124773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:31:58] local.INFO: IMEI packet received {"connection_id":124773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":124773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:32:01] local.INFO: TCP Data received {"connection_id":124773,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:32:01] local.INFO: Processing buffer {"connection_id":124773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:32:01] local.INFO: IMEI packet received {"connection_id":124773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":124773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:32:03] local.INFO: TCP Data received {"connection_id":126844,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:32:03] local.INFO: Processing buffer {"connection_id":126844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:32:03] local.INFO: IMEI packet received {"connection_id":126844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":126844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:32:04] local.INFO: TCP Data received {"connection_id":126844,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d188160012dd98b80050fba78000f013b2a..."} 
[2026-07-07 20:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d188160012dd98b80050fba78000f013b2a..."} 
[2026-07-07 20:32:04] local.INFO: Processing buffer {"connection_id":126844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d188160012dd98b80050fba78000f013b2a..."} 
[2026-07-07 20:32:04] local.INFO: Packet analysis {"connection_id":126844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:32:04] local.INFO: Extracted packet for processing {"connection_id":126844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:32:04] local.INFO: GPS Element Parsed {"raw_longitude":769231744,"raw_latitude":84916856,"longitude_deg":76.9231744,"latitude_deg":8.4916856,"altitude":15,"angle":315,"satellites":42,"speed":59,"hex_longitude":"2dd98b80","hex_latitude":"050fba78","is_valid_coordinates":true} 
[2026-07-07 20:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559728128001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341862079453462528,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2764013880817387520,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783436444000,"timestamp_ms":1783436444000,"timestamp_seconds":1783436444,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d188160"} 
[2026-07-07 20:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 20:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559728128001,"66":27397,"114":206,"80":34048,"24":59,"16":341862079453462528,"45":-2764013880817387520},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,80,24,16,45]} 
[2026-07-07 20:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559728128001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:32:04] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-07-07 20:32:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-07-07 20:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341862079453462528,"km_value":341862079453462.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2764013880817387520,"description":"Unknown IO ID 45"} 
[2026-07-07 20:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559728128001,"power":27397,"unknown_114":206,"unknown_80":34048,"ignition":59,"odometer":null,"unknown_45":-2764013880817387520}} 
[2026-07-07 20:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":126844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:32:04] local.INFO: GPS data processed {"connection_id":126844,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:32:04] local.INFO: Acknowledgment sent {"connection_id":126844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:32:07] local.INFO: TCP Data received {"connection_id":124773,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:32:07] local.INFO: Processing buffer {"connection_id":124773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:32:07] local.INFO: IMEI packet received {"connection_id":124773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":124773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:32:08] local.INFO: TCP Data received {"connection_id":124773,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d103460012d77a70005f27a80000c014f25..."} 
[2026-07-07 20:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d103460012d77a70005f27a80000c014f25..."} 
[2026-07-07 20:32:08] local.INFO: Processing buffer {"connection_id":124773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d103460012d77a70005f27a80000c014f25..."} 
[2026-07-07 20:32:08] local.INFO: Packet analysis {"connection_id":124773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d10"} 
[2026-07-07 20:32:08] local.INFO: Extracted packet for processing {"connection_id":124773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d10"} 
[2026-07-07 20:32:08] local.INFO: GPS Element Parsed {"raw_longitude":762816256,"raw_latitude":99777152,"longitude_deg":76.2816256,"latitude_deg":9.9777152,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a700","hex_latitude":"05f27a80","is_valid_coordinates":true} 
[2026-07-07 20:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559589376001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621860037167054848,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:08] 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-07-07 20:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783435900000,"timestamp_ms":1783435900000,"timestamp_seconds":1783435900,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d103460"} 
[2026-07-07 20:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-07 20:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559589376001,"66":28517,"134":206,"87":13568,"24":0,"16":132256465544019968,"45":8621860037167054848},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-07-07 20:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559589376001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:32:08] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-07 20:32:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-07-07 20:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621860037167054848,"description":"Unknown IO ID 45"} 
[2026-07-07 20:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559589376001,"power":28517,"unknown_134":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8621860037167054848}} 
[2026-07-07 20:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":124773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447629,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:32:08] local.INFO: GPS data processed {"connection_id":124773,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:32:08] local.INFO: Acknowledgment sent {"connection_id":124773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:32:09] local.INFO: TCP Data received {"connection_id":124773,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:32:09] local.INFO: Processing buffer {"connection_id":124773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:32:09] local.INFO: Packet analysis {"connection_id":124773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:32:09] local.INFO: Extracted packet for processing {"connection_id":124773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:32:09] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559590400001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621860037167054848,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783436481000,"timestamp_ms":1783436481000,"timestamp_seconds":1783436481,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1911e8"} 
[2026-07-07 20:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-07 20:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559590400001,"66":26473,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8621860037167054848},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559590400001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:32:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621860037167054848,"description":"Unknown IO ID 45"} 
[2026-07-07 20:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559590400001,"power":26473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621860037167054848}} 
[2026-07-07 20:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":124773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447630,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:32:09] local.INFO: GPS data processed {"connection_id":124773,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:32:09] local.INFO: Acknowledgment sent {"connection_id":124773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:32:14] local.INFO: TCP Data received {"connection_id":124772,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:32:14] local.INFO: Processing buffer {"connection_id":124772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:32:14] local.INFO: Packet analysis {"connection_id":124772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:32:14] local.INFO: Extracted packet for processing {"connection_id":124772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 20:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559657216001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 20:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783436461000,"timestamp_ms":1783436461000,"timestamp_seconds":1783436461,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d18c3c8"} 
[2026-07-07 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-07-07 20:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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-07-07 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-07-07 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-07-07 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-07-07 20:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559657216001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559657216001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:32:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:32:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559657216001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":124772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:32:14] local.INFO: GPS data processed {"connection_id":124772,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:32:14] local.INFO: Acknowledgment sent {"connection_id":124772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:32:33] local.INFO: TCP Data received {"connection_id":125579,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:32:33] local.INFO: Processing buffer {"connection_id":125579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:32:33] local.INFO: IMEI packet received {"connection_id":125579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":125579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:32:36] local.INFO: TCP Data received {"connection_id":126844,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1898d0012dd97240050fd320000e013a2a..."} 
[2026-07-07 20:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1898d0012dd97240050fd320000e013a2a..."} 
[2026-07-07 20:32:36] local.INFO: Processing buffer {"connection_id":126844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1898d0012dd97240050fd320000e013a2a..."} 
[2026-07-07 20:32:36] local.INFO: Packet analysis {"connection_id":126844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:32:36] local.INFO: Extracted packet for processing {"connection_id":126844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:32:36] local.INFO: GPS Element Parsed {"raw_longitude":769225280,"raw_latitude":84923168,"longitude_deg":76.922528,"latitude_deg":8.4923168,"altitude":14,"angle":314,"satellites":42,"speed":59,"hex_longitude":"2dd97240","hex_latitude":"050fd320","is_valid_coordinates":true} 
[2026-07-07 20:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559729664001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341862513245159424,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2770980386489337856,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783436450000,"timestamp_ms":1783436450000,"timestamp_seconds":1783436450,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1898d0"} 
[2026-07-07 20:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:32: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-07-07 20:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 20:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559729664001,"66":27365,"114":206,"80":34048,"24":59,"16":341862513245159424,"45":-2770980386489337856},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,80,24,16,45]} 
[2026-07-07 20:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559729664001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:32:36] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-07-07 20:32:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-07-07 20:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341862513245159424,"km_value":341862513245159.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2770980386489337856,"description":"Unknown IO ID 45"} 
[2026-07-07 20:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559729664001,"power":27365,"unknown_114":206,"unknown_80":34048,"ignition":59,"odometer":null,"unknown_45":-2770980386489337856}} 
[2026-07-07 20:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":126844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:32:36] local.INFO: GPS data processed {"connection_id":126844,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:32:36] local.INFO: Acknowledgment sent {"connection_id":126844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:32:38] local.INFO: TCP Data received {"connection_id":125579,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:32:38] local.INFO: Processing buffer {"connection_id":125579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:32:38] local.INFO: IMEI packet received {"connection_id":125579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":125579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:32:41] local.INFO: TCP Data received {"connection_id":124773,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:32:41] local.INFO: Processing buffer {"connection_id":124773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:32:41] local.INFO: Packet analysis {"connection_id":124773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:32:41] local.INFO: Extracted packet for processing {"connection_id":124773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:32:41] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559590400001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621860037167054848,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783436481000,"timestamp_ms":1783436481000,"timestamp_seconds":1783436481,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1911e8"} 
[2026-07-07 20:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-07 20:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559590400001,"66":26473,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8621860037167054848},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559590400001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:32:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621860037167054848,"description":"Unknown IO ID 45"} 
[2026-07-07 20:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559590400001,"power":26473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621860037167054848}} 
[2026-07-07 20:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":124773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447633,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:32:41] local.INFO: GPS data processed {"connection_id":124773,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:32:41] local.INFO: Acknowledgment sent {"connection_id":124773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:32:44] local.INFO: TCP Data received {"connection_id":125579,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:32:44] local.INFO: Processing buffer {"connection_id":125579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:32:44] local.INFO: Packet analysis {"connection_id":125579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:32:44] local.INFO: Extracted packet for processing {"connection_id":125579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:32:44] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559657216001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783436461000,"timestamp_ms":1783436461000,"timestamp_seconds":1783436461,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d18c3c8"} 
[2026-07-07 20:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":125579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":125579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":125579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559657216001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559657216001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:32:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:32:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559657216001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":125579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:32:44] local.INFO: GPS data processed {"connection_id":125579,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:32:44] local.INFO: Acknowledgment sent {"connection_id":125579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:32:45] local.INFO: TCP Data received {"connection_id":125579,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:32:45] local.INFO: Processing buffer {"connection_id":125579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:32:45] local.INFO: Packet analysis {"connection_id":125579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:32:45] local.INFO: Extracted packet for processing {"connection_id":125579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:32:45] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559657216001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:32: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-07-07 20:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783436461000,"timestamp_ms":1783436461000,"timestamp_seconds":1783436461,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d18c3c8"} 
[2026-07-07 20:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:32: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-07-07 20:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":125579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":125579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":125579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559657216001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559657216001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:32:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:32:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559657216001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":125579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:32:46] local.INFO: GPS data processed {"connection_id":125579,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:32:46] local.INFO: Acknowledgment sent {"connection_id":125579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:32:58] local.INFO: TCP Data received {"connection_id":124774,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:32:58] local.INFO: Processing buffer {"connection_id":124774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:32:58] local.INFO: IMEI packet received {"connection_id":124774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":124774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:32:59] local.INFO: TCP Data received {"connection_id":125580,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:32:59] local.INFO: Processing buffer {"connection_id":125580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:32:59] local.INFO: IMEI packet received {"connection_id":125580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":125580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:33:01] local.INFO: TCP Data received {"connection_id":125580,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:33:01] local.INFO: Processing buffer {"connection_id":125580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:33:01] local.INFO: IMEI packet received {"connection_id":125580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":125580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:33:03] local.INFO: TCP Data received {"connection_id":124774,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:33:03] local.INFO: Processing buffer {"connection_id":124774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:33:03] local.INFO: IMEI packet received {"connection_id":124774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":124774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:33:04] local.INFO: TCP Data received {"connection_id":125580,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d19bdc8012dd856400510f2e00005013b2d..."} 
[2026-07-07 20:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d19bdc8012dd856400510f2e00005013b2d..."} 
[2026-07-07 20:33:04] local.INFO: Processing buffer {"connection_id":125580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d19bdc8012dd856400510f2e00005013b2d..."} 
[2026-07-07 20:33:04] local.INFO: Packet analysis {"connection_id":125580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:33:04] local.INFO: Extracted packet for processing {"connection_id":125580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:33:04] local.INFO: GPS Element Parsed {"raw_longitude":769152576,"raw_latitude":84996832,"longitude_deg":76.9152576,"latitude_deg":8.4996832,"altitude":5,"angle":315,"satellites":45,"speed":59,"hex_longitude":"2dd85640","hex_latitude":"0510f2e0","is_valid_coordinates":true} 
[2026-07-07 20:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559748864001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341867508292124672,"note":"Value kept but may cause issues"} 
[2026-07-07 20:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2851060017344696320,"note":"Value kept but may cause issues"} 
[2026-07-07 20:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783436525000,"timestamp_ms":1783436525000,"timestamp_seconds":1783436525,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d19bdc8"} 
[2026-07-07 20:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 20:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559748864001,"66":27267,"124":206,"80":34304,"24":59,"16":341867508292124672,"45":-2851060017344696320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,80,24,16,45]} 
[2026-07-07 20:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559748864001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:33:04] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-07 20:33:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341867508292124672,"km_value":341867508292124.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2851060017344696320,"description":"Unknown IO ID 45"} 
[2026-07-07 20:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559748864001,"power":27267,"unknown_124":206,"unknown_80":34304,"ignition":59,"odometer":null,"unknown_45":-2851060017344696320}} 
[2026-07-07 20:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":125580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:33:04] local.INFO: GPS data processed {"connection_id":125580,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:33:04] local.INFO: Acknowledgment sent {"connection_id":125580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:33:04] local.INFO: TCP Data received {"connection_id":124774,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:33:04] local.INFO: Processing buffer {"connection_id":124774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:33:04] local.INFO: Packet analysis {"connection_id":124774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:33:04] local.INFO: Extracted packet for processing {"connection_id":124774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:33:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559590400001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621860037167054848,"note":"Value kept but may cause issues"} 
[2026-07-07 20:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783436481000,"timestamp_ms":1783436481000,"timestamp_seconds":1783436481,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1911e8"} 
[2026-07-07 20:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-07 20:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559590400001,"66":26473,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8621860037167054848},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559590400001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:33:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621860037167054848,"description":"Unknown IO ID 45"} 
[2026-07-07 20:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559590400001,"power":26473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621860037167054848}} 
[2026-07-07 20:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":124774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447637,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:33:04] local.INFO: GPS data processed {"connection_id":124774,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:33:04] local.INFO: Acknowledgment sent {"connection_id":124774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:33:17] local.INFO: TCP Data received {"connection_id":125579,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:33:17] local.INFO: Processing buffer {"connection_id":125579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:33:17] local.INFO: Packet analysis {"connection_id":125579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:33:17] local.INFO: Extracted packet for processing {"connection_id":125579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:33:17] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559657216001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:33: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-07-07 20:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783436461000,"timestamp_ms":1783436461000,"timestamp_seconds":1783436461,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d18c3c8"} 
[2026-07-07 20:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":125579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":125579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":125579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559657216001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559657216001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:33:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:33:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559657216001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":125579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:33:17] local.INFO: GPS data processed {"connection_id":125579,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:33:17] local.INFO: Acknowledgment sent {"connection_id":125579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:33:33] local.INFO: TCP Data received {"connection_id":124870,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:33:33] local.INFO: Processing buffer {"connection_id":124870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:33:33] local.INFO: IMEI packet received {"connection_id":124870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":124870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:33:35] local.INFO: TCP Data received {"connection_id":124774,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:33:35] local.INFO: Processing buffer {"connection_id":124774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:33:35] local.INFO: Packet analysis {"connection_id":124774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:33:35] local.INFO: Extracted packet for processing {"connection_id":124774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:33:35] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559590400001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621860037167054848,"note":"Value kept but may cause issues"} 
[2026-07-07 20:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783436481000,"timestamp_ms":1783436481000,"timestamp_seconds":1783436481,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1911e8"} 
[2026-07-07 20:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-07 20:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559590400001,"66":26473,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8621860037167054848},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559590400001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:33:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621860037167054848,"description":"Unknown IO ID 45"} 
[2026-07-07 20:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559590400001,"power":26473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621860037167054848}} 
[2026-07-07 20:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":124774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447639,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:33:35] local.INFO: GPS data processed {"connection_id":124774,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:33:35] local.INFO: Acknowledgment sent {"connection_id":124774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:33:36] local.INFO: TCP Data received {"connection_id":125580,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d19d538012dd83d8005110b980005013a2f..."} 
[2026-07-07 20:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d19d538012dd83d8005110b980005013a2f..."} 
[2026-07-07 20:33:36] local.INFO: Processing buffer {"connection_id":125580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d19d538012dd83d8005110b980005013a2f..."} 
[2026-07-07 20:33:36] local.INFO: Packet analysis {"connection_id":125580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:33:36] local.INFO: Extracted packet for processing {"connection_id":125580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:33:36] local.INFO: GPS Element Parsed {"raw_longitude":769146240,"raw_latitude":85003160,"longitude_deg":76.914624,"latitude_deg":8.500316,"altitude":5,"angle":314,"satellites":47,"speed":59,"hex_longitude":"2dd83d80","hex_latitude":"05110b98","is_valid_coordinates":true} 
[2026-07-07 20:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559750400001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341867937788854272,"note":"Value kept but may cause issues"} 
[2026-07-07 20:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2858026523016634368,"note":"Value kept but may cause issues"} 
[2026-07-07 20:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783436531000,"timestamp_ms":1783436531000,"timestamp_seconds":1783436531,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d19d538"} 
[2026-07-07 20:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 20:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559750400001,"66":27245,"124":206,"80":34304,"24":59,"16":341867937788854272,"45":-2858026523016634368},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,80,24,16,45]} 
[2026-07-07 20:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559750400001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:33:36] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-07 20:33:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341867937788854272,"km_value":341867937788854.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2858026523016634368,"description":"Unknown IO ID 45"} 
[2026-07-07 20:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559750400001,"power":27245,"unknown_124":206,"unknown_80":34304,"ignition":59,"odometer":null,"unknown_45":-2858026523016634368}} 
[2026-07-07 20:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":125580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:33:36] local.INFO: GPS data processed {"connection_id":125580,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:33:36] local.INFO: Acknowledgment sent {"connection_id":125580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:33:38] local.INFO: TCP Data received {"connection_id":124870,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:33:39] local.INFO: Processing buffer {"connection_id":124870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:33:39] local.INFO: IMEI packet received {"connection_id":124870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":124870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:33:42] local.INFO: TCP Data received {"connection_id":124870,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:33:42] local.INFO: Processing buffer {"connection_id":124870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:33:42] local.INFO: Packet analysis {"connection_id":124870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:33:42] local.INFO: Extracted packet for processing {"connection_id":124870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:33:42] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 20:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559657216001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 20:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783436461000,"timestamp_ms":1783436461000,"timestamp_seconds":1783436461,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d18c3c8"} 
[2026-07-07 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-07-07 20:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 20:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559657216001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559657216001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:33:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:33:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559657216001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":124870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:33:42] local.INFO: GPS data processed {"connection_id":124870,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:33:42] local.INFO: Acknowledgment sent {"connection_id":124870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:33:58] local.INFO: TCP Data received {"connection_id":126845,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:33:58] local.INFO: Processing buffer {"connection_id":126845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:33:58] local.INFO: IMEI packet received {"connection_id":126845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":126845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:34:02] local.INFO: TCP Data received {"connection_id":126845,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:34:02] local.INFO: Processing buffer {"connection_id":126845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:34:02] local.INFO: IMEI packet received {"connection_id":126845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":126845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:34:04] local.INFO: TCP Data received {"connection_id":126846,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:34:04] local.INFO: Processing buffer {"connection_id":126846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:34:04] local.INFO: IMEI packet received {"connection_id":126846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":126846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:34:04] local.INFO: TCP Data received {"connection_id":126845,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d19eca8012dd82480051124500005013b2d..."} 
[2026-07-07 20:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d19eca8012dd82480051124500005013b2d..."} 
[2026-07-07 20:34:04] local.INFO: Processing buffer {"connection_id":126845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d19eca8012dd82480051124500005013b2d..."} 
[2026-07-07 20:34:04] local.INFO: Packet analysis {"connection_id":126845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:34:04] local.INFO: Extracted packet for processing {"connection_id":126845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:34:04] local.INFO: GPS Element Parsed {"raw_longitude":769139840,"raw_latitude":85009488,"longitude_deg":76.913984,"latitude_deg":8.5009488,"altitude":5,"angle":315,"satellites":45,"speed":59,"hex_longitude":"2dd82480","hex_latitude":"05112450","is_valid_coordinates":true} 
[2026-07-07 20:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559751936001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341868371580551168,"note":"Value kept but may cause issues"} 
[2026-07-07 20:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2864993028688603136,"note":"Value kept but may cause issues"} 
[2026-07-07 20:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783436537000,"timestamp_ms":1783436537000,"timestamp_seconds":1783436537,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d19eca8"} 
[2026-07-07 20:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 20:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559751936001,"66":27332,"124":206,"80":34304,"24":59,"16":341868371580551168,"45":-2864993028688603136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,80,24,16,45]} 
[2026-07-07 20:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559751936001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:34:04] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-07 20:34:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341868371580551168,"km_value":341868371580551.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2864993028688603136,"description":"Unknown IO ID 45"} 
[2026-07-07 20:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559751936001,"power":27332,"unknown_124":206,"unknown_80":34304,"ignition":59,"odometer":null,"unknown_45":-2864993028688603136}} 
[2026-07-07 20:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":126845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:34:04] local.INFO: GPS data processed {"connection_id":126845,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:34:04] local.INFO: Acknowledgment sent {"connection_id":126845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:34:08] local.INFO: TCP Data received {"connection_id":126846,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:34:08] local.INFO: Processing buffer {"connection_id":126846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:34:08] local.INFO: IMEI packet received {"connection_id":126846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":126846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:34:13] local.INFO: TCP Data received {"connection_id":124870,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:34:13] local.INFO: Processing buffer {"connection_id":124870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:34:13] local.INFO: Packet analysis {"connection_id":124870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:34:13] local.INFO: Extracted packet for processing {"connection_id":124870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:34:13] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559657216001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783436461000,"timestamp_ms":1783436461000,"timestamp_seconds":1783436461,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d18c3c8"} 
[2026-07-07 20:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:34: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-07-07 20:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559657216001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559657216001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:34:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:34:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559657216001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:34:14] local.INFO: TCP Data received {"connection_id":126846,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:34:14] local.INFO: Processing buffer {"connection_id":126846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:34:14] local.INFO: IMEI packet received {"connection_id":126846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":126846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":124870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:34:14] local.INFO: GPS data processed {"connection_id":124870,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:34:14] local.INFO: Acknowledgment sent {"connection_id":124870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:34:18] local.INFO: TCP Data received {"connection_id":126846,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:34:18] local.INFO: Processing buffer {"connection_id":126846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:34:18] local.INFO: Packet analysis {"connection_id":126846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:34:18] local.INFO: Extracted packet for processing {"connection_id":126846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:34:18] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559590400001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621860037167054848,"note":"Value kept but may cause issues"} 
[2026-07-07 20:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783436481000,"timestamp_ms":1783436481000,"timestamp_seconds":1783436481,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1911e8"} 
[2026-07-07 20:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-07 20:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":126846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":126846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":126846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559590400001,"66":26473,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8621860037167054848},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559590400001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:34:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621860037167054848,"description":"Unknown IO ID 45"} 
[2026-07-07 20:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559590400001,"power":26473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621860037167054848}} 
[2026-07-07 20:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":126846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447644,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:34:18] local.INFO: GPS data processed {"connection_id":126846,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:34:18] local.INFO: Acknowledgment sent {"connection_id":126846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:34:20] local.INFO: TCP Data received {"connection_id":126846,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:34:20] local.INFO: Processing buffer {"connection_id":126846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:34:20] local.INFO: Packet analysis {"connection_id":126846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:34:20] local.INFO: Extracted packet for processing {"connection_id":126846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:34:20] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559590400001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621860037167054848,"note":"Value kept but may cause issues"} 
[2026-07-07 20:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783436481000,"timestamp_ms":1783436481000,"timestamp_seconds":1783436481,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1911e8"} 
[2026-07-07 20:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-07 20:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":126846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":126846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":126846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559590400001,"66":26473,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8621860037167054848},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559590400001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:34:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621860037167054848,"description":"Unknown IO ID 45"} 
[2026-07-07 20:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559590400001,"power":26473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621860037167054848}} 
[2026-07-07 20:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":126846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447645,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:34:20] local.INFO: GPS data processed {"connection_id":126846,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:34:20] local.INFO: Acknowledgment sent {"connection_id":126846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:34:37] local.INFO: TCP Data received {"connection_id":126845,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1b34c8012dd6efc005123770000501342d..."} 
[2026-07-07 20:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1b34c8012dd6efc005123770000501342d..."} 
[2026-07-07 20:34:37] local.INFO: Processing buffer {"connection_id":126845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1b34c8012dd6efc005123770000501342d..."} 
[2026-07-07 20:34:37] local.INFO: Packet analysis {"connection_id":126845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1b"} 
[2026-07-07 20:34:37] local.INFO: Extracted packet for processing {"connection_id":126845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1b"} 
[2026-07-07 20:34:37] local.INFO: GPS Element Parsed {"raw_longitude":769060800,"raw_latitude":85079920,"longitude_deg":76.90608,"latitude_deg":8.507992,"altitude":5,"angle":308,"satellites":45,"speed":59,"hex_longitude":"2dd6efc0","hex_latitude":"05123770","is_valid_coordinates":true} 
[2026-07-07 20:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559773440001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341873482591633408,"note":"Value kept but may cause issues"} 
[2026-07-07 20:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2950913265311303680,"note":"Value kept but may cause issues"} 
[2026-07-07 20:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783436621000,"timestamp_ms":1783436621000,"timestamp_seconds":1783436621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1b34c8"} 
[2026-07-07 20:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:34: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-07-07 20:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 20:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559773440001,"66":27365,"36":206,"80":34304,"24":59,"16":341873482591633408,"45":-2950913265311303680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,80,24,16,45]} 
[2026-07-07 20:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559773440001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:34:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-07 20:34:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341873482591633408,"km_value":341873482591633.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2950913265311303680,"description":"Unknown IO ID 45"} 
[2026-07-07 20:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559773440001,"power":27365,"unknown_36":206,"unknown_80":34304,"ignition":59,"odometer":null,"unknown_45":-2950913265311303680}} 
[2026-07-07 20:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":126845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:34:37] local.INFO: GPS data processed {"connection_id":126845,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:34:37] local.INFO: Acknowledgment sent {"connection_id":126845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:34:38] local.INFO: TCP Data received {"connection_id":125581,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:34:39] local.INFO: Processing buffer {"connection_id":125581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:34:39] local.INFO: IMEI packet received {"connection_id":125581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":125581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:34:43] local.INFO: TCP Data received {"connection_id":125581,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:34:43] local.INFO: Processing buffer {"connection_id":125581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:34:43] local.INFO: IMEI packet received {"connection_id":125581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":125581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:34:50] local.INFO: TCP Data received {"connection_id":125581,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:34:50] local.INFO: Processing buffer {"connection_id":125581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:34:50] local.INFO: IMEI packet received {"connection_id":125581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":125581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:34:58] local.INFO: TCP Data received {"connection_id":125583,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:34:58] local.INFO: Processing buffer {"connection_id":125583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:34:58] local.INFO: IMEI packet received {"connection_id":125583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":125583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:34:58] local.INFO: TCP Data received {"connection_id":125582,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:34:58] local.INFO: Processing buffer {"connection_id":125582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:34:58] local.INFO: IMEI packet received {"connection_id":125582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":125582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:34:59] local.INFO: TCP Data received {"connection_id":125583,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:34:59] local.INFO: Processing buffer {"connection_id":125583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:34:59] local.INFO: IMEI packet received {"connection_id":125583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":125583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:35:03] local.INFO: TCP Data received {"connection_id":125582,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:35:03] local.INFO: Processing buffer {"connection_id":125582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:35:03] local.INFO: IMEI packet received {"connection_id":125582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":125582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:35:04] local.INFO: TCP Data received {"connection_id":125583,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:35:04] local.INFO: Processing buffer {"connection_id":125583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:35:04] local.INFO: IMEI packet received {"connection_id":125583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":125583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:35:07] local.INFO: TCP Data received {"connection_id":125582,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:35:07] local.INFO: Processing buffer {"connection_id":125582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:35:07] local.INFO: Packet analysis {"connection_id":125582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:35:07] local.INFO: Extracted packet for processing {"connection_id":125582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:35:07] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559590400001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621860037167054848,"note":"Value kept but may cause issues"} 
[2026-07-07 20:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783436481000,"timestamp_ms":1783436481000,"timestamp_seconds":1783436481,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1911e8"} 
[2026-07-07 20:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-07 20:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559590400001,"66":26473,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8621860037167054848},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559590400001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:35:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621860037167054848,"description":"Unknown IO ID 45"} 
[2026-07-07 20:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559590400001,"power":26473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621860037167054848}} 
[2026-07-07 20:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":125582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447647,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:35:07] local.INFO: GPS data processed {"connection_id":125582,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:35:07] local.INFO: Acknowledgment sent {"connection_id":125582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:35:09] local.INFO: TCP Data received {"connection_id":125583,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1b4c38012dd6d4c005124d68000701362f..."} 
[2026-07-07 20:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1b4c38012dd6d4c005124d68000701362f..."} 
[2026-07-07 20:35:09] local.INFO: Processing buffer {"connection_id":125583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1b4c38012dd6d4c005124d68000701362f..."} 
[2026-07-07 20:35:09] local.INFO: Packet analysis {"connection_id":125583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1b"} 
[2026-07-07 20:35:09] local.INFO: Extracted packet for processing {"connection_id":125583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1b"} 
[2026-07-07 20:35:09] local.INFO: GPS Element Parsed {"raw_longitude":769053888,"raw_latitude":85085544,"longitude_deg":76.9053888,"latitude_deg":8.5085544,"altitude":7,"angle":310,"satellites":47,"speed":58,"hex_longitude":"2dd6d4c0","hex_latitude":"05124d68","is_valid_coordinates":true} 
[2026-07-07 20:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559774976001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341873912088363008,"note":"Value kept but may cause issues"} 
[2026-07-07 20:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2958935302146134016,"note":"Value kept but may cause issues"} 
[2026-07-07 20:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783436627000,"timestamp_ms":1783436627000,"timestamp_seconds":1783436627,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1b4c38"} 
[2026-07-07 20:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20: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-07-07 20: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":229,"data_length":795,"current_offset":136} 
[2026-07-07 20:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559774976001,"66":27332,"36":206,"80":34304,"24":58,"16":341873912088363008,"45":-2958935302146134016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,80,24,16,45]} 
[2026-07-07 20:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559774976001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:35:09] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-07 20:35:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341873912088363008,"km_value":341873912088363.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2958935302146134016,"description":"Unknown IO ID 45"} 
[2026-07-07 20:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559774976001,"power":27332,"unknown_36":206,"unknown_80":34304,"ignition":58,"odometer":null,"unknown_45":-2958935302146134016}} 
[2026-07-07 20:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":125583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:35:09] local.INFO: GPS data processed {"connection_id":125583,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:35:09] local.INFO: Acknowledgment sent {"connection_id":125583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:35:13] local.INFO: TCP Data received {"connection_id":125581,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:35:13] local.INFO: Processing buffer {"connection_id":125581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:35:13] local.INFO: Packet analysis {"connection_id":125581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:35:13] local.INFO: Extracted packet for processing {"connection_id":125581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:35:13] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559657216001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783436461000,"timestamp_ms":1783436461000,"timestamp_seconds":1783436461,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d18c3c8"} 
[2026-07-07 20:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:35: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-07-07 20:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559657216001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559657216001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:35:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:35:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559657216001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":125581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:35:13] local.INFO: GPS data processed {"connection_id":125581,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:35:13] local.INFO: Acknowledgment sent {"connection_id":125581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:35:14] local.INFO: TCP Data received {"connection_id":125581,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:35:14] local.INFO: Processing buffer {"connection_id":125581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:35:14] local.INFO: Packet analysis {"connection_id":125581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:35:14] local.INFO: Extracted packet for processing {"connection_id":125581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:35:14] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559657216001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783436461000,"timestamp_ms":1783436461000,"timestamp_seconds":1783436461,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d18c3c8"} 
[2026-07-07 20:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:35: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-07-07 20:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559657216001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559657216001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:35:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:35:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559657216001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":125581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:35:14] local.INFO: GPS data processed {"connection_id":125581,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:35:14] local.INFO: Acknowledgment sent {"connection_id":125581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:35:34] local.INFO: TCP Data received {"connection_id":125584,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:35:34] local.INFO: Processing buffer {"connection_id":125584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:35:34] local.INFO: IMEI packet received {"connection_id":125584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":125584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:35:39] local.INFO: TCP Data received {"connection_id":125584,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:35:39] local.INFO: Processing buffer {"connection_id":125584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:35:39] local.INFO: IMEI packet received {"connection_id":125584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":125584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:35:39] local.INFO: TCP Data received {"connection_id":125582,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:35:39] local.INFO: Processing buffer {"connection_id":125582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:35:39] local.INFO: Packet analysis {"connection_id":125582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:35:39] local.INFO: Extracted packet for processing {"connection_id":125582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:35:39] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559590400001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621860037167054848,"note":"Value kept but may cause issues"} 
[2026-07-07 20:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783436481000,"timestamp_ms":1783436481000,"timestamp_seconds":1783436481,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1911e8"} 
[2026-07-07 20:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-07 20:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559590400001,"66":26473,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8621860037167054848},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559590400001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:35:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621860037167054848,"description":"Unknown IO ID 45"} 
[2026-07-07 20:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559590400001,"power":26473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621860037167054848}} 
[2026-07-07 20:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":125582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447651,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:35:39] local.INFO: GPS data processed {"connection_id":125582,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:35:39] local.INFO: Acknowledgment sent {"connection_id":125582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:35:40] local.INFO: TCP Data received {"connection_id":125584,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:35:40] local.INFO: Processing buffer {"connection_id":125584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:35:40] local.INFO: Packet analysis {"connection_id":125584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:35:40] local.INFO: Extracted packet for processing {"connection_id":125584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:35:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559657216001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783436461000,"timestamp_ms":1783436461000,"timestamp_seconds":1783436461,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d18c3c8"} 
[2026-07-07 20:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559657216001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559657216001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:35:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:35:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559657216001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":125584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:35:40] local.INFO: GPS data processed {"connection_id":125584,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:35:40] local.INFO: Acknowledgment sent {"connection_id":125584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:35:40] local.INFO: TCP Data received {"connection_id":125583,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1b6790012dd6b70005126740000901372e..."} 
[2026-07-07 20:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1b6790012dd6b70005126740000901372e..."} 
[2026-07-07 20:35:40] local.INFO: Processing buffer {"connection_id":125583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1b6790012dd6b70005126740000901372e..."} 
[2026-07-07 20:35:40] local.INFO: Packet analysis {"connection_id":125583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1b"} 
[2026-07-07 20:35:40] local.INFO: Extracted packet for processing {"connection_id":125583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1b"} 
[2026-07-07 20:35:40] local.INFO: GPS Element Parsed {"raw_longitude":769046272,"raw_latitude":85092160,"longitude_deg":76.9046272,"latitude_deg":8.509216,"altitude":9,"angle":311,"satellites":46,"speed":52,"hex_longitude":"2dd6b700","hex_latitude":"05126740","is_valid_coordinates":true} 
[2026-07-07 20:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559776512001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341874397419667456,"note":"Value kept but may cause issues"} 
[2026-07-07 20:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2966535126515881984,"note":"Value kept but may cause issues"} 
[2026-07-07 20:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783436634000,"timestamp_ms":1783436634000,"timestamp_seconds":1783436634,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1b6790"} 
[2026-07-07 20:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:35: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-07-07 20:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 20:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559776512001,"66":27267,"36":206,"80":34304,"24":52,"16":341874397419667456,"45":-2966535126515881984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,80,24,16,45]} 
[2026-07-07 20:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559776512001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:35:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-07 20:35:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341874397419667456,"km_value":341874397419667.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2966535126515881984,"description":"Unknown IO ID 45"} 
[2026-07-07 20:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559776512001,"power":27267,"unknown_36":206,"unknown_80":34304,"ignition":52,"odometer":null,"unknown_45":-2966535126515881984}} 
[2026-07-07 20:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":125583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:35:40] local.INFO: GPS data processed {"connection_id":125583,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:35:40] local.INFO: Acknowledgment sent {"connection_id":125583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:36:03] local.INFO: TCP Data received {"connection_id":125585,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:36:03] local.INFO: Processing buffer {"connection_id":125585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:36:03] local.INFO: IMEI packet received {"connection_id":125585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":125585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:36:03] local.INFO: TCP Data received {"connection_id":124775,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:36:03] local.INFO: Processing buffer {"connection_id":124775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:36:03] local.INFO: IMEI packet received {"connection_id":124775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":124775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:36:04] local.INFO: TCP Data received {"connection_id":124775,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:36:04] local.INFO: Processing buffer {"connection_id":124775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:36:04] local.INFO: IMEI packet received {"connection_id":124775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":124775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:36:08] local.INFO: TCP Data received {"connection_id":124775,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:36:08] local.INFO: Processing buffer {"connection_id":124775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:36:08] local.INFO: IMEI packet received {"connection_id":124775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":124775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:36:09] local.INFO: TCP Data received {"connection_id":125585,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:36:09] local.INFO: Processing buffer {"connection_id":125585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:36:09] local.INFO: IMEI packet received {"connection_id":125585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":125585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:36:12] local.INFO: TCP Data received {"connection_id":125584,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:36:12] local.INFO: Processing buffer {"connection_id":125584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:36:12] local.INFO: Packet analysis {"connection_id":125584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:36:12] local.INFO: Extracted packet for processing {"connection_id":125584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:36:12] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559657216001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783436461000,"timestamp_ms":1783436461000,"timestamp_seconds":1783436461,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d18c3c8"} 
[2026-07-07 20:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559657216001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559657216001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:36:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:36:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559657216001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":125584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:36:12] local.INFO: GPS data processed {"connection_id":125584,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:36:12] local.INFO: Acknowledgment sent {"connection_id":125584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:36:14] local.INFO: TCP Data received {"connection_id":124775,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1b86d0012dd69a8005128140000a013c2d..."} 
[2026-07-07 20:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1b86d0012dd69a8005128140000a013c2d..."} 
[2026-07-07 20:36:14] local.INFO: Processing buffer {"connection_id":124775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1b86d0012dd69a8005128140000a013c2d..."} 
[2026-07-07 20:36:14] local.INFO: Packet analysis {"connection_id":124775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1b"} 
[2026-07-07 20:36:14] local.INFO: Extracted packet for processing {"connection_id":124775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1b"} 
[2026-07-07 20:36:14] local.INFO: GPS Element Parsed {"raw_longitude":769038976,"raw_latitude":85098816,"longitude_deg":76.9038976,"latitude_deg":8.5098816,"altitude":10,"angle":316,"satellites":45,"speed":48,"hex_longitude":"2dd69a80","hex_latitude":"05128140","is_valid_coordinates":true} 
[2026-07-07 20:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559778304001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341874874161037312,"note":"Value kept but may cause issues"} 
[2026-07-07 20:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2974909007071330304,"note":"Value kept but may cause issues"} 
[2026-07-07 20:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783436642000,"timestamp_ms":1783436642000,"timestamp_seconds":1783436642,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1b86d0"} 
[2026-07-07 20:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20: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-07-07 20:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 20:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559778304001,"66":26658,"36":206,"80":34304,"24":48,"16":341874874161037312,"45":-2974909007071330304},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,80,24,16,45]} 
[2026-07-07 20:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559778304001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:36:14] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-07 20:36:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341874874161037312,"km_value":341874874161037.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2974909007071330304,"description":"Unknown IO ID 45"} 
[2026-07-07 20:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559778304001,"power":26658,"unknown_36":206,"unknown_80":34304,"ignition":48,"odometer":null,"unknown_45":-2974909007071330304}} 
[2026-07-07 20:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":124775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:36:14] local.INFO: GPS data processed {"connection_id":124775,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:36:14] local.INFO: Acknowledgment sent {"connection_id":124775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:36:14] local.INFO: TCP Data received {"connection_id":125585,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:36:14] local.INFO: Processing buffer {"connection_id":125585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1911e8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:36:14] local.INFO: Packet analysis {"connection_id":125585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:36:14] local.INFO: Extracted packet for processing {"connection_id":125585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d19"} 
[2026-07-07 20:36:14] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559590400001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621860037167054848,"note":"Value kept but may cause issues"} 
[2026-07-07 20:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783436481000,"timestamp_ms":1783436481000,"timestamp_seconds":1783436481,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1911e8"} 
[2026-07-07 20:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-07 20:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559590400001,"66":26473,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8621860037167054848},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559590400001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:36:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621860037167054848,"description":"Unknown IO ID 45"} 
[2026-07-07 20:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559590400001,"power":26473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621860037167054848}} 
[2026-07-07 20:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":125585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447656,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:36:14] local.INFO: GPS data processed {"connection_id":125585,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:36:14] local.INFO: Acknowledgment sent {"connection_id":125585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:36:17] local.INFO: TCP Data received {"connection_id":124775,"ip":"42.106.6.30","data_length":1348,"data_hex":"000000000000030f8e0a0000019f3d1ba228012dd681c0051299f80009013b2a..."} 
[2026-07-07 20:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124775,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f3d1ba228012dd681c0051299f80009013b2a..."} 
[2026-07-07 20:36:17] local.INFO: Processing buffer {"connection_id":124775,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f3d1ba228012dd681c0051299f80009013b2a..."} 
[2026-07-07 20:36:17] local.INFO: Packet analysis {"connection_id":124775,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f3d1b"} 
[2026-07-07 20:36:17] local.INFO: Extracted packet for processing {"connection_id":124775,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f3d1b"} 
[2026-07-07 20:36:17] local.INFO: GPS Element Parsed {"raw_longitude":769032640,"raw_latitude":85105144,"longitude_deg":76.903264,"latitude_deg":8.5105144,"altitude":9,"angle":315,"satellites":42,"speed":53,"hex_longitude":"2dd681c0","hex_latitude":"051299f8","is_valid_coordinates":true} 
[2026-07-07 20:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559780352001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341875303657766912,"note":"Value kept but may cause issues"} 
[2026-07-07 20:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2982931043905880064,"note":"Value kept but may cause issues"} 
[2026-07-07 20:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783436649000,"timestamp_ms":1783436649000,"timestamp_seconds":1783436649,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1ba228"} 
[2026-07-07 20:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-07-07 20:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559780352001,"66":27267,"38":206,"80":34304,"24":53,"16":341875303657766912,"45":-2982931043905880064},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-07-07 20:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559780352001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:36:17] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-07 20:36:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341875303657766912,"km_value":341875303657766.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2982931043905880064,"description":"Unknown IO ID 45"} 
[2026-07-07 20:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559780352001,"power":27267,"unknown_38":206,"unknown_80":34304,"ignition":53,"odometer":null,"unknown_45":-2982931043905880064}} 
[2026-07-07 20:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":124775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:36:17] local.INFO: GPS data processed {"connection_id":124775,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:36:17] local.INFO: Acknowledgment sent {"connection_id":124775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:36:17] local.INFO: Packet analysis {"connection_id":124775,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f3d1b"} 
[2026-07-07 20:36:17] local.INFO: Incomplete packet, waiting for more data {"connection_id":124775,"needed":795,"available":553} 
[2026-07-07 20:36:18] local.INFO: TCP Data received {"connection_id":124775,"ip":"42.106.6.30","data_length":242,"data_hex":"0000000000019f3d1b0200012dd72a8005120a28000301342f00340000000a00..."} 
[2026-07-07 20:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124775,"packet_length":242,"packet_hex":"0000000000019f3d1b0200012dd72a8005120a28000301342f00340000000a00..."} 
[2026-07-07 20:36:18] local.INFO: Processing buffer {"connection_id":124775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1bbd80012dd666c00512b6500007013d2e..."} 
[2026-07-07 20:36:18] local.INFO: Packet analysis {"connection_id":124775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1b"} 
[2026-07-07 20:36:18] local.INFO: Extracted packet for processing {"connection_id":124775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1b"} 
[2026-07-07 20:36:18] local.INFO: GPS Element Parsed {"raw_longitude":769025728,"raw_latitude":85112400,"longitude_deg":76.9025728,"latitude_deg":8.51124,"altitude":7,"angle":317,"satellites":46,"speed":58,"hex_longitude":"2dd666c0","hex_latitude":"0512b650","is_valid_coordinates":true} 
[2026-07-07 20:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559782144001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341875788989071360,"note":"Value kept but may cause issues"} 
[2026-07-07 20:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2989897549577848832,"note":"Value kept but may cause issues"} 
[2026-07-07 20:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783436656000,"timestamp_ms":1783436656000,"timestamp_seconds":1783436656,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1bbd80"} 
[2026-07-07 20:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 20:36: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-07-07 20:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559782144001,"66":27332,"38":206,"80":34304,"24":58,"16":341875788989071360,"45":-2989897549577848832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-07-07 20:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559782144001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:36:18] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-07 20:36:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341875788989071360,"km_value":341875788989071.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2989897549577848832,"description":"Unknown IO ID 45"} 
[2026-07-07 20:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559782144001,"power":27332,"unknown_38":206,"unknown_80":34304,"ignition":58,"odometer":null,"unknown_45":-2989897549577848832}} 
[2026-07-07 20:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":124775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:36:18] local.INFO: GPS data processed {"connection_id":124775,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:36:18] local.INFO: Acknowledgment sent {"connection_id":124775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:36:33] local.INFO: TCP Data received {"connection_id":125586,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:36:33] local.INFO: Processing buffer {"connection_id":125586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:36:33] local.INFO: IMEI packet received {"connection_id":125586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":125586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:36:39] local.INFO: TCP Data received {"connection_id":125586,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:36:39] local.INFO: Processing buffer {"connection_id":125586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:36:39] local.INFO: IMEI packet received {"connection_id":125586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":125586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:36:40] local.INFO: TCP Data received {"connection_id":125586,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:36:40] local.INFO: Processing buffer {"connection_id":125586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d18c3c8012d1962c0071fefb0003c006822..."} 
[2026-07-07 20:36:40] local.INFO: Packet analysis {"connection_id":125586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:36:40] local.INFO: Extracted packet for processing {"connection_id":125586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d18"} 
[2026-07-07 20:36:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":60,"angle":104,"satellites":34,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559657216001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783436461000,"timestamp_ms":1783436461000,"timestamp_seconds":1783436461,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d18c3c8"} 
[2026-07-07 20:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559657216001,"66":2155,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559657216001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:36:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:36:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559657216001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":125586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:36:40] local.INFO: GPS data processed {"connection_id":125586,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:36:40] local.INFO: Acknowledgment sent {"connection_id":125586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:36:58] local.INFO: TCP Data received {"connection_id":124871,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:36:58] local.INFO: Processing buffer {"connection_id":124871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:36:58] local.INFO: IMEI packet received {"connection_id":124871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":124871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:37:00] local.INFO: TCP Data received {"connection_id":124871,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:37:00] local.INFO: Processing buffer {"connection_id":124871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:37:00] local.INFO: IMEI packet received {"connection_id":124871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":124871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:37:03] local.INFO: TCP Data received {"connection_id":124871,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:37:03] local.INFO: Processing buffer {"connection_id":124871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:37:03] local.INFO: IMEI packet received {"connection_id":124871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":124871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:37:05] local.INFO: TCP Data received {"connection_id":124871,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:37:05] local.INFO: Processing buffer {"connection_id":124871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:37:05] local.INFO: Packet analysis {"connection_id":124871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:37:05] local.INFO: Extracted packet for processing {"connection_id":124871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:37:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559739136001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783436782000,"timestamp_ms":1783436782000,"timestamp_seconds":1783436782,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1da9b0"} 
[2026-07-07 20:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-07 20:37:05] 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-07-07 20:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559739136001,"66":26419,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559739136001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:37:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559739136001,"power":26419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":124871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447660,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:37:05] local.INFO: GPS data processed {"connection_id":124871,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:37:05] local.INFO: Acknowledgment sent {"connection_id":124871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:37:11] local.INFO: TCP Data received {"connection_id":125586,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:37:11] local.INFO: Processing buffer {"connection_id":125586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:37:11] local.INFO: Packet analysis {"connection_id":125586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:37:11] local.INFO: Extracted packet for processing {"connection_id":125586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:37:11] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":71,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559734016001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783436762000,"timestamp_ms":1783436762000,"timestamp_seconds":1783436762,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1d5b90"} 
[2026-07-07 20:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559734016001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559734016001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:37:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:37:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559734016001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":125586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:37:11] local.INFO: GPS data processed {"connection_id":125586,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:37:11] local.INFO: Acknowledgment sent {"connection_id":125586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:37:13] local.INFO: TCP Data received {"connection_id":124776,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:37:13] local.INFO: Processing buffer {"connection_id":124776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:37:13] local.INFO: IMEI packet received {"connection_id":124776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":124776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:37:15] local.INFO: TCP Data received {"connection_id":124776,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:37:15] local.INFO: Processing buffer {"connection_id":124776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:37:15] local.INFO: IMEI packet received {"connection_id":124776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":124776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:37:16] local.INFO: TCP Data received {"connection_id":124776,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1d0988012dd550000513eb980009013e2e..."} 
[2026-07-07 20:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1d0988012dd550000513eb980009013e2e..."} 
[2026-07-07 20:37:16] local.INFO: Processing buffer {"connection_id":124776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1d0988012dd550000513eb980009013e2e..."} 
[2026-07-07 20:37:16] local.INFO: Packet analysis {"connection_id":124776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:37:16] local.INFO: Extracted packet for processing {"connection_id":124776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:37:16] local.INFO: GPS Element Parsed {"raw_longitude":768954368,"raw_latitude":85191576,"longitude_deg":76.8954368,"latitude_deg":8.5191576,"altitude":9,"angle":318,"satellites":46,"speed":43,"hex_longitude":"2dd55000","hex_latitude":"0513eb98","is_valid_coordinates":true} 
[2026-07-07 20:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559803648001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341880930064924672,"note":"Value kept but may cause issues"} 
[2026-07-07 20:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3069414230478219264,"note":"Value kept but may cause issues"} 
[2026-07-07 20:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783436741000,"timestamp_ms":1783436741000,"timestamp_seconds":1783436741,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1d0988"} 
[2026-07-07 20:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 20:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559803648001,"66":27332,"251":206,"80":34304,"24":43,"16":341880930064924672,"45":-3069414230478219264},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,80,24,16,45]} 
[2026-07-07 20:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559803648001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:37:16] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-07 20:37:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341880930064924672,"km_value":341880930064924.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3069414230478219264,"description":"Unknown IO ID 45"} 
[2026-07-07 20:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559803648001,"power":27332,"unknown_251":206,"unknown_80":34304,"ignition":43,"odometer":null,"unknown_45":-3069414230478219264}} 
[2026-07-07 20:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":124776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:37:16] local.INFO: GPS data processed {"connection_id":124776,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:37:16] local.INFO: Acknowledgment sent {"connection_id":124776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:37:33] local.INFO: TCP Data received {"connection_id":126847,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:37:33] local.INFO: Processing buffer {"connection_id":126847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:37:33] local.INFO: IMEI packet received {"connection_id":126847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":126847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:37:36] local.INFO: TCP Data received {"connection_id":124871,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:37:36] local.INFO: Processing buffer {"connection_id":124871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:37:36] local.INFO: Packet analysis {"connection_id":124871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:37:36] local.INFO: Extracted packet for processing {"connection_id":124871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:37:36] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559739136001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783436782000,"timestamp_ms":1783436782000,"timestamp_seconds":1783436782,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1da9b0"} 
[2026-07-07 20:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-07 20:37:36] 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-07-07 20:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559739136001,"66":26419,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559739136001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:37:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559739136001,"power":26419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":124871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447663,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:37:36] local.INFO: GPS data processed {"connection_id":124871,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:37:36] local.INFO: Acknowledgment sent {"connection_id":124871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:37:38] local.INFO: TCP Data received {"connection_id":126847,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:37:38] local.INFO: Processing buffer {"connection_id":126847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:37:38] local.INFO: IMEI packet received {"connection_id":126847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":126847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:37:40] local.INFO: TCP Data received {"connection_id":126847,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:37:40] local.INFO: Processing buffer {"connection_id":126847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:37:40] local.INFO: Packet analysis {"connection_id":126847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:37:40] local.INFO: Extracted packet for processing {"connection_id":126847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:37:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":71,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559734016001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783436762000,"timestamp_ms":1783436762000,"timestamp_seconds":1783436762,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1d5b90"} 
[2026-07-07 20:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559734016001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559734016001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:37:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:37:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559734016001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":126847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:37:40] local.INFO: GPS data processed {"connection_id":126847,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:37:40] local.INFO: Acknowledgment sent {"connection_id":126847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:37:58] local.INFO: TCP Data received {"connection_id":125587,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:37:58] local.INFO: Processing buffer {"connection_id":125587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:37:58] local.INFO: IMEI packet received {"connection_id":125587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":125587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:37:59] local.INFO: TCP Data received {"connection_id":124872,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:37:59] local.INFO: Processing buffer {"connection_id":124872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:37:59] local.INFO: IMEI packet received {"connection_id":124872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":124872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:38:01] local.INFO: TCP Data received {"connection_id":125587,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:38:01] local.INFO: Processing buffer {"connection_id":125587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:38:01] local.INFO: IMEI packet received {"connection_id":125587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":125587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:38:02] local.INFO: TCP Data received {"connection_id":125587,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1e5d60012dd43840051519900015013b2c..."} 
[2026-07-07 20:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1e5d60012dd43840051519900015013b2c..."} 
[2026-07-07 20:38:02] local.INFO: Processing buffer {"connection_id":125587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1e5d60012dd43840051519900015013b2c..."} 
[2026-07-07 20:38:02] local.INFO: Packet analysis {"connection_id":125587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1e"} 
[2026-07-07 20:38:02] local.INFO: Extracted packet for processing {"connection_id":125587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1e"} 
[2026-07-07 20:38:02] local.INFO: GPS Element Parsed {"raw_longitude":768882752,"raw_latitude":85268880,"longitude_deg":76.8882752,"latitude_deg":8.526888,"altitude":21,"angle":315,"satellites":44,"speed":53,"hex_longitude":"2dd43840","hex_latitude":"05151990","is_valid_coordinates":true} 
[2026-07-07 20:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559826176001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341886019601170432,"note":"Value kept but may cause issues"} 
[2026-07-07 20:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3147382799007268864,"note":"Value kept but may cause issues"} 
[2026-07-07 20:38:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,80,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 20:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783436828000,"timestamp_ms":1783436828000,"timestamp_seconds":1783436828,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1e5d60"} 
[2026-07-07 20:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:38: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":98,"data_length":795,"current_offset":136} 
[2026-07-07 20:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559826176001,"66":27180,"80":34304,"24":53,"16":341886019601170432,"45":-3147382799007268864},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,24,16,45]} 
[2026-07-07 20:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559826176001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:38:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341886019601170432,"km_value":341886019601170.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3147382799007268864,"description":"Unknown IO ID 45"} 
[2026-07-07 20:38:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456559826176001,"power":27180,"unknown_80":34304,"ignition":53,"odometer":null,"unknown_45":-3147382799007268864}} 
[2026-07-07 20:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":125587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:38:02] local.INFO: GPS data processed {"connection_id":125587,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:38:02] local.INFO: Acknowledgment sent {"connection_id":125587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:38:03] local.INFO: TCP Data received {"connection_id":124872,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:38:03] local.INFO: Processing buffer {"connection_id":124872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:38:03] local.INFO: IMEI packet received {"connection_id":124872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":124872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:38:05] local.INFO: TCP Data received {"connection_id":124872,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:38:05] local.INFO: Processing buffer {"connection_id":124872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:38:05] local.INFO: Packet analysis {"connection_id":124872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:38:05] local.INFO: Extracted packet for processing {"connection_id":124872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:38:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559739136001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783436782000,"timestamp_ms":1783436782000,"timestamp_seconds":1783436782,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1da9b0"} 
[2026-07-07 20:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-07 20:38:05] 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-07-07 20:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559739136001,"66":26419,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559739136001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:38:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559739136001,"power":26419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":124872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447666,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:38:05] local.INFO: GPS data processed {"connection_id":124872,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:38:05] local.INFO: Acknowledgment sent {"connection_id":124872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:38:16] local.INFO: TCP Data received {"connection_id":126847,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:38:16] local.INFO: Processing buffer {"connection_id":126847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:38:16] local.INFO: Packet analysis {"connection_id":126847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:38:16] local.INFO: Extracted packet for processing {"connection_id":126847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:38:16] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":71,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559734016001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783436762000,"timestamp_ms":1783436762000,"timestamp_seconds":1783436762,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1d5b90"} 
[2026-07-07 20:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:38: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-07-07 20:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:38: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-07-07 20:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559734016001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559734016001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:38:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:38:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559734016001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":126847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:38:16] local.INFO: GPS data processed {"connection_id":126847,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:38:16] local.INFO: Acknowledgment sent {"connection_id":126847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:38:33] local.INFO: TCP Data received {"connection_id":124873,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:38:33] local.INFO: Processing buffer {"connection_id":124873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:38:33] local.INFO: IMEI packet received {"connection_id":124873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":124873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:38:33] local.INFO: TCP Data received {"connection_id":125587,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1e7ca0012dd41c40051535400013013a2b..."} 
[2026-07-07 20:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1e7ca0012dd41c40051535400013013a2b..."} 
[2026-07-07 20:38:33] local.INFO: Processing buffer {"connection_id":125587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1e7ca0012dd41c40051535400013013a2b..."} 
[2026-07-07 20:38:33] local.INFO: Packet analysis {"connection_id":125587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1e"} 
[2026-07-07 20:38:33] local.INFO: Extracted packet for processing {"connection_id":125587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1e"} 
[2026-07-07 20:38:33] local.INFO: GPS Element Parsed {"raw_longitude":768875584,"raw_latitude":85275968,"longitude_deg":76.8875584,"latitude_deg":8.5275968,"altitude":19,"angle":314,"satellites":43,"speed":51,"hex_longitude":"2dd41c40","hex_latitude":"05153540","is_valid_coordinates":true} 
[2026-07-07 20:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559827968001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341886504932474880,"note":"Value kept but may cause issues"} 
[2026-07-07 20:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3154701148400021504,"note":"Value kept but may cause issues"} 
[2026-07-07 20:38:33] 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-07-07 20:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783436836000,"timestamp_ms":1783436836000,"timestamp_seconds":1783436836,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1e7ca0"} 
[2026-07-07 20:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-07 20:38: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-07-07 20:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559827968001,"66":27463,"236":206,"80":34304,"24":51,"16":341886504932474880,"45":-3154701148400021504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-07-07 20:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559827968001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:38:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-07 20:38:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341886504932474880,"km_value":341886504932474.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3154701148400021504,"description":"Unknown IO ID 45"} 
[2026-07-07 20:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559827968001,"power":27463,"unknown_236":206,"unknown_80":34304,"ignition":51,"odometer":null,"unknown_45":-3154701148400021504}} 
[2026-07-07 20:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":125587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:38:33] local.INFO: GPS data processed {"connection_id":125587,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:38:33] local.INFO: Acknowledgment sent {"connection_id":125587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:38:38] local.INFO: TCP Data received {"connection_id":124872,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:38:38] local.INFO: Processing buffer {"connection_id":124872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:38:38] local.INFO: Packet analysis {"connection_id":124872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:38:38] local.INFO: Extracted packet for processing {"connection_id":124872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:38:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559739136001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783436782000,"timestamp_ms":1783436782000,"timestamp_seconds":1783436782,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1da9b0"} 
[2026-07-07 20:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:38: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-07-07 20: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-07 20:38:38] 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-07-07 20:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559739136001,"66":26419,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559739136001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:38:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559739136001,"power":26419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":124872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447669,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:38:38] local.INFO: GPS data processed {"connection_id":124872,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:38:38] local.INFO: Acknowledgment sent {"connection_id":124872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:38:39] local.INFO: TCP Data received {"connection_id":124873,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:38:39] local.INFO: Processing buffer {"connection_id":124873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:38:39] local.INFO: IMEI packet received {"connection_id":124873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":124873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:38:42] local.INFO: TCP Data received {"connection_id":124873,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:38:42] local.INFO: Processing buffer {"connection_id":124873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:38:42] local.INFO: Packet analysis {"connection_id":124873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:38:42] local.INFO: Extracted packet for processing {"connection_id":124873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:38:42] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":71,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559734016001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783436762000,"timestamp_ms":1783436762000,"timestamp_seconds":1783436762,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1d5b90"} 
[2026-07-07 20:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:38: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-07-07 20: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-07-07 20: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-07-07 20:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559734016001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559734016001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:38:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:38:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559734016001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":124873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:38:42] local.INFO: GPS data processed {"connection_id":124873,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:38:42] local.INFO: Acknowledgment sent {"connection_id":124873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:38:58] local.INFO: TCP Data received {"connection_id":124777,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:38:58] local.INFO: Processing buffer {"connection_id":124777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:38:58] local.INFO: IMEI packet received {"connection_id":124777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":124777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:38:58] local.INFO: TCP Data received {"connection_id":125588,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:38:58] local.INFO: Processing buffer {"connection_id":125588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:38:58] local.INFO: IMEI packet received {"connection_id":125588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":125588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:39:03] local.INFO: TCP Data received {"connection_id":125588,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:39:03] local.INFO: Processing buffer {"connection_id":125588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:39:03] local.INFO: IMEI packet received {"connection_id":125588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":125588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:39:03] local.INFO: TCP Data received {"connection_id":124777,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:39:03] local.INFO: Processing buffer {"connection_id":124777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:39:03] local.INFO: IMEI packet received {"connection_id":124777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":124777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:39:04] local.INFO: TCP Data received {"connection_id":125588,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1e97f8012dd4020005154f30000f013a2b..."} 
[2026-07-07 20:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1e97f8012dd4020005154f30000f013a2b..."} 
[2026-07-07 20:39:04] local.INFO: Processing buffer {"connection_id":125588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1e97f8012dd4020005154f30000f013a2b..."} 
[2026-07-07 20:39:04] local.INFO: Packet analysis {"connection_id":125588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1e"} 
[2026-07-07 20:39:04] local.INFO: Extracted packet for processing {"connection_id":125588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1e"} 
[2026-07-07 20:39:04] local.INFO: GPS Element Parsed {"raw_longitude":768868864,"raw_latitude":85282608,"longitude_deg":76.8868864,"latitude_deg":8.5282608,"altitude":15,"angle":314,"satellites":43,"speed":55,"hex_longitude":"2dd40200","hex_latitude":"05154f30","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559830016001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341886960199008256,"note":"Value kept but may cause issues"} 
[2026-07-07 20:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3162582447746105344,"note":"Value kept but may cause issues"} 
[2026-07-07 20:39:04] 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-07-07 20:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783436843000,"timestamp_ms":1783436843000,"timestamp_seconds":1783436843,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1e97f8"} 
[2026-07-07 20:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 20:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559830016001,"66":27397,"236":206,"80":34304,"24":55,"16":341886960199008256,"45":-3162582447746105344},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-07-07 20:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559830016001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:39:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-07 20:39:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341886960199008256,"km_value":341886960199008.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3162582447746105344,"description":"Unknown IO ID 45"} 
[2026-07-07 20:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559830016001,"power":27397,"unknown_236":206,"unknown_80":34304,"ignition":55,"odometer":null,"unknown_45":-3162582447746105344}} 
[2026-07-07 20:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":125588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:39:04] local.INFO: GPS data processed {"connection_id":125588,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:39:04] local.INFO: Acknowledgment sent {"connection_id":125588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:39:04] local.INFO: TCP Data received {"connection_id":124777,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:39:04] local.INFO: Processing buffer {"connection_id":124777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:39:04] local.INFO: Packet analysis {"connection_id":124777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:39:04] local.INFO: Extracted packet for processing {"connection_id":124777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:39:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559739136001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783436782000,"timestamp_ms":1783436782000,"timestamp_seconds":1783436782,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1da9b0"} 
[2026-07-07 20:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-07 20:39:04] 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-07-07 20: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-07-07 20:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559739136001,"66":26419,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559739136001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:39:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559739136001,"power":26419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":124777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447672,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:39:04] local.INFO: GPS data processed {"connection_id":124777,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:39:04] local.INFO: Acknowledgment sent {"connection_id":124777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:39:14] local.INFO: TCP Data received {"connection_id":124873,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:39:14] local.INFO: Processing buffer {"connection_id":124873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:39:14] local.INFO: Packet analysis {"connection_id":124873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:39:14] local.INFO: Extracted packet for processing {"connection_id":124873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:39:14] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":71,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559734016001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783436762000,"timestamp_ms":1783436762000,"timestamp_seconds":1783436762,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1d5b90"} 
[2026-07-07 20:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20: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-07-07 20: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-07-07 20:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559734016001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559734016001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:39:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:39:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559734016001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":124873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:39:14] local.INFO: GPS data processed {"connection_id":124873,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:39:14] local.INFO: Acknowledgment sent {"connection_id":124873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:39:36] local.INFO: TCP Data received {"connection_id":124777,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:39:36] local.INFO: Processing buffer {"connection_id":124777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:39:36] local.INFO: Packet analysis {"connection_id":124777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:39:36] local.INFO: Extracted packet for processing {"connection_id":124777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:39:36] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559739136001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783436782000,"timestamp_ms":1783436782000,"timestamp_seconds":1783436782,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1da9b0"} 
[2026-07-07 20:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-07 20:39:36] 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-07-07 20:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559739136001,"66":26419,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559739136001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:39:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559739136001,"power":26419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":124777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447674,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:39:36] local.INFO: GPS data processed {"connection_id":124777,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:39:36] local.INFO: Acknowledgment sent {"connection_id":124777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:39:36] local.INFO: TCP Data received {"connection_id":125588,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1eb350012dd3e940051567c0000c013c26..."} 
[2026-07-07 20:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1eb350012dd3e940051567c0000c013c26..."} 
[2026-07-07 20:39:36] local.INFO: Processing buffer {"connection_id":125588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1eb350012dd3e940051567c0000c013c26..."} 
[2026-07-07 20:39:36] local.INFO: Packet analysis {"connection_id":125588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1e"} 
[2026-07-07 20:39:36] local.INFO: Extracted packet for processing {"connection_id":125588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1e"} 
[2026-07-07 20:39:36] local.INFO: GPS Element Parsed {"raw_longitude":768862528,"raw_latitude":85288896,"longitude_deg":76.8862528,"latitude_deg":8.5288896,"altitude":12,"angle":316,"satellites":38,"speed":43,"hex_longitude":"2dd3e940","hex_latitude":"051567c0","is_valid_coordinates":true} 
[2026-07-07 20:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559831808001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341887389695737856,"note":"Value kept but may cause issues"} 
[2026-07-07 20:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3169971165883060224,"note":"Value kept but may cause issues"} 
[2026-07-07 20:39:36] 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-07-07 20:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783436850000,"timestamp_ms":1783436850000,"timestamp_seconds":1783436850,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1eb350"} 
[2026-07-07 20:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 20:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559831808001,"66":27484,"236":206,"80":34304,"24":43,"16":341887389695737856,"45":-3169971165883060224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-07-07 20:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559831808001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:39:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-07 20:39:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341887389695737856,"km_value":341887389695737.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3169971165883060224,"description":"Unknown IO ID 45"} 
[2026-07-07 20:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559831808001,"power":27484,"unknown_236":206,"unknown_80":34304,"ignition":43,"odometer":null,"unknown_45":-3169971165883060224}} 
[2026-07-07 20:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":125588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:39:36] local.INFO: GPS data processed {"connection_id":125588,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:39:36] local.INFO: Acknowledgment sent {"connection_id":125588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:39:38] local.INFO: TCP Data received {"connection_id":125589,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:39:38] local.INFO: Processing buffer {"connection_id":125589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:39:38] local.INFO: IMEI packet received {"connection_id":125589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":125589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:39:43] local.INFO: TCP Data received {"connection_id":125589,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:39:43] local.INFO: Processing buffer {"connection_id":125589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:39:43] local.INFO: IMEI packet received {"connection_id":125589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":125589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:39:46] local.INFO: TCP Data received {"connection_id":125589,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:39:46] local.INFO: Processing buffer {"connection_id":125589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:39:46] local.INFO: Packet analysis {"connection_id":125589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:39:46] local.INFO: Extracted packet for processing {"connection_id":125589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:39:46] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":71,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559734016001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783436762000,"timestamp_ms":1783436762000,"timestamp_seconds":1783436762,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1d5b90"} 
[2026-07-07 20:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":125589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":125589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":125589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559734016001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559734016001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:39:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:39:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559734016001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":125589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:39:46] local.INFO: GPS data processed {"connection_id":125589,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:39:46] local.INFO: Acknowledgment sent {"connection_id":125589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:39:49] local.INFO: TCP Data received {"connection_id":125589,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:39:49] local.INFO: Processing buffer {"connection_id":125589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:39:49] local.INFO: Packet analysis {"connection_id":125589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:39:49] local.INFO: Extracted packet for processing {"connection_id":125589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:39:49] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":71,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559734016001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783436762000,"timestamp_ms":1783436762000,"timestamp_seconds":1783436762,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1d5b90"} 
[2026-07-07 20:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":125589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":125589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":125589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559734016001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559734016001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:39:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:39:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559734016001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":125589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:39:49] local.INFO: GPS data processed {"connection_id":125589,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:39:49] local.INFO: Acknowledgment sent {"connection_id":125589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:39:58] local.INFO: TCP Data received {"connection_id":126848,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:39:58] local.INFO: Processing buffer {"connection_id":126848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:39:58] local.INFO: IMEI packet received {"connection_id":126848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":126848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:39:58] local.INFO: TCP Data received {"connection_id":124778,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:39:58] local.INFO: Processing buffer {"connection_id":124778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:39:58] local.INFO: IMEI packet received {"connection_id":124778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":124778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:39:59] local.INFO: TCP Data received {"connection_id":124778,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:39:59] local.INFO: Processing buffer {"connection_id":124778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:39:59] local.INFO: IMEI packet received {"connection_id":124778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":124778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:40:03] local.INFO: TCP Data received {"connection_id":126848,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:40:03] local.INFO: Processing buffer {"connection_id":126848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:40:03] local.INFO: IMEI packet received {"connection_id":126848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":126848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:40:03] local.INFO: TCP Data received {"connection_id":124778,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:40:03] local.INFO: Processing buffer {"connection_id":124778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:40:03] local.INFO: IMEI packet received {"connection_id":124778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":124778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:40:04] local.INFO: TCP Data received {"connection_id":124778,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1f0558012dd3d3c005157e400009013c2b..."} 
[2026-07-07 20:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1f0558012dd3d3c005157e400009013c2b..."} 
[2026-07-07 20:40:04] local.INFO: Processing buffer {"connection_id":124778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1f0558012dd3d3c005157e400009013c2b..."} 
[2026-07-07 20:40:04] local.INFO: Packet analysis {"connection_id":124778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1f"} 
[2026-07-07 20:40:04] local.INFO: Extracted packet for processing {"connection_id":124778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1f"} 
[2026-07-07 20:40:04] local.INFO: GPS Element Parsed {"raw_longitude":768857024,"raw_latitude":85294656,"longitude_deg":76.8857024,"latitude_deg":8.5294656,"altitude":9,"angle":316,"satellites":43,"speed":0,"hex_longitude":"2dd3d3c0","hex_latitude":"05157e40","is_valid_coordinates":true} 
[2026-07-07 20:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559833600001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341887776242794496,"note":"Value kept but may cause issues"} 
[2026-07-07 20:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3176937671555039232,"note":"Value kept but may cause issues"} 
[2026-07-07 20:40:04] 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-07-07 20:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783436871000,"timestamp_ms":1783436871000,"timestamp_seconds":1783436871,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1f0558"} 
[2026-07-07 20:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 20:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559833600001,"66":26832,"236":206,"80":34304,"24":0,"16":341887776242794496,"45":-3176937671555039232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-07-07 20:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559833600001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:40:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-07 20:40:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341887776242794496,"km_value":341887776242794.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3176937671555039232,"description":"Unknown IO ID 45"} 
[2026-07-07 20:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559833600001,"power":26832,"unknown_236":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-3176937671555039232}} 
[2026-07-07 20:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":124778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:40:04] local.INFO: GPS data processed {"connection_id":124778,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:40:04] local.INFO: Acknowledgment sent {"connection_id":124778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:40:04] local.INFO: TCP Data received {"connection_id":126848,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:40:04] local.INFO: Processing buffer {"connection_id":126848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:40:04] local.INFO: Packet analysis {"connection_id":126848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:40:04] local.INFO: Extracted packet for processing {"connection_id":126848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:40:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559739136001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783436782000,"timestamp_ms":1783436782000,"timestamp_seconds":1783436782,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1da9b0"} 
[2026-07-07 20:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-07 20:40:04] 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-07-07 20:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559739136001,"66":26419,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559739136001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:40:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559739136001,"power":26419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":126848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447679,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:40:04] local.INFO: GPS data processed {"connection_id":126848,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:40:04] local.INFO: Acknowledgment sent {"connection_id":126848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:40:34] local.INFO: TCP Data received {"connection_id":125590,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:40:34] local.INFO: Processing buffer {"connection_id":125590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:40:34] local.INFO: IMEI packet received {"connection_id":125590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-07 20:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":125590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:40:35] local.INFO: TCP Data received {"connection_id":124778,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1f5760012dd3d38005157e480009013c29..."} 
[2026-07-07 20:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1f5760012dd3d38005157e480009013c29..."} 
[2026-07-07 20:40:35] local.INFO: Processing buffer {"connection_id":124778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1f5760012dd3d38005157e480009013c29..."} 
[2026-07-07 20:40:35] local.INFO: Packet analysis {"connection_id":124778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1f"} 
[2026-07-07 20:40:35] local.INFO: Extracted packet for processing {"connection_id":124778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1f"} 
[2026-07-07 20:40:35] local.INFO: GPS Element Parsed {"raw_longitude":768856960,"raw_latitude":85294664,"longitude_deg":76.885696,"latitude_deg":8.5294664,"altitude":9,"angle":316,"satellites":41,"speed":0,"hex_longitude":"2dd3d380","hex_latitude":"05157e48","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559838976001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341887780537761792,"note":"Value kept but may cause issues"} 
[2026-07-07 20:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3182989383552843776,"note":"Value kept but may cause issues"} 
[2026-07-07 20:40:35] 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-07-07 20:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783436892000,"timestamp_ms":1783436892000,"timestamp_seconds":1783436892,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1f5760"} 
[2026-07-07 20:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-07-07 20:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559838976001,"66":27365,"236":206,"80":34304,"24":0,"16":341887780537761792,"45":-3182989383552843776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-07-07 20:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559838976001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:40:35] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-07 20:40:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341887780537761792,"km_value":341887780537761.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3182989383552843776,"description":"Unknown IO ID 45"} 
[2026-07-07 20:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559838976001,"power":27365,"unknown_236":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-3182989383552843776}} 
[2026-07-07 20:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":124778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:40:35] local.INFO: GPS data processed {"connection_id":124778,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:40:35] local.INFO: Acknowledgment sent {"connection_id":124778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:40:37] local.INFO: TCP Data received {"connection_id":126848,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:40:37] local.INFO: Processing buffer {"connection_id":126848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:40:37] local.INFO: Packet analysis {"connection_id":126848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:40:37] local.INFO: Extracted packet for processing {"connection_id":126848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:40:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559739136001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783436782000,"timestamp_ms":1783436782000,"timestamp_seconds":1783436782,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1da9b0"} 
[2026-07-07 20:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-07 20:40:37] 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-07-07 20:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559739136001,"66":26419,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559739136001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:40:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559739136001,"power":26419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":126848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447681,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:40:37] local.INFO: GPS data processed {"connection_id":126848,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:40:37] local.INFO: Acknowledgment sent {"connection_id":126848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:40:38] local.INFO: TCP Data received {"connection_id":125590,"ip":"117.224.194.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:40:38] local.INFO: Processing buffer {"connection_id":125590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-07 20:40:38] local.INFO: IMEI packet received {"connection_id":125590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-07 20:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":125590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:40:40] local.INFO: TCP Data received {"connection_id":125590,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:40:40] local.INFO: Processing buffer {"connection_id":125590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:40:40] local.INFO: Packet analysis {"connection_id":125590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:40:40] local.INFO: Extracted packet for processing {"connection_id":125590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:40:40] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":71,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559734016001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783436762000,"timestamp_ms":1783436762000,"timestamp_seconds":1783436762,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1d5b90"} 
[2026-07-07 20:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559734016001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559734016001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:40:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:40:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559734016001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":125590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:40:40] local.INFO: GPS data processed {"connection_id":125590,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:40:40] local.INFO: Acknowledgment sent {"connection_id":125590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:40:58] local.INFO: TCP Data received {"connection_id":126849,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:40:58] local.INFO: Processing buffer {"connection_id":126849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:40:58] local.INFO: IMEI packet received {"connection_id":126849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":126849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:41:04] local.INFO: TCP Data received {"connection_id":126850,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:41:04] local.INFO: Processing buffer {"connection_id":126850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:41:04] local.INFO: IMEI packet received {"connection_id":126850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":126850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:41:05] local.INFO: TCP Data received {"connection_id":126849,"ip":"42.106.6.30","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 20:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126849,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 20:41:05] local.INFO: Processing buffer {"connection_id":126849,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 20:41:05] local.INFO: IMEI packet received {"connection_id":126849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":126849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:41:05] local.INFO: TCP Data received {"connection_id":126849,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d210128012dd2e1400516b288000b01432c..."} 
[2026-07-07 20:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d210128012dd2e1400516b288000b01432c..."} 
[2026-07-07 20:41:05] local.INFO: Processing buffer {"connection_id":126849,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f3d..."} 
[2026-07-07 20:41:05] local.INFO: IMEI packet received {"connection_id":126849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":126849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:41:07] local.INFO: TCP Data received {"connection_id":126849,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d211c80012dd2c9c00516d210000a01432d..."} 
[2026-07-07 20:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d211c80012dd2c9c00516d210000a01432d..."} 
[2026-07-07 20:41:07] local.INFO: Processing buffer {"connection_id":126849,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3d210128012dd2e1400516b288000b01432c..."} 
[2026-07-07 20:41:07] local.INFO: Packet analysis {"connection_id":126849,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3d21"} 
[2026-07-07 20:41:07] local.INFO: Extracted packet for processing {"connection_id":126849,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d21"} 
[2026-07-07 20:41:07] local.INFO: GPS Element Parsed {"raw_longitude":768794944,"raw_latitude":85373576,"longitude_deg":76.8794944,"latitude_deg":8.5373576,"altitude":11,"angle":323,"satellites":44,"speed":56,"hex_longitude":"2dd2e140","hex_latitude":"0516b288","is_valid_coordinates":true} 
[2026-07-07 20:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559870464001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341892633850806272,"note":"Value kept but may cause issues"} 
[2026-07-07 20:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3245054615899342848,"note":"Value kept but may cause issues"} 
[2026-07-07 20:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783437001000,"timestamp_ms":1783437001000,"timestamp_seconds":1783437001,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d210128"} 
[2026-07-07 20:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 20:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559870464001,"66":27376,"107":206,"80":34304,"24":56,"16":341892633850806272,"45":-3245054615899342848},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,80,24,16,45]} 
[2026-07-07 20:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559870464001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:41:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-07 20:41:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341892633850806272,"km_value":341892633850806.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3245054615899342848,"description":"Unknown IO ID 45"} 
[2026-07-07 20:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559870464001,"power":27376,"unknown_107":206,"unknown_80":34304,"ignition":56,"odometer":null,"unknown_45":-3245054615899342848}} 
[2026-07-07 20:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":126849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:41:07] local.INFO: GPS data processed {"connection_id":126849,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:41:07] local.INFO: Acknowledgment sent {"connection_id":126849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:41:07] local.INFO: Packet analysis {"connection_id":126849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d21"} 
[2026-07-07 20:41:07] local.INFO: Extracted packet for processing {"connection_id":126849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d21"} 
[2026-07-07 20:41:07] local.INFO: GPS Element Parsed {"raw_longitude":768788928,"raw_latitude":85381648,"longitude_deg":76.8788928,"latitude_deg":8.5381648,"altitude":10,"angle":323,"satellites":45,"speed":57,"hex_longitude":"2dd2c9c0","hex_latitude":"0516d210","is_valid_coordinates":true} 
[2026-07-07 20:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559872256001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341893119182110720,"note":"Value kept but may cause issues"} 
[2026-07-07 20:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3251247065384974336,"note":"Value kept but may cause issues"} 
[2026-07-07 20:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783437008000,"timestamp_ms":1783437008000,"timestamp_seconds":1783437008,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d211c80"} 
[2026-07-07 20:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 20:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559872256001,"66":27376,"227":206,"80":34304,"24":57,"16":341893119182110720,"45":-3251247065384974336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-07-07 20:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559872256001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:41:07] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-07 20:41:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341893119182110720,"km_value":341893119182110.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3251247065384974336,"description":"Unknown IO ID 45"} 
[2026-07-07 20:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559872256001,"power":27376,"unknown_227":206,"unknown_80":34304,"ignition":57,"odometer":null,"unknown_45":-3251247065384974336}} 
[2026-07-07 20:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":126849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:41:07] local.INFO: GPS data processed {"connection_id":126849,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:41:07] local.INFO: Acknowledgment sent {"connection_id":126849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:41:08] local.INFO: TCP Data received {"connection_id":126849,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2137d8012dd2b3c00516f0a0000b01442c..."} 
[2026-07-07 20:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2137d8012dd2b3c00516f0a0000b01442c..."} 
[2026-07-07 20:41:08] local.INFO: Processing buffer {"connection_id":126849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2137d8012dd2b3c00516f0a0000b01442c..."} 
[2026-07-07 20:41:08] local.INFO: Packet analysis {"connection_id":126849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d21"} 
[2026-07-07 20:41:08] local.INFO: Extracted packet for processing {"connection_id":126849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d21"} 
[2026-07-07 20:41:08] local.INFO: GPS Element Parsed {"raw_longitude":768783296,"raw_latitude":85389472,"longitude_deg":76.8783296,"latitude_deg":8.5389472,"altitude":11,"angle":324,"satellites":44,"speed":52,"hex_longitude":"2dd2b3c0","hex_latitude":"0516f0a0","is_valid_coordinates":true} 
[2026-07-07 20:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559874048001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341893587333545984,"note":"Value kept but may cause issues"} 
[2026-07-07 20:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3257861727335608320,"note":"Value kept but may cause issues"} 
[2026-07-07 20:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783437015000,"timestamp_ms":1783437015000,"timestamp_seconds":1783437015,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2137d8"} 
[2026-07-07 20:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:41: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-07-07 20:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 20:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559874048001,"66":27321,"227":206,"80":34304,"24":52,"16":341893587333545984,"45":-3257861727335608320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-07-07 20:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559874048001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:41:08] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-07 20:41:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341893587333545984,"km_value":341893587333546.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3257861727335608320,"description":"Unknown IO ID 45"} 
[2026-07-07 20:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559874048001,"power":27321,"unknown_227":206,"unknown_80":34304,"ignition":52,"odometer":null,"unknown_45":-3257861727335608320}} 
[2026-07-07 20:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":126849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:41:08] local.INFO: GPS data processed {"connection_id":126849,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:41:08] local.INFO: Acknowledgment sent {"connection_id":126849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:41:08] local.INFO: TCP Data received {"connection_id":126850,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:41:08] local.INFO: Processing buffer {"connection_id":126850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:41:08] local.INFO: IMEI packet received {"connection_id":126850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":126850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:41:09] local.INFO: TCP Data received {"connection_id":126850,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:41:09] local.INFO: Processing buffer {"connection_id":126850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:41:09] local.INFO: Packet analysis {"connection_id":126850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:41:09] local.INFO: Extracted packet for processing {"connection_id":126850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:41:09] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559739136001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783436782000,"timestamp_ms":1783436782000,"timestamp_seconds":1783436782,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1da9b0"} 
[2026-07-07 20:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:41: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-07-07 20: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-07 20:41:09] 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-07-07 20:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559739136001,"66":26419,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559739136001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:41:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559739136001,"power":26419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":126850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447686,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:41:09] local.INFO: GPS data processed {"connection_id":126850,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:41:09] local.INFO: Acknowledgment sent {"connection_id":126850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:41:11] local.INFO: TCP Data received {"connection_id":125590,"ip":"117.224.194.10","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:41:11] local.INFO: Processing buffer {"connection_id":125590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1d5b90012d1962c0071fefb00047006823..."} 
[2026-07-07 20:41:11] local.INFO: Packet analysis {"connection_id":125590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:41:11] local.INFO: Extracted packet for processing {"connection_id":125590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:41:11] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533488,"longitude_deg":75.66384,"latitude_deg":11.9533488,"altitude":71,"angle":104,"satellites":35,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-07 20:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559734016001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4783743164219392,"note":"Value kept but may cause issues"} 
[2026-07-07 20:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498948608,"note":"Value kept but may cause issues"} 
[2026-07-07 20: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-07-07 20:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783436762000,"timestamp_ms":1783436762000,"timestamp_seconds":1783436762,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1d5b90"} 
[2026-07-07 20:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 20:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-07 20:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.194.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-07 20:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-07 20:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559734016001,"66":2144,"121":206,"28":31744,"24":0,"16":4783743164219392,"45":1829235535498948608},"client_ip":"117.224.194.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-07 20:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-07 20:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-07 20:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559734016001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:41:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-07 20:41:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-07 20:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4783743164219392,"km_value":4783743164219.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498948608,"description":"Unknown IO ID 45"} 
[2026-07-07 20:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559734016001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829235535498948608}} 
[2026-07-07 20:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":125590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:41:11] local.INFO: GPS data processed {"connection_id":125590,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:41:11] local.INFO: Acknowledgment sent {"connection_id":125590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:41:14] local.INFO: TCP Data received {"connection_id":126850,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:41:14] local.INFO: Processing buffer {"connection_id":126850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d1da9b0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:41:14] local.INFO: Packet analysis {"connection_id":126850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:41:14] local.INFO: Extracted packet for processing {"connection_id":126850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d1d"} 
[2026-07-07 20:41:14] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 20:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559739136001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783436782000,"timestamp_ms":1783436782000,"timestamp_seconds":1783436782,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d1da9b0"} 
[2026-07-07 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-07-07 20:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-07 20:41:14] 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-07-07 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-07-07 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-07-07 20:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559739136001,"66":26419,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559739136001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:41:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559739136001,"power":26419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":126850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447688,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:41:14] local.INFO: GPS data processed {"connection_id":126850,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:41:14] local.INFO: Acknowledgment sent {"connection_id":126850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:41:39] local.INFO: TCP Data received {"connection_id":126849,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d215330012dd2a00005170e80000b014a29..."} 
[2026-07-07 20:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d215330012dd2a00005170e80000b014a29..."} 
[2026-07-07 20:41:39] local.INFO: Processing buffer {"connection_id":126849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d215330012dd2a00005170e80000b014a29..."} 
[2026-07-07 20:41:39] local.INFO: Packet analysis {"connection_id":126849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d21"} 
[2026-07-07 20:41:39] local.INFO: Extracted packet for processing {"connection_id":126849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d21"} 
[2026-07-07 20:41:39] local.INFO: GPS Element Parsed {"raw_longitude":768778240,"raw_latitude":85397120,"longitude_deg":76.877824,"latitude_deg":8.539712,"altitude":11,"angle":330,"satellites":41,"speed":51,"hex_longitude":"2dd2a000","hex_latitude":"05170e80","is_valid_coordinates":true} 
[2026-07-07 20:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559875840001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341894029715177472,"note":"Value kept but may cause issues"} 
[2026-07-07 20:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3264054176821239808,"note":"Value kept but may cause issues"} 
[2026-07-07 20:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783437022000,"timestamp_ms":1783437022000,"timestamp_seconds":1783437022,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d215330"} 
[2026-07-07 20:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 20:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559875840001,"66":27343,"178":206,"80":34304,"24":51,"16":341894029715177472,"45":-3264054176821239808},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,80,24,16,45]} 
[2026-07-07 20:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559875840001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:41:39] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-07 20:41:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341894029715177472,"km_value":341894029715177.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3264054176821239808,"description":"Unknown IO ID 45"} 
[2026-07-07 20:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559875840001,"power":27343,"unknown_178":206,"unknown_80":34304,"ignition":51,"odometer":null,"unknown_45":-3264054176821239808}} 
[2026-07-07 20:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":126849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:41:39] local.INFO: GPS data processed {"connection_id":126849,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:41:39] local.INFO: Acknowledgment sent {"connection_id":126849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:41:59] local.INFO: TCP Data received {"connection_id":124874,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:41:59] local.INFO: Processing buffer {"connection_id":124874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:41:59] local.INFO: IMEI packet received {"connection_id":124874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":124874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:42:01] local.INFO: TCP Data received {"connection_id":124874,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:42:01] local.INFO: Processing buffer {"connection_id":124874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:42:01] local.INFO: IMEI packet received {"connection_id":124874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":124874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:42:02] local.INFO: TCP Data received {"connection_id":124874,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:42:02] local.INFO: Processing buffer {"connection_id":124874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:42:02] local.INFO: Packet analysis {"connection_id":124874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d22"} 
[2026-07-07 20:42:02] local.INFO: Extracted packet for processing {"connection_id":124874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d22"} 
[2026-07-07 20:42:02] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559816192001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783437083000,"timestamp_ms":1783437083000,"timestamp_seconds":1783437083,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d224178"} 
[2026-07-07 20:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 20:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559816192001,"66":26376,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559816192001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:42:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559816192001,"power":26376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":124874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447690,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:42:02] local.INFO: GPS data processed {"connection_id":124874,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:42:02] local.INFO: Acknowledgment sent {"connection_id":124874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:42:03] local.INFO: TCP Data received {"connection_id":124875,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:42:03] local.INFO: Processing buffer {"connection_id":124875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:42:03] local.INFO: IMEI packet received {"connection_id":124875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":124875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:42:06] local.INFO: TCP Data received {"connection_id":124875,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:42:06] local.INFO: Processing buffer {"connection_id":124875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:42:06] local.INFO: IMEI packet received {"connection_id":124875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":124875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:42:07] local.INFO: TCP Data received {"connection_id":124875,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d216e88012dd2920005172fb8000c01562d..."} 
[2026-07-07 20:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d216e88012dd2920005172fb8000c01562d..."} 
[2026-07-07 20:42:07] local.INFO: Processing buffer {"connection_id":124875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d216e88012dd2920005172fb8000c01562d..."} 
[2026-07-07 20:42:07] local.INFO: Packet analysis {"connection_id":124875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d21"} 
[2026-07-07 20:42:07] local.INFO: Extracted packet for processing {"connection_id":124875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d21"} 
[2026-07-07 20:42:07] local.INFO: GPS Element Parsed {"raw_longitude":768774656,"raw_latitude":85405624,"longitude_deg":76.8774656,"latitude_deg":8.5405624,"altitude":12,"angle":342,"satellites":45,"speed":54,"hex_longitude":"2dd29200","hex_latitude":"05172fb8","is_valid_coordinates":true} 
[2026-07-07 20:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559877632001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341894476391776256,"note":"Value kept but may cause issues"} 
[2026-07-07 20:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3269613307609317376,"note":"Value kept but may cause issues"} 
[2026-07-07 20:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783437029000,"timestamp_ms":1783437029000,"timestamp_seconds":1783437029,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d216e88"} 
[2026-07-07 20:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:42: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-07-07 20:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 20:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559877632001,"66":27376,"177":206,"80":34304,"24":54,"16":341894476391776256,"45":-3269613307609317376},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-07 20:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559877632001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:42:07] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 20:42:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341894476391776256,"km_value":341894476391776.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3269613307609317376,"description":"Unknown IO ID 45"} 
[2026-07-07 20:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559877632001,"power":27376,"unknown_177":206,"unknown_80":34304,"ignition":54,"odometer":null,"unknown_45":-3269613307609317376}} 
[2026-07-07 20:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":124875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:42:07] local.INFO: GPS data processed {"connection_id":124875,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:42:07] local.INFO: Acknowledgment sent {"connection_id":124875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:42:08] local.INFO: TCP Data received {"connection_id":124875,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d216e88012dd2920005172fb8000c01562d..."} 
[2026-07-07 20:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d216e88012dd2920005172fb8000c01562d..."} 
[2026-07-07 20:42:08] local.INFO: Processing buffer {"connection_id":124875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d216e88012dd2920005172fb8000c01562d..."} 
[2026-07-07 20:42:08] local.INFO: Packet analysis {"connection_id":124875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d21"} 
[2026-07-07 20:42:08] local.INFO: Extracted packet for processing {"connection_id":124875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d21"} 
[2026-07-07 20:42:08] local.INFO: GPS Element Parsed {"raw_longitude":768774656,"raw_latitude":85405624,"longitude_deg":76.8774656,"latitude_deg":8.5405624,"altitude":12,"angle":342,"satellites":45,"speed":54,"hex_longitude":"2dd29200","hex_latitude":"05172fb8","is_valid_coordinates":true} 
[2026-07-07 20:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559879424001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341894476391776256,"note":"Value kept but may cause issues"} 
[2026-07-07 20:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3273553957281089536,"note":"Value kept but may cause issues"} 
[2026-07-07 20:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783437029000,"timestamp_ms":1783437029000,"timestamp_seconds":1783437029,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d216e88"} 
[2026-07-07 20:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:42: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-07-07 20:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 20:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559879424001,"66":27376,"177":206,"80":34304,"24":54,"16":341894476391776256,"45":-3273553957281089536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-07 20:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559879424001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:42:08] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 20:42:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341894476391776256,"km_value":341894476391776.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3273553957281089536,"description":"Unknown IO ID 45"} 
[2026-07-07 20:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559879424001,"power":27376,"unknown_177":206,"unknown_80":34304,"ignition":54,"odometer":null,"unknown_45":-3273553957281089536}} 
[2026-07-07 20:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":124875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:42:08] local.INFO: GPS data processed {"connection_id":124875,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:42:08] local.INFO: Acknowledgment sent {"connection_id":124875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:42:33] local.INFO: TCP Data received {"connection_id":124874,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:42:33] local.INFO: Processing buffer {"connection_id":124874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:42:33] local.INFO: Packet analysis {"connection_id":124874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d22"} 
[2026-07-07 20:42:33] local.INFO: Extracted packet for processing {"connection_id":124874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d22"} 
[2026-07-07 20:42:33] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559816192001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783437083000,"timestamp_ms":1783437083000,"timestamp_seconds":1783437083,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d224178"} 
[2026-07-07 20:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 20:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559816192001,"66":26376,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559816192001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:42:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559816192001,"power":26376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":124874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447693,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:42:33] local.INFO: GPS data processed {"connection_id":124874,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:42:33] local.INFO: Acknowledgment sent {"connection_id":124874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:42:39] local.INFO: TCP Data received {"connection_id":124875,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2185f8012dd28bc005175018000b01622d..."} 
[2026-07-07 20:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2185f8012dd28bc005175018000b01622d..."} 
[2026-07-07 20:42:39] local.INFO: Processing buffer {"connection_id":124875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2185f8012dd28bc005175018000b01622d..."} 
[2026-07-07 20:42:39] local.INFO: Packet analysis {"connection_id":124875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d21"} 
[2026-07-07 20:42:39] local.INFO: Extracted packet for processing {"connection_id":124875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d21"} 
[2026-07-07 20:42:39] local.INFO: GPS Element Parsed {"raw_longitude":768773056,"raw_latitude":85413912,"longitude_deg":76.8773056,"latitude_deg":8.5413912,"altitude":11,"angle":354,"satellites":45,"speed":56,"hex_longitude":"2dd28bc0","hex_latitude":"05175018","is_valid_coordinates":true} 
[2026-07-07 20:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559879424001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341894884413669376,"note":"Value kept but may cause issues"} 
[2026-07-07 20:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3273553957281089536,"note":"Value kept but may cause issues"} 
[2026-07-07 20:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783437035000,"timestamp_ms":1783437035000,"timestamp_seconds":1783437035,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2185f8"} 
[2026-07-07 20:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:42: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-07-07 20:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 20:42: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-07-07 20:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559879424001,"66":27245,"177":206,"80":34304,"24":56,"16":341894884413669376,"45":-3273553957281089536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-07 20:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559879424001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:42:39] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 20:42:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341894884413669376,"km_value":341894884413669.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3273553957281089536,"description":"Unknown IO ID 45"} 
[2026-07-07 20:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559879424001,"power":27245,"unknown_177":206,"unknown_80":34304,"ignition":56,"odometer":null,"unknown_45":-3273553957281089536}} 
[2026-07-07 20:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":124875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:42:39] local.INFO: GPS data processed {"connection_id":124875,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:42:39] local.INFO: Acknowledgment sent {"connection_id":124875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:42:55] local.INFO: TCP Data received {"connection_id":124779,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:42:55] local.INFO: Processing buffer {"connection_id":124779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:42:55] local.INFO: IMEI packet received {"connection_id":124779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":124779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:42:58] local.INFO: TCP Data received {"connection_id":124779,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:42:58] local.INFO: Processing buffer {"connection_id":124779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:42:58] local.INFO: IMEI packet received {"connection_id":124779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":124779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:43:03] local.INFO: TCP Data received {"connection_id":124779,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:43:03] local.INFO: Processing buffer {"connection_id":124779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:43:03] local.INFO: IMEI packet received {"connection_id":124779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":124779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:43:03] local.INFO: TCP Data received {"connection_id":125591,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:43:03] local.INFO: Processing buffer {"connection_id":125591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:43:03] local.INFO: IMEI packet received {"connection_id":125591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":125591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:43:04] local.INFO: TCP Data received {"connection_id":124779,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d21a150012dd2894005177770000a01662b..."} 
[2026-07-07 20:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d21a150012dd2894005177770000a01662b..."} 
[2026-07-07 20:43:04] local.INFO: Processing buffer {"connection_id":124779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d21a150012dd2894005177770000a01662b..."} 
[2026-07-07 20:43:04] local.INFO: Packet analysis {"connection_id":124779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d21"} 
[2026-07-07 20:43:04] local.INFO: Extracted packet for processing {"connection_id":124779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d21"} 
[2026-07-07 20:43:04] local.INFO: GPS Element Parsed {"raw_longitude":768772416,"raw_latitude":85423984,"longitude_deg":76.8772416,"latitude_deg":8.5423984,"altitude":10,"angle":358,"satellites":43,"speed":57,"hex_longitude":"2dd28940","hex_latitude":"05177770","is_valid_coordinates":true} 
[2026-07-07 20:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559880960001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341895374039941120,"note":"Value kept but may cause issues"} 
[2026-07-07 20:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3275313175883409408,"note":"Value kept but may cause issues"} 
[2026-07-07 20:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783437042000,"timestamp_ms":1783437042000,"timestamp_seconds":1783437042,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d21a150"} 
[2026-07-07 20:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-07 20:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559880960001,"66":27397,"177":206,"80":34304,"24":57,"16":341895374039941120,"45":-3275313175883409408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-07 20:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559880960001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:43:04] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 20:43:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341895374039941120,"km_value":341895374039941.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3275313175883409408,"description":"Unknown IO ID 45"} 
[2026-07-07 20:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559880960001,"power":27397,"unknown_177":206,"unknown_80":34304,"ignition":57,"odometer":null,"unknown_45":-3275313175883409408}} 
[2026-07-07 20:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":124779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:43:04] local.INFO: GPS data processed {"connection_id":124779,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:43:04] local.INFO: Acknowledgment sent {"connection_id":124779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:43:08] local.INFO: TCP Data received {"connection_id":124779,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d21bca8012dd2878005179e48000a01662a..."} 
[2026-07-07 20:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d21bca8012dd2878005179e48000a01662a..."} 
[2026-07-07 20:43:08] local.INFO: Processing buffer {"connection_id":124779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d21bca8012dd2878005179e48000a01662a..."} 
[2026-07-07 20:43:08] local.INFO: Packet analysis {"connection_id":124779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d21"} 
[2026-07-07 20:43:08] local.INFO: Extracted packet for processing {"connection_id":124779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d21"} 
[2026-07-07 20:43:08] local.INFO: GPS Element Parsed {"raw_longitude":768771968,"raw_latitude":85433928,"longitude_deg":76.8771968,"latitude_deg":8.5433928,"altitude":10,"angle":358,"satellites":42,"speed":55,"hex_longitude":"2dd28780","hex_latitude":"05179e48","is_valid_coordinates":true} 
[2026-07-07 20:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559882752001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341895859371245568,"note":"Value kept but may cause issues"} 
[2026-07-07 20:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3276016863322607616,"note":"Value kept but may cause issues"} 
[2026-07-07 20:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783437049000,"timestamp_ms":1783437049000,"timestamp_seconds":1783437049,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d21bca8"} 
[2026-07-07 20:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 20:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559882752001,"66":27213,"177":206,"80":34304,"24":55,"16":341895859371245568,"45":-3276016863322607616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-07 20:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559882752001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:43:08] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 20:43:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341895859371245568,"km_value":341895859371245.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3276016863322607616,"description":"Unknown IO ID 45"} 
[2026-07-07 20:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559882752001,"power":27213,"unknown_177":206,"unknown_80":34304,"ignition":55,"odometer":null,"unknown_45":-3276016863322607616}} 
[2026-07-07 20:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":124779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:43:08] local.INFO: GPS data processed {"connection_id":124779,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:43:08] local.INFO: Acknowledgment sent {"connection_id":124779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:43:08] local.INFO: TCP Data received {"connection_id":125591,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:43:08] local.INFO: Processing buffer {"connection_id":125591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:43:08] local.INFO: IMEI packet received {"connection_id":125591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":125591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:43:09] local.INFO: TCP Data received {"connection_id":125591,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:43:09] local.INFO: Processing buffer {"connection_id":125591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:43:09] local.INFO: Packet analysis {"connection_id":125591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d22"} 
[2026-07-07 20:43:09] local.INFO: Extracted packet for processing {"connection_id":125591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d22"} 
[2026-07-07 20:43:09] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559816192001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783437083000,"timestamp_ms":1783437083000,"timestamp_seconds":1783437083,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d224178"} 
[2026-07-07 20:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 20:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559816192001,"66":26376,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559816192001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:43:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559816192001,"power":26376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":125591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447697,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:43:09] local.INFO: GPS data processed {"connection_id":125591,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:43:09] local.INFO: Acknowledgment sent {"connection_id":125591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:43:14] local.INFO: TCP Data received {"connection_id":125591,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:43:14] local.INFO: Processing buffer {"connection_id":125591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:43:14] local.INFO: Packet analysis {"connection_id":125591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d22"} 
[2026-07-07 20:43:14] local.INFO: Extracted packet for processing {"connection_id":125591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d22"} 
[2026-07-07 20:43:14] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559816192001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783437083000,"timestamp_ms":1783437083000,"timestamp_seconds":1783437083,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d224178"} 
[2026-07-07 20:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 20:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559816192001,"66":26376,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559816192001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:43:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559816192001,"power":26376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":125591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447698,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:43:14] local.INFO: GPS data processed {"connection_id":125591,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:43:14] local.INFO: Acknowledgment sent {"connection_id":125591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:43:40] local.INFO: TCP Data received {"connection_id":124779,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d21dbe8012dd286000517c488000901652b..."} 
[2026-07-07 20:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d21dbe8012dd286000517c488000901652b..."} 
[2026-07-07 20:43:40] local.INFO: Processing buffer {"connection_id":124779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d21dbe8012dd286000517c488000901652b..."} 
[2026-07-07 20:43:40] local.INFO: Packet analysis {"connection_id":124779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d21"} 
[2026-07-07 20:43:40] local.INFO: Extracted packet for processing {"connection_id":124779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d21"} 
[2026-07-07 20:43:40] local.INFO: GPS Element Parsed {"raw_longitude":768771584,"raw_latitude":85443720,"longitude_deg":76.8771584,"latitude_deg":8.544372,"altitude":9,"angle":357,"satellites":43,"speed":41,"hex_longitude":"2dd28600","hex_latitude":"0517c488","is_valid_coordinates":true} 
[2026-07-07 20:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559884544001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341896331817648128,"note":"Value kept but may cause issues"} 
[2026-07-07 20:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3276509444529305600,"note":"Value kept but may cause issues"} 
[2026-07-07 20:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783437057000,"timestamp_ms":1783437057000,"timestamp_seconds":1783437057,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d21dbe8"} 
[2026-07-07 20:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 20:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559884544001,"66":27365,"177":206,"80":34304,"24":41,"16":341896331817648128,"45":-3276509444529305600},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-07 20:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559884544001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:43:40] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-07 20:43:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-07-07 20:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341896331817648128,"km_value":341896331817648.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3276509444529305600,"description":"Unknown IO ID 45"} 
[2026-07-07 20:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559884544001,"power":27365,"unknown_177":206,"unknown_80":34304,"ignition":41,"odometer":null,"unknown_45":-3276509444529305600}} 
[2026-07-07 20:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":124779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:43:40] local.INFO: GPS data processed {"connection_id":124779,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:43:40] local.INFO: Acknowledgment sent {"connection_id":124779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:43:58] local.INFO: TCP Data received {"connection_id":124876,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:43:58] local.INFO: Processing buffer {"connection_id":124876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:43:58] local.INFO: IMEI packet received {"connection_id":124876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":124876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:44:03] local.INFO: TCP Data received {"connection_id":124876,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:44:03] local.INFO: Processing buffer {"connection_id":124876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:44:03] local.INFO: IMEI packet received {"connection_id":124876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":124876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:44:04] local.INFO: TCP Data received {"connection_id":124876,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:44:04] local.INFO: Processing buffer {"connection_id":124876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:44:04] local.INFO: Packet analysis {"connection_id":124876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d22"} 
[2026-07-07 20:44:04] local.INFO: Extracted packet for processing {"connection_id":124876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d22"} 
[2026-07-07 20:44:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559816192001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783437083000,"timestamp_ms":1783437083000,"timestamp_seconds":1783437083,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d224178"} 
[2026-07-07 20:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 20:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559816192001,"66":26376,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559816192001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:44:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559816192001,"power":26376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":124876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447700,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:44:04] local.INFO: GPS data processed {"connection_id":124876,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:44:04] local.INFO: Acknowledgment sent {"connection_id":124876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:44:18] local.INFO: TCP Data received {"connection_id":126851,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:44:18] local.INFO: Processing buffer {"connection_id":126851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:44:18] local.INFO: IMEI packet received {"connection_id":126851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":126851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:44:18] local.INFO: TCP Data received {"connection_id":126851,"ip":"42.106.6.30","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 20:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126851,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 20:44:18] local.INFO: Processing buffer {"connection_id":126851,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 20:44:18] local.INFO: IMEI packet received {"connection_id":126851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":126851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:44:36] local.INFO: TCP Data received {"connection_id":124876,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:44:36] local.INFO: Processing buffer {"connection_id":124876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:44:36] local.INFO: Packet analysis {"connection_id":124876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d22"} 
[2026-07-07 20:44:36] local.INFO: Extracted packet for processing {"connection_id":124876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d22"} 
[2026-07-07 20:44:36] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559816192001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783437083000,"timestamp_ms":1783437083000,"timestamp_seconds":1783437083,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d224178"} 
[2026-07-07 20:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 20:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559816192001,"66":26376,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559816192001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:44:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559816192001,"power":26376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":124876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447701,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:44:37] local.INFO: GPS data processed {"connection_id":124876,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:44:37] local.INFO: Acknowledgment sent {"connection_id":124876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:44:58] local.INFO: TCP Data received {"connection_id":125592,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:44:58] local.INFO: Processing buffer {"connection_id":125592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:44:58] local.INFO: IMEI packet received {"connection_id":125592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":125592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:45:03] local.INFO: TCP Data received {"connection_id":125592,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:45:03] local.INFO: Processing buffer {"connection_id":125592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:45:03] local.INFO: IMEI packet received {"connection_id":125592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":125592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:45:04] local.INFO: TCP Data received {"connection_id":125592,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:45:04] local.INFO: Processing buffer {"connection_id":125592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:45:04] local.INFO: Packet analysis {"connection_id":125592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d22"} 
[2026-07-07 20:45:04] local.INFO: Extracted packet for processing {"connection_id":125592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d22"} 
[2026-07-07 20:45:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559816192001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783437083000,"timestamp_ms":1783437083000,"timestamp_seconds":1783437083,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d224178"} 
[2026-07-07 20:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 20:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559816192001,"66":26376,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559816192001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:45:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559816192001,"power":26376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":125592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447702,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:45:04] local.INFO: GPS data processed {"connection_id":125592,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:45:04] local.INFO: Acknowledgment sent {"connection_id":125592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:45:38] local.INFO: TCP Data received {"connection_id":125592,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:45:38] local.INFO: Processing buffer {"connection_id":125592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:45:38] local.INFO: Packet analysis {"connection_id":125592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d22"} 
[2026-07-07 20:45:38] local.INFO: Extracted packet for processing {"connection_id":125592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d22"} 
[2026-07-07 20:45:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559816192001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783437083000,"timestamp_ms":1783437083000,"timestamp_seconds":1783437083,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d224178"} 
[2026-07-07 20:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 20:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559816192001,"66":26376,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559816192001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:45:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559816192001,"power":26376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":125592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447703,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:45:38] local.INFO: GPS data processed {"connection_id":125592,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:45:38] local.INFO: Acknowledgment sent {"connection_id":125592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:45:58] local.INFO: TCP Data received {"connection_id":124781,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:45:58] local.INFO: Processing buffer {"connection_id":124781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:45:58] local.INFO: IMEI packet received {"connection_id":124781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":124781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:46:03] local.INFO: TCP Data received {"connection_id":124781,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:46:03] local.INFO: Processing buffer {"connection_id":124781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:46:03] local.INFO: IMEI packet received {"connection_id":124781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":124781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:46:06] local.INFO: TCP Data received {"connection_id":124781,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:46:06] local.INFO: Processing buffer {"connection_id":124781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:46:06] local.INFO: Packet analysis {"connection_id":124781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d22"} 
[2026-07-07 20:46:06] local.INFO: Extracted packet for processing {"connection_id":124781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d22"} 
[2026-07-07 20:46:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559816192001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783437083000,"timestamp_ms":1783437083000,"timestamp_seconds":1783437083,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d224178"} 
[2026-07-07 20:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 20:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559816192001,"66":26376,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559816192001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:46:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559816192001,"power":26376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":124781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447704,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:46:06] local.INFO: GPS data processed {"connection_id":124781,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:46:06] local.INFO: Acknowledgment sent {"connection_id":124781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:46:38] local.INFO: TCP Data received {"connection_id":124781,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:46:38] local.INFO: Processing buffer {"connection_id":124781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d224178012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:46:38] local.INFO: Packet analysis {"connection_id":124781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d22"} 
[2026-07-07 20:46:38] local.INFO: Extracted packet for processing {"connection_id":124781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d22"} 
[2026-07-07 20:46:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559816192001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783437083000,"timestamp_ms":1783437083000,"timestamp_seconds":1783437083,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d224178"} 
[2026-07-07 20:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-07 20:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559816192001,"66":26376,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559816192001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:46:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559816192001,"power":26376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":124781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447705,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:46:38] local.INFO: GPS data processed {"connection_id":124781,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:46:38] local.INFO: Acknowledgment sent {"connection_id":124781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:47:02] local.INFO: TCP Data received {"connection_id":124783,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:47:02] local.INFO: Processing buffer {"connection_id":124783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:47:02] local.INFO: IMEI packet received {"connection_id":124783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":124783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:47:03] local.INFO: TCP Data received {"connection_id":124783,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:47:03] local.INFO: Processing buffer {"connection_id":124783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:47:03] local.INFO: IMEI packet received {"connection_id":124783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":124783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:47:08] local.INFO: TCP Data received {"connection_id":124783,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:47:08] local.INFO: Processing buffer {"connection_id":124783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:47:08] local.INFO: IMEI packet received {"connection_id":124783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":124783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:47:09] local.INFO: TCP Data received {"connection_id":124783,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:47:09] local.INFO: Processing buffer {"connection_id":124783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:47:09] local.INFO: Packet analysis {"connection_id":124783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d26"} 
[2026-07-07 20:47:09] local.INFO: Extracted packet for processing {"connection_id":124783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d26"} 
[2026-07-07 20:47:09] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559893248001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783437384000,"timestamp_ms":1783437384000,"timestamp_seconds":1783437384,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d26d940"} 
[2026-07-07 20:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-07 20:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559893248001,"66":26354,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559893248001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:47:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559893248001,"power":26354,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":124783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447706,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:47:09] local.INFO: GPS data processed {"connection_id":124783,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:47:09] local.INFO: Acknowledgment sent {"connection_id":124783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:47:41] local.INFO: TCP Data received {"connection_id":124783,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:47:41] local.INFO: Processing buffer {"connection_id":124783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:47:41] local.INFO: Packet analysis {"connection_id":124783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d26"} 
[2026-07-07 20:47:41] local.INFO: Extracted packet for processing {"connection_id":124783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d26"} 
[2026-07-07 20:47:41] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559893248001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783437384000,"timestamp_ms":1783437384000,"timestamp_seconds":1783437384,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d26d940"} 
[2026-07-07 20:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-07 20:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559893248001,"66":26354,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559893248001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:47:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559893248001,"power":26354,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":124783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447707,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:47:41] local.INFO: GPS data processed {"connection_id":124783,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:47:41] local.INFO: Acknowledgment sent {"connection_id":124783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:47:58] local.INFO: TCP Data received {"connection_id":125593,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:47:58] local.INFO: Processing buffer {"connection_id":125593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:47:58] local.INFO: IMEI packet received {"connection_id":125593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":125593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:48:03] local.INFO: TCP Data received {"connection_id":125593,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:48:03] local.INFO: Processing buffer {"connection_id":125593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:48:03] local.INFO: IMEI packet received {"connection_id":125593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":125593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:48:04] local.INFO: TCP Data received {"connection_id":125593,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:48:04] local.INFO: Processing buffer {"connection_id":125593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:48:04] local.INFO: Packet analysis {"connection_id":125593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d26"} 
[2026-07-07 20:48:04] local.INFO: Extracted packet for processing {"connection_id":125593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d26"} 
[2026-07-07 20:48:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559893248001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783437384000,"timestamp_ms":1783437384000,"timestamp_seconds":1783437384,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d26d940"} 
[2026-07-07 20:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-07 20:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559893248001,"66":26354,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559893248001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:48:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559893248001,"power":26354,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":125593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447708,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:48:04] local.INFO: GPS data processed {"connection_id":125593,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:48:04] local.INFO: Acknowledgment sent {"connection_id":125593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:48:35] local.INFO: TCP Data received {"connection_id":125593,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:48:35] local.INFO: Processing buffer {"connection_id":125593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:48:35] local.INFO: Packet analysis {"connection_id":125593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d26"} 
[2026-07-07 20:48:35] local.INFO: Extracted packet for processing {"connection_id":125593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d26"} 
[2026-07-07 20:48:35] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559893248001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783437384000,"timestamp_ms":1783437384000,"timestamp_seconds":1783437384,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d26d940"} 
[2026-07-07 20:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-07 20:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559893248001,"66":26354,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559893248001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:48:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559893248001,"power":26354,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":125593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447709,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:48:36] local.INFO: GPS data processed {"connection_id":125593,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:48:36] local.INFO: Acknowledgment sent {"connection_id":125593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:48:58] local.INFO: TCP Data received {"connection_id":126852,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:48:58] local.INFO: Processing buffer {"connection_id":126852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:48:58] local.INFO: IMEI packet received {"connection_id":126852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":126852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:49:03] local.INFO: TCP Data received {"connection_id":126852,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:49:03] local.INFO: Processing buffer {"connection_id":126852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:49:03] local.INFO: IMEI packet received {"connection_id":126852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":126852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:49:04] local.INFO: TCP Data received {"connection_id":126852,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:49:04] local.INFO: Processing buffer {"connection_id":126852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:49:04] local.INFO: Packet analysis {"connection_id":126852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d26"} 
[2026-07-07 20:49:04] local.INFO: Extracted packet for processing {"connection_id":126852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d26"} 
[2026-07-07 20:49:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559893248001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783437384000,"timestamp_ms":1783437384000,"timestamp_seconds":1783437384,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d26d940"} 
[2026-07-07 20:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-07 20:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126852,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126852,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559893248001,"66":26354,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559893248001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:49:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559893248001,"power":26354,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":126852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447710,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:49:05] local.INFO: GPS data processed {"connection_id":126852,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:49:05] local.INFO: Acknowledgment sent {"connection_id":126852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:49:18] local.INFO: TCP Data received {"connection_id":125594,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:49:18] local.INFO: Processing buffer {"connection_id":125594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:49:18] local.INFO: IMEI packet received {"connection_id":125594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":125594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:49:19] local.INFO: TCP Data received {"connection_id":125594,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d276db0012dd13e40051c68a8000d01482d..."} 
[2026-07-07 20:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d276db0012dd13e40051c68a8000d01482d..."} 
[2026-07-07 20:49:19] local.INFO: Processing buffer {"connection_id":125594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d276db0012dd13e40051c68a8000d01482d..."} 
[2026-07-07 20:49:19] local.INFO: Packet analysis {"connection_id":125594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d27"} 
[2026-07-07 20:49:19] local.INFO: Extracted packet for processing {"connection_id":125594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d27"} 
[2026-07-07 20:49:19] local.INFO: GPS Element Parsed {"raw_longitude":768687680,"raw_latitude":85747880,"longitude_deg":76.868768,"latitude_deg":8.574788,"altitude":13,"angle":328,"satellites":45,"speed":19,"hex_longitude":"2dd13e40","hex_latitude":"051c68a8","is_valid_coordinates":true} 
[2026-07-07 20:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559975424001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341912141592264704,"note":"Value kept but may cause issues"} 
[2026-07-07 20:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3363344474766041088,"note":"Value kept but may cause issues"} 
[2026-07-07 20:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783437422000,"timestamp_ms":1783437422000,"timestamp_seconds":1783437422,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d276db0"} 
[2026-07-07 20:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 20:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":125594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":125594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":125594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559975424001,"66":27343,"7":206,"80":34816,"24":19,"16":341912141592264704,"45":-3363344474766041088},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-07-07 20:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559975424001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:49:19] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-07 20:49:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 20:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341912141592264704,"km_value":341912141592264.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3363344474766041088,"description":"Unknown IO ID 45"} 
[2026-07-07 20:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559975424001,"power":27343,"unknown_7":206,"unknown_80":34816,"ignition":19,"odometer":null,"unknown_45":-3363344474766041088}} 
[2026-07-07 20:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":125594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:49:19] local.INFO: GPS data processed {"connection_id":125594,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:49:19] local.INFO: Acknowledgment sent {"connection_id":125594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:49:36] local.INFO: TCP Data received {"connection_id":126852,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:49:36] local.INFO: Processing buffer {"connection_id":126852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:49:36] local.INFO: Packet analysis {"connection_id":126852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d26"} 
[2026-07-07 20:49:36] local.INFO: Extracted packet for processing {"connection_id":126852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d26"} 
[2026-07-07 20:49:36] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 20:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559893248001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783437384000,"timestamp_ms":1783437384000,"timestamp_seconds":1783437384,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d26d940"} 
[2026-07-07 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-07-07 20:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-07 20:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 20:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126852,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126852,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559893248001,"66":26354,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559893248001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:49:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559893248001,"power":26354,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":126852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447712,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:49:36] local.INFO: GPS data processed {"connection_id":126852,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:49:36] local.INFO: Acknowledgment sent {"connection_id":126852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:49:58] local.INFO: TCP Data received {"connection_id":124785,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:49:58] local.INFO: Processing buffer {"connection_id":124785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:49:58] local.INFO: IMEI packet received {"connection_id":124785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":124785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:50:03] local.INFO: TCP Data received {"connection_id":124785,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:50:03] local.INFO: Processing buffer {"connection_id":124785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:50:03] local.INFO: IMEI packet received {"connection_id":124785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":124785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:50:03] local.INFO: TCP Data received {"connection_id":124878,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:50:03] local.INFO: Processing buffer {"connection_id":124878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:50:03] local.INFO: IMEI packet received {"connection_id":124878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":124878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:50:04] local.INFO: TCP Data received {"connection_id":124785,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d27bfb8012dd129c0051c8750000e01442b..."} 
[2026-07-07 20:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d27bfb8012dd129c0051c8750000e01442b..."} 
[2026-07-07 20:50:04] local.INFO: Processing buffer {"connection_id":124785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d27bfb8012dd129c0051c8750000e01442b..."} 
[2026-07-07 20:50:04] local.INFO: Packet analysis {"connection_id":124785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d27"} 
[2026-07-07 20:50:04] local.INFO: Extracted packet for processing {"connection_id":124785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d27"} 
[2026-07-07 20:50:04] local.INFO: GPS Element Parsed {"raw_longitude":768682432,"raw_latitude":85755728,"longitude_deg":76.8682432,"latitude_deg":8.5755728,"altitude":14,"angle":324,"satellites":43,"speed":27,"hex_longitude":"2dd129c0","hex_latitude":"051c8750","is_valid_coordinates":true} 
[2026-07-07 20:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559980032001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341912596858798080,"note":"Value kept but may cause issues"} 
[2026-07-07 20:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3369185080530917376,"note":"Value kept but may cause issues"} 
[2026-07-07 20:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783437443000,"timestamp_ms":1783437443000,"timestamp_seconds":1783437443,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d27bfb8"} 
[2026-07-07 20:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 20:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559980032001,"66":27463,"7":206,"80":34816,"24":27,"16":341912596858798080,"45":-3369185080530917376},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-07-07 20:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559980032001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:50:04] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-07 20:50:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 20:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341912596858798080,"km_value":341912596858798.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3369185080530917376,"description":"Unknown IO ID 45"} 
[2026-07-07 20:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559980032001,"power":27463,"unknown_7":206,"unknown_80":34816,"ignition":27,"odometer":null,"unknown_45":-3369185080530917376}} 
[2026-07-07 20:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":124785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:50:04] local.INFO: GPS data processed {"connection_id":124785,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:50:04] local.INFO: Acknowledgment sent {"connection_id":124785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:50:08] local.INFO: TCP Data received {"connection_id":124878,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:50:08] local.INFO: Processing buffer {"connection_id":124878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:50:08] local.INFO: IMEI packet received {"connection_id":124878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":124878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:50:13] local.INFO: TCP Data received {"connection_id":124878,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:50:13] local.INFO: Processing buffer {"connection_id":124878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:50:13] local.INFO: Packet analysis {"connection_id":124878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d26"} 
[2026-07-07 20:50:13] local.INFO: Extracted packet for processing {"connection_id":124878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d26"} 
[2026-07-07 20:50:13] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559893248001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783437384000,"timestamp_ms":1783437384000,"timestamp_seconds":1783437384,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d26d940"} 
[2026-07-07 20:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-07 20:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559893248001,"66":26354,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559893248001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:50:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559893248001,"power":26354,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":124878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447714,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:50:13] local.INFO: GPS data processed {"connection_id":124878,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:50:13] local.INFO: Acknowledgment sent {"connection_id":124878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:50:14] local.INFO: TCP Data received {"connection_id":124878,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:50:14] local.INFO: Processing buffer {"connection_id":124878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:50:14] local.INFO: Packet analysis {"connection_id":124878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d26"} 
[2026-07-07 20:50:14] local.INFO: Extracted packet for processing {"connection_id":124878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d26"} 
[2026-07-07 20:50:14] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559893248001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783437384000,"timestamp_ms":1783437384000,"timestamp_seconds":1783437384,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d26d940"} 
[2026-07-07 20:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-07 20:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559893248001,"66":26354,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559893248001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:50:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559893248001,"power":26354,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":124878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447715,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:50:14] local.INFO: GPS data processed {"connection_id":124878,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:50:14] local.INFO: Acknowledgment sent {"connection_id":124878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:50:35] local.INFO: TCP Data received {"connection_id":124785,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d27bfb8012dd129c0051c8750000e01442b..."} 
[2026-07-07 20:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d27bfb8012dd129c0051c8750000e01442b..."} 
[2026-07-07 20:50:35] local.INFO: Processing buffer {"connection_id":124785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d27bfb8012dd129c0051c8750000e01442b..."} 
[2026-07-07 20:50:35] local.INFO: Packet analysis {"connection_id":124785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d27"} 
[2026-07-07 20:50:35] local.INFO: Extracted packet for processing {"connection_id":124785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d27"} 
[2026-07-07 20:50:35] local.INFO: GPS Element Parsed {"raw_longitude":768682432,"raw_latitude":85755728,"longitude_deg":76.8682432,"latitude_deg":8.5755728,"altitude":14,"angle":324,"satellites":43,"speed":27,"hex_longitude":"2dd129c0","hex_latitude":"051c8750","is_valid_coordinates":true} 
[2026-07-07 20:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559985408001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341912596858798080,"note":"Value kept but may cause issues"} 
[2026-07-07 20:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3374955317551476736,"note":"Value kept but may cause issues"} 
[2026-07-07 20:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783437443000,"timestamp_ms":1783437443000,"timestamp_seconds":1783437443,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d27bfb8"} 
[2026-07-07 20:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 20:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559985408001,"66":27463,"7":206,"80":34816,"24":27,"16":341912596858798080,"45":-3374955317551476736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-07-07 20:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559985408001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:50:35] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-07 20:50:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 20:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341912596858798080,"km_value":341912596858798.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3374955317551476736,"description":"Unknown IO ID 45"} 
[2026-07-07 20:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559985408001,"power":27463,"unknown_7":206,"unknown_80":34816,"ignition":27,"odometer":null,"unknown_45":-3374955317551476736}} 
[2026-07-07 20:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":124785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:50:35] local.INFO: GPS data processed {"connection_id":124785,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:50:35] local.INFO: Acknowledgment sent {"connection_id":124785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:50:58] local.INFO: TCP Data received {"connection_id":125595,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:50:58] local.INFO: Processing buffer {"connection_id":125595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:50:58] local.INFO: IMEI packet received {"connection_id":125595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":125595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:50:58] local.INFO: TCP Data received {"connection_id":124879,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:50:58] local.INFO: Processing buffer {"connection_id":124879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:50:58] local.INFO: IMEI packet received {"connection_id":124879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":124879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:51:03] local.INFO: TCP Data received {"connection_id":125595,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:51:03] local.INFO: Processing buffer {"connection_id":125595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:51:03] local.INFO: IMEI packet received {"connection_id":125595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":125595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:51:03] local.INFO: TCP Data received {"connection_id":124879,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:51:03] local.INFO: Processing buffer {"connection_id":124879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:51:03] local.INFO: IMEI packet received {"connection_id":124879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":124879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:51:04] local.INFO: TCP Data received {"connection_id":125595,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d29ea68012dd04900051da350000c014126..."} 
[2026-07-07 20:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d29ea68012dd04900051da350000c014126..."} 
[2026-07-07 20:51:04] local.INFO: Processing buffer {"connection_id":125595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d29ea68012dd04900051da350000c014126..."} 
[2026-07-07 20:51:04] local.INFO: Packet analysis {"connection_id":125595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d29"} 
[2026-07-07 20:51:04] local.INFO: Extracted packet for processing {"connection_id":125595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d29"} 
[2026-07-07 20:51:04] local.INFO: GPS Element Parsed {"raw_longitude":768624896,"raw_latitude":85828432,"longitude_deg":76.8624896,"latitude_deg":8.5828432,"altitude":12,"angle":321,"satellites":38,"speed":21,"hex_longitude":"2dd04900","hex_latitude":"051da350","is_valid_coordinates":true} 
[2026-07-07 20:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560018432001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341917080804655104,"note":"Value kept but may cause issues"} 
[2026-07-07 20:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3431602156597708800,"note":"Value kept but may cause issues"} 
[2026-07-07 20:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783437585000,"timestamp_ms":1783437585000,"timestamp_seconds":1783437585,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d29ea68"} 
[2026-07-07 20:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 20:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560018432001,"66":27376,"67":206,"80":34816,"24":21,"16":341917080804655104,"45":-3431602156597708800},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-07-07 20:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560018432001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:51:04] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-07 20:51:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 20:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341917080804655104,"km_value":341917080804655.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3431602156597708800,"description":"Unknown IO ID 45"} 
[2026-07-07 20:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560018432001,"power":27376,"unknown_67":206,"unknown_80":34816,"ignition":21,"odometer":null,"unknown_45":-3431602156597708800}} 
[2026-07-07 20:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":125595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:51:04] local.INFO: GPS data processed {"connection_id":125595,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:51:04] local.INFO: Acknowledgment sent {"connection_id":125595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:51:04] local.INFO: TCP Data received {"connection_id":124879,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:51:04] local.INFO: Processing buffer {"connection_id":124879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:51:04] local.INFO: Packet analysis {"connection_id":124879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d26"} 
[2026-07-07 20:51:04] local.INFO: Extracted packet for processing {"connection_id":124879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d26"} 
[2026-07-07 20:51:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559893248001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783437384000,"timestamp_ms":1783437384000,"timestamp_seconds":1783437384,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d26d940"} 
[2026-07-07 20:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-07 20:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124879,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124879,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559893248001,"66":26354,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559893248001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:51:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559893248001,"power":26354,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":124879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447718,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:51:04] local.INFO: GPS data processed {"connection_id":124879,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:51:04] local.INFO: Acknowledgment sent {"connection_id":124879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:51:35] local.INFO: TCP Data received {"connection_id":125595,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2a1d30012dd03100051dbd08000e01402b..."} 
[2026-07-07 20:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2a1d30012dd03100051dbd08000e01402b..."} 
[2026-07-07 20:51:35] local.INFO: Processing buffer {"connection_id":125595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2a1d30012dd03100051dbd08000e01402b..."} 
[2026-07-07 20:51:35] local.INFO: Packet analysis {"connection_id":125595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2a"} 
[2026-07-07 20:51:35] local.INFO: Extracted packet for processing {"connection_id":125595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2a"} 
[2026-07-07 20:51:35] local.INFO: GPS Element Parsed {"raw_longitude":768618752,"raw_latitude":85835016,"longitude_deg":76.8618752,"latitude_deg":8.5835016,"altitude":14,"angle":320,"satellites":43,"speed":36,"hex_longitude":"2dd03100","hex_latitude":"051dbd08","is_valid_coordinates":true} 
[2026-07-07 20:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560021760001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341917514596352000,"note":"Value kept but may cause issues"} 
[2026-07-07 20:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3438216818548584448,"note":"Value kept but may cause issues"} 
[2026-07-07 20:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783437598000,"timestamp_ms":1783437598000,"timestamp_seconds":1783437598,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2a1d30"} 
[2026-07-07 20:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 20:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560021760001,"66":27234,"67":206,"80":34816,"24":36,"16":341917514596352000,"45":-3438216818548584448},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-07-07 20:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560021760001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:51:35] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-07 20:51:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 20:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341917514596352000,"km_value":341917514596352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3438216818548584448,"description":"Unknown IO ID 45"} 
[2026-07-07 20:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560021760001,"power":27234,"unknown_67":206,"unknown_80":34816,"ignition":36,"odometer":null,"unknown_45":-3438216818548584448}} 
[2026-07-07 20:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":125595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:51:35] local.INFO: GPS data processed {"connection_id":125595,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:51:35] local.INFO: Acknowledgment sent {"connection_id":125595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:51:38] local.INFO: TCP Data received {"connection_id":124879,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:51:38] local.INFO: Processing buffer {"connection_id":124879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d26d940012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:51:38] local.INFO: Packet analysis {"connection_id":124879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d26"} 
[2026-07-07 20:51:38] local.INFO: Extracted packet for processing {"connection_id":124879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d26"} 
[2026-07-07 20:51:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559893248001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783437384000,"timestamp_ms":1783437384000,"timestamp_seconds":1783437384,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d26d940"} 
[2026-07-07 20:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-07 20:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124879,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124879,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559893248001,"66":26354,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559893248001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:51:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559893248001,"power":26354,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":124879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447720,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:51:38] local.INFO: GPS data processed {"connection_id":124879,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:51:38] local.INFO: Acknowledgment sent {"connection_id":124879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:51:57] local.INFO: TCP Data received {"connection_id":125597,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:51:57] local.INFO: Processing buffer {"connection_id":125597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:51:57] local.INFO: IMEI packet received {"connection_id":125597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":125597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:51:58] local.INFO: TCP Data received {"connection_id":125597,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:51:58] local.INFO: Processing buffer {"connection_id":125597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:51:58] local.INFO: IMEI packet received {"connection_id":125597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":125597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:51:58] local.INFO: TCP Data received {"connection_id":125596,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:51:58] local.INFO: Processing buffer {"connection_id":125596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:51:58] local.INFO: IMEI packet received {"connection_id":125596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":125596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:52:03] local.INFO: TCP Data received {"connection_id":125597,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:52:03] local.INFO: Processing buffer {"connection_id":125597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:52:03] local.INFO: IMEI packet received {"connection_id":125597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":125597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:52:03] local.INFO: TCP Data received {"connection_id":125596,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:52:03] local.INFO: Processing buffer {"connection_id":125596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:52:03] local.INFO: IMEI packet received {"connection_id":125596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":125596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:52:04] local.INFO: TCP Data received {"connection_id":125597,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2a4058012dd01b40051dd850000d01422b..."} 
[2026-07-07 20:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2a4058012dd01b40051dd850000d01422b..."} 
[2026-07-07 20:52:04] local.INFO: Processing buffer {"connection_id":125597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2a4058012dd01b40051dd850000d01422b..."} 
[2026-07-07 20:52:04] local.INFO: Packet analysis {"connection_id":125597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2a"} 
[2026-07-07 20:52:04] local.INFO: Extracted packet for processing {"connection_id":125597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2a"} 
[2026-07-07 20:52:04] local.INFO: GPS Element Parsed {"raw_longitude":768613184,"raw_latitude":85842000,"longitude_deg":76.8613184,"latitude_deg":8.5842,"altitude":13,"angle":322,"satellites":43,"speed":41,"hex_longitude":"2dd01b40","hex_latitude":"051dd850","is_valid_coordinates":true} 
[2026-07-07 20:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560025088001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341917944093081600,"note":"Value kept but may cause issues"} 
[2026-07-07 20:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3444972217987954688,"note":"Value kept but may cause issues"} 
[2026-07-07 20:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783437607000,"timestamp_ms":1783437607000,"timestamp_seconds":1783437607,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2a4058"} 
[2026-07-07 20:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 20:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560025088001,"66":27234,"67":206,"80":34816,"24":41,"16":341917944093081600,"45":-3444972217987954688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-07-07 20:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560025088001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:52:04] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-07 20:52:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 20:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341917944093081600,"km_value":341917944093081.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3444972217987954688,"description":"Unknown IO ID 45"} 
[2026-07-07 20:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560025088001,"power":27234,"unknown_67":206,"unknown_80":34816,"ignition":41,"odometer":null,"unknown_45":-3444972217987954688}} 
[2026-07-07 20:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":125597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:52:04] local.INFO: GPS data processed {"connection_id":125597,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:52:04] local.INFO: Acknowledgment sent {"connection_id":125597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:52:04] local.INFO: TCP Data received {"connection_id":125596,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:52:04] local.INFO: Processing buffer {"connection_id":125596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:52:04] local.INFO: Packet analysis {"connection_id":125596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:52:04] local.INFO: Extracted packet for processing {"connection_id":125596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:52:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559970304001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783437685000,"timestamp_ms":1783437685000,"timestamp_seconds":1783437685,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2b7108"} 
[2026-07-07 20:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-07 20:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559970304001,"66":26376,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559970304001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:52:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559970304001,"power":26376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":125596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447722,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:52:05] local.INFO: GPS data processed {"connection_id":125596,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:52:05] local.INFO: Acknowledgment sent {"connection_id":125596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:52:35] local.INFO: TCP Data received {"connection_id":125597,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2a6380012dd00500051df668000e01442a..."} 
[2026-07-07 20:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2a6380012dd00500051df668000e01442a..."} 
[2026-07-07 20:52:35] local.INFO: Processing buffer {"connection_id":125597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2a6380012dd00500051df668000e01442a..."} 
[2026-07-07 20:52:35] local.INFO: Packet analysis {"connection_id":125597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2a"} 
[2026-07-07 20:52:35] local.INFO: Extracted packet for processing {"connection_id":125597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2a"} 
[2026-07-07 20:52:35] local.INFO: GPS Element Parsed {"raw_longitude":768607488,"raw_latitude":85849704,"longitude_deg":76.8607488,"latitude_deg":8.5849704,"altitude":14,"angle":324,"satellites":42,"speed":43,"hex_longitude":"2dd00500","hex_latitude":"051df668","is_valid_coordinates":true} 
[2026-07-07 20:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560027392001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341918407949549568,"note":"Value kept but may cause issues"} 
[2026-07-07 20:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3451094298729623552,"note":"Value kept but may cause issues"} 
[2026-07-07 20:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783437616000,"timestamp_ms":1783437616000,"timestamp_seconds":1783437616,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2a6380"} 
[2026-07-07 20:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:52: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-07-07 20:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-07 20:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560027392001,"66":27245,"69":206,"80":34816,"24":43,"16":341918407949549568,"45":-3451094298729623552},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,80,24,16,45]} 
[2026-07-07 20:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560027392001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:52:35] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-07 20:52:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 20:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341918407949549568,"km_value":341918407949549.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3451094298729623552,"description":"Unknown IO ID 45"} 
[2026-07-07 20:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560027392001,"power":27245,"unknown_69":206,"unknown_80":34816,"ignition":43,"odometer":null,"unknown_45":-3451094298729623552}} 
[2026-07-07 20:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":125597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:52:35] local.INFO: GPS data processed {"connection_id":125597,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:52:35] local.INFO: Acknowledgment sent {"connection_id":125597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:52:38] local.INFO: TCP Data received {"connection_id":125596,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:52:38] local.INFO: Processing buffer {"connection_id":125596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:52:38] local.INFO: Packet analysis {"connection_id":125596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:52:38] local.INFO: Extracted packet for processing {"connection_id":125596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:52:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559970304001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783437685000,"timestamp_ms":1783437685000,"timestamp_seconds":1783437685,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2b7108"} 
[2026-07-07 20:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-07 20:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559970304001,"66":26376,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559970304001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:52:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559970304001,"power":26376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":125596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447724,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:52:38] local.INFO: GPS data processed {"connection_id":125596,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:52:38] local.INFO: Acknowledgment sent {"connection_id":125596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:52:58] local.INFO: TCP Data received {"connection_id":124881,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:52:58] local.INFO: Processing buffer {"connection_id":124881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:52:58] local.INFO: IMEI packet received {"connection_id":124881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":124881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:52:58] local.INFO: TCP Data received {"connection_id":124880,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:52:58] local.INFO: Processing buffer {"connection_id":124880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:52:58] local.INFO: IMEI packet received {"connection_id":124880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":124880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:53:02] local.INFO: TCP Data received {"connection_id":124881,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:53:02] local.INFO: Processing buffer {"connection_id":124881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:53:02] local.INFO: IMEI packet received {"connection_id":124881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":124881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:53:03] local.INFO: TCP Data received {"connection_id":124881,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:53:03] local.INFO: Processing buffer {"connection_id":124881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:53:03] local.INFO: IMEI packet received {"connection_id":124881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":124881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:53:03] local.INFO: TCP Data received {"connection_id":124880,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:53:03] local.INFO: Processing buffer {"connection_id":124880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:53:03] local.INFO: IMEI packet received {"connection_id":124880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":124880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:53:03] local.INFO: TCP Data received {"connection_id":124881,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2bd698012dcf6b80051ee9c8000d014f2b..."} 
[2026-07-07 20:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2bd698012dcf6b80051ee9c8000d014f2b..."} 
[2026-07-07 20:53:03] local.INFO: Processing buffer {"connection_id":124881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2bd698012dcf6b80051ee9c8000d014f2b..."} 
[2026-07-07 20:53:03] local.INFO: Packet analysis {"connection_id":124881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:53:03] local.INFO: Extracted packet for processing {"connection_id":124881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:53:03] local.INFO: GPS Element Parsed {"raw_longitude":768568192,"raw_latitude":85912008,"longitude_deg":76.8568192,"latitude_deg":8.5912008,"altitude":13,"angle":335,"satellites":43,"speed":37,"hex_longitude":"2dcf6b80","hex_latitude":"051ee9c8","is_valid_coordinates":true} 
[2026-07-07 20:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560052992001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341922050081816576,"note":"Value kept but may cause issues"} 
[2026-07-07 20:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3499226519730073600,"note":"Value kept but may cause issues"} 
[2026-07-07 20:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783437711000,"timestamp_ms":1783437711000,"timestamp_seconds":1783437711,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2bd698"} 
[2026-07-07 20:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:53: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-07-07 20:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 20:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560052992001,"66":27343,"166":206,"80":34816,"24":37,"16":341922050081816576,"45":-3499226519730073600},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-07-07 20:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560052992001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:53:03] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-07 20:53:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 20:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341922050081816576,"km_value":341922050081816.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3499226519730073600,"description":"Unknown IO ID 45"} 
[2026-07-07 20:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560052992001,"power":27343,"unknown_166":206,"unknown_80":34816,"ignition":37,"odometer":null,"unknown_45":-3499226519730073600}} 
[2026-07-07 20:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":124881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:53:03] local.INFO: GPS data processed {"connection_id":124881,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:53:03] local.INFO: Acknowledgment sent {"connection_id":124881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:53:04] local.INFO: TCP Data received {"connection_id":124880,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:53:04] local.INFO: Processing buffer {"connection_id":124880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:53:04] local.INFO: Packet analysis {"connection_id":124880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:53:04] local.INFO: Extracted packet for processing {"connection_id":124880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:53:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559970304001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783437685000,"timestamp_ms":1783437685000,"timestamp_seconds":1783437685,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2b7108"} 
[2026-07-07 20:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-07 20:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559970304001,"66":26376,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559970304001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:53:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559970304001,"power":26376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":124880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447726,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:53:04] local.INFO: GPS data processed {"connection_id":124880,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:53:04] local.INFO: Acknowledgment sent {"connection_id":124880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:53:11] local.INFO: TCP Data received {"connection_id":124881,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2bfda8012dcf5d40051f0ce0000c01552c..."} 
[2026-07-07 20:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2bfda8012dcf5d40051f0ce0000c01552c..."} 
[2026-07-07 20:53:11] local.INFO: Processing buffer {"connection_id":124881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2bfda8012dcf5d40051f0ce0000c01552c..."} 
[2026-07-07 20:53:11] local.INFO: Packet analysis {"connection_id":124881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:53:11] local.INFO: Extracted packet for processing {"connection_id":124881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:53:11] local.INFO: GPS Element Parsed {"raw_longitude":768564544,"raw_latitude":85920992,"longitude_deg":76.8564544,"latitude_deg":8.5920992,"altitude":12,"angle":341,"satellites":44,"speed":36,"hex_longitude":"2dcf5d40","hex_latitude":"051f0ce0","is_valid_coordinates":true} 
[2026-07-07 20:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560054016001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341922518233251840,"note":"Value kept but may cause issues"} 
[2026-07-07 20:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3500563525868599296,"note":"Value kept but may cause issues"} 
[2026-07-07 20:53: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-07-07 20:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783437721000,"timestamp_ms":1783437721000,"timestamp_seconds":1783437721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2bfda8"} 
[2026-07-07 20:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:53: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-07-07 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 20:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560054016001,"66":27321,"166":206,"80":34816,"24":36,"16":341922518233251840,"45":-3500563525868599296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-07-07 20:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560054016001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:53:11] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-07 20:53:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 20:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341922518233251840,"km_value":341922518233251.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3500563525868599296,"description":"Unknown IO ID 45"} 
[2026-07-07 20:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560054016001,"power":27321,"unknown_166":206,"unknown_80":34816,"ignition":36,"odometer":null,"unknown_45":-3500563525868599296}} 
[2026-07-07 20:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":124881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:53:11] local.INFO: GPS data processed {"connection_id":124881,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:53:11] local.INFO: Acknowledgment sent {"connection_id":124881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:53:42] local.INFO: TCP Data received {"connection_id":124881,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2c28a0012dcf5080051f2e40000d01552b..."} 
[2026-07-07 20:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2c28a0012dcf5080051f2e40000d01552b..."} 
[2026-07-07 20:53:42] local.INFO: Processing buffer {"connection_id":124881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2c28a0012dcf5080051f2e40000d01552b..."} 
[2026-07-07 20:53:42] local.INFO: Packet analysis {"connection_id":124881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2c"} 
[2026-07-07 20:53:42] local.INFO: Extracted packet for processing {"connection_id":124881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2c"} 
[2026-07-07 20:53:42] local.INFO: GPS Element Parsed {"raw_longitude":768561280,"raw_latitude":85929536,"longitude_deg":76.856128,"latitude_deg":8.5929536,"altitude":13,"angle":341,"satellites":43,"speed":35,"hex_longitude":"2dcf5080","hex_latitude":"051f2e40","is_valid_coordinates":true} 
[2026-07-07 20:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560056576001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341922960614883328,"note":"Value kept but may cause issues"} 
[2026-07-07 20:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3504574544284426240,"note":"Value kept but may cause issues"} 
[2026-07-07 20:53: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-07-07 20:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783437732000,"timestamp_ms":1783437732000,"timestamp_seconds":1783437732,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2c28a0"} 
[2026-07-07 20:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:53: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-07-07 20:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 20:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560056576001,"66":27300,"166":206,"80":34816,"24":35,"16":341922960614883328,"45":-3504574544284426240},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-07-07 20:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560056576001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:53:42] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-07 20:53:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 20:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341922960614883328,"km_value":341922960614883.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3504574544284426240,"description":"Unknown IO ID 45"} 
[2026-07-07 20:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560056576001,"power":27300,"unknown_166":206,"unknown_80":34816,"ignition":35,"odometer":null,"unknown_45":-3504574544284426240}} 
[2026-07-07 20:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":124881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:53:42] local.INFO: GPS data processed {"connection_id":124881,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:53:42] local.INFO: Acknowledgment sent {"connection_id":124881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:53:58] local.INFO: TCP Data received {"connection_id":125599,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:53:58] local.INFO: Processing buffer {"connection_id":125599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:53:58] local.INFO: IMEI packet received {"connection_id":125599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":125599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:53:58] local.INFO: TCP Data received {"connection_id":125598,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:53:58] local.INFO: Processing buffer {"connection_id":125598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:53:58] local.INFO: IMEI packet received {"connection_id":125598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":125598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:54:03] local.INFO: TCP Data received {"connection_id":125599,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:54:03] local.INFO: Processing buffer {"connection_id":125599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:54:03] local.INFO: IMEI packet received {"connection_id":125599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":125599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:54:03] local.INFO: TCP Data received {"connection_id":125598,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:54:03] local.INFO: Processing buffer {"connection_id":125598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:54:03] local.INFO: IMEI packet received {"connection_id":125598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":125598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:54:06] local.INFO: TCP Data received {"connection_id":125599,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2c5780012dcf4500051f50f8000d01562b..."} 
[2026-07-07 20:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2c5780012dcf4500051f50f8000d01562b..."} 
[2026-07-07 20:54:06] local.INFO: Processing buffer {"connection_id":125599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2c5780012dcf4500051f50f8000d01562b..."} 
[2026-07-07 20:54:06] local.INFO: Packet analysis {"connection_id":125599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2c"} 
[2026-07-07 20:54:06] local.INFO: Extracted packet for processing {"connection_id":125599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2c"} 
[2026-07-07 20:54:06] local.INFO: GPS Element Parsed {"raw_longitude":768558336,"raw_latitude":85938424,"longitude_deg":76.8558336,"latitude_deg":8.5938424,"altitude":13,"angle":342,"satellites":43,"speed":26,"hex_longitude":"2dcf4500","hex_latitude":"051f50f8","is_valid_coordinates":true} 
[2026-07-07 20:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560059392001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341923415881416704,"note":"Value kept but may cause issues"} 
[2026-07-07 20:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3508163350235299840,"note":"Value kept but may cause issues"} 
[2026-07-07 20:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783437744000,"timestamp_ms":1783437744000,"timestamp_seconds":1783437744,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2c5780"} 
[2026-07-07 20:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:54: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-07-07 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 20:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560059392001,"66":27376,"166":206,"80":34816,"24":26,"16":341923415881416704,"45":-3508163350235299840},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-07-07 20:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560059392001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:54:06] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-07 20:54:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 20:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341923415881416704,"km_value":341923415881416.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3508163350235299840,"description":"Unknown IO ID 45"} 
[2026-07-07 20:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560059392001,"power":27376,"unknown_166":206,"unknown_80":34816,"ignition":26,"odometer":null,"unknown_45":-3508163350235299840}} 
[2026-07-07 20:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":125599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:54:06] local.INFO: GPS data processed {"connection_id":125599,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:54:06] local.INFO: Acknowledgment sent {"connection_id":125599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:54:06] local.INFO: TCP Data received {"connection_id":125598,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:54:06] local.INFO: Processing buffer {"connection_id":125598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:54:06] local.INFO: Packet analysis {"connection_id":125598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:54:06] local.INFO: Extracted packet for processing {"connection_id":125598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:54:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559970304001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783437685000,"timestamp_ms":1783437685000,"timestamp_seconds":1783437685,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2b7108"} 
[2026-07-07 20:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-07 20:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559970304001,"66":26376,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559970304001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:54:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559970304001,"power":26376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":125598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447730,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:54:06] local.INFO: GPS data processed {"connection_id":125598,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:54:06] local.INFO: Acknowledgment sent {"connection_id":125598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:54:38] local.INFO: TCP Data received {"connection_id":125598,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:54:38] local.INFO: Processing buffer {"connection_id":125598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:54:38] local.INFO: Packet analysis {"connection_id":125598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:54:38] local.INFO: Extracted packet for processing {"connection_id":125598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:54:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 20:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559970304001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783437685000,"timestamp_ms":1783437685000,"timestamp_seconds":1783437685,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2b7108"} 
[2026-07-07 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-07-07 20:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-07 20:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 20:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559970304001,"66":26376,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559970304001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:54:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559970304001,"power":26376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":125598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447731,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:54:38] local.INFO: GPS data processed {"connection_id":125598,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:54:38] local.INFO: Acknowledgment sent {"connection_id":125598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:54:39] local.INFO: TCP Data received {"connection_id":125599,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2c8e30012dcf3a80051f74a0000d01582c..."} 
[2026-07-07 20:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2c8e30012dcf3a80051f74a0000d01582c..."} 
[2026-07-07 20:54:39] local.INFO: Processing buffer {"connection_id":125599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2c8e30012dcf3a80051f74a0000d01582c..."} 
[2026-07-07 20:54:39] local.INFO: Packet analysis {"connection_id":125599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2c"} 
[2026-07-07 20:54:39] local.INFO: Extracted packet for processing {"connection_id":125599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2c"} 
[2026-07-07 20:54:39] local.INFO: GPS Element Parsed {"raw_longitude":768555648,"raw_latitude":85947552,"longitude_deg":76.8555648,"latitude_deg":8.5947552,"altitude":13,"angle":344,"satellites":44,"speed":27,"hex_longitude":"2dcf3a80","hex_latitude":"051f74a0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560062464001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341923875442917376,"note":"Value kept but may cause issues"} 
[2026-07-07 20:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3511400312465197056,"note":"Value kept but may cause issues"} 
[2026-07-07 20:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783437758000,"timestamp_ms":1783437758000,"timestamp_seconds":1783437758,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2c8e30"} 
[2026-07-07 20:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:54: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-07-07 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 20:54: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-07-07 20: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-07-07 20:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560062464001,"66":27365,"166":206,"80":34816,"24":27,"16":341923875442917376,"45":-3511400312465197056},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-07-07 20:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560062464001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:54:39] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-07 20:54:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 20:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341923875442917376,"km_value":341923875442917.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3511400312465197056,"description":"Unknown IO ID 45"} 
[2026-07-07 20:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560062464001,"power":27365,"unknown_166":206,"unknown_80":34816,"ignition":27,"odometer":null,"unknown_45":-3511400312465197056}} 
[2026-07-07 20:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":125599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:54:39] local.INFO: GPS data processed {"connection_id":125599,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:54:39] local.INFO: Acknowledgment sent {"connection_id":125599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:54:58] local.INFO: TCP Data received {"connection_id":125600,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:54:58] local.INFO: Processing buffer {"connection_id":125600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:54:58] local.INFO: IMEI packet received {"connection_id":125600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":125600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:55:03] local.INFO: TCP Data received {"connection_id":124786,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:55:03] local.INFO: Processing buffer {"connection_id":124786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:55:03] local.INFO: IMEI packet received {"connection_id":124786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":124786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:55:03] local.INFO: TCP Data received {"connection_id":125600,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:55:03] local.INFO: Processing buffer {"connection_id":125600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:55:03] local.INFO: IMEI packet received {"connection_id":125600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":125600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:55:04] local.INFO: TCP Data received {"connection_id":125600,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:55:04] local.INFO: Processing buffer {"connection_id":125600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:55:04] local.INFO: Packet analysis {"connection_id":125600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:55:04] local.INFO: Extracted packet for processing {"connection_id":125600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:55:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559970304001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783437685000,"timestamp_ms":1783437685000,"timestamp_seconds":1783437685,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2b7108"} 
[2026-07-07 20:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-07 20:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559970304001,"66":26376,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559970304001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:55:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559970304001,"power":26376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":125600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447733,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:55:04] local.INFO: GPS data processed {"connection_id":125600,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:55:04] local.INFO: Acknowledgment sent {"connection_id":125600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:55:06] local.INFO: TCP Data received {"connection_id":124786,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:55:06] local.INFO: Processing buffer {"connection_id":124786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:55:06] local.INFO: IMEI packet received {"connection_id":124786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":124786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:55:07] local.INFO: TCP Data received {"connection_id":124786,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2cbd10012dcf3000051f9840000c01572c..."} 
[2026-07-07 20:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2cbd10012dcf3000051f9840000c01572c..."} 
[2026-07-07 20:55:07] local.INFO: Processing buffer {"connection_id":124786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2cbd10012dcf3000051f9840000c01572c..."} 
[2026-07-07 20:55:07] local.INFO: Packet analysis {"connection_id":124786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2c"} 
[2026-07-07 20:55:07] local.INFO: Extracted packet for processing {"connection_id":124786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2c"} 
[2026-07-07 20:55:07] local.INFO: GPS Element Parsed {"raw_longitude":768552960,"raw_latitude":85956672,"longitude_deg":76.855296,"latitude_deg":8.5956672,"altitude":12,"angle":343,"satellites":44,"speed":33,"hex_longitude":"2dcf3000","hex_latitude":"051f9840","is_valid_coordinates":true} 
[2026-07-07 20:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560066048001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341924339299385344,"note":"Value kept but may cause issues"} 
[2026-07-07 20:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3514355799718322176,"note":"Value kept but may cause issues"} 
[2026-07-07 20:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783437770000,"timestamp_ms":1783437770000,"timestamp_seconds":1783437770,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2cbd10"} 
[2026-07-07 20:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 20:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560066048001,"66":27343,"166":206,"80":34816,"24":33,"16":341924339299385344,"45":-3514355799718322176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-07-07 20:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560066048001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:55:07] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-07 20:55:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 20:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341924339299385344,"km_value":341924339299385.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3514355799718322176,"description":"Unknown IO ID 45"} 
[2026-07-07 20:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560066048001,"power":27343,"unknown_166":206,"unknown_80":34816,"ignition":33,"odometer":null,"unknown_45":-3514355799718322176}} 
[2026-07-07 20:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":124786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:55:07] local.INFO: GPS data processed {"connection_id":124786,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:55:07] local.INFO: Acknowledgment sent {"connection_id":124786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:55:36] local.INFO: TCP Data received {"connection_id":125600,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:55:36] local.INFO: Processing buffer {"connection_id":125600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:55:36] local.INFO: Packet analysis {"connection_id":125600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:55:36] local.INFO: Extracted packet for processing {"connection_id":125600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:55:36] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559970304001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783437685000,"timestamp_ms":1783437685000,"timestamp_seconds":1783437685,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2b7108"} 
[2026-07-07 20:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-07 20:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559970304001,"66":26376,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559970304001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:55:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559970304001,"power":26376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":125600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447735,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:55:36] local.INFO: GPS data processed {"connection_id":125600,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:55:36] local.INFO: Acknowledgment sent {"connection_id":125600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:55:38] local.INFO: TCP Data received {"connection_id":124786,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2e3be0012dcf49800520dab0001f001028..."} 
[2026-07-07 20:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2e3be0012dcf49800520dab0001f001028..."} 
[2026-07-07 20:55:38] local.INFO: Processing buffer {"connection_id":124786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2e3be0012dcf49800520dab0001f001028..."} 
[2026-07-07 20:55:38] local.INFO: Packet analysis {"connection_id":124786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2e"} 
[2026-07-07 20:55:38] local.INFO: Extracted packet for processing {"connection_id":124786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2e"} 
[2026-07-07 20:55:38] local.INFO: GPS Element Parsed {"raw_longitude":768559488,"raw_latitude":86039216,"longitude_deg":76.8559488,"latitude_deg":8.6039216,"altitude":31,"angle":16,"satellites":40,"speed":24,"hex_longitude":"2dcf4980","hex_latitude":"0520dab0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560091136001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341928578432106496,"note":"Value kept but may cause issues"} 
[2026-07-07 20:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3513511374766899200,"note":"Value kept but may cause issues"} 
[2026-07-07 20:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783437868000,"timestamp_ms":1783437868000,"timestamp_seconds":1783437868,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2e3be0"} 
[2026-07-07 20:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 20:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560091136001,"66":27376,"171":206,"80":34816,"24":24,"16":341928578432106496,"45":-3513511374766899200},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,80,24,16,45]} 
[2026-07-07 20:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560091136001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:55:38] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-07 20:55:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 20:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341928578432106496,"km_value":341928578432106.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3513511374766899200,"description":"Unknown IO ID 45"} 
[2026-07-07 20:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560091136001,"power":27376,"unknown_171":206,"unknown_80":34816,"ignition":24,"odometer":null,"unknown_45":-3513511374766899200}} 
[2026-07-07 20:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":124786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:55:38] local.INFO: GPS data processed {"connection_id":124786,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:55:38] local.INFO: Acknowledgment sent {"connection_id":124786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:55:58] local.INFO: TCP Data received {"connection_id":125601,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:55:58] local.INFO: Processing buffer {"connection_id":125601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:55:58] local.INFO: IMEI packet received {"connection_id":125601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":125601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:56:03] local.INFO: TCP Data received {"connection_id":124882,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124882,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:56:03] local.INFO: Processing buffer {"connection_id":124882,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:56:03] local.INFO: IMEI packet received {"connection_id":124882,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":124882,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:56:03] local.INFO: TCP Data received {"connection_id":125601,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:56:03] local.INFO: Processing buffer {"connection_id":125601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:56:03] local.INFO: IMEI packet received {"connection_id":125601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":125601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:56:04] local.INFO: TCP Data received {"connection_id":125601,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2e7290012dcf55400520fe90001f00102b..."} 
[2026-07-07 20:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2e7290012dcf55400520fe90001f00102b..."} 
[2026-07-07 20:56:04] local.INFO: Processing buffer {"connection_id":125601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2e7290012dcf55400520fe90001f00102b..."} 
[2026-07-07 20:56:04] local.INFO: Packet analysis {"connection_id":125601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2e"} 
[2026-07-07 20:56:04] local.INFO: Extracted packet for processing {"connection_id":125601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2e"} 
[2026-07-07 20:56:04] local.INFO: GPS Element Parsed {"raw_longitude":768562496,"raw_latitude":86048400,"longitude_deg":76.8562496,"latitude_deg":8.60484,"altitude":31,"angle":16,"satellites":43,"speed":33,"hex_longitude":"2dcf5540","hex_latitude":"0520fe90","is_valid_coordinates":true} 
[2026-07-07 20:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560094208001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341929046583541760,"note":"Value kept but may cause issues"} 
[2026-07-07 20:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3510133675044196352,"note":"Value kept but may cause issues"} 
[2026-07-07 20:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783437882000,"timestamp_ms":1783437882000,"timestamp_seconds":1783437882,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2e7290"} 
[2026-07-07 20:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 20:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560094208001,"66":27397,"171":206,"80":34816,"24":33,"16":341929046583541760,"45":-3510133675044196352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,80,24,16,45]} 
[2026-07-07 20:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560094208001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:56:04] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-07 20:56:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 20:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341929046583541760,"km_value":341929046583541.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3510133675044196352,"description":"Unknown IO ID 45"} 
[2026-07-07 20:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560094208001,"power":27397,"unknown_171":206,"unknown_80":34816,"ignition":33,"odometer":null,"unknown_45":-3510133675044196352}} 
[2026-07-07 20:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":125601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:56:04] local.INFO: GPS data processed {"connection_id":125601,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:56:04] local.INFO: Acknowledgment sent {"connection_id":125601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:56:08] local.INFO: TCP Data received {"connection_id":124882,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124882,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:56:08] local.INFO: Processing buffer {"connection_id":124882,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:56:08] local.INFO: IMEI packet received {"connection_id":124882,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":124882,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:56:09] local.INFO: TCP Data received {"connection_id":124882,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:56:09] local.INFO: Processing buffer {"connection_id":124882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:56:09] local.INFO: Packet analysis {"connection_id":124882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:56:09] local.INFO: Extracted packet for processing {"connection_id":124882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:56:09] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559970304001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783437685000,"timestamp_ms":1783437685000,"timestamp_seconds":1783437685,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2b7108"} 
[2026-07-07 20:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-07 20:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124882,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124882,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559970304001,"66":26376,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559970304001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:56:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559970304001,"power":26376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":124882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447738,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:56:09] local.INFO: GPS data processed {"connection_id":124882,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:56:09] local.INFO: Acknowledgment sent {"connection_id":124882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:56:14] local.INFO: TCP Data received {"connection_id":124882,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:56:14] local.INFO: Processing buffer {"connection_id":124882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2b7108012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:56:14] local.INFO: Packet analysis {"connection_id":124882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:56:14] local.INFO: Extracted packet for processing {"connection_id":124882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2b"} 
[2026-07-07 20:56:14] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 20:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456559970304001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783437685000,"timestamp_ms":1783437685000,"timestamp_seconds":1783437685,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2b7108"} 
[2026-07-07 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-07-07 20:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-07 20:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 20:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124882,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124882,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456559970304001,"66":26376,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456559970304001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:56:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456559970304001,"power":26376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":124882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447739,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:56:14] local.INFO: GPS data processed {"connection_id":124882,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:56:14] local.INFO: Acknowledgment sent {"connection_id":124882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:56:35] local.INFO: TCP Data received {"connection_id":125601,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2e99a0012dcf5f4005212000002100102c..."} 
[2026-07-07 20:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2e99a0012dcf5f4005212000002100102c..."} 
[2026-07-07 20:56:35] local.INFO: Processing buffer {"connection_id":125601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2e99a0012dcf5f4005212000002100102c..."} 
[2026-07-07 20:56:35] local.INFO: Packet analysis {"connection_id":125601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2e"} 
[2026-07-07 20:56:35] local.INFO: Extracted packet for processing {"connection_id":125601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2e"} 
[2026-07-07 20:56:35] local.INFO: GPS Element Parsed {"raw_longitude":768565056,"raw_latitude":86056960,"longitude_deg":76.8565056,"latitude_deg":8.605696,"altitude":33,"angle":16,"satellites":44,"speed":34,"hex_longitude":"2dcf5f40","hex_latitude":"05212000","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560097792001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341929480375238656,"note":"Value kept but may cause issues"} 
[2026-07-07 20:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3506826344065495040,"note":"Value kept but may cause issues"} 
[2026-07-07 20:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783437892000,"timestamp_ms":1783437892000,"timestamp_seconds":1783437892,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2e99a0"} 
[2026-07-07 20:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 20:56: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-07-07 20: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-07-07 20:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560097792001,"66":27332,"171":206,"80":34816,"24":34,"16":341929480375238656,"45":-3506826344065495040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,80,24,16,45]} 
[2026-07-07 20:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560097792001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:56:35] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-07 20:56:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 20:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341929480375238656,"km_value":341929480375238.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3506826344065495040,"description":"Unknown IO ID 45"} 
[2026-07-07 20:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560097792001,"power":27332,"unknown_171":206,"unknown_80":34816,"ignition":34,"odometer":null,"unknown_45":-3506826344065495040}} 
[2026-07-07 20:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":125601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:56:35] local.INFO: GPS data processed {"connection_id":125601,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:56:35] local.INFO: Acknowledgment sent {"connection_id":125601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:56:58] local.INFO: TCP Data received {"connection_id":124788,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:56:58] local.INFO: Processing buffer {"connection_id":124788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:56:58] local.INFO: IMEI packet received {"connection_id":124788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":124788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:56:58] local.INFO: TCP Data received {"connection_id":124787,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:56:58] local.INFO: Processing buffer {"connection_id":124787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:56:58] local.INFO: IMEI packet received {"connection_id":124787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":124787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:57:01] local.INFO: TCP Data received {"connection_id":124788,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:57:01] local.INFO: Processing buffer {"connection_id":124788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:57:01] local.INFO: IMEI packet received {"connection_id":124788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":124788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:57:02] local.INFO: TCP Data received {"connection_id":124788,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d2ec498012dcf6a00052141b0002200152b..."} 
[2026-07-07 20:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d2ec498012dcf6a00052141b0002200152b..."} 
[2026-07-07 20:57:02] local.INFO: Processing buffer {"connection_id":124788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d2ec498012dcf6a00052141b0002200152b..."} 
[2026-07-07 20:57:02] local.INFO: Packet analysis {"connection_id":124788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d2e"} 
[2026-07-07 20:57:02] local.INFO: Extracted packet for processing {"connection_id":124788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d2e"} 
[2026-07-07 20:57:02] local.INFO: GPS Element Parsed {"raw_longitude":768567808,"raw_latitude":86065584,"longitude_deg":76.8567808,"latitude_deg":8.6065584,"altitude":34,"angle":21,"satellites":43,"speed":26,"hex_longitude":"2dcf6a00","hex_latitude":"052141b0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560100352001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341929918461902848,"note":"Value kept but may cause issues"} 
[2026-07-07 20:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3504011594296197120,"note":"Value kept but may cause issues"} 
[2026-07-07 20:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783437903000,"timestamp_ms":1783437903000,"timestamp_seconds":1783437903,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d2ec498"} 
[2026-07-07 20:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 20:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560100352001,"66":26560,"171":206,"80":34816,"24":26,"16":341929918461902848,"45":-3504011594296197120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,80,24,16,45]} 
[2026-07-07 20:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560100352001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:57:02] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-07 20:57:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-07-07 20:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341929918461902848,"km_value":341929918461902.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3504011594296197120,"description":"Unknown IO ID 45"} 
[2026-07-07 20:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560100352001,"power":26560,"unknown_171":206,"unknown_80":34816,"ignition":26,"odometer":null,"unknown_45":-3504011594296197120}} 
[2026-07-07 20:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":124788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:57:02] local.INFO: GPS data processed {"connection_id":124788,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:57:02] local.INFO: Acknowledgment sent {"connection_id":124788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:57:03] local.INFO: TCP Data received {"connection_id":124787,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:57:03] local.INFO: Processing buffer {"connection_id":124787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:57:03] local.INFO: IMEI packet received {"connection_id":124787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":124787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:57:11] local.INFO: TCP Data received {"connection_id":124787,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:57:11] local.INFO: Processing buffer {"connection_id":124787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:57:11] local.INFO: Packet analysis {"connection_id":124787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:57:11] local.INFO: Extracted packet for processing {"connection_id":124787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:57:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560047360001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783437986000,"timestamp_ms":1783437986000,"timestamp_seconds":1783437986,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3008d0"} 
[2026-07-07 20:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-07 20:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560047360001,"66":26299,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560047360001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:57:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560047360001,"power":26299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":124787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447742,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:57:11] local.INFO: GPS data processed {"connection_id":124787,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:57:11] local.INFO: Acknowledgment sent {"connection_id":124787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:57:33] local.INFO: TCP Data received {"connection_id":124788,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d302040012dceeac005224810001201422b..."} 
[2026-07-07 20:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d302040012dceeac005224810001201422b..."} 
[2026-07-07 20:57:33] local.INFO: Processing buffer {"connection_id":124788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d302040012dceeac005224810001201422b..."} 
[2026-07-07 20:57:33] local.INFO: Packet analysis {"connection_id":124788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:57:33] local.INFO: Extracted packet for processing {"connection_id":124788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:57:33] local.INFO: GPS Element Parsed {"raw_longitude":768535232,"raw_latitude":86132752,"longitude_deg":76.8535232,"latitude_deg":8.6132752,"altitude":18,"angle":322,"satellites":43,"speed":38,"hex_longitude":"2dceeac0","hex_latitude":"05224810","is_valid_coordinates":true} 
[2026-07-07 20:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560123648001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341933753867698176,"note":"Value kept but may cause issues"} 
[2026-07-07 20:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3530540610833684480,"note":"Value kept but may cause issues"} 
[2026-07-07 20:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783437992000,"timestamp_ms":1783437992000,"timestamp_seconds":1783437992,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d302040"} 
[2026-07-07 20:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 20:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560123648001,"66":27332,"190":206,"80":36352,"24":38,"16":341933753867698176,"45":-3530540610833684480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,80,24,16,45]} 
[2026-07-07 20:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560123648001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:57:33] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-07 20:57:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 20:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341933753867698176,"km_value":341933753867698.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3530540610833684480,"description":"Unknown IO ID 45"} 
[2026-07-07 20:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560123648001,"power":27332,"unknown_190":206,"unknown_80":36352,"ignition":38,"odometer":null,"unknown_45":-3530540610833684480}} 
[2026-07-07 20:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":124788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:57:33] local.INFO: GPS data processed {"connection_id":124788,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:57:33] local.INFO: Acknowledgment sent {"connection_id":124788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:57:43] local.INFO: TCP Data received {"connection_id":124787,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:57:43] local.INFO: Processing buffer {"connection_id":124787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:57:43] local.INFO: Packet analysis {"connection_id":124787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:57:43] local.INFO: Extracted packet for processing {"connection_id":124787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:57:43] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560047360001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783437986000,"timestamp_ms":1783437986000,"timestamp_seconds":1783437986,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3008d0"} 
[2026-07-07 20:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-07 20:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560047360001,"66":26299,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560047360001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:57:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560047360001,"power":26299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":124787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447744,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:57:43] local.INFO: GPS data processed {"connection_id":124787,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:57:43] local.INFO: Acknowledgment sent {"connection_id":124787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:58:03] local.INFO: TCP Data received {"connection_id":125602,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:58:03] local.INFO: Processing buffer {"connection_id":125602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:58:03] local.INFO: IMEI packet received {"connection_id":125602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":125602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:58:04] local.INFO: TCP Data received {"connection_id":124883,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:58:04] local.INFO: Processing buffer {"connection_id":124883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:58:04] local.INFO: IMEI packet received {"connection_id":124883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":124883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:58:07] local.INFO: TCP Data received {"connection_id":125602,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:58:07] local.INFO: Processing buffer {"connection_id":125602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:58:07] local.INFO: IMEI packet received {"connection_id":125602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":125602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:58:08] local.INFO: TCP Data received {"connection_id":125602,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:58:08] local.INFO: Processing buffer {"connection_id":125602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:58:08] local.INFO: IMEI packet received {"connection_id":125602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":125602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:58:08] local.INFO: TCP Data received {"connection_id":124883,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:58:08] local.INFO: Processing buffer {"connection_id":124883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:58:08] local.INFO: IMEI packet received {"connection_id":124883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":124883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:58:09] local.INFO: TCP Data received {"connection_id":124883,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:58:09] local.INFO: Processing buffer {"connection_id":124883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:58:09] local.INFO: Packet analysis {"connection_id":124883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:58:09] local.INFO: Extracted packet for processing {"connection_id":124883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:58:09] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560047360001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783437986000,"timestamp_ms":1783437986000,"timestamp_seconds":1783437986,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3008d0"} 
[2026-07-07 20:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-07 20:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560047360001,"66":26299,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560047360001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:58:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560047360001,"power":26299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":124883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447745,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:58:09] local.INFO: GPS data processed {"connection_id":124883,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:58:09] local.INFO: Acknowledgment sent {"connection_id":124883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:58:14] local.INFO: TCP Data received {"connection_id":125602,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d304750012dced480052265d0001001442d..."} 
[2026-07-07 20:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d304750012dced480052265d0001001442d..."} 
[2026-07-07 20:58:14] local.INFO: Processing buffer {"connection_id":125602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d304750012dced480052265d0001001442d..."} 
[2026-07-07 20:58:14] local.INFO: Packet analysis {"connection_id":125602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:58:14] local.INFO: Extracted packet for processing {"connection_id":125602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:58:14] local.INFO: GPS Element Parsed {"raw_longitude":768529536,"raw_latitude":86140368,"longitude_deg":76.8529536,"latitude_deg":8.6140368,"altitude":16,"angle":324,"satellites":45,"speed":36,"hex_longitude":"2dced480","hex_latitude":"052265d0","is_valid_coordinates":true} 
[2026-07-07 20:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560125952001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341934213429198848,"note":"Value kept but may cause issues"} 
[2026-07-07 20:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3536803429063585792,"note":"Value kept but may cause issues"} 
[2026-07-07 20:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783438002000,"timestamp_ms":1783438002000,"timestamp_seconds":1783438002,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d304750"} 
[2026-07-07 20:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:58: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-07-07 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":196,"data_length":795,"current_offset":136} 
[2026-07-07 20:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560125952001,"66":27463,"190":206,"80":36352,"24":36,"16":341934213429198848,"45":-3536803429063585792},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,80,24,16,45]} 
[2026-07-07 20:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560125952001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:58:14] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-07 20:58:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 20:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341934213429198848,"km_value":341934213429198.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3536803429063585792,"description":"Unknown IO ID 45"} 
[2026-07-07 20:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560125952001,"power":27463,"unknown_190":206,"unknown_80":36352,"ignition":36,"odometer":null,"unknown_45":-3536803429063585792}} 
[2026-07-07 20:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":125602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:58:14] local.INFO: GPS data processed {"connection_id":125602,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:58:14] local.INFO: Acknowledgment sent {"connection_id":125602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:58:15] local.INFO: TCP Data received {"connection_id":125602,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d307630012dcebe0005228318001201412d..."} 
[2026-07-07 20:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d307630012dcebe0005228318001201412d..."} 
[2026-07-07 20:58:15] local.INFO: Processing buffer {"connection_id":125602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d307630012dcebe0005228318001201412d..."} 
[2026-07-07 20:58:15] local.INFO: Packet analysis {"connection_id":125602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:58:15] local.INFO: Extracted packet for processing {"connection_id":125602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:58:15] local.INFO: GPS Element Parsed {"raw_longitude":768523776,"raw_latitude":86147864,"longitude_deg":76.8523776,"latitude_deg":8.6147864,"altitude":18,"angle":321,"satellites":45,"speed":29,"hex_longitude":"2dcebe00","hex_latitude":"05228318","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560128512001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341934672990699520,"note":"Value kept but may cause issues"} 
[2026-07-07 20:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3543066247293448192,"note":"Value kept but may cause issues"} 
[2026-07-07 20:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783438014000,"timestamp_ms":1783438014000,"timestamp_seconds":1783438014,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d307630"} 
[2026-07-07 20:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:58: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-07-07 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 20:58: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-07-07 20: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-07-07 20:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20: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-07-07 20:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560128512001,"66":27365,"190":206,"80":36352,"24":29,"16":341934672990699520,"45":-3543066247293448192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,80,24,16,45]} 
[2026-07-07 20:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560128512001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:58:15] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-07 20:58:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 20:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341934672990699520,"km_value":341934672990699.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3543066247293448192,"description":"Unknown IO ID 45"} 
[2026-07-07 20:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560128512001,"power":27365,"unknown_190":206,"unknown_80":36352,"ignition":29,"odometer":null,"unknown_45":-3543066247293448192}} 
[2026-07-07 20:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":125602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:58:15] local.INFO: GPS data processed {"connection_id":125602,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:58:15] local.INFO: Acknowledgment sent {"connection_id":125602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:58:15] local.INFO: TCP Data received {"connection_id":124883,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:58:15] local.INFO: Processing buffer {"connection_id":124883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:58:15] local.INFO: Packet analysis {"connection_id":124883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:58:15] local.INFO: Extracted packet for processing {"connection_id":124883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:58:15] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560047360001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783437986000,"timestamp_ms":1783437986000,"timestamp_seconds":1783437986,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3008d0"} 
[2026-07-07 20:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-07 20:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560047360001,"66":26299,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560047360001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:58:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560047360001,"power":26299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":124883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447748,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:58:15] local.INFO: GPS data processed {"connection_id":124883,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:58:15] local.INFO: Acknowledgment sent {"connection_id":124883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:58:58] local.INFO: TCP Data received {"connection_id":125603,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:58:58] local.INFO: Processing buffer {"connection_id":125603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:58:58] local.INFO: IMEI packet received {"connection_id":125603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 20:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":125603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:58:58] local.INFO: TCP Data received {"connection_id":126853,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:58:58] local.INFO: Processing buffer {"connection_id":126853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:58:58] local.INFO: IMEI packet received {"connection_id":126853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 20:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":126853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 20:59:03] local.INFO: TCP Data received {"connection_id":125603,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:59:03] local.INFO: Processing buffer {"connection_id":125603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 20:59:03] local.INFO: IMEI packet received {"connection_id":125603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 20:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":125603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:59:03] local.INFO: TCP Data received {"connection_id":126853,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:59:03] local.INFO: Processing buffer {"connection_id":126853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 20:59:03] local.INFO: IMEI packet received {"connection_id":126853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 20:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":126853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 20:59:04] local.INFO: TCP Data received {"connection_id":125603,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d309d40012dcea80005229e28001401422c..."} 
[2026-07-07 20:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d309d40012dcea80005229e28001401422c..."} 
[2026-07-07 20:59:04] local.INFO: Processing buffer {"connection_id":125603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d309d40012dcea80005229e28001401422c..."} 
[2026-07-07 20:59:04] local.INFO: Packet analysis {"connection_id":125603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:59:04] local.INFO: Extracted packet for processing {"connection_id":125603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:59:04] local.INFO: GPS Element Parsed {"raw_longitude":768518144,"raw_latitude":86154792,"longitude_deg":76.8518144,"latitude_deg":8.6154792,"altitude":20,"angle":322,"satellites":44,"speed":41,"hex_longitude":"2dcea800","hex_latitude":"05229e28","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560131584001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341935102487429120,"note":"Value kept but may cause issues"} 
[2026-07-07 20:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3549399434267518976,"note":"Value kept but may cause issues"} 
[2026-07-07 20:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783438024000,"timestamp_ms":1783438024000,"timestamp_seconds":1783438024,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d309d40"} 
[2026-07-07 20:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 20:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560131584001,"66":27376,"190":206,"80":36352,"24":41,"16":341935102487429120,"45":-3549399434267518976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,80,24,16,45]} 
[2026-07-07 20:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560131584001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:59:04] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-07 20:59:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 20:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341935102487429120,"km_value":341935102487429.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3549399434267518976,"description":"Unknown IO ID 45"} 
[2026-07-07 20:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560131584001,"power":27376,"unknown_190":206,"unknown_80":36352,"ignition":41,"odometer":null,"unknown_45":-3549399434267518976}} 
[2026-07-07 20:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":125603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:59:04] local.INFO: GPS data processed {"connection_id":125603,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:59:04] local.INFO: Acknowledgment sent {"connection_id":125603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:59:04] local.INFO: TCP Data received {"connection_id":126853,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:59:04] local.INFO: Processing buffer {"connection_id":126853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:59:04] local.INFO: Packet analysis {"connection_id":126853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:59:04] local.INFO: Extracted packet for processing {"connection_id":126853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:59:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20: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-07-07 20:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560047360001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783437986000,"timestamp_ms":1783437986000,"timestamp_seconds":1783437986,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3008d0"} 
[2026-07-07 20:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-07 20:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20: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-07-07 20:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560047360001,"66":26299,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560047360001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:59:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560047360001,"power":26299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":126853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:59:04] local.INFO: GPS data processed {"connection_id":126853,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:59:04] local.INFO: Acknowledgment sent {"connection_id":126853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:59:35] local.INFO: TCP Data received {"connection_id":125603,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d30c068012dce8fc00522bc800018013f2b..."} 
[2026-07-07 20:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d30c068012dce8fc00522bc800018013f2b..."} 
[2026-07-07 20:59:35] local.INFO: Processing buffer {"connection_id":125603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d30c068012dce8fc00522bc800018013f2b..."} 
[2026-07-07 20:59:35] local.INFO: Packet analysis {"connection_id":125603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:59:35] local.INFO: Extracted packet for processing {"connection_id":125603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:59:35] local.INFO: GPS Element Parsed {"raw_longitude":768511936,"raw_latitude":86162560,"longitude_deg":76.8511936,"latitude_deg":8.616256,"altitude":24,"angle":319,"satellites":43,"speed":43,"hex_longitude":"2dce8fc0","hex_latitude":"0522bc80","is_valid_coordinates":true} 
[2026-07-07 20:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560134144001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341935583523766272,"note":"Value kept but may cause issues"} 
[2026-07-07 20:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3555591883753379840,"note":"Value kept but may cause issues"} 
[2026-07-07 20:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783438033000,"timestamp_ms":1783438033000,"timestamp_seconds":1783438033,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d30c068"} 
[2026-07-07 20:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 20:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 20:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 20:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 20:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 20:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560134144001,"66":27365,"190":206,"80":36352,"24":43,"16":341935583523766272,"45":-3555591883753379840},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,80,24,16,45]} 
[2026-07-07 20:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 20:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 20:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560134144001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:59:35] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-07 20:59:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 20:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341935583523766272,"km_value":341935583523766.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3555591883753379840,"description":"Unknown IO ID 45"} 
[2026-07-07 20:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560134144001,"power":27365,"unknown_190":206,"unknown_80":36352,"ignition":43,"odometer":null,"unknown_45":-3555591883753379840}} 
[2026-07-07 20:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":125603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:59:35] local.INFO: GPS data processed {"connection_id":125603,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:59:35] local.INFO: Acknowledgment sent {"connection_id":125603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 20:59:36] local.INFO: TCP Data received {"connection_id":126853,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:59:36] local.INFO: Processing buffer {"connection_id":126853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 20:59:36] local.INFO: Packet analysis {"connection_id":126853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:59:36] local.INFO: Extracted packet for processing {"connection_id":126853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 20:59:36] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 20:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 20:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560047360001,"note":"Value kept but may cause issues"} 
[2026-07-07 20:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 20:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 20:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 20:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783437986000,"timestamp_ms":1783437986000,"timestamp_seconds":1783437986,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3008d0"} 
[2026-07-07 20:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 20:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 20:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-07 20:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 20:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 20:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 20:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 20:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 20:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 20:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 20:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 20:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 20:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560047360001,"66":26299,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 20:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 20:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 20:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560047360001,"description":"Unknown IO ID 0"} 
[2026-07-07 20:59:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 20:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 20:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 20:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560047360001,"power":26299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 20:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":126853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447752,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 20:59:36] local.INFO: GPS data processed {"connection_id":126853,"processed":1,"errors":0,"total":1} 
[2026-07-07 20:59:36] local.INFO: Acknowledgment sent {"connection_id":126853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:00:01] local.INFO: TCP Data received {"connection_id":125604,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:00:01] local.INFO: Processing buffer {"connection_id":125604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:00:01] local.INFO: IMEI packet received {"connection_id":125604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":125604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:00:03] local.INFO: TCP Data received {"connection_id":125604,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:00:03] local.INFO: Processing buffer {"connection_id":125604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:00:03] local.INFO: IMEI packet received {"connection_id":125604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":125604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:00:03] local.INFO: TCP Data received {"connection_id":124789,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:00:03] local.INFO: Processing buffer {"connection_id":124789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:00:03] local.INFO: IMEI packet received {"connection_id":124789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":124789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:00:06] local.INFO: TCP Data received {"connection_id":124789,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:00:06] local.INFO: Processing buffer {"connection_id":124789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:00:06] local.INFO: IMEI packet received {"connection_id":124789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":124789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:00:08] local.INFO: TCP Data received {"connection_id":125604,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:00:08] local.INFO: Processing buffer {"connection_id":125604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:00:08] local.INFO: IMEI packet received {"connection_id":125604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":125604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:00:09] local.INFO: TCP Data received {"connection_id":125604,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:00:09] local.INFO: Processing buffer {"connection_id":125604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:00:09] local.INFO: Packet analysis {"connection_id":125604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 21:00:09] local.INFO: Extracted packet for processing {"connection_id":125604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 21:00:09] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560047360001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783437986000,"timestamp_ms":1783437986000,"timestamp_seconds":1783437986,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3008d0"} 
[2026-07-07 21:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-07 21:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560047360001,"66":26299,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560047360001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:00:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560047360001,"power":26299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":125604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447753,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:00:09] local.INFO: GPS data processed {"connection_id":125604,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:00:09] local.INFO: Acknowledgment sent {"connection_id":125604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:00:10] local.INFO: TCP Data received {"connection_id":124789,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d325e78012dce2400052410c8003001622b..."} 
[2026-07-07 21:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d325e78012dce2400052410c8003001622b..."} 
[2026-07-07 21:00:10] local.INFO: Processing buffer {"connection_id":124789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d325e78012dce2400052410c8003001622b..."} 
[2026-07-07 21:00:10] local.INFO: Packet analysis {"connection_id":124789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d32"} 
[2026-07-07 21:00:10] local.INFO: Extracted packet for processing {"connection_id":124789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d32"} 
[2026-07-07 21:00:10] local.INFO: GPS Element Parsed {"raw_longitude":768484352,"raw_latitude":86249672,"longitude_deg":76.8484352,"latitude_deg":8.6249672,"altitude":48,"angle":354,"satellites":43,"speed":36,"hex_longitude":"2dce2400","hex_latitude":"052410c8","is_valid_coordinates":true} 
[2026-07-07 21:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560160512001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341940067469623296,"note":"Value kept but may cause issues"} 
[2026-07-07 21:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3591550312006197248,"note":"Value kept but may cause issues"} 
[2026-07-07 21:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783438139000,"timestamp_ms":1783438139000,"timestamp_seconds":1783438139,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d325e78"} 
[2026-07-07 21:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:00: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-07-07 21: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":196,"data_length":795,"current_offset":136} 
[2026-07-07 21:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560160512001,"66":27343,"99":206,"80":36352,"24":36,"16":341940067469623296,"45":-3591550312006197248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,80,24,16,45]} 
[2026-07-07 21:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560160512001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:00:10] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-07 21:00:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341940067469623296,"km_value":341940067469623.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3591550312006197248,"description":"Unknown IO ID 45"} 
[2026-07-07 21:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560160512001,"power":27343,"unknown_99":206,"unknown_80":36352,"ignition":36,"odometer":null,"unknown_45":-3591550312006197248}} 
[2026-07-07 21:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":124789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:00:10] local.INFO: GPS data processed {"connection_id":124789,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:00:10] local.INFO: Acknowledgment sent {"connection_id":124789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:00:11] local.INFO: TCP Data received {"connection_id":124789,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d328588012dce1e40052435180032015b27..."} 
[2026-07-07 21:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d328588012dce1e40052435180032015b27..."} 
[2026-07-07 21:00:11] local.INFO: Processing buffer {"connection_id":124789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d328588012dce1e40052435180032015b27..."} 
[2026-07-07 21:00:11] local.INFO: Packet analysis {"connection_id":124789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d32"} 
[2026-07-07 21:00:11] local.INFO: Extracted packet for processing {"connection_id":124789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d32"} 
[2026-07-07 21:00:11] local.INFO: GPS Element Parsed {"raw_longitude":768482880,"raw_latitude":86258968,"longitude_deg":76.848288,"latitude_deg":8.6258968,"altitude":50,"angle":347,"satellites":39,"speed":36,"hex_longitude":"2dce1e40","hex_latitude":"05243518","is_valid_coordinates":true} 
[2026-07-07 21:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560163584001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341940522736156672,"note":"Value kept but may cause issues"} 
[2026-07-07 21:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3592746580654897152,"note":"Value kept but may cause issues"} 
[2026-07-07 21:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783438149000,"timestamp_ms":1783438149000,"timestamp_seconds":1783438149,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d328588"} 
[2026-07-07 21:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:00: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-07-07 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 21:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560163584001,"66":27397,"99":206,"80":36352,"24":36,"16":341940522736156672,"45":-3592746580654897152},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,80,24,16,45]} 
[2026-07-07 21:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560163584001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:00:11] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-07 21:00:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341940522736156672,"km_value":341940522736156.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3592746580654897152,"description":"Unknown IO ID 45"} 
[2026-07-07 21:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560163584001,"power":27397,"unknown_99":206,"unknown_80":36352,"ignition":36,"odometer":null,"unknown_45":-3592746580654897152}} 
[2026-07-07 21:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":124789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:00:11] local.INFO: GPS data processed {"connection_id":124789,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:00:11] local.INFO: Acknowledgment sent {"connection_id":124789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:00:42] local.INFO: TCP Data received {"connection_id":124789,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d32ac98012dce148005245a380031015729..."} 
[2026-07-07 21:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d32ac98012dce148005245a380031015729..."} 
[2026-07-07 21:00:42] local.INFO: Processing buffer {"connection_id":124789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d32ac98012dce148005245a380031015729..."} 
[2026-07-07 21:00:42] local.INFO: Packet analysis {"connection_id":124789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d32"} 
[2026-07-07 21:00:42] local.INFO: Extracted packet for processing {"connection_id":124789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d32"} 
[2026-07-07 21:00:42] local.INFO: GPS Element Parsed {"raw_longitude":768480384,"raw_latitude":86268472,"longitude_deg":76.8480384,"latitude_deg":8.6268472,"altitude":49,"angle":343,"satellites":41,"speed":40,"hex_longitude":"2dce1480","hex_latitude":"05245a38","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560166144001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341940999477526528,"note":"Value kept but may cause issues"} 
[2026-07-07 21:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3594365061768603648,"note":"Value kept but may cause issues"} 
[2026-07-07 21:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783438159000,"timestamp_ms":1783438159000,"timestamp_seconds":1783438159,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d32ac98"} 
[2026-07-07 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-07-07 21:00: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-07-07 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 21:00: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-07-07 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-07-07 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-07-07 21:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560166144001,"66":27332,"99":206,"80":36352,"24":40,"16":341940999477526528,"45":-3594365061768603648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,80,24,16,45]} 
[2026-07-07 21:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560166144001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:00:42] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-07 21:00:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341940999477526528,"km_value":341940999477526.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3594365061768603648,"description":"Unknown IO ID 45"} 
[2026-07-07 21:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560166144001,"power":27332,"unknown_99":206,"unknown_80":36352,"ignition":40,"odometer":null,"unknown_45":-3594365061768603648}} 
[2026-07-07 21:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":124789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:00:42] local.INFO: GPS data processed {"connection_id":124789,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:00:42] local.INFO: Acknowledgment sent {"connection_id":124789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:00:58] local.INFO: TCP Data received {"connection_id":125605,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:00:58] local.INFO: Processing buffer {"connection_id":125605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:00:58] local.INFO: IMEI packet received {"connection_id":125605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":125605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:00:58] local.INFO: TCP Data received {"connection_id":126854,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:00:58] local.INFO: Processing buffer {"connection_id":126854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:00:58] local.INFO: IMEI packet received {"connection_id":126854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":126854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:01:02] local.INFO: TCP Data received {"connection_id":126854,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:01:02] local.INFO: Processing buffer {"connection_id":126854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:01:02] local.INFO: IMEI packet received {"connection_id":126854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":126854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:01:03] local.INFO: TCP Data received {"connection_id":126854,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d32cfc0012dce098005247d700032015828..."} 
[2026-07-07 21:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d32cfc0012dce098005247d700032015828..."} 
[2026-07-07 21:01:03] local.INFO: Processing buffer {"connection_id":126854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d32cfc0012dce098005247d700032015828..."} 
[2026-07-07 21:01:03] local.INFO: Packet analysis {"connection_id":126854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d32"} 
[2026-07-07 21:01:03] local.INFO: Extracted packet for processing {"connection_id":126854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d32"} 
[2026-07-07 21:01:03] local.INFO: GPS Element Parsed {"raw_longitude":768477568,"raw_latitude":86277488,"longitude_deg":76.8477568,"latitude_deg":8.6277488,"altitude":50,"angle":344,"satellites":40,"speed":43,"hex_longitude":"2dce0980","hex_latitude":"05247d70","is_valid_coordinates":true} 
[2026-07-07 21:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560168704001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341941459039027200,"note":"Value kept but may cause issues"} 
[2026-07-07 21:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3597109442789099520,"note":"Value kept but may cause issues"} 
[2026-07-07 21:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783438168000,"timestamp_ms":1783438168000,"timestamp_seconds":1783438168,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d32cfc0"} 
[2026-07-07 21:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:01: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-07-07 21:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 21:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560168704001,"66":27332,"99":206,"80":36352,"24":43,"16":341941459039027200,"45":-3597109442789099520},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,80,24,16,45]} 
[2026-07-07 21:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560168704001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:01:03] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-07 21:01:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341941459039027200,"km_value":341941459039027.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3597109442789099520,"description":"Unknown IO ID 45"} 
[2026-07-07 21:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560168704001,"power":27332,"unknown_99":206,"unknown_80":36352,"ignition":43,"odometer":null,"unknown_45":-3597109442789099520}} 
[2026-07-07 21:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":126854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:01:03] local.INFO: GPS data processed {"connection_id":126854,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:01:03] local.INFO: Acknowledgment sent {"connection_id":126854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:01:03] local.INFO: TCP Data received {"connection_id":125605,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:01:03] local.INFO: Processing buffer {"connection_id":125605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:01:03] local.INFO: IMEI packet received {"connection_id":125605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":125605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:01:04] local.INFO: TCP Data received {"connection_id":125605,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:01:04] local.INFO: Processing buffer {"connection_id":125605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:01:04] local.INFO: Packet analysis {"connection_id":125605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 21:01:04] local.INFO: Extracted packet for processing {"connection_id":125605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 21:01:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560047360001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783437986000,"timestamp_ms":1783437986000,"timestamp_seconds":1783437986,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3008d0"} 
[2026-07-07 21:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-07 21:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560047360001,"66":26299,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560047360001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:01:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560047360001,"power":26299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":125605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447758,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:01:04] local.INFO: GPS data processed {"connection_id":125605,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:01:04] local.INFO: Acknowledgment sent {"connection_id":125605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:01:34] local.INFO: TCP Data received {"connection_id":126854,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d32ef00012dcdff4005249eb80033015929..."} 
[2026-07-07 21:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d32ef00012dcdff4005249eb80033015929..."} 
[2026-07-07 21:01:34] local.INFO: Processing buffer {"connection_id":126854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d32ef00012dcdff4005249eb80033015929..."} 
[2026-07-07 21:01:34] local.INFO: Packet analysis {"connection_id":126854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d32"} 
[2026-07-07 21:01:34] local.INFO: Extracted packet for processing {"connection_id":126854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d32"} 
[2026-07-07 21:01:34] local.INFO: GPS Element Parsed {"raw_longitude":768474944,"raw_latitude":86286008,"longitude_deg":76.8474944,"latitude_deg":8.6286008,"altitude":51,"angle":345,"satellites":41,"speed":43,"hex_longitude":"2dcdff40","hex_latitude":"05249eb8","is_valid_coordinates":true} 
[2026-07-07 21:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560171008001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341941888535756800,"note":"Value kept but may cause issues"} 
[2026-07-07 21:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3600205667530608640,"note":"Value kept but may cause issues"} 
[2026-07-07 21:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783438176000,"timestamp_ms":1783438176000,"timestamp_seconds":1783438176,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d32ef00"} 
[2026-07-07 21:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:01: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-07-07 21:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 21:01: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-07-07 21:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560171008001,"66":27365,"99":206,"80":36352,"24":43,"16":341941888535756800,"45":-3600205667530608640},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,80,24,16,45]} 
[2026-07-07 21:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560171008001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:01:34] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-07 21:01:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341941888535756800,"km_value":341941888535756.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3600205667530608640,"description":"Unknown IO ID 45"} 
[2026-07-07 21:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560171008001,"power":27365,"unknown_99":206,"unknown_80":36352,"ignition":43,"odometer":null,"unknown_45":-3600205667530608640}} 
[2026-07-07 21:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":126854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:01:34] local.INFO: GPS data processed {"connection_id":126854,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:01:34] local.INFO: Acknowledgment sent {"connection_id":126854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:01:36] local.INFO: TCP Data received {"connection_id":125605,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:01:36] local.INFO: Processing buffer {"connection_id":125605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3008d0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:01:36] local.INFO: Packet analysis {"connection_id":125605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 21:01:36] local.INFO: Extracted packet for processing {"connection_id":125605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d30"} 
[2026-07-07 21:01:36] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560047360001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783437986000,"timestamp_ms":1783437986000,"timestamp_seconds":1783437986,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3008d0"} 
[2026-07-07 21:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-07 21:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560047360001,"66":26299,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560047360001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:01:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560047360001,"power":26299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":125605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447760,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:01:36] local.INFO: GPS data processed {"connection_id":125605,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:01:36] local.INFO: Acknowledgment sent {"connection_id":125605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:01:56] local.INFO: TCP Data received {"connection_id":124884,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:01:56] local.INFO: Processing buffer {"connection_id":124884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:01:56] local.INFO: IMEI packet received {"connection_id":124884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":124884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:01:59] local.INFO: TCP Data received {"connection_id":124884,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:01:59] local.INFO: Processing buffer {"connection_id":124884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:01:59] local.INFO: IMEI packet received {"connection_id":124884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":124884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:02:03] local.INFO: TCP Data received {"connection_id":124884,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:02:03] local.INFO: Processing buffer {"connection_id":124884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:02:03] local.INFO: IMEI packet received {"connection_id":124884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":124884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:02:03] local.INFO: TCP Data received {"connection_id":126855,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:02:03] local.INFO: Processing buffer {"connection_id":126855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:02:03] local.INFO: IMEI packet received {"connection_id":126855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":126855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:02:04] local.INFO: TCP Data received {"connection_id":124884,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d331228012dcdf6400524c3200034015a29..."} 
[2026-07-07 21:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d331228012dcdf6400524c3200034015a29..."} 
[2026-07-07 21:02:04] local.INFO: Processing buffer {"connection_id":124884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d331228012dcdf6400524c3200034015a29..."} 
[2026-07-07 21:02:04] local.INFO: Packet analysis {"connection_id":124884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d33"} 
[2026-07-07 21:02:04] local.INFO: Extracted packet for processing {"connection_id":124884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d33"} 
[2026-07-07 21:02:04] local.INFO: GPS Element Parsed {"raw_longitude":768472640,"raw_latitude":86295328,"longitude_deg":76.847264,"latitude_deg":8.6295328,"altitude":52,"angle":346,"satellites":41,"speed":41,"hex_longitude":"2dcdf640","hex_latitude":"0524c320","is_valid_coordinates":true} 
[2026-07-07 21:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560173056001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341942356687192064,"note":"Value kept but may cause issues"} 
[2026-07-07 21:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3603090786039711744,"note":"Value kept but may cause issues"} 
[2026-07-07 21:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783438185000,"timestamp_ms":1783438185000,"timestamp_seconds":1783438185,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d331228"} 
[2026-07-07 21:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 21:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560173056001,"66":27463,"99":206,"80":36352,"24":41,"16":341942356687192064,"45":-3603090786039711744},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,80,24,16,45]} 
[2026-07-07 21:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560173056001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:02:04] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-07 21:02:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341942356687192064,"km_value":341942356687192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3603090786039711744,"description":"Unknown IO ID 45"} 
[2026-07-07 21:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560173056001,"power":27463,"unknown_99":206,"unknown_80":36352,"ignition":41,"odometer":null,"unknown_45":-3603090786039711744}} 
[2026-07-07 21:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":124884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:02:04] local.INFO: GPS data processed {"connection_id":124884,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:02:04] local.INFO: Acknowledgment sent {"connection_id":124884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:02:06] local.INFO: TCP Data received {"connection_id":126855,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:02:06] local.INFO: Processing buffer {"connection_id":126855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:02:06] local.INFO: IMEI packet received {"connection_id":126855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":126855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:02:21] local.INFO: TCP Data received {"connection_id":126855,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:02:21] local.INFO: Processing buffer {"connection_id":126855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:02:21] local.INFO: Packet analysis {"connection_id":126855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:02:21] local.INFO: Extracted packet for processing {"connection_id":126855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:02:21] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560124416001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783438287000,"timestamp_ms":1783438287000,"timestamp_seconds":1783438287,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d34a098"} 
[2026-07-07 21:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 21:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560124416001,"66":26289,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560124416001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:02:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560124416001,"power":26289,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":126855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447762,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:02:21] local.INFO: GPS data processed {"connection_id":126855,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:02:21] local.INFO: Acknowledgment sent {"connection_id":126855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:02:22] local.INFO: TCP Data received {"connection_id":126855,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:02:22] local.INFO: Processing buffer {"connection_id":126855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:02:22] local.INFO: Packet analysis {"connection_id":126855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:02:22] local.INFO: Extracted packet for processing {"connection_id":126855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:02:22] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560124416001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783438287000,"timestamp_ms":1783438287000,"timestamp_seconds":1783438287,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d34a098"} 
[2026-07-07 21:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 21:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560124416001,"66":26289,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560124416001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:02:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560124416001,"power":26289,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":126855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447763,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:02:22] local.INFO: GPS data processed {"connection_id":126855,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:02:22] local.INFO: Acknowledgment sent {"connection_id":126855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:02:35] local.INFO: TCP Data received {"connection_id":124884,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d333938012dcdee800524e7a00033015c2a..."} 
[2026-07-07 21:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d333938012dcdee800524e7a00033015c2a..."} 
[2026-07-07 21:02:35] local.INFO: Processing buffer {"connection_id":124884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d333938012dcdee800524e7a00033015c2a..."} 
[2026-07-07 21:02:35] local.INFO: Packet analysis {"connection_id":124884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d33"} 
[2026-07-07 21:02:35] local.INFO: Extracted packet for processing {"connection_id":124884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d33"} 
[2026-07-07 21:02:35] local.INFO: GPS Element Parsed {"raw_longitude":768470656,"raw_latitude":86304672,"longitude_deg":76.8470656,"latitude_deg":8.6304672,"altitude":51,"angle":348,"satellites":42,"speed":36,"hex_longitude":"2dcdee80","hex_latitude":"0524e7a0","is_valid_coordinates":true} 
[2026-07-07 21:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560175360001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341942820543660032,"note":"Value kept but may cause issues"} 
[2026-07-07 21:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3605624060827721728,"note":"Value kept but may cause issues"} 
[2026-07-07 21:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783438195000,"timestamp_ms":1783438195000,"timestamp_seconds":1783438195,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d333938"} 
[2026-07-07 21:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:02: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-07-07 21:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 21:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560175360001,"66":27213,"101":206,"80":36352,"24":36,"16":341942820543660032,"45":-3605624060827721728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,80,24,16,45]} 
[2026-07-07 21:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560175360001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:02:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 21:02:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341942820543660032,"km_value":341942820543660.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3605624060827721728,"description":"Unknown IO ID 45"} 
[2026-07-07 21:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560175360001,"power":27213,"unknown_101":206,"unknown_80":36352,"ignition":36,"odometer":null,"unknown_45":-3605624060827721728}} 
[2026-07-07 21:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":124884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:02:35] local.INFO: GPS data processed {"connection_id":124884,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:02:35] local.INFO: Acknowledgment sent {"connection_id":124884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:02:58] local.INFO: TCP Data received {"connection_id":125606,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:02:58] local.INFO: Processing buffer {"connection_id":125606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:02:58] local.INFO: IMEI packet received {"connection_id":125606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":125606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:03:03] local.INFO: TCP Data received {"connection_id":125606,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:03:03] local.INFO: Processing buffer {"connection_id":125606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:03:03] local.INFO: IMEI packet received {"connection_id":125606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":125606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:03:03] local.INFO: TCP Data received {"connection_id":126856,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:03:03] local.INFO: Processing buffer {"connection_id":126856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:03:03] local.INFO: IMEI packet received {"connection_id":126856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":126856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:03:04] local.INFO: TCP Data received {"connection_id":125606,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d34f2a0012dcd848005266628002501522d..."} 
[2026-07-07 21:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d34f2a0012dcd848005266628002501522d..."} 
[2026-07-07 21:03:04] local.INFO: Processing buffer {"connection_id":125606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d34f2a0012dcd848005266628002501522d..."} 
[2026-07-07 21:03:04] local.INFO: Packet analysis {"connection_id":125606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:03:04] local.INFO: Extracted packet for processing {"connection_id":125606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:03:04] local.INFO: GPS Element Parsed {"raw_longitude":768443520,"raw_latitude":86402600,"longitude_deg":76.844352,"latitude_deg":8.64026,"altitude":37,"angle":338,"satellites":45,"speed":43,"hex_longitude":"2dcd8480","hex_latitude":"05266628","is_valid_coordinates":true} 
[2026-07-07 21:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560204544001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341947764051017728,"note":"Value kept but may cause issues"} 
[2026-07-07 21:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3633841927217659904,"note":"Value kept but may cause issues"} 
[2026-07-07 21:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783438308000,"timestamp_ms":1783438308000,"timestamp_seconds":1783438308,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d34f2a0"} 
[2026-07-07 21:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 21:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560204544001,"66":27441,"162":206,"80":36352,"24":43,"16":341947764051017728,"45":-3633841927217659904},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,80,24,16,45]} 
[2026-07-07 21:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560204544001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:03:04] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-07 21:03:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341947764051017728,"km_value":341947764051017.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3633841927217659904,"description":"Unknown IO ID 45"} 
[2026-07-07 21:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560204544001,"power":27441,"unknown_162":206,"unknown_80":36352,"ignition":43,"odometer":null,"unknown_45":-3633841927217659904}} 
[2026-07-07 21:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":125606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:03:04] local.INFO: GPS data processed {"connection_id":125606,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:03:04] local.INFO: Acknowledgment sent {"connection_id":125606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:03:08] local.INFO: TCP Data received {"connection_id":126856,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:03:08] local.INFO: Processing buffer {"connection_id":126856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:03:08] local.INFO: IMEI packet received {"connection_id":126856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":126856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:03:11] local.INFO: TCP Data received {"connection_id":126856,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:03:11] local.INFO: Processing buffer {"connection_id":126856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:03:11] local.INFO: Packet analysis {"connection_id":126856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:03:11] local.INFO: Extracted packet for processing {"connection_id":126856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:03:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560124416001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783438287000,"timestamp_ms":1783438287000,"timestamp_seconds":1783438287,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d34a098"} 
[2026-07-07 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-07-07 21:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 21:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 21:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560124416001,"66":26289,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560124416001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:03:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560124416001,"power":26289,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":126856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447766,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:03:11] local.INFO: GPS data processed {"connection_id":126856,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:03:11] local.INFO: Acknowledgment sent {"connection_id":126856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:03:13] local.INFO: TCP Data received {"connection_id":126856,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:03:13] local.INFO: Processing buffer {"connection_id":126856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:03:13] local.INFO: Packet analysis {"connection_id":126856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:03:13] local.INFO: Extracted packet for processing {"connection_id":126856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:03:13] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560124416001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783438287000,"timestamp_ms":1783438287000,"timestamp_seconds":1783438287,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d34a098"} 
[2026-07-07 21:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 21:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21: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-07-07 21:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560124416001,"66":26289,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560124416001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:03:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560124416001,"power":26289,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":126856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447767,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:03:13] local.INFO: GPS data processed {"connection_id":126856,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:03:13] local.INFO: Acknowledgment sent {"connection_id":126856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:03:35] local.INFO: TCP Data received {"connection_id":125606,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3515c8012dcd76c0052688f0002501532c..."} 
[2026-07-07 21:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3515c8012dcd76c0052688f0002501532c..."} 
[2026-07-07 21:03:35] local.INFO: Processing buffer {"connection_id":125606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3515c8012dcd76c0052688f0002501532c..."} 
[2026-07-07 21:03:35] local.INFO: Packet analysis {"connection_id":125606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d35"} 
[2026-07-07 21:03:35] local.INFO: Extracted packet for processing {"connection_id":125606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d35"} 
[2026-07-07 21:03:35] local.INFO: GPS Element Parsed {"raw_longitude":768440000,"raw_latitude":86411504,"longitude_deg":76.844,"latitude_deg":8.6411504,"altitude":37,"angle":339,"satellites":44,"speed":35,"hex_longitude":"2dcd76c0","hex_latitude":"052688f0","is_valid_coordinates":true} 
[2026-07-07 21:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560206848001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341948227907485696,"note":"Value kept but may cause issues"} 
[2026-07-07 21:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3637641839401097216,"note":"Value kept but may cause issues"} 
[2026-07-07 21:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783438317000,"timestamp_ms":1783438317000,"timestamp_seconds":1783438317,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3515c8"} 
[2026-07-07 21:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-07-07 21:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560206848001,"66":27343,"162":206,"80":36352,"24":35,"16":341948227907485696,"45":-3637641839401097216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,80,24,16,45]} 
[2026-07-07 21:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560206848001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:03:35] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-07 21:03:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341948227907485696,"km_value":341948227907485.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3637641839401097216,"description":"Unknown IO ID 45"} 
[2026-07-07 21:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560206848001,"power":27343,"unknown_162":206,"unknown_80":36352,"ignition":35,"odometer":null,"unknown_45":-3637641839401097216}} 
[2026-07-07 21:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":125606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:03:35] local.INFO: GPS data processed {"connection_id":125606,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:03:35] local.INFO: Acknowledgment sent {"connection_id":125606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:03:58] local.INFO: TCP Data received {"connection_id":124885,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:03:58] local.INFO: Processing buffer {"connection_id":124885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:03:58] local.INFO: IMEI packet received {"connection_id":124885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":124885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:03:58] local.INFO: TCP Data received {"connection_id":124790,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:03:58] local.INFO: Processing buffer {"connection_id":124790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:03:58] local.INFO: IMEI packet received {"connection_id":124790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":124790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:03:59] local.INFO: TCP Data received {"connection_id":124885,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:03:59] local.INFO: Processing buffer {"connection_id":124885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:03:59] local.INFO: IMEI packet received {"connection_id":124885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":124885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:04:03] local.INFO: TCP Data received {"connection_id":124790,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:04:03] local.INFO: Processing buffer {"connection_id":124790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:04:03] local.INFO: IMEI packet received {"connection_id":124790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":124790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:04:04] local.INFO: TCP Data received {"connection_id":124885,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:04:04] local.INFO: Processing buffer {"connection_id":124885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:04:04] local.INFO: IMEI packet received {"connection_id":124885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":124885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:04:04] local.INFO: TCP Data received {"connection_id":124790,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:04:04] local.INFO: Processing buffer {"connection_id":124790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:04:04] local.INFO: Packet analysis {"connection_id":124790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:04:04] local.INFO: Extracted packet for processing {"connection_id":124790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:04:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560124416001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783438287000,"timestamp_ms":1783438287000,"timestamp_seconds":1783438287,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d34a098"} 
[2026-07-07 21:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 21:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560124416001,"66":26289,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560124416001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:04:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560124416001,"power":26289,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":124790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447769,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:04:04] local.INFO: GPS data processed {"connection_id":124790,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:04:04] local.INFO: Acknowledgment sent {"connection_id":124790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:04:08] local.INFO: TCP Data received {"connection_id":124885,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d355448012dcd6c000526aae0002c015926..."} 
[2026-07-07 21:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d355448012dcd6c000526aae0002c015926..."} 
[2026-07-07 21:04:08] local.INFO: Processing buffer {"connection_id":124885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d355448012dcd6c000526aae0002c015926..."} 
[2026-07-07 21:04:08] local.INFO: Packet analysis {"connection_id":124885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d35"} 
[2026-07-07 21:04:08] local.INFO: Extracted packet for processing {"connection_id":124885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d35"} 
[2026-07-07 21:04:08] local.INFO: GPS Element Parsed {"raw_longitude":768437248,"raw_latitude":86420192,"longitude_deg":76.8437248,"latitude_deg":8.6420192,"altitude":44,"angle":345,"satellites":38,"speed":16,"hex_longitude":"2dcd6c00","hex_latitude":"0526aae0","is_valid_coordinates":true} 
[2026-07-07 21:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560209152001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341948670289117184,"note":"Value kept but may cause issues"} 
[2026-07-07 21:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3641512120328589312,"note":"Value kept but may cause issues"} 
[2026-07-07 21:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783438333000,"timestamp_ms":1783438333000,"timestamp_seconds":1783438333,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d355448"} 
[2026-07-07 21:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:04: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-07-07 21:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 21:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560209152001,"66":27310,"162":206,"80":36352,"24":16,"16":341948670289117184,"45":-3641512120328589312},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,80,24,16,45]} 
[2026-07-07 21:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560209152001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:04:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-07 21:04:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341948670289117184,"km_value":341948670289117.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3641512120328589312,"description":"Unknown IO ID 45"} 
[2026-07-07 21:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560209152001,"power":27310,"unknown_162":206,"unknown_80":36352,"ignition":16,"odometer":null,"unknown_45":-3641512120328589312}} 
[2026-07-07 21:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":124885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:04:08] local.INFO: GPS data processed {"connection_id":124885,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:04:08] local.INFO: Acknowledgment sent {"connection_id":124885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:04:35] local.INFO: TCP Data received {"connection_id":124790,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:04:35] local.INFO: Processing buffer {"connection_id":124790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:04:35] local.INFO: Packet analysis {"connection_id":124790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:04:35] local.INFO: Extracted packet for processing {"connection_id":124790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:04:35] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560124416001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783438287000,"timestamp_ms":1783438287000,"timestamp_seconds":1783438287,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d34a098"} 
[2026-07-07 21:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 21:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560124416001,"66":26289,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560124416001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:04:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560124416001,"power":26289,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":124790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447771,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:04:35] local.INFO: GPS data processed {"connection_id":124790,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:04:35] local.INFO: Acknowledgment sent {"connection_id":124790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:04:42] local.INFO: TCP Data received {"connection_id":124885,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d359e80012dcd62400526cd30002d015729..."} 
[2026-07-07 21:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d359e80012dcd62400526cd30002d015729..."} 
[2026-07-07 21:04:42] local.INFO: Processing buffer {"connection_id":124885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d359e80012dcd62400526cd30002d015729..."} 
[2026-07-07 21:04:42] local.INFO: Packet analysis {"connection_id":124885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d35"} 
[2026-07-07 21:04:42] local.INFO: Extracted packet for processing {"connection_id":124885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d35"} 
[2026-07-07 21:04:42] local.INFO: GPS Element Parsed {"raw_longitude":768434752,"raw_latitude":86428976,"longitude_deg":76.8434752,"latitude_deg":8.6428976,"altitude":45,"angle":343,"satellites":41,"speed":26,"hex_longitude":"2dcd6240","hex_latitude":"0526cd30","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560213248001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341949112670748672,"note":"Value kept but may cause issues"} 
[2026-07-07 21:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3644537976326004736,"note":"Value kept but may cause issues"} 
[2026-07-07 21:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783438352000,"timestamp_ms":1783438352000,"timestamp_seconds":1783438352,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d359e80"} 
[2026-07-07 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-07-07 21:04: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-07-07 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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-07 21:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 21:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560213248001,"66":27484,"162":206,"80":36352,"24":26,"16":341949112670748672,"45":-3644537976326004736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,80,24,16,45]} 
[2026-07-07 21:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560213248001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:04:42] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-07 21:04:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341949112670748672,"km_value":341949112670748.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3644537976326004736,"description":"Unknown IO ID 45"} 
[2026-07-07 21:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560213248001,"power":27484,"unknown_162":206,"unknown_80":36352,"ignition":26,"odometer":null,"unknown_45":-3644537976326004736}} 
[2026-07-07 21:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":124885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:04:42] local.INFO: GPS data processed {"connection_id":124885,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:04:42] local.INFO: Acknowledgment sent {"connection_id":124885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:04:58] local.INFO: TCP Data received {"connection_id":125607,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:04:58] local.INFO: Processing buffer {"connection_id":125607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:04:58] local.INFO: IMEI packet received {"connection_id":125607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":125607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:05:03] local.INFO: TCP Data received {"connection_id":125607,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:05:03] local.INFO: Processing buffer {"connection_id":125607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:05:03] local.INFO: IMEI packet received {"connection_id":125607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":125607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:05:05] local.INFO: TCP Data received {"connection_id":124886,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:05:05] local.INFO: Processing buffer {"connection_id":124886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:05:05] local.INFO: IMEI packet received {"connection_id":124886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":124886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:05:07] local.INFO: TCP Data received {"connection_id":125607,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:05:07] local.INFO: Processing buffer {"connection_id":125607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:05:07] local.INFO: Packet analysis {"connection_id":125607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:05:07] local.INFO: Extracted packet for processing {"connection_id":125607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:05:07] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560124416001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783438287000,"timestamp_ms":1783438287000,"timestamp_seconds":1783438287,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d34a098"} 
[2026-07-07 21:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 21:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560124416001,"66":26289,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560124416001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:05:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560124416001,"power":26289,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":125607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447773,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:05:07] local.INFO: GPS data processed {"connection_id":125607,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:05:07] local.INFO: Acknowledgment sent {"connection_id":125607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:05:08] local.INFO: TCP Data received {"connection_id":124886,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:05:08] local.INFO: Processing buffer {"connection_id":124886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:05:08] local.INFO: IMEI packet received {"connection_id":124886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":124886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:05:09] local.INFO: TCP Data received {"connection_id":124886,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:05:09] local.INFO: Processing buffer {"connection_id":124886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:05:09] local.INFO: IMEI packet received {"connection_id":124886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":124886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:05:13] local.INFO: TCP Data received {"connection_id":124886,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:05:13] local.INFO: Processing buffer {"connection_id":124886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:05:13] local.INFO: IMEI packet received {"connection_id":124886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":124886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:05:14] local.INFO: TCP Data received {"connection_id":124886,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d372908012dcd0b40052831d0001e01532b..."} 
[2026-07-07 21:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d372908012dcd0b40052831d0001e01532b..."} 
[2026-07-07 21:05:14] local.INFO: Processing buffer {"connection_id":124886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d372908012dcd0b40052831d0001e01532b..."} 
[2026-07-07 21:05:14] local.INFO: Packet analysis {"connection_id":124886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d37"} 
[2026-07-07 21:05:14] local.INFO: Extracted packet for processing {"connection_id":124886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d37"} 
[2026-07-07 21:05:14] local.INFO: GPS Element Parsed {"raw_longitude":768412480,"raw_latitude":86520272,"longitude_deg":76.841248,"latitude_deg":8.6520272,"altitude":30,"angle":339,"satellites":43,"speed":59,"hex_longitude":"2dcd0b40","hex_latitude":"052831d0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560242432001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341953691105886208,"note":"Value kept but may cause issues"} 
[2026-07-07 21:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3668674455555536896,"note":"Value kept but may cause issues"} 
[2026-07-07 21:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783438453000,"timestamp_ms":1783438453000,"timestamp_seconds":1783438453,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d372908"} 
[2026-07-07 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-07-07 21: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-07-07 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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-07 21:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 21:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560242432001,"66":27267,"134":206,"80":36352,"24":59,"16":341953691105886208,"45":-3668674455555536896},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,80,24,16,45]} 
[2026-07-07 21:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560242432001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:05:14] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-07 21:05:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341953691105886208,"km_value":341953691105886.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3668674455555536896,"description":"Unknown IO ID 45"} 
[2026-07-07 21:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560242432001,"power":27267,"unknown_134":206,"unknown_80":36352,"ignition":59,"odometer":null,"unknown_45":-3668674455555536896}} 
[2026-07-07 21:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":124886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:05:14] local.INFO: GPS data processed {"connection_id":124886,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:05:14] local.INFO: Acknowledgment sent {"connection_id":124886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:05:14] local.INFO: TCP Data received {"connection_id":124886,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d374460012dccfc40052856e8001d01522c..."} 
[2026-07-07 21:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d374460012dccfc40052856e8001d01522c..."} 
[2026-07-07 21:05:14] local.INFO: Processing buffer {"connection_id":124886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d374460012dccfc40052856e8001d01522c..."} 
[2026-07-07 21:05:14] local.INFO: Packet analysis {"connection_id":124886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d37"} 
[2026-07-07 21:05:14] local.INFO: Extracted packet for processing {"connection_id":124886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d37"} 
[2026-07-07 21:05:14] local.INFO: GPS Element Parsed {"raw_longitude":768408640,"raw_latitude":86529768,"longitude_deg":76.840864,"latitude_deg":8.6529768,"altitude":29,"angle":338,"satellites":44,"speed":57,"hex_longitude":"2dccfc40","hex_latitude":"052856e8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560243968001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341954185027125248,"note":"Value kept but may cause issues"} 
[2026-07-07 21:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3671770680297140224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783438460000,"timestamp_ms":1783438460000,"timestamp_seconds":1783438460,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d374460"} 
[2026-07-07 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-07-07 21: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-07-07 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 21:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 21:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560243968001,"66":27332,"134":206,"80":36352,"24":57,"16":341954185027125248,"45":-3671770680297140224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,80,24,16,45]} 
[2026-07-07 21:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560243968001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:05:14] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-07 21:05:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341954185027125248,"km_value":341954185027125.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3671770680297140224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560243968001,"power":27332,"unknown_134":206,"unknown_80":36352,"ignition":57,"odometer":null,"unknown_45":-3671770680297140224}} 
[2026-07-07 21:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":124886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:05:14] local.INFO: GPS data processed {"connection_id":124886,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:05:14] local.INFO: Acknowledgment sent {"connection_id":124886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:05:38] local.INFO: TCP Data received {"connection_id":125607,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:05:38] local.INFO: Processing buffer {"connection_id":125607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:05:38] local.INFO: Packet analysis {"connection_id":125607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:05:38] local.INFO: Extracted packet for processing {"connection_id":125607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:05:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560124416001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783438287000,"timestamp_ms":1783438287000,"timestamp_seconds":1783438287,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d34a098"} 
[2026-07-07 21:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 21:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560124416001,"66":26289,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560124416001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:05:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560124416001,"power":26289,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":125607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447776,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:05:38] local.INFO: GPS data processed {"connection_id":125607,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:05:38] local.INFO: Acknowledgment sent {"connection_id":125607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:05:58] local.INFO: TCP Data received {"connection_id":126858,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:05:58] local.INFO: Processing buffer {"connection_id":126858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:05:58] local.INFO: IMEI packet received {"connection_id":126858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":126858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:05:58] local.INFO: TCP Data received {"connection_id":126857,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:05:58] local.INFO: Processing buffer {"connection_id":126857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:05:58] local.INFO: IMEI packet received {"connection_id":126857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":126857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:06:00] local.INFO: TCP Data received {"connection_id":126857,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:06:00] local.INFO: Processing buffer {"connection_id":126857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:06:00] local.INFO: IMEI packet received {"connection_id":126857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":126857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:06:01] local.INFO: TCP Data received {"connection_id":126857,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d375fb8012dccef4005287b58001d01582c..."} 
[2026-07-07 21:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d375fb8012dccef4005287b58001d01582c..."} 
[2026-07-07 21:06:01] local.INFO: Processing buffer {"connection_id":126857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d375fb8012dccef4005287b58001d01582c..."} 
[2026-07-07 21:06:01] local.INFO: Packet analysis {"connection_id":126857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d37"} 
[2026-07-07 21:06:01] local.INFO: Extracted packet for processing {"connection_id":126857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d37"} 
[2026-07-07 21:06:01] local.INFO: GPS Element Parsed {"raw_longitude":768405312,"raw_latitude":86539096,"longitude_deg":76.8405312,"latitude_deg":8.6539096,"altitude":29,"angle":344,"satellites":44,"speed":54,"hex_longitude":"2dccef40","hex_latitude":"05287b58","is_valid_coordinates":true} 
[2026-07-07 21:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560245760001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341954666063462400,"note":"Value kept but may cause issues"} 
[2026-07-07 21:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3675992804945369088,"note":"Value kept but may cause issues"} 
[2026-07-07 21:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783438467000,"timestamp_ms":1783438467000,"timestamp_seconds":1783438467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d375fb8"} 
[2026-07-07 21:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 21:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560245760001,"66":27234,"134":206,"80":36352,"24":54,"16":341954666063462400,"45":-3675992804945369088},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,80,24,16,45]} 
[2026-07-07 21:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560245760001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:06:01] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-07 21:06:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341954666063462400,"km_value":341954666063462.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3675992804945369088,"description":"Unknown IO ID 45"} 
[2026-07-07 21:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560245760001,"power":27234,"unknown_134":206,"unknown_80":36352,"ignition":54,"odometer":null,"unknown_45":-3675992804945369088}} 
[2026-07-07 21:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":126857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:06:01] local.INFO: GPS data processed {"connection_id":126857,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:06:01] local.INFO: Acknowledgment sent {"connection_id":126857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:06:03] local.INFO: TCP Data received {"connection_id":126858,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:06:03] local.INFO: Processing buffer {"connection_id":126858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:06:03] local.INFO: IMEI packet received {"connection_id":126858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":126858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:06:04] local.INFO: TCP Data received {"connection_id":126858,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:06:04] local.INFO: Processing buffer {"connection_id":126858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:06:04] local.INFO: Packet analysis {"connection_id":126858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:06:04] local.INFO: Extracted packet for processing {"connection_id":126858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:06:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560124416001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783438287000,"timestamp_ms":1783438287000,"timestamp_seconds":1783438287,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d34a098"} 
[2026-07-07 21:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 21:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126858,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126858,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560124416001,"66":26289,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560124416001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:06:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560124416001,"power":26289,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":126858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447778,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:06:04] local.INFO: GPS data processed {"connection_id":126858,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:06:04] local.INFO: Acknowledgment sent {"connection_id":126858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:06:33] local.INFO: TCP Data received {"connection_id":126857,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3855d0012dcce2800529b5280014014f2c..."} 
[2026-07-07 21:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3855d0012dcce2800529b5280014014f2c..."} 
[2026-07-07 21:06:33] local.INFO: Processing buffer {"connection_id":126857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3855d0012dcce2800529b5280014014f2c..."} 
[2026-07-07 21:06:33] local.INFO: Packet analysis {"connection_id":126857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d38"} 
[2026-07-07 21:06:33] local.INFO: Extracted packet for processing {"connection_id":126857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d38"} 
[2026-07-07 21:06:33] local.INFO: GPS Element Parsed {"raw_longitude":768402048,"raw_latitude":86619432,"longitude_deg":76.8402048,"latitude_deg":8.6619432,"altitude":20,"angle":335,"satellites":44,"speed":33,"hex_longitude":"2dcce280","hex_latitude":"0529b528","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560262656001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341958668972982272,"note":"Value kept but may cause issues"} 
[2026-07-07 21:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3681340829480620032,"note":"Value kept but may cause issues"} 
[2026-07-07 21:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783438530000,"timestamp_ms":1783438530000,"timestamp_seconds":1783438530,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3855d0"} 
[2026-07-07 21:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 21:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21: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-07-07 21:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560262656001,"66":27343,"160":206,"80":36352,"24":33,"16":341958668972982272,"45":-3681340829480620032},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-07-07 21:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560262656001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:06:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-07 21:06:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341958668972982272,"km_value":341958668972982.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3681340829480620032,"description":"Unknown IO ID 45"} 
[2026-07-07 21:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560262656001,"power":27343,"unknown_160":206,"unknown_80":36352,"ignition":33,"odometer":null,"unknown_45":-3681340829480620032}} 
[2026-07-07 21:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":126857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:06:33] local.INFO: GPS data processed {"connection_id":126857,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:06:33] local.INFO: Acknowledgment sent {"connection_id":126857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:06:36] local.INFO: TCP Data received {"connection_id":126858,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:06:36] local.INFO: Processing buffer {"connection_id":126858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d34a098012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:06:36] local.INFO: Packet analysis {"connection_id":126858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:06:36] local.INFO: Extracted packet for processing {"connection_id":126858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d34"} 
[2026-07-07 21:06:36] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560124416001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783438287000,"timestamp_ms":1783438287000,"timestamp_seconds":1783438287,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d34a098"} 
[2026-07-07 21:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-07 21:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126858,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126858,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560124416001,"66":26289,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560124416001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:06:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560124416001,"power":26289,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":126858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447780,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:06:36] local.INFO: GPS data processed {"connection_id":126858,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:06:36] local.INFO: Acknowledgment sent {"connection_id":126858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:06:58] local.INFO: TCP Data received {"connection_id":125608,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:06:58] local.INFO: Processing buffer {"connection_id":125608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:06:58] local.INFO: IMEI packet received {"connection_id":125608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":125608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:07:02] local.INFO: TCP Data received {"connection_id":125608,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:07:02] local.INFO: Processing buffer {"connection_id":125608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:07:02] local.INFO: IMEI packet received {"connection_id":125608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":125608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:07:03] local.INFO: TCP Data received {"connection_id":125608,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d387ce0012dccd2800529d5880017014e29..."} 
[2026-07-07 21:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d387ce0012dccd2800529d5880017014e29..."} 
[2026-07-07 21:07:03] local.INFO: Processing buffer {"connection_id":125608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d387ce0012dccd2800529d5880017014e29..."} 
[2026-07-07 21:07:03] local.INFO: Packet analysis {"connection_id":125608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d38"} 
[2026-07-07 21:07:03] local.INFO: Extracted packet for processing {"connection_id":125608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d38"} 
[2026-07-07 21:07:03] local.INFO: GPS Element Parsed {"raw_longitude":768397952,"raw_latitude":86627720,"longitude_deg":76.8397952,"latitude_deg":8.662772,"altitude":23,"angle":334,"satellites":41,"speed":34,"hex_longitude":"2dccd280","hex_latitude":"0529d588","is_valid_coordinates":true} 
[2026-07-07 21:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560263680001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341959115649581056,"note":"Value kept but may cause issues"} 
[2026-07-07 21:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3683240785572714496,"note":"Value kept but may cause issues"} 
[2026-07-07 21:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783438540000,"timestamp_ms":1783438540000,"timestamp_seconds":1783438540,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d387ce0"} 
[2026-07-07 21:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:07: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-07-07 21:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 21:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560263680001,"66":27484,"160":206,"80":36352,"24":34,"16":341959115649581056,"45":-3683240785572714496},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-07-07 21:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560263680001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:07:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-07 21:07:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341959115649581056,"km_value":341959115649581.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3683240785572714496,"description":"Unknown IO ID 45"} 
[2026-07-07 21:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560263680001,"power":27484,"unknown_160":206,"unknown_80":36352,"ignition":34,"odometer":null,"unknown_45":-3683240785572714496}} 
[2026-07-07 21:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":125608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:07:03] local.INFO: GPS data processed {"connection_id":125608,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:07:03] local.INFO: Acknowledgment sent {"connection_id":125608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:07:03] local.INFO: TCP Data received {"connection_id":124791,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:07:03] local.INFO: Processing buffer {"connection_id":124791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:07:03] local.INFO: IMEI packet received {"connection_id":124791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":124791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:07:06] local.INFO: TCP Data received {"connection_id":124791,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:07:06] local.INFO: Processing buffer {"connection_id":124791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:07:06] local.INFO: IMEI packet received {"connection_id":124791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":124791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:07:07] local.INFO: TCP Data received {"connection_id":124791,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:07:07] local.INFO: Processing buffer {"connection_id":124791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:07:07] local.INFO: Packet analysis {"connection_id":124791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:07:07] local.INFO: Extracted packet for processing {"connection_id":124791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:07:07] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560201472001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783438588000,"timestamp_ms":1783438588000,"timestamp_seconds":1783438588,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d393860"} 
[2026-07-07 21:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 21:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560201472001,"66":26332,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560201472001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:07:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560201472001,"power":26332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":124791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447782,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:07:07] local.INFO: GPS data processed {"connection_id":124791,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:07:07] local.INFO: Acknowledgment sent {"connection_id":124791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:07:08] local.INFO: TCP Data received {"connection_id":124791,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:07:08] local.INFO: Processing buffer {"connection_id":124791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:07:08] local.INFO: Packet analysis {"connection_id":124791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:07:08] local.INFO: Extracted packet for processing {"connection_id":124791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:07:08] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560201472001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783438588000,"timestamp_ms":1783438588000,"timestamp_seconds":1783438588,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d393860"} 
[2026-07-07 21:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 21:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560201472001,"66":26332,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560201472001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:07:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560201472001,"power":26332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":124791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447783,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:07:08] local.INFO: GPS data processed {"connection_id":124791,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:07:08] local.INFO: Acknowledgment sent {"connection_id":124791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:07:34] local.INFO: TCP Data received {"connection_id":125608,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d38a7d8012dccc3000529f518001c014b28..."} 
[2026-07-07 21:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d38a7d8012dccc3000529f518001c014b28..."} 
[2026-07-07 21:07:34] local.INFO: Processing buffer {"connection_id":125608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d38a7d8012dccc3000529f518001c014b28..."} 
[2026-07-07 21:07:34] local.INFO: Packet analysis {"connection_id":125608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d38"} 
[2026-07-07 21:07:34] local.INFO: Extracted packet for processing {"connection_id":125608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d38"} 
[2026-07-07 21:07:34] local.INFO: GPS Element Parsed {"raw_longitude":768393984,"raw_latitude":86635800,"longitude_deg":76.8393984,"latitude_deg":8.66358,"altitude":28,"angle":331,"satellites":40,"speed":32,"hex_longitude":"2dccc300","hex_latitude":"0529f518","is_valid_coordinates":true} 
[2026-07-07 21:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560266240001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341959553736245248,"note":"Value kept but may cause issues"} 
[2026-07-07 21:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3687744385197963264,"note":"Value kept but may cause issues"} 
[2026-07-07 21:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783438551000,"timestamp_ms":1783438551000,"timestamp_seconds":1783438551,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d38a7d8"} 
[2026-07-07 21:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:07: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-07-07 21:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 21:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560266240001,"66":27213,"160":206,"80":36352,"24":32,"16":341959553736245248,"45":-3687744385197963264},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-07-07 21:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560266240001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:07:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-07 21:07:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341959553736245248,"km_value":341959553736245.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3687744385197963264,"description":"Unknown IO ID 45"} 
[2026-07-07 21:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560266240001,"power":27213,"unknown_160":206,"unknown_80":36352,"ignition":32,"odometer":null,"unknown_45":-3687744385197963264}} 
[2026-07-07 21:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":125608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:07:34] local.INFO: GPS data processed {"connection_id":125608,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:07:34] local.INFO: Acknowledgment sent {"connection_id":125608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:07:39] local.INFO: TCP Data received {"connection_id":124791,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:07:39] local.INFO: Processing buffer {"connection_id":124791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:07:39] local.INFO: Packet analysis {"connection_id":124791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:07:39] local.INFO: Extracted packet for processing {"connection_id":124791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:07:39] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560201472001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783438588000,"timestamp_ms":1783438588000,"timestamp_seconds":1783438588,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d393860"} 
[2026-07-07 21:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 21:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21: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-07-07 21:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560201472001,"66":26332,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560201472001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:07:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560201472001,"power":26332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":124791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447785,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:07:39] local.INFO: GPS data processed {"connection_id":124791,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:07:39] local.INFO: Acknowledgment sent {"connection_id":124791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:07:58] local.INFO: TCP Data received {"connection_id":125609,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:07:58] local.INFO: Processing buffer {"connection_id":125609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:07:58] local.INFO: IMEI packet received {"connection_id":125609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":125609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:08:03] local.INFO: TCP Data received {"connection_id":125609,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:08:03] local.INFO: Processing buffer {"connection_id":125609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:08:03] local.INFO: IMEI packet received {"connection_id":125609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":125609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:08:03] local.INFO: TCP Data received {"connection_id":125610,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:08:03] local.INFO: Processing buffer {"connection_id":125610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:08:03] local.INFO: IMEI packet received {"connection_id":125610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":125610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:08:04] local.INFO: TCP Data received {"connection_id":125609,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d38d6b8012dccb340052a1428001d014b28..."} 
[2026-07-07 21:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d38d6b8012dccb340052a1428001d014b28..."} 
[2026-07-07 21:08:04] local.INFO: Processing buffer {"connection_id":125609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d38d6b8012dccb340052a1428001d014b28..."} 
[2026-07-07 21:08:04] local.INFO: Packet analysis {"connection_id":125609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d38"} 
[2026-07-07 21:08:04] local.INFO: Extracted packet for processing {"connection_id":125609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d38"} 
[2026-07-07 21:08:04] local.INFO: GPS Element Parsed {"raw_longitude":768389952,"raw_latitude":86643752,"longitude_deg":76.8389952,"latitude_deg":8.6643752,"altitude":29,"angle":331,"satellites":40,"speed":22,"hex_longitude":"2dccb340","hex_latitude":"052a1428","is_valid_coordinates":true} 
[2026-07-07 21:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560269056001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341959983232974848,"note":"Value kept but may cause issues"} 
[2026-07-07 21:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3692107247334909952,"note":"Value kept but may cause issues"} 
[2026-07-07 21:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783438563000,"timestamp_ms":1783438563000,"timestamp_seconds":1783438563,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d38d6b8"} 
[2026-07-07 21:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 21:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560269056001,"66":27343,"160":206,"80":36352,"24":22,"16":341959983232974848,"45":-3692107247334909952},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-07-07 21:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560269056001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:08:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-07 21:08:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341959983232974848,"km_value":341959983232974.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3692107247334909952,"description":"Unknown IO ID 45"} 
[2026-07-07 21:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560269056001,"power":27343,"unknown_160":206,"unknown_80":36352,"ignition":22,"odometer":null,"unknown_45":-3692107247334909952}} 
[2026-07-07 21:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":125609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:08:04] local.INFO: GPS data processed {"connection_id":125609,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:08:04] local.INFO: Acknowledgment sent {"connection_id":125609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:08:08] local.INFO: TCP Data received {"connection_id":125610,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:08:08] local.INFO: Processing buffer {"connection_id":125610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:08:08] local.INFO: IMEI packet received {"connection_id":125610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":125610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:08:10] local.INFO: TCP Data received {"connection_id":125610,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:08:10] local.INFO: Processing buffer {"connection_id":125610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:08:10] local.INFO: Packet analysis {"connection_id":125610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:08:10] local.INFO: Extracted packet for processing {"connection_id":125610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:08:10] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560201472001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783438588000,"timestamp_ms":1783438588000,"timestamp_seconds":1783438588,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d393860"} 
[2026-07-07 21:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":177,"data_length":795,"current_offset":136} 
[2026-07-07 21:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125610,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125610,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560201472001,"66":26332,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560201472001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:08:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560201472001,"power":26332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":125610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447787,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:08:10] local.INFO: GPS data processed {"connection_id":125610,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:08:10] local.INFO: Acknowledgment sent {"connection_id":125610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:08:15] local.INFO: TCP Data received {"connection_id":125610,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:08:15] local.INFO: Processing buffer {"connection_id":125610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:08:15] local.INFO: Packet analysis {"connection_id":125610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:08:15] local.INFO: Extracted packet for processing {"connection_id":125610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:08:15] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560201472001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783438588000,"timestamp_ms":1783438588000,"timestamp_seconds":1783438588,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d393860"} 
[2026-07-07 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-07-07 21:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 21:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 21:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125610,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125610,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560201472001,"66":26332,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560201472001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:08:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560201472001,"power":26332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":125610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447788,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:08:15] local.INFO: GPS data processed {"connection_id":125610,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:08:15] local.INFO: Acknowledgment sent {"connection_id":125610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:08:35] local.INFO: TCP Data received {"connection_id":125609,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3928c0012dcca540052a2b68001d01442c..."} 
[2026-07-07 21:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3928c0012dcca540052a2b68001d01442c..."} 
[2026-07-07 21:08:35] local.INFO: Processing buffer {"connection_id":125609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3928c0012dcca540052a2b68001d01442c..."} 
[2026-07-07 21:08:35] local.INFO: Packet analysis {"connection_id":125609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:08:35] local.INFO: Extracted packet for processing {"connection_id":125609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:08:35] local.INFO: GPS Element Parsed {"raw_longitude":768386368,"raw_latitude":86649704,"longitude_deg":76.8386368,"latitude_deg":8.6649704,"altitude":29,"angle":324,"satellites":44,"speed":24,"hex_longitude":"2dcca540","hex_latitude":"052a2b68","is_valid_coordinates":true} 
[2026-07-07 21:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560272128001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341960322535391232,"note":"Value kept but may cause issues"} 
[2026-07-07 21:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3696540478216067072,"note":"Value kept but may cause issues"} 
[2026-07-07 21:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783438584000,"timestamp_ms":1783438584000,"timestamp_seconds":1783438584,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3928c0"} 
[2026-07-07 21:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 21:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560272128001,"66":27332,"160":206,"80":36352,"24":24,"16":341960322535391232,"45":-3696540478216067072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-07-07 21:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560272128001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:08:35] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-07 21:08:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341960322535391232,"km_value":341960322535391.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3696540478216067072,"description":"Unknown IO ID 45"} 
[2026-07-07 21:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560272128001,"power":27332,"unknown_160":206,"unknown_80":36352,"ignition":24,"odometer":null,"unknown_45":-3696540478216067072}} 
[2026-07-07 21:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":125609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:08:35] local.INFO: GPS data processed {"connection_id":125609,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:08:35] local.INFO: Acknowledgment sent {"connection_id":125609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:08:57] local.INFO: TCP Data received {"connection_id":124793,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:08:57] local.INFO: Processing buffer {"connection_id":124793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:08:57] local.INFO: IMEI packet received {"connection_id":124793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":124793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:08:58] local.INFO: TCP Data received {"connection_id":124793,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:08:58] local.INFO: Processing buffer {"connection_id":124793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:08:58] local.INFO: IMEI packet received {"connection_id":124793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":124793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:08:59] local.INFO: TCP Data received {"connection_id":124792,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:08:59] local.INFO: Processing buffer {"connection_id":124792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:08:59] local.INFO: IMEI packet received {"connection_id":124792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":124792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:09:03] local.INFO: TCP Data received {"connection_id":124792,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:09:03] local.INFO: Processing buffer {"connection_id":124792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:09:03] local.INFO: IMEI packet received {"connection_id":124792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":124792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:09:03] local.INFO: TCP Data received {"connection_id":124793,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:09:03] local.INFO: Processing buffer {"connection_id":124793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:09:03] local.INFO: IMEI packet received {"connection_id":124793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":124793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:09:04] local.INFO: TCP Data received {"connection_id":124793,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d394fd0012dcc8fc0052a48f00016014328..."} 
[2026-07-07 21:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d394fd0012dcc8fc0052a48f00016014328..."} 
[2026-07-07 21:09:04] local.INFO: Processing buffer {"connection_id":124793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d394fd0012dcc8fc0052a48f00016014328..."} 
[2026-07-07 21:09:04] local.INFO: Packet analysis {"connection_id":124793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:09:04] local.INFO: Extracted packet for processing {"connection_id":124793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:09:04] local.INFO: GPS Element Parsed {"raw_longitude":768380864,"raw_latitude":86657264,"longitude_deg":76.8380864,"latitude_deg":8.6657264,"altitude":22,"angle":323,"satellites":40,"speed":47,"hex_longitude":"2dcc8fc0","hex_latitude":"052a48f0","is_valid_coordinates":true} 
[2026-07-07 21:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560277504001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341960773506957312,"note":"Value kept but may cause issues"} 
[2026-07-07 21:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3700481127888492544,"note":"Value kept but may cause issues"} 
[2026-07-07 21:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783438594000,"timestamp_ms":1783438594000,"timestamp_seconds":1783438594,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d394fd0"} 
[2026-07-07 21:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 21:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560277504001,"66":27397,"160":206,"80":36352,"24":47,"16":341960773506957312,"45":-3700481127888492544},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-07-07 21:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560277504001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:09:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-07 21:09:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341960773506957312,"km_value":341960773506957.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3700481127888492544,"description":"Unknown IO ID 45"} 
[2026-07-07 21:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560277504001,"power":27397,"unknown_160":206,"unknown_80":36352,"ignition":47,"odometer":null,"unknown_45":-3700481127888492544}} 
[2026-07-07 21:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":124793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:09:04] local.INFO: GPS data processed {"connection_id":124793,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:09:04] local.INFO: Acknowledgment sent {"connection_id":124793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:09:07] local.INFO: TCP Data received {"connection_id":124792,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:09:07] local.INFO: Processing buffer {"connection_id":124792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:09:07] local.INFO: Packet analysis {"connection_id":124792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:09:07] local.INFO: Extracted packet for processing {"connection_id":124792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:09:07] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560201472001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783438588000,"timestamp_ms":1783438588000,"timestamp_seconds":1783438588,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d393860"} 
[2026-07-07 21:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 21:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560201472001,"66":26332,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560201472001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:09:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560201472001,"power":26332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":124792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447791,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:09:07] local.INFO: GPS data processed {"connection_id":124792,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:09:07] local.INFO: Acknowledgment sent {"connection_id":124792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:09:35] local.INFO: TCP Data received {"connection_id":124793,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3b4f88012dcb7b80052b97c8001f012c2b..."} 
[2026-07-07 21:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3b4f88012dcb7b80052b97c8001f012c2b..."} 
[2026-07-07 21:09:35] local.INFO: Processing buffer {"connection_id":124793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3b4f88012dcb7b80052b97c8001f012c2b..."} 
[2026-07-07 21:09:35] local.INFO: Packet analysis {"connection_id":124793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d3b"} 
[2026-07-07 21:09:35] local.INFO: Extracted packet for processing {"connection_id":124793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d3b"} 
[2026-07-07 21:09:35] local.INFO: GPS Element Parsed {"raw_longitude":768310144,"raw_latitude":86742984,"longitude_deg":76.8310144,"latitude_deg":8.6742984,"altitude":31,"angle":300,"satellites":43,"speed":23,"hex_longitude":"2dcb7b80","hex_latitude":"052b97c8","is_valid_coordinates":true} 
[2026-07-07 21:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560312576001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341966365554376704,"note":"Value kept but may cause issues"} 
[2026-07-07 21:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3781405183669168128,"note":"Value kept but may cause issues"} 
[2026-07-07 21:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783438725000,"timestamp_ms":1783438725000,"timestamp_seconds":1783438725,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3b4f88"} 
[2026-07-07 21:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 21:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560312576001,"66":27332,"230":206,"80":36352,"24":23,"16":341966365554376704,"45":-3781405183669168128},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,80,24,16,45]} 
[2026-07-07 21:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560312576001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:09:35] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 21:09:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341966365554376704,"km_value":341966365554376.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3781405183669168128,"description":"Unknown IO ID 45"} 
[2026-07-07 21:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560312576001,"power":27332,"unknown_230":206,"unknown_80":36352,"ignition":23,"odometer":null,"unknown_45":-3781405183669168128}} 
[2026-07-07 21:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":124793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:09:35] local.INFO: GPS data processed {"connection_id":124793,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:09:35] local.INFO: Acknowledgment sent {"connection_id":124793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:09:37] local.INFO: TCP Data received {"connection_id":124792,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:09:37] local.INFO: Processing buffer {"connection_id":124792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:09:37] local.INFO: Packet analysis {"connection_id":124792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:09:37] local.INFO: Extracted packet for processing {"connection_id":124792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:09:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560201472001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783438588000,"timestamp_ms":1783438588000,"timestamp_seconds":1783438588,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d393860"} 
[2026-07-07 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-07-07 21:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 21:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 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-07-07 21:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560201472001,"66":26332,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560201472001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:09:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560201472001,"power":26332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":124792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447793,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:09:37] local.INFO: GPS data processed {"connection_id":124792,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:09:37] local.INFO: Acknowledgment sent {"connection_id":124792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:09:58] local.INFO: TCP Data received {"connection_id":126860,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:09:58] local.INFO: Processing buffer {"connection_id":126860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:09:58] local.INFO: IMEI packet received {"connection_id":126860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":126860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:09:58] local.INFO: TCP Data received {"connection_id":126859,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:09:58] local.INFO: Processing buffer {"connection_id":126859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:09:58] local.INFO: IMEI packet received {"connection_id":126859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":126859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:10:03] local.INFO: TCP Data received {"connection_id":126860,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:10:03] local.INFO: Processing buffer {"connection_id":126860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:10:03] local.INFO: IMEI packet received {"connection_id":126860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":126860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:10:03] local.INFO: TCP Data received {"connection_id":126859,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:10:03] local.INFO: Processing buffer {"connection_id":126859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:10:03] local.INFO: IMEI packet received {"connection_id":126859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":126859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:10:04] local.INFO: TCP Data received {"connection_id":126860,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3b5370012dcb79c0052b9928001f01392b..."} 
[2026-07-07 21:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3b5370012dcb79c0052b9928001f01392b..."} 
[2026-07-07 21:10:04] local.INFO: Processing buffer {"connection_id":126860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3b5370012dcb79c0052b9928001f01392b..."} 
[2026-07-07 21:10:04] local.INFO: Packet analysis {"connection_id":126860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d3b"} 
[2026-07-07 21:10:04] local.INFO: Extracted packet for processing {"connection_id":126860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d3b"} 
[2026-07-07 21:10:04] local.INFO: GPS Element Parsed {"raw_longitude":768309696,"raw_latitude":86743336,"longitude_deg":76.8309696,"latitude_deg":8.6743336,"altitude":31,"angle":313,"satellites":43,"speed":22,"hex_longitude":"2dcb79c0","hex_latitude":"052b9928","is_valid_coordinates":true} 
[2026-07-07 21:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560313600001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341966395619147776,"note":"Value kept but may cause issues"} 
[2026-07-07 21:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3784290302180210688,"note":"Value kept but may cause issues"} 
[2026-07-07 21:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783438726000,"timestamp_ms":1783438726000,"timestamp_seconds":1783438726,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3b5370"} 
[2026-07-07 21:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 21:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560313600001,"66":27332,"230":206,"80":36352,"24":22,"16":341966395619147776,"45":-3784290302180210688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,80,24,16,45]} 
[2026-07-07 21:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560313600001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:10:04] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 21:10:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341966395619147776,"km_value":341966395619147.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3784290302180210688,"description":"Unknown IO ID 45"} 
[2026-07-07 21:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560313600001,"power":27332,"unknown_230":206,"unknown_80":36352,"ignition":22,"odometer":null,"unknown_45":-3784290302180210688}} 
[2026-07-07 21:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":126860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:10:04] local.INFO: GPS data processed {"connection_id":126860,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:10:04] local.INFO: Acknowledgment sent {"connection_id":126860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:10:04] local.INFO: TCP Data received {"connection_id":126859,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:10:04] local.INFO: Processing buffer {"connection_id":126859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:10:04] local.INFO: Packet analysis {"connection_id":126859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:10:04] local.INFO: Extracted packet for processing {"connection_id":126859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:10:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560201472001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783438588000,"timestamp_ms":1783438588000,"timestamp_seconds":1783438588,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d393860"} 
[2026-07-07 21:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 21:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560201472001,"66":26332,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560201472001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:10:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560201472001,"power":26332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":126859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447795,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:10:04] local.INFO: GPS data processed {"connection_id":126859,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:10:04] local.INFO: Acknowledgment sent {"connection_id":126859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:10:35] local.INFO: TCP Data received {"connection_id":126860,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3b6ae0012dcb6e80052ba368001d012d2c..."} 
[2026-07-07 21:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3b6ae0012dcb6e80052ba368001d012d2c..."} 
[2026-07-07 21:10:35] local.INFO: Processing buffer {"connection_id":126860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3b6ae0012dcb6e80052ba368001d012d2c..."} 
[2026-07-07 21:10:35] local.INFO: Packet analysis {"connection_id":126860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d3b"} 
[2026-07-07 21:10:35] local.INFO: Extracted packet for processing {"connection_id":126860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d3b"} 
[2026-07-07 21:10:35] local.INFO: GPS Element Parsed {"raw_longitude":768306816,"raw_latitude":86745960,"longitude_deg":76.8306816,"latitude_deg":8.674596,"altitude":29,"angle":301,"satellites":44,"speed":29,"hex_longitude":"2dcb6e80","hex_latitude":"052ba368","is_valid_coordinates":true} 
[2026-07-07 21:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560313856001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341966584597708800,"note":"Value kept but may cause issues"} 
[2026-07-07 21:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3784782883389364224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783438732000,"timestamp_ms":1783438732000,"timestamp_seconds":1783438732,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3b6ae0"} 
[2026-07-07 21:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:10: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-07-07 21:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 21:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560313856001,"66":27267,"230":206,"80":36352,"24":29,"16":341966584597708800,"45":-3784782883389364224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,80,24,16,45]} 
[2026-07-07 21:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560313856001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:10:35] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 21:10:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341966584597708800,"km_value":341966584597708.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3784782883389364224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560313856001,"power":27267,"unknown_230":206,"unknown_80":36352,"ignition":29,"odometer":null,"unknown_45":-3784782883389364224}} 
[2026-07-07 21:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":126860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:10:35] local.INFO: GPS data processed {"connection_id":126860,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:10:35] local.INFO: Acknowledgment sent {"connection_id":126860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:10:39] local.INFO: TCP Data received {"connection_id":126859,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:10:39] local.INFO: Processing buffer {"connection_id":126859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:10:39] local.INFO: Packet analysis {"connection_id":126859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:10:39] local.INFO: Extracted packet for processing {"connection_id":126859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:10:39] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560201472001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783438588000,"timestamp_ms":1783438588000,"timestamp_seconds":1783438588,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d393860"} 
[2026-07-07 21:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 21:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560201472001,"66":26332,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560201472001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:10:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560201472001,"power":26332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":126859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447797,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:10:39] local.INFO: GPS data processed {"connection_id":126859,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:10:39] local.INFO: Acknowledgment sent {"connection_id":126859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:10:58] local.INFO: TCP Data received {"connection_id":126861,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:10:58] local.INFO: Processing buffer {"connection_id":126861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:10:58] local.INFO: IMEI packet received {"connection_id":126861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":126861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:11:03] local.INFO: TCP Data received {"connection_id":126861,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:11:03] local.INFO: Processing buffer {"connection_id":126861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:11:03] local.INFO: IMEI packet received {"connection_id":126861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":126861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:11:03] local.INFO: TCP Data received {"connection_id":125611,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:11:03] local.INFO: Processing buffer {"connection_id":125611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:11:03] local.INFO: IMEI packet received {"connection_id":125611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":125611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:11:04] local.INFO: TCP Data received {"connection_id":126861,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3b95d8012dcb4c00052bb5780019012b2a..."} 
[2026-07-07 21:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3b95d8012dcb4c00052bb5780019012b2a..."} 
[2026-07-07 21:11:04] local.INFO: Processing buffer {"connection_id":126861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3b95d8012dcb4c00052bb5780019012b2a..."} 
[2026-07-07 21:11:04] local.INFO: Packet analysis {"connection_id":126861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d3b"} 
[2026-07-07 21:11:04] local.INFO: Extracted packet for processing {"connection_id":126861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d3b"} 
[2026-07-07 21:11:04] local.INFO: GPS Element Parsed {"raw_longitude":768297984,"raw_latitude":86750584,"longitude_deg":76.8297984,"latitude_deg":8.6750584,"altitude":25,"angle":299,"satellites":42,"speed":43,"hex_longitude":"2dcb4c00","hex_latitude":"052bb578","is_valid_coordinates":true} 
[2026-07-07 21:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560315392001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341967061339078656,"note":"Value kept but may cause issues"} 
[2026-07-07 21:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3787949476876687360,"note":"Value kept but may cause issues"} 
[2026-07-07 21:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783438743000,"timestamp_ms":1783438743000,"timestamp_seconds":1783438743,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3b95d8"} 
[2026-07-07 21:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 21:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560315392001,"66":27397,"230":206,"80":36352,"24":43,"16":341967061339078656,"45":-3787949476876687360},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,80,24,16,45]} 
[2026-07-07 21:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560315392001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:11:04] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 21:11:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341967061339078656,"km_value":341967061339078.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3787949476876687360,"description":"Unknown IO ID 45"} 
[2026-07-07 21:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560315392001,"power":27397,"unknown_230":206,"unknown_80":36352,"ignition":43,"odometer":null,"unknown_45":-3787949476876687360}} 
[2026-07-07 21:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":126861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:11:04] local.INFO: GPS data processed {"connection_id":126861,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:11:04] local.INFO: Acknowledgment sent {"connection_id":126861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:11:08] local.INFO: TCP Data received {"connection_id":125611,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:11:08] local.INFO: Processing buffer {"connection_id":125611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:11:08] local.INFO: IMEI packet received {"connection_id":125611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":125611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:11:09] local.INFO: TCP Data received {"connection_id":125611,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:11:09] local.INFO: Processing buffer {"connection_id":125611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:11:09] local.INFO: Packet analysis {"connection_id":125611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:11:09] local.INFO: Extracted packet for processing {"connection_id":125611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:11:09] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560201472001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783438588000,"timestamp_ms":1783438588000,"timestamp_seconds":1783438588,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d393860"} 
[2026-07-07 21:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 21:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560201472001,"66":26332,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560201472001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:11:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560201472001,"power":26332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":125611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447799,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:11:09] local.INFO: GPS data processed {"connection_id":125611,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:11:09] local.INFO: Acknowledgment sent {"connection_id":125611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:11:14] local.INFO: TCP Data received {"connection_id":125611,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:11:14] local.INFO: Processing buffer {"connection_id":125611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:11:14] local.INFO: Packet analysis {"connection_id":125611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:11:14] local.INFO: Extracted packet for processing {"connection_id":125611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:11:14] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560201472001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783438588000,"timestamp_ms":1783438588000,"timestamp_seconds":1783438588,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d393860"} 
[2026-07-07 21:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 21:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560201472001,"66":26332,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560201472001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:11:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560201472001,"power":26332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":125611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447800,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:11:14] local.INFO: GPS data processed {"connection_id":125611,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:11:14] local.INFO: Acknowledgment sent {"connection_id":125611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:11:35] local.INFO: TCP Data received {"connection_id":126861,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3bb518012dcb2d40052bca58001601332d..."} 
[2026-07-07 21:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3bb518012dcb2d40052bca58001601332d..."} 
[2026-07-07 21:11:35] local.INFO: Processing buffer {"connection_id":126861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3bb518012dcb2d40052bca58001601332d..."} 
[2026-07-07 21:11:35] local.INFO: Packet analysis {"connection_id":126861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d3b"} 
[2026-07-07 21:11:35] local.INFO: Extracted packet for processing {"connection_id":126861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d3b"} 
[2026-07-07 21:11:35] local.INFO: GPS Element Parsed {"raw_longitude":768290112,"raw_latitude":86755928,"longitude_deg":76.8290112,"latitude_deg":8.6755928,"altitude":22,"angle":307,"satellites":45,"speed":49,"hex_longitude":"2dcb2d40","hex_latitude":"052bca58","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560318208001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341967520900579328,"note":"Value kept but may cause issues"} 
[2026-07-07 21:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3797660363572021248,"note":"Value kept but may cause issues"} 
[2026-07-07 21:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783438751000,"timestamp_ms":1783438751000,"timestamp_seconds":1783438751,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3bb518"} 
[2026-07-07 21:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 21:11: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-07-07 21: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-07-07 21:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560318208001,"66":27310,"230":206,"80":36352,"24":49,"16":341967520900579328,"45":-3797660363572021248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,80,24,16,45]} 
[2026-07-07 21:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560318208001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:11:35] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-07 21:11:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341967520900579328,"km_value":341967520900579.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3797660363572021248,"description":"Unknown IO ID 45"} 
[2026-07-07 21:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560318208001,"power":27310,"unknown_230":206,"unknown_80":36352,"ignition":49,"odometer":null,"unknown_45":-3797660363572021248}} 
[2026-07-07 21:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":126861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:11:35] local.INFO: GPS data processed {"connection_id":126861,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:11:35] local.INFO: Acknowledgment sent {"connection_id":126861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:11:58] local.INFO: TCP Data received {"connection_id":124794,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:11:58] local.INFO: Processing buffer {"connection_id":124794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:11:58] local.INFO: IMEI packet received {"connection_id":124794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":124794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:12:03] local.INFO: TCP Data received {"connection_id":125612,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:12:03] local.INFO: Processing buffer {"connection_id":125612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:12:03] local.INFO: IMEI packet received {"connection_id":125612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":125612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:12:03] local.INFO: TCP Data received {"connection_id":124794,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:12:03] local.INFO: Processing buffer {"connection_id":124794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:12:03] local.INFO: IMEI packet received {"connection_id":124794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":124794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:12:04] local.INFO: TCP Data received {"connection_id":124794,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:12:04] local.INFO: Processing buffer {"connection_id":124794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d393860012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:12:04] local.INFO: Packet analysis {"connection_id":124794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:12:04] local.INFO: Extracted packet for processing {"connection_id":124794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d39"} 
[2026-07-07 21:12:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560201472001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783438588000,"timestamp_ms":1783438588000,"timestamp_seconds":1783438588,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d393860"} 
[2026-07-07 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-07-07 21:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 21:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 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-07-07 21:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560201472001,"66":26332,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560201472001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:12:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560201472001,"power":26332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":124794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447802,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:12:04] local.INFO: GPS data processed {"connection_id":124794,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:12:04] local.INFO: Acknowledgment sent {"connection_id":124794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:12:05] local.INFO: TCP Data received {"connection_id":125612,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:12:05] local.INFO: Processing buffer {"connection_id":125612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:12:05] local.INFO: IMEI packet received {"connection_id":125612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":125612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:12:05] local.INFO: TCP Data received {"connection_id":125612,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3d7268012dca77c0052d1158002100012c..."} 
[2026-07-07 21:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3d7268012dca77c0052d1158002100012c..."} 
[2026-07-07 21:12:05] local.INFO: Processing buffer {"connection_id":125612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3d7268012dca77c0052d1158002100012c..."} 
[2026-07-07 21:12:05] local.INFO: Packet analysis {"connection_id":125612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:12:05] local.INFO: Extracted packet for processing {"connection_id":125612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:12:05] local.INFO: GPS Element Parsed {"raw_longitude":768243648,"raw_latitude":86839640,"longitude_deg":76.8243648,"latitude_deg":8.683964,"altitude":33,"angle":1,"satellites":44,"speed":21,"hex_longitude":"2dca77c0","hex_latitude":"052d1158","is_valid_coordinates":true} 
[2026-07-07 21:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560346624001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341972421458264064,"note":"Value kept but may cause issues"} 
[2026-07-07 21:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3857192321125844992,"note":"Value kept but may cause issues"} 
[2026-07-07 21:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783438865000,"timestamp_ms":1783438865000,"timestamp_seconds":1783438865,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3d7268"} 
[2026-07-07 21:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 21:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560346624001,"66":27376,"229":206,"80":36352,"24":21,"16":341972421458264064,"45":-3857192321125844992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-07-07 21:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560346624001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:12:05] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-07 21:12:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341972421458264064,"km_value":341972421458264.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3857192321125844992,"description":"Unknown IO ID 45"} 
[2026-07-07 21:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560346624001,"power":27376,"unknown_229":206,"unknown_80":36352,"ignition":21,"odometer":null,"unknown_45":-3857192321125844992}} 
[2026-07-07 21:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":125612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:12:06] local.INFO: GPS data processed {"connection_id":125612,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:12:06] local.INFO: Acknowledgment sent {"connection_id":125612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:12:08] local.INFO: TCP Data received {"connection_id":125612,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3da148012dca7800052d33e8002301672b..."} 
[2026-07-07 21:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3da148012dca7800052d33e8002301672b..."} 
[2026-07-07 21:12:08] local.INFO: Processing buffer {"connection_id":125612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3da148012dca7800052d33e8002301672b..."} 
[2026-07-07 21:12:08] local.INFO: Packet analysis {"connection_id":125612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:12:08] local.INFO: Extracted packet for processing {"connection_id":125612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:12:08] local.INFO: GPS Element Parsed {"raw_longitude":768243712,"raw_latitude":86848488,"longitude_deg":76.8243712,"latitude_deg":8.6848488,"altitude":35,"angle":359,"satellites":43,"speed":37,"hex_longitude":"2dca7800","hex_latitude":"052d33e8","is_valid_coordinates":true} 
[2026-07-07 21:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560349440001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341972850954993664,"note":"Value kept but may cause issues"} 
[2026-07-07 21:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3857403427356059648,"note":"Value kept but may cause issues"} 
[2026-07-07 21:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783438877000,"timestamp_ms":1783438877000,"timestamp_seconds":1783438877,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3da148"} 
[2026-07-07 21:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:12: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-07-07 21:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 21:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560349440001,"66":27484,"229":206,"80":36352,"24":37,"16":341972850954993664,"45":-3857403427356059648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-07-07 21:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560349440001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:12:08] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-07 21:12:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341972850954993664,"km_value":341972850954993.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3857403427356059648,"description":"Unknown IO ID 45"} 
[2026-07-07 21:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560349440001,"power":27484,"unknown_229":206,"unknown_80":36352,"ignition":37,"odometer":null,"unknown_45":-3857403427356059648}} 
[2026-07-07 21:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":125612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:12:08] local.INFO: GPS data processed {"connection_id":125612,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:12:08] local.INFO: Acknowledgment sent {"connection_id":125612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:12:35] local.INFO: TCP Data received {"connection_id":124794,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:12:35] local.INFO: Processing buffer {"connection_id":124794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:12:35] local.INFO: Packet analysis {"connection_id":124794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:12:35] local.INFO: Extracted packet for processing {"connection_id":124794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:12:35] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560278528001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783438889000,"timestamp_ms":1783438889000,"timestamp_seconds":1783438889,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3dd028"} 
[2026-07-07 21:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 21:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560278528001,"66":26006,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560278528001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:12:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560278528001,"power":26006,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":124794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447805,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:12:35] local.INFO: GPS data processed {"connection_id":124794,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:12:35] local.INFO: Acknowledgment sent {"connection_id":124794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:13:03] local.INFO: TCP Data received {"connection_id":124795,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:13:03] local.INFO: Processing buffer {"connection_id":124795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:13:03] local.INFO: IMEI packet received {"connection_id":124795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":124795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:13:04] local.INFO: TCP Data received {"connection_id":125612,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3dc858012dca7840052d5a10002200022b..."} 
[2026-07-07 21:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3dc858012dca7840052d5a10002200022b..."} 
[2026-07-07 21:13:04] local.INFO: Processing buffer {"connection_id":125612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3dc858012dca7840052d5a10002200022b..."} 
[2026-07-07 21:13:04] local.INFO: Packet analysis {"connection_id":125612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:13:04] local.INFO: Extracted packet for processing {"connection_id":125612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:13:04] local.INFO: GPS Element Parsed {"raw_longitude":768243776,"raw_latitude":86858256,"longitude_deg":76.8243776,"latitude_deg":8.6858256,"altitude":34,"angle":2,"satellites":43,"speed":37,"hex_longitude":"2dca7840","hex_latitude":"052d5a10","is_valid_coordinates":true} 
[2026-07-07 21:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560352512001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341973323401396224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3857333058609616896,"note":"Value kept but may cause issues"} 
[2026-07-07 21:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783438887000,"timestamp_ms":1783438887000,"timestamp_seconds":1783438887,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3dc858"} 
[2026-07-07 21:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 21:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560352512001,"66":27104,"229":206,"80":36352,"24":37,"16":341973323401396224,"45":-3857333058609616896},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-07-07 21:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560352512001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:13:04] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-07 21:13:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341973323401396224,"km_value":341973323401396.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3857333058609616896,"description":"Unknown IO ID 45"} 
[2026-07-07 21:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560352512001,"power":27104,"unknown_229":206,"unknown_80":36352,"ignition":37,"odometer":null,"unknown_45":-3857333058609616896}} 
[2026-07-07 21:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":125612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:13:04] local.INFO: GPS data processed {"connection_id":125612,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:13:04] local.INFO: Acknowledgment sent {"connection_id":125612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:13:08] local.INFO: TCP Data received {"connection_id":124796,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:13:08] local.INFO: Processing buffer {"connection_id":124796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:13:08] local.INFO: IMEI packet received {"connection_id":124796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":124796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:13:08] local.INFO: TCP Data received {"connection_id":124795,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:13:08] local.INFO: Processing buffer {"connection_id":124795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:13:08] local.INFO: IMEI packet received {"connection_id":124795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":124795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:13:09] local.INFO: TCP Data received {"connection_id":124796,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:13:09] local.INFO: Processing buffer {"connection_id":124796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:13:09] local.INFO: IMEI packet received {"connection_id":124796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":124796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:13:09] local.INFO: TCP Data received {"connection_id":124795,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:13:09] local.INFO: Processing buffer {"connection_id":124795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:13:09] local.INFO: Packet analysis {"connection_id":124795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:13:09] local.INFO: Extracted packet for processing {"connection_id":124795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:13:09] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560278528001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783438889000,"timestamp_ms":1783438889000,"timestamp_seconds":1783438889,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3dd028"} 
[2026-07-07 21:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 21:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560278528001,"66":26006,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560278528001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:13:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560278528001,"power":26006,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":124795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447807,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:13:09] local.INFO: GPS data processed {"connection_id":124795,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:13:09] local.INFO: Acknowledgment sent {"connection_id":124795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:13:13] local.INFO: TCP Data received {"connection_id":124796,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:13:13] local.INFO: Processing buffer {"connection_id":124796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:13:13] local.INFO: IMEI packet received {"connection_id":124796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":124796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:13:14] local.INFO: TCP Data received {"connection_id":124796,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3df350012dca7880052d7e70002401672c..."} 
[2026-07-07 21:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3df350012dca7880052d7e70002401672c..."} 
[2026-07-07 21:13:14] local.INFO: Processing buffer {"connection_id":124796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3df350012dca7880052d7e70002401672c..."} 
[2026-07-07 21:13:14] local.INFO: Packet analysis {"connection_id":124796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:13:14] local.INFO: Extracted packet for processing {"connection_id":124796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:13:14] local.INFO: GPS Element Parsed {"raw_longitude":768243840,"raw_latitude":86867568,"longitude_deg":76.824384,"latitude_deg":8.6867568,"altitude":36,"angle":359,"satellites":44,"speed":32,"hex_longitude":"2dca7880","hex_latitude":"052d7e70","is_valid_coordinates":true} 
[2026-07-07 21:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560355072001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341973774372962304,"note":"Value kept but may cause issues"} 
[2026-07-07 21:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3857262689862938624,"note":"Value kept but may cause issues"} 
[2026-07-07 21:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783438898000,"timestamp_ms":1783438898000,"timestamp_seconds":1783438898,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3df350"} 
[2026-07-07 21:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:13: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-07-07 21: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 21:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560355072001,"66":27376,"229":206,"80":36352,"24":32,"16":341973774372962304,"45":-3857262689862938624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-07-07 21:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560355072001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:13:14] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-07 21:13:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341973774372962304,"km_value":341973774372962.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3857262689862938624,"description":"Unknown IO ID 45"} 
[2026-07-07 21:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560355072001,"power":27376,"unknown_229":206,"unknown_80":36352,"ignition":32,"odometer":null,"unknown_45":-3857262689862938624}} 
[2026-07-07 21:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":124796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:13:14] local.INFO: GPS data processed {"connection_id":124796,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:13:14] local.INFO: Acknowledgment sent {"connection_id":124796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:13:14] local.INFO: TCP Data received {"connection_id":124795,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:13:14] local.INFO: Processing buffer {"connection_id":124795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:13:14] local.INFO: Packet analysis {"connection_id":124795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:13:14] local.INFO: Extracted packet for processing {"connection_id":124795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:13:14] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560278528001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783438889000,"timestamp_ms":1783438889000,"timestamp_seconds":1783438889,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3dd028"} 
[2026-07-07 21:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 21:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560278528001,"66":26006,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560278528001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:13:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560278528001,"power":26006,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":124795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447809,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:13:14] local.INFO: GPS data processed {"connection_id":124795,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:13:14] local.INFO: Acknowledgment sent {"connection_id":124795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:13:59] local.INFO: TCP Data received {"connection_id":124887,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:13:59] local.INFO: Processing buffer {"connection_id":124887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:13:59] local.INFO: IMEI packet received {"connection_id":124887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":124887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:14:03] local.INFO: TCP Data received {"connection_id":124887,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:14:03] local.INFO: Processing buffer {"connection_id":124887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:14:03] local.INFO: IMEI packet received {"connection_id":124887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":124887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:14:04] local.INFO: TCP Data received {"connection_id":124887,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:14:04] local.INFO: Processing buffer {"connection_id":124887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:14:04] local.INFO: Packet analysis {"connection_id":124887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:14:04] local.INFO: Extracted packet for processing {"connection_id":124887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:14:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560278528001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783438889000,"timestamp_ms":1783438889000,"timestamp_seconds":1783438889,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3dd028"} 
[2026-07-07 21:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 21:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560278528001,"66":26006,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560278528001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:14:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560278528001,"power":26006,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":124887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447810,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:14:04] local.INFO: GPS data processed {"connection_id":124887,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:14:04] local.INFO: Acknowledgment sent {"connection_id":124887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:14:08] local.INFO: TCP Data received {"connection_id":124887,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:14:08] local.INFO: Processing buffer {"connection_id":124887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:14:08] local.INFO: Packet analysis {"connection_id":124887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:14:08] local.INFO: Extracted packet for processing {"connection_id":124887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:14:08] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560278528001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783438889000,"timestamp_ms":1783438889000,"timestamp_seconds":1783438889,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3dd028"} 
[2026-07-07 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-07-07 21:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 21:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 21:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560278528001,"66":26006,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560278528001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:14:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560278528001,"power":26006,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":124887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447811,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:14:08] local.INFO: GPS data processed {"connection_id":124887,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:14:08] local.INFO: Acknowledgment sent {"connection_id":124887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:14:08] local.INFO: TCP Data received {"connection_id":124888,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:14:08] local.INFO: Processing buffer {"connection_id":124888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:14:08] local.INFO: IMEI packet received {"connection_id":124888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":124888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:14:20] local.INFO: TCP Data received {"connection_id":124888,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:14:20] local.INFO: Processing buffer {"connection_id":124888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:14:20] local.INFO: IMEI packet received {"connection_id":124888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":124888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:14:21] local.INFO: TCP Data received {"connection_id":124888,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3f0c90012dc9dd00052e7d280017012f29..."} 
[2026-07-07 21:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3f0c90012dc9dd00052e7d280017012f29..."} 
[2026-07-07 21:14:21] local.INFO: Processing buffer {"connection_id":124888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3f0c90012dc9dd00052e7d280017012f29..."} 
[2026-07-07 21:14:21] local.INFO: Packet analysis {"connection_id":124888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d3f"} 
[2026-07-07 21:14:21] local.INFO: Extracted packet for processing {"connection_id":124888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d3f"} 
[2026-07-07 21:14:21] local.INFO: GPS Element Parsed {"raw_longitude":768204032,"raw_latitude":86932776,"longitude_deg":76.8204032,"latitude_deg":8.6932776,"altitude":23,"angle":303,"satellites":41,"speed":50,"hex_longitude":"2dc9dd00","hex_latitude":"052e7d28","is_valid_coordinates":true} 
[2026-07-07 21:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560374528001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341977566829084672,"note":"Value kept but may cause issues"} 
[2026-07-07 21:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3892587799422554112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783438970000,"timestamp_ms":1783438970000,"timestamp_seconds":1783438970,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3f0c90"} 
[2026-07-07 21:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-07 21:14: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-07-07 21:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560374528001,"66":27213,"32":206,"80":36352,"24":50,"16":341977566829084672,"45":-3892587799422554112},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,80,24,16,45]} 
[2026-07-07 21:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560374528001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:14:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-07 21:14:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341977566829084672,"km_value":341977566829084.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3892587799422554112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560374528001,"power":27213,"unknown_32":206,"unknown_80":36352,"ignition":50,"odometer":null,"unknown_45":-3892587799422554112}} 
[2026-07-07 21:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":124888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:14:21] local.INFO: GPS data processed {"connection_id":124888,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:14:21] local.INFO: Acknowledgment sent {"connection_id":124888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:14:21] local.INFO: TCP Data received {"connection_id":124888,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3f2018012dc9cc00052e8aa80019013b2a..."} 
[2026-07-07 21:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3f2018012dc9cc00052e8aa80019013b2a..."} 
[2026-07-07 21:14:22] local.INFO: Processing buffer {"connection_id":124888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3f2018012dc9cc00052e8aa80019013b2a..."} 
[2026-07-07 21:14:22] local.INFO: Packet analysis {"connection_id":124888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d3f"} 
[2026-07-07 21:14:22] local.INFO: Extracted packet for processing {"connection_id":124888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d3f"} 
[2026-07-07 21:14:22] local.INFO: GPS Element Parsed {"raw_longitude":768199680,"raw_latitude":86936232,"longitude_deg":76.819968,"latitude_deg":8.6936232,"altitude":25,"angle":315,"satellites":42,"speed":39,"hex_longitude":"2dc9cc00","hex_latitude":"052e8aa8","is_valid_coordinates":true} 
[2026-07-07 21:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560376320001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341977837412024320,"note":"Value kept but may cause issues"} 
[2026-07-07 21:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3900961679978190848,"note":"Value kept but may cause issues"} 
[2026-07-07 21:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783438975000,"timestamp_ms":1783438975000,"timestamp_seconds":1783438975,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3f2018"} 
[2026-07-07 21:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-07 21:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560376320001,"66":27343,"32":206,"80":36352,"24":39,"16":341977837412024320,"45":-3900961679978190848},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,80,24,16,45]} 
[2026-07-07 21:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560376320001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:14:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-07 21:14:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341977837412024320,"km_value":341977837412024.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3900961679978190848,"description":"Unknown IO ID 45"} 
[2026-07-07 21:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560376320001,"power":27343,"unknown_32":206,"unknown_80":36352,"ignition":39,"odometer":null,"unknown_45":-3900961679978190848}} 
[2026-07-07 21:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":124888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:14:22] local.INFO: GPS data processed {"connection_id":124888,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:14:22] local.INFO: Acknowledgment sent {"connection_id":124888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:14:40] local.INFO: TCP Data received {"connection_id":124887,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:14:40] local.INFO: Processing buffer {"connection_id":124887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:14:40] local.INFO: Packet analysis {"connection_id":124887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:14:40] local.INFO: Extracted packet for processing {"connection_id":124887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:14:40] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560278528001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783438889000,"timestamp_ms":1783438889000,"timestamp_seconds":1783438889,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3dd028"} 
[2026-07-07 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-07-07 21:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 21:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 21:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560278528001,"66":26006,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560278528001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:14:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560278528001,"power":26006,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":124887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447814,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:14:40] local.INFO: GPS data processed {"connection_id":124887,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:14:40] local.INFO: Acknowledgment sent {"connection_id":124887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:14:56] local.INFO: TCP Data received {"connection_id":124797,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:14:56] local.INFO: Processing buffer {"connection_id":124797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:14:56] local.INFO: IMEI packet received {"connection_id":124797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":124797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:14:58] local.INFO: TCP Data received {"connection_id":124797,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:14:58] local.INFO: Processing buffer {"connection_id":124797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:14:58] local.INFO: IMEI packet received {"connection_id":124797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":124797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:14:58] local.INFO: TCP Data received {"connection_id":124798,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:14:58] local.INFO: Processing buffer {"connection_id":124798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:14:58] local.INFO: IMEI packet received {"connection_id":124798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":124798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:14:59] local.INFO: TCP Data received {"connection_id":124797,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:14:59] local.INFO: Processing buffer {"connection_id":124797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:14:59] local.INFO: IMEI packet received {"connection_id":124797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":124797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:15:01] local.INFO: TCP Data received {"connection_id":124797,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:15:01] local.INFO: Processing buffer {"connection_id":124797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:15:01] local.INFO: IMEI packet received {"connection_id":124797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":124797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:15:02] local.INFO: TCP Data received {"connection_id":124797,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3f3b70012dc9bc80052e9fb8001a01462b..."} 
[2026-07-07 21:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3f3b70012dc9bc80052e9fb8001a01462b..."} 
[2026-07-07 21:15:02] local.INFO: Processing buffer {"connection_id":124797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3f3b70012dc9bc80052e9fb8001a01462b..."} 
[2026-07-07 21:15:02] local.INFO: Packet analysis {"connection_id":124797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d3f"} 
[2026-07-07 21:15:02] local.INFO: Extracted packet for processing {"connection_id":124797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d3f"} 
[2026-07-07 21:15:02] local.INFO: GPS Element Parsed {"raw_longitude":768195712,"raw_latitude":86941624,"longitude_deg":76.8195712,"latitude_deg":8.6941624,"altitude":26,"angle":326,"satellites":43,"speed":39,"hex_longitude":"2dc9bc80","hex_latitude":"052e9fb8","is_valid_coordinates":true} 
[2026-07-07 21:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560377600001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341978159534571520,"note":"Value kept but may cause issues"} 
[2026-07-07 21:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3905746754581387264,"note":"Value kept but may cause issues"} 
[2026-07-07 21:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783438982000,"timestamp_ms":1783438982000,"timestamp_seconds":1783438982,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3f3b70"} 
[2026-07-07 21:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 21:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560377600001,"66":27397,"32":206,"80":36352,"24":39,"16":341978159534571520,"45":-3905746754581387264},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,80,24,16,45]} 
[2026-07-07 21:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560377600001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:15:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-07 21:15:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-07-07 21:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341978159534571520,"km_value":341978159534571.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3905746754581387264,"description":"Unknown IO ID 45"} 
[2026-07-07 21:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560377600001,"power":27397,"unknown_32":206,"unknown_80":36352,"ignition":39,"odometer":null,"unknown_45":-3905746754581387264}} 
[2026-07-07 21:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":124797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:15:02] local.INFO: GPS data processed {"connection_id":124797,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:15:02] local.INFO: Acknowledgment sent {"connection_id":124797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:15:04] local.INFO: TCP Data received {"connection_id":124798,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:15:04] local.INFO: Processing buffer {"connection_id":124798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:15:04] local.INFO: IMEI packet received {"connection_id":124798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":124798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:15:12] local.INFO: TCP Data received {"connection_id":124798,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:15:12] local.INFO: Processing buffer {"connection_id":124798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d3dd028012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:15:12] local.INFO: Packet analysis {"connection_id":124798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:15:12] local.INFO: Extracted packet for processing {"connection_id":124798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d3d"} 
[2026-07-07 21:15:12] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560278528001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783438889000,"timestamp_ms":1783438889000,"timestamp_seconds":1783438889,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d3dd028"} 
[2026-07-07 21:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-07 21:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560278528001,"66":26006,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560278528001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:15:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560278528001,"power":26006,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":124798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447816,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:15:12] local.INFO: GPS data processed {"connection_id":124798,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:15:12] local.INFO: Acknowledgment sent {"connection_id":124798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:15:33] local.INFO: TCP Data received {"connection_id":124797,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d40ba40012dc8d480052f9c18002300002a..."} 
[2026-07-07 21:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d40ba40012dc8d480052f9c18002300002a..."} 
[2026-07-07 21:15:33] local.INFO: Processing buffer {"connection_id":124797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d40ba40012dc8d480052f9c18002300002a..."} 
[2026-07-07 21:15:33] local.INFO: Packet analysis {"connection_id":124797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d40"} 
[2026-07-07 21:15:33] local.INFO: Extracted packet for processing {"connection_id":124797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d40"} 
[2026-07-07 21:15:33] local.INFO: GPS Element Parsed {"raw_longitude":768136320,"raw_latitude":87006232,"longitude_deg":76.813632,"latitude_deg":8.7006232,"altitude":35,"angle":0,"satellites":42,"speed":47,"hex_longitude":"2dc8d480","hex_latitude":"052f9c18","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560402432001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341982819574087680,"note":"Value kept but may cause issues"} 
[2026-07-07 21:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3975200705069129728,"note":"Value kept but may cause issues"} 
[2026-07-07 21:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783439080000,"timestamp_ms":1783439080000,"timestamp_seconds":1783439080,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d40ba40"} 
[2026-07-07 21:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 21:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21: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-07-07 21:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560402432001,"66":27267,"10":206,"80":35072,"24":47,"16":341982819574087680,"45":-3975200705069129728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-07-07 21:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560402432001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:15:33] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-07 21:15:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341982819574087680,"km_value":341982819574087.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3975200705069129728,"description":"Unknown IO ID 45"} 
[2026-07-07 21:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560402432001,"power":27267,"unknown_10":206,"unknown_80":35072,"ignition":47,"odometer":null,"unknown_45":-3975200705069129728}} 
[2026-07-07 21:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":124797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:15:33] local.INFO: GPS data processed {"connection_id":124797,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:15:33] local.INFO: Acknowledgment sent {"connection_id":124797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:15:58] local.INFO: TCP Data received {"connection_id":124799,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:15:58] local.INFO: Processing buffer {"connection_id":124799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:15:58] local.INFO: IMEI packet received {"connection_id":124799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":124799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:15:59] local.INFO: TCP Data received {"connection_id":125613,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:15:59] local.INFO: Processing buffer {"connection_id":125613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:15:59] local.INFO: IMEI packet received {"connection_id":125613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":125613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:16:00] local.INFO: TCP Data received {"connection_id":124799,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:16:00] local.INFO: Processing buffer {"connection_id":124799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:16:00] local.INFO: IMEI packet received {"connection_id":124799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":124799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:16:03] local.INFO: TCP Data received {"connection_id":124799,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:16:03] local.INFO: Processing buffer {"connection_id":124799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:16:03] local.INFO: IMEI packet received {"connection_id":124799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":124799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:16:05] local.INFO: TCP Data received {"connection_id":124799,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d40cdc8012dc8d6c0052fb3d00021000c2b..."} 
[2026-07-07 21:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d40cdc8012dc8d6c0052fb3d00021000c2b..."} 
[2026-07-07 21:16:05] local.INFO: Processing buffer {"connection_id":124799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d40cdc8012dc8d6c0052fb3d00021000c2b..."} 
[2026-07-07 21:16:05] local.INFO: Packet analysis {"connection_id":124799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d40"} 
[2026-07-07 21:16:05] local.INFO: Extracted packet for processing {"connection_id":124799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d40"} 
[2026-07-07 21:16:05] local.INFO: GPS Element Parsed {"raw_longitude":768136896,"raw_latitude":87012304,"longitude_deg":76.8136896,"latitude_deg":8.7012304,"altitude":33,"angle":12,"satellites":43,"speed":49,"hex_longitude":"2dc8d6c0","hex_latitude":"052fb3d0","is_valid_coordinates":true} 
[2026-07-07 21:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560404480001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341983115926831104,"note":"Value kept but may cause issues"} 
[2026-07-07 21:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3975411811299354624,"note":"Value kept but may cause issues"} 
[2026-07-07 21:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783439085000,"timestamp_ms":1783439085000,"timestamp_seconds":1783439085,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d40cdc8"} 
[2026-07-07 21:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 21:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560404480001,"66":27267,"10":206,"80":35072,"24":49,"16":341983115926831104,"45":-3975411811299354624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-07-07 21:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560404480001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:16:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-07 21:16:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341983115926831104,"km_value":341983115926831.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3975411811299354624,"description":"Unknown IO ID 45"} 
[2026-07-07 21:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560404480001,"power":27267,"unknown_10":206,"unknown_80":35072,"ignition":49,"odometer":null,"unknown_45":-3975411811299354624}} 
[2026-07-07 21:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":124799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:16:05] local.INFO: GPS data processed {"connection_id":124799,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:16:05] local.INFO: Acknowledgment sent {"connection_id":124799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:16:22] local.INFO: TCP Data received {"connection_id":125613,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:16:22] local.INFO: Processing buffer {"connection_id":125613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:16:22] local.INFO: IMEI packet received {"connection_id":125613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":125613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:16:23] local.INFO: TCP Data received {"connection_id":125613,"ip":"117.224.129.116","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 21:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125613,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 21:16:23] local.INFO: Processing buffer {"connection_id":125613,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 21:16:23] local.INFO: IMEI packet received {"connection_id":125613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":125613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:16:36] local.INFO: TCP Data received {"connection_id":124799,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d40e150012dc8de40052fcb08001e00172c..."} 
[2026-07-07 21:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d40e150012dc8de40052fcb08001e00172c..."} 
[2026-07-07 21:16:36] local.INFO: Processing buffer {"connection_id":124799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d40e150012dc8de40052fcb08001e00172c..."} 
[2026-07-07 21:16:36] local.INFO: Packet analysis {"connection_id":124799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d40"} 
[2026-07-07 21:16:36] local.INFO: Extracted packet for processing {"connection_id":124799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d40"} 
[2026-07-07 21:16:36] local.INFO: GPS Element Parsed {"raw_longitude":768138816,"raw_latitude":87018248,"longitude_deg":76.8138816,"latitude_deg":8.7018248,"altitude":30,"angle":23,"satellites":44,"speed":50,"hex_longitude":"2dc8de40","hex_latitude":"052fcb08","is_valid_coordinates":true} 
[2026-07-07 21:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560405760001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341983420869509120,"note":"Value kept but may cause issues"} 
[2026-07-07 21:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3974778492600201216,"note":"Value kept but may cause issues"} 
[2026-07-07 21:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783439090000,"timestamp_ms":1783439090000,"timestamp_seconds":1783439090,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d40e150"} 
[2026-07-07 21:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 21:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560405760001,"66":27463,"10":206,"80":35072,"24":50,"16":341983420869509120,"45":-3974778492600201216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-07-07 21:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560405760001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:16:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-07 21:16:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341983420869509120,"km_value":341983420869509.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3974778492600201216,"description":"Unknown IO ID 45"} 
[2026-07-07 21:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560405760001,"power":27463,"unknown_10":206,"unknown_80":35072,"ignition":50,"odometer":null,"unknown_45":-3974778492600201216}} 
[2026-07-07 21:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":124799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:16:36] local.INFO: GPS data processed {"connection_id":124799,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:16:36] local.INFO: Acknowledgment sent {"connection_id":124799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:16:58] local.INFO: TCP Data received {"connection_id":124889,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:16:58] local.INFO: Processing buffer {"connection_id":124889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:16:58] local.INFO: IMEI packet received {"connection_id":124889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":124889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:17:03] local.INFO: TCP Data received {"connection_id":124889,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:17:03] local.INFO: Processing buffer {"connection_id":124889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:17:03] local.INFO: IMEI packet received {"connection_id":124889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":124889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:17:04] local.INFO: TCP Data received {"connection_id":124889,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d40fca8012dc8ed00052fea60001c00182c..."} 
[2026-07-07 21:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d40fca8012dc8ed00052fea60001c00182c..."} 
[2026-07-07 21:17:04] local.INFO: Processing buffer {"connection_id":124889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d40fca8012dc8ed00052fea60001c00182c..."} 
[2026-07-07 21:17:04] local.INFO: Packet analysis {"connection_id":124889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d40"} 
[2026-07-07 21:17:04] local.INFO: Extracted packet for processing {"connection_id":124889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d40"} 
[2026-07-07 21:17:04] local.INFO: GPS Element Parsed {"raw_longitude":768142592,"raw_latitude":87026272,"longitude_deg":76.8142592,"latitude_deg":8.7026272,"altitude":28,"angle":24,"satellites":44,"speed":48,"hex_longitude":"2dc8ed00","hex_latitude":"052fea60","is_valid_coordinates":true} 
[2026-07-07 21:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560407040001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341983850366238720,"note":"Value kept but may cause issues"} 
[2026-07-07 21:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3972667430273349632,"note":"Value kept but may cause issues"} 
[2026-07-07 21:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783439097000,"timestamp_ms":1783439097000,"timestamp_seconds":1783439097,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d40fca8"} 
[2026-07-07 21:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 21:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560407040001,"66":27267,"224":206,"80":35072,"24":48,"16":341983850366238720,"45":-3972667430273349632},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,80,24,16,45]} 
[2026-07-07 21:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560407040001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:17:04] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-07 21:17:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341983850366238720,"km_value":341983850366238.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3972667430273349632,"description":"Unknown IO ID 45"} 
[2026-07-07 21:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560407040001,"power":27267,"unknown_224":206,"unknown_80":35072,"ignition":48,"odometer":null,"unknown_45":-3972667430273349632}} 
[2026-07-07 21:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":124889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:17:04] local.INFO: GPS data processed {"connection_id":124889,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:17:04] local.INFO: Acknowledgment sent {"connection_id":124889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:17:35] local.INFO: TCP Data received {"connection_id":124889,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d428348012dc88bc0053163d0001401622e..."} 
[2026-07-07 21:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d428348012dc88bc0053163d0001401622e..."} 
[2026-07-07 21:17:35] local.INFO: Processing buffer {"connection_id":124889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d428348012dc88bc0053163d0001401622e..."} 
[2026-07-07 21:17:35] local.INFO: Packet analysis {"connection_id":124889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d42"} 
[2026-07-07 21:17:35] local.INFO: Extracted packet for processing {"connection_id":124889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d42"} 
[2026-07-07 21:17:35] local.INFO: GPS Element Parsed {"raw_longitude":768117696,"raw_latitude":87122896,"longitude_deg":76.8117696,"latitude_deg":8.7122896,"altitude":20,"angle":354,"satellites":46,"speed":34,"hex_longitude":"2dc88bc0","hex_latitude":"053163d0","is_valid_coordinates":true} 
[2026-07-07 21:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560432384001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341989051571634176,"note":"Value kept but may cause issues"} 
[2026-07-07 21:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3994341003455123456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783439197000,"timestamp_ms":1783439197000,"timestamp_seconds":1783439197,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d428348"} 
[2026-07-07 21:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 21:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560432384001,"66":27223,"7":206,"80":35072,"24":34,"16":341989051571634176,"45":-3994341003455123456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-07-07 21:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560432384001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:17:35] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-07 21:17:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341989051571634176,"km_value":341989051571634.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3994341003455123456,"description":"Unknown IO ID 45"} 
[2026-07-07 21:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560432384001,"power":27223,"unknown_7":206,"unknown_80":35072,"ignition":34,"odometer":null,"unknown_45":-3994341003455123456}} 
[2026-07-07 21:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":124889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:17:35] local.INFO: GPS data processed {"connection_id":124889,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:17:35] local.INFO: Acknowledgment sent {"connection_id":124889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:17:58] local.INFO: TCP Data received {"connection_id":126863,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:17:58] local.INFO: Processing buffer {"connection_id":126863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:17:58] local.INFO: IMEI packet received {"connection_id":126863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":126863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:18:03] local.INFO: TCP Data received {"connection_id":126863,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:18:03] local.INFO: Processing buffer {"connection_id":126863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:18:03] local.INFO: IMEI packet received {"connection_id":126863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":126863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:18:08] local.INFO: TCP Data received {"connection_id":126863,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d429ab8012dc88b0005317688001400052a..."} 
[2026-07-07 21:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d429ab8012dc88b0005317688001400052a..."} 
[2026-07-07 21:18:08] local.INFO: Processing buffer {"connection_id":126863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d429ab8012dc88b0005317688001400052a..."} 
[2026-07-07 21:18:08] local.INFO: Packet analysis {"connection_id":126863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d42"} 
[2026-07-07 21:18:08] local.INFO: Extracted packet for processing {"connection_id":126863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d42"} 
[2026-07-07 21:18:08] local.INFO: GPS Element Parsed {"raw_longitude":768117504,"raw_latitude":87127688,"longitude_deg":76.8117504,"latitude_deg":8.7127688,"altitude":20,"angle":5,"satellites":42,"speed":30,"hex_longitude":"2dc88b00","hex_latitude":"05317688","is_valid_coordinates":true} 
[2026-07-07 21:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560434432001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341989287794835456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3995889115825188864,"note":"Value kept but may cause issues"} 
[2026-07-07 21:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783439203000,"timestamp_ms":1783439203000,"timestamp_seconds":1783439203,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d429ab8"} 
[2026-07-07 21:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:18: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-07-07 21: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-07-07 21:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560434432001,"66":27310,"7":206,"80":35072,"24":30,"16":341989287794835456,"45":-3995889115825188864},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-07-07 21:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560434432001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:18:08] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-07 21:18:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341989287794835456,"km_value":341989287794835.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3995889115825188864,"description":"Unknown IO ID 45"} 
[2026-07-07 21:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560434432001,"power":27310,"unknown_7":206,"unknown_80":35072,"ignition":30,"odometer":null,"unknown_45":-3995889115825188864}} 
[2026-07-07 21:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":126863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:18:08] local.INFO: GPS data processed {"connection_id":126863,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:18:08] local.INFO: Acknowledgment sent {"connection_id":126863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:18:39] local.INFO: TCP Data received {"connection_id":126863,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d42b228012dc88e4005318778001400112d..."} 
[2026-07-07 21:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d42b228012dc88e4005318778001400112d..."} 
[2026-07-07 21:18:39] local.INFO: Processing buffer {"connection_id":126863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d42b228012dc88e4005318778001400112d..."} 
[2026-07-07 21:18:39] local.INFO: Packet analysis {"connection_id":126863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d42"} 
[2026-07-07 21:18:39] local.INFO: Extracted packet for processing {"connection_id":126863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d42"} 
[2026-07-07 21:18:39] local.INFO: GPS Element Parsed {"raw_longitude":768118336,"raw_latitude":87132024,"longitude_deg":76.8118336,"latitude_deg":8.7132024,"altitude":20,"angle":17,"satellites":45,"speed":28,"hex_longitude":"2dc88e40","hex_latitude":"05318778","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560435968001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341989502543200256,"note":"Value kept but may cause issues"} 
[2026-07-07 21:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3996100222056495104,"note":"Value kept but may cause issues"} 
[2026-07-07 21:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783439209000,"timestamp_ms":1783439209000,"timestamp_seconds":1783439209,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d42b228"} 
[2026-07-07 21:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:18: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-07-07 21: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-07 21:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21: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-07-07 21:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560435968001,"66":27800,"7":206,"80":35072,"24":28,"16":341989502543200256,"45":-3996100222056495104},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-07-07 21:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560435968001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:18:39] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-07 21:18:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341989502543200256,"km_value":341989502543200.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3996100222056495104,"description":"Unknown IO ID 45"} 
[2026-07-07 21:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560435968001,"power":27800,"unknown_7":206,"unknown_80":35072,"ignition":28,"odometer":null,"unknown_45":-3996100222056495104}} 
[2026-07-07 21:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":126863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:18:39] local.INFO: GPS data processed {"connection_id":126863,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:18:39] local.INFO: Acknowledgment sent {"connection_id":126863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:18:58] local.INFO: TCP Data received {"connection_id":125614,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:18:58] local.INFO: Processing buffer {"connection_id":125614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:18:58] local.INFO: IMEI packet received {"connection_id":125614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":125614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:19:03] local.INFO: TCP Data received {"connection_id":125614,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:19:03] local.INFO: Processing buffer {"connection_id":125614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:19:03] local.INFO: IMEI packet received {"connection_id":125614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":125614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:19:04] local.INFO: TCP Data received {"connection_id":125614,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d42e108012dc89b800531a898001700172d..."} 
[2026-07-07 21:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d42e108012dc89b800531a898001700172d..."} 
[2026-07-07 21:19:04] local.INFO: Processing buffer {"connection_id":125614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d42e108012dc89b800531a898001700172d..."} 
[2026-07-07 21:19:04] local.INFO: Packet analysis {"connection_id":125614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d42"} 
[2026-07-07 21:19:04] local.INFO: Extracted packet for processing {"connection_id":125614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d42"} 
[2026-07-07 21:19:04] local.INFO: GPS Element Parsed {"raw_longitude":768121728,"raw_latitude":87140504,"longitude_deg":76.8121728,"latitude_deg":8.7140504,"altitude":23,"angle":23,"satellites":45,"speed":33,"hex_longitude":"2dc89b80","hex_latitude":"0531a898","is_valid_coordinates":true} 
[2026-07-07 21:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560437504001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341989940629864448,"note":"Value kept but may cause issues"} 
[2026-07-07 21:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3995185428381075456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783439221000,"timestamp_ms":1783439221000,"timestamp_seconds":1783439221,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d42e108"} 
[2026-07-07 21:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 21:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560437504001,"66":27919,"7":206,"80":35072,"24":33,"16":341989940629864448,"45":-3995185428381075456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-07-07 21:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560437504001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:19:04] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-07 21:19:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341989940629864448,"km_value":341989940629864.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3995185428381075456,"description":"Unknown IO ID 45"} 
[2026-07-07 21:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560437504001,"power":27919,"unknown_7":206,"unknown_80":35072,"ignition":33,"odometer":null,"unknown_45":-3995185428381075456}} 
[2026-07-07 21:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":125614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:19:04] local.INFO: GPS data processed {"connection_id":125614,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:19:04] local.INFO: Acknowledgment sent {"connection_id":125614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:19:35] local.INFO: TCP Data received {"connection_id":125614,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d430fe8012dc8a9000531ca18001900102d..."} 
[2026-07-07 21:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d430fe8012dc8a9000531ca18001900102d..."} 
[2026-07-07 21:19:35] local.INFO: Processing buffer {"connection_id":125614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d430fe8012dc8a9000531ca18001900102d..."} 
[2026-07-07 21:19:35] local.INFO: Packet analysis {"connection_id":125614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d43"} 
[2026-07-07 21:19:35] local.INFO: Extracted packet for processing {"connection_id":125614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d43"} 
[2026-07-07 21:19:35] local.INFO: GPS Element Parsed {"raw_longitude":768125184,"raw_latitude":87149080,"longitude_deg":76.8125184,"latitude_deg":8.714908,"altitude":25,"angle":16,"satellites":45,"speed":18,"hex_longitude":"2dc8a900","hex_latitude":"0531ca18","is_valid_coordinates":true} 
[2026-07-07 21:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560440576001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341990391601430528,"note":"Value kept but may cause issues"} 
[2026-07-07 21:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3991455884937488384,"note":"Value kept but may cause issues"} 
[2026-07-07 21:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783439233000,"timestamp_ms":1783439233000,"timestamp_seconds":1783439233,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d430fe8"} 
[2026-07-07 21:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-07 21:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560440576001,"66":27626,"7":206,"80":35072,"24":18,"16":341990391601430528,"45":-3991455884937488384},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-07-07 21:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560440576001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:19:35] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-07 21:19:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341990391601430528,"km_value":341990391601430.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3991455884937488384,"description":"Unknown IO ID 45"} 
[2026-07-07 21:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560440576001,"power":27626,"unknown_7":206,"unknown_80":35072,"ignition":18,"odometer":null,"unknown_45":-3991455884937488384}} 
[2026-07-07 21:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":125614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:19:35] local.INFO: GPS data processed {"connection_id":125614,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:19:35] local.INFO: Acknowledgment sent {"connection_id":125614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:20:01] local.INFO: TCP Data received {"connection_id":124800,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:20:01] local.INFO: Processing buffer {"connection_id":124800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:20:01] local.INFO: IMEI packet received {"connection_id":124800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":124800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:20:03] local.INFO: TCP Data received {"connection_id":124800,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:20:03] local.INFO: Processing buffer {"connection_id":124800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:20:03] local.INFO: IMEI packet received {"connection_id":124800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":124800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:20:08] local.INFO: TCP Data received {"connection_id":124800,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:20:08] local.INFO: Processing buffer {"connection_id":124800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:20:08] local.INFO: IMEI packet received {"connection_id":124800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":124800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:20:09] local.INFO: TCP Data received {"connection_id":124800,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4361f0012dc8ab000531d1f0001900192c..."} 
[2026-07-07 21:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4361f0012dc8ab000531d1f0001900192c..."} 
[2026-07-07 21:20:09] local.INFO: Processing buffer {"connection_id":124800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4361f0012dc8ab000531d1f0001900192c..."} 
[2026-07-07 21:20:09] local.INFO: Packet analysis {"connection_id":124800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d43"} 
[2026-07-07 21:20:09] local.INFO: Extracted packet for processing {"connection_id":124800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d43"} 
[2026-07-07 21:20:09] local.INFO: GPS Element Parsed {"raw_longitude":768125696,"raw_latitude":87151088,"longitude_deg":76.8125696,"latitude_deg":8.7151088,"altitude":25,"angle":25,"satellites":44,"speed":0,"hex_longitude":"2dc8ab00","hex_latitude":"0531d1f0","is_valid_coordinates":true} 
[2026-07-07 21:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560443648001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341990494680645632,"note":"Value kept but may cause issues"} 
[2026-07-07 21:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3987655972749699072,"note":"Value kept but may cause issues"} 
[2026-07-07 21:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783439254000,"timestamp_ms":1783439254000,"timestamp_seconds":1783439254,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4361f0"} 
[2026-07-07 21:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:20: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-07-07 21:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-07 21:20:09] 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-07-07 21:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560443648001,"66":27376,"7":206,"80":35072,"24":0,"16":341990494680645632,"45":-3987655972749699072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-07-07 21:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560443648001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:20:09] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-07 21:20:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341990494680645632,"km_value":341990494680645.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3987655972749699072,"description":"Unknown IO ID 45"} 
[2026-07-07 21:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560443648001,"power":27376,"unknown_7":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3987655972749699072}} 
[2026-07-07 21:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":124800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:20:09] local.INFO: GPS data processed {"connection_id":124800,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:20:09] local.INFO: Acknowledgment sent {"connection_id":124800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:20:40] local.INFO: TCP Data received {"connection_id":124800,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d43b3f8012dc8ab000531d1f0001900192d..."} 
[2026-07-07 21:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d43b3f8012dc8ab000531d1f0001900192d..."} 
[2026-07-07 21:20:40] local.INFO: Processing buffer {"connection_id":124800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d43b3f8012dc8ab000531d1f0001900192d..."} 
[2026-07-07 21:20:40] local.INFO: Packet analysis {"connection_id":124800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d43"} 
[2026-07-07 21:20:40] local.INFO: Extracted packet for processing {"connection_id":124800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d43"} 
[2026-07-07 21:20:40] local.INFO: GPS Element Parsed {"raw_longitude":768125696,"raw_latitude":87151088,"longitude_deg":76.8125696,"latitude_deg":8.7151088,"altitude":25,"angle":25,"satellites":45,"speed":0,"hex_longitude":"2dc8ab00","hex_latitude":"0531d1f0","is_valid_coordinates":true} 
[2026-07-07 21:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560449024001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341990494680645632,"note":"Value kept but may cause issues"} 
[2026-07-07 21:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3987093022795763712,"note":"Value kept but may cause issues"} 
[2026-07-07 21:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783439275000,"timestamp_ms":1783439275000,"timestamp_seconds":1783439275,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d43b3f8"} 
[2026-07-07 21:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:20: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-07-07 21:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 21:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560449024001,"66":27321,"7":206,"80":35072,"24":0,"16":341990494680645632,"45":-3987093022795763712},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-07-07 21:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560449024001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:20:40] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-07 21:20:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341990494680645632,"km_value":341990494680645.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3987093022795763712,"description":"Unknown IO ID 45"} 
[2026-07-07 21:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560449024001,"power":27321,"unknown_7":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3987093022795763712}} 
[2026-07-07 21:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":124800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:20:40] local.INFO: GPS data processed {"connection_id":124800,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:20:40] local.INFO: Acknowledgment sent {"connection_id":124800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:20:58] local.INFO: TCP Data received {"connection_id":126866,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:20:58] local.INFO: Processing buffer {"connection_id":126866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:20:58] local.INFO: IMEI packet received {"connection_id":126866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":126866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:21:03] local.INFO: TCP Data received {"connection_id":126866,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:21:03] local.INFO: Processing buffer {"connection_id":126866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:21:03] local.INFO: IMEI packet received {"connection_id":126866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":126866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:21:04] local.INFO: TCP Data received {"connection_id":126866,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d440600012dc8b0400531de50001900132e..."} 
[2026-07-07 21:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d440600012dc8b0400531de50001900132e..."} 
[2026-07-07 21:21:04] local.INFO: Processing buffer {"connection_id":126866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d440600012dc8b0400531de50001900132e..."} 
[2026-07-07 21:21:04] local.INFO: Packet analysis {"connection_id":126866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d44"} 
[2026-07-07 21:21:04] local.INFO: Extracted packet for processing {"connection_id":126866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d44"} 
[2026-07-07 21:21:04] local.INFO: GPS Element Parsed {"raw_longitude":768127040,"raw_latitude":87154256,"longitude_deg":76.812704,"latitude_deg":8.7154256,"altitude":25,"angle":19,"satellites":46,"speed":8,"hex_longitude":"2dc8b040","hex_latitude":"0531de50","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560454400001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341990666479337472,"note":"Value kept but may cause issues"} 
[2026-07-07 21:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3987093022795763712,"note":"Value kept but may cause issues"} 
[2026-07-07 21:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783439296000,"timestamp_ms":1783439296000,"timestamp_seconds":1783439296,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d440600"} 
[2026-07-07 21:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 21:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21: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-07-07 21:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560454400001,"66":27300,"22":206,"80":35072,"24":8,"16":341990666479337472,"45":-3987093022795763712},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,80,24,16,45]} 
[2026-07-07 21:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560454400001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:21:04] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-07 21:21:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341990666479337472,"km_value":341990666479337.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3987093022795763712,"description":"Unknown IO ID 45"} 
[2026-07-07 21:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560454400001,"power":27300,"unknown_22":206,"unknown_80":35072,"ignition":8,"odometer":null,"unknown_45":-3987093022795763712}} 
[2026-07-07 21:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":126866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:21:04] local.INFO: GPS data processed {"connection_id":126866,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:21:04] local.INFO: Acknowledgment sent {"connection_id":126866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:21:23] local.INFO: TCP Data received {"connection_id":124891,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:21:23] local.INFO: Processing buffer {"connection_id":124891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:21:23] local.INFO: IMEI packet received {"connection_id":124891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":124891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:21:25] local.INFO: TCP Data received {"connection_id":124891,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4267f0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4267f0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:21:25] local.INFO: Processing buffer {"connection_id":124891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4267f0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:21:25] local.INFO: Packet analysis {"connection_id":124891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d42"} 
[2026-07-07 21:21:25] local.INFO: Extracted packet for processing {"connection_id":124891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d42"} 
[2026-07-07 21:21:25] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560355584001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783439190000,"timestamp_ms":1783439190000,"timestamp_seconds":1783439190,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4267f0"} 
[2026-07-07 21:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-07 21:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":124891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":124891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":124891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560355584001,"66":26289,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560355584001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:21:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560355584001,"power":26289,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":124891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447829,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:21:25] local.INFO: GPS data processed {"connection_id":124891,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:21:25] local.INFO: Acknowledgment sent {"connection_id":124891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:21:35] local.INFO: TCP Data received {"connection_id":126866,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d445808012dc8b9400531fcf0001c000c2b..."} 
[2026-07-07 21:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d445808012dc8b9400531fcf0001c000c2b..."} 
[2026-07-07 21:21:35] local.INFO: Processing buffer {"connection_id":126866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d445808012dc8b9400531fcf0001c000c2b..."} 
[2026-07-07 21:21:35] local.INFO: Packet analysis {"connection_id":126866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d44"} 
[2026-07-07 21:21:35] local.INFO: Extracted packet for processing {"connection_id":126866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d44"} 
[2026-07-07 21:21:35] local.INFO: GPS Element Parsed {"raw_longitude":768129344,"raw_latitude":87162096,"longitude_deg":76.8129344,"latitude_deg":8.7162096,"altitude":28,"angle":12,"satellites":43,"speed":25,"hex_longitude":"2dc8b940","hex_latitude":"0531fcf0","is_valid_coordinates":true} 
[2026-07-07 21:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560459776001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341991065911296000,"note":"Value kept but may cause issues"} 
[2026-07-07 21:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3985615279167221760,"note":"Value kept but may cause issues"} 
[2026-07-07 21:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783439317000,"timestamp_ms":1783439317000,"timestamp_seconds":1783439317,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d445808"} 
[2026-07-07 21:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:21: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-07-07 21:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-07 21:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560459776001,"66":27321,"22":206,"80":35072,"24":25,"16":341991065911296000,"45":-3985615279167221760},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,80,24,16,45]} 
[2026-07-07 21:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560459776001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:21:35] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-07 21:21:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341991065911296000,"km_value":341991065911296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3985615279167221760,"description":"Unknown IO ID 45"} 
[2026-07-07 21:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560459776001,"power":27321,"unknown_22":206,"unknown_80":35072,"ignition":25,"odometer":null,"unknown_45":-3985615279167221760}} 
[2026-07-07 21:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":126866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:21:35] local.INFO: GPS data processed {"connection_id":126866,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:21:35] local.INFO: Acknowledgment sent {"connection_id":126866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:21:58] local.INFO: TCP Data received {"connection_id":124801,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:21:58] local.INFO: Processing buffer {"connection_id":124801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:21:58] local.INFO: IMEI packet received {"connection_id":124801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":124801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:21:58] local.INFO: TCP Data received {"connection_id":125615,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:21:58] local.INFO: Processing buffer {"connection_id":125615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:21:58] local.INFO: IMEI packet received {"connection_id":125615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":125615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:22:03] local.INFO: TCP Data received {"connection_id":124801,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:22:03] local.INFO: Processing buffer {"connection_id":124801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:22:03] local.INFO: IMEI packet received {"connection_id":124801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":124801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:22:03] local.INFO: TCP Data received {"connection_id":125615,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:22:03] local.INFO: Processing buffer {"connection_id":125615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:22:03] local.INFO: IMEI packet received {"connection_id":125615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":125615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:22:03] local.INFO: TCP Data received {"connection_id":124801,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d448300012dc8bd4005321c78001e00002d..."} 
[2026-07-07 21:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d448300012dc8bd4005321c78001e00002d..."} 
[2026-07-07 21:22:03] local.INFO: Processing buffer {"connection_id":124801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d448300012dc8bd4005321c78001e00002d..."} 
[2026-07-07 21:22:03] local.INFO: Packet analysis {"connection_id":124801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d44"} 
[2026-07-07 21:22:03] local.INFO: Extracted packet for processing {"connection_id":124801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d44"} 
[2026-07-07 21:22:03] local.INFO: GPS Element Parsed {"raw_longitude":768130368,"raw_latitude":87170168,"longitude_deg":76.8130368,"latitude_deg":8.7170168,"altitude":30,"angle":0,"satellites":45,"speed":32,"hex_longitude":"2dc8bd40","hex_latitude":"05321c78","is_valid_coordinates":true} 
[2026-07-07 21:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560465152001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341991461048287232,"note":"Value kept but may cause issues"} 
[2026-07-07 21:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3983082004374818816,"note":"Value kept but may cause issues"} 
[2026-07-07 21:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783439328000,"timestamp_ms":1783439328000,"timestamp_seconds":1783439328,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d448300"} 
[2026-07-07 21:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 21:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560465152001,"66":27343,"22":206,"80":35072,"24":32,"16":341991461048287232,"45":-3983082004374818816},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,80,24,16,45]} 
[2026-07-07 21:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560465152001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:22:03] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-07 21:22:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341991461048287232,"km_value":341991461048287.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3983082004374818816,"description":"Unknown IO ID 45"} 
[2026-07-07 21:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560465152001,"power":27343,"unknown_22":206,"unknown_80":35072,"ignition":32,"odometer":null,"unknown_45":-3983082004374818816}} 
[2026-07-07 21:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":124801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:22:03] local.INFO: GPS data processed {"connection_id":124801,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:22:03] local.INFO: Acknowledgment sent {"connection_id":124801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:22:04] local.INFO: TCP Data received {"connection_id":125615,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4267f0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4267f0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:22:04] local.INFO: Processing buffer {"connection_id":125615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4267f0012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:22:04] local.INFO: Packet analysis {"connection_id":125615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d42"} 
[2026-07-07 21:22:04] local.INFO: Extracted packet for processing {"connection_id":125615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d42"} 
[2026-07-07 21:22:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560355584001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783439190000,"timestamp_ms":1783439190000,"timestamp_seconds":1783439190,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4267f0"} 
[2026-07-07 21:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-07 21:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560355584001,"66":26289,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560355584001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:22:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560355584001,"power":26289,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":125615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447832,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:22:04] local.INFO: GPS data processed {"connection_id":125615,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:22:04] local.INFO: Acknowledgment sent {"connection_id":125615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:22:34] local.INFO: TCP Data received {"connection_id":124801,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d44adf8012dc8bac005323fe8002001622d..."} 
[2026-07-07 21:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d44adf8012dc8bac005323fe8002001622d..."} 
[2026-07-07 21:22:34] local.INFO: Processing buffer {"connection_id":124801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d44adf8012dc8bac005323fe8002001622d..."} 
[2026-07-07 21:22:34] local.INFO: Packet analysis {"connection_id":124801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d44"} 
[2026-07-07 21:22:34] local.INFO: Extracted packet for processing {"connection_id":124801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d44"} 
[2026-07-07 21:22:34] local.INFO: GPS Element Parsed {"raw_longitude":768129728,"raw_latitude":87179240,"longitude_deg":76.8129728,"latitude_deg":8.717924,"altitude":32,"angle":354,"satellites":45,"speed":33,"hex_longitude":"2dc8bac0","hex_latitude":"05323fe8","is_valid_coordinates":true} 
[2026-07-07 21:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560467968001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341991899134951424,"note":"Value kept but may cause issues"} 
[2026-07-07 21:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3981956104465909760,"note":"Value kept but may cause issues"} 
[2026-07-07 21:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783439339000,"timestamp_ms":1783439339000,"timestamp_seconds":1783439339,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d44adf8"} 
[2026-07-07 21:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:22: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-07-07 21:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 21:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560467968001,"66":27397,"22":206,"80":35072,"24":33,"16":341991899134951424,"45":-3981956104465909760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,80,24,16,45]} 
[2026-07-07 21:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560467968001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:22:34] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-07 21:22:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341991899134951424,"km_value":341991899134951.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3981956104465909760,"description":"Unknown IO ID 45"} 
[2026-07-07 21:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560467968001,"power":27397,"unknown_22":206,"unknown_80":35072,"ignition":33,"odometer":null,"unknown_45":-3981956104465909760}} 
[2026-07-07 21:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":124801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:22:34] local.INFO: GPS data processed {"connection_id":124801,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:22:34] local.INFO: Acknowledgment sent {"connection_id":124801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:22:35] local.INFO: TCP Data received {"connection_id":125615,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d46ffb8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d46ffb8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:22:35] local.INFO: Processing buffer {"connection_id":125615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d46ffb8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:22:35] local.INFO: Packet analysis {"connection_id":125615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d46"} 
[2026-07-07 21:22:35] local.INFO: Extracted packet for processing {"connection_id":125615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d46"} 
[2026-07-07 21:22:35] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560432640001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783439491000,"timestamp_ms":1783439491000,"timestamp_seconds":1783439491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d46ffb8"} 
[2026-07-07 21:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 21:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560432640001,"66":26289,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560432640001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:22:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560432640001,"power":26289,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":125615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447834,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:22:35] local.INFO: GPS data processed {"connection_id":125615,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:22:35] local.INFO: Acknowledgment sent {"connection_id":125615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:22:58] local.INFO: TCP Data received {"connection_id":124802,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:22:58] local.INFO: Processing buffer {"connection_id":124802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:22:58] local.INFO: IMEI packet received {"connection_id":124802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":124802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:23:03] local.INFO: TCP Data received {"connection_id":124802,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:23:03] local.INFO: Processing buffer {"connection_id":124802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:23:03] local.INFO: IMEI packet received {"connection_id":124802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":124802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:23:03] local.INFO: TCP Data received {"connection_id":124802,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d44d8f0012dc8b780053265700023016128..."} 
[2026-07-07 21:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d44d8f0012dc8b780053265700023016128..."} 
[2026-07-07 21:23:03] local.INFO: Processing buffer {"connection_id":124802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d44d8f0012dc8b780053265700023016128..."} 
[2026-07-07 21:23:03] local.INFO: Packet analysis {"connection_id":124802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d44"} 
[2026-07-07 21:23:03] local.INFO: Extracted packet for processing {"connection_id":124802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d44"} 
[2026-07-07 21:23:03] local.INFO: GPS Element Parsed {"raw_longitude":768128896,"raw_latitude":87188848,"longitude_deg":76.8128896,"latitude_deg":8.7188848,"altitude":35,"angle":353,"satellites":40,"speed":34,"hex_longitude":"2dc8b780","hex_latitude":"05326570","is_valid_coordinates":true} 
[2026-07-07 21:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560470784001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341992367286386688,"note":"Value kept but may cause issues"} 
[2026-07-07 21:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3982659791905363968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783439350000,"timestamp_ms":1783439350000,"timestamp_seconds":1783439350,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d44d8f0"} 
[2026-07-07 21:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:23: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-07-07 21:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-07 21:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560470784001,"66":27104,"23":206,"80":35072,"24":34,"16":341992367286386688,"45":-3982659791905363968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-07-07 21:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560470784001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:23:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-07 21:23:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341992367286386688,"km_value":341992367286386.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3982659791905363968,"description":"Unknown IO ID 45"} 
[2026-07-07 21:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560470784001,"power":27104,"unknown_23":206,"unknown_80":35072,"ignition":34,"odometer":null,"unknown_45":-3982659791905363968}} 
[2026-07-07 21:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":124802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:23:03] local.INFO: GPS data processed {"connection_id":124802,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:23:03] local.INFO: Acknowledgment sent {"connection_id":124802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:23:03] local.INFO: TCP Data received {"connection_id":124803,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:23:03] local.INFO: Processing buffer {"connection_id":124803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:23:03] local.INFO: IMEI packet received {"connection_id":124803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":124803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:23:08] local.INFO: TCP Data received {"connection_id":124803,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:23:08] local.INFO: Processing buffer {"connection_id":124803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:23:08] local.INFO: IMEI packet received {"connection_id":124803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":124803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:23:09] local.INFO: TCP Data received {"connection_id":124803,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d46ffb8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d46ffb8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:23:09] local.INFO: Processing buffer {"connection_id":124803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d46ffb8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:23:09] local.INFO: Packet analysis {"connection_id":124803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d46"} 
[2026-07-07 21:23:09] local.INFO: Extracted packet for processing {"connection_id":124803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d46"} 
[2026-07-07 21:23:09] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560432640001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783439491000,"timestamp_ms":1783439491000,"timestamp_seconds":1783439491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d46ffb8"} 
[2026-07-07 21:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 21:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560432640001,"66":26289,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560432640001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:23:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560432640001,"power":26289,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":124803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447836,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:23:09] local.INFO: GPS data processed {"connection_id":124803,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:23:09] local.INFO: Acknowledgment sent {"connection_id":124803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:23:14] local.INFO: TCP Data received {"connection_id":124803,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d46ffb8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d46ffb8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:23:14] local.INFO: Processing buffer {"connection_id":124803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d46ffb8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:23:14] local.INFO: Packet analysis {"connection_id":124803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d46"} 
[2026-07-07 21:23:14] local.INFO: Extracted packet for processing {"connection_id":124803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d46"} 
[2026-07-07 21:23:14] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560432640001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783439491000,"timestamp_ms":1783439491000,"timestamp_seconds":1783439491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d46ffb8"} 
[2026-07-07 21:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":177,"data_length":795,"current_offset":136} 
[2026-07-07 21:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560432640001,"66":26289,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560432640001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:23:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560432640001,"power":26289,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":124803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447837,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:23:14] local.INFO: GPS data processed {"connection_id":124803,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:23:14] local.INFO: Acknowledgment sent {"connection_id":124803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:23:34] local.INFO: TCP Data received {"connection_id":124802,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d450bb8012dc8b200053289a80027015e2b..."} 
[2026-07-07 21:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d450bb8012dc8b200053289a80027015e2b..."} 
[2026-07-07 21:23:34] local.INFO: Processing buffer {"connection_id":124802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d450bb8012dc8b200053289a80027015e2b..."} 
[2026-07-07 21:23:34] local.INFO: Packet analysis {"connection_id":124802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d45"} 
[2026-07-07 21:23:34] local.INFO: Extracted packet for processing {"connection_id":124802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d45"} 
[2026-07-07 21:23:34] local.INFO: GPS Element Parsed {"raw_longitude":768127488,"raw_latitude":87198120,"longitude_deg":76.8127488,"latitude_deg":8.719812,"altitude":39,"angle":350,"satellites":43,"speed":24,"hex_longitude":"2dc8b200","hex_latitude":"053289a8","is_valid_coordinates":true} 
[2026-07-07 21:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560473600001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341992822552920064,"note":"Value kept but may cause issues"} 
[2026-07-07 21:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3983574585577213952,"note":"Value kept but may cause issues"} 
[2026-07-07 21:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783439363000,"timestamp_ms":1783439363000,"timestamp_seconds":1783439363,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d450bb8"} 
[2026-07-07 21:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:23: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-07-07 21:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-07 21:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560473600001,"66":27310,"23":206,"80":35072,"24":24,"16":341992822552920064,"45":-3983574585577213952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-07-07 21:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560473600001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:23:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-07 21:23:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341992822552920064,"km_value":341992822552920.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3983574585577213952,"description":"Unknown IO ID 45"} 
[2026-07-07 21:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560473600001,"power":27310,"unknown_23":206,"unknown_80":35072,"ignition":24,"odometer":null,"unknown_45":-3983574585577213952}} 
[2026-07-07 21:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":124802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:23:34] local.INFO: GPS data processed {"connection_id":124802,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:23:34] local.INFO: Acknowledgment sent {"connection_id":124802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:23:58] local.INFO: TCP Data received {"connection_id":125616,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:23:58] local.INFO: Processing buffer {"connection_id":125616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:23:58] local.INFO: IMEI packet received {"connection_id":125616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":125616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:23:58] local.INFO: TCP Data received {"connection_id":124892,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:23:58] local.INFO: Processing buffer {"connection_id":124892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:23:58] local.INFO: IMEI packet received {"connection_id":124892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":124892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:24:03] local.INFO: TCP Data received {"connection_id":125616,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:24:03] local.INFO: Processing buffer {"connection_id":125616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:24:03] local.INFO: IMEI packet received {"connection_id":125616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":125616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:24:03] local.INFO: TCP Data received {"connection_id":125616,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d452af8012dc8b04005329d880029000327..."} 
[2026-07-07 21:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d452af8012dc8b04005329d880029000327..."} 
[2026-07-07 21:24:03] local.INFO: Processing buffer {"connection_id":125616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d452af8012dc8b04005329d880029000327..."} 
[2026-07-07 21:24:03] local.INFO: Packet analysis {"connection_id":125616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d45"} 
[2026-07-07 21:24:03] local.INFO: Extracted packet for processing {"connection_id":125616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d45"} 
[2026-07-07 21:24:03] local.INFO: GPS Element Parsed {"raw_longitude":768127040,"raw_latitude":87203208,"longitude_deg":76.812704,"latitude_deg":8.7203208,"altitude":41,"angle":3,"satellites":39,"speed":24,"hex_longitude":"2dc8b040","hex_latitude":"05329d88","is_valid_coordinates":true} 
[2026-07-07 21:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560476928001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341993071661023232,"note":"Value kept but may cause issues"} 
[2026-07-07 21:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3985122697946748928,"note":"Value kept but may cause issues"} 
[2026-07-07 21:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783439371000,"timestamp_ms":1783439371000,"timestamp_seconds":1783439371,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d452af8"} 
[2026-07-07 21:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:24: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-07-07 21:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-07 21:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560476928001,"66":27376,"23":206,"80":35072,"24":24,"16":341993071661023232,"45":-3985122697946748928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-07-07 21:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560476928001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:24:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-07 21:24:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341993071661023232,"km_value":341993071661023.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3985122697946748928,"description":"Unknown IO ID 45"} 
[2026-07-07 21:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560476928001,"power":27376,"unknown_23":206,"unknown_80":35072,"ignition":24,"odometer":null,"unknown_45":-3985122697946748928}} 
[2026-07-07 21:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":125616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:24:03] local.INFO: GPS data processed {"connection_id":125616,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:24:03] local.INFO: Acknowledgment sent {"connection_id":125616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:24:03] local.INFO: TCP Data received {"connection_id":124892,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:24:03] local.INFO: Processing buffer {"connection_id":124892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:24:03] local.INFO: IMEI packet received {"connection_id":124892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":124892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:24:04] local.INFO: TCP Data received {"connection_id":124892,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d46ffb8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d46ffb8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:24:04] local.INFO: Processing buffer {"connection_id":124892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d46ffb8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:24:04] local.INFO: Packet analysis {"connection_id":124892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d46"} 
[2026-07-07 21:24:04] local.INFO: Extracted packet for processing {"connection_id":124892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d46"} 
[2026-07-07 21:24:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560432640001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783439491000,"timestamp_ms":1783439491000,"timestamp_seconds":1783439491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d46ffb8"} 
[2026-07-07 21:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 21:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560432640001,"66":26289,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560432640001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:24:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560432640001,"power":26289,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":124892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447840,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:24:04] local.INFO: GPS data processed {"connection_id":124892,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:24:04] local.INFO: Acknowledgment sent {"connection_id":124892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:24:34] local.INFO: TCP Data received {"connection_id":125616,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d455dc0012dc8b3000532c150002800012d..."} 
[2026-07-07 21:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d455dc0012dc8b3000532c150002800012d..."} 
[2026-07-07 21:24:34] local.INFO: Processing buffer {"connection_id":125616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d455dc0012dc8b3000532c150002800012d..."} 
[2026-07-07 21:24:34] local.INFO: Packet analysis {"connection_id":125616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d45"} 
[2026-07-07 21:24:34] local.INFO: Extracted packet for processing {"connection_id":125616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d45"} 
[2026-07-07 21:24:34] local.INFO: GPS Element Parsed {"raw_longitude":768127744,"raw_latitude":87212368,"longitude_deg":76.8127744,"latitude_deg":8.7212368,"altitude":40,"angle":1,"satellites":45,"speed":32,"hex_longitude":"2dc8b300","hex_latitude":"0532c150","is_valid_coordinates":true} 
[2026-07-07 21:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560478976001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341993518337622016,"note":"Value kept but may cause issues"} 
[2026-07-07 21:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3985615279154690048,"note":"Value kept but may cause issues"} 
[2026-07-07 21:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783439384000,"timestamp_ms":1783439384000,"timestamp_seconds":1783439384,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d455dc0"} 
[2026-07-07 21:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:24: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-07-07 21:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 21:24: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-07-07 21:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560478976001,"66":27517,"147":206,"80":35072,"24":32,"16":341993518337622016,"45":-3985615279154690048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-07 21:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560478976001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:24:34] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 21:24:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341993518337622016,"km_value":341993518337622.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3985615279154690048,"description":"Unknown IO ID 45"} 
[2026-07-07 21:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560478976001,"power":27517,"unknown_147":206,"unknown_80":35072,"ignition":32,"odometer":null,"unknown_45":-3985615279154690048}} 
[2026-07-07 21:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":125616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:24:34] local.INFO: GPS data processed {"connection_id":125616,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:24:34] local.INFO: Acknowledgment sent {"connection_id":125616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:24:36] local.INFO: TCP Data received {"connection_id":124892,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d46ffb8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d46ffb8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:24:36] local.INFO: Processing buffer {"connection_id":124892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d46ffb8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:24:36] local.INFO: Packet analysis {"connection_id":124892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d46"} 
[2026-07-07 21:24:36] local.INFO: Extracted packet for processing {"connection_id":124892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d46"} 
[2026-07-07 21:24:36] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560432640001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783439491000,"timestamp_ms":1783439491000,"timestamp_seconds":1783439491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d46ffb8"} 
[2026-07-07 21:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 21:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560432640001,"66":26289,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560432640001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:24:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560432640001,"power":26289,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":124892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447842,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:24:36] local.INFO: GPS data processed {"connection_id":124892,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:24:36] local.INFO: Acknowledgment sent {"connection_id":124892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:24:58] local.INFO: TCP Data received {"connection_id":126867,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:24:58] local.INFO: Processing buffer {"connection_id":126867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:24:58] local.INFO: IMEI packet received {"connection_id":126867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":126867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:25:00] local.INFO: TCP Data received {"connection_id":126867,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:25:00] local.INFO: Processing buffer {"connection_id":126867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:25:00] local.INFO: IMEI packet received {"connection_id":126867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":126867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:25:03] local.INFO: TCP Data received {"connection_id":126868,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:25:03] local.INFO: Processing buffer {"connection_id":126868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:25:03] local.INFO: IMEI packet received {"connection_id":126868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":126868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:25:03] local.INFO: TCP Data received {"connection_id":126867,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:25:03] local.INFO: Processing buffer {"connection_id":126867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:25:03] local.INFO: IMEI packet received {"connection_id":126867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":126867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:25:04] local.INFO: TCP Data received {"connection_id":126867,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4997c8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4997c8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:25:04] local.INFO: Processing buffer {"connection_id":126867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4997c8012d77a94005f27ab0000c014f25..."} 
[2026-07-07 21:25:04] local.INFO: Packet analysis {"connection_id":126867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d49"} 
[2026-07-07 21:25:04] local.INFO: Extracted packet for processing {"connection_id":126867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d49"} 
[2026-07-07 21:25:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777200,"longitude_deg":76.2816832,"latitude_deg":9.97772,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ab0","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560509696001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783439661000,"timestamp_ms":1783439661000,"timestamp_seconds":1783439661,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4997c8"} 
[2026-07-07 21:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-07 21:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21: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-07-07 21:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560509696001,"66":26169,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560509696001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:25:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560509696001,"power":26169,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":126867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447843,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:25:04] local.INFO: GPS data processed {"connection_id":126867,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:25:04] local.INFO: Acknowledgment sent {"connection_id":126867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:25:08] local.INFO: TCP Data received {"connection_id":126868,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:25:08] local.INFO: Processing buffer {"connection_id":126868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:25:08] local.INFO: IMEI packet received {"connection_id":126868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":126868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:25:08] local.INFO: TCP Data received {"connection_id":126868,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4584d0012dc8b2000532e3f0002b01622d..."} 
[2026-07-07 21:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4584d0012dc8b2000532e3f0002b01622d..."} 
[2026-07-07 21:25:08] local.INFO: Processing buffer {"connection_id":126868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4584d0012dc8b2000532e3f0002b01622d..."} 
[2026-07-07 21:25:08] local.INFO: Packet analysis {"connection_id":126868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d45"} 
[2026-07-07 21:25:08] local.INFO: Extracted packet for processing {"connection_id":126868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d45"} 
[2026-07-07 21:25:08] local.INFO: GPS Element Parsed {"raw_longitude":768127488,"raw_latitude":87221232,"longitude_deg":76.8127488,"latitude_deg":8.7221232,"altitude":43,"angle":354,"satellites":45,"speed":34,"hex_longitude":"2dc8b200","hex_latitude":"0532e3f0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560482304001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341993947834351616,"note":"Value kept but may cause issues"} 
[2026-07-07 21:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3984841222966390784,"note":"Value kept but may cause issues"} 
[2026-07-07 21:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783439394000,"timestamp_ms":1783439394000,"timestamp_seconds":1783439394,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4584d0"} 
[2026-07-07 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-07-07 21:25: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-07-07 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-07 21:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 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-07-07 21:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560482304001,"66":27745,"147":206,"80":35072,"24":34,"16":341993947834351616,"45":-3984841222966390784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-07 21:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560482304001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:25:08] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 21:25:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341993947834351616,"km_value":341993947834351.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3984841222966390784,"description":"Unknown IO ID 45"} 
[2026-07-07 21:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560482304001,"power":27745,"unknown_147":206,"unknown_80":35072,"ignition":34,"odometer":null,"unknown_45":-3984841222966390784}} 
[2026-07-07 21:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":126868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:25:08] local.INFO: GPS data processed {"connection_id":126868,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:25:08] local.INFO: Acknowledgment sent {"connection_id":126868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:25:38] local.INFO: TCP Data received {"connection_id":126867,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d49f970012d77a70005f27a80000c014f25..."} 
[2026-07-07 21:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d49f970012d77a70005f27a80000c014f25..."} 
[2026-07-07 21:25:38] local.INFO: Processing buffer {"connection_id":126867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d49f970012d77a70005f27a80000c014f25..."} 
[2026-07-07 21:25:38] local.INFO: Packet analysis {"connection_id":126867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d49"} 
[2026-07-07 21:25:38] local.INFO: Extracted packet for processing {"connection_id":126867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d49"} 
[2026-07-07 21:25:38] local.INFO: GPS Element Parsed {"raw_longitude":762816256,"raw_latitude":99777152,"longitude_deg":76.2816256,"latitude_deg":9.9777152,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a700","hex_latitude":"05f27a80","is_valid_coordinates":true} 
[2026-07-07 21:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560553216001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864666112,"note":"Value kept but may cause issues"} 
[2026-07-07 21:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783439686000,"timestamp_ms":1783439686000,"timestamp_seconds":1783439686,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d49f970"} 
[2026-07-07 21:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-07-07 21:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560553216001,"66":28267,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8622493355864666112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560553216001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:25:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864666112,"description":"Unknown IO ID 45"} 
[2026-07-07 21:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560553216001,"power":28267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864666112}} 
[2026-07-07 21:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":126867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447845,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:25:38] local.INFO: GPS data processed {"connection_id":126867,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:25:38] local.INFO: Acknowledgment sent {"connection_id":126867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:25:42] local.INFO: TCP Data received {"connection_id":126868,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d459470012dc8b1400532f0f8002d01642d..."} 
[2026-07-07 21:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d459470012dc8b1400532f0f8002d01642d..."} 
[2026-07-07 21:25:42] local.INFO: Processing buffer {"connection_id":126868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d459470012dc8b1400532f0f8002d01642d..."} 
[2026-07-07 21:25:42] local.INFO: Packet analysis {"connection_id":126868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d45"} 
[2026-07-07 21:25:42] local.INFO: Extracted packet for processing {"connection_id":126868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d45"} 
[2026-07-07 21:25:42] local.INFO: GPS Element Parsed {"raw_longitude":768127296,"raw_latitude":87224568,"longitude_deg":76.8127296,"latitude_deg":8.7224568,"altitude":45,"angle":356,"satellites":45,"speed":33,"hex_longitude":"2dc8b140","hex_latitude":"0532f0f8","is_valid_coordinates":true} 
[2026-07-07 21:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560484864001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341994111043108864,"note":"Value kept but may cause issues"} 
[2026-07-07 21:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3985122697940832256,"note":"Value kept but may cause issues"} 
[2026-07-07 21:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783439398000,"timestamp_ms":1783439398000,"timestamp_seconds":1783439398,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d459470"} 
[2026-07-07 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-07-07 21:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-07 21:25: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-07-07 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-07-07 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-07-07 21:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560484864001,"66":27865,"147":206,"80":35072,"24":33,"16":341994111043108864,"45":-3985122697940832256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-07 21:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560484864001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:25:42] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 21:25:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341994111043108864,"km_value":341994111043108.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3985122697940832256,"description":"Unknown IO ID 45"} 
[2026-07-07 21:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560484864001,"power":27865,"unknown_147":206,"unknown_80":35072,"ignition":33,"odometer":null,"unknown_45":-3985122697940832256}} 
[2026-07-07 21:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":126868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:25:42] local.INFO: GPS data processed {"connection_id":126868,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:25:42] local.INFO: Acknowledgment sent {"connection_id":126868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:25:58] local.INFO: TCP Data received {"connection_id":124893,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:25:58] local.INFO: Processing buffer {"connection_id":124893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:25:58] local.INFO: IMEI packet received {"connection_id":124893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":124893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:26:03] local.INFO: TCP Data received {"connection_id":124893,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:26:03] local.INFO: Processing buffer {"connection_id":124893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:26:03] local.INFO: IMEI packet received {"connection_id":124893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":124893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:26:03] local.INFO: TCP Data received {"connection_id":124893,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4a3408012dc8a9c005332340002e01622f..."} 
[2026-07-07 21:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4a3408012dc8a9c005332340002e01622f..."} 
[2026-07-07 21:26:03] local.INFO: Processing buffer {"connection_id":124893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4a3408012dc8a9c005332340002e01622f..."} 
[2026-07-07 21:26:03] local.INFO: Packet analysis {"connection_id":124893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4a"} 
[2026-07-07 21:26:03] local.INFO: Extracted packet for processing {"connection_id":124893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4a"} 
[2026-07-07 21:26:03] local.INFO: GPS Element Parsed {"raw_longitude":768125376,"raw_latitude":87237440,"longitude_deg":76.8125376,"latitude_deg":8.723744,"altitude":46,"angle":354,"satellites":47,"speed":0,"hex_longitude":"2dc8a9c0","hex_latitude":"05332340","is_valid_coordinates":true} 
[2026-07-07 21:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560485888001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341994111043108864,"note":"Value kept but may cause issues"} 
[2026-07-07 21:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3985333804172511232,"note":"Value kept but may cause issues"} 
[2026-07-07 21:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783439701000,"timestamp_ms":1783439701000,"timestamp_seconds":1783439701,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4a3408"} 
[2026-07-07 21:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 21:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560485888001,"66":25473,"147":206,"80":35072,"24":0,"16":341994111043108864,"45":-3985333804172511232},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-07 21:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560485888001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:26:03] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 21:26:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341994111043108864,"km_value":341994111043108.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3985333804172511232,"description":"Unknown IO ID 45"} 
[2026-07-07 21:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560485888001,"power":25473,"unknown_147":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3985333804172511232}} 
[2026-07-07 21:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":124893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:26:03] local.INFO: GPS data processed {"connection_id":124893,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:26:03] local.INFO: Acknowledgment sent {"connection_id":124893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:26:11] local.INFO: TCP Data received {"connection_id":126869,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:26:11] local.INFO: Processing buffer {"connection_id":126869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:26:11] local.INFO: IMEI packet received {"connection_id":126869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":126869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:26:15] local.INFO: TCP Data received {"connection_id":126869,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:26:15] local.INFO: Processing buffer {"connection_id":126869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:26:15] local.INFO: IMEI packet received {"connection_id":126869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":126869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:26:19] local.INFO: TCP Data received {"connection_id":126869,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4a4b78012d77a70005f27a80000c014f25..."} 
[2026-07-07 21:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4a4b78012d77a70005f27a80000c014f25..."} 
[2026-07-07 21:26:19] local.INFO: Processing buffer {"connection_id":126869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4a4b78012d77a70005f27a80000c014f25..."} 
[2026-07-07 21:26:19] local.INFO: Packet analysis {"connection_id":126869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4a"} 
[2026-07-07 21:26:19] local.INFO: Extracted packet for processing {"connection_id":126869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4a"} 
[2026-07-07 21:26:19] local.INFO: GPS Element Parsed {"raw_longitude":762816256,"raw_latitude":99777152,"longitude_deg":76.2816256,"latitude_deg":9.9777152,"altitude":12,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d77a700","hex_latitude":"05f27a80","is_valid_coordinates":true} 
[2026-07-07 21:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560559616001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256465544019968,"note":"Value kept but may cause issues"} 
[2026-07-07 21:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621860037167054848,"note":"Value kept but may cause issues"} 
[2026-07-07 21:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783439707000,"timestamp_ms":1783439707000,"timestamp_seconds":1783439707,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4a4b78"} 
[2026-07-07 21:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-07 21:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":126869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":126869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":126869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560559616001,"66":28148,"2":206,"9":24832,"24":0,"16":132256465544019968,"45":8621860037167054848},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560559616001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:26:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256465544019968,"km_value":132256465544019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621860037167054848,"description":"Unknown IO ID 45"} 
[2026-07-07 21:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560559616001,"power":28148,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621860037167054848}} 
[2026-07-07 21:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":126869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447848,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:26:19] local.INFO: GPS data processed {"connection_id":126869,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:26:19] local.INFO: Acknowledgment sent {"connection_id":126869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:26:21] local.INFO: TCP Data received {"connection_id":126869,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4a8610012d77a8c005f28140000e015b24..."} 
[2026-07-07 21:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4a8610012d77a8c005f28140000e015b24..."} 
[2026-07-07 21:26:21] local.INFO: Processing buffer {"connection_id":126869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4a8610012d77a8c005f28140000e015b24..."} 
[2026-07-07 21:26:21] local.INFO: Packet analysis {"connection_id":126869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4a"} 
[2026-07-07 21:26:21] local.INFO: Extracted packet for processing {"connection_id":126869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4a"} 
[2026-07-07 21:26:21] local.INFO: GPS Element Parsed {"raw_longitude":762816704,"raw_latitude":99778880,"longitude_deg":76.2816704,"latitude_deg":9.977888,"altitude":14,"angle":347,"satellites":36,"speed":12,"hex_longitude":"2d77a8c0","hex_latitude":"05f28140","is_valid_coordinates":true} 
[2026-07-07 21:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560564992001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256551443365888,"note":"Value kept but may cause issues"} 
[2026-07-07 21:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621860037167054848,"note":"Value kept but may cause issues"} 
[2026-07-07 21:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783439722000,"timestamp_ms":1783439722000,"timestamp_seconds":1783439722,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4a8610"} 
[2026-07-07 21:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21: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-07-07 21:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560564992001,"66":28354,"2":206,"9":24832,"24":12,"16":132256551443365888,"45":8621860037167054848},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560564992001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:26:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256551443365888,"km_value":132256551443365.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621860037167054848,"description":"Unknown IO ID 45"} 
[2026-07-07 21:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560564992001,"power":28354,"power_alt":206,"unknown_9":24832,"ignition":12,"odometer":null,"unknown_45":8621860037167054848}} 
[2026-07-07 21:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":126869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447849,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:26:21] local.INFO: GPS data processed {"connection_id":126869,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:26:21] local.INFO: Acknowledgment sent {"connection_id":126869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:26:34] local.INFO: TCP Data received {"connection_id":124893,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4a3408012dc8a9c005332340002e01622f..."} 
[2026-07-07 21:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4a3408012dc8a9c005332340002e01622f..."} 
[2026-07-07 21:26:34] local.INFO: Processing buffer {"connection_id":124893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4a3408012dc8a9c005332340002e01622f..."} 
[2026-07-07 21:26:34] local.INFO: Packet analysis {"connection_id":124893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4a"} 
[2026-07-07 21:26:34] local.INFO: Extracted packet for processing {"connection_id":124893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4a"} 
[2026-07-07 21:26:34] local.INFO: GPS Element Parsed {"raw_longitude":768125376,"raw_latitude":87237440,"longitude_deg":76.8125376,"latitude_deg":8.723744,"altitude":46,"angle":354,"satellites":47,"speed":0,"hex_longitude":"2dc8a9c0","hex_latitude":"05332340","is_valid_coordinates":true} 
[2026-07-07 21:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560485888001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341994111043108864,"note":"Value kept but may cause issues"} 
[2026-07-07 21:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3985333804172511232,"note":"Value kept but may cause issues"} 
[2026-07-07 21:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783439701000,"timestamp_ms":1783439701000,"timestamp_seconds":1783439701,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4a3408"} 
[2026-07-07 21:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 21:26: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-07-07 21:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560485888001,"66":25473,"147":206,"80":35072,"24":0,"16":341994111043108864,"45":-3985333804172511232},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-07 21:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560485888001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:26:34] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 21:26:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341994111043108864,"km_value":341994111043108.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3985333804172511232,"description":"Unknown IO ID 45"} 
[2026-07-07 21:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560485888001,"power":25473,"unknown_147":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3985333804172511232}} 
[2026-07-07 21:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":124893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:26:34] local.INFO: GPS data processed {"connection_id":124893,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:26:34] local.INFO: Acknowledgment sent {"connection_id":124893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:26:57] local.INFO: TCP Data received {"connection_id":125617,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:26:57] local.INFO: Processing buffer {"connection_id":125617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:26:57] local.INFO: IMEI packet received {"connection_id":125617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":125617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:26:58] local.INFO: TCP Data received {"connection_id":125617,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:26:58] local.INFO: Processing buffer {"connection_id":125617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:26:58] local.INFO: IMEI packet received {"connection_id":125617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":125617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:26:58] local.INFO: TCP Data received {"connection_id":124804,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:26:58] local.INFO: Processing buffer {"connection_id":124804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:26:58] local.INFO: IMEI packet received {"connection_id":124804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":124804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:27:03] local.INFO: TCP Data received {"connection_id":125617,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:27:03] local.INFO: Processing buffer {"connection_id":125617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:27:03] local.INFO: IMEI packet received {"connection_id":125617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":125617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:27:03] local.INFO: TCP Data received {"connection_id":124804,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:27:03] local.INFO: Processing buffer {"connection_id":124804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:27:03] local.INFO: IMEI packet received {"connection_id":124804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":124804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:27:04] local.INFO: TCP Data received {"connection_id":124804,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4a3408012dc8a9c005332340002e01622f..."} 
[2026-07-07 21:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4a3408012dc8a9c005332340002e01622f..."} 
[2026-07-07 21:27:04] local.INFO: Processing buffer {"connection_id":124804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4a3408012dc8a9c005332340002e01622f..."} 
[2026-07-07 21:27:04] local.INFO: Packet analysis {"connection_id":124804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4a"} 
[2026-07-07 21:27:04] local.INFO: Extracted packet for processing {"connection_id":124804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4a"} 
[2026-07-07 21:27:04] local.INFO: GPS Element Parsed {"raw_longitude":768125376,"raw_latitude":87237440,"longitude_deg":76.8125376,"latitude_deg":8.723744,"altitude":46,"angle":354,"satellites":47,"speed":0,"hex_longitude":"2dc8a9c0","hex_latitude":"05332340","is_valid_coordinates":true} 
[2026-07-07 21:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560485888001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341994111043108864,"note":"Value kept but may cause issues"} 
[2026-07-07 21:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3985333804172511232,"note":"Value kept but may cause issues"} 
[2026-07-07 21:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783439701000,"timestamp_ms":1783439701000,"timestamp_seconds":1783439701,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4a3408"} 
[2026-07-07 21:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 21:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560485888001,"66":25473,"147":206,"80":35072,"24":0,"16":341994111043108864,"45":-3985333804172511232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-07 21:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560485888001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:27:04] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 21:27:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341994111043108864,"km_value":341994111043108.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3985333804172511232,"description":"Unknown IO ID 45"} 
[2026-07-07 21:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560485888001,"power":25473,"unknown_147":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3985333804172511232}} 
[2026-07-07 21:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":124804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:27:04] local.INFO: GPS data processed {"connection_id":124804,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:27:04] local.INFO: Acknowledgment sent {"connection_id":124804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:27:10] local.INFO: TCP Data received {"connection_id":125617,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4ab8d8012d77a5c005f29470000a000027..."} 
[2026-07-07 21:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4ab8d8012d77a5c005f29470000a000027..."} 
[2026-07-07 21:27:10] local.INFO: Processing buffer {"connection_id":125617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4ab8d8012d77a5c005f29470000a000027..."} 
[2026-07-07 21:27:10] local.INFO: Packet analysis {"connection_id":125617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4a"} 
[2026-07-07 21:27:10] local.INFO: Extracted packet for processing {"connection_id":125617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4a"} 
[2026-07-07 21:27:10] local.INFO: GPS Element Parsed {"raw_longitude":762815936,"raw_latitude":99783792,"longitude_deg":76.2815936,"latitude_deg":9.9783792,"altitude":10,"angle":0,"satellites":39,"speed":14,"hex_longitude":"2d77a5c0","hex_latitude":"05f29470","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560568832001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256791961534464,"note":"Value kept but may cause issues"} 
[2026-07-07 21:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622352618376740864,"note":"Value kept but may cause issues"} 
[2026-07-07 21:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783439735000,"timestamp_ms":1783439735000,"timestamp_seconds":1783439735,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4ab8d8"} 
[2026-07-07 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-07-07 21:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 21:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 21:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560568832001,"66":28006,"2":206,"9":24832,"24":14,"16":132256791961534464,"45":8622352618376740864},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560568832001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:27:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256791961534464,"km_value":132256791961534.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622352618376740864,"description":"Unknown IO ID 45"} 
[2026-07-07 21:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560568832001,"power":28006,"power_alt":206,"unknown_9":24832,"ignition":14,"odometer":null,"unknown_45":8622352618376740864}} 
[2026-07-07 21:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":125617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447852,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:27:10] local.INFO: GPS data processed {"connection_id":125617,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:27:10] local.INFO: Acknowledgment sent {"connection_id":125617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:27:35] local.INFO: TCP Data received {"connection_id":124804,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4a3408012dc8a9c005332340002e01622f..."} 
[2026-07-07 21:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4a3408012dc8a9c005332340002e01622f..."} 
[2026-07-07 21:27:35] local.INFO: Processing buffer {"connection_id":124804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4a3408012dc8a9c005332340002e01622f..."} 
[2026-07-07 21:27:35] local.INFO: Packet analysis {"connection_id":124804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4a"} 
[2026-07-07 21:27:35] local.INFO: Extracted packet for processing {"connection_id":124804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4a"} 
[2026-07-07 21:27:35] local.INFO: GPS Element Parsed {"raw_longitude":768125376,"raw_latitude":87237440,"longitude_deg":76.8125376,"latitude_deg":8.723744,"altitude":46,"angle":354,"satellites":47,"speed":0,"hex_longitude":"2dc8a9c0","hex_latitude":"05332340","is_valid_coordinates":true} 
[2026-07-07 21:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560485888001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341994111043108864,"note":"Value kept but may cause issues"} 
[2026-07-07 21:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3985333804172511232,"note":"Value kept but may cause issues"} 
[2026-07-07 21:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783439701000,"timestamp_ms":1783439701000,"timestamp_seconds":1783439701,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4a3408"} 
[2026-07-07 21:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 21:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560485888001,"66":25473,"147":206,"80":35072,"24":0,"16":341994111043108864,"45":-3985333804172511232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-07 21:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560485888001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:27:35] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 21:27:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341994111043108864,"km_value":341994111043108.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3985333804172511232,"description":"Unknown IO ID 45"} 
[2026-07-07 21:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560485888001,"power":25473,"unknown_147":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3985333804172511232}} 
[2026-07-07 21:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":124804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:27:35] local.INFO: GPS data processed {"connection_id":124804,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:27:35] local.INFO: Acknowledgment sent {"connection_id":124804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:27:41] local.INFO: TCP Data received {"connection_id":125617,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4ac0a8012d77a58005f29710000a015a27..."} 
[2026-07-07 21:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4ac0a8012d77a58005f29710000a015a27..."} 
[2026-07-07 21:27:41] local.INFO: Processing buffer {"connection_id":125617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4ac0a8012d77a58005f29710000a015a27..."} 
[2026-07-07 21:27:41] local.INFO: Packet analysis {"connection_id":125617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4a"} 
[2026-07-07 21:27:41] local.INFO: Extracted packet for processing {"connection_id":125617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4a"} 
[2026-07-07 21:27:41] local.INFO: GPS Element Parsed {"raw_longitude":762815872,"raw_latitude":99784464,"longitude_deg":76.2815872,"latitude_deg":9.9784464,"altitude":10,"angle":346,"satellites":39,"speed":10,"hex_longitude":"2d77a580","hex_latitude":"05f29710","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560572160001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132256826321272832,"note":"Value kept but may cause issues"} 
[2026-07-07 21:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621508193447866368,"note":"Value kept but may cause issues"} 
[2026-07-07 21:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783439737000,"timestamp_ms":1783439737000,"timestamp_seconds":1783439737,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4ac0a8"} 
[2026-07-07 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-07-07 21:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 21:27: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-07-07 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-07-07 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-07-07 21:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560572160001,"66":28006,"2":206,"9":24832,"24":10,"16":132256826321272832,"45":8621508193447866368},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-07 21:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560572160001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:27:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132256826321272832,"km_value":132256826321272.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621508193447866368,"description":"Unknown IO ID 45"} 
[2026-07-07 21:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560572160001,"power":28006,"power_alt":206,"unknown_9":24832,"ignition":10,"odometer":null,"unknown_45":8621508193447866368}} 
[2026-07-07 21:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":125617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447854,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:27:41] local.INFO: GPS data processed {"connection_id":125617,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:27:41] local.INFO: Acknowledgment sent {"connection_id":125617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:27:58] local.INFO: TCP Data received {"connection_id":126870,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:27:58] local.INFO: Processing buffer {"connection_id":126870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:27:58] local.INFO: IMEI packet received {"connection_id":126870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":126870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:27:58] local.INFO: TCP Data received {"connection_id":124894,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:27:58] local.INFO: Processing buffer {"connection_id":124894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:27:58] local.INFO: IMEI packet received {"connection_id":124894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":124894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:28:03] local.INFO: TCP Data received {"connection_id":124894,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:28:03] local.INFO: Processing buffer {"connection_id":124894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:28:03] local.INFO: IMEI packet received {"connection_id":124894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":124894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:28:03] local.INFO: TCP Data received {"connection_id":126870,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:28:03] local.INFO: Processing buffer {"connection_id":126870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:28:03] local.INFO: IMEI packet received {"connection_id":126870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":126870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:28:04] local.INFO: TCP Data received {"connection_id":126870,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4a3408012dc8a9c005332340002e01622f..."} 
[2026-07-07 21:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4a3408012dc8a9c005332340002e01622f..."} 
[2026-07-07 21:28:04] local.INFO: Processing buffer {"connection_id":126870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4a3408012dc8a9c005332340002e01622f..."} 
[2026-07-07 21:28:04] local.INFO: Packet analysis {"connection_id":126870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4a"} 
[2026-07-07 21:28:04] local.INFO: Extracted packet for processing {"connection_id":126870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4a"} 
[2026-07-07 21:28:04] local.INFO: GPS Element Parsed {"raw_longitude":768125376,"raw_latitude":87237440,"longitude_deg":76.8125376,"latitude_deg":8.723744,"altitude":46,"angle":354,"satellites":47,"speed":0,"hex_longitude":"2dc8a9c0","hex_latitude":"05332340","is_valid_coordinates":true} 
[2026-07-07 21:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560485888001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341994111043108864,"note":"Value kept but may cause issues"} 
[2026-07-07 21:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3985333804172511232,"note":"Value kept but may cause issues"} 
[2026-07-07 21:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783439701000,"timestamp_ms":1783439701000,"timestamp_seconds":1783439701,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4a3408"} 
[2026-07-07 21:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 21:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560485888001,"66":25473,"147":206,"80":35072,"24":0,"16":341994111043108864,"45":-3985333804172511232},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-07 21:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560485888001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:28:04] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 21:28:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341994111043108864,"km_value":341994111043108.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3985333804172511232,"description":"Unknown IO ID 45"} 
[2026-07-07 21:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560485888001,"power":25473,"unknown_147":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3985333804172511232}} 
[2026-07-07 21:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":126870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:28:04] local.INFO: GPS data processed {"connection_id":126870,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:28:04] local.INFO: Acknowledgment sent {"connection_id":126870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:28:04] local.INFO: TCP Data received {"connection_id":124894,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4b12b0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4b12b0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:28:04] local.INFO: Processing buffer {"connection_id":124894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4b12b0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:28:04] local.INFO: Packet analysis {"connection_id":124894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4b"} 
[2026-07-07 21:28:04] local.INFO: Extracted packet for processing {"connection_id":124894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4b"} 
[2026-07-07 21:28:04] local.INFO: GPS Element Parsed {"raw_longitude":762815552,"raw_latitude":99788208,"longitude_deg":76.2815552,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a440","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560572672001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621437824703860736,"note":"Value kept but may cause issues"} 
[2026-07-07 21:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783439758000,"timestamp_ms":1783439758000,"timestamp_seconds":1783439758,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4b12b0"} 
[2026-07-07 21:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 21:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560572672001,"66":27995,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621437824703860736},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560572672001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:28:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:28:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621437824703860736,"description":"Unknown IO ID 45"} 
[2026-07-07 21:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560572672001,"power":27995,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621437824703860736}} 
[2026-07-07 21:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":124894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447856,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:28:04] local.INFO: GPS data processed {"connection_id":124894,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:28:04] local.INFO: Acknowledgment sent {"connection_id":124894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:28:35] local.INFO: TCP Data received {"connection_id":126870,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4a3408012dc8a9c005332340002e01622f..."} 
[2026-07-07 21:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4a3408012dc8a9c005332340002e01622f..."} 
[2026-07-07 21:28:35] local.INFO: Processing buffer {"connection_id":126870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4a3408012dc8a9c005332340002e01622f..."} 
[2026-07-07 21:28:35] local.INFO: Packet analysis {"connection_id":126870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4a"} 
[2026-07-07 21:28:35] local.INFO: Extracted packet for processing {"connection_id":126870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4a"} 
[2026-07-07 21:28:35] local.INFO: GPS Element Parsed {"raw_longitude":768125376,"raw_latitude":87237440,"longitude_deg":76.8125376,"latitude_deg":8.723744,"altitude":46,"angle":354,"satellites":47,"speed":0,"hex_longitude":"2dc8a9c0","hex_latitude":"05332340","is_valid_coordinates":true} 
[2026-07-07 21:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560485888001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341994111043108864,"note":"Value kept but may cause issues"} 
[2026-07-07 21:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3985333804172511232,"note":"Value kept but may cause issues"} 
[2026-07-07 21:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783439701000,"timestamp_ms":1783439701000,"timestamp_seconds":1783439701,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4a3408"} 
[2026-07-07 21:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-07 21:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:28: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-07-07 21:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560485888001,"66":25473,"147":206,"80":35072,"24":0,"16":341994111043108864,"45":-3985333804172511232},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-07 21:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560485888001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:28:35] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 21:28:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341994111043108864,"km_value":341994111043108.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3985333804172511232,"description":"Unknown IO ID 45"} 
[2026-07-07 21:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560485888001,"power":25473,"unknown_147":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3985333804172511232}} 
[2026-07-07 21:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":126870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:28:35] local.INFO: GPS data processed {"connection_id":126870,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:28:35] local.INFO: Acknowledgment sent {"connection_id":126870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:28:35] local.INFO: TCP Data received {"connection_id":124894,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4b64b8012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4b64b8012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:28:35] local.INFO: Processing buffer {"connection_id":124894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4b64b8012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:28:35] local.INFO: Packet analysis {"connection_id":124894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4b"} 
[2026-07-07 21:28:35] local.INFO: Extracted packet for processing {"connection_id":124894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4b"} 
[2026-07-07 21:28:35] local.INFO: GPS Element Parsed {"raw_longitude":762815552,"raw_latitude":99788208,"longitude_deg":76.2815552,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a440","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560578048001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 21:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783439779000,"timestamp_ms":1783439779000,"timestamp_seconds":1783439779,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4b64b8"} 
[2026-07-07 21:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:28: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-07-07 21:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 21:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560578048001,"66":27984,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560578048001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:28:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:28:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 21:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560578048001,"power":27984,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 21:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":124894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447858,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:28:35] local.INFO: GPS data processed {"connection_id":124894,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:28:35] local.INFO: Acknowledgment sent {"connection_id":124894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:28:58] local.INFO: TCP Data received {"connection_id":124805,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:28:58] local.INFO: Processing buffer {"connection_id":124805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:28:58] local.INFO: IMEI packet received {"connection_id":124805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":124805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:29:03] local.INFO: TCP Data received {"connection_id":124805,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:29:03] local.INFO: Processing buffer {"connection_id":124805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:29:03] local.INFO: IMEI packet received {"connection_id":124805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":124805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:29:03] local.INFO: TCP Data received {"connection_id":125618,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:29:03] local.INFO: Processing buffer {"connection_id":125618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:29:03] local.INFO: IMEI packet received {"connection_id":125618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":125618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:29:04] local.INFO: TCP Data received {"connection_id":124805,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4bb6c0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4bb6c0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:29:04] local.INFO: Processing buffer {"connection_id":124805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4bb6c0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:29:04] local.INFO: Packet analysis {"connection_id":124805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4b"} 
[2026-07-07 21:29:04] local.INFO: Extracted packet for processing {"connection_id":124805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4b"} 
[2026-07-07 21:29:04] local.INFO: GPS Element Parsed {"raw_longitude":762815552,"raw_latitude":99788208,"longitude_deg":76.2815552,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a440","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560583424001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 21:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783439800000,"timestamp_ms":1783439800000,"timestamp_seconds":1783439800,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4bb6c0"} 
[2026-07-07 21:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 21:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560583424001,"66":28256,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560583424001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:29:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:29:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 21:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560583424001,"power":28256,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 21:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":124805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447859,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:29:04] local.INFO: GPS data processed {"connection_id":124805,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:29:04] local.INFO: Acknowledgment sent {"connection_id":124805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:29:08] local.INFO: TCP Data received {"connection_id":125618,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:29:08] local.INFO: Processing buffer {"connection_id":125618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:29:08] local.INFO: IMEI packet received {"connection_id":125618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":125618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:29:09] local.INFO: TCP Data received {"connection_id":125618,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4d2208012dc8a9c005332340002e01622d..."} 
[2026-07-07 21:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4d2208012dc8a9c005332340002e01622d..."} 
[2026-07-07 21:29:09] local.INFO: Processing buffer {"connection_id":125618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4d2208012dc8a9c005332340002e01622d..."} 
[2026-07-07 21:29:09] local.INFO: Packet analysis {"connection_id":125618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4d"} 
[2026-07-07 21:29:09] local.INFO: Extracted packet for processing {"connection_id":125618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4d"} 
[2026-07-07 21:29:09] local.INFO: GPS Element Parsed {"raw_longitude":768125376,"raw_latitude":87237440,"longitude_deg":76.8125376,"latitude_deg":8.723744,"altitude":46,"angle":354,"satellites":45,"speed":0,"hex_longitude":"2dc8a9c0","hex_latitude":"05332340","is_valid_coordinates":true} 
[2026-07-07 21:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560563456001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341994111043108864,"note":"Value kept but may cause issues"} 
[2026-07-07 21:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3987444866494545920,"note":"Value kept but may cause issues"} 
[2026-07-07 21:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783439893000,"timestamp_ms":1783439893000,"timestamp_seconds":1783439893,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4d2208"} 
[2026-07-07 21:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 21:29: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-07-07 21:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:29: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-07-07 21:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560563456001,"66":25321,"147":206,"80":35072,"24":0,"16":341994111043108864,"45":-3987444866494545920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-07 21:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560563456001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:29:09] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 21:29:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341994111043108864,"km_value":341994111043108.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3987444866494545920,"description":"Unknown IO ID 45"} 
[2026-07-07 21:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560563456001,"power":25321,"unknown_147":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3987444866494545920}} 
[2026-07-07 21:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":125618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:29:09] local.INFO: GPS data processed {"connection_id":125618,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:29:09] local.INFO: Acknowledgment sent {"connection_id":125618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:29:16] local.INFO: TCP Data received {"connection_id":125618,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4d2208012dc8a9c005332340002e01622d..."} 
[2026-07-07 21:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4d2208012dc8a9c005332340002e01622d..."} 
[2026-07-07 21:29:16] local.INFO: Processing buffer {"connection_id":125618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4d2208012dc8a9c005332340002e01622d..."} 
[2026-07-07 21:29:16] local.INFO: Packet analysis {"connection_id":125618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4d"} 
[2026-07-07 21:29:16] local.INFO: Extracted packet for processing {"connection_id":125618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4d"} 
[2026-07-07 21:29:16] local.INFO: GPS Element Parsed {"raw_longitude":768125376,"raw_latitude":87237440,"longitude_deg":76.8125376,"latitude_deg":8.723744,"altitude":46,"angle":354,"satellites":45,"speed":0,"hex_longitude":"2dc8a9c0","hex_latitude":"05332340","is_valid_coordinates":true} 
[2026-07-07 21:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560563456001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341994111043108864,"note":"Value kept but may cause issues"} 
[2026-07-07 21:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3987444866494545920,"note":"Value kept but may cause issues"} 
[2026-07-07 21:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783439893000,"timestamp_ms":1783439893000,"timestamp_seconds":1783439893,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4d2208"} 
[2026-07-07 21:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:29: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-07-07 21:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 21:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:29: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-07-07 21:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560563456001,"66":25321,"147":206,"80":35072,"24":0,"16":341994111043108864,"45":-3987444866494545920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-07 21:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560563456001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:29:16] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 21:29:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341994111043108864,"km_value":341994111043108.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3987444866494545920,"description":"Unknown IO ID 45"} 
[2026-07-07 21:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560563456001,"power":25321,"unknown_147":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3987444866494545920}} 
[2026-07-07 21:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":125618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:29:16] local.INFO: GPS data processed {"connection_id":125618,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:29:16] local.INFO: Acknowledgment sent {"connection_id":125618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:29:36] local.INFO: TCP Data received {"connection_id":124805,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:29:36] local.INFO: Processing buffer {"connection_id":124805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:29:36] local.INFO: Packet analysis {"connection_id":124805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4b"} 
[2026-07-07 21:29:36] local.INFO: Extracted packet for processing {"connection_id":124805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4b"} 
[2026-07-07 21:29:36] local.INFO: GPS Element Parsed {"raw_longitude":762815552,"raw_latitude":99788208,"longitude_deg":76.2815552,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a440","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560588800001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 21:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783439812000,"timestamp_ms":1783439812000,"timestamp_seconds":1783439812,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4be5a0"} 
[2026-07-07 21:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 21:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560588800001,"66":28398,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560588800001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:29:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:29:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 21:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560588800001,"power":28398,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 21:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":124805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447862,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:29:36] local.INFO: GPS data processed {"connection_id":124805,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:29:36] local.INFO: Acknowledgment sent {"connection_id":124805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:29:56] local.INFO: TCP Data received {"connection_id":126871,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:29:56] local.INFO: Processing buffer {"connection_id":126871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:29:56] local.INFO: IMEI packet received {"connection_id":126871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":126871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:29:58] local.INFO: TCP Data received {"connection_id":126871,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:29:58] local.INFO: Processing buffer {"connection_id":126871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:29:58] local.INFO: IMEI packet received {"connection_id":126871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":126871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:30:03] local.INFO: TCP Data received {"connection_id":124895,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:30:03] local.INFO: Processing buffer {"connection_id":124895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:30:03] local.INFO: IMEI packet received {"connection_id":124895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":124895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:30:03] local.INFO: TCP Data received {"connection_id":126871,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:30:03] local.INFO: Processing buffer {"connection_id":126871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:30:03] local.INFO: IMEI packet received {"connection_id":126871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":126871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:30:04] local.INFO: TCP Data received {"connection_id":126871,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4d7be0012dc8a9c005332a60002e01642d..."} 
[2026-07-07 21:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4d7be0012dc8a9c005332a60002e01642d..."} 
[2026-07-07 21:30:04] local.INFO: Processing buffer {"connection_id":126871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4d7be0012dc8a9c005332a60002e01642d..."} 
[2026-07-07 21:30:04] local.INFO: Packet analysis {"connection_id":126871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4d"} 
[2026-07-07 21:30:04] local.INFO: Extracted packet for processing {"connection_id":126871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4d"} 
[2026-07-07 21:30:04] local.INFO: GPS Element Parsed {"raw_longitude":768125376,"raw_latitude":87239264,"longitude_deg":76.8125376,"latitude_deg":8.7239264,"altitude":46,"angle":356,"satellites":45,"speed":0,"hex_longitude":"2dc8a9c0","hex_latitude":"05332a60","is_valid_coordinates":true} 
[2026-07-07 21:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560612608001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341994111043108864,"note":"Value kept but may cause issues"} 
[2026-07-07 21:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3987444866494545920,"note":"Value kept but may cause issues"} 
[2026-07-07 21:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783439916000,"timestamp_ms":1783439916000,"timestamp_seconds":1783439916,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4d7be0"} 
[2026-07-07 21:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 21:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560612608001,"66":27180,"147":206,"80":35072,"24":0,"16":341994111043108864,"45":-3987444866494545920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-07 21:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560612608001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:30:04] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 21:30:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341994111043108864,"km_value":341994111043108.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3987444866494545920,"description":"Unknown IO ID 45"} 
[2026-07-07 21:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560612608001,"power":27180,"unknown_147":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3987444866494545920}} 
[2026-07-07 21:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":126871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:30:04] local.INFO: GPS data processed {"connection_id":126871,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:30:04] local.INFO: Acknowledgment sent {"connection_id":126871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:30:07] local.INFO: TCP Data received {"connection_id":126871,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4dcde8012dc8a9c005332a60002e01642e..."} 
[2026-07-07 21:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4dcde8012dc8a9c005332a60002e01642e..."} 
[2026-07-07 21:30:07] local.INFO: Processing buffer {"connection_id":126871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4dcde8012dc8a9c005332a60002e01642e..."} 
[2026-07-07 21:30:07] local.INFO: Packet analysis {"connection_id":126871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4d"} 
[2026-07-07 21:30:07] local.INFO: Extracted packet for processing {"connection_id":126871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4d"} 
[2026-07-07 21:30:07] local.INFO: GPS Element Parsed {"raw_longitude":768125376,"raw_latitude":87239264,"longitude_deg":76.8125376,"latitude_deg":8.7239264,"altitude":46,"angle":356,"satellites":46,"speed":0,"hex_longitude":"2dc8a9c0","hex_latitude":"05332a60","is_valid_coordinates":true} 
[2026-07-07 21:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560618496001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341994111043108864,"note":"Value kept but may cause issues"} 
[2026-07-07 21:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3987444866494078976,"note":"Value kept but may cause issues"} 
[2026-07-07 21:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783439937000,"timestamp_ms":1783439937000,"timestamp_seconds":1783439937,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4dcde8"} 
[2026-07-07 21:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-07 21:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:30: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-07-07 21:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560618496001,"66":27321,"147":206,"80":35072,"24":0,"16":341994111043108864,"45":-3987444866494078976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-07 21:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560618496001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:30:07] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 21:30:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341994111043108864,"km_value":341994111043108.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3987444866494078976,"description":"Unknown IO ID 45"} 
[2026-07-07 21:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560618496001,"power":27321,"unknown_147":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3987444866494078976}} 
[2026-07-07 21:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":126871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:30:07] local.INFO: GPS data processed {"connection_id":126871,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:30:07] local.INFO: Acknowledgment sent {"connection_id":126871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:30:08] local.INFO: TCP Data received {"connection_id":124895,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:30:08] local.INFO: Processing buffer {"connection_id":124895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:30:08] local.INFO: IMEI packet received {"connection_id":124895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":124895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:30:10] local.INFO: TCP Data received {"connection_id":124895,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:30:10] local.INFO: Processing buffer {"connection_id":124895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:30:10] local.INFO: Packet analysis {"connection_id":124895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4b"} 
[2026-07-07 21:30:10] local.INFO: Extracted packet for processing {"connection_id":124895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4b"} 
[2026-07-07 21:30:10] local.INFO: GPS Element Parsed {"raw_longitude":762815552,"raw_latitude":99788208,"longitude_deg":76.2815552,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a440","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560588800001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 21:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783439812000,"timestamp_ms":1783439812000,"timestamp_seconds":1783439812,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4be5a0"} 
[2026-07-07 21:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 21:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560588800001,"66":28398,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560588800001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:30:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:30:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 21:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560588800001,"power":28398,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 21:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":124895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447865,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:30:10] local.INFO: GPS data processed {"connection_id":124895,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:30:10] local.INFO: Acknowledgment sent {"connection_id":124895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:30:39] local.INFO: TCP Data received {"connection_id":126871,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4e1ff0012dc8a9c005332a60002e01642e..."} 
[2026-07-07 21:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4e1ff0012dc8a9c005332a60002e01642e..."} 
[2026-07-07 21:30:39] local.INFO: Processing buffer {"connection_id":126871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4e1ff0012dc8a9c005332a60002e01642e..."} 
[2026-07-07 21:30:39] local.INFO: Packet analysis {"connection_id":126871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4e"} 
[2026-07-07 21:30:39] local.INFO: Extracted packet for processing {"connection_id":126871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4e"} 
[2026-07-07 21:30:39] local.INFO: GPS Element Parsed {"raw_longitude":768125376,"raw_latitude":87239264,"longitude_deg":76.8125376,"latitude_deg":8.7239264,"altitude":46,"angle":356,"satellites":46,"speed":0,"hex_longitude":"2dc8a9c0","hex_latitude":"05332a60","is_valid_coordinates":true} 
[2026-07-07 21:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560623872001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341994111043108864,"note":"Value kept but may cause issues"} 
[2026-07-07 21:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3987444866494078976,"note":"Value kept but may cause issues"} 
[2026-07-07 21:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783439958000,"timestamp_ms":1783439958000,"timestamp_seconds":1783439958,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4e1ff0"} 
[2026-07-07 21:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 21:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560623872001,"66":27267,"147":206,"80":35072,"24":0,"16":341994111043108864,"45":-3987444866494078976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-07 21:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560623872001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:30:39] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 21:30:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341994111043108864,"km_value":341994111043108.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3987444866494078976,"description":"Unknown IO ID 45"} 
[2026-07-07 21:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560623872001,"power":27267,"unknown_147":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3987444866494078976}} 
[2026-07-07 21:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":126871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:30:39] local.INFO: GPS data processed {"connection_id":126871,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:30:39] local.INFO: Acknowledgment sent {"connection_id":126871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:30:43] local.INFO: TCP Data received {"connection_id":124895,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:30:43] local.INFO: Processing buffer {"connection_id":124895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:30:43] local.INFO: Packet analysis {"connection_id":124895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4b"} 
[2026-07-07 21:30:43] local.INFO: Extracted packet for processing {"connection_id":124895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4b"} 
[2026-07-07 21:30:43] local.INFO: GPS Element Parsed {"raw_longitude":762815552,"raw_latitude":99788208,"longitude_deg":76.2815552,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a440","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:30: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-07-07 21:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560588800001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 21:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783439812000,"timestamp_ms":1783439812000,"timestamp_seconds":1783439812,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4be5a0"} 
[2026-07-07 21:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:30: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-07-07 21: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 21:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21: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-07-07 21:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560588800001,"66":28398,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560588800001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:30:43] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:30:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 21:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560588800001,"power":28398,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 21:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":124895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447867,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:30:43] local.INFO: GPS data processed {"connection_id":124895,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:30:43] local.INFO: Acknowledgment sent {"connection_id":124895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:30:58] local.INFO: TCP Data received {"connection_id":124896,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:30:58] local.INFO: Processing buffer {"connection_id":124896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:30:58] local.INFO: IMEI packet received {"connection_id":124896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":124896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:30:58] local.INFO: TCP Data received {"connection_id":124897,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:30:58] local.INFO: Processing buffer {"connection_id":124897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:30:58] local.INFO: IMEI packet received {"connection_id":124897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":124897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:30:58] local.INFO: TCP Data received {"connection_id":124896,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:30:58] local.INFO: Processing buffer {"connection_id":124896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:30:58] local.INFO: IMEI packet received {"connection_id":124896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":124896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:31:03] local.INFO: TCP Data received {"connection_id":124897,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:31:03] local.INFO: Processing buffer {"connection_id":124897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:31:03] local.INFO: IMEI packet received {"connection_id":124897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":124897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:31:03] local.INFO: TCP Data received {"connection_id":124896,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:31:03] local.INFO: Processing buffer {"connection_id":124896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:31:03] local.INFO: IMEI packet received {"connection_id":124896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":124896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:31:08] local.INFO: TCP Data received {"connection_id":124897,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:31:08] local.INFO: Processing buffer {"connection_id":124897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:31:08] local.INFO: Packet analysis {"connection_id":124897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4b"} 
[2026-07-07 21:31:08] local.INFO: Extracted packet for processing {"connection_id":124897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4b"} 
[2026-07-07 21:31:08] local.INFO: GPS Element Parsed {"raw_longitude":762815552,"raw_latitude":99788208,"longitude_deg":76.2815552,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a440","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560588800001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 21:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783439812000,"timestamp_ms":1783439812000,"timestamp_seconds":1783439812,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4be5a0"} 
[2026-07-07 21:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 21:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560588800001,"66":28398,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560588800001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:31:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:31:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 21:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560588800001,"power":28398,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 21:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":124897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447868,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:31:08] local.INFO: GPS data processed {"connection_id":124897,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:31:08] local.INFO: Acknowledgment sent {"connection_id":124897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:31:09] local.INFO: TCP Data received {"connection_id":124897,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:31:09] local.INFO: Processing buffer {"connection_id":124897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:31:09] local.INFO: Packet analysis {"connection_id":124897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4b"} 
[2026-07-07 21:31:09] local.INFO: Extracted packet for processing {"connection_id":124897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4b"} 
[2026-07-07 21:31:09] local.INFO: GPS Element Parsed {"raw_longitude":762815552,"raw_latitude":99788208,"longitude_deg":76.2815552,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a440","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560588800001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 21:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783439812000,"timestamp_ms":1783439812000,"timestamp_seconds":1783439812,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4be5a0"} 
[2026-07-07 21:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 21:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560588800001,"66":28398,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560588800001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:31:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:31:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 21:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560588800001,"power":28398,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 21:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":124897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447869,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:31:09] local.INFO: GPS data processed {"connection_id":124897,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:31:09] local.INFO: Acknowledgment sent {"connection_id":124897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:31:10] local.INFO: TCP Data received {"connection_id":124896,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4e4ae8012dc8aa0005332bf0003900092e..."} 
[2026-07-07 21:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4e4ae8012dc8aa0005332bf0003900092e..."} 
[2026-07-07 21:31:10] local.INFO: Processing buffer {"connection_id":124896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4e4ae8012dc8aa0005332bf0003900092e..."} 
[2026-07-07 21:31:10] local.INFO: Packet analysis {"connection_id":124896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4e"} 
[2026-07-07 21:31:10] local.INFO: Extracted packet for processing {"connection_id":124896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4e"} 
[2026-07-07 21:31:10] local.INFO: GPS Element Parsed {"raw_longitude":768125440,"raw_latitude":87239664,"longitude_deg":76.812544,"latitude_deg":8.7239664,"altitude":57,"angle":9,"satellites":46,"speed":2,"hex_longitude":"2dc8aa00","hex_latitude":"05332bf0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560629248001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341994132517945344,"note":"Value kept but may cause issues"} 
[2026-07-07 21:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3987444866494078976,"note":"Value kept but may cause issues"} 
[2026-07-07 21:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783439969000,"timestamp_ms":1783439969000,"timestamp_seconds":1783439969,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4e4ae8"} 
[2026-07-07 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-07-07 21:31: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-07-07 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 21:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 21:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560629248001,"66":27343,"147":206,"80":35072,"24":2,"16":341994132517945344,"45":-3987444866494078976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-07 21:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560629248001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:31:10] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 21:31:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341994132517945344,"km_value":341994132517945.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3987444866494078976,"description":"Unknown IO ID 45"} 
[2026-07-07 21:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560629248001,"power":27343,"unknown_147":206,"unknown_80":35072,"ignition":2,"odometer":null,"unknown_45":-3987444866494078976}} 
[2026-07-07 21:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":124896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:31:11] local.INFO: GPS data processed {"connection_id":124896,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:31:11] local.INFO: Acknowledgment sent {"connection_id":124896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:31:41] local.INFO: TCP Data received {"connection_id":124897,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:31:41] local.INFO: Processing buffer {"connection_id":124897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:31:41] local.INFO: Packet analysis {"connection_id":124897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4b"} 
[2026-07-07 21:31:41] local.INFO: Extracted packet for processing {"connection_id":124897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4b"} 
[2026-07-07 21:31:41] local.INFO: GPS Element Parsed {"raw_longitude":762815552,"raw_latitude":99788208,"longitude_deg":76.2815552,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a440","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560588800001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 21:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783439812000,"timestamp_ms":1783439812000,"timestamp_seconds":1783439812,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4be5a0"} 
[2026-07-07 21:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:31: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-07-07 21:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 21:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560588800001,"66":28398,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560588800001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:31:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:31:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 21:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560588800001,"power":28398,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 21:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":124897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447871,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:31:41] local.INFO: GPS data processed {"connection_id":124897,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:31:41] local.INFO: Acknowledgment sent {"connection_id":124897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:31:42] local.INFO: TCP Data received {"connection_id":124896,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4e6640012dc8ab00053332b8003801662e..."} 
[2026-07-07 21:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4e6640012dc8ab00053332b8003801662e..."} 
[2026-07-07 21:31:42] local.INFO: Processing buffer {"connection_id":124896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4e6640012dc8ab00053332b8003801662e..."} 
[2026-07-07 21:31:42] local.INFO: Packet analysis {"connection_id":124896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4e"} 
[2026-07-07 21:31:42] local.INFO: Extracted packet for processing {"connection_id":124896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4e"} 
[2026-07-07 21:31:42] local.INFO: GPS Element Parsed {"raw_longitude":768125696,"raw_latitude":87241400,"longitude_deg":76.8125696,"latitude_deg":8.72414,"altitude":56,"angle":358,"satellites":46,"speed":17,"hex_longitude":"2dc8ab00","hex_latitude":"053332b8","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560632064001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341994218417291264,"note":"Value kept but may cause issues"} 
[2026-07-07 21:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3987374497749798912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783439976000,"timestamp_ms":1783439976000,"timestamp_seconds":1783439976,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4e6640"} 
[2026-07-07 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-07-07 21: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-07-07 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 21: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-07-07 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-07-07 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-07-07 21:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560632064001,"66":27376,"147":206,"80":35072,"24":17,"16":341994218417291264,"45":-3987374497749798912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-07 21:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560632064001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:31:42] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-07 21:31:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341994218417291264,"km_value":341994218417291.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3987374497749798912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560632064001,"power":27376,"unknown_147":206,"unknown_80":35072,"ignition":17,"odometer":null,"unknown_45":-3987374497749798912}} 
[2026-07-07 21:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":124896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:31:42] local.INFO: GPS data processed {"connection_id":124896,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:31:42] local.INFO: Acknowledgment sent {"connection_id":124896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:31:58] local.INFO: TCP Data received {"connection_id":125619,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:31:58] local.INFO: Processing buffer {"connection_id":125619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:31:58] local.INFO: IMEI packet received {"connection_id":125619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":125619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:31:58] local.INFO: TCP Data received {"connection_id":124806,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:31:58] local.INFO: Processing buffer {"connection_id":124806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:31:58] local.INFO: IMEI packet received {"connection_id":124806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":124806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:31:59] local.INFO: TCP Data received {"connection_id":124806,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:31:59] local.INFO: Processing buffer {"connection_id":124806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:31:59] local.INFO: IMEI packet received {"connection_id":124806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":124806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:32:03] local.INFO: TCP Data received {"connection_id":124806,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:32:03] local.INFO: Processing buffer {"connection_id":124806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:32:03] local.INFO: IMEI packet received {"connection_id":124806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":124806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:32:03] local.INFO: TCP Data received {"connection_id":125619,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:32:03] local.INFO: Processing buffer {"connection_id":125619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:32:03] local.INFO: IMEI packet received {"connection_id":125619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":125619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:32:04] local.INFO: TCP Data received {"connection_id":124806,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4e9cf0012dc8aac005335730003501672b..."} 
[2026-07-07 21:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4e9cf0012dc8aac005335730003501672b..."} 
[2026-07-07 21:32:04] local.INFO: Processing buffer {"connection_id":124806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4e9cf0012dc8aac005335730003501672b..."} 
[2026-07-07 21:32:04] local.INFO: Packet analysis {"connection_id":124806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4e"} 
[2026-07-07 21:32:04] local.INFO: Extracted packet for processing {"connection_id":124806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4e"} 
[2026-07-07 21:32:04] local.INFO: GPS Element Parsed {"raw_longitude":768125632,"raw_latitude":87250736,"longitude_deg":76.8125632,"latitude_deg":8.7250736,"altitude":53,"angle":359,"satellites":43,"speed":31,"hex_longitude":"2dc8aac0","hex_latitude":"05335730","is_valid_coordinates":true} 
[2026-07-07 21:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560633856001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":341994669388857344,"note":"Value kept but may cause issues"} 
[2026-07-07 21:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3987093022772643840,"note":"Value kept but may cause issues"} 
[2026-07-07 21:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783439990000,"timestamp_ms":1783439990000,"timestamp_seconds":1783439990,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4e9cf0"} 
[2026-07-07 21:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 21:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560633856001,"66":27321,"72":206,"80":35072,"24":31,"16":341994669388857344,"45":-3987093022772643840},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,80,24,16,45]} 
[2026-07-07 21:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560633856001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:32:04] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-07 21:32:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":341994669388857344,"km_value":341994669388857.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3987093022772643840,"description":"Unknown IO ID 45"} 
[2026-07-07 21:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560633856001,"power":27321,"unknown_72":206,"unknown_80":35072,"ignition":31,"odometer":null,"unknown_45":-3987093022772643840}} 
[2026-07-07 21:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":124806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:32:04] local.INFO: GPS data processed {"connection_id":124806,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:32:04] local.INFO: Acknowledgment sent {"connection_id":124806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:32:05] local.INFO: TCP Data received {"connection_id":125619,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:32:05] local.INFO: Processing buffer {"connection_id":125619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d4be5a0012d77a44005f2a5b0000a015626..."} 
[2026-07-07 21:32:05] local.INFO: Packet analysis {"connection_id":125619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d4b"} 
[2026-07-07 21:32:05] local.INFO: Extracted packet for processing {"connection_id":125619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d4b"} 
[2026-07-07 21:32:05] local.INFO: GPS Element Parsed {"raw_longitude":762815552,"raw_latitude":99788208,"longitude_deg":76.2815552,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a440","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560588800001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 21:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783439812000,"timestamp_ms":1783439812000,"timestamp_seconds":1783439812,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d4be5a0"} 
[2026-07-07 21:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-07 21:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560588800001,"66":28398,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560588800001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:32:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:32:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 21:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560588800001,"power":28398,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 21:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":125619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447874,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:32:05] local.INFO: GPS data processed {"connection_id":125619,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:32:05] local.INFO: Acknowledgment sent {"connection_id":125619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:32:35] local.INFO: TCP Data received {"connection_id":124806,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d505a40012dc7f600053522c0002601322b..."} 
[2026-07-07 21:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d505a40012dc7f600053522c0002601322b..."} 
[2026-07-07 21:32:35] local.INFO: Processing buffer {"connection_id":124806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d505a40012dc7f600053522c0002601322b..."} 
[2026-07-07 21:32:35] local.INFO: Packet analysis {"connection_id":124806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:32:35] local.INFO: Extracted packet for processing {"connection_id":124806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:32:35] local.INFO: GPS Element Parsed {"raw_longitude":768079360,"raw_latitude":87368384,"longitude_deg":76.807936,"latitude_deg":8.7368384,"altitude":38,"angle":306,"satellites":43,"speed":55,"hex_longitude":"2dc7f600","hex_latitude":"053522c0","is_valid_coordinates":true} 
[2026-07-07 21:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560664832001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342001017350520832,"note":"Value kept but may cause issues"} 
[2026-07-07 21:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4029243900503865344,"note":"Value kept but may cause issues"} 
[2026-07-07 21:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783440104000,"timestamp_ms":1783440104000,"timestamp_seconds":1783440104,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d505a40"} 
[2026-07-07 21:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:32: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-07-07 21:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-07 21:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:32: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-07-07 21:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560664832001,"66":27365,"27":206,"80":35072,"24":55,"16":342001017350520832,"45":-4029243900503865344},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,80,24,16,45]} 
[2026-07-07 21:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560664832001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:32:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-07 21:32:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342001017350520832,"km_value":342001017350520.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4029243900503865344,"description":"Unknown IO ID 45"} 
[2026-07-07 21:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560664832001,"power":27365,"unknown_27":206,"unknown_80":35072,"ignition":55,"odometer":null,"unknown_45":-4029243900503865344}} 
[2026-07-07 21:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":124806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:32:35] local.INFO: GPS data processed {"connection_id":124806,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:32:35] local.INFO: Acknowledgment sent {"connection_id":124806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:32:37] local.INFO: TCP Data received {"connection_id":125619,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:32:37] local.INFO: Processing buffer {"connection_id":125619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:32:37] local.INFO: Packet analysis {"connection_id":125619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:32:37] local.INFO: Extracted packet for processing {"connection_id":125619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:32:37] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560591872001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 21:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783440116000,"timestamp_ms":1783440116000,"timestamp_seconds":1783440116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d508920"} 
[2026-07-07 21:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-07 21:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560591872001,"66":26202,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560591872001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:32:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:32:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 21:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560591872001,"power":26202,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 21:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":125619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447876,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:32:37] local.INFO: GPS data processed {"connection_id":125619,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:32:37] local.INFO: Acknowledgment sent {"connection_id":125619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:32:58] local.INFO: TCP Data received {"connection_id":126872,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:32:58] local.INFO: Processing buffer {"connection_id":126872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:32:58] local.INFO: IMEI packet received {"connection_id":126872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":126872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:32:59] local.INFO: TCP Data received {"connection_id":126872,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:32:59] local.INFO: Processing buffer {"connection_id":126872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:32:59] local.INFO: IMEI packet received {"connection_id":126872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":126872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:33:03] local.INFO: TCP Data received {"connection_id":126872,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:33:03] local.INFO: Processing buffer {"connection_id":126872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:33:03] local.INFO: IMEI packet received {"connection_id":126872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":126872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:33:04] local.INFO: TCP Data received {"connection_id":125620,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:33:04] local.INFO: Processing buffer {"connection_id":125620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:33:04] local.INFO: IMEI packet received {"connection_id":125620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":125620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:33:04] local.INFO: TCP Data received {"connection_id":126872,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5071b0012dc7dc80053539a8002201402a..."} 
[2026-07-07 21:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5071b0012dc7dc80053539a8002201402a..."} 
[2026-07-07 21:33:04] local.INFO: Processing buffer {"connection_id":126872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5071b0012dc7dc80053539a8002201402a..."} 
[2026-07-07 21:33:04] local.INFO: Packet analysis {"connection_id":126872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:33:04] local.INFO: Extracted packet for processing {"connection_id":126872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:33:04] local.INFO: GPS Element Parsed {"raw_longitude":768072832,"raw_latitude":87374248,"longitude_deg":76.8072832,"latitude_deg":8.7374248,"altitude":34,"angle":320,"satellites":42,"speed":59,"hex_longitude":"2dc7dc80","hex_latitude":"053539a8","is_valid_coordinates":true} 
[2026-07-07 21:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560666624001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342001442552283136,"note":"Value kept but may cause issues"} 
[2026-07-07 21:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4038039993524764672,"note":"Value kept but may cause issues"} 
[2026-07-07 21:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783440110000,"timestamp_ms":1783440110000,"timestamp_seconds":1783440110,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5071b0"} 
[2026-07-07 21:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-07 21:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560666624001,"66":27310,"27":206,"80":35072,"24":59,"16":342001442552283136,"45":-4038039993524764672},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,80,24,16,45]} 
[2026-07-07 21:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560666624001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:33:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-07 21:33:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342001442552283136,"km_value":342001442552283.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4038039993524764672,"description":"Unknown IO ID 45"} 
[2026-07-07 21:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560666624001,"power":27310,"unknown_27":206,"unknown_80":35072,"ignition":59,"odometer":null,"unknown_45":-4038039993524764672}} 
[2026-07-07 21:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":126872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:33:04] local.INFO: GPS data processed {"connection_id":126872,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:33:04] local.INFO: Acknowledgment sent {"connection_id":126872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:33:08] local.INFO: TCP Data received {"connection_id":125620,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:33:08] local.INFO: Processing buffer {"connection_id":125620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:33:08] local.INFO: IMEI packet received {"connection_id":125620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":125620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:33:09] local.INFO: TCP Data received {"connection_id":125620,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:33:09] local.INFO: Processing buffer {"connection_id":125620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:33:09] local.INFO: Packet analysis {"connection_id":125620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:33:09] local.INFO: Extracted packet for processing {"connection_id":125620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:33:09] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560591872001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 21:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783440116000,"timestamp_ms":1783440116000,"timestamp_seconds":1783440116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d508920"} 
[2026-07-07 21:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-07 21:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560591872001,"66":26202,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560591872001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:33:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:33:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 21:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560591872001,"power":26202,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 21:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":125620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447878,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:33:09] local.INFO: GPS data processed {"connection_id":125620,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:33:09] local.INFO: Acknowledgment sent {"connection_id":125620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:33:38] local.INFO: TCP Data received {"connection_id":126872,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d508920012dc7c60005355620001c014225..."} 
[2026-07-07 21:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d508920012dc7c60005355620001c014225..."} 
[2026-07-07 21:33:38] local.INFO: Processing buffer {"connection_id":126872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d508920012dc7c60005355620001c014225..."} 
[2026-07-07 21:33:38] local.INFO: Packet analysis {"connection_id":126872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:33:38] local.INFO: Extracted packet for processing {"connection_id":126872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:33:38] local.INFO: GPS Element Parsed {"raw_longitude":768067072,"raw_latitude":87381536,"longitude_deg":76.8067072,"latitude_deg":8.7381536,"altitude":28,"angle":322,"satellites":37,"speed":61,"hex_longitude":"2dc7c600","hex_latitude":"05355620","is_valid_coordinates":true} 
[2026-07-07 21:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560668160001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342001889228881920,"note":"Value kept but may cause issues"} 
[2026-07-07 21:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4045217605429385216,"note":"Value kept but may cause issues"} 
[2026-07-07 21:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783440116000,"timestamp_ms":1783440116000,"timestamp_seconds":1783440116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d508920"} 
[2026-07-07 21:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-07 21:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:33: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-07-07 21:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560668160001,"66":27310,"27":206,"80":35072,"24":61,"16":342001889228881920,"45":-4045217605429385216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,80,24,16,45]} 
[2026-07-07 21:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560668160001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:33:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-07 21:33:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342001889228881920,"km_value":342001889228881.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4045217605429385216,"description":"Unknown IO ID 45"} 
[2026-07-07 21:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560668160001,"power":27310,"unknown_27":206,"unknown_80":35072,"ignition":61,"odometer":null,"unknown_45":-4045217605429385216}} 
[2026-07-07 21:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":126872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:33:38] local.INFO: GPS data processed {"connection_id":126872,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:33:38] local.INFO: Acknowledgment sent {"connection_id":126872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:33:40] local.INFO: TCP Data received {"connection_id":125620,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:33:40] local.INFO: Processing buffer {"connection_id":125620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:33:40] local.INFO: Packet analysis {"connection_id":125620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:33:40] local.INFO: Extracted packet for processing {"connection_id":125620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:33:40] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560591872001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 21:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783440116000,"timestamp_ms":1783440116000,"timestamp_seconds":1783440116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d508920"} 
[2026-07-07 21:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-07 21:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560591872001,"66":26202,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560591872001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:33:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:33:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 21:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560591872001,"power":26202,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 21:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":125620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447880,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:33:41] local.INFO: GPS data processed {"connection_id":125620,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:33:41] local.INFO: Acknowledgment sent {"connection_id":125620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:33:58] local.INFO: TCP Data received {"connection_id":125621,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:33:58] local.INFO: Processing buffer {"connection_id":125621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:33:58] local.INFO: IMEI packet received {"connection_id":125621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":125621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:33:58] local.INFO: TCP Data received {"connection_id":124807,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:33:58] local.INFO: Processing buffer {"connection_id":124807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:33:58] local.INFO: IMEI packet received {"connection_id":124807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":124807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:34:03] local.INFO: TCP Data received {"connection_id":125621,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:34:03] local.INFO: Processing buffer {"connection_id":125621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:34:03] local.INFO: IMEI packet received {"connection_id":125621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":125621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:34:03] local.INFO: TCP Data received {"connection_id":124807,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:34:03] local.INFO: Processing buffer {"connection_id":124807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:34:03] local.INFO: IMEI packet received {"connection_id":124807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":124807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:34:04] local.INFO: TCP Data received {"connection_id":125621,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d50a090012dc7afc0053574580019014427..."} 
[2026-07-07 21:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d50a090012dc7afc0053574580019014427..."} 
[2026-07-07 21:34:04] local.INFO: Processing buffer {"connection_id":125621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d50a090012dc7afc0053574580019014427..."} 
[2026-07-07 21:34:04] local.INFO: Packet analysis {"connection_id":125621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:34:04] local.INFO: Extracted packet for processing {"connection_id":125621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:34:04] local.INFO: GPS Element Parsed {"raw_longitude":768061376,"raw_latitude":87389272,"longitude_deg":76.8061376,"latitude_deg":8.7389272,"altitude":25,"angle":324,"satellites":39,"speed":64,"hex_longitude":"2dc7afc0","hex_latitude":"05357458","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560669696001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342002353085349888,"note":"Value kept but may cause issues"} 
[2026-07-07 21:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4051550792403509248,"note":"Value kept but may cause issues"} 
[2026-07-07 21:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783440122000,"timestamp_ms":1783440122000,"timestamp_seconds":1783440122,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d50a090"} 
[2026-07-07 21:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-07 21:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21: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-07-07 21:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560669696001,"66":27343,"27":206,"80":35072,"24":64,"16":342002353085349888,"45":-4051550792403509248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,80,24,16,45]} 
[2026-07-07 21:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560669696001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:34:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-07 21:34:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342002353085349888,"km_value":342002353085349.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4051550792403509248,"description":"Unknown IO ID 45"} 
[2026-07-07 21:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560669696001,"power":27343,"unknown_27":206,"unknown_80":35072,"ignition":64,"odometer":null,"unknown_45":-4051550792403509248}} 
[2026-07-07 21:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":125621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:34:04] local.INFO: GPS data processed {"connection_id":125621,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:34:04] local.INFO: Acknowledgment sent {"connection_id":125621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:34:08] local.INFO: TCP Data received {"connection_id":124807,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:34:08] local.INFO: Processing buffer {"connection_id":124807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:34:08] local.INFO: Packet analysis {"connection_id":124807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:34:08] local.INFO: Extracted packet for processing {"connection_id":124807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:34:08] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560591872001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 21:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783440116000,"timestamp_ms":1783440116000,"timestamp_seconds":1783440116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d508920"} 
[2026-07-07 21:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-07 21:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560591872001,"66":26202,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560591872001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:34:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:34:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 21:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560591872001,"power":26202,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 21:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":124807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447882,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:34:08] local.INFO: GPS data processed {"connection_id":124807,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:34:08] local.INFO: Acknowledgment sent {"connection_id":124807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:34:37] local.INFO: TCP Data received {"connection_id":125621,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d51f850012dc6c1400536bfa00030014628..."} 
[2026-07-07 21:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d51f850012dc6c1400536bfa00030014628..."} 
[2026-07-07 21:34:37] local.INFO: Processing buffer {"connection_id":125621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d51f850012dc6c1400536bfa00030014628..."} 
[2026-07-07 21:34:37] local.INFO: Packet analysis {"connection_id":125621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d51"} 
[2026-07-07 21:34:37] local.INFO: Extracted packet for processing {"connection_id":125621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d51"} 
[2026-07-07 21:34:37] local.INFO: GPS Element Parsed {"raw_longitude":768000320,"raw_latitude":87474080,"longitude_deg":76.800032,"latitude_deg":8.747408,"altitude":48,"angle":326,"satellites":40,"speed":27,"hex_longitude":"2dc6c140","hex_latitude":"0536bfa0","is_valid_coordinates":true} 
[2026-07-07 21:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560690944001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342007446916562944,"note":"Value kept but may cause issues"} 
[2026-07-07 21:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4118752943071287296,"note":"Value kept but may cause issues"} 
[2026-07-07 21:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783440210000,"timestamp_ms":1783440210000,"timestamp_seconds":1783440210,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d51f850"} 
[2026-07-07 21:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 21:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:34: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-07-07 21:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560690944001,"66":27332,"111":206,"80":35072,"24":27,"16":342007446916562944,"45":-4118752943071287296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-07-07 21:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560690944001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:34:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-07 21:34:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342007446916562944,"km_value":342007446916562.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4118752943071287296,"description":"Unknown IO ID 45"} 
[2026-07-07 21:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560690944001,"power":27332,"unknown_111":206,"unknown_80":35072,"ignition":27,"odometer":null,"unknown_45":-4118752943071287296}} 
[2026-07-07 21:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":125621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:34:37] local.INFO: GPS data processed {"connection_id":125621,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:34:37] local.INFO: Acknowledgment sent {"connection_id":125621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:34:40] local.INFO: TCP Data received {"connection_id":124807,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:34:40] local.INFO: Processing buffer {"connection_id":124807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:34:40] local.INFO: Packet analysis {"connection_id":124807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:34:40] local.INFO: Extracted packet for processing {"connection_id":124807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:34:40] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560591872001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 21:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783440116000,"timestamp_ms":1783440116000,"timestamp_seconds":1783440116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d508920"} 
[2026-07-07 21:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-07 21:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560591872001,"66":26202,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560591872001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:34:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:34:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 21:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560591872001,"power":26202,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 21:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":124807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447884,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:34:40] local.INFO: GPS data processed {"connection_id":124807,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:34:40] local.INFO: Acknowledgment sent {"connection_id":124807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:34:58] local.INFO: TCP Data received {"connection_id":126873,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:34:58] local.INFO: Processing buffer {"connection_id":126873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:34:58] local.INFO: IMEI packet received {"connection_id":126873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":126873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:35:03] local.INFO: TCP Data received {"connection_id":125622,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:35:03] local.INFO: Processing buffer {"connection_id":125622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:35:03] local.INFO: IMEI packet received {"connection_id":125622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":125622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:35:03] local.INFO: TCP Data received {"connection_id":126873,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:35:03] local.INFO: Processing buffer {"connection_id":126873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:35:03] local.INFO: IMEI packet received {"connection_id":126873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":126873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:35:04] local.INFO: TCP Data received {"connection_id":125622,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:35:04] local.INFO: Processing buffer {"connection_id":125622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:35:04] local.INFO: IMEI packet received {"connection_id":125622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":125622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:35:04] local.INFO: TCP Data received {"connection_id":126873,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:35:04] local.INFO: Processing buffer {"connection_id":126873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:35:04] local.INFO: Packet analysis {"connection_id":126873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:35:04] local.INFO: Extracted packet for processing {"connection_id":126873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:35:04] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560591872001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 21:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783440116000,"timestamp_ms":1783440116000,"timestamp_seconds":1783440116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d508920"} 
[2026-07-07 21:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-07 21:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560591872001,"66":26202,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560591872001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:35:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:35:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 21:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560591872001,"power":26202,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 21:35:04] local.INFO: TCP Data received {"connection_id":125622,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d522f00012dc6acc00536de70002f01452c..."} 
[2026-07-07 21:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d522f00012dc6acc00536de70002f01452c..."} 
[2026-07-07 21:35:04] local.INFO: Processing buffer {"connection_id":125622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d522f00012dc6acc00536de70002f01452c..."} 
[2026-07-07 21:35:04] local.INFO: Packet analysis {"connection_id":125622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d52"} 
[2026-07-07 21:35:04] local.INFO: Extracted packet for processing {"connection_id":125622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d52"} 
[2026-07-07 21:35:04] local.INFO: GPS Element Parsed {"raw_longitude":767995072,"raw_latitude":87481968,"longitude_deg":76.7995072,"latitude_deg":8.7481968,"altitude":47,"angle":325,"satellites":44,"speed":29,"hex_longitude":"2dc6acc0","hex_latitude":"0536de70","is_valid_coordinates":true} 
[2026-07-07 21:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560693760001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342007906478063616,"note":"Value kept but may cause issues"} 
[2026-07-07 21:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4124945392557121536,"note":"Value kept but may cause issues"} 
[2026-07-07 21:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783440224000,"timestamp_ms":1783440224000,"timestamp_seconds":1783440224,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d522f00"} 
[2026-07-07 21:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-07 21:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560693760001,"66":27376,"111":206,"80":35072,"24":29,"16":342007906478063616,"45":-4124945392557121536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-07-07 21:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560693760001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:35:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-07 21:35:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342007906478063616,"km_value":342007906478063.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4124945392557121536,"description":"Unknown IO ID 45"} 
[2026-07-07 21:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560693760001,"power":27376,"unknown_111":206,"unknown_80":35072,"ignition":29,"odometer":null,"unknown_45":-4124945392557121536}} 
[2026-07-07 21:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":125622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:35:04] local.INFO: GPS data processed {"connection_id":125622,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:35:04] local.INFO: Acknowledgment sent {"connection_id":125622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":126873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447886,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:35:04] local.INFO: GPS data processed {"connection_id":126873,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:35:04] local.INFO: Acknowledgment sent {"connection_id":126873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:35:08] local.INFO: TCP Data received {"connection_id":125622,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5259f8012dc697800536f9780030013a28..."} 
[2026-07-07 21:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5259f8012dc697800536f9780030013a28..."} 
[2026-07-07 21:35:08] local.INFO: Processing buffer {"connection_id":125622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5259f8012dc697800536f9780030013a28..."} 
[2026-07-07 21:35:08] local.INFO: Packet analysis {"connection_id":125622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d52"} 
[2026-07-07 21:35:08] local.INFO: Extracted packet for processing {"connection_id":125622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d52"} 
[2026-07-07 21:35:08] local.INFO: GPS Element Parsed {"raw_longitude":767989632,"raw_latitude":87488888,"longitude_deg":76.7989632,"latitude_deg":8.7488888,"altitude":48,"angle":314,"satellites":40,"speed":37,"hex_longitude":"2dc69780","hex_latitude":"0536f978","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560697344001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342008331679825920,"note":"Value kept but may cause issues"} 
[2026-07-07 21:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4130715629577670656,"note":"Value kept but may cause issues"} 
[2026-07-07 21:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783440235000,"timestamp_ms":1783440235000,"timestamp_seconds":1783440235,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5259f8"} 
[2026-07-07 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-07-07 21:35: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-07-07 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 21:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21: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-07-07 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-07-07 21:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:35: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-07-07 21:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560697344001,"66":27343,"111":206,"80":35072,"24":37,"16":342008331679825920,"45":-4130715629577670656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-07-07 21:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560697344001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:35:08] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-07 21:35:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342008331679825920,"km_value":342008331679825.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4130715629577670656,"description":"Unknown IO ID 45"} 
[2026-07-07 21:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560697344001,"power":27343,"unknown_111":206,"unknown_80":35072,"ignition":37,"odometer":null,"unknown_45":-4130715629577670656}} 
[2026-07-07 21:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":125622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:35:08] local.INFO: GPS data processed {"connection_id":125622,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:35:08] local.INFO: Acknowledgment sent {"connection_id":125622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:35:38] local.INFO: TCP Data received {"connection_id":125622,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d528108012dc67ac005371010002f01322d..."} 
[2026-07-07 21:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d528108012dc67ac005371010002f01322d..."} 
[2026-07-07 21:35:38] local.INFO: Processing buffer {"connection_id":125622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d528108012dc67ac005371010002f01322d..."} 
[2026-07-07 21:35:38] local.INFO: Packet analysis {"connection_id":125622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d52"} 
[2026-07-07 21:35:38] local.INFO: Extracted packet for processing {"connection_id":125622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d52"} 
[2026-07-07 21:35:38] local.INFO: GPS Element Parsed {"raw_longitude":767982272,"raw_latitude":87494672,"longitude_deg":76.7982272,"latitude_deg":8.7494672,"altitude":47,"angle":306,"satellites":45,"speed":33,"hex_longitude":"2dc67ac0","hex_latitude":"05371010","is_valid_coordinates":true} 
[2026-07-07 21:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560700160001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342008782651392000,"note":"Value kept but may cause issues"} 
[2026-07-07 21:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4136696972831000576,"note":"Value kept but may cause issues"} 
[2026-07-07 21:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783440245000,"timestamp_ms":1783440245000,"timestamp_seconds":1783440245,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d528108"} 
[2026-07-07 21:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-07 21:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:35: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-07-07 21:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560700160001,"66":27267,"113":206,"80":35072,"24":33,"16":342008782651392000,"45":-4136696972831000576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560700160001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:35:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:35:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342008782651392000,"km_value":342008782651392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4136696972831000576,"description":"Unknown IO ID 45"} 
[2026-07-07 21:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560700160001,"power":27267,"unknown_113":206,"unknown_80":35072,"ignition":33,"odometer":null,"unknown_45":-4136696972831000576}} 
[2026-07-07 21:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":125622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:35:38] local.INFO: GPS data processed {"connection_id":125622,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:35:38] local.INFO: Acknowledgment sent {"connection_id":125622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:35:39] local.INFO: TCP Data received {"connection_id":126873,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:35:39] local.INFO: Processing buffer {"connection_id":126873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:35:39] local.INFO: Packet analysis {"connection_id":126873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:35:39] local.INFO: Extracted packet for processing {"connection_id":126873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:35:39] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560591872001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 21:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783440116000,"timestamp_ms":1783440116000,"timestamp_seconds":1783440116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d508920"} 
[2026-07-07 21:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-07 21:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560591872001,"66":26202,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560591872001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:35:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:35:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 21:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560591872001,"power":26202,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 21:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":126873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447889,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:35:39] local.INFO: GPS data processed {"connection_id":126873,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:35:39] local.INFO: Acknowledgment sent {"connection_id":126873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:35:58] local.INFO: TCP Data received {"connection_id":125623,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:35:58] local.INFO: Processing buffer {"connection_id":125623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:35:58] local.INFO: IMEI packet received {"connection_id":125623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":125623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:36:03] local.INFO: TCP Data received {"connection_id":125623,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:36:03] local.INFO: Processing buffer {"connection_id":125623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:36:03] local.INFO: IMEI packet received {"connection_id":125623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":125623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:36:03] local.INFO: TCP Data received {"connection_id":124898,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:36:03] local.INFO: Processing buffer {"connection_id":124898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:36:03] local.INFO: IMEI packet received {"connection_id":124898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":124898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:36:04] local.INFO: TCP Data received {"connection_id":125623,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d52ac00012dc65e0005372418002f01372c..."} 
[2026-07-07 21:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d52ac00012dc65e0005372418002f01372c..."} 
[2026-07-07 21:36:04] local.INFO: Processing buffer {"connection_id":125623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d52ac00012dc65e0005372418002f01372c..."} 
[2026-07-07 21:36:04] local.INFO: Packet analysis {"connection_id":125623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d52"} 
[2026-07-07 21:36:04] local.INFO: Extracted packet for processing {"connection_id":125623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d52"} 
[2026-07-07 21:36:04] local.INFO: GPS Element Parsed {"raw_longitude":767974912,"raw_latitude":87499800,"longitude_deg":76.7974912,"latitude_deg":8.74998,"altitude":47,"angle":311,"satellites":44,"speed":32,"hex_longitude":"2dc65e00","hex_latitude":"05372418","is_valid_coordinates":true} 
[2026-07-07 21:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560702720001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342009212148121600,"note":"Value kept but may cause issues"} 
[2026-07-07 21:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4144789378409951232,"note":"Value kept but may cause issues"} 
[2026-07-07 21:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783440256000,"timestamp_ms":1783440256000,"timestamp_seconds":1783440256,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d52ac00"} 
[2026-07-07 21:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 21:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560702720001,"66":27321,"113":206,"80":35072,"24":32,"16":342009212148121600,"45":-4144789378409951232},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560702720001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:36:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:36:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342009212148121600,"km_value":342009212148121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4144789378409951232,"description":"Unknown IO ID 45"} 
[2026-07-07 21:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560702720001,"power":27321,"unknown_113":206,"unknown_80":35072,"ignition":32,"odometer":null,"unknown_45":-4144789378409951232}} 
[2026-07-07 21:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":125623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:36:04] local.INFO: GPS data processed {"connection_id":125623,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:36:04] local.INFO: Acknowledgment sent {"connection_id":125623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:36:08] local.INFO: TCP Data received {"connection_id":124898,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:36:08] local.INFO: Processing buffer {"connection_id":124898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:36:08] local.INFO: IMEI packet received {"connection_id":124898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":124898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:36:13] local.INFO: TCP Data received {"connection_id":124898,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:36:13] local.INFO: Processing buffer {"connection_id":124898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:36:13] local.INFO: Packet analysis {"connection_id":124898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:36:13] local.INFO: Extracted packet for processing {"connection_id":124898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:36:13] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560591872001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 21:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783440116000,"timestamp_ms":1783440116000,"timestamp_seconds":1783440116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d508920"} 
[2026-07-07 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-07-07 21:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-07 21:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 21:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560591872001,"66":26202,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560591872001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:36:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:36:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 21:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560591872001,"power":26202,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 21:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":124898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447891,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:36:13] local.INFO: GPS data processed {"connection_id":124898,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:36:13] local.INFO: Acknowledgment sent {"connection_id":124898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:36:14] local.INFO: TCP Data received {"connection_id":124898,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:36:14] local.INFO: Processing buffer {"connection_id":124898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:36:14] local.INFO: Packet analysis {"connection_id":124898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:36:14] local.INFO: Extracted packet for processing {"connection_id":124898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:36:14] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560591872001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 21:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783440116000,"timestamp_ms":1783440116000,"timestamp_seconds":1783440116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d508920"} 
[2026-07-07 21:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-07 21:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560591872001,"66":26202,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560591872001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:36:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:36:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 21:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560591872001,"power":26202,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 21:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":124898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447892,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:36:15] local.INFO: GPS data processed {"connection_id":124898,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:36:15] local.INFO: Acknowledgment sent {"connection_id":124898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:36:35] local.INFO: TCP Data received {"connection_id":125623,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d52d310012dc6418005373da00031013d2a..."} 
[2026-07-07 21:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d52d310012dc6418005373da00031013d2a..."} 
[2026-07-07 21:36:35] local.INFO: Processing buffer {"connection_id":125623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d52d310012dc6418005373da00031013d2a..."} 
[2026-07-07 21:36:35] local.INFO: Packet analysis {"connection_id":125623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d52"} 
[2026-07-07 21:36:35] local.INFO: Extracted packet for processing {"connection_id":125623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d52"} 
[2026-07-07 21:36:35] local.INFO: GPS Element Parsed {"raw_longitude":767967616,"raw_latitude":87506336,"longitude_deg":76.7967616,"latitude_deg":8.7506336,"altitude":49,"angle":317,"satellites":42,"speed":40,"hex_longitude":"2dc64180","hex_latitude":"05373da0","is_valid_coordinates":true} 
[2026-07-07 21:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560705536001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342009688889491456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4152881783989069824,"note":"Value kept but may cause issues"} 
[2026-07-07 21:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783440266000,"timestamp_ms":1783440266000,"timestamp_seconds":1783440266,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d52d310"} 
[2026-07-07 21:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-07 21:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560705536001,"66":27289,"113":206,"80":35072,"24":40,"16":342009688889491456,"45":-4152881783989069824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560705536001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:36:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:36:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342009688889491456,"km_value":342009688889491.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4152881783989069824,"description":"Unknown IO ID 45"} 
[2026-07-07 21:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560705536001,"power":27289,"unknown_113":206,"unknown_80":35072,"ignition":40,"odometer":null,"unknown_45":-4152881783989069824}} 
[2026-07-07 21:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":125623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:36:35] local.INFO: GPS data processed {"connection_id":125623,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:36:35] local.INFO: Acknowledgment sent {"connection_id":125623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:36:58] local.INFO: TCP Data received {"connection_id":124808,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:36:58] local.INFO: Processing buffer {"connection_id":124808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:36:58] local.INFO: IMEI packet received {"connection_id":124808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":124808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:36:58] local.INFO: TCP Data received {"connection_id":124809,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:36:58] local.INFO: Processing buffer {"connection_id":124809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:36:58] local.INFO: IMEI packet received {"connection_id":124809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":124809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:37:03] local.INFO: TCP Data received {"connection_id":124809,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:37:03] local.INFO: Processing buffer {"connection_id":124809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:37:03] local.INFO: IMEI packet received {"connection_id":124809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":124809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:37:03] local.INFO: TCP Data received {"connection_id":124808,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:37:03] local.INFO: Processing buffer {"connection_id":124808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:37:03] local.INFO: IMEI packet received {"connection_id":124808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":124808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:37:04] local.INFO: TCP Data received {"connection_id":124809,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d52e2b0012dc6378005374b200031014a29..."} 
[2026-07-07 21:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d52e2b0012dc6378005374b200031014a29..."} 
[2026-07-07 21:37:04] local.INFO: Processing buffer {"connection_id":124809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d52e2b0012dc6378005374b200031014a29..."} 
[2026-07-07 21:37:04] local.INFO: Packet analysis {"connection_id":124809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d52"} 
[2026-07-07 21:37:04] local.INFO: Extracted packet for processing {"connection_id":124809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d52"} 
[2026-07-07 21:37:04] local.INFO: GPS Element Parsed {"raw_longitude":767965056,"raw_latitude":87509792,"longitude_deg":76.7965056,"latitude_deg":8.7509792,"altitude":49,"angle":330,"satellites":41,"speed":41,"hex_longitude":"2dc63780","hex_latitude":"05374b20","is_valid_coordinates":true} 
[2026-07-07 21:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560708096001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342009895047921664,"note":"Value kept but may cause issues"} 
[2026-07-07 21:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4160903820823650304,"note":"Value kept but may cause issues"} 
[2026-07-07 21:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783440270000,"timestamp_ms":1783440270000,"timestamp_seconds":1783440270,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d52e2b0"} 
[2026-07-07 21:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:37:04] local.INFO: IO Element 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-07-07 21:37:04] 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-07-07 21:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560708096001,"66":27267,"113":206,"80":35072,"24":41,"16":342009895047921664,"45":-4160903820823650304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560708096001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:37:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:37:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342009895047921664,"km_value":342009895047921.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4160903820823650304,"description":"Unknown IO ID 45"} 
[2026-07-07 21:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560708096001,"power":27267,"unknown_113":206,"unknown_80":35072,"ignition":41,"odometer":null,"unknown_45":-4160903820823650304}} 
[2026-07-07 21:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":124809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:37:04] local.INFO: GPS data processed {"connection_id":124809,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:37:04] local.INFO: Acknowledgment sent {"connection_id":124809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:37:04] local.INFO: TCP Data received {"connection_id":124808,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:37:04] local.INFO: Processing buffer {"connection_id":124808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d508920012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:37:04] local.INFO: Packet analysis {"connection_id":124808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:37:04] local.INFO: Extracted packet for processing {"connection_id":124808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d50"} 
[2026-07-07 21:37:04] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560591872001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 21:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783440116000,"timestamp_ms":1783440116000,"timestamp_seconds":1783440116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d508920"} 
[2026-07-07 21:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-07 21:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560591872001,"66":26202,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560591872001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:37:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:37:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 21:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560591872001,"power":26202,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 21:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":124808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447895,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:37:04] local.INFO: GPS data processed {"connection_id":124808,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:37:04] local.INFO: Acknowledgment sent {"connection_id":124808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:37:35] local.INFO: TCP Data received {"connection_id":124809,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5305d8012dc6288005376e90003101512c..."} 
[2026-07-07 21:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5305d8012dc6288005376e90003101512c..."} 
[2026-07-07 21:37:35] local.INFO: Processing buffer {"connection_id":124809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5305d8012dc6288005376e90003101512c..."} 
[2026-07-07 21:37:35] local.INFO: Packet analysis {"connection_id":124809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d53"} 
[2026-07-07 21:37:35] local.INFO: Extracted packet for processing {"connection_id":124809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d53"} 
[2026-07-07 21:37:35] local.INFO: GPS Element Parsed {"raw_longitude":767961216,"raw_latitude":87518864,"longitude_deg":76.7961216,"latitude_deg":8.7518864,"altitude":49,"angle":337,"satellites":44,"speed":44,"hex_longitude":"2dc62880","hex_latitude":"05376e90","is_valid_coordinates":true} 
[2026-07-07 21:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560709120001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342010371789291520,"note":"Value kept but may cause issues"} 
[2026-07-07 21:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4163718570589872128,"note":"Value kept but may cause issues"} 
[2026-07-07 21:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783440279000,"timestamp_ms":1783440279000,"timestamp_seconds":1783440279,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5305d8"} 
[2026-07-07 21:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:37: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-07-07 21:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-07 21:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560709120001,"66":27376,"113":206,"80":35072,"24":44,"16":342010371789291520,"45":-4163718570589872128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560709120001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:37:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:37:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342010371789291520,"km_value":342010371789291.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4163718570589872128,"description":"Unknown IO ID 45"} 
[2026-07-07 21:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560709120001,"power":27376,"unknown_113":206,"unknown_80":35072,"ignition":44,"odometer":null,"unknown_45":-4163718570589872128}} 
[2026-07-07 21:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":124809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:37:35] local.INFO: GPS data processed {"connection_id":124809,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:37:35] local.INFO: Acknowledgment sent {"connection_id":124809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:37:42] local.INFO: TCP Data received {"connection_id":124808,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:37:42] local.INFO: Processing buffer {"connection_id":124808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:37:42] local.INFO: Packet analysis {"connection_id":124808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:37:42] local.INFO: Extracted packet for processing {"connection_id":124808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:37:42] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560669696001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783440417000,"timestamp_ms":1783440417000,"timestamp_seconds":1783440417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5520e8"} 
[2026-07-07 21:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560669696001,"66":25919,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560669696001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:37:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:37:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560669696001,"power":25919,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":124808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447897,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:37:42] local.INFO: GPS data processed {"connection_id":124808,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:37:42] local.INFO: Acknowledgment sent {"connection_id":124808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:37:58] local.INFO: TCP Data received {"connection_id":125624,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:37:58] local.INFO: Processing buffer {"connection_id":125624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:37:58] local.INFO: IMEI packet received {"connection_id":125624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":125624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:38:03] local.INFO: TCP Data received {"connection_id":126874,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:38:03] local.INFO: Processing buffer {"connection_id":126874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:38:03] local.INFO: IMEI packet received {"connection_id":126874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":126874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:38:03] local.INFO: TCP Data received {"connection_id":125624,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:38:03] local.INFO: Processing buffer {"connection_id":125624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:38:03] local.INFO: IMEI packet received {"connection_id":125624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":125624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:38:04] local.INFO: TCP Data received {"connection_id":125624,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d532518012dc61a0005378ec00032014c2b..."} 
[2026-07-07 21:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d532518012dc61a0005378ec00032014c2b..."} 
[2026-07-07 21:38:04] local.INFO: Processing buffer {"connection_id":125624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d532518012dc61a0005378ec00032014c2b..."} 
[2026-07-07 21:38:04] local.INFO: Packet analysis {"connection_id":125624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d53"} 
[2026-07-07 21:38:04] local.INFO: Extracted packet for processing {"connection_id":125624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d53"} 
[2026-07-07 21:38:04] local.INFO: GPS Element Parsed {"raw_longitude":767957504,"raw_latitude":87527104,"longitude_deg":76.7957504,"latitude_deg":8.7527104,"altitude":50,"angle":332,"satellites":43,"speed":42,"hex_longitude":"2dc61a00","hex_latitude":"05378ec0","is_valid_coordinates":true} 
[2026-07-07 21:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560711424001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342010809875955712,"note":"Value kept but may cause issues"} 
[2026-07-07 21:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4167940695238209536,"note":"Value kept but may cause issues"} 
[2026-07-07 21:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783440287000,"timestamp_ms":1783440287000,"timestamp_seconds":1783440287,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d532518"} 
[2026-07-07 21:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 21:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560711424001,"66":27376,"113":206,"80":35072,"24":42,"16":342010809875955712,"45":-4167940695238209536},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560711424001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:38:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:38:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342010809875955712,"km_value":342010809875955.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4167940695238209536,"description":"Unknown IO ID 45"} 
[2026-07-07 21:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560711424001,"power":27376,"unknown_113":206,"unknown_80":35072,"ignition":42,"odometer":null,"unknown_45":-4167940695238209536}} 
[2026-07-07 21:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":125624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:38:04] local.INFO: GPS data processed {"connection_id":125624,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:38:04] local.INFO: Acknowledgment sent {"connection_id":125624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:38:08] local.INFO: TCP Data received {"connection_id":126874,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:38:08] local.INFO: Processing buffer {"connection_id":126874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:38:08] local.INFO: IMEI packet received {"connection_id":126874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":126874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:38:09] local.INFO: TCP Data received {"connection_id":126874,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:38:09] local.INFO: Processing buffer {"connection_id":126874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:38:09] local.INFO: Packet analysis {"connection_id":126874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:38:09] local.INFO: Extracted packet for processing {"connection_id":126874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:38:09] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560669696001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783440417000,"timestamp_ms":1783440417000,"timestamp_seconds":1783440417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5520e8"} 
[2026-07-07 21:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560669696001,"66":25919,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560669696001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:38:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:38:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560669696001,"power":25919,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":126874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447899,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:38:09] local.INFO: GPS data processed {"connection_id":126874,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:38:09] local.INFO: Acknowledgment sent {"connection_id":126874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:38:35] local.INFO: TCP Data received {"connection_id":125624,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d535010012dc608400537aef8003201492b..."} 
[2026-07-07 21:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d535010012dc608400537aef8003201492b..."} 
[2026-07-07 21:38:35] local.INFO: Processing buffer {"connection_id":125624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d535010012dc608400537aef8003201492b..."} 
[2026-07-07 21:38:35] local.INFO: Packet analysis {"connection_id":125624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d53"} 
[2026-07-07 21:38:35] local.INFO: Extracted packet for processing {"connection_id":125624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d53"} 
[2026-07-07 21:38:35] local.INFO: GPS Element Parsed {"raw_longitude":767952960,"raw_latitude":87535352,"longitude_deg":76.795296,"latitude_deg":8.7535352,"altitude":50,"angle":329,"satellites":43,"speed":25,"hex_longitude":"2dc60840","hex_latitude":"0537aef8","is_valid_coordinates":true} 
[2026-07-07 21:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560713472001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011265142489088,"note":"Value kept but may cause issues"} 
[2026-07-07 21:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4172022082398404608,"note":"Value kept but may cause issues"} 
[2026-07-07 21:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783440298000,"timestamp_ms":1783440298000,"timestamp_seconds":1783440298,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d535010"} 
[2026-07-07 21:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:38: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-07-07 21:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-07 21:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560713472001,"66":27800,"113":206,"80":35072,"24":25,"16":342011265142489088,"45":-4172022082398404608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560713472001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:38:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:38:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011265142489088,"km_value":342011265142489.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4172022082398404608,"description":"Unknown IO ID 45"} 
[2026-07-07 21:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560713472001,"power":27800,"unknown_113":206,"unknown_80":35072,"ignition":25,"odometer":null,"unknown_45":-4172022082398404608}} 
[2026-07-07 21:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":125624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:38:35] local.INFO: GPS data processed {"connection_id":125624,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:38:35] local.INFO: Acknowledgment sent {"connection_id":125624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:38:40] local.INFO: TCP Data received {"connection_id":126874,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:38:40] local.INFO: Processing buffer {"connection_id":126874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:38:40] local.INFO: Packet analysis {"connection_id":126874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:38:40] local.INFO: Extracted packet for processing {"connection_id":126874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:38:40] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560669696001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783440417000,"timestamp_ms":1783440417000,"timestamp_seconds":1783440417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5520e8"} 
[2026-07-07 21:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560669696001,"66":25919,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560669696001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:38:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:38:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560669696001,"power":25919,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":126874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447901,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:38:40] local.INFO: GPS data processed {"connection_id":126874,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:38:40] local.INFO: Acknowledgment sent {"connection_id":126874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:38:58] local.INFO: TCP Data received {"connection_id":124899,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:38:58] local.INFO: Processing buffer {"connection_id":124899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:38:58] local.INFO: IMEI packet received {"connection_id":124899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":124899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:39:03] local.INFO: TCP Data received {"connection_id":125625,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:39:03] local.INFO: Processing buffer {"connection_id":125625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:39:03] local.INFO: IMEI packet received {"connection_id":125625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":125625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:39:03] local.INFO: TCP Data received {"connection_id":124899,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:39:03] local.INFO: Processing buffer {"connection_id":124899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:39:03] local.INFO: IMEI packet received {"connection_id":124899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":124899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:39:04] local.INFO: TCP Data received {"connection_id":124899,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:39:04] local.INFO: Processing buffer {"connection_id":124899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:39:04] local.INFO: Packet analysis {"connection_id":124899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:39:04] local.INFO: Extracted packet for processing {"connection_id":124899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:39:04] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560669696001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783440417000,"timestamp_ms":1783440417000,"timestamp_seconds":1783440417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5520e8"} 
[2026-07-07 21:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21: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-07-07 21:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560669696001,"66":25919,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560669696001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:39:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:39:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560669696001,"power":25919,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":124899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447902,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:39:04] local.INFO: GPS data processed {"connection_id":124899,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:39:04] local.INFO: Acknowledgment sent {"connection_id":124899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:39:08] local.INFO: TCP Data received {"connection_id":125625,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:39:08] local.INFO: Processing buffer {"connection_id":125625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:39:08] local.INFO: IMEI packet received {"connection_id":125625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":125625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:39:09] local.INFO: TCP Data received {"connection_id":125625,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5357e0012dc605400537b358003201452d..."} 
[2026-07-07 21:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5357e0012dc605400537b358003201452d..."} 
[2026-07-07 21:39:09] local.INFO: Processing buffer {"connection_id":125625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5357e0012dc605400537b358003201452d..."} 
[2026-07-07 21:39:09] local.INFO: Packet analysis {"connection_id":125625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d53"} 
[2026-07-07 21:39:09] local.INFO: Extracted packet for processing {"connection_id":125625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d53"} 
[2026-07-07 21:39:09] local.INFO: GPS Element Parsed {"raw_longitude":767952192,"raw_latitude":87536472,"longitude_deg":76.7952192,"latitude_deg":8.7536472,"altitude":50,"angle":325,"satellites":45,"speed":26,"hex_longitude":"2dc60540","hex_latitude":"0537b358","is_valid_coordinates":true} 
[2026-07-07 21:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560716288001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4177018263232907264,"note":"Value kept but may cause issues"} 
[2026-07-07 21:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783440300000,"timestamp_ms":1783440300000,"timestamp_seconds":1783440300,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5357e0"} 
[2026-07-07 21:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:39: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-07-07 21:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 21:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560716288001,"66":27843,"113":206,"80":35072,"24":26,"16":342011299502227456,"45":-4177018263232907264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560716288001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:39:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:39:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4177018263232907264,"description":"Unknown IO ID 45"} 
[2026-07-07 21:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560716288001,"power":27843,"unknown_113":206,"unknown_80":35072,"ignition":26,"odometer":null,"unknown_45":-4177018263232907264}} 
[2026-07-07 21:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":125625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:39:09] local.INFO: GPS data processed {"connection_id":125625,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:39:09] local.INFO: Acknowledgment sent {"connection_id":125625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:39:36] local.INFO: TCP Data received {"connection_id":124899,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:39:36] local.INFO: Processing buffer {"connection_id":124899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:39:36] local.INFO: Packet analysis {"connection_id":124899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:39:36] local.INFO: Extracted packet for processing {"connection_id":124899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:39:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560669696001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783440417000,"timestamp_ms":1783440417000,"timestamp_seconds":1783440417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5520e8"} 
[2026-07-07 21:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560669696001,"66":25919,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560669696001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:39:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:39:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560669696001,"power":25919,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":124899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447904,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:39:36] local.INFO: GPS data processed {"connection_id":124899,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:39:36] local.INFO: Acknowledgment sent {"connection_id":124899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:39:40] local.INFO: TCP Data received {"connection_id":125625,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5357e0012dc605400537b358003201452d..."} 
[2026-07-07 21:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5357e0012dc605400537b358003201452d..."} 
[2026-07-07 21:39:40] local.INFO: Processing buffer {"connection_id":125625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5357e0012dc605400537b358003201452d..."} 
[2026-07-07 21:39:40] local.INFO: Packet analysis {"connection_id":125625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d53"} 
[2026-07-07 21:39:40] local.INFO: Extracted packet for processing {"connection_id":125625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d53"} 
[2026-07-07 21:39:40] local.INFO: GPS Element Parsed {"raw_longitude":767952192,"raw_latitude":87536472,"longitude_deg":76.7952192,"latitude_deg":8.7536472,"altitude":50,"angle":325,"satellites":45,"speed":26,"hex_longitude":"2dc60540","hex_latitude":"0537b358","is_valid_coordinates":true} 
[2026-07-07 21:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560716288001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4177018263232907264,"note":"Value kept but may cause issues"} 
[2026-07-07 21:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783440300000,"timestamp_ms":1783440300000,"timestamp_seconds":1783440300,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5357e0"} 
[2026-07-07 21:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:39: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-07-07 21:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 21:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560716288001,"66":27843,"113":206,"80":35072,"24":26,"16":342011299502227456,"45":-4177018263232907264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560716288001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:39:40] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:39:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4177018263232907264,"description":"Unknown IO ID 45"} 
[2026-07-07 21:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560716288001,"power":27843,"unknown_113":206,"unknown_80":35072,"ignition":26,"odometer":null,"unknown_45":-4177018263232907264}} 
[2026-07-07 21:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":125625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:39:40] local.INFO: GPS data processed {"connection_id":125625,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:39:40] local.INFO: Acknowledgment sent {"connection_id":125625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:39:58] local.INFO: TCP Data received {"connection_id":124810,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:39:58] local.INFO: Processing buffer {"connection_id":124810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:39:58] local.INFO: IMEI packet received {"connection_id":124810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":124810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:39:58] local.INFO: TCP Data received {"connection_id":125626,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:39:58] local.INFO: Processing buffer {"connection_id":125626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:39:58] local.INFO: IMEI packet received {"connection_id":125626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":125626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:40:03] local.INFO: TCP Data received {"connection_id":124810,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:40:03] local.INFO: Processing buffer {"connection_id":124810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:40:03] local.INFO: IMEI packet received {"connection_id":124810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":124810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:40:03] local.INFO: TCP Data received {"connection_id":125626,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:40:03] local.INFO: Processing buffer {"connection_id":125626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:40:03] local.INFO: IMEI packet received {"connection_id":125626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":125626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:40:04] local.INFO: TCP Data received {"connection_id":124810,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5357e0012dc605400537b358003201452d..."} 
[2026-07-07 21:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5357e0012dc605400537b358003201452d..."} 
[2026-07-07 21:40:04] local.INFO: Processing buffer {"connection_id":124810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5357e0012dc605400537b358003201452d..."} 
[2026-07-07 21:40:04] local.INFO: Packet analysis {"connection_id":124810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d53"} 
[2026-07-07 21:40:04] local.INFO: Extracted packet for processing {"connection_id":124810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d53"} 
[2026-07-07 21:40:04] local.INFO: GPS Element Parsed {"raw_longitude":767952192,"raw_latitude":87536472,"longitude_deg":76.7952192,"latitude_deg":8.7536472,"altitude":50,"angle":325,"satellites":45,"speed":26,"hex_longitude":"2dc60540","hex_latitude":"0537b358","is_valid_coordinates":true} 
[2026-07-07 21:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560716288001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4177018263232907264,"note":"Value kept but may cause issues"} 
[2026-07-07 21:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783440300000,"timestamp_ms":1783440300000,"timestamp_seconds":1783440300,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5357e0"} 
[2026-07-07 21:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 21:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560716288001,"66":27843,"113":206,"80":35072,"24":26,"16":342011299502227456,"45":-4177018263232907264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560716288001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:40:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:40:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4177018263232907264,"description":"Unknown IO ID 45"} 
[2026-07-07 21:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560716288001,"power":27843,"unknown_113":206,"unknown_80":35072,"ignition":26,"odometer":null,"unknown_45":-4177018263232907264}} 
[2026-07-07 21:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":124810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:40:04] local.INFO: GPS data processed {"connection_id":124810,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:40:04] local.INFO: Acknowledgment sent {"connection_id":124810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:40:04] local.INFO: TCP Data received {"connection_id":125626,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:40:04] local.INFO: Processing buffer {"connection_id":125626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:40:04] local.INFO: Packet analysis {"connection_id":125626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:40:04] local.INFO: Extracted packet for processing {"connection_id":125626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:40:04] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560669696001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783440417000,"timestamp_ms":1783440417000,"timestamp_seconds":1783440417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5520e8"} 
[2026-07-07 21:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560669696001,"66":25919,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560669696001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:40:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:40:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560669696001,"power":25919,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":125626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447907,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:40:04] local.INFO: GPS data processed {"connection_id":125626,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:40:04] local.INFO: Acknowledgment sent {"connection_id":125626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:40:35] local.INFO: TCP Data received {"connection_id":124810,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5357e0012dc605400537b358003201452d..."} 
[2026-07-07 21:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5357e0012dc605400537b358003201452d..."} 
[2026-07-07 21:40:35] local.INFO: Processing buffer {"connection_id":124810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5357e0012dc605400537b358003201452d..."} 
[2026-07-07 21:40:35] local.INFO: Packet analysis {"connection_id":124810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d53"} 
[2026-07-07 21:40:35] local.INFO: Extracted packet for processing {"connection_id":124810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d53"} 
[2026-07-07 21:40:35] local.INFO: GPS Element Parsed {"raw_longitude":767952192,"raw_latitude":87536472,"longitude_deg":76.7952192,"latitude_deg":8.7536472,"altitude":50,"angle":325,"satellites":45,"speed":26,"hex_longitude":"2dc60540","hex_latitude":"0537b358","is_valid_coordinates":true} 
[2026-07-07 21:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560716288001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4177018263232907264,"note":"Value kept but may cause issues"} 
[2026-07-07 21:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783440300000,"timestamp_ms":1783440300000,"timestamp_seconds":1783440300,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5357e0"} 
[2026-07-07 21:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 21:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 21:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560716288001,"66":27843,"113":206,"80":35072,"24":26,"16":342011299502227456,"45":-4177018263232907264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560716288001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:40:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:40:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4177018263232907264,"description":"Unknown IO ID 45"} 
[2026-07-07 21:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560716288001,"power":27843,"unknown_113":206,"unknown_80":35072,"ignition":26,"odometer":null,"unknown_45":-4177018263232907264}} 
[2026-07-07 21:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":124810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:40:35] local.INFO: GPS data processed {"connection_id":124810,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:40:35] local.INFO: Acknowledgment sent {"connection_id":124810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:40:36] local.INFO: TCP Data received {"connection_id":125626,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:40:36] local.INFO: Processing buffer {"connection_id":125626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:40:36] local.INFO: Packet analysis {"connection_id":125626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:40:36] local.INFO: Extracted packet for processing {"connection_id":125626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:40:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560669696001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783440417000,"timestamp_ms":1783440417000,"timestamp_seconds":1783440417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5520e8"} 
[2026-07-07 21:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21: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-07-07 21:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560669696001,"66":25919,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560669696001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:40:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:40:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560669696001,"power":25919,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":125626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447909,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:40:36] local.INFO: GPS data processed {"connection_id":125626,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:40:36] local.INFO: Acknowledgment sent {"connection_id":125626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:40:58] local.INFO: TCP Data received {"connection_id":124811,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:40:58] local.INFO: Processing buffer {"connection_id":124811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:40:58] local.INFO: IMEI packet received {"connection_id":124811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":124811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:40:58] local.INFO: TCP Data received {"connection_id":124900,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:40:58] local.INFO: Processing buffer {"connection_id":124900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:40:58] local.INFO: IMEI packet received {"connection_id":124900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":124900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:41:03] local.INFO: TCP Data received {"connection_id":124900,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:41:03] local.INFO: Processing buffer {"connection_id":124900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:41:03] local.INFO: IMEI packet received {"connection_id":124900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":124900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:41:03] local.INFO: TCP Data received {"connection_id":124811,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:41:03] local.INFO: Processing buffer {"connection_id":124811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:41:03] local.INFO: IMEI packet received {"connection_id":124811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":124811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:41:04] local.INFO: TCP Data received {"connection_id":124900,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:41:04] local.INFO: Processing buffer {"connection_id":124900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:41:04] local.INFO: Packet analysis {"connection_id":124900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d57"} 
[2026-07-07 21:41:04] local.INFO: Extracted packet for processing {"connection_id":124900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d57"} 
[2026-07-07 21:41:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560716800001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4177862688162752512,"note":"Value kept but may cause issues"} 
[2026-07-07 21:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783440601000,"timestamp_ms":1783440601000,"timestamp_seconds":1783440601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d57efa8"} 
[2026-07-07 21:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 21:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21: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-07-07 21:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560716800001,"66":26202,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4177862688162752512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560716800001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:41:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:41:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4177862688162752512,"description":"Unknown IO ID 45"} 
[2026-07-07 21:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560716800001,"power":26202,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4177862688162752512}} 
[2026-07-07 21:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":124900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:41:04] local.INFO: GPS data processed {"connection_id":124900,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:41:04] local.INFO: Acknowledgment sent {"connection_id":124900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:41:04] local.INFO: TCP Data received {"connection_id":124811,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:41:04] local.INFO: Processing buffer {"connection_id":124811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:41:04] local.INFO: Packet analysis {"connection_id":124811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:41:04] local.INFO: Extracted packet for processing {"connection_id":124811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:41:04] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560669696001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783440417000,"timestamp_ms":1783440417000,"timestamp_seconds":1783440417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5520e8"} 
[2026-07-07 21:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21: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-07-07 21:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560669696001,"66":25919,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560669696001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:41:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:41:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560669696001,"power":25919,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":124811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447911,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:41:05] local.INFO: GPS data processed {"connection_id":124811,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:41:05] local.INFO: Acknowledgment sent {"connection_id":124811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:41:35] local.INFO: TCP Data received {"connection_id":124900,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:41:35] local.INFO: Processing buffer {"connection_id":124900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:41:35] local.INFO: Packet analysis {"connection_id":124900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d57"} 
[2026-07-07 21:41:35] local.INFO: Extracted packet for processing {"connection_id":124900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d57"} 
[2026-07-07 21:41:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560716800001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4177862688162752512,"note":"Value kept but may cause issues"} 
[2026-07-07 21:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783440601000,"timestamp_ms":1783440601000,"timestamp_seconds":1783440601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d57efa8"} 
[2026-07-07 21:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 21:41: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-07-07 21:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560716800001,"66":26202,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4177862688162752512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560716800001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:41:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:41:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4177862688162752512,"description":"Unknown IO ID 45"} 
[2026-07-07 21:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560716800001,"power":26202,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4177862688162752512}} 
[2026-07-07 21:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":124900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:41:35] local.INFO: GPS data processed {"connection_id":124900,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:41:35] local.INFO: Acknowledgment sent {"connection_id":124900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:41:36] local.INFO: TCP Data received {"connection_id":124811,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:41:36] local.INFO: Processing buffer {"connection_id":124811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:41:36] local.INFO: Packet analysis {"connection_id":124811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:41:36] local.INFO: Extracted packet for processing {"connection_id":124811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:41:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560669696001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783440417000,"timestamp_ms":1783440417000,"timestamp_seconds":1783440417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5520e8"} 
[2026-07-07 21:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21: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-07-07 21:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560669696001,"66":25919,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560669696001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:41:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:41:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560669696001,"power":25919,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":124811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447913,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:41:36] local.INFO: GPS data processed {"connection_id":124811,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:41:36] local.INFO: Acknowledgment sent {"connection_id":124811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:41:58] local.INFO: TCP Data received {"connection_id":124901,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:41:58] local.INFO: Processing buffer {"connection_id":124901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:41:58] local.INFO: IMEI packet received {"connection_id":124901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":124901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:42:03] local.INFO: TCP Data received {"connection_id":125627,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:42:03] local.INFO: Processing buffer {"connection_id":125627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:42:03] local.INFO: IMEI packet received {"connection_id":125627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":125627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:42:03] local.INFO: TCP Data received {"connection_id":124901,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:42:03] local.INFO: Processing buffer {"connection_id":124901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:42:03] local.INFO: IMEI packet received {"connection_id":124901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":124901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:42:04] local.INFO: TCP Data received {"connection_id":124901,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:42:04] local.INFO: Processing buffer {"connection_id":124901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:42:04] local.INFO: Packet analysis {"connection_id":124901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d57"} 
[2026-07-07 21:42:04] local.INFO: Extracted packet for processing {"connection_id":124901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d57"} 
[2026-07-07 21:42:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560716800001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4177862688162752512,"note":"Value kept but may cause issues"} 
[2026-07-07 21:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783440601000,"timestamp_ms":1783440601000,"timestamp_seconds":1783440601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d57efa8"} 
[2026-07-07 21:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 21:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21: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-07-07 21:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560716800001,"66":26202,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4177862688162752512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560716800001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:42:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:42:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4177862688162752512,"description":"Unknown IO ID 45"} 
[2026-07-07 21:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560716800001,"power":26202,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4177862688162752512}} 
[2026-07-07 21:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":124901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:42:04] local.INFO: GPS data processed {"connection_id":124901,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:42:04] local.INFO: Acknowledgment sent {"connection_id":124901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:42:08] local.INFO: TCP Data received {"connection_id":125627,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:42:08] local.INFO: Processing buffer {"connection_id":125627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:42:08] local.INFO: IMEI packet received {"connection_id":125627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":125627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:42:09] local.INFO: TCP Data received {"connection_id":125627,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:42:09] local.INFO: Processing buffer {"connection_id":125627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:42:09] local.INFO: Packet analysis {"connection_id":125627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:42:09] local.INFO: Extracted packet for processing {"connection_id":125627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:42:09] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560669696001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783440417000,"timestamp_ms":1783440417000,"timestamp_seconds":1783440417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5520e8"} 
[2026-07-07 21:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560669696001,"66":25919,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560669696001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:42:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:42:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560669696001,"power":25919,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":125627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447915,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:42:10] local.INFO: GPS data processed {"connection_id":125627,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:42:10] local.INFO: Acknowledgment sent {"connection_id":125627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:42:14] local.INFO: TCP Data received {"connection_id":125627,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:42:14] local.INFO: Processing buffer {"connection_id":125627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5520e8012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:42:14] local.INFO: Packet analysis {"connection_id":125627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:42:14] local.INFO: Extracted packet for processing {"connection_id":125627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d55"} 
[2026-07-07 21:42:14] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560669696001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783440417000,"timestamp_ms":1783440417000,"timestamp_seconds":1783440417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5520e8"} 
[2026-07-07 21:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560669696001,"66":25919,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560669696001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:42:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:42:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560669696001,"power":25919,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":125627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447916,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:42:14] local.INFO: GPS data processed {"connection_id":125627,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:42:14] local.INFO: Acknowledgment sent {"connection_id":125627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:42:35] local.INFO: TCP Data received {"connection_id":124901,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:42:35] local.INFO: Processing buffer {"connection_id":124901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:42:35] local.INFO: Packet analysis {"connection_id":124901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d57"} 
[2026-07-07 21:42:35] local.INFO: Extracted packet for processing {"connection_id":124901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d57"} 
[2026-07-07 21:42:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560716800001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4177862688162752512,"note":"Value kept but may cause issues"} 
[2026-07-07 21:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783440601000,"timestamp_ms":1783440601000,"timestamp_seconds":1783440601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d57efa8"} 
[2026-07-07 21:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 21:42: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-07-07 21: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-07-07 21:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560716800001,"66":26202,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4177862688162752512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560716800001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:42:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:42:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4177862688162752512,"description":"Unknown IO ID 45"} 
[2026-07-07 21:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560716800001,"power":26202,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4177862688162752512}} 
[2026-07-07 21:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":124901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:42:35] local.INFO: GPS data processed {"connection_id":124901,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:42:35] local.INFO: Acknowledgment sent {"connection_id":124901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:42:57] local.INFO: TCP Data received {"connection_id":126875,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:42:57] local.INFO: Processing buffer {"connection_id":126875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:42:57] local.INFO: IMEI packet received {"connection_id":126875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":126875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:42:58] local.INFO: TCP Data received {"connection_id":124812,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:42:58] local.INFO: Processing buffer {"connection_id":124812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:42:58] local.INFO: IMEI packet received {"connection_id":124812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":124812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:43:03] local.INFO: TCP Data received {"connection_id":126875,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:43:03] local.INFO: Processing buffer {"connection_id":126875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:43:03] local.INFO: IMEI packet received {"connection_id":126875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":126875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:43:03] local.INFO: TCP Data received {"connection_id":124812,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:43:03] local.INFO: Processing buffer {"connection_id":124812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:43:03] local.INFO: IMEI packet received {"connection_id":124812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":124812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:43:04] local.INFO: TCP Data received {"connection_id":126875,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:43:04] local.INFO: Processing buffer {"connection_id":126875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:43:04] local.INFO: Packet analysis {"connection_id":126875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d57"} 
[2026-07-07 21:43:04] local.INFO: Extracted packet for processing {"connection_id":126875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d57"} 
[2026-07-07 21:43:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560716800001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4177862688162752512,"note":"Value kept but may cause issues"} 
[2026-07-07 21:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783440601000,"timestamp_ms":1783440601000,"timestamp_seconds":1783440601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d57efa8"} 
[2026-07-07 21:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 21:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560716800001,"66":26202,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4177862688162752512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560716800001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:43:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:43:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4177862688162752512,"description":"Unknown IO ID 45"} 
[2026-07-07 21:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560716800001,"power":26202,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4177862688162752512}} 
[2026-07-07 21:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":126875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:43:04] local.INFO: GPS data processed {"connection_id":126875,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:43:04] local.INFO: Acknowledgment sent {"connection_id":126875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:43:08] local.INFO: TCP Data received {"connection_id":124812,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d59b8b0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d59b8b0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:43:08] local.INFO: Processing buffer {"connection_id":124812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d59b8b0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:43:08] local.INFO: Packet analysis {"connection_id":124812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d59"} 
[2026-07-07 21:43:08] local.INFO: Extracted packet for processing {"connection_id":124812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d59"} 
[2026-07-07 21:43:08] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560746752001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783440718000,"timestamp_ms":1783440718000,"timestamp_seconds":1783440718,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d59b8b0"} 
[2026-07-07 21:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 21:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560746752001,"66":25875,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560746752001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:43:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:43:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560746752001,"power":25875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":124812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447919,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:43:08] local.INFO: GPS data processed {"connection_id":124812,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:43:08] local.INFO: Acknowledgment sent {"connection_id":124812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:43:35] local.INFO: TCP Data received {"connection_id":126875,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:43:35] local.INFO: Processing buffer {"connection_id":126875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:43:35] local.INFO: Packet analysis {"connection_id":126875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d57"} 
[2026-07-07 21:43:35] local.INFO: Extracted packet for processing {"connection_id":126875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d57"} 
[2026-07-07 21:43:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560716800001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4177862688162752512,"note":"Value kept but may cause issues"} 
[2026-07-07 21:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783440601000,"timestamp_ms":1783440601000,"timestamp_seconds":1783440601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d57efa8"} 
[2026-07-07 21:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 21:43: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-07-07 21:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560716800001,"66":26202,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4177862688162752512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560716800001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:43:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:43:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4177862688162752512,"description":"Unknown IO ID 45"} 
[2026-07-07 21:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560716800001,"power":26202,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4177862688162752512}} 
[2026-07-07 21:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":126875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:43:35] local.INFO: GPS data processed {"connection_id":126875,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:43:35] local.INFO: Acknowledgment sent {"connection_id":126875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:43:40] local.INFO: TCP Data received {"connection_id":124812,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d59b8b0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d59b8b0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:43:40] local.INFO: Processing buffer {"connection_id":124812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d59b8b0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:43:40] local.INFO: Packet analysis {"connection_id":124812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d59"} 
[2026-07-07 21:43:40] local.INFO: Extracted packet for processing {"connection_id":124812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d59"} 
[2026-07-07 21:43:40] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560746752001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783440718000,"timestamp_ms":1783440718000,"timestamp_seconds":1783440718,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d59b8b0"} 
[2026-07-07 21:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 21:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560746752001,"66":25875,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560746752001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:43:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:43:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560746752001,"power":25875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":124812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447921,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:43:40] local.INFO: GPS data processed {"connection_id":124812,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:43:40] local.INFO: Acknowledgment sent {"connection_id":124812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:43:58] local.INFO: TCP Data received {"connection_id":124902,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:43:58] local.INFO: Processing buffer {"connection_id":124902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:43:58] local.INFO: IMEI packet received {"connection_id":124902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":124902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:44:03] local.INFO: TCP Data received {"connection_id":124813,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:44:03] local.INFO: Processing buffer {"connection_id":124813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:44:03] local.INFO: IMEI packet received {"connection_id":124813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":124813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:44:08] local.INFO: TCP Data received {"connection_id":124813,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:44:08] local.INFO: Processing buffer {"connection_id":124813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:44:08] local.INFO: IMEI packet received {"connection_id":124813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":124813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:44:09] local.INFO: TCP Data received {"connection_id":124813,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:44:09] local.INFO: Processing buffer {"connection_id":124813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:44:09] local.INFO: Packet analysis {"connection_id":124813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d57"} 
[2026-07-07 21:44:09] local.INFO: Extracted packet for processing {"connection_id":124813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d57"} 
[2026-07-07 21:44:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560716800001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4177862688162752512,"note":"Value kept but may cause issues"} 
[2026-07-07 21:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783440601000,"timestamp_ms":1783440601000,"timestamp_seconds":1783440601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d57efa8"} 
[2026-07-07 21:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 21:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560716800001,"66":26202,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4177862688162752512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560716800001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:44:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:44:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4177862688162752512,"description":"Unknown IO ID 45"} 
[2026-07-07 21:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560716800001,"power":26202,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4177862688162752512}} 
[2026-07-07 21:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":124813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:44:09] local.INFO: GPS data processed {"connection_id":124813,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:44:09] local.INFO: Acknowledgment sent {"connection_id":124813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:44:29] local.INFO: TCP Data received {"connection_id":124902,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:44:29] local.INFO: Processing buffer {"connection_id":124902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:44:29] local.INFO: IMEI packet received {"connection_id":124902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":124902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:44:29] local.INFO: TCP Data received {"connection_id":124902,"ip":"117.224.129.116","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 21:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124902,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 21:44:29] local.INFO: Processing buffer {"connection_id":124902,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 21:44:29] local.INFO: IMEI packet received {"connection_id":124902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":124902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:44:40] local.INFO: TCP Data received {"connection_id":124813,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:44:40] local.INFO: Processing buffer {"connection_id":124813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:44:40] local.INFO: Packet analysis {"connection_id":124813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d57"} 
[2026-07-07 21:44:40] local.INFO: Extracted packet for processing {"connection_id":124813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d57"} 
[2026-07-07 21:44:40] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560716800001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4177862688162752512,"note":"Value kept but may cause issues"} 
[2026-07-07 21:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783440601000,"timestamp_ms":1783440601000,"timestamp_seconds":1783440601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d57efa8"} 
[2026-07-07 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-07-07 21:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 21:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 21:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560716800001,"66":26202,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4177862688162752512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560716800001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:44:40] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:44:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4177862688162752512,"description":"Unknown IO ID 45"} 
[2026-07-07 21:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560716800001,"power":26202,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4177862688162752512}} 
[2026-07-07 21:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":124813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:44:40] local.INFO: GPS data processed {"connection_id":124813,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:44:40] local.INFO: Acknowledgment sent {"connection_id":124813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:44:58] local.INFO: TCP Data received {"connection_id":125628,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:44:58] local.INFO: Processing buffer {"connection_id":125628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:44:58] local.INFO: IMEI packet received {"connection_id":125628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":125628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:45:03] local.INFO: TCP Data received {"connection_id":125628,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:45:03] local.INFO: Processing buffer {"connection_id":125628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:45:03] local.INFO: IMEI packet received {"connection_id":125628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":125628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:45:04] local.INFO: TCP Data received {"connection_id":125628,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:45:04] local.INFO: Processing buffer {"connection_id":125628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:45:04] local.INFO: Packet analysis {"connection_id":125628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d57"} 
[2026-07-07 21:45:04] local.INFO: Extracted packet for processing {"connection_id":125628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d57"} 
[2026-07-07 21:45:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560716800001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4177862688162752512,"note":"Value kept but may cause issues"} 
[2026-07-07 21:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783440601000,"timestamp_ms":1783440601000,"timestamp_seconds":1783440601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d57efa8"} 
[2026-07-07 21:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 21:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560716800001,"66":26202,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4177862688162752512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560716800001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:45:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:45:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4177862688162752512,"description":"Unknown IO ID 45"} 
[2026-07-07 21:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560716800001,"power":26202,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4177862688162752512}} 
[2026-07-07 21:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":125628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:45:04] local.INFO: GPS data processed {"connection_id":125628,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:45:04] local.INFO: Acknowledgment sent {"connection_id":125628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:45:35] local.INFO: TCP Data received {"connection_id":125628,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:45:35] local.INFO: Processing buffer {"connection_id":125628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d57efa8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 21:45:35] local.INFO: Packet analysis {"connection_id":125628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d57"} 
[2026-07-07 21:45:35] local.INFO: Extracted packet for processing {"connection_id":125628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d57"} 
[2026-07-07 21:45:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560716800001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4177862688162752512,"note":"Value kept but may cause issues"} 
[2026-07-07 21:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783440601000,"timestamp_ms":1783440601000,"timestamp_seconds":1783440601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d57efa8"} 
[2026-07-07 21:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 21:45: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-07-07 21:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560716800001,"66":26202,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4177862688162752512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560716800001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:45:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:45:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4177862688162752512,"description":"Unknown IO ID 45"} 
[2026-07-07 21:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560716800001,"power":26202,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4177862688162752512}} 
[2026-07-07 21:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":125628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:45:35] local.INFO: GPS data processed {"connection_id":125628,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:45:35] local.INFO: Acknowledgment sent {"connection_id":125628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:45:58] local.INFO: TCP Data received {"connection_id":125629,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:45:58] local.INFO: Processing buffer {"connection_id":125629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:45:58] local.INFO: IMEI packet received {"connection_id":125629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":125629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:46:03] local.INFO: TCP Data received {"connection_id":125629,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:46:03] local.INFO: Processing buffer {"connection_id":125629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:46:03] local.INFO: IMEI packet received {"connection_id":125629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":125629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:46:04] local.INFO: TCP Data received {"connection_id":125629,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:46:04] local.INFO: Processing buffer {"connection_id":125629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:46:04] local.INFO: Packet analysis {"connection_id":125629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d5c"} 
[2026-07-07 21:46:04] local.INFO: Extracted packet for processing {"connection_id":125629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d5c"} 
[2026-07-07 21:46:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560793856001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783440902000,"timestamp_ms":1783440902000,"timestamp_seconds":1783440902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5c8770"} 
[2026-07-07 21:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560793856001,"66":25919,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560793856001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:46:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:46:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560793856001,"power":25919,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":125629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:46:04] local.INFO: GPS data processed {"connection_id":125629,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:46:04] local.INFO: Acknowledgment sent {"connection_id":125629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:46:35] local.INFO: TCP Data received {"connection_id":125629,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:46:35] local.INFO: Processing buffer {"connection_id":125629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:46:35] local.INFO: Packet analysis {"connection_id":125629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d5c"} 
[2026-07-07 21:46:35] local.INFO: Extracted packet for processing {"connection_id":125629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d5c"} 
[2026-07-07 21:46:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560793856001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783440902000,"timestamp_ms":1783440902000,"timestamp_seconds":1783440902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5c8770"} 
[2026-07-07 21:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560793856001,"66":25919,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560793856001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:46:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:46:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560793856001,"power":25919,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":125629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:46:35] local.INFO: GPS data processed {"connection_id":125629,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:46:35] local.INFO: Acknowledgment sent {"connection_id":125629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:46:57] local.INFO: TCP Data received {"connection_id":126879,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:46:58] local.INFO: Processing buffer {"connection_id":126879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:46:58] local.INFO: IMEI packet received {"connection_id":126879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":126879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:47:03] local.INFO: TCP Data received {"connection_id":126879,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:47:03] local.INFO: Processing buffer {"connection_id":126879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:47:03] local.INFO: IMEI packet received {"connection_id":126879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":126879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:47:04] local.INFO: TCP Data received {"connection_id":126879,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:47:04] local.INFO: Processing buffer {"connection_id":126879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:47:04] local.INFO: Packet analysis {"connection_id":126879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d5c"} 
[2026-07-07 21:47:04] local.INFO: Extracted packet for processing {"connection_id":126879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d5c"} 
[2026-07-07 21:47:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560793856001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783440902000,"timestamp_ms":1783440902000,"timestamp_seconds":1783440902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5c8770"} 
[2026-07-07 21:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560793856001,"66":25919,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560793856001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:47:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:47:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560793856001,"power":25919,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":126879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:47:04] local.INFO: GPS data processed {"connection_id":126879,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:47:04] local.INFO: Acknowledgment sent {"connection_id":126879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:47:35] local.INFO: TCP Data received {"connection_id":126879,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:47:35] local.INFO: Processing buffer {"connection_id":126879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:47:35] local.INFO: Packet analysis {"connection_id":126879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d5c"} 
[2026-07-07 21:47:35] local.INFO: Extracted packet for processing {"connection_id":126879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d5c"} 
[2026-07-07 21:47:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560793856001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783440902000,"timestamp_ms":1783440902000,"timestamp_seconds":1783440902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5c8770"} 
[2026-07-07 21:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560793856001,"66":25919,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560793856001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:47:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:47:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560793856001,"power":25919,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":126879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:47:35] local.INFO: GPS data processed {"connection_id":126879,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:47:35] local.INFO: Acknowledgment sent {"connection_id":126879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:48:00] local.INFO: TCP Data received {"connection_id":124903,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:48:00] local.INFO: Processing buffer {"connection_id":124903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:48:00] local.INFO: IMEI packet received {"connection_id":124903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":124903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:48:03] local.INFO: TCP Data received {"connection_id":124903,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:48:03] local.INFO: Processing buffer {"connection_id":124903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:48:03] local.INFO: IMEI packet received {"connection_id":124903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":124903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:48:04] local.INFO: TCP Data received {"connection_id":124903,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:48:04] local.INFO: Processing buffer {"connection_id":124903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:48:04] local.INFO: Packet analysis {"connection_id":124903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d5c"} 
[2026-07-07 21:48:04] local.INFO: Extracted packet for processing {"connection_id":124903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d5c"} 
[2026-07-07 21:48:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560793856001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783440902000,"timestamp_ms":1783440902000,"timestamp_seconds":1783440902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5c8770"} 
[2026-07-07 21:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560793856001,"66":25919,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560793856001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:48:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:48:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560793856001,"power":25919,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":124903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:48:04] local.INFO: GPS data processed {"connection_id":124903,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:48:04] local.INFO: Acknowledgment sent {"connection_id":124903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:48:42] local.INFO: TCP Data received {"connection_id":124903,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:48:42] local.INFO: Processing buffer {"connection_id":124903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:48:42] local.INFO: Packet analysis {"connection_id":124903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d5c"} 
[2026-07-07 21:48:42] local.INFO: Extracted packet for processing {"connection_id":124903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d5c"} 
[2026-07-07 21:48:42] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560793856001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:48: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-07-07 21:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783440902000,"timestamp_ms":1783440902000,"timestamp_seconds":1783440902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5c8770"} 
[2026-07-07 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-07-07 21:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 21:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560793856001,"66":25919,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560793856001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:48:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:48:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560793856001,"power":25919,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":124903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:48:42] local.INFO: GPS data processed {"connection_id":124903,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:48:42] local.INFO: Acknowledgment sent {"connection_id":124903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:49:03] local.INFO: TCP Data received {"connection_id":126881,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:49:03] local.INFO: Processing buffer {"connection_id":126881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:49:03] local.INFO: IMEI packet received {"connection_id":126881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":126881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:49:08] local.INFO: TCP Data received {"connection_id":126881,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:49:08] local.INFO: Processing buffer {"connection_id":126881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:49:08] local.INFO: IMEI packet received {"connection_id":126881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":126881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:49:09] local.INFO: TCP Data received {"connection_id":126881,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:49:09] local.INFO: Processing buffer {"connection_id":126881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:49:09] local.INFO: Packet analysis {"connection_id":126881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d5c"} 
[2026-07-07 21:49:09] local.INFO: Extracted packet for processing {"connection_id":126881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d5c"} 
[2026-07-07 21:49:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560793856001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783440902000,"timestamp_ms":1783440902000,"timestamp_seconds":1783440902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5c8770"} 
[2026-07-07 21:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560793856001,"66":25919,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560793856001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:49:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:49:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560793856001,"power":25919,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":126881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:49:09] local.INFO: GPS data processed {"connection_id":126881,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:49:09] local.INFO: Acknowledgment sent {"connection_id":126881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:49:13] local.INFO: TCP Data received {"connection_id":126881,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:49:13] local.INFO: Processing buffer {"connection_id":126881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:49:13] local.INFO: Packet analysis {"connection_id":126881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d5c"} 
[2026-07-07 21:49:13] local.INFO: Extracted packet for processing {"connection_id":126881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d5c"} 
[2026-07-07 21:49:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560793856001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783440902000,"timestamp_ms":1783440902000,"timestamp_seconds":1783440902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5c8770"} 
[2026-07-07 21:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:49: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-07-07 21:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560793856001,"66":25919,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560793856001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:49:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:49:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560793856001,"power":25919,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":126881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:49:13] local.INFO: GPS data processed {"connection_id":126881,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:49:13] local.INFO: Acknowledgment sent {"connection_id":126881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:49:33] local.INFO: TCP Data received {"connection_id":126880,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:49:33] local.INFO: Processing buffer {"connection_id":126880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:49:33] local.INFO: IMEI packet received {"connection_id":126880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":126880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:49:35] local.INFO: TCP Data received {"connection_id":126880,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:49:35] local.INFO: Processing buffer {"connection_id":126880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:49:35] local.INFO: Packet analysis {"connection_id":126880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d5e"} 
[2026-07-07 21:49:35] local.INFO: Extracted packet for processing {"connection_id":126880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d5e"} 
[2026-07-07 21:49:35] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560823808001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783441019000,"timestamp_ms":1783441019000,"timestamp_seconds":1783441019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5e5078"} 
[2026-07-07 21:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 21:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560823808001,"66":25875,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560823808001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:49:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:49:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560823808001,"power":25875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":126880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447934,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:49:35] local.INFO: GPS data processed {"connection_id":126880,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:49:35] local.INFO: Acknowledgment sent {"connection_id":126880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:49:58] local.INFO: TCP Data received {"connection_id":124904,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:49:58] local.INFO: Processing buffer {"connection_id":124904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:49:58] local.INFO: IMEI packet received {"connection_id":124904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":124904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:49:58] local.INFO: TCP Data received {"connection_id":126882,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:49:58] local.INFO: Processing buffer {"connection_id":126882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:49:58] local.INFO: IMEI packet received {"connection_id":126882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":126882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:50:03] local.INFO: TCP Data received {"connection_id":126882,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:50:03] local.INFO: Processing buffer {"connection_id":126882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:50:03] local.INFO: IMEI packet received {"connection_id":126882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":126882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:50:03] local.INFO: TCP Data received {"connection_id":124904,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:50:03] local.INFO: Processing buffer {"connection_id":124904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:50:03] local.INFO: IMEI packet received {"connection_id":124904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":124904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:50:04] local.INFO: TCP Data received {"connection_id":126882,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:50:04] local.INFO: Processing buffer {"connection_id":126882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:50:04] local.INFO: Packet analysis {"connection_id":126882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d5c"} 
[2026-07-07 21:50:04] local.INFO: Extracted packet for processing {"connection_id":126882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d5c"} 
[2026-07-07 21:50:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560793856001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783440902000,"timestamp_ms":1783440902000,"timestamp_seconds":1783440902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5c8770"} 
[2026-07-07 21:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560793856001,"66":25919,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560793856001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:50:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:50:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560793856001,"power":25919,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":126882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:50:04] local.INFO: GPS data processed {"connection_id":126882,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:50:04] local.INFO: Acknowledgment sent {"connection_id":126882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:50:05] local.INFO: TCP Data received {"connection_id":124904,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:50:05] local.INFO: Processing buffer {"connection_id":124904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:50:05] local.INFO: Packet analysis {"connection_id":124904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d5e"} 
[2026-07-07 21:50:05] local.INFO: Extracted packet for processing {"connection_id":124904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d5e"} 
[2026-07-07 21:50:05] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560823808001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783441019000,"timestamp_ms":1783441019000,"timestamp_seconds":1783441019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5e5078"} 
[2026-07-07 21:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 21:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560823808001,"66":25875,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560823808001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:50:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:50:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560823808001,"power":25875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":124904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447936,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:50:05] local.INFO: GPS data processed {"connection_id":124904,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:50:05] local.INFO: Acknowledgment sent {"connection_id":124904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:50:35] local.INFO: TCP Data received {"connection_id":126882,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:50:35] local.INFO: Processing buffer {"connection_id":126882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5c8770012dc5eb400537d5a0003401442f..."} 
[2026-07-07 21:50:35] local.INFO: Packet analysis {"connection_id":126882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d5c"} 
[2026-07-07 21:50:35] local.INFO: Extracted packet for processing {"connection_id":126882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d5c"} 
[2026-07-07 21:50:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560793856001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783440902000,"timestamp_ms":1783440902000,"timestamp_seconds":1783440902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5c8770"} 
[2026-07-07 21:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-07 21:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560793856001,"66":25919,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560793856001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:50:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:50:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560793856001,"power":25919,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":126882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:50:35] local.INFO: GPS data processed {"connection_id":126882,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:50:35] local.INFO: Acknowledgment sent {"connection_id":126882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:50:38] local.INFO: TCP Data received {"connection_id":124904,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:50:38] local.INFO: Processing buffer {"connection_id":124904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:50:38] local.INFO: Packet analysis {"connection_id":124904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d5e"} 
[2026-07-07 21:50:38] local.INFO: Extracted packet for processing {"connection_id":124904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d5e"} 
[2026-07-07 21:50:38] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560823808001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783441019000,"timestamp_ms":1783441019000,"timestamp_seconds":1783441019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5e5078"} 
[2026-07-07 21:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 21:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560823808001,"66":25875,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560823808001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:50:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:50:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560823808001,"power":25875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":124904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447938,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:50:39] local.INFO: GPS data processed {"connection_id":124904,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:50:39] local.INFO: Acknowledgment sent {"connection_id":124904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:50:58] local.INFO: TCP Data received {"connection_id":124905,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:50:58] local.INFO: Processing buffer {"connection_id":124905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:50:58] local.INFO: IMEI packet received {"connection_id":124905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":124905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:51:03] local.INFO: TCP Data received {"connection_id":124905,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:51:03] local.INFO: Processing buffer {"connection_id":124905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:51:03] local.INFO: IMEI packet received {"connection_id":124905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":124905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:51:04] local.INFO: TCP Data received {"connection_id":124905,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:51:04] local.INFO: Processing buffer {"connection_id":124905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:51:04] local.INFO: Packet analysis {"connection_id":124905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d61"} 
[2026-07-07 21:51:04] local.INFO: Extracted packet for processing {"connection_id":124905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d61"} 
[2026-07-07 21:51:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560870912001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783441203000,"timestamp_ms":1783441203000,"timestamp_seconds":1783441203,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d611f38"} 
[2026-07-07 21:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 21:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560870912001,"66":25778,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560870912001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:51:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:51:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560870912001,"power":25778,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":124905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:51:04] local.INFO: GPS data processed {"connection_id":124905,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:51:04] local.INFO: Acknowledgment sent {"connection_id":124905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:51:04] local.INFO: TCP Data received {"connection_id":126883,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:51:04] local.INFO: Processing buffer {"connection_id":126883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:51:04] local.INFO: IMEI packet received {"connection_id":126883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":126883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:51:08] local.INFO: TCP Data received {"connection_id":126883,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:51:08] local.INFO: Processing buffer {"connection_id":126883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:51:08] local.INFO: IMEI packet received {"connection_id":126883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":126883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:51:09] local.INFO: TCP Data received {"connection_id":126883,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:51:09] local.INFO: Processing buffer {"connection_id":126883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:51:09] local.INFO: Packet analysis {"connection_id":126883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d5e"} 
[2026-07-07 21:51:09] local.INFO: Extracted packet for processing {"connection_id":126883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d5e"} 
[2026-07-07 21:51:09] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560823808001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783441019000,"timestamp_ms":1783441019000,"timestamp_seconds":1783441019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5e5078"} 
[2026-07-07 21:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 21:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560823808001,"66":25875,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560823808001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:51:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:51:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560823808001,"power":25875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":126883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447940,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:51:09] local.INFO: GPS data processed {"connection_id":126883,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:51:09] local.INFO: Acknowledgment sent {"connection_id":126883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:51:35] local.INFO: TCP Data received {"connection_id":124905,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:51:35] local.INFO: Processing buffer {"connection_id":124905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:51:35] local.INFO: Packet analysis {"connection_id":124905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d61"} 
[2026-07-07 21:51:35] local.INFO: Extracted packet for processing {"connection_id":124905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d61"} 
[2026-07-07 21:51:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560870912001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783441203000,"timestamp_ms":1783441203000,"timestamp_seconds":1783441203,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d611f38"} 
[2026-07-07 21:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 21:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560870912001,"66":25778,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560870912001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:51:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:51:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560870912001,"power":25778,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":124905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:51:35] local.INFO: GPS data processed {"connection_id":124905,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:51:35] local.INFO: Acknowledgment sent {"connection_id":124905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:51:41] local.INFO: TCP Data received {"connection_id":126883,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:51:41] local.INFO: Processing buffer {"connection_id":126883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:51:41] local.INFO: Packet analysis {"connection_id":126883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d5e"} 
[2026-07-07 21:51:41] local.INFO: Extracted packet for processing {"connection_id":126883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d5e"} 
[2026-07-07 21:51:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560823808001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783441019000,"timestamp_ms":1783441019000,"timestamp_seconds":1783441019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5e5078"} 
[2026-07-07 21:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 21:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560823808001,"66":25875,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560823808001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:51:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:51:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560823808001,"power":25875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":126883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447942,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:51:41] local.INFO: GPS data processed {"connection_id":126883,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:51:41] local.INFO: Acknowledgment sent {"connection_id":126883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:51:58] local.INFO: TCP Data received {"connection_id":124814,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:51:58] local.INFO: Processing buffer {"connection_id":124814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:51:58] local.INFO: IMEI packet received {"connection_id":124814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":124814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:51:58] local.INFO: TCP Data received {"connection_id":124906,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:51:58] local.INFO: Processing buffer {"connection_id":124906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:51:58] local.INFO: IMEI packet received {"connection_id":124906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":124906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:52:03] local.INFO: TCP Data received {"connection_id":124906,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:52:03] local.INFO: Processing buffer {"connection_id":124906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:52:03] local.INFO: IMEI packet received {"connection_id":124906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":124906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:52:03] local.INFO: TCP Data received {"connection_id":124814,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:52:03] local.INFO: Processing buffer {"connection_id":124814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:52:03] local.INFO: IMEI packet received {"connection_id":124814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":124814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:52:04] local.INFO: TCP Data received {"connection_id":124814,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:52:04] local.INFO: Processing buffer {"connection_id":124814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:52:04] local.INFO: Packet analysis {"connection_id":124814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d61"} 
[2026-07-07 21:52:04] local.INFO: Extracted packet for processing {"connection_id":124814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d61"} 
[2026-07-07 21:52:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560870912001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783441203000,"timestamp_ms":1783441203000,"timestamp_seconds":1783441203,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d611f38"} 
[2026-07-07 21:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 21:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560870912001,"66":25778,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560870912001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:52:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:52:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560870912001,"power":25778,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":124814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:52:04] local.INFO: GPS data processed {"connection_id":124814,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:52:04] local.INFO: Acknowledgment sent {"connection_id":124814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:52:07] local.INFO: TCP Data received {"connection_id":124906,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:52:07] local.INFO: Processing buffer {"connection_id":124906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:52:07] local.INFO: Packet analysis {"connection_id":124906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d5e"} 
[2026-07-07 21:52:07] local.INFO: Extracted packet for processing {"connection_id":124906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d5e"} 
[2026-07-07 21:52:07] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560823808001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783441019000,"timestamp_ms":1783441019000,"timestamp_seconds":1783441019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5e5078"} 
[2026-07-07 21:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 21:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560823808001,"66":25875,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560823808001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:52:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:52:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560823808001,"power":25875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":124906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447944,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:52:07] local.INFO: GPS data processed {"connection_id":124906,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:52:07] local.INFO: Acknowledgment sent {"connection_id":124906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:52:14] local.INFO: TCP Data received {"connection_id":124906,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:52:14] local.INFO: Processing buffer {"connection_id":124906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d5e5078012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:52:14] local.INFO: Packet analysis {"connection_id":124906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d5e"} 
[2026-07-07 21:52:14] local.INFO: Extracted packet for processing {"connection_id":124906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d5e"} 
[2026-07-07 21:52:14] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560823808001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783441019000,"timestamp_ms":1783441019000,"timestamp_seconds":1783441019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d5e5078"} 
[2026-07-07 21:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 21:52: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-07-07 21: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-07-07 21:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560823808001,"66":25875,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560823808001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:52:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:52:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560823808001,"power":25875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":124906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447945,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:52:14] local.INFO: GPS data processed {"connection_id":124906,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:52:14] local.INFO: Acknowledgment sent {"connection_id":124906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:52:35] local.INFO: TCP Data received {"connection_id":124814,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:52:35] local.INFO: Processing buffer {"connection_id":124814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:52:35] local.INFO: Packet analysis {"connection_id":124814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d61"} 
[2026-07-07 21:52:35] local.INFO: Extracted packet for processing {"connection_id":124814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d61"} 
[2026-07-07 21:52:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560870912001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783441203000,"timestamp_ms":1783441203000,"timestamp_seconds":1783441203,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d611f38"} 
[2026-07-07 21:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 21:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560870912001,"66":25778,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560870912001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:52:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:52:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560870912001,"power":25778,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":124814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:52:35] local.INFO: GPS data processed {"connection_id":124814,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:52:35] local.INFO: Acknowledgment sent {"connection_id":124814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:53:03] local.INFO: TCP Data received {"connection_id":125631,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:53:03] local.INFO: Processing buffer {"connection_id":125631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:53:03] local.INFO: IMEI packet received {"connection_id":125631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":125631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:53:04] local.INFO: TCP Data received {"connection_id":125632,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:53:04] local.INFO: Processing buffer {"connection_id":125632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:53:04] local.INFO: IMEI packet received {"connection_id":125632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":125632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:53:08] local.INFO: TCP Data received {"connection_id":125631,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:53:08] local.INFO: Processing buffer {"connection_id":125631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:53:08] local.INFO: IMEI packet received {"connection_id":125631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":125631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:53:09] local.INFO: TCP Data received {"connection_id":125631,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:53:09] local.INFO: Processing buffer {"connection_id":125631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:53:09] local.INFO: Packet analysis {"connection_id":125631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d61"} 
[2026-07-07 21:53:09] local.INFO: Extracted packet for processing {"connection_id":125631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d61"} 
[2026-07-07 21:53:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560870912001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783441203000,"timestamp_ms":1783441203000,"timestamp_seconds":1783441203,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d611f38"} 
[2026-07-07 21:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 21:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560870912001,"66":25778,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560870912001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:53:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:53:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560870912001,"power":25778,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":125631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:53:09] local.INFO: GPS data processed {"connection_id":125631,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:53:09] local.INFO: Acknowledgment sent {"connection_id":125631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:53:09] local.INFO: TCP Data received {"connection_id":125632,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:53:09] local.INFO: Processing buffer {"connection_id":125632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:53:09] local.INFO: IMEI packet received {"connection_id":125632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":125632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:53:10] local.INFO: TCP Data received {"connection_id":125632,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:53:10] local.INFO: Processing buffer {"connection_id":125632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:53:10] local.INFO: Packet analysis {"connection_id":125632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d62"} 
[2026-07-07 21:53:10] local.INFO: Extracted packet for processing {"connection_id":125632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d62"} 
[2026-07-07 21:53:10] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560900864001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783441320000,"timestamp_ms":1783441320000,"timestamp_seconds":1783441320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d62e840"} 
[2026-07-07 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-07-07 21:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 21:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 21:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560900864001,"66":25854,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560900864001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:53:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:53:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560900864001,"power":25854,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":125632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447948,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:53:10] local.INFO: GPS data processed {"connection_id":125632,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:53:10] local.INFO: Acknowledgment sent {"connection_id":125632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:53:13] local.INFO: TCP Data received {"connection_id":125631,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:53:13] local.INFO: Processing buffer {"connection_id":125631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:53:13] local.INFO: Packet analysis {"connection_id":125631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d61"} 
[2026-07-07 21:53:13] local.INFO: Extracted packet for processing {"connection_id":125631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d61"} 
[2026-07-07 21:53:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560870912001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783441203000,"timestamp_ms":1783441203000,"timestamp_seconds":1783441203,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d611f38"} 
[2026-07-07 21:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:53: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-07-07 21:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 21:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560870912001,"66":25778,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560870912001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:53:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:53:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560870912001,"power":25778,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":125631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:53:13] local.INFO: GPS data processed {"connection_id":125631,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:53:13] local.INFO: Acknowledgment sent {"connection_id":125631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:53:14] local.INFO: TCP Data received {"connection_id":125632,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:53:14] local.INFO: Processing buffer {"connection_id":125632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:53:14] local.INFO: Packet analysis {"connection_id":125632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d62"} 
[2026-07-07 21:53:14] local.INFO: Extracted packet for processing {"connection_id":125632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d62"} 
[2026-07-07 21:53:14] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560900864001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783441320000,"timestamp_ms":1783441320000,"timestamp_seconds":1783441320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d62e840"} 
[2026-07-07 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-07-07 21:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 21:53: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-07-07 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-07-07 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-07-07 21:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560900864001,"66":25854,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560900864001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:53:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:53:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560900864001,"power":25854,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":125632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447950,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:53:14] local.INFO: GPS data processed {"connection_id":125632,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:53:14] local.INFO: Acknowledgment sent {"connection_id":125632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:53:58] local.INFO: TCP Data received {"connection_id":125633,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:53:58] local.INFO: Processing buffer {"connection_id":125633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:53:58] local.INFO: IMEI packet received {"connection_id":125633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":125633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:53:58] local.INFO: TCP Data received {"connection_id":124815,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:53:58] local.INFO: Processing buffer {"connection_id":124815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:53:58] local.INFO: IMEI packet received {"connection_id":124815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":124815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:54:03] local.INFO: TCP Data received {"connection_id":125633,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:54:03] local.INFO: Processing buffer {"connection_id":125633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:54:03] local.INFO: IMEI packet received {"connection_id":125633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":125633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:54:03] local.INFO: TCP Data received {"connection_id":124815,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:54:03] local.INFO: Processing buffer {"connection_id":124815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:54:03] local.INFO: IMEI packet received {"connection_id":124815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":124815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:54:04] local.INFO: TCP Data received {"connection_id":125633,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:54:04] local.INFO: Processing buffer {"connection_id":125633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:54:04] local.INFO: Packet analysis {"connection_id":125633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d61"} 
[2026-07-07 21:54:04] local.INFO: Extracted packet for processing {"connection_id":125633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d61"} 
[2026-07-07 21:54:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560870912001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783441203000,"timestamp_ms":1783441203000,"timestamp_seconds":1783441203,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d611f38"} 
[2026-07-07 21:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 21:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560870912001,"66":25778,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560870912001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:54:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:54:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560870912001,"power":25778,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":125633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:54:04] local.INFO: GPS data processed {"connection_id":125633,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:54:04] local.INFO: Acknowledgment sent {"connection_id":125633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:54:06] local.INFO: TCP Data received {"connection_id":124815,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:54:06] local.INFO: Processing buffer {"connection_id":124815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:54:06] local.INFO: Packet analysis {"connection_id":124815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d62"} 
[2026-07-07 21:54:06] local.INFO: Extracted packet for processing {"connection_id":124815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d62"} 
[2026-07-07 21:54:06] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560900864001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783441320000,"timestamp_ms":1783441320000,"timestamp_seconds":1783441320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d62e840"} 
[2026-07-07 21:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 21:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560900864001,"66":25854,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560900864001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:54:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:54:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560900864001,"power":25854,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":124815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447952,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:54:06] local.INFO: GPS data processed {"connection_id":124815,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:54:06] local.INFO: Acknowledgment sent {"connection_id":124815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:54:35] local.INFO: TCP Data received {"connection_id":125633,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:54:35] local.INFO: Processing buffer {"connection_id":125633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:54:35] local.INFO: Packet analysis {"connection_id":125633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d61"} 
[2026-07-07 21:54:35] local.INFO: Extracted packet for processing {"connection_id":125633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d61"} 
[2026-07-07 21:54:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560870912001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783441203000,"timestamp_ms":1783441203000,"timestamp_seconds":1783441203,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d611f38"} 
[2026-07-07 21:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 21:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560870912001,"66":25778,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560870912001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:54:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:54:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560870912001,"power":25778,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":125633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:54:35] local.INFO: GPS data processed {"connection_id":125633,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:54:35] local.INFO: Acknowledgment sent {"connection_id":125633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:54:40] local.INFO: TCP Data received {"connection_id":124815,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:54:40] local.INFO: Processing buffer {"connection_id":124815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:54:40] local.INFO: Packet analysis {"connection_id":124815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d62"} 
[2026-07-07 21:54:40] local.INFO: Extracted packet for processing {"connection_id":124815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d62"} 
[2026-07-07 21:54:40] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560900864001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783441320000,"timestamp_ms":1783441320000,"timestamp_seconds":1783441320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d62e840"} 
[2026-07-07 21:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 21:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560900864001,"66":25854,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560900864001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:54:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:54:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560900864001,"power":25854,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":124815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447954,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:54:40] local.INFO: GPS data processed {"connection_id":124815,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:54:40] local.INFO: Acknowledgment sent {"connection_id":124815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:54:58] local.INFO: TCP Data received {"connection_id":125634,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:54:58] local.INFO: Processing buffer {"connection_id":125634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:54:58] local.INFO: IMEI packet received {"connection_id":125634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":125634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:54:58] local.INFO: TCP Data received {"connection_id":125635,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:54:58] local.INFO: Processing buffer {"connection_id":125635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:54:58] local.INFO: IMEI packet received {"connection_id":125635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":125635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:55:03] local.INFO: TCP Data received {"connection_id":125634,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:55:03] local.INFO: Processing buffer {"connection_id":125634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:55:03] local.INFO: IMEI packet received {"connection_id":125634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":125634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:55:03] local.INFO: TCP Data received {"connection_id":125635,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:55:03] local.INFO: Processing buffer {"connection_id":125635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:55:03] local.INFO: IMEI packet received {"connection_id":125635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":125635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:55:04] local.INFO: TCP Data received {"connection_id":125634,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:55:04] local.INFO: Processing buffer {"connection_id":125634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:55:04] local.INFO: Packet analysis {"connection_id":125634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d61"} 
[2026-07-07 21:55:04] local.INFO: Extracted packet for processing {"connection_id":125634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d61"} 
[2026-07-07 21:55:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560870912001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783441203000,"timestamp_ms":1783441203000,"timestamp_seconds":1783441203,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d611f38"} 
[2026-07-07 21:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 21:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560870912001,"66":25778,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560870912001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:55:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:55:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560870912001,"power":25778,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":125634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:55:04] local.INFO: GPS data processed {"connection_id":125634,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:55:04] local.INFO: Acknowledgment sent {"connection_id":125634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:55:04] local.INFO: TCP Data received {"connection_id":125635,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:55:04] local.INFO: Processing buffer {"connection_id":125635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:55:04] local.INFO: Packet analysis {"connection_id":125635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d62"} 
[2026-07-07 21:55:04] local.INFO: Extracted packet for processing {"connection_id":125635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d62"} 
[2026-07-07 21:55:04] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560900864001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783441320000,"timestamp_ms":1783441320000,"timestamp_seconds":1783441320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d62e840"} 
[2026-07-07 21:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 21:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560900864001,"66":25854,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560900864001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:55:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:55:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560900864001,"power":25854,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":125635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447956,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:55:04] local.INFO: GPS data processed {"connection_id":125635,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:55:04] local.INFO: Acknowledgment sent {"connection_id":125635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:55:35] local.INFO: TCP Data received {"connection_id":125634,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:55:35] local.INFO: Processing buffer {"connection_id":125634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d611f38012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:55:35] local.INFO: Packet analysis {"connection_id":125634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d61"} 
[2026-07-07 21:55:35] local.INFO: Extracted packet for processing {"connection_id":125634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d61"} 
[2026-07-07 21:55:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560870912001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783441203000,"timestamp_ms":1783441203000,"timestamp_seconds":1783441203,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d611f38"} 
[2026-07-07 21:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-07 21:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560870912001,"66":25778,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560870912001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:55:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:55:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560870912001,"power":25778,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":125634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:55:35] local.INFO: GPS data processed {"connection_id":125634,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:55:35] local.INFO: Acknowledgment sent {"connection_id":125634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:55:36] local.INFO: TCP Data received {"connection_id":125635,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:55:36] local.INFO: Processing buffer {"connection_id":125635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:55:36] local.INFO: Packet analysis {"connection_id":125635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d62"} 
[2026-07-07 21:55:36] local.INFO: Extracted packet for processing {"connection_id":125635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d62"} 
[2026-07-07 21:55:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560900864001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783441320000,"timestamp_ms":1783441320000,"timestamp_seconds":1783441320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d62e840"} 
[2026-07-07 21:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 21:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560900864001,"66":25854,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560900864001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:55:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:55:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560900864001,"power":25854,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":125635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447958,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:55:36] local.INFO: GPS data processed {"connection_id":125635,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:55:36] local.INFO: Acknowledgment sent {"connection_id":125635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:55:58] local.INFO: TCP Data received {"connection_id":124816,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:55:58] local.INFO: Processing buffer {"connection_id":124816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:55:58] local.INFO: IMEI packet received {"connection_id":124816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":124816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:56:03] local.INFO: TCP Data received {"connection_id":124816,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:56:03] local.INFO: Processing buffer {"connection_id":124816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:56:03] local.INFO: IMEI packet received {"connection_id":124816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":124816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:56:03] local.INFO: TCP Data received {"connection_id":126884,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:56:03] local.INFO: Processing buffer {"connection_id":126884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:56:03] local.INFO: IMEI packet received {"connection_id":126884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":126884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:56:07] local.INFO: TCP Data received {"connection_id":124816,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:56:07] local.INFO: Processing buffer {"connection_id":124816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:56:07] local.INFO: Packet analysis {"connection_id":124816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d65"} 
[2026-07-07 21:56:07] local.INFO: Extracted packet for processing {"connection_id":124816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d65"} 
[2026-07-07 21:56:07] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560947968001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783441504000,"timestamp_ms":1783441504000,"timestamp_seconds":1783441504,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d65b700"} 
[2026-07-07 21:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 21:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560947968001,"66":25756,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560947968001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:56:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:56:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560947968001,"power":25756,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":124816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:56:07] local.INFO: GPS data processed {"connection_id":124816,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:56:07] local.INFO: Acknowledgment sent {"connection_id":124816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:56:08] local.INFO: TCP Data received {"connection_id":126884,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:56:08] local.INFO: Processing buffer {"connection_id":126884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:56:08] local.INFO: IMEI packet received {"connection_id":126884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":126884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:56:19] local.INFO: TCP Data received {"connection_id":126884,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:56:19] local.INFO: Processing buffer {"connection_id":126884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:56:19] local.INFO: Packet analysis {"connection_id":126884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d62"} 
[2026-07-07 21:56:19] local.INFO: Extracted packet for processing {"connection_id":126884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d62"} 
[2026-07-07 21:56:19] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560900864001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783441320000,"timestamp_ms":1783441320000,"timestamp_seconds":1783441320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d62e840"} 
[2026-07-07 21:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 21:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":126884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":126884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":126884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560900864001,"66":25854,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560900864001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:56:19] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:56:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560900864001,"power":25854,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":126884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447960,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:56:20] local.INFO: GPS data processed {"connection_id":126884,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:56:20] local.INFO: Acknowledgment sent {"connection_id":126884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:56:21] local.INFO: TCP Data received {"connection_id":126884,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:56:21] local.INFO: Processing buffer {"connection_id":126884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:56:21] local.INFO: Packet analysis {"connection_id":126884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d62"} 
[2026-07-07 21:56:21] local.INFO: Extracted packet for processing {"connection_id":126884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d62"} 
[2026-07-07 21:56:21] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560900864001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783441320000,"timestamp_ms":1783441320000,"timestamp_seconds":1783441320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d62e840"} 
[2026-07-07 21:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 21:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21: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-07-07 21:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560900864001,"66":25854,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560900864001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:56:21] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:56:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560900864001,"power":25854,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":126884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447961,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:56:21] local.INFO: GPS data processed {"connection_id":126884,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:56:21] local.INFO: Acknowledgment sent {"connection_id":126884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:56:40] local.INFO: TCP Data received {"connection_id":124816,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:56:40] local.INFO: Processing buffer {"connection_id":124816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:56:40] local.INFO: Packet analysis {"connection_id":124816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d65"} 
[2026-07-07 21:56:40] local.INFO: Extracted packet for processing {"connection_id":124816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d65"} 
[2026-07-07 21:56:40] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560947968001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783441504000,"timestamp_ms":1783441504000,"timestamp_seconds":1783441504,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d65b700"} 
[2026-07-07 21:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 21:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560947968001,"66":25756,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560947968001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:56:40] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:56:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560947968001,"power":25756,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":124816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:56:40] local.INFO: GPS data processed {"connection_id":124816,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:56:40] local.INFO: Acknowledgment sent {"connection_id":124816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:56:57] local.INFO: TCP Data received {"connection_id":125637,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:56:57] local.INFO: Processing buffer {"connection_id":125637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:56:57] local.INFO: IMEI packet received {"connection_id":125637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":125637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:56:58] local.INFO: TCP Data received {"connection_id":125636,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:56:58] local.INFO: Processing buffer {"connection_id":125636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:56:58] local.INFO: IMEI packet received {"connection_id":125636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":125636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:57:03] local.INFO: TCP Data received {"connection_id":125637,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:57:03] local.INFO: Processing buffer {"connection_id":125637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:57:03] local.INFO: IMEI packet received {"connection_id":125637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":125637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:57:03] local.INFO: TCP Data received {"connection_id":125636,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:57:03] local.INFO: Processing buffer {"connection_id":125636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:57:03] local.INFO: IMEI packet received {"connection_id":125636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":125636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:57:04] local.INFO: TCP Data received {"connection_id":125637,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:57:04] local.INFO: Processing buffer {"connection_id":125637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:57:04] local.INFO: Packet analysis {"connection_id":125637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d65"} 
[2026-07-07 21:57:04] local.INFO: Extracted packet for processing {"connection_id":125637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d65"} 
[2026-07-07 21:57:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560947968001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783441504000,"timestamp_ms":1783441504000,"timestamp_seconds":1783441504,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d65b700"} 
[2026-07-07 21:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 21:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560947968001,"66":25756,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560947968001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:57:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:57:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560947968001,"power":25756,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":125637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:57:04] local.INFO: GPS data processed {"connection_id":125637,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:57:04] local.INFO: Acknowledgment sent {"connection_id":125637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:57:04] local.INFO: TCP Data received {"connection_id":125636,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:57:04] local.INFO: Processing buffer {"connection_id":125636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:57:04] local.INFO: Packet analysis {"connection_id":125636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d62"} 
[2026-07-07 21:57:04] local.INFO: Extracted packet for processing {"connection_id":125636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d62"} 
[2026-07-07 21:57:04] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560900864001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783441320000,"timestamp_ms":1783441320000,"timestamp_seconds":1783441320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d62e840"} 
[2026-07-07 21:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 21:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125636,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125636,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560900864001,"66":25854,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560900864001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:57:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:57:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560900864001,"power":25854,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":125636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447964,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:57:04] local.INFO: GPS data processed {"connection_id":125636,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:57:04] local.INFO: Acknowledgment sent {"connection_id":125636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:57:35] local.INFO: TCP Data received {"connection_id":125637,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:57:35] local.INFO: Processing buffer {"connection_id":125637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:57:35] local.INFO: Packet analysis {"connection_id":125637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d65"} 
[2026-07-07 21:57:35] local.INFO: Extracted packet for processing {"connection_id":125637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d65"} 
[2026-07-07 21:57:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560947968001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783441504000,"timestamp_ms":1783441504000,"timestamp_seconds":1783441504,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d65b700"} 
[2026-07-07 21:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 21:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560947968001,"66":25756,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560947968001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:57:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:57:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560947968001,"power":25756,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":125637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:57:35] local.INFO: GPS data processed {"connection_id":125637,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:57:35] local.INFO: Acknowledgment sent {"connection_id":125637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:57:38] local.INFO: TCP Data received {"connection_id":125636,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:57:38] local.INFO: Processing buffer {"connection_id":125636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d62e840012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:57:38] local.INFO: Packet analysis {"connection_id":125636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d62"} 
[2026-07-07 21:57:38] local.INFO: Extracted packet for processing {"connection_id":125636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d62"} 
[2026-07-07 21:57:38] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560900864001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783441320000,"timestamp_ms":1783441320000,"timestamp_seconds":1783441320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d62e840"} 
[2026-07-07 21:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-07 21:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21: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-07-07 21:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125636,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125636,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560900864001,"66":25854,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560900864001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:57:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:57:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560900864001,"power":25854,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":125636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447966,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:57:38] local.INFO: GPS data processed {"connection_id":125636,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:57:38] local.INFO: Acknowledgment sent {"connection_id":125636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:58:03] local.INFO: TCP Data received {"connection_id":126885,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:58:03] local.INFO: Processing buffer {"connection_id":126885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:58:03] local.INFO: IMEI packet received {"connection_id":126885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":126885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:58:03] local.INFO: TCP Data received {"connection_id":126886,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:58:03] local.INFO: Processing buffer {"connection_id":126886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:58:03] local.INFO: IMEI packet received {"connection_id":126886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":126886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:58:08] local.INFO: TCP Data received {"connection_id":126885,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:58:08] local.INFO: Processing buffer {"connection_id":126885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:58:08] local.INFO: IMEI packet received {"connection_id":126885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":126885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:58:08] local.INFO: TCP Data received {"connection_id":126886,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:58:08] local.INFO: Processing buffer {"connection_id":126886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:58:08] local.INFO: IMEI packet received {"connection_id":126886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":126886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:58:09] local.INFO: TCP Data received {"connection_id":126885,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:58:09] local.INFO: Processing buffer {"connection_id":126885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:58:09] local.INFO: Packet analysis {"connection_id":126885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d65"} 
[2026-07-07 21:58:09] local.INFO: Extracted packet for processing {"connection_id":126885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d65"} 
[2026-07-07 21:58:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560947968001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783441504000,"timestamp_ms":1783441504000,"timestamp_seconds":1783441504,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d65b700"} 
[2026-07-07 21:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 21:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560947968001,"66":25756,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560947968001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:58:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:58:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560947968001,"power":25756,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":126885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:58:09] local.INFO: GPS data processed {"connection_id":126885,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:58:09] local.INFO: Acknowledgment sent {"connection_id":126885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:58:09] local.INFO: TCP Data received {"connection_id":126886,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:58:09] local.INFO: Processing buffer {"connection_id":126886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:58:09] local.INFO: Packet analysis {"connection_id":126886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d67"} 
[2026-07-07 21:58:09] local.INFO: Extracted packet for processing {"connection_id":126886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d67"} 
[2026-07-07 21:58:09] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560977920001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783441621000,"timestamp_ms":1783441621000,"timestamp_seconds":1783441621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d678008"} 
[2026-07-07 21:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 21:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560977920001,"66":25778,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560977920001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:58:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:58:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560977920001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":126886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447968,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:58:10] local.INFO: GPS data processed {"connection_id":126886,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:58:10] local.INFO: Acknowledgment sent {"connection_id":126886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:58:14] local.INFO: TCP Data received {"connection_id":126886,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:58:14] local.INFO: Processing buffer {"connection_id":126886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:58:14] local.INFO: Packet analysis {"connection_id":126886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d67"} 
[2026-07-07 21:58:14] local.INFO: Extracted packet for processing {"connection_id":126886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d67"} 
[2026-07-07 21:58:14] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560977920001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783441621000,"timestamp_ms":1783441621000,"timestamp_seconds":1783441621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d678008"} 
[2026-07-07 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-07-07 21:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":254,"data_length":795,"current_offset":136} 
[2026-07-07 21:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 21:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560977920001,"66":25778,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560977920001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:58:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:58:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560977920001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":126886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447969,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:58:14] local.INFO: GPS data processed {"connection_id":126886,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:58:14] local.INFO: Acknowledgment sent {"connection_id":126886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:58:39] local.INFO: TCP Data received {"connection_id":126885,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:58:39] local.INFO: Processing buffer {"connection_id":126885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:58:39] local.INFO: Packet analysis {"connection_id":126885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d65"} 
[2026-07-07 21:58:39] local.INFO: Extracted packet for processing {"connection_id":126885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d65"} 
[2026-07-07 21:58:39] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 21:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560947968001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783441504000,"timestamp_ms":1783441504000,"timestamp_seconds":1783441504,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d65b700"} 
[2026-07-07 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-07-07 21:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 21:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 21:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560947968001,"66":25756,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560947968001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:58:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:58:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560947968001,"power":25756,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":126885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:58:39] local.INFO: GPS data processed {"connection_id":126885,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:58:39] local.INFO: Acknowledgment sent {"connection_id":126885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:58:58] local.INFO: TCP Data received {"connection_id":124817,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:58:58] local.INFO: Processing buffer {"connection_id":124817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:58:58] local.INFO: IMEI packet received {"connection_id":124817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":124817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:58:58] local.INFO: TCP Data received {"connection_id":124907,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:58:58] local.INFO: Processing buffer {"connection_id":124907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:58:58] local.INFO: IMEI packet received {"connection_id":124907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":124907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:59:03] local.INFO: TCP Data received {"connection_id":124817,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:59:03] local.INFO: Processing buffer {"connection_id":124817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:59:03] local.INFO: IMEI packet received {"connection_id":124817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 21:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":124817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:59:04] local.INFO: TCP Data received {"connection_id":124817,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:59:04] local.INFO: Processing buffer {"connection_id":124817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:59:04] local.INFO: Packet analysis {"connection_id":124817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d65"} 
[2026-07-07 21:59:04] local.INFO: Extracted packet for processing {"connection_id":124817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d65"} 
[2026-07-07 21:59:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21: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-07-07 21:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560947968001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783441504000,"timestamp_ms":1783441504000,"timestamp_seconds":1783441504,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d65b700"} 
[2026-07-07 21:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 21:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21: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-07-07 21:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560947968001,"66":25756,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560947968001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:59:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:59:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560947968001,"power":25756,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":124817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:59:04] local.INFO: GPS data processed {"connection_id":124817,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:59:04] local.INFO: Acknowledgment sent {"connection_id":124817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:59:07] local.INFO: TCP Data received {"connection_id":124907,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:59:07] local.INFO: Processing buffer {"connection_id":124907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:59:07] local.INFO: IMEI packet received {"connection_id":124907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 21:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":124907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 21:59:08] local.INFO: TCP Data received {"connection_id":124907,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:59:08] local.INFO: Processing buffer {"connection_id":124907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:59:08] local.INFO: Packet analysis {"connection_id":124907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d67"} 
[2026-07-07 21:59:08] local.INFO: Extracted packet for processing {"connection_id":124907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d67"} 
[2026-07-07 21:59:08] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560977920001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783441621000,"timestamp_ms":1783441621000,"timestamp_seconds":1783441621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d678008"} 
[2026-07-07 21:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 21:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560977920001,"66":25778,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560977920001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:59:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:59:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560977920001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":124907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447972,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:59:08] local.INFO: GPS data processed {"connection_id":124907,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:59:08] local.INFO: Acknowledgment sent {"connection_id":124907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:59:35] local.INFO: TCP Data received {"connection_id":124817,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:59:35] local.INFO: Processing buffer {"connection_id":124817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 21:59:35] local.INFO: Packet analysis {"connection_id":124817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d65"} 
[2026-07-07 21:59:35] local.INFO: Extracted packet for processing {"connection_id":124817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d65"} 
[2026-07-07 21:59:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 21:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560947968001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 21:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 21:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783441504000,"timestamp_ms":1783441504000,"timestamp_seconds":1783441504,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d65b700"} 
[2026-07-07 21:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 21:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 21:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 21:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 21:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560947968001,"66":25756,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 21:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 21:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 21:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560947968001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:59:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 21:59:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 21:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 21:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560947968001,"power":25756,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 21:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":124817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:59:35] local.INFO: GPS data processed {"connection_id":124817,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:59:35] local.INFO: Acknowledgment sent {"connection_id":124817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:59:39] local.INFO: TCP Data received {"connection_id":124907,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:59:39] local.INFO: Processing buffer {"connection_id":124907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 21:59:39] local.INFO: Packet analysis {"connection_id":124907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d67"} 
[2026-07-07 21:59:39] local.INFO: Extracted packet for processing {"connection_id":124907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d67"} 
[2026-07-07 21:59:39] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 21:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 21:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560977920001,"note":"Value kept but may cause issues"} 
[2026-07-07 21:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 21:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 21:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 21:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783441621000,"timestamp_ms":1783441621000,"timestamp_seconds":1783441621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d678008"} 
[2026-07-07 21:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 21:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 21:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 21:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 21:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 21:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 21:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 21:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 21:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 21:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 21:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 21:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 21:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560977920001,"66":25778,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 21:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 21:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 21:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560977920001,"description":"Unknown IO ID 0"} 
[2026-07-07 21:59:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 21:59:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 21:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 21:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 21:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560977920001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 21:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":124907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447974,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 21:59:40] local.INFO: GPS data processed {"connection_id":124907,"processed":1,"errors":0,"total":1} 
[2026-07-07 21:59:40] local.INFO: Acknowledgment sent {"connection_id":124907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 21:59:58] local.INFO: TCP Data received {"connection_id":125638,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:59:58] local.INFO: Processing buffer {"connection_id":125638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 21:59:58] local.INFO: IMEI packet received {"connection_id":125638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 21:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":125638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 21:59:58] local.INFO: TCP Data received {"connection_id":126887,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:59:58] local.INFO: Processing buffer {"connection_id":126887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 21:59:58] local.INFO: IMEI packet received {"connection_id":126887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 21:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":126887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:00:03] local.INFO: TCP Data received {"connection_id":125638,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:00:03] local.INFO: Processing buffer {"connection_id":125638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:00:03] local.INFO: IMEI packet received {"connection_id":125638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":125638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:00:04] local.INFO: TCP Data received {"connection_id":126887,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:00:04] local.INFO: Processing buffer {"connection_id":126887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:00:04] local.INFO: IMEI packet received {"connection_id":126887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":126887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:00:05] local.INFO: TCP Data received {"connection_id":126887,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:00:05] local.INFO: Processing buffer {"connection_id":126887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:00:05] local.INFO: Packet analysis {"connection_id":126887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d67"} 
[2026-07-07 22:00:05] local.INFO: Extracted packet for processing {"connection_id":126887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d67"} 
[2026-07-07 22:00:05] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560977920001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783441621000,"timestamp_ms":1783441621000,"timestamp_seconds":1783441621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d678008"} 
[2026-07-07 22:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 22:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560977920001,"66":25778,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560977920001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:00:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:00:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560977920001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":126887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447975,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:00:05] local.INFO: GPS data processed {"connection_id":126887,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:00:05] local.INFO: Acknowledgment sent {"connection_id":126887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:00:14] local.INFO: TCP Data received {"connection_id":125638,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:00:14] local.INFO: Processing buffer {"connection_id":125638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d65b700012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:00:14] local.INFO: Packet analysis {"connection_id":125638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d65"} 
[2026-07-07 22:00:14] local.INFO: Extracted packet for processing {"connection_id":125638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d65"} 
[2026-07-07 22:00:14] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560947968001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783441504000,"timestamp_ms":1783441504000,"timestamp_seconds":1783441504,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d65b700"} 
[2026-07-07 22:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22: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-07-07 22: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":178,"data_length":795,"current_offset":136} 
[2026-07-07 22:00: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-07-07 22:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560947968001,"66":25756,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560947968001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:00:14] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:00:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560947968001,"power":25756,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":125638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:00:14] local.INFO: GPS data processed {"connection_id":125638,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:00:14] local.INFO: Acknowledgment sent {"connection_id":125638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:00:36] local.INFO: TCP Data received {"connection_id":126887,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:00:36] local.INFO: Processing buffer {"connection_id":126887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:00:36] local.INFO: Packet analysis {"connection_id":126887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d67"} 
[2026-07-07 22:00:36] local.INFO: Extracted packet for processing {"connection_id":126887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d67"} 
[2026-07-07 22:00:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560977920001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783441621000,"timestamp_ms":1783441621000,"timestamp_seconds":1783441621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d678008"} 
[2026-07-07 22:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 22:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560977920001,"66":25778,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560977920001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:00:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:00:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560977920001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":126887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447977,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:00:36] local.INFO: GPS data processed {"connection_id":126887,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:00:36] local.INFO: Acknowledgment sent {"connection_id":126887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:00:57] local.INFO: TCP Data received {"connection_id":125639,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:00:57] local.INFO: Processing buffer {"connection_id":125639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:00:57] local.INFO: IMEI packet received {"connection_id":125639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":125639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:01:02] local.INFO: TCP Data received {"connection_id":125639,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:01:02] local.INFO: Processing buffer {"connection_id":125639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:01:02] local.INFO: IMEI packet received {"connection_id":125639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":125639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:01:03] local.INFO: TCP Data received {"connection_id":124818,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:01:03] local.INFO: Processing buffer {"connection_id":124818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:01:03] local.INFO: IMEI packet received {"connection_id":124818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":124818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:01:08] local.INFO: TCP Data received {"connection_id":125639,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:01:08] local.INFO: Processing buffer {"connection_id":125639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:01:08] local.INFO: Packet analysis {"connection_id":125639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6a"} 
[2026-07-07 22:01:08] local.INFO: Extracted packet for processing {"connection_id":125639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6a"} 
[2026-07-07 22:01:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 22:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561025024001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783441805000,"timestamp_ms":1783441805000,"timestamp_seconds":1783441805,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6a4ec8"} 
[2026-07-07 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-07-07 22:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-07 22:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 22:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561025024001,"66":25647,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561025024001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:01:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:01:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561025024001,"power":25647,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":125639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:01:08] local.INFO: GPS data processed {"connection_id":125639,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:01:08] local.INFO: Acknowledgment sent {"connection_id":125639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:01:08] local.INFO: TCP Data received {"connection_id":124818,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:01:08] local.INFO: Processing buffer {"connection_id":124818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:01:08] local.INFO: IMEI packet received {"connection_id":124818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":124818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:01:10] local.INFO: TCP Data received {"connection_id":124818,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:01:10] local.INFO: Processing buffer {"connection_id":124818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:01:10] local.INFO: Packet analysis {"connection_id":124818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d67"} 
[2026-07-07 22:01:10] local.INFO: Extracted packet for processing {"connection_id":124818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d67"} 
[2026-07-07 22:01:10] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560977920001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783441621000,"timestamp_ms":1783441621000,"timestamp_seconds":1783441621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d678008"} 
[2026-07-07 22:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":254,"data_length":795,"current_offset":136} 
[2026-07-07 22:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560977920001,"66":25778,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560977920001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:01:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:01:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560977920001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":124818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447979,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:01:10] local.INFO: GPS data processed {"connection_id":124818,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:01:10] local.INFO: Acknowledgment sent {"connection_id":124818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:01:41] local.INFO: TCP Data received {"connection_id":124818,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:01:41] local.INFO: Processing buffer {"connection_id":124818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:01:41] local.INFO: Packet analysis {"connection_id":124818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d67"} 
[2026-07-07 22:01:41] local.INFO: Extracted packet for processing {"connection_id":124818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d67"} 
[2026-07-07 22:01:41] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 22:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560977920001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783441621000,"timestamp_ms":1783441621000,"timestamp_seconds":1783441621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d678008"} 
[2026-07-07 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-07-07 22:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":254,"data_length":795,"current_offset":136} 
[2026-07-07 22:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 22:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560977920001,"66":25778,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560977920001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:01:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:01:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560977920001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":124818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447980,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:01:41] local.INFO: GPS data processed {"connection_id":124818,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:01:41] local.INFO: Acknowledgment sent {"connection_id":124818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:01:42] local.INFO: TCP Data received {"connection_id":125639,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:01:42] local.INFO: Processing buffer {"connection_id":125639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:01:42] local.INFO: Packet analysis {"connection_id":125639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6a"} 
[2026-07-07 22:01:42] local.INFO: Extracted packet for processing {"connection_id":125639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6a"} 
[2026-07-07 22:01:42] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561025024001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:01: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-07-07 22:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783441805000,"timestamp_ms":1783441805000,"timestamp_seconds":1783441805,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6a4ec8"} 
[2026-07-07 22:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-07 22:01: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-07-07 22:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561025024001,"66":25647,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561025024001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:01:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:01:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561025024001,"power":25647,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":125639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:01:42] local.INFO: GPS data processed {"connection_id":125639,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:01:42] local.INFO: Acknowledgment sent {"connection_id":125639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:01:58] local.INFO: TCP Data received {"connection_id":124908,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:01:58] local.INFO: Processing buffer {"connection_id":124908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:01:58] local.INFO: IMEI packet received {"connection_id":124908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":124908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:01:58] local.INFO: TCP Data received {"connection_id":126888,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:01:58] local.INFO: Processing buffer {"connection_id":126888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:01:58] local.INFO: IMEI packet received {"connection_id":126888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":126888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:02:03] local.INFO: TCP Data received {"connection_id":126888,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:02:03] local.INFO: Processing buffer {"connection_id":126888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:02:03] local.INFO: IMEI packet received {"connection_id":126888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":126888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:02:03] local.INFO: TCP Data received {"connection_id":124908,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:02:03] local.INFO: Processing buffer {"connection_id":124908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:02:03] local.INFO: IMEI packet received {"connection_id":124908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":124908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:02:04] local.INFO: TCP Data received {"connection_id":126888,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:02:04] local.INFO: Processing buffer {"connection_id":126888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:02:04] local.INFO: Packet analysis {"connection_id":126888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6a"} 
[2026-07-07 22:02:04] local.INFO: Extracted packet for processing {"connection_id":126888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6a"} 
[2026-07-07 22:02:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561025024001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783441805000,"timestamp_ms":1783441805000,"timestamp_seconds":1783441805,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6a4ec8"} 
[2026-07-07 22:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-07 22:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561025024001,"66":25647,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561025024001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:02:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:02:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561025024001,"power":25647,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":126888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:02:04] local.INFO: GPS data processed {"connection_id":126888,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:02:04] local.INFO: Acknowledgment sent {"connection_id":126888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:02:07] local.INFO: TCP Data received {"connection_id":124908,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:02:07] local.INFO: Processing buffer {"connection_id":124908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:02:07] local.INFO: Packet analysis {"connection_id":124908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d67"} 
[2026-07-07 22:02:07] local.INFO: Extracted packet for processing {"connection_id":124908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d67"} 
[2026-07-07 22:02:07] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560977920001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783441621000,"timestamp_ms":1783441621000,"timestamp_seconds":1783441621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d678008"} 
[2026-07-07 22:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 22:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560977920001,"66":25778,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560977920001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:02:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:02:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560977920001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":124908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447983,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:02:07] local.INFO: GPS data processed {"connection_id":124908,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:02:07] local.INFO: Acknowledgment sent {"connection_id":124908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:02:35] local.INFO: TCP Data received {"connection_id":126888,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:02:35] local.INFO: Processing buffer {"connection_id":126888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:02:35] local.INFO: Packet analysis {"connection_id":126888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6a"} 
[2026-07-07 22:02:35] local.INFO: Extracted packet for processing {"connection_id":126888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6a"} 
[2026-07-07 22:02:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561025024001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783441805000,"timestamp_ms":1783441805000,"timestamp_seconds":1783441805,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6a4ec8"} 
[2026-07-07 22:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-07 22:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561025024001,"66":25647,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561025024001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:02:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:02:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561025024001,"power":25647,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":126888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:02:35] local.INFO: GPS data processed {"connection_id":126888,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:02:35] local.INFO: Acknowledgment sent {"connection_id":126888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:02:39] local.INFO: TCP Data received {"connection_id":124908,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:02:39] local.INFO: Processing buffer {"connection_id":124908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d678008012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:02:39] local.INFO: Packet analysis {"connection_id":124908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d67"} 
[2026-07-07 22:02:39] local.INFO: Extracted packet for processing {"connection_id":124908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d67"} 
[2026-07-07 22:02:39] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456560977920001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783441621000,"timestamp_ms":1783441621000,"timestamp_seconds":1783441621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d678008"} 
[2026-07-07 22:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-07 22:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456560977920001,"66":25778,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456560977920001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:02:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:02:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456560977920001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":124908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447985,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:02:39] local.INFO: GPS data processed {"connection_id":124908,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:02:39] local.INFO: Acknowledgment sent {"connection_id":124908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:02:58] local.INFO: TCP Data received {"connection_id":125640,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:02:58] local.INFO: Processing buffer {"connection_id":125640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:02:58] local.INFO: IMEI packet received {"connection_id":125640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":125640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:03:03] local.INFO: TCP Data received {"connection_id":125640,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:03:03] local.INFO: Processing buffer {"connection_id":125640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:03:03] local.INFO: IMEI packet received {"connection_id":125640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":125640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:03:03] local.INFO: TCP Data received {"connection_id":125641,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:03:03] local.INFO: Processing buffer {"connection_id":125641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:03:03] local.INFO: IMEI packet received {"connection_id":125641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":125641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:03:04] local.INFO: TCP Data received {"connection_id":125640,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:03:04] local.INFO: Processing buffer {"connection_id":125640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:03:04] local.INFO: Packet analysis {"connection_id":125640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6a"} 
[2026-07-07 22:03:04] local.INFO: Extracted packet for processing {"connection_id":125640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6a"} 
[2026-07-07 22:03:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561025024001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783441805000,"timestamp_ms":1783441805000,"timestamp_seconds":1783441805,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6a4ec8"} 
[2026-07-07 22:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-07 22:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561025024001,"66":25647,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561025024001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:03:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:03:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561025024001,"power":25647,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":125640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:03:04] local.INFO: GPS data processed {"connection_id":125640,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:03:04] local.INFO: Acknowledgment sent {"connection_id":125640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:03:08] local.INFO: TCP Data received {"connection_id":125641,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:03:08] local.INFO: Processing buffer {"connection_id":125641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:03:08] local.INFO: IMEI packet received {"connection_id":125641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":125641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:03:09] local.INFO: TCP Data received {"connection_id":125641,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:03:09] local.INFO: Processing buffer {"connection_id":125641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:03:09] local.INFO: Packet analysis {"connection_id":125641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6c"} 
[2026-07-07 22:03:09] local.INFO: Extracted packet for processing {"connection_id":125641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6c"} 
[2026-07-07 22:03:09] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561054976001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783441922000,"timestamp_ms":1783441922000,"timestamp_seconds":1783441922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6c17d0"} 
[2026-07-07 22:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 22:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561054976001,"66":26071,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561054976001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:03:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:03:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561054976001,"power":26071,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":125641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447987,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:03:09] local.INFO: GPS data processed {"connection_id":125641,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:03:09] local.INFO: Acknowledgment sent {"connection_id":125641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:03:18] local.INFO: TCP Data received {"connection_id":125641,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:03:18] local.INFO: Processing buffer {"connection_id":125641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:03:18] local.INFO: Packet analysis {"connection_id":125641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6c"} 
[2026-07-07 22:03:18] local.INFO: Extracted packet for processing {"connection_id":125641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6c"} 
[2026-07-07 22:03:18] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561054976001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783441922000,"timestamp_ms":1783441922000,"timestamp_seconds":1783441922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6c17d0"} 
[2026-07-07 22:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 22:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":125641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":125641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":125641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561054976001,"66":26071,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561054976001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:03:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:03:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561054976001,"power":26071,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":125641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447988,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:03:18] local.INFO: GPS data processed {"connection_id":125641,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:03:18] local.INFO: Acknowledgment sent {"connection_id":125641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:03:37] local.INFO: TCP Data received {"connection_id":125640,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:03:37] local.INFO: Processing buffer {"connection_id":125640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:03:37] local.INFO: Packet analysis {"connection_id":125640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6a"} 
[2026-07-07 22:03:37] local.INFO: Extracted packet for processing {"connection_id":125640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6a"} 
[2026-07-07 22:03:37] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561025024001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783441805000,"timestamp_ms":1783441805000,"timestamp_seconds":1783441805,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6a4ec8"} 
[2026-07-07 22:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-07 22:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:03: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-07-07 22:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561025024001,"66":25647,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561025024001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:03:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:03:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561025024001,"power":25647,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":125640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:03:37] local.INFO: GPS data processed {"connection_id":125640,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:03:37] local.INFO: Acknowledgment sent {"connection_id":125640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:03:58] local.INFO: TCP Data received {"connection_id":126890,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:03:58] local.INFO: Processing buffer {"connection_id":126890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:03:58] local.INFO: IMEI packet received {"connection_id":126890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":126890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:03:58] local.INFO: TCP Data received {"connection_id":126889,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:03:58] local.INFO: Processing buffer {"connection_id":126889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:03:58] local.INFO: IMEI packet received {"connection_id":126889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":126889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:04:03] local.INFO: TCP Data received {"connection_id":126890,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:04:03] local.INFO: Processing buffer {"connection_id":126890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:04:03] local.INFO: IMEI packet received {"connection_id":126890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":126890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:04:03] local.INFO: TCP Data received {"connection_id":126889,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:04:03] local.INFO: Processing buffer {"connection_id":126889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:04:03] local.INFO: IMEI packet received {"connection_id":126889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":126889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:04:04] local.INFO: TCP Data received {"connection_id":126890,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:04:04] local.INFO: Processing buffer {"connection_id":126890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:04:04] local.INFO: Packet analysis {"connection_id":126890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6a"} 
[2026-07-07 22:04:04] local.INFO: Extracted packet for processing {"connection_id":126890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6a"} 
[2026-07-07 22:04:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561025024001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783441805000,"timestamp_ms":1783441805000,"timestamp_seconds":1783441805,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6a4ec8"} 
[2026-07-07 22:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-07 22:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561025024001,"66":25647,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561025024001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:04:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:04:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561025024001,"power":25647,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":126890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:04:04] local.INFO: GPS data processed {"connection_id":126890,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:04:04] local.INFO: Acknowledgment sent {"connection_id":126890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:04:04] local.INFO: TCP Data received {"connection_id":126889,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:04:04] local.INFO: Processing buffer {"connection_id":126889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:04:04] local.INFO: Packet analysis {"connection_id":126889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6c"} 
[2026-07-07 22:04:04] local.INFO: Extracted packet for processing {"connection_id":126889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6c"} 
[2026-07-07 22:04:04] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561054976001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783441922000,"timestamp_ms":1783441922000,"timestamp_seconds":1783441922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6c17d0"} 
[2026-07-07 22:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 22:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561054976001,"66":26071,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561054976001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:04:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:04:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561054976001,"power":26071,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":126889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447991,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:04:04] local.INFO: GPS data processed {"connection_id":126889,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:04:04] local.INFO: Acknowledgment sent {"connection_id":126889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:04:35] local.INFO: TCP Data received {"connection_id":126890,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:04:35] local.INFO: Processing buffer {"connection_id":126890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:04:35] local.INFO: Packet analysis {"connection_id":126890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6a"} 
[2026-07-07 22:04:35] local.INFO: Extracted packet for processing {"connection_id":126890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6a"} 
[2026-07-07 22:04:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561025024001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783441805000,"timestamp_ms":1783441805000,"timestamp_seconds":1783441805,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6a4ec8"} 
[2026-07-07 22:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-07 22:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561025024001,"66":25647,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561025024001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:04:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:04:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561025024001,"power":25647,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":126890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:04:35] local.INFO: GPS data processed {"connection_id":126890,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:04:35] local.INFO: Acknowledgment sent {"connection_id":126890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:04:42] local.INFO: TCP Data received {"connection_id":126889,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:04:42] local.INFO: Processing buffer {"connection_id":126889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:04:42] local.INFO: Packet analysis {"connection_id":126889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6c"} 
[2026-07-07 22:04:42] local.INFO: Extracted packet for processing {"connection_id":126889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6c"} 
[2026-07-07 22:04:42] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 22:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561054976001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783441922000,"timestamp_ms":1783441922000,"timestamp_seconds":1783441922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6c17d0"} 
[2026-07-07 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-07-07 22:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 22:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 22:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561054976001,"66":26071,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561054976001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:04:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:04:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561054976001,"power":26071,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":126889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447993,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:04:42] local.INFO: GPS data processed {"connection_id":126889,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:04:42] local.INFO: Acknowledgment sent {"connection_id":126889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:04:57] local.INFO: TCP Data received {"connection_id":126891,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:04:57] local.INFO: Processing buffer {"connection_id":126891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:04:57] local.INFO: IMEI packet received {"connection_id":126891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":126891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:04:58] local.INFO: TCP Data received {"connection_id":126892,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:04:58] local.INFO: Processing buffer {"connection_id":126892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:04:58] local.INFO: IMEI packet received {"connection_id":126892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":126892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:05:03] local.INFO: TCP Data received {"connection_id":126891,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:05:03] local.INFO: Processing buffer {"connection_id":126891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:05:03] local.INFO: IMEI packet received {"connection_id":126891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":126891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:05:03] local.INFO: TCP Data received {"connection_id":126892,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:05:03] local.INFO: Processing buffer {"connection_id":126892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:05:03] local.INFO: IMEI packet received {"connection_id":126892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":126892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:05:04] local.INFO: TCP Data received {"connection_id":126891,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:05:04] local.INFO: Processing buffer {"connection_id":126891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:05:04] local.INFO: Packet analysis {"connection_id":126891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6a"} 
[2026-07-07 22:05:04] local.INFO: Extracted packet for processing {"connection_id":126891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6a"} 
[2026-07-07 22:05:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561025024001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783441805000,"timestamp_ms":1783441805000,"timestamp_seconds":1783441805,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6a4ec8"} 
[2026-07-07 22:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-07 22:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561025024001,"66":25647,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561025024001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:05:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:05:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561025024001,"power":25647,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":126891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:05:04] local.INFO: GPS data processed {"connection_id":126891,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:05:04] local.INFO: Acknowledgment sent {"connection_id":126891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:05:07] local.INFO: TCP Data received {"connection_id":126892,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:05:07] local.INFO: Processing buffer {"connection_id":126892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:05:07] local.INFO: Packet analysis {"connection_id":126892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6c"} 
[2026-07-07 22:05:07] local.INFO: Extracted packet for processing {"connection_id":126892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6c"} 
[2026-07-07 22:05:07] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561054976001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783441922000,"timestamp_ms":1783441922000,"timestamp_seconds":1783441922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6c17d0"} 
[2026-07-07 22:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 22:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561054976001,"66":26071,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561054976001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:05:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:05:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561054976001,"power":26071,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":126892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447995,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:05:07] local.INFO: GPS data processed {"connection_id":126892,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:05:07] local.INFO: Acknowledgment sent {"connection_id":126892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:05:35] local.INFO: TCP Data received {"connection_id":126891,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:05:35] local.INFO: Processing buffer {"connection_id":126891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6a4ec8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:05:35] local.INFO: Packet analysis {"connection_id":126891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6a"} 
[2026-07-07 22:05:35] local.INFO: Extracted packet for processing {"connection_id":126891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6a"} 
[2026-07-07 22:05:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561025024001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783441805000,"timestamp_ms":1783441805000,"timestamp_seconds":1783441805,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6a4ec8"} 
[2026-07-07 22:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-07 22:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561025024001,"66":25647,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561025024001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:05:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:05:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561025024001,"power":25647,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":126891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:05:35] local.INFO: GPS data processed {"connection_id":126891,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:05:35] local.INFO: Acknowledgment sent {"connection_id":126891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:05:39] local.INFO: TCP Data received {"connection_id":126892,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:05:39] local.INFO: Processing buffer {"connection_id":126892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:05:39] local.INFO: Packet analysis {"connection_id":126892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6c"} 
[2026-07-07 22:05:39] local.INFO: Extracted packet for processing {"connection_id":126892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6c"} 
[2026-07-07 22:05:39] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561054976001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783441922000,"timestamp_ms":1783441922000,"timestamp_seconds":1783441922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6c17d0"} 
[2026-07-07 22:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 22:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561054976001,"66":26071,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561054976001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:05:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:05:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561054976001,"power":26071,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":126892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447997,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:05:39] local.INFO: GPS data processed {"connection_id":126892,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:05:39] local.INFO: Acknowledgment sent {"connection_id":126892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:05:57] local.INFO: TCP Data received {"connection_id":125642,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:05:57] local.INFO: Processing buffer {"connection_id":125642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:05:57] local.INFO: IMEI packet received {"connection_id":125642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":125642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:06:02] local.INFO: TCP Data received {"connection_id":125642,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:06:02] local.INFO: Processing buffer {"connection_id":125642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:06:02] local.INFO: IMEI packet received {"connection_id":125642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":125642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:06:03] local.INFO: TCP Data received {"connection_id":125642,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:06:03] local.INFO: Processing buffer {"connection_id":125642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:06:03] local.INFO: Packet analysis {"connection_id":125642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6e"} 
[2026-07-07 22:06:03] local.INFO: Extracted packet for processing {"connection_id":125642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6e"} 
[2026-07-07 22:06:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561102080001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783442106000,"timestamp_ms":1783442106000,"timestamp_seconds":1783442106,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6ee690"} 
[2026-07-07 22:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 22:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561102080001,"66":25625,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561102080001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:06:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:06:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561102080001,"power":25625,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":125642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:06:03] local.INFO: GPS data processed {"connection_id":125642,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:06:03] local.INFO: Acknowledgment sent {"connection_id":125642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:06:18] local.INFO: TCP Data received {"connection_id":124819,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:06:18] local.INFO: Processing buffer {"connection_id":124819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:06:18] local.INFO: IMEI packet received {"connection_id":124819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":124819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:06:19] local.INFO: TCP Data received {"connection_id":124819,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:06:19] local.INFO: Processing buffer {"connection_id":124819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:06:19] local.INFO: IMEI packet received {"connection_id":124819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":124819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:06:20] local.INFO: TCP Data received {"connection_id":124819,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:06:20] local.INFO: Processing buffer {"connection_id":124819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:06:20] local.INFO: Packet analysis {"connection_id":124819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6c"} 
[2026-07-07 22:06:20] local.INFO: Extracted packet for processing {"connection_id":124819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6c"} 
[2026-07-07 22:06:20] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561054976001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783441922000,"timestamp_ms":1783441922000,"timestamp_seconds":1783441922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6c17d0"} 
[2026-07-07 22:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 22:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561054976001,"66":26071,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561054976001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:06:20] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:06:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561054976001,"power":26071,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":124819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447999,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:06:20] local.INFO: GPS data processed {"connection_id":124819,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:06:20] local.INFO: Acknowledgment sent {"connection_id":124819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:06:21] local.INFO: TCP Data received {"connection_id":124819,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:06:21] local.INFO: Processing buffer {"connection_id":124819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:06:21] local.INFO: Packet analysis {"connection_id":124819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6c"} 
[2026-07-07 22:06:21] local.INFO: Extracted packet for processing {"connection_id":124819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6c"} 
[2026-07-07 22:06:21] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561054976001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783441922000,"timestamp_ms":1783441922000,"timestamp_seconds":1783441922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6c17d0"} 
[2026-07-07 22:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 22:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561054976001,"66":26071,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561054976001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:06:21] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:06:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561054976001,"power":26071,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":124819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448000,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:06:21] local.INFO: GPS data processed {"connection_id":124819,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:06:21] local.INFO: Acknowledgment sent {"connection_id":124819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:06:34] local.INFO: TCP Data received {"connection_id":125642,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:06:34] local.INFO: Processing buffer {"connection_id":125642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:06:34] local.INFO: Packet analysis {"connection_id":125642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6e"} 
[2026-07-07 22:06:34] local.INFO: Extracted packet for processing {"connection_id":125642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6e"} 
[2026-07-07 22:06:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561102080001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783442106000,"timestamp_ms":1783442106000,"timestamp_seconds":1783442106,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6ee690"} 
[2026-07-07 22:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 22:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561102080001,"66":25625,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561102080001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:06:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:06:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561102080001,"power":25625,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":125642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:06:34] local.INFO: GPS data processed {"connection_id":125642,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:06:34] local.INFO: Acknowledgment sent {"connection_id":125642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:06:58] local.INFO: TCP Data received {"connection_id":124820,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:06:58] local.INFO: Processing buffer {"connection_id":124820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:06:58] local.INFO: IMEI packet received {"connection_id":124820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":124820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:06:59] local.INFO: TCP Data received {"connection_id":124821,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:06:59] local.INFO: Processing buffer {"connection_id":124821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:06:59] local.INFO: IMEI packet received {"connection_id":124821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":124821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:07:03] local.INFO: TCP Data received {"connection_id":124820,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:07:03] local.INFO: Processing buffer {"connection_id":124820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:07:03] local.INFO: IMEI packet received {"connection_id":124820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":124820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:07:03] local.INFO: TCP Data received {"connection_id":124821,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:07:03] local.INFO: Processing buffer {"connection_id":124821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:07:03] local.INFO: IMEI packet received {"connection_id":124821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":124821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:07:04] local.INFO: TCP Data received {"connection_id":124820,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:07:04] local.INFO: Processing buffer {"connection_id":124820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:07:04] local.INFO: Packet analysis {"connection_id":124820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6e"} 
[2026-07-07 22:07:04] local.INFO: Extracted packet for processing {"connection_id":124820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6e"} 
[2026-07-07 22:07:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561102080001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783442106000,"timestamp_ms":1783442106000,"timestamp_seconds":1783442106,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6ee690"} 
[2026-07-07 22:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 22:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561102080001,"66":25625,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561102080001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:07:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:07:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561102080001,"power":25625,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":124820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:07:04] local.INFO: GPS data processed {"connection_id":124820,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:07:04] local.INFO: Acknowledgment sent {"connection_id":124820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:07:04] local.INFO: TCP Data received {"connection_id":124821,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:07:04] local.INFO: Processing buffer {"connection_id":124821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:07:04] local.INFO: Packet analysis {"connection_id":124821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6c"} 
[2026-07-07 22:07:04] local.INFO: Extracted packet for processing {"connection_id":124821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6c"} 
[2026-07-07 22:07:04] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561054976001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783441922000,"timestamp_ms":1783441922000,"timestamp_seconds":1783441922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6c17d0"} 
[2026-07-07 22:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 22:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124821,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124821,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561054976001,"66":26071,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561054976001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:07:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:07:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561054976001,"power":26071,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":124821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448003,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:07:04] local.INFO: GPS data processed {"connection_id":124821,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:07:04] local.INFO: Acknowledgment sent {"connection_id":124821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:07:35] local.INFO: TCP Data received {"connection_id":124820,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:07:35] local.INFO: Processing buffer {"connection_id":124820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:07:35] local.INFO: Packet analysis {"connection_id":124820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6e"} 
[2026-07-07 22:07:35] local.INFO: Extracted packet for processing {"connection_id":124820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6e"} 
[2026-07-07 22:07:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561102080001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783442106000,"timestamp_ms":1783442106000,"timestamp_seconds":1783442106,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6ee690"} 
[2026-07-07 22:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 22:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561102080001,"66":25625,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561102080001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:07:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:07:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561102080001,"power":25625,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":124820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:07:35] local.INFO: GPS data processed {"connection_id":124820,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:07:35] local.INFO: Acknowledgment sent {"connection_id":124820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:07:36] local.INFO: TCP Data received {"connection_id":124821,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:07:36] local.INFO: Processing buffer {"connection_id":124821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6c17d0012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:07:36] local.INFO: Packet analysis {"connection_id":124821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6c"} 
[2026-07-07 22:07:36] local.INFO: Extracted packet for processing {"connection_id":124821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6c"} 
[2026-07-07 22:07:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561054976001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783441922000,"timestamp_ms":1783441922000,"timestamp_seconds":1783441922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6c17d0"} 
[2026-07-07 22:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 22:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124821,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124821,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561054976001,"66":26071,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561054976001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:07:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:07:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561054976001,"power":26071,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":124821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448005,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:07:36] local.INFO: GPS data processed {"connection_id":124821,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:07:36] local.INFO: Acknowledgment sent {"connection_id":124821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:07:58] local.INFO: TCP Data received {"connection_id":124822,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:07:58] local.INFO: Processing buffer {"connection_id":124822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:07:58] local.INFO: IMEI packet received {"connection_id":124822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":124822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:07:58] local.INFO: TCP Data received {"connection_id":126893,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:07:58] local.INFO: Processing buffer {"connection_id":126893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:07:58] local.INFO: IMEI packet received {"connection_id":126893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":126893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:08:03] local.INFO: TCP Data received {"connection_id":124822,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:08:03] local.INFO: Processing buffer {"connection_id":124822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:08:03] local.INFO: IMEI packet received {"connection_id":124822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":124822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:08:03] local.INFO: TCP Data received {"connection_id":126893,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:08:03] local.INFO: Processing buffer {"connection_id":126893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:08:03] local.INFO: IMEI packet received {"connection_id":126893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":126893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:08:04] local.INFO: TCP Data received {"connection_id":124822,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:08:04] local.INFO: Processing buffer {"connection_id":124822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:08:04] local.INFO: Packet analysis {"connection_id":124822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6e"} 
[2026-07-07 22:08:04] local.INFO: Extracted packet for processing {"connection_id":124822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6e"} 
[2026-07-07 22:08:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561102080001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783442106000,"timestamp_ms":1783442106000,"timestamp_seconds":1783442106,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6ee690"} 
[2026-07-07 22:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 22:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561102080001,"66":25625,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561102080001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:08:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:08:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561102080001,"power":25625,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":124822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:08:04] local.INFO: GPS data processed {"connection_id":124822,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:08:04] local.INFO: Acknowledgment sent {"connection_id":124822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:08:04] local.INFO: TCP Data received {"connection_id":126893,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:08:04] local.INFO: Processing buffer {"connection_id":126893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:08:04] local.INFO: Packet analysis {"connection_id":126893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d70"} 
[2026-07-07 22:08:04] local.INFO: Extracted packet for processing {"connection_id":126893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d70"} 
[2026-07-07 22:08:04] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561132032001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783442223000,"timestamp_ms":1783442223000,"timestamp_seconds":1783442223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d70af98"} 
[2026-07-07 22:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 22:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561132032001,"66":26082,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561132032001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:08:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:08:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561132032001,"power":26082,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":126893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448007,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:08:05] local.INFO: GPS data processed {"connection_id":126893,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:08:05] local.INFO: Acknowledgment sent {"connection_id":126893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:08:35] local.INFO: TCP Data received {"connection_id":124822,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:08:35] local.INFO: Processing buffer {"connection_id":124822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:08:35] local.INFO: Packet analysis {"connection_id":124822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6e"} 
[2026-07-07 22:08:35] local.INFO: Extracted packet for processing {"connection_id":124822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6e"} 
[2026-07-07 22:08:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561102080001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783442106000,"timestamp_ms":1783442106000,"timestamp_seconds":1783442106,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6ee690"} 
[2026-07-07 22:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 22:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561102080001,"66":25625,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561102080001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:08:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:08:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561102080001,"power":25625,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":124822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:08:35] local.INFO: GPS data processed {"connection_id":124822,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:08:35] local.INFO: Acknowledgment sent {"connection_id":124822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:08:36] local.INFO: TCP Data received {"connection_id":126893,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:08:36] local.INFO: Processing buffer {"connection_id":126893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:08:36] local.INFO: Packet analysis {"connection_id":126893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d70"} 
[2026-07-07 22:08:36] local.INFO: Extracted packet for processing {"connection_id":126893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d70"} 
[2026-07-07 22:08:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561132032001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783442223000,"timestamp_ms":1783442223000,"timestamp_seconds":1783442223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d70af98"} 
[2026-07-07 22:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 22:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561132032001,"66":26082,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561132032001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:08:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:08:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561132032001,"power":26082,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":126893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448009,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:08:36] local.INFO: GPS data processed {"connection_id":126893,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:08:36] local.INFO: Acknowledgment sent {"connection_id":126893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:08:58] local.INFO: TCP Data received {"connection_id":124909,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:08:58] local.INFO: Processing buffer {"connection_id":124909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:08:58] local.INFO: IMEI packet received {"connection_id":124909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":124909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:09:03] local.INFO: TCP Data received {"connection_id":124909,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:09:03] local.INFO: Processing buffer {"connection_id":124909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:09:03] local.INFO: IMEI packet received {"connection_id":124909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":124909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:09:03] local.INFO: TCP Data received {"connection_id":124910,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:09:03] local.INFO: Processing buffer {"connection_id":124910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:09:03] local.INFO: IMEI packet received {"connection_id":124910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":124910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:09:04] local.INFO: TCP Data received {"connection_id":124909,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:09:04] local.INFO: Processing buffer {"connection_id":124909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:09:04] local.INFO: Packet analysis {"connection_id":124909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6e"} 
[2026-07-07 22:09:04] local.INFO: Extracted packet for processing {"connection_id":124909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6e"} 
[2026-07-07 22:09:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561102080001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783442106000,"timestamp_ms":1783442106000,"timestamp_seconds":1783442106,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6ee690"} 
[2026-07-07 22:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 22:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561102080001,"66":25625,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561102080001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:09:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:09:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561102080001,"power":25625,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":124909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:09:04] local.INFO: GPS data processed {"connection_id":124909,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:09:04] local.INFO: Acknowledgment sent {"connection_id":124909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:09:08] local.INFO: TCP Data received {"connection_id":124910,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:09:08] local.INFO: Processing buffer {"connection_id":124910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:09:08] local.INFO: IMEI packet received {"connection_id":124910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":124910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:09:09] local.INFO: TCP Data received {"connection_id":124910,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:09:09] local.INFO: Processing buffer {"connection_id":124910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:09:09] local.INFO: Packet analysis {"connection_id":124910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d70"} 
[2026-07-07 22:09:09] local.INFO: Extracted packet for processing {"connection_id":124910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d70"} 
[2026-07-07 22:09:09] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561132032001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783442223000,"timestamp_ms":1783442223000,"timestamp_seconds":1783442223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d70af98"} 
[2026-07-07 22:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 22:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124910,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124910,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561132032001,"66":26082,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561132032001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:09:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:09:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561132032001,"power":26082,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":124910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448011,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:09:09] local.INFO: GPS data processed {"connection_id":124910,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:09:09] local.INFO: Acknowledgment sent {"connection_id":124910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:09:14] local.INFO: TCP Data received {"connection_id":124910,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:09:14] local.INFO: Processing buffer {"connection_id":124910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:09:14] local.INFO: Packet analysis {"connection_id":124910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d70"} 
[2026-07-07 22:09:14] local.INFO: Extracted packet for processing {"connection_id":124910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d70"} 
[2026-07-07 22:09:14] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561132032001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783442223000,"timestamp_ms":1783442223000,"timestamp_seconds":1783442223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d70af98"} 
[2026-07-07 22:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 22:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124910,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124910,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561132032001,"66":26082,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561132032001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:09:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:09:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561132032001,"power":26082,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":124910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448012,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:09:14] local.INFO: GPS data processed {"connection_id":124910,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:09:14] local.INFO: Acknowledgment sent {"connection_id":124910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:09:35] local.INFO: TCP Data received {"connection_id":124909,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:09:35] local.INFO: Processing buffer {"connection_id":124909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:09:35] local.INFO: Packet analysis {"connection_id":124909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6e"} 
[2026-07-07 22:09:35] local.INFO: Extracted packet for processing {"connection_id":124909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6e"} 
[2026-07-07 22:09:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561102080001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783442106000,"timestamp_ms":1783442106000,"timestamp_seconds":1783442106,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6ee690"} 
[2026-07-07 22:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 22:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561102080001,"66":25625,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561102080001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:09:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:09:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561102080001,"power":25625,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":124909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:09:35] local.INFO: GPS data processed {"connection_id":124909,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:09:35] local.INFO: Acknowledgment sent {"connection_id":124909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:09:57] local.INFO: TCP Data received {"connection_id":126894,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:09:57] local.INFO: Processing buffer {"connection_id":126894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:09:57] local.INFO: IMEI packet received {"connection_id":126894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":126894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:09:59] local.INFO: TCP Data received {"connection_id":124911,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:09:59] local.INFO: Processing buffer {"connection_id":124911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:09:59] local.INFO: IMEI packet received {"connection_id":124911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":124911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:10:03] local.INFO: TCP Data received {"connection_id":126894,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:10:03] local.INFO: Processing buffer {"connection_id":126894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:10:03] local.INFO: IMEI packet received {"connection_id":126894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":126894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:10:04] local.INFO: TCP Data received {"connection_id":126894,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:10:04] local.INFO: Processing buffer {"connection_id":126894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:10:04] local.INFO: Packet analysis {"connection_id":126894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6e"} 
[2026-07-07 22:10:04] local.INFO: Extracted packet for processing {"connection_id":126894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6e"} 
[2026-07-07 22:10:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561102080001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783442106000,"timestamp_ms":1783442106000,"timestamp_seconds":1783442106,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6ee690"} 
[2026-07-07 22:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 22:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561102080001,"66":25625,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561102080001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:10:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:10:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561102080001,"power":25625,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":126894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:10:04] local.INFO: GPS data processed {"connection_id":126894,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:10:04] local.INFO: Acknowledgment sent {"connection_id":126894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:10:04] local.INFO: TCP Data received {"connection_id":124911,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:10:04] local.INFO: Processing buffer {"connection_id":124911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:10:04] local.INFO: IMEI packet received {"connection_id":124911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":124911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:10:05] local.INFO: TCP Data received {"connection_id":124911,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:10:05] local.INFO: Processing buffer {"connection_id":124911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:10:05] local.INFO: Packet analysis {"connection_id":124911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d70"} 
[2026-07-07 22:10:05] local.INFO: Extracted packet for processing {"connection_id":124911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d70"} 
[2026-07-07 22:10:05] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561132032001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783442223000,"timestamp_ms":1783442223000,"timestamp_seconds":1783442223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d70af98"} 
[2026-07-07 22:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 22:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561132032001,"66":26082,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561132032001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:10:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:10:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561132032001,"power":26082,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":124911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448015,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:10:05] local.INFO: GPS data processed {"connection_id":124911,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:10:05] local.INFO: Acknowledgment sent {"connection_id":124911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:10:35] local.INFO: TCP Data received {"connection_id":126894,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:10:35] local.INFO: Processing buffer {"connection_id":126894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d6ee690012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:10:35] local.INFO: Packet analysis {"connection_id":126894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d6e"} 
[2026-07-07 22:10:35] local.INFO: Extracted packet for processing {"connection_id":126894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d6e"} 
[2026-07-07 22:10:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561102080001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783442106000,"timestamp_ms":1783442106000,"timestamp_seconds":1783442106,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d6ee690"} 
[2026-07-07 22:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 22:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561102080001,"66":25625,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561102080001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:10:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:10:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561102080001,"power":25625,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":126894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:10:35] local.INFO: GPS data processed {"connection_id":126894,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:10:35] local.INFO: Acknowledgment sent {"connection_id":126894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:10:36] local.INFO: TCP Data received {"connection_id":124911,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:10:36] local.INFO: Processing buffer {"connection_id":124911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:10:36] local.INFO: Packet analysis {"connection_id":124911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d70"} 
[2026-07-07 22:10:36] local.INFO: Extracted packet for processing {"connection_id":124911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d70"} 
[2026-07-07 22:10:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561132032001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783442223000,"timestamp_ms":1783442223000,"timestamp_seconds":1783442223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d70af98"} 
[2026-07-07 22:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 22:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561132032001,"66":26082,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561132032001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:10:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:10:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561132032001,"power":26082,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":124911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448017,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:10:37] local.INFO: GPS data processed {"connection_id":124911,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:10:37] local.INFO: Acknowledgment sent {"connection_id":124911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:10:58] local.INFO: TCP Data received {"connection_id":124912,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:10:58] local.INFO: Processing buffer {"connection_id":124912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:10:58] local.INFO: IMEI packet received {"connection_id":124912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":124912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:11:03] local.INFO: TCP Data received {"connection_id":124823,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:11:03] local.INFO: Processing buffer {"connection_id":124823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:11:03] local.INFO: IMEI packet received {"connection_id":124823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":124823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:11:03] local.INFO: TCP Data received {"connection_id":124912,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:11:03] local.INFO: Processing buffer {"connection_id":124912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:11:03] local.INFO: IMEI packet received {"connection_id":124912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":124912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:11:04] local.INFO: TCP Data received {"connection_id":124912,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:11:04] local.INFO: Processing buffer {"connection_id":124912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:11:04] local.INFO: Packet analysis {"connection_id":124912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d70"} 
[2026-07-07 22:11:04] local.INFO: Extracted packet for processing {"connection_id":124912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d70"} 
[2026-07-07 22:11:04] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561132032001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783442223000,"timestamp_ms":1783442223000,"timestamp_seconds":1783442223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d70af98"} 
[2026-07-07 22:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 22:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561132032001,"66":26082,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561132032001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:11:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:11:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561132032001,"power":26082,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":124912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448018,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:11:04] local.INFO: GPS data processed {"connection_id":124912,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:11:04] local.INFO: Acknowledgment sent {"connection_id":124912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:11:08] local.INFO: TCP Data received {"connection_id":124823,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:11:08] local.INFO: Processing buffer {"connection_id":124823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:11:08] local.INFO: IMEI packet received {"connection_id":124823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":124823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:11:09] local.INFO: TCP Data received {"connection_id":124823,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:11:09] local.INFO: Processing buffer {"connection_id":124823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:11:09] local.INFO: Packet analysis {"connection_id":124823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d73"} 
[2026-07-07 22:11:09] local.INFO: Extracted packet for processing {"connection_id":124823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d73"} 
[2026-07-07 22:11:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561179136001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783442407000,"timestamp_ms":1783442407000,"timestamp_seconds":1783442407,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d737e58"} 
[2026-07-07 22:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 22:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561179136001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561179136001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:11:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:11:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561179136001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":124823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:11:09] local.INFO: GPS data processed {"connection_id":124823,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:11:09] local.INFO: Acknowledgment sent {"connection_id":124823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:11:13] local.INFO: TCP Data received {"connection_id":124823,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:11:13] local.INFO: Processing buffer {"connection_id":124823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:11:13] local.INFO: Packet analysis {"connection_id":124823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d73"} 
[2026-07-07 22:11:13] local.INFO: Extracted packet for processing {"connection_id":124823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d73"} 
[2026-07-07 22:11:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561179136001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783442407000,"timestamp_ms":1783442407000,"timestamp_seconds":1783442407,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d737e58"} 
[2026-07-07 22:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:11: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-07-07 22:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 22:11: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-07-07 22:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561179136001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561179136001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:11:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:11:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561179136001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":124823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:11:13] local.INFO: GPS data processed {"connection_id":124823,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:11:13] local.INFO: Acknowledgment sent {"connection_id":124823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:11:37] local.INFO: TCP Data received {"connection_id":124912,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:11:37] local.INFO: Processing buffer {"connection_id":124912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:11:37] local.INFO: Packet analysis {"connection_id":124912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d70"} 
[2026-07-07 22:11:37] local.INFO: Extracted packet for processing {"connection_id":124912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d70"} 
[2026-07-07 22:11:37] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561132032001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783442223000,"timestamp_ms":1783442223000,"timestamp_seconds":1783442223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d70af98"} 
[2026-07-07 22:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 22:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561132032001,"66":26082,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561132032001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:11:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:11:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561132032001,"power":26082,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":124912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448021,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:11:37] local.INFO: GPS data processed {"connection_id":124912,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:11:37] local.INFO: Acknowledgment sent {"connection_id":124912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:11:57] local.INFO: TCP Data received {"connection_id":126895,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:11:57] local.INFO: Processing buffer {"connection_id":126895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:11:57] local.INFO: IMEI packet received {"connection_id":126895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":126895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:11:58] local.INFO: TCP Data received {"connection_id":126896,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:11:58] local.INFO: Processing buffer {"connection_id":126896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:11:58] local.INFO: IMEI packet received {"connection_id":126896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":126896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:12:02] local.INFO: TCP Data received {"connection_id":126895,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:12:02] local.INFO: Processing buffer {"connection_id":126895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:12:02] local.INFO: IMEI packet received {"connection_id":126895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":126895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:12:03] local.INFO: TCP Data received {"connection_id":126896,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:12:03] local.INFO: Processing buffer {"connection_id":126896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:12:03] local.INFO: IMEI packet received {"connection_id":126896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":126896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:12:03] local.INFO: TCP Data received {"connection_id":126895,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:12:03] local.INFO: Processing buffer {"connection_id":126895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:12:03] local.INFO: Packet analysis {"connection_id":126895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d73"} 
[2026-07-07 22:12:03] local.INFO: Extracted packet for processing {"connection_id":126895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d73"} 
[2026-07-07 22:12:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561179136001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783442407000,"timestamp_ms":1783442407000,"timestamp_seconds":1783442407,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d737e58"} 
[2026-07-07 22:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 22:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561179136001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561179136001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:12:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:12:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561179136001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":126895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:12:03] local.INFO: GPS data processed {"connection_id":126895,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:12:03] local.INFO: Acknowledgment sent {"connection_id":126895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:12:04] local.INFO: TCP Data received {"connection_id":126896,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:12:04] local.INFO: Processing buffer {"connection_id":126896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:12:04] local.INFO: Packet analysis {"connection_id":126896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d70"} 
[2026-07-07 22:12:04] local.INFO: Extracted packet for processing {"connection_id":126896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d70"} 
[2026-07-07 22:12:04] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561132032001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783442223000,"timestamp_ms":1783442223000,"timestamp_seconds":1783442223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d70af98"} 
[2026-07-07 22:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 22:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126896,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126896,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561132032001,"66":26082,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561132032001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:12:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:12:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561132032001,"power":26082,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":126896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448023,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:12:04] local.INFO: GPS data processed {"connection_id":126896,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:12:04] local.INFO: Acknowledgment sent {"connection_id":126896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:12:35] local.INFO: TCP Data received {"connection_id":126895,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:12:35] local.INFO: Processing buffer {"connection_id":126895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:12:35] local.INFO: Packet analysis {"connection_id":126895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d73"} 
[2026-07-07 22:12:35] local.INFO: Extracted packet for processing {"connection_id":126895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d73"} 
[2026-07-07 22:12:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561179136001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783442407000,"timestamp_ms":1783442407000,"timestamp_seconds":1783442407,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d737e58"} 
[2026-07-07 22:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 22:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561179136001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561179136001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:12:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:12:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561179136001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":126895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:12:35] local.INFO: GPS data processed {"connection_id":126895,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:12:35] local.INFO: Acknowledgment sent {"connection_id":126895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:12:36] local.INFO: TCP Data received {"connection_id":126896,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:12:36] local.INFO: Processing buffer {"connection_id":126896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d70af98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:12:36] local.INFO: Packet analysis {"connection_id":126896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d70"} 
[2026-07-07 22:12:36] local.INFO: Extracted packet for processing {"connection_id":126896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d70"} 
[2026-07-07 22:12:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561132032001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783442223000,"timestamp_ms":1783442223000,"timestamp_seconds":1783442223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d70af98"} 
[2026-07-07 22:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-07 22:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126896,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126896,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561132032001,"66":26082,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561132032001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:12:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:12:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561132032001,"power":26082,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":126896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448025,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:12:36] local.INFO: GPS data processed {"connection_id":126896,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:12:36] local.INFO: Acknowledgment sent {"connection_id":126896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:12:57] local.INFO: TCP Data received {"connection_id":124913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:12:57] local.INFO: Processing buffer {"connection_id":124913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:12:57] local.INFO: IMEI packet received {"connection_id":124913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":124913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:13:02] local.INFO: TCP Data received {"connection_id":124913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:13:02] local.INFO: Processing buffer {"connection_id":124913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:13:02] local.INFO: IMEI packet received {"connection_id":124913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":124913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:13:03] local.INFO: TCP Data received {"connection_id":124913,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:13:03] local.INFO: Processing buffer {"connection_id":124913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:13:03] local.INFO: Packet analysis {"connection_id":124913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d73"} 
[2026-07-07 22:13:03] local.INFO: Extracted packet for processing {"connection_id":124913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d73"} 
[2026-07-07 22:13:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561179136001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783442407000,"timestamp_ms":1783442407000,"timestamp_seconds":1783442407,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d737e58"} 
[2026-07-07 22:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 22:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561179136001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561179136001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:13:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:13:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561179136001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":124913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:13:03] local.INFO: GPS data processed {"connection_id":124913,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:13:03] local.INFO: Acknowledgment sent {"connection_id":124913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:13:03] local.INFO: TCP Data received {"connection_id":125643,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:13:03] local.INFO: Processing buffer {"connection_id":125643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:13:03] local.INFO: IMEI packet received {"connection_id":125643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":125643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:13:08] local.INFO: TCP Data received {"connection_id":125643,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:13:08] local.INFO: Processing buffer {"connection_id":125643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:13:08] local.INFO: IMEI packet received {"connection_id":125643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":125643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:13:09] local.INFO: TCP Data received {"connection_id":125643,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:13:09] local.INFO: Processing buffer {"connection_id":125643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:13:09] local.INFO: Packet analysis {"connection_id":125643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d75"} 
[2026-07-07 22:13:09] local.INFO: Extracted packet for processing {"connection_id":125643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d75"} 
[2026-07-07 22:13:09] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561209088001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783442524000,"timestamp_ms":1783442524000,"timestamp_seconds":1783442524,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d754760"} 
[2026-07-07 22:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-07 22:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561209088001,"66":26147,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561209088001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:13:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:13:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561209088001,"power":26147,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":125643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448027,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:13:09] local.INFO: GPS data processed {"connection_id":125643,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:13:09] local.INFO: Acknowledgment sent {"connection_id":125643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:13:34] local.INFO: TCP Data received {"connection_id":124913,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:13:34] local.INFO: Processing buffer {"connection_id":124913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:13:34] local.INFO: Packet analysis {"connection_id":124913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d73"} 
[2026-07-07 22:13:34] local.INFO: Extracted packet for processing {"connection_id":124913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d73"} 
[2026-07-07 22:13:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561179136001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783442407000,"timestamp_ms":1783442407000,"timestamp_seconds":1783442407,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d737e58"} 
[2026-07-07 22:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:13: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 22:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561179136001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561179136001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:13:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:13:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561179136001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":124913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:13:34] local.INFO: GPS data processed {"connection_id":124913,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:13:34] local.INFO: Acknowledgment sent {"connection_id":124913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:13:42] local.INFO: TCP Data received {"connection_id":125643,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:13:42] local.INFO: Processing buffer {"connection_id":125643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:13:42] local.INFO: Packet analysis {"connection_id":125643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d75"} 
[2026-07-07 22:13:42] local.INFO: Extracted packet for processing {"connection_id":125643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d75"} 
[2026-07-07 22:13:42] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 22:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561209088001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783442524000,"timestamp_ms":1783442524000,"timestamp_seconds":1783442524,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d754760"} 
[2026-07-07 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-07-07 22:13: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-07-07 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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-07 22:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 22:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561209088001,"66":26147,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561209088001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:13:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:13:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561209088001,"power":26147,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":125643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448029,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:13:42] local.INFO: GPS data processed {"connection_id":125643,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:13:42] local.INFO: Acknowledgment sent {"connection_id":125643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:13:57] local.INFO: TCP Data received {"connection_id":126897,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:13:57] local.INFO: Processing buffer {"connection_id":126897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:13:57] local.INFO: IMEI packet received {"connection_id":126897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":126897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:13:58] local.INFO: TCP Data received {"connection_id":124914,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:13:58] local.INFO: Processing buffer {"connection_id":124914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:13:58] local.INFO: IMEI packet received {"connection_id":124914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":124914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:14:02] local.INFO: TCP Data received {"connection_id":126897,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:14:02] local.INFO: Processing buffer {"connection_id":126897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:14:02] local.INFO: IMEI packet received {"connection_id":126897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":126897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:14:03] local.INFO: TCP Data received {"connection_id":124914,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:14:03] local.INFO: Processing buffer {"connection_id":124914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:14:03] local.INFO: IMEI packet received {"connection_id":124914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":124914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:14:03] local.INFO: TCP Data received {"connection_id":126897,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:14:03] local.INFO: Processing buffer {"connection_id":126897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:14:03] local.INFO: Packet analysis {"connection_id":126897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d73"} 
[2026-07-07 22:14:03] local.INFO: Extracted packet for processing {"connection_id":126897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d73"} 
[2026-07-07 22:14:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561179136001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783442407000,"timestamp_ms":1783442407000,"timestamp_seconds":1783442407,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d737e58"} 
[2026-07-07 22:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 22:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561179136001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561179136001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:14:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:14:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561179136001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":126897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:14:03] local.INFO: GPS data processed {"connection_id":126897,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:14:03] local.INFO: Acknowledgment sent {"connection_id":126897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:14:04] local.INFO: TCP Data received {"connection_id":124914,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:14:04] local.INFO: Processing buffer {"connection_id":124914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:14:04] local.INFO: Packet analysis {"connection_id":124914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d75"} 
[2026-07-07 22:14:04] local.INFO: Extracted packet for processing {"connection_id":124914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d75"} 
[2026-07-07 22:14:04] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561209088001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783442524000,"timestamp_ms":1783442524000,"timestamp_seconds":1783442524,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d754760"} 
[2026-07-07 22:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-07 22:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561209088001,"66":26147,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561209088001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:14:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:14:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561209088001,"power":26147,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":124914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448031,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:14:04] local.INFO: GPS data processed {"connection_id":124914,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:14:04] local.INFO: Acknowledgment sent {"connection_id":124914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:14:34] local.INFO: TCP Data received {"connection_id":126897,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:14:34] local.INFO: Processing buffer {"connection_id":126897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:14:34] local.INFO: Packet analysis {"connection_id":126897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d73"} 
[2026-07-07 22:14:34] local.INFO: Extracted packet for processing {"connection_id":126897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d73"} 
[2026-07-07 22:14:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561179136001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783442407000,"timestamp_ms":1783442407000,"timestamp_seconds":1783442407,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d737e58"} 
[2026-07-07 22:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:14: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 22:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561179136001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561179136001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:14:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:14:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561179136001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":126897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:14:34] local.INFO: GPS data processed {"connection_id":126897,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:14:34] local.INFO: Acknowledgment sent {"connection_id":126897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:14:36] local.INFO: TCP Data received {"connection_id":124914,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:14:36] local.INFO: Processing buffer {"connection_id":124914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:14:36] local.INFO: Packet analysis {"connection_id":124914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d75"} 
[2026-07-07 22:14:36] local.INFO: Extracted packet for processing {"connection_id":124914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d75"} 
[2026-07-07 22:14:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561209088001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783442524000,"timestamp_ms":1783442524000,"timestamp_seconds":1783442524,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d754760"} 
[2026-07-07 22:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-07 22:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561209088001,"66":26147,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561209088001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:14:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:14:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561209088001,"power":26147,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":124914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448033,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:14:36] local.INFO: GPS data processed {"connection_id":124914,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:14:36] local.INFO: Acknowledgment sent {"connection_id":124914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:14:57] local.INFO: TCP Data received {"connection_id":124916,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:14:57] local.INFO: Processing buffer {"connection_id":124916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:14:57] local.INFO: IMEI packet received {"connection_id":124916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":124916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:14:58] local.INFO: TCP Data received {"connection_id":124915,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:14:58] local.INFO: Processing buffer {"connection_id":124915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:14:58] local.INFO: IMEI packet received {"connection_id":124915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":124915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:15:02] local.INFO: TCP Data received {"connection_id":124916,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:15:02] local.INFO: Processing buffer {"connection_id":124916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:15:02] local.INFO: IMEI packet received {"connection_id":124916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":124916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:15:03] local.INFO: TCP Data received {"connection_id":124916,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:15:03] local.INFO: Processing buffer {"connection_id":124916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:15:03] local.INFO: Packet analysis {"connection_id":124916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d73"} 
[2026-07-07 22:15:03] local.INFO: Extracted packet for processing {"connection_id":124916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d73"} 
[2026-07-07 22:15:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561179136001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783442407000,"timestamp_ms":1783442407000,"timestamp_seconds":1783442407,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d737e58"} 
[2026-07-07 22:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 22:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561179136001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561179136001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:15:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:15:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561179136001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":124916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:15:03] local.INFO: GPS data processed {"connection_id":124916,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:15:03] local.INFO: Acknowledgment sent {"connection_id":124916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:15:03] local.INFO: TCP Data received {"connection_id":124915,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:15:03] local.INFO: Processing buffer {"connection_id":124915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:15:03] local.INFO: IMEI packet received {"connection_id":124915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":124915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:15:04] local.INFO: TCP Data received {"connection_id":124915,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:15:04] local.INFO: Processing buffer {"connection_id":124915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:15:04] local.INFO: Packet analysis {"connection_id":124915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d75"} 
[2026-07-07 22:15:04] local.INFO: Extracted packet for processing {"connection_id":124915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d75"} 
[2026-07-07 22:15:04] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561209088001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783442524000,"timestamp_ms":1783442524000,"timestamp_seconds":1783442524,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d754760"} 
[2026-07-07 22:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-07 22:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561209088001,"66":26147,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561209088001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:15:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:15:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561209088001,"power":26147,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":124915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448035,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:15:05] local.INFO: GPS data processed {"connection_id":124915,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:15:05] local.INFO: Acknowledgment sent {"connection_id":124915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:15:36] local.INFO: TCP Data received {"connection_id":124915,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:15:36] local.INFO: Processing buffer {"connection_id":124915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:15:36] local.INFO: Packet analysis {"connection_id":124915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d75"} 
[2026-07-07 22:15:36] local.INFO: Extracted packet for processing {"connection_id":124915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d75"} 
[2026-07-07 22:15:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561209088001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783442524000,"timestamp_ms":1783442524000,"timestamp_seconds":1783442524,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d754760"} 
[2026-07-07 22:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-07 22:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561209088001,"66":26147,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561209088001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:15:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:15:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561209088001,"power":26147,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":124915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448036,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:15:36] local.INFO: GPS data processed {"connection_id":124915,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:15:36] local.INFO: Acknowledgment sent {"connection_id":124915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:15:43] local.INFO: TCP Data received {"connection_id":124916,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:15:43] local.INFO: Processing buffer {"connection_id":124916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d737e58012dc5eb400537d5a00034014430..."} 
[2026-07-07 22:15:43] local.INFO: Packet analysis {"connection_id":124916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d73"} 
[2026-07-07 22:15:43] local.INFO: Extracted packet for processing {"connection_id":124916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d73"} 
[2026-07-07 22:15:43] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561179136001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783442407000,"timestamp_ms":1783442407000,"timestamp_seconds":1783442407,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d737e58"} 
[2026-07-07 22:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22: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-07-07 22:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-07 22:15: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-07-07 22:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561179136001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561179136001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:15:43] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:15:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561179136001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":124916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:15:43] local.INFO: GPS data processed {"connection_id":124916,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:15:43] local.INFO: Acknowledgment sent {"connection_id":124916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:15:58] local.INFO: TCP Data received {"connection_id":126898,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:15:58] local.INFO: Processing buffer {"connection_id":126898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:15:58] local.INFO: IMEI packet received {"connection_id":126898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":126898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:16:03] local.INFO: TCP Data received {"connection_id":125644,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:16:03] local.INFO: Processing buffer {"connection_id":125644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:16:03] local.INFO: IMEI packet received {"connection_id":125644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":125644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:16:03] local.INFO: TCP Data received {"connection_id":126898,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:16:03] local.INFO: Processing buffer {"connection_id":126898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:16:03] local.INFO: IMEI packet received {"connection_id":126898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":126898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:16:05] local.INFO: TCP Data received {"connection_id":126898,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:16:05] local.INFO: Processing buffer {"connection_id":126898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d754760012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:16:05] local.INFO: Packet analysis {"connection_id":126898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d75"} 
[2026-07-07 22:16:05] local.INFO: Extracted packet for processing {"connection_id":126898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d75"} 
[2026-07-07 22:16:05] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561209088001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783442524000,"timestamp_ms":1783442524000,"timestamp_seconds":1783442524,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d754760"} 
[2026-07-07 22:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-07 22:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561209088001,"66":26147,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561209088001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:16:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:16:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561209088001,"power":26147,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":126898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448038,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:16:05] local.INFO: GPS data processed {"connection_id":126898,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:16:05] local.INFO: Acknowledgment sent {"connection_id":126898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:16:08] local.INFO: TCP Data received {"connection_id":125644,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:16:08] local.INFO: Processing buffer {"connection_id":125644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:16:08] local.INFO: IMEI packet received {"connection_id":125644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":125644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:16:09] local.INFO: TCP Data received {"connection_id":125644,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:16:09] local.INFO: Processing buffer {"connection_id":125644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:16:09] local.INFO: Packet analysis {"connection_id":125644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:16:09] local.INFO: Extracted packet for processing {"connection_id":125644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:16:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561256192001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783442708000,"timestamp_ms":1783442708000,"timestamp_seconds":1783442708,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d781620"} 
[2026-07-07 22:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561256192001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561256192001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:16:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:16:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561256192001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":125644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:16:09] local.INFO: GPS data processed {"connection_id":125644,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:16:09] local.INFO: Acknowledgment sent {"connection_id":125644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:16:13] local.INFO: TCP Data received {"connection_id":125644,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:16:13] local.INFO: Processing buffer {"connection_id":125644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:16:13] local.INFO: Packet analysis {"connection_id":125644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:16:13] local.INFO: Extracted packet for processing {"connection_id":125644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:16:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 22:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561256192001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783442708000,"timestamp_ms":1783442708000,"timestamp_seconds":1783442708,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d781620"} 
[2026-07-07 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-07-07 22:16: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-07-07 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 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-07-07 22:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:16: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-07-07 22:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561256192001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561256192001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:16:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:16:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561256192001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":125644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:16:13] local.INFO: GPS data processed {"connection_id":125644,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:16:13] local.INFO: Acknowledgment sent {"connection_id":125644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:16:36] local.INFO: TCP Data received {"connection_id":126898,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d787f98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d787f98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:16:36] local.INFO: Processing buffer {"connection_id":126898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d787f98012d77a34005f2a5b0000a015626..."} 
[2026-07-07 22:16:36] local.INFO: Packet analysis {"connection_id":126898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:16:36] local.INFO: Extracted packet for processing {"connection_id":126898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:16:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788208,"longitude_deg":76.2815296,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561286144001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783442735000,"timestamp_ms":1783442735000,"timestamp_seconds":1783442735,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d787f98"} 
[2026-07-07 22:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 22:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561286144001,"66":26147,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561286144001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:16:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:16:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561286144001,"power":26147,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":126898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448041,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:16:36] local.INFO: GPS data processed {"connection_id":126898,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:16:36] local.INFO: Acknowledgment sent {"connection_id":126898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:16:57] local.INFO: TCP Data received {"connection_id":125645,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:16:57] local.INFO: Processing buffer {"connection_id":125645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:16:57] local.INFO: IMEI packet received {"connection_id":125645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":125645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:17:03] local.INFO: TCP Data received {"connection_id":125645,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:17:03] local.INFO: Processing buffer {"connection_id":125645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:17:03] local.INFO: IMEI packet received {"connection_id":125645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":125645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:17:04] local.INFO: TCP Data received {"connection_id":125645,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:17:04] local.INFO: Processing buffer {"connection_id":125645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:17:04] local.INFO: Packet analysis {"connection_id":125645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:17:04] local.INFO: Extracted packet for processing {"connection_id":125645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:17:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561256192001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783442708000,"timestamp_ms":1783442708000,"timestamp_seconds":1783442708,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d781620"} 
[2026-07-07 22:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561256192001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561256192001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:17:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:17:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561256192001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":125645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:17:04] local.INFO: GPS data processed {"connection_id":125645,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:17:04] local.INFO: Acknowledgment sent {"connection_id":125645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:17:08] local.INFO: TCP Data received {"connection_id":124824,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124824,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:17:08] local.INFO: Processing buffer {"connection_id":124824,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:17:08] local.INFO: IMEI packet received {"connection_id":124824,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":124824,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:17:13] local.INFO: TCP Data received {"connection_id":124824,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124824,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:17:13] local.INFO: Processing buffer {"connection_id":124824,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:17:13] local.INFO: IMEI packet received {"connection_id":124824,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":124824,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:17:14] local.INFO: TCP Data received {"connection_id":124824,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d78e528012d77a44005f2a5b0000a015626..."} 
[2026-07-07 22:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d78e528012d77a44005f2a5b0000a015626..."} 
[2026-07-07 22:17:14] local.INFO: Processing buffer {"connection_id":124824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d78e528012d77a44005f2a5b0000a015626..."} 
[2026-07-07 22:17:14] local.INFO: Packet analysis {"connection_id":124824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:17:14] local.INFO: Extracted packet for processing {"connection_id":124824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:17:14] local.INFO: GPS Element Parsed {"raw_longitude":762815552,"raw_latitude":99788208,"longitude_deg":76.2815552,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a440","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561340160001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007220224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783442761000,"timestamp_ms":1783442761000,"timestamp_seconds":1783442761,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d78e528"} 
[2026-07-07 22:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:17: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-07-07 22:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-07 22:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124824,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124824,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561340160001,"66":25908,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8620804506007220224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561340160001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:17:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:17:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007220224,"description":"Unknown IO ID 45"} 
[2026-07-07 22:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561340160001,"power":25908,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007220224}} 
[2026-07-07 22:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":124824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448043,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:17:14] local.INFO: GPS data processed {"connection_id":124824,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:17:14] local.INFO: Acknowledgment sent {"connection_id":124824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:17:19] local.INFO: TCP Data received {"connection_id":124824,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d793730012d77a44005f2a5b0000a015626..."} 
[2026-07-07 22:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d793730012d77a44005f2a5b0000a015626..."} 
[2026-07-07 22:17:19] local.INFO: Processing buffer {"connection_id":124824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d793730012d77a44005f2a5b0000a015626..."} 
[2026-07-07 22:17:19] local.INFO: Packet analysis {"connection_id":124824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d79"} 
[2026-07-07 22:17:19] local.INFO: Extracted packet for processing {"connection_id":124824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d79"} 
[2026-07-07 22:17:19] local.INFO: GPS Element Parsed {"raw_longitude":762815552,"raw_latitude":99788208,"longitude_deg":76.2815552,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a440","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 22:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561346816001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 22:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783442782000,"timestamp_ms":1783442782000,"timestamp_seconds":1783442782,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d793730"} 
[2026-07-07 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-07-07 22:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-07 22:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 22:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124824,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124824,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561346816001,"66":25778,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561346816001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:17:19] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:17:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 22:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561346816001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 22:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":124824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448044,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:17:19] local.INFO: GPS data processed {"connection_id":124824,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:17:19] local.INFO: Acknowledgment sent {"connection_id":124824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:17:35] local.INFO: TCP Data received {"connection_id":125645,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:17:35] local.INFO: Processing buffer {"connection_id":125645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:17:35] local.INFO: Packet analysis {"connection_id":125645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:17:35] local.INFO: Extracted packet for processing {"connection_id":125645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:17:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561256192001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783442708000,"timestamp_ms":1783442708000,"timestamp_seconds":1783442708,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d781620"} 
[2026-07-07 22:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561256192001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561256192001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:17:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:17:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561256192001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":125645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:17:35] local.INFO: GPS data processed {"connection_id":125645,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:17:35] local.INFO: Acknowledgment sent {"connection_id":125645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:17:57] local.INFO: TCP Data received {"connection_id":124917,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:17:57] local.INFO: Processing buffer {"connection_id":124917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:17:57] local.INFO: IMEI packet received {"connection_id":124917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":124917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:18:03] local.INFO: TCP Data received {"connection_id":124917,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:18:03] local.INFO: Processing buffer {"connection_id":124917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:18:03] local.INFO: IMEI packet received {"connection_id":124917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":124917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:18:04] local.INFO: TCP Data received {"connection_id":124917,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:18:04] local.INFO: Processing buffer {"connection_id":124917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:18:04] local.INFO: Packet analysis {"connection_id":124917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:18:04] local.INFO: Extracted packet for processing {"connection_id":124917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:18:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561256192001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783442708000,"timestamp_ms":1783442708000,"timestamp_seconds":1783442708,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d781620"} 
[2026-07-07 22:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561256192001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561256192001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:18:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:18:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561256192001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":124917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:18:04] local.INFO: GPS data processed {"connection_id":124917,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:18:04] local.INFO: Acknowledgment sent {"connection_id":124917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:18:08] local.INFO: TCP Data received {"connection_id":126899,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:18:08] local.INFO: Processing buffer {"connection_id":126899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:18:08] local.INFO: IMEI packet received {"connection_id":126899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":126899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:18:13] local.INFO: TCP Data received {"connection_id":126899,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:18:13] local.INFO: Processing buffer {"connection_id":126899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:18:13] local.INFO: IMEI packet received {"connection_id":126899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":126899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:18:20] local.INFO: TCP Data received {"connection_id":126899,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d798938012d77a44005f2a5b0000a015626..."} 
[2026-07-07 22:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d798938012d77a44005f2a5b0000a015626..."} 
[2026-07-07 22:18:20] local.INFO: Processing buffer {"connection_id":126899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d798938012d77a44005f2a5b0000a015626..."} 
[2026-07-07 22:18:20] local.INFO: Packet analysis {"connection_id":126899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d79"} 
[2026-07-07 22:18:20] local.INFO: Extracted packet for processing {"connection_id":126899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d79"} 
[2026-07-07 22:18:20] local.INFO: GPS Element Parsed {"raw_longitude":762815552,"raw_latitude":99788208,"longitude_deg":76.2815552,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a440","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561352192001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 22:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783442803000,"timestamp_ms":1783442803000,"timestamp_seconds":1783442803,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d798938"} 
[2026-07-07 22:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 22:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":126899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":126899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":126899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561352192001,"66":28398,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561352192001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:18:20] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:18:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 22:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561352192001,"power":28398,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 22:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":126899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448047,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:18:20] local.INFO: GPS data processed {"connection_id":126899,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:18:20] local.INFO: Acknowledgment sent {"connection_id":126899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:18:21] local.INFO: TCP Data received {"connection_id":126899,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d79db40012d77a44005f2a5b0000a015626..."} 
[2026-07-07 22:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d79db40012d77a44005f2a5b0000a015626..."} 
[2026-07-07 22:18:21] local.INFO: Processing buffer {"connection_id":126899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d79db40012d77a44005f2a5b0000a015626..."} 
[2026-07-07 22:18:21] local.INFO: Packet analysis {"connection_id":126899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d79"} 
[2026-07-07 22:18:21] local.INFO: Extracted packet for processing {"connection_id":126899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d79"} 
[2026-07-07 22:18:21] local.INFO: GPS Element Parsed {"raw_longitude":762815552,"raw_latitude":99788208,"longitude_deg":76.2815552,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a440","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561357568001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 22:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783442824000,"timestamp_ms":1783442824000,"timestamp_seconds":1783442824,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d79db40"} 
[2026-07-07 22:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-07 22:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561357568001,"66":27832,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561357568001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:18:21] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:18:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 22:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561357568001,"power":27832,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 22:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":126899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448048,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:18:21] local.INFO: GPS data processed {"connection_id":126899,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:18:21] local.INFO: Acknowledgment sent {"connection_id":126899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:18:35] local.INFO: TCP Data received {"connection_id":124917,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:18:35] local.INFO: Processing buffer {"connection_id":124917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:18:35] local.INFO: Packet analysis {"connection_id":124917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:18:35] local.INFO: Extracted packet for processing {"connection_id":124917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:18:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561256192001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783442708000,"timestamp_ms":1783442708000,"timestamp_seconds":1783442708,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d781620"} 
[2026-07-07 22:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561256192001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561256192001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:18:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:18:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561256192001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":124917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:18:35] local.INFO: GPS data processed {"connection_id":124917,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:18:35] local.INFO: Acknowledgment sent {"connection_id":124917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:19:03] local.INFO: TCP Data received {"connection_id":124918,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:19:03] local.INFO: Processing buffer {"connection_id":124918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:19:03] local.INFO: IMEI packet received {"connection_id":124918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":124918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:19:08] local.INFO: TCP Data received {"connection_id":124918,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:19:08] local.INFO: Processing buffer {"connection_id":124918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:19:08] local.INFO: IMEI packet received {"connection_id":124918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":124918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:19:09] local.INFO: TCP Data received {"connection_id":124918,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:19:09] local.INFO: Processing buffer {"connection_id":124918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:19:09] local.INFO: Packet analysis {"connection_id":124918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:19:09] local.INFO: Extracted packet for processing {"connection_id":124918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:19:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561256192001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783442708000,"timestamp_ms":1783442708000,"timestamp_seconds":1783442708,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d781620"} 
[2026-07-07 22:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561256192001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561256192001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:19:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:19:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561256192001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":124918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:19:09] local.INFO: GPS data processed {"connection_id":124918,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:19:09] local.INFO: Acknowledgment sent {"connection_id":124918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:19:13] local.INFO: TCP Data received {"connection_id":124918,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:19:13] local.INFO: Processing buffer {"connection_id":124918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:19:13] local.INFO: Packet analysis {"connection_id":124918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:19:13] local.INFO: Extracted packet for processing {"connection_id":124918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:19:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561256192001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783442708000,"timestamp_ms":1783442708000,"timestamp_seconds":1783442708,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d781620"} 
[2026-07-07 22:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:19: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-07-07 22:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561256192001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561256192001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:19:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:19:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561256192001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":124918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:19:13] local.INFO: GPS data processed {"connection_id":124918,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:19:13] local.INFO: Acknowledgment sent {"connection_id":124918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:19:20] local.INFO: TCP Data received {"connection_id":125646,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:19:20] local.INFO: Processing buffer {"connection_id":125646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:19:20] local.INFO: IMEI packet received {"connection_id":125646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":125646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:19:23] local.INFO: TCP Data received {"connection_id":125646,"ip":"117.224.129.116","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 22:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125646,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 22:19:23] local.INFO: Processing buffer {"connection_id":125646,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 22:19:23] local.INFO: IMEI packet received {"connection_id":125646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":125646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:19:24] local.INFO: TCP Data received {"connection_id":125646,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7a2d48012d77a44005f2a5b0000a015626..."} 
[2026-07-07 22:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7a2d48012d77a44005f2a5b0000a015626..."} 
[2026-07-07 22:19:24] local.INFO: Processing buffer {"connection_id":125646,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019f3d..."} 
[2026-07-07 22:19:24] local.INFO: IMEI packet received {"connection_id":125646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":125646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:19:25] local.INFO: TCP Data received {"connection_id":125646,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7a7f50012d77a44005f2a5b0000a015626..."} 
[2026-07-07 22:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7a7f50012d77a44005f2a5b0000a015626..."} 
[2026-07-07 22:19:25] local.INFO: Processing buffer {"connection_id":125646,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3d7a2d48012d77a44005f2a5b0000a015626..."} 
[2026-07-07 22:19:25] local.INFO: Packet analysis {"connection_id":125646,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3d7a"} 
[2026-07-07 22:19:25] local.INFO: Extracted packet for processing {"connection_id":125646,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7a"} 
[2026-07-07 22:19:25] local.INFO: GPS Element Parsed {"raw_longitude":762815552,"raw_latitude":99788208,"longitude_deg":76.2815552,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a440","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561362944001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 22:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783442845000,"timestamp_ms":1783442845000,"timestamp_seconds":1783442845,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7a2d48"} 
[2026-07-07 22:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:19: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-07-07 22:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 22:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561362944001,"66":27941,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561362944001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:19:25] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:19:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 22:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561362944001,"power":27941,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 22:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":125646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448052,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:19:25] local.INFO: GPS data processed {"connection_id":125646,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:19:25] local.INFO: Acknowledgment sent {"connection_id":125646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:19:25] local.INFO: Packet analysis {"connection_id":125646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7a"} 
[2026-07-07 22:19:25] local.INFO: Extracted packet for processing {"connection_id":125646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7a"} 
[2026-07-07 22:19:25] local.INFO: GPS Element Parsed {"raw_longitude":762815552,"raw_latitude":99788208,"longitude_deg":76.2815552,"latitude_deg":9.9788208,"altitude":10,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d77a440","hex_latitude":"05f2a5b0","is_valid_coordinates":true} 
[2026-07-07 22:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561368320001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257015299833856,"note":"Value kept but may cause issues"} 
[2026-07-07 22:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 22:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783442866000,"timestamp_ms":1783442866000,"timestamp_seconds":1783442866,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7a7f50"} 
[2026-07-07 22:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:19: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-07-07 22:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-07 22:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561368320001,"66":27930,"163":206,"9":24832,"24":0,"16":132257015299833856,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561368320001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:19:25] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:19:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257015299833856,"km_value":132257015299833.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 22:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561368320001,"power":27930,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 22:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":125646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448053,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:19:25] local.INFO: GPS data processed {"connection_id":125646,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:19:25] local.INFO: Acknowledgment sent {"connection_id":125646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:19:26] local.INFO: TCP Data received {"connection_id":125646,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7aaa48012d77a40005f2af000016016129..."} 
[2026-07-07 22:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7aaa48012d77a40005f2af000016016129..."} 
[2026-07-07 22:19:26] local.INFO: Processing buffer {"connection_id":125646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7aaa48012d77a40005f2af000016016129..."} 
[2026-07-07 22:19:26] local.INFO: Packet analysis {"connection_id":125646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7a"} 
[2026-07-07 22:19:26] local.INFO: Extracted packet for processing {"connection_id":125646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7a"} 
[2026-07-07 22:19:26] local.INFO: GPS Element Parsed {"raw_longitude":762815488,"raw_latitude":99790592,"longitude_deg":76.2815488,"latitude_deg":9.9790592,"altitude":22,"angle":353,"satellites":41,"speed":9,"hex_longitude":"2d77a400","hex_latitude":"05f2af00","is_valid_coordinates":true} 
[2026-07-07 22:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561373696001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257131263950848,"note":"Value kept but may cause issues"} 
[2026-07-07 22:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983930880,"note":"Value kept but may cause issues"} 
[2026-07-07 22:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783442877000,"timestamp_ms":1783442877000,"timestamp_seconds":1783442877,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7aaa48"} 
[2026-07-07 22:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 22:19: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-07-07 22:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561373696001,"66":27908,"163":206,"9":24832,"24":9,"16":132257131263950848,"45":8621085980983930880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561373696001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:19:26] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:19:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257131263950848,"km_value":132257131263950.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983930880,"description":"Unknown IO ID 45"} 
[2026-07-07 22:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561373696001,"power":27908,"unknown_163":206,"unknown_9":24832,"ignition":9,"odometer":null,"unknown_45":8621085980983930880}} 
[2026-07-07 22:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":125646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448054,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:19:26] local.INFO: GPS data processed {"connection_id":125646,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:19:26] local.INFO: Acknowledgment sent {"connection_id":125646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:20:01] local.INFO: TCP Data received {"connection_id":124919,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:20:01] local.INFO: Processing buffer {"connection_id":124919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:20:01] local.INFO: IMEI packet received {"connection_id":124919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":124919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:20:05] local.INFO: TCP Data received {"connection_id":124919,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:20:05] local.INFO: Processing buffer {"connection_id":124919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:20:05] local.INFO: IMEI packet received {"connection_id":124919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":124919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:20:10] local.INFO: TCP Data received {"connection_id":124919,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:20:10] local.INFO: Processing buffer {"connection_id":124919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:20:10] local.INFO: IMEI packet received {"connection_id":124919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":124919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:20:13] local.INFO: TCP Data received {"connection_id":124919,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:20:13] local.INFO: Processing buffer {"connection_id":124919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:20:13] local.INFO: IMEI packet received {"connection_id":124919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":124919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:20:15] local.INFO: TCP Data received {"connection_id":124919,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7afc50012d779f0005f2c4b80010015a2d..."} 
[2026-07-07 22:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7afc50012d779f0005f2c4b80010015a2d..."} 
[2026-07-07 22:20:15] local.INFO: Processing buffer {"connection_id":124919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7afc50012d779f0005f2c4b80010015a2d..."} 
[2026-07-07 22:20:15] local.INFO: Packet analysis {"connection_id":124919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7a"} 
[2026-07-07 22:20:15] local.INFO: Extracted packet for processing {"connection_id":124919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7a"} 
[2026-07-07 22:20:15] local.INFO: GPS Element Parsed {"raw_longitude":762814208,"raw_latitude":99796152,"longitude_deg":76.2814208,"latitude_deg":9.9796152,"altitude":16,"angle":346,"satellites":45,"speed":6,"hex_longitude":"2d779f00","hex_latitude":"05f2c4b8","is_valid_coordinates":true} 
[2026-07-07 22:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561376512001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257410436825088,"note":"Value kept but may cause issues"} 
[2026-07-07 22:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621015612240363520,"note":"Value kept but may cause issues"} 
[2026-07-07 22:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783442898000,"timestamp_ms":1783442898000,"timestamp_seconds":1783442898,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7afc50"} 
[2026-07-07 22:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22: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-07-07 22:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561376512001,"66":28104,"163":206,"9":24832,"24":6,"16":132257410436825088,"45":8621015612240363520},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561376512001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:20:15] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:20:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257410436825088,"km_value":132257410436825.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621015612240363520,"description":"Unknown IO ID 45"} 
[2026-07-07 22:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561376512001,"power":28104,"unknown_163":206,"unknown_9":24832,"ignition":6,"odometer":null,"unknown_45":8621015612240363520}} 
[2026-07-07 22:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":124919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448055,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:20:15] local.INFO: GPS data processed {"connection_id":124919,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:20:15] local.INFO: Acknowledgment sent {"connection_id":124919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:20:16] local.INFO: TCP Data received {"connection_id":124919,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7b4e58012d779b0005f2d480000f015f2d..."} 
[2026-07-07 22:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7b4e58012d779b0005f2d480000f015f2d..."} 
[2026-07-07 22:20:16] local.INFO: Processing buffer {"connection_id":124919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7b4e58012d779b0005f2d480000f015f2d..."} 
[2026-07-07 22:20:16] local.INFO: Packet analysis {"connection_id":124919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7b"} 
[2026-07-07 22:20:16] local.INFO: Extracted packet for processing {"connection_id":124919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7b"} 
[2026-07-07 22:20:16] local.INFO: GPS Element Parsed {"raw_longitude":762813184,"raw_latitude":99800192,"longitude_deg":76.2813184,"latitude_deg":9.9800192,"altitude":15,"angle":351,"satellites":45,"speed":5,"hex_longitude":"2d779b00","hex_latitude":"05f2d480","is_valid_coordinates":true} 
[2026-07-07 22:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561381888001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257616595255296,"note":"Value kept but may cause issues"} 
[2026-07-07 22:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237358233600,"note":"Value kept but may cause issues"} 
[2026-07-07 22:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783442919000,"timestamp_ms":1783442919000,"timestamp_seconds":1783442919,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7b4e58"} 
[2026-07-07 22:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-07 22:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561381888001,"66":27908,"163":206,"9":24832,"24":5,"16":132257616595255296,"45":8619608237358233600},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-07-07 22:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561381888001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:20:16] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:20:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257616595255296,"km_value":132257616595255.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237358233600,"description":"Unknown IO ID 45"} 
[2026-07-07 22:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561381888001,"power":27908,"unknown_163":206,"unknown_9":24832,"ignition":5,"odometer":null,"unknown_45":8619608237358233600}} 
[2026-07-07 22:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":124919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448056,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:20:16] local.INFO: GPS data processed {"connection_id":124919,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:20:16] local.INFO: Acknowledgment sent {"connection_id":124919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:20:28] local.INFO: TCP Data received {"connection_id":126900,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:20:28] local.INFO: Processing buffer {"connection_id":126900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:20:28] local.INFO: IMEI packet received {"connection_id":126900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":126900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:20:33] local.INFO: TCP Data received {"connection_id":126900,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:20:33] local.INFO: Processing buffer {"connection_id":126900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:20:33] local.INFO: IMEI packet received {"connection_id":126900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":126900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:20:34] local.INFO: TCP Data received {"connection_id":126900,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:20:34] local.INFO: Processing buffer {"connection_id":126900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d781620012dc5eb400537d5a0003401442f..."} 
[2026-07-07 22:20:34] local.INFO: Packet analysis {"connection_id":126900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:20:34] local.INFO: Extracted packet for processing {"connection_id":126900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d78"} 
[2026-07-07 22:20:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561256192001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783442708000,"timestamp_ms":1783442708000,"timestamp_seconds":1783442708,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d781620"} 
[2026-07-07 22:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561256192001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561256192001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:20:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:20:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561256192001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":126900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:20:34] local.INFO: GPS data processed {"connection_id":126900,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:20:34] local.INFO: Acknowledgment sent {"connection_id":126900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:20:58] local.INFO: TCP Data received {"connection_id":124920,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:20:58] local.INFO: TCP Data received {"connection_id":126901,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:20:58] local.INFO: Processing buffer {"connection_id":124920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:20:58] local.INFO: IMEI packet received {"connection_id":124920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":124920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:20:58] local.INFO: Processing buffer {"connection_id":126901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:20:58] local.INFO: IMEI packet received {"connection_id":126901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":126901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:21:03] local.INFO: TCP Data received {"connection_id":124920,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:21:03] local.INFO: Processing buffer {"connection_id":124920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:21:03] local.INFO: IMEI packet received {"connection_id":124920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":124920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:21:04] local.INFO: TCP Data received {"connection_id":124920,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:21:04] local.INFO: Processing buffer {"connection_id":124920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:21:04] local.INFO: Packet analysis {"connection_id":124920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:21:04] local.INFO: Extracted packet for processing {"connection_id":124920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:21:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561333248001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783443009000,"timestamp_ms":1783443009000,"timestamp_seconds":1783443009,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7cade8"} 
[2026-07-07 22:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561333248001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561333248001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:21:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:21:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561333248001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":124920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:21:04] local.INFO: GPS data processed {"connection_id":124920,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:21:04] local.INFO: Acknowledgment sent {"connection_id":124920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:21:05] local.INFO: TCP Data received {"connection_id":126901,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:21:05] local.INFO: Processing buffer {"connection_id":126901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:21:05] local.INFO: IMEI packet received {"connection_id":126901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":126901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:21:06] local.INFO: TCP Data received {"connection_id":126901,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7ba060012d77960005f2eda0000b015d2c..."} 
[2026-07-07 22:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7ba060012d77960005f2eda0000b015d2c..."} 
[2026-07-07 22:21:06] local.INFO: Processing buffer {"connection_id":126901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7ba060012d77960005f2eda0000b015d2c..."} 
[2026-07-07 22:21:06] local.INFO: Packet analysis {"connection_id":126901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7b"} 
[2026-07-07 22:21:06] local.INFO: Extracted packet for processing {"connection_id":126901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7b"} 
[2026-07-07 22:21:06] local.INFO: GPS Element Parsed {"raw_longitude":762811904,"raw_latitude":99806624,"longitude_deg":76.2811904,"latitude_deg":9.9806624,"altitude":11,"angle":349,"satellites":44,"speed":19,"hex_longitude":"2d779600","hex_latitude":"05f2eda0","is_valid_coordinates":true} 
[2026-07-07 22:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561387264001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132257934422835200,"note":"Value kept but may cause issues"} 
[2026-07-07 22:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8618482337452425216,"note":"Value kept but may cause issues"} 
[2026-07-07 22:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783442940000,"timestamp_ms":1783442940000,"timestamp_seconds":1783442940,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7ba060"} 
[2026-07-07 22:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 22:21: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-07-07 22:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561387264001,"66":28050,"105":206,"9":24832,"24":19,"16":132257934422835200,"45":8618482337452425216},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,9,24,16,45]} 
[2026-07-07 22:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561387264001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:21:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-07 22:21:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132257934422835200,"km_value":132257934422835.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8618482337452425216,"description":"Unknown IO ID 45"} 
[2026-07-07 22:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561387264001,"power":28050,"unknown_105":206,"unknown_9":24832,"ignition":19,"odometer":null,"unknown_45":8618482337452425216}} 
[2026-07-07 22:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":126901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448059,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:21:06] local.INFO: GPS data processed {"connection_id":126901,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:21:06] local.INFO: Acknowledgment sent {"connection_id":126901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:21:37] local.INFO: TCP Data received {"connection_id":124920,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:21:37] local.INFO: Processing buffer {"connection_id":124920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:21:37] local.INFO: Packet analysis {"connection_id":124920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:21:37] local.INFO: Extracted packet for processing {"connection_id":124920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:21:37] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561333248001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783443009000,"timestamp_ms":1783443009000,"timestamp_seconds":1783443009,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7cade8"} 
[2026-07-07 22:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561333248001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561333248001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:21:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:21:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561333248001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":124920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:21:37] local.INFO: GPS data processed {"connection_id":124920,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:21:37] local.INFO: Acknowledgment sent {"connection_id":124920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:21:42] local.INFO: TCP Data received {"connection_id":126901,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7bf268012d77914005f30ef0000e01612b..."} 
[2026-07-07 22:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7bf268012d77914005f30ef0000e01612b..."} 
[2026-07-07 22:21:42] local.INFO: Processing buffer {"connection_id":126901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7bf268012d77914005f30ef0000e01612b..."} 
[2026-07-07 22:21:42] local.INFO: Packet analysis {"connection_id":126901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7b"} 
[2026-07-07 22:21:42] local.INFO: Extracted packet for processing {"connection_id":126901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7b"} 
[2026-07-07 22:21:42] local.INFO: GPS Element Parsed {"raw_longitude":762810688,"raw_latitude":99815152,"longitude_deg":76.2810688,"latitude_deg":9.9815152,"altitude":14,"angle":353,"satellites":43,"speed":18,"hex_longitude":"2d779140","hex_latitude":"05f30ef0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 22:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561392640001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132258355329630208,"note":"Value kept but may cause issues"} 
[2026-07-07 22:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8617074962570518528,"note":"Value kept but may cause issues"} 
[2026-07-07 22:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783442961000,"timestamp_ms":1783442961000,"timestamp_seconds":1783442961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7bf268"} 
[2026-07-07 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-07-07 22:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 22:21: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-07-07 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-07-07 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-07-07 22:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561392640001,"66":27843,"105":206,"9":24832,"24":18,"16":132258355329630208,"45":8617074962570518528},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,9,24,16,45]} 
[2026-07-07 22:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561392640001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:21:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-07 22:21:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132258355329630208,"km_value":132258355329630.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8617074962570518528,"description":"Unknown IO ID 45"} 
[2026-07-07 22:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561392640001,"power":27843,"unknown_105":206,"unknown_9":24832,"ignition":18,"odometer":null,"unknown_45":8617074962570518528}} 
[2026-07-07 22:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":126901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448061,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:21:42] local.INFO: GPS data processed {"connection_id":126901,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:21:42] local.INFO: Acknowledgment sent {"connection_id":126901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:21:57] local.INFO: TCP Data received {"connection_id":124825,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:21:57] local.INFO: Processing buffer {"connection_id":124825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:21:57] local.INFO: IMEI packet received {"connection_id":124825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":124825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:22:03] local.INFO: TCP Data received {"connection_id":124825,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:22:03] local.INFO: Processing buffer {"connection_id":124825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:22:03] local.INFO: IMEI packet received {"connection_id":124825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":124825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:22:03] local.INFO: TCP Data received {"connection_id":125647,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:22:03] local.INFO: Processing buffer {"connection_id":125647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:22:03] local.INFO: IMEI packet received {"connection_id":125647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":125647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:22:04] local.INFO: TCP Data received {"connection_id":124825,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:22:04] local.INFO: Processing buffer {"connection_id":124825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:22:04] local.INFO: Packet analysis {"connection_id":124825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:22:04] local.INFO: Extracted packet for processing {"connection_id":124825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:22:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561333248001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783443009000,"timestamp_ms":1783443009000,"timestamp_seconds":1783443009,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7cade8"} 
[2026-07-07 22:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561333248001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561333248001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:22:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:22:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561333248001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":124825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:22:04] local.INFO: GPS data processed {"connection_id":124825,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:22:04] local.INFO: Acknowledgment sent {"connection_id":124825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:22:04] local.INFO: TCP Data received {"connection_id":125647,"ip":"117.224.129.116","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 22:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125647,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 22:22:04] local.INFO: Processing buffer {"connection_id":125647,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 22:22:04] local.INFO: IMEI packet received {"connection_id":125647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":125647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:22:10] local.INFO: TCP Data received {"connection_id":125647,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:22:10] local.INFO: Processing buffer {"connection_id":125647,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 22:22:10] local.INFO: IMEI packet received {"connection_id":125647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":125647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:22:30] local.INFO: TCP Data received {"connection_id":125647,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7c30e8012d778a8005f331900010015e28..."} 
[2026-07-07 22:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7c30e8012d778a8005f331900010015e28..."} 
[2026-07-07 22:22:30] local.INFO: Processing buffer {"connection_id":125647,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019f3d..."} 
[2026-07-07 22:22:30] local.INFO: IMEI packet received {"connection_id":125647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":125647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:22:32] local.INFO: TCP Data received {"connection_id":125647,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7c6798012d7783c005f35510000c015d29..."} 
[2026-07-07 22:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7c6798012d7783c005f35510000c015d29..."} 
[2026-07-07 22:22:32] local.INFO: Processing buffer {"connection_id":125647,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3d7c30e8012d778a8005f331900010015e28..."} 
[2026-07-07 22:22:32] local.INFO: Packet analysis {"connection_id":125647,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:22:32] local.INFO: Extracted packet for processing {"connection_id":125647,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:22:32] local.INFO: GPS Element Parsed {"raw_longitude":762808960,"raw_latitude":99824016,"longitude_deg":76.280896,"latitude_deg":9.9824016,"altitude":16,"angle":350,"satellites":40,"speed":22,"hex_longitude":"2d778a80","hex_latitude":"05f33190","is_valid_coordinates":true} 
[2026-07-07 22:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561398016001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132258793416294400,"note":"Value kept but may cause issues"} 
[2026-07-07 22:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8615737956433326080,"note":"Value kept but may cause issues"} 
[2026-07-07 22:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783442977000,"timestamp_ms":1783442977000,"timestamp_seconds":1783442977,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7c30e8"} 
[2026-07-07 22:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 22:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561398016001,"66":28137,"104":206,"9":24832,"24":22,"16":132258793416294400,"45":8615737956433326080},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,9,24,16,45]} 
[2026-07-07 22:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561398016001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:22:32] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-07 22:22:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132258793416294400,"km_value":132258793416294.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8615737956433326080,"description":"Unknown IO ID 45"} 
[2026-07-07 22:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561398016001,"power":28137,"unknown_104":206,"unknown_9":24832,"ignition":22,"odometer":null,"unknown_45":8615737956433326080}} 
[2026-07-07 22:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":125647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448063,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:22:32] local.INFO: GPS data processed {"connection_id":125647,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:22:32] local.INFO: Acknowledgment sent {"connection_id":125647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:22:32] local.INFO: Packet analysis {"connection_id":125647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:22:32] local.INFO: Extracted packet for processing {"connection_id":125647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:22:32] local.INFO: GPS Element Parsed {"raw_longitude":762807232,"raw_latitude":99833104,"longitude_deg":76.2807232,"latitude_deg":9.9833104,"altitude":12,"angle":349,"satellites":41,"speed":27,"hex_longitude":"2d7783c0","hex_latitude":"05f35510","is_valid_coordinates":true} 
[2026-07-07 22:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561402112001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132259244387860480,"note":"Value kept but may cause issues"} 
[2026-07-07 22:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8613838000342798336,"note":"Value kept but may cause issues"} 
[2026-07-07 22:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783442991000,"timestamp_ms":1783442991000,"timestamp_seconds":1783442991,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7c6798"} 
[2026-07-07 22:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 22:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561402112001,"66":27887,"104":206,"9":24832,"24":27,"16":132259244387860480,"45":8613838000342798336},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,9,24,16,45]} 
[2026-07-07 22:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561402112001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:22:32] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-07 22:22:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132259244387860480,"km_value":132259244387860.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8613838000342798336,"description":"Unknown IO ID 45"} 
[2026-07-07 22:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561402112001,"power":27887,"unknown_104":206,"unknown_9":24832,"ignition":27,"odometer":null,"unknown_45":8613838000342798336}} 
[2026-07-07 22:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":125647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448064,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:22:32] local.INFO: GPS data processed {"connection_id":125647,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:22:32] local.INFO: Acknowledgment sent {"connection_id":125647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:22:33] local.INFO: TCP Data received {"connection_id":125647,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7cb5b8012d777d8005f378e8000a015f29..."} 
[2026-07-07 22:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7cb5b8012d777d8005f378e8000a015f29..."} 
[2026-07-07 22:22:33] local.INFO: Processing buffer {"connection_id":125647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7cb5b8012d777d8005f378e8000a015f29..."} 
[2026-07-07 22:22:33] local.INFO: Packet analysis {"connection_id":125647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:22:33] local.INFO: Extracted packet for processing {"connection_id":125647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:22:33] local.INFO: GPS Element Parsed {"raw_longitude":762805632,"raw_latitude":99842280,"longitude_deg":76.2805632,"latitude_deg":9.984228,"altitude":10,"angle":351,"satellites":41,"speed":21,"hex_longitude":"2d777d80","hex_latitude":"05f378e8","is_valid_coordinates":true} 
[2026-07-07 22:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561405696001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132259695359426560,"note":"Value kept but may cause issues"} 
[2026-07-07 22:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8611938044252327936,"note":"Value kept but may cause issues"} 
[2026-07-07 22:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783443011000,"timestamp_ms":1783443011000,"timestamp_seconds":1783443011,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7cb5b8"} 
[2026-07-07 22:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 22:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561405696001,"66":28137,"104":206,"9":24832,"24":21,"16":132259695359426560,"45":8611938044252327936},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,9,24,16,45]} 
[2026-07-07 22:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561405696001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:22:33] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-07 22:22:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132259695359426560,"km_value":132259695359426.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8611938044252327936,"description":"Unknown IO ID 45"} 
[2026-07-07 22:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561405696001,"power":28137,"unknown_104":206,"unknown_9":24832,"ignition":21,"odometer":null,"unknown_45":8611938044252327936}} 
[2026-07-07 22:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":125647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448065,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:22:33] local.INFO: GPS data processed {"connection_id":125647,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:22:33] local.INFO: Acknowledgment sent {"connection_id":125647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:22:35] local.INFO: TCP Data received {"connection_id":124825,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:22:35] local.INFO: Processing buffer {"connection_id":124825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:22:35] local.INFO: Packet analysis {"connection_id":124825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:22:35] local.INFO: Extracted packet for processing {"connection_id":124825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:22:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561333248001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783443009000,"timestamp_ms":1783443009000,"timestamp_seconds":1783443009,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7cade8"} 
[2026-07-07 22:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:22: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-07-07 22:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561333248001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561333248001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:22:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:22:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561333248001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":124825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:22:35] local.INFO: GPS data processed {"connection_id":124825,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:22:35] local.INFO: Acknowledgment sent {"connection_id":124825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:23:03] local.INFO: TCP Data received {"connection_id":124826,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:23:03] local.INFO: Processing buffer {"connection_id":124826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:23:03] local.INFO: IMEI packet received {"connection_id":124826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":124826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:23:06] local.INFO: TCP Data received {"connection_id":124921,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:23:06] local.INFO: Processing buffer {"connection_id":124921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:23:06] local.INFO: IMEI packet received {"connection_id":124921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":124921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:23:08] local.INFO: TCP Data received {"connection_id":124921,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:23:08] local.INFO: Processing buffer {"connection_id":124921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:23:08] local.INFO: IMEI packet received {"connection_id":124921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":124921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:23:08] local.INFO: TCP Data received {"connection_id":124826,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:23:08] local.INFO: Processing buffer {"connection_id":124826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:23:08] local.INFO: IMEI packet received {"connection_id":124826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":124826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:23:09] local.INFO: TCP Data received {"connection_id":124921,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7e4040012d76cec005f38fc0000f00fd2e..."} 
[2026-07-07 22:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7e4040012d76cec005f38fc0000f00fd2e..."} 
[2026-07-07 22:23:09] local.INFO: Processing buffer {"connection_id":124921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7e4040012d76cec005f38fc0000f00fd2e..."} 
[2026-07-07 22:23:09] local.INFO: Packet analysis {"connection_id":124921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7e"} 
[2026-07-07 22:23:09] local.INFO: Extracted packet for processing {"connection_id":124921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7e"} 
[2026-07-07 22:23:09] local.INFO: GPS Element Parsed {"raw_longitude":762760896,"raw_latitude":99848128,"longitude_deg":76.2760896,"latitude_deg":9.9848128,"altitude":15,"angle":253,"satellites":46,"speed":13,"hex_longitude":"2d76cec0","hex_latitude":"05f38fc0","is_valid_coordinates":true} 
[2026-07-07 22:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132260391144128512,"note":"Value kept but may cause issues"} 
[2026-07-07 22:23:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,104,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 22:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783443112000,"timestamp_ms":1783443112000,"timestamp_seconds":1783443112,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7e4040"} 
[2026-07-07 22:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:23: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-07 22:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2642,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28006,"104":206,"9":24832,"24":13,"16":132260391144128512},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,9,24,16]} 
[2026-07-07 22:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-07 22:23:09] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-07 22:23:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132260391144128512,"km_value":132260391144128.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:23:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28006,"unknown_104":206,"unknown_9":24832,"ignition":13,"odometer":null}} 
[2026-07-07 22:23:09] local.INFO: TCP Data received {"connection_id":124826,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:23:09] local.INFO: Processing buffer {"connection_id":124826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:23:09] local.INFO: Packet analysis {"connection_id":124826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:23:09] local.INFO: Extracted packet for processing {"connection_id":124826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:23:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561333248001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22: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-07-07 22:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783443009000,"timestamp_ms":1783443009000,"timestamp_seconds":1783443009,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7cade8"} 
[2026-07-07 22:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561333248001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561333248001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:23:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:23:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561333248001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":124826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:23:09] local.INFO: GPS data processed {"connection_id":124826,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:23:09] local.INFO: Acknowledgment sent {"connection_id":124826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":124921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448067,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:23:09] local.INFO: GPS data processed {"connection_id":124921,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:23:09] local.INFO: Acknowledgment sent {"connection_id":124921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:23:13] local.INFO: TCP Data received {"connection_id":124826,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:23:13] local.INFO: Processing buffer {"connection_id":124826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:23:13] local.INFO: Packet analysis {"connection_id":124826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:23:13] local.INFO: Extracted packet for processing {"connection_id":124826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:23:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561333248001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783443009000,"timestamp_ms":1783443009000,"timestamp_seconds":1783443009,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7cade8"} 
[2026-07-07 22:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:23: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-07-07 22:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561333248001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561333248001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:23:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:23:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561333248001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":124826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:23:13] local.INFO: GPS data processed {"connection_id":124826,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:23:13] local.INFO: Acknowledgment sent {"connection_id":124826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:23:15] local.INFO: TCP Data received {"connection_id":124921,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7effa80100000000000000000000000000..."} 
[2026-07-07 22:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7effa80100000000000000000000000000..."} 
[2026-07-07 22:23:15] local.INFO: Processing buffer {"connection_id":124921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7effa80100000000000000000000000000..."} 
[2026-07-07 22:23:15] local.INFO: Packet analysis {"connection_id":124921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7e"} 
[2026-07-07 22:23:15] local.INFO: Extracted packet for processing {"connection_id":124921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7e"} 
[2026-07-07 22:23:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 22:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561436672001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132260391144128512,"note":"Value kept but may cause issues"} 
[2026-07-07 22:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8560991073471545344,"note":"Value kept but may cause issues"} 
[2026-07-07 22:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783443161000,"timestamp_ms":1783443161000,"timestamp_seconds":1783443161,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7effa8"} 
[2026-07-07 22:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 22:23: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-07-07 22:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":124921,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-07 22:23:15] local.INFO: GPS data processed {"connection_id":124921,"processed":0,"errors":0,"total":1} 
[2026-07-07 22:23:15] local.INFO: Acknowledgment sent {"connection_id":124921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:23:58] local.INFO: TCP Data received {"connection_id":125648,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:23:58] local.INFO: Processing buffer {"connection_id":125648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:23:58] local.INFO: IMEI packet received {"connection_id":125648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":125648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:24:03] local.INFO: TCP Data received {"connection_id":125648,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:24:03] local.INFO: Processing buffer {"connection_id":125648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:24:03] local.INFO: IMEI packet received {"connection_id":125648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":125648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:24:03] local.INFO: TCP Data received {"connection_id":124922,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:24:03] local.INFO: Processing buffer {"connection_id":124922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:24:03] local.INFO: IMEI packet received {"connection_id":124922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":124922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:24:04] local.INFO: TCP Data received {"connection_id":125648,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:24:04] local.INFO: Processing buffer {"connection_id":125648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:24:04] local.INFO: Packet analysis {"connection_id":125648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:24:04] local.INFO: Extracted packet for processing {"connection_id":125648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:24:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561333248001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783443009000,"timestamp_ms":1783443009000,"timestamp_seconds":1783443009,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7cade8"} 
[2026-07-07 22:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561333248001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561333248001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:24:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:24:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561333248001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":125648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:24:04] local.INFO: GPS data processed {"connection_id":125648,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:24:04] local.INFO: Acknowledgment sent {"connection_id":125648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:24:08] local.INFO: TCP Data received {"connection_id":124922,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:24:08] local.INFO: Processing buffer {"connection_id":124922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:24:08] local.INFO: IMEI packet received {"connection_id":124922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":124922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:24:22] local.INFO: TCP Data received {"connection_id":124922,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7ea1e8012d7697c005f37848001100f229..."} 
[2026-07-07 22:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7ea1e8012d7697c005f37848001100f229..."} 
[2026-07-07 22:24:22] local.INFO: Processing buffer {"connection_id":124922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7ea1e8012d7697c005f37848001100f229..."} 
[2026-07-07 22:24:22] local.INFO: Packet analysis {"connection_id":124922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7e"} 
[2026-07-07 22:24:22] local.INFO: Extracted packet for processing {"connection_id":124922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7e"} 
[2026-07-07 22:24:22] local.INFO: GPS Element Parsed {"raw_longitude":762746816,"raw_latitude":99842120,"longitude_deg":76.2746816,"latitude_deg":9.984212,"altitude":17,"angle":242,"satellites":41,"speed":12,"hex_longitude":"2d7697c0","hex_latitude":"05f37848","is_valid_coordinates":true} 
[2026-07-07 22:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132260391144128512,"note":"Value kept but may cause issues"} 
[2026-07-07 22:24:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,15,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 22:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783443137000,"timestamp_ms":1783443137000,"timestamp_seconds":1783443137,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7ea1e8"} 
[2026-07-07 22:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-07 22:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27984,"15":206,"9":24832,"24":12,"16":132260391144128512},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,9,24,16]} 
[2026-07-07 22:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-07 22:24:22] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 22:24:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132260391144128512,"km_value":132260391144128.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:24:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27984,"unknown_15":206,"unknown_9":24832,"ignition":12,"odometer":null}} 
[2026-07-07 22:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":124922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448071,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:24:22] local.INFO: GPS data processed {"connection_id":124922,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:24:22] local.INFO: Acknowledgment sent {"connection_id":124922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:24:33] local.INFO: TCP Data received {"connection_id":124922,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7f61500100000000000000000000000000..."} 
[2026-07-07 22:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7f61500100000000000000000000000000..."} 
[2026-07-07 22:24:33] local.INFO: Processing buffer {"connection_id":124922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7f61500100000000000000000000000000..."} 
[2026-07-07 22:24:33] local.INFO: Packet analysis {"connection_id":124922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7f"} 
[2026-07-07 22:24:33] local.INFO: Extracted packet for processing {"connection_id":124922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7f"} 
[2026-07-07 22:24:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561443072001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132260391144128512,"note":"Value kept but may cause issues"} 
[2026-07-07 22:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8545509949750921216,"note":"Value kept but may cause issues"} 
[2026-07-07 22:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783443186000,"timestamp_ms":1783443186000,"timestamp_seconds":1783443186,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7f6150"} 
[2026-07-07 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-07-07 22:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 22:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 22:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":124922,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-07 22:24:33] local.INFO: GPS data processed {"connection_id":124922,"processed":0,"errors":0,"total":1} 
[2026-07-07 22:24:33] local.INFO: Acknowledgment sent {"connection_id":124922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:24:35] local.INFO: TCP Data received {"connection_id":125648,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:24:35] local.INFO: Processing buffer {"connection_id":125648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:24:35] local.INFO: Packet analysis {"connection_id":125648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:24:35] local.INFO: Extracted packet for processing {"connection_id":125648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:24:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561333248001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783443009000,"timestamp_ms":1783443009000,"timestamp_seconds":1783443009,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7cade8"} 
[2026-07-07 22:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561333248001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561333248001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:24:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:24:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561333248001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":125648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:24:35] local.INFO: GPS data processed {"connection_id":125648,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:24:35] local.INFO: Acknowledgment sent {"connection_id":125648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:24:56] local.INFO: TCP Data received {"connection_id":124827,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:24:56] local.INFO: Processing buffer {"connection_id":124827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:24:56] local.INFO: IMEI packet received {"connection_id":124827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":124827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:24:58] local.INFO: TCP Data received {"connection_id":124923,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:24:58] local.INFO: Processing buffer {"connection_id":124923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:24:58] local.INFO: IMEI packet received {"connection_id":124923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":124923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:24:58] local.INFO: TCP Data received {"connection_id":124827,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:24:58] local.INFO: Processing buffer {"connection_id":124827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:24:58] local.INFO: IMEI packet received {"connection_id":124827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":124827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:25:03] local.INFO: TCP Data received {"connection_id":124923,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:25:03] local.INFO: Processing buffer {"connection_id":124923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:25:03] local.INFO: IMEI packet received {"connection_id":124923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":124923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:25:06] local.INFO: TCP Data received {"connection_id":124827,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:25:06] local.INFO: Processing buffer {"connection_id":124827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:25:06] local.INFO: IMEI packet received {"connection_id":124827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":124827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:25:07] local.INFO: TCP Data received {"connection_id":124827,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7f0b60012d7670c005f38f40000a00e928..."} 
[2026-07-07 22:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7f0b60012d7670c005f38f40000a00e928..."} 
[2026-07-07 22:25:07] local.INFO: Processing buffer {"connection_id":124827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7f0b60012d7670c005f38f40000a00e928..."} 
[2026-07-07 22:25:07] local.INFO: Packet analysis {"connection_id":124827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7f"} 
[2026-07-07 22:25:07] local.INFO: Extracted packet for processing {"connection_id":124827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7f"} 
[2026-07-07 22:25:07] local.INFO: GPS Element Parsed {"raw_longitude":762736832,"raw_latitude":99848000,"longitude_deg":76.2736832,"latitude_deg":9.9848,"altitude":10,"angle":233,"satellites":40,"speed":7,"hex_longitude":"2d7670c0","hex_latitude":"05f38f40","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132260391144128512,"note":"Value kept but may cause issues"} 
[2026-07-07 22:25:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,15,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 22:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783443164000,"timestamp_ms":1783443164000,"timestamp_seconds":1783443164,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7f0b60"} 
[2026-07-07 22:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:25: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 22:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28082,"15":206,"9":24832,"24":7,"16":132260391144128512},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,9,24,16]} 
[2026-07-07 22:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-07 22:25:07] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 22:25:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132260391144128512,"km_value":132260391144128.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:25:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28082,"unknown_15":206,"unknown_9":24832,"ignition":7,"odometer":null}} 
[2026-07-07 22:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":124827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448073,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:25:07] local.INFO: GPS data processed {"connection_id":124827,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:25:07] local.INFO: Acknowledgment sent {"connection_id":124827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:25:17] local.INFO: TCP Data received {"connection_id":124923,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:25:17] local.INFO: Processing buffer {"connection_id":124923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7cade8012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:25:17] local.INFO: Packet analysis {"connection_id":124923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:25:17] local.INFO: Extracted packet for processing {"connection_id":124923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7c"} 
[2026-07-07 22:25:17] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561333248001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783443009000,"timestamp_ms":1783443009000,"timestamp_seconds":1783443009,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7cade8"} 
[2026-07-07 22:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:25: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-07-07 22:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561333248001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561333248001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:25:17] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:25:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561333248001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":124923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:25:17] local.INFO: GPS data processed {"connection_id":124923,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:25:17] local.INFO: Acknowledgment sent {"connection_id":124923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:25:47] local.INFO: TCP Data received {"connection_id":124827,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7f5d68012d7670c005f38f40000a00e928..."} 
[2026-07-07 22:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7f5d68012d7670c005f38f40000a00e928..."} 
[2026-07-07 22:25:47] local.INFO: Processing buffer {"connection_id":124827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7f5d68012d7670c005f38f40000a00e928..."} 
[2026-07-07 22:25:47] local.INFO: Packet analysis {"connection_id":124827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7f"} 
[2026-07-07 22:25:47] local.INFO: Extracted packet for processing {"connection_id":124827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7f"} 
[2026-07-07 22:25:47] local.INFO: GPS Element Parsed {"raw_longitude":762736832,"raw_latitude":99848000,"longitude_deg":76.2736832,"latitude_deg":9.9848,"altitude":10,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7670c0","hex_latitude":"05f38f40","is_valid_coordinates":true} 
[2026-07-07 22:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561449984001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132260391144128512,"note":"Value kept but may cause issues"} 
[2026-07-07 22:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8534532425660710912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783443185000,"timestamp_ms":1783443185000,"timestamp_seconds":1783443185,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7f5d68"} 
[2026-07-07 22:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:25: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-07-07 22:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 22:25:47] 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-07-07 22:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561449984001,"66":28137,"15":206,"9":24832,"24":0,"16":132260391144128512,"45":8534532425660710912},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,9,24,16,45]} 
[2026-07-07 22:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561449984001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:25:47] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-07 22:25:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132260391144128512,"km_value":132260391144128.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8534532425660710912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561449984001,"power":28137,"unknown_15":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8534532425660710912}} 
[2026-07-07 22:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":124827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448075,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:25:47] local.INFO: GPS data processed {"connection_id":124827,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:25:47] local.INFO: Acknowledgment sent {"connection_id":124827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:25:58] local.INFO: TCP Data received {"connection_id":126902,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:25:58] local.INFO: Processing buffer {"connection_id":126902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:25:58] local.INFO: IMEI packet received {"connection_id":126902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":126902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:26:01] local.INFO: TCP Data received {"connection_id":125649,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:26:01] local.INFO: Processing buffer {"connection_id":125649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:26:01] local.INFO: IMEI packet received {"connection_id":125649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":125649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:26:03] local.INFO: TCP Data received {"connection_id":126902,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:26:03] local.INFO: Processing buffer {"connection_id":126902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:26:03] local.INFO: IMEI packet received {"connection_id":126902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":126902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:26:04] local.INFO: TCP Data received {"connection_id":126902,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:26:04] local.INFO: Processing buffer {"connection_id":126902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:26:04] local.INFO: Packet analysis {"connection_id":126902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:26:04] local.INFO: Extracted packet for processing {"connection_id":126902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:26:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561410304001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783443310000,"timestamp_ms":1783443310000,"timestamp_seconds":1783443310,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8145b0"} 
[2026-07-07 22:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561410304001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561410304001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:26:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:26:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561410304001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":126902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:26:04] local.INFO: GPS data processed {"connection_id":126902,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:26:04] local.INFO: Acknowledgment sent {"connection_id":126902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:26:04] local.INFO: TCP Data received {"connection_id":125649,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:26:04] local.INFO: Processing buffer {"connection_id":125649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:26:04] local.INFO: IMEI packet received {"connection_id":125649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":125649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:26:07] local.INFO: TCP Data received {"connection_id":125649,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7f9800012d764a0005f3bed80009014625..."} 
[2026-07-07 22:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7f9800012d764a0005f3bed80009014625..."} 
[2026-07-07 22:26:07] local.INFO: Processing buffer {"connection_id":125649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7f9800012d764a0005f3bed80009014625..."} 
[2026-07-07 22:26:07] local.INFO: Packet analysis {"connection_id":125649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7f"} 
[2026-07-07 22:26:07] local.INFO: Extracted packet for processing {"connection_id":125649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7f"} 
[2026-07-07 22:26:07] local.INFO: GPS Element Parsed {"raw_longitude":762726912,"raw_latitude":99860184,"longitude_deg":76.2726912,"latitude_deg":9.9860184,"altitude":9,"angle":326,"satellites":37,"speed":30,"hex_longitude":"2d764a00","hex_latitude":"05f3bed8","is_valid_coordinates":true} 
[2026-07-07 22:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561455360001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132260391144128512,"note":"Value kept but may cause issues"} 
[2026-07-07 22:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8534532425660710912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783443200000,"timestamp_ms":1783443200000,"timestamp_seconds":1783443200,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7f9800"} 
[2026-07-07 22:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 22:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561455360001,"66":28115,"50":206,"9":24832,"24":30,"16":132260391144128512,"45":8534532425660710912},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,9,24,16,45]} 
[2026-07-07 22:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561455360001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:26:07] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-07 22:26:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132260391144128512,"km_value":132260391144128.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8534532425660710912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561455360001,"power":28115,"unknown_50":206,"unknown_9":24832,"ignition":30,"odometer":null,"unknown_45":8534532425660710912}} 
[2026-07-07 22:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":125649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448077,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:26:07] local.INFO: GPS data processed {"connection_id":125649,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:26:07] local.INFO: Acknowledgment sent {"connection_id":125649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:26:12] local.INFO: TCP Data received {"connection_id":125649,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d7fea08012d762b4005f3f9300008014c28..."} 
[2026-07-07 22:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d7fea08012d762b4005f3f9300008014c28..."} 
[2026-07-07 22:26:12] local.INFO: Processing buffer {"connection_id":125649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d7fea08012d762b4005f3f9300008014c28..."} 
[2026-07-07 22:26:12] local.INFO: Packet analysis {"connection_id":125649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d7f"} 
[2026-07-07 22:26:12] local.INFO: Extracted packet for processing {"connection_id":125649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d7f"} 
[2026-07-07 22:26:12] local.INFO: GPS Element Parsed {"raw_longitude":762719040,"raw_latitude":99875120,"longitude_deg":76.271904,"latitude_deg":9.987512,"altitude":8,"angle":332,"satellites":40,"speed":36,"hex_longitude":"2d762b40","hex_latitude":"05f3f930","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561459200001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132260391144128512,"note":"Value kept but may cause issues"} 
[2026-07-07 22:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8523625270316292096,"note":"Value kept but may cause issues"} 
[2026-07-07 22:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783443221000,"timestamp_ms":1783443221000,"timestamp_seconds":1783443221,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d7fea08"} 
[2026-07-07 22:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:26: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-07-07 22:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-07 22:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2642,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561459200001,"66":27952,"50":206,"9":24832,"24":36,"16":132260391144128512,"45":8523625270316292096},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,9,24,16,45]} 
[2026-07-07 22:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561459200001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:26:12] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-07 22:26:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132260391144128512,"km_value":132260391144128.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8523625270316292096,"description":"Unknown IO ID 45"} 
[2026-07-07 22:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561459200001,"power":27952,"unknown_50":206,"unknown_9":24832,"ignition":36,"odometer":null,"unknown_45":8523625270316292096}} 
[2026-07-07 22:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":125649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448078,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:26:12] local.INFO: GPS data processed {"connection_id":125649,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:26:12] local.INFO: Acknowledgment sent {"connection_id":125649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:26:35] local.INFO: TCP Data received {"connection_id":126902,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:26:35] local.INFO: Processing buffer {"connection_id":126902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:26:35] local.INFO: Packet analysis {"connection_id":126902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:26:35] local.INFO: Extracted packet for processing {"connection_id":126902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:26:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561410304001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783443310000,"timestamp_ms":1783443310000,"timestamp_seconds":1783443310,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8145b0"} 
[2026-07-07 22:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561410304001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561410304001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:26:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:26:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561410304001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":126902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:26:35] local.INFO: GPS data processed {"connection_id":126902,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:26:35] local.INFO: Acknowledgment sent {"connection_id":126902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:26:43] local.INFO: TCP Data received {"connection_id":125649,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d818048012d75650005f4a3c0000f00f830..."} 
[2026-07-07 22:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d818048012d75650005f4a3c0000f00f830..."} 
[2026-07-07 22:26:43] local.INFO: Processing buffer {"connection_id":125649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d818048012d75650005f4a3c0000f00f830..."} 
[2026-07-07 22:26:43] local.INFO: Packet analysis {"connection_id":125649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:26:43] local.INFO: Extracted packet for processing {"connection_id":125649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:26:43] local.INFO: GPS Element Parsed {"raw_longitude":762668288,"raw_latitude":99918784,"longitude_deg":76.2668288,"latitude_deg":9.9918784,"altitude":15,"angle":248,"satellites":48,"speed":39,"hex_longitude":"2d756500","hex_latitude":"05f4a3c0","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561485824001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132262375419019264,"note":"Value kept but may cause issues"} 
[2026-07-07 22:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8478167061594208256,"note":"Value kept but may cause issues"} 
[2026-07-07 22:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783443325000,"timestamp_ms":1783443325000,"timestamp_seconds":1783443325,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d818048"} 
[2026-07-07 22:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:26: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-07-07 22: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-07 22:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561485824001,"66":28028,"239":206,"9":24832,"24":39,"16":132262375419019264,"45":8478167061594208256},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,9,24,16,45]} 
[2026-07-07 22:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561485824001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:26:43] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-07 22:26:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132262375419019264,"km_value":132262375419019.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8478167061594208256,"description":"Unknown IO ID 45"} 
[2026-07-07 22:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561485824001,"power":28028,"unknown_239":206,"unknown_9":24832,"ignition":39,"odometer":null,"unknown_45":8478167061594208256}} 
[2026-07-07 22:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":125649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448080,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:26:43] local.INFO: GPS data processed {"connection_id":125649,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:26:43] local.INFO: Acknowledgment sent {"connection_id":125649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:26:58] local.INFO: TCP Data received {"connection_id":124828,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:26:58] local.INFO: Processing buffer {"connection_id":124828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:26:58] local.INFO: IMEI packet received {"connection_id":124828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":124828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:26:59] local.INFO: TCP Data received {"connection_id":124828,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:26:59] local.INFO: Processing buffer {"connection_id":124828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:26:59] local.INFO: IMEI packet received {"connection_id":124828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":124828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:27:03] local.INFO: TCP Data received {"connection_id":124829,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:27:03] local.INFO: Processing buffer {"connection_id":124829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:27:03] local.INFO: IMEI packet received {"connection_id":124829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":124829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:27:03] local.INFO: TCP Data received {"connection_id":124828,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:27:03] local.INFO: Processing buffer {"connection_id":124828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:27:03] local.INFO: IMEI packet received {"connection_id":124828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":124828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:27:04] local.INFO: TCP Data received {"connection_id":124828,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d81d250012d752cc005f48e58000a00fa30..."} 
[2026-07-07 22:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d81d250012d752cc005f48e58000a00fa30..."} 
[2026-07-07 22:27:04] local.INFO: Processing buffer {"connection_id":124828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d81d250012d752cc005f48e58000a00fa30..."} 
[2026-07-07 22:27:04] local.INFO: Packet analysis {"connection_id":124828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:27:04] local.INFO: Extracted packet for processing {"connection_id":124828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:27:04] local.INFO: GPS Element Parsed {"raw_longitude":762653888,"raw_latitude":99913304,"longitude_deg":76.2653888,"latitude_deg":9.9913304,"altitude":10,"angle":250,"satellites":48,"speed":0,"hex_longitude":"2d752cc0","hex_latitude":"05f48e58","is_valid_coordinates":true} 
[2026-07-07 22:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561491200001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132262375419019264,"note":"Value kept but may cause issues"} 
[2026-07-07 22:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8459167500664553472,"note":"Value kept but may cause issues"} 
[2026-07-07 22:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783443346000,"timestamp_ms":1783443346000,"timestamp_seconds":1783443346,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d81d250"} 
[2026-07-07 22:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 22:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561491200001,"66":28104,"101":206,"9":24832,"24":0,"16":132262375419019264,"45":8459167500664553472},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,9,24,16,45]} 
[2026-07-07 22:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561491200001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:27:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 22:27:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132262375419019264,"km_value":132262375419019.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8459167500664553472,"description":"Unknown IO ID 45"} 
[2026-07-07 22:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561491200001,"power":28104,"unknown_101":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8459167500664553472}} 
[2026-07-07 22:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":124828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448081,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:27:04] local.INFO: GPS data processed {"connection_id":124828,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:27:04] local.INFO: Acknowledgment sent {"connection_id":124828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:27:08] local.INFO: TCP Data received {"connection_id":124829,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:27:08] local.INFO: Processing buffer {"connection_id":124829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:27:08] local.INFO: IMEI packet received {"connection_id":124829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":124829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:27:09] local.INFO: TCP Data received {"connection_id":124829,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:27:09] local.INFO: Processing buffer {"connection_id":124829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:27:09] local.INFO: Packet analysis {"connection_id":124829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:27:09] local.INFO: Extracted packet for processing {"connection_id":124829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:27:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 22:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561410304001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783443310000,"timestamp_ms":1783443310000,"timestamp_seconds":1783443310,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8145b0"} 
[2026-07-07 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-07-07 22:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 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-07-07 22:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561410304001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561410304001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:27:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:27:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561410304001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":124829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:27:09] local.INFO: GPS data processed {"connection_id":124829,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:27:09] local.INFO: Acknowledgment sent {"connection_id":124829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:27:13] local.INFO: TCP Data received {"connection_id":124829,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:27:13] local.INFO: Processing buffer {"connection_id":124829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:27:13] local.INFO: Packet analysis {"connection_id":124829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:27:13] local.INFO: Extracted packet for processing {"connection_id":124829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:27:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561410304001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783443310000,"timestamp_ms":1783443310000,"timestamp_seconds":1783443310,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8145b0"} 
[2026-07-07 22:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:27: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-07-07 22:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561410304001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561410304001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:27:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:27:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561410304001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":124829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:27:13] local.INFO: GPS data processed {"connection_id":124829,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:27:13] local.INFO: Acknowledgment sent {"connection_id":124829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:27:40] local.INFO: TCP Data received {"connection_id":124828,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8218a0012d7504c005f493c00009000e31..."} 
[2026-07-07 22:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8218a0012d7504c005f493c00009000e31..."} 
[2026-07-07 22:27:40] local.INFO: Processing buffer {"connection_id":124828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8218a0012d7504c005f493c00009000e31..."} 
[2026-07-07 22:27:40] local.INFO: Packet analysis {"connection_id":124828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d82"} 
[2026-07-07 22:27:40] local.INFO: Extracted packet for processing {"connection_id":124828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d82"} 
[2026-07-07 22:27:40] local.INFO: GPS Element Parsed {"raw_longitude":762643648,"raw_latitude":99914688,"longitude_deg":76.2643648,"latitude_deg":9.9914688,"altitude":9,"angle":14,"satellites":49,"speed":25,"hex_longitude":"2d7504c0","hex_latitude":"05f493c0","is_valid_coordinates":true} 
[2026-07-07 22:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561496576001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132262375419019264,"note":"Value kept but may cause issues"} 
[2026-07-07 22:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8443334533223176192,"note":"Value kept but may cause issues"} 
[2026-07-07 22:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783443364000,"timestamp_ms":1783443364000,"timestamp_seconds":1783443364,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8218a0"} 
[2026-07-07 22:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:27: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-07-07 22: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-07 22:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561496576001,"66":27908,"101":206,"9":24832,"24":25,"16":132262375419019264,"45":8443334533223176192},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,9,24,16,45]} 
[2026-07-07 22:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561496576001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:27:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 22:27:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132262375419019264,"km_value":132262375419019.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8443334533223176192,"description":"Unknown IO ID 45"} 
[2026-07-07 22:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561496576001,"power":27908,"unknown_101":206,"unknown_9":24832,"ignition":25,"odometer":null,"unknown_45":8443334533223176192}} 
[2026-07-07 22:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":124828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448084,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:27:41] local.INFO: GPS data processed {"connection_id":124828,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:27:41] local.INFO: Acknowledgment sent {"connection_id":124828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:27:58] local.INFO: TCP Data received {"connection_id":126903,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:27:58] local.INFO: Processing buffer {"connection_id":126903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:27:58] local.INFO: IMEI packet received {"connection_id":126903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":126903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:28:03] local.INFO: TCP Data received {"connection_id":126903,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:28:03] local.INFO: Processing buffer {"connection_id":126903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:28:03] local.INFO: IMEI packet received {"connection_id":126903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":126903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:28:03] local.INFO: TCP Data received {"connection_id":125650,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:28:03] local.INFO: Processing buffer {"connection_id":125650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:28:03] local.INFO: IMEI packet received {"connection_id":125650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":125650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:28:03] local.INFO: TCP Data received {"connection_id":125650,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:28:03] local.INFO: Processing buffer {"connection_id":125650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:28:03] local.INFO: IMEI packet received {"connection_id":125650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":125650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:28:04] local.INFO: TCP Data received {"connection_id":126903,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:28:04] local.INFO: Processing buffer {"connection_id":126903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:28:04] local.INFO: Packet analysis {"connection_id":126903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:28:04] local.INFO: Extracted packet for processing {"connection_id":126903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:28:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561410304001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783443310000,"timestamp_ms":1783443310000,"timestamp_seconds":1783443310,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8145b0"} 
[2026-07-07 22:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561410304001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561410304001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:28:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:28:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561410304001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":126903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:28:04] local.INFO: GPS data processed {"connection_id":126903,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:28:04] local.INFO: Acknowledgment sent {"connection_id":126903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:28:10] local.INFO: TCP Data received {"connection_id":125650,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:28:10] local.INFO: Processing buffer {"connection_id":125650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:28:10] local.INFO: IMEI packet received {"connection_id":125650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":125650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:28:10] local.INFO: TCP Data received {"connection_id":125650,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d822c28012d75058005f4a1100009016031..."} 
[2026-07-07 22:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d822c28012d75058005f4a1100009016031..."} 
[2026-07-07 22:28:10] local.INFO: Processing buffer {"connection_id":125650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d822c28012d75058005f4a1100009016031..."} 
[2026-07-07 22:28:10] local.INFO: Packet analysis {"connection_id":125650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d82"} 
[2026-07-07 22:28:10] local.INFO: Extracted packet for processing {"connection_id":125650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d82"} 
[2026-07-07 22:28:10] local.INFO: GPS Element Parsed {"raw_longitude":762643840,"raw_latitude":99918096,"longitude_deg":76.264384,"latitude_deg":9.9918096,"altitude":9,"angle":352,"satellites":49,"speed":30,"hex_longitude":"2d750580","hex_latitude":"05f4a110","is_valid_coordinates":true} 
[2026-07-07 22:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561501184001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132262542922743808,"note":"Value kept but may cause issues"} 
[2026-07-07 22:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8432075534155104256,"note":"Value kept but may cause issues"} 
[2026-07-07 22:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783443369000,"timestamp_ms":1783443369000,"timestamp_seconds":1783443369,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d822c28"} 
[2026-07-07 22:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:28: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-07-07 22: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 22:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561501184001,"66":28104,"101":206,"9":24832,"24":30,"16":132262542922743808,"45":8432075534155104256},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,9,24,16,45]} 
[2026-07-07 22:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561501184001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:28:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-07 22:28:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132262542922743808,"km_value":132262542922743.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8432075534155104256,"description":"Unknown IO ID 45"} 
[2026-07-07 22:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561501184001,"power":28104,"unknown_101":206,"unknown_9":24832,"ignition":30,"odometer":null,"unknown_45":8432075534155104256}} 
[2026-07-07 22:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":125650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448086,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:28:11] local.INFO: GPS data processed {"connection_id":125650,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:28:11] local.INFO: Acknowledgment sent {"connection_id":125650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:28:35] local.INFO: TCP Data received {"connection_id":126903,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:28:35] local.INFO: Processing buffer {"connection_id":126903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:28:35] local.INFO: Packet analysis {"connection_id":126903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:28:35] local.INFO: Extracted packet for processing {"connection_id":126903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:28:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561410304001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783443310000,"timestamp_ms":1783443310000,"timestamp_seconds":1783443310,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8145b0"} 
[2026-07-07 22:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561410304001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561410304001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:28:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:28:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561410304001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":126903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:28:35] local.INFO: GPS data processed {"connection_id":126903,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:28:35] local.INFO: Acknowledgment sent {"connection_id":126903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:28:42] local.INFO: TCP Data received {"connection_id":125650,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d839388012d74708005f621a0000a01572e..."} 
[2026-07-07 22:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d839388012d74708005f621a0000a01572e..."} 
[2026-07-07 22:28:42] local.INFO: Processing buffer {"connection_id":125650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d839388012d74708005f621a0000a01572e..."} 
[2026-07-07 22:28:42] local.INFO: Packet analysis {"connection_id":125650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d83"} 
[2026-07-07 22:28:42] local.INFO: Extracted packet for processing {"connection_id":125650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d83"} 
[2026-07-07 22:28:42] local.INFO: GPS Element Parsed {"raw_longitude":762605696,"raw_latitude":100016544,"longitude_deg":76.2605696,"latitude_deg":10.0016544,"altitude":10,"angle":343,"satellites":46,"speed":45,"hex_longitude":"2d747080","hex_latitude":"05f621a0","is_valid_coordinates":true} 
[2026-07-07 22:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561523968001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132267705473433600,"note":"Value kept but may cause issues"} 
[2026-07-07 22:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8393583831113703424,"note":"Value kept but may cause issues"} 
[2026-07-07 22:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783443461000,"timestamp_ms":1783443461000,"timestamp_seconds":1783443461,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d839388"} 
[2026-07-07 22:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 22:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561523968001,"66":27876,"102":206,"9":24832,"24":45,"16":132267705473433600,"45":8393583831113703424},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-07-07 22:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561523968001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:28:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-07 22:28:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132267705473433600,"km_value":132267705473433.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8393583831113703424,"description":"Unknown IO ID 45"} 
[2026-07-07 22:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561523968001,"power":27876,"unknown_102":206,"unknown_9":24832,"ignition":45,"odometer":null,"unknown_45":8393583831113703424}} 
[2026-07-07 22:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":125650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448088,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:28:42] local.INFO: GPS data processed {"connection_id":125650,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:28:42] local.INFO: Acknowledgment sent {"connection_id":125650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:28:58] local.INFO: TCP Data received {"connection_id":125651,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:28:58] local.INFO: Processing buffer {"connection_id":125651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:28:58] local.INFO: IMEI packet received {"connection_id":125651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":125651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:29:03] local.INFO: TCP Data received {"connection_id":125651,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:29:03] local.INFO: Processing buffer {"connection_id":125651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:29:03] local.INFO: IMEI packet received {"connection_id":125651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":125651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:29:04] local.INFO: TCP Data received {"connection_id":125651,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:29:04] local.INFO: Processing buffer {"connection_id":125651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:29:04] local.INFO: Packet analysis {"connection_id":125651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:29:04] local.INFO: Extracted packet for processing {"connection_id":125651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:29:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561410304001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783443310000,"timestamp_ms":1783443310000,"timestamp_seconds":1783443310,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8145b0"} 
[2026-07-07 22:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561410304001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561410304001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:29:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:29:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561410304001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":125651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:29:04] local.INFO: GPS data processed {"connection_id":125651,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:29:04] local.INFO: Acknowledgment sent {"connection_id":125651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:29:09] local.INFO: TCP Data received {"connection_id":124924,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:29:09] local.INFO: Processing buffer {"connection_id":124924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:29:09] local.INFO: IMEI packet received {"connection_id":124924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":124924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:29:17] local.INFO: TCP Data received {"connection_id":124924,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:29:17] local.INFO: Processing buffer {"connection_id":124924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:29:17] local.INFO: IMEI packet received {"connection_id":124924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":124924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:29:21] local.INFO: TCP Data received {"connection_id":124924,"ip":"117.224.129.116","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 22:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124924,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 22:29:21] local.INFO: Processing buffer {"connection_id":124924,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 22:29:21] local.INFO: IMEI packet received {"connection_id":124924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":124924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:29:35] local.INFO: TCP Data received {"connection_id":125651,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:29:35] local.INFO: Processing buffer {"connection_id":125651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:29:35] local.INFO: Packet analysis {"connection_id":125651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:29:35] local.INFO: Extracted packet for processing {"connection_id":125651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:29:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 22:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561410304001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783443310000,"timestamp_ms":1783443310000,"timestamp_seconds":1783443310,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8145b0"} 
[2026-07-07 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-07-07 22:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 22:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 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-07-07 22:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561410304001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561410304001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:29:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:29:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561410304001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":125651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:29:35] local.INFO: GPS data processed {"connection_id":125651,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:29:35] local.INFO: Acknowledgment sent {"connection_id":125651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:29:57] local.INFO: TCP Data received {"connection_id":124925,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:29:57] local.INFO: Processing buffer {"connection_id":124925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:29:57] local.INFO: IMEI packet received {"connection_id":124925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":124925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:30:02] local.INFO: TCP Data received {"connection_id":124925,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:30:02] local.INFO: Processing buffer {"connection_id":124925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:30:02] local.INFO: IMEI packet received {"connection_id":124925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":124925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:30:03] local.INFO: TCP Data received {"connection_id":124925,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:30:03] local.INFO: Processing buffer {"connection_id":124925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:30:03] local.INFO: Packet analysis {"connection_id":124925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:30:03] local.INFO: Extracted packet for processing {"connection_id":124925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:30:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561410304001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783443310000,"timestamp_ms":1783443310000,"timestamp_seconds":1783443310,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8145b0"} 
[2026-07-07 22:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561410304001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561410304001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:30:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:30:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561410304001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":124925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:30:03] local.INFO: GPS data processed {"connection_id":124925,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:30:03] local.INFO: Acknowledgment sent {"connection_id":124925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:30:34] local.INFO: TCP Data received {"connection_id":124925,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:30:34] local.INFO: Processing buffer {"connection_id":124925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8145b0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:30:34] local.INFO: Packet analysis {"connection_id":124925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:30:34] local.INFO: Extracted packet for processing {"connection_id":124925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d81"} 
[2026-07-07 22:30:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561410304001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783443310000,"timestamp_ms":1783443310000,"timestamp_seconds":1783443310,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8145b0"} 
[2026-07-07 22:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561410304001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561410304001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:30:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:30:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561410304001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":124925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:30:34] local.INFO: GPS data processed {"connection_id":124925,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:30:34] local.INFO: Acknowledgment sent {"connection_id":124925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:30:57] local.INFO: TCP Data received {"connection_id":126904,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:30:57] local.INFO: Processing buffer {"connection_id":126904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:30:57] local.INFO: IMEI packet received {"connection_id":126904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":126904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:31:02] local.INFO: TCP Data received {"connection_id":126904,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:31:02] local.INFO: Processing buffer {"connection_id":126904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:31:02] local.INFO: IMEI packet received {"connection_id":126904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":126904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:31:03] local.INFO: TCP Data received {"connection_id":126904,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:31:03] local.INFO: Processing buffer {"connection_id":126904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:31:03] local.INFO: Packet analysis {"connection_id":126904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d85"} 
[2026-07-07 22:31:03] local.INFO: Extracted packet for processing {"connection_id":126904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d85"} 
[2026-07-07 22:31:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561487360001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783443611000,"timestamp_ms":1783443611000,"timestamp_seconds":1783443611,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d85dd78"} 
[2026-07-07 22:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561487360001,"66":25560,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561487360001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:31:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:31:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561487360001,"power":25560,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":126904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:31:03] local.INFO: GPS data processed {"connection_id":126904,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:31:03] local.INFO: Acknowledgment sent {"connection_id":126904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:31:34] local.INFO: TCP Data received {"connection_id":126904,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:31:34] local.INFO: Processing buffer {"connection_id":126904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:31:34] local.INFO: Packet analysis {"connection_id":126904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d85"} 
[2026-07-07 22:31:34] local.INFO: Extracted packet for processing {"connection_id":126904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d85"} 
[2026-07-07 22:31:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561487360001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783443611000,"timestamp_ms":1783443611000,"timestamp_seconds":1783443611,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d85dd78"} 
[2026-07-07 22:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561487360001,"66":25560,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561487360001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:31:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:31:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561487360001,"power":25560,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":126904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:31:34] local.INFO: GPS data processed {"connection_id":126904,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:31:34] local.INFO: Acknowledgment sent {"connection_id":126904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:31:58] local.INFO: TCP Data received {"connection_id":125652,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:31:58] local.INFO: Processing buffer {"connection_id":125652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:31:58] local.INFO: IMEI packet received {"connection_id":125652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":125652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:32:03] local.INFO: TCP Data received {"connection_id":125652,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:32:03] local.INFO: Processing buffer {"connection_id":125652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:32:03] local.INFO: IMEI packet received {"connection_id":125652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":125652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:32:04] local.INFO: TCP Data received {"connection_id":125652,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:32:04] local.INFO: Processing buffer {"connection_id":125652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:32:04] local.INFO: Packet analysis {"connection_id":125652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d85"} 
[2026-07-07 22:32:04] local.INFO: Extracted packet for processing {"connection_id":125652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d85"} 
[2026-07-07 22:32:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561487360001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783443611000,"timestamp_ms":1783443611000,"timestamp_seconds":1783443611,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d85dd78"} 
[2026-07-07 22:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561487360001,"66":25560,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561487360001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:32:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:32:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561487360001,"power":25560,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":125652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:32:04] local.INFO: GPS data processed {"connection_id":125652,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:32:04] local.INFO: Acknowledgment sent {"connection_id":125652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:32:35] local.INFO: TCP Data received {"connection_id":125652,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:32:35] local.INFO: Processing buffer {"connection_id":125652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:32:35] local.INFO: Packet analysis {"connection_id":125652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d85"} 
[2026-07-07 22:32:35] local.INFO: Extracted packet for processing {"connection_id":125652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d85"} 
[2026-07-07 22:32:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561487360001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783443611000,"timestamp_ms":1783443611000,"timestamp_seconds":1783443611,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d85dd78"} 
[2026-07-07 22:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561487360001,"66":25560,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561487360001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:32:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:32:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561487360001,"power":25560,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":125652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:32:35] local.INFO: GPS data processed {"connection_id":125652,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:32:35] local.INFO: Acknowledgment sent {"connection_id":125652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:32:58] local.INFO: TCP Data received {"connection_id":126906,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:32:58] local.INFO: Processing buffer {"connection_id":126906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:32:58] local.INFO: IMEI packet received {"connection_id":126906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":126906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:33:03] local.INFO: TCP Data received {"connection_id":126906,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:33:03] local.INFO: Processing buffer {"connection_id":126906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:33:03] local.INFO: IMEI packet received {"connection_id":126906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":126906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:33:04] local.INFO: TCP Data received {"connection_id":126906,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:33:04] local.INFO: Processing buffer {"connection_id":126906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:33:04] local.INFO: Packet analysis {"connection_id":126906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d85"} 
[2026-07-07 22:33:04] local.INFO: Extracted packet for processing {"connection_id":126906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d85"} 
[2026-07-07 22:33:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561487360001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783443611000,"timestamp_ms":1783443611000,"timestamp_seconds":1783443611,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d85dd78"} 
[2026-07-07 22:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561487360001,"66":25560,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561487360001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:33:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:33:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561487360001,"power":25560,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":126906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:33:04] local.INFO: GPS data processed {"connection_id":126906,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:33:04] local.INFO: Acknowledgment sent {"connection_id":126906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:33:35] local.INFO: TCP Data received {"connection_id":126906,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:33:35] local.INFO: Processing buffer {"connection_id":126906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:33:35] local.INFO: Packet analysis {"connection_id":126906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d85"} 
[2026-07-07 22:33:35] local.INFO: Extracted packet for processing {"connection_id":126906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d85"} 
[2026-07-07 22:33:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561487360001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783443611000,"timestamp_ms":1783443611000,"timestamp_seconds":1783443611,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d85dd78"} 
[2026-07-07 22:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561487360001,"66":25560,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561487360001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:33:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:33:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561487360001,"power":25560,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":126906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:33:35] local.INFO: GPS data processed {"connection_id":126906,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:33:35] local.INFO: Acknowledgment sent {"connection_id":126906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:33:57] local.INFO: TCP Data received {"connection_id":124926,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:33:57] local.INFO: Processing buffer {"connection_id":124926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:33:57] local.INFO: IMEI packet received {"connection_id":124926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":124926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:34:03] local.INFO: TCP Data received {"connection_id":124926,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:34:03] local.INFO: Processing buffer {"connection_id":124926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:34:03] local.INFO: IMEI packet received {"connection_id":124926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":124926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:34:04] local.INFO: TCP Data received {"connection_id":124926,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:34:04] local.INFO: Processing buffer {"connection_id":124926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:34:04] local.INFO: Packet analysis {"connection_id":124926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d85"} 
[2026-07-07 22:34:04] local.INFO: Extracted packet for processing {"connection_id":124926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d85"} 
[2026-07-07 22:34:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561487360001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783443611000,"timestamp_ms":1783443611000,"timestamp_seconds":1783443611,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d85dd78"} 
[2026-07-07 22:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561487360001,"66":25560,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561487360001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:34:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:34:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561487360001,"power":25560,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":124926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:34:04] local.INFO: GPS data processed {"connection_id":124926,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:34:04] local.INFO: Acknowledgment sent {"connection_id":124926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:34:18] local.INFO: TCP Data received {"connection_id":124927,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:34:18] local.INFO: Processing buffer {"connection_id":124927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:34:18] local.INFO: IMEI packet received {"connection_id":124927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":124927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:34:19] local.INFO: TCP Data received {"connection_id":124927,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d885e18012d72fec005fac3180008001c2f..."} 
[2026-07-07 22:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d885e18012d72fec005fac3180008001c2f..."} 
[2026-07-07 22:34:19] local.INFO: Processing buffer {"connection_id":124927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d885e18012d72fec005fac3180008001c2f..."} 
[2026-07-07 22:34:19] local.INFO: Packet analysis {"connection_id":124927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d88"} 
[2026-07-07 22:34:19] local.INFO: Extracted packet for processing {"connection_id":124927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d88"} 
[2026-07-07 22:34:19] local.INFO: GPS Element Parsed {"raw_longitude":762511040,"raw_latitude":100320024,"longitude_deg":76.251104,"latitude_deg":10.0320024,"altitude":8,"angle":28,"satellites":47,"speed":41,"hex_longitude":"2d72fec0","hex_latitude":"05fac318","is_valid_coordinates":true} 
[2026-07-07 22:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561603840001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132278915338076160,"note":"Value kept but may cause issues"} 
[2026-07-07 22:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8282049371669866496,"note":"Value kept but may cause issues"} 
[2026-07-07 22:34:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,9,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 22:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783443775000,"timestamp_ms":1783443775000,"timestamp_seconds":1783443775,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d885e18"} 
[2026-07-07 22:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-07 22:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561603840001,"66":27930,"24":41,"9":24832,"16":132278915338076160,"45":8282049371669866496},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,9,16,45]} 
[2026-07-07 22:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561603840001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:34:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-07 22:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132278915338076160,"km_value":132278915338076.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8282049371669866496,"description":"Unknown IO ID 45"} 
[2026-07-07 22:34:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456561603840001,"power":27930,"ignition":41,"unknown_9":24832,"odometer":null,"unknown_45":8282049371669866496}} 
[2026-07-07 22:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":124927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448100,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:34:19] local.INFO: GPS data processed {"connection_id":124927,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:34:19] local.INFO: Acknowledgment sent {"connection_id":124927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:34:35] local.INFO: TCP Data received {"connection_id":124926,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:34:35] local.INFO: Processing buffer {"connection_id":124926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:34:35] local.INFO: Packet analysis {"connection_id":124926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d85"} 
[2026-07-07 22:34:35] local.INFO: Extracted packet for processing {"connection_id":124926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d85"} 
[2026-07-07 22:34:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561487360001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783443611000,"timestamp_ms":1783443611000,"timestamp_seconds":1783443611,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d85dd78"} 
[2026-07-07 22:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561487360001,"66":25560,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561487360001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:34:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:34:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561487360001,"power":25560,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":124926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:34:35] local.INFO: GPS data processed {"connection_id":124926,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:34:35] local.INFO: Acknowledgment sent {"connection_id":124926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:34:57] local.INFO: TCP Data received {"connection_id":124832,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:34:57] local.INFO: Processing buffer {"connection_id":124832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:34:57] local.INFO: IMEI packet received {"connection_id":124832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":124832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:35:03] local.INFO: TCP Data received {"connection_id":124832,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:35:03] local.INFO: Processing buffer {"connection_id":124832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:35:03] local.INFO: IMEI packet received {"connection_id":124832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":124832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:35:03] local.INFO: TCP Data received {"connection_id":125653,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:35:03] local.INFO: Processing buffer {"connection_id":125653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:35:03] local.INFO: IMEI packet received {"connection_id":125653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":125653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:35:04] local.INFO: TCP Data received {"connection_id":124832,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:35:04] local.INFO: Processing buffer {"connection_id":124832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:35:04] local.INFO: Packet analysis {"connection_id":124832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d85"} 
[2026-07-07 22:35:04] local.INFO: Extracted packet for processing {"connection_id":124832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d85"} 
[2026-07-07 22:35:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561487360001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783443611000,"timestamp_ms":1783443611000,"timestamp_seconds":1783443611,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d85dd78"} 
[2026-07-07 22:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561487360001,"66":25560,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561487360001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:35:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:35:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561487360001,"power":25560,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":124832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:35:04] local.INFO: GPS data processed {"connection_id":124832,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:35:04] local.INFO: Acknowledgment sent {"connection_id":124832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:35:10] local.INFO: TCP Data received {"connection_id":125653,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:35:10] local.INFO: Processing buffer {"connection_id":125653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:35:10] local.INFO: IMEI packet received {"connection_id":125653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":125653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:35:15] local.INFO: TCP Data received {"connection_id":125653,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:35:15] local.INFO: Processing buffer {"connection_id":125653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:35:15] local.INFO: IMEI packet received {"connection_id":125653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":125653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:35:17] local.INFO: TCP Data received {"connection_id":125653,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d887d58012d73130005fae0d0000700262f..."} 
[2026-07-07 22:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d887d58012d73130005fae0d0000700262f..."} 
[2026-07-07 22:35:17] local.INFO: Processing buffer {"connection_id":125653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d887d58012d73130005fae0d0000700262f..."} 
[2026-07-07 22:35:17] local.INFO: Packet analysis {"connection_id":125653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d88"} 
[2026-07-07 22:35:17] local.INFO: Extracted packet for processing {"connection_id":125653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d88"} 
[2026-07-07 22:35:17] local.INFO: GPS Element Parsed {"raw_longitude":762516224,"raw_latitude":100327632,"longitude_deg":76.2516224,"latitude_deg":10.0327632,"altitude":7,"angle":38,"satellites":47,"speed":49,"hex_longitude":"2d731300","hex_latitude":"05fae0d0","is_valid_coordinates":true} 
[2026-07-07 22:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561606400001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132279362014674944,"note":"Value kept but may cause issues"} 
[2026-07-07 22:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8286271496322750464,"note":"Value kept but may cause issues"} 
[2026-07-07 22:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783443783000,"timestamp_ms":1783443783000,"timestamp_seconds":1783443783,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d887d58"} 
[2026-07-07 22:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 22:35: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-07-07 22:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":125653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":125653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":125653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561606400001,"66":27800,"105":206,"8":65280,"24":49,"16":132279362014674944,"45":8286271496322750464},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,8,24,16,45]} 
[2026-07-07 22:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561606400001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:35:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-07 22:35:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132279362014674944,"km_value":132279362014674.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8286271496322750464,"description":"Unknown IO ID 45"} 
[2026-07-07 22:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561606400001,"power":27800,"unknown_105":206,"unknown_8":65280,"ignition":49,"odometer":null,"unknown_45":8286271496322750464}} 
[2026-07-07 22:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":125653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448103,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:35:17] local.INFO: GPS data processed {"connection_id":125653,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:35:17] local.INFO: Acknowledgment sent {"connection_id":125653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:35:18] local.INFO: TCP Data received {"connection_id":125653,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d889c98012d732e4005fafcc00008003031..."} 
[2026-07-07 22:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d889c98012d732e4005fafcc00008003031..."} 
[2026-07-07 22:35:18] local.INFO: Processing buffer {"connection_id":125653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d889c98012d732e4005fafcc00008003031..."} 
[2026-07-07 22:35:18] local.INFO: Packet analysis {"connection_id":125653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d88"} 
[2026-07-07 22:35:18] local.INFO: Extracted packet for processing {"connection_id":125653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d88"} 
[2026-07-07 22:35:18] local.INFO: GPS Element Parsed {"raw_longitude":762523200,"raw_latitude":100334784,"longitude_deg":76.25232,"latitude_deg":10.0334784,"altitude":8,"angle":48,"satellites":49,"speed":49,"hex_longitude":"2d732e40","hex_latitude":"05fafcc0","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561608448001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132279838756044800,"note":"Value kept but may cause issues"} 
[2026-07-07 22:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8291971364603088896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783443791000,"timestamp_ms":1783443791000,"timestamp_seconds":1783443791,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d889c98"} 
[2026-07-07 22:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 22:35: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-07-07 22: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-07-07 22:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":125653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":125653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":125653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561608448001,"66":27930,"105":206,"8":65280,"24":49,"16":132279838756044800,"45":8291971364603088896},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,8,24,16,45]} 
[2026-07-07 22:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561608448001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:35:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-07 22:35:18] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132279838756044800,"km_value":132279838756044.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8291971364603088896,"description":"Unknown IO ID 45"} 
[2026-07-07 22:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561608448001,"power":27930,"unknown_105":206,"unknown_8":65280,"ignition":49,"odometer":null,"unknown_45":8291971364603088896}} 
[2026-07-07 22:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":125653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448104,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:35:18] local.INFO: GPS data processed {"connection_id":125653,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:35:18] local.INFO: Acknowledgment sent {"connection_id":125653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:35:35] local.INFO: TCP Data received {"connection_id":124832,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:35:35] local.INFO: Processing buffer {"connection_id":124832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d85dd78012dc5eb400537d5a0003401442e..."} 
[2026-07-07 22:35:35] local.INFO: Packet analysis {"connection_id":124832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d85"} 
[2026-07-07 22:35:35] local.INFO: Extracted packet for processing {"connection_id":124832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d85"} 
[2026-07-07 22:35:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561487360001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783443611000,"timestamp_ms":1783443611000,"timestamp_seconds":1783443611,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d85dd78"} 
[2026-07-07 22:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561487360001,"66":25560,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561487360001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:35:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:35:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561487360001,"power":25560,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":124832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:35:35] local.INFO: GPS data processed {"connection_id":124832,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:35:35] local.INFO: Acknowledgment sent {"connection_id":124832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:36:02] local.INFO: TCP Data received {"connection_id":125654,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:36:02] local.INFO: Processing buffer {"connection_id":125654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:36:02] local.INFO: IMEI packet received {"connection_id":125654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":125654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:36:06] local.INFO: TCP Data received {"connection_id":125655,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:36:06] local.INFO: Processing buffer {"connection_id":125655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:36:06] local.INFO: IMEI packet received {"connection_id":125655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":125655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:36:07] local.INFO: TCP Data received {"connection_id":125655,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:36:07] local.INFO: Processing buffer {"connection_id":125655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:36:07] local.INFO: IMEI packet received {"connection_id":125655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":125655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:36:07] local.INFO: TCP Data received {"connection_id":125654,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:36:07] local.INFO: Processing buffer {"connection_id":125654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:36:07] local.INFO: IMEI packet received {"connection_id":125654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":125654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:36:08] local.INFO: TCP Data received {"connection_id":125655,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8a0fb0012d747d4005fbf4180009003431..."} 
[2026-07-07 22:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8a0fb0012d747d4005fbf4180009003431..."} 
[2026-07-07 22:36:08] local.INFO: Processing buffer {"connection_id":125655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8a0fb0012d747d4005fbf4180009003431..."} 
[2026-07-07 22:36:08] local.INFO: Packet analysis {"connection_id":125655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:36:08] local.INFO: Extracted packet for processing {"connection_id":125655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:36:08] local.INFO: GPS Element Parsed {"raw_longitude":762608960,"raw_latitude":100398104,"longitude_deg":76.260896,"latitude_deg":10.0398104,"altitude":9,"angle":52,"satellites":49,"speed":45,"hex_longitude":"2d747d40","hex_latitude":"05fbf418","is_valid_coordinates":true} 
[2026-07-07 22:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561632768001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132284966946996224,"note":"Value kept but may cause issues"} 
[2026-07-07 22:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8385772900608493568,"note":"Value kept but may cause issues"} 
[2026-07-07 22:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783443886000,"timestamp_ms":1783443886000,"timestamp_seconds":1783443886,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8a0fb0"} 
[2026-07-07 22:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 22:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561632768001,"66":27843,"236":206,"8":65280,"24":45,"16":132284966946996224,"45":8385772900608493568},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,8,24,16,45]} 
[2026-07-07 22:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561632768001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:36:08] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-07 22:36:08] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132284966946996224,"km_value":132284966946996.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8385772900608493568,"description":"Unknown IO ID 45"} 
[2026-07-07 22:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561632768001,"power":27843,"unknown_236":206,"unknown_8":65280,"ignition":45,"odometer":null,"unknown_45":8385772900608493568}} 
[2026-07-07 22:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":125655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448106,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:36:08] local.INFO: GPS data processed {"connection_id":125655,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:36:08] local.INFO: Acknowledgment sent {"connection_id":125655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:36:08] local.INFO: TCP Data received {"connection_id":125654,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:36:08] local.INFO: Processing buffer {"connection_id":125654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:36:08] local.INFO: Packet analysis {"connection_id":125654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:36:08] local.INFO: Extracted packet for processing {"connection_id":125654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:36:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561564416001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783443912000,"timestamp_ms":1783443912000,"timestamp_seconds":1783443912,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8a7540"} 
[2026-07-07 22:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 22:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561564416001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561564416001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:36:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:36:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561564416001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":125654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:36:08] local.INFO: GPS data processed {"connection_id":125654,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:36:08] local.INFO: Acknowledgment sent {"connection_id":125654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:36:09] local.INFO: TCP Data received {"connection_id":125655,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8a2ef0012d749a0005fc09100008003332..."} 
[2026-07-07 22:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8a2ef0012d749a0005fc09100008003332..."} 
[2026-07-07 22:36:09] local.INFO: Processing buffer {"connection_id":125655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8a2ef0012d749a0005fc09100008003332..."} 
[2026-07-07 22:36:09] local.INFO: Packet analysis {"connection_id":125655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:36:09] local.INFO: Extracted packet for processing {"connection_id":125655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:36:09] local.INFO: GPS Element Parsed {"raw_longitude":762616320,"raw_latitude":100403472,"longitude_deg":76.261632,"latitude_deg":10.0403472,"altitude":8,"angle":51,"satellites":50,"speed":47,"hex_longitude":"2d749a00","hex_latitude":"05fc0910","is_valid_coordinates":true} 
[2026-07-07 22:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561634816001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132285405033660416,"note":"Value kept but may cause issues"} 
[2026-07-07 22:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8393935674934564864,"note":"Value kept but may cause issues"} 
[2026-07-07 22:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783443894000,"timestamp_ms":1783443894000,"timestamp_seconds":1783443894,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8a2ef0"} 
[2026-07-07 22:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 22:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561634816001,"66":28006,"236":206,"8":65280,"24":47,"16":132285405033660416,"45":8393935674934564864},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,8,24,16,45]} 
[2026-07-07 22:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561634816001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:36:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-07 22:36:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132285405033660416,"km_value":132285405033660.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8393935674934564864,"description":"Unknown IO ID 45"} 
[2026-07-07 22:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561634816001,"power":28006,"unknown_236":206,"unknown_8":65280,"ignition":47,"odometer":null,"unknown_45":8393935674934564864}} 
[2026-07-07 22:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":125655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448108,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:36:09] local.INFO: GPS data processed {"connection_id":125655,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:36:09] local.INFO: Acknowledgment sent {"connection_id":125655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:36:39] local.INFO: TCP Data received {"connection_id":125654,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:36:39] local.INFO: Processing buffer {"connection_id":125654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:36:39] local.INFO: Packet analysis {"connection_id":125654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:36:39] local.INFO: Extracted packet for processing {"connection_id":125654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:36:39] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561564416001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783443912000,"timestamp_ms":1783443912000,"timestamp_seconds":1783443912,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8a7540"} 
[2026-07-07 22:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 22:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561564416001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561564416001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:36:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:36:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561564416001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":125654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:36:39] local.INFO: GPS data processed {"connection_id":125654,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:36:39] local.INFO: Acknowledgment sent {"connection_id":125654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:36:48] local.INFO: TCP Data received {"connection_id":125655,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8a4e30012d74b58005fc22d80009002e31..."} 
[2026-07-07 22:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8a4e30012d74b58005fc22d80009002e31..."} 
[2026-07-07 22:36:48] local.INFO: Processing buffer {"connection_id":125655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8a4e30012d74b58005fc22d80009002e31..."} 
[2026-07-07 22:36:48] local.INFO: Packet analysis {"connection_id":125655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:36:48] local.INFO: Extracted packet for processing {"connection_id":125655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:36:48] local.INFO: GPS Element Parsed {"raw_longitude":762623360,"raw_latitude":100410072,"longitude_deg":76.262336,"latitude_deg":10.0410072,"altitude":9,"angle":46,"satellites":49,"speed":47,"hex_longitude":"2d74b580","hex_latitude":"05fc22d8","is_valid_coordinates":true} 
[2026-07-07 22:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561636864001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132285868890128384,"note":"Value kept but may cause issues"} 
[2026-07-07 22:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8402028080516370432,"note":"Value kept but may cause issues"} 
[2026-07-07 22:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783443902000,"timestamp_ms":1783443902000,"timestamp_seconds":1783443902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8a4e30"} 
[2026-07-07 22:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22: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":102,"data_length":795,"current_offset":136} 
[2026-07-07 22:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":125655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":125655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":125655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561636864001,"66":27800,"236":206,"8":65280,"24":47,"16":132285868890128384,"45":8402028080516370432},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,8,24,16,45]} 
[2026-07-07 22:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561636864001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:36:48] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-07 22:36:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132285868890128384,"km_value":132285868890128.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8402028080516370432,"description":"Unknown IO ID 45"} 
[2026-07-07 22:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561636864001,"power":27800,"unknown_236":206,"unknown_8":65280,"ignition":47,"odometer":null,"unknown_45":8402028080516370432}} 
[2026-07-07 22:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":125655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448110,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:36:48] local.INFO: GPS data processed {"connection_id":125655,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:36:48] local.INFO: Acknowledgment sent {"connection_id":125655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:36:58] local.INFO: TCP Data received {"connection_id":126908,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:36:58] local.INFO: Processing buffer {"connection_id":126908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:36:58] local.INFO: IMEI packet received {"connection_id":126908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":126908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:36:58] local.INFO: TCP Data received {"connection_id":124928,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:36:58] local.INFO: Processing buffer {"connection_id":124928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:36:58] local.INFO: IMEI packet received {"connection_id":124928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":124928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:37:00] local.INFO: TCP Data received {"connection_id":124928,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:37:00] local.INFO: Processing buffer {"connection_id":124928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:37:00] local.INFO: IMEI packet received {"connection_id":124928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":124928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:37:02] local.INFO: TCP Data received {"connection_id":126908,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:37:02] local.INFO: Processing buffer {"connection_id":126908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:37:02] local.INFO: IMEI packet received {"connection_id":126908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":126908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:37:03] local.INFO: TCP Data received {"connection_id":124928,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:37:03] local.INFO: Processing buffer {"connection_id":124928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:37:03] local.INFO: IMEI packet received {"connection_id":124928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":124928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:37:03] local.INFO: TCP Data received {"connection_id":126908,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:37:03] local.INFO: Processing buffer {"connection_id":126908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:37:03] local.INFO: Packet analysis {"connection_id":126908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:37:03] local.INFO: Extracted packet for processing {"connection_id":126908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:37:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561564416001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783443912000,"timestamp_ms":1783443912000,"timestamp_seconds":1783443912,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8a7540"} 
[2026-07-07 22:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 22:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561564416001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561564416001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:37:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:37:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561564416001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":126908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:37:03] local.INFO: GPS data processed {"connection_id":126908,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:37:03] local.INFO: Acknowledgment sent {"connection_id":126908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:37:04] local.INFO: TCP Data received {"connection_id":124928,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8a6d70012d74cfc005fc3c400009002b31..."} 
[2026-07-07 22:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8a6d70012d74cfc005fc3c400009002b31..."} 
[2026-07-07 22:37:04] local.INFO: Processing buffer {"connection_id":124928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8a6d70012d74cfc005fc3c400009002b31..."} 
[2026-07-07 22:37:04] local.INFO: Packet analysis {"connection_id":124928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:37:04] local.INFO: Extracted packet for processing {"connection_id":124928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:37:04] local.INFO: GPS Element Parsed {"raw_longitude":762630080,"raw_latitude":100416576,"longitude_deg":76.263008,"latitude_deg":10.0416576,"altitude":9,"angle":43,"satellites":49,"speed":45,"hex_longitude":"2d74cfc0","hex_latitude":"05fc3c40","is_valid_coordinates":true} 
[2026-07-07 22:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561638912001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132286315566727168,"note":"Value kept but may cause issues"} 
[2026-07-07 22:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8409768642377603072,"note":"Value kept but may cause issues"} 
[2026-07-07 22:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783443910000,"timestamp_ms":1783443910000,"timestamp_seconds":1783443910,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8a6d70"} 
[2026-07-07 22:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 22:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561638912001,"66":27952,"236":206,"8":65280,"24":45,"16":132286315566727168,"45":8409768642377603072},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,8,24,16,45]} 
[2026-07-07 22:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561638912001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:37:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-07 22:37:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132286315566727168,"km_value":132286315566727.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8409768642377603072,"description":"Unknown IO ID 45"} 
[2026-07-07 22:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561638912001,"power":27952,"unknown_236":206,"unknown_8":65280,"ignition":45,"odometer":null,"unknown_45":8409768642377603072}} 
[2026-07-07 22:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":124928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448112,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:37:04] local.INFO: GPS data processed {"connection_id":124928,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:37:04] local.INFO: Acknowledgment sent {"connection_id":124928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:37:35] local.INFO: TCP Data received {"connection_id":126908,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:37:35] local.INFO: Processing buffer {"connection_id":126908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:37:35] local.INFO: Packet analysis {"connection_id":126908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:37:35] local.INFO: Extracted packet for processing {"connection_id":126908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:37:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561564416001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783443912000,"timestamp_ms":1783443912000,"timestamp_seconds":1783443912,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8a7540"} 
[2026-07-07 22:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 22:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561564416001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561564416001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:37:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:37:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561564416001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":126908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:37:35] local.INFO: GPS data processed {"connection_id":126908,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:37:35] local.INFO: Acknowledgment sent {"connection_id":126908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:37:36] local.INFO: TCP Data received {"connection_id":124928,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8a9098012d74e90005fc57000008002730..."} 
[2026-07-07 22:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8a9098012d74e90005fc57000008002730..."} 
[2026-07-07 22:37:36] local.INFO: Processing buffer {"connection_id":124928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8a9098012d74e90005fc57000008002730..."} 
[2026-07-07 22:37:36] local.INFO: Packet analysis {"connection_id":124928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:37:36] local.INFO: Extracted packet for processing {"connection_id":124928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:37:36] local.INFO: GPS Element Parsed {"raw_longitude":762636544,"raw_latitude":100423424,"longitude_deg":76.2636544,"latitude_deg":10.0423424,"altitude":8,"angle":39,"satellites":48,"speed":38,"hex_longitude":"2d74e900","hex_latitude":"05fc5700","is_valid_coordinates":true} 
[2026-07-07 22:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561640960001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132286770833260544,"note":"Value kept but may cause issues"} 
[2026-07-07 22:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8417157360517922816,"note":"Value kept but may cause issues"} 
[2026-07-07 22:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783443919000,"timestamp_ms":1783443919000,"timestamp_seconds":1783443919,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8a9098"} 
[2026-07-07 22:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-07 22:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561640960001,"66":27821,"226":206,"8":65280,"24":38,"16":132286770833260544,"45":8417157360517922816},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,8,24,16,45]} 
[2026-07-07 22:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561640960001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:37:36] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-07 22:37:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132286770833260544,"km_value":132286770833260.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8417157360517922816,"description":"Unknown IO ID 45"} 
[2026-07-07 22:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561640960001,"power":27821,"unknown_226":206,"unknown_8":65280,"ignition":38,"odometer":null,"unknown_45":8417157360517922816}} 
[2026-07-07 22:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":124928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448114,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:37:36] local.INFO: GPS data processed {"connection_id":124928,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:37:36] local.INFO: Acknowledgment sent {"connection_id":124928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:37:57] local.INFO: TCP Data received {"connection_id":126909,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:37:57] local.INFO: Processing buffer {"connection_id":126909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:37:57] local.INFO: IMEI packet received {"connection_id":126909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":126909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:37:59] local.INFO: TCP Data received {"connection_id":125656,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:37:59] local.INFO: Processing buffer {"connection_id":125656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:37:59] local.INFO: IMEI packet received {"connection_id":125656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":125656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:38:03] local.INFO: TCP Data received {"connection_id":126909,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:38:03] local.INFO: Processing buffer {"connection_id":126909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:38:03] local.INFO: IMEI packet received {"connection_id":126909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":126909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:38:03] local.INFO: TCP Data received {"connection_id":125656,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:38:03] local.INFO: Processing buffer {"connection_id":125656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:38:03] local.INFO: IMEI packet received {"connection_id":125656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":125656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:38:04] local.INFO: TCP Data received {"connection_id":126909,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:38:04] local.INFO: Processing buffer {"connection_id":126909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:38:04] local.INFO: Packet analysis {"connection_id":126909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:38:04] local.INFO: Extracted packet for processing {"connection_id":126909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:38:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561564416001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783443912000,"timestamp_ms":1783443912000,"timestamp_seconds":1783443912,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8a7540"} 
[2026-07-07 22:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 22:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561564416001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561564416001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:38:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:38:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561564416001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":126909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:38:04] local.INFO: GPS data processed {"connection_id":126909,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:38:04] local.INFO: Acknowledgment sent {"connection_id":126909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:38:08] local.INFO: TCP Data received {"connection_id":125656,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:38:08] local.INFO: Processing buffer {"connection_id":125656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:38:08] local.INFO: IMEI packet received {"connection_id":125656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":125656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:38:09] local.INFO: TCP Data received {"connection_id":125656,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8c03b0012d76190005fd5c580009004931..."} 
[2026-07-07 22:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8c03b0012d76190005fd5c580009004931..."} 
[2026-07-07 22:38:09] local.INFO: Processing buffer {"connection_id":125656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8c03b0012d76190005fd5c580009004931..."} 
[2026-07-07 22:38:09] local.INFO: Packet analysis {"connection_id":125656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8c"} 
[2026-07-07 22:38:09] local.INFO: Extracted packet for processing {"connection_id":125656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8c"} 
[2026-07-07 22:38:09] local.INFO: GPS Element Parsed {"raw_longitude":762714368,"raw_latitude":100490328,"longitude_deg":76.2714368,"latitude_deg":10.0490328,"altitude":9,"angle":73,"satellites":49,"speed":41,"hex_longitude":"2d761900","hex_latitude":"05fd5c58","is_valid_coordinates":true} 
[2026-07-07 22:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561665536001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132291826009767936,"note":"Value kept but may cause issues"} 
[2026-07-07 22:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8499840634944806912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783444014000,"timestamp_ms":1783444014000,"timestamp_seconds":1783444014,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8c03b0"} 
[2026-07-07 22:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 22:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561665536001,"66":28006,"226":206,"8":65280,"24":41,"16":132291826009767936,"45":8499840634944806912},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,8,24,16,45]} 
[2026-07-07 22:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561665536001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:38:09] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-07 22:38:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132291826009767936,"km_value":132291826009767.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8499840634944806912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561665536001,"power":28006,"unknown_226":206,"unknown_8":65280,"ignition":41,"odometer":null,"unknown_45":8499840634944806912}} 
[2026-07-07 22:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":125656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448116,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:38:09] local.INFO: GPS data processed {"connection_id":125656,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:38:09] local.INFO: Acknowledgment sent {"connection_id":125656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:38:10] local.INFO: TCP Data received {"connection_id":125656,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8c2ac0012d763e0005fd6538000c004d31..."} 
[2026-07-07 22:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8c2ac0012d763e0005fd6538000c004d31..."} 
[2026-07-07 22:38:10] local.INFO: Processing buffer {"connection_id":125656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8c2ac0012d763e0005fd6538000c004d31..."} 
[2026-07-07 22:38:10] local.INFO: Packet analysis {"connection_id":125656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8c"} 
[2026-07-07 22:38:10] local.INFO: Extracted packet for processing {"connection_id":125656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8c"} 
[2026-07-07 22:38:10] local.INFO: GPS Element Parsed {"raw_longitude":762723840,"raw_latitude":100492600,"longitude_deg":76.272384,"latitude_deg":10.04926,"altitude":12,"angle":77,"satellites":49,"speed":37,"hex_longitude":"2d763e00","hex_latitude":"05fd6538","is_valid_coordinates":true} 
[2026-07-07 22:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561667584001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132292289866235904,"note":"Value kept but may cause issues"} 
[2026-07-07 22:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8509832996618786816,"note":"Value kept but may cause issues"} 
[2026-07-07 22:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783444024000,"timestamp_ms":1783444024000,"timestamp_seconds":1783444024,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8c2ac0"} 
[2026-07-07 22:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22: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":102,"data_length":795,"current_offset":136} 
[2026-07-07 22:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561667584001,"66":27843,"226":206,"8":65280,"24":37,"16":132292289866235904,"45":8509832996618786816},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,8,24,16,45]} 
[2026-07-07 22:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561667584001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:38:10] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-07 22:38:10] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132292289866235904,"km_value":132292289866235.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8509832996618786816,"description":"Unknown IO ID 45"} 
[2026-07-07 22:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561667584001,"power":27843,"unknown_226":206,"unknown_8":65280,"ignition":37,"odometer":null,"unknown_45":8509832996618786816}} 
[2026-07-07 22:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":125656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448117,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:38:10] local.INFO: GPS data processed {"connection_id":125656,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:38:10] local.INFO: Acknowledgment sent {"connection_id":125656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:38:35] local.INFO: TCP Data received {"connection_id":126909,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:38:35] local.INFO: Processing buffer {"connection_id":126909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:38:35] local.INFO: Packet analysis {"connection_id":126909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:38:35] local.INFO: Extracted packet for processing {"connection_id":126909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:38:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561564416001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783443912000,"timestamp_ms":1783443912000,"timestamp_seconds":1783443912,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8a7540"} 
[2026-07-07 22:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 22:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561564416001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561564416001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:38:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:38:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561564416001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":126909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:38:35] local.INFO: GPS data processed {"connection_id":126909,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:38:35] local.INFO: Acknowledgment sent {"connection_id":126909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:38:41] local.INFO: TCP Data received {"connection_id":125656,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8c4de8012d76628005fd6bc8000b005034..."} 
[2026-07-07 22:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8c4de8012d76628005fd6bc8000b005034..."} 
[2026-07-07 22:38:41] local.INFO: Processing buffer {"connection_id":125656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8c4de8012d76628005fd6bc8000b005034..."} 
[2026-07-07 22:38:41] local.INFO: Packet analysis {"connection_id":125656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8c"} 
[2026-07-07 22:38:41] local.INFO: Extracted packet for processing {"connection_id":125656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8c"} 
[2026-07-07 22:38:41] local.INFO: GPS Element Parsed {"raw_longitude":762733184,"raw_latitude":100494280,"longitude_deg":76.2733184,"latitude_deg":10.049428,"altitude":11,"angle":80,"satellites":52,"speed":44,"hex_longitude":"2d766280","hex_latitude":"05fd6bc8","is_valid_coordinates":true} 
[2026-07-07 22:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561670144001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132292740837801984,"note":"Value kept but may cause issues"} 
[2026-07-07 22:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8520247570757662720,"note":"Value kept but may cause issues"} 
[2026-07-07 22:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783444033000,"timestamp_ms":1783444033000,"timestamp_seconds":1783444033,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8c4de8"} 
[2026-07-07 22:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:38: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-07-07 22: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 22:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561670144001,"66":27550,"226":206,"8":65280,"24":44,"16":132292740837801984,"45":8520247570757662720},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,8,24,16,45]} 
[2026-07-07 22:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561670144001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:38:41] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-07 22:38:41] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132292740837801984,"km_value":132292740837801.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8520247570757662720,"description":"Unknown IO ID 45"} 
[2026-07-07 22:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561670144001,"power":27550,"unknown_226":206,"unknown_8":65280,"ignition":44,"odometer":null,"unknown_45":8520247570757662720}} 
[2026-07-07 22:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":125656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448119,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:38:41] local.INFO: GPS data processed {"connection_id":125656,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:38:41] local.INFO: Acknowledgment sent {"connection_id":125656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:38:57] local.INFO: TCP Data received {"connection_id":126910,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:38:57] local.INFO: Processing buffer {"connection_id":126910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:38:57] local.INFO: IMEI packet received {"connection_id":126910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":126910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:38:57] local.INFO: TCP Data received {"connection_id":125657,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:38:57] local.INFO: Processing buffer {"connection_id":125657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:38:57] local.INFO: IMEI packet received {"connection_id":125657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":125657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:38:58] local.INFO: TCP Data received {"connection_id":126910,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:38:58] local.INFO: Processing buffer {"connection_id":126910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:38:58] local.INFO: IMEI packet received {"connection_id":126910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":126910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:39:03] local.INFO: TCP Data received {"connection_id":125657,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:39:03] local.INFO: Processing buffer {"connection_id":125657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:39:03] local.INFO: IMEI packet received {"connection_id":125657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":125657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:39:04] local.INFO: TCP Data received {"connection_id":125657,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:39:04] local.INFO: Processing buffer {"connection_id":125657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:39:04] local.INFO: Packet analysis {"connection_id":125657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:39:04] local.INFO: Extracted packet for processing {"connection_id":125657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:39:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561564416001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783443912000,"timestamp_ms":1783443912000,"timestamp_seconds":1783443912,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8a7540"} 
[2026-07-07 22:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 22:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561564416001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561564416001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:39:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:39:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561564416001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":125657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:39:04] local.INFO: GPS data processed {"connection_id":125657,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:39:04] local.INFO: Acknowledgment sent {"connection_id":125657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:39:07] local.INFO: TCP Data received {"connection_id":126910,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:39:07] local.INFO: Processing buffer {"connection_id":126910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:39:07] local.INFO: IMEI packet received {"connection_id":126910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":126910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:39:08] local.INFO: TCP Data received {"connection_id":126910,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8c6d28012d76854005fd73580009004b34..."} 
[2026-07-07 22:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8c6d28012d76854005fd73580009004b34..."} 
[2026-07-07 22:39:08] local.INFO: Processing buffer {"connection_id":126910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8c6d28012d76854005fd73580009004b34..."} 
[2026-07-07 22:39:08] local.INFO: Packet analysis {"connection_id":126910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8c"} 
[2026-07-07 22:39:08] local.INFO: Extracted packet for processing {"connection_id":126910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8c"} 
[2026-07-07 22:39:08] local.INFO: GPS Element Parsed {"raw_longitude":762742080,"raw_latitude":100496216,"longitude_deg":76.274208,"latitude_deg":10.0496216,"altitude":9,"angle":75,"satellites":52,"speed":42,"hex_longitude":"2d768540","hex_latitude":"05fd7358","is_valid_coordinates":true} 
[2026-07-07 22:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561672448001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132293178924466176,"note":"Value kept but may cause issues"} 
[2026-07-07 22:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8530521407408031744,"note":"Value kept but may cause issues"} 
[2026-07-07 22:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783444041000,"timestamp_ms":1783444041000,"timestamp_seconds":1783444041,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8c6d28"} 
[2026-07-07 22:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22: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":158,"data_length":795,"current_offset":136} 
[2026-07-07 22:39:08] 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-07-07 22:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126910,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126910,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561672448001,"66":27789,"226":206,"8":65280,"24":42,"16":132293178924466176,"45":8530521407408031744},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,8,24,16,45]} 
[2026-07-07 22:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561672448001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:39:08] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-07 22:39:08] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132293178924466176,"km_value":132293178924466.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8530521407408031744,"description":"Unknown IO ID 45"} 
[2026-07-07 22:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561672448001,"power":27789,"unknown_226":206,"unknown_8":65280,"ignition":42,"odometer":null,"unknown_45":8530521407408031744}} 
[2026-07-07 22:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":126910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448121,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:39:09] local.INFO: GPS data processed {"connection_id":126910,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:39:09] local.INFO: Acknowledgment sent {"connection_id":126910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:39:35] local.INFO: TCP Data received {"connection_id":125657,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:39:35] local.INFO: Processing buffer {"connection_id":125657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:39:35] local.INFO: Packet analysis {"connection_id":125657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:39:35] local.INFO: Extracted packet for processing {"connection_id":125657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:39:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561564416001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783443912000,"timestamp_ms":1783443912000,"timestamp_seconds":1783443912,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8a7540"} 
[2026-07-07 22:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 22:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561564416001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561564416001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:39:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:39:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561564416001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":125657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:39:35] local.INFO: GPS data processed {"connection_id":125657,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:39:35] local.INFO: Acknowledgment sent {"connection_id":125657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:39:40] local.INFO: TCP Data received {"connection_id":126910,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8c9050012d76aa8005fd7e080006004833..."} 
[2026-07-07 22:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8c9050012d76aa8005fd7e080006004833..."} 
[2026-07-07 22:39:40] local.INFO: Processing buffer {"connection_id":126910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8c9050012d76aa8005fd7e080006004833..."} 
[2026-07-07 22:39:40] local.INFO: Packet analysis {"connection_id":126910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8c"} 
[2026-07-07 22:39:40] local.INFO: Extracted packet for processing {"connection_id":126910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8c"} 
[2026-07-07 22:39:40] local.INFO: GPS Element Parsed {"raw_longitude":762751616,"raw_latitude":100498952,"longitude_deg":76.2751616,"latitude_deg":10.0498952,"altitude":6,"angle":72,"satellites":51,"speed":45,"hex_longitude":"2d76aa80","hex_latitude":"05fd7e08","is_valid_coordinates":true} 
[2026-07-07 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-07-07 22:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561674496001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132293651370868736,"note":"Value kept but may cause issues"} 
[2026-07-07 22:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8540302662849222656,"note":"Value kept but may cause issues"} 
[2026-07-07 22:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783444050000,"timestamp_ms":1783444050000,"timestamp_seconds":1783444050,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8c9050"} 
[2026-07-07 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-07-07 22:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-07 22:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 22:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126910,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126910,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561674496001,"66":27843,"226":206,"8":65280,"24":45,"16":132293651370868736,"45":8540302662849222656},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,8,24,16,45]} 
[2026-07-07 22:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561674496001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:39:40] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-07 22:39:40] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132293651370868736,"km_value":132293651370868.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8540302662849222656,"description":"Unknown IO ID 45"} 
[2026-07-07 22:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561674496001,"power":27843,"unknown_226":206,"unknown_8":65280,"ignition":45,"odometer":null,"unknown_45":8540302662849222656}} 
[2026-07-07 22:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":126910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448123,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:39:40] local.INFO: GPS data processed {"connection_id":126910,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:39:40] local.INFO: Acknowledgment sent {"connection_id":126910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:39:58] local.INFO: TCP Data received {"connection_id":124833,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:39:58] local.INFO: Processing buffer {"connection_id":124833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:39:58] local.INFO: IMEI packet received {"connection_id":124833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":124833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:39:59] local.INFO: TCP Data received {"connection_id":124833,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:39:59] local.INFO: Processing buffer {"connection_id":124833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:39:59] local.INFO: IMEI packet received {"connection_id":124833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":124833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:40:03] local.INFO: TCP Data received {"connection_id":124929,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:40:03] local.INFO: Processing buffer {"connection_id":124929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:40:03] local.INFO: IMEI packet received {"connection_id":124929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":124929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:40:08] local.INFO: TCP Data received {"connection_id":124929,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:40:08] local.INFO: Processing buffer {"connection_id":124929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:40:08] local.INFO: IMEI packet received {"connection_id":124929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":124929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:40:09] local.INFO: TCP Data received {"connection_id":124929,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:40:09] local.INFO: Processing buffer {"connection_id":124929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:40:09] local.INFO: Packet analysis {"connection_id":124929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:40:09] local.INFO: Extracted packet for processing {"connection_id":124929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:40:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561564416001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783443912000,"timestamp_ms":1783443912000,"timestamp_seconds":1783443912,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8a7540"} 
[2026-07-07 22:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 22:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561564416001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561564416001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:40:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:40:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561564416001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":124929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:40:09] local.INFO: GPS data processed {"connection_id":124929,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:40:09] local.INFO: Acknowledgment sent {"connection_id":124929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:40:13] local.INFO: TCP Data received {"connection_id":124929,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:40:13] local.INFO: Processing buffer {"connection_id":124929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8a7540012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:40:13] local.INFO: Packet analysis {"connection_id":124929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:40:13] local.INFO: Extracted packet for processing {"connection_id":124929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8a"} 
[2026-07-07 22:40:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561564416001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783443912000,"timestamp_ms":1783443912000,"timestamp_seconds":1783443912,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8a7540"} 
[2026-07-07 22:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:40: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-07-07 22: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-07 22:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561564416001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561564416001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:40:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:40:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561564416001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":124929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:40:13] local.INFO: GPS data processed {"connection_id":124929,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:40:13] local.INFO: Acknowledgment sent {"connection_id":124929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:40:58] local.INFO: TCP Data received {"connection_id":124834,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:40:58] local.INFO: Processing buffer {"connection_id":124834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:40:58] local.INFO: IMEI packet received {"connection_id":124834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":124834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:41:03] local.INFO: TCP Data received {"connection_id":124834,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:41:03] local.INFO: Processing buffer {"connection_id":124834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:41:03] local.INFO: IMEI packet received {"connection_id":124834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":124834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:41:05] local.INFO: TCP Data received {"connection_id":124834,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:41:05] local.INFO: Processing buffer {"connection_id":124834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:41:05] local.INFO: Packet analysis {"connection_id":124834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:41:05] local.INFO: Extracted packet for processing {"connection_id":124834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:41:05] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561641472001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783444213000,"timestamp_ms":1783444213000,"timestamp_seconds":1783444213,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8f0d08"} 
[2026-07-07 22:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561641472001,"66":25538,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561641472001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:41:05] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:41:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561641472001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":124834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:41:05] local.INFO: GPS data processed {"connection_id":124834,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:41:05] local.INFO: Acknowledgment sent {"connection_id":124834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:41:19] local.INFO: TCP Data received {"connection_id":124833,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:41:19] local.INFO: Processing buffer {"connection_id":124833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:41:19] local.INFO: IMEI packet received {"connection_id":124833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":124833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:41:21] local.INFO: TCP Data received {"connection_id":124833,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8caf90012d76ce8005fd8a68000700442f..."} 
[2026-07-07 22:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8caf90012d76ce8005fd8a68000700442f..."} 
[2026-07-07 22:41:21] local.INFO: Processing buffer {"connection_id":124833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8caf90012d76ce8005fd8a68000700442f..."} 
[2026-07-07 22:41:21] local.INFO: Packet analysis {"connection_id":124833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8c"} 
[2026-07-07 22:41:21] local.INFO: Extracted packet for processing {"connection_id":124833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8c"} 
[2026-07-07 22:41:21] local.INFO: GPS Element Parsed {"raw_longitude":762760832,"raw_latitude":100502120,"longitude_deg":76.2760832,"latitude_deg":10.050212,"altitude":7,"angle":68,"satellites":47,"speed":50,"hex_longitude":"2d76ce80","hex_latitude":"05fd8a68","is_valid_coordinates":true} 
[2026-07-07 22:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561676800001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132294119522304000,"note":"Value kept but may cause issues"} 
[2026-07-07 22:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8550787605732395008,"note":"Value kept but may cause issues"} 
[2026-07-07 22:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783444058000,"timestamp_ms":1783444058000,"timestamp_seconds":1783444058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8caf90"} 
[2026-07-07 22:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22: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":195,"data_length":795,"current_offset":136} 
[2026-07-07 22:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561676800001,"66":27876,"226":206,"8":65280,"24":50,"16":132294119522304000,"45":8550787605732395008},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,8,24,16,45]} 
[2026-07-07 22:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561676800001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:41:21] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-07 22:41:21] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132294119522304000,"km_value":132294119522304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8550787605732395008,"description":"Unknown IO ID 45"} 
[2026-07-07 22:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561676800001,"power":27876,"unknown_226":206,"unknown_8":65280,"ignition":50,"odometer":null,"unknown_45":8550787605732395008}} 
[2026-07-07 22:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":124833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448127,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:41:21] local.INFO: GPS data processed {"connection_id":124833,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:41:21] local.INFO: Acknowledgment sent {"connection_id":124833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:41:36] local.INFO: TCP Data received {"connection_id":124834,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:41:36] local.INFO: Processing buffer {"connection_id":124834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:41:36] local.INFO: Packet analysis {"connection_id":124834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:41:36] local.INFO: Extracted packet for processing {"connection_id":124834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:41:36] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561641472001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783444213000,"timestamp_ms":1783444213000,"timestamp_seconds":1783444213,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8f0d08"} 
[2026-07-07 22:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561641472001,"66":25538,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561641472001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:41:36] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:41:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561641472001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":124834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:41:36] local.INFO: GPS data processed {"connection_id":124834,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:41:36] local.INFO: Acknowledgment sent {"connection_id":124834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:41:37] local.INFO: TCP Data received {"connection_id":124930,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:41:37] local.INFO: Processing buffer {"connection_id":124930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:41:37] local.INFO: IMEI packet received {"connection_id":124930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":124930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:41:38] local.INFO: TCP Data received {"connection_id":124930,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:41:38] local.INFO: Processing buffer {"connection_id":124930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:41:38] local.INFO: IMEI packet received {"connection_id":124930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":124930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:41:57] local.INFO: TCP Data received {"connection_id":126911,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:41:57] local.INFO: Processing buffer {"connection_id":126911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:41:57] local.INFO: IMEI packet received {"connection_id":126911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":126911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:42:03] local.INFO: TCP Data received {"connection_id":126911,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:42:03] local.INFO: Processing buffer {"connection_id":126911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:42:03] local.INFO: IMEI packet received {"connection_id":126911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":126911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:42:04] local.INFO: TCP Data received {"connection_id":126911,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:42:04] local.INFO: Processing buffer {"connection_id":126911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:42:04] local.INFO: Packet analysis {"connection_id":126911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:42:04] local.INFO: Extracted packet for processing {"connection_id":126911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:42:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561641472001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783444213000,"timestamp_ms":1783444213000,"timestamp_seconds":1783444213,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8f0d08"} 
[2026-07-07 22:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561641472001,"66":25538,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561641472001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:42:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:42:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561641472001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":126911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:42:04] local.INFO: GPS data processed {"connection_id":126911,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:42:04] local.INFO: Acknowledgment sent {"connection_id":126911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:42:08] local.INFO: TCP Data received {"connection_id":124931,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:42:08] local.INFO: Processing buffer {"connection_id":124931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:42:08] local.INFO: IMEI packet received {"connection_id":124931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":124931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:42:10] local.INFO: TCP Data received {"connection_id":124931,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:42:10] local.INFO: Processing buffer {"connection_id":124931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:42:10] local.INFO: IMEI packet received {"connection_id":124931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":124931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:42:11] local.INFO: TCP Data received {"connection_id":124931,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8f91d8012d78944005ff94e8000a01582f..."} 
[2026-07-07 22:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8f91d8012d78944005ff94e8000a01582f..."} 
[2026-07-07 22:42:11] local.INFO: Processing buffer {"connection_id":124931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8f91d8012d78944005ff94e8000a01582f..."} 
[2026-07-07 22:42:11] local.INFO: Packet analysis {"connection_id":124931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:42:11] local.INFO: Extracted packet for processing {"connection_id":124931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:42:11] local.INFO: GPS Element Parsed {"raw_longitude":762876992,"raw_latitude":100635880,"longitude_deg":76.2876992,"latitude_deg":10.063588,"altitude":10,"angle":344,"satellites":47,"speed":36,"hex_longitude":"2d789440","hex_latitude":"05ff94e8","is_valid_coordinates":true} 
[2026-07-07 22:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561724416001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132303370881859584,"note":"Value kept but may cause issues"} 
[2026-07-07 22:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8691947306585554944,"note":"Value kept but may cause issues"} 
[2026-07-07 22:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783444247000,"timestamp_ms":1783444247000,"timestamp_seconds":1783444247,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8f91d8"} 
[2026-07-07 22:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 22:42: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-07-07 22:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561724416001,"66":27615,"210":206,"8":65280,"24":36,"16":132303370881859584,"45":8691947306585554944},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-07-07 22:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561724416001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:42:11] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-07 22:42:11] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132303370881859584,"km_value":132303370881859.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8691947306585554944,"description":"Unknown IO ID 45"} 
[2026-07-07 22:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561724416001,"power":27615,"unknown_210":206,"unknown_8":65280,"ignition":36,"odometer":null,"unknown_45":8691947306585554944}} 
[2026-07-07 22:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":124931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448130,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:42:12] local.INFO: GPS data processed {"connection_id":124931,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:42:12] local.INFO: Acknowledgment sent {"connection_id":124931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:42:13] local.INFO: TCP Data received {"connection_id":124931,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8fb8e8012d788cc005ffba60000a015f32..."} 
[2026-07-07 22:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8fb8e8012d788cc005ffba60000a015f32..."} 
[2026-07-07 22:42:13] local.INFO: Processing buffer {"connection_id":124931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8fb8e8012d788cc005ffba60000a015f32..."} 
[2026-07-07 22:42:13] local.INFO: Packet analysis {"connection_id":124931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:42:13] local.INFO: Extracted packet for processing {"connection_id":124931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:42:13] local.INFO: GPS Element Parsed {"raw_longitude":762875072,"raw_latitude":100645472,"longitude_deg":76.2875072,"latitude_deg":10.0645472,"altitude":10,"angle":351,"satellites":50,"speed":41,"hex_longitude":"2d788cc0","hex_latitude":"05ffba60","is_valid_coordinates":true} 
[2026-07-07 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-07-07 22:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561727232001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132303847623229440,"note":"Value kept but may cause issues"} 
[2026-07-07 22:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8688639975611492352,"note":"Value kept but may cause issues"} 
[2026-07-07 22:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783444257000,"timestamp_ms":1783444257000,"timestamp_seconds":1783444257,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8fb8e8"} 
[2026-07-07 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-07-07 22:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-07 22:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 22:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561727232001,"66":27908,"210":206,"8":65280,"24":41,"16":132303847623229440,"45":8688639975611492352},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-07-07 22:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561727232001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:42:13] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-07 22:42:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132303847623229440,"km_value":132303847623229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8688639975611492352,"description":"Unknown IO ID 45"} 
[2026-07-07 22:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561727232001,"power":27908,"unknown_210":206,"unknown_8":65280,"ignition":41,"odometer":null,"unknown_45":8688639975611492352}} 
[2026-07-07 22:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":124931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448131,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:42:13] local.INFO: GPS data processed {"connection_id":124931,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:42:13] local.INFO: Acknowledgment sent {"connection_id":124931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:42:35] local.INFO: TCP Data received {"connection_id":126911,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:42:35] local.INFO: Processing buffer {"connection_id":126911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:42:35] local.INFO: Packet analysis {"connection_id":126911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:42:35] local.INFO: Extracted packet for processing {"connection_id":126911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:42:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561641472001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783444213000,"timestamp_ms":1783444213000,"timestamp_seconds":1783444213,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8f0d08"} 
[2026-07-07 22:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561641472001,"66":25538,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561641472001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:42:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:42:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561641472001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":126911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:42:35] local.INFO: GPS data processed {"connection_id":126911,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:42:35] local.INFO: Acknowledgment sent {"connection_id":126911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:43:03] local.INFO: TCP Data received {"connection_id":124835,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:43:03] local.INFO: Processing buffer {"connection_id":124835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:43:03] local.INFO: IMEI packet received {"connection_id":124835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":124835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:43:08] local.INFO: TCP Data received {"connection_id":124835,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:43:08] local.INFO: Processing buffer {"connection_id":124835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:43:08] local.INFO: IMEI packet received {"connection_id":124835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":124835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:43:09] local.INFO: TCP Data received {"connection_id":124835,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:43:09] local.INFO: Processing buffer {"connection_id":124835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:43:09] local.INFO: Packet analysis {"connection_id":124835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:43:09] local.INFO: Extracted packet for processing {"connection_id":124835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:43:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 22:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561641472001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783444213000,"timestamp_ms":1783444213000,"timestamp_seconds":1783444213,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8f0d08"} 
[2026-07-07 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-07-07 22:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 22:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561641472001,"66":25538,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561641472001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:43:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:43:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561641472001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":124835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:43:09] local.INFO: GPS data processed {"connection_id":124835,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:43:09] local.INFO: Acknowledgment sent {"connection_id":124835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:43:13] local.INFO: TCP Data received {"connection_id":124835,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:43:13] local.INFO: Processing buffer {"connection_id":124835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:43:13] local.INFO: Packet analysis {"connection_id":124835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:43:13] local.INFO: Extracted packet for processing {"connection_id":124835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:43:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 22:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561641472001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783444213000,"timestamp_ms":1783444213000,"timestamp_seconds":1783444213,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8f0d08"} 
[2026-07-07 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-07-07 22:43: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-07-07 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 22:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:43: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-07-07 22:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561641472001,"66":25538,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561641472001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:43:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:43:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561641472001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":124835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:43:13] local.INFO: GPS data processed {"connection_id":124835,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:43:13] local.INFO: Acknowledgment sent {"connection_id":124835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:43:35] local.INFO: TCP Data received {"connection_id":125658,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:43:35] local.INFO: Processing buffer {"connection_id":125658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:43:35] local.INFO: IMEI packet received {"connection_id":125658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":125658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:43:37] local.INFO: TCP Data received {"connection_id":125658,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:43:37] local.INFO: Processing buffer {"connection_id":125658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:43:37] local.INFO: IMEI packet received {"connection_id":125658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":125658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:43:38] local.INFO: TCP Data received {"connection_id":125658,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:43:38] local.INFO: Processing buffer {"connection_id":125658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:43:38] local.INFO: IMEI packet received {"connection_id":125658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":125658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:43:46] local.INFO: TCP Data received {"connection_id":125658,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d914370012d77d8000600c7500013013632..."} 
[2026-07-07 22:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d914370012d77d8000600c7500013013632..."} 
[2026-07-07 22:43:46] local.INFO: Processing buffer {"connection_id":125658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d914370012d77d8000600c7500013013632..."} 
[2026-07-07 22:43:46] local.INFO: Packet analysis {"connection_id":125658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d91"} 
[2026-07-07 22:43:46] local.INFO: Extracted packet for processing {"connection_id":125658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d91"} 
[2026-07-07 22:43:46] local.INFO: GPS Element Parsed {"raw_longitude":762828800,"raw_latitude":100714320,"longitude_deg":76.28288,"latitude_deg":10.071432,"altitude":19,"angle":310,"satellites":50,"speed":33,"hex_longitude":"2d77d800","hex_latitude":"0600c750","is_valid_coordinates":true} 
[2026-07-07 22:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561752576001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132308022331441152,"note":"Value kept but may cause issues"} 
[2026-07-07 22:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8643674348100395008,"note":"Value kept but may cause issues"} 
[2026-07-07 22:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783444358000,"timestamp_ms":1783444358000,"timestamp_seconds":1783444358,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d914370"} 
[2026-07-07 22:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 22:43: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-07-07 22:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":125658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":125658,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":125658,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561752576001,"66":27941,"210":206,"8":65280,"24":33,"16":132308022331441152,"45":8643674348100395008},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-07-07 22:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561752576001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:43:46] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-07 22:43:46] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132308022331441152,"km_value":132308022331441.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8643674348100395008,"description":"Unknown IO ID 45"} 
[2026-07-07 22:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561752576001,"power":27941,"unknown_210":206,"unknown_8":65280,"ignition":33,"odometer":null,"unknown_45":8643674348100395008}} 
[2026-07-07 22:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":125658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448135,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:43:46] local.INFO: GPS data processed {"connection_id":125658,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:43:46] local.INFO: Acknowledgment sent {"connection_id":125658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:43:58] local.INFO: TCP Data received {"connection_id":126912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:43:58] local.INFO: Processing buffer {"connection_id":126912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:43:58] local.INFO: IMEI packet received {"connection_id":126912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":126912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:44:03] local.INFO: TCP Data received {"connection_id":126912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:44:03] local.INFO: Processing buffer {"connection_id":126912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:44:03] local.INFO: IMEI packet received {"connection_id":126912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":126912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:44:04] local.INFO: TCP Data received {"connection_id":126912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:44:04] local.INFO: Processing buffer {"connection_id":126912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:44:04] local.INFO: Packet analysis {"connection_id":126912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:44:04] local.INFO: Extracted packet for processing {"connection_id":126912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:44:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561641472001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783444213000,"timestamp_ms":1783444213000,"timestamp_seconds":1783444213,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8f0d08"} 
[2026-07-07 22:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561641472001,"66":25538,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561641472001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:44:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:44:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561641472001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":126912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:44:04] local.INFO: GPS data processed {"connection_id":126912,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:44:04] local.INFO: Acknowledgment sent {"connection_id":126912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:44:07] local.INFO: TCP Data received {"connection_id":124932,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:44:07] local.INFO: Processing buffer {"connection_id":124932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:44:07] local.INFO: IMEI packet received {"connection_id":124932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":124932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:44:08] local.INFO: TCP Data received {"connection_id":124932,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:44:08] local.INFO: Processing buffer {"connection_id":124932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:44:08] local.INFO: IMEI packet received {"connection_id":124932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":124932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:44:13] local.INFO: TCP Data received {"connection_id":124932,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:44:13] local.INFO: Processing buffer {"connection_id":124932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:44:13] local.INFO: IMEI packet received {"connection_id":124932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":124932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:44:14] local.INFO: TCP Data received {"connection_id":124932,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d916e68012d77bc000600dfc00013013731..."} 
[2026-07-07 22:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d916e68012d77bc000600dfc00013013731..."} 
[2026-07-07 22:44:14] local.INFO: Processing buffer {"connection_id":124932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d916e68012d77bc000600dfc00013013731..."} 
[2026-07-07 22:44:14] local.INFO: Packet analysis {"connection_id":124932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d91"} 
[2026-07-07 22:44:14] local.INFO: Extracted packet for processing {"connection_id":124932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d91"} 
[2026-07-07 22:44:14] local.INFO: GPS Element Parsed {"raw_longitude":762821632,"raw_latitude":100720576,"longitude_deg":76.2821632,"latitude_deg":10.0720576,"altitude":19,"angle":311,"satellites":49,"speed":34,"hex_longitude":"2d77bc00","hex_latitude":"0600dfc0","is_valid_coordinates":true} 
[2026-07-07 22:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561755648001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132308477597974528,"note":"Value kept but may cause issues"} 
[2026-07-07 22:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8635652311265792000,"note":"Value kept but may cause issues"} 
[2026-07-07 22:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783444369000,"timestamp_ms":1783444369000,"timestamp_seconds":1783444369,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d916e68"} 
[2026-07-07 22:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:44: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-07-07 22: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":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-07 22:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561755648001,"66":27984,"210":206,"8":65280,"24":34,"16":132308477597974528,"45":8635652311265792000},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-07-07 22:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561755648001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:44:14] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-07 22:44:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132308477597974528,"km_value":132308477597974.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8635652311265792000,"description":"Unknown IO ID 45"} 
[2026-07-07 22:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561755648001,"power":27984,"unknown_210":206,"unknown_8":65280,"ignition":34,"odometer":null,"unknown_45":8635652311265792000}} 
[2026-07-07 22:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":124932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448137,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:44:14] local.INFO: GPS data processed {"connection_id":124932,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:44:14] local.INFO: Acknowledgment sent {"connection_id":124932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:44:37] local.INFO: TCP Data received {"connection_id":126912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:44:37] local.INFO: Processing buffer {"connection_id":126912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:44:37] local.INFO: Packet analysis {"connection_id":126912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:44:37] local.INFO: Extracted packet for processing {"connection_id":126912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:44:37] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561641472001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783444213000,"timestamp_ms":1783444213000,"timestamp_seconds":1783444213,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8f0d08"} 
[2026-07-07 22:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561641472001,"66":25538,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561641472001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:44:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:44:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561641472001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":126912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:44:37] local.INFO: GPS data processed {"connection_id":126912,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:44:37] local.INFO: Acknowledgment sent {"connection_id":126912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:44:58] local.INFO: TCP Data received {"connection_id":124933,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:44:58] local.INFO: Processing buffer {"connection_id":124933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:44:58] local.INFO: IMEI packet received {"connection_id":124933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":124933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:44:58] local.INFO: TCP Data received {"connection_id":126913,"ip":"42.106.6.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:44:58] local.INFO: Processing buffer {"connection_id":126913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:44:58] local.INFO: IMEI packet received {"connection_id":126913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":126913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:45:03] local.INFO: TCP Data received {"connection_id":124933,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:45:03] local.INFO: Processing buffer {"connection_id":124933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:45:03] local.INFO: IMEI packet received {"connection_id":124933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":124933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:45:03] local.INFO: TCP Data received {"connection_id":126913,"ip":"42.106.6.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:45:03] local.INFO: Processing buffer {"connection_id":126913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:45:03] local.INFO: IMEI packet received {"connection_id":126913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":126913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:45:03] local.INFO: TCP Data received {"connection_id":124933,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d919578012d77a1000600f7b80013013834..."} 
[2026-07-07 22:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d919578012d77a1000600f7b80013013834..."} 
[2026-07-07 22:45:03] local.INFO: Processing buffer {"connection_id":124933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d919578012d77a1000600f7b80013013834..."} 
[2026-07-07 22:45:03] local.INFO: Packet analysis {"connection_id":124933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d91"} 
[2026-07-07 22:45:03] local.INFO: Extracted packet for processing {"connection_id":124933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d91"} 
[2026-07-07 22:45:03] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":100726712,"longitude_deg":76.281472,"latitude_deg":10.0726712,"altitude":19,"angle":312,"satellites":52,"speed":37,"hex_longitude":"2d77a100","hex_latitude":"0600f7b8","is_valid_coordinates":true} 
[2026-07-07 22:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561758464001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132308924274573312,"note":"Value kept but may cause issues"} 
[2026-07-07 22:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8627771011919495168,"note":"Value kept but may cause issues"} 
[2026-07-07 22:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783444379000,"timestamp_ms":1783444379000,"timestamp_seconds":1783444379,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d919578"} 
[2026-07-07 22:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 22:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561758464001,"66":28006,"210":206,"8":65280,"24":37,"16":132308924274573312,"45":8627771011919495168},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-07-07 22:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561758464001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:45:03] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-07 22:45:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132308924274573312,"km_value":132308924274573.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8627771011919495168,"description":"Unknown IO ID 45"} 
[2026-07-07 22:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561758464001,"power":28006,"unknown_210":206,"unknown_8":65280,"ignition":37,"odometer":null,"unknown_45":8627771011919495168}} 
[2026-07-07 22:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":124933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448139,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:45:04] local.INFO: GPS data processed {"connection_id":124933,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:45:04] local.INFO: Acknowledgment sent {"connection_id":124933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:45:04] local.INFO: TCP Data received {"connection_id":126913,"ip":"42.106.6.12","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:45:04] local.INFO: Processing buffer {"connection_id":126913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:45:04] local.INFO: Packet analysis {"connection_id":126913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:45:04] local.INFO: Extracted packet for processing {"connection_id":126913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:45:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561641472001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783444213000,"timestamp_ms":1783444213000,"timestamp_seconds":1783444213,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8f0d08"} 
[2026-07-07 22:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561641472001,"66":25538,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561641472001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:45:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:45:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561641472001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":126913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:45:04] local.INFO: GPS data processed {"connection_id":126913,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:45:04] local.INFO: Acknowledgment sent {"connection_id":126913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:45:35] local.INFO: TCP Data received {"connection_id":124933,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d91bc88012d778540060110600013013834..."} 
[2026-07-07 22:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d91bc88012d778540060110600013013834..."} 
[2026-07-07 22:45:35] local.INFO: Processing buffer {"connection_id":124933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d91bc88012d778540060110600013013834..."} 
[2026-07-07 22:45:35] local.INFO: Packet analysis {"connection_id":124933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d91"} 
[2026-07-07 22:45:35] local.INFO: Extracted packet for processing {"connection_id":124933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d91"} 
[2026-07-07 22:45:35] local.INFO: GPS Element Parsed {"raw_longitude":762807616,"raw_latitude":100733024,"longitude_deg":76.2807616,"latitude_deg":10.0733024,"altitude":19,"angle":312,"satellites":52,"speed":37,"hex_longitude":"2d778540","hex_latitude":"06011060","is_valid_coordinates":true} 
[2026-07-07 22:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561761024001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132309379541106688,"note":"Value kept but may cause issues"} 
[2026-07-07 22:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187549878272,"note":"Value kept but may cause issues"} 
[2026-07-07 22:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783444389000,"timestamp_ms":1783444389000,"timestamp_seconds":1783444389,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d91bc88"} 
[2026-07-07 22:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:45: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-07-07 22:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 22:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561761024001,"66":27995,"210":206,"8":65280,"24":37,"16":132309379541106688,"45":8620171187549878272},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-07-07 22:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561761024001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:45:35] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-07 22:45:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132309379541106688,"km_value":132309379541106.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187549878272,"description":"Unknown IO ID 45"} 
[2026-07-07 22:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561761024001,"power":27995,"unknown_210":206,"unknown_8":65280,"ignition":37,"odometer":null,"unknown_45":8620171187549878272}} 
[2026-07-07 22:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":124933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448141,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:45:35] local.INFO: GPS data processed {"connection_id":124933,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:45:35] local.INFO: Acknowledgment sent {"connection_id":124933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:45:55] local.INFO: TCP Data received {"connection_id":126913,"ip":"42.106.6.12","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:45:55] local.INFO: Processing buffer {"connection_id":126913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d8f0d08012dc5eb400537d5a0003401442b..."} 
[2026-07-07 22:45:55] local.INFO: Packet analysis {"connection_id":126913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:45:55] local.INFO: Extracted packet for processing {"connection_id":126913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d8f"} 
[2026-07-07 22:45:55] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561641472001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783444213000,"timestamp_ms":1783444213000,"timestamp_seconds":1783444213,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d8f0d08"} 
[2026-07-07 22:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":126913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":126913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":126913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561641472001,"66":25538,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561641472001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:45:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:45:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561641472001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":126913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:45:55] local.INFO: GPS data processed {"connection_id":126913,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:45:55] local.INFO: Acknowledgment sent {"connection_id":126913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:45:57] local.INFO: TCP Data received {"connection_id":124934,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:45:57] local.INFO: Processing buffer {"connection_id":124934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:45:57] local.INFO: IMEI packet received {"connection_id":124934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":124934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:45:58] local.INFO: TCP Data received {"connection_id":126914,"ip":"42.106.6.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:45:58] local.INFO: Processing buffer {"connection_id":126914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:45:58] local.INFO: IMEI packet received {"connection_id":126914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":126914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:45:58] local.INFO: TCP Data received {"connection_id":124934,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:45:58] local.INFO: Processing buffer {"connection_id":124934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:45:58] local.INFO: IMEI packet received {"connection_id":124934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":124934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:46:03] local.INFO: TCP Data received {"connection_id":126914,"ip":"42.106.6.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:46:03] local.INFO: Processing buffer {"connection_id":126914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:46:03] local.INFO: IMEI packet received {"connection_id":126914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":126914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:46:03] local.INFO: TCP Data received {"connection_id":124934,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:46:03] local.INFO: Processing buffer {"connection_id":124934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:46:03] local.INFO: IMEI packet received {"connection_id":124934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":124934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:46:04] local.INFO: TCP Data received {"connection_id":124934,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d936650012d7694c00601e1a80006012432..."} 
[2026-07-07 22:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d936650012d7694c00601e1a80006012432..."} 
[2026-07-07 22:46:04] local.INFO: Processing buffer {"connection_id":124934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d936650012d7694c00601e1a80006012432..."} 
[2026-07-07 22:46:04] local.INFO: Packet analysis {"connection_id":124934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:46:04] local.INFO: Extracted packet for processing {"connection_id":124934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:46:04] local.INFO: GPS Element Parsed {"raw_longitude":762746048,"raw_latitude":100786600,"longitude_deg":76.2746048,"latitude_deg":10.07866,"altitude":6,"angle":292,"satellites":50,"speed":9,"hex_longitude":"2d7694c0","hex_latitude":"0601e1a8","is_valid_coordinates":true} 
[2026-07-07 22:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561790720001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313313731149824,"note":"Value kept but may cause issues"} 
[2026-07-07 22:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8545439581248509952,"note":"Value kept but may cause issues"} 
[2026-07-07 22:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783444498000,"timestamp_ms":1783444498000,"timestamp_seconds":1783444498,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d936650"} 
[2026-07-07 22:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-07 22:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561790720001,"66":27832,"163":206,"8":65280,"24":9,"16":132313313731149824,"45":8545439581248509952},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561790720001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:46:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:46:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313313731149824,"km_value":132313313731149.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8545439581248509952,"description":"Unknown IO ID 45"} 
[2026-07-07 22:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561790720001,"power":27832,"unknown_163":206,"unknown_8":65280,"ignition":9,"odometer":null,"unknown_45":8545439581248509952}} 
[2026-07-07 22:46:04] local.INFO: TCP Data received {"connection_id":126914,"ip":"42.106.6.12","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:46:04] local.INFO: Processing buffer {"connection_id":126914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:46:04] local.INFO: Packet analysis {"connection_id":126914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:46:04] local.INFO: Extracted packet for processing {"connection_id":126914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:46:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561718528001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783444514000,"timestamp_ms":1783444514000,"timestamp_seconds":1783444514,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d93a4d0"} 
[2026-07-07 22:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 22:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561718528001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561718528001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:46:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:46:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561718528001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":126914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:46:04] local.INFO: GPS data processed {"connection_id":126914,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:46:04] local.INFO: Acknowledgment sent {"connection_id":126914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":124934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448144,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:46:04] local.INFO: GPS data processed {"connection_id":124934,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:46:04] local.INFO: Acknowledgment sent {"connection_id":124934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:46:09] local.INFO: TCP Data received {"connection_id":124934,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d936a38012d7693c00601e2100006013231..."} 
[2026-07-07 22:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d936a38012d7693c00601e2100006013231..."} 
[2026-07-07 22:46:09] local.INFO: Processing buffer {"connection_id":124934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d936a38012d7693c00601e2100006013231..."} 
[2026-07-07 22:46:09] local.INFO: Packet analysis {"connection_id":124934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:46:09] local.INFO: Extracted packet for processing {"connection_id":124934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:46:09] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786704,"longitude_deg":76.2745792,"latitude_deg":10.0786704,"altitude":6,"angle":306,"satellites":49,"speed":7,"hex_longitude":"2d7693c0","hex_latitude":"0601e210","is_valid_coordinates":true} 
[2026-07-07 22:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561791488001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313322321084416,"note":"Value kept but may cause issues"} 
[2026-07-07 22:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544665525062576128,"note":"Value kept but may cause issues"} 
[2026-07-07 22:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783444499000,"timestamp_ms":1783444499000,"timestamp_seconds":1783444499,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d936a38"} 
[2026-07-07 22:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 22:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561791488001,"66":27821,"163":206,"8":65280,"24":7,"16":132313322321084416,"45":8544665525062576128},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561791488001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:46:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:46:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313322321084416,"km_value":132313322321084.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544665525062576128,"description":"Unknown IO ID 45"} 
[2026-07-07 22:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561791488001,"power":27821,"unknown_163":206,"unknown_8":65280,"ignition":7,"odometer":null,"unknown_45":8544665525062576128}} 
[2026-07-07 22:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":124934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448145,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:46:09] local.INFO: GPS data processed {"connection_id":124934,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:46:09] local.INFO: Acknowledgment sent {"connection_id":124934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:46:35] local.INFO: TCP Data received {"connection_id":126914,"ip":"42.106.6.12","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:46:35] local.INFO: Processing buffer {"connection_id":126914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:46:35] local.INFO: Packet analysis {"connection_id":126914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:46:35] local.INFO: Extracted packet for processing {"connection_id":126914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:46:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561718528001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783444514000,"timestamp_ms":1783444514000,"timestamp_seconds":1783444514,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d93a4d0"} 
[2026-07-07 22:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 22:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561718528001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561718528001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:46:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:46:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561718528001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":126914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:46:35] local.INFO: GPS data processed {"connection_id":126914,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:46:35] local.INFO: Acknowledgment sent {"connection_id":126914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:46:40] local.INFO: TCP Data received {"connection_id":124934,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d936e20012d7693400601e2800006013d31..."} 
[2026-07-07 22:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d936e20012d7693400601e2800006013d31..."} 
[2026-07-07 22:46:40] local.INFO: Processing buffer {"connection_id":124934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d936e20012d7693400601e2800006013d31..."} 
[2026-07-07 22:46:40] local.INFO: Packet analysis {"connection_id":124934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:46:40] local.INFO: Extracted packet for processing {"connection_id":124934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:46:40] local.INFO: GPS Element Parsed {"raw_longitude":762745664,"raw_latitude":100786816,"longitude_deg":76.2745664,"latitude_deg":10.0786816,"altitude":6,"angle":317,"satellites":49,"speed":6,"hex_longitude":"2d769340","hex_latitude":"0601e280","is_valid_coordinates":true} 
[2026-07-07 22:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561791744001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313335205986304,"note":"Value kept but may cause issues"} 
[2026-07-07 22:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085892096,"note":"Value kept but may cause issues"} 
[2026-07-07 22:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783444500000,"timestamp_ms":1783444500000,"timestamp_seconds":1783444500,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d936e20"} 
[2026-07-07 22:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 22:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561791744001,"66":27821,"163":206,"8":65280,"24":6,"16":132313335205986304,"45":8544384050085892096},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561791744001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:46:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:46:40] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313335205986304,"km_value":132313335205986.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085892096,"description":"Unknown IO ID 45"} 
[2026-07-07 22:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561791744001,"power":27821,"unknown_163":206,"unknown_8":65280,"ignition":6,"odometer":null,"unknown_45":8544384050085892096}} 
[2026-07-07 22:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":124934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448147,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:46:40] local.INFO: GPS data processed {"connection_id":124934,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:46:40] local.INFO: Acknowledgment sent {"connection_id":124934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:47:03] local.INFO: TCP Data received {"connection_id":124935,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:47:03] local.INFO: Processing buffer {"connection_id":124935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:47:03] local.INFO: IMEI packet received {"connection_id":124935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":124935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:47:03] local.INFO: TCP Data received {"connection_id":124936,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:47:03] local.INFO: Processing buffer {"connection_id":124936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:47:03] local.INFO: IMEI packet received {"connection_id":124936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":124936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:47:08] local.INFO: TCP Data received {"connection_id":124935,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:47:08] local.INFO: Processing buffer {"connection_id":124935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:47:08] local.INFO: IMEI packet received {"connection_id":124935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":124935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:47:08] local.INFO: TCP Data received {"connection_id":124936,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:47:08] local.INFO: Processing buffer {"connection_id":124936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:47:08] local.INFO: IMEI packet received {"connection_id":124936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":124936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:47:09] local.INFO: TCP Data received {"connection_id":124935,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:47:09] local.INFO: Processing buffer {"connection_id":124935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:47:09] local.INFO: Packet analysis {"connection_id":124935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:47:09] local.INFO: Extracted packet for processing {"connection_id":124935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:47:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561718528001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783444514000,"timestamp_ms":1783444514000,"timestamp_seconds":1783444514,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d93a4d0"} 
[2026-07-07 22:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 22:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561718528001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561718528001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:47:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:47:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561718528001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":124935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:47:09] local.INFO: GPS data processed {"connection_id":124935,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:47:09] local.INFO: Acknowledgment sent {"connection_id":124935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:47:13] local.INFO: TCP Data received {"connection_id":124935,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:47:13] local.INFO: Processing buffer {"connection_id":124935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:47:13] local.INFO: Packet analysis {"connection_id":124935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:47:13] local.INFO: Extracted packet for processing {"connection_id":124935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:47:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561718528001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783444514000,"timestamp_ms":1783444514000,"timestamp_seconds":1783444514,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d93a4d0"} 
[2026-07-07 22:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:47: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-07-07 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 22:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561718528001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561718528001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:47:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:47:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561718528001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":124935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:47:13] local.INFO: GPS data processed {"connection_id":124935,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:47:13] local.INFO: Acknowledgment sent {"connection_id":124935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:47:16] local.INFO: TCP Data received {"connection_id":124936,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:47:16] local.INFO: Processing buffer {"connection_id":124936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:47:16] local.INFO: Packet analysis {"connection_id":124936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:47:16] local.INFO: Extracted packet for processing {"connection_id":124936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:47:16] local.INFO: GPS Element Parsed {"raw_longitude":762745600,"raw_latitude":100786992,"longitude_deg":76.27456,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d769300","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561792000001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544243312597565440,"note":"Value kept but may cause issues"} 
[2026-07-07 22:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783444519000,"timestamp_ms":1783444519000,"timestamp_seconds":1783444519,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d93b858"} 
[2026-07-07 22:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22: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":173,"data_length":795,"current_offset":136} 
[2026-07-07 22:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561792000001,"66":28191,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544243312597565440},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561792000001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:47:16] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:47:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544243312597565440,"description":"Unknown IO ID 45"} 
[2026-07-07 22:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561792000001,"power":28191,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544243312597565440}} 
[2026-07-07 22:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":124936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448150,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:47:16] local.INFO: GPS data processed {"connection_id":124936,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:47:16] local.INFO: Acknowledgment sent {"connection_id":124936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:47:16] local.INFO: TCP Data received {"connection_id":124936,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:47:16] local.INFO: Processing buffer {"connection_id":124936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:47:16] local.INFO: Packet analysis {"connection_id":124936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:47:16] local.INFO: Extracted packet for processing {"connection_id":124936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:47:16] local.INFO: GPS Element Parsed {"raw_longitude":762745600,"raw_latitude":100786992,"longitude_deg":76.27456,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d769300","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561792000001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544243312597565440,"note":"Value kept but may cause issues"} 
[2026-07-07 22:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783444519000,"timestamp_ms":1783444519000,"timestamp_seconds":1783444519,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d93b858"} 
[2026-07-07 22:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22: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":173,"data_length":795,"current_offset":136} 
[2026-07-07 22:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561792000001,"66":28191,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544243312597565440},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561792000001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:47:16] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:47:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544243312597565440,"description":"Unknown IO ID 45"} 
[2026-07-07 22:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561792000001,"power":28191,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544243312597565440}} 
[2026-07-07 22:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":124936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448151,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:47:16] local.INFO: GPS data processed {"connection_id":124936,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:47:16] local.INFO: Acknowledgment sent {"connection_id":124936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:47:58] local.INFO: TCP Data received {"connection_id":124937,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:47:58] local.INFO: Processing buffer {"connection_id":124937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:47:58] local.INFO: IMEI packet received {"connection_id":124937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":124937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:47:59] local.INFO: TCP Data received {"connection_id":125659,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:47:59] local.INFO: Processing buffer {"connection_id":125659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:47:59] local.INFO: IMEI packet received {"connection_id":125659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":125659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:48:03] local.INFO: TCP Data received {"connection_id":124937,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:48:03] local.INFO: Processing buffer {"connection_id":124937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:48:03] local.INFO: IMEI packet received {"connection_id":124937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":124937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:48:04] local.INFO: TCP Data received {"connection_id":124937,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:48:04] local.INFO: Processing buffer {"connection_id":124937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:48:04] local.INFO: Packet analysis {"connection_id":124937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:48:04] local.INFO: Extracted packet for processing {"connection_id":124937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:48:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22: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-07-07 22:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561718528001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783444514000,"timestamp_ms":1783444514000,"timestamp_seconds":1783444514,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d93a4d0"} 
[2026-07-07 22:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 22:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561718528001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561718528001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:48:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:48:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561718528001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":124937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:48:04] local.INFO: GPS data processed {"connection_id":124937,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:48:04] local.INFO: Acknowledgment sent {"connection_id":124937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:48:05] local.INFO: TCP Data received {"connection_id":125659,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:48:05] local.INFO: Processing buffer {"connection_id":125659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:48:05] local.INFO: IMEI packet received {"connection_id":125659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":125659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:48:06] local.INFO: TCP Data received {"connection_id":125659,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:48:06] local.INFO: Processing buffer {"connection_id":125659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:48:06] local.INFO: Packet analysis {"connection_id":125659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:48:06] local.INFO: Extracted packet for processing {"connection_id":125659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:48:06] local.INFO: GPS Element Parsed {"raw_longitude":762745600,"raw_latitude":100786992,"longitude_deg":76.27456,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d769300","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561792000001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544243312597565440,"note":"Value kept but may cause issues"} 
[2026-07-07 22:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783444519000,"timestamp_ms":1783444519000,"timestamp_seconds":1783444519,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d93b858"} 
[2026-07-07 22:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 22:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561792000001,"66":28191,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544243312597565440},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561792000001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:48:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:48:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544243312597565440,"description":"Unknown IO ID 45"} 
[2026-07-07 22:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561792000001,"power":28191,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544243312597565440}} 
[2026-07-07 22:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":125659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448153,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:48:07] local.INFO: GPS data processed {"connection_id":125659,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:48:07] local.INFO: Acknowledgment sent {"connection_id":125659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:48:35] local.INFO: TCP Data received {"connection_id":124937,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:48:35] local.INFO: Processing buffer {"connection_id":124937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:48:35] local.INFO: Packet analysis {"connection_id":124937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:48:35] local.INFO: Extracted packet for processing {"connection_id":124937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:48:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561718528001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783444514000,"timestamp_ms":1783444514000,"timestamp_seconds":1783444514,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d93a4d0"} 
[2026-07-07 22:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 22:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561718528001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561718528001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:48:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:48:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561718528001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":124937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:48:35] local.INFO: GPS data processed {"connection_id":124937,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:48:35] local.INFO: Acknowledgment sent {"connection_id":124937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:48:38] local.INFO: TCP Data received {"connection_id":125659,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:48:38] local.INFO: Processing buffer {"connection_id":125659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:48:38] local.INFO: Packet analysis {"connection_id":125659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:48:38] local.INFO: Extracted packet for processing {"connection_id":125659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:48:38] local.INFO: GPS Element Parsed {"raw_longitude":762745600,"raw_latitude":100786992,"longitude_deg":76.27456,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d769300","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:48: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-07-07 22:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561792000001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544243312597565440,"note":"Value kept but may cause issues"} 
[2026-07-07 22:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783444519000,"timestamp_ms":1783444519000,"timestamp_seconds":1783444519,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d93b858"} 
[2026-07-07 22:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 22:48: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-07-07 22:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561792000001,"66":28191,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544243312597565440},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561792000001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:48:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:48:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544243312597565440,"description":"Unknown IO ID 45"} 
[2026-07-07 22:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561792000001,"power":28191,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544243312597565440}} 
[2026-07-07 22:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":125659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448155,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:48:38] local.INFO: GPS data processed {"connection_id":125659,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:48:38] local.INFO: Acknowledgment sent {"connection_id":125659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:48:58] local.INFO: TCP Data received {"connection_id":125660,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:48:58] local.INFO: Processing buffer {"connection_id":125660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:48:58] local.INFO: IMEI packet received {"connection_id":125660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":125660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:48:58] local.INFO: TCP Data received {"connection_id":126915,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:48:58] local.INFO: Processing buffer {"connection_id":126915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:48:58] local.INFO: IMEI packet received {"connection_id":126915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":126915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:49:03] local.INFO: TCP Data received {"connection_id":126915,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:49:03] local.INFO: Processing buffer {"connection_id":126915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:49:03] local.INFO: IMEI packet received {"connection_id":126915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":126915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:49:04] local.INFO: TCP Data received {"connection_id":126915,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:49:04] local.INFO: Processing buffer {"connection_id":126915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:49:04] local.INFO: Packet analysis {"connection_id":126915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:49:04] local.INFO: Extracted packet for processing {"connection_id":126915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:49:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561718528001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783444514000,"timestamp_ms":1783444514000,"timestamp_seconds":1783444514,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d93a4d0"} 
[2026-07-07 22:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 22:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561718528001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561718528001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:49:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:49:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561718528001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":126915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:49:04] local.INFO: GPS data processed {"connection_id":126915,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:49:04] local.INFO: Acknowledgment sent {"connection_id":126915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:49:05] local.INFO: TCP Data received {"connection_id":125660,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:49:05] local.INFO: Processing buffer {"connection_id":125660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:49:05] local.INFO: IMEI packet received {"connection_id":125660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":125660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:49:07] local.INFO: TCP Data received {"connection_id":125660,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:49:07] local.INFO: Processing buffer {"connection_id":125660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:49:07] local.INFO: Packet analysis {"connection_id":125660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:49:07] local.INFO: Extracted packet for processing {"connection_id":125660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:49:07] local.INFO: GPS Element Parsed {"raw_longitude":762745600,"raw_latitude":100786992,"longitude_deg":76.27456,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d769300","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:49: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-07-07 22:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561792000001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544243312597565440,"note":"Value kept but may cause issues"} 
[2026-07-07 22:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783444519000,"timestamp_ms":1783444519000,"timestamp_seconds":1783444519,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d93b858"} 
[2026-07-07 22:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 22:49: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-07-07 22:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561792000001,"66":28191,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544243312597565440},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561792000001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:49:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:49:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544243312597565440,"description":"Unknown IO ID 45"} 
[2026-07-07 22:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561792000001,"power":28191,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544243312597565440}} 
[2026-07-07 22:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":125660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448157,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:49:07] local.INFO: GPS data processed {"connection_id":125660,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:49:07] local.INFO: Acknowledgment sent {"connection_id":125660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:49:35] local.INFO: TCP Data received {"connection_id":126915,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:49:35] local.INFO: Processing buffer {"connection_id":126915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d93a4d0012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:49:35] local.INFO: Packet analysis {"connection_id":126915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:49:35] local.INFO: Extracted packet for processing {"connection_id":126915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:49:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561718528001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783444514000,"timestamp_ms":1783444514000,"timestamp_seconds":1783444514,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d93a4d0"} 
[2026-07-07 22:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 22:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561718528001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561718528001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:49:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:49:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561718528001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":126915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:49:35] local.INFO: GPS data processed {"connection_id":126915,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:49:35] local.INFO: Acknowledgment sent {"connection_id":126915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:49:39] local.INFO: TCP Data received {"connection_id":125660,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:49:39] local.INFO: Processing buffer {"connection_id":125660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:49:39] local.INFO: Packet analysis {"connection_id":125660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:49:39] local.INFO: Extracted packet for processing {"connection_id":125660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:49:39] local.INFO: GPS Element Parsed {"raw_longitude":762745600,"raw_latitude":100786992,"longitude_deg":76.27456,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d769300","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561792000001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544243312597565440,"note":"Value kept but may cause issues"} 
[2026-07-07 22:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783444519000,"timestamp_ms":1783444519000,"timestamp_seconds":1783444519,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d93b858"} 
[2026-07-07 22:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 22:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561792000001,"66":28191,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544243312597565440},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561792000001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:49:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:49:39] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544243312597565440,"description":"Unknown IO ID 45"} 
[2026-07-07 22:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561792000001,"power":28191,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544243312597565440}} 
[2026-07-07 22:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":125660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448159,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:49:39] local.INFO: GPS data processed {"connection_id":125660,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:49:39] local.INFO: Acknowledgment sent {"connection_id":125660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:49:58] local.INFO: TCP Data received {"connection_id":124938,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:49:58] local.INFO: Processing buffer {"connection_id":124938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:49:58] local.INFO: IMEI packet received {"connection_id":124938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":124938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:49:58] local.INFO: TCP Data received {"connection_id":124836,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:49:58] local.INFO: Processing buffer {"connection_id":124836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:49:58] local.INFO: IMEI packet received {"connection_id":124836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":124836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:50:05] local.INFO: TCP Data received {"connection_id":124938,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:50:05] local.INFO: Processing buffer {"connection_id":124938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:50:05] local.INFO: IMEI packet received {"connection_id":124938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":124938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:50:06] local.INFO: TCP Data received {"connection_id":124938,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:50:06] local.INFO: Processing buffer {"connection_id":124938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:50:06] local.INFO: Packet analysis {"connection_id":124938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:50:06] local.INFO: Extracted packet for processing {"connection_id":124938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:50:06] local.INFO: GPS Element Parsed {"raw_longitude":762745600,"raw_latitude":100786992,"longitude_deg":76.27456,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d769300","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561792000001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544243312597565440,"note":"Value kept but may cause issues"} 
[2026-07-07 22:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783444519000,"timestamp_ms":1783444519000,"timestamp_seconds":1783444519,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d93b858"} 
[2026-07-07 22:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 22:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561792000001,"66":28191,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544243312597565440},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561792000001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:50:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:50:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544243312597565440,"description":"Unknown IO ID 45"} 
[2026-07-07 22:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561792000001,"power":28191,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544243312597565440}} 
[2026-07-07 22:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":124938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448160,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:50:06] local.INFO: GPS data processed {"connection_id":124938,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:50:06] local.INFO: Acknowledgment sent {"connection_id":124938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:50:12] local.INFO: TCP Data received {"connection_id":124836,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:50:12] local.INFO: Processing buffer {"connection_id":124836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:50:12] local.INFO: IMEI packet received {"connection_id":124836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":124836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:50:13] local.INFO: TCP Data received {"connection_id":124836,"ip":"42.106.6.41","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 22:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124836,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 22:50:13] local.INFO: Processing buffer {"connection_id":124836,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-07 22:50:13] local.INFO: IMEI packet received {"connection_id":124836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":124836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:50:38] local.INFO: TCP Data received {"connection_id":124938,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:50:38] local.INFO: Processing buffer {"connection_id":124938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d93b858012d7693000601e3300007013d33..."} 
[2026-07-07 22:50:38] local.INFO: Packet analysis {"connection_id":124938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:50:38] local.INFO: Extracted packet for processing {"connection_id":124938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d93"} 
[2026-07-07 22:50:38] local.INFO: GPS Element Parsed {"raw_longitude":762745600,"raw_latitude":100786992,"longitude_deg":76.27456,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d769300","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:50: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-07-07 22:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561792000001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544243312597565440,"note":"Value kept but may cause issues"} 
[2026-07-07 22:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783444519000,"timestamp_ms":1783444519000,"timestamp_seconds":1783444519,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d93b858"} 
[2026-07-07 22:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 22:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-07 22:50: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-07-07 22:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561792000001,"66":28191,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544243312597565440},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561792000001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:50:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:50:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544243312597565440,"description":"Unknown IO ID 45"} 
[2026-07-07 22:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561792000001,"power":28191,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544243312597565440}} 
[2026-07-07 22:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":124938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448161,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:50:38] local.INFO: GPS data processed {"connection_id":124938,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:50:38] local.INFO: Acknowledgment sent {"connection_id":124938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:50:59] local.INFO: TCP Data received {"connection_id":125662,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:50:59] local.INFO: Processing buffer {"connection_id":125662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:50:59] local.INFO: IMEI packet received {"connection_id":125662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":125662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:51:03] local.INFO: TCP Data received {"connection_id":125662,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:51:03] local.INFO: Processing buffer {"connection_id":125662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:51:03] local.INFO: IMEI packet received {"connection_id":125662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":125662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:51:08] local.INFO: TCP Data received {"connection_id":125662,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:51:08] local.INFO: Processing buffer {"connection_id":125662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:51:08] local.INFO: IMEI packet received {"connection_id":125662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":125662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:51:09] local.INFO: TCP Data received {"connection_id":125662,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:51:09] local.INFO: Processing buffer {"connection_id":125662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:51:09] local.INFO: Packet analysis {"connection_id":125662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:51:09] local.INFO: Extracted packet for processing {"connection_id":125662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:51:09] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561796864001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544172943853432832,"note":"Value kept but may cause issues"} 
[2026-07-07 22:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783444821000,"timestamp_ms":1783444821000,"timestamp_seconds":1783444821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d985408"} 
[2026-07-07 22:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-07 22:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561796864001,"66":25223,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544172943853432832},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561796864001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:51:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:51:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544172943853432832,"description":"Unknown IO ID 45"} 
[2026-07-07 22:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561796864001,"power":25223,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544172943853432832}} 
[2026-07-07 22:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":125662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448162,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:51:09] local.INFO: GPS data processed {"connection_id":125662,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:51:09] local.INFO: Acknowledgment sent {"connection_id":125662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:51:13] local.INFO: TCP Data received {"connection_id":125662,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:51:13] local.INFO: Processing buffer {"connection_id":125662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:51:13] local.INFO: Packet analysis {"connection_id":125662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:51:13] local.INFO: Extracted packet for processing {"connection_id":125662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:51:13] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561796864001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544172943853432832,"note":"Value kept but may cause issues"} 
[2026-07-07 22:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783444821000,"timestamp_ms":1783444821000,"timestamp_seconds":1783444821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d985408"} 
[2026-07-07 22:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-07 22:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561796864001,"66":25223,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544172943853432832},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561796864001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:51:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:51:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544172943853432832,"description":"Unknown IO ID 45"} 
[2026-07-07 22:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561796864001,"power":25223,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544172943853432832}} 
[2026-07-07 22:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":125662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:51:13] local.INFO: GPS data processed {"connection_id":125662,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:51:13] local.INFO: Acknowledgment sent {"connection_id":125662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:51:58] local.INFO: TCP Data received {"connection_id":125663,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:51:58] local.INFO: Processing buffer {"connection_id":125663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:51:58] local.INFO: IMEI packet received {"connection_id":125663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":125663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:52:03] local.INFO: TCP Data received {"connection_id":125663,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:52:03] local.INFO: Processing buffer {"connection_id":125663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:52:03] local.INFO: IMEI packet received {"connection_id":125663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":125663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:52:04] local.INFO: TCP Data received {"connection_id":125663,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:52:04] local.INFO: Processing buffer {"connection_id":125663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:52:04] local.INFO: Packet analysis {"connection_id":125663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:52:04] local.INFO: Extracted packet for processing {"connection_id":125663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:52:04] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561796864001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544172943853432832,"note":"Value kept but may cause issues"} 
[2026-07-07 22:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783444821000,"timestamp_ms":1783444821000,"timestamp_seconds":1783444821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d985408"} 
[2026-07-07 22:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-07 22:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561796864001,"66":25223,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544172943853432832},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561796864001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:52:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:52:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544172943853432832,"description":"Unknown IO ID 45"} 
[2026-07-07 22:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561796864001,"power":25223,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544172943853432832}} 
[2026-07-07 22:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":125663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448164,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:52:04] local.INFO: GPS data processed {"connection_id":125663,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:52:04] local.INFO: Acknowledgment sent {"connection_id":125663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:52:36] local.INFO: TCP Data received {"connection_id":125663,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:52:36] local.INFO: Processing buffer {"connection_id":125663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:52:36] local.INFO: Packet analysis {"connection_id":125663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:52:36] local.INFO: Extracted packet for processing {"connection_id":125663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:52:36] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561796864001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544172943853432832,"note":"Value kept but may cause issues"} 
[2026-07-07 22:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783444821000,"timestamp_ms":1783444821000,"timestamp_seconds":1783444821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d985408"} 
[2026-07-07 22:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22: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":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-07 22:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561796864001,"66":25223,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544172943853432832},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561796864001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:52:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:52:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544172943853432832,"description":"Unknown IO ID 45"} 
[2026-07-07 22:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561796864001,"power":25223,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544172943853432832}} 
[2026-07-07 22:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":125663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448165,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:52:36] local.INFO: GPS data processed {"connection_id":125663,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:52:36] local.INFO: Acknowledgment sent {"connection_id":125663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:52:58] local.INFO: TCP Data received {"connection_id":125664,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:52:58] local.INFO: Processing buffer {"connection_id":125664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:52:58] local.INFO: IMEI packet received {"connection_id":125664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":125664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:53:05] local.INFO: TCP Data received {"connection_id":125664,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:53:05] local.INFO: Processing buffer {"connection_id":125664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:53:05] local.INFO: IMEI packet received {"connection_id":125664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":125664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:53:06] local.INFO: TCP Data received {"connection_id":125664,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:53:06] local.INFO: Processing buffer {"connection_id":125664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:53:06] local.INFO: Packet analysis {"connection_id":125664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:53:06] local.INFO: Extracted packet for processing {"connection_id":125664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:53:06] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561796864001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544172943853432832,"note":"Value kept but may cause issues"} 
[2026-07-07 22:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783444821000,"timestamp_ms":1783444821000,"timestamp_seconds":1783444821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d985408"} 
[2026-07-07 22:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-07 22:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561796864001,"66":25223,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544172943853432832},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561796864001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:53:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:53:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544172943853432832,"description":"Unknown IO ID 45"} 
[2026-07-07 22:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561796864001,"power":25223,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544172943853432832}} 
[2026-07-07 22:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":125664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448166,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:53:06] local.INFO: GPS data processed {"connection_id":125664,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:53:06] local.INFO: Acknowledgment sent {"connection_id":125664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:53:38] local.INFO: TCP Data received {"connection_id":125664,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:53:38] local.INFO: Processing buffer {"connection_id":125664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:53:38] local.INFO: Packet analysis {"connection_id":125664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:53:38] local.INFO: Extracted packet for processing {"connection_id":125664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:53:38] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 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-07-07 22:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561796864001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544172943853432832,"note":"Value kept but may cause issues"} 
[2026-07-07 22:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783444821000,"timestamp_ms":1783444821000,"timestamp_seconds":1783444821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d985408"} 
[2026-07-07 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-07-07 22:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-07 22:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 22:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561796864001,"66":25223,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544172943853432832},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561796864001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:53:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:53:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544172943853432832,"description":"Unknown IO ID 45"} 
[2026-07-07 22:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561796864001,"power":25223,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544172943853432832}} 
[2026-07-07 22:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":125664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448167,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:53:38] local.INFO: GPS data processed {"connection_id":125664,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:53:38] local.INFO: Acknowledgment sent {"connection_id":125664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:53:58] local.INFO: TCP Data received {"connection_id":124940,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:53:58] local.INFO: Processing buffer {"connection_id":124940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:53:58] local.INFO: IMEI packet received {"connection_id":124940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":124940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:54:03] local.INFO: TCP Data received {"connection_id":124940,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:54:03] local.INFO: Processing buffer {"connection_id":124940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:54:03] local.INFO: IMEI packet received {"connection_id":124940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":124940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:54:04] local.INFO: TCP Data received {"connection_id":124940,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:54:04] local.INFO: Processing buffer {"connection_id":124940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:54:04] local.INFO: Packet analysis {"connection_id":124940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:54:04] local.INFO: Extracted packet for processing {"connection_id":124940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:54:04] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561796864001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544172943853432832,"note":"Value kept but may cause issues"} 
[2026-07-07 22:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783444821000,"timestamp_ms":1783444821000,"timestamp_seconds":1783444821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d985408"} 
[2026-07-07 22:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-07 22:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561796864001,"66":25223,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544172943853432832},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561796864001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:54:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:54:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544172943853432832,"description":"Unknown IO ID 45"} 
[2026-07-07 22:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561796864001,"power":25223,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544172943853432832}} 
[2026-07-07 22:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":124940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448168,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:54:04] local.INFO: GPS data processed {"connection_id":124940,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:54:04] local.INFO: Acknowledgment sent {"connection_id":124940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:54:36] local.INFO: TCP Data received {"connection_id":124940,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:54:36] local.INFO: Processing buffer {"connection_id":124940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:54:36] local.INFO: Packet analysis {"connection_id":124940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:54:36] local.INFO: Extracted packet for processing {"connection_id":124940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:54:36] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561796864001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544172943853432832,"note":"Value kept but may cause issues"} 
[2026-07-07 22:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783444821000,"timestamp_ms":1783444821000,"timestamp_seconds":1783444821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d985408"} 
[2026-07-07 22:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22: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":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-07 22:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561796864001,"66":25223,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544172943853432832},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561796864001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:54:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:54:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544172943853432832,"description":"Unknown IO ID 45"} 
[2026-07-07 22:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561796864001,"power":25223,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544172943853432832}} 
[2026-07-07 22:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":124940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448169,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:54:36] local.INFO: GPS data processed {"connection_id":124940,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:54:36] local.INFO: Acknowledgment sent {"connection_id":124940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:55:03] local.INFO: TCP Data received {"connection_id":125665,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:55:03] local.INFO: Processing buffer {"connection_id":125665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:55:03] local.INFO: IMEI packet received {"connection_id":125665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":125665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:55:08] local.INFO: TCP Data received {"connection_id":125665,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:55:08] local.INFO: Processing buffer {"connection_id":125665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:55:08] local.INFO: IMEI packet received {"connection_id":125665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":125665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:55:09] local.INFO: TCP Data received {"connection_id":125665,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:55:09] local.INFO: Processing buffer {"connection_id":125665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:55:09] local.INFO: Packet analysis {"connection_id":125665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:55:09] local.INFO: Extracted packet for processing {"connection_id":125665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:55:09] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561796864001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544172943853432832,"note":"Value kept but may cause issues"} 
[2026-07-07 22:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783444821000,"timestamp_ms":1783444821000,"timestamp_seconds":1783444821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d985408"} 
[2026-07-07 22:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-07 22:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561796864001,"66":25223,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544172943853432832},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561796864001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:55:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:55:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544172943853432832,"description":"Unknown IO ID 45"} 
[2026-07-07 22:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561796864001,"power":25223,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544172943853432832}} 
[2026-07-07 22:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":125665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448170,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:55:10] local.INFO: GPS data processed {"connection_id":125665,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:55:10] local.INFO: Acknowledgment sent {"connection_id":125665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:55:13] local.INFO: TCP Data received {"connection_id":125665,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:55:13] local.INFO: Processing buffer {"connection_id":125665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d985408012d7693c00601e3300007013d33..."} 
[2026-07-07 22:55:13] local.INFO: Packet analysis {"connection_id":125665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:55:13] local.INFO: Extracted packet for processing {"connection_id":125665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:55:13] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561796864001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544172943853432832,"note":"Value kept but may cause issues"} 
[2026-07-07 22:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783444821000,"timestamp_ms":1783444821000,"timestamp_seconds":1783444821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d985408"} 
[2026-07-07 22:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22: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":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-07 22:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561796864001,"66":25223,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544172943853432832},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561796864001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:55:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:55:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544172943853432832,"description":"Unknown IO ID 45"} 
[2026-07-07 22:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561796864001,"power":25223,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544172943853432832}} 
[2026-07-07 22:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":125665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448171,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:55:13] local.INFO: GPS data processed {"connection_id":125665,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:55:13] local.INFO: Acknowledgment sent {"connection_id":125665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:55:18] local.INFO: TCP Data received {"connection_id":124837,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:55:18] local.INFO: Processing buffer {"connection_id":124837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:55:18] local.INFO: IMEI packet received {"connection_id":124837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":124837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:55:19] local.INFO: TCP Data received {"connection_id":124837,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d983c98012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d983c98012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:55:19] local.INFO: Processing buffer {"connection_id":124837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d983c98012dc5eb400537d5a0003401442d..."} 
[2026-07-07 22:55:19] local.INFO: Packet analysis {"connection_id":124837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:55:19] local.INFO: Extracted packet for processing {"connection_id":124837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d98"} 
[2026-07-07 22:55:19] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561795584001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783444815000,"timestamp_ms":1783444815000,"timestamp_seconds":1783444815,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d983c98"} 
[2026-07-07 22:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 22:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561795584001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561795584001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:55:19] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:55:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561795584001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":124837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:55:19] local.INFO: GPS data processed {"connection_id":124837,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:55:19] local.INFO: Acknowledgment sent {"connection_id":124837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:55:53] local.INFO: TCP Data received {"connection_id":124941,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:55:53] local.INFO: Processing buffer {"connection_id":124941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:55:53] local.INFO: IMEI packet received {"connection_id":124941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":124941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:55:58] local.INFO: TCP Data received {"connection_id":126918,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:55:58] local.INFO: Processing buffer {"connection_id":126918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:55:58] local.INFO: IMEI packet received {"connection_id":126918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":126918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:55:58] local.INFO: TCP Data received {"connection_id":124941,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:55:58] local.INFO: Processing buffer {"connection_id":124941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:55:58] local.INFO: IMEI packet received {"connection_id":124941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":124941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:56:00] local.INFO: TCP Data received {"connection_id":126918,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:56:00] local.INFO: Processing buffer {"connection_id":126918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:56:00] local.INFO: IMEI packet received {"connection_id":126918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":126918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:56:01] local.INFO: TCP Data received {"connection_id":126918,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:56:01] local.INFO: Processing buffer {"connection_id":126918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:56:01] local.INFO: Packet analysis {"connection_id":126918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:56:01] local.INFO: Extracted packet for processing {"connection_id":126918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:56:01] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561874176001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 22:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783445122000,"timestamp_ms":1783445122000,"timestamp_seconds":1783445122,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d9cebd0"} 
[2026-07-07 22:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:56: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 22:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561874176001,"66":25495,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561874176001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:56:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:56:01] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 22:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561874176001,"power":25495,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 22:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":126918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448173,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:56:01] local.INFO: GPS data processed {"connection_id":126918,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:56:01] local.INFO: Acknowledgment sent {"connection_id":126918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:56:03] local.INFO: TCP Data received {"connection_id":124941,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:56:03] local.INFO: Processing buffer {"connection_id":124941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:56:03] local.INFO: IMEI packet received {"connection_id":124941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":124941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:56:04] local.INFO: TCP Data received {"connection_id":124941,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:56:04] local.INFO: Processing buffer {"connection_id":124941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:56:04] local.INFO: Packet analysis {"connection_id":124941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:56:04] local.INFO: Extracted packet for processing {"connection_id":124941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:56:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561872640001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783445116000,"timestamp_ms":1783445116000,"timestamp_seconds":1783445116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d9cd460"} 
[2026-07-07 22:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561872640001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561872640001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:56:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:56:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561872640001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":124941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:56:04] local.INFO: GPS data processed {"connection_id":124941,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:56:04] local.INFO: Acknowledgment sent {"connection_id":124941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:56:36] local.INFO: TCP Data received {"connection_id":126918,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:56:36] local.INFO: Processing buffer {"connection_id":126918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:56:36] local.INFO: Packet analysis {"connection_id":126918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:56:36] local.INFO: Extracted packet for processing {"connection_id":126918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:56:36] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561874176001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 22:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783445122000,"timestamp_ms":1783445122000,"timestamp_seconds":1783445122,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d9cebd0"} 
[2026-07-07 22:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 22:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561874176001,"66":25495,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561874176001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:56:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:56:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 22:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561874176001,"power":25495,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 22:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":126918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448175,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:56:36] local.INFO: GPS data processed {"connection_id":126918,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:56:36] local.INFO: Acknowledgment sent {"connection_id":126918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:56:37] local.INFO: TCP Data received {"connection_id":124941,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:56:37] local.INFO: Processing buffer {"connection_id":124941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:56:37] local.INFO: Packet analysis {"connection_id":124941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:56:37] local.INFO: Extracted packet for processing {"connection_id":124941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:56:37] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561872640001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783445116000,"timestamp_ms":1783445116000,"timestamp_seconds":1783445116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d9cd460"} 
[2026-07-07 22:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561872640001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561872640001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:56:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:56:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561872640001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":124941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:56:37] local.INFO: GPS data processed {"connection_id":124941,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:56:37] local.INFO: Acknowledgment sent {"connection_id":124941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:56:57] local.INFO: TCP Data received {"connection_id":125666,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:56:57] local.INFO: Processing buffer {"connection_id":125666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:56:57] local.INFO: IMEI packet received {"connection_id":125666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":125666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:56:58] local.INFO: TCP Data received {"connection_id":124838,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:56:58] local.INFO: Processing buffer {"connection_id":124838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:56:58] local.INFO: IMEI packet received {"connection_id":124838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":124838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:57:03] local.INFO: TCP Data received {"connection_id":125666,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:57:03] local.INFO: Processing buffer {"connection_id":125666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:57:03] local.INFO: IMEI packet received {"connection_id":125666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":125666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:57:03] local.INFO: TCP Data received {"connection_id":124838,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:57:03] local.INFO: Processing buffer {"connection_id":124838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:57:03] local.INFO: IMEI packet received {"connection_id":124838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":124838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:57:04] local.INFO: TCP Data received {"connection_id":125666,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:57:04] local.INFO: Processing buffer {"connection_id":125666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:57:04] local.INFO: Packet analysis {"connection_id":125666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:57:04] local.INFO: Extracted packet for processing {"connection_id":125666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:57:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561872640001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783445116000,"timestamp_ms":1783445116000,"timestamp_seconds":1783445116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d9cd460"} 
[2026-07-07 22:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561872640001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561872640001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:57:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:57:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561872640001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":125666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:57:04] local.INFO: GPS data processed {"connection_id":125666,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:57:04] local.INFO: Acknowledgment sent {"connection_id":125666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:57:09] local.INFO: TCP Data received {"connection_id":124838,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:57:09] local.INFO: Processing buffer {"connection_id":124838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:57:09] local.INFO: Packet analysis {"connection_id":124838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:57:09] local.INFO: Extracted packet for processing {"connection_id":124838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:57:09] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561874176001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 22:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783445122000,"timestamp_ms":1783445122000,"timestamp_seconds":1783445122,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d9cebd0"} 
[2026-07-07 22:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 22:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561874176001,"66":25495,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561874176001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:57:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:57:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 22:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561874176001,"power":25495,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 22:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":124838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448178,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:57:10] local.INFO: GPS data processed {"connection_id":124838,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:57:10] local.INFO: Acknowledgment sent {"connection_id":124838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:57:35] local.INFO: TCP Data received {"connection_id":125666,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:57:35] local.INFO: Processing buffer {"connection_id":125666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:57:35] local.INFO: Packet analysis {"connection_id":125666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:57:35] local.INFO: Extracted packet for processing {"connection_id":125666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:57:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561872640001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783445116000,"timestamp_ms":1783445116000,"timestamp_seconds":1783445116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d9cd460"} 
[2026-07-07 22:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561872640001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561872640001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:57:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:57:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561872640001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":125666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:57:35] local.INFO: GPS data processed {"connection_id":125666,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:57:35] local.INFO: Acknowledgment sent {"connection_id":125666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:57:41] local.INFO: TCP Data received {"connection_id":124838,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:57:41] local.INFO: Processing buffer {"connection_id":124838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:57:41] local.INFO: Packet analysis {"connection_id":124838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:57:41] local.INFO: Extracted packet for processing {"connection_id":124838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:57:41] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 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-07-07 22:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561874176001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 22:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783445122000,"timestamp_ms":1783445122000,"timestamp_seconds":1783445122,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d9cebd0"} 
[2026-07-07 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-07-07 22:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 22:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 22:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561874176001,"66":25495,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561874176001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:57:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:57:41] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 22:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561874176001,"power":25495,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 22:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":124838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448180,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:57:41] local.INFO: GPS data processed {"connection_id":124838,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:57:41] local.INFO: Acknowledgment sent {"connection_id":124838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:57:57] local.INFO: TCP Data received {"connection_id":124942,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:57:57] local.INFO: Processing buffer {"connection_id":124942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:57:57] local.INFO: IMEI packet received {"connection_id":124942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":124942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:57:58] local.INFO: TCP Data received {"connection_id":125667,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:57:58] local.INFO: Processing buffer {"connection_id":125667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:57:58] local.INFO: IMEI packet received {"connection_id":125667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":125667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:58:03] local.INFO: TCP Data received {"connection_id":124942,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:58:03] local.INFO: Processing buffer {"connection_id":124942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:58:03] local.INFO: IMEI packet received {"connection_id":124942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":124942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:58:03] local.INFO: TCP Data received {"connection_id":125667,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:58:03] local.INFO: Processing buffer {"connection_id":125667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:58:03] local.INFO: IMEI packet received {"connection_id":125667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":125667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:58:04] local.INFO: TCP Data received {"connection_id":124942,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:58:04] local.INFO: Processing buffer {"connection_id":124942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:58:04] local.INFO: Packet analysis {"connection_id":124942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:58:04] local.INFO: Extracted packet for processing {"connection_id":124942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:58:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561872640001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783445116000,"timestamp_ms":1783445116000,"timestamp_seconds":1783445116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d9cd460"} 
[2026-07-07 22:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561872640001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561872640001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:58:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:58:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561872640001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":124942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:58:04] local.INFO: GPS data processed {"connection_id":124942,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:58:04] local.INFO: Acknowledgment sent {"connection_id":124942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:58:04] local.INFO: TCP Data received {"connection_id":125667,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:58:04] local.INFO: Processing buffer {"connection_id":125667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:58:04] local.INFO: Packet analysis {"connection_id":125667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:58:04] local.INFO: Extracted packet for processing {"connection_id":125667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:58:04] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561874176001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 22:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783445122000,"timestamp_ms":1783445122000,"timestamp_seconds":1783445122,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d9cebd0"} 
[2026-07-07 22:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 22:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22: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-07-07 22:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561874176001,"66":25495,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561874176001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:58:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:58:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 22:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561874176001,"power":25495,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 22:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":125667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448182,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:58:04] local.INFO: GPS data processed {"connection_id":125667,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:58:04] local.INFO: Acknowledgment sent {"connection_id":125667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:58:35] local.INFO: TCP Data received {"connection_id":124942,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:58:35] local.INFO: Processing buffer {"connection_id":124942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:58:35] local.INFO: Packet analysis {"connection_id":124942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:58:35] local.INFO: Extracted packet for processing {"connection_id":124942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:58:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561872640001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783445116000,"timestamp_ms":1783445116000,"timestamp_seconds":1783445116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d9cd460"} 
[2026-07-07 22:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561872640001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561872640001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:58:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:58:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561872640001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":124942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:58:35] local.INFO: GPS data processed {"connection_id":124942,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:58:35] local.INFO: Acknowledgment sent {"connection_id":124942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:58:35] local.INFO: TCP Data received {"connection_id":125667,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:58:35] local.INFO: Processing buffer {"connection_id":125667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:58:35] local.INFO: Packet analysis {"connection_id":125667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:58:35] local.INFO: Extracted packet for processing {"connection_id":125667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:58:35] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561874176001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 22:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783445122000,"timestamp_ms":1783445122000,"timestamp_seconds":1783445122,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d9cebd0"} 
[2026-07-07 22:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 22:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561874176001,"66":25495,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561874176001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:58:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:58:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 22:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561874176001,"power":25495,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 22:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":125667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448184,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:58:35] local.INFO: GPS data processed {"connection_id":125667,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:58:35] local.INFO: Acknowledgment sent {"connection_id":125667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:59:03] local.INFO: TCP Data received {"connection_id":125668,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:59:03] local.INFO: Processing buffer {"connection_id":125668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:59:03] local.INFO: IMEI packet received {"connection_id":125668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":125668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:59:03] local.INFO: TCP Data received {"connection_id":125669,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:59:03] local.INFO: Processing buffer {"connection_id":125669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:59:03] local.INFO: IMEI packet received {"connection_id":125669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":125669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:59:08] local.INFO: TCP Data received {"connection_id":125668,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:59:08] local.INFO: Processing buffer {"connection_id":125668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:59:08] local.INFO: IMEI packet received {"connection_id":125668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 22:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":125668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:59:08] local.INFO: TCP Data received {"connection_id":125669,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:59:08] local.INFO: Processing buffer {"connection_id":125669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:59:08] local.INFO: IMEI packet received {"connection_id":125669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 22:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":125669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 22:59:09] local.INFO: TCP Data received {"connection_id":125668,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:59:09] local.INFO: Processing buffer {"connection_id":125668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:59:09] local.INFO: Packet analysis {"connection_id":125668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:59:09] local.INFO: Extracted packet for processing {"connection_id":125668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:59:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 22:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561872640001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783445116000,"timestamp_ms":1783445116000,"timestamp_seconds":1783445116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d9cd460"} 
[2026-07-07 22:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561872640001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561872640001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:59:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:59:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561872640001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":125668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:59:09] local.INFO: GPS data processed {"connection_id":125668,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:59:09] local.INFO: Acknowledgment sent {"connection_id":125668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:59:09] local.INFO: TCP Data received {"connection_id":125669,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:59:09] local.INFO: Processing buffer {"connection_id":125669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:59:09] local.INFO: Packet analysis {"connection_id":125669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:59:09] local.INFO: Extracted packet for processing {"connection_id":125669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:59:09] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 22:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 22:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561874176001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 22:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783445122000,"timestamp_ms":1783445122000,"timestamp_seconds":1783445122,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d9cebd0"} 
[2026-07-07 22:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 22:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 22:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 22:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 22:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 22:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561874176001,"66":25495,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561874176001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:59:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:59:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 22:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561874176001,"power":25495,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 22:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":125669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448186,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:59:09] local.INFO: GPS data processed {"connection_id":125669,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:59:09] local.INFO: Acknowledgment sent {"connection_id":125669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:59:13] local.INFO: TCP Data received {"connection_id":125668,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:59:13] local.INFO: Processing buffer {"connection_id":125668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 22:59:13] local.INFO: Packet analysis {"connection_id":125668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:59:13] local.INFO: Extracted packet for processing {"connection_id":125668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:59:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 22:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561872640001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 22:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 22:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783445116000,"timestamp_ms":1783445116000,"timestamp_seconds":1783445116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d9cd460"} 
[2026-07-07 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-07-07 22:59: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-07-07 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 22:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 22:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 22:59: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-07-07 22:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 22:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 22:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561872640001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 22:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 22:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 22:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561872640001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:59:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 22:59:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 22:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 22:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561872640001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 22:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":125668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:59:13] local.INFO: GPS data processed {"connection_id":125668,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:59:13] local.INFO: Acknowledgment sent {"connection_id":125668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:59:13] local.INFO: TCP Data received {"connection_id":125669,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:59:13] local.INFO: Processing buffer {"connection_id":125669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 22:59:13] local.INFO: Packet analysis {"connection_id":125669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:59:13] local.INFO: Extracted packet for processing {"connection_id":125669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 22:59:13] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 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-07-07 22:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561874176001,"note":"Value kept but may cause issues"} 
[2026-07-07 22:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 22:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 22:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 22:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783445122000,"timestamp_ms":1783445122000,"timestamp_seconds":1783445122,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d9cebd0"} 
[2026-07-07 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-07-07 22:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 22:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 22:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 22:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 22:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 22:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 22:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 22:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 22:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561874176001,"66":25495,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 22:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 22:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 22:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561874176001,"description":"Unknown IO ID 0"} 
[2026-07-07 22:59:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 22:59:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 22:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 22:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 22:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561874176001,"power":25495,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 22:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":125669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448188,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 22:59:14] local.INFO: GPS data processed {"connection_id":125669,"processed":1,"errors":0,"total":1} 
[2026-07-07 22:59:14] local.INFO: Acknowledgment sent {"connection_id":125669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 22:59:58] local.INFO: TCP Data received {"connection_id":126919,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:59:58] local.INFO: Processing buffer {"connection_id":126919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 22:59:58] local.INFO: IMEI packet received {"connection_id":126919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 22:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":126919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 22:59:58] local.INFO: TCP Data received {"connection_id":126920,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:59:58] local.INFO: Processing buffer {"connection_id":126920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 22:59:58] local.INFO: IMEI packet received {"connection_id":126920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 22:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":126920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:00:03] local.INFO: TCP Data received {"connection_id":126919,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:00:03] local.INFO: Processing buffer {"connection_id":126919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:00:03] local.INFO: IMEI packet received {"connection_id":126919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":126919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:00:03] local.INFO: TCP Data received {"connection_id":126920,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:00:03] local.INFO: Processing buffer {"connection_id":126920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:00:03] local.INFO: IMEI packet received {"connection_id":126920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":126920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:00:04] local.INFO: TCP Data received {"connection_id":126919,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:00:04] local.INFO: Processing buffer {"connection_id":126919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:00:04] local.INFO: Packet analysis {"connection_id":126919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 23:00:04] local.INFO: Extracted packet for processing {"connection_id":126919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 23:00:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23: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-07-07 23:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561872640001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783445116000,"timestamp_ms":1783445116000,"timestamp_seconds":1783445116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d9cd460"} 
[2026-07-07 23:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 23:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23: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-07-07 23:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561872640001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561872640001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:00:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:00:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561872640001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":126919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:00:04] local.INFO: GPS data processed {"connection_id":126919,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:00:04] local.INFO: Acknowledgment sent {"connection_id":126919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:00:04] local.INFO: TCP Data received {"connection_id":126920,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 23:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 23:00:04] local.INFO: Processing buffer {"connection_id":126920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 23:00:04] local.INFO: Packet analysis {"connection_id":126920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 23:00:04] local.INFO: Extracted packet for processing {"connection_id":126920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 23:00:04] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23: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-07-07 23:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561874176001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 23:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783445122000,"timestamp_ms":1783445122000,"timestamp_seconds":1783445122,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d9cebd0"} 
[2026-07-07 23:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 23:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23: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-07-07 23:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126920,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126920,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561874176001,"66":25495,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561874176001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:00:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:00:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 23:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561874176001,"power":25495,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 23:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":126920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448190,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:00:04] local.INFO: GPS data processed {"connection_id":126920,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:00:04] local.INFO: Acknowledgment sent {"connection_id":126920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:00:35] local.INFO: TCP Data received {"connection_id":126919,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:00:35] local.INFO: Processing buffer {"connection_id":126919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d9cd460012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:00:35] local.INFO: Packet analysis {"connection_id":126919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 23:00:35] local.INFO: Extracted packet for processing {"connection_id":126919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 23:00:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561872640001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783445116000,"timestamp_ms":1783445116000,"timestamp_seconds":1783445116,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d9cd460"} 
[2026-07-07 23:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 23:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561872640001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561872640001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:00:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:00:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561872640001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":126919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:00:35] local.INFO: GPS data processed {"connection_id":126919,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:00:35] local.INFO: Acknowledgment sent {"connection_id":126919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:00:39] local.INFO: TCP Data received {"connection_id":126920,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 23:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 23:00:39] local.INFO: Processing buffer {"connection_id":126920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3d9cebd0012d7693c00601e3300007013d33..."} 
[2026-07-07 23:00:39] local.INFO: Packet analysis {"connection_id":126920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 23:00:39] local.INFO: Extracted packet for processing {"connection_id":126920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3d9c"} 
[2026-07-07 23:00:39] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23: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-07-07 23:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561874176001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 23:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783445122000,"timestamp_ms":1783445122000,"timestamp_seconds":1783445122,"priority":1,"record_length":96,"hex_timestamp":"0000019f3d9cebd0"} 
[2026-07-07 23:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-07 23:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23: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-07-07 23:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126920,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126920,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561874176001,"66":25495,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561874176001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:00:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:00:39] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 23:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561874176001,"power":25495,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 23:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":126920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448192,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:00:39] local.INFO: GPS data processed {"connection_id":126920,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:00:39] local.INFO: Acknowledgment sent {"connection_id":126920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:00:58] local.INFO: TCP Data received {"connection_id":126921,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:00:58] local.INFO: Processing buffer {"connection_id":126921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:00:58] local.INFO: IMEI packet received {"connection_id":126921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":126921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:00:58] local.INFO: TCP Data received {"connection_id":125670,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:00:58] local.INFO: Processing buffer {"connection_id":125670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:00:58] local.INFO: IMEI packet received {"connection_id":125670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":125670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:01:03] local.INFO: TCP Data received {"connection_id":125670,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:01:03] local.INFO: Processing buffer {"connection_id":125670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:01:03] local.INFO: IMEI packet received {"connection_id":125670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":125670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:01:03] local.INFO: TCP Data received {"connection_id":126921,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:01:03] local.INFO: Processing buffer {"connection_id":126921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:01:03] local.INFO: IMEI packet received {"connection_id":126921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":126921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:01:03] local.INFO: TCP Data received {"connection_id":126921,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:01:03] local.INFO: Processing buffer {"connection_id":126921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:01:03] local.INFO: IMEI packet received {"connection_id":126921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":126921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:01:04] local.INFO: TCP Data received {"connection_id":125670,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:01:04] local.INFO: Processing buffer {"connection_id":125670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:01:04] local.INFO: Packet analysis {"connection_id":125670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:01:04] local.INFO: Extracted packet for processing {"connection_id":125670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:01:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561949696001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783445417000,"timestamp_ms":1783445417000,"timestamp_seconds":1783445417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da16c28"} 
[2026-07-07 23:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561949696001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561949696001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:01:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:01:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561949696001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":125670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:01:04] local.INFO: GPS data processed {"connection_id":125670,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:01:04] local.INFO: Acknowledgment sent {"connection_id":125670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:01:05] local.INFO: TCP Data received {"connection_id":126921,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:01:05] local.INFO: Processing buffer {"connection_id":126921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:01:05] local.INFO: Packet analysis {"connection_id":126921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:01:05] local.INFO: Extracted packet for processing {"connection_id":126921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:01:05] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561951232001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 23:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783445423000,"timestamp_ms":1783445423000,"timestamp_seconds":1783445423,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da18398"} 
[2026-07-07 23:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561951232001,"66":25462,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561951232001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:01:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:01:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 23:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561951232001,"power":25462,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 23:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":126921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448194,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:01:05] local.INFO: GPS data processed {"connection_id":126921,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:01:05] local.INFO: Acknowledgment sent {"connection_id":126921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:01:09] local.INFO: TCP Data received {"connection_id":126921,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:01:09] local.INFO: Processing buffer {"connection_id":126921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:01:09] local.INFO: Packet analysis {"connection_id":126921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:01:09] local.INFO: Extracted packet for processing {"connection_id":126921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:01:09] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561951232001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 23:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783445423000,"timestamp_ms":1783445423000,"timestamp_seconds":1783445423,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da18398"} 
[2026-07-07 23:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561951232001,"66":25462,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561951232001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:01:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:01:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 23:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561951232001,"power":25462,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 23:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":126921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448195,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:01:09] local.INFO: GPS data processed {"connection_id":126921,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:01:09] local.INFO: Acknowledgment sent {"connection_id":126921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:01:35] local.INFO: TCP Data received {"connection_id":125670,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:01:35] local.INFO: Processing buffer {"connection_id":125670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:01:35] local.INFO: Packet analysis {"connection_id":125670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:01:35] local.INFO: Extracted packet for processing {"connection_id":125670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:01:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561949696001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783445417000,"timestamp_ms":1783445417000,"timestamp_seconds":1783445417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da16c28"} 
[2026-07-07 23:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561949696001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561949696001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:01:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:01:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561949696001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":125670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:01:35] local.INFO: GPS data processed {"connection_id":125670,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:01:35] local.INFO: Acknowledgment sent {"connection_id":125670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:01:40] local.INFO: TCP Data received {"connection_id":126921,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:01:40] local.INFO: Processing buffer {"connection_id":126921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:01:40] local.INFO: Packet analysis {"connection_id":126921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:01:40] local.INFO: Extracted packet for processing {"connection_id":126921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:01:40] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561951232001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 23:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783445423000,"timestamp_ms":1783445423000,"timestamp_seconds":1783445423,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da18398"} 
[2026-07-07 23:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561951232001,"66":25462,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561951232001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:01:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:01:40] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 23:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561951232001,"power":25462,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 23:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":126921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448197,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:01:40] local.INFO: GPS data processed {"connection_id":126921,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:01:40] local.INFO: Acknowledgment sent {"connection_id":126921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:01:58] local.INFO: TCP Data received {"connection_id":125671,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:01:58] local.INFO: Processing buffer {"connection_id":125671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:01:58] local.INFO: IMEI packet received {"connection_id":125671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":125671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:02:03] local.INFO: TCP Data received {"connection_id":125671,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:02:03] local.INFO: Processing buffer {"connection_id":125671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:02:03] local.INFO: IMEI packet received {"connection_id":125671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":125671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:02:03] local.INFO: TCP Data received {"connection_id":126922,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:02:03] local.INFO: Processing buffer {"connection_id":126922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:02:03] local.INFO: IMEI packet received {"connection_id":126922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":126922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:02:04] local.INFO: TCP Data received {"connection_id":125671,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:02:04] local.INFO: Processing buffer {"connection_id":125671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:02:04] local.INFO: Packet analysis {"connection_id":125671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:02:04] local.INFO: Extracted packet for processing {"connection_id":125671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:02:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561949696001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783445417000,"timestamp_ms":1783445417000,"timestamp_seconds":1783445417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da16c28"} 
[2026-07-07 23:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561949696001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561949696001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:02:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:02:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561949696001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":125671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:02:04] local.INFO: GPS data processed {"connection_id":125671,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:02:04] local.INFO: Acknowledgment sent {"connection_id":125671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:02:08] local.INFO: TCP Data received {"connection_id":126922,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:02:08] local.INFO: Processing buffer {"connection_id":126922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:02:08] local.INFO: IMEI packet received {"connection_id":126922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":126922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:02:09] local.INFO: TCP Data received {"connection_id":126922,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:02:09] local.INFO: Processing buffer {"connection_id":126922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:02:09] local.INFO: Packet analysis {"connection_id":126922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:02:09] local.INFO: Extracted packet for processing {"connection_id":126922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:02:09] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561951232001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 23:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783445423000,"timestamp_ms":1783445423000,"timestamp_seconds":1783445423,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da18398"} 
[2026-07-07 23:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561951232001,"66":25462,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561951232001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:02:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:02:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 23:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561951232001,"power":25462,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 23:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":126922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448199,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:02:09] local.INFO: GPS data processed {"connection_id":126922,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:02:09] local.INFO: Acknowledgment sent {"connection_id":126922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:02:14] local.INFO: TCP Data received {"connection_id":126922,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:02:14] local.INFO: Processing buffer {"connection_id":126922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:02:14] local.INFO: Packet analysis {"connection_id":126922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:02:14] local.INFO: Extracted packet for processing {"connection_id":126922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:02:14] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561951232001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 23:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783445423000,"timestamp_ms":1783445423000,"timestamp_seconds":1783445423,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da18398"} 
[2026-07-07 23:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561951232001,"66":25462,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561951232001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:02:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:02:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 23:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561951232001,"power":25462,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 23:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":126922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448200,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:02:14] local.INFO: GPS data processed {"connection_id":126922,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:02:14] local.INFO: Acknowledgment sent {"connection_id":126922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:02:35] local.INFO: TCP Data received {"connection_id":125671,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:02:35] local.INFO: Processing buffer {"connection_id":125671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:02:35] local.INFO: Packet analysis {"connection_id":125671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:02:35] local.INFO: Extracted packet for processing {"connection_id":125671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:02:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561949696001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783445417000,"timestamp_ms":1783445417000,"timestamp_seconds":1783445417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da16c28"} 
[2026-07-07 23:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561949696001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561949696001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:02:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:02:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561949696001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":125671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:02:35] local.INFO: GPS data processed {"connection_id":125671,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:02:35] local.INFO: Acknowledgment sent {"connection_id":125671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:02:58] local.INFO: TCP Data received {"connection_id":125672,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:02:58] local.INFO: Processing buffer {"connection_id":125672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:02:58] local.INFO: IMEI packet received {"connection_id":125672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":125672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:02:59] local.INFO: TCP Data received {"connection_id":124839,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:02:59] local.INFO: Processing buffer {"connection_id":124839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:02:59] local.INFO: IMEI packet received {"connection_id":124839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":124839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:03:03] local.INFO: TCP Data received {"connection_id":125672,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:03:03] local.INFO: Processing buffer {"connection_id":125672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:03:03] local.INFO: IMEI packet received {"connection_id":125672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":125672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:03:03] local.INFO: TCP Data received {"connection_id":124839,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:03:03] local.INFO: Processing buffer {"connection_id":124839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:03:03] local.INFO: IMEI packet received {"connection_id":124839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":124839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:03:05] local.INFO: TCP Data received {"connection_id":124839,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:03:05] local.INFO: Processing buffer {"connection_id":124839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:03:05] local.INFO: Packet analysis {"connection_id":124839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:03:05] local.INFO: Extracted packet for processing {"connection_id":124839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561951232001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 23:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783445423000,"timestamp_ms":1783445423000,"timestamp_seconds":1783445423,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da18398"} 
[2026-07-07 23:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561951232001,"66":25462,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561951232001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:03:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:03:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 23:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561951232001,"power":25462,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 23:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":124839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448202,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:03:05] local.INFO: GPS data processed {"connection_id":124839,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:03:05] local.INFO: Acknowledgment sent {"connection_id":124839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:03:08] local.INFO: TCP Data received {"connection_id":124839,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:03:08] local.INFO: Processing buffer {"connection_id":124839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:03:08] local.INFO: Packet analysis {"connection_id":124839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:03:08] local.INFO: Extracted packet for processing {"connection_id":124839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:03:08] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561951232001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 23:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783445423000,"timestamp_ms":1783445423000,"timestamp_seconds":1783445423,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da18398"} 
[2026-07-07 23:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561951232001,"66":25462,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561951232001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:03:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:03:08] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 23:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561951232001,"power":25462,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 23:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":124839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448203,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:03:08] local.INFO: GPS data processed {"connection_id":124839,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:03:08] local.INFO: Acknowledgment sent {"connection_id":124839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:03:11] local.INFO: TCP Data received {"connection_id":125672,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:03:11] local.INFO: Processing buffer {"connection_id":125672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:03:11] local.INFO: Packet analysis {"connection_id":125672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:03:11] local.INFO: Extracted packet for processing {"connection_id":125672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:03:11] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561949696001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783445417000,"timestamp_ms":1783445417000,"timestamp_seconds":1783445417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da16c28"} 
[2026-07-07 23:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:03: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-07-07 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561949696001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561949696001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:03:11] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:03:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561949696001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":125672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:03:11] local.INFO: GPS data processed {"connection_id":125672,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:03:11] local.INFO: Acknowledgment sent {"connection_id":125672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:03:40] local.INFO: TCP Data received {"connection_id":124839,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:03:40] local.INFO: Processing buffer {"connection_id":124839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:03:40] local.INFO: Packet analysis {"connection_id":124839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:03:40] local.INFO: Extracted packet for processing {"connection_id":124839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:03:40] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561951232001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 23:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783445423000,"timestamp_ms":1783445423000,"timestamp_seconds":1783445423,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da18398"} 
[2026-07-07 23:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561951232001,"66":25462,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561951232001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:03:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:03:40] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 23:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561951232001,"power":25462,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 23:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":124839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448205,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:03:40] local.INFO: GPS data processed {"connection_id":124839,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:03:40] local.INFO: Acknowledgment sent {"connection_id":124839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:03:42] local.INFO: TCP Data received {"connection_id":125672,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:03:42] local.INFO: Processing buffer {"connection_id":125672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:03:42] local.INFO: Packet analysis {"connection_id":125672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:03:42] local.INFO: Extracted packet for processing {"connection_id":125672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:03:42] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561949696001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:03: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-07-07 23:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783445417000,"timestamp_ms":1783445417000,"timestamp_seconds":1783445417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da16c28"} 
[2026-07-07 23:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23: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":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561949696001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561949696001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:03:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:03:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561949696001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":125672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:03:42] local.INFO: GPS data processed {"connection_id":125672,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:03:42] local.INFO: Acknowledgment sent {"connection_id":125672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:03:58] local.INFO: TCP Data received {"connection_id":126923,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:03:58] local.INFO: Processing buffer {"connection_id":126923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:03:58] local.INFO: IMEI packet received {"connection_id":126923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":126923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:03:58] local.INFO: TCP Data received {"connection_id":125673,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:03:58] local.INFO: Processing buffer {"connection_id":125673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:03:58] local.INFO: IMEI packet received {"connection_id":125673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":125673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:04:03] local.INFO: TCP Data received {"connection_id":126923,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:04:03] local.INFO: Processing buffer {"connection_id":126923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:04:03] local.INFO: IMEI packet received {"connection_id":126923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":126923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:04:03] local.INFO: TCP Data received {"connection_id":125673,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:04:03] local.INFO: Processing buffer {"connection_id":125673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:04:03] local.INFO: IMEI packet received {"connection_id":125673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":125673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:04:03] local.INFO: TCP Data received {"connection_id":126923,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:04:03] local.INFO: Processing buffer {"connection_id":126923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:04:03] local.INFO: Packet analysis {"connection_id":126923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:04:03] local.INFO: Extracted packet for processing {"connection_id":126923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:04:03] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561951232001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 23:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783445423000,"timestamp_ms":1783445423000,"timestamp_seconds":1783445423,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da18398"} 
[2026-07-07 23:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561951232001,"66":25462,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561951232001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:04:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:04:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 23:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561951232001,"power":25462,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 23:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":126923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448207,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:04:04] local.INFO: GPS data processed {"connection_id":126923,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:04:04] local.INFO: Acknowledgment sent {"connection_id":126923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:04:04] local.INFO: TCP Data received {"connection_id":125673,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:04:04] local.INFO: Processing buffer {"connection_id":125673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:04:04] local.INFO: Packet analysis {"connection_id":125673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:04:04] local.INFO: Extracted packet for processing {"connection_id":125673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:04:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561949696001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783445417000,"timestamp_ms":1783445417000,"timestamp_seconds":1783445417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da16c28"} 
[2026-07-07 23:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561949696001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561949696001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:04:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:04:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561949696001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":125673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:04:04] local.INFO: GPS data processed {"connection_id":125673,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:04:04] local.INFO: Acknowledgment sent {"connection_id":125673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:04:35] local.INFO: TCP Data received {"connection_id":125673,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:04:35] local.INFO: Processing buffer {"connection_id":125673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:04:35] local.INFO: Packet analysis {"connection_id":125673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:04:35] local.INFO: Extracted packet for processing {"connection_id":125673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:04:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561949696001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783445417000,"timestamp_ms":1783445417000,"timestamp_seconds":1783445417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da16c28"} 
[2026-07-07 23:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561949696001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561949696001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:04:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:04:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561949696001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":125673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:04:35] local.INFO: GPS data processed {"connection_id":125673,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:04:35] local.INFO: Acknowledgment sent {"connection_id":125673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:04:35] local.INFO: TCP Data received {"connection_id":126923,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:04:35] local.INFO: Processing buffer {"connection_id":126923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:04:35] local.INFO: Packet analysis {"connection_id":126923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:04:35] local.INFO: Extracted packet for processing {"connection_id":126923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:04:35] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561951232001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 23:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783445423000,"timestamp_ms":1783445423000,"timestamp_seconds":1783445423,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da18398"} 
[2026-07-07 23:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561951232001,"66":25462,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561951232001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:04:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:04:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 23:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561951232001,"power":25462,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 23:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":126923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448210,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:04:35] local.INFO: GPS data processed {"connection_id":126923,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:04:35] local.INFO: Acknowledgment sent {"connection_id":126923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:04:57] local.INFO: TCP Data received {"connection_id":124943,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:04:57] local.INFO: Processing buffer {"connection_id":124943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:04:57] local.INFO: IMEI packet received {"connection_id":124943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":124943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:04:58] local.INFO: TCP Data received {"connection_id":124840,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:04:58] local.INFO: Processing buffer {"connection_id":124840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:04:58] local.INFO: IMEI packet received {"connection_id":124840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":124840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:05:03] local.INFO: TCP Data received {"connection_id":124943,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:05:03] local.INFO: Processing buffer {"connection_id":124943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:05:03] local.INFO: IMEI packet received {"connection_id":124943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":124943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:05:03] local.INFO: TCP Data received {"connection_id":124840,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:05:03] local.INFO: Processing buffer {"connection_id":124840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:05:03] local.INFO: IMEI packet received {"connection_id":124840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":124840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:05:04] local.INFO: TCP Data received {"connection_id":124943,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:05:04] local.INFO: Processing buffer {"connection_id":124943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:05:04] local.INFO: Packet analysis {"connection_id":124943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:05:04] local.INFO: Extracted packet for processing {"connection_id":124943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:05:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561949696001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783445417000,"timestamp_ms":1783445417000,"timestamp_seconds":1783445417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da16c28"} 
[2026-07-07 23:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561949696001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561949696001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:05:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:05:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561949696001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":124943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:05:04] local.INFO: GPS data processed {"connection_id":124943,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:05:04] local.INFO: Acknowledgment sent {"connection_id":124943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:05:04] local.INFO: TCP Data received {"connection_id":124840,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:05:04] local.INFO: Processing buffer {"connection_id":124840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:05:04] local.INFO: Packet analysis {"connection_id":124840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:05:04] local.INFO: Extracted packet for processing {"connection_id":124840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:05:04] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561951232001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 23:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783445423000,"timestamp_ms":1783445423000,"timestamp_seconds":1783445423,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da18398"} 
[2026-07-07 23:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561951232001,"66":25462,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561951232001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:05:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:05:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 23:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561951232001,"power":25462,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 23:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":124840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448212,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:05:04] local.INFO: GPS data processed {"connection_id":124840,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:05:04] local.INFO: Acknowledgment sent {"connection_id":124840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:05:35] local.INFO: TCP Data received {"connection_id":124943,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:05:35] local.INFO: Processing buffer {"connection_id":124943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da16c28012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:05:35] local.INFO: Packet analysis {"connection_id":124943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:05:35] local.INFO: Extracted packet for processing {"connection_id":124943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:05:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561949696001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783445417000,"timestamp_ms":1783445417000,"timestamp_seconds":1783445417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da16c28"} 
[2026-07-07 23:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561949696001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561949696001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:05:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:05:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561949696001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":124943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:05:35] local.INFO: GPS data processed {"connection_id":124943,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:05:35] local.INFO: Acknowledgment sent {"connection_id":124943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:05:36] local.INFO: TCP Data received {"connection_id":124840,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:05:36] local.INFO: Processing buffer {"connection_id":124840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da18398012d7693c00601e3300007013d33..."} 
[2026-07-07 23:05:36] local.INFO: Packet analysis {"connection_id":124840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:05:36] local.INFO: Extracted packet for processing {"connection_id":124840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da1"} 
[2026-07-07 23:05:36] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456561951232001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 23:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783445423000,"timestamp_ms":1783445423000,"timestamp_seconds":1783445423,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da18398"} 
[2026-07-07 23:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456561951232001,"66":25462,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456561951232001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:05:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:05:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 23:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456561951232001,"power":25462,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 23:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":124840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448214,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:05:36] local.INFO: GPS data processed {"connection_id":124840,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:05:36] local.INFO: Acknowledgment sent {"connection_id":124840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:05:57] local.INFO: TCP Data received {"connection_id":124841,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:05:57] local.INFO: Processing buffer {"connection_id":124841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:05:57] local.INFO: IMEI packet received {"connection_id":124841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":124841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:05:58] local.INFO: TCP Data received {"connection_id":125674,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:05:58] local.INFO: Processing buffer {"connection_id":125674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:05:58] local.INFO: IMEI packet received {"connection_id":125674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":125674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:06:02] local.INFO: TCP Data received {"connection_id":125674,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:06:02] local.INFO: Processing buffer {"connection_id":125674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:06:02] local.INFO: IMEI packet received {"connection_id":125674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":125674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:06:03] local.INFO: TCP Data received {"connection_id":125674,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:06:03] local.INFO: Processing buffer {"connection_id":125674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:06:03] local.INFO: IMEI packet received {"connection_id":125674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":125674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:06:03] local.INFO: TCP Data received {"connection_id":124841,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:06:03] local.INFO: Processing buffer {"connection_id":124841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:06:03] local.INFO: IMEI packet received {"connection_id":124841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":124841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:06:03] local.INFO: TCP Data received {"connection_id":125674,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da61b60012d7693c00601e3300007013d33..."} 
[2026-07-07 23:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da61b60012d7693c00601e3300007013d33..."} 
[2026-07-07 23:06:03] local.INFO: Processing buffer {"connection_id":125674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da61b60012d7693c00601e3300007013d33..."} 
[2026-07-07 23:06:03] local.INFO: Packet analysis {"connection_id":125674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:06:03] local.INFO: Extracted packet for processing {"connection_id":125674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:06:03] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562028288001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 23:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783445724000,"timestamp_ms":1783445724000,"timestamp_seconds":1783445724,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da61b60"} 
[2026-07-07 23:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 23:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562028288001,"66":25278,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562028288001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:06:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:06:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 23:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562028288001,"power":25278,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 23:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":125674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448215,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:06:04] local.INFO: GPS data processed {"connection_id":125674,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:06:04] local.INFO: Acknowledgment sent {"connection_id":125674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:06:04] local.INFO: TCP Data received {"connection_id":124841,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:06:04] local.INFO: Processing buffer {"connection_id":124841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:06:04] local.INFO: Packet analysis {"connection_id":124841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:06:04] local.INFO: Extracted packet for processing {"connection_id":124841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:06:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562026752001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783445718000,"timestamp_ms":1783445718000,"timestamp_seconds":1783445718,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da603f0"} 
[2026-07-07 23:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562026752001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562026752001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:06:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:06:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562026752001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":124841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:06:04] local.INFO: GPS data processed {"connection_id":124841,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:06:04] local.INFO: Acknowledgment sent {"connection_id":124841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:06:35] local.INFO: TCP Data received {"connection_id":124841,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:06:35] local.INFO: Processing buffer {"connection_id":124841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:06:35] local.INFO: Packet analysis {"connection_id":124841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:06:35] local.INFO: Extracted packet for processing {"connection_id":124841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:06:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562026752001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783445718000,"timestamp_ms":1783445718000,"timestamp_seconds":1783445718,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da603f0"} 
[2026-07-07 23:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562026752001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562026752001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:06:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:06:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562026752001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":124841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:06:35] local.INFO: GPS data processed {"connection_id":124841,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:06:35] local.INFO: Acknowledgment sent {"connection_id":124841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:06:35] local.INFO: TCP Data received {"connection_id":125674,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da61b60012d7693c00601e3300007013d33..."} 
[2026-07-07 23:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da61b60012d7693c00601e3300007013d33..."} 
[2026-07-07 23:06:35] local.INFO: Processing buffer {"connection_id":125674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da61b60012d7693c00601e3300007013d33..."} 
[2026-07-07 23:06:35] local.INFO: Packet analysis {"connection_id":125674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:06:35] local.INFO: Extracted packet for processing {"connection_id":125674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:06:35] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562028288001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 23:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783445724000,"timestamp_ms":1783445724000,"timestamp_seconds":1783445724,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da61b60"} 
[2026-07-07 23:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 23:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562028288001,"66":25278,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562028288001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:06:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:06:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 23:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562028288001,"power":25278,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 23:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":125674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448218,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:06:35] local.INFO: GPS data processed {"connection_id":125674,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:06:35] local.INFO: Acknowledgment sent {"connection_id":125674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:06:58] local.INFO: TCP Data received {"connection_id":124944,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:06:58] local.INFO: Processing buffer {"connection_id":124944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:06:58] local.INFO: IMEI packet received {"connection_id":124944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":124944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:06:58] local.INFO: TCP Data received {"connection_id":124945,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124945,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:06:58] local.INFO: Processing buffer {"connection_id":124945,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:06:58] local.INFO: IMEI packet received {"connection_id":124945,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":124945,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:07:03] local.INFO: TCP Data received {"connection_id":124944,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:07:03] local.INFO: Processing buffer {"connection_id":124944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:07:03] local.INFO: IMEI packet received {"connection_id":124944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":124944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:07:03] local.INFO: TCP Data received {"connection_id":124945,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124945,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:07:03] local.INFO: Processing buffer {"connection_id":124945,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:07:03] local.INFO: IMEI packet received {"connection_id":124945,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":124945,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:07:04] local.INFO: TCP Data received {"connection_id":124944,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:07:04] local.INFO: Processing buffer {"connection_id":124944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:07:04] local.INFO: Packet analysis {"connection_id":124944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:07:04] local.INFO: Extracted packet for processing {"connection_id":124944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:07:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562026752001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783445718000,"timestamp_ms":1783445718000,"timestamp_seconds":1783445718,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da603f0"} 
[2026-07-07 23:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562026752001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562026752001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:07:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:07:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562026752001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":124944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:07:04] local.INFO: GPS data processed {"connection_id":124944,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:07:04] local.INFO: Acknowledgment sent {"connection_id":124944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:07:04] local.INFO: TCP Data received {"connection_id":124945,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da61b60012d7693c00601e3300007013d33..."} 
[2026-07-07 23:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da61b60012d7693c00601e3300007013d33..."} 
[2026-07-07 23:07:04] local.INFO: Processing buffer {"connection_id":124945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da61b60012d7693c00601e3300007013d33..."} 
[2026-07-07 23:07:04] local.INFO: Packet analysis {"connection_id":124945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:07:04] local.INFO: Extracted packet for processing {"connection_id":124945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:07:04] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562028288001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 23:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783445724000,"timestamp_ms":1783445724000,"timestamp_seconds":1783445724,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da61b60"} 
[2026-07-07 23:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-07 23:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124945,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124945,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562028288001,"66":25278,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562028288001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:07:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:07:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 23:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562028288001,"power":25278,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 23:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":124945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448220,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:07:04] local.INFO: GPS data processed {"connection_id":124945,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:07:04] local.INFO: Acknowledgment sent {"connection_id":124945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:07:35] local.INFO: TCP Data received {"connection_id":124944,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:07:35] local.INFO: Processing buffer {"connection_id":124944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:07:35] local.INFO: Packet analysis {"connection_id":124944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:07:35] local.INFO: Extracted packet for processing {"connection_id":124944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:07:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562026752001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783445718000,"timestamp_ms":1783445718000,"timestamp_seconds":1783445718,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da603f0"} 
[2026-07-07 23:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562026752001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562026752001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:07:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:07:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562026752001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":124944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:07:35] local.INFO: GPS data processed {"connection_id":124944,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:07:35] local.INFO: Acknowledgment sent {"connection_id":124944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:07:35] local.INFO: TCP Data received {"connection_id":124945,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da73888012d7693c00601e3300007013d33..."} 
[2026-07-07 23:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da73888012d7693c00601e3300007013d33..."} 
[2026-07-07 23:07:35] local.INFO: Processing buffer {"connection_id":124945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da73888012d7693c00601e3300007013d33..."} 
[2026-07-07 23:07:35] local.INFO: Packet analysis {"connection_id":124945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da7"} 
[2026-07-07 23:07:35] local.INFO: Extracted packet for processing {"connection_id":124945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da7"} 
[2026-07-07 23:07:35] local.INFO: GPS Element Parsed {"raw_longitude":762745792,"raw_latitude":100786992,"longitude_deg":76.2745792,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d7693c0","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562105344001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 23:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783445797000,"timestamp_ms":1783445797000,"timestamp_seconds":1783445797,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da73888"} 
[2026-07-07 23:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-07 23:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124945,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124945,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562105344001,"66":25419,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562105344001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:07:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:07:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 23:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562105344001,"power":25419,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 23:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":124945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448222,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:07:35] local.INFO: GPS data processed {"connection_id":124945,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:07:35] local.INFO: Acknowledgment sent {"connection_id":124945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:07:57] local.INFO: TCP Data received {"connection_id":125675,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:07:57] local.INFO: Processing buffer {"connection_id":125675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:07:57] local.INFO: IMEI packet received {"connection_id":125675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":125675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:07:58] local.INFO: TCP Data received {"connection_id":126924,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:07:58] local.INFO: Processing buffer {"connection_id":126924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:07:58] local.INFO: IMEI packet received {"connection_id":126924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":126924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:08:00] local.INFO: TCP Data received {"connection_id":126924,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:08:00] local.INFO: Processing buffer {"connection_id":126924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:08:00] local.INFO: IMEI packet received {"connection_id":126924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":126924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:08:03] local.INFO: TCP Data received {"connection_id":125675,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:08:03] local.INFO: Processing buffer {"connection_id":125675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:08:03] local.INFO: IMEI packet received {"connection_id":125675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":125675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:08:03] local.INFO: TCP Data received {"connection_id":126924,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:08:03] local.INFO: Processing buffer {"connection_id":126924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:08:03] local.INFO: IMEI packet received {"connection_id":126924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":126924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:08:04] local.INFO: TCP Data received {"connection_id":125675,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:08:04] local.INFO: Processing buffer {"connection_id":125675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:08:04] local.INFO: Packet analysis {"connection_id":125675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:08:04] local.INFO: Extracted packet for processing {"connection_id":125675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:08:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562026752001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783445718000,"timestamp_ms":1783445718000,"timestamp_seconds":1783445718,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da603f0"} 
[2026-07-07 23:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562026752001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562026752001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:08:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:08:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562026752001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":125675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:08:04] local.INFO: GPS data processed {"connection_id":125675,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:08:04] local.INFO: Acknowledgment sent {"connection_id":125675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:08:04] local.INFO: TCP Data received {"connection_id":126924,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da79648012d7693000601e3300007013d33..."} 
[2026-07-07 23:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da79648012d7693000601e3300007013d33..."} 
[2026-07-07 23:08:04] local.INFO: Processing buffer {"connection_id":126924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da79648012d7693000601e3300007013d33..."} 
[2026-07-07 23:08:04] local.INFO: Packet analysis {"connection_id":126924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da7"} 
[2026-07-07 23:08:04] local.INFO: Extracted packet for processing {"connection_id":126924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da7"} 
[2026-07-07 23:08:04] local.INFO: GPS Element Parsed {"raw_longitude":762745600,"raw_latitude":100786992,"longitude_deg":76.27456,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d769300","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562124032001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544384050085965824,"note":"Value kept but may cause issues"} 
[2026-07-07 23:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783445821000,"timestamp_ms":1783445821000,"timestamp_seconds":1783445821,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da79648"} 
[2026-07-07 23:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-07 23:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562124032001,"66":28017,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544384050085965824},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562124032001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:08:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:08:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544384050085965824,"description":"Unknown IO ID 45"} 
[2026-07-07 23:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562124032001,"power":28017,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544384050085965824}} 
[2026-07-07 23:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":126924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448224,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:08:04] local.INFO: GPS data processed {"connection_id":126924,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:08:04] local.INFO: Acknowledgment sent {"connection_id":126924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:08:35] local.INFO: TCP Data received {"connection_id":125675,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:08:35] local.INFO: Processing buffer {"connection_id":125675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:08:35] local.INFO: Packet analysis {"connection_id":125675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:08:35] local.INFO: Extracted packet for processing {"connection_id":125675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:08:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562026752001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783445718000,"timestamp_ms":1783445718000,"timestamp_seconds":1783445718,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da603f0"} 
[2026-07-07 23:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562026752001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562026752001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:08:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:08:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562026752001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":125675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:08:35] local.INFO: GPS data processed {"connection_id":125675,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:08:35] local.INFO: Acknowledgment sent {"connection_id":125675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:08:36] local.INFO: TCP Data received {"connection_id":126924,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da7e850012d7693000601e3300007013d33..."} 
[2026-07-07 23:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da7e850012d7693000601e3300007013d33..."} 
[2026-07-07 23:08:36] local.INFO: Processing buffer {"connection_id":126924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da7e850012d7693000601e3300007013d33..."} 
[2026-07-07 23:08:36] local.INFO: Packet analysis {"connection_id":126924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da7"} 
[2026-07-07 23:08:36] local.INFO: Extracted packet for processing {"connection_id":126924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da7"} 
[2026-07-07 23:08:36] local.INFO: GPS Element Parsed {"raw_longitude":762745600,"raw_latitude":100786992,"longitude_deg":76.27456,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d769300","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562130176001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544172943853432832,"note":"Value kept but may cause issues"} 
[2026-07-07 23:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783445842000,"timestamp_ms":1783445842000,"timestamp_seconds":1783445842,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da7e850"} 
[2026-07-07 23:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-07 23:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562130176001,"66":27887,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544172943853432832},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562130176001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:08:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:08:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544172943853432832,"description":"Unknown IO ID 45"} 
[2026-07-07 23:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562130176001,"power":27887,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544172943853432832}} 
[2026-07-07 23:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":126924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448226,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:08:36] local.INFO: GPS data processed {"connection_id":126924,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:08:36] local.INFO: Acknowledgment sent {"connection_id":126924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:09:03] local.INFO: TCP Data received {"connection_id":126925,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:09:03] local.INFO: Processing buffer {"connection_id":126925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:09:03] local.INFO: IMEI packet received {"connection_id":126925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":126925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:09:08] local.INFO: TCP Data received {"connection_id":126925,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:09:08] local.INFO: Processing buffer {"connection_id":126925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:09:08] local.INFO: IMEI packet received {"connection_id":126925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":126925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:09:08] local.INFO: TCP Data received {"connection_id":126926,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:09:08] local.INFO: Processing buffer {"connection_id":126926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:09:08] local.INFO: IMEI packet received {"connection_id":126926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":126926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:09:09] local.INFO: TCP Data received {"connection_id":126925,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:09:09] local.INFO: Processing buffer {"connection_id":126925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:09:09] local.INFO: Packet analysis {"connection_id":126925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:09:09] local.INFO: Extracted packet for processing {"connection_id":126925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:09:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562026752001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783445718000,"timestamp_ms":1783445718000,"timestamp_seconds":1783445718,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da603f0"} 
[2026-07-07 23:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562026752001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562026752001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:09:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:09:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562026752001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":126925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:09:09] local.INFO: GPS data processed {"connection_id":126925,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:09:09] local.INFO: Acknowledgment sent {"connection_id":126925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:09:13] local.INFO: TCP Data received {"connection_id":126925,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:09:13] local.INFO: Processing buffer {"connection_id":126925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:09:13] local.INFO: Packet analysis {"connection_id":126925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:09:13] local.INFO: Extracted packet for processing {"connection_id":126925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:09:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562026752001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783445718000,"timestamp_ms":1783445718000,"timestamp_seconds":1783445718,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da603f0"} 
[2026-07-07 23:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:09: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-07-07 23: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":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:09: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-07-07 23:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562026752001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562026752001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:09:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:09:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562026752001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":126925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:09:13] local.INFO: GPS data processed {"connection_id":126925,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:09:13] local.INFO: Acknowledgment sent {"connection_id":126925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:09:13] local.INFO: TCP Data received {"connection_id":126926,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:09:13] local.INFO: Processing buffer {"connection_id":126926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:09:13] local.INFO: IMEI packet received {"connection_id":126926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":126926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:09:14] local.INFO: TCP Data received {"connection_id":126926,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da83a58012d7693000601e3300007013d33..."} 
[2026-07-07 23:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da83a58012d7693000601e3300007013d33..."} 
[2026-07-07 23:09:14] local.INFO: Processing buffer {"connection_id":126926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da83a58012d7693000601e3300007013d33..."} 
[2026-07-07 23:09:14] local.INFO: Packet analysis {"connection_id":126926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da8"} 
[2026-07-07 23:09:14] local.INFO: Extracted packet for processing {"connection_id":126926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da8"} 
[2026-07-07 23:09:14] local.INFO: GPS Element Parsed {"raw_longitude":762745600,"raw_latitude":100786992,"longitude_deg":76.27456,"latitude_deg":10.0786992,"altitude":7,"angle":317,"satellites":51,"speed":0,"hex_longitude":"2d769300","hex_latitude":"0601e330","is_valid_coordinates":true} 
[2026-07-07 23:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562135552001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544172943853432832,"note":"Value kept but may cause issues"} 
[2026-07-07 23:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783445863000,"timestamp_ms":1783445863000,"timestamp_seconds":1783445863,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da83a58"} 
[2026-07-07 23:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:09: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-07-07 23: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-07 23:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562135552001,"66":28104,"163":206,"8":65280,"24":0,"16":132313343795920896,"45":8544172943853432832},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-07-07 23:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562135552001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:09:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-07 23:09:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8544172943853432832,"description":"Unknown IO ID 45"} 
[2026-07-07 23:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562135552001,"power":28104,"unknown_163":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8544172943853432832}} 
[2026-07-07 23:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":126926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448229,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:09:14] local.INFO: GPS data processed {"connection_id":126926,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:09:14] local.INFO: Acknowledgment sent {"connection_id":126926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:09:15] local.INFO: TCP Data received {"connection_id":126926,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da8f9c00100000000000000000000000000..."} 
[2026-07-07 23:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da8f9c00100000000000000000000000000..."} 
[2026-07-07 23:09:15] local.INFO: Processing buffer {"connection_id":126926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da8f9c00100000000000000000000000000..."} 
[2026-07-07 23:09:15] local.INFO: Packet analysis {"connection_id":126926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da8"} 
[2026-07-07 23:09:15] local.INFO: Extracted packet for processing {"connection_id":126926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da8"} 
[2026-07-07 23:09:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 23:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562140928001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8544172943853432832,"note":"Value kept but may cause issues"} 
[2026-07-07 23:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783445912000,"timestamp_ms":1783445912000,"timestamp_seconds":1783445912,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da8f9c0"} 
[2026-07-07 23:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-07 23:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":126926,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-07 23:09:15] local.INFO: GPS data processed {"connection_id":126926,"processed":0,"errors":0,"total":1} 
[2026-07-07 23:09:15] local.INFO: Acknowledgment sent {"connection_id":126926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:09:58] local.INFO: TCP Data received {"connection_id":124843,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:09:58] local.INFO: Processing buffer {"connection_id":124843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:09:58] local.INFO: IMEI packet received {"connection_id":124843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":124843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:09:59] local.INFO: TCP Data received {"connection_id":124842,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:09:59] local.INFO: Processing buffer {"connection_id":124842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:09:59] local.INFO: IMEI packet received {"connection_id":124842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":124842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:10:00] local.INFO: TCP Data received {"connection_id":124842,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:10:00] local.INFO: Processing buffer {"connection_id":124842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:10:00] local.INFO: IMEI packet received {"connection_id":124842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":124842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:10:01] local.INFO: TCP Data received {"connection_id":124842,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da8af88012d76720006020a68000a01342d..."} 
[2026-07-07 23:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da8af88012d76720006020a68000a01342d..."} 
[2026-07-07 23:10:01] local.INFO: Processing buffer {"connection_id":124842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da8af88012d76720006020a68000a01342d..."} 
[2026-07-07 23:10:01] local.INFO: Packet analysis {"connection_id":124842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da8"} 
[2026-07-07 23:10:01] local.INFO: Extracted packet for processing {"connection_id":124842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da8"} 
[2026-07-07 23:10:01] local.INFO: GPS Element Parsed {"raw_longitude":762737152,"raw_latitude":100797032,"longitude_deg":76.2737152,"latitude_deg":10.0797032,"altitude":10,"angle":308,"satellites":45,"speed":22,"hex_longitude":"2d767200","hex_latitude":"06020a68","is_valid_coordinates":true} 
[2026-07-07 23:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:10:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,162,8,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 23:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783445893000,"timestamp_ms":1783445893000,"timestamp_seconds":1783445893,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da8af88"} 
[2026-07-07 23:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:10:01] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:10: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":146,"data_length":795,"current_offset":136} 
[2026-07-07 23:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27984,"162":206,"8":65280,"24":22,"16":132313343795920896},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,8,24,16]} 
[2026-07-07 23:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-07 23:10:01] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-07 23:10:01] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:10:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27984,"unknown_162":206,"unknown_8":65280,"ignition":22,"odometer":null}} 
[2026-07-07 23:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":124842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448230,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:10:01] local.INFO: GPS data processed {"connection_id":124842,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:10:01] local.INFO: Acknowledgment sent {"connection_id":124842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:10:02] local.INFO: TCP Data received {"connection_id":124842,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da96ef00100000000000000000000000000..."} 
[2026-07-07 23:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da96ef00100000000000000000000000000..."} 
[2026-07-07 23:10:02] local.INFO: Processing buffer {"connection_id":124842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da96ef00100000000000000000000000000..."} 
[2026-07-07 23:10:02] local.INFO: Packet analysis {"connection_id":124842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da9"} 
[2026-07-07 23:10:02] local.INFO: Extracted packet for processing {"connection_id":124842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da9"} 
[2026-07-07 23:10:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 23:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562148608001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8534884269624551424,"note":"Value kept but may cause issues"} 
[2026-07-07 23:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783445942000,"timestamp_ms":1783445942000,"timestamp_seconds":1783445942,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da96ef0"} 
[2026-07-07 23:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 23:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":124842,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-07 23:10:02] local.INFO: GPS data processed {"connection_id":124842,"processed":0,"errors":0,"total":1} 
[2026-07-07 23:10:02] local.INFO: Acknowledgment sent {"connection_id":124842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:10:03] local.INFO: TCP Data received {"connection_id":124843,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:10:03] local.INFO: Processing buffer {"connection_id":124843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:10:03] local.INFO: IMEI packet received {"connection_id":124843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":124843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:10:04] local.INFO: TCP Data received {"connection_id":124843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:10:04] local.INFO: Processing buffer {"connection_id":124843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:10:04] local.INFO: Packet analysis {"connection_id":124843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:10:04] local.INFO: Extracted packet for processing {"connection_id":124843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:10:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562026752001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783445718000,"timestamp_ms":1783445718000,"timestamp_seconds":1783445718,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da603f0"} 
[2026-07-07 23:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562026752001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562026752001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:10:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:10:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562026752001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":124843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:10:04] local.INFO: GPS data processed {"connection_id":124843,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:10:04] local.INFO: Acknowledgment sent {"connection_id":124843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:10:34] local.INFO: TCP Data received {"connection_id":124842,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da90960012d7645c0060222c0000a01302e..."} 
[2026-07-07 23:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da90960012d7645c0060222c0000a01302e..."} 
[2026-07-07 23:10:34] local.INFO: Processing buffer {"connection_id":124842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da90960012d7645c0060222c0000a01302e..."} 
[2026-07-07 23:10:34] local.INFO: Packet analysis {"connection_id":124842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da9"} 
[2026-07-07 23:10:34] local.INFO: Extracted packet for processing {"connection_id":124842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da9"} 
[2026-07-07 23:10:34] local.INFO: GPS Element Parsed {"raw_longitude":762725824,"raw_latitude":100803264,"longitude_deg":76.2725824,"latitude_deg":10.0803264,"altitude":10,"angle":304,"satellites":46,"speed":19,"hex_longitude":"2d7645c0","hex_latitude":"060222c0","is_valid_coordinates":true} 
[2026-07-07 23:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:10:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,162,8,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 23:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783445916000,"timestamp_ms":1783445916000,"timestamp_seconds":1783445916,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da90960"} 
[2026-07-07 23:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:10:34] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-07 23:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28050,"162":206,"8":65280,"24":19,"16":132313343795920896},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,8,24,16]} 
[2026-07-07 23:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-07 23:10:34] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-07 23:10:34] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:10:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28050,"unknown_162":206,"unknown_8":65280,"ignition":19,"odometer":null}} 
[2026-07-07 23:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":124842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448232,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:10:34] local.INFO: GPS data processed {"connection_id":124842,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:10:34] local.INFO: Acknowledgment sent {"connection_id":124842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:10:57] local.INFO: TCP Data received {"connection_id":125676,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:10:57] local.INFO: Processing buffer {"connection_id":125676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:10:57] local.INFO: IMEI packet received {"connection_id":125676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":125676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:10:57] local.INFO: TCP Data received {"connection_id":125676,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:10:57] local.INFO: Processing buffer {"connection_id":125676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:10:57] local.INFO: IMEI packet received {"connection_id":125676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":125676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:10:58] local.INFO: TCP Data received {"connection_id":126927,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:10:58] local.INFO: Processing buffer {"connection_id":126927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:10:58] local.INFO: IMEI packet received {"connection_id":126927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":126927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:11:03] local.INFO: TCP Data received {"connection_id":124843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:11:03] local.INFO: Processing buffer {"connection_id":124843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da603f0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:11:03] local.INFO: Packet analysis {"connection_id":124843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:11:03] local.INFO: Extracted packet for processing {"connection_id":124843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da6"} 
[2026-07-07 23:11:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562026752001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783445718000,"timestamp_ms":1783445718000,"timestamp_seconds":1783445718,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da603f0"} 
[2026-07-07 23:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562026752001,"66":25549,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562026752001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:11:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:11:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562026752001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:11:03] local.INFO: TCP Data received {"connection_id":126927,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:11:03] local.INFO: Processing buffer {"connection_id":126927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:11:03] local.INFO: IMEI packet received {"connection_id":126927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":126927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":124843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:11:03] local.INFO: GPS data processed {"connection_id":124843,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:11:03] local.INFO: Acknowledgment sent {"connection_id":124843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:11:03] local.INFO: TCP Data received {"connection_id":125676,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:11:03] local.INFO: Processing buffer {"connection_id":125676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:11:03] local.INFO: IMEI packet received {"connection_id":125676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":125676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:11:04] local.INFO: TCP Data received {"connection_id":125676,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:11:04] local.INFO: Processing buffer {"connection_id":125676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:11:04] local.INFO: Packet analysis {"connection_id":125676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:11:04] local.INFO: Extracted packet for processing {"connection_id":125676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:11:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562103808001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446019000,"timestamp_ms":1783446019000,"timestamp_seconds":1783446019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daa9bb8"} 
[2026-07-07 23:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 23:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562103808001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562103808001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:11:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:11:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562103808001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:11:04] local.INFO: TCP Data received {"connection_id":126927,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da9c8c80100000000000000000000000000..."} 
[2026-07-07 23:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da9c8c80100000000000000000000000000..."} 
[2026-07-07 23:11:04] local.INFO: Processing buffer {"connection_id":126927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da9c8c80100000000000000000000000000..."} 
[2026-07-07 23:11:04] local.INFO: Packet analysis {"connection_id":126927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da9"} 
[2026-07-07 23:11:04] local.INFO: Extracted packet for processing {"connection_id":126927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da9"} 
[2026-07-07 23:11:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 23:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562154496001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8522429001906700288,"note":"Value kept but may cause issues"} 
[2026-07-07 23:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783445965000,"timestamp_ms":1783445965000,"timestamp_seconds":1783445965,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da9c8c8"} 
[2026-07-07 23:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 23:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":126927,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-07 23:11:04] local.INFO: GPS data processed {"connection_id":126927,"processed":0,"errors":0,"total":1} 
[2026-07-07 23:11:04] local.INFO: Acknowledgment sent {"connection_id":126927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":125676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:11:04] local.INFO: GPS data processed {"connection_id":125676,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:11:04] local.INFO: Acknowledgment sent {"connection_id":125676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:11:35] local.INFO: TCP Data received {"connection_id":125676,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:11:35] local.INFO: Processing buffer {"connection_id":125676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:11:35] local.INFO: Packet analysis {"connection_id":125676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:11:35] local.INFO: Extracted packet for processing {"connection_id":125676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:11:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562103808001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783446019000,"timestamp_ms":1783446019000,"timestamp_seconds":1783446019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daa9bb8"} 
[2026-07-07 23:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 23:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562103808001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562103808001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:11:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:11:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562103808001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":125676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:11:35] local.INFO: GPS data processed {"connection_id":125676,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:11:35] local.INFO: Acknowledgment sent {"connection_id":125676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:11:41] local.INFO: TCP Data received {"connection_id":126927,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da96b08012d76258006024be0000801372f..."} 
[2026-07-07 23:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da96b08012d76258006024be0000801372f..."} 
[2026-07-07 23:11:41] local.INFO: Processing buffer {"connection_id":126927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da96b08012d76258006024be0000801372f..."} 
[2026-07-07 23:11:41] local.INFO: Packet analysis {"connection_id":126927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da9"} 
[2026-07-07 23:11:41] local.INFO: Extracted packet for processing {"connection_id":126927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da9"} 
[2026-07-07 23:11:41] local.INFO: GPS Element Parsed {"raw_longitude":762717568,"raw_latitude":100813792,"longitude_deg":76.2717568,"latitude_deg":10.0813792,"altitude":8,"angle":311,"satellites":47,"speed":21,"hex_longitude":"2d762580","hex_latitude":"06024be0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 23:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:11:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,162,8,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 23:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783445941000,"timestamp_ms":1783445941000,"timestamp_seconds":1783445941,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da96b08"} 
[2026-07-07 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-07-07 23:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-07 23:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 23:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27876,"162":206,"8":65280,"24":21,"16":132313343795920896},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,8,24,16]} 
[2026-07-07 23:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-07 23:11:41] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-07 23:11:41] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:11:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27876,"unknown_162":206,"unknown_8":65280,"ignition":21,"odometer":null}} 
[2026-07-07 23:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":126927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448236,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:11:41] local.INFO: GPS data processed {"connection_id":126927,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:11:41] local.INFO: Acknowledgment sent {"connection_id":126927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:11:57] local.INFO: TCP Data received {"connection_id":125678,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:11:57] local.INFO: Processing buffer {"connection_id":125678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:11:57] local.INFO: IMEI packet received {"connection_id":125678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":125678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:11:58] local.INFO: TCP Data received {"connection_id":125677,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:11:58] local.INFO: Processing buffer {"connection_id":125677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:11:58] local.INFO: IMEI packet received {"connection_id":125677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":125677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:12:03] local.INFO: TCP Data received {"connection_id":125678,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:12:03] local.INFO: Processing buffer {"connection_id":125678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:12:03] local.INFO: IMEI packet received {"connection_id":125678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":125678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:12:03] local.INFO: TCP Data received {"connection_id":125677,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:12:03] local.INFO: Processing buffer {"connection_id":125677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:12:03] local.INFO: IMEI packet received {"connection_id":125677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":125677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:12:04] local.INFO: TCP Data received {"connection_id":125678,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:12:04] local.INFO: Processing buffer {"connection_id":125678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:12:04] local.INFO: Packet analysis {"connection_id":125678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:12:04] local.INFO: Extracted packet for processing {"connection_id":125678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:12:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562103808001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446019000,"timestamp_ms":1783446019000,"timestamp_seconds":1783446019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daa9bb8"} 
[2026-07-07 23:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 23:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562103808001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562103808001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:12:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:12:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562103808001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":125678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:12:04] local.INFO: GPS data processed {"connection_id":125678,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:12:04] local.INFO: Acknowledgment sent {"connection_id":125678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:12:04] local.INFO: TCP Data received {"connection_id":125677,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daa2a700100000000000000000000000000..."} 
[2026-07-07 23:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daa2a700100000000000000000000000000..."} 
[2026-07-07 23:12:04] local.INFO: Processing buffer {"connection_id":125677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daa2a700100000000000000000000000000..."} 
[2026-07-07 23:12:04] local.INFO: Packet analysis {"connection_id":125677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:12:04] local.INFO: Extracted packet for processing {"connection_id":125677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:12:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 23:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562160896001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8513351433910476800,"note":"Value kept but may cause issues"} 
[2026-07-07 23:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783445990000,"timestamp_ms":1783445990000,"timestamp_seconds":1783445990,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daa2a70"} 
[2026-07-07 23:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 23:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":125677,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-07 23:12:04] local.INFO: GPS data processed {"connection_id":125677,"processed":0,"errors":0,"total":1} 
[2026-07-07 23:12:04] local.INFO: Acknowledgment sent {"connection_id":125677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:12:35] local.INFO: TCP Data received {"connection_id":125678,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:12:35] local.INFO: Processing buffer {"connection_id":125678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:12:35] local.INFO: Packet analysis {"connection_id":125678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:12:35] local.INFO: Extracted packet for processing {"connection_id":125678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:12:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562103808001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783446019000,"timestamp_ms":1783446019000,"timestamp_seconds":1783446019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daa9bb8"} 
[2026-07-07 23:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 23:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562103808001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562103808001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:12:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:12:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562103808001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":125678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:12:35] local.INFO: GPS data processed {"connection_id":125678,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:12:35] local.INFO: Acknowledgment sent {"connection_id":125678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:12:36] local.INFO: TCP Data received {"connection_id":125677,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3da9c0f8012d75fc8006027120000a013431..."} 
[2026-07-07 23:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3da9c0f8012d75fc8006027120000a013431..."} 
[2026-07-07 23:12:36] local.INFO: Processing buffer {"connection_id":125677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3da9c0f8012d75fc8006027120000a013431..."} 
[2026-07-07 23:12:36] local.INFO: Packet analysis {"connection_id":125677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3da9"} 
[2026-07-07 23:12:36] local.INFO: Extracted packet for processing {"connection_id":125677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3da9"} 
[2026-07-07 23:12:36] local.INFO: GPS Element Parsed {"raw_longitude":762707072,"raw_latitude":100823328,"longitude_deg":76.2707072,"latitude_deg":10.0823328,"altitude":10,"angle":308,"satellites":49,"speed":24,"hex_longitude":"2d75fc80","hex_latitude":"06027120","is_valid_coordinates":true} 
[2026-07-07 23:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:12:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,63,8,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 23:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783445963000,"timestamp_ms":1783445963000,"timestamp_seconds":1783445963,"priority":1,"record_length":96,"hex_timestamp":"0000019f3da9c0f8"} 
[2026-07-07 23:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-07 23:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"63":206,"8":65280,"24":24,"16":132313343795920896},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16]} 
[2026-07-07 23:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-07 23:12:36] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:12:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:12:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_63":206,"unknown_8":65280,"ignition":24,"odometer":null}} 
[2026-07-07 23:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":125677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448239,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:12:36] local.INFO: GPS data processed {"connection_id":125677,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:12:36] local.INFO: Acknowledgment sent {"connection_id":125677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:13:03] local.INFO: TCP Data received {"connection_id":124845,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:13:03] local.INFO: Processing buffer {"connection_id":124845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:13:03] local.INFO: IMEI packet received {"connection_id":124845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":124845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:13:03] local.INFO: TCP Data received {"connection_id":124844,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:13:03] local.INFO: Processing buffer {"connection_id":124844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:13:03] local.INFO: IMEI packet received {"connection_id":124844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":124844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:13:08] local.INFO: TCP Data received {"connection_id":124844,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:13:08] local.INFO: Processing buffer {"connection_id":124844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:13:08] local.INFO: IMEI packet received {"connection_id":124844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":124844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:13:08] local.INFO: TCP Data received {"connection_id":124845,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:13:08] local.INFO: Processing buffer {"connection_id":124845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:13:08] local.INFO: IMEI packet received {"connection_id":124845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":124845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:13:09] local.INFO: TCP Data received {"connection_id":124845,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:13:09] local.INFO: Processing buffer {"connection_id":124845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:13:09] local.INFO: Packet analysis {"connection_id":124845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:13:09] local.INFO: Extracted packet for processing {"connection_id":124845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:13:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562103808001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783446019000,"timestamp_ms":1783446019000,"timestamp_seconds":1783446019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daa9bb8"} 
[2026-07-07 23:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 23:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562103808001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562103808001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:13:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:13:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562103808001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":124845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:13:09] local.INFO: GPS data processed {"connection_id":124845,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:13:09] local.INFO: Acknowledgment sent {"connection_id":124845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:13:09] local.INFO: TCP Data received {"connection_id":124844,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daa1300012d75d0c00602a568000a01472e..."} 
[2026-07-07 23:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daa1300012d75d0c00602a568000a01472e..."} 
[2026-07-07 23:13:09] local.INFO: Processing buffer {"connection_id":124844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daa1300012d75d0c00602a568000a01472e..."} 
[2026-07-07 23:13:09] local.INFO: Packet analysis {"connection_id":124844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:13:09] local.INFO: Extracted packet for processing {"connection_id":124844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:13:09] local.INFO: GPS Element Parsed {"raw_longitude":762695872,"raw_latitude":100836712,"longitude_deg":76.2695872,"latitude_deg":10.0836712,"altitude":10,"angle":327,"satellites":46,"speed":31,"hex_longitude":"2d75d0c0","hex_latitude":"0602a568","is_valid_coordinates":true} 
[2026-07-07 23:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562166528001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8501810959867781120,"note":"Value kept but may cause issues"} 
[2026-07-07 23:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783445984000,"timestamp_ms":1783445984000,"timestamp_seconds":1783445984,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daa1300"} 
[2026-07-07 23:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:13: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-07-07 23: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-07 23:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562166528001,"66":28017,"63":206,"8":65280,"24":31,"16":132313343795920896,"45":8501810959867781120},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562166528001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:13:09] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:13:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8501810959867781120,"description":"Unknown IO ID 45"} 
[2026-07-07 23:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562166528001,"power":28017,"unknown_63":206,"unknown_8":65280,"ignition":31,"odometer":null,"unknown_45":8501810959867781120}} 
[2026-07-07 23:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":124844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448241,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:13:09] local.INFO: GPS data processed {"connection_id":124844,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:13:09] local.INFO: Acknowledgment sent {"connection_id":124844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:13:13] local.INFO: TCP Data received {"connection_id":124845,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:13:13] local.INFO: Processing buffer {"connection_id":124845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:13:13] local.INFO: Packet analysis {"connection_id":124845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:13:13] local.INFO: Extracted packet for processing {"connection_id":124845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:13:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23: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-07-07 23:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562103808001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783446019000,"timestamp_ms":1783446019000,"timestamp_seconds":1783446019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daa9bb8"} 
[2026-07-07 23:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 23:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23: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-07-07 23:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562103808001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562103808001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:13:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:13:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562103808001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":124845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:13:13] local.INFO: GPS data processed {"connection_id":124845,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:13:13] local.INFO: Acknowledgment sent {"connection_id":124845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:13:14] local.INFO: TCP Data received {"connection_id":124844,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daa1300012d75d0c00602a568000a01472e..."} 
[2026-07-07 23:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daa1300012d75d0c00602a568000a01472e..."} 
[2026-07-07 23:13:14] local.INFO: Processing buffer {"connection_id":124844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daa1300012d75d0c00602a568000a01472e..."} 
[2026-07-07 23:13:14] local.INFO: Packet analysis {"connection_id":124844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:13:14] local.INFO: Extracted packet for processing {"connection_id":124844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:13:14] local.INFO: GPS Element Parsed {"raw_longitude":762695872,"raw_latitude":100836712,"longitude_deg":76.2695872,"latitude_deg":10.0836712,"altitude":10,"angle":327,"satellites":46,"speed":31,"hex_longitude":"2d75d0c0","hex_latitude":"0602a568","is_valid_coordinates":true} 
[2026-07-07 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-07-07 23:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562171904001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8489496429640116224,"note":"Value kept but may cause issues"} 
[2026-07-07 23:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783445984000,"timestamp_ms":1783445984000,"timestamp_seconds":1783445984,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daa1300"} 
[2026-07-07 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-07-07 23:13: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-07-07 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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-07 23:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 23:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562171904001,"66":28017,"63":206,"8":65280,"24":31,"16":132313343795920896,"45":8489496429640116224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562171904001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:13:14] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:13:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8489496429640116224,"description":"Unknown IO ID 45"} 
[2026-07-07 23:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562171904001,"power":28017,"unknown_63":206,"unknown_8":65280,"ignition":31,"odometer":null,"unknown_45":8489496429640116224}} 
[2026-07-07 23:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":124844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448243,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:13:14] local.INFO: GPS data processed {"connection_id":124844,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:13:14] local.INFO: Acknowledgment sent {"connection_id":124844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:13:58] local.INFO: TCP Data received {"connection_id":126928,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:13:58] local.INFO: Processing buffer {"connection_id":126928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:13:58] local.INFO: IMEI packet received {"connection_id":126928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":126928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:13:58] local.INFO: TCP Data received {"connection_id":124946,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:13:58] local.INFO: Processing buffer {"connection_id":124946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:13:58] local.INFO: IMEI packet received {"connection_id":124946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":124946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:14:03] local.INFO: TCP Data received {"connection_id":126928,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:14:03] local.INFO: Processing buffer {"connection_id":126928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:14:03] local.INFO: IMEI packet received {"connection_id":126928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":126928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:14:03] local.INFO: TCP Data received {"connection_id":124946,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:14:03] local.INFO: Processing buffer {"connection_id":124946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:14:03] local.INFO: IMEI packet received {"connection_id":124946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":124946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:14:04] local.INFO: TCP Data received {"connection_id":126928,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:14:04] local.INFO: Processing buffer {"connection_id":126928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:14:04] local.INFO: Packet analysis {"connection_id":126928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:14:04] local.INFO: Extracted packet for processing {"connection_id":126928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:14:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562103808001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446019000,"timestamp_ms":1783446019000,"timestamp_seconds":1783446019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daa9bb8"} 
[2026-07-07 23:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 23:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562103808001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562103808001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:14:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:14:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562103808001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":126928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:14:04] local.INFO: GPS data processed {"connection_id":126928,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:14:04] local.INFO: Acknowledgment sent {"connection_id":126928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:14:04] local.INFO: TCP Data received {"connection_id":124946,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daad2680100000000000000000000000000..."} 
[2026-07-07 23:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daad2680100000000000000000000000000..."} 
[2026-07-07 23:14:04] local.INFO: Processing buffer {"connection_id":124946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daad2680100000000000000000000000000..."} 
[2026-07-07 23:14:04] local.INFO: Packet analysis {"connection_id":124946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:14:04] local.INFO: Extracted packet for processing {"connection_id":124946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:14:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 23:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562171904001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8489496429640116224,"note":"Value kept but may cause issues"} 
[2026-07-07 23:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446033000,"timestamp_ms":1783446033000,"timestamp_seconds":1783446033,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daad268"} 
[2026-07-07 23:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-07 23:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":124946,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-07 23:14:04] local.INFO: GPS data processed {"connection_id":124946,"processed":0,"errors":0,"total":1} 
[2026-07-07 23:14:04] local.INFO: Acknowledgment sent {"connection_id":124946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:14:35] local.INFO: TCP Data received {"connection_id":126928,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:14:35] local.INFO: Processing buffer {"connection_id":126928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:14:35] local.INFO: Packet analysis {"connection_id":126928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:14:35] local.INFO: Extracted packet for processing {"connection_id":126928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:14:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562103808001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783446019000,"timestamp_ms":1783446019000,"timestamp_seconds":1783446019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daa9bb8"} 
[2026-07-07 23:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 23:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562103808001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562103808001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:14:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:14:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562103808001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":126928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:14:35] local.INFO: GPS data processed {"connection_id":126928,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:14:35] local.INFO: Acknowledgment sent {"connection_id":126928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:14:35] local.INFO: TCP Data received {"connection_id":124946,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daa74a8012d75b2800602d8100007014e2e..."} 
[2026-07-07 23:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daa74a8012d75b2800602d8100007014e2e..."} 
[2026-07-07 23:14:35] local.INFO: Processing buffer {"connection_id":124946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daa74a8012d75b2800602d8100007014e2e..."} 
[2026-07-07 23:14:35] local.INFO: Packet analysis {"connection_id":124946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:14:35] local.INFO: Extracted packet for processing {"connection_id":124946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:14:35] local.INFO: GPS Element Parsed {"raw_longitude":762688128,"raw_latitude":100849680,"longitude_deg":76.2688128,"latitude_deg":10.084968,"altitude":7,"angle":334,"satellites":46,"speed":24,"hex_longitude":"2d75b280","hex_latitude":"0602d810","is_valid_coordinates":true} 
[2026-07-07 23:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:14:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,63,8,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 23:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783446009000,"timestamp_ms":1783446009000,"timestamp_seconds":1783446009,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daa74a8"} 
[2026-07-07 23:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-07 23:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28137,"63":206,"8":65280,"24":24,"16":132313343795920896},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16]} 
[2026-07-07 23:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-07 23:14:35] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:14:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:14:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28137,"unknown_63":206,"unknown_8":65280,"ignition":24,"odometer":null}} 
[2026-07-07 23:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":124946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448246,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:14:36] local.INFO: GPS data processed {"connection_id":124946,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:14:36] local.INFO: Acknowledgment sent {"connection_id":124946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:14:57] local.INFO: TCP Data received {"connection_id":126929,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:14:57] local.INFO: Processing buffer {"connection_id":126929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:14:57] local.INFO: IMEI packet received {"connection_id":126929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":126929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:14:58] local.INFO: TCP Data received {"connection_id":125679,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:14:58] local.INFO: Processing buffer {"connection_id":125679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:14:58] local.INFO: IMEI packet received {"connection_id":125679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":125679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:15:03] local.INFO: TCP Data received {"connection_id":126929,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:15:03] local.INFO: Processing buffer {"connection_id":126929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:15:03] local.INFO: IMEI packet received {"connection_id":126929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":126929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:15:03] local.INFO: TCP Data received {"connection_id":125679,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:15:03] local.INFO: Processing buffer {"connection_id":125679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:15:03] local.INFO: IMEI packet received {"connection_id":125679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":125679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:15:04] local.INFO: TCP Data received {"connection_id":126929,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:15:04] local.INFO: Processing buffer {"connection_id":126929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:15:04] local.INFO: Packet analysis {"connection_id":126929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:15:04] local.INFO: Extracted packet for processing {"connection_id":126929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:15:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562103808001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446019000,"timestamp_ms":1783446019000,"timestamp_seconds":1783446019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daa9bb8"} 
[2026-07-07 23:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 23:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562103808001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562103808001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:15:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:15:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562103808001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":126929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:15:04] local.INFO: GPS data processed {"connection_id":126929,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:15:04] local.INFO: Acknowledgment sent {"connection_id":126929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:15:05] local.INFO: TCP Data received {"connection_id":125679,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daa7890012d75b2800602d8100007014e2e..."} 
[2026-07-07 23:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daa7890012d75b2800602d8100007014e2e..."} 
[2026-07-07 23:15:05] local.INFO: Processing buffer {"connection_id":125679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daa7890012d75b2800602d8100007014e2e..."} 
[2026-07-07 23:15:05] local.INFO: Packet analysis {"connection_id":125679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:15:05] local.INFO: Extracted packet for processing {"connection_id":125679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:15:05] local.INFO: GPS Element Parsed {"raw_longitude":762688128,"raw_latitude":100849680,"longitude_deg":76.2688128,"latitude_deg":10.084968,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b280","hex_latitude":"0602d810","is_valid_coordinates":true} 
[2026-07-07 23:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562178304001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480981811597938688,"note":"Value kept but may cause issues"} 
[2026-07-07 23:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783446010000,"timestamp_ms":1783446010000,"timestamp_seconds":1783446010,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daa7890"} 
[2026-07-07 23:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 23:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562178304001,"66":28137,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8480981811597938688},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562178304001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:15:05] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:15:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480981811597938688,"description":"Unknown IO ID 45"} 
[2026-07-07 23:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562178304001,"power":28137,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8480981811597938688}} 
[2026-07-07 23:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":125679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448248,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:15:05] local.INFO: GPS data processed {"connection_id":125679,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:15:05] local.INFO: Acknowledgment sent {"connection_id":125679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:15:36] local.INFO: TCP Data received {"connection_id":126929,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:15:36] local.INFO: Processing buffer {"connection_id":126929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daa9bb8012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:15:36] local.INFO: Packet analysis {"connection_id":126929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:15:36] local.INFO: Extracted packet for processing {"connection_id":126929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:15:36] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562103808001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783446019000,"timestamp_ms":1783446019000,"timestamp_seconds":1783446019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daa9bb8"} 
[2026-07-07 23:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 23:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562103808001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562103808001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:15:36] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:15:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562103808001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":126929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:15:36] local.INFO: GPS data processed {"connection_id":126929,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:15:36] local.INFO: Acknowledgment sent {"connection_id":126929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:15:36] local.INFO: TCP Data received {"connection_id":125679,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daa7890012d75b2800602d8100007014e2e..."} 
[2026-07-07 23:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daa7890012d75b2800602d8100007014e2e..."} 
[2026-07-07 23:15:36] local.INFO: Processing buffer {"connection_id":125679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daa7890012d75b2800602d8100007014e2e..."} 
[2026-07-07 23:15:36] local.INFO: Packet analysis {"connection_id":125679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:15:36] local.INFO: Extracted packet for processing {"connection_id":125679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daa"} 
[2026-07-07 23:15:36] local.INFO: GPS Element Parsed {"raw_longitude":762688128,"raw_latitude":100849680,"longitude_deg":76.2688128,"latitude_deg":10.084968,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b280","hex_latitude":"0602d810","is_valid_coordinates":true} 
[2026-07-07 23:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562178304001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480981811597938688,"note":"Value kept but may cause issues"} 
[2026-07-07 23:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783446010000,"timestamp_ms":1783446010000,"timestamp_seconds":1783446010,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daa7890"} 
[2026-07-07 23:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 23:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562178304001,"66":28137,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8480981811597938688},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562178304001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:15:36] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:15:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480981811597938688,"description":"Unknown IO ID 45"} 
[2026-07-07 23:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562178304001,"power":28137,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8480981811597938688}} 
[2026-07-07 23:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":125679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448250,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:15:36] local.INFO: GPS data processed {"connection_id":125679,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:15:36] local.INFO: Acknowledgment sent {"connection_id":125679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:15:58] local.INFO: TCP Data received {"connection_id":124947,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:15:58] local.INFO: Processing buffer {"connection_id":124947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:15:58] local.INFO: IMEI packet received {"connection_id":124947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":124947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:16:00] local.INFO: TCP Data received {"connection_id":124948,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:16:00] local.INFO: Processing buffer {"connection_id":124948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:16:00] local.INFO: IMEI packet received {"connection_id":124948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":124948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:16:01] local.INFO: TCP Data received {"connection_id":124948,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:16:01] local.INFO: Processing buffer {"connection_id":124948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:16:01] local.INFO: IMEI packet received {"connection_id":124948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":124948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:16:03] local.INFO: TCP Data received {"connection_id":124947,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:16:03] local.INFO: Processing buffer {"connection_id":124947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:16:03] local.INFO: IMEI packet received {"connection_id":124947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":124947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:16:03] local.INFO: TCP Data received {"connection_id":124948,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:16:03] local.INFO: Processing buffer {"connection_id":124948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:16:03] local.INFO: IMEI packet received {"connection_id":124948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":124948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:16:04] local.INFO: TCP Data received {"connection_id":124947,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:16:04] local.INFO: Processing buffer {"connection_id":124947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:16:04] local.INFO: Packet analysis {"connection_id":124947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:16:04] local.INFO: Extracted packet for processing {"connection_id":124947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:16:04] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562178560001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480981811597938688,"note":"Value kept but may cause issues"} 
[2026-07-07 23:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446316000,"timestamp_ms":1783446316000,"timestamp_seconds":1783446316,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daf23e0"} 
[2026-07-07 23:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 23:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562178560001,"66":25908,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8480981811597938688},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562178560001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:16:04] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:16:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480981811597938688,"description":"Unknown IO ID 45"} 
[2026-07-07 23:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562178560001,"power":25908,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8480981811597938688}} 
[2026-07-07 23:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":124947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448251,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:16:04] local.INFO: GPS data processed {"connection_id":124947,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:16:04] local.INFO: Acknowledgment sent {"connection_id":124947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:16:04] local.INFO: TCP Data received {"connection_id":124948,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:16:04] local.INFO: Processing buffer {"connection_id":124948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:16:04] local.INFO: Packet analysis {"connection_id":124948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:16:04] local.INFO: Extracted packet for processing {"connection_id":124948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:16:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562180864001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446320000,"timestamp_ms":1783446320000,"timestamp_seconds":1783446320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daf3380"} 
[2026-07-07 23:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562180864001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562180864001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:16:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:16:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562180864001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":124948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:16:04] local.INFO: GPS data processed {"connection_id":124948,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:16:04] local.INFO: Acknowledgment sent {"connection_id":124948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:16:35] local.INFO: TCP Data received {"connection_id":124948,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:16:35] local.INFO: Processing buffer {"connection_id":124948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:16:35] local.INFO: Packet analysis {"connection_id":124948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:16:35] local.INFO: Extracted packet for processing {"connection_id":124948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:16:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562180864001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783446320000,"timestamp_ms":1783446320000,"timestamp_seconds":1783446320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daf3380"} 
[2026-07-07 23:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562180864001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562180864001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:16:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:16:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562180864001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":124948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:16:35] local.INFO: GPS data processed {"connection_id":124948,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:16:35] local.INFO: Acknowledgment sent {"connection_id":124948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:16:35] local.INFO: TCP Data received {"connection_id":124947,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:16:35] local.INFO: Processing buffer {"connection_id":124947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:16:35] local.INFO: Packet analysis {"connection_id":124947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:16:35] local.INFO: Extracted packet for processing {"connection_id":124947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:16:35] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562178560001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480981811597938688,"note":"Value kept but may cause issues"} 
[2026-07-07 23:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783446316000,"timestamp_ms":1783446316000,"timestamp_seconds":1783446316,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daf23e0"} 
[2026-07-07 23:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 23:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562178560001,"66":25908,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8480981811597938688},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562178560001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:16:35] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:16:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480981811597938688,"description":"Unknown IO ID 45"} 
[2026-07-07 23:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562178560001,"power":25908,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8480981811597938688}} 
[2026-07-07 23:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":124947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448254,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:16:35] local.INFO: GPS data processed {"connection_id":124947,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:16:35] local.INFO: Acknowledgment sent {"connection_id":124947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:16:58] local.INFO: TCP Data received {"connection_id":126930,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:16:58] local.INFO: Processing buffer {"connection_id":126930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:16:58] local.INFO: IMEI packet received {"connection_id":126930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":126930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:17:03] local.INFO: TCP Data received {"connection_id":126930,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:17:03] local.INFO: Processing buffer {"connection_id":126930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:17:03] local.INFO: IMEI packet received {"connection_id":126930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":126930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:17:03] local.INFO: TCP Data received {"connection_id":124846,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:17:03] local.INFO: Processing buffer {"connection_id":124846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:17:03] local.INFO: IMEI packet received {"connection_id":124846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":124846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:17:04] local.INFO: TCP Data received {"connection_id":126930,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:17:04] local.INFO: Processing buffer {"connection_id":126930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:17:04] local.INFO: Packet analysis {"connection_id":126930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:17:04] local.INFO: Extracted packet for processing {"connection_id":126930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:17:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562180864001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446320000,"timestamp_ms":1783446320000,"timestamp_seconds":1783446320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daf3380"} 
[2026-07-07 23:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562180864001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562180864001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:17:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:17:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562180864001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":126930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:17:04] local.INFO: GPS data processed {"connection_id":126930,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:17:04] local.INFO: Acknowledgment sent {"connection_id":126930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:17:08] local.INFO: TCP Data received {"connection_id":124846,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:17:08] local.INFO: Processing buffer {"connection_id":124846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:17:08] local.INFO: IMEI packet received {"connection_id":124846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":124846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:17:09] local.INFO: TCP Data received {"connection_id":124846,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:17:09] local.INFO: Processing buffer {"connection_id":124846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:17:09] local.INFO: Packet analysis {"connection_id":124846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:17:09] local.INFO: Extracted packet for processing {"connection_id":124846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:17:09] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562178560001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480981811597938688,"note":"Value kept but may cause issues"} 
[2026-07-07 23:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783446316000,"timestamp_ms":1783446316000,"timestamp_seconds":1783446316,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daf23e0"} 
[2026-07-07 23:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 23:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562178560001,"66":25908,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8480981811597938688},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562178560001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:17:09] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:17:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480981811597938688,"description":"Unknown IO ID 45"} 
[2026-07-07 23:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562178560001,"power":25908,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8480981811597938688}} 
[2026-07-07 23:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":124846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448256,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:17:09] local.INFO: GPS data processed {"connection_id":124846,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:17:09] local.INFO: Acknowledgment sent {"connection_id":124846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:17:13] local.INFO: TCP Data received {"connection_id":124846,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:17:13] local.INFO: Processing buffer {"connection_id":124846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:17:13] local.INFO: Packet analysis {"connection_id":124846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:17:13] local.INFO: Extracted packet for processing {"connection_id":124846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:17:13] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562178560001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480981811597938688,"note":"Value kept but may cause issues"} 
[2026-07-07 23:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783446316000,"timestamp_ms":1783446316000,"timestamp_seconds":1783446316,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daf23e0"} 
[2026-07-07 23:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 23:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562178560001,"66":25908,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8480981811597938688},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562178560001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:17:13] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:17:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480981811597938688,"description":"Unknown IO ID 45"} 
[2026-07-07 23:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562178560001,"power":25908,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8480981811597938688}} 
[2026-07-07 23:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":124846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448257,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:17:13] local.INFO: GPS data processed {"connection_id":124846,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:17:13] local.INFO: Acknowledgment sent {"connection_id":124846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:17:35] local.INFO: TCP Data received {"connection_id":126930,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:17:35] local.INFO: Processing buffer {"connection_id":126930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:17:35] local.INFO: Packet analysis {"connection_id":126930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:17:35] local.INFO: Extracted packet for processing {"connection_id":126930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:17:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562180864001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783446320000,"timestamp_ms":1783446320000,"timestamp_seconds":1783446320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daf3380"} 
[2026-07-07 23:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562180864001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562180864001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:17:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:17:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562180864001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":126930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:17:35] local.INFO: GPS data processed {"connection_id":126930,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:17:35] local.INFO: Acknowledgment sent {"connection_id":126930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:17:58] local.INFO: TCP Data received {"connection_id":124847,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:17:58] local.INFO: Processing buffer {"connection_id":124847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:17:58] local.INFO: IMEI packet received {"connection_id":124847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":124847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:17:58] local.INFO: TCP Data received {"connection_id":124949,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:17:58] local.INFO: Processing buffer {"connection_id":124949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:17:58] local.INFO: IMEI packet received {"connection_id":124949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":124949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:18:03] local.INFO: TCP Data received {"connection_id":124847,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:18:03] local.INFO: Processing buffer {"connection_id":124847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:18:03] local.INFO: IMEI packet received {"connection_id":124847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":124847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:18:03] local.INFO: TCP Data received {"connection_id":124949,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:18:03] local.INFO: Processing buffer {"connection_id":124949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:18:03] local.INFO: IMEI packet received {"connection_id":124949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":124949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:18:04] local.INFO: TCP Data received {"connection_id":124847,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:18:04] local.INFO: Processing buffer {"connection_id":124847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:18:04] local.INFO: Packet analysis {"connection_id":124847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:18:04] local.INFO: Extracted packet for processing {"connection_id":124847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:18:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562180864001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446320000,"timestamp_ms":1783446320000,"timestamp_seconds":1783446320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daf3380"} 
[2026-07-07 23:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562180864001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562180864001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:18:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:18:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562180864001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":124847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:18:04] local.INFO: GPS data processed {"connection_id":124847,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:18:04] local.INFO: Acknowledgment sent {"connection_id":124847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:18:04] local.INFO: TCP Data received {"connection_id":124949,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:18:04] local.INFO: Processing buffer {"connection_id":124949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:18:04] local.INFO: Packet analysis {"connection_id":124949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:18:04] local.INFO: Extracted packet for processing {"connection_id":124949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:18:04] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562178560001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480981811597938688,"note":"Value kept but may cause issues"} 
[2026-07-07 23:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446316000,"timestamp_ms":1783446316000,"timestamp_seconds":1783446316,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daf23e0"} 
[2026-07-07 23:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 23:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562178560001,"66":25908,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8480981811597938688},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562178560001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:18:04] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:18:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480981811597938688,"description":"Unknown IO ID 45"} 
[2026-07-07 23:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562178560001,"power":25908,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8480981811597938688}} 
[2026-07-07 23:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":124949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448260,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:18:04] local.INFO: GPS data processed {"connection_id":124949,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:18:04] local.INFO: Acknowledgment sent {"connection_id":124949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:18:35] local.INFO: TCP Data received {"connection_id":124847,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:18:35] local.INFO: Processing buffer {"connection_id":124847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:18:35] local.INFO: Packet analysis {"connection_id":124847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:18:35] local.INFO: Extracted packet for processing {"connection_id":124847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:18:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562180864001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783446320000,"timestamp_ms":1783446320000,"timestamp_seconds":1783446320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daf3380"} 
[2026-07-07 23:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562180864001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562180864001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:18:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:18:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562180864001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":124847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:18:35] local.INFO: GPS data processed {"connection_id":124847,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:18:35] local.INFO: Acknowledgment sent {"connection_id":124847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:18:36] local.INFO: TCP Data received {"connection_id":124949,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:18:36] local.INFO: Processing buffer {"connection_id":124949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:18:36] local.INFO: Packet analysis {"connection_id":124949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:18:36] local.INFO: Extracted packet for processing {"connection_id":124949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:18:36] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562178560001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480981811597938688,"note":"Value kept but may cause issues"} 
[2026-07-07 23:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783446316000,"timestamp_ms":1783446316000,"timestamp_seconds":1783446316,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daf23e0"} 
[2026-07-07 23:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 23:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562178560001,"66":25908,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8480981811597938688},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562178560001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:18:36] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:18:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480981811597938688,"description":"Unknown IO ID 45"} 
[2026-07-07 23:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562178560001,"power":25908,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8480981811597938688}} 
[2026-07-07 23:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":124949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448262,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:18:36] local.INFO: GPS data processed {"connection_id":124949,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:18:36] local.INFO: Acknowledgment sent {"connection_id":124949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:18:57] local.INFO: TCP Data received {"connection_id":126931,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:18:57] local.INFO: Processing buffer {"connection_id":126931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:18:57] local.INFO: IMEI packet received {"connection_id":126931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":126931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:18:58] local.INFO: TCP Data received {"connection_id":124848,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:18:58] local.INFO: Processing buffer {"connection_id":124848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:18:58] local.INFO: IMEI packet received {"connection_id":124848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":124848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:19:03] local.INFO: TCP Data received {"connection_id":126931,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:19:03] local.INFO: Processing buffer {"connection_id":126931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:19:03] local.INFO: IMEI packet received {"connection_id":126931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":126931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:19:03] local.INFO: TCP Data received {"connection_id":124848,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:19:03] local.INFO: Processing buffer {"connection_id":124848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:19:03] local.INFO: IMEI packet received {"connection_id":124848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":124848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:19:04] local.INFO: TCP Data received {"connection_id":126931,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:19:04] local.INFO: Processing buffer {"connection_id":126931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:19:04] local.INFO: Packet analysis {"connection_id":126931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:19:04] local.INFO: Extracted packet for processing {"connection_id":126931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:19:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562180864001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446320000,"timestamp_ms":1783446320000,"timestamp_seconds":1783446320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daf3380"} 
[2026-07-07 23:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562180864001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562180864001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:19:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:19:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562180864001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":126931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:19:04] local.INFO: GPS data processed {"connection_id":126931,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:19:04] local.INFO: Acknowledgment sent {"connection_id":126931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:19:04] local.INFO: TCP Data received {"connection_id":124848,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:19:04] local.INFO: Processing buffer {"connection_id":124848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:19:04] local.INFO: Packet analysis {"connection_id":124848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:19:04] local.INFO: Extracted packet for processing {"connection_id":124848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:19:04] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562178560001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480981811597938688,"note":"Value kept but may cause issues"} 
[2026-07-07 23:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446316000,"timestamp_ms":1783446316000,"timestamp_seconds":1783446316,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daf23e0"} 
[2026-07-07 23:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 23:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562178560001,"66":25908,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8480981811597938688},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562178560001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:19:04] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:19:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480981811597938688,"description":"Unknown IO ID 45"} 
[2026-07-07 23:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562178560001,"power":25908,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8480981811597938688}} 
[2026-07-07 23:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":124848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448264,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:19:04] local.INFO: GPS data processed {"connection_id":124848,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:19:04] local.INFO: Acknowledgment sent {"connection_id":124848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:19:35] local.INFO: TCP Data received {"connection_id":126931,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:19:35] local.INFO: Processing buffer {"connection_id":126931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:19:35] local.INFO: Packet analysis {"connection_id":126931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:19:35] local.INFO: Extracted packet for processing {"connection_id":126931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:19:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562180864001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783446320000,"timestamp_ms":1783446320000,"timestamp_seconds":1783446320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daf3380"} 
[2026-07-07 23:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562180864001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562180864001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:19:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:19:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562180864001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":126931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:19:35] local.INFO: GPS data processed {"connection_id":126931,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:19:35] local.INFO: Acknowledgment sent {"connection_id":126931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:19:36] local.INFO: TCP Data received {"connection_id":124848,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:19:36] local.INFO: Processing buffer {"connection_id":124848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:19:36] local.INFO: Packet analysis {"connection_id":124848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:19:36] local.INFO: Extracted packet for processing {"connection_id":124848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:19:36] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562178560001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480981811597938688,"note":"Value kept but may cause issues"} 
[2026-07-07 23:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783446316000,"timestamp_ms":1783446316000,"timestamp_seconds":1783446316,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daf23e0"} 
[2026-07-07 23:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 23:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562178560001,"66":25908,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8480981811597938688},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562178560001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:19:36] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:19:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480981811597938688,"description":"Unknown IO ID 45"} 
[2026-07-07 23:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562178560001,"power":25908,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8480981811597938688}} 
[2026-07-07 23:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":124848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448266,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:19:36] local.INFO: GPS data processed {"connection_id":124848,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:19:36] local.INFO: Acknowledgment sent {"connection_id":124848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:19:57] local.INFO: TCP Data received {"connection_id":124849,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:19:57] local.INFO: Processing buffer {"connection_id":124849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:19:57] local.INFO: IMEI packet received {"connection_id":124849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":124849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:19:58] local.INFO: TCP Data received {"connection_id":126932,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:19:58] local.INFO: Processing buffer {"connection_id":126932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:19:58] local.INFO: IMEI packet received {"connection_id":126932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":126932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:20:03] local.INFO: TCP Data received {"connection_id":124849,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:20:03] local.INFO: Processing buffer {"connection_id":124849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:20:03] local.INFO: IMEI packet received {"connection_id":124849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":124849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:20:03] local.INFO: TCP Data received {"connection_id":126932,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:20:03] local.INFO: Processing buffer {"connection_id":126932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:20:03] local.INFO: IMEI packet received {"connection_id":126932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":126932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:20:04] local.INFO: TCP Data received {"connection_id":124849,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:20:04] local.INFO: Processing buffer {"connection_id":124849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:20:04] local.INFO: Packet analysis {"connection_id":124849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:20:04] local.INFO: Extracted packet for processing {"connection_id":124849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:20:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562180864001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446320000,"timestamp_ms":1783446320000,"timestamp_seconds":1783446320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daf3380"} 
[2026-07-07 23:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562180864001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562180864001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:20:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:20:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562180864001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":124849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:20:04] local.INFO: GPS data processed {"connection_id":124849,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:20:04] local.INFO: Acknowledgment sent {"connection_id":124849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:20:04] local.INFO: TCP Data received {"connection_id":126932,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:20:04] local.INFO: Processing buffer {"connection_id":126932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:20:04] local.INFO: Packet analysis {"connection_id":126932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:20:04] local.INFO: Extracted packet for processing {"connection_id":126932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:20:04] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562178560001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480981811597938688,"note":"Value kept but may cause issues"} 
[2026-07-07 23:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446316000,"timestamp_ms":1783446316000,"timestamp_seconds":1783446316,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daf23e0"} 
[2026-07-07 23:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 23:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562178560001,"66":25908,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8480981811597938688},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562178560001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:20:04] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:20:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480981811597938688,"description":"Unknown IO ID 45"} 
[2026-07-07 23:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562178560001,"power":25908,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8480981811597938688}} 
[2026-07-07 23:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":126932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448268,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:20:04] local.INFO: GPS data processed {"connection_id":126932,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:20:04] local.INFO: Acknowledgment sent {"connection_id":126932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:20:35] local.INFO: TCP Data received {"connection_id":124849,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:20:35] local.INFO: Processing buffer {"connection_id":124849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daf3380012dc5eb400537d5a00034014430..."} 
[2026-07-07 23:20:35] local.INFO: Packet analysis {"connection_id":124849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:20:35] local.INFO: Extracted packet for processing {"connection_id":124849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:20:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562180864001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783446320000,"timestamp_ms":1783446320000,"timestamp_seconds":1783446320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daf3380"} 
[2026-07-07 23:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562180864001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562180864001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:20:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:20:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562180864001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":124849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:20:35] local.INFO: GPS data processed {"connection_id":124849,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:20:35] local.INFO: Acknowledgment sent {"connection_id":124849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:20:35] local.INFO: TCP Data received {"connection_id":126932,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:20:35] local.INFO: Processing buffer {"connection_id":126932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3daf23e0012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:20:35] local.INFO: Packet analysis {"connection_id":126932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:20:35] local.INFO: Extracted packet for processing {"connection_id":126932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3daf"} 
[2026-07-07 23:20:35] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562178560001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480981811597938688,"note":"Value kept but may cause issues"} 
[2026-07-07 23:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783446316000,"timestamp_ms":1783446316000,"timestamp_seconds":1783446316,"priority":1,"record_length":96,"hex_timestamp":"0000019f3daf23e0"} 
[2026-07-07 23:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-07 23:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562178560001,"66":25908,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8480981811597938688},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562178560001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:20:35] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:20:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480981811597938688,"description":"Unknown IO ID 45"} 
[2026-07-07 23:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562178560001,"power":25908,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8480981811597938688}} 
[2026-07-07 23:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":126932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448270,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:20:36] local.INFO: GPS data processed {"connection_id":126932,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:20:36] local.INFO: Acknowledgment sent {"connection_id":126932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:20:58] local.INFO: TCP Data received {"connection_id":126933,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:20:58] local.INFO: Processing buffer {"connection_id":126933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:20:58] local.INFO: IMEI packet received {"connection_id":126933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":126933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:20:58] local.INFO: TCP Data received {"connection_id":125680,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:20:58] local.INFO: Processing buffer {"connection_id":125680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:20:58] local.INFO: IMEI packet received {"connection_id":125680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":125680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:21:03] local.INFO: TCP Data received {"connection_id":125680,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:21:03] local.INFO: Processing buffer {"connection_id":125680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:21:03] local.INFO: IMEI packet received {"connection_id":125680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":125680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:21:03] local.INFO: TCP Data received {"connection_id":126933,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:21:03] local.INFO: Processing buffer {"connection_id":126933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:21:03] local.INFO: IMEI packet received {"connection_id":126933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":126933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:21:08] local.INFO: TCP Data received {"connection_id":125680,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:21:08] local.INFO: Processing buffer {"connection_id":125680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:21:08] local.INFO: IMEI packet received {"connection_id":125680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":125680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:21:09] local.INFO: TCP Data received {"connection_id":125680,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:21:09] local.INFO: Processing buffer {"connection_id":125680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:21:09] local.INFO: Packet analysis {"connection_id":125680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:21:09] local.INFO: Extracted packet for processing {"connection_id":125680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:21:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 23:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562257920001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 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-07-07 23:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783446621000,"timestamp_ms":1783446621000,"timestamp_seconds":1783446621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db3cb48"} 
[2026-07-07 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-07-07 23:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 23:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562257920001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562257920001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:21:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:21:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562257920001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":125680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:21:09] local.INFO: GPS data processed {"connection_id":125680,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:21:09] local.INFO: Acknowledgment sent {"connection_id":125680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:21:13] local.INFO: TCP Data received {"connection_id":125680,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:21:13] local.INFO: Processing buffer {"connection_id":125680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:21:13] local.INFO: Packet analysis {"connection_id":125680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:21:13] local.INFO: Extracted packet for processing {"connection_id":125680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:21:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23: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-07-07 23:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562257920001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783446621000,"timestamp_ms":1783446621000,"timestamp_seconds":1783446621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db3cb48"} 
[2026-07-07 23:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:21: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-07-07 23: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":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23: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-07-07 23:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562257920001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562257920001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:21:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:21:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562257920001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":125680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:21:13] local.INFO: GPS data processed {"connection_id":125680,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:21:13] local.INFO: Acknowledgment sent {"connection_id":125680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:21:15] local.INFO: TCP Data received {"connection_id":126933,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:21:15] local.INFO: Processing buffer {"connection_id":126933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:21:15] local.INFO: IMEI packet received {"connection_id":126933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":126933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:21:16] local.INFO: TCP Data received {"connection_id":126933,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:21:16] local.INFO: Processing buffer {"connection_id":126933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:21:16] local.INFO: Packet analysis {"connection_id":126933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:21:16] local.INFO: Extracted packet for processing {"connection_id":126933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:21:16] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562256896001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8481192917830459392,"note":"Value kept but may cause issues"} 
[2026-07-07 23:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783446617000,"timestamp_ms":1783446617000,"timestamp_seconds":1783446617,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db3bba8"} 
[2026-07-07 23:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-07 23:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562256896001,"66":25647,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8481192917830459392},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562256896001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:21:16] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:21:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8481192917830459392,"description":"Unknown IO ID 45"} 
[2026-07-07 23:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562256896001,"power":25647,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8481192917830459392}} 
[2026-07-07 23:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":126933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448273,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:21:16] local.INFO: GPS data processed {"connection_id":126933,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:21:16] local.INFO: Acknowledgment sent {"connection_id":126933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:21:17] local.INFO: TCP Data received {"connection_id":126933,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:21:17] local.INFO: Processing buffer {"connection_id":126933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:21:17] local.INFO: Packet analysis {"connection_id":126933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:21:17] local.INFO: Extracted packet for processing {"connection_id":126933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:21:17] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562256896001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8481192917830459392,"note":"Value kept but may cause issues"} 
[2026-07-07 23:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783446617000,"timestamp_ms":1783446617000,"timestamp_seconds":1783446617,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db3bba8"} 
[2026-07-07 23:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-07 23:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":126933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":126933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":126933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562256896001,"66":25647,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8481192917830459392},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562256896001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:21:17] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:21:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8481192917830459392,"description":"Unknown IO ID 45"} 
[2026-07-07 23:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562256896001,"power":25647,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8481192917830459392}} 
[2026-07-07 23:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":126933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448274,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:21:17] local.INFO: GPS data processed {"connection_id":126933,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:21:17] local.INFO: Acknowledgment sent {"connection_id":126933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:21:57] local.INFO: TCP Data received {"connection_id":124850,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:21:57] local.INFO: Processing buffer {"connection_id":124850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:21:57] local.INFO: IMEI packet received {"connection_id":124850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":124850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:21:58] local.INFO: TCP Data received {"connection_id":125681,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:21:58] local.INFO: Processing buffer {"connection_id":125681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:21:58] local.INFO: IMEI packet received {"connection_id":125681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":125681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:22:03] local.INFO: TCP Data received {"connection_id":124850,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:22:03] local.INFO: Processing buffer {"connection_id":124850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:22:03] local.INFO: IMEI packet received {"connection_id":124850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":124850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:22:04] local.INFO: TCP Data received {"connection_id":124850,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:22:04] local.INFO: Processing buffer {"connection_id":124850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:22:04] local.INFO: Packet analysis {"connection_id":124850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:22:04] local.INFO: Extracted packet for processing {"connection_id":124850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:22:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562257920001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446621000,"timestamp_ms":1783446621000,"timestamp_seconds":1783446621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db3cb48"} 
[2026-07-07 23:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562257920001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562257920001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:22:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:22:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562257920001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":124850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:22:04] local.INFO: GPS data processed {"connection_id":124850,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:22:04] local.INFO: Acknowledgment sent {"connection_id":124850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:22:04] local.INFO: TCP Data received {"connection_id":125681,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:22:04] local.INFO: Processing buffer {"connection_id":125681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:22:04] local.INFO: IMEI packet received {"connection_id":125681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":125681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:22:05] local.INFO: TCP Data received {"connection_id":125681,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:22:05] local.INFO: Processing buffer {"connection_id":125681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:22:05] local.INFO: Packet analysis {"connection_id":125681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:22:05] local.INFO: Extracted packet for processing {"connection_id":125681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:22:05] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562256896001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8481192917830459392,"note":"Value kept but may cause issues"} 
[2026-07-07 23:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783446617000,"timestamp_ms":1783446617000,"timestamp_seconds":1783446617,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db3bba8"} 
[2026-07-07 23:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-07 23:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562256896001,"66":25647,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8481192917830459392},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562256896001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:22:05] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:22:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8481192917830459392,"description":"Unknown IO ID 45"} 
[2026-07-07 23:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562256896001,"power":25647,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8481192917830459392}} 
[2026-07-07 23:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":125681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448276,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:22:05] local.INFO: GPS data processed {"connection_id":125681,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:22:05] local.INFO: Acknowledgment sent {"connection_id":125681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:22:35] local.INFO: TCP Data received {"connection_id":124850,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:22:35] local.INFO: Processing buffer {"connection_id":124850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:22:35] local.INFO: Packet analysis {"connection_id":124850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:22:35] local.INFO: Extracted packet for processing {"connection_id":124850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:22:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562257920001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783446621000,"timestamp_ms":1783446621000,"timestamp_seconds":1783446621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db3cb48"} 
[2026-07-07 23:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562257920001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562257920001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:22:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:22:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562257920001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":124850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:22:35] local.INFO: GPS data processed {"connection_id":124850,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:22:35] local.INFO: Acknowledgment sent {"connection_id":124850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:22:37] local.INFO: TCP Data received {"connection_id":125681,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:22:37] local.INFO: Processing buffer {"connection_id":125681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:22:37] local.INFO: Packet analysis {"connection_id":125681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:22:37] local.INFO: Extracted packet for processing {"connection_id":125681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:22:37] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562256896001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8481192917830459392,"note":"Value kept but may cause issues"} 
[2026-07-07 23:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783446617000,"timestamp_ms":1783446617000,"timestamp_seconds":1783446617,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db3bba8"} 
[2026-07-07 23:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-07 23:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562256896001,"66":25647,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8481192917830459392},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562256896001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:22:37] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:22:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8481192917830459392,"description":"Unknown IO ID 45"} 
[2026-07-07 23:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562256896001,"power":25647,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8481192917830459392}} 
[2026-07-07 23:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":125681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448278,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:22:37] local.INFO: GPS data processed {"connection_id":125681,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:22:37] local.INFO: Acknowledgment sent {"connection_id":125681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:22:57] local.INFO: TCP Data received {"connection_id":124851,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:22:57] local.INFO: Processing buffer {"connection_id":124851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:22:57] local.INFO: IMEI packet received {"connection_id":124851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":124851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:22:58] local.INFO: TCP Data received {"connection_id":124852,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:22:58] local.INFO: Processing buffer {"connection_id":124852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:22:58] local.INFO: IMEI packet received {"connection_id":124852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":124852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:23:03] local.INFO: TCP Data received {"connection_id":124851,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:23:03] local.INFO: Processing buffer {"connection_id":124851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:23:03] local.INFO: IMEI packet received {"connection_id":124851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":124851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:23:03] local.INFO: TCP Data received {"connection_id":124852,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:23:03] local.INFO: Processing buffer {"connection_id":124852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:23:03] local.INFO: IMEI packet received {"connection_id":124852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":124852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:23:04] local.INFO: TCP Data received {"connection_id":124851,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:23:04] local.INFO: Processing buffer {"connection_id":124851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:23:04] local.INFO: Packet analysis {"connection_id":124851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:23:04] local.INFO: Extracted packet for processing {"connection_id":124851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:23:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562257920001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446621000,"timestamp_ms":1783446621000,"timestamp_seconds":1783446621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db3cb48"} 
[2026-07-07 23:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562257920001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562257920001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:23:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:23:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562257920001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":124851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:23:04] local.INFO: GPS data processed {"connection_id":124851,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:23:04] local.INFO: Acknowledgment sent {"connection_id":124851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:23:04] local.INFO: TCP Data received {"connection_id":124852,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:23:04] local.INFO: Processing buffer {"connection_id":124852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:23:04] local.INFO: Packet analysis {"connection_id":124852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:23:04] local.INFO: Extracted packet for processing {"connection_id":124852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:23:04] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562256896001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8481192917830459392,"note":"Value kept but may cause issues"} 
[2026-07-07 23:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446617000,"timestamp_ms":1783446617000,"timestamp_seconds":1783446617,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db3bba8"} 
[2026-07-07 23:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-07 23:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124852,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124852,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562256896001,"66":25647,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8481192917830459392},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562256896001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:23:04] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:23:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8481192917830459392,"description":"Unknown IO ID 45"} 
[2026-07-07 23:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562256896001,"power":25647,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8481192917830459392}} 
[2026-07-07 23:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":124852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448280,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:23:04] local.INFO: GPS data processed {"connection_id":124852,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:23:04] local.INFO: Acknowledgment sent {"connection_id":124852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:23:36] local.INFO: TCP Data received {"connection_id":124852,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:23:36] local.INFO: Processing buffer {"connection_id":124852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:23:36] local.INFO: Packet analysis {"connection_id":124852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:23:36] local.INFO: Extracted packet for processing {"connection_id":124852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:23:36] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562256896001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8481192917830459392,"note":"Value kept but may cause issues"} 
[2026-07-07 23:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783446617000,"timestamp_ms":1783446617000,"timestamp_seconds":1783446617,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db3bba8"} 
[2026-07-07 23:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-07 23:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124852,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124852,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562256896001,"66":25647,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8481192917830459392},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562256896001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:23:36] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:23:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8481192917830459392,"description":"Unknown IO ID 45"} 
[2026-07-07 23:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562256896001,"power":25647,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8481192917830459392}} 
[2026-07-07 23:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":124852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448281,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:23:36] local.INFO: GPS data processed {"connection_id":124852,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:23:36] local.INFO: Acknowledgment sent {"connection_id":124852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:23:39] local.INFO: TCP Data received {"connection_id":124851,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:23:39] local.INFO: Processing buffer {"connection_id":124851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:23:39] local.INFO: Packet analysis {"connection_id":124851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:23:39] local.INFO: Extracted packet for processing {"connection_id":124851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:23:39] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562257920001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783446621000,"timestamp_ms":1783446621000,"timestamp_seconds":1783446621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db3cb48"} 
[2026-07-07 23:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:23: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-07-07 23:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562257920001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562257920001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:23:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:23:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562257920001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":124851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:23:39] local.INFO: GPS data processed {"connection_id":124851,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:23:39] local.INFO: Acknowledgment sent {"connection_id":124851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:24:03] local.INFO: TCP Data received {"connection_id":124950,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:24:03] local.INFO: Processing buffer {"connection_id":124950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:24:03] local.INFO: IMEI packet received {"connection_id":124950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":124950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:24:03] local.INFO: TCP Data received {"connection_id":124951,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:24:03] local.INFO: Processing buffer {"connection_id":124951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:24:03] local.INFO: IMEI packet received {"connection_id":124951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":124951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:24:08] local.INFO: TCP Data received {"connection_id":124950,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:24:08] local.INFO: Processing buffer {"connection_id":124950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:24:08] local.INFO: IMEI packet received {"connection_id":124950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":124950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:24:08] local.INFO: TCP Data received {"connection_id":124951,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:24:08] local.INFO: Processing buffer {"connection_id":124951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:24:08] local.INFO: IMEI packet received {"connection_id":124951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":124951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:24:09] local.INFO: TCP Data received {"connection_id":124950,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:24:09] local.INFO: Processing buffer {"connection_id":124950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:24:09] local.INFO: Packet analysis {"connection_id":124950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:24:09] local.INFO: Extracted packet for processing {"connection_id":124950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:24:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562257920001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783446621000,"timestamp_ms":1783446621000,"timestamp_seconds":1783446621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db3cb48"} 
[2026-07-07 23:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562257920001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562257920001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:24:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:24:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562257920001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":124950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:24:09] local.INFO: GPS data processed {"connection_id":124950,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:24:09] local.INFO: Acknowledgment sent {"connection_id":124950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:24:09] local.INFO: TCP Data received {"connection_id":124951,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:24:09] local.INFO: Processing buffer {"connection_id":124951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:24:09] local.INFO: Packet analysis {"connection_id":124951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:24:09] local.INFO: Extracted packet for processing {"connection_id":124951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:24:09] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562256896001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8481192917830459392,"note":"Value kept but may cause issues"} 
[2026-07-07 23:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783446617000,"timestamp_ms":1783446617000,"timestamp_seconds":1783446617,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db3bba8"} 
[2026-07-07 23:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-07 23:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562256896001,"66":25647,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8481192917830459392},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562256896001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:24:09] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:24:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8481192917830459392,"description":"Unknown IO ID 45"} 
[2026-07-07 23:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562256896001,"power":25647,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8481192917830459392}} 
[2026-07-07 23:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":124951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448284,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:24:09] local.INFO: GPS data processed {"connection_id":124951,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:24:09] local.INFO: Acknowledgment sent {"connection_id":124951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:24:13] local.INFO: TCP Data received {"connection_id":124950,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:24:13] local.INFO: Processing buffer {"connection_id":124950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:24:13] local.INFO: Packet analysis {"connection_id":124950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:24:13] local.INFO: Extracted packet for processing {"connection_id":124950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:24:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562257920001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783446621000,"timestamp_ms":1783446621000,"timestamp_seconds":1783446621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db3cb48"} 
[2026-07-07 23:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:24: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-07-07 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562257920001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562257920001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:24:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:24:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562257920001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":124950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:24:13] local.INFO: GPS data processed {"connection_id":124950,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:24:13] local.INFO: Acknowledgment sent {"connection_id":124950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:24:13] local.INFO: TCP Data received {"connection_id":124951,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:24:13] local.INFO: Processing buffer {"connection_id":124951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:24:13] local.INFO: Packet analysis {"connection_id":124951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:24:13] local.INFO: Extracted packet for processing {"connection_id":124951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:24:14] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562256896001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8481192917830459392,"note":"Value kept but may cause issues"} 
[2026-07-07 23:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783446617000,"timestamp_ms":1783446617000,"timestamp_seconds":1783446617,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db3bba8"} 
[2026-07-07 23:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-07 23:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562256896001,"66":25647,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8481192917830459392},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562256896001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:24:14] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:24:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8481192917830459392,"description":"Unknown IO ID 45"} 
[2026-07-07 23:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562256896001,"power":25647,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8481192917830459392}} 
[2026-07-07 23:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":124951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448286,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:24:14] local.INFO: GPS data processed {"connection_id":124951,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:24:14] local.INFO: Acknowledgment sent {"connection_id":124951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:24:58] local.INFO: TCP Data received {"connection_id":124854,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:24:58] local.INFO: Processing buffer {"connection_id":124854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:24:58] local.INFO: IMEI packet received {"connection_id":124854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":124854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:24:58] local.INFO: TCP Data received {"connection_id":124853,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:24:58] local.INFO: Processing buffer {"connection_id":124853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:24:58] local.INFO: IMEI packet received {"connection_id":124853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":124853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:25:03] local.INFO: TCP Data received {"connection_id":124853,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:25:03] local.INFO: Processing buffer {"connection_id":124853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:25:03] local.INFO: IMEI packet received {"connection_id":124853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":124853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:25:03] local.INFO: TCP Data received {"connection_id":124854,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:25:03] local.INFO: Processing buffer {"connection_id":124854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:25:03] local.INFO: IMEI packet received {"connection_id":124854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":124854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:25:04] local.INFO: TCP Data received {"connection_id":124853,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:25:04] local.INFO: Processing buffer {"connection_id":124853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:25:04] local.INFO: Packet analysis {"connection_id":124853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:25:04] local.INFO: Extracted packet for processing {"connection_id":124853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:25:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23: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-07-07 23:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562257920001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446621000,"timestamp_ms":1783446621000,"timestamp_seconds":1783446621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db3cb48"} 
[2026-07-07 23:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23: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-07-07 23:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562257920001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562257920001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:25:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:25:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562257920001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":124853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:25:04] local.INFO: GPS data processed {"connection_id":124853,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:25:04] local.INFO: Acknowledgment sent {"connection_id":124853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:25:04] local.INFO: TCP Data received {"connection_id":124854,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:25:04] local.INFO: Processing buffer {"connection_id":124854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:25:04] local.INFO: Packet analysis {"connection_id":124854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:25:04] local.INFO: Extracted packet for processing {"connection_id":124854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:25:04] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23: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-07-07 23:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562256896001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8481192917830459392,"note":"Value kept but may cause issues"} 
[2026-07-07 23:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446617000,"timestamp_ms":1783446617000,"timestamp_seconds":1783446617,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db3bba8"} 
[2026-07-07 23:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-07 23:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23: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-07-07 23:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562256896001,"66":25647,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8481192917830459392},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562256896001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:25:04] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:25:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8481192917830459392,"description":"Unknown IO ID 45"} 
[2026-07-07 23:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562256896001,"power":25647,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8481192917830459392}} 
[2026-07-07 23:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":124854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448288,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:25:04] local.INFO: GPS data processed {"connection_id":124854,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:25:04] local.INFO: Acknowledgment sent {"connection_id":124854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:25:35] local.INFO: TCP Data received {"connection_id":124853,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:25:35] local.INFO: Processing buffer {"connection_id":124853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db3cb48012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:25:35] local.INFO: Packet analysis {"connection_id":124853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:25:35] local.INFO: Extracted packet for processing {"connection_id":124853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:25:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562257920001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783446621000,"timestamp_ms":1783446621000,"timestamp_seconds":1783446621,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db3cb48"} 
[2026-07-07 23:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562257920001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562257920001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:25:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:25:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562257920001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":124853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:25:35] local.INFO: GPS data processed {"connection_id":124853,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:25:35] local.INFO: Acknowledgment sent {"connection_id":124853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:25:36] local.INFO: TCP Data received {"connection_id":124854,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:25:36] local.INFO: Processing buffer {"connection_id":124854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db3bba8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:25:36] local.INFO: Packet analysis {"connection_id":124854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:25:36] local.INFO: Extracted packet for processing {"connection_id":124854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db3"} 
[2026-07-07 23:25:36] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562256896001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8481192917830459392,"note":"Value kept but may cause issues"} 
[2026-07-07 23:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783446617000,"timestamp_ms":1783446617000,"timestamp_seconds":1783446617,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db3bba8"} 
[2026-07-07 23:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-07 23:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562256896001,"66":25647,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8481192917830459392},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562256896001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:25:36] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:25:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8481192917830459392,"description":"Unknown IO ID 45"} 
[2026-07-07 23:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562256896001,"power":25647,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8481192917830459392}} 
[2026-07-07 23:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":124854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448290,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:25:36] local.INFO: GPS data processed {"connection_id":124854,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:25:36] local.INFO: Acknowledgment sent {"connection_id":124854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:25:58] local.INFO: TCP Data received {"connection_id":126935,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:25:58] local.INFO: Processing buffer {"connection_id":126935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:25:58] local.INFO: IMEI packet received {"connection_id":126935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":126935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:25:58] local.INFO: TCP Data received {"connection_id":126934,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:25:58] local.INFO: Processing buffer {"connection_id":126934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:25:58] local.INFO: IMEI packet received {"connection_id":126934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":126934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:26:01] local.INFO: TCP Data received {"connection_id":126934,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:26:01] local.INFO: Processing buffer {"connection_id":126934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:26:01] local.INFO: IMEI packet received {"connection_id":126934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":126934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:26:02] local.INFO: TCP Data received {"connection_id":126934,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:26:02] local.INFO: Processing buffer {"connection_id":126934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:26:02] local.INFO: IMEI packet received {"connection_id":126934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":126934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:26:03] local.INFO: TCP Data received {"connection_id":126935,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:26:03] local.INFO: Processing buffer {"connection_id":126935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:26:03] local.INFO: IMEI packet received {"connection_id":126935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":126935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:26:04] local.INFO: TCP Data received {"connection_id":126935,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db85370012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db85370012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:26:04] local.INFO: Processing buffer {"connection_id":126935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db85370012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:26:04] local.INFO: Packet analysis {"connection_id":126935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:26:04] local.INFO: Extracted packet for processing {"connection_id":126935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:26:04] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562333952001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8481192917830459392,"note":"Value kept but may cause issues"} 
[2026-07-07 23:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446918000,"timestamp_ms":1783446918000,"timestamp_seconds":1783446918,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db85370"} 
[2026-07-07 23:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 23:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562333952001,"66":25549,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8481192917830459392},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562333952001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:26:04] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:26:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8481192917830459392,"description":"Unknown IO ID 45"} 
[2026-07-07 23:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562333952001,"power":25549,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8481192917830459392}} 
[2026-07-07 23:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":126935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448291,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:26:04] local.INFO: GPS data processed {"connection_id":126935,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:26:04] local.INFO: Acknowledgment sent {"connection_id":126935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:26:08] local.INFO: TCP Data received {"connection_id":126934,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:26:08] local.INFO: Processing buffer {"connection_id":126934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:26:08] local.INFO: IMEI packet received {"connection_id":126934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":126934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:26:09] local.INFO: TCP Data received {"connection_id":126934,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:26:09] local.INFO: Processing buffer {"connection_id":126934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:26:09] local.INFO: Packet analysis {"connection_id":126934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:26:09] local.INFO: Extracted packet for processing {"connection_id":126934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:26:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562334976001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783446922000,"timestamp_ms":1783446922000,"timestamp_seconds":1783446922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db86310"} 
[2026-07-07 23:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:26: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-07-07 23:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562334976001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562334976001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:26:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:26:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562334976001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":126934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:26:09] local.INFO: GPS data processed {"connection_id":126934,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:26:09] local.INFO: Acknowledgment sent {"connection_id":126934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:26:36] local.INFO: TCP Data received {"connection_id":126935,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db85370012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db85370012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:26:36] local.INFO: Processing buffer {"connection_id":126935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db85370012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:26:36] local.INFO: Packet analysis {"connection_id":126935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:26:36] local.INFO: Extracted packet for processing {"connection_id":126935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:26:36] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562333952001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8481192917830459392,"note":"Value kept but may cause issues"} 
[2026-07-07 23:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783446918000,"timestamp_ms":1783446918000,"timestamp_seconds":1783446918,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db85370"} 
[2026-07-07 23:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 23:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562333952001,"66":25549,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8481192917830459392},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562333952001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:26:36] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:26:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8481192917830459392,"description":"Unknown IO ID 45"} 
[2026-07-07 23:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562333952001,"power":25549,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8481192917830459392}} 
[2026-07-07 23:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":126935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448293,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:26:36] local.INFO: GPS data processed {"connection_id":126935,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:26:36] local.INFO: Acknowledgment sent {"connection_id":126935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:26:40] local.INFO: TCP Data received {"connection_id":126934,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:26:40] local.INFO: Processing buffer {"connection_id":126934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:26:40] local.INFO: Packet analysis {"connection_id":126934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:26:40] local.INFO: Extracted packet for processing {"connection_id":126934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:26:40] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562334976001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783446922000,"timestamp_ms":1783446922000,"timestamp_seconds":1783446922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db86310"} 
[2026-07-07 23:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:26: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-07-07 23:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562334976001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562334976001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:26:40] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:26:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562334976001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":126934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:26:40] local.INFO: GPS data processed {"connection_id":126934,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:26:40] local.INFO: Acknowledgment sent {"connection_id":126934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:26:58] local.INFO: TCP Data received {"connection_id":125682,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:26:58] local.INFO: Processing buffer {"connection_id":125682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:26:58] local.INFO: IMEI packet received {"connection_id":125682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":125682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:26:58] local.INFO: TCP Data received {"connection_id":124952,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:26:58] local.INFO: Processing buffer {"connection_id":124952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:26:58] local.INFO: IMEI packet received {"connection_id":124952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":124952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:27:03] local.INFO: TCP Data received {"connection_id":125682,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:27:03] local.INFO: Processing buffer {"connection_id":125682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:27:03] local.INFO: IMEI packet received {"connection_id":125682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":125682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:27:03] local.INFO: TCP Data received {"connection_id":124952,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:27:03] local.INFO: Processing buffer {"connection_id":124952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:27:03] local.INFO: IMEI packet received {"connection_id":124952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":124952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:27:03] local.INFO: TCP Data received {"connection_id":125682,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:27:03] local.INFO: Processing buffer {"connection_id":125682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:27:03] local.INFO: Packet analysis {"connection_id":125682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:27:03] local.INFO: Extracted packet for processing {"connection_id":125682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:27:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562334976001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783446922000,"timestamp_ms":1783446922000,"timestamp_seconds":1783446922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db86310"} 
[2026-07-07 23:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562334976001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562334976001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:27:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:27:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562334976001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":125682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:27:04] local.INFO: GPS data processed {"connection_id":125682,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:27:04] local.INFO: Acknowledgment sent {"connection_id":125682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:27:04] local.INFO: TCP Data received {"connection_id":124952,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db85370012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db85370012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:27:04] local.INFO: Processing buffer {"connection_id":124952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db85370012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:27:04] local.INFO: Packet analysis {"connection_id":124952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:27:04] local.INFO: Extracted packet for processing {"connection_id":124952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:27:04] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562333952001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8481192917830459392,"note":"Value kept but may cause issues"} 
[2026-07-07 23:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446918000,"timestamp_ms":1783446918000,"timestamp_seconds":1783446918,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db85370"} 
[2026-07-07 23:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 23:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562333952001,"66":25549,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8481192917830459392},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562333952001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:27:04] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:27:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8481192917830459392,"description":"Unknown IO ID 45"} 
[2026-07-07 23:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562333952001,"power":25549,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8481192917830459392}} 
[2026-07-07 23:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":124952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448296,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:27:04] local.INFO: GPS data processed {"connection_id":124952,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:27:04] local.INFO: Acknowledgment sent {"connection_id":124952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:27:35] local.INFO: TCP Data received {"connection_id":125682,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:27:35] local.INFO: Processing buffer {"connection_id":125682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:27:35] local.INFO: Packet analysis {"connection_id":125682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:27:35] local.INFO: Extracted packet for processing {"connection_id":125682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:27:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562334976001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783446922000,"timestamp_ms":1783446922000,"timestamp_seconds":1783446922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db86310"} 
[2026-07-07 23:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562334976001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562334976001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:27:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:27:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562334976001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":125682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:27:35] local.INFO: GPS data processed {"connection_id":125682,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:27:35] local.INFO: Acknowledgment sent {"connection_id":125682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:27:35] local.INFO: TCP Data received {"connection_id":124952,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db85370012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db85370012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:27:35] local.INFO: Processing buffer {"connection_id":124952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db85370012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:27:35] local.INFO: Packet analysis {"connection_id":124952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:27:35] local.INFO: Extracted packet for processing {"connection_id":124952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:27:35] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562333952001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8481192917830459392,"note":"Value kept but may cause issues"} 
[2026-07-07 23:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783446918000,"timestamp_ms":1783446918000,"timestamp_seconds":1783446918,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db85370"} 
[2026-07-07 23:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 23:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562333952001,"66":25549,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8481192917830459392},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562333952001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:27:35] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:27:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8481192917830459392,"description":"Unknown IO ID 45"} 
[2026-07-07 23:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562333952001,"power":25549,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8481192917830459392}} 
[2026-07-07 23:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":124952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448298,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:27:35] local.INFO: GPS data processed {"connection_id":124952,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:27:35] local.INFO: Acknowledgment sent {"connection_id":124952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:27:58] local.INFO: TCP Data received {"connection_id":124855,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:27:58] local.INFO: Processing buffer {"connection_id":124855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:27:58] local.INFO: IMEI packet received {"connection_id":124855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":124855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:27:58] local.INFO: TCP Data received {"connection_id":124953,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:27:58] local.INFO: Processing buffer {"connection_id":124953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:27:58] local.INFO: IMEI packet received {"connection_id":124953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":124953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:28:03] local.INFO: TCP Data received {"connection_id":124953,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:28:03] local.INFO: Processing buffer {"connection_id":124953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:28:03] local.INFO: IMEI packet received {"connection_id":124953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":124953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:28:03] local.INFO: TCP Data received {"connection_id":124855,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:28:03] local.INFO: Processing buffer {"connection_id":124855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:28:03] local.INFO: IMEI packet received {"connection_id":124855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":124855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:28:04] local.INFO: TCP Data received {"connection_id":124953,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:28:04] local.INFO: Processing buffer {"connection_id":124953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:28:04] local.INFO: Packet analysis {"connection_id":124953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:28:04] local.INFO: Extracted packet for processing {"connection_id":124953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:28:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562334976001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446922000,"timestamp_ms":1783446922000,"timestamp_seconds":1783446922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db86310"} 
[2026-07-07 23:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562334976001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562334976001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:28:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:28:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562334976001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":124953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:28:04] local.INFO: GPS data processed {"connection_id":124953,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:28:04] local.INFO: Acknowledgment sent {"connection_id":124953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:28:04] local.INFO: TCP Data received {"connection_id":124855,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db85370012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db85370012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:28:04] local.INFO: Processing buffer {"connection_id":124855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db85370012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:28:04] local.INFO: Packet analysis {"connection_id":124855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:28:04] local.INFO: Extracted packet for processing {"connection_id":124855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:28:04] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562333952001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8481192917830459392,"note":"Value kept but may cause issues"} 
[2026-07-07 23:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446918000,"timestamp_ms":1783446918000,"timestamp_seconds":1783446918,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db85370"} 
[2026-07-07 23:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 23:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562333952001,"66":25549,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8481192917830459392},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562333952001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:28:04] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:28:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8481192917830459392,"description":"Unknown IO ID 45"} 
[2026-07-07 23:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562333952001,"power":25549,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8481192917830459392}} 
[2026-07-07 23:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":124855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448300,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:28:04] local.INFO: GPS data processed {"connection_id":124855,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:28:04] local.INFO: Acknowledgment sent {"connection_id":124855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:28:35] local.INFO: TCP Data received {"connection_id":124953,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:28:35] local.INFO: Processing buffer {"connection_id":124953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:28:35] local.INFO: Packet analysis {"connection_id":124953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:28:35] local.INFO: Extracted packet for processing {"connection_id":124953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:28:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562334976001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783446922000,"timestamp_ms":1783446922000,"timestamp_seconds":1783446922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db86310"} 
[2026-07-07 23:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562334976001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562334976001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:28:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:28:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562334976001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":124953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:28:35] local.INFO: GPS data processed {"connection_id":124953,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:28:35] local.INFO: Acknowledgment sent {"connection_id":124953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:28:35] local.INFO: TCP Data received {"connection_id":124855,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db85370012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db85370012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:28:35] local.INFO: Processing buffer {"connection_id":124855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db85370012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:28:35] local.INFO: Packet analysis {"connection_id":124855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:28:35] local.INFO: Extracted packet for processing {"connection_id":124855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:28:35] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562333952001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8481192917830459392,"note":"Value kept but may cause issues"} 
[2026-07-07 23:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783446918000,"timestamp_ms":1783446918000,"timestamp_seconds":1783446918,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db85370"} 
[2026-07-07 23:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-07 23:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562333952001,"66":25549,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8481192917830459392},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562333952001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:28:36] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:28:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8481192917830459392,"description":"Unknown IO ID 45"} 
[2026-07-07 23:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562333952001,"power":25549,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8481192917830459392}} 
[2026-07-07 23:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":124855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448302,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:28:36] local.INFO: GPS data processed {"connection_id":124855,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:28:36] local.INFO: Acknowledgment sent {"connection_id":124855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:28:58] local.INFO: TCP Data received {"connection_id":126936,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:28:58] local.INFO: Processing buffer {"connection_id":126936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:28:58] local.INFO: IMEI packet received {"connection_id":126936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":126936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:28:58] local.INFO: TCP Data received {"connection_id":125683,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:28:58] local.INFO: Processing buffer {"connection_id":125683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:28:58] local.INFO: IMEI packet received {"connection_id":125683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":125683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:29:03] local.INFO: TCP Data received {"connection_id":125683,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:29:03] local.INFO: Processing buffer {"connection_id":125683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:29:03] local.INFO: IMEI packet received {"connection_id":125683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":125683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:29:03] local.INFO: TCP Data received {"connection_id":126936,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:29:03] local.INFO: Processing buffer {"connection_id":126936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:29:03] local.INFO: IMEI packet received {"connection_id":126936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":126936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:29:03] local.INFO: TCP Data received {"connection_id":126936,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbad7f8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbad7f8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:29:03] local.INFO: Processing buffer {"connection_id":126936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbad7f8012d75b3400602d7e00007014e2e..."} 
[2026-07-07 23:29:03] local.INFO: Packet analysis {"connection_id":126936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dba"} 
[2026-07-07 23:29:03] local.INFO: Extracted packet for processing {"connection_id":126936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dba"} 
[2026-07-07 23:29:03] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100849632,"longitude_deg":76.268832,"latitude_deg":10.0849632,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b340","hex_latitude":"0602d7e0","is_valid_coordinates":true} 
[2026-07-07 23:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562411008001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8481192917830459392,"note":"Value kept but may cause issues"} 
[2026-07-07 23:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783447083000,"timestamp_ms":1783447083000,"timestamp_seconds":1783447083,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbad7f8"} 
[2026-07-07 23:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-07 23:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562411008001,"66":25495,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8481192917830459392},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562411008001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:29:03] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:29:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8481192917830459392,"description":"Unknown IO ID 45"} 
[2026-07-07 23:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562411008001,"power":25495,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8481192917830459392}} 
[2026-07-07 23:29:04] local.INFO: TCP Data received {"connection_id":125683,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:29:04] local.INFO: Processing buffer {"connection_id":125683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:29:04] local.INFO: Packet analysis {"connection_id":125683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:29:04] local.INFO: Extracted packet for processing {"connection_id":125683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:29:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562334976001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783446922000,"timestamp_ms":1783446922000,"timestamp_seconds":1783446922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db86310"} 
[2026-07-07 23:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562334976001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562334976001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:29:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:29:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562334976001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":125683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:29:04] local.INFO: GPS data processed {"connection_id":125683,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:29:04] local.INFO: Acknowledgment sent {"connection_id":125683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":126936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448304,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:29:04] local.INFO: GPS data processed {"connection_id":126936,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:29:04] local.INFO: Acknowledgment sent {"connection_id":126936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:29:35] local.INFO: TCP Data received {"connection_id":125683,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:29:35] local.INFO: Processing buffer {"connection_id":125683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:29:35] local.INFO: Packet analysis {"connection_id":125683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:29:35] local.INFO: Extracted packet for processing {"connection_id":125683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:29:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562334976001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783446922000,"timestamp_ms":1783446922000,"timestamp_seconds":1783446922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db86310"} 
[2026-07-07 23:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562334976001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562334976001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:29:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:29:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562334976001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":125683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:29:35] local.INFO: GPS data processed {"connection_id":125683,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:29:35] local.INFO: Acknowledgment sent {"connection_id":125683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:29:35] local.INFO: TCP Data received {"connection_id":126936,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbb31d0012d75b2800602d8100007014e2e..."} 
[2026-07-07 23:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbb31d0012d75b2800602d8100007014e2e..."} 
[2026-07-07 23:29:35] local.INFO: Processing buffer {"connection_id":126936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbb31d0012d75b2800602d8100007014e2e..."} 
[2026-07-07 23:29:35] local.INFO: Packet analysis {"connection_id":126936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbb"} 
[2026-07-07 23:29:35] local.INFO: Extracted packet for processing {"connection_id":126936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbb"} 
[2026-07-07 23:29:35] local.INFO: GPS Element Parsed {"raw_longitude":762688128,"raw_latitude":100849680,"longitude_deg":76.2688128,"latitude_deg":10.084968,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b280","hex_latitude":"0602d810","is_valid_coordinates":true} 
[2026-07-07 23:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562453248001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8481192917830459392,"note":"Value kept but may cause issues"} 
[2026-07-07 23:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783447106000,"timestamp_ms":1783447106000,"timestamp_seconds":1783447106,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbb31d0"} 
[2026-07-07 23:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:29: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-07-07 23:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562453248001,"66":28354,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8481192917830459392},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562453248001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:29:35] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:29:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8481192917830459392,"description":"Unknown IO ID 45"} 
[2026-07-07 23:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562453248001,"power":28354,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8481192917830459392}} 
[2026-07-07 23:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":126936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:29:35] local.INFO: GPS data processed {"connection_id":126936,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:29:35] local.INFO: Acknowledgment sent {"connection_id":126936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:29:58] local.INFO: TCP Data received {"connection_id":124954,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:29:58] local.INFO: Processing buffer {"connection_id":124954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:29:58] local.INFO: IMEI packet received {"connection_id":124954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":124954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:30:03] local.INFO: TCP Data received {"connection_id":125684,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:30:03] local.INFO: Processing buffer {"connection_id":125684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:30:03] local.INFO: IMEI packet received {"connection_id":125684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":125684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:30:06] local.INFO: TCP Data received {"connection_id":125684,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:30:06] local.INFO: Processing buffer {"connection_id":125684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:30:06] local.INFO: IMEI packet received {"connection_id":125684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":125684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:30:06] local.INFO: TCP Data received {"connection_id":124954,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:30:06] local.INFO: Processing buffer {"connection_id":124954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:30:06] local.INFO: IMEI packet received {"connection_id":124954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":124954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:30:07] local.INFO: TCP Data received {"connection_id":125684,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbb83d8012d75b2800602d8100007014e2e..."} 
[2026-07-07 23:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbb83d8012d75b2800602d8100007014e2e..."} 
[2026-07-07 23:30:07] local.INFO: Processing buffer {"connection_id":125684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbb83d8012d75b2800602d8100007014e2e..."} 
[2026-07-07 23:30:07] local.INFO: Packet analysis {"connection_id":125684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbb"} 
[2026-07-07 23:30:07] local.INFO: Extracted packet for processing {"connection_id":125684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbb"} 
[2026-07-07 23:30:07] local.INFO: GPS Element Parsed {"raw_longitude":762688128,"raw_latitude":100849680,"longitude_deg":76.2688128,"latitude_deg":10.084968,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b280","hex_latitude":"0602d810","is_valid_coordinates":true} 
[2026-07-07 23:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562459136001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480981811597938688,"note":"Value kept but may cause issues"} 
[2026-07-07 23:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783447127000,"timestamp_ms":1783447127000,"timestamp_seconds":1783447127,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbb83d8"} 
[2026-07-07 23:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-07 23:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125684,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125684,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562459136001,"66":27789,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8480981811597938688},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562459136001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:30:07] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:30:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480981811597938688,"description":"Unknown IO ID 45"} 
[2026-07-07 23:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562459136001,"power":27789,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8480981811597938688}} 
[2026-07-07 23:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":125684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448307,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:30:07] local.INFO: GPS data processed {"connection_id":125684,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:30:07] local.INFO: Acknowledgment sent {"connection_id":125684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:30:07] local.INFO: TCP Data received {"connection_id":124954,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:30:07] local.INFO: Processing buffer {"connection_id":124954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:30:07] local.INFO: IMEI packet received {"connection_id":124954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":124954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:30:10] local.INFO: TCP Data received {"connection_id":124954,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:30:10] local.INFO: Processing buffer {"connection_id":124954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:30:10] local.INFO: Packet analysis {"connection_id":124954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:30:10] local.INFO: Extracted packet for processing {"connection_id":124954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:30:10] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562334976001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:30: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-07-07 23:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783446922000,"timestamp_ms":1783446922000,"timestamp_seconds":1783446922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db86310"} 
[2026-07-07 23:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562334976001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562334976001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:30:10] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:30:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562334976001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":124954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:30:10] local.INFO: GPS data processed {"connection_id":124954,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:30:10] local.INFO: Acknowledgment sent {"connection_id":124954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:30:15] local.INFO: TCP Data received {"connection_id":124954,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:30:15] local.INFO: Processing buffer {"connection_id":124954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3db86310012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:30:15] local.INFO: Packet analysis {"connection_id":124954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:30:15] local.INFO: Extracted packet for processing {"connection_id":124954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3db8"} 
[2026-07-07 23:30:15] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 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-07-07 23:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562334976001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:30: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-07-07 23:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783446922000,"timestamp_ms":1783446922000,"timestamp_seconds":1783446922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3db86310"} 
[2026-07-07 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-07-07 23:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 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-07-07 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-07-07 23:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562334976001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562334976001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:30:15] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:30:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562334976001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":124954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:30:15] local.INFO: GPS data processed {"connection_id":124954,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:30:15] local.INFO: Acknowledgment sent {"connection_id":124954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:30:38] local.INFO: TCP Data received {"connection_id":125684,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbbd5e0012d75b2800602d8100007014e2e..."} 
[2026-07-07 23:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbbd5e0012d75b2800602d8100007014e2e..."} 
[2026-07-07 23:30:38] local.INFO: Processing buffer {"connection_id":125684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbbd5e0012d75b2800602d8100007014e2e..."} 
[2026-07-07 23:30:38] local.INFO: Packet analysis {"connection_id":125684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbb"} 
[2026-07-07 23:30:38] local.INFO: Extracted packet for processing {"connection_id":125684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbb"} 
[2026-07-07 23:30:38] local.INFO: GPS Element Parsed {"raw_longitude":762688128,"raw_latitude":100849680,"longitude_deg":76.2688128,"latitude_deg":10.084968,"altitude":7,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d75b280","hex_latitude":"0602d810","is_valid_coordinates":true} 
[2026-07-07 23:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562464512001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313343795920896,"note":"Value kept but may cause issues"} 
[2026-07-07 23:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480981811597938688,"note":"Value kept but may cause issues"} 
[2026-07-07 23:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783447148000,"timestamp_ms":1783447148000,"timestamp_seconds":1783447148,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbbd5e0"} 
[2026-07-07 23:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-07 23:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125684,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125684,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562464512001,"66":27713,"63":206,"8":65280,"24":0,"16":132313343795920896,"45":8480981811597938688},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562464512001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:30:38] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:30:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313343795920896,"km_value":132313343795920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480981811597938688,"description":"Unknown IO ID 45"} 
[2026-07-07 23:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562464512001,"power":27713,"unknown_63":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8480981811597938688}} 
[2026-07-07 23:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":125684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448310,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:30:38] local.INFO: GPS data processed {"connection_id":125684,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:30:38] local.INFO: Acknowledgment sent {"connection_id":125684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:30:56] local.INFO: TCP Data received {"connection_id":126937,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:30:56] local.INFO: Processing buffer {"connection_id":126937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:30:56] local.INFO: IMEI packet received {"connection_id":126937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":126937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:30:57] local.INFO: TCP Data received {"connection_id":125685,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:30:57] local.INFO: Processing buffer {"connection_id":125685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:30:57] local.INFO: IMEI packet received {"connection_id":125685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":125685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:30:58] local.INFO: TCP Data received {"connection_id":126937,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:30:58] local.INFO: Processing buffer {"connection_id":126937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:30:58] local.INFO: IMEI packet received {"connection_id":126937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":126937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:31:01] local.INFO: TCP Data received {"connection_id":125685,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:31:01] local.INFO: Processing buffer {"connection_id":125685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:31:01] local.INFO: IMEI packet received {"connection_id":125685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":125685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:31:02] local.INFO: TCP Data received {"connection_id":125685,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:31:02] local.INFO: Processing buffer {"connection_id":125685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:31:02] local.INFO: IMEI packet received {"connection_id":125685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":125685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:31:03] local.INFO: TCP Data received {"connection_id":126937,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:31:03] local.INFO: Processing buffer {"connection_id":126937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:31:03] local.INFO: IMEI packet received {"connection_id":126937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":126937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:31:03] local.INFO: TCP Data received {"connection_id":125685,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:31:03] local.INFO: Processing buffer {"connection_id":125685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:31:03] local.INFO: Packet analysis {"connection_id":125685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:31:03] local.INFO: Extracted packet for processing {"connection_id":125685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:31:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562412032001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783447223000,"timestamp_ms":1783447223000,"timestamp_seconds":1783447223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbcfad8"} 
[2026-07-07 23:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562412032001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562412032001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:31:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:31:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562412032001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":125685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:31:03] local.INFO: GPS data processed {"connection_id":125685,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:31:03] local.INFO: Acknowledgment sent {"connection_id":125685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:31:04] local.INFO: TCP Data received {"connection_id":126937,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbbe580012d75aec00602e5b0000c015a31..."} 
[2026-07-07 23:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbbe580012d75aec00602e5b0000c015a31..."} 
[2026-07-07 23:31:04] local.INFO: Processing buffer {"connection_id":126937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbbe580012d75aec00602e5b0000c015a31..."} 
[2026-07-07 23:31:04] local.INFO: Packet analysis {"connection_id":126937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbb"} 
[2026-07-07 23:31:04] local.INFO: Extracted packet for processing {"connection_id":126937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbb"} 
[2026-07-07 23:31:04] local.INFO: GPS Element Parsed {"raw_longitude":762687168,"raw_latitude":100853168,"longitude_deg":76.2687168,"latitude_deg":10.0853168,"altitude":12,"angle":346,"satellites":49,"speed":14,"hex_longitude":"2d75aec0","hex_latitude":"0602e5b0","is_valid_coordinates":true} 
[2026-07-07 23:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562469888001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313519889580032,"note":"Value kept but may cause issues"} 
[2026-07-07 23:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480981811597938688,"note":"Value kept but may cause issues"} 
[2026-07-07 23:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783447152000,"timestamp_ms":1783447152000,"timestamp_seconds":1783447152,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbbe580"} 
[2026-07-07 23:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-07 23:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562469888001,"66":27995,"63":206,"8":65280,"24":14,"16":132313519889580032,"45":8480981811597938688},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562469888001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:31:04] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:31:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313519889580032,"km_value":132313519889580.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480981811597938688,"description":"Unknown IO ID 45"} 
[2026-07-07 23:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562469888001,"power":27995,"unknown_63":206,"unknown_8":65280,"ignition":14,"odometer":null,"unknown_45":8480981811597938688}} 
[2026-07-07 23:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":126937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448312,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:31:04] local.INFO: GPS data processed {"connection_id":126937,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:31:04] local.INFO: Acknowledgment sent {"connection_id":126937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:31:35] local.INFO: TCP Data received {"connection_id":125685,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:31:35] local.INFO: Processing buffer {"connection_id":125685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:31:35] local.INFO: Packet analysis {"connection_id":125685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:31:35] local.INFO: Extracted packet for processing {"connection_id":125685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:31:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562412032001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783447223000,"timestamp_ms":1783447223000,"timestamp_seconds":1783447223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbcfad8"} 
[2026-07-07 23:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562412032001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562412032001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:31:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:31:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562412032001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":125685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:31:35] local.INFO: GPS data processed {"connection_id":125685,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:31:35] local.INFO: Acknowledgment sent {"connection_id":125685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:31:35] local.INFO: TCP Data received {"connection_id":126937,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbc2400012d75a400060306a0000f015531..."} 
[2026-07-07 23:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbc2400012d75a400060306a0000f015531..."} 
[2026-07-07 23:31:35] local.INFO: Processing buffer {"connection_id":126937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbc2400012d75a400060306a0000f015531..."} 
[2026-07-07 23:31:35] local.INFO: Packet analysis {"connection_id":126937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:31:35] local.INFO: Extracted packet for processing {"connection_id":126937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:31:35] local.INFO: GPS Element Parsed {"raw_longitude":762684416,"raw_latitude":100861600,"longitude_deg":76.2684416,"latitude_deg":10.08616,"altitude":15,"angle":341,"satellites":49,"speed":29,"hex_longitude":"2d75a400","hex_latitude":"060306a0","is_valid_coordinates":true} 
[2026-07-07 23:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562470912001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132313949386309632,"note":"Value kept but may cause issues"} 
[2026-07-07 23:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8479926280436166656,"note":"Value kept but may cause issues"} 
[2026-07-07 23:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783447168000,"timestamp_ms":1783447168000,"timestamp_seconds":1783447168,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbc2400"} 
[2026-07-07 23:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:31: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-07-07 23:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 23:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562470912001,"66":27908,"63":206,"8":65280,"24":29,"16":132313949386309632,"45":8479926280436166656},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-07-07 23:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562470912001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:31:35] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-07 23:31:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132313949386309632,"km_value":132313949386309.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8479926280436166656,"description":"Unknown IO ID 45"} 
[2026-07-07 23:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562470912001,"power":27908,"unknown_63":206,"unknown_8":65280,"ignition":29,"odometer":null,"unknown_45":8479926280436166656}} 
[2026-07-07 23:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":126937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448314,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:31:35] local.INFO: GPS data processed {"connection_id":126937,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:31:35] local.INFO: Acknowledgment sent {"connection_id":126937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:31:58] local.INFO: TCP Data received {"connection_id":124856,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:31:58] local.INFO: Processing buffer {"connection_id":124856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:31:58] local.INFO: IMEI packet received {"connection_id":124856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":124856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:31:58] local.INFO: TCP Data received {"connection_id":124857,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:31:58] local.INFO: Processing buffer {"connection_id":124857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:31:58] local.INFO: IMEI packet received {"connection_id":124857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":124857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:32:03] local.INFO: TCP Data received {"connection_id":124857,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:32:03] local.INFO: Processing buffer {"connection_id":124857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:32:03] local.INFO: IMEI packet received {"connection_id":124857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":124857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:32:03] local.INFO: TCP Data received {"connection_id":124856,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:32:03] local.INFO: Processing buffer {"connection_id":124856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:32:03] local.INFO: IMEI packet received {"connection_id":124856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":124856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:32:04] local.INFO: TCP Data received {"connection_id":124856,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:32:04] local.INFO: Processing buffer {"connection_id":124856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:32:04] local.INFO: Packet analysis {"connection_id":124856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:32:04] local.INFO: Extracted packet for processing {"connection_id":124856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:32:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562412032001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783447223000,"timestamp_ms":1783447223000,"timestamp_seconds":1783447223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbcfad8"} 
[2026-07-07 23:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562412032001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562412032001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:32:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:32:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562412032001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":124856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:32:04] local.INFO: GPS data processed {"connection_id":124856,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:32:04] local.INFO: Acknowledgment sent {"connection_id":124856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:32:04] local.INFO: TCP Data received {"connection_id":124857,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbd7fa8012d75424006045eb8000e015f31..."} 
[2026-07-07 23:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbd7fa8012d75424006045eb8000e015f31..."} 
[2026-07-07 23:32:04] local.INFO: Processing buffer {"connection_id":124857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbd7fa8012d75424006045eb8000e015f31..."} 
[2026-07-07 23:32:04] local.INFO: Packet analysis {"connection_id":124857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbd"} 
[2026-07-07 23:32:04] local.INFO: Extracted packet for processing {"connection_id":124857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbd"} 
[2026-07-07 23:32:04] local.INFO: GPS Element Parsed {"raw_longitude":762659392,"raw_latitude":100949688,"longitude_deg":76.2659392,"latitude_deg":10.0949688,"altitude":14,"angle":351,"satellites":49,"speed":20,"hex_longitude":"2d754240","hex_latitude":"06045eb8","is_valid_coordinates":true} 
[2026-07-07 23:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562496000001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132318390382493696,"note":"Value kept but may cause issues"} 
[2026-07-07 23:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8451215832834945024,"note":"Value kept but may cause issues"} 
[2026-07-07 23:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783447257000,"timestamp_ms":1783447257000,"timestamp_seconds":1783447257,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbd7fa8"} 
[2026-07-07 23:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 23:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562496000001,"66":27995,"22":206,"8":65280,"24":20,"16":132318390382493696,"45":8451215832834945024},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,8,24,16,45]} 
[2026-07-07 23:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562496000001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:32:04] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-07 23:32:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132318390382493696,"km_value":132318390382493.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8451215832834945024,"description":"Unknown IO ID 45"} 
[2026-07-07 23:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562496000001,"power":27995,"unknown_22":206,"unknown_8":65280,"ignition":20,"odometer":null,"unknown_45":8451215832834945024}} 
[2026-07-07 23:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":124857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448316,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:32:04] local.INFO: GPS data processed {"connection_id":124857,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:32:04] local.INFO: Acknowledgment sent {"connection_id":124857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:32:35] local.INFO: TCP Data received {"connection_id":124856,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:32:35] local.INFO: Processing buffer {"connection_id":124856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:32:35] local.INFO: Packet analysis {"connection_id":124856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:32:35] local.INFO: Extracted packet for processing {"connection_id":124856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:32:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562412032001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783447223000,"timestamp_ms":1783447223000,"timestamp_seconds":1783447223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbcfad8"} 
[2026-07-07 23:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562412032001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562412032001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:32:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:32:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562412032001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":124856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:32:35] local.INFO: GPS data processed {"connection_id":124856,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:32:35] local.INFO: Acknowledgment sent {"connection_id":124856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:32:35] local.INFO: TCP Data received {"connection_id":124857,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbdaaa0012d753f0006047070000d015032..."} 
[2026-07-07 23:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbdaaa0012d753f0006047070000d015032..."} 
[2026-07-07 23:32:35] local.INFO: Processing buffer {"connection_id":124857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbdaaa0012d753f0006047070000d015032..."} 
[2026-07-07 23:32:35] local.INFO: Packet analysis {"connection_id":124857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbd"} 
[2026-07-07 23:32:35] local.INFO: Extracted packet for processing {"connection_id":124857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbd"} 
[2026-07-07 23:32:35] local.INFO: GPS Element Parsed {"raw_longitude":762658560,"raw_latitude":100954224,"longitude_deg":76.265856,"latitude_deg":10.0954224,"altitude":13,"angle":336,"satellites":50,"speed":22,"hex_longitude":"2d753f00","hex_latitude":"06047070","is_valid_coordinates":true} 
[2026-07-07 23:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562497792001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132318618015760384,"note":"Value kept but may cause issues"} 
[2026-07-07 23:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8449386245487769600,"note":"Value kept but may cause issues"} 
[2026-07-07 23:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783447268000,"timestamp_ms":1783447268000,"timestamp_seconds":1783447268,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbdaaa0"} 
[2026-07-07 23:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:32: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-07-07 23:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 23:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562497792001,"66":28093,"22":206,"8":65280,"24":22,"16":132318618015760384,"45":8449386245487769600},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,8,24,16,45]} 
[2026-07-07 23:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562497792001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:32:35] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-07 23:32:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132318618015760384,"km_value":132318618015760.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8449386245487769600,"description":"Unknown IO ID 45"} 
[2026-07-07 23:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562497792001,"power":28093,"unknown_22":206,"unknown_8":65280,"ignition":22,"odometer":null,"unknown_45":8449386245487769600}} 
[2026-07-07 23:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":124857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448318,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:32:35] local.INFO: GPS data processed {"connection_id":124857,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:32:35] local.INFO: Acknowledgment sent {"connection_id":124857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:32:57] local.INFO: TCP Data received {"connection_id":125686,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:32:57] local.INFO: Processing buffer {"connection_id":125686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:32:57] local.INFO: IMEI packet received {"connection_id":125686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":125686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:33:01] local.INFO: TCP Data received {"connection_id":126938,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:33:01] local.INFO: Processing buffer {"connection_id":126938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:33:01] local.INFO: IMEI packet received {"connection_id":126938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":126938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:33:03] local.INFO: TCP Data received {"connection_id":125686,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:33:03] local.INFO: Processing buffer {"connection_id":125686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:33:03] local.INFO: IMEI packet received {"connection_id":125686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":125686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:33:03] local.INFO: TCP Data received {"connection_id":125686,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:33:03] local.INFO: Processing buffer {"connection_id":125686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:33:03] local.INFO: Packet analysis {"connection_id":125686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:33:03] local.INFO: Extracted packet for processing {"connection_id":125686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:33:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562412032001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783447223000,"timestamp_ms":1783447223000,"timestamp_seconds":1783447223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbcfad8"} 
[2026-07-07 23:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562412032001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562412032001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:33:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:33:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562412032001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":125686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:33:04] local.INFO: GPS data processed {"connection_id":125686,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:33:04] local.INFO: Acknowledgment sent {"connection_id":125686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:33:10] local.INFO: TCP Data received {"connection_id":126938,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:33:10] local.INFO: Processing buffer {"connection_id":126938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:33:10] local.INFO: IMEI packet received {"connection_id":126938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":126938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:33:11] local.INFO: TCP Data received {"connection_id":126938,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:33:11] local.INFO: Processing buffer {"connection_id":126938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:33:11] local.INFO: IMEI packet received {"connection_id":126938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":126938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:33:15] local.INFO: TCP Data received {"connection_id":126938,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbde920012d75340006049368000e015631..."} 
[2026-07-07 23:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbde920012d75340006049368000e015631..."} 
[2026-07-07 23:33:15] local.INFO: Processing buffer {"connection_id":126938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbde920012d75340006049368000e015631..."} 
[2026-07-07 23:33:15] local.INFO: Packet analysis {"connection_id":126938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbd"} 
[2026-07-07 23:33:15] local.INFO: Extracted packet for processing {"connection_id":126938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbd"} 
[2026-07-07 23:33:15] local.INFO: GPS Element Parsed {"raw_longitude":762655744,"raw_latitude":100963176,"longitude_deg":76.2655744,"latitude_deg":10.0963176,"altitude":14,"angle":342,"satellites":49,"speed":24,"hex_longitude":"2d753400","hex_latitude":"06049368","is_valid_coordinates":true} 
[2026-07-07 23:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562500608001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132319073282293760,"note":"Value kept but may cause issues"} 
[2026-07-07 23:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8448471451814621184,"note":"Value kept but may cause issues"} 
[2026-07-07 23:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783447284000,"timestamp_ms":1783447284000,"timestamp_seconds":1783447284,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbde920"} 
[2026-07-07 23:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-07 23:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562500608001,"66":27908,"22":206,"8":65280,"24":24,"16":132319073282293760,"45":8448471451814621184},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,8,24,16,45]} 
[2026-07-07 23:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562500608001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:33:15] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-07 23:33:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132319073282293760,"km_value":132319073282293.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8448471451814621184,"description":"Unknown IO ID 45"} 
[2026-07-07 23:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562500608001,"power":27908,"unknown_22":206,"unknown_8":65280,"ignition":24,"odometer":null,"unknown_45":8448471451814621184}} 
[2026-07-07 23:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":126938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448320,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:33:15] local.INFO: GPS data processed {"connection_id":126938,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:33:15] local.INFO: Acknowledgment sent {"connection_id":126938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:33:18] local.INFO: TCP Data received {"connection_id":126938,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbe1800012d752ac00604b538000f015b30..."} 
[2026-07-07 23:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbe1800012d752ac00604b538000f015b30..."} 
[2026-07-07 23:33:18] local.INFO: Processing buffer {"connection_id":126938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbe1800012d752ac00604b538000f015b30..."} 
[2026-07-07 23:33:18] local.INFO: Packet analysis {"connection_id":126938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbe"} 
[2026-07-07 23:33:18] local.INFO: Extracted packet for processing {"connection_id":126938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbe"} 
[2026-07-07 23:33:18] local.INFO: GPS Element Parsed {"raw_longitude":762653376,"raw_latitude":100971832,"longitude_deg":76.2653376,"latitude_deg":10.0971832,"altitude":15,"angle":347,"satellites":48,"speed":33,"hex_longitude":"2d752ac0","hex_latitude":"0604b538","is_valid_coordinates":true} 
[2026-07-07 23:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562504704001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132319507073990656,"note":"Value kept but may cause issues"} 
[2026-07-07 23:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8445375227073095680,"note":"Value kept but may cause issues"} 
[2026-07-07 23:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783447296000,"timestamp_ms":1783447296000,"timestamp_seconds":1783447296,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbe1800"} 
[2026-07-07 23:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 23:33: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-07-07 23:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":126938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":126938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":126938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562504704001,"66":27876,"23":206,"8":65280,"24":33,"16":132319507073990656,"45":8445375227073095680},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,8,24,16,45]} 
[2026-07-07 23:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562504704001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:33:18] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-07 23:33:18] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132319507073990656,"km_value":132319507073990.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8445375227073095680,"description":"Unknown IO ID 45"} 
[2026-07-07 23:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562504704001,"power":27876,"unknown_23":206,"unknown_8":65280,"ignition":33,"odometer":null,"unknown_45":8445375227073095680}} 
[2026-07-07 23:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":126938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448321,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:33:18] local.INFO: GPS data processed {"connection_id":126938,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:33:18] local.INFO: Acknowledgment sent {"connection_id":126938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:33:35] local.INFO: TCP Data received {"connection_id":125686,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:33:35] local.INFO: Processing buffer {"connection_id":125686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:33:35] local.INFO: Packet analysis {"connection_id":125686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:33:35] local.INFO: Extracted packet for processing {"connection_id":125686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:33:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562412032001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783447223000,"timestamp_ms":1783447223000,"timestamp_seconds":1783447223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbcfad8"} 
[2026-07-07 23:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562412032001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562412032001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:33:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:33:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562412032001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":125686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:33:35] local.INFO: GPS data processed {"connection_id":125686,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:33:35] local.INFO: Acknowledgment sent {"connection_id":125686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:33:57] local.INFO: TCP Data received {"connection_id":126939,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:33:57] local.INFO: Processing buffer {"connection_id":126939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:33:57] local.INFO: IMEI packet received {"connection_id":126939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":126939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:34:03] local.INFO: TCP Data received {"connection_id":126939,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:34:03] local.INFO: Processing buffer {"connection_id":126939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:34:03] local.INFO: IMEI packet received {"connection_id":126939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":126939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:34:03] local.INFO: TCP Data received {"connection_id":126939,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:34:03] local.INFO: Processing buffer {"connection_id":126939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:34:03] local.INFO: Packet analysis {"connection_id":126939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:34:03] local.INFO: Extracted packet for processing {"connection_id":126939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:34:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562412032001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783447223000,"timestamp_ms":1783447223000,"timestamp_seconds":1783447223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbcfad8"} 
[2026-07-07 23:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562412032001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562412032001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:34:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:34:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562412032001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":126939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:34:04] local.INFO: GPS data processed {"connection_id":126939,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:34:04] local.INFO: Acknowledgment sent {"connection_id":126939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:34:04] local.INFO: TCP Data received {"connection_id":124955,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:34:04] local.INFO: Processing buffer {"connection_id":124955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:34:04] local.INFO: IMEI packet received {"connection_id":124955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":124955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:34:08] local.INFO: TCP Data received {"connection_id":124955,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:34:08] local.INFO: Processing buffer {"connection_id":124955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:34:08] local.INFO: IMEI packet received {"connection_id":124955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":124955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:34:30] local.INFO: TCP Data received {"connection_id":124955,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:34:30] local.INFO: Processing buffer {"connection_id":124955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:34:30] local.INFO: IMEI packet received {"connection_id":124955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":124955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:34:35] local.INFO: TCP Data received {"connection_id":126939,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:34:35] local.INFO: Processing buffer {"connection_id":126939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:34:35] local.INFO: Packet analysis {"connection_id":126939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:34:35] local.INFO: Extracted packet for processing {"connection_id":126939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:34:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562412032001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783447223000,"timestamp_ms":1783447223000,"timestamp_seconds":1783447223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbcfad8"} 
[2026-07-07 23:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562412032001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562412032001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:34:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:34:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562412032001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":126939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:34:35] local.INFO: GPS data processed {"connection_id":126939,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:34:35] local.INFO: Acknowledgment sent {"connection_id":126939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:34:42] local.INFO: TCP Data received {"connection_id":124955,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbe3f10012d751ec00604d668001001522f..."} 
[2026-07-07 23:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbe3f10012d751ec00604d668001001522f..."} 
[2026-07-07 23:34:42] local.INFO: Processing buffer {"connection_id":124955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbe3f10012d751ec00604d668001001522f..."} 
[2026-07-07 23:34:42] local.INFO: Packet analysis {"connection_id":124955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbe"} 
[2026-07-07 23:34:42] local.INFO: Extracted packet for processing {"connection_id":124955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbe"} 
[2026-07-07 23:34:42] local.INFO: GPS Element Parsed {"raw_longitude":762650304,"raw_latitude":100980328,"longitude_deg":76.2650304,"latitude_deg":10.0980328,"altitude":16,"angle":338,"satellites":47,"speed":36,"hex_longitude":"2d751ec0","hex_latitude":"0604d668","is_valid_coordinates":true} 
[2026-07-07 23:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562507776001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132319945160654848,"note":"Value kept but may cause issues"} 
[2026-07-07 23:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8442771583540738048,"note":"Value kept but may cause issues"} 
[2026-07-07 23:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783447306000,"timestamp_ms":1783447306000,"timestamp_seconds":1783447306,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbe3f10"} 
[2026-07-07 23:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23: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":228,"data_length":795,"current_offset":136} 
[2026-07-07 23:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562507776001,"66":27995,"23":206,"8":65280,"24":36,"16":132319945160654848,"45":8442771583540738048},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,8,24,16,45]} 
[2026-07-07 23:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562507776001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:34:42] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-07 23:34:42] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132319945160654848,"km_value":132319945160654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8442771583540738048,"description":"Unknown IO ID 45"} 
[2026-07-07 23:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562507776001,"power":27995,"unknown_23":206,"unknown_8":65280,"ignition":36,"odometer":null,"unknown_45":8442771583540738048}} 
[2026-07-07 23:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":124955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:34:42] local.INFO: GPS data processed {"connection_id":124955,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:34:42] local.INFO: Acknowledgment sent {"connection_id":124955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:35:03] local.INFO: TCP Data received {"connection_id":125687,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:35:03] local.INFO: Processing buffer {"connection_id":125687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:35:03] local.INFO: IMEI packet received {"connection_id":125687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":125687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:35:05] local.INFO: TCP Data received {"connection_id":124955,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbffc60012d74adc006061340000f01462e..."} 
[2026-07-07 23:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbffc60012d74adc006061340000f01462e..."} 
[2026-07-07 23:35:05] local.INFO: Processing buffer {"connection_id":124955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbffc60012d74adc006061340000f01462e..."} 
[2026-07-07 23:35:05] local.INFO: Packet analysis {"connection_id":124955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbf"} 
[2026-07-07 23:35:05] local.INFO: Extracted packet for processing {"connection_id":124955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbf"} 
[2026-07-07 23:35:05] local.INFO: GPS Element Parsed {"raw_longitude":762621376,"raw_latitude":101061440,"longitude_deg":76.2621376,"latitude_deg":10.106144,"altitude":15,"angle":326,"satellites":46,"speed":31,"hex_longitude":"2d74adc0","hex_latitude":"06061340","is_valid_coordinates":true} 
[2026-07-07 23:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562538496001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132324240127950848,"note":"Value kept but may cause issues"} 
[2026-07-07 23:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8410050117520519168,"note":"Value kept but may cause issues"} 
[2026-07-07 23:35:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,8,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 23:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783447420000,"timestamp_ms":1783447420000,"timestamp_seconds":1783447420,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbffc60"} 
[2026-07-07 23:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-07 23:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562538496001,"66":27821,"24":31,"8":65280,"16":132324240127950848,"45":8410050117520519168},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,8,16,45]} 
[2026-07-07 23:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562538496001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:35:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132324240127950848,"km_value":132324240127950.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8410050117520519168,"description":"Unknown IO ID 45"} 
[2026-07-07 23:35:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456562538496001,"power":27821,"ignition":31,"unknown_8":65280,"odometer":null,"unknown_45":8410050117520519168}} 
[2026-07-07 23:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":124955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448326,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:35:05] local.INFO: GPS data processed {"connection_id":124955,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:35:05] local.INFO: Acknowledgment sent {"connection_id":124955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:35:08] local.INFO: TCP Data received {"connection_id":125687,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:35:08] local.INFO: Processing buffer {"connection_id":125687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:35:08] local.INFO: IMEI packet received {"connection_id":125687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":125687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:35:08] local.INFO: TCP Data received {"connection_id":125688,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:35:08] local.INFO: Processing buffer {"connection_id":125688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:35:08] local.INFO: IMEI packet received {"connection_id":125688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":125688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:35:13] local.INFO: TCP Data received {"connection_id":125687,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:35:13] local.INFO: Processing buffer {"connection_id":125687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:35:13] local.INFO: Packet analysis {"connection_id":125687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:35:13] local.INFO: Extracted packet for processing {"connection_id":125687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:35:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562412032001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783447223000,"timestamp_ms":1783447223000,"timestamp_seconds":1783447223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbcfad8"} 
[2026-07-07 23:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562412032001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562412032001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:35:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:35:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562412032001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":125687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:35:13] local.INFO: GPS data processed {"connection_id":125687,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:35:13] local.INFO: Acknowledgment sent {"connection_id":125687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:35:13] local.INFO: TCP Data received {"connection_id":125688,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:35:13] local.INFO: Processing buffer {"connection_id":125688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:35:13] local.INFO: IMEI packet received {"connection_id":125688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":125688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:35:18] local.INFO: TCP Data received {"connection_id":125688,"ip":"117.224.129.116","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 23:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125688,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 23:35:18] local.INFO: Processing buffer {"connection_id":125688,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 23:35:18] local.INFO: IMEI packet received {"connection_id":125688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":125688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:35:58] local.INFO: TCP Data received {"connection_id":124956,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:35:58] local.INFO: Processing buffer {"connection_id":124956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:35:58] local.INFO: IMEI packet received {"connection_id":124956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":124956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:36:02] local.INFO: TCP Data received {"connection_id":124956,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:36:02] local.INFO: Processing buffer {"connection_id":124956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:36:02] local.INFO: IMEI packet received {"connection_id":124956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":124956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:36:03] local.INFO: TCP Data received {"connection_id":124956,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:36:03] local.INFO: Processing buffer {"connection_id":124956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:36:03] local.INFO: Packet analysis {"connection_id":124956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc1"} 
[2026-07-07 23:36:03] local.INFO: Extracted packet for processing {"connection_id":124956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc1"} 
[2026-07-07 23:36:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23: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-07-07 23:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562489088001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783447524000,"timestamp_ms":1783447524000,"timestamp_seconds":1783447524,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc192a0"} 
[2026-07-07 23:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23: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-07-07 23:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562489088001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562489088001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:36:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:36:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562489088001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":124956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:36:03] local.INFO: GPS data processed {"connection_id":124956,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:36:03] local.INFO: Acknowledgment sent {"connection_id":124956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:36:14] local.INFO: TCP Data received {"connection_id":125687,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:36:14] local.INFO: Processing buffer {"connection_id":125687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dbcfad8012dc5eb400537d5a0003401442f..."} 
[2026-07-07 23:36:14] local.INFO: Packet analysis {"connection_id":125687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:36:14] local.INFO: Extracted packet for processing {"connection_id":125687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dbc"} 
[2026-07-07 23:36:14] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562412032001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783447223000,"timestamp_ms":1783447223000,"timestamp_seconds":1783447223,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dbcfad8"} 
[2026-07-07 23:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23: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":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562412032001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562412032001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:36:14] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:36:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562412032001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":125687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:36:14] local.INFO: GPS data processed {"connection_id":125687,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:36:14] local.INFO: Acknowledgment sent {"connection_id":125687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:36:34] local.INFO: TCP Data received {"connection_id":124956,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:36:34] local.INFO: Processing buffer {"connection_id":124956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:36:34] local.INFO: Packet analysis {"connection_id":124956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc1"} 
[2026-07-07 23:36:34] local.INFO: Extracted packet for processing {"connection_id":124956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc1"} 
[2026-07-07 23:36:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23: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-07-07 23:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562489088001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783447524000,"timestamp_ms":1783447524000,"timestamp_seconds":1783447524,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc192a0"} 
[2026-07-07 23:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23: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-07-07 23:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562489088001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562489088001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:36:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:36:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562489088001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":124956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:36:34] local.INFO: GPS data processed {"connection_id":124956,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:36:34] local.INFO: Acknowledgment sent {"connection_id":124956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:36:57] local.INFO: TCP Data received {"connection_id":124858,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:36:57] local.INFO: Processing buffer {"connection_id":124858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:36:57] local.INFO: IMEI packet received {"connection_id":124858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":124858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:37:03] local.INFO: TCP Data received {"connection_id":124858,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:37:03] local.INFO: Processing buffer {"connection_id":124858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:37:03] local.INFO: IMEI packet received {"connection_id":124858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":124858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:37:03] local.INFO: TCP Data received {"connection_id":124858,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:37:03] local.INFO: Processing buffer {"connection_id":124858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:37:03] local.INFO: Packet analysis {"connection_id":124858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc1"} 
[2026-07-07 23:37:03] local.INFO: Extracted packet for processing {"connection_id":124858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc1"} 
[2026-07-07 23:37:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562489088001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783447524000,"timestamp_ms":1783447524000,"timestamp_seconds":1783447524,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc192a0"} 
[2026-07-07 23:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562489088001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562489088001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:37:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:37:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562489088001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":124858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:37:04] local.INFO: GPS data processed {"connection_id":124858,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:37:04] local.INFO: Acknowledgment sent {"connection_id":124858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:37:35] local.INFO: TCP Data received {"connection_id":124858,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:37:35] local.INFO: Processing buffer {"connection_id":124858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:37:35] local.INFO: Packet analysis {"connection_id":124858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc1"} 
[2026-07-07 23:37:35] local.INFO: Extracted packet for processing {"connection_id":124858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc1"} 
[2026-07-07 23:37:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562489088001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783447524000,"timestamp_ms":1783447524000,"timestamp_seconds":1783447524,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc192a0"} 
[2026-07-07 23:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562489088001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562489088001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:37:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:37:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562489088001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":124858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:37:35] local.INFO: GPS data processed {"connection_id":124858,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:37:35] local.INFO: Acknowledgment sent {"connection_id":124858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:37:57] local.INFO: TCP Data received {"connection_id":124958,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:37:57] local.INFO: Processing buffer {"connection_id":124958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:37:57] local.INFO: IMEI packet received {"connection_id":124958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":124958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:38:03] local.INFO: TCP Data received {"connection_id":124958,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:38:03] local.INFO: Processing buffer {"connection_id":124958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:38:03] local.INFO: IMEI packet received {"connection_id":124958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":124958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:38:03] local.INFO: TCP Data received {"connection_id":124958,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:38:03] local.INFO: Processing buffer {"connection_id":124958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:38:03] local.INFO: Packet analysis {"connection_id":124958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc1"} 
[2026-07-07 23:38:03] local.INFO: Extracted packet for processing {"connection_id":124958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc1"} 
[2026-07-07 23:38:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23: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-07-07 23:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562489088001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783447524000,"timestamp_ms":1783447524000,"timestamp_seconds":1783447524,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc192a0"} 
[2026-07-07 23:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562489088001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562489088001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:38:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:38:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562489088001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":124958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:38:03] local.INFO: GPS data processed {"connection_id":124958,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:38:03] local.INFO: Acknowledgment sent {"connection_id":124958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:38:35] local.INFO: TCP Data received {"connection_id":124958,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:38:35] local.INFO: Processing buffer {"connection_id":124958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:38:35] local.INFO: Packet analysis {"connection_id":124958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc1"} 
[2026-07-07 23:38:35] local.INFO: Extracted packet for processing {"connection_id":124958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc1"} 
[2026-07-07 23:38:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562489088001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783447524000,"timestamp_ms":1783447524000,"timestamp_seconds":1783447524,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc192a0"} 
[2026-07-07 23:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562489088001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562489088001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:38:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:38:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562489088001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":124958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:38:35] local.INFO: GPS data processed {"connection_id":124958,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:38:35] local.INFO: Acknowledgment sent {"connection_id":124958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:39:03] local.INFO: TCP Data received {"connection_id":125689,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:39:03] local.INFO: Processing buffer {"connection_id":125689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:39:03] local.INFO: IMEI packet received {"connection_id":125689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":125689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:39:08] local.INFO: TCP Data received {"connection_id":125689,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:39:08] local.INFO: Processing buffer {"connection_id":125689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:39:08] local.INFO: IMEI packet received {"connection_id":125689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":125689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:39:09] local.INFO: TCP Data received {"connection_id":125689,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:39:09] local.INFO: Processing buffer {"connection_id":125689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:39:09] local.INFO: Packet analysis {"connection_id":125689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc1"} 
[2026-07-07 23:39:09] local.INFO: Extracted packet for processing {"connection_id":125689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc1"} 
[2026-07-07 23:39:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562489088001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783447524000,"timestamp_ms":1783447524000,"timestamp_seconds":1783447524,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc192a0"} 
[2026-07-07 23:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:39: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-07-07 23:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562489088001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"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-07-07 23:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562489088001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:39:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:39:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562489088001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":125689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:39:09] local.INFO: GPS data processed {"connection_id":125689,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:39:09] local.INFO: Acknowledgment sent {"connection_id":125689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:39:13] local.INFO: TCP Data received {"connection_id":125689,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:39:13] local.INFO: Processing buffer {"connection_id":125689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:39:13] local.INFO: Packet analysis {"connection_id":125689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc1"} 
[2026-07-07 23:39:13] local.INFO: Extracted packet for processing {"connection_id":125689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc1"} 
[2026-07-07 23:39:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23: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-07-07 23:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562489088001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783447524000,"timestamp_ms":1783447524000,"timestamp_seconds":1783447524,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc192a0"} 
[2026-07-07 23:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23: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-07-07 23:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:39: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-07-07 23:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562489088001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"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-07-07 23:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562489088001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:39:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:39:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562489088001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":125689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:39:13] local.INFO: GPS data processed {"connection_id":125689,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:39:13] local.INFO: Acknowledgment sent {"connection_id":125689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:39:58] local.INFO: TCP Data received {"connection_id":125692,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:39:58] local.INFO: Processing buffer {"connection_id":125692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:39:58] local.INFO: IMEI packet received {"connection_id":125692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":125692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:40:03] local.INFO: TCP Data received {"connection_id":125692,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:40:03] local.INFO: Processing buffer {"connection_id":125692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:40:03] local.INFO: IMEI packet received {"connection_id":125692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":125692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:40:04] local.INFO: TCP Data received {"connection_id":125692,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:40:04] local.INFO: Processing buffer {"connection_id":125692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:40:04] local.INFO: Packet analysis {"connection_id":125692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc1"} 
[2026-07-07 23:40:04] local.INFO: Extracted packet for processing {"connection_id":125692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc1"} 
[2026-07-07 23:40:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562489088001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783447524000,"timestamp_ms":1783447524000,"timestamp_seconds":1783447524,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc192a0"} 
[2026-07-07 23:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562489088001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562489088001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:40:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:40:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562489088001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":125692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:40:04] local.INFO: GPS data processed {"connection_id":125692,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:40:04] local.INFO: Acknowledgment sent {"connection_id":125692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:40:18] local.INFO: TCP Data received {"connection_id":125691,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:40:18] local.INFO: Processing buffer {"connection_id":125691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:40:18] local.INFO: IMEI packet received {"connection_id":125691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":125691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:40:20] local.INFO: TCP Data received {"connection_id":125691,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc4cec0012d7221000608a7f0000a00f92f..."} 
[2026-07-07 23:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc4cec0012d7221000608a7f0000a00f92f..."} 
[2026-07-07 23:40:20] local.INFO: Processing buffer {"connection_id":125691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc4cec0012d7221000608a7f0000a00f92f..."} 
[2026-07-07 23:40:20] local.INFO: Packet analysis {"connection_id":125691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc4"} 
[2026-07-07 23:40:20] local.INFO: Extracted packet for processing {"connection_id":125691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc4"} 
[2026-07-07 23:40:20] local.INFO: GPS Element Parsed {"raw_longitude":762454272,"raw_latitude":101230576,"longitude_deg":76.2454272,"latitude_deg":10.1230576,"altitude":10,"angle":249,"satellites":47,"speed":0,"hex_longitude":"2d722100","hex_latitude":"0608a7f0","is_valid_coordinates":true} 
[2026-07-07 23:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562615040001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132335570251677696,"note":"Value kept but may cause issues"} 
[2026-07-07 23:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8241587344004675584,"note":"Value kept but may cause issues"} 
[2026-07-07 23:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783447736000,"timestamp_ms":1783447736000,"timestamp_seconds":1783447736,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc4cec0"} 
[2026-07-07 23:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 23:40: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-07-07 23:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":125691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":125691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":125691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562615040001,"66":27843,"233":206,"8":65280,"24":0,"16":132335570251677696,"45":8241587344004675584},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-07-07 23:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562615040001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:40:20] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-07 23:40:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132335570251677696,"km_value":132335570251677.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8241587344004675584,"description":"Unknown IO ID 45"} 
[2026-07-07 23:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562615040001,"power":27843,"unknown_233":206,"unknown_8":65280,"ignition":0,"odometer":null,"unknown_45":8241587344004675584}} 
[2026-07-07 23:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":125691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448338,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:40:20] local.INFO: GPS data processed {"connection_id":125691,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:40:20] local.INFO: Acknowledgment sent {"connection_id":125691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:40:35] local.INFO: TCP Data received {"connection_id":125692,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:40:35] local.INFO: Processing buffer {"connection_id":125692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc192a0012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:40:35] local.INFO: Packet analysis {"connection_id":125692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc1"} 
[2026-07-07 23:40:35] local.INFO: Extracted packet for processing {"connection_id":125692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc1"} 
[2026-07-07 23:40:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562489088001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783447524000,"timestamp_ms":1783447524000,"timestamp_seconds":1783447524,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc192a0"} 
[2026-07-07 23:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562489088001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562489088001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:40:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:40:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562489088001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":125692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:40:35] local.INFO: GPS data processed {"connection_id":125692,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:40:35] local.INFO: Acknowledgment sent {"connection_id":125692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:40:57] local.INFO: TCP Data received {"connection_id":124861,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:40:57] local.INFO: Processing buffer {"connection_id":124861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:40:57] local.INFO: IMEI packet received {"connection_id":124861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":124861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:40:58] local.INFO: TCP Data received {"connection_id":124861,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:40:58] local.INFO: Processing buffer {"connection_id":124861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:40:58] local.INFO: IMEI packet received {"connection_id":124861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":124861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:40:58] local.INFO: TCP Data received {"connection_id":124860,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:40:58] local.INFO: Processing buffer {"connection_id":124860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:40:58] local.INFO: IMEI packet received {"connection_id":124860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":124860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:41:03] local.INFO: TCP Data received {"connection_id":124860,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:41:03] local.INFO: Processing buffer {"connection_id":124860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:41:03] local.INFO: IMEI packet received {"connection_id":124860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":124860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:41:03] local.INFO: TCP Data received {"connection_id":124861,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:41:03] local.INFO: Processing buffer {"connection_id":124861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:41:03] local.INFO: IMEI packet received {"connection_id":124861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":124861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:41:03] local.INFO: TCP Data received {"connection_id":124860,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:41:03] local.INFO: Processing buffer {"connection_id":124860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:41:03] local.INFO: Packet analysis {"connection_id":124860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:41:03] local.INFO: Extracted packet for processing {"connection_id":124860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:41:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562566144001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783447825000,"timestamp_ms":1783447825000,"timestamp_seconds":1783447825,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc62a68"} 
[2026-07-07 23:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562566144001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562566144001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:41:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:41:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562566144001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":124860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:41:03] local.INFO: GPS data processed {"connection_id":124860,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:41:03] local.INFO: Acknowledgment sent {"connection_id":124860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:41:04] local.INFO: TCP Data received {"connection_id":124861,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc51ce0012d71fac00608dfb8000b01442e..."} 
[2026-07-07 23:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc51ce0012d71fac00608dfb8000b01442e..."} 
[2026-07-07 23:41:04] local.INFO: Processing buffer {"connection_id":124861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc51ce0012d71fac00608dfb8000b01442e..."} 
[2026-07-07 23:41:04] local.INFO: Packet analysis {"connection_id":124861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc5"} 
[2026-07-07 23:41:04] local.INFO: Extracted packet for processing {"connection_id":124861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc5"} 
[2026-07-07 23:41:04] local.INFO: GPS Element Parsed {"raw_longitude":762444480,"raw_latitude":101244856,"longitude_deg":76.244448,"latitude_deg":10.1244856,"altitude":11,"angle":324,"satellites":46,"speed":33,"hex_longitude":"2d71fac0","hex_latitude":"0608dfb8","is_valid_coordinates":true} 
[2026-07-07 23:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562620416001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132335570251677696,"note":"Value kept but may cause issues"} 
[2026-07-07 23:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8223854420470263808,"note":"Value kept but may cause issues"} 
[2026-07-07 23:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783447756000,"timestamp_ms":1783447756000,"timestamp_seconds":1783447756,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc51ce0"} 
[2026-07-07 23:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 23:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562620416001,"66":27680,"233":206,"8":65280,"24":33,"16":132335570251677696,"45":8223854420470263808},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-07-07 23:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562620416001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:41:04] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-07 23:41:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132335570251677696,"km_value":132335570251677.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8223854420470263808,"description":"Unknown IO ID 45"} 
[2026-07-07 23:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562620416001,"power":27680,"unknown_233":206,"unknown_8":65280,"ignition":33,"odometer":null,"unknown_45":8223854420470263808}} 
[2026-07-07 23:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":124861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448341,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:41:04] local.INFO: GPS data processed {"connection_id":124861,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:41:04] local.INFO: Acknowledgment sent {"connection_id":124861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:41:34] local.INFO: TCP Data received {"connection_id":124860,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:41:34] local.INFO: Processing buffer {"connection_id":124860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:41:34] local.INFO: Packet analysis {"connection_id":124860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:41:34] local.INFO: Extracted packet for processing {"connection_id":124860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:41:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562566144001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783447825000,"timestamp_ms":1783447825000,"timestamp_seconds":1783447825,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc62a68"} 
[2026-07-07 23:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562566144001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562566144001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:41:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:41:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562566144001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":124860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:41:34] local.INFO: GPS data processed {"connection_id":124860,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:41:34] local.INFO: Acknowledgment sent {"connection_id":124860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:41:35] local.INFO: TCP Data received {"connection_id":124861,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc668e8012d71b14006099a40000a015832..."} 
[2026-07-07 23:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc668e8012d71b14006099a40000a015832..."} 
[2026-07-07 23:41:35] local.INFO: Processing buffer {"connection_id":124861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc668e8012d71b14006099a40000a015832..."} 
[2026-07-07 23:41:35] local.INFO: Packet analysis {"connection_id":124861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:41:35] local.INFO: Extracted packet for processing {"connection_id":124861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:41:35] local.INFO: GPS Element Parsed {"raw_longitude":762425664,"raw_latitude":101292608,"longitude_deg":76.2425664,"latitude_deg":10.1292608,"altitude":10,"angle":344,"satellites":50,"speed":34,"hex_longitude":"2d71b140","hex_latitude":"06099a40","is_valid_coordinates":true} 
[2026-07-07 23:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562644736001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132338078512578560,"note":"Value kept but may cause issues"} 
[2026-07-07 23:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8195777291557074944,"note":"Value kept but may cause issues"} 
[2026-07-07 23:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783447841000,"timestamp_ms":1783447841000,"timestamp_seconds":1783447841,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc668e8"} 
[2026-07-07 23:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:41: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-07-07 23:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 23:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562644736001,"66":27984,"234":206,"8":65280,"24":34,"16":132338078512578560,"45":8195777291557074944},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-07-07 23:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562644736001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:41:35] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-07 23:41:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132338078512578560,"km_value":132338078512578.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8195777291557074944,"description":"Unknown IO ID 45"} 
[2026-07-07 23:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562644736001,"power":27984,"unknown_234":206,"unknown_8":65280,"ignition":34,"odometer":null,"unknown_45":8195777291557074944}} 
[2026-07-07 23:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":124861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:41:35] local.INFO: GPS data processed {"connection_id":124861,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:41:35] local.INFO: Acknowledgment sent {"connection_id":124861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:41:58] local.INFO: TCP Data received {"connection_id":126940,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:41:58] local.INFO: Processing buffer {"connection_id":126940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:41:58] local.INFO: IMEI packet received {"connection_id":126940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":126940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:41:58] local.INFO: TCP Data received {"connection_id":126941,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:41:58] local.INFO: Processing buffer {"connection_id":126941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:41:58] local.INFO: IMEI packet received {"connection_id":126941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":126941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:42:03] local.INFO: TCP Data received {"connection_id":126940,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:42:03] local.INFO: Processing buffer {"connection_id":126940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:42:03] local.INFO: IMEI packet received {"connection_id":126940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":126940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:42:03] local.INFO: TCP Data received {"connection_id":126940,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:42:03] local.INFO: Processing buffer {"connection_id":126940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:42:03] local.INFO: Packet analysis {"connection_id":126940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:42:03] local.INFO: Extracted packet for processing {"connection_id":126940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:42:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23: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-07-07 23:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562566144001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783447825000,"timestamp_ms":1783447825000,"timestamp_seconds":1783447825,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc62a68"} 
[2026-07-07 23:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23: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-07-07 23:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562566144001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562566144001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:42:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:42:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562566144001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":126940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:42:04] local.INFO: GPS data processed {"connection_id":126940,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:42:04] local.INFO: Acknowledgment sent {"connection_id":126940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:42:05] local.INFO: TCP Data received {"connection_id":126941,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:42:05] local.INFO: Processing buffer {"connection_id":126941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:42:05] local.INFO: IMEI packet received {"connection_id":126941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":126941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:42:08] local.INFO: TCP Data received {"connection_id":126941,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc674a0012d71afc00609a310000a00002f..."} 
[2026-07-07 23:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc674a0012d71afc00609a310000a00002f..."} 
[2026-07-07 23:42:08] local.INFO: Processing buffer {"connection_id":126941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc674a0012d71afc00609a310000a00002f..."} 
[2026-07-07 23:42:08] local.INFO: Packet analysis {"connection_id":126941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:42:08] local.INFO: Extracted packet for processing {"connection_id":126941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:42:08] local.INFO: GPS Element Parsed {"raw_longitude":762425280,"raw_latitude":101294864,"longitude_deg":76.242528,"latitude_deg":10.1294864,"altitude":10,"angle":0,"satellites":47,"speed":24,"hex_longitude":"2d71afc0","hex_latitude":"0609a310","is_valid_coordinates":true} 
[2026-07-07 23:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562647296001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132338190181728256,"note":"Value kept but may cause issues"} 
[2026-07-07 23:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8192399591838728192,"note":"Value kept but may cause issues"} 
[2026-07-07 23:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783447844000,"timestamp_ms":1783447844000,"timestamp_seconds":1783447844,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc674a0"} 
[2026-07-07 23:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 23:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562647296001,"66":28082,"234":206,"8":65280,"24":24,"16":132338190181728256,"45":8192399591838728192},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-07-07 23:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562647296001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:42:08] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-07 23:42:08] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132338190181728256,"km_value":132338190181728.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8192399591838728192,"description":"Unknown IO ID 45"} 
[2026-07-07 23:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562647296001,"power":28082,"unknown_234":206,"unknown_8":65280,"ignition":24,"odometer":null,"unknown_45":8192399591838728192}} 
[2026-07-07 23:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":126941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448345,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:42:08] local.INFO: GPS data processed {"connection_id":126941,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:42:08] local.INFO: Acknowledgment sent {"connection_id":126941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:42:35] local.INFO: TCP Data received {"connection_id":126940,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:42:35] local.INFO: Processing buffer {"connection_id":126940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:42:35] local.INFO: Packet analysis {"connection_id":126940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:42:35] local.INFO: Extracted packet for processing {"connection_id":126940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:42:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23: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-07-07 23:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562566144001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783447825000,"timestamp_ms":1783447825000,"timestamp_seconds":1783447825,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc62a68"} 
[2026-07-07 23:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23: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-07-07 23:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562566144001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562566144001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:42:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:42:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562566144001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":126940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:42:35] local.INFO: GPS data processed {"connection_id":126940,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:42:35] local.INFO: Acknowledgment sent {"connection_id":126940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:42:40] local.INFO: TCP Data received {"connection_id":126941,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc68440012d71afc00609aab8000901562f..."} 
[2026-07-07 23:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc68440012d71afc00609aab8000901562f..."} 
[2026-07-07 23:42:40] local.INFO: Processing buffer {"connection_id":126941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc68440012d71afc00609aab8000901562f..."} 
[2026-07-07 23:42:40] local.INFO: Packet analysis {"connection_id":126941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:42:40] local.INFO: Extracted packet for processing {"connection_id":126941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:42:40] local.INFO: GPS Element Parsed {"raw_longitude":762425280,"raw_latitude":101296824,"longitude_deg":76.242528,"latitude_deg":10.1296824,"altitude":9,"angle":342,"satellites":47,"speed":19,"hex_longitude":"2d71afc0","hex_latitude":"0609aab8","is_valid_coordinates":true} 
[2026-07-07 23:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562648064001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132338284671008768,"note":"Value kept but may cause issues"} 
[2026-07-07 23:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8191977379374239744,"note":"Value kept but may cause issues"} 
[2026-07-07 23:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783447848000,"timestamp_ms":1783447848000,"timestamp_seconds":1783447848,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc68440"} 
[2026-07-07 23:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23: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":178,"data_length":795,"current_offset":136} 
[2026-07-07 23:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562648064001,"66":27995,"234":206,"8":65280,"24":19,"16":132338284671008768,"45":8191977379374239744},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-07-07 23:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562648064001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:42:40] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-07 23:42:40] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132338284671008768,"km_value":132338284671008.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8191977379374239744,"description":"Unknown IO ID 45"} 
[2026-07-07 23:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562648064001,"power":27995,"unknown_234":206,"unknown_8":65280,"ignition":19,"odometer":null,"unknown_45":8191977379374239744}} 
[2026-07-07 23:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":126941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448347,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:42:40] local.INFO: GPS data processed {"connection_id":126941,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:42:40] local.INFO: Acknowledgment sent {"connection_id":126941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:42:58] local.INFO: TCP Data received {"connection_id":125693,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:42:58] local.INFO: Processing buffer {"connection_id":125693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:42:58] local.INFO: IMEI packet received {"connection_id":125693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":125693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:43:00] local.INFO: TCP Data received {"connection_id":124862,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:43:00] local.INFO: Processing buffer {"connection_id":124862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:43:00] local.INFO: IMEI packet received {"connection_id":124862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":124862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:43:03] local.INFO: TCP Data received {"connection_id":125693,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:43:03] local.INFO: Processing buffer {"connection_id":125693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:43:03] local.INFO: IMEI packet received {"connection_id":125693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":125693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:43:03] local.INFO: TCP Data received {"connection_id":124862,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:43:03] local.INFO: Processing buffer {"connection_id":124862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:43:03] local.INFO: IMEI packet received {"connection_id":124862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":124862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:43:04] local.INFO: TCP Data received {"connection_id":125693,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:43:04] local.INFO: Processing buffer {"connection_id":125693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:43:04] local.INFO: Packet analysis {"connection_id":125693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:43:04] local.INFO: Extracted packet for processing {"connection_id":125693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:43:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562566144001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783447825000,"timestamp_ms":1783447825000,"timestamp_seconds":1783447825,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc62a68"} 
[2026-07-07 23:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562566144001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562566144001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:43:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:43:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562566144001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":125693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:43:04] local.INFO: GPS data processed {"connection_id":125693,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:43:04] local.INFO: Acknowledgment sent {"connection_id":125693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:43:08] local.INFO: TCP Data received {"connection_id":124862,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:43:08] local.INFO: Processing buffer {"connection_id":124862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:43:08] local.INFO: IMEI packet received {"connection_id":124862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":124862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:43:10] local.INFO: TCP Data received {"connection_id":124862,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc6baf0012d71a0400609cd28000a014e2e..."} 
[2026-07-07 23:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc6baf0012d71a0400609cd28000a014e2e..."} 
[2026-07-07 23:43:10] local.INFO: Processing buffer {"connection_id":124862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc6baf0012d71a0400609cd28000a014e2e..."} 
[2026-07-07 23:43:10] local.INFO: Packet analysis {"connection_id":124862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:43:10] local.INFO: Extracted packet for processing {"connection_id":124862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:43:10] local.INFO: GPS Element Parsed {"raw_longitude":762421312,"raw_latitude":101305640,"longitude_deg":76.2421312,"latitude_deg":10.130564,"altitude":10,"angle":334,"satellites":46,"speed":33,"hex_longitude":"2d71a040","hex_latitude":"0609cd28","is_valid_coordinates":true} 
[2026-07-07 23:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562649088001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132338752822444032,"note":"Value kept but may cause issues"} 
[2026-07-07 23:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8191977379374741504,"note":"Value kept but may cause issues"} 
[2026-07-07 23:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783447862000,"timestamp_ms":1783447862000,"timestamp_seconds":1783447862,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc6baf0"} 
[2026-07-07 23:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 23:43: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-07-07 23:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562649088001,"66":27930,"234":206,"8":65280,"24":33,"16":132338752822444032,"45":8191977379374741504},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-07-07 23:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562649088001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:43:10] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-07 23:43:10] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132338752822444032,"km_value":132338752822444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8191977379374741504,"description":"Unknown IO ID 45"} 
[2026-07-07 23:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562649088001,"power":27930,"unknown_234":206,"unknown_8":65280,"ignition":33,"odometer":null,"unknown_45":8191977379374741504}} 
[2026-07-07 23:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":124862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448349,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:43:10] local.INFO: GPS data processed {"connection_id":124862,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:43:10] local.INFO: Acknowledgment sent {"connection_id":124862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:43:14] local.INFO: TCP Data received {"connection_id":124862,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc6e5e8012d718e400609eeb8000b014a30..."} 
[2026-07-07 23:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc6e5e8012d718e400609eeb8000b014a30..."} 
[2026-07-07 23:43:14] local.INFO: Processing buffer {"connection_id":124862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc6e5e8012d718e400609eeb8000b014a30..."} 
[2026-07-07 23:43:14] local.INFO: Packet analysis {"connection_id":124862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:43:14] local.INFO: Extracted packet for processing {"connection_id":124862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:43:14] local.INFO: GPS Element Parsed {"raw_longitude":762416704,"raw_latitude":101314232,"longitude_deg":76.2416704,"latitude_deg":10.1314232,"altitude":11,"angle":330,"satellites":48,"speed":37,"hex_longitude":"2d718e40","hex_latitude":"0609eeb8","is_valid_coordinates":true} 
[2026-07-07 23:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562652672001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132339225268846592,"note":"Value kept but may cause issues"} 
[2026-07-07 23:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8187614517237983232,"note":"Value kept but may cause issues"} 
[2026-07-07 23:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783447873000,"timestamp_ms":1783447873000,"timestamp_seconds":1783447873,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc6e5e8"} 
[2026-07-07 23:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:43: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-07-07 23: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-07 23:43: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-07-07 23:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562652672001,"66":27952,"234":206,"8":65280,"24":37,"16":132339225268846592,"45":8187614517237983232},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-07-07 23:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562652672001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:43:14] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-07 23:43:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132339225268846592,"km_value":132339225268846.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8187614517237983232,"description":"Unknown IO ID 45"} 
[2026-07-07 23:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562652672001,"power":27952,"unknown_234":206,"unknown_8":65280,"ignition":37,"odometer":null,"unknown_45":8187614517237983232}} 
[2026-07-07 23:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":124862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448350,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:43:14] local.INFO: GPS data processed {"connection_id":124862,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:43:14] local.INFO: Acknowledgment sent {"connection_id":124862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:43:35] local.INFO: TCP Data received {"connection_id":125693,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:43:35] local.INFO: Processing buffer {"connection_id":125693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:43:35] local.INFO: Packet analysis {"connection_id":125693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:43:35] local.INFO: Extracted packet for processing {"connection_id":125693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:43:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562566144001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783447825000,"timestamp_ms":1783447825000,"timestamp_seconds":1783447825,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc62a68"} 
[2026-07-07 23:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562566144001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562566144001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:43:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:43:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562566144001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":125693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:43:35] local.INFO: GPS data processed {"connection_id":125693,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:43:35] local.INFO: Acknowledgment sent {"connection_id":125693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:43:58] local.INFO: TCP Data received {"connection_id":124863,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:43:58] local.INFO: Processing buffer {"connection_id":124863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:43:58] local.INFO: IMEI packet received {"connection_id":124863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":124863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:44:03] local.INFO: TCP Data received {"connection_id":124863,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:44:03] local.INFO: Processing buffer {"connection_id":124863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:44:03] local.INFO: IMEI packet received {"connection_id":124863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":124863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:44:03] local.INFO: TCP Data received {"connection_id":124863,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:44:03] local.INFO: Processing buffer {"connection_id":124863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:44:03] local.INFO: Packet analysis {"connection_id":124863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:44:03] local.INFO: Extracted packet for processing {"connection_id":124863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:44:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562566144001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783447825000,"timestamp_ms":1783447825000,"timestamp_seconds":1783447825,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc62a68"} 
[2026-07-07 23:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562566144001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562566144001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:44:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:44:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562566144001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":124863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:44:03] local.INFO: GPS data processed {"connection_id":124863,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:44:03] local.INFO: Acknowledgment sent {"connection_id":124863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:44:15] local.INFO: TCP Data received {"connection_id":125694,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:44:15] local.INFO: Processing buffer {"connection_id":125694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:44:15] local.INFO: IMEI packet received {"connection_id":125694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":125694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:44:21] local.INFO: TCP Data received {"connection_id":125694,"ip":"117.224.129.116","data_length":51,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 23:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125694,"packet_length":51,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 23:44:21] local.INFO: Processing buffer {"connection_id":125694,"buffer_length":51,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 23:44:21] local.INFO: IMEI packet received {"connection_id":125694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":125694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:44:35] local.INFO: TCP Data received {"connection_id":124863,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:44:35] local.INFO: Processing buffer {"connection_id":124863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:44:35] local.INFO: Packet analysis {"connection_id":124863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:44:35] local.INFO: Extracted packet for processing {"connection_id":124863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:44:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562566144001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783447825000,"timestamp_ms":1783447825000,"timestamp_seconds":1783447825,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc62a68"} 
[2026-07-07 23:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562566144001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562566144001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:44:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:44:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562566144001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":124863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:44:35] local.INFO: GPS data processed {"connection_id":124863,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:44:35] local.INFO: Acknowledgment sent {"connection_id":124863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:44:57] local.INFO: TCP Data received {"connection_id":124961,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:44:57] local.INFO: Processing buffer {"connection_id":124961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:44:57] local.INFO: IMEI packet received {"connection_id":124961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":124961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:45:03] local.INFO: TCP Data received {"connection_id":124961,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:45:03] local.INFO: Processing buffer {"connection_id":124961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:45:03] local.INFO: IMEI packet received {"connection_id":124961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":124961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:45:03] local.INFO: TCP Data received {"connection_id":124961,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:45:03] local.INFO: Processing buffer {"connection_id":124961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:45:03] local.INFO: Packet analysis {"connection_id":124961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:45:03] local.INFO: Extracted packet for processing {"connection_id":124961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:45:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562566144001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783447825000,"timestamp_ms":1783447825000,"timestamp_seconds":1783447825,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc62a68"} 
[2026-07-07 23:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562566144001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562566144001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:45:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:45:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562566144001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":124961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:45:03] local.INFO: GPS data processed {"connection_id":124961,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:45:03] local.INFO: Acknowledgment sent {"connection_id":124961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:45:35] local.INFO: TCP Data received {"connection_id":124961,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:45:35] local.INFO: Processing buffer {"connection_id":124961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dc62a68012dc5eb400537d5a0003401442c..."} 
[2026-07-07 23:45:35] local.INFO: Packet analysis {"connection_id":124961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:45:35] local.INFO: Extracted packet for processing {"connection_id":124961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dc6"} 
[2026-07-07 23:45:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562566144001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783447825000,"timestamp_ms":1783447825000,"timestamp_seconds":1783447825,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dc62a68"} 
[2026-07-07 23:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562566144001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562566144001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:45:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:45:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562566144001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":124961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:45:35] local.INFO: GPS data processed {"connection_id":124961,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:45:35] local.INFO: Acknowledgment sent {"connection_id":124961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:46:03] local.INFO: TCP Data received {"connection_id":124864,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:46:03] local.INFO: Processing buffer {"connection_id":124864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:46:03] local.INFO: IMEI packet received {"connection_id":124864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":124864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:46:03] local.INFO: TCP Data received {"connection_id":124864,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:46:03] local.INFO: Processing buffer {"connection_id":124864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:46:03] local.INFO: IMEI packet received {"connection_id":124864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":124864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:46:04] local.INFO: TCP Data received {"connection_id":124864,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:46:04] local.INFO: Processing buffer {"connection_id":124864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:46:04] local.INFO: Packet analysis {"connection_id":124864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:46:04] local.INFO: Extracted packet for processing {"connection_id":124864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:46:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562643200001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783448126000,"timestamp_ms":1783448126000,"timestamp_seconds":1783448126,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcac230"} 
[2026-07-07 23:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562643200001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562643200001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:46:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:46:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562643200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":124864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:46:04] local.INFO: GPS data processed {"connection_id":124864,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:46:04] local.INFO: Acknowledgment sent {"connection_id":124864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:46:08] local.INFO: TCP Data received {"connection_id":124864,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:46:08] local.INFO: Processing buffer {"connection_id":124864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:46:08] local.INFO: Packet analysis {"connection_id":124864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:46:08] local.INFO: Extracted packet for processing {"connection_id":124864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:46:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562643200001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783448126000,"timestamp_ms":1783448126000,"timestamp_seconds":1783448126,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcac230"} 
[2026-07-07 23:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:46: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-07-07 23:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23: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-07-07 23:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562643200001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562643200001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:46:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:46:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562643200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":124864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:46:08] local.INFO: GPS data processed {"connection_id":124864,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:46:08] local.INFO: Acknowledgment sent {"connection_id":124864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:46:39] local.INFO: TCP Data received {"connection_id":124864,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:46:39] local.INFO: Processing buffer {"connection_id":124864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:46:39] local.INFO: Packet analysis {"connection_id":124864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:46:39] local.INFO: Extracted packet for processing {"connection_id":124864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:46:39] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562643200001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783448126000,"timestamp_ms":1783448126000,"timestamp_seconds":1783448126,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcac230"} 
[2026-07-07 23:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562643200001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562643200001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:46:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:46:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562643200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":124864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:46:39] local.INFO: GPS data processed {"connection_id":124864,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:46:39] local.INFO: Acknowledgment sent {"connection_id":124864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:46:58] local.INFO: TCP Data received {"connection_id":125695,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:46:58] local.INFO: Processing buffer {"connection_id":125695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:46:58] local.INFO: IMEI packet received {"connection_id":125695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":125695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:47:03] local.INFO: TCP Data received {"connection_id":125695,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:47:03] local.INFO: Processing buffer {"connection_id":125695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:47:03] local.INFO: IMEI packet received {"connection_id":125695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":125695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:47:03] local.INFO: TCP Data received {"connection_id":125695,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:47:03] local.INFO: Processing buffer {"connection_id":125695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:47:03] local.INFO: Packet analysis {"connection_id":125695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:47:03] local.INFO: Extracted packet for processing {"connection_id":125695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:47:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562643200001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783448126000,"timestamp_ms":1783448126000,"timestamp_seconds":1783448126,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcac230"} 
[2026-07-07 23:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562643200001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562643200001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:47:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:47:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562643200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":125695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:47:04] local.INFO: GPS data processed {"connection_id":125695,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:47:04] local.INFO: Acknowledgment sent {"connection_id":125695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:47:35] local.INFO: TCP Data received {"connection_id":125695,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:47:35] local.INFO: Processing buffer {"connection_id":125695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:47:35] local.INFO: Packet analysis {"connection_id":125695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:47:35] local.INFO: Extracted packet for processing {"connection_id":125695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:47:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562643200001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783448126000,"timestamp_ms":1783448126000,"timestamp_seconds":1783448126,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcac230"} 
[2026-07-07 23:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562643200001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562643200001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:47:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:47:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562643200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":125695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:47:35] local.INFO: GPS data processed {"connection_id":125695,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:47:35] local.INFO: Acknowledgment sent {"connection_id":125695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:47:57] local.INFO: TCP Data received {"connection_id":126944,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:47:57] local.INFO: Processing buffer {"connection_id":126944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:47:57] local.INFO: IMEI packet received {"connection_id":126944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":126944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:48:03] local.INFO: TCP Data received {"connection_id":126944,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:48:03] local.INFO: Processing buffer {"connection_id":126944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:48:03] local.INFO: IMEI packet received {"connection_id":126944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":126944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:48:03] local.INFO: TCP Data received {"connection_id":126944,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:48:03] local.INFO: Processing buffer {"connection_id":126944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:48:03] local.INFO: Packet analysis {"connection_id":126944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:48:03] local.INFO: Extracted packet for processing {"connection_id":126944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:48:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562643200001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783448126000,"timestamp_ms":1783448126000,"timestamp_seconds":1783448126,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcac230"} 
[2026-07-07 23:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562643200001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562643200001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:48:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:48:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562643200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":126944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:48:03] local.INFO: GPS data processed {"connection_id":126944,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:48:03] local.INFO: Acknowledgment sent {"connection_id":126944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:48:35] local.INFO: TCP Data received {"connection_id":126944,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:48:35] local.INFO: Processing buffer {"connection_id":126944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:48:35] local.INFO: Packet analysis {"connection_id":126944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:48:35] local.INFO: Extracted packet for processing {"connection_id":126944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:48:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562643200001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783448126000,"timestamp_ms":1783448126000,"timestamp_seconds":1783448126,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcac230"} 
[2026-07-07 23:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562643200001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562643200001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:48:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:48:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562643200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":126944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:48:35] local.INFO: GPS data processed {"connection_id":126944,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:48:35] local.INFO: Acknowledgment sent {"connection_id":126944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:49:03] local.INFO: TCP Data received {"connection_id":126945,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:49:03] local.INFO: Processing buffer {"connection_id":126945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:49:03] local.INFO: IMEI packet received {"connection_id":126945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":126945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:49:08] local.INFO: TCP Data received {"connection_id":126945,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:49:08] local.INFO: Processing buffer {"connection_id":126945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:49:08] local.INFO: IMEI packet received {"connection_id":126945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":126945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:49:08] local.INFO: TCP Data received {"connection_id":126945,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:49:08] local.INFO: Processing buffer {"connection_id":126945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:49:08] local.INFO: Packet analysis {"connection_id":126945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:49:08] local.INFO: Extracted packet for processing {"connection_id":126945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:49:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562643200001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783448126000,"timestamp_ms":1783448126000,"timestamp_seconds":1783448126,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcac230"} 
[2026-07-07 23:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:49: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-07-07 23:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562643200001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562643200001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:49:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:49:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562643200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":126945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:49:08] local.INFO: GPS data processed {"connection_id":126945,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:49:08] local.INFO: Acknowledgment sent {"connection_id":126945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:49:13] local.INFO: TCP Data received {"connection_id":126945,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:49:13] local.INFO: Processing buffer {"connection_id":126945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:49:13] local.INFO: Packet analysis {"connection_id":126945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:49:13] local.INFO: Extracted packet for processing {"connection_id":126945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:49:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562643200001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783448126000,"timestamp_ms":1783448126000,"timestamp_seconds":1783448126,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcac230"} 
[2026-07-07 23:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562643200001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562643200001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:49:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:49:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562643200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":126945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:49:13] local.INFO: GPS data processed {"connection_id":126945,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:49:13] local.INFO: Acknowledgment sent {"connection_id":126945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:49:18] local.INFO: TCP Data received {"connection_id":125697,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:49:18] local.INFO: Processing buffer {"connection_id":125697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:49:18] local.INFO: IMEI packet received {"connection_id":125697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":125697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:49:29] local.INFO: TCP Data received {"connection_id":125697,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dccf898012d6e9780060cdbf00008010731..."} 
[2026-07-07 23:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dccf898012d6e9780060cdbf00008010731..."} 
[2026-07-07 23:49:29] local.INFO: Processing buffer {"connection_id":125697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dccf898012d6e9780060cdbf00008010731..."} 
[2026-07-07 23:49:29] local.INFO: Packet analysis {"connection_id":125697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dcc"} 
[2026-07-07 23:49:29] local.INFO: Extracted packet for processing {"connection_id":125697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dcc"} 
[2026-07-07 23:49:29] local.INFO: GPS Element Parsed {"raw_longitude":762222464,"raw_latitude":101506032,"longitude_deg":76.2222464,"latitude_deg":10.1506032,"altitude":8,"angle":263,"satellites":49,"speed":23,"hex_longitude":"2d6e9780","hex_latitude":"060cdbf0","is_valid_coordinates":true} 
[2026-07-07 23:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132351126623223808,"note":"Value kept but may cause issues"} 
[2026-07-07 23:49:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,242,8,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 23:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783448271000,"timestamp_ms":1783448271000,"timestamp_seconds":1783448271,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dccf898"} 
[2026-07-07 23:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 23:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125697,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125697,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"242":206,"8":65280,"24":23,"16":132351126623223808},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16]} 
[2026-07-07 23:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-07 23:49:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-07 23:49:29] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132351126623223808,"km_value":132351126623223.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:49:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_242":206,"unknown_8":65280,"ignition":23,"odometer":null}} 
[2026-07-07 23:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":125697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448365,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:49:29] local.INFO: GPS data processed {"connection_id":125697,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:49:29] local.INFO: Acknowledgment sent {"connection_id":125697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:49:58] local.INFO: TCP Data received {"connection_id":124962,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:49:58] local.INFO: Processing buffer {"connection_id":124962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:49:58] local.INFO: IMEI packet received {"connection_id":124962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":124962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:50:03] local.INFO: TCP Data received {"connection_id":124962,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:50:03] local.INFO: Processing buffer {"connection_id":124962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:50:03] local.INFO: IMEI packet received {"connection_id":124962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":124962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:50:03] local.INFO: TCP Data received {"connection_id":124962,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:50:03] local.INFO: Processing buffer {"connection_id":124962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:50:03] local.INFO: Packet analysis {"connection_id":124962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:50:03] local.INFO: Extracted packet for processing {"connection_id":124962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:50:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562643200001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783448126000,"timestamp_ms":1783448126000,"timestamp_seconds":1783448126,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcac230"} 
[2026-07-07 23:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562643200001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562643200001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:50:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:50:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562643200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":124962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:50:03] local.INFO: GPS data processed {"connection_id":124962,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:50:03] local.INFO: Acknowledgment sent {"connection_id":124962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:50:04] local.INFO: TCP Data received {"connection_id":126946,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:50:04] local.INFO: Processing buffer {"connection_id":126946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:50:04] local.INFO: IMEI packet received {"connection_id":126946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":126946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:50:09] local.INFO: TCP Data received {"connection_id":126946,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:50:09] local.INFO: Processing buffer {"connection_id":126946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:50:09] local.INFO: IMEI packet received {"connection_id":126946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":126946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:50:10] local.INFO: TCP Data received {"connection_id":126946,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcdb8000100000000000000000000000000..."} 
[2026-07-07 23:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcdb8000100000000000000000000000000..."} 
[2026-07-07 23:50:10] local.INFO: Processing buffer {"connection_id":126946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcdb8000100000000000000000000000000..."} 
[2026-07-07 23:50:10] local.INFO: Packet analysis {"connection_id":126946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dcd"} 
[2026-07-07 23:50:10] local.INFO: Extracted packet for processing {"connection_id":126946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dcd"} 
[2026-07-07 23:50:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-07 23:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562757376001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132351126623223808,"note":"Value kept but may cause issues"} 
[2026-07-07 23:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7968978829129281536,"note":"Value kept but may cause issues"} 
[2026-07-07 23:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783448320000,"timestamp_ms":1783448320000,"timestamp_seconds":1783448320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcdb800"} 
[2026-07-07 23:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23: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":48,"data_length":795,"current_offset":136} 
[2026-07-07 23:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":126946,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-07 23:50:10] local.INFO: GPS data processed {"connection_id":126946,"processed":0,"errors":0,"total":1} 
[2026-07-07 23:50:10] local.INFO: Acknowledgment sent {"connection_id":126946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:50:14] local.INFO: TCP Data received {"connection_id":126946,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcd4e88012d6e5f00060cca58000700fd2e..."} 
[2026-07-07 23:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcd4e88012d6e5f00060cca58000700fd2e..."} 
[2026-07-07 23:50:14] local.INFO: Processing buffer {"connection_id":126946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcd4e88012d6e5f00060cca58000700fd2e..."} 
[2026-07-07 23:50:14] local.INFO: Packet analysis {"connection_id":126946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dcd"} 
[2026-07-07 23:50:14] local.INFO: Extracted packet for processing {"connection_id":126946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dcd"} 
[2026-07-07 23:50:14] local.INFO: GPS Element Parsed {"raw_longitude":762208000,"raw_latitude":101501528,"longitude_deg":76.2208,"latitude_deg":10.1501528,"altitude":7,"angle":253,"satellites":46,"speed":25,"hex_longitude":"2d6e5f00","hex_latitude":"060cca58","is_valid_coordinates":true} 
[2026-07-07 23:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132351126623223808,"note":"Value kept but may cause issues"} 
[2026-07-07 23:50:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,242,8,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-07 23:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783448293000,"timestamp_ms":1783448293000,"timestamp_seconds":1783448293,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcd4e88"} 
[2026-07-07 23:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:50: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-07 23:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28028,"242":206,"8":65280,"24":25,"16":132351126623223808},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16]} 
[2026-07-07 23:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-07 23:50:15] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-07 23:50:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132351126623223808,"km_value":132351126623223.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:50:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28028,"unknown_242":206,"unknown_8":65280,"ignition":25,"odometer":null}} 
[2026-07-07 23:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":126946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448367,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:50:15] local.INFO: GPS data processed {"connection_id":126946,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:50:15] local.INFO: Acknowledgment sent {"connection_id":126946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:50:35] local.INFO: TCP Data received {"connection_id":124962,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:50:35] local.INFO: Processing buffer {"connection_id":124962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:50:35] local.INFO: Packet analysis {"connection_id":124962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:50:35] local.INFO: Extracted packet for processing {"connection_id":124962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:50:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562643200001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783448126000,"timestamp_ms":1783448126000,"timestamp_seconds":1783448126,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcac230"} 
[2026-07-07 23:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562643200001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562643200001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:50:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:50:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562643200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":124962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:50:35] local.INFO: GPS data processed {"connection_id":124962,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:50:35] local.INFO: Acknowledgment sent {"connection_id":124962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:50:55] local.INFO: TCP Data received {"connection_id":126947,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:50:55] local.INFO: Processing buffer {"connection_id":126947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:50:55] local.INFO: IMEI packet received {"connection_id":126947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":126947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:50:58] local.INFO: TCP Data received {"connection_id":126947,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:50:58] local.INFO: Processing buffer {"connection_id":126947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:50:58] local.INFO: IMEI packet received {"connection_id":126947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":126947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:50:58] local.INFO: TCP Data received {"connection_id":126948,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:50:58] local.INFO: Processing buffer {"connection_id":126948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:50:58] local.INFO: IMEI packet received {"connection_id":126948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":126948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:51:01] local.INFO: TCP Data received {"connection_id":126947,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:51:01] local.INFO: Processing buffer {"connection_id":126947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:51:01] local.INFO: IMEI packet received {"connection_id":126947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":126947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:51:03] local.INFO: TCP Data received {"connection_id":126948,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:51:03] local.INFO: Processing buffer {"connection_id":126948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:51:03] local.INFO: IMEI packet received {"connection_id":126948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":126948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:51:03] local.INFO: TCP Data received {"connection_id":126947,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcda090012d6e2580060cb7e0000600f92b..."} 
[2026-07-07 23:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcda090012d6e2580060cb7e0000600f92b..."} 
[2026-07-07 23:51:03] local.INFO: Processing buffer {"connection_id":126947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcda090012d6e2580060cb7e0000600f92b..."} 
[2026-07-07 23:51:03] local.INFO: Packet analysis {"connection_id":126947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dcd"} 
[2026-07-07 23:51:03] local.INFO: Extracted packet for processing {"connection_id":126947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dcd"} 
[2026-07-07 23:51:03] local.INFO: GPS Element Parsed {"raw_longitude":762193280,"raw_latitude":101496800,"longitude_deg":76.219328,"latitude_deg":10.14968,"altitude":6,"angle":249,"satellites":43,"speed":30,"hex_longitude":"2d6e2580","hex_latitude":"060cb7e0","is_valid_coordinates":true} 
[2026-07-07 23:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562763008001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132351126623223808,"note":"Value kept but may cause issues"} 
[2026-07-07 23:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7953075492943976448,"note":"Value kept but may cause issues"} 
[2026-07-07 23:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783448314000,"timestamp_ms":1783448314000,"timestamp_seconds":1783448314,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcda090"} 
[2026-07-07 23:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-07 23:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562763008001,"66":27876,"242":206,"8":65280,"24":30,"16":132351126623223808,"45":7953075492943976448},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16,45]} 
[2026-07-07 23:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562763008001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:51:03] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-07 23:51:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132351126623223808,"km_value":132351126623223.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7953075492943976448,"description":"Unknown IO ID 45"} 
[2026-07-07 23:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562763008001,"power":27876,"unknown_242":206,"unknown_8":65280,"ignition":30,"odometer":null,"unknown_45":7953075492943976448}} 
[2026-07-07 23:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":126947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448369,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:51:03] local.INFO: GPS data processed {"connection_id":126947,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:51:03] local.INFO: Acknowledgment sent {"connection_id":126947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:51:03] local.INFO: TCP Data received {"connection_id":126948,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:51:03] local.INFO: Processing buffer {"connection_id":126948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcac230012dc5eb400537d5a0003401442e..."} 
[2026-07-07 23:51:03] local.INFO: Packet analysis {"connection_id":126948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:51:03] local.INFO: Extracted packet for processing {"connection_id":126948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dca"} 
[2026-07-07 23:51:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562643200001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783448126000,"timestamp_ms":1783448126000,"timestamp_seconds":1783448126,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcac230"} 
[2026-07-07 23:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562643200001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562643200001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:51:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:51:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562643200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":126948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:51:03] local.INFO: GPS data processed {"connection_id":126948,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:51:03] local.INFO: Acknowledgment sent {"connection_id":126948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:51:35] local.INFO: TCP Data received {"connection_id":126948,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:51:35] local.INFO: Processing buffer {"connection_id":126948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:51:35] local.INFO: Packet analysis {"connection_id":126948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dcf"} 
[2026-07-07 23:51:35] local.INFO: Extracted packet for processing {"connection_id":126948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dcf"} 
[2026-07-07 23:51:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562720256001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783448427000,"timestamp_ms":1783448427000,"timestamp_seconds":1783448427,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcf59f8"} 
[2026-07-07 23:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562720256001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562720256001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:51:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:51:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562720256001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":126948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:51:35] local.INFO: GPS data processed {"connection_id":126948,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:51:35] local.INFO: Acknowledgment sent {"connection_id":126948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:51:35] local.INFO: TCP Data received {"connection_id":126947,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcdf298012d6df400060cabe00005014b2d..."} 
[2026-07-07 23:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcdf298012d6df400060cabe00005014b2d..."} 
[2026-07-07 23:51:35] local.INFO: Processing buffer {"connection_id":126947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcdf298012d6df400060cabe00005014b2d..."} 
[2026-07-07 23:51:35] local.INFO: Packet analysis {"connection_id":126947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dcd"} 
[2026-07-07 23:51:35] local.INFO: Extracted packet for processing {"connection_id":126947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dcd"} 
[2026-07-07 23:51:35] local.INFO: GPS Element Parsed {"raw_longitude":762180608,"raw_latitude":101493728,"longitude_deg":76.2180608,"latitude_deg":10.1493728,"altitude":5,"angle":331,"satellites":45,"speed":19,"hex_longitude":"2d6df400","hex_latitude":"060cabe0","is_valid_coordinates":true} 
[2026-07-07 23:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562768384001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132351126623223808,"note":"Value kept but may cause issues"} 
[2026-07-07 23:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7936890681781903360,"note":"Value kept but may cause issues"} 
[2026-07-07 23:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783448335000,"timestamp_ms":1783448335000,"timestamp_seconds":1783448335,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcdf298"} 
[2026-07-07 23:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 23:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562768384001,"66":28006,"242":206,"8":65280,"24":19,"16":132351126623223808,"45":7936890681781903360},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16,45]} 
[2026-07-07 23:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562768384001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:51:35] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-07 23:51:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132351126623223808,"km_value":132351126623223.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7936890681781903360,"description":"Unknown IO ID 45"} 
[2026-07-07 23:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562768384001,"power":28006,"unknown_242":206,"unknown_8":65280,"ignition":19,"odometer":null,"unknown_45":7936890681781903360}} 
[2026-07-07 23:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":126947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448372,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:51:36] local.INFO: GPS data processed {"connection_id":126947,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:51:36] local.INFO: Acknowledgment sent {"connection_id":126947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:51:58] local.INFO: TCP Data received {"connection_id":125698,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:51:58] local.INFO: Processing buffer {"connection_id":125698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:51:58] local.INFO: IMEI packet received {"connection_id":125698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":125698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:51:59] local.INFO: TCP Data received {"connection_id":125698,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:51:59] local.INFO: Processing buffer {"connection_id":125698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:51:59] local.INFO: IMEI packet received {"connection_id":125698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":125698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:52:03] local.INFO: TCP Data received {"connection_id":124963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:52:03] local.INFO: Processing buffer {"connection_id":124963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:52:03] local.INFO: IMEI packet received {"connection_id":124963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":124963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:52:03] local.INFO: TCP Data received {"connection_id":125698,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:52:03] local.INFO: Processing buffer {"connection_id":125698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:52:03] local.INFO: IMEI packet received {"connection_id":125698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":125698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:52:06] local.INFO: TCP Data received {"connection_id":125698,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcdf298012d6df400060cabe00005014b2d..."} 
[2026-07-07 23:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcdf298012d6df400060cabe00005014b2d..."} 
[2026-07-07 23:52:06] local.INFO: Processing buffer {"connection_id":125698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcdf298012d6df400060cabe00005014b2d..."} 
[2026-07-07 23:52:06] local.INFO: Packet analysis {"connection_id":125698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dcd"} 
[2026-07-07 23:52:06] local.INFO: Extracted packet for processing {"connection_id":125698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dcd"} 
[2026-07-07 23:52:06] local.INFO: GPS Element Parsed {"raw_longitude":762180608,"raw_latitude":101493728,"longitude_deg":76.2180608,"latitude_deg":10.1493728,"altitude":5,"angle":331,"satellites":45,"speed":19,"hex_longitude":"2d6df400","hex_latitude":"060cabe0","is_valid_coordinates":true} 
[2026-07-07 23:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562773760001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132351126623223808,"note":"Value kept but may cause issues"} 
[2026-07-07 23:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7922957670433939456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783448335000,"timestamp_ms":1783448335000,"timestamp_seconds":1783448335,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcdf298"} 
[2026-07-07 23:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-07 23:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562773760001,"66":28006,"242":206,"8":65280,"24":19,"16":132351126623223808,"45":7922957670433939456},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16,45]} 
[2026-07-07 23:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562773760001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:52:06] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-07 23:52:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-07-07 23:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132351126623223808,"km_value":132351126623223.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7922957670433939456,"description":"Unknown IO ID 45"} 
[2026-07-07 23:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562773760001,"power":28006,"unknown_242":206,"unknown_8":65280,"ignition":19,"odometer":null,"unknown_45":7922957670433939456}} 
[2026-07-07 23:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":125698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448373,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:52:06] local.INFO: GPS data processed {"connection_id":125698,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:52:06] local.INFO: Acknowledgment sent {"connection_id":125698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:52:08] local.INFO: TCP Data received {"connection_id":124963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:52:08] local.INFO: Processing buffer {"connection_id":124963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:52:08] local.INFO: IMEI packet received {"connection_id":124963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":124963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:52:09] local.INFO: TCP Data received {"connection_id":124963,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:52:09] local.INFO: Processing buffer {"connection_id":124963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:52:09] local.INFO: Packet analysis {"connection_id":124963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dcf"} 
[2026-07-07 23:52:09] local.INFO: Extracted packet for processing {"connection_id":124963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dcf"} 
[2026-07-07 23:52:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562720256001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783448427000,"timestamp_ms":1783448427000,"timestamp_seconds":1783448427,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcf59f8"} 
[2026-07-07 23:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562720256001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562720256001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:52:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:52:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562720256001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":124963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:52:09] local.INFO: GPS data processed {"connection_id":124963,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:52:09] local.INFO: Acknowledgment sent {"connection_id":124963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:52:13] local.INFO: TCP Data received {"connection_id":124963,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:52:13] local.INFO: Processing buffer {"connection_id":124963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:52:13] local.INFO: Packet analysis {"connection_id":124963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dcf"} 
[2026-07-07 23:52:13] local.INFO: Extracted packet for processing {"connection_id":124963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dcf"} 
[2026-07-07 23:52:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23: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-07-07 23:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562720256001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783448427000,"timestamp_ms":1783448427000,"timestamp_seconds":1783448427,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcf59f8"} 
[2026-07-07 23:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23: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-07-07 23:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562720256001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562720256001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:52:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:52:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562720256001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":124963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:52:13] local.INFO: GPS data processed {"connection_id":124963,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:52:13] local.INFO: Acknowledgment sent {"connection_id":124963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:52:37] local.INFO: TCP Data received {"connection_id":125698,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd02ce8012d6d4180060db920000a000931..."} 
[2026-07-07 23:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd02ce8012d6d4180060db920000a000931..."} 
[2026-07-07 23:52:37] local.INFO: Processing buffer {"connection_id":125698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd02ce8012d6d4180060db920000a000931..."} 
[2026-07-07 23:52:37] local.INFO: Packet analysis {"connection_id":125698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd0"} 
[2026-07-07 23:52:37] local.INFO: Extracted packet for processing {"connection_id":125698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd0"} 
[2026-07-07 23:52:37] local.INFO: GPS Element Parsed {"raw_longitude":762134912,"raw_latitude":101562656,"longitude_deg":76.2134912,"latitude_deg":10.1562656,"altitude":10,"angle":9,"satellites":49,"speed":21,"hex_longitude":"2d6d4180","hex_latitude":"060db920","is_valid_coordinates":true} 
[2026-07-07 23:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562807552001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132353239747133440,"note":"Value kept but may cause issues"} 
[2026-07-07 23:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7872855124595492864,"note":"Value kept but may cause issues"} 
[2026-07-07 23:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783448481000,"timestamp_ms":1783448481000,"timestamp_seconds":1783448481,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd02ce8"} 
[2026-07-07 23:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 23:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562807552001,"66":28082,"61":206,"19":43264,"24":21,"16":132353239747133440,"45":7872855124595492864},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,19,24,16,45]} 
[2026-07-07 23:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562807552001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:52:37] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-07 23:52:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-07 23:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132353239747133440,"km_value":132353239747133.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7872855124595492864,"description":"Unknown IO ID 45"} 
[2026-07-07 23:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562807552001,"power":28082,"unknown_61":206,"unknown_19":43264,"ignition":21,"odometer":null,"unknown_45":7872855124595492864}} 
[2026-07-07 23:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":125698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448376,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:52:37] local.INFO: GPS data processed {"connection_id":125698,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:52:37] local.INFO: Acknowledgment sent {"connection_id":125698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:52:58] local.INFO: TCP Data received {"connection_id":126949,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:52:58] local.INFO: Processing buffer {"connection_id":126949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:52:58] local.INFO: IMEI packet received {"connection_id":126949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":126949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:52:58] local.INFO: TCP Data received {"connection_id":124865,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:52:58] local.INFO: Processing buffer {"connection_id":124865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:52:58] local.INFO: IMEI packet received {"connection_id":124865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":124865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:53:00] local.INFO: TCP Data received {"connection_id":126949,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:53:00] local.INFO: Processing buffer {"connection_id":126949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:53:00] local.INFO: IMEI packet received {"connection_id":126949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":126949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:53:03] local.INFO: TCP Data received {"connection_id":126949,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:53:03] local.INFO: Processing buffer {"connection_id":126949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:53:03] local.INFO: IMEI packet received {"connection_id":126949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":126949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:53:03] local.INFO: TCP Data received {"connection_id":124865,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:53:03] local.INFO: Processing buffer {"connection_id":124865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:53:03] local.INFO: IMEI packet received {"connection_id":124865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":124865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:53:03] local.INFO: TCP Data received {"connection_id":124865,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:53:03] local.INFO: Processing buffer {"connection_id":124865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:53:03] local.INFO: Packet analysis {"connection_id":124865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dcf"} 
[2026-07-07 23:53:03] local.INFO: Extracted packet for processing {"connection_id":124865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dcf"} 
[2026-07-07 23:53:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562720256001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783448427000,"timestamp_ms":1783448427000,"timestamp_seconds":1783448427,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcf59f8"} 
[2026-07-07 23:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562720256001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562720256001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:53:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:53:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562720256001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":124865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:53:03] local.INFO: GPS data processed {"connection_id":124865,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:53:03] local.INFO: Acknowledgment sent {"connection_id":124865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:53:04] local.INFO: TCP Data received {"connection_id":126949,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd057e0012d6d4400060dce28000a016332..."} 
[2026-07-07 23:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd057e0012d6d4400060dce28000a016332..."} 
[2026-07-07 23:53:04] local.INFO: Processing buffer {"connection_id":126949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd057e0012d6d4400060dce28000a016332..."} 
[2026-07-07 23:53:04] local.INFO: Packet analysis {"connection_id":126949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd0"} 
[2026-07-07 23:53:04] local.INFO: Extracted packet for processing {"connection_id":126949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd0"} 
[2026-07-07 23:53:04] local.INFO: GPS Element Parsed {"raw_longitude":762135552,"raw_latitude":101568040,"longitude_deg":76.2135552,"latitude_deg":10.156804,"altitude":10,"angle":355,"satellites":50,"speed":20,"hex_longitude":"2d6d4400","hex_latitude":"060dce28","is_valid_coordinates":true} 
[2026-07-07 23:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562811136001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132353506035105792,"note":"Value kept but may cause issues"} 
[2026-07-07 23:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7872714387108732928,"note":"Value kept but may cause issues"} 
[2026-07-07 23:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783448492000,"timestamp_ms":1783448492000,"timestamp_seconds":1783448492,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd057e0"} 
[2026-07-07 23:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-07 23:53:04] 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-07-07 23:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562811136001,"66":27876,"61":206,"19":43264,"24":20,"16":132353506035105792,"45":7872714387108732928},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,19,24,16,45]} 
[2026-07-07 23:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562811136001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:53:05] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-07 23:53:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-07 23:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132353506035105792,"km_value":132353506035105.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7872714387108732928,"description":"Unknown IO ID 45"} 
[2026-07-07 23:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562811136001,"power":27876,"unknown_61":206,"unknown_19":43264,"ignition":20,"odometer":null,"unknown_45":7872714387108732928}} 
[2026-07-07 23:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":126949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448378,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:53:05] local.INFO: GPS data processed {"connection_id":126949,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:53:05] local.INFO: Acknowledgment sent {"connection_id":126949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:53:35] local.INFO: TCP Data received {"connection_id":124865,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:53:35] local.INFO: Processing buffer {"connection_id":124865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:53:35] local.INFO: Packet analysis {"connection_id":124865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dcf"} 
[2026-07-07 23:53:35] local.INFO: Extracted packet for processing {"connection_id":124865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dcf"} 
[2026-07-07 23:53:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23: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-07-07 23:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562720256001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783448427000,"timestamp_ms":1783448427000,"timestamp_seconds":1783448427,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcf59f8"} 
[2026-07-07 23:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23: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-07-07 23:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562720256001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562720256001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:53:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:53:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562720256001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":124865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:53:35] local.INFO: GPS data processed {"connection_id":124865,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:53:35] local.INFO: Acknowledgment sent {"connection_id":124865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:53:36] local.INFO: TCP Data received {"connection_id":126949,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd0a9e8012d6d3e80060deca8000c015c32..."} 
[2026-07-07 23:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd0a9e8012d6d3e80060deca8000c015c32..."} 
[2026-07-07 23:53:36] local.INFO: Processing buffer {"connection_id":126949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd0a9e8012d6d3e80060deca8000c015c32..."} 
[2026-07-07 23:53:36] local.INFO: Packet analysis {"connection_id":126949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd0"} 
[2026-07-07 23:53:36] local.INFO: Extracted packet for processing {"connection_id":126949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd0"} 
[2026-07-07 23:53:36] local.INFO: GPS Element Parsed {"raw_longitude":762134144,"raw_latitude":101575848,"longitude_deg":76.2134144,"latitude_deg":10.1575848,"altitude":12,"angle":348,"satellites":50,"speed":9,"hex_longitude":"2d6d3e80","hex_latitude":"060deca8","is_valid_coordinates":true} 
[2026-07-07 23:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562813952001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132353892582162432,"note":"Value kept but may cause issues"} 
[2026-07-07 23:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7873418074551887872,"note":"Value kept but may cause issues"} 
[2026-07-07 23:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783448513000,"timestamp_ms":1783448513000,"timestamp_seconds":1783448513,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd0a9e8"} 
[2026-07-07 23:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-07 23:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562813952001,"66":28050,"61":206,"19":43264,"24":9,"16":132353892582162432,"45":7873418074551887872},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,19,24,16,45]} 
[2026-07-07 23:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562813952001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:53:36] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-07 23:53:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-07 23:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132353892582162432,"km_value":132353892582162.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7873418074551887872,"description":"Unknown IO ID 45"} 
[2026-07-07 23:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562813952001,"power":28050,"unknown_61":206,"unknown_19":43264,"ignition":9,"odometer":null,"unknown_45":7873418074551887872}} 
[2026-07-07 23:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":126949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448380,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:53:36] local.INFO: GPS data processed {"connection_id":126949,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:53:36] local.INFO: Acknowledgment sent {"connection_id":126949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:53:58] local.INFO: TCP Data received {"connection_id":126951,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:53:58] local.INFO: Processing buffer {"connection_id":126951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:53:58] local.INFO: IMEI packet received {"connection_id":126951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":126951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:53:58] local.INFO: TCP Data received {"connection_id":126950,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:53:58] local.INFO: Processing buffer {"connection_id":126950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:53:58] local.INFO: IMEI packet received {"connection_id":126950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":126950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:54:02] local.INFO: TCP Data received {"connection_id":126951,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:54:02] local.INFO: Processing buffer {"connection_id":126951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:54:02] local.INFO: IMEI packet received {"connection_id":126951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":126951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:54:03] local.INFO: TCP Data received {"connection_id":126950,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:54:03] local.INFO: Processing buffer {"connection_id":126950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:54:03] local.INFO: IMEI packet received {"connection_id":126950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":126950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:54:03] local.INFO: TCP Data received {"connection_id":126951,"ip":"117.224.129.116","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 23:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126951,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 23:54:03] local.INFO: Processing buffer {"connection_id":126951,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-07 23:54:03] local.INFO: IMEI packet received {"connection_id":126951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":126951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:54:03] local.INFO: TCP Data received {"connection_id":126950,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:54:03] local.INFO: Processing buffer {"connection_id":126950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:54:03] local.INFO: Packet analysis {"connection_id":126950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dcf"} 
[2026-07-07 23:54:03] local.INFO: Extracted packet for processing {"connection_id":126950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dcf"} 
[2026-07-07 23:54:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562720256001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783448427000,"timestamp_ms":1783448427000,"timestamp_seconds":1783448427,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcf59f8"} 
[2026-07-07 23:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562720256001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562720256001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:54:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:54:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562720256001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":126950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:54:03] local.INFO: GPS data processed {"connection_id":126950,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:54:03] local.INFO: Acknowledgment sent {"connection_id":126950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:54:04] local.INFO: TCP Data received {"connection_id":126951,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd0fbf0012d6d3800060e0bd0000d016731..."} 
[2026-07-07 23:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd0fbf0012d6d3800060e0bd0000d016731..."} 
[2026-07-07 23:54:04] local.INFO: Processing buffer {"connection_id":126951,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019f3d..."} 
[2026-07-07 23:54:04] local.INFO: IMEI packet received {"connection_id":126951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":126951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:54:09] local.INFO: TCP Data received {"connection_id":126951,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd11b30012d6d38c0060e16f0000d000b2f..."} 
[2026-07-07 23:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd11b30012d6d38c0060e16f0000d000b2f..."} 
[2026-07-07 23:54:09] local.INFO: Processing buffer {"connection_id":126951,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3dd0fbf0012d6d3800060e0bd0000d016731..."} 
[2026-07-07 23:54:09] local.INFO: Packet analysis {"connection_id":126951,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3dd0"} 
[2026-07-07 23:54:09] local.INFO: Extracted packet for processing {"connection_id":126951,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd0"} 
[2026-07-07 23:54:09] local.INFO: GPS Element Parsed {"raw_longitude":762132480,"raw_latitude":101583824,"longitude_deg":76.213248,"latitude_deg":10.1583824,"altitude":13,"angle":359,"satellites":49,"speed":13,"hex_longitude":"2d6d3800","hex_latitude":"060e0bd0","is_valid_coordinates":true} 
[2026-07-07 23:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562819328001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132354287719153664,"note":"Value kept but may cause issues"} 
[2026-07-07 23:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7871869962181978112,"note":"Value kept but may cause issues"} 
[2026-07-07 23:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783448534000,"timestamp_ms":1783448534000,"timestamp_seconds":1783448534,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd0fbf0"} 
[2026-07-07 23:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:54: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-07-07 23:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-07 23:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562819328001,"66":27995,"60":206,"19":43264,"24":13,"16":132354287719153664,"45":7871869962181978112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,19,24,16,45]} 
[2026-07-07 23:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562819328001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:54:09] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-07 23:54:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-07 23:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132354287719153664,"km_value":132354287719153.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7871869962181978112,"description":"Unknown IO ID 45"} 
[2026-07-07 23:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562819328001,"power":27995,"unknown_60":206,"unknown_19":43264,"ignition":13,"odometer":null,"unknown_45":7871869962181978112}} 
[2026-07-07 23:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":126951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448382,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:54:09] local.INFO: GPS data processed {"connection_id":126951,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:54:09] local.INFO: Acknowledgment sent {"connection_id":126951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:54:09] local.INFO: Packet analysis {"connection_id":126951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd1"} 
[2026-07-07 23:54:09] local.INFO: Extracted packet for processing {"connection_id":126951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd1"} 
[2026-07-07 23:54:09] local.INFO: GPS Element Parsed {"raw_longitude":762132672,"raw_latitude":101586672,"longitude_deg":76.2132672,"latitude_deg":10.1586672,"altitude":13,"angle":11,"satellites":47,"speed":18,"hex_longitude":"2d6d38c0","hex_latitude":"060e16f0","is_valid_coordinates":true} 
[2026-07-07 23:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562824704001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132354425158107136,"note":"Value kept but may cause issues"} 
[2026-07-07 23:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870040374835400704,"note":"Value kept but may cause issues"} 
[2026-07-07 23:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783448542000,"timestamp_ms":1783448542000,"timestamp_seconds":1783448542,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd11b30"} 
[2026-07-07 23:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:54: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-07-07 23:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-07 23:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562824704001,"66":27843,"60":206,"19":43264,"24":18,"16":132354425158107136,"45":7870040374835400704},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,19,24,16,45]} 
[2026-07-07 23:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562824704001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:54:09] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-07 23:54:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-07 23:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132354425158107136,"km_value":132354425158107.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870040374835400704,"description":"Unknown IO ID 45"} 
[2026-07-07 23:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562824704001,"power":27843,"unknown_60":206,"unknown_19":43264,"ignition":18,"odometer":null,"unknown_45":7870040374835400704}} 
[2026-07-07 23:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":126951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448383,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:54:09] local.INFO: GPS data processed {"connection_id":126951,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:54:09] local.INFO: Acknowledgment sent {"connection_id":126951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:54:34] local.INFO: TCP Data received {"connection_id":126950,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:54:34] local.INFO: Processing buffer {"connection_id":126950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:54:34] local.INFO: Packet analysis {"connection_id":126950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dcf"} 
[2026-07-07 23:54:34] local.INFO: Extracted packet for processing {"connection_id":126950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dcf"} 
[2026-07-07 23:54:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562720256001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783448427000,"timestamp_ms":1783448427000,"timestamp_seconds":1783448427,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcf59f8"} 
[2026-07-07 23:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562720256001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562720256001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:54:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:54:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562720256001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":126950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:54:35] local.INFO: GPS data processed {"connection_id":126950,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:54:35] local.INFO: Acknowledgment sent {"connection_id":126950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:54:40] local.INFO: TCP Data received {"connection_id":126951,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd12ad0012d6d3b00060e1d80000d001a30..."} 
[2026-07-07 23:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd12ad0012d6d3b00060e1d80000d001a30..."} 
[2026-07-07 23:54:40] local.INFO: Processing buffer {"connection_id":126951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd12ad0012d6d3b00060e1d80000d001a30..."} 
[2026-07-07 23:54:40] local.INFO: Packet analysis {"connection_id":126951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd1"} 
[2026-07-07 23:54:40] local.INFO: Extracted packet for processing {"connection_id":126951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd1"} 
[2026-07-07 23:54:40] local.INFO: GPS Element Parsed {"raw_longitude":762133248,"raw_latitude":101588352,"longitude_deg":76.2133248,"latitude_deg":10.1588352,"altitude":13,"angle":26,"satellites":48,"speed":16,"hex_longitude":"2d6d3b00","hex_latitude":"060e1d80","is_valid_coordinates":true} 
[2026-07-07 23:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562826752001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132354515352420352,"note":"Value kept but may cause issues"} 
[2026-07-07 23:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870251481068662784,"note":"Value kept but may cause issues"} 
[2026-07-07 23:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783448546000,"timestamp_ms":1783448546000,"timestamp_seconds":1783448546,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd12ad0"} 
[2026-07-07 23:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 23:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562826752001,"66":27767,"60":206,"19":43264,"24":16,"16":132354515352420352,"45":7870251481068662784},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,19,24,16,45]} 
[2026-07-07 23:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562826752001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:54:40] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-07 23:54:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-07 23:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132354515352420352,"km_value":132354515352420.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870251481068662784,"description":"Unknown IO ID 45"} 
[2026-07-07 23:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562826752001,"power":27767,"unknown_60":206,"unknown_19":43264,"ignition":16,"odometer":null,"unknown_45":7870251481068662784}} 
[2026-07-07 23:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":126951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448385,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:54:40] local.INFO: GPS data processed {"connection_id":126951,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:54:40] local.INFO: Acknowledgment sent {"connection_id":126951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:54:58] local.INFO: TCP Data received {"connection_id":125699,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:54:58] local.INFO: Processing buffer {"connection_id":125699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:54:58] local.INFO: IMEI packet received {"connection_id":125699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":125699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:54:58] local.INFO: TCP Data received {"connection_id":125700,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:54:58] local.INFO: Processing buffer {"connection_id":125700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:54:58] local.INFO: IMEI packet received {"connection_id":125700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":125700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:55:03] local.INFO: TCP Data received {"connection_id":125699,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:55:03] local.INFO: Processing buffer {"connection_id":125699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:55:03] local.INFO: IMEI packet received {"connection_id":125699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":125699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:55:03] local.INFO: TCP Data received {"connection_id":125700,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:55:03] local.INFO: Processing buffer {"connection_id":125700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:55:03] local.INFO: IMEI packet received {"connection_id":125700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":125700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:55:04] local.INFO: TCP Data received {"connection_id":125699,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:55:04] local.INFO: Processing buffer {"connection_id":125699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:55:04] local.INFO: Packet analysis {"connection_id":125699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dcf"} 
[2026-07-07 23:55:04] local.INFO: Extracted packet for processing {"connection_id":125699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dcf"} 
[2026-07-07 23:55:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562720256001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783448427000,"timestamp_ms":1783448427000,"timestamp_seconds":1783448427,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcf59f8"} 
[2026-07-07 23:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562720256001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562720256001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:55:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:55:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562720256001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":125699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:55:04] local.INFO: GPS data processed {"connection_id":125699,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:55:04] local.INFO: Acknowledgment sent {"connection_id":125699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:55:07] local.INFO: TCP Data received {"connection_id":125700,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd16950012d6d4640060e33f80009000c31..."} 
[2026-07-07 23:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd16950012d6d4640060e33f80009000c31..."} 
[2026-07-07 23:55:07] local.INFO: Processing buffer {"connection_id":125700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd16950012d6d4640060e33f80009000c31..."} 
[2026-07-07 23:55:07] local.INFO: Packet analysis {"connection_id":125700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd1"} 
[2026-07-07 23:55:07] local.INFO: Extracted packet for processing {"connection_id":125700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd1"} 
[2026-07-07 23:55:07] local.INFO: GPS Element Parsed {"raw_longitude":762136128,"raw_latitude":101594104,"longitude_deg":76.2136128,"latitude_deg":10.1594104,"altitude":9,"angle":12,"satellites":49,"speed":15,"hex_longitude":"2d6d4640","hex_latitude":"060e33f8","is_valid_coordinates":true} 
[2026-07-07 23:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562827776001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132354828885032960,"note":"Value kept but may cause issues"} 
[2026-07-07 23:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870884799766691840,"note":"Value kept but may cause issues"} 
[2026-07-07 23:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783448562000,"timestamp_ms":1783448562000,"timestamp_seconds":1783448562,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd16950"} 
[2026-07-07 23:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-07 23:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562827776001,"66":27908,"59":206,"19":43264,"24":15,"16":132354828885032960,"45":7870884799766691840},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-07-07 23:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562827776001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:55:07] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-07 23:55:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-07 23:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132354828885032960,"km_value":132354828885032.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870884799766691840,"description":"Unknown IO ID 45"} 
[2026-07-07 23:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562827776001,"power":27908,"unknown_59":206,"unknown_19":43264,"ignition":15,"odometer":null,"unknown_45":7870884799766691840}} 
[2026-07-07 23:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":125700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448387,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:55:08] local.INFO: GPS data processed {"connection_id":125700,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:55:08] local.INFO: Acknowledgment sent {"connection_id":125700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:55:35] local.INFO: TCP Data received {"connection_id":125699,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:55:35] local.INFO: Processing buffer {"connection_id":125699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:55:35] local.INFO: Packet analysis {"connection_id":125699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dcf"} 
[2026-07-07 23:55:35] local.INFO: Extracted packet for processing {"connection_id":125699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dcf"} 
[2026-07-07 23:55:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562720256001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783448427000,"timestamp_ms":1783448427000,"timestamp_seconds":1783448427,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcf59f8"} 
[2026-07-07 23:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562720256001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562720256001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:55:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:55:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562720256001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":125699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:55:35] local.INFO: GPS data processed {"connection_id":125699,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:55:35] local.INFO: Acknowledgment sent {"connection_id":125699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:55:40] local.INFO: TCP Data received {"connection_id":125700,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd1bb58012d6d4e00060e5128000a00132f..."} 
[2026-07-07 23:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd1bb58012d6d4e00060e5128000a00132f..."} 
[2026-07-07 23:55:40] local.INFO: Processing buffer {"connection_id":125700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd1bb58012d6d4e00060e5128000a00132f..."} 
[2026-07-07 23:55:40] local.INFO: Packet analysis {"connection_id":125700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd1"} 
[2026-07-07 23:55:40] local.INFO: Extracted packet for processing {"connection_id":125700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd1"} 
[2026-07-07 23:55:40] local.INFO: GPS Element Parsed {"raw_longitude":762138112,"raw_latitude":101601576,"longitude_deg":76.2138112,"latitude_deg":10.1601576,"altitude":10,"angle":19,"satellites":47,"speed":8,"hex_longitude":"2d6d4e00","hex_latitude":"060e5128","is_valid_coordinates":true} 
[2026-07-07 23:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562831872001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132355202547187712,"note":"Value kept but may cause issues"} 
[2026-07-07 23:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7874051393256159232,"note":"Value kept but may cause issues"} 
[2026-07-07 23:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783448583000,"timestamp_ms":1783448583000,"timestamp_seconds":1783448583,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd1bb58"} 
[2026-07-07 23:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-07 23:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562831872001,"66":27984,"59":206,"19":43264,"24":8,"16":132355202547187712,"45":7874051393256159232},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-07-07 23:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562831872001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:55:40] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-07 23:55:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-07 23:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132355202547187712,"km_value":132355202547187.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7874051393256159232,"description":"Unknown IO ID 45"} 
[2026-07-07 23:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562831872001,"power":27984,"unknown_59":206,"unknown_19":43264,"ignition":8,"odometer":null,"unknown_45":7874051393256159232}} 
[2026-07-07 23:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":125700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448389,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:55:40] local.INFO: GPS data processed {"connection_id":125700,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:55:40] local.INFO: Acknowledgment sent {"connection_id":125700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:55:57] local.INFO: TCP Data received {"connection_id":124866,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:55:57] local.INFO: Processing buffer {"connection_id":124866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:55:57] local.INFO: IMEI packet received {"connection_id":124866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":124866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:56:03] local.INFO: TCP Data received {"connection_id":124866,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:56:03] local.INFO: Processing buffer {"connection_id":124866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:56:03] local.INFO: IMEI packet received {"connection_id":124866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":124866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:56:03] local.INFO: TCP Data received {"connection_id":126952,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:56:03] local.INFO: Processing buffer {"connection_id":126952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:56:03] local.INFO: IMEI packet received {"connection_id":126952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":126952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:56:04] local.INFO: TCP Data received {"connection_id":124866,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:56:04] local.INFO: Processing buffer {"connection_id":124866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dcf59f8012dc5eb400537d5a0003401442a..."} 
[2026-07-07 23:56:04] local.INFO: Packet analysis {"connection_id":124866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dcf"} 
[2026-07-07 23:56:04] local.INFO: Extracted packet for processing {"connection_id":124866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dcf"} 
[2026-07-07 23:56:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562720256001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783448427000,"timestamp_ms":1783448427000,"timestamp_seconds":1783448427,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dcf59f8"} 
[2026-07-07 23:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-07 23:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562720256001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562720256001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:56:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:56:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562720256001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":124866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:56:04] local.INFO: GPS data processed {"connection_id":124866,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:56:04] local.INFO: Acknowledgment sent {"connection_id":124866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:56:08] local.INFO: TCP Data received {"connection_id":126952,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:56:08] local.INFO: Processing buffer {"connection_id":126952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:56:08] local.INFO: IMEI packet received {"connection_id":126952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":126952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:56:09] local.INFO: TCP Data received {"connection_id":126952,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd20d60012d6d5cc0060e71e00009001331..."} 
[2026-07-07 23:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd20d60012d6d5cc0060e71e00009001331..."} 
[2026-07-07 23:56:09] local.INFO: Processing buffer {"connection_id":126952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd20d60012d6d5cc0060e71e00009001331..."} 
[2026-07-07 23:56:09] local.INFO: Packet analysis {"connection_id":126952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd2"} 
[2026-07-07 23:56:09] local.INFO: Extracted packet for processing {"connection_id":126952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd2"} 
[2026-07-07 23:56:09] local.INFO: GPS Element Parsed {"raw_longitude":762141888,"raw_latitude":101609952,"longitude_deg":76.2141888,"latitude_deg":10.1609952,"altitude":9,"angle":19,"satellites":49,"speed":22,"hex_longitude":"2d6d5cc0","hex_latitude":"060e71e0","is_valid_coordinates":true} 
[2026-07-07 23:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562837248001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132355649223786496,"note":"Value kept but may cause issues"} 
[2026-07-07 23:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7876232824327579648,"note":"Value kept but may cause issues"} 
[2026-07-07 23:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783448604000,"timestamp_ms":1783448604000,"timestamp_seconds":1783448604,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd20d60"} 
[2026-07-07 23:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:56: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-07-07 23:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-07 23:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562837248001,"66":28017,"59":206,"19":43264,"24":22,"16":132355649223786496,"45":7876232824327579648},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-07-07 23:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562837248001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:56:09] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-07 23:56:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-07 23:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132355649223786496,"km_value":132355649223786.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7876232824327579648,"description":"Unknown IO ID 45"} 
[2026-07-07 23:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562837248001,"power":28017,"unknown_59":206,"unknown_19":43264,"ignition":22,"odometer":null,"unknown_45":7876232824327579648}} 
[2026-07-07 23:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":126952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448391,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:56:10] local.INFO: GPS data processed {"connection_id":126952,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:56:10] local.INFO: Acknowledgment sent {"connection_id":126952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:56:11] local.INFO: TCP Data received {"connection_id":126952,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd20d60012d6d5cc0060e71e00009001331..."} 
[2026-07-07 23:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd20d60012d6d5cc0060e71e00009001331..."} 
[2026-07-07 23:56:11] local.INFO: Processing buffer {"connection_id":126952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd20d60012d6d5cc0060e71e00009001331..."} 
[2026-07-07 23:56:11] local.INFO: Packet analysis {"connection_id":126952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd2"} 
[2026-07-07 23:56:11] local.INFO: Extracted packet for processing {"connection_id":126952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd2"} 
[2026-07-07 23:56:11] local.INFO: GPS Element Parsed {"raw_longitude":762141888,"raw_latitude":101609952,"longitude_deg":76.2141888,"latitude_deg":10.1609952,"altitude":9,"angle":19,"satellites":49,"speed":22,"hex_longitude":"2d6d5cc0","hex_latitude":"060e71e0","is_valid_coordinates":true} 
[2026-07-07 23:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562842624001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132355649223786496,"note":"Value kept but may cause issues"} 
[2026-07-07 23:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7880384580236206080,"note":"Value kept but may cause issues"} 
[2026-07-07 23:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783448604000,"timestamp_ms":1783448604000,"timestamp_seconds":1783448604,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd20d60"} 
[2026-07-07 23:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23: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":113,"data_length":795,"current_offset":136} 
[2026-07-07 23:56: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-07-07 23:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562842624001,"66":28017,"59":206,"19":43264,"24":22,"16":132355649223786496,"45":7880384580236206080},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-07-07 23:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562842624001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:56:11] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-07 23:56:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-07 23:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132355649223786496,"km_value":132355649223786.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7880384580236206080,"description":"Unknown IO ID 45"} 
[2026-07-07 23:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562842624001,"power":28017,"unknown_59":206,"unknown_19":43264,"ignition":22,"odometer":null,"unknown_45":7880384580236206080}} 
[2026-07-07 23:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":126952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448392,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:56:11] local.INFO: GPS data processed {"connection_id":126952,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:56:11] local.INFO: Acknowledgment sent {"connection_id":126952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:56:34] local.INFO: TCP Data received {"connection_id":124866,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:56:34] local.INFO: Processing buffer {"connection_id":124866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:56:34] local.INFO: Packet analysis {"connection_id":124866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd3"} 
[2026-07-07 23:56:34] local.INFO: Extracted packet for processing {"connection_id":124866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd3"} 
[2026-07-07 23:56:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23: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-07-07 23:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562797312001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783448728000,"timestamp_ms":1783448728000,"timestamp_seconds":1783448728,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd3f1c0"} 
[2026-07-07 23:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23: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-07-07 23:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562797312001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562797312001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:56:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:56:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562797312001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":124866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:56:34] local.INFO: GPS data processed {"connection_id":124866,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:56:34] local.INFO: Acknowledgment sent {"connection_id":124866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:56:44] local.INFO: TCP Data received {"connection_id":126952,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd24028012d6d6440060e8db0000b000630..."} 
[2026-07-07 23:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd24028012d6d6440060e8db0000b000630..."} 
[2026-07-07 23:56:44] local.INFO: Processing buffer {"connection_id":126952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd24028012d6d6440060e8db0000b000630..."} 
[2026-07-07 23:56:44] local.INFO: Packet analysis {"connection_id":126952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd2"} 
[2026-07-07 23:56:44] local.INFO: Extracted packet for processing {"connection_id":126952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd2"} 
[2026-07-07 23:56:44] local.INFO: GPS Element Parsed {"raw_longitude":762143808,"raw_latitude":101617072,"longitude_deg":76.2143808,"latitude_deg":10.1617072,"altitude":11,"angle":6,"satellites":48,"speed":23,"hex_longitude":"2d6d6440","hex_latitude":"060e8db0","is_valid_coordinates":true} 
[2026-07-07 23:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562842624001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132356005706072064,"note":"Value kept but may cause issues"} 
[2026-07-07 23:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7880384580236206080,"note":"Value kept but may cause issues"} 
[2026-07-07 23:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783448617000,"timestamp_ms":1783448617000,"timestamp_seconds":1783448617,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd24028"} 
[2026-07-07 23:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23: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":113,"data_length":795,"current_offset":136} 
[2026-07-07 23:56:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":126952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":126952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":126952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562842624001,"66":28082,"59":206,"19":43264,"24":23,"16":132356005706072064,"45":7880384580236206080},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-07-07 23:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562842624001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:56:44] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-07 23:56:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-07 23:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132356005706072064,"km_value":132356005706072.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":7880384580236206080,"description":"Unknown IO ID 45"} 
[2026-07-07 23:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562842624001,"power":28082,"unknown_59":206,"unknown_19":43264,"ignition":23,"odometer":null,"unknown_45":7880384580236206080}} 
[2026-07-07 23:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":126952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448394,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:56:44] local.INFO: GPS data processed {"connection_id":126952,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:56:44] local.INFO: Acknowledgment sent {"connection_id":126952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:56:58] local.INFO: TCP Data received {"connection_id":124867,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:56:58] local.INFO: Processing buffer {"connection_id":124867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:56:58] local.INFO: IMEI packet received {"connection_id":124867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":124867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:56:58] local.INFO: TCP Data received {"connection_id":124868,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:56:58] local.INFO: Processing buffer {"connection_id":124868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:56:58] local.INFO: IMEI packet received {"connection_id":124868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":124868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:56:59] local.INFO: TCP Data received {"connection_id":124868,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:56:59] local.INFO: Processing buffer {"connection_id":124868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:56:59] local.INFO: IMEI packet received {"connection_id":124868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":124868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:57:03] local.INFO: TCP Data received {"connection_id":124867,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:57:03] local.INFO: Processing buffer {"connection_id":124867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:57:03] local.INFO: IMEI packet received {"connection_id":124867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":124867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:57:03] local.INFO: TCP Data received {"connection_id":124867,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:57:03] local.INFO: Processing buffer {"connection_id":124867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:57:03] local.INFO: Packet analysis {"connection_id":124867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd3"} 
[2026-07-07 23:57:03] local.INFO: Extracted packet for processing {"connection_id":124867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd3"} 
[2026-07-07 23:57:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562797312001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783448728000,"timestamp_ms":1783448728000,"timestamp_seconds":1783448728,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd3f1c0"} 
[2026-07-07 23:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562797312001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562797312001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:57:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:57:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562797312001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":124867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:57:04] local.INFO: GPS data processed {"connection_id":124867,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:57:04] local.INFO: Acknowledgment sent {"connection_id":124867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:57:04] local.INFO: TCP Data received {"connection_id":124868,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:57:04] local.INFO: Processing buffer {"connection_id":124868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:57:04] local.INFO: IMEI packet received {"connection_id":124868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":124868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:57:06] local.INFO: TCP Data received {"connection_id":124868,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd48a18012d6d2e00060f7a78000b015d31..."} 
[2026-07-07 23:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd48a18012d6d2e00060f7a78000b015d31..."} 
[2026-07-07 23:57:06] local.INFO: Processing buffer {"connection_id":124868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd48a18012d6d2e00060f7a78000b015d31..."} 
[2026-07-07 23:57:06] local.INFO: Packet analysis {"connection_id":124868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd4"} 
[2026-07-07 23:57:06] local.INFO: Extracted packet for processing {"connection_id":124868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd4"} 
[2026-07-07 23:57:06] local.INFO: GPS Element Parsed {"raw_longitude":762129920,"raw_latitude":101677688,"longitude_deg":76.212992,"latitude_deg":10.1677688,"altitude":11,"angle":349,"satellites":49,"speed":24,"hex_longitude":"2d6d2e00","hex_latitude":"060f7a78","is_valid_coordinates":true} 
[2026-07-07 23:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562879744001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132359050837884928,"note":"Value kept but may cause issues"} 
[2026-07-07 23:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7868984843694493696,"note":"Value kept but may cause issues"} 
[2026-07-07 23:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783448767000,"timestamp_ms":1783448767000,"timestamp_seconds":1783448767,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd48a18"} 
[2026-07-07 23:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-07 23:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562879744001,"66":27952,"246":206,"19":43264,"24":24,"16":132359050837884928,"45":7868984843694493696},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-07-07 23:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562879744001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:57:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-07 23:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132359050837884928,"km_value":132359050837884.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7868984843694493696,"description":"Unknown IO ID 45"} 
[2026-07-07 23:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562879744001,"power":27952,"main_input_voltage":206,"unknown_19":43264,"ignition":24,"odometer":null,"unknown_45":7868984843694493696}} 
[2026-07-07 23:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":124868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448396,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:57:06] local.INFO: GPS data processed {"connection_id":124868,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:57:06] local.INFO: Acknowledgment sent {"connection_id":124868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:57:35] local.INFO: TCP Data received {"connection_id":124867,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:57:35] local.INFO: Processing buffer {"connection_id":124867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:57:35] local.INFO: Packet analysis {"connection_id":124867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd3"} 
[2026-07-07 23:57:35] local.INFO: Extracted packet for processing {"connection_id":124867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd3"} 
[2026-07-07 23:57:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562797312001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783448728000,"timestamp_ms":1783448728000,"timestamp_seconds":1783448728,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd3f1c0"} 
[2026-07-07 23:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562797312001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562797312001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:57:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:57:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562797312001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":124867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:57:35] local.INFO: GPS data processed {"connection_id":124867,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:57:35] local.INFO: Acknowledgment sent {"connection_id":124867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:57:38] local.INFO: TCP Data received {"connection_id":124868,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd495d0012d6d2bc0060f8130000b014c31..."} 
[2026-07-07 23:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd495d0012d6d2bc0060f8130000b014c31..."} 
[2026-07-07 23:57:38] local.INFO: Processing buffer {"connection_id":124868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd495d0012d6d2bc0060f8130000b014c31..."} 
[2026-07-07 23:57:38] local.INFO: Packet analysis {"connection_id":124868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd4"} 
[2026-07-07 23:57:38] local.INFO: Extracted packet for processing {"connection_id":124868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd4"} 
[2026-07-07 23:57:38] local.INFO: GPS Element Parsed {"raw_longitude":762129344,"raw_latitude":101679408,"longitude_deg":76.2129344,"latitude_deg":10.1679408,"altitude":11,"angle":332,"satellites":49,"speed":22,"hex_longitude":"2d6d2bc0","hex_latitude":"060f8130","is_valid_coordinates":true} 
[2026-07-07 23: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-07-07 23:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562884352001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132359141032198144,"note":"Value kept but may cause issues"} 
[2026-07-07 23:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7867225625092323328,"note":"Value kept but may cause issues"} 
[2026-07-07 23:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783448770000,"timestamp_ms":1783448770000,"timestamp_seconds":1783448770,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd495d0"} 
[2026-07-07 23:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-07 23:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23: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-07-07 23:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562884352001,"66":27800,"246":206,"19":43264,"24":22,"16":132359141032198144,"45":7867225625092323328},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-07-07 23:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562884352001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:57:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-07 23:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132359141032198144,"km_value":132359141032198.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7867225625092323328,"description":"Unknown IO ID 45"} 
[2026-07-07 23:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562884352001,"power":27800,"main_input_voltage":206,"unknown_19":43264,"ignition":22,"odometer":null,"unknown_45":7867225625092323328}} 
[2026-07-07 23:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":124868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448398,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:57:38] local.INFO: GPS data processed {"connection_id":124868,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:57:38] local.INFO: Acknowledgment sent {"connection_id":124868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:57:58] local.INFO: TCP Data received {"connection_id":126953,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:57:58] local.INFO: Processing buffer {"connection_id":126953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:57:58] local.INFO: IMEI packet received {"connection_id":126953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":126953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:57:58] local.INFO: TCP Data received {"connection_id":126954,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:57:58] local.INFO: Processing buffer {"connection_id":126954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:57:58] local.INFO: IMEI packet received {"connection_id":126954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":126954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:58:03] local.INFO: TCP Data received {"connection_id":126953,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:58:03] local.INFO: Processing buffer {"connection_id":126953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:58:03] local.INFO: IMEI packet received {"connection_id":126953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":126953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:58:03] local.INFO: TCP Data received {"connection_id":126953,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:58:03] local.INFO: Processing buffer {"connection_id":126953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:58:03] local.INFO: Packet analysis {"connection_id":126953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd3"} 
[2026-07-07 23:58:03] local.INFO: Extracted packet for processing {"connection_id":126953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd3"} 
[2026-07-07 23:58:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562797312001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783448728000,"timestamp_ms":1783448728000,"timestamp_seconds":1783448728,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd3f1c0"} 
[2026-07-07 23:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562797312001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562797312001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:58:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:58:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562797312001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":126953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:58:03] local.INFO: GPS data processed {"connection_id":126953,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:58:03] local.INFO: Acknowledgment sent {"connection_id":126953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:58:04] local.INFO: TCP Data received {"connection_id":126954,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:58:04] local.INFO: Processing buffer {"connection_id":126954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:58:04] local.INFO: IMEI packet received {"connection_id":126954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":126954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:58:06] local.INFO: TCP Data received {"connection_id":126954,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd4b128012d6d2480060f8f180009015e31..."} 
[2026-07-07 23:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd4b128012d6d2480060f8f180009015e31..."} 
[2026-07-07 23:58:06] local.INFO: Processing buffer {"connection_id":126954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd4b128012d6d2480060f8f180009015e31..."} 
[2026-07-07 23:58:06] local.INFO: Packet analysis {"connection_id":126954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd4"} 
[2026-07-07 23:58:06] local.INFO: Extracted packet for processing {"connection_id":126954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd4"} 
[2026-07-07 23:58:06] local.INFO: GPS Element Parsed {"raw_longitude":762127488,"raw_latitude":101682968,"longitude_deg":76.2127488,"latitude_deg":10.1682968,"altitude":9,"angle":350,"satellites":49,"speed":24,"hex_longitude":"2d6d2480","hex_latitude":"060f8f18","is_valid_coordinates":true} 
[2026-07-07 23:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562885120001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132359338600693760,"note":"Value kept but may cause issues"} 
[2026-07-07 23:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7866592306395164672,"note":"Value kept but may cause issues"} 
[2026-07-07 23:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783448777000,"timestamp_ms":1783448777000,"timestamp_seconds":1783448777,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd4b128"} 
[2026-07-07 23:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-07 23:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126954,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126954,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562885120001,"66":28017,"246":206,"19":43264,"24":24,"16":132359338600693760,"45":7866592306395164672},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-07-07 23:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562885120001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:58:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-07 23:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132359338600693760,"km_value":132359338600693.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7866592306395164672,"description":"Unknown IO ID 45"} 
[2026-07-07 23:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562885120001,"power":28017,"main_input_voltage":206,"unknown_19":43264,"ignition":24,"odometer":null,"unknown_45":7866592306395164672}} 
[2026-07-07 23:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":126954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448400,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:58:06] local.INFO: GPS data processed {"connection_id":126954,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:58:06] local.INFO: Acknowledgment sent {"connection_id":126954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:58:35] local.INFO: TCP Data received {"connection_id":126953,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:58:35] local.INFO: Processing buffer {"connection_id":126953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:58:35] local.INFO: Packet analysis {"connection_id":126953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd3"} 
[2026-07-07 23:58:35] local.INFO: Extracted packet for processing {"connection_id":126953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd3"} 
[2026-07-07 23:58:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562797312001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783448728000,"timestamp_ms":1783448728000,"timestamp_seconds":1783448728,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd3f1c0"} 
[2026-07-07 23:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562797312001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562797312001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:58:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:58:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562797312001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":126953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:58:35] local.INFO: GPS data processed {"connection_id":126953,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:58:35] local.INFO: Acknowledgment sent {"connection_id":126953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:58:37] local.INFO: TCP Data received {"connection_id":126954,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd4c0c8012d6d23c0060f98c80009000230..."} 
[2026-07-07 23:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd4c0c8012d6d23c0060f98c80009000230..."} 
[2026-07-07 23:58:37] local.INFO: Processing buffer {"connection_id":126954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd4c0c8012d6d23c0060f98c80009000230..."} 
[2026-07-07 23:58:37] local.INFO: Packet analysis {"connection_id":126954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd4"} 
[2026-07-07 23:58:37] local.INFO: Extracted packet for processing {"connection_id":126954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd4"} 
[2026-07-07 23:58:37] local.INFO: GPS Element Parsed {"raw_longitude":762127296,"raw_latitude":101685448,"longitude_deg":76.2127296,"latitude_deg":10.1685448,"altitude":9,"angle":2,"satellites":48,"speed":24,"hex_longitude":"2d6d23c0","hex_latitude":"060f98c8","is_valid_coordinates":true} 
[2026-07-07 23:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562886912001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132359458859778048,"note":"Value kept but may cause issues"} 
[2026-07-07 23:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7864551612814923776,"note":"Value kept but may cause issues"} 
[2026-07-07 23:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783448781000,"timestamp_ms":1783448781000,"timestamp_seconds":1783448781,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd4c0c8"} 
[2026-07-07 23:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-07 23:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126954,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126954,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562886912001,"66":27843,"246":206,"19":43264,"24":24,"16":132359458859778048,"45":7864551612814923776},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-07-07 23:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562886912001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:58:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-07 23:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132359458859778048,"km_value":132359458859778.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7864551612814923776,"description":"Unknown IO ID 45"} 
[2026-07-07 23:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562886912001,"power":27843,"main_input_voltage":206,"unknown_19":43264,"ignition":24,"odometer":null,"unknown_45":7864551612814923776}} 
[2026-07-07 23:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":126954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448402,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:58:37] local.INFO: GPS data processed {"connection_id":126954,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:58:37] local.INFO: Acknowledgment sent {"connection_id":126954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:58:58] local.INFO: TCP Data received {"connection_id":126955,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:58:58] local.INFO: Processing buffer {"connection_id":126955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:58:58] local.INFO: IMEI packet received {"connection_id":126955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-07 23:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":126955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:58:58] local.INFO: TCP Data received {"connection_id":125701,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:58:58] local.INFO: Processing buffer {"connection_id":125701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:58:58] local.INFO: IMEI packet received {"connection_id":125701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-07 23:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":125701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-07 23:59:03] local.INFO: TCP Data received {"connection_id":125701,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:59:03] local.INFO: Processing buffer {"connection_id":125701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-07 23:59:03] local.INFO: IMEI packet received {"connection_id":125701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-07 23:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":125701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:59:03] local.INFO: TCP Data received {"connection_id":126955,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:59:03] local.INFO: Processing buffer {"connection_id":126955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-07 23:59:03] local.INFO: IMEI packet received {"connection_id":126955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-07 23:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":126955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-07 23:59:03] local.INFO: TCP Data received {"connection_id":125701,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:59:03] local.INFO: Processing buffer {"connection_id":125701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:59:03] local.INFO: Packet analysis {"connection_id":125701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd3"} 
[2026-07-07 23:59:03] local.INFO: Extracted packet for processing {"connection_id":125701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd3"} 
[2026-07-07 23:59:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562797312001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783448728000,"timestamp_ms":1783448728000,"timestamp_seconds":1783448728,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd3f1c0"} 
[2026-07-07 23:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562797312001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562797312001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:59:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:59:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562797312001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":125701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:59:03] local.INFO: GPS data processed {"connection_id":125701,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:59:03] local.INFO: Acknowledgment sent {"connection_id":125701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:59:04] local.INFO: TCP Data received {"connection_id":126955,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd4e3f0012d6d2480060fb1900008015e2f..."} 
[2026-07-07 23:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd4e3f0012d6d2480060fb1900008015e2f..."} 
[2026-07-07 23:59:04] local.INFO: Processing buffer {"connection_id":126955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd4e3f0012d6d2480060fb1900008015e2f..."} 
[2026-07-07 23:59:04] local.INFO: Packet analysis {"connection_id":126955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd4"} 
[2026-07-07 23:59:04] local.INFO: Extracted packet for processing {"connection_id":126955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd4"} 
[2026-07-07 23:59:04] local.INFO: GPS Element Parsed {"raw_longitude":762127488,"raw_latitude":101691792,"longitude_deg":76.2127488,"latitude_deg":10.1691792,"altitude":8,"angle":350,"satellites":47,"speed":28,"hex_longitude":"2d6d2480","hex_latitude":"060fb190","is_valid_coordinates":true} 
[2026-07-07 23:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562887936001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132359768097423360,"note":"Value kept but may cause issues"} 
[2026-07-07 23:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7864340506583025664,"note":"Value kept but may cause issues"} 
[2026-07-07 23:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783448790000,"timestamp_ms":1783448790000,"timestamp_seconds":1783448790,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd4e3f0"} 
[2026-07-07 23:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-07 23:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 23:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562887936001,"66":27887,"246":206,"19":43264,"24":28,"16":132359768097423360,"45":7864340506583025664},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-07-07 23:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562887936001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:59:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-07 23:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132359768097423360,"km_value":132359768097423.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7864340506583025664,"description":"Unknown IO ID 45"} 
[2026-07-07 23:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562887936001,"power":27887,"main_input_voltage":206,"unknown_19":43264,"ignition":28,"odometer":null,"unknown_45":7864340506583025664}} 
[2026-07-07 23:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":126955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448404,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:59:05] local.INFO: GPS data processed {"connection_id":126955,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:59:05] local.INFO: Acknowledgment sent {"connection_id":126955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:59:35] local.INFO: TCP Data received {"connection_id":125701,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:59:35] local.INFO: Processing buffer {"connection_id":125701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-07 23:59:35] local.INFO: Packet analysis {"connection_id":125701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd3"} 
[2026-07-07 23:59:35] local.INFO: Extracted packet for processing {"connection_id":125701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd3"} 
[2026-07-07 23:59:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-07 23:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562797312001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-07 23:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-07 23:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783448728000,"timestamp_ms":1783448728000,"timestamp_seconds":1783448728,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd3f1c0"} 
[2026-07-07 23:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-07 23:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-07 23:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-07 23:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-07 23:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-07 23:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562797312001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-07 23:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-07 23:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-07 23:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562797312001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:59:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-07 23:59:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-07 23:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-07 23:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562797312001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-07 23:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":125701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:59:35] local.INFO: GPS data processed {"connection_id":125701,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:59:35] local.INFO: Acknowledgment sent {"connection_id":125701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-07 23:59:36] local.INFO: TCP Data received {"connection_id":126955,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd6cc38012d6cf2800610df000008014431..."} 
[2026-07-07 23:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd6cc38012d6cf2800610df000008014431..."} 
[2026-07-07 23:59:36] local.INFO: Processing buffer {"connection_id":126955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd6cc38012d6cf2800610df000008014431..."} 
[2026-07-07 23:59:36] local.INFO: Packet analysis {"connection_id":126955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd6"} 
[2026-07-07 23:59:36] local.INFO: Extracted packet for processing {"connection_id":126955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd6"} 
[2026-07-07 23:59:36] local.INFO: GPS Element Parsed {"raw_longitude":762114688,"raw_latitude":101768960,"longitude_deg":76.2114688,"latitude_deg":10.176896,"altitude":8,"angle":324,"satellites":49,"speed":31,"hex_longitude":"2d6cf280","hex_latitude":"0610df00","is_valid_coordinates":true} 
[2026-07-07 23:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-07 23:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562921472001,"note":"Value kept but may cause issues"} 
[2026-07-07 23:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132363637862957056,"note":"Value kept but may cause issues"} 
[2026-07-07 23:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7851885238884435968,"note":"Value kept but may cause issues"} 
[2026-07-07 23:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-07 23:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783448915000,"timestamp_ms":1783448915000,"timestamp_seconds":1783448915,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd6cc38"} 
[2026-07-07 23:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-07 23:59: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-07-07 23:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-07 23:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-07 23:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-07 23:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-07 23:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-07 23:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-07 23:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-07 23:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-07 23:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-07 23:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-07 23:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562921472001,"66":27821,"247":206,"19":43264,"24":31,"16":132363637862957056,"45":7851885238884435968},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,19,24,16,45]} 
[2026-07-07 23:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-07 23:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-07 23:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562921472001,"description":"Unknown IO ID 0"} 
[2026-07-07 23:59:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-07 23:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132363637862957056,"km_value":132363637862957.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-07 23:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7851885238884435968,"description":"Unknown IO ID 45"} 
[2026-07-07 23:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562921472001,"power":27821,"internal_battery_voltage":206,"unknown_19":43264,"ignition":31,"odometer":null,"unknown_45":7851885238884435968}} 
[2026-07-07 23:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":126955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448406,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-07 23:59:36] local.INFO: GPS data processed {"connection_id":126955,"processed":1,"errors":0,"total":1} 
[2026-07-07 23:59:36] local.INFO: Acknowledgment sent {"connection_id":126955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
